‘, doc.physique.appendChild(e), setInterval(ra, 100) } catch (e) { } }(); if (perform (e) { var t = he(“lang”); if (t && t !== e) { var n = window.location.search.change(“lang=” + t, “lang=” + e); attempt { window.historical past.replaceState(null, “”, window.location.pathname + n) } catch (e) { } } De = e }(e), nn()) return fn(), void oa(r); if (e === xt.language_from) return Oe(“onPageLanguageSet”, e), fn(), Gt(null, e), xt.loading_bar && oa(r), doc.documentElement.setAttribute(“lang”, e), void Pe(“languageChanged”, e, t || “”); dn(Vt(), e).then((perform (n) )).catch((perform (e) { throw xt.loading_bar && oa(r), fn(), Ve().removeItem(F), e })), Oe(“onPageLanguageSet”, e) } } perform sa(e) { return !(!xt.is_connect || ze() === e) && (!xt.host || xt.previewHash && window.location.hostname.consists of(z) || perform () { if (xt.subdirectory) return [xt.host].concat(l); return xt.languages.map((perform (e) { return e.connect_host_destination && e.connect_host_destination.host })).concat([xt.host].concat(l)) }().consists of(window.location.hostname) ? (tt(e, (perform (e) { return window.location.change(e) })), !0) : (me() || M.warn(‘”‘ + window.location.hostname + ‘” just isn’t configured with Weglot. Please contact [email protected]’, { sendToDatadog: !1 }), !1)) } je(“initialized”, (perform () { xt.translate_search && !xt.switcher_editor && perform () { var e = xt.search_forms, t = xt.search_parameter; if (t) { for (var n = 0, r = ue(doc, e); n 0 || doc.documentElement.innerHTML.indexOf(“weglot_script_tag”) > 0)) attempt { aa(Qo, la, ea) } catch (e) { fn(), M.error(e, { consoleOverride: “There has been an error initializing, ” + e.stack }) } else fn(); Zo = !1, pa.initialized = !0 } perform ga(e) { if (e.information) attempt { var t = JSON.parse(e.information); swap (t.message) { case “Weglot.detect”: e.supply.postMessage(JSON.stringify({ message: “Weglot.ready”, information: { initialized: pa.initialized, choices: xt } }), e.origin); break; case “Weglot.switchTo”: ia(t.language) } } catch (e) { } } perform _a(e) { attempt { for (var t = null, n = 0, r = [/cdn(?:-staging)?.weglot.(?:com|us)/weglot.min.js?([^#]+)/, /cdn(?:-staging)?.weglot.(?:com|us)/weglot-switcher-editor.js?([^#]+)/, /cdn(?:-staging)?.weglot.(?:com|us)/weglot_squarespace-[0-9]+.min.js?([^#]+)/]; n = 36 ? 2 : 1, perform (e) { attempt { var t = [“api_key”, “originalLanguage”, “destinationLanguages”]; if (!e || t.some((perform (t) { return !e[t] }))) throw { wgErrMsg: “You have to provide at least: ” + t.be a part of(“, “) }; Ct(vt(e)) } catch (e) “Error while reading Weglot options”) }(e), fa() })) }))) }, initialize: perform (e) { ua(), Zo || (Zo = !0, Ae(Lt(), “polyfillReady”, (perform () { bt(e).then((perform () { return fa() })) }))) }, on: perform (e, t) { return je(e, t, !1) }, off: perform (e, t) { var n, r = !1, o = perform (t) { return Te[t].title === e && !Te[t].inside }; n = “function” == typeof t ? perform (e) { return o(e) && Te[e].callback === t } : perform (e) { return o(e) }; for (var a = Te.size – 1; a >= 0; a–)n(a) && (Te.splice(a, 1), r = !0); return r }, getStoredLang: ln, getLanguageName: ao, getCurrentLang: ze, polyReady: Nt, getCache: perform () { return jt }, addNodes: perform (e) { var t = Ft(e); return $t(t), na(t) }, search: gn, translate: perform (e, t) { void 0 === e && (e = {}); var n = e.phrases, r = e.languageTo; if (void 0 === r && (r = ze()), !Array.isArray(n) || “object” != typeof n[0]) { var o = “Weglot.translate: 1st arg must be an array of objects”; return M.error(o, { sendToDatadog: !1 }), t && t(null, o), Promise.reject() } return r === xt.language_from ? (t && t(n.map((perform (e) { return e.w }))), Promise.resolve(n.map((perform (e) { return e.w })))) : new Promise((perform (e, o) { dn(n, r, { title: !1, cdn: !0 }).then((perform (n) )).catch((perform (e) { o(e), t && t(null, e) })) })) }, getBestAvailableLanguage: an, getAvailableLanguages: rn }; return Ae(Lt(), “polyfillReady”, (perform () { Ko(doc); for (var e = 0, t = [document.currentScript].concat(Array.from(doc.scripts)); e

