import{t as e}from"./rolldown-runtime.D1deASqF.mjs";import{A as t,C as n,D as r,F as i,I as a,L as o,M as s,N as c,O as l,P as u,R as d,S 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 E,p as D,s as O,u as k,v as ee,w as A,x as j,y as te}from"./react.Dn_wFJ4a.mjs";import{$ as ne,A as re,B as ie,C as ae,D as oe,E as M,F as se,H as ce,I as le,J as ue,K as de,L as fe,M as pe,N as me,O as he,Q as ge,R as N,T as _e,U as P,V as ve,W as ye,X as be,Y as xe,Z as F,_ as I,a as Se,b as Ce,c as we,d as Te,et as L,f as Ee,g as De,h as Oe,i as ke,j as Ae,k as je,l as Me,m as Ne,n as Pe,nt as Fe,o as Ie,p as Le,q as Re,r as ze,rt as Be,s as Ve,tt as He,u as Ue,v as We,w as Ge,x as Ke,y as qe,z as Je}from"./motion.DqI8frep.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(!hh)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=>(Sh.set(e,t),t)).catch(t=>{throw Sh.delete(e),console.warn(`Failed to import lazy module: ${n}`,t),t});r.catch(mh),Sh.set(e,r)}}function ut(e){return typeof e==`object`&&!!e&&!v(e)&&wh 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||!Sh.has(n))return;let e=Sh.get(n);at(e)?c(()=>e):i=dt(e,t)},c=e=>i?Promise.resolve(i):(r||=e().then(e=>{let n=dt(e,t);return i=n,n}).catch(e=>{a=e}),r),l=!1,u=b(function(t,r){if(s(()=>{l=!0},[]),a)throw a;if(o(),n!==void 0&&Ch!==void 0&&Ch.add(n),!i)throw c(e);return g(i,{ref:r,...t})});return u.preload=()=>(o(),c(e)),u.getStatus=()=>({hasLoaded:i!==void 0,hasRendered:l}),u}function pt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function mt(e){return e===null||!(Eh 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=Th(e);if(n.length!==Th(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=Th(e);if(n.length!==Th(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 h.useCallback(t=>e[t],[e])}function Et({api:e,children:t}){return g(Dh.Provider,{value:e,children:t})}function Dt(){return h.useContext(Dh)}function Ot({routes:e,children:n}){let r=Tt(e),i=t(()=>({getRoute:r}),[r]);return g(Dh.Provider,{value:i,children:n})}function kt(){let e=Dt(),n=C(Oh),r=n?.routeId??e.currentRouteId,i=n?.routeId?n.pathVariables:e.currentPathVariables,a=r?e.getRoute?.(r):void 0;return t(()=>{if(!(!r||!a))return{...a,id:r,pathVariables:i}},[r,i,a])}function At(){let e=kt();if(e)return`${e.id}-${JSON.stringify(e.pathVariables)}`}function jt(e){let t=kt(),n=h.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<t.length;r++)document.addEventListener(t[r],n,{signal:e});return()=>{for(let e=0;e<t.length;e++)document.removeEventListener(t[e],n)}}function Ft(e,t){let n=kt(),r=Mt(t)??n;return h.useMemo(()=>r?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||Error(e?`Unexpected value: ${e}`:`Application entered invalid state`)}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`)===Lh}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;i<r;i+=1){let r=e[i],a=Bt(r);a&&(t+=e.slice(n,i)+a,n=i+1)}return`"${n===0?e:t+e.slice(n)}"`}function Ht(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)}function Ut(e){return Rh.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;t<e.length;t++){let n=e.charCodeAt(t);if(n<48||n>57)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<e.byteLength;r++)n+=String.fromCharCode(t.getUint8(r));return Yt(n)}function qt(e){let t=Jt(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let e=0;e<n.byteLength;e++)r.setUint8(e,t.charCodeAt(e));return n}function Jt(e){e.length%4==0&&(e=e.replace(/==?$/,``));let t=``,n=0,r=0;for(let i=0;i<e.length;i++)n<<=6,n|=zh.indexOf(e[i]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>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<e.length;n+=3){let r=[void 0,void 0,void 0,void 0];r[0]=e.charCodeAt(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<r.length;e++)r[e]===void 0?t+=`=`:t+=zh[r[e]]}return t}function Xt(e,t){return Zt(JSON.parse(e),t)}function Zt(e,t){if(typeof e==`number`)return a(e,!0);if(!Array.isArray(e)||e.length===0)throw Error(`Invalid input`);let n=e,r=Array(n.length),i=null;function a(e,o=!1){if(e===Bh)return;if(e===Hh)return NaN;if(e===Uh)return 1/0;if(e===Wh)return-1/0;if(e===Gh)return-0;if(o||typeof e!=`number`)throw Error(`Invalid input`);if(e in r)return r[e];let s=n[e];if(!s||typeof s!=`object`)r[e]=s;else if(Array.isArray(s))if(typeof s[0]==`string`){let o=s[0],c=t&&Object.hasOwn(t,o)?t[o]:void 0;if(c){let t=s[1];if(typeof t!=`number`&&(t=n.push(s[1])-1),i??=new Set,i.has(t))throw Error(`Invalid circular reference`);return i.add(t),r[e]=c(a(t)),i.delete(t),r[e]}switch(o){case`Date`:r[e]=new Date(s[1]);break;case`Set`:let t=new Set;r[e]=t;for(let e=1;e<s.length;e+=1)t.add(a(s[e]));break;case`Map`:let i=new Map;r[e]=i;for(let e=1;e<s.length;e+=2)i.set(a(s[e]),a(s[e+1]));break;case`RegExp`:r[e]=new RegExp(s[1],s[2]);break;case`Object`:r[e]=Object(s[1]);break;case`BigInt`:r[e]=BigInt(s[1]);break;case`null`:let c=Object.create(null);r[e]=c;for(let e=1;e<s.length;e+=2)c[s[e]]=a(s[e+1]);break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:{if(n[s[1]][0]!==`ArrayBuffer`)throw Error(`Invalid data`);let t=globalThis[o],i=new t(a(s[1]));r[e]=s[2]===void 0?i:i.subarray(s[2],s[3]);break}case`ArrayBuffer`:{let t=s[1];if(typeof t!=`string`)throw Error(`Invalid ArrayBuffer encoding`);r[e]=qt(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`:{let t=o.slice(9);r[e]=Temporal[t].from(s[1]);break}case`URL`:r[e]=new URL(s[1]);break;case`URLSearchParams`:r[e]=new URLSearchParams(s[1]);break;default:throw Error(`Unknown type ${o}`)}}else if(s[0]===Kh){let t=s[1],n=Array(t);r[e]=n;for(let e=2;e<s.length;e+=2){let t=s[e];n[t]=a(s[e+1])}}else{let t=Array(s.length);r[e]=t;for(let e=0;e<s.length;e+=1){let n=s[e];n!==Vh&&(t[e]=a(n))}}else{let t={};r[e]=t;for(let e of Object.keys(s)){if(e===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");let n=s[e];t[e]=a(n)}}return r[e]}return a(0)}function Qt(e,t){let n=[],r=new Map,i=[];if(t)for(let e of Object.getOwnPropertyNames(t))i.push({key:e,fn:t[e]});let a=[],o=0;function s(t){if(t===void 0)return Bh;if(Number.isNaN(t))return Hh;if(t===1/0)return Uh;if(t===-1/0)return Wh;if(t===0&&1/t<0)return Gh;if(r.has(t))return r.get(t);let c=o++;r.set(t,c);for(let{key:e,fn:r}of i){let i=r(t);if(i)return n[c]=`["${e}",${s(i)}]`,c}if(typeof t==`function`)throw new Ih(`Cannot stringify a function`,a,t,e);let l=``;if(Lt(t))l=$t(t);else{let n=zt(t);switch(n){case`Number`:case`String`:case`Boolean`:l=`["Object",${$t(t)}]`;break;case`BigInt`:l=`["BigInt",${t}]`;break;case`Date`:l=`["Date","${isNaN(t.getDate())?``:t.toISOString()}"]`;break;case`URL`:l=`["URL",${Vt(t.toString())}]`;break;case`URLSearchParams`:l=`["URLSearchParams",${Vt(t.toString())}]`;break;case`RegExp`:let{source:r,flags:i}=t;l=i?`["RegExp",${Vt(r)},"${i}"]`:`["RegExp",${Vt(r)}]`;break;case`Array`:{let e=!1;l=`[`;for(let n=0;n<t.length;n+=1)if(n>0&&(l+=`,`),Object.hasOwn(t,n))a.push(`[${n}]`),l+=s(t[n]),a.pop();else if(e)l+=Vh;else{let n=Gt(t),r=n.length,i=String(t.length).length;if((t.length-r)*3>4+i+r*(i+1)){l=`[`+Kh+`,`+t.length;for(let e=0;e<n.length;e++){let r=n[e];a.push(`[${r}]`),l+=`,`+r+`,`+s(t[r]),a.pop()}break}else e=!0,l+=Vh}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(${Lt(e)?$t(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","${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 Ih(`Cannot stringify arbitrary non-POJOs`,a,t,e);if(Ht(t).length>0)throw new Ih(`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 Ih(`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 Ih(`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?Bh.toString():e===0&&1/e<0?Gh.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===``||Jh.test(e))}function nn(){return{[Yh.QueryCache]:new Map,[Yh.CollectionUtilsCache]:new Map}}function rn(){if(!hh)return;if(Xh!==void 0)return Xh;let e=document.getElementById(`__framer__handoverData`);if(e){try{Xh=Xt(e.text)??nn()}catch(e){Xh=nn(),console.warn(`Failed to parse handover data. Falling back to network.`,e)}return vh(()=>{e?.remove(),e=null}),Xh}}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??Nh}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(eg.has(n))return eg.get(n);let r=new ng(n,t);return eg.set(n,r),r}}function dn({children:e,collectionUtils:n}){let r=t(()=>({get:un(n)}),[n]);return g(tg.Provider,{value:r,children:e})}function fn(){return C(tg)}function pn(){for(let e of ag)e();ag.clear()}function mn(e){return new Promise(t=>{if(ag.add(t),document.hidden){pn();return}document.addEventListener(`visibilitychange`,pn),document.addEventListener(`pagehide`,pn),Oe.read(()=>{gn(e).then(()=>{ag.delete(t),!e?.signal?.aborted&&t()})})})}function hn(e){return new Promise(t=>{setTimeout(t,100),Oe.read(()=>{gn(e).then(t)},!1,!0)})}function gn(e){let t=e?.priority;return rg||ig?t===`background`?new Promise(e=>{setTimeout(e,1)}):rg?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}=Mh(),{getRoute:n}=Dt();return S((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();s(()=>{if(!(!t||!og))for(let t of e)n(t,{})},[e,t,n])}async function bn(e,t,n=!0,r=!0){if(!og||!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=r<i?r:i,o=-1,s=0;for(;s<a;s++){let n=lg(e,1+s);if(n!==lg(t,1+s))break;n===cg&&(o=s)}if(s===a)if(i>a){if(lg(t,1+s)===cg)return dg(t,1+s+1);if(s===0)return dg(t,1+s)}else r>a&&(lg(e,1+s)===cg?o=s:s===0&&(o=0));let c=``;for(s=1+o+1;s<=n;++s)(s===n||lg(e,s)===cg)&&(c+=c.length===0?`..`:`/..`);return`${c}${dg(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(o<e.length)a=lg(e,o);else if(mg(a))break;else a=cg;if(mg(a)){if(!(r===o-1||i===1))if(i===2){if(t.length<2||n!==2||lg(t,t.length-1)!==sg||lg(t,t.length-2)!==sg){if(t.length>2){let e=ug(t,pg);e===-1?(t=``,n=0):(t=dg(t,0,e),n=t.length-1-ug(t,pg)),r=o,i=0;continue}else if(t.length!==0){t=``,n=0,r=o,i=0;continue}}fg&&(t+=t.length>0?`${pg}..`:`..`,n=2)}else t.length>0?t+=`${pg}${dg(e,r+1,o)}`:t=dg(e,r+1,o),n=o-r-1;r=o,i=0}else a===sg&&i!==-1?++i:i=-1}return t}function En(e,t){return e.replace(gg,(e,n)=>{let r=t[n];return typeof r!=`string`||r.length===0?e:encodeURIComponent(r)})}function Dn(e,t=!1){let n=``;if(d!==void 0)if(t)n=d.location.search;else{let e=d.history?.state?.queryParamBackAnchorSearch;n=e===void 0?d.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!==_g&&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(gg)),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<u.length;e++){let t=u[e],n=d[e];!t||!n||(p+=s.substring(f,t.index),f=(t.index??0)+(t[0]?.length??0),p+=d[e],m=!0)}return m&&(p+=s.substring(f),s=p),{path:s,pathVariables:l,isMissingInLocale:c}}async function An({currentLocale:e,nextLocale:t,defaultLocale:n,route:r,pathVariables:i,collectionUtils:a,preserveQueryParams:o}){let{path:s,pathLocalized:c}=r,l=c?.[t.id]??s,u={path:l,pathVariables:i,isMissingInLocale:!1};if(!l)return u;if(i&&r.collectionId)try{u=await kn(l,e,t,n,r.collectionId,i,a)}catch{}return t.slug&&(u.path=`/`+t.slug+u.path),o&&u.path&&(u.path=Dn(u.path,!0)),u}function jn(e){if(!e)return``;let t;try{t=new URL(e)}catch{return``}return t.pathname===`/`||d.location.origin!==t.origin?``:t.pathname.endsWith(`/`)?t.pathname.slice(0,-1):t.pathname}function Mn({children:e,value:t}){return g(vg.Provider,{value:t,children:e})}function Nn(){return h.useContext(vg)}function Pn(e,t,{global:n,routes:r}){return r[e]?.[t]||n}function Fn(e){let t=yg,n=e.next(0),r=[n.value];for(;!n.done&&t<bg;)n=e.next(t),r.push(n.value),t+=yg;return r.length===1&&r.push(n.value),{easing:`linear(${r.join(`,`)})`,duration:t-yg}}function In(e){return[parseFloat(e),e.endsWith(`px`)?`px`:`%`]}function Ln(e){let{innerWidth:t,innerHeight:n}=d,[r,i]=In(e.x),[a,o]=In(e.y);return{x:i===`px`?r:r/100*t,y:o===`px`?a:a/100*n}}function Rn(e,t,n,r){let i=`
      opacity: ${e.opacity};
      transform: translate(${e.x}, ${e.y}) scale(${e.scale}) rotateX(${e.rotateX}deg) rotateY(${e.rotateY}deg) rotateZ(${e.rotate}deg);
    `;return e.mask&&(i+=r?.makeKeyframe?.(e.mask,t,n)||``),i}function zn(e){return e?Sg[e]:void 0}function Bn(e,{transition:t,...n}){let r=`view-transition-`+e,i={duration:`0s`,easing:`linear`};if(t.type===`tween`)i.duration=t.duration+`s`,i.easing=`cubic-bezier(${t.ease.join(`,`)})`;else if(Vn(t)){let{easing:e,duration:n}=Fn(he({keyframes:[0,1],...Hn(t),restDelta:.001,restSpeed:1e-4}));i.duration=n+`ms`,i.easing=e}let a=zn(n?.mask?.type),o=Rn(n,`start`,e,a),s=Rn({...Cg,mask:n.mask},`end`,e,a);return e===`exit`&&([o,s]=[s,o]),`
        ${n.mask&&a?.makePropertyRules?a.makePropertyRules(n.mask):``}

        @keyframes ${r} {
            0% {
                ${o}
            }

            100% {
                ${s}
            }
        }

        ::view-transition-${e===`enter`?`new`:`old`}(root) {
            animation-name: ${r};
            animation-duration: ${i.duration};
            animation-delay: ${t.delay}s;
            animation-timing-function: ${i.easing};
            animation-fill-mode: both;
            ${n.mask&&a?.makeStyles?a.makeStyles(n.mask,e):``}
        }
    `}function Vn(e){return e.type===`spring`}function Hn(e){return e.durationBasedSpring?{duration:e.duration*1e3,bounce:e.bounce}:{stiffness:e.stiffness,damping:e.damping,mass:e.mass}}function Un({exit:e=Tg,enter:t}){let n=document.createElement(`style`);n.id=wg;let r=`
        @media (prefers-reduced-motion) {
            ::view-transition-group(*),
            ::view-transition-old(*),
            ::view-transition-new(*) {
                animation: none !important;
            }
        }
    `;(e.mask||t.mask||e.opacity||t.opacity||e.transition.delay||t.transition.delay)&&(r+=`
            ::view-transition-old(*),
            ::view-transition-new(*) {
                mix-blend-mode: normal;
            }
        `),r+=`
        ::view-transition-old(*),
        ::view-transition-new(*) {
            backface-visibility: hidden;
        }
    `,r+=Bn(`exit`,e),r+=Bn(`enter`,t),n.textContent=r,document.head.appendChild(n)}function Wn(){vh(()=>{Oe.render(()=>{performance.mark(`framer-vt-remove`);let e=document.getElementById(wg);e&&document.head.removeChild(e)})})}function Gn(){return!!document.startViewTransition}function Kn(e){return new Promise(t=>{Oe.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(Eg),Promise.all([r.ready,r.finished]).then(()=>{performance.mark(`framer-vt-finished`),Wn()}).catch(Eg),r}function Jn(){let e=Nn(),t=r(void 0);return s(()=>{t.current&&=(t.current(),void 0)}),S((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){vh(()=>{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=j){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=r(void 0);return Xn(()=>{t.current&&=(t.current(),void 0)},void 0,{priority:`user-blocking`}),S(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});try{return await tr({routeId:e,hash:a,pathVariables:o,localeId:s},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,d.location.href),(n?d.history.__proto__.replaceState:d.history.replaceState).call(d.history,e,``,t)}async function tr(e,t,n=!1){if(performance.mark(`framer-history-push`),Yn(t,d.location.href),!n){d.history.pushState(e,``,t);return}let r=!1,i;kg&&(i=()=>{if(r=!0,Ag)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})},d.addEventListener(`popstate`,i,{once:!0})),Ag&&kg?d.history.__proto__.pushState.call(d.history,e,``,t):d.history.pushState(e,``,t),kg&&queueMicrotask(()=>{r||(kg=!1,d.removeEventListener(`popstate`,i))})}function nr({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){j(()=>{if(e)return;performance.mark(`framer-history-set-initial-state`);let i=B(d.history.state)?d.history.state:{},a=d.location.hash?d.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(),i=Zn(`framer-route-change`),a=r(void 0),o=S(async({state:r})=>{if(d.navigation?.transition&&d.navigation?.transition?.navigationType!==`traverse`||!B(r))return;let{routeId:o,hash:s,pathVariables:c,localeId:l}=r;if(!R(o))return;let u=i({popstate:!0}),f=Pt();u.promise.finally(f);let p=await n(e.current,o,()=>{t(o,R(l)?l:void 0,R(s)?s:void 0,d.location.pathname+d.location.search+d.location.hash,B(c)?c:void 0,!0,u,!1)}),m=d.navigation?.transition;await(p?.updateCallbackDone??Promise.resolve()).then(a.current?.resolve).catch(a.current?.reject),await u.promise;try{await m?.finished}catch(e){console.warn(`Popstate transition failed`,e)}Og(),Yn(d.location.href)},[e,i,t,n]),c=S(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`})},[]);s(()=>(d.addEventListener(`popstate`,o),jg&&d.navigation.addEventListener(`navigate`,c),()=>{d.removeEventListener(`popstate`,o),jg&&d.navigation.removeEventListener(`navigate`,c)}),[o,c])}function ir(e,t,n){let r=Nt(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(gg,(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:f}){let p=ir(i,e,o);if(l)return p??``;let m=t??`/`;n&&f&&(m=n[f]??m),r&&(m=m.replace(gg,(e,t)=>String(r[t]||e)));let h=(f?e?.pathLocalized?.[f]:void 0)??e?.path??`/`;a&&(h=h.replace(gg,(e,t)=>String(a[t]||e)));let g=!!(m===h&&p);if(s)if(hg.has(m)&&d!==void 0){let e=jn(u);h=Sn(d.location.pathname,e+h)}else h=Sn(m,h);return(c||g)&&(h=Dn(h,g)),p&&(h=`${h}#${p}`),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`?(d.location.href=d.location.origin+r,!0):!1}function sr(){let e=fn();return S(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(e,t){try{let n=d.history.state;if(!$n(n))return;let r=n?.paginationInfo===void 0||n.paginationInfo[e]===void 0,i={...n.paginationInfo,[e]:t};er({...n,paginationInfo:i},void 0,r)}catch{}}function ur(){let e=r(Promise.resolve()),t=r(),n=S(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 S((r,i,a)=>{if(!jg){i();return}e.current=r,t.current=a,d.navigation.addEventListener(`navigate`,n),i(!0),r.finally(()=>{d.navigation.removeEventListener(`navigate`,n)})},[n])}function dr(e){let t=0,n=e.length;for(;t<n&&e[t]===`-`;)t++;for(;n>t&&e[n-1]===`-`;)n--;return e.slice(t,n)}function fr(e){return dr(e.trim().toLowerCase().replace(Mg,`-`))}function pr({children:e,value:t}){return g(Pg.Provider,{value:t,children:e})}function mr(){return C(Pg)}function hr(e,t){let n=u(()=>({inputs:t,result:e()}))[0],i=r(!0),a=r(n),o=i.current||t&&a.current.inputs&&wt(t,a.current.inputs,!1)?a.current:{inputs:t,result:e()};return s(()=>{i.current=!1,a.current=o},[o]),o.result}function gr(e,t){return hr(()=>e,t)}function _r(){return h.useContext(Lg)}function vr(){return _r().activeLocale?.code??`en-US`}function yr({children:e}){let[t,n]=u(``),r=mr();s(()=>{if(r===`preview`)return;y(()=>{n(d.location.search)});let e=()=>{y(()=>{n(d.location.search)})};return d.addEventListener(`popstate`,e),()=>{d.removeEventListener(`popstate`,e)}},[]);let i=S(async e=>{if(r===`preview`){y(()=>{n(t=>e(new URLSearchParams(t)).toString())});return}await _n({continueAfter:`paint`});let t=d.history.state,i=new URL(d.location.href),a=e(i.searchParams).toString();i.search=a;let o=t?.queryParamBackAnchorSearch,s=d.location.search.slice(1),c=o===void 0&&a!==s,l=o!==void 0&&a===o,u={...t,queryParamBackAnchorSearch:l?void 0:o??(c?s:void 0)},f=i.toString();c||l?await tr(u,f):er(u,f),y(()=>{n(a)})},[]),a=hr(()=>({urlSearchParams:new URLSearchParams(t),replaceSearchParams:i}),[t,i]);return g(zg.Provider,{value:a,children:e})}function br(e){return Bg in e&&e[Bg]===1}function xr(){if(!Vg)return;Ug=!0,performance.mark(`framer-react-event-handling-start`);let e={capture:!0},t=document.body;Vg.forEach(n=>t.addEventListener(n,Hg,e))}function Sr(){return s(()=>{if(!Ug||!Vg)return;let e={capture:!0},t=document.body;Vg.forEach(n=>t.removeEventListener(n,Hg,e)),Vg=void 0,performance.mark(`framer-react-event-handling-end`)},[]),null}function Cr(e){let t=!1;return function(...n){if(!t)return t=!0,e.apply(this,n)}}function wr(e,t,n){try{performance.measure(e,t,n)}catch(t){console.warn(`Could not measure ${e}`,t)}}function Tr(){l_=new c_,l_.render.markStart()}function Er(){f(()=>{l_?.useInsertionEffects.markRouterStart()},[]),j(()=>{l_?.useLayoutEffects.markRouterStart()},[]),s(()=>{l_?.useEffects.markRouterStart()},[])}function Dr(){f(()=>{l_?.render.markEnd(),l_?.useInsertionEffects.markStart()},[]),j(()=>{if(l_?.useLayoutEffects.markStart(),document.visibilityState!==`visible`){u_=!0;return}Oe.read(()=>{l_?.browserRendering.requestAnimationFrame.markStart(),l_?.unattributedHydrationOverhead.measure()})},[]),s(()=>{l_?.useEffects.markStart(),l_?.browserRendering.hasStarted||(l_?.mutationEffects.measure(),l_?.useEffects.markAreSynchronous())},[])}function Or(){f(()=>{l_?.useInsertionEffects.markEnd()},[]),j(()=>{l_?.useLayoutEffects.markEnd(),!(u_||document.visibilityState!==`visible`)&&Oe.read(()=>{l_?.browserRendering.requestAnimationFrame.markEnd(),_n().then(()=>{l_?.browserRendering.layoutStylePaint.markEnd()})})},[]),s(()=>{l_?.useEffects.markEnd()},[])}function kr(){return Dr(),null}function Ar(){return Or(),null}function jr(e,t){let n={style:t,"data-framer-root":``};return h.isValidElement(e)?h.cloneElement(e,n):g(e,{...n})}function Mr(){return m_}function Nr(e){if(h_?.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:Ir(a),routeId:r},o))for(let e in o){let t=o[e];V(t,`localizedPath must be defined`);let i=Ir(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}h_={pathRoutes:t,pathRoutesLocalized:n,paths:r,pathsLocalized:i,lastRoutes:a}}return{pathRoutes:h_.pathRoutes,paths:h_.paths,pathRoutesLocalized:h_.pathRoutesLocalized,pathsLocalized:h_.pathsLocalized}}function Pr(e,t,n=!0,r=Mr()){return Fr(e,t,r,n)}function Fr(e,t,n,r=!0){let{pathRoutes:i,paths:a,pathRoutesLocalized:o,pathsLocalized:s}=Nr(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=Lr(t,n.path);if(e.isMatch)return{routeId:n.routeId,localeId:l,pathVariables:e.pathVariables}}}let d=i[t];if(d){let e=Lr(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=Lr(t,n);if(e.isMatch)return{routeId:r,localeId:l,pathVariables:e.pathVariables}}}for(let{path:e,routeId:n}of a){let r=Lr(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 Ir(e){let t=e.replace(/^\/|\/$/gu,``);return t===``?0:t.split(`/`).length}function Lr(e,t){let n=[],r=Rr(t).replace(gg,(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;e<n.length;++e){let t=n[e];if(t===void 0)continue;let r=s[e],i=o[t];if(i){if(i!==r)return{isMatch:!1};continue}if(r===void 0)throw Error(`Path variable values cannot be undefined`);o[t]=r}return{isMatch:!0,pathVariables:o}}function Rr(e){return e.replace(/[|\\{}()[\]^$+*?.]/gu,`\\$&`).replace(/-/gu,`\\x2d`)}function zr(){if(`PerformanceServerTiming`in d){let e=performance.getEntriesByType(`navigation`)[0]?.serverTiming;if(!e||e.length===0)return new URLSearchParams;let t=e.find(e=>e.name===`abtests`);return t?new URLSearchParams(t.description):new URLSearchParams}return new URLSearchParams}function Br(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 Vr(e,t){for(let[n,r]of t)Br(e,n,r)}function Hr(e){for(let t in e)e[t]?.abTestingParentId&&delete e[t]}function Ur(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 Wr(e,t){if(d===void 0)return t;let n=t;if(t){Ur(e,t);let r=e[t]?.abTestingParentId;r&&(n=r)}return Vr(e,zr()),Hr(e),n}function Gr(e){s(()=>{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]),f(()=>{document.title=e.title||``,e.viewport&&document.querySelector(`meta[name="viewport"]`)?.setAttribute(`content`,e.viewport)},[e.title,e.viewport])}function Kr(e,...t){g_.has(e)||(g_.add(e),console.warn(e,...t))}function qr(e,t,n){Kr(`Deprecation warning: ${e} will be removed in version ${t}${n?`, use ${n} instead`:``}.`)}function Jr(e){return typeof e==`object`&&!!e&&y_ in e&&e[y_]instanceof Function&&b_ in e&&e[b_]instanceof Function}function Yr(e,t){return{interpolate(e,n){let r=e.get(),i=n.get(),a=v_(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 Xr(e,t){let n=10**Math.round(Math.abs(t));return Math.round(e*n)/n}function Zr(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function Qr(e){return Math.round(e*2)/2}function $r(e,t){return{x:e,y:t}}function ei(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(o<s){if(u<o)return o;if(u>s)return s}else{if(u>o)return o;if(u<s)return s}return u}function ti(e){return!Number.isNaN(e)&&Number.isFinite(e)}function ni(e){let t=ri(e);return t===void 0?0:e.includes(`%`)?t/100:t}function ri(e){let t=/\d?\.?\d+/u.exec(e);return t?Number(t[0]):void 0}function ii(e,t,n){return C_.rgb_r=e/255,C_.rgb_g=t/255,C_.rgb_b=n/255,C_.rgbToHsluv(),{h:C_.hsluv_h,s:C_.hsluv_s,l:C_.hsluv_l}}function ai(e,t,n,r=1){return C_.hsluv_h=e,C_.hsluv_s=t,C_.hsluv_l=n,C_.hsluvToRgb(),{r:C_.rgb_r*255,g:C_.rgb_g*255,b:C_.rgb_b*255,a:r}}function oi(e,t,n,r){let i=Math.round(e),a=Math.round(t*100),o=Math.round(n*100);return r===void 0||r===1?`hsv(`+i+`, `+a+`%, `+o+`%)`:`hsva(`+i+`, `+a+`%, `+o+`%, `+r+`)`}function si(e,t,n){return{r:ti(e)?mi(e,255)*255:0,g:ti(t)?mi(t,255)*255:0,b:ti(n)?mi(n,255)*255:0}}function ci(e,t,n,r){let i=[_i(Math.round(e).toString(16)),_i(Math.round(t).toString(16)),_i(Math.round(n).toString(16))];return r&&i[0].charAt(0)===i[0].charAt(1)&&i[1].charAt(0)===i[1].charAt(1)&&i[2].charAt(0)===i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join(``)}function li(e,t,n){let r,i,a=mi(e,255),o=mi(t,255),s=mi(n,255),c=Math.max(a,o,s),l=Math.min(a,o,s),u=i=r=(c+l)/2;if(c===l)u=i=0;else{let e=c-l;switch(i=r>.5?e/(2-c-l):e/(c+l),c){case a:u=(o-s)/e+(o<s?6:0);break;case o:u=(s-a)/e+2;break;case s:u=(a-o)/e+4;break}u/=6}return{h:u*360,s:i,l:r}}function ui(e,t,n){return n<0&&(n+=1),n>1&&--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 di(e,t,n){let r,i,a;if(e=mi(e,360),t=mi(t*100,100),n=mi(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=ui(s,o,e+1/3),i=ui(s,o,e),a=ui(s,o,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function fi(e,t,n){e=mi(e,255),t=mi(t,255),n=mi(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<n?6:0);break;case t:o=(n-e)/a+2;break;case n:o=(e-t)/a+4;break}o/=6}return{h:o,s,v:c}}function pi(e,t,n){e=mi(e,360)*6,t=mi(t*100,100),n=mi(n*100,100);let r=Math.floor(e),i=e-r,a=n*(1-t),o=n*(1-i*t),s=n*(1-(1-i)*t),c=r%6,l=[n,o,a,a,s,n][c],u=[s,n,n,o,a,a][c],d=[a,a,s,n,n,o][c];return{r:l*255,g:u*255,b:d*255}}function mi(e,t){let n,r;if(n=typeof t==`string`?parseFloat(t):t,typeof e==`string`){hi(e)&&(e=`100%`);let t=gi(e);r=Math.min(n,Math.max(0,parseFloat(e))),t&&(r=Math.floor(r*n)/100)}else r=e;return Math.abs(r-n)<1e-6?1:r%n/n}function hi(e){return typeof e==`string`&&e.includes(`.`)&&parseFloat(e)===1}function gi(e){return typeof e==`string`&&e.includes(`%`)}function _i(e){return e.length===1?`0`+e:``+e}function vi(e){if(e.includes(`gradient(`)||e.includes(`var(`))return!1;let t=e.replace(/^[\s,#]+/u,``).trimEnd().toLowerCase(),n=S_[t];if(n&&(t=n),t===`transparent`)return{r:0,g:0,b:0,a:0,format:`name`};let r;return(r=w_.rgb.exec(t))?{r:parseInt(r[1]??``),g:parseInt(r[2]??``),b:parseInt(r[3]??``),a:1,format:`rgb`}:(r=w_.rgba.exec(t))?{r:parseInt(r[1]??``),g:parseInt(r[2]??``),b:parseInt(r[3]??``),a:parseFloat(r[4]??``),format:`rgb`}:(r=w_.hsl.exec(t))?{h:parseInt(r[1]??``),s:ni(r[2]??``),l:ni(r[3]??``),a:1,format:`hsl`}:(r=w_.hsla.exec(t))?{h:parseInt(r[1]??``),s:ni(r[2]??``),l:ni(r[3]??``),a:parseFloat(r[4]??``),format:`hsl`}:(r=w_.hsv.exec(t))?{h:parseInt(r[1]??``),s:ni(r[2]??``),v:ni(r[3]??``),a:1,format:`hsv`}:(r=w_.hsva.exec(t))?{h:parseInt(r[1]??``),s:ni(r[2]??``),v:ni(r[3]??``),a:parseFloat(r[4]??``),format:`hsv`}:(r=w_.hex8.exec(t))?{r:yi(r[1]??``),g:yi(r[2]??``),b:yi(r[3]??``),a:bi(r[4]??``),format:n?`name`:`hex`}:(r=w_.hex6.exec(t))?{r:yi(r[1]??``),g:yi(r[2]??``),b:yi(r[3]??``),a:1,format:n?`name`:`hex`}:(r=w_.hex4.exec(t))?{r:yi(`${r[1]}${r[1]}`),g:yi(`${r[2]}${r[2]}`),b:yi(`${r[3]}${r[3]}`),a:bi(r[4]+``+r[4]),format:n?`name`:`hex`}:(r=w_.hex3.exec(t))?{r:yi(`${r[1]}${r[1]}`),g:yi(`${r[2]}${r[2]}`),b:yi(`${r[3]}${r[3]}`),a:1,format:n?`name`:`hex`}:!1}function yi(e){return parseInt(e,16)}function bi(e){return yi(e)/255}function xi(e){let t=T_.exec(e);if(!t)return null;let{r:n=`0`,g:r=`0`,b:i=`0`,a}=t.groups??{};return{r:parseFloat(n),g:parseFloat(r),b:parseFloat(i),a:a?parseFloat(a):1}}function Si(e=0){let t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*((t+.055)/1.055)**2.4}function Ci({r:e,g:t,b:n,a:r}){return{r:Si(e),g:Si(t),b:Si(n),a:r}}function wi(e=0){let t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*t**(1/2.4)-.055):e*12.92}function Ti({r:e,g:t,b:n,a:r}){return{r:wi(e),g:wi(t),b:wi(n),a:r}}function Ei({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)+(t<n?6:0):i===t?(n-e)/(i-a)+2:(e-t)/(i-a)+4)*60),o}function Di(e){return(e%=360)<0?e+360:e}function Oi({h:e=0,s:t=0,v:n=0,a:r=1}){let i=Di(e),a=Math.abs(i/60%2-1);switch(Math.floor(i/60)){case 0:return{r:n,g:n*(1-t*a),b:n*(1-t),a:r};case 1:return{r:n*(1-t*a),g:n,b:n*(1-t),a:r};case 2:return{r:n*(1-t),g:n,b:n*(1-t*a),a:r};case 3:return{r:n*(1-t),g:n*(1-t*a),b:n,a:r};case 4:return{r:n*(1-t*a),g:n*(1-t),b:n,a:r};case 5:return{r:n,g:n*(1-t),b:n*(1-t*a),a:r};default:return{r:n*(1-t),g:n*(1-t),b:n*(1-t),a:r}}}function ki(e){return k_(O_(e))}function Ai(e){return D_(E_(e))}function ji(e,t,n,r=1){let i;return typeof e==`number`&&!Number.isNaN(e)&&typeof t==`number`&&!Number.isNaN(t)&&typeof n==`number`&&!Number.isNaN(n)?i=Pi({r:e,g:t,b:n,a:r}):typeof e==`string`?i=Mi(e):typeof e==`object`&&(i=e.hasOwnProperty(`r`)&&e.hasOwnProperty(`g`)&&e.hasOwnProperty(`b`)?Pi(e):Fi(e)),i}function Mi(e){let t=vi(e);if(t)return t.format===`hsl`?Fi(t):t.format===`hsv`?Ni(t):Pi(t)}function Ni(e){let t=pi(e.h,e.s,e.v);return{...li(t.r,t.g,t.b),...t,format:`rgb`,a:e.a===void 0?1:Ii(e.a)}}function Pi(e){let t=si(e.r,e.g,e.b);return{...li(t.r,t.g,t.b),...t,format:`rgb`,a:e.a===void 0?1:Ii(e.a)}}function Fi(e){let t,n,r,i={r:0,g:0,b:0},a={h:0,s:0,l:0};return t=ti(e.h)?e.h:0,t=(t+360)%360,n=ti(e.s)?e.s:1,typeof e.s==`string`&&(n=ri(e.s)),r=ti(e.l)?e.l:.5,typeof e.l==`string`&&(r=ri(e.l)),i=di(t,n,r),a={h:t,s:n,l:r},{...i,...a,a:e.a===void 0?1:e.a,format:`hsl`}}function Ii(e){return e=parseFloat(e),e<0&&(e=0),(Number.isNaN(e)||e>1)&&(e=1),e}function Li({children:e}){if(C(U_).top)return g(O,{children:e});let t=r({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),n=r({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=r(new Set).current,a=r({getLayoutId:S(({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];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===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}=Ri(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<a.length-1;e++){let t=a[e];t!==void 0&&(n.current.byPossibleId[t]||(n.current.byPossibleId[t]=m))}}return n.current.byLayoutId[m]=c,i.add(m),m},[]),persistLayoutIdCache:S(()=>{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(U_.Provider,{value:a,children:e})}function Ri(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 zi({enabled:e=!0,...n}){let r=C(U_),i=t(()=>({...r,enabled:e}),[e]);return g(U_.Provider,{...n,value:i})}function Bi(e){let t=r(null);return t.current===null&&(t.current=e()),t.current}function Vi(e){let{error:t,file:n}=e,r=n?`Error in ${Hi(n)}`:`Error`,i=t instanceof Error?t.message:``+t;return w(`div`,{style:G_,children:[g(`div`,{className:`text`,style:q_,children:r}),i&&g(`div`,{className:`text`,style:J_,children:i})]})}function Hi(e){return e.startsWith(`./`)?e.replace(`./`,``):e}function U(e){return Number.isFinite(e)}function Ui(e){return!e||!Object.keys(e).length&&e.constructor===Object}function Wi(e){return typeof e!=`string`&&typeof e!=`number`}function Gi(e){return e!=null&&typeof e!=`boolean`&&!Ui(e)}function Ki(e){return e*(Math.PI/180)}function qi(e){return $e(e)?!1:e===2||e===5}function Ji(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 Yi(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 Xi(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 Xi(e){switch(e){case`minWidth`:case`minHeight`:return-1/0;case`maxWidth`:case`maxHeight`:return 1/0;default:H(e,`unknown constraint key`)}}function Zi(e,t,n,r){return t.minHeight&&(e=Math.max(Yi(`minHeight`,t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(Yi(`maxHeight`,t.maxHeight,n,r),e)),e}function Qi(e,t,n,r){return t.minWidth&&(e=Math.max(Yi(`minWidth`,t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(Yi(`maxWidth`,t.maxWidth,n,r),e)),e}function $i(e,t,n,r,i){let a=Qi(U(e)?e:$_,n,r,i),o=Zi(U(t)?t:ev,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 ea(e,t){return!U(e)||!U(t)?null:e+t}function ta(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 na(e){return!e._constraints||ta(e)?!1:e._constraints.enabled}function ra(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 ia(e){let t=ra(e);if(t===null)return null;let{left:n,top:r}=e;return U(n)&&U(r)?{x:n,y:r,...t}:null}function aa(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!na(e)||r)return ia(e);let i=oa(e),a=sa(t),o=a?{sizing:a,positioning:a,viewport:null}:null;return Q_.toRect(i,o,null,n,null)}function oa(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=Z_.quickfix({left:U(t),right:U(n),top:U(r),bottom:U(i),widthType:Ji(c),heightType:Ji(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 sa(e){return e===0||e===1||e===2?null:e}function ca(){return h.useContext(tv).parentSize}function la(e){return typeof e==`object`}function ua(e){return la(e)?e.width:e}function da(e){return la(e)?e.height:e}function fa(e,t){return g(nv,{parentSize:t,children:e})}function pa(e){return aa(e,ca(),!0)}function ma({width:e,height:t}){return e===`auto`||e===`min-content`||t===`auto`||t===`min-content`}function ha(){return o===void 0?void 0:o}function ga(){let e=ha();return e?iv.test(e.platform):!1}function _a(){let e=ha();return e?av.test(e.platform)?!0:ov.test(e.platform)&&e.maxTouchPoints!=null&&e.maxTouchPoints>2:!1}function va(){return ga()||_a()}function ya(){let e=ha();return e?sv.test(e.userAgent):!1}function ba(){let e=ha();return e?cv.test(e.userAgent)&&lv.test(e.vendor)&&!ya():!1}function xa(){let e=ha();return e?uv.test(e.userAgent)&&dv.test(e.vendor):!1}function Sa(){let e=ha();return e?fv.test(e.userAgent):!1}function Ca(){return typeof document==`object`}function wa(){let e=ha();return e?pv.test(e.userAgent):!1}function Ta(){return!1}function Ea(){let e=ha();return e&&mv.test(e.userAgent)?`tablet`:e&&hv.test(e.userAgent)?`phone`:`desktop`}function Da(){return Ea()===`desktop`}function Oa(e){return va()?e.metaKey:e.ctrlKey}function ka(e,t,n=_v){if(!(!e||n.has(e)||typeof document>`u`)){if(n.add(e),!t){if(!vv){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 <head> element`);return}if(document.head.appendChild(e),e.sheet)vv=e.sheet;else{console.warn(`not injecting CSS: injected <style> element does not have a sheet`,e);return}}t=vv}try{t.insertRule(e,t.cssRules.length)}catch{}}}function Aa(){if(Tv!==void 0)return Tv;let e=document.createElement(`div`);Object.assign(e.style,{position:`absolute`,display:`flex`,flexDirection:`column`,rowGap:`1px`}),e.appendChild(document.createElement(`div`)),e.appendChild(document.createElement(`div`)),document.body.appendChild(e);let t=e.scrollHeight===1;return e.parentNode&&e.parentNode.removeChild(e),Tv=t,t}function ja(){Dv||(Dv=!0,!Aa()&&document.body.classList.add(Ev))}function Ma(e){return typeof e==`number`?e:e.startsWith(`--`)?jv.variable(e):e===``?`""`:e}function Na(e,t){return jv.variable(...e.flatMap(e=>[`${e}-rgb`,e]),t)}function Pa(e,t){return`${e} > ${t}, ${e} > .ssr-variant > ${t}`}function Fa(){return Y.current()===Y.preview?wy:Cy}function Ia(e){return Sv(e,Fa,`framer-lib-combinedCSSRules`)}function La(e){return B(e)||Ye(e)}function Ra(e){return!!e&&Ty in e&&e[Ty]===!0}function za(e){try{switch(e.type){case`string`:case`collectionreference`:case`color`:case`date`:case`link`:case`boxshadow`:case`padding`:case`borderradius`:case`gap`:return R(e.defaultValue)?e.defaultValue:void 0;case`boolean`:return Xe(e.defaultValue)?e.defaultValue:void 0;case`enum`:return $e(e.defaultValue)?void 0:e.options.includes(e.defaultValue)?e.defaultValue:void 0;case`fusednumber`:case`number`:return z(e.defaultValue)?e.defaultValue:void 0;case`transition`:return B(e.defaultValue)?e.defaultValue:void 0;case`border`:return B(e.defaultValue)?e.defaultValue:void 0;case`font`:case`location`:return B(e.defaultValue)?e.defaultValue:void 0;case`linkrelvalues`:return Ze(e.defaultValue)?e.defaultValue:void 0;case`multicollectionreference`:return Ze(e.defaultValue)?e.defaultValue:void 0;case`object`:{let t=B(e.defaultValue)?e.defaultValue:{};return B(e.controls)&&Ba(t,e.controls),t}case`array`:return Ze(e.defaultValue)?e.defaultValue:void 0;case`file`:case`image`:case`richtext`:case`pagescope`:case`eventhandler`:case`changehandler`:case`segmentedenum`:case`responsiveimage`:case`componentinstance`:case`slot`:case`scrollsectionref`:case`customcursor`:case`cursor`:case`trackingid`:case`vectorsetitem`:return;default:return}}catch{return}}function Ba(e,t){for(let n in t){let r=t[n];if(!r)continue;let i=e[n];if(!$e(i)||Ra(r))continue;let a=za(r);$e(a)||(e[n]=a)}}function Va(e){if(B(e.defaultProps))return e.defaultProps;let t={};return e.defaultProps=t,t}function Ha(e,t){La(e)&&Ba(Va(e),t)}function Ua(e,t){Object.assign(e,{propertyControls:t}),Ha(e,t)}function Wa(e){return e.propertyControls}function Ga(){let e=Y.current();return e===Y.canvas||e===Y.export}function Ka(){let[e]=u(()=>Ga());return e}function qa(e){let t=Object.create(Object.prototype);return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}function Ja(e,t){if(e===void 0||t===void 0)return;let n=e,r=t,i=0;t>e&&(n=t,r=e,i=1);let a=n/r,o=[];for(let e of Iy){if(n<=e)return o;o.push({maxSideSize:e,width:i===0?e:Math.trunc(e/a)})}return o}function Ya(e,t){try{let n=new URL(e);return t?n.searchParams.set(`scale-down-to`,`${t}`):n.searchParams.delete(`scale-down-to`),n.toString()}catch{return e}}function Xa(e,t,n){if(!n||n.length===0||!t.pixelWidth)return;let r=[];for(let t of n){if(t.width<Ly)continue;let n=Ya(e,t.maxSideSize);r.push(`${n} ${t.width}w`)}return r.push(`${Ya(e,null)} ${t.pixelWidth}w`),r.join(`, `)||void 0}function Za(e,t,n){if(!t.pixelWidth||!t.pixelHeight||!n?.width||!n?.height)return;let r=[],i=Math.max(t.pixelWidth,t.pixelHeight),a=Math.max(n.width/t.pixelWidth,n.height/t.pixelHeight);for(let t of Fy){let n=Ya(e,Math.round(i*t*a));r.push({src:n,scale:t})}return r}function Qa(e,t,n){if(![`auto`,`lossless`].includes(t.preferredSize??``))return{src:n,srcSet:void 0};if(e){let r=Za(n,t,e);if(!r?.length)return{src:n,srcSet:void 0};let[i,...a]=r;return{src:i?.src,srcSet:a.map(({src:e,scale:t})=>`${e} ${t}x`).join(`, `)}}else return{src:n,srcSet:Xa(n,t,Ja(t.pixelWidth,t.pixelHeight))}}function $a(){return{backgroundRepeat:`repeat`,backgroundPosition:`left top`,backgroundSize:`64px auto`,backgroundImage:ot(Ny.imagePlaceholderSvg)}}function eo(e){switch(e){case`fit`:return`contain`;case`stretch`:return`fill`;default:return`cover`}}function to(e,t){let n=e??`center`,r=t??`center`;return n===`center`&&r===`center`?`center`:n+` `+r}function no(e){return{display:`block`,width:`100%`,height:`100%`,...Py,objectPosition:to(e.positionX,e.positionY),objectFit:eo(e.fit)}}function ro(e){let t=h.useRef(e?`auto`:`async`),n=S(e=>{t.current=`auto`,e.decoding=`auto`},[]),r=S(e=>{n(e.currentTarget)},[n]),i=S(e=>{e?.complete&&n(e)},[n]);return{decoding:t.current,onImageLoad:r,onImageMount:i}}function io({image:e,containerSize:t,nodeId:n,alt:r,draggable:i,avoidAsyncDecoding:a}){let o=Ny.useImageSource(e,t,n),s=no(e),{decoding:c,onImageLoad:l,onImageMount:u}=ro(a),{srcSet:d,src:f}=`srcSet`in e?{src:o,srcSet:e.srcSet}:Qa(e.nodeFixedSize,e,o);return g(`img`,{suppressHydrationWarning:!0,ref:u,decoding:c,fetchpriority:e.fetchPriority,loading:e.loading,width:e.pixelWidth,height:e.pixelHeight,sizes:d?e.sizes:void 0,srcSet:d,src:f,onLoad:l,alt:r??e.alt??``,style:s,draggable:i})}function ao({image:e,containerSize:t,nodeId:n}){let r=h.useRef(null),i=Ny.useImageElement(e,t,n),a=no(e);return h.useLayoutEffect(()=>{let e=r.current;if(e!==null)return e.appendChild(i),()=>{e.removeChild(i)}},[i]),Object.assign(i.style,a),g(`div`,{ref:r,style:{display:`contents`,...Py}})}function oo({nodeId:e,image:t,containerSize:n}){let r=h.useRef(null),i=Ny.useImageSource(t,n,e);return h.useLayoutEffect(()=>{let n=r.current;if(n===null)return;let a=no(t);Ny.renderOptimizedCanvasImage(n,i,a,e)},[e,t,i]),g(`div`,{ref:r,style:{display:`contents`,...Py}})}function so({layoutId:e,image:t,...n}){e&&(e+=`-background`);let r=null,i=!!e,a=null;if(R(t.src))if(t.fit===`tile`&&t.pixelWidth&&t.pixelHeight){let e=z(t.backgroundSize)?t.backgroundSize:1,n={width:Math.round(e*t.pixelWidth),height:Math.round(e*t.pixelHeight)},o=Qr(e*(t.pixelWidth/2)),s=Ny.useImageSource(t,n);r={...Ry,backgroundImage:`url(${s})`,backgroundRepeat:`repeat`,backgroundPosition:to(t.positionX,t.positionY),opacity:void 0,border:0,backgroundSize:`${o}px auto`},a=null,i=!0}else a=Y.current()===Y.canvas?Ny.canRenderOptimizedCanvasImage(Ny.useImageSource(t))?g(oo,{image:t,...n}):g(ao,{image:t,...n}):g(io,{image:t,avoidAsyncDecoding:Y.current()===Y.export,...n});let o=a?Ry:r??{...Ry,...$a()};return i?g(ae.div,{layoutId:e,style:o,"data-framer-background-image-wrapper":!0,children:a}):g(`div`,{style:o,"data-framer-background-image-wrapper":!0,children:a})}function co(e,t,n=!0){let{borderWidth:r,borderStyle:i,borderColor:a}=e;if(!r)return;let o,s,c,l;if(typeof r==`number`?o=s=c=l=r:(o=r.top||0,s=r.bottom||0,c=r.left||0,l=r.right||0),!(o===0&&s===0&&c===0&&l===0)){if(n&&o===s&&o===c&&o===l){t.border=`${o}px ${i} ${a}`;return}t.borderStyle=e.borderStyle,t.borderColor=e.borderColor,t.borderTopWidth=`${o}px`,t.borderBottomWidth=`${s}px`,t.borderLeftWidth=`${c}px`,t.borderRightWidth=`${l}px`}}function lo(e){let t=e.layoutId?`${e.layoutId}-border`:void 0;if(!e.borderWidth)return null;let n={position:`absolute`,left:0,right:0,top:0,bottom:0,...Py,pointerEvents:`none`};return e.border?(n.border=e.border,g(ae.div,{style:n})):(co(e,n,!1),g(ae.div,{"data-frame-border":!0,style:n,layoutId:t}))}function uo(e,t){let{_forwardedOverrideId:n,_forwardedOverrides:r,id:i}=t,a=n??i,o=r&&a?r[a]:void 0;return o&&typeof o==`string`&&(e={...e,src:o}),e}function fo(e){let{background:t,image:n}=e;if(n!==void 0&&t&&!By.isImageObject(t))return;let r=null;if(r=R(n)?{alt:``,src:n}:v_.get(t,null),By.isImageObject(r))return uo(r,e)}function po(e){if(e){if(e.pixelHeight&&e.pixelWidth)return{width:e.pixelWidth,height:e.pixelHeight};if(e.src===void 0)return{width:1,height:1}}}function mo(e){return e&&e!==`search`&&e!==`slot`&&e!==`template`?ae[e]:ae.div}function ho(e,t){e[`data-framer-layout-hint-center-x`]=t===!0||t===`x`?!0:void 0,e[`data-framer-layout-hint-center-y`]=t===!0||t===`y`?!0:void 0}function go(e){let t={};return!e||!Vy||Y.current()!==Y.canvas||ho(t,e),t}function _o(e){return e.replace(/^id_/u,``).replace(/\\/gu,``)}function vo(e,t){if(!t&&(t=e.children,!t))return{props:e,children:t};let n=e._forwardedOverrides;return n&&(t=h.Children.map(t,e=>h.isValidElement(e)?h.cloneElement(e,{_forwardedOverrides:n}):e)),{props:e,children:t}}function yo(e){return(t,n)=>e===!0?`translate(-50%, -50%) ${n}`:e===`x`?`translateX(-50%) ${n}`:e===`y`?`translateY(-50%) ${n}`:n||`none`}function bo(e,{specificLayoutId:n,postfix:r}={}){let{name:i,layoutIdKey:a,duplicatedFrom:o,__fromCodeComponentNode:s=!1,drag:c}=e,{getLayoutId:l,enabled:u}=C(U_);return t(()=>{if(!u)return e.layoutId;let t=n||e.layoutId;if(!t&&(c||!a||s))return;let d=t||l({id:a,name:i,duplicatedFrom:o});if(d)return r?`${d}-${r}`:d},[u])}function xo(){let[e,t]=h.useState(0);return h.useCallback(()=>t(e=>e+1),[])}function So(e){let t=xo();s(()=>{let n=e?.current;if(n)return Gy?.observeElementWithCallback(e.current,t),()=>{Gy?.unobserve(n)}},[e,t])}function Co(e){return[...e.firstElementChild&&e.firstElementChild.hasAttribute(Ky)?e.firstElementChild.children:e.children].filter(wo).map(To)}function wo(e){return e instanceof HTMLBaseElement||e instanceof HTMLHeadElement||e instanceof HTMLLinkElement||e instanceof HTMLMetaElement||e instanceof HTMLScriptElement||e instanceof HTMLStyleElement||e instanceof HTMLTitleElement?!1:e instanceof HTMLElement||e instanceof SVGElement}function To(e){if(!(e instanceof HTMLElement)||e.children.length===0||e.style.display!==`contents`)return e;let t=[...e.children].find(wo);return t?To(t):e}function Eo(e,t,n=()=>[],r={}){let{id:i,visible:a,_needsMeasure:o}=e,{skipHook:s=!1}=r,c=C(Uy),l=Y.current()===Y.canvas;Hy(()=>{!l||c||s||t.current&&i&&a&&o&&Ny.queueMeasureRequest(_o(i),t.current,n(t.current))})}function Do(e){let t=e.closest(`[data-framer-component-container]`);t&&Ny.queueMeasureRequest(_o(t.id),t,Co(t))}function Oo(e){e.willChange=`transform`;let t=Y.current()===Y.canvas;Yy&&t&&(e.translateZ=qy)}function ko(e){e.willChange=`transform`,Ao(e,!0)}function Ao(e,t){let n=Y.current()===Y.canvas;if(!Yy||!n)return;let r=R(e.transform)&&e.transform||``;t?r.includes(Jy)||(e.transform=r+Jy):e.transform=r.replace(Jy,``)}function jo(e,t,n,r=!0){if(!e)return;let i=Ey(e.style),a=n||i[t],o=()=>{Mo(a)&&(i[t]=a)};i[t]=null,r?Promise.resolve().then(o):setTimeout(o,0)}function Mo(e){return R(e)||z(e)||et(e)}function No(e,t){if(e.size<t)return;let n=Math.round(Math.random());for(let t of e.keys())(++n&1)!=1&&e.delete(t)}function Po(e,t,n,r){let i=t.get(n);if(i)return i;No(t,e);let a=r(n);return t.set(n,a),a}function Fo(e,t){let n=[e,t];return $y.test(e)?e:Po(1e3,eb,n,()=>Qy.multiplyAlpha(e,t))}function Io(e,t=1){let n;return n=`stops`in e?e.stops:[{value:e.start,position:0},{value:e.end,position:1}],t===1?n:n.map(e=>({...e,value:Fo(e.value,t)}))}function Lo(e,t){let n=0;return Io(e,t).forEach(e=>{n^=Zy(e.value)^e.position}),n}function Ro(e){return e&&tb.every(t=>t in e)}function zo(e){return e&&nb.every(t=>t in e)}function Bo({background:e,backgroundColor:t},n){t?typeof t==`string`||M_(t)?n.backgroundColor=t:J.isColorObject(e)&&(n.backgroundColor=e.initialValue||J.toRgbString(e)):e&&(e=v_.get(e,null),typeof e==`string`||M_(e)?n.background=e:ib.isLinearGradient(e)?n.background=ib.toCSS(e):ob.isRadialGradient(e)?n.background=ob.toCSS(e):J.isColorObject(e)&&(n.backgroundColor=e.initialValue||J.toRgbString(e)))}function W(e,t,n,r){if(r===void 0&&(r=t),e[t]!==void 0){n[r]=e[t];return}}function Vo(e){return e?e.left!==void 0&&e.right!==void 0:!1}function Ho(e){return e?e.top!==void 0&&e.bottom!==void 0:!1}function Uo(e){if(!e)return{};let t={};e.preserve3d===!0?t.transformStyle=`preserve-3d`:e.preserve3d===!1&&(t.transformStyle=`flat`),e.backfaceVisible===!0?t.backfaceVisibility=`visible`:e.backfaceVisible===!1&&(t.backfaceVisibility=`hidden`),t.backfaceVisibility&&(t.WebkitBackfaceVisibility=t.backfaceVisibility),e.perspective!==void 0&&(t.perspective=t.WebkitPerspective=e.perspective),e.__fromCanvasComponent||(e.center===!0?(t.left=`50%`,t.top=`50%`):e.center===`x`?t.left=`50%`:e.center===`y`&&(t.top=`50%`));let{cornerShape:n}=e;return Ce(n)?t.cornerShape=Ae(()=>`superellipse(${n.get()})`):n!==void 0&&(t.cornerShape=`superellipse(${n})`),W(e,`size`,t),W(e,`width`,t),W(e,`height`,t),W(e,`minWidth`,t),W(e,`minHeight`,t),W(e,`top`,t),W(e,`right`,t),W(e,`bottom`,t),W(e,`left`,t),W(e,`position`,t),W(e,`overflow`,t),W(e,`opacity`,t),(!e._border||!e._border.borderWidth)&&W(e,`border`,t),W(e,`borderRadius`,t),W(e,`radius`,t,`borderRadius`),W(e,`color`,t),W(e,`shadow`,t,`boxShadow`),W(e,`x`,t),W(e,`y`,t),W(e,`z`,t),W(e,`rotate`,t),W(e,`rotateX`,t),W(e,`rotateY`,t),W(e,`rotateZ`,t),W(e,`scale`,t),W(e,`scaleX`,t),W(e,`scaleY`,t),W(e,`skew`,t),W(e,`skewX`,t),W(e,`skewY`,t),W(e,`originX`,t),W(e,`originY`,t),W(e,`originZ`,t),Bo(e,t),t}function Wo(e){for(let t in e)if(t===`drag`||t.startsWith(`while`)||typeof Ey(e)[t]==`function`&&t.startsWith(`on`)&&!t.includes(`Animation`))return!0;return!1}function Go(e){if(e.drag)return`grab`;for(let t in e)if(cb.has(t))return`pointer`}function Ko(e){return qo(e)?!0:e.style?!!qo(e.style):!1}function qo(e){return lb in e&&(e[lb]===`scroll`||e[lb]===`auto`)}function Jo(e){let{left:t,top:n,bottom:r,right:i,width:a,height:o,center:s,_constraints:c,size:l,widthType:u,heightType:d,positionFixed:f,positionAbsolute:p}=e,m=M(e.minWidth),h=M(e.minHeight),g=M(e.maxWidth),_=M(e.maxHeight);return{top:M(n),left:M(t),bottom:M(r),right:M(i),width:M(a),height:M(o),size:M(l),center:s,_constraints:c,widthType:u,heightType:d,positionFixed:f,positionAbsolute:p,minWidth:m,minHeight:h,maxWidth:g,maxHeight:_}}function Yo(e){let t=C(Uy),{style:n,_initialStyle:r,__fromCanvasComponent:i,size:a}=e,o=Jo(e),s=pa(o),c={display:`block`,flex:n?.flex??`0 0 auto`,userSelect:Y.current()===Y.preview?void 0:`none`};e.__fromCanvasComponent||(c.backgroundColor=e.background===void 0?`rgba(0, 170, 255, 0.3)`:void 0);let l=!Wo(e)&&!e.__fromCanvasComponent&&!Ko(e),u=e.style?!(`pointerEvents`in e.style):!0;l&&u&&(c.pointerEvents=`none`);let d=h.Children.count(e.children)>0&&h.Children.toArray(e.children).every(e=>typeof e==`string`||typeof e==`number`)&&{display:`flex`,alignItems:`center`,justifyContent:`center`,textAlign:`center`},f=Uo(e);a===void 0&&!i&&(Vo(f)||(c.width=ub.width),Ho(f)||(c.height=ub.height)),o.minWidth!==void 0&&(c.minWidth=o.minWidth),o.minHeight!==void 0&&(c.minHeight=o.minHeight);let p={};na(o)&&s&&!ma(e)&&(p={left:s.x,top:s.y,width:s.width,height:s.height,right:void 0,bottom:void 0}),Object.assign(c,d,r,f,p,n),Object.assign(c,{overflowX:c.overflowX??c.overflow,overflowY:c.overflowY??c.overflow,overflow:void 0}),Xy.applyWillChange(e,c,!0);let m=c;c.transform||(m={x:0,y:0,...c});let g=Ga();return e.positionSticky?(!g||Ny.isOnPageCanvas||t)&&(m.position=`sticky`,m.willChange=`transform`,m.zIndex=1,m.top=e.positionStickyTop,m.right=e.positionStickyRight,m.bottom=e.positionStickyBottom,m.left=e.positionStickyLeft):g&&(e.positionFixed?m.position=Ny.isOnPageCanvas?`fixed`:`absolute`:e.positionAbsolute&&(m.position=`absolute`)),`rotate`in m&&m.rotate===void 0&&delete m.rotate,[m,s]}function Xo(e){let t={};for(let n in e)(Ke(n)||Oy(n))&&!db.has(n)?t[n]=Ey(e)[n]:(n===`positionTransition`||n===`layoutTransition`)&&(t.layout=!0,typeof Ey(e)[n]!=`boolean`&&!e.transition&&(t.transition=Ey(e)[n]));return t}function Zo(e){return`data-framer-name`in e}function Qo(e,t,n,r){if(r)return n?{width:n.width,height:n.height}:1;let{_usesDOMRect:i}=e,{widthType:a=0,heightType:o=0,width:s,height:c}=t;return n&&!i?n:a===0&&o===0&&typeof s==`number`&&typeof c==`number`?{width:s,height:c}:i||e.positionFixed||e.positionAbsolute?2:0}function $o(e){return g(ae.div,{layoutId:mb,style:_b,children:e.children})}function es(e,t){Ye(e)?e(t):ts(e)&&(e.current=t)}function ts(e){return B(e)&&`current`in e}function ns(){let e=Bi(()=>new Set),t=Bi(()=>new Map);return Bi(()=>(n,r)=>({get current(){return n.current},set current(i){if(i!==n.current){if(n.current=i,r&&r(i),t.forEach((e,t)=>{e?e():t(null)}),i===null){t.clear(),e.clear();return}e.forEach(e=>{let n=e(i);t.set(e,n)})}},observe(r){e.add(r);let i=n.current;if(i){let e=r(i);t.set(r,e)}},unobserve(n){if(!n||(e.delete(n),!t.has(n)))return;let r=t.get(n);r?r():n(null),t.delete(n)}}))}function rs(e){let t=r(null),n=ns();return Bi(()=>ts(e)?n(e):Ye(e)?n(t,e):n(t))}function is(e,t,n){let i=r(),a=r();hr(()=>{a.current!==void 0&&(a.current=!0)},n??[{}]),e&&a.current!==!1&&(a.current=!1,e.unobserve(i.current),e.observe(t),i.current=t)}function as(e,t,n,r,i,a,o){let s=e.get(t);return(!s||s.root!==r?.current)&&(s=new vb({root:r?.current,rootMargin:a,threshold:o}),e.set(t,s)),s.observeElementWithCallback(n,i),()=>{s.unobserve(n)}}function os(e,t,n){let r=Bi(()=>`${n.rootMargin}`),i=C(yb),{enabled:a,root:o,rootMargin:s,threshold:c}=n;is(e,e=>{if(a&&e!==null)return as(i,r,e,o,t,s,c)},[a,t,o,s,c])}function ss(e,t,n){let r=h.useRef({isInView:!1,hasAnimatedOnce:!1}),{enabled:i,animateOnce:a,threshold:o,rootMargin:s=`0px 0px 0px 0px`}=n;bb(e,h.useCallback(e=>{let{isInView:n,hasAnimatedOnce:i}=r.current,s=ls(e,o?.y??0);if(s&&!n){if(a&&i)return;r.current.hasAnimatedOnce=!0,r.current.isInView=!0,t(!0);return}if(!s&&n){if(r.current.isInView=!1,a)return;t(!1);return}},[a,o?.y,t]),{threshold:xb,rootMargin:s,enabled:i??!0})}function cs(e,t){return t.height===0?0:e.height/Math.min(t.height,q.innerHeight)}function ls({boundingClientRect:e,intersectionRect:t,isIntersecting:n},r){return e.height===0?n:n&&cs(t,e)>=r}function us(){return new Map}function ds(){return Bi(us)}function fs(e,t=[]){let{register:n,deregister:r}=C(Eb);s(()=>{if(e)return n(e),()=>r(e)},[n,r,...t])}function ps(e,t){return!(t.isCurrent===void 0||e.isCurrent!==t.isCurrent||e.isPrevious!==t.isPrevious||t.isCurrent&&e.isOverlayed!==t.isOverlayed)}function ms(e,t,n){let r={...e};return t&&(U(t.originX)&&(r.originX=t.originX),U(t.originY)&&(r.originY=t.originY),U(t.originZ)&&(r.originZ=t.originZ)),n&&(U(n.originX)&&(r.originX=n.originX),U(n.originY)&&(r.originY=n.originY),U(n.originZ)&&(r.originZ=n.originZ)),r}function hs(e){if(!e||!(`rotateX`in e||`rotateY`in e||`z`in e))return!1;let t=e.rotateX!==0||e.rotateY!==0||e.z!==0,n=e?.transition?.rotateX.from!==0||e?.transition?.rotateY.from!==0||e?.transition?.z.from!==0;return t||n}function gs(e){switch(e&&e.appearsFrom?e.appearsFrom:`right`){case`right`:return Mb.PushLeft;case`left`:return Mb.PushRight;case`bottom`:return Mb.PushUp;case`top`:return Mb.PushDown}}function _s(e){switch(e&&e.appearsFrom?e.appearsFrom:`bottom`){case`right`:return Mb.OverlayLeft;case`left`:return Mb.OverlayRight;case`bottom`:return Mb.OverlayUp;case`top`:return Mb.OverlayDown}}function vs(e){switch(e&&e.appearsFrom?e.appearsFrom:`bottom`){case`right`:return Mb.FlipLeft;case`left`:return Mb.FlipRight;case`bottom`:return Mb.FlipUp;case`top`:return Mb.FlipDown}}function ys(e,t){switch(t.type){case`addOverlay`:return xs(e,t.transition,t.component);case`removeOverlay`:return Ss(e);case`add`:return Cs(e,t.key,t.transition,t.component);case`remove`:return Es(e);case`update`:return bs(e,t.key,t.component);case`back`:return ws(e);case`forward`:return Ts(e);default:return}}function bs(e,t,n){return{...e,containers:{...e.containers,[t]:n}}}function xs(e,t,n){let r=e.overlayStack[e.currentOverlay];if(r&&r.component===n)return;let i=e.overlayItemId+1,a=[...e.overlayStack,{key:`stack-${i}`,component:n,transition:t}];return{...e,overlayStack:a,overlayItemId:i,currentOverlay:Math.max(0,Math.min(e.currentOverlay+1,a.length-1)),previousOverlay:e.currentOverlay}}function Ss(e){return{...e,overlayStack:[],currentOverlay:-1,previousOverlay:e.currentOverlay}}function Cs(e,t,n,r){e.containers[t]||(e.containers[t]=r),e.history=e.history.slice(0,e.current+1),e.visualIndex=Math.max(e.history.length,0);let i=e.history[e.history.length-1],a=i&&i.key===t;if(e.overlayStack=[],a&&e.currentOverlay>-1)return{...e,currentOverlay:-1,previousOverlay:e.currentOverlay};if(a)return;let o=e.containerVisualIndex[t],s=e.containerIsRemoved[t],c=i?.key&&n.withMagicMotion?js(t,o,s,e.history):!0;e.history.push({key:t,transition:n,visualIndex:c?Math.max(e.visualIndex,0):e.containerVisualIndex[t]});let l=e.current+1,u=e.current;for(let t in e.containerIndex)e.containerIndex[t]===l&&(e.containerIndex[t]=ks(t,e.history));e.containerIndex[t]=l;let{containerVisualIndex:d,containerIsRemoved:f}=Ds(e,t,c),p=As(l,u,e.history,e.containerIndex,e.transitionForContainer);return{...e,current:l,previous:u,containerVisualIndex:d,containerIsRemoved:f,transitionForContainer:p,previousTransition:null,currentOverlay:-1,historyItemId:e.historyItemId+1,previousOverlay:e.currentOverlay}}function ws(e){let t={...e.containers},n=Es(e);if(n)return n.containers=t,n}function Ts(e){let t=e.history[e.current+1];if(!t)return;let{key:n,transition:r,component:i}=t,a=[...e.history],o=Cs(e,n,r,i);if(o)return o.history=a,o}function Es(e){let t=[...e.history.slice(0,e.current+1)];if(t.length===1)return;let n=t.pop();if(!n)return;let r=t[t.length-1];V(r,`The navigation history must have at least one component`),e.containerIndex[r.key]=t.length-1,t.every(e=>e.key!==n.key)&&delete e.containers[n.key];let i=e.current-1,a=e.current,{containerIsRemoved:o,containerVisualIndex:s,previousTransition:c,visualIndex:l}=Os(e,r,n),u=As(i,a,e.history,e.containerIndex,e.transitionForContainer);return{...e,current:i,previous:a,containerIsRemoved:o,containerVisualIndex:s,previousTransition:c,visualIndex:l,transitionForContainer:u}}function Ds(e,t,n){let r={containerVisualIndex:{...e.containerVisualIndex},containerIsRemoved:{...e.containerIsRemoved}};if(n)r.containerVisualIndex[t]=e.history.length-1,r.containerIsRemoved[t]=!1;else{let n=e.containerVisualIndex[t];for(let[t,i]of Object.entries(e.containerVisualIndex))n!==void 0&&i>n&&(r.containerIsRemoved[t]=!0)}return r}function Os(e,t,n){let r=[t.key,n.key],i=e.history[e.history.length-2],a=e.previousTransition===null?null:{...e.previousTransition},o={containerIsRemoved:{...e.containerIsRemoved},containerVisualIndex:{...e.containerVisualIndex},previousTransition:a,visualIndex:e.visualIndex};i&&r.push(i.key);let s=e.containerVisualIndex[t.key],c=e.containerVisualIndex[n.key],l=s!==void 0&&c!==void 0&&s<=c||t.visualIndex!==void 0&&t.visualIndex<e.history.length-1,u=t.visualIndex;return l?(o.containerIsRemoved[n.key]=!0,o.containerVisualIndex[t.key]=u===void 0?e.history.length-1:u):(o.visualIndex=e.visualIndex+1,o.containerVisualIndex[t.key]=e.visualIndex+1),n.transition.withMagicMotion&&(o.previousTransition=n.transition||null),e.containerIsRemoved[t.key]=!1,o}function ks(e,t){for(let n=t.length;n>t.length;n--)if(t[n]?.key===e)return n;return-1}function As(e,t,n,r,i){let a={...i};for(let[i,o]of Object.entries(r)){let r=Ms(o,{current:e,previous:t,history:n});r&&(a[i]=r)}return a}function js(e,t,n,r){return n||t===void 0?!0:t===0?!1:r.slice(t,r.length).findIndex(t=>t.key===e)>-1?!0:!(r.slice(0,t-1).findIndex(t=>t.key===e)>-1)}function Ms(e,t){let{current:n,previous:r,history:i}=t;if(!(e!==n&&e!==r)){if(e===n&&n>r){let t=i[e];return Ns(`enter`,t?.transition.enter,t?.transition.animation)}if(e===r&&n>r){let t=i[e+1];return Ns(`exit`,t?.transition.exit,t?.transition.animation)}if(e===n&&n<r){let t=i[e+1];return Ns(`enter`,t?.transition.exit,t?.transition.animation)}if(e===r&&n<r){let t=i[e];return Ns(`exit`,t?.transition.enter,t?.transition.animation)}}}function Ns(e,t,n){let r={},i={};return Pb.forEach(e=>{r[e]=kb[e],i[e]={...n,from:kb[e]}}),t&&Object.keys(t).forEach(a=>{if(t[a]===void 0)return;let o=t[a],s=typeof t[a]==`string`?`${Ey(kb)[a]}%`:Ey(kb)[a];Ey(r)[a]=e===`enter`?s:o,i[a]={...n,from:e===`enter`?o:s,velocity:0}}),{...r,transition:{...i}}}function Ps(e){let t,n;return e.current===-1?n=e.history[e.previous]:t=e.history[e.current],{currentOverlayItem:t,previousOverlayItem:n}}function Fs({currentOverlayItem:e}){return e&&e.transition.exit}function Is({currentOverlayItem:e,previousOverlayItem:t}){return e&&e.transition.animation?e.transition.animation:t&&t.transition.animation?t.transition.animation:Rb}function Ls({currentOverlayItem:e,previousOverlayItem:t}){return e?e.transition.backfaceVisible:t&&t.transition.backfaceVisible}function Rs(e){if(e.backdropColor)return e.backdropColor;if(e.overCurrentContext)return`rgba(4,4,15,.4)`}function zs(e,t){let{current:n,history:r}=t;if(e===n){let t=r[e];return t&&t.transition?t.transition.backfaceVisible:!0}else if(e<n){let t=r[e+1];return t&&t.transition?t.transition.backfaceVisible:!0}else{let t=r[e];return t&&t.transition?t.transition.backfaceVisible:!0}}function Bs(e,t){let n=t.history[e];if(n)return n.transition.enter}function Vs(e,t){let{current:n,previous:r,history:i}=t;return e===r&&n>r||e===n&&n<r?i[e+1]?.transition?.backfaceVisible:i[e]?.transition?.backfaceVisible}function Hs(e,t){let{current:n,history:r}=t;if(e!==n)if(e<n){let t=r[e+1];if(t&&t.transition)return t.transition.exit}else{let t=r[e];if(t&&t.transition)return t.transition.enter}}function Us(e,t){let{current:n,previous:r,history:i}=t,a=r>n?r:n;if(e<a){let t=i[e+1];if(t&&t.transition.animation)return t.transition.animation}else if(e!==a){let t=i[e];if(t&&t.transition.animation)return t.transition.animation}else{let t=i[e];if(t?.transition.animation)return t.transition.animation}return Rb}function Ws(e,t,n){let{current:r,previous:i,history:a}=t;return!!(n&&a.length>1||e!==i&&e!==r||r===i)}function Gs(e,t){let{current:n,previous:r}=t;return e>n&&e>r?!1:e===n}function Ks(e){return h.Children.map(e.component,t=>{if(!Gi(t)||!Wi(t)||!t.props)return t;let n={style:t.props.style??{}},r=e?.transition?.position,i=!r||r.left!==void 0&&r.right!==void 0,a=!r||r.top!==void 0&&r.bottom!==void 0,o=`style`in t.props?B(t.props.style):!0;return i&&(`width`in t.props&&(n.width=`100%`),o&&(n.style.width=`100%`)),a&&(`height`in t.props&&(n.height=`100%`),o&&(n.style.height=`100%`)),h.cloneElement(t,n)})}function qs(e,t){if(e.goBackOnTapOutside!==!1)return t}function Js(e){let t=ie(),n=se();return g(Lb,{...e,resetProjection:t,skipLayoutAnimation:n,children:e.children})}function Ys(e){return Gb in e}function Xs(e,t){if(!Ys(e))return;let n=v_.getNumber(e.opacity);n!==1&&(t.opacity=n)}function Zs(e){let t=[];if(e&&e.length){let n=e.map(e=>`drop-shadow(${e.x}px ${e.y}px ${e.blur}px ${e.color})`);t.push(...n)}return t}function Qs(e,t){if(!e.shadows||e.shadows.length===0)return;let n=e.shadows.map(e=>`${e.x}px ${e.y}px ${e.blur}px ${e.color}`).join(`, `);n&&(t.textShadow=n)}function $s(e,t){let n=[];U(e.brightness)&&n.push(`brightness(${e.brightness/100})`),U(e.contrast)&&n.push(`contrast(${e.contrast/100})`),U(e.grayscale)&&n.push(`grayscale(${e.grayscale/100})`),U(e.hueRotate)&&n.push(`hue-rotate(${e.hueRotate}deg)`),U(e.invert)&&n.push(`invert(${e.invert/100})`),U(e.saturate)&&n.push(`saturate(${e.saturate/100})`),U(e.sepia)&&n.push(`sepia(${e.sepia/100})`),U(e.blur)&&n.push(`blur(${e.blur}px)`),e.dropShadows&&n.push(...Zs(e.dropShadows)),n.length!==0&&(t.filter=t.WebkitFilter=n.join(` `))}function ec(e,t){U(e.backgroundBlur)&&(t.backdropFilter=t.WebkitBackdropFilter=`blur(${e.backgroundBlur}px)`)}function tc(e,t){ec(e,t),$s(e,t)}function nc({ref:e,loadMore:t,rootMargin:n=`0px`,paginationInfo:i}){let a=r(!1),o=h.useCallback(e=>{if(!e.isIntersecting){a.current=!1;return}a.current=!0,t()},[t]);s(()=>{Oe.postRender(()=>{Oe.render(()=>{a.current&&t()})})},[i.currentPage,t]),bb(e,o,{rootMargin:n,enabled:i.currentPage<i.totalPages})}function rc(e){return h.forwardRef(({__paginationInfo:t,__loadMore:n,...r},i)=>{let a=rs(i);return nc({rootMargin:`500px`,loadMore:n,ref:a,paginationInfo:t}),g(e,{...r,ref:a})})}function ic(e,t){let n,r=(...r)=>{q.clearTimeout(n),n=q.setTimeout(e,t,...r)};return r.cancel=()=>{q.clearTimeout(n)},r}function ac(...e){return e.filter(Boolean).join(` `)}function oc(){let e=h.useContext(Jb);return!Number.isNaN(e.update)}function sc(e){if(e.startsWith(Xb))return e.substr(Zb)}function cc(e,t,n){let r=A.map(e,e=>v(e)?l(e,t):e);return n?r:g(O,{children:r})}function lc(e){let t=Bi(()=>uc(e));return t.useSetup(e),t.cloneAsElement}function uc(e){let t={forwardedRef:e,childRef:null,ref:null};t.ref=dc(t);let n=(e,n)=>{if(!t.forwardedRef&&t.forwardedRef===e){t.ref=n;return}let r=!1;t.childRef!==n&&(t.childRef=n,r=!0),t.forwardedRef!==e&&(t.forwardedRef=e,r=!0),r&&(t.ref=dc(t))},r=!1;function i(i,a){if(r)throw ReferenceError(`useCloneChildrenWithPropsAndRef: You should not call cloneChildrenWithPropsAndRef more than once during the render cycle.`);return r=!0,A.count(i)>1&&e&&(t.forwardedRef=void 0,t.ref=t.childRef),A.map(i,e=>{if(v(e)){let r=`ref`in e?e.ref:void 0;n(t.forwardedRef,r);let i=Ye(a)?a(e.props):a;return l(e,t.ref===r?i:{...i,ref:t.ref})}return e})}let a=function(e,t){return g(O,{children:i(e,t)})};return a.cloneAsArray=i,{useSetup:e=>{r=!1,n(e,t.childRef)},cloneAsElement:a}}function dc(e){if(!e.forwardedRef)return e.childRef;let{forwardedRef:t,childRef:n}=e;return e=>{es(n,e),es(t,e)}}function fc(e,t,n,r,i,a,o,s){let c=h.Children.toArray(t),l=c[0];if(c.length!==1||!h.isValidElement(l))return console.warn(`PropertyOverrides: expected exactly one React element for a child`,t),o(t,n);let u=[],d=[];for(let[t]of Object.entries(r)){if(t===i)continue;let n=e[t];if(!n||!gc(l.props,n)){d.push(t);continue}let r=hc([t],a);r.length&&u.push({variants:r,propOverrides:n})}if(u.length===0)return o(l,n);let f=hc([i,...d],a);f.length&&u.unshift({variants:f});let p=[];for(let{variants:e,propOverrides:t}of u){if(s&&!e.includes(s))continue;let c=e.join(`+`),d=g($b.Provider,{value:{primaryVariantId:i,variants:new Set(e)},children:o(l,t?{...n,...t}:n)},c),f=mc(e,a,r);f.length?(V(u.length>1,`Must branch out when there are hiddenClassNames`),d=g(`div`,{className:`${ex} ${f.join(` `)}`,suppressHydrationWarning:!0,children:d},c)):V(u.length===1,`Cannot branch out when hiddenClassNames is empty`),p.push(d)}return V(!s||p.length===1,`Must render exactly one branch when activeVariantId is given`),s?p:[...p,g(`div`,{className:tx},`property-overrides-separator`)]}function pc(e){return e.split(`-`)[2]}function mc(e,t,n){let r=[];for(let[i,a]of Object.entries(n)){let n=t&&!t.has(i);e.includes(i)||n||r.push(`hidden-${pc(a)}`)}return r}function hc(e,t){return t?e.filter(e=>t.has(e)):e}function gc(e,t){for(let n of Object.keys(t))if(!wt(e[n],t[n],!0))return!0;return!1}function _c(e,t,n){return!n||!e?t:{...t,...n[e]}}function vc(e){return h.forwardRef(({optimized:t,...n},r)=>{let i=h.useContext(Qb),a=h.useContext($b)?.variants,o=n[ux];o&&!Ca()&&cx.setAll(o,a,t?n:null,i);let s=fx(n);return g(e,{ref:r,...n,...s})})}function yc(e){return R(e)||Array.isArray(e)}function bc(e){return e in hx}function xc(e,t){let n=Bi(()=>({values:mx(t?e:void 0)}));return h.useEffect(()=>{if(!t)for(let e of px){let t=hx[e];$e(t)||n.values[e].set(t)}},[t]),n}function Sc({loopEffectEnabled:e,loopRepeatDelay:n,loopTransition:i,loopRepeatType:a,loop:o,loopPauseOffscreen:c},l){let d=Je(),f=Bi(mx),p=r(!1),m=yx(),h=r(null),g=S(async()=>{if(!o)return;let e=i||void 0,t=p.current&&a===`mirror`,n=t?hx:o,r=t?o:hx;return p.current=!p.current,h.current=Promise.all(px.map(t=>{if(!(d&&t!==`opacity`))return f[t].jump(r[t]??hx[t]),new Promise(i=>{let a={...e,onComplete:()=>i()},o=n[t]??r[t];typeof o==`number`&&Ee(f[t],o,a)})})),h.current},[o,a,i,d]),[_,v]=u(!1),b=r(!1),x=S(async()=>{!e||!b.current||(await g(),await m(n??0),x())},[g,m,e,n]),C=S(()=>{b.current||(b.current=!0,y(()=>v(!0)),x())},[x]),w=S((e=!0)=>{px.forEach(e=>{f[e].stop()}),px.forEach(e=>{f[e].set(hx[e])}),p.current=!1,e&&(b.current=!1,y(()=>v(!1)))},[]),T=e&&o,E=S(()=>{document.hidden?w(!1):b.current&&(b.current=!1,C())},[C,w]);s(()=>{if(T)return document.addEventListener(`visibilitychange`,E),()=>{document.removeEventListener(`visibilitychange`,E)}},[T,E]),s(()=>{T&&c||(T?C():w())},[C,w,c,T]),s(()=>()=>w(),[w]);let D=r(!1),O=S(async()=>{h.current&&(await h.current,!D.current&&w())},[w]);bb(l,S(e=>{e.isIntersecting?(D.current=!0,C()):(D.current=!1,O())},[C,O]),{enabled:T&&c});let k=_||!c;return t(()=>({values:f,style:T&&k?gx:_x}),[T,k])}function Cc(e,t,n,r,i){let a=n/100-1;return(i?(t-r)*a:0)+-e*a}function wc(e,t,n){let{speed:r=100,offset:i=0,adjustPosition:a=!1,parallaxTransformEnabled:o}=e,s=h.useRef(null),c=Je(),l=h.useCallback(e=>s.current===null||r===100?0:Cc(e,s.current,r,i,a),[r,i,a]),{scrollY:u}=ve(),d=P(u,l),f=fe(a&&s.current===null?`hidden`:n),p=fe(0),m=C(yb);return is(t,e=>{if(e===null||!o)return;let t=as(m,`undefined`,e,null,e=>{s.current=e.boundingClientRect.top,Oe.update(()=>{d.set(l(u.get())),a&&f.set(n??`initial`)}),t()});return t},[a,o]),jt(()=>{o&&d.set(0)}),{values:{y:c||!o?p:d},style:o?{...gx,visibility:f}:_x}}function Tc(e){return typeof e==`object`&&!!e}function Ec(e){if(Tc(e))return e?.transition}function Dc(e,t,n,r,i,a){let o=Ec(e);return Promise.all(px.map(s=>new Promise(c=>{if(n&&s!==`opacity`)return c();let l=t.values[s];l.stop();let u=Tc(e)?e?.[s]??hx[s]:hx[s];if(Ce(u)&&(u=u.get()),!z(u))return c();let d=ye.get(r.current);d&&d.setBaseTarget(s,u);let f;if(R(i)&&!l?.hasAnimated&&q.MotionHandoffAnimation){let e=q.MotionHandoffAnimation(i,s,Oe);e&&(f=e)}a?l.set(u):Ee(l,u,{...o,velocity:0,startTime:f,onComplete:()=>c()})})))}function Oc({initial:e,animate:n,exit:i,presenceInitial:a,presenceAnimate:o,presenceExit:s},c,l,u,d){let f=a??e,p=o??n,m=s??i,[h,g]=N(),_=r({lastPresence:!1,lastAnimate:p,hasMounted:!1,running:!1}),v=Bi(()=>{let e=f??u;if(!B(e))return{values:mx()};let t={};for(let n in e){let r=B(e)?e[n]:void 0;z(r)&&(t[n]=r)}return{values:mx(t)}});is(c,e=>{let{hasMounted:t}=_.current;if(t&&p)return;let n=ye.get(e);if(n)for(let e in Object.assign(_.current,{hasMounted:!0}),v.values){if(!bc(e))continue;let t=u?.[e];n.setBaseTarget(e,z(t)?t:hx[e])}},[p]);let y=Je();is(c,e=>{if(!l){g?.();return}if(e===null)return;if(h!==_.current.lastPresence){Object.assign(_.current,{lastPresence:h}),h?f&&p&&(Object.assign(_.current,{running:!0}),Dc(p,v,y,c,d).then(()=>Object.assign(_.current,{running:!1}))):m?(Object.assign(_.current,{running:!0}),Dc(m,v,y,c,d).then(()=>Object.assign(_.current,{running:!1})).then(()=>g())):g();return}let{lastAnimate:t,running:n}=_.current;wt(p,t)||!p||(Object.assign(_.current,{lastAnimate:p}),Dc(p,v,y,c,d,!n).then(()=>Object.assign(_.current,{running:!1})))});let b=l&&p;return t(()=>({values:v.values,style:b?gx:_x}),[b])}function kc(e,t){let n=0,r=e;for(;r&&r!==t&&r instanceof HTMLElement;)n+=r.offsetTop,r=r.offsetParent;return n}function Ac(e,t=0,n){let r=[],i=[];for(let a=e.length;a>=0;a--){let{ref:o,offset:s}=e[a]??{};if(!o||!o.current)continue;let c=kc(o.current,document.documentElement)-Sx-(s??0)-t,l=o.current?.clientHeight??0,u=r[r.length-1],d=Math.max(c+l,0);r.push(c),i.unshift(Math.max(c,0),u===void 0?d:Math.min(d,Math.max(u-1,0))),n?.(a)}return i}function jc(e,t=0){return e<t?`up`:`down`}function Mc(e,t,n={}){let{direction:r,target:i}=e??{},{repeat:a=!0,enabled:o=!0}=n,s=At();h.useEffect(()=>{if(!r||!o)return;let e,n=0,s,c;return oe((o,{y:l})=>{if(!a&&c===i||l.current>l.scrollLength||l.current<0)return;let u=jc(l.current,e);e=l.current;let d=u!==s;if(s=u,d)n=l.current;else{if(Math.abs(l.current-n)<Cx)return;let e=u===r?i:void 0;e!==c&&t(e),c=e}})},[s,r,a,i,o,t])}function Nc(e,t,n){let r=Ac(e,t),i=[...Tx],a=r[0];if(!z(a))return Ex;if(a>1&&(r.unshift(0,a-1),i.unshift(`initial`,`initial`)),n){let e=r[r.length-1];if(!z(e))return Ex;r.push(e+1),i.push(`exit`)}return{inputRange:r,outputRange:i}}function Pc(e){return{x:e?.x??hx.x,y:e?.y??hx.y,scale:e?.scale??hx.scale,opacity:e?.opacity??hx.opacity,transformPerspective:e?.transformPerspective??hx.transformPerspective,rotate:e?.rotate??hx.rotate,rotateX:e?.rotateX??hx.rotateX,rotateY:e?.rotateY??hx.rotateY,skewX:e?.skewX??hx.skewX,skewY:e?.skewY??hx.skewY,transition:e?.transition??void 0}}function Fc({opacity:e,targetOpacity:t,perspective:n,enter:r,exit:i,animate:a,...o}){return h.useMemo(()=>({initial:r??Pc({...o,opacity:e??t??1,transformPerspective:n}),animate:a??Pc({opacity:t}),exit:i??Pc()}),[a,o,r,i,e,t,n])}function Ic(e,n){let r=Je(),i=Fc(e),a=e.styleAppearEffectEnabled,o=xc(a?i.initial:i.animate,a),s=h.useRef({isPlaying:!1,scheduledAppearState:void 0,lastAppearState:!e.styleAppearEffectEnabled}),c=At(),l=h.useRef(),u=h.useCallback(async({transition:t,...a},s)=>{let c=t??i.animate.transition??e.transition;await l.current;let u=ye.get(n.current);l.current=Promise.all(px.map(e=>{s&&o.values[e].set(i.initial[e]??hx[e]);let t=a[e]??hx[e];return u&&typeof t!=`object`&&u.setBaseTarget(e,t),new Promise(n=>{if(r&&e!==`opacity`)z(t)&&o.values[e].set(t),n();else{let r={restDelta:e===`scale`?.001:void 0,...c,onComplete:()=>n()};typeof t==`number`&&Ee(o.values[e],t,r)}})}))},[]),d=e.animateOnce&&s.current.lastAppearState===!0;ss(n,e=>{let{isPlaying:t,lastAppearState:n}=s.current;if(t){s.current.scheduledAppearState=e;return}s.current.scheduledAppearState=void 0,s.current.lastAppearState=e,n!==e&&u(e?i.animate:i.exit,e)},{enabled:!e.targets&&e.styleAppearEffectEnabled&&!e.scrollDirection&&!d,animateOnce:!!e.animateOnce,threshold:{y:e.threshold}});let f=e.targets&&a&&!e.scrollDirection;return h.useEffect(()=>{if(!f)return;let t={initial:!0},n=`initial`;return oe((r,{y:a})=>{let{targets:o}=e;if(!o||!o[0]||o[0].ref&&!o[0].ref.current)return;let{inputRange:s,outputRange:c}=Nc(o,(e.threshold??0)*a.containerLength,!!e.exit);if(s.length===0||s.length!==c.length)return;let l=re(a.current,s,c);if(e.animateOnce&&t[l]||(t[l]=!0,n===l))return;n=l;let d=Ey(i)[l];d&&u(d)})},[c,f]),Mc(e.scrollDirection,e=>void u(e??i.animate),{enabled:a,repeat:!e.animateOnce}),jt(()=>{if(a&&!(!e.targets&&!e.scrollDirection))for(let e of px)o.values[e].set(i.initial?.[e]??hx[e])}),t(()=>({values:o.values,style:a?gx:_x}),[a])}function Lc(e,t){let n=h.useRef({});h.useEffect(()=>{if(t!==void 0)for(let r of Th(e)){let i=function(){let e=n.current[r];e&&e.stop(),n.current[r]=Le({keyframes:[a.get(),s],velocity:a.getVelocity(),...t,restDelta:.001,onUpdate:o})},a=e[r],o,s;a.attach((e,t)=>(s=e,o=t,Oe.postRender(i),a.get()))}},[JSON.stringify(t)])}function Rc(e,t){let n=kx();return{inputRange:Ac(e,t,t=>{let r=e[t-1]?.target,i=e[t]?.target;for(let e of px)n[e]?.unshift(r?.[e]??0,i?.[e]??0)}),effectKeyOutputRange:n}}function zc(e){let t=kx();for(let{target:n}of e)for(let e of px)t[e]?.push(n[e]);return t}function Bc({transformTrigger:e,styleTransformEffectEnabled:t,transformTargets:n,spring:r,transformViewportThreshold:i=0},a){let o=Je(),s=xc(Ox(n,o),t),c=!t||!n,l=e===`onScrollTarget`,u=At();return j(()=>{if(!(c||!l))return oe((e,{y:t})=>{if(!n[0]||n[0].ref&&!n[0].ref.current)return;let{inputRange:r,effectKeyOutputRange:a}=Rc(n,i*t.containerLength);if(r.length!==0)for(let e of px)o&&e!==`opacity`||r.length===a[e].length&&a[e][0]!==void 0&&s.values[e].set(re(t.current,r,a[e]))})},[o,l,i,n,c]),is(a,t=>{if(c||l||t===null)return;let r=zc(n);return oe((e,{y:t})=>{for(let e of px)o&&e!==`opacity`||Ax.length===r[e].length&&r[e][0]!==void 0&&s.values[e].set(re(t.progress,Ax,r[e]))},e===`onInView`?{target:t??void 0,offset:[`start end`,`end end`]}:void 0)},[u,o,e,l,n,c]),Lc(s.values,r),jt(()=>{if(c)return;let e=Ox(n,o);for(let t of px)s.values[t].set(e?.[t]??hx[t])}),h.useMemo(()=>({values:s.values,style:t?gx:_x}),[t])}function Vc(e,t,n){return!(e in n)&&t in n||n[e]===!0}function Hc(e){let t={parallax:{},styleAppear:{},styleTransform:{},presence:{animate:e.animate,initial:e.initial,exit:e.exit},loop:{},forwardedProps:{},targetOpacityValue:e.__targetOpacity,withPerspective:e.__perspectiveFX,inSmartComponent:e.__smartComponentFX};for(let n in e){if(n===`__targetOpacity`||n===`__perspectiveFX`||n===`__smartComponentFX`)continue;let r=sc(n);if(r){for(let i of Mx)if(jx[i]?.has(r)){t[i][r]=Ey(e)[n];break}}else t.forwardedProps[n]=Ey(e)[n]}return t.parallax.parallaxTransformEnabled=Vc(`parallaxTransformEnabled`,`speed`,t.parallax),t.styleAppear.styleAppearEffectEnabled=Vc(`styleAppearEffectEnabled`,`animateOnce`,t.styleAppear),t}function Uc(e){return B(e)&&Fx in e}function Wc(e,t){if(!e||!B(e))return t;for(let n in e){let r=e[n];!Ce(r)||!bc(n)||z(r.get())&&t[n].push(r)}}function Gc(e){return R(e)||Array.isArray(e)}function Kc({presets:e,children:t}){let n=r(e);return wt(e,n.current,!1)||(n.current=e),g(Lx.Provider,{value:n.current,children:t})}function qc({componentIdentifier:e,children:t}){return t(C(Lx)[e]??{})}function Jc(){return h.useContext(Rx)}function Yc(e){return e instanceof Error&&(e.message.includes(`A component suspended while responding to synchronous input.`)||e.message.includes(`Minified React error #426`))}function Xc(){if(d===void 0||Vx)return g(`div`,{hidden:!0,dangerouslySetInnerHTML:{__html:`<!-- SuspenseThatPreservesDOM fallback rendered -->`}});throw Ux}function Zc({children:e}){return C(Gx)?g(O,{children:e}):g(D,{fallback:Wx,children:e})}function Qc(){return g(`div`,{hidden:!0,dangerouslySetInnerHTML:{__html:`<!-- Code boundary fallback rendered -->`}})}function $c(e,t){if(!hh||Math.random()>.01)return;let n=e instanceof Error&&typeof e.stack==`string`?e.stack:null,r=t?.componentStack;en(`published_site_load_recoverable_error`,{message:String(e),stack:n,componentStack:n?void 0:r})}function el(...e){console.error(...e)}function tl(){return Y.current()!==Y.canvas}function nl({getErrorMessage:e,fallback:t,children:n}){return tl()?g(rl,{fallback:t,children:g(qx,{fallback:t,getErrorMessage:e,children:n})}):n}function rl({children:e,fallback:t=Kx}){return d===void 0?g(D,{fallback:t,children:e}):g(Zc,{children:e})}function il(){return h.useContext(Yx)}function al(){let e=il();return h.useMemo(()=>{if(!e)return;let t=e;for(;t.parent&&t.parent.level>0;)t=t.parent;return t},[e])}function ol({children:e,scopeId:t,nodeId:n}){let r=il(),i=h.useMemo(()=>({level:(r?.level??0)+1,scopeId:t,nodeId:n,parent:r}),[t,n,r]);return g(Yx.Provider,{value:i,children:e})}function sl(e,t){return`${Xx}${e}:${t}`}function cl(e,t){return ul(`component`,e,t)}function ll(e,t){return ul(`override`,e,t)}function ul(e,t,n){return`A code ${e} crashed while rendering due to the error above. To find and fix it, open the project in the editor \u2192 open Quick Actions (press Cmd+K or Ctrl+K) \u2192 paste this: ${sl(t,n)} \u2192 click \u201CShow Layer\u201D.`}function dl(e,t,n,r,i,a){let o=pl(e,t,n,a);return o&&!i&&r||o&&i}function fl(e,t,n,r){return pl(e,t,n,r)}function pl(e,t,n,r){return!!($e(n)||n===1&&r&&e===t)}function ml(e,t,n,r,i,a){let o=il();return $e(t)||$e(n)?g(Jx,{children:e}):(dl(t,o?.scopeId,o?.level,r??!1,i??!1,a??!1)&&(e=g(nl,{getErrorMessage:cl.bind(null,t,n),fallback:null,children:e})),i&&(e=g(ol,{scopeId:t,nodeId:n,children:e})),e)}function hl(e,t,n){let r={};for(let[,i]of e)for(let e of i){let i=r[e]??t[e]??n[e];i&&(r[e]=i)}return r}function gl(e){return!(!e||e.placement||e.alignment)}function _l(e){switch(e){case`start`:return`0%`;case`center`:return`-50%`;case`end`:return`-100%`;default:H(e)}}function vl(e,t=`center`){switch(e){case`top`:return`${_l(t)}, -100%`;case`right`:return`0%, ${_l(t)}`;case`bottom`:return`${_l(t)}, 0%`;case`left`:return`-100%, ${_l(t)}`;default:return`-50%, -50%`}}function yl(e,t){let n=document.elementFromPoint(e,t);for(;n;){if(n===document.body)return;let e=n.getAttribute(`data-framer-cursor`);if(e)return e;if(n.hasAttribute(aS)){let e=n.getAttribute(aS);n=n.parentElement,e&&(n=document.getElementById(e)??n)}else n=n.parentElement}}function bl(e){let{registerCursors:t}=C($x),n=Bi(()=>e),r=ee();j(()=>t(n,r),[t,r])}function xl(e){return!!(e&&typeof e==`object`&&sS in e)}function Sl(e){return`${e.scopeId}:${e.nodeId}:${e.furthestExternalComponent?.scopeId}:${e.furthestExternalComponent?.nodeId}`}function Cl(){return Y.current()===Y.canvas}function wl(e){return e===void 0?!1:!!(e.startsWith(`#`)||e.startsWith(`/`)||e.startsWith(`.`))}function Tl(e,t){try{return!!new URL(e).protocol}catch{}return t}function El(e,t,n,r){if(R(e)){let i=wl(e);if(!t.routes||!t.getRoute||!n||!i)return;let[a]=e.split(`#`,2);if(a===void 0)return;let[o]=a.split(`?`,2);if(o===void 0)return;let{routeId:s}=Pr(t.routes,o,void 0,r);return t.getRoute(s)}let{webPageId:i}=e;return t.getRoute?.(i)}function Dl(e){return R(e)&&e.startsWith(`data:${mS}`)}function Ol(e){if(Dl(e))try{let t=new URL(e),n=t.pathname.substring(mS.length),r=t.searchParams,i=r.has(uS)?r.get(uS):void 0,a,o=r.get(dS),s=r.get(fS),c=r.get(pS);return o&&s&&c&&(a={collection:o,collectionItemId:s,pathVariables:Object.fromEntries(new URLSearchParams(c).entries())}),{target:n===`none`?null:n,element:i===`none`?void 0:i,collectionItem:a}}catch{return}}function kl(e,t,n){let r=t.getAttribute(`data-framer-page-link-target`),i,a;if(r){i=t.getAttribute(`data-framer-page-link-element`)??void 0;let e=t.getAttribute(`data-framer-page-link-path-variables`);e&&(a=Object.fromEntries(new URLSearchParams(e).entries()))}else{let e=t.getAttribute(`href`);if(!e)return!1;let n=Ol(e);if(!n||!n.target)return!1;r=n.target,i=n.element??void 0,a=n.collectionItem?.pathVariables}let o=i?t.dataset.framerSmoothScroll!==void 0:void 0;return e(r,i,Object.assign({},n,a),o),!0}function Al(e){if(!Dl(e))return e;let t=Ol(e);if(!t)return;let{target:n,element:r,collectionItem:i}=t;if(n)return{webPageId:n,hash:r??void 0,pathVariables:jl(i)}}function jl(e){if(!e)return;let t={};for(let n in e.pathVariables){let r=e.pathVariables[n];r&&(t[n]=r)}return t}function Ml(e,n,r,i,a,o){let s=C(hS),c=al(),l=t(()=>({scopeId:n,nodeId:r,furthestExternalComponent:c}),[n,r,c]),u=Dt(),d=kt(),{locales:f}=_r(),p=t(()=>{let e=xl(i)?i:Al(i);if(e)return El(e,u,d,f)},[d,i,u,f]),m=!!(!Cl()&&s?.nodeId&&l.nodeId),h=S(e=>{if(a.href){if(e.preventDefault(),e.stopPropagation(),Oa(e)){Fl(a.href,``,`_blank`);return}p?a.navigate?.():Fl(a.href,a.rel,a.target)}},[a,p]),_=S(e=>{a.href&&(e.preventDefault(),e.stopPropagation(),Fl(a.href,``,`_blank`))},[a]),v=S(e=>{a.href&&e.key===`Enter`&&(e.preventDefault(),e.stopPropagation(),p?a.navigate?.():Fl(a.href,a.rel,a.target))},[a,p]);is(o,e=>{e!==null&&m&&(e.dataset.hydrated=`true`)},[m]);let y=e;return m&&(A.forEach(e,e=>{Pl(e)&&(V(Nl(s),"outerLink must have nodeId defined at this point; this was verified with `shouldReplaceLink` above"),V(Nl(l),"innerLink must have nodeId defined at this point; this was verified with `shouldReplaceLink` above"),lS.collectNestedLink(s,l))}),y=A.map(e,e=>{if(!Pl(e))return e;let t=Il(e.type),{children:n,...r}=e.props,i={...r,"data-nested-link":!0,role:`link`,tabIndex:0,onClick:h,onAuxClick:_,onKeyDown:v,as:r.as&&Il(r.as)},a=`ref`in e?e.ref:void 0;return k(t,{...i,ref:a},n)})),g(hS.Provider,{value:l,children:y})}function Nl(e){return!$e(e?.nodeId)}function Pl(e){return v(e)&&(Il(e.type)!==e.type||Il(e.props.as)!==e.props.as)}function Fl(e,t,n){let r=document.createElement(`a`);r.href=e,t&&(r.rel=t),n&&(r.target=n),document.body.appendChild(r),r.click(),r.remove()}function Il(e){return e===`a`?`span`:qe(e)&&pe(e)===`a`?ae.span:e}function Ll({component:e,props:t}){let n=C(Qb),r=k(e,t);if(`variant`in t&&t.variant!=null||!n)return r;let{activeVariantId:i,humanReadableVariantMap:a}=n;if(!i||!a)return r;let o={};for(let[e,t]of Object.entries(a))o[t]={variant:e};return g(rx,{overrides:o,breakpoint:i,children:r})}function Rl(e,t){return e instanceof HTMLAnchorElement?e:e instanceof Element?e===t?null:Rl(e.parentElement,t):null}function zl({children:e}){return g(Zc,{children:e})}function Bl(e){return b(function(t,n){return g(zl,{children:g(e,{...t,ref:n})})})}function Vl(e,t,n,r,i,a){let{webPageId:o,hash:s,pathVariables:c,hashVariables:l}=n;return Ul(e,t,o,s,a,c,l,i,r)}function Hl(e,t,n,r){if(!(!e.routes||!e.getRoute)&&wl(t))try{let[i,a]=t.split(`#`,2);V(i!==void 0,`A href must have a defined pathname.`);let[o]=i.split(`?`,2);V(o!==void 0,`A href must have a defined pathname.`);let{routeId:s,pathVariables:c,localeId:l}=Pr(e.routes,o,void 0,r),u=e.getRoute(s);if(u)return{routeId:s,route:u,href:t,elementId:a,pathVariables:Object.assign({},n,c),locale:l?r?.find(({id:e})=>e===l):void 0}}catch{}}function Ul(e,t,n,r,i,a,o,s,c){let l={...i,...a,...s?.path},u={...i,...o,...s?.hash},d=e.getRoute?.(n),f=ar(d,{currentRoutePath:t?.path,currentRoutePathLocalized:t?.pathLocalized,currentPathVariables:t?.pathVariables,hash:r,pathVariables:l,hashVariables:u,preserveQueryParams:e.preserveQueryParams,siteCanonicalURL:e.siteCanonicalURL,localeId:c?.id});return{routeId:n,route:d,href:f,elementId:f.split(`#`,2)[1],pathVariables:l,locale:c??void 0}}function Wl(){let e=C(bS),t=kt()?.pathVariables;return e||t}function Gl(e,{webPageId:t,hash:n,pathVariables:r},i){if(t!==e.id||n)return!1;if(e.path&&e.pathVariables){let t=Object.assign({},i,r);for(let[,n]of e.path.matchAll(yS))if(!n||e.pathVariables[n]!==t[n])return!1}return!0}function Kl(){let e=o.connection||o.mozConnection||o.webkitConnection||{},t=o.deviceMemory&&o.deviceMemory>CS,n,r,i;function a(){n=e.effectiveType||``,r=e.saveData||n.includes(`2g`),i=n===`3g`||t?wS:TS}e.addEventListener?.(`change`,a),a();let s=new IntersectionObserver(u,{threshold:SS}),c=0;async function l(e,t){if(r)return;let{id:n,preload:i}=e,a=OS.get(n);if(!a?.size||DS.has(n))return;++c,DS.add(n);let o=i()?.catch(()=>{});s.unobserve(t),ES.delete(t);for(let e of a)s.unobserve(e),ES.delete(e);a.clear(),OS.delete(n),await o,--c}function u(e){for(let t of e){let e=t.target,n=ES.get(e);if(!n||DS.has(n.id)){s.unobserve(e),ES.delete(e);continue}let r=n.id,a=OS.get(r),o=OS.get(r)?.size??0;if(t.isIntersecting){if(c>=i)continue;a?a.add(e):OS.set(r,new Set([e])),setTimeout(l,xS,n,e)}else a&&a.delete(e),o<=1&&OS.delete(r)}}return(e,t,n)=>{if(!DS.has(n))return ES.set(e,{id:n,preload:t}),s.observe(e),()=>{ES.delete(e),s.unobserve(e)}}}function ql(e,t){let n=wl(e),r={href:e===``||Tl(e,n)?e:`https://${e}`,target:Jl(t?.openInNewTab,n),rel:n?void 0:Yl(`noopener`,t?.rel)};return t?.preserveParams&&(r.href=Dn(r.href??e),r[`data-framer-preserve-params`]=!0),t?.trackLinkClick&&(r.onClick=()=>{t.trackLinkClick(e)}),r}function Jl(e,t){return e===void 0?t?void 0:`_blank`:e?`_blank`:void 0}function Yl(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e&&t)return`${e} ${t}`}function Xl(e,t){console.warn(ct(`Failed to resolve slug: ${e instanceof Error?e.message:t??`Unknown error`}`))}function Zl(e,t,n){try{let r=t?.get(e.collectionId);if(!r)return Xl(void 0,`Couldn't find collection utils for collection id: "${e.collectionId}"`);let i=r.getSlugByRecordId(e.collectionItemId,n??void 0);return at(i)?i.catch(Xl):i}catch(e){Xl(e)}}function Ql(e,t,n,r,i=[]){function a(e){if(!e)return;let t={};for(let a in e){let o=e[a];if(!o)continue;let s=Zl(o,r,n);at(s)?i.push(s):s&&(t[a]=s)}return t}let o={path:a(e),hash:a(t)};return i.length>0?Promise.allSettled(i):o}function $l(){let e=fn();return S((t,n,r,i=[])=>Ql(t,n,r,e,i),[e])}function eu({nodeId:e,clickTrackingId:t,router:n,href:r,activeLocale:i}){let a=fn();return S(async o=>{if(!n.pageviewEventData?.current)return;let s=n.pageviewEventData.current instanceof Promise?await n.pageviewEventData.current:n.pageviewEventData.current,c=xl(r)?r:Al(r);if(!xl(c))return en(`published_site_click`,{...s,href:o?tu(o):null,nodeId:e??null,trackingId:t||null,targetRoutePath:null,targetWebPageId:null,targetCollectionItemId:null},`eager`);let l=c.webPageId,u=n?.getRoute?.(l),d=u?.path??null,f=null;if(u?.collectionId&&c.pathVariables){let e=a?.get(u.collectionId);if(!e)return;let[t]=Object.values(c.pathVariables);if(R(t)){let n=e.getRecordIdBySlug(t,i||void 0);f=(at(n)?await n:n)??null}}return en(`published_site_click`,{...s,href:o?tu(o):null,nodeId:e??null,trackingId:t??null,targetRoutePath:d,targetWebPageId:l,targetCollectionItemId:f},`eager`)},[e,t,n,r,i,a])}function tu(e){try{let t=new URL(e,q.document.baseURI);return t.origin===q.location.origin?t.pathname+t.search+t.hash:t.href}catch{return e}}function nu(e,t,n,r,i,a,o){n(),e.navigate?.(t,r,i,a,o)}function ru(e,t,n){return async r=>{let i=Oa(r),a=Rl(r.target),o=!a||a.getAttribute(`target`)===`_blank`,s=!i&&!o,c=()=>void t(e);if(!s){await _n({priority:`user-blocking`,ensureContinueBeforeUnload:!0,continueAfter:`paint`}),c();return}r.preventDefault(),n(c)}}function iu(e,t,n,r,i,a,o,s){if(!n)return ql(e,r);let c=Hl(t,e,s,o);if(!c)return ql(e,r);let{routeId:l,route:u,elementId:d,pathVariables:f,locale:p}=c;if(!u)return ql(e,r);let m=ar(u,{currentRoutePath:n.path,currentRoutePathLocalized:n.pathLocalized,currentPathVariables:n.pathVariables,hash:d,pathVariables:f,preserveQueryParams:t.preserveQueryParams&&!gh,siteCanonicalURL:t.siteCanonicalURL,localeId:a}),h=Jl(r.openInNewTab,!0),g=h===`_blank`,_={pathVariables:f,locale:p},v=e=>nu(t,l,()=>i(l,_,!1,!g),d,f,r.smoothScroll,e);return{href:m,target:h,onClick:ru(m,r.trackLinkClick,v),navigate:v,"data-framer-page-link-current":n&&Gl(n,{webPageId:l,hash:d,pathVariables:f},s)||void 0,preload:()=>i(l,_,!0,!g),_routeId:l,_pathVariables:f,_locale:p}}function au(e,t,n){let r=ou(e.style,t.style),i={...e,...t,...r&&{style:r},ref:n},{onTap:a,onClick:o}=t;if(!a&&!o)return i;let{onClick:s,onTap:c}=e;return{...i,onClick:o||s?e=>{Ye(s)&&s?.(e),o?.(e)}:void 0,onTap:a||c?(e,t)=>{Ye(c)&&c?.(e,t),a?.(e,t)}:void 0}}function ou(e,t){let n=B(e)?e:void 0,r=n&&!Qe(n),i=t&&!Qe(t);if(!(!r&&!i))return{...n,...t}}function su(e,t,n){if(!(t&&_a()))return e;let{onClick:r,...i}=e;return r?n?{...i,onTap:r,onClick:cu}:{...i,onTap:r}:e}function cu(e){let t=Rl(e.target);!t||t.getAttribute(`target`)===`_blank`||e.preventDefault()}function lu(e,t,n,r,i,a){let o=xl(e)?e:Al(e);if(!xl(o))return R(e)?ql(e).href:void 0;if(!t.getRoute||!t.currentRouteId)return;let s=t.getRoute(t.currentRouteId),{webPageId:c,hash:l,pathVariables:u,hashVariables:d,unresolvedHashSlugs:f,unresolvedPathSlugs:p}=o,m=t.getRoute(c),h=p||f?a?.(p,f):void 0;if(at(h))return;let g=Object.assign({},t.currentPathVariables,n,u,h?.path),_=Object.assign({},t.currentPathVariables,n,d,h?.hash),v=ar(m,{currentRoutePath:s?.path,currentRoutePathLocalized:s?.pathLocalized,currentPathVariables:t.currentPathVariables,hash:l,pathVariables:g,hashVariables:_,relative:!1,preserveQueryParams:t.preserveQueryParams,onlyHash:r,siteCanonicalURL:t.siteCanonicalURL,localeId:i?.id});return r?v:(i?.slug?`/${i.slug}`:``)+v}function uu({EditorBar:e,fast:n=!1}){let r=Mh(),i=C(jS),a=te(yh,n?PS:FS,xh),o=t(()=>{let e={},t;for(t in r)r.hasOwnProperty(t)&&(t.startsWith(`editorBar`)||t.startsWith(`onPage`))&&(e[t]=r[t]);return e},[r]);return!e||!i||!a?null:g(NS,{children:g(D,{children:g(e,{framerSiteId:i,features:o})})})}function du({currentRoutePath:e,routerAPI:t,children:n}){let i=r(),a=r(),o=r(t),c=r(null);o.current=t,s(()=>{e&&(i.current??=new Set,i.current.add(e),a.current?.(e))},[e]);let[l]=u(()=>({getInitialState:()=>({visitedPages:i.current??new Set,getCurrentRoutePath:()=>o.current?pu(o.current,o.current.currentRouteId,o.current.currentPathVariables):``,resolveRoute:e=>o.current?pu(o.current,e.webPageId,e.pathVariables):``,setRouteChangeHandler:e=>{a.current=e},sendTrackingEvent:async e=>{o.current&&fu(o.current.pageviewEventData.current,e)}}),triggerStateRef:c}));return g(IS.Provider,{value:l,children:n})}async function fu(e,t){if(!tn(t.trackingId))return;let n=e instanceof Promise?await e:e;n&&en(`published_site_trigger_invoke`,{...n,...t,trackingId:t.trackingId||null},`lazy`)}function pu(e,t,n){let r=e.getRoute(t);return!r||!r.path?``:n?En(r.path,n):r.path}function mu({children:e,loadSnippetsModule:t}){return g(qS.Provider,{value:t,children:e})}function hu(){return h.useContext(qS)}function gu(e){return{start:`<!-- Snippet: ${e} -->`,end:`<!-- SnippetEnd: ${e} -->`}}async function _u(e,t,n=`beforeend`){let r,i;switch(n){case`beforebegin`:V(t.parentNode,`Can't use 'beforebegin' with a referenceNode at the top level`),r=t.parentNode,i=t;break;case`afterend`:V(t.parentNode,`Can't use 'afterend' with a referenceNode at the top level`),r=t.parentNode,i=t.nextSibling;break;case`afterbegin`:r=t,i=t.firstChild;break;case`beforeend`:r=t,i=null;break;default:H(n)}let a=document.createRange();a.selectNodeContents(r),await vu(a.createContextualFragment(e),r,i)}async function vu(e,t,n){for(let r=e.firstChild;r;r=r.nextSibling){if(r instanceof HTMLScriptElement){let e=yu(r,t,n);e!==void 0&&await e;continue}let e=r.cloneNode(!1);t.insertBefore(e,n),r.firstChild&&await vu(r,e,null)}}function yu(e,t,n){let r=e.cloneNode(!0);if(!e.hasAttribute(`src`)||e.hasAttribute(`async`)||e.hasAttribute(`defer`)||e.getAttribute(`type`)?.toLowerCase()===`module`)t.insertBefore(r,n);else return bu(r,t,n)}function bu(e,t,n){return new Promise(r=>{e.onload=e.onerror=r,t.insertBefore(e,n)})}function xu(e){let t,n;switch(e){case`bodyStart`:t=US,n=WS;break;case`bodyEnd`:t=GS,n=KS;break;case`headStart`:t=zS,n=BS;break;case`headEnd`:t=VS,n=HS;break}let r=e===`bodyStart`||e===`bodyEnd`?document.body:document.head,i=null,a=null;for(let e of r.childNodes){if(e.nodeType!==Node.COMMENT_NODE)continue;let r=`<!--${e.nodeValue}-->`;r===t?i=e:r===n&&(a=e)}return{start:i,end:a}}function Su(e,t,n){if(!t||!n)return{start:null,end:null};let r=null,i=null,{start:a,end:o}=gu(e),s=t.nextSibling;for(;s&&s!==n;){if(s.nodeType!==Node.COMMENT_NODE){s=s.nextSibling;continue}let e=`<!--${s.nodeValue}-->`;if(e===a)r=s;else if(e===o){i=s;break}s=s.nextSibling}return{start:r,end:i}}async function Cu(e,t,n){if(t.length===0)return;let{start:r,end:i}=xu(e),a=e===`bodyStart`||e===`bodyEnd`?document.body:document.head;for(let e of t){let{start:t,end:o}=Su(e.id,r,i),s=t&&o;if(s&&e.loadMode===`once`)continue;if(wu(t,o),s){await _u(e.code,o,`beforebegin`);continue}let{start:c,end:l}=gu(e.id),u=`${c}
${e.code}
${l}`,d=Eu(e.id,n,r,i);d?await _u(u,d,`afterend`):await _u(u,r??a,r?`afterend`:`beforeend`)}}function wu(e,t){if(!e||!t)return;let n=e.nextSibling;for(;n&&n!==t;){let e=n.nextSibling;Tu(n)&&n.remove(),n=e}}function Tu(e){if(e.nodeType!==Node.ELEMENT_NODE)return!0;if(e.nodeName===`SCRIPT`){let t=e.type;if(!t||t===`text/javascript`||t===`module`)return!1}return!0}function Eu(e,t,n,r){let i=t.indexOf(e)-1;if(i<0)return null;for(let e=i;e>=0;e--){let i=t[e];if(!i)continue;let a=Su(i,n,r).end;if(a)return a}return null}function Du(){let e=hu();return S(async(t,n,r,i)=>{if(!e)return;let a=document.getElementById(LS),o=a&&a.dataset[RS]!==void 0;if(i&&o)return;let{getSnippets:s,snippetsSorting:c}=await e.readMaybeAsync(),l=await s(t,n,r);for(let e in l){let t=e,n=l[t],r=c[t];await Cu(t,n,r)}},[e])}function Ou(e,t){if(e.routeId!==t.routeId)return!1;if(e.pathVariables===t.pathVariables)return!0;let n=e.pathVariables||{},r=t.pathVariables||{};return n.length===r.length&&Object.keys(n).every(e=>n[e]===r[e])}function ku(){let e=Intl.DateTimeFormat().resolvedOptions();JS=e.timeZone,YS=e.locale}function Au(){let[e,t]=h.useState(0);return[e,h.useCallback(()=>t(e=>e+1),[])]}function ju(e,t,n){let r=e&&document.getElementById(e);if(r){Lu(r,t);return}n||d.scrollTo(0,0)}function Mu(e){let t=r([]);return j(()=>{t.current?.length&&(t.current.forEach(e=>e()),t.current=[])},[e]),S(e=>{t.current.push(e)},[])}function Nu(e){if(!e)return mh;let t=!1;return()=>{t||(t=!0,e?.())}}function Pu(){let e=ur(),t=r(void 0);return S(async(n,r,i,a=!0)=>{let o=i!==void 0;t.current?.abort();let s=a?new AbortController:void 0;t.current=s;let c=s?.signal,l=Pt(c);if(r.promise.finally(l),!o)return t.current=void 0,n(c),r.promise;n(c);let u;if(e(new Promise((e,t)=>{u=e,c?.addEventListener(`abort`,t)}).catch(mh),i,s),await r.promise,c?.aborted)return;let f=d.navigation?.transition;u();try{await f?.finished}catch(e){console.error(`Navigation transition failed`,e)}c?.aborted||Og()},[e])}function Fu({defaultPageStyle:e,disableHistory:n,initialPathVariables:i,initialRoute:a,notFoundPage:o,collectionUtils:l,routes:u,initialLocaleId:f,initialCollectionItemId:p,locales:m=kh,preserveQueryParams:h=!1,LayoutTemplate:_,EditorBar:v,siteCanonicalURL:b,adaptLayoutToTextDirection:x}){Er(),nr({disabled:n,routeId:a,initialPathVariables:i,initialLocaleId:f});let C=Jn(),[T,E]=Au(),D=Mu(T),O=Pu(),k=Zn(`framer-route-change`),{synchronousNavigationOnDesktop:ee}=Mh(),A=t(()=>!ee||!Da()?y:e=>e(),[ee]),te=Du(),ne=r(!0),re=r(),ie=r(a),ae=r(i),oe=r(f),M=oe.current,se=t(()=>m.find(({id:e})=>M?e===M:e===Nh)??null,[M,m]),ce=se?.textDirection??`ltr`,le=x?ce:`ltr`;j(()=>{x&&document.documentElement.setAttribute(`dir`,ce)},[ce,x]);let ue=sr(),de=t(()=>({activeLocale:se,locales:m,setLocale:async e=>{let t=k({localized:!0});await _n({priority:`user-blocking`,continueAfter:`paint`});let n;R(e)?n=e:B(e)&&(n=e.id);let r=m.find(({id:e})=>e===Nh),i=m.find(({id:e})=>e===n);if(!i)return;let a=ie.current,o=u[a];if(o)try{let e=await ue({currentLocale:se,nextLocale:i,route:o,routeId:a,defaultLocale:r,pathVariables:ae.current,preserveQueryParams:h});if(!e)return;let n=$n(d.history.state)?d.history.state.paginationInfo:void 0,s=e.path;ne.current=!1,ae.current=e.pathVariables,oe.current=i.id,O(()=>{C(a,a,()=>A(E))},t,async(t=!1)=>{if(s)return tr({routeId:a,pathVariables:e.pathVariables,localeId:i.id,paginationInfo:n},s,t)},!1)}catch{}}}),[se,E,m,h,u,O,C,k,A,ue]),fe=S((e,t,n,r,i,a,o,s=!1,c)=>{ne.current=!1;let l=ie.current;if(ie.current=e,ae.current=i,oe.current=t,re.current=r,D(()=>{ju(n,s,a)}),a){A(E);return}O(t=>{C(l,e,()=>A(E),t)},o,c,!0)},[E,D,O,C,A]);rr(ie,fe);let pe=S(async(e,t,r,i,a)=>{let o=u[e],s=ut(o?.page)?o.page.getStatus():void 0,c=s?.hasRendered,l=k({cached:c,preloaded:c?void 0:s?.hasLoaded}),f=Nu(a);if(_n({priority:`background`,ensureContinueBeforeUnload:!0,continueAfter:`paint`}).then(f),await _n({priority:`user-blocking`,continueAfter:`paint`}),r){let e=new Set,t=o?.path??`/`;for(let n of t.matchAll(gg)){let t=n[1];if(t===void 0)throw Error(`A matching path variable should not be undefined`);e.add(t)}r=Object.fromEntries(Object.entries(r).filter(([t])=>e.has(t)))}let p=Nt(o,t),m=ae.current,g=oe.current;if(Ou({routeId:ie.current,pathVariables:m},{routeId:e,pathVariables:r})){l.ignore?.();let a=u[e];d.history.state?.hash!==t&&!n&&a&&(f(),await Qn(e,a,{currentRoutePath:a.path,currentPathVariables:m,pathVariables:r,hash:t,localeId:g,preserveQueryParams:h,siteCanonicalURL:b,currentRoutePathLocalized:a.pathLocalized})),ju(p,i,!1);return}if(!o)return;let _=u[ie.current];fe(e,g,p,jn(b)+ar(o,{currentRoutePath:_?.path,currentRoutePathLocalized:_?.pathLocalized,currentPathVariables:m,hash:t,pathVariables:r,localeId:g,preserveQueryParams:h,siteCanonicalURL:b,relative:!1}),r,!1,l,i,n?void 0:async(n=!1)=>(f(),Qn(e,o,{currentRoutePath:_?.path,currentPathVariables:m,currentRoutePathLocalized:_?.pathLocalized,hash:t,pathVariables:r,localeId:g,preserveQueryParams:h,siteCanonicalURL:b},n)))},[u,fe,n,h,b,k]),me=Tt(u),he=ie.current,ge=re.current,N=ae.current,_e=u[he],P=_e?.path,ve=XS(_e,he,ge,N,se,p),ye=ne.current;s(()=>{te(he,N??{},de.activeLocale,ye)},[te,he,N,de,ye]);let be=t(()=>({navigate:pe,getRoute:me,currentRouteId:he,currentPathVariables:N,routes:u,collectionUtils:l,preserveQueryParams:h,pageviewEventData:ve,siteCanonicalURL:b,isInitialNavigation:ye}),[pe,me,he,N,u,l,h,b,ve,ye]);if(!_e)throw Error(`Router cannot find route for ${he}`);let xe=!se||!_e.includedLocales||_e.includedLocales.includes(se.id),F=P&&N?En(P,N):P,I=String(M)+F,Se=Bi(()=>({...e,display:`contents`}));return g(Et,{api:be,children:g(Lg.Provider,{value:de,children:g(Rg.Provider,{value:le,children:g(rS,{children:g(yr,{children:w(du,{currentRoutePath:F,routerAPI:be,children:[v&&g(uu,{EditorBar:v,fast:!0}),g(Hx,{children:w(Zc,{children:[w(p_,{notFoundPage:o,defaultPageStyle:e,forceUpdateKey:T,children:[g(d_.Start,{}),g(Iu,{LayoutTemplate:_,webPageId:_e?.abTestingVariantId??he,style:e,children:t=>g(c,{children:xe?jr(_e.page,t?Se:e):o&&jr(o,e)},I)})]}),v&&g(uu,{EditorBar:v}),g(Sr,{}),g(d_.End,{})]})})]})})})})})})}function Iu({LayoutTemplate:e,webPageId:t,style:n,children:r}){return e?g(e,{webPageId:t,style:n,children:r}):r(!1)}function Lu(e,t){let n=t?{behavior:`smooth`,block:`start`,inline:`nearest`}:void 0;e.scrollIntoView(n)}function Ru(e){return new Promise((t,n)=>{try{new URL(e);let r=new Image;r.onload=()=>t(),r.onerror=n,r.src=e}catch(e){n(e)}})}function zu(e){return typeof e==`object`&&!!e}function Bu(e,t){if(t===``)return e;let n=t.split(/[.[\]]+/u).filter(e=>e.length>0),r=e;for(let e of n){if(!zu(r))return;r=r[e]}return r}function Vu(e){return`${e.credentials}:${e.url}`}function Hu(e){return R(e)&&!Number.isNaN(Number(e))}function Uu(e,t){switch(e){case`string`:return R(t)||z(t);case`color`:return R(t);case`boolean`:return Xe(t);case`number`:return z(t)||Hu(t);case`link`:case`image`:return R(t)&&Tl(t,!1);default:return!1}}function Wu(e,t){if(e.status===`loading`)return t.fallbackValue;if(e.status===`error`)throw e.error;let n=Bu(e.data,t.resultKeyPath);if($e(n))throw Error(`Key '${t.resultKeyPath}' not found in response`);if(!Uu(t.resultOutputType,n))throw Error(`Resolved value '${n}' is not valid for type '${t.resultOutputType}'`);return n}function Gu(e,t){if(Y.current()===Y.canvas)return!1;let n=Math.max(t*1e3,QS);return Date.now()>=e+n}function Ku(e){let{RootComponent:t,isWebsite:n,environment:r,routeId:i,framerSiteId:a,pathVariables:o,routes:s,collectionUtils:c,notFoundPage:l,isReducedMotion:u=!1,includeDataObserver:d=!1,localeId:f,locales:p,preserveQueryParams:m,EditorBar:_,defaultPageStyle:v,disableHistory:y,LayoutTemplate:b,siteCanonicalURL:x,adaptLayoutToTextDirection:S,loadSnippetsModule:C,initialCollectionItemId:w}=e;return h.useEffect(()=>{n||B_.start()},[]),n?g(pr,{value:r??`preview`,children:g(ke,{reducedMotion:u?`user`:`never`,children:g(dn,{collectionUtils:c,children:g(uC,{children:g(jS.Provider,{value:a,children:g(mu,{loadSnippetsModule:C,children:g(Fu,{initialRoute:i,initialPathVariables:o,initialLocaleId:f,initialCollectionItemId:w,routes:s,collectionUtils:c,notFoundPage:l,locales:p,defaultPageStyle:v??{minHeight:`100vh`,width:`auto`},preserveQueryParams:m,EditorBar:_,disableHistory:y,LayoutTemplate:b,siteCanonicalURL:x,adaptLayoutToTextDirection:S})})})})})})}):g(d?Yb:h.Fragment,{children:g(Ot,{routes:s,children:g(zb,{children:h.isValidElement(t)?t:h.createElement(t,{key:i})})})})}function qu(e){return{trace(...t){return Ny.getLogger(e)?.trace(...t)},debug(...t){return Ny.getLogger(e)?.debug(...t)},info(...t){return Ny.getLogger(e)?.info(...t)},warn(...t){return Ny.getLogger(e)?.warn(...t)},error(...t){return Ny.getLogger(e)?.error(...t)},get enabled(){return Ny.getLogger(e)!==void 0}}}function Ju(e){let t=e.next();return V(t.done,`Generator must not yield`),t.value}async function Yu(e,t=e.next()){for(;!t.done;){let n=await t.value;t=e.next(n)}return t.value}function Xu(e){let t=e.next();return t.done?t.value:Yu(e,t)}function*G(e){let t={},n=Object.keys(e),r=[];for(let i of n){let n=e[i];if(rt(n)){let e=n.next();e.done?t[i]=e.value:r.push(Yu(n,e).then(e=>{t[i]=e}))}else t[i]=n}return r.length>0&&(yield Promise.all(r)),t}function*Zu(e){let t=[],n=e.keys(),r=[];for(let i of n){let n=e[i];if(rt(n)){let e=n.next();e.done?t[i]=e.value:r.push(Yu(n,e).then(e=>{t[i]=e}))}else t[i]=n}return r.length>0&&(yield Promise.all(r)),t}function Qu(e){return td(e)||id(e)}function $u(e){return Ze(e)&&e.every(B)}function ed(e){return B(e)&&Ye(e.read)&&Ye(e.preload)}function td(e){return $u(e)||ed(e)}function nd(e){return B(e)&&B(e.schema)}function rd(e){return B(e)&&B(e.collectionByLocaleId)}function id(e){return nd(e)||rd(e)}function ad(e,t,n){let r=e.value.length,i=t.value.length;if(r<i)return-1;if(r>i)return 1;for(let i=0;i<r;i++){let r=e.value[i],a=t.value[i],o=Pd(r,a,n);if(o!==0)return o}return 0}function od(e,t){switch(e?.type){case`array`:return{type:`array`,value:e.value.map(e=>Z.cast(e,t.definition))}}return null}function sd(e,t){return e.value<t.value?-1:e.value>t.value?1:0}function cd(e){switch(e?.type){case`boolean`:return e;case`number`:case`string`:return{type:`boolean`,value:!!e.value}}return null}function ld(e){return cd(e)?.value??!1}function ud(e,t){return e.value<t.value?-1:e.value>t.value?1:0}function dd(e){switch(e?.type){case`color`:return e}return null}function fd(e,t){let n=new Date(e.value),r=new Date(t.value);return n<r?-1:n>r?1:0}function pd(e){switch(e?.type){case`date`:return e;case`number`:case`string`:{let t=new Date(e.value);return nt(t)?{type:`date`,value:t.toISOString()}:null}}return null}function md(e,t){return e.value<t.value?-1:e.value>t.value?1:0}function hd(e){switch(e?.type){case`enum`:return e;case`string`:return{type:`enum`,value:e.value}}return null}function gd(e,t){return e.value<t.value?-1:e.value>t.value?1:0}function _d(e){switch(e?.type){case`file`:return e}return null}function vd(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return n<r?-1:n>r?1:0}function yd(e){switch(e?.type){case`link`:return e;case`string`:try{let{protocol:t}=new URL(e.value);return t===`http:`||t===`https:`?{type:`link`,value:e.value}:null}catch{return null}}return null}function bd(e,t){return e.value<t.value?-1:e.value>t.value?1:0}function xd(e){switch(e?.type){case`number`:case`string`:{let t=Number(e.value);return Number.isFinite(t)?{type:`number`,value:t}:null}}return null}function Sd(e){return xd(e)?.value??null}function Cd(e,t,n){let r=Object.keys(e.value).sort(),i=Object.keys(t.value).sort();if(r.length<i.length)return-1;if(r.length>i.length)return 1;for(let a=0;a<r.length;a++){let o=r[a],s=i[a];if(o<s)return-1;if(o>s)return 1;let c=Pd(e.value[o]??null,t.value[s]??null,n);if(c!==0)return c}return 0}function wd(e,t){switch(e?.type){case`object`:{let n={},r=Object.entries(t.definitions);for(let[t,i]of r){let r=e.value[t]??null;n[t]=Z.cast(r,i)}return{type:`object`,value:n}}}return null}function Td(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return n<r?-1:n>r?1:0}function Ed(e){switch(e?.type){case`responsiveimage`:return e}return null}function Dd(e,t){let n=e.value,r=t.value;return n<r?-1:n>r?1:0}function Od(e){switch(e?.type){case`richtext`:return e}return null}function kd(e,t){let n=e.value,r=t.value;return n<r?-1:n>r?1:0}function Ad(e){switch(e?.type){case`vectorsetitem`:return e}return null}function jd(e,t,n){let r=e.value,i=t.value;return n.type===0&&(r=e.value.toLowerCase(),i=t.value.toLowerCase()),r<i?-1:r>i?1:0}function Md(e){switch(e?.type){case`string`:return e;case`number`:return{type:`string`,value:String(e.value)}}return null}function Nd(e){return Md(e)?.value??null}function Pd(e,t,n){if(et(e)||et(t))return V(e===t),0;switch(e.type){case`array`:return V(e.type===t.type),ad(e,t,n);case`boolean`:return V(e.type===t.type),sd(e,t);case`color`:return V(e.type===t.type),ud(e,t);case`date`:return V(e.type===t.type),fd(e,t);case`enum`:return V(e.type===t.type),md(e,t);case`file`:return V(e.type===t.type),gd(e,t);case`link`:return V(e.type===t.type),vd(e,t);case`number`:return V(e.type===t.type),bd(e,t);case`object`:return V(e.type===t.type),Cd(e,t,n);case`responsiveimage`:return V(e.type===t.type),Td(e,t);case`richtext`:return V(e.type===t.type),Dd(e,t);case`vectorsetitem`:return V(e.type===t.type),kd(e,t);case`string`:return V(e.type===t.type),jd(e,t,n);default:H(e)}}async function Fd(e,t){return ed(e)?(await e.preload(t),e.read(t)):e}function Id(e){return e.includes(gC)}function Ld(e){if(!id(e)||!e.id)return;let t=mC.get(e.id);if(!t)return mC.set(e.id,new WeakRef(e)),e.id;if(t.deref()===e)return e.id}function Rd(e){let t=Ld(e);if(t)return t;let n=hC.get(e);if(n)return n;let r=`${gC}${Math.random().toString(16).slice(2)}`;return hC.set(e,r),r}function zd(e,t){if(td(e)){let n=Rd(e)+(t?.id??Nh),r=_C.get(n);if(r)return r;let i=new pC(e,t);return _C.set(n,i),i}if(nd(e))return e;if(rd(e)){for(;t;){let n=e.collectionByLocaleId[t.id];if(n)return n;t=t.fallback}return e.collectionByLocaleId.default}H(e,`Unsupported collection type`)}function Bd(){return 25}function Vd(){return 12500}function Hd(e){return e}function Ud(e){return e}function Wd(e){return B(e)&&Ye(e.getHash)}function K(e,...t){return Ud(`${e}(${t.map(e=>(V(!(e instanceof EC),`Pass CollectionMetadata.id instead`),V(!(e instanceof kC),`Pass FieldMetadata.id instead`),V(!(e instanceof DC),`Pass IndexMetadata.id instead`),V(!(e instanceof SC),`Pass RelationalNode.group.id instead`),V(!(e instanceof yC),`Pass Group.id instead`),Wd(e)?e.getHash():JSON.stringify(e))).join(`, `)})`)}function Gd(e,t){return{collectionId:Rd(e),pointer:t}}function Kd(e){return B(e)&&R(e.collectionId)}function qd(e,t){return{collectionId:Rd(e),pointer:t}}function Jd(e){return B(e)&&R(e.collectionId)}function Yd(e,t){let n=new Map;function r(e){if(B(e))if(e.type===`Collection`&&Qu(e.data)){let r=zd(e.data,t),i=Rd(r);n.set(i,r)}else for(let t in e){let n=e[t];r(n)}else if(Ze(e))for(let t of e)r(t)}return r(e),n}function Xd(e){return e}function Zd(e){return e}function Qd(e){return e}function $d(e){return Array(e).fill({type:`All`})}function ef(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 tf(e){let t=new Set;if(!e)return t;ef(e.type===`array`,`ScalarIntersection expects an array, got:`,e.type);for(let n of e.value)n&&(ef(n.type===`string`,`ScalarIntersection expects an array of strings, got an array with:`,n.type),t.add(n.value));return t}function nf(e){return e.collection?`"${e.collection}"."${e.name}"`:`"${e.name}"`}function rf(e){return typeof e.value==`string`?`'${e.value}'`:e.value}function af(e){return`${e.functionName}(${e.arguments.map(e=>uf(e)).join(`, `)})`}function of(e){let t=`CASE`;e.value&&(t+=` ${uf(e.value)}`);for(let n of e.conditions)t+=` WHEN ${uf(n.when)} THEN ${uf(n.then)}`;return e.else&&(t+=` ELSE ${uf(e.else)}`),t+=` END`,t}function sf(e){let t=uf(e.value);return`${e.operator.toUpperCase()} ${t}`}function cf(e){let t=uf(e.left),n=uf(e.right);return`${t} ${e.operator.toUpperCase()} ${n}`}function lf(e){return`CAST(${uf(e.value)} as ${e.dataType})`}function uf(e){switch(e.type){case`Identifier`:return nf(e);case`LiteralValue`:return rf(e);case`FunctionCall`:return af(e);case`Case`:return of(e);case`UnaryOperation`:return sf(e);case`BinaryOperation`:return cf(e);case`TypeCast`:return lf(e);case`Select`:return`${hf(e)}`;default:H(e)}}function df(e){return nd(e.data)?`Collection`:e.alias?`"${e.data.displayName}" AS "${e.alias}"`:`"${e.data.displayName}"`}function ff(e){let t=`${pf(e.left)} LEFT JOIN ${pf(e.right)}`;return e.constraint&&(t+=` ON ${uf(e.constraint)}`),t}function pf(e){switch(e.type){case`Collection`:return df(e);case`LeftJoin`:return ff(e);default:H(e)}}function mf(e){let t=``;return e.split(/\s+/u).forEach(e=>{e!==``&&([`SELECT`,`FROM`,`WHERE`,`ORDER`,`LIMIT`,`OFFSET`].includes(e)?t+=`
${e}`:[`AND`,`OR`].includes(e)?t+=`
	${e}`:t+=` ${e}`)}),t.trim()}function hf(e){let t=``;return t+=`SELECT ${e.select.map(e=>{let t=uf(e);return e.alias?`${t} AS "${e.alias}"`:t}).join(`, `)}`,t+=` FROM ${pf(e.from)}`,e.where&&(t+=` WHERE ${uf(e.where)}`),e.orderBy&&(t+=` ORDER BY ${e.orderBy.map(e=>`${uf(e)} ${e.direction??`asc`}`).join(`, `)}`),e.limit&&(t+=` LIMIT ${uf(e.limit)}`),e.offset&&(t+=` OFFSET ${uf(e.offset)}`),mf(t)}function gf(e){return B(e)&&e.type===`Collection`}function _f(e,t){return gf(t)&&Qu(t.data)?Rd(t.data):t}function vf(e,t){let n=t?.id??`default`;return JSON.stringify(e,_f)+n}function yf(e){let{activeLocale:t}=_r();return Bw.get(e,t).use()}function bf(e){return yf({...e,select:[]}).length}function xf(e,t){let n=Object.entries(e??{}).filter(([,e])=>!($e(e)||B(e))).map(([e,n])=>({type:`BinaryOperation`,operator:`==`,left:{type:`TypeCast`,value:{type:`Identifier`,name:e,collection:t},dataType:`STRING`},right:{type:`LiteralValue`,value:String(n)}}));return n.length===0?{type:`LiteralValue`,value:!1}:n.reduce((e,t)=>({type:`BinaryOperation`,operator:`and`,left:e,right:t}))}function Sf(e){let t=r(e);return f(()=>{t.current=e},[e]),gr((...e)=>{let n=t.current;return n(...e)},[])}function Cf(e,t){e.forEach(e=>clearTimeout(e)),e.clear(),t.forEach(e=>e?.(`Callback cancelled by variant change`)),t.clear()}function wf(){return new Set}function Tf(e){let t=Bi(wf),n=Bi(wf);return fs(()=>()=>Cf(n,t)),s(()=>()=>Cf(n,t),[]),s(()=>{Cf(n,t)},[e]),r({activeVariantCallback:e=>async(...n)=>new Promise((r,i)=>{t.add(i),e(...n).then(r)}).catch(()=>{}),delay:async(e,t)=>{await new Promise(e=>{n.add(globalThis.setTimeout(()=>e(!0),t))}),e()}}).current}function Ef(e,t,n){return h.useCallback(r=>!n||!e?{}:t?Object.assign({},n[e]?.[r],n[t]?.[r]):n[e]?.[r]||{},[e,t,n])}function Df(e){for(let[t,n]of Object.entries(e))if(q.matchMedia(n).matches)return t}function Of(e){let t=[];for(let{hash:n,mediaQuery:r}of e)r&&q.matchMedia(r).matches&&t.push(n);if(t.length>0)return t;let n=e[0]?.hash;if(n)return[n]}function kf(e,t,n=!0){let i=C(Ib),a=Ka(),o=r(!a&&Ca()?Df(t)??e:e),c=r(n&&i?e:o.current),l=xo(),u=le(),d=S(e=>{if(e!==o.current||e!==c.current){let t=function(){o.current=c.current=e,y(()=>{l()})};a?t():u(()=>{t()})}},[u,l,a]);return Hy(()=>{a&&d(e)},[e,a,d]),Hy(()=>{!n||i!==!0||d(o.current)},[]),s(()=>{let e=[];for(let[n,r]of Object.entries(t)){let t=q.matchMedia(r),i=e=>{e.matches&&d(n)};Af(t,i),e.push([t,i])}return()=>e.forEach(([e,t])=>jf(e,t))},[t,d]),[o.current,c.current]}function Af(e,t){e.addEventListener?e.addEventListener(`change`,t):e.addListener(t)}function jf(e,t){e.removeEventListener?e.removeEventListener(`change`,t):e.removeListener(t)}function Mf(e){setTimeout(e,1)}function Nf(e){let t=new Set,n=Of(e);if(n)for(let e of n)for(let n of document.querySelectorAll(`.hidden-`+e))Pf(n.previousSibling)&&t.add(n.previousSibling),n.parentNode?.removeChild(n);(_h?q.requestIdleCallback:Mf)(()=>{document.querySelector(Vw)?.remove()});for(let e of document.querySelectorAll(`.ssr-variant:empty`))Pf(e.previousSibling)&&t.add(e.previousSibling),e.parentNode?.removeChild(e);for(let e of t)Ff(e.nextSibling)&&(e.parentNode?.removeChild(e.nextSibling),e.parentNode?.removeChild(e))}function Pf(e){return e?.nodeType===Node.COMMENT_NODE&&e.textContent===`$`}function Ff(e){return e?.nodeType===Node.COMMENT_NODE&&e.textContent===`/$`}function If(e){return B(e)&&Hw in e&&e.page!==void 0}function Lf(e,n,i,a=!1){let[o,c]=p(),l=Math.ceil(e/n),[d,f]=u(globalThis?.history?.state?.paginationInfo?.[i]?.currentPage??1),m=r(d),h=t(()=>({currentPage:d,totalPages:l,isLoading:o}),[d,l,o]);s(()=>{lr(i,h)},[i,h]);let g=Cl();return{paginationInfo:h,loadMore:S(async()=>g||m.current>=l||(await _n({priority:`user-blocking`,continueAfter:`paint`}),m.current>=l)?void 0:(e=>{e(()=>{f(e=>{let t=Math.min(e+1,l);return m.current=t,t})})})(a?c:y),[l,a])}}function Rf(e,n,r){let{paginationInfo:i,loadMore:a}=Lf(bf(e),n,r,!0);return{paginatedQuery:t(()=>{let t=n*i.currentPage;if(e.limit){if(e.limit.type!==`LiteralValue`||typeof e.limit.value!=`number`)throw Error(`Unexpected type for query limit`);t=Math.min(t,e.limit.value)}return{...e,limit:{type:`LiteralValue`,value:t}}},[e,n,i]),paginationInfo:i,loadMore:a}}function zf(e,t){return`${e}-${t}`}function Bf(e,t){let n=e.indexOf(t)+1;n>=e.length&&(n=0);let r=e[n];return V(r!==void 0,`nextVariant should be defined`),r}function Vf(e,t){if(e){if(t){let n=e[t];if(n)return n}return e.default}}function Hf(e,t,n,r,i){let{hover:a,pressed:o,loading:s,error:c}=e||{};if(c&&i)return`error`;if(s&&r)return`loading`;if(o&&n)return`pressed`;if(a&&t)return`hover`}function Uf(e,t){return t[e]||`framer-v-${e}`}function Wf(e,t,n){return e&&n.has(e)?e:t}function Gf(){let e=r(),t=r(),n=S(()=>{e.current&&(document.removeEventListener(`visibilitychange`,e.current),e.current=void 0,t.current=void 0)},[]);return s(()=>()=>{n()},[n]),S(r=>{if(!document.hidden){r(),n();return}if(t.current=r,e.current)return;let i=()=>{document.hidden||(t.current?.(),n())};e.current=i,document.addEventListener(`visibilitychange`,i)},[n])}function Kf(){let e=r(),t=r(!1),n=r(),i=C(yb);return s(()=>()=>{e.current?.(),n.current=void 0,e.current=void 0},[]),S((r,a)=>{if(!a?.current||t.current){r();return}if(n.current=r,e.current)return;let o=!1;e.current=as(i,`undefined`,a.current,null,e=>{t.current=e.isIntersecting,!o&&(o=!0,queueMicrotask(()=>{o=!1,t.current&&n.current?.()}))})},[i])}function qf(e){let t=Gf(),n=Kf();return S((r,i=!1)=>{if(gh){r();return}t(i&&e?()=>n(r,e):r)},[t,n,e])}async function Jf(){return new Promise(e=>{let t=e;setTimeout(()=>{t&&(performance.mark(`wait-for-click-fallback`),t())},150),Gw=()=>{e(),t=void 0}})}function Yf(e){e.button===0&&(performance.mark(`pointerdown-listener`),Ww=Jf())}function Xf(){performance.mark(`click-received-listener`),Ww=void 0,Gw?.(),Gw=void 0}function Zf(e=!1){s(()=>{e&&(document.addEventListener(`pointerup`,Yf,!0),document.__proto__.addEventListener.call(document,`click`,Xf,!0))},[e])}function Qf({variant:e,defaultVariant:n,transitions:i,enabledGestures:a,cycleOrder:o=[],variantProps:s={},variantClassNames:c={},ref:l}){let u=xo(),d=Cl(),f=Bi(()=>new Set(o)),{yieldOnTap:p}=Mh();Zf(p);let m=qf(l),h=r({isHovered:!1,isHoveredHasUpdated:!1,isPressed:!1,isPressedHasUpdated:!1,isError:!1,hasPressedVariants:!0,baseVariant:Wf(e,n,f),lastVariant:e,gestureVariant:void 0,loadedBaseVariant:{},defaultVariant:n,enabledGestures:a,cycleOrder:o,transitions:i}),g=S(e=>{let{isHovered:t,isPressed:n,isError:r,enabledGestures:i,defaultVariant:a}=h.current,o=Wf(e,a,f),s=Hf(i?.[o],t,n,!1,r);return[o,s?zf(o,s):void 0]},[]),_=S(async(e,t,n,r,i=!1,a=!1)=>{let[o,s]=g(r);if(o===e&&s===t)return;a&&(h.current.isError=!1),h.current.baseVariant=o||n,h.current.gestureVariant=s;let c=p&&h.current.isPressedHasUpdated;c&&Ww&&(performance.mark(`wait-for-tap-start`),await Ww,performance.measure(`wait-for-tap`,`wait-for-tap-start`)),c&&(performance.mark(`yield-on-tap-start`),await _n({priority:`user-blocking`,continueAfter:`paint`}),performance.measure(`yield-on-tap`,`yield-on-tap-start`));let{isHovered:l,isPressed:d,isHoveredHasUpdated:f,isPressedHasUpdated:_}=h.current;if(l||f||d||_){y(u);return}m(()=>y(u),i)},[g,u,m,p]),v=S(({isHovered:e,isPressed:t,isError:n})=>{let r=t!==h.current.isPressed,i=e!==h.current.isHovered;e!==void 0&&(h.current.isHovered=e),t!==void 0&&(h.current.isPressed=t),n!==void 0&&(h.current.isError=n);let{baseVariant:a,gestureVariant:o,defaultVariant:s}=h.current;h.current.isPressedHasUpdated=r,h.current.isHoveredHasUpdated=i,_(a,o,s,a,!1)},[_]),b=S((e,t=!1)=>{let{defaultVariant:n,cycleOrder:r,baseVariant:i,gestureVariant:a}=h.current;_(i,a,n,e===Uw?Bf(r||[],i||n):e,t,!0)},[_]),x=S(()=>{let{baseVariant:e}=h.current;h.current.loadedBaseVariant[e]=!0,m(()=>y(u),!0)},[u,m]);if(e!==h.current.lastVariant){let[t,n]=g(e);h.current.lastVariant=t,(t!==h.current.baseVariant||n!==h.current.gestureVariant)&&(h.current.baseVariant=t,h.current.gestureVariant=n)}let{baseVariant:C,gestureVariant:w,defaultVariant:T,enabledGestures:E,isHovered:D,isPressed:O,isError:k,loadedBaseVariant:ee}=h.current,A=Ef(h.current.baseVariant,h.current.gestureVariant,s);return t(()=>{let e=[];C!==T&&e.push(C);let t=E?.[C]?.loading,n=!k&&!d&&!!t&&!ee[C],r=n?zf(C,`loading`):w;r&&e.push(r);let i=E?.[C],a={onMouseEnter:()=>v({isHovered:!0}),onMouseLeave:()=>v({isHovered:!1})};return i?.pressed&&Object.assign(a,{onTapStart:()=>v({isPressed:!0}),onTapCancel:()=>v({isPressed:!1}),onTap:()=>v({isPressed:!1})}),{variants:e,baseVariant:C,gestureVariant:r,isLoading:n,transition:Vf(h.current.transitions,C),setVariant:b,setGestureState:v,clearLoadingGesture:x,addVariantProps:A,gestureHandlers:a,classNames:ac(Uf(C,c),Hf(i,D,O,n,k))}},[C,w,D,O,ee,A,b,T,E,v,x,c])}function $f(e,{scopeId:t,nodeId:n,override:r,inComponentSlot:i}){if(!tl())return r(e);let a=ep(e,r),o=!1;function s(r,s){let c=il();if(fl(t,c?.scopeId,c?.level,i??!1))return a.status===`success`?g(Ng.Provider,{value:n,children:g(nl,{getErrorMessage:ll.bind(null,t,n),fallback:g(e,{...r,ref:s}),children:g(a.Component,{...r,ref:s})})}):(o||=(el(a.error),el(ll(t,n)),$c(a.error),!0),g(e,{...r,ref:s}));if(a.status===`success`)return g(Ng.Provider,{value:n,children:g(a.Component,{...r,ref:s})});throw a.error}return h.forwardRef(s)}function ep(e,t){try{return{status:`success`,Component:t(e)}}catch(e){return{status:`error`,error:e}}}function tp(e){let t=e.__FramerMetadata__.exports.default.annotations?.framerVariables;if(t)try{return JSON.parse(t)}catch{return}}function np(e,t){return n=>{let r={},i=tp(t);for(let e in n)Ey(r)[i?.[e]??e]=n[e];return g(e,{...r})}}function rp(e){return e.weight!==void 0&&e.style!==void 0}function ip(e,t){let n=t===`normal`?`Regular`:`Italic`;return e===400?n:t===`normal`?`${eT[e]}`:`${eT[e]} ${n}`}function ap(){return d===void 0?{}:nT||(nT=op(),nT)}function op(){let e=d.location,t=d?.bootstrap?.services;if(t)return t;let n;try{if(n=d.top.location.origin,t=d.top?.bootstrap?.services,t)return t}catch{}if(n&&n!==e.origin)throw Error(`Unexpectedly embedded by ${n} (expected ${e.origin})`);if(e.origin.endsWith(`framer.com`)||e.origin.endsWith(`framer.dev`))throw Error(`ServiceMap data was not provided in document`);try{let n=new URLSearchParams(e.search).get(`services`)||new URLSearchParams(e.hash.substring(1)).get(`services`);n&&(t=JSON.parse(n))}catch{}if(t&&typeof t==`object`&&t.api)return t;throw Error(`ServiceMap requested but not available`)}function sp(e){return e.key+e.extension}function cp(e){return`${ap().userContent}/assets/${e}`}function lp(e){return cp(sp(e))}function up(e,t){return t?`${e} ${rT}`:e}function dp(e,t){switch(t){case`custom`:throw Error(`Custom fonts are not supported`);default:return up(e.name,e.isVariable)}}function fp(e){return!!(e&&Array.isArray(e))}function pp(e){if(!e||!Array.isArray(e))return;let t=[];for(let n of e)hp(n)&&t.push({tag:n.tag,name:n.name,minValue:n.minValue,maxValue:n.maxValue,defaultValue:n.defaultValue});return t}function mp(e){return!(typeof e!=`object`||!e||!(`tag`in e)||typeof e.tag!=`string`||`coverage`in e&&e.coverage!==void 0&&!Array.isArray(e.coverage))}function hp(e){return!(typeof e!=`object`||!e||!(`tag`in e)||typeof e.tag!=`string`||`name`in e&&typeof e.name!=`string`||!(`minValue`in e)||typeof e.minValue!=`number`||!(`maxValue`in e)||typeof e.maxValue!=`number`||!(`defaultValue`in e)||typeof e.defaultValue!=`number`)}function gp(e){return oT[_p(e)]}function _p(e){return e.toLowerCase().replace(/\s+/gu,`-`)}function vp(e){return e=e.toLowerCase(),e.includes(`italic`)||e.includes(`oblique`)||e.includes(`slanted`)?`italic`:`normal`}function yp(e,t){return{...bp(e,t),...xp(e,t)}}function bp(e,t){if(t.length===0)return{variantBold:void 0,variantBoldItalic:void 0,variantItalic:void 0};let{weight:n,style:r}=e,i=new Map,a=new Map;for(let r of t)r.isVariable===e.isVariable&&(i.set(`${r.weight}-${r.style}`,r),!(r.weight<=n)&&(a.has(r.style)||a.set(r.style,r)));let o=a.get(r),s=a.get(`italic`),c=e.weight;c<=300?(o=i.get(`400-${r}`)??o,s=i.get(`400-italic`)??s):c<=500?(o=i.get(`700-${r}`)??o,s=i.get(`700-italic`)??s):(o=i.get(`900-${r}`)??o,s=i.get(`900-italic`)??s);let l=i.get(`${n}-italic`);return{variantBold:o,variantItalic:l,variantBoldItalic:s}}function xp(e,t){if(t.length===0)return{variantVariable:void 0,variantVariableItalic:void 0};let n,r,i,a;for(let o of t){if(!o.isVariable)continue;let t=o.weight===e.weight,s=o.weight===400;o.style===`normal`?t?n=o:s?i=o:i||=o:o.style===`italic`&&(t?r=o:s?a=o:a||=o)}return{variantVariable:n??i,variantVariableItalic:r??a}}function Sp(e){return!!e.variationAxes}function Cp(e){return wp(e)||Tp(e)}function wp(e){return e.startsWith(lT)}function Tp(e){return e.startsWith(cT)}function Ep(e,t){for(let n=0;n<e.length;n++){let r=e[n];if(r){if(r.owner!==t.owner&&r.file===t.file)return{existingFont:r,index:n,projectDuplicate:!0};if(r&&r.selector===t.selector)return{existingFont:r,index:n,projectDuplicate:!1}}}}function Dp(e){let{font:t}=e,n=t.fontFamily,r=Array.isArray(t.variationAxes);if(r&&n.toLowerCase().includes(`variable`))return n;let i=r?rT:t.fontSubFamily.trim();return i===``?n:`${n} ${i}`}function Op({fontFamily:e,fontSubFamily:t,variationAxes:n,faceDescriptors:r}){let i=t.trim()||`Regular`,a=i.toLocaleLowerCase().includes(`variable`),o=pp(n)&&!a?`Variable ${i}`:i,s=`normal`,c=400;return r&&(c=r.weight,s=r.italic||r.oblique?`italic`:`normal`),{family:e,variant:o,weight:c,style:s}}function kp(e){if(!(!e.weight||!e.style))return{weight:e.weight,style:e.style,isVariable:Sp(e),selector:e.selector}}function Ap(e){let t=e.fonts.map(e=>kp(e)).filter(e=>e!==void 0);for(let n of e.fonts){let e=kp(n);if(!e)continue;let r=yp(e,t);n.selectorVariable=r.variantVariable?.selector,n.selectorVariableItalic=r.variantVariableItalic?.selector,n.selectorBold=r.variantBold?.selector,n.selectorBoldItalic=r.variantBoldItalic?.selector,n.selectorItalic=r.variantItalic?.selector}}function jp(e){return e.ownerTypes.includes(`team`)?`team`:`project`}async function Mp(e){switch(e){case`google`:return(await import(`./google-654GT66W.CyI4Cjqu.mjs`)).default;case`fontshare`:return(await import(`./fontshare-Q7VOJ3QT.C24x2AYf.mjs`)).default;default:throw Error(`Unknown font source: ${e}`)}}async function Np(e){switch(e){case`google`:return(await import(`./google-HHQRBNOM.Cu6fcaiF.mjs`)).default;case`fontshare`:return(await import(`./fontshare-LJWOE5KG.Du9OOOKC.mjs`)).default;case`framer`:return(await import(`./framer-font-G73BNA7N.CJPU49_2.mjs`)).default;default:throw Error(`Unknown font source: ${e}`)}}function Pp(e){return e.split(`,`).map(e=>e.trim().toLowerCase()).filter(Fp)}function Fp(e){return dT.includes(e)}function Ip(e){let t={serif:`serif`,sans:`sans-serif`,slab:`slab`,display:`display`,handwritten:`handwriting`,script:`handwriting`},n=Pp(e)[0];return n&&t[n]}function Lp(e){let t={serif:`serif`,"sans-serif":`sans-serif`,display:`display`,handwriting:`handwriting`,monospace:`monospace`};if(e)return t[e]}function Rp(e,t){return e.reduce((e,n)=>(e[t(n)]=n,e),{})}async function zp(e,t,n=0){let{family:r,url:i,stretch:a,unicodeRange:o}=e,s=e.weight,c=e.style||`normal`,l=`${r}-${c}-${s}-${i}`;if(!DT.has(l)||n>0){let u=new FontFace(r,`url(${i})`,{weight:R(s)?s:s?.toString(),style:c,stretch:a,unicodeRange:o}),d=u.load().then(()=>(t.fonts.add(u),Bp(r,c,s))).catch(l=>{if(l.name!==`NetworkError`)throw l;if(n<TT)return zp(e,t,n+1);throw new ET(`Font loading failed after ${n} retries due to network error: ${JSON.stringify({family:r,style:c,weight:s,url:i,stretch:a,unicodeRange:o})}`)});DT.set(l,d)}await DT.get(l)}async function Bp(e,t,n){let r=`${e}-${t}-${n}`;if(!OT.has(r)){let i=new CT.default(e,{style:t,weight:n}).load(null,wT);OT.set(r,i)}try{await OT.get(r)}catch{throw new ET(`Failed to check if font is ready (${wT}ms timeout exceeded): ${JSON.stringify({family:e,style:t,weight:n})}`)}}function Vp(e){try{if(e===`framer`)return Hp(AT)?AT:void 0;{let t=(async()=>{switch(e){case`google`:return(await import(`./google-MNOHFPXZ.UGJxBUkN.mjs`)).default;case`fontshare`:return(await import(`./fontshare-MHXFPDHS.DU51fTWX.mjs`)).default;default:H(e)}})();return Hp(t)?t:void 0}}catch(e){console.error(e);return}}function Hp(e){return B(e)&&Object.values(e).every(Wp)}function Up(e){return B(e)&&R(e.tag)}function Wp(e){return Array.isArray(e)&&e.every(Up)}function Gp(e,t){s(()=>{function n(n){n.key===`Escape`&&e&&(n.preventDefault(),n.stopPropagation(),t())}return d.addEventListener(`keyup`,n),()=>d.removeEventListener(`keyup`,n)},[e,t])}function Kp(e,t,n,r){let i=d.innerHeight-r,a=Math.min(d.innerWidth-n,t),o=i/e;return Math.min(a,o)}function qp(e,{width:t,height:n}){if(!e.src||!e.srcSet)return;let r=new d.Image;return r.src=e.src,r.srcset=e.srcSet,r.sizes=e.sizes||``,r.width=t,r.height=n,r.decode()}function Jp(){return document.getElementById(_S)??document.getElementById(gS)??document.body}function Yp(e,t){return z(e)?e:t??0}function Xp(e){return Yp(e?.paddingTop,e?.padding)+Yp(e?.paddingBottom,e?.padding)}function Zp(e){return Yp(e?.paddingLeft,e?.padding)+Yp(e?.paddingRight,e?.padding)}function Qp(e,t){if(!e||!t||!t.src)return t;let n=new URL(t.src);return n.searchParams.delete(`scale-down-to`),n.searchParams.delete(`lossless`),{...t,sizes:`min(100vw, ${e.maxWidth-Zp(e)}px)`,srcSet:Qa(t.nodeFixedSize,t,t.src).srcSet}}function $p(e){if(!e)return!1;for(let t in e){if(!(t in NT))continue;let n=NT[t],r=e[t];if(!(!z(n)||!z(r))&&n!==r)return!0}return!1}function em(e){let t=ye.get(e.current);if(!t)return!1;if($p(t.projection?.latestValues))return!0;let n=t.projection?.path;if(!n||n.length===0)return!1;for(let e of n)if($p(e.latestValues))return!0;return!1}function tm(e){return b(function({lightbox:n,lightboxClassName:i,onClick:a,...o},l){let d=C(Se),f=C(Kw),p=!!f,m=r(null),h=l??m,_=r(),v=t(()=>Qp(n,o.background),[n,o.background]),[b,T]=u(!1),[E,D]=u(),k=S(()=>{if(n){if(b){y(()=>{T(!0)});return}Oe.read(()=>{if(!h.current)return;let e=getComputedStyle(h.current),t=h.current.getAttribute(`data-border`)===`true`?getComputedStyle(h.current,`::after`):void 0,r=h.current.offsetWidth??1,i=h.current.offsetHeight??1,a=em(h)||p?{duration:0}:n.transition;y(()=>{D({borderRadius:e.borderRadius,aspectRatio:r/(i||1),borderTop:t?.borderTopWidth,borderRight:t?.borderRightWidth,borderBottom:t?.borderBottomWidth,borderLeft:t?.borderLeftWidth,borderStyle:t?.borderStyle,borderColor:t?.borderColor,transition:a,imageRendering:e.imageRendering,filter:e.filter}),T(!0),f?.stop()})})}},[n,b,h,f?.stop,p]),A=E?.aspectRatio??1,j=Sf(()=>{if(!n||!v||!v.src)return;let e=_.current?.[v.src];if(e)return e;let t=Kp(A,n.maxWidth,Zp(n),Xp(n)),r=qp(v,{width:t,height:t*A});return _.current={[v.src]:r},r}),te=S(async e=>{a?.(e),!(b||!n||!v)&&(await j(),k())},[a,k,b,v,n,j]),ne=S(e=>{e?.stopPropagation(),y(()=>{T(!1)})},[]);Gp(b,ne),s(()=>{if(!n)return;let e;function t(){e=setTimeout(()=>{j()},50)}function r(){clearTimeout(e)}let i=h.current;return i?.addEventListener(`mouseenter`,t),i?.addEventListener(`mouseleave`,r),i?.addEventListener(`pointerdown`,j),()=>{r(),i?.removeEventListener(`mouseenter`,t),i?.removeEventListener(`mouseleave`,r),i?.removeEventListener(`pointerdown`,j)}},[j,h,n]);let re=ee(),ie=E?.transition??o.transition??d.transition,oe=E?.borderRadius,M=E?.imageRendering,se=E?.filter,ce=E?.borderTop,le=E?.borderRight,ue=E?.borderBottom,de=E?.borderLeft,fe=E?.borderStyle,pe=E?.borderColor,me=!!(ce||le||ue||de||fe||pe),he=me?{"--border-top-width":ce,"--border-right-width":le,"--border-bottom-width":ue,"--border-left-width":de,"--border-style":fe,"--border-color":pe}:void 0,ge={[aS]:o.id},N=Yp(n?.paddingTop,n?.padding),_e=Yp(n?.paddingBottom,n?.padding),P=Yp(n?.paddingLeft,n?.padding),ve=Yp(n?.paddingRight,n?.padding),ye=E?.borderRadius?{...o.style,borderRadius:E.borderRadius}:o.style,be=b?o.layoutDependency?`${o.layoutDependency}-open`:`open`:o.layoutDependency,xe=p&&b?void 0:o.layoutId??(n?re:void 0);return w(O,{children:[g(e,{...o,style:ye,onClick:te,layoutId:xe,ref:h,layoutDependency:be,transition:ie}),g(Pe,{onExitComplete:()=>{y(()=>{D(void 0),f?.start()})},children:b&&n&&v&&g(c,{children:x(w(O,{children:[g(ae.div,{...ge,className:i,onClick:ne,style:{position:`fixed`,inset:0,zIndex:n.zIndex,backgroundColor:n.backdrop??`transparent`},transition:ie,initial:PT,animate:FT,exit:PT}),g(ae.div,{...ge,className:i,style:{alignItems:`center`,display:`flex`,inset:`${N}px ${ve}px ${_e}px ${P}px`,justifyContent:`center`,pointerEvents:`none`,position:`fixed`,zIndex:n.zIndex},children:g(`div`,{style:{alignItems:`center`,aspectRatio:A,display:`flex`,justifyContent:`center`,maxHeight:`100%`,position:`relative`,width:`100%`,maxWidth:n.maxWidth},children:g(ae.div,{layoutId:xe,transition:ie,onClick:k,className:`framer-lightbox-container`,"data-border":me,style:{aspectRatio:A,borderRadius:oe,bottom:0,position:`absolute`,top:0,userSelect:`none`,imageRendering:M,filter:se,...he},children:g(so,{image:v,alt:v.alt,draggable:o.draggable})})})})]}),Jp())},`backdrop`)})]})})}function nm(e,t){return RT&&!t?Document.parseHTMLUnsafe(e):(LT??=new DOMParser,LT.parseFromString(e,t??`text/html`))}function rm(e){return e.replaceAll(`&`,`&amp;`).replaceAll(`<`,`&lt;`).replaceAll(`>`,`&gt;`).replaceAll(`"`,`&quot;`).replaceAll(`'`,`&#39;`)}function im(e,t,n,r){return e.replace(zT,(e,i,a,o,s,c,l)=>{if(a.toLowerCase()!==`a`)return e;let u=s||c,d=Ol(u.replace(/&amp;/gu,`&`));if(!d||!d.target)return e;let f=t(d.target);if(!If(f)||!If(n))return e;let p=f.path,m=n.path;if(!p||!m)return e;let h=` data-framer-page-link-target="${d.target}"`,g=Nt(f,d.element??void 0);g&&(h+=` data-framer-page-link-element="${d.element}"`);let _=Al(u);if(!_||R(_))return e;Gl(n,_,r)&&(h+=` data-framer-page-link-current`);let v=p,y=Object.assign({},r,d.collectionItem?.pathVariables);if(Object.keys(y).length>0&&(v=v.replace(yS,(e,t)=>``+y[t])),d.collectionItem?.pathVariables){let e=new URLSearchParams(d.collectionItem.pathVariables);h+=` data-framer-page-link-path-variables="${e}"`}return v=Sn(m,v),i+o+`"${rm(v+(g?`#${g}`:``))}"`+h+l})}function am(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}function om(e){switch(e){case`top`:return`flex-start`;case`center`:return`center`;case`bottom`:return`flex-end`}}function sm(e,t,n){let i=r([]);am(i.current,e)||(i.current=e,MT.loadFonts(e).then(({newlyLoadedFontCount:e})=>{!t||!n.current||Y.current()!==Y.canvas||e>0&&Do(n.current)}))}function cm(){return{current:null}}async function lm(e,t){let n=e.current;if(n)return n;let r,i=new Promise((e,n)=>{r=e,t.signal.addEventListener(`abort`,()=>n())});return Object.defineProperty(e,`current`,{get(){return n},set(e){if(n=e,e===null){t.abort();return}r(e)},configurable:!0}),i}function um(e){return e in UT}function dm(e,t){let n={};for(let r in e){if(!um(r))continue;let i=e[r],a=UT[r];$e(i)||$e(a)||t&&r!==`opacity`||(n[r]=[i,a])}return n}function fm(e,t=`character`,n,r,i){if(r){let t=cm();return n.add(t),g(`span`,{ref:t,style:i,children:e})}switch(t){case`character`:case`line`:{let t=e.split(` `),r=t.length-1;return t.map((e,t)=>{let a=t===r;return w(c,{children:[g(`span`,{style:{whiteSpace:e.length<=12?`nowrap`:`unset`},children:e.match(WT)?.map((e,t)=>{let r=cm();return n.add(r),g(`span`,{ref:r,style:i,children:e},e+t)})}),a?null:` `]},e+t+a)})}case`word`:{let t=e.split(` `),r=t.length-1;return t.map((e,t)=>{let a=t===r,o=cm();return n.add(o),w(c,{children:[g(`span`,{ref:o,style:i,children:e}),a?null:` `]},e+t+a)})}case`element`:default:return e}}function pm(e){let t=e.type;switch(t){case`appear`:return e.tokenization??`character`;default:H(t)}}function mm(e){let t=[];return z(e.x)&&t.push(`translateX(${e.x}px)`),z(e.y)&&t.push(`translateY(${e.y}px)`),z(e.scale)&&t.push(`scale(${e.scale})`),z(e.rotate)&&t.push(`rotate(${e.rotate}deg)`),z(e.rotateX)&&t.push(`rotateX(${e.rotateX}deg)`),z(e.rotateY)&&t.push(`rotateY(${e.rotateY}deg)`),z(e.skewX)&&t.push(`skewX(${e.skewX}deg)`),z(e.skewY)&&t.push(`skewY(${e.skewY}deg)`),t.join(` `)}function hm(e,t,n,r){if(!n||!n.effect)return;let i=n.type;switch(i){case`appear`:switch(n.tokenization){case`element`:return!e||!t?void 0:{opacity:n.effect.opacity,filter:r?void 0:n.effect.filter,transform:r?void 0:mm(n.effect)};case`line`:case`word`:case`character`:default:return!e||!t?{display:`inline-block`}:{display:`inline-block`,opacity:n.effect.opacity,filter:r?void 0:n.effect.filter,transform:r?void 0:mm(n.effect)}}default:H(i)}}function gm(e,n,i){let a=Bi(()=>new Set),o=Ga(),c=i||!o,l=Je(),u=r({hasMounted:!1,hasAnimatedOnce:!1,isAnimating:!1,effect:e});u.current.effect=e;let d=e?.trigger??`onMount`,f=e?.target,p=e?.threshold;s(()=>{if(!c||i)return;u.current.hasMounted=!0;function e(){let{effect:e}=u.current;if(!c||!e||e?.repeat!==!0&&u.current.hasAnimatedOnce||e?.type===`appear`&&u.current.isAnimating)return;Object.assign(u.current,{hasAnimatedOnce:!0,isAnimating:!0});let t=e.type;switch(t){case`appear`:{let{transition:t,startDelay:n,repeat:r,tokenization:i}=e,o={current:void 0};return vm(i,e.effect,a,t,n,r,l,()=>{Object.assign(u.current,{isAnimating:!1})},o),()=>o.current?.()}default:H(t)}}switch(d){case`onMount`:e();return;case`onInView`:{let t=n?.current;return t?De(t,e,{amount:p??0}):void 0}case`onScrollTarget`:{let t=f?.ref?.current;return t?De(t,e,{amount:p??0,root:document,margin:f?.offset?`${f.offset}px 0px 0px 0px`:void 0}):void 0}default:H(d)}},[c,a,i,n,f,p,d]);let m=!!e,h=e?pm(e):void 0;return t(()=>({getTokenizer:()=>{if(a.clear(),!m)return;let{hasMounted:e,hasAnimatedOnce:t,effect:n}=u.current,r=hm(c,i||_m(e,t,n),u.current.effect,l);return{text:e=>fm(e,h,a,l,r),props:e=>{if(n?.tokenization!==`element`)return;let t=cm();return a.add(t),{ref:t,style:{...e,...r}}}}},play:()=>{let{effect:e}=u.current;if(!e)return;let t=e.type;switch(t){case`appear`:{let{transition:t,startDelay:n}=e;vm(h,e.effect,a,t,n,!1,l);break}default:H(t)}}}),[c,m,a,i,h])}function _m(e,t,n){return!(e&&n?.trigger===`onMount`||t&&!n?.repeat&&(n?.trigger===`onInView`||n?.trigger===`onScrollTarget`))}async function vm(e=`character`,t,n,r,i=0,a=!1,o,s,c){let l=dm(t,o),u=new AbortController;switch(c&&(c.current=()=>u.abort()),e){case`character`:case`element`:case`word`:{let e=await ym(n,u);if(e===null||(Ee(e,l,{...r,restDelta:.001,delay:je(r?.delay??0,{startDelay:i})}).then(()=>s?.()),!a||!c))return;c.current=()=>{Ee(e,o?{opacity:t.opacity}:t,{...r,restDelta:.001,delay:je(r?.delay??0,{startDelay:i})})};return}case`line`:{try{for(let e of n)await lm(e,u)}catch{return}let e;if(Oe.read(()=>{e=bm(n),e.length!==0&&Oe.update(()=>{let t=e.map((e,t)=>Ee(e,l,{...r,restDelta:.001,delay:i+t*(r?.delay??0)}));Promise.all(t).then(()=>s?.())})}),!a||!c)return;c.current=()=>{if(e.length===0)return;let n=o?{opacity:t.opacity}:t;e.forEach((e,t)=>{Ee(e,n,{...r,restDelta:.001,delay:i+t*(r?.delay??0)})})};return}default:H(e)}}async function ym(e,t){if(e.size===0)return null;let n=[];for(let r of e)try{let e=await lm(r,t);e&&n.push(e)}catch{return null}return n}function bm(e){let t=[],n=[],r=null;for(let i of e){if(!i.current)continue;let e=i.current.offsetTop,a=i.current.offsetHeight;!a||r===null||e===r?n.push(i.current):(t.push(n),n=[i.current]),a&&(r=e)}return t.push(n),t}function xm(e){return e.type===c}function Sm(e){return e.type===`br`}function Cm(e,t,n,r,i={},a,o=xm(e)?-1:0){let s=A.toArray(e.props.children);$e(n)||(s=s.slice(0,1));let c=!0;s=s.map(e=>{if((!v(e)||!Sm(e))&&(c=!1),v(e))return Cm(e,t,n,r,i,a,o+1);let s=$e(n)?e:n;return R(s)&&a?a.text(s):s});let{"data-preset-tag":u,...d}=e.props;if(R(e.type)||qe(e.type)){let n=pe(e.type)||e.type,l=u||n,f=R(l)?t?.[l]:void 0;d.className=ac(`framer-text`,d.className,f),a&&o===0&&!c&&Object.assign(d,a.props(d.style));let p=n===`h1`||n===`h2`||n===`h3`||n===`h4`||n===`h5`||n===`h6`,m=t?.anchor;if(p&&m){let e=wm(s,i);d.id=e;let t=ac(`framer-text`,m),n=g(`a`,{href:`#${e}`,className:t,children:s});d.style={...d.style??{},scrollMarginTop:r},s=[n]}}return l(e,d,...s)}function wm(e,t){let n=fr(e.map(Tm).join(``)),r=t[n]??0;return r>0&&(n+=`-${r}`),t[n]=r+1,n}function Tm(e){return R(e)||z(e)?e.toString():v(e)?Tm(e.props.children):Array.isArray(e)?e.map(Tm).join(``):``}function Em(e){let t=e*Math.PI/180,n={x:-Math.sin(t)*100,y:Math.cos(t)*100},r=$r(n.x,n.y),i=Y_($r(.5,.5),r),a=X.points({x:0,y:0,width:1,height:1}),o=a.map(e=>({point:e,distance:$r.distance(r,e)})).sort((e,t)=>e.distance-t.distance),s=o[0]?.point,c=o[1]?.point;V(s&&c,`linearGradientLine: Must have 2 closest points.`);let[l,u]=a.filter(e=>!$r.isEqual(e,s)&&!$r.isEqual(e,c));V(l&&u,`linearGradientLine: Must have 2 opposing points.`);let d=Y_.intersection(i,Y_(s,c)),f=Y_.intersection(i,Y_(l,u));return V(d&&f,`linearGradientLine: Must have a start and end point.`),Y_(d,f)}function Dm(e,t){let n=Em(e.angle),r=Io(e),i=r[0]?.position??0,a=r[r.length-1]?.position??1,o=Y_.pointAtPercentDistance(n,i),s=Y_.pointAtPercentDistance(n,a),c=We([i,a],[0,1]);return{id:`id${t}g${ib.hash(e)}`,x1:o.x,y1:o.y,x2:s.x,y2:s.y,stops:r.map(t=>({color:t.value,alpha:Qy.getAlpha(t.value)*e.alpha,position:c(t.position)}))}}function Om(e,t){return{id:`id${t}g${ob.hash(e)}`,widthFactor:e.widthFactor,heightFactor:e.heightFactor,centerAnchorX:e.centerAnchorX,centerAnchorY:e.centerAnchorY,stops:Io(e).map(t=>({color:t.value,alpha:Qy.getAlpha(t.value)*e.alpha,position:t.position}))}}function km(e){if(!R(e)||e.charAt(e.length-1)!==`%`)return!1;let t=e.slice(0,-1);return z(parseFloat(t))}function Am(e){let t=e.slice(0,-1),n=parseFloat(t);return z(n)?n:50}function jm(e){return km(e)?Am(e)/100:e===`left`?0:e===`right`?1:.5}function Mm(e){return km(e)?Am(e)/100:e===`top`?0:e===`bottom`?1:.5}function Nm(e,t,n,r){if(e=v_.get(e,`#09F`),!By.isImageObject(e)||!e.pixelWidth||!e.pixelHeight)return;let i=e.pixelWidth,a=e.pixelHeight,o,{fit:s}=e,c=1,l=1,u=0,d=0;if(s===`fill`||s===`fit`||s===`tile`||!s){let n=1,f=1,p=i/a,m=t.height*p,h=t.width/p,g=m/t.width,_=h/t.height;if(s===`tile`){e.backgroundSize??=1,c=Math.round(e.backgroundSize*(i/2)),l=Math.round(e.backgroundSize*(a/2));let n=t.x??0,s=t.y??0,f=0,p=0;r&&(f=n,p=s),u=(t.width-c)*jm(e.positionX)+f,d=(t.height-l)*Mm(e.positionY)+p,o=`translate(${u+n}, ${d+s})`}else (s===`fill`||!s?_>g:_<g)?(f=_,d=(1-_)*Mm(e.positionY)):(n=g,u=(1-g)*jm(e.positionX)),o=`translate(${u}, ${d}) scale(${n}, ${f})`}return{id:`id${n}g-fillImage`,path:e.src??``,transform:o,width:c,height:l,offsetX:u,offsetY:d}}function Pm(e){return e.startsWith(`data:${QT}`)}function Fm(e,t){if(/^\w+:/u.test(e)&&!Pm(e))return e;t=typeof t==`number`?t<=512?512:t<=1024?1024:t<=2048?2048:4096:void 0;let n=Y.current()===Y.export;return Ny.assetResolver(e,{pixelSize:t,isExport:n})??``}function Im(e){try{let t=nm(e).getElementsByTagName(`svg`)[0];if(!t)throw Error(`no svg element found`);return t}catch{return}}function Lm(e,t){zm(e,Rm(t))}function Rm(e){return e.replace(/[^\w\-:.]|^[^a-z]+/gi,``)}function zm(e,t){Bm(e,t),Array.from(e.children).forEach(e=>{zm(e,t)})}function Bm(e,t){e.getAttributeNames().forEach(n=>{let r=e.getAttribute(n);if(!r)return;if(n===`id`&&e.setAttribute(n,`${t}_${r}`),n===`href`||n===`xlink:href`){let[i,a]=r.split(`#`);if(i)return;e.setAttribute(n,`#${t}_${a}`);return}let i=`url(#`;if(r.includes(i)){let a=r.replace(i,`${i}${t}_`);e.setAttribute(n,a)}})}function Vm(e){if(!e)return;let t=/(-?[\d.]+)([a-z%]*)/u.exec(e);if(!(t?.[1]===void 0||t?.[2]===void 0)&&!t[2]?.startsWith(`%`))return Math.round(parseFloat(t[1])*(aE[t[2]]||1))}function Hm(e){let t=Vm(e.getAttribute(`width`)),n=Vm(e.getAttribute(`height`));if(!(typeof t!=`number`||typeof n!=`number`)&&!(t<=0||n<=0))return{width:t,height:n}}function Um(e){return e.indexOf(`image`)>=0}function Wm(e){return e.indexOf(`var(--`)>=0}function Gm(e){return!!(e.borderRadius||e.borderBottomLeftRadius||e.borderBottomRightRadius||e.borderTopLeftRadius||e.borderTopRightRadius)}function Km(e,t){let n=e.current;if(!n)return;let r=t.providedWindow??q,i=n.firstElementChild;if(!i||!(i instanceof r.SVGSVGElement))return;if(!i.getAttribute(`viewBox`)){let e=iE.getViewBox(t.svg);e&&i.setAttribute(`viewBox`,e)}let{withExternalLayout:a,parentSize:o}=t;if(!a&&na(t)&&o!==1&&o!==2)return;let{intrinsicWidth:s,intrinsicHeight:c,_constraints:l}=t;i.viewBox?.baseVal?.width===0&&i.viewBox?.baseVal?.height===0&&U(s)&&U(c)&&i.setAttribute(`viewBox`,`0 0 ${s} ${c}`),l&&l.aspectRatio?i.setAttribute(`preserveAspectRatio`,``):i.setAttribute(`preserveAspectRatio`,`none`),i.setAttribute(`width`,`100%`),i.setAttribute(`height`,`100%`)}function qm(e){return e>uE?`lazy`:void 0}function Jm(e,t,n){let r=Qm(t);!n?.supportsExplicitInterCodegen&&!r.some(e=>e.explicitInter===!1)&&r.push({explicitInter:!1,fonts:[]}),Object.assign(e,{fonts:r})}function Ym(e){return e?e.fonts??Mr():Mr()}function Xm(e){return e.length===0?[{explicitInter:!1,fonts:[]}]:Qm(e)}function Zm(e){return e.length===0?[{explicitInter:!1,fonts:[]}]:Qm(e)}function Qm(e){let t={explicitInter:!1,fonts:[]},n=[];for(let r of e)$m(r)?n.push({explicitInter:r.explicitInter,fonts:r.fonts.map(eh)}):t.fonts.push(eh(r));return t.fonts.length>0&&n.push(t),n}function $m(e){return dE in e}function eh(e){let t=th(e)||nh(e)?e:rh(e);return nh(t)?t:ih(t)}function th(e){return`source`in e}function nh(e){return`cssFamilyName`in e}function rh(e){let t;return t=e.url.startsWith(`https://fonts.gstatic.com/s/`)?`google`:e.url.startsWith(`https://framerusercontent.com/third-party-assets/fontshare/`)?`fontshare`:`custom`,{...e,source:t}}function ih(e){let{family:t,...n}=e,r=e.variationAxes&&e.source!==`custom`?`${t} ${rT}`:t;return{...n,uiFamilyName:t,cssFamilyName:r}}function ah(e,t){let n=`${e}-start`;performance.mark(n),t();let r=`${e}-end`;performance.mark(r),performance.measure(e,n,r)}function oh(e){return e.loader}function sh(e,t,n){let r=oh(e);return r?r.load(t,n):Promise.resolve(void 0)}var ch,lh,uh,dh,fh,ph,mh,hh,gh,_h,vh,yh,bh,xh,Sh,Ch,wh,Th,Eh,Dh,Oh,kh,Ah,jh,Mh,Nh,Ph,Fh,Ih,Lh,Rh,zh,Bh,Vh,Hh,Uh,Wh,Gh,Kh,q,qh,Jh,Yh,Xh,Zh,Qh,$h,eg,tg,ng,rg,ig,ag,og,sg,cg,lg,ug,dg,fg,pg,mg,hg,gg,_g,vg,yg,bg,xg,Sg,Cg,wg,Tg,Eg,Dg,Og,kg,Ag,jg,Mg,Ng,Pg,Fg,Ig,Lg,Rg,zg,Bg,Vg,Hg,Ug,Wg,Gg,Kg,qg,Jg,Yg,Xg,Zg,Qg,$g,e_,t_,n_,r_,i_,a_,o_,s_,c_,l_,u_,d_,f_,p_,m_,h_,g_,__,v_,y_,b_,x_,S_,C_,w_,T_,E_,D_,O_,k_,A_,j_,J,M_,N_,P_,F_,I_,L_,R_,z_,B_,V_,Y,H_,U_,W_,G_,K_,q_,J_,Y_,X,X_,Z_,Q_,$_,ev,tv,nv,rv,iv,av,ov,sv,cv,lv,uv,dv,fv,pv,mv,hv,gv,_v,vv,yv,bv,xv,Sv,Cv,wv,Tv,Ev,Dv,Ov,kv,Av,jv,Mv,Nv,Pv,Fv,Iv,Lv,Rv,zv,Bv,Vv,Hv,Uv,Wv,Gv,Kv,qv,Jv,Yv,Xv,Zv,Qv,$v,ey,ty,ny,ry,iy,ay,oy,sy,cy,ly,uy,dy,fy,py,my,hy,gy,_y,vy,yy,by,xy,Sy,Cy,wy,Ty,Ey,Dy,Oy,ky,Ay,jy,My,Ny,Py,Fy,Iy,Ly,Ry,zy,By,Vy,Hy,Uy,Wy,Gy,Ky,qy,Jy,Yy,Xy,Zy,Qy,$y,eb,tb,nb,rb,ib,ab,ob,sb,cb,lb,ub,db,fb,pb,mb,hb,gb,_b,vb,yb,bb,xb,Sb,Cb,wb,Tb,Eb,Db,Ob,kb,Ab,jb,Mb,Nb,Pb,Fb,Ib,Lb,Rb,zb,Bb,Vb,Hb,Ub,Wb,Gb,Kb,qb,Jb,Yb,Xb,Zb,Qb,$b,ex,tx,nx,rx,ix,ax,ox,sx,cx,lx,ux,dx,fx,px,mx,hx,gx,_x,vx,yx,bx,xx,Sx,Cx,wx,Tx,Ex,Dx,Ox,kx,Ax,jx,Mx,Nx,Px,Fx,Ix,Lx,Rx,zx,Bx,Vx,Hx,Ux,Wx,Gx,Kx,qx,Jx,Yx,Xx,Zx,Qx,$x,eS,tS,nS,rS,iS,aS,oS,sS,cS,lS,uS,dS,fS,pS,mS,hS,gS,_S,vS,yS,bS,xS,SS,CS,wS,TS,ES,DS,OS,kS,AS,jS,MS,NS,PS,FS,IS,LS,RS,zS,BS,VS,HS,US,WS,GS,KS,qS,JS,YS,XS,ZS,QS,$S,eC,tC,nC,rC,iC,aC,oC,sC,cC,lC,uC,dC,Z,fC,pC,mC,hC,gC,_C,vC,Q,yC,bC,xC,SC,CC,wC,TC,EC,DC,OC,kC,$,AC,jC,MC,NC,PC,FC,IC,LC,RC,zC,BC,VC,HC,UC,WC,GC,KC,qC,JC,YC,XC,ZC,QC,$C,ew,tw,nw,rw,iw,aw,ow,sw,cw,lw,uw,dw,fw,pw,mw,hw,gw,_w,vw,yw,bw,xw,Sw,Cw,ww,Tw,Ew,Dw,Ow,kw,Aw,jw,Mw,Nw,Pw,Fw,Iw,Lw,Rw,zw,Bw,Vw,Hw,Uw,Ww,Gw,Kw,qw,Jw,Yw,Xw,Zw,Qw,$w,eT,tT,nT,rT,iT,aT,oT,sT,cT,lT,uT,dT,fT,pT,mT,hT,gT,_T,vT,yT,bT,xT,ST,CT,wT,TT,ET,DT,OT,kT,AT,jT,MT,NT,PT,FT,IT,LT,RT,zT,BT,VT,HT,UT,WT,GT,KT,qT,JT,YT,XT,ZT,QT,$T,eE,tE,nE,rE,iE,aE,oE,sE,cE,lE,uE,dE,fE=e((()=>{a(
//! Credit to Astro | MIT License
/**
* @license Emotion v11.0.0
* MIT License
*
* Copyright (c) Emotion team and other contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/*! Bundled license information:

react-is/cjs/react-is.production.min.js:
(** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
*/
),I(),Be(),n(),E(),m(),ch=de({"../../../node_modules/hsluv/dist/hsluv.cjs"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.Hsluv=void 0;var t=class e{constructor(){this.hex=`#000000`,this.rgb_r=0,this.rgb_g=0,this.rgb_b=0,this.xyz_x=0,this.xyz_y=0,this.xyz_z=0,this.luv_l=0,this.luv_u=0,this.luv_v=0,this.lch_l=0,this.lch_c=0,this.lch_h=0,this.hsluv_h=0,this.hsluv_s=0,this.hsluv_l=0,this.hpluv_h=0,this.hpluv_p=0,this.hpluv_l=0,this.r0s=0,this.r0i=0,this.r1s=0,this.r1i=0,this.g0s=0,this.g0i=0,this.g1s=0,this.g1i=0,this.b0s=0,this.b0i=0,this.b1s=0,this.b1i=0}static fromLinear(e){return e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055}static toLinear(e){return e>.04045?((e+.055)/1.055)**2.4:e/12.92}static yToL(t){return t<=e.epsilon?t/e.refY*e.kappa:116*(t/e.refY)**(1/3)-16}static lToY(t){return t<=8?e.refY*t/e.kappa:e.refY*((t+16)/116)**3}static rgbChannelToHex(t){let n=Math.round(t*255),r=n%16,i=(n-r)/16|0;return e.hexChars.charAt(i)+e.hexChars.charAt(r)}static hexToRgbChannel(t,n){let r=e.hexChars.indexOf(t.charAt(n)),i=e.hexChars.indexOf(t.charAt(n+1));return(r*16+i)/255}static distanceFromOriginAngle(e,t,n){let r=t/(Math.sin(n)-e*Math.cos(n));return r<0?1/0:r}static distanceFromOrigin(e,t){return Math.abs(t)/Math.sqrt(e**2+1)}static min6(e,t,n,r,i,a){return Math.min(e,Math.min(t,Math.min(n,Math.min(r,Math.min(i,a)))))}rgbToHex(){this.hex=`#`,this.hex+=e.rgbChannelToHex(this.rgb_r),this.hex+=e.rgbChannelToHex(this.rgb_g),this.hex+=e.rgbChannelToHex(this.rgb_b)}hexToRgb(){this.hex=this.hex.toLowerCase(),this.rgb_r=e.hexToRgbChannel(this.hex,1),this.rgb_g=e.hexToRgbChannel(this.hex,3),this.rgb_b=e.hexToRgbChannel(this.hex,5)}xyzToRgb(){this.rgb_r=e.fromLinear(e.m_r0*this.xyz_x+e.m_r1*this.xyz_y+e.m_r2*this.xyz_z),this.rgb_g=e.fromLinear(e.m_g0*this.xyz_x+e.m_g1*this.xyz_y+e.m_g2*this.xyz_z),this.rgb_b=e.fromLinear(e.m_b0*this.xyz_x+e.m_b1*this.xyz_y+e.m_b2*this.xyz_z)}rgbToXyz(){let t=e.toLinear(this.rgb_r),n=e.toLinear(this.rgb_g),r=e.toLinear(this.rgb_b);this.xyz_x=.41239079926595*t+.35758433938387*n+.18048078840183*r,this.xyz_y=.21263900587151*t+.71516867876775*n+.072192315360733*r,this.xyz_z=.019330818715591*t+.11919477979462*n+.95053215224966*r}xyzToLuv(){let t=this.xyz_x+15*this.xyz_y+3*this.xyz_z,n=4*this.xyz_x,r=9*this.xyz_y;t===0?(n=NaN,r=NaN):(n/=t,r/=t),this.luv_l=e.yToL(this.xyz_y),this.luv_l===0?(this.luv_u=0,this.luv_v=0):(this.luv_u=13*this.luv_l*(n-e.refU),this.luv_v=13*this.luv_l*(r-e.refV))}luvToXyz(){if(this.luv_l===0){this.xyz_x=0,this.xyz_y=0,this.xyz_z=0;return}let t=this.luv_u/(13*this.luv_l)+e.refU,n=this.luv_v/(13*this.luv_l)+e.refV;this.xyz_y=e.lToY(this.luv_l),this.xyz_x=0-9*this.xyz_y*t/((t-4)*n-t*n),this.xyz_z=(9*this.xyz_y-15*n*this.xyz_y-n*this.xyz_x)/(3*n)}luvToLch(){this.lch_l=this.luv_l,this.lch_c=Math.sqrt(this.luv_u*this.luv_u+this.luv_v*this.luv_v),this.lch_c<1e-8?this.lch_h=0:(this.lch_h=Math.atan2(this.luv_v,this.luv_u)*180/Math.PI,this.lch_h<0&&(this.lch_h=360+this.lch_h))}lchToLuv(){let e=this.lch_h/180*Math.PI;this.luv_l=this.lch_l,this.luv_u=Math.cos(e)*this.lch_c,this.luv_v=Math.sin(e)*this.lch_c}calculateBoundingLines(t){let n=(t+16)**3/1560896,r=n>e.epsilon?n:t/e.kappa,i=r*(284517*e.m_r0-94839*e.m_r2),a=r*(838422*e.m_r2+769860*e.m_r1+731718*e.m_r0),o=r*(632260*e.m_r2-126452*e.m_r1),s=r*(284517*e.m_g0-94839*e.m_g2),c=r*(838422*e.m_g2+769860*e.m_g1+731718*e.m_g0),l=r*(632260*e.m_g2-126452*e.m_g1),u=r*(284517*e.m_b0-94839*e.m_b2),d=r*(838422*e.m_b2+769860*e.m_b1+731718*e.m_b0),f=r*(632260*e.m_b2-126452*e.m_b1);this.r0s=i/o,this.r0i=a*t/o,this.r1s=i/(o+126452),this.r1i=(a-769860)*t/(o+126452),this.g0s=s/l,this.g0i=c*t/l,this.g1s=s/(l+126452),this.g1i=(c-769860)*t/(l+126452),this.b0s=u/f,this.b0i=d*t/f,this.b1s=u/(f+126452),this.b1i=(d-769860)*t/(f+126452)}calcMaxChromaHpluv(){let t=e.distanceFromOrigin(this.r0s,this.r0i),n=e.distanceFromOrigin(this.r1s,this.r1i),r=e.distanceFromOrigin(this.g0s,this.g0i),i=e.distanceFromOrigin(this.g1s,this.g1i),a=e.distanceFromOrigin(this.b0s,this.b0i),o=e.distanceFromOrigin(this.b1s,this.b1i);return e.min6(t,n,r,i,a,o)}calcMaxChromaHsluv(t){let n=t/360*Math.PI*2,r=e.distanceFromOriginAngle(this.r0s,this.r0i,n),i=e.distanceFromOriginAngle(this.r1s,this.r1i,n),a=e.distanceFromOriginAngle(this.g0s,this.g0i,n),o=e.distanceFromOriginAngle(this.g1s,this.g1i,n),s=e.distanceFromOriginAngle(this.b0s,this.b0i,n),c=e.distanceFromOriginAngle(this.b1s,this.b1i,n);return e.min6(r,i,a,o,s,c)}hsluvToLch(){this.hsluv_l>99.9999999?(this.lch_l=100,this.lch_c=0):this.hsluv_l<1e-8?(this.lch_l=0,this.lch_c=0):(this.lch_l=this.hsluv_l,this.calculateBoundingLines(this.hsluv_l),this.lch_c=this.calcMaxChromaHsluv(this.hsluv_h)/100*this.hsluv_s),this.lch_h=this.hsluv_h}lchToHsluv(){if(this.lch_l>99.9999999)this.hsluv_s=0,this.hsluv_l=100;else if(this.lch_l<1e-8)this.hsluv_s=0,this.hsluv_l=0;else{this.calculateBoundingLines(this.lch_l);let e=this.calcMaxChromaHsluv(this.lch_h);this.hsluv_s=this.lch_c/e*100,this.hsluv_l=this.lch_l}this.hsluv_h=this.lch_h}hpluvToLch(){this.hpluv_l>99.9999999?(this.lch_l=100,this.lch_c=0):this.hpluv_l<1e-8?(this.lch_l=0,this.lch_c=0):(this.lch_l=this.hpluv_l,this.calculateBoundingLines(this.hpluv_l),this.lch_c=this.calcMaxChromaHpluv()/100*this.hpluv_p),this.lch_h=this.hpluv_h}lchToHpluv(){if(this.lch_l>99.9999999)this.hpluv_p=0,this.hpluv_l=100;else if(this.lch_l<1e-8)this.hpluv_p=0,this.hpluv_l=0;else{this.calculateBoundingLines(this.lch_l);let e=this.calcMaxChromaHpluv();this.hpluv_p=this.lch_c/e*100,this.hpluv_l=this.lch_l}this.hpluv_h=this.lch_h}hsluvToRgb(){this.hsluvToLch(),this.lchToLuv(),this.luvToXyz(),this.xyzToRgb()}hpluvToRgb(){this.hpluvToLch(),this.lchToLuv(),this.luvToXyz(),this.xyzToRgb()}hsluvToHex(){this.hsluvToRgb(),this.rgbToHex()}hpluvToHex(){this.hpluvToRgb(),this.rgbToHex()}rgbToHsluv(){this.rgbToXyz(),this.xyzToLuv(),this.luvToLch(),this.lchToHpluv(),this.lchToHsluv()}rgbToHpluv(){this.rgbToXyz(),this.xyzToLuv(),this.luvToLch(),this.lchToHpluv(),this.lchToHpluv()}hexToHsluv(){this.hexToRgb(),this.rgbToHsluv()}hexToHpluv(){this.hexToRgb(),this.rgbToHpluv()}};e.Hsluv=t,t.hexChars=`0123456789abcdef`,t.refY=1,t.refU=.19783000664283,t.refV=.46831999493879,t.kappa=903.2962962,t.epsilon=.0088564516,t.m_r0=3.240969941904521,t.m_r1=-1.537383177570093,t.m_r2=-.498610760293,t.m_g0=-.96924363628087,t.m_g1=1.87596750150772,t.m_g2=.041555057407175,t.m_b0=.055630079696993,t.m_b1=-.20397695888897,t.m_b2=1.056971514242878}}),lh=de({"../../../node_modules/eventemitter3/index.js"(e,t){var n=Object.prototype.hasOwnProperty,r=`~`;function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,n,i,o){if(typeof n!=`function`)throw TypeError(`The listener must be a function`);var s=new a(n,i||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function s(e,t){--e._eventsCount===0?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}c.prototype.eventNames=function(){var e=[],t,i;if(this._eventsCount===0)return e;for(i in t=this._events)n.call(t,i)&&e.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i<a;i++)o[i]=n[i].fn;return o},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,a,o){var s=r?r+e:e;if(!this._events[s])return!1;var c=this._events[s],l=arguments.length,u,d;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),l){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,a),!0;case 6:return c.fn.call(c.context,t,n,i,a,o),!0}for(d=1,u=Array(l-1);d<l;d++)u[d-1]=arguments[d];c.fn.apply(c.context,u)}else{var f=c.length,p;for(d=0;d<f;d++)switch(c[d].once&&this.removeListener(e,c[d].fn,void 0,!0),l){case 1:c[d].fn.call(c[d].context);break;case 2:c[d].fn.call(c[d].context,t);break;case 3:c[d].fn.call(c[d].context,t,n);break;case 4:c[d].fn.call(c[d].context,t,n,i);break;default:if(!u)for(p=1,u=Array(l-1);p<l;p++)u[p-1]=arguments[p];c[d].fn.apply(c[d].context,u)}}return!0},c.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn===t&&(!i||o.once)&&(!n||o.context===n)&&s(this,a);else{for(var c=0,l=[],u=o.length;c<u;c++)(o[c].fn!==t||i&&!o[c].once||n&&o[c].context!==n)&&l.push(o[c]);l.length?this._events[a]=l.length===1?l[0]:l:s(this,a)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t!==void 0&&(t.exports=c)}}),uh=de({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b}}),dh=de({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/index.js"(e,t){t.exports=uh()}}),fh=de({"../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){var n=dh(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}}),ph=de({"../../../node_modules/fontfaceobserver/fontfaceobserver.standalone.js"(e,t){(function(){function e(e,t){document.addEventListener?e.addEventListener(`scroll`,t,!1):e.attachEvent(`scroll`,t)}function n(e){document.body?e():document.addEventListener?document.addEventListener(`DOMContentLoaded`,function t(){document.removeEventListener(`DOMContentLoaded`,t),e()}):document.attachEvent(`onreadystatechange`,function t(){(document.readyState==`interactive`||document.readyState==`complete`)&&(document.detachEvent(`onreadystatechange`,t),e())})}function r(e){this.g=document.createElement(`div`),this.g.setAttribute(`aria-hidden`,`true`),this.g.appendChild(document.createTextNode(e)),this.h=document.createElement(`span`),this.i=document.createElement(`span`),this.m=document.createElement(`span`),this.j=document.createElement(`span`),this.l=-1,this.h.style.cssText=`max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;`,this.i.style.cssText=`max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;`,this.j.style.cssText=`max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;`,this.m.style.cssText=`display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;`,this.h.appendChild(this.m),this.i.appendChild(this.j),this.g.appendChild(this.h),this.g.appendChild(this.i)}function i(e,t){e.g.style.cssText=`max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:`+t+`;`}function a(e){var t=e.g.offsetWidth,n=t+100;return e.j.style.width=n+`px`,e.i.scrollLeft=n,e.h.scrollLeft=e.h.scrollWidth+100,e.l===t?!1:(e.l=t,!0)}function o(t,n){function r(){var e=i;a(e)&&e.g.parentNode!==null&&n(e.l)}var i=t;e(t.h,r),e(t.i,r),a(t)}function s(e,t,n){t||={},n||=d,this.family=e,this.style=t.style||`normal`,this.weight=t.weight||`normal`,this.stretch=t.stretch||`normal`,this.context=n}var c=null,l=null,u=null,f=null;function p(e){return l===null&&(m(e)&&/Apple/.test(d.navigator.vendor)?(e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(d.navigator.userAgent),l=!!e&&603>parseInt(e[1],10)):l=!1),l}function m(e){return f===null&&(f=!!e.document.fonts),f}function h(e,t){var n=e.style,r=e.weight;if(u===null){var i=document.createElement(`div`);try{i.style.font=`condensed 100px sans-serif`}catch{}u=i.style.font!==``}return[n,r,u?e.stretch:``,`100px`,t].join(` `)}s.prototype.load=function(e,t){var a=this,s=e||`BESbswy`,l=0,u=t||3e3,f=new Date().getTime();return new Promise(function(e,t){if(m(a.context)&&!p(a.context)){var g=new Promise(function(e,t){function n(){new Date().getTime()-f>=u?t(Error(``+u+`ms timeout exceeded`)):a.context.document.fonts.load(h(a,`"`+a.family+`"`),s).then(function(t){1<=t.length?e():setTimeout(n,25)},t)}n()}),_=new Promise(function(e,t){l=setTimeout(function(){t(Error(``+u+`ms timeout exceeded`))},u)});Promise.race([_,g]).then(function(){clearTimeout(l),e(a)},t)}else n(function(){function n(){var t;(t=v!=-1&&y!=-1||v!=-1&&b!=-1||y!=-1&&b!=-1)&&((t=v!=y&&v!=b&&y!=b)||(c===null&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(d.navigator.userAgent),c=!!t&&(536>parseInt(t[1],10)||parseInt(t[1],10)===536&&11>=parseInt(t[2],10))),t=c&&(v==x&&y==x&&b==x||v==S&&y==S&&b==S||v==C&&y==C&&b==C)),t=!t),t&&(w.parentNode!==null&&w.parentNode.removeChild(w),clearTimeout(l),e(a))}function p(){if(new Date().getTime()-f>=u)w.parentNode!==null&&w.parentNode.removeChild(w),t(Error(``+u+`ms timeout exceeded`));else{var e=a.context.document.hidden;(!0===e||e===void 0)&&(v=m.g.offsetWidth,y=g.g.offsetWidth,b=_.g.offsetWidth,n()),l=setTimeout(p,50)}}var m=new r(s),g=new r(s),_=new r(s),v=-1,y=-1,b=-1,x=-1,S=-1,C=-1,w=document.createElement(`div`);w.dir=`ltr`,i(m,h(a,`sans-serif`)),i(g,h(a,`serif`)),i(_,h(a,`monospace`)),w.appendChild(m.g),w.appendChild(g.g),w.appendChild(_.g),a.context.document.body.appendChild(w),x=m.g.offsetWidth,S=g.g.offsetWidth,C=_.g.offsetWidth,p(),o(m,function(e){v=e,n()}),i(m,h(a,`"`+a.family+`",sans-serif`)),o(g,function(e){y=e,n()}),i(g,h(a,`"`+a.family+`",serif`)),o(_,function(e){b=e,n()}),i(_,h(a,`"`+a.family+`",monospace`))})})},typeof t==`object`?t.exports=s:(d.FontFaceObserver=s,d.FontFaceObserver.prototype.load=s.prototype.load)})()}}),mh=()=>{},hh=d!==void 0,gh=(()=>hh&&(o.webdriver||/bot|-google|google-|yandex|ia_archiver|crawl|spider/iu.test(o.userAgent)))(),_h=hh&&typeof d.requestIdleCallback==`function`,vh=(()=>_h?d.requestIdleCallback:setTimeout)(),yh=()=>()=>{},bh=()=>!0,xh=()=>!1,Sh=new Map,Ch=hh?void 0:new Set,wh=`preload`,Th=Object.keys,Eh=`equals`,Dh=(()=>h.createContext({}))(),Oh=(()=>h.createContext({}))(),kh=[],Ah=h.createContext(void 0),Ah.displayName=`LibraryFeaturesContext`,jh=(()=>Ah.Provider)(),Mh=()=>h.useContext(Ah)??{},Nh=`default`,Ph={Pending:`pending`,Fulfilled:`fulfilled`,Rejected:`rejected`},Fh=class e{constructor(e,t){this.resolver=e,this.cacheHash=t,L(this,`promiseState`,Ph.Pending),L(this,`preloadPromise`),L(this,`value`),L(this,`reason`),L(this,`read`,()=>{if(this.promiseState===Ph.Fulfilled)return this.value;throw this.promiseState===Ph.Rejected?this.reason:Error(`Need to call preload() before read()`)})}static is(t){return t instanceof e}get status(){return this.preload(),this.state}get state(){return this.promiseState}then(e,t){return this.promiseState===Ph.Fulfilled?Promise.resolve(this.value).then(e,t):this.promiseState===Ph.Rejected?Promise.reject(this.reason).then(e,t):this.readAsync().then(e,t)}preload(){if(this.promiseState!==Ph.Pending)return;if(this.preloadPromise)return this.preloadPromise;this.cacheHash!==void 0&&Ch!==void 0&&Ch.add(this.cacheHash);let e=e=>{this.promiseState=Ph.Fulfilled,this.value=e},t=e=>{this.promiseState=Ph.Rejected,this.reason=e},n;try{n=this.cacheHash&&Sh.has(this.cacheHash)?Sh.get(this.cacheHash):this.resolver()}catch(e){t(e);return}if(!at(n)){e(n);return}let r=n.then(e,t);return this.preloadPromise=r,r}async readAsync(){return this.readMaybeAsync()}readMaybeAsync(){let e=this.preload();return e?e.then(this.read):this.read()}use(){let e=this.preload();if(e)throw e;return this.read()}},Ih=class extends Error{constructor(e,t,n,r){super(e),this.name=`DevalueError`,this.path=t.join(``),this.value=n,this.root=r}},Lh=Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`),Rh=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/,zh=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,Bh=-1,Vh=-2,Hh=-3,Uh=-4,Wh=-5,Gh=-6,Kh=-7,q=hh?d:{addEventListener:()=>{},removeEventListener:()=>{},dispatchEvent:()=>!1,ResizeObserver:void 0,onpointerdown:!1,onpointermove:!1,onpointerup:!1,ontouchstart:!1,ontouchmove:!1,ontouchend:!1,onmousedown:!1,onmousemove:!1,onmouseup:!1,devicePixelRatio:1,scrollX:0,scrollY:0,location:{hash:``,hostname:``,href:``,origin:``,pathname:``,search:``},document:{baseURI:``,cookie:``,referrer:null},setTimeout:()=>0,clearTimeout:()=>{},setInterval:()=>0,clearInterval:()=>{},requestAnimationFrame:()=>0,cancelAnimationFrame:()=>{},requestIdleCallback:()=>0,getSelection:()=>null,matchMedia:e=>({matches:!1,media:e,onchange:()=>{},addEventListener:()=>{},removeEventListener:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!1}),innerHeight:0,innerWidth:0,SVGSVGElement:{},scheduler:void 0,open:function(e,t,n){},__framer_events:[]},qh=2,Jh=/^[a-z0-9]+(?:-[a-z0-9]+)*$/u,Yh={QueryCache:0,CollectionUtilsCache:1},Zh=class{constructor(){L(this,`payload`,nn()),L(this,`isEmpty`,!0)}set(e,t,n){this.payload[e].set(t,n),this.isEmpty=!1}has(e,t){return this.payload[e].has(t)}get(e,t){return this.payload[e].get(t)}toString(){if(!this.isEmpty)try{return Qt(this.payload)}catch(e){console.error(`Failed to serialize handover data.`,e);return}}clear(){for(let e of Object.values(this.payload))e.clear();this.isEmpty=!0}},Qh=(()=>hh?void 0:new Zh)(),$h=(()=>Yh.CollectionUtilsCache)(),eg=new WeakMap,tg=i(void 0),ng=class{constructor(e,t){this.collectionId=t,L(this,`module`),L(this,`cacheMap`,new Map),this.module=new Fh(async()=>{try{let t=await e();return V(t,`Couldn't find CollectionUtils`),t}catch(e){console.error(ct(`Failed to import collection module.`,e));return}})}callUtilsMethod(e,t,n){let r=cn(n),i=ln(e,this.collectionId,r,t);if(this.cacheMap.has(i)){let e=this.cacheMap.get(i)?.readMaybeAsync();if(Qh!==void 0){if(at(e))return e.then(e=>(Qh.set($h,i,e),e));Qh.set($h,i,e)}return e}if(on($h,i)){let e=sn($h,i);return this.cacheMap.set(i,new Fh(()=>e)),e}let a=this.module.readMaybeAsync(),o=at(a),s;try{s=o?a.then(r=>r?.[e](t,n)):a?.[e](t,n)}catch(e){console.error(ct(`Failed to call CollectionUtils method.`,e)),s=void 0}if(s===void 0){Qh!==void 0&&Qh.set($h,i,s),this.cacheMap.set(i,s);return}let c=new Fh(()=>s.then(e=>(Qh!==void 0&&Qh.set($h,i,e),e)).catch(e=>{console.error(ct(`Failed to call CollectionUtils method.`,e))}));return this.cacheMap.set(i,c),c.readMaybeAsync()}getSlugByRecordId(e,t){return this.callUtilsMethod(`getSlugByRecordId`,e,t)}getRecordIdBySlug(e,t){return this.callUtilsMethod(`getRecordIdBySlug`,e,t)}},rg=(()=>q.scheduler&&`yield`in q.scheduler)(),ig=(()=>q.scheduler&&`postTask`in q.scheduler)(),ag=new Set,og=!gh,sg=46,cg=47,lg=(e,t)=>e.charCodeAt(t),ug=(e,t)=>e.lastIndexOf(t),dg=(e,t,n)=>e.slice(t,n),fg=!1,pg=`/`,mg=e=>e===cg,hg=new Set([`/404.html`,`/404`,`/404/`]),gg=RegExp(`:([a-z]\\w*)`,`gi`),_g=`framer_variant`,vg=h.createContext({global:void 0,routes:{}}),yg=10,bg=1e4,xg=e=>`--view-transition-${e}`,Sg={circle:{makeKeyframe:(e,t)=>{let{x:n,y:r}=Ln(e);return t===`start`?`clip-path: circle(0 at ${n}px ${r}px);`:`clip-path: circle(${Math.hypot(Math.max(n,d.innerWidth-n),Math.max(r,d.innerHeight-r))}px at ${n}px ${r}px);`}},conic:{makeKeyframe:(e,t,n)=>{let r=0;return(n===`exit`&&e.angularDirection===`clockwise`&&t===`start`||n===`exit`&&e.angularDirection===`counter-clockwise`&&t===`end`||n===`enter`&&e.angularDirection===`counter-clockwise`&&t===`start`||n===`enter`&&e.angularDirection===`clockwise`&&t===`end`)&&(r=e.sweepAngle/360*100),`${xg(`conic-offset`)}: ${r}%;`},makeStyles:(e,t)=>{let n=`var(${xg(`conic-offset`)})`,r=t===`exit`&&e.angularDirection===`clockwise`||t===`enter`&&e.angularDirection===`counter-clockwise`,i=r?`transparent`:`black`,a=r?`black`:`transparent`,o=`conic-gradient(from `;return o+=`${e.angle}deg at ${e.x} ${e.y}, `,o+=`${i} 0%, ${i} ${n}, `,o+=`${a} ${n}, ${a} 100%)`,`mask-image: ${o}; -webkit-mask-image: ${o};`},makePropertyRules:()=>`
        @property ${xg(`conic-offset`)} {
            syntax: '<percentage>';
            initial-value: 0%;
            inherits: false;
        }
    `},inset:{makeKeyframe:(e,t)=>{let{x:n,y:r}=Ln(e),i=d.innerHeight-r,a=d.innerWidth-n;return t===`start`?`clip-path: inset(${r}px ${a}px ${i}px ${n}px round ${e.round}px);`:`clip-path: inset(0 round 0);`}},blinds:{makeKeyframe:(e,t,n)=>{let[,r]=In(e.width),i=`0${r}`;return(t===`start`&&n===`exit`||t===`end`&&n===`enter`)&&(i=e.width),`${xg(`blinds-width`)}: ${i};`},makeStyles:(e,t)=>{let n=`var(${xg(`blinds-width`)})`,r=t===`exit`?`transparent`:`black`,i=t===`exit`?`black`:`transparent`,a=`repeating-linear-gradient(`;return a+=e.angle+90+`deg, `,a+=`${r} 0px, ${r} ${n}, `,a+=`${i} ${n}, ${i} ${e.width})`,`mask-image: ${a}; -webkit-mask-image: ${a};`},makePropertyRules:()=>`
            @property ${xg(`blinds-width`)} {
                syntax: '<length-percentage>';
                initial-value: 0px;
                inherits: false;
            }
        `},wipe:{makeKeyframe:(e,t,n)=>{let r=t===`start`&&n===`exit`||t===`end`&&n===`enter`?1:0;return`${xg(`wipe-offset`)}: ${r};`},makeStyles:(e,t)=>{let n=`var(${xg(`wipe-offset`)})`,r=t===`exit`?`transparent`:`black`,i=t===`exit`?`black`:`transparent`,a=`linear-gradient(`;return a+=e.angle+90+`deg, `,a+=`${r} calc(calc(0% - ${e.width}) + calc(calc(100% + ${e.width}) * ${n})), `,a+=`${i} calc(calc(100% + ${e.width}) * ${n}))`,`mask-image: ${a}; -webkit-mask-image: ${a};`},makePropertyRules:()=>`
            @property ${xg(`wipe-offset`)} {
                syntax: '<number>';
                initial-value: 0;
                inherits: false;
            }
        `}},Cg={opacity:1,x:`0px`,y:`0px`,scale:1,rotate:0,rotateX:0,rotateY:0,mask:void 0},wg=`view-transition-styles`,Tg={x:`0px`,y:`0px`,scale:1,opacity:1,rotate3d:!1,rotate:0,rotateX:0,rotateY:0,mask:void 0,transition:{type:`tween`,delay:0,duration:.2,ease:[.27,0,.51,1],stiffness:400,damping:30,mass:1}},Eg=()=>{},Og=()=>{Dg||(Dg=document.createElement(`div`),Dg.setAttribute(`aria-live`,`assertive`),Dg.setAttribute(`aria-atomic`,`true`),Dg.style.position=`absolute`,Dg.style.transform=`scale(0)`,document.body.append(Dg)),setTimeout(()=>{Dg.textContent=document.title},60)},kg=!0,Ag=(()=>{if(o===void 0)return!1;let e=o.userAgent,t=e.indexOf(`Chrome/`),n=+e.slice(t+7,e.indexOf(`.`,t));return n>101&&n<128})(),jg=(()=>hh&&typeof d.navigation?.back==`function`)(),Mg=/[\s?#[\]@!$&'*+,;:="<>%{}|\\^`/]+/gu,Ng=h.createContext(null),Pg=(()=>{let e=i(`preview`);return e.displayName=`RenderTargetEnvironmentContext`,e})(),Fg=async()=>{},Ig={activeLocale:null,locales:[],setLocale:Fg},Lg=(()=>{let e=h.createContext(Ig);return e.displayName=`LocaleInfoContext`,e})(),Rg=(()=>{let e=h.createContext(`ltr`);return e.displayName=`LayoutDirectionContext`,e})(),zg=(()=>{let e=i({urlSearchParams:new URLSearchParams,replaceSearchParams:async()=>{}});return e.displayName=`URLSearchParamsContext`,e})(),Bg=`__f_replay`,Vg=`mousedown.mouseup.touchcancel.touchend.touchstart.auxclick.dblclick.pointercancel.pointerdown.pointerup.dragend.dragstart.drop.compositionend.compositionstart.keydown.keypress.keyup.input.textInput.copy.cut.paste.click.change.contextmenu.reset`.split(`.`),Hg=e=>{e.target?.closest?.(`#main`)&&(br(e)||(e.stopPropagation(),performance.mark(`framer-react-event-handling-prevented`)))},Ug=!1,o_=[Cr],a_=[Cr],i_=[Cr],r_=[Cr],n_=[Cr],t_=[Cr],e_=[Cr],$g=[Cr],Qg=[Cr],Zg=[Cr],Xg=[Cr],Yg=[Cr],Jg=[Cr],qg=[Cr],Kg=[Cr],Gg=[Cr],Wg=[Cr],c_=class{constructor(){He(s_,5,this),L(this,`render`,{markStart:()=>this.markRenderStart(),markEnd:()=>this.markRenderEnd()}),L(this,`mutationEffects`,{measure:()=>this.measureMutationEffects()}),L(this,`useInsertionEffects`,{markStart:()=>this.markUseInsertionEffectsStart(),markRouterStart:()=>this.markUseInsertionEffectRouterStart(),markEnd:()=>this.markUseInsertionEffectsEnd()}),L(this,`useLayoutEffects`,{markStart:()=>this.markUseLayoutEffectsStart(),markRouterStart:()=>this.markRouterUseLayoutEffectStart(),markEnd:()=>this.markUseLayoutEffectsEnd()}),L(this,`useEffects`,{markStart:()=>this.markUseEffectsStart(),markRouterStart:()=>this.markUseEffectsRouterStart(),markEnd:()=>this.markUseEffectsEnd(),markAreSynchronous:()=>this.markUseEffectsAreSynchronous()}),L(this,`browserRendering`,{hasStarted:!1,requestAnimationFrame:{markStart:()=>this.markRafStart(),markEnd:()=>this.markRafEnd()},layoutStylePaint:{markEnd:()=>this.markLayoutStylePaintEnd()}}),L(this,`unattributedHydrationOverhead`,{measure:()=>this.measureUnattributedHydrationOverhead()})}markRenderStart(){performance.mark(`framer-hydration-start`)}markRenderEnd(){performance.mark(`framer-hydration-render-end`),wr(`framer-hydration-render`,`framer-hydration-start`,`framer-hydration-render-end`)}markUseInsertionEffectsStart(){performance.mark(`framer-hydration-insertion-effects-start`)}markUseInsertionEffectRouterStart(){performance.mark(`framer-hydration-router-insertion-effect`)}markUseInsertionEffectsEnd(){performance.mark(`framer-hydration-insertion-effects-end`),wr(`framer-hydration-insertion-effects`,`framer-hydration-insertion-effects-start`,`framer-hydration-insertion-effects-end`)}markUseLayoutEffectsStart(){performance.mark(`framer-hydration-layout-effects-start`)}markRouterUseLayoutEffectStart(){performance.mark(`framer-hydration-router-layout-effect`)}markUseLayoutEffectsEnd(){performance.mark(`framer-hydration-layout-effects-end`),wr(`framer-hydration-layout-effects`,`framer-hydration-layout-effects-start`,`framer-hydration-layout-effects-end`)}markUseEffectsStart(){performance.mark(`framer-hydration-effects-start`)}markUseEffectsRouterStart(){performance.mark(`framer-hydration-router-effect`)}markUseEffectsAreSynchronous(){performance.mark(`framer-hydration-effects-sync`)}markUseEffectsEnd(){performance.mark(`framer-hydration-effects-end`),wr(`framer-hydration-effects`,performance.getEntriesByName(`framer-hydration-first-paint`)[0]?.name??performance.getEntriesByName(`framer-hydration-effects-start`)[0]?.name,`framer-hydration-effects-end`)}markRafStart(){this.browserRendering.hasStarted=!0,performance.mark(`framer-hydration-browser-render-start`)}markRafEnd(){performance.mark(`framer-hydration-browser-raf-end`),wr(`framer-hydration-raf`,`framer-hydration-browser-render-start`,`framer-hydration-browser-raf-end`)}markLayoutStylePaintEnd(){performance.mark(`framer-hydration-first-paint`),wr(`framer-hydration-time-to-first-paint`,`framer-hydration-start`,`framer-hydration-first-paint`),wr(`framer-hydration-browser-render`,`framer-hydration-browser-raf-end`,`framer-hydration-first-paint`)}measureMutationEffects(){wr(`framer-hydration-commit`,`framer-hydration-layout-effects-end`,`framer-hydration-effects-start`)}measureUnattributedHydrationOverhead(){wr(`framer-hydration-uho`,performance.getEntriesByName(`framer-hydration-effects-end`)[0]?.name??performance.getEntriesByName(`framer-hydration-layout-effects-end`)[0]?.name,`framer-hydration-browser-render-start`)}},s_=xe(null),Re(s_,1,`markRenderStart`,o_,c_),Re(s_,1,`markRenderEnd`,a_,c_),Re(s_,1,`markUseInsertionEffectsStart`,i_,c_),Re(s_,1,`markUseInsertionEffectRouterStart`,r_,c_),Re(s_,1,`markUseInsertionEffectsEnd`,n_,c_),Re(s_,1,`markUseLayoutEffectsStart`,t_,c_),Re(s_,1,`markRouterUseLayoutEffectStart`,e_,c_),Re(s_,1,`markUseLayoutEffectsEnd`,$g,c_),Re(s_,1,`markUseEffectsStart`,Qg,c_),Re(s_,1,`markUseEffectsRouterStart`,Zg,c_),Re(s_,1,`markUseEffectsAreSynchronous`,Xg,c_),Re(s_,1,`markUseEffectsEnd`,Yg,c_),Re(s_,1,`markRafStart`,Jg,c_),Re(s_,1,`markRafEnd`,qg,c_),Re(s_,1,`markLayoutStylePaintEnd`,Kg,c_),Re(s_,1,`measureMutationEffects`,Gg,c_),Re(s_,1,`measureUnattributedHydrationOverhead`,Wg,c_),ue(s_,c_),u_=!1,d_={Start:kr,End:Ar},f_=class extends Error{},p_=class extends _{constructor(e){super(e),this.state={error:void 0,forceUpdateKey:e.forceUpdateKey}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){if(e.forceUpdateKey!==t.forceUpdateKey){let n={forceUpdateKey:e.forceUpdateKey};return t.error&&(n.error=void 0),n}return null}render(){if(this.state.error===void 0)return this.props.children;if(!(this.state.error instanceof f_))throw this.state.error;let{notFoundPage:e,defaultPageStyle:t}=this.props;if(!e)throw this.state.error;return jr(e,t)}},m_=Object.freeze([]),g_=new Set,__=class{constructor(){L(this,`observers`,new Set),L(this,`transactions`,{})}add(e){this.observers.add(e);let t=!1;return()=>{t||(t=!0,this.remove(e))}}remove(e){this.observers.delete(e)}notify(e,t){if(t){let n=this.transactions[t]||e;n.value=e.value,this.transactions[t]=n}else this.callObservers(e)}finishTransaction(e){let t=this.transactions[e];return delete this.transactions[e],this.callObservers(t,e)}callObservers(e,t){let n=[];return new Set(this.observers).forEach(r=>{typeof r==`function`?r(e,t):(r.update(e,t),n.push(r.finish))}),n}},v_=(()=>{function e(e){return qr(`Animatable()`,`2.0.0`,`the new animation API (https://www.framer.com/api/animation/)`),Jr(e)?e:new x_(e)}return e.transaction=e=>{let t=Math.random(),n=new Set;e((e,r)=>{e.set(r,t),n.add(e)},t);let r=[];n.forEach(e=>{r.push(...e.finishTransaction(t))}),r.forEach(e=>{e(t)})},e.getNumber=(t,n=0)=>e.get(t,n),e.get=(e,t)=>e==null?t:Jr(e)?e.get():e,e.objectToValues=e=>{if(!e)return e;let t={};for(let n in e){let r=e[n];Jr(r)?t[n]=r.get():t[n]=r}return t},e})(),y_=`onUpdate`,b_=`finishTransaction`,x_=class{constructor(e){this.value=e,L(this,`observers`,new __)}static interpolationFor(e,t){if(Jr(e))return Yr(e,t)}get(){return this.value}set(e,t){let n=this.value;Jr(e)&&(e=e.get()),this.value=e;let r={value:e,oldValue:n};this.observers.notify(r,t)}finishTransaction(e){return this.observers.finishTransaction(e)}onUpdate(e){return this.observers.add(e)}},(e=>{e.isQuadrilateralPoints=e=>e?.length===4,e.add=(...e)=>e.reduce((e,t)=>({x:e.x+t.x,y:e.y+t.y}),{x:0,y:0}),e.subtract=(e,t)=>({x:e.x-t.x,y:e.y-t.y}),e.multiply=(e,t)=>({x:e.x*t,y:e.y*t}),e.divide=(e,t)=>({x:e.x/t,y:e.y/t}),e.absolute=e=>({x:Math.abs(e.x),y:Math.abs(e.y)}),e.reverse=e=>({x:e.x*-1,y:e.y*-1}),e.pixelAligned=(e,t={x:0,y:0})=>({x:Zr(e.x,t.x),y:Zr(e.y,t.y)}),e.distance=(e,t)=>{let n=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y);return Math.sqrt(n*n+r*r)},e.angle=(e,t)=>Math.atan2(t.y-e.y,t.x-e.x)*180/Math.PI-90,e.angleFromX=(e,t)=>Math.atan2(t.y-e.y,t.x-e.x)*180/Math.PI,e.isEqual=(e,t)=>e.x===t.x&&e.y===t.y,e.rotationNormalizer=()=>{let e;return t=>{typeof e!=`number`&&(e=t);let n=e-t,r=Math.abs(n)+180,i=Math.floor(r/360);return n<180&&(t-=i*360),n>180&&(t+=i*360),e=t,t}};function t(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}}e.center=t;function n(e){let t=0,n=0;return e.forEach(e=>{t+=e.x,n+=e.y}),{x:t/e.length,y:n/e.length}}e.centroid=n;function r(t){let n=e.centroid(t),r=new Map;for(let e=0;e<t.length;e++){let i=t[e];i&&r.set(i,Math.atan2(i.y-n.y,i.x-n.x))}return t.sort((e,t)=>(r.get(e)??0)-(r.get(t)??0))}e.sortClockwise=r})($r||={}),S_={aliceblue:`f0f8ff`,antiquewhite:`faebd7`,aqua:`0ff`,aquamarine:`7fffd4`,azure:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`000`,blanchedalmond:`ffebcd`,blue:`00f`,blueviolet:`8a2be2`,brown:`a52a2a`,burlywood:`deb887`,burntsienna:`ea7e5d`,cadetblue:`5f9ea0`,chartreuse:`7fff00`,chocolate:`d2691e`,coral:`ff7f50`,cornflowerblue:`6495ed`,cornsilk:`fff8dc`,crimson:`dc143c`,cyan:`0ff`,darkblue:`00008b`,darkcyan:`008b8b`,darkgoldenrod:`b8860b`,darkgray:`a9a9a9`,darkgreen:`006400`,darkgrey:`a9a9a9`,darkkhaki:`bdb76b`,darkmagenta:`8b008b`,darkolivegreen:`556b2f`,darkorange:`ff8c00`,darkorchid:`9932cc`,darkred:`8b0000`,darksalmon:`e9967a`,darkseagreen:`8fbc8f`,darkslateblue:`483d8b`,darkslategray:`2f4f4f`,darkslategrey:`2f4f4f`,darkturquoise:`00ced1`,darkviolet:`9400d3`,deeppink:`ff1493`,deepskyblue:`00bfff`,dimgray:`696969`,dimgrey:`696969`,dodgerblue:`1e90ff`,firebrick:`b22222`,floralwhite:`fffaf0`,forestgreen:`228b22`,fuchsia:`f0f`,gainsboro:`dcdcdc`,ghostwhite:`f8f8ff`,gold:`ffd700`,goldenrod:`daa520`,gray:`808080`,green:`008000`,greenyellow:`adff2f`,grey:`808080`,honeydew:`f0fff0`,hotpink:`ff69b4`,indianred:`cd5c5c`,indigo:`4b0082`,ivory:`fffff0`,khaki:`f0e68c`,lavender:`e6e6fa`,lavenderblush:`fff0f5`,lawngreen:`7cfc00`,lemonchiffon:`fffacd`,lightblue:`add8e6`,lightcoral:`f08080`,lightcyan:`e0ffff`,lightgoldenrodyellow:`fafad2`,lightgray:`d3d3d3`,lightgreen:`90ee90`,lightgrey:`d3d3d3`,lightpink:`ffb6c1`,lightsalmon:`ffa07a`,lightseagreen:`20b2aa`,lightskyblue:`87cefa`,lightslategray:`789`,lightslategrey:`789`,lightsteelblue:`b0c4de`,lightyellow:`ffffe0`,lime:`0f0`,limegreen:`32cd32`,linen:`faf0e6`,magenta:`f0f`,maroon:`800000`,mediumaquamarine:`66cdaa`,mediumblue:`0000cd`,mediumorchid:`ba55d3`,mediumpurple:`9370db`,mediumseagreen:`3cb371`,mediumslateblue:`7b68ee`,mediumspringgreen:`00fa9a`,mediumturquoise:`48d1cc`,mediumvioletred:`c71585`,midnightblue:`191970`,mintcream:`f5fffa`,mistyrose:`ffe4e1`,moccasin:`ffe4b5`,navajowhite:`ffdead`,navy:`000080`,oldlace:`fdf5e6`,olive:`808000`,olivedrab:`6b8e23`,orange:`ffa500`,orangered:`ff4500`,orchid:`da70d6`,palegoldenrod:`eee8aa`,palegreen:`98fb98`,paleturquoise:`afeeee`,palevioletred:`db7093`,papayawhip:`ffefd5`,peachpuff:`ffdab9`,peru:`cd853f`,pink:`ffc0cb`,plum:`dda0dd`,powderblue:`b0e0e6`,purple:`800080`,rebeccapurple:`663399`,red:`f00`,rosybrown:`bc8f8f`,royalblue:`4169e1`,saddlebrown:`8b4513`,salmon:`fa8072`,sandybrown:`f4a460`,seagreen:`2e8b57`,seashell:`fff5ee`,sienna:`a0522d`,silver:`c0c0c0`,skyblue:`87ceeb`,slateblue:`6a5acd`,slategray:`708090`,slategrey:`708090`,snow:`fffafa`,springgreen:`00ff7f`,steelblue:`4682b4`,tan:`d2b48c`,teal:`008080`,thistle:`d8bfd8`,tomato:`ff6347`,turquoise:`40e0d0`,violet:`ee82ee`,wheat:`f5deb3`,white:`fff`,whitesmoke:`f5f5f5`,yellow:`ff0`,yellowgreen:`9acd32`},C_=new((()=>ch().Hsluv)()),w_=(()=>{let e=`(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)`,t=`[\\s|\\(]+(`+e+`)[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?`,n=`[\\s|\\(]+(`+e+`)[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?`;return{rgb:RegExp(`rgb`+t),rgba:RegExp(`rgba`+n),hsl:RegExp(`hsl`+t),hsla:RegExp(`hsla`+n),hsv:RegExp(`hsv`+t),hsva:RegExp(`hsva`+n),hex3:/^([\da-f])([\da-f])([\da-f])$/iu,hex6:/^([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu,hex4:/^#?([\da-f])([\da-f])([\da-f])([\da-f])$/iu,hex8:/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu}})(),T_=/^color\(display-p3\s+(?<r>\d+\.\d+|\d+|\.\d+)\s+(?<g>\d+\.\d+|\d+|\.\d+)\s+(?<b>\d+\.\d+|\d+|\.\d+)(?:\s*\/\s*(?<a>\d+\.\d+|\d+|\.\d+))?\)$/u,E_=e=>{let{r:t,g:n,b:r,a:i}=Ci(e);return{x:.486570948648216*t+.265667693169093*n+.1982172852343625*r,y:.2289745640697487*t+.6917385218365062*n+.079286914093745*r,z:0*t+.0451133818589026*n+1.043944368900976*r,a:i}},D_=({x:e=0,y:t=0,z:n=0,a:r=1})=>Ti({r:e*3.2409699419045226-t*1.537383177570094-.4986107602930034*n,g:e*-.9692436362808796+t*1.8759675015077204+.0415550574071756*n,b:e*.0556300796969936-t*.2039769588889765+1.0569715142428784*n,a:r}),O_=e=>{let{r:t,g:n,b:r,a:i}=Ci(e);return{x:.4123907992659593*t+.357584339383878*n+.1804807884018343*r,y:.2126390058715102*t+.715168678767756*n+.0721923153607337*r,z:.0193308187155918*t+.119194779794626*n+.9505321522496607*r,a:i}},k_=({x:e=0,y:t=0,z:n=0,a:r=1})=>Ti({r:e*2.4934969119414263-t*.9313836179191242-.402710784450717*n,g:e*-.8294889695615749+t*1.7626640603183465+.0236246858419436*n,b:e*.0358458302437845-t*.0761723892680418+.9568845240076871*n,a:r}),A_=class e{constructor(e){L(this,`format`,`p3`),L(this,`r`),L(this,`g`),L(this,`b`),L(this,`a`),this.r=e.r??0,this.g=e.g??0,this.b=e.b??0,this.a=e.a??1}hsv(){return Ei(this)}rgb(){return Ai(this)}hsl(){return li(this.r,this.g,this.b)}toString(e=`p3`,t){switch(e){case`p3`:{let e=t?.r??this.r,n=t?.g??this.g,r=t?.b??this.b,i=t?.a??this.a;return i===1?`color(display-p3 ${e} ${n} ${r})`:`color(display-p3 ${e} ${n} ${r} / ${i})`}case`srgb`:{let e=this.rgb(),n=Math.round(Math.max(0,Math.min(e.r,1))*100)/100,r=Math.round(Math.max(0,Math.min(e.g,1))*100)/100,i=Math.round(Math.max(0,Math.min(e.b,1))*100)/100,a=t?.r??n*255,o=t?.g??r*255,s=t?.b??i*255,c=t?.a??e.a??1;return c===1?`rgb(${a}, ${o}, ${s})`:`rgba(${a}, ${o}, ${s}, ${c})`}}}static isP3String(e){return e.startsWith(`color(display-p3`)}static fromHSV(t,n=`p3`){switch(n){case`p3`:return new e(Oi(t));case`srgb`:return new e(ki(Oi(t)))}}static fromRGB(t){return new e(ki({r:Math.round(t.r/255*1e4)/1e4,g:Math.round(t.g/255*1e4)/1e4,b:Math.round(t.b/255*1e4)/1e4,a:t.a??1}))}static fromRGBString(t){let n=J(t);if(n)return e.fromRGB(n)}static fromString(t){if(!e.isP3String(t))return;let n=xi(t);if(n)return new e({r:n.r,g:n.g,b:n.b,a:n.a})}static srgbFromValue(t){if(!R(t)||!J.isP3String(t))return t;let n=e.fromString(t);return n?n.toString(`srgb`):t}static multiplyAlpha(t,n){return new e({r:t.r,g:t.g,b:t.b,a:t.a*n})}},j_=new Map,J=(()=>{function e(n,r,i,a){if(typeof n==`string`){let r=j_.get(n);return r||(r=t(n),r===void 0?{...e(`black`),isValid:!1}:(j_.set(n,r),r))}let o=t(n,r,i,a);return o===void 0?{...e(`black`),isValid:!1}:o}function t(t,n,r,i){if(t===``)return;let a=ji(t,n,r,i);if(a){let n={r:a.r,g:a.g,b:a.b,a:a.a,h:a.h,s:a.s,l:a.l,initialValue:typeof t==`string`&&a.format!==`hsv`?t:void 0,roundA:Math.round(100*a.a)/100,format:a.format,mix:e.mix,toValue:()=>e.toRgbString(n)};return n}else return}let n={isRGB(e){return e===`rgb`||e===`rgba`},isHSL(e){return e===`hsl`||e===`hsla`}};e.inspect=(e,t)=>e.format===`hsl`?`<${e.constructor.name} h:${e.h} s:${e.s} l:${e.l} a:${e.a}>`:e.format===`hex`||e.format===`name`?`<${e.constructor.name} "${t}">`:`<${e.constructor.name} r:${e.r} g:${e.g} b:${e.b} a:${e.a}>`,e.isColor=t=>typeof t==`string`?e.isColorString(t):e.isColorObject(t),e.isColorString=e=>typeof e==`string`?vi(e)!==!1:!1,e.isColorObject=e=>B(e)&&typeof e.r==`number`&&typeof e.g==`number`&&typeof e.b==`number`&&typeof e.h==`number`&&typeof e.s==`number`&&typeof e.l==`number`&&typeof e.a==`number`&&typeof e.roundA==`number`&&typeof e.format==`string`,e.toString=t=>e.toRgbString(t),e.toHex=(e,t=!1)=>ci(e.r,e.g,e.b,t),e.toHexString=(t,n=!1)=>`#${e.toHex(t,n)}`,e.isP3String=e=>typeof e==`string`?A_.isP3String(e):!1,e.toRgbString=e=>e.a===1?`rgb(`+Math.round(e.r)+`, `+Math.round(e.g)+`, `+Math.round(e.b)+`)`:`rgba(`+Math.round(e.r)+`, `+Math.round(e.g)+`, `+Math.round(e.b)+`, `+e.roundA+`)`,e.toHusl=e=>({...ii(e.r,e.g,e.b),a:e.roundA}),e.toHslString=t=>{let n=e.toHsl(t),r=Math.round(n.h),i=Math.round(n.s*100),a=Math.round(n.l*100);return t.a===1?`hsl(`+r+`, `+i+`%, `+a+`%)`:`hsla(`+r+`, `+i+`%, `+a+`%, `+t.roundA+`)`},e.toHsv=e=>{let t=fi(e.r,e.g,e.b);return{h:t.h*360,s:t.s,v:t.v,a:e.a}},e.toHsvString=e=>{let t=fi(e.r,e.g,e.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return e.a===1?`hsv(`+n+`, `+r+`%, `+i+`%)`:`hsva(`+n+`, `+r+`%, `+i+`%, `+e.roundA+`)`},e.toName=e=>{if(e.a===0)return`transparent`;if(e.a<1)return!1;let t=ci(e.r,e.g,e.b,!0);for(let e of Object.keys(S_))if(S_[e]===t)return e;return!1},e.toHsl=e=>({h:Math.round(e.h),s:e.s,l:e.l,a:e.a}),e.toRgb=e=>({r:Math.round(e.r),g:Math.round(e.g),b:Math.round(e.b),a:e.a}),e.brighten=(t,n=10)=>{let r=e.toRgb(t);return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(n/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(n/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(n/100)))),e(r)},e.lighten=(t,n=10)=>{let r=e.toHsl(t);return r.l+=n/100,r.l=Math.min(1,Math.max(0,r.l)),e(r)},e.darken=(t,n=10)=>{let r=e.toHsl(t);return r.l-=n/100,r.l=Math.min(1,Math.max(0,r.l)),e(r)},e.saturate=(t,n=10)=>{let r=e.toHsl(t);return r.s+=n/100,r.s=Math.min(1,Math.max(0,r.s)),e(r)},e.desaturate=(t,n=10)=>{let r=e.toHsl(t);return r.s-=n/100,r.s=Math.min(1,Math.max(0,r.s)),e(r)},e.grayscale=t=>e.desaturate(t,100),e.hueRotate=(t,n)=>{let r=e.toHsl(t);return r.h+=n,r.h=r.h>360?r.h-360:r.h,e(r)},e.alpha=(t,n=1)=>e({r:t.r,g:t.g,b:t.b,a:n}),e.transparent=t=>e.alpha(t,0),e.multiplyAlpha=(t,n=1)=>e({r:t.r,g:t.g,b:t.b,a:t.a*n}),e.interpolate=(t,n,r=`rgb`)=>{if(!e.isColorObject(t)||!e.isColorObject(n))throw TypeError(`Both arguments for Color.interpolate must be Color objects`);return i=>e.mixAsColor(t,n,i,!1,r)},e.mix=(t,n,{model:r=`rgb`}={})=>{let i=typeof t==`string`?e(t):t,a=e.interpolate(i,n,r);return t=>e.toRgbString(a(t))},e.mixAsColor=(t,r,i=.5,a=!1,o=`rgb`)=>{let s=null;if(n.isRGB(o))s=e({r:ei(i,[0,1],[t.r,r.r],a),g:ei(i,[0,1],[t.g,r.g],a),b:ei(i,[0,1],[t.b,r.b],a),a:ei(i,[0,1],[t.a,r.a],a)});else{let c,l;n.isHSL(o)?(c=e.toHsl(t),l=e.toHsl(r)):(c=e.toHusl(t),l=e.toHusl(r)),c.s===0?c.h=l.h:l.s===0&&(l.h=c.h);let u=c.h,d=l.h,f=d-u;f>180?f=d-360-u:f<-180&&(f=d+360-u);let p={h:ei(i,[0,1],[u,u+f],a),s:ei(i,[0,1],[c.s,l.s],a),l:ei(i,[0,1],[c.l,l.l],a),a:ei(i,[0,1],[t.a,r.a],a)};s=n.isHSL(o)?e(p):e(ai(p.h,p.s,p.l,p.a))}return s},e.random=(t=1)=>{function n(){return Math.floor(Math.random()*255)}return e(`rgba(`+n()+`, `+n()+`, `+n()+`, `+t+`)`)},e.grey=(t=.5,n=1)=>(t=Math.floor(t*255),e(`rgba(`+t+`, `+t+`, `+t+`, `+n+`)`)),e.gray=e.grey,e.rgbToHsl=(e,t,n)=>li(e,t,n),e.isValidColorProperty=(t,n)=>!!((t.toLowerCase().slice(-5)===`color`||t===`fill`||t===`stroke`)&&typeof n==`string`&&e.isColorString(n)),e.difference=(e,t)=>{let n=(e.r+t.r)/2,r=e.r-t.r,i=e.g-t.g,a=e.b-t.b,o=r**2,s=i**2,c=a**2;return Math.sqrt(2*o+4*s+3*c+n*(o-c)/256)},e.equal=(e,t,n=.1)=>!(Math.abs(e.r-t.r)>=n||Math.abs(e.g-t.g)>=n||Math.abs(e.b-t.b)>=n||Math.abs(e.a-t.a)*256>=n);let r=We([0,255],[0,1]);function i(e){e=r(e);let t=Math.abs(e);return t<.04045?e/12.92:(Math.sign(e)||1)*((t+.055)/1.055)**2.4}return e.luminance=t=>{let{r:n,g:r,b:a}=e.toRgb(t);return .2126*i(n)+.7152*i(r)+.0722*i(a)},e.contrast=(t,n)=>{let r=e.luminance(t),i=e.luminance(n);return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)},e})(),M_=e=>e instanceof Ve,N_=(()=>lh().EventEmitter)(),P_=class{constructor(){L(this,`_emitter`,new N_)}eventNames(){return this._emitter.eventNames()}eventListeners(){let e={};for(let t of this._emitter.eventNames())e[t]=this._emitter.listeners(t);return e}on(e,t){this.addEventListener(e,t,!1,!1,this)}off(e,t){this.removeEventListeners(e,t)}once(e,t){this.addEventListener(e,t,!0,!1,this)}unique(e,t){this.addEventListener(e,t,!1,!0,this)}addEventListener(e,t,n,r,i){if(r){for(let e of this._emitter.eventNames())if(t===this._emitter.listeners(e))return}n===!0?this._emitter.once(e,t,i):this._emitter.addListener(e,t,i)}removeEventListeners(e,t){e?this._emitter.removeListener(e,t):this.removeAllEventListeners()}removeAllEventListeners(){this._emitter.removeAllListeners()}countEventListeners(e){if(e)return this._emitter.listeners(e).length;{let e=0;for(let t of this._emitter.eventNames())e+=this._emitter.listeners(t).length;return e}}emit(e,...t){this._emitter.emit(e,...t)}},F_=e=>{setTimeout(e,1/60)},I_=(()=>q.requestAnimationFrame||F_)(),L_=e=>I_(e),R_=(()=>1/60)(),z_=class extends P_{constructor(e=!1){super(),L(this,`_started`,!1),L(this,`_frame`,0),L(this,`_frameTasks`,[]),L(this,`tick`,()=>{this._started&&(L_(this.tick),this.emit(`update`,this._frame,R_),this.emit(`render`,this._frame,R_),this._processFrameTasks(),this._frame++)}),e&&this.start()}addFrameTask(e){this._frameTasks.push(e)}_processFrameTasks(){let e=this._frameTasks,t=e.length;if(t!==0){for(let n=0;n<t;n++)e[n]?.();e.length=0}}static set TimeStep(e){R_=e}static get TimeStep(){return R_}start(){return this._started?this:(this._frame=0,this._started=!0,L_(this.tick),this)}stop(){return this._started=!1,this}get frame(){return this._frame}get time(){return this._frame*R_}},B_=new z_,V_={target:q.location.origin===`https://screenshot.framer.invalid`?`EXPORT`:`PREVIEW`,zoom:1},Y={canvas:`CANVAS`,export:`EXPORT`,thumbnail:`THUMBNAIL`,preview:`PREVIEW`,current:()=>V_.target,hasRestrictions:()=>{let e=V_.target;return e===`CANVAS`||e===`EXPORT`}},H_=e=>({correct:(t,{projectionDelta:n,treeScale:r})=>{if(typeof t==`string`&&(t=parseFloat(t)),t===0)return`0px`;let i=t;return n&&r&&(i=Math.round(t/n[e].scale/r[e]),i=Math.max(i,1)),i+`px`}}),Te({borderTopWidth:H_(`y`),borderLeftWidth:H_(`x`),borderRightWidth:H_(`x`),borderBottomWidth:H_(`y`)}),U_=h.createContext({getLayoutId:e=>null,persistLayoutIdCache:()=>{},top:!1,enabled:!0}),W_={background:void 0,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,lineHeight:`1.4em`,textOverflow:`ellipsis`,overflow:`hidden`,minHeight:0,width:`100%`,height:`100%`},G_=(()=>({...W_,border:`1px solid rgba(149, 149, 149, 0.15)`,borderRadius:6,fontSize:`12px`,backgroundColor:`rgba(149, 149, 149, 0.1)`,color:`#a5a5a5`}))(),K_={overflow:`hidden`,whiteSpace:`nowrap`,textOverflow:`ellipsis`,maxWidth:`100%`,flexShrink:0,padding:`0 10px`},q_=(()=>({...K_,fontWeight:500}))(),J_=(()=>({...K_,whiteSpace:`pre`,maxHeight:`calc(50% - calc(20px * var(--framerInternalCanvas-canvasPlaceholderContentScaleFactor, 1)))`,WebkitMaskImage:`linear-gradient(to bottom, black 80%, transparent 100%)`}))(),Y_=(()=>{function e(e,t){return{a:e,b:t}}return e.offset=(t,n)=>{let r=Ki($r.angleFromX(t.a,t.b)),i=n*Math.sin(r),a=n*Math.cos(r);return e({x:t.a.x+i,y:t.a.y-a},{x:t.b.x+i,y:t.b.y-a})},e.intersection=(e,t,n)=>{let r=e.a.x,i=e.a.y,a=e.b.x,o=e.b.y,s=t.a.x,c=t.a.y,l=t.b.x,u=t.b.y,d=(l-s)*(c-i)-(u-c)*(s-r),f=(l-s)*(o-i)-(u-c)*(a-r),p=(a-r)*(c-i)-(o-i)*(s-r);if(d===0&&f===0||f===0)return null;let m=d/f,h=p/f;return n&&(m<0||m>1||h<0||h>1)?null:{x:r+m*(a-r),y:i+m*(o-i)}},e.intersectionAngle=(e,t)=>{let n=e.b.x-e.a.x,r=e.b.y-e.a.y,i=t.b.x-t.a.x,a=t.b.y-t.a.y;return Math.atan2(n*a-r*i,n*i+r*a)*(180/Math.PI)},e.isOrthogonal=e=>e.a.x===e.b.x||e.a.y===e.b.y,e.perpendicular=(t,n)=>{let r=t.a.x-t.b.x,i=t.a.y-t.b.y;return e($r(n.x-i,n.y+r),n)},e.projectPoint=(t,n)=>{let r=e.perpendicular(t,n);return e.intersection(t,r)},e.pointAtPercentDistance=(t,n)=>{let r=e.distance(t),i=n*r/r;return{x:i*t.b.x+(1-i)*t.a.x,y:i*t.b.y+(1-i)*t.a.y}},e.distance=e=>$r.distance(e.a,e.b),e})(),X={equals:function(e,t){return e===t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height},from:e=>({x:e.x,y:e.y,width:e.width,height:e.height}),atOrigin:e=>({x:0,y:0,width:e.width,height:e.height}),fromTwoPoints:(e,t)=>({x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),width:Math.abs(e.x-t.x),height:Math.abs(e.y-t.y)}),fromRect:e=>({x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}),multiply:(e,t)=>({x:e.x*t,y:e.y*t,width:e.width*t,height:e.height*t}),divide:(e,t)=>X.multiply(e,1/t),offset:(e,t)=>{let n=typeof t.x==`number`?t.x:0,r=typeof t.y==`number`?t.y:0;return{...e,x:e.x+n,y:e.y+r}},inflate:(e,t)=>{if(t===0)return e;let n=2*t;return{x:e.x-t,y:e.y-t,width:e.width+n,height:e.height+n}},pixelAligned:e=>{let t=Math.round(e.x),n=Math.round(e.y),r=Math.round(e.x+e.width),i=Math.round(e.y+e.height);return{x:t,y:n,width:Math.max(r-t,0),height:Math.max(i-n,0)}},halfPixelAligned:e=>{let t=Math.round(e.x*2)/2,n=Math.round(e.y*2)/2,r=Math.round((e.x+e.width)*2)/2,i=Math.round((e.y+e.height)*2)/2;return{x:t,y:n,width:Math.max(r-t,1),height:Math.max(i-n,1)}},round:(e,t=0)=>({x:Xr(e.x,t),y:Xr(e.y,t),width:Xr(e.width,t),height:Xr(e.height,t)}),roundToOutside:e=>{let t=Math.floor(e.x),n=Math.floor(e.y),r=Math.ceil(e.x+e.width),i=Math.ceil(e.y+e.height);return{x:t,y:n,width:Math.max(r-t,0),height:Math.max(i-n,0)}},minX:e=>e.x,maxX:e=>e.x+e.width,minY:e=>e.y,maxY:e=>e.y+e.height,positions:e=>({minX:e.x,midX:e.x+e.width/2,maxX:X.maxX(e),minY:e.y,midY:e.y+e.height/2,maxY:X.maxY(e)}),center:e=>({x:e.x+e.width/2,y:e.y+e.height/2}),boundingRectFromPoints:e=>{let t=1/0,n=-1/0,r=1/0,i=-1/0;for(let a=0;a<e.length;a++){let o=e[a];t=Math.min(t,o.x),n=Math.max(n,o.x),r=Math.min(r,o.y),i=Math.max(i,o.y)}return{x:t,y:r,width:n-t,height:i-r}},fromPoints:e=>{let[t,n,r,i]=e,{x:a,y:o}=t;return{x:a,y:o,width:$r.distance(t,n),height:$r.distance(t,i)}},merge:(...e)=>{let t={x:Math.min(...e.map(X.minX)),y:Math.min(...e.map(X.minY))},n={x:Math.max(...e.map(X.maxX)),y:Math.max(...e.map(X.maxY))};return X.fromTwoPoints(t,n)},intersection:(e,t)=>{let n=Math.max(e.x,t.x),r=Math.min(e.x+e.width,t.x+t.width),i=Math.max(e.y,t.y),a=Math.min(e.y+e.height,t.y+t.height);return{x:n,y:i,width:r-n,height:a-i}},points:e=>[{x:X.minX(e),y:X.minY(e)},{x:X.minX(e),y:X.maxY(e)},{x:X.maxX(e),y:X.minY(e)},{x:X.maxX(e),y:X.maxY(e)}],pointsAtOrigin:e=>[{x:0,y:0},{x:e.width,y:0},{x:e.width,y:e.height},{x:0,y:e.height}],transform:(e,t)=>{let{x:n,y:r}=t.transformPoint({x:e.x,y:e.y}),{x:i,y:a}=t.transformPoint({x:e.x+e.width,y:e.y}),{x:o,y:s}=t.transformPoint({x:e.x+e.width,y:e.y+e.height}),{x:c,y:l}=t.transformPoint({x:e.x,y:e.y+e.height}),u=Math.min(n,i,o,c),d=Math.max(n,i,o,c)-u,f=Math.min(r,a,s,l);return{x:u,y:f,width:d,height:Math.max(r,a,s,l)-f}},containsPoint:(e,t)=>!(t.x<X.minX(e)||t.x>X.maxX(e)||t.y<X.minY(e)||t.y>X.maxY(e)||Number.isNaN(e.x)||Number.isNaN(e.y)),containsRect:(e,t)=>{for(let n of X.points(t))if(!X.containsPoint(e,n))return!1;return!0},toCSS:e=>({display:`block`,transform:`translate(${e.x}px, ${e.y}px)`,width:`${e.width}px`,height:`${e.height}px`}),inset:(e,t)=>({x:e.x+t,y:e.y+t,width:Math.max(0,e.width-2*t),height:Math.max(0,e.height-2*t)}),intersects:(e,t)=>!(t.x>=X.maxX(e)||X.maxX(t)<=e.x||t.y>=X.maxY(e)||X.maxY(t)<=e.y),overlapHorizontally:(e,t)=>{let n=X.maxX(e),r=X.maxX(t);return n>t.x&&r>e.x},overlapVertically:(e,t)=>{let n=X.maxY(e),r=X.maxY(t);return n>t.y&&r>e.y},doesNotIntersect:(e,t)=>t.find(t=>X.intersects(t,e))===void 0,isEqual:(e,t)=>X.equals(e,t),cornerPoints:e=>{let t=e.x,n=e.x+e.width,r=e.y,i=e.y+e.height;return[{x:t,y:r},{x:n,y:r},{x:n,y:i},{x:t,y:i}]},midPoints:e=>{let t=e.x,n=e.x+e.width/2,r=e.x+e.width,i=e.y,a=e.y+e.height/2,o=e.y+e.height;return[{x:n,y:i},{x:r,y:a},{x:n,y:o},{x:t,y:a}]},pointDistance:(e,t)=>{let n=0,r=0;return t.x<e.x?n=e.x-t.x:t.x>X.maxX(e)&&(n=t.x-X.maxX(e)),t.y<e.y?r=e.y-t.y:t.y>X.maxY(e)&&(r=t.y-X.maxY(e)),$r.distance({x:n,y:r},{x:0,y:0})},delta:(e,t)=>{let n={x:X.minX(e),y:X.minY(e)},r={x:X.minX(t),y:X.minY(t)};return{x:n.x-r.x,y:n.y-r.y}},withMinSize:(e,t)=>{let{width:n,height:r}=t,i=e.width-n,a=e.height-r;return{width:Math.max(e.width,n),height:Math.max(e.height,r),x:e.width<n?e.x+i/2:e.x,y:e.height<r?e.y+a/2:e.y}},anyPointsOutsideRect:(e,t)=>{let n=X.minX(e),r=X.minY(e),i=X.maxX(e),a=X.maxY(e);for(let e of t)if(e.x<n||e.x>i||e.y<r||e.y>a)return!0;return!1},edges:e=>{let[t,n,r,i]=X.cornerPoints(e);return[Y_(t,n),Y_(n,r),Y_(r,i),Y_(i,t)]},rebaseRectOnto:(e,t,n,r)=>{let i={...e};switch(n){case`bottom`:case`top`:switch(r){case`start`:i.x=t.x;break;case`center`:i.x=t.x+t.width/2-e.width/2;break;case`end`:i.x=t.x+t.width-e.width;break;default:H(r)}break;case`left`:i.x=t.x-e.width;break;case`right`:i.x=t.x+t.width;break;default:H(n)}switch(n){case`left`:case`right`:switch(r){case`start`:i.y=t.y;break;case`center`:i.y=t.y+t.height/2-e.height/2;break;case`end`:i.y=t.y+t.height-e.height;break;default:H(r)}break;case`top`:i.y=t.y-e.height;break;case`bottom`:i.y=t.y+t.height;break;default:H(n)}return i},constrain:(e,t)=>{if(!t)return e;let n=Math.max(e.y,t.y);n=Math.min(n,t.y+t.height-e.height);let r=Math.max(e.x,t.x);return r=Math.min(r,t.x+t.width-e.width),{x:r,y:n,width:e.width,height:e.height}},closestEdge:(e,t)=>{let n=Y_(t,X.center(e)),r=X.edges(e);for(let e=0;e<r.length;e++){let t=r[e];if(t&&Y_.intersection(n,t,!0)){let n=X_[e];return V(n,`Invalid edge name`,X_),{edge:t,name:n}}}},closestRect:(e,t)=>{let n=0,r=e[0];V(r,`Rect array is empty`);let i=X.pointDistance(r,t);for(let a=1;a<e.length;a+=1){let o=e[a];V(o);let s=X.pointDistance(o,t);if(s<i&&(n=a,r=o,i=s),i===0)break}return{rect:r,index:n}}},X_=[`top`,`right`,`bottom`,`left`],Z_={quickfix:e=>((qi(e.widthType)||qi(e.heightType))&&(e.aspectRatio=null),U(e.aspectRatio)&&(e.left&&e.right&&(e.widthType=0),e.top&&e.bottom&&(e.heightType=0),e.left&&e.right&&e.top&&e.bottom&&(e.bottom=!1),e.widthType!==0&&e.heightType!==0&&(e.heightType=0)),e.left&&e.right&&((e.fixedSize||qi(e.widthType)||U(e.maxWidth))&&(e.right=!1),e.widthType=0),e.top&&e.bottom&&((e.fixedSize||qi(e.heightType)||U(e.maxHeight))&&(e.bottom=!1),e.heightType=0),e)},Q_={fromProperties:e=>{let{left:t,right:n,top:r,bottom:i,width:a,height:o,centerX:s,centerY:c,aspectRatio:l,autoSize:u}=e,d=Z_.quickfix({left:U(t)||Jr(t),right:U(n)||Jr(n),top:U(r)||Jr(r),bottom:U(i)||Jr(i),widthType:Ji(a),heightType:Ji(o),aspectRatio:l||null,fixedSize:u===!0}),f=null,p=null,m=0,h=0;if(d.widthType!==0&&typeof a==`string`){let e=parseFloat(a);a.endsWith(`fr`)?(m=3,f=e):a===`auto`?m=2:(m=1,f=e/100)}else a!==void 0&&typeof a!=`string`&&(f=v_.getNumber(a));if(d.heightType!==0&&typeof o==`string`){let e=parseFloat(o);o.endsWith(`fr`)?(h=3,p=e):o===`auto`?h=2:(h=1,p=parseFloat(o)/100)}else o!==void 0&&typeof o!=`string`&&(p=v_.getNumber(o));let g=.5,_=.5;return s&&(g=parseFloat(s)/100),c&&(_=parseFloat(c)/100),{left:d.left?v_.getNumber(t):null,right:d.right?v_.getNumber(n):null,top:d.top?v_.getNumber(r):null,bottom:d.bottom?v_.getNumber(i):null,widthType:m,heightType:h,width:f,height:p,aspectRatio:d.aspectRatio||null,centerAnchorX:g,centerAnchorY:_}},toSize:(e,t,n,r)=>{let i=null,a=null,o=t?.sizing?v_.getNumber(t?.sizing.width):null,s=t?.sizing?v_.getNumber(t?.sizing.height):null,c=ea(e.left,e.right);if(o&&U(c))i=o-c;else if(n&&qi(e.widthType))i=n.width;else if(U(e.width))switch(e.widthType){case 0:i=e.width;break;case 3:i=r?r.freeSpaceInParent.width/r.freeSpaceUnitDivisor.width*e.width:null;break;case 1:case 4:o&&(i=o*e.width);break;case 2:case 5:break;default:H(e.widthType)}let l=ea(e.top,e.bottom);if(s&&U(l))a=s-l;else if(n&&qi(e.heightType))a=n.height;else if(U(e.height))switch(e.heightType){case 0:a=e.height;break;case 3:a=r?r.freeSpaceInParent.height/r.freeSpaceUnitDivisor.height*e.height:null;break;case 1:case 4:s&&(a=s*e.height);break;case 2:case 5:break;default:H(e.heightType)}return $i(i,a,e,{height:s??0,width:o??0},t?.viewport)},toRect:(e,t=null,n=null,r=!1,i=null)=>{let a=e.left||0,o=e.top||0,{width:s,height:c}=Q_.toSize(e,t,n,i),l=t?.positioning??null,u=l?v_.getNumber(l.width):null,d=l?v_.getNumber(l.height):null;e.left===null?u&&e.right!==null?a=u-e.right-s:u&&(a=e.centerAnchorX*u-s/2):a=e.left,e.top===null?d&&e.bottom!==null?o=d-e.bottom-c:d&&(o=e.centerAnchorY*d-c/2):o=e.top;let f={x:a,y:o,width:s,height:c};return r?X.pixelAligned(f):f}},$_=200,ev=200,tv=h.createContext({parentSize:0}),nv=e=>{let t=ca(),{parentSize:n,children:r}=e,i=h.useMemo(()=>({parentSize:n}),[ua(n),da(n)]);return t===1?r?g(O,{children:r}):null:g(tv.Provider,{value:i,children:r})},rv=(e=>(e.Boolean=`boolean`,e.Number=`number`,e.String=`string`,e.RichText=`richtext`,e.FusedNumber=`fusednumber`,e.Enum=`enum`,e.SegmentedEnum=`segmentedenum`,e.Color=`color`,e.Image=`image`,e.ResponsiveImage=`responsiveimage`,e.File=`file`,e.ComponentInstance=`componentinstance`,e.Slot=`slot`,e.Array=`array`,e.EventHandler=`eventhandler`,e.ChangeHandler=`changehandler`,e.Transition=`transition`,e.BoxShadow=`boxshadow`,e.Link=`link`,e.Date=`date`,e.Object=`object`,e.Font=`font`,e.PageScope=`pagescope`,e.ScrollSectionRef=`scrollsectionref`,e.CustomCursor=`customcursor`,e.Border=`border`,e.Cursor=`cursor`,e.Padding=`padding`,e.BorderRadius=`borderradius`,e.Gap=`gap`,e.CollectionReference=`collectionreference`,e.MultiCollectionReference=`multicollectionreference`,e.TrackingId=`trackingid`,e.VectorSetItem=`vectorsetitem`,e.LinkRelValues=`linkrelvalues`,e.Location=`location`,e))(rv||{}),iv=/Mac/u,av=/iPhone|iPod|iPad/iu,ov=/MacIntel/iu,sv=/Edg\//u,cv=/Chrome/u,lv=/Google Inc/u,uv=/Safari/u,dv=/Apple Computer/u,fv=/Firefox\/\d+\.\d+$/u,pv=/FramerX/u,mv=/tablet|iPad|Nexus 9/iu,hv=/mobi/iu,gv=h.createContext(void 0),_v=new Set,yv=`style[data-framer-css-ssr-minified]`,bv=(()=>{if(!Ca())return new Set;let e=document.querySelector(yv)?.getAttribute(`data-framer-components`);return e?new Set(e.split(` `)):new Set})(),xv=`data-framer-css-ssr`,Sv=(e,t,n)=>h.forwardRef((r,i)=>{let{sheet:a,cache:o}=h.useContext(gv)??{},s=n;if(!Ca()){Ye(t)&&(t=t(Y.current(),r));let e=Array.isArray(t)?t.join(`
`):t;wv.add(e,s)}return f(()=>{s&&bv.has(s)||(Ye(t)?t(Y.current(),r):Array.isArray(t)?t:t.split(`
`)).forEach(e=>e&&ka(e,a,o))},[]),g(e,{...r,ref:i})}),Cv=class{constructor(){L(this,`styles`,new Set),L(this,`componentIds`,new Set)}add(e,t){this.styles.add(e),t&&this.componentIds.add(t)}getStyles(){return this.styles}getComponentIds(){return this.componentIds}clear(){this.styles.clear(),this.componentIds.clear()}},wv=new Cv,Ev=`flexbox-gap-not-supported`,Dv=!1,Ov=[`[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }`,`
[data-framer-component-type="DeprecatedRichText"] .text-styles-preset-reset {
    --framer-font-family: Inter, Inter Placeholder, sans-serif;
    --framer-font-style: normal;
    --framer-font-weight: 500;
    --framer-text-color: #000;
    --framer-font-size: 16px;
    --framer-letter-spacing: 0;
    --framer-text-transform: none;
    --framer-text-decoration: none;
    --framer-line-height: 1.2em;
    --framer-text-alignment: start;
    --framer-font-open-type-features: normal;
    --font-variation-settings: normal;
}
`,`
[data-framer-component-type="DeprecatedRichText"] p,
[data-framer-component-type="DeprecatedRichText"] div,
[data-framer-component-type="DeprecatedRichText"] h1,
[data-framer-component-type="DeprecatedRichText"] h2,
[data-framer-component-type="DeprecatedRichText"] h3,
[data-framer-component-type="DeprecatedRichText"] h4,
[data-framer-component-type="DeprecatedRichText"] h5,
[data-framer-component-type="DeprecatedRichText"] h6 {
    margin: 0;
    padding: 0;
}
`,`
[data-framer-component-type="DeprecatedRichText"] p,
[data-framer-component-type="DeprecatedRichText"] div,
[data-framer-component-type="DeprecatedRichText"] h1,
[data-framer-component-type="DeprecatedRichText"] h2,
[data-framer-component-type="DeprecatedRichText"] h3,
[data-framer-component-type="DeprecatedRichText"] h4,
[data-framer-component-type="DeprecatedRichText"] h5,
[data-framer-component-type="DeprecatedRichText"] h6,
[data-framer-component-type="DeprecatedRichText"] li,
[data-framer-component-type="DeprecatedRichText"] ol,
[data-framer-component-type="DeprecatedRichText"] ul,
[data-framer-component-type="DeprecatedRichText"] span:not([data-text-fill]) {
    font-family: var(--framer-font-family, Inter, Inter Placeholder, sans-serif);
    font-style: var(--framer-font-style, normal);
    font-weight: var(--framer-font-weight, 400);
    color: var(--framer-text-color, #000);
    font-size: var(--framer-font-size, 16px);
    letter-spacing: var(--framer-letter-spacing, 0);
    text-transform: var(--framer-text-transform, none);
    text-decoration: var(--framer-text-decoration, none);
    line-height: var(--framer-line-height, 1.2em);
    text-align: var(--framer-text-alignment, start);
}
`,`
[data-framer-component-type="DeprecatedRichText"] p:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] div:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h1:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h2:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h3:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h4:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h5:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h6:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] ol:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] ul:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] .framer-image:not(:first-child) {
    margin-top: var(--framer-paragraph-spacing, 0);
}
`,`
[data-framer-component-type="DeprecatedRichText"] span[data-text-fill] {
    display: inline-block;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
`,`
[data-framer-component-type="DeprecatedRichText"] a,
[data-framer-component-type="DeprecatedRichText"] a span:not([data-text-fill]) {
    font-family: var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
    font-style: var(--framer-link-font-style, var(--framer-font-style, normal));
    font-weight: var(--framer-link-font-weight, var(--framer-font-weight, 400));
    color: var(--framer-link-text-color, var(--framer-text-color, #000));
    font-size: var(--framer-link-font-size, var(--framer-font-size, 16px));
    text-transform: var(--framer-link-text-transform, var(--framer-text-transform, none));
    text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration, none));
}
`,`
[data-framer-component-type="DeprecatedRichText"] a:hover,
[data-framer-component-type="DeprecatedRichText"] a:hover span:not([data-text-fill]) {
    font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
    font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)));
    font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)));
    color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
    font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)));
    text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
    text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)));
}
`,`
[data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current],
[data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current] span:not([data-text-fill]):not([data-nested-link]) {
    font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
    font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)));
    font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)));
    color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
    font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)));
    text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
    text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)));
}
`,`
[data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current]:hover,
[data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current]:hover span:not([data-text-fill]):not([data-nested-link]) {
    font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))));
    font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))));
    font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))));
    color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))));
    font-size: var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))));
    text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))));
    text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))));
}
`,`
[data-framer-component-type="DeprecatedRichText"] strong {
    font-weight: bolder;
}
`,`
[data-framer-component-type="DeprecatedRichText"] em {
    font-style: italic;
}
`,`
[data-framer-component-type="DeprecatedRichText"] .framer-image {
    display: block;
    max-width: 100%;
    height: auto;
}
`,`
[data-framer-component-type="DeprecatedRichText"] ul,
[data-framer-component-type="DeprecatedRichText"] ol {
    display: table;
    width: 100%;
    padding-left: 0;
    margin: 0;
}
`,`
[data-framer-component-type="DeprecatedRichText"] li {
    display: table-row;
    counter-increment: list-item;
    list-style: none;
}
`,`
[data-framer-component-type="DeprecatedRichText"] ol > li::before {
    display: table-cell;
    width: 2.25ch;
    box-sizing: border-box;
    padding-right: 0.75ch;
    content: counter(list-item) ".";
    white-space: nowrap;
}
`,`
[data-framer-component-type="DeprecatedRichText"] ul > li::before {
    display: table-cell;
    width: 2.25ch;
    box-sizing: border-box;
    padding-right: 0.75ch;
    content: "•";
}
`],kv=(e=>(e.Padding=`--framer-input-padding`,e.BorderRadiusTopLeft=`--framer-input-border-radius-top-left`,e.BorderRadiusTopRight=`--framer-input-border-radius-top-right`,e.BorderRadiusBottomRight=`--framer-input-border-radius-bottom-right`,e.BorderRadiusBottomLeft=`--framer-input-border-radius-bottom-left`,e.CornerShape=`--framer-input-corner-shape`,e.BorderColor=`--framer-input-border-color`,e.BorderTopWidth=`--framer-input-border-top-width`,e.BorderRightWidth=`--framer-input-border-right-width`,e.BorderBottomWidth=`--framer-input-border-bottom-width`,e.BorderLeftWidth=`--framer-input-border-left-width`,e.BorderStyle=`--framer-input-border-style`,e.Background=`--framer-input-background`,e.FontFamily=`--framer-input-font-family`,e.FontWeight=`--framer-input-font-weight`,e.FontSize=`--framer-input-font-size`,e.FontColor=`--framer-input-font-color`,e.FontStyle=`--framer-input-font-style`,e.FontLetterSpacing=`--framer-input-font-letter-spacing`,e.FontTextAlignment=`--framer-input-font-text-alignment`,e.FontLineHeight=`--framer-input-font-line-height`,e.FontOpenType=`--framer-input-font-open-type-features`,e.FontVariationAxes=`--framer-input-font-variation-axes`,e.PlaceholderColor=`--framer-input-placeholder-color`,e.BoxShadow=`--framer-input-box-shadow`,e.FocusedBorderColor=`--framer-input-focused-border-color`,e.FocusedBorderWidth=`--framer-input-focused-border-width`,e.FocusedBorderStyle=`--framer-input-focused-border-style`,e.FocusedBackground=`--framer-input-focused-background`,e.FocusedBoxShadow=`--framer-input-focused-box-shadow`,e.FocusedTransition=`--framer-input-focused-transition`,e.BooleanCheckedBackground=`--framer-input-boolean-checked-background`,e.BooleanCheckedBorderColor=`--framer-input-boolean-checked-border-color`,e.BooleanCheckedBorderWidth=`--framer-input-boolean-checked-border-width`,e.BooleanCheckedBorderStyle=`--framer-input-boolean-checked-border-style`,e.BooleanCheckedBoxShadow=`--framer-input-boolean-checked-box-shadow`,e.BooleanCheckedTransition=`--framer-input-boolean-checked-transition`,e.InvalidTextColor=`--framer-input-invalid-text-color`,e.IconBackgroundImage=`--framer-input-icon-image`,e.IconMaskImage=`--framer-input-icon-mask-image`,e.IconColor=`--framer-input-icon-color`,e.IconContent=`--framer-input-icon-content`,e.WrapperHeight=`--framer-input-wrapper-height`,e))(kv||{}),Av=kv,jv=(()=>{function e(e,t){let n=` `;for(let e in t){let r=t[e];V(r!==void 0,"Encountered `undefined` in CSSDeclaration"),n+=`${e.replace(/([A-Z])/gu,`-$1`).toLowerCase()}: ${Ma(r)}; `}return e+` {`+n+`}`}return e.variable=(...e)=>{let t=e[e.length-1];V(t!==void 0,"Zero variables passed to `css.variable`");let n=t.startsWith(`--`)?`var(${t})`:t;for(let t=e.length-2;t>=0;t--)n=`var(${e[t]}, ${n})`;return n},e})(),`${Av.BorderTopWidth}${Av.BorderRightWidth}${Av.BorderBottomWidth}${Av.BorderLeftWidth}`,Mv={display:`flex`,flexDirection:`column`,justifyContent:`flex-start`},Nv={display:`inline-block`},Pv={display:`block`},Fv=(()=>[`
        [data-framer-component-type="RichTextContainer"] {
            display: ${Mv.display};
            flex-direction: ${Mv.flexDirection};
            justify-content: ${Mv.justifyContent};
            outline: none;
            flex-shrink: 0;
        }
    `,`
        p.framer-text,
        div.framer-text,
        figure.framer-text,
        h1.framer-text,
        h2.framer-text,
        h3.framer-text,
        h4.framer-text,
        h5.framer-text,
        h6.framer-text,
        ol.framer-text,
        ul.framer-text {
            margin: 0;
            padding: 0;
        }
    `,`
        p.framer-text,
        div.framer-text,
        h1.framer-text,
        h2.framer-text,
        h3.framer-text,
        h4.framer-text,
        h5.framer-text,
        h6.framer-text,
        li.framer-text,
        ol.framer-text,
        ul.framer-text,
        mark.framer-text,
        span.framer-text:not([data-text-fill]) {
            font-family: var(--framer-font-family-preview, var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
            font-style: var(--framer-font-style-preview, var(--framer-blockquote-font-style, var(--framer-font-style, normal)));
            font-weight: var(--framer-font-weight-preview, var(--framer-blockquote-font-weight, var(--framer-font-weight, 400)));
            color: var(--framer-blockquote-text-color, var(--framer-text-color, #000));
            font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
            letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0));
            text-transform: var(--framer-blockquote-text-transform, var(--framer-text-transform, none));
            text-decoration-line: var(--framer-blockquote-text-decoration, var(--framer-text-decoration, initial));
            text-decoration-style: var(--framer-blockquote-text-decoration-style, var(--framer-text-decoration-style, initial));
            text-decoration-color: var(--framer-blockquote-text-decoration-color, var(--framer-text-decoration-color, initial));
            text-decoration-thickness: var(--framer-blockquote-text-decoration-thickness, var(--framer-text-decoration-thickness, initial));
            text-decoration-skip-ink: var(--framer-blockquote-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial));
            text-underline-offset: var(--framer-blockquote-text-decoration-offset, var(--framer-text-decoration-offset, initial));
            line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em));
            text-align: var(--framer-blockquote-text-alignment, var(--framer-text-alignment, start));
            -webkit-text-stroke-width: var(--framer-text-stroke-width, initial);
            -webkit-text-stroke-color: var(--framer-text-stroke-color, initial);
            -moz-font-feature-settings: var(--framer-font-open-type-features, initial);
            -webkit-font-feature-settings: var(--framer-font-open-type-features, initial);
            font-feature-settings: var(--framer-font-open-type-features, initial);
            font-variation-settings: var(--framer-font-variation-axes-preview, var(--framer-font-variation-axes, normal));
            text-wrap: var(--framer-text-wrap-override, var(--framer-text-wrap));
        }
    `,`
        mark.framer-text,
        p.framer-text,
        div.framer-text,
        h1.framer-text,
        h2.framer-text,
        h3.framer-text,
        h4.framer-text,
        h5.framer-text,
        h6.framer-text,
        li.framer-text,
        ol.framer-text,
        ul.framer-text {
            background-color: var(--framer-blockquote-text-background-color, var(--framer-text-background-color, initial));
            border-radius: var(--framer-blockquote-text-background-radius, var(--framer-text-background-radius, initial));
            corner-shape: var(--framer-blockquote-text-background-corner-shape, var(--framer-text-background-corner-shape, initial));
            padding: var(--framer-blockquote-text-background-padding, var(--framer-text-background-padding, initial));
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            p.framer-text,
            div.framer-text,
            h1.framer-text,
            h2.framer-text,
            h3.framer-text,
            h4.framer-text,
            h5.framer-text,
            h6.framer-text,
            li.framer-text,
            ol.framer-text,
            ul.framer-text,
            span.framer-text:not([data-text-fill]) {
                color: ${Na([`--framer-blockquote-text-color`,`--framer-text-color`],`#000`)};
                -webkit-text-stroke-color: ${Na([`--framer-text-stroke-color`],`initial`)};
            }

            mark.framer-text {
                background-color: ${Na([`--framer-blockquote-text-background-color`,`--framer-text-background-color`],`initial`)};
            }
        }
    `,`
        .framer-fit-text .framer-text {
            white-space: nowrap;
            white-space-collapse: preserve;
        }
    `,`
        strong.framer-text {
            font-family: var(--framer-blockquote-font-family-bold, var(--framer-font-family-bold));
            font-style: var(--framer-blockquote-font-style-bold, var(--framer-font-style-bold));
            font-weight: var(--framer-blockquote-font-weight-bold, var(--framer-font-weight-bold, bolder));
            font-variation-settings: var(--framer-blockquote-font-variation-axes-bold, var(--framer-font-variation-axes-bold));
        }
    `,`
        em.framer-text {
            font-family: var(--framer-blockquote-font-family-italic, var(--framer-font-family-italic));
            font-style: var(--framer-blockquote-font-style-italic, var(--framer-font-style-italic, italic));
            font-weight: var(--framer-blockquote-font-weight-italic, var(--framer-font-weight-italic));
            font-variation-settings: var(--framer-blockquote-font-variation-axes-italic, var(--framer-font-variation-axes-italic));
        }
    `,`
        em.framer-text > strong.framer-text {
            font-family: var(--framer-blockquote-font-family-bold-italic, var(--framer-font-family-bold-italic));
            font-style: var(--framer-blockquote-font-style-bold-italic, var(--framer-font-style-bold-italic, italic));
            font-weight: var(--framer-blockquote-font-weight-bold-italic, var(--framer-font-weight-bold-italic, bolder));
            font-variation-settings: var(--framer-blockquote-font-variation-axes-bold-italic, var(--framer-font-variation-axes-bold-italic));
        }
    `,`
        p.framer-text:not(:first-child),
        div.framer-text:not(:first-child),
        h1.framer-text:not(:first-child),
        h2.framer-text:not(:first-child),
        h3.framer-text:not(:first-child),
        h4.framer-text:not(:first-child),
        h5.framer-text:not(:first-child),
        h6.framer-text:not(:first-child),
        ol.framer-text:not(:first-child),
        ul.framer-text:not(:first-child),
        blockquote.framer-text:not(:first-child),
        table.framer-text:not(:first-child),
        figure.framer-text:not(:first-child),
        .framer-image.framer-text:not(:first-child) {
            margin-top: var(--framer-blockquote-paragraph-spacing, var(--framer-paragraph-spacing, 0));
        }
    `,`
        li.framer-text > ul.framer-text:nth-child(2),
        li.framer-text > ol.framer-text:nth-child(2) {
            margin-top: 0;
        }
    `,`
        .framer-text[data-text-fill] {
            display: ${Nv.display};
            background-clip: text;
            -webkit-background-clip: text;
            /* make this a transparent color if you want to visualise the clipping  */
            -webkit-text-fill-color: transparent;
            padding: max(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / 2));
            margin: min(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / -2));
        }
    `,`
        code.framer-text,
        code.framer-text span.framer-text:not([data-text-fill]) {
            font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
            font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal)));
            font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400)));
            color: var(--framer-blockquote-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)));
            font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
            letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0));
            line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em));
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            code.framer-text,
            code.framer-text span.framer-text:not([data-text-fill]) {
                color: ${Na([`--framer-blockquote-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)};
            }
        }
    `,`
        blockquote.framer-text {
            margin-block-start: initial;
            margin-block-end: initial;
            margin-inline-start: initial;
            margin-inline-end: initial;
            unicode-bidi: initial;
        }
    `,`
        a.framer-text,
        a.framer-text span.framer-text:not([data-text-fill]),
        span.framer-text[data-nested-link],
        span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) {
            /* Ensure the color is inherited from the link style rather than the parent text for nested spans */
            color: inherit;
            font-family: var(--framer-font-family-preview, var(--framer-blockquote-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))));
            font-style: var(--framer-font-style-preview, var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))));
            font-weight: var(--framer-font-weight-preview, var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))));
            font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
            text-transform: var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
            /* Cursor inherit to overwrite the user agent stylesheet on rich text links. */
            cursor: var(--framer-custom-cursors, pointer);
            /* Don't inherit background styles from any parent text style. */
            background-color: initial;
            border-radius: var(--framer-link-text-background-radius, initial);
            corner-shape: var(--framer-link-text-background-corner-shape, initial);
            padding: var(--framer-link-text-background-padding, initial);
        }
    `,`
        a.framer-text,
        span.framer-text[data-nested-link] {
            color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
            text-decoration-line: var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, initial)));
            text-decoration-style: var(--framer-blockquote-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, initial)));
            text-decoration-color: var(--framer-blockquote-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, initial)));
            text-decoration-thickness: var(--framer-blockquote-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, initial)));
            text-decoration-skip-ink: var(--framer-blockquote-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial)));
            text-underline-offset: var(--framer-blockquote-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset, initial)));
            /* Don't inherit background styles from any parent text style. */
            background-color: var(--framer-link-text-background-color, initial);
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            a.framer-text,
            span.framer-text[data-nested-link] {
                color: ${Na([`--framer-blockquote-text-color`,`--framer-link-text-color`,`--framer-text-color`],`#000`)};
                background-color: ${Na([`--framer-link-text-background-color`],`initial`)};
                text-decoration-color: ${Na([`--framer-link-text-decoration-color`,`--framer-text-decoration-color`],`currentcolor`)};
            }
        }
    `,`
    code.framer-text a.framer-text,
    code.framer-text a.framer-text span.framer-text:not([data-text-fill]),
    code.framer-text span.framer-text[data-nested-link],
    code.framer-text span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) {
        font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
        font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal)));
        font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400)));
        color: inherit;
        font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
    }
`,`
    code.framer-text a.framer-text,
    code.framer-text span.framer-text[data-nested-link] {
        color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))));
    }
`,`
    @supports not (color: color(display-p3 1 1 1)) {
        code.framer-text a.framer-text,
        code.framer-text a.framer-text span.framer-text:not([data-text-fill]),
        code.framer-text span.framer-text[data-nested-link],
        code.framer-text span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) {
            color: ${Na([`--framer-blockquote-text-color`,`--framer-link-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)};
        }
    }
`,`
        a.framer-text:hover,
        a.framer-text:hover span.framer-text:not([data-text-fill]),
        span.framer-text[data-nested-link]:hover,
        span.framer-text[data-nested-link]:hover span.framer-text:not([data-text-fill]) {
            font-family: var(--framer-font-family-preview, var(--framer-link-hover-font-family, var(--framer-blockquote-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))));
            font-style: var(--framer-font-style-preview, var(--framer-link-hover-font-style, var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))));
            font-weight: var(--framer-font-weight-preview, var(--framer-link-hover-font-weight, var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))));
            font-size: calc(var(--framer-link-hover-font-size, var(--framer-blockquote-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1));
            text-transform: var(--framer-link-hover-text-transform, var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))));
            border-radius: var(--framer-link-hover-text-background-radius, var(--framer-link-text-background-radius, var(--framer-text-background-radius, initial)));
            corner-shape: var(--framer-link-hover-text-background-corner-shape, var(--framer-link-text-background-corner-shape, var(--framer-text-background-corner-shape, initial)));
            padding: var(--framer-link-hover-text-background-padding, var(--framer-link-text-background-padding, var(--framer-text-background-padding, initial)));
        }
    `,`
        a.framer-text:hover,
        span.framer-text[data-nested-link]:hover {
            color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))));
            text-decoration-line: var(--framer-link-hover-text-decoration, var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, initial))));
            text-decoration-style: var(--framer-link-hover-text-decoration-style, var(--framer-blockquote-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, initial))));
            text-decoration-color: var(--framer-link-hover-text-decoration-color, var(--framer-blockquote-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, initial))));
            text-decoration-thickness: var(--framer-link-hover-text-decoration-thickness, var(--framer-blockquote-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, initial))));
            text-decoration-skip-ink: var(--framer-link-hover-text-decoration-skip-ink, var(--framer-blockquote-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial))));
            text-underline-offset: var(--framer-link-hover-text-decoration-offset, var(--framer-blockquote-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset, initial))));
            background-color: var(--framer-link-hover-text-background-color, var(--framer-link-text-background-color, var(--framer-text-background-color, initial)));
        }
    `,`
    @supports not (color: color(display-p3 1 1 1)) {
        a.framer-text:hover,
        span.framer-text[data-nested-link]:hover {
            color: ${Na([`--framer-link-hover-text-color`,`--framer-blockquote-text-color`,`--framer-link-text-color`,`--framer-text-color`],`#000`)};
            background-color: ${Na([`--framer-link-hover-text-background-color`,`--framer-link-text-background-color`,`--framer-text-background-color`],`initial`)};
            text-decoration-color: ${Na([`--framer-link-hover-text-decoration-color`,`--framer-link-text-decoration-color`,`--framer-text-decoration-color`],`currentcolor`)};
        }
    }
    `,`
        code.framer-text a.framer-text:hover,
        code.framer-text span.framer-text[data-nested-link]:hover {
            color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))));
        }
    `,`
    @supports not (color: color(display-p3 1 1 1)) {
        code.framer-text a.framer-text:hover,
        code.framer-text span.framer-text[data-nested-link]:hover {
            color: ${Na([`--framer-link-hover-text-color`,`--framer-blockquote-text-color`,`--framer-link-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)};
        }
    }
   `,`
        a.framer-text[data-framer-page-link-current],
        a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]),
        span.framer-text[data-framer-page-link-current],
        span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) {
            font-family: var(--framer-font-family-preview, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))));
            font-style: var(--framer-font-style-preview, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))));
            font-weight: var(--framer-font-weight-preview, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))));
            font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1));
            text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
            border-radius: var(--framer-link-current-text-background-radius, var(--framer-link-text-background-radius, initial));
            corner-shape: var(--framer-link-current-text-background-corner-shape, var(--framer-link-text-background-corner-shape, initial));
            padding: var(--framer-link-current-text-background-padding, var(--framer-link-text-background-padding, initial));
        }
    `,`
        a.framer-text[data-framer-page-link-current],
        span.framer-text[data-framer-page-link-current] {
            color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
            text-decoration-line: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, initial)));
            text-decoration-style: var(--framer-link-current-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, initial)));
            text-decoration-color: var(--framer-link-current-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, initial)));
            text-decoration-thickness: var(--framer-link-current-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, initial)));
            text-decoration-skip-ink: var(--framer-link-current-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial)));
            text-underline-offset: var(--framer-link-current-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset, initial)));
            background-color: var(--framer-link-current-text-background-color, var(--framer-link-text-background-color, var(--framer-text-background-color, initial)));
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            a.framer-text[data-framer-page-link-current],
            span.framer-text[data-framer-page-link-current]{
                color: ${Na([`--framer-link-current-text-color`,`--framer-link-text-color`,`--framer-text-color`],`#000`)};
                background-color: ${Na([`--framer-link-current-text-background-color`,`--framer-link-text-background-color`,`--framer-text-background-color`],`initial`)};
                text-decoration-color: ${Na([`--framer-link-current-text-decoration-color`,`--framer-link-text-decoration-color`,`--framer-text-decoration-color`],`currentcolor`)};
            }
        }
    `,`
        code.framer-text a.framer-text[data-framer-page-link-current],
        code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]),
        code.framer-text span.framer-text[data-framer-page-link-current],
        code.framer-text span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) {
            font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
            font-style: var(--framer-code-font-style, var(--framer-font-style, normal));
            font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400));
            color: inherit;
            font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1));
        }
    `,`
        code.framer-text a.framer-text[data-framer-page-link-current],
        code.framer-text span.framer-text[data-framer-page-link-current] {
            color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))));
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            code.framer-text a.framer-text[data-framer-page-link-current],
            code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]),
            code.framer-text span.framer-text[data-framer-page-link-current],
            code.framer-text span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) {
                color: ${Na([`--framer-link-current-text-color`,`--framer-link-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)};
                background-color: ${Na([`--framer-link-current-text-background-color`,`--framer-link-text-background-color`,`--framer-text-background-color`],`initial`)};
            }
        }
    `,`
        a.framer-text[data-framer-page-link-current]:hover,
        a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]),
        span.framer-text[data-framer-page-link-current]:hover,
        span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) {
            color: inherit;
            font-family: var(--framer-font-family-preview, var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))));
            font-style: var(--framer-font-style-preview, var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))));
            font-weight: var(--framer-font-weight-preview, var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))));
            font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1));
            text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))));
            border-radius: var(--framer-link-hover-text-background-radius, var(--framer-link-current-text-background-radius, var(--framer-link-text-background-radius, initial)));
            corner-shape: var(--framer-link-hover-text-background-corner-shape, var(--framer-link-current-text-background-corner-shape, var(--framer-link-text-background-corner-shape, initial)));
            padding: var(--framer-link-hover-text-background-padding, var(--framer-link-current-text-background-padding, var(--framer-link-text-background-padding, initial)));
        }
    `,`
        a.framer-text[data-framer-page-link-current]:hover,
        span.framer-text[data-framer-page-link-current]:hover {
            color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))));
            text-decoration-line: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, initial))));
            text-decoration-style: var(--framer-link-hover-text-decoration-style, var(--framer-link-current-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, initial))));
            text-decoration-color: var(--framer-link-hover-text-decoration-color, var(--framer-link-current-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, initial))));
            text-decoration-thickness: var(--framer-link-hover-text-decoration-thickness, var(--framer-link-current-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, initial))));
            text-decoration-skip-ink: var(--framer-link-hover-text-decoration-skip-ink, var(--framer-link-current-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial))));
            text-underline-offset: var(--framer-link-hover-text-decoration-offset, var(--framer-link-current-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset, initial))));
            background-color: var(--framer-link-hover-text-background-color, var(--framer-link-current-text-background-color, var(--framer-link-text-background-color, initial)));
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            a.framer-text[data-framer-page-link-current]:hover,
            span.framer-text[data-framer-page-link-current]:hover {
                color: ${Na([`--framer-link-hover-text-color`,`--framer-link-current-text-color`,`--framer-link-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)};
                background-color: ${Na([`--framer-link-hover-text-background-color`,`--framer-link-current-text-background-color`,`--framer-link-text-background-color`],`initial`)};
                text-decoration-color: ${Na([`--framer-link-hover-text-decoration-color`,`--framer-link-current-text-decoration-color`,`--framer-link-text-decoration-color`,`--framer-text-decoration-color`],`currentcolor`)};
            }
        }
    `,`
        code.framer-text a.framer-text[data-framer-page-link-current]:hover,
        code.framer-text span.framer-text[data-framer-page-link-current]:hover {
            color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))));
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            code.framer-text a.framer-text[data-framer-page-link-current]:hover,
            code.framer-text a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]),
            code.framer-text span.framer-text[data-framer-page-link-current]:hover,
            code.framer-text span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) {
                color: ${Na([`--framer-link-hover-text-color`,`--framer-link-current-text-color`,`--framer-link-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)};
                background-color: ${Na([`--framer-link-hover-text-background-color`,`--framer-link-current-text-background-color`,`--framer-link-text-background-color`],`initial`)};
            }
        }
    `,`
        .framer-image.framer-text {
            display: ${Pv.display};
            max-width: 100%;
            height: auto;
        }
    `,`
        .text-styles-preset-reset.framer-text {
            --framer-font-family: Inter, Inter Placeholder, sans-serif;
            --framer-font-style: normal;
            --framer-font-weight: 500;
            --framer-text-color: #000;
            --framer-font-size: 16px;
            --framer-letter-spacing: 0;
            --framer-text-transform: none;
            --framer-text-decoration: none;
            --framer-text-decoration-style: none;
            --framer-text-decoration-color: none;
            --framer-text-decoration-thickness: none;
            --framer-text-decoration-skip-ink: none;
            --framer-text-decoration-offset: none;
            --framer-line-height: 1.2em;
            --framer-text-alignment: start;
            --framer-font-open-type-features: normal;
            --framer-text-background-color: initial;
            --framer-text-background-radius: initial;
            --framer-text-background-corner-shape: initial;
            --framer-text-background-padding: initial;
        }
    `,`
        ol.framer-text {
            --list-style-type: decimal;
        }
    `,`
        ul.framer-text,
        ol.framer-text {
            padding-inline-start: 0;
            position: relative;
        }
    `,`
        li.framer-text {
            counter-increment: list-item;
            list-style: none;
            padding-inline-start: 2ch;
        }
    `,`
        ol.framer-text > li.framer-text::before {
            position: absolute;
            inset-inline-start: 0;
            content: counter(list-item, var(--list-style-type)) ".";
            font-variant-numeric: tabular-nums;
        }
    `,`
        ol.framer-text > li.framer-text:nth-last-child(n + 10),
        ol.framer-text > li.framer-text:nth-last-child(n + 10) ~ li {
            padding-inline-start: 3ch;
        }
    `,`
        ol.framer-text > li.framer-text:nth-last-child(n + 100),
        ol.framer-text > li.framer-text:nth-last-child(n + 100) ~ li {
            padding-inline-start: 4ch;
        }
    `,`
        ol.framer-text > li.framer-text:nth-last-child(n + 1000),
        ol.framer-text > li.framer-text:nth-last-child(n + 1000) ~ li {
            padding-inline-start: 5ch;
        }
    `,`
        ol.framer-text > li.framer-text:nth-last-child(n + 10000),
        ol.framer-text > li.framer-text:nth-last-child(n + 10000) ~ li {
            padding-inline-start: 6ch;
        }
    `,`
        ol.framer-text > li.framer-text:nth-last-child(n + 100000),
        ol.framer-text > li.framer-text:nth-last-child(n + 100000) ~ li {
            padding-inline-start: 7ch;
        }
    `,`
        ol.framer-text > li.framer-text:nth-last-child(n + 1000000),
        ol.framer-text > li.framer-text:nth-last-child(n + 1000000) ~ li {
            padding-inline-start: 8ch;
        }
    `,`
        ul.framer-text > li.framer-text::before {
            position: absolute;
            inset-inline-start: 0;
            content: "•";
        }
    `,`
        .framer-table-wrapper {
            overflow-x: auto;
        }
    `,`
        table.framer-text,
        .framer-table-wrapper table.framer-text {
            border-collapse: separate;
            border-spacing: 0;
            table-layout: auto;
            word-break: normal;
            width: 100%;
        }
    `,`
        td.framer-text,
        th.framer-text {
            min-width: 16ch;
            vertical-align: top;
        }
    `,`
        ${Pa(`.framer-text-module[data-width="fill"]`,`:first-child`)},
        ${Pa(`.framer-text-module:not([data-width="fit"])[style*="aspect-ratio"]`,`:first-child`)} {
            width: 100% !important;
        }
    `,`
        @supports not (aspect-ratio: 1) {
            .framer-text-module:not([data-width="fit"])[style*="aspect-ratio"] {
                position: relative !important;
            }
        }
    `,`
        @supports not (aspect-ratio: 1) {
            .framer-text-module:not([data-width="fit"])[style*="aspect-ratio"]::before {
                content: "";
                display: block;
                padding-bottom: calc(100% / calc(var(--aspect-ratio)));
            }
        }
    `,`
        @supports not (aspect-ratio: 1) {
            ${Pa(`.framer-text-module[data-width="fill"]`,`:first-child`)},
            ${Pa(`.framer-text-module:not([data-width="fit"])[style*="aspect-ratio"]`,`:first-child`)} {
                position: absolute;
                top: 0;
                left: 0;
                height: 100% !important;
            }
        }
    `])(),Iv=`--text-truncation-display-inline-for-safari-16`,Lv=`--text-truncation-display-none-for-safari-16`,Rv=`--text-truncation-line-break-for-safari-16`,zv=[`div.framer-text`,`p.framer-text`,`h1.framer-text`,`h2.framer-text`,`h3.framer-text`,`h4.framer-text`,`h5.framer-text`,`h6.framer-text`,`ol.framer-text`,`ul.framer-text`,`li.framer-text`,`blockquote.framer-text`,`.framer-text.framer-image`],Bv=`(background: -webkit-named-image(i))`,Vv=`(contain-intrinsic-size: inherit)`,Hv=(()=>[`@supports ${Bv} and (not ${Vv}) {
        /* Render block-like elements inline when text is truncated, otherwise default to user agent (revert)  */
        ${zv.join(`, `)} { display: var(${Iv}, revert) }

        /* Add a line break after each block-like element that we render inline, to resemble the block-like behavior */
        ${zv.map(e=>`${e}::after`).join(`, `)} { content: var(${Rv}); white-space: pre; }

        /* Don't render modules (e.g. videos, code-blocks), or tables when text is truncated, because often these can't be truncated and their children might be block elements */
        .framer-text.framer-text-module,
        .framer-text.framer-table-wrapper { display: var(${Lv}, revert) }

        /* Render text-fill elements inline when text is truncated, otherwise default to their default value (e.g. inline-block) */
        p.framer-text[data-text-fill] { display: var(${Iv}, ${Nv.display}) }
    }`])(),Uv=[`[data-framer-component-type] { position: absolute; }`],Wv=[`[data-framer-component-type="Text"] { cursor: inherit; }`,`[data-framer-component-text-autosized] * { white-space: pre; }`,`
[data-framer-component-type="Text"] > * {
    text-align: var(--framer-text-alignment, start);
}`,`
[data-framer-component-type="Text"] span span,
[data-framer-component-type="Text"] p span,
[data-framer-component-type="Text"] h1 span,
[data-framer-component-type="Text"] h2 span,
[data-framer-component-type="Text"] h3 span,
[data-framer-component-type="Text"] h4 span,
[data-framer-component-type="Text"] h5 span,
[data-framer-component-type="Text"] h6 span {
    display: block;
}`,`
[data-framer-component-type="Text"] span span span,
[data-framer-component-type="Text"] p span span,
[data-framer-component-type="Text"] h1 span span,
[data-framer-component-type="Text"] h2 span span,
[data-framer-component-type="Text"] h3 span span,
[data-framer-component-type="Text"] h4 span span,
[data-framer-component-type="Text"] h5 span span,
[data-framer-component-type="Text"] h6 span span {
    display: unset;
}`,`
[data-framer-component-type="Text"] div div span,
[data-framer-component-type="Text"] a div span,
[data-framer-component-type="Text"] span span span,
[data-framer-component-type="Text"] p span span,
[data-framer-component-type="Text"] h1 span span,
[data-framer-component-type="Text"] h2 span span,
[data-framer-component-type="Text"] h3 span span,
[data-framer-component-type="Text"] h4 span span,
[data-framer-component-type="Text"] h5 span span,
[data-framer-component-type="Text"] h6 span span,
[data-framer-component-type="Text"] a {
    font-family: var(--font-family);
    font-style: var(--font-style);
    font-weight: min(calc(var(--framer-font-weight-increase, 0) + var(--font-weight, 400)), 900);
    color: var(--text-color);
    letter-spacing: var(--letter-spacing);
    font-size: var(--font-size);
    text-transform: var(--text-transform);
    --text-decoration: var(--framer-text-decoration-style, solid) var(--framer-text-decoration, none) var(--framer-text-decoration-color, currentcolor) var(--framer-text-decoration-thickness, auto);
    --text-decoration-skip-ink: var(--framer-text-decoration-skip-ink);
    --text-underline-offset: var(--framer-text-decoration-offset);
    line-height: var(--line-height);
}`,`
[data-framer-component-type="Text"] div div span,
[data-framer-component-type="Text"] a div span,
[data-framer-component-type="Text"] span span span,
[data-framer-component-type="Text"] p span span,
[data-framer-component-type="Text"] h1 span span,
[data-framer-component-type="Text"] h2 span span,
[data-framer-component-type="Text"] h3 span span,
[data-framer-component-type="Text"] h4 span span,
[data-framer-component-type="Text"] h5 span span,
[data-framer-component-type="Text"] h6 span span,
[data-framer-component-type="Text"] a {
    --font-family: var(--framer-font-family);
    --font-style: var(--framer-font-style);
    --font-weight: var(--framer-font-weight);
    --text-color: var(--framer-text-color);
    --letter-spacing: var(--framer-letter-spacing);
    --font-size: var(--framer-font-size);
    --text-transform: var(--framer-text-transform);
    --text-decoration: var(--framer-text-decoration-style, solid) var(--framer-text-decoration, none) var(--framer-text-decoration-color, currentcolor) var(--framer-text-decoration-thickness, auto);
    --text-decoration-skip-ink: var(--framer-text-decoration-skip-ink);
    --text-underline-offset: var(--framer-text-decoration-offset);
    --line-height: var(--framer-line-height);
}`,`
[data-framer-component-type="Text"] a,
[data-framer-component-type="Text"] a div span,
[data-framer-component-type="Text"] a span span span,
[data-framer-component-type="Text"] a p span span,
[data-framer-component-type="Text"] a h1 span span,
[data-framer-component-type="Text"] a h2 span span,
[data-framer-component-type="Text"] a h3 span span,
[data-framer-component-type="Text"] a h4 span span,
[data-framer-component-type="Text"] a h5 span span,
[data-framer-component-type="Text"] a h6 span span {
    --font-family: var(--framer-link-font-family, var(--framer-font-family));
    --font-style: var(--framer-link-font-style, var(--framer-font-style));
    --font-weight: var(--framer-link-font-weight, var(--framer-font-weight));
    --text-color: var(--framer-link-text-color, var(--framer-text-color));
    --font-size: var(--framer-link-font-size, var(--framer-font-size));
    --text-transform: var(--framer-link-text-transform, var(--framer-text-transform));
    --text-decoration: var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, solid)) var(--framer-link-text-decoration, var(--framer-text-decoration, none)) var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, currentcolor)) var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, auto));
    --text-decoration-skip-ink: var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink));
    --text-underline-offset: var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset));
}`,`
[data-framer-component-type="Text"] a:hover,
[data-framer-component-type="Text"] a div span:hover,
[data-framer-component-type="Text"] a span span span:hover,
[data-framer-component-type="Text"] a p span span:hover,
[data-framer-component-type="Text"] a h1 span span:hover,
[data-framer-component-type="Text"] a h2 span span:hover,
[data-framer-component-type="Text"] a h3 span span:hover,
[data-framer-component-type="Text"] a h4 span span:hover,
[data-framer-component-type="Text"] a h5 span span:hover,
[data-framer-component-type="Text"] a h6 span span:hover {
    --font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family)));
    --font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style)));
    --font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight)));
    --text-color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color)));
    --font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size)));
    --text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform)));
    --text-decoration: var(--framer-link-hover-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, solid))) var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))) var(--framer-link-hover-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, currentcolor))) var(--framer-link-hover-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, auto)));
    --text-decoration-skip-ink: var(--framer-link-hover-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink)));
    --text-underline-offset: var(--framer-link-hover-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset)));
}`,`
[data-framer-component-type="Text"].isCurrent a,
[data-framer-component-type="Text"].isCurrent a div span,
[data-framer-component-type="Text"].isCurrent a span span span,
[data-framer-component-type="Text"].isCurrent a p span span,
[data-framer-component-type="Text"].isCurrent a h1 span span,
[data-framer-component-type="Text"].isCurrent a h2 span span,
[data-framer-component-type="Text"].isCurrent a h3 span span,
[data-framer-component-type="Text"].isCurrent a h4 span span,
[data-framer-component-type="Text"].isCurrent a h5 span span,
[data-framer-component-type="Text"].isCurrent a h6 span span {
    --font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family)));
    --font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style)));
    --font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight)));
    --text-color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color)));
    --font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size)));
    --text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform)));
    --text-decoration: var(--framer-link-current-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, solid))) var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))) var(--framer-link-current-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, currentcolor))) var(--framer-link-current-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, auto)));
    --text-decoration-skip-ink: var(--framer-link-current-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink)));
    --text-underline-offset: var(--framer-link-current-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset)));
}`],Gv=`
:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > *,
:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > [data-framer-component-type],
:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > [data-framer-legacy-stack-gap-enabled] > *,
:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > [data-framer-legacy-stack-gap-enabled] > [data-framer-component-type] {
    position: relative;
}`,Kv=(()=>[`[data-framer-stack-content-wrapper][data-framer-stack-gap-enabled="true"] {
        row-gap: var(--stack-native-row-gap);
        column-gap: var(--stack-native-column-gap);
    }`,`.${Ev} [data-framer-stack-content-wrapper][data-framer-stack-gap-enabled="true"] {
        row-gap: unset;
        column-gap: unset;
    }`])(),qv=(()=>`
.${Ev} [data-framer-legacy-stack-gap-enabled="true"] > *, [data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"] {
    margin-top: calc(var(--stack-gap-y) / 2);
    margin-bottom: calc(var(--stack-gap-y) / 2);
    margin-right: calc(var(--stack-gap-x) / 2);
    margin-left: calc(var(--stack-gap-x) / 2);
}
`)(),Jv=(()=>`
.${Ev}
[data-framer-stack-direction-reverse="false"]
[data-framer-legacy-stack-gap-enabled="true"]
> *:first-child,
[data-framer-stack-direction-reverse="false"]
[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
> *:first-child,
.${Ev}
[data-framer-stack-direction-reverse="true"]
[data-framer-legacy-stack-gap-enabled="true"]
> *:last-child,
[data-framer-stack-direction-reverse="true"]
[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
> *:last-child {
    margin-top: 0;
    margin-left: 0;
}`)(),Yv=(()=>`
.${Ev}
[data-framer-stack-direction-reverse="false"]
[data-framer-legacy-stack-gap-enabled="true"]
> *:last-child,
[data-framer-stack-direction-reverse="false"]
[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
> *:last-child,
.${Ev}
[data-framer-stack-direction-reverse="true"]
[data-framer-legacy-stack-gap-enabled="true"]
> *:first-child,
[data-framer-stack-direction-reverse="true"]
[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
> *:first-child {
    margin-right: 0;
    margin-bottom: 0;
}`)(),Xv=(()=>[Gv,qv,...Kv,Jv,Yv])(),Zv=[`
NavigationContainer
[data-framer-component-type="NavigationContainer"] > *,
[data-framer-component-type="NavigationContainer"] > [data-framer-component-type] {
    position: relative;
}`],Qv=[`[data-framer-component-type="Scroll"]::-webkit-scrollbar { display: none; }`,`[data-framer-component-type="ScrollContentWrapper"] > * { position: relative; }`],$v=[`[data-framer-component-type="NativeScroll"] { -webkit-overflow-scrolling: touch; }`,`[data-framer-component-type="NativeScroll"] > * { position: relative; }`,`[data-framer-component-type="NativeScroll"].direction-both { overflow-x: auto; overflow-y: auto; }`,`[data-framer-component-type="NativeScroll"].direction-vertical { overflow-x: hidden; overflow-y: auto; }`,`[data-framer-component-type="NativeScroll"].direction-horizontal { overflow-x: auto; overflow-y: hidden; }`,`[data-framer-component-type="NativeScroll"].direction-vertical > * { width: 100% !important; }`,`[data-framer-component-type="NativeScroll"].direction-horizontal > * { height: 100% !important; }`,`[data-framer-component-type="NativeScroll"].scrollbar-hidden::-webkit-scrollbar { display: none; }`],ey=[`[data-framer-component-type="DeviceComponent"].no-device > * { width: 100% !important; height: 100% !important; }`],ty=[`[data-framer-component-type="PageContentWrapper"] > *, [data-framer-component-type="PageContentWrapper"] > [data-framer-component-type] { position: relative; }`],ny=[`[data-is-present="false"], [data-is-present="false"] * { pointer-events: none !important; }`],ry=[`.framer-lightbox-container { opacity: 1 !important; pointer-events: auto !important; }`],iy=[`[data-framer-cursor="pointer"] { cursor: pointer; }`,`[data-framer-cursor="grab"] { cursor: grab; }`,`[data-framer-cursor="grab"]:active { cursor: grabbing; }`],ay=[`[data-framer-component-type="Frame"] *, [data-framer-component-type="Stack"] * { pointer-events: auto; }`,`[data-framer-generated] * { pointer-events: unset }`],oy=[`[data-reset="button"] {
        border-width: 0;
        padding: 0;
        background: none;
}`],sy=[`[data-hide-scrollbars="true"]::-webkit-scrollbar { width: 0px; height: 0px; }`,`[data-hide-scrollbars="true"]::-webkit-scrollbar-thumb { background: transparent; }`,`[data-hide-scrollbars="true"] { scrollbar-width: none; }`],cy=`--framer-will-change-override`,ly=`--framer-will-change-effect-override`,uy=`--framer-will-change-filter-override`,dy=`(background: -webkit-named-image(i))`,fy=`(grid-template-rows: subgrid)`,py=`(position-area: top right)`,my=e=>e?[`body { ${cy}: none; }`,`@supports ${dy} and (not ${fy}) { body { ${cy}: transform; } }`]:[`body { ${cy}: none; ${ly}: none; }`],hy=e=>e?[`body { ${uy}: none; }`,`@supports ${dy} and (not ${py}) { body { ${uy}: filter; } }`]:[`body { ${uy}: none; }`],gy=e=>e?ay:[],_y=[`.svgContainer svg { display: block; }`],vy=`--overflow-clip-fallback`,yy=(()=>[`@supports (not (overflow: clip)) {
        :root { ${vy}: hidden; }
    }`])(),by=`--one-if-corner-shape-supported`,xy=(()=>[`@supports (corner-shape: superellipse(2)) { :root { ${by}: 1 } }`])(),Sy=e=>[...my(e),...hy(e),...Uv,...Wv,...Fv,...Ov,...Xv,...Zv,...Qv,...$v,...ty,...ey,...ny,...iy,...gy(e),..._y,...oy,...sy,...yy,...ry,...Hv,...xy],Cy=Sy(!1),wy=Sy(!0),Ty=`optional`,Ey=e=>e,Dy=/^(?:children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|[dkrxyz]|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y1|y2|yChannelSelector|zoomAndPan|for|class|autofocus|(?:[Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*)$/u,Oy=qa(e=>Dy.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91),ky=e=>()=>{Kr(e)},Ay=()=>()=>{},jy={imagePlaceholderSvg:`<svg xmlns="http://www.w3.org/2000/svg" width="126" height="126"><path id="a" d="M126 0v21.584L21.584 126H0v-17.585L108.415 0H126Zm0 108.414V126h-17.586L126 108.414Zm0-84v39.171L63.585 126H24.414L126 24.414Zm0 42v39.17L105.584 126h-39.17L126 66.414ZM105.586 0 0 105.586V66.415L66.415 0h39.171Zm-42 0L0 63.586V24.415L24.415 0h39.171Zm-42 0L0 21.586V0h21.586Z" fill="rgb(136, 136, 136, 0.2)" fill-rule="evenodd"/></svg>`,useImageSource(e){return e.src??``},useImageElement(e,n,r){let i=Ny.useImageSource(e,n,r);return t(()=>{let t=new Image;return t.src=i,e.srcSet&&(t.srcset=e.srcSet),t},[i,e.srcSet])},canRenderOptimizedCanvasImage(){return!1},isOnPageCanvas:!1},My=!1,Ny=new Proxy(jy,{get(e,t,n){return Reflect.has(e,t)?Reflect.get(e,t,n):[`getLogger`].includes(String(t))?Ay():ky(My?`${String(t)} is not available in this version of Framer.`:`${String(t)} is only available inside of Framer. https://www.framer.com/`)}}),Py={borderRadius:`inherit`,cornerShape:`inherit`},Fy=[1,2,2.2],Iy=[512,1024,2048,4096],Ly=512,Ry=(()=>({position:`absolute`,...Py,top:0,right:0,bottom:0,left:0}))(),zy=`src`,By={isImageObject:function(e){return!e||typeof e==`string`?!1:typeof e==`object`&&zy in e}},Vy=ba(),Hy=typeof document<`u`?j:s,Uy=h.createContext(!1),Wy=class{constructor(){L(this,`sharedResizeObserver`),L(this,`callbacks`,new WeakMap),this.sharedResizeObserver=new ResizeObserver(this.updateResizedElements.bind(this))}updateResizedElements(e){for(let t of e){let e=this.callbacks.get(t.target);e&&e(t.contentRect)}}observeElementWithCallback(e,t){this.sharedResizeObserver.observe(e),this.callbacks.set(e,t)}unobserve(e){this.sharedResizeObserver.unobserve(e),this.callbacks.delete(e)}},Gy=(()=>Ca()?new Wy:void 0)(),Ky=`data-framer-size-compatibility-wrapper`,qy=`0.000001px`,Jy=(()=>` translateZ(${qy})`)(),Yy=(()=>wa()||xa()||Ta())(),Xy=(()=>{class e extends _{constructor(){super(...arguments),L(this,`layerElement`,null),L(this,`setLayerElement`,e=>{this.layerElement=e})}static applyWillChange(e,t,n){e.willChangeTransform&&(n?Oo(t):ko(t))}shouldComponentUpdate(e,t){return e._needsMeasure||this.state!==t||!wt(this.props,e)}componentDidUpdate(e){Ey(this.props).clip&&Ey(this.props).radius===0&&Ey(e).radius!==0&&jo(this.layerElement,`overflow`,`hidden`,!1)}}return L(e,`defaultProps`,{}),e})(),Zy=e=>{let t=0,n,r;if(e.length===0)return t;for(n=0;n<e.length;n++)r=e.charCodeAt(n),t=(t<<5)-t+r,t|=0;return t},Qy={hueRotate:(e,t)=>J.toHslString(J.hueRotate(J(e),t)),setAlpha:(e,t)=>J.toRgbString(J.alpha(J(e),t)),getAlpha:e=>{let t=vi(e);return t?t.a:1},multiplyAlpha:(e,t)=>J.toRgbString(J.multiplyAlpha(J(e),t)),toHexValue:e=>J.toHex(J(e)).toUpperCase(),toHex:e=>J.toHexString(J(e)).toUpperCase(),toRgb:e=>J.toRgb(J(e)),toRgbString:e=>J.toRgbString(J(e)),toHSV:e=>J.toHsv(J(e)),toHSL:e=>J.toHsl(J(e)),toHslString:e=>J.toHslString(J(e)),toHsvString:e=>J.toHsvString(J(e)),hsvToHSLString:e=>J.toHslString(J(oi(e.h,e.s,e.v,e.a))),hsvToHexValue:e=>J.toHex(J(oi(e.h,e.s,e.v,e.a))).toUpperCase(),hsvToHex:e=>J.toHexString(J(oi(e.h,e.s,e.v,e.a))).toUpperCase(),hsvToRgbString:e=>J.toRgbString(J(oi(e.h,e.s,e.v,e.a))),hsvToString:e=>oi(e.h,e.s,e.v),rgbaToString:e=>J.toRgbString(J(e)),rgbToHexValue:e=>J.toHex(J(e)),rgbToHexString:e=>J.toHexString(J(e)),hslToString:e=>J.toHslString(J(e)),hslToRgbString:e=>J.toRgbString(J(e)),toColorPickerSquare:e=>J.toRgbString(J({h:e,s:1,l:.5,a:1})),isValid:e=>J(e).isValid!==!1,equals:(e,t)=>J.isP3String(e)||J.isP3String(t)?e===t:(typeof e==`string`&&(e=J(e)),typeof t==`string`&&(t=J(t)),J.equal(e,t)),toHexOrRgbaString:e=>{let t=J(e);return t.a===1?J.toHexString(t):J.toRgbString(t)},toFormatString:e=>J.isP3String(e)?e:J.toRgbString(J(e))},$y=/var\(.+\)/u,eb=new Map,tb=[`stops`],nb=[`start`,`end`],rb=[`angle`,`alpha`],ib={isLinearGradient:e=>B(e)&&rb.every(t=>t in e)&&(zo(e)||Ro(e)),hash:e=>e.angle^Lo(e,e.alpha),toCSS:(e,t,n)=>{let r=Io(e,e.alpha),i=t===void 0?e.angle:t;return`linear-gradient(${Math.round(i)}deg, ${r.map(e=>`${n?.(e.value)??e.value} ${e.position*100}%`).join(`, `)})`}},ab=[`widthFactor`,`heightFactor`,`centerAnchorX`,`centerAnchorY`,`alpha`],ob={isRadialGradient:e=>B(e)&&ab.every(t=>t in e)&&(zo(e)||Ro(e)),hash:e=>e.centerAnchorX^e.centerAnchorY^e.widthFactor^e.heightFactor^Lo(e,e.alpha),toCSS:(e,t)=>{let{alpha:n,widthFactor:r,heightFactor:i,centerAnchorX:a,centerAnchorY:o}=e,s=Io(e,n),c=s.map((e,n)=>{let r=s[n+1],i=e.position===1&&r?.position===1?e.position-1e-4:e.position;return`${t?.(e.value)??e.value} ${i*100}%`});return`radial-gradient(${r*100}% ${i*100}% at ${a*100}% ${o*100}%, ${c.join(`, `)})`}},sb=[`onClick`,`onDoubleClick`,`onMouse`,`onMouseDown`,`onMouseUp`,`onTapDown`,`onTap`,`onTapUp`,`onPointer`,`onPointerDown`,`onPointerUp`,`onTouch`,`onTouchDown`,`onTouchUp`],cb=(()=>new Set([...sb,...sb.map(e=>`${e}Capture`)]))(),lb=`overflow`,ub={x:0,y:0,width:200,height:200},db=new Set([`width`,`height`,`opacity`,`overflow`,`radius`,`background`,`color`,`x`,`y`,`z`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`scale`,`scaleX`,`scaleY`,`skew`,`skewX`,`skewY`,`originX`,`originY`,`originZ`]),fb=b(function(e,t){let{name:n,center:i,border:a,_border:o,__portal:s}=e,{props:c,children:l}=vo(e),u=Xo(c),d=bo(e),f=Go(e),p=r(null),m=t??p,h={"data-framer-component-type":e.componentType??`Frame`,"data-framer-cursor":f,"data-framer-highlight":f===`pointer`?!0:void 0,"data-layoutid":d,"data-framer-offset-parent-id":Ey(e)[`data-framer-offset-parent-id`]};!Zo(e)&&n&&(Ey(h)[`data-framer-name`]=n);let[_,v]=Yo(c),y=Jo(c),b=ma(y);i&&!(v&&!b&&na(y))?(u.transformTemplate||=yo(i),Object.assign(h,go(i))):u.transformTemplate||=void 0,Eo(e,m);let x=fo(e),S=Qo(c,y,v,C(Uy)),T=fa(w(O,{children:[x?g(so,{alt:e.alt??``,image:x,containerSize:v??void 0,nodeId:e.id&&_o(e.id),layoutId:d}):null,l,g(lo,{...o,border:a,layoutId:d})]}),S),E=mo(e.as),D=po(x);return e.fitImageDimension&&D&&(_[e.fitImageDimension]=`auto`,_.aspectRatio=D.width/D.height),w(E,{...h,...u,layoutId:d,style:_,ref:m,children:[T,s]})}),pb=Ia(b(function(e,t){let{visible:n=!0}=e;return n?g(fb,{...e,ref:t}):null})),mb=`__LAYOUT_TREE_ROOT`,hb=h.createContext({schedulePromoteTree:()=>{},scheduleProjectionDidUpdate:()=>{},initLead:()=>{}}),gb=class extends _{constructor(){super(...arguments),L(this,`shouldAnimate`,!1),L(this,`transition`),L(this,`lead`),L(this,`follow`),L(this,`scheduledPromotion`,!1),L(this,`scheduledDidUpdate`,!1),L(this,`scheduleProjectionDidUpdate`,()=>{this.scheduledDidUpdate=!0}),L(this,`schedulePromoteTree`,(e,t,n)=>{this.follow=this.lead,this.shouldAnimate=n,this.lead=e,this.transition=t,this.scheduledPromotion=!0}),L(this,`initLead`,(e,t)=>{this.follow=this.lead,this.lead=e,this.follow&&t&&(this.follow.layoutMaybeMutated=!0)}),L(this,`sharedLayoutContext`,{schedulePromoteTree:this.schedulePromoteTree,scheduleProjectionDidUpdate:this.scheduleProjectionDidUpdate,initLead:this.initLead})}getSnapshotBeforeUpdate(){if(!this.scheduledPromotion||!this.lead||!this.follow)return null;let e=this.lead?.layoutMaybeMutated&&!this.shouldAnimate;return this.lead.projectionNodes.forEach(t=>{t?.promote({needsReset:e,transition:this.shouldAnimate?this.transition:void 0,preserveFollowOpacity:t.options.layoutId===mb&&!this.follow?.isExiting})}),this.shouldAnimate?this.follow.layoutMaybeMutated=!0:this.scheduleProjectionDidUpdate(),this.lead.layoutMaybeMutated=!1,this.transition=void 0,this.scheduledPromotion=!1,null}componentDidUpdate(){if(!this.lead)return null;this.scheduledDidUpdate&&=(this.lead.rootProjectionNode?.root?.didUpdate(),!1)}render(){return g(hb.Provider,{value:this.sharedLayoutContext,children:this.props.children})}},_b={width:`100%`,height:`100%`,backgroundColor:`none`},vb=class{constructor(e){L(this,`sharedIntersectionObserver`),L(this,`callbacks`,new WeakMap),this.sharedIntersectionObserver=new IntersectionObserver(this.intersectionObserverCallback.bind(this),e)}intersectionObserverCallback(e,t){for(let n of e){let e=this.callbacks.get(n.target);e&&e(n,t)}}observeElementWithCallback(e,t){this.sharedIntersectionObserver&&(this.sharedIntersectionObserver.observe(e),this.callbacks.set(e,t))}unobserve(e){this.sharedIntersectionObserver&&(this.sharedIntersectionObserver.unobserve(e),this.callbacks.delete(e))}get root(){return this.sharedIntersectionObserver?.root}},yb=i(new Map),bb=typeof IntersectionObserver>`u`?mh:os,xb=Array(100).fill(void 0).map((e,t)=>t*.01),Sb=h.createContext(null),Cb=class extends _{constructor(){super(...arguments),L(this,`layoutMaybeMutated`,!1),L(this,`projectionNodes`,new Map),L(this,`rootProjectionNode`),L(this,`isExiting`),L(this,`shouldPreserveFollowOpacity`,e=>e.options.layoutId===mb&&!this.props.isExiting),L(this,`switchLayoutGroupContext`,{register:e=>this.addChild(e),deregister:e=>this.removeChild(e),transition:this.props.isLead!==void 0&&this.props.animatesLayout?this.props.transition:void 0,shouldPreserveFollowOpacity:this.shouldPreserveFollowOpacity})}componentDidMount(){this.props.isLead&&this.props.sharedLayoutContext.initLead(this,!!this.props.animatesLayout)}shouldComponentUpdate(e){let{isLead:t,isExiting:n,isOverlayed:r,animatesLayout:i,transition:a,sharedLayoutContext:o}=e;if(this.isExiting=n,t===void 0)return!0;let s=!this.props.isLead&&t,c=this.props.isExiting&&!n,l=s||c,u=!!this.props.isLead&&!t,d=this.props.isOverlayed!==r;return(l||u)&&this.projectionNodes.forEach(e=>e?.willUpdate()),l?o.schedulePromoteTree(this,a,!!i):d&&o.scheduleProjectionDidUpdate(),!!l&&!!i}addChild(e){let t=e.options.layoutId;t&&(this.projectionNodes.set(t,e),this.setRootChild(e))}setRootChild(e){if(!this.rootProjectionNode)return this.rootProjectionNode=e;this.rootProjectionNode=this.rootProjectionNode.depth<e.depth?this.rootProjectionNode:e}removeChild(e){let t=e.options.layoutId;t&&this.projectionNodes.delete(t)}render(){return g(Me.Provider,{value:this.switchLayoutGroupContext,children:this.props.children})}},wb=e=>{let t=h.useContext(hb);return g(Cb,{...e,sharedLayoutContext:t})},Tb=h.createContext(!0),Eb=i({register:()=>{},deregister:()=>{}}),Db=({isCurrent:e,isOverlayed:t,children:n})=>{let i=ds(),a=r({register:S(e=>{if(i.has(e)){console.warn(`NavigationTargetWrapper: already registered`);return}i.set(e,void 0)},[i]),deregister:S(e=>{i.get(e)?.(),i.delete(e)},[i])}).current;return s(()=>(i.forEach((n,r)=>{let a=r(e,t);i.set(r,Ye(a)?a:void 0)}),()=>{i.forEach((e,t)=>{e&&(e(),i.set(t,void 0))})}),[e,t,i]),g(Eb.Provider,{value:a,children:n})},Ob=h.memo(function({isLayeredContainer:e,isCurrent:t,isPrevious:n,isOverlayed:i=!1,visible:a,transitionProps:o,children:c,backdropColor:l,onTapBackdrop:u,backfaceVisible:d,exitBackfaceVisible:f,animation:p,exitAnimation:m,instant:h,initialProps:_,exitProps:v,position:y={top:0,right:0,bottom:0,left:0},withMagicMotion:b,index:x,areMagicMotionLayersPresent:S,id:T,isInitial:E}){let D=me(),O=C(we),{persistLayoutIdCache:k}=C(U_),ee=r({wasCurrent:void 0,wasPrevious:!1,wasBeingRemoved:!1,wasReset:!0,origins:ms({},_,o)}),A=r(null),j=O!==null&&!O.isPresent;t&&ee.current.wasCurrent===void 0&&k(),s(()=>{if(e||!D)return;if(j){ee.current={...ee.current,wasBeingRemoved:j};return}let{wasPrevious:r,wasCurrent:i}=ee.current,a=t&&!i||!j&&ee.current.wasBeingRemoved&&t,s=n&&!r,c=ms(ee.current.origins,_,o),l=ee.current.wasReset;a||s?(D.stop(),D.start({zIndex:x,...c,...o}),l=!1):l===!1&&(D.stop(),D.set({zIndex:x,...kb,opacity:0}),l=!0),ee.current={wasCurrent:!!t,wasPrevious:!!n,wasBeingRemoved:!1,wasReset:l,origins:c}},[t,n,j]);let te=h?{type:!1}:`velocity`in p?{...p,velocity:0}:p,ne=h?{type:!1}:m||p,re={...y};(re.left===void 0||re.right===void 0)&&(re.width=`auto`),(re.top===void 0||re.bottom===void 0)&&(re.height=`auto`);let ie=(hs(o)||hs(_))&&(e||t||n)?1200:void 0,ae={...kb,...ee.current.origins},oe=e?{initial:{...ae,..._},animate:{...ae,...o,transition:te},exit:{...ae,...v,transition:p}}:{animate:D,exit:{...ae,...v,transition:ne}},M=!(j||S===!1),se=!!t&&M,ce=t&&E;return w(pb,{"data-framer-component-type":`NavigationContainerWrapper`,width:`100%`,height:`100%`,style:{position:`absolute`,transformStyle:`flat`,backgroundColor:`transparent`,overflow:`hidden`,zIndex:e||j||t&&b?x:void 0,pointerEvents:void 0,visibility:a?`visible`:`hidden`,perspective:ie},children:[e&&g(pb,{width:`100%`,height:`100%`,"data-framer-component-type":`NavigationContainerBackdrop`,transition:p,initial:{opacity:h&&a?1:0},animate:{opacity:1},exit:{opacity:0},backgroundColor:l||`transparent`,onTap:j?void 0:u}),g(pb,{...re,...oe,transition:{default:te,originX:{type:!1},originY:{type:!1},originZ:{type:!1}},backgroundColor:`transparent`,backfaceVisible:j?f:d,"data-framer-component-type":`NavigationContainer`,"data-framer-is-current-navigation-target":!!t,style:{pointerEvents:void 0,opacity:ce||e||t&&b?1:0},"data-is-present":M?void 0:!1,ref:A,children:g(Sb.Provider,{value:A,children:g(Tb.Provider,{value:se,children:g(Db,{isCurrent:se,isOverlayed:i,children:g(wb,{isLead:t,animatesLayout:!!b,transition:te,isExiting:!M,isOverlayed:i,id:T,children:c})})})})})]})},ps),kb={x:0,y:0,z:0,rotate:0,rotateX:0,rotateY:0,rotateZ:0,scale:1,scaleX:1,scaleY:1,scaleZ:1,skew:0,skewX:0,skewY:0,originX:.5,originY:.5,originZ:0,opacity:1},Ab=class{constructor(){L(this,`warning`,()=>{Kr(`The Navigator API is only available inside of Framer: https://www.framer.com/`)}),L(this,`goBack`,()=>this.warning()),L(this,`instant`,()=>this.warning()),L(this,`fade`,()=>this.warning()),L(this,`push`,()=>this.warning()),L(this,`modal`,()=>this.warning()),L(this,`overlay`,()=>this.warning()),L(this,`flip`,()=>this.warning()),L(this,`customTransition`,()=>this.warning()),L(this,`magicMotion`,()=>this.warning())}},jb=i(new Ab),Mb={Fade:{exit:{opacity:0},enter:{opacity:0}},PushLeft:{exit:{x:`-30%`},enter:{x:`100%`}},PushRight:{exit:{x:`30%`},enter:{x:`-100%`}},PushUp:{exit:{y:`-30%`},enter:{y:`100%`}},PushDown:{exit:{y:`30%`},enter:{y:`-100%`}},Instant:{animation:{type:!1},enter:{opacity:0}},Modal:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{center:!0},enter:{opacity:0,scale:1.2}},OverlayLeft:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{right:0,top:0,bottom:0},enter:{x:`100%`}},OverlayRight:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{left:0,top:0,bottom:0},enter:{x:`-100%`}},OverlayUp:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{bottom:0,left:0,right:0},enter:{y:`100%`}},OverlayDown:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{top:0,left:0,right:0},enter:{y:`-100%`}},FlipLeft:{backfaceVisible:!1,exit:{rotateY:-180},enter:{rotateY:180}},FlipRight:{backfaceVisible:!1,exit:{rotateY:180},enter:{rotateY:-180}},FlipUp:{backfaceVisible:!1,exit:{rotateX:180},enter:{rotateX:-180}},FlipDown:{backfaceVisible:!1,exit:{rotateX:-180},enter:{rotateX:180}},MagicMotion:{withMagicMotion:!0}},Nb=()=>({current:-1,previous:-1,currentOverlay:-1,previousOverlay:-1,visualIndex:0,overlayItemId:0,historyItemId:0,history:[],overlayStack:[],containers:{},containerIndex:{},containerVisualIndex:{},containerIsRemoved:{},transitionForContainer:{},previousTransition:null}),Pb=Th(kb),Fb=h.createContext(void 0),Ib=h.createContext(void 0),Lb=(()=>{var e,t,n,r,i,a,o;return t=class extends _{constructor(t){super(t),be(this,n),be(this,e,null),L(this,`state`,Nb()),be(this,a,e=>{if(!this.props.enabled&&this.state.history.length>0)return;let t=ys(this.state,e);if(!t)return;let{skipLayoutAnimation:n}=this.props,r=t.history[t.current],i=e.type===`add`&&e.transition.withMagicMotion||e.type===`forward`&&r?.transition.withMagicMotion||e.type===`remove`&&!!t.previousTransition,a=()=>{this.setState(t),r?.key&&this.context?.(r.key)};n&&!i?n(a):a()}),L(this,`goBack`,()=>{if(!ge(this,n,i).call(this))return ne(this,e,globalThis.event?.timeStamp||null),this.state.currentOverlay===-1?F(this,a).call(this,{type:`remove`}):F(this,a).call(this,{type:`removeOverlay`})});let r=this.props.children;if(!r||!Gi(r)||!Wi(r))return;let o={...Mb.Instant},s={type:`add`,key:r.key?.toString()||`stack-${this.state.historyItemId+1}`,transition:o,component:r},c=ys(this.state,s);c&&(this.state=c)}componentDidMount(){let e=this.state.history[this.state.current];e&&this.context?.(e.key)}UNSAFE_componentWillReceiveProps(e){let t=e.children;if(!Gi(t)||!Wi(t))return;let r=t.key?.toString();r&&(this.state.history.length===0?ge(this,n,o).call(this,t,Mb.Instant):F(this,a).call(this,{type:`update`,key:r,component:t}))}componentWillUnmount(){this.props.resetProjection?.()}instant(e){ge(this,n,o).call(this,e,Mb.Instant,void 0)}fade(e,t){ge(this,n,o).call(this,e,Mb.Fade,t)}push(e,t){ge(this,n,o).call(this,e,gs(t),t)}modal(e,t){ge(this,n,o).call(this,e,Mb.Modal,t)}overlay(e,t){ge(this,n,o).call(this,e,_s(t),t)}flip(e,t){ge(this,n,o).call(this,e,vs(t),t)}magicMotion(e,t){ge(this,n,o).call(this,e,Mb.MagicMotion,t)}customTransition(e,t){ge(this,n,o).call(this,e,t)}render(){let e=ge(this,n,r).call(this,{overCurrentContext:!1}),t=ge(this,n,r).call(this,{overCurrentContext:!0}),i=Ps(t),a=t.current>-1,o=this.state.history.length===1,s=[];for(let[t,n]of Object.entries(this.state.containers)){let r=this.state.containerIndex[t];V(r!==void 0,`Container's index must be registered`);let i=this.state.containerVisualIndex[t];V(i!==void 0,`Container's visual index must be registered`);let c=this.state.containerIsRemoved[t],l=this.state.history[r],u=this.state.transitionForContainer[t],d=r===this.state.current,f=r===this.state.previous,p=d?!1:c,m=l?.transition?.withMagicMotion||d&&!!this.state.previousTransition;s.push(g(Ob,{id:t,index:i,isInitial:o,isCurrent:d,isPrevious:f,isOverlayed:a,visible:d||f,position:l?.transition?.position,instant:Ws(r,e),transitionProps:u,animation:Us(r,e),backfaceVisible:Vs(r,e),exitAnimation:l?.transition?.animation,exitBackfaceVisible:l?.transition?.backfaceVisible,exitProps:l?.transition?.enter,withMagicMotion:m,areMagicMotionLayersPresent:p?!1:void 0,children:g($o,{children:Ks({component:n,transition:l?.transition})})},t))}let c=this.state.overlayStack.map((e,n)=>g(Ob,{isLayeredContainer:!0,isCurrent:n===this.state.currentOverlay,position:e.transition.position,initialProps:Bs(n,t),transitionProps:Hs(n,t),instant:Ws(n,t,!0),animation:Us(n,t),exitProps:e.transition.enter,visible:Gs(n,t),backdropColor:Rs(e.transition),backfaceVisible:zs(n,t),onTapBackdrop:qs(e.transition,this.goBack),index:this.state.current+1+n,children:Ks({component:e.component,transition:e.transition})},e.key));return g(pb,{"data-framer-component-type":`NavigationRoot`,top:0,left:0,width:`100%`,height:`100%`,position:`relative`,style:{overflow:`hidden`,backgroundColor:`unset`,pointerEvents:void 0,...this.props.style},children:g(jb.Provider,{value:this,children:w(Ib.Provider,{value:o,children:[g(Ob,{isLayeredContainer:!0,position:void 0,initialProps:{},instant:!1,transitionProps:Fs(i),animation:Is(i),backfaceVisible:Ls(i),visible:!0,backdropColor:void 0,onTapBackdrop:void 0,index:0,children:g(Li,{children:g(gb,{children:g(Pe,{presenceAffectsLayout:!1,children:s})})})}),g(Pe,{children:c})]})})})}},e=new WeakMap,n=new WeakSet,r=function(e){let{current:t,previous:n,currentOverlay:r,previousOverlay:i}=this.state;return e.overCurrentContext?{current:r,previous:i,history:this.state.overlayStack}:{current:t,previous:n,history:this.state.history}},i=function(){return globalThis.event?F(this,e)===globalThis.event.timeStamp:!1},a=new WeakMap,o=function(t,r,o){if(ge(this,n,i).call(this)||(ne(this,e,globalThis.event?.timeStamp||null),!t||!Gi(t)||!Wi(t)))return;let s={...r,...o};if(s.overCurrentContext)return F(this,a).call(this,{type:`addOverlay`,transition:s,component:t});let c=t.key?.toString()||`stack-${this.state.historyItemId+1}`;F(this,a).call(this,{type:`add`,key:c,transition:s,component:t})},L(t,`defaultProps`,{enabled:!0}),L(t,`contextType`,Fb),t})(),Rb={stiffness:500,damping:50,restDelta:1,type:`spring`},zb=Ia(Js),Fe(fh(),1),Fe(fh(),1),Fe(fh(),1),Bb=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Vb=Symbol(`private`),Hb=(()=>{function e(e={},t=!1,n=!0){let r={[Vb]:{makeAnimatables:t,observeAnimatables:n,observers:new __,reset(){for(let t in i)if(Bb(i,t)){let n=Bb(e,t)?Ey(e)[t]:void 0;n===void 0?delete i[t]:i[t]=n}},transactions:new Set}},i=new Proxy(r,Wb);return Object.assign(i,e),i}return e.resetObject=e=>e[Vb].reset(),e.addObserver=(e,t)=>e[Vb].observers.add(t),e})(),Ub=class{constructor(){L(this,`set`,(e,t,n,r)=>{if(t===Vb)return!1;let i=e[Vb],a,o;if(Jr(n)?(a=n,o=a.get()):o=n,i.makeAnimatables&&typeof n!=`function`&&typeof n!=`object`&&!a&&(a=v_(n)),i.observeAnimatables&&a){let e=i.transactions;a.onUpdate({update:(t,n)=>{n&&e.add(n),i.observers.notify({value:r},n)},finish:t=>{e.delete(t)&&i.observers.finishTransaction(t)}})}let s=!1,c=!0,l=Ey(e)[t];if(l!==void 0){Jr(l)?(c=l.get()!==o,l.set(o)):(c=l!==o,Ey(e)[t]=o);let n=typeof o==`object`&&!!o;(Array.isArray(o)||n)&&(c=!0),s=!0}else a&&(n=a),s=Reflect.set(e,t,n);return c&&i.observers.notify({value:r}),s}),L(this,`get`,(e,t,n)=>{if(t===Vb)return Ey(e)[t];let r=Reflect.get(e,t,n);return typeof r==`function`?r.bind(n):r})}deleteProperty(e,t){let n=Reflect.deleteProperty(e,t);return e[Vb].observers.notify({value:e}),n}ownKeys(e){let t=Reflect.ownKeys(e),n=t.indexOf(Vb);return n!==-1&&t.splice(n,1),t}getOwnPropertyDescriptor(e,t){if(t!==Vb)return Reflect.getOwnPropertyDescriptor(e,t)}},Wb=new Ub,Gb=`opacity`,Kb=(()=>{function e(t={}){let n=Hb(t,!1,!1);return e.addData(n),n}return e._stores=[],e.addData=t=>{e._stores.push(t)},e.reset=()=>{e._stores.forEach(e=>Hb.resetObject(e))},e.addObserver=(e,t)=>Hb.addObserver(e,t),e})(),qb={update:0},Jb=h.createContext({update:NaN}),Yb=class extends _{constructor(){super(...arguments),L(this,`observers`,[]),L(this,`state`,qb),L(this,`taskAdded`,!1),L(this,`frameTask`,()=>{this.setState({update:this.state.update+1}),this.taskAdded=!1}),L(this,`observer`,()=>{this.taskAdded||(this.taskAdded=!0,B_.addFrameTask(this.frameTask))})}componentWillUnmount(){this.observers.map(e=>e()),Kb.reset()}render(){let{children:e}=this.props;return this.observers.map(e=>e()),this.observers=[],Kb._stores.forEach(e=>{let t=Kb.addObserver(e,this.observer);this.observers.push(t)}),g(Jb.Provider,{value:{...this.state},children:e})}},Fe(fh(),1),Xb=`__framer__`,Zb=(()=>Xb.length)(),Qb=h.createContext(void 0),$b=h.createContext(void 0),ex=`ssr-variant`,tx=`ssr-variant-group-separator`,nx=h.forwardRef(function(e,t){let n=lc(t),r=h.useContext($b),i=h.useSyncExternalStore(yh,xh,bh),a=Bi(()=>i?Ca()?1:2:0),o=h.useContext(Qb);return hr(()=>{let{breakpoint:t,overrides:i,children:s,...c}=e;if(!o)return console.warn(`PropertyOverrides is missing GeneratedComponentContext`),n(s,c);let{primaryVariantId:l,variantClassNames:u}=o,d=r?.primaryVariantId===l?r?.variants:void 0;switch(a){case 0:return n(s,_c(t,c,i));case 1:return fc(i,s,c,u,l,d,n,t);case 2:return fc(i,s,c,u,l,d,cc,void 0);default:H(a)}},[o,r,n,e])}),rx=(()=>Sv(nx,`.${ex} { display: contents }`,`PropertyOverrides`))(),ix=`default`,ax=new Set([ix]),sx=class{constructor(){L(this,`entries`,new Map),be(this,ox,{})}set(e,t,n,r){switch(t){case`transformTemplate`:V(typeof n==`string`,`transformTemplate must be a string, received: ${n}`),this.setHash(e,r,{transformTemplate:n,legacy:!0});break;case`initial`:case`animate`:V(typeof n==`object`,`${t} must be a valid object, received: ${n}`),this.setHash(e,r,{[t]:n,legacy:!0});break;default:break}}setHash(e,t=ix,n){let r=this.entries.get(e)??{},i=r[t]??{};r[t]=n===null?null:{...i,...n},this.entries.set(e,r)}variantHash(e,t){if(e===t?.primaryVariantId)return ix;let n=F(this,ox)[e];if(n)return n;let r=t?.variantClassNames[e];return r?F(this,ox)[e]=pc(r):ix}setAll(e,t=ax,n,r){if(n===null){for(let n of t)this.setHash(e,this.variantHash(n,r),null);return}let i=Ye(n.transformTemplate)?n.transformTemplate?.({},lx):void 0,a=n.__framer__presenceInitial??n.initial,o=n.__framer__presenceAnimate??n.animate,s={initial:B(a)?a:void 0,animate:B(o)?o:void 0,transformTemplate:R(i)?i:void 0};for(let n of t)this.setHash(e,this.variantHash(n,r),s)}clear(){this.entries.clear()}toObject(){return Object.fromEntries(this.entries)}},ox=new WeakMap,cx=new sx,lx=`__Appear_Animation_Transform__`,ux=`data-framer-appear-id`,dx=`data-framer-appear-animation`,fx=e=>{if(Ga())return{animate:yc(e.animate)?e.animate:void 0,initial:yc(e.initial)?e.initial:void 0,exit:void 0}},px=[`opacity`,`x`,`y`,`scale`,`rotate`,`rotateX`,`rotateY`,`skewX`,`skewY`,`transformPerspective`],mx=e=>({x:Ge(e?.x??0),y:Ge(e?.y??0),opacity:Ge(e?.opacity??1),scale:Ge(e?.scale??1),rotate:Ge(e?.rotate??0),rotateX:Ge(e?.rotateX??0),rotateY:Ge(e?.rotateY??0),skewX:Ge(e?.skewX??0),skewY:Ge(e?.skewY??0),transformPerspective:Ge(e?.transformPerspective??0)}),hx={x:0,y:0,scale:1,opacity:1,rotate:0,rotateX:0,rotateY:0,skewX:0,skewY:0,transformPerspective:0},gx={willChange:`transform`},Object.freeze(gx),_x={},Object.freeze(_x),vx=new Set([`loopEffectEnabled`,`loopTransition`,`loop`,`loopRepeatType`,`loopRepeatDelay`,`loopPauseOffscreen`]),yx=()=>{let e=r();return s(()=>()=>{clearTimeout(e.current)},[]),async t=>new Promise(n=>{e.current=setTimeout(()=>{n(!0)},t*1e3)})},bx=new Set([`speed`,`adjustPosition`,`offset`,`parallaxTransformEnabled`]),xx=new Set([`presenceInitial`,`presenceAnimate`,`presenceExit`]),Sx=1,Cx=4,wx=new Set([`threshold`,`animateOnce`,`opacity`,`targetOpacity`,`x`,`y`,`scale`,`transition`,`rotate`,`rotateX`,`rotateY`,`perspective`,`enter`,`exit`,`animate`,`styleAppearEffectEnabled`,`targets`,`scrollDirection`]),Tx=[`animate`,`animate`],Ex={inputRange:[],outputRange:[]},Dx=new Set([`transformViewportThreshold`,`styleTransformEffectEnabled`,`transformTargets`,`spring`,`transformTrigger`]),Ox=(e,t)=>{let n=e?.[0]?.target;return t?{opacity:n?.opacity??1}:n},kx=()=>({opacity:[],x:[],y:[],scale:[],rotate:[],rotateX:[],rotateY:[],skewX:[],skewY:[],transformPerspective:[]}),Ax=[0,1],jx={parallax:bx,styleAppear:wx,styleTransform:Dx,loop:vx,presence:xx},Mx=Th(jx),Nx=e=>e.reduce((e,t)=>e+=t,0),Px=e=>e.reduce((e,t)=>e*=t,1),Fx=`current`,Ix=e=>h.forwardRef((t,n)=>{if(t.__withFX)return g(e,{...t,animate:void 0,initial:void 0,exit:void 0,ref:n});let r=fx(t);if(r)return g(e,{...t,...r,ref:n});let{parallax:i={},styleAppear:a={},styleTransform:o={},presence:s={},loop:c={},forwardedProps:l,targetOpacityValue:u,withPerspective:d,inSmartComponent:f=!1}=Hc(t),p=rs(n),{values:m,style:_}=Oc(s,p,f,t.style,t[_e]),{values:v,style:y}=wc(i,p,t.style?.visibility),{values:b,style:x}=Bc(o,p),{values:S,style:C}=Ic(a,p),{values:w,style:T}=Sc(c,p),E=h.useMemo(()=>{let e=new Ve(u??1);return{scale:[S.scale,w.scale,m.scale,b.scale],opacity:[S.opacity,w.opacity,m.opacity,e,b.opacity],x:[S.x,w.x,m.x,b.x],y:[S.y,w.y,v.y,m.y,b.y],rotate:[S.rotate,w.rotate,m.rotate,b.rotate],rotateX:[S.rotateX,w.rotateX,m.rotateX,b.rotateX],rotateY:[S.rotateY,w.rotateY,m.rotateY,b.rotateY],skewX:[S.skewX,w.skewX,m.skewX,b.skewX],skewY:[S.skewY,w.skewY,m.skewY,b.skewY],transformPerspective:[b.transformPerspective,S.transformPerspective]}},[u,b,v,S,w,m]);Wc(t.style,E);let D=P(E.scale,Px),O=P(E.opacity,Px),k=P(E.x,Nx),ee=P(E.y,Nx),A=P(E.rotate,Nx),j=P(E.rotateX,Nx),te=P(E.rotateY,Nx),ne=P(E.skewX,Nx),re=P(E.skewY,Nx),ie=P(E.transformPerspective,Nx),{drag:ae,dragConstraints:oe}=l;So(ae&&Uc(oe)?oe:void 0);let M={opacity:O,scale:D,x:k,y:ee,rotate:A,rotateX:j,rotateY:te,skewX:ne,skewY:re};$e(d)&&(M.transformPerspective=ie);let se=Gc(t.animate)?t.animate:void 0,ce=Gc(t.initial)?t.initial:void 0,le=Gc(t.exit)?t.exit:void 0,ue=f&&!s.presenceInitial?{initial:ce,animate:se,exit:le}:{};return g(e,{...l,...ue,__withFX:!0,style:{...t.style,...y,...x,...T,...M,...C,..._},values:m,ref:p})}),Lx=i({}),Rx=h.createContext({}),zx=h.forwardRef(function({width:e,height:t,y:n,children:r,...i},a){let o=h.useMemo(()=>({width:e,height:t,y:n}),[e,t,n]),s=lc(a);return g(Rx.Provider,{value:o,children:s(r,i)})}),Bx=e=>h.forwardRef((t,n)=>g(e,{layoutId:bo(t),...t,layoutIdKey:void 0,duplicatedFrom:void 0,ref:n})),Vx=!1,Hx=class extends _{constructor(){super(...arguments),L(this,`state`,{error:void 0})}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){if(!Yc(e))return;let n=t?.componentStack;console.error(`Caught an error in SynchronousSuspenseErrorBoundary:

`,e,`

Component stack:
`,n,`

This error indicates a state update wasn’t wrapped with \`startTransition\`. Some of the UI might flash as a result. `+ct(`If you are the author of this website, update external components and check recently added custom code or code overrides.`));let r=e instanceof Error&&typeof e.stack==`string`?e.stack:void 0;en(`published_site_load_recoverable_error`,{message:String(e),stack:r,componentStack:r?void 0:n})}render(){let e=this.state.error;if(e===void 0)return this.props.children;if(!Yc(e))throw e;return Vx=!0,this.props.children}},Ux=(()=>d===void 0?null:new Promise(()=>{}))(),Wx=g(Xc,{}),Gx=i(!1),Gx.displayName=`DisableSuspenseSuspenseThatPreservesDomContext`,Kx=g(Qc,{}),qx=class extends _{constructor(){super(...arguments),L(this,`state`,{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){el(this.props.getErrorMessage(),t?.componentStack),$c(e,t)}render(){let{children:e,fallback:t=Kx}=this.props,{hasError:n}=this.state;return n?t:e}},Jx=class extends _{constructor(){super(...arguments),L(this,`state`,{hasError:!1})}componentDidCatch(e,t){let n=t?.componentStack;console.error(`Error in component (see previous log). This component has been hidden. Please check any custom code or code overrides to fix.`,n),this.setState({hasError:!0}),$c(e,t)}render(){let{children:e}=this.props,{hasError:t}=this.state;return t?null:e}},Yx=(()=>h.createContext(void 0))(),Xx=`code-crash:`,Zx=Bx(h.forwardRef(function({children:e,layoutId:t,as:n,scopeId:r,nodeId:i,isAuthoredByUser:a,isModuleExternal:o,inComponentSlot:s,...c},l){let u=Bi(()=>t?`${t}-container`:void 0),d=mo(n),f=ml(h.Children.map(e,e=>h.isValidElement(e)?h.cloneElement(e,{layoutId:t}):e),r,i,a,o,s);return g(d,{layoutId:u,...c,ref:l,children:g(Uy.Provider,{value:!0,children:g(Ng.Provider,{value:i??null,children:g(zi,{enabled:!1,children:g(ze,{id:t??``,inherit:c.layout?!0:`id`,children:f})})})})})})),Qx=h.forwardRef(function(e,t){let{as:n,children:r,scopeId:i,nodeId:a,isAuthoredByUser:o,rendersWithMotion:s,isModuleExternal:c,inComponentSlot:l,...u}=e,d=ml(r,i,a,o,c,l),f=e.as??`div`;if(e.rendersWithMotion){let n=mo(f);return g(Ng.Provider,{value:a??null,children:g(n,{...u,ref:t,style:e.style,children:d})})}else{let n=f,{layoutId:r,layoutDependency:i,...o}=u;return g(Ng.Provider,{value:a??null,children:g(n,{...o,ref:t,style:e.style,children:d})})}}),$x=i({onRegisterCursors:()=>()=>{},registerCursors:()=>{}}),eS=`framer-cursor-none`,tS=`framer-pointer-events-none`,nS=T(function({children:e}){let t=Bi(()=>{let e=new Set,t={},n=new Map;return{onRegisterCursors:n=>(n(t),e.add(n),()=>e.delete(n)),registerCursors:(r,i)=>{n.set(i,Object.keys(r)),t=hl(n,t,r);for(let n of e)n(t);return()=>{n.delete(i)}}}}),n=Je();return w($x.Provider,{value:t,children:[e,!n&&g(oS,{})]})}),rS=(()=>Sv(nS,[`.${eS}, .${eS} * { cursor: none !important; }`,`.${tS}, .${tS} * { pointer-events: none !important; }`],`framer-lib-cursors-host`))(),iS=(()=>({position:`fixed`,top:0,left:0,zIndex:13,pointerEvents:`none`}))(),aS=`data-framer-portal-id`,oS=T(function(){let{onRegisterCursors:e}=C($x),[t,n]=u(!1),i=fe(0),a=fe(0),o=fe(0),c=r(null),l=r({cursors:{},cursorHash:void 0}),d=xo();j(()=>{let e=q.matchMedia(`(any-hover: none)`);function t(e){e.matches?y(()=>n(!1)):n(!0)}return e.addEventListener(`change`,t),e.matches||n(!0),()=>{e.removeEventListener(`change`,t)}},[]),s(()=>{if(!t)return;let e=0,n=0;function r(){i.set(e),a.set(n),Ee(o,1,{type:`tween`,duration:.2})}let s=()=>{if(Qe(l.current.cursors))return;let t=yl(e,n);t!==l.current.cursorHash&&(l.current.cursorHash=t,Oe.update(()=>d()))};function u(t){if(t.pointerType===`touch`){Ne(s);return}Oe.read(s,!0),e=t.clientX,n=t.clientY,Oe.update(r)}function f(e){if(e.target===c.current||!c.current)return;let t=new PointerEvent(e.type,{bubbles:!0,cancelable:e.cancelable,pointerType:e.pointerType,pointerId:e.pointerId,composed:e.composed,isPrimary:e.isPrimary,buttons:e.buttons,button:e.button});Oe.update(()=>{c.current?.dispatchEvent(t)})}return q.addEventListener(`pointermove`,u),document.addEventListener(`pointerdown`,f),document.addEventListener(`pointerup`,f),Oe.read(s,!0),()=>{q.removeEventListener(`pointermove`,u),document.removeEventListener(`pointerdown`,f),document.removeEventListener(`pointerup`,f),Ne(s)}},[o,i,a,d,t]),s(()=>{if(!t)return;function e(){Ee(o,0,{type:`tween`,duration:.2})}return document.addEventListener(`mouseleave`,e),q.addEventListener(`blur`,e),()=>{document.removeEventListener(`mouseleave`,e),q.removeEventListener(`blur`,e)}},[o,t]),j(()=>{function t(e){l.current.cursors=e,l.current.cursorHash=Qe(e)?null:yl(i.get(),a.get()),d()}let n=e(t);return()=>{n(),document.body.classList.toggle(eS,!1)}},[i,a,e,d]);let{cursors:f,cursorHash:p}=l.current,m=p?f[p]:null,h=gl(m);j(()=>{t&&document.body.classList.toggle(eS,h)},[h,t]);let _=m?.component,v=m?.transition??{duration:0},b=v.duration===void 0?v:{...v,duration:v.duration*1e3},x=ce(i,b),w=ce(a,b),T=P(()=>x.get()+(m?.offset?.x??0)),E=P(()=>w.get()+(m?.offset?.y??0)),O=m?.alignment,k=m?.placement,ee=S((e,t)=>`translate(${vl(k,O)}) ${t}`,[O,k]);return!t||!m||!_?null:g(D,{children:g(_,{transformTemplate:ee,style:{...iS,x:T,y:E,opacity:o},globalTapTarget:!0,variant:m?.variant,ref:c,className:tS})})}),sS=`webPageId`,cS=class{constructor(){L(this,`collectedLinks`,new Map),L(this,`nestingInfo`,new Map)}clear(){this.collectedLinks.clear(),this.nestingInfo.clear()}getLinks(){let e=new Map;for(let[t,n]of this.nestingInfo){let r=this.collectedLinks.get(t);V(r,`Outer link not found: ${t}`);let i=Array.from(n).map(e=>{let t=this.collectedLinks.get(e);return V(t,`Inner link not found: ${e}`),t});e.set(r,i)}return e}collectNestedLink(e,t){if(hh&&!Ta()||!e.nodeId||!t.nodeId)return;this.collectedLinks.set(Sl(e),e),this.collectedLinks.set(Sl(t),t);let n=this.nestingInfo.get(Sl(e))??new Set;n.add(Sl(t)),this.nestingInfo.set(Sl(e),n)}},lS=new cS,uS=`element`,dS=`collection`,fS=`collectionItemId`,pS=`pathVariables`,mS=`framer/page-link,`,hS=i(void 0),gS=`overlay`,_S=`template-overlay`,vS=class extends _{constructor(){super(...arguments),L(this,`state`,{error:void 0}),L(this,`message`,`Made UI non-interactive due to an error.`),L(this,`messageFatal`,`Fatal error.`)}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e){if(d.__framer_hadFatalError=!0,`cause`in e&&(e=e.cause),console.error(ct(gh?this.message:this.messageFatal,e)),Math.random()>.5)return;let t=e instanceof Error&&typeof e.stack==`string`?e.stack:null;en(`published_site_load_error`,{message:String(e),stack:t})}render(){let e=this.state.error;if(!e)return this.props.children;let t=`cause`in e?e.cause:e,n=/-->/gu,r=gh&&document.getElementById(`main`)?.innerHTML||``;return g(`div`,{style:{display:`contents`},suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`<!-- DOM replaced by GracefullyDegradingErrorBoundary due to "${t.message.replace(n,`--!>`)}". ${ct()}: --><!-- Stack: ${e.stack?.replace(n,`--!>`)} -->`+r}})}},yS=/:([a-z]\w*)/gi,bS=i(void 0),xS=500,SS=.9,CS=1.7,wS=4,TS=1/0,ES=new WeakMap,DS=new Set,OS=new Map,kS=!og||typeof IntersectionObserver>`u`?null:Kl(),AS=Bl(b(function({children:e,href:n,openInNewTab:r,smoothScroll:i,clickTrackingId:a,relValues:o,preserveParams:s,nodeId:c,scopeId:l,motionChild:u,...d},f){let p=Dt(),m=kt(),h=Wl(),{activeLocale:g,locales:_}=_r(),y=$l(),b=vn(),x=Cl(),S=eu({nodeId:c,clickTrackingId:a,router:p,href:n,activeLocale:g}),C=t(()=>{if(!n)return{};let e=xl(n)?n:Al(n);if(!e)return{};if(R(e))return iu(e,p,m,{openInNewTab:r,trackLinkClick:S,rel:o?.join(` `),preserveParams:s,smoothScroll:i},b,g?.id,_,h);let{unresolvedPathSlugs:t,unresolvedHashSlugs:a}=e,c=y(t,a,g);if(at(c))throw c;let{routeId:l,href:u,elementId:d,pathVariables:f,locale:v}=Vl(p,m,e,g,c,h),x=Jl(r,!0),C=x===`_blank`,w={pathVariables:f,locale:v},T=e=>nu(p,l,()=>b(l,w,!1,!C),d,f,i,e);return{href:u,target:x,onClick:ru(u,S,T),"data-framer-page-link-current":m&&Gl(m,e,h)||void 0,navigate:T,preload:()=>b(l,w,!0,!C),_routeId:l,_pathVariables:f,_locale:v}},[n,p,g,h,r,m,i,S,o,_,s,y,b]),w=rs(v(e)&&`ref`in e?e.ref:void 0),{navigate:T,preload:E,_routeId:D,_pathVariables:O,_locale:k,...ee}=C;is(w,e=>{if(!(e===null||!D||!E||x))return kS?.(e,E,`${D}:${k?.id}:${JSON.stringify(O)}`)},[E,D,O,k]);let A=!!T;return Ml(lc(f).cloneAsArray(e,e=>au(e,{...d,...su(ee,u,A)},w)),l,c,n,C,w)})),jS=h.createContext(void 0),MS=`__framer_force_showing_editorbar_since`,NS=class extends _{constructor(){super(...arguments),L(this,`state`,{error:void 0})}static getDerivedStateFromError(e){return{error:e}}render(){return this.state.error?null:this.props.children}},PS=()=>{try{return!!localStorage[MS]}catch{return!1}},FS=()=>!PS(),IS=(()=>{let e=i(void 0);return e.displayName=`TriggerStateContext`,e})(),LS=`main`,RS=`framerGeneratedPage`,zS=`<!-- Start of headStart -->`,BS=`<!-- End of headStart -->`,VS=`<!-- Start of headEnd -->`,HS=`<!-- End of headEnd -->`,US=`<!-- Start of bodyStart -->`,WS=`<!-- End of bodyStart -->`,GS=`<!-- Start of bodyEnd -->`,KS=`<!-- End of bodyEnd -->`,qS=(()=>h.createContext(void 0))(),JS=null,YS=null,vh(ku),XS=(e,t,n,i,a,o)=>{let c=C(jS),l=r(),u=fn(),f=r(!0);return s(()=>{function r(){(!JS||!YS)&&ku();let r=n?new URL(q.location.origin+n):q.location,s={version:qh,abTestId:e?.abTestId,framerSiteId:c??null,webPageId:e?.abTestingVariantId??t,routePath:e?.path||`/`,collectionItemId:null,framerLocale:a?.code||null,referrer:null,url:r.href,hostname:r.hostname,pathname:r.pathname,search:r.search||null,hash:r.hash||null,timezone:JS,locale:YS},l=f.current&&o!==void 0?o:void 0;return e?.collectionId&&i?(async()=>{let t=l??null;if(l===void 0){let n=e.collectionId&&u?.get(e.collectionId),[r]=Object.values(i);if(n&&R(r)){let e=n.getRecordIdBySlug(r,a||void 0);t=(at(e)?await e:e)??null}}return{...s,collectionItemId:t}})():s}(async()=>{let e=l.current=r(),t=e instanceof Promise?await e:e;l.current=t,f.current?f.current=!1:en(`published_site_pageview`,t,`eager`)})();let s=async e=>{if(e.persisted){let e=l.current=r(),t=e instanceof Promise?await e:e;l.current=t,en(`published_site_pageview`,t,`eager`)}};return d.addEventListener(`pageshow`,s),()=>{d.removeEventListener(`pageshow`,s)}},[e,t,n,i,a,c,u,o]),l},ZS={status:`loading`,data:void 0},QS=5e3,$S=()=>{},oC=class e{constructor(){L(this,`responseValues`,new Map),be(this,eC,new Map),be(this,tC,new Set),be(this,nC,new Map),be(this,rC,new Map),be(this,iC,new Map),be(this,aC,new Map),L(this,`persistCache`,ic(()=>{let t={};for(let[e,n]of this.responseValues){if(!n||n.status!==`success`)continue;let r=F(this,nC).get(e);if(!r||r===0)continue;let i=F(this,rC).get(e);i&&(i&&Gu(i,r)||(t[e]=[i,r,n.data]))}try{localStorage.setItem(e.cacheKey,JSON.stringify(t))}catch{}},500))}unmount(){for(let[e,t]of F(this,aC))clearInterval(t),F(this,aC).delete(e)}stopQueryRefetching(e){let t=Vu(e),n=F(this,aC).get(t);n&&(clearInterval(n),F(this,aC).delete(t))}startQueryRefetching(e){let t=Vu(e),n=F(this,aC).get(t),r=F(this,nC).get(t);if(n||!r)return;let i=q.setInterval(()=>{if(document.visibilityState===`hidden`)return;let n=F(this,rC).get(t);!r||!n||this.fetchWithCache({...e,cacheDuration:r})},r);F(this,aC).set(t,i)}hydrateCache(){try{let t=localStorage.getItem(e.cacheKey);if(!t)return;let n=JSON.parse(t);if(typeof n!=`object`)throw Error(`Invalid cache data`);for(let e in n){let t=n[e];if(!Array.isArray(t)||t.length!==3)throw Error(`Invalid cache data`);let[r,i,a]=t;Gu(r,i)||(F(this,rC).set(e,r),F(this,nC).set(e,i),this.responseValues.set(e,{status:`success`,data:a}))}}catch{try{localStorage.removeItem(e.cacheKey)}catch{}}}setResponseValue(e,t){this.responseValues.set(e,t),this.persistCache();let n=F(this,eC).get(e);if(n)for(let e of n)e()}async prefetch(e){if(!Ca()||!Tl(e.url,!1))return;let t=Vu(e);F(this,tC).add(t),await this.fetchWithCache(e);let n=this.getValue(t);if(!n||n.status===`loading`)throw Error(`Unexpected result status for prefetch`);let r=F(this,eC).get(t);for(let e of r??[])e();let i=Wu(n,e);return e.resultOutputType===`image`&&R(i)&&await Ru(i).catch($S),i}async fetchWithCache(e){if(!Ca())return;let t=Vu(e),n=F(this,iC).get(t);if(n)return n;let r=F(this,rC).get(t),i=r&&Gu(r,e.cacheDuration);if(this.responseValues.has(t)&&!i)return;this.responseValues.get(t)||this.setResponseValue(t,ZS);let a=(async()=>{try{let n=await fetch(e.url,{method:`GET`,credentials:e.credentials});if(!n.ok){this.setResponseValue(t,{status:`error`,error:Error(`Invalid Response Status`),data:void 0});return}let r=await n.json();this.setResponseValue(t,{status:`success`,data:r}),F(this,rC).set(t,Date.now())}catch(e){this.setResponseValue(t,{status:`error`,error:e,data:void 0})}})();return F(this,iC).set(t,a),a.finally(()=>{F(this,iC).delete(t)}),a}getValue(e,t=!1){if(!(t&&!F(this,tC).has(e)))return this.responseValues.get(e)}subscribe(e,t,n=!1){let{url:r,cacheDuration:i}=e;if(!Tl(r,!1))return $S;let a=Vu(e),o=F(this,nC).get(a);(!o||i<o)&&F(this,nC).set(a,i),n||(this.startQueryRefetching(e),this.fetchWithCache(e));let s=F(this,eC).get(a)??new Set;return s.add(t),F(this,eC).set(a,s),()=>{let n=F(this,eC).get(a);n&&(n.delete(t),n.size===0&&F(this,eC).delete(a),F(this,eC).size===0&&this.stopQueryRefetching(e))}}},eC=new WeakMap,tC=new WeakMap,nC=new WeakMap,rC=new WeakMap,iC=new WeakMap,aC=new WeakMap,L(oC,`cacheKey`,`framer-fetch-client-cache`),sC=oC,cC=i(void 0),lC=i(!0),uC=({children:e,client:t})=>{let[n]=u(()=>t??new sC),[r,i]=u(!0);return s(()=>(n.hydrateCache(),y(()=>{i(!1)}),()=>n.unmount()),[n]),g(lC.Provider,{value:r,children:g(cC.Provider,{value:n,children:e})})},Ie.WillChange=Ue,dC=Bl(b(function({links:e,children:t,...n},r){let i=Dt(),{activeLocale:a}=_r(),o=lc(r),s=$l(),c=[],l=e.map(e=>{if(e)return R(e)?lu(e,i,void 0,void 0,a):lu(e.href,i,e.implicitPathVariables,e.refKey,a,(e,t)=>s(e,t,a,c))});if(c.length>0)throw Promise.allSettled(c);return o(t(l),n)})),Z={cast(e,t){switch(t.type){case`array`:return od(e,t);case`boolean`:return cd(e);case`color`:return dd(e);case`date`:return pd(e);case`enum`:return hd(e);case`file`:return _d(e);case`link`:return yd(e);case`number`:return xd(e);case`object`:return wd(e,t);case`responsiveimage`:return Ed(e);case`richtext`:return Od(e);case`string`:return Md(e);case`vectorsetitem`:return Ad(e);case`unknown`:return e;default:H(t,`Unsupported cast`)}},parse(e){return Xe(e)?{type:`boolean`,value:e}:nt(e)?{type:`date`,value:e.toISOString()}:z(e)?{type:`number`,value:e}:R(e)?{type:`string`,value:e}:Ze(e)?{type:`array`,value:e.map(Z.parse)}:null},equal(e,t,n){return e?.type===t?.type?Pd(e,t,n)===0:!1},lessThan(e,t,n){return e?.type===t?.type?Pd(e,t,n)<0:!1},lessThanOrEqual(e,t,n){return e?.type===t?.type?Pd(e,t,n)<=0:!1},greaterThan(e,t,n){return e?.type===t?.type?Pd(e,t,n)>0:!1},greaterThanOrEqual(e,t,n){return e?.type===t?.type?Pd(e,t,n)>=0:!1},in(e,t,n){return t?.type===`array`?t.value.some(t=>Z.equal(t,e,n)):!1},indexOf(e,t,n){return e?.type===`array`?e.value.findIndex(e=>Z.equal(e,t,n)):-1},contains(e,t,n){let r=Nd(e),i=Nd(t);return et(r)||et(i)?!1:(n.type===0&&(r=r.toLowerCase(),i=i.toLowerCase()),r.includes(i))},startsWith(e,t,n){let r=Nd(e),i=Nd(t);return et(r)||et(i)?!1:(n.type===0&&(r=r.toLowerCase(),i=i.toLowerCase()),r.startsWith(i))},endsWith(e,t,n){let r=Nd(e),i=Nd(t);return et(r)||et(i)?!1:(n.type===0&&(r=r.toLowerCase(),i=i.toLowerCase()),r.endsWith(i))},length(e){switch(e?.type){case`array`:return e.value.length}return 0},stringify(e){if(e===null)return`null`;switch(e.type){case`array`:return`[${e.value.map(Z.stringify).join(`, `)}]`;case`boolean`:case`number`:return String(e.value);case`string`:return`'${e.value}'`;case`enum`:return`'${e.value}' /* Enum */`;case`color`:return`'${e.value}' /* Color */`;case`date`:return`'${e.value}' /* Date */`;case`richtext`:return`RichText`;case`vectorsetitem`:return`VectorSetItem`;case`responsiveimage`:return`ResponsiveImage`;case`file`:return`File`;case`link`:return R(e.value)?`'${e.value}' /* Link */`:`Link`;case`object`:return`Object`;default:H(e)}}},fC={type:`unknown`,isNullable:!0},pC=class{constructor(e,t){this.collection=e,this.locale=t,L(this,`schema`),L(this,`indexes`,[]);let n=Wa(e);V(n,`Collection does not have properties`);let r={id:{type:`string`,isNullable:!1}},i=Object.entries(n);for(let[e,t]of i){if(!t)continue;let n=t.type;V(n!==`array`,`Array properties are not supported`),V(n!==`object`,`Object properties are not supported`),r[e]={type:n,isNullable:!0}}this.schema=r}getDatabaseItem(e,t){let n={},r=Number(t);for(let t in this.schema){let i=e[t];if(tt(i))continue;let a=this.schema[t];if(!$e(a)){if(V(a.type!==`unknown`,`Invalid definition type`),a.type===`richtext`){n[t]={type:a.type,value:{itemIndex:r,key:t}};continue}n[t]={type:a.type,value:i}}}return{pointer:t,data:n}}async resolveRichText(e){let{itemIndex:t,key:n}=e,r=(await Fd(this.collection,this.locale))[t]?.[n];return Fh.is(r)?r.readMaybeAsync():r}async scanItems(){return(await Fd(this.collection,this.locale)).map((e,t)=>{let n=String(t);return this.getDatabaseItem(e,n)})}async resolveItems(e){let t=await Fd(this.collection,this.locale);return e.map(e=>{let n=t[Number(e)];return V(n,`Can't find collection item`),this.getDatabaseItem(n,e)})}compareItems(e,t){return Number(e.pointer)-Number(t.pointer)}},mC=new Map,hC=new WeakMap,gC=`$r_`,_C=new Map,vC=1e3,Q=class e{constructor(e){this.network=e}static estimate(t,n){let r=Bd(),i=Vd();return new e(t*r+n/i)}static max(t,n){return new e(Math.max(t.network,n.network))}static compare(e,t){return e.network<t.network?-1:e.network>t.network?1:0}add(e){return this.network+=e.network,this}toString(){return`${this.network}ms`}},yC=class{constructor(e,t){this.id=e,this.relational=t,L(this,`nodes`,[]),L(this,`winners`,new Map)}addNode(e){this.nodes.push(e),e.setGroup(this)}getWinner(e){let t=e.getHash(),n=this.winners.get(t);if(n)return n;let r=new bC;return this.winners.set(t,r),r}getOptimized(e){let t=this.getWinner(e);V(t.node,`Group not optimized`);let n=t.node.getOptimized(e);return n.setGroup(this),n}},bC=class{constructor(){L(this,`node`),L(this,`cost`,new Q(1/0)),L(this,`nodes`,[])}update(e,t){this.nodes.push(e),Q.compare(t,this.cost)<0&&(this.node=e,this.cost=t)}},xC=class{constructor(e){this.isSynchronous=e}},SC=class extends xC{constructor(){super(...arguments),L(this,`group`)}getGroup(){return V(this.group,`Node must be in a group`),this.group}setGroup(e){V(!this.group,`Node is already in a group`),this.group=e}evaluateSync(){return Ju(this.evaluate(void 0))}evaluateAsync(){return Yu(this.evaluate(void 0))}},CC=class{constructor(e,t){L(this,`collections`),L(this,`richTextCache`,new WeakMap),L(this,`vectorSetItemCache`,new WeakMap),this.collections=Yd(e,t)}*resolveArrayValue(e){return yield*Zu(e.value.map(e=>this.resolveValue(e)))}*resolveObjectValue(e){let t={};for(let n in e.value){let r=e.value[n];t[n]=this.resolveValue(r)}return yield*G(t)}loadRichTextValue(e){let t=e.value;V(Kd(t),`Rich text pointer must be wrapped`);let n=this.collections.get(t.collectionId);V(n,`Can't find collection for rich text pointer`);let r=this.richTextCache.get(n)??new Map;this.richTextCache.set(n,r);let i=r.get(t.pointer);if(i)return i;let a=n.resolveRichText(t.pointer);return r.set(t.pointer,a),a}preloadRichTextValue(e){this.loadRichTextValue(e)}*resolveRichTextValue(e){let t=this.loadRichTextValue(e);return it(t)?yield t:t}loadVectorSetItemValue(e){let t=e.value;V(Jd(t),`Vector set item pointer must be wrapped`);let n=this.collections.get(t.collectionId);V(n,`Can't find collection for vector set item pointer`),V(n.resolveVectorSetItem,`Can't resolve vector set item pointer`);let r=this.vectorSetItemCache.get(n)??new Map;this.vectorSetItemCache.set(n,r);let i=r.get(t.pointer);if(i)return i;let a=n.resolveVectorSetItem(t.pointer);return r.set(t.pointer,a),a}preloadVectorSetItemValue(e){this.loadVectorSetItemValue(e)}*resolveVectorSetItemValue(e){let t=this.loadVectorSetItemValue(e);return it(t)?yield t:t}*resolveValue(e){switch(e?.type){case`array`:return yield*this.resolveArrayValue(e);case`object`:return yield*this.resolveObjectValue(e);case`richtext`:return yield*this.resolveRichTextValue(e);case`vectorsetitem`:return yield*this.resolveVectorSetItemValue(e)}return e?.value??null}},wC=`index`,TC=class extends Set{merge(e){for(let t of e)this.add(t)}equals(e){if(this===e)return!0;if(this.size!==e.size)return!1;for(let t of this)if(!e.has(t))return!1;return!0}subsetOf(e){if(this===e)return!0;if(this.size>e.size)return!1;for(let t of this)if(!e.has(t))return!1;return!0}getHash(){let e=[];for(let t of this)e.push(t.id);return e.sort((e,t)=>e-t),K(this.name,...e)}},EC=class{constructor(e,t,n){this.id=e,this.name=t,this.data=n,L(this,`indexes`,new OC),L(this,`fields`,new $)}},DC=class{constructor(e,t,n,r,i,a){for(let o in this.id=e,this.data=t,this.collection=n,this.lookupNodes=r,this.constraint=i,this.ordering=a,L(this,`resolvedFields`,new $),t.schema)for(let e of n.fields)e.name===o&&this.resolvedFields.add(e)}},OC=class extends TC{constructor(){super(...arguments),L(this,`name`,`Indexes`)}},kC=class{constructor(e,t,n,r){this.id=e,this.name=t,this.definition=n,this.collection=r}getValue(e){V(this.name,`Can only get value of field with a name`);let t=e.data[this.name];switch(t?.type){case`richtext`:return V(this.collection,`Rich text field must have a collection`),{type:`richtext`,value:Gd(this.collection.data,t.value)};case`vectorsetitem`:return V(this.collection,`Vector set item field must have a collection`),{type:`vectorsetitem`,value:qd(this.collection.data,t.value)}}return t??null}},$=class extends TC{constructor(){super(...arguments),L(this,`name`,`Fields`)}},AC=class{constructor(e,t=`asc`){this.field=e,this.direction=t}getHash(){return K(`OrderingField`,this.field.id,this.direction)}},jC=class{constructor(e){L(this,`fields`,[]),e&&this.merge(e)}get length(){return this.fields.length}getHash(){return K(`Ordering`,...this.fields)}push(e){this.fields.push(e)}merge(e){this.fields.push(...e.fields)}equals(e){return this===e?!0:this.length===e.length?this.getHash()===e.getHash():!1}providedByFields(e){for(let{field:t}of this.fields)if(!e.has(t)&&t.name!==wC)return!1;return!0}},MC=class{constructor(e,t){this.ordering=e,this.resolvedFields=t}getHash(){return K(`RequiredProps`,this.ordering,this.resolvedFields)}get isMinimal(){return this.ordering.length===0&&this.resolvedFields.size===0}canProvide(e){return this.canProvideOrdering(e)&&this.canProvideResolvedFields(e)}canProvideOrdering(e){return this.ordering.length===0?!0:e.canProvideOrdering(this.ordering)}canProvideResolvedFields(e){return this.resolvedFields.size===0?!0:e.canProvideResolvedFields(this.resolvedFields)}},NC=class e{constructor(e){this.parent=e,L(this,`node`),L(this,`ordering`),L(this,`fields`,[])}takeNode(){let e=this.node;return V(e,`Node is missing`),this.node=void 0,e}setNode(e){V(!this.node,`Node already set`),this.node=e}setOrdering(e){this.ordering=e}push(){return new e(this)}replace(){return new e(this.parent)}addField(e){this.fields.push(e)}addFieldsFromScope(e){for(let t of e.fields)this.addField(t)}resolveField(e,t){let n=[];for(let r of this.fields)r.name===e&&(t&&r.collectionName!==t||n.push(r));if(n.length===1)return n[0];if(n.length>1)throw Error(`Ambiguous fields`);return this.parent?.resolveField(e,t)}has(e){return this.fields.includes(e)?!0:this.parent?.has(e)??!1}getRequiredOrdering(){return this.ordering??new jC}getRequiredResolvedFields(){let e=new $;for(let{field:t}of this.fields)t.collection&&e.add(t);return e}getRequiredProps(){return new MC(this.getRequiredOrdering(),this.getRequiredResolvedFields())}getNamedFields(){let e={};for(let{name:t,field:n}of this.fields)e[t]=n;return e}getSingleField(){V(this.fields.length===1,`Scope must contain exactly one field`);let e=this.fields[0];return V(e,`Field must exist`),e.field}},PC=class{constructor(){L(this,`pointers`,new Map),L(this,`values`,new Map)}getKey(){let e=[];for(let[t,n]of this.pointers)e.push(`${t.id}-${n}`);return e.sort().join(`-`)}addValue(e,t){this.values.set(e,t)}getValue(e){return this.values.get(e)??null}mergeValues(e){for(let[t,n]of e.values)this.addValue(t,n)}addPointer(e,t){this.pointers.set(e,t)}getPointer(e){return this.pointers.get(e)}mergePointers(e){for(let[t,n]of e.pointers)this.addPointer(t,n)}merge(e){this.mergeValues(e),this.mergePointers(e)}},FC=class e{constructor(e,t=[]){this.fields=e,this.tuples=t}push(e){this.tuples.push(e)}filter(t){let n=this.tuples.filter(t);return new e(this.fields,n)}map(t,n){return new e(t,this.tuples.map(n))}sort(t){let n=Array.from(this.tuples).sort(t);return new e(this.fields,n)}slice(t,n){let r=this.tuples.slice(t,n);return new e(this.fields,r)}union(t){let n=new $;for(let e of this.fields)t.fields.has(e)&&n.add(e);let r=new Set,i=new e(n);for(let e of this.tuples){let t=e.getKey();r.add(t),i.push(e)}for(let e of t.tuples){let t=e.getKey();r.has(t)||i.push(e)}return i}intersection(t){let n=new $;for(let e of this.fields)t.fields.has(e)&&n.add(e);let r=new Set,i=new e(n);for(let e of this.tuples){let t=e.getKey();r.add(t)}for(let e of t.tuples){let t=e.getKey();r.has(t)&&i.push(e)}return i}},IC=class{constructor(e,t){this.input=e,this.field=t}getHash(){return K(`ProjectionField`,this.input,this.field.id)}},LC=class e extends SC{constructor(e,t,n){let r=e.isSynchronous;for(let e of t)r&&=e.input.isSynchronous;super(r),this.input=e,this.projections=t,this.passthrough=n,L(this,`inputGroup`),this.inputGroup=e.getGroup()}getHash(){return K(`RelationalProject`,this.inputGroup.id,...this.projections,this.passthrough)}getOutputFields(){let e=new $;e.merge(this.passthrough);for(let t of this.projections)e.add(t.field);return e}canProvideOrdering(e){let t=new $;for(let e of this.projections)t.add(e.field);for(let{field:n}of e.fields)if(t.has(n))return!1;return!0}canProvideResolvedFields(){return!0}getInputRequiredProps(e){let t=new $(e.resolvedFields);for(let e of this.projections)t.merge(e.input.referencedFields),t.delete(e.field);return new MC(e.ordering,t)}optimize(e,t){let n=this.getInputRequiredProps(t),r=e.optimizeGroup(this.inputGroup,n),i=new Q(0);for(let t of this.projections){let n=t.input.optimize(e);i=Q.max(i,n)}return new Q(0).add(Q.max(r,i))}getOptimized(t){let n=this.getInputRequiredProps(t);return new e(this.inputGroup.getOptimized(n),this.projections.map(e=>new IC(e.input.getOptimized(),e.field)),this.passthrough)}*evaluate(e){let t=this.getOutputFields(),n=yield*this.input.evaluate(e),r=yield*Zu(n.tuples.map(t=>Zu(this.projections.map(n=>G({field:n.field,value:n.input.evaluate(e,t)})))));return n.map(t,(e,t)=>{let n=new PC;n.mergePointers(e);for(let t of this.passthrough){let r=e.getValue(t);n.addValue(t,r)}let i=r[t];V(i,`Projections must exist`);for(let{field:e,value:t}of i)n.addValue(e,t);return n})}},RC={type:0},zC=class extends xC{constructor(e,t,n){super(n),this.referencedFields=e,this.referencedOuterFields=t,this.isSynchronous=n}evaluateSync(){return Ju(this.evaluate(void 0,void 0))}evaluateAsync(){return Yu(this.evaluate(void 0,void 0))}},BC={type:0},VC=class{constructor(e,t){this.when=e,this.then=t}getHash(){return K(`CaseCondition`,this.when,this.then)}},HC=class e extends zC{constructor(e,t,n){let r=new $,i=new $,a=!0;e&&(r.merge(e.referencedFields),i.merge(e.referencedOuterFields),a&&=e.isSynchronous);for(let{when:e,then:n}of t)r.merge(e.referencedFields),i.merge(e.referencedOuterFields),a&&=e.isSynchronous,r.merge(n.referencedFields),i.merge(n.referencedOuterFields),a&&=n.isSynchronous;n&&(r.merge(n.referencedFields),i.merge(n.referencedOuterFields),a&&=n.isSynchronous),super(r,i,a),this.input=e,this.conditions=t,this.otherwise=n,L(this,`definition`,{type:`unknown`,isNullable:!0})}getHash(){return K(`ScalarCase`,this.input,...this.conditions,this.otherwise)}optimize(e){this.input?.optimize(e);for(let t of this.conditions)t.when.optimize(e),t.then.optimize(e);return this.otherwise?.optimize(e),new Q(0)}getOptimized(){let t=this.input?.getOptimized(),n=this.conditions.map(e=>new VC(e.when.getOptimized(),e.then.getOptimized())),r=this.otherwise?.getOptimized();return new e(t,n,r)}*evaluate(e,t){let{input:n,conditions:r,otherwise:i}=yield*G({input:this.input?.evaluate(e,t)??null,conditions:Zu(this.conditions.map(n=>G({when:n.when.evaluate(e,t),then:n.then.evaluate(e,t)}))),otherwise:this.otherwise?.evaluate(e,t)??null});if(this.input){for(let{when:e,then:t}of r)if(Z.equal(n,e,BC))return t}else for(let{when:e,then:t}of r)if(ld(e))return t;return i}},UC=class{constructor(e,t,n){this.normalizer=e,this.query=t,this.locale=n,L(this,`collectionId`,0),L(this,`indexId`,0),L(this,`fieldId`,0),L(this,`subqueries`,[])}build(){let e=new NC;return this.buildQuery(e,this.query)}buildQuery(e,t){let n={type:`Select`,...t};return this.buildSelect(e,n)}buildSelect(e,t){let n=this.buildFrom(e,t.from),r=n.getRequiredOrdering();if(t.where){let e=n.takeNode(),r=this.buildExpression(n,t.where),i=this.normalizer.newRelationalFilter(e,r);n.setNode(i)}let i=[],a=new $,o;if(t.orderBy){o=new jC;for(let e of t.orderBy)if(e.type===`Identifier`){let t=n.resolveField(e.name,e.collection);if($e(t))continue;a.add(t.field);let r=new AC(t.field,e.direction);o.push(r)}else{let t=this.buildExpression(n,e),r=new kC(Qd(this.fieldId++),void 0,t.definition,void 0),a=new IC(t,r);i.push(a);let s=new AC(r,e.direction);o.push(s)}o.merge(r)}else o=r;let s=this.buildSelectList(n,t.select,a,i);if(s.setOrdering(o),t.offset){let n=s.takeNode(),r=this.buildExpression(e,t.offset),i=this.normalizer.newRelationalOffset(n,r,o);s.setNode(i)}if(t.limit){let n=s.takeNode(),r=this.buildExpression(e,t.limit),i=this.normalizer.newRelationalLimit(n,r,o);s.setNode(i)}return s}buildSelectList(e,t,n,r){let i=e.push(),a=new $(n),o=[...r];for(let n of t)if(n.type===`Identifier`){let t=e.resolveField(n.name,n.collection);if($e(t))continue;a.add(t.field),i.addField({...t,name:n.alias??t.name})}else{let t=this.buildExpression(e,n);V(n.alias,`Subqueries should have an alias`);let r=Qd(this.fieldId++),a=n.alias,s=new kC(r,a,t.definition,void 0),c=new IC(t,s);o.push(c),i.addField({field:s,name:a})}let s=e.takeNode(),c=this.normalizer.newRelationalProject(s,o,a);return i.setNode(c),i}buildFrom(e,t){switch(t.type){case`Collection`:return this.buildCollection(e,t);case`LeftJoin`:return this.buildJoin(e,t);default:H(t,`Unsupported from type`)}}buildCollection(e,t){let n=e.push(),r=zd(t.data,this.locale),i=t.alias,a=new EC(Xd(this.collectionId++),i,r);for(let[e,t]of Object.entries(r.schema)){let r=new kC(Qd(this.fieldId++),e,t,a);n.addField({field:r,name:e,collectionName:i}),a.fields.add(r)}{let e=new kC(Qd(this.fieldId++),wC,{type:`number`,isNullable:!1},a);n.addField({field:e,name:wC,collectionName:i});let t=new jC,r=new AC(e);t.push(r),n.setOrdering(t)}for(let e of r.indexes){let t=[];for(let r of e.fields){let e=this.buildExpression(n,r);t.push(e)}let r;e.where&&(r=this.buildExpression(n,e.where));let i=new jC,o=new DC(Zd(this.indexId++),e,a,t,r,i);a.indexes.add(o)}let o=this.normalizer.newRelationalScan(a);return n.setNode(o),n}buildJoin(e,t){let n=this.buildFrom(e,t.left),r=this.buildFrom(e,t.right),i=new jC,a=n.getRequiredOrdering();i.merge(a);let o=r.getRequiredOrdering();i.merge(o);let s=e.push();s.addFieldsFromScope(n),s.addFieldsFromScope(r),s.setOrdering(i);let c=this.buildExpression(s,t.constraint),l=n.takeNode(),u=r.takeNode(),d;switch(t.type){case`LeftJoin`:d=this.normalizer.newRelationalLeftJoin(l,u,c);break;default:H(t.type,`Unsupported join type`)}return s.setNode(d),s}buildExpression(e,t){switch(t.type){case`Identifier`:return this.buildIdentifier(e,t);case`LiteralValue`:return this.buildLiteralValue(t);case`FunctionCall`:return this.buildFunctionCall(e,t);case`Case`:return this.buildCase(e,t);case`UnaryOperation`:return this.buildUnaryOperation(e,t);case`BinaryOperation`:return this.buildBinaryOperation(e,t);case`TypeCast`:return this.buildTypeCast(e,t);case`Select`:throw Error(`Subqueries are only supported inside subquery function calls`);default:H(t,`Unsupported expression`)}}buildIdentifier(e,t){let n=e.resolveField(t.name,t.collection);if(n){let e=!1;for(let t of this.subqueries)e?t.referencedOuterFields.add(n.field):(e=t.inScope.has(n),e&&t.referencedFields.add(n.field));return this.normalizer.newScalarVariable(n.field,e)}return this.normalizer.newScalarConstant(fC,null)}buildLiteralValue(e){let t=Z.parse(e.value);return this.normalizer.newScalarConstant(fC,t)}buildFunctionCall(e,t){let n=n=>{let r=t.arguments[n];return V(r,`Missing argument`),this.buildExpression(e,r)},r=t.functionName;switch(r){case`CONTAINS`:{let e=n(0),t=n(1);return this.normalizer.newScalarContains(e,t)}case`STARTS_WITH`:{let e=n(0),t=n(1);return this.normalizer.newScalarStartsWith(e,t)}case`ENDS_WITH`:{let e=n(0),t=n(1);return this.normalizer.newScalarEndsWith(e,t)}case`LENGTH`:{let e=n(0);return this.normalizer.newScalarLength(e)}case`INDEX_OF`:{let e=n(0),t=n(1);return this.normalizer.newScalarIndexOf(e,t)}case`ARRAY`:{let n=t.arguments[0];return V(n,`Missing argument`),V(n.type===`Select`,`Subqueries require a select expression`),this.buildSubqueryArray(e,n)}case`FLAT_ARRAY`:{let n=t.arguments[0];return V(n,`Missing argument`),V(n.type===`Select`,`Subqueries require a select expression`),this.buildSubqueryFlatArray(e,n)}case`INTERSECT`:{let e=n(0),t=n(1);return this.normalizer.newScalarIntersection(e,t)}default:H(r,`Unsupported function name`)}}buildSubqueryArray(e,t){try{let n=new WC(e);this.subqueries.push(n);let r=this.buildSelect(e,t),i=r.takeNode(),a=r.getNamedFields(),o=r.getRequiredOrdering(),s=n.referencedFields,c=n.referencedOuterFields;return this.normalizer.newScalarArray(i,a,o,s,c)}finally{this.subqueries.pop()}}buildSubqueryFlatArray(e,t){try{let n=new WC(e);this.subqueries.push(n);let r=this.buildSelect(e,t),i=r.takeNode(),a=r.getSingleField(),o=r.getRequiredOrdering(),s=n.referencedFields,c=n.referencedOuterFields;return this.normalizer.newScalarFlatArray(i,a,o,s,c)}finally{this.subqueries.pop()}}buildCase(e,t){let n;t.value&&(n=this.buildExpression(e,t.value));let r=t.conditions.map(t=>new VC(this.buildExpression(e,t.when),this.buildExpression(e,t.then))),i;return t.else&&(i=this.buildExpression(e,t.else)),this.normalizer.newScalarCase(n,r,i)}buildUnaryOperation(e,t){let n=this.buildExpression(e,t.value);switch(t.operator){case`not`:return this.normalizer.newScalarNot(n);default:H(t.operator,`Unsupported unary operator`)}}buildBinaryOperation(e,t){let n=this.buildExpression(e,t.left),r=this.buildExpression(e,t.right);switch(t.operator){case`and`:return this.normalizer.newScalarAnd(n,r);case`or`:return this.normalizer.newScalarOr(n,r);case`==`:return this.normalizer.newScalarEquals(n,r);case`!=`:return this.normalizer.newScalarNotEquals(n,r);case`<`:return this.normalizer.newScalarLessThan(n,r);case`<=`:return this.normalizer.newScalarLessThanOrEqual(n,r);case`>`:return this.normalizer.newScalarGreaterThan(n,r);case`>=`:return this.normalizer.newScalarGreaterThanOrEqual(n,r);case`in`:return this.normalizer.newScalarIn(n,r);default:H(t.operator,`Unsupported binary operator`)}}buildTypeCast(e,t){let n=this.buildExpression(e,t.value);switch(t.dataType){case`BOOLEAN`:return this.normalizer.newScalarCast(n,{type:`boolean`,isNullable:!0});case`DATE`:return this.normalizer.newScalarCast(n,{type:`date`,isNullable:!0});case`NUMBER`:return this.normalizer.newScalarCast(n,{type:`number`,isNullable:!0});case`STRING`:return this.normalizer.newScalarCast(n,{type:`string`,isNullable:!0});default:throw Error(`Unsupported data type`)}}},WC=class{constructor(e){this.inScope=e,L(this,`referencedFields`,new $),L(this,`referencedOuterFields`,new $)}},GC=class e extends SC{constructor(e,t){super(e.isSynchronous&&t.isSynchronous),this.input=e,this.predicate=t,L(this,`inputGroup`),this.inputGroup=e.getGroup()}getHash(){return K(`RelationalFilter`,this.inputGroup.id,this.predicate)}getOutputFields(){return this.inputGroup.relational.outputFields}canProvideOrdering(){return!0}canProvideResolvedFields(){return!0}getInputRequiredProps(e){let t=new $(e.resolvedFields);return t.merge(this.predicate.referencedFields),new MC(e.ordering,t)}optimize(e,t){let n=this.getInputRequiredProps(t),r=e.optimizeGroup(this.inputGroup,n),i=this.predicate.optimize(e);return new Q(0).add(Q.max(r,i))}getOptimized(t){let n=this.getInputRequiredProps(t);return new e(this.inputGroup.getOptimized(n),this.predicate.getOptimized())}*evaluate(e){let t=yield*this.input.evaluate(e),n=yield*Zu(t.tuples.map(t=>this.predicate.evaluate(e,t)));return t.filter((e,t)=>ld(n[t]??null))}},KC=class e extends SC{constructor(e,t){super(!1),this.index=e,this.query=t}getHash(){return K(`RelationalIndexLookup`,this.index.id,...this.query)}getOutputFields(){return this.index.collection.fields}canProvideOrdering(e){return e.equals(this.index.ordering)}canProvideResolvedFields(e){return e.subsetOf(this.index.resolvedFields)}optimize(){let e=this.query.every(e=>e.type===`All`);return Q.estimate(1,e?100*vC:50*vC)}getOptimized(){return new e(this.index,this.query)}*evaluate(){let e=this.index,t=e.collection;return new FC(this.getOutputFields(),(yield e.data.lookupItems(this.query)).map(n=>{let r=new PC;for(let i of e.resolvedFields){let e=i.getValue(n);r.addPointer(t,n.pointer),r.addValue(i,e)}return r}))}},qC=class e extends SC{constructor(e,t){super(e.isSynchronous&&t.isSynchronous),this.left=e,this.right=t,L(this,`leftGroup`),L(this,`rightGroup`),this.leftGroup=e.getGroup(),this.rightGroup=t.getGroup()}getHash(){return K(`RelationalIntersection`,this.leftGroup.id,this.rightGroup.id)}getOutputFields(){let e=new $,t=this.leftGroup.relational.outputFields,n=this.rightGroup.relational.outputFields;for(let r of t)n.has(r)&&e.add(r);return e}canProvideOrdering(){return!1}canProvideResolvedFields(){return!0}getChildRequiredProps(e){return new MC(new jC,e.resolvedFields)}optimize(e,t){let n=this.getChildRequiredProps(t),r=e.optimizeGroup(this.leftGroup,n),i=this.getChildRequiredProps(t),a=e.optimizeGroup(this.rightGroup,i);return Q.max(r,a)}getOptimized(t){let n=this.getChildRequiredProps(t),r=this.leftGroup.getOptimized(n),i=this.getChildRequiredProps(t);return new e(r,this.rightGroup.getOptimized(i))}*evaluate(e){let{left:t,right:n}=yield*G({left:this.left.evaluate(e),right:this.right.evaluate(e)});return t.intersection(n)}},JC=class e extends SC{constructor(e){super(!1),this.collection=e}getHash(){return K(`RelationalScan`,this.collection.id)}getOutputFields(){return this.collection.fields}canProvideOrdering(){return!1}canProvideResolvedFields(e){return e.subsetOf(this.collection.fields)}optimize(){return Q.estimate(1,200*vC)}getOptimized(){return new e(this.collection)}*evaluate(){let e=this.collection,t=this.getOutputFields();return new FC(t,(yield e.data.scanItems()).map(n=>{let r=new PC;for(let i of t){let t=i.getValue(n);r.addPointer(e,n.pointer),r.addValue(i,t)}return r}))}},YC=class e extends SC{constructor(e,t){super(e.isSynchronous&&t.isSynchronous),this.left=e,this.right=t,L(this,`leftGroup`),L(this,`rightGroup`),this.leftGroup=e.getGroup(),this.rightGroup=t.getGroup()}getHash(){return K(`RelationalUnion`,this.leftGroup.id,this.rightGroup.id)}getOutputFields(){let e=new $,t=this.leftGroup.relational.outputFields,n=this.rightGroup.relational.outputFields;for(let r of t)n.has(r)&&e.add(r);return e}canProvideOrdering(){return!1}canProvideResolvedFields(){return!0}getChildRequiredProps(e){return new MC(new jC,e.resolvedFields)}optimize(e,t){let n=this.getChildRequiredProps(t),r=e.optimizeGroup(this.leftGroup,n),i=this.getChildRequiredProps(t),a=e.optimizeGroup(this.rightGroup,i);return Q.max(r,a)}getOptimized(t){let n=this.getChildRequiredProps(t),r=this.leftGroup.getOptimized(n),i=this.getChildRequiredProps(t);return new e(r,this.rightGroup.getOptimized(i))}*evaluate(e){let{left:t,right:n}=yield*G({left:this.left.evaluate(e),right:this.right.evaluate(e)});return t.union(n)}},XC=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarAnd`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*G({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:ld(n)&&ld(r)}}},ZC=class extends zC{constructor(e,t){let n=new $,r=new $;super(n,r,!0),this.definition=e,this.value=t}getHash(){return K(`ScalarConstant`,this.definition,this.value)}optimize(){return new Q(0)}getOptimized(){return this}*evaluate(){return this.value}},QC={type:0},$C=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.source=e,this.target=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarContains`,this.source,this.target)}optimize(e){let t=this.source.optimize(e),n=this.target.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.source.getOptimized(),this.target.getOptimized())}*evaluate(e,t){let{source:n,target:r}=yield*G({source:this.source.evaluate(e,t),target:this.target.evaluate(e,t)});return{type:`boolean`,value:Z.contains(n,r,QC)}}},ew={type:0},tw=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.source=e,this.target=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarEndsWith`,this.source,this.target)}optimize(e){let t=this.source.optimize(e),n=this.target.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.source.getOptimized(),this.target.getOptimized())}*evaluate(e,t){let{source:n,target:r}=yield*G({source:this.source.evaluate(e,t),target:this.target.evaluate(e,t)});return{type:`boolean`,value:Z.endsWith(n,r,ew)}}},nw=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarEquals`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*G({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:Z.equal(n,r,RC)}}},rw=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarGreaterThan`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*G({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:Z.greaterThan(n,r,RC)}}},iw=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarGreaterThanOrEqual`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*G({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:Z.greaterThanOrEqual(n,r,RC)}}},aw=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarLessThan`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*G({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:Z.lessThan(n,r,RC)}}},ow=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarLessThanOrEqual`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*G({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:Z.lessThanOrEqual(n,r,RC)}}},sw=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarNotEquals`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*G({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:!Z.equal(n,r,RC)}}},cw=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarOr`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*G({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:ld(n)||ld(r)}}},lw={type:0},uw=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.source=e,this.target=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarStartsWith`,this.source,this.target)}optimize(e){let t=this.source.optimize(e),n=this.target.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.source.getOptimized(),this.target.getOptimized())}*evaluate(e,t){let{source:n,target:r}=yield*G({source:this.source.evaluate(e,t),target:this.target.evaluate(e,t)});return{type:`boolean`,value:Z.startsWith(n,r,lw)}}},dw=class{constructor(e){this.normalizer=e,L(this,`memo`),this.memo=e.memo}explore(e){let t=e.getGroup();if(e instanceof GC){if(e.predicate instanceof XC){let n=new qC(this.normalizer.newRelationalFilter(e.input,e.predicate.left),this.normalizer.newRelationalFilter(e.input,e.predicate.right));this.memo.addRelational(n,t)}if(e.predicate instanceof cw){let n=new YC(this.normalizer.newRelationalFilter(e.input,e.predicate.left),this.normalizer.newRelationalFilter(e.input,e.predicate.right));this.memo.addRelational(n,t)}}if(e instanceof JC)for(let n of e.collection.indexes){if(n.constraint)continue;let e=new KC(n,$d(n.lookupNodes.length));this.memo.addRelational(e,t)}if(e instanceof GC){for(let n of e.inputGroup.nodes)if(n instanceof JC)for(let r of n.collection.indexes){if(e.predicate instanceof nw&&e.predicate.left===r.lookupNodes[0]&&e.predicate.right instanceof ZC&&r.data.supportedLookupTypes.includes(`Equals`)){let n=$d(r.lookupNodes.length);n[0]={type:`Equals`,value:e.predicate.right.value};let i=new KC(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof sw&&e.predicate.left===r.lookupNodes[0]&&e.predicate.right instanceof ZC&&r.data.supportedLookupTypes.includes(`NotEquals`)){let n=$d(r.lookupNodes.length);n[0]={type:`NotEquals`,value:e.predicate.right.value};let i=new KC(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof aw&&e.predicate.left===r.lookupNodes[0]&&e.predicate.right instanceof ZC&&r.data.supportedLookupTypes.includes(`LessThan`)){let n=$d(r.lookupNodes.length);n[0]={type:`LessThan`,value:e.predicate.right.value,inclusive:!1};let i=new KC(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof ow&&e.predicate.left===r.lookupNodes[0]&&e.predicate.right instanceof ZC&&r.data.supportedLookupTypes.includes(`LessThan`)){let n=$d(r.lookupNodes.length);n[0]={type:`LessThan`,value:e.predicate.right.value,inclusive:!0};let i=new KC(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof rw&&e.predicate.left===r.lookupNodes[0]&&e.predicate.right instanceof ZC&&r.data.supportedLookupTypes.includes(`GreaterThan`)){let n=$d(r.lookupNodes.length);n[0]={type:`GreaterThan`,value:e.predicate.right.value,inclusive:!1};let i=new KC(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof iw&&e.predicate.left===r.lookupNodes[0]&&e.predicate.right instanceof ZC&&r.data.supportedLookupTypes.includes(`GreaterThan`)){let n=$d(r.lookupNodes.length);n[0]={type:`GreaterThan`,value:e.predicate.right.value,inclusive:!0};let i=new KC(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof $C&&e.predicate.source===r.lookupNodes[0]&&e.predicate.target instanceof ZC&&r.data.supportedLookupTypes.includes(`Contains`)){let n=$d(r.lookupNodes.length);n[0]={type:`Contains`,value:e.predicate.target.value};let i=new KC(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof uw&&e.predicate.source===r.lookupNodes[0]&&e.predicate.target instanceof ZC&&r.data.supportedLookupTypes.includes(`StartsWith`)){let n=$d(r.lookupNodes.length);n[0]={type:`StartsWith`,value:e.predicate.target.value};let i=new KC(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof tw&&e.predicate.source===r.lookupNodes[0]&&e.predicate.target instanceof ZC&&r.data.supportedLookupTypes.includes(`EndsWith`)){let n=$d(r.lookupNodes.length);n[0]={type:`EndsWith`,value:e.predicate.target.value};let i=new KC(r,n);this.memo.addRelational(i,t)}}}}},fw=class{constructor(e){this.outputFields=e}isCompatible(e){return this.outputFields.equals(e.outputFields)}},pw=class{constructor(){L(this,`nodes`,new Map),L(this,`groups`,[])}addGroup(e){let t=new yC(Hd(this.groups.length),e);return this.groups.push(t),t}addRelational(e,t){let n=e.getHash(),r=this.nodes.get(n);if(r)return r;this.nodes.set(n,e);let i=new fw(e.getOutputFields());return t??=this.addGroup(i),t.addNode(e),V(i.isCompatible(t.relational),`Group has inconsistent relational props`),e}addScalar(e){let t=e.getHash();return this.nodes.get(t)||(this.nodes.set(t,e),e)}},mw=class e extends SC{constructor(e,t,n){super(e.isSynchronous&&t.isSynchronous&&n.isSynchronous),this.left=e,this.right=t,this.constraint=n,L(this,`leftGroup`),L(this,`rightGroup`),this.leftGroup=e.getGroup(),this.rightGroup=t.getGroup()}getHash(){return K(`RelationalLeftJoin`,this.leftGroup.id,this.rightGroup.id,this.constraint)}getOutputFields(){let e=new $;return e.merge(this.leftGroup.relational.outputFields),e.merge(this.rightGroup.relational.outputFields),e}canProvideOrdering(){return!1}canProvideResolvedFields(){return!0}getChildRequiredProps(e,t){let n=new $,r=e.relational.outputFields;for(let e of t.resolvedFields)r.has(e)&&n.add(e);for(let e of this.constraint.referencedFields)r.has(e)&&n.add(e);return new MC(new jC,n)}optimize(e,t){let n=this.getChildRequiredProps(this.leftGroup,t),r=e.optimizeGroup(this.leftGroup,n),i=this.getChildRequiredProps(this.rightGroup,t),a=e.optimizeGroup(this.rightGroup,i),o=this.constraint.optimize(e);return Q.max(Q.max(r,a),o)}getOptimized(t){let n=this.getChildRequiredProps(this.leftGroup,t),r=this.leftGroup.getOptimized(n),i=this.getChildRequiredProps(this.rightGroup,t);return new e(r,this.rightGroup.getOptimized(i),this.constraint.getOptimized())}*evaluateScalarEquals(e,t,n,r,i){let a=new Map;for(let e of t.tuples){let t=yield*r.evaluate(i,e),n=JSON.stringify(t?.value??null),o=a.get(n)??[];o.push(e),a.set(n,o)}let o=new FC(this.getOutputFields());for(let t of e.tuples){let e=yield*n.evaluate(i,t),r=JSON.stringify(e?.value??null),s=a.get(r)??[];if(s.length===0)o.push(t);else for(let e of s){let n=new PC;n.merge(t),n.merge(e),o.push(n)}}return o}*evaluate(e){let{left:t,right:n}=yield*G({left:this.left.evaluate(e),right:this.right.evaluate(e)});if(this.constraint instanceof nw){if(this.constraint.left.referencedFields.subsetOf(this.leftGroup.relational.outputFields)&&this.constraint.right.referencedFields.subsetOf(this.rightGroup.relational.outputFields))return yield*this.evaluateScalarEquals(t,n,this.constraint.left,this.constraint.right,e);if(this.constraint.right.referencedFields.subsetOf(this.leftGroup.relational.outputFields)&&this.constraint.left.referencedFields.subsetOf(this.rightGroup.relational.outputFields))return yield*this.evaluateScalarEquals(t,n,this.constraint.right,this.constraint.left,e)}let r=new FC(this.getOutputFields());for(let i of t.tuples){let t=!1;for(let a of n.tuples){let n=new PC;n.merge(i),n.merge(a),ld(yield*this.constraint.evaluate(e,n))&&(r.push(n),t=!0)}t||r.push(i)}return r}},hw=class e extends SC{constructor(e,t,n){super(e.isSynchronous&&t.isSynchronous),this.input=e,this.limit=t,this.ordering=n,L(this,`inputGroup`),this.inputGroup=e.getGroup()}getHash(){return K(`RelationalLimit`,this.inputGroup.id,this.limit)}getOutputFields(){return this.inputGroup.relational.outputFields}canProvideOrdering(e){return e.equals(this.ordering)}canProvideResolvedFields(){return!0}getInputRequiredProps(e){let t=new $(e.resolvedFields);return t.merge(this.limit.referencedFields),new MC(this.ordering,t)}optimize(e,t){let n=this.getInputRequiredProps(t),r=e.optimizeGroup(this.inputGroup,n),i=this.limit.optimize(e);return new Q(0).add(Q.max(r,i))}getOptimized(t){let n=this.getInputRequiredProps(t);return new e(this.inputGroup.getOptimized(n),this.limit.getOptimized(),this.ordering)}*evaluate(e){let{input:t,limit:n}=yield*G({input:this.input.evaluate(e),limit:this.limit.evaluate(e,void 0)}),r=Sd(n)??1/0;return r===1/0?t:t.slice(0,r)}},gw=class e extends SC{constructor(e,t,n){super(e.isSynchronous&&t.isSynchronous),this.input=e,this.offset=t,this.ordering=n,L(this,`inputGroup`),this.inputGroup=e.getGroup()}getHash(){return K(`RelationalOffset`,this.inputGroup.id,this.offset)}getOutputFields(){return this.inputGroup.relational.outputFields}canProvideOrdering(e){return e.equals(this.ordering)}canProvideResolvedFields(){return!0}getInputRequiredProps(e){let t=new $(e.resolvedFields);return t.merge(this.offset.referencedFields),new MC(this.ordering,t)}optimize(e,t){let n=this.getInputRequiredProps(t),r=e.optimizeGroup(this.inputGroup,n),i=this.offset.optimize(e);return new Q(0).add(Q.max(r,i))}getOptimized(t){let n=this.getInputRequiredProps(t);return new e(this.inputGroup.getOptimized(n),this.offset.getOptimized(),this.ordering)}*evaluate(e){let{input:t,offset:n}=yield*G({input:this.input.evaluate(e),offset:this.offset.evaluate(e,void 0)}),r=Sd(n)??0;return r===0?t:t.slice(r)}},_w=class e extends zC{constructor(e,t,n,r,i){super(r,i,e.isSynchronous),this.input=e,this.namedFields=t,this.ordering=n,this.referencedFields=r,this.referencedOuterFields=i,L(this,`inputGroup`),L(this,`definition`),this.inputGroup=e.getGroup();let a={},o=Object.entries(t);for(let[e,t]of o)a[e]=t.definition;this.definition={type:`array`,isNullable:!1,definition:{type:`object`,isNullable:!1,definitions:a}}}getHash(){let e={},t=Object.entries(this.namedFields);for(let[n,r]of t)e[n]=r.id;return K(`ScalarArray`,this.inputGroup.id,e,this.ordering,this.referencedFields,this.referencedOuterFields)}getInputRequiredProps(){let e=new $,t=Object.values(this.namedFields);for(let n of t)$e(n.collection)||e.add(n);return new MC(this.ordering,e)}optimize(e){let t=this.getInputRequiredProps(),n=e.optimizeGroup(this.inputGroup,t);return new Q(0).add(n)}getOptimized(){let t=this.getInputRequiredProps();return new e(this.inputGroup.getOptimized(t),this.namedFields,this.ordering,this.referencedFields,this.referencedOuterFields)}*evaluate(e,t){let n=new PC;e&&n.merge(e),t&&n.merge(t);let r=yield*this.input.evaluate(n),i=Object.entries(this.namedFields);return{type:`array`,value:r.tuples.map(e=>{let t={};for(let[n,r]of i)t[n]=e.getValue(r);return{type:`object`,value:t}})}}},vw=class e extends zC{constructor(e,t){super(e.referencedFields,e.referencedOuterFields,e.isSynchronous),this.input=e,this.definition=t,V(t.isNullable,`Unsupported non-nullable cast`)}getHash(){return K(`ScalarCast`,this.input,this.definition)}optimize(e){return this.input.optimize(e)}getOptimized(){return new e(this.input.getOptimized(),this.definition)}*evaluate(e,t){let n=yield*this.input.evaluate(e,t);return Z.cast(n,this.definition)}},yw=class e extends zC{constructor(e,t,n,r,i){super(r,i,e.isSynchronous),this.input=e,this.field=t,this.ordering=n,this.referencedFields=r,this.referencedOuterFields=i,L(this,`inputGroup`),L(this,`definition`),this.inputGroup=e.getGroup(),this.definition={type:`array`,isNullable:!1,definition:t.definition}}getHash(){return K(`ScalarFlatArray`,this.inputGroup.id,this.field.id,this.ordering,this.referencedFields,this.referencedOuterFields)}getInputRequiredProps(){let e=new $;return $e(this.field.collection)||e.add(this.field),new MC(this.ordering,e)}optimize(e){let t=this.getInputRequiredProps(),n=e.optimizeGroup(this.inputGroup,t);return new Q(0).add(n)}getOptimized(){let t=this.getInputRequiredProps();return new e(this.inputGroup.getOptimized(t),this.field,this.ordering,this.referencedFields,this.referencedOuterFields)}*evaluate(e,t){let n=new PC;return e&&n.merge(e),t&&n.merge(t),{type:`array`,value:(yield*this.input.evaluate(n)).tuples.map(e=>e.getValue(this.field))}}},bw={type:0},xw=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarIn`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*G({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:Z.in(n,r,bw)}}},Sw={type:1},Cw=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.source=e,this.target=t,L(this,`definition`,{type:`number`,isNullable:!1})}getHash(){return K(`ScalarIndexOf`,this.source,this.target)}optimize(e){let t=this.source.optimize(e),n=this.target.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.source.getOptimized(),this.target.getOptimized())}*evaluate(e,t){let{source:n,target:r}=yield*G({source:this.source.evaluate(e,t),target:this.target.evaluate(e,t)});return{type:`number`,value:Z.indexOf(n,r,Sw)}}},ww=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`array`,definition:{type:`string`,isNullable:!1},isNullable:!1})}getHash(){return K(`ScalarIntersection`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*G({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)}),i=tf(n),a=tf(r),o=[],s=i.size<a.size?i:a,c=s===i?a:i;for(let e of s)c.has(e)&&o.push({type:`string`,value:e});return{type:`array`,value:o}}},Tw=class e extends zC{constructor(e){super(e.referencedFields,e.referencedOuterFields,e.isSynchronous),this.input=e,L(this,`definition`,{type:`number`,isNullable:!1})}getHash(){return K(`ScalarLength`,this.input)}optimize(e){return this.input.optimize(e)}getOptimized(){return new e(this.input.getOptimized())}*evaluate(e,t){let n=yield*this.input.evaluate(e,t);return{type:`number`,value:Z.length(n)}}},Ew=class e extends zC{constructor(e){super(e.referencedFields,e.referencedOuterFields,e.isSynchronous),this.input=e,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarNot`,this.input)}optimize(e){return this.input.optimize(e)}getOptimized(){return new e(this.input.getOptimized())}*evaluate(e,t){return{type:`boolean`,value:!ld(yield*this.input.evaluate(e,t))}}},Dw={type:0},Ow=class e extends zC{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return K(`ScalarNotIn`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*G({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:!Z.in(n,r,Dw)}}},kw=class extends zC{constructor(e,t){V(e.name!==wC,`Invalid field name`);let n=new $,r=new $;t?r.add(e):n.add(e),super(n,r,!0),this.field=e,this.isOuterField=t,L(this,`definition`),this.definition=e.definition}getHash(){return K(`ScalarVariable`,this.field.id,this.isOuterField)}optimize(){return new Q(0)}getOptimized(){return this}*evaluate(e,t){return this.isOuterField?(V(e,`Context must exist`),e.getValue(this.field)):(V(t,`Tuple must exist`),t.getValue(this.field))}},Aw=class{constructor(e){this.memo=e}finishRelational(e){return this.memo.addRelational(e)}newRelationalScan(e){let t=new JC(e);return this.finishRelational(t)}newRelationalIndexLookup(e,t){let n=new KC(e,t);return this.finishRelational(n)}newRelationalLeftJoin(e,t,n){let r=new mw(e,t,n);return this.finishRelational(r)}newRelationalRightJoin(e,t,n){return this.newRelationalLeftJoin(t,e,n)}newRelationalFilter(e,t){if(t instanceof ZC&&t.value?.type===`boolean`&&t.value.value===!0)return e;if(e instanceof mw&&t.referencedFields.subsetOf(e.leftGroup.relational.outputFields)){let n=this.newRelationalFilter(e.left,t);return this.newRelationalLeftJoin(n,e.right,e.constraint)}let n=new GC(e,t);return this.finishRelational(n)}newRelationalProject(e,t,n){let r=new LC(e,t,n);return this.finishRelational(r)}newRelationalLimit(e,t,n){if(e instanceof LC&&t.referencedFields.subsetOf(e.inputGroup.relational.outputFields)&&n.providedByFields(e.inputGroup.relational.outputFields)){let r=this.newRelationalLimit(e.input,t,n);return this.newRelationalProject(r,e.projections,e.passthrough)}let r=new hw(e,t,n);return this.finishRelational(r)}newRelationalOffset(e,t,n){let r=new gw(e,t,n);return this.finishRelational(r)}finishScalar(e){if(!(e instanceof ZC)&&e.isSynchronous&&e.referencedFields.size===0&&e.referencedOuterFields.size===0){let t=e.evaluateSync();return this.newScalarConstant(e.definition,t)}return this.memo.addScalar(e)}removeUnknown(e,t){if(e.definition.type!==`unknown`||t.type===`unknown`)return e;let n={...t,isNullable:!0};return this.newScalarCast(e,n)}newScalarVariable(e,t){let n=new kw(e,t);return this.finishScalar(n)}newScalarConstant(e,t){let n=new ZC(e,t);return this.finishScalar(n)}newScalarNot(e){if(e instanceof Ew)return e.input.definition.type===`boolean`?e.input:this.newScalarCast(e.input,{type:`boolean`,isNullable:!0});if(e instanceof nw)return this.newScalarNotEquals(e.left,e.right);if(e instanceof sw)return this.newScalarEquals(e.left,e.right);if(e instanceof aw)return this.newScalarGreaterThanOrEqual(e.left,e.right);if(e instanceof ow)return this.newScalarGreaterThan(e.left,e.right);if(e instanceof rw)return this.newScalarLessThanOrEqual(e.left,e.right);if(e instanceof iw)return this.newScalarLessThan(e.left,e.right);if(e instanceof XC){let t=this.newScalarNot(e.left),n=this.newScalarNot(e.right);return this.newScalarOr(t,n)}if(e instanceof cw){let t=this.newScalarNot(e.left),n=this.newScalarNot(e.right);return this.newScalarAnd(t,n)}let t=new Ew(e);return this.finishScalar(t)}newScalarAnd(e,t){if(t instanceof ZC&&t.value?.type===`boolean`&&t.value.value===!0)return e;if(e instanceof ZC&&e.value?.type===`boolean`&&e.value.value===!0||t instanceof ZC&&t.value?.type===`boolean`&&t.value.value===!1)return t;if(e instanceof ZC&&e.value?.type===`boolean`&&e.value.value===!1)return e;let n=new XC(e,t);return this.finishScalar(n)}newScalarOr(e,t){if(t instanceof ZC&&t.value?.type===`boolean`&&t.value.value===!0)return t;if(e instanceof ZC&&e.value?.type===`boolean`&&e.value.value===!0||t instanceof ZC&&t.value?.type===`boolean`&&t.value.value===!1)return e;if(e instanceof ZC&&e.value?.type===`boolean`&&e.value.value===!1)return t;let n=new cw(e,t);return this.finishScalar(n)}newScalarEquals(e,t){let n=e instanceof kw;if(t instanceof kw&&!n)return this.newScalarEquals(t,e);e=this.removeUnknown(e,t.definition),t=this.removeUnknown(t,e.definition);let r=new nw(e,t);return this.finishScalar(r)}newScalarNotEquals(e,t){let n=e instanceof kw;if(t instanceof kw&&!n)return this.newScalarNotEquals(t,e);e=this.removeUnknown(e,t.definition),t=this.removeUnknown(t,e.definition);let r=new sw(e,t);return this.finishScalar(r)}newScalarLessThan(e,t){let n=e instanceof kw;if(t instanceof kw&&!n)return this.newScalarGreaterThan(t,e);e=this.removeUnknown(e,t.definition),t=this.removeUnknown(t,e.definition);let r=new aw(e,t);return this.finishScalar(r)}newScalarLessThanOrEqual(e,t){let n=e instanceof kw;if(t instanceof kw&&!n)return this.newScalarGreaterThanOrEqual(t,e);e=this.removeUnknown(e,t.definition),t=this.removeUnknown(t,e.definition);let r=new ow(e,t);return this.finishScalar(r)}newScalarGreaterThan(e,t){let n=e instanceof kw;if(t instanceof kw&&!n)return this.newScalarLessThan(t,e);e=this.removeUnknown(e,t.definition),t=this.removeUnknown(t,e.definition);let r=new rw(e,t);return this.finishScalar(r)}newScalarGreaterThanOrEqual(e,t){let n=e instanceof kw;if(t instanceof kw&&!n)return this.newScalarLessThanOrEqual(t,e);e=this.removeUnknown(e,t.definition),t=this.removeUnknown(t,e.definition);let r=new iw(e,t);return this.finishScalar(r)}newScalarIn(e,t){t.definition.type===`array`&&(e=this.removeUnknown(e,t.definition.definition));let n={type:`array`,isNullable:!0,definition:e.definition};t=this.removeUnknown(t,n);let r=new xw(e,t);return this.finishScalar(r)}newScalarNotIn(e,t){t.definition.type===`array`&&(e=this.removeUnknown(e,t.definition.definition));let n={type:`array`,isNullable:!0,definition:e.definition};t=this.removeUnknown(t,n);let r=new Ow(e,t);return this.finishScalar(r)}newScalarCase(e,t,n){if(e){let n=[];for(let{when:r,then:i}of t){let t=new VC(this.removeUnknown(r,e.definition),i);n.push(t)}t=n}let r=new HC(e,t,n);return this.finishScalar(r)}newScalarContains(e,t){let n=new $C(e,t);return this.finishScalar(n)}newScalarStartsWith(e,t){let n=new uw(e,t);return this.finishScalar(n)}newScalarEndsWith(e,t){let n=new tw(e,t);return this.finishScalar(n)}newScalarLength(e){let t=new Tw(e);return this.finishScalar(t)}newScalarIndexOf(e,t){let n=new Cw(e,t);return this.finishScalar(n)}newScalarArray(e,t,n,r,i){let a=new _w(e,t,n,r,i);return this.finishScalar(a)}newScalarFlatArray(e,t,n,r,i){let a=new yw(e,t,n,r,i);return this.finishScalar(a)}newScalarIntersection(e,t){let n=new ww(e,t);return this.finishScalar(n)}newScalarCast(e,t){if(e.definition.type===t.type)return e;let n=new vw(e,t);return this.finishScalar(n)}},jw=class extends SC{},Mw=class e extends jw{constructor(e,t,n){super(!1),this.input=e,this.fields=t,this.resolver=n,L(this,`inputGroup`),this.inputGroup=e.getGroup()}getHash(){return K(`EnforcerResolve`,this.inputGroup.id,this.fields)}getOutputFields(){return this.inputGroup.relational.outputFields}canProvideOrdering(){return!0}canProvideResolvedFields(e){return e.subsetOf(this.fields)}getInputRequiredProps(e){let t=new $;return new MC(e.ordering,t)}optimize(e,t){let n=this.getInputRequiredProps(t),r=e.optimizeGroup(this.inputGroup,n);return Q.estimate(0,100*vC).add(r)}getOptimized(t){let n=this.getInputRequiredProps(t);return new e(this.inputGroup.getOptimized(n),this.fields,this.resolver)}*evaluate(e){let t=yield*this.input.evaluate(e);V(this.fields.subsetOf(t.fields),`Fields can't be resolved`);let n=new Set;for(let e of this.fields)V(e.collection,`Collection required to resolve field`),n.add(e.collection);for(let e of t.tuples)for(let t of this.fields){let n=e.getValue(t);n?.type===`richtext`?this.resolver.preloadRichTextValue(n):n?.type===`vectorsetitem`&&this.resolver.preloadVectorSetItemValue(n)}let r=yield Promise.all(Array.from(n).map(async e=>{let n=[];for(let r of t.tuples){let t=r.getPointer(e);t&&n.push(t)}let r=await e.data.resolveItems(n);return V(r.length===n.length,`Invalid number of items`),[e,r]}));return t.map(t.fields,e=>{let t=new PC;t.merge(e);for(let[n,i]of r){let r=e.getPointer(n);if(!r)continue;let a=i.shift();V(a,`Item not found`),V(a.pointer===r,`Pointer mismatch`);for(let e of n.fields){let n=e.getValue(a);t.addValue(e,n)}}return t})}},Nw={type:0},Pw=class e extends jw{constructor(e,t){super(e.isSynchronous),this.input=e,this.ordering=t,L(this,`inputGroup`),this.inputGroup=e.getGroup()}getHash(){return K(`EnforcerSort`,this.inputGroup.id,this.ordering)}getOutputFields(){return this.inputGroup.relational.outputFields}canProvideOrdering(e){return e.equals(this.ordering)}canProvideResolvedFields(){return!0}getInputRequiredProps(e){let t=new $(e.resolvedFields);for(let{field:e}of this.ordering.fields)e.name!==wC&&($e(e.collection)||t.add(e));return new MC(new jC,t)}optimize(e,t){let n=this.getInputRequiredProps(t),r=e.optimizeGroup(this.inputGroup,n);return new Q(0).add(r)}getOptimized(t){let n=this.getInputRequiredProps(t);return new e(this.inputGroup.getOptimized(n),this.ordering)}*evaluate(e){return(yield*this.input.evaluate(e)).sort((e,t)=>{for(let{field:n,direction:r}of this.ordering.fields){let i=r===`asc`;if(n.name===wC){let r=n.collection;V(r,`Collection required for sorting`);let a=e.getPointer(r);V(a,`Pointer required for sorting`);let o={pointer:a,data:{}},s=t.getPointer(r);V(s,`Pointer required for sorting`);let c={pointer:s,data:{}},l=r.data.compareItems(o,c);return i?l:-l}let a=e.getValue(n),o=t.getValue(n);if(!Z.equal(a,o,Nw)){if(et(a)||Z.lessThan(a,o,Nw))return i?-1:1;if(et(o)||Z.greaterThan(a,o,Nw))return i?1:-1;throw Error(`Invalid comparison`)}}return 0})}},Fw=class{constructor(e,t,n){this.query=e,this.locale=t,this.resolver=n,L(this,`memo`,new pw),L(this,`normalizer`,new Aw(this.memo)),L(this,`explorer`,new dw(this.normalizer))}optimize(){let e=new UC(this.normalizer,this.query,this.locale).build(),t=e.takeNode().getGroup(),n=e.getRequiredProps();return this.optimizeGroup(t,n),[t.getOptimized(n),e.getNamedFields()]}optimizeGroup(e,t){let n=e.getWinner(t);if(n.node)return n.cost;let r=e.nodes[0];V(r,`Normalized node not found`),this.createEnforcer(n,r,t);for(let r of e.nodes){if(t.canProvide(r)){let e=r.optimize(this,t);n.update(r,e)}t.isMinimal&&this.explorer.explore(r)}return n.cost}createEnforcer(e,t,n){if(n.resolvedFields.size>0){let r=new Mw(t,n.resolvedFields,this.resolver),i=r.optimize(this,n);e.update(r,i)}if(n.ordering.length>0){let r=new Pw(t,n.ordering),i=r.optimize(this,n);e.update(r,i)}}},Iw=qu(`query-engine`),Lw=class{async evalQuery(e,t,n){Iw.enabled&&Iw.debug(`Query:
${hf(e)}`);let r=new CC(e,t),[i,a]=new Fw(e,t,r).optimize(),o=await i.evaluateAsync(),s=Object.entries(a),c=[],l=Xu(Zu(o.tuples.map(e=>{let t={},i={};for(let[a,o]of s){let s=e.getValue(o);t[a]=r.resolveValue(s),n&&(i[a]=s)}return n&&c.push(i),G(t)})));return n?[at(l)?await l:l,c]:l}async serializeableQuery(e,t){return this.evalQuery(e,t,!0)}async query(e,t){return this.evalQuery(e,t,!1)}resolveSerializableQueryResult(e,t,n){let r=new CC(t,n);return Xu(Zu(e.map(e=>{let t={},n;for(n in e){let i=e[n];t[n]=r.resolveValue(i)}return G(t)})))}},Rw=(()=>Yh.QueryCache)(),zw=class{constructor(e,t=1/0){this.queryEngine=e,this.maxSize=t,L(this,`cache`,new Map),L(this,`serializedCache`,Qh===void 0?void 0:new Map)}prune(){if(!(this.cache.size<=this.maxSize))for(let[e,t]of this.cache){if(this.cache.size<=this.maxSize)break;t.state!==`pending`&&(this.cache.delete(e),this.serializedCache?.delete(e))}}get(e,t){let n=vf(e,t),r=this.cache.get(n);if(r){if(this.cache.delete(n),this.cache.set(n,r),Qh!==void 0&&this.serializedCache!==void 0&&!Id(n)&&r.state===`fulfilled`){let e=this.serializedCache.get(n);e!==void 0&&Qh.set(Rw,n,e)}return r}let i=new Fh(()=>{let r=Id(n),i=r?void 0:sn(Rw,n);if(i)try{return this.queryEngine.resolveSerializableQueryResult(i,e,t)}catch(e){an(e,n)}return Qh!==void 0&&!r?this.queryEngine.serializeableQuery(e,t).then(([e,t])=>(this.serializedCache?.set(n,t),Qh.set(Rw,n,t),e)):this.queryEngine.query(e,t)});return this.cache.set(n,i),this.prune(),i}},Bw=new zw(new Lw),Vw=`style[data-framer-breakpoint-css]`,Hw=`page`,Uw=Symbol(`cycle`),Kw=(()=>{let e=i(void 0);return e.displayName=`TickerContext`,e})(),qw=h.createContext(void 0),Jw=()=>h.useContext(qw),Yw={Arial:{Regular:{selector:`Arial`,weight:void 0},Black:{selector:`Arial-Black`,weight:void 0},Narrow:{selector:`Arial Narrow`,weight:void 0},"Rounded Bold":{selector:`Arial Rounded MT Bold`,weight:void 0}},Avenir:{Book:{selector:`Avenir`,weight:void 0},Light:{selector:`Avenir-Light`,weight:void 0},Medium:{selector:`Avenir-Medium`,weight:void 0},Heavy:{selector:`Avenir-Heavy`,weight:void 0},Black:{selector:`Avenir-Black`,weight:void 0}},"Avenir Next":{Regular:{selector:`Avenir Next`,weight:void 0},"Ultra Light":{selector:`AvenirNext-UltraLight`,weight:void 0},Medium:{selector:`AvenirNext-Medium`,weight:void 0},"Demi Bold":{selector:`AvenirNext-DemiBold`,weight:void 0},Heavy:{selector:`AvenirNext-Heavy`,weight:void 0}},"Avenir Next Condensed":{Regular:{selector:`Avenir Next Condensed`,weight:void 0},"Ultra Light":{selector:`AvenirNextCondensed-UltraLight`,weight:void 0},Medium:{selector:`AvenirNextCondensed-Medium`,weight:void 0},"Demi Bold":{selector:`AvenirNextCondensed-DemiBold`,weight:void 0},Heavy:{selector:`AvenirNextCondensed-Heavy`,weight:void 0}},Baskerville:{Regular:{selector:`Baskerville`,weight:void 0},"Semi Bold":{selector:`Baskerville-SemiBold`,weight:void 0}},"Bodoni 72":{Book:{selector:`Bodoni 72`,weight:void 0},Oldstyle:{selector:`Bodoni 72 Oldstyle`,weight:void 0},Smallcaps:{selector:`Bodoni 72 Smallcaps`,weight:void 0}},Courier:{Regular:{selector:`Courier`,weight:void 0}},"Courier New":{Regular:{selector:`Courier New`,weight:void 0}},Futura:{Medium:{selector:`Futura`,weight:void 0},Condensed:{selector:`Futura-CondensedMedium`,weight:void 0},"Condensed ExtraBold":{selector:`Futura-CondensedExtraBold`,weight:void 0}},Georgia:{Regular:{selector:`Georgia`,weight:void 0}},"Gill Sans":{Regular:{selector:`Gill Sans`,weight:void 0},Light:{selector:`GillSans-Light`,weight:void 0},SemiBold:{selector:`GillSans-SemiBold`,weight:void 0},UltraBold:{selector:`GillSans-UltraBold`,weight:void 0}},Helvetica:{Regular:{selector:`Helvetica`,weight:void 0},Light:{selector:`Helvetica-Light`,weight:void 0},Bold:{selector:`Helvetica-Bold`,weight:void 0},Oblique:{selector:`Helvetica-Oblique`,weight:void 0},"Light Oblique":{selector:`Helvetica-LightOblique`,weight:void 0},"Bold Oblique":{selector:`Helvetica-BoldOblique`,weight:void 0}},"Helvetica Neue":{Regular:{selector:`Helvetica Neue`,weight:void 0},UltraLight:{selector:`HelveticaNeue-UltraLight`,weight:void 0},Thin:{selector:`HelveticaNeue-Thin`,weight:void 0},Light:{selector:`HelveticaNeue-Light`,weight:void 0},Medium:{selector:`HelveticaNeue-Medium`,weight:void 0},Bold:{selector:`HelveticaNeue-Bold`,weight:void 0},Italic:{selector:`HelveticaNeue-Italic`,weight:void 0},"UltraLight Italic":{selector:`HelveticaNeue-UltraLightItalic`,weight:void 0},"Thin Italic":{selector:`HelveticaNeue-ThinItalic`,weight:void 0},"Light Italic":{selector:`HelveticaNeue-LightItalic`,weight:void 0},"Medium Italic":{selector:`HelveticaNeue-MediumItalic`,weight:void 0},"Bold Italic":{selector:`HelveticaNeue-BoldItalic`,weight:void 0},"Condensed Bold":{selector:`HelveticaNeue-CondensedBold`,weight:void 0},"Condensed Black":{selector:`HelveticaNeue-CondensedBlack`,weight:void 0}},"Hoefler Text":{Regular:{selector:`Hoefler Text`,weight:void 0}},Impact:{Regular:{selector:`Impact`,weight:void 0}},"Lucida Grande":{Regular:{selector:`Lucida Grande`,weight:void 0}},Menlo:{Regular:{selector:`Menlo`,weight:void 0}},Monaco:{Regular:{selector:`Monaco`,weight:void 0}},Optima:{Regular:{selector:`Optima`,weight:void 0},ExtraBlack:{selector:`Optima-ExtraBlack`,weight:void 0}},Palatino:{Regular:{selector:`Palatino`,weight:void 0}},"SF Pro Display":{Regular:{selector:`__SF-UI-Display-Regular__`,weight:400},Ultralight:{selector:`__SF-UI-Display-Ultralight__`,weight:100},Thin:{selector:`__SF-UI-Display-Thin__`,weight:200},Light:{selector:`__SF-UI-Display-Light__`,weight:300},Medium:{selector:`__SF-UI-Display-Medium__`,weight:500},Semibold:{selector:`__SF-UI-Display-Semibold__`,weight:600},Bold:{selector:`__SF-UI-Display-Bold__`,weight:700},Heavy:{selector:`__SF-UI-Display-Heavy__`,weight:800},Black:{selector:`__SF-UI-Display-Black__`,weight:900},Italic:{selector:`__SF-UI-Display-Italic__`,weight:400},"Ultralight Italic":{selector:`__SF-UI-Display-Ultralight-Italic__`,weight:100},"Thin Italic":{selector:`__SF-UI-Display-Thin-Italic__`,weight:200},"Light Italic":{selector:`__SF-UI-Display-Light-Italic__`,weight:300},"Medium Italic":{selector:`__SF-UI-Display-Medium-Italic__`,weight:500},"Semibold Italic":{selector:`__SF-UI-Display-Semibold-Italic__`,weight:600},"Bold Italic":{selector:`__SF-UI-Display-Bold-Italic__`,weight:700},"Heavy Italic":{selector:`__SF-UI-Display-Heavy-Italic__`,weight:800},"Black Italic":{selector:`__SF-UI-Display-Black-Italic__`,weight:900}},"SF Pro Display Condensed":{Regular:{selector:`__SF-UI-Display-Condensed-Regular__`,weight:400},Ultralight:{selector:`__SF-UI-Display-Condensed-Ultralight__`,weight:100},Thin:{selector:`__SF-UI-Display-Condensed-Thin__`,weight:200},Light:{selector:`__SF-UI-Display-Condensed-Light__`,weight:300},Medium:{selector:`__SF-UI-Display-Condensed-Medium__`,weight:500},Semibold:{selector:`__SF-UI-Display-Condensed-Semibold__`,weight:600},Bold:{selector:`__SF-UI-Display-Condensed-Bold__`,weight:700},Heavy:{selector:`__SF-UI-Display-Condensed-Heavy__`,weight:800},Black:{selector:`__SF-UI-Display-Condensed-Black__`,weight:900}},"SF Pro Text":{Regular:{selector:`__SF-UI-Text-Regular__`,weight:400},Light:{selector:`__SF-UI-Text-Light__`,weight:200},Medium:{selector:`__SF-UI-Text-Medium__`,weight:500},Semibold:{selector:`__SF-UI-Text-Semibold__`,weight:600},Bold:{selector:`__SF-UI-Text-Bold__`,weight:700},Heavy:{selector:`__SF-UI-Text-Heavy__`,weight:800},Italic:{selector:`__SF-UI-Text-Italic__`,weight:400},"Light Italic":{selector:`__SF-UI-Text-Light-Italic__`,weight:200},"Medium Italic":{selector:`__SF-UI-Text-Medium-Italic__`,weight:500},"Semibold Italic":{selector:`__SF-UI-Text-Semibold-Italic__`,weight:600},"Bold Italic":{selector:`__SF-UI-Text-Bold-Italic__`,weight:700},"Heavy Italic":{selector:`__SF-UI-Text-Heavy-Italic__`,weight:800}},"SF Pro Text Condensed":{Regular:{selector:`__SF-UI-Text-Condensed-Regular__`,weight:400},Light:{selector:`__SF-UI-Text-Condensed-Light__`,weight:200},Medium:{selector:`__SF-UI-Text-Condensed-Medium__`,weight:500},Semibold:{selector:`__SF-UI-Text-Condensed-Semibold__`,weight:600},Bold:{selector:`__SF-UI-Text-Condensed-Bold__`,weight:700},Heavy:{selector:`__SF-UI-Text-Condensed-Heavy__`,weight:800}},Tahoma:{Regular:{selector:`Tahoma`,weight:void 0}},Times:{Regular:{selector:`Times`,weight:void 0}},"Times New Roman":{Regular:{selector:`Times New Roman`,weight:void 0}},Trebuchet:{Regular:{selector:`Trebuchet MS`,weight:void 0}},Verdana:{Regular:{selector:`Verdana`,weight:void 0}}},Xw={"__SF-Compact-Display-Regular__":`SFCompactDisplay-Regular|.SFCompactDisplay-Regular`,"__SF-Compact-Display-Ultralight__":`SFCompactDisplay-Ultralight|.SFCompactDisplay-Ultralight`,"__SF-Compact-Display-Thin__":`SFCompactDisplay-Thin|.SFCompactDisplay-Thin`,"__SF-Compact-Display-Light__":`SFCompactDisplay-Light|.SFCompactDisplay-Light`,"__SF-Compact-Display-Medium__":`SFCompactDisplay-Medium|.SFCompactDisplay-Medium`,"__SF-Compact-Display-Semibold__":`SFCompactDisplay-Semibold|.SFCompactDisplay-Semibold`,"__SF-Compact-Display-Heavy__":`SFCompactDisplay-Heavy|.SFCompactDisplay-Heavy`,"__SF-Compact-Display-Black__":`SFCompactDisplay-Black|.SFCompactDisplay-Black`,"__SF-Compact-Display-Bold__":`SFCompactDisplay-Bold|.SFCompactDisplay-Bold`,"__SF-UI-Text-Regular__":`.SFNSText|SFProText-Regular|SFUIText-Regular|.SFUIText`,"__SF-UI-Text-Light__":`.SFNSText-Light|SFProText-Light|SFUIText-Light|.SFUIText-Light`,"__SF-UI-Text-Medium__":`.SFNSText-Medium|SFProText-Medium|SFUIText-Medium|.SFUIText-Medium`,"__SF-UI-Text-Semibold__":`.SFNSText-Semibold|SFProText-Semibold|SFUIText-Semibold|.SFUIText-Semibold`,"__SF-UI-Text-Bold__":`.SFNSText-Bold|SFProText-Bold|SFUIText-Bold|.SFUIText-Bold`,"__SF-UI-Text-Heavy__":`.SFNSText-Heavy|SFProText-Heavy|.SFUIText-Heavy`,"__SF-UI-Text-Italic__":`.SFNSText-Italic|SFProText-Italic|SFUIText-Italic|.SFUIText-Italic`,"__SF-UI-Text-Light-Italic__":`.SFNSText-LightItalic|SFProText-LightItalic|SFUIText-LightItalic|.SFUIText-LightItalic`,"__SF-UI-Text-Medium-Italic__":`.SFNSText-MediumItalic|SFProText-MediumItalic|SFUIText-MediumItalic|.SFUIText-MediumItalic`,"__SF-UI-Text-Semibold-Italic__":`.SFNSText-SemiboldItalic|SFProText-SemiboldItalic|SFUIText-SemiboldItalic|.SFUIText-SemiboldItalic`,"__SF-UI-Text-Bold-Italic__":`.SFNSText-BoldItalic|SFProText-BoldItalic|SFUIText-BoldItalic|.SFUIText-BoldItalic`,"__SF-UI-Text-Heavy-Italic__":`.SFNSText-HeavyItalic|SFProText-HeavyItalic|.SFUIText-HeavyItalic`,"__SF-Compact-Text-Regular__":`SFCompactText-Regular|.SFCompactText-Regular`,"__SF-Compact-Text-Light__":`SFCompactText-Light|.SFCompactText-Light`,"__SF-Compact-Text-Medium__":`SFCompactText-Medium|.SFCompactText-Medium`,"__SF-Compact-Text-Semibold__":`SFCompactText-Semibold|.SFCompactText-Semibold`,"__SF-Compact-Text-Bold__":`SFCompactText-Bold|.SFCompactText-Bold`,"__SF-Compact-Text-Heavy__":`SFCompactText-Heavy|.SFCompactText-Heavy`,"__SF-Compact-Text-Italic__":`SFCompactText-Italic|.SFCompactText-Italic`,"__SF-Compact-Text-Light-Italic__":`SFCompactText-LightItalic|.SFCompactText-LightItalic`,"__SF-Compact-Text-Medium-Italic__":`SFCompactText-MediumItalic|.SFCompactText-MediumItalic`,"__SF-Compact-Text-Semibold-Italic__":`SFCompactText-SemiboldItalic|.SFCompactText-SemiboldItalic`,"__SF-Compact-Text-Bold-Italic__":`SFCompactText-BoldItalic|.SFCompactText-BoldItalic`,"__SF-Compact-Text-Heavy-Italic__":`SFCompactText-HeavyItalic|.SFCompactText-HeavyItalic`,"__SF-UI-Display-Condensed-Regular__":`.SFNSDisplayCondensed-Regular|SFUIDisplayCondensed-Regular|.SFUIDisplayCondensed-Regular`,"__SF-UI-Display-Condensed-Ultralight__":`.SFNSDisplayCondensed-Ultralight|SFUIDisplayCondensed-Ultralight|.SFUIDisplayCondensed-Ultralight`,"__SF-UI-Display-Condensed-Thin__":`.SFNSDisplayCondensed-Thin|SFUIDisplayCondensed-Thin|.SFUIDisplayCondensed-Thin`,"__SF-UI-Display-Condensed-Light__":`.SFNSDisplayCondensed-Light|SFUIDisplayCondensed-Light|.SFUIDisplayCondensed-Light`,"__SF-UI-Display-Condensed-Medium__":`.SFNSDisplayCondensed-Medium|SFUIDisplayCondensed-Medium|.SFUIDisplayCondensed-Medium`,"__SF-UI-Display-Condensed-Semibold__":`.SFNSDisplayCondensed-Semibold|SFUIDisplayCondensed-Semibold|.SFUIDisplayCondensed-Semibold`,"__SF-UI-Display-Condensed-Bold__":`.SFNSDisplayCondensed-Bold|SFUIDisplayCondensed-Bold|.SFUIDisplayCondensed-Bold`,"__SF-UI-Display-Condensed-Heavy__":`.SFNSDisplayCondensed-Heavy|SFUIDisplayCondensed-Heavy|.SFUIDisplayCondensed-Heavy`,"__SF-UI-Display-Condensed-Black__":`.SFNSDisplayCondensed-Black|.SFUIDisplayCondensed-Black`,"__SF-UI-Display-Regular__":`.SFNSDisplay|SFProDisplay-Regular|SFUIDisplay-Regular|.SFUIDisplay`,"__SF-UI-Display-Ultralight__":`.SFNSDisplay-Ultralight|SFProDisplay-Ultralight|SFUIDisplay-Ultralight|.SFUIDisplay-Ultralight`,"__SF-UI-Display-Thin__":`.SFNSDisplay-Thin|SFProDisplay-Thin|SFUIDisplay-Thin|.SFUIDisplay-Thin`,"__SF-UI-Display-Light__":`.SFNSDisplay-Light|SFProDisplay-Light|SFUIDisplay-Light|.SFUIDisplay-Light`,"__SF-UI-Display-Medium__":`.SFNSDisplay-Medium|SFProDisplay-Medium|SFUIDisplay-Medium|.SFUIDisplay-Medium`,"__SF-UI-Display-Semibold__":`.SFNSDisplay-Semibold|SFProDisplay-Semibold|SFUIDisplay-Semibold|.SFUIDisplay-Semibold`,"__SF-UI-Display-Bold__":`.SFNSDisplay-Bold|SFProDisplay-Bold|SFUIDisplay-Bold|.SFUIDisplay-Bold`,"__SF-UI-Display-Heavy__":`.SFNSDisplay-Heavy|SFProDisplay-Heavy|SFUIDisplay-Heavy|.SFUIDisplay-Heavy`,"__SF-UI-Display-Black__":`.SFNSDisplay-Black|SFProDisplay-Black|.SFUIDisplay-Black`,"__SF-UI-Display-Italic__":`.SFNSDisplay-Italic|SFProDisplay-Italic|SFUIDisplay-Italic`,"__SF-UI-Display-Ultralight-Italic__":`.SFNSDisplay-UltralightItalic|SFProDisplay-UltralightItalic|SFUIDisplay-UltralightItalic|.SFUIDisplay-UltralightItalic`,"__SF-UI-Display-Thin-Italic__":`.SFNSDisplay-ThinItalic|SFProDisplay-ThinItalic|SFUIDisplay-ThinItalic|.SFUIDisplay-ThinItalic`,"__SF-UI-Display-Light-Italic__":`.SFNSDisplay-LightItalic|SFProDisplay-LightItalic|SFUIDisplay-LightItalic|.SFUIDisplay-LightItalic`,"__SF-UI-Display-Medium-Italic__":`.SFNSDisplay-MediumItalic|SFProDisplay-MediumItalic|SFUIDisplay-MediumItalic|.SFUIDisplay-MediumItalic`,"__SF-UI-Display-Semibold-Italic__":`.SFNSDisplay-SemiboldItalic|SFProDisplay-SemiboldItalic|SFUIDisplay-SemiboldItalic|.SFUIDisplay-SemiboldItalic`,"__SF-UI-Display-Bold-Italic__":`.SFNSDisplay-BoldItalic|SFProDisplay-BoldItalic|SFUIDisplay-BoldItalic|.SFUIDisplay-BoldItalic`,"__SF-UI-Display-Heavy-Italic__":`.SFNSDisplay-HeavyItalic|SFProDisplay-HeavyItalic|SFUIDisplay-HeavyItalic|.SFUIDisplay-HeavyItalic`,"__SF-UI-Display-Black-Italic__":`.SFNSDisplay-BlackItalic|SFProDisplay-BlackItalic|.SFUIDisplay-BlackItalic`,"__SF-UI-Text-Condensed-Regular__":`.SFNSTextCondensed-Regular|SFUITextCondensed-Regular|.SFUITextCondensed-Regular`,"__SF-UI-Text-Condensed-Light__":`.SFNSTextCondensed-Light|SFUITextCondensed-Light|.SFUITextCondensed-Light`,"__SF-UI-Text-Condensed-Medium__":`.SFNSTextCondensed-Medium|SFUITextCondensed-Medium|.SFUITextCondensed-Medium`,"__SF-UI-Text-Condensed-Semibold__":`.SFNSTextCondensed-Semibold|SFUITextCondensed-Semibold|.SFUITextCondensed-Semibold`,"__SF-UI-Text-Condensed-Bold__":`.SFNSTextCondensed-Bold|SFUITextCondensed-Bold|.SFUITextCondensed-Bold`,"__SF-UI-Text-Condensed-Heavy__":`.SFNSTextCondensed-Heavy|.SFUITextCondensed-Heavy`,"__SF-Compact-Rounded-Regular__":`SFCompactRounded-Regular|.SFCompactRounded-Regular`,"__SF-Compact-Rounded-Ultralight__":`SFCompactRounded-Ultralight|.SFCompactRounded-Ultralight`,"__SF-Compact-Rounded-Thin__":`SFCompactRounded-Thin|.SFCompactRounded-Thin`,"__SF-Compact-Rounded-Light__":`SFCompactRounded-Light|.SFCompactRounded-Light`,"__SF-Compact-Rounded-Medium__":`SFCompactRounded-Medium|.SFCompactRounded-Medium`,"__SF-Compact-Rounded-Semibold__":`SFCompactRounded-Semibold|.SFCompactRounded-Semibold`,"__SF-Compact-Rounded-Bold__":`SFCompactRounded-Bold|.SFCompactRounded-Bold`,"__SF-Compact-Rounded-Heavy__":`SFCompactRounded-Heavy|.SFCompactRounded-Heavy`,"__SF-Compact-Rounded-Black__":`SFCompactRounded-Black|.SFCompactRounded-Black`},Zw=Yw,Qw=`System Default`,$w=class{constructor(){L(this,`name`,`local`),L(this,`fontFamilies`,[]),L(this,`byFamilyName`,new Map),L(this,`fontAliasBySelector`,new Map),L(this,`fontAliases`,new Map)}getFontFamilyByName(e){return this.byFamilyName.get(e)??null}createFontFamily(e){let t={name:e,fonts:[],source:this.name};return this.addFontFamily(t),t}addFontFamily(e){this.fontFamilies.push(e),this.byFamilyName.set(e.name,e)}importFonts(){let e=[];for(let t of Object.keys(Zw)){let n=Zw[t];if(!n)continue;let r=this.createFontFamily(t);for(let e of Object.keys(n)){let t=n[e];if(!t)continue;let{selector:i,weight:a}=t,o={variant:e,selector:i,weight:a,family:r,cssFamilyName:r.name};r.fonts.push(o)}e.push(...r.fonts)}for(let[e,t]of Object.entries(Xw))this.addFontAlias(e,t);let{fontFamily:t,aliases:n}=this.getSystemFontFamily();this.addFontFamily(t);for(let[e,t]of n)this.addFontAlias(e,t);return e.push(...t.fonts),e}addFontAlias(e,t){this.fontAliases.set(e,t),this.fontAliasBySelector.set(t,e)}getSystemFontFamily(){let e={name:Qw,fonts:[],source:this.name},t=new Map,n=[400,100,200,300,500,600,700,800,900];for(let r of[`normal`,`italic`])for(let i of n){let n=ip(i,r),a=`__SystemDefault-${i}-${r}__`,o={variant:n,selector:a,style:r,weight:i,family:e,cssFamilyName:e.name};e.fonts.push(o),t.set(a,`system-ui|-apple-system|BlinkMacSystemFont|Segoe UI|Roboto|Oxygen|Ubuntu|Cantarell|Fira Sans|Droid Sans|Helvetica Neue|sans-serif`)}return{fontFamily:e,aliases:t}}getFontAliasBySelector(e){return this.fontAliasBySelector.get(e)||null}getFontSelectorByAlias(e){return this.fontAliases.get(e)||null}isFontFamilyAlias(e){return!!(e&&/^__.*__$/u.exec(e))}},eT={100:`Thin`,200:`Extra Light`,300:`Light`,400:`Normal`,500:`Medium`,600:`Semi Bold`,700:`Bold`,800:`Extra Bold`,900:`Black`},tT=class extends Map{constructor(){super(...arguments),L(this,`_hash`,0)}get hash(){return this._hash}set(e,t){return this._hash++,super.set(e,t)}delete(e){return this._hash++,super.delete(e)}clear(){return this._hash++,super.clear()}},rT=`Variable`,iT=`BI;`,aT=class{constructor(){L(this,`name`,`builtIn`),L(this,`fontFamilies`,[]),L(this,`byFamilyName`,new Map),L(this,`assetByKey`,new Map)}importFonts(e){this.fontFamilies.length=0,this.byFamilyName.clear(),this.assetByKey.clear();let t=[];for(let n of e){if(!this.isValidBuiltInFont(n))continue;let{properties:e}=n,r=e.font.fontFamily,i=this.createFontFamily(r,e.font.foundryName,e.font.fontVersion),a=e.font.openTypeData,o=e.font.variationAxes,s=Array.isArray(o),c=s?`variable`:e.font.fontSubFamily||`regular`,l=lp(n),u={assetKey:n.key,family:i,selector:this.createSelector(r,c,e.font.fontVersion),variant:c,file:l,hasOpenTypeFeatures:fp(a),variationAxes:pp(o),category:e.font.fontCategory,weight:gp(c),style:vp(c),cssFamilyName:up(r,s)};i.fonts.push(u),this.assetByKey.set(n.key,n),t.push(u)}for(let e of this.fontFamilies)e.fonts.sort((e,t)=>{let n=gp(e.variant),r=gp(t.variant);return!n||!r?1:n-r});return t}static parseVariant(e){return{weight:oT[_p(e)],style:vp(e)}}getFontBySelector(e){let t=this.parseSelector(e);if(!t)return;let n=this.getFontFamilyByName(t.name);if(n)return n.fonts.find(t=>t.selector===e)}getFontFamilyByName(e){return this.byFamilyName.get(e)??null}createFontFamily(e,t,n){let r=this.byFamilyName.get(e);if(r&&r.version===n)return r;let i={source:this.name,name:e,fonts:[],foundryName:t,version:n};return this.addFontFamily(i),i}getOpenTypeFeatures(e){V(e.assetKey,`Font must have an asset key`);let t=this.assetByKey.get(e.assetKey)?.properties?.font?.openTypeData;return fp(t)?t?.map(e=>{if(mp(e))return{tag:e.tag,coverage:e.coverage}}):[]}isValidBuiltInFont(e){return!e.mimeType.startsWith(`font/`)||e.properties?.kind!==`font`||!e.properties.font||!e.properties.font.fontVersion||!e.properties.font.fontFamily?!1:`fontFamily`in e.properties.font}createSelector(e,t,n){return`${iT}${e}/${t}/${n}`}parseSelector(e){if(!e.startsWith(iT))return null;let[t,n]=e.split(iT);if(n===void 0)return null;let[r,i,a]=n.split(`/`);return!r||!i||!a?null:{name:r,variant:i,source:this.name,isVariable:i.toLowerCase().includes(`variable`)}}addFontFamily(e){this.fontFamilies.push(e),this.byFamilyName.set(e.name,e)}},oT={ultralight:100,"ultralight-italic":100,thin:200,"thin-italic":200,demi:200,light:300,"light-italic":300,normal:350,base:400,regular:400,classic:400,"regular-slanted":400,italic:400,oblique:400,dense:400,brukt:300,book:400,"book-italic":400,text:400,"text-italic":400,medium:500,solid:500,"medium-oblique":500,"medium-italic":500,mittel:500,semibold:600,"semibold-italic":600,bold:700,"bold-italic":700,"bold-oblique":700,fett:700,ultrabold:800,"ultrabold-italic":800,extrabold:800,"extrabold-italic":800,black:900,extralight:100,"extralight-italic":100,"black-italic":900,"extra-italic":900,"extra-italic-bold":900,satt:900,heavy:900,"heavy-italic":900,serif:100,school:200,expanded:300,gothique:500,"dense-light":200,"dense-regular":300,"dense-medium":400,"dense-bold":500,"solid-light":600,"solid-regular":700,"solid-medium":800,"solid-bold":900,53:400,55:600,"narrow-regular":350,"narrow-black":850,variable:1e3,"variable-italic":1e3},sT=qu(`custom-font-source`),cT=`CUSTOM;`,lT=`CUSTOMV2;`,uT=class e{constructor(){L(this,`name`,`custom`),L(this,`fontFamilies`,[]),L(this,`byFamilyName`,new Map),L(this,`assetsByKey`,new Map)}deprecatedImportFonts(t){this.fontFamilies.length=0,this.byFamilyName.clear(),this.assetsByKey.clear();let n=[];for(let r of t){if(!this.isValidCustomFontAsset(r))continue;let t=r.properties?.font.variationAxes,i=Array.isArray(t),a=Dp(r.properties),o=this.createFontFamily(a),s=r.properties?.font.openTypeData,c=i?`variable`:this.inferVariantName(a),l=lp(r),u=e.createLegacySelector(a),{family:d,variant:f}=Op(r.properties.font),p=e.createSelector(d,f),m={assetKey:r.key,family:o,selector:u,variant:c,file:l,hasOpenTypeFeatures:fp(s),variationAxes:pp(t),owner:jp(r),cssFamilyName:e.cssFontFamilyFromSelector(u),alternativeSelectors:{[p]:{variant:f,cssFamilyName:e.cssFontFamilyFromSelector(p)}}};o.fonts.push(m),this.assetsByKey.set(r.key,r),n.push(...o.fonts)}return n}importFonts(t,n){if(!n)return this.deprecatedImportFonts(t);this.fontFamilies.length=0,this.byFamilyName.clear(),this.assetsByKey.clear();let r={};for(let n of t){if(!this.isValidCustomFontAsset(n))continue;let{family:t,variant:i,weight:a,style:o}=Op(n.properties.font),s=n.properties.font.variationAxes,c=Array.isArray(s),l=n.properties.font.openTypeData,u=lp(n),d=jp(n),f=Dp(n.properties),p=e.createLegacySelector(f),m=this.createFontFamily(t),h=e.createSelector(m.name,i),g={assetKey:n.key,family:m,selector:h,variant:i,weight:a,style:o,file:u,hasOpenTypeFeatures:fp(l),variationAxes:pp(s),owner:d,alternativeSelectors:{[p]:{variant:c?`variable`:this.inferVariantName(f),cssFamilyName:e.cssFontFamilyFromSelector(p)}},cssFamilyName:e.cssFontFamilyFromSelector(h)},_=Ep(m.fonts,g);if(_?.projectDuplicate)g.owner===`project`&&(m.fonts[_.index]=g,r[h]=g);else if(_){sT.debug(`Duplicate font found for:`,g,`with existing font:`,_.existingFont);let e=_.existingFont,t=g.file?.endsWith(`.woff2`)??!1,n=e.file?.endsWith(`.woff2`)??!1;t&&!n&&(m.fonts[_.index]=g,r[h]=g)}else m.fonts.push(g),r[h]=g;this.assetsByKey.set(n.key,n)}for(let e of this.fontFamilies)e.fonts.length>0&&Ap(e);return Object.values(r)}static createSelector(e,t){return`${lT}${e}${t?` ${t}`:``}`}static createLegacySelector(e){return`${cT}${e}`}static cssFontFamilyFromSelector(e){return V(Cp(e),`Selector must be a custom font selector`),Tp(e)?e.slice(cT.length):e.slice(lT.length)}isValidCustomFontAsset(e){return!e.mimeType.startsWith(`font/`)||e.properties?.kind!==`font`||!e.properties.font?!1:`fontFamily`in e.properties.font}getOpenTypeFeatures(e){V(e.assetKey,`Font must have an asset key`);let t=this.assetsByKey.get(e.assetKey)?.properties?.font?.openTypeData;return fp(t)?t?.map(e=>{if(mp(e))return{tag:e.tag,coverage:e.coverage}}):[]}inferVariantName(e){let t=[`thin`,`ultra light`,`extra light`,`light`,`normal`,`medium`,`semi bold`,`bold`,`extra bold`,`black`],n=[...t.map(e=>`${e} italic`),...t],r=e.toLowerCase(),i=[...r.split(` `),...r.split(`-`),...r.split(`_`)],a=n.find(e=>i.includes(e)||i.includes(e.replace(/\s+/gu,``)));return a?a.replace(/^\w|\s\w/gu,e=>e.toUpperCase()):`Regular`}createFontFamily(e){let t=this.byFamilyName.get(e);if(t)return t;let n={source:this.name,name:e,fonts:[]};return this.addFontFamily(n),n}addFontFamily(e){this.fontFamilies.push(e),this.byFamilyName.set(e.name,e)}getFontFamilyByName(e){return this.byFamilyName.get(e)||null}},dT=[`display`,`sans`,`serif`,`slab`,`handwritten`,`script`],fT=`FS;`,pT={thin:100,hairline:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,ultra:800,black:900,heavy:900},mT=Object.keys(pT),hT=(()=>RegExp(`^(?:${[...mT,`italic`,`variable`].join(`|`)})`,`u`))(),gT=class e{constructor(){L(this,`name`,`fontshare`),L(this,`fontFamilies`,[]),L(this,`byFamilyName`,new Map)}getFontFamilyByName(e){return this.byFamilyName.get(e)??null}static parseVariant(e){let t=e.toLowerCase().split(` `),n=mT.find(e=>t.includes(e)),r=e.toLowerCase().includes(`italic`)?`italic`:`normal`;return{weight:n&&pT[n]||400,style:r===`italic`?r:`normal`}}parseSelector(e){if(!e.startsWith(fT))return null;let t=e.split(`-`);if(t.length!==2)return null;let[n,r]=t;return!n||!r?null:{name:n.replace(fT,``),variant:r,source:this.name,isVariable:r.toLowerCase().includes(`variable`)}}static createSelector(e,t){return`${fT}${e}-${t.toLowerCase()}`}static createMetadataSelector(e){return`${fT}${e}`}addFontFamily(e){this.fontFamilies.push(e),this.byFamilyName.set(e.name,e)}async importFonts(t,n){this.fontFamilies.length=0,this.byFamilyName.clear();let r=await Mp(`fontshare`),i=[];for(let a of t){let t=a.font_styles.filter(e=>{let t=e.name.toLowerCase();return!(!hT.exec(t)||t.split(` `).includes(`wide`))}).map(t=>({...e.parseVariant(t.name),selector:e.createSelector(a.name,t.name),isVariable:t.is_variable,fontshareVariantName:t.name,file:t.file})),o=e.createMetadataSelector(a.name),s=n?.[o],c=a.name,l=this.getFontFamilyByName(c);l||(l={name:c,fonts:[],source:this.name},this.addFontFamily(l));let u=r[e.createMetadataSelector(a.name)];for(let e of t){let{variantBold:n,variantBoldItalic:r,variantItalic:o,variantVariable:c,variantVariableItalic:d}=yp(e,t),f={family:l,variant:e.fontshareVariantName.toLowerCase(),selector:e.selector,selectorBold:n?.selector,selectorBoldItalic:r?.selector,selectorItalic:o?.selector,selectorVariable:c?.selector,selectorVariableItalic:d?.selector,weight:e.weight,style:e.style,file:e.file,category:Ip(a.category),hasOpenTypeFeatures:u,variationAxes:e.isVariable?s:void 0,cssFamilyName:up(l.name,e.isVariable)};l.fonts.push(f),i.push(f)}}return i}async getOpenTypeFeatures(t){return(await Np(`fontshare`))[e.createMetadataSelector(t.family.name)]}},_T=`Inter`,vT=`FR;`,yT={Thin:100,ExtraLight:200,Light:300,"":400,Medium:500,SemiBold:600,Bold:700,ExtraBold:800,Black:900},bT=class e{constructor(){L(this,`name`,`framer`),L(this,`fontFamilies`,[]),L(this,`byFamilyName`,new Map)}getFontFamilyByName(e){return this.byFamilyName.get(e)??null}addFontFamily(e){let t={name:e,fonts:[],source:this.name};return this.fontFamilies.push(t),this.byFamilyName.set(t.name,t),t}static getDraftFontPropertiesBySelector(e){if(!e.startsWith(vT)&&!e.startsWith(_T))return null;let[t,n=``]=e.split(`-`);if(!t)return null;let r=n.includes(`Italic`)?`italic`:`normal`,i=n.replace(`Italic`,``);return{cssFamilyName:t,style:r,weight:i&&yT[i]||400,source:`framer`,variant:void 0,category:`sans-serif`}}static createMetadataSelector(e){return`${vT}${e}`}importFonts(t,n){this.fontFamilies.length=0,this.byFamilyName.clear();let r=[];return t.forEach(t=>{let{uiFamilyName:i,...a}=t,o=e.createMetadataSelector(t.uiFamilyName),s=n?.[o],c=this.getFontFamilyByName(i);c||=this.addFontFamily(i);let l=t.selector===t.selectorVariable||t.selector===t.selectorVariableItalic,u={...a,family:c,variationAxes:l?s:void 0};c.fonts.push(u),r.push(u)}),r}async getOpenTypeFeatures(t){return(await Np(`framer`))[e.createMetadataSelector(t.family.name)]}},xT=`GF;`,ST=class e{constructor(){L(this,`name`,`google`),L(this,`fontFamilies`,[]),L(this,`byFamilyName`,new Map)}getFontFamilyByName(e){return this.byFamilyName.get(e)??null}static parseVariant(e){if(e===`regular`)return{style:`normal`,weight:400};let t=/(\d*)(normal|italic)?/u.exec(e);return t?{weight:parseInt(t[1]||`400`),style:t[2]===`italic`?`italic`:`normal`}:{}}parseSelector(e){if(!e.startsWith(xT))return null;let t=e.includes(`-variable-`),n=t?e.split(`-variable-`):e.split(`-`);if(n.length!==2)return null;let[r,i]=n;return!r||!i?null:{name:r.replace(xT,``),variant:i,source:this.name,isVariable:t}}static createSelector(e,t,n){return`${xT}${e}-${n?`variable-`:``}${t}`}static createMetadataSelector(e){return`${xT}${e}`}addFontFamily(e){let t={name:e,fonts:[],source:this.name};return this.fontFamilies.push(t),this.byFamilyName.set(t.name,t),t}async importFonts(t,n,r){this.fontFamilies.length=0,this.byFamilyName.clear();let i=await Mp(`google`),a=[],o=Rp(t,e=>e.family),s=Rp(n,e=>e.family);for(let t in o){let n=o[t];if(!n)continue;let c=this.getFontFamilyByName(n.family);c||=this.addFontFamily(n.family);let l=n.variants.map(r=>({...e.parseVariant(r),googleFontsVariantName:r,selector:e.createSelector(t,r,!1),isVariable:!1,file:n.files[r]})),u=s[t],d=u?.axes?u.variants.map(n=>({...e.parseVariant(n),googleFontsVariantName:n,selector:e.createSelector(t,n,!0),isVariable:!0,file:u.files[n]})):[],f=e.createMetadataSelector(n.family),p=r?.[f],m=[...l,...d],h=m.filter(rp),g=i[e.createMetadataSelector(t)];for(let e of m){let{weight:t,style:r,selector:i,googleFontsVariantName:o}=e,{variantBold:s,variantItalic:l,variantBoldItalic:u,variantVariable:d,variantVariableItalic:f}=(rp(e)?yp(e,h):void 0)??{},m={family:c,variant:o,selector:i,selectorBold:s?.selector,selectorBoldItalic:u?.selector,selectorItalic:l?.selector,selectorVariable:d?.selector,selectorVariableItalic:f?.selector,weight:t,style:r,category:Lp(n.category),file:e.file?.replace(`http://`,`https://`),variationAxes:e.isVariable?p:void 0,hasOpenTypeFeatures:g,cssFamilyName:up(c.name,e.isVariable)};c.fonts.push(m),a.push(m)}}return a}async getOpenTypeFeatures(t){return(await Np(`google`))[e.createMetadataSelector(t.family.name)]}},CT=Fe(ph(),1),wT=5e3,TT=3,ET=class extends Error{constructor(e){super(e),this.name=`FontLoadingError`}},DT=new Map,OT=new Map,kT=(e,t)=>zp(e,t),AT={"FR;Inter":[{tag:`opsz`,minValue:14,maxValue:32,defaultValue:14,name:`Optical size`},{tag:`wght`,minValue:100,maxValue:900,defaultValue:400,name:`Weight`}]},jT=class{constructor(){L(this,`enabled`,!1),L(this,`bySelector`,new tT),L(this,`loadedSelectors`,new Set),L(this,`getGoogleFontsListPromise`),L(this,`getFontshareFontsListPromise`),L(this,`getBuiltInFontsListPromise`),L(this,`customFontsImportPromise`,new Promise(e=>{this.resolveCustomFontsImportPromise=e})),L(this,`local`),L(this,`google`),L(this,`fontshare`),L(this,`builtIn`),L(this,`framer`),L(this,`custom`),L(this,`bySelectorValuesCache`),L(this,`testing`,{addFont:this.addFont.bind(this)}),this.local=new $w,this.google=new ST,this.fontshare=new gT,this.framer=new bT,this.custom=new uT,this.builtIn=new aT,this.importLocalFonts()}get hash(){return this.bySelector.hash}addFont(e){if(this.bySelector.set(e.selector,e),e.alternativeSelectors)for(let t of Object.keys(e.alternativeSelectors))this.bySelector.set(t,e)}getAvailableFonts(){if(!this.bySelectorValuesCache||this.bySelectorValuesCache.hash!==this.bySelector.hash){let e=new Map;for(let t of this.bySelector.values())e.set(t,!0);this.bySelectorValuesCache={result:Array.from(e.keys()),hash:this.bySelector.hash}}return this.bySelectorValuesCache.result}importLocalFonts(){for(let e of this.local.importFonts())this.addFont(e),this.loadFont(e.selector)}async importGoogleFonts(){return this.getGoogleFontsListPromise||=Promise.resolve().then(async()=>{let{staticFonts:e,variableFonts:t}=await Ny.fetchGoogleFontsList(),n=await Vp(`google`);for(let r of await this.google.importFonts(e,t,n))this.addFont(r);return{staticFonts:e,variableFonts:t}}),this.getGoogleFontsListPromise}async importFontshareFonts(){if(!this.getFontshareFontsListPromise){this.getFontshareFontsListPromise=Ny.fetchFontshareFontsList();let e=await this.getFontshareFontsListPromise,t=await Vp(`fontshare`);for(let n of await this.fontshare.importFonts(e,t))this.addFont(n)}return this.getFontshareFontsListPromise}async importBuiltInFonts(){if(!this.getBuiltInFontsListPromise){this.getBuiltInFontsListPromise=Ny.fetchBuiltInFontsList();let e=await this.getBuiltInFontsListPromise;for(let t of await this.builtIn.importFonts(e))this.addFont(t)}return this.getBuiltInFontsListPromise}importFramerFonts(e){let t=Vp(`framer`);this.framer.importFonts(e,t).forEach(e=>{this.addFont(e)})}importCustomFonts(e,t){this.bySelector.forEach((e,t)=>{Cp(t)&&this.bySelector.delete(t)});let n=this.custom.importFonts(e,t);for(let e of n)this.addFont(e);this.resolveCustomFontsImportPromise()}getCustomFontsImportPromise(){return this.customFontsImportPromise}getFontFamily(e){return this[e.source].getFontFamilyByName(e.name)}getFontBySelector(e){if(!e)return;let t;if(t=this.bySelector.get(e),t)return t.alternativeSelectors&&e in t.alternativeSelectors?{...t,...t.alternativeSelectors[e]}:t}getDraftPropertiesBySelector(e){let t=this.getFontBySelector(e);if(t)return{style:t.style,weight:t.weight,variant:t.variant,cssFamilyName:t.cssFamilyName,source:t.family.source,category:t.category};let n=this.google.parseSelector(e);if(n){let e=ST.parseVariant(n.variant);if(rp(e))return{style:e.style,weight:e.weight,variant:n.variant,cssFamilyName:dp(n,`google`),source:`google`,category:void 0}}let r=this.fontshare.parseSelector(e);if(r){let e=gT.parseVariant(r.variant);if(rp(e))return{style:e.style,weight:e.weight,variant:r.variant,cssFamilyName:dp(r,`fontshare`),source:`fontshare`,category:void 0}}let i=this.builtIn.parseSelector(e);if(i){let e=aT.parseVariant(i.variant);if(rp(e))return{style:e.style,weight:e.weight,variant:i.variant,cssFamilyName:dp(i,`builtIn`),source:`builtIn`,category:void 0}}return bT.getDraftFontPropertiesBySelector(e)||null}isSelectorLoaded(e){return this.loadedSelectors.has(e)}async loadFont(e){let t=this.getFontBySelector(e);if(!t)return 2;if(this.loadedSelectors.has(e))return 0;let n=t.cssFamilyName,r=t.family.source,i=Sp(t);switch(r){case`local`:return this.loadedSelectors.add(e),1;case`framer`:if(Ta()||await Bp(t.family.name,t.style,t.weight),i){if(!t.file)return Promise.reject(`Unable to load font: ${e}`);await kT({family:n,url:t.file,weight:t.weight,style:t.style},document)}return this.loadedSelectors.add(e),1;case`google`:case`fontshare`:case`builtIn`:case`custom`:return t.file?(await kT({family:n,url:t.file,weight:t.weight,style:t.style},document),this.loadedSelectors.add(e),1):Promise.reject(`Unable to load font: ${e}`);default:H(r)}}async loadFontsFromSelectors(e){if(!this.enabled)return[];let t=[];e.some(e=>e.startsWith(fT))&&t.push(this.importFontshareFonts().catch(e=>{Kr(`Failed to load Fontshare fonts:`,e)})),e.some(e=>e.startsWith(xT))&&t.push(this.importGoogleFonts().catch(e=>{Kr(`Failed to load Google fonts:`,e)})),e.some(e=>e.startsWith(iT))&&t.push(this.importBuiltInFonts().catch(e=>{Kr(`Failed to load built-in fonts:`,e)})),e.some(Cp)&&t.push(this.customFontsImportPromise.catch(e=>{Kr(`Failed to load custom fonts:`,e)})),t.length>0&&await Promise.all(t);let n=[];for(let t of e)n.push(this.loadFont(t));return Promise.allSettled(n)}async loadFonts(e){return{newlyLoadedFontCount:(await this.loadFontsFromSelectors(e)).filter(e=>e.status===`fulfilled`&&e.value===1).length}}async loadMissingFonts(e,t){let n=e.filter(e=>!MT.loadedSelectors.has(e));n.length!==0&&(await MT.loadWebFontsFromSelectors(n),n.every(e=>MT.loadedSelectors.has(e))&&t&&t())}async loadWebFontsFromSelectors(e){return this.loadFontsFromSelectors(e)}get defaultFont(){let e=this.getFontBySelector(`Inter`);return V(e,`Can’t find Inter font`),e}},MT=new jT,NT=(()=>({x:void 0,y:void 0,z:0,translateX:void 0,translateY:void 0,translateZ:0,rotate:void 0,rotateX:0,rotateY:0,rotateZ:void 0,scale:1,scaleX:1,scaleY:1,scaleZ:1,skew:0,skewX:0,skewY:0,originX:void 0,originY:void 0,originZ:void 0,perspective:0,transformPerspective:0}))(),PT={opacity:0},FT={opacity:1},IT=tm(h.forwardRef(function(e,n){let{background:r,children:i,alt:a,draggable:o,fitImageDimension:s,style:c,...l}=e,d={...c},f=t(()=>po(r),[r]),[p,m]=u();h.useLayoutEffect(()=>{if(!r?.src||!s||f)return;let e=document.createElement(`img`);e.onload=()=>{e.naturalWidth&&e.naturalHeight&&m({width:e.naturalWidth,height:e.naturalHeight})},e.src=r.src},[r?.src,s,f]);let _=f??p;return s&&_&&(d[s]=`auto`,d.aspectRatio=_.width/_.height),r&&delete d.background,w(mo(e.as),{...l,style:d,ref:n,draggable:o,children:[r&&g(so,{image:r,alt:a,draggable:o}),i]})})),RT=(()=>!Sa()&&typeof Document<`u`&&typeof Document.parseHTMLUnsafe==`function`)(),zT=/(<([a-z]+)(?:\s+(?!href[\s=])[^=\s]+=(?:'[^']*'|"[^"]*"))*)(?:(\s+href\s*=)(?:'([^']*)'|"([^"]*)"))?((?:\s+[^=\s]+=(?:'[^']*'|"[^"]*"))*>)/gi,BT=`{{ text-placeholder }}`,VT=`rich-text-wrapper`,HT=Ia(b(function(e,n){let{id:i,name:a,html:o,htmlFromDesign:c,text:l,textFromDesign:u,fonts:d=[],width:f,height:p,left:m,right:h,top:_,bottom:v,center:y,className:b,stylesPresetsClassName:x,visible:S=!0,opacity:w,rotation:T=0,verticalAlignment:E=`top`,isEditable:D=!1,environment:O=Y.current,withExternalLayout:k=!1,positionSticky:ee,positionStickyTop:A,positionStickyRight:j,positionStickyBottom:te,positionStickyLeft:ne,__htmlStructure:re,__fromCanvasComponent:ie=!1,_forwardedOverrideId:oe,_forwardedOverrides:M,_usesDOMRect:se,children:ce,...le}=e,ue=ca(),de=bo(e),fe=r(null),pe=n??fe,{navigate:me,getRoute:he}=Dt(),ge=kt();yn(e.preload??[]),Eo(e,pe);let N=C(Uy),_e=Cl(),P=l,ve=oe??i;if(ve&&M){let e=M[ve];typeof e==`string`&&(P=e)}let ye=``;if(P){let e=rm(P);ye=re?re.replace(BT,e):`<p>${e}</p>`}else if(o)ye=o;else if(u){let e=rm(u);ye=re?re.replace(BT,e):`<p>${e}</p>`}else c&&(ye=c);let be=Wl(),xe=t(()=>_e||!he||!ge?ye:im(ye,he,ge,be),[ye,he,ge,be]);if(s(()=>{let e=pe.current;if(e===null)return;function t(e){let t=Rl(e.target,pe.current);Oa(e)||!me||!t||t.getAttribute(`target`)===`_blank`||kl(me,t,be)&&e.preventDefault()}return e.addEventListener(`click`,t),()=>{e.removeEventListener(`click`,t)}},[me,be]),sm(d,ie,pe),!S)return null;let F=D&&O()===Y.canvas,I={outline:`none`,display:`flex`,flexDirection:`column`,justifyContent:om(E),opacity:F?0:w,flexShrink:0},Se=Y.hasRestrictions(),Ce=aa(e,ue||0,!1),we=se&&(f===`auto`||p===`auto`),Te=e.transformTemplate||!Ce||!Se||ie||we?e.transformTemplate??yo(y):void 0;if(!k){if(Ce&&Se&&!we){let e=v_.getNumber(T).toFixed(4);I.transform=`translate(${Ce.x}px, ${Ce.y}px) rotate(${e}deg)`,I.width=Ce.width,I.minWidth=Ce.width,I.height=Ce.height}else I.left=m,I.right=h,I.top=_,I.bottom=v,I.width=f,I.height=p,I.rotate=T;ee?(!_e||N)&&(I.position=`sticky`,I.willChange=`transform`,I.zIndex=1,I.top=A,I.right=j,I.bottom=te,I.left=ne):_e&&(e.positionFixed||e.positionAbsolute)&&(I.position=`absolute`)}return tc(e,I),Qs(e,I),Object.assign(I,e.style),g(ae.div,{id:i,ref:pe,...le,style:I,layoutId:de,"data-framer-name":a,"data-framer-component-type":`DeprecatedRichText`,"data-center":y,className:ac(b,x,VT),transformTemplate:Te,dangerouslySetInnerHTML:{__html:xe}})})),UT={opacity:1,y:0,x:0,scale:1,rotate:0,rotateX:0,rotateY:0,skewX:0,skewY:0,filter:`none`},WT=(()=>RegExp(`\\p{Regional_Indicator}{2}|\\p{Emoji}\\p{Emoji_Modifier}?\\p{Variation_Selector}?(?:\\u{200d}\\p{Emoji}\\p{Emoji_Modifier}?\\p{Variation_Selector}?)*|.`,`gu`))(),GT=b(function(e,t){return g(`svg`,{...e,ref:t,children:e.children})}),KT=ae.create(GT),qT=b(function({viewBoxScale:e,viewBox:t,children:n,...r},i){return g(KT,{...r,ref:i,viewBox:t,children:g(ae.foreignObject,{width:`100%`,height:`100%`,className:`framer-fit-text`,transform:`scale(${e})`,style:{overflow:`visible`,transformOrigin:`center center`},children:n})})}),JT=[],YT=`RichTextContainer`,XT=b(function(e,n){let{__fromCanvasComponent:i=!1,_forwardedOverrideId:a,_forwardedOverrides:o,_usesDOMRect:s,anchorLinkOffsetY:c,as:l,bottom:u,center:d,children:f,environment:p=Y.current,fonts:m=JT,height:h,isEditable:_=!1,left:v,name:y,opacity:b,positionSticky:x,positionStickyBottom:S,positionStickyLeft:w,positionStickyRight:T,positionStickyTop:E,right:D,rotation:O=0,style:k,_initialStyle:ee,stylesPresetsClassNames:A,text:j,top:te,verticalAlignment:ne=`top`,visible:re=!0,width:ie,withExternalLayout:ae=!1,viewBox:oe,viewBoxScale:M=1,effect:se,...ce}=e,le=ca(),ue=Cl(),de=C(Uy),fe=bo(e),pe=r(null),me=n??pe;Eo(e,me),sm(m,i,me);let he=gm(se,me),ge=t(()=>{if(f)return Cm(f,A,j,c,void 0,he.getTokenizer())},[f,A,j,c,he]);if(!re)return null;let N={opacity:_&&p()===Y.canvas?0:b},_e=om(ne);_e!==Mv.justifyContent&&(N.justifyContent=_e);let P={},ve=Y.hasRestrictions(),ye=aa(e,le||0,!1),be=s&&(ie===`auto`||h===`auto`),xe=e.transformTemplate||!ye||!ve||i||be?e.transformTemplate??yo(d):void 0;ae||(ye&&ve&&!be?(P.x=ye.x+(z(k?.x)?k.x:0),P.y=ye.y+(z(k?.y)?k.y:0),P.left=0,P.top=0,N.rotate=v_.getNumber(O),N.width=ye.width,N.minWidth=ye.width,N.height=ye.height):(N.left=v,N.right=D,N.top=te,N.bottom=u,N.width=ie,N.height=h,N.rotate=O),x?(!ue||de)&&(N.position=`sticky`,N.willChange=`transform`,N.zIndex=1,N.top=E,N.right=T,N.bottom=S,N.left=w):ue&&(e.positionFixed||e.positionAbsolute)&&(N.position=`absolute`)),tc(e,N),Qs(e,N),Object.assign(N,ee,k,P),fe&&(ce.layout=`preserve-aspect`);let F=mo(e.as),I=ce[`data-framer-name`]??y;return R(e.viewBox)?e.as===void 0?g(qT,{...ce,ref:me,style:N,layoutId:fe,viewBox:oe,viewBoxScale:M,transformTemplate:xe,"data-framer-name":I,"data-framer-component-type":YT,children:ge}):g(F,{...ce,ref:me,style:N,layoutId:fe,transformTemplate:xe,"data-framer-name":I,"data-framer-component-type":YT,children:g(qT,{viewBox:oe,viewBoxScale:M,style:{width:`100%`,height:`100%`},children:ge})}):g(F,{...ce,ref:me,style:N,layoutId:fe,transformTemplate:xe,"data-framer-name":I,"data-framer-component-type":YT,children:ge})}),ZT=Ia(b(function({children:e,html:t,htmlFromDesign:n,...r},i){let a=t||e||n;if(R(a)){!r.stylesPresetsClassName&&B(r.stylesPresetsClassNames)&&(r.stylesPresetsClassName=Object.values(r.stylesPresetsClassNames).join(` `));let e={[R(t)?`html`:`htmlFromDesign`]:a};return g(HT,{...r,...e,ref:i})}if(!r.stylesPresetsClassNames&&R(r.stylesPresetsClassName)){let[e,t,n,i,a]=r.stylesPresetsClassName.split(` `);e===void 0||t===void 0||n===void 0||i===void 0||a===void 0?console.warn(`Encountered invalid stylesPresetsClassNames: ${r.stylesPresetsClassNames}`):r.stylesPresetsClassNames={h1:e,h2:t,h3:n,p:i,a}}return g(XT,{...r,ref:i,children:v(a)?a:void 0})})),QT=`framer/asset-reference,`,$T=({id:e,path:t,transform:n,repeat:r,width:i,height:a,offsetX:o,offsetY:s})=>{let c=Fm(t);return g(`pattern`,{id:e,width:r?i:`100%`,height:r?a:`100%`,patternContentUnits:r?void 0:`objectBoundingBox`,patternUnits:r?`userSpaceOnUse`:void 0,x:r?o:void 0,y:r?s:void 0,children:g(`image`,{width:r?i:1,height:r?a:1,href:c,preserveAspectRatio:`none`,transform:r?void 0:n,x:r?0:void 0,y:r?0:void 0},c)})},eE=Ca(),tE=class{constructor(e,t,n,r,i=0){this.id=e,this.svg=t,this.innerHTML=n,this.viewBox=r,this.count=i}},nE=`position: absolute; overflow: hidden; bottom: 0; left: 0; width: 0; height: 0; z-index: 0; contain: strict`,rE=class{constructor(){L(this,`entries`,new Map),L(this,`vectorSetItems`,new Map)}debugGetEntries(){return this.entries}subscribe(e,t,n,r){if(!e||e===``)return``;let i=this.entries.get(e);if(!i){n||=`svg${String(Zy(e))}_${String(e.length)}`;let a=e,o,s=Im(e);s&&(t&&Lm(s,n),s.id=n,o=Hm(s),s.removeAttribute(`xmlns`),s.removeAttribute(`xlink`),s.removeAttribute(`xmlns:xlink`),a=s.outerHTML),i=this.createDOMElementFor(a,n,o,r),this.entries.set(e,i)}return i.count+=1,i.innerHTML}getViewBox(e){if(!(!e||e===``))return this.entries.get(e)?.viewBox}unsubscribe(e){if(!e||e===``)return;let t=this.entries.get(e);t&&(--t.count,!(t.count>0)&&setTimeout(()=>this.maybeRemoveEntry(e),5e3))}maybeRemoveEntry(e){let t=this.entries.get(e);t&&(t.count>0||(this.entries.delete(e),this.removeDOMElement(t)))}removeDOMElement(e){eE&&(document?.getElementById(e.id))?.remove()}getOrCreateTemplateContainer(){let e=document.getElementById(`svg-templates`);if(e)return e;let t=document.createElement(`div`);return t.id=`svg-templates`,t.ariaHidden=`true`,t.style.cssText=nE,document.body.appendChild(t),t}maybeAppendTemplate(e,t){if(document.getElementById(e))return;let n=document.createElement(`div`);n.innerHTML=t;let r=n.firstElementChild;r&&(r.id=e,this.getOrCreateTemplateContainer().appendChild(r))}createDOMElementFor(e,t,n,r){eE&&this.maybeAppendTemplate(t,e);let i=n?`0 0 ${n.width} ${n.height}`:void 0,a=i?` viewBox="${i}"`:``;return new tE(t,e,`<svg style="width:100%;height:100%;${r?`overflow: visible;`:``}"${a}><use href="#${t}"/></svg>`,i)}template(e,t){return this.vectorSetItems.get(e)||(this.vectorSetItems.set(e,{svg:t,count:0}),!eE)||this.maybeAppendTemplate(e,t),`#${e}`}subscribeToTemplate(e){let t=this.vectorSetItems.get(e);if(t)return t.count++,()=>{let t=this.vectorSetItems.get(e);t&&(t.count--,!(t.count>0)&&setTimeout(()=>{this.vectorSetItems.get(e)?.count||(this.vectorSetItems.delete(e),eE&&document?.getElementById(e)?.remove())},5e3))}}clear(){this.entries.clear()}generateTemplates(){let e=[];return e.push(`<div id="svg-templates" style="${nE}" aria-hidden="true">`),this.entries.forEach(t=>e.push(t.svg)),this.vectorSetItems.forEach(t=>e.push(t.svg)),e.push(`</div>`),e.join(`
`)}},iE=new rE,aE=(()=>({cm:96/2.54,mm:96/2.54/10,Q:96/2.54/40,in:96,pc:96/6,pt:96/72,px:1,em:16,ex:8,ch:8,rem:16}))(),oE=b(function(e,t){let n=ca(),r=bo(e),i=h.useRef(null),a=t??i,o=Jw();return Eo(e,i),g(cE,{...e,innerRef:a,parentSize:n,layoutId:r,providedWindow:o})}),sE=5e4,cE=(()=>{var e;return e=class extends Xy{constructor(){super(...arguments),L(this,`container`,h.createRef()),L(this,`svgElement`,null),L(this,`setSVGElement`,e=>{this.svgElement=e,this.setLayerElement(e)}),L(this,`previouslyRenderedSVG`,``),L(this,`unmountedSVG`,``)}static frame(e){return aa(e,e.parentSize||0)}get frame(){return aa(this.props,this.props.parentSize||0)}componentDidMount(){if(this.unmountedSVG){let{svgContentId:e}=this.props,t=e?`svg${e}`:null;iE.subscribe(this.unmountedSVG,!e,t),this.previouslyRenderedSVG=this.unmountedSVG}this.props.svgContentId||Km(this.container,this.props)}componentWillUnmount(){iE.unsubscribe(this.previouslyRenderedSVG),this.unmountedSVG=this.previouslyRenderedSVG,this.previouslyRenderedSVG=``}componentDidUpdate(e){if(super.componentDidUpdate(e),this.props.svgContentId)return;let{fill:t}=this.props;By.isImageObject(t)&&By.isImageObject(e.fill)&&t.src!==e.fill.src&&jo(this.svgElement,`fill`,null,!1),Km(this.container,this.props)}collectLayout(e,t){if(this.props.withExternalLayout){t.width=`100%`,t.height=`100%`,t.aspectRatio=`inherit`;return}let n=this.frame,{rotation:r,intrinsicWidth:i,intrinsicHeight:a,width:o,height:s}=this.props,c=v_.getNumber(r);if(e.opacity=U(this.props.opacity)?this.props.opacity:1,Y.hasRestrictions()&&n){Object.assign(e,{transform:`translate(${n.x}px, ${n.y}px) rotate(${c.toFixed(4)}deg)`,width:`${n.width}px`,height:`${n.height}px`}),na(this.props)&&(e.position=`absolute`);let r=n.width/(i||1),o=n.height/(a||1);t.transformOrigin=`top left`;let{zoom:s,target:l}=V_;if(l===Y.export){let e=s>1?s:1;t.transform=`scale(${r*e}, ${o*e})`,t.zoom=1/e}else t.transform=`scale(${r}, ${o})`;i&&a&&(t.width=i,t.height=a);return}let{left:l,right:u,top:d,bottom:f}=this.props;Object.assign(e,{left:l,right:u,top:d,bottom:f,width:o,height:s,rotate:c}),Object.assign(t,{left:0,top:0,bottom:0,right:0,position:`absolute`})}render(){let{id:e,visible:t,style:n,fill:r,svg:i,intrinsicHeight:a,intrinsicWidth:o,title:s,description:c,layoutId:l,className:u,variants:d,withExternalLayout:f,innerRef:p,svgContentId:m,height:h,opacity:_,width:v,requiresOverflowVisible:y,...b}=this.props;if(!f&&(!t||!e))return null;let x=e??l??`svg`,S=this.frame,C=S||{width:o||100,height:a||100},T={...n,imageRendering:`pixelated`,flexShrink:0},E={};this.collectLayout(T,E),Xs(this.props,T),tc(this.props,T),Xy.applyWillChange(this.props,T,!1);let D=null;if(typeof r==`string`||J.isColorObject(r)){let e=J.isColorObject(r)?r.initialValue||J.toRgbString(r):r;T.fill=e,T.color=e}else if(ib.isLinearGradient(r)){let t=r,n=`${encodeURI(e||``)}g${ib.hash(t)}`;T.fill=`url(#${n})`;let{stops:i,x1:a,x2:o,y1:s,y2:c}=Dm(t,x);D=g(`svg`,{ref:this.setSVGElement,width:`100%`,height:`100%`,style:{position:`absolute`},role:`presentation`,children:g(`linearGradient`,{id:n,x1:a,x2:o,y1:s,y2:c,children:i.map((e,t)=>g(`stop`,{offset:e.position,stopColor:e.color,stopOpacity:e.alpha},t))})})}else if(ob.isRadialGradient(r)){let t=r,n=`${encodeURI(e||``)}g${ob.hash(t)}`;T.fill=`url(#${n})`;let i=Om(t,x);D=g(`svg`,{ref:this.setSVGElement,width:`100%`,height:`100%`,style:{position:`absolute`},role:`presentation`,children:g(`radialGradient`,{id:n,cy:t.centerAnchorY,cx:t.centerAnchorX,r:t.widthFactor,children:i.stops.map((e,t)=>g(`stop`,{offset:e.position,stopColor:e.color,stopOpacity:e.alpha},t))})})}else if(By.isImageObject(r)){let e=Nm(r,C,x);e&&(T.fill=`url(#${e.id})`,D=g(`svg`,{ref:this.setSVGElement,width:`100%`,height:`100%`,style:{position:`absolute`},role:`presentation`,children:g(`defs`,{children:g($T,{...e})})}))}let k={"data-framer-component-type":`SVG`},ee=!S;ee&&Object.assign(k,go(this.props.center));let A=!y&&!D&&!T.fill&&!T.background&&!T.backgroundImage&&i.length<sE&&!Um(i)&&!Wm(i),j=null;if(A)T.backgroundSize=`100% 100%`,T.backgroundImage=ot(i),iE.unsubscribe(this.previouslyRenderedSVG),this.previouslyRenderedSVG=``;else{let e=m?`svg${m}`:null,t=iE.subscribe(i,!m,e,y);iE.unsubscribe(this.previouslyRenderedSVG),this.previouslyRenderedSVG=i,Gm(T)&&(T.overflow=`hidden`),j=w(O,{children:[D,g(`div`,{className:`svgContainer`,style:E,ref:this.container,dangerouslySetInnerHTML:{__html:t}},By.isImageObject(r)?r.src:``)]})}let te=mo(this.props.as),{href:ne,target:re,rel:ie,onClick:ae,onTap:oe}=this.props,M=s||c;return g(te,{...k,...b,layoutId:l,transformTemplate:ee?yo(this.props.center):void 0,id:e,ref:p,style:T,className:u,variants:d,tabIndex:this.props.tabIndex,role:M?`img`:void 0,"aria-label":s,"aria-description":c,"aria-hidden":M?void 0:`true`,onTap:oe,onClick:ae,href:ne,target:re,rel:ie,children:j})}},L(e,`supportsConstraints`,!0),L(e,`defaultSVGProps`,{left:void 0,right:void 0,top:void 0,bottom:void 0,style:void 0,_constraints:{enabled:!0,aspectRatio:null},parentSize:0,rotation:0,visible:!0,svg:``,shadows:[]}),L(e,`defaultProps`,{...Xy.defaultProps,...e.defaultSVGProps}),e})(),lE=Ia(oE),uE=1e3,dE=`explicitInter`,Ve.prototype.addChild=function({transformer:e=e=>e}){let t=Ge(e(this.get()));return this.onChange(n=>t.set(e(n))),t}}));export{lS as $,wv as A,Zm as B,dC as C,$f as Ct,Jm as D,vc as Dt,Qx as E,np as Et,cx as F,Qh as G,qm as H,ux as I,fE as J,Pr as K,lx as L,MT as M,sh as N,Ua as O,ah as Ot,dx as P,Tr as Q,xv as R,Y as S,Sv as St,lE as T,rc as Tt,Wa as U,Xm as V,xf as W,ft as X,ja as Y,Ch as Z,Mn as _,oc as _t,zx as a,Tf as at,rx as b,Dt as bt,Kb as c,kt as ct,vS as d,Cl as dt,Wr as et,IT as f,Ka as ft,f_ as g,Gr as gt,AS as h,_r as ht,Kc as i,xr as it,ac as j,wy as k,_n as kt,Vi as l,bl as lt,jh as m,vr as mt,zl as n,Nf as nt,Zx as o,Jc as ot,Fh as p,Rf as pt,lt as q,qc as r,iE as rt,rv as s,It as st,Ll as t,Bw as tt,Qb as u,kf as ut,Ku as v,yf as vt,ZT as w,Ix as wt,Lw as x,Qf as xt,bS as y,Ft as yt,Ym as z};
//# sourceMappingURL=framer.CGwkaeuZ.mjs.map