import{t as e}from"./rolldown-runtime.D3cOTcPh.mjs";import{A as t,C as n,D as r,E as i,F as a,I as o,M as s,N as c,O as l,P as u,S as d,T as f,_ as p,a as m,b as h,c as g,d as _,f as v,g as y,h as b,i as x,j as S,k as C,l as w,m as T,o as ee,p as E,s as te,u as ne,v as D,x as re,y as O}from"./react.DZp06Dwx.mjs";import{A as ie,B as ae,C as k,D as oe,E as se,F as ce,G as A,H as j,I as le,J as ue,K as de,L as fe,M as pe,N as me,O as he,P as ge,R as M,S as N,T as _e,U as P,V as F,W as ve,_ as ye,a as be,b as I,c as xe,d as Se,f as Ce,g as we,h as Te,i as Ee,j as De,k as Oe,l as ke,m as Ae,n as je,o as Me,p as Ne,q as Pe,r as Fe,s as Ie,u as Le,v as Re,w as ze,x as Be,y as Ve,z as He}from"./motion.DVUmXK3P.mjs";function Ue(e){return typeof e==`function`}function We(e){return typeof e==`boolean`}function L(e){return typeof e==`string`}function Ge(e){return Number.isFinite(e)}function Ke(e){return Array.isArray(e)}function R(e){return typeof e==`object`&&!!e&&!Ke(e)}function qe(e){for(let t in e)return!1;return!0}function Je(e){return e===void 0}function Ye(e){return e===null}function Xe(e){return e==null}function Ze(e){return e instanceof Date&&!Number.isNaN(e.getTime())}function Qe(e){return R(e)&&Ue(e.return)}function $e(e){return R(e)&&Ue(e.then)}function et(e){return e instanceof Promise}function tt(e){return`url('data:image/svg+xml,${e.replaceAll(`#`,`%23`).replaceAll(`'`,`%27`)}')`}function nt(e,t){let n=t instanceof Error?t.stack??t.message:t;return`${e?`${e} `:``}In case the issue persists, report this to the Framer team via https://www.framer.com/contact/${n?`: ${n}`:`.`}`}function rt(){if(!kp)return;let e=document.querySelectorAll(`[rel="modulepreload"][data-framer-lazy]`);for(let t of e){let e=t.getAttribute(`data-framer-lazy`),n=t.getAttribute(`href`);if(!e||!n)continue;let r=import(n).then(t=>(Np.set(e,t),t)).catch(t=>{throw Np.delete(e),console.warn(`Failed to import lazy module: ${n}`,t),t});r.catch(Op),Np.set(e,r)}}function it(e){return typeof e==`object`&&!!e&&!v(e)&&Fp in e}function at(e,t){if(t in e)return e[t];throw Error(`Module does not contain export '${t}'`)}function ot(e,n=`default`,r){let i,a,o,s=()=>{if(a||!r||!Np.has(r))return;let e=Np.get(r);et(e)?c(()=>e):a=at(e,n)},c=e=>a?Promise.resolve(a):(i||=e().then(e=>{let t=at(e,n);return a=t,t}).catch(e=>{o=e}),i),l=!1,u=b(function(n,i){if(t(()=>{l=!0},[]),o)throw o;if(s(),r!==void 0&&Pp!==void 0&&Pp.add(r),!a)throw c(e);return g(a,{ref:i,...n})});return u.preload=()=>(s(),c(e)),u.getStatus=()=>({hasLoaded:a!==void 0,hasRendered:l}),u}function st(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ct(e){return e===null||!(Lp in e)?!1:typeof e.equals==`function`}function lt(e,t){return e===t?!0:e!==e&&t!==t}function ut(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!lt(e[r],t[r]))return!1;return!0}function dt(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!_t(e[r],t[r],!0))return!1;return!0}function ft(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!lt(r,t.get(n)))return!1;return!0}function pt(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!_t(r,t.get(n),!0))return!1;return!0}function mt(e,t){if(e.size!==t.size)return!1;for(let n of e.keys())if(!t.has(n))return!1;return!0}function ht(e,t){let n=Ip(e);if(n.length!==Ip(t).length)return!1;for(let r of n)if(!st(t,r)||!(r===`_owner`&&st(e,`$$typeof`)&&e.$$typeof)&&!lt(e[r],t[r]))return!1;return!0}function gt(e,t){let n=Ip(e);if(n.length!==Ip(t).length)return!1;for(let r of n)if(!st(t,r)||!(r===`_owner`&&st(e,`$$typeof`)&&e.$$typeof)&&!_t(e[r],t[r],!0))return!1;return!0}function _t(e,t,n){if(e===t)return!0;if(!e||!t)return e!==e&&t!==t;let r=typeof e;if(r!==typeof t||r!==`object`)return!1;let i=Array.isArray(e),a=Array.isArray(t);if(i&&a)return n?dt(e,t):ut(e,t);if(i!==a)return!1;let o=e instanceof Map,s=t instanceof Map;if(o&&s)return n?pt(e,t):ft(e,t);if(o!==s)return!1;let c=e instanceof Set,l=t instanceof Set;if(c&&l)return mt(e,t);if(c!==l)return!1;let u=e instanceof Date,d=t instanceof Date;if(u&&d)return e.getTime()===t.getTime();if(u!==d)return!1;let f=e instanceof RegExp,p=t instanceof RegExp;return f&&p?e.toString()===t.toString():f===p?ct(e)&&ct(t)?e.equals(t):n?gt(e,t):ht(e,t):!1}function vt(e,t,n=!0){try{return _t(e,t,n)}catch(e){if(e instanceof Error&&/stack|recursion/iu.exec(e.message))return console.warn(`Warning: isEqual does not handle circular references.`,e.name,e.message),!1;throw e}}function yt(e){return O.useCallback(t=>e[t],[e])}function bt({api:e,children:t}){return g(Rp.Provider,{value:e,children:t})}function xt(){return O.useContext(Rp)}function St({routes:e,children:t}){let n=yt(e),r=l(()=>({getRoute:n}),[n]);return g(Rp.Provider,{value:r,children:t})}function Ct(){let e=xt(),t=r(zp),n=t?.routeId??e.currentRouteId,i=t?.routeId?t.pathVariables:e.currentPathVariables,a=n?e.getRoute?.(n):void 0;return l(()=>{if(!(!n||!a))return{...a,id:n,pathVariables:i}},[n,i,a])}function wt(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function Tt(e){let t=[`pointerdown`,`pointerup`,`keydown`,`keyup`],n=e=>{let n=e.type;t.includes(n)&&performance.mark(`framer-navigation-input`,{detail:{type:n}})};for(let r=0;r{for(let e=0;e0?`: `+t.join(` `):``));if(n.stack)try{let e=n.stack.split(` `);e[1]?.includes(`assert`)?(e.splice(1,1),n.stack=e.join(` `)):e[0]?.includes(`assert`)&&(e.splice(0,1),n.stack=e.join(` `))}catch{}throw n}function B(e,t){throw t||Error(e?`Unexpected value: ${e}`:`Application entered invalid state`)}function Et(e){return Object(e)!==e}function Dt(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===Jp}function Ot(e){return Object.prototype.toString.call(e).slice(8,-1)}function kt(e){switch(e){case`"`:return`\\"`;case`<`:return`\\u003C`;case`\\`:return`\\\\`;case` `:return`\\n`;case`\r`:return`\\r`;case` `:return`\\t`;case`\b`:return`\\b`;case`\f`:return`\\f`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:return e<` `?`\\u${e.charCodeAt(0).toString(16).padStart(4,`0`)}`:``}}function At(e){let t=``,n=0,r=e.length;for(let i=0;iObject.getOwnPropertyDescriptor(e,t).enumerable)}function Mt(e){return Yp.test(e)?`.`+e:`[`+JSON.stringify(e)+`]`}function Nt(e){let t=new DataView(e),n=``;for(let r=0;r>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}function It(e){let t=``;for(let n=0;n>2,r[1]=(e.charCodeAt(n)&3)<<4,e.length>n+1&&(r[1]|=e.charCodeAt(n+1)>>4,r[2]=(e.charCodeAt(n+1)&15)<<2),e.length>n+2&&(r[2]|=e.charCodeAt(n+2)>>6,r[3]=e.charCodeAt(n+2)&63);for(let e=0;e0&&(l+=`,`),e in t?(a.push(`[${e}]`),l+=s(t[e]),a.pop()):l+=Qp;l+=`]`;break;case`Set`:l=`["Set"`;for(let e of t)l+=`,${s(e)}`;l+=`]`;break;case`Map`:l=`["Map"`;for(let[e,n]of t)a.push(`.get(${Et(e)?Bt(e):`...`})`),l+=`,${s(e)},${s(n)}`,a.pop();l+=`]`;break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:{let e=t;l=`["`+n+`",`+s(e.buffer);let r=t.byteOffset,i=r+t.byteLength;if(r>0||i!==e.buffer.byteLength){let e=/(\d+)/.exec(n)[1]/8;l+=`,${r/e},${i/e}`}l+=`]`;break}case`ArrayBuffer`:l=`["ArrayBuffer","${Nt(t)}"]`;break;case`Temporal.Duration`:case`Temporal.Instant`:case`Temporal.PlainDate`:case`Temporal.PlainTime`:case`Temporal.PlainDateTime`:case`Temporal.PlainMonthDay`:case`Temporal.PlainYearMonth`:case`Temporal.ZonedDateTime`:l=`["${n}",${At(t.toString())}]`;break;default:if(!Dt(t))throw new qp(`Cannot stringify arbitrary non-POJOs`,a,t,e);if(jt(t).length>0)throw new qp(`Cannot stringify POJOs with symbolic keys`,a,t,e);if(Object.getPrototypeOf(t)===null){for(let e in l=`["null"`,t)a.push(Mt(e)),l+=`,${At(e)},${s(t[e])}`,a.pop();l+=`]`}else{l=`{`;let e=!1;for(let n in t)e&&(l+=`,`),e=!0,a.push(Mt(n)),l+=`${At(n)}:${s(t[n])}`,a.pop();l+=`}`}}}return n[c]=l,c}let c=s(e);return c<0?`${c}`:`[${n.join(`,`)}]`}function Bt(e){let t=typeof e;return t===`string`?At(e):e instanceof String?At(e.toString()):e===void 0?Zp.toString():e===0&&1/e<0?nm.toString():t===`bigint`?`["BigInt","${e}"]`:String(e)}function Vt(e,t,n=`lazy`){switch(G.__framer_events?.push([e,t,n]),e){case`published_site_click`:{let{trackingId:e,href:n}=t;e&&document.dispatchEvent(new CustomEvent(`framer:click`,{detail:{trackingId:e,href:n}}));break}case`published_site_form_submit`:{let{trackingId:e}=t;e&&document.dispatchEvent(new CustomEvent(`framer:formsubmit`,{detail:{trackingId:e}}));break}case`published_site_pageview`:{let{framerLocale:e}=t;document.dispatchEvent(new CustomEvent(`framer:pageview`,{detail:{framerLocale:e}}));break}}}function Ht(){return{[im.QueryCache]:new Map,[im.CollectionUtilsCache]:new Map}}function Ut(){if(!kp)return;if(am!==void 0)return am;let e=document.getElementById(`__framer__handoverData`);if(e){try{am=Lt(e.text)??Ht()}catch(e){am=Ht(),console.warn(`Failed to parse handover data. Falling back to network.`,e)}return Mp(()=>{e?.remove(),e=null}),am}}function Wt(e,t){let n=Ut();return n?n[e].has(t):!1}function Gt(e,t){let n=Ut();if(!n)return;let r=n[e];if(!r.has(t))return;let i=r.get(t);return r.delete(t),i}function Kt(e){return e?.id??Wp}function qt(e,t,n,r){return`${e}|${t}|${n}|${r}`}function Jt(e){return t=>{if(!e)return;let n=e[t];if(!n)return;if(lm.has(n))return lm.get(n);let r=new dm(n,t);return lm.set(n,r),r}}function Yt({children:e,collectionUtils:t}){let n=l(()=>({get:Jt(t)}),[t]);return g(um.Provider,{value:n,children:e})}function Xt(){return r(um)}function Zt(){for(let e of mm)e();mm.clear()}function Qt(e){return new Promise(t=>{if(mm.add(t),document.hidden){Zt();return}document.addEventListener(`visibilitychange`,Zt),document.addEventListener(`pagehide`,Zt),Ae.read(()=>{en(e).then(()=>{mm.delete(t),!e?.signal?.aborted&&t()})})})}function $t(e){return new Promise(t=>{setTimeout(t,100),Ae.read(()=>{en(e).then(t)},!1,!0)})}function en(e){let t=e?.priority;return fm||pm?t===`background`?new Promise(e=>{setTimeout(e,1)}):fm?G.scheduler.yield(e).catch(Op):G.scheduler.postTask(()=>{},e).catch(Op):t===`user-blocking`?Promise.resolve():new Promise(e=>{setTimeout(e,t===`background`?1:0)})}function tn(e){let{continueAfter:t,ensureContinueBeforeUnload:n,...r}=e??{};return n?Qt(r):t===`paint`?$t(r):en(r)}function nn(){let e=Xt(),{autobahnNavigation:t}=Up(),{getRoute:n}=xt();return C((r,i,a=!0,o=!0)=>{if(!r||!n)return;let s=n(r),{pathVariables:c,locale:l}=i;return an(s,{routeId:r,pathVariables:c,locale:l,collectionUtils:e},a,o&&t)},[n,e,t])}function rn(e,n=!0){let r=nn();t(()=>{if(!(!n||!hm))for(let t of e)r(t,{})},[e,n,r])}async function an(e,t,n=!0,r=!0){if(!hm||!e)return;let i=e.page;if(!(!i||!it(i))){n&&await tn();try{let e=await i.preload();r&&t&&e&&await on(e,t)}catch{}}}async function on(e,t){let n=e.loader;if(!n?.load)return;let r={signal:t.signal??new AbortController().signal,pathVariables:t.pathVariables??{},routeId:t.routeId,locale:t.locale,collectionUtils:t.collectionUtils};try{await n.load({},r)}catch{}}function sn(e,t){if(!e.startsWith(`/`)||!t.startsWith(`/`))throw Error(`from/to paths are expected to be absolute`);let[n]=cn(e),[r,i]=cn(t),a=ln(n,r);return a===``&&(a=`.`),!a.startsWith(`.`)&&!a.startsWith(`/`)&&(a=`./`+a),a+`/`+i}function cn(e){let t=e.lastIndexOf(`/`);return[e.substring(0,t+1),e.substring(t+1)]}function ln(e,t){if(e===t||(e=`/`+un(e),t=`/`+un(t),e===t))return``;let n=e.length,r=n-1,i=t.length-1,a=ra){if(vm(t,1+s)===_m)return bm(t,1+s+1);if(s===0)return bm(t,1+s)}else r>a&&(vm(e,1+s)===_m?o=s:s===0&&(o=0));let c=``;for(s=1+o+1;s<=n;++s)(s===n||vm(e,s)===_m)&&(c+=c.length===0?`..`:`/..`);return`${c}${bm(t,1+o)}`}function un(e){let t=``,n=0,r=-1,i=0,a=0;for(let o=0;o<=e.length;++o){if(o2){let e=ym(t,Sm);e===-1?(t=``,n=0):(t=bm(t,0,e),n=t.length-1-ym(t,Sm)),r=o,i=0;continue}else if(t.length!==0){t=``,n=0,r=o,i=0;continue}}xm&&(t+=t.length>0?`${Sm}..`:`..`,n=2)}else t.length>0?t+=`${Sm}${bm(e,r+1,o)}`:t=bm(e,r+1,o),n=o-r-1;r=o,i=0}else a===gm&&i!==-1?++i:i=-1}return t}function dn(e,t){return e.replace(Tm,(e,n)=>{let r=t[n];return typeof r!=`string`||r.length===0?e:encodeURIComponent(r)})}function fn(e){let t=o===void 0?``:o.location.search;return t?pn(t,e):e}function pn(e,t){let n=t.indexOf(`#`),r=n===-1?t:t.substring(0,n),i=n===-1?``:t.substring(n),a=r.indexOf(`?`),o=a===-1?r:r.substring(0,a),s=a===-1?``:r.substring(a),c=new URLSearchParams(s),l=new URLSearchParams(e);for(let[e,t]of l)c.has(e)||e!==Em&&c.append(e,t);let u=c.toString();return u===``?r+i:o+`?`+u+i}async function mn(e,t,n,r,i,a,o){let s=e,c=!1,l={...a},u=Array.from(s.matchAll(Tm)),d=await Promise.all(u.map(async e=>{let s=e?.[0],u=e?.[1];if(!s||!u)throw Error(`Failed to replace path variables: unexpected regex match group`);let d=a[u];if(!d||!L(d))throw Error(`No slug found for path variable ${u}`);let f=o?.get(i);if(!f||!t)return d;let p=f.getRecordIdBySlug(d,t),m=et(p)?await p:p;if(!m)return d;let h=f.getSlugByRecordId(m,n),g=et(h)?await h:h;if(!g){c=!0;let e=f.getSlugByRecordId(m,r),t=et(e)?await e:e;return t&&(l[u]=t),t??d}return l[u]=g,g})),f=0,p=``,m=!1;for(let e=0;e{Ae.render(()=>{performance.mark(`framer-vt-remove`);let e=document.getElementById(Nm);e&&document.head.removeChild(e)})})}function An(){return!!document.startViewTransition}function jn(e){return new Promise(t=>{Ae.render(()=>{performance.mark(`framer-vt-style`),On(e),t()})})}async function Mn(e,t,n){if(!An()){e();return}if(await jn(t),n?.aborted)return;performance.mark(`framer-vt`);let r=document.startViewTransition(async()=>{performance.mark(`framer-vt-freeze`),!n?.aborted&&(n?.addEventListener(`abort`,()=>r.skipTransition()),await e())});return r.updateCallbackDone.then(()=>{performance.mark(`framer-vt-unfreeze`)}).catch(Fm),Promise.all([r.ready,r.finished]).then(()=>{performance.mark(`framer-vt-finished`),kn()}).catch(Fm),r}function Nn(){let e=vn(),n=f(void 0);return t(()=>{n.current&&=(n.current(),void 0)}),C((t,r,i,a)=>{let o=yn(t,r,e);if(o){let e=new Promise(e=>{n.current=e});return Mn(async()=>{i(),await e},o,a)}i()},[e])}function Pn(e,t){Mp(()=>{let n=document.querySelector(`link[rel='canonical']`);if(!n)return;let r=new URL(e,t);r.search=``,n.setAttribute(`href`,r.toString())})}function Fn(e,t,n,r=h){r(()=>{let t=async e=>(await tn({...n,continueAfter:`paint`}),e()),r=t(e);return()=>{(async()=>{let e=await r;e&&t(e)})()}},t)}function In(e){let t=f(void 0);return Fn(()=>{t.current&&=(t.current(),void 0)},void 0,{priority:`user-blocking`}),C(n=>{let r=new Promise(e=>{t.current=e});if(!e)return{promise:r,measureDetail:n,ignore:null};let i=`${e}-start`,a=`${e}-end`,o=!1;return performance.mark(i),r.finally(()=>{o||(performance.mark(a),performance.measure(e,{start:i,end:a,detail:n}))}).catch(e=>{console.error(e)}),{promise:r,measureDetail:n,ignore:()=>{o=!0,t.current?.(),t.current=void 0}}},[e])}async function Ln(e,t,{currentRoutePath:n,currentRoutePathLocalized:r,currentPathVariables:i,hash:a,pathVariables:o,localeId:s,preserveQueryParams:c,siteCanonicalURL:l},u=!1){let{path:d}=t;if(!d)return;let f=Wn(t,{currentRoutePath:n,currentRoutePathLocalized:r,currentPathVariables:i,hash:a,pathVariables:o,preserveQueryParams:c,siteCanonicalURL:l,localeId:s});try{return await Bn({routeId:e,hash:a,pathVariables:o,localeId:s},f,u)}catch{}}function Rn(e){return R(e)&&L(e.routeId)}function zn(e,t,n=!1){performance.mark(`framer-history-replace`),(n?o.history.__proto__.replaceState:o.history.replaceState).call(o.history,e,``,t)}async function Bn(e,t,n=!1){if(performance.mark(`framer-history-push`),Pn(t,o.location.href),!n){o.history.pushState(e,``,t);return}let r=!1,i;Rm&&(i=()=>{if(r=!0,zm)return;let e=`Popstate called after intercept(). Please report this to the Framer team.`;console.error(e),Vt(`published_site_load_recoverable_error`,{message:e})},o.addEventListener(`popstate`,i,{once:!0})),zm&&Rm?o.history.__proto__.pushState.call(o.history,e,``,t):o.history.pushState(e,``,t),Rm&&queueMicrotask(()=>{r||(Rm=!1,o.removeEventListener(`popstate`,i))})}function Vn({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){h(()=>{e||(performance.mark(`framer-history-set-initial-state`),zn({routeId:t,pathVariables:n,localeId:r},void 0,!0))},[])}function Hn(e,n){let r=Nn(),i=In(`framer-route-change`),a=f(void 0),s=C(async({state:t})=>{if(o.navigation?.transition&&o.navigation?.transition?.navigationType!==`traverse`||!R(t))return;let{routeId:s,hash:c,pathVariables:l,localeId:u}=t;if(!L(s))return;let d=i({popstate:!0}),f=Tt();d.promise.finally(f);let p=await r(e.current,s,()=>{n(s,L(u)?u:void 0,L(c)?c:void 0,o.location.pathname+o.location.search+o.location.hash,R(l)?l:void 0,!0,d,!1)}),m=o.navigation?.transition;await(p?.updateCallbackDone??Promise.resolve()).then(a.current?.resolve).catch(a.current?.reject),await d.promise;try{await m?.finished}catch(e){console.warn(`Popstate transition failed`,e)}Lm(),Pn(o.location.href)},[e,i,n,r]),c=C(e=>{e.navigationType!==`traverse`||!e.canIntercept||e.intercept({async handler(){await new Promise((e,t)=>{a.current={resolve:e,reject:t}}),a.current=void 0},scroll:`after-transition`})},[]);t(()=>(o.addEventListener(`popstate`,s),Bm&&o.navigation.addEventListener(`navigate`,c),()=>{o.removeEventListener(`popstate`,s),Bm&&o.navigation.removeEventListener(`navigate`,c)}),[s,c])}function Un(e,t,n){let r=wt(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(Tm,(e,t)=>i[t]??e)}function Wn(e,{currentRoutePath:t,currentRoutePathLocalized:n,currentPathVariables:r,hash:i,pathVariables:a,hashVariables:s,relative:c=!0,preserveQueryParams:l,onlyHash:u=!1,siteCanonicalURL:d,localeId:f}){let p=Un(i,e,s);if(u)return p??``;let m=t??`/`;n&&f&&(m=n[f]??m),r&&(m=m.replace(Tm,(e,t)=>String(r[t]||e)));let h=(f?e?.pathLocalized?.[f]:void 0)??e?.path??`/`;a&&(h=h.replace(Tm,(e,t)=>String(a[t]||e)));let g=m===h&&p;if(c)if(wm.has(m)&&o!==void 0){let e=gn(d);h=sn(o.location.pathname,e+h)}else h=sn(m,h);return(l||g)&&(h=fn(h)),p&&(h=`${h}#${p}`),h}async function Gn(e,t,n){if(!e.path||!t)return!1;let r=`${n.slug?`/${n.slug}`:``}${dn(e.path,t)}`;return(await fetch(r,{method:`HEAD`,redirect:`manual`})).type===`opaqueredirect`?(o.location.href=o.location.origin+r,!0):!1}function Kn(){let e=Xt();return C(t=>qn({...t,collectionUtils:e}),[e])}async function qn(e){let t=await hn(e);if(t){try{localStorage.preferredLocale=e.nextLocale.code}catch{}try{if(!L(t.path))throw Error(`Expected result.path to be a string`);if(t.isMissingInLocale&&await Gn(e.route,t.pathVariables,e.nextLocale))return}catch{}return t}}function Jn(){let e=f(Promise.resolve()),t=f(),n=C(n=>{if(n.navigationType===`traverse`||!n.canIntercept)return;let r=t.current;r?.signal.addEventListener(`abort`,()=>{r.abort(`user aborted`)}),n.intercept({handler:()=>e.current})},[]);return C((r,i,a)=>{if(!Bm){i();return}e.current=r,t.current=a,o.navigation.addEventListener(`navigate`,n),i(!0),r.finally(()=>{o.navigation.removeEventListener(`navigate`,n)})},[n])}function Yn(e){let t=0,n=e.length;for(;tt&&e[n-1]===`-`;)n--;return e.slice(t,n)}function Xn(e){return Yn(e.trim().toLowerCase().replace(Vm,`-`))}function Zn({children:e,value:t}){return g(Um.Provider,{value:t,children:e})}function Qn(){return r(Um)}function $n(e,n){let r=s(()=>({inputs:n,result:e()}))[0],i=f(!0),a=f(r),o=i.current||n&&a.current.inputs&&vt(n,a.current.inputs,!1)?a.current:{inputs:n,result:e()};return t(()=>{i.current=!1,a.current=o},[o]),o.result}function er(){return O.useContext(Km)}function tr({children:e}){let[n,r]=s(``),i=Qn();t(()=>{if(i===`preview`)return;y(()=>{r(o.location.search)});let e=()=>{y(()=>{r(o.location.search)})};return o.addEventListener(`popstate`,e),()=>{o.removeEventListener(`popstate`,e)}},[]);let a=C(async e=>{if(i===`preview`){y(()=>{r(t=>e(new URLSearchParams(t)).toString())});return}await tn({continueAfter:`paint`});let t=o.history.state,n=new URL(o.location.href),a=e(n.searchParams).toString();n.search=a,zn(t,n.toString()),y(()=>{r(a)})},[]),c=$n(()=>({urlSearchParams:new URLSearchParams(n),replaceSearchParams:a}),[n,a]);return g(Jm.Provider,{value:c,children:e})}function nr(){if(!Ym)return;Zm=!0,performance.mark(`framer-react-event-handling-start`);let e={capture:!0},t=document.body;Ym.forEach(n=>t.addEventListener(n,Xm,e))}function rr(){return t(()=>{if(!Zm||!Ym)return;let e={capture:!0},t=document.body;Ym.forEach(n=>t.removeEventListener(n,Xm,e)),Ym=void 0,performance.mark(`framer-react-event-handling-end`)},[]),null}function ir(e){let t=!1;return function(...n){if(!t)return t=!0,e.apply(this,n)}}function ar(e,t,n){try{performance.measure(e,t,n)}catch(t){console.warn(`Could not measure ${e}`,t)}}function or(){_h=new gh,_h.render.markStart()}function sr(){re(()=>{_h?.useInsertionEffects.markRouterStart()},[]),h(()=>{_h?.useLayoutEffects.markRouterStart()},[]),t(()=>{_h?.useEffects.markRouterStart()},[])}function cr(){re(()=>{_h?.render.markEnd(),_h?.useInsertionEffects.markStart()},[]),h(()=>{if(_h?.useLayoutEffects.markStart(),document.visibilityState!==`visible`){vh=!0;return}Ae.read(()=>{_h?.browserRendering.requestAnimationFrame.markStart(),_h?.unattributedHydrationOverhead.measure()})},[]),t(()=>{_h?.useEffects.markStart(),_h?.browserRendering.hasStarted||(_h?.mutationEffects.measure(),_h?.useEffects.markAreSynchronous())},[])}function lr(){re(()=>{_h?.useInsertionEffects.markEnd()},[]),h(()=>{_h?.useLayoutEffects.markEnd(),!(vh||document.visibilityState!==`visible`)&&Ae.read(()=>{_h?.browserRendering.requestAnimationFrame.markEnd(),tn().then(()=>{_h?.browserRendering.layoutStylePaint.markEnd()})})},[]),t(()=>{_h?.useEffects.markEnd()},[])}function ur(){return cr(),null}function dr(){return lr(),null}function fr(e,t){let n={style:t,"data-framer-root":``};return O.isValidElement(e)?O.cloneElement(e,n):g(e,{...n})}function pr(){return Sh}function mr(e){if(Ch?.lastRoutes!==e){let t={},n={},r=[],i={},a=e;for(let r in e){let i=e[r];z(i,`route must be defined`);let{path:a,pathLocalized:o}=i;if(a&&(t[a]={path:a,depth:_r(a),routeId:r},o))for(let e in o){let t=o[e];z(t,`localizedPath must be defined`);let i=_r(t),a=n[e]||={};a[t]={path:t,depth:i,routeId:r}}}for(let e in r=Object.values(t),r.sort(({depth:e},{depth:t})=>t-e),n){let t=n[e];if(!t)continue;let r=Object.values(t);r.sort(({depth:e},{depth:t})=>t-e),i[e]=r}Ch={pathRoutes:t,pathRoutesLocalized:n,paths:r,pathsLocalized:i,lastRoutes:a}}return{pathRoutes:Ch.pathRoutes,paths:Ch.paths,pathRoutesLocalized:Ch.pathRoutesLocalized,pathsLocalized:Ch.pathsLocalized}}function hr(e,t,n=!0,r=pr()){return gr(e,t,r,n)}function gr(e,t,n,r=!0){let{pathRoutes:i,paths:a,pathRoutesLocalized:o,pathsLocalized:s}=mr(e),c,l,u=!1;if(n.length>0){let e=t.split(`/`).find(Boolean);if(e&&(c=n.find(({slug:t})=>t===e),c&&(l=c.id,t=t.substring(c.slug.length+1),u=!0)),!l){let e=n.find(({slug:e})=>e===``);e&&(l=e.id)}}if(l&&u){let e=o[l],n=e?e[t]:void 0;if(n){let e=vr(t,n.path);if(e.isMatch)return{routeId:n.routeId,localeId:l,pathVariables:e.pathVariables}}}let d=i[t];if(d){let e=vr(t,d.path);if(e.isMatch)return{routeId:d.routeId,localeId:l,pathVariables:e.pathVariables}}if(l&&u){let e=s[l];if(e)for(let{path:n,routeId:r}of e){let e=vr(t,n);if(e.isMatch)return{routeId:r,localeId:l,pathVariables:e.pathVariables}}}for(let{path:e,routeId:n}of a){let r=vr(t,e);if(r.isMatch)return{routeId:n,localeId:l,pathVariables:r.pathVariables}}if(!r)throw Error(`No exact match found for path`);let f=i[`/`];if(f)return{routeId:f.routeId,localeId:l};let p=Object.keys(e)[0];if(!p)throw Error(`Router should not have undefined routes`);return{routeId:p,localeId:l}}function _r(e){let t=e.replace(/^\/|\/$/gu,``);return t===``?0:t.split(`/`).length}function vr(e,t){let n=[],r=yr(t).replace(Tm,(e,t)=>(n.push(t),`([^/]+)`)),i=RegExp(r+`$`),a=e.match(i);if(!a)return{isMatch:!1};if(a.length===1)return{isMatch:!0};let o={},s=a.slice(1);for(let e=0;ee.name===`abtests`);return t?new URLSearchParams(t.description):new URLSearchParams}return new URLSearchParams}function xr(e,t,n){let r=e[n];if(!r)return;let i=r.abTestingParentId??n;if(!e[i])return;let{abTestingParentId:a,...o}=r,s=e[i].elements||r.elements?{...e[i].elements,...r.elements}:void 0;e[i]={...o,elements:s,abTestingVariantId:n,abTestId:t}}function Sr(e,t){for(let[n,r]of t)xr(e,n,r)}function Cr(e){for(let t in e)e[t]?.abTestingParentId&&delete e[t]}function wr(e,t){if(!e[t]||!e[t].abTestingParentId)return;let n=e[t].abTestingParentId,{abTestingParentId:r,...i}=e[t],a=e[n]?.elements||i.elements?{...e[n]?.elements,...i.elements}:void 0;e[n]={...i,elements:a,abTestingVariantId:t}}function Tr(e,t){if(o===void 0)return t;let n=t;if(t){wr(e,t);let r=e[t]?.abTestingParentId;r&&(n=r)}return Sr(e,br()),Cr(e),n}function Er(e){t(()=>{if(e.robots){let t=document.querySelector(`meta[name="robots"]`);t?t.setAttribute(`content`,e.robots):(t=document.createElement(`meta`),t.setAttribute(`name`,`robots`),t.setAttribute(`content`,e.robots),document.head.appendChild(t))}},[e.robots]),re(()=>{document.title=e.title||``,e.viewport&&document.querySelector(`meta[name="viewport"]`)?.setAttribute(`content`,e.viewport)},[e.title,e.viewport])}function Dr(e,...t){wh.has(e)||(wh.add(e),console.warn(e,...t))}function Or(e,t,n){Dr(`Deprecation warning: ${e} will be removed in version ${t}${n?`, use ${n} instead`:``}.`)}function kr(e){return typeof e==`object`&&!!e&&Dh in e&&e[Dh]instanceof Function&&Oh in e&&e[Oh]instanceof Function}function Ar(e,t){return{interpolate(e,n){let r=e.get(),i=n.get(),a=Eh(r);return e=>{let n=t.interpolate(r,i)(e);return a.set(n),a}},difference(e,n){let r=e.get();return t.difference(r,n.get())}}}function jr(e,t){let n=10**Math.round(Math.abs(t));return Math.round(e*n)/n}function Mr(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function Nr(e){return Math.round(e*2)/2}function Pr(e,t){return{x:e,y:t}}function Fr(e,t,n,r=!1){let[i,a]=t,[o,s]=n,c=a-i;if(c===0)return(s+o)/2;let l=s-o;if(l===0)return o;let u=o+(e-i)/c*l;if(r===!0)if(os)return s}else{if(u>o)return o;if(u.5?e/(2-c-l):e/(c+l),c){case a:u=(o-s)/e+(o1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Kr(e,t,n){let r,i,a;if(e=Yr(e,360),t=Yr(t*100,100),n=Yr(n*100,100),t===0)r=i=a=n;else{let o=n<.5?n*(1+t):n+t-n*t,s=2*n-o;r=Gr(s,o,e+1/3),i=Gr(s,o,e),a=Gr(s,o,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function qr(e,t,n){e=Yr(e,255),t=Yr(t,255),n=Yr(n,255);let r=Math.max(e,t,n),i=Math.min(e,t,n),a=r-i,o=0,s=r===0?0:a/r,c=r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/a+(t.0031308?(Math.sign(e)||1)*(1.055*t**(1/2.4)-.055):e*12.92}function oi({r:e,g:t,b:n,a:r}){return{r:ai(e),g:ai(t),b:ai(n),a:r}}function si({r:e,g:t,b:n,a:r}){let i=Math.max(e,t,n),a=Math.min(e,t,n),o={h:0,s:i===0?0:1-a/i,v:i,a:r};return i-a!==0&&(o.h=(i===e?(t-n)/(i-a)+(t1)&&(e=1),e}function vi({children:e}){if(r(Zh).top)return g(te,{children:e});let t=f({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),n=f({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=f(new Set).current,a=f({getLayoutId:C(({id:e,name:r,duplicatedFrom:a})=>{if(!e)return null;let o=r?`byName`:`byId`,s=t.current[o][e];if(s)return s;let c=r||e;if(!a&&!i.has(c)&&(!t.current.byLayoutId[c]||t.current.byLayoutId[c]===c))return t.current.count[o][c]===void 0&&(t.current.count[o][c]=0,t.current.byLayoutId[c]=c,n.current[o][e]=c),i.add(c),c;let l;if(a?.length)for(let s=a.length-1;s>=0;s--){let c=a[s];z(!!c,`duplicatedId must be defined`);let u=t.current[o][c],d=t.current.byLastId[c];if(d&&!l){let e=t.current.byLayoutId[d],n=!e||e===r;d&&!i.has(d)&&(!r||n)&&(l=[d,c])}let f=u?t.current.byLayoutId[u]:void 0,p=!f||f===r;if(u&&!i.has(u)&&(!r||p))return n.current[o][e]=u,n.current.byLastId[c]=u,i.add(u),u}let u=t.current.byLastId[e];if(u&&!i.has(u))return i.add(u),n.current.byId[e]=u,u;if(l){let[t,r]=l;return n.current[o][e]=t,n.current.byLastId[r]=t,i.add(t),t}let d=t.current.byPossibleId[e];if(d&&!i.has(d))return i.add(d),n.current.byId[e]=d,d;let f=a?.[0],p=r||f||e,{layoutId:m,value:h}=yi(p,(t.current.count[o][p]??-1)+1,i);if(t.current.count[o][p]=h,n.current[o][e]=m,a?.length&&!r){let e=a[a.length-1];if(e&&(n.current.byLastId[e]=m),a.length>1)for(let e=0;e{t.current={byId:{...t.current.byId,...n.current.byId},byLastId:{...t.current.byLastId,...n.current.byLastId},byPossibleId:{...t.current.byPossibleId,...n.current.byPossibleId},byName:{...t.current.byName,...n.current.byName},byLastName:{...t.current.byLastName,...n.current.byLastName},byLayoutId:{...t.current.byLayoutId,...n.current.byLayoutId},count:{...t.current.count,byName:{}}},n.current={byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}},i.clear()},[]),top:!0,enabled:!0}).current;return g(Zh.Provider,{value:a,children:e})}function yi(e,t,n){let r=t,i=r?`${e}-${r}`:e;for(;n.has(i);)r++,i=`${e}-${r}`;return{layoutId:i,value:r}}function bi({enabled:e=!0,...t}){let n=r(Zh),i=l(()=>({...n,enabled:e}),[e]);return g(Zh.Provider,{...t,value:i})}function xi(e){let t=f(null);return t.current===null&&(t.current=e()),t.current}function Si(e){let{error:t,file:n}=e,r=n?`Error in ${Ci(n)}`:`Error`,i=t instanceof Error?t.message:``+t;return w(`div`,{style:$h,children:[g(`div`,{className:`text`,style:tg,children:r}),i&&g(`div`,{className:`text`,style:ng,children:i})]})}function Ci(e){return e.startsWith(`./`)?e.replace(`./`,``):e}function V(e){return Number.isFinite(e)}function wi(e){return!e||!Object.keys(e).length&&e.constructor===Object}function Ti(e){return typeof e!=`string`&&typeof e!=`number`}function Ei(e){return e!=null&&typeof e!=`boolean`&&!wi(e)}function Di(e){return e*(Math.PI/180)}function Oi(e){return Je(e)?!1:e===2||e===5}function ki(e){if(typeof e==`string`){let t=e.trim();if(t===`auto`)return 2;if(t.endsWith(`fr`))return 3;if(t.endsWith(`%`))return 1;if(t.endsWith(`vw`)||t.endsWith(`vh`))return 4}return 0}function Ai(e,t,n,r){if(typeof t==`string`){if(t.endsWith(`%`)&&n)switch(e){case`maxWidth`:case`minWidth`:return parseFloat(t)/100*n.width;case`maxHeight`:case`minHeight`:return parseFloat(t)/100*n.height;default:break}if(t.endsWith(`vh`)){if(!r)return ji(e);switch(e){case`maxWidth`:case`minWidth`:return parseFloat(t)/100*r.width;case`maxHeight`:case`minHeight`:return parseFloat(t)/100*r.height;default:break}}return parseFloat(t)}return t}function ji(e){switch(e){case`minWidth`:case`minHeight`:return-1/0;case`maxWidth`:case`maxHeight`:return 1/0;default:B(e,`unknown constraint key`)}}function Mi(e,t,n,r){return t.minHeight&&(e=Math.max(Ai(`minHeight`,t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(Ai(`maxHeight`,t.maxHeight,n,r),e)),e}function Ni(e,t,n,r){return t.minWidth&&(e=Math.max(Ai(`minWidth`,t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(Ai(`maxWidth`,t.maxWidth,n,r),e)),e}function Pi(e,t,n,r,i){let a=Ni(V(e)?e:sg,n,r,i),o=Mi(V(t)?t:cg,n,r,i);return V(n.aspectRatio)&&n.aspectRatio>0&&(V(n.left)&&V(n.right)?o=a/n.aspectRatio:V(n.top)&&V(n.bottom)||n.widthType===0?a=o*n.aspectRatio:o=a/n.aspectRatio),{width:a,height:o}}function Fi(e,t){return!V(e)||!V(t)?null:e+t}function Ii(e){return typeof e.right==`string`||typeof e.bottom==`string`||typeof e.left==`string`&&(!e.center||e.center===`y`)||typeof e.top==`string`&&(!e.center||e.center===`x`)}function Li(e){return!e._constraints||Ii(e)?!1:e._constraints.enabled}function Ri(e){let{size:t}=e,{width:n,height:r}=e;return V(t)&&(n===void 0&&(n=t),r===void 0&&(r=t)),V(n)&&V(r)?{width:n,height:r}:null}function zi(e){let t=Ri(e);if(t===null)return null;let{left:n,top:r}=e;return V(n)&&V(r)?{x:n,y:r,...t}:null}function Bi(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!Li(e)||r)return zi(e);let i=Vi(e),a=Hi(t),o=a?{sizing:a,positioning:a,viewport:null}:null;return og.toRect(i,o,null,n,null)}function Vi(e){let{left:t,right:n,top:r,bottom:i,center:a,_constraints:o,size:s}=e,{width:c,height:l}=e;c===void 0&&(c=s),l===void 0&&(l=s);let{aspectRatio:u,autoSize:d}=o,f=ag.quickfix({left:V(t),right:V(n),top:V(r),bottom:V(i),widthType:ki(c),heightType:ki(l),aspectRatio:u||null,fixedSize:d===!0}),p=null,m=null,h=0,g=0;if(f.widthType!==0&&typeof c==`string`){let e=parseFloat(c);c.endsWith(`fr`)?(h=3,p=e):c===`auto`?h=2:(h=1,p=e/100)}else c!==void 0&&typeof c!=`string`&&(p=c);if(f.heightType!==0&&typeof l==`string`){let e=parseFloat(l);l.endsWith(`fr`)?(g=3,m=e):l===`auto`?g=2:(g=1,m=parseFloat(l)/100)}else l!==void 0&&typeof l!=`string`&&(m=l);let _=.5,v=.5;return(a===!0||a===`x`)&&(f.left=!1,typeof t==`string`&&(_=parseFloat(t)/100)),(a===!0||a===`y`)&&(f.top=!1,typeof r==`string`&&(v=parseFloat(r)/100)),{left:f.left?t:null,right:f.right?n:null,top:f.top?r:null,bottom:f.bottom?i:null,widthType:h,heightType:g,width:p,height:m,aspectRatio:f.aspectRatio||null,centerAnchorX:_,centerAnchorY:v,minHeight:e.minHeight,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth}}function Hi(e){return e===0||e===1||e===2?null:e}function Ui(){return O.useContext(lg).parentSize}function Wi(e){return typeof e==`object`}function Gi(e){return Wi(e)?e.width:e}function Ki(e){return Wi(e)?e.height:e}function qi(e,t){return g(ug,{parentSize:t,children:e})}function Ji(e){return Bi(e,Ui(),!0)}function Yi({width:e,height:t}){return e===`auto`||e===`min-content`||t===`auto`||t===`min-content`}function Xi(){return a===void 0?void 0:a}function Zi(){let e=Xi();return e?fg.test(e.platform):!1}function Qi(){let e=Xi();return e?pg.test(e.platform)?!0:mg.test(e.platform)&&e.maxTouchPoints!=null&&e.maxTouchPoints>2:!1}function $i(){return Zi()||Qi()}function ea(){let e=Xi();return e?hg.test(e.userAgent):!1}function ta(){let e=Xi();return e?gg.test(e.userAgent)&&_g.test(e.vendor)&&!ea():!1}function na(){let e=Xi();return e?vg.test(e.userAgent)&&yg.test(e.vendor):!1}function ra(){let e=Xi();return e?bg.test(e.userAgent):!1}function ia(){return typeof document==`object`}function aa(){let e=Xi();return e?xg.test(e.userAgent):!1}function oa(){return!1}function sa(){let e=Xi();return e&&Sg.test(e.userAgent)?`tablet`:e&&Cg.test(e.userAgent)?`phone`:`desktop`}function ca(){return sa()===`desktop`}function la(e){return $i()?e.metaKey:e.ctrlKey}function ua(e,t,n=Tg){if(!(!e||n.has(e)||typeof document>`u`)){if(n.add(e),!t){if(!Eg){let e=document.createElement(`style`);if(e.setAttribute(`type`,`text/css`),e.setAttribute(`data-framer-css`,`true`),!document.head){console.warn(`not injecting CSS: the document is missing a element`);return}if(document.head.appendChild(e),e.sheet)Eg=e.sheet;else{console.warn(`not injecting CSS: injected