1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2494],{2924:(e,t,n)=>{n.d(t,{GZ:()=>r,S$:()=>a,vM:()=>i});let a=!1,r=()=>window.self!==window.top,i=e=>null!=e},4179:(e,t,n)=>{n.d(t,{A$:()=>r,Ij:()=>l,Wf:()=>i});var a=n(2924);let r=e=>{if(window.userInteracted)return void e();let t=!1,n=()=>{t||(window.userInteracted=t=!0,e())};["click","scroll","mousemove","touchstart"].forEach(e=>{window.addEventListener(e,n,{once:!0})})},i=a.S$||!window.requestIdleCallback?function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return e()}:window.requestIdleCallback,l=e=>"white"===e?void 0:e},7389:(e,t,n)=>{n.d(t,{H:()=>l});var a=n(2924),r=n(5253);let i="lastVisitedCountry",l={get:()=>{if(a.S$)return null;try{let e=localStorage.getItem(i);if(!e)return null;return r.D0.includes(e)?e:null}catch(e){return null}},set:e=>{try{localStorage.setItem(i,e)}catch(e){}}}},8126:(e,t,n)=>{function a(e){let t=e.firstElementChild;if(!(t instanceof HTMLElement))return;t.style.fontSize="";let n=getComputedStyle(e),a=(e.clientHeight-parseFloat(n.paddingTop)-parseFloat(n.paddingBottom))*.88,r=parseFloat(getComputedStyle(t).fontSize),i=()=>t.scrollHeight>a||t.scrollWidth>t.clientWidth+1,l=1;for(;l>.35&&i();)l-=.05,t.style.fontSize="".concat(r*l,"px")}function r(){var e;let t,n=Array.from(document.querySelectorAll("[data-hero-badge]"));if(!n.length)return;let r=()=>n.forEach(a);r(),null==(e=document.fonts)||e.ready.then(r).catch(()=>void 0);let i=()=>{clearTimeout(t),t=setTimeout(r,150)};return window.addEventListener("resize",i),()=>{clearTimeout(t),window.removeEventListener("resize",i)}}function i(){let e=[];
1if(document.querySelectorAll("[data-content7-videos]:not([data-content7-videos-initialized])").forEach(t=>{if(!(t instanceof HTMLElement))return;t.setAttribute("data-content7-videos-initialized","true");let n=t.querySelector("[data-videos-collapsed]"),a=t.querySelector("[data-videos-gradient]"),r=t.querySelector("[data-videos-show-all]"),i=t.querySelector("[data-videos-show-all-wrapper]");if(!(n instanceof HTMLElement)||!(r instanceof HTMLElement))return;let l=new AbortController;e.push(()=>l.abort()),r.addEventListener("click",()=>{n.style.maxHeight="".concat(n.scrollHeight,"px"),a instanceof HTMLElement&&(a.style.opacity="0"),i instanceof HTMLElement&&(i.style.display="none")},{signal:l.signal})}),e.length>0)return()=>e.forEach(e=>e())}function l(e,t,n){let a=t?e.querySelector('[data-carousel-track="'.concat(t,'"]')):e.querySelector("[data-carousel-track]"),r=t?e.querySelector('[data-carousel-prev="'.concat(t,'"]')):e.querySelector("[data-carousel-prev]"),i=t?e.querySelector('[data-carousel-next="'.concat(t,'"]')):e.querySelector("[data-carousel-next]"),l=t?Array.from(e.querySelectorAll('[data-carousel-dot-track="'.concat(t,'"]'))):Array.from(e.querySelectorAll("[data-carousel-dot]")),o=e.querySelector("[data-carousel-nav]");if(!(a instanceof HTMLElement))return;let c=Array.from(a.querySelectorAll("[data-carousel-slide]")).filter(e=>e instanceof HTMLElement);if(0===c.length)return;let s=0,d=0,u=()=>Math.max(0,a.scrollWidth-a.clientWidth),f=()=>{s=Math.max(0,Math.min(c.length-1,s));let e=a.scrollWidth>a.clientWidth+4;l.forEach((e,t)=>{if(!(e instanceof HTMLElement))return;let n=t===s;e.setAttribute("data-active",String(n)),e.setAttribute("aria-current",n?"true":"false")}),c.forEach((e,t)=>{let n=t===s;e.setAttribute("data-active",String(n)),e.setAttribute("aria-current",n?"true":"false")}),o instanceof HTMLElement?o.style.display=e?"":"none":(r instanceof HTMLElement&&(r.style.display=e?"":"none"),i instanceof HTMLElement&&(i.style.display=e?"":"none")),r instanceof HTMLButtonElement&&(r.disabled=s<=0),i instanceof HTMLButtonElement&&(i.disabled=s>=c.length-1)},m=()=>{s=(()=>{let e=u();if(a.scrollLeft<=4)return 0;if(a.scrollLeft>=e-4)return c.length-1;let t=a.scrollLeft,n=0,r=1/0;return c.forEach((e,a)=>{let i=Math.abs(e.offsetLeft-t);i<r&&(r=i,n=a)}),n})(),f()},h=()=>{if(c.length<2)return c[0].offsetWidth;let e=c[1].offsetLeft-c[0].offsetLeft;return e>0?e:c[0].offsetWidth};r instanceof HTMLElement&&r.addEventListener("click",()=>{a.scrollBy({left:-h(),behavior:"smooth"})},{signal:n}),i instanceof HTMLElement&&i.addEventListener("click",()=>{a.scrollBy({left:h(),behavior:"smooth"})},{signal:n}),l.forEach(e=>{e instanceof HTMLElement&&e.addEventListener("click",()=>{let t=Number(e.getAttribute("data-carousel-dot"));if(!Number.isNaN(t)){s=Math.max(0,Math.min(c.length-1,t));let e=c[s],n=Math.min(u(),Math.max(0,e.offsetLeft));f(),a.scrollTo({left:n,behavior:"smooth"})}},{signal:n})}),a.addEventListener("scroll",()=>{d||(d=window.requestAnimationFrame(()=>{d=0,m()}))},{signal:n});let p=0;return window.addEventListener("resize",()=>{p&&window.clearTimeout(p),p=window.setTimeout(()=>{p=0,m()},150)},{signal:n}),n&&n.addEventListener("abort",()=>{d&&window.cancelAnimationFrame(d),p&&window.clearTimeout(p)}),m(),m}function o(){document.querySelectorAll("[data-content12-carousel]:not([data-content12-carousel-initialized])").forEach(e=>{e instanceof HTMLElement&&(e.setAttribute("data-content12-carousel-initialized","true"),l(e))})}function c(){let e=[];
1if(document.querySelectorAll("[data-content16-partner-network]:not([data-content16-partner-network-initialized])").forEach(t=>{if(!(t instanceof HTMLElement))return;t.setAttribute("data-content16-partner-network-initialized","true");let n=new AbortController,{signal:a}=n;e.push(()=>n.abort()),t.querySelectorAll("[data-partner-trigger]").forEach(e=>{if(!(e instanceof HTMLButtonElement))return;let n=e.getAttribute("data-partner-trigger"),r=n?t.querySelector('[data-partner-content="'.concat(n,'"]')):null,i=n?t.querySelector('[data-partner-indicator="'.concat(n,'"]')):null;r instanceof HTMLElement&&e.addEventListener("click",()=>{let t=r.classList.toggle("open");e.setAttribute("aria-expanded",String(t)),i instanceof HTMLElement&&(i.style.transform=t?"rotate(90deg)":"rotate(0deg)")},{signal:a})})}),e.length>0)return()=>e.forEach(e=>e())}function s(){let e=[];if(document.querySelectorAll("[data-content17-feature3-collapsible]:not([data-content17-feature3-collapsible-initialized])").forEach(t=>{if(!(t instanceof HTMLElement))return;t.setAttribute("data-content17-feature3-collapsible-initialized","true");let n=new AbortController,{signal:a}=n;e.push(()=>n.abort()),t.querySelectorAll("[data-collapsible-trigger]").forEach(e=>{if(!(e instanceof HTMLButtonElement))return;let n=e.getAttribute("data-collapsible-trigger"),r=n?t.querySelector('[data-collapsible-content="'.concat(n,'"]')):null,i=n?t.querySelector('[data-collapsible-indicator="'.concat(n,'"]')):null;r instanceof HTMLElement&&e.addEventListener("click",()=>{let t=r.classList.toggle("open");e.setAttribute("aria-expanded",String(t)),i instanceof HTMLElement&&(i.style.transform=t?"rotate(90deg)":"rotate(0deg)")},{signal:a})})}),e.length>0)return()=>e.forEach(e=>e())}function d(){let e=[];return document.querySelectorAll("[data-content20-apps]:not([data-content20-apps-initialized])").forEach(t=>{if(!(t instanceof HTMLElement))return;t.setAttribute("data-content20-apps-initialized","true");let n=new AbortController,{signal:a}=n;e.push(()=>n.abort());let r="true"===t.getAttribute("data-app-update-hash"),i=t.getAttribute("data-app-default-tab")||"partnerApps",o=new Map,c=(e,n)=>{var a;let i=null==(a=null==n?void 0:n.updateHash)||a;t.querySelectorAll("[data-app-tab-content]").forEach(t=>{t instanceof HTMLElement&&(t.style.display=t.getAttribute("data-app-tab-content")===e?"block":"none")}),t.querySelectorAll("[data-app-tab-trigger]").forEach(t=>{t instanceof HTMLElement&&t.setAttribute("data-active",String(t.getAttribute("data-app-tab-trigger")===e))}),r&&i&&(window.location.hash=e);let l=o.get(e);l&&window.requestAnimationFrame(()=>{l()})};t.querySelectorAll("[data-app-tab-trigger]").forEach(e=>{e instanceof HTMLElement&&e.addEventListener("click",()=>{let t=e.getAttribute("data-app-tab-trigger");t&&c(t)},{signal:a})});let s=e=>{let n=l(t,e,a);n&&o.set(e,n)};s("partnerApps"),s("bankApps"),c(window.location.hash.replace("#","")||i,{updateHash:!1})}),()=>{e.forEach(e=>e())}}function u(){document.querySelectorAll("[data-content21-logo-tabs]:not([data-content21-logo-tabs-initialized])").forEach(e=>{if(!(e instanceof HTMLElement))return;e.setAttribute("data-content21-logo-tabs-initialized","true");let t="true"===e.getAttribute("data-tab-update-hash"),n=e.getAttribute("data-tab-default")||"",a=Array.from(e.querySelectorAll("[data-tab-trigger]")),r=Array.from(e.querySelectorAll("[data-tab-content]")),i=e=>{r.forEach(t=>{t instanceof HTMLElement&&(t.style.display=t.getAttribute("data-tab-content")===e?"block":"none")}),a.forEach(t=>{t instanceof HTMLElement&&t.setAttribute("data-active",String(t.getAttribute("data-tab-trigger")===e))})};a.forEach(e=>{e instanceof HTMLElement&&e.addEventListener("click",()=>{let n=e.getAttribute("data-tab-trigger");n&&(i(n),t&&(window.location.hash=n))})}),i(window.location.hash.replace("#","")||n)})}function f(){let e=[];return document.querySelectorAll("[data-content22-two-videos]:not([data-content22-two-videos-initialized])").forEach(t=>{if(!(t instanceof HTMLElement))return;t.setAttribute("data-content22-two-videos-initialized","true");let n=new AbortController,{signal:a}=n;e.push(()=>n.abort());let r=window.matchMedia("(min-width: 1024px)"),i=Array.from(t.querySelectorAll("[data-two-video-card]")),l=()=>
1{i.forEach((e,n)=>{if(!(e instanceof HTMLElement))return;e.style.width=r.matches?"50%":"100%";let a=t.querySelector('[data-two-video-desc="'.concat(n,'"]'));if(a instanceof HTMLElement){let e=!r.matches;a.style.height=e?"auto":"0",a.style.opacity=e?"1":"0",a.style.transform=e?"translateY(0)":"translateY(100%)"}})};l(),i.forEach((e,n)=>{if(!(e instanceof HTMLElement))return;let o=()=>{r.matches&&i.forEach((e,a)=>{if(!(e instanceof HTMLElement))return;e.style.width=a===n?"70%":"50%";let r=t.querySelector('[data-two-video-desc="'.concat(a,'"]'));if(r instanceof HTMLElement){let e=a===n;r.style.height=e?"auto":"0",r.style.opacity=e?"1":"0",r.style.transform=e?"translateY(0)":"translateY(100%)"}})},c=()=>{r.matches&&l()};e.addEventListener("mouseenter",o,{signal:a}),e.addEventListener("focusin",o,{signal:a}),e.addEventListener("mouseleave",c,{signal:a}),e.addEventListener("focusout",c,{signal:a})}),r.addEventListener("change",l,{signal:a})}),()=>{e.forEach(e=>e())}}function m(){document.querySelectorAll("[data-content23-carousel-cards]:not([data-content23-carousel-cards-initialized])").forEach(e=>{if(!(e instanceof HTMLElement))return;e.setAttribute("data-content23-carousel-cards-initialized","true"),l(e);let t=Array.from(e.querySelectorAll("[data-content23-show-more]")).filter(e=>e instanceof HTMLElement),n=Array.from(e.querySelectorAll("[data-content23-card-desc]")).filter(e=>e instanceof HTMLElement);if(0===t.length||0===n.length)return;let a=()=>{n.forEach(e=>e.classList.add("is-open")),t.forEach(e=>{e.style.display="none"})};t.forEach(e=>{e.addEventListener("click",a)})})}n.d(t,{X:()=>K});let h=(e,t)=>{let n=Math.max(0,e.scrollWidth-e.clientWidth);if(e.scrollLeft<=4)return 0;if(e.scrollLeft>=n-4)return t.length-1;let a=0,r=1/0;return t.forEach((t,n)=>{let i=Math.abs(t.offsetLeft-e.scrollLeft);i<r&&(r=i,a=n)}),a};function p(){let e=[];
1if(document.querySelectorAll("[data-content30-linkedin]:not([data-content30-linkedin-initialized])").forEach(t=>{if(!(t instanceof HTMLElement))return;t.setAttribute("data-content30-linkedin-initialized","true");let n=new AbortController;e.push(()=>n.abort()),l(t,void 0,n.signal),t.querySelectorAll("[data-linkedin-media-carousel]").forEach(e=>{e instanceof HTMLElement&&((e,t)=>{if("true"===e.getAttribute("data-linkedin-media-carousel-initialized"))return;e.setAttribute("data-linkedin-media-carousel-initialized","true");let n=e.querySelector("[data-linkedin-media-track]"),a=e.querySelector("[data-linkedin-media-prev]"),r=e.querySelector("[data-linkedin-media-next]");if(!(n instanceof HTMLElement)||!(a instanceof HTMLElement)||!(r instanceof HTMLElement))return;let i=Array.from(n.querySelectorAll("[data-linkedin-media-slide]")).filter(e=>e instanceof HTMLElement);if(i.length<2)return;let l=e=>{let t=(e+i.length)%i.length,a=i[t];n.scrollTo({left:a.offsetLeft,behavior:"smooth"})};a.addEventListener("click",()=>{l(h(n,i)-1)},{signal:t}),r.addEventListener("click",()=>{l(h(n,i)+1)},{signal:t})})(e,n.signal)})}),e.length>0)return()=>e.forEach(e=>e())}let v=(e,t,n)=>Math.min(n,Math.max(t,e));function y(){let e=[];return document.querySelectorAll("[data-content31-sticky-feature]:not([data-sticky-feature-initialized])").forEach(t=>{if(!(t instanceof HTMLElement))return;t.setAttribute("data-sticky-feature-initialized","true");let n=0,a=()=>{n=0;let e=Array.from(t.querySelectorAll("[data-sticky-feature-item]")).filter(e=>e instanceof HTMLElement&&e.getBoundingClientRect().height>0);if(0===e.length)return;if(!(window.innerWidth>=768)){e.forEach(e=>{e.style.opacity="1"}),t.querySelectorAll("[data-sticky-feature-image]").forEach(e=>{e instanceof HTMLElement&&(e.style.opacity="1")});return}let a=.5*window.innerHeight,r=.55*window.innerHeight,i=e=>{let t=e.getBoundingClientRect();return t.top+t.height/2},l=e.map(e=>v(1-Math.abs(i(e)-a)/r,0,1)),o=l.reduce((e,t)=>e+t,0);0===o&&(l[e.reduce((t,n,r)=>{let l=Math.abs(i(e[t])-a);return Math.abs(i(n)-a)<l?r:t},0)]=1,o=1);let c=l.map(e=>e/o),s=c.reduce((e,t,n)=>t>c[e]?n:e,0);e.forEach((e,t)=>{e.style.opacity=String(v(1.8*c[t],.12,1))}),c.forEach((e,n)=>{t.querySelectorAll('[data-sticky-feature-image="'.concat(n,'"]')).forEach(e=>{e instanceof HTMLElement&&(e.style.opacity=String(Number(n===s)))}),t.querySelectorAll('[data-sticky-feature-bg="'.concat(n,'"]')).forEach(t=>{t instanceof HTMLElement&&(t.style.opacity=String(e))})})},r=()=>{n||(n=window.requestAnimationFrame(a))};window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r),r(),e.push(()=>{n&&window.cancelAnimationFrame(n),window.removeEventListener("scroll",r),window.removeEventListener("resize",r),t.removeAttribute("data-sticky-feature-initialized")})}),()=>{e.forEach(e=>e())}}let g=(e,t,n)=>Math.min(n,Math.max(t,e));function E(){let e=[];return document.querySelectorAll("[data-content31-sticky-feature-v2]:not([data-sticky-feature-initialized])").forEach(t=>{if(!(t instanceof HTMLElement))return;t.setAttribute("data-sticky-feature-initialized","true");let n=0,a=()=>{n=0;let e=Array.from(t.querySelectorAll("[data-sticky-feature-item]")).filter(e=>e instanceof HTMLElement&&e.getBoundingClientRect().height>0);if(0!==e.length)if(window.innerWidth>=768)(e=>{let n=.5*window.innerHeight,a=.55*window.innerHeight,r=e=>{let t=e.getBoundingClientRect();return t.top+t.height/2},i=e.map(e=>g(1-Math.abs(r(e)-n)/a,0,1)),l=i.reduce((e,t)=>e+t,0);0===l&&(i[e.reduce((t,a,i)=>{let l=Math.abs(r(e[t])-n);return Math.abs(r(a)-n)<l?i:t},0)]=1,l=1);let o=i.map(e=>e/l),c=o.reduce((e,t,n)=>t>o[e]?n:e,0);e.forEach((e,t)=>{e.style.opacity=String(g(1.8*o[t],.12,1))}),o.forEach((e,n)=>{t.querySelectorAll('[data-sticky-feature-image="'.concat(n,'"]')).forEach(e=>{e instanceof HTMLElement&&(e.style.opacity=String(Number(n===c)))}),t.querySelectorAll('[data-sticky-feature-bg="'.concat(n,'"]')).forEach(t=>{t instanceof HTMLElement&&(t.style.opacity=String(e))})})})(e);else{e.forEach(e=>{e.style.opacity="1"});let n=.5*window.innerHeight,a=0;e.forEach((e,t)=>{e.getBoundingClientRect().top<=n&&(a=t)});let r=t.querySelectorAll("[data-sticky-feature-mobile-image]"),i="";
1r.forEach(e=>{if(!(e instanceof HTMLElement))return;let t=Number(e.getAttribute("data-sticky-feature-mobile-image"))===a;if(e.style.opacity=String(Number(t)),t){var n;i=null!=(n=e.getAttribute("data-sticky-feature-bg-value"))?n:""}}),i&&t.querySelectorAll("[data-sticky-feature-mobile-bar]").forEach(e=>{e instanceof HTMLElement&&(e.style.backgroundColor=i)})}},r=()=>{n||(n=window.requestAnimationFrame(a))};window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r),r(),e.push(()=>{n&&window.cancelAnimationFrame(n),window.removeEventListener("scroll",r),window.removeEventListener("resize",r),t.removeAttribute("data-sticky-feature-initialized")})}),()=>{e.forEach(e=>e())}}function b(){document.querySelectorAll("[data-content26-location]:not([data-content26-location-initialized])").forEach(e=>{if(!(e instanceof HTMLElement))return;e.setAttribute("data-content26-location-initialized","true");let t=Array.from(e.querySelectorAll("[data-location-trigger]")),n=Array.from(e.querySelectorAll("[data-location-content]"));t.forEach((a,r)=>{a instanceof HTMLButtonElement&&a.addEventListener("click",()=>{t.forEach((e,t)=>{if(!(e instanceof HTMLButtonElement))return;e.setAttribute("aria-expanded",String(t===r));let n=e.querySelector("[data-location-heading]");n instanceof HTMLElement&&(n.classList.toggle("text-app-blue-400",t===r),n.classList.toggle("text-app-blue-800",t!==r))}),n.forEach((e,t)=>{e instanceof HTMLElement&&e.classList.toggle("open",t===r)}),e.querySelectorAll("[data-location-image]").forEach((e,t)=>{e instanceof HTMLElement&&(e.style.opacity=t===r?"1":"0")})})})})}function L(){document.querySelectorAll("[data-contact-form]:not([data-content27-contact-form-initialized])").forEach(e=>{if(!(e instanceof HTMLFormElement))return;e.setAttribute("data-content27-contact-form-initialized","true");let t=e.querySelector("[data-contact-status]"),n=e.querySelector("[data-contact-submit]");if(!(t instanceof HTMLElement)||!(n instanceof HTMLButtonElement))return;let a=t=>String(new FormData(e).get(t)||""),r=a("missingText"),i=a("validationText"),l=a("successText"),o=a("submitText"),c=a("submittingText");e.addEventListener("submit",async a=>{a.preventDefault();let s=new FormData(e);if(!s.get("firstName")||!s.get("lastName")||!s.get("email")||"on"!==s.get("privacyAccepted")){t.textContent=r;return}n.disabled=!0,n.textContent=c;try{var d,u,f,m,h;let n=await fetch("/api/contact-form",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({formType:null!=(d=s.get("formType"))?d:void 0,firstName:s.get("firstName"),lastName:s.get("lastName"),email:s.get("email"),phone:null!=(u=s.get("phone"))?u:void 0,country:null!=(f=s.get("country"))?f:void 0,message:null!=(m=s.get("message"))?m:void 0,mediaOutlet:null!=(h=s.get("mediaOutlet"))?h:void 0,privacyAccepted:"on"===s.get("privacyAccepted"),name:s.get("name"),path:window.location.href})}),a=await n.json();a&&a.success?(e.reset(),t.textContent=l):t.textContent=i}catch(e){t.textContent=i}finally{n.disabled=!1,n.textContent=o}})})}let A=e=>e?e.value.trim():"";function w(){document.querySelectorAll("[data-pioneer-voice]:not([data-pv-initialized])").forEach(e=>{if(!(e instanceof HTMLFormElement))return;e.setAttribute("data-pv-initialized","true");let t=e.parentElement,n=e.nextElementSibling,a=n instanceof HTMLElement&&n.hasAttribute("data-pv-success")?n:null==t?void 0:t.querySelector("[data-pv-success]"),r=e.querySelector("[data-pv-status]"),i=e.querySelector("[data-pv-submit]"),l=e.querySelector('input[name="consent"]'),o=e.querySelector('input[name="email"]'),c=e.querySelector("[data-pv-closing]"),s=e.querySelector("[data-pv-consent]");if(!(a instanceof HTMLElement)||!(r instanceof HTMLElement)||!(i instanceof HTMLButtonElement)||!(l instanceof HTMLInputElement)||!(o instanceof HTMLInputElement)||!(c instanceof HTMLElement)||!(s instanceof HTMLElement))return;let d=e.querySelector('input[name="storeCity"]'),u=e.querySelector('input[name="paymentDate"]'),f=e.querySelector('textarea[name="detail"]'),m=e.querySelector('input[name="bluecodeId"]'),h=e.querySelector('textarea[name="wishText"]'),p=e.querySelector('textarea[name="generalText"]'),v=e.querySelector('input[name="motiveOther"]'),y=e.querySelector("[data-pv-motive-other]"),g=e.querySelector('input[name="name"]'),E=a.querySelector("[data-pv-email-line]"),b=a.querySelector("[data-pv-review]"),L=a.querySelector("[data-pv-reset]"),w=e.querySelector("[data-pv-idhelp-toggle]"),S=e.querySelector("[data-pv-idhelp]"),q=Array.from(e.querySelectorAll("button[data-pv-path]")),M=Array.from(e.querySelectorAll("[data-pv-panel]")),T=Array.from(e.querySelectorAll("[data-pv-group]"));if(0===q.length||0===M.length||!L)return;let x=t=>String(new FormData(e).get(t)||""),k=x("submitText"),H=x("submittingText"),C=x("errorText"),z={path:null,outcome:"",paymentMethod:"",os:"",motives:[]},I=()=>
1{if("payment"===z.path){if(!z.outcome||!z.paymentMethod||!z.os||!A(d)||!(u&&u.value)||!A(f))return!1}else if("wishes"===z.path){if(!A(h))return!1}else if("general"!==z.path)return!1;else if(!A(p)&&z.motives.length<1)return!1;return!o.value.trim()||o.validity.valid&&l.checked},N=()=>{if(!y||!v)return;let e=z.motives.includes("other");y.hidden=!e,e||(v.value="")},F=()=>{let e=""!==o.value.trim();s.hidden=!e,e||(l.checked=!1),i.disabled=!I()},W=()=>{if(!u)return;let e=(()=>{let e=new Date,t=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return"".concat(e.getFullYear(),"-").concat(t,"-").concat(n)})();u.value=e,u.max=e};q.forEach(e=>{e.addEventListener("click",()=>{let t=e.getAttribute("data-pv-path");("payment"===t||"wishes"===t||"general"===t)&&(z.path=t,q.forEach(t=>t.setAttribute("aria-pressed",String(t===e))),M.forEach(e=>{e.hidden=e.getAttribute("data-pv-panel")!==t}),c.hidden=!1,F())})}),T.forEach(e=>{let t=e.getAttribute("data-pv-group"),n=e.hasAttribute("data-pv-multi"),a=Array.from(e.querySelectorAll("button[data-pv-pill]"));a.forEach(e=>{e.addEventListener("click",()=>{var r;let i=null!=(r=e.getAttribute("data-pv-value"))?r:"";if(n){let n="true"===e.getAttribute("aria-pressed");e.setAttribute("aria-pressed",String(!n)),"motives"===t&&(z.motives=a.filter(e=>"true"===e.getAttribute("aria-pressed")).map(e=>{var t;return null!=(t=e.getAttribute("data-pv-value"))?t:""}),N())}else a.forEach(t=>t.setAttribute("aria-pressed",String(t===e))),"outcome"===t?z.outcome=i:"paymentMethod"===t?z.paymentMethod=i:"os"===t&&(z.os=i);F()})})}),u&&(W(),u.addEventListener("click",()=>{try{"function"==typeof u.showPicker&&u.showPicker()}catch(e){}})),w&&S&&w.addEventListener("click",()=>{S.hidden=!S.hidden}),e.addEventListener("input",F),e.addEventListener("change",F),e.addEventListener("submit",async t=>{if(t.preventDefault(),!I()||!z.path)return;i.disabled=!0,i.textContent=H;let n=new URLSearchParams(window.location.search),c=e=>{let t=n.get(e);return t?t.slice(0,400):void 0},s=window.location.pathname.split("/").filter(e=>""!==e),y="/".concat(s.slice(1).join("/")).slice(0,400),L={path:z.path,email:o.value.trim()||void 0,consent:l.checked,name:g?g.value:"",pageSlug:y,utmSource:c("utm_source"),utmMedium:c("utm_medium"),utmCampaign:c("utm_campaign"),utmContent:c("utm_content"),utmTerm:c("utm_term")};"payment"===z.path?(L.outcome=z.outcome,L.paymentMethod=z.paymentMethod,L.os=z.os,L.storeCity=A(d),L.paymentDate=u?u.value:"",L.detail=A(f),L.bluecodeId=A(m)||void 0):"wishes"===z.path?L.wishText=A(h):(L.generalText=A(p)||void 0,L.motives=z.motives,L.motiveOther=z.motives.includes("other")&&A(v)||void 0);try{let t=await fetch("/api/pioneer-voice",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(L)}),n=await t.json();n&&n.success?(r.textContent="",e.hidden=!0,a.hidden=!1,E&&(E.hidden=""===o.value.trim()),b&&(b.hidden="payment"!==z.path||"worked"!==z.outcome),"function"==typeof a.scrollIntoView&&a.scrollIntoView({block:"start",behavior:"smooth"})):(r.textContent=C,i.disabled=!1,i.textContent=k)}catch(e){r.textContent=C,i.disabled=!1,i.textContent=k}}),L.addEventListener("click",()=>{e.reset(),z.path=null,z.outcome="",z.paymentMethod="",z.os="",z.motives=[],N(),q.forEach(e=>e.setAttribute("aria-pressed","false")),e.querySelectorAll("button[data-pv-pill]").forEach(e=>e.setAttribute("aria-pressed","false")),M.forEach(e=>{e.hidden=!0}),c.hidden=!0,s.hidden=!0,S&&(S.hidden=!0),W(),r.textContent="",i.disabled=!0,i.textContent=k,E&&(E.hidden=!0),b&&(b.hidden=!0),a.hidden=!0,e.hidden=!1,"function"==typeof e.scrollIntoView&&e.scrollIntoView({block:"start",behavior:"smooth"})})})}function S(e,t){let{threshold:n,canStart:a,onSwipe:r}=t,i=null,l=e=>{if(1!==e.touches.length||a&&!a()){i=null;return}i={x:e.touches[0].clientX,y:e.touches[0].clientY}},o=e=>{if(!i||1!==e.touches.length)return;let t=e.touches[0].clientX-i.x,a=e.touches[0].clientY-i.y;!(Math.abs(t)>Math.abs(a))&&(Math.sign(a)!==Math.sign(n)||Math.abs(a)<Math.abs(n)||(i=null,r()))},c=()=>{i=null};return e.addEventListener("touchstart",l,{passive:!0}),e.addEventListener("touchmove",o,{passive:!0}),e.addEventListener("touchend",c,{passive:!0}),e.addEventListener("touchcancel",c,{passive:!0}),()=>{e.removeEventListener("touchstart",l),e.removeEventListener("touchmove",o),e.removeEventListener("touchend",c),e.removeEventListener("touchcancel",c)}}
1let q=["a[href]","button",'[tabindex]:not([tabindex="-1"])'].map(e=>'[data-split-hero-layer="expanded"] '.concat(e)).join(", ");function M(){let e=Array.from(document.querySelectorAll("[data-split-hero]:not([data-split-hero-initialized])"));if(!e.length)return;let t=[],a=window.matchMedia("(min-width: 1024px)");if(e.forEach(e=>{var r;e.setAttribute("data-split-hero-initialized","true");let i="left",l=null,o=null,c=null,s=e.querySelector("[data-split-hero-sheet-open]"),d=e.querySelector("[data-split-hero-sheet-close]"),u=e.querySelector("[data-split-hero-strip]"),f=e.querySelector("[data-split-hero-sheet]"),m=null!=(r=null==f?void 0:f.querySelector("[data-split-hero-inner]"))?r:null,h=null,p=0,v=()=>{null!==h&&(document.documentElement.style.overflow=h,h=null)},y=()=>{e.dispatchEvent(new CustomEvent("split-hero:change",{detail:{active:i}}))},g=t=>{i!==t&&(i=t,e.setAttribute("data-split-hero-active",t),y())},E=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e===("right"===i))return;if(g(e?"right":"left"),null==s||s.setAttribute("aria-expanded",e?"true":"false"),e?null===h&&(h=document.documentElement.style.overflow,document.documentElement.style.overflow="hidden"):v(),window.cancelAnimationFrame(p),!t){document.activeElement instanceof HTMLElement&&(null==f?void 0:f.contains(document.activeElement))&&document.activeElement.blur();return}let n=e?d:s;p=window.requestAnimationFrame(()=>null==n?void 0:n.focus({preventScroll:!0}))},b=e=>{if(a.matches||!(e.target instanceof Element))return;let t=0===e.detail;e.target.closest("[data-split-hero-sheet-open]")?E(!0,t):e.target.closest("[data-split-hero-sheet-close], [data-split-hero-backdrop]")&&E(!1,t)},L=e=>{"Escape"!==e.key||a.matches||"right"!==i||E(!1,!0)},A=t=>{if("mouse"!==t.pointerType||l||!a.matches)return;o=null;let n=e.getBoundingClientRect();g(t.clientX>n.left+.75*n.width?"right":"left")},w=t=>{if("mouse"!==t.pointerType||l||!a.matches||null!==o&&2>Math.abs(t.clientX-o))return;o=t.clientX;let n=e.getBoundingClientRect(),r=(t.clientX-n.left)/n.width;"left"===i&&r>=.76?g("right"):"right"===i&&r<=.24&&g("left")},M=e=>{"mouse"===e.pointerType&&(o=null,l||g("left"))},T=t=>{let n=t.target;if(!(n instanceof Element)||!n.matches(":focus-visible"))return;let r=n.closest("[data-split-hero-panel]");
1if(r&&e.contains(r)&&a.matches&&(g(l="right"===r.dataset.splitHeroPanel?"right":"left"),n.closest('[data-split-hero-layer="teaser"]'))){var i;null==(i=r.querySelector(q))||i.focus()}},x=t=>{let n=t.relatedTarget;!(n instanceof Node&&e.contains(n))&&(l=null,a.matches&&g("left"))},k=e=>{"mouse"!==e.pointerType&&(c={pointerId:e.pointerId,x:e.clientX,y:e.clientY})},H=()=>{c=null},C=t=>{let n;if("mouse"===t.pointerType)return;let r=!!(n=c)&&n.pointerId===t.pointerId&&12>=Math.hypot(t.clientX-n.x,t.clientY-n.y);if(c=null,!r||!a.matches||l||t.target instanceof Element&&t.target.closest("a, button"))return;let o=((e,t)=>{var n;if(!(t instanceof Node))return null;let a=null==(n=t instanceof Element?t:t.parentElement)?void 0:n.closest("[data-split-hero-panel]");return a&&e.contains(a)?"right"===a.dataset.splitHeroPanel?"right":"left":null})(e,t.target);o&&g("right"===o&&"right"===i?"left":o)},z=()=>{v(),a.matches||(l=null,o=null,g("left"),null==s||s.setAttribute("aria-expanded","false"))};e.addEventListener("click",b),document.addEventListener("keydown",L);let I=[u?S(u,{threshold:-40,canStart:()=>!a.matches,onSwipe:()=>E(!0)}):null,f?S(f,{threshold:60,canStart:()=>{var e;return!a.matches&&"right"===i&&(null!=(e=null==m?void 0:m.scrollTop)?e:0)<=0},onSwipe:()=>E(!1)}):null];e.addEventListener("pointerenter",A),e.addEventListener("pointermove",w),e.addEventListener("pointerleave",M),e.addEventListener("focusin",T),e.addEventListener("focusout",x),e.addEventListener("pointerdown",k),e.addEventListener("pointercancel",H),e.addEventListener("pointerup",C),a.addEventListener("change",z),y();let N=function(e){let t=null,a=!1,r=new IntersectionObserver(i=>{i.some(e=>e.isIntersecting)&&(r.disconnect(),Promise.all([n.e(4851),n.e(3531)]).then(n.bind(n,3531)).then(n=>{let{mountSplitHeroGlobe:r}=n;a||(t=r(e))}).catch(()=>{}))},{rootMargin:"300px"});return r.observe(e),()=>{a=!0,r.disconnect(),null==t||t.destroy(),t=null}}(e);t.push(()=>{N(),window.cancelAnimationFrame(p),v(),e.removeEventListener("click",b),document.removeEventListener("keydown",L),I.forEach(e=>null==e?void 0:e()),e.removeEventListener("pointerenter",A),e.removeEventListener("pointermove",w),e.removeEventListener("pointerleave",M),e.removeEventListener("focusin",T),e.removeEventListener("focusout",x),e.removeEventListener("pointerdown",k),e.removeEventListener("pointercancel",H),e.removeEventListener("pointerup",C),a.removeEventListener("change",z),e.setAttribute("data-split-hero-active","left"),e.removeAttribute("data-split-hero-initialized")})}),t.length)return()=>{t.forEach(e=>e())}}function T(){let e=[];
1if(document.querySelectorAll("[data-faq-toggle]:not([data-initialized])").forEach(t=>{t.setAttribute("data-initialized","true");let n=new AbortController;e.push(()=>n.abort()),t.addEventListener("click",()=>{let e=t.closest("[data-faq-item]"),n=null==e?void 0:e.classList.contains("open");null==e||e.classList.toggle("open",!n),t.setAttribute("aria-expanded",String(!n))},{signal:n.signal})}),e.length>0)return()=>e.forEach(e=>e())}let x=e=>"/"===e?"/":e.replace(/\/$/,"");function k(){let e=document.querySelector("[data-header-nav]");if(!e)return;let t=[],n=window.location.pathname,a=x(n),r=n.split("/").filter(Boolean)[0]||"",i=x("/".concat(r));e.querySelectorAll("a[data-nav-link][href]").forEach(e=>{let t=e.getAttribute("href")||"";if(t.startsWith("http")||t.startsWith("mailto")||t.startsWith("tel")||t.startsWith("#"))return;let n=x(t);if(n===i?a===n:a===n||a.startsWith("".concat(n,"/")))return void e.setAttribute("aria-current","page");e.removeAttribute("aria-current")});let l=Array.from(e.querySelectorAll("[data-header-nav-item]")),o=e=>{l.forEach(t=>{t!==e&&(t.open=!1)})};l.forEach(e=>{let n=e.querySelector("[data-header-nav-summary]"),a=()=>{n&&n.setAttribute("aria-expanded",String(e.open)),e.open&&o(e)};e.addEventListener("toggle",a),a(),t.push(()=>e.removeEventListener("toggle",a))});let c=t=>{let n=t.target;n instanceof Node&&(e.contains(n)||o())};document.addEventListener("click",c),t.push(()=>document.removeEventListener("click",c));let s=e=>{"Escape"===e.key&&o()};return document.addEventListener("keydown",s),t.push(()=>document.removeEventListener("keydown",s)),()=>{o(),t.forEach(e=>e()),e.querySelectorAll("a[data-nav-link][href]").forEach(e=>{e.removeAttribute("aria-current")})}}let H=null;function C(){let e=document.querySelectorAll("video[data-hls-src]:not([data-hls-initialized])");if(!e.length)return;let t=[],a=!1;return e.forEach(e=>{if(e.setAttribute("data-hls-initialized","true"),"probably"===e.canPlayType("application/vnd.apple.mpegurl"))return;let r=e.dataset.hlsSrc;r&&(H||(H=n.e(1392).then(n.bind(n,8793)).then(e=>e.default).catch(()=>null))).then(n=>{if(a||!n||!n.isSupported())return;let i=new n;i.loadSource(r),i.attachMedia(e),t.push(i)})}),()=>{a=!0,t.forEach(e=>e.destroy()),t.length=0}}let z=(e,t,n)=>Math.min(Math.max(e,t),n);function I(){let e=Array.from(document.querySelectorAll("[data-info-tooltip-root]"));if(0===e.length)return;let t=new AbortController,{signal:n}=t,a=[],r=null,i=0,l=0,o=(e,t)=>{e.trigger.setAttribute("aria-expanded",String(t))},c=()=>{i&&(window.clearTimeout(i),i=0)},s=()=>{l&&(window.cancelAnimationFrame(l),l=0)},d=e=>{let{trigger:t,tooltip:n}=e,a=t.getBoundingClientRect();if(0===a.width&&0===a.height)return;n.hidden=!1,n.style.maxWidth="".concat(Math.max(0,Math.min(420,window.innerWidth-24)),"px");let r=n.getBoundingClientRect(),i=a.top-12-12,l=window.innerHeight-a.bottom-12-12,o=i>=r.height||i>=l?"top":"bottom",c=a.left+a.width/2,s=c-r.width/2,d=Math.max(12,window.innerWidth-r.width-12),u=z(s,12,d);s<12?u=z(a.left-24,12,d):s>d&&(u=z(a.right-r.width+24,12,d));let f=z("top"===o?a.top-r.height-12:a.bottom+12,12,Math.max(12,window.innerHeight-r.height-12)),m=z(c-u,18,Math.max(r.width-18,18));n.dataset.side=o,n.style.left="".concat(u,"px"),n.style.top="".concat(Math.max(f,12),"px"),n.style.setProperty("--info-tooltip-arrow-left","".concat(m,"px"))},u=()=>{r&&!l&&(l=window.requestAnimationFrame(()=>{l=0,r&&d(r)}))},f=function(e,t){var n;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=null!=t?t:r;if(!l||(n=l.openMode,!n||"outside"!==e&&"escape"!==e&&"toggle"!==e&&"replace"!==e&&("pointer-leave"===e?"hover"!==n:"focus"!==n&&"manual"!==n)))return;r===l&&(r=null),c(),s(),l.openMode=null,o(l,!1),l.tooltip.dataset.open="false",l.tooltip.setAttribute("aria-hidden","true");let d=()=>{r!==l&&(l.tooltip.hidden=!0,l.tooltip.style.removeProperty("left"),l.tooltip.style.removeProperty("top"),l.tooltip.style.removeProperty("max-width"),l.tooltip.style.removeProperty("--info-tooltip-arrow-left"))};if(a||"pointer-leave"!==e)return void d();i=window.setTimeout(d,160)},m=(e,t)=>{c(),r&&r!==e&&f("replace",r,!0),r=e,e.openMode=((e,t)=>{let n={hover:0,focus:1,manual:2};return e&&n[e]>n[t]?e:t})(e.openMode,t),e.tooltip.hidden=!1,e.tooltip.setAttribute("aria-hidden","false"),o(e,!0),d(e),window.requestAnimationFrame(()=>
1{r===e&&(e.tooltip.dataset.open="true",u())})};if(e.forEach((e,t)=>{let n=e.querySelector("[data-info-tooltip-trigger]"),r=e.querySelector("[data-info-tooltip]");if(!n||!r)return;let i=r.id||"info-tooltip-".concat(t+1);r.id=i,n.setAttribute("aria-controls",i);let l=r.parentElement,o=r.nextSibling;r.parentElement!==document.body&&document.body.appendChild(r),a.push({root:e,trigger:n,tooltip:r,tooltipId:i,openMode:null,originalParent:l,originalNextSibling:o})}),0!==a.length)return a.forEach(e=>{let{trigger:t}=e;t.addEventListener("mouseenter",()=>m(e,"hover"),{signal:n}),t.addEventListener("mouseleave",()=>f("pointer-leave",e),{signal:n}),t.addEventListener("focus",()=>m(e,"focus"),{signal:n}),t.addEventListener("blur",()=>f("blur",e),{signal:n}),t.addEventListener("click",()=>{if(r===e&&"manual"===e.openMode)return void f("toggle",e,!0);m(e,"manual")},{signal:n})}),document.addEventListener("click",e=>{let t=e.target;t instanceof Node&&(a.some(e=>e.root.contains(t))||f("outside",void 0,!0))},{signal:n}),document.addEventListener("keydown",e=>{if("Escape"!==e.key||!r)return;let t=r.trigger;f("escape",void 0,!0),t.focus()},{signal:n}),window.addEventListener("resize",u,{signal:n}),window.addEventListener("scroll",u,{capture:!0,passive:!0,signal:n}),()=>{t.abort(),c(),s(),a.forEach(e=>f("replace",e,!0)),a.forEach(e=>{var t,n;if(!(null==(t=e.originalParent)?void 0:t.isConnected))return void e.tooltip.remove();let a=(null==(n=e.originalNextSibling)?void 0:n.parentNode)===e.originalParent?e.originalNextSibling:null;e.originalParent.insertBefore(e.tooltip,a)}),r=null}}var N=n(5253),F=n(7389);function W(){let e=[],t=Array.from(document.querySelectorAll("[data-language-menu]"));if(0===t.length)return;let n=e=>{t.forEach(t=>{t!==e&&(t.open=!1)})};t.forEach(t=>{t.querySelectorAll("[data-locale-link]").forEach(t=>{let n=t.getAttribute("data-locale-link");if(!n||!N.D0.includes(n))return;let a=()=>{F.H.set(n)};t.addEventListener("click",a),e.push(()=>t.removeEventListener("click",a))});let a=t.querySelector("[data-language-menu-summary]"),r=()=>{a&&a.setAttribute("aria-expanded",String(t.open)),t.open&&n(t)};t.addEventListener("toggle",r),r(),e.push(()=>t.removeEventListener("toggle",r))});let a=e=>{let a=e.target;a instanceof Node&&(t.some(e=>e.contains(a))||n())};document.addEventListener("click",a),e.push(()=>document.removeEventListener("click",a));let r=e=>{"Escape"===e.key&&n()};return document.addEventListener("keydown",r),e.push(()=>document.removeEventListener("keydown",r)),()=>{for(let t of e)t()}}let B=null;function P(){let e=document.querySelectorAll("[data-lottie]:not([data-lottie-initialized])");if(!e.length)return;let t=[],a=[],r=[],i=!1;return e.forEach(e=>{let l;e.setAttribute("data-lottie-initialized","true"),r.push(e);let o=e.querySelector('script[type="application/json"][data-lottie-data]');if(!(null==o?void 0:o.textContent))return;try{l=JSON.parse(o.textContent)}catch(e){return}let c=new IntersectionObserver(a=>{a.some(e=>e.isIntersecting)&&(c.disconnect(),(B||(B=n.e(6983).then(n.t.bind(n,1007,23)).then(e=>e.default).catch(()=>null))).then(n=>{!i&&n&&t.push(n.loadAnimation({container:e,renderer:"svg",loop:!0,autoplay:!0,animationData:l}))}))},{rootMargin:"200px"});c.observe(e),a.push(c)}),()=>{i=!0,a.forEach(e=>e.disconnect()),a.length=0,t.forEach(e=>e.destroy()),t.length=0,r.forEach(e=>e.removeAttribute("data-lottie-initialized")),r.length=0}}let D='a[href],button:not([disabled]),textarea:not([disabled]),input:not([disabled]):not([type="hidden"]),select:not([disabled]),[tabindex]:not([tabindex="-1"])',O=e=>"/"===e?"/":e.replace(/\/$/,"");function R(){let e=document.querySelector("[data-mobile-menu]");if(!e)return;let t=document.querySelector("[data-mobile-menu-trigger]"),n=e.querySelector("[data-mobile-menu-overlay]"),a=e.querySelector("[data-mobile-menu-panel]"),r=e.querySelector("[data-mobile-menu-close-button]"),i=new AbortController,{signal:l}=i,o=!1,c=null,s=()=>a instanceof HTMLElement?Array.from(a.querySelectorAll(D)).filter(e=>e.getClientRects().length>0&&!e.hasAttribute("disabled")):[],d=()=>{if(!o)return;
1o=!1,null==t||t.setAttribute("aria-expanded","false"),document.documentElement.style.overflow="",null==n||n.classList.remove("opacity-100"),null==n||n.classList.add("opacity-0"),null==a||a.classList.remove("translate-x-0"),null==a||a.classList.add("translate-x-full");let r=()=>{if(!o){e.classList.add("invisible","pointer-events-none"),e.setAttribute("aria-hidden","true");let n=null!=c?c:t;null==n||n.focus(),c=null}null==a||a.removeEventListener("transitionend",r)};null==a||a.addEventListener("transitionend",r,{once:!0})};null==t||t.addEventListener("click",()=>void(!o&&(o=!0,c=document.activeElement instanceof HTMLElement?document.activeElement:null,e.classList.remove("invisible","pointer-events-none"),e.setAttribute("aria-hidden","false"),null==t||t.setAttribute("aria-expanded","true"),document.documentElement.style.overflow="hidden",requestAnimationFrame(()=>{var e;null==n||n.classList.remove("opacity-0"),null==n||n.classList.add("opacity-100"),null==a||a.classList.remove("translate-x-full"),null==a||a.classList.add("translate-x-0");let t=s(),i=r instanceof HTMLElement?r:null!=(e=t[0])?e:a;null==i||i.focus()}))),{signal:l}),e.querySelectorAll("[data-mobile-menu-close]").forEach(e=>e.addEventListener("click",d,{signal:l})),document.addEventListener("keydown",e=>{if(!o)return;if("Escape"===e.key){e.preventDefault(),d();return}if("Tab"!==e.key)return;let t=s();if(0===t.length){e.preventDefault(),null==a||a.focus();return}let n=t[0],r=t[t.length-1],i=document.activeElement instanceof HTMLElement?document.activeElement:null,l=!!(i&&(null==a?void 0:a.contains(i)));if(e.shiftKey){i!==n&&l||(e.preventDefault(),r.focus());return}i!==r&&l||(e.preventDefault(),n.focus())},{signal:l});let u=e.querySelectorAll("[data-mobile-accordion-trigger]"),f=(e,t)=>{e.querySelectorAll(D).forEach(e=>{e.tabIndex=t?0:-1})};u.forEach(e=>{let t=e.nextElementSibling;t&&f(t,t.classList.contains("open")),e.addEventListener("click",()=>(e=>{let t=e.nextElementSibling;if(!t)return;t.classList.toggle("open");let n=t.classList.contains("open"),a=e.querySelector("svg");a&&(a.style.transform=n?"rotate(180deg)":""),e.setAttribute("aria-expanded",String(n)),f(t,n)})(e),{signal:l})});let m=window.location.pathname,h=O(m),p=m.split("/").filter(Boolean)[0]||"",v=O("/".concat(p));return e.querySelectorAll("a[data-nav-link][href]").forEach(e=>{let t=e.getAttribute("href")||"";if(t.startsWith("http")||t.startsWith("mailto")||t.startsWith("tel")||t.startsWith("#"))return;let n=O(t);if(n===v?h===n:h===n||h.startsWith("".concat(n,"/"))){e.classList.remove("text-app-gray-700"),e.classList.add("text-app-blue-500"),e.setAttribute("aria-current","page");return}e.removeAttribute("aria-current")}),()=>{i.abort(),document.documentElement.style.overflow="",e.querySelectorAll("a[data-nav-link][href]").forEach(e=>{e.classList.remove("text-app-blue-500"),e.removeAttribute("aria-current"),e.classList.contains("text-app-gray-700")||e.classList.add("text-app-gray-700")}),e.querySelectorAll(".faq-content.open").forEach(e=>e.classList.remove("open")),o=!1,null==n||n.classList.replace("opacity-100","opacity-0"),null==a||a.classList.replace("translate-x-0","translate-x-full"),e.classList.add("invisible","pointer-events-none"),e.setAttribute("aria-hidden","true"),null==t||t.setAttribute("aria-expanded","false"),c=null}}function j(){let e=[];
1if(document.querySelectorAll("[data-newsletter-form]:not([data-initialized])").forEach(t=>{t.setAttribute("data-initialized","true");let n=t.closest("section");if(!n)return;let a=n.querySelector("[data-newsletter-status]"),r=n.querySelector("[data-newsletter-submit]");if(!a||!r)return;let i=new FormData(t),l=String(i.get("missingText")||""),o=String(i.get("validationText")||""),c=String(i.get("successText")||""),s=String(i.get("buttonText")||""),d=String(i.get("buttonLoadingText")||s),u=new AbortController;e.push(()=>u.abort()),t.addEventListener("submit",async e=>{e.preventDefault();let n=new FormData(t);if(!n.get("email")||"on"!==n.get("privacyAccepted")){a.textContent=l,a.className="text-sm text-red-200";return}r.disabled=!0,r.textContent=d;try{let e=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:n.get("email"),privacyAccepted:"on"===n.get("privacyAccepted"),name:n.get("name"),path:window.location.href})}),r=await e.json();r&&r.success?(t.reset(),a.textContent=c,a.className="text-sm text-app-yellow-100"):(a.textContent=o,a.className="text-sm text-red-200")}catch(e){a.textContent=o,a.className="text-sm text-red-200"}finally{r.disabled=!1,r.textContent=s}},{signal:u.signal})}),0!==e.length)return()=>{for(let t of e)t()}}function Y(){let e=document.documentElement,t=(()=>{try{let e=navigator.userAgent;if(/android/i.test(e))return"android";if(/iPhone|iPad|iPod/.test(e)||e.includes("Mac")&&navigator.maxTouchPoints>1)return"ios"}catch(e){}return"other"})();e.dataset.os=t;let n=new MutationObserver(()=>{e.dataset.os!==t&&(e.dataset.os=t)});return n.observe(e,{attributes:!0,attributeFilter:["data-os"]}),()=>{n.disconnect()}}let X="bluecode:dismissed-banner-id",_="data-site-banner-hidden",V="data-site-banner-collapsed";function $(){let e=document.querySelector("[data-site-banner]");if(!e){document.documentElement.removeAttribute(_),document.documentElement.removeAttribute(V);return}let t=e.querySelector("[data-site-banner-close]"),n=e.dataset.siteBannerId,a=document.documentElement,r=()=>{if(a.hasAttribute(_))return void a.removeAttribute(V);window.scrollY>0?a.setAttribute(V,"true"):a.removeAttribute(V)};(()=>{if(!n)return a.removeAttribute(_);try{window.sessionStorage.getItem(X)===n?a.setAttribute(_,"true"):a.removeAttribute(_)}catch(e){a.removeAttribute(_)}})(),r();let i=()=>{if(!n){a.setAttribute(_,"true"),a.removeAttribute(V);return}try{window.sessionStorage.setItem(X,n)}catch(e){}a.setAttribute(_,"true"),a.removeAttribute(V)},l=()=>{r()};return null==t||t.addEventListener("click",i),window.addEventListener("scroll",l,{passive:!0}),()=>{null==t||t.removeEventListener("click",i),window.removeEventListener("scroll",l)}}function J(){let e=new Map,t=null;if("IntersectionObserver"in window){let n=new IntersectionObserver(t=>{t.forEach(t=>{if(t.isIntersecting){var a;let r=t.target,i=r.dataset.contentIndex,l=parseInt(r.dataset.delay||"150",10),o=Date.now(),c=null!=(a=e.get(i))?a:0,s=Math.max(0,(c>o?c:o)-o)+l;e.set(i,o+s),e.forEach((t,n)=>{n!==i&&t<o&&e.delete(n)}),r.style.transitionDelay="".concat(s,"ms"),r.classList.add("visible"),n.unobserve(r)}})},{threshold:0,rootMargin:"0px 0px -50px 0px"});t=n,document.querySelectorAll(".slide-fade-in:not(.visible)").forEach(e=>{n.observe(e)})}else document.querySelectorAll(".slide-fade-in").forEach(e=>{e.classList.add("visible")});return()=>{null==t||t.disconnect()}}function G(){let e=[];
1if(document.querySelectorAll("[data-video-card]:not([data-video-card-initialized])").forEach(t=>{if(!(t instanceof HTMLElement))return;t.setAttribute("data-video-card-initialized","true");let n=t.querySelector("[data-video-play]"),a=t.querySelector("[data-video-thumbnail]"),r=t.querySelector("[data-video-player]");if(!(n instanceof HTMLElement)||!(a instanceof HTMLElement)||!(r instanceof HTMLElement))return;let i=new AbortController;e.push(()=>i.abort()),n.addEventListener("click",()=>{a.hidden=!0,r.classList.remove("hidden"),r.classList.add("flex"),C();let e=r.querySelector("video");e instanceof HTMLVideoElement&&e.play().catch(()=>{})},{signal:i.signal})}),e.length>0)return()=>e.forEach(e=>e())}function K(){let e=[],t=t=>{let n=t();"function"==typeof n&&e.push(n)};return t(Y),t(J),t(T),t(G),t(r),t(i),t(o),t(c),t(s),t(d),t(u),t(f),t(m),t(p),t(y),t(E),t(b),t(L),t(w),t(M),t(C),t(P),t(k),t($),t(I),t(W),t(R),t(j),()=>{for(let t=e.length-1;t>=0;t-=1)e[t]()}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.