import{t,c,P,s,a,T,k,o,R,A,S,I,C,N,F,L,H,g,w,z,V,x,B}from"./chunk-p42kdtn4.js";var fe,oe,X,v=(e,r)=>{for(var[n,i,l]of fe||[])for(var h=[e],d=globalThis,u=d.document,f,p,m,y,E;p=h.pop();)if(!oe[p]&&(m=i[p])){oe[p]=1;for(y=1;y{for(var l={},h=0;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function me(e,r){let n=e.slice(0).concat(e.default),i=[],l=r,h;do if(pe.exec(""),(h=pe.exec(l))&&(l=h[3],h[2]||!l))for(let d=0;d{n(...r)})}function we(e){return typeof e=="string"?document.querySelectorAll(e):e}function Q(e){let r=tt(G[e.type],e.target);if(r.length)for(let n=0;nr})}function rt(e){let r={};for(let n in e)r[n]=[...e[n]];return r}var _=new class{bindAll(e,r){r||=Object.getOwnPropertyNames(Object.getPrototypeOf(e));for(let n=0;n0,pathname:r.pathname.replace(/\/+$/,""),host:r.host,search:r.search,raw:e,href:n||r.href}}function Ee(e,r){e.parentNode.replaceChild(Le(e,r),e)}function ve(e,r){(e.parentNode.tagName==="HEAD"?document.head:document.body).appendChild(Le(e,r))}function Le(e,r){let n=document.createElement(r);for(let i=0;ithis.onLeave(r),e,"onLeave")}enter(e){return this.#e((r)=>this.onEnter(r),e,"onEnter")}#e(e,r,n){return new Promise((i)=>{let l=(h)=>{console.error(`Taxi: Transition ${n}() failed, continuing the navigation.`,h),i()};try{let h=e({...r,done:i});h&&typeof h.then=="function"&&h.then(()=>i(),l)}catch(h){l(h)}})}onLeave({from:e,trigger:r,done:n}){n()}onEnter({to:e,trigger:r,done:n}){n()}},be=class{constructor({content:e,page:r,title:n,wrapper:i}){this._contentString=e.outerHTML,this._DOM=null,this.page=r,this.title=n,this.wrapper=i,this.content=this.wrapper.lastElementChild,this.trigger=!1}onEnter(){}onEnterCompleted(){}onLeave(){}onLeaveCompleted(){}initialLoad(){this.trigger="initialLoad"}update(){if(!this._DOM)throw Error("Taxi Renderer: update() was called before createDom(). Ensure createDom() runs first.");document.title=this.title,this.wrapper.appendChild(this._DOM.firstElementChild),this.content=this.wrapper.lastElementChild,this._DOM=null}createDom(){this._DOM||(this._DOM=document.createElement("div"),this._DOM.innerHTML=this._contentString)}remove(){this.content.remove()}enter(e,r,n=null){return new Promise((i)=>{this.trigger=r,this.onEnter();let l=e.enter({trigger:r,to:this.content});(n?Promise.all([l,n]):l).then(()=>{this.onEnterCompleted(),i()})})}leave(e,r,n){return new Promise((i)=>{this.trigger=r,this.onLeave(),e.leave({trigger:r,from:this.content}).then(()=>{n&&this.remove(),this.onLeaveCompleted(),i()})})}},it=class{data=new Map;regexCache=new Map;add(e,r,n){this.data.has(e)||(this.data.set(e,new Map),this.regexCache.set(e,RegExp(`^${e}$`))),this.data.get(e).set(r,n),this.regexCache.set(r,RegExp(`^${r}$`))}findMatch(e,r){for(let[n,i]of this.data)if(e.pathname.match(this.regexCache.get(n))){for(let[l,h]of i)if(r.pathname.match(this.regexCache.get(l)))return h}return null}},Z="A transition is currently in progress",xe=(e)=>{e.name!=="AbortError"&&console.warn(e)},Ae=class{isTransitioning=!1;cache=new Map;#e=null;#r=new Map;#i=null;#o=0;#a=null;#n=null;#t=null;get currentCacheEntry(){return this.#e}constructor(e={}){let{links:r="a[href]:not([target]):not([href^=\\#]):not([data-taxi-ignore])",removeOldContent:n=!0,allowInterruption:i=!1,bypassCache:l=!1,enablePrefetch:h="hover",enableViewTransitions:d=!1,enableAccessibility:u=!1,maxCacheSize:f=0,fetchOptions:p={},renderers:m={default:be},transitions:y={default:K},reloadJsFilter:E=(D)=>D.dataset.taxiReload!==void 0,reloadCssFilter:b=(D)=>D.dataset.taxiReload!==void 0}=e;if(this.renderers=m,this.transitions=y,this.defaultRenderer=this.renderers.default||be,this.defaultTransition=this.transitions.default||K,this.wrapper=document.querySelector("[data-taxi]"),!this.wrapper)throw Error("Taxi: no [data-taxi] wrapper element was found in the document.");this.reloadJsFilter=E,this.reloadCssFilter=b,this.removeOldContent=n,this.allowInterruption=i,this.bypassCache=l,this.enablePrefetch=h===!0?"hover":h,this.enableViewTransitions=d,this.enableAccessibility=u,this.maxCacheSize=f,this.fetchOptions=p,this.cache=new Map,this.isPopping=!1,this.currentLocation=O(window.location.href),this.cache.set(this.currentLocation.href,this.#s(document.cloneNode(!0),window.location.href)),this.#e=this.cache.get(this.currentLocation.href),this.#y(r),this.enableAccessibility&&this.#v(),this.#e.renderer.initialLoad()}setDefaultRenderer(e){this.defaultRenderer=this.renderers[e]}setDefaultTransition(e){this.defaultTransition=this.transitions[e]}addRoute(e,r,n){this.router||=new it,this.router.add(e,r,n)}preload(e,r=!1){return e=O(e).href,this.cache.has(e)?Promise.resolve(this.#g(e)):this.#m(e,!1).then(async(n)=>(this.#c(e,this.#s(n.html,n.url)),r&&this.cache.get(e).renderer.createDom(),this.cache.get(e)))}updateCache(e){let r=O(e||window.location.href).href;this.cache.has(r)&&this.cache.delete(r);let n=this.#s(document.cloneNode(!0),r);if(r===this.currentLocation?.href&&this.#e){let i=this.#e.renderer;i._contentString=n.content.outerHTML,i.page=n.page,i.title=n.title,n.renderer=i,this.#e=n}this.#c(r,n),this.enablePrefetch==="visible"&&this.#l()}destroy(){_.off("click",this.#a,this.#d),_.off("popstate",window,this.#f),this.enablePrefetch==="hover"&&_.off("mouseenter focus",this.#a,this.#p),this.#n?.disconnect(),this.#n=null,this.#i?.abort(),this.#i=null,this.#t?.remove(),this.#t=null,this.cache.clear()}clearCache(e){let r=O(e||window.location.href).href;this.cache.has(r)&&this.cache.delete(r)}navigateBack(){if(!this.allowInterruption&&this.isTransitioning){console.warn(Z);return}window.history.back()}navigateForward(){if(!this.allowInterruption&&this.isTransitioning){console.warn(Z);return}window.history.forward()}navigateTo(e,r=!1,n=!1){return new Promise((i,l)=>{if(!this.allowInterruption&&this.isTransitioning){l(Error(Z));return}this.#i?.abort();let h=++this.#o,d=new AbortController;this.#i=d,this.isTransitioning=!0,this.isPopping=!0,this.targetLocation=O(e),this.popTarget=window.location.href;let u=this.targetLocation,f=this.enableViewTransitions&&"startViewTransition"in document,p=f&&!window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches,m=new(f?K:(this.#E(r)))({wrapper:this.wrapper}),y=()=>{if(h!==this.#o)throw new DOMException("Taxi: navigation was interrupted by a newer navigation","AbortError")},E;if(this.bypassCache||!this.cache.has(u.href)||this.cache.get(u.href).skipCache){let b=this.#m(u.href,!0,d.signal).then((D)=>{let W;try{W=this.#s(D.html,D.url)}catch(Je){throw window.location.href=u.raw,Je}return this.#c(u.href,W),W.renderer.createDom(),W});b.catch(()=>{}),E=this.#h(u,m,n,p,y).then(()=>b).then((D)=>(y(),this.#u(u,m,D,n,p,h)))}else{let b=this.#g(u.href);b.renderer.createDom(),E=this.#h(u,m,n,p,y).then(()=>(y(),this.#u(u,m,b,n,p,h)))}E.then(()=>i()).catch((b)=>{h===this.#o&&(this.isTransitioning=!1,this.isPopping=!1,this.#i=null),l(b)})})}on(e,r){_.on(e,r)}off(e,r){_.off(e,r)}#h(e,r,n,i,l){return _.emit("NAVIGATE_OUT",{from:this.#e,to:this.cache.get(e.href)||{page:null,content:null,finalUrl:e.href,skipCache:null,scripts:null,styles:null,title:null,renderer:null},trigger:n}),this.#e.renderer.leave(r,n,!i&&this.removeOldContent).then(()=>{l(),n!=="popstate"&&window.history.pushState({},"",e.raw)})}async#u(e,r,n,i,l,h){this.currentLocation=e,this.popTarget=this.currentLocation.href;let d=null;if(l){let f=this.#e.renderer;d=document.startViewTransition(()=>{this.removeOldContent&&f.remove(),n.renderer.update()}),await d.updateCallbackDone}else n.renderer.update();_.emit("NAVIGATE_IN",{from:this.#e,to:n,trigger:i}),this.reloadJsFilter&&this.#w(n.scripts),this.reloadCssFilter&&this.#T(n.styles),i!=="popstate"&&e.href!==O(n.finalUrl).href&&window.history.replaceState({},"",n.finalUrl),this.enableAccessibility&&this.#b(n);let u=d?d.finished.catch(()=>{}):null;await n.renderer.enter(r,i,u),_.emit("NAVIGATE_END",{from:this.#e,to:n,trigger:i}),this.#e=n,h===this.#o&&(this.isTransitioning=!1,this.isPopping=!1,this.#i=null),this.enablePrefetch==="visible"&&this.#l()}#w(e){let r=[...e],n=Array.from(document.querySelectorAll("script")).filter(this.reloadJsFilter);for(let i=0;i{if(!l.href)return!0;if(!r.find((h)=>h.href===l.href))return document.body.append(l),!1});for(let l=0;l{e.forEach((r)=>{r.isIntersecting&&(this.#n.unobserve(r.target),this.preload(r.target.href).catch(()=>{}))})}),document.querySelectorAll(this.#a).forEach((e)=>{let r=O(e.href);r.host===window.location.host&&!this.cache.has(r.href)&&this.#n.observe(e)}))}#d=(e)=>{if(e.defaultPrevented||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.currentTarget.hasAttribute("download"))return;let r=O(e.currentTarget.href);if(this.currentLocation=O(window.location.href),this.currentLocation.host===r.host){if(this.currentLocation.href!==r.href||this.currentLocation.hasHash&&!r.hasHash){e.preventDefault(),this.navigateTo(r.raw,e.currentTarget.dataset.transition||!1,e.currentTarget).catch(xe);return}!this.currentLocation.hasHash&&!r.hasHash&&e.preventDefault()}};#f=()=>{let e=O(window.location.href);if(e.pathname===this.currentLocation.pathname&&e.search===this.currentLocation.search&&!this.isPopping)return!1;if(!this.allowInterruption&&(this.isTransitioning||this.isPopping))return window.history.pushState({},"",this.popTarget),console.warn(Z),!1;this.isPopping||(this.popTarget=window.location.href),this.isPopping=!0,this.navigateTo(window.location.href,!1,"popstate").catch(xe)};#p=(e)=>{if(this.isTransitioning)return;let r=O(e.currentTarget.href);this.currentLocation.host===r.host&&this.preload(e.currentTarget.href,!1).catch(()=>{})};#m(e,r=!0,n=void 0){if(this.#r.has(e))return this.#r.get(e);n?.addEventListener("abort",()=>{this.#r.get(e)===i&&this.#r.delete(e)});let i=new Promise((l,h)=>{let d;fetch(e,{mode:"same-origin",method:"GET",credentials:"same-origin",...this.fetchOptions,headers:{"X-Requested-With":"Taxi",...this.fetchOptions.headers},signal:n}).then((u)=>{if(!u.ok){h(Error("Taxi encountered a non 2xx HTTP status code")),r&&(window.location.href=e);return}return d=u.url,u.text()}).then((u)=>{u!==void 0&&l({html:nt(u),url:d})}).catch((u)=>{h(u),r&&u.name!=="AbortError"&&(window.location.href=e)}).finally(()=>{this.#r.get(e)===i&&this.#r.delete(e)})});return this.#r.set(e,i),i}#E(e){if(e)return this.transitions[e]?this.transitions[e]:(console.warn(`Taxi: transition "${e}" is not registered. Falling back to default.`),this.defaultTransition);let r=this.router?.findMatch(this.currentLocation,this.targetLocation);return r?this.transitions[r]?this.transitions[r]:(console.warn(`Taxi: route transition "${r}" is not registered. Falling back to default.`),this.defaultTransition):this.defaultTransition}#v(){this.#t=document.createElement("div"),this.#t.setAttribute("data-taxi-announcer",""),this.#t.setAttribute("aria-live","assertive"),this.#t.setAttribute("aria-atomic","true"),this.#t.style.cssText="position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0",document.body.appendChild(this.#t)}#b(e){this.#t&&(this.#t.textContent=e.title||document.title);let r=e.renderer.content,n=r.querySelector("h1")||r;n.hasAttribute("tabindex")||n.setAttribute("tabindex","-1"),n.focus({preventScroll:!0})}#g(e){let r=this.cache.get(e);return this.cache.delete(e),this.cache.set(e,r),r}#c(e,r){if(this.maxCacheSize>0&&!this.cache.has(e)&&this.cache.size>=this.maxCacheSize){for(let n of this.cache.keys())if(n!==this.currentLocation?.href){this.cache.delete(n);break}}this.cache.set(e,r)}#s(e,r){let n=e.querySelector("[data-taxi-view]");if(!n)throw Error(`Taxi: the fetched page for "${r}" does not contain a [data-taxi-view] element.`);let i=n.dataset.taxiView.length?this.renderers[n.dataset.taxiView]:this.defaultRenderer;return i||console.warn(`Taxi: the renderer "${n.dataset.taxiView}" is set in [data-taxi-view] but was not registered.`),{page:e,content:n,finalUrl:r,skipCache:n.hasAttribute("data-taxi-nocache"),scripts:this.reloadJsFilter?Array.from(e.querySelectorAll("script")).filter(this.reloadJsFilter):[],styles:this.reloadCssFilter?Array.from(e.querySelectorAll('link[rel="stylesheet"], style')).filter(this.reloadCssFilter):[],title:e.title,renderer:new(i||this.defaultRenderer)({wrapper:this.wrapper,title:e.title,content:n,page:e})}}};var Pe=()=>new Promise((e)=>requestAnimationFrame(()=>e()));async function se(e){if(!(e instanceof HTMLElement))return;e.classList.remove(a.PAGE_ENTERED),await Pe(),await Pe(),e.classList.add(a.PAGE_ENTERED)}function U(e,r){try{return r()}catch(n){console.error(`❌ Boot step "${e}" failed:`,n),o(n,{source:"boot",phase:e});return}}async function Se(e){let r=S("page");e?.();let n=document.querySelector(g);if(n)await Promise.all([z(),w(n)]);else await w(document);if(!r())return;if(await L(),!r())return;C(),await se(n)}function Ce(){let e=window.Webflow;if(!e||Array.isArray(e))return;try{e.destroy(),e.ready(),e.require("ix2")?.init?.()}catch(r){console.error("[webflow] Runtime reinitialization failed",r),o(r,{source:"webflow-reset"})}}var ot=`${Math.round(performance.timeOrigin)}-`,at=0,ee=null,_e=new Map;function te(){let e=history.state,r=e&&typeof e==="object"?e.scrollEntry:void 0;if(typeof r==="string")return ee=r,r;let n=`${ot}${++at}`;return history.replaceState({...e&&typeof e==="object"?e:{},["scrollEntry"]:n},""),ee=n,n}function Ie(e){if(ee)_e.set(ee,e)}function Oe(e){return _e.get(e)}function Y(e){let r=new URL(e,window.location.origin).pathname;return r==="/"?r:r.replace(/\/+$/,"")}function st(e){if(e.startsWith("#"))return null;try{let r=new URL(e,window.location.origin);if(r.origin!==window.location.origin||r.hash)return null;return Y(r.pathname)}catch{return null}}function lt(e){if(typeof e==="string"&&e!=="popstate")return Y(e);if(e instanceof HTMLElement){let n=(e.matches("a[href]")?e:e.closest("a[href]"))?.getAttribute("href");if(n)return Y(n)}return Y(window.location.pathname)}function Me(e=window.location.pathname){let r=Y(e);document.querySelectorAll('a[aria-current="page"], a.w--current').forEach((n)=>{n.removeAttribute("aria-current"),n.classList.remove("w--current")}),document.querySelectorAll("a[href]").forEach((n)=>{let i=n.getAttribute("href");if(!i||st(i)!==r)return;n.setAttribute("aria-current","page"),n.classList.add("w--current")})}function ct(){try{t.refresh()}catch(e){console.error("[page-transitions] ScrollTrigger refresh failed",e),o(e,{source:"page-transition",phase:"refresh"})}}class re extends K{async teardownOutgoing(e){await N(),this.destroyOutgoing(e)}destroyOutgoing(e){try{I()}finally{V(e),s.removeElements(e),s.toTop()}}async buildIncoming(e,r,n=0){await new Promise((i)=>setTimeout(i,0)),s.toTop(),Me(r),await w(e),Ce(),s.addElements(e),s.resize(),await F(),await L(),C("page"),ct(),s.jumpTo(n)}resolveNavigationPath(e){return lt(e)}commitNavigation(e){requestAnimationFrame(()=>Me(e))}async onLeave({from:e,done:r}){Ie(window.scrollY);let n=document.documentElement;n.classList.add(a.TRANSITION,a.TRANSITION_OUT),n.classList.remove(a.TRANSITION_IN);try{await this.teardownOutgoing(e)}finally{n.classList.remove(a.TRANSITION_OUT),r()}}async onEnter({to:e,trigger:r,done:n}){let i=document.documentElement,l=this.resolveNavigationPath(r),h=te(),d=r==="popstate"?Oe(h):void 0;i.classList.add(a.TRANSITION,a.TRANSITION_IN);try{await this.buildIncoming(e,l,d),await se(e)}finally{i.classList.remove(a.TRANSITION,a.TRANSITION_IN),this.commitNavigation(l),n()}}}var le={links:"a:not([target]):not([href^=\\#]):not([data-taxi-ignore])",removeOldContent:!0,allowInterruption:!1,bypassCache:!1,enablePrefetch:"hover",wrapper:"[data-taxi]",reloadJsFilter:()=>!1},ie={},Ne=null;function ce(e){ie=e}var ht=re,He={};function he(e){He={...e}}function Re(){let e=document.querySelectorAll(g),r=e.item(e.length-1);if(!r)return;let n=r.matches("main")?r:r.querySelector("main")??r;x(n)}var ke=(e,r,n)=>{let i=e.getAttribute(n);if(i)r.setAttribute(n,i);else r.removeAttribute(n)};function ut(e){let r=e.to?.page;if(r?.nodeType!==Node.DOCUMENT_NODE)return;let{body:n,documentElement:i}=r;if(!n)return;ke(n,document.body,"data-theme"),ke(i,document.documentElement,"data-wf-page")}class De extends Ae{constructor(){super({...le,transitions:{...He,lifecycle:ht}});this.setDefaultTransition("lifecycle"),this.on("NAVIGATE_OUT",()=>{ie.onNavigateOut?.(this.targetLocation?.pathname)}),this.on("NAVIGATE_IN",(e)=>{let r=e.to?.page;Ne=r?.nodeType===Node.DOCUMENT_NODE?r:null,ut(e),ie.onNavigateIn?.(e)}),this.on("NAVIGATE_END",(e)=>{Ne=null,Re(),ie.onNavigateEnd?.(e)})}}var ne=null;function ue(){if(ne)return ne;if(!document.querySelector(le.wrapper)?le.wrapper:!document.querySelector(g)?g:null)return null;return ne=new De,te(),ne}var Fe=()=>{if(t.getAll().length===0)return;try{t.refresh(!0)}catch(e){console.error("[lifecycle] ScrollTrigger refresh after a failure failed",e),o(e,{source:"lifecycle",phase:"failure refresh"})}};function Ve(){return document.addEventListener(A,Fe),()=>document.removeEventListener(A,Fe)}class de{static async load(e){if(!("fonts"in document))return console.warn("Font Loading API not supported in this browser"),[];if(!e||e.length===0)return[];let r=e.map((n)=>{let l=`${n.style||"normal"} ${n.weight} 1em "${n.family}"`;return document.fonts.load(l)});try{return(await Promise.all(r)).flat()}catch(n){throw console.error("Font loading failed:",n),Error(`Font loading failed: ${n}`)}}static async loadWithTimeout(e,r=5000){let n=new Promise((i,l)=>{setTimeout(()=>{l(Error(`Font loading timeout after ${r}ms`))},r)});try{return await Promise.race([this.load(e),n])}catch{return[]}}}function $e(e=document.documentElement){e.classList.add(a.JS)}var qe=(e)=>e==="light"||e==="dark";function dt(e=document.documentElement){let r=e.getAttribute("data-theme-choice");return qe(r)?r:null}function ze(e=document.documentElement){if(dt(e))return;try{let r=localStorage.getItem("theme");if(qe(r))e.setAttribute("data-theme-choice",r)}catch{}}var Ge=null;var Ue=new Map([["skip-link",()=>(v("mjxj4a5m"),import("./chunk-mjxj4a5m.js"))],["video",()=>(v("ps95n1n9"),import("./chunk-ps95n1n9.js"))],["carousel",()=>(v("tm1k5n20"),import("./chunk-tm1k5n20.js"))],["counter",()=>(v("sh391ber"),import("./chunk-sh391ber.js"))],["odometer",()=>(v("p8xm31f4"),import("./chunk-p8xm31f4.js"))],["copy-to-clipboard",()=>(v("24jgjmcg"),import("./chunk-24jgjmcg.js"))],["modal",()=>(v("dwg89wm6"),import("./chunk-dwg89wm6.js"))],["rail",()=>(v("s8w54900"),import("./chunk-s8w54900.js"))],["split-text",()=>(v("am2st5r9"),import("./chunk-am2st5r9.js"))],["reveal-text",()=>(v("3g24zjea"),import("./chunk-3g24zjea.js"))],["fadein-text",()=>(v("k1sfhv96"),import("./chunk-k1sfhv96.js"))],["roll-text",()=>(v("0zkxq03j"),import("./chunk-0zkxq03j.js"))],["type-specimen",()=>(v("9twmkdpq"),import("./chunk-9twmkdpq.js"))],["sticky-soft",()=>(v("afjfvrs6"),import("./chunk-afjfvrs6.js"))]]);var je={};var M={modules:Ue,errorReporter:Ge,pageHooks:je};$e();P();k(M.errorReporter??null);U("theme",()=>ze());U("project",()=>M.boot?.());H(M.modules);R(s);ce(M.pageHooks??{});he(M.transitions??{});B(M.gates??{});Ve();var ft=performance.now();async function Be(){try{pt(),c.init(),U("scroll",()=>s.init()),await mt(),await Se(M.pageHooks?.onInitial),U("pages",()=>ue()?.clearCache()),U("ready",()=>M.ready?.()),gt()}catch(e){wt(e)}}async function pt(){if(T.EAGER.length===0)return;try{await de.loadWithTimeout(T.EAGER,T.OPTIONS.timeout)}catch(e){console.warn("⚠️ Font loading failed:",e)}}async function mt(){return}function gt(){let e=performance.now()-ft;document.documentElement.classList.add(a.READY),window.dispatchEvent(new CustomEvent("app:ready",{detail:{initTime:e}}))}function wt(e){console.error("❌ App initialization failed:",e),o(e,{source:"boot"}),document.documentElement.classList.add("app-error"),window.dispatchEvent(new CustomEvent("app:error",{detail:{error:e}}))}if(document.readyState==="loading")document.addEventListener("DOMContentLoaded",()=>void Be(),{once:!0});else Be();