import{n as e}from"./rolldown-runtime.TCgRiZ8z.mjs";import{A as t,B as n,C as r,F as i,I as a,L as o,M as s,N as c,O as l,P as u,S as d,T as f,V as p,_ as m,a as h,b as g,c as _,d as v,f as y,g as b,i as x,j as S,k as C,l as w,m as T,o as ee,s as E,u as D,v as O,w as k,x as A,y as te,z as ne}from"./react.DUbEcGoj.mjs";import{$ as re,A as ie,B as j,C as M,D as ae,E as oe,F as se,G as ce,H as le,I as ue,J as de,L as fe,M as pe,O as me,Q as N,R as he,S as P,T as ge,U as _e,V as ve,W as F,X as ye,Y as be,Z as xe,_ as I,a as Se,b as Ce,c as we,d as Te,et as Ee,f as De,g as Oe,h as ke,i as Ae,it as je,j as Me,k as Ne,l as Pe,m as Fe,n as Ie,nt as Le,o as Re,p as ze,q as Be,r as Ve,rt as He,s as Ue,tt as L,u as We,v as Ge,w as Ke,x as qe,y as Je}from"./motion.C8uo7ZSq.mjs";function Ye(e){return typeof e==`function`}function Xe(e){return typeof e==`boolean`}function R(e){return typeof e==`string`}function z(e){return Number.isFinite(e)}function Ze(e){return Array.isArray(e)}function B(e){return typeof e==`object`&&!!e&&!Ze(e)}function Qe(e){for(let t in e)return!1;return!0}function $e(e){return e===void 0}function et(e){return e===null}function tt(e){return e==null}function nt(e){return e instanceof Date&&!Number.isNaN(e.getTime())}function rt(e){return B(e)&&Ye(e.return)}function it(e){return B(e)&&Ye(e.then)}function at(e){return e instanceof Promise}function ot(e){return`url('${st(e)}')`}function st(e){return`data:image/svg+xml,${e.replaceAll(`#`,`%23`).replaceAll(`'`,`%27`).replaceAll(`"`,`%22`)}`}function ct(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 lt(){if(!Nh)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=>(Bh.set(e,t),t)).catch(t=>{throw Bh.delete(e),console.warn(`Failed to import lazy module: ${n}`,t),t});r.catch(Mh),Bh.set(e,r)}}function ut(e){return typeof e==`object`&&!!e&&!y(e)&&Hh in e}function dt(e,t){if(t in e)return e[t];throw Error(`Module does not contain export '${t}'`)}function ft(e,t=`default`,n){let r,i,a,o=()=>{if(i||!n||!Bh.has(n))return;let e=Bh.get(n);at(e)?s(()=>e):i=dt(e,t)},s=e=>i?Promise.resolve(i):(r||=e().then(e=>{let n=dt(e,t);return i=n,n}).catch(e=>{a=e}),r),c=!1,l=m(function(t,r){if(u(()=>{c=!0},[]),a)throw a;if(o(),n!==void 0&&Vh!==void 0&&Vh.add(n),!i)throw s(e);return _(i,{ref:r,...t})});return l.preload=()=>(o(),s(e)),l.getStatus=()=>({hasLoaded:i!==void 0,hasRendered:c}),l}function pt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function mt(e){return e===null||!(Wh in e)?!1:typeof e.equals==`function`}function ht(e,t){return e===t?!0:e!==e&&t!==t}function gt(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!ht(e[r],t[r]))return!1;return!0}function _t(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!Ct(e[r],t[r],!0))return!1;return!0}function vt(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!ht(r,t.get(n)))return!1;return!0}function yt(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!Ct(r,t.get(n),!0))return!1;return!0}function bt(e,t){if(e.size!==t.size)return!1;for(let n of e.keys())if(!t.has(n))return!1;return!0}function xt(e,t){let n=Uh(e);if(n.length!==Uh(t).length)return!1;for(let r of n)if(!pt(t,r)||!(r===`_owner`&&pt(e,`$$typeof`)&&e.$$typeof)&&!ht(e[r],t[r]))return!1;return!0}function St(e,t){let n=Uh(e);if(n.length!==Uh(t).length)return!1;for(let r of n)if(!pt(t,r)||!(r===`_owner`&&pt(e,`$$typeof`)&&e.$$typeof)&&!Ct(e[r],t[r],!0))return!1;return!0}function Ct(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?_t(e,t):gt(e,t);if(i!==a)return!1;let o=e instanceof Map,s=t instanceof Map;if(o&&s)return n?yt(e,t):vt(e,t);if(o!==s)return!1;let c=e instanceof Set,l=t instanceof Set;if(c&&l)return bt(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?mt(e)&&mt(t)?e.equals(t):n?St(e,t):xt(e,t):!1}function wt(e,t,n=!0){try{return Ct(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 Tt(e){return A.useCallback(t=>e[t],[e])}function Et({api:e,children:t}){return _(Gh.Provider,{value:e,children:t})}function Dt(){return A.useContext(Gh)}function Ot({routes:e,children:t}){let n=Tt(e),r=s(()=>({getRoute:n}),[n]);return _(Gh.Provider,{value:r,children:t})}function kt(){let e=Dt(),t=S(Kh),n=t?.routeId??e.currentRouteId,r=t?.routeId?t.pathVariables:e.currentPathVariables,i=n?e.getRoute?.(n):void 0;return s(()=>{if(!(!n||!i))return{...i,id:n,pathVariables:r}},[n,r,i])}function At(){let e=kt();if(e)return`${e.id}-${JSON.stringify(e.pathVariables)}`}function jt(e){let t=kt(),n=A.useRef(t);wt(n.current,t)||!t||(n.current=t,e(t))}function Mt(e){let t=Dt();if(e)return t.getRoute?.(e)}function Nt(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function Pt(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;er?Nt(r,e):e,[e,r])}function It(){return kt()?.pathVariables}function V(e,...t){if(e)return;let n=Error(`Assertion Error`+(t.length>0?`: `+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 H(e,t){throw t instanceof Error?t:t===void 0?Error(e?`Unexpected value: ${e}`:`Application entered invalid state`):Error(String(t))}function Lt(e){return Object(e)!==e}function Rt(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===tg}function zt(e){return Object.prototype.toString.call(e).slice(8,-1)}function Bt(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 Vt(e){let t=``,n=0,r=e.length;for(let i=0;iObject.getOwnPropertyDescriptor(e,t).enumerable)}function Ut(e){return ng.test(e)?`.`+e:`[`+JSON.stringify(e)+`]`}function Wt(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t57)return!1}let t=+e;return!(t>=2**32-1||t<0)}function Gt(e){let t=Object.keys(e);for(var n=t.length-1;n>=0&&!Wt(t[n]);n--);return t.length=n+1,t}function Kt(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 Yt(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;e=t)throw Error(`Invalid input`);n[r]=a(s[e+1])}}else{let t=Array(s.length);r[e]=t;for(let e=0;e0&&(l+=`,`),Object.hasOwn(t,n))a.push(`[${n}]`),l+=s(t[n]),a.pop();else if(e)l+=ag;else{let n=Gt(t),r=n.length,i=String(t.length).length;if((t.length-r)*3>4+i+r*(i+1)){l=`[`+ug+`,`+t.length;for(let e=0;e0||i!==e.buffer.byteLength){let e=/(\d+)/.exec(n)[1]/8;l+=`,${r/e},${i/e}`}l+=`]`;break}case`ArrayBuffer`:l=`["ArrayBuffer","${Kt(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}",${Vt(t.toString())}]`;break;default:if(!Rt(t))throw new eg(`Cannot stringify arbitrary non-POJOs`,a,t,e);if(Ht(t).length>0)throw new eg(`Cannot stringify POJOs with symbolic keys`,a,t,e);if(Object.getPrototypeOf(t)===null){l=`["null"`;for(let n of Object.keys(t)){if(n===`__proto__`)throw new eg(`Cannot stringify objects with __proto__ keys`,a,t,e);a.push(Ut(n)),l+=`,${Vt(n)},${s(t[n])}`,a.pop()}l+=`]`}else{l=`{`;let n=!1;for(let r of Object.keys(t)){if(r===`__proto__`)throw new eg(`Cannot stringify objects with __proto__ keys`,a,t,e);n&&(l+=`,`),n=!0,a.push(Ut(r)),l+=`${Vt(r)}:${s(t[r])}`,a.pop()}l+=`}`}}}return n[c]=l,c}let c=s(e);return c<0?`${c}`:`[${n.join(`,`)}]`}function $t(e){let t=typeof e;return t===`string`?Vt(e):e instanceof String?Vt(e.toString()):e===void 0?ig.toString():e===0&&1/e<0?lg.toString():t===`bigint`?`["BigInt","${e}"]`:String(e)}function en(e,t,n=`lazy`){switch(q.__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}case`published_site_trigger_invoke`:{let{trackingId:e}=t;e&&document.dispatchEvent(new CustomEvent(`framer:triggerinvoke`,{detail:{trackingId:e}}));break}}}function tn(e){return R(e)&&(e===``||fg.test(e))}function nn(){return{[pg.QueryCache]:new Map,[pg.CollectionUtilsCache]:new Map}}function rn(){if(!Nh)return;if(mg!==void 0)return mg;let e=document.getElementById(`__framer__handoverData`);if(e){try{mg=Xt(e.text)??nn()}catch(e){mg=nn(),console.warn(`Failed to parse handover data. Falling back to network.`,e)}return Ih(()=>{e?.remove(),e=null}),mg}}function an(e,t){if(console.warn(ct(`Failed to resolve raw query result from DOM during hydration for: ${t}. This might make the page load slightly slower.`)),Math.random()<.01){let t=e instanceof Error&&typeof e.stack==`string`?e.stack:null;en(`published_site_load_error`,{message:String(e),stack:t})}}function on(e,t){let n=rn();return n?n[e].has(t):!1}function sn(e,t){let n=rn();if(!n)return;let r=n[e];if(!r.has(t))return;let i=r.get(t);return r.delete(t),i}function cn(e){return e?.id??Zh}function ln(e,t,n,r){return`${e}|${t}|${n}|${r}`}function un(e){return t=>{if(!e)return;let n=e[t];if(!n)return;if(vg.has(n))return vg.get(n);let r=new bg(n,t);return vg.set(n,r),r}}function dn({children:e,collectionUtils:t}){let n=s(()=>({get:un(t)}),[t]);return _(yg.Provider,{value:n,children:e})}function fn(){return S(yg)}function pn(){for(let e of Cg)e();Cg.clear()}function mn(e){return new Promise(t=>{if(Cg.add(t),document.hidden){pn();return}document.addEventListener(`visibilitychange`,pn),document.addEventListener(`pagehide`,pn),ke.read(()=>{gn(e).then(()=>{Cg.delete(t),!e?.signal?.aborted&&t()})})})}function hn(e){return new Promise(t=>{setTimeout(t,100),ke.read(()=>{gn(e).then(t)},!1,!0)})}function gn(e){let t=e?.priority;return xg||Sg?t===`background`?new Promise(e=>{setTimeout(e,1)}):xg?q.scheduler.yield(e).catch(Mh):q.scheduler.postTask(()=>{},e).catch(Mh):t===`user-blocking`?Promise.resolve():new Promise(e=>{setTimeout(e,t===`background`?1:0)})}function _n(e){let{continueAfter:t,ensureContinueBeforeUnload:n,...r}=e??{};return n?mn(r):t===`paint`?hn(r):gn(r)}function vn(){let e=fn(),{autobahnNavigation:t}=Xh(),{getRoute:n}=Dt();return c((r,i,a=!0,o=!0)=>{if(!r||!n)return;let s=n(r),{pathVariables:c,locale:l}=i;return bn(s,{routeId:r,pathVariables:c,locale:l,collectionUtils:e},a,o&&t)},[n,e,t])}function yn(e,t=!0){let n=vn();u(()=>{if(!(!t||!wg))for(let t of e)n(t,{})},[e,t,n])}async function bn(e,t,n=!0,r=!0){if(!wg||!e)return;let i=e.page;if(!(!i||!ut(i))){n&&await _n();try{let e=await i.preload();r&&t&&e&&await xn(e,t)}catch{}}}async function xn(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=wn(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 wn(e,t){if(e===t||(e=`/`+Tn(e),t=`/`+Tn(t),e===t))return``;let n=e.length,r=n-1,i=t.length-1,a=ra){if(Dg(t,1+s)===Eg)return kg(t,1+s+1);if(s===0)return kg(t,1+s)}else r>a&&(Dg(e,1+s)===Eg?o=s:s===0&&(o=0));let c=``;for(s=1+o+1;s<=n;++s)(s===n||Dg(e,s)===Eg)&&(c+=c.length===0?`..`:`/..`);return`${c}${kg(t,1+o)}`}function Tn(e){let t=``,n=0,r=-1,i=0,a=0;for(let o=0;o<=e.length;++o){if(o2){let e=Og(t,jg);e===-1?(t=``,n=0):(t=kg(t,0,e),n=t.length-1-Og(t,jg)),r=o,i=0;continue}else if(t.length!==0){t=``,n=0,r=o,i=0;continue}}Ag&&(t+=t.length>0?`${jg}..`:`..`,n=2)}else t.length>0?t+=`${jg}${kg(e,r+1,o)}`:t=kg(e,r+1,o),n=o-r-1;r=o,i=0}else a===Tg&&i!==-1?++i:i=-1}return t}function En(e,t){return e.replace(Pg,(e,n)=>{let r=t[n];return typeof r!=`string`||r.length===0?e:encodeURIComponent(r)})}function Dn(e,t=!1){let n=``;if(p!==void 0)if(t)n=p.location.search;else{let e=p.history?.state?.queryParamBackAnchorSearch;n=e===void 0?p.location.search:e===``?``:`?${e}`}return n?On(n,e):e}function On(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!==Fg&&c.append(e,t);let u=c.toString();return u===``?r+i:o+`?`+u+i}async function kn(e,t,n,r,i,a,o){let s=e,c=!1,l={...a},u=Array.from(s.matchAll(Pg)),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||!R(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=at(p)?await p:p;if(!m)return d;let h=f.getSlugByRecordId(m,n),g=at(h)?await h:h;if(!g){c=!0;let e=f.getSlugByRecordId(m,r),t=at(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{ke.render(()=>{performance.mark(`framer-vt-remove`);let e=document.getElementById(Hg);e&&document.head.removeChild(e)})})}function Gn(){return!!document.startViewTransition}function Kn(e){return new Promise(t=>{ke.render(()=>{performance.mark(`framer-vt-style`),Un(e),t()})})}async function qn(e,t,n){if(!Gn()){e();return}if(await Kn(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(Wg),Promise.all([r.ready,r.finished]).then(()=>{performance.mark(`framer-vt-finished`),Wn()}).catch(Wg),r}function Jn(){let e=Nn(),t=C(void 0);return u(()=>{t.current&&=(t.current(),void 0)}),c((n,r,i,a)=>{let o=Pn(n,r,e);if(o){let e=new Promise(e=>{t.current=e});return qn(async()=>{i(),await e},o,a)}i()},[e])}function Yn(e,t){Ih(()=>{let n=document.querySelector(`link[rel='canonical']`);if(!n)return;let r=new URL(e,t);r.search=``,n.setAttribute(`href`,r.toString())})}function Xn(e,t,n,r=d){r(()=>{let t=async e=>(await _n({...n,continueAfter:`paint`}),e()),r=t(e);return()=>{(async()=>{let e=await r;e&&t(e)})()}},t)}function Zn(e){let t=C(void 0);return Xn(()=>{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 Qn(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=ar(t,{currentRoutePath:n,currentRoutePathLocalized:r,currentPathVariables:i,hash:a,pathVariables:o,preserveQueryParams:c,siteCanonicalURL:l,localeId:s}),m=n!==void 0&&n===d,h=$n(p.history.state)?p.history.state:void 0,g=m?h?.queryParamBackAnchorSearch:void 0;try{return await tr({routeId:e,hash:a,pathVariables:o,localeId:s,queryParamBackAnchorSearch:g},f,u)}catch{}}function $n(e){return B(e)&&R(e.routeId)}function er(e,t,n=!1){performance.mark(`framer-history-replace`),t&&Yn(t,p.location.href),(n?p.history.__proto__.replaceState:p.history.replaceState).call(p.history,e,``,t)}async function tr(e,t,n=!1){if(performance.mark(`framer-history-push`),Yn(t,p.location.href),!n){p.history.pushState(e,``,t);return}let r=!1,i;qg&&(i=()=>{if(r=!0,Jg)return;let e=`Popstate called after intercept(). Please report this to the Framer team.`;console.error(e),en(`published_site_load_recoverable_error`,{message:e})},p.addEventListener(`popstate`,i,{once:!0})),Jg&&qg?p.history.__proto__.pushState.call(p.history,e,``,t):p.history.pushState(e,``,t),qg&&queueMicrotask(()=>{r||(qg=!1,p.removeEventListener(`popstate`,i))})}function nr({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){d(()=>{if(e)return;performance.mark(`framer-history-set-initial-state`);let i=B(p.history.state)?p.history.state:{},a=p.location.hash?p.location.hash.slice(1):void 0;er({...i,routeId:t,hash:a,pathVariables:n,localeId:r},void 0,!0)},[])}function rr(e,t){let n=Jn(),r=Zn(`framer-route-change`),i=C(void 0),a=c(async({state:a})=>{if(p.navigation?.transition&&p.navigation?.transition?.navigationType!==`traverse`||!B(a))return;let{routeId:o,hash:s,pathVariables:c,localeId:l}=a;if(!R(o))return;let u=r({popstate:!0}),d=Pt();u.promise.finally(d);let f=await n(e.current,o,()=>{t(o,R(l)?l:void 0,R(s)?s:void 0,p.location.pathname+p.location.search+p.location.hash,B(c)?c:void 0,!0,u,!1)}),m=p.navigation?.transition;await(f?.updateCallbackDone??Promise.resolve()).then(i.current?.resolve).catch(i.current?.reject),await u.promise;try{await m?.finished}catch(e){console.warn(`Popstate transition failed`,e)}Kg(),Yn(p.location.href)},[e,r,t,n]),o=c(e=>{e.navigationType!==`traverse`||!e.canIntercept||e.intercept({async handler(){await new Promise((e,t)=>{i.current={resolve:e,reject:t}}),i.current=void 0},scroll:`after-transition`})},[]);u(()=>(p.addEventListener(`popstate`,a),Yg&&p.navigation.addEventListener(`navigate`,o),()=>{p.removeEventListener(`popstate`,a),Yg&&p.navigation.removeEventListener(`navigate`,o)}),[a,o])}function ir(e,t,n){let r=Nt(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(Pg,(e,t)=>i[t]??e)}function ar(e,{currentRoutePath:t,currentRoutePathLocalized:n,currentPathVariables:r,hash:i,pathVariables:a,hashVariables:o,relative:s=!0,preserveQueryParams:c,onlyHash:l=!1,siteCanonicalURL:u,localeId:d}){let f=ir(i,e,o);if(l)return f??``;let m=t??`/`;n&&d&&(m=n[d]??m),r&&(m=m.replace(Pg,(e,t)=>String(r[t]||e)));let h=(d?e?.pathLocalized?.[d]:void 0)??e?.path??`/`;a&&(h=h.replace(Pg,(e,t)=>String(a[t]||e)));let g=!!(m===h&&f),_=!g&&a!==void 0&&t!==void 0&&e?.path!==void 0&&t===e.path&&m!==h;if(s)if(Ng.has(m)&&p!==void 0){let e=jn(u);h=Sn(p.location.pathname,e+h)}else h=Sn(m,h);let v=g||_;return(c||v)&&(h=Dn(h,v)),f&&(h=`${h}#${f}`),h}async function or(e,t,n){if(!e.path||!t)return!1;let r=`${n.slug?`/${n.slug}`:``}${En(e.path,t)}`;return(await fetch(r,{method:`HEAD`,redirect:`manual`})).type===`opaqueredirect`?(p.location.href=p.location.origin+r,!0):!1}function sr(){let e=fn();return c(t=>cr({...t,collectionUtils:e}),[e])}async function cr(e){let t=await An(e);if(t){try{localStorage.preferredLocale=e.nextLocale.code}catch{}try{if(!R(t.path))throw Error(`Expected result.path to be a string`);if(t.isMissingInLocale&&await or(e.route,t.pathVariables,e.nextLocale))return}catch{}return t}}function lr(){let e=C(Promise.resolve()),t=C(),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(!Yg){i();return}e.current=r,t.current=a,p.navigation.addEventListener(`navigate`,n),i(!0),r.finally(()=>{p.navigation.removeEventListener(`navigate`,n)})},[n])}function ur(e){let t=0,n=e.length;for(;tt&&e[n-1]===`-`;)n--;return e.slice(t,n)}function dr(e){return ur(e.trim().toLowerCase().replace(Xg,`-`))}function fr({children:e,value:t}){return _(Qg.Provider,{value:t,children:e})}function pr(){return S(Qg)}function mr(e,t){let n=a(()=>({inputs:t,result:e()}))[0],r=C(!0),i=C(n),o=r.current||t&&i.current.inputs&&wt(t,i.current.inputs,!1)?i.current:{inputs:t,result:e()};return u(()=>{r.current=!1,i.current=o},[o]),o.result}function hr(e,t){return mr(()=>e,t)}function gr(){return A.useContext(t_)}function _r(){return gr().activeLocale?.code??`en-US`}function vr(){return p.location.search}function yr(){return``}function br(e){return r_.add(e),p.addEventListener(`popstate`,e),()=>{r_.delete(e),p.removeEventListener(`popstate`,e)}}function xr(){for(let e of r_)e()}function Sr({children:e}){let t=pr()===`preview`,[n,r]=a(``),i=l(g(br,vr,yr));Dt();let o=t?n:i,s=c(async e=>{if(t){O(()=>{r(t=>e(new URLSearchParams(t)).toString())});return}await _n({continueAfter:`paint`});let n=p.history.state,i=new URL(p.location.href),a=e(i.searchParams).toString();i.search=a;let o=n?.queryParamBackAnchorSearch,s=p.location.search.slice(1),c=o===void 0&&a!==s,l=o!==void 0&&a===o,u={...n,queryParamBackAnchorSearch:l?void 0:o??(c?s:void 0)},d=i.toString();c||l?await tr(u,d):er(u,d),xr()},[t]),u=mr(()=>({urlSearchParams:new URLSearchParams(o),replaceSearchParams:s}),[o,s]);return _(i_.Provider,{value:u,children:e})}function Cr(e){return a_ in e&&e[a_]===1}function wr(){if(!o_)return;c_=!0,performance.mark(`framer-react-event-handling-start`);let e={capture:!0},t=document.body;o_.forEach(n=>t.addEventListener(n,s_,e))}function Tr(){return u(()=>{if(!c_||!o_)return;let e={capture:!0},t=document.body;o_.forEach(n=>t.removeEventListener(n,s_,e)),o_=void 0,performance.mark(`framer-react-event-handling-end`)},[]),null}function Er(e){let t=!1;return function(...n){if(!t)return t=!0,e.apply(this,n)}}function Dr(e,t,n){try{performance.measure(e,t,n)}catch(t){console.warn(`Could not measure ${e}`,t)}}function Or(){O_=new D_,O_.render.markStart()}function kr(){r(()=>{O_?.useInsertionEffects.markRouterStart()},[]),d(()=>{O_?.useLayoutEffects.markRouterStart()},[]),u(()=>{O_?.useEffects.markRouterStart()},[])}function Ar(){r(()=>{O_?.render.markEnd(),O_?.useInsertionEffects.markStart()},[]),d(()=>{if(O_?.useLayoutEffects.markStart(),document.visibilityState!==`visible`){k_=!0;return}ke.read(()=>{O_?.browserRendering.requestAnimationFrame.markStart(),O_?.unattributedHydrationOverhead.measure()})},[]),u(()=>{O_?.useEffects.markStart(),O_?.browserRendering.hasStarted||(O_?.mutationEffects.measure(),O_?.useEffects.markAreSynchronous())},[])}function jr(){r(()=>{O_?.useInsertionEffects.markEnd()},[]),d(()=>{O_?.useLayoutEffects.markEnd(),!(k_||document.visibilityState!==`visible`)&&ke.read(()=>{O_?.browserRendering.requestAnimationFrame.markEnd(),_n().then(()=>{O_?.browserRendering.layoutStylePaint.markEnd()})})},[]),u(()=>{O_?.useEffects.markEnd()},[])}function Mr(){return Ar(),null}function Nr(){return jr(),null}function Pr(e,t){let n={style:t,"data-framer-root":``};return A.isValidElement(e)?A.cloneElement(e,n):_(e,{...n})}function Fr(){return N_}function Ir(e){if(P_?.lastRoutes!==e){let t={},n={},r=[],i={},a=e;for(let r in e){let i=e[r];V(i,`route must be defined`);let{path:a,pathLocalized:o}=i;if(a&&(t[a]={path:a,depth:zr(a),routeId:r},o))for(let e in o){let t=o[e];V(t,`localizedPath must be defined`);let i=zr(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}P_={pathRoutes:t,pathRoutesLocalized:n,paths:r,pathsLocalized:i,lastRoutes:a}}return{pathRoutes:P_.pathRoutes,paths:P_.paths,pathRoutesLocalized:P_.pathRoutesLocalized,pathsLocalized:P_.pathsLocalized}}function Lr(e,t,n=!0,r=Fr()){return Rr(e,t,r,n)}function Rr(e,t,n,r=!0){let{pathRoutes:i,paths:a,pathRoutesLocalized:o,pathsLocalized:s}=Ir(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=Br(t,n.path);if(e.isMatch)return{routeId:n.routeId,localeId:l,pathVariables:e.pathVariables}}}let d=i[t];if(d){let e=Br(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=Br(t,n);if(e.isMatch)return{routeId:r,localeId:l,pathVariables:e.pathVariables}}}for(let{path:e,routeId:n}of a){let r=Br(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 zr(e){let t=e.replace(/^\/|\/$/gu,``);return t===``?0:t.split(`/`).length}function Br(e,t){let n=[],r=Vr(t).replace(Pg,(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 Ur(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 Wr(e,t){for(let[n,r]of t)Ur(e,n,r)}function Gr(e){for(let t in e)e[t]?.abTestingParentId&&delete e[t]}function Kr(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 qr(e,t){if(p===void 0)return t;let n=t;if(t){Kr(e,t);let r=e[t]?.abTestingParentId;r&&(n=r)}return Wr(e,Hr()),Gr(e),n}function Jr(e){u(()=>{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]),r(()=>{document.title=e.title||``,e.viewport&&document.querySelector(`meta[name="viewport"]`)?.setAttribute(`content`,e.viewport)},[e.title,e.viewport])}function Yr(e,...t){F_.has(e)||(F_.add(e),console.warn(e,...t))}function Xr(e,t,n){Yr(`Deprecation warning: ${e} will be removed in version ${t}${n?`, use ${n} instead`:``}.`)}function Zr(e){return typeof e==`object`&&!!e&&R_ in e&&e[R_]instanceof Function&&z_ in e&&e[z_]instanceof Function}function Qr(e,t){return{interpolate(e,n){let r=e.get(),i=n.get(),a=L_(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 $r(e,t){let n=10**Math.round(Math.abs(t));return Math.round(e*n)/n}function ei(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function ti(e){return Math.round(e*2)/2}function ni(e,t){return{x:e,y:t}}function ri(e){switch(e){case`linear`:return[0,0,1,1];case`ease`:return[.25,.1,.25,1];case`ease-in`:return[.42,0,1,1];case`ease-out`:return[0,0,.58,1];case`ease-in-out`:return[.42,0,.58,1]}}function ii(e){return typeof e==`function`&&e.interpolationFor&&typeof e.interpolationFor==`function`}function ai(e,t,n,r=12){let i=n;for(let n=1,a=r,o=1<=a;o?na;o?n++:n--)i-=e(i)/t(i);return i}function oi(e,t){return e*Math.sqrt(1-t**2)}function si(e){return e?typeof e.dampingRatio==`number`||typeof e.duration==`number`||typeof e.mass==`number`:!1}function ci(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 yi(e,t,n){let r,i,a;if(e=Si(e,360),t=Si(t*100,100),n=Si(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=vi(s,o,e+1/3),i=vi(s,o,e),a=vi(s,o,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function bi(e,t,n){e=Si(e,255),t=Si(t,255),n=Si(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 Ni({r:e,g:t,b:n,a:r}){return{r:Mi(e),g:Mi(t),b:Mi(n),a:r}}function Pi({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 Gi(e,t,n,r){Xr(`animate()`,`2.0.0`,`the new animation API (https://www.framer.com/api/animation/)`);let i=e,a;a=Zr(e)||_v(e)?e.get():L_.objectToValues(e);let o=new Mv(i,a,t,n,r);return o.play(),o}function Ki({children:e}){if(S(Fv).top)return _(E,{children:e});let t=C({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),n=C({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),r=C(new Set).current,i=C({getLayoutId:c(({id:e,name:i,duplicatedFrom:a})=>{if(!e)return null;let o=i?`byName`:`byId`,s=t.current[o][e];if(s)return s;let c=i||e;if(!a&&!r.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),r.add(c),c;let l;if(a?.length)for(let s=a.length-1;s>=0;s--){let c=a[s];V(!!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===i;d&&!r.has(d)&&(!i||n)&&(l=[d,c])}let f=u?t.current.byLayoutId[u]:void 0,p=!f||f===i;if(u&&!r.has(u)&&(!i||p))return n.current[o][e]=u,n.current.byLastId[c]=u,r.add(u),u}let u=t.current.byLastId[e];if(u&&!r.has(u))return r.add(u),n.current.byId[e]=u,u;if(l){let[t,i]=l;return n.current[o][e]=t,n.current.byLastId[i]=t,r.add(t),t}let d=t.current.byPossibleId[e];if(d&&!r.has(d))return r.add(d),n.current.byId[e]=d,d;let f=a?.[0],p=i||f||e,{layoutId:m,value:h}=qi(p,(t.current.count[o][p]??-1)+1,r);if(t.current.count[o][p]=h,n.current[o][e]=m,a?.length&&!i){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:{}},r.clear()},[]),top:!0,enabled:!0}).current;return _(Fv.Provider,{value:i,children:e})}function qi(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 Ji({enabled:e=!0,...t}){let n=S(Fv),r=s(()=>({...n,enabled:e}),[e]);return _(Fv.Provider,{...t,value:r})}function Yi(e){let t=C(null);return t.current===null&&(t.current=e()),t.current}function Xi(e){let{error:t,file:n}=e,r=n?`Error in ${Zi(n)}`:`Error`,i=t instanceof Error?t.message:``+t;return w(`div`,{style:Lv,children:[_(`div`,{className:`text`,style:zv,children:r}),i&&_(`div`,{className:`text`,style:Bv,children:i})]})}function Zi(e){return e.startsWith(`./`)?e.replace(`./`,``):e}function U(e){return Number.isFinite(e)}function Qi(e){return!e||!Object.keys(e).length&&e.constructor===Object}function $i(e){return typeof e!=`string`&&typeof e!=`number`}function ea(e){return e!=null&&typeof e!=`boolean`&&!Qi(e)}function ta(e){return e*(Math.PI/180)}function na(e){return $e(e)?!1:e===2||e===5}function ra(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 ia(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 aa(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 aa(e){switch(e){case`minWidth`:case`minHeight`:return-1/0;case`maxWidth`:case`maxHeight`:return 1/0;default:H(e,`unknown constraint key`)}}function oa(e,t,n,r){return t.minHeight&&(e=Math.max(ia(`minHeight`,t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(ia(`maxHeight`,t.maxHeight,n,r),e)),e}function sa(e,t,n,r){return t.minWidth&&(e=Math.max(ia(`minWidth`,t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(ia(`maxWidth`,t.maxWidth,n,r),e)),e}function ca(e,t,n,r,i){let a=sa(U(e)?e:Gv,n,r,i),o=oa(U(t)?t:Kv,n,r,i);return U(n.aspectRatio)&&n.aspectRatio>0&&(U(n.left)&&U(n.right)?o=a/n.aspectRatio:U(n.top)&&U(n.bottom)||n.widthType===0?a=o*n.aspectRatio:o=a/n.aspectRatio),{width:a,height:o}}function la(e,t){return!U(e)||!U(t)?null:e+t}function ua(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 da(e){return!e._constraints||ua(e)?!1:e._constraints.enabled}function fa(e){let{size:t}=e,{width:n,height:r}=e;return U(t)&&(n===void 0&&(n=t),r===void 0&&(r=t)),U(n)&&U(r)?{width:n,height:r}:null}function pa(e){let t=fa(e);if(t===null)return null;let{left:n,top:r}=e;return U(n)&&U(r)?{x:n,y:r,...t}:null}function ma(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!da(e)||r)return pa(e);let i=ha(e),a=ga(t),o=a?{sizing:a,positioning:a,viewport:null}:null;return Wv.toRect(i,o,null,n,null)}function ha(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=Uv.quickfix({left:U(t),right:U(n),top:U(r),bottom:U(i),widthType:ra(c),heightType:ra(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 ga(e){return e===0||e===1||e===2?null:e}function _a(){return A.useContext(qv).parentSize}function va(e){return typeof e==`object`}function ya(e){return va(e)?e.width:e}function ba(e){return va(e)?e.height:e}function xa(e,t){return _(Jv,{parentSize:t,children:e})}function Sa(e){return ma(e,_a(),!0)}function Ca({width:e,height:t}){return e===`auto`||e===`min-content`||t===`auto`||t===`min-content`}function wa(){return n===void 0?void 0:n}function Ta(){let e=wa();return e?Xv.test(e.platform):!1}function Ea(){let e=wa();return e?Zv.test(e.platform)?!0:Qv.test(e.platform)&&e.maxTouchPoints!=null&&e.maxTouchPoints>2:!1}function Da(){return Ta()||Ea()}function Oa(){let e=wa();return e?$v.test(e.userAgent):!1}function ka(){let e=wa();return e?ey.test(e.userAgent)&&ty.test(e.vendor)&&!Oa():!1}function Aa(){let e=wa();return e?ny.test(e.userAgent)&&ry.test(e.vendor):!1}function ja(){let e=wa();return e?iy.test(e.userAgent):!1}function Ma(){return typeof document==`object`}function Na(){let e=wa();return e?ay.test(e.userAgent):!1}function Pa(){return!1}function Fa(){let e=wa();return e&&oy.test(e.userAgent)?`tablet`:e&&sy.test(e.userAgent)?`phone`:`desktop`}function Ia(){return Fa()===`desktop`}function La(e){return Da()?e.metaKey:e.ctrlKey}function Ra(e,t,n=ly){if(!(!e||n.has(e)||typeof document>`u`)){if(n.add(e),!t){if(!uy){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)uy=e.sheet;else{console.warn(`not injecting CSS: injected