• Anti-Spam Policy
  • Copyright Notice
  • DMCA Compliance
  • Earnings Disclaimer
  • Fair Use Disclaimer
  • FTC Compliance
  • Medical Disclaimer
  • Privacy Policy
  • Social Media Disclaimer
  • Terms and Conditions
InfluencerWorldDaily.com
  • Home
  • Business
    A Wall Street vet’s Walmart recession indicator just hit its highest point since 2008—and he says the fear ‘just keeps multiplying’ | Fortune

    A Wall Street vet’s Walmart recession indicator just hit its highest point since 2008—and he says the fear ‘just keeps multiplying’ | Fortune

    Howard Bloom: The Thinker of Mass Behavior and the Architecture of Human Systems

    Howard Bloom: The Thinker of Mass Behavior and the Architecture of Human Systems

    ‘Go get your own oil’: Trump’s message to allies who haven’t backed war in Iran | Fortune

    ‘Go get your own oil’: Trump’s message to allies who haven’t backed war in Iran | Fortune

    Credit card delinquencies among millennials and Gen Z have soared because of sports betting—even in states where it’s illegal, new Fed study finds | Fortune

    Credit card delinquencies among millennials and Gen Z have soared because of sports betting—even in states where it’s illegal, new Fed study finds | Fortune

    Wall Street just had its best day in nearly a year over a rumor | Fortune

    Wall Street just had its best day in nearly a year over a rumor | Fortune

    Embattled former BP CEO takes over Wyoming hyperscaler as first woman leader of Big Oil giant becomes new BP chief | Fortune

    Embattled former BP CEO takes over Wyoming hyperscaler as first woman leader of Big Oil giant becomes new BP chief | Fortune

  • Politics
    Howard Bloom: The Thinker of Mass Behavior and the Architecture of Human Systems

    Howard Bloom: The Thinker of Mass Behavior and the Architecture of Human Systems

    How to Defend Democracy One State at a Time

    How to Defend Democracy One State at a Time

    BREAKING VIDEO – Hero ICE agent saves 1-yr-old boy after going unresponsive from choking at NYC airport

    BREAKING VIDEO – Hero ICE agent saves 1-yr-old boy after going unresponsive from choking at NYC airport

    Illinois’s Next Black Senator Deserves Credit for Her Own Campaign

    Illinois’s Next Black Senator Deserves Credit for Her Own Campaign

    Trump’s Plan for “Energy Dominance” in Alaska Is a Pipe Dream

    Trump’s Plan for “Energy Dominance” in Alaska Is a Pipe Dream

    Mamdani Stumbles Over the Irish Question

    Mamdani Stumbles Over the Irish Question

  • Marketing
    Breaking Ground: How to Build a Thriving Practice Without Feeling “Salesy”

    Breaking Ground: How to Build a Thriving Practice Without Feeling “Salesy”

    The Money Habit: Why Financial Stress Isn’t About Math

    The Money Habit: Why Financial Stress Isn’t About Math

    The Business Case for Play at Work

    The Business Case for Play at Work

    What Most Businesses Get Wrong About Marketing

    What Most Businesses Get Wrong About Marketing

    Why Growth Stalls After Early Success

    Why Growth Stalls After Early Success

    The Hidden Tax Savings in Your Business

    The Hidden Tax Savings in Your Business

  • CEO
    Sonnenfeld: How To Survive Today’s Politics

    Sonnenfeld: How To Survive Today’s Politics

    AI Adoption Is Outpacing Operational Readiness And CEOs Will Pay

    AI Adoption Is Outpacing Operational Readiness And CEOs Will Pay

    Lessons From Higher Education On Leading Through Uncertainty

    Lessons From Higher Education On Leading Through Uncertainty

    Gas South CEO Kevin Greiner On The Value Of Being An ‘Even-Keeled’ Leader

    Gas South CEO Kevin Greiner On The Value Of Being An ‘Even-Keeled’ Leader

    How To Break Up With China

    How To Break Up With China

    Exclusive: Jim Collins On ‘What To Make Of A Life’

    Exclusive: Jim Collins On ‘What To Make Of A Life’

  • Fashion
    Snake-Wrangling Heartthrob Rob Rausch Talks ‘The Traitors,’ Camo & Whiskey

    Snake-Wrangling Heartthrob Rob Rausch Talks ‘The Traitors,’ Camo & Whiskey

    US’ Saks Global secures final 0 mn to complete .75 bn funding

    US’ Saks Global secures final $300 mn to complete $1.75 bn funding

    Victoria Monét’s “Let Me” + More New And Trending Songs By Black Artists

    Victoria Monét’s “Let Me” + More New And Trending Songs By Black Artists

    The Handbag Trends Everyone Will Be Carrying This Spring 2026

    The Handbag Trends Everyone Will Be Carrying This Spring 2026

    Lulus expands wholesale reach with Amazon, Victoria’s Secret

    Lulus expands wholesale reach with Amazon, Victoria’s Secret

    10 Compelling Celebrity Looks To Replicate This Weekend

    10 Compelling Celebrity Looks To Replicate This Weekend

  • Music
    Tiffany Young Signs 360 Deal With Pacific Music Group Ahead of New Music

    Tiffany Young Signs 360 Deal With Pacific Music Group Ahead of New Music

    Johnny Blue Skies & the Dark Clouds Set Fall Arena Tour

    Johnny Blue Skies & the Dark Clouds Set Fall Arena Tour

    Galaxy Girl Blasts Into Winner’s Circle on ‘Masked Singer’ Season 14: ‘I Truly Was Having the Time of My Life’

    Galaxy Girl Blasts Into Winner’s Circle on ‘Masked Singer’ Season 14: ‘I Truly Was Having the Time of My Life’

    QMusic CEO Kris Stewart Steps Down After Five Years

    QMusic CEO Kris Stewart Steps Down After Five Years

    BTS Dominates YouTube’s Global, U.S. Charts

    BTS Dominates YouTube’s Global, U.S. Charts

    Niall Horan Avoids Doing This at Shows When His Former 1D Bandmates Are Also Touring: ‘It’d Be a Bit Stupid’

    Niall Horan Avoids Doing This at Shows When His Former 1D Bandmates Are Also Touring: ‘It’d Be a Bit Stupid’

  • Film
    The Best Movies on Hulu Every Film Lover Should Watch

    The Best Movies on Hulu Every Film Lover Should Watch

    Edward Norton’s 30-Year-Old Prison Thriller Finds the Perfect New Streaming Home

    Edward Norton’s 30-Year-Old Prison Thriller Finds the Perfect New Streaming Home

    The Best New TV Shows You Can Watch or Stream This Week

    The Best New TV Shows You Can Watch or Stream This Week

    7 Best Thriller Movies Packed With Plot Twists

    7 Best Thriller Movies Packed With Plot Twists

    Robert Duvall, Hollywood Legend and ‘The Godfather’ Star, Dies at 95

    Robert Duvall, Hollywood Legend and ‘The Godfather’ Star, Dies at 95

    Brad Pitt’s Stylish WWII Spy Thriller Hits Streaming on April 1

    Brad Pitt’s Stylish WWII Spy Thriller Hits Streaming on April 1

  • Television
    RJ Decker: Season One Ratings + Viewer Votes

    RJ Decker: Season One Ratings + Viewer Votes

    Tuesday TV Ratings: High Potential, NCIS, Baseball Classic, NBA Basketball, WWE NXT

    Tuesday TV Ratings: High Potential, NCIS, Baseball Classic, NBA Basketball, WWE NXT

    The Bachelorette: Season 22 Cancelled by ABC Due to Domestic Abuse Controversy

    The Bachelorette: Season 22 Cancelled by ABC Due to Domestic Abuse Controversy

    The Terror: Season Three; AMC+ Unveils Premiere Date and First Photos for Horror Anthology Series

    The Terror: Season Three; AMC+ Unveils Premiere Date and First Photos for Horror Anthology Series

    Neighbors: Season Two; HBO Renews Late-Night Series

    Neighbors: Season Two; HBO Renews Late-Night Series

    Tamron Hall: Season Eight Renewal Set for Daytime Talk Show

    Tamron Hall: Season Eight Renewal Set for Daytime Talk Show

  • Books
    Book Riot’s Deals of the Day for March 31, 2026

    Book Riot’s Deals of the Day for March 31, 2026

    The Buzziest Books of March | 2026 – NewInBooks

    The Buzziest Books of March | 2026 – NewInBooks

    HERE FOR A GOOD TIME | Kirkus Reviews

    HERE FOR A GOOD TIME | Kirkus Reviews

    New York Times Reviewer Fired For (Badly) Using AI

    New York Times Reviewer Fired For (Badly) Using AI

    Whispers Across Time: Literary Fiction Picks For You – NewInBooks

    Whispers Across Time: Literary Fiction Picks For You – NewInBooks

    SIX MUST DIE | Kirkus Reviews

    SIX MUST DIE | Kirkus Reviews

  • Social Media
    Things to Do Immediately If You Lose Your Only Set of Car Keys – Social Media Explorer

    Things to Do Immediately If You Lose Your Only Set of Car Keys – Social Media Explorer

    LinkedIn Is Rewriting the Rules of Visibility : Social Media Examiner

    LinkedIn Is Rewriting the Rules of Visibility : Social Media Examiner

    Page not found – Social Media Explorer

    How to Gain Superpowers With AI : Social Media Examiner

    How to Gain Superpowers With AI : Social Media Examiner

    A “Double Play” for the Ages: Sean and Jason Mendelson Step Up to the Plate for Record Store Day

    A “Double Play” for the Ages: Sean and Jason Mendelson Step Up to the Plate for Record Store Day

    Stop Shouting on Billboards: How to Write Personal Injury Copy That Actually Converts – Social Media Explorer

    Stop Shouting on Billboards: How to Write Personal Injury Copy That Actually Converts – Social Media Explorer

  • Cover Story
  • Contact
    • About
  • Home
  • Business
    A Wall Street vet’s Walmart recession indicator just hit its highest point since 2008—and he says the fear ‘just keeps multiplying’ | Fortune

    A Wall Street vet’s Walmart recession indicator just hit its highest point since 2008—and he says the fear ‘just keeps multiplying’ | Fortune

    Howard Bloom: The Thinker of Mass Behavior and the Architecture of Human Systems

    Howard Bloom: The Thinker of Mass Behavior and the Architecture of Human Systems

    ‘Go get your own oil’: Trump’s message to allies who haven’t backed war in Iran | Fortune

    ‘Go get your own oil’: Trump’s message to allies who haven’t backed war in Iran | Fortune

    Credit card delinquencies among millennials and Gen Z have soared because of sports betting—even in states where it’s illegal, new Fed study finds | Fortune

    Credit card delinquencies among millennials and Gen Z have soared because of sports betting—even in states where it’s illegal, new Fed study finds | Fortune

    Wall Street just had its best day in nearly a year over a rumor | Fortune

    Wall Street just had its best day in nearly a year over a rumor | Fortune

    Embattled former BP CEO takes over Wyoming hyperscaler as first woman leader of Big Oil giant becomes new BP chief | Fortune

    Embattled former BP CEO takes over Wyoming hyperscaler as first woman leader of Big Oil giant becomes new BP chief | Fortune

  • Politics
    Howard Bloom: The Thinker of Mass Behavior and the Architecture of Human Systems

    Howard Bloom: The Thinker of Mass Behavior and the Architecture of Human Systems

    How to Defend Democracy One State at a Time

    How to Defend Democracy One State at a Time

    BREAKING VIDEO – Hero ICE agent saves 1-yr-old boy after going unresponsive from choking at NYC airport

    BREAKING VIDEO – Hero ICE agent saves 1-yr-old boy after going unresponsive from choking at NYC airport

    Illinois’s Next Black Senator Deserves Credit for Her Own Campaign

    Illinois’s Next Black Senator Deserves Credit for Her Own Campaign

    Trump’s Plan for “Energy Dominance” in Alaska Is a Pipe Dream

    Trump’s Plan for “Energy Dominance” in Alaska Is a Pipe Dream

    Mamdani Stumbles Over the Irish Question

    Mamdani Stumbles Over the Irish Question

  • Marketing
    Breaking Ground: How to Build a Thriving Practice Without Feeling “Salesy”

    Breaking Ground: How to Build a Thriving Practice Without Feeling “Salesy”

    The Money Habit: Why Financial Stress Isn’t About Math

    The Money Habit: Why Financial Stress Isn’t About Math

    The Business Case for Play at Work

    The Business Case for Play at Work

    What Most Businesses Get Wrong About Marketing

    What Most Businesses Get Wrong About Marketing

    Why Growth Stalls After Early Success

    Why Growth Stalls After Early Success

    The Hidden Tax Savings in Your Business

    The Hidden Tax Savings in Your Business

  • CEO
    Sonnenfeld: How To Survive Today’s Politics

    Sonnenfeld: How To Survive Today’s Politics

    AI Adoption Is Outpacing Operational Readiness And CEOs Will Pay

    AI Adoption Is Outpacing Operational Readiness And CEOs Will Pay

    Lessons From Higher Education On Leading Through Uncertainty

    Lessons From Higher Education On Leading Through Uncertainty

    Gas South CEO Kevin Greiner On The Value Of Being An ‘Even-Keeled’ Leader

    Gas South CEO Kevin Greiner On The Value Of Being An ‘Even-Keeled’ Leader

    How To Break Up With China

    How To Break Up With China

    Exclusive: Jim Collins On ‘What To Make Of A Life’

    Exclusive: Jim Collins On ‘What To Make Of A Life’

  • Fashion
    Snake-Wrangling Heartthrob Rob Rausch Talks ‘The Traitors,’ Camo & Whiskey

    Snake-Wrangling Heartthrob Rob Rausch Talks ‘The Traitors,’ Camo & Whiskey

    US’ Saks Global secures final 0 mn to complete .75 bn funding

    US’ Saks Global secures final $300 mn to complete $1.75 bn funding

    Victoria Monét’s “Let Me” + More New And Trending Songs By Black Artists

    Victoria Monét’s “Let Me” + More New And Trending Songs By Black Artists

    The Handbag Trends Everyone Will Be Carrying This Spring 2026

    The Handbag Trends Everyone Will Be Carrying This Spring 2026

    Lulus expands wholesale reach with Amazon, Victoria’s Secret

    Lulus expands wholesale reach with Amazon, Victoria’s Secret

    10 Compelling Celebrity Looks To Replicate This Weekend

    10 Compelling Celebrity Looks To Replicate This Weekend

  • Music
    Tiffany Young Signs 360 Deal With Pacific Music Group Ahead of New Music

    Tiffany Young Signs 360 Deal With Pacific Music Group Ahead of New Music

    Johnny Blue Skies & the Dark Clouds Set Fall Arena Tour

    Johnny Blue Skies & the Dark Clouds Set Fall Arena Tour

    Galaxy Girl Blasts Into Winner’s Circle on ‘Masked Singer’ Season 14: ‘I Truly Was Having the Time of My Life’

    Galaxy Girl Blasts Into Winner’s Circle on ‘Masked Singer’ Season 14: ‘I Truly Was Having the Time of My Life’

    QMusic CEO Kris Stewart Steps Down After Five Years

    QMusic CEO Kris Stewart Steps Down After Five Years

    BTS Dominates YouTube’s Global, U.S. Charts

    BTS Dominates YouTube’s Global, U.S. Charts

    Niall Horan Avoids Doing This at Shows When His Former 1D Bandmates Are Also Touring: ‘It’d Be a Bit Stupid’

    Niall Horan Avoids Doing This at Shows When His Former 1D Bandmates Are Also Touring: ‘It’d Be a Bit Stupid’

  • Film
    The Best Movies on Hulu Every Film Lover Should Watch

    The Best Movies on Hulu Every Film Lover Should Watch

    Edward Norton’s 30-Year-Old Prison Thriller Finds the Perfect New Streaming Home

    Edward Norton’s 30-Year-Old Prison Thriller Finds the Perfect New Streaming Home

    The Best New TV Shows You Can Watch or Stream This Week

    The Best New TV Shows You Can Watch or Stream This Week

    7 Best Thriller Movies Packed With Plot Twists

    7 Best Thriller Movies Packed With Plot Twists

    Robert Duvall, Hollywood Legend and ‘The Godfather’ Star, Dies at 95

    Robert Duvall, Hollywood Legend and ‘The Godfather’ Star, Dies at 95

    Brad Pitt’s Stylish WWII Spy Thriller Hits Streaming on April 1

    Brad Pitt’s Stylish WWII Spy Thriller Hits Streaming on April 1

  • Television
    RJ Decker: Season One Ratings + Viewer Votes

    RJ Decker: Season One Ratings + Viewer Votes

    Tuesday TV Ratings: High Potential, NCIS, Baseball Classic, NBA Basketball, WWE NXT

    Tuesday TV Ratings: High Potential, NCIS, Baseball Classic, NBA Basketball, WWE NXT

    The Bachelorette: Season 22 Cancelled by ABC Due to Domestic Abuse Controversy

    The Bachelorette: Season 22 Cancelled by ABC Due to Domestic Abuse Controversy

    The Terror: Season Three; AMC+ Unveils Premiere Date and First Photos for Horror Anthology Series

    The Terror: Season Three; AMC+ Unveils Premiere Date and First Photos for Horror Anthology Series

    Neighbors: Season Two; HBO Renews Late-Night Series

    Neighbors: Season Two; HBO Renews Late-Night Series

    Tamron Hall: Season Eight Renewal Set for Daytime Talk Show

    Tamron Hall: Season Eight Renewal Set for Daytime Talk Show

  • Books
    Book Riot’s Deals of the Day for March 31, 2026

    Book Riot’s Deals of the Day for March 31, 2026

    The Buzziest Books of March | 2026 – NewInBooks

    The Buzziest Books of March | 2026 – NewInBooks

    HERE FOR A GOOD TIME | Kirkus Reviews

    HERE FOR A GOOD TIME | Kirkus Reviews

    New York Times Reviewer Fired For (Badly) Using AI

    New York Times Reviewer Fired For (Badly) Using AI

    Whispers Across Time: Literary Fiction Picks For You – NewInBooks

    Whispers Across Time: Literary Fiction Picks For You – NewInBooks

    SIX MUST DIE | Kirkus Reviews

    SIX MUST DIE | Kirkus Reviews

  • Social Media
    Things to Do Immediately If You Lose Your Only Set of Car Keys – Social Media Explorer

    Things to Do Immediately If You Lose Your Only Set of Car Keys – Social Media Explorer

    LinkedIn Is Rewriting the Rules of Visibility : Social Media Examiner

    LinkedIn Is Rewriting the Rules of Visibility : Social Media Examiner

    Page not found – Social Media Explorer

    How to Gain Superpowers With AI : Social Media Examiner

    How to Gain Superpowers With AI : Social Media Examiner

    A “Double Play” for the Ages: Sean and Jason Mendelson Step Up to the Plate for Record Store Day

    A “Double Play” for the Ages: Sean and Jason Mendelson Step Up to the Plate for Record Store Day

    Stop Shouting on Billboards: How to Write Personal Injury Copy That Actually Converts – Social Media Explorer

    Stop Shouting on Billboards: How to Write Personal Injury Copy That Actually Converts – Social Media Explorer

  • Cover Story
  • Contact
    • About
No Result
View All Result
InfluencerWorldDaily.com
No Result
View All Result
Home Fashion

Burberry returns to London’s night pulse for winter 2026

by Admin
March 7, 2026
in Fashion
Burberry returns to London’s night pulse for winter 2026
  • <![CDATA[
    // var Weglot = function () { "use strict"; var e = { v1: [], v2: ["ABBR", "ACRONYM", "B", "BDO", "BIG", "CITE", "EM", "I", "KBD", "Q", "SMALL", "STRONG", "SUB", "SUP", "U"], v3: ["A", "BDI", "BR", "DEL", "DFN", "INS", "S", "SPAN"] }; e.v2.unshift("#text"); var t = e, n = { excluded_blocks: [], media_enabled: !1, external_enabled: !1, extra_definitions: [], translation_engine: 2, noTranslateAttribute: "data-wg-notranslate", mergeNodes: [] }, r = { ddtags: "env:prod", clientToken: "pub4efaec96ce2494088ba70a2049d58dc3", site: "datadoghq.com" }, o = { "dd-api-key": "pub4efaec96ce2494088ba70a2049d58dc3", ddsource: "browser" }, a = "prod"; function i(e) { var t = e.service; function n(e, n, i) { var c = i.sendToConsole; void 0 === c && (c = !0); var s = i.consoleOverride, l = i.sendToDatadog; if (void 0 === l && (l = !0), l && "dev" !== a && function (e, t, n) { "string" == typeof t && (t = { message: t }); var a = Object.assign({}, t, { service: e, status: n }, window.location && { view: { url: window.location.href } }, t.message && { message: t.message }, t.stack && { stack: t.stack }, t.status && { logStatus: t.status }, r); window.Weglot && window.Weglot.options && (a.projectInfo = ["host", "api_key", "url_type", "technology_name", "technology_id", "is_connect", "auto_switch"].reduce((function (e, t) { var n; return Object.assign({}, e, ((n = {})[t] = window.Weglot.options[t], n)) }), {})); var i = Object.keys(o).map((function (e) { return e + "=" + o[e] })).join("&"); fetch("https://http-intake.logs.datadoghq.com/api/v2/logs?" + i, { method: "POST", body: JSON.stringify(a), headers: { "Content-Type": "application/json" } }) }(t, e, n), c) { var u = s || e, f = ["notice", "info"].includes(n) ? "log" : n; console[f]("[Weglot]", u) } } var i = function (e) { return function (t, r) { return void 0 === r && (r = {}), n(t, e, r) } }; return { log: i("info"), info: i("info"), notice: i("notice"), warn: i("warn"), error: i("error") } } var c = i({ service: "html-parser-engine" }), s = function () { try { return JSON.parse('{"TRANSLATION":"translations.weglot.io","SWITCHER":"switchers.weglot.io","EXCLUSION":"exclusions.weglot.io","DEFINITION":"definitions.weglot.io"}') } catch (e) { return {} } }(), l = Object.keys(s).map((function (e) { return s[e] })); function u(e) { for (var t = 0, n = l; t < n.length; t += 1) { var r = n[t]; if (-1 !== e.indexOf(r)) return !0 } return !1 } function f(e, t, n) { var r = t && t[e]; if (r && r.textContent === t.textContent) return r.result; var o = n(t); return t ? (t[e] = { result: o, textContent: t.textContent }, o) : o } function d(e) { return f("__validMergeNodes", e, (function (e) { return e && p(e) && g(e) && !function (e) { return f("__containsNoTranslateNodes", e, (function (e) { return 1 === e.nodeType && (!!e.querySelector("[" + n.noTranslateAttribute + "]") || h(e)) })) }(e) })) } function g(e, t) { return void 0 === t && (t = !0), f("__validTextNodes", e, (function (e) { return !(!e.textContent || t && !e.textContent.trim() || -1 !== e.textContent.indexOf("BESbswy") || e.parentNode && e.parentNode.nodeName && -1 !== ["script", "style", "noscript"].indexOf(e.parentNode.nodeName.toLowerCase()) || function (e) { if (!(e = e.trim())) return !1; var t = e.charAt(0); if ("[" !== t && "{" !== t) return !1; var n = e[e.length – 1]; if ("]" !== n && "}" !== n) return !1; return e = e.replace(/\(?:["\/bfnrt]|u[0-9a-fA-F]{4})/g, "@").replace(/"[^"\nr]*"|true|false|null|-?d+(?:.d*)?(?:[eE][+-]?d+)?/g, "]").replace(/(?:^|:|,)(?:s*[)+/g, ""), /^[],:{}s]*$/.test(e) }(e.textContent)) })) } function _(e) { try { if (n.mergedSelectorRemove && e.closest && e.closest(n.mergedSelectorRemove)) return !1 } catch (e) { } return !(!n.mergeNodes || -1 === n.mergeNodes.indexOf(e.nodeName)) || (e.dataset && e.dataset.wgMerge || n.selectorMerging && e.matches && e.matches(n.selectorMerging)) } function p(e) { return f("__onlyInlineChildsNodes", e, (function (e) { if (!e.childNodes) return !0; for (var t = 0, n = e.childNodes; t < n.length; t += 1) { var r = n[t]; if (r.weglot || !_(r) || !p(r)) return !1 } return !0 })) } function h(e) { if (!e.children) return !1; for (var t = 0, n = e.children; t < n.length; t += 1) { var r = n[t]; if (r.wgNoTranslate || h(r)) return !0 } return !1 } function m(e) { return !!e && (!!e.wgNoTranslate || m(e.parentNode)) } function v(e) { if (!e) return !1; var t = e.closest ? e : e.parentNode; return !!(t && t.closest && t.closest("[" + n.noTranslateAttribute + "]")) || m(e) } var w = function (e, t) { return function (n, r) { try { var o = r; return -1 !== o.indexOf(":") && (o = o.replace(/([^\]):/g, "$1\:")), n[e] ? n[e](o) : t } catch (o) { try { return n[e] ? n[e](r) : t } catch (e) { c.warn(e, { consoleOverride: "Your CSS rules are incorrect: " + r, sendToDatadog: !1 }) } } return t } }, y = w("querySelectorAll", []), b = w("matches", !1); var k = new WeakMap; function E(e) { if (!e) return []; var t = e.querySelectorAll ? e : e.parentNode; if (!t) return []; if (function (e) { var t = n.excluded_blocks; if (t && t.length) { var r = t.map((function (e) { return e.value })), o = r.join(","); if (b(e, o)) { if (n.private_mode) { var a = r.find((function (t) { return b(e, t) })); e.wgNoTranslate = "Excluded by selector: " + a } else e.wgNoTranslate = !0; return } var i = y(e, o); if (i) for (var c = function () { var e = l[s]; if (n.private_mode) { var t = r.find((function (t) { return b(e, t) })); e.wgNoTranslate = "Excluded by selector: " + t } else e.wgNoTranslate = !0 }, s = 0, l = i; s < l.length; s += 1)c() } }(t), !n.whitelist || !n.whitelist.length) return [].concat(function (e) { var t = document.getElementsByTagName("title")[0]; if (e !== document.documentElement || !document.title || !t || v(t)) return []; return [{ element: t.firstChild, type: 9, words: t.textContent, properties: {} }] }(t), C(t)); var r = n.whitelist.map((function (e) { return e.value })).join(","); if (t.closest && t.closest(r)) return C(t); for (var o = [], a = 0, i = y(t, r); a 0 && o.push.apply(o, r.querySelectorAll(a)), o); l = 2, a = document.createTreeWalker(e, 4, x, !1); for (; t = a.nextNode();) { var i = (o && (_(t.parentNode) || t.parentNode.childNodes.length > 1) ? S : O)(t, a); i && r.push(i) } return r }(e)) } function x(e) { return !g(e) || v(e) ? NodeFilter.FILTER_REJECT : NodeFilter.FILTER_ACCEPT } function S(e, t) { var r = function (e) { if (e.wgResolved) return !1; var t = e; do { if (t.wgResolved) return t; t = t.parentElement || t.parentNode } while (null !== t && 1 === t.nodeType); return !1 }(e); if (r && k.has(r)) { var o = k.get(r); return { element: o[0], words: o[1], type: 1, properties: o[2] } } var a = function (e, t) { var r = [], o = e; for (; d(e.parentNode);)e = e.parentNode, o.textContent.trim() !== e.textContent.trim() && (o = e); o.textContent.trim() === e.textContent.trim() && (e = o); for (; t.nextNode();)if (!e.contains || !e.contains(t.currentNode)) { t.previousNode(); break } var a = e.cloneNode(!0); if (n.translation_engine > 2) { N(e, (function (e) { if (1 === e.nodeType) { var t = function (e) { for (var t = [], n = 0, r = e.attributes; n 0;)e.removeAttribute(e.attributes[0].name) }(e), e.setAttribute(“wg-” + i++, “”)) })) } if (e) { return e.wgResolved = !0, [e, (a.innerHTML || a.textContent || “”).replace(//g, “”), r] } }(e, t); if (a) { var i = a[0], c = a[1], s = a[2]; if (!L(c)) return k.set(i, a), { element: i, words: c, type: 1, properties: s } } } function O(e) { var t = e.textContent; if (!L(t)) return { element: e, words: t, type: 1, properties: {} } } function N(e, t) { if (e.childNodes) for (var n = 0, r = e.childNodes; n < r.length; n += 1) { var o = r[n]; if (!o) return; t(o), N(o, t) } } function L(e) { return !e || !e.trim() || !isNaN(e) || "​" === e } function T(e, t) { for (var n = 0, r = e; n < r.length; n += 1) { var o = r[n], a = o.weglot.content; if (a && o.isConnected) { for (var i = 0, c = a; i < c.length; i += 1) { var s = c[i], l = s.original, u = s.properties, f = s.attrSetter, d = s.translations[t] || l; u && (o.weglot.setted = !0, A(o, d, u, e)), f && (o.weglot.setted = !0, f(o, d, l)) } o.wgResolved = !1 } } } function A(e, t, n, r) { if (1 === e.nodeType) { var o = function (e, t, n) { var r = document.createElement("div"); return r.innerHTML = e, j(t, r, n) }(t, e, n); return e.innerHTML = "", void e.appendChild(o) } if (-1 !== t.indexOf("”)) { if (!e.parentNode) return c.warn(“Unable to translate some words, please contact support@weglot.com.”), void c.warn(e, { sendToDatadog: !1 }); if (1 === e.parentNode.childNodes.length) return e.parentNode.weglot = e.weglot, void (r ? r.push(e.parentNode) : A(e.parentNode, t, n)); var a = e.closest && e.closest(“[data-wg-translation-wrapper]”) || e.parentNode.closest(“[data-wg-translation-wrapper]”); if (!a || a.innerHTML !== t) { var i = document.createElement(“span”); i.dataset.wgTranslationWrapper = “”, i.weglot = e.weglot, e.parentNode.replaceChild(i, e), r ? r.push(i) : A(e.parentNode, t, n) } } else e.textContent = t } function j(e, t, n) { var r = document.createDocumentFragment(); if (1 !== e.nodeType) return r.appendChild(t), r; for (var o = t.childNodes.length, a = 0; a < o; a++) { var i, s = t.firstChild; if (i = P(s)) { var l = n[i – 1]; if (!l) continue; var u = l.used ? l.child.cloneNode(!0) : l.child, f = j(u, s, n); if (f.contains(u)) return c.error("There is an HTML error in the translation of: " + e.innerHTML), r; u.innerHTML = "", u.appendChild(f), r.appendChild(u), document.createDocumentFragment().appendChild(s), l.used = !0 } else r.appendChild(s) } return r } function P(e) { if (e && 1 === e.nodeType && e.attributes && e.attributes[0]) { var t = parseInt(e.attributes[0].name.split("wg-")[1]); return isNaN(t) ? void 0 : t } } function I(e) { return { name: e, get: function (t) { return t.getAttribute(e) }, set: function (t, n) { return t.setAttribute(e, n) } } } function R(e, t) { if (e.parentNode && "PICTURE" === e.parentNode.tagName) for (var n = 0, r = e.parentNode.children; n < r.length; n += 1) { var o = r[n]; "SOURCE" === o.tagName && (o.getAttribute("srcset") && o.setAttribute("srcset", t)) } } function D(e) { return e && e.split && e.split("www.")[1] || e } function W(e) { var t = [{ type: 1, selectors: ["[title]"], attribute: I("title") }, { type: 2, selectors: ["input[type='submit']", "input[type='button']", "button"], attribute: I("value") }, { type: 3, selectors: ["input[placeholder]", "textarea[placeholder]"], attribute: I("placeholder") }, { type: 4, selectors: ["meta[name='description']", "meta[property='og:description']", "meta[property='og:site_name']", "meta[property='og:image:alt']", "meta[name='twitter:description']", "meta[itemprop='description']", "meta[itemprop='name']"], attribute: I("content") }, { type: 7, selectors: ["img"], attribute: I("alt") }, { type: 8, selectors: ["[href$='.pdf']", "[href$='.docx']", "[href$='.doc']"], attribute: I("href") }, { type: 9, selectors: ["meta[property='og:title']", "meta[name='twitter:title']"], attribute: I("content") }]; if (!e) return t; if (e.media_enabled && t.push({ type: 5, selectors: ["youtube.com", "youtu.be", "vimeo.com", "dailymotion.com"].map((function (e) { return "iframe[src*='" + e + "']" })), attribute: I("src") }, { type: 6, selectors: ["img", "source"], attribute: { name: "src", get: function (e) { var t = e.getAttribute("src"); if (!t || !t.split) return ""; if (0 === t.indexOf("data:image")) return ""; var n = t.split("?"); return n[1] && (e.queryString = n[1]), n[0] }, set: function (e, t, n) { var r = e.getAttribute("src"), o = e.getAttribute("srcset"); if (t === n) { if (e.removeAttribute("data-wgtranslated"), e.isChanged) { var a = "" + t + (e.queryString ? "?" + e.queryString : ""); e.setAttribute("src", a), R(e, a), e.hasAttribute("wgsrcset") && (e.setAttribute("srcset", e.getAttribute("wgsrcset") || e.dataset.srcset), e.removeAttribute("wgsrcset")) } } else r.split("?")[0] !== t && n !== t && (e.setAttribute("src", t), R(e, t), e.hasAttribute("srcset") && (e.setAttribute("wgsrcset", o), e.setAttribute("srcset", "")), e.dataset.wgtranslated = !0, e.isChanged = !0) } } }, { type: 6, selectors: ["meta[property='og:image']", "meta[property='og:logo']"], attribute: I("content") }, { type: 6, selectors: ["img"], attribute: I("srcset") }), e.translate_aria && t.push({ type: 1, selectors: ["[aria-label]"], attribute: I("aria-label") }), e.external_enabled) { var n = D(function () { var e = window.location, t = e.hostname, n = e.search; if (!u(t) || !n) return t; var r = decodeURIComponent(n).match(/url=https?://([^/]+)/); return r ? r[1] : (c.warn("[Weglot] Unable to get current hostname"), t) }()); t.push({ type: 10, selectors: ["iframe"], attribute: I("src") }, { type: 10, selectors: ["a[rel=external]"], attribute: I("href") }, { type: 10, selectors: ['[href^="mailto"]'], attribute: I("href") }, { type: 10, selectors: ['[href^="tel"]'], attribute: I("href") }, { type: 10, selectors: ["http:", "https:", "//"].map((function (e) { return '[href^="' + e + '"]:not(link)' })), attribute: { name: "href", get: function (e) { if (!e.href || !e.href.split) return ""; var t = e.href.split("/")[2]; return t && D(t) !== n ? e.getAttribute("href") : "" }, set: function (e, t) { return e.setAttribute("href", t) } } }) } if (e.extra_definitions && e.extra_definitions.length) for (var r = function () { var e = a[o], n = e.type, r = e.selector, i = e.attribute; i && r ? t.push({ type: n, selectors: [r], attribute: { name: i, get: function (e) { return e.getAttribute(i) }, set: function (e, t) { return e.setAttribute(i, t) } } }) : c.warn("Each extra definition option needs at least {attribute,selector} https://bit.ly/2yDsLxy", { sendToDatadog: !1 }) }, o = 0, a = e.extra_definitions; o = r + 1 && [].push.apply(e, t[n]), e }), [])), Array.isArray(n.extra_merged_selectors) && (n.selectorMerging = r.extra_merged_selectors.filter((function (e) { return e && “string” == typeof e })).join(“,”)), r.merged_selectors_remove && (n.mergedSelectorRemove = r.merged_selectors_remove.map((function (e) { return e.value })).join(“,”)), { getTextNodes: E, setTextNodes: T, definitions: U = W(n) } } var M = i({ service: “js-library” }), q = “https://cdn.weglot.com/projects-settings/”, z = “preview.weglot.io”, F = “wglang”, B = “wg-style-trans”, $ = “data-wg-notranslate”, V = “wg-translations”, G = “wg-slugs”, J = “Shopify”, Y = “BigCommerce”, K = “Jimdo”, X = “Squarespace”, Z = “Wix”, Q = “Webflow”, ee = “Square Online”, te = “Bubble”, ne = “Salesforce”, re = [“excluded_blocks”, “excluded_blocks_remove”, “dynamics”, “excluded_paths”, “dangerously_force_dynamic”, “extra_definitions”, “translate_event”], oe = [“polyfillReady”, “languageChanged”, “initialized”, “start”, “switchersReady”], ae = { button_style: { full_name: !0, with_name: !0, is_dropdown: !0, with_flags: !1, flag_type: “” }, switchers: [], auto_switch: !1, auto_switch_fallback: “”, excluded_blocks: [], excluded_blocks_remove: [], whitelist: [], translate_event: [{ selector: “[data-wg-translate-event]”, eventName: null }], customer_tag: !1, order_tag: !0, dynamics: [], excluded_paths: [], wait_transition: !0, hide_switcher: !1, translate_search: !1, media_enabled: !1, search_forms: “”, cache: !1, live: !0, loading_bar: !0, search_parameter: “”, translation_engine: 2, override_hreflang: !0 }, ie = [“none”, “shiny”, “square”, “circle”, “rectangle_mat”], ce = {}; !function (e) { var t = function () { try { return !!Symbol.iterator } catch (e) { return !1 } }(), n = function (e) { var n = { next: function () { var t = e.shift(); return { done: void 0 === t, value: t } } }; return t && (n[Symbol.iterator] = function () { return n }), n }, r = function (e) { try { return encodeURIComponent(e).replace(/%20/g, “+”) } catch (t) { return e } }, o = function (e) { try { return decodeURIComponent(String(e).replace(/+/g, ” “)) } catch (t) { return e } }; (function () { try { var t = e.URLSearchParams; return “a=1” === new t(“?a=1”).toString() && “function” == typeof t.prototype.set && “function” == typeof t.prototype.entries } catch (e) { return !1 } })() || function () { var o = function (e) { Object.defineProperty(this, “_entries”, { writable: !0, value: {} }); var t = typeof e; if (“undefined” === t); else if (“string” === t) “” !== e && this._fromString(e); else if (e instanceof o) { var n = this; e.forEach((function (e, t) { n.append(t, e) })) } else { if (null === e || “object” !== t) throw new TypeError(“Unsupported input’s type for URLSearchParams”); if (“[object Array]” === Object.prototype.toString.call(e)) for (var r = 0; r < e.length; r++) { var a = e[r]; if ("[object Array]" !== Object.prototype.toString.call(a) && 2 === a.length) throw new TypeError("Expected [string, any] as entry at index " + r + " of URLSearchParams's input"); this.append(a[0], a[1]) } else for (var i in e) e.hasOwnProperty(i) && this.append(i, e[i]) } }, a = o.prototype; a.append = function (e, t) { e in this._entries ? this._entries[e].push(String(t)) : this._entries[e] = [String(t)] }, a.delete = function (e) { delete this._entries[e] }, a.get = function (e) { return e in this._entries ? this._entries[e][0] : null }, a.getAll = function (e) { return e in this._entries ? this._entries[e].slice(0) : [] }, a.has = function (e) { return e in this._entries }, a.set = function (e, t) { this._entries[e] = [String(t)] }, a.forEach = function (e, t) { var n; for (var r in this._entries) if (this._entries.hasOwnProperty(r)) { n = this._entries[r]; for (var o = 0; o < n.length; o++)e.call(t, n[o], r, this) } }, a.keys = function () { var e = []; return this.forEach((function (t, n) { e.push(n) })), n(e) }, a.values = function () { var e = []; return this.forEach((function (t) { e.push(t) })), n(e) }, a.entries = function () { var e = []; return this.forEach((function (t, n) { e.push([n, t]) })), n(e) }, t && (a[Symbol.iterator] = a.entries), a.toString = function () { var e = []; return this.forEach((function (t, n) { e.push(r(n) + "=" + r(t)) })), e.join("&") }, e.URLSearchParams = o }(); var a = e.URLSearchParams.prototype; "function" != typeof a.sort && (a.sort = function () { var e = this, t = []; this.forEach((function (n, r) { t.push([r, n]), e._entries || e.delete(r) })), t.sort((function (e, t) { return e[0] t[0] ? 1 : 0 })), e._entries && (e._entries = {}); for (var n = 0; n < t.length; n++)this.append(t[n][0], t[n][1]) }), "function" != typeof a._fromString && Object.defineProperty(a, "_fromString", { enumerable: !1, configurable: !1, writable: !1, value: function (e) { if (this._entries) this._entries = {}; else { var t = []; this.forEach((function (e, n) { t.push(n) })); for (var n = 0; n < t.length; n++)this.delete(t[n]) } var r, a = (e = e.replace(/^?/, "")).split("&"); for (n = 0; n 1 ? o(r[1]) : “”) } }) }(ce), function (e) { if (function () { try { var t = new e.URL(“b”, “http://a”); return t.pathname = “c d”, “http://a/c%20d” === t.href && t.searchParams } catch (e) { return !1 } }() || function () { var t = e.URL, n = function (t, n) { “string” != typeof t && (t = String(t)), n && “string” != typeof n && (n = String(n)); var r, o = document; if (n && (void 0 === e.location || n !== e.location.href)) { n = n.toLowerCase(), (r = (o = document.implementation.createHTMLDocument(“”)).createElement(“base”)).href = n, o.head.appendChild(r); try { if (0 !== r.href.indexOf(n)) throw new Error(r.href) } catch (e) { throw new Error(“URL unable to set base ” + n + ” due to ” + e) } } var a = o.createElement(“a”); a.href = t, r && (o.body.appendChild(a), a.href = a.href); var i = o.createElement(“input”); if (i.type = “url”, i.value = t, “:” === a.protocol || !/:/.test(a.href) || !i.checkValidity() && !n) throw new TypeError(“Invalid URL”); Object.defineProperty(this, “_anchorElement”, { value: a }); var c = new e.URLSearchParams(this.search), s = !0, l = !0, u = this;[“append”, “delete”, “set”].forEach((function (e) { var t = c[e]; c[e] = function () { t.apply(c, arguments), s && (l = !1, u.search = c.toString(), l = !0) } })), Object.defineProperty(this, “searchParams”, { value: c, enumerable: !0 }); var f = void 0; Object.defineProperty(this, “_updateSearchParams”, { enumerable: !1, configurable: !1, writable: !1, value: function () { this.search !== f && (f = this.search, l && (s = !1, this.searchParams._fromString(this.search), s = !0)) } }) }, r = n.prototype;[“hash”, “host”, “hostname”, “port”, “protocol”].forEach((function (e) { !function (e) { Object.defineProperty(r, e, { get: function () { return this._anchorElement[e] }, set: function (t) { this._anchorElement[e] = t }, enumerable: !0 }) }(e) })), Object.defineProperty(r, “search”, { get: function () { return this._anchorElement.search }, set: function (e) { this._anchorElement.search = e, this._updateSearchParams() }, enumerable: !0 }), Object.defineProperties(r, { toString: { get: function () { var e = this; return function () { return e.href } } }, href: { get: function () { return this._anchorElement.href.replace(/?$/, “”) }, set: function (e) { this._anchorElement.href = e, this._updateSearchParams() }, enumerable: !0 }, pathname: { get: function () { return this._anchorElement.pathname.replace(/(^/?)/, “/”) }, set: function (e) { this._anchorElement.pathname = e }, enumerable: !0 }, origin: { get: function () { var e = { “http:”: 80, “https:”: 443, “ftp:”: 21 }[this._anchorElement.protocol], t = this._anchorElement.port != e && “” !== this._anchorElement.port; return this._anchorElement.protocol + “//” + this._anchorElement.hostname + (t ? “:” + this._anchorElement.port : “”) }, enumerable: !0 }, password: { get: function () { return “” }, set: function (e) { }, enumerable: !0 }, username: { get: function () { return “” }, set: function (e) { }, enumerable: !0 } }), n.createObjectURL = function (e) { return t.createObjectURL.apply(t, arguments) }, n.revokeObjectURL = function (e) { return t.revokeObjectURL.apply(t, arguments) }, e.URL = n }(), void 0 !== e.location && !(“origin” in e.location)) { var t = function () { return e.location.protocol + “//” + e.location.hostname + (e.location.port ? “:” + e.location.port : “”) }; try { Object.defineProperty(e.location, “origin”, { get: t, enumerable: !0 }) } catch (n) { setInterval((function () { e.location.origin = t() }), 100) } } }(ce); var se = ce.URL, le = function (e, t) { return function (n, r) { if (!n || !n[e] || !r) return t; try { return n[e](r) } catch (e) { M.error(e, { consoleOverride: “The CSS selectors that you provided are incorrect: ” + r, sendToDatadog: !1 }) } return t } }, ue = le(“querySelectorAll”, []), fe = le(“querySelector”, null), de = le(“closest”, null), ge = function (e) { return document.getElementById(e) }; function _e(e) { e && e.parentNode && e.parentNode.removeChild(e) } function pe(e) { e = “” + e; return [” “, “&”, “"”, “”].some((function (t) { return -1 !== e.indexOf(t) })) ? e.replace(/ /g, ” “).replace(/&/g, “&”).replace(/"/g, ‘”‘).replace(//g, “>”) : e } function he(e) { var t = window.location.search.slice(1).split(“&”).map((function (e) { return e && e.split(“=”) })).find((function (t) { return t[0] === e })); return t && t[1] } function me() { try { if (window.frameElement || window.self !== window.top) return “with-window-top” } catch (e) { return “no-window-top” } } function ve(e, t) { var n = document.createElement(“style”); _e(ge(t)), n.id = t, n.type = “text/css”, n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e)), document.head.appendChild(n) } var we = function () { return /google|facebook|bing|yahoo|baidu|yandex|lighthouse/i.test(navigator.userAgent) }; function ye(e) { try { document.createDocumentFragment().querySelector(e) } catch (e) { return !1 } return !0 } var be = function (e, t, n) { var r = new se(e, location.href); return r.searchParams.set(t, n), “” + r.pathname + r.search }; function ke(e) { “loading” !== document.readyState ? e() : document.addEventListener(“DOMContentLoaded”, (function () { return e() })) } var Ee = function (e, t) { var n; return void 0 === t && (t = 1e3), function () { for (var r = this, o = [], a = arguments.length; a–;)o[a] = arguments[a]; clearTimeout(n), n = setTimeout((function () { e.apply(r, o) }), t) } }, Ce = function (e) { var t = (new Date).getTime().toString(); try { var n = e.contentWindow; return n[t] = “asd”, “asd” === n[t] } catch (e) { return !1 } }; var xe = {}, Se = function (e, t) { xe[e] = t }, Oe = function (e, t) { if (xe[e]) return xe[e](t) }; var Ne, Le = {}; try { document.cookie, Ne = !0 } catch (lr) { Ne = !1 } Le.set = function (e, t, n, r, o) { Ne && (e = e.replace(/[^+#$&^`|]/g, encodeURIComponent).replace(“(“, “%28”).replace(“)”, “%29”), t = t.toString().replace(/[^+#$&/:<-[]-}]/g, encodeURIComponent), !n && xt.is_connect && (xt.subdomain ? n = xt.host.split("www.").pop() : xt.subdirectory && (n = xt.host)), n = n ? ";domain=" + n : "", o = o ? ";expires=" + o : "", r = r || "", document.cookie = e + "=" + t + n + ";path=/" + r + o + ";SameSite=None;Secure") }, Le.get = function (e) { if (!Ne) return null; for (var t = document.cookie.split(";"); t.length;) { var n = t.pop(), r = n.indexOf("="); if (r = r < 0 ? n.length : r, decodeURIComponent(n.slice(0, r).replace(/^s+/, "")) === e) return decodeURIComponent(n.slice(r + 1)) } return null }, Le.erase = function (e, t, n) { Le.set(e, "", t, n, "Thu, 01 Jan 1970 00:00:00 GMT") }; var Te = []; function Ae(e, t, n) { if (e) return n(); je(t, n, !0) } function je(e, t, n) { return "function" != typeof t ? (M.error("You should provide a callback function as second argument", { sendToDatadog: n }), !1) : !n && oe.indexOf(e) 0;)t[n] = arguments[n + 1]; for (var r = Te.filter((function (t) { return t.name === e })), o = 0, a = r; o 0, “onOptionsReady”, (function () { if (xt.dynamicPushState) { var e = history.pushState; history.pushState = function () { for (var t = [], n = arguments.length; n–;)t[n] = arguments[n]; e.apply(history, t); var r = Ie(); Re.hostname = r.hostname, Re.pathname = r.pathname, Re.url = r.url, Pe(“onCurrentLocationChanged”) } } })); var De, We = {}; function Ue(e) { var t = 1; return e.replace(/((.*?))/g, (function () { return “$” + t++ })) } function He() { var e = Re.pathname, t = xt.localeRules; void 0 === t && (t = []); var n = xt.languages, r = { position: 0, translatedFormat: “CODE”, originalFormat: “”, addedByDefault: !0 }, o = xt.language_from; if (t.length) { var a = []; t.map((function (e) { var t = e.position, n = e.translatedFormat; n && “CODE” !== n && a.push(t || 0) })); var i = a.filter((function (e, t, n) { return n.indexOf(e) === t })).map((function (e) { return Object.assign({}, r, { position: e }) })); t.unshift.apply(t, i) } else t.push(r); var c = null, s = null, l = t.find((function (t) { var r = t.position; void 0 === r && (r = 0); var a = t.translatedFormat; void 0 === a && (a = “CODE”); var i = t.originalFormat; void 0 === i && (i = “”); var l = t.addedByDefault; if (!a.includes(“CODE”)) return !1; var u = e.split(“/”); if (u.length <= r) return !1; var f = u[r + 1], d = n.find((function (e) { var t = e.custom_code || e.language_to, n = a.replace("CODE", t), r = new RegExp("^" + n + "$", "g"); return !!r.test(f) && (s = r, !0) })); if (d) return c = d.custom_code || d.language_to, !0; if (i) { var g = i.replace("CODE", o); return new RegExp("^" + g + "$", "g").test(f) } return !l })) || r; return We.convertLocale = function (t, n, r, a) { if (void 0 === n && (n = e), void 0 === r && (r = c || o), void 0 === a && (a = null), r === t) return n; var i = l.position; void 0 === i && (i = 0); var u = l.originalFormat; void 0 === u && (u = ""); var f = l.translatedFormat; void 0 === f && (f = "CODE"); var d = n.split("/"); if (d.length <= i) return n; var g = d[i + 1]; if (r === o) { var _ = f.replace(/CODE/g, t), p = !1; if (u) { var h = u.replace(/CODE/g, o), m = new RegExp("^" + h + "$", "g"), v = Ue(_); _ = g.replace(m, v), a && !m.test(g) && (p = !0, _ = a.split("/")[i + 1]) } var w = u && !p ? 2 : 1; return d.slice(0, i + 1).concat([_], d.slice(i + w)).join("/") } if (t === o && !u) return d.slice(0, i + 1).concat(d.slice(i + 2)).join("/"); var y = Ue((t === o ? u : f).replace(/CODE/g, t)), b = g.replace(s, y); return d.slice(0, i + 1).concat([b], d.slice(i + 2)).join("/") }, We.language = c || o, We } function Me() { var e = Re.hostname, t = xt.languages.find((function (t) { return t.connect_host_destination && t.connect_host_destination.host === e })); return t ? t.custom_code || t.language_to : xt.language_from } function qe() { return He().language } function ze() { if (De) return De; if (xt.is_connect) { var e = document.documentElement.dataset.wgTranslated; return e ? (De = e, e) : De = xt.subdirectory ? qe() : Me() } return De = xt.language_from } function Fe(e, t) { var n = t; n || (n = ze()); for (var r = 0, o = e; r < o.length; r += 1) { var a = o[r]; if (!a || !a.dataset || !a.dataset.wgOnlyDisplay) return; a.hidden = a.dataset.wgOnlyDisplay !== n } } je("onCurrentLocationChanged", (function () { We = {} }), !0); var Be = { getItem: function (e) { return Le.get(e) }, setItem: function (e, t, n) { void 0 === n && (n = {}); var r = n.domain, o = n.path, a = n.expires; Le.set(e, t, r, o, a) }, removeItem: function (e) { return Le.erase(e) } }, $e = { getItem: function () { }, setItem: function () { }, removeItem: function () { } }; function Ve(e) { void 0 === e && (e = {}); var t = e.type || "local"; try { return "cookie" === t ? Be : window[t + "Storage"] } catch (e) { } return e.type ? $e : Ve({ type: "local" === t ? "cookie" : "local" }) } var Ge = { slugs: {}, version: 0, network: void 0 }; function Je() { return new Promise((function (e) { for (var t = xt.languages, n = {}, r = function () { var r = a[o], i = r.custom_code, c = r.language_to; (function (e) { var t = xt.api_key, n = xt.versions; if (!n || !n.slugTranslation) return Promise.resolve({}); var r = "https://cdn-api-weglot.com/translations/slugs?api_key=" + t + "&language_to=" + e + "&v=" + n.slugTranslation; return fetch(r).then((function (e) { return e.json() })).then((function (e) { return Array.isArray(e) ? {} : e })).catch((function (e) { return M.error(e), {} })) })(c).then((function (r) { n[i || c] = r, Object.keys(n).length === t.length && e(n) })) }, o = 0, a = t; o < a.length; o += 1)r() })) } function Ye(e) { return e ? Object.keys(e).reduce((function (t, n) { return t[n] = function (e) { return Object.keys(e).reduce((function (t, n) { return e[n] && (t.original[n] = e[n], t.translated[e[n]] = n), t }), { original: {}, translated: {} }) }(e[n]), t }), {}) : {} } function Ke(e) { var t = xt.versions; if (t && t.slugTranslation) { var n = t.slugTranslation; Ge.version < n && (Ge.network ? Ge.network.resolved || Ge.network.then((function (t) { return e(Ye(t)) })) : Ge.network = Je().then((function (t) { return Ge.network.resolved = !0, function (e) { var t = xt.versions, n = { version: t ? t.slugTranslation : 1, slugs: e }; try { var r = Ve({ type: "local" }); r && r.setItem(G, JSON.stringify(n)) } catch (e) { M.warn(e) } Ge = Object.assign({}, Ge, n) }(t), e(Ye(t)), t })).catch((function () { return e({}), {} }))), e(Ye(Ge.slugs)) } else e({}) } !function () { if (Object.keys(Ge.slugs).length) return Ge.slugs; try { var e = Ve({ type: "local" }); if (!e) return {}; var t = e.getItem(G); t && (Object.assign(Ge, JSON.parse(t)), Ge.slugs) } catch (e) { return {} } }(); var Xe = {}; function Ze(e, t) { return e.split("/").map((function (e) { return t[decodeURIComponent(e)] || e })).join("/") } function Qe(e, t) { xt.is_tld && xt.auto_switch && (e === xt.language_from ? t.searchParams.set("no_redirect", "true") : t.searchParams.delete("no_redirect")) } function et(e, t) { var n = ze(), r = new se(Re.url); r.searchParams.has("lang") && r.searchParams.delete("lang"), Qe(e, r); var o = function (e) { if (xt.subdirectory) return !1; var t = xt.language_from, n = xt.host, r = xt.languages; if (e === t) return n; var o = r.find((function (t) { return t.custom_code === e || t.language_to === e })) || {}, a = o.connect_host_destination; return a && a.host }(e); return o && (r.hostname = o), r.pathname = function (e, t, n, r) { if (!Object.keys(e).length) return t; if (!Xe.originalPath) if (n !== xt.language_from && e[n]) { var o = e[n].translated; Xe.originalPath = Ze(t, o) } else Xe.originalPath = t; return r === xt.language_from ? Xe.originalPath : e[r] && e[r].original ? Ze(Xe.originalPath, e[r].original) : t }(t, r.pathname, n, e), xt.subdirectory && e && (r.pathname = He().convertLocale(e, r.pathname)), r.toString() } function tt(e, t) { if (!xt.is_connect || !e) return t("#"); var n = xt.dynamicPushState, r = xt.injectedData; void 0 === r && (r = {}); var o = r.allLanguageUrls; if (void 0 === o && (o = {}), !n && o && o[e]) { var a = new se(o[e]); return Qe(e, a), t(a.toString()) } Ke((function (n) { return t(et(e, n)) })) } je("onCurrentLocationChanged", (function () { Xe = {} }), !0); var nt = {}; function rt() { var e = xt.host; return void 0 === e && (e = window.location.hostname), 0 === e.indexOf("www.") ? e.slice(3) : "." + e } function ot() { var e = document.cookie.match(/(^cart=[^;]+|[W]cart=[^;]+)/g); if (e) { var t = e.map((function (e) { return e.split("=").pop() })); 1 !== t.length && t[0] === t[1] || Le.set("cart", t[0], rt()) } else setTimeout(ot, 100) } function at(e) { var t = "/checkout?locale=" + e + (xt.shopify_skip_shop_pay ? "&skip_shop_pay=true" : ""); fetch(t).then((function (e) { document.location.href = e.url })).catch((function () { document.location.href = t })) } function it(e) { var t = e || ze(), n = ct(t), r = [{ name: "locale", value: n }].concat(xt.shopify_skip_shop_pay ? [{ name: "skip_shop_pay", value: "true" }] : []);[{ name: "action", selector: ['form[method="post"][action*="/cart"]', 'form[method="post"][action*="/checkout"]'], testRegex: //(cart|checkout|)/?(?|$)/, event: "submit" }, { name: "href", selector: ['a[href*="/checkout"]', 'a[href*="/cart/checkout"]'], testRegex: //(cart/)?checkout/?(?|$)/, event: "click" }].forEach((function (e) { for (var o = e.name, a = e.selector, i = e.testRegex, c = e.event, s = document.querySelectorAll(a.join(",")), l = function () { var e = f[u], a = e.getAttribute(o); if (i.test(a) && !r.every((function (e) { return a.includes(e.name + "=" + e.value) }))) { for (var s = 0, l = r; s < l.length; s += 1) { var d = l[s]; a = be(a, d.name, d.value) } e.setAttribute(o, a), e.wgCheckoutListener && e.removeEventListener(c, e.wgCheckoutListener), t !== xt.language_from && xt.fix_shopify_checkout_locale && (e.wgCheckoutListener = function (e) { return e.preventDefault(), e.stopPropagation(), xt.is_connect && !xt.subdirectory ? (Ve({ type: "cookie" }).setItem("wg_checkout_redirect", t), document.location.href = (xt.is_https ? "https:" : "http:") + "//" + xt.host) : at(n), !1 }, e.addEventListener(c, e.wgCheckoutListener)) } }, u = 0, f = s; u < f.length; u += 1)l() })) } function ct(e) { var t = { pt: "pt-PT", ro: "ro-RO", fl: "fil", zh: "zh-CN", tw: "zh-TW" }; return t[e] ? t[e] : e.substr(0, 2) } function st(e) { var t, n, r, o = e || ze(), a = document.getElementById("create_customer") || document.querySelector('form[action="' + (t = o, n = "/account", (xt.is_connect && t !== xt.language_from ? nt[n] ? nt[n] : (Ke((function (e) { var o = e && e[t] ? Ze(n, e[t].original) : n; r = xt.subdirectory ? He().convertLocale(t, o, xt.language_from) : o })), nt[n] = r, r) : n) + '"]')) || "string" == typeof xt.customer_tag && fe(document, xt.customer_tag); if (a) { var i = document.getElementById("weglot-lang-form"); i && i.parentNode.removeChild(i); var c = document.createElement("input"); Object.assign(c, { type: "hidden", id: "weglot-lang-form", name: "customer[tags]", value: "#wg" + o + "#wg" }), a.appendChild(c) } } function lt(e) { var t = function () { var e = document.getElementById("shopify-features"); if (!e) return null; var t = e.textContent.match(/"shopId":(d*)/); return t ? t[1] : null }(); t && Le.set("checkout_locale", ct(e), null, t) } function ut(e) { var t = e || ze(); if (!xt.visual_editor && !me()) { var n = xt.cart_attributes, r = xt.is_connect, o = xt.original_shopify_checkout, a = xt.subdirectory, i = xt.language_from, c = Ve({ type: "cookie" }).getItem("cart"), s = Ve({ type: "session" }).getItem("wg-cart-update-token"); if (Ve({ type: "session" }).getItem("wg-cart-update-lang") !== ct(t) || c !== s) { var l = n.map((function (e) { return "attributes[" + e + "]=" + ct(t) })).join("&"), u = fetch("/cart/update.js", { method: "POST", body: l, headers: { "Content-Type": "application/x-www-form-urlencoded" }, credentials: "same-origin" }); !1 !== o && r && !a && i === ze() && u.then((function (e) { return e.json() })).then((function (e) { var t = e.token; return Le.set("cart", t, rt()) })), Ve({ type: "session" }).setItem("wg-cart-update-token", c), Ve({ type: "session" }).setItem("wg-cart-update-lang", ct(t)) } for (var f = document.querySelectorAll('a[href*="/cart/"]'), d = "attributes[lang]=" + t, g = 0, _ = f; g span.cc-message”, “.hc-widget”, “.jdgm-rev-widg__header”, “.jdgm-rev__body”, “.jdgm-rev-title”, “.yotpo-main-widget”, “#swell-popup”, “.swell-tab”, “.yotpo-widget-override-css”, “.cw-row”, “.mini-popup-container”, “email-field cw-form-control”, “phone-field cw-form-control”, “.sms-policy-text”, “.wlo-content-holder”, “.wlo-wheel-holder”, “.yotpo-smsbump-modal__content”, “.cw-compliance-text”, “#saso-notifications”, “.saso-cross-sell-popup”, “.saso-cart-item-discount-notes”, “.saso-cart-item-upsell-notes”, “.saso-volume-discount-tiers”, “.opw-leading-normal”, “.opw-my-2.opw-leading-normal.opw-text-lg.opw-text-left”, “.opinew-navbar.opw-flex.opw-items-center.opw-justify-between.opw-flex-wrap.opw-py-4.opw-px-6”, “.main-content-container.opw–mx-1”, “.opw-text-center.opw-text-sm.opw-border-solid.opw-border-0.opw-mt-3”, “.summary-card-container.opw-mx-1”, “.opw-reviews-container.opw-mt-3.opw–mx-1”, “.opinew-reviews-title.opw-flex.opw-items-center.opw-flex-no-shrink.opw-mr-6”, “.opw-flex.opw-flex-row-reverse”, “#opinew-app-container”, “.gem_dynamic-content”, “.pp_tracking_content”, “.pp_all_form_div”, “.pp_tracking_result_title”, “.progress-bar-style”, “.pp_tracking_left”, “.pp_num_status_show”, “.pp_tracking_status_tips”, “.pp_page_map_div”, “.pp_tracking_result_parent”, “.pp_tracking_right”, “.pp_recommend_product_parent”, “.currency-converter-cart-note”, “.cbb-shipping-rates-calculator”, “.cbb-frequently-bought-container”, “.cbb-frequently-bought-discount-applied-message”, “.cbb-also-bought-container”, “#zonos”, “.buddha-menu-item”, “.R-GlobalModal”, “.ruk-rating-snippet-count”, “.R-ContentList-container”, “.R-ReviewsList-container”, “.R-SliderIndicator-group”, “.R-TextBody”, “.widgetId-reviewsio-carousel-widget”, “.REVIEWSIO-FloatingMinimised”, “.REVIEWSIO-FloatingMinimised__Container”, “.reviewsio-carousel-widget”, “.reviews-io-floating-widget”, “.reviews_container”, “.site-nav.style–sidebar .site-nav-container .subtitle”, “.search-more”, “.variant-quantity”, “.lion-claimed-rewards-list”, “.lion-header”, “.lion-header__join-buttons”, “.lion-header__join-today”, “.lion-history-table”, “.lion-integrated-page-section__heading-text”, “.lion-loyalty-panel”, “.lion-loyalty-splash”, “.lion-loyalty-widget”, “.lion-modal__content”, “.lion-modal__header”, “.lion-referral-widget”, “.lion-rewards-list”, “.lion-rules-list”, “.lion-tier-overview”, “.ccpops-popup__content__bottom-text”, “.ccpops-popup__content__top-text”, “.ccpops-trigger__text”, “.ks-table-row”, “.klaviyo-form”]; var gt = {}; function _t(e) { return e ? “string” != typeof e ? e : e.split(“,”).map((function (e) { return { value: e } })) : [] } function pt(e, t) { if (void 0 === t && (t = “”), !e) return ae.button_style; var n = e.classF || “”, r = n.match(/flag-(d)/), o = { with_name: e.withname, full_name: !!e.fullname, is_dropdown: !!e.is_dropdown, with_flags: -1 !== n.indexOf(“wg-flags”), flag_type: r && r[1] ? ie[r[1]] : “”, invert_flags: !0 }; return t && (o.custom_css = t), o } function ht(e) { var t = e.styleOpt, n = e.containerCss, r = e.target, o = e.sibling; return { style: pt(t, n), location: { target: r, sibling: o } } } gt[J] = function () { je(“initialized”, (function () { var e = Ve({ type: “cookie” }).getItem(“wg_checkout_redirect”); e && (Ve({ type: “cookie” }).removeItem(“wg_checkout_redirect”), Ve({ type: “cookie” }).setItem(“wg_checkout_language”, e), at(e)), window.langify && M.log(“%c Please, uninstall langify to properly use Weglot”, { sendToDatadog: !1 }), we() || !xt.order_tag || xt.is_connect && xt.language_from !== ze() || ut(), it(); var t, n = document.querySelectorAll(“[data-wg-only-display]”); n.length && Fe(n), xt.customer_tag && st(), document.getElementsByClassName(“shopify-payment-button”).length && (t = window.fetch, window.fetch = function () { if (“/wallets/checkouts.json” === arguments[0]) try { var e = JSON.parse(arguments[1].body), n = ct(ze()); e.checkout.attributes = {}, xt.cart_attributes.forEach((function (t) { return e.checkout.attributes[t] = n })), arguments[1].body = JSON.stringify(e) } catch (e) { } return t.apply(window, arguments) }) }), !0), Se(“onConnectPageLoad”, (function (e) { return ft(e) })), Se(“onPageLanguageSet”, (function (e) { return ft(e) })), Se(“onDynamicDetected”, (function () { it(ze()) })), Se(“startWhen”, (function () { return ge(“admin-bar-iframe”) || ge(“preview-bar-iframe”) || xt.private_mode || function () { for (var e = 0, t = document.scripts; e option:not([value])”, “.ui-autocomplete”, “.shopify-payment-button__button”, “#shopify-section-static-recently-viewed-products”, “#recently-viewed-products”, “#shopify-section-product-recommendations”, “.action_button.add_to_cart”]), t = /^/(d+/checkouts|checkouts/[a-z]{1,2})/(?:w{2}-)?w{32}/.test(document.location.pathname), n = “loox.io” === document.location.hostname && me(); return Object.assign({}, { cart_attributes: [“lang”, “Invoice Language”], excluded_blocks: [“input[type=’radio’]”, “span.money”, “.price”, “.product__prices”, “#admin-bar-iframe”, “.notranslate”, “.skiptranslate”, “#isp_refine_nevigation”, “#isp_header_subtitle”, “.isp_sorting_and_result_view_wrapper”, “#isp_results_did_you_mean > span”, “.isp_facet_show_hide_values”, “#isp_main_search_box”, “.snize-filter-variant-count”, “.snize-search-results-header a”, “.snize-search-results-header b”, “.hc-author__text”, “.hc-avatar__initials”, “.hc-rating-chart__count”, “.hc-rating-chart__percentage-value”, “.yotpo-review-date”, “.yotpo-user-name”, “.yotpo-user-letter”, “.yotpo .avg-score”, “.yotpo .sr-only”, “.yotpo-mandatory-mark”].map((function (e) { return { value: e } })), search_forms: “form[action=’/pages/search-results’],form[action=’/search’]”, search_parameter: “q” }, n && xt.is_connect && { dynamicPushState: !0 }, { dynamics: e.map((function (e) { return { value: e } })), extra_definitions: [{ type: 1, selector: “.snize-color-swatch”, attribute: “data-sntooltip” }, { type: 1, selector: “button[data-pf-type=ProductATC]”, attribute: “data-soldout” }, { type: 1, selector: “button[data-pf-type=ProductATC]”, attribute: “data-adding” }, { type: 1, selector: “button[data-pf-type=ProductATC]”, attribute: “data-added” }], shopifyCheckout: t }) }, gt[Y] = function () { return Se(“onPageLanguageSet”, (function (e) { !function (e) { for (var t = 0, n = document.querySelectorAll(‘[href*=”/checkout.php”],[href*=”/cart.php”]’); t *”) } catch (e) { } return { force_translation: e.join(“,”), dynamics: [“#sqs-cart-container”, “#checkout”, “.sqs-widgets-confirmation”, “.video-player”, “.jdgm-widget”, “.calendar-block”, “.opentable-v2-block”, “.blog-item-comments”].map((function (e) { return { value: e } })).concat(xt.is_connect ? [{ value: “.sqs-add-to-cart-button.cart-adding” }, { value: “.sqs-add-to-cart-button.cart-added” }] : [{ value: “[data-dynamic-strings]” }, { value: “.sqs-add-to-cart-button” }, { value: “.variant-select-wrapper” }]), excluded_blocks: t.map((function (e) { return { value: e } })).concat(xt.is_connect ? [{ value: “.comment-body” }] : []), forceDisableConnect: n, merged_selectors_remove: [{ value: “.plyr__menu__container” }, { value: “.product-price .original-price” }, { value: “.comment-btn-wrapper” }], extra_definitions: [{ type: 1, selector: “.variant-select-wrapper”, attribute: “data-text” }] } }, gt[Z] = function () { var e = { dynamics: document.documentElement.getAttribute(“data-wg-translated”) ? [] : [{ value: “#SITE_CONTAINER” }], dynamicPushState: !0 }; if (window.wixBiSession && “bolt” !== window.wixBiSession.renderType && !xt.visual_editor && (document.addEventListener(“DOMContentLoaded”, (function () { new MutationObserver((function (e) { for (var t = 0; t 0 && t !== n ? t += “,” + n : t = n : t)) })), n = “https://cdn.weglot.com/weglot.min.css?v=4”, (r = document.createElement(“link”)).rel = “stylesheet”, r.type = “text/css”, r.href = n, document.head.appendChild(r), yt.button_style && yt.button_style.custom_css && ve(yt.button_style.custom_css, “weglot-custom-style”), yt.switchers && 0 !== yt.switchers.length ? yt.switchers = yt.switchers.map((function (e) { var t = e.button_style, n = wt(e, [“button_style”]); return Object.assign({}, { style: n.style || t }, n) })) : yt.switchers = [{ style: yt.button_style, location: {}, default: !0 }], yt.cache && yt.visual_editor && (yt.cache = !1), yt.api_key.length = 0 && e.className.indexOf(“add2”) >= 0, e.className = “remove1 remove2 remove3”, e.classList.remove(“remove1”, “remove3”), t = t && -1 === e.className.indexOf(“remove1”) && e.className.indexOf(“remove2”) >= 0 && -1 === e.className.indexOf(“remove3”); try { e.remove() } catch (t) { e = null } return t }(), “String.prototype.includes”: “includes” in String.prototype, fetch: “fetch” in self, “Array.prototype.find”: “find” in Array.prototype, “Array.prototype.findIndex”: “findIndex” in Array.prototype, “Object.assign”: “assign” in Object, “Array.prototype.includes”: “includes” in Array.prototype, URL: function (e) { try { var t = new e.URL(“http://weglot.com”); if (“href” in t && “searchParams” in t) { var n = new URL(“http://weglot.com”); if (n.search = “a=1&b=2”, “http://weglot.com/?a=1&b=2” === n.href && (n.search = “”, “http://weglot.com/” === n.href)) { var r = new e.URLSearchParams(“a=1”), o = new e.URLSearchParams(r); if (“a=1” === String(o)) return !0 } } return !1 } catch (e) { return !1 } }(self) }, Ot = !1; function Nt() { Ot = !0, Pe(“polyfillReady”) } function Lt() { return Ot } !function (e) { window.Prototype && (delete Object.prototype.toJSON, delete Array.prototype.toJSON); var t = Object.keys(St).filter((function (e) { return !St[e] })); if (t.length) { !function (e, t, n) { var r = !1; function o() { r || (r = !0, setTimeout((function () { return t(n) }), 20)) } var a = document.getElementsByTagName(“head”)[0] || document.documentElement, i = document.createElement(“script”); i.type = “text/javascript”, i.src = e, i.addEventListener ? (i.addEventListener(“load”, o, !1), i.addEventListener(“error”, o, !1)) : i.readyState && (i.onreadystatechange = o), a.insertBefore(i, a.firstChild) }(“https://cdn.polyfill.io/v2/polyfill.min.js?callback=Weglot.polyReady&features=” + t.join(“,”), (function () { })) } else e() }(Nt); var Tt = [{ condition: [{ type: “TECHNOLOGY_ID”, payload: 2 }], value: [{ original: “^/checkouts/(?:[\w]{32})(/.*)?$”, formatted: “/checkouts$1” }, { original: “^/account/(orders|activate)/(?:[\w]{32})$”, formatted: “/account/$1/” }, { original: “^/orders/(?:[\w]{32})$”, formatted: “/orders/” }, { original: “^/wallets/checkouts/(?:.*)$”, formatted: “/wallets/checkouts/” }, { original: “^/(.+)\.(json|xml)$”, formatted: “/$1” }] }], At = !1, jt = {}, Pt = {}, It = Ve({ type: “local” }); if (It.getItem(V)) try { jt = JSON.parse(It.getItem(V)), Object.keys(jt).forEach((function (e) { Object.keys(jt[e]).forEach((function (t) { if (2 === t.length) { Pt[t] || (Pt[t] = {}); var n = jt[e][t]; Pt[t][n] = e } })) })), At = !0 } catch (lr) { At = !0 } function Rt(e) { return jt[e] } function Dt(e, t, n, r) { var o, a = Rt(e); a ? (a[r] = n, a.createdTime = (new Date).getTime(), a.t = t) : jt[e] = ((o = {})[r] = n, o.createdTime = (new Date).getTime(), o.t = t, o), Pt[r] || (Pt[r] = {}), Pt[r][n] = e, xt.cache && Ee(Wt)() } var Wt = function () { return jt && It.setItem(V, JSON.stringify(jt)) }; var Ut = [], Ht = new Set, Mt = !1, qt = function (e) { return Ht.has(pe(e).trim()) }, zt = function (e) { return Ht.add(pe(e).trim()) }; function Ft(e, t) { void 0 === e && (e = document.documentElement); var n = ze(); return E(e).filter((function (e) { return (t || Bt)(e) })).map(function (e) { return function (t) { var n = t.element, r = t.words, o = t.type, a = t.properties, i = t.attrSetter; n.weglot || (n.weglot = { content: [] }); var c, s, l = n.weglot, u = {}, f = (c = r, !!Pt[s = e] && Pt[s][c]); if (f && (u[e] = r, r = f), a) { var d = l.content.find((function (e) { return e.html })); d ? Object.assign(d, { original: r, properties: a, translations: u }) : l.content.push({ html: !0, original: r, type: o, properties: a, translations: u }) } if (i) { var g = l.content.find((function (e) { return e.attrSetter === i })), _ = { attrSetter: i, original: r, type: o, translations: u }; g ? Object.assign(g, _) : l.content.push(_) } return n } }(n)) } function Bt(e) { var t = e.element, n = e.words; return !t.weglot || !t.weglot.content || !t.weglot.content.some((function (e) { var t, r = e.original, o = e.translations; return r === n || (t = o, Object.keys(t).map((function (e) { return t[e] }))).includes(pe(n)) })) } function $t(e) { for (var t = [], n = 0, r = e; n < r.length; n += 1) { var o = r[n]; -1 === Ut.indexOf(o) && t.push(o) } return [].push.apply(Ut, t), t } function Vt(e, t) { void 0 === e && (e = Ut), void 0 === t && (t = {}); var n = xt.prevent_retranslation, r = xt.injectedData; void 0 === r && (r = {}); var o = xt.is_connect; if (n && o && !Mt) { var a = r.translatedWordsList; void 0 === a && (a = []), a.forEach((function (e) { return zt(e) })), Mt = !0 } for (var i = [], c = {}, s = 0, l = e; s < l.length; s += 1)for (var u = 0, f = l[s].weglot.content; u < f.length; u += 1) { var d = f[u], g = d.original, _ = d.type; c[g] || (n && qt(g) || (c[g] = !0, i.push(Object.assign({}, { t: _, w: g }, t.label && { l: t.label })))) } return i } function Gt(e, t, n) { if (void 0 === t && (t = ze()), void 0 === n && (n = Ut), e && e.to_words && e.to_words.length) for (var r = e.from_words, o = e.to_words, a = 0, i = n; a < i.length; a += 1)for (var c = 0, s = i[a].weglot.content || {}; c /g, ‘wg-$1=””>’); xt.prevent_retranslation && zt(g), f[t] = g } } var _; try { T(n, t) } catch (e) { M.error(e) } } function Jt(e) { if (e && e.toLowerCase) { var t = e.toLowerCase(), n = xt.languages.find((function (e) { var n = e.language_to, r = e.custom_code; return n === t || (r ? r.toLowerCase() === t : void 0) })); return n ? n.language_to : e } } function Yt(e, t) { var n; void 0 === t && (t = { cdn: !1, search: !1 }); var r = e.l_to, o = e.words; e.l_to = Jt(r); var a, i = o; if (!xt.visual_editor) { if (n = function (e, t) { var n = [], r = [], o = []; return e.forEach((function (e) { var a = Rt(e.w); a && a[t] ? (n.push(a[t]), r.push(pe(e.w))) : o.push(e) })), { cachedWords: { to_words: n, from_words: r }, newWords: o } }(o, r), i = n.newWords, (a = n.cachedWords).to_words.length && !t.search) { if (!i.length) return Promise.resolve(a); Gt(a, r, t.nodes) } At && [].push.apply(i, function () { At = !1; var e = (new Date).getTime(); return Object.keys(jt).filter((function (t) { return jt[t].createdTime + 216e5 < e })).map((function (e) { return { t: jt[e].t, w: e } })) }()) } return i.length ? (e.words = i, e.request_url = function () { var e = function () { if (xt.visual_editor) return new se(Re.url); var e = xt.technology_name, t = xt.injectedData; if (e === Z) return new se(window.location.href); if (t && t.originalCanonicalUrl) try { return new se(t.originalCanonicalUrl) } catch (e) { } var n = document.querySelector("link[rel='canonical'][href]"); if (n) try { return new se(n.href) } catch (e) { } return new se(window.location.href) }(); e.pathname = (t = e.pathname, t.split("/").filter((function (e) { return !e || isNaN(Number(e)) })).join("/")); var t; for (var n = 0, r = Tt.filter((function (e) { return e.condition.some((function (e) { var t = e.type, n = e.payload; return "TECHNOLOGY_ID" === t && n === xt.technology_id })) })); n < r.length; n += 1) { var o = r[n].value; try { for (var a = 0, i = o; a = 402) throw Error(e.statusText); return e } function Zt(e) { var t = xt.api_key; return fetch(“https://api.weglot.com/pageviews?api_key=” + t, { method: “POST”, body: JSON.stringify({ url: e || Re.url, language: ze(), browser_language: navigator.language }) }) } var Qt, en = {}; function tn(e) { return { START_WITH: function (t) { return 0 === e.indexOf(t) }, NOT_START_WITH: function (t) { return 0 !== e.indexOf(t) }, END_WITH: function (t) { return -1 !== e.indexOf(t, e.length – t.length) }, NOT_END_WITH: function (t) { return -1 === e.indexOf(t, e.length – t.length) }, CONTAIN: function (t) { return -1 !== e.indexOf(t) }, NOT_CONTAIN: function (t) { return -1 === e.indexOf(t) }, IS_EXACTLY: function (t) { return e === t }, NOT_IS_EXACTLY: function (t) { return e !== t }, MATCH_REGEX: function (t) { try { return new RegExp(t, “i”).test(e) } catch (e) { return M.warn(e, { consoleOverride: t + ” is an invalid regex”, sendToDatadog: !1 }), !1 } } } } function nn(e) { var t = xt.excluded_paths, n = Re.pathname; if (n = n.toLowerCase(), “shopify.weglot.com” === window.location.host || !t || !t.length) return !1; if (“string” == typeof t && t.split(“,”).some((function (e) { return new RegExp(e, “i”).test(n) }))) return { allExcluded: !0, language_button_displayed: !0 }; var r = e || Jt(ze()); return void 0 !== en[r] && en.currentLang === r || (en.currentLang = r, xt.injectedData && xt.injectedData.originalPath && (n = xt.injectedData.originalPath.toLowerCase()), t.some((function (e) { var t = e.type, o = e.value, a = e.excluded_languages, i = e.language_button_displayed, c = e.regex; o = o.toLowerCase(); var s = { language_button_displayed: i, allExcluded: !(!a || !(0 === a.length || a.length >= xt.languages.length)) }; if (a && a.length && !a.includes(r)) return !1; var l = tn(n); if (c && !t.startsWith(“NOT”) ? l.MATCH_REGEX(c) : l[t](o)) return en[r] = s, !0; var u = n; try { u = decodeURIComponent(n) } catch (e) { return } if (u !== n) { var f = tn(u); return (c && !t.startsWith(“NOT”) ? f.MATCH_REGEX(c) : f[t](o)) ? (en[r] = s, !0) : void 0 } }))), en[r] } function rn() { if (Qt) return Qt; if (!xt.api_key) return M.warn(“Weglot must be initialized to use it.”, { sendToDatadog: !1 }), []; var e = (xt.languages || []).filter((function (e) { var t = nn(e.language_to), n = !t || t.language_button_displayed; return (!1 !== e.enabled || xt.private_mode) && n && (xt.subdirectory || !xt.is_connect || e.connect_host_destination && e.connect_host_destination.created_on_aws) })).map((function (e) { return e.custom_code || e.language_to })), t = [xt.language_from].concat(e); return Qt = t.filter((function (e, n) { return e && t.indexOf(e) == n })), e.length || M.log(“No public language available.”, { sendToDatadog: !1 }), Qt } je(“onCurrentLocationChanged”, (function () { en = {} }), !0), je(“onCurrentLocationChanged”, (function () { Qt = null }), !0); var on = [{ codes: [“no”], pattern: /^(nn|nb)(-[a-z]+)?$/i }, { codes: [“zh”], pattern: /^zh(-hans(-w{2})?)?(-(cn|sg))?$/i }, { codes: [“tw”, “zh-TW”], pattern: /^zh-(hant)?-?(tw|hk|mo)?$/i }, { codes: [“br”], pattern: /^pt-br$/i }, { codes: [“fl”], pattern: /^fil$/i }]; function an(e) { void 0 === e && (e = rn()); for (var t = {}, n = {}, r = 0, o = e; r < o.length; r += 1) { var a = o[r], i = a.toLowerCase(), c = i.substring(0, 2); t[c] || (t[c] = []), t[c].push(i), n[i] = a } for (var s = 0, l = navigator.languages || [navigator.language]; s < l.length; s += 1) { var u = l[s], f = u.toLowerCase(), d = f.substring(0, 2); if (n[f]) return n[f]; for (var g = 0, _ = on; g = 0 ? n[t[d][w]] : n[t[d].shift()] } } } function cn() { var e = window.location.search.indexOf(“no_redirect=true”) > -1; if (!(!xt.auto_switch || xt.subdirectory || e || Ve({ type: “cookie” }).getItem(“WG_CHOOSE_ORIGINAL”) || we() || xt.visual_editor)) { var t = an(); return t && !nn(t) ? t : xt.auto_switch_fallback && !nn(xt.auto_switch_fallback) ? xt.auto_switch_fallback : void 0 } e && sn(ze()) } function sn(e) { if (e === xt.language_from) { var t = new Date; t.setTime(t.getTime() + 2592e6), Ve({ type: “cookie” }).setItem(“WG_CHOOSE_ORIGINAL”, “1”, { expires: t.toUTCString() }) } else Ve({ type: “cookie” }).removeItem(“WG_CHOOSE_ORIGINAL”) } function ln() { var e = Ve().getItem(F); if (e && rn().includes(e)) return e } var un = function (e) { return e && Ve().setItem(F, e) }; function fn() { _e(ge(B)) } function dn(e, t, n) { void 0 === n && (n = {}); n = Object.assign({}, { title: !0, cdn: !1, search: !1 }, n); var r = { l_from: xt.language_from, l_to: t, words: e }; return n.title && (r.title = document.title), Yt(r, n) } function gn(e, t) { if (“string” != typeof e || “function” != typeof t) return !1; var n = ze(); return n === xt.language_from ? (t(e), !1) : (Yt({ l_from: n, l_to: xt.language_from, words: [{ t: 2, w: e }] }, { cdn: !0, search: !0 }).then((function (e) { return e.to_words[0].toLowerCase().trim() })).then(t), !0) } var _n = []; function pn(e) { var t = e.langTo; void 0 === t && (t = ze()); var n = e.node; void 0 === n && (n = document.documentElement); var r = xt.proxify_iframes, o = xt.api_key, a = xt.language_from; if (r && r.length && Array.isArray(r)) for (var i = 0, c = ue(n, r.join(“,”)); i < c.length; i += 1) { var s = c[i], l = s.src; if (!l) return; if (s.weglot || (s.weglot = {}), !l.includes("proxy.weglot.com/")) { if (s.weglot.originalFrameSrc || (s.weglot.originalFrameSrc = l), t === a) return; try { s.src = l.replace("://", "://proxy.weglot.com/" + o + "/" + a + "/" + t + "/") } catch (e) { } return } if (!t || t === a) { var u = (s.weglot || {}).originalFrameSrc; return void (u && (s.src = u)) } var f = new RegExp(o + "/" + a + "/[^/]+/"); return void (s.src = l.replace(f, o + "/" + a + "/" + t + "/")) } } function hn(e) { void 0 === e && (e = ze()), function (e) { void 0 === e && (e = ze()); for (var t = { message: "Weglot.setLanguage", payload: e }, n = 0, r = _n; n 2 && (i.children = arguments.length > 3 ? wn.call(arguments, 2) : n), “function” == typeof e && null != e.defaultProps) for (a in e.defaultProps) void 0 === i[a] && (i[a] = e.defaultProps[a]); return Pn(e, i, r, o, null) } function Pn(e, t, n, r, o) { var a = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: null == o ? ++bn : o }; return null == o && null != yn.vnode && yn.vnode(a), a } function In(e) { return e.children } function Rn(e, t) { this.props = e, this.context = t } function Dn(e, t) { if (null == t) return e.__ ? Dn(e.__, e.__.__k.indexOf(e) + 1) : null; for (var n; t < e.__k.length; t++)if (null != (n = e.__k[t]) && null != n.__e) return n.__e; return "function" == typeof e.type ? Dn(e) : null } function Wn(e) { var t, n; if (null != (e = e.__) && null != e.__c) { for (e.__e = e.__c.base = null, t = 0; t t && kn.sort(xn)); Hn.__r = 0 } function Mn(e, t, n, r, o, a, i, c, s, l) { var u, f, d, g, _, p, h, m = r && r.__k || Nn, v = m.length; for (n.__k = [], u = 0; u 0 ? Pn(g.type, g.props, g.key, g.ref ? g.ref : null, g.__v) : g)) { if (g.__ = n, g.__b = n.__b + 1, null === (d = m[u]) || d && g.key == d.key && g.type === d.type) m[u] = void 0; else for (f = 0; f < v; f++) { if ((d = m[f]) && g.key == d.key && g.type === d.type) { m[f] = void 0; break } d = null } Yn(e, g, d = d || On, o, a, i, c, s, l), _ = g.__e, (f = g.ref) && d.ref != f && (h || (h = []), d.ref && h.push(d.ref, null, g), h.push(f, g.__c || _, g)), null != _ ? (null == p && (p = _), "function" == typeof g.type && g.__k === d.__k ? g.__d = s = qn(g, s, e) : s = Fn(e, g, d, m, _, s), "function" == typeof n.type && (n.__d = s)) : s && d.__e == s && s.parentNode != e && (s = Dn(d)) } for (n.__e = p, u = v; u–;)null != m[u] && ("function" == typeof n.type && null != m[u].__e && m[u].__e == n.__d && (n.__d = Bn(r).nextSibling), Qn(m[u], m[u])); if (h) for (u = 0; u < h.length; u++)Zn(h[u], h[++u], h[++u]) } function qn(e, t, n) { for (var r, o = e.__k, a = 0; o && a < o.length; a++)(r = o[a]) && (r.__ = e, t = "function" == typeof r.type ? qn(r, t, n) : Fn(n, r, r, o, r.__e, t)); return t } function zn(e, t) { return t = t || [], null == e || "boolean" == typeof e || (Array.isArray(e) ? e.some((function (e) { zn(e, t) })) : t.push(e)), t } function Fn(e, t, n, r, o, a) { var i, c, s; if (void 0 !== t.__d) i = t.__d, t.__d = void 0; else if (null == n || o != a || null == o.parentNode) e: if (null == a || a.parentNode !== e) e.appendChild(o), i = null; else { for (c = a, s = 0; (c = c.nextSibling) && s = 0; t–)if ((n = e.__k[t]) && (r = Bn(n))) return r; return null } function $n(e, t, n) { “-” === t[0] ? e.setProperty(t, null == n ? “” : n) : e[t] = null == n ? “” : “number” != typeof n || Ln.test(t) ? n : n + “px” } function Vn(e, t, n, r, o) { var a; e: if (“style” === t) if (“string” == typeof n) e.style.cssText = n; else { if (“string” == typeof r && (e.style.cssText = r = “”), r) for (t in r) n && t in n || $n(e.style, t, “”); if (n) for (t in n) r && n[t] === r[t] || $n(e.style, t, n[t]) } else if (“o” === t[0] && “n” === t[1]) a = t !== (t = t.replace(/Capture$/, “”)), t = t.toLowerCase() in e ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + a] = n, n ? r || e.addEventListener(t, a ? Jn : Gn, a) : e.removeEventListener(t, a ? Jn : Gn, a); else if (“dangerouslySetInnerHTML” !== t) { if (o) t = t.replace(/xlink(H|:h)/, “h”).replace(/sName$/, “s”); else if (“width” !== t && “height” !== t && “href” !== t && “list” !== t && “form” !== t && “tabIndex” !== t && “download” !== t && t in e) try { e[t] = null == n ? “” : n; break e } catch (e) { } “function” == typeof n || (null == n || !1 === n && “-” !== t[4] ? e.removeAttribute(t) : e.setAttribute(t, n)) } } function Gn(e) { return this.l[e.type + !1](yn.event ? yn.event(e) : e) } function Jn(e) { return this.l[e.type + !0](yn.event ? yn.event(e) : e) } function Yn(e, t, n, r, o, a, i, c, s) { var l, u, f, d, g, _, p, h, m, v, w, y, b, k, E, C = t.type; if (void 0 !== t.constructor) return null; null != n.__h && (s = n.__h, c = t.__e = n.__e, t.__h = null, a = [c]), (l = yn.__b) && l(t); try { e: if (“function” == typeof C) { if (h = t.props, m = (l = C.contextType) && r[l.__c], v = l ? m ? m.props.value : l.__ : r, n.__c ? p = (u = t.__c = n.__c).__ = u.__E : (“prototype” in C && C.prototype.render ? t.__c = u = new C(h, v) : (t.__c = u = new Rn(h, v), u.constructor = C, u.render = er), m && m.sub(u), u.props = h, u.state || (u.state = {}), u.context = v, u.__n = r, f = u.__d = !0, u.__h = [], u._sb = []), null == u.__s && (u.__s = u.state), null != C.getDerivedStateFromProps && (u.__s == u.state && (u.__s = Tn({}, u.__s)), Tn(u.__s, C.getDerivedStateFromProps(h, u.__s))), d = u.props, g = u.state, u.__v = t, f) null == C.getDerivedStateFromProps && null != u.componentWillMount && u.componentWillMount(), null != u.componentDidMount && u.__h.push(u.componentDidMount); else { if (null == C.getDerivedStateFromProps && h !== d && null != u.componentWillReceiveProps && u.componentWillReceiveProps(h, v), !u.__e && null != u.shouldComponentUpdate && !1 === u.shouldComponentUpdate(h, u.__s, v) || t.__v === n.__v) { for (t.__v !== n.__v && (u.props = h, u.state = u.__s, u.__d = !1), u.__e = !1, t.__e = n.__e, t.__k = n.__k, t.__k.forEach((function (e) { e && (e.__ = t) })), w = 0; w < u._sb.length; w++)u.__h.push(u._sb[w]); u._sb = [], u.__h.length && i.push(u); break e } null != u.componentWillUpdate && u.componentWillUpdate(h, u.__s, v), null != u.componentDidUpdate && u.__h.push((function () { u.componentDidUpdate(d, g, _) })) } if (u.context = v, u.props = h, u.__P = e, y = yn.__r, b = 0, "prototype" in C && C.prototype.render) { for (u.state = u.__s, u.__d = !1, y && y(t), l = u.render(u.props, u.state, u.context), k = 0; k < u._sb.length; k++)u.__h.push(u._sb[k]); u._sb = [] } else do { u.__d = !1, y && y(t), l = u.render(u.props, u.state, u.context), u.state = u.__s } while (u.__d && ++b < 25); u.state = u.__s, null != u.getChildContext && (r = Tn(Tn({}, r), u.getChildContext())), f || null == u.getSnapshotBeforeUpdate || (_ = u.getSnapshotBeforeUpdate(d, g)), E = null != l && l.type === In && null == l.key ? l.props.children : l, Mn(e, Array.isArray(E) ? E : [E], t, n, r, o, a, i, c, s), u.base = t.__e, t.__h = null, u.__h.length && i.push(u), p && (u.__E = u.__ = null), u.__e = !1 } else null == a && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = Xn(n.__e, t, n, r, o, a, i, s); (l = yn.diffed) && l(t) } catch (e) { t.__v = null, (s || null != a) && (t.__e = c, t.__h = !!s, a[a.indexOf(c)] = null), yn.__e(e, t, n) } } function Kn(e, t) { yn.__c && yn.__c(t, e), e.some((function (t) { try { e = t.__h, t.__h = [], e.some((function (e) { e.call(t) })) } catch (e) { yn.__e(e, t.__v) } })) } function Xn(e, t, n, r, o, a, i, c) { var s, l, u, f = n.props, d = t.props, g = t.type, _ = 0; if ("svg" === g && (o = !0), null != a) for (; _ < a.length; _++)if ((s = a[_]) && "setAttribute" in s == !!g && (g ? s.localName === g : 3 === s.nodeType)) { e = s, a[_] = null; break } if (null == e) { if (null === g) return document.createTextNode(d); e = o ? document.createElementNS("http://www.w3.org/2000/svg", g) : document.createElement(g, d.is && d), a = null, c = !1 } if (null === g) f === d || c && e.data === d || (e.data = d); else { if (a = a && wn.call(e.childNodes), l = (f = n.props || On).dangerouslySetInnerHTML, u = d.dangerouslySetInnerHTML, !c) { if (null != a) for (f = {}, _ = 0; _ < e.attributes.length; _++)f[e.attributes[_].name] = e.attributes[_].value; (u || l) && (u && (l && u.__html == l.__html || u.__html === e.innerHTML) || (e.innerHTML = u && u.__html || "")) } if (function (e, t, n, r, o) { var a; for (a in n) "children" === a || "key" === a || a in t || Vn(e, a, null, n[a], r); for (a in t) o && "function" != typeof t[a] || "children" === a || "key" === a || "value" === a || "checked" === a || n[a] === t[a] || Vn(e, a, t[a], n[a], r) }(e, d, f, o, c), u) t.__k = []; else if (_ = t.props.children, Mn(e, Array.isArray(_) ? _ : [_], t, n, r, o && "foreignObject" !== g, a, i, a ? a[0] : n.__k && Dn(n, 0), c), null != a) for (_ = a.length; _–;)null != a[_] && An(a[_]); c || ("value" in d && void 0 !== (_ = d.value) && (_ !== e.value || "progress" === g && !_ || "option" === g && _ !== f.value) && Vn(e, "value", _, f.value, !1), "checked" in d && void 0 !== (_ = d.checked) && _ !== e.checked && Vn(e, "checked", _, f.checked, !1)) } return e } function Zn(e, t, n) { try { "function" == typeof e ? e(t) : e.current = t } catch (e) { yn.__e(e, n) } } function Qn(e, t, n) { var r, o; if (yn.unmount && yn.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || Zn(r, null, t)), null != (r = e.__c)) { if (r.componentWillUnmount) try { r.componentWillUnmount() } catch (e) { yn.__e(e, t) } r.base = r.__P = null, e.__c = void 0 } if (r = e.__k) for (o = 0; o < r.length; o++)r[o] && Qn(r[o], t, n || "function" != typeof e.type); n || null == e.__e || An(e.__e), e.__ = e.__e = e.__d = void 0 } function er(e, t, n) { return this.constructor(e, n) } function tr(e) { var t, n, r = ""; if ("string" == typeof e || "number" == typeof e) r += e; else if ("object" == typeof e) if (Array.isArray(e)) for (t = 0; t = n.__.length && n.__.push({ __V: sr }), n.__[e] } function pr(e) { return ir = 1, function (e, t, n) { var r = _r(nr++, 2); if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Cr(void 0, t), function (e) { var t = r.__N ? r.__N[0] : r.__[0], n = r.t(t, e); t !== n && (r.__N = [n, r.__[1]], r.__c.setState({})) }], r.__c = rr, !rr.u)) { var o = function (e, t, n) { if (!r.__c.__H) return !0; var o = r.__c.__H.__.filter((function (e) { return e.__c })); if (o.every((function (e) { return !e.__N }))) return !a || a.call(this, e, t, n); var i = !1; return o.forEach((function (e) { if (e.__N) { var t = e.__[0]; e.__ = e.__N, e.__N = void 0, t !== e.__[0] && (i = !0) } })), !(!i && r.__c.props === e) && (!a || a.call(this, e, t, n)) }; rr.u = !0; var a = rr.shouldComponentUpdate, i = rr.componentWillUpdate; rr.componentWillUpdate = function (e, t, n) { if (this.__e) { var r = a; a = void 0, o(e, t, n), a = r } i && i.call(this, e, t, n) }, rr.shouldComponentUpdate = o } return r.__N || r.__ }(Cr, e) } function hr(e, t) { var n = _r(nr++, 3); !yn.__s && Er(n.__H, t) && (n.__ = e, n.i = t, rr.__H.__h.push(n)) } function mr(e) { return ir = 5, function (e, t) { var n = _r(nr++, 7); return Er(n.__H, t) ? (n.__V = e(), n.i = t, n.__h = e, n.__V) : n.__ }((function () { return { current: e } }), []) } function vr() { for (var e; e = cr.shift();)if (e.__P && e.__H) try { e.__H.__h.forEach(br), e.__H.__h.forEach(kr), e.__H.__h = [] } catch (t) { e.__H.__h = [], yn.__e(t, e.__v) } } yn.__b = function (e) { rr = null, lr && lr(e) }, yn.__r = function (e) { ur && ur(e), nr = 0; var t = (rr = e.__c).__H; t && (or === rr ? (t.__h = [], rr.__h = [], t.__.forEach((function (e) { e.__N && (e.__ = e.__N), e.__V = sr, e.__N = e.i = void 0 }))) : (t.__h.forEach(br), t.__h.forEach(kr), t.__h = [])), or = rr }, yn.diffed = function (e) { fr && fr(e); var t = e.__c; t && t.__H && (t.__H.__h.length && (1 !== cr.push(t) && ar === yn.requestAnimationFrame || ((ar = yn.requestAnimationFrame) || yr)(vr)), t.__H.__.forEach((function (e) { e.i && (e.__H = e.i), e.__V !== sr && (e.__ = e.__V), e.i = void 0, e.__V = sr }))), or = rr = null }, yn.__c = function (e, t) { t.some((function (e) { try { e.__h.forEach(br), e.__h = e.__h.filter((function (e) { return !e.__ || kr(e) })) } catch (n) { t.some((function (e) { e.__h && (e.__h = []) })), t = [], yn.__e(n, e.__v) } })), dr && dr(e, t) }, yn.unmount = function (e) { gr && gr(e); var t, n = e.__c; n && n.__H && (n.__H.__.forEach((function (e) { try { br(e) } catch (e) { t = e } })), n.__H = void 0, t && yn.__e(t, n.__v)) }; var wr = “function” == typeof requestAnimationFrame; function yr(e) { var t, n = function () { clearTimeout(r), wr && cancelAnimationFrame(t), setTimeout(e) }, r = setTimeout(n, 100); wr && (t = requestAnimationFrame(n)) } function br(e) { var t = rr, n = e.__c; “function” == typeof n && (e.__c = void 0, n()), rr = t } function kr(e) { var t = rr; e.__c = e.__(), rr = t } function Er(e, t) { return !e || e.length !== t.length || t.some((function (t, n) { return t !== e[n] })) } function Cr(e, t) { return “function” == typeof t ? t(e) : t } function xr(e, t) { for (var n in t) e[n] = t[n]; return e } function Sr(e, t) { for (var n in e) if (“__source” !== n && !(n in t)) return !0; for (var r in t) if (“__source” !== r && e[r] !== t[r]) return !0; return !1 } function Or(e) { this.props = e } (Or.prototype = new Rn).isPureReactComponent = !0, Or.prototype.shouldComponentUpdate = function (e, t) { return Sr(this.props, e) || Sr(this.state, t) }; var Nr = yn.__b; yn.__b = function (e) { e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Nr && Nr(e) }; var Lr = “undefined” != typeof Symbol && Symbol.for && Symbol.for(“react.forward_ref”) || 3911; var Tr = yn.__e; yn.__e = function (e, t, n, r) { if (e.then) for (var o, a = t; a = a.__;)if ((o = a.__c) && o.__c) return null == t.__e && (t.__e = n.__e, t.__k = n.__k), o.__c(e, t); Tr(e, t, n, r) }; var Ar = yn.unmount; function jr(e, t, n) { return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach((function (e) { “function” == typeof e.__c && e.__c() })), e.__c.__H = null), null != (e = xr({}, e)).__c && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map((function (e) { return jr(e, t, n) }))), e } function Pr(e, t, n) { return e && (e.__v = null, e.__k = e.__k && e.__k.map((function (e) { return Pr(e, t, n) })), e.__c && e.__c.__P === t && (e.__e && n.insertBefore(e.__e, e.__d), e.__c.__e = !0, e.__c.__P = n)), e } function Ir() { this.__u = 0, this.t = null, this.__b = null } function Rr(e) { var t = e.__.__c; return t && t.__a && t.__a(e) } function Dr() { this.u = null, this.o = null } yn.unmount = function (e) { var t = e.__c; t && t.__R && t.__R(), t && !0 === e.__h && (e.type = null), Ar && Ar(e) }, (Ir.prototype = new Rn).__c = function (e, t) { var n = t.__c, r = this; null == r.t && (r.t = []), r.t.push(n); var o = Rr(r.__v), a = !1, i = function () { a || (a = !0, n.__R = null, o ? o(c) : c()) }; n.__R = i; var c = function () { if (!–r.__u) { if (r.state.__a) { var e = r.state.__a; r.__v.__k[0] = Pr(e, e.__c.__P, e.__c.__O) } var t; for (r.setState({ __a: r.__b = null }); t = r.t.pop();)t.forceUpdate() } }, s = !0 === t.__h; r.__u++ || s || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(i, i) }, Ir.prototype.componentWillUnmount = function () { this.t = [] }, Ir.prototype.render = function (e, t) { if (this.__b) { if (this.__v.__k) { var n = document.createElement(“div”), r = this.__v.__k[0].__c; this.__v.__k[0] = jr(this.__b, n, r.__O = r.__P) } this.__b = null } var o = t.__a && jn(In, null, e.fallback); return o && (o.__h = null), [jn(In, null, t.__a ? null : e.children), o] }; var Wr = function (e, t, n) { if (++n[1] === n[0] && e.o.delete(t), e.props.revealOrder && (“t” !== e.props.revealOrder[0] || !e.o.size)) for (n = e.u; n;) { for (; n.length > 3;)n.pop()(); if (n[1] < n[0]) break; e.u = n = n[2] } }; (Dr.prototype = new Rn).__a = function (e) { var t = this, n = Rr(t.__v), r = t.o.get(e); return r[0]++, function (o) { var a = function () { t.props.revealOrder ? (r.push(o), Wr(t, e, r)) : o() }; n ? n(a) : a() } }, Dr.prototype.render = function (e) { this.u = null, this.o = new Map; var t = zn(e.children); e.revealOrder && "b" === e.revealOrder[0] && t.reverse(); for (var n = t.length; n–;)this.o.set(t[n], this.u = [1, 0, this.u]); return e.children }, Dr.prototype.componentDidUpdate = Dr.prototype.componentDidMount = function () { var e = this; this.o.forEach((function (t, n) { Wr(e, n, t) })) }; var Ur = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.element") || 60103, Hr = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Mr = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, qr = /[A-Z0-9]/g, zr = "undefined" != typeof document, Fr = function (e) { return ("undefined" != typeof Symbol && "symbol" == typeof Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(e) }; Rn.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach((function (e) { Object.defineProperty(Rn.prototype, e, { configurable: !0, get: function () { return this["UNSAFE_" + e] }, set: function (t) { Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t }) } }) })); var Br = yn.event; function $r() { } function Vr() { return this.cancelBubble } function Gr() { return this.defaultPrevented } yn.event = function (e) { return Br && (e = Br(e)), e.persist = $r, e.isPropagationStopped = Vr, e.isDefaultPrevented = Gr, e.nativeEvent = e }; var Jr = { enumerable: !1, configurable: !0, get: function () { return this.class } }, Yr = yn.vnode; yn.vnode = function (e) { "string" == typeof e.type && function (e) { var t = e.props, n = e.type, r = {}; for (var o in t) { var a = t[o]; if (!("value" === o && "defaultValue" in t && null == a || zr && "children" === o && "noscript" === n || "class" === o || "className" === o)) { var i = o.toLowerCase(); "defaultValue" === o && "value" in t && null == t.value ? o = "value" : "download" === o && !0 === a ? a = "" : "ondoubleclick" === i ? o = "ondblclick" : "onchange" !== i || "input" !== n && "textarea" !== n || Fr(t.type) ? "onfocus" === i ? o = "onfocusin" : "onblur" === i ? o = "onfocusout" : Mr.test(o) ? o = i : -1 === n.indexOf("-") && Hr.test(o) ? o = o.replace(qr, "-$&").toLowerCase() : null === a && (a = void 0) : i = o = "oninput", "oninput" === i && r[o = i] && (o = "oninputCapture"), r[o] = a } } "select" == n && r.multiple && Array.isArray(r.value) && (r.value = zn(t.children).forEach((function (e) { e.props.selected = -1 != r.value.indexOf(e.props.value) }))), "select" == n && null != r.defaultValue && (r.value = zn(t.children).forEach((function (e) { e.props.selected = r.multiple ? -1 != r.defaultValue.indexOf(e.props.value) : r.defaultValue == e.props.value }))), t.class && !t.className ? (r.class = t.class, Object.defineProperty(r, "className", Jr)) : (t.className && !t.class || t.class && t.className) && (r.class = r.className = t.className), e.props = r }(e), e.$$typeof = Ur, Yr && Yr(e) }; var Kr = yn.__r; yn.__r = function (e) { Kr && Kr(e), e.__c }; var Xr = yn.diffed; yn.diffed = function (e) { Xr && Xr(e); var t = e.props, n = e.__e; null != n && "textarea" === e.type && "value" in t && t.value !== n.value && (n.value = null == t.value ? "" : t.value) }; var Zr = function (e, t) { var n = { __c: t = "__cC" + Sn++, __: e, Consumer: function (e, t) { return e.children(t) }, Provider: function (e) { var n, r; return this.getChildContext || (n = [], (r = {})[t] = this, this.getChildContext = function () { return r }, this.shouldComponentUpdate = function (e) { this.props.value !== e.value && n.some((function (e) { e.__e = !0, Un(e) })) }, this.sub = function (e) { n.push(e); var t = e.componentWillUnmount; e.componentWillUnmount = function () { n.splice(n.indexOf(e), 1), t && t.call(e) } }), e.children } }; return n.Provider.__ = n.Consumer.contextType = n }({}), Qr = function (e, t) { return function (n) { var r = t || {}, o = r.shouldForwardProp, a = r.label; var i = function (e, t) { function n(e) { var n = this.props.ref, r = n == e.ref; return !r && n && (n.call ? n(null) : n.current = null), t ? !t(this.props, e) || !r : Sr(this.props, e) } function r(t) { return this.shouldComponentUpdate = n, jn(e, t) } return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r }(function (e) { function t(t) { var n = xr({}, t); return delete n.ref, e(n, t.ref || null) } return t.$$typeof = Lr, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t }((function (t, r) { var a = t || {}, i = a.children, c = a.as; void 0 === c && (c = e); var s = a.style; void 0 === s && (s = {}); var l = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && -1 === t.indexOf(r) && (n[r] = e[r]); return n }(a, ["children", "as", "style"]), u = l, f = function (e) { var t = rr.context[e.__c], n = _r(nr++, 9); return n.c = e, t ? (null == n.__ && (n.__ = !0, t.sub(rr)), t.props.value) : e.__ }(Zr); return jn(c, Object.assign({}, { ref: r, style: Object.assign({}, n(Object.assign({}, u, { theme: f })), "function" == typeof s ? s(Object.assign({}, u, { theme: f })) : s) }, o ? function (e, t) { return Object.keys(e).filter(t).reduce((function (t, n) { return t[n] = e[n], t }), {}) }(u, o) : u), i) }))); return i.displayName = (a || e) + "💅", i } }("div")((function () { return { display: "flex", alignItems: "center", justifyContent: "center", height: "100vh" } })); function eo(e) { var t = e.displayError; void 0 === t && (t = !0); var n = e.logger; void 0 === n && (n = function () { }); var r = e.children, o = function (e) { var t = _r(nr++, 10), n = pr(); return t.__ = e, rr.componentDidCatch || (rr.componentDidCatch = function (e, r) { t.__ && t.__(e, r), n[1](e) }), [n[0], function () { n[1](void 0) }] }((function (e) { return n(e.message) })); return o[0] && t ? jn(Qr, null, jn("p", null, "An error has occurred, we apologise for the inconvenience. ", jn("br", null), jn("br", null), "We have been notified and will rectify the situation as soon as possible. ", jn("br", null), jn("br", null), "Please try again later or contact support@weglot.com directly.")) : r } var to = [{ name: "default", editorDropdown: !0, editableProps: ["flag_type", "with_flags", "is_dropdown", "with_name", "full_name", "invert_flags", "open_hover", "close_outside_click"], defaultValues: { style: { with_name: !0, with_flags: !0, full_name: !0, is_dropdown: !0, invert_flags: !0, flag_type: "rectangle_mat" }, opts: { open_hover: !1, close_outside_click: !1 } } }, { name: "toggle", editableProps: ["color"], defaultValues: { style: { full_name: !1, color: "#3D46FB" } } }, { name: "bubble", editorDropdown: !0, editableProps: ["flag_type", "with_flags", "full_name", "color", "open_hover", "close_outside_click"], defaultValues: { style: { with_name: !0, with_flags: !0, full_name: !0, flag_type: "rectangle_mat", color: "#555555" }, opts: { open_hover: !1, close_outside_click: !0 } } }, { name: "vertical_expand", editorDropdown: !0, editableProps: ["with_flags", "full_name", "color", "open_hover", "close_outside_click", "bg_transparent"], defaultValues: { style: { with_name: !0, with_flags: !0, full_name: !1, flag_type: "square", color: "#3D46FB", bg_transparent: !1 }, opts: { open_hover: !0, close_outside_click: !1 } } }, { name: "horizontal_expand", editorDropdown: !1, editableProps: ["color", "open_hover", "close_outside_click"], defaultValues: { style: { with_name: !0, with_flags: !1, full_name: !1, flag_type: "square", color: "#3D46FB" }, opts: { open_hover: !0, close_outside_click: !1 } } }, { name: "underline_edge", editableProps: ["full_name", "color"], maxLanguages: 10, minLanguages: null, defaultValues: { style: { full_name: !1, color: "#FA8072" } } }, { name: "skewed", editorDropdown: !0, editableProps: ["with_flags", "full_name", "color", "open_hover", "close_outside_click", "bg_transparent"], defaultValues: { style: { with_name: !0, with_flags: !0, full_name: !1, flag_type: "square", color: "#3D46FB" }, opts: { open_hover: !0, close_outside_click: !1 } } }, { name: "underline_full", maxLanguages: 10, minLanguages: null, editableProps: ["with_flags", "flag_type", "color"], defaultValues: { style: { full_name: !0, color: "#3D46FB", with_flags: !0, flag_type: "rectangle_mat" } } }].map((function (e) { return Object.assign({}, e, { defaultValues: Object.assign({}, e.defaultValues, { opts: Object.assign({}, e.defaultValues.opts, { is_responsive: !1, display_device: "mobile", pixel_cutoff: 768 }), style: Object.assign({}, e.defaultValues.style, { size_scale: 1 }) }), editableProps: e.editableProps.concat(["is_responsive", "display_device", "pixel_cutoff", "size_scale"]) }) })); function no(e) { var t = function (e) { return void 0 === e && (e = "default"), to.find((function (t) { return t.name === (e || "default") })) }(e), n = t.defaultValues; void 0 === n && (n = {}); var r = n, o = r.style; void 0 === o && (o = {}); var a = r.opts; return void 0 === a && (a = {}), { style: o, opts: a } } var ro = i({ service: "switcher-templates" }), oo = { af: { name: "Afrikaans", flag: "za" }, am: { name: "አማርኛ", flag: "et" }, ar: { name: "العربية‏", flag: "sa" }, az: { name: "Azərbaycan dili", flag: "az" }, ba: { name: "башҡорт теле", flag: "ru" }, be: { name: "Беларуская", flag: "by" }, bg: { name: "Български", flag: "bg" }, bn: { name: "বাংলা", flag: "bd" }, br: { name: "Português Brasileiro", flag: "br" }, bs: { name: "Bosanski", flag: "ba" }, ca: { name: "Català", flag: "es-ca" }, co: { name: "Corsu", flag: "fr-co" }, cs: { name: "Čeština", flag: "cz" }, cy: { name: "Cymraeg", flag: "gb-wls" }, da: { name: "Dansk", flag: "dk" }, de: { name: "Deutsch", flag: "de" }, el: { name: "Ελληνικά", flag: "gr" }, en: { name: "English", flag: "gb" }, eo: { name: "Esperanto", flag: "eo" }, es: { name: "Español", flag: "es" }, et: { name: "Eesti", flag: "ee" }, eu: { name: "Euskara", flag: "eus" }, fa: { name: "فارسی", flag: "ir" }, fi: { name: "Suomi", flag: "fi" }, fj: { name: "Vosa Vakaviti", flag: "fj" }, fl: { name: "Filipino", flag: "ph" }, fr: { name: "Français", flag: "fr" }, fy: { name: "frysk", flag: "nl" }, ga: { name: "Gaeilge", flag: "ie" }, gd: { name: "Gàidhlig", flag: "gb-sct" }, gl: { name: "Galego", flag: "es-ga" }, gu: { name: "ગુજરાતી", flag: "in" }, ha: { name: "هَوُسَ", flag: "ne" }, he: { name: "עברית", flag: "il" }, hi: { name: "हिंदी", flag: "in" }, hr: { name: "Hrvatski", flag: "hr" }, ht: { name: "Kreyòl ayisyen", flag: "ht" }, hu: { name: "Magyar", flag: "hu" }, hw: { name: "‘Ōlelo Hawai‘i", flag: "hw" }, hy: { name: "հայերեն", flag: "am" }, id: { name: "Bahasa Indonesia", flag: "id" }, ig: { name: "Igbo", flag: "ne" }, is: { name: "Íslenska", flag: "is" }, it: { name: "Italiano", flag: "it" }, ja: { name: "日本語", flag: "jp" }, jv: { name: "Wong Jawa", flag: "id" }, ka: { name: "ქართული", flag: "ge" }, kk: { name: "Қазақша", flag: "kz" }, km: { name: "ភាសាខ្មែរ", flag: "kh" }, kn: { name: "ಕನ್ನಡ", flag: "in" }, ko: { name: "한국어", flag: "kr" }, ku: { name: "كوردی", flag: "iq" }, ky: { name: "кыргызча", flag: "kg" }, la: { name: "Latine", flag: "it" }, lb: { name: "Lëtzebuergesch", flag: "lu" }, lo: { name: "ພາສາລາວ", flag: "la" }, lt: { name: "Lietuvių", flag: "lt" }, lv: { name: "Latviešu", flag: "lv" }, lg: { name: "Oluganda", flag: "ug" }, mg: { name: "Malagasy", flag: "mg" }, mi: { name: "te reo Māori", flag: "nz" }, mk: { name: "Македонски", flag: "mk" }, ml: { name: "മലയാളം", flag: "in" }, mn: { name: "Монгол", flag: "mn" }, mr: { name: "मराठी", flag: "in" }, ms: { name: "Bahasa Melayu", flag: "my" }, mt: { name: "Malti", flag: "mt" }, my: { name: "မျန္မာစာ", flag: "mm" }, ne: { name: "नेपाली", flag: "np" }, nl: { name: "Nederlands", flag: "nl" }, no: { name: "Norsk", flag: "no" }, ny: { name: "chiCheŵa", flag: "mw" }, pa: { name: "ਪੰਜਾਬੀ", flag: "in" }, pl: { name: "Polski", flag: "pl" }, ps: { name: "پښت", flag: "af" }, pt: { name: "Português", flag: "pt" }, ro: { name: "Română", flag: "ro" }, ru: { name: "Русский", flag: "ru" }, sd: { name: '"سنڌي، سندھی, सिन्धी"', flag: "pk" }, si: { name: "සිංහල", flag: "lk" }, sk: { name: "Slovenčina", flag: "sk" }, sl: { name: "Slovenščina", flag: "si" }, sm: { name: '"gagana fa'a Samoa"', flag: "ws" }, sn: { name: "chiShona", flag: "zw" }, so: { name: "Soomaaliga", flag: "so" }, sq: { name: "Shqip", flag: "al" }, sr: { name: "Српски", flag: "rs" }, st: { name: "seSotho", flag: "ng" }, su: { name: "Sundanese", flag: "sd" }, sv: { name: "Svenska", flag: "se" }, sw: { name: "Kiswahili", flag: "ke" }, ta: { name: "தமிழ்", flag: "in" }, te: { name: "తెలుగు", flag: "in" }, tg: { name: "Тоҷикӣ", flag: "tj" }, th: { name: "ภาษาไทย", flag: "th" }, tl: { name: "Tagalog", flag: "ph" }, to: { name: "faka-Tonga", flag: "to" }, tr: { name: "Türkçe", flag: "tr" }, tt: { name: "Tatar", flag: "tr" }, tw: { name: "中文 (繁體)", flag: "tw" }, ty: { name: '"te reo Tahiti, te reo Māʼohi"', flag: "pf" }, uk: { name: "Українська", flag: "ua" }, ur: { name: "اردو", flag: "pk" }, uz: { name: '"O'zbek"', flag: "uz" }, vi: { name: "Tiếng Việt", flag: "vn" }, xh: { name: "isiXhosa", flag: "za" }, yi: { name: "ייִדיש", flag: "il" }, yo: { name: "Yorùbá", flag: "ng" }, zh: { name: "中文 (简体)", flag: "cn" }, zu: { name: "isiZulu", flag: "za" }, hm: { name: "Hmoob", flag: "hmn" }, cb: { name: "Sugbuanon", flag: "ph" }, or: { name: "ଓଡ଼ିଆ", flag: "in" }, tk: { name: "Türkmen", flag: "tr" }, ug: { name: "ئۇيغۇر", flag: "uig" }, fc: { name: "Français (Canada)", flag: "ca" }, as: { name: "অসমীয়া", flag: "in" }, sa: { name: "Srpski", flag: "rs" }, om: { name: "Afaan Oromoo", flag: "et" }, iu: { name: "ᐃᓄᒃᑎᑐᑦ", flag: "ca" }, ti: { name: "ቲግሪንያ", flag: "er" }, bm: { name: "Bamanankan", flag: "ml" }, bo: { name: "བོད་ཡིག", flag: "cn" }, ak: { name: "Baoulé", flag: "gh" }, rw: { name: "Kinyarwanda", flag: "rw" } }; function ao(e) { if (!e || !e.toLowerCase) return "Unknown"; var t = e.toLowerCase(), n = xt.languages.find((function (e) { var n = e.language_to, r = e.custom_code; return n === t || (r ? r.toLowerCase() === t : void 0) })); return n && n.custom_local_name ? n.custom_local_name : n && n.custom_name ? n.custom_name : t === xt.language_from && xt.language_from_custom_name ? xt.language_from_custom_name : oo[t].name } function io(e, t) { return t[e] ? t[e].flag : "" } function co(e) { return function (e, t, n) { if (!e || !e.toLowerCase) return ""; if (t.language_from === e) return t.language_from_custom_flag || io(e, n); var r = e.toLowerCase(), o = t.languages.find((function (e) { var t = e.language_to, n = e.custom_code; return t === r || n && n.toLowerCase() === r })); return o ? o.custom_flag || io(o.language_to, n) : "" }(e, xt, oo) } function so(e, t, n) { return t n ? n : t } function lo(e, t) { return t && 1 !== t ? Math.round(e * t * 100) / 100 : e } function uo(e, t) { return “WordPress” === xt.technology_name && xt.injectedData && !xt.is_connect ? t(xt.injectedData.switcher_links[e]) : tt(e, t) } var fo = 13, go = 27, _o = 38, po = 40; var ho = [“none”, “shiny”, “square”, “circle”, “rectangle_mat”]; function mo(e) { return e ? e.getBoundingClientRect() : { bottom: 0, height: 0, left: 0, right: 0, top: 0, width: 0 } } function vo() { var e = pr(“WordPress” === xt.technology_name && xt.injectedData && !xt.is_connect ? xt.injectedData.current_language : xt.switcher_editor ? xt.language_from : window.Weglot.getCurrentLang()), t = e[0], n = e[1]; return hr((function () { xt.is_connect || “WordPress” === xt.technology_name || xt.switcher_editor || window.Weglot.on(“languageChanged”, (function (e) { n(e) })) }), []), [t, n] } function wo(e, t) { var n = window.innerWidth > 0 ? window.innerWidth : screen.width, r = t || 768; return “mobile” === e ? n r } function yo(e, t, n) { var r = pr(!1), o = r[0], a = r[1]; return hr((function () { var r = e.size_scale; if (“default” !== n || r && 1 !== r) { var o, i, c, s, l, u = (o = t(e), i = n, c = xt.button_style && xt.button_style.custom_css, s = “default” === i, l = o.map((function (e) { var t = e.selector, n = e.declarations; return [(s ? “aside.country-selector” : “”) + “.weglot_switcher.” + i + t + ” {“, Object.keys(n).map((function (e) { return “t” + e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, “$1-$2”).toLowerCase() + “: ” + n[e] + “;” })).join(“n”), “}”].join(“n”) })).join(“nn”), !c || xt.switcher_gallery ? l : l + “nn” + c); !function (e, t) { if (e) { var n = document.querySelector(“style#weglot-switcher-” + t); if (n) n.textContent = e; else { var r = document.createElement(“style”); r.id = “weglot-switcher-” + t, r.textContent = e, document.head.appendChild(r) } } }(u, n), a(!0) } }), []), o } function bo(e) { var t = e.close_outside_click; void 0 === t && (t = !1); var n = e.open_hover; void 0 === n && (n = !1); var r = vo(), o = r[0], a = r[1], i = pr(!1), c = i[0], s = i[1], l = function (e) { var t = mr(null); return hr((function () { if (e) return document.addEventListener(“mousedown”, n), function () { document.removeEventListener(“mousedown”, n) }; function n(n) { t.current && !t.current.contains(n.target) && e() } }), [t]), t }(t && !n && E), f = mr(null), d = rn().filter((function (e) { return e !== o })), g = pr(null), _ = g[0], p = g[1], h = pr(!1), m = h[0], v = h[1], w = pr(!1), y = w[0], b = w[1]; function k() { var e = mo(l.current), t = e.bottom; void 0 === t && (t = 0); var n = e.left; void 0 === n && (n = 0), b(t > window.innerHeight / 2), v(n > window.innerWidth / 2), s(!0) } function E() { s(!1), p(null) } function C() { return c ? E() : k() } function x(e) { if (xt.switcher_editor) return s(!1); var t; a(e), t = e, “WordPress” === xt.technology_name && xt.injectedData && !xt.is_connect ? uo(t, (function (e) { u(window.location.hostname) ? window.dispatchEvent(new CustomEvent(“veLanguageChangeUrl”, { detail: { targetUrl: e } })) : window.location.replace(e) })) : window.Weglot.switchTo(t), s(!1) } return hr((function () { _ && f.current.scrollIntoView({ block: “center” }) }), [_]), { open: c, opensUpward: y, opensLeftward: m, language: o, otherLanguages: d, focusedLanguage: _, switcherContainerRef: l, focusedLanguageRef: f, handleMouseEnter: function () { n && k() }, handleMouseLeave: function () { n && E() }, handleKeyDown: function (e) { return e.keyCode === fo ? (e.preventDefault(), _ && x(_), C()) : e.keyCode === po || e.keyCode === _o ? (e.preventDefault(), void function (e) { var t = e === po ? “down” : “up”, n = d.slice(-1).pop(), r = d[0], o = mo(l.current).bottom; void 0 === o && (o = 0); var a = o > window.innerHeight / 2; if (!_ || !c) { return p(“down” === t ? r : n), void (!c && (“up” === t && a || “down” === t && !a) && k()) } if (!a && “up” === t && _ === r || a && “down” === t && _ === n) return void C(); var i = “up” === t ? -1 : 1, s = d.indexOf(_) + i; if (s === d.length || -1 === s) return; p(d[s]) }(e.keyCode)) : void (e.keyCode === go && c && (e.preventDefault(), C())) }, switchLanguage: x, toggleOpen: C } } var ko = { rectangle_mat: { width: 30, height: 20 }, shiny: { width: 30, height: 20 }, circle: { width: 18, height: 18 }, square: { width: 18, height: 18 } }, Eo = function (e) { var t = e.language, n = e.flagType; void 0 === n && (n = “circle”); var r = e.size_scale, o = co(t), a = ko[n] || {}, i = a.width, c = a.height; if (o) return jn(“img”, { src: o.indexOf(“http”) > -1 ? o : “https://cdn.weglot.com/flags/” + n + “/” + o + “.svg”, width: lo(i, r), height: lo(c, r), className: “wg-flag”, role: “none”, alt: ao(t) + ” flag” }) }, Co = function (e) { var t = e.styleOpts, n = e.language, r = e.onClick, o = e.legacyFlags, a = e.open; void 0 === a && (a = !1); var i = e.url, c = e.focusedLanguage, s = e.isSelected; void 0 === s && (s = !1); var l = e.focusRef; void 0 === l && (l = null); var u = t.with_name; void 0 === u && (u = !0); var f = t.full_name; void 0 === f && (f = !0); var d = t.with_flags, g = t.size_scale, _ = t.flag_type, p = !!c && n === c, h = f ? ao(n) : n.toUpperCase(), m = s ? “div” : “li”, v = ho.indexOf(_ || “rectangle_mat”), w = d ? ” wg-flags” + (o ? ” flag-” + v + ” legacy” : “”) : “”, y = p && !s ? ” focus” : “”, b = s ? ” wgcurrent” : “”; return jn(m, Object.assign({}, { “data-l”: n, onClick: function (e) { return function (e, t) { e.preventDefault(), r(t) }(e, n) }, className: “wg-li ” + n + b + w + y }, s ? { role: “combobox”, “aria-activedescendant”: c ? “weglot-language-” + c : “”, “aria-label”: “Language”, tabindex: “0”, “aria-expanded”: a, “aria-controls”: “weglot-listbox” } : { role: “none”, id: “wg-” + n }), jn(“a”, Object.assign({}, s ? { target: “_self” } : { role: “option” }, { href: i }, !u && { “aria-label”: h }, p && !s && { ref: l }, { id: “weglot-language-” + n, tabIndex: -1 }), d && !o && jn(Eo, { language: n, flagType: _, size_scale: g }), u && h)) }; function xo(e) { var t = e.size_scale, n = function (e) { return lo(e, t) }; return [{ selector: “.wg-drop ul”, declarations: { top: n(38) + “px”, bottom: “auto” } }, { selector: “.wg-drop.weg-openup ul”, declarations: { bottom: n(38) + “px”, top: “auto” } }, { selector: ” a”, declarations: { fontSize: n(13) + “px” } }, { selector: “.wg-drop a img.wg-flag”, declarations: { height: n(30) + “px” } }, { selector: “.wg-drop .wg-li.wgcurrent”, declarations: { height: n(38) + “px”, display: “flex”, alignItems: “center” } }, { selector: “.wg-drop a”, declarations: { height: n(38) + “px” } }, { selector: ” .wgcurrent:after”, declarations: { height: n(38) + “px”, backgroundSize: n(9) + “px” } }, { selector: “.wg-drop .wgcurrent a”, declarations: { paddingRight: so(22, n(40), 40) + “px”, paddingLeft: so(5, n(10), 10) + “px” } }] } var So, Oo, No, Lo = “default”, To = function (e, t) { return function (n) { var r = n || {}, o = r.style; void 0 === o && (o = {}); var a = r.opts; void 0 === a && (a = {}); var i = no(t), c = i.style, s = i.opts, l = document.createElement(“div”); return function (e, t, n) { var r, o, a; yn.__ && yn.__(e, t), o = (r = “function” == typeof n) ? null : n && n.__k || t.__k, a = [], Yn(t, e = (!r && n || t).__k = jn(In, null, [e]), o || On, On, void 0 !== t.ownerSVGElement, !r && n ? [n] : o ? null : t.firstChild ? wn.call(t.childNodes) : null, a, !r && n ? n : o ? o.__e : t.firstChild, r), Kn(a, e) }(jn(eo, { logger: ro.error, displayError: !1 }, jn(e, { style: Object.assign({}, c, o), opts: Object.assign({}, s, a) })), l), l.classList.add(“weglot-container”), l } }((function (e) { var t = e.style, n = e.opts, r = bo(n), o = r.open, a = r.opensUpward, i = r.opensLeftward, c = r.language, s = r.focusedLanguage, l = r.switcherContainerRef, u = r.focusedLanguageRef, f = r.handleMouseEnter, d = r.handleMouseLeave, g = r.handleKeyDown, _ = r.switchLanguage, p = r.toggleOpen, h = function () { var e = rn(), t = pr(e.reduce((function (e, t) { var n; return Object.assign({}, e, ((n = {})[t] = “”, n)) }), {})), n = t[0], r = t[1]; return hr((function () { Promise.all(e.map((function (e) { return new Promise((function (t) { return uo(e, (function (n) { return t({ l: e, url: n }) })) })) }))).then((function (e) { return r(e.reduce((function (e, t) { var n, r = t.l, o = t.url; return Object.assign({}, e, ((n = {})[r] = o, n)) }), {})) })) }), []), n }(), m = function (e) { var t = e.is_responsive, n = e.display_device, r = e.pixel_cutoff, o = pr(!t || wo(n, r)), a = o[0], i = o[1], c = function () { return i(wo(n, r)) }; return hr((function () { if (t) return window.addEventListener(“resize”, c), function () { window.removeEventListener(“resize”, c) } }), [t, n, r]), a }(n); yo(t, xo, Lo); var v = xt.switcher_editor, w = t.is_dropdown, y = t.invert_flags, b = w || y, k = rn().filter((function (e) { return !b || e !== c })), E = /background-position/i.test(xt.button_style.custom_css) && !xt.languages.some((function (e) { return e.custom_flag })), C = function () { for (var e, t, n = arguments, r = 0, o = “”; r < arguments.length;)(e = n[r++]) && (t = tr(e)) && (o && (o += " "), o += t); return o }({ open: o, closed: !o, "wg-drop": w, "wg-list": !w, "weg-openup": a && o, "weg-openleft": i && o, "wg-editor": v }); return m ? jn("aside", { ref: l, "data-wg-notranslate": !0, onKeyDown: g, onMouseEnter: f, onMouseLeave: d, className: "weglot_switcher wg-mouse-click country-selector default " + C, "aria-label": "Language selected: " + ao(c) }, b && jn(Co, { styleOpts: t, open: o, focusedLanguage: s, language: c, isSelected: !0, onClick: p, legacyFlags: E, url: "#" }), jn("ul", { role: "listbox", id: "weglot-listbox", style: !o && t.is_dropdown && { display: "none" } }, k.map((function (e) { return jn(Co, { language: e, url: e === c ? "#" : h[e], onClick: _, isSelected: e === c, focusedLanguage: s, key: "wg-" + e, focusRef: u, styleOpts: t, legacyFlags: E }) })))) : jn(In, null) }), Lo), Ao = 0, jo = []; function Po(e, t) { if (void 0 === t && (t = document.documentElement), e && !e.ready) { var n = e.style || xt.button_style, r = e.location; void 0 === r && (r = {}); var o = function (e, t) { void 0 === e && (e = {}); var n = e.target, r = e.sibling; if (!n) return { defaultPosition: !0 }; var o = ue(t, n); if (!o.length) return { error: ye(n) ? "The provided target is not on this page." : "The provided target is not a valid CSS selector." }; var a = ue(t, r); if (!r || !a.length) return { targetNode: o[0], siblingNode: null }; var i = Array.from(o), c = Array.from(a), s = null, l = c.find((function (e) { return s = i.find((function (t) { return e.parentNode === t })), !!s })); return l && s ? { targetNode: s, siblingNode: l } : { error: "The provided sibling selector does not belong to target element." } }(r, t), a = o.error, i = o.targetNode, c = o.siblingNode, s = o.defaultPosition; if (!a) { var l = To(Object.assign({}, e, !xt.switcher_editor && { style: n })); if (l.weglotSwitcher = e, jo.push(l), s) return l.classList.add("wg-default"), document.body.appendChild(l), e.ready = !0, l; l.setAttribute("data-switcher-id", String(++Ao)), l.id = "weglot-switcher-" + Ao, l.setAttribute("data-switcher-style-opt", JSON.stringify(n)), i.insertBefore(l, c), e.ready = !0; for (var u = 0, f = t.querySelectorAll(".weglot-container:empty"); u < f.length; u += 1) { _e(f[u]) } return l } M.warn(a, { sendToDatadog: !1 }) } } function Io(e) { var t = e.name, n = e.hash, r = e.interactive; if (void 0 === r && (r = !1), fe(document.documentElement, "script#weglot-switcher-" + t)) return !1; var o = !xt.switcher_editor && n ? t + "." + n : t, a = document.getElementsByTagName("head")[0] || document.documentElement, i = document.createElement("script"); return i.type = "text/javascript", i.src = "https://cdn.weglot.com/switchers/" + o + ".min.js", i.id = "weglot-switcher-" + t, r && i.setAttribute("interactive", "true"), a.insertBefore(i, a.firstChild), !0 } function Ro() { So || Pe("switchersReady", ze()), So = !0, clearTimeout(No), Oo && Oo.parentNode.removeChild(Oo) } function Do(e) { if (void 0 === e && (e = document), !(rn().length < 2 || xt.hide_switcher)) { var t = e.isConnected ? e : document; (function (e) { void 0 === e && (e = document.body); var t = xt.linkHooksConfig && xt.linkHooksConfig.additionalCheckSelectors || []; if (0 !== ue(e, ['a[href^="#Weglot-"]', 'a[href*="change-language.weglot.com/"]'].concat(t).join(",")).length) { for (var n = rn(), r = ze(), o = !1, a = [], i = function () { var t = s[c], n = ue(e, vn(t)); if (0 !== n.length) { o = !0; for (var i = function () { var e = u[l]; e.setAttribute($, ""), e.classList.add("weglot-link", "weglot-link-" + t), t === r && (e.classList.add("weglot-link–active"), xt.linkHooksConfig && xt.linkHooksConfig.onLinkActive && xt.linkHooksConfig.onLinkActive(e)), tt(t, (function (t) { return e.setAttribute("href", t) })), e.addEventListener("click", (function (e) { e.preventDefault(), e.stopPropagation(), ia(t) })) }, l = 0, u = n; l < u.length; l += 1)i(); a.push({ language: t, links: n }) } }, c = 0, s = n; c < s.length; c += 1)i(); return je("languageChanged", (function (e) { for (var t = 0, n = a; t < n.length; t += 1) { var r = n[t], o = r.language, i = r.links; if (o === e) for (var c = 0, s = i; c < s.length; c += 1) { var l = s[c]; l.classList.add("weglot-link–active"), xt.linkHooksConfig && xt.linkHooksConfig.onLinkActive && xt.linkHooksConfig.onLinkActive(l) } else for (var u = 0, f = i; u < f.length; u += 1) { var d = f[u]; d.classList.remove("weglot-link–active"), xt.linkHooksConfig && xt.linkHooksConfig.offLinkActive && xt.linkHooksConfig.offLinkActive(d) } } }), !0), o } })(t) && Ro(); var n = t.querySelectorAll("#weglot_here:not(.weglot-container),.weglot_here:not(.weglot-container)"); if (n.length) { for (var r = 0, o = n; r < o.length; r += 1) { var a = o[r], i = To({ style: xt.button_style }); i.classList.add("weglot_here"), a.parentNode.insertBefore(i, a), _e(a) } Ro() } for (var c = 0, s = xt.switchers; c < s.length; c += 1) { var l = s[c]; if (!l.default) { var u = l.template; if (u) { if (u.name) { if (!Io(u)) { var f = window.Weglot.switchers && window.Weglot.switchers[u.name]; f && f.addSwitchers(t) } Ro() } } else Po(l, t) && Ro() } } if (!So && !Oo) { var d = xt.switchers.find((function (e) { return e.default })) || { style: xt.button_style }; No = setTimeout((function () { Oo = Po(d), Pe("switchersReady", ze()) })) } } } je("onCurrentLocationChanged", (function () { jo.forEach((function (e) { return e.parentNode && e.parentNode.removeChild(e) })), jo.splice(0), function () { for (var e = window.Weglot.switchers || {}, t = 0, n = Object.keys(e); t < n.length; t += 1)e[n[t]].removeSwitchers() }(), So = null, Oo = null, Ao = 0, xt.button_style.ready = !1, xt.switchers.map((function (e) { return e.ready = !1 })), Do() }), !0); var Wo = 0; function Uo() { var e = ["name", "value"]; xt.translate_event.forEach((function (t) { for (var n = ue(document.body, t.selector), r = function () { var n = a[o]; if (n.alreadyListeningEventInput) return !n.alreadyListeningEventInput.isConnected && Wo < 10 && (Wo++, n.parentNode.insertBefore(n.alreadyListeningEventInput, n.nextSibling)), {}; var r = n.cloneNode(!0); if (!r) return {}; r.name = "", n.alreadyListeningEventInput = r, n.parentNode.insertBefore(r, n.nextSibling), n.style.display = "none", new MutationObserver((function (t) { for (var o = 0, a = t; o < a.length; o += 1) { var i = a[o], c = n.getAttribute(i.attributeName); e.includes(i.attributeName) && r.setAttribute(i.attributeName, c) } })).observe(n, { attributes: !0 }); var i = Ee((function (e) { 13 === e.keyCode && e.target.form ? e.target.form.dispatchEvent(new Event("submit")) : gn(e.target.value, (function (e) { Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value").set.call(n, e); var r = t.eventName || n.getAttribute("data-wg-translate-event"), o = document.createEvent("HTMLEvents"); o.initEvent("focus", !0, !1), n.dispatchEvent(o), o.initEvent(r, !0, !1), n.dispatchEvent(o) })) }), 400); r.addEventListener("keydown", i) }, o = 0, a = n; o < a.length; o += 1) { var i = r(); if (i) return i.v } })) } try { var Ho = Element.prototype.attachShadow; Element.prototype.attachShadow = function (e) { var t = Ho.call(this, e); return Mo([this]), t } } catch (mr) { } function Mo(e) { if (xt.translate_shadow_roots) { e || (e = ue(document, xt.dynamics.map((function (e) { return e.value })).join(","))); for (var t = 0, n = e; t < n.length; t += 1) { var r = n[t]; if (r.shadowRoot && !r.shadowRoot.wgTranslated) { r.shadowRoot.wgTranslated = !0, Ko(r.shadowRoot); var o = Ft(r.shadowRoot); o.length && ($t(o), na(o)) } } } } var qo, zo = null, Fo = [], Bo = [$, "class", "id"], $o = [], Vo = []; function Go(e, t) { qo && clearTimeout(qo); for (var n = 0, r = t; n < r.length; n += 1) { var o = r[n]; 1 === o.nodeType && Fo.push(o) } Fo.length && (qo = setTimeout((function () { Do(e), Uo(), xt.subdomain && function (e) { var t = window.location.hostname; if (-1 !== [xt.host].concat(l).indexOf(t)) return; for (var n = 0, r = e; n < r.length; n += 1)for (var o = r[n], a = 0, i = ue(o, "[href]"); a < i.length; a += 1) { var c = i[a]; if (!v(c)) { var s = c.getAttribute("href"); s && s.includes("//" + xt.host) && c.setAttribute("href", s.replace(xt.host, t)) } } }(Fo), xt.proxify_iframes && xt.proxify_iframes.length && Fo.forEach((function (e) { return pn({ node: e }) })), Mo(Fo), Oe("onDynamicDetected"), Fo = [] }), 100)) } function Jo(e, t) { var n = xt.dynamics, r = Xo; t !== document ? r = function () { return !0 } : n && 0 !== n.length || (r = function () { return !1 }); try { if (nn()) return; if (e = function (e, t) { var n = [], r = e.filter((function (e) { var r = e.addedNodes, o = e.type, a = e.target; "attributes" === o && function (e) { "IMG" === e.nodeName && e.srcset && e.dataset.wgtranslated && (e.setAttribute("wgsrcset", e.srcset), e.srcset = "") }(a); var i = function (e) { do { if (e.weglot && e.weglot.setted) return e; e = e.parentElement || e.parentNode } while (e) }(a); return i ? (n.push(i), !1) : r.length ? (setTimeout((function () { return Go(a, r) })), !zo || !a || !de(a, zo)) : !Bo.includes(e.attributeName) && t(a) && ("characterData" === o || "attributes" === o) })); if (n.length) for (var o = 0, a = n; o 20 }(n) && t(n) })), a = 0, i = o; a < i.length; a += 1) { var c = i[a]; xt.ignoreDynamicFragments && !document.body.contains(c) || (c.weglot.dynamic || (c.weglot.dynamic = 0), c.weglot.dynamic++, r.push(c)) } } }, a = [], i = 0, c = e; i 1 ? u : f[0]; if (a.includes(d)) break; if (o(d), a.push(d), !n) break; for (var g = 0, _ = f; g < _.length; g += 1) { var p = _[g], h = []; "IFRAME" === p.tagName ? h = [p] : p.querySelectorAll && (h = p.querySelectorAll("iframe")); for (var m = 0; m Date.now() – 1e3 })), ta.times.length && (ta.timeout || ta.times.length >= 10)) return ta.nodes = ta.nodes.concat(e), void (ta.timeout = setTimeout((function () { return na() }), 1e3)); ta.timeout = null, ta.times.push(Date.now()); var n = ta.nodes.concat(e); return ta.nodes = [], dn(Vt(n), t, { title: !1, cdn: !0, nodes: n }).then((function (e) { return Gt(e, t, n) })) } } function ra() { var e = ge(“wg_progress”).firstElementChild, t = e.getAttribute(“aria-valuenow”), n = parseInt(t) + (4 * Math.random() + 2); n 0) for (var r = function () { var e = a[o], t = e.mutations, n = e.documentElement, r = function () { var e = t.splice(0, 100); e.length > 0 && (Jo(e, n), setTimeout(r, 0)) }; r() }, o = 0, a = $o; o < a.length; o += 1)r(); else $o = [] }() : function () { if (0 !== Vo.length) { for (var e = 0, t = Vo; e < t.length; e += 1)t[e].disconnect(); $o = [] } }(), n || o) ca(e); else if (xt.is_connect && !o && Oe("onConnectPageLoad", e), xt.force_translation) { for (var a = [], i = 0, c = r; i < c.length; i += 1) { var s = c[i]; (s.closest && s.closest(xt.force_translation) || !s.closest && s.parentNode && s.parentNode.closest && s.parentNode.closest(xt.force_translation)) && a.push(s) } na(a) } o && !o.language_button_displayed && o.allExcluded || Do(), o || (xt.remove_unused_link_hooks && function () { var e = rn(), t = xt.languages.map((function (e) { return e.custom_code || e.language_to })).filter((function (t) { return !e.includes(t) })); 1 === e.length && t.push(xt.language_from); for (var n = t.map((function (e) { return vn(e) })).join(","), r = 0, o = ue(document, n); r < o.length; r += 1)_e(o[r]) }(), Mo(), Uo(), function () { window.addEventListener("message", mn, !1); var e = xt.translate_iframes; if (e) for (var t = 0, n = ue(document.body, e); t < n.length; t += 1) { var r = n[t]; r.contentWindow && _n.push(r.contentWindow) } pn({}), Se("onPageLanguageSet", hn), "with-window-top" === me() && window.top.postMessage({ message: "Weglot.iframe" }, "*") }(), ["alert"].forEach((function (e) { var t = window[e]; window[e] = function () { var e = arguments; if ("string" == typeof arguments[0]) { var n = ze(); return xt.language_from === n ? t.apply(window, arguments) : dn([{ t: 2, w: arguments[0] }], n, { title: !1, cdn: !0 }).then((function (n) { return e[0] = n.to_words[0], t.apply(window, e) })) } } }))), Pe("initialized", e) } } function ia(e) { var t = ze(); e !== t && (xt.visual_editor ? tt(e, (function (n) { if ("#" === n) return ca(e, t); window.dispatchEvent(new CustomEvent("veLanguageChangeUrl", { detail: { targetUrl: n } })) })) : ca(e, t)) } function ca(e, t) { if (!rn().includes(e)) return fn(), void M.warn(e + " isn't a language you have added", { sendToDatadog: !1 }); xt.auto_switch && sn(e); var n = nn(); if (xt.is_connect || n || un(e), !sa(e)) { if (xt.loading_bar) var r = function () { try { var e = document.createElement("div"); return e.className = "wg-progress", e.id = "wg_progress", e.innerHTML = '

    ]]>

    ‘, document.body.appendChild(e), setInterval(ra, 100) } catch (e) { } }(); if (function (e) { var t = he(“lang”); if (t && t !== e) { var n = window.location.search.replace(“lang=” + t, “lang=” + e); try { window.history.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), document.documentElement.setAttribute(“lang”, e), void Pe(“languageChanged”, e, t || “”); dn(Vt(), e).then((function (n) { fn(), Gt(n, e), document.documentElement.setAttribute(“lang”, e), Pe(“languageChanged”, e, t || “”), xt.loading_bar && oa(r) })).catch((function (e) { throw xt.loading_bar && oa(r), fn(), Ve().removeItem(F), e })), Oe(“onPageLanguageSet”, e) } } function sa(e) { return !(!xt.is_connect || ze() === e) && (!xt.host || xt.previewHash && window.location.hostname.includes(z) || function () { if (xt.subdirectory) return [xt.host].concat(l); return xt.languages.map((function (e) { return e.connect_host_destination && e.connect_host_destination.host })).concat([xt.host].concat(l)) }().includes(window.location.hostname) ? (tt(e, (function (e) { return window.location.replace(e) })), !0) : (me() || M.warn(‘”‘ + window.location.hostname + ‘” is not configured with Weglot. Please contact support@weglot.com’, { sendToDatadog: !1 }), !1)) } je(“initialized”, (function () { xt.translate_search && !xt.switcher_editor && function () { var e = xt.search_forms, t = xt.search_parameter; if (t) { for (var n = 0, r = ue(document, e); n < r.length; n += 1) { var o = r[n]; o.addEventListener(“submit”, (function (e) { e.preventDefault(); var n = e.target.elements[t].value; gn(n, (function (e) { Le.set(“wg-search-form”, n), o.elements[t].value = e, o.submit() })) })); var a = void 0; -1 !== window.location.search.indexOf(t + “=”) && o.elements && o.elements[t] && (a = Le.get(“wg-search-form”)) && (o.elements[t].value = a) } Le.erase(“wg-search-form”) } else M.warn(“Search parameter name required for search translation.”, { sendToDatadog: !1 }) }() }), !0); var la = !1; function ua() { window.addEventListener(“message”, ga, !1); var e = document.createElement(“meta”); e.name = “google”, e.content = “notranslate”, document.head && document.head.appendChild(e); document.documentElement && -1 === [“cms.e.jimdo.com”, “proxy.weglot.com”].indexOf(window.location.host) && document.documentElement.setAttribute(“translate”, “no”); var t = document.head.querySelector(“link[href*=weglot_shopify]”); t && document.head.removeChild(t) } function fa() { if (xt.api_key) { je(“initialized”, (function () { xt.page_views_enabled && (xt.is_connect ? tt(xt.language_from, (function (e) { return Zt(e) })) : Zt()) }), !0); try { H(document, xt) } catch (e) { M.error(e) } if (Oe(“onWeglotSetup”), !pa.initialized || window.Turbolinks) { Qo = function () { var e = rn(); if (xt.is_connect) { var t = document.documentElement.dataset.wgTranslated || (xt.subdirectory ? qe() : Me()); if (t !== xt.language_from) return t; if (xt.technology_name === J) { if (Le.get(“wg_checkout_redirect”)) return xt.language_from; var n = Le.get(“wg_checkout_language”); if (n && !xt.shopifyCheckout && !me() && e.includes(n)) return Le.erase(“wg_checkout_language”), n } var r = cn(); return t === xt.language_from && r && e.includes(r) ? r : xt.language_from } var o = he(“lang”); if (o && e.includes(o)) return la = !0, o; var a = ln(); if (a && e.includes(a)) return a; var i = cn(); if (i && e.includes(i)) return la = !0, i; return xt.language_from }(), ze(); var e = nn(); if ((ea = Qo && Qo !== xt.language_from && document.documentElement.dataset.wgTranslated !== Qo && !e && !document.documentElement.dataset.wgExcludedUrl && !xt.switcher_editor) && xt.wait_transition ? ve(“@keyframes wg{from{color:transparent;}to{color:transparent;}}body *{color:transparent!important;animation:1s linear infinite wg!important;}”, B) : fn(), xt.delayStart) return je(“start”, (function () { return da() }), !0); ke(da) } } } function da() { if (!document.querySelector(“#has-script-tags”) || document.querySelector(“#has-script-tags”) && (document.head.innerHTML.indexOf(“weglot_script_tag”) > 0 || document.documentElement.innerHTML.indexOf(“weglot_script_tag”) > 0)) try { 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 } function ga(e) { if (e.data) try { var t = JSON.parse(e.data); switch (t.message) { case “Weglot.detect”: e.source.postMessage(JSON.stringify({ message: “Weglot.ready”, data: { initialized: pa.initialized, options: xt } }), e.origin); break; case “Weglot.switchTo”: ia(t.language) } } catch (e) { } } function _a(e) { try { 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 < r.length; n += 1) { if (t = r[n].exec(e)) break } if (!t) return null; var o = t[1].split(“&”).map((function (e) { var t = e.split(“=”), n = t[0], r = t[1]; try { return [n, decodeURIComponent(r)] } catch (e) { return [n, r] } })).reduce((function (e, t) { var n, r = t[0], o = t[1]; return Object.assign({}, e, ((n = {})[r] = “true” === o || “false” !== o && o, n)) }), { api_key: “” }); return o.api_key ? o : null } catch (e) { console.log(e), M.warn(e) } } var pa = window.Weglot || { initialized: !1, options: xt, dynamic: “”, switchTo: ia, setup: function (e) { ua(), Zo || (Zo = !0, Ae(Lt(), “polyfillReady”, (function () { bt(e).then((function () { return fa() })).catch((function () { M.warn(“Your setup is deprecated, please save settings in your dashboard to hide this message.”, { sendToDatadog: !1 }); var t = e.api_key; e.translation_engine = t && t.length >= 36 ? 2 : 1, function (e) { try { var t = [“api_key”, “originalLanguage”, “destinationLanguages”]; if (!e || t.some((function (t) { return !e[t] }))) throw { wgErrMsg: “You have to provide at least: ” + t.join(“, “) }; Ct(vt(e)) } catch (e) { throw new Error(e && e.wgErrMsg || “Error while reading Weglot options”) } }(e), fa() })) }))) }, initialize: function (e) { ua(), Zo || (Zo = !0, Ae(Lt(), “polyfillReady”, (function () { bt(e).then((function () { return fa() })) }))) }, on: function (e, t) { return je(e, t, !1) }, off: function (e, t) { var n, r = !1, o = function (t) { return Te[t].name === e && !Te[t].internal }; n = “function” == typeof t ? function (e) { return o(e) && Te[e].callback === t } : function (e) { return o(e) }; for (var a = Te.length – 1; a >= 0; a–)n(a) && (Te.splice(a, 1), r = !0); return r }, getStoredLang: ln, getLanguageName: ao, getCurrentLang: ze, polyReady: Nt, getCache: function () { return jt }, addNodes: function (e) { var t = Ft(e); return $t(t), na(t) }, search: gn, translate: function (e, t) { void 0 === e && (e = {}); var n = e.words, 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((function (e) { return e.w }))), Promise.resolve(n.map((function (e) { return e.w })))) : new Promise((function (e, o) { dn(n, r, { title: !1, cdn: !0 }).then((function (n) { if (!n || !n.to_words) throw n; t && t(n.to_words), e(n.to_words) })).catch((function (e) { o(e), t && t(null, e) })) })) }, getBestAvailableLanguage: an, getAvailableLanguages: rn }; return Ae(Lt(), “polyfillReady”, (function () { Ko(document); for (var e = 0, t = [document.currentScript].concat(Array.from(document.scripts)); e < t.length; e += 1) { var n = t[e], r = n && (n.src || n.getAttribute && n.getAttribute(“data-src”)); if (r) { var o = _a(r); if (o) return void pa.initialize(o) } } })), pa }();
    var Weglot = function () { “use strict”; function e(e) { “loading” !== document.readyState ? e() : document.addEventListener(“DOMContentLoaded”, function () { return e() }) } var t = { ddtags: “env:prod,version:5.80.0”, clientToken: “pub4efaec96ce2494088ba70a2049d58dc3”, site: “datadoghq.com”, version: “5.80.0” }, n = { “dd-api-key”: “pub4efaec96ce2494088ba70a2049d58dc3”, ddsource: “browser” }, r = “prod”; function a(e) { var a = e.service; function o(e, o, i) { var s = “undefined” != typeof window && window && window.Weglot && window.Weglot.options && window.Weglot.options.disable_datadog_logging, l = i.sendToConsole; void 0 === l && (l = !0); var u = i.consoleOverride, c = i.sendToDatadog; if (void 0 === c && (c = !s), c && “dev” !== r && function (e, r, a) { “string” == typeof r && (r = { message: r }); var o = Object.assign({}, r, { service: e, status: a }, “undefined” != typeof window && window && window.location && { view: { url: window.location.href } }, (r.message || r.stack) && { error: { message: r.message, stack: r.stack } }, r.status && { logStatus: r.status }, t); “undefined” != typeof window && window && window.Weglot && window.Weglot.options && (o.projectInfo = [“host”, “api_key”, “url_type”, “technology_name”, “technology_id”, “is_connect”, “auto_switch”].reduce(function (e, t) { var n; return Object.assign({}, e, ((n = {})[t] = window.Weglot.options[t], n)) }, {})); var i = Object.keys(n).map(function (e) { return e + “=” + n[e] }).join(“&”); fetch(“https://http-intake.logs.datadoghq.com/api/v2/logs?” + i, { method: “POST”, body: JSON.stringify(o), headers: { “Content-Type”: “application/json” } }) }(a, e, o), l) { var d = u || e, f = [“notice”, “info”].includes(o) ? “log” : o; console[f](“[Weglot] ” + d) } } var i = function (e) { return function (t, n) { return void 0 === n && (n = {}), o(t, e, n) } }; return { log: i(“info”), info: i(“info”), notice: i(“notice”), warn: i(“warn”), error: i(“error”) } } var o = a({ service: “js-library” }); function i(e) { try { for (var t = null, n = 0, r = [/cdn.weglot.(?:com|us|dev)/weglot.min.js?([^#]+)/, /cdn.weglot.(?:com|us|dev)/weglot_squarespace-[0-9.]+.+min.js?([^#]+)/]; n < r.length; n += 1) { if (t = r[n].exec(e)) break } if (!t) return; var a = t[1].split(“&”).map(function (e) { var t = e.split(“=”), n = t[0], r = t[1]; try { return [n, decodeURIComponent(r)] } catch (e) { return [n, r] } }).reduce(function (e, t) { var n, r = t[0], a = t[1]; return Object.assign({}, e, ((n = {})[r] = “true” === a || “false” !== a && a, n)) }, { api_key: “” }); if (!a.api_key) return; return a } catch (e) { o.warn(e) } } var s = function (e) { return document.getElementById(e) }; function l() { var e = s(“weglot-data”); if (!e) return null; try { return JSON.parse(e.textContent) } catch (e) { return null } } function u(e, t) { var n = document.createElement(“style”), r = s(t); r && c(r), n.id = t, n.type = “text/css”, n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e)), document.head && document.head.appendChild(n) } function c(e) { e && e.parentNode && e.parentNode.removeChild(e) } function d(e) { return “function” == typeof ShadowRoot && e instanceof ShadowRoot } var f = “wgVeExtension”, g = “getCurrentLanguage”, p = “setCurrentLanguage”, h = “languageChanged”, v = “library”, _ = “extension”, m = “proxy.weglot.com”, y = “wg-cgi”, w = “INIT_WORKER”, b = “SET_LANGUAGE”, k = “proxy_internal”, S = “proxy_dedicated”, x = [“reverse_handle_link”, “proxify_link”, “handle_link”, “reverse_translate”, “parse_child”], E = [{ previous: “cb”, new: “ceb” }, { previous: “hm”, new: “hmn” }, { previous: “sa”, new: “sr-latn” }], L = [“regex”, “json”, “form_multipart”, “form_urlencoded”, “url_query”], T = [“WordPress”, “CraftCMS”], A = “preview.weglot.io”, C = “wg-style-trans”, j = “data-wg-notranslate”, O = “proxy.weglot.com”, N = “wg-cgi”, R = “wg-translations”, P = “wg-slugs”, I = { wordpress: { name: “WordPress”, id: 1 }, shopify: { name: “Shopify”, id: 2 }, bigcommerce: { name: “BigCommerce”, id: 3 }, jimdo: { name: “Jimdo”, id: 4 }, squarespace: { name: “Squarespace”, id: 5 }, wix: { name: “Wix”, id: 6 }, weebly: { name: “Weebly”, id: 9 }, drupal: { name: “Drupal”, id: 10 }, other: { name: “Other”, id: 12 }, webflow: { name: “Webflow”, id: 13 }, prestashop: { name: “Prestashop”, id: 14 }, magento: { name: “Magento”, id: 15 }, squareonline: { name: “Square Online”, id: 16 }, bubble: { name: “Bubble”, id: 17 }, salesforce: { name: “Salesforce”, id: 18 } }, D = [“polyfillReady”, “languageChanged”, “initialized”, “start”, “switchersReady”], M = “wglang”, z = { button_style: { full_name: !0, with_name: !0, is_dropdown: !0, with_flags: !1, flag_type: “” }, switchers: [], host: “”, auto_switch: !1, auto_switch_fallback: “”, excluded_blocks: [], excluded_blocks_remove: [], excluded_paths: [], dynamics: [], whitelist: [], inject_weglot_css: !0, translate_event: [{ selector: “[data-wg-translate-event]”, eventName: void 0 }], customer_tag: !1, languages: [], order_tag: !0, wait_transition: !0, hide_switcher: !1, translate_search: !1, media_enabled: !1, search_forms: “”, loading_bar: !0, search_parameter: “”, translation_engine: 2, service_worker: { enabled: !1, path_override: “wg-sw.js” }, override_hreflang: !0 }, W = [“none”, “shiny”, “square”, “circle”, “rectangle_mat”], q = []; function U(e, t, n) { if (e) return n(); F(t, n, !0) } function F(e, t, n) { return void 0 === n && (n = !1), “function” != typeof t ? (o.error(“You should provide a callback function as second argument”, { sendToDatadog: n }), !1) : n || -1 !== D.indexOf(e) ? (q.push({ name: e, callback: t, internal: n }), !0) : (o.error(“No Weglot event is named ” + e, { sendToDatadog: !1 }), !1) } function H(e) { for (var t = [], n = arguments.length – 1; n– > 0;)t[n] = arguments[n + 1]; for (var r = 0, a = q.filter(function (t) { return t.name === e }); r < a.length; r += 1) { var i = a[r]; try { i.callback.apply(i, t) } catch (e) { if (i.internal) throw e; o.error(“Error triggering callback function: ” + e, { sendToDatadog: !1 }) } } } var B = { “Node.prototype.contains”: document.contains, “Element.prototype.cloneNode”: “document” in self && “cloneNode” in document.documentElement, “location.origin”: “location” in self && “origin” in self.location, MutationObserver: “MutationObserver” in self, Promise: “Promise” in self && “resolve” in Promise, “Element.prototype.matches”: “document” in self && “matches” in document.documentElement, “Element.prototype.closest”: “document” in self && “closest” in document.documentElement, “Element.prototype.classList”: “document” in self && “classList” in document.documentElement && function () { var e = document.createElement(“div”); if (!(e.classList && e.classList.add && e.classList.remove && e.classList.contains && e.classList.toggle)) return !1; var t = !0; e.classList.add(“add1”, “add2”), t = t && e.className.indexOf(“add1”) >= 0 && e.className.indexOf(“add2”) >= 0, e.className = “remove1 remove2 remove3”, e.classList.remove(“remove1”, “remove3”), t = t && -1 === e.className.indexOf(“remove1”) && e.className.indexOf(“remove2”) >= 0 && -1 === e.className.indexOf(“remove3”); try { e.remove() } catch (t) { e = null } return t }(), “String.prototype.includes”: “includes” in String.prototype, fetch: “fetch” in self, “Array.prototype.find”: “find” in Array.prototype, “Array.prototype.findIndex”: “findIndex” in Array.prototype, “Object.assign”: “assign” in Object, “Array.prototype.includes”: “includes” in Array.prototype, URL: function (e) { try { var t = new e.URL(“http://weglot.com”); if (“href” in t && “searchParams” in t) { var n = new URL(“http://weglot.com”); if (n.search = “a=1&b=2”, “http://weglot.com/?a=1&b=2” === n.href && (n.search = “”, “http://weglot.com/” === n.href)) { var r = new e.URLSearchParams(“a=1”), a = new e.URLSearchParams(r); if (“a=1” === String(a)) return !0 } } return !1 } catch (e) { return !1 } }(self) }, V = !1; function $() { V = !0, H(“polyfillReady”) } function G() { return V } !function (e) { window.Prototype && (delete Object.prototype.toJSON, delete Array.prototype.toJSON); var t = Object.keys(B).filter(function (e) { return !B[e] }); if (t.length) { !function (e, t, n) { var r = !1; function a() { r || (r = !0, setTimeout(function () { return t(n) }, 20)) } var o = document.getElementsByTagName(“head”)[0] || document.documentElement, i = document.createElement(“script”); i.type = “text/javascript”, i.src = e, i.addEventListener ? (i.addEventListener(“load”, a, !1), i.addEventListener(“error”, a, !1)) : i.readyState && (i.onreadystatechange = a), o.insertBefore(i, o.firstChild) }(“https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0&callback=Weglot.polyReady&features=” + t.join(“,”), function () { }) } else e() }($); var K = {}; function J(e) { Object.assign(K, e) } var X = function () { try { return JSON.parse(‘{“TRANSLATION”:”translations.weglot.io”,”SWITCHER”:”switchers.weglot.io”,”EXCLUSION”:”exclusions.weglot.io”,”DEFINITION”:”definitions.weglot.io”}’) } catch (e) { return {} } }(), Y = Object.keys(X).map(function (e) { return X[e] }); function Q(e) { for (var t = 0, n = Y; t < n.length; t += 1) { var r = n[t]; if (-1 !== e.indexOf(r)) return !0 } return !1 } var Z = { excluded_blocks: [], excluded_attributes: [], media_enabled: !1, external_enabled: !1, extra_definitions: [], translation_engine: 2, noTranslateAttribute: “data-wg-notranslate”, mergeNodes: [] }, ee = a({ service: “html-parser-engine” }); function te(e, t, n) { var r = t && t[e]; if (r && r.textContent === t.textContent) return r.result; var a = n(t); return t ? (t[e] = { result: a, textContent: t.textContent }, a) : a } function ne(e) { return te(“__validMergeNodes”, e, function (e) { return e && oe(e) && re(e) && !function (e) { return te(“__containsNoTranslateNodes”, e, function (e) { return 1 === e.nodeType && (!!e.querySelector(“[” + Z.noTranslateAttribute + “]”) || ie(e)) }) }(e) }) } function re(e, t) { return void 0 === t && (t = !0), te(“__validTextNodes”, e, function (e) { return !(!e.textContent || t && !e.textContent.trim() || -1 !== e.textContent.indexOf(“BESbswy”) || e.parentNode && e.parentNode.nodeName && -1 !== [“script”, “style”, “noscript”, “textarea”].indexOf(e.parentNode.nodeName.toLowerCase()) || function (e) { if (!(e = e.trim())) return !1; var t = e.charAt(0); if (“[” !== t && “{” !== t) return !1; var n = e[e.length – 1]; if (“]” !== n && “}” !== n) return !1; return e = e.replace(/\(?:[“\/bfnrt]|u[0-9a-fA-F]{4})/g, “@”).replace(/”[^”\nr]*”|true|false|null|-?d+(?:.d*)?(?:[eE][+-]?d+)?/g, “]”).replace(/(?:^|:|,)(?:s*[)+/g, “”), /^[],:{}s]*$/.test(e) }(e.textContent)) }) } function ae(e) { try { if (Z.mergedSelectorRemove && fe(e.closest ? e : e.parentNode, Z.mergedSelectorRemove)) return !1 } catch (e) { } return !(!Z.mergeNodes || -1 === Z.mergeNodes.indexOf(e.nodeName)) || (e.dataset && void 0 !== e.dataset.wgMerge || Z.selectorMerging && e.matches && e.matches(Z.selectorMerging)) } function oe(e) { return te(“__onlyInlineChildsNodes”, e, function (e) { if (!e.childNodes) return !0; for (var t = 0, n = e.childNodes; t < n.length; t += 1) { var r = n[t]; if (r.weglot || !ae(r) || !oe(r)) return !1 } return !0 }) } function ie(e) { if (!e.children) return !1; for (var t = 0, n = e.children; t < n.length; t += 1) { var r = n[t]; if (“wgNoTranslate” in r && r.wgNoTranslate || ie(r)) return !0 } return !1 } function se(e) { return !!e && (!(!(“wgNoTranslate” in e) || !e.wgNoTranslate) || se(e.parentNode)) } function le(e) { if (!e) return !1; var t = e.closest ? e : e.parentNode; return !(!t || !fe(t, “[” + Z.noTranslateAttribute + “]”)) || se(e) } var ue = function (e, t) { return function (n, r) { try { if (!n) return t; var a = r; return -1 !== a.indexOf(“:”) && (a = a.replace(/([^\]):/g, “$1\:”)), n[e] ? n[e](a) : t } catch (a) { try { return n[e] ? n[e](r) : t } catch (e) { ee.warn(e, { consoleOverride: “Your CSS rules are incorrect: ” + r, sendToDatadog: !1 }) } } return t } }, ce = ue(“querySelectorAll”, []), de = ue(“matches”, !1), fe = ue(“closest”, null); function ge(e) { return e.indexOf(“<“) > -1 && e.indexOf(“>”) > -1 } function pe(e) { var t = e.style.backgroundImage ? “background-image” : “background”; if (!e.style[t]) return “”; var n = e.style[t].match(/url(([‘”]?)(.*?)1)/); return n && n[2] ? n[2] : “” } function he(e, t, n) { var r = e.style.backgroundImage ? “background-image” : “background”; e.style[r] = e.style[r].replace(t, n) } var ve = {}; !function (e) { var t = function () { try { return !!Symbol.iterator } catch (e) { return !1 } }(), n = function (e) { var n = { next: function () { var t = e.shift(); return { done: void 0 === t, value: t } } }; return t && (n[Symbol.iterator] = function () { return n }), n }, r = function (e) { try { return encodeURIComponent(e).replace(/%20/g, “+”) } catch (t) { return e } }, a = function (e) { try { return decodeURIComponent(String(e).replace(/+/g, ” “)) } catch (t) { return e } }; (function () { try { var t = e.URLSearchParams; return “a=1” === new t(“?a=1”).toString() && “function” == typeof t.prototype.set && “function” == typeof t.prototype.entries } catch (e) { return !1 } })() || function () { var a = function (e) { Object.defineProperty(this, “_entries”, { writable: !0, value: {} }); var t = typeof e; if (“undefined” === t); else if (“string” === t) “” !== e && this._fromString(e); else if (e instanceof a) { var n = this; e.forEach(function (e, t) { n.append(t, e) }) } else { if (null === e || “object” !== t) throw new TypeError(“Unsupported input’s type for URLSearchParams”); if (“[object Array]” === Object.prototype.toString.call(e)) for (var r = 0; r < e.length; r++) { var o = e[r]; if (“[object Array]” !== Object.prototype.toString.call(o) && 2 === o.length) throw new TypeError(“Expected [string, any] as entry at index ” + r + ” of URLSearchParams’s input”); this.append(o[0], o[1]) } else for (var i = 0, s = Object.keys(e); i < s.length; i += 1) { var l = s[i]; this.append(l, e[l]) } } }, o = a.prototype; o.append = function (e, t) { e in this._entries ? this._entries[e].push(String(t)) : this._entries[e] = [String(t)] }, o.delete = function (e) { delete this._entries[e] }, o.get = function (e) { return e in this._entries ? this._entries[e][0] : null }, o.getAll = function (e) { return e in this._entries ? this._entries[e].slice(0) : [] }, o.has = function (e) { return e in this._entries }, o.set = function (e, t) { this._entries[e] = [String(t)] }, o.forEach = function (e, t) { for (var n, r = 0, a = Object.keys(this._entries); r < a.length; r += 1) { var o = a[r]; n = this._entries[o]; for (var i = 0; i < n.length; i++)e.call(t, n[i], o, this) } }, o.keys = function () { var e = []; return this.forEach(function (t, n) { e.push(n) }), n(e) }, o.values = function () { var e = []; return this.forEach(function (t) { e.push(t) }), n(e) }, o.entries = function () { var e = []; return this.forEach(function (t, n) { e.push([n, t]) }), n(e) }, t && (o[Symbol.iterator] = o.entries), o.toString = function () { var e = []; return this.forEach(function (t, n) { e.push(r(n) + “=” + r(t)) }), e.join(“&”) }, e.URLSearchParams = a }(); var o = e.URLSearchParams.prototype; “function” != typeof o.sort && (o.sort = function () { var e = this, t = []; this.forEach(function (n, r) { t.push([r, n]), e._entries || e.delete(r) }), t.sort(function (e, t) { return e[0] < t[0] ? -1 : e[0] > t[0] ? 1 : 0 }), e._entries && (e._entries = {}); for (var n = 0; n < t.length; n++)this.append(t[n][0], t[n][1]) }), “function” != typeof o._fromString && Object.defineProperty(o, “_fromString”, { enumerable: !1, configurable: !1, writable: !1, value: function (e) { if (this._entries) this._entries = {}; else { var t = []; this.forEach(function (e, n) { t.push(n) }); for (var n = 0; n < t.length; n++)this.delete(t[n]) } for (var r, o = (e = e.replace(/^?/, “”)).split(“&”), i = 0; i < o.length; i++)r = o[i].split(“=”), this.append(a(r[0]), r.length > 1 ? a(r[1]) : “”) } }) }(ve), function (e) { if (function () { try { var t = new e.URL(“b”, “http://a”); return t.pathname = “c d”, “http://a/c%20d” === t.href && t.searchParams } catch (e) { return !1 } }() || function () { var t = e.URL, n = function (t, n) { “string” != typeof t && (t = String(t)), n && “string” != typeof n && (n = String(n)), 0 === t.indexOf(“blob:http”) && (t = t.replace(“blob:http”, “http”)); var r, a = document; if (n && (void 0 === e.location || n !== e.location.href)) { n = n.toLowerCase(), (r = (a = document.implementation.createHTMLDocument(“”)).createElement(“base”)).href = n, a.head.appendChild(r); try { if (0 !== r.href.indexOf(n)) throw new Error(r.href) } catch (e) { throw new Error(“URL unable to set base ” + n + ” due to ” + e) } } var o = a.createElement(“a”); o.href = t, r && (a.body.appendChild(o), o.href = o.href); var i = a.createElement(“input”); if (i.type = “url”, i.value = t, “:” === o.protocol || !/:/.test(o.href) || !i.checkValidity() && !n) throw new TypeError(“Invalid URL: ” + t); Object.defineProperty(this, “_anchorElement”, { value: o }); var s = new e.URLSearchParams(this.search), l = !0, u = !0, c = this;[“append”, “delete”, “set”].forEach(function (e) { var t = s[e]; s[e] = function () { t.apply(s, arguments), l && (u = !1, c.search = s.toString(), u = !0) } }), Object.defineProperty(this, “searchParams”, { value: s, enumerable: !0 }); var d = void 0; Object.defineProperty(this, “_updateSearchParams”, { enumerable: !1, configurable: !1, writable: !1, value: function () { this.search !== d && (d = this.search, u && (l = !1, this.searchParams._fromString(this.search), l = !0)) } }) }, r = n.prototype;[“hash”, “host”, “hostname”, “port”, “protocol”].forEach(function (e) { !function (e) { Object.defineProperty(r, e, { get: function () { return this._anchorElement[e] }, set: function (t) { this._anchorElement[e] = t }, enumerable: !0 }) }(e) }), Object.defineProperty(r, “search”, { get: function () { return this._anchorElement.search }, set: function (e) { this._anchorElement.search = e, this._updateSearchParams() }, enumerable: !0 }), Object.defineProperties(r, { toString: { get: function () { var e = this; return function () { return e.href } } }, href: { get: function () { return this._anchorElement.href.replace(/?$/, “”) }, set: function (e) { this._anchorElement.href = e, this._updateSearchParams() }, enumerable: !0 }, pathname: { get: function () { return this._anchorElement.pathname.replace(/(^/?)/, “/”) }, set: function (e) { this._anchorElement.pathname = e }, enumerable: !0 }, origin: { get: function () { var e = { “http:”: 80, “https:”: 443, “ftp:”: 21 }[this._anchorElement.protocol], t = this._anchorElement.port != e && “” !== this._anchorElement.port; return this._anchorElement.protocol + “//” + this._anchorElement.hostname + (t ? “:” + this._anchorElement.port : “”) }, enumerable: !0 }, password: { get: function () { return “” }, set: function () { }, enumerable: !0 }, username: { get: function () { return “” }, set: function () { }, enumerable: !0 } }), n.createObjectURL = function () { return t.createObjectURL.apply(t, arguments) }, n.revokeObjectURL = function () { return t.revokeObjectURL.apply(t, arguments) }, e.URL = n }(), void 0 !== e.location && !(“origin” in e.location)) { var t = function () { return e.location.protocol + “//” + e.location.hostname + (e.location.port ? “:” + e.location.port : “”) }; try { Object.defineProperty(e.location, “origin”, { get: t, enumerable: !0 }) } catch (n) { setInterval(function () { e.location.origin = t() }, 100) } } }(ve); var _e = ve.URL, me = function (e, t) { return function (n, r) { if (!n || !n[e] || !r) return t; try { return n[e](r) } catch (e) { o.error(e, { consoleOverride: “The CSS selectors that you provided are incorrect: ” + r, sendToDatadog: !1 }) } return t } }, ye = me(“querySelectorAll”, []), we = me(“querySelector”, null), be = me(“closest”, null); function ke(e) { e = “” + e; return [“”, “&”, “””, “<“, “>”].some(function (t) { return -1 !== e.indexOf(t) }) ? e.replace(//g, ” “).replace(/&/g, “&”).replace(/”/g, ‘”‘).replace(//g, “>”) : e } function Se(e) { return e && e.replace && e.replace(/wg-(d+)=””(s*)/(s*)>/g, ‘wg-$1=””>’) } function xe(e) { var t = window.location.search.slice(1).split(“&”).map(function (e) { return e && e.split(“=”) }).find(function (t) { return t[0] === e }); return t && t[1] } function Ee() { try { if (window.frameElement || window.self !== window.top) return “with-window-top” } catch (e) { return “no-window-top” } } var Le = function () { return /google|facebook|bing|yahoo|baidu|yandex|lighthouse/i.test(navigator.userAgent) }; function Te(e) { try { document.createDocumentFragment().querySelector(e) } catch (e) { return !1 } return !0 } function Ae(e, t, n) { var r = new _e(e, location.href); return r.searchParams.set(t, n), e.match(/^(https?:)?///) ? r.href : “” + r.pathname + r.search } var Ce = function (e, t) { var n; return void 0 === t && (t = 1e3), function () { for (var r = this, a = [], o = arguments.length; o–;)a[o] = arguments[o]; clearTimeout(n), n = setTimeout(function () { e.apply(r, a) }, t) } }; function je(e) { return !!e && T.includes(e) } function Oe() { if (!Q(window.location.hostname) || !document.baseURI) { var e = window.location; return { url: e.href, hostname: e.hostname, pathname: e.pathname, search: e.search } } var t = l(); if (t && t.editorCurrentURL) { var n = new _e(t.editorCurrentURL), r = n.hostname, a = n.pathname, i = n.search; return { url: document.baseURI, hostname: r, pathname: a, search: i } } o.error(“Problem finding editor page location”, { sendToConsole: !1 }); var s = new _e(document.baseURI), u = s.hostname, c = s.pathname, d = s.search; return { url: document.baseURI, hostname: u, pathname: c, search: d } } function Ne(e) { return e.custom_code || e.language_to } U(K && Object.keys(K).length > 0, “onOptionsReady”, function () { if (K.dynamicPushState) { var e = history.pushState; history.pushState = function () { for (var t = [], n = arguments.length; n–;)t[n] = arguments[n]; e.apply(history, t), H(“onCurrentLocationChanged”) } } }); var Re, Pe = function (e) { var t = this, n = e.pathname, r = e.options; this.detectedLanguage = null, this.translationRegex = null, this.advancedMode = !1, this.convertLocale = function (e, n, r, a) { return void 0 === n && (n = t.pathname), void 0 === r && (r = t.language || t.options.language_from), void 0 === a && (a = null), t.advancedMode ? t.advancedConvertLocale(e, n, r) : t.standardConvertLocale(e, n, r, a) }, this.options = r, this.pathname = n, this.setAdvancedLocaleRule(), this.localeRule || this.setLocaleRule() }; function Ie(e) { return new Pe({ options: K, pathname: e || Oe().pathname }) } function De() { var e = Oe().hostname, t = K.languages.find(function (t) { return t.connect_host_destination && t.connect_host_destination.host === e }); return t ? t.custom_code || t.language_to : K.language_from } function Me() { return Ie().language } function ze() { var e = l(), t = K.languages || [], n = e && “current_language” in e && e.current_language || document.documentElement && document.documentElement.getAttribute(“lang”); if (!n) return null; if (n === K.language_from) return K.language_from; var r = t.find(function (e) { return e.language_to === n || e.custom_code === n }); return r ? r.custom_code || r.language_to : null } function We() { if (Re) return Re; if (K.is_connect) { var e = document.documentElement.dataset.wgTranslated; return e ? (Re = e, e) : Re = K.subdirectory ? Me() : De() } if (je(K.technology_name)) { var t = ze(); if (t) return Re = t, t } return Re = K.language_from } function qe(e) { var t = K.dynamics.concat(K.excluded_blocks || []).map(function (e) { return e.value }).join(“,”), n = He(e); return n ? qe(n) : (e.closest || (e = e.parentNode), !!be(e, t) || !!de(e, t) || !!we(e, t)) } function Ue(e) { if (!K.dynamics || !K.dynamics.length || !e) return !1; if (!e.closest) return Ue(e.parentNode); var t = !!be(e, K.dynamics.map(function (e) { return e.value }).join(“, “)); if (!t) { var n = He(e); if (n) return Ue(n) } return t } function Fe(e) { if (e && !e.closest && (e = e.parentNode), !e) return “unknown”; for (var t = 0, n = K.dynamics || []; t < n.length; t += 1) { var r = n[t]; if (be(e, r.value)) return r.value } var a = He(e); return a ? Fe(a) : “unknown” } function He(e) { var t, n = null === (t = e.getRootNode) || void 0 === t ? void 0 : t.call(e); return (null == n ? void 0 : n.host) ? n.host : null } function Be(e, t) { if (e && e.toLowerCase) { var n = e.toLowerCase(), r = t.languages.find(function (e) { var t = e.language_to, r = e.custom_code; return t === n || (r ? r.toLowerCase() === n : void 0) }); return r ? r.language_to : e } } function Ve(e) { return { START_WITH: function (t) { return 0 === e.indexOf(t) }, NOT_START_WITH: function (t) { return 0 !== e.indexOf(t) }, END_WITH: function (t) { return -1 !== e.indexOf(t, e.length – t.length) }, NOT_END_WITH: function (t) { return -1 === e.indexOf(t, e.length – t.length) }, CONTAIN: function (t) { return -1 !== e.indexOf(t) }, NOT_CONTAIN: function (t) { return -1 === e.indexOf(t) }, IS_EXACTLY: function (t) { return e === t }, NOT_IS_EXACTLY: function (t) { return e !== t }, MATCH_REGEX: function (t) { try { return new RegExp(t, “i”).test(e) } catch (e) { return o.warn(e, { consoleOverride: t + ” is an invalid regex”, sendToDatadog: !1 }), !1 } } } } Pe.prototype.setAdvancedLocaleRule = function () { var e, t = this, n = this.options, r = n.locale_rules_regex; void 0 === r && (r = []); var a = n.languages, o = n.language_from; if (r.length) { var i = void 0, s = null, l = void 0, u = r.find(function (e) { try { var n = e.detection, r = e.detectionMap; if (r && (l = Object.keys(r).find(function (e) { return e !== o && !!t.pathname.match(new RegExp(r[e])) }))) return !0; var u = a.map(function (e) { return Ne(e) }).join(“|”), c = n.replace(/CODE/g, u), d = new RegExp(c); if (s = t.pathname.match(d)) return i = c, !0; var f = null == r ? void 0 : r[o]; if (void 0 !== f && t.pathname.match(new RegExp(f))) return l = o, !0 } catch (e) { } return !1 }); if (u) { this.advancedMode = !0; var c = l || (null === (e = s.groups) || void 0 === e ? void 0 : e.code); this.localeRule = Object.assign({}, u, { detection: i || u.detection }), this.detectedLanguage = c && a.find(function (e) { return Ne(e) === c }) ? c : null, this.language = this.detectedLanguage || this.options.language_from } } }, Pe.prototype.advancedConvertLocale = function (e, t, n) { if (void 0 === t && (t = this.pathname), !t.startsWith(“/”) || n === e) return t; var r = this.localeRule, a = r.detection, o = r.detectionMap, i = r.rewrite, s = r.rewriteMap, l = this.options.languages.find(function (e) { return e.language_to === n }), u = (null == l ? void 0 : l.custom_code) || n, c = null == o ? void 0 : o[u], d = void 0 !== c ? c : a, f = (null == s ? void 0 : s[e]) || i.replace(/CODE/g, e), g = new RegExp(d); return t.replace(g, f) }, Pe.prototype.getRegexPositions = function (e) { var t = 1; return e.replace(/((.*?))/g, function () { return “$” + t++ }) }, Pe.prototype.setLocaleRule = function () { var e = this, t = this.options, n = t.localeRules; void 0 === n && (n = []); var r = t.languages, a = { position: 0, translatedFormat: “CODE”, originalFormat: “”, addedByDefault: !0 }, o = this.options.language_from; if (n.length) { var i = []; n.map(function (e) { var t = e.position, n = e.translatedFormat; n && “CODE” !== n && i.push(t || 0) }); var s = i.filter(function (e, t, n) { return n.indexOf(e) === t }).map(function (e) { return Object.assign({}, a, { position: e }) }); n.unshift.apply(n, s) } else n.push(a); var l = n.find(function (t) { var n = t.position; void 0 === n && (n = 0); var a = t.translatedFormat; void 0 === a && (a = “CODE”); var i = t.originalFormat; void 0 === i && (i = “”); var s = t.addedByDefault; if (!a.includes(“CODE”)) return !1; var l = e.pathname.split(“/”); if (l.length <= n) return !1; var u = l[n + 1], c = r.find(function (t) { var n = Ne(t), r = a.replace(“CODE”, n), o = new RegExp(“^” + r + “$”, “g”); return !!o.test(u) && (e.translationRegex = o, !0) }); if (c) return e.detectedLanguage = Ne(c), !0; if (i) { var d = i.replace(“CODE”, o); return new RegExp(“^” + d + “$”, “g”).test(u) } return !s }); this.localeRule = l || a, this.language = this.detectedLanguage || o }, Pe.prototype.standardConvertLocale = function (e, t, n, r) { void 0 === t && (t = this.pathname), void 0 === r && (r = null); var a = this.options.language_from, o = this.options.prevent_default_locale_rule; void 0 === o && (o = !1); var i = this.localeRule; if (!t.startsWith(“/”) || i.addedByDefault && o || n === e) return t; var s = i.position; void 0 === s && (s = 0); var l = i.originalFormat; void 0 === l && (l = “”); var u = i.translatedFormat; void 0 === u && (u = “CODE”); var c = t.split(“/”); if (c.length <= s) return t; var d = c[s + 1]; if (n === a) { var f = u.replace(/CODE/g, e), g = !1; if (l) { var p = l.replace(/CODE/g, a), h = new RegExp(“^” + p + “$”, “g”), v = this.getRegexPositions(f); f = d.replace(h, v), r && !h.test(d) && (g = !0, f = r.split(“/”)[s + 1]) } var _ = l && !g ? 2 : 1; return c.slice(0, s + 1).concat([f], c.slice(s + _)).join(“/”) } if (e === a && !l) return c.slice(0, s + 1).concat(c.slice(s + 2)).join(“/”); var m = e === a ? l : u, y = this.getRegexPositions(m.replace(/CODE/g, e)), w = d.replace(this.translationRegex, y); return c.slice(0, s + 1).concat([w], c.slice(s + 2)).join(“/”) }; var $e = {}; function Ge(e, t) { var n = K.excluded_paths; if (!n || !n.length) return null; var r = function (e) { return e || (!K.dynamicPushState && K.injectedData && K.injectedData.originalPath ? K.injectedData.originalPath : Oe().pathname) }(t).toLowerCase(), a = Be(e || We(), K); $e[r] || ($e[r] = {}); var o = $e[r][a]; if (void 0 !== o) return o; var i = function (e, t) { var n = K.excluded_paths; if (!n || !n.length) return !1; var r = n.find(function (n) { var r = n.type, a = n.value, o = n.excluded_languages; if (!o || !o.length || o.includes(e)) { if (Ve(t)[r](a)) return n; var i = t; try { i = decodeURIComponent(t) } catch (e) { return } if (i !== t) return Ve(i)[r](a) ? n : void 0 } }); return !!r && { language_button_displayed: r.language_button_displayed, allExcluded: !r.excluded_languages || !r.excluded_languages.length || r.excluded_languages.length >= K.languages.length } }(a, r); return $e[r][a] = i, i } var Ke, Je = {}, Xe = { v1: [], v2: [“ABBR”, “ACRONYM”, “B”, “BDO”, “BIG”, “CITE”, “EM”, “I”, “KBD”, “Q”, “SMALL”, “STRONG”, “SUB”, “SUP”, “U”], v3: [“A”, “BDI”, “BR”, “WBR”, “DEL”, “DFN”, “INS”, “S”, “SPAN”] }; var Ye = function () { if (Ke) return Je; Ke = 1; var e = Xe; return e.v2.unshift(“#text”), Je.mergeNodesList = e, Je }(), Qe = new WeakMap; function Ze(e) { if (!e) return []; var t = e.querySelectorAll ? e : e.parentNode; if (!t) return []; if (st(t), !Z.whitelist || !Z.whitelist.length) return [].concat(function (e) { var t = document.getElementsByTagName(“title”)[0]; if (e !== document.documentElement || !document.title || !t || le(t)) return []; return [{ element: t.firstChild, type: 9, words: t.textContent, properties: {} }] }(t), et(t)); var n = Z.whitelist.map(function (e) { return e.value }).join(“,”); if (fe(t, n)) return et(t); for (var r = [], a = 0, o = ce(t, n); a < o.length; a += 1) { var i = o[a];[].push.apply(r, et(i)) } return r } function et(e) { return [].concat(function (e) { var t = []; return bt.forEach(function (n) { for (var r, a, o, i = n.attribute, s = n.type, l = n.selectors, u = 0, c = (r = e, a = [], o = l.join(“,”), r.matches && r.matches(o) && a.push(r), r.childElementCount > 0 && a.push.apply(a, r.querySelectorAll(o)), a); u < c.length; u += 1) { var d = c[u]; if (d && !le(d) && !at(d, i.name)) { var f = i.get(d); ut(f) || t.push({ element: d, words: f, type: s, attrSetter: i.set, attrName: i.name }) } } }), t }(e), function (e) { var t, n = [], r = Z.translation_engine >= 2, a = document.createTreeWalker(e, 4, tt, !1); for (; t = a.nextNode();) { var o = (r && (ae(t.parentNode) || t.parentNode.childNodes.length > 1) ? nt : rt)(t, a); o && n.push(o) } return n }(e)) } function tt(e) { return !re(e) || le(e) ? NodeFilter.FILTER_REJECT : NodeFilter.FILTER_ACCEPT } function nt(e, t) { var n = function (e) { if (e.wgResolved) return !1; var t = e; do { if (t.wgResolved) return t; t = t.parentElement || t.parentNode } while (null !== t && 1 === t.nodeType); return !1 }(e); if (n && Qe.has(n)) { var r = Qe.get(n); return { element: r[0], words: r[1], type: 1, properties: r[2] } } var a = function (e, t) { var n = [], r = e; for (; ne(e.parentNode);)e = e.parentNode, r.textContent.trim() !== e.textContent.trim() && (r = e); r.textContent.trim() === e.textContent.trim() && (e = r); for (; t.nextNode();)if (!e.contains || !e.contains(t.currentNode)) { t.previousNode(); break } var a = d(e) && !e.clonable ? (o = e, i = document.createDocumentFragment(), o.childNodes.forEach(function (e) { return i.appendChild(e.cloneNode(!0)) }), i) : e.cloneNode(!0); var o, i; if (Z.translation_engine > 2) { lt(e, function (e) { if (1 === e.nodeType) { var t = function (e) { for (var t = [], n = 0, r = e.attributes; n < r.length; n += 1) { var a = r[n]; t.push(a) } return t }(e); n.push({ attributes: t, child: e }) } }); var s = 1; lt(a, function (e) { 1 === e.nodeType && (!function (e) { if (!e.attributes) return e; for (; e.attributes.length > 0;)e.removeAttribute(e.attributes[0].name) }(e), e.setAttribute(“wg-” + s++, “”)) }) } if (e) { return e.wgResolved = !0, [e, (a.innerHTML || a.textContent || “”).replace(//g, “”), n] } }(e, t); if (a) { var o = a[0], i = a[1], s = a[2]; if (!ut(i)) return Qe.set(o, a), { element: o, words: i, type: 1, properties: s } } } function rt(e) { var t = e.textContent; if (!ut(t)) return { element: e, words: t, type: 1, properties: {} } } function at(e, t) { var n = Z.excluded_attributes; if (!n || !n.length) return !1; for (var r = 0, a = n; r < a.length; r += 1) { var o = a[r]; if (o) { var i = o.selector, s = o.attributes; if (i && s && Array.isArray(s) && s.includes(t) && de(e, i)) return !0 } } return !1 } function ot(e, t) { e.wgNoTranslate = !Z.private_mode || “Excluded by selector: ” + t.find(function (t) { return de(e, t) }) } function it(e, t) { if (“wgNoTranslate” in e && e.wgNoTranslate && !de(e, t) && (e.wgNoTranslate = !1), e.children) for (var n = 0, r = e.children; n < r.length; n += 1) { it(r[n], t) } } function st(e) { var t = Z.excluded_blocks; if (t && t.length) { var n = t.map(function (e) { return e.value }), r = n.join(“,”); de(e, r) ? ot(e, n) : e.wgNoTranslate = !1; for (var a = 0, o = ce(e, r); a < o.length; a += 1) { ot(o[a], n) } it(e, r) } else e.wgNoTranslate = !1 } function lt(e, t) { if (e.childNodes) for (var n = 0, r = e.childNodes; n < r.length; n += 1) { var a = r[n]; if (!a) return; t(a), lt(a, t) } } function ut(e) { return !e || !e.trim() || !isNaN(e) || “​” === e } function ct(e, t) { for (var n = 0, r = e; n < r.length; n += 1) { var a = r[n], o = a.weglot.content; if (o && a.isConnected) { for (var i = 0, s = o; i < s.length; i += 1) { var l = s[i], u = l.original, c = l.properties, d = l.attrSetter, f = l.translations, g = f[l.currentLang] || u, p = f[t] || u; g !== p && (c && (a.weglot.isSet = dt(a, p, c, u, e)), d && (a.weglot.isSet = !0, d(a, p, u)), a.weglot.isSet && (l.currentLang = t)) } a.wgResolved = !1 } } } function dt(e, t, n, r, a) { if (e.nodeType === Node.ELEMENT_NODE) { if (Z.enable_in_place_setters && function (e, t) { var n = document.createElement(“div”); return n.innerHTML = t, pt(e, n) }(e, t)) return e.wgSetHTML = e.outerHTML, !0; var o = function (e, t, n) { var r = document.createElement(“div”); return r.innerHTML = e, ft(t, r, n) }(t, e, n); return e.innerHTML = “”, e.appendChild(o), e.wgSetHTML = e.outerHTML, !0 } if (!ge(t) || ge(r)) return e.textContent = t, e.wgSetHTML = t, !0; var i = e.parentNode; if (!i) return ee.warn(“Unable to translate some words, please contact support@weglot.com.”), ee.warn(e, { sendToDatadog: !1 }), !1; if (1 === i.childNodes.length) return i.weglot = e.weglot, a ? (a.push(e.parentNode), !1) : dt(i, t, n, r); var s = e.closest && e.closest(“[data-wg-translation-wrapper]”) || i.closest(“[data-wg-translation-wrapper]”); if (s && s.innerHTML === t) return !1; var l = document.createElement(“span”); return l.dataset.wgTranslationWrapper = “”, l.weglot = e.weglot, i.replaceChild(l, e), a ? (a.push(l), !1) : dt(i, t, n, r) } function ft(e, t, n) { var r = document.createDocumentFragment(); if (1 !== e.nodeType) return r.appendChild(t), r; for (var a = t.childNodes.length, o = 0; o < a; o++) { var i, s = t.firstChild; if (i = gt(s)) { var l = n[i – 1]; if (!l) continue; var u = l.used ? l.child.cloneNode(!0) : l.child, c = ft(u, s, n); if (c.contains(u)) return ee.warn(“There is an HTML error in the translation of: ” + e.innerHTML.toString(), { sendToDatadog: !1 }), r; u.innerHTML = “”, u.appendChild(c), r.appendChild(u), document.createDocumentFragment().appendChild(s), l.used = !0 } else r.appendChild(s) } return r } function gt(e) { if (e && e.nodeType === Node.ELEMENT_NODE && e.attributes && e.attributes[0]) { var t = parseInt(e.attributes[0].name.split(“wg-“)[1]); return isNaN(t) ? void 0 : t } } function pt(e, t) { var n = Array.from(e.childNodes), r = Array.from(t.childNodes), a = ht(n), o = ht(r); if (a.length !== o.length) return !1; for (var i = 0; i < a.length; i++) { var s = a[i], l = o[i]; if (s.type !== l.type) return !1; if (“text” === s.type) vt(s.nodes, l.nodes); else { var u = s.nodes[0], c = l.nodes[0]; if (u.nodeType !== c.nodeType) return !1; if (u.nodeType === Node.ELEMENT_NODE) { if (u.tagName !== c.tagName) return !1; if (!pt(u, c)) return !1 } } } return !0 } function ht(e) { for (var t = [], n = null, r = 0, a = e; r < a.length; r += 1) { var o = a[r]; o.nodeType === Node.TEXT_NODE ? (n || (n = { type: “text”, nodes: [] }), n.nodes.push(o)) : (n && (t.push(n), n = null), t.push({ type: “element”, nodes: [o] })) } return n && t.push(n), t } function vt(e, t) { for (var n = t.map(function (e) { return e.textContent || “” }).join(“”), r = e.map(function (e) { return (e.textContent || “”).length }), a = r.reduce(function (e, t) { return e + t }, 0), o = 0, i = 0; i < e.length; i++) { var s = void 0; if (i === e.length – 1) s = n.length – o; else if (a === n.length) s = r[i]; else { var l = 0 === a ? 1 / e.length : r[i] / a; s = Math.round(n.length * l) } var u = n.slice(o, o + s); e[i].textContent = u, o += s } } function _t(e) { return { name: e, get: function (t) { return t.getAttribute(e) }, set: function (t, n) { return t.getAttribute(e) !== n && t.setAttribute(e, n) } } } function mt(e, t) { if (e.parentNode && “PICTURE” === e.parentNode.tagName) for (var n = 0, r = e.parentNode.children; n < r.length; n += 1) { var a = r[n]; “SOURCE” === a.tagName && (a.getAttribute(“srcset”) && a.setAttribute(“srcset”, t)) } } function yt(e) { return e && e.split && e.split(“www.”)[1] || e } function wt(e) { var t = [{ type: 1, selectors: [“[title]”], attribute: _t(“title”) }, { type: 2, selectors: [“input[type=’submit’]”, “input[type=’button’]”, “button”], attribute: _t(“value”) }, { type: 3, selectors: [“input[placeholder]”, “textarea[placeholder]”], attribute: _t(“placeholder”) }, { type: 4, selectors: [“meta[name=’description’]”, “meta[property=’og:description’]”, “meta[property=’og:site_name’]”, “meta[property=’og:image:alt’]”, “meta[name=’twitter:description’]”, “meta[itemprop=’description’]”, “meta[itemprop=’name’]”], attribute: _t(“content”) }, { type: 7, selectors: [“img”], attribute: _t(“alt”) }, { type: 8, selectors: [“[href$=’.pdf’]”, “[href$=’.docx’]”, “[href$=’.doc’]”], attribute: _t(“href”) }, { type: 9, selectors: [“meta[property=’og:title’]”, “meta[name=’twitter:title’]”], attribute: _t(“content”) }]; if (!e) return t; if (e.media_enabled && t.push({ type: 5, selectors: [“youtube.com”, “youtu.be”, “vimeo.com”, “dailymotion.com”].map(function (e) { return “iframe[src*='” + e + “‘]” }), attribute: _t(“src”) }, { type: 6, selectors: [“img”, “source”], attribute: { name: “src”, get: function (e) { var t = e.getAttribute(“src”); if (!t || !t.split) return “”; if (0 === t.indexOf(“data:image”)) return “”; var n = t.split(“?”); return n[1] && (e.queryString = n[1]), n[0] }, set: function (e, t, n) { var r = e.getAttribute(“src”), a = e.getAttribute(“srcset”); if (t === n) { if (e.removeAttribute(“data-wgtranslated”), e.isChanged) { var o = “” + t + (e.queryString ? “?” + e.queryString : “”); e.setAttribute(“src”, o), mt(e, o), e.hasAttribute(“wgsrcset”) && (e.setAttribute(“srcset”, e.getAttribute(“wgsrcset”) || e.dataset.srcset), e.removeAttribute(“wgsrcset”)) } } else r.split(“?”)[0] !== t && n !== t && (e.setAttribute(“src”, t), mt(e, t), e.hasAttribute(“srcset”) && (e.setAttribute(“wgsrcset”, a), e.setAttribute(“srcset”, “”)), e.dataset.wgtranslated = !0, e.isChanged = !0) } } }, { type: 6, selectors: [“meta[property=’og:image’]”, “meta[property=’og:logo’]”], attribute: _t(“content”) }, { type: 6, selectors: [“img”], attribute: _t(“srcset”) }, { type: 6, selectors: [“video”], attribute: _t(“src”) }, { type: 6, selectors: [“[style*=’url’]”], attribute: { name: “src”, get: function (e) { var t = pe(e); if (!t) return “”; var n = t.split(“?”); return n[1] && (e.queryString = n[1]), n[0] }, set: function (e, t, n) { var r = pe(e); if (!r) return “”; t === n ? (e.removeAttribute(“data-wgtranslated”), e.isChanged && he(e, r, “” + t + (e.queryString ? “?” + e.queryString : “”))) : r.split(“?”)[0] !== t && n !== t && (he(e, r, t), e.dataset.wgtranslated = !0, e.isChanged = !0) } } }), e.translate_aria && t.push({ type: 1, selectors: [“[aria-label]”], attribute: _t(“aria-label”) }), e.external_enabled) { var n = yt(function () { var e = window.location, t = e.hostname, n = e.search; if (!Q(t) || !n) return t; var r = l(); if (r && r.editorCurrentURL) return new URL(r.editorCurrentURL).hostname; var a = decodeURIComponent(n).match(/url=https?://([^/]+)/); return a ? a[1] : (ee.warn(“[Weglot] Unable to get current hostname”), t) }()); t.push({ type: 10, selectors: [“iframe”], attribute: _t(“src”) }, { type: 10, selectors: [“a[rel=external]”], attribute: _t(“href”) }, { type: 10, selectors: [‘[href^=”mailto”]’], attribute: _t(“href”) }, { type: 10, selectors: [‘[href^=”tel”]’], attribute: _t(“href”) }, { type: 10, selectors: [“http:”, “https:”, “//”].map(function (e) { return ‘[href^=”‘ + e + ‘”]:not(link)’ }), attribute: { name: “href”, get: function (e) { if (!e.href || !e.href.split) return “”; var t = e.href.split(“/”)[2]; return t && yt(t) !== n ? e.getAttribute(“href”) : “” }, set: function (e, t) { return e.setAttribute(“href”, t) } } }) } if (e.extra_definitions && e.extra_definitions.length) for (var r = function () { var e = o[a], n = e.type, r = e.selector, i = e.attribute; i && r ? t.push({ type: n, selectors: [r], attribute: { name: i, get: function (e) { return e.getAttribute(i) }, set: function (e, t) { return e.setAttribute(i, t) } } }) : ee.warn(“Each extra definition option needs at least {attribute,selector} https://bit.ly/2yDsLxy”, { sendToDatadog: !1 }) }, a = 0, o = e.extra_definitions; a < o.length; a += 1)r(); return t } tt.acceptNode = tt; var bt = []; function kt(e, t) { if (!t || !t.translation_engine) throw “translation_engine is required”; var n; return Object.assign(Z, t), Z.document = e, Z.mergeNodes = (n = t.translation_engine, Ye.mergeNodesList.v2.unshift(“#text”, “#comment”), Object.keys(Ye.mergeNodesList).reduce(function (e, t, r) { return n >= r + 1 && [].push.apply(e, Ye.mergeNodesList[t]), e }, [])), Array.isArray(Z.extra_merged_selectors) && (Z.selectorMerging = t.extra_merged_selectors.filter(function (e) { return e && “string” == typeof e }).join(“,”)), t.merged_selectors_remove && (Z.mergedSelectorRemove = t.merged_selectors_remove.map(function (e) { return e.value }).join(“,”)), { getTextNodes: Ze, setTextNodes: ct, definitions: bt = wt(Z) } } var St = null; function xt() { if (St) return St; if (!K.api_key) return o.warn(“Weglot must be initialized to use it.”, { sendToDatadog: !1 }), []; var e = (K.languages || []).filter(function (e) { var t = Ge(e.language_to), n = !t || t.language_button_displayed; return (!1 !== e.enabled || K.private_mode) && n && (K.subdirectory || !K.is_connect || e.connect_host_destination && e.connect_host_destination.created_on_aws) }).map(function (e) { return e.custom_code || e.language_to }), t = [K.language_from].concat(e); return St = t.filter(function (e, n) { return e && t.indexOf(e) == n }), e.length || o.log(“No public language available.”, { sendToDatadog: !1 }), St } F(“onCurrentLocationChanged”, function () { St = null }, !0); var Et, Lt, Tt, At, Ct, jt, Ot, Nt, Rt, Pt, It, Dt, Mt = { bubble: { hash: “4aaab1b8741e899995f8d723c4e17d39d3ec414a”, integrity: “sha384-Dbsq80xIzQWxmRnfoJx9UooaWB2JfryIdNZS1/psvQd1qWfjprma+YVGngynYiEc”, name: “bubble” }, default: { hash: “14822685da4fdd96dd7a3f3ac4958a3abf9bb4c0”, integrity: “sha384-xOvXJIutfggqBQLElp+LAVqKinjuOz3OGz29KCIEDUCsHJj3USxJaql4PG03W7al”, name: “default” }, default_dropdown: { hash: “785ab1cf2e94f5cd0008fb4a06b87d0c727a8039”, integrity: “sha384-oPzT57deW26j2XxkcOlQBoZTCf79vcH4kdkRIeML0p/npXgVCrlh9lOzcQZYooPm”, name: “default_dropdown” }, horizontal_expand: { hash: “96f2dffaadc36de68e52c2893257120da1c818cd”, integrity: “sha384-/hVdysEAf2teGExGaYR3wVmcQm8iQ7na218Qe2MCDtSALRdZW28NRwH0WUhjVuX2”, name: “horizontal_expand” }, skewed: { hash: “bfad08b4e04c081647c59d0b2d179b7cb53a4245”, integrity: “sha384-EjolayFlhuXb+vLI84KVuEsJPIerzmF1WjBJP+eRA+cu/+iLWs6D2yyzsKs6WqvM”, name: “skewed” }, toggle: { hash: “f3c29b213569f5e705c57086ff78cccc9a7795f5”, integrity: “sha384-e+C19iy/bGuQp9FIML/QbkcwsAKgVQ7UWiQuMEFwVjG1D5UnnpYCftpdsG9be09Z”, name: “toggle” }, underline_edge: { hash: “d9ee27341a854d23290df8744c3984d9ff43751a”, integrity: “sha384-2BM4VkGufMIg6b0blsb0MEX0cM8MrX8BTU2i6BW3Axdqk3At8Sokf2bwKyJu++kj”, name: “underline_edge” }, underline_full: { hash: “1a114654c8e4a7463ca383b094f0da49aaf0f663”, integrity: “sha384-475n2Kccq43h1mYULqEiQc/UIV3Rkj6MexR93zgF/KnH7FST6XV9n7WL9X9gxmpO”, name: “underline_full” }, vertical_expand: { hash: “8af440b457245019647fc8a6971e70fa3db184d9”, integrity: “sha384-mVt5sZwFpyrr0oB0FmKxuP/D5DdJkja1cGrLYkC+C3sPrWcInKwKCkuPYEbKEAYA”, name: “vertical_expand” } }, zt = {}, Wt = [], qt = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ut = Array.isArray; function Ft(e, t) { for (var n in t) e[n] = t[n]; return e } function Ht(e) { e && e.parentNode && e.parentNode.removeChild(e) } function Bt(e, t, n) { var r, a, o, i = {}; for (o in t) “key” == o ? r = t[o] : “ref” == o ? a = t[o] : i[o] = t[o]; if (arguments.length > 2 && (i.children = arguments.length > 3 ? Et.call(arguments, 2) : n), “function” == typeof e && null != e.defaultProps) for (o in e.defaultProps) void 0 === i[o] && (i[o] = e.defaultProps[o]); return Vt(e, i, r, a, null) } function Vt(e, t, n, r, a) { var o = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: null == a ? ++Tt : a, __i: -1, __u: 0 }; return null == a && null != Lt.vnode && Lt.vnode(o), o } function $t(e) { return e.children } function Gt(e, t) { this.props = e, this.context = t } function Kt(e, t) { if (null == t) return e.__ ? Kt(e.__, e.__i + 1) : null; for (var n; t < e.__k.length; t++)if (null != (n = e.__k[t]) && null != n.__e) return n.__e; return “function” == typeof e.type ? Kt(e) : null } function Jt(e) { if (e.__P && e.__d) { var t = e.__v, n = t.__e, r = [], a = [], o = Ft({}, t); o.__v = t.__v + 1, Lt.vnode && Lt.vnode(o), sn(e.__P, o, t, e.__n, e.__P.namespaceURI, 32 & t.__u ? [n] : null, r, null == n ? Kt(t) : n, !!(32 & t.__u), a), o.__v = t.__v, o.__.__k[o.__i] = o, un(r, o, a), t.__e = t.__ = null, o.__e != n && Xt(o) } } function Xt(e) { if (null != (e = e.__) && null != e.__c) return e.__e = e.__c.base = null, e.__k.some(function (t) { if (null != t && null != t.__e) return e.__e = e.__c.base = t.__e }), Xt(e) } function Yt(e) { (!e.__d && (e.__d = !0) && At.push(e) && !Qt.__r++ || Ct != Lt.debounceRendering) && ((Ct = Lt.debounceRendering) || jt)(Qt) } function Qt() { for (var e, t = 1; At.length;)At.length > t && At.sort(Ot), e = At.shift(), t = At.length, Jt(e); Qt.__r = 0 } function Zt(e, t, n, r, a, o, i, s, l, u, c) { var d, f, g, p, h, v, _, m = r && r.__k || Wt, y = t.length; for (l = function (e, t, n, r, a) { var o, i, s, l, u, c = n.length, d = c, f = 0; for (e.__k = new Array(a), o = 0; o < a; o++)null != (i = t[o]) && “boolean” != typeof i && “function” != typeof i ? (“string” == typeof i || “number” == typeof i || “bigint” == typeof i || i.constructor == String ? i = e.__k[o] = Vt(null, i, null, null, null) : Ut(i) ? i = e.__k[o] = Vt($t, { children: i }, null, null, null) : void 0 === i.constructor && i.__b > 0 ? i = e.__k[o] = Vt(i.type, i.props, i.key, i.ref ? i.ref : null, i.__v) : e.__k[o] = i, l = o + f, i.__ = e, i.__b = e.__b + 1, s = null, -1 != (u = i.__i = nn(i, n, l, d)) && (d–, (s = n[u]) && (s.__u |= 2)), null == s || null == s.__v ? (-1 == u && (a > c ? f– : a < c && f++), “function” != typeof i.type && (i.__u |= 4)) : u != l && (u == l – 1 ? f– : u == l + 1 ? f++ : (u > l ? f– : f++, i.__u |= 4))) : e.__k[o] = null; if (d) for (o = 0; o < c; o++)null != (s = n[o]) && !(2 & s.__u) && (s.__e == r && (r = Kt(s)), gn(s, s)); return r }(n, t, m, l, y), d = 0; d < y; d++)null != (g = n.__k[d]) && (f = -1 != g.__i && m[g.__i] || zt, g.__i = d, v = sn(e, g, f, a, o, i, s, l, u, c), p = g.__e, g.ref && f.ref != g.ref && (f.ref && fn(f.ref, null, g), c.push(g.ref, g.__c || p, g)), null == h && null != p && (h = p), (_ = !!(4 & g.__u)) || f.__k === g.__k ? l = en(g, l, e, _) : “function” == typeof g.type && void 0 !== v ? l = v : p && (l = p.nextSibling), g.__u &= -7); return n.__e = h, l } function en(e, t, n, r) { var a, o; if (“function” == typeof e.type) { for (a = e.__k, o = 0; a && o < a.length; o++)a[o] && (a[o].__ = e, t = en(a[o], t, n, r)); return t } e.__e != t && (r && (t && e.type && !t.parentNode && (t = Kt(e)), n.insertBefore(e.__e, t || null)), t = e.__e); do { t = t && t.nextSibling } while (null != t && 8 == t.nodeType); return t } function tn(e, t) { return t = t || [], null == e || “boolean” == typeof e || (Ut(e) ? e.some(function (e) { tn(e, t) }) : t.push(e)), t } function nn(e, t, n, r) { var a, o, i, s = e.key, l = e.type, u = t[n], c = null != u && !(2 & u.__u); if (null === u && null == s || c && s == u.key && l == u.type) return n; if (r > (c ? 1 : 0)) for (a = n – 1, o = n + 1; a >= 0 || o < t.length;)if (null != (u = t[i = a >= 0 ? a– : o++]) && !(2 & u.__u) && s == u.key && l == u.type) return i; return -1 } function rn(e, t, n) { “-” == t[0] ? e.setProperty(t, null == n ? “” : n) : e[t] = null == n ? “” : “number” != typeof n || qt.test(t) ? n : n + “px” } function an(e, t, n, r, a) { var o, i; e: if (“style” == t) if (“string” == typeof n) e.style.cssText = n; else { if (“string” == typeof r && (e.style.cssText = r = “”), r) for (t in r) n && t in n || rn(e.style, t, “”); if (n) for (t in n) r && n[t] == r[t] || rn(e.style, t, n[t]) } else if (“o” == t[0] && “n” == t[1]) o = t != (t = t.replace(Nt, “$1”)), i = t.toLowerCase(), t = i in e || “onFocusOut” == t || “onFocusIn” == t ? i.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + o] = n, n ? r ? n.u = r.u : (n.u = Rt, e.addEventListener(t, o ? It : Pt, o)) : e.removeEventListener(t, o ? It : Pt, o); else { if (“http://www.w3.org/2000/svg” == a) t = t.replace(/xlink(H|:h)/, “h”).replace(/sName$/, “s”); else if (“width” != t && “height” != t && “href” != t && “list” != t && “form” != t && “tabIndex” != t && “download” != t && “rowSpan” != t && “colSpan” != t && “role” != t && “popover” != t && t in e) try { e[t] = null == n ? “” : n; break e } catch (e) { } “function” == typeof n || (null == n || !1 === n && “-” != t[4] ? e.removeAttribute(t) : e.setAttribute(t, “popover” == t && 1 == n ? “” : n)) } } function on(e) { return function (t) { if (this.l) { var n = this.l[t.type + e]; if (null == t.t) t.t = Rt++; else if (t.t < n.u) return; return n(Lt.event ? Lt.event(t) : t) } } } function sn(e, t, n, r, a, o, i, s, l, u) { var c, d, f, g, p, h, v, _, m, y, w, b, k, S, x, E = t.type; if (void 0 !== t.constructor) return null; 128 & n.__u && (l = !!(32 & n.__u), o = [s = t.__e = n.__e]), (c = Lt.__b) && c(t); e: if (“function” == typeof E) try { if (_ = t.props, m = “prototype” in E && E.prototype.render, y = (c = E.contextType) && r[c.__c], w = c ? y ? y.props.value : c.__ : r, n.__c ? v = (d = t.__c = n.__c).__ = d.__E : (m ? t.__c = d = new E(_, w) : (t.__c = d = new Gt(_, w), d.constructor = E, d.render = pn), y && y.sub(d), d.state || (d.state = {}), d.__n = r, f = d.__d = !0, d.__h = [], d._sb = []), m && null == d.__s && (d.__s = d.state), m && null != E.getDerivedStateFromProps && (d.__s == d.state && (d.__s = Ft({}, d.__s)), Ft(d.__s, E.getDerivedStateFromProps(_, d.__s))), g = d.props, p = d.state, d.__v = t, f) m && null == E.getDerivedStateFromProps && null != d.componentWillMount && d.componentWillMount(), m && null != d.componentDidMount && d.__h.push(d.componentDidMount); else { if (m && null == E.getDerivedStateFromProps && _ !== g && null != d.componentWillReceiveProps && d.componentWillReceiveProps(_, w), t.__v == n.__v || !d.__e && null != d.shouldComponentUpdate && !1 === d.shouldComponentUpdate(_, d.__s, w)) { t.__v != n.__v && (d.props = _, d.state = d.__s, d.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.some(function (e) { e && (e.__ = t) }), Wt.push.apply(d.__h, d._sb), d._sb = [], d.__h.length && i.push(d); break e } null != d.componentWillUpdate && d.componentWillUpdate(_, d.__s, w), m && null != d.componentDidUpdate && d.__h.push(function () { d.componentDidUpdate(g, p, h) }) } if (d.context = w, d.props = _, d.__P = e, d.__e = !1, b = Lt.__r, k = 0, m) d.state = d.__s, d.__d = !1, b && b(t), c = d.render(d.props, d.state, d.context), Wt.push.apply(d.__h, d._sb), d._sb = []; else do { d.__d = !1, b && b(t), c = d.render(d.props, d.state, d.context), d.state = d.__s } while (d.__d && ++k < 25); d.state = d.__s, null != d.getChildContext && (r = Ft(Ft({}, r), d.getChildContext())), m && !f && null != d.getSnapshotBeforeUpdate && (h = d.getSnapshotBeforeUpdate(g, p)), S = null != c && c.type === $t && null == c.key ? cn(c.props.children) : c, s = Zt(e, Ut(S) ? S : [S], t, n, r, a, o, i, s, l, u), d.base = t.__e, t.__u &= -161, d.__h.length && i.push(d), v && (d.__E = d.__ = null) } catch (e) { if (t.__v = null, l || null != o) if (e.then) { for (t.__u |= l ? 160 : 128; s && 8 == s.nodeType && s.nextSibling;)s = s.nextSibling; o[o.indexOf(s)] = null, t.__e = s } else { for (x = o.length; x–;)Ht(o[x]); ln(t) } else t.__e = n.__e, t.__k = n.__k, e.then || ln(t); Lt.__e(e, t, n) } else null == o && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : s = t.__e = dn(n.__e, t, n, r, a, o, i, l, u); return (c = Lt.diffed) && c(t), 128 & t.__u ? void 0 : s } function ln(e) { e && (e.__c && (e.__c.__e = !0), e.__k && e.__k.some(ln)) } function un(e, t, n) { for (var r = 0; r < n.length; r++)fn(n[r], n[++r], n[++r]); Lt.__c && Lt.__c(t, e), e.some(function (t) { try { e = t.__h, t.__h = [], e.some(function (e) { e.call(t) }) } catch (e) { Lt.__e(e, t.__v) } }) } function cn(e) { return “object” != typeof e || null == e || e.__b > 0 ? e : Ut(e) ? e.map(cn) : Ft({}, e) } function dn(e, t, n, r, a, o, i, s, l) { var u, c, d, f, g, p, h, v = n.props || zt, _ = t.props, m = t.type; if (“svg” == m ? a = “http://www.w3.org/2000/svg” : “math” == m ? a = “http://www.w3.org/1998/Math/MathML” : a || (a = “http://www.w3.org/1999/xhtml”), null != o) for (u = 0; u < o.length; u++)if ((g = o[u]) && “setAttribute” in g == !!m && (m ? g.localName == m : 3 == g.nodeType)) { e = g, o[u] = null; break } if (null == e) { if (null == m) return document.createTextNode(_); e = document.createElementNS(a, m, _.is && _), s && (Lt.__m && Lt.__m(t, o), s = !1), o = null } if (null == m) v === _ || s && e.data == _ || (e.data = _); else { if (o = o && Et.call(e.childNodes), !s && null != o) for (v = {}, u = 0; u < e.attributes.length; u++)v[(g = e.attributes[u]).name] = g.value; for (u in v) g = v[u], “dangerouslySetInnerHTML” == u ? d = g : “children” == u || u in _ || “value” == u && “defaultValue” in _ || “checked” == u && “defaultChecked” in _ || an(e, u, null, g, a); for (u in _) g = _[u], “children” == u ? f = g : “dangerouslySetInnerHTML” == u ? c = g : “value” == u ? p = g : “checked” == u ? h = g : s && “function” != typeof g || v[u] === g || an(e, u, g, v[u], a); if (c) s || d && (c.__html == d.__html || c.__html == e.innerHTML) || (e.innerHTML = c.__html), t.__k = []; else if (d && (e.innerHTML = “”), Zt(“template” == t.type ? e.content : e, Ut(f) ? f : [f], t, n, r, “foreignObject” == m ? “http://www.w3.org/1999/xhtml” : a, o, i, o ? o[0] : n.__k && Kt(n, 0), s, l), null != o) for (u = o.length; u–;)Ht(o[u]); s || (u = “value”, “progress” == m && null == p ? e.removeAttribute(“value”) : null != p && (p !== e[u] || “progress” == m && !p || “option” == m && p != v[u]) && an(e, u, p, v[u], a), u = “checked”, null != h && h != e[u] && an(e, u, h, v[u], a)) } return e } function fn(e, t, n) { try { if (“function” == typeof e) { var r = “function” == typeof e.__u; r && e.__u(), r && null == t || (e.__u = e(t)) } else e.current = t } catch (e) { Lt.__e(e, n) } } function gn(e, t, n) { var r, a; if (Lt.unmount && Lt.unmount(e), (r = e.ref) && (r.current && r.current != e.__e || fn(r, null, t)), null != (r = e.__c)) { if (r.componentWillUnmount) try { r.componentWillUnmount() } catch (e) { Lt.__e(e, t) } r.base = r.__P = null } if (r = e.__k) for (a = 0; a < r.length; a++)r[a] && gn(r[a], t, n || “function” != typeof e.type); n || Ht(e.__e), e.__c = e.__ = e.__e = void 0 } function pn(e, t, n) { return this.constructor(e, n) } function hn(e) { var t, n, r = “”; if (“string” == typeof e || “number” == typeof e) r += e; else if (“object” == typeof e) if (Array.isArray(e)) { var a = e.length; for (t = 0; t < a; t++)e[t] && (n = hn(e[t])) && (r && (r += ” “), r += n) } else for (n in e) e[n] && (r && (r += ” “), r += n); return r } Et = Wt.slice, Lt = { __e: function (e, t, n, r) { for (var a, o, i; t = t.__;)if ((a = t.__c) && !a.__) try { if ((o = a.constructor) && null != o.getDerivedStateFromError && (a.setState(o.getDerivedStateFromError(e)), i = a.__d), null != a.componentDidCatch && (a.componentDidCatch(e, r || {}), i = a.__d), i) return a.__E = a } catch (t) { e = t } throw e } }, Tt = 0, Gt.prototype.setState = function (e, t) { var n; n = null != this.__s && this.__s != this.state ? this.__s : this.__s = Ft({}, this.state), “function” == typeof e && (e = e(Ft({}, n), this.props)), e && Ft(n, e), null != e && this.__v && (t && this._sb.push(t), Yt(this)) }, Gt.prototype.forceUpdate = function (e) { this.__v && (this.__e = !0, e && this.__h.push(e), Yt(this)) }, Gt.prototype.render = $t, At = [], jt = “function” == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Ot = function (e, t) { return e.__v.__b – t.__v.__b }, Qt.__r = 0, Nt = /(PointerCapture)$|Capture$/i, Rt = 0, Pt = on(!1), It = on(!0), Dt = 0; var vn, _n, mn, yn, wn = 0, bn = [], kn = Lt, Sn = kn.__b, xn = kn.__r, En = kn.diffed, Ln = kn.__c, Tn = kn.unmount, An = kn.__; function Cn(e, t) { kn.__h && kn.__h(_n, e, wn || t), wn = 0; var n = _n.__H || (_n.__H = { __: [], __h: [] }); return e >= n.__.length && n.__.push({}), n.__[e] } function jn(e) { return wn = 1, function (e, t, n) { var r = Cn(vn++, 2); if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Wn(void 0, t), function (e) { var t = r.__N ? r.__N[0] : r.__[0], n = r.t(t, e); t !== n && (r.__N = [n, r.__[1]], r.__c.setState({})) }], r.__c = _n, !_n.__f)) { var a = function (e, t, n) { if (!r.__c.__H) return !0; var a = r.__c.__H.__.filter(function (e) { return e.__c }); if (a.every(function (e) { return !e.__N })) return !o || o.call(this, e, t, n); var i = r.__c.props !== e; return a.some(function (e) { if (e.__N) { var t = e.__[0]; e.__ = e.__N, e.__N = void 0, t !== e.__[0] && (i = !0) } }), o && o.call(this, e, t, n) || i }; _n.__f = !0; var o = _n.shouldComponentUpdate, i = _n.componentWillUpdate; _n.componentWillUpdate = function (e, t, n) { if (this.__e) { var r = o; o = void 0, a(e, t, n), o = r } i && i.call(this, e, t, n) }, _n.shouldComponentUpdate = a } return r.__N || r.__ }(Wn, e) } function On(e, t) { var n = Cn(vn++, 3); !kn.__s && zn(n.__H, t) && (n.__ = e, n.u = t, _n.__H.__h.push(n)) } function Nn(e) { return wn = 5, function (e, t) { var n = Cn(vn++, 7); return zn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__ }(function () { return { current: e } }, []) } function Rn() { for (var e; e = bn.shift();) { var t = e.__H; if (e.__P && t) try { t.__h.some(Dn), t.__h.some(Mn), t.__h = [] } catch (n) { t.__h = [], kn.__e(n, e.__v) } } } kn.__b = function (e) { _n = null, Sn && Sn(e) }, kn.__ = function (e, t) { e && t.__k && t.__k.__m && (e.__m = t.__k.__m), An && An(e, t) }, kn.__r = function (e) { xn && xn(e), vn = 0; var t = (_n = e.__c).__H; t && (mn === _n ? (t.__h = [], _n.__h = [], t.__.some(function (e) { e.__N && (e.__ = e.__N), e.u = e.__N = void 0 })) : (t.__h.some(Dn), t.__h.some(Mn), t.__h = [], vn = 0)), mn = _n }, kn.diffed = function (e) { En && En(e); var t = e.__c; t && t.__H && (t.__H.__h.length && (1 !== bn.push(t) && yn === kn.requestAnimationFrame || ((yn = kn.requestAnimationFrame) || In)(Rn)), t.__H.__.some(function (e) { e.u && (e.__H = e.u), e.u = void 0 })), mn = _n = null }, kn.__c = function (e, t) { t.some(function (e) { try { e.__h.some(Dn), e.__h = e.__h.filter(function (e) { return !e.__ || Mn(e) }) } catch (n) { t.some(function (e) { e.__h && (e.__h = []) }), t = [], kn.__e(n, e.__v) } }), Ln && Ln(e, t) }, kn.unmount = function (e) { Tn && Tn(e); var t, n = e.__c; n && n.__H && (n.__H.__.some(function (e) { try { Dn(e) } catch (e) { t = e } }), n.__H = void 0, t && kn.__e(t, n.__v)) }; var Pn = “function” == typeof requestAnimationFrame; function In(e) { var t, n = function () { clearTimeout(r), Pn && cancelAnimationFrame(t), setTimeout(e) }, r = setTimeout(n, 35); Pn && (t = requestAnimationFrame(n)) } function Dn(e) { var t = _n, n = e.__c; “function” == typeof n && (e.__c = void 0, n()), _n = t } function Mn(e) { var t = _n; e.__c = e.__(), _n = t } function zn(e, t) { return !e || e.length !== t.length || t.some(function (t, n) { return t !== e[n] }) } function Wn(e, t) { return “function” == typeof t ? t(e) : t } function qn(e, t) { for (var n in t) e[n] = t[n]; return e } function Un(e, t) { for (var n in e) if (“__source” !== n && !(n in t)) return !0; for (var r in t) if (“__source” !== r && e[r] !== t[r]) return !0; return !1 } function Fn(e, t) { this.props = e, this.context = t } (Fn.prototype = new Gt).isPureReactComponent = !0, Fn.prototype.shouldComponentUpdate = function (e, t) { return Un(this.props, e) || Un(this.state, t) }; var Hn = Lt.__b; Lt.__b = function (e) { e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Hn && Hn(e) }; var Bn = “undefined” != typeof Symbol && Symbol.for && Symbol.for(“react.forward_ref”) || 3911; var Vn = Lt.__e; Lt.__e = function (e, t, n, r) { if (e.then) for (var a, o = t; o = o.__;)if ((a = o.__c) && a.__c) return null == t.__e && (t.__e = n.__e, t.__k = n.__k), a.__c(e, t); Vn(e, t, n, r) }; var $n = Lt.unmount; function Gn(e, t, n) { return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function (e) { “function” == typeof e.__c && e.__c() }), e.__c.__H = null), null != (e = qn({}, e)).__c && (e.__c.__P === n && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function (e) { return Gn(e, t, n) })), e } function Kn(e, t, n) { return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function (e) { return Kn(e, t, n) }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e } function Jn() { this.__u = 0, this.o = null, this.__b = null } function Xn(e) { if (!e.__) return null; var t = e.__.__c; return t && t.__a && t.__a(e) } function Yn() { this.i = null, this.l = null } Lt.unmount = function (e) { var t = e.__c; t && (t.__z = !0), t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), $n && $n(e) }, (Jn.prototype = new Gt).__c = function (e, t) { var n = t.__c, r = this; null == r.o && (r.o = []), r.o.push(n); var a = Xn(r.__v), o = !1, i = function () { o || r.__z || (o = !0, n.__R = null, a ? a(l) : l()) }; n.__R = i; var s = n.__P; n.__P = null; var l = function () { if (! –r.__u) { if (r.state.__a) { var e = r.state.__a; r.__v.__k[0] = Kn(e, e.__c.__P, e.__c.__O) } var t; for (r.setState({ __a: r.__b = null }); t = r.o.pop();)t.__P = s, t.forceUpdate() } }; r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(i, i) }, Jn.prototype.componentWillUnmount = function () { this.o = [] }, Jn.prototype.render = function (e, t) { if (this.__b) { if (this.__v.__k) { var n = document.createElement(“div”), r = this.__v.__k[0].__c; this.__v.__k[0] = Gn(this.__b, n, r.__O = r.__P) } this.__b = null } var a = t.__a && Bt($t, null, e.fallback); return a && (a.__u &= -33), [Bt($t, null, t.__a ? null : e.children), a] }; var Qn = function (e, t, n) { if (++n[1] === n[0] && e.l.delete(t), e.props.revealOrder && (“t” !== e.props.revealOrder[0] || !e.l.size)) for (n = e.i; n;) { for (; n.length > 3;)n.pop()(); if (n[1] < n[0]) break; e.i = n = n[2] } }; (Yn.prototype = new Gt).__a = function (e) { var t = this, n = Xn(t.__v), r = t.l.get(e); return r[0]++, function (a) { var o = function () { t.props.revealOrder ? (r.push(a), Qn(t, e, r)) : a() }; n ? n(o) : o() } }, Yn.prototype.render = function (e) { this.i = null, this.l = new Map; var t = tn(e.children); e.revealOrder && “b” === e.revealOrder[0] && t.reverse(); for (var n = t.length; n–;)this.l.set(t[n], this.i = [1, 0, this.i]); return e.children }, Yn.prototype.componentDidUpdate = Yn.prototype.componentDidMount = function () { var e = this; this.l.forEach(function (t, n) { Qn(e, n, t) }) }; var Zn = “undefined” != typeof Symbol && Symbol.for && Symbol.for(“react.element”) || 60103, er = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, tr = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, nr = /[A-Z0-9]/g, rr = “undefined” != typeof document, ar = function (e) { return (“undefined” != typeof Symbol && “symbol” == typeof Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(e) }; Gt.prototype.isReactComponent = {}, [“componentWillMount”, “componentWillReceiveProps”, “componentWillUpdate”].forEach(function (e) { Object.defineProperty(Gt.prototype, e, { configurable: !0, get: function () { return this[“UNSAFE_” + e] }, set: function (t) { Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t }) } }) }); var or = Lt.event; function ir() { } function sr() { return this.cancelBubble } function lr() { return this.defaultPrevented } Lt.event = function (e) { return or && (e = or(e)), e.persist = ir, e.isPropagationStopped = sr, e.isDefaultPrevented = lr, e.nativeEvent = e }; var ur = { enumerable: !1, configurable: !0, get: function () { return this.class } }, cr = Lt.vnode; Lt.vnode = function (e) { “string” == typeof e.type && function (e) { var t = e.props, n = e.type, r = {}, a = -1 === n.indexOf(“-“); for (var o in t) { var i = t[o]; if (!(“value” === o && “defaultValue” in t && null == i || rr && “children” === o && “noscript” === n || “class” === o || “className” === o)) { var s = o.toLowerCase(); “defaultValue” === o && “value” in t && null == t.value ? o = “value” : “download” === o && !0 === i ? i = “” : “translate” === s && “no” === i ? i = !1 : “o” === s[0] && “n” === s[1] ? “ondoubleclick” === s ? o = “ondblclick” : “onchange” !== s || “input” !== n && “textarea” !== n || ar(t.type) ? “onfocus” === s ? o = “onfocusin” : “onblur” === s ? o = “onfocusout” : tr.test(o) && (o = s) : s = o = “oninput” : a && er.test(o) ? o = o.replace(nr, “-$&”).toLowerCase() : null === i && (i = void 0), “oninput” === s && r[o = s] && (o = “oninputCapture”), r[o] = i } } “select” == n && r.multiple && Array.isArray(r.value) && (r.value = tn(t.children).forEach(function (e) { e.props.selected = -1 != r.value.indexOf(e.props.value) })), “select” == n && null != r.defaultValue && (r.value = tn(t.children).forEach(function (e) { e.props.selected = r.multiple ? -1 != r.defaultValue.indexOf(e.props.value) : r.defaultValue == e.props.value })), t.class && !t.className ? (r.class = t.class, Object.defineProperty(r, “className”, ur)) : t.className && (r.class = r.className = t.className), e.props = r }(e), e.$$typeof = Zn, cr && cr(e) }; var dr = Lt.__r; Lt.__r = function (e) { dr && dr(e), e.__c }; var fr = Lt.diffed; Lt.diffed = function (e) { fr && fr(e); var t = e.props, n = e.__e; null != n && “textarea” === e.type && “value” in t && t.value !== n.value && (n.value = null == t.value ? “” : t.value) }; var gr = function (e) { function t(e) { var n, r; return this.getChildContext || (n = new Set, (r = {})[t.__c] = this, this.getChildContext = function () { return r }, this.componentWillUnmount = function () { n = null }, this.shouldComponentUpdate = function (e) { this.props.value != e.value && n.forEach(function (e) { e.__e = !0, Yt(e) }) }, this.sub = function (e) { n.add(e); var t = e.componentWillUnmount; e.componentWillUnmount = function () { n && n.delete(e), t && t.call(e) } }), e.children } return t.__c = “__cC” + Dt++, t.__ = e, t.Provider = t.__l = (t.Consumer = function (e, t) { return e.children(t) }).contextType = t, t }({}), pr = function (e, t) { return function (t) { var n = {}, r = n.shouldForwardProp, a = n.label; var o = function (e, t) { function n(e) { var n = this.props.ref, r = n == e.ref; return !r && n && (n.call ? n(null) : n.current = null), t ? !t(this.props, e) || !r : Un(this.props, e) } function r(t) { return this.shouldComponentUpdate = n, Bt(e, t) } return r.displayName = “Memo(” + (e.displayName || e.name) + “)”, r.prototype.isReactComponent = !0, r.__f = !0, r.type = e, r }(function (e) { function t(t) { var n = qn({}, t); return delete n.ref, e(n, t.ref || null) } return t.$$typeof = Bn, t.render = e, t.prototype.isReactComponent = t.__f = !0, t.displayName = “ForwardRef(” + (e.displayName || e.name) + “)”, t }(function (n, a) { var o = n || {}, i = o.children, s = o.as; void 0 === s && (s = e); var l = o.style; void 0 === l && (l = {}); var u = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && -1 === t.indexOf(r) && (n[r] = e[r]); return n }(o, [“children”, “as”, “style”]), c = u, d = function (e) { var t = _n.context[e.__c], n = Cn(vn++, 9); return n.c = e, t ? (null == n.__ && (n.__ = !0, t.sub(_n)), t.props.value) : e.__ }(gr); return Bt(s, Object.assign({}, { ref: a, style: Object.assign({}, t(Object.assign({}, c, { theme: d })), “function” == typeof l ? l(Object.assign({}, c, { theme: d })) : l) }, r ? function (e, t) { return Object.keys(e).filter(t).reduce(function (t, n) { return t[n] = e[n], t }, {}) }(c, r) : c), i) })); return o.displayName = (a || e) + “💅”, o } }, hr = pr(“div”)(function () { return { display: “flex”, alignItems: “center”, justifyContent: “center”, height: “100vh” } }); function vr(e) { var t = e.displayError; void 0 === t && (t = !0); var n = e.logger; void 0 === n && (n = function () { }); var r = e.children, a = function (e) { var t = Cn(vn++, 10), n = jn(); return t.__ = e, _n.componentDidCatch || (_n.componentDidCatch = function (e, r) { t.__ && t.__(e, r), n[1](e) }), [n[0], function () { n[1](void 0) }] }(function (e) { return n(e) }); return a[0] && t ? Bt(hr, null, Bt(“p”, null, “An error has occurred, we apologise for the inconvenience. “, Bt(“br”, null), Bt(“br”, null), “We have been notified and will rectify the situation as soon as possible. “, Bt(“br”, null), Bt(“br”, null), “Please try again later or contact support@weglot.com directly.”)) : r } var _r, mr = {}; try { document.cookie, _r = !0 } catch (Bt) { _r = !1 } mr.set = function (e) { var t = e.name, n = e.value, r = e.domain; void 0 === r && (r = null); var a = e.path; void 0 === a && (a = null); var o = e.expires; void 0 === o && (o = null); var i = e.partitioned; void 0 === i && (i = null); var s = e.options; if (_r && t) { var l = s.host, u = s.is_connect, c = s.subdirectory; t = t.replace(/[^+#$&^`|]/g, encodeURIComponent).replace(“(“, “%28”).replace(“)”, “%29”), n = n.toString().replace(/[^+#$&/:<-[]-}]/g, encodeURIComponent), !r && u && l && (r = c ? l : l.split(“www.”).pop()); var d = r ? “;domain=” + r : “”, f = o ? “;expires=” + o : “”, g = “;path=/” + (a || “”), p = i ? “;Partitioned” : “”; document.cookie = t + “=” + n + d + g + f + p + “;SameSite=None;Secure” } }, mr.get = function (e) { if (!_r) return null; for (var t = document.cookie.split(“;”); t.length;) { var n = t.pop(), r = n.indexOf(“=”); if (r = r < 0 ? n.length : r, decodeURIComponent(n.slice(0, r).replace(/^s+/, “”)) === e) return decodeURIComponent(n.slice(r + 1)) } return null }, mr.erase = function (e) { var t = e.name, n = e.domain; void 0 === n && (n = null); var r = e.path; void 0 === r && (r = null); var a = e.options; mr.set({ name: t, value: “”, domain: n, path: r, expires: “Thu, 01 Jan 1970 00:00:00 GMT”, options: a }) }; var yr = { getItem: function (e) { return mr.get(e) }, setItem: function (e, t, n) { void 0 === n && (n = {}); var r = n.domain, a = n.path, o = n.expires; mr.set({ name: e, value: t, domain: r, path: a, expires: o, options: K }) }, removeItem: function (e) { return mr.erase({ name: e, options: K }) } }, wr = { getItem: function () { }, setItem: function () { }, removeItem: function () { } }; function br(e) { var t = e || “local”; try { return “cookie” === t ? yr : window[t + “Storage”] } catch (e) { } return e ? wr : br(“local” === t ? “cookie” : “local”) } var kr = { slugs: {}, pendingRequest: void 0, requestResolved: !1 }; function Sr(e, t) { void 0 === t && (t = 0); var n = K.api_key, r = K.versions; if (!r || !r.slugTranslation) return Promise.resolve({}); var a = “https://” + (K.api_domain || “cdn-api-weglot.com”) + “/translations/slugs?api_key=” + n + “&language_to=” + e + “&v=” + r.slugTranslation; return fetch(a).then(function (e) { if (!e.ok) throw new Error(“HTTP ” + e.status + “: ” + e.statusText); return e.json() }).then(function (e) { return !e || Array.isArray(e) ? {} : e }).catch(function (n) { if (0 === t) { var r = 200 + 50 * Math.random(); return new Promise(function (n) { setTimeout(function () { n(Sr(e, t + 1)) }, r) }) } throw n }) } function xr(e) { return Promise.all(e.map(function (e) { var t = e.custom_code, n = e.language_to; return Sr(n).then(function (e) { !function (e, t) { var n, r = { slugs: Object.assign({}, kr.slugs, (n = {}, n[e] = t, n)) }; Er(r), Object.assign(kr, r) }(t || n, { version: K.versions.slugTranslation, slugs: e }) }).catch(function () { }) })) } function Er(e) { try { var t = br(“local”); t && t.setItem(P, JSON.stringify(e)) } catch (e) { o.warn(e) } } function Lr() { if (!kr.slugs) return {}; var e = We() === K.language_from; return Object.keys(kr.slugs).reduce(function (t, n) { var r = kr.slugs[n], a = r.slugs, o = r.version < K.versions.slugTranslation && e ? {} : a; return t[n] = function (e) { return Object.keys(e).reduce(function (t, n) { return e[n] && (t.original[n] = e[n], t.translated[e[n]] = n), t }, { original: {}, translated: {} }) }(o), t }, {}) } function Tr(e) { var t = K.versions; if (t && t.slugTranslation) { var n = K.languages.filter(function (e) { var n = e.custom_code, r = e.language_to, a = n || r; return !kr.slugs[a] || kr.slugs[a].version < t.slugTranslation }); n.length ? kr.requestResolved ? e(Lr()) : !kr.pendingRequest || kr.requestResolved ? kr.pendingRequest = xr(n).then(function () { kr.requestResolved = !0, e(Lr()) }).catch(function () { kr.requestResolved = !0, e(Lr()) }) : kr.pendingRequest.then(function () { return e(Lr()) }) : e(Lr()) } else e({}) } !function () { if (Object.keys(kr.slugs).length) return; try { var e = br(“local”); if (!e) return; var t = e.getItem(P); if (!t) return; var n = JSON.parse(t); if (void 0 !== n.version) { var r = Object.keys(n.slugs || {}).reduce(function (e, t) { var r; return Object.assign({}, e, ((r = {})[t] = { version: n.version, slugs: n.slugs[t] }, r)) }, {}); return kr.slugs = r, void Er({ slugs: r }) } return void Object.assign(kr, n) } catch (e) { return } }(); var Ar = {}; function Cr(e, t) { var n = function (e, t) { void 0 === t && (t = {}); var n = t.encode; return void 0 === n && (n = !1), function t(r) { var a = r.split(“.”); if (1 === a.length) { var o = “”; try { o = e[decodeURIComponent(r)] } catch (t) { o = e[r] } return o ? n ? encodeURIComponent(o) : o : r } var i = a.pop(), s = a.join(“.”), l = t(s); return s !== l ? l + “.” + i : r } }(t); return e.split(“/”).map(function (e) { return n(e) }).join(“/”) } function jr(e, t) { (K.auto_switch || K.geo_auto_switch) && (K.is_tld || K.rendered) && (e === K.language_from ? t.searchParams.set(“no_redirect”, “true”) : t.searchParams.delete(“no_redirect”)) } function Or(e, t, n) { var r = !1; if (n) { r = n.startsWith(“/”) && “/” !== n.charAt(1); try { n = new _e(n, window.location.origin) } catch (e) { return n } } else n = new _e(Oe().url), K.visual_editor && n.searchParams.has(“url”) && (n = new _e(n.searchParams.get(“url”))), n.searchParams.has(“lang”) && n.searchParams.delete(“lang”), jr(e, n); var a = function (e) { var t; if (!K.subdirectory) { var n = K.language_from, r = K.host, a = K.languages; if (e === n) return r; var o = a.find(function (t) { return t.custom_code === e || t.language_to === e }); return null === (t = null == o ? void 0 : o.connect_host_destination) || void 0 === t ? void 0 : t.host } }(e); return a && (n.hostname = a), n.pathname = function (e, t, n) { if (!Object.keys(e).length) return t; if (!Ar[t]) { var r = We(); if (r !== K.language_from && e[r]) { var a = e[r].translated; Ar[t] = Cr(t, a) } else Ar[t] = t } return n === K.language_from ? Ar[t] : e[n] && e[n].original ? Cr(Ar[t], e[n].original) : t }(t, n.pathname, e), K.subdirectory && e && (n.pathname = Ie(n.pathname).convertLocale(e, n.pathname)), r ? “” + n.pathname + n.search + n.hash : n.toString() } function Nr(e, t) { if (je(K.technology_name) && !K.is_connect) { if (K.injectedData && K.injectedData.switcher_links) { var n = Be(e, K); return t(K.injectedData.switcher_links[n]) } var r = function (e) { var t = document.querySelector(‘link[hreflang*=”‘ + e + ‘”]’); if (!t) { var n = e.slice(0, 2); t = document.querySelector(‘link[hreflang*=”‘ + n + ‘”]’) } return t && t.href }(e); return r ? t(r) : (o.error(“No switcher_links or hreflang elements found.”, { sendToDatadog: !1 }), t(“#”)) } if (!K.is_connect || !e) return t(“#”); var a = K.dynamicPushState, i = K.injectedData; void 0 === i && (i = {}); var s = i.allLanguageUrls; if (void 0 === s && (s = {}), !a && s && s[e]) { var l = new _e(s[e]); return jr(e, l), t(l.toString()) } Tr(function (n) { return t(Or(e, n)) }) } function Rr(e) { try { return JSON.parse(e) } catch (e) { return null } } var Pr = [“text_active”, “text_inactive”, “text_hover”], Ir = [“bg_active”, “bg_inactive”, “bg_hover”], Dr = [{ name: “default”, editorDropdown: !0, editableProps: [“flag_type”, “with_flags”, “hide_selected_language”, “is_dropdown”, “with_name”, “full_name”, “invert_flags”, “open_hover”, “close_outside_click”], defaultValues: { style: { with_name: !0, with_flags: !0, full_name: !0, is_dropdown: !0, invert_flags: !0, flag_type: “rectangle_mat” }, opts: { hide_selected_language: !1, open_hover: !1, close_outside_click: !1 } } }, { name: “default_dropdown”, editorDropdown: !0, editableProps: [“flag_type”, “with_flags”, “with_name”, “full_name”, “open_hover”, “close_outside_click”], defaultValues: { style: { with_name: !0, with_flags: !0, full_name: !0, is_dropdown: !0, invert_flags: !0, flag_type: “rectangle_mat” }, opts: { open_hover: !1, close_outside_click: !1 } } }, { name: “toggle”, editableProps: [“hide_selected_language”].concat(Pr, Ir), defaultValues: { style: { full_name: !1 }, opts: { hide_selected_language: !1 }, colors: { bg_active: “#3D46FB”, bg_inactive: “transparent”, bg_hover: “transparent”, text_active: “#FFFFFF”, text_inactive: “#000000”, text_hover: “#000000” } } }, { name: “bubble”, editorDropdown: !0, editableProps: [“flag_type”, “with_flags”, “full_name”, “color”, “open_hover”, “close_outside_click”].concat(Pr), defaultValues: { style: { with_name: !0, with_flags: !0, full_name: !0, flag_type: “rectangle_mat” }, opts: { open_hover: !1, close_outside_click: !0 }, colors: { text_inactive: “#333333”, text_active: “#555555”, text_hover: “#555555” } } }, { name: “vertical_expand”, editorDropdown: !0, editableProps: [“with_flags”, “full_name”, “color”, “open_hover”, “close_outside_click”].concat(Pr, Ir), defaultValues: { style: { with_name: !0, with_flags: !0, full_name: !1, flag_type: “square” }, opts: { open_hover: !0, close_outside_click: !1 }, colors: { text_active: “#000000”, text_inactive: “#000000”, text_hover: “#FFFFFF”, bg_inactive: “#FFFFFF”, bg_active: “#FFFFFF”, bg_hover: “#3D46FB” } } }, { name: “horizontal_expand”, editorDropdown: !1, editableProps: [“open_hover”, “close_outside_click”].concat(Pr, Ir), defaultValues: { style: { with_name: !0, with_flags: !1, full_name: !1, flag_type: “square” }, opts: { open_hover: !0, close_outside_click: !1 }, colors: { text_inactive: “#000000”, text_active: “#FFFFFF”, text_hover: “#FFFFFF”, bg_inactive: “#FFFFFF”, bg_active: “#3D46FB”, bg_hover: “#3D46FB” } } }, { name: “underline_edge”, editableProps: [“full_name”, “hide_selected_language”].concat(Pr), maxLanguages: 10, minLanguages: null, defaultValues: { style: { full_name: !1 }, colors: { text_active: “#FA8072”, text_inactive: “#333333”, text_hover: “#FA8072” }, opts: { hide_selected_language: !1 } } }, { name: “skewed”, editorDropdown: !0, editableProps: [“with_flags”, “full_name”, “open_hover”, “close_outside_click”, “bg_active”, “bg_inactive”].concat(Pr), defaultValues: { style: { with_name: !0, with_flags: !0, full_name: !1, flag_type: “square” }, opts: { open_hover: !0, close_outside_click: !1 }, colors: { text_active: “#000000”, text_inactive: “#000000”, text_hover: “#3D46FB”, bg_inactive: “#FFFFFF”, bg_active: “transparent”, bg_hover: “#FFFFFF” } } }, { name: “underline_full”, maxLanguages: 10, minLanguages: null, editableProps: [“with_flags”, “flag_type”, “hide_selected_language”].concat(Pr), defaultValues: { style: { full_name: !0, with_flags: !0, flag_type: “rectangle_mat” }, opts: { hide_selected_language: !1 }, colors: { text_active: “#333333”, text_inactive: “#333333”, text_hover: “#3D46FB” } } }].map(function (e) { return Object.assign({}, e, { defaultValues: Object.assign({}, e.defaultValues, { opts: Object.assign({}, e.defaultValues.opts, { is_responsive: !1, display_device: “mobile”, pixel_cutoff: 768 }), style: Object.assign({}, e.defaultValues.style, { size_scale: 1 }) }), editableProps: e.editableProps.concat([“is_responsive”, “display_device”, “pixel_cutoff”, “size_scale”]) }) }); function Mr(e) { var t = function (e) { return Dr.find(function (t) { return t.name === e }) }(e), n = t.defaultValues; void 0 === n && (n = {}); var r = n, a = r.style; void 0 === a && (a = {}); var o = r.opts; void 0 === o && (o = {}); var i = r.colors; return void 0 === i && (i = {}), { style: a, opts: o, colors: i } } var zr, Wr, qr = a({ service: “switcher-templates” }), Ur = { “fr-ca”: “fr”, “pt-br”: “pt”, nb: “no”, gl: “es”, tl: “fl”, yue: “zh” }, Fr = null === (zr = X.TRANSLATION) || void 0 === zr ? void 0 : zr.split(“.”).slice(0, -1).join(“.”), Hr = null === (Wr = X.SWITCHER) || void 0 === Wr ? void 0 : Wr.split(“.”).slice(0, -1).join(“.”); window.location.hostname.includes(Fr) || window.location.hostname.includes(Hr); var Br = { af: [“Taal”, “Taal gekies”, “Taallys”, “Taalwisselaar”], am: [“ቋንቋ”, “ቋንቋ ተመርጧል”, “የቋንቋ ዝርዝር”, “የቋንቋ ማቀያየሪያ”], ar: [“اللغة”, “اللغة المحددة”, “قائمة اللغات”, “مبدل اللغة”], az: [“Dil”, “Seçilmiş dil”, “Dil siyahısı”, “Dil dəyişdirici”], ba: [“Тел”, “Һайланған тел”, “Телдәр исемлеге”, “Тел алмаштырғыс”], be: [“Мова”, “Абраная мова”, “Спіс моў”, “Пераключальнік моў”], bg: [“Език”, “Избран език”, “Списък с езици”, “Превключвател на езици”], bn: [“ভাষা”, “নির্বাচিত ভাষা”, “ভাষার তালিকা”, “ভাষা পরিবর্তক”], bs: [“Jezik”, “Odabrani jezik”, “Lista jezika”, “Prekidač jezika”], ca: [“Idioma”, “Idioma seleccionat”, “Llista d’idiomes”, “Selector d’idiomes”], co: [“Lingua”, “Lingua selezziunata”, “Lista di lingue”, “Cambiadoru di lingua”], cs: [“Jazyk”, “Vybraný jazyk”, “Seznam jazyků”, “Přepínač jazyků”], cy: [“Iaith”, “Iaith ddewiswyd”, “Rhestr ieithoedd”, “Newidydd iaith”], da: [“Sprog”, “Valgt sprog”, “Sprogliste”, “Sprogskifter”], de: [“Sprache”, “Ausgewählte Sprache”, “Sprachliste”, “Sprachumschalter”], el: [“Γλώσσα”, “Επιλεγμένη γλώσσα”, “Λίστα γλωσσών”, “Μεταγωγέας γλώσσας”], en: [“Language”, “Language selected”, “Language list”, “Language Switcher”], eo: [“Lingvo”, “Elektita lingvo”, “Lingvolisto”, “Lingvoŝaltilo”], es: [“Idioma”, “Idioma seleccionado”, “Lista de idiomas”, “Selector de idioma”], et: [“Keel”, “Valitud keel”, “Keelte loend”, “Keele vahetur”], eu: [“Hizkuntza”, “Aukeratutako hizkuntza”, “Hizkuntza zerrenda”, “Hizkuntza aldagailua”], fa: [“زبان”, “زبان انتخاب شده”, “فهرست زبان‌ها”, “تغییردهنده زبان”], fi: [“Kieli”, “Valittu kieli”, “Kielilista”, “Kielivalitsin”], fj: [“Vosa”, “Vosa sa mai veisau”, “Tikina ni vosa”, “Vakavosa”], fl: [“Wika”, “Napiling wika”, “Listahan ng wika”, “Tagapili ng wika”], fr: [“Langue”, “Langue sélectionnée”, “Liste des langues”, “Sélecteur de langue”], fy: [“Taal”, “Taal selektearre”, “Taallist”, “Taalwisseler”], ga: [“Teanga”, “Teanga roghnaithe”, “Liosta teangacha”, “Athraí teanga”], gd: [“Cànan”, “Cànan taghte”, “Liosta chànanan”, “Atharraichear cànan”], gu: [“ભાષા”, “પસંદ કરેલી ભાષા”, “ભાષાઓની સૂચી”, “ભાષા સ્વીચર”], ha: [“Harshe”, “Harshen da aka zaɓa”, “Jerin harsuna”, “Mai canza harshe”], he: [“שפה”, “שפה נבחרה”, “רשימת שפות”, “מחליף שפה”], hi: [“भाषा”, “चयनित भाषा”, “भाषा सूची”, “भाषा स्विचर”], hr: [“Jezik”, “Odabrani jezik”, “Popis jezika”, “Prekidač jezika”], ht: [“Lang”, “Lang chwazi”, “Lis lang”, “Chanjè lang”], hu: [“Nyelv”, “Kiválasztott nyelv”, “Nyelvlista”, “Nyelvválasztó”], hw: [“ʻŌlelo”, “ʻŌlelo i koho ʻia”, “Papa inoa ʻōlelo”, “Mea hoʻololi ʻōlelo”], hy: [“Լեզու”, “Ընտրված լեզու”, “Լեզուների ցանկ”, “Լեզվի փոխարկիչ”], id: [“Bahasa”, “Bahasa yang dipilih”, “Daftar bahasa”, “Pengganti bahasa”], ig: [“Asụsụ”, “Asụsụ ahọpụtara”, “Ndepụta asụsụ”, “Onye na-agbanwe asụsụ”], is: [“Tungumál”, “Valið tungumál”, “Tungumálalisti”, “Tungumálaskiptir”], it: [“Lingua”, “Lingua selezionata”, “Elenco lingue”, “Selettore di lingua”], ja: [“言語”, “選択された言語”, “言語リスト”, “言語切替”], jv: [“Basa”, “Basa sing dipilih”, “Daftar basa”, “Pangganti basa”], ka: [“ენა”, “არჩეული ენა”, “ენების სია”, “ენის შემრჩევი”], kk: [“Тіл”, “Таңдалған тіл”, “Тілдер тізімі”, “Тіл ауыстырғышы”], km: [“ភាសា”, “ភាសាដែលបានជ្រើស”, “បញ្ជីភាសា”, “ឧបករណ៍ប្តូរភាសា”], kn: [“ಭಾಷೆ”, “ಆಯ್ಕೆ ಮಾಡಿದ ಭಾಷೆ”, “ಭಾಷೆಗಳ ಪಟ್ಟಿ”, “ಭಾಷಾ ಬದಲಾಯಿಸುವಿಕೆ”], ko: [“언어”, “선택된 언어”, “언어 목록”, “언어 전환기”], ku: [“Ziman”, “Zimanê hilbijartî”, “Lîsteya zimanan”, “Gûherênerê ziman”], ky: [“Тил”, “Тандалган тил”, “Тилдер тизмеси”, “Тил алмаштыргыч”], la: [“Lingua”, “Lingua selecta”, “Index linguarum”, “Linguae commutator”], lb: [“Sprooch”, “Ausgewielte Sprooch”, “Sproochleischt”, “Sproochwiessel”], lo: [“ພາສາ”, “ພາສາທີ່ເລືອກ”, “ລາຍການພາສາ”, “ຕົວປ່ຽນພາສາ”], lt: [“Kalba”, “Pasirinkta kalba”, “Kalbų sąrašas”, “Kalbų perjungiklis”], lv: [“Valoda”, “Izvēlētā valoda”, “Valodu saraksts”, “Valodu pārslēdzis”], lg: [“Lulimi”, “Lulimi oludde”, “Olukalala lw’ennimi”, “Okyusindika olulimi”], mg: [“Fiteny”, “Fiteny voafidy”, “Lisitry ny fiteny”, “Mpanova fiteny”], mi: [“Reo”, “Reo kua whiriwhiria”, “Rārangi reo”, “Kaiwhakawhiti reo”], mk: [“Јазик”, “Избран јазик”, “Список на јазици”, “Префрлувач на јазици”], ml: [“ഭാഷ”, “തിരഞ്ഞെടുത്ത ഭാഷ”, “ഭാഷകളുടെ പട്ടിക”, “ഭാഷ മാറ്റുന്നത്”], mn: [“Хэл”, “Сонгосон хэл”, “Хэлний жагсаалт”, “Хэл солигч”], mr: [“भाषा”, “निवडलेली भाषा”, “भाषा यादी”, “भाषा स्विचर”], ms: [“Bahasa”, “Bahasa yang dipilih”, “Senarai bahasa”, “Penukar bahasa”], mt: [“Lingwa”, “Lingwa magħżula”, “Lista ta’ lingwi”, “Bidla tal-lingwa”], my: [“ဘာသာစကား”, “ရွေးချယ်ထားသော ဘာသာစကား”, “ဘာသာစကားစာရင်း”, “ဘာသာစကား ပြောင်းလဲသူ”], ne: [“भाषा”, “चयन गरिएको भाषा”, “भाषा सूची”, “भाषा स्विचर”], nl: [“Taal”, “Geselecteerde taal”, “Taallijst”, “Taalwisselaar”], no: [“Språk”, “Valgt språk”, “Språkliste”, “Språkvelger”], ny: [“Chiyankhulo”, “Chiyankhulo chosankhidwa”, “Mndandanda wa ziyankhulo”, “Wosintha chiyankhulo”], pa: [“ਭਾਸ਼ਾ”, “ਚੁਣੀ ਗਈ ਭਾਸ਼ਾ”, “ਭਾਸ਼ਾਵਾਂ ਦੀ ਸੂਚੀ”, “ਭਾਸ਼ਾ ਸਵਿਚਰ”], pl: [“Język”, “Wybrany język”, “Lista języków”, “Przełącznik języka”], ps: [“ژبه”, “غوره شوې ژبه”, “د ژبو لیست”, “د ژبې بدلونکی”], pt: [“Idioma”, “Idioma selecionado”, “Lista de idiomas”, “Selector de idioma”], ro: [“Limbă”, “Limbă selectată”, “Listă de limbi”, “Selector de limbă”], ru: [“Язык”, “Выбранный язык”, “Список языков”, “Переключатель языка”], sd: [“ٻولي”, “منتخب ٻولي”, “ٻولين جي فهرست”, “ٻولي بدلائيندڙ”], si: [“භාෂාව”, “තෝරාගත් භාෂාව”, “භාෂා ලැයිස්තුව”, “භාෂා මාරු කරන්නා”], sk: [“Jazyk”, “Vybraný jazyk”, “Zoznam jazykov”, “Prepínač jazykov”], sl: [“Jezik”, “Izbrani jezik”, “Seznam jezikov”, “Preklapljalnik jezikov”], sm: [“Gagana”, “Gagana ua filifilia”, “Lisi o gagana”, “Suiga gagana”], sn: [“Mutauro”, “Mutauro wakasarudzwa”, “Rondedzero yemitauro”, “Mushanduri wemutauro”], so: [“Afka”, “Afka la doortay”, “Liiska afafka”, “Beddelaha afka”], sq: [“Gjuha”, “Gjuha e zgjedhur”, “Lista e gjuhëve”, “Ndryshuesi i gjuhës”], sr: [“Језик”, “Изабрани језик”, “Списак језика”, “Прекидач језика”], “sr-latn”: [“Jezik”, “Izabrani jezik”, “Spisak jezika”, “Prekidač jezika”], st: [“Puo”, “Puo e khethiloeng”, “Lenane la lipuo”, “Mofetoli oa puo”], su: [“Basa”, “Basa anu dipilih”, “Daptar basa”, “Pangganti basa”], sv: [“Språk”, “Valt språk”, “Språklista”, “Språkväljare”], sw: [“Lugha”, “Lugha iliyochaguliwa”, “Orodha ya lugha”, “Kibadilisha lugha”], ta: [“மொழி”, “தேர்ந்தெடுக்கப்பட்ட மொழி”, “மொழிகளின் பட்டியல்”, “மொழி மாற்றி”], te: [“భాష”, “ఎంచుకున్న భాష”, “భాషల జాబితా”, “భాష మార్పిడి”], tg: [“Забон”, “Забони интихобшуда”, “Рӯйхати забонҳо”, “Табдилдиҳандаи забон”], th: [“ภาษา”, “ภาษาที่เลือก”, “รายการภาษา”, “ตัวเปลี่ยนภาษา”], to: [“Lea”, “Lea filifilia”, “Lisi ʻo lea”, “Fetongi lea”], tr: [“Dil”, “Seçilen dil”, “Dil listesi”, “Dil değiştirici”], tt: [“Тел”, “Сайланган тел”, “Телләр исемлеге”, “Тел алыштыргычы”], “zh-tw”: [“語言”, “已選擇的語言”, “語言列表”, “語言切換器”], ty: [“Reo”, “Reo i māʻiri”, “Tāʻiraʻa reo”, “Fetuaʻa reo”], uk: [“Мова”, “Вибрана мова”, “Список мов”, “Перемикач мови”], ur: [“زبان”, “منتخب زبان”, “زبانوں کی فہرست”, “زبان تبدیل کنندہ”], uz: [“Til”, “Tanlangan til”, “Tillar ro’yxati”, “Til o’zgartirgich”], vi: [“Ngôn ngữ”, “Ngôn ngữ đã chọn”, “Danh sách ngôn ngữ”, “Bộ chuyển đổi ngôn ngữ”], xh: [“Ulwimi”, “Ulwimi olukhethiweyo”, “Uluhlu lweelwimi”, “Uguquli lolwimi”], yi: [“שפּראַך”, “אויסגעקליבענע שפּראַך”, “שפּראַכן רשימה”, “שפּראַך ווייכער”], yo: [“Èdè”, “Èdè tí a yàn”, “Àtòjọ èdè”, “Olùyípadà èdè”], zh: [“语言”, “已选择的语言”, “语言列表”, “语言切换器”], zu: [“Ulimi”, “Ulimi olukhethiwe”, “Uhlu lwezilimi”, “Isiguquli solimi”], hmn: [“Lus”, “Lus xaiv”, “Npe lus”, “Kev hloov lus”], ceb: [“Pinulongan”, “Piniling pinulongan”, “Lista sa pinulongan”, “Mangbalhin sa pinulongan”], or: [“ଭାଷା”, “ବଚିତ ଭାଷା”, “ଭାଷା ତାଲିକା”, “ଭାଷା ସ୍ୱିଚ୍”], tk: [“Dil”, “Saýlanan dil”, “Diller sanawy”, “Dil üýtgediji”], ug: [“تىل”, “تاللانغان تىل”, “تىللار تىزىمى”, “تىل ئالماشتۇرغۇچ”], as: [“ভাষা”, “নিৰ্বাচিত ভাষা”, “ভাষাৰ তালিকা”, “ভাষা পৰিৱৰ্তনকাৰী”], om: [“Afaan”, “Afaan filatame”, “Gartuu afaanota”, “Jijjiira afaanii”], iu: [“ᐅᖃᐅᓯᖅ”, “ᐅᖃᐅᓯᖅ ᐊᑕᐅᓯᖅᑕᐅᓂᖓ”, “ᐅᖃᐅᓯᖅ ᑎᑎᕋᐅᓯᖅ”, “ᐅᖃᐅᓯᖅ ᐊᓕᓐᓂᐊᖅᑎ”], ti: [“ቋንቋ”, “ተመርጸሉ ቋንቋ”, “ዝርዝር ቋንቋ”, “ምልዕዓል ቋንቋ”], bm: [“Kan”, “Kan sɔrɔ”, “Kanw ka tɔgɔ”, “Kan furakɛla”], bo: [“སྐད་ཡིག”, “གདམ་པ་བཏབ་པའི་སྐད་ཡིག”, “སྐད་ཡིག་གི་ཐོ་ཡིག”, “སྐད་ཡིག་བརྗེ་སྒྱུར་བྱེད་པ”], ak: [“Kasa”, “Kasa a wɔpaw”, “Kasa ahorow”, “Kasa akyerɛkyerɛfo”], rw: [“Ururimi”, “Ururimi rwatoranywe”, “Urutonde rw’indimi”, “Guhindura ururimi”], kb: [“زمان”, “زمانی هەڵبژێردراو”, “لیستی زمانەکان”, “گۆڕەری زمان”], fo: [“Mál”, “Valt mál”, “Málalisti”, “Málaskiftari”], il: [“Pagsasao”, “Napili a pagsasao”, “Listaan ti pagsasao”, “Agbalbaliw ti pagsasao”], ay: [“Aru”, “Aru ajllïta”, “Aru yati”, “Aru mayjt’ayaña”], dv: [“ބަސް”, “ޚިޔާރު ކުރެވި ބަސް”, “ބަސްތަކުގެ ލިސްޓު”, “ބަސް ބަދަލުކުރުން”], ee: [“Gbe”, “Gbe si wotsɔ”, “Gbe ƒe xexlẽme”, “Gbe fetɔ”], gn: [“Ñe’ẽ”, “Ñe’ẽ poravopyre”, “Ñe’ẽ rysýi”, “Ñe’ẽ moambueha”], ln: [“Lokótá”, “Lokótá ya kopónama”, “Nkásá ya malokótá”, “Mobongoli ya lokótá”], qu: [“Rimay”, “Akllasqa rimay”, “Rimaykuna lista”, “Rimay tikray”], ts: [“Ririmi”, “Ririmi ro ngeletiwa”, “Nhongoloko ya tirimi”, “Muxanisi wa ririmi”], oc: [“Lenga”, “Lenga seleccionada”, “Lista de lengas”, “Cambiador de lenga”], mh: [“Kajin”, “Kajin eo kilej”, “Kajin kōj”, “Kajin jukjuk”], chk: [“Kapen”, “Kapen e kilej”, “Kapen kōj”, “Kapen jukjuk”] }, Vr = { af: { name: “Afrikaans”, flag: “za”, rtl: !1 }, am: { name: “አማርኛ”, flag: “et”, rtl: !1 }, ar: { name: “العربية‏”, flag: “sa”, rtl: !0 }, az: { name: “Azərbaycan dili”, flag: “az”, rtl: !1 }, ba: { name: “башҡорт теле”, flag: “ru”, rtl: !1 }, be: { name: “Беларуская”, flag: “by”, rtl: !1 }, bg: { name: “Български”, flag: “bg”, rtl: !1 }, bn: { name: “বাংলা”, flag: “bd”, rtl: !1 }, “pt-br”: { name: “Português Brasileiro”, flag: “br”, rtl: !1 }, bs: { name: “Bosanski”, flag: “ba”, rtl: !1 }, ca: { name: “Català”, flag: “es-ct”, rtl: !1 }, co: { name: “Corsu”, flag: “fr-co”, rtl: !1 }, cs: { name: “Čeština”, flag: “cz”, rtl: !1 }, cy: { name: “Cymraeg”, flag: “gb-wls”, rtl: !1 }, da: { name: “Dansk”, flag: “dk”, rtl: !1 }, de: { name: “Deutsch”, flag: “de”, rtl: !1 }, el: { name: “Ελληνικά”, flag: “gr”, rtl: !1 }, en: { name: “English”, flag: “gb”, rtl: !1 }, eo: { name: “Esperanto”, flag: “eo”, rtl: !1 }, es: { name: “Español”, flag: “es”, rtl: !1 }, et: { name: “Eesti”, flag: “ee”, rtl: !1 }, eu: { name: “Euskara”, flag: “es-pv”, rtl: !1 }, fa: { name: “فارسی”, flag: “ir”, rtl: !0 }, fi: { name: “Suomi”, flag: “fi”, rtl: !1 }, fj: { name: “Vosa Vakaviti”, flag: “fj”, rtl: !1 }, fl: { name: “Filipino”, flag: “ph”, rtl: !1 }, fr: { name: “Français”, flag: “fr”, rtl: !1 }, fy: { name: “frysk”, flag: “nl”, rtl: !1 }, ga: { name: “Gaeilge”, flag: “ie”, rtl: !1 }, gd: { name: “Gàidhlig”, flag: “gb-sct”, rtl: !1 }, gl: { name: “Galego”, flag: “es-ga”, rtl: !1 }, gu: { name: “ગુજરાતી”, flag: “in”, rtl: !1 }, ha: { name: “هَوُسَ”, flag: “ne”, rtl: !1 }, he: { name: “עברית”, flag: “il”, rtl: !0 }, hi: { name: “हिंदी”, flag: “in”, rtl: !1 }, hr: { name: “Hrvatski”, flag: “hr”, rtl: !1 }, ht: { name: “Kreyòl ayisyen”, flag: “ht”, rtl: !1 }, hu: { name: “Magyar”, flag: “hu”, rtl: !1 }, hw: { name: “‘Ōlelo Hawai‘i”, flag: “hw”, rtl: !1 }, hy: { name: “հայերեն”, flag: “am”, rtl: !1 }, id: { name: “Bahasa Indonesia”, flag: “id”, rtl: !1 }, ig: { name: “Igbo”, flag: “ne”, rtl: !1 }, is: { name: “Íslenska”, flag: “is”, rtl: !1 }, it: { name: “Italiano”, flag: “it”, rtl: !1 }, ja: { name: “日本語”, flag: “jp”, rtl: !1 }, jv: { name: “Wong Jawa”, flag: “id”, rtl: !1 }, ka: { name: “ქართული”, flag: “ge”, rtl: !1 }, kk: { name: “Қазақша”, flag: “kz”, rtl: !1 }, km: { name: “ភាសាខ្មែរ”, flag: “kh”, rtl: !1 }, kn: { name: “ಕನ್ನಡ”, flag: “in”, rtl: !1 }, ko: { name: “한국어”, flag: “kr”, rtl: !1 }, ku: { name: “كوردی”, flag: “iq”, rtl: !0 }, ky: { name: “кыргызча”, flag: “kg”, rtl: !1 }, la: { name: “Latine”, flag: “it”, rtl: !1 }, lb: { name: “Lëtzebuergesch”, flag: “lu”, rtl: !1 }, lo: { name: “ພາສາລາວ”, flag: “la”, rtl: !1 }, lt: { name: “Lietuvių”, flag: “lt”, rtl: !1 }, lv: { name: “Latviešu”, flag: “lv”, rtl: !1 }, lg: { name: “Oluganda”, flag: “ug”, rtl: !1 }, mg: { name: “Malagasy”, flag: “mg”, rtl: !1 }, mi: { name: “te reo Māori”, flag: “nz”, rtl: !1 }, mk: { name: “Македонски”, flag: “mk”, rtl: !1 }, ml: { name: “മലയാളം”, flag: “in”, rtl: !1 }, mn: { name: “Монгол”, flag: “mn”, rtl: !1 }, mr: { name: “मराठी”, flag: “in”, rtl: !1 }, ms: { name: “Bahasa Melayu”, flag: “my”, rtl: !1 }, mt: { name: “Malti”, flag: “mt”, rtl: !1 }, my: { name: “မြန်မာစာ”, flag: “mm”, rtl: !1 }, ne: { name: “नेपाली”, flag: “np”, rtl: !1 }, nl: { name: “Nederlands”, flag: “nl”, rtl: !1 }, no: { name: “Norsk”, flag: “no”, rtl: !1 }, ny: { name: “chiCheŵa”, flag: “mw”, rtl: !1 }, pa: { name: “ਪੰਜਾਬੀ”, flag: “in”, rtl: !1 }, pl: { name: “Polski”, flag: “pl”, rtl: !1 }, ps: { name: “پښتو”, flag: “pk”, rtl: !0 }, pt: { name: “Português”, flag: “pt”, rtl: !1 }, ro: { name: “Română”, flag: “ro”, rtl: !1 }, ru: { name: “Русский”, flag: “ru”, rtl: !1 }, sd: { name: ‘”سنڌي، سندھی, सिन्धी”‘, flag: “pk”, rtl: !1 }, si: { name: “සිංහල”, flag: “lk”, rtl: !1 }, sk: { name: “Slovenčina”, flag: “sk”, rtl: !1 }, sl: { name: “Slovenščina”, flag: “si”, rtl: !1 }, sm: { name: ‘”gagana fa’a Samoa”‘, flag: “ws”, rtl: !1 }, sn: { name: “chiShona”, flag: “zw”, rtl: !1 }, so: { name: “Soomaaliga”, flag: “so”, rtl: !1 }, sq: { name: “Shqip”, flag: “al”, rtl: !1 }, sr: { name: “Српски”, flag: “rs”, rtl: !1 }, st: { name: “seSotho”, flag: “ng”, rtl: !1 }, su: { name: “Sundanese”, flag: “sd”, rtl: !1 }, sv: { name: “Svenska”, flag: “se”, rtl: !1 }, sw: { name: “Kiswahili”, flag: “ke”, rtl: !1 }, ta: { name: “தமிழ்”, flag: “in”, rtl: !1 }, te: { name: “తెలుగు”, flag: “in”, rtl: !1 }, tg: { name: “Тоҷикӣ”, flag: “tj”, rtl: !1 }, th: { name: “ภาษาไทย”, flag: “th”, rtl: !1 }, tl: { name: “Tagalog”, flag: “ph”, rtl: !1 }, to: { name: “faka-Tonga”, flag: “to”, rtl: !1 }, tr: { name: “Türkçe”, flag: “tr”, rtl: !1 }, tt: { name: “Tatar”, flag: “tr”, rtl: !1 }, “zh-tw”: { name: “中文 (繁體)”, flag: “tw”, rtl: !1 }, ty: { name: ‘”te reo Tahiti, te reo Māʼohi”‘, flag: “pf”, rtl: !1 }, uk: { name: “Українська”, flag: “ua”, rtl: !1 }, ur: { name: “اردو”, flag: “pk”, rtl: !0 }, uz: { name: ‘”O’zbek”‘, flag: “uz”, rtl: !1 }, vi: { name: “Tiếng Việt”, flag: “vn”, rtl: !1 }, xh: { name: “isiXhosa”, flag: “za”, rtl: !1 }, yi: { name: “ייִדיש”, flag: “il”, rtl: !1 }, yo: { name: “Yorùbá”, flag: “ng”, rtl: !1 }, zh: { name: “中文 (简体)”, flag: “cn”, rtl: !1 }, zu: { name: “isiZulu”, flag: “za”, rtl: !1 }, hmn: { name: “Hmoob”, flag: “hmn”, rtl: !1 }, ceb: { name: “Sugbuanon”, flag: “ph”, rtl: !1 }, or: { name: “ଓଡ଼ିଆ”, flag: “in”, rtl: !1 }, tk: { name: “Türkmen”, flag: “tr”, rtl: !1 }, ug: { name: “ئۇيغۇر”, flag: “uig”, rtl: !0 }, “fr-ca”: { name: “Français (Canada)”, flag: “ca”, rtl: !1 }, as: { name: “অসমীয়া”, flag: “in”, rtl: !1 }, “sr-latn”: { name: “Srpski”, flag: “rs”, rtl: !1 }, om: { name: “Afaan Oromoo”, flag: “et”, rtl: !1 }, iu: { name: “ᐃᓄᒃᑎᑐᑦ”, flag: “ca”, rtl: !1 }, ti: { name: “ቲግሪንያ”, flag: “er”, rtl: !1 }, bm: { name: “Bamanankan”, flag: “ml”, rtl: !1 }, bo: { name: “བོད་ཡིག”, flag: “cn”, rtl: !1 }, ak: { name: “Baoulé”, flag: “gh”, rtl: !1 }, rw: { name: “Kinyarwanda”, flag: “rw”, rtl: !1 }, kb: { name: “سۆرانی”, flag: “iq”, rtl: !0 }, fo: { name: “Føroyskt”, flag: “fo”, rtl: !1 }, il: { name: “Ilokano”, flag: “ph”, rtl: !1 }, ay: { name: “Aymara”, flag: “bo”, rtl: !1 }, dv: { name: “ދިވެހި”, flag: “mv”, rtl: !0 }, ee: { name: “Eʋegbe”, flag: “gh”, rtl: !1 }, gn: { name: ‘”Avañe’ẽ”‘, flag: “py”, rtl: !1 }, ln: { name: “Lingála”, flag: “cd”, rtl: !1 }, qu: { name: “Runa Simi”, flag: “pe”, rtl: !1 }, ts: { name: “Xitsonga”, flag: “za”, rtl: !1 }, oc: { name: “Occitan”, flag: “fr”, rtl: !1 }, nb: { name: “Norsk Bokmål”, flag: “no”, rtl: !1 }, yue: { name: “粵語”, flag: “hk”, rtl: !1 }, mh: { name: “Kajin M̧ajeļ”, flag: “mh”, rtl: !1 }, chk: { name: “Chuuk”, flag: “fm”, rtl: !1 } }; function $r(e) { if (!e || !e.toLowerCase) return “Unknown”; var t = E.find(function (t) { return t.previous === e }); t && (e = t.new); var n = e.toLowerCase(), r = K.languages.find(function (e) { var t = e.language_to, r = e.custom_code; return t === n || (r ? r.toLowerCase() === n : void 0) }); return (null == r ? void 0 : r.custom_local_name) ? r.custom_local_name : (null == r ? void 0 : r.custom_name) ? r.custom_name : n === K.language_from && K.language_from_custom_name ? K.language_from_custom_name : Vr[n] ? Vr[n].name : “Unknown” } function Gr(e, t) { var n = E.find(function (t) { return t.previous === e }); return n && (e = n.new), t[e] ? t[e].flag : “” } function Kr(e) { return function (e, t, n) { if (!e || !e.toLowerCase) return “”; if (t.language_from === e) return t.language_from_custom_flag || Gr(e, n); var r = e.toLowerCase(), a = t.languages.find(function (e) { var t = e.language_to, n = e.custom_code; return t === r || n && n.toLowerCase() === r }); return a ? a.custom_flag || Gr(a.language_to, n) : “” }(e, K, Vr) } function Jr() { if (je(K.technology_name) && K.injectedData && !K.is_connect) { var e = K.injectedData.current_language, t = K.languages.find(function (t) { return t.language_to === e }); return t && t.custom_code || e } return !K.switcher_editor && !K.visual_editor || window.Weglot && window.Weglot.initialized ? window.Weglot.getCurrentLang() : K.language_from } function Xr(e, t, n) { return t < e ? e : t > n ? n : t } function Yr(e, t) { return t && 1 !== t ? Math.round(e * t * 100) / 100 : e } var Qr = 13, Zr = 27, ea = 38, ta = 40, na = 32; var ra = [“none”, “shiny”, “square”, “circle”, “rectangle_mat”]; function aa(e) { return e ? e.getBoundingClientRect() : { bottom: 0, height: 0, left: 0, right: 0, top: 0, width: 0 } } function oa() { var e = Jr(), t = Br[e] || Br[Ur[e]] || Br.en; return { language: t[0], languageSelected: t[1], languageList: t[2], languageSwitcher: t[3] } } function ia(e, t) { var n = window.innerWidth > 0 ? window.innerWidth : screen.width, r = t || 768; return “mobile” === e ? n <= r : n > r } function sa(e, t, n) { var r = jn(!1), a = r[0], o = r[1], i = e.style; void 0 === i && (i = {}); var s = e.colors; return void 0 === s && (s = {}), On(function () { var e = i.size_scale; if (e && 1 !== e) { var r, a, l, u = (r = t({ style: i, colors: s }), a = n, l = r.map(function (e) { var t = e.selector, n = e.declarations; return [“aside.country-selector.weglot_switcher.” + a + t + ” {“, Object.keys(n).map(function (e) { return “t” + e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, “$1-$2”).toLowerCase() + “: ” + n[e] + “;” }).join(“n”), “}”].join(“n”) }).join(“nn”), !K.custom_css || K.switcher_gallery ? l : l + “nn” + K.custom_css); !function (e, t) { if (e) { var n = document.querySelector(“style#weglot-switcher-” + t); if (n) n.textContent = e; else if (document.head) { var r = document.createElement(“style”); r.id = “weglot-switcher-” + t, r.textContent = e, document.head.appendChild(r) } } }(u, n), o(!0) } }, []), a } function la(e) { var t = e.close_outside_click; void 0 === t && (t = !1); var n = e.open_hover; void 0 === n && (n = !1); var r = function () { var e = jn(Jr()), t = e[0], n = e[1]; return On(function () { K.is_connect || je(K.technology_name) || K.switcher_editor || K.visual_editor || window.Weglot.on(“languageChanged”, function (e) { n(e) }) }, []), [t, n] }(), a = r[0], o = r[1], i = jn(!1), s = i[0], l = i[1], u = function (e) { var t = Nn(null); return On(function () { if (e) return document.addEventListener(“mousedown”, n), function () { document.removeEventListener(“mousedown”, n) }; function n(n) { t.current && !t.current.contains(n.target) && e() } }, [t]), t }(t && !n && k), c = Nn(null), d = xt().filter(function (e) { return e !== a }), f = jn(null), g = f[0], p = f[1], h = jn(!1), v = h[0], _ = h[1], m = jn(!1), y = m[0], w = m[1]; function b() { var e = aa(u.current), t = e.bottom; void 0 === t && (t = 0); var n = e.left; void 0 === n && (n = 0), w(t > window.innerHeight / 2), _(n > window.innerWidth / 2), l(!0) } function k() { l(!1), p(null) } function S() { return s ? k() : b() } function x(e) { o(e), function (e) { if (!K.switcher_gallery) je(K.technology_name) && K.injectedData && !K.is_connect ? Nr(e, function (e) { Q(window.location.hostname) ? window.dispatchEvent(new CustomEvent(“veLanguageChangeUrl”, { detail: { targetUrl: e } })) : window.location.replace(e) }) : window.Weglot.switchTo(e) }(e), l(!1) } return On(function () { g && c.current.scrollIntoView({ block: “center” }) }, [g]), { open: s, opensUpward: y, opensLeftward: v, language: a, otherLanguages: d, focusedLanguage: g, switcherContainerRef: u, focusedLanguageRef: c, handleMouseEnter: function () { n && b() }, handleMouseLeave: function () { n && k() }, handleKeyDown: function (e) { return e.keyCode === na || e.keyCode === Qr ? (e.preventDefault(), g && x(g), S()) : e.keyCode === ta || e.keyCode === ea ? (e.preventDefault(), void function (e) { var t = e === ta ? “down” : “up”, n = d.slice(-1).pop(), r = d[0], a = aa(u.current), o = a.bottom; void 0 === o && (o = 0); var i = o > window.innerHeight / 2; if (!g || !s) { return p(“down” === t ? r : n), void (!s && (“up” === t && i || “down” === t && !i) && b()) } if (!i && “up” === t && g === r || i && “down” === t && g === n) return void S(); var l = “up” === t ? -1 : 1, c = d.indexOf(g) + l; if (c === d.length || -1 === c) return; p(d[c]) }(e.keyCode)) : void (e.keyCode === Zr && s && (e.preventDefault(), S())) }, switchLanguage: x, toggleOpen: S } } var ua = pr(“div”)(function () { return { display: “flex”, justifyContent: “center” } }), ca = pr(“a”)(function () { return { padding: 0, height: “auto”, zIndex: 2, display: “block”, textDecoration: “none” } }), da = function (e) { var t = e.style, n = t && !t.full_name && !t.with_flags && !t.with_name; if (!(1 === K.category && 5 !== K.technology_id && 2 !== K.technology_id && !je(K.technology_name) && !n && !K.hide_switcher_watermark)) return null; var r = K.switcher_editor || K.visual_editor ? void 0 : “https://www.weglot.com/?utm_source=free_switcher”; return Bt(ua, { className: “wg-switcher-watermark” }, Bt(ca, { href: r, rel: “noreferrer”, target: “_blank” }, “by “, Bt(“strong”, null, “Weglot”))) }, fa = { rectangle_mat: { width: 30, height: 20 }, shiny: { width: 30, height: 20 }, circle: { width: 18, height: 18 }, square: { width: 24, height: 24 } }, ga = function (e) { var t = e.language, n = e.flagType; void 0 === n && (n = “circle”); var r = e.size_scale, a = Kr(t), o = fa[n] || {}, i = o.width, s = o.height; if (a) return Bt(“img”, { src: a.indexOf(“http”) > -1 ? a : “https://cdn.weglot.com/flags/” + n + “/” + a + “.svg”, width: Yr(i, r), height: Yr(s, r), className: “wg-flag”, role: “presentation”, alt: “” }) }, pa = function (e) { var t = e.styleOpts, n = e.language, r = e.onClick, a = e.legacyFlags, o = e.open; void 0 === o && (o = !1); var i = e.url, s = e.focusedLanguage, l = e.isSelected; void 0 === l && (l = !1); var u = e.focusRef; void 0 === u && (u = null); var c = t.with_name; void 0 === c && (c = !0); var d = t.full_name; void 0 === d && (d = !0); var f = t.with_flags, g = t.size_scale, p = t.flag_type, h = oa(), v = !!s && n === s, _ = d ? $r(n) : n.toUpperCase(), m = l ? “div” : “li”, y = ra.indexOf(p || “rectangle_mat”), w = f ? ” wg-flags” + (a ? ” flag-” + y + ” legacy” : “”) : “”, b = v && !l ? ” focus” : “”, k = l ? ” wgcurrent” : “”; return Bt(m, Object.assign({}, { “data-l”: n, onClick: function (e) { return function (e, t) { e.preventDefault(), r(t) }(e, n) }, tabIndex: 0, className: “wg-li ” + n + k + w + b }, l ? { role: “combobox”, “aria-activedescendant”: s ? “weglot-language-” + s : “”, “aria-label”: h.languageSwitcher, “aria-expanded”: o, “aria-controls”: “weglot-listbox” } : { role: “option”, id: “wg-” + n }), Bt(“a”, Object.assign({}, l && { target: “_self” }, { href: i }, !c && { “aria-label”: _ }, v && !l && { ref: u }, { id: “weglot-language-” + n, lang: n, tabIndex: -1 }), f && !a && Bt(ga, { language: n, flagType: p, size_scale: g }), c && _)) }; function ha(e) { var t = e.style.size_scale, n = function (e) { return Yr(e, t) }; return [{ selector: “.wg-drop ul”, declarations: { top: n(38) + “px”, bottom: “auto” } }, { selector: ” .wg-switcher-watermark a”, declarations: { fontSize: n(14) + “px”, color: “black” } }, { selector: ” .wg-switcher-watermark a:hover”, declarations: { color: “#0077b3” } }, { selector: “.wg-drop.weg-openup ul”, declarations: { bottom: n(38) + “px”, top: “auto” } }, { selector: ” a”, declarations: { fontSize: n(13) + “px” } }, { selector: “.wg-drop a img.wg-flag”, declarations: { height: n(30) + “px” } }, { selector: “.wg-drop .wg-li.wgcurrent”, declarations: { height: n(38) + “px”, display: “flex”, alignItems: “center” } }, { selector: “.wg-drop a”, declarations: { height: n(38) + “px” } }, { selector: ” .wgcurrent:after”, declarations: { height: n(38) + “px”, backgroundSize: n(9) + “px” } }, { selector: “.wg-drop .wgcurrent a”, declarations: { paddingRight: Xr(22, n(40), 40) + “px”, paddingLeft: Xr(5, n(10), 10) + “px” } }] } var va = “default”, _a = function (e, t) { return function (n) { var r = n || {}, a = r.style; void 0 === a && (a = {}); var o = r.opts; void 0 === o && (o = {}); var i = r.colors; void 0 === i && (i = {}); var s = Mr(t), l = s.style, u = s.opts, c = s.colors, d = document.createElement(“div”); !function (e, t) { var n, r, a; t == document && (t = document.documentElement), Lt.__ && Lt.__(e, t), n = t.__k, r = [], a = [], sn(t, e = t.__k = Bt($t, null, [e]), n || zt, zt, t.namespaceURI, n ? null : t.firstChild ? Et.call(t.childNodes) : null, r, n ? n.__e : t.firstChild, !1, a), un(r, e, a) }(Bt(vr, { logger: qr.error, displayError: !1 }, Bt(e, { style: Object.assign({}, l, a), opts: Object.assign({}, u, o), colors: Object.assign({}, c, i) })), d), d.classList.add(“weglot-container”), window.Weglot || (window.Weglot = {}), window.Weglot.switcherId || (window.Weglot.switcherId = 1); var f = String(window.Weglot.switcherId++); return d.setAttribute(“data-switcher-id”, f), d.id = “weglot-switcher-” + f, d } }(function (e) { var t = e.style, n = e.opts, r = la(n), a = r.open, o = r.opensUpward, i = r.opensLeftward, s = r.language, l = r.focusedLanguage, u = r.switcherContainerRef, c = r.focusedLanguageRef, d = r.handleMouseEnter, f = r.handleMouseLeave, g = r.handleKeyDown, p = r.switchLanguage, h = r.toggleOpen, v = function () { var e = xt(), t = jn(e.reduce(function (e, t) { var n; return Object.assign({}, e, ((n = {})[t] = “”, n)) }, {})), n = t[0], r = t[1]; return On(function () { Promise.all(e.map(function (e) { return new Promise(function (t) { return Nr(e, function (n) { return t({ l: e, url: n }) }) }) })).then(function (e) { return r(e.reduce(function (e, t) { var n, r = t.l, a = t.url; return Object.assign({}, e, ((n = {})[r] = a, n)) }, {})) }) }, []), n }(), _ = function (e) { var t = e.is_responsive, n = e.display_device, r = e.pixel_cutoff, a = jn(!t || ia(n, r)), o = a[0], i = a[1], s = function () { return i(ia(n, r)) }; return On(function () { if (t) return window.addEventListener(“resize”, s), function () { window.removeEventListener(“resize”, s) } }, [t, n, r]), o }(n); sa({ style: t }, ha, va); var m = Nn(null), y = jn(0), w = y[0], b = y[1]; On(function () { m && a && b(m.current.offsetWidth) }, [a, m]); var k = t.is_dropdown, S = t.invert_flags, x = oa(), E = k || S, L = !k && n.hide_selected_language, T = xt().filter(function (e) { return !E && !L || e !== s }), A = /background-position/i.test(K.custom_css) && !K.languages.some(function (e) { return e.custom_flag }), C = function () { for (var e, t, n = arguments, r = 0, a = “”, o = arguments.length; r < o; r++)(e = n[r]) && (t = hn(e)) && (a && (a += ” “), a += t); return a }({ open: a, closed: !a, “wg-drop”: k, “wg-list”: !k, “weg-openup”: o && a, “weg-openleft”: i && a }); return _ ? Bt(“aside”, { ref: u, “data-wg-notranslate”: !0, style: a && u && u.current && u.current.offsetWidth < w && { width: w }, onKeyDown: g, onMouseEnter: d, onMouseLeave: f, className: “weglot_switcher country-selector ” + va + ” ” + C, “aria-label”: x.languageSelected + “: ” + $r(s) }, E && !L && Bt(pa, { styleOpts: t, open: a, focusedLanguage: l, language: s, isSelected: !0, onClick: h, legacyFlags: A, url: “#” }), Bt(“ul”, { ref: m, role: “listbox”, id: “weglot-listbox”, “aria-label”: x.languageList, style: !a && t.is_dropdown && { display: “none” } }, T.map(function (e) { return Bt(pa, { language: e, url: e === s ? “#” : v[e], onClick: p, isSelected: e === s, focusedLanguage: l, key: “wg-” + e, focusRef: c, styleOpts: t, legacyFlags: A }) }), Bt(da, { style: t }))) : Bt($t, null) }, va), ma = function () { this.alreadyAddedSwitcher = !1, this.defaultSwitcher = null, this.defaultSwitcherTimeout = null, this.langSwitchers = [], this.detectedLinks = [] }; ma.prototype.getAlreadyAddedSwitcher = function () { return this.alreadyAddedSwitcher }, ma.prototype.setAlreadyAddedSwitcher = function (e) { this.alreadyAddedSwitcher = e }, ma.prototype.getDefaultSwitcher = function () { return this.defaultSwitcher }, ma.prototype.setDefaultSwitcher = function (e) { this.defaultSwitcher = e }, ma.prototype.getDefaultSwitcherTimeout = function () { return this.defaultSwitcherTimeout }, ma.prototype.setDefaultSwitcherTimeout = function (e) { this.defaultSwitcherTimeout = e }, ma.prototype.getLangSwitchers = function () { return this.langSwitchers }, ma.prototype.addLangSwitcher = function (e) { this.langSwitchers.push(e) }, ma.prototype.clearLangSwitchers = function () { this.langSwitchers.splice(0) }, ma.prototype.getDetectedLinks = function () { return this.detectedLinks }, ma.prototype.addDetectedLink = function (e) { this.detectedLinks.push(e) }, ma.prototype.findDetectedLink = function (e) { return this.detectedLinks.find(function (t) { return t.language === e }) }, ma.prototype.removeDetectedLink = function (e, t) { var n = this.findDetectedLink(e); if (n) { var r = n.links.indexOf(t); -1 !== r && n.links.splice(r, 1) } }, ma.prototype.clearDetectedLinks = function () { this.detectedLinks.splice(0) }, ma.prototype.reset = function () { this.alreadyAddedSwitcher = !1, this.defaultSwitcher = null, this.defaultSwitcherTimeout && clearTimeout(this.defaultSwitcherTimeout), this.defaultSwitcherTimeout = null, this.langSwitchers.splice(0), this.detectedLinks.splice(0) }; var ya = new ma; function wa(e, t) { return new Promise(function (n) { (function (e, t) { var n = e.name, r = e.hash, a = e.integrity; if (!n) return Promise.resolve(!1); if (function (e, t) { try { return e.querySelector(t) } catch (e) { return null } }(document.documentElement, “script#weglot-switcher-” + n)) return Promise.resolve(!1); var o = t.switcher_editor, i = t.visual_editor, s = t.use_template_integrity; return new Promise(function (e, l) { var u = !(null == t ? void 0 : t.switcher_editor) && r ? n + “.” + r : n, c = document.getElementsByTagName(“head”)[0] || document.documentElement, d = document.createElement(“script”); d.type = “text/javascript”, d.src = “https://cdn.weglot.com/switchers/” + u + “.min.js”, d.id = “weglot-switcher-” + n, s && !o && !i && a && (d.integrity = a, d.crossOrigin = “anonymous”), d.onload = function () { return e(!0) }, d.onerror = function () { return l(new Error(“Failed to load template: ” + n)) }, c.insertBefore(d, c.firstChild), o || i || e(!0) }) })(e, K).then(function (r) { var a, o; if (!r) { var i = null === (o = null === (a = window.Weglot) || void 0 === a ? void 0 : a.switchers) || void 0 === o ? void 0 : o[e.name]; (null == i ? void 0 : i.addSwitchers) && i.addSwitchers(t) } n() }).catch(function () { n() }) }) } function ba() { if (K.hide_switcher) return !1; if (ya.getAlreadyAddedSwitcher()) return !0; if (window.Weglot && window.Weglot.switchers) for (var e = 0, t = Object.keys(window.Weglot.switchers); e < t.length; e += 1) { var n = t[e]; if (window.Weglot.switchers[n].ready) return !0 } return !1 } function ka(e, t) { if (void 0 === t && (t = document.documentElement), e && !e.ready) { var n = e.style || K.button_style, r = e.location; void 0 === r && (r = {}); var a = function (e, t) { void 0 === e && (e = {}); var n = e.target, r = e.sibling; if (!n) return { defaultPosition: !0 }; var a = Array.from(ye(t, n)); if (!a.length) return { error: Te(n) ? “The provided target is not on this page.” : “The provided target is not a valid CSS selector.” }; var o, i = Array.from(ye(t, r)); if (!r || !i.length) return { targetNode: a[0], siblingNode: null }; var s = i.find(function (e) { return o = a.find(function (t) { return e.parentNode === t }), !!o }); return s && o ? { targetNode: o, siblingNode: s } : { error: “The provided sibling selector does not belong to target element.” } }(r, t); if (!(“error” in a)) { var i = _a(Object.assign({}, e, { style: n })); if (i.weglotSwitcher = e, ya.addLangSwitcher(i), “defaultPosition” in a) return i.classList.add(“wg-default”), document.body.appendChild(i), e.ready = !0, i; var s = a.targetNode, l = a.siblingNode; return i.setAttribute(“data-switcher-style-opt”, JSON.stringify(n)), s.insertBefore(i, l), e.ready = !0, function (e) { for (var t = 0, n = e.querySelectorAll(“.weglot-container:empty”); t < n.length; t += 1)c(n[t]) }(t), i } o.warn(a.error, { sendToDatadog: !1 }) } } function Sa(e) { var t, n, r = null === (n = null === (t = K.linkHooksConfig) || void 0 === t ? void 0 : t.buildAdditionalSelectors) || void 0 === n ? void 0 : n.call(t, e); return [“a[href=’#Weglot-” + e + “‘]”, “a[href*=’change-language.weglot.com/” + e + “‘]”].concat(r || []).join(“,”) } function xa(e) { var t = Mt[e]; if (t) return t } function Ea() { var e = s(C); e && c(e) } var La = [{ codes: [“no”], pattern: /^(nn|nb)(-[a-z]+)?$/i }, { codes: [“zh”], pattern: /^zh(-hans(-w{2})?)?(-(cn|sg))?$/i }, { codes: [“tw”, “zh-TW”], pattern: /^zh-(hant)?-?(tw|hk|mo)?$/i }, { codes: [“br”], pattern: /^pt-br$/i }, { codes: [“fl”], pattern: /^fil$/i }]; function Ta(e) { void 0 === e && (e = xt()); for (var t = {}, n = {}, r = 0, a = e; r < a.length; r += 1) { var o = a[r], i = o.toLowerCase(), s = i.substring(0, 2); t[s] || (t[s] = []), t[s].push(i), n[i] = o } for (var l = 0, u = navigator.languages || [navigator.language]; l < u.length; l += 1) { var c = u[l], d = c.toLowerCase(), f = d.substring(0, 2); if (n[d]) return n[d]; for (var g = 0, p = La; g < p.length; g += 1) { var h = p[g], v = h.codes, _ = h.pattern, m = v.find(function (t) { return e.includes(t) }); if (m && _.test(c)) return m } if (t[f]) { if (“zh” === f) continue; var y = t[f].indexOf(f); return y >= 0 ? n[t[f][y]] : n[t[f].shift()] } } } function Aa() { if (window.location.search.indexOf(“no_redirect=true”) > -1) Ca(We()); else if (!(!K.auto_switch || K.subdirectory && K.injectedData || br(“cookie”).getItem(“WG_CHOOSE_ORIGINAL”) || Le() || K.visual_editor)) { var e = Ta(); return e && !Ge(e) ? e : K.auto_switch_fallback && !Ge(K.auto_switch_fallback) ? K.auto_switch_fallback : void 0 } } function Ca(e) { if (e === K.language_from) { var t = new Date; t.setTime(t.getTime() + 2592e6), br(“cookie”).setItem(“WG_CHOOSE_ORIGINAL”, “1”, { expires: t.toUTCString() }) } else br(“cookie”).removeItem(“WG_CHOOSE_ORIGINAL”) } function ja() { var e = br().getItem(M); if (e && xt().includes(e)) return e } var Oa = function (e) { return e && br().setItem(M, e) }; function Na() { var e = s(“wg_progress”); e && c(e) } var Ra = []; function Pa() { return Ra } function Ia(e) { for (var t = [], n = 0, r = e; n < r.length; n += 1) { var a = r[n]; -1 === Ra.indexOf(a) && t.push(a) } return [].push.apply(Ra, t), t } function Da(e) { return ke(e).replace(/<[^>]*>/g, “”).replace(/[nr]+/g, “”) } var Ma = new Set, za = function (e) { return Ma.has(Da(e)) }, Wa = function (e) { return Ma.add(Da(e)) }, qa = !1; function Ua(e, t) { void 0 === e && (e = Pa()), void 0 === t && (t = {}); var n = K.prevent_retranslation, r = K.injectedData; void 0 === r && (r = {}); var a = K.is_connect; if (n && a && !qa) { var o = r.translatedWordsList; void 0 === o && (o = []), o.forEach(function (e) { return Wa(e) }), qa = !0 } for (var i = [], s = {}, l = 0, u = e; l < u.length; l += 1)for (var c = function () { var e = h[p], r = e.original, a = e.type, o = e.xpath; if (s[r]) { var l = i.find(function (e) { return e.w === r }); l && l.p && (l.p.find(function (e) { return e === o }) || l.p.push(o)) } else n && za(r) || (s[r] = !0, i.push(Object.assign({}, { t: a, w: r, p: [o] }, t.label || g ? { l: [t.label, g].filter(Boolean).map(function (e) { return e.slice(0, 255) }) } : {}))) }, d = u[l], f = d.weglot, g = d.translationLabel, p = 0, h = f.content; p < h.length; p += 1)c(); return i } function Fa(e, t, n) { var r; if (void 0 === t && (t = We()), void 0 === n && (n = Pa()), null === (r = null == e ? void 0 : e.to_words) || void 0 === r ? void 0 : r.length) for (var a = e.from_words, i = e.to_words, s = 0, l = n; s < l.length; s += 1) { var u = l[s].weglot; if (null == u ? void 0 : u.content) for (var c = 0, d = u.content; c < d.length; c += 1) { var f = d[c], g = f.original, p = f.translations, h = a.indexOf(ke(g)); if (-1 !== h && !p[t]) { var v = Se(i[h]); K.prevent_retranslation && Wa(v), p[t] = v } } } try { ct(n, t) } catch (e) { o.error(e) } } function Ha(e) { var t, n = e.body, r = e.options, a = e.logger, o = r.versions && r.versions.translation || 1, i = [“api_key=” + r.api_key, “v=” + o], s = “https://” + (r.api_domain || “cdn-api-weglot.com”) + “/translate?” + i.join(“&”), l = r.previewHash ? { “weglot-source”: “preview” } : {}; return fetch(s, { method: “POST”, body: (t = JSON.stringify(n), t.replace(/[u007F-uFFFF]/g, function (e) { return “\u” + (“0000” + e.charCodeAt(0).toString(16)).substr(-4) })), headers: l }).then(Ba).then(function (e) { return e.json() }).then(function (e) { if (!e || !e.to_words) throw a.warn(e, { sendToDatadog: !1 }), Error(“An error occurred, please try again later”); return e }) } function Ba(e) { if (400 === e.status) throw Error(“You reached Weglot limitation. Please upgrade your plan.”); if (401 === e.status) throw Error(“Your Weglot API key seems wrong.”); if (e.status >= 402) throw Error(e.statusText); return e } var Va = R + “-v”, $a = br(“local”), Ga = Xa($a.getItem(Va)), Ka = Xa($a.getItem(R)), Ja = {}; function Xa(e) { if (!e) return {}; var t = Rr(e); return !t || “object” != typeof t || Array.isArray(t) ? {} : t } try { Object.keys(Ka).forEach(function (e) { Object.keys(Ka[e]).forEach(function (t) { Object.keys(Ka[e][t]).forEach(function (n) { Ja[e] || (Ja[e] = {}), Ja[e][n] || (Ja[e][n] = {}); var r = Ka[e][t][n]; Ja[e][n][r] = t }) }) }) } catch (Bt) { Object.keys(Ka).forEach(function (e) { delete Ka[e] }), Object.keys(Ga).forEach(function (e) { delete Ga[e] }), Za() } function Ya(e, t) { return !(!Ja[K.api_key] || !Ja[K.api_key][t]) && Ja[K.api_key][t][e] } function Qa(e) { var t; return null === (t = Ka[K.api_key]) || void 0 === t ? void 0 : t[e] } function Za() { try { $a.setItem(Va, JSON.stringify(Ga)), $a.setItem(R, JSON.stringify(Ka)) } catch (e) { } } var eo = Ce(Za); var to = [{ $schema: “../../schemas/urls.schema.json”, title: “Shopify”, technology_id: 2, urls: [{ condition: [{ type: “PATH_MATCH”, payload: { type: “MATCH_REGEX”, value: “^/checkouts/(?:[\w]{32})(/.*)?$” } }], value: [{ original: “^/checkouts/(?:[\w]{32})(/.*)?$”, formatted: “/checkouts$1” }, { original: “^/account/(orders|activate)/(?:[\w]{32})$”, formatted: “/account/$1/” }, { original: “^/orders/(?:[\w]{32})$”, formatted: “/orders/” }, { original: “^/wallets/checkouts/(?:.*)$”, formatted: “/wallets/checkouts/” }, { original: “^/(.+)\.(json|xml)$”, formatted: “/$1” }] }] }]; function no(e) { return “string” != typeof e ? e : e.split(“,”).map(function (e) { return { language_to: e, provider: null, automatic_translation_enabled: !0 } }) } function ro(e) { return e ? “string” != typeof e ? e : e.split(“,”).filter(function (e) { return !!e }).map(function (e) { return { value: e, type: “CONTAIN” } }) : [] } function ao(e) { return e ? “string” != typeof e ? e : e.split(“,”).map(function (e) { return { value: e } }) : [] } function oo(e) { return “SUBDIRECTORY” === e.url_type && !!e.is_dns_set } function io(e) { var t; return oo(e) || !!(null === (t = e.languages) || void 0 === t ? void 0 : t.some(function (e) { return e.connect_host_destination && e.connect_host_destination.is_dns_set && e.connect_host_destination.created_on_aws })) } function so() { var e = l(); if (e) return delete e.settings, e } function lo(e, t, n) { if (!e) return !0; var r = e.type, a = e.payload; if (!a && “boolean” != typeof a) return !0; if (“URI_MATCH” === r && uo(t.url, a)) return !0; if (“HOST_MATCH” === r && uo(t.hostname, a)) return !0; if (“TRANSLATION_URL_MATCH” === r && uo(t.url, a)) return !0; if (“PATH_MATCH” === r && uo(t.pathname, a)) return !0; if (“INTEGRATION” === r) { var o = io(n); return “proxy” === a && o || “javascript” === a && !o } if (“DOM_CONTAINS” === r) { var i = a.selector; if (we(document, i)) return !0 } return “IN_FRAME” === r ? a === (“with-window-top” === Ee()) : (“object” == typeof a && “selector” in a && [“XML_ATTRIBUTE_VALUE”, “XML_ROOT_ELEMENT_NAME”].includes(r), !1) } var uo = function (e, t) { if (!t || “object” != typeof t || !(“type” in t) || !(“value” in t)) return !1; var n = t.type, r = t.value, a = Ve(e = e.toLocaleLowerCase()); return !(!a[n] || “function” != typeof a[n]) && a[n](r) }; function co(e, t) { if (!e || 0 === e.length) return !0; if (!Array.isArray(e)) return !1; for (var n = Oe(), r = 0, a = e; r < a.length; r += 1) { var o = a[r]; if (Array.isArray(o)) { if (o.every(function (e) { return lo(e, n, t) })) return !0 } else if (lo(o, n, t)) return !0 } return !1 } function fo() { var e = function () { if (K.visual_editor) return new _e(Oe().url); var e = K.technology_name, t = K.injectedData; if (e === I.wix.name) return new _e(window.location.href); if (t && t.originalCanonicalUrl) try { return new _e(t.originalCanonicalUrl) } catch (e) { } var n = document.querySelector(“link[rel=’canonical’][href]”); if (n) try { return new _e(n.href) } catch (e) { } return new _e(window.location.href) }(); K.disable_remove_numeric_slugs || (e.pathname = e.pathname.split(“/”).filter(function (e) { return !e || isNaN(Number(e)) }).join(“/”)); for (var t = 0, n = function () { var e, t, n = to.filter(function (e) { return !(t = e.technology_id) || t === K.technology_id; var t }).map(function (e) { return e.urls }), r = (null === (t = K.definitions) || void 0 === t ? void 0 : t.urls) || []; return (e = []).concat.apply(e, n.concat([r])).filter(function (e) { return co(e.condition, K) }) }(); t < n.length; t += 1) { var r = n[t].value; try { for (var a = 0, i = r; a < i.length; a += 1) { var s = i[a], l = s.original, u = s.formatted, c = e.pathname.replace(new RegExp(l), u); if (c !== e.pathname) return e.pathname = c, e.toString() } } catch (e) { o.warn(e, { consoleOverride: “Invalid URL regex, ” + e.stack }) } } return e.toString() } function go(e, t) { void 0 === t && (t = { search: !1, cdn: !1 }); var n, r, a = e.l_to, i = e.words, s = K.visual_editor || t.search || K.disable_local_cache, l = !s && (n = Ga[K.api_key], (r = n && n === K.versions.translation) || (delete Ka[K.api_key], delete Ga[K.api_key], delete Ja[K.api_key], Za()), r); if (!i || !i.length) return Promise.resolve({ to_words: [], from_words: [] }); if (l) { var u = function (e, t) { var n = [], r = []; return { isComplete: e.every(function (e) { var a = Qa(e.w); if (a && a[t]) return n.push(a[t]), r.push(ke(e.w)), !0 }), words: { to_words: n, from_words: r } } }(i, a), c = u.isComplete, d = u.words; if (c) return Promise.resolve(d) } return Ha({ body: Object.assign({}, e, { l_to: Be(a, K), request_url: fo() }), options: K, logger: o }).then(function (e) { return s || i.forEach(function (t, n) { var r, o, i, s, l, u, c = e.to_words[n]; r = t.w, o = c, i = a, l = K.api_key, (u = Qa(r)) ? u[i] = o : (Ka[l] || (Ka[l] = {}), Ka[l][r] = ((s = {})[i] = o, s)), Ja[l] || (Ja[l] = {}), Ja[l][i] || (Ja[l][i] = {}), Ja[l][i][o] = r, Ga[l] = K.versions.translation, eo() }), e }) } function po(e) { var t = e.words, n = e.targetLanguage, r = e.languageFrom, a = e.opts; a = Object.assign({}, { title: !0, cdn: !1, search: !1 }, a); var o = { l_from: r || K.language_from, l_to: n, words: t }; return a.title && (o.title = document.title), go(o, a) } function ho(e, t) { return po({ words: Ua(), targetLanguage: e }).then(function (n) { Ea(), Fa(n, e), document.documentElement.setAttribute(“lang”, e), H(“languageChanged”, e, t || “”), K.loading_bar && Na() }).catch(function (e) { throw K.loading_bar && Na(), Ea(), br().removeItem(M), e }) } function vo(e) { Fa(null, e), Ea(), document.documentElement.setAttribute(“lang”, e), K.loading_bar && Na() } var _o = {}, mo = function (e, t) { _o[e] || (_o[e] = []), _o[e].push(t) }, yo = function (e, t) { if (_o[e]) for (var n = 0, r = _o[e]; n < r.length; n += 1) { (0, r[n])(t) } }; function wo(e) { return !(!K.is_connect && !je(K.technology_name) || We() === e) && (!K.host || K.previewHash && window.location.hostname.includes(A) || function () { if (K.subdirectory) return [K.host].concat(Y); return K.languages.map(function (e) { var t; return null === (t = e.connect_host_destination) || void 0 === t ? void 0 : t.host }).concat([K.host].concat(Y)).filter(Boolean) }().includes(window.location.hostname) ? (Nr(e, function (e) { return window.location.replace(e) }), !0) : (Ee() || o.warn(‘”‘ + window.location.hostname + ‘” is not configured with Weglot. Please contact support@weglot.com’, { sendToDatadog: !1 }), !1)) } function bo(e, t) { if (!xt().includes(e)) return Ea(), void o.warn(e + ” isn’t a language you have added”, { sendToDatadog: !1 }); (K.auto_switch || K.geo_auto_switch) && Ca(e); var n = Ge(); if (K.is_connect || n || Oa(e), !wo(e)) { if (K.loading_bar && function () { try { var e = document.createElement(“div”); e.className = “wg-progress”, e.id = “wg_progress”, e.innerHTML = ”, document.body.appendChild(e) } catch (e) { } }(), function (e) { var t = xe(“lang”); if (t && t !== e) { var n = window.location.search.replace(“lang=” + t, “lang=” + e); try { window.history.replaceState(null, “”, window.location.pathname + n) } catch (e) { } } Re = e }(e), Ge()) return Ea(), void Na(); if (e === K.language_from) return yo(“onPageLanguageSet”, e), vo(e), void H(“languageChanged”, e, t || “”); ho(e, t), yo(“onPageLanguageSet”, e) } } function ko(e) { var t = We(); e !== t && (K.visual_editor ? Nr(e, function (n) { if (“#” === n) return bo(e, t); window.dispatchEvent(new CustomEvent(“veLanguageChangeUrl”, { detail: { targetUrl: n } })) }) : bo(e, t)) } function So(e) { return function (t) { t.preventDefault(), ko(e) } } function xo(e) { ya.getDetectedLinks().forEach(function (t) { var n = t.language, r = t.links, a = n === e, o = a ? “add” : “remove”, i = a ? “onLinkActive” : “offLinkActive”; r.forEach(function (e) { e.classList[o](“weglot-link–active”), K.linkHooksConfig && K.linkHooksConfig[i] && K.linkHooksConfig[i](e) }) }) } function Eo(e, t) { var n = ya.findDetectedLink(e); n && -1 !== n.links.indexOf(t) || (n || (n = { language: e, links: [], onLinkClick: So(e) }, ya.addDetectedLink(n)), t.setAttribute(j, “”), t.classList.add(“weglot-link”, “weglot-link-” + e), e === We() && (t.classList.add(“weglot-link–active”), K.linkHooksConfig && K.linkHooksConfig.onLinkActive && K.linkHooksConfig.onLinkActive(t)), Nr(e, function (e) { return t.setAttribute(“href”, e) }), t.addEventListener(“click”, n.onLinkClick), n.links.push(t)) } function Lo(e) { var t; void 0 === e && (e = document); var n = (null === (t = K.linkHooksConfig) || void 0 === t ? void 0 : t.additionalCheckSelectors) || []; if (!ye(e, [‘a[href^=”#Weglot-“]’, ‘a[href*=”change-language.weglot.com/”]’].concat(n).join(“,”)).length) return !1; for (var r = !1, a = 0, o = xt(); a < o.length; a += 1) { var i = o[a], s = ye(e, Sa(i)); if (s.length) { r = !0; for (var l = 0, u = s; l < u.length; l += 1) { Eo(i, u[l]) } } } return F(“languageChanged”, function (e) { return xo(e) }, !0), F(“initialized”, function () { var e = We(); e !== K.language_from && xo(e) }), r } function To(e) { var t = e.targetLanguage, n = e.currentLanguage, r = e.options, a = r.language_from, o = r.proxyFormat, i = r.api_key, s = r.subdirectory, l = r.host, u = r.languages; if (o === S) return “https://” + m + “/” + i + “/” + a + “/” + t + “/”; if (s) return “https://” + l + “/” + t + “/” + y + “/”; var c = u.find(function (e) { return e.custom_code === n || e.language_to === n }); return (null == c ? void 0 : c.connect_host_destination) ? “https://” + c.connect_host_destination.host + “/” + y + “/” : null } function Ao(e) { var t = e.langTo; void 0 === t && (t = We()); var n = e.node; void 0 === n && (n = document.documentElement); var r = K.proxify_iframes, a = K.api_key, o = K.language_from; if (r && r.length && Array.isArray(r)) for (var i = 0, s = ye(n, r.join(“,”)); i < s.length; i += 1) { var l = s[i], u = l.src; if (u) if (l.weglot || (l.weglot = {}), u.includes(O + “/”) || u.includes(“/” + N + “/”)) if (t && t !== o) { var c = new RegExp(a + “/” + o + “/[^/]+/”); l.src = u.replace(c, a + “/” + o + “/” + t + “/”) } else { var d = (l.weglot || {}).originalFrameSrc; d && (l.src = d) } else { if (l.weglot.originalFrameSrc || (l.weglot.originalFrameSrc = u), t === o) continue; try { var f = To({ targetLanguage: t, currentLanguage: We(), options: K }); f && (l.src = u.replace(/^https?:///, f)) } catch (e) { } } } } function Co(e) { if (!e) return “”; if (e.nodeType === Node.TEXT_NODE) return Co(e.parentElement); if (e.nodeType !== Node.ELEMENT_NODE) return “”; for (var t = [], n = e; n && n.nodeType === Node.ELEMENT_NODE;) { for (var r = 1, a = n.previousElementSibling; a;)a.tagName === n.tagName && r++, a = a.previousElementSibling; var o = n.tagName.toLowerCase(), i = r > 1 ? o + “[” + r + “]” : o; t.unshift(i), n = n.parentElement } var s = t.length > 0 ? “/” + t.join(“/”) : “”; return e.wgXPath = s, s } function jo(e, t) { void 0 === e && (e = document.documentElement); var n = We(); return Ze(e).filter(function (e) { return (t || Oo)(e) }).map(function (e) { return function (t) { var n = t.element, r = t.words, a = t.type, o = t.properties, i = t.attrSetter; n.weglot || (n.weglot = { content: [] }); var s = n.weglot, l = n.wgXPath || Co(n), u = {}, c = Ya(r, e); if (c && (u[e] = r, r = c), o) { var d = s.content.find(function (e) { return e.html }); d ? Object.assign(d, { original: r, properties: o, translations: u, currentLang: void 0, xpath: l }) : s.content.push({ html: !0, original: r, type: a, properties: o, translations: u, xpath: l }) } if (i) { var f = s.content.find(function (e) { return e.attrSetter === i }), g = { attrSetter: i, original: r, type: a, translations: u, currentLang: void 0, xpath: l }; f ? Object.assign(f, g) : s.content.push(g) } return n } }(n)) } function Oo(e) { var t = e.element, n = e.words; return !t.weglot || !t.weglot.content || !t.weglot.content.some(function (e) { var t, r = e.original, a = e.translations; return r === n || (t = a, Object.keys(t).map(function (e) { return t[e] })).includes(ke(n)) }) } var No = { times: [], timeout: null, nodes: [] }; function Ro(e) { void 0 === e && (e = []), No.timeout && clearTimeout(No.timeout); var t = We(); if (t === K.language_from) return Promise.resolve(); if (No.times = No.times.filter(function (e) { return e > Date.now() – 1e3 }), No.times.length && (No.timeout || No.times.length >= 10)) return No.nodes = No.nodes.concat(e), No.timeout = setTimeout(function () { return Ro() }, 1e3), Promise.resolve(); e.forEach(function (e) { e.translationLabel = “dynamic-selector: ” + Fe(e) }), No.timeout = null, No.times.push(Date.now()); var n = No.nodes.concat(e); return No.nodes = [], po({ words: Ua(n, { label: “Dynamic” }), targetLanguage: t, opts: { title: !1, cdn: !0, nodes: n } }).then(function (e) { return Fa(e, t, n) }) } try { var Po = Element.prototype.attachShadow; Element.prototype.attachShadow = function (e) { var t = Po.call(this, e); return Io([this]), t } } catch (Bt) { } function Io(e) { if (K.translate_shadow_roots && e) for (var t = 0, n = e; t < n.length; t += 1) { var r = n[t]; if (r.shadowRoot && !r.shadowRoot.wgTranslated) { r.shadowRoot.wgTranslated = !0, ti(r.shadowRoot); var a = jo(r.shadowRoot); a.length && (Ia(a), Ro(a.filter(function (e) { return Ue(e) }))) } } } function Do() { var e = ya; e.getAlreadyAddedSwitcher() || H(“switchersReady”, We()), e.setAlreadyAddedSwitcher(!0), Mo() } function Mo() { var e = ya.getDefaultSwitcherTimeout(); e && (clearTimeout(e), ya.setDefaultSwitcherTimeout(null)); var t = ya.getDefaultSwitcher(); t && (c(t), ya.setDefaultSwitcher(null)) } function zo() { var e = ya; e.getLangSwitchers().forEach(function (e) { return e.parentNode && e.parentNode.removeChild(e) }), Mo(), function () { for (var e, t, n, r = (null === (e = window.Weglot) || void 0 === e ? void 0 : e.switchers) || {}, a = 0, o = Object.keys(r); a < o.length; a += 1)null === (n = null === (t = r[o[a]]) || void 0 === t ? void 0 : t.removeSwitchers) || void 0 === n || n.call(t) }(), e.clearLangSwitchers(), e.setAlreadyAddedSwitcher(!1), K.button_style.ready = !1, K.switchers.map(function (e) { return e.ready = !1 }) } function Wo(e) { if (void 0 === e && (e = document), !(xt().length < 2 || K.hide_switcher || K.visual_editor || K.switcher_editor)) { var t = e.isConnected ? e : document; Lo(t) && Do(), function (e) { var t, n, r = e.querySelectorAll(“#weglot_here:not(.weglot-container),.weglot_here:not(.weglot-container)”); if (!r.length) return !1; for (var a = !1, i = 0, s = r; i < s.length; i += 1) { var l = s[i], u = null === (t = l.dataset) || void 0 === t ? void 0 : t.template, d = u && xa(u); if (!u || d) { if (d && “default” !== u) wa(d, e).then(function () { Do() }); else { var f = _a({ style: K.button_style }); f.classList.add(“weglot_here”), null === (n = l.parentNode) || void 0 === n || n.insertBefore(f, l), c(l) } a = !0 } else { var g = “Switcher template ” + u + ” not supported.”; o.warn(g, { sendToDatadog: !1 }) } } return a }(t) && Do(); for (var n = 0, r = K.switchers; n < r.length; n += 1) { var a = r[n]; if (!a.default) { var i = a.template; i && “default” !== i.name ? i.name && wa(i, t).then(function () { Do() }) : ka(a, t) && Do() } } if (!(s = ya).getAlreadyAddedSwitcher() && !s.getDefaultSwitcher()) { var s, l = K.switchers.find(function (e) { return e.default }) || { style: K.button_style || {}, location: { target: “”, sibling: “” } }, u = setTimeout(function () { var e = ka(l); e && ya.setDefaultSwitcher(e), H(“switchersReady”, We()) }); ya.setDefaultSwitcherTimeout(u) } } } function qo(e, t) { if (“string” != typeof e || “function” != typeof t) return !1; var n = We(); return n === K.language_from ? (t(e), !1) : (go({ l_from: Be(n, K), l_to: K.language_from, words: [{ t: 2, w: e }] }, { search: !0 }).then(function (e) { return e.to_words[0].toLowerCase().trim() }).then(t).catch(function () { t(e) }), !0) } F(“onCurrentLocationChanged”, function () { zo(), Wo() }, !0); var Uo = 0; function Fo() { var e = [“name”, “value”]; K.translate_event && K.translate_event.forEach(function (t) { for (var n = Array.from(ye(document.body, t.selector)), r = function () { var n = o[a]; if (n.wgListeningEventInput) return !n.wgListeningEventInput.isConnected && Uo < 10 && (Uo++, n.parentNode && n.parentNode.insertBefore(n.wgListeningEventInput, n.nextSibling)), {}; var r = n.cloneNode(!0); if (!r) return {}; r.name = “”, n.wgListeningEventInput = r, n.parentNode && n.parentNode.insertBefore(r, n.nextSibling), n.style.display = “none”, new MutationObserver(function (t) { for (var a = 0, o = t; a < o.length; a += 1) { var i = o[a]; if (i.attributeName) { var s = n.getAttribute(i.attributeName); e.includes(i.attributeName) && r.setAttribute(i.attributeName, s || “”) } } }).observe(n, { attributes: !0 }); var i = Ce(function (e) { 13 === e.keyCode && e.target.form ? e.target.form.dispatchEvent(new Event(“submit”)) : qo(e.target.value, function (e) { Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, “value”).set.call(n, e); var r = t.eventName || n.getAttribute(“data-wg-translate-event”) || “”, a = document.createEvent(“HTMLEvents”); a.initEvent(“focus”, !0, !1), n.dispatchEvent(a), a.initEvent(r, !0, !1), n.dispatchEvent(a) }) }, 400); r.addEventListener(“keydown”, i) }, a = 0, o = n; a < o.length; a += 1) { var i = r(); if (i) return i.v } }) } var Ho = null, Bo = []; function Vo(e, t) { Ho && clearTimeout(Ho); for (var n = 0, r = t; n < r.length; n += 1) { var a = r[n]; 1 === a.nodeType && Bo.push(a) } Bo.length && (Ho = setTimeout(function () { var t; Wo(e), Fo(), function (e) { if (K.is_connect && We() !== K.language_from) for (var t = 0, n = e; t < n.length; t += 1) { var r = n[t], a = Array.from(ye(r, “a[href]”)); if (“A” === r.tagName) { var o = r; o.href && a.push(o) } for (var i = function () { var e = l[s], t = e.getAttribute(“href”); t && “#” !== t && !t.startsWith(“blob:”) && (le(e) || e.hasAttribute(“hreflang”) || (!K.subdirectory || /^/(?:[^/]|$)/.test(t) || t.includes(“//” + K.host)) && (K.subdirectory || t.includes(“//” + K.host)) && (Ge(void 0, t.includes(“//” + K.host) ? t.split(“//” + K.host)[1] || “” : t) || Tr(function (n) { var r = Or(We(), n, t); r !== t && e.setAttribute(“href”, r) }))) }, s = 0, l = a; s < l.length; s += 1)i() } }(Bo), (null === (t = K.proxify_iframes) || void 0 === t ? void 0 : t.length) && Bo.forEach(function (e) { return Ao({ node: e }) }), Io(Bo), yo(“onDynamicDetected”), Bo = [] }, 100)) } var $o = [j, “class”, “id”]; function Go(e, t, n) { var r = e.outerHTML || e.textContent; if (e.wgSetHTML !== r && qe(e)) for (var a = jo(e, function (e) { var n = e.element; return !function (e) { var t; if ((null === (t = e.weglot) || void 0 === t ? void 0 : t.dynamic) && e.weglot.dynamic > 20) { if (e.wgBypassDynamicLimit) return !1; var n = K.dangerously_bypass_dynamic_limit; if (n) { var r = e.closest ? e : e.parentNode; if (be(r, n)) return e.wgBypassDynamicLimit = !0, !1 } return !0 } return !1 }(n) && t(n) }), o = 0, i = a; o < i.length; o += 1) { var s = i[o]; K.ignoreDynamicFragments && !document.body.contains(s) || (s.weglot.dynamic || (s.weglot.dynamic = 0), s.weglot.dynamic++, n.push(s)) } } function Ko(e, t, n, r) { var a; t(e) && function (e) { var t = (new Date).getTime().toString(); try { var n = e.contentWindow; return !!n && (n[t] = “asd”, “asd” === n[t]) } catch (e) { return !1 } }(e) && (le(e) || (null === (a = e.contentWindow) || void 0 === a ? void 0 : a.document) && (Go(e.contentWindow.document, t, n), r(e.contentWindow.document))) } function Jo(e, t) { var n = t.observedDocument, r = t.observeBodyNodes, a = K.dynamics, i = function (e) { var t, n; return e ? function () { return !0 } : K.dynamics && K.dynamics.length ? K.disable_dynamics_on_browser_translation && (null === (n = null === (t = document.documentElement) || void 0 === t ? void 0 : t.lang) || void 0 === n ? void 0 : n.toLowerCase().includes(We().toLowerCase())) ? function () { return !1 } : Ue : function () { return !1 } }(n !== document && !d(n)); try { if (Ge()) return; if (e = function (e, t) { for (var n, r = [], a = (null === (n = K.excluded_blocks) || void 0 === n ? void 0 : n.map(function (e) { return e.value }).join(“,”)) || “”, o = e.filter(function (e) { var n = e.addedNodes, o = e.type, i = e.target; st(i); var s = i; “attributes” === o && (Lo(s), function (e) { if (“IMG” === e.nodeName) { var t = e; t.srcset && t.dataset.wgtranslated && (t.setAttribute(“wgsrcset”, t.srcset), t.srcset = “”) } }(s)); var l = function (e) { do { if (e.weglot && e.weglot.isSet) return e; e = e.parentElement || e.parentNode } while (e) }(s); return l ? (r.push(l), !1) : n && n.length ? (setTimeout(function () { return Vo(s, n) }), !a || !s || !be(s, a)) : !$o.includes(e.attributeName || “”) && t(s) && (“characterData” === o || “attributes” === o) }), i = 0, s = r; i < s.length; i += 1)s[i].weglot.isSet = !1; return o }(e, i), !a || !a.length || !e.length) return; !function (e, t) { for (var n = t.dynamicCheck, r = t.observeBodyNodes, a = [], o = [], i = 0, s = e; i < s.length; i += 1) { var l = s[i], u = l.type, c = l.target, d = l.addedNodes, f = c; switch (u) { case “attributes”: case “characterData”: if (o.includes(f)) break; o.push(f), Go(f, n, a); break; case “childList”: if (!(null == d ? void 0 : d.length)) break; var g = d.length > 1 ? f : d[0]; if (o.includes(g)) break; Go(g, n, a), o.push(g); for (var p = 0, h = d; p < h.length; p += 1) { var v = h[p]; if (“IFRAME” !== v.tagName) { if (“querySelectorAll” in v && v.querySelectorAll) for (var _ = 0, m = v.querySelectorAll(“iframe”); _ < m.length; _ += 1)Ko(m[_], n, a, r) } else Ko(v, n, a, r) } } } a.length && (Ia(a), Ro(a)) }(e, { dynamicCheck: i, observeBodyNodes: r }) } catch (e) { o.warn(e, { consoleOverride: “Error in MutationObserver” }) } } var Xo = [], Yo = [], Qo = !1, Zo = !1; function ei() { if (Zo = !0, 0 !== Yo.length) { for (var e = 0, t = Yo; e < t.length; e += 1) { t[e].disconnect() } Yo.splice(0, Yo.length), Xo = [] } } function ti(e) { var t = e === document; t && (Zo = !1); var n = t && e.body || e, r = new MutationObserver(function (t) { var n; if (Qo) Jo(t, { observedDocument: e, observeBodyNodes: ti }); else { var r = Xo.find(function (t) { return t.observedDocument === e }); r ? (n = r.mutations).push.apply(n, t) : Xo.push({ observedDocument: e, mutations: [].concat(t) }) } }); r.observe(n, { childList: !0, subtree: !0, characterData: !0, attributes: !0 }), Yo.push(r) } function ni(e, t) { var n = e.custom_settings; void 0 === n && (n = {}); var r = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && -1 === t.indexOf(r) && (n[r] = e[r]); return n }(e, [“custom_settings”]), a = r, o = {}; if (n) { var i = n.button_style, s = n.localeRules; i && (o.button_style = Object.assign(Object.assign({}, n.button_style, t.button_style))), s && (o.localeRules = s) } return “languages” in e && (o.languages = e.languages), “language_from” in e && (o.language_from = e.language_from), [“excluded_blocks”, “dynamics”].forEach(function (r) { o[r] = []; var a = {};[e, n, t].map(function (e) { e[r] && e[r].forEach(function (e) { a[e.value] || (a[e.value] = !0, o[r].push(e)) }) }) }), t.switchers && (o.scriptParamSwitcher = !0), t.button_style && t.button_style.custom_css && (o.scriptParamStyle = !0), Object.assign({}, a, n, t, o) } var ri = { ai_disclaimer_selector: li, api_domain: li, api_key: li, language_from_custom_flag: li, language_from_custom_name: li, host: li, language_from: li, custom_css: li, url_type: li, technology_name: li, auto_switch_fallback: li, cloudflare_resolve_override: li, fastly_origin_backend: li, dangerously_force_dynamic: li, search_forms: li, search_parameter: li, website: li, uid: li, language_to: li, translate_iframes: ci, dynamic: ci, force_translation: ci, dangerously_bypass_dynamic_limit: ci, category: si, translation_engine: si, pageview_sample_rate: si, deleted_at: si, technology_id: si, auto_inject_script: di, use_template_integrity: di, auto_switch: di, allow_http: di, allow_render: di, customer_tag: di, order_tag: di, delayStart: di, disable_dynamics_on_browser_translation: di, client_translation_only: di, geo_auto_switch: di, fix_shopify_checkout_locale: di, shopify_skip_shop_pay: di, hide_switcher: di, hide_switcher_watermark: di, wait_transition: di, prevent_retranslation: di, index_with_trailing_slash: di, page_views_enabled: di, is_https: di, is_dns_set: di, media_enabled: di, external_enabled: di, multilingual_sitemap: di, override_csp: di, override_bot_agent: di, override_hreflang: di, prevent_default_locale_rule: di, saas: di, translate_aria: di, translate_images: di, ignoreDynamicFragments: di, ve_inject_library: di, disable_internal_proxy: di, disable_origin_ssl_verification: di, disable_remove_numeric_slugs: di, disable_local_cache: di, loading_bar: di, dangerously_enable_cross_domain_cookies: di, original_shopify_checkout: di, shopifyCheckout: di, translate_search: di, translate_amp: di, translate_email: di, dynamicPushState: di, remove_unused_link_hooks: di, translate_shadow_roots: di, disable_datadog_logging: di, squarespace_official_integration: di, shopify_theme_app_extension: di, shopify_extension_connected: di, squarespace_extension_connected: di, wix_extension_connected: di, squareonline_extension_connected: di, rendered: di, inject_weglot_css: di, extra_merged_selectors: pi, cart_attributes: pi, proxify_iframes: pi, excluded_blocks_remove: pi, dynamics_remove: pi, merged_selectors_remove: gi, translate_inside_exclusions: gi, whitelist: gi, dynamics: gi, excluded_blocks: gi, switchers: fi, translate_forms: fi, languages: fi, xhr_hooks: fi, sw_hooks: fi, translate_event: fi, localeRules: fi, locale_rules_regex: fi, excluded_attributes: fi, extra_definitions: fi, excluded_paths: fi, http_monitoring: ui, button_style: ui, versions: ui, service_worker: ui, network_overrides: ui, definitions: ui }; function ai(e) { var t = {}; if (“object” != typeof e || !e) throw new Error(“Invalid settings object”); return Object.keys(e).forEach(function (n) { if (“custom_settings” !== n) { var r = e[n]; t[n] = ii(n, r) } else { var a = ai(e[n]); t.custom_settings = oi(a) } }), t } function oi(e) { var t = e.search_forms, n = e.search_parameter, r = e.translate_search, a = e.translate_forms; void 0 === a && (a = []); var o = Object.assign({}, e); return t && n && r && (a.push({ selector: t, parameter: n }), delete o.search_forms, delete o.search_parameter, delete o.translate_search, o.translate_forms = a), o } function ii(e, t) { var n = ri[e]; if (n) return n(e, t) } function si(e, t) { if (“number” == typeof t) return t; if (“string” == typeof t) { if (“pageview_sample_rate” === e) { var n = parseFloat(t); if (!isNaN(n)) return n } var r = parseInt(t, 10); if (!isNaN(r)) return r } } function li(e, t) { return “string” == typeof t ? t : void 0 } function ui(e, t) { if (t && “object” == typeof t) switch (e) { case “http_monitoring”: var n = {}; return [“20X”, “40X”, “50X”].forEach(function (e) { t[e] && (n[e] = !0) }), [“include”, “exclude”].forEach(function (e) { Array.isArray(t[e]) && (n[e] = t[e].map(si).filter(Boolean)) }), n; case “button_style”: var r = t; return [“flag_type”, “custom_css”].forEach(function (e) { r[e] && “string” != typeof r[e] && delete r[e] }), r; case “service_worker”: var a = t, o = { enabled: !1, path_override: “” }; return o.enabled = !!a.enabled, a.path_override && “string” == typeof a.path_override && (o.path_override = a.path_override), o; case “network_overrides”: var i = t; if (!Array.isArray(i.hooks)) return; return { fetch: !!i.fetch, xhr: !!i.xhr, hooks: i.hooks.map(hi).filter(Boolean) }; case “versions”: var s = t; return s.translation && “number” != typeof s.translation && delete s.translation, s.slugTranslation && “number” != typeof s.slugTranslation && delete s.slugTranslation, s; case “definitions”: var l = t; if (!l || “object” != typeof l) return; var u = l.urls; if (!u || !Array.isArray(u)) return Object.assign({}, l, { urls: void 0 }); var c = u.map(function (e) { if (e && “object” == typeof e) { var t = e.value; if (Array.isArray(t)) { var n = t.map(function (e) { if (e && “object” == typeof e) { var t = e.original, n = e.formatted; if (t && “string” == typeof t && n && “string” == typeof n) return e } }).filter(function (e) { return !!e }); return Object.assign({}, e, { value: n }) } } }).filter(function (e) { return !!e }); return Object.assign({}, l, { urls: c }); default: return e } } function ci(e, t) { if (“string” == typeof t) return t; if (Array.isArray(t)) switch (e) { case “dangerously_bypass_dynamic_limit”: return t.map(function (e) { return e && e.value || e }).filter(Boolean).join(“,”); case “dynamic”: case “force_translation”: case “translate_iframes”: return t.join(“,”); default: return e } } function di(e, t) { return “boolean” == typeof t ? t : !!t } function fi(e, t) { if (“string” == typeof t) { if (“excluded_paths” !== e) return; return t.split(“,”).map(function (e) { return { type: “MATCH_REGEX”, value: e } }) } if (Array.isArray(t)) { var n = t.filter(function (e) { return “object” == typeof e && !Array.isArray(e) }); switch (e) { case “extra_definitions”: return n.filter(function (e) { var t = e.type, n = e.selector, r = e.attribute; return (!n || “string” == typeof n) && ((!r || “string” == typeof r) && (!t || “number” == typeof t)) }); case “localeRules”: return n.filter(function (e) { return (!e.originalFormat || “string” == typeof e.originalFormat) && ((!e.translatedFormat || “string” == typeof e.translatedFormat) && ((!e.pathTest || “string” == typeof e.pathTest) && (!e.position || “number” == typeof e.position))) }); case “locale_rules_regex”: return n.filter(function (e) { return !(!e.detection || !e.rewrite) && (“string” == typeof e.detection && “string” == typeof e.rewrite && ((!e.detectionMap || “object” == typeof e.detectionMap && !Object.keys(e.detectionMap).some(function (t) { return “string” != typeof e.detectionMap[t] })) && (!e.rewriteMap || “object” == typeof e.rewriteMap && !Object.keys(e.rewriteMap).some(function (t) { return “string” != typeof e.rewriteMap[t] })))) }); case “switchers”: return n.forEach(function (e) { [“style”, “location”, “opts”, “colour”].forEach(function (t) { “object” != typeof e[t] && delete e[t] }) }), n; case “languages”: return n; case “sw_hooks”: return n.map(function (e) { return hi(e) }).filter(Boolean); case “xhr_hooks”: return n.map(function (e) { var t = e.url_wildcard, n = e.action, r = e.target_source, a = e.target_key; if ((!t || “string” == typeof t) && (!n || [“proxify”, “reverse_translate”, “reverse_handle_path”].includes(n))) { var o = Array.isArray(r) ? r.filter(function (e) { return [“url”, “url_query”, “json_payload”, “form_data_payload”, “url_encoded_form_payload”].includes(e) }) : “string” == typeof r ? [r] : void 0, i = Array.isArray(a) ? a.filter(function (e) { return “string” == typeof e }) : “string” == typeof a ? [a] : void 0; return { url_wildcard: t, action: n, target_source: o, target_key: i } } }).filter(Boolean); case “excluded_attributes”: return n.map(function (e) { var t = e.selector, n = e.attributes; if ((!t || “string” == typeof t) && (!n || Array.isArray(n))) return { selector: t, attributes: n.filter(function (e) { return “string” == typeof e }) } }).filter(Boolean); case “excluded_paths”: return n.filter(function (e) { return [“type”, “value”].every(function (t) { return t in e && “string” == typeof e[t] }) }); case “translate_event”: return n.filter(function (e) { return e.selector && “string” == typeof e.selector }); case “translate_forms”: return n.filter(function (e) { return !!e.selector && !!e.parameter && “string” == typeof e.selector && “string” == typeof e.parameter }); default: return e } } } function gi(e, t) { return Array.isArray(t) ? t.map(function (e) { if (e) return “object” == typeof e && e.value && “string” == typeof e.value ? { value: e.value } : “string” == typeof e ? { value: e } : void 0 }).filter(Boolean) : “whitelist” === e && “string” == typeof t ? t.split(“,”).map(function (e) { return { value: e } }) : void 0 } function pi(e, t) { if (Array.isArray(t)) return t.filter(function (e) { return “string” == typeof e }) } function hi(e) { var t = e.url_match, n = e.body, r = e.url; if (t && “*” !== t && “string” == typeof t && !(n && “object” != typeof n || r && “object” != typeof r)) { var a = { url_match: t }; return n && “object” == typeof n && “string” == typeof n.parser && L.includes(n.parser) && Array.isArray(n.actions) && (a.body = Object.assign({}, n, { actions: n.actions.map(function (e) { return vi(e) }).filter(Boolean) })), r && “object” == typeof r && “string” == typeof r.parser && L.includes(r.parser) && Array.isArray(r.actions) && (a.url = Object.assign({}, r, { actions: r.actions.map(function (e) { return vi(e) }).filter(Boolean) })), a } } function vi(e) { if (“object” == typeof e) { var t = e.action_type, n = e.key; if (t && x.includes(t) && n && “string” == typeof n) { if (“parse_child” !== t) return { key: e.key, action_type: t }; var r = e.child_parser, a = e.child_actions; if (r && L.includes(r) && a && Array.isArray(a)) { var o = a.map(vi).filter(Boolean); if (o.length) return Object.assign({}, e, { child_actions: o }) } } } } function _i(e) { if (!e || “object” != typeof e) throw { wgErrMsg: “Invalid initialization options provided. Contact support@weglot.com” }; var t = Object.keys(e).reduce(function (t, n) { var r = function (e, t) { if (“switchers” === e) { var n = “string” == typeof t && Rr(t) || t; if (!Array.isArray(n)) return; if (!n.length) return; var r = n.some(function (e) { return “styleOpt” in e }); return { key: “switchers”, value: r ? n.map(function (e) { return n = (t = e).styleOpt, r = t.containerCss, a = t.target, o = t.sibling, { style: mi(n, r), location: { target: a, sibling: o } }; var t, n, r, a, o }) : n } } var a = [{ from: “originalLanguage”, to: “language_from” }, { from: “autoSwitch”, to: “auto_switch” }, { from: “autoSwitchFallback”, to: “auto_switch_fallback” }, { from: “waitTransition”, to: “wait_transition” }, { from: “translateSearch”, to: “translate_search” }, { from: “searchsForms”, to: “search_forms” }, { from: “searchParameter”, to: “search_parameter” }, { from: “hideSwitcher”, to: “hide_switcher” }, { from: “dangerouslyForceDynamic”, to: “dangerously_force_dynamic” }, { from: “loadingBar”, to: “loading_bar” }, { from: “customerTag”, to: “customer_tag” }, { from: “orderTag”, to: “order_tag” }, { from: “translateImages”, to: “media_enabled” }, { from: “translate_images”, to: “media_enabled” }, { from: “extraDefinitions”, to: “extra_definitions” }, { from: “excludePaths”, to: “excluded_paths”, func: ro }, { from: “exceptions”, to: “excluded_blocks”, func: ao }, { from: “whiteList”, to: “whitelist”, func: ao }, { from: “styleOpt”, to: “button_style”, func: mi }, { from: “destinationLanguages”, to: “languages”, func: no }].find(function (t) { return t.from === e }); if (a) { var o = a.to, i = a.func; return { key: o, value: i ? i(t) : t } } return { key: e, value: t } }(n, e[n]); if (void 0 === r) return t; var a = r.key, o = ii(a, r.value); return void 0 !== o && (t[a] = o), t }, {}); return oi(t) } function mi(e, t) { if (void 0 === t && (t = “”), !e) return z.button_style; var n = e.classF || “”, r = n.match(/flag-(d)/), a = r && r[1], o = { with_name: e.withname, full_name: !!e.fullname, is_dropdown: !!e.is_dropdown, with_flags: -1 !== n.indexOf(“wg-flags”), flag_type: a && W[a] || “”, invert_flags: !0, custom_css: “” }; return t && (o.custom_css = t), o } function yi(t) { var n, r; H(“onOptionsReady”), t.custom_css && u(t.custom_css, “weglot-custom-style”), t.inject_weglot_css && (n = “https://cdn.weglot.com/weglot.min.css?v=11”, (r = document.createElement(“link”)).rel = “stylesheet”, r.type = “text/css”, r.href = n, document.head.appendChild(r)), e(function () { t.injectedData || J({ injectedData: so() }) }) } function wi(e) { for (var t = 0, n = document.querySelectorAll(‘[href*=”/checkout.php”],[href*=”/cart.php”]’); t < n.length; t += 1) { var r = n[t]; r.setAttribute(“href”, Ae(r.getAttribute(“href”), “lang”, e)) } } function bi(e, t) { var n = t; n || (n = We()); for (var r = 0, a = e; r < a.length; r += 1) { var o = a[r]; if (!o || !o.dataset || !o.dataset.wgOnlyDisplay) return; o.hidden = o.dataset.wgOnlyDisplay !== n } } var ki = {}; function Si(e) { var t = “/checkout?locale=” + e + (K.shopify_skip_shop_pay ? “&skip_shop_pay=true” : “”); fetch(t).then(function (e) { document.location.href = encodeURI(e.url) }).catch(function () { document.location.href = encodeURI(t) }) } function xi(e) { var t = e || We(), n = Ti(t), r = [{ name: “locale”, value: n }].concat(K.shopify_skip_shop_pay ? [{ name: “skip_shop_pay”, value: “true” }] : []);[{ name: “action”, selector: [‘form[method=”post”][action*=”/cart”]’, ‘form[method=”post”][action*=”/checkout”]’], testRegex: //(cart|checkout|)/?(?|$)/, event: “submit” }, { name: “href”, selector: [‘a[href*=”/checkout”]’, ‘a[href*=”/cart/checkout”]’], testRegex: //(cart/)?checkout/?(?|$)/, event: “click” }].forEach(function (e) { for (var a = e.name, o = e.selector, i = e.testRegex, s = e.event, l = document.querySelectorAll(o.join(“,”)), u = function () { var e = d[c], o = e.getAttribute(a); if (o && (i.test(o) && !r.every(function (e) { return o.includes(e.name + “=” + e.value) }))) { for (var l = 0, u = r; l < u.length; l += 1) { var f = u[l]; o = Ae(o, f.name, f.value) } e.setAttribute(a, o), e.wgCheckoutListener && e.removeEventListener(s, e.wgCheckoutListener), t !== K.language_from && K.fix_shopify_checkout_locale && (e.wgCheckoutListener = function (e) { return e.preventDefault(), e.stopPropagation(), K.is_connect && !K.subdirectory ? (br(“cookie”).setItem(“wg_checkout_redirect”, t), document.location.href = encodeURI((K.is_https ? “https:” : “http:”) + “//” + K.host)) : Si(n), !1 }, e.addEventListener(s, e.wgCheckoutListener)) } }, c = 0, d = l; c < d.length; c += 1)u() }) } function Ei(e) { var t, n, r, a = e || We(), o = document.getElementById(“create_customer”) || document.querySelector(‘form[action=”‘ + (t = a, n = “/account”, (K.is_connect && t !== K.language_from ? ki[n] ? ki[n] : (Tr(function (e) { var a = e && e[t] ? Cr(n, e[t].original) : n; r = K.subdirectory ? Ie().convertLocale(t, a, K.language_from) : a }), ki[n] = r, r) : n) + ‘”]’)) || “string” == typeof K.customer_tag && we(document, K.customer_tag); if (o) { var i = document.getElementById(“weglot-lang-form”); (null == i ? void 0 : i.parentNode) && i.parentNode.removeChild(i); var s = document.createElement(“input”); Object.assign(s, { type: “hidden”, id: “weglot-lang-form”, name: “customer[tags]”, value: “#wg” + a + “#wg” }), o.appendChild(s) } } function Li(e) { var t = function () { var e = document.getElementById(“shopify-features”); if (!e) return null; var t = e.textContent.match(/”shopId”:(d*)/); return t ? t[1] : null }(); t && mr.set({ name: “checkout_locale”, value: Ti(e), path: t, options: K }) } function Ti(e) { var t = { br: “pt-BR”, no: “nb”, pt: “pt-PT”, ro: “ro-RO”, fl: “fil”, sa: “sr-lt”, zh: “zh-CN”, tw: “zh-TW” }; return t[e] ? t[e] : e.substr(0, 2) } function Ai() { var e = K.host; return void 0 === e && (e = window.location.hostname), 0 === e.indexOf(“www.”) ? e.slice(3) : “.” + e } function Ci() { var e = document.cookie.match(/(^cart=[^;]+|[W]cart=[^;]+)/g); if (e) { var t = e.map(function (e) { return decodeURIComponent(e.split(“=”).slice(1).join(“=”)) }); 1 !== t.length && t[0] === t[1] || mr.set({ name: “cart”, value: t[0], domain: Ai(), options: K }) } else setTimeout(Ci, 100) } function ji(e) { var t = e || We(); if (!K.visual_editor && !Ee()) { var n = K.cart_attributes, r = K.is_connect, a = K.original_shopify_checkout, o = K.subdirectory, i = K.language_from, s = br(“cookie”).getItem(“cart”) && decodeURIComponent(br(“cookie”).getItem(“cart”) || “”), l = br(“session”).getItem(“wg-cart-update-token”) && decodeURIComponent(br(“session”).getItem(“wg-cart-update-token”) || “”), u = br(“session”).getItem(“wg-cart-update-lang”); if (n && n.length && (u !== Ti(t) || s !== l)) { var c = n.map(function (e) { return “attributes[” + e + “]=” + Ti(t) }).join(“&”), d = fetch(“/cart/update.js”, { method: “POST”, body: c, headers: { “Content-Type”: “application/x-www-form-urlencoded” } }).catch(function () { }); !1 !== a && r && !o && i === We() && d.then(function (e) { return e.json() }).then(function (e) { var t = e.token; return mr.set({ name: “cart”, value: t, domain: Ai(), options: K }) }), br(“session”).setItem(“wg-cart-update-token”, s), br(“session”).setItem(“wg-cart-update-lang”, Ti(t)) } for (var f = document.querySelectorAll(‘a[href*=”/cart/”]’), g = “attributes[lang]=” + t, p = 0, h = f; p < h.length; p += 1) { var v = h[p], _ = v.getAttribute(“href”); if (_) { var m = _.match(//cart/d+:d+(?)?/); m && (_ = _.replace(/&?attributes[lang]=([a-zA-Z-]+)/g, “”), v.setAttribute(“href”, _ + (m[1] ? “&” : “?”) + g)) } } } } function Oi(e) { if (K.language_from !== e) { window.Shopify && (window.Shopify.locale = e, !Le() && K.order_tag && ji(e)), xi(e), Li(e); var t = document.querySelectorAll(“[data-wg-only-display]”); t.length && bi(Array.from(t), e), K.customer_tag && Ei(e) } } function Ni() { !1 !== K.original_shopify_checkout && K.is_connect && !K.subdirectory && K.language_from === We() && Ci() } function Ri() { var e = br(“cookie”).getItem(“wg_checkout_redirect”); e && (br(“cookie”).removeItem(“wg_checkout_redirect”), br(“cookie”).setItem(“wg_checkout_language”, e), Si(e)), window.langify && o.log(“%c Please, uninstall langify to properly use Weglot”, { sendToDatadog: !1 }), !window.Shopify || Le() || !K.order_tag || K.is_connect && K.language_from !== We() || ji(), xi(); var t, n = document.querySelectorAll(“[data-wg-only-display]”); n.length && bi(Array.from(n)), K.customer_tag && Ei(), document.getElementsByClassName(“shopify-payment-button”).length && (t = window.fetch, window.fetch = function () { if (“/wallets/checkouts.json” === arguments[0]) try { var e = JSON.parse(arguments[1].body), n = Ti(We()); e.checkout.attributes = {}, K.cart_attributes && K.cart_attributes.forEach(function (t) { return e.checkout.attributes[t] = n }), arguments[1].body = JSON.stringify(e) } catch (e) { } return t.apply(window, arguments) }) } function Pi(e) { Oi(e) } function Ii(e) { Oi(e) } function Di() { xi(We()) } function Mi() { return s(“admin-bar-iframe”) || s(“preview-bar-iframe”) || K.private_mode || function () { for (var e = 0, t = document.scripts; e < t.length; e += 1)if (-1 !== t[e].src.indexOf(“preview_bar_injector”)) return !0; return !1 }() } function zi() { var e, t; try { var n = window.ExtensionScriptsSDK; if (!n) return; var r = null === (t = null === (e = n[“1.0”]) || void 0 === e ? void 0 : e.page) || void 0 === t ? void 0 : t.events; r && r.dispatchScriptLoadEvent(“Weglot”) } catch (e) { } } function Wi() { var e = new MutationObserver(qi), t = document.getElementById(“SITE_CONTAINER”); t && e.observe(t, { attributes: !0, attributeFilter: [“data-santa-render-status”] }) } function qi(e) { for (var t = 0; t < e.length; t++) { “SUCCESS” === e[t].target.getAttribute(“data-santa-render-status”) && (this.disconnect(), H(“start”)) } } function Ui(e, t, n) { void 0 === t && (t = 40), void 0 === n && (n = 100); var r = 0, a = setInterval(function () { (document.body && window.sssr || r >= t) && (clearInterval(a), e()), r++ }, n); return a } function Fi(e) { return [‘.weglot-switcher-component a[lang=”‘ + e + ‘”]’] } function Hi(e) { if (e) { e.classList.add(“w–current”), e.setAttribute(“aria-current”, “lang”); var t = e.closest(“.weglot-switcher-component.w-dropdown”); if (t) { var n = t.querySelector(“.w-dropdown-toggle”); if (n) { var r = n.querySelector(“div”), a = n.querySelector(“img”), o = r && r.textContent, i = n.getAttribute(“lang”) || “”, s = e.querySelector(“div”), l = e.querySelector(“img”); if (a && l) { var u = a.src, c = a.srcset; a.src = l.src, a.srcset = l.srcset, l.src = u, l.srcset = c } if (r && s) r.textContent = s.textContent, s.textContent = o; else { var d = n.textContent; n.textContent = e.textContent, e.textContent = d } !function (e, t) { var n = ya.findDetectedLink(e); if (n) { var r = n.links.indexOf(t); -1 !== r && (n.links.splice(r, 1), t.removeEventListener(“click”, n.onLinkClick)) } }(e.getAttribute(“lang”) || “”, e), Eo(i, e), n.setAttribute(“lang”, e.getAttribute(“lang”) || “”), e.setAttribute(“lang”, i) } } } } function Bi(e) { e && (e.classList.remove(“w–current”), e.removeAttribute(“aria-current”)) } F(“onCurrentLocationChanged”, function () { ki = {} }, !0); var Vi = [“.weglot-switcher-component a[lang]”]; function $i() { var e = document.querySelector(“.weglot-container”); e && e.classList.add(“weglot-container–left”) } var Gi = [{ $schema: “../../schemas/technologies.schema.json”, title: “BigCommerce”, technology_id: 3, settings: [{ name: “BigCommerce default settings for all pages”, value: [{ type: “search_forms”, payload: “form[action=’/search.php’]” }, { type: “search_parameter”, payload: “search_query” }, { type: “dynamics”, payload: [{ value: “.quick-shop-details” }, { value: “#QuickViewProductDetails” }, { value: “.QuickViewModal” }, { value: “.modalContainer” }, { value: “.ng-checkout-container” }, { value: “.previewCartAction” }, { value: “#checkout-app” }] }] }] }, { $schema: “../../schemas/technologies.schema.json”, title: “Bubble”, technology_id: 17, settings: [{ name: “Bubble default settings for javascript integration”, condition: [{ type: “INTEGRATION”, payload: “javascript” }], value: [{ type: “dynamics”, payload: [{ value: “.content” }] }] }] }, { $schema: “../../schemas/technologies.schema.json”, title: “Jimdo”, technology_id: 4, settings: [{ name: “Jimdo default settings for all pages”, value: [{ type: “excluded_blocks”, payload: [{ value: ‘[data-display=”cms-only”]’ }, { value: “.j-admin-links” }, { value: “.cc-m-status-empty” }] }] }] }, { $schema: “../../schemas/technologies.schema.json”, title: “Magento”, technology_id: 15, settings: [{ name: “Magento default settings for all pages”, value: [{ type: “excluded_blocks”, payload: [{ value: “.price” }] }] }] }, { $schema: “../../schemas/technologies.schema.json”, title: “Salesforce”, technology_id: 18, settings: [{ name: “Salesforce default settings for all pages”, value: [{ type: “ignoreDynamicFragments”, payload: !0 }, { type: “dynamicPushState”, payload: !0 }, { type: “merged_selectors_remove”, payload: [{ value: “.themeProfileMenu” }] }] }] }, { $schema: “../../schemas/technologies.schema.json”, title: “Shopify”, technology_id: 2, proxyHosts: [“feeds.datafeedwatch.com”, “feeds.adwordsrobot.com”], settings: [{ name: “Shopify default settings for all pages”, value: [{ type: “extra_definitions”, payload: [{ type: 1, selector: “.snize-color-swatch”, attribute: “data-sntooltip” }, { type: 1, selector: “button[data-pf-type=ProductATC]”, attribute: “data-soldout” }, { type: 1, selector: “button[data-pf-type=ProductATC]”, attribute: “data-adding” }, { type: 1, selector: “button[data-pf-type=ProductATC]”, attribute: “data-added” }] }, { type: “search_forms”, payload: “form[action=’/pages/search-results’],form[action=’/search’]” }, { type: “search_parameter”, payload: “q” }, { type: “cart_attributes”, payload: [“lang”, “Invoice Language”] }, { type: “excluded_blocks”, payload: [{ value: “input[type=’radio’]” }, { value: “.money” }, { value: “.price” }, { value: “.product__prices” }, { value: “.price-list” }, { value: “.cart-drawer__button-price” }, { value: “.sr-only” }, { value: “#admin-bar-iframe” }, { value: “.notranslate” }, { value: “.skiptranslate” }, { value: “#isp_refine_nevigation” }, { value: “#isp_header_subtitle” }, { value: “.isp_sorting_and_result_view_wrapper” }, { value: “#isp_results_did_you_mean > span” }, { value: “.isp_facet_show_hide_values” }, { value: “#isp_main_search_box” }, { value: “.snize-filter-variant-count” }, { value: “.snize-search-results-header a” }, { value: “.snize-search-results-header b” }, { value: “.hc-author__text” }, { value: “.hc-avatar__initials” }, { value: “.hc-rating-chart__count” }, { value: “.hc-rating-chart__percentage-value” }, { value: “.yotpo-review-date” }, { value: “.yotpo-user-name” }, { value: “.yotpo-user-letter” }, { value: “.yotpo .avg-score” }, { value: “.yotpo-mandatory-mark” }] }, { type: “dynamics”, payload: [{ value: “.shopify-payment-button button” }, { value: “#isp_search_result_page_container” }, { value: “.snize-ac-results” }, { value: “#snize_results” }, { value: “.snize-recommendation” }, { value: “.snize-modal” }, { value: “.snize-search-results-header” }, { value: “div>span.cc-message” }, { value: “.hc-widget” }, { value: “.jdgm-rev-widg__header” }, { value: “.jdgm-rev__body” }, { value: “.jdgm-rev-title” }, { value: “.yotpo-main-widget” }, { value: “#swell-popup” }, { value: “.swell-tab” }, { value: “.yotpo-widget-override-css” }, { value: “.cw-row” }, { value: “.mini-popup-container” }, { value: “email-field cw-form-control” }, { value: “phone-field cw-form-control” }, { value: “.sms-policy-text” }, { value: “.wlo-content-holder” }, { value: “.wlo-wheel-holder” }, { value: “.yotpo-smsbump-modal__content” }, { value: “.cw-compliance-text” }, { value: “#saso-notifications” }, { value: “.saso-cross-sell-popup” }, { value: “.saso-cart-item-discount-notes” }, { value: “.saso-cart-item-upsell-notes” }, { value: “.saso-volume-discount-tiers” }, { value: “.opw-leading-normal” }, { value: “.opw-my-2.opw-leading-normal.opw-text-lg.opw-text-left” }, { value: “.opinew-navbar.opw-flex.opw-items-center.opw-justify-between.opw-flex-wrap.opw-py-4.opw-px-6” }, { value: “.main-content-container.opw–mx-1” }, { value: “.opw-text-center.opw-text-sm.opw-border-solid.opw-border-0.opw-mt-3” }, { value: “.summary-card-container.opw-mx-1” }, { value: “.opw-reviews-container.opw-mt-3.opw–mx-1” }, { value: “.opinew-reviews-title.opw-flex.opw-items-center.opw-flex-no-shrink.opw-mr-6” }, { value: “.opw-flex.opw-flex-row-reverse” }, { value: “#opinew-app-container” }, { value: “.gem_dynamic-content” }, { value: “.pp_tracking_content” }, { value: “.pp_all_form_div” }, { value: “.pp_tracking_result_title” }, { value: “.progress-bar-style” }, { value: “.pp_tracking_left” }, { value: “.pp_num_status_show” }, { value: “.pp_tracking_status_tips” }, { value: “.pp_page_map_div” }, { value: “.pp_tracking_result_parent” }, { value: “.pp_tracking_right” }, { value: “.pp_recommend_product_parent” }, { value: “.currency-converter-cart-note” }, { value: “.cbb-shipping-rates-calculator” }, { value: “.cbb-frequently-bought-container” }, { value: “.cbb-frequently-bought-discount-applied-message” }, { value: “.cbb-also-bought-container” }, { value: “#zonos” }, { value: “.buddha-menu-item” }, { value: “.R-GlobalModal” }, { value: “.ruk-rating-snippet-count” }, { value: “.R-ContentList-container” }, { value: “.R-ReviewsList-container” }, { value: “.R-SliderIndicator-group” }, { value: “.R-TextBody” }, { value: “.widgetId-reviewsio-carousel-widget” }, { value: “.REVIEWSIO-FloatingMinimised” }, { value: “.REVIEWSIO-FloatingMinimised__Container” }, { value: “.reviewsio-carousel-widget” }, { value: “.reviews-io-floating-widget” }, { value: “.reviews_container” }, { value: “.site-nav.style–sidebar .site-nav-container .subtitle” }, { value: “.search-more” }, { value: “.variant-quantity” }, { value: “.lion-claimed-rewards-list” }, { value: “.lion-header” }, { value: “.lion-header__join-buttons” }, { value: “.lion-header__join-today” }, { value: “.lion-history-table” }, { value: “.lion-integrated-page-section__heading-text” }, { value: “.lion-loyalty-panel” }, { value: “.lion-loyalty-splash” }, { value: “.lion-loyalty-widget” }, { value: “.lion-modal__content” }, { value: “.lion-modal__header” }, { value: “.lion-referral-widget” }, { value: “.lion-rewards-list” }, { value: “.lion-rules-list” }, { value: “.lion-tier-overview” }, { value: “.ccpops-popup__content__bottom-text” }, { value: “.ccpops-popup__content__top-text” }, { value: “.ccpops-trigger__text” }, { value: “.ks-table-row” }, { value: “.klaviyo-form” }, { value: “.sca-fg-today-offer-title” }, { value: “.sca-fg-today-offer-subtitle” }, { value: “.sca-offer-info .sca-offer-title” }, { value: “.sca-fg-tooltip” }, { value: “.fg-section-title” }, { value: “.bogos-gift-items .btn-add-to-cart” }, { value: “.bogos-gift-items .selected-variant” }, { value: “.sca-hidden-gift-popup .sca-disable-text” }, { value: “#sca_fg_cart_message_items_section .content-promotion-message” }, { value: “.sca-gift-thumbnail-title” }, { value: “.bogos-bundles-quantity-break-widget-title” }, { value: “.bogos-bundles-quantity-break-widget-description” }, { value: “.bogos-bundle-quantity-break-title” }, { value: “.bogos-bundle-quantity-break-tag” }, { value: “.bogos-bundle-quantity-break-label” }, { value: “.bogos-bundles-quantity-break-button-add” }, { value: “.bogos-bundles-quantity-break-total-title” }, { value: “.bogos-bundle-quantity-break-item-select-button” }, { value: “.bogos-bundles-widget-title” }, { value: “.bogos-bundles-widget-description” }, { value: “.bogos-bundles-total-title” }, { value: “.bogos-bundle-item-select-button” }, { value: “.bogos-bundles-button-add” }, { value: “.bogos-bundle-item-title” }, { value: “.bogos-slider-info-title” }, { value: “.bogos-slider-info-subtitle” }, { value: “.bogos-slider-offer-title” }, { value: “.bogos-gift-select-variant option:first-child” }, { value: “.bogos-badge-title” }, { value: “.bogos-offer-switch-title” }, { value: “.fg-gift-thumbnail-offer-title” }, { value: “.fg-gift-thumbnail-offer-footer-quantity” }, { value: “.fg-gift-thumbnail-offer-time-title” }, { value: “#appstle_subscription_widget1” }] }] }, { name: “Shopify additionnal settings for javascript integration”, condition: [{ type: “INTEGRATION”, payload: “javascript” }], value: [{ type: “dynamics”, payload: [{ value: “form.cart.ajaxcart” }, { value: “form.cart-drawer” }, { value: “#cross-sell” }, { value: “.wheelio_holder” }, { value: “.mini-cart” }, { value: “#shopify-product-reviews” }, { value: “#esc-oos-form” }, { value: “.product__add-to-cart-button” }, { value: “select.product-variants>option:not([value])” }, { value: “.ui-autocomplete” }, { value: “.shopify-payment-button__button” }, { value: “#shopify-section-static-recently-viewed-products” }, { value: “#recently-viewed-products” }, { value: “#shopify-section-product-recommendations” }, { value: “.action_button.add_to_cart” }] }] }, { name: “Mollie checkout exclusion”, condition: [{ type: “PATH_MATCH”, payload: { type: “MATCH_REGEX”, value: “/checkouts/([\w]+)/forward” } }], value: [{ type: “dynamics”, payload: [{ value: “#payment-form” }] }] }, { name: “Shopify Checkout settings”, condition: [{ type: “PATH_MATCH”, payload: { type: “MATCH_REGEX”, value: “^/(d+/checkouts|checkouts/[a-z]{1,2})/(?:w{2}-)?w{32}” } }], value: [{ type: “shopifyCheckout”, payload: !0 }] }, { name: “When inside Loox Widget iframe”, condition: [[{ type: “HOST_MATCH”, payload: { type: “IS_EXACTLY”, value: “loox.io” } }, { type: “IN_FRAME”, payload: !0 }]], value: [{ type: “whitelist”, payload: [{ value: “main-text” }] }] }, { name: “When inside Loox Widget iframe AND proxy integration”, condition: [[{ type: “HOST_MATCH”, payload: { type: “IS_EXACTLY”, value: “loox.io” } }, { type: “IN_FRAME”, payload: !0 }, { type: “INTEGRATION”, payload: “proxy” }]], value: [{ type: “dynamicPushState”, payload: !0 }] }] }, { $schema: “../../schemas/technologies.schema.json”, title: “Square Online”, technology_id: 16, settings: [{ name: “Square Online default settings for all pages”, value: [{ type: “dynamics”, payload: [{ value: “.w-container” }, { value: “.w-wrapper” }, { value: “.product-header” }, { value: “.product-messages” }, { value: “.error” }, { value: “button” }] }] }] }, { $schema: “../../schemas/technologies.schema.json”, title: “Squarespace”, technology_id: 5, proxyHosts: [], settings: [{ name: “Squarespace default settings for all pages”, value: [{ type: “dynamics”, payload: [{ value: “#sqs-cart-container” }, { value: “#checkout” }, { value: “.sqs-widgets-confirmation” }, { value: “.video-player” }, { value: “.jdgm-widget” }, { value: “.calendar-block” }, { value: “.opentable-v2-block” }, { value: “.blog-item-comments” }, { value: “[data-dynamic-strings]” }] }, { type: “excluded_blocks”, payload: [{ value: “body.sqs-is-page-editing” }] }, { type: “merged_selectors_remove”, payload: [{ value: “.plyr__menu__container” }, { value: “.comment-btn-wrapper” }, { value: “.product-price .original-price” }] }, { type: “extra_definitions”, payload: [{ type: 1, selector: “.variant-select-wrapper”, attribute: “data-text” }] }] }, { name: “Squarespace settings for proxy integration”, condition: [{ type: “INTEGRATION”, payload: “proxy” }], value: [{ type: “dynamics”, payload: [{ value: “.sqs-add-to-cart-button.cart-adding” }, { value: “.sqs-add-to-cart-button.cart-added” }] }, { type: “excluded_blocks”, payload: [{ value: “.comment-body” }] }, { type: “force_translation”, payload: [“form [data-dynamic-strings]”] }] }, { name: “Squarespace settings for javascript integration”, condition: [{ type: “INTEGRATION”, payload: “javascript” }], value: [{ type: “dynamics”, payload: [{ value: “.sqs-add-to-cart-button” }, { value: “.variant-select-wrapper” }] }, { type: “excluded_blocks”, payload: [{ value: “.animation-segment-wrapper” }, { value: “.animation-segment-parent-hidden > *” }] }] }, { name: “Squarespace settings for cart page”, condition: [{ type: “DOM_CONTAINS”, payload: { selector: “#sqs-cart-root” } }], value: [{ type: “excluded_blocks”, payload: [{ value: “#sqs-cart-container [class*=subtotalPrice]” }, { value: “#sqs-cart-container .cart-container .item-price” }] }, { type: “force_translation”, payload: [“#sqs-cart-container”] }] }, { name: “Squarespace settings for checkout page”, condition: [{ type: “DOM_CONTAINS”, payload: { selector: “#checkout” } }], value: [{ type: “excluded_blocks”, payload: [{ value: “#checkout span.money” }, { value: “#checkout [data-test*=incomplete] [class^=PaymentCard-container]” }, { value: “#checkout [data-test*=incomplete] [class^=CustomerAddress-container]” }, { value: “#checkout [class^=CustomerInfoSection-email]” }, { value: “#checkout [class^=GoogleResultsList]” }] }, { type: “force_translation”, payload: [“#checkout”] }, { type: “enable_in_place_setters”, payload: !0 }] }, { name: “Squarespace settings for order status page”, condition: [{ type: “DOM_CONTAINS”, payload: { selector: “#order-status-page-root” } }], value: [{ type: “excluded_blocks”, payload: [{ value: “#order-status-page-root #order-number” }, { value: “#order-status-page-root h2 + div > p” }] }, { type: “force_translation”, payload: [“#order-status-page-root”] }] }, { name: “Disable Connect on the Squarespace site admin area”, condition: [{ type: “HOST_MATCH”, payload: { type: “END_WITH”, value: “squarespace.com” } }], value: [{ type: “forceDisableConnect”, payload: !0 }] }] }, { $schema: “../../schemas/technologies.schema.json”, title: “Webflow”, technology_id: 13, settings: [{ name: “Webflow default settings for all pages”, value: [{ type: “excluded_blocks”, payload: [{ value: “.wg-element-wrapper” }] }] }] }, { $schema: “../../schemas/technologies.schema.json”, title: “Wix”, technology_id: 6, settings: [{ name: “Wix default settings for all pages”, value: [{ type: “dynamicPushState”, payload: !0 }] }, { name: “Wix settings for javascript integration”, condition: [{ type: “INTEGRATION”, payload: “javascript” }], value: [{ type: “dynamics”, payload: [{ value: “#SITE_CONTAINER” }] }] }] }]; function Ki(e, t) { var n = Gi.find(function (e) { return e.technology_id === t.technology_id }); return n && n.settings && n.settings.filter(function (e) { return co(e.condition, t) }).map(function (t) { return t.value.map(function (t) { !function (e, t, n) { var r = e[t]; void 0 !== r ? Array.isArray(r) && Array.isArray(n) ? e[t] = r.concat(n) : Array.isArray(n) && “string” == typeof r ? e[t] = n.concat([r.split(“,”)]) : e[t] = “object” != typeof r ? n : Object.assign({}, r, n) : e[t] = n }(e, t.type, t.payload) }) }), e } var Ji = {}; Ji[I.shopify.id] = function () { return mo(“onWeglotSetup”, Ni), F(“initialized”, Ri, !0), mo(“onConnectPageLoad”, Pi), mo(“onPageLanguageSet”, Ii), mo(“onDynamicDetected”, Di), mo(“startWhen”, Mi), {} }, Ji[I.bigcommerce.id] = function () { return mo(“onPageLanguageSet”, wi), {} }, Ji[I.squarespace.id] = function () { return F(“initialized”, zi), K.is_connect || function () { try { document.querySelectorAll(“.animation-segment-wrapper”).forEach(function (e) { e.parentNode.dataset.dynamicStrings = e.textContent }), document.querySelectorAll(“.animation-segment-parent-hidden”).forEach(function (e) { e.dataset.dynamicStrings = “” }) } catch (e) { } }(), {} }, Ji[I.wix.id] = function () { var e = {}; return window.wixBiSession ? (“bolt” === window.wixBiSession.renderType || K.visual_editor || (document.addEventListener(“DOMContentLoaded”, Wi), e.delayStart = !0, e.wait_transition = !1), “bolt” === window.wixBiSession.renderType && (Ui(function () { H(“start”) }), e.delayStart = !0, e.wait_transition = !1), e) : e }, Ji[I.webflow.id] = function () { return F(“switchersReady”, $i), { forceDisableConnect: window.Webflow && window.Webflow.env && !!window.Webflow.env(“editor”), linkHooksConfig: { additionalCheckSelectors: Vi, buildAdditionalSelectors: Fi, onLinkActive: Hi, offLinkActive: Bi } } }; var Xi = [“excluded_blocks”, “excluded_blocks_remove”, “dynamics”, “excluded_paths”, “dangerously_force_dynamic”, “extra_definitions”, “translate_event”, “whitelist”]; function Yi(e) { if (!e.technology_id) { var t = e.technology_name, n = t && I[t]; n && (e.technology_id = n.id, e.technology_name = n.name) } var r = function (e) { return e.technology_id ? Ki(Ji[e.technology_id] ? Ji[e.technology_id]() : {}, e) : {} }(e), a = Object.assign({}, z, r), o = {}; return Xi.forEach(function (t) { var n, r; a[t] && e[t] && (o[t] = (n = e[t], (r = a[t]) ? Array.isArray(n) ? [].concat(n, r) : “object” == typeof n ? Object.assign({}, n, r) : (n = n.split(“,”).filter(function (e) { return e }).join(“,”)) && n.length > 0 && n !== r ? n += “,” + r : n = r : n)) }), Object.assign({}, a, e, o) } function Qi(e) { if (e.deleted_at) throw { wgErrMsg: “Cannot load Weglot because the project has been deleted” }; var t = Yi(e); oo(e) && (t.subdirectory = !0); var n = function (e) { if (!e.includes(A)) return null; var t = e.split(“.”)[0]; return t.includes(“-“) ? t.split(“-“).reverse()[0] : t }(window.location.hostname); if (n && (t.previewHash = n, t.is_dns_set = !0, t.subdirectory = window.location.hostname.startsWith(“subdir-“)), t.is_connect = t.subdirectory || io(e), Q(window.location.hostname) && (window.location.hostname.includes(“switchers”) && (t.switcher_editor = !0), t.visual_editor = !0), t.private_mode = !!function () { -1 !== location.search.indexOf(“weglot-private=0”) && br().removeItem(“wg-private-mode”); var e = document.getElementById(“admin-bar-iframe”) || document.getElementById(“preview-bar-iframe”) || -1 !== location.search.indexOf(“weglot-private=1”) || Q(window.location.hostname) || “1” === br(“cookie”).getItem(“wg-private-mode”); return e && br(“cookie”).setItem(“wg-private-mode”, “1”), !!e }(), t.custom_css = t.custom_css || t.button_style && t.button_style.custom_css || “”, t.switchers && t.switchers.length ? t.switchers = t.switchers.map(function (e) { var t = e.button_style, n = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && -1 === t.indexOf(r) && (n[r] = e[r]); return n }(e, [“button_style”]), r = n; return Object.assign({}, r, { style: r.style || t }) }) : t.switchers = [{ style: t.button_style || {}, location: { target: “”, sibling: “” }, default: !0 }], t.api_key.length < 36 && (t.translation_engine = 1), t.dangerously_force_dynamic && (t.dynamics = t.dynamics.concat((t.dangerously_force_dynamic || “”).split(“,”).map(function (e) { return { value: e.trim() } }))), t.dynamic && (t.dynamics = t.dynamics.concat(t.dynamic.split(“,”).map(function (e) { return { value: e.trim() } })), delete t.dynamic), t.dynamics_remove && (t.dynamics = t.dynamics.filter(function (e) { return !t.dynamics_remove.includes(e.value) })), t.excluded_blocks_remove && (t.excluded_blocks = t.excluded_blocks.filter(function (e) { return !t.excluded_blocks_remove.includes(e.value) })), t.excluded_blocks = t.excluded_blocks.filter(function (e) { return Te(e.value) }), t.dynamics = t.dynamics.filter(function (e) { return Te(e.value) }), t.forceDisableConnect && (t.is_connect = !1), t.is_tld = !1, t.is_connect && !t.previewHash) { var r = t.host.split(“www.”).pop(); t.is_tld = t.languages.some(function (e) { if (e.connect_host_destination && e.connect_host_destination.host) return !!r && -1 === e.connect_host_destination.host.indexOf(r) }) } return t.prevent_retranslation || (t.prevent_retranslation = t.dynamics.some(function (e) { return “body” === e.value })), t.is_connect && !t.disable_internal_proxy && window.location.hostname !== m ? t.proxyFormat = k : t.proxyFormat = S, t.injectedData = so(), t } function Zi(e, t) { return “https://cdn.weglot.com/projects-settings/” + t + “.json” } function es(e, t) { switch (e) { case “library”: var n = l(); if (n && n.settings) { var r = n.settings, a = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && -1 === t.indexOf(r) && (n[r] = e[r]); return n }(n, [“settings”]), o = a; return r.injectedData = o, Promise.resolve(r) } return fetch(Zi(0, t)).then(function (e) { return e.json() }); case “visual-editor”: return fetch(Zi(0, t)).then(function (e) { return e.json() }); default: throw new Error(“Unknown service: ” + e) } } function ts(e, t) { return es(e, t).then(function (e) { return ai(e) }) } function ns(e) { var t = _i(e); if (!t.api_key) throw Error(“You have to provide at least a key”); var n, r = t.api_key.split(“wg_”).pop(); if (!r) throw new Error(“Cannot fetch Weglot options. Is your key correct?”); return (n = r, ts(“library”, n)).then(function (e) { var n = Qi(ni(e, t)); return J(n), yi(n), n }).catch(function (e) { o.error(e, { consoleOverride: (e && “wgErrMsg” in e ? e.wgErrMsg : void 0) || “Cannot fetch Weglot options. Is your key correct?”, sendToDatadog: !1 }) }) } function rs(e) { var t = K.api_key, n = K.pageview_sample_rate, r = “https://api.weglot.com/pageviews?api_key=” + t; if (!(n && Math.random() > n)) { var a = JSON.stringify({ url: e || Oe().url, language: We(), browser_language: navigator.language }); if (navigator.sendBeacon) try { return void navigator.sendBeacon(r, a) } catch (e) { } try { fetch(r, { method: “POST”, body: a }) } catch (e) { } } } var as = !1, os = !1, is = null; function ss(e) { as = e } function ls() { return as } function us(e) { is = e } function cs(e) { os = e } function ds(e) { return e.indexOf(“weglot_script_tag”) > -1 } function fs() { var e = xt(); if (K.is_connect) return function (e) { var t = document.documentElement.dataset.wgTranslated || (K.subdirectory ? Me() : De()); if (t !== K.language_from) return t; if (K.technology_name === I.shopify.name) { var n = function () { if (mr.get(“wg_checkout_redirect”)) return K.language_from; var e = mr.get(“wg_checkout_language”); return e && !K.shopifyCheckout && !Ee() && xt().includes(e) ? (mr.erase({ name: “wg_checkout_language”, options: K }), e) : void 0 }(); if (n) return n } var r = Aa(); if (t === K.language_from && r && e.includes(r)) return r; return K.language_from }(e); var t = xe(“lang”); if (t && e.includes(t)) return cs(!0), t; if (K.language_to && e.includes(K.language_to)) return K.language_to; if (je(K.technology_name)) return function (e) { var t = ze(); if (t === K.language_from) { var n = Aa(); if (n && e.includes(n)) return cs(!0), n } return t || K.language_from }(e); var n = ja(); if (n && e.includes(n)) return n; var r = Aa(); return r && e.includes(r) ? (cs(!0), r) : K.language_from } var gs = !1; function ps(e) { window.postMessage({ name: f, data: e, target: _ }, “*”) } function hs(e) { if (e.data && “object” == typeof e.data) { var t = e.data, n = t.name, r = t.target, a = t.data; if (n === f && r === v) if (“library” === r) if (gs = !0, a.type === g) ps({ type: p, payload: We() }) } } F(“languageChanged”, function (e) { if (!gs) return; ps({ type: h, payload: e }) }); var vs = function () { var e = function (e, t) { return Array.prototype.slice.call(e, t) }, t = null; “undefined” != typeof WorkerGlobalScope && self instanceof WorkerGlobalScope ? t = self : “undefined” != typeof global ? t = global : window && (t = window); var n = t, r = t.document, a = [“load”, “loadend”, “loadstart”], o = [“progress”, “abort”, “error”, “timeout”], i = function (e) { return [“returnValue”, “totalSize”, “position”].includes(e) }, s = function (e, t) { for (var n in e) if (!i(n)) { var r = e[n]; try { t[n] = r } catch (e) { } } return t }, l = function (e, t, n) { for (var r = function (e) { return function (r) { var a = {}; for (var o in r) if (!i(o)) { var s = r[o]; a[o] = s === t ? n : s } return n.dispatchEvent(e, a) } }, a = 0, o = Array.from(e); a < o.length; a += 1) { var s = o[a]; n._has(s) && (t[“on” + s] = r(s)) } }, u = function (e) { if (r && null != r.createEventObject) { var t = r.createEventObject(); return t.type = e, t } try { return new Event(e) } catch (t) { return { type: e } } }, c = function (t) { var n = {}, r = function (e) { return n[e] || [] }, a = { addEventListener: function (e, t, a) { n[e] = r(e), n[e].indexOf(t) >= 0 || (a = void 0 === a ? n[e].length : a, n[e].splice(a, 0, t)) }, removeEventListener: function (e, t) { if (void 0 !== e) { void 0 === t && (n[e] = []); var a = r(e).indexOf(t); -1 !== a && r(e).splice(a, 1) } else n = {} }, dispatchEvent: function () { var n = e(arguments), o = n.shift(); t || (n[0] = s(n[0], u(o)), Object.defineProperty(n[0], “target”, { writable: !1, value: this })); var i = a[“on” + o]; i && i.apply(a, n); for (var l = r(o).concat(r(“*”)), c = 0; c < l.length; c++)l[c].apply(a, n) }, _has: function (e) { return !(!n[e] && !a[“on” + e]) } }; return t && (a.listeners = function (t) { return e(r(t)) }, a.on = a.addEventListener, a.off = a.removeEventListener, a.fire = a.dispatchEvent, a.once = function (e, t) { var n = function () { return a.off(e, n), t.apply(null, arguments) }; return a.on(e, n) }, a.destroy = function () { return n = {} }), a }, d = function (e, t) { switch (typeof e) { case “object”: return n = e, Object.entries(n).map(function (e) { var t = e[0], n = e[1]; return t.toLowerCase() + “: ” + n }).join(“rn”); case “string”: return function (e, t) { null == t && (t = {}); for (var n = 0, r = e.split(“rn”); n < r.length; n += 1) { var a = r[n]; if (/([^:]+):s*(.+)/.test(a)) { var o = null != RegExp.$1 ? RegExp.$1.toLowerCase() : void 0, i = RegExp.$2; null == t[o] && (t[o] = i) } } return t }(e, t) }var n; return [] }, f = c(!0), g = function (e) { return void 0 === e ? null : e }, p = n.XMLHttpRequest, h = function () { var e, t, n, r = new p, i = {}, u = null, h = 0, v = function () { if (n.status = u || r.status, -1 !== u && (n.statusText = r.statusText), -1 !== u); else { var e = d(r.getAllResponseHeaders()); for (var t in e) { var a = e[t]; if (!n.headers[t]) { var o = t.toLowerCase(); n.headers[o] = a } } } }, _ = function () { b.status = n.status, b.statusText = n.statusText }, m = function () { e || b.dispatchEvent(“load”, {}), b.dispatchEvent(“loadend”, {}), e && (b.readyState = 0) }, y = function (e) { for (; e > h && h < 4;)b.readyState = ++h, 1 === h && b.dispatchEvent(“loadstart”, {}), 2 === h && _(), 4 === h && (_(), “text” in n && (b.responseText = n.text), “xml” in n && (b.responseXML = n.xml), “data” in n && (b.response = n.data), “finalUrl” in n && (b.responseURL = n.finalUrl)), b.dispatchEvent(“readystatechange”, {}), 4 === h && (!1 === i.async ? m() : setTimeout(m, 0)) }, w = function (e) { if (4 === e) { var t = f.listeners(“after”), r = function () { if (t.length > 0) { var e = t.shift(); 2 === e.length ? (e(i, n), r()) : 3 === e.length && i.async ? e(i, n, r) : r() } else y(4) }; r() } else y(e) }, b = c(); i.xhr = b, r.onreadystatechange = function () { try { 2 === r.readyState && v() } catch (e) { } 4 === r.readyState && (t = !1, v(), function () { if (r.responseType && “text” !== r.responseType) “document” === r.responseType ? (n.xml = r.responseXML, n.data = r.responseXML) : n.data = r.response; else { n.text = r.responseText, n.data = r.responseText; try { n.xml = r.responseXML } catch (e) { } } “responseURL” in r && (n.finalUrl = r.responseURL) }()), w(r.readyState) }; var k = function () { e = !0 }; b.addEventListener(“error”, k), b.addEventListener(“timeout”, k), b.addEventListener(“abort”, k), b.addEventListener(“progress”, function () { h < 3 ? w(3) : r.readyState <= 3 && b.dispatchEvent(“readystatechange”, {}) }), “withCredentials” in r && (b.withCredentials = !1), b.status = 0; for (var S = 0, x = Array.from(o.concat(a)); S < x.length; S += 1) { var E = x[S]; b[“on” + E] = null } if (b.open = function (r, a, o, s, l) { h = 0, e = !1, t = !1, i.headers = {}, i.headerNames = {}, i.status = 0, i.method = r, i.url = a, i.async = !1 !== o, i.user = s, i.pass = l, (n = {}).headers = {}, w(1) }, b.send = function (e) { for (var u, c, d = 0, g = [“type”, “timeout”, “withCredentials”]; d < g.length; d += 1)(c = “type” === (u = g[d]) ? “responseType” : u) in b && (i[u] = b[c]); i.body = e; var p = f.listeners(“before”), h = function () { if (!p.length) return function () { for (var e = 0, n = (l(o, r, b), b.upload && l(o.concat(a), r.upload, b.upload), t = !0, r.open(i.method, i.url, i.async, i.user, i.pass), [“type”, “timeout”, “withCredentials”]); e < n.length; e += 1)c = “type” === (u = n[e]) ? “responseType” : u, u in i && (r[c] = i[u]); for (var s in i.headers) { var d = i.headers[s]; s && r.setRequestHeader(s, d) } r.send(i.body) }(); var e = function (e) { if (“object” == typeof e && (“number” == typeof e.status || “number” == typeof n.status)) return s(e, n), “data” in e || (e.data = e.response || e.text), void w(4); h() }; e.head = function (e) { s(e, n), w(2) }, e.progress = function (e) { s(e, n), w(3) }; var d = p.shift(); 1 === d.length ? e(d(i)) : 2 === d.length && i.async ? d(i, e) : e() }; h() }, b.abort = function () { u = -1, t ? r.abort() : b.dispatchEvent(“abort”, {}) }, b.setRequestHeader = function (e, t) { var n = null != e ? e.toLowerCase() : void 0, r = i.headerNames[n] = i.headerNames[n] || e; i.headers[r] && (t = i.headers[r] + “, ” + t), i.headers[r] = t }, b.getResponseHeader = function (e) { return g(n.headers[e ? e.toLowerCase() : void 0]) }, b.getAllResponseHeaders = function () { return g(d(n.headers)) }, r.overrideMimeType && (b.overrideMimeType = function () { r.overrideMimeType.apply(r, arguments) }), r.upload) { var L = c(); b.upload = L, i.upload = L } return b.UNSENT = 0, b.OPENED = 1, b.HEADERS_RECEIVED = 2, b.LOADING = 3, b.DONE = 4, b.response = “”, b.responseText = “”, b.responseXML = null, b.readyState = 0, b.statusText = “”, b }; h.UNSENT = 0, h.OPENED = 1, h.HEADERS_RECEIVED = 2, h.LOADING = 3, h.DONE = 4; var v = { patch: function () { p && (n.XMLHttpRequest = h) }, unpatch: function () { p && (n.XMLHttpRequest = p) }, Native: p, Xhook: h }; var _ = n.fetch; function m(e) { return e instanceof Headers ? y([].concat(e.entries())) : Array.isArray(e) ? y(e) : e } function y(e) { return e.reduce(function (e, t) { var n = t[0], r = t[1]; return e[n] = r, e }, {}) } var w = function (e, t) { void 0 === t && (t = { headers: {} }); var n = Object.assign(Object.assign({}, t), { isFetch: !0 }); if (e instanceof Request) { var r = function (e) { var t = {}; return [“method”, “headers”, “body”, “mode”, “credentials”, “cache”, “redirect”, “referrer”, “referrerPolicy”, “integrity”, “keepalive”, “signal”, “url”].forEach(function (n) { return t[n] = e[n] }), t }(e), a = Object.assign(Object.assign({}, m(r.headers)), m(n.headers)); n = Object.assign(Object.assign(Object.assign({}, r), t), { headers: a, acceptedRequest: !0 }) } else n.url = e; var o = f.listeners(“before”), i = f.listeners(“after”); return new Promise(function (t, r) { var a = this, s = t, l = function (e) { if (!i.length) return s(e); var t = i.shift(); return 2 === t.length ? (t(n, e), l(e)) : 3 === t.length ? t(n, e, l) : l(e) }, u = function (e) { if (void 0 !== e) { var n = new Response(e.body || e.text, e); return t(n), void l(n) } c() }, c = function () { if (o.length) { var e = o.shift(); return 1 === e.length ? u(e(n)) : 2 === e.length ? e(n, u) : void 0 } d() }, d = function () { return function (e, t, n, r) { return new (n || (n = Promise))(function (t, a) { function o(e) { try { s(r.next(e)) } catch (e) { a(e) } } function i(e) { try { s(r.throw(e)) } catch (e) { a(e) } } function s(e) { var r; e.done ? t(e.value) : (r = e.value, r instanceof n ? r : new n(function (e) { e(r) })).then(o, i) } s((r = r.apply(e, [])).next()) }) }(a, 0, void 0, function* () { var t = n.url, a = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && “function” == typeof Object.getOwnPropertySymbols) { var a = 0; for (r = Object.getOwnPropertySymbols(e); a < r.length; a++)t.indexOf(r[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[a]) && (n[r[a]] = e[r[a]]) } return n }(n, [“url”, “isFetch”, “acceptedRequest”]); return e instanceof Request && a.body instanceof ReadableStream && (a.body = yield new Response(a.body).text()), _(t, a).then(function (e) { return l(e) }).catch(function (e) { return s = r, l(e), r(e) }) }) }; c() }) }, b = { patch: function () { _ && (n.fetch = w) }, unpatch: function () { _ && (n.fetch = _) }, Native: _, Xhook: w }, k = f; return k.EventEmitter = c, k.before = function (e, t) { if (e.length < 1 || e.length > 2) throw “invalid hook”; return k.on(“before”, e, t) }, k.after = function (e, t) { if (e.length < 2 || e.length > 3) throw “invalid hook”; return k.on(“after”, e, t) }, k.enable = function () { v.patch(), b.patch() }, k.disable = function () { v.unpatch(), b.unpatch() }, k.XMLHttpRequest = v.Native, k.fetch = b.Native, k.headers = d, k }(); function _s(e, t) { if (!e || !t || “*” === t) return !1; var n = new RegExp(“^” + t.replace(/?/g, “.”).replace(/*/g, “.*”) + “$”); if (n.test(e)) return !0; if (!(e.startsWith(“/”) && !e.startsWith(“//”))) return !1; var r = window.location.origin; try { var a = new URL(e, r); return n.test(a.toString()) } catch (e) { return !1 } } function ms(e, t) { if (e) try { return new URL(e.trim(), (null == t ? void 0 : t.trim()) || void 0) } catch (e) { return } } var ys = function (e) { var t = e.options, n = e.slugs, r = e.language, a = e.location; this.options = t, this.slugs = n, this.language = r, this.location = a }; function ws(e, t) { var n = K.xhr_hooks, r = K.language_from, a = We(); if (r === a || Ge()) t(); else { var o = e.url, i = n.filter(bs).find(function (e) { return _s(o, e.url_wildcard) }); if (i) return function (e, t, n) { var r = t.target_source, a = t.target_key, o = t.action, i = { url_query: function (t, n) { return void 0 === n && (n = e.url), { word: new _e(n, “https://” + window.location.hostname).searchParams.get(t), setter: function (r) { var a = new _e(n, “https://” + window.location.hostname); a.searchParams.set(t, r); var o = a.toString(); return n === e.url && (e.url = o), o } } }, url: function (t, n) { void 0 === n && (n = e.url); var r = new RegExp(t), a = n.match(r), o = a && a[1]; if (!o) return {}; var i = !1, s = o; try { (s = decodeURIComponent(o)) !== o && (i = !0) } catch (e) { } return { word: s, setter: function (t) { var r = i ? encodeURIComponent(t) : t, a = n.replace(o, r); return n === e.url && (e.url = a), a } } }, url_encoded_form_payload: function (t, n) { void 0 === n && (n = e.body); var r = new _e(“https://unused.com?” + n).searchParams; return { word: r.get(t), setter: function (a) { r.set(t, a); var o = r.toString(); return n === e.body && (e.body = o), o } } }, form_data_payload: function (t, n) { return void 0 === n && (n = e.body), { word: n.get(t), setter: function (r) { n.set(t, r); var a = n; return n === e.body && (e.body = a), a } } }, json_payload: function (t, n) { return void 0 === n && (n = e.body), { word: JSON.parse(n)[t], setter: function (r) { var a, o = JSON.stringify(Object.assign({}, JSON.parse(n), ((a = {})[t] = r, a))); return n === e.body && (e.body = o), o } } } }; return function t(r, a, s) { void 0 === s && (s = void 0); var l = r[0], u = r.slice(1), c = a[0], d = a.slice(1); if (“proxify” === o) return e.url = new ys({ options: K, language: n, slugs: {}, location: window.location.href }).proxify(e.url), Promise.resolve(e.url); if (!i[c] || r.length !== a.length) return Promise.resolve(s); var f = i[c](l, s), g = f.word, p = f.setter; return g ? u.length && d.length ? t(u, d, g).then(p) : “reverse_handle_path” === o ? new Promise(function (t) { return Tr(function (r) { var a = new ys({ options: K, language: n, slugs: r, location: window.location.href }).handle(g, !0); e.url === c && (e.url = a), t(p(a)) }) }) : “reverse_translate” === o ? new Promise(function (e) { return qo(g, function (t) { return e(p(t)) }) }) : Promise.resolve(s) : Promise.resolve(s) }(Array.isArray(a) ? a : [a], Array.isArray(r) ? r : [r]) }(e, i, a).then(function () { t() }); t() } } function bs(e) { if (!e) return !1; var t = e.url_wildcard, n = e.action, r = e.target_source, a = e.target_key; return !!t && (“proxify” === n ? Array.isArray(r) && r.includes(“url”) || “url” === r : !![“reverse_translate”, “reverse_handle_path”].some(function (e) { return e === n }) && (r && a)) } ys.prototype.handle = function (e, t) { if (void 0 === t && (t = !1), !this.options.is_connect) return e; var n = “/” === e.slice(0, 1) && “//” !== e.slice(0, 2), r = ms(e, “https://unused.com”); if (!r) return e; var a = r.host, o = r.pathname; return n || this.isValidHost(a) ? (t ? (r.pathname = this.reverseHandlePath(o), r.host = this.reverseHandleHost(a)) : (r.pathname = this.handlePath(o), r.host = this.handleHost(a)), n ? “” + r.pathname + r.search + r.hash : r.toString()) : e }, ys.prototype.isValidHost = function (e) { var t; return e === this.options.host || (null === (t = this.options.languages) || void 0 === t ? void 0 : t.some(function (t) { var n; return (null === (n = t.connect_host_destination) || void 0 === n ? void 0 : n.host) === e })) }, ys.prototype.proxify = function (e) { var t = ms(this.location), n = “/” === e.slice(0, 1), r = n && “//” !== e.slice(0, 2); if (r && !t) return e; if (!n && !ms(e)) return e; var a = (r ? “” + t.hostname + e : e).replace(/^(https?:)?///, “”), o = To({ targetLanguage: this.language, currentLanguage: this.language, options: this.options }); return o ? “” + o + a : e }, ys.prototype.reverseHandlePath = function (e) { var t = this.convertSlugsToOriginal(e); return this.options.subdirectory ? new Pe({ pathname: t, options: this.options }).convertLocale(this.options.language_from, t) : t }, ys.prototype.handlePath = function (e) { var t = this.convertSlugsToTranslated(e); return this.options.subdirectory ? new Pe({ pathname: t, options: this.options }).convertLocale(this.language, t) : t }, ys.prototype.reverseHandleHost = function (e) { if (this.options.subdirectory) return e; var t = this.options.languages.find(function (t) { var n; return (null === (n = t.connect_host_destination) || void 0 === n ? void 0 : n.host) === e }); return t && this.options.host || e }, ys.prototype.handleHost = function (e) { var t, n = this; if (this.options.subdirectory) return e; if (e !== this.options.host) return e; var r = this.options.languages.find(function (e) { return e.language_to === n.language }); return r && (null === (t = r.connect_host_destination) || void 0 === t ? void 0 : t.host) || e }, ys.prototype.convertSlugsToOriginal = function (e) { var t; if (!this.language || !(null === (t = this.slugs) || void 0 === t ? void 0 : t[this.language])) return e; var n = this.slugs[this.language].translated; return void 0 === n && (n = {}), e.split(“/”).map(function (e) { return n[e] ? encodeURI(n[e]) : e }).join(“/”) }, ys.prototype.convertSlugsToTranslated = function (e) { var t; if (!this.language || !(null === (t = this.slugs) || void 0 === t ? void 0 : t[this.language])) return e; var n = this.slugs[this.language].original; return void 0 === n && (n = {}), e.split(“/”).map(function (e) { return n[e] ? encodeURI(n[e]) : e }).join(“/”) }; var ks = []; function Ss(e) { void 0 === e && (e = We()), function (e) { void 0 === e && (e = We()); for (var t = { message: “Weglot.setLanguage”, payload: e }, n = 0, r = ks; n < r.length; n += 1) { var a = r[n]; try { a.postMessage(t, “*”) } catch (e) { o.warn(e) } } }(e), Ao({ langTo: e }) } function xs(e) { if (e.data && “null” !== e.origin) { var t = e.data, n = t.message, r = t.payload; if (n) { if (“Weglot.iframe” === n) { var a = { message: “Weglot.setLanguage”, payload: We() }; return e.source.postMessage(a, e.origin), void ks.push(e.source) } “Weglot.setLanguage” !== n || ko(r) } } } var Es = !1; function Ls(e) { var t = K.service_worker; if (t && t.enabled && “serviceWorker” in navigator) { var n = navigator.serviceWorker; n.getRegistration().then(function (e) { if (!e) return n.register(t.path_override || “/wg-sw.js”) }).then(function () { return n.ready }).then(function () { return new Promise(function (e) { if (navigator.serviceWorker.controller) e(); else { var t = function () { navigator.serviceWorker.controller && (navigator.serviceWorker.removeEventListener(“controllerchange”, t), e()) }; navigator.serviceWorker.addEventListener(“controllerchange”, t), setTimeout(function () { navigator.serviceWorker.controller && (navigator.serviceWorker.removeEventListener(“controllerchange”, t), e()) }, 1e3) } }) }).then(function () { Es = !0, Tr(function (t) { Ts({ type: w, data: { slugs: t, language: e, options: K } }) }) }).catch(function (e) { o.error(e) }) } } function Ts(e) { var t; null === (t = navigator.serviceWorker.controller) || void 0 === t || t.postMessage({ name: “weglot-sw”, payload: e }) } F(“languageChanged”, function (e) { Es && Ts({ type: b, data: e }) }); var As = function (e) { var t = e.body, n = e.apiPayload, r = e.actions, a = e.parentParser, o = e.language, i = e.source, s = e.headers, l = e.slugs, u = e.options, c = e.requestUrl, d = e.logger; this.contentString = “”, this.bodyBuffer = null, this.type = “”, this.logger = d, this.linkSetters = [], this.extractBody(t), this.apiPayload = n, this.actions = r, this.needsSerialization = !1, this.afterSetters = [], this.language = o, this.source = i, this.headers = s, this.slugs = l, this.requestUrl = c, this.options = u, a && (this.parentParser = a) }; function Cs(e) { if (!e || “” === e) return []; for (var t = [], n = “”, r = !1, a = “”, o = 0; o < e.length; o++) { var i = e[o]; “[” === i ? (n && (t.push(n), n = “”), r = !0, a = “”) : “]” === i ? r && (t.push(“[” + a + “]”), r = !1, a = “”) : “.” !== i || r ? r ? a += i : n += i : n && (t.push(n), n = “”) } return n && t.push(n), t } function js(e, t) { if (!e || !t) return []; var n = [], r = Cs(t), a = 0; return r.length > 0 && “$” === r[0] && (a = 1), function e(t, a, o) { if (o >= r.length) n.push({ value: t, path: a }); else { var i = r[o]; if (“..” === i) o + 1 < r.length && e(t, a, o + 1); else if (“*” === i) Array.isArray(t) ? t.forEach(function (t, n) { e(t, a + “[” + n + “]”, o + 1) }) : “object” == typeof t && null !== t && Object.keys(t).forEach(function (n) { e(t[n], a + “.” + n, o + 1) }); else if (i.startsWith(“[“) && i.endsWith(“]”)) { var s = i.slice(1, -1); if (Array.isArray(t)) if (“*” === s) t.forEach(function (t, n) { e(t, a + “[” + n + “]”, o + 1) }); else { var l = parseInt(s, 10); !isNaN(l) && l >= 0 && l < t.length && e(t[l], a + “[” + l + “]”, o + 1) } } else “object” == typeof t && null !== t && i in t && e(t[i], a + “.” + i, o + 1) } }(e, “”, a), n } As.prototype.setNeedsSerialization = function () { this.needsSerialization = !0, this.parentParser && this.parentParser.setNeedsSerialization() }, As.prototype.addToAfterSetters = function (e) { this.afterSetters.push(e) }, As.prototype.addToApiPayload = function (e) { this.parentParser ? this.parentParser.addToApiPayload(e) : this.apiPayload.push(e) }, As.prototype.onSlugsReady = function (e) { this.parentParser ? this.parentParser.onSlugsReady(e) : this.linkSetters.push(e) }, As.prototype.setSlugsReady = function (e) { this.slugs = e, this.linkSetters.forEach(function (e) { return e() }) }, As.prototype.parse = function () { try { this._parse() } catch (e) { throw this.logger.error({ message: “Parser ” + this.type + ” failed during parsing”, error: e instanceof Error ? e.message : String(e), content: this.contentString.substring(0, 100), actions: this.actions }), e } }, As.prototype.extractBody = function (e) { try { this._extractBody(e) } catch (t) { throw this.logger.error({ message: “Parser ” + this.type + ” failed during reading of body”, data: { error: t instanceof Error ? t.message : String(t), body: e } }), t } }, As.prototype.set = function (e, t) { try { this._set(e, t), this.setNeedsSerialization() } catch (n) { throw this.logger.error({ message: “Parser ” + this.type + ” failed during setting: ” + e + “, ” + t, data: { error: n instanceof Error ? n.message : String(n), key: e, value: t } }), n } }, As.prototype.serialize = function () { this.afterSetters.map(function (e) { return e() }); try { return this._serialize() } catch (e) { throw this.logger.error({ message: “Parser ” + this.type + ” failed during serialization”, data: { error: e instanceof Error ? e.message : String(e) } }), e } }, As.prototype._extractBody = function (e) { if (“string” == typeof e) return this.contentString = e, void (this.bodyBuffer = null); var t = new TextDecoder; this.contentString = t.decode(e) }, As.prototype._parse = function () { throw new Error(“Parser not implemented.”) }, As.prototype._set = function (e, t) { throw new Error(“Parser not yet implemented.”) }, As.prototype._serialize = function () { throw new Error(“Parser not implemented.”) }, As.prototype.applyAction = function (e, t, n) { var r = this; if (t && “string” == typeof t) switch (n.action_type) { case “parse_child”: var a = n.child_parser, o = n.child_actions; if (!a || !o) return; var i = new (Ds(a))({ body: t, apiPayload: this.apiPayload, actions: o, parentParser: this, language: this.language, source: this.source, headers: this.headers, slugs: this.slugs, requestUrl: this.requestUrl, logger: this.logger, options: this.options }); i.parse(), this.addToAfterSetters(function () { return r.set(e, i.serialize()) }); break; case “reverse_translate”: this.addToApiPayload({ word: t, type: 0, setter: function (t) { r.set(e, t) } }); break; case “reverse_handle_link”: var s = function () { var n = new ys({ options: r.options, language: r.language, slugs: r.slugs, location: r.requestUrl }).handle(t, !0); r.set(e, n) }; if (this.slugs) return void s(); this.onSlugsReady(s); break; case “handle_link”: var l = function () { var n = new ys({ options: r.options, language: r.language, slugs: r.slugs, location: r.requestUrl }).handle(t, !1); r.set(e, n) }; if (this.slugs) return void l(); this.onSlugsReady(l); break; case “proxify_link”: var u = new ys({ options: this.options, language: this.language, slugs: {}, location: this.requestUrl }).proxify(t); this.set(e, u); break; default: return n } }; var Os = function (e) { function t() { e.apply(this, arguments), this.type = “json” } return e && (t.__proto__ = e), t.prototype = Object.create(e && e.prototype), t.prototype.constructor = t, t.prototype._parse = function () { this.parsed = JSON.parse(this.contentString); for (var e = 0, t = this.actions; e < t.length; e += 1)for (var n = t[e], r = n.key, a = 0, o = js(this.parsed, r); a < o.length; a += 1) { var i = o[a], s = i.value, l = i.path; this.applyAction(l, s, n) } }, t.prototype._set = function (e, t) { var n = function (e, t, n) { if (!e || !t) return { success: !1, newValue: e }; var r = Cs(t); if (0 === r.length) return { success: !1, newValue: e }; var a = 0; if (r.length > 0 && “$” === r[0] && (a = 1), a >= r.length) return { success: !1, newValue: e }; var o = JSON.parse(JSON.stringify(e)), i = function e(t, a) { if (a >= r.length – 1) { var o = r[a]; if (!o.startsWith(“[“) || !o.endsWith(“]”)) return t[o] = n, !0; var i = o.slice(1, -1), s = parseInt(i, 10); return !(isNaN(s) || !Array.isArray(t) || (t[s] = n, 0)) } var l = r[a]; if (!l.startsWith(“[“) || !l.endsWith(“]”)) { if (!t[l]) { var u = r[a + 1]; u && u.startsWith(“[“) && u.endsWith(“]”) ? t[l] = [] : t[l] = {} } return e(t[l], a + 1) } var c = l.slice(1, -1), d = parseInt(c, 10); if (!isNaN(d) && Array.isArray(t)) { if (!t[d]) { var f = r[a + 1]; f && f.startsWith(“[“) && f.endsWith(“]”) ? t[d] = [] : t[d] = {} } return e(t[d], a + 1) } return !1 }(o, a); return { success: i, newValue: o } }(this.parsed, e, t); n.success && (this.parsed = n.newValue) }, t.prototype._serialize = function () { return JSON.stringify(this.parsed) }, t }(As), Ns = function (e) { function t() { e.apply(this, arguments), this.type = “url_query”, this.queryStartIndex = -1, this.queryEndIndex = -1 } return e && (t.__proto__ = e), t.prototype = Object.create(e && e.prototype), t.prototype.constructor = t, t.prototype._parse = function () { var e = this.contentString.match(/^[^#]*?([^#]*)/); if (e) { this.queryStartIndex = e.index + e[0].indexOf(“?”) + 1, this.queryEndIndex = this.queryStartIndex + e[1].length, this.parsed = new URL(“https://www.example.com?” + e[1]); for (var t = 0, n = this.actions; t < n.length; t += 1) { var r = n[t], a = this.parsed.searchParams.get(r.key); a && this.applyAction(r.key, a, r) } } }, t.prototype._set = function (e, t) { this.parsed.searchParams.set(e, t) }, t.prototype._serialize = function () { if (!this.parsed) return this.contentString; var e = this.parsed.searchParams.toString(); return this.contentString.substring(0, this.queryStartIndex) + e + this.contentString.substring(this.queryEndIndex) }, t }(As), Rs = function (e) { function t() { e.apply(this, arguments), this.type = “form_urlencoded” } return e && (t.__proto__ = e), t.prototype = Object.create(e && e.prototype), t.prototype.constructor = t, t.prototype._set = function (e, t) { this.parsed.set(e, t) }, t.prototype._parse = function () { this.parsed = new URLSearchParams(this.contentString); for (var e = 0, t = this.actions; e < t.length; e += 1) { var n = t[e], r = this.parsed.get(n.key); this.applyAction(n.key, r, n) } }, t.prototype._serialize = function () { return this.parsed.toString() }, t }(As), Ps = function (e) { function t() { e.apply(this, arguments), this.type = “form_multipart”, this.parsedParts = [], this.boundary = “” } return e && (t.__proto__ = e), t.prototype = Object.create(e && e.prototype), t.prototype.constructor = t, t.prototype._parse = function () { var e = this; if (this.formData) this.parseFormData(); else { var t = (this.headers.get(“Content-Type”) || “”).match(/boundary=(.+)$/); if (!t) throw new Error(“Header boundary not found in body”); this.boundary = t[1]; for (var n = new Uint8Array(this.bodyBuffer), r = new TextEncoder, a = new TextDecoder, o = “–” + this.boundary, i = r.encode(o), s = this.findBoundaries(n, i), l = [], u = 0; u < s.length – 1; u++) { var c = s[u] + i.length; 13 === n[c] && 10 === n[c + 1] && (c += 2); var d = s[u + 1]; 13 === n[d – 2] && 10 === n[d – 1] && (d -= 2), l.push(n.subarray(c, d)) } for (var f = function () { var t = p[g], n = e.extractField(t, a), r = n.fieldName, o = n.fieldValue, i = n.headersBytes, s = n.bodyBytes; if (!r) throw new Error(“Error parsing form data: Stop parsing.”); e.parsedParts.push({ name: r, value: o, headers: i, bodyBytes: s }); var l = e.actions.find(function (e) { return e.key === r }); l && e.applyAction(r, o, l) }, g = 0, p = l; g < p.length; g += 1)f() } }, t.prototype.extractField = function (e, t) { for (var n = -1, r = 0; r < e.length – 3; r++)if (13 === e[r] && 10 === e[r + 1] && 13 === e[r + 2] && 10 === e[r + 3]) { n = r; break } if (-1 === n) return { fieldName: null, fieldValue: null, headersBytes: new Uint8Array(0), bodyBytes: new Uint8Array(0) }; var a = e.subarray(0, n), o = e.subarray(n + 4), i = t.decode(a).split(“rn”).find(function (e) { return e.toLowerCase().startsWith(“content-disposition”) }), s = null; return i && (s = i.match(/name=”([^”]+)”/)), s ? { fieldName: s[1], fieldValue: t.decode(o), headersBytes: a, bodyBytes: o } : { fieldName: null, fieldValue: null, headersBytes: a, bodyBytes: o } }, t.prototype._set = function (e, t) { if (this.formData) this.formData.set(e, t); else { var n = this.parsedParts.find(function (t) { return t.name === e }); n && (n.value = t) } }, t.prototype._serialize = function () { if (this.formData) return this.formData; var e = new TextEncoder, t = new TextDecoder, n = []; n.push(e.encode(“–” + this.boundary + “rn”)); for (var r = 0; r < this.parsedParts.length; r++) { var a = this.parsedParts[r]; r > 0 && n.push(e.encode(“rn–” + this.boundary + “rn”)), n.push(a.headers), n.push(e.encode(“rnrn”)), n.push(e.encode(a.value)) } n.push(e.encode(“rn–” + this.boundary + “–rn”)); for (var o = n.reduce(function (e, t) { return e + t.length }, 0), i = new Uint8Array(o), s = 0, l = 0, u = n; l < u.length; l += 1) { var c = u[l]; i.set(c, s), s += c.length } return t.decode(i) }, t.prototype.findBoundaries = function (e, t) { for (var n = [], r = this.computeLPS(t), a = 0, o = 0; a < e.length;)e[a] === t[o] ? (a++, ++o === t.length && (n.push(a – o), o = r[o – 1])) : 0 !== o ? o = r[o – 1] : a++; return n }, t.prototype.parseFormData = function () { for (var e = 0, t = this.actions; e < t.length; e += 1) { var n = t[e], r = n.key, a = this.formData.get(r); a && “string” == typeof a && this.applyAction(r, a, n) } }, t.prototype.computeLPS = function (e) { for (var t = new Array(e.length).fill(0), n = 0, r = 1; r < e.length;)e[r] === e[n] ? (n++, t[r] = n, r++) : 0 !== n ? n = t[n – 1] : (t[r] = 0, r++); return t }, t.prototype._extractBody = function (e) { if (“string” == typeof e) throw new Error(“FormDataMultiParser does not support string bodies”); this.contentString = “”, e instanceof FormData ? this.formData = e : this.bodyBuffer = e }, t }(As), Is = function (e) { function t() { e.apply(this, arguments), this.type = “regex”, this.urlDecodedPhrases = [] } return e && (t.__proto__ = e), t.prototype = Object.create(e && e.prototype), t.prototype.constructor = t, t.prototype._serialize = function () { return this.contentString }, t.prototype._set = function (e, t) { this.urlDecodedPhrases.includes(e) && (t = encodeURIComponent(t)), this.contentString = this.contentString.replace(e, t) }, t.prototype.safeUrlDecode = function (e) { try { var t = decodeURIComponent(e); return t !== e ? (this.urlDecodedPhrases.push(e), t) : e } catch (t) { return e } }, t.prototype._parse = function () { for (var e = 0, t = this.actions; e < t.length; e += 1) { var n = t[e], r = new RegExp(n.key, “g”).exec(this.contentString); if (r && r[1]) { var a = r[1]; if (“url” !== this.source || this.parentParser) this.applyAction(a, a, n); else { var o = this.safeUrlDecode(a); this.applyAction(a, o, n) } } } }, t }(As); function Ds(e) { switch (e) { case “json”: return Os; case “url_query”: return Ns; case “regex”: return Is; case “form_multipart”: return Ps; case “form_urlencoded”: return Rs; default: throw new Error(“Unknown parser type provided: ” + e) } } function Ms(e) { var t = e.payload, n = e.originalUrl, r = e.language, a = e.logger, o = e.options; if (0 === t.length) return Promise.resolve(); if (r === o.language_from) return t.forEach(function (e) { return e.setter(e.word) }), Promise.resolve(); var i = t.map(function (e) { return e.word }); return Ha({ body: { l_from: Be(r, o), request_url: n, l_to: o.language_from, words: i.map(function (e) { return { t: 2, w: e } }) }, options: o, logger: a }).then(function (e) { e.to_words.map(function (e) { return e.toLowerCase().trim() }).forEach(function (e, n) { t[n].setter(e) }) }) } function zs(e) { var t, n, r, a, i, s, l = e.hook, u = e.language, c = e.url, d = e.body, f = [], g = new Promise(function (e) { Tr(e) }); if ((null === (n = null === (t = l.body) || void 0 === t ? void 0 : t.actions) || void 0 === n ? void 0 : n.length) && (“string” == typeof d || d instanceof FormData)) { var p = Ds(l.body.parser); (i = new p({ body: d, apiPayload: f, actions: l.body.actions, language: u, options: K, slugs: void 0, requestUrl: c, parentParser: void 0, source: “body”, headers: new Headers, logger: o })).parse() } if ((null === (a = null === (r = l.url) || void 0 === r ? void 0 : r.actions) || void 0 === a ? void 0 : a.length) && “string” == typeof c) { var h = Ds(l.url.parser); (s = new h({ body: c, requestUrl: c, apiPayload: f, actions: l.url.actions, language: u, options: K, slugs: void 0, parentParser: void 0, source: “url”, headers: new Headers, logger: o })).parse() } return Promise.all([Ms({ payload: f, originalUrl: c, language: u, options: K, logger: o }), g]).then(function (e) { e[0]; var t = e[1]; return null == s || s.setSlugsReady(t), null == i || i.setSlugsReady(t), { url: (null == s ? void 0 : s.needsSerialization) ? s.serialize() : void 0, body: (null == i ? void 0 : i.needsSerialization) ? i.serialize() : void 0 } }) } function Ws(e, t) { var n = e.matchingHook, r = e.language, a = e.url, i = e.body, s = t.input, l = t.init, u = t.originalFetch, c = t.sendRequest; return function (e, t) { var n = e.matchingHook, r = e.language, a = e.url, o = e.body, i = t.input, s = t.init; return zs({ hook: n, language: r, url: a, body: o }).then(function (e) { if (e.url || e.body) { var t = s ? Object.assign({}, s) : void 0; if (i instanceof Request) { var n = i, r = e.url || i.url, a = void 0 !== e.body ? e.body : o; return t && delete t.body, e.body ? { newInput: new Request(r, new Request(n, { body: a })), newInit: t } : { newInput: new Request(r, n), newInit: t } } if (e.body && t && (t.body = e.body), !e.url) return { newInput: i, newInit: t }; if (“string” == typeof i) return { newInput: e.url, newInit: t }; if (i instanceof URL) { var l = ms(e.url); if (!l) return; return { newInput: l, newInit: t } } } }) }({ matchingHook: n, language: r, url: a, body: i }, { input: s, init: l }).then(function (e) { if (!e) return c(); var t = e.newInput, n = e.newInit; return l ? u(t, n) : u(t) }).catch(function (e) { return o.error(e, { sendToDatadog: !1 }), c() }) } function qs() { var e = K.network_overrides, t = K.is_connect; e && (!t || K.dynamicPushState || !Ge() && We() !== K.language_from) && e.hooks && e.hooks.length && (e.xhr && function (e) { var t = window.XMLHttpRequest; window.XMLHttpRequest = new Proxy(t, { construct: function (t, n) { var r = Reflect.construct(t, n), a = r.open.bind(r), i = r.setRequestHeader.bind(r); r._wg_headers = {}, r.open = function (e, t, n, o, i) { return r._wg_method = e, r._wg_url = “string” == typeof t ? t : t.toString(), r._wg_async = !1 !== n, r._wg_user = o, r._wg_password = i, r._wg_headers = {}, a(e, t, n, o, i) }, r.setRequestHeader = function (e, t) { var n = e.toLowerCase(); return r._wg_headers[n] || (r._wg_headers[n] = []), r._wg_headers[n].push(t), i.call(r, e, t) }; var s = r.send.bind(r); return r.send = function (t) { var n, l = function () { s.call(r, t) }, u = r._wg_url; if (!u) return l(); var c = We(); if (K.language_from === c || Ge()) return l(); var d = null === (n = e.hooks) || void 0 === n ? void 0 : n.find(function (e) { return _s(u, e.url_match) }); if (!d) return l(); zs({ hook: d, language: c, url: u, body: t }).then(function (e) { e.url && (r._wg_url = e.url, a.call(r, r._wg_method || “GET”, e.url, r._wg_async, r._wg_user, r._wg_password), Object.entries(r._wg_headers).forEach(function (e) { var t = e[0]; e[1].forEach(function (e) { i.call(r, t, e) }) })); var n = void 0 !== e.body ? e.body : t; s.call(r, n) }).catch(function (e) { o.error(e), l() }) }, r } }) }(e), e.fetch && function (e) { var t = window.fetch; window.fetch = function (n, r) { var a, o = arguments, i = function () { return o.length > 1 ? t(n, r) : t(n) }; try { var s = “string” == typeof n ? n : n instanceof URL ? n.toString() : n.url; if (!s) return i(); var l = We(); if (K.language_from === l || Ge()) return i(); var u = null === (a = e.hooks) || void 0 === a ? void 0 : a.find(function (e) { return _s(s, e.url_match) }); if (!u) return i(); if ((null == r ? void 0 : r.body) || !(n instanceof Request) || !n.body) return Ws({ matchingHook: u, language: l, url: s, body: null == r ? void 0 : r.body }, { input: n, init: r, originalFetch: t, sendRequest: i }); var c = n.clone(), d = u.body; return (d && “form_multipart” === d.parser ? c.formData() : d ? c.text() : new Promise(function (e) { return e(void 0) })).then(function (e) { return Ws({ matchingHook: u, language: l, url: s, body: e }, { input: n, init: r, originalFetch: t, sendRequest: i }) }) } catch (e) { return i() } } }(e)) } F(“switchersReady”, function () { !function () { if (window.parent === window) return; Bs(window.parent, { name: Us, type: “ASK_PARENT_SWITCHERS” }) }(), Hs() }); var Us = “weglot-switchers”; function Fs(e) { if (e.data && “object” == typeof e.data) { var t = e.data, n = t.type, r = t.name, a = t.payload; if (“weglot-switchers” === r) switch (n) { case “ASK_PARENT_SWITCHERS”: Hs(); break; case “ALERT_CHILD_SWITCHERS”: if (!a) return; zo(), Hs(!0) } } } function Hs(e) { for (var t = 0, n = Array.from(ye(document.body, “iframe”)); t < n.length; t += 1) { Bs(n[t].contentWindow, { name: Us, type: “ALERT_CHILD_SWITCHERS”, payload: e || ba() }) } } function Bs(e, t) { e && e.postMessage(t, “*”) } function Vs() { [“alert”, “confirm”, “prompt”].forEach(function (e) { var t = window[e]; window[e] = function (e, t) { return function () { for (var n = [], r = arguments.length; r–;)n[r] = arguments[r]; if (“string” == typeof n[0]) { var a = We(); if (K.language_from === a) return t.apply(window, n); var o = [{ t: 2, w: n[0] }]; return “prompt” === e && “string” == typeof n[1] && o.push({ t: 2, w: n[1] }), po({ words: o, targetLanguage: a, opts: { title: !1, cdn: !0 } }).then(function (r) { return n[0] = r.to_words[0], “prompt” === e && “string” == typeof n[1] && (n[1] = r.to_words[1]), t.apply(window, n) }).catch(function () { return t.apply(window, n) }) } } }(e, t) }) } var $s = “weglot-ai-disclaimer”, Gs = “Translated content on this website may be generated using artificial intelligence. “, Ks = “Learn more about AI-generated translations”, Js = null; function Xs() { var e = document.getElementById($s); e && (e.textContent = “”) } function Ys(e, t, n) { e.textContent = “”, e.appendChild(document.createTextNode(t)); var r = document.createElement(“a”); r.setAttribute(“target”, “_blank”), r.setAttribute(“href”, “https://www.weglot.com/ai-translation”), r.textContent = n, e.appendChild(r) } function Qs(e, t) { var n = null != t ? t : we(document, K.ai_disclaimer_selector); if (n) { var r = function (e) { var t = e.querySelector(“#” + $s); if (t) return t.textContent = “”, t; var n = document.createElement(“span”); return n.id = $s, e.insertBefore(n, e.firstChild), n }(n); if (r.setAttribute(j, “”), e !== K.language_from) po({ words: [{ t: 2, w: Gs }, { t: 2, w: Ks }], languageFrom: “en”, targetLanguage: e, opts: { title: !1, cdn: !0 } }).then(function (e) { var t, n, a = null === (t = null == e ? void 0 : e.to_words) || void 0 === t ? void 0 : t[0], o = null === (n = null == e ? void 0 : e.to_words) || void 0 === n ? void 0 : n[1]; null != a && null != o && Ys(r, a, o) }).catch(function () { Ys(r, Gs, Ks) }); else r.textContent = “” } } function Zs() { Js && (Js.disconnect(), Js = null) } function el(e) { var t = we(document, e); return !!t && (Qs(We(), t), Zs(), !0) } function tl(e, t) { if (t || !e || window.top !== window || !wo(e)) { var n = []; try { Ia(n = jo()) } catch (e) { o.warn(e) } var r, a, i = Ge(); if (e && os && !i && Oa(e), !K.is_connect || K.dynamicPushState || !i && e !== K.language_from ? function () { var e = K.is_connect; if (Zo && ti(document), Qo = !0, e && Xo.length) for (var t = function () { var e = r[n], t = e.mutations, a = e.observedDocument, o = function () { var e = t.splice(0, 100); e.length > 0 && (Jo(e, { observedDocument: a, observeBodyNodes: ti }), setTimeout(o, 0)) }; o() }, n = 0, r = Xo; n < r.length; n += 1)t(); else Xo = [] }() : ei(), r = K.xhr_hooks, a = K.is_connect, !(r && Array.isArray(r) && r.some(bs)) || a && Ge() || (vs.enable(), vs.before(ws)), qs(), Ls(e), window.addEventListener(“message”, hs), window.addEventListener(“message”, Fs), t || i) bo(e); else if (K.is_connect && !i && yo(“onConnectPageLoad”, e), K.force_translation) { for (var s = [], l = 0, u = n; l < u.length; l += 1) { var d = u[l], f = d.closest ? d : d.parentNode; be(f, K.force_translation) && s.push(d) } Ro(s) } !function () { var e = K.ai_disclaimer_selector; if (e) { if (Ge()) return Xs(), void Zs(); if (We() !== K.language_from && !el(e)) { var t = document.body; t && (Js = new MutationObserver(function () { el(e) })).observe(t, { childList: !0, subtree: !0 }) } } }(), i && !i.language_button_displayed && i.allExcluded || Wo(), i || (K.remove_unused_link_hooks && function () { var e = xt(), t = K.languages.map(function (e) { return e.custom_code || e.language_to }).filter(function (t) { return !e.includes(t) }); 1 === e.length && t.push(K.language_from); for (var n = t.map(function (e) { return Sa(e) }).join(“,”), r = 0, a = ye(document, n); r < a.length; r += 1)c(a[r]) }(), Io(Array.from(ye(document, K.dynamics.map(function (e) { return e.value }).join(“,”)))), Fo(), function () { window.addEventListener(“message”, xs, !1); var e = K.translate_iframes; if (e) for (var t = 0, n = ye(document.body, e); t < n.length; t += 1) { var r = n[t]; r.contentWindow && ks.push(r.contentWindow) } Ao({}), mo(“onPageLanguageSet”, Ss), “with-window-top” === Ee() && window.top && window.top.postMessage({ message: “Weglot.iframe” }, “*”) }(), Vs()), H(“initialized”, e) } } function nl(e, t) { if (function () { if (!document.querySelector(“#has-script-tags”)) return !1; return !ds(document.head.innerHTML) && !ds(document.documentElement.innerHTML) }()) rl(); else { try { tl(e, t) } catch (e) { o.error(e, { consoleOverride: “There has been an error initializing, ” + e.stack }) } rl() } } function rl() { Ea(), ss(!1), ll.initialized = !0 } function al() { if (K.api_key) { F(“initialized”, function () { K.page_views_enabled && (K.is_connect ? Nr(K.language_from, function (e) { return rs(e) }) : rs()) }, !0); try { kt(document, K) } catch (e) { o.error(e) } if (yo(“onWeglotSetup”), !ll.initialized || window.Turbolinks) { var t = fs(); We(); var n = function (e) { var t = Ge(); return !(!e || e === K.language_from || document.documentElement.dataset.wgTranslated === e || t || document.documentElement.dataset.wgExcludedUrl || K.switcher_editor) }(t); if (n && K.wait_transition ? u(“@keyframes wg{from{color:transparent;}to{color:transparent;}}body *{color:transparent!important;animation:1s linear infinite wg!important;}”, C) : Ea(), K.delayStart) return F(“start”, function () { return nl(t, n) }, !0); e(function () { return nl(t, n) }) } } } function ol(e) { if (e.data) try { var t = JSON.parse(e.data); switch (t.message) { case “Weglot.detect”: e.source.postMessage(JSON.stringify({ message: “Weglot.ready”, data: { initialized: ll.initialized, options: K } }), e.origin); break; case “Weglot.switchTo”: ko(t.language) } } catch (e) { } } function il() { var e, t; window.addEventListener(“message”, ol, !1), null !== is && (clearTimeout(is), is = null), (e = document.createElement(“meta”)).name = “google”, e.content = “notranslate”, document.head && document.head.appendChild(e), function () { if (document.documentElement) { var e = window.location.host === O || -1 !== window.location.pathname.indexOf(“/” + N + “/”), t = “cms.e.jimdo.com” === window.location.host; e || t || document.documentElement.setAttribute(“translate”, “no”) } }(), (t = document.head.querySelector(“link[href*=weglot_shopify]”)) && document.head.removeChild(t) } function sl(e) { return ns(e).then(function () { return al() }) } F(“languageChanged”, function (e) { !K.is_connect && K.ai_disclaimer_selector && function (e) { Ge() ? Xs() : Qs(e) }(e) }, !0), F(“initialized”, function () { if (!K.visual_editor && !K.switcher_editor) { var e = K.translate_forms; void 0 === e && (e = []), e.forEach(function (e) { for (var t = e.selector, n = e.parameter, r = function () { var e = o[a]; e.addEventListener(“submit”, function (t) { t.preventDefault(); var r = t.target.elements[n].value; qo(r, function (t) { mr.set({ name: “wg-search-form”, value: r, options: K }), e.elements[n].value = t, e.submit() }) }); var t = void 0; -1 !== window.location.search.indexOf(n + “=”) && e.elements && e.elements[n] && (t = mr.get(“wg-search-form”)) && (e.elements[n].value = t) }, a = 0, o = ye(document, t); a < o.length; a += 1)r() }), mr.erase({ name: “wg-search-form”, options: K }) } }, !0), F(“onCurrentLocationChanged”, function () { var e = We(); if (e !== K.language_from) { if (Ge(e, Oe().pathname)) return br().setItem(“weglot_excluded”, “true”), void vo(K.language_from); br().getItem(“weglot_excluded”) && (br().removeItem(“weglot_excluded”), ho(e)) } }, !0); var ll = window.Weglot || { initialized: !1, options: K, dynamic: “”, switchTo: ko, initialize: function (e) { ls() || (ss(!0), il(), U(G(), “polyfillReady”, function () { return sl(e) })) }, setup: function (e) { ls() || (ss(!0), il(), U(G(), “polyfillReady”, function () { return sl(e).catch(function () { o.warn(“Your setup is deprecated, please save settings in your dashboard to hide this message.”, { sendToDatadog: !1 }); var t = e.api_key; e.translation_engine = t && t.length >= 36 ? 2 : 1, function (e) { try { var t = [“api_key”, “originalLanguage”, “destinationLanguages”]; if (!e || “object” != typeof e || !t.every(function (t) { return t in e })) throw { wgErrMsg: “You have to provide at least: ” + t.join(“, “) }; var n = Qi(_i(e)); return J(n), n } catch (e) { throw new Error((e && “object” == typeof e && “wgErrMsg” in e ? e.wgErrMsg : void 0) || “Error while reading Weglot options”) } }(e), al() }) })) }, on: function (e, t) { return F(e, t, !1) }, off: function (e, t) { for (var n = !1, r = function (t) { return q[t].name === e && !q[t].internal }, a = “function” == typeof t ? function (e) { return r(e) && q[e].callback === t } : function (e) { return r(e) }, o = q.length – 1; o >= 0; o–)a(o) && (q.splice(o, 1), n = !0); return n }, getStoredLang: ja, getLanguageName: $r, getCurrentLang: We, polyReady: $, getCache: function () { return Ka[K.api_key] || {} }, addNodes: function (e) { var t = jo(e); return Ia(t), Ro(t) }, search: qo, translate: function (e, t) { if (!e || “object” != typeof e || Array.isArray(e)) { var n = “Weglot.translate: 1st argument must be an object”; return o.error(n, { sendToDatadog: !1 }), t && t(null, n), Promise.reject() } var r = “words” in e && e.words, a = “languageTo” in e && e.languageTo || We(); if (“string” != typeof a) { var i = “Weglot.translate: 1st argument must contain languageTo property”; return o.error(i, { sendToDatadog: !1 }), t && t(null, i), Promise.reject() } if (!Array.isArray(r) || “object” != typeof r[0]) { var s = “Weglot.translate: 1st argument must contain words property as array of objects”; return o.error(s, { sendToDatadog: !1 }), t && t(null, s), Promise.reject() } return a === K.language_from ? (t && t(r.map(function (e) { return e.w })), Promise.resolve(r.map(function (e) { return e.w }))) : new Promise(function (e, n) { po({ words: r, targetLanguage: a, opts: { title: !1, cdn: !0 } }).then(function (n) { if (!n || !n.to_words) throw n; t && t(n.to_words), e(n.to_words) }).catch(function (e) { n(e), t && t(null, e) }) }) }, getBestAvailableLanguage: Ta, getAvailableLanguages: xt }; return U(G(), “polyfillReady”, function () { var t; ti(document); for (var n = 0, r = [document.currentScript].concat(Array.from(document.scripts)).filter(Boolean); n < r.length; n += 1) { var a = r[n], o = a.src || (null === (t = a.getAttribute) || void 0 === t ? void 0 : t.call(a, “data-src”)); if (o) { var s = i(o); if (s) return void ll.initialize(s) } } e(function () { var e = setTimeout(function () { ll.initialized || ls() || ei(), us(null) }, 5e3); us(e) }) }), ll }();

    .weglot-container > .wg-drop > ul”).slideDown(‘fast’);
    $(‘.country-selector .closed’).toggleClass(‘wgcurrent’);
    },
    function () {
    $(“.weglotdiv .weglot-container > .wg-drop > ul”).slideUp(‘fast’);
    }
    );

    $(“.weglotnavdiv”).hover(
    function () {
    $(“.weglotnavdiv > .weglot-container > .wg-drop > ul”).slideDown(‘fast’);
    $(“.weglotnavdiv > .weglot-container > .wg-drop > ul”).css(“display”, “block”);
    },
    function () {
    $(“.weglotnavdiv > .weglot-container > .wg-drop > ul”).slideUp(‘fast’);
    }
    );
    });

    ]]>

  • View Original Article Here

    Admin

    Admin

    Related Posts

    Snake-Wrangling Heartthrob Rob Rausch Talks ‘The Traitors,’ Camo & Whiskey
    Fashion

    Snake-Wrangling Heartthrob Rob Rausch Talks ‘The Traitors,’ Camo & Whiskey

    April 4, 2026
    US’ Saks Global secures final 0 mn to complete .75 bn funding
    Fashion

    US’ Saks Global secures final $300 mn to complete $1.75 bn funding

    April 3, 2026
    Victoria Monét’s “Let Me” + More New And Trending Songs By Black Artists
    Fashion

    Victoria Monét’s “Let Me” + More New And Trending Songs By Black Artists

    April 3, 2026
    Next Post
    AI In Manufacturing Is Hard Says A CEO Actually Doing It

    AI In Manufacturing Is Hard Says A CEO Actually Doing It

    2025-26 TV Show Season Ratings (week 22)

    2025-26 TV Show Season Ratings (week 22)

    Tyriq Withers Drops His Key to Creating Art That Withstands the Test of Time | NAACP Image Awards 2026

    Tyriq Withers Drops His Key to Creating Art That Withstands the Test of Time | NAACP Image Awards 2026

    Latest Posts

    The Best Movies on Hulu Every Film Lover Should Watch

    The Best Movies on Hulu Every Film Lover Should Watch

    7 hours ago
    Snake-Wrangling Heartthrob Rob Rausch Talks ‘The Traitors,’ Camo & Whiskey

    Snake-Wrangling Heartthrob Rob Rausch Talks ‘The Traitors,’ Camo & Whiskey

    7 hours ago
    “Not a chance in hell!” – Angry Mike Lee says he will NOT give up the Save America Act – [VIDEO]

    “Not a chance in hell!” – Angry Mike Lee says he will NOT give up the Save America Act – [VIDEO]

    7 hours ago
    Book Riot’s Deals of the Day for March 31, 2026

    Book Riot’s Deals of the Day for March 31, 2026

    7 hours ago
    A Wall Street vet’s Walmart recession indicator just hit its highest point since 2008—and he says the fear ‘just keeps multiplying’ | Fortune

    A Wall Street vet’s Walmart recession indicator just hit its highest point since 2008—and he says the fear ‘just keeps multiplying’ | Fortune

    8 hours ago
    Tiffany Young Signs 360 Deal With Pacific Music Group Ahead of New Music

    Tiffany Young Signs 360 Deal With Pacific Music Group Ahead of New Music

    8 hours ago
    RJ Decker: Season One Ratings + Viewer Votes

    RJ Decker: Season One Ratings + Viewer Votes

    8 hours ago
    Sonnenfeld: How To Survive Today’s Politics

    Sonnenfeld: How To Survive Today’s Politics

    12 hours ago
    Howard Bloom: The Thinker of Mass Behavior and the Architecture of Human Systems

    Howard Bloom: The Thinker of Mass Behavior and the Architecture of Human Systems

    18 hours ago
    Edward Norton’s 30-Year-Old Prison Thriller Finds the Perfect New Streaming Home

    Edward Norton’s 30-Year-Old Prison Thriller Finds the Perfect New Streaming Home

    19 hours ago

    Categories

    • Books (4,925)
    • Business (5,647)
    • CEO (4,329)
    • Cover Story (8)
    • Events (14)
    • Fashion (5,348)
    • Film (5,564)
    • Interviews (60)
    • Marketing (3,625)
    • Music (5,682)
    • News (89)
    • Politics (4,543)
    • Social Media (4,266)
    • Television (5,648)
    • Uncategorized (1)
    No Result
    View All Result
    get paid to do simple media jobs online

    Editor's Picks

    Wall Street just had its best day in nearly a year over a rumor | Fortune

    Victoria Monét’s “Let Me” + More New And Trending Songs By Black Artists

    ‘The Rookie’s Jenna Dewan Confirms More “Spy-ish” Storylines for the ABC Procedural

    Hollywood Squares: Season Two Ratings

    BREAKING: Trump makes announcement on Iran talks and refutes fake news media narrative

    The Greatest Average American: Season One Ratings

    Archives

    • April 2026
    • March 2026
    • February 2026
    • January 2026
    • December 2025
    • November 2025
    • October 2025
    • September 2025
    • August 2025
    • July 2025
    • June 2025
    • May 2025
    • April 2025
    • March 2025
    • February 2025
    • January 2025
    • December 2024
    • November 2024
    • October 2024
    • September 2024
    • August 2024
    • July 2024
    • June 2024
    • May 2024
    • April 2024
    • March 2024
    • February 2024
    • January 2024
    • December 2023
    • November 2023
    • October 2023
    • September 2023
    • August 2023
    • July 2023
    • June 2023
    • May 2023
    • April 2023
    • March 2023
    • February 2023
    • January 2023
    • December 2022
    • November 2022
    • October 2022
    • September 2022
    • August 2022
    • July 2022
    • June 2022
    • May 2022

    Trending

    THIRTY LOVE | Kirkus Reviews
    Books

    THIRTY LOVE | Kirkus Reviews

    by Admin
    March 29, 2026

    by Colleen Hoover ‧ RELEASE DATE: Jan. 18, 2022 With captivating dialogue, angst-y characters, and a couple...

    Survivor: Season 50 Ratings (Spring 2026)

    Survivor: Season 50 Ratings (Spring 2026)

    March 30, 2026
    The Terror: Season Three; AMC+ Unveils Premiere Date and First Photos for Horror Anthology Series

    The Terror: Season Three; AMC+ Unveils Premiere Date and First Photos for Horror Anthology Series

    April 2, 2026
    How To Break Up With China

    How To Break Up With China

    March 31, 2026
    BREAKING: Future US paper currency to bear President Trump’s signature

    BREAKING: Future US paper currency to bear President Trump’s signature

    March 29, 2026

    Editors Picks

    Strange New Worlds, Who Is the First Servant?

    Strange New Worlds, Who Is the First Servant?

    June 12, 2022
    The Most Common Ways Alcohol Affects Relationships & How To Fix It

    The Most Common Ways Alcohol Affects Relationships & How To Fix It

    July 11, 2022
    What are You Reading This Week — March 7, 2024

    What are You Reading This Week — March 7, 2024

    March 7, 2024

    Category

    • Books (4,925)
    • Business (5,647)
    • CEO (4,329)
    • Cover Story (8)
    • Events (14)
    • Fashion (5,348)
    • Film (5,564)
    • Interviews (60)
    • Marketing (3,625)
    • Music (5,682)
    • News (89)
    • Politics (4,543)
    • Social Media (4,266)
    • Television (5,648)
    • Uncategorized (1)

    Readers Picks

    The Best Movies on Hulu Every Film Lover Should Watch

    The Best Movies on Hulu Every Film Lover Should Watch

    April 4, 2026
    Snake-Wrangling Heartthrob Rob Rausch Talks ‘The Traitors,’ Camo & Whiskey

    Snake-Wrangling Heartthrob Rob Rausch Talks ‘The Traitors,’ Camo & Whiskey

    April 4, 2026
    “Not a chance in hell!” – Angry Mike Lee says he will NOT give up the Save America Act – [VIDEO]

    “Not a chance in hell!” – Angry Mike Lee says he will NOT give up the Save America Act – [VIDEO]

    April 4, 2026

    © 2022 Copyright - InfluencerWorldDaily.com - All Rights Reserved

    No Result
    View All Result
    • Home
    • Business
    • Politics
    • Marketing
    • CEO
    • Fashion
    • Music
    • Film
    • Television
    • Books
    • Social Media
    • Cover Story
    • Contact
      • About

    © 2022 Copyright - InfluencerWorldDaily.com - All Rights Reserved

    We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
    Cookie SettingsAccept All
    Manage consent

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled
    Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
    CookieDurationDescription
    cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
    cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
    cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
    cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
    cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
    viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
    Functional
    Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
    Performance
    Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
    Analytics
    Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
    Advertisement
    Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
    Others
    Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
    SAVE & ACCEPT