PageSourceSearch

https://hallsberry.com/scripts/chunk-JN6EJJPV.mjs

js hallsberry.com collected 2026-10-08 10:33:34 UTC 607,380 bytes, 765 lines download raw bytes

vendor: 4,921 bytes, line 1
1import{a as Yu,b as ze,c as F}from"./chunk-OIST4OYN.mjs";var xt={};Yu(xt,{Children:()=>Bn,Component:()=>Se,Fragment:()=>or,Profiler:()=>nT,PureComponent:()=>rT,StrictMode:()=>iT,Suspense:()=>ra,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>oT,cloneElement:()=>ar,createContext:()=>xe,createElement:()=>qi,createFactory:()=>aT,createRef:()=>Ki,default:()=>x,forwardRef:()=>Ie,isValidElement:()=>At,lazy:()=>sT,memo:()=>lT,startTransition:()=>sr,unstable_act:()=>cT,useCallback:()=>oe,useContext:()=>V,useDebugValue:()=>uT,useDeferredValue:()=>fT,useEffect:()=>N,useId:()=>di,useImperativeHandle:()=>dT,useInsertionEffect:()=>it,useLayoutEffect:()=>ot,useMemo:()=>ae,useReducer:()=>hT,useRef:()=>A,useState:()=>Ye,useSyncExternalStore:()=>fv,useTransition:()=>pT,version:()=>mT});var x={},na=Symbol.for("react.element"),NC=Symbol.for("react.portal"),HC=Symbol.for("react.fragment"),jC=Symbol.for("react.strict_mode"),WC=Symbol.for("react.profiler"),UC=Symbol.for("react.provider"),XC=Symbol.for("react.context"),YC=Symbol.for("react.forward_ref"),GC=Symbol.for("react.suspense"),qC=Symbol.for("react.memo"),KC=Symbol.for("react.lazy"),tv=Symbol.iterator;function QC(e){return e===null||typeof e!="object"?null:(e=tv&&e[tv]||e["@@iterator"],typeof e=="function"?e:null)}var iv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ov=Object.assign,av={};function Gi(e,t,n){this.props=e,this.context=t,this.refs=av,this.updater=n||iv}Gi.prototype.isReactComponent={};Gi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Gi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function sv(){}sv.prototype=Gi.prototype;function qu(e,t,n){this.props=e,this.context=t,this.refs=av,this.updater=n||iv}var Ku=qu.prototype=new sv;Ku.constructor=qu;ov(Ku,Gi.prototype);Ku.isPureReactComponent=!0;var nv=Array.isArray,lv=Object.prototype.hasOwnProperty,Qu={current:null},cv={key:!0,ref:!0,__self:!0,__source:!0};function uv(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)lv.call(t,r)&&!cv.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:na,type:e,key:o,ref:a,props:i,_owner:Qu.current}}function ZC(e,t){return{$$typeof:na,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Zu(e){return typeof e=="object"&&e!==null&&e.$$typeof===na}function JC(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var rv=/\/+/g;function Gu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?JC(""+e.key):t.toString(36)}function Js(e,t,n,r,i){var o=typeof e;o!=="undefined"&&o!=="boolean"||(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case na:case NC:a=!0}}if(a)return a=e,i=i(a),e=r===""?"."+Gu(a,0):r,nv(i)?(n="",e!=null&&(n=e.replace(rv,"$&/")+"/"),Js(i,t,n,"",function(c){return c})):i!=null&&(Zu(i)&&(i=ZC(i,n+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(rv,"$&/")+"/")+e)),t.push(i)),1;if(a=0,r=r===""?".":r+":",nv(e))for(var s=0;s<e.length;s++){o=e[s];var l=r+Gu(o,s);a+=Js(o,t,n,l,i)}else if(l=QC(e),typeof l=="function")for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=r+Gu(o,s++),a+=Js(o,t,n,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Zs(e,t,n){if(e==null)return e;var r=[],i=0;return Js(e,r,"","",function(o){return t.call(n,o,i++)}),r}function eT(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){e._status!==0&&e._status!==-1||(e._status=1,e._result=n)},function(n){e._status!==0&&e._status!==-1||(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var It={current:null},el={transition:null},tT={ReactCurrentDispatcher:It,ReactCurrentBatchConfig:el,ReactCurrentOwner:Qu};x.Children={map:Zs,forEach:function(e,t,n){Zs(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Zs(e,function(){t++}),t},toArray:function(e){return Zs(e,function(t){return t})||[]},only:function(e){if(!Zu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};x.Component=Gi;x.Fragment=HC;x.Profiler=WC;x.PureComponent=qu;x.StrictMode=jC;x.Suspense=GC;
1x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tT;x.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ov({},e.props),i=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=Qu.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)lv.call(t,l)&&!cv.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:na,type:e.type,key:i,ref:o,props:r,_owner:a}};x.createContext=function(e){return e={$$typeof:XC,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:UC,_context:e},e.Consumer=e};x.createElement=uv;x.createFactory=function(e){var t=uv.bind(null,e);return t.type=e,t};x.createRef=function(){return{current:null}};x.forwardRef=function(e){return{$$typeof:YC,render:e}};x.isValidElement=Zu;x.lazy=function(e){return{$$typeof:KC,_payload:{_status:-1,_result:e},_init:eT}};x.memo=function(e,t){return{$$typeof:qC,type:e,compare:t===void 0?null:t}};x.startTransition=function(e){var t=el.transition;el.transition={};try{e()}finally{el.transition=t}};x.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};x.useCallback=function(e,t){return It.current.useCallback(e,t)};x.useContext=function(e){return It.current.useContext(e)};x.useDebugValue=function(){};x.useDeferredValue=function(e){return It.current.useDeferredValue(e)};x.useEffect=function(e,t){return It.current.useEffect(e,t)};x.useId=function(){return It.current.useId()};x.useImperativeHandle=function(e,t,n){return It.current.useImperativeHandle(e,t,n)};x.useInsertionEffect=function(e,t){return It.current.useInsertionEffect(e,t)};x.useLayoutEffect=function(e,t){return It.current.useLayoutEffect(e,t)};x.useMemo=function(e,t){return It.current.useMemo(e,t)};x.useReducer=function(e,t,n){return It.current.useReducer(e,t,n)};x.useRef=function(e){return It.current.useRef(e)};x.useState=function(e){return It.current.useState(e)};x.useSyncExternalStore=function(e,t,n){return It.current.useSyncExternalStore(e,t,n)};x.useTransition=function(){return It.current.useTransition()};x.version="18.2.0";var Bn=x.Children,Se=x.Component,or=x.Fragment,nT=x.Profiler,rT=x.PureComponent,iT=x.StrictMode,ra=x.Suspense,oT=x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ar=x.cloneElement,xe=x.createContext,qi=x.createElement,aT=x.createFactory,Ki=x.createRef,Ie=x.forwardRef,At=x.isValidElement,sT=x.lazy,lT=x.memo,sr=x.startTransition,cT=x.unstable_act,oe=x.useCallback,V=x.useContext,uT=x.useDebugValue,fT=x.useDeferredValue,N=x.useEffect,di=x.useId,dT=x.useImperativeHandle,it=x.useInsertionEffect,ot=x.useLayoutEffect,ae=x.useMemo,hT=x.useReducer,A=x.useRef,Ye=x.useState,fv=x.useSyncExternalStore,pT=x.useTransition,mT=x.version;var vT="default"in xt?x:xt,Qi={},gT=vT,yT=Symbol.for("react.element"),bT=Symbol.for("react.fragment"),xT=Object.prototype.hasOwnProperty,wT=gT.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ST={key:!0,ref:!0,__self:!0,__source:!0};function dv(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)xT.call(t,r)&&!ST.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:yT,type:e,key:o,ref:a,props:i,_owner:wT.current}}Qi.Fragment=bT;Qi.jsx=dv;Qi.jsxs=dv;var Fe=Qi.Fragment,k=Qi.jsx,se=Qi.jsxs;var kT=Object.create,Ff=Object.defineProperty,CT=Object.getOwnPropertyDescriptor,Bg=Object.getOwnPropertyNames,TT=Object.getPrototypeOf,ET=Object.prototype.hasOwnProperty,RT=(e,t,n)=>t in e?Ff(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hn=(e,t)=>function(){return t||(0,e[Bg(e)[0]])((t={exports:{}}).exports,t),t.exports},PT=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Bg(t))!ET.call(e,i)&&i!==n&&Ff(e,i,{get:()=>t[i],enumerable:!(r=CT(t,i))||r.enumerable});return e},jn=(e,t,n)=>(n=e!=null?kT(TT(e)):{},PT(t||!e||!e.__esModule?Ff(n,"default",{value:e,enumerable:!0}):n,e)),R=(e,t,n)=>
1(RT(e,typeof t!="symbol"?t+"":t,n),n),Mf=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},ue=(e,t,n)=>(Mf(e,t,"read from private field"),n?n.call(e):t.get(e)),Zt=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Lf=(e,t,n,r)=>(Mf(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),$t=(e,t,n)=>(Mf(e,t,"access private method"),n),_T=hn({"../../../node_modules/@emotion/memoize/dist/memoize.browser.cjs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(n){var r={};return function(i){return r[i]===void 0&&(r[i]=n(i)),r[i]}}e.default=t}}),IT=hn({"../../../node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.cjs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(o){return o&&typeof o=="object"&&"default"in o?o.default:o}var n=t(_T()),r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|download|draggable|encType|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|on|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|d|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|k|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|r|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|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=n(function(o){return r.test(o)||o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o.charCodeAt(2)<91});e.default=i}}),ur=xe({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ba=xe({}),ao=xe(null),vl=typeof F<"u",Or=vl?ot:N,gl=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),FT="framerAppearId",yl="data-"+gl(FT),bl={skipAnimations:!1,useManualTiming:!1},xl=xe({}),ma=xe({}),ht=e=>e,so=ht,Qt=ht,$g=xe({strict:!1});function MT(e){let t=new Set,n=new Set,r=!1,i=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function s(c){o.has(c)&&(l.schedule(c),e()),c(a)}let l={schedule:(c,u=!1,f=!1)=>{let p=f&&r?t:n;return u&&o.add(c),p.has(c)||p.add(c),c},cancel:c=>{n.delete(c),o.delete(c)},process:c=>{if(a=c,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(s),r=!1,i&&(i=!1,l.process(c))}};return l}var aa=["read","resolveKeyframes","update","preRender","render","postRender"],LT=40;function zg(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=aa.reduce((h,m)=>(h[m]=MT(o),h),{}),{read:s,resolveKeyframes:l,update:c,preRender:u,render:f,postRender:d}=a,p=()=>{let h=bl.useManualTiming?i.timestamp:performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(h-i.timestamp,LT),1),i.timestamp=h,i.isProcessing=!0,s.process(i),l.process(i),c.process(i),u.process(i),f.process(i),d.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(p))},y=()=>{n=!0,r=!0,i.isProcessing||e(p)};return{schedule:aa.reduce((h,m)=>{let v=a[m];return h[m]=(w,C=!1,S=!1)=>(n||y(),v.schedule(w,C,S)),h},{}),cancel:h=>{for(let m=0;m<aa.length;m++)a[aa[m]].cancel(h)},state:i,steps:a}}var{schedule:Of,cancel:K$}=zg(queueMicrotask,!1);function Zi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}var hv=!1;function OT(e,t,n,r,i){var o;let{visualElement:a}=V(ba),s=V($g),l=V(ao),c=V(ur).reducedMotion,u=A();r=r||s.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:a,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c}
1));let f=u.current,d=V(xl);f&&!f.projection&&i&&(f.type==="html"||f.type==="svg")&&AT(u.current,n,i,d),it(()=>{f&&f.update(n,l)});let p=n[yl],y=A(!!p&&!F.MotionHandoffIsComplete&&((o=F.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(F,p)));return Or(()=>{f&&(f.updateFeatures(),Of.render(f.render),y.current&&f.animationState&&f.animationState.animateChanges())}),N(()=>{f&&(!y.current&&f.animationState&&f.animationState.animateChanges(),y.current=!1,hv||(hv=!0,queueMicrotask(DT)))}),f}function DT(){F.MotionHandoffIsComplete=!0}function AT(e,t,n,r){let{layoutId:i,layout:o,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Ng(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!a||s&&Zi(s),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}function Ng(e){if(e)return e.options.allowProjection!==!1?e.projection:Ng(e.parent)}function VT(e,t,n){return oe(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Zi(n)&&(n.current=r))},[t])}function va(e){return typeof e=="string"||Array.isArray(e)}function ga(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}var Df=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Af=["initial",...Df];function wl(e){return ga(e.animate)||Af.some(t=>va(e[t]))}function Hg(e){return!!(wl(e)||e.variants)}function BT(e,t){if(wl(e)){let{initial:n,animate:r}=e;return{initial:n===!1||va(n)?n:void 0,animate:va(r)?r:void 0}}return e.inherit!==!1?t:{}}function $T(e){let{initial:t,animate:n}=BT(e,V(ba));return ae(()=>({initial:t,animate:n}),[pv(t),pv(n)])}function pv(e){return Array.isArray(e)?e.join(" "):e}var mv={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ro={};for(let e in mv)ro[e]={isEnabled:t=>mv[e].some(n=>!!t[n])};function zT(e){for(let t in e)ro[t]={...ro[t],...e[t]}}var Vf=Symbol.for("motionComponentSymbol");function jg({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&zT(e);function o(s,l){let c,u={...V(ur),...s,layoutId:NT(s)},{isStatic:f}=u,d=$T(s),p=r(s,f);if(!f&&vl){HT(u,e);let y=jT(u);c=y.MeasureLayout,d.visualElement=OT(i,p,u,t,y.ProjectionNode)}return se(ba.Provider,{value:d,children:[c&&d.visualElement?k(c,{visualElement:d.visualElement,...u}):null,n(i,s,VT(p,d.visualElement,l),p,f,d.visualElement)]})}let a=Ie(o);return a[Vf]=i,a}function NT({layoutId:e}){let t=V(ma).id;return t&&e!==void 0?t+"-"+e:e}function HT(e,t){let n=V($g).strict}function jT(e){let{drag:t,layout:n}=ro;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}var cl={};function Bf(e){Object.assign(cl,e)}var Me=e=>!!(e&&e.getVelocity),fr=(e,t,n)=>n>t?t:n<e?e:n,ca=e=>Math.round(e*1e5)/1e5,$f=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,WT=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,UT=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function xa(e){return typeof e=="string"}function XT(e){return e==null}var wa=e=>({test:t=>xa(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Fr=wa("deg"),$n=wa("%"),q=wa("px"),YT=wa("vh"),GT=wa("vw"),vv={...$n,parse:e=>$n.parse(e)/100,transform:e=>$n.transform(e*100)},Sa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Dr=new Set(Sa),Wg=(e,t)=>t&&typeof e=="number"?t.transform(e):e,lo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ua={...lo,transform:e=>fr(0,1,e)},tl={...lo,default:1},gv={...lo,transform:Math.round},zf={borderWidth:q,borderTopWidth:q,borderRightWidth:q,borderBottomWidth:q,borderLeftWidth:q,borderRadius:q,radius:q,borderTopLeftRadius:q,borderTopRightRadius:q,borderBottomRightRadius:q,borderBottomLeftRadius:q,width:q,maxWidth:q,height:q,maxHeight:q,size:q,top:q,right:q,bottom:q,left:q,padding:q,paddingTop:q,paddingRight:q,paddingBottom:q,paddingLeft:q,margin:q,marginTop:q,marginRight:q,marginBottom:q,marginLeft:q,rotate:Fr,rotateX:Fr,rotateY:Fr,rotateZ:Fr,scale:tl,scaleX:tl,scaleY:tl,scaleZ:tl,skew:Fr,skewX:Fr,skewY:Fr,distance:q,translateX:q,translateY:q,translateZ:q,x:q,y:q,z:q,perspective:q,transformPerspective:q,opacity:ua,originX:vv,originY:vv,originZ:q,zIndex:gv,backgroundPositionX:q,backgroundPositionY:q,fillOpacity:ua,strokeOpacity:ua,numOctaves:gv},qT={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},KT=Sa.length;function Ug(e,t,n){let r="",i=!0;for(let o=0;o<KT;o++){let a=Sa[o],s=e[a];if(s===void 0)continue;let l=!0;if(typeof s=="number"?l=s===(a.startsWith("scale")?1:0):l=parseFloat(s)===0,!l||n){let c=Wg(s,zf[a]);if(!l){i=!1;let u=qT[a]||a;r+=`${u}(${c}) `}n&&(t[a]=c)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}var QT=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function io(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||QT.has(e)}var Xg=e=>!io(e);function Yg(e){e&&(Xg=t=>t.startsWith("on")?!io(t):e(t))}try{Yg(IT().default)}catch{}function Gg(e,t,n){let r={};for(let i in e)i==="values"&&typeof e.values=="object"||(Xg(i)||n===!0&&io(i)||!t&&!io(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}var df=e=>Array.isArray(e),ZT=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),JT=e=>df(e)?e[e.length-1]||0:e;function wt(e){let t=Me(e)?e.get():e;return ZT(t)?t.toValue():t}function yv(e){let t=[{},{}];
1return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Nf(e,t,n,r){if(typeof t=="function"){let[i,o]=yv(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[i,o]=yv(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function Wn(e){let t=A(null);return t.current===null&&(t.current=e()),t.current}var qg=new Set(["opacity","clipPath","filter","transform"]);function Kg(e){if(Dr.has(e))return"transform";if(qg.has(e))return gl(e)}function Sl(e,t){e.indexOf(t)===-1&&e.push(t)}function ka(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function eE([...e],t,n){let r=t<0?e.length+t:t;if(r>=0&&r<e.length){let i=n<0?e.length+n:n,[o]=e.splice(t,1);e.splice(i,0,o)}return e}function tE({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},i,o,a,s){let l={latestValues:rE(i,o,a,s?!1:e,t),renderState:n()};return r&&(l.mount=c=>r(i,c,l)),l}var kl=e=>(t,n)=>{let r=V(ba),i=V(ao),o=()=>tE(e,t,r,i,n);return n?o():Wn(o)};function nE(e,t){let n=Kg(t);n&&Sl(e,n)}function bv(e,t,n){let r=Array.isArray(t)?t:[t];for(let i=0;i<r.length;i++){let o=Nf(e,r[i]);if(o){let{transitionEnd:a,transition:s,...l}=o;n(l,a)}}}function rE(e,t,n,r,i){var o;let a={},s=[],l=r&&((o=e.style)===null||o===void 0?void 0:o.willChange)===void 0,c=i(e,{});for(let b in c)a[b]=wt(c[b]);let{initial:u,animate:f}=e,d=wl(e),p=Hg(e);t&&p&&!d&&e.inherit!==!1&&(u===void 0&&(u=t.initial),f===void 0&&(f=t.animate));let y=n?n.initial===!1:!1;y=y||u===!1;let g=y?f:u;return g&&typeof g!="boolean"&&!ga(g)&&bv(e,g,(b,h)=>{for(let m in b){let v=b[m];if(Array.isArray(v)){let w=y?v.length-1:0;v=v[w]}v!==null&&(a[m]=v)}for(let m in h)a[m]=h[m]}),l&&(f&&u!==!1&&!ga(f)&&bv(e,f,b=>{for(let h in b)nE(s,h)}),s.length&&(a.willChange=s.join(","))),a}var{schedule:K,cancel:Vt,state:He,steps:il}=zg(typeof requestAnimationFrame<"u"?requestAnimationFrame:ht,!0),Qg=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Cl(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}var Zg=e=>t=>Qg(t)&&e(t,Cl(t));function lr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function zn(e,t,n,r){return lr(e,t,Zg(n),r)}var iE=(e,t)=>n=>t(e(n)),Nn=(...e)=>e.reduce(iE);function Jg(e){let t=null;return()=>{let n=()=>{t=null};return t===null?(t=e,n):!1}}var xv=Jg("dragHorizontal"),wv=Jg("dragVertical");function ey(e){let t=!1;if(e==="y")t=wv();else if(e==="x")t=xv();else{let n=xv(),r=wv();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Hf(){let e=ey(!0);return e?(e(),!1):!0}var jf=(e,t)=>n=>!!(xa(n)&&UT.test(n)&&n.startsWith(e)||t&&!XT(n)&&Object.prototype.hasOwnProperty.call(n,t)),ty=(e,t,n)=>r=>{if(!xa(r))return r;let[i,o,a,s]=r.match($f);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},oE=e=>fr(0,255,e),Ju={...lo,transform:e=>Math.round(oE(e))},vi={test:jf("rgb","red"),parse:ty("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ju.transform(e)+", "+Ju.transform(t)+", "+Ju.transform(n)+", "+ca(ua.transform(r))+")"};function aE(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var hf={test:jf("#"),parse:aE,transform:vi.transform},Ji={test:jf("hsl","hue"),parse:ty("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+$n.transform(ca(t))+", "+$n.transform(ca(n))+", "+ca(ua.transform(r))+")"},dt={test:e=>vi.test(e)||hf.test(e)||Ji.test(e),parse:e=>vi.test(e)?vi.parse(e):Ji.test(e)?Ji.parse(e):hf.parse(e),transform:e=>xa(e)?e:e.hasOwnProperty("red")?vi.transform(e):Ji.transform(e)};function sE(e){var t,n;return isNaN(e)&&xa(e)&&(((t=e.match($f))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(WT))===null||n===void 0?void 0:n.length)||0)>0}var ny="number",ry="color",lE="var",cE="var(",Sv="${}",uE=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ya(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],o=0,s=t.replace(uE,l=>(dt.test(l)?(r.color.push(o),i.push(ry),n.push(dt.parse(l))):l.startsWith(cE)?(r.var.push(o),i.push(lE),n.push(l)):(r.number.push(o),i.push(ny),n.push(parseFloat(l))),++o,Sv)).split(Sv);return{values:n,split:s,indexes:r,types:i}}function iy(e){return ya(e).values}function oy(e){let{split:t,types:n}=ya(e),r=t.length;return i=>{let o="";for(let a=0;a<r;
1a++)if(o+=t[a],i[a]!==void 0){let s=n[a];s===ny?o+=ca(i[a]):s===ry?o+=dt.transform(i[a]):o+=i[a]}return o}}var fE=e=>typeof e=="number"?0:e;function dE(e){let t=iy(e);return oy(e)(t.map(fE))}var dr={test:sE,parse:iy,createTransformer:oy,getAnimatableNone:dE},Cn=e=>e*1e3,Hn=e=>e/1e3;function Wf(e,t){return t?e*(1e3/t):0}var hE=5;function ay(e,t,n){let r=Math.max(t-hE,0);return Wf(n-e(r),t-r)}var ef=.001,pE=.01,kv=10,mE=.05,vE=1;function gE({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;so(e<=Cn(kv),"Spring duration must be 10 seconds or less");let a=1-t;a=fr(mE,vE,a),e=fr(pE,kv,Hn(e)),a<1?(i=c=>{let u=c*a,f=u*e,d=u-n,p=pf(c,a),y=Math.exp(-f);return ef-d/p*y},o=c=>{let f=c*a*e,d=f*n+n,p=Math.pow(a,2)*Math.pow(c,2)*e,y=Math.exp(-f),g=pf(Math.pow(c,2),a);return(-i(c)+ef>0?-1:1)*((d-p)*y)/g}):(i=c=>{let u=Math.exp(-c*e),f=(c-n)*e+1;return-ef+u*f},o=c=>{let u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});let s=5/e,l=bE(i,o,s);if(e=Cn(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let c=Math.pow(l,2)*r;return{stiffness:c,damping:a*2*Math.sqrt(r*c),duration:e}}}var yE=12;function bE(e,t,n){let r=n;for(let i=1;i<yE;i++)r=r-e(r)/t(r);return r}function pf(e,t){return e*Math.sqrt(1-t*t)}var xE=["duration","bounce"],wE=["stiffness","damping","mass"];function Cv(e,t){return t.some(n=>e[n]!==void 0)}function SE(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Cv(e,wE)&&Cv(e,xE)){let n=gE(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Ca({keyframes:e,restDelta:t,restSpeed:n,...r}){let i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,damping:l,mass:c,duration:u,velocity:f,isResolvedFromDuration:d}=SE({...r,velocity:-Hn(r.velocity||0)}),p=f||0,y=l/(2*Math.sqrt(s*c)),g=o-i,b=Hn(Math.sqrt(s/c)),h=Math.abs(g)<5;n||(n=h?.01:2),t||(t=h?.005:.5);let m;if(y<1){let v=pf(b,y);m=w=>{let C=Math.exp(-y*b*w);return o-C*((p+y*b*g)/v*Math.sin(v*w)+g*Math.cos(v*w))}}else if(y===1)m=v=>o-Math.exp(-b*v)*(g+(p+b*g)*v);else{let v=b*Math.sqrt(y*y-1);m=w=>{let C=Math.exp(-y*b*w),S=Math.min(v*w,300);return o-C*((p+y*b*g)*Math.sinh(S)+v*g*Math.cosh(S))/v}}return{calculatedDuration:d&&u||null,next:v=>{let w=m(v);if(d)a.done=v>=u;else{let C=0;y<1&&(C=v===0?Cn(p):ay(m,v,w));let S=Math.abs(C)<=n,E=Math.abs(o-w)<=t;a.done=S&&E}return a.value=a.done?o:w,a}}}var sy=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,kE=1e-7,CE=12;function TE(e,t,n,r,i){let o,a,s=0;do a=t+(n-t)/2,o=sy(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>kE&&++s<CE);return a}function co(e,t,n,r){if(e===t&&n===r)return ht;let i=o=>TE(o,0,1,e,n);return o=>o===0||o===1?o:sy(i(o),t,r)}var ly=co(.42,0,1,1),cy=co(0,0,.58,1),Uf=co(.42,0,.58,1),Xf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Yf=e=>t=>1-e(1-t),Tl=e=>1-Math.sin(Math.acos(e)),Gf=Yf(Tl),uy=Xf(Tl),qf=co(.33,1.53,.69,.99),El=Yf(qf),fy=Xf(El),dy=e=>(e*=2)<1?.5*El(e):.5*(2-Math.pow(2,-10*(e-1))),Lr=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Ee=(e,t,n)=>e+(t-e)*n;function tf(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function EE({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{let s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=tf(l,s,e+1/3),o=tf(l,s,e),a=tf(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}function ul(e,t){return n=>n>0?t:e}var nf=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},RE=[hf,vi,Ji],PE=e=>RE.find(t=>t.test(e));function Tv(e){let t=PE(e);if(so(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===Ji&&(n=EE(n)),n}var Ev=(e,t)=>{let n=Tv(e),r=Tv(t);if(!n||!r)return ul(e,t);let i={...n};return o=>(i.red=nf(n.red,r.red,o),i.green=nf(n.green,r.green,o),i.blue=nf(n.blue,r.blue,o),i.alpha=Ee(n.alpha,r.alpha,o),vi.transform(i))},hy=e=>t=>typeof t=="string"&&t.startsWith(e),py=hy("--"),_E=hy("var(--"),Kf=e=>_E(e)?IE.test(e.split("/*")[0].trim()):!1,IE=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,mf=new Set(["none","hidden"]);function FE(e,t){return mf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function ME(e,t){return n=>Ee(e,t,n)}function Qf(e){return typeof e=="number"?ME:typeof e=="string"?Kf(e)?ul:dt.test(e)?Ev:DE:Array.isArray(e)?my:typeof e=="object"?dt.test(e)?Ev:LE:ul}function my(e,t){let n=[...e],r=n.length,i=e.map((o,a)=>Qf(o)(o,t[a]));return o=>{for(let a=0;a<r;a++)n[a]=i[a](o);return n}}function LE(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Qf(e[i])(e[i],t[i]));return i=>{for(let o in r)n[o]=r[o](i);return n}}function OE(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let a=t.types[o],s=e.indexes[a][i[a]],l=(n=e.values[s])!==null&&n!==void 0?n:0;r[o]=l,i[a]++}return r}var DE=(e,t)=>{let n=dr.createTransformer(t),r=ya(e),i=ya(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?mf.has(e)&&!i.values.length||mf.has(t)&&!r.values.length?FE(e,t):Nn(my(OE(r,i),i.values),n):(so(!0,`Complex values '${e}' and '${t}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),ul(e,t))};function Zf(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Ee(e,t,n):Qf(e)(e,t)}function AE(e,t,n){let r=[],i=n||Zf,o=e.length-1;for(let a=0;a<o;a++){let s=i(e[a],e[a+1]);if(t){let l=Array.isArray(t)?t[a]||ht:t;s=Nn(l,s)}r.push(s)}return r}function uo(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let o=e.length;if(Qt(o===t.length,"Both input and output ranges must be the same length"),o===1)return()=>t[0];if(o===2&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=AE(t,r,i),s=a.length,l=c=>{let u=0;if(s>1)for(;u<e.length-2&&!(c<e[u+1]);u++);let f=Lr(e[u],e[u+1],c);return a[u](f)};return n?c=>l(fr(e[0],e[o-1],c)):l}var VE=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Rv=e=>e===lo||e===q,Pv=(e,t)=>parseFloat(e.split(", ")[t]),_v=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Pv(i[1],t);{let o=r.match(/^matrix\((.+)\)$/u);return o?Pv(o[1],e):0}},BE=new Set(["x","y","z"]),$E=Sa.filter(e=>!BE.has(e));function zE(e){let t=[];return $E.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}var oo={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:_v(4,13),y:_v(5,14)};oo.translateX=oo.x;oo.translateY=oo.y;var gi=new Set,vf=!1,gf=!1;function vy(){if(gf){let e=Array.from(gi).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{let i=zE(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();let i=n.get(r);i&&i.forEach(([o,a])=>{var s;(s=r.getValue(o))===null||s===void 0||s.set(a)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&F.scrollTo(0,r.suspendedScrollY)})}gf=!1,vf=!1,gi.forEach(e=>e.complete()),gi.clear()}function gy(){gi.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(gf=!0)})}function NE(){gy(),vy()}var Jf=class{constructor(e,t,n,r,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(gi.add(this),vf||(vf=!0,K.read(gy),K.resolveKeyframes(vy))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;i<e.length;i++)if(e[i]===null)if(i===0){let o=r?.get(),a=e[e.length-1];if(o!==void 0)e[0]=o;else if(n&&t){let s=n.readValue(t,a);s!=null&&(e[0]=s)}e[0]===void 0&&(e[0]=a),r&&o===void 0&&r.set(e[0])}else e[i]=e[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),gi.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,gi.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};function Iv({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){let f=e[0],d={done:!1,value:f},p=T=>s!==void 0&&T<s||l!==void 0&&T>l,y=T=>s===void 0?l:l===void 0||Math.abs(s-T)<Math.abs(l-T)?s:l,g=n*t,b=f+g,h=a===void 0?b:a(b);h!==b&&(g=h-f);let m=T=>-g*Math.exp(-T/r),v=T=>h+m(T),w=T=>{let M=m(T),I=v(T);d.done=Math.abs(M)<=c,d.value=d.done?h:I},C,S,E=T=>{p(d.value)&&(C=T,S=Ca({keyframes:[d.value,y(d.value)],velocity:ay(v,T,d.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return E(0),{calculatedDuration:null,next:T=>{let M=!1;return!S&&C===void 0&&(M=!0,w(T),E(T)),C!==void 0&&T>=C?S.next(T-C):(!M&&w(T),d)}}}var yy=e=>Array.isArray(e)&&typeof e[0]!="number",Fv={linear:ht,easeIn:ly,easeInOut:Uf,easeOut:cy,circIn:Tl,circInOut:u
vendor: 10,412 bytes, line 1
1y,circOut:Gf,backIn:El,backInOut:fy,backOut:qf,anticipate:dy},yf=e=>{if(Array.isArray(e)){Qt(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return co(t,n,r,i)}else if(typeof e=="string")return Qt(Fv[e]!==void 0,`Invalid easing type '${e}'`),Fv[e];return e};function by(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Lr(0,t,r);e.push(Ee(n,1,i))}}function ed(e){let t=[0];return by(t,e.length-1),t}function HE(e,t){return e.map(n=>n*t)}function jE(e,t){return e.map(()=>t||Uf).splice(0,e.length-1)}function fl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=yy(r)?r.map(yf):yf(r),o={done:!1,value:t[0]},a=HE(n&&n.length===t.length?n:ed(t),e),s=uo(a,t,{ease:Array.isArray(i)?i:jE(t,i)});return{calculatedDuration:e,next:l=>(o.value=s(l),o.done=l>=e,o)}}var ol;function WE(){ol=void 0}var cr={now:()=>(ol===void 0&&cr.set(He.isProcessing||bl.useManualTiming?He.timestamp:performance.now()),ol),set:e=>{ol=e,queueMicrotask(WE)}},dl={current:!1},Mv=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(dr.test(e)||e==="0")&&!e.startsWith("url("));function UE(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function XE(e,t,n,r){let i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;let o=e[e.length-1],a=Mv(i,t),s=Mv(o,t);return so(a===s,`You are trying to animate ${t} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!a||!s?!1:UE(e)||n==="spring"&&r}var YE=e=>e!==null;function Rl(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(YE),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}var GE=40,xy=class{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=cr.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>GE?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&NE(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=cr.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:o,onComplete:a,onUpdate:s,isGenerator:l}=this.options;if(!l&&!XE(e,n,r,i))if(dl.current||!o){s?.(Rl(e,this.options,t)),a?.(),this.resolveFinishedPromise();return}else this.options.duration=0;let c=this.initPlayback(e,t);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:t,...c},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}},bf=2e4;function wy(e){let t=0,n=50,r=e.next(t);for(;!r.done&&t<bf;)t+=n,r=e.next(t);return t>=bf?1/0:t}var qE=e=>{let t=({timestamp:n})=>e(n);return{start:()=>K.update(t,!0),stop:()=>Vt(t),now:()=>He.isProcessing?He.timestamp:cr.now()}},KE={decay:Iv,inertia:Iv,tween:fl,keyframes:fl,spring:Ca},QE=e=>e/100,Pl=class extends xy{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:s}=this.options;s&&s()};let{name:t,motionValue:n,element:r,keyframes:i}=this.options,o=r?.KeyframeResolver||Jf,a=(s,l)=>this.onKeyframesResolved(s,l);this.resolver=new o(i,a,t,n,r),this.resolver.scheduleResolve()}initPlayback(e){let{type:t="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=this.options,a=KE[t]||fl,s,l;a!==fl&&typeof e[0]!="number"&&(s=Nn(QE,Zf(e[0],e[1])),e=[0,100]);let c=a({...this.options,keyframes:e});i==="mirror"&&(l=a({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=wy(c));let{calculatedDuration:u}=c,f=u+r,d=f*(n+1)-r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:s,calculatedDuration:u,resolvedDuration:f,totalDuration:d}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:E}=this.options;return{done:!0,value:E[E.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(this.startTime===null)return i.next(0);let{delay:f,repeat:d,repeatType:p,repeatDelay:y,onUpdate:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let b=this.currentTime-f*(this.speed>=0?1:-1),h=this.speed>=0?b<0:b>c;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let m=this.currentTime,v=i;if(d){let E=Math.min(this.currentTime,c)/u,T=Math.floor(E),M=E%1;!M&&E>=1&&(M=1),M===1&&T--,T=Math.min(T,d+1),!!(T%2)&&(p==="reverse"?(M=1-M,y&&(M-=y/u)):p==="mirror"&&(v=o)),m=fr(0,1,M)*u}let w=h?{done:!1,value:s[0]}:v.next(m);a&&(w.value=a(w.value));let{done:C}=w;!h&&l!==null&&(C=this.speed>=0?this.currentTime>=c:this.currentTime<=0);let S=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return S&&r!==void 0&&(w.value=Rl(s,this.options,r)),g&&g(w.value),S&&this.finish(),w}get duration(){let{resolved:e}=this;return e?Hn(e.calculatedDuration):0}get time(){return Hn(this.currentTime)}set time(e){e=Cn(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=Hn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=qE,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),t&&t();let r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=r):this.startTime=n??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}};function td(e){return new Pl(e)}var Sy=e=>/^0[^.\s]+$/u.test(e);function ZE(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Sy(e):!0}var ky=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),JE=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function eR(e){let t=JE.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}var tR=4;function Cy(e,t,n=1){Qt(n<=tR,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=eR(e);if(!r)return;let o=F.getComputedStyle(t).getPropertyValue(r);if(o){let a=o.trim();return ky(a)?parseFloat(a):a}return Kf(i)?Cy(i,t,n+1):i}var Ty=e=>t=>t.test(e),nR={test:e=>e==="auto",parse:e=>e},Ey=[lo,q,$n,Fr,GT,YT,nR],Lv=e=>Ey.find(Ty(e)),rR=new Set(["brightness","contrast","saturate","opacity"]);function iR(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=n.match($f)||[];if(!r)return e;let i=n.replace(r,""),o=rR.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}var oR=/\b([a-z-]*)\(.*?\)/gu,xf={...dr,getAnimatableNone:e=>{let t=e.match(oR);return t?t.map(iR).join(" "):e}},aR={...zf,color:dt,backgroundColor:dt,outlineColor:dt,fill:dt,stroke:dt,borderColor:dt,borderTopColor:dt,borderRightColor:dt,borderBottomColor:dt,borderLeftColor:dt,filter:xf,WebkitFilter:xf},nd=e=>aR[e];function Ry(e,t){let n=nd(e);return n!==xf&&(n=dr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var sR=new Set(["auto","none","0"]);function lR(e,t,n){let r=0,i;for(;r<e.length&&!i;){let o=e[r];typeof o=="string"&&!sR.has(o)&&ya(o).values.length&&(i=e[r]),r++}if(i&&n)for(let o of t)e[o]=Ry(n,i)}var Py=class extends Jf{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let s=0;s<e.length;s++){let l=e[s];if(typeof l=="string"&&(l=l.trim(),Kf(l))){let c=Cy(l,t.current);c!==void 0&&(e[s]=c),s===e.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!VE.has(n)||e.length!==2)return;let[r,i]=e,o=Lv(r),a=Lv(i);if(o!==a)if(Rv(o)&&Rv(a))for(let s=0;s<e.length;s++){let l=e[s];typeof l=="string"&&(e[s]=parseFloat(l))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let r=0;r<e.length;r++)ZE(e[r])&&n.push(r);n.length&&lR(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n==="height"&&(this.suspendedScrollY=F.pageYOffset),this.measuredOrigin=oo[n](e.measureViewportBox(),F.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);let o=r.length-1,a=r[o];r[o]=oo[n](t.measureViewportBox(),F.getComputedStyle(t.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEac
1h(([s,l])=>{t.getValue(s).set(l)}),this.resolveNoneKeyframes()}};function _y(e){let t;return()=>(t===void 0&&(t=e()),t)}var Iy=e=>Array.isArray(e)&&typeof e[0]=="number";function Fy(e){return!!(!e||typeof e=="string"&&e in rd||Iy(e)||Array.isArray(e)&&e.every(Fy))}var sa=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,rd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:sa([0,.65,.55,1]),circOut:sa([.55,0,1,.45]),backIn:sa([.31,.01,.66,-.59]),backOut:sa([.33,1.53,.69,.99])};function cR(e){return My(e)||rd.easeOut}function My(e){if(e)return Iy(e)?sa(e):Array.isArray(e)?e.map(cR):rd[e]}function uR(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){let c={[t]:n};l&&(c.offset=l);let u=My(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"})}var fR=_y(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),hl=10,dR=2e4;function hR(e){return e.type==="spring"||!Fy(e.ease)}function pR(e,t){let n=new Pl({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],o=0;for(;!r.done&&o<dR;)r=n.sample(o),i.push(r.value),o+=hl;return{times:void 0,keyframes:i,duration:o-hl,ease:"linear"}}var wf=class extends xy{constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:i}=this.options;this.resolver=new Py(i,(o,a)=>this.onKeyframesResolved(o,a),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,times:i,ease:o,type:a,motionValue:s,name:l,startTime:c}=this.options;if(!(!((n=s.owner)===null||n===void 0)&&n.current))return!1;if(hR(this.options)){let{onComplete:f,onUpdate:d,motionValue:p,element:y,...g}=this.options,b=pR(e,g);e=b.keyframes,e.length===1&&(e[1]=e[0]),r=b.duration,i=b.times,o=b.ease,a="keyframes"}let u=uR(s.owner.current,l,e,{...this.options,duration:r,times:i,ease:o});return u.startTime=c??this.calcStartTime(),this.pendingTimeline?(u.timeline=this.pendingTimeline,this.pendingTimeline=void 0):u.onfinish=()=>{let{onComplete:f}=this.options;s.set(Rl(e,this.options,t)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:i,type:a,ease:o,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return Hn(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return Hn(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=Cn(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{let{resolved:t}=this;if(!t)return ht;let{animation:n}=t;n.timeline=e,n.onfinish=null}return ht}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.playState==="finished"&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:i,ease:o,times:a}=e;if(t.playState==="idle"||t.playState==="finished")return;if(this.time){let{motionValue:l,onUpdate:c,onComplete:u,element:f,...d}=this.options,p=new Pl({...d,keyframes:n,duration:r,type:i,ease:o,times:a,isGenerator:!0}),y=Cn(this.time);l.setWithVelocity(p.sample(y-hl).value,p.sample(y).value,hl)}let{onStop:s}=this.options;s&&s(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:a}=e;return fR()&&n&&qg.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUp
1date&&!r&&i!=="mirror"&&o!==0&&a!=="inertia"}},id=class{constructor(){this.subscriptions=[]}add(e){return Sl(this.subscriptions,e),()=>ka(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let o=this.subscriptions[i];o&&o(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},Ov=30,mR=e=>!isNaN(parseFloat(e)),fa={current:void 0},Ta=class{constructor(e,t={}){this.version="11.3.28",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,r=!0)=>{let i=cr.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=cr.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=mR(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new id);let n=this.events[e].add(t);return e==="change"?()=>{n(),K.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){!t||!this.passiveEffect?this.updateAndNotify(e,t):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return fa.current&&fa.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=cr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Ov)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Ov);return Wf(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function je(e,t){return new Ta(e,t)}function _l(e,t,n){let r=e.getProps();return Nf(r,t,n!==void 0?n:r.custom,e)}var vR={type:"spring",stiffness:500,damping:25,restSpeed:10},gR=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),yR={type:"keyframes",duration:.8},bR={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},xR=(e,{keyframes:t})=>t.length>2?yR:Dr.has(e)?e.startsWith("scale")?gR(t[1]):vR:bR;function wR({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function od(e,t){return e[t]||e.default||e}function SR(e,t){let n,r=()=>{let{currentTime:i}=t,a=(i===null?0:i.value)/100;n!==a&&e(a),n=a};return K.update(r,!0),()=>Vt(r)}var kR=_y(()=>F.ScrollTimeline!==void 0),ad=class{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(n=>{if(kR()&&n.attachTimeline)n.attachTimeline(e);else return n.pause(),SR(r=>{n.time=n.duration*r},e)});return()=>{t.forEach((n,r)=>{n&&n(),this.animations[r].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}},sd=(e,t,n,r={},i,o,a)=>s=>{let l=od(r,e)||{},c=l.delay||r.delay||0,{elapsed:u=0}=r;u=u-Cn(c);let f={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:p=>{t.set(p),l.onUpdate&&l.onUpdate(p)},onComplete:()=>{s(),l.onComplete&&l.onComplete(),a&&a()},onStop:a,name:e,motionValue:t,element:o?void 0:i};wR(l)||(f={...f,...xR(e,f)}),f.duration&&(f.duration=Cn(f.duration)),f.repeatDelay&&(f.repeatDelay=Cn(f.repeatDelay)),f.from!==void 0&&(f.keyframes[0]=f.from);let d=!1;if((f.type===!1||f.duration===0&&!f.repeatDelay)&&(f.duration=0,f.delay===0&&(
1d=!0)),(dl.current||bl.skipAnimations)&&(d=!0,f.duration=0,f.delay=0),d&&!o&&t.get()!==void 0){let p=Rl(f.keyframes,l);if(p!==void 0)return K.update(()=>{f.onUpdate(p),f.onComplete()}),new ad([])}return!o&&wf.supports(f)?new wf(f):new Pl(f)};function CR(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,je(n))}function ld(e,t){let n=_l(e,t),{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(let a in o){let s=JT(o[a]);CR(e,a,s)}}function Ly(e){return e.getProps()[yl]}var TR=class extends Ta{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(e){let t=Kg(e);if(!t)return;let n=this.counts.get(t)||0;this.counts.set(t,n+1),n===0&&(this.output.push(t),this.update());let r=!1;return()=>{if(r)return;r=!0;let i=this.counts.get(t)-1;this.counts.set(t,i),i===0&&(ka(this.output,t),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}};function ER(e){return!!(Me(e)&&e.add)}function Sf(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");if(!r&&!(!((n=e.props.style)===null||n===void 0)&&n.willChange)&&(r=new TR("auto"),e.addValue("willChange",r)),ER(r))return r.add(t)}function RR({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function cd(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;r&&(a=r);let c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(let f in l){let d=e.getValue(f,(o=e.latestValues[f])!==null&&o!==void 0?o:null),p=l[f];if(p===void 0||u&&RR(u,f))continue;let y={delay:n,...od(a||{},f)},g=!1;if(F.MotionHandoffAnimation){let h=Ly(e);if(h){let m=F.MotionHandoffAnimation(h,f,K);m!==null&&(y.startTime=m,g=!0)}}d.start(sd(f,d,p,e.shouldReduceMotion&&Dr.has(f)?{type:!1}:y,e,g,Sf(e,f)));let b=d.animation;b&&c.push(b)}return s&&Promise.all(c).then(()=>{K.update(()=>{s&&ld(e,s)})}),c}function kf(e,t,n={}){var r;let i=_l(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);let a=i?()=>Promise.all(cd(e,i,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:u=0,staggerChildren:f,staggerDirection:d}=o;return PR(e,t,u+c,f,d,n)}:()=>Promise.resolve(),{when:l}=o;if(l){let[c,u]=l==="beforeChildren"?[a,s]:[s,a];return c().then(()=>u())}else return Promise.all([a(),s(n.delay)])}function PR(e,t,n=0,r=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*r,l=i===1?(c=0)=>c*r:(c=0)=>s-c*r;
vendor: 4,206 bytes, line 1
1return Array.from(e.variantChildren).sort(_R).forEach((c,u)=>{c.notify("AnimationStart",t),a.push(kf(c,t,{...o,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(a)}function _R(e,t){return e.sortNodePosition(t)}function ud(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){let i=t.map(o=>kf(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=kf(e,t,n);else{let i=typeof t=="function"?_l(e,t,n.custom):t;r=Promise.all(cd(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function Oy(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var IR=[...Df].reverse(),FR=Df.length;function MR(e){return t=>Promise.all(t.map(({animation:n,options:r})=>ud(e,n,r)))}function LR(e){let t=MR(e),n=Dv(),r=!0,i=l=>(c,u)=>{var f;let d=_l(e,u,l==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){let{transition:p,transitionEnd:y,...g}=d;c={...c,...g,...y}}return c};function o(l){t=l(e)}function a(l){let c=e.getProps(),u=e.getVariantContext(!0)||{},f=[],d=new Set,p={},y=1/0;for(let b=0;b<FR;b++){let h=IR[b],m=n[h],v=c[h]!==void 0?c[h]:u[h],w=va(v),C=h===l?m.isActive:null;C===!1&&(y=b);let S=v===u[h]&&v!==c[h]&&w;if(S&&r&&e.manuallyAnimateOnMount&&(S=!1),m.protectedKeys={...p},!m.isActive&&C===null||!v&&!m.prevProp||ga(v)||typeof v=="boolean")continue;let T=OR(m.prevProp,v)||h===l&&m.isActive&&!S&&w||b>y&&w,M=!1,I=Array.isArray(v)?v:[v],B=I.reduce(i(h),{});C===!1&&(B={});let{prevResolvedValues:D={}}=m,X={...D,...B},H=z=>{T=!0,d.has(z)&&(M=!0,d.delete(z)),m.needsAnimating[z]=!0;let j=e.getValue(z);j&&(j.liveStyle=!1)};for(let z in X){let j=B[z],ee=D[z];if(p.hasOwnProperty(z))continue;let te=!1;df(j)&&df(ee)?te=!Oy(j,ee):te=j!==ee,te?j!=null?H(z):d.add(z):j!==void 0&&d.has(z)?H(z):m.protectedKeys[z]=!0}m.prevProp=v,m.prevResolvedValues=B,m.isActive&&(p={...p,...B}),r&&e.blockInitialAnimation&&(T=!1),T&&(!S||M)&&f.push(...I.map(z=>({animation:z,options:{type:h}})))}if(d.size){let b={};d.forEach(h=>{let m=e.getBaseTarget(h),v=e.getValue(h);v&&(v.liveStyle=!0),b[h]=m??null}),f.push({animation:b})}let g=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(f):Promise.resolve()}function s(l,c){var u;if(n[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(d=>{var p;return(p=d.animationState)===null||p===void 0?void 0:p.setActive(l,c)}),n[l].isActive=c;let f=a(l);for(let d in n)n[d].protectedKeys={};return f}return{animateChanges:a,setActive:s,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Dv(),r=!0}}}function OR(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Oy(t,e):!1}function hi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Dv(){return{animate:hi(!0),whileInView:hi(),whileHover:hi(),whileTap:hi(),whileDrag:hi(),whileFocus:hi(),exit:hi()}}var Ar=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},DR=class extends Ar{constructor(e){super(e),e.animationState||(e.animationState=LR(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();ga(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}},AR=0,VR=class extends Ar{constructor(){super(...arguments),this.id=AR++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}},Il={animation:{Feature:DR},exit:{Feature:VR}},Cf=(e,t)=>Math.abs(e-t);function Dy(e,t){let n=Cf(e.x,t.x),r=Cf(e.y,t.y);return Math.sqrt(n**2+r**2)}var Ay=1e-4,BR=1-Ay,$R=1+Ay,Vy=.01,zR=0-Vy,NR=0+Vy;function Bt(e){return e.max-e.min}
1function HR(e,t,n){return Math.abs(e-t)<=n}function Av(e,t,n,r=.5){e.origin=r,e.originPoint=Ee(t.min,t.max,e.origin),e.scale=Bt(n)/Bt(t),e.translate=Ee(n.min,n.max,e.origin)-e.originPoint,(e.scale>=BR&&e.scale<=$R||isNaN(e.scale))&&(e.scale=1),(e.translate>=zR&&e.translate<=NR||isNaN(e.translate))&&(e.translate=0)}function da(e,t,n,r){Av(e.x,t.x,n.x,r?r.originX:void 0),Av(e.y,t.y,n.y,r?r.originY:void 0)}function Vv(e,t,n){e.min=n.min+t.min,e.max=e.min+Bt(t)}function jR(e,t,n){Vv(e.x,t.x,n.x),Vv(e.y,t.y,n.y)}function Bv(e,t,n){e.min=t.min-n.min,e.max=e.min+Bt(t)}function ha(e,t,n){Bv(e.x,t.x,n.x),Bv(e.y,t.y,n.y)}var $v=()=>({translate:0,scale:1,origin:0,originPoint:0}),eo=()=>({x:$v(),y:$v()}),zv=()=>({min:0,max:0}),Ne=()=>({x:zv(),y:zv()});function fd(){let e=V(ao);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=di();N(()=>r(i),[]);let o=oe(()=>n&&n(i),[i,n]);return!t&&n?[!1,o]:[!0]}var WR=(e,t)=>e.depth-t.depth,By=class{constructor(){this.children=[],this.isDirty=!1}add(e){Sl(this.children,e),this.isDirty=!0}remove(e){ka(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(WR),this.isDirty=!1,this.children.forEach(e)}};function $y(e,t){let n=cr.now(),r=({timestamp:i})=>{let o=i-n;o>=t&&(Vt(r),e(o-t))};return K.read(r,!0),()=>Vt(r)}var hr=new WeakMap,pl={current:null},dd={current:!1};function zy(){if(dd.current=!0,!!vl)if(F.matchMedia){let e=F.matchMedia("(prefers-reduced-motion)"),t=()=>pl.current=e.matches;e.addListener(t),t()}else pl.current=!1}function UR(e,t,n){for(let r in t){let i=t[r],o=n[r];if(Me(i))e.addValue(r,i);else if(Me(o))e.addValue(r,je(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){let a=e.getValue(r);a.liveStyle===!0?a.jump(i):a.hasAnimated||a.set(i)}else{let a=e.getStaticValue(r);e.addValue(r,je(a!==void 0?a:i,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var XR=[...Ey,dt,dr],YR=e=>XR.find(Ty(e)),Nv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],GR=Af.length,Ny=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},a={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Jf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,K.render(this.render,!1,!0))};let{latestValues:s,renderState:l}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=wl(t),this.isVariantNode=Hg(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:c,...u}=this.scrapeMotionValuesFromProps(t,{},this);for(let f in u){let d=u[f];s[f]!==void 0&&Me(d)&&d.set(s[f],!1)}}mount(e){this.current=e,hr.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,n)=>this.bindToMotionValue(n,t)),dd.current||zy(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:pl.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){hr.delete(this.current),this.projection&&this.projection.unmount(),Vt(this.notifyUpdate),Vt(this.render),this.valueSubscriptions.forEach(e
1=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n=Dr.has(e),r=t.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&K.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in ro){let t=ro[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let i=this.features[e];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ne()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let n=0;n<Nv.length;n++){let r=Nv[n];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let i="on"+r,o=e[i];o&&(this.propEventSubscriptions[r]=this.on(r,o))}this.prevMotionValues=UR(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let n=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(n.initial=this.props.initial),n}let t={};for(let n=0;n<GR;n++){let r=Af[n],i=this.props[r];(va(i)||i===!1)&&(t[r]=i)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=je(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(n=this.getBaseTargetFromProps(this.props,e))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,e,this.options);return r!=null&&(typeof r=="string"&&(ky(r)||Sy(r))?r=parseFloat(r):!YR(r)&&dr.test(t)&&(r=Ry(e,t)),this.setBaseTarget(e,Me(r)?r.get():r)),Me(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:n}=this.props,r;if(typeof n=="string"||typeof n=="object"){let o=Nf(this.props,n,(t=this.presenceContext)===null||t===void 0?void 0:t.custom);o&&(r=o[e])}if(n&&r!==void 0)return r;let i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!Me(i)?i:this.initialValues[e]!==void 0&&r===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new id),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}};function Hy(e){function t(r,i={}){return jg(e(r,i))}if(typeof Proxy>"u")return t;let n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}var qR=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function hd(e){return typeof e!="string"||e.includes("-")?!1:!!(qR.indexOf(e)>-1||/[A-Z]/u.test(e))}function jy(e,{layout:t,layoutId:n}){return Dr.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!cl[e]||e==="opacity")}
1function pd(e,t,n){let{style:r,vars:i,transformOrigin:o}=e,a=!1,s=!1;for(let l in t){let c=t[l];if(Dr.has(l)){a=!0;continue}else if(py(l)){i[l]=c;continue}else{let u=Wg(c,zf[l]);l.startsWith("origin")?(s=!0,o[l]=u):r[l]=u}}if(t.transform||(a||n?r.transform=Ug(t,e.transform,n):r.transform&&(r.transform="none")),s){let{originX:l="50%",originY:c="50%",originZ:u=0}=o;r.transformOrigin=`${l} ${c} ${u}`}}var md=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Wy(e,t,n){for(let r in t)!Me(t[r])&&!jy(r,n)&&(e[r]=t[r])}function KR({transformTemplate:e},t){return ae(()=>{let n=md();return pd(n,t,e),Object.assign({},n.vars,n.style)},[t])}function QR(e,t){let n=e.style||{},r={};return Wy(r,n,e),Object.assign(r,KR(e,t)),r}function ZR(e,t){let n={},r=QR(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function Hv(e,t,n){return typeof e=="string"?e:q.transform(t+n*e)}function JR(e,t,n){let r=Hv(t,e.x,e.width),i=Hv(n,e.y,e.height);return`${r} ${i}`}var eP={offset:"stroke-dashoffset",array:"stroke-dasharray"},tP={offset:"strokeDashoffset",array:"strokeDasharray"};function nP(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?eP:tP;e[o.offset]=q.transform(-r);let a=q.transform(t),s=q.transform(n);e[o.array]=`${a} ${s}`}function vd(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,f){if(pd(e,c,f),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:p,dimensions:y}=e;d.transform&&(y&&(p.transform=d.transform),delete d.transform),y&&(i!==void 0||o!==void 0||p.transform)&&(p.transformOrigin=JR(y,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),a!==void 0&&nP(d,a,s,l,!1)}var Uy=()=>({...md(),attrs:{}}),gd=e=>typeof e=="string"&&e.toLowerCase()==="svg";function rP(e,t,n,r){let i=ae(()=>{let o=Uy();return vd(o,t,gd(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};Wy(o,e.style,e),i.style={...o,...i.style}}return i}function iP(e=!1){return(n,r,i,{latestValues:o},a)=>{let l=(hd(n)?rP:ZR)(r,o,a,n),c=Gg(r,typeof n=="string",e),u=n!==or?{...c,...l,ref:i}:{},{children:f}=r,d=ae(()=>Me(f)?f.get():f,[f]);return qi(n,{...u,children:d})}}function Xy(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(let o in n)e.style.setProperty(o,n[o])}var Yy=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Gy(e,t,n,r){Xy(e,t,void 0,r);for(let i in t.attrs)e.setAttribute(Yy.has(i)?i:gl(i),t.attrs[i])}function yd(e,t,n){var r;let{style:i}=e,o={};for(let a in i)(Me(i[a])||t.style&&Me(t.style[a])||jy(a,e)||((r=n?.getValue(a))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[a]=i[a]);return n&&i&&typeof i.willChange=="string"&&(n.applyWillChange=!1),o}
1function qy(e,t,n){let r=yd(e,t,n);for(let i in e)if(Me(e[i])||Me(t[i])){let o=Sa.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}var oP={useVisualState:kl({scrapeMotionValuesFromProps:qy,createRenderState:Uy,onMount:(e,t,{renderState:n,latestValues:r})=>{K.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),K.render(()=>{vd(n,r,gd(t.tagName),e.transformTemplate),Gy(t,n)})}})},aP={useVisualState:kl({applyWillChange:!0,scrapeMotionValuesFromProps:yd,createRenderState:md})};function Ky(e,{forwardMotionProps:t=!1},n,r){return{...hd(e)?oP:aP,preloadedFeatures:n,useRender:iP(t),createVisualElement:r,Component:e}}function jv(e,t){let n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,a)=>{if(o.pointerType==="touch"||Hf())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t);let l=s[r];l&&K.postRender(()=>l(o,a))};return zn(e.current,n,i,{passive:!e.getProps()[r]})}var sP=class extends Ar{mount(){this.unmount=Nn(jv(this.node,!0),jv(this.node,!1))}unmount(){}},lP=class extends Ar{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Nn(lr(this.node.current,"focus",()=>this.onFocus()),lr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}},Qy=(e,t)=>t?e===t?!0:Qy(e,t.parentElement):!1;function rf(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,Cl(n))}var cP=class extends Ar{constructor(){super(...arguments),this.removeStartListeners=ht,this.removeEndListeners=ht,this.removeAccessibleListeners=ht,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),i=zn(F,"pointerup",(a,s)=>{if(!this.checkPressEnd())return;let{onTap:l,onTapCancel:c,globalTapTarget:u}=this.node.getProps(),f=!u&&!Qy(this.node.current,a.target)?c:l;f&&K.update(()=>f(a,s))},{passive:!(n.onTap||n.onPointerUp)}),o=zn(F,"pointercancel",(a,s)=>this.cancelPress(a,s),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Nn(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=i=>{if(i.key!=="Enter"||this.isPressing)return;let o=a=>{a.key!=="Enter"||!this.checkPressEnd()||rf("up",(s,l)=>{let{onTap:c}=this.node.getProps();c&&K.postRender(()=>c(s,l))})};this.removeEndListeners(),this.removeEndListeners=lr(this.node.current,"keyup",o),rf("down",(a,s)=>{this.startPress(a,s)})},t=lr(this.node.current,"keydown",e),n=()=>{this.isPressing&&rf("cancel",(i,o)=>this.cancelPress(i,o))},r=lr(this.node.current,"blur",n);this.removeAccessibleListeners=Nn(t,r)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&K.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Hf()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&K.postRender(()=>n(e,t))}mount(){let e=this.node.getProps(),t=zn(e.globalTapTarget?F:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=lr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Nn(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}},Tf=new WeakMap,of=new WeakMap,uP=e=>{let t=Tf.get(e.target);t&&t(e)},fP=e=>{e.forEach(uP)};function dP({root:e,...t}){let n=e||document;of.has(n)||of.set(n,{});let r=of.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(fP,{root:e,...t})),r[i]}function hP(e,t,n){let r=dP(t);return Tf.set(e,n),r.observe(e),()=>{Tf.delete(e),r.unobserve(e)}}var pP={some:0,all:1},mP=class extends Ar{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:typeof r=="number"?r:pP[r]},a=s=>{let{isIntersecting:l}=s;if(this.isInView===l||(this.isInView=l,i&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);let{onViewportEnter:c,onViewportLeave:u}=this.node.getProps(),f=l?c:u;f&&f(s)};return hP(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(vP(e,t))&&this.startObserver()}unmount(){}};function vP({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var Zy={inView:{Feature:mP},tap:{Feature:cP},focus:{Feature:lP},hover:{Feature:sP}},Jy=class{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=F,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let u=sf(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=Dy(u.offset,{x:0,y:0})>=3;if(!f&&!d)return;let{point:p}=u,{timestamp:y}=He;this.history.push({...p,timestamp:y}
vendor: 39,585 bytes, line 1
1);let{onStart:g,onMove:b}=this.handlers;f||(g&&g(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,u)},this.handlePointerMove=(u,f)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=af(f,this.transformPagePoint),K.update(this.updatePoint,!0)},this.handlePointerUp=(u,f)=>{this.end();let{onEnd:d,onSessionEnd:p,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let g=sf(u.type==="pointercancel"?this.lastMoveEventInfo:af(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(u,g),p&&p(u,g)},!Qg(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||F;let o=Cl(e),a=af(o,this.transformPagePoint),{point:s}=a,{timestamp:l}=He;this.history=[{...s,timestamp:l}];let{onSessionStart:c}=t;c&&c(e,sf(a,this.history)),this.removeListeners=Nn(zn(this.contextWindow,"pointermove",this.handlePointerMove),zn(this.contextWindow,"pointerup",this.handlePointerUp),zn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Vt(this.updatePoint)}};function af(e,t){return t?{point:t(e.point)}:e}function Wv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function sf({point:e},t){return{point:e,delta:Wv(e,e0(t)),offset:Wv(e,gP(t)),velocity:yP(t,.1)}}function gP(e){return e[0]}function e0(e){return e[e.length-1]}function yP(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=e0(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Cn(t)));)n--;if(!r)return{x:0,y:0};let o=Hn(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};let a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function bP(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Ee(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Ee(n,e,r.max):Math.min(e,n)),e}function Uv(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function xP(e,{top:t,left:n,bottom:r,right:i}){return{x:Uv(e.x,n,i),y:Uv(e.y,t,r)}}function Xv(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function wP(e,t){return{x:Xv(e.x,t.x),y:Xv(e.y,t.y)}}function SP(e,t){let n=.5,r=Bt(e),i=Bt(t);return i>r?n=Lr(t.min,t.max-r,e.min):r>i&&(n=Lr(e.min,e.max-i,t.min)),fr(0,1,n)}function kP(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var Ef=.35;function CP(e=Ef){return e===!1?e=0:e===!0&&(e=Ef),{x:Yv(e,"left","right"),y:Yv(e,"top","bottom")}}function Yv(e,t,n){return{min:Gv(e,t),max:Gv(e,n)}}function Gv(e,t){return typeof e=="number"?e:e[t]||0}function dn(e){return[e("x"),e("y")]}function t0({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function TP({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function EP(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function lf(e){return e===void 0||e===1}function Rf({scale:e,scaleX:t,scaleY:n}){return!lf(e)||!lf(t)||!lf(n)}function pi(e){return Rf(e)||n0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function n0(e){return qv(e.x)||qv(e.y)}function qv(e){return e&&e!=="0%"}function ml(e,t,n){let r=e-n,i=t*r;return n+i}function Kv(e,t,n,r,i){return i!==void 0&&(e=ml(e,i,r)),ml(e,n,r)+t}function Pf(e,t=0,n=1,r,i){e.min=Kv(e.min,t,n,r,i),e.max=Kv(e.max,t,n,r,i)}function r0(e,{x:t,y:n}){Pf(e.x,t.translate,t.scale,t.originPoint),Pf(e.y,n.translate,n.scale,n.originPoint)}var Qv=.999999999999,Zv=1.0000000000001;function RP(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let o,a;for(let s=0;s<i;s++){o=n[s],a=o.projectionDelta;let{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&no(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,r0(e,a)),r&&pi(o.latestValues)&&no(e,o.latestValues))}t.x<Zv&&t.x>Qv&&(t.x=1),t.y<Zv&&t.y>Qv&&(t.y=1)}function to(e,t){e.min=e.min+t,e.max=e.max+t}function Jv(e,t,n,r,i=.5){let o=Ee(e.min,e.max,i);Pf(e,t,n,o,r)}function no(e,t){Jv(e.x,t.x,t.scaleX,t.scale,t.originX),Jv(e.y,t.y,t.scaleY,t.scale,t.originY)}function i0(e,t){return t0(EP(e.getBoundingClientRect(),t))}function PP(e,t,n){let r=i0(e,n),{scroll:i}=t;return i&&(to(r.x,i.offset.x),to(r.y,i.offset.y)),r}var o0=({current:e})=>e?e.ownerDocument.defaultView:null,_P=new WeakMap,IP=class{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ne(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let r=c=>{let{dragSnapToOrigin:u}=this.getProps();u?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Cl(c,"page").point)},i=(c,u)=>{var f;let{drag:d,dragPropagation:p,onDragStart:y}=this.getProps();if(d&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ey(d),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),dn(b=>{let h=this.getAxisMotionValue(b).get()||0;if($n.test(h)){let{projection:m}=this.visualElement;if(m&&m.layout){let v=m.layout.layoutBox[b];v&&(h=Bt(v)*(parseFloat(h)/100))}}this.originPoint[b]=h}),y&&K.postRender(()=>y(c,u)),(f=this.removeWillChange)===null||f===void 0||f.call(this),this.removeWillChange=Sf(this.visualElement,"transform");let{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,u)=>{let{dragPropagation:f,dragDirectionLock:d,onDirectionLock:p,onDrag:y}=this.getProps();if(!f&&!this.openGlobalLock)return;let{offset:g}=u;if(d&&this.currentDirection===null){this.currentDirection=FP(g),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",u.point,g),this.updateAxis("y",u.point,g),this.visualElement.render(),y&&y(c,u)},a=(c,u)=>this.stop(c,u),s=()=>dn(c=>{var u;return this.getAnimationState(c)==="paused"&&((u=this.getAxisMotionValue(c).animation)===null||u===void 0?void 0:u.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new Jy(e,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:o0(this.visualElement)})}stop(e,t){var n;(n=this.removeWillChange)===null||n===void 0||n.call(this);let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:i}=t;this.startAnimation(i);let{onDragEnd:o}=this.getProps();o&&K.postRender(()=>o(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!nl(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=bP(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,i=this.constraints;t&&Zi(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=xP(r.layoutBox,t):this.constraints=!1,this.elastic=CP(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&dn(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=kP(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Zi(e))return!1;let n=e.current;Qt(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=PP(n,r.root,this.visualElement.getTransformPagePoint()),o=wP(r.layout.layoutBox,i);if(t){let a=t(TP(o));this.hasMutatedConstraints=!!a,a&&(o=t0(a))}return o}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=dn(c=>{if(!nl(c,t,this.currentDirection))return;let u=s&&s[c]||{};o&&(u={min:0,max:0});let f=r?200:1e6,d=r?40:1e7,p={type:"inertia",velocity:n?e[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(c,p)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return n.start(sd(e,n,0,t,this.visualElement,!1,Sf(this.visualElement,e)))}stopAnimation(){dn(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){dn(e=>{var t;return(t=this.getAxisMotionValue(e).animation)===null||t===void 0?void 0:t.pause()})}getAnimationState(e){var t;return(t=this.getAxisMotionValue(e).animation)===null||t===void 0?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){dn(t=>{let{drag:n}=this.getProps();if(!nl(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:o,max:a}=r.layout.layoutBox[t];i.set(e[t]-Ee(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Zi(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};dn(o=>{let a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){let s=a.get();r[o]=SP({min:s,max:s},this.constraints[o])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),dn(o=>{if(!nl(o,e,null))return;let a=this.getAxisMotionValue(o),{min:s,max:l}=this.constraints[o];a.set(Ee(s,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;_P.set(this.visualElement,this);let e=this.visualElement.current,t=zn(e,"pointerdown",s=>{let{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(s)}),n=()=>{let{dragConstraints:s}=this.getProps();Zi(s)&&s.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),K.read(n);let o=lr(F,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:s,hasLayoutChanged:l})=>{this.isDragging&&l&&(dn(c=>{let u=this.getAxisMotionValue(c);u&&(this.originPoint[c]+=s[c].translate,u.set(u.get()+s[c].translate))}),this.visualElement.render())});return()=>{o(),t(),i(),a&&a()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=Ef,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}};function nl(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function FP(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}var MP=class extends Ar{constructor(e){super(e),this.removeGroupControls=ht,this.removeListeners=ht,this.controls=new IP(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ht}unmount(){this.removeGroupControls(),this.removeListeners()}},eg=e=>(t,n)=>{e&&K.postRender(()=>e(t,n))},LP=class extends Ar{constructor(){super(...arguments),this.removePointerDownListener=ht}onPointerDown(e){this.session=new Jy(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:o0(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:eg(e),onStart:eg(t),onMove:n,onEnd:(i,o)=>{delete this.session,r&&K.postRender(()=>r(i,o))}}}mount(){this.removePointerDownListener=zn(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},al={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ia={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(q.test(e))e=parseFloat(e);else return e;let n=tg(e,t.target.x),r=tg(e,t.target.y);return`${n}% ${r}%`}},OP={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=dr.parse(e);if(i.length>5)return r;let o=dr.createTransformer(e),a=typeof i[0]!="number"?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;let c=Ee(s,l,.5);return typeof i[2+a]=="number"&&(i[2+a]/=c),typeof i[3+a]=="number"&&(i[3+a]/=c),o(i)}},DP=class extends Se{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;Bf(AP),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),al.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||e.layoutDependency!==t||t===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||K.postRender(()=>{let a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Of.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function a0(e){let[t,n]=fd(),r=V(ma);return k(DP,{...e,layoutGroup:r,switchLayoutGroup:V(xl),isPresent:t,safeToRemove:n})}var AP={borderRadius:{...ia,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ia,borderTopRightRadius:ia,borderBottomLeftRadius:ia,borderBottomRightRadius:ia,boxShadow:OP},s0=["TopLeft","TopRight","BottomLeft","BottomRight"],VP=s0.length,ng=e=>typeof e=="string"?parseFloat(e):e,rg=e=>typeof e=="number"||q.test(e);function BP(e,t,n,r,i,o){i?(e.opacity=Ee(0,n.opacity!==void 0?n.opacity:1,$P(r)),e.opacityExit=Ee(t.opacity!==void 0?t.opacity:1,0,zP(r))):o&&(e.opacity=Ee(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a<VP;a++){let s=`border${s0[a]}Radius`,l=ig(t,s),c=ig(n,s);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||rg(l)===rg(c)?(e[s]=Math.max(Ee(ng(l),ng(c),r),0),($n.test(c)||$n.test(l))&&(e[s]+="%")):e[s]=c}(t.rotate||n.rotate)&&(e.rotate=Ee(t.rotate||0,n.rotate||0,r))}function ig(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var $P=l0(0,.5,Gf),zP=l0(.5,.95,ht);function l0(e,t,n){return r=>r<e?0:r>t?1:n(Lr(e,t,r))}function og(e,t){e.min=t.min,e.max=t.max}function fn(e,t){og(e.x,t.x),og(e.y,t.y)}function ag(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function sg(e,t,n,r,i){return e-=t,e=ml(e,1/n,r),i!==void 0&&(e=ml(e,1/i,r)),e}function NP(e,t=0,n=1,r=.5,i,o=e,a=e){if($n.test(t)&&(t=parseFloat(t),t=Ee(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=Ee(o.min,o.max,r);e===o&&(s-=t),e.min=sg(e.min,t,n,s,i),e.max=sg(e.max,t,n,s,i)}function lg(e,t,[n,r,i],o,a){NP(e,t[n],t[r],t[i],t.scale,o,a)}var HP=["x","scaleX","originX"],jP=["y","scaleY","originY"];function cg(e,t,n,r){lg(e.x,t,HP,n?n.x:void 0,r?r.x:void 0),lg(e.y,t,jP,n?n.y:void 0,r?r.y:void 0)}function ug(e){return e.translate===0&&e.scale===1}function c0(e){return ug(e.x)&&ug(e.y)}function fg(e,t){return e.min===t.min&&e.max===t.max}function WP(e,t){return fg(e.x,t.x)&&fg(e.y,t.y)}function dg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function u0(e,t){return dg(e.x,t.x)&&dg(e.y,t.y)}function hg(e){return Bt(e.x)/Bt(e.y)}function pg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var UP=class{constructor(){this.members=[]}add(e){Sl(this.members,e),e.scheduleRender()}remove(e){if(ka(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(e){let t=this.members.findIndex(r=>e===r);if(t===0)return!1;let n;for(let r=t;r>=0;r--){let i=this.members[r];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;r===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function XP(e,t,n){let r="",i=e.x.translate/t.x,o=e.y.translate/t.y,a=n?.z||0;if((i||o||a)&&(r=`translate3d(${i}px, ${o}px, ${a}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:c,rotate:u,rotateX:f,rotateY:d,skewX:p,skewY:y}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),f&&(r+=`rotateX(${f}deg) `),d&&(r+=`rotateY(${d}deg) `),p&&(r+=`skewX(${p}deg) `),y&&(r+=`skewY(${y}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(s!==1||l!==1)&&(r+=`scale(${s}, ${l})`),r||"none"}function f0(e){return e instanceof SVGElement&&e.tagName!=="svg"}function bd(e,t,n){let r=Me(e)?e:je(e);return r.start(sd("",r,t,n)),r.animation}var mi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},la=typeof F<"u"&&F.MotionDebug!==void 0,cf=["","X","Y","Z"],YP={visibility:"hidden"},mg=1e3,GP=0;function uf(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function d0(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;let{visualElement:t}=e.options;return t?F.MotionHasOptimisedTransformAnimation(Ly(t))?!0:e.parent&&!e.parent.hasCheckedOptimisedAppear?d0(e.parent):!1:!1}function h0({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a={},s=t?.()){this.id=GP++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,la&&(mi.totalNodes=mi.resolvedTargetDeltas=mi.recalculatedProjection=0),this.nodes.forEach(QP),this.nodes.forEach(n_),this.nodes.forEach(r_),this.nodes.forEach(ZP),la&&F.MotionDebug.record(mi)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new By)}addEventListener(a,s){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new id),this.eventHandlers.get(a).add(s)}notifyListeners(a,...s){let l=this.eventHandlers.get(a);l&&l.notify(...s)}hasListeners(a){return this.eventHandlers.has(a)}mount(a,s=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=f0(a),this.instance=a;let{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),s&&(c||l)&&(this.isLayoutDirty=!0),e){let f,d=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=$y(d,250),al.hasAnimatedSinceResize&&(al.hasAnimatedSinceResize=!1,this.nodes.forEach(gg))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:p,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let g=this.options.transition||u.getDefaultTransition()||l_,{onLayoutAnimationStart:b,onLayoutAnimationComplete:h}=u.getProps(),m=!this.targetLayout||!u0(this.targetLayout,y)||p,v=!d&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||d&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,v);let w={...od(g,"layout"),onPlay:b,onComplete:h};(u.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else d||gg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Vt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(i_),this.animationId++)}getTransformTemplate(){let{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(F.MotionHandoffCancelAll&&d0(this)&&F.MotionHandoffCancelAll(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){let f=this.path[u];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}let{layoutId:s,layout:l}=this.options;if(s===void 0&&!l)return;let c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(vg);return}this.isUpdating||this.nodes.forEach(e_),this.isUpdating=!1,this.nodes.forEach(t_),this.nodes.forEach(qP),this.nodes.forEach(KP),this.clearAllSnapshots();let s=cr.now();He.delta=fr(0,1e3/60,s-He.timestamp),He.timestamp=s,He.isProcessing=!0,il.update.process(He),il.preRender.process(He),il.render.process(He),He.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Of.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(JP),this.sharedNodes.forEach(o_)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,K.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){K.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();let a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ne(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let s=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(s=!1),s){let l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;let a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,s=this.projectionDelta&&!c0(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;a&&(s||pi(this.latestValues)||u)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){let s=this.measurePageBox(),l=this.removeElementScroll(s);return a&&(l=this.removeTransform(l)),c_(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var a;let{visualElement:s}=this.options;if(!s)return Ne();let l=s.measureViewportBox();if(!(((a=this.scroll)===null||a===void 0?void 0:a.wasRoot)||this.path.some(u_))){let{scroll:u}=this.root;u&&(to(l.x,u.offset.x),to(l.y,u.offset.y))}return l}removeElementScroll(a){var s;let l=Ne();if(fn(l,a),!((s=this.scroll)===null||s===void 0)&&s.wasRoot)return l;for(let c=0;c<this.path.length;c++){let u=this.path[c],{scroll:f,options:d}=u;u!==this.root&&f&&d.layoutScroll&&(f.wasRoot&&fn(l,a),to(l.x,f.offset.x),to(l.y,f.offset.y))}return l}applyTransform(a,s=!1){let l=Ne();fn(l,a);for(let c=0;c<this.path.length;c++){let u=this.path[c];!s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&no(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),pi(u.latestValues)&&no(l,u.latestValues)}return pi(this.latestValues)&&no(l,this.latestValues),l}removeTransform(a){let s=Ne();fn(s,a);for(let l=0;l<this.path.length;l++){let c=this.path[l];if(!c.instance||!pi(c.latestValues))continue;Rf(c.latestValues)&&c.updateSnapshot();let u=Ne(),f=c.measurePageBox();fn(u,f),cg(s,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return pi(this.latestValues)&&cg(s,this.latestValues),s}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==He.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var s;let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let c=!!this.resumingFrom||this!==l;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:f,layoutId:d}=this.options;if(!(!this.layout||!(f||d))){if(this.resolvedRelativeTargetAt=He.timestamp,!this.targetDelta&&!this.relativeTarget){let p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ne(),this.relativeTargetOrigin=Ne(),ha(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),fn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ne(),this.targetWithTransforms=Ne()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),jR(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):fn(this.target,this.layout.layoutBox),r0(this.target,this.targetDelta)):fn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ne(),this.relativeTargetOrigin=Ne(),ha(this.relativeTargetOrigin,this.target,p.target),fn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}la&&mi.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Rf(this.parent.latestValues)||n0(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var a;let s=this.getLead(),l=!!this.resumingFrom||this!==s,c=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===He.timestamp&&(c=!1),c)return;let{layout:u,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||f))return;fn(this.layoutCorrected,this.layout.layoutBox);let d=this.treeScale.x,p=this.treeScale.y;RP(this.layoutCorrected,this.treeScale,this.path,l),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=Ne());let{target:y}=s;if(!y){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ag(this.prevProjectionDelta.x,this.projectionDelta.x),ag(this.prevProjectionDelta.y,this.projectionDelta.y)),da(this.projectionDelta,this.layoutCorrected,y,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==p||!pg(this.projectionDelta.x,this.prevProjectionDelta.x)||!pg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",y)),la&&mi.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){var s;if((s=this.options.visualElement)===null||s===void 0||s.scheduleRender(),a){let l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=eo(),this.projectionDelta=eo(),this.projectionDeltaWithTransform=eo()}setAnimationOrigin(a,s=!1){let l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},f=eo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;let d=Ne(),p=l?l.source:void 0,y=this.layout?this.layout.source:void 0,g=p!==y,b=this.getStack(),h=!b||b.members.length<=1,m=!!(g&&!h&&this.options.crossfade===!0&&!this.path.some(s_));this.animationProgress=0;let v;this.mixTargetDelta=w=>{let C=w/1e3;yg(f.x,a.x,C),yg(f.y,a.y,C),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ha(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),a_(this.relativeTarget,this.relativeTargetOrigin,d,C),v&&WP(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Ne()),fn(v,this.relativeTarget)),g&&(this.animationValues=u,BP(u,c,this.latestValues,C,m,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Vt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=K.update(()=>{al.hasAnimatedSinceResize=!0,this.currentAnimation=bd(0,mg,{...a,onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(mg),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let a=this.getLead(),{targetWithTransforms:s,target:l,layout:c,latestValues:u}=a;if(!(!s||!l||!c)){if(this!==a&&this.layout&&c&&p0(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Ne();let f=Bt(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+f;let d=Bt(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+d}fn(s,l),no(s,u),da(this.projectionDeltaWithTransform,this.layoutCorrected,s,u)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new UP),this.sharedNodes.get(a).add(s);let c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0})}isLead(){let a=this.getStack();return a?a.lead===this:!0}getLead(){var a;let{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;let{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){let{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){let a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){let{visualElement:a}=this.options;if(!a)return;let s=!1,{latestValues:l}=a;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(s=!0),!s)return;let c={};l.z&&uf("z",a,c,this.animationValues);for(let u=0;u<cf.length;u++)uf(`rotate${cf[u]}`,a,c,this.animationValues),uf(`skew${cf[u]}`,a,c,this.animationValues);a.render();for(let u in c)a.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);a.scheduleRender()}getProjectionStyles(a){var s,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return YP;let c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=wt(a?.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;let f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){let g={};return this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=wt(a?.pointerEvents)||""),this.hasProjected&&!pi(this.latestValues)&&(g.transform=u?u({},""):"none",this.hasProjected=!1),g}let d=f.animationValues||f.latestValues;this.applyTransformsToTarget(),c.transform=XP(this.projectionDeltaWithTransform,this.treeScale,d),u&&(c.transform=u(d,c.transform));let{x:p,y}=this.projectionDelta;c.transformOrigin=`${p.origin*100}% ${y.origin*100}% 0`,f.animationValues?c.opacity=f===this?(l=(s=d.opacity)!==null&&s!==void 0?s:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:c.opacity=f===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(let g in cl){if(d[g]===void 0)continue;let{correct:b,applyTo:h}=cl[g],m=c.transform==="none"?d[g]:b(d[g],f);if(h){let v=h.length;for(let w=0;w<v;w++)c[h[w]]=m}else c[g]=m}return this.options.layoutId&&(c.pointerEvents=f===this?wt(a?.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(vg),this.root.sharedNodes.clear()}}}function qP(e){e.updateLayout()}function KP(e){var t;let n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,a=n.source!==e.layout.source;o==="size"?dn(f=>{let d=a?n.measuredBox[f]:n.layoutBox[f],p=Bt(d);d.min=r[f].min,d.max=d.min+p}):p0(o,n.layoutBox,r)&&dn(f=>{let d=a?n.measuredBox[f]:n.layoutBox[f],p=Bt(r[f]);d.max=d.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});let s=eo();da(s,r,n.layoutBox);let l=eo();a?da(l,e.applyTransform(i,!0),n.measuredBox):da(l,r,n.layoutBox);let c=!c0(s),u=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:d,layout:p}=f;if(d&&p){let y=Ne();ha(y,n.layoutBox,d.layoutBox);let g=Ne();ha(g,r,p.layoutBox),u0(y,g)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:s,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function QP(e){la&&mi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ZP(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function JP(e){e.clearSnapshot()}function vg(e){e.clearMeasurements()}function e_(e){e.isLayoutDirty=!1}function t_(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function gg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function n_(e){e.resolveTargetDelta()}function r_(e){e.calcProjection()}
1function i_(e){e.resetSkewAndRotation()}function o_(e){e.removeLeadSnapshot()}function yg(e,t,n){e.translate=Ee(t.translate,0,n),e.scale=Ee(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function bg(e,t,n,r){e.min=Ee(t.min,n.min,r),e.max=Ee(t.max,n.max,r)}function a_(e,t,n,r){bg(e.x,t.x,n.x,r),bg(e.y,t.y,n.y,r)}function s_(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var l_={duration:.45,ease:[.4,0,.1,1]},xg=e=>typeof ze<"u"&&ze.userAgent&&ze.userAgent.toLowerCase().includes(e),wg=xg("applewebkit/")&&!xg("chrome/")?Math.round:ht;function Sg(e){e.min=wg(e.min),e.max=wg(e.max)}function c_(e){Sg(e.x),Sg(e.y)}function p0(e,t,n){return e==="position"||e==="preserve-aspect"&&!HR(hg(t),hg(n),.2)}function u_(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}var f_=h0({attachResizeListener:(e,t)=>lr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),yi={current:void 0},m0=h0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!yi.current){let e=new f_({});e.mount(F),e.setOptions({layoutScroll:!0}),yi.current=e}return yi.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>F.getComputedStyle(e).position==="fixed"}),v0={pan:{Feature:LP},drag:{Feature:MP,ProjectionNode:m0,MeasureLayout:a0}},g0=class extends Ny{constructor(){super(...arguments),this.KeyframeResolver=Py}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}};function d_(e){return F.getComputedStyle(e)}var y0=class extends g0{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Xy}readValueFromInstance(e,t){if(Dr.has(t)){let n=nd(t);return n&&n.default||0}else{let n=d_(e),r=(py(t)?n.getPropertyValue(t):n[t])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return i0(e,t)}build(e,t,n){pd(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return yd(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Me(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}},b0=class extends g0{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ne}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Dr.has(t)){let n=nd(t);return n&&n.default||0}return t=Yy.has(t)?t:gl(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return qy(e,t,n)}
1build(e,t,n){vd(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){Gy(e,t,n,r)}mount(e){this.isSVGTag=gd(e.tagName),super.mount(e)}},xd=(e,t)=>hd(e)?new b0(t):new y0(t,{allowProjection:e!==or}),x0={layout:{ProjectionNode:m0,MeasureLayout:a0}},h_={...Il,...Zy,...v0,...x0},pt=Hy((e,t)=>Ky(e,t,h_,xd));var p_=Hy(Ky),m_=class extends Se{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function v_({children:e,isPresent:t}){let n=di(),r=A(null),i=A({width:0,height:0,top:0,left:0}),{nonce:o}=V(ur);return it(()=>{let{width:a,height:s,top:l,left:c}=i.current;if(t||!r.current||!a||!s)return;r.current.dataset.motionPopId=n;let u=document.createElement("style");return o&&(u.nonce=o),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
2          [data-motion-pop-id="${n}"] {
3            position: absolute !important;
4            width: ${a}px !important;
5            height: ${s}px !important;
6            top: ${l}px !important;
7            left: ${c}px !important;
8          }
9        `),()=>{document.head.removeChild(u)}},[t]),k(m_,{isPresent:t,childRef:r,sizeRef:i,children:ar(e,{ref:r})})}var g_=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{let s=Wn(y_),l=di(),c=ae(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:u=>{s.set(u,!0);for(let f of s.values())if(!f)return;r&&r()},register:u=>(s.set(u,!1),()=>s.delete(u))}),o?[Math.random()]:[n]);return ae(()=>{s.forEach((u,f)=>s.set(f,!1))},[n]),N(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=k(v_,{isPresent:n,children:e})),k(ao.Provider,{value:c,children:e})};function y_(){return new Map}var rl=e=>e.key||"";function kg(e){let t=[];return Bn.forEach(e,n=>{At(n)&&t.push(n)}),t}var wd=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{Qt(!t,"Replace exitBeforeEnter with mode='wait'");let s=ae(()=>kg(e),[e]),l=s.map(rl),c=A(!0),u=A(s),f=Wn(()=>new Map),[d,p]=Ye(s),[y,g]=Ye(s);Or(()=>{c.current=!1,u.current=s;for(let m=0;m<y.length;m++){let v=rl(y[m]);l.includes(v)?f.delete(v):f.get(v)!==!0&&f.set(v,!1)}},[y,l.length,l.join("-")]);let b=[];if(s!==d){let m=[...s];for(let v=0;v<y.length;v++){let w=y[v],C=rl(w);l.includes(C)||(m.splice(v,0,w),b.push(w))}a==="wait"&&b.length&&(m=b),g(kg(m)),p(s);return}let{forceRender:h}=V(ma);return k(Fe,{children:y.map(m=>{let v=rl(m),w=s===y||l.includes(v),C=()=>{if(f.has(v))f.set(v,!0);else return;let S=!0;f.forEach(E=>{E||(S=!1)}),S&&(h?.(),g(u.current),i&&i())};return k(g_,{isPresent:w,initial:!c.current||r?void 0:!1,custom:w?void 0:n,presenceAffectsLayout:o,mode:a,onExitComplete:w?void 0:C,children:m},v)})})};function w0({children:e,isValidProp:t,...n}){t&&Yg(t),n={...V(ur),...n},n.isStatic=Wn(()=>n.isStatic);let r=ae(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return k(ur.Provider,{value:r,children:e})}var S0=xe(null);function b_(){let e=A(!1);return Or(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Sd(){let e=b_(),[t,n]=Ye(0),r=oe(()=>{e.current&&n(t+1)},[t]);return[oe(()=>K.postRender(r),[r]),t]}var x_=e=>!e.isLayoutDirty&&e.willUpdate(!1);function Cg(){let e=new Set,t=new WeakMap,n=()=>e.forEach(x_);return{add:r=>{e.add(r),t.set(r,r.addEventListener("willUpdate",n))},remove:r=>{e.delete(r);let i=t.get(r);i&&(i(),t.delete(r)),n()},dirty:n}}var k0=e=>e===!0,w_=e=>k0(e===!0)||e==="id",C0=({children:e,id:t,inherit:n=!0})=>{let r=V(ma),i=V(S0),[o,a]=Sd(),s=A(null),l=r.id||i;s.current===null&&(w_(n)&&l&&(t=t?l+"-"+t:l),s.current={id:t,group:k0(n)&&r.group||Cg()});let c=ae(()=>({...s.current,forceRender:o}),[a]);return k(ma.Provider,{value:c,children:e})};function Un(e){let t=Wn(()=>je(e)),{isStatic:n}=V(ur);if(n){let[,r]=Ye(e);N(()=>t.on("change",r),[])}return t}var S_=e=>e&&typeof e=="object"&&e.mix,k_=e=>S_(e)?e.mix:void 0;function Ea(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],o=e[2+n],a=e[3+n],s=uo(i,o,{mixer:k_(o[0]),...a}
9);return t?s(r):s}function T0(e,t){let n=Un(t()),r=()=>n.set(t());return r(),Or(()=>{let i=()=>K.preRender(r,!1,!0),o=e.map(a=>a.on("change",i));return()=>{o.forEach(a=>a()),Vt(r)}}),n}function C_(e){fa.current=[],e();let t=T0(fa.current,e);return fa.current=void 0,t}function Ft(e,t,n,r){if(typeof e=="function")return C_(e);let i=typeof t=="function"?t:Ea(t,n,r);return Array.isArray(e)?Tg(e,i):Tg([e],([o])=>i(o))}function Tg(e,t){let n=Wn(()=>[]);return T0(e,()=>{n.length=0;let r=e.length;for(let i=0;i<r;i++)n[i]=e[i].get();return t(n)})}var E0=xe(null);function T_(e,t,n,r){if(!r)return e;let i=e.findIndex(u=>u.value===t);if(i===-1)return e;let o=r>0?1:-1,a=e[i+o];if(!a)return e;let s=e[i],l=a.layout,c=Ee(l.min,l.max,.5);return o===1&&s.layout.max+n>c||o===-1&&s.layout.min+n<c?eE(e,i,i+o):e}function E_({children:e,as:t="ul",axis:n="y",onReorder:r,values:i,...o},a){let s=Wn(()=>pt(t)),l=[],c=A(!1);Qt(!!i,"Reorder.Group must be provided a values prop");let u={axis:n,registerItem:(f,d)=>{let p=l.findIndex(y=>f===y.value);p!==-1?l[p].layout=d[n]:l.push({value:f,layout:d[n]}),l.sort(P_)},updateOrder:(f,d,p)=>{if(c.current)return;let y=T_(l,f,d,p);l!==y&&(c.current=!0,r(y.map(R_).filter(g=>i.indexOf(g)!==-1)))}};return N(()=>{c.current=!1}),k(s,{...o,ref:a,ignoreStrict:!0,children:k(E0.Provider,{value:u,children:e})})}var _z=Ie(E_);function R_(e){return e.value}function P_(e,t){return e.layout.min-t.layout.min}function Eg(e,t=0){return Me(e)?e:Un(t)}function __({children:e,style:t={},value:n,as:r="li",onDrag:i,layout:o=!0,...a},s){let l=Wn(()=>pt(r)),c=V(E0),u={x:Eg(t.x),y:Eg(t.y)},f=Ft([u.x,u.y],([g,b])=>g||b?1:"unset");Qt(!!c,"Reorder.Item must be a child of Reorder.Group");let{axis:d,registerItem:p,updateOrder:y}=c;return k(l,{drag:d,...a,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:f},layout:o,onDrag:(g,b)=>{let{velocity:h}=b;h[d]&&y(n,u[d].get(),h[d]),i&&i(g,b)},onLayoutMeasure:g=>p(n,g),ref:s,ignoreStrict:!0,children:e})}var Mz=Ie(__);var I_={renderer:xd,...Il},R0={renderer:xd,...Il,...Zy},F_={...R0,...v0,...x0};function Rg(e){return typeof e=="number"?e:parseFloat(e)}function kd(e,t={}){let{isStatic:n}=V(ur),r=A(null),i=Un(Me(e)?Rg(e.get()):e),o=A(i.get()),a=A(()=>{}),s=()=>{let c=r.current;c&&c.time===0&&c.sample(He.delta),l(),r.current=td({keyframes:[i.get(),o.current],velocity:i.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:a.current})},l=()=>{r.current&&r.current.stop()};return it(()=>i.attach((c,u)=>n?u(c):(o.current=c,a.current=u,K.update(s),i.get()),l),[JSON.stringify(t)]),Or(()=>{if(Me(e))return e.on("change",c=>i.set(Rg(c)))},[i]),i}function Fl(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(Qt(!!t.current,"Scope provided, but no element detected."),i=t.current),n?((r=n[e])!==null&&r!==void 0||(n[e]=i.querySelectorAll(e)),e=n[e]):e=i.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}var sl=new WeakMap,Mr;function M_(e,t){if(t){let{inlineSize:n,blockSize:r}=t[0];return{width:n,height:r}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function L_({target:e,contentRect:t,borderBoxSize:n}){var r;(r=sl.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return M_(e,n)}})})}function O_(e){e.forEach(L_)}function D_(){typeof ResizeObserver>"u"||(Mr=new ResizeObserver(O_))}function A_(e,t){Mr||D_();let n=Fl(e);return n.forEach(r=>{let i=sl.get(r);i||(i=new Set,sl.set(r,i)),i.add(t),Mr?.observe(r)}),()=>{n.forEach(r=>{let i=sl.get(r);i?.delete(t),i?.size||Mr?.unobserve(r)})}}var ll=new Set,pa;function V_(){pa=()=>{let e={width:F.innerWidth,height:F.innerHeight},t={target:F,size:e,contentSize:e};ll.forEach(n=>n(t))},F.addEventListener("resize",pa)}function B_(e){return ll.add(e),pa||V_(),()=>{ll.delete(e),!ll.size&&pa&&(pa=void 0)}}function $_(e,t){return typeof e=="function"?B_(e):A_(e,t)}var z_=50,Pg=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),N_=()=>({time:0,x:Pg(),y:Pg()}),H_={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function _g(e,t,n,r){let i=n[t],{length:o,position:a}=H_[t],s=i.current,l=n.time;i.current=e[`scroll${a}`],i.scrollLength=e[`scroll${o}`]-e[`client${o}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=Lr(0,i.scrollLength,i.current);let c=r-l;i.velocity=c>z_?0:Wf(i.current-s,c)}function j_(e,t,n){_g(e,"x",t,n),_g(e,"y",t,n),t.time=n}function W_(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){let i=r.getBoundingClientRect();r=r.parentElement;let o=r.getBoundingClientRect();n.x+=i.left-o.left,n.y+=i.top-o.top}else if(r instanceof SVGGraphicsElement){let{x:i,y:o}=r.getBBox();n.x+=i,n.y+=o;let a=null,s=r.parentNode;for(;!a;)s.tagName==="svg"&&(a=s),s=r.parentNode;r=a}else break;return n}var U_={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},_f={start:0,center:.5,end:1};function Ig(e,t,n=0){let r=0;if(e in _f&&(e=_f[e]),typeof e=="string"){let i=parseFloat(e);e.endsWith("px")?r=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?r=i/100*document.documentElement.clientWidth:e.endsWith("vh")?r=i/100*document.documentElement.clientHeight:e=i}return typeof e=="number"&&(r=t*e),n+r}var X_=[0,0];function Y_(e,t,n,r){let i=Array.isArray(e)?e:X_,o=0,a=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,_f[e]?e:"0"]),o=Ig(i[0],n,r),a=Ig(i[1],t),o-a}var G_={x:0,y:0};function q_(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function K_(e,t,n){let{offset:r=U_.All}=n,{target:i=e,axis:o="y"}=n,a=o==="y"?"height":"width",s=i!==e?W_(i,e):G_,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:q_(i),c={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let u=!t[o].interpolate,f=r.length;for(let d=0;d<f;d++){let p=Y_(r[d],c[a],l[a],s[o]);
9!u&&p!==t[o].interpolatorOffsets[d]&&(u=!0),t[o].offset[d]=p}u&&(t[o].interpolate=uo(t[o].offset,ed(r)),t[o].interpolatorOffsets=[...t[o].offset]),t[o].progress=t[o].interpolate(t[o].current)}function Q_(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}function Z_(e,t,n,r={}){return{measure:()=>Q_(e,r.target,n),update:i=>{j_(e,n,i),(r.offset||r.target)&&K_(e,n,r)},notify:()=>t(n)}}var oa=new WeakMap,Fg=new WeakMap,ff=new WeakMap,Mg=e=>e===document.documentElement?F:e;function fo(e,{container:t=document.documentElement,...n}={}){let r=ff.get(t);r||(r=new Set,ff.set(t,r));let i=N_(),o=Z_(t,e,i,n);if(r.add(o),!oa.has(t)){let s=()=>{for(let d of r)d.measure()},l=()=>{for(let d of r)d.update(He.timestamp)},c=()=>{for(let d of r)d.notify()},u=()=>{K.read(s,!1,!0),K.read(l,!1,!0),K.update(c,!1,!0)};oa.set(t,u);let f=Mg(t);F.addEventListener("resize",u,{passive:!0}),t!==document.documentElement&&Fg.set(t,$_(t,u)),f.addEventListener("scroll",u,{passive:!0})}let a=oa.get(t);return K.read(a,!1,!0),()=>{var s;Vt(a);let l=ff.get(t);if(!l||(l.delete(o),l.size))return;let c=oa.get(t);oa.delete(t),c&&(Mg(t).removeEventListener("scroll",c),(s=Fg.get(t))===null||s===void 0||s(),F.removeEventListener("resize",c))}}function Lg(e,t){so(!!(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}var J_=()=>({scrollX:je(0),scrollY:je(0),scrollXProgress:je(0),scrollYProgress:je(0)});function P0({container:e,target:t,layoutEffect:n=!0,...r}={}){let i=Wn(J_);return(n?Or:N)(()=>(Lg("target",t),Lg("container",e),fo(({x:a,y:s})=>{i.scrollX.set(a.current),i.scrollXProgress.set(a.progress),i.scrollY.set(s.current),i.scrollYProgress.set(s.progress)},{...r,container:e?.current||void 0,target:t?.current||void 0})),[e,t,JSON.stringify(r.offset)]),i}function _0(){!dd.current&&zy();let[e]=Ye(pl.current);return e}function bi(){let e=_0(),{reducedMotion:t}=V(ur);return t==="never"?!1:t==="always"?!0:e}function e2(e){e.values.forEach(t=>t.stop())}function If(e,t){[...t].reverse().forEach(r=>{let i=e.getVariant(r);i&&ld(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{If(o,t)})})}function t2(e,t){if(Array.isArray(t))return If(e,t);if(typeof t=="string")return If(e,[t]);ld(e,t)}function I0(){let e=!1,t=new Set,n={subscribe(r){return t.add(r),()=>void t.delete(r)},start(r,i){Qt(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let o=[];return t.forEach(a=>{o.push(ud(a,r,{transitionOverride:i}))}),Promise.all(o)},set(r){return Qt(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(i=>{t2(i,r)})},stop(){t.forEach(r=>{e2(r)})},mount(){return e=!0,()=>{e=!1,n.stop()}}};return n}var F0=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};function n2(e){return typeof e=="object"&&!Array.isArray(e)}function r2(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=f0(e)?new b0(t):new y0(t);n.mount(e),hr.set(e,n)}function i2(e,t=100){let n=Ca({keyframes:[0,t],...e}),r=Math.min(wy(n),bf);return{type:"keyframes",ease:i=>n.next(r*i).value/t,duration:Hn(r)}}function Og(e,t,n,r){var i;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:(i=r.get(t))!==null&&i!==void 0?i:e}function o2(e,t){return yy(e)?e[F0(0,e.length,t)]:e}function a2(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];i.at>t&&i.at<n&&(ka(e,i),r--)}}function s2(e,t,n,r,i,o){a2(e,i,o);for(let a=0;a<t.length;a++)e.push({value:t[a],at:Ee(i,o,r[a]),easing:o2(n,a)})}function l2(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var c2="easeInOut";function u2(e,{defaultTransition:t={},...n}={},r){let i=t.duration||.3,o=new Map,a=new Map,s={},l=new Map,c=0,u=0,f=0;for(let d=0;d<e.length;d++){let p=e[d];if(typeof p=="string"){l.set(p,u);continue}else if(!Array.isArray(p)){l.set(p.name,Og(u,p.at,c,l));continue}let[y,g,b={}]=p;b.at!==void 0&&(u=Og(u,b.at,c,l));let h=0,m=(v,w,C,S=0,E=0)=>{let T=f2(v),{delay:M=0,times:I=ed(T),type:B="keyframes",...D}=w,{ease:X=t.ease||"easeOut",duration:H}=w,z=typeof M=="function"?M(S,E):M,j=T.length;if(j<=2&&B==="spring"){let ne=100;if(j===2&&p2(T)){let de=T[1]-T[0];ne=Math.abs(de)}let ge={...D};H!==void 0&&(ge.duration=Cn(H));let re=i2(ge,ne);X=re.ease,H=re.duration}H??(H=i);let ee=u+z,te=ee+H;I.length===1&&I[0]===0&&(I[1]=1);let G=I.length-T.length;G>0&&by(I,G),T.length===1&&T.unshift(null),s2(C,T,X,I,ee,te),h=Math.max(z+H,h),f=Math.max(te,f)};if(Me(y)){let v=Dg(y,a);m(g,b,Ag("default",v))}else{let v=Fl(y,r,s),w=v.length;for(let C=0;C<w;C++){g=g,b=b;let S=v[C],E=Dg(S,a);for(let T in g)m(g[T],d2(b,T),Ag(T,E),C,w)}}c=u,u+=h}return a.forEach((d,p)=>{for(let y in d){let g=d[y];g.sort(l2);let b=[],h=[],m=[];for(let w=0;w<g.length;w++){let{at:C,value:S,easing:E}=g[w];b.push(S),h.push(Lr(0,f,C)),m.push(E||"easeOut")}h[0]!==0&&(h.unshift(0),b.unshift(b[0]),m.unshift(c2)),h[h.length-1]!==1&&(h.push(1),b.push(null)),o.has(p)||o.set(p,{keyframes:{},transition:{}});let v=o.get(p);v.keyframes[y]=b,v.transition[y]={...t,duration:f,ease:m,times:h,...n}}}),o}function Dg(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function Ag(e,t){return t[e]||(t[e]=[]),t[e]}function f2(e){return Array.isArray(e)?e:[e]}function d2(e,t){return e[t]?{...e,...e[t]}:{...e}}var h2=e=>typeof e=="number",p2=e=>e.every(h2);function M0(e,t,n,r){let i=Fl(e,r),o=i.length;Qt(!!o,"No valid element provided.");let a=[];for(let s=0;s<o;s++){let l=i[s];hr.has(l)||r2(l);let c=hr.get(l),u={...n};typeof u.delay=="function"&&(u.delay=u.delay(s,o)),a.push(...cd(c,{...t,transition:u},{}))}return new ad(a)}var m2=e=>Array.isArray(e)&&Array.isArray(e[0]);function v2(e,t,n){let r=[];
9return u2(e,t,n).forEach(({keyframes:o,transition:a},s)=>{let l;Me(s)?l=bd(s,o.default,a.default):l=M0(s,o,a),r.push(l)}),new ad(r)}var L0=e=>{function t(n,r,i){let o;return m2(n)?o=v2(n,r,e):n2(r)?o=M0(n,r,i,e):o=bd(n,r,i),e&&e.animations.push(o),o}return t},Xn=L0();function O0(){let e=Wn(I0);return Or(e.mount,[]),e}var D0=O0;var g2={some:0,all:1};function Ml(e,t,{root:n,margin:r,amount:i="some"}={}){let o=Fl(e),a=new WeakMap,s=c=>{c.forEach(u=>{let f=a.get(u.target);if(u.isIntersecting!==!!f)if(u.isIntersecting){let d=t(u);typeof d=="function"?a.set(u.target,d):l.unobserve(u.target)}else f&&(f(u),a.delete(u.target))})},l=new IntersectionObserver(s,{root:n,rootMargin:r,threshold:typeof i=="number"?i:g2[i]});return o.forEach(c=>l.observe(c)),()=>l.disconnect()}function y2(e,{root:t,margin:n,amount:r,once:i=!1}={}){let[o,a]=Ye(!1);return N(()=>{if(!e.current||i&&o)return;let s=()=>(a(!0),i?void 0:()=>a(!1)),l={root:t&&t.current||void 0,margin:n,amount:r};return Ml(e.current,s,l)},[t,e,n,i,r]),o}function Cd(e){return e!==null&&typeof e=="object"&&Vf in e}function A0(e){if(Cd(e))return e[Vf]}function Td(){return b2}function b2(e){yi.current&&(yi.current.isUpdating=!1,yi.current.blockUpdate(),e&&e())}function V0(){let[e,t]=Sd(),n=Td(),r=A();return N(()=>{K.postRender(()=>K.postRender(()=>{t===r.current&&(dl.current=!1)}))},[t]),i=>{n(()=>{dl.current=!0,e(),i(),r.current=t+1})}}function B0(){return oe(()=>{let t=yi.current;t&&t.resetTree()},[])}var Vg=()=>({});var Xz=kl({scrapeMotionValuesFromProps:Vg,createRenderState:Vg});function x2(e,t){if(e==="first")return 0;{let n=t-1;return e==="last"?n:n/2}}function Ed(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(i,o)=>{let a=typeof n=="number"?n:x2(n,o),s=Math.abs(a-i),l=e*s;if(r){let c=o*e;l=yf(r)(l/c)*c}return t+l}}var w2=K,S2=aa.reduce((e,t)=>(e[t]=n=>Vt(n),e),{});var rM={};Yu(rM,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>UF,createPortal:()=>XF,createRoot:()=>YF,default:()=>tw,findDOMNode:()=>GF,flushSync:()=>qF,hydrate:()=>KF,hydrateRoot:()=>QF,render:()=>ZF,unmountComponentAtNode:()=>JF,unstable_batchedUpdates:()=>eM,unstable_renderSubtreeIntoContainer:()=>tM,version:()=>nM});var Bl={};Yu(Bl,{default:()=>Q,unstable_IdlePriority:()=>T2,unstable_ImmediatePriority:()=>E2,unstable_LowPriority:()=>R2,unstable_NormalPriority:()=>P2,unstable_Profiling:()=>_2,unstable_UserBlockingPriority:()=>I2,unstable_cancelCallback:()=>F2,unstable_continueExecution:()=>M2,unstable_forceFrameRate:()=>L2,unstable_getCurrentPriorityLevel:()=>O2,unstable_getFirstCallbackNode:()=>D2,unstable_next:()=>A2,unstable_now:()=>C2,unstable_pauseExecution:()=>V2,unstable_requestPaint:()=>B2,unstable_runWithPriority:()=>$2,unstable_scheduleCallback:()=>z2,unstable_shouldYield:()=>N2,unstable_wrapCallback:()=>H2});var Q={};function Id(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<Ll(i,t)))break e;e[r]=t,e[n]=i,n=r}}function Tn(e){return e.length===0?null:e[0]}function Dl(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,o=i>>>1;r<o;){var a=2*(r+1)-1,s=e[a],l=a+1,c=e[l];if(0>Ll(s,n))l<i&&0>Ll(c,s)?(e[r]=c,e[l]=n,r=l):(e[r]=s,e[a]=n,r=a);else{if(!(l<i&&0>Ll(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function Ll(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?($0=performance,Q.unstable_now=function(){return $0.now()}):(Rd=Date,z0=Rd.now(),Q.unstable_now=function(){return Rd.now()-z0});var $0,Rd,z0,Yn=[],Vr=[],k2=1,pn=null,St=3,Al=!1,xi=!1,Pa=!1,j0=typeof setTimeout=="function"?setTimeout:null,W0=typeof clearTimeout=="function"?clearTimeout:null,N0=typeof setImmediate<"u"?setImmediate:null;typeof ze<"u"&&ze.scheduling!==void 0&&ze.scheduling.isInputPending!==void 0&&ze.scheduling.isInputPending.bind(ze.scheduling);function Fd(e){for(var t=Tn(Vr);t!==null;){if(t.callback===null)Dl(Vr);else{if(!(t.startTime<=e))break;Dl(Vr),t.sortIndex=t.expirationTime,Id(Yn,t)}t=Tn(Vr)}}function Md(e){if(Pa=!1,Fd(e),!xi)if(Tn(Yn)!==null)xi=!0,Od(Ld);else{var t=Tn(Vr);t!==null&&Dd(Md,t.startTime-e)}}function Ld(e,t){xi=!1,Pa&&(Pa=!1,W0(_a),_a=-1),Al=!0;var n=St;try{for(Fd(t),pn=Tn(Yn);pn!==null&&(!(pn.expirationTime>t)||e&&!Y0());){var r=pn.callback;if(typeof r=="function"){pn.callback=null,St=pn.priorityLevel;var i=r(pn.expirationTime<=t);t=Q.unstable_now(),typeof i=="function"?pn.callback=i:pn===Tn(Yn)&&Dl(Yn),Fd(t)}else Dl(Yn);pn=Tn(Yn)}if(pn!==null)var o=!0;else{var a=Tn(Vr);a!==null&&Dd(Md,a.startTime-t),o=!1}return o}finally{pn=null,St=n,Al=!1}}var Vl=!1,Ol=null,_a=-1,U0=5,X0=-1;function Y0(){return!(Q.unstable_now()-X0<U0)}function Pd(){if(Ol!==null){var e=Q.unstable_now();X0=e;var t=!0;try{t=Ol(!0,e)}finally{t?Ra():(Vl=!1,Ol=null)}}else Vl=!1}var Ra;typeof N0=="function"?Ra=function(){N0(Pd)}:typeof MessageChannel<"u"?(_d=new MessageChannel,H0=_d.port2,_d.port1.onmessage=Pd,Ra=function(){H0.postMessage(null)}):Ra=function(){j0(Pd,0)};var _d,H0;function Od(e){Ol=e,Vl||(Vl=!0,Ra())}function Dd(e,t){_a=j0(function(){e(Q.unstable_now())},t)}Q.unstable_IdlePriority=5;Q.unstable_ImmediatePriority=1;Q.unstable_LowPriority=4;Q.unstable_NormalPriority=3;Q.unstable_Profiling=null;Q.unstable_UserBlockingPriority=2;Q.unstable_cancelCallback=function(e){e.callback=null};Q.unstable_continueExecution=function(){xi||Al||(xi=!0,Od(Ld))};Q.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U0=0<e?Math.floor(1e3/e):5};Q.unstable_getCurrentPriorityLevel=function(){return St};Q.unstable_getFirstCallbackNode=function(){return Tn(Yn)};Q.unstable_next=function(e){switch(St){case 1:case 2:case 3:var t=3;break;default:t=St}var n=St;St=t;try{return e()}finally{St=n}};Q.unstable_pauseExecution=function(){};Q.unstable_requestPaint=function(){};Q.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=St;St=e;try{return t()}finally{St=n}};Q.unstable_scheduleCallback=function(e,t,n){var r=Q.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?r+n:r):n=r,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=n+i,e={id:k2++,callback:t,priorityLevel:e,startTime:n,expirationTime:i,sortIndex:-1},n>r?(e.sortIndex=n,Id(Vr,e),Tn(Yn)===null&&e===Tn(Vr)&&(Pa?(W0(_a),_a=-1):Pa=!0,Dd(Md,n-r))):(e.sortIndex=i,Id(Yn,e),xi||Al||(xi=!0,Od(Ld))),e};Q.unstable_shouldYield=Y0;Q.unstable_wrapCallback=function(e){var t=St;return function(){var n=St;St=t;try{return e.apply(this,arguments)}finally{St=n}}};var C2=Q.unstable_now,T2=Q.unstable_IdlePriority,E2=Q.unstable_ImmediatePriority,R2=Q.unstable_LowPriority,P2=Q.unstable_NormalPriority,_2=Q.unstable_Profiling,I2=Q.unstable_UserBlockingPriority,F2=Q.unstable_cancelCallback,M2=Q.unstable_continueExecution,L2=Q.unstable_forceFrameRate,O2=Q.unstable_getCurrentPriorityLevel,D2=Q.unstable_getFirstCallbackNode,A2=Q.unstable_next,V2=Q.unstable_pauseExecution,B2=Q.unstable_requestPaint,$2=Q.unstable_runWithPriority,z2=Q.unstable_scheduleCallback,N2=Q.unstable_shouldYield,H2=Q.unstable_wrapCallback;var j2="default"in xt?x:xt,W2="default"in Bl?Q:Bl,rn={},ex=j2,nn=W2;function L(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var tx=new Set,Qa={};function Li(e,t){Lo(e,t),Lo(e+"Capture",t)}function Lo(e,t){for(Qa[e]=t,e=0;e<t.length;e++)tx.add(t[e])}var br=!(typeof F>"u"||typeof F.document>"u"||typeof F.document.createElement>"u"),ih=Object.prototype.hasOwnProperty,U2=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,G0={},q0={};function X2(e){return ih.call(q0,e)?!0:ih.call(G0,e)?!1:U2.test(e)?q0[e]=!0:(G0[e]=!0,!1)}function Y2(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function G2(e,t,n,r){if(t===null||typeof t>"u"||Y2(e,t,n,r))return!0;
vendor: 5,364 bytes, lines 9-10
9if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ot(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var gt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){gt[e]=new Ot(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];gt[t]=new Ot(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){gt[e]=new Ot(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){gt[e]=new Ot(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){gt[e]=new Ot(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){gt[e]=new Ot(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){gt[e]=new Ot(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){gt[e]=new Ot(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){gt[e]=new Ot(e,5,!1,e.toLowerCase(),null,!1,!1)});var qh=/[\-:]([a-z])/g;function Kh(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(qh,Kh);gt[t]=new Ot(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(qh,Kh);gt[t]=new Ot(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(qh,Kh);gt[t]=new Ot(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){gt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!1,!1)});gt.xlinkHref=new Ot("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){gt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!0,!0)});function Qh(e,t,n,r){var i=gt.hasOwnProperty(t)?gt[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(G2(t,n,i,r)&&(n=null),r||i===null?X2(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type!==3&&"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var kr=ex.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$l=Symbol.for("react.element"),mo=Symbol.for("react.portal"),vo=Symbol.for("react.fragment"),Zh=Symbol.for("react.strict_mode"),oh=Symbol.for("react.profiler"),nx=Symbol.for("react.provider"),rx=Symbol.for("react.context"),Jh=Symbol.for("react.forward_ref"),ah=Symbol.for("react.suspense"),sh=Symbol.for("react.suspense_list"),ep=Symbol.for("react.memo"),$r=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var ix=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var K0=Symbol.iterator;function Ia(e){return e===null||typeof e!="object"?null:(e=K0&&e[K0]||e["@@iterator"],typeof e=="function"?e:null)}var Ad,Ve=Object.assign;function Ba(e){if(Ad===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ad=t&&t[1]||""}return`
10`+Ad+e}var Vd=!1;function Bd(e,t){if(!e||Vd)return"";Vd=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}
vendor: 6,728 bytes, lines 10-13
10catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(`
11`),o=r.stack.split(`
12`),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||i[a]!==o[s]){var l=`
13`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Vd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ba(e):""}function q2(e){switch(e.tag){case 5:return Ba(e.type);case 16:return Ba("Lazy");case 13:return Ba("Suspense");case 19:return Ba("SuspenseList");case 0:case 2:case 15:return e=Bd(e.type,!1),e;case 11:return e=Bd(e.type.render,!1),e;case 1:return e=Bd(e.type,!0),e;default:return""}}function lh(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case vo:return"Fragment";case mo:return"Portal";case oh:return"Profiler";case Zh:return"StrictMode";case ah:return"Suspense";case sh:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case rx:return(e.displayName||"Context")+".Consumer";case nx:return(e._context.displayName||"Context")+".Provider";case Jh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ep:return t=e.displayName||null,t!==null?t:lh(e.type)||"Memo";case $r:t=e._payload,e=e._init;try{return lh(e(t))}catch{}}return null}function K2(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return lh(t);case 8:return t===Zh?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Jr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ox(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Q2(e){var t=ox(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function zl(e){e._valueTracker||(e._valueTracker=Q2(e))}function ax(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ox(e)?e.checked?"true":"false":e.value),e=r,e!==n&&(t.setValue(e),!0)}function pc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ch(e,t){var n=t.checked;return Ve({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Q0(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function sx(e,t){t=t.checked,t!=null&&Qh(e,"checked",t,!1)}function uh(e,t){sx(e,t);var n=Jr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?fh(e,t.type,n):t.hasOwnProperty("defaultValue")&&fh(e,t.type,Jr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Z0(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function fh(e,t,n){t==="number"&&pc(e.ownerDocument)===e||(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var $a=Array.isArray;function Ro(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Jr(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function dh(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(L(91));return Ve({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function J0(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(L(92));if($a(n)){if(1<n.length)throw Error(L(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Jr(n)}}function lx(e,t){var n=Jr(t.value),r=Jr(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function eb(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function cx(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function hh(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?cx(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Nl,ux=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Nl=Nl||document.createElement("div"),Nl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Nl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Za(e,t){if(t){var n=e.firstChild;
vendor: 6,205 bytes, line 13
13if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ha={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Z2=["Webkit","ms","Moz","O"];Object.keys(Ha).forEach(function(e){Z2.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ha[t]=Ha[e]})});function fx(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ha.hasOwnProperty(e)&&Ha[e]?(""+t).trim():t+"px"}function dx(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=fx(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var J2=Ve({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ph(e,t){if(t){if(J2[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(L(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(L(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(L(61))}if(t.style!=null&&typeof t.style!="object")throw Error(L(62))}}function mh(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vh=null;function tp(e){return e=e.target||e.srcElement||F,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var gh=null,Po=null,_o=null;function tb(e){if(e=vs(e)){if(typeof gh!="function")throw Error(L(280));var t=e.stateNode;t&&(t=Hc(t),gh(e.stateNode,e.type,t))}}function hx(e){Po?_o?_o.push(e):_o=[e]:Po=e}function px(){if(Po){var e=Po,t=_o;if(_o=Po=null,tb(e),t)for(e=0;e<t.length;e++)tb(t[e])}}function mx(e,t){return e(t)}function vx(){}var $d=!1;function gx(e,t,n){if($d)return e(t,n);$d=!0;try{return mx(e,t,n)}finally{$d=!1,(Po!==null||_o!==null)&&(vx(),px())}}function Ja(e,t){var n=e.stateNode;if(n===null)return null;var r=Hc(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(L(231,t,typeof n));return n}var yh=!1;if(br)try{ho={},Object.defineProperty(ho,"passive",{get:function(){yh=!0}}),F.addEventListener("test",ho,ho),F.removeEventListener("test",ho,ho)}catch{yh=!1}var ho;function eI(e,t,n,r,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var ja=!1,mc=null,vc=!1,bh=null,tI={onError:function(e){ja=!0,mc=e}};function nI(e,t,n,r,i,o,a,s,l){ja=!1,mc=null,eI.apply(tI,arguments)}function rI(e,t,n,r,i,o,a,s,l){if(nI.apply(this,arguments),ja){if(!ja)throw Error(L(198));var c=mc;ja=!1,mc=null,vc||(vc=!0,bh=c)}}function Oi(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,4098&t.flags&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function yx(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function nb(e){if(Oi(e)!==e)throw Error(L(188))}function iI(e){var t=e.alternate;if(!t){if(t=Oi(e),t===null)throw Error(L(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return nb(i),e;if(o===r)return nb(i),t;o=o.sibling}throw Error(L(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a)throw Error(L(189))}}if(n.alternate!==r)throw Error(L(190))}if(n.tag!==3)throw Error(L(188));return n.stateNode.current===n?e:t}function bx(e){return e=iI(e),e!==null?xx(e):null}function xx(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=xx(e);if(t!==null)return t;e=e.sibling}return null}var wx=nn.unstable_scheduleCallback,rb=nn.unstable_cancelCallback,oI=nn.unstable_shouldYield,aI=nn.unstable_requestPaint,Ge=nn.unstable_now,sI=nn.unstable_getCurrentPriorityLevel,np=nn.unstable_ImmediatePriority,Sx=nn.unstable_UserBlockingPriority,gc=nn.unstable_NormalPriority,lI=nn.unstable_LowPriority,kx=nn.unstable_IdlePriority,Bc=null,Qn=null;function cI(e){if(Qn&&typeof Qn.onCommitFiberRoot=="function")try{Qn.onCommitFiberRoot(Bc,e,void 0,(128&e.current.flags)===128)}catch{}}var In=Math.clz32?Math.clz32:dI,uI=Math.log,fI=Math.LN2;function dI(e){return e>>>=0,e===0?32:31-(uI(e)/fI|0)|0}var Hl=64,jl=4194304;function za(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function yc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(a!==0){var s=a&~i;
13s!==0?r=za(s):(o&=a,o!==0&&(r=za(o)))}else a=n&~i,a!==0?r=za(a):o!==0&&(r=za(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(4194240&o)!==0))return t;if(4&r&&(r|=16&n),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-In(t),i=1<<n,r|=e[n],t&=~i;return r}function hI(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function pI(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-In(o),s=1<<a,l=i[a];l===-1?s&n&&!(s&r)||(i[a]=hI(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}function xh(e){return e=-1073741825&e.pendingLanes,e!==0?e:1073741824&e?1073741824:0}function Cx(){var e=Hl;return Hl<<=1,!(4194240&Hl)&&(Hl=64),e}function zd(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ps(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-In(t),e[t]=n}function mI(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-In(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function rp(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-In(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var ye=0;function Tx(e){return e&=-e,1<e?4<e?268435455&e?16:536870912:4:1}var Ex,ip,Rx,Px,_x,wh=!1,Wl=[],Ur=null,Xr=null,Yr=null,es=new Map,ts=new Map,Nr=[],vI="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 submit".split(" ");function ib(e,t){switch(e){case"focusin":case"focusout":Ur=null;break;case"dragenter":case"dragleave":Xr=null;break;case"mouseover":case"mouseout":Yr=null;break;case"pointerover":case"pointerout":es.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ts.delete(t.pointerId)}}function Fa(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=vs(t),t!==null&&ip(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function gI(e,t,n,r,i){switch(t){case"focusin":return Ur=Fa(Ur,e,t,n,r,i),!0;case"dragenter":return Xr=Fa(Xr,e,t,n,r,i),!0;case"mouseover":return Yr=Fa(Yr,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return es.set(o,Fa(es.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,ts.set(o,Fa(ts.get(o)||null,e,t,n,r,i)),!0}return!1}function Ix(e){var t=ki(e.target);if(t!==null){var n=Oi(t);if(n!==null){if(t=n.tag,t===13){if(t=yx(n),t!==null){e.blockedOn=t,_x(e.priority,function(){Rx(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ic(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Sh(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null)return t=vs(n),t!==null&&ip(t),e.blockedOn=n,!1;n=e.nativeEvent;var r=new n.constructor(n.type,n);vh=r,n.target.dispatchEvent(r),vh=null,t.shift()}return!0}function ob(e,t,n){ic(e)&&n.delete(t)}function yI(){wh=!1,Ur!==null&&ic(Ur)&&(Ur=null),Xr!==null&&ic(Xr)&&(Xr=null),Yr!==null&&ic(Yr)&&(Yr=null),es.forEach(ob),ts.forEach(ob)}function Ma(e,t){e.blockedOn===t&&(e.blockedOn=null,wh||(wh=!0,nn.unstable_scheduleCallback(nn.unstable_NormalPriority,yI)))}function ns(e){function t(i){return Ma(i,e)}if(0<Wl.length){Ma(Wl[0],e);for(var n=1;n<Wl.length;n++){var r=Wl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Ur!==null&&Ma(Ur,e),Xr!==null&&Ma(Xr,e),Yr!==null&&Ma(Yr,e),es.forEac
vendor: 5,439 bytes, line 13
13h(t),ts.forEach(t),n=0;n<Nr.length;n++)r=Nr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Nr.length&&(n=Nr[0],n.blockedOn===null);)Ix(n),n.blockedOn===null&&Nr.shift()}var Io=kr.ReactCurrentBatchConfig,bc=!0;function bI(e,t,n,r){var i=ye,o=Io.transition;Io.transition=null;try{ye=1,op(e,t,n,r)}finally{ye=i,Io.transition=o}}function xI(e,t,n,r){var i=ye,o=Io.transition;Io.transition=null;try{ye=4,op(e,t,n,r)}finally{ye=i,Io.transition=o}}function op(e,t,n,r){if(bc){var i=Sh(e,t,n,r);if(i===null)Yd(e,t,r,xc,n),ib(e,r);else if(gI(i,e,t,n,r))r.stopPropagation();else if(ib(e,r),4&t&&-1<vI.indexOf(e)){for(;i!==null;){var o=vs(i);if(o!==null&&Ex(o),o=Sh(e,t,n,r),o===null&&Yd(e,t,r,xc,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Yd(e,t,r,null,n)}}var xc=null;function Sh(e,t,n,r){if(xc=null,e=tp(r),e=ki(e),e!==null)if(t=Oi(e),t===null)e=null;else if(n=t.tag,n===13){if(e=yx(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return xc=e,null}function Fx(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(sI()){case np:return 1;case Sx:return 4;case gc:case lI:return 16;case kx:return 536870912;default:return 16}default:return 16}}var jr=null,ap=null,oc=null;function Mx(){if(oc)return oc;var e,t,n=ap,r=n.length,i="value"in jr?jr.value:jr.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return oc=i.slice(e,1<t?1-t:void 0)}function ac(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ul(){return!0}function ab(){return!1}function on(e){function t(n,r,i,o,a){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ul:ab,this.isPropagationStopped=ab,this}return Ve(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ul)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ul)},persist:function(){},isPersistent:Ul}),t}var Nd,Hd,La,zo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},sp=on(zo),ms=Ve({},zo,{view:0,detail:0}),wI=on(ms),$c=Ve({},ms,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lp,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==La&&(La&&e.type==="mousemove"?(Nd=e.screenX-La.screenX,Hd=e.screenY-La.screenY):Hd=Nd=0,La=e),Nd)},movementY:function(e){return"movementY"in e?e.movementY:Hd}}),sb=on($c),SI=Ve({},$c,{dataTransfer:0}),kI=on(SI),CI=Ve({},ms,{relatedTarget:0}),jd=on(CI),TI=Ve({},zo,{animationName:0,elapsedTime:0,pseudoElement:0}),EI=on(TI),RI=Ve({},zo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:F.clipboardData}}),PI=on(RI),_I=Ve({},zo,{data:0}),lb=on(_I),II={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},FI={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},MI={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function LI(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=MI[e])&&!!t[e]}function lp(){return LI}var OI=Ve({},ms,{key:function(e){if(e.key){var t=II[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 6,012 bytes, line 13
13return e.type==="keypress"?(e=ac(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?FI[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lp,charCode:function(e){return e.type==="keypress"?ac(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ac(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),DI=on(OI),AI=Ve({},$c,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),cb=on(AI),VI=Ve({},ms,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lp}),BI=on(VI),$I=Ve({},zo,{propertyName:0,elapsedTime:0,pseudoElement:0}),zI=on($I),NI=Ve({},$c,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),HI=on(NI),jI=[9,13,27,32],cp=br&&"CompositionEvent"in F,Wa=null;br&&"documentMode"in document&&(Wa=document.documentMode);var WI=br&&"TextEvent"in F&&!Wa,Lx=br&&(!cp||Wa&&8<Wa&&11>=Wa),ub=String.fromCharCode(32),fb=!1;function Ox(e,t){switch(e){case"keyup":return jI.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dx(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var go=!1;function UI(e,t){switch(e){case"compositionend":return Dx(t);case"keypress":return t.which!==32?null:(fb=!0,ub);case"textInput":return e=t.data,e===ub&&fb?null:e;default:return null}}function XI(e,t){if(go)return e==="compositionend"||!cp&&Ox(e,t)?(e=Mx(),oc=ap=jr=null,go=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Lx&&t.locale!=="ko"?null:t.data;default:return null}}var YI={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function db(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!YI[e.type]:t==="textarea"}function Ax(e,t,n,r){hx(r),t=wc(t,"onChange"),0<t.length&&(n=new sp("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ua=null,rs=null;function GI(e){Yx(e,0)}function zc(e){var t=xo(e);if(ax(t))return e}function qI(e,t){if(e==="change")return t}var Vx=!1;br&&(br?(Yl="oninput"in document,Yl||(Wd=document.createElement("div"),Wd.setAttribute("oninput","return;"),Yl=typeof Wd.oninput=="function"),Xl=Yl):Xl=!1,Vx=Xl&&(!document.documentMode||9<document.documentMode));var Xl,Yl,Wd;function hb(){Ua&&(Ua.detachEvent("onpropertychange",Bx),rs=Ua=null)}function Bx(e){if(e.propertyName==="value"&&zc(rs)){var t=[];Ax(t,rs,e,tp(e)),gx(GI,t)}}function KI(e,t,n){e==="focusin"?(hb(),Ua=t,rs=n,Ua.attachEvent("onpropertychange",Bx)):e==="focusout"&&hb()}function QI(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return zc(rs)}function ZI(e,t){if(e==="click")return zc(t)}function JI(e,t){if(e==="input"||e==="change")return zc(t)}function eF(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Mn=typeof Object.is=="function"?Object.is:eF;function is(e,t){if(Mn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ih.call(t,i)||!Mn(e[i],t[i]))return!1}return!0}function pb(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function mb(e,t){var n=pb(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=pb(n)}}function $x(e,t){return!(!e||!t)&&(e===t||(!e||e.nodeType!==3)&&(t&&t.nodeType===3?$x(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function zx(){for(var e=F,t=pc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(!n)break;e=t.contentWindow,t=pc(e.document)}return t}function up(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function tF(e){var t=zx(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&$x(n.ownerDocument.documentElement,n)){if(r!==null&&up(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||F,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=mb(n,o);var a=mb(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var nF=br&&"documentMode"in document&&11>=document.documentMode,yo=null,kh=null,Xa=null,Ch=!1;function vb(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ch||yo==null||yo!==pc(r)||(r=yo,"selectionStart"in r&&up(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||F).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,498 bytes, line 13
13sNode:r.focusNode,focusOffset:r.focusOffset}),Xa&&is(Xa,r)||(Xa=r,r=wc(kh,"onSelect"),0<r.length&&(t=new sp("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yo)))}function Gl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var bo={animationend:Gl("Animation","AnimationEnd"),animationiteration:Gl("Animation","AnimationIteration"),animationstart:Gl("Animation","AnimationStart"),transitionend:Gl("Transition","TransitionEnd")},Ud={},Nx={};br&&(Nx=document.createElement("div").style,"AnimationEvent"in F||(delete bo.animationend.animation,delete bo.animationiteration.animation,delete bo.animationstart.animation),"TransitionEvent"in F||delete bo.transitionend.transition);function Nc(e){if(Ud[e])return Ud[e];if(!bo[e])return e;var t,n=bo[e];for(t in n)if(n.hasOwnProperty(t)&&t in Nx)return Ud[e]=n[t];return e}var Hx=Nc("animationend"),jx=Nc("animationiteration"),Wx=Nc("animationstart"),Ux=Nc("transitionend"),Xx=new Map,gb="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ti(e,t){Xx.set(e,t),Li(t,[e])}for(ql=0;ql<gb.length;ql++)Kl=gb[ql],yb=Kl.toLowerCase(),bb=Kl[0].toUpperCase()+Kl.slice(1),ti(yb,"on"+bb);var Kl,yb,bb,ql;ti(Hx,"onAnimationEnd");ti(jx,"onAnimationIteration");ti(Wx,"onAnimationStart");ti("dblclick","onDoubleClick");ti("focusin","onFocus");ti("focusout","onBlur");ti(Ux,"onTransitionEnd");Lo("onMouseEnter",["mouseout","mouseover"]);Lo("onMouseLeave",["mouseout","mouseover"]);Lo("onPointerEnter",["pointerout","pointerover"]);Lo("onPointerLeave",["pointerout","pointerover"]);Li("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Li("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Li("onBeforeInput",["compositionend","keypress","textInput","paste"]);Li("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Li("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Li("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Na="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),rF=new Set("cancel close invalid load scroll toggle".split(" ").concat(Na));function xb(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,rI(r,t,void 0,e),e.currentTarget=null}function Yx(e,t){t=(4&t)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;xb(i,s,c),o=l}else for(a=0;a<r.length;a++){if(s=r[a],l=s.instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;xb(i,s,c),o=l}}}if(vc)throw e=bh,vc=!1,bh=null,e}function Re(e,t){var n=t[_h];n===void 0&&(n=t[_h]=new Set);var r=e+"__bubble";n.has(r)||(Gx(t,e,2,!1),n.add(r))}function Xd(e,t,n){var r=0;t&&(r|=4),Gx(n,e,r,t)}var Ql="_reactListening"+Math.random().toString(36).slice(2);function os(e){if(!e[Ql]){e[Ql]=!0,tx.forEach(function(n){n!=="selectionchange"&&(rF.has(n)||Xd(n,!1,e),Xd(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ql]||(t[Ql]=!0,Xd("selectionchange",!1,t))}}function Gx(e,t,n,r){switch(Fx(t)){case 1:var i=bI;break;case 4:i=xI;break;default:i=op}n=i.bind(null,t,n,e),i=void 0,!yh||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Yd(e,t,n,r,i){var o=r;if(!(1&t)&&!(2&t)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var s=r.stateNode.containerInfo;
vendor: 8,168 bytes, lines 13-14
13if(s===i||s.nodeType===8&&s.parentNode===i)break;if(a===4)for(a=r.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;a=a.return}for(;s!==null;){if(a=ki(s),a===null)return;if(l=a.tag,l===5||l===6){r=o=a;continue e}s=s.parentNode}}r=r.return}gx(function(){var c=o,u=tp(n),f=[];e:{var d=Xx.get(e);if(d!==void 0){var p=sp,y=e;switch(e){case"keypress":if(ac(n)===0)break e;case"keydown":case"keyup":p=DI;break;case"focusin":y="focus",p=jd;break;case"focusout":y="blur",p=jd;break;case"beforeblur":case"afterblur":p=jd;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=sb;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=kI;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=BI;break;case Hx:case jx:case Wx:p=EI;break;case Ux:p=zI;break;case"scroll":p=wI;break;case"wheel":p=HI;break;case"copy":case"cut":case"paste":p=PI;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=cb}var g=(4&t)!==0,b=!g&&e==="scroll",h=g?d!==null?d+"Capture":null:d;g=[];for(var m,v=c;v!==null;){m=v;var w=m.stateNode;if(m.tag===5&&w!==null&&(m=w,h!==null&&(w=Ja(v,h),w!=null&&g.push(as(v,w,m)))),b)break;v=v.return}0<g.length&&(d=new p(d,y,null,n,u),f.push({event:d,listeners:g}))}}if(!(7&t)){if(d=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",(!d||n===vh||!(y=n.relatedTarget||n.fromElement)||!ki(y)&&!y[xr])&&(p||d)&&(d=u.window===u?u:(d=u.ownerDocument)?d.defaultView||d.parentWindow:F,p?(y=n.relatedTarget||n.toElement,p=c,y=y?ki(y):null,y!==null&&(b=Oi(y),y!==b||y.tag!==5&&y.tag!==6)&&(y=null)):(p=null,y=c),p!==y)){if(g=sb,w="onMouseLeave",h="onMouseEnter",v="mouse",e!=="pointerout"&&e!=="pointerover"||(g=cb,w="onPointerLeave",h="onPointerEnter",v="pointer"),b=p==null?d:xo(p),m=y==null?d:xo(y),d=new g(w,v+"leave",p,n,u),d.target=b,d.relatedTarget=m,w=null,ki(u)===c&&(g=new g(h,v+"enter",y,n,u),g.target=m,g.relatedTarget=b,w=g),b=w,p&&y)e:{for(g=p,h=y,v=0,m=g;m;m=po(m))v++;for(m=0,w=h;w;w=po(w))m++;for(;0<v-m;)g=po(g),v--;for(;0<m-v;)h=po(h),m--;for(;v--;){if(g===h||h!==null&&g===h.alternate)break e;g=po(g),h=po(h)}g=null}else g=null;p!==null&&wb(f,d,p,g,!1),y!==null&&b!==null&&wb(f,b,y,g,!0)}if(d=c?xo(c):F,p=d.nodeName&&d.nodeName.toLowerCase(),p==="select"||p==="input"&&d.type==="file")var C=qI;else if(db(d))if(Vx)C=JI;else{C=QI;var S=KI}else(p=d.nodeName)&&p.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(C=ZI);switch(C&&(C=C(e,c))?Ax(f,C,n,u):(S&&S(e,d,c),e==="focusout"&&(S=d._wrapperState)&&S.controlled&&d.type==="number"&&fh(d,"number",d.value)),S=c?xo(c):F,e){case"focusin":(db(S)||S.contentEditable==="true")&&(yo=S,kh=c,Xa=null);break;case"focusout":Xa=kh=yo=null;break;case"mousedown":Ch=!0;break;case"contextmenu":case"mouseup":case"dragend":Ch=!1,vb(f,n,u);break;case"selectionchange":if(nF)break;case"keydown":case"keyup":vb(f,n,u)}var E;if(cp)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else go?Ox(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(Lx&&n.locale!=="ko"&&(go||T!=="onCompositionStart"?T==="onCompositionEnd"&&go&&(E=Mx()):(jr=u,ap="value"in jr?jr.value:jr.textContent,go=!0)),S=wc(c,T),0<S.length&&(T=new lb(T,e,null,n,u),f.push({event:T,listeners:S}),E?T.data=E:(E=Dx(n),E!==null&&(T.data=E)))),(E=WI?UI(e,n):XI(e,n))&&(c=wc(c,"onBeforeInput"),0<c.length&&(u=new lb("onBeforeInput","beforeinput",null,n,u),f.push({event:u,listeners:c}),u.data=E))}Yx(f,t)})}function as(e,t,n){return{instance:e,listener:t,currentTarget:n}}function wc(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Ja(e,n),o!=null&&r.unshift(as(e,o,i)),o=Ja(e,t),o!=null&&r.push(as(e,o,i))),e=e.return}return r}function po(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function wb(e,t,n,r,i){for(var o=t._reactName,a=[];n!==null&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&c!==null&&(s=c,i?(l=Ja(n,o),l!=null&&a.unshift(as(n,l,s))):i||(l=Ja(n,o),l!=null&&a.push(as(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var iF=/\r\n?/g,oF=/\u0000|\uFFFD/g;function Sb(e){return(typeof e=="string"?e:""+e).replace(iF,`
14`).replace(oF,"")}function Zl(e,t,n){if(t=Sb(t),Sb(e)!==t&&n)throw Error(L(425))}function Sc(){}var Th=null,Eh=null;function Rh(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ph=typeof setTimeout=="function"?setTimeout:void 0,aF=typeof clearTimeout=="function"?clearTimeout:void 0,kb=typeof Promise=="function"?Promise:void 0,sF=typeof queueMicrotask=="function"?queueMicrotask:typeof kb<"u"?function(e){return kb.resolve(null).then(e).catch(lF)}:Ph;function lF(e){setTimeout(function(){throw e})}function Gd(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),ns(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);ns(t)}function Gr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Cb(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var No=Math.random().toString(36).slice(2),Kn="__reactFiber$"+No,ss="__reactProps$"+No,xr="__reactContainer$"+No,_h="__reactEvents$"+No,cF="__reactListeners$"+No,uF="__reactHandles$"+No;function ki(e){var t=e[Kn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[xr]||n[Kn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Cb(e);e!==null;){if(n=e[Kn])return n;e=Cb(e)}return t}e=n,n=e.parentNode}return null}function vs(e){return e=e[Kn]||e[xr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function xo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(L(33))}function Hc(e){return e[ss]||null}var Ih=[],wo=-1;function ni(e){return{current:e}}function Pe(e){0>wo||(e.current=Ih[wo],Ih[wo]=null,wo--)}function ke(e,t){wo++,Ih[wo]=e.current,e.current=t}var ei={},Et=ni(ei),Ht=ni(!1),Pi=ei;function Oo(e,t){var n=e.type.contextTypes;if(!n)return ei;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function jt(e){return e=e.childContextTypes,e!=null}function kc(){Pe(Ht),Pe(Et)}function Tb(e,t,n){if(Et.current!==ei)throw Error(L(168));ke(Et,t),ke(Ht,n)}function qx(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(L(108,K2(e)||"Unknown",i));return Ve({},n,r)}function Cc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ei,Pi=Et.current,ke(Et,e),ke(Ht,Ht.current),!0}function Eb(e,t,n){var r=e.stateNode;if(!r)throw Error(L(169));n?(e=qx(e,t,Pi),r.__reactInternalMemoizedMergedChildContext=e,Pe(Ht),Pe(Et),ke(Et,e)):Pe(Ht),ke(Ht,n)}var mr=null,jc=!1,qd=!1;function Kx(e){mr===null?mr=[e]:mr.push(e)}function fF(e){jc=!0,Kx(e)}function ri(){if(!qd&&mr!==null){qd=!0;var e=0,t=ye;try{var n=mr;for(ye=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}mr=null,jc=!1}catch(i){throw mr!==null&&(mr=mr.slice(e+1)),wx(np,ri),i}finally{ye=t,qd=!1}}return null}var So=[],ko=0,Tc=null,Ec=0,mn=[],vn=0,_i=null,vr=1,gr="";function wi(e,t){So[ko++]=Ec,So[ko++]=Tc,Tc=e,Ec=t}
vendor: 6,032 bytes, line 14
14function Qx(e,t,n){mn[vn++]=vr,mn[vn++]=gr,mn[vn++]=_i,_i=e;var r=vr;e=gr;var i=32-In(r)-1;r&=~(1<<i),n+=1;var o=32-In(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,vr=1<<32-In(t)+i|n<<i|r,gr=o+e}else vr=1<<o|n<<i|r,gr=e}function fp(e){e.return!==null&&(wi(e,1),Qx(e,1,0))}function dp(e){for(;e===Tc;)Tc=So[--ko],So[ko]=null,Ec=So[--ko],So[ko]=null;for(;e===_i;)_i=mn[--vn],mn[vn]=null,gr=mn[--vn],mn[vn]=null,vr=mn[--vn],mn[vn]=null}var tn=null,en=null,Le=!1,_n=null;function Zx(e,t){var n=gn(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Rb(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null&&(e.stateNode=t,tn=e,en=Gr(t.firstChild),!0);case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null&&(e.stateNode=t,tn=e,en=null,!0);case 13:return t=t.nodeType!==8?null:t,t!==null&&(n=_i!==null?{id:vr,overflow:gr}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=gn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,tn=e,en=null,!0);default:return!1}}function Fh(e){return(1&e.mode)!==0&&(128&e.flags)===0}function Mh(e){if(Le){var t=en;if(t){var n=t;if(!Rb(e,t)){if(Fh(e))throw Error(L(418));t=Gr(n.nextSibling);var r=tn;t&&Rb(e,t)?Zx(r,n):(e.flags=-4097&e.flags|2,Le=!1,tn=e)}}else{if(Fh(e))throw Error(L(418));e.flags=-4097&e.flags|2,Le=!1,tn=e}}}function Pb(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;tn=e}function Jl(e){if(e!==tn)return!1;if(!Le)return Pb(e),Le=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Rh(e.type,e.memoizedProps)),t&&(t=en)){if(Fh(e))throw Jx(),Error(L(418));for(;t;)Zx(e,t),t=Gr(t.nextSibling)}if(Pb(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(L(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){en=Gr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}en=null}}else en=tn?Gr(e.stateNode.nextSibling):null;return!0}function Jx(){for(var e=en;e;)e=Gr(e.nextSibling)}function Do(){en=tn=null,Le=!1}function hp(e){_n===null?_n=[e]:_n.push(e)}var dF=kr.ReactCurrentBatchConfig;function Rn(e,t){if(e&&e.defaultProps){t=Ve({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Rc=ni(null),Pc=null,Co=null,pp=null;function mp(){pp=Co=Pc=null}function vp(e){var t=Rc.current;Pe(Rc),e._currentValue=t}function Lh(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Fo(e,t){Pc=e,pp=Co=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Nt=!0),e.firstContext=null)}function bn(e){var t=e._currentValue;if(pp!==e)if(e={context:e,memoizedValue:t,next:null},Co===null){if(Pc===null)throw Error(L(308));Co=e,Pc.dependencies={lanes:0,firstContext:e}}else Co=Co.next=e;return t}var Ci=null;function gp(e){Ci===null?Ci=[e]:Ci.push(e)}function e1(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,gp(t)):(n.next=i.next,i.next=n),t.interleaved=n,wr(e,r)}function wr(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var zr=!1;function yp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function t1(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function yr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function qr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,2&me){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,wr(e,n)}return i=r.interleaved,i===null?(t.next=t,gp(r)):(t.next=i.next,i.next=t),r.interleaved=t,wr(e,n)}function sc(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(4194240&n)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rp(e,n)}}function _b(e,t){var n=e.updateQueue,r=e.alternate;if(r===null||(r=r.updateQueue,n!==r))e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t;else{var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n}}function _c(e,t,n,r){var i=e.updateQueue;zr=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?o=c:a.next=c,a=l;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==a&&(s===null?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(o!==null){var f=i.baseState;a=0,u=c=l=null,s=o;do{var d=s.lane,p=s.eventTime;if((r&d)===d){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,g=s;switch(d=t,p=n,g.tag){case 1:if(y=g.payload,typeof y=="function"){f=y.call(p,f,d);break e}f=y;break e;case 3:y.flags=-65537&y.flags|128;case 0:if(y=g.payload,d=typeof y=="function"?y.call(p,f,d):y,d==null)break e;f=Ve({},f,d);break e;case 2:zr=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[s]:d.push(s))}else p={eventTime:p,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(c=u=p,l=f):u=u.next=p,a|=d;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;d=s,s=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(1);if(u===null&&(l=f),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,t
vendor: 6,419 bytes, line 14
14=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Fi|=a,e.lanes=a,e.memoizedState=f}}function Ib(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(L(191,i));i.call(r)}}}var n1=new ex.Component().refs;function Oh(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ve({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Wc={isMounted:function(e){return!!(e=e._reactInternals)&&Oi(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Lt(),i=Qr(e),o=yr(r,i);o.payload=t,n!=null&&(o.callback=n),t=qr(e,o,i),t!==null&&(Fn(t,e,i,r),sc(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Lt(),i=Qr(e),o=yr(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=qr(e,o,i),t!==null&&(Fn(t,e,i,r),sc(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Lt(),r=Qr(e),i=yr(n,r);i.tag=2,t!=null&&(i.callback=t),t=qr(e,i,r),t!==null&&(Fn(t,e,r,n),sc(t,e,r))}};function Fb(e,t,n,r,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||!is(n,r)||!is(i,o)}function r1(e,t,n){var r=!1,i=ei,o=t.contextType;return typeof o=="object"&&o!==null?o=bn(o):(i=jt(t)?Pi:Et.current,r=t.contextTypes,o=(r=r!=null)?Oo(e,i):ei),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Wc,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Mb(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Wc.enqueueReplaceState(t,t.state,null)}function Dh(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=n1,yp(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=bn(o):(o=jt(t)?Pi:Et.current,i.context=Oo(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Oh(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Wc.enqueueReplaceState(i,i.state,null),_c(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Oa(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(L(309));var r=n.stateNode}if(!r)throw Error(L(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(a){var s=i.refs;s===n1&&(s=i.refs={}),a===null?delete s[o]:s[o]=a},t._stringRef=o,t)}if(typeof e!="string")throw Error(L(284));if(!n._owner)throw Error(L(290,e))}return e}function ec(e,t){throw e=Object.prototype.toString.call(t),Error(L(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Lb(e){var t=e._init;return t(e._payload)}function i1(e){function t(h,m){if(e){var v=h.deletions;v===null?(h.deletions=[m],h.flags|=16):v.push(m)}}function n(h,m){if(!e)return null;for(;m!==null;)t(h,m),m=m.sibling;return null}function r(h,m){for(h=new Map;m!==null;)m.key!==null?h.set(m.key,m):h.set(m.index,m),m=m.sibling;return h}function i(h,m){return h=Zr(h,m),h.index=0,h.sibling=null,h}function o(h,m,v){return h.index=v,e?(v=h.alternate,v!==null?(v=v.index,v<m?(h.flags|=2,m):v):(h.flags|=2,m)):(h.flags|=1048576,m)}function a(h){return e&&h.alternate===null&&(h.flags|=2),h}function s(h,m,v,w){return m===null||m.tag!==6?(m=nh(v,h.mode,w),m.return=h,m):(m=i(m,v),m.return=h,m)}function l(h,m,v,w){var C=v.type;return C===vo?u(h,m,v.props.children,w,v.key):m!==null&&(m.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===$r&&Lb(C)===m.type)?(w=i(m,v.props),w.ref=Oa(h,m,v),w.return=h,w):(w=hc(v.type,v.key,v.props,null,h.mode,w),w.ref=Oa(h,m,v),w.return=h,w)}function c(h,m,v,w){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=rh(v,h.mode,w),m.return=h,m):(m=i(m,v.children||[]),m.return=h,m)}function u(h,m,v,w,C){return m===null||m.tag!==7?(m=Ri(v,h.mode,w,C),m.return=h,m):(m=i(m,v),m.return=h,m)}function f(h,m,v){if(typeof m=="string"&&m!==""||typeof m=="number")return m=nh(""+m,h.mode,v),m.return=h,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case $l:return v=hc(m.type,m.key,m.props,null,h.mode,v),v.ref=Oa(h,null,m),v.return=h,v;case mo:return m=rh(m,h.mode,v),m.return=h,m;case $r:var w=m._init;return f(h,w(m._payload),v)}if($a(m)||Ia(m))return m=Ri(m,h.mode,v,null),m.return=h,m;ec(h,m)}return null}function d(h,m,v,w){var C=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:s(h,m,""+v,w);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case $l:return v.key===C?l(h,m,v,w):null;case mo:return v.key===C?c(h,m,v,w):null;case $r:return C=v._init,d(h,m,C(v._payload),w)}if($a(v)||Ia(v))return C!==null?null:u(h,m,v,w,null);ec(h,v)}return null}function p(h,m,v,w,C){if(typeof w=="string"&&w!==""||typeof w=="number")return h=h.get(v)||null,s(m,h,""+w,C);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case $l:return h=h.get(w.key===null?v:w.key)||null,l(m,h,w,C);case mo:return h=h.get(w.key===null?v:w.key)||null,c(m,h,w,C);case $r:var S=w._init;return p(h,m,v,S(w._payload),C)}if($a(w)||Ia(w))return h=h.get(v)||null,u(m,h,w,C,null);ec(m,w)}return null}function y(h,m,v,w){for(var C=null,S=null,E=m,T=m=0,M=null;E!==null&&T<v.length;T++){E.index>T?(M=E,E=null):M=E.sibling;var I=d(h,E,v[T],w);if(I===null){E===null&&(E=M);break}e&&E&&I.alternate===null&&t(h,E),m=o(I,m,T),S===null?C=I:S.sibling=I,S=I,E=M}if(T===v.length)return n(h,E),Le&&wi(h,T),C;if(E===null){for(;T<v.length;T++)E=f(h,v[T],w),E!==null&&(m=o(E,m,T),S===null?C=E:S.sibling=E,S=E);return Le&&wi(h,T),C}for(E=r(h,E);T<v.length;T++)M=p(E,h,T,v[T],w),M!==null&&(e&&M.alternate!==null&&E.delete(M.key===null?T:M.key),m=o(M,m,T),S===null?C=M:S.sibling=M,S=M);
vendor: 11,153 bytes, line 14
14return e&&E.forEach(function(B){return t(h,B)}),Le&&wi(h,T),C}function g(h,m,v,w){var C=Ia(v);if(typeof C!="function")throw Error(L(150));if(v=C.call(v),v==null)throw Error(L(151));for(var S=C=null,E=m,T=m=0,M=null,I=v.next();E!==null&&!I.done;T++,I=v.next()){E.index>T?(M=E,E=null):M=E.sibling;var B=d(h,E,I.value,w);if(B===null){E===null&&(E=M);break}e&&E&&B.alternate===null&&t(h,E),m=o(B,m,T),S===null?C=B:S.sibling=B,S=B,E=M}if(I.done)return n(h,E),Le&&wi(h,T),C;if(E===null){for(;!I.done;T++,I=v.next())I=f(h,I.value,w),I!==null&&(m=o(I,m,T),S===null?C=I:S.sibling=I,S=I);return Le&&wi(h,T),C}for(E=r(h,E);!I.done;T++,I=v.next())I=p(E,h,T,I.value,w),I!==null&&(e&&I.alternate!==null&&E.delete(I.key===null?T:I.key),m=o(I,m,T),S===null?C=I:S.sibling=I,S=I);return e&&E.forEach(function(D){return t(h,D)}),Le&&wi(h,T),C}function b(h,m,v,w){if(typeof v=="object"&&v!==null&&v.type===vo&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case $l:e:{for(var C=v.key,S=m;S!==null;){if(S.key===C){if(C=v.type,C===vo){if(S.tag===7){n(h,S.sibling),m=i(S,v.props.children),m.return=h,h=m;break e}}else if(S.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===$r&&Lb(C)===S.type){n(h,S.sibling),m=i(S,v.props),m.ref=Oa(h,S,v),m.return=h,h=m;break e}n(h,S);break}t(h,S),S=S.sibling}v.type===vo?(m=Ri(v.props.children,h.mode,w,v.key),m.return=h,h=m):(w=hc(v.type,v.key,v.props,null,h.mode,w),w.ref=Oa(h,m,v),w.return=h,h=w)}return a(h);case mo:e:{for(S=v.key;m!==null;){if(m.key===S){if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(h,m.sibling),m=i(m,v.children||[]),m.return=h,h=m;break e}n(h,m);break}t(h,m),m=m.sibling}m=rh(v,h.mode,w),m.return=h,h=m}return a(h);case $r:return S=v._init,b(h,m,S(v._payload),w)}if($a(v))return y(h,m,v,w);if(Ia(v))return g(h,m,v,w);ec(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(h,m.sibling),m=i(m,v),m.return=h,h=m):(n(h,m),m=nh(v,h.mode,w),m.return=h,h=m),a(h)):n(h,m)}return b}var Ao=i1(!0),o1=i1(!1),gs={},Zn=ni(gs),ls=ni(gs),cs=ni(gs);function Ti(e){if(e===gs)throw Error(L(174));return e}function bp(e,t){switch(ke(cs,t),ke(ls,e),ke(Zn,gs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:hh(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=hh(t,e)}Pe(Zn),ke(Zn,t)}function Vo(){Pe(Zn),Pe(ls),Pe(cs)}function a1(e){Ti(cs.current);var t=Ti(Zn.current),n=hh(t,e.type);t!==n&&(ke(ls,e),ke(Zn,n))}function xp(e){ls.current===e&&(Pe(Zn),Pe(ls))}var De=ni(0);function Ic(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(128&t.flags)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Kd=[];function wp(){for(var e=0;e<Kd.length;e++)Kd[e]._workInProgressVersionPrimary=null;Kd.length=0}var lc=kr.ReactCurrentDispatcher,Qd=kr.ReactCurrentBatchConfig,Ii=0,Ae=null,Je=null,at=null,Fc=!1,Ya=!1,us=0,hF=0;function kt(){throw Error(L(321))}function Sp(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Mn(e[n],t[n]))return!1;return!0}function kp(e,t,n,r,i,o){if(Ii=o,Ae=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,lc.current=e===null||e.memoizedState===null?gF:yF,e=n(r,i),Ya){o=0;do{if(Ya=!1,us=0,25<=o)throw Error(L(301));o+=1,at=Je=null,t.updateQueue=null,lc.current=bF,e=n(r,i)}while(Ya)}if(lc.current=Mc,t=Je!==null&&Je.next!==null,Ii=0,at=Je=Ae=null,Fc=!1,t)throw Error(L(300));return e}function Cp(){var e=us!==0;return us=0,e}function qn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?Ae.memoizedState=at=e:at=at.next=e,at}function xn(){if(Je===null){var e=Ae.alternate;e=e!==null?e.memoizedState:null}else e=Je.next;var t=at===null?Ae.memoizedState:at.next;if(t!==null)at=t,Je=e;else{if(e===null)throw Error(L(310));Je=e,e={memoizedState:Je.memoizedState,baseState:Je.baseState,baseQueue:Je.baseQueue,queue:Je.queue,next:null},at===null?Ae.memoizedState=at=e:at=at.next=e}return at}function fs(e,t){return typeof t=="function"?t(e):t}function Zd(e){var t=xn(),n=t.queue;if(n===null)throw Error(L(311));n.lastRenderedReducer=e;var r=Je,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var s=a=null,l=null,c=o;do{var u=c.lane;if((Ii&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(s=l=f,a=r):l=l.next=f,Ae.lanes|=u,Fi|=u}c=c.next}while(c!==null&&c!==o);l===null?a=r:l.next=s,Mn(r,t.memoizedState)||(Nt=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,Ae.lanes|=o,Fi|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Jd(e){var t=xn(),n=t.queue;if(n===null)throw Error(L(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);Mn(o,t.memoizedState)||(Nt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function s1(){}function l1(e,t){var n=Ae,r=xn(),i=t(),o=!Mn(r.memoizedState,i);if(o&&(r.memoizedState=i,Nt=!0),r=r.queue,Tp(f1.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||at!==null&&1&at.memoizedState.tag){if(n.flags|=2048,ds(9,u1.bind(null,n,r,i,t),void 0,null),st===null)throw Error(L(349));30&Ii||c1(n,t,i)}return i}function c1(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ae.updateQueue,t===null?(t={lastEffect:null,stores:null},Ae.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function u1(e,t,n,r){t.value=n,t.getSnapshot=r,d1(t)&&h1(e)}function f1(e,t,n){return n(function(){d1(t)&&h1(e)})}function d1(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Mn(e,n)}catch{return!0}}function h1(e){var t=wr(e,1);t!==null&&Fn(t,e,1,-1)}function Ob(e){var t=qn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:fs,lastRenderedState:e},t.queue=e,e=e.dispatch=vF.bind(null,Ae,e),[t.memoizedState,e]}function ds(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ae.updateQueue,t===null?(t={lastEffect:null,stores:null},Ae.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function p1(){return xn().memoizedState}function cc(e,t,n,r){var i=qn();Ae.flags|=e,i.memoizedState=ds(1|t,n,void 0,r===void 0?null:r)}function Uc(e,t,n,r){var i=xn();r=r===void 0?null:r;var o=void 0;if(Je!==null){var a=Je.memoizedState;if(o=a.destroy,r!==null&&Sp(r,a.deps)){i.memoizedState=ds(t,n,o,r);return}}Ae.flags|=e,i.memoizedState=ds(1|t,n,o,r)}function Db(e,t){return cc(8390656,8,e,t)}function Tp(e,t){return Uc(2048,8,e,t)}function m1(e,t){return Uc(4,2,e,t)}function v1(e,t){return Uc(4,4,e,t)}function g1(e,t){return typeof t=="function"?(e=e(),t(e),function(){t(null)}):t!=null?(e=e(),t.current=e,function(){t.current=null}):void 0}function y1(e,t,n){return n=n!=null?n.concat([e]):null,Uc(4,4,g1.bind(null,t,e),n)}function Ep(){}function b1(e,t){var n=xn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Sp(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function x1(e,t){var n=xn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Sp(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function w1(e,t,n){return 21&Ii?(Mn(n,t)||(n=Cx(),Ae.lanes|=n,Fi|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Nt=!0),e.memoizedState=n)}function pF(e,t){var n=ye;ye=n!==0&&4>n?n:4,e(!0);var r=Qd.transition;Qd.transition={};try{e(!1),t()}finally{ye=n,Qd.transition=r}}function S1(){return xn().memoizedState}function mF(e,t,n){var r=Qr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},k1(e))C1(t,n);else if(n=e1(e,t,n,r),n!==null){var i=Lt();Fn(n,e,r,i),T1(n,t,r)}}function vF(e,t,n){var r=Qr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(k1(e))C1(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Mn(s,a)){var l=t.interleaved;l===null?(i.next=i,gp(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}n=e1(e,t,i,r),n!==null&&(i=Lt(),Fn(n,e,r,i),T1(n,t,r))}}function k1(e){var t=e.alternate;return e===Ae||t!==null&&t===Ae}function C1(e,t){Ya=Fc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function T1(e,t,n){if(4194240&n){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rp(e,n)}}var Mc={readContext:bn,useCallback:kt,useContext:kt,useEffect:kt,useImperativeHandle:kt,useInsertionEffect:kt,useLayoutEffect:kt,useMemo:kt,useReducer:kt,useRef:kt,useState:kt,useDebugValue:kt,useDeferredValue:kt,useTransition:kt,useMutableSource:kt,useSyncExternalStore:kt,useId:kt,unstable_isNewReconciler:!1},gF={readContext:bn,useCallback:function(e,t){return qn().memoizedState=[e,t===void 0?null:t],e},useContext:bn,useEffect:Db,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,cc(4194308,4,g1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cc(4194308,4,e,t)},useInsertionEffect:function(e,t){return cc(4,2,e,t)},useMemo:function(e,t){var n=qn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=qn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=mF.bind(null,Ae,e),[r.memoizedState,e]},useRef:function(e){var t=qn();return e={current:e},t.memoizedState=e},useState:Ob,useDebugValue:Ep,useDeferredValue:function(e){return qn().memoizedState=e},useTransition:function(){var e=Ob(!1),t=e[0];return e=pF.bind(null,e[1]),qn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ae,i=qn();if(Le){if(n===void 0)throw Error(L(407));n=n()}else{if(n=t(),st===null)throw Error(L(349));30&Ii||c1(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Db(f1.bind(null,r,o,e),[e]),r.flags|=2048,ds(9,u1.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=qn(),t=st.identifierPrefix;if(Le){var n=gr,r=vr;n=(r&~(1<<32-In(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=us++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=hF++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},yF={readContext:bn,useCallback:b1,useContext:bn,useEffect:Tp,useImperativeHandle:y1,useInsertionEffect:m1,useLayoutEffect:v1,useMemo:x1,useReducer:Zd,useRef
vendor: 5,284 bytes, lines 14-16
14:p1,useState:function(){return Zd(fs)},useDebugValue:Ep,useDeferredValue:function(e){var t=xn();return w1(t,Je.memoizedState,e)},useTransition:function(){var e=Zd(fs)[0],t=xn().memoizedState;return[e,t]},useMutableSource:s1,useSyncExternalStore:l1,useId:S1,unstable_isNewReconciler:!1},bF={readContext:bn,useCallback:b1,useContext:bn,useEffect:Tp,useImperativeHandle:y1,useInsertionEffect:m1,useLayoutEffect:v1,useMemo:x1,useReducer:Jd,useRef:p1,useState:function(){return Jd(fs)},useDebugValue:Ep,useDeferredValue:function(e){var t=xn();return Je===null?t.memoizedState=e:w1(t,Je.memoizedState,e)},useTransition:function(){var e=Jd(fs)[0],t=xn().memoizedState;return[e,t]},useMutableSource:s1,useSyncExternalStore:l1,useId:S1,unstable_isNewReconciler:!1};function Bo(e,t){try{var n="",r=t;do n+=q2(r),r=r.return;while(r);var i=n}catch(o){i=`
15Error generating stack: `+o.message+`
16`+o.stack}return{value:e,source:t,stack:i,digest:null}}function eh(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ah(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var xF=typeof WeakMap=="function"?WeakMap:Map;function E1(e,t,n){n=yr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Oc||(Oc=!0,Uh=r),Ah(e,t)},n}function R1(e,t,n){n=yr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ah(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Ah(e,t),typeof r!="function"&&(Kr===null?Kr=new Set([this]):Kr.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Ab(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new xF;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=OF.bind(null,e,t,n),t.then(e,e))}function Vb(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t===null||t.dehydrated!==null),t)return e;e=e.return}while(e!==null);return null}function Bb(e,t,n,r,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=yr(-1,1),t.tag=2,qr(n,t,1))),n.lanes|=1),e)}var wF=kr.ReactCurrentOwner,Nt=!1;function Mt(e,t,n,r){t.child=e===null?o1(t,null,n,r):Ao(t,e.child,n,r)}function $b(e,t,n,r,i){n=n.render;var o=t.ref;return Fo(t,i),r=kp(e,t,n,r,o,i),n=Cp(),e!==null&&!Nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Sr(e,t,i)):(Le&&n&&fp(t),t.flags|=1,Mt(e,t,r,i),t.child)}function zb(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Op(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,P1(e,t,o,r,i)):(e=hc(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:is,n(a,r)&&e.ref===t.ref)return Sr(e,t,i)}return t.flags|=1,e=Zr(o,r),e.ref=t.ref,e.return=t,t.child=e}function P1(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(is(o,r)&&e.ref===t.ref){if(Nt=!1,t.pendingProps=r=o,(e.lanes&i)===0)return t.lanes=e.lanes,Sr(e,t,i);131072&e.flags&&(Nt=!0)}}return Vh(e,t,n,r,i)}function _1(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ke(Eo,Jt),Jt|=n;else{if(!(1073741824&n))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ke(Eo,Jt),Jt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ke(Eo,Jt),Jt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ke(Eo,Jt),Jt|=r;return Mt(e,t,i,n),t.child}function I1(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Vh(e,t,n,r,i){var o=jt(n)?Pi:Et.current;return o=Oo(t,o),Fo(t,i),n=kp(e,t,n,r,o,i),r=Cp(),e!==null&&!Nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Sr(e,t,i)):(Le&&r&&fp(t),t.flags|=1,Mt(e,t,n,i),t.child)}function Nb(e,t,n,r,i){if(jt(n)){var o=!0;Cc(t)}else o=!1;if(Fo(t,i),t.stateNode===null)uc(e,t),r1(t,n,r),Dh(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=bn(c):(c=jt(n)?Pi:Et.current,c=Oo(t,c));var u=n.getDerivedStateFromProps,f=typeof u=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==c)&&Mb(t,a,r,c),zr=!1;var d=t.memoizedState;a.state=d,_c(t,r,a,i),l=t.memoizedState,s!==r||d!==l||Ht.current||zr?(typeof u=="function"&&(Oh(t,n,u,r),l=t.memoizedState),(s=zr||Fb(t,n,s,r,d,l,c))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.
16context=c,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,t1(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Rn(t.type,s),a.props=c,f=t.pendingProps,d=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=bn(l):(l=jt(n)?Pi:Et.current,l=Oo(t,l));var p=n.getDerivedStateFromProps;(u=typeof p=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==f||d!==l)&&Mb(t,a,r,l),zr=!1,d=t.memoizedState,a.state=d,_c(t,r,a,i);var y=t.memoizedState;s!==f||d!==y||Ht.current||zr?(typeof p=="function"&&(Oh(t,n,p,r),y=t.memoizedState),(c=zr||Fb(t,n,c,r,d,y,l)||!1)?(u||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,y,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,y,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),a.props=r,a.state=y,a.context=l,r=c):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Bh(e,t,n,r,o,i)}function Bh(e,t,n,r,i,o){I1(e,t);var a=(128&t.flags)!==0;if(!r&&!a)return i&&Eb(t,n,!1),Sr(e,t,o);r=t.stateNode,wF.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Ao(t,e.child,null,o),t.child=Ao(t,null,s,o)):Mt(e,t,s,o),t.memoizedState=r.state,i&&Eb(t,n,!0),t.child}function F1(e){var t=e.stateNode;t.pendingContext?Tb(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Tb(e,t.context,!1),bp(e,t.containerInfo)}function Hb(e,t,n,r,i){return Do(),hp(i),t.flags|=256,Mt(e,t,n,r),t.child}var $h={dehydrated:null,treeContext:null,retryLane:0};function zh(e){return{baseLanes:e,cachePool:null,transitions:null}}function M1(e,t,n){var r,i=t.pendingProps,o=De.current,a=!1,s=(128&t.flags)!==0;if((r=s)||(r=(e===null||e.memoizedState!==null)&&(2&o)!==0),r?(a=!0,t.flags&=-129):e!==null&&e.memoizedState===null||(o|=1),ke(De,1&o),e===null)return Mh(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(1&t.mode?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=i.children,e=i.fallback,a?(i=t.mode,a=t.child,s={mode:"hidden",children:s},!(1&i)&&a!==null?(a.childLanes=0,a.pendingProps=s):a=Gc(s,i,0,null),e=Ri(e,i,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=zh(n),t.memoizedState=$h,e):Rp(t,s));if(o=e.memoizedState,o!==null&&(r=o.dehydrated,r!==null))return SF(e,t,s,i,r,o,n);if(a){a=i.fallback,s=t.mode,o=e.child,r=o.sibling;var l={mode:"hidden",children:i.children};return!(1&s)&&t.child!==o?(i=t.child,i.childLanes=0,i.pendingProps=l,t.deletions=null):(i=Zr(o,l),i.subtreeFlags=14680064&o.subtreeFlags),r!==null?a=Zr(r,a):(a=Ri(a,s,n,null),a.flags|=2),a.return=t,i.return=t,i.sibling=a,t.child=i,i=a,a=t.child,s=e.child.memoizedState,s=s===null?zh(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},a.memoizedState=s,a.childLanes=e.childLanes&~n,t.memoizedState=$h,i}return a=e.child,e=a.sibling,i=Zr(a,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Rp(e,t){return t=Gc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function tc(e,t,n,r){return r!==null&&hp(r),Ao(t,e.child,null,n),e=Rp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function SF(e,t,n,r,i,o,a){if(n)return 256&t.flags?(t.flags&=-257,r=eh(Error(L(422))),tc(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Gc({mode:"visible",children:r.children},i,0,null),o=Ri(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,1&t.mode&&Ao(t,e.child,null,a),t.child.memoizedState=zh(a),t.memoizedState=$h,o);if(!(1&t.mode))return tc(e,t,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(L(419)),r=eh(o,r,void 0),tc(e,t,a,r)}if(s=(a&e.childLanes)!==0,Nt||s){if(r=st,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}
16i=i&(r.suspendedLanes|a)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,wr(e,i),Fn(r,e,i,-1))}return Lp(),r=eh(Error(L(421))),tc(e,t,a,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=DF.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,en=Gr(i.nextSibling),tn=t,Le=!0,_n=null,e!==null&&(mn[vn++]=vr,mn[vn++]=gr,mn[vn++]=_i,vr=e.id,gr=e.overflow,_i=t),t=Rp(t,r.children),t.flags|=4096,t)}function jb(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Lh(e.return,t,n)}function th(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function L1(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Mt(e,t,r.children,n),r=De.current,2&r)r=1&r|2,t.flags|=128;else{if(e!==null&&128&e.flags)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&jb(e,n,t);else if(e.tag===19)jb(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ke(De,r),!(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Ic(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),th(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Ic(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}th(t,!0,n,null,o);break;case"together":th(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function uc(e,t){!(1&t.mode)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Sr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Fi|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(L(153));if(t.child!==null){for(e=t.child,n=Zr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Zr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}
vendor: 5,255 bytes, line 16
16function kF(e,t,n){switch(t.tag){case 3:F1(t),Do();break;case 5:a1(t);break;case 1:jt(t.type)&&Cc(t);break;case 4:bp(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ke(Rc,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ke(De,1&De.current),t.flags|=128,null):n&t.child.childLanes?M1(e,t,n):(ke(De,1&De.current),e=Sr(e,t,n),e!==null?e.sibling:null);ke(De,1&De.current);break;case 19:if(r=(n&t.childLanes)!==0,128&e.flags){if(r)return L1(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ke(De,De.current),r)break;return null;case 22:case 23:return t.lanes=0,_1(e,t,n)}return Sr(e,t,n)}var O1,Nh,D1,A1;O1=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Nh=function(){};D1=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ti(Zn.current);var o=null;switch(n){case"input":i=ch(e,i),r=ch(e,r),o=[];break;case"select":i=Ve({},i,{value:void 0}),r=Ve({},r,{value:void 0}),o=[];break;case"textarea":i=dh(e,i),r=dh(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Sc)}ph(n,r);var a;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var s=i[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Qa.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var l=r[c];if(s=i?.[c],r.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(o||(o=[]),o.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Qa.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&Re("scroll",e),o||s===l||(o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};A1=function(e,t,n,r){n!==r&&(t.flags|=4)};function Da(e,t){if(!Le)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ct(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function CF(e,t,n){var r=t.pendingProps;switch(dp(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ct(t),null;case 1:return jt(t.type)&&kc(),Ct(t),null;case 3:return r=t.stateNode,Vo(),Pe(Ht),Pe(Et),wp(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),e!==null&&e.child!==null||(Jl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,_n!==null&&(Gh(_n),_n=null))),Nh(e,t),Ct(t),null;case 5:xp(t);var i=Ti(cs.current);if(n=t.type,e!==null&&t.stateNode!=null)D1(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(L(166));return Ct(t),null}if(e=Ti(Zn.current),Jl(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Kn]=t,r[ss]=o,e=(1&t.mode)!==0,n){case"dialog":Re("cancel",r),Re("close",r);break;case"iframe":case"object":case"embed":Re("load",r);break;case"video":case"audio":for(i=0;i<Na.length;i++)Re(Na[i],r);break;case"source":Re("error",r);break;case"img":case"image":case"link":Re("error",r),Re("load",r);break;case"details":Re("toggle",r);break;case"input":Q0(r,o),Re("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Re("invalid",r);break;case"textarea":J0(r,o),Re("invalid",r)}ph(n,o),i=null;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a];a==="children"?typeof s=="string"?r.textContent!==s&&(o.suppressHydrationWarning!==!0&&Zl(r.textContent,s,e),i=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&Zl(r.textContent,s,e),i=["children",""+s]):Qa.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&Re("scroll",r)}switch(n){case"input":zl(r),Z0(r,o,!0);break;case"textarea":zl(r),eb(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Sc)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=cx(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>
16",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Kn]=t,e[ss]=r,O1(e,t,!1,!1),t.stateNode=e;e:{switch(a=mh(n,r),n){case"dialog":Re("cancel",e),Re("close",e),i=r;break;case"iframe":case"object":case"embed":Re("load",e),i=r;break;case"video":case"audio":for(i=0;i<Na.length;i++)Re(Na[i],e);i=r;break;case"source":Re("error",e),i=r;break;case"img":case"image":case"link":Re("error",e),Re("load",e),i=r;break;case"details":Re("toggle",e),i=r;break;case"input":Q0(e,r),i=ch(e,r),Re("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Ve({},r,{value:void 0}),Re("invalid",e);break;case"textarea":J0(e,r),i=dh(e,r),Re("invalid",e);break;default:i=r}ph(n,i),s=i;for(o in s)if(s.hasOwnProperty(o)){var l=s[o];o==="style"?dx(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&ux(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Za(e,l):typeof l=="number"&&Za(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Qa.hasOwnProperty(o)?l!=null&&o==="onScroll"&&Re("scroll",e):l!=null&&Qh(e,o,l,a))}switch(n){case"input":zl(e),Z0(e,r,!1);break;case"textarea":zl(e),eb(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Jr(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Ro(e,!!r.multiple,o,!1):r.defaultValue!=null&&Ro(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Sc)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ct(t),null;case 6:if(e&&t.stateNode!=null)A1(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(L(166));if(n=Ti(cs.current),Ti(Zn.current),Jl(t)){if(r=t.stateNode,n=t.memoizedProps,r[Kn]=t,(o=r.nodeValue!==n)&&(e=tn,e!==null))switch(e.tag){case 3:Zl(r.nodeValue,n,(1&e.mode)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Zl(r.nodeValue,n,(1&e.mode)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Kn]=t,t.stateNode=r}return Ct(t),null;case 13:if(Pe(De),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Le&&en!==null&&1&t.mode&&!(128&t.flags))Jx(),Do(),t.flags|=98560,o=!1;else if(o=Jl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(L(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(L(317));o[Kn]=t}else Do(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ct(t),o=!1}else _n!==null&&(Gh(_n),_n=null),o=!0;if(!o)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,1&t.mode&&(e===null||1&De.current?et===0&&(et=3):Lp())),t.updateQueue!==null&&(t.flags|=4),Ct(t),null);case 4:return Vo(),Nh(e,t),e===null&&os(t.stateNode.containerInfo),Ct(t),null;case 10:return vp(t.type._context),Ct(t),null;case 17:return jt(t.type)&&kc(),Ct(t),null;case 19:if(Pe(De),o=t.memoizedState,o===null)return Ct(t),null;if(r=(128&t.flags)!==0,a=o.rendering,a===null)if(r)Da(o,!1);else{if(et!==0||e!==null&&128&e.flags)for(e=t.child;e!==null;){if(a=Ic(e),a!==null){for(t.flags|=128,Da(o,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ke(De,1&De.current|2),t.child}e=e.sibling}o.tail!==null&&Ge()>$o&&(t.flags|=128,r=!0,Da(o,!1),t.lanes=4194304)}else{if(!r)if(e=Ic(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Da(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Le)return Ct(t),null}else 2*Ge()-o.renderingStartTime>$o&&n!==1073741824&&(t.flags|=128,r=!0,Da(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ge(),t.sibling=null,n=De.current,ke(
vendor: 4,446 bytes, line 16
16De,r?1&n|2:1&n),t):(Ct(t),null);case 22:case 23:return Mp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&1&t.mode?1073741824&Jt&&(Ct(t),6&t.subtreeFlags&&(t.flags|=8192)):Ct(t),null;case 24:return null;case 25:return null}throw Error(L(156,t.tag))}function TF(e,t){switch(dp(t),t.tag){case 1:return jt(t.type)&&kc(),e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 3:return Vo(),Pe(Ht),Pe(Et),wp(),e=t.flags,65536&e&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return xp(t),null;case 13:if(Pe(De),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(L(340));Do()}return e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 19:return Pe(De),null;case 4:return Vo(),null;case 10:return vp(t.type._context),null;case 22:case 23:return Mp(),null;case 24:return null;default:return null}}var nc=!1,Tt=!1,EF=typeof WeakSet=="function"?WeakSet:Set,$=null;function To(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){We(e,t,r)}else n.current=null}function V1(e,t,n){try{n()}catch(r){We(e,t,r)}}var Wb=!1;function RF(e,t){if(Th=bc,e=zx(),up(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||F;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,u=0,f=e,d=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(s=a+i),f!==o||r!==0&&f.nodeType!==3||(l=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++c===i&&(s=a),d===o&&++u===r&&(l=a),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Eh={focusedElem:e,selectionRange:n},bc=!1,$=t;$!==null;)if(t=$,e=t.child,(1028&t.subtreeFlags)!==0&&e!==null)e.return=t,$=e;else for(;$!==null;){t=$;try{var y=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var g=y.memoizedProps,b=y.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?g:Rn(t.type,g),b);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(L(163))}}catch(w){We(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return y=Wb,Wb=!1,y}function Ga(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&V1(t,n,o)}i=i.next}while(i!==r)}}function Xc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Hh(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function B1(e){var t=e.alternate;t!==null&&(e.alternate=null,B1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Kn],delete t[ss],delete t[_h],delete t[cF],delete t[uF])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function $1(e){return e.tag===5||e.tag===3||e.tag===4}function Ub(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(2&e.flags||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function jh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Sc));else if(r!==4&&(e=e.child,e!==null))for(jh(e,t,n),e=e.sibling;e!==null;)jh(e,t,n),e=e.sibling}function Wh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Wh(e,t,n),e=e.sibling;e!==null;)Wh(e,t,n),e=e.sibling}var mt=null,Pn=!1;function Br(e,t,n){for(n=n.child;n!==null;)z1(e,t,n),n=n.sibling}
16function z1(e,t,n){if(Qn&&typeof Qn.onCommitFiberUnmount=="function")try{Qn.onCommitFiberUnmount(Bc,n)}catch{}switch(n.tag){case 5:Tt||To(n,t);case 6:var r=mt,i=Pn;mt=null,Br(e,t,n),mt=r,Pn=i,mt!==null&&(Pn?(e=mt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):mt.removeChild(n.stateNode));break;case 18:mt!==null&&(Pn?(e=mt,n=n.stateNode,e.nodeType===8?Gd(e.parentNode,n):e.nodeType===1&&Gd(e,n),ns(e)):Gd(mt,n.stateNode));break;case 4:r=mt,i=Pn,mt=n.stateNode.containerInfo,Pn=!0,Br(e,t,n),mt=r,Pn=i;break;case 0:case 11:case 14:case 15:if(!Tt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(2&o||4&o)&&V1(n,t,a),i=i.next}while(i!==r)}Br(e,t,n);break;case 1:if(!Tt&&(To(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){We(n,t,s)}Br(e,t,n);break;case 21:Br(e,t,n);break;case 22:1&n.mode?(Tt=(r=Tt)||n.memoizedState!==null,Br(e,t,n),Tt=r):Br(e,t,n);break;default:Br(e,t,n)}}function Xb(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new EF),t.forEach(function(r){var i=AF.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function En(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:mt=s.stateNode,Pn=!1;break e;case 3:mt=s.stateNode.containerInfo,Pn=!0;break e;case 4:mt=s.stateNode.containerInfo,Pn=!0;break e}s=s.return}if(mt===null)throw Error(L(160));z1(o,a,i),mt=null,Pn=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(c){We(i,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;t!==null;)N1(t,e),t=t.sibling}function N1(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(En(t,e),Gn(e),4&r){try{Ga(3,e,e.return),Xc(3,e)}catch(g){We(e,e.return,g)}try{Ga(5,e,e.return)}catch(g){We(e,e.return,g)}}break;case 1:En(t,e),Gn(e),512&r&&n!==null&&To(n,n.return);break;case 5:if(En(t,e),Gn(e),512&r&&n!==null&&To(n,n.return),32&e.flags){var i=e.stateNode;try{Za(i,"")}catch(g){We(e,e.return,g)}}if(4&r&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,a=n!==null?n.memoizedProps:o,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&sx(i,o),mh(s,a);var c=mh(s,o);for(a=0;a<l.length;a+=2){var u=l[a],f=l[a+1];u==="style"?dx(i,f):u==="dangerouslySetInnerHTML"?ux(i,f):u==="children"?Za(i,f):Qh(i,u,f,c)}switch(s){case"input":uh(i,o);break;case"textarea":lx(i,o);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?Ro(i,!!o.multiple,p,!1):d!==!!o.multiple&&(o.defaultValue!=null?Ro(i,!!o.multiple,o.defaultValue,!0):Ro(i,!!o.multiple,o.multiple?[]:"",!1))}i[ss]=o}catch(g){We(e,e.return,g)}}break;case 6:if(En(t,e),Gn(e),4&r){if(e.stateNode===null)throw Error(L(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(g){We(e,e.return,g)}}break;case 3:if(En(t,e),Gn(e),4&r&&n!==null&&n.memoizedState.isDehydrated)try{ns(t.containerInfo)}catch(g){We(e,e.return,g)}break;case 4:En(t,e),Gn(e);break;case 13:En(t,e),Gn(e),i=e.child,8192&i.flags&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Ip=Ge())),4&r&&Xb(e);break;case 22:if(u=n!==null&&n.memoizedState!==null,1&e.mode?(Tt=(c=Tt)||u,En(t,e),Tt=c):En(t,e),Gn(e),8192&r){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!u&&1&e.mode)for($=e,u=e.child;u!==null;){for(f=$=u;$!==null;){switch(d=$,p=d.child,d.tag){case 0:case 11:case 14:case 15:Ga(4,d,d.return);break;case 1:To(d,d.return);var y=d.stateNode;if(typeof y.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(g){We(r,n,g)}}break;case 5:To(d,d.return);break;case 22:if(d.memoizedState!==null){Gb(f);continue}}p!==null?(p.return=d,$=p):Gb(f)}u=u.sibling}e:for(u=null,f=e;;){if(f.tag===5){if(u===null){u=f;try{i=f.stateNode,c?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=f.stateNode,l=f.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=fx("display",a))}catch(g){We(e,e.return,g)}}}else if(f.tag===6){if(u===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(g){We(e,e.return,g)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;u===f&&(u=null),f=f.return}u===f&&(u=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:En(t,e),Gn(e),4&r&&Xb(e);break;case 21:break;default:En(t,e),Gn(e)}}function Gn(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;n!==null;){if($1(n)){var r=n;break e}n=n.return}throw Error(L(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(Za(i,""),r.flags&=-33);var o=Ub(e);Wh(e,o,i);break;case 3:case 4:var a=r.stateNode.containerInfo,s=Ub(e);jh(e,s,a);break;default:throw Error(L(161))}}catch(l){We(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function PF(e,t,n){$=e,H1(e,t,n)}function H1(e,t,n){for(var r=(1&e.mode)!==0;$!==null;){var i=$,o=i.child;if(i.tag===22&&r){var a=i.memoizedState!==null||nc;if(!a){var s=i.alternate,l=s!==null&&s.memoizedState!==null||Tt;s=nc;var c=Tt;if(nc=a,(Tt=l)&&!c)for($=i;$!==null;)a=$,l=a.child,a.tag===22&&a.memoizedState!==null?qb(i):l!==null?(l.return=a,$=l):qb(i);for(;o!==null;)$=o,H1(o,t,n),o=o.sibling;$=i,nc=s,Tt=c}Yb(e,t,n)}else 8772&i.subtreeFlags&&o!==null?(o.return=i,$=o):Yb(e,t,n)}}function Yb(e){for(;$!==null;){var t=$;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Tt||Xc(
165,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Tt)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Rn(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Ib(t,o,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Ib(t,a,n)}break;case 5:var s=t.stateNode;if(n===null&&4&t.flags){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var f=u.dehydrated;f!==null&&ns(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(L(163))}Tt||512&t.flags&&Hh(t)}catch(d){We(t,t.return,d)}}if(t===e){$=null;break}if(n=t.sibling,n!==null){n.return=t.return,$=n;break}$=t.return}}function Gb(e){for(;$!==null;){var t=$;if(t===e){$=null;break}var n=t.sibling;if(n!==null){n.return=t.return,$=n;break}$=t.return}}function qb(e){for(;$!==null;){var t=$;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Xc(4,t)}catch(l){We(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){We(t,i,l)}}var o=t.return;try{Hh(t)}catch(l){We(t,o,l)}break;case 5:var a=t.return;try{Hh(t)}catch(l){We(t,a,l)}}}catch(l){We(t,t.return,l)}if(t===e){$=null;break}var s=t.sibling;if(s!==null){s.return=t.return,$=s;break}$=t.return}}var _F=Math.ceil,Lc=kr.ReactCurrentDispatcher,Pp=kr.ReactCurrentOwner,yn=kr.ReactCurrentBatchConfig,me=0,st=null,Ke=null,vt=0,Jt=0,Eo=ni(0),et=0,hs=null,Fi=0,Yc=0,_p=0,qa=null,zt=null,Ip=0,$o=1/0,pr=null,Oc=!1,Uh=null,Kr=null,rc=!1,Wr=null,Dc=0,Ka=0,Xh=null,fc=-1,dc=0;function Lt(){return 6&me?Ge():fc!==-1?fc:fc=Ge()}function Qr(e){return 1&e.mode?2&me&&vt!==0?vt&-vt:dF.transition!==null?(dc===0&&(dc=Cx()),dc):(e=ye,e!==0||(e=F.event,e=e===void 0?16:Fx(e.type)),e):1}function Fn(e,t,n,r){if(50<Ka)throw Ka=0,Xh=null,Error(L(185));ps(e,n,r),2&me&&e===st||(e===st&&(!(2&me)&&(Yc|=n),et===4&&Hr(e,vt)),Wt(e,r),n===1&&me===0&&!(1&t.mode)&&($o=Ge()+500,jc&&ri()))}function Wt(e,t){var n=e.callbackNode;pI(e,t);var r=yc(e,e===st?vt:0);if(r===0)n!==null&&rb(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&rb(n),t===1)e.tag===0?fF(Kb.bind(null,e)):Kx(Kb.bind(null,e)),sF(function(){!(6&me)&&ri()}),n=null;else{switch(Tx(r)){case 1:n=np;break;case 4:n=Sx;break;case 16:n=gc;break;case 536870912:n=kx;break;default:n=gc}n=K1(n,j1.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function j1(e,t){if(fc=-1,dc=0,6&me)throw Error(L(327));var n=e.callbackNode;if(Mo()&&e.callbackNode!==n)return null;var r=yc(e,e===st?vt:0);if(r===0)return null;if(30&r||r&e.expiredLanes||t)t=Ac(e,r);else{t=r;var i=me;me|=2;var o=U1();st===e&&vt===t||(pr=null,$o=Ge()+500,Ei(e,t));do try{MF();break}catch(s){W1(e,s)}while(1);mp(),Lc.current=o,me=i,Ke!==null?t=0:(st=null,vt=0,t=et)}if(t!==0){if(t===2&&(i=xh(e),i!==0&&(r=i,t=Yh(e,i))),t===1)throw n=hs,Ei(e,0),Hr(e,r),Wt(e,Ge()),n;if(t===6)Hr(e,r);else{if(i=e.current.alternate,!(30&r)&&!IF(i)&&(t=Ac(e,r),t===2&&(o=xh(e),o!==0&&(r=o,t=Yh(e,o))),t===1))throw n=hs,Ei(e,0),Hr(e,r),Wt(e,Ge()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(L(345));case 2:Si(e,zt,pr);break;case 3:if(Hr(e,r),(130023424&r)===r&&(t=Ip+500-Ge(),10<t)){if(yc(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Lt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Ph(Si.bind(null,e,zt,pr),t);break}Si(e,zt,pr);break;case 4:if(Hr(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var a=31-In(r);o=1<<a,a=t[a],a>i&&(i=a),r&=~o}if(r=i,r=Ge()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_F(r/1960))-r,10<r){e.timeoutHandle=Ph(Si.bind(null,e,zt,pr),r);break}Si(e,zt,pr);break;case 5:Si(e,zt,pr);break;default:throw Error(L(329))}}}return Wt(e,Ge()),e.callbackNode===n?j1.bind(null,e):null}function Yh(e,t){var n=qa;return e.current.memoizedState.isDehydrated&&(Ei(e,t).flags|=256),e=Ac(e,t),e!==2&&(t=zt,zt=n,t!==null&&Gh(t)),e}
16function Gh(e){zt===null?zt=e:zt.push.apply(zt,e)}function IF(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Mn(o(),i))return!1}catch{return!1}}}if(n=t.child,16384&t.subtreeFlags&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Hr(e,t){for(t&=~_p,t&=~Yc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-In(t),r=1<<n;e[n]=-1,t&=~r}}function Kb(e){if(6&me)throw Error(L(327));Mo();var t=yc(e,0);if(!(1&t))return Wt(e,Ge()),null;var n=Ac(e,t);if(e.tag!==0&&n===2){var r=xh(e);r!==0&&(t=r,n=Yh(e,r))}if(n===1)throw n=hs,Ei(e,0),Hr(e,t),Wt(e,Ge()),n;if(n===6)throw Error(L(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Si(e,zt,pr),Wt(e,Ge()),null}function Fp(e,t){var n=me;me|=1;try{return e(t)}finally{me=n,me===0&&($o=Ge()+500,jc&&ri())}}function Mi(e){Wr!==null&&Wr.tag===0&&!(6&me)&&Mo();var t=me;me|=1;var n=yn.transition,r=ye;try{if(yn.transition=null,ye=1,e)return e()}finally{ye=r,yn.transition=n,me=t,!(6&me)&&ri()}}function Mp(){Jt=Eo.current,Pe(Eo)}function Ei(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,aF(n)),Ke!==null)for(n=Ke.return;n!==null;){var r=n;switch(dp(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&kc();break;case 3:Vo(),Pe(Ht),Pe(Et),wp();break;case 5:xp(r);break;case 4:Vo();break;case 13:Pe(De);break;case 19:Pe(De);break;case 10:vp(r.type._context);break;case 22:case 23:Mp()}n=n.return}if(st=e,Ke=e=Zr(e.current,null),vt=Jt=t,et=0,hs=null,_p=Yc=Fi=0,zt=qa=null,Ci!==null){for(t=0;t<Ci.length;t++)if(n=Ci[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var a=o.next;o.next=i,r.next=a}n.pending=r}Ci=null}return e}function W1(e,t){do{var n=Ke;try{if(mp(),lc.current=Mc,Fc){for(var r=Ae.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Fc=!1}if(Ii=0,at=Je=Ae=null,Ya=!1,us=0,Pp.current=null,n===null||n.return===null){et=1,hs=t,Ke=null;break}e:{var o=e,a=n.return,s=n,l=t;if(t=vt,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=s,f=u.tag;if(!(1&u.mode)&&(f===0||f===11||f===15)){var d=u.alternate;d?(u.updateQueue=d.updateQueue,u.memoizedState=d.memoizedState,u.lanes=d.lanes):(u.updateQueue=null,u.memoizedState=null)}var p=Vb(a);if(p!==null){p.flags&=-257,Bb(p,a,s,o,t),1&p.mode&&Ab(o,c,t),t=p,l=c;var y=t.updateQueue;if(y===null){var g=new Set;g.add(l),t.updateQueue=g}else y.add(l);break e}if(!(1&t)){Ab(o,c,t),Lp();break e}l=Error(L(426))}else if(Le&&1&s.mode){var b=Vb(a);if(b!==null){!(65536&b.flags)&&(b.flags|=256),Bb(b,a,s,o,t),hp(Bo(l,s));break e}}o=l=Bo(l,s),et!==4&&(et=2),qa===null?qa=[o]:qa.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var h=E1(o,l,t);_b(o,h);break e;case 1:s=l;var m=o.type,v=o.stateNode;if(!(128&o.flags)&&(typeof m.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Kr===null||!Kr.has(v)))){o.flags|=65536,t&=-t,o.lanes|=t;var w=R1(o,s,t);_b(o,w);break e}}o=o.return}while(o!==null)}Y1(n)}catch(C){t=C,Ke===n&&n!==null&&(Ke=n=n.return);continue}break}while(1)}function U1(){var e=Lc.current;return Lc.current=Mc,e===null?Mc:e}function Lp(){et!==0&&et!==3&&et!==2||(et=4),st===null||!(268435455&Fi)&&!(268435455&Yc)||Hr(st,vt)}function Ac(e,t){var n=me;me|=2;var r=U1();st===e&&vt===t||(pr=null,Ei(e,t));do try{FF();break}catch(i){W1(e,i)}while(1);if(mp(),me=n,Lc.current=r,Ke!==null)throw Error(L(261));return st=null,vt=0,et}function FF(){for(;Ke!==null;)X1(Ke)}function MF(){for(;Ke!==null&&!oI();)X1(Ke)}function X1(e){var t=q1(e.alternate,e,Jt);e.memoizedProps=e.pendingProps,t===null?Y1(e):Ke=t,Pp.current=null}function Y1(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(n=TF(n,t),n!==null){n.flags&=32767,Ke=n;return}if(e===null){et=6,Ke=null;return}e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(n=CF(n,t,Jt),n!==null){Ke=n;return}if(t=t.sibling,t!==null){Ke=t;return}Ke=t=e}while(t!==null);et===0&&(et=5)}function Si(e,t,n){var r=ye,i=yn.transition;try{yn.transition=null,ye=1,LF(e,t,n,r)}finally{yn.transition=i,ye=r}return null}function LF(e,t,n,r){do Mo();while(Wr!==null);if(6&me)throw Error(L(327));
16n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(L(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(mI(e,o),e===st&&(Ke=st=null,vt=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||rc||(rc=!0,K1(gc,function(){return Mo(),null})),o=(15990&n.flags)!==0,15990&n.subtreeFlags||o){o=yn.transition,yn.transition=null;var a=ye;ye=1;var s=me;me|=4,Pp.current=null,RF(e,n),N1(n,e),tF(Eh),bc=!!Th,Eh=Th=null,e.current=n,PF(n,e,i),aI(),me=s,ye=a,yn.transition=o}else e.current=n;if(rc&&(rc=!1,Wr=e,Dc=i),o=e.pendingLanes,o===0&&(Kr=null),cI(n.stateNode,r),Wt(e,Ge()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Oc)throw Oc=!1,e=Uh,Uh=null,e;return 1&Dc&&e.tag!==0&&Mo(),o=e.pendingLanes,1&o?e===Xh?Ka++:(Ka=0,Xh=e):Ka=0,ri(),null}function Mo(){if(Wr!==null){var e=Tx(Dc),t=yn.transition,n=ye;try{if(yn.transition=null,ye=16>e?16:e,Wr===null)var r=!1;else{if(e=Wr,Wr=null,Dc=0,6&me)throw Error(L(331));var i=me;for(me|=4,$=e.current;$!==null;){var o=$,a=o.child;if(16&$.flags){var s=o.deletions;if(s!==null){for(var l=0;l<s.length;l++){var c=s[l];for($=c;$!==null;){var u=$;switch(u.tag){case 0:case 11:case 15:Ga(8,u,o)}var f=u.child;if(f!==null)f.return=u,$=f;else for(;$!==null;){u=$;var d=u.sibling,p=u.return;if(B1(u),u===c){$=null;break}if(d!==null){d.return=p,$=d;break}$=p}}}var y=o.alternate;if(y!==null){var g=y.child;if(g!==null){y.child=null;do{var b=g.sibling;g.sibling=null,g=b}while(g!==null)}}$=o}}if(2064&o.subtreeFlags&&a!==null)a.return=o,$=a;else e:for(;$!==null;){if(o=$,2048&o.flags)switch(o.tag){case 0:case 11:case 15:Ga(9,o,o.return)}var h=o.sibling;if(h!==null){h.return=o.return,$=h;break e}$=o.return}}var m=e.current;for($=m;$!==null;){a=$;var v=a.child;if(2064&a.subtreeFlags&&v!==null)v.return=a,$=v;else e:for(a=m;$!==null;){if(s=$,2048&s.flags)try{switch(s.tag){case 0:case 11:case 15:Xc(9,s)}}catch(C){We(s,s.return,C)}if(s===a){$=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,$=w;break e}$=s.return}}if(me=i,ri(),Qn&&typeof Qn.onPostCommitFiberRoot=="function")try{Qn.onPostCommitFiberRoot(Bc,e)}catch{}r=!0}return r}finally{ye=n,yn.transition=t}}return!1}function Qb(e,t,n){t=Bo(n,t),t=E1(e,t,1),e=qr(e,t,1),t=Lt(),e!==null&&(ps(e,1,t),Wt(e,t))}function We(e,t,n){if(e.tag===3)Qb(e,e,n);else for(;t!==null;){if(t.tag===3){Qb(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Kr===null||!Kr.has(r))){e=Bo(n,e),e=R1(t,e,1),t=qr(t,e,1),e=Lt(),t!==null&&(ps(t,1,e),Wt(t,e));break}}t=t.return}}function OF(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Lt(),e.pingedLanes|=e.suspendedLanes&n,st===e&&(vt&n)===n&&(et===4||et===3&&(130023424&vt)===vt&&500>Ge()-Ip?Ei(e,0):_p|=n),Wt(e,t)}function G1(e,t){t===0&&(1&e.mode?(t=jl,jl<<=1,!(130023424&jl)&&(jl=4194304)):t=1);var n=Lt();e=wr(e,t),e!==null&&(ps(e,t,n),Wt(e,n))}function DF(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),G1(e,n)}function AF(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(L(314))}r!==null&&r.delete(t),G1(e,n)}var q1;q1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ht.current)Nt=!0;else{if(!(e.lanes&n)&&!(128&t.flags))return Nt=!1,kF(e,t,n);Nt=(131072&e.flags)!==0}else Nt=!1,Le&&1048576&t.flags&&Qx(t,Ec,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;uc(e,t),e=t.pendingProps;var i=Oo(t,Et.current);Fo(t,n),i=kp(null,t,r,e,i,n);var o=Cp();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,jt(r)?(o=!0,Cc(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,yp(t),i.updater=Wc,t.stateNode=i,i._reactInternals=t,Dh(t,r,e,n),t=Bh(null,t,r,!0,o,n)):(t.tag=0,Le&&o&&fp(t),Mt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(uc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=BF(r),e=Rn(r,e),i){case 0:t=Vh(null,t,r,e,n);break e;case 1:t=Nb(null,t,r,e,n);break e;case 11:t=$b(null,t,r,e,n);break e;case 14:t=zb(null,t,r,Rn(r.type,e),n);break e}throw Error(L(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),Vh(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),Nb(e,t,r,i,n);case 3:e:{if(F1(t),e===null)throw Error(L(387));
vendor: 4,665 bytes, line 16
16r=t.pendingProps,o=t.memoizedState,i=o.element,t1(e,t),_c(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){i=Bo(Error(L(423)),t),t=Hb(e,t,r,n,i);break e}if(r!==i){i=Bo(Error(L(424)),t),t=Hb(e,t,r,n,i);break e}for(en=Gr(t.stateNode.containerInfo.firstChild),tn=t,Le=!0,_n=null,n=o1(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Do(),r===i){t=Sr(e,t,n);break e}Mt(e,t,r,n)}t=t.child}return t;case 5:return a1(t),e===null&&Mh(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,Rh(r,i)?a=null:o!==null&&Rh(r,o)&&(t.flags|=32),I1(e,t),Mt(e,t,a,n),t.child;case 6:return e===null&&Mh(t),null;case 13:return M1(e,t,n);case 4:return bp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ao(t,null,r,n):Mt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),$b(e,t,r,i,n);case 7:return Mt(e,t,t.pendingProps,n),t.child;case 8:return Mt(e,t,t.pendingProps.children,n),t.child;case 12:return Mt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,ke(Rc,r._currentValue),r._currentValue=a,o!==null)if(Mn(o.value,a)){if(o.children===i.children&&!Ht.current){t=Sr(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=yr(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Lh(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(L(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Lh(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Mt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Fo(t,n),i=bn(i),r=r(i),t.flags|=1,Mt(e,t,r,n),t.child;case 14:return r=t.type,i=Rn(r,t.pendingProps),i=Rn(r.type,i),zb(e,t,r,i,n);case 15:return P1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),uc(e,t),t.tag=1,jt(r)?(e=!0,Cc(t)):e=!1,Fo(t,n),r1(t,r,i),Dh(t,r,i,n),Bh(null,t,r,!0,e,n);case 19:return L1(e,t,n);case 22:return _1(e,t,n)}throw Error(L(156,t.tag))};function K1(e,t){return wx(e,t)}function VF(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gn(e,t,n,r){return new VF(e,t,n,r)}function Op(e){return e=e.prototype,!(!e||!e.isReactComponent)}function BF(e){if(typeof e=="function")return Op(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Jh)return 11;if(e===ep)return 14}return 2}function Zr(e,t){var n=e.alternate;return n===null?(n=gn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function hc(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")Op(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case vo:return Ri(n.children,i,o,t);case Zh:a=8,i|=8;break;case oh:return e=gn(12,n,t,2|i),e.elementType=oh,e.lanes=o,e;case ah:return e=gn(13,n,t,i),e.elementType=ah,e.lanes=o,e;case sh:return e=gn(19,n,t,i),e.elementType=sh,e.lanes=o,e;case ix:return Gc(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case nx:a=10;break e;case rx:a=9;break e;case Jh:a=11;break e;case ep:a=14;break e;case $r:a=16,r=null;break e}throw Error(L(130,e==null?e:typeof e,""))}return t=gn(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Ri(e,t,n,r){return e=gn(7,e,r,t),e.lanes=n,e}function Gc(e,t,n,r){return e=gn(22,e,r,t),e.elementType=ix,e.lanes=n,e.stateNode={isHidden:!1},e}
vendor: 5,690 bytes, line 16
16function nh(e,t,n){return e=gn(6,e,null,t),e.lanes=n,e}function rh(e,t,n){return t=gn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $F(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zd(0),this.expirationTimes=zd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zd(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Dp(e,t,n,r,i,o,a,s,l){return e=new $F(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=gn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},yp(o),e}function zF(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:mo,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Q1(e){if(!e)return ei;e=e._reactInternals;e:{if(Oi(e)!==e||e.tag!==1)throw Error(L(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(jt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(L(171))}if(e.tag===1){var n=e.type;if(jt(n))return qx(e,n,t)}return t}function Z1(e,t,n,r,i,o,a,s,l){return e=Dp(n,r,!0,e,i,o,a,s,l),e.context=Q1(null),n=e.current,r=Lt(),i=Qr(n),o=yr(r,i),o.callback=t??null,qr(n,o,i),e.current.lanes=i,ps(e,i,r),Wt(e,r),e}function qc(e,t,n,r){var i=t.current,o=Lt(),a=Qr(i);return n=Q1(n),t.context===null?t.context=n:t.pendingContext=n,t=yr(o,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=qr(i,t,a),e!==null&&(Fn(e,i,a,o),sc(e,i,a)),a}function Vc(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Zb(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ap(e,t){Zb(e,t),(e=e.alternate)&&Zb(e,t)}function NF(){return null}var J1=typeof reportError=="function"?reportError:function(e){console.error(e)};function Vp(e){this._internalRoot=e}Kc.prototype.render=Vp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(L(409));qc(e,t,null,null)};Kc.prototype.unmount=Vp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Mi(function(){qc(null,e,null,null)}),t[xr]=null}};function Kc(e){this._internalRoot=e}Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Px();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nr.length&&t!==0&&t<Nr[n].priority;n++);Nr.splice(n,0,e),n===0&&Ix(e)}};function Bp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Qc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Jb(){}function HF(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var c=Vc(a);o.call(c)}}var a=Z1(t,r,e,0,null,!1,!1,"",Jb);return e._reactRootContainer=a,e[xr]=a.current,os(e.nodeType===8?e.parentNode:e),Mi(),a}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var s=r;r=function(){var c=Vc(l);s.call(c)}}var l=Dp(e,0,!1,null,null,!1,!1,"",Jb);return e._reactRootContainer=l,e[xr]=l.current,os(e.nodeType===8?e.parentNode:e),Mi(function(){qc(t,l,n,r)}),l}function Zc(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if(typeof i=="function"){var s=i;i=function(){var l=Vc(a);s.call(l)}}qc(t,a,e,i)}else a=HF(n,t,e,i,r);return Vc(a)}Ex=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=za(t.pendingLanes);n!==0&&(rp(t,1|n),Wt(t,Ge()),!(6&me)&&($o=Ge()+500,ri()))}break;case 13:Mi(function(){var r=wr(e,1);if(r!==null){var i=Lt();Fn(r,e,1,i)}}),Ap(e,1)}};ip=function(e){if(e.tag===13){var t=wr(e,134217728);if(t!==null){var n=Lt();Fn(t,e,134217728,n)}Ap(e,134217728)}};Rx=function(e){if(e.tag===13){var t=Qr(e),n=wr(e,t);if(n!==null){var r=Lt();Fn(n,e,t,r)}Ap(e,t)}};Px=function(){return ye};_x=function(e,t){var n=ye;try{return ye=e,t()}finally{ye=n}};gh=function(e,t,n){switch(t){case"input":if(uh(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Hc(r);if(!i)throw Error(L(90));ax(r),uh(r,i)}}}break;case"textarea":lx(e,n);break;case"select":t=n.value,t!=null&&Ro(e,!!n.multiple,t,!1)}};mx=Fp;vx=Mi;var jF={usingClientEntryPoint:!1,Events:[vs,xo,Hc,hx,px,Fp]},Aa={findFiberByHostInstance:ki,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},WF={bundleType:Aa.bundleType,version:Aa.version,rendererPackageName:Aa.rendererPackageName,rendererConfig:Aa.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:kr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=bx(e),e===null?null:e.stateNode},findFiberByHostInstance:Aa.findFiberByHostInstance||NF,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};
16if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Va=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Va.isDisabled&&Va.supportsFiber))try{Bc=Va.inject(WF),Qn=Va}catch{}var Va;rn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=jF;rn.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Bp(t))throw Error(L(200));return zF(e,t,null,n)};rn.createRoot=function(e,t){if(!Bp(e))throw Error(L(299));var n=!1,r="",i=J1;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Dp(e,1,!1,null,null,n,!1,r,i),e[xr]=t.current,os(e.nodeType===8?e.parentNode:e),new Vp(t)};rn.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(L(188)):(e=Object.keys(e).join(","),Error(L(268,e)));return e=bx(t),e=e===null?null:e.stateNode,e};rn.flushSync=function(e){return Mi(e)};rn.hydrate=function(e,t,n){if(!Qc(t))throw Error(L(200));return Zc(null,e,t,!0,n)};rn.hydrateRoot=function(e,t,n){if(!Bp(e))throw Error(L(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",a=J1;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=Z1(t,null,e,1,n??null,i,!1,o,a),e[xr]=t.current,os(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Kc(t)};rn.render=function(e,t,n){if(!Qc(t))throw Error(L(200));return Zc(null,e,t,!1,n)};rn.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(L(40));return!!e._reactRootContainer&&(Mi(function(){Zc(null,null,e,!1,function(){e._reactRootContainer=null,e[xr]=null})}),!0)};rn.unstable_batchedUpdates=Fp;rn.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Qc(n))throw Error(L(200));if(e==null||e._reactInternals===void 0)throw Error(L(38));return Zc(e,t,n,!1,r)};rn.version="18.2.0-next-9e3b772b8-20220608";function ew(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE=="function")try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ew)}catch(e){console.error(e)}}ew();var an=rn,tw=an,UF=an.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,XF=an.createPortal,YF=an.createRoot,GF=an.findDOMNode,qF=an.flushSync,KF=an.hydrate,QF=an.hydrateRoot,ZF=an.render,JF=an.unmountComponentAtNode,eM=an.unstable_batchedUpdates,tM=an.unstable_renderSubtreeIntoContainer,nM=an.version;var iM=hn({"../../../node_modules/hsluv/dist/hsluv.cjs"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Hsluv=void 0;var t=class{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(n){return n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055}static toLinear(n){return n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92}static yToL(n){return n<=t.epsilon?n/t.refY*t.kappa:116*Math.pow(n/t.refY,1/3)-16}static lToY(n){return n<=8?t.refY*n/t.kappa:t.refY*Math.pow((n+16)/116,3)}static rgbChannelToHex(n){let r=Math.round(n*255),i=r%16,o=(r-i)/16|0;return t.hexChars.charAt(o)+t.hexChars.charAt(i)}static hexToRgbChannel(n,r){let i=t.hexChars.indexOf(n.charAt(r)),o=t.hexChars.indexOf(n.charAt(r+1));return(i*16+o)/255}static distanceFromOriginAngle(n,r,i){let o=r/(Math.sin(i)-n*Math.cos(i));return o<0?1/0:o}static distanceFromOrigin(n,r){return Math.abs(r)/Math.sqrt(Math.pow(n,2)+1)}static min6(n,r,i,o,a,s){return Math.min(n,Math.min(r,Math.min(i,Math.min(o,Math.min(a,s)))))}rgbToHex(){this.hex="#",this.hex+=t.rgbChannelToHex(this.rgb_r),this.hex+=t.rgbChannelToHex(this.rgb_g),this.hex+=t.rgbChannelToHex(this.rgb_b)}hexToRgb(){this.hex=this.hex.toLowerCase(),this.rgb_r=t.hexToRgbChannel(this.hex,1),this.rgb_g=t.hexToRgbChannel(this.hex,3),this.rgb_b=t.hexToRgbChannel(this.hex,5)}xyzToRgb(){this.rgb_r=t.fromLinear(t.m_r0*this.xyz_x+t.m_r1*this.xyz_y+t.m_r2*this.xyz_z),this.rgb_g=t.fromLinear(t.m_g0*this.xyz_x+t.m_g1*this.xyz_y+t.m_g2*this.xyz_z),this.rgb_b=t.fromLinear(t.m_b0*this.xyz_x+t.m_b1*this.xyz_y+t.m_b2*this.xyz_z)}rgbToXyz(){let n=t.toLinear(this.rgb_r),r=t.toLinear(this.rgb_g),i=t.toLinear(this.rgb_b);this.xyz_x=.41239079926595*n+.35758433938387*r+.18048078840183*i,this.xyz_y=.21263900587151*n+.71516867876775*r+.072192315360733*i,this.xyz_z=.019330818715591*n+.11919477979462*r+.95053215224966*i}xyzToLuv(){let n=this.xyz_x+15*this.xyz_y+3*this.xyz_z,r=4*this.xyz_x,i=9*this.xyz_y;n!==0?(r/=n,i/=n):(r=NaN,i=NaN),this.luv_l=t.yToL(this.xyz_y),this.luv_l===0?(this.luv_u=0,this.luv_v=0):(this.luv_u=13*this.luv_l*(r-t.refU),this.luv_v=13*this.luv_l*(i-t.refV))}luvToXyz(){if(this.luv_l===0){this.xyz_x=0,this.xyz_y=0,this.xyz_z=0;return}let n=this.luv_u/(13*this.luv_l)+t.refU,r=this.luv_v/(13*this.luv_l)+t.refV;this.xyz_y=t.lToY(this.luv_l),this.xyz_x=0-9*this.xyz_y*n/((n-4)*r-n*r),this.xyz_z=(9*this.xyz_y-15*r*this.xyz_y-r*this.xyz_x)/(3*r)}luvToLch(){if(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;else{let n=Math.atan2(this.luv_v,this.luv_u);this.lch_h=n*180/Math.PI,this.lch_h<0&&(this.lch_h=360+this.lch_h)}}lchToLuv(){let n=this.lch_h/180*Math.PI;this.luv_l=this.lch_l,this.luv_u=Math.cos(n)*this.lch_c,this.luv_v=Math.sin(n)*this.lch_c}calculateBoundingLines(n){let r=Math.pow(n+16,3)/1560896,i=r>t.epsilon?r:n/t.kappa,o=i*(284517*t.m_r0-94839*t.m_r2),a=i*(838422*t.m_r2+769860*t.m_r1+731718*t.m_r0),s=i*(632260*t.m_r2-126452*t.m_r1),l=i*(284517*t.m_g0-94839*t.m_g2),c=i*(838422*t.m_g2+769860*t.m_g1+731718*t.m_g0),u=i*(632260*t.m_g2-126452*t.m_g1),f=i*(284517*t.m_b0-94839*t.m_b2),d=i*(838422*t.m_b2+769860*t.m_b1+731718*t.m_b0),p=i*(632260*t.m_b2-126452*t.m_b1);this.r0s=o/s,this.r0i=a*n/s,this.r1s=o/(s+126452),this.r1i=(a-769860)*n/(s+126452),this.g0s=l/u,this.g0i=c*n/u,this.g1s=l/(u+126452),this.g1i=(c-769860)*n/(u+126452),this.b0s=f/p,this.b0i=d*n/p,this.b1s=f/(p+126452),this.b1i=(d-769860)*n/(p+126452)}calcMaxChromaHpluv(){let n=t.distanceFromOrigin(this.r0s,this.r0i),r=t.distanceFromOrigin(this.r1s,this.r1i),i=t.distanceFromOrigin(this.g0s,this.g0i),o=t.distanceFromOrigin(this.g1s,this.g1i),a=t.distanceFromOrigin(this.b0s,this.b0i),s=t.distanceFromOrigin(this.b1s,this.b1i);return t.min6(n,r,i,o,a,s)}calcMaxChromaHsluv(n){let r=n/360*Math.PI*2,i=t.distanceFromOriginAngle(this.r0s,this.r0i,r),o=t.distanceFromOriginAngle(this.r1s,this.r1i,r),a=t.distanceFromOriginAngle(this.g0s,this.g0i,r),s=t.distanceFromOriginAngle(this.g1s,this.g1i,r),l=t.distanceFromOriginAngle(this.b0s,this.b0i,r),c=t.distanceFromOriginAngle(this.b1s,this.b1i,r);return t.min6(i,o,a,s,l,c)}hsluvToLch(){if(this.hsluv_l>99.9999999)this.lch_l=100,this.lch_c=0;else if(this.hsluv_l<1e-8)this.lch_l=0,this.lch_c=0;else{this.lch_l=this.hsluv_l,this.calculateBoundingLines(this.hsluv_l);let n=this.calcMaxChromaHsluv(this.hsluv_h);this.lch_c=n/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 n=this.calcMaxChromaHsluv(this.lch_h);this.hsluv_s=this.lch_c/n*100,this.hsluv_l=this.lch_l}this.hsluv_h=this.lch_h}hpluvToLch(){if(this.hpluv_l>99.9999999)this.lch_l=100,this.lch_c=0;else if(this.hpluv_l<1e-8)this.lch_l=0,this.lch_c=0;else{this.lch_l=this.hpluv_l,this.calculateBoundingLines(this.hpluv_l);let n=this.calcMaxChromaHpluv();this.lch_c=n/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 n=this.calcMaxChromaHpluv();this.hpluv_p=this.lch_c/n*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}}),oM=hn({"../../../node_modules/eventemitter3/index.js"(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function o(c,u,f){this.fn=c,this.context=u,this.once=f||!1}function a(c,u,f,d,p){if(typeof f!="function")throw new TypeError("The listener must be a function");var y=new o(f,d||c,p),g=r?r+u:u;return c._events[g]?c._events[g].fn?c._events[g]=[c._events[g],y]:c._events[g].push(y):(c._events[g]=y,c._eventsCount++),c}function s(c,u){--c._eventsCount===0?c._events=new i:delete c._events[u]}function l(){this._events=new i,this._eventsCount=0}l.prototype.eventNames=function(){var u=[],f,d;if(this._eventsCount===0)return u;for(d in f=this._events)n.call(f,d)&&u.push(r?d.slice(1):d);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(f)):u},l.prototype.listeners=function(u){var f=r?r+u:u,d=this._events[f];if(!d)return[];if(d.fn)return[d.fn];for(var p=0,y=d.length,g=new Array(y);p<y;p++)g[p]=d[p].fn;return g},l.prototype.listenerCount=function(u){var f=r?r+u:u,d=this._events[f];return d?d.fn?1:d.length:0},l.prototype.emit=function(u,f,d,p,y,g){var b=r?r+u:u;if(!this._events[b])return!1;var h=this._events[b],m=arguments.length,v,w;if(h.fn){switch(h.once&&this.removeListener(u,h.fn,void 0,!0),m){case 1:return h.fn.call(h.context),!0;case 2:return h.fn.call(h.context,f),!0;case 3:return h.fn.call(h.context,f,d),!0;case 4:return h.fn.call(h.context,f,d,p),!0;case 5:return h.fn.call(h.context,f,d,p,y),!0;case 6:return h.fn.call(h.context,f,d,p,y,g),!0}for(w=1,v=new Array(m-1);w<m;w++)v[w-1]=arguments[w];h.fn.apply(h.context,v)}else{var C=h.length,S;for(w=0;w<C;w++)switch(h[w].once&&this.removeListener(u,h[w].fn,void 0,!0),m){case 1:h[w].fn.call(h[w].context);break;case 2:h[w].fn.call(h[w].context,f);break;case 3:h[w].fn.call(h[w].context,f,d);break;case 4:h[w].fn.call(h[w].context,f,d,p);break;default:if(!v)for(S=1,v=new Array(m-1);S<m;S++)v[S-1]=arguments[S];h[w].fn.apply(h[w].context,v)}}return!0},l.prototype.on=function(u,f,d){return a(this,u,f,d,!1)},l.prototype.once=function(u,f,d){return a(this,u,f,d,!0)},l.prototype.removeListener=function(u,f,d,p){var y=r?r+u:u;if(!this._events[y])return this;if(!f)return s(this,y),this;var g=this._events[y];if(g.fn)g.fn===f&&(!p||g.once)&&(!d||g.context===d)&&s(this,y);else{for(var b=0,h=[],m=g.length;b<m;b++)(g[b].fn!==f||p&&!g[b].once||d&&g[b].context!==d)&&h.push(g[b]);h.length?this._events[y]=h.length===1?h[0]:h:s(this,y)}return this},l.prototype.removeAllListeners=function(u){var f;return u?(f=r?r+u:u,this._events[f]&&s(this,f)):(this._events=new i,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,typeof t<"u"&&(t.exports=l)}}),Sm=hn({"../../../node_modules/process/browser.js"(e,t){var n=t.exports={},r,i;function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?r=setTimeout:r=o}catch{r=o}try{typeof clearTimeout=="function"?i=clearTimeout:i=a}catch{i=a}})();function s(h){if(r===setTimeout)return setTimeout(h,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(h,0);
16try{return r(h,0)}catch{try{return r.call(null,h,0)}catch{return r.call(this,h,0)}}}function l(h){if(i===clearTimeout)return clearTimeout(h);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(h);try{return i(h)}catch{try{return i.call(null,h)}catch{return i.call(this,h)}}}var c=[],u=!1,f,d=-1;function p(){!u||!f||(u=!1,f.length?c=f.concat(c):d=-1,c.length&&y())}function y(){if(!u){var h=s(p);u=!0;for(var m=c.length;m;){for(f=c,c=[];++d<m;)f&&f[d].run();d=-1,m=c.length}f=null,u=!1,l(h)}}n.nextTick=function(h){var m=new Array(arguments.length-1);if(arguments.length>1)for(var v=1;v<arguments.length;v++)m[v-1]=arguments[v];c.push(new g(h,m)),c.length===1&&!u&&s(y)};function g(h,m){this.fun=h,this.array=m}g.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={};function b(){}n.on=b,n.addListener=b,n.once=b,n.off=b,n.removeListener=b,n.removeAllListeners=b,n.emit=b,n.prependListener=b,n.prependOnceListener=b,n.listeners=function(h){return[]},n.binding=function(h){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(h){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}}}),aM=hn({"../../../node_modules/@juggle/resize-observer/lib/exports/resize-observer.umd.js"(e,t){(function(n,r){typeof e=="object"&&typeof t<"u"?r(e):typeof define=="function"&&define.amd?define(["exports"],r):(n=typeof globalThis<"u"?globalThis:n||self,r(n.ResizeObserver={}))})(e,function(n){"use strict";var r=[],i=function(){return r.some(function(P){return P.activeTargets.length>0})},o=function(){return r.some(function(P){return P.skippedTargets.length>0})},a="ResizeObserver loop completed with undelivered notifications.",s=function(){var P;typeof ErrorEvent=="function"?P=new ErrorEvent("error",{message:a}):(P=document.createEvent("Event"),P.initEvent("error",!1,!1),P.message=a),F.dispatchEvent(P)},l;(function(P){P.BORDER_BOX="border-box",P.CONTENT_BOX="content-box",P.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(l||(l={}));var c=function(P){return Object.freeze(P)},u=function(){function P(_,O){this.inlineSize=_,this.blockSize=O,c(this)}return P}(),f=function(){function P(_,O,W,pe){return this.x=_,this.y=O,this.width=W,this.height=pe,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,c(this)}return P.prototype.toJSON=function(){var _=this,O=_.x,W=_.y,pe=_.top,_t=_.right,ft=_.bottom,Xe=_.left,ir=_.width,Kt=_.height;return{x:O,y:W,top:pe,right:_t,bottom:ft,left:Xe,width:ir,height:Kt}},P.fromRect=function(_){return new P(_.x,_.y,_.width,_.height)},P}(),d=function(P){return P instanceof SVGElement&&"getBBox"in P},p=function(P){if(d(P)){var _=P.getBBox(),O=_.width,W=_.height;return!O&&!W}var pe=P,_t=pe.offsetWidth,ft=pe.offsetHeight;return!(_t||ft||P.getClientRects().length)},y=function(P){var _,O;if(P instanceof Element)return!0;var W=(O=(_=P)===null||_===void 0?void 0:_.ownerDocument)===null||O===void 0?void 0:O.defaultView;return!!(W&&P instanceof W.Element)},g=function(P){switch(P.tagName){case"INPUT":if(P.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},b=typeof F<"u"?F:{},h=new WeakMap,m=/auto|scroll/,v=/^tb|vertical/,w=/msie|trident/i.test(b.navigator&&b.navigator.userAgent),C=function(P){return parseFloat(P||"0")},S=function(P,_,O){return P===void 0&&(P=0),_===void 0&&(_=0),O===void 0&&(O=!1),new u((O?_:P)||0,(O?P:_)||0)},E=c({devicePixelContentBoxSize:S(),borderBoxSize:S(),contentBoxSize:S(),contentRect:new f(0,0,0,0)}),T=function(P,_){if(_===void 0&&(_=!1),h.has(P)&&!_)return h.get(P);if(p(P))return h.set(P,E),E;var O=getComputedStyle(P),W=d(P)&&P.ownerSVGElement&&P.getBBox(),pe=!w&&O.boxSizing==="border-box",_t=v.test(O.writingMode||""),ft=!W&&m.test(O.overflowY||""),Xe=!W&&m.test(O.overflowX||""),ir=W?0:C(O.paddingTop),Kt=W?0:C(O.paddingRight),fi=W?0:C(O.paddingBottom),Yi=W?0:C(O.paddingLeft),LC=W?0:C(O.borderTopWidth),OC=W?0:C(O.borderRightWidth),DC=W?0:C(O.borderBottomWidth),AC=W?0:C(O.borderLeftWidth),Km=Yi+Kt,Qm=ir+fi,Uu=AC+OC,Xu=LC+DC,Zm=Xe?P.offsetHeight-Xu-P.clientHeight:0,Jm=ft?P.offsetWidth-Uu-P.clientWidth:0,VC=pe?Km+Uu:0,BC=pe?Qm+Xu:0,Ks=W?W.width:C(O.width)-VC-Jm,Qs=W?W.height:C(O.height)-BC-Zm,$C=Ks+Km+Jm+Uu,zC=Qs+Qm+Zm+Xu,ev=c({devicePixelContentBoxSize:S(Math.round(Ks*devicePixelRatio),Math.round(Qs*devicePixelRatio),_t),borderBoxSize:S($C,zC,_t),contentBoxSize:S(Ks,Qs,_t),contentRect:new f(Yi,ir,Ks,Qs)});return h.set(P,ev),ev},M=function(P,_,O){var W=T(P,O),pe=W.borderBoxSize,_t=W.contentBoxSize,ft=W.devicePixelContentBoxSize;switch(_){case l.DEVICE_PIXEL_CONTENT_BOX:return ft;case l.BORDER_BOX:return pe;default:return _t}},I=function(){function P(_){var O=T(_);this.target=_,this.contentRect=O.contentRect,this.borderBoxSize=c([O.borderBoxSize]),this.contentBoxSize=c([O.contentBoxSize]),this.devicePixelContentBoxSize=c([O.devicePixelContentBoxSize])}return P}(),B=function(P){if(p(P))return 1/0;for(var _=0,O=P.parentNode;O;)_+=1,O=O.parentNode;return _},D=function(){var P=1/0,_=[];r.forEach(function(ft){if(ft.activeTargets.length!==0){var Xe=[];
16ft.activeTargets.forEach(function(Kt){var fi=new I(Kt.target),Yi=B(Kt.target);Xe.push(fi),Kt.lastReportedSize=M(Kt.target,Kt.observedBox),Yi<P&&(P=Yi)}),_.push(function(){ft.callback.call(ft.observer,Xe,ft.observer)}),ft.activeTargets.splice(0,ft.activeTargets.length)}});for(var O=0,W=_;O<W.length;O++){var pe=W[O];pe()}return P},X=function(P){r.forEach(function(O){O.activeTargets.splice(0,O.activeTargets.length),O.skippedTargets.splice(0,O.skippedTargets.length),O.observationTargets.forEach(function(pe){pe.isActive()&&(B(pe.target)>P?O.activeTargets.push(pe):O.skippedTargets.push(pe))})})},H=function(){var P=0;for(X(P);i();)P=D(),X(P);return o()&&s(),P>0},z,j=[],ee=function(){return j.splice(0).forEach(function(P){return P()})},te=function(P){if(!z){var _=0,O=document.createTextNode(""),W={characterData:!0};new MutationObserver(function(){return ee()}).observe(O,W),z=function(){O.textContent=""+(_?_--:_++)}}j.push(P),z()},G=function(P){te(function(){requestAnimationFrame(P)})},ne=0,ge=function(){return!!ne},re=250,de={attributes:!0,characterData:!0,childList:!0,subtree:!0},ie=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ut=function(P){return P===void 0&&(P=0),Date.now()+P},Te=!1,Pt=function(){function P(){var _=this;this.stopped=!0,this.listener=function(){return _.schedule()}}return P.prototype.run=function(_){var O=this;if(_===void 0&&(_=re),!Te){Te=!0;var W=ut(_);G(function(){var pe=!1;try{pe=H()}finally{if(Te=!1,_=W-ut(),!ge())return;pe?O.run(1e3):_>0?O.run(_):O.start()}})}},P.prototype.schedule=function(){this.stop(),this.run()},P.prototype.observe=function(){var _=this,O=function(){return _.observer&&_.observer.observe(document.body,de)};document.body?O():b.addEventListener("DOMContentLoaded",O)},P.prototype.start=function(){var _=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ie.forEach(function(O){return b.addEventListener(O,_.listener,!0)}))},P.prototype.stop=function(){var _=this;this.stopped||(this.observer&&this.observer.disconnect(),ie.forEach(function(O){return b.removeEventListener(O,_.listener,!0)}),this.stopped=!0)},P}(),be=new Pt,qt=function(P){!ne&&P>0&&be.start(),ne+=P,!ne&&be.stop()},Sn=function(P){return!d(P)&&!g(P)&&getComputedStyle(P).display==="inline"},kn=function(){function P(_,O){this.target=_,this.observedBox=O||l.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return P.prototype.isActive=function(){var _=M(this.target,this.observedBox,!0);return Sn(this.target)&&(this.lastReportedSize=_),this.lastReportedSize.inlineSize!==_.inlineSize||this.lastReportedSize.blockSize!==_.blockSize},P}(),he=function(){function P(_,O){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=_,this.callback=O}return P}(),Vn=new WeakMap,rt=function(P,_){for(var O=0;O<P.length;O+=1)if(P[O].target===_)return O;return-1},un=function(){function P(){}return P.connect=function(_,O){var W=new he(_,O);Vn.set(_,W)},P.observe=function(_,O,W){var pe=Vn.get(_),_t=pe.observationTargets.length===0;rt(pe.observationTargets,O)<0&&(_t&&r.push(pe),pe.observationTargets.push(new kn(O,W&&W.box)),qt(1),be.schedule())},P.unobserve=function(_,O){var W=Vn.get(_),pe=rt(W.observationTargets,O),_t=W.observationTargets.length===1;pe>=0&&(_t&&r.splice(r.indexOf(W),1),W.observationTargets.splice(pe,1),qt(-1))},P.disconnect=function(_){var O=this,W=Vn.get(_);W.observationTargets.slice().forEach(function(pe){return O.unobserve(_,pe.target)}),W.activeTargets.splice(0,W.activeTargets.length)},P}(),qs=function(){function P(_){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof _!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");un.connect(this,_)}return P.prototype.observe=function(_,O){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!y(_))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");un.observe(this,_,O)},P.prototype.unobserve=function(_){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!y(_))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");un.unobserve(this,_)},P.prototype.disconnect=function(){un.disconnect(this)},P.toString=function(){return"function ResizeObserver () { [polyfill code] }"},P}();n.ResizeObserver=qs,n.ResizeObserverEntry=I,n.ResizeObserverSize=u,Object.defineProperty(n,"__esModule",{value:!0})})}}),sM=hn({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js"(e){"use strict";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,o=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,y=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,h=t?Symbol.for("react.fundamental"):60117,m=t?Symbol.for("react.responder"):60118,v=t?Symbol.for("react.scope"):60119;function w(S){if(typeof S=="object"&&S!==null){var E=S.$$typeof;switch(E){case n:switch(S=S.type,S){case c:case u:case i:case a:case o:case d:return S;
16default:switch(S=S&&S.$$typeof,S){case l:case f:case g:case y:case s:return S;default:return E}}case r:return E}}}function C(S){return w(S)===u}e.AsyncMode=c,e.ConcurrentMode=u,e.ContextConsumer=l,e.ContextProvider=s,e.Element=n,e.ForwardRef=f,e.Fragment=i,e.Lazy=g,e.Memo=y,e.Portal=r,e.Profiler=a,e.StrictMode=o,e.Suspense=d,e.isAsyncMode=function(S){return C(S)||w(S)===c},e.isConcurrentMode=C,e.isContextConsumer=function(S){return w(S)===l},e.isContextProvider=function(S){return w(S)===s},e.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===n},e.isForwardRef=function(S){return w(S)===f},e.isFragment=function(S){return w(S)===i},e.isLazy=function(S){return w(S)===g},e.isMemo=function(S){return w(S)===y},e.isPortal=function(S){return w(S)===r},e.isProfiler=function(S){return w(S)===a},e.isStrictMode=function(S){return w(S)===o},e.isSuspense=function(S){return w(S)===d},e.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===i||S===u||S===a||S===o||S===d||S===p||typeof S=="object"&&S!==null&&(S.$$typeof===g||S.$$typeof===y||S.$$typeof===s||S.$$typeof===l||S.$$typeof===f||S.$$typeof===h||S.$$typeof===m||S.$$typeof===v||S.$$typeof===b)},e.typeOf=w}}),lM=hn({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/index.js"(e,t){"use strict";t.exports=sM()}}),Iu=hn({"../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){"use strict";var n=lM(),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},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=o,s[n.Memo]=a;function l(b){return n.isMemo(b)?a:s[b.$$typeof]||r}var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,y=Object.prototype;function g(b,h,m){if(typeof h!="string"){if(y){var v=p(h);v&&v!==y&&g(b,v,m)}var w=u(h);f&&(w=w.concat(f(h)));for(var C=l(b),S=l(h),E=0;E<w.length;++E){var T=w[E];if(!i[T]&&!(m&&m[T])&&!(S&&S[T])&&!(C&&C[T])){var M=d(h,T);try{c(b,T,M)}catch{}}}}return b}t.exports=g}}),cM=hn({"../../../node_modules/archy/index.js"(e,t){t.exports=function n(r,i,o){i===void 0&&(i=""),o||(o={});var a=function(u){var f={"\u2502":"|","\u2514":"`","\u251C":"+","\u2500":"-","\u252C":"-"};return o.unicode===!1?f[u]:u};typeof r=="string"&&(r={label:r});var s=r.nodes||[],l=(r.label||"").split(`
17`),c=`
18`+i+(s.length?a("\u2502"):" ")+" ";return i+l.join(c)+`
19`+s.map(function(u,f){var d=f===s.length-1,p=u.nodes&&u.nodes.length,y=i+(d?" ":a("\u2502"))+" ";return i+a(d?"\u2514":"\u251C")+a("\u2500")+a(p?"\u252C":"\u2500")+" "+n(u,y,o).slice(i.length+2)}).join("")}}}),uM=hn({"../../../node_modules/fontfaceobserver/fontfaceobserver.standalone.js"(e,t){(function(){function n(h,m){document.addEventListener?h.addEventListener("scroll",m,!1):h.attachEvent("scroll",m)}function r(h){document.body?h():document.addEventListener?document.addEventListener("DOMContentLoaded",function m(){document.removeEventListener("DOMContentLoaded",m),h()}):document.attachEvent("onreadystatechange",function m(){(document.readyState=="interactive"||document.readyState=="complete")&&(document.detachEvent("onreadystatechange",m),h())})}function i(h){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(h)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function o(h,m){h.a.style.cssText="max-width:none;min-width:20px;min-height:20px;
19display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+m+";"}function a(h){var m=h.a.offsetWidth,v=m+100;return h.f.style.width=v+"px",h.c.scrollLeft=v,h.b.scrollLeft=h.b.scrollWidth+100,h.g!==m?(h.g=m,!0):!1}function s(h,m){function v(){var C=w;a(C)&&C.a.parentNode&&m(C.g)}var w=h;n(h.b,v),n(h.c,v),a(h)}function l(h,m){var v=m||{};this.family=h,this.style=v.style||"normal",this.weight=v.weight||"normal",this.stretch=v.stretch||"normal"}var c=null,u=null,f=null,d=null;function p(){if(u===null)if(y()&&/Apple/.test(F.navigator.vendor)){var h=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(F.navigator.userAgent);u=!!h&&603>parseInt(h[1],10)}else u=!1;return u}function y(){return d===null&&(d=!!document.fonts),d}function g(){if(f===null){var h=document.createElement("div");try{h.style.font="condensed 100px sans-serif"}catch{}f=h.style.font!==""}return f}function b(h,m){return[h.style,h.weight,g()?h.stretch:"","100px",m].join(" ")}l.prototype.load=function(h,m){var v=this,w=h||"BESbswy",C=0,S=m||3e3,E=new Date().getTime();return new Promise(function(T,M){if(y()&&!p()){var I=new Promise(function(D,X){function H(){new Date().getTime()-E>=S?X(Error(""+S+"ms timeout exceeded")):document.fonts.load(b(v,'"'+v.family+'"'),w).then(function(z){1<=z.length?D():setTimeout(H,25)},X)}H()}),B=new Promise(function(D,X){C=setTimeout(function(){X(Error(""+S+"ms timeout exceeded"))},S)});Promise.race([B,I]).then(function(){clearTimeout(C),T(v)},M)}else r(function(){function D(){var ie;(ie=ee!=-1&&te!=-1||ee!=-1&&G!=-1||te!=-1&&G!=-1)&&((ie=ee!=te&&ee!=G&&te!=G)||(c===null&&(ie=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(F.navigator.userAgent),c=!!ie&&(536>parseInt(ie[1],10)||parseInt(ie[1],10)===536&&11>=parseInt(ie[2],10))),ie=c&&(ee==ne&&te==ne&&G==ne||ee==ge&&te==ge&&G==ge||ee==re&&te==re&&G==re)),ie=!ie),ie&&(de.parentNode&&de.parentNode.removeChild(de),clearTimeout(C),T(v))}function X(){if(new Date().getTime()-E>=S)de.parentNode&&de.parentNode.removeChild(de),M(Error(""+S+"ms timeout exceeded"));else{var ie=document.hidden;(ie===!0||ie===void 0)&&(ee=H.a.offsetWidth,te=z.a.offsetWidth,G=j.a.offsetWidth,D()),C=setTimeout(X,50)}}var H=new i(w),z=new i(w),j=new i(w),ee=-1,te=-1,G=-1,ne=-1,ge=-1,re=-1,de=document.createElement("div");de.dir="ltr",o(H,b(v,"sans-serif")),o(z,b(v,"serif")),o(j,b(v,"monospace")),de.appendChild(H.a),de.appendChild(z.a),de.appendChild(j.a),document.body.appendChild(de),ne=H.a.offsetWidth,ge=z.a.offsetWidth,re=j.a.offsetWidth,X(),s(H,function(ie){ee=ie,D()}),o(H,b(v,'"'+v.family+'",sans-serif')),s(z,function(ie){te=ie,D()}),o(z,b(v,'"'+v.family+'",serif')),s(j,function(ie){G=ie,D()}),o(j,b(v,'"'+v.family+'",monospace'))})})},typeof t=="object"?t.exports=l:(F.FontFaceObserver=l,F.FontFaceObserver.prototype.load=l.prototype.load)})()}});function lm(e,t){let n={style:t};return x.isValidElement(e)?x.cloneElement(e,n):x.createElement(e,n)}var fM=class extends Error{},cu=class extends Error{},dM=class extends Se{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 fM)){let n=new cu;throw n.cause=this.state.error,n}let{notFoundPage:e,defaultPageStyle:t}=this.props;if(!e)throw this.state.error;return lm(e,t)}},hM=":([a-z]\\w*)",Ni=new RegExp(hM,"gi");function DS(e,t){return e.replace(Ni,(n,r)=>{let i=t[r];return typeof i!="string"||i.length===0?n:encodeURIComponent(i)})}function AS(e,t){if(!e.startsWith("/")||!t.startsWith("/"))throw new Error("from/to paths are expected to be absolute");let[n]=nw(e),[r,i]=nw(t),o=pM(n,r);return o===""&&(o="."),!o.startsWith(".")&&!o.startsWith("/")&&(o="./"+o),o+"/"+i}function nw(e){let t=e.lastIndexOf("/");return[e.substring(0,t+1),e.substring(t+1)]}var $p=46,Uo=47,ui=(e,t)=>e.charCodeAt(t),rw=(e,t)=>e.lastIndexOf(t),Yo=(e,t,n)=>e.slice(t,n);function pM(e,t){if(e===t||(e="/"+ow(e),t="/"+ow(t),e===t))return"";let n=1,r=e.length,i=r-n,o=1,a=t.length-o,s=i<a?i:a,l=-1,c=0;for(;c<s;c++){let f=ui(e,n+c);if(f!==ui(t,o+c))break;f===Uo&&(l=c)}if(c===s)if(a>s){if(ui(t,o+c)===Uo)return Yo(t,o+c+1);if(c===0)return Yo(t,o+c)}else i>s&&(ui(e,n+c)===Uo?l=c:c===0&&(l=0));let u="";for(c=n+l+1;c<=r;++c)(c===r||ui(e,c)===Uo)&&(u+=u.length===0?"..":"/..");return`${u}${Yo(t,o+l)}`}var mM=!1,Jc="/",iw=e=>e===Uo;function ow(e){let t="",n=0,r=-1,i=0,o=0;for(let a=0;a<=e.length;++a){if(a<e.length)o=ui(e,a);else{if(iw(o))break;o=Uo}if(iw(o)){if(!(r===a-1||i===1))if(i===2){if(t.length<2||n!==2||ui(t,t.length-1)!==$p||ui(t,t.length-2)!==$p){if(t.length>2){let s=rw(t,Jc);s===-1?(t="",n=0):(t=Yo(t,0,s),n=t.length-1-rw(t,Jc)),r=a,i=0;continue}else if(t.length!==0){t="",n=0,r=a,i=0;continue}}mM&&(t+=t.length>0?`${Jc}..`:"..",n=2)}else t.length>0?t+=`${Jc}${Yo(e,r+1,a)}`:t=Yo(e,r+1,a),n=a-r-1;
19r=a,i=0}else o===$p&&i!==-1?++i:i=-1}return t}function VS(e){let t=typeof F<"u"?F.location.search:"";return t?vM(t,e):e}function vM(e,t){let n=t.indexOf("#"),r=n===-1?t:t.substring(0,n),i=n===-1?"":t.substring(n),o=r.indexOf("?");if(o===-1)return r+e+i;let a=new URLSearchParams(e),s=r.substring(o+1),l=new URLSearchParams(s);for(let[c,u]of a)l.has(c)||l.append(c,u);return r.substring(0,o+1)+l.toString()+i}function Ts(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function $i(e){return typeof e=="string"}var gM="preload";function BS(e){return typeof e=="object"&&e!==null&&!x.isValidElement(e)&&gM in e}function rN(e){let t=x.lazy(e),n,r,i=x.forwardRef(function(a,s){return x.createElement(r??t,s?{ref:s,...a}:a)});return i.preload=()=>(n||(n=e().then(o=>(r=o.default,r))),n),i}function Fu(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function yM(e){return/bot|-google|google-|yandex|ia_archiver/iu.test(e)}function $S(e){if("scheduler"in F){if("yield"in scheduler)return scheduler.yield(e);if("postTask"in scheduler)return scheduler.postTask(()=>{},e)}return e?.priority==="user-blocking"?Promise.resolve():new Promise(t=>{setTimeout(t)})}async function bM(e,t){return await $S(t),e()}function Es(e,t=!0){return new Promise(n=>{t&&setTimeout(n,100),requestAnimationFrame(()=>{bM(n,e)})})}function km(e,t,n,r=!1){ot(()=>{(async()=>{await Es(n,r),e()})()},t)}var wu=()=>{};async function xM(e,t,n,r,i,o,a){var s,l,c;let u=e,f=!1,d={...o},p=Array.from(u.matchAll(Ni)),y=await Promise.all(p.map(async m=>{var v;let w=m?.[0],C=m?.[1];if(!w||!C)throw new Error("Failed to replace path variables: unexpected regex match group");let S=o[C];if(!S||!$i(S))throw new Error(`No slug found for path variable ${C}`);let E=await((v=a?.[i])===null||v===void 0?void 0:v.call(a));if(!E||!t)return S;let T=await E.getRecordIdBySlug(S,t);if(!T)return S;let M=await E.getSlugByRecordId(T,n);if(!M){f=!0;let I=await E.getSlugByRecordId(T,r);return I&&(d[C]=I),I??S}return d[C]=M,M})),g=0,b="",h=!1;for(let m=0;m<p.length;m++){let v=p[m],w=y[m];!v||!w||(b+=u.substring(g,v.index),g=((s=v.index)!==null&&s!==void 0?s:0)+((c=(l=v[0])===null||l===void 0?void 0:l.length)!==null&&c!==void 0?c:0),b+=y[m],h=!0)}return h&&(u=b),{path:u,pathVariables:d,isMissingInLocale:f}}async function wM({currentLocale:e,nextLocale:t,defaultLocale:n,route:r,pathVariables:i,collectionUtils:o,preserveQueryParams:a}){let{path:s}=r,l={path:s,pathVariables:i,isMissingInLocale:!1};if(!s)return l;if(i&&r.collectionId)try{l=await xM(s,e,t,n,r.collectionId,i,o)}catch{}return t.slug&&(l.path="/"+t.slug+l.path),a&&l.path&&(l.path=VS(l.path)),l}function SM(e,t,{global:n,routes:r}){var i;return((i=r[e])===null||i===void 0?void 0:i[t])||n}var kM={global:void 0,routes:{}},zS=x.createContext(kM);function sN({children:e,value:t}){return k(zS.Provider,{value:t,children:e})}function CM(){return x.useContext(zS)}var zp=10,TM=1e4;function EM(e){let t=zp,n=e.next(0),r=[n.value];for(;!n.done&&t<TM;)n=e.next(t),r.push(n.value),t+=zp;return r.length===1&&r.push(n.value),{easing:`linear(${r.join(",")})`,duration:t-zp}}var Pr=e=>`--view-transition-${e}`;function cm(e){return[parseFloat(e),e.endsWith("px")?"px":"%"]}function NS(e){let{innerWidth:t,innerHeight:n}=F,[r,i]=cm(e.x),[o,a]=cm(e.y);return{x:i==="px"?r:t*(r/100),y:a==="px"?o:n*(o/100)}}var RM={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),`${Pr("conic-offset")}: ${r}%;`},makeStyles:(e,t)=>{let n=`var(${Pr("conic-offset")})`,r=t==="exit"&&e.angularDirection==="clockwise"||t==="enter"&&e.angularDirection==="counter-clockwise",i=r?"transparent":"black",o=r?"black":"transparent",a="conic-gradient(from ";return a+=`${e.angle}deg at ${e.x} ${e.y}, `,a+=`${i} 0%, ${i} ${n}, `,a+=`${o} ${n}, ${o} 100%)`,`mask-image: ${a}; -webkit-mask-image: ${a};`},makePropertyRules:()=>`
20        @property ${Pr("conic-offset")} {
21            syntax: '<percentage>';
22            initial-value: 0%;
23            inherits: false;
24        }
25    `},PM={makeKeyframe:(e,t)=>
25{let{x:n,y:r}=NS(e);return t==="start"?`clip-path: circle(0 at ${n}px ${r}px);`:`clip-path: circle(${Math.hypot(Math.max(n,F.innerWidth-n),Math.max(r,F.innerHeight-r))}px at ${n}px ${r}px);`}},_M={makeKeyframe:(e,t)=>{let{x:n,y:r}=NS(e),i=F.innerHeight-r,o=F.innerWidth-n;return t==="start"?`clip-path: inset(${r}px ${o}px ${i}px ${n}px round ${e.round}px);`:"clip-path: inset(0 round 0);"}},IM={makeKeyframe:(e,t,n)=>{let[,r]=cm(e.width),i=`0${r}`;return(t==="start"&&n==="exit"||t==="end"&&n==="enter")&&(i=e.width),`${Pr("blinds-width")}: ${i};`},makeStyles:(e,t)=>{let n=`var(${Pr("blinds-width")})`,r=t==="exit"?"transparent":"black",i=t==="exit"?"black":"transparent",o="repeating-linear-gradient(";return o+=e.angle+90+"deg, ",o+=`${r} 0px, ${r} ${n}, `,o+=`${i} ${n}, ${i} ${e.width})`,`mask-image: ${o}; -webkit-mask-image: ${o};`},makePropertyRules:()=>`
26            @property ${Pr("blinds-width")} {
27                syntax: '<length-percentage>';
28                initial-value: 0px;
29                inherits: false;
30            }
31        `},FM={makeKeyframe:(e,t,n)=>{let r=t==="start"&&n==="exit"||t==="end"&&n==="enter"?1:0;return`${Pr("wipe-offset")}: ${r};`},makeStyles:(e,t)=>{let n=`var(${Pr("wipe-offset")})`,r=t==="exit"?"transparent":"black",i=t==="exit"?"black":"transparent",o="linear-gradient(";return o+=e.angle+90+"deg, ",o+=`${r} calc(calc(0% - ${e.width}) + calc(calc(100% + ${e.width}) * ${n})), `,o+=`${i} calc(calc(100% + ${e.width}) * ${n}))`,`mask-image: ${o}; -webkit-mask-image: ${o};`},makePropertyRules:()=>`
32            @property ${Pr("wipe-offset")} {
33                syntax: '<number>';
34                initial-value: 0;
35                inherits: false;
36            }
37        `},MM={circle:PM,conic:RM,inset:_M,blinds:IM,wipe:FM},LM={opacity:1,x:"0px",y:"0px",scale:1,rotate:0,rotateX:0,rotateY:0,mask:void 0};function aw(e,t,n,r){var i;let o=`
38      opacity: ${e.opacity};
39      transform: translate(${e.x}, ${e.y}) scale(${e.scale}) rotateX(${e.rotateX}deg) rotateY(${e.rotateY}deg) rotateZ(${e.rotate}deg);
40    `;return e.mask&&(o+=((i=r?.makeKeyframe)===null||i===void 0?void 0:i.call(r,e.mask,t,n))||""),o}function OM(e){return e?MM[e]:void 0}function sw(e,{transition:t,...n}){var r;let i="view-transition-"+e,o={duration:"0s",easing:"linear"};if(t.type==="tween")o.duration=t.duration+"s",o.easing=`cubic-bezier(${t.ease.join(",")})`;else if(t.type==="spring"){let{easing:c,duration:u}=EM(Ca({keyframes:[0,1],stiffness:t.stiffness,damping:t.damping,mass:t.mass,restDelta:.001,restSpeed:1e-4}));o.duration=u+"ms",o.easing=c}let a=OM((r=n?.mask)===null||r===void 0?void 0:r.type),s=aw(n,"start",e,a),l=aw({...LM,mask:n.mask},"end",e,a);return e==="exit"&&([s,l]=[l,s]),`
41        ${n.mask&&a?.makePropertyRules?a.makePropertyRules(n.mask):""}
42
43        @keyframes ${i} {
44            0% {
45                ${s}
46            }
47
48            100% {
49                ${l}
50            }
51        }
52
53        ::view-transition-${e==="enter"?"new":"old"}(root) {
54            animation-name: ${i};
55            animation-duration: ${o.duration};
56            animation-delay: ${t.delay}s;
57            animation-timing-function: ${o.easing};
58            animation-fill-mode: both;
59            ${n.mask&&a?.makeStyles?a.makeStyles(n.mask,e):""}
60        }
61    `}var HS="view-transition-styles",DM={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}};function AM({exit:e=DM,enter:t}){let n=document.createElement("style");n.id=HS;let r=`
62        @media (prefers-reduced-motion) {
63            ::view-transition-group(*),
64            ::view-transition-old(*),
65            ::view-transition-new(*) {
66                animation: none !important;
67            }
68        }
69    `;(e.mask||t.mask||e.opacity||t.opacity||e.transition.delay||t.transition.delay)&&(r+=`
70            ::view-transition-old(*),
71            ::view-transition-new(*) {
72                mix-blend-mode: normal;
73            }
74        `),r+=`
75        ::view-transition-old(*),
76        ::view-transition-new(*) {
77            backface-visibility: hidden;
78        }
79    `,r+=sw("exit",e),r+=sw("enter",t),n.textContent=r,document.head.appendChild(n)}
79function VM(){requestIdleCallback(()=>{K.render(()=>{performance.mark("framer-vt-remove");let e=document.getElementById(HS);e&&document.head.removeChild(e)})})}var lw=()=>{};function BM(){return!!document.startViewTransition}function $M(e){return new Promise(t=>{K.render(()=>{performance.mark("framer-vt-style"),AM(e),t()})})}async function cw(e,t,n){if(!BM()){e();return}if(await $M(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(lw),Promise.all([r.ready,r.finished]).then(()=>{performance.mark("framer-vt-finished"),VM()}).catch(lw),r}function jS(){let e=CM(),t=A(void 0);return N(()=>{t.current&&(t.current(),t.current=void 0)}),oe((n,r,i,o,a)=>{let s=SM(n,r,e);if(s){let l=new Promise(f=>{t.current=f}),c=async()=>{i(),await l},u=async()=>(await Es({priority:"user-blocking",signal:a},!1).catch(wu),cw(c,s,a));return o?u():cw(c,s)}else return i()},[e])}function WS(e,t=!1){let n=`start-${e}`,r=`end-${e}`,i=A(void 0);return km(()=>{i.current&&(i.current(),i.current=void 0)},void 0,{priority:"user-blocking"},t),oe(()=>{let o=new Promise(a=>{i.current=a});return performance.mark(n),o.finally(()=>{performance.mark(r),performance.measure(e,n,r)}).catch(a=>{console.error(a)})},[e,n,r])}async function uw(e,t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,localeId:a,preserveQueryParams:s},l=!1,c=!1){let{path:u}=t;if(u)try{let f=Mu(t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,preserveQueryParams:s}),d=US({routeId:e,hash:i,pathVariables:o,localeId:a},f,l,c);l||await d}catch{}}function zM(e){let t="routeId";return Ts(e)&&$i(e[t])}function NM(e,t,n=!1){performance.mark("framer-history-replace"),(n?F.history.__proto__.replaceState:F.history.replaceState).call(F.history,e,"",t)}async function US(e,t,n=!1,r=!1){if(n&&await Es({priority:"user-blocking"}),performance.mark("framer-history-push"),!r){F.history.pushState(e,"",t);return}let i=!1,o=()=>{i=!0};F.addEventListener("popstate",o,{once:!0}),F.history.__proto__.pushState.call(F.history,e,"",t),queueMicrotask(()=>{i||(F.removeEventListener("popstate",o),F.history.replaceState(e,""))})}function HM({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){ot(()=>{e||(performance.mark("framer-history-set-initial-state"),NM({routeId:t,pathVariables:n,localeId:r},void 0,!0))},[])}function jM(e,t){let n=jS(),r=WS("route-change-popstate"),i=A(void 0),o=oe(async({state:s})=>{var l,c,u,f,d,p;if(!((l=F.navigation)===null||l===void 0)&&l.transition&&((u=(c=F.navigation)===null||c===void 0?void 0:c.transition)===null||u===void 0?void 0:u.navigationType)!=="traverse"||!Ts(s))return;let{routeId:y,hash:g,pathVariables:b,localeId:h}=s;if(!$i(y))return;r();let m=()=>{t(y,$i(h)?h:void 0,$i(g)?g:void 0,Ts(b)?b:void 0,!1,!0)},v=await n(e.current,y,m,!1);v?v.updateCallbackDone.then((f=i.current)===null||f===void 0?void 0:f.resolve).catch((d=i.current)===null||d===void 0?void 0:d.reject):(p=i.current)===null||p===void 0||p.resolve()},[e,r,t,n]),a=oe(s=>{s.navigationType==="traverse"&&s.intercept({async handler(){await new Promise((l,c)=>{i.current={resolve:l,reject:c}})},scroll:"after-transition"})},[]);N(()=>{var s;return F.addEventListener("popstate",o),(s=F.navigation)===null||s===void 0||s.addEventListener("navigate",a),()=>{var l;F.removeEventListener("popstate",o),(l=F.navigation)===null||l===void 0||l.removeEventListener("navigate",a)}},[o,a])}function WM(e,t,n){let r=Fu(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(Ni,(o,a)=>{var s;return String((s=i[a])!==null&&s!==void 0?s:o)})}function Mu(e,{currentRoutePath:t,currentPathVariables:n,hash:r,pathVariables:i,hashVariables:o,relative:a=!0,preserveQueryParams:s}){var l;let c=t??"/";n&&(c=c.replace(Ni,(y,g)=>String(n[g]||y)));let f=(l=e?.path)!==null&&l!==void 0?l:"/";i&&(f=f.replace(Ni,(y,g)=>String(i[g]||y)));let d=WM(r,e,o),p=c===f&&d;return a&&(f=AS(c,f)),(s||p)&&(f=VS(f)),d&&(f=`${f}#${d}`),f}async function UM(e,t,n){if(!e.path||!t)return!1;let i=`${n.slug?`/${n.slug}`:""}${DS(e.path,t)}`;return(await fetch(i,{method:"HEAD",redirect:"manual"})).type==="opaqueredirect"?(F.location.href=F.location.origin+i,!0):!1}async function XM(e){let t=await wM(e);if(t){try{localStorage.setItem("preferredLocale",e.nextLocale.code)}catch{}try{if(!$i(t.path))throw new Error("Expected result.path to be a string");if(t.isMissingInLocale&&await UM(e.route,t.pathVariables,e.nextLocale))return}catch{}return t}}function YM(){let e=A(Promise.resolve()),t=A(),n=oe(r=>{if(r.navigationType==="traverse")return;let i=t.current;i?.signal.addEventListener("abort",()=>{i.abort("user aborted")}),r.intercept({handler:()=>e.current})},[]);
79return oe((r,i,o)=>{if(!F.navigation){i();return}e.current=r,t.current=o,F.navigation.addEventListener("navigate",n),i(!0),r.catch(wu).finally(()=>{F.navigation.removeEventListener("navigate",n)})},[n])}function Tr(e,t,n){try{performance.measure(e,t,n)}catch(r){console.warn(`Could not measure ${e}`,r)}}var Ln=!1;function uN(){Ln=!0,performance.mark("framer-hydration-start")}var fw=!1,dw=!1,hw=!1;function GM(){let e="framer-hydration-router";it(()=>{fw||!Ln||(fw=!0,performance.mark(`${e}-insertion-effect`))},[]),ot(()=>{dw||!Ln||(dw=!0,performance.mark(`${e}-layout-effect`))},[]),N(()=>{hw||!Ln||(hw=!0,performance.mark(`${e}-effect`))},[])}var pw=!1,mw=!1,vw=!1;function qM(){let e="framer-hydration-",t=`${e}layout-effects-end`,n=`${e}effects-end`,r=`${e}browser-render-start`,i=`${e}render-end`;return it(()=>{pw||!Ln||(pw=!0,performance.mark(i),Tr(`${e}render`,`${e}start`,i),performance.mark(`${e}insertion-effects-start`))},[]),ot(()=>{mw||!Ln||(mw=!0,performance.mark(`${e}layout-effects-start`),requestAnimationFrame(()=>{var o,a,s;performance.mark(r),Tr(`${e}uho`,(a=(o=performance.getEntriesByName(n)[0])===null||o===void 0?void 0:o.name)!==null&&a!==void 0?a:(s=performance.getEntriesByName(t)[0])===null||s===void 0?void 0:s.name,r)}))},[]),N(()=>{var o;if(vw||!Ln)return;vw=!0;let a=`${e}effects-start`;performance.mark(a),((o=performance.getEntriesByName(r)[0])===null||o===void 0?void 0:o.name)||(Tr(`${e}commit`,t,a),performance.mark(`${e}effects-sync`))},[]),null}var gw=!1,yw=!1,bw=!1,xw=!1;function KM(){let e="framer-hydration-",t=`${e}layout-effects-end`,n=`${e}effects-end`,r=`${e}browser-render-start`,i=`${e}start`,o=`${e}insertion-effects-end`,a=`${e}first-paint`,s=`${e}browser-raf-end`;return it(()=>{gw||!Ln||(gw=!0,performance.mark(o),Tr(`${e}insertion-effects`,`${e}insertion-effects-start`,o))},[]),ot(()=>{yw||!Ln||(yw=!0,performance.mark(t),Tr(`${e}layout-effects`,`${e}layout-effects-start`,t),requestAnimationFrame(()=>{performance.mark(s),Tr(`${e}raf`,r,s)}))},[]),N(()=>{var l,c,u;bw||!Ln||(bw=!0,performance.mark(n),Tr(`${e}effects`,(c=(l=performance.getEntriesByName(a)[0])===null||l===void 0?void 0:l.name)!==null&&c!==void 0?c:(u=performance.getEntriesByName(`${e}effects-start`)[0])===null||u===void 0?void 0:u.name,n))},[]),km(()=>{xw||!Ln||(xw=!0,performance.mark(a),Tr(`${e}time-to-first-paint`,i,a),Tr(`${e}browser-render`,s,a))},[],{priority:"user-blocking"}),null}function QM(){return qM(),null}function ZM(){return KM(),null}var ww={Start:QM,End:ZM},ks=["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"],XS=e=>{var t,n;!((n=(t=e.target)===null||t===void 0?void 0:t.closest)===null||n===void 0)&&n.call(t,"#main")&&(e.stopPropagation(),performance.mark("framer-react-event-handling-prevented"))},YS=!1;function fN(){if(!ks)return;YS=!0,performance.mark("framer-react-event-handling-start");let e={capture:!0};ks.forEach(t=>document.body.addEventListener(t,XS,e))}function JM(){return km(()=>{if(!YS||!ks)return;let e={capture:!0};ks.forEach(t=>document.body.removeEventListener(t,XS,e)),ks=void 0,performance.mark("framer-react-event-handling-end")},[],{priority:"user-blocking"}),null}var Cm=!1;function hN(){Cm=!0}function eL(){Cm=!1}function tL(){let e=A(typeof F>"u"||Cm);return N(()=>{e.current=!1},[]),e}function nL(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(i=>n[i]===r[i])}function GS(e){return x.useCallback(t=>e[t],[e])}var Tm=(()=>x.createContext({}))();function rL({api:e,children:t}){return k(Tm.Provider,{value:e,children:t})}function Ui(){return x.useContext(Tm)}function iL({routes:e,children:t}){let n=GS(e);return k(Tm.Provider,{value:{getRoute:n},children:t})}var oL=class extends Se{constructor(){super(...arguments),this.state={error:void 0}}static getDerivedStateFromError(e){return e instanceof cu||console.error("Derived error in SuspenseErrorBoundary",e),{error:e}}componentDidCatch(e,t){var n;if(e instanceof cu)return;let r=t?.componentStack;if(console.error("Caught error in SuspenseErrorBoundary",e,r),typeof F<"u"){let i=e instanceof Error&&typeof e.stack=="str
79ing"?e.stack:null;(n=F.__framer_events)===null||n===void 0||n.push(["published_site_load_recoverable_error",{message:String(e),stack:i,componentStack:i?void 0:r}])}}render(){if(this.state.error===void 0)return this.props.children;if(this.state.error instanceof cu)throw this.state.error.cause;return k(ra,{children:this.props.fallbackChildren})}},aL=(()=>typeof F<"u"?new Promise(()=>{}):null)();function sL(){if(typeof F>"u")return null;throw aL}function qS({children:e}){return k(oL,{fallbackChildren:e,children:k(ra,{fallback:k(sL,{}),children:e})})}var Sw="default";function lL(){let[e,t]=x.useState(0);return[e,x.useCallback(()=>t(n=>n+1),[])]}var cL=async()=>{},uL={activeLocale:null,locales:[],setLocale:cL},KS=x.createContext(uL);function Em(){return x.useContext(KS)}function kw(e,t,n){let r=e&&document.getElementById(e);if(r){pL(r,t);return}n||F.scrollTo(0,0)}function fL(e){let t=A([]);return ot(()=>{var n;!((n=t.current)===null||n===void 0)&&n.length&&(t.current.forEach(r=>r()),t.current=[])},[e]),oe(n=>{t.current.push(n)},[])}function dL(e){let t=YM(),n=WS("route-change",!0),r=A(void 0);return oe(async(i,o,a=!0)=>{var s;if(eL(),!e)return await o?.(),i(),n(),new Promise(p=>{p()});(s=r.current)===null||s===void 0||s.abort();let l=a?new AbortController:void 0;r.current=l;let c=l?.signal,u=n();if(!o)return r.current=void 0,i(c),u;i(c),await Es({priority:"user-visible",signal:c}).catch(wu),await Es({priority:"user-visible",signal:c}).catch(wu);let f,d=new Promise((p,y)=>{f=p,c?.aborted?y():c?.addEventListener("abort",y)});return t(d,o,l),u.then(()=>{f()})},[e,n,t])}function hL({defaultPageStyle:e,disableHistory:t,initialPathVariables:n,initialRoute:r,notFoundPage:i,collectionUtils:o,routes:a,initialLocaleId:s,locales:l=[],preserveQueryParams:c=!1,enableAsyncURLUpdates:u=!1}){GM(),HM({disabled:t,routeId:r,initialPathVariables:n,initialLocaleId:s});let f=jS(),[d,p]=lL(),y=fL(d),g=dL(u),b=A(r),h=A(n),m=A(s),v=m.current,w=ae(()=>{var j;return(j=l.find(({id:ee})=>v?ee===v:ee===Sw))!==null&&j!==void 0?j:null},[v,l]),C=ae(()=>({activeLocale:w,locales:l,setLocale:async j=>{let ee;$i(j)?ee=j:Ts(j)&&(ee=j.id);let te=l.find(({id:re})=>re===Sw),G=l.find(({id:re})=>re===ee);if(!G)return;let ne=b.current,ge=a[ne];if(ge)try{let re=await XM({currentLocale:w,nextLocale:G,route:ge,routeId:ne,defaultLocale:te,pathVariables:h.current,collectionUtils:o,preserveQueryParams:c});if(!re)return;let de=h.current,ie=zM(F.history.state)?F.history.state.paginationInfo:void 0,ut=re.path;h.current=re.pathVariables,m.current=G.id,g(()=>{f(ne,ne,()=>sr(p),u)},async(Pt=!1)=>{if(ut)return US({routeId:ne,pathVariables:de,localeId:G.id,paginationInfo:ie},ut,!1,Pt)},!1)}catch{}}}),[w,o,u,p,l,c,a,g,f]),S=oe((j,ee,te,G,ne=!1,ge=!1,re)=>{let de=b.current;if(b.current=j,h.current=G,m.current=ee,y(()=>{kw(te,ne,ge)}),ge){sr(p);return}g(ie=>{f(de,j,()=>sr(p),u,ie)},re)},[u,p,y,g,f]);jM(b,S);let E=oe(async(j,ee,te,G)=>{var ne,ge;let re=a[j];if(te){let be=new Set,qt=(ne=re?.path)!==null&&ne!==void 0?ne:"/";for(let Sn of qt.matchAll(Ni)){let kn=Sn[1];if(kn===void 0)throw new Error("A matching path variable should not be undefined");be.add(kn)}te=Object.fromEntries(Object.entries(te).filter(([Sn])=>be.has(Sn)))}let de=Fu(re,ee),ie=h.current,ut=m.current;if(nL({routeId:b.current,pathVariables:ie},{routeId:j,pathVariables:te})){kw(de,G,!1);let be=a[j];if(((ge=F.history.state)===null||ge===void 0?void 0:ge.hash)===ee||t||!be)return;let qt=uw(j,be,{currentRoutePath:be.path,currentPathVariables:ie,pathVariables:te,hash:ee,localeId:ut,preserveQueryParams:c},u);return u?void 0:await qt}if(!re)return;let Te=a[b.current];S(j,ut,de,te,G,!1,t?void 0:async(be=!1)=>uw(j,re,{currentRoutePath:Te?.path,currentPathVariables:ie,hash:ee,pathVariables:te,localeId:ut,preserveQueryParams:c},!1,be))},[a,S,t,c,u]),T=GS(a),M=b.current,I=h.current,B=ae(()=>({navigate:E,getRoute:T,currentRouteId:M,currentPathVariables:I,routes:a,collectionUtils:o,preserveQueryParams:c}),[E,T,M,I,a,o,c]),D=a[b.current];if(!D)throw new Error(`Router cannot find route for ${b.current}`);let X=!w||!D.includedLocales||D.includedLocales.includes(w.id),H=D.path&&I?DS(D.path,I):D.path,z=String(v)+H;return k(rL,{api:B,children:k(KS.Provider,{value:C,children:se(qS,{children:[k(dM,{notFoundPage:i,defaultPageStyle:e,forceUpdateKey:d,children:se(or,{children:[k(ww.Start,{}),X?lm(D.page,e):i&&lm(i,e)]},z)}),k(JM,{}),k(ww.End,{})]})})})}function pL(e,t){let n=t?{behavior:"smooth",block:"start",inline:"nearest"}:void 0;e.scrollIntoView(n)}var eu,Np,Cw;function mL(e){if(Cw!==e){eu={};for(let[t,{path:n}]of Object.entries(e))n&&(eu[n]={path:n,depth:vL(n),routeId:t});Np=Object.values(eu),Np.sort(({depth:t},{depth:n})=>n-t),Cw=e}return[eu,Np]}function QS(e,t,n=!0,r=[]){let[i,o]=mL(e),a,s,l=t;if(r.length>0){let d=l.split("/").find(Boolean);if(d&&(a=r.find(({slug:p})=>p===d),a&&(s=a.id,l=l.substring(a.slug.length+1))),!s){let p=r.find(({slug:y})=>y==="");p&&(s=p.id)}}let c=i[l];if(c){let d=Tw(l,c.path);if(d.isMatch)return{routeId:c.routeId,localeId:s,pathVariables:d.pathVariables}}for(let{path:d,routeId:p}of o){let y=Tw(l,d);if(y.isMatch)return{routeId:p,localeId:s,pathVariables:y.pathVariables}}if(!n)throw new Error("No exact match found for path");let u=i["/"];if(u)return{routeId:u.routeId,localeId:s};let f=Object.keys(e)[0];if(!f)throw new Error("Router should not have undefined routes");return{routeId:f,localeId:s}}function vL(e){let t=e.replace(/^\/|\/$/gu,"");return t===""?0:t.split("/").length}function Tw(e,t){let n=[],i=gL(t).replace(Ni,(c,u)=>(n.push(u),"([^/]+)")),o=new RegExp(i+"$"),a=e.match(o);if(!a)return{isMatch:!1};if(a.length===1)return{isMatch:!0};let s={},l=a.slice(1);for(let c=0;c<n.length;++c){let u=n[c];if(u===void 0)continue;let f=l[c],d=s[u];if(d){if(d!==f)return{isMatch:!1};continue}if(f===void 0)throw new Error("Path variable values cannot be undefined");s[u]=f}return{isMatch:!0,pathVariables:s}}function gL(e){return e.replace(/[|\\{}()[\]^$+*?.]/gu,"\\$&").replace(/-/gu,"\\x2d")}var yL="page";function Ew(e){return Ts(e)&&yL in e&&e.page!==void 0}var bL=(()=>x.createContext(void 0))();function zs(){var e;let t=Ui(),n=V(bL),r=n??t.currentRouteId;if(!r)return;let i=(e=t.getRoute)===null||e===void 0?void 0:e.call(t,r);
79if(i)return{...i,id:r,pathVariables:n?void 0:t.currentPathVariables}}function xL(e){var t;let n=Ui();if(e)return(t=n.getRoute)===null||t===void 0?void 0:t.call(n,e)}var Rm=(()=>typeof F<"u"&&!yM(ze.userAgent))();function wL(e,t=!0){let{getRoute:n}=Ui();N(()=>{if(!(!n||!t||!Rm))for(let r of e)ZS(n(r))},[e,n,t])}async function ZS(e){if(!Rm||!e)return;let t=e.page;if(!(!t||!BS(t))){await $S();try{await t.preload()}catch{}}}function _N(e,t){var n;let r=zs(),i=(n=xL(t))!==null&&n!==void 0?n:r;return x.useMemo(()=>i?Fu(i,e):e,[e,i])}var Rw=new Set;function Rs(e,...t){Rw.has(e)||(Rw.add(e),console.warn(e,...t))}function SL(e,t,n){let r=n?`, use ${n} instead`:"",i=`Deprecation warning: ${e} will be removed in version ${t}${r}.`;Rs(i)}var JS=class{constructor(){R(this,"observers",new Set),R(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}},tt=(()=>{function e(t){return SL("Animatable()","2.0.0","the new animation API (https://www.framer.com/api/animation/)"),On(t)?t:new CL(t)}return e.transaction=t=>{let n=Math.random(),r=new Set;t((a,s)=>{a.set(s,n),r.add(a)},n);let o=[];r.forEach(a=>{o.push(...a.finishTransaction(n))}),o.forEach(a=>{a(n)})},e.getNumber=(t,n=0)=>e.get(t,n),e.get=(t,n)=>t==null?n:On(t)?t.get():t,e.objectToValues=t=>{if(!t)return t;let n={};for(let r in t){let i=t[r];On(i)?n[r]=i.get():n[r]=i}return n},e})(),Pw="onUpdate",_w="finishTransaction";function On(e){return e!==null&&typeof e=="object"&&Pw in e&&e[Pw]instanceof Function&&_w in e&&e[_w]instanceof Function}function kL(e,t){return{interpolate(n,r){let i=n.get(),o=r.get(),a=tt(i);return s=>{let l=t.interpolate(i,o)(s);return a.set(l),a}},difference(n,r){let i=n.get();return t.difference(i,r.get())}}}var CL=class{constructor(e){this.value=e,R(this,"observers",new JS)}static interpolationFor(e,t){if(On(e))return kL(e,t)}get(){return this.value}set(e,t){let n=this.value;On(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)}};function tu(e,t){let r=10**Math.round(Math.abs(t));return Math.round(e*r)/r}function Iw(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function ln(e,t){return{x:e,y:t}}(e=>{e.add=(...i)=>i.reduce((o,a)=>({x:o.x+a.x,y:o.y+a.y}),{x:0,y:0}),e.subtract=(i,o)=>({x:i.x-o.x,y:i.y-o.y}),e.multiply=(i,o)=>({x:i.x*o,y:i.y*o}),e.divide=(i,o)=>({x:i.x/o,y:i.y/o}),e.absolute=i=>({x:Math.abs(i.x),y:Math.abs(i.y)}),e.reverse=i=>({x:i.x*-1,y:i.y*-1}),e.pixelAligned=(i,o={x:0,y:0})=>({x:Iw(i.x,o.x),y:Iw(i.y,o.y)}),e.distance=(i,o)=>{let a=Math.abs(i.x-o.x),s=Math.abs(i.y-o.y);return Math.sqrt(a*a+s*s)},e.angle=(i,o)=>Math.atan2(o.y-i.y,o.x-i.x)*180/Math.PI-90,e.angleFromX=(i,o)=>Math.atan2(o.y-i.y,o.x-i.x)*180/Math.PI,e.isEqual=(i,o)=>i.x===o.x&&i.y===o.y,e.rotationNormalizer=()=>{let i;return o=>{typeof i!="number"&&(i=o);let a=i-o,s=Math.abs(a)+180,l=Math.floor(s/360);return a<180&&(o-=l*360),a>180&&(o+=l*360),i=o,o}};function t(i,o){return{x:(i.x+o.x)/2,y:(i.y+o.y)/2}}e.center=t;function n(i){let o=0,a=0;i.forEach(c=>{o+=c.x,a+=c.y});let s=o/i.length,l=a/i.length;return{x:s,y:l}}e.centroid=n;function r(i){let o=e.centroid(i),a=new Map;for(let s=0;s<i.length;s++){let l=i[s];a.set(l,Math.atan2(l.x-o.x,l.y-o.y))}return i.sort((s,l)=>a.get(s)-a.get(l))}e.sortClockwise=r})(ln||(ln={}));var um={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:"90ee9
790",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"};function ii(e,t,n,r=!1){let[i,o]=t,[a,s]=n,l=o-i;if(l===0)return(s+a)/2;let c=s-a;if(c===0)return a;let u=a+(e-i)/l*c;if(r===!0)if(a<s){if(u<a)return a;if(u>s)return s}else{if(u>a)return a;if(u<s)return s}return u}function Go(e){return!isNaN(e)&&isFinite(e)}function oi(e){let t=fm(e);return t!==void 0?e.includes("%")?t/100:t:0}function fm(e){let t=/\d?\.?\d+/u.exec(e);return t?Number(t[0]):void 0}var TL=(()=>iM().Hsluv)(),Xt=new TL;function EL(e,t,n){return Xt.rgb_r=e/255,Xt.rgb_g=t/255,Xt.rgb_b=n/255,Xt.rgbToHsluv(),{h:Xt.hsluv_h,s:Xt.hsluv_s,l:Xt.hsluv_l}}function RL(e,t,n,r=1){return Xt.hsluv_h=e,Xt.hsluv_s=t,Xt.hsluv_l=n,Xt.hsluvToRgb(),{r:Xt.rgb_r*255,g:Xt.rgb_g*255,b:Xt.rgb_b*255,a:r}}function nu(e,t,n,r){let i=Math.round(e),o=Math.round(t*100),a=Math.round(n*100);return r===void 0||r===1?"hsv("+i+", "+o+"%, "+a+"%)":"hsva("+i+", "+o+"%, "+a+"%, "+r+")"}function PL(e,t,n){return{r:Go(e)?Dt(e,255)*255:0,g:Go(t)?Dt(t,255)*255:0,b:Go(n)?Dt(n,255)*255:0}}function Fw(e,t,n,r){let i=[jp(Math.round(e).toString(16)),jp(Math.round(t).toString(16)),jp(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 Pm(e,t,n){let r,i,o=Dt(e,255),a=Dt(t,255),s=Dt(n,255),l=Math.max(o,a,s),c=Math.min(o,a,s),u=i=r=(l+c)/2;if(l===c)u=i=0;else{let f=l-c;switch(i=r>.5?f/(2-l-c):f/(l+c),l){case o:u=(a-s)/f+(a<s?6:0);break;case a:u=(s-o)/f+2;break;case s:u=(o-a)/f+4;break}u/=6}return{h:u*360,s:i,l:r}}function Hp(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}
79function _L(e,t,n){let r,i,o;if(e=Dt(e,360),t=Dt(t*100,100),n=Dt(n*100,100),t===0)r=i=o=n;else{let a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=Hp(s,a,e+1/3),i=Hp(s,a,e),o=Hp(s,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function Mw(e,t,n){e=Dt(e,255),t=Dt(t,255),n=Dt(n,255);let r=Math.max(e,t,n),i=Math.min(e,t,n),o=r-i,a,s=r===0?0:o/r,l=r;if(r===i)a=0;else{switch(r){case e:a=(t-n)/o+(t<n?6:0);break;case t:a=(n-e)/o+2;break;case n:a=(e-t)/o+4;break}a/=6}return{h:a,s,v:l}}function IL(e,t,n){e=Dt(e,360)*6,t=Dt(t*100,100),n=Dt(n*100,100);let r=Math.floor(e),i=e-r,o=n*(1-t),a=n*(1-i*t),s=n*(1-(1-i)*t),l=r%6,c=[n,a,o,o,s,n][l],u=[s,n,n,a,o,o][l],f=[o,o,s,n,n,a][l];return{r:c*255,g:u*255,b:f*255}}function Dt(e,t){let n,r;if(typeof t=="string"?n=parseFloat(t):n=t,typeof e=="string"){FL(e)&&(e="100%");let i=ML(e);r=Math.min(n,Math.max(0,parseFloat(e))),i&&(r=Math.floor(r*n)/100)}else r=e;return Math.abs(r-n)<1e-6?1:r%n/n}function FL(e){return typeof e=="string"&&e.includes(".")&&parseFloat(e)===1}function ML(e){return typeof e=="string"&&e.includes("%")}function jp(e){return e.length===1?"0"+e:""+e}var Jn=(()=>{let e="[-\\+]?\\d+%?",n="(?:"+"[-\\+]?\\d*\\.\\d+%?"+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"
79+i),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}})();function _m(e){if(e.includes("gradient(")||e.includes("var("))return!1;let t=/^[\s,#]+/u,n=e.replace(t,"").trimEnd().toLowerCase(),r=um[n];if(r&&(n=r),n==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let i;return(i=Jn.rgb.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:1,format:"rgb"}:(i=Jn.rgba.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:parseFloat(i[4]??""),format:"rgb"}:(i=Jn.hsl.exec(n))?{h:parseInt(i[1]??""),s:oi(i[2]??""),l:oi(i[3]??""),a:1,format:"hsl"}:(i=Jn.hsla.exec(n))?{h:parseInt(i[1]??""),s:oi(i[2]??""),l:oi(i[3]??""),a:parseFloat(i[4]??""),format:"hsl"}:(i=Jn.hsv.exec(n))?{h:parseInt(i[1]??""),s:oi(i[2]??""),v:oi(i[3]??""),a:1,format:"hsv"}:(i=Jn.hsva.exec(n))?{h:parseInt(i[1]??""),s:oi(i[2]??""),v:oi(i[3]??""),a:parseFloat(i[4]??""),format:"hsv"}:(i=Jn.hex8.exec(n))?{r:sn(i[1]??""),g:sn(i[2]??""),b:sn(i[3]??""),a:Lw(i[4]??""),format:r?"name":"hex"}:(i=Jn.hex6.exec(n))?{r:sn(i[1]??""),g:sn(i[2]??""),b:sn(i[3]??""),a:1,format:r?"name":"hex"}:(i=Jn.hex4.exec(n))?{r:sn(`${i[1]}${i[1]}`),g:sn(`${i[2]}${i[2]}`),b:sn(`${i[3]}${i[3]}`),a:Lw(i[4]+""+i[4]),format:r?"name":"hex"}:(i=Jn.hex3.exec(n))?{r:sn(`${i[1]}${i[1]}`),g:sn(`${i[2]}${i[2]}`),b:sn(`${i[3]}${i[3]}`),a:1,format:r?"name":"hex"}:!1}function sn(e){return parseInt(e,16)}function Lw(e){return sn(e)/255}var Ow=new Map,Y=(()=>{function e(o,a,s,l){if(typeof o=="string"){let u=Ow.get(o);return u||(u=t(o),u===void 0?{...e("black"),isValid:!1}:(Ow.set(o,u),u))}let c=t(o,a,s,l);return c!==void 0?c:{...e("black"),isValid:!1}}function t(o,a,s,l){if(o==="")return;let c=LL(o,a,s,l);if(c){let u={r:c.r,g:c.g,b:c.b,a:c.a,h:c.h,s:c.s,l:c.l,initialValue:typeof o=="string"&&c.format!=="hsv"?o:void 0,roundA:Math.round(100*c.a)/100,format:c.format,mix:e.mix,toValue:()=>e.toRgbString(u)};return u}else return}let n={isRGB(o){return o==="rgb"||o==="rgba"},isHSL(o){return o==="hsl"||o==="hsla"}};e.inspect=(o,a)=>o.format==="hsl"?`<${o.constructor.name} h:${o.h} s:${o.s} l:${o.l} a:${o.a}>`:o.format==="hex"||o.format==="name"?`<${o.constructor.name} "${a}">`:`<${o.constructor.name} r:${o.r} g:${o.g} b:${o.b} a:${o.a}>`,e.isColor=o=>typeof o=="string"?e.isColorString(o):e.isColorObject(o),e.isColorString=o=>typeof o=="string"?_m(o)!==!1:!1,e.isColorObject=o=>o&&typeof o!="string"&&typeof o.r=="number"&&typeof o.g=="number"&&typeof o.b=="number"&&typeof o.h=="number"&&typeof o.s=="number"&&typeof o.l=="number"&&typeof o.a=="number"&&typeof o.roundA=="number"&&typeof o.format=="string",e.toString=o=>e.toRgbString(o),e.toHex=(o,a=!1)=>Fw(o.r,o.g,o.b,a),e.toHexString=(o,a=!1)=>`#${e.toHex(o,a)}`,e.toRgbString=o=>o.a===1?"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")":"rgba("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+", "+o.roundA+")",e.toHusl=o=>({...EL(o.r,o.g,o.b),a:o.roundA}),e.toHslString=o=>{let a=e.toHsl(o),s=Math.round(a.h),l=Math.round(a.s*100),c=Math.round(a.l*100);return o.a===1?"hsl("+s+", "+l+"%, "+c+"%)":"hsla("+s+", "+l+"%, "+c+"%, "+o.roundA+")"},e.toHsv=o=>{let a=Mw(o.r,o.g,o.b);return{h:a.h*360,s:a.s,v:a.v,a:o.a}},e.toHsvString=o=>{let a=Mw(o.r,o.g,o.b),s=Math.round(a.h*360),l=Math.round(a.s*100),c=Math.round(a.v*100);return o.a===1?"hsv("+s+", "+l+"%, "+c+"%)":"hsva("+s+", "+l+"%, "+c+"%, "+o.roundA+")"},e.toName=o=>{if(o.a===0)return"transparent";if(o.a<1)return!1;let a=Fw(o.r,o.g,o.b,!0);for(let s of Object.keys(um))if(um[s]===a)return s;return!1},e.toHsl=o=>({h:Math.round(o.h),s:o.s,l:o.l,a:o.a}),e.toRgb=o=>({r:Math.round(o.r),g:Math.round(o.g),b:Math.round(o.b),a:o.a}),e.brighten=(o,a=10)=>{let s=e.toRgb(o);return s.r=Math.max(0,Math.min(255,s.r-Math.round(255*-(a/100)))),s.g=Math.max(0,Math.min(255,s.g-Math.round(255*-(a/100)))),s.b=Math.max(0,Math.min(255,s.b-Math.round(255*-(a/100)))),e(s)},e.lighten=(o,a=10)=>{let s=e.toHsl(o);return s.l+=a/100,s.l=Math.min(1,Math.max(0,s.l)),e(s)},e.darken=(o,a=10)=>{let s=e.toHsl(o);return s.l-=a/100,s.l=Math.min(1,Math.max(0,s.l)),e(s)},e.saturate=(o,a=10)=>{let s=e.toHsl(o);return s.s+=a/100,s.s=Math.min(1,Math.max(0,s.s)),e(s)},e.desaturate=(o,a=10)=>{let s=e.toHsl(o);return s.s-=a/100,s.s=Math.min(1,Math.max(0,s.s)),e(s)},e.grayscale=o=>e.desaturate(o,100),e.hueRotate=(o,a)=>{let s=e.toHsl(o);return s.h+=a,s.h=s.h>360?s.h-360:s.h,e(s)},e.alpha=(o,a=1)=>e({r:o.r,g:o.g,b:o.b,a}),e.transparent=o=>e.alpha(o,0),e.multiplyAlpha=(o,a=1)=>e({r:o.r,g:o.g,b:o.b,a:o.a*a}),e.interpolate=(o,a,s="rgb")=>{if(!e.isColorObject(o)||!e.isColorObject(a))throw new TypeError("Both arguments for Color.interpolate must be Color objects");return l=>
79e.mixAsColor(o,a,l,!1,s)},e.mix=(o,a,{model:s="rgb"}={})=>{let l=typeof o=="string"?e(o):o,c=e.interpolate(l,a,s);return u=>e.toRgbString(c(u))},e.mixAsColor=(o,a,s=.5,l=!1,c="rgb")=>{let u=null;if(n.isRGB(c))u=e({r:ii(s,[0,1],[o.r,a.r],l),g:ii(s,[0,1],[o.g,a.g],l),b:ii(s,[0,1],[o.b,a.b],l),a:ii(s,[0,1],[o.a,a.a],l)});else{let f,d;n.isHSL(c)?(f=e.toHsl(o),d=e.toHsl(a)):(f=e.toHusl(o),d=e.toHusl(a)),f.s===0?f.h=d.h:d.s===0&&(d.h=f.h);let p=f.h,y=d.h,g=y-p;g>180?g=y-360-p:g<-180&&(g=y+360-p);let b={h:ii(s,[0,1],[p,p+g],l),s:ii(s,[0,1],[f.s,d.s],l),l:ii(s,[0,1],[f.l,d.l],l),a:ii(s,[0,1],[o.a,a.a],l)};n.isHSL(c)?u=e(b):u=e(RL(b.h,b.s,b.l,b.a))}return u},e.random=(o=1)=>{function a(){return Math.floor(Math.random()*255)}return e("rgba("+a()+", "+a()+", "+a()+", "+o+")")},e.grey=(o=.5,a=1)=>(o=Math.floor(o*255),e("rgba("+o+", "+o+", "+o+", "+a+")")),e.gray=e.grey,e.rgbToHsl=(o,a,s)=>Pm(o,a,s),e.isValidColorProperty=(o,a)=>!!((o.toLowerCase().slice(-5)==="color"||o==="fill"||o==="stroke")&&typeof a=="string"&&e.isColorString(a)),e.difference=(o,a)=>{let s=(o.r+a.r)/2,l=o.r-a.r,c=o.g-a.g,u=o.b-a.b,f=Math.pow(l,2),d=Math.pow(c,2),p=Math.pow(u,2);return Math.sqrt(2*f+4*d+3*p+s*(f-p)/256)},e.equal=(o,a,s=.1)=>!(Math.abs(o.r-a.r)>=s||Math.abs(o.g-a.g)>=s||Math.abs(o.b-a.b)>=s||Math.abs(o.a-a.a)*256>=s);let r=uo([0,255],[0,1]);function i(o){o=r(o);let a=Math.abs(o);return a<.04045?o/12.92:(Math.sign(o)||1)*Math.pow((a+.055)/1.055,2.4)}return e.luminance=o=>{let{r:a,g:s,b:l}=e.toRgb(o);return .2126*i(a)+.7152*i(s)+.0722*i(l)},e.contrast=(o,a)=>{let s=e.luminance(o),l=e.luminance(a);return(Math.max(s,l)+.05)/(Math.min(s,l)+.05)},e})();function LL(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=dm({r:e,g:t,b:n,a:r}):typeof e=="string"?i=OL(e):typeof e=="object"&&(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")?i=dm(e):i=ek(e)),i}function OL(e){let t=_m(e);if(t)return t.format==="hsl"?ek(t):t.format==="hsv"?DL(t):dm(t)}function DL(e){let t=IL(e.h,e.s,e.v);return{...Pm(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?tk(e.a):1}}function dm(e){let t=PL(e.r,e.g,e.b);return{...Pm(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?tk(e.a):1}}function ek(e){let t,n,r,i={r:0,g:0,b:0},o={h:0,s:0,l:0};return t=Go(e.h)?e.h:0,t=(t+360)%360,n=Go(e.s)?e.s:1,typeof e.s=="string"&&(n=fm(e.s)),r=Go(e.l)?e.l:.5,typeof e.l=="string"&&(r=fm(e.l)),i=_L(t,n,r),o={h:t,s:n,l:r},{...i,...o,a:e.a===void 0?1:e.a,format:"hsl"}}function tk(e){return e=parseFloat(e),e<0&&(e=0),(isNaN(e)||e>1)&&(e=1),e}var Dw=e=>e instanceof Ta;var AL=(()=>oM().EventEmitter)(),VL=class{constructor(){R(this,"_emitter",new AL)}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 o of this._emitter.eventNames())if(t===this._emitter.listeners(o))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,t){if(e)return this._emitter.listeners(e).length;{let n=0;for(let r of this._emitter.eventNames())n+=this._emitter.listeners(r).length;return n}}emit(e,...t){this._emitter.emit(e,...t)}},BL={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:{href:""},document:{cookie:""},setTimeout:()=>0,clearTimeout:()=>{},setInterval:()=>0,clearInterval:()=>{},requestAnimationFrame:()=>0,cancelAnimationFrame:()=>{},getSelection:()=>null,matchMedia:e=>({matches:!1,media:e,onchange:()=>{},addEventListener:()=>{},removeEventListener:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!1}),innerHeight:0,innerWidth:0,SVGSVGElement:{},open:function(e,t,n){}},nt=typeof F>"u"?BL:F,$L=e=>{setTimeout(e,1/60)},zL=(()=>nt.requestAnimationFrame||$L)(),Aw=e=>zL(e),ys=(()=>1/60)(),NL=class extends VL{constructor(e=!1){super(),R(this,"_started",!1),R(this,"_frame",0),R(this,"_frameTasks",[]),R(this,"tick",()=>
79{this._started&&(Aw(this.tick),this.emit("update",this._frame,ys),this.emit("render",this._frame,ys),this._processFrameTasks(),this._frame++)}),e&&this.start()}addFrameTask(e){this._frameTasks.push(e)}_processFrameTasks(){var e;let t=this._frameTasks,n=t.length;if(n!==0){for(let r=0;r<n;r++)(e=t[r])==null||e.call(t);t.length=0}}static set TimeStep(e){ys=e}static get TimeStep(){return ys}start(){return this._started?this:(this._frame=0,this._started=!0,Aw(this.tick),this)}stop(){return this._started=!1,this}get frame(){return this._frame}get time(){return this._frame*ys}},nk=new NL,Su={target:"PREVIEW",zoom:1};var le={canvas:"CANVAS",export:"EXPORT",thumbnail:"THUMBNAIL",preview:"PREVIEW",current:()=>Su.target,hasRestrictions:()=>{let e=Su.target;return e==="CANVAS"||e==="EXPORT"}};var ru=e=>({correct:(t,{delta: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"}});Bf({borderTopWidth:ru("y"),borderLeftWidth:ru("x"),borderRightWidth:ru("x"),borderBottomWidth:ru("y")});function ce(e,...t){var n,r;if(e)return;let i=Error("Assertion Error"+(t.length>0?": "+t.join(" "):""));if(i.stack)try{let o=i.stack.split(`
80`);(n=o[1])!=null&&n.includes("assert")?(o.splice(1,1),i.stack=o.join(`
81`)):(r=o[0])!=null&&r.includes("assert")&&(o.splice(0,1),i.stack=o.join(`
82`))}catch{}throw i}function Oe(e,t){throw t||new Error(e?`Unexpected value: ${e}`:"Application entered invalid state")}var qo=x.createContext({getLayoutId:e=>null,persistLayoutIdCache:()=>{},top:!1,enabled:!0});function HL({children:e}){if(V(qo).top)return k(Fe,{children:e});let n=A({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),r=A({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=A(new Set).current,o=oe(({id:l,name:c,duplicatedFrom:u})=>{if(!l)return null;let f=c?"byName":"byId",d=n.current[f][l];if(d)return d;let p=c||l;if(!u&&!i.has(p)&&(!n.current.byLayoutId[p]||n.current.byLayoutId[p]===p))return n.current.count[f][p]===void 0&&(n.current.count[f][p]=0,n.current.byLayoutId[p]=p,r.current[f][l]=p),i.add(p),p;let y;if(u?.length)for(let S=u.length-1;S>=0;S--){let E=u[S];ce(!!E,"duplicatedId must be defined");let T=n.current[f][E],M=n.current.byLastId[E];if(M&&!y){let D=n.current.byLayoutId[M],X=!D||D===c;M&&!i.has(M)&&(!c||X)&&(y=[M,E])}let I=T?n.current.byLayoutId[T]:void 0,B=!I||I===c;if(T&&!i.has(T)&&(!c||B))return r.current[f][l]=T,r.current.byLastId[E]=T,i.add(T),T}let g=n.current.byLastId[l];if(g&&!i.has(g))return i.add(g),r.current.byId[l]=g,g;if(y){let[S,E]=y;return r.current[f][l]=S,r.current.byLastId[E]=S,i.add(S),S}let b=n.current.byPossibleId[l];if(b&&!i.has(b))return i.add(b),r.current.byId[l]=b,b;let h=u?.[0],m=c||h||l,v=(n.current.count[f][m]??-1)+1,{layoutId:w,value:C}=jL(m,v,i);if(n.current.count[f][m]=C,r.current[f][l]=w,u?.length&&!c){let S=u[u.length-1];if(S&&(r.current.byLastId[S]=w),u.length>1)for(let E=0;E<u.length-1;E++){let T=u[E];T!==void 0&&(r.current.byPossibleId[T]||(r.current.byPossibleId[T]=w))}}return r.current.byLayoutId[w]=p,i.add(w),w},[]),a=oe(()=>{n.current={byId:{...n.current.byId,...r.current.byId},byLastId:{...n.current.byLastId,...r.current.byLastId},byPossibleId:{...n.current.byPossibleId,...r.current.byPossibleId},byName:{...n.current.byName,...r.current.byName},byLastName:{...n.current.byLastName,...r.current.byLastName},byLayoutId:{...n.current.byLayoutId,...r.current.byLayoutId},count:{...n.current.count,byName:{}}},r.current={byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}},i.clear()},[]),s=A({getLayoutId:o,persistLayoutIdCache:a,top:!0,enabled:!0}).current;return k(qo.Provider,{value:s,children:e})}function jL(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 WL({enabled:e=!0,...t}){let n=V(qo),r=ae(()=>({...n,enabled:e}),[e]);return k(qo.Provider,{...t,value:r})}function Gt(e){let t=A(null);return t.current===null&&(t.current=e()),t.current}var UL={background:void 0,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",lineHeight:"1.4em",textOverflow:"ellipsis",overflow:"hidden",minHeight:0,width:"100%",height:"100%"},XL=(()=>({...UL,border:"1px solid rgba(149, 149, 149, 0.15)",borderRadius:6,fontSize:"12px",backgroundColor:"rgba(149, 149, 149, 0.1
82)",color:"#a5a5a5"}))(),rk={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"100%",flexShrink:0,padding:"0 10px"},YL=(()=>({...rk,fontWeight:500}))(),GL=(()=>({...rk,whiteSpace:"pre",maxHeight:"calc(50% - calc(20px * var(--framerInternalCanvas-canvasPlaceholderContentScaleFactor, 1)))",WebkitMaskImage:"linear-gradient(to bottom, black 80%, transparent 100%)"}))();function VN(e){let{error:t,file:n}=e,r=n?`Error in ${qL(n)}`:"Error",i=t instanceof Error?t.message:""+t;return se("div",{style:XL,children:[k("div",{className:"text",style:YL,children:r}),i&&k("div",{className:"text",style:GL,children:i})]})}function qL(e){return e.startsWith("./")?e.replace("./",""):e}function J(e){return typeof e=="number"&&isFinite(e)}function KL(e){return!e||!Object.keys(e).length&&e.constructor===Object}function uu(e){return typeof e!="string"&&typeof e!="number"}function fu(e){return e!==null&&typeof e<"u"&&typeof e!="boolean"&&!KL(e)}function QL(e){return e*(Math.PI/180)}var wn=(()=>{function e(t,n){return{a:t,b:n}}return e.offset=(t,n)=>{let r=ln.angleFromX(t.a,t.b),i=QL(r),o=n*Math.sin(i),a=n*Math.cos(i);return e({x:t.a.x+o,y:t.a.y-a},{x:t.b.x+o,y:t.b.y-a})},e.intersection=(t,n,r)=>{let i=t.a.x,o=t.a.y,a=t.b.x,s=t.b.y,l=n.a.x,c=n.a.y,u=n.b.x,f=n.b.y,d=(u-l)*(c-o)-(f-c)*(l-i),p=(u-l)*(s-o)-(f-c)*(a-i),y=(a-i)*(c-o)-(s-o)*(l-i);if(d===0&&p===0||p===0)return null;let g=d/p,b=y/p;return r&&(g<0||g>1||b<0||b>1)?null:{x:i+g*(a-i),y:o+g*(s-o)}},e.intersectionAngle=(t,n)=>{let r=t.b.x-t.a.x,i=t.b.y-t.a.y,o=n.b.x-n.a.x,a=n.b.y-n.a.y;return Math.atan2(r*a-i*o,r*o+i*a)*(180/Math.PI)},e.isOrthogonal=t=>t.a.x===t.b.x||t.a.y===t.b.y,e.perpendicular=(t,n)=>{let r=t.a.x-t.b.x,i=t.a.y-t.b.y,o=ln(n.x-i,n.y+r);return e(o,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=t=>ln.distance(t.a,t.b),e})(),Z={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},atOrigin:e=>({...e,x:0,y:0}),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)=>Z.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),o=Math.max(r-t,0),a=Math.max(i-n,0);return{x:t,y:n,width:o,height:a}},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,o=Math.max(r-t,1),a=Math.max(i-n,1);return{x:t,y:n,width:o,height:a}},round:(e,t=0)=>{let n=tu(e.x,t),r=tu(e.y,t),i=tu(e.width,t),o=tu(e.height,t);return{x:n,y:r,width:i,height:o}},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),o=Math.max(r-t,0),a=Math.max(i-n,0);return{x:t,y:n,width:o,height:a}},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:Z.maxX(e),minY:e.y,midY:e.y+e.height/2,maxY:Z.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 o=0;o<e.length;o++){let a=e[o];t=Math.min(t,a.x),n=Math.max(n,a.x),r=Math.min(r,a.y),i=Math.max(i,a.y)}return{x:t,y:r,width:n-t,height:i-r}},fromPoints:e=>{let[t,n,r,i]=e,{x:o,y:a}=t,s=ln.distance(t,n),l=ln.distance(t,i);return{x:o,y:a,width:s,height:l}},merge:(...e)=>{let t={x:Math.min(...e.map(Z.minX)),y:Math.min(...e.map(Z.minY))},n={x:Math.max(...e.map(Z.maxX)),y:Math.max(...e.map(Z.maxY))};return Z.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),o=Math.min(e.y+e.height,t.y+t.height);return{x:n,y:i,width:r-n,height:o-i}},points:e=>[{x:Z.minX(e),y:Z.minY(e)},{x:Z.minX(e),y:Z.maxY(e)},{x:Z.maxX(e),y:Z.minY(e)},{x:Z.maxX(e),y:Z.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)=>
82{let{x:n,y:r}=t.transformPoint({x:e.x,y:e.y}),{x:i,y:o}=t.transformPoint({x:e.x+e.width,y:e.y}),{x:a,y:s}=t.transformPoint({x:e.x+e.width,y:e.y+e.height}),{x:l,y:c}=t.transformPoint({x:e.x,y:e.y+e.height}),u=Math.min(n,i,a,l),f=Math.max(n,i,a,l)-u,d=Math.min(r,o,s,c),p=Math.max(r,o,s,c)-d;return{x:u,y:d,width:f,height:p}},containsPoint:(e,t)=>!(t.x<Z.minX(e)||t.x>Z.maxX(e)||t.y<Z.minY(e)||t.y>Z.maxY(e)||isNaN(e.x)||isNaN(e.y)),containsRect:(e,t)=>{for(let n of Z.points(t))if(!Z.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>=Z.maxX(e)||Z.maxX(t)<=e.x||t.y>=Z.maxY(e)||Z.maxY(t)<=e.y),overlapHorizontally:(e,t)=>{let n=Z.maxX(e),r=Z.maxX(t);return n>t.x&&r>e.x},overlapVertically:(e,t)=>{let n=Z.maxY(e),r=Z.maxY(t);return n>t.y&&r>e.y},doesNotIntersect:(e,t)=>t.find(n=>Z.intersects(n,e))===void 0,isEqual:(e,t)=>Z.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,o=e.y+e.height/2,a=e.y+e.height;return[{x:n,y:i},{x:r,y:o},{x:n,y:a},{x:t,y:o}]},pointDistance:(e,t)=>{let n=0,r=0;return t.x<e.x?n=e.x-t.x:t.x>Z.maxX(e)&&(n=t.x-Z.maxX(e)),t.y<e.y?r=e.y-t.y:t.y>Z.maxY(e)&&(r=t.y-Z.maxY(e)),ln.distance({x:n,y:r},{x:0,y:0})},fromAny:(e,t={x:0,y:0,width:0,height:0})=>({x:e.x||t.x,y:e.y||t.y,width:e.width||t.width,height:e.height||t.height}),delta:(e,t)=>{let n={x:Z.minX(e),y:Z.minY(e)},r={x:Z.minX(t),y:Z.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,o=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+o/2:e.y}},anyPointsOutsideRect:(e,t)=>{let n=Z.minX(e),r=Z.minY(e),i=Z.maxX(e),o=Z.maxY(e);for(let a of t)if(a.x<n||a.x>i||a.y<r||a.y>o)return!0;return!1},edges:e=>{let[t,n,r,i]=Z.cornerPoints(e);return[wn(t,n),wn(n,r),wn(r,i),wn(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:Oe(r)}break;case"left":i.x=t.x-e.width;break;case"right":i.x=t.x+t.width;break;default:Oe(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:Oe(r)}break;case"top":i.y=t.y-e.height;break;case"bottom":i.y=t.y+t.height;break;default:Oe(n)}return i}};var ik={quickfix:e=>((e.widthType===2||e.heightType===2)&&(e.aspectRatio=null),J(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||e.widthType===2||J(e.maxWidth))&&(e.right=!1),e.widthType=0),e.top&&e.bottom&&((e.fixedSize||e.heightType===2||J(e.maxHeight))&&(e.bottom=!1),e.heightType=0),e)};function ku(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}var ok={fromProperties:e=>{let{left:t,right:n,top:r,bottom:i,width:o,height:a,centerX:s,centerY:l,aspectRatio:c,autoSize:u}=e,f=ik.quickfix({left:J(t)||On(t),right:J(n)||On(n),top:J(r)||On(r),bottom:J(i)||On(i),widthType:ku(o),heightType:ku(a),aspectRatio:c||null,fixedSize:u===!0}),d=null,p=null,y=0,g=0;if(f.widthType!==0&&typeof o=="string"){let m=parseFloat(o);o.endsWith("fr")?(y=3,d=m):o==="auto"?y=2:(y=1,d=m/100)}else o!==void 0&&typeof o!="string"&&(d=tt.getNumber(o));if(f.heightType!==0&&typeof a=="string"){let m=parseFloat(a);a.endsWith("fr")?(g=3,p=m):a==="auto"?g=2:(g=1,p=parseFloat(a)/100)}else a!==void 0&&typeof a!="string"&&(p=tt.getNumber(a));let b=.5,h=.5;return s&&(b=parseFloat(s)/100),l&&(h=parseFloat(l)/100),{left:f.left?tt.getNumber(t):null,right:f.right?tt.getNumber(n):null,top:f.top?tt.getNumber(r):null,bottom:f.bottom?tt.getNumber(i):null,widthType:y,heightType:g,width:d,height:p,aspectRatio:f.aspectRatio||null,centerAnchorX:b,centerAnchorY:h}},toSize:(e,t,n,r)=>{let i=null,o=null,a=t?.sizing?tt.getNumber(t?.sizing.width):null,s=t?.sizing?tt.getNumber(t?.sizing.height):null,l=Vw(e.left,e.right);if(a&&J(l))i=a-l;else if(n&&e.widthType===2)i=n.width;else if(J(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:a&&(i=a*e.width);break;case 2:break;default:Oe(e.widthType)}let c=Vw(e.top,e.bottom);if(s&&J(c))o=s-c;else if(n&&e.heightType===2)o=n.height;
82else if(J(e.height))switch(e.heightType){case 0:o=e.height;break;case 3:o=r?r.freeSpaceInParent.height/r.freeSpaceUnitDivisor.height*e.height:null;break;case 1:case 4:s&&(o=s*e.height);break;case 2:break;default:Oe(e.heightType)}return nO(i,o,e,{height:s??0,width:a??0},t?.viewport)},toRect:(e,t=null,n=null,r=!1,i=null)=>{let o=e.left||0,a=e.top||0,{width:s,height:l}=ok.toSize(e,t,n,i),c=t?.positioning??null,u=c?tt.getNumber(c.width):null,f=c?tt.getNumber(c.height):null;e.left!==null?o=e.left:u&&e.right!==null?o=u-e.right-s:u&&(o=e.centerAnchorX*u-s/2),e.top!==null?a=e.top:f&&e.bottom!==null?a=f-e.bottom-l:f&&(a=e.centerAnchorY*f-l/2);let d={x:o,y:a,width:s,height:l};return r?Z.pixelAligned(d):d}},ZL=200,JL=200;function Cu(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")&&r)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 eO(e,t,n,r){return t.minHeight&&(e=Math.max(Cu("minHeight",t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(Cu("maxHeight",t.maxHeight,n,r),e)),e}function tO(e,t,n,r){return t.minWidth&&(e=Math.max(Cu("minWidth",t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(Cu("maxWidth",t.maxWidth,n,r),e)),e}function nO(e,t,n,r,i){let o=tO(J(e)?e:ZL,n,r,i),a=eO(J(t)?t:JL,n,r,i);return J(n.aspectRatio)&&n.aspectRatio>0&&(J(n.left)&&J(n.right)?a=o/n.aspectRatio:J(n.top)&&J(n.bottom)?o=a*n.aspectRatio:n.widthType!==0?a=o/n.aspectRatio:o=a*n.aspectRatio),{width:o,height:a}}function Vw(e,t){return!J(e)||!J(t)?null:e+t}function rO(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 Ns(e){return!e._constraints||rO(e)?!1:e._constraints.enabled}function iO(e){let{size:t}=e,{width:n,height:r}=e;return J(t)&&(n===void 0&&(n=t),r===void 0&&(r=t)),J(n)&&J(r)?{width:n,height:r}:null}function oO(e){let t=iO(e);if(t===null)return null;let{left:n,top:r}=e;return J(n)&&J(r)?{x:n,y:r,...t}:null}function Ps(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!Ns(e)||r)return oO(e);let i=aO(e),o=sO(t),a=o?{sizing:o,positioning:o,viewport:null}:null;return ok.toRect(i,a,null,n,null)}function aO(e){let{left:t,right:n,top:r,bottom:i,center:o,_constraints:a,size:s}=e,{width:l,height:c}=e;l===void 0&&(l=s),c===void 0&&(c=s);let{aspectRatio:u,autoSize:f}=a,d=ik.quickfix({left:J(t),right:J(n),top:J(r),bottom:J(i),widthType:ku(l),heightType:ku(c),aspectRatio:u||null,fixedSize:f===!0}),p=null,y=null,g=0,b=0;if(d.widthType!==0&&typeof l=="string"){let v=parseFloat(l);l.endsWith("fr")?(g=3,p=v):l==="auto"?g=2:(g=1,p=v/100)}else l!==void 0&&typeof l!="string"&&(p=l);if(d.heightType!==0&&typeof c=="string"){let v=parseFloat(c);c.endsWith("fr")?(b=3,y=v):c==="auto"?b=2:(b=1,y=parseFloat(c)/100)}else c!==void 0&&typeof c!="string"&&(y=c);let h=.5,m=.5;return(o===!0||o==="x")&&(d.left=!1,typeof t=="string"&&(h=parseFloat(t)/100)),(o===!0||o==="y")&&(d.top=!1,typeof r=="string"&&(m=parseFloat(r)/100)),{left:d.left?t:null,right:d.right?n:null,top:d.top?r:null,bottom:d.bottom?i:null,widthType:g,heightType:b,width:p,height:y,aspectRatio:d.aspectRatio||null,centerAnchorX:h,centerAnchorY:m,minHeight:e.minHeight,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth}}var ak=x.createContext({parentSize:0});function sO(e){return e===0||e===1||e===2?null:e}function Hs(){return x.useContext(ak).parentSize}function sk(e){return typeof e=="object"}var lO=e=>{let t=Hs(),{parentSize:n,children:r}=e,i=x.useMemo(()=>({parentSize:n}),[cO(n),uO(n)]);return t===1?r?k(Fe,{children:r}):null:k(ak.Provider,{value:i,children:r})};function cO(e){return sk(e)?e.width:e}function uO(e){return sk(e)?e.height:e}function fO(e,t){return k(lO,{parentSize:t,children:e})}function dO(e){let t=Hs();return Ps(e,t,!0)}function lk({width:e,height:t}){return e==="auto"||e==="min-content"||t==="auto"||t==="min-content"}var hO=(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.Array="array",e.EventHandler="eventhandler",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="borderradiu
82s",e.CollectionReference="collectionreference",e.MultiCollectionReference="multicollectionreference",e))(hO||{}),Wp;function pO(){if(Wp!==void 0)return Wp;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),Wp=t,t}var Hi="flexbox-gap-not-supported",Bw=!1;function HN(){Bw||(Bw=!0,!pO()&&document.body.classList.add(Hi))}var mO=`
83[data-framer-component-type="DeprecatedRichText"] p,
84[data-framer-component-type="DeprecatedRichText"] div,
85[data-framer-component-type="DeprecatedRichText"] h1,
86[data-framer-component-type="DeprecatedRichText"] h2,
87[data-framer-component-type="DeprecatedRichText"] h3,
88[data-framer-component-type="DeprecatedRichText"] h4,
89[data-framer-component-type="DeprecatedRichText"] h5,
90[data-framer-component-type="DeprecatedRichText"] h6,
91[data-framer-component-type="DeprecatedRichText"] li,
92[data-framer-component-type="DeprecatedRichText"] ol,
93[data-framer-component-type="DeprecatedRichText"] ul,
94[data-framer-component-type="DeprecatedRichText"] span:not([data-text-fill]) {
95    font-family: var(--framer-font-family, Inter, Inter Placeholder, sans-serif);
96    font-style: var(--framer-font-style, normal);
97    font-weight: var(--framer-font-weight, 400);
98    color: var(--framer-text-color, #000);
99    font-size: var(--framer-font-size, 16px);
100    letter-spacing: var(--framer-letter-spacing, 0);
101    text-transform: var(--framer-text-transform, none);
102    text-decoration: var(--framer-text-decoration, none);
103    line-height: var(--framer-line-height, 1.2em);
104    text-align: var(--framer-text-alignment, start);
105}
106`,vO=`
107[data-framer-component-type="DeprecatedRichText"] p:not(:first-child),
108[data-framer-component-type="DeprecatedRichText"] div:not(:first-child),
109[data-framer-component-type="DeprecatedRichText"] h1:not(:first-child),
110[data-framer-component-type="DeprecatedRichText"] h2:not(:first-child),
111[data-framer-component-type="DeprecatedRichText"] h3:not(:first-child),
112[data-framer-component-type="DeprecatedRichText"] h4:not(:first-child),
113[data-framer-component-type="DeprecatedRichText"] h5:not(:first-child),
114[data-framer-component-type="DeprecatedRichText"] h6:not(:first-child),
115[data-framer-component-type="DeprecatedRichText"] ol:not(:first-child),
116[data-framer-component-type="DeprecatedRichText"] ul:not(:first-child),
117[data-framer-component-type="DeprecatedRichText"] .framer-image:not(:first-child) {
118    margin-top: var(--framer-paragraph-spacing, 0);
119}
120`,gO=`
121[data-framer-component-type="DeprecatedRichText"] span[data-text-fill] {
122    display: inline-block;
123    background-clip: text;
124    -webkit-background-clip: text;
125    -webkit-text-fill-color: transparent;
126}
127`,yO=`
128[data-framer-component-type="DeprecatedRichText"] a,
129[data-framer-component-type="DeprecatedRichText"] a span:not([data-text-fill]) {
130    font-family: var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
131    font-style: var(--framer-link-font-style, var(--framer-font-style, normal));
132    font-weight: var(--framer-link-font-weight, var(--framer-font-weight, 400));
133    color: var(--framer-link-text-color, var(--framer-text-color, #000));
134    font-size: var(--framer-link-font-size, var(--framer-font-size, 16px));
135    text-transform: var(--framer-link-text-transform, var(--framer-text-transform, none));
136    text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration, none));
137}
138`,bO=`
139[data-framer-component-type="DeprecatedRichText"] a:hover,
140[data-framer-component-type="DeprecatedRichText"] a:hover span:not([data-text-fill]) {
141    font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
142    font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)));
143    font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)));
144    color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
145    font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)));
146    text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
147    text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)));
148}
149`,xO=`
150a[data-framer-page-link-current],
151a[data-framer-page-link-current] span:not([data-text-fill]) {
152    font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
153    font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)));
154    font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)));
155    color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
156    font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)));
157    text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
158    text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)));
159}
160`,wO=`
161a[data-framer-page-link-current]:hover,
162a[data-framer-page-link-current]:hover span:not([data-text-fill]) {
163    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))));
164    font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))));
165    font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))));
166    color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))));
167    font-size: var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))));
168    text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))));
169    text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))));
170}
171`,SO=`
172[data-framer-component-type="DeprecatedRichText"] strong {
173    font-weight: bolder;
174}
175`,kO=`
176[data-framer-component-type="DeprecatedRichText"] em {
177    font-style: italic;
178}
179`,CO=`
180[data-framer-component-type="DeprecatedRichText"] .framer-image {
181    display: block;
182    max-width: 100%;
183    height: auto;
184}
185`,TO=`
186[data-framer-component-type="DeprecatedRichText"] p,
187[data-framer-component-type="DeprecatedRichText"] div,
188[data-framer-component-type="DeprecatedRichText"] h1,
189[data-framer-component-type="DeprecatedRichText"] h2,
190[data-framer-component-type="DeprecatedRichText"] h3,
191[data-framer-component-type="DeprecatedRichText"] h4,
192[data-framer-component-type="DeprecatedRichText"] h5,
193[data-framer-component-type="DeprecatedRichText"] h6 {
194    margin: 0;
195    padding: 0;
196}
197`,EO=`
198[data-framer-component-type="DeprecatedRichText"] .text-styles-preset-reset {
199    --framer-font-family: Inter, Inter Placeholder, sans-serif;
200    --framer-font-style: normal;
201    --framer-font-weight: 500;
202    --framer-text-color: #000;
203    --framer-font-size: 16px;
204    --framer-letter-spacing: 0;
205    --framer-text-transform: none;
206    --framer-text-decoration: none;
207    --framer-line-height: 1.2em;
208    --framer-text-alignment: start;
209    --framer-font-open-type-features: normal;
210}
211`,RO=`
212[data-framer-component-type="DeprecatedRichText"] ul,
213[data-framer-component-type="DeprecatedRichText"] ol {
214    display: table;
215    width: 100%;
216    padding-left: 0;
217    margin: 0;
218}
219`,PO=`
220[data-framer-component-type="DeprecatedRichText"] li {
221    display: table-row;
222    counter-increment: list-item;
223    list-style: none;
224}
225`,_O=`
226[data-framer-component-type="DeprecatedRichText"] ol > li::before {
227    display: table-cell;
228    width: 2.25ch;
229    box-sizing: border-box;
230    padding-right: 0.75ch;
231    content: counter(list-item) ".";
232    white-space: nowrap;
233}
234`,IO=`
235[data-framer-component-type="DeprecatedRichText"] ul > li::before {
236    display: table-cell;
237    width: 2.25ch;
238    box-sizing: border-box;
239    padding-right: 0.75ch;
240    content: "\u2022";
241}
242`,FO=['[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }',EO,TO,mO,vO,gO,yO,bO,xO,wO,SO,kO,CO,RO,PO,_O,IO],MO=[`
243        p.framer-text,
244        div.framer-text,
245        h1.framer-text,
246        h2.framer-text,
247        h3.framer-text,
248        h4.framer-text,
249        h5.framer-text,
250        h6.framer-text,
251        ol.framer-text,
252        ul.framer-text {
253            margin: 0;
254            padding: 0;
255        }
256    `,`
257        p.framer-text,
258        div.framer-text,
259        h1.framer-text,
260        h2.framer-text,
261        h3.framer-text,
262        h4.framer-text,
263        h5.framer-text,
264        h6.framer-text,
265        li.framer-text,
266        ol.framer-text,
267        ul.framer-text,
268        span.framer-text:not([data-text-fill]) {
269            font-family: var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
270            font-style: var(--framer-blockquote-font-style, var(--framer-font-style, normal));
271            font-weight: var(--framer-blockquote-font-weight, var(--framer-font-weight, 400));
272            color: var(--framer-blockquote-text-color, var(--framer-text-color, #000));
273            font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
274            letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0));
275            text-transform: var(--framer-blockquote-text-transform, var(--framer-text-transform, none));
276            text-decoration: var(--framer-blockquote-text-decoration, var(--framer-text-decoration, none));
277            line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em));
278            text-align: var(--framer-blockquote-text-alignment, var(--framer-text-alignment, start));
279            -webkit-text-stroke-width: var(--framer-text-stroke-width, initial);
280            -webkit-text-stroke-color: var(--framer-text-stroke-color, initial);
281            -moz-font-feature-settings: var(--framer-font-open-type-features, initial);
282            -webkit-font-feature-settings: var(--framer-font-open-type-features, initial);
283            font-feature-settings: var(--framer-font-open-type-features, initial);
284            text-wrap: var(--framer-text-wrap-override, var(--framer-text-wrap));
285        }
286    `,`
287        .framer-fit-text .framer-text {
288            white-space: nowrap;
289            white-space-collapse: preserve;
290        }
291    `,`
292        strong.framer-text {
293            font-family: var(--framer-blockquote-font-family-bold, var(--framer-font-family-bold));
294            font-style: var(--framer-blockquote-font-style-bold, var(--framer-font-style-bold));
295            font-weight: var(--framer-blockquote-font-weight-bold, var(--framer-font-weight-bold, bolder));
296        }
297    `,`
298        em.framer-text {
299            font-family: var(--framer-blockquote-font-family-italic, var(--framer-font-family-italic));
300            font-style: var(--framer-blockquote-font-style-italic, var(--framer-font-style-italic, italic));
301            font-weight: var(--framer-blockquote-font-weight-italic, var(--framer-font-weight-italic));
302        }
303    `,`
304        em.framer-text > strong.framer-text {
305            font-family: var(--framer-blockquote-font-family-bold-italic, var(--framer-font-family-bold-italic));
306            font-style: var(--framer-blockquote-font-style-bold-italic, var(--framer-font-style-bold-italic, italic));
307            font-weight: var(--framer-blockquote-font-weight-bold-italic, var(--framer-font-weight-bold-italic, bolder));
308        }
309    `,`
310        p.framer-text:not(:first-child),
311        div.framer-text:not(:first-child),
312        h1.framer-text:not(:first-child),
313        h2.framer-text:not(:first-child),
314        h3.framer-text:not(:first-child),
315        h4.framer-text:not(:first-child),
316        h5.framer-text:not(:first-child),
317        h6.framer-text:not(:first-child),
318        ol.framer-text:not(:first-child),
319        ul.framer-text:not(:first-child),
320        blockquote.framer-text:not(:first-child),
321        .framer-image.framer-text:not(:first-child) {
322            margin-top: var(--framer-blockquote-paragraph-spacing, var(--framer-paragraph-spacing, 0));
323        }
324    `,`
325        li.framer-text > ul.framer-text:nth-child(2),
326        li.framer-text > ol.framer-text:nth-child(2) {
327            margin-top: 0;
328        }
329    `,`
330        .framer-text[data-text-fill] {
331            display: inline-block;
332            background-clip: text;
333            -webkit-background-clip: text;
334            /* make this a transparent color if you want to visualise the clipping  */
335            -webkit-text-fill-color: transparent;
336            padding: max(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / 2));
337            margin: min(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / -2));
338        }
339    `,`
340        code.framer-text,
341        code.framer-text span.framer-text:not([data-text-fill]) {
342            font-family: var(--framer-blockquote-font-family, var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
343            font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal)));
344            font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400)));
345            color: var(--framer-blockquote-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)));
346            font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
347            letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0));
348            line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em));
349        }
350    `,`
351        blockquote.framer-text {
352            margin-block-start: initial;
353            margin-block-end: initial;
354            margin-inline-start: initial;
355            margin-inline-end: initial;
356            unicode-bidi: initial;
357        }
358    `,`
359        a.framer-text,
360        a.framer-text span.framer-text:not([data-text-fill]) {
361            font-family: var(--framer-blockquote-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
362            font-style: var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)));
363            font-weight: var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)));
364            color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
365            font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
366            text-transform: var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
367            text-decoration: var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)));
368            /* Cursor inherit to overwrite the user agent stylesheet on rich text links. */
369            cursor: var(--framer-custom-cursors, pointer);
370        }
371    `,`
372        code.framer-text a.framer-text,
373        code.framer-text a.framer-text span.framer-text:not([data-text-fill]) {
374            font-family: var(--framer-blockquote-font-family, var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
375            font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal)));
376            font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400)));
377            color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))));
378            font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
379        }
380    `,`
381        a.framer-text:hover,
382        a.framer-text:hover span.framer-text:not([data-text-fill]) {
383            font-family: 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))));
384            font-style: var(--framer-link-hover-font-style, var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))));
385            font-weight: var(--framer-link-hover-font-weight, var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-we
385ight, 400))));
386            color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))));
387            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));
388            text-transform: var(--framer-link-hover-text-transform, var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))));
389            text-decoration: var(--framer-link-hover-text-decoration, var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))));
390        }
391    `,`
392        code.framer-text a.framer-text:hover,
393        code.framer-text a.framer-text:hover span.framer-text:not([data-text-fill]) {
394            font-family: var(--framer-blockquote-font-family, var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
395            font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal)));
396            font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400)));
397            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)))));
398            font-size: calc(var(--framer-link-hover-font-size, var(--framer-blockquote-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1));
399        }
400    `,`
401        a.framer-text[data-framer-page-link-current],
402        a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) {
403            font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
404            font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)));
405            font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)));
406            color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
407            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));
408            text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
409            text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)));
410        }
411    `,`
412        code.framer-text a.framer-text[data-framer-page-link-current],
413        code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) {
414            font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
415            font-style: var(--framer-code-font-style, var(--framer-font-style, normal));
416            font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400));
417            color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))));
418            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));
419        }
420    `,`
421        a.framer-text[data-framer-page-link-current]:hover,
422        a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) {
423            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))));
424            font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))));
425            font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))));
426            color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))));
427            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));
428            text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))));
429            text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))));
430        }
431    `,`
432        code.framer-text a.framer-text[data-framer-page-link-current]:hover,
433        code.framer-text a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) {
434            font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
435            font-style: var(--framer-code-font-style, var(--framer-font-style, normal));
436            font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400));
437            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)))));
438            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));
439        }
440    `,`
441        .framer-image.framer-text {
442            display: block;
443            max-width: 100%;
444            height: auto;
445        }
446    `,`
447        .text-styles-preset-reset.framer-text {
448            --framer-font-family: Inter, Inter Placeholder, sans-serif;
449            --framer-font-style: normal;
450            --framer-font-weight: 500;
451            --framer-text-color: #000;
452            --framer-font-size: 16px;
453            --framer-letter-spacing: 0;
454            --framer-text-transform: none;
455            --framer-text-decoration: none;
456            --framer-line-height: 1.2em;
457            --framer-text-alignment: start;
458            --framer-font-open-type-features: normal;
459        }
460    `,`
461        ol.framer-text {
462            --list-style-type: decimal;
463        }
464    `,`
465        ul.framer-text,
466        ol.framer-text {
467            display: table;
468            width: 100%;
469        }
470    `,`
471        li.framer-text {
472            display: table-row;
473            counter-increment: list-item;
474            list-style: none;
475        }
476    `,`
477        ol.framer-text > li.framer-text::before {
478            display: table-cell;
479            width: 2.25ch;
480            box-sizing: border-box;
481            padding-inline-end: 0.75ch;
482            content: counter(list-item, var(--list-style-type)) ".";
483            white-space: nowrap;
484        }
485    `,`
486        ul.framer-text > li.framer-text::before {
487            display: table-cell;
488            width: 2.25ch;
489            box-sizing: border-box;
490            padding-inline-end: 0.75ch;
491            content: "\u2022";
492        }
493    `,`
494        .framer-text-module[style*="aspect-ratio"] > :first-child {
495            width: 100%;
496        }
497    `,`
498        @supports not (aspect-ratio: 1) {
499            .framer-text-module[style*="aspect-ratio"] {
500                position: relative;
501            }
502        }
503    `,`
504        @supports not (aspect-ratio: 1) {
505            .framer-text-module[style*="aspect-ratio"]::before {
506                content: "";
507                display: block;
508                padding-bottom: calc(100% / calc(var(--aspect-ratio)));
509            }
510        }
511    `,`
512        @supports not (aspect-ratio: 1) {
513            .framer-text-module[style*="aspect-ratio"] > :first-child {
514                position: absolute;
515                top: 0;
516                left: 0;
517                height: 100%;
518            }
519        }
520    `],LO=new Set,Up;function ck(e,t,n=LO){if(!(!e||n.has(e)||typeof document>
520"u")){if(n.add(e),!t){if(!Up){let r=document.createElement("style");if(r.setAttribute("type","text/css"),r.setAttribute("data-framer-css","true"),!document.head){console.warn("not injecting CSS: the document is missing a <head> element");return}if(document.head.appendChild(r),r.sheet)Up=r.sheet;else{console.warn("not injecting CSS: injected <style> element does not have a sheet",r);return}}t=Up}try{t.insertRule(e,t.cssRules.length)}catch{}}}var OO=["[data-framer-component-type] { position: absolute; }"],DO=`
521[data-framer-component-type="Text"] > * {
522    text-align: var(--framer-text-alignment, start);
523}`,AO=`
524[data-framer-component-type="Text"] span span,
525[data-framer-component-type="Text"] p span,
526[data-framer-component-type="Text"] h1 span,
527[data-framer-component-type="Text"] h2 span,
528[data-framer-component-type="Text"] h3 span,
529[data-framer-component-type="Text"] h4 span,
530[data-framer-component-type="Text"] h5 span,
531[data-framer-component-type="Text"] h6 span {
532    display: block;
533}`,VO=`
534[data-framer-component-type="Text"] span span span,
535[data-framer-component-type="Text"] p span span,
536[data-framer-component-type="Text"] h1 span span,
537[data-framer-component-type="Text"] h2 span span,
538[data-framer-component-type="Text"] h3 span span,
539[data-framer-component-type="Text"] h4 span span,
540[data-framer-component-type="Text"] h5 span span,
541[data-framer-component-type="Text"] h6 span span {
542    display: unset;
543}`,BO=`
544[data-framer-component-type="Text"] div div span,
545[data-framer-component-type="Text"] a div span,
546[data-framer-component-type="Text"] span span span,
547[data-framer-component-type="Text"] p span span,
548[data-framer-component-type="Text"] h1 span span,
549[data-framer-component-type="Text"] h2 span span,
550[data-framer-component-type="Text"] h3 span span,
551[data-framer-component-type="Text"] h4 span span,
552[data-framer-component-type="Text"] h5 span span,
553[data-framer-component-type="Text"] h6 span span,
554[data-framer-component-type="Text"] a {
555    font-family: var(--font-family);
556    font-style: var(--font-style);
557    font-weight: min(calc(var(--framer-font-weight-increase, 0) + var(--font-weight, 400)), 900);
558    color: var(--text-color);
559    letter-spacing: var(--letter-spacing);
560    font-size: var(--font-size);
561    text-transform: var(--text-transform);
562    text-decoration: var(--text-decoration);
563    line-height: var(--line-height);
564}`,$O=`
565[data-framer-component-type="Text"] div div span,
566[data-framer-component-type="Text"] a div span,
567[data-framer-component-type="Text"] span span span,
568[data-framer-component-type="Text"] p span span,
569[data-framer-component-type="Text"] h1 span span,
570[data-framer-component-type="Text"] h2 span span,
571[data-framer-component-type="Text"] h3 span span,
572[data-framer-component-type="Text"] h4 span span,
573[data-framer-component-type="Text"] h5 span span,
574[data-framer-component-type="Text"] h6 span span,
575[data-framer-component-type="Text"] a {
576    --font-family: var(--framer-font-family);
577    --font-style: var(--framer-font-style);
578    --font-weight: var(--framer-font-weight);
579    --text-color: var(--framer-text-color);
580    --letter-spacing: var(--framer-letter-spacing);
581    --font-size: var(--framer-font-size);
582    --text-transform: var(--framer-text-transform);
583    --text-decoration: var(--framer-text-decoration);
584    --line-height: var(--framer-line-height);
585}`,zO=`
586[data-framer-component-type="Text"] a,
587[data-framer-component-type="Text"] a div span,
588[data-framer-component-type="Text"] a span span span,
589[data-framer-component-type="Text"] a p span span,
590[data-framer-component-type="Text"] a h1 span span,
591[data-framer-component-type="Text"] a h2 span span,
592[data-framer-component-type="Text"] a h3 span span,
593[data-framer-component-type="Text"] a h4 span span,
594[data-framer-component-type="Text"] a h5 span span,
595[data-framer-component-type="Text"] a h6 span span {
596    --font-family: var(--framer-link-font-family, var(--framer-font-family));
597    --font-style: var(--framer-link-font-style, var(--framer-font-style));
598    --font-weight: var(--framer-link-font-weight, var(--framer-font-weight));
599    --text-color: var(--framer-link-text-color, var(--framer-text-color));
600    --font-size: var(--framer-link-font-size, var(--framer-font-size));
601    --text-transform: var(--framer-link-text-transform, var(--framer-text-transform));
602    --text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration));
603}`,NO=`
604[data-framer-component-type="Text"] a:hover,
605[data-framer-component-type="Text"] a div span:hover,
606[data-framer-component-type="Text"] a span span span:hover,
607[data-framer-component-type="Text"] a p span span:hover,
608[data-framer-component-type="Text"] a h1 span span:hover,
609[data-framer-component-type="Text"] a h2 span span:hover,
610[data-framer-component-type="Text"] a h3 span span:hover,
611[data-framer-component-type="Text"] a h4 span span:hover,
612[data-framer-component-type="Text"] a h5 span span:hover,
613[data-framer-component-type="Text"] a h6 span span:hover {
614    --font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family)));
615    --font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style)));
616    --font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight)));
617    --text-color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color)));
618    --font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size)));
619    --text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform)));
620    --text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration)));
621}`,HO=`
622[data-framer-component-type="Text"].isCurrent a,
623[data-framer-component-type="Text"].isCurrent a div span,
624[data-framer-component-type="Text"].isCurrent a span span span,
625[data-framer-component-type="Text"].isCurrent a p span span,
626[data-framer-component-type="Text"].isCurrent a h1 span span,
627[data-framer-component-type="Text"].isCurrent a h2 span span,
628[data-framer-component-type="Text"].isCurrent a h3 span span,
629[data-framer-component-type="Text"].isCurrent a h4 span span,
630[data-framer-component-type="Text"].isCurrent a h5 span span,
631[data-framer-component-type="Text"].isCurrent a h6 span span {
632    --font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family)));
633    --font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style)));
634    --font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight)));
635    --text-color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color)));
636    --font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size)));
637    --text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform)));
638    --text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration)));
639}`,jO=['[data-framer-component-type="Text"] { cursor: inherit; }',"[data-framer-component-text-autosized] * { white-space: pre; }",DO,AO,VO,BO,$O,zO,NO,HO],WO=`
640:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > *,
641:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > [data-framer-component-type],
642:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > [data-framer-legacy-stack-gap-enabled] > *,
643:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > [data-framer-legacy-stack-gap-enabled] > [data-framer-component-type] {
644    position: relative;
645}`,UO=(()=>[`[data-framer-stack-content-wrapper][data-framer-stack-gap-enabled="true"] {
646        row-gap: var(--stack-native-row-gap);
647        column-gap: var(--stack-native-column-gap);
648    }`,`.${Hi} [data-framer-stack-content-wrapper][data-framer-stack-gap-enabled="true"] {
649        row-gap: unset;
650        column-gap: unset;
651    }`])(),XO=(()=>`
652.${Hi} [data-framer-legacy-stack-gap-enabled="true"] > *, [data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"] {
653    margin-top: calc(var(--stack-gap-y) / 2);
654    margin-bottom: calc(var(--stack-gap-y) / 2);
655    margin-right: calc(var(--stack-gap-x) / 2);
656    margin-left: calc(var(--stack-gap-x) / 2);
657}
658`)(),YO=(()=>`
659.${Hi}
660[data-framer-stack-direction-reverse="false"]
661[data-framer-legacy-stack-gap-enabled="true"]
662> *:first-child,
663[data-framer-stack-direction-reverse="false"]
664[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
665> *:first-child,
666.${Hi}
667[data-framer-stack-direction-reverse="true"]
668[data-framer-legacy-stack-gap-enabled="true"]
669> *:last-child,
670[data-framer-stack-direction-reverse="true"]
671[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
672> *:last-child {
673    margin-top: 0;
674    margin-left: 0;
675}`)(),GO=(()=>`
676.${Hi}
677[data-framer-stack-direction-reverse="false"]
678[data-framer-legacy-stack-gap-enabled="true"]
679> *:last-child,
680[data-framer-stack-direction-reverse="false"]
681[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
682> *:last-child,
683.${Hi}
684[data-framer-stack-direction-reverse="true"]
685[data-framer-legacy-stack-gap-enabled="true"]
686> *:first-child,
687[data-framer-stack-direction-reverse="true"]
688[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
689> *:first-child {
690    margin-right: 0;
691    margin-bottom: 0;
692}`)(),qO=(()=>[WO,XO,...UO,YO,GO])(),KO=[`
693NavigationContainer
694[data-framer-component-type="NavigationContainer"] > *,
695[data-framer-component-type="NavigationContainer"] > [data-framer-component-type] {
696    position: relative;
697}`],QO=['[data-framer-component-type="Scroll"]::-webkit-scrollbar { display: none; }','[data-framer-component-type="ScrollContentWrapper"] > * { position: relative; }'],ZO=['[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: scroll;
697 overflow-y: scroll; }','[data-framer-component-type="NativeScroll"].direction-vertical { overflow-x: hidden; overflow-y: scroll; }','[data-framer-component-type="NativeScroll"].direction-horizontal { overflow-x: scroll; 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; }'],JO=['[data-framer-component-type="DeviceComponent"].no-device > * { width: 100% !important; height: 100% !important; }'],eD=['[data-framer-component-type="PageContentWrapper"] > *, [data-framer-component-type="PageContentWrapper"] > [data-framer-component-type] { position: relative; }'],tD=['[data-is-present="false"], [data-is-present="false"] * { pointer-events: none !important; }'],nD=['[data-framer-cursor="pointer"] { cursor: pointer; }','[data-framer-cursor="grab"] { cursor: grab; }','[data-framer-cursor="grab"]:active { cursor: grabbing; }'],rD=['[data-framer-component-type="Frame"] *, [data-framer-component-type="Stack"] * { pointer-events: auto; }',"[data-framer-generated] * { pointer-events: unset }"],iD=[`[data-reset="button"] {
698        border-width: 0;
699        padding: 0;
700        background: none;
701}`],oD=['[data-hide-scrollbars="true"]::-webkit-scrollbar { width: 0px; height: 0px; }','[data-hide-scrollbars="true"]::-webkit-scrollbar-thumb { background: transparent; }'],Xp="--framer-will-change-override",aD="(background: -webkit-named-image(i))",sD="(grid-template-rows: subgrid)",lD=e=>e?[`body { ${Xp}: none; }`,`@supports ${aD} and (not ${sD}) { body { ${Xp}: transform; } }`]:[`body { ${Xp}: none; }`],cD=e=>e?rD:[],uD=[".svgContainer svg { display: block; }"],uk=e=>[...lD(e),...OO,...jO,...MO,...FO,...qO,...KO,...QO,...ZO,...eD,...JO,...tD,...nD,...cD(e),...uD,...iD,...oD],fD=uk(!1),dD=uk(!0),$w=!1;function js(){if($w)return;$w=!0;let e=le.current()===le.preview?dD:fD;for(let t of e)ck(t,void 0,void 0)}function ji(e){return typeof e=="function"}function Im(e){return typeof e=="boolean"}function fe(e){return typeof e=="string"}function $e(e){return Number.isFinite(e)}function Lu(e){return Array.isArray(e)}function _e(e){return e!==null&&typeof e=="object"&&!Lu(e)}function yt(e){return typeof e>"u"}function Be(e){return e===null}function Ko(e){return e==null}function fk(e){return e instanceof Date&&!isNaN(e.getTime())}function hD(e){return _e(e)||ji(e)}var zw="optional";function pD(e){return!!e&&zw in e&&e[zw]===!0}function mD(e){try{switch(e.type){case"string":case"collectionreference":case"multicollectionreference":case"color":case"date":case"link":case"boxshadow":case"padding":case"borderradiu
701s":return fe(e.defaultValue)?e.defaultValue:void 0;case"boolean":return Im(e.defaultValue)?e.defaultValue:void 0;case"enum":return yt(e.defaultValue)?void 0:e.options.includes(e.defaultValue)?e.defaultValue:void 0;case"fusednumber":case"number":return $e(e.defaultValue)?e.defaultValue:void 0;case"transition":return _e(e.defaultValue)?e.defaultValue:void 0;case"border":return _e(e.defaultValue)?e.defaultValue:void 0;case"font":return _e(e.defaultValue)?e.defaultValue:void 0;case"object":{let t=_e(e.defaultValue)?e.defaultValue:{};return _e(e.controls)&&dk(t,e.controls),t}case"array":return Lu(e.defaultValue)?e.defaultValue:void 0;case"file":case"image":case"richtext":case"pagescope":case"eventhandler":case"segmentedenum":case"responsiveimage":case"componentinstance":case"scrollsectionref":case"customcursor":case"cursor":return;default:return}}catch{return}}function dk(e,t){for(let n in t){let r=t[n];if(!r)continue;let i=e[n];if(!yt(i)||pD(r))continue;let o=mD(r);yt(o)||(e[n]=o)}}function vD(e){if(_e(e.defaultProps))return e.defaultProps;let t={};return e.defaultProps=t,t}function gD(e,t){if(!hD(e))return;let n=vD(e);dk(n,t)}function jN(e,t){Object.assign(e,{propertyControls:t}),gD(e,t)}function yD(e){return e.propertyControls}var Ze=e=>e;function bD(e){let t=Object.create(Object.prototype);return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var xD=/^(?: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|radiu
701s|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)-.*)$/,wD=bD(e=>xD.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91),Nw=e=>()=>{Rs(e)},SD=()=>()=>{},kD={useImageSource(e){return e.src??""},useImageElement(e,t,n){let r=new Image;return r.src=ct.useImageSource(e,t,n),e.srcSet&&(r.srcset=e.srcSet),r},canRenderOptimizedCanvasImage(){return!1}},CD=!1,TD={get(e,t,n){return Reflect.has(e,t)?Reflect.get(e,t,n):["getLogger"].includes(String(t))?SD():Nw(CD?`${String(t)} is not available in this version of Framer.`:`${String(t)} is only available inside of Framer. https://www.framer.com/`)}},ct=new Proxy(kD,TD);function ED(e,t,n=1){let{width:r,height:i}=t,o=e.pixelWidth??e.intrinsicWidth??0,a=e.pixelHeight??e.intrinsicHeight??0;if(r<1||i<1||o<1||a<1)return;r*=n,i*=n;let s=r/i,l=o/a;switch(e.fit){case"fill":return l>s?a/i:o/r;case"fit":case"stretch":return Math.max(o/r,a/i)}}function Hw(e,t){return t&&Math.max(1,e)>t?"pixelated":"auto"}var jw={position:"absolute",borderRadius:"inherit",top:0,right:0,bottom:0,left:0},RD={backgroundRepeat:"repeat",backgroundPosition:"left top",backgroundSize:"126px auto",backgroundImage:"url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTI2IiBoZWlnaHQ9IjEyNiI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0xMjYgMHYyMS41ODRMMjEuNTg0IDEyNkgwdi0xNy41ODVMMTA4LjQxNSAwSDEyNlptMCAxMDguNDE0VjEyNmgtMTcuNTg2TDEyNiAxMDguNDE0Wm0wLTg0djM5LjE3MUw2My41ODUgMTI2SDI0LjQxNEwxMjYgMjQuNDE0Wm0wIDQydjM5LjE3TDEwNS41ODQgMTI2aC0zOS4xN0wxMjYgNjYuNDE0Wk0xMDUuNTg2IDAgMCAxMDUuNTg2VjY2LjQxNUw2Ni40MTUgMGgzOS4xNzFabS00MiAwTDAgNjMuNTg2VjI0LjQxNUwyNC40MTUgMGgzOS4xNzFabS00MiAwTDAgMjEuNTg2VjBoMjEuNTg2WiIvPjwvZGVmcz48dXNlIHhsaW5rOmhyZWY9IiNhIiBmaWxsPSIjODg4IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=)",opacity:.2};function PD(e){switch(e){case"fit":return"contain";case"stretch":return"fill";default:return"cover"}}function hk(e,t){let n=e??"center",r=t??"center";return n==="center"&&r==="center"?"center":n+" "+r}function _D(e,t){if(!t)return"auto";let n=le.current()===le.canvas?nt.devicePixelRatio:1,r=ED(e,t,n);return le.current()===le.canvas?Hw(1,r):Hw(Su.zoom,r)}function Fm(e,t){return{display:"block",width:"100%",height:"100%",borderRadius:"inherit",objectPosition:hk(e.positionX,e.positionY),objectFit:PD(e.fit),imageRendering:_D(e,t)}}function ID({image:e,containerSize:t,nodeId:n,alt:r}){let i=ct.useImageSource(e,t,n),o=Fm(e,t),a=x.useRef(null);return k("img",{ref:a,decoding:"async",loading:e.loading,sizes:e.sizes,srcSet:e.srcSet,src:i,alt:r??e.alt,style:o})}function FD({image:e,containerSize:t,nodeId:n}){let r=x.useRef(null),i=ct.useImageElement(e,t,n),o=Fm(e,t);return x.useLayoutEffect(()=>{let a=r.current;if(a!==null)return a.appendChild(i),()=>{a.removeChild(i)}},[i]),Object.assign(i.style,o),k("div",{ref:r,style:{display:"contents",borderRadius:"inherit"}})}function MD({nodeId:e,image:t,containerSize:n}){let r=x.useRef(null),i=ct.useImageSource(t,n,e);return x.useLayoutEffect(()=>{let o=r.current;if(o===null)return;let a=Fm(t,n);ct.renderOptimizedCanvasImage(o,i,a,e)}
701,[e,t,i,n]),k("div",{ref:r,style:{display:"contents",borderRadius:"inherit"}})}function pk({layoutId:e,image:t,...n}){e&&(e=e+"-background");let r={...jw,...RD},i=null;if(fe(t.src))if(t.fit==="tile"&&t.pixelWidth&&t.pixelHeight){let o=$e(t.backgroundSize)?t.backgroundSize:1,a={width:Math.round(o*t.pixelWidth),height:Math.round(o*t.pixelHeight)},s=ct.useImageSource(t,a);r.backgroundImage=`url(${s})`,r.backgroundRepeat="repeat",r.backgroundPosition=hk(t.positionX,t.positionY),r.opacity=void 0,r.border=0,r.backgroundSize=`${(o*(t.pixelWidth/2)).toFixed(2)}px auto`,i=null}else le.current()!==le.canvas?i=k(ID,{image:t,...n}):ct.canRenderOptimizedCanvasImage(ct.useImageSource(t))?i=k(MD,{image:t,...n}):i=k(FD,{image:t,...n});return k(pt.div,{layoutId:e,style:i?jw:r,"data-framer-background-image-wrapper":!0,children:i})}var LD="src",Vi={isImageObject:function(e){return!e||typeof e=="string"?!1:LD in e}};function OD(e,t){let{_forwardedOverrideId:n,_forwardedOverrides:r,id:i}=t,o=n??i,a=r&&o?r[o]:void 0;return a&&typeof a=="string"&&(e={...e,src:a}),e}function DD(e){let{background:t,image:n}=e;if(n!==void 0&&t&&!Vi.isImageObject(t))return;let r=null;if(fe(n)?r={alt:"",src:n}:r=tt.get(t,null),!!Vi.isImageObject(r))return OD(r,e)}function AD(e,t,n=!0){let{borderWidth:r,borderStyle:i,borderColor:o}=e;if(!r)return;let a,s,l,c;if(typeof r=="number"?a=s=l=c=r:(a=r.top||0,s=r.bottom||0,l=r.left||0,c=r.right||0),!(a===0&&s===0&&l===0&&c===0)){if(n&&a===s&&a===l&&a===c){t.border=`${a}px ${i} ${o}`;return}t.borderStyle=e.borderStyle,t.borderColor=e.borderColor,t.borderTopWidth=`${a}px`,t.borderBottomWidth=`${s}px`,t.borderLeftWidth=`${l}px`,t.borderRightWidth=`${c}px`}}function VD(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,borderRadius:"inherit",pointerEvents:"none"};return e.border?(n.border=e.border,k(pt.div,{style:n})):(AD(e,n,!1),k(pt.div,{"data-frame-border":!0,style:n,layoutId:t}))}function Ws(e){return e&&e!=="search"&&e!=="slot"&&e!=="template"?pt[e]:pt.div}var BD=jn(Sm(),1),tr=typeof ze<"u"?ze:void 0,rr=()=>typeof document=="object";var $D=()=>tr&&/Chrome/.test(tr.userAgent)&&/Google Inc/.test(tr.vendor)&&!HD(),zD=()=>tr&&/Safari/.test(tr.userAgent)&&/Apple Computer/.test(tr.vendor);var ND=()=>tr&&/FramerX/.test(tr.userAgent),HD=()=>tr&&/Edg\//.test(tr.userAgent);var jD=()=>BD.default.env.NODE_ENV==="test";var WD=$D();function mk(e){let t={};return!WD||le.current()!==le.canvas||((e===!0||e==="x")&&(t["data-framer-layout-hint-center-x"]=!0),(e===!0||e==="y")&&(t["data-framer-layout-hint-center-y"]=!0)),t}function Mm(e){return e.replace(/^id_/,"").replace(/\\/g,"")}function UD(e,t){if(!t&&(t=e.children,!t))return{props:e,children:t};let n=e._forwardedOverrides;return n?(t=x.Children.map(t,r=>x.isValidElement(r)?x.cloneElement(r,{_forwardedOverrides:n}):r),{props:e,children:t}):{props:e,children:t}}function Ou(e){return(t,n)=>e===!0?`translate(-50%, -50%) ${n}`:e==="x"?`translateX(-50%) ${n}`:e==="y"?`translateY(-50%) ${n}`:n||"none"}function Us(e,{specificLayoutId:t,postfix:n}={}){let{name:r,layoutIdKey:i,duplicatedFrom:o,__fromCodeComponentNode:a=!1,drag:s}=e,{getLayoutId:l,enabled:c}=V(qo);return ae(()=>{if(!c)return e.layoutId;let u=t||e.layoutId;if(!u&&(s||!i||a))return;let f=u||l({id:i,name:r,duplicatedFrom:o});if(f)return n?`${f}-${n}`:f},[c])}var vk=typeof document<"u"?ot:N,ea=x.createContext(!1);function Du(){let[e,t]=x.useState(0);return x.useCallback(()=>t(n=>n+1),[])}var XD=(()=>aM().ResizeObserver)();var YD=class{constructor(){R(this,"sharedResizeObserver"),R(this,"callbacks",new WeakMap);let e=nt.ResizeObserver??XD;this.sharedResizeObserver=new e(this.updateResizedElements.bind(this))}updateResizedElements(e){for(let t of e){let n=this.callbacks.get(t.target);n&&n(t.contentRect)}}observeElementWithCallback(e,t){this.sharedResizeObserver.observe(e),this.callbacks.set(e,t)}unobserve(e){this.sharedResizeObserver.unobserve(e),this.callbacks.delete(e)}},iu=(()=>rr()?new YD:void 0)();function GD(e){let t=Du();N(()=>{let n=e?.current;if(n)return iu?.observeElementWithCallback(e.current,t),()=>{iu?.unobserve(n)}},[e,t])}var qD="data-framer-size-compatibility-wrapper";function KD(e){return[...e.firstElementChild&&e.firstElementChild.hasAttribute(qD)?e.firstElementChild.children:e.children].filter(gk).map(yk)}function gk(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 yk(e){if(!(e instanceof HTMLElement)||e.children.length===0||e.style.display!=="contents")return e;let t=[...e.children].find(gk);return t?yk(t):e}function Au(e,t,n=()=>[],r={}){let{id:i,visible:o,_needsMeasure:a}=e,{skipHook:s=!1}
701=r,l=!!V(ea),c=le.current()===le.canvas;vk(()=>{!c||l||s||t.current&&i&&o&&a&&ct.queueMeasureRequest(Mm(i),t.current,n(t.current))})}function QD(e){let t=e.closest("[data-framer-component-container]");t&&ct.queueMeasureRequest(Mm(t.id),t,KD(t))}var Wi=Object.keys;function _s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ww(e){return _s(e,"equals")?typeof e.equals=="function":!1}function Lm(e,t){return e===t?!0:e!==e&&t!==t}function ZD(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!Lm(e[r],t[r]))return!1;return!0}function JD(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!Vu(e[r],t[r],!0))return!1;return!0}function eA(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!Lm(r,t.get(n)))return!1;return!0}function tA(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!Vu(r,t.get(n),!0))return!1;return!0}function nA(e,t){if(e.size!==t.size)return!1;for(let n of e.keys())if(!t.has(n))return!1;return!0}function rA(e,t){let n=Wi(e);if(n.length!==Wi(t).length)return!1;for(let r of n){if(!_s(t,r))return!1;if(!(r==="_owner"&&_s(e,"$$typeof")&&e.$$typeof)&&!Lm(e[r],t[r]))return!1}return!0}function iA(e,t){let n=Wi(e);if(n.length!==Wi(t).length)return!1;for(let r of n){if(!_s(t,r))return!1;if(!(r==="_owner"&&_s(e,"$$typeof")&&e.$$typeof)&&!Vu(e[r],t[r],!0))return!1}return!0}function Vu(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 o=Array.isArray(e),a=Array.isArray(t);if(o&&a)return n?JD(e,t):ZD(e,t);if(o!==a)return!1;let s=e instanceof Map,l=t instanceof Map;if(s&&l)return n?tA(e,t):eA(e,t);if(s!==l)return!1;let c=e instanceof Set,u=t instanceof Set;if(c&&u)return nA(e,t);if(c!==u)return!1;let f=e instanceof Date,d=t instanceof Date;if(f&&d)return e.getTime()===t.getTime();if(f!==d)return!1;let p=e instanceof RegExp,y=t instanceof RegExp;return p&&y?e.toString()===t.toString():p!==y?!1:Ww(e)&&Ww(t)?e.equals(t):n?iA(e,t):rA(e,t)}function Ue(e,t,n=!0){try{return Vu(e,t,n)}catch(r){if(r instanceof Error&&/stack|recursion/iu.exec(r.message))return console.warn("Warning: isEqual does not handle circular references.",r.name,r.message),!1;throw r}}var bk="0.000001px",Yp=(()=>` translateZ(${bk})`)(),xk=(()=>ND()||zD()||jD())();function oA(e){e.willChange="transform";let t=le.current()===le.canvas;xk&&t&&(e.translateZ=bk)}function Om(e){e.willChange="transform",aA(e,!0)}function aA(e,t){let n=le.current()===le.canvas;if(!xk||!n)return;let r=fe(e.transform)&&e.transform||"";t?r.includes(Yp)||(e.transform=r+Yp):e.transform=r.replace(Yp,"")}function wk(e,t,n,r=!0){if(!e)return;let i=Ze(e.style),o=n||i[t],a=()=>{i[t]=o};i[t]=null,r?Promise.resolve().then(a):setTimeout(a,0)}var du=(()=>{class e extends Se{constructor(){super(...arguments),R(this,"layerElement",null),R(this,"setLayerElement",n=>{this.layerElement=n})}static applyWillChange(n,r,i){n.willChangeTransform&&(i?oA(r):Om(r))}shouldComponentUpdate(n,r){return n._needsMeasure||this.state!==r||!Ue(this.props,n)}componentDidUpdate(n){Ze(this.props).clip&&Ze(this.props).radius===0&&Ze(n).radius!==0&&wk(this.layerElement,"overflow","hidden",!1)}}return R(e,"defaultProps",{}),e})();function sA(e,t){if(e.size<t)return;let r=Math.round(Math.random());for(let i of e.keys())(++r&1)!==1&&e.delete(i)}function lA(e,t,n,r){let i=t.get(n);if(i)return i;sA(t,e);let o=r(n);return t.set(n,o),o}var Sk=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},Dm={hueRotate:(e,t)=>Y.toHslString(Y.hueRotate(Y(e),t)),setAlpha:(e,t)=>Y.toRgbString(Y.alpha(Y(e),t)),getAlpha:e=>{let t=_m(e);return t?t.a:1},multiplyAlpha:(e,t)=>Y.toRgbString(Y.multiplyAlpha(Y(e),t)),toHex:e=>Y.toHexString(Y(e)).toUpperCase(),toRgb:e=>Y.toRgb(Y(e)),toRgbString:e=>Y.toRgbString(Y(e)),toHSV:e=>Y.toHsv(Y(e)),toHSL:e=>Y.toHsl(Y(e)),toHslString:e=>Y.toHslString(Y(e)),toHsvString:e=>Y.toHsvString(Y(e)),hsvToHSLString:e=>Y.toHslString(Y(nu(e.h,e.s,e.v,e.a))),hsvToHex:e=>Y.toHexString(Y(nu(e.h,e.s,e.v,e.a))).toUpperCase(),hsvToRgbString:e=>Y.toRgbString(Y(nu(e.h,e.s,e.v,e.a))),hsvToString:e=>nu(e.h,e.s,e.v),rgbaToString:e=>Y.toRgbString(Y(e)),rgbToHexString:e=>Y.toHexString(Y(e)),hslToString:e=>Y.toHslString(Y(e)),hslToRgbString:e=>Y.toRgbString(Y(e)),toColorPickerSquare:e=>Y.toRgbString(Y({h:e,s:1,l:.5,a:1})),isValid:e=>Y(e).isValid!==!1,equals:(e,t)=>(typeof e=="string"&&(e=Y(e)),typeof t=="string"&&(t=Y(t)),Y.equal(e,t)),toHexOrRgbaString:e=>{let t=Y(e);return t.a!==1?Y.toRgbString(t):Y.toHexString(t)}},cA=/var\(.+\)/,uA=new Map;function fA(e,t){let n=[e,t];return cA.test(e)?e:lA(1e3,uA,n,()=>Dm.multiplyAlpha(e,t))}function Xs(e,t=1){let n;return"stops"in e?n=e.stops:n=[{value:e.start,position:0},{value:e.end,position:1}],t===1?n:n.map(r=>({...r,value:fA(r.value,t)}))}function kk(e,t){let n=0;return Xs(e,t).forEach(r=>{n^=Sk(r.value)^r.position}),n}var dA=["stops"];function Ck(e){return e&&dA.every(t=>t in e)}var hA=["start","end"];function Tk(e){return e&&hA.every(t=>t in e)}var pA=["angle","alpha"],Is={isLinearGradient:e=>e&&pA.every(t=>t in e)&&(Tk(e)||Ck(e)),hash:e=>e.angle^kk(e,e.alpha),toCSS:(e,t)=>{let n=Xs(e,e.alpha),r=t!==void 0?t:e.angle,i=n.map(o=>`${o.value} ${o.position*100}%`);return`linear-gradient(${r}deg, ${i.join(", ")})`}}
701,mA=["widthFactor","heightFactor","centerAnchorX","centerAnchorY","alpha"],Fs={isRadialGradient:e=>e&&mA.every(t=>t in e)&&(Tk(e)||Ck(e)),hash:e=>e.centerAnchorX^e.centerAnchorY^e.widthFactor^e.heightFactor^kk(e,e.alpha),toCSS:e=>{let{alpha:t,widthFactor:n,heightFactor:r,centerAnchorX:i,centerAnchorY:o}=e,a=Xs(e,t),s=a.map((l,c)=>{let u=a[c+1],f=l.position===1&&u?.position===1?l.position-1e-4:l.position;return`${l.value} ${f*100}%`});return`radial-gradient(${n*100}% ${r*100}% at ${i*100}% ${o*100}%, ${s.join(", ")})`}};function vA({background:e,backgroundColor:t},n){t?typeof t=="string"||Dw(t)?n.backgroundColor=t:Y.isColorObject(e)&&(n.backgroundColor=e.initialValue||Y.toRgbString(e)):e&&(e=tt.get(e,null),typeof e=="string"||Dw(e)?n.background=e:Is.isLinearGradient(e)?n.background=Is.toCSS(e):Fs.isRadialGradient(e)?n.background=Fs.toCSS(e):Y.isColorObject(e)&&(n.backgroundColor=e.initialValue||Y.toRgbString(e)))}function ve(e,t,n,r){if(r===void 0&&(r=t),e[t]!==void 0){n[r]=e[t];return}}function gA(e){return e?e.left!==void 0&&e.right!==void 0:!1}function yA(e){return e?e.top!==void 0&&e.bottom!==void 0:!1}function bA(e){if(!e)return{};let t={};return 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%")),ve(e,"size",t),ve(e,"width",t),ve(e,"height",t),ve(e,"minWidth",t),ve(e,"minHeight",t),ve(e,"top",t),ve(e,"right",t),ve(e,"bottom",t),ve(e,"left",t),ve(e,"position",t),ve(e,"overflow",t),ve(e,"opacity",t),(!e._border||!e._border.borderWidth)&&ve(e,"border",t),ve(e,"borderRadius",t),ve(e,"radius",t,"borderRadius"),ve(e,"color",t),ve(e,"shadow",t,"boxShadow"),ve(e,"x",t),ve(e,"y",t),ve(e,"z",t),ve(e,"rotate",t),ve(e,"rotateX",t),ve(e,"rotateY",t),ve(e,"rotateZ",t),ve(e,"scale",t),ve(e,"scaleX",t),ve(e,"scaleY",t),ve(e,"skew",t),ve(e,"skewX",t),ve(e,"skewY",t),ve(e,"originX",t),ve(e,"originY",t),ve(e,"originZ",t),vA(e,t),t}function xA(e){for(let t in e)if(t==="drag"||t.startsWith("while")||typeof Ze(e)[t]=="function"&&t.startsWith("on")&&!t.includes("Animation"))return!0;return!1}var Uw=["onClick","onDoubleClick","onMouse","onMouseDown","onMouseUp","onTapDown","onTap","onTapUp","onPointer","onPointerDown","onPointerUp","onTouch","onTouchDown","onTouchUp"],wA=(()=>new Set([...Uw,...Uw.map(e=>`${e}Capture`)]))();function SA(e){if(e.drag)return"grab";for(let t in e)if(wA.has(t))return"pointer"}var Gp="overflow";function kA(e){return Xw(e)?!0:e.style?!!Xw(e.style):!1}function Xw(e){return Gp in e&&(e[Gp]==="scroll"||e[Gp]==="auto")}function Ek(e){let{left:t,top:n,bottom:r,right:i,width:o,height:a,center:s,_constraints:l,size:c,widthType:u,heightType:f,positionFixed:d,positionAbsolute:p}=e,y=wt(e.minWidth),g=wt(e.minHeight),b=wt(e.maxWidth),h=wt(e.maxHeight);return{top:wt(n),left:wt(t),bottom:wt(r),right:wt(i),width:wt(o),height:wt(a),size:wt(c),center:s,_constraints:l,widthType:u,heightType:f,positionFixed:d,positionAbsolute:p,minWidth:y,minHeight:g,maxWidth:b,maxHeight:h}}var Yw={x:0,y:0,width:200,height:200};function CA(e){x.useInsertionEffect(()=>{js()},[]);let t=!!V(ea),{style:n,_initialStyle:r,__fromCanvasComponent:i,size:o}=e,a=Ek(e),s=dO(a),l={display:"block",flex:n?.flex??"0 0 auto",userSelect:le.current()!==le.preview?"none":void 0};e.__fromCanvasComponent||(l.backgroundColor=e.background===void 0?"rgba(0, 170, 255, 0.3)":void 0);let c=!xA(e)&&!e.__fromCanvasComponent&&!kA(e),u=e.style?!("pointerEvents"in e.style):!0;c&&u&&(l.pointerEvents="none");let d=x.Children.count(e.children)>0&&x.Children.toArray(e.children).every(h=>typeof h=="string"||typeof h=="number")&&{display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center"},p=bA(e);o===void 0&&!i&&(gA(p)||(l.width=Yw.width),yA(p)||(l.height=Yw.height)),a.minWidth!==void 0&&(l.minWidth=a.minWidth),a.minHeight!==void 0&&(l.minHeight=a.minHeight);let y={};Ns(a)&&s&&!lk(e)&&(y={left:s.x,top:s.y,width:s.width,height:s.height,right:void 0,bottom:void 0}),Object.assign(l,d,r,p,y,n),Object.assign(l,{overflowX:l.overflowX??l.overflow,overflowY:l.overflowY??l.overflow,overflow:void 0}),du.applyWillChange(e,l,!0);let g=l;l.transform||(g={x:0,y:0,...l});let b=le.current()===le.canvas;return e.positionSticky?(!b||t)&&(g.position="sticky",g.willChange="transform",g.zIndex=1,g.top=e.positionStickyTop,g.right=e.positionStickyRight,g.bottom=e.positionStickyBottom,g.left=e.positionStickyLeft):b&&(e.positionFixed||e.positionAbsolute)&&(g.position="absolute"),"rotate"in g&&g.rotate===void 0&&delete g.rotate,[g,s]}
701var TA=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"]);function EA(e){let t={};for(let n in e)(io(n)||wD(n))&&!TA.has(n)?t[n]=Ze(e)[n]:(n==="positionTransition"||n==="layoutTransition")&&(t.layout=!0,typeof Ze(e)[n]!="boolean"&&!e.transition&&(t.transition=Ze(e)[n]));return t}function RA(e){return"data-framer-name"in e}var PA=Ie(function(t,n){let{name:r,center:i,border:o,_border:a,__portal:s}=t,{props:l,children:c}=UD(t),u=EA(l),f=Us(t),d=SA(t),p=A(null),y=n??p,g={"data-framer-component-type":t.componentType??"Frame","data-framer-cursor":d,"data-framer-highlight":d==="pointer"?!0:void 0,"data-layoutid":f,"data-framer-offset-parent-id":Ze(t)["data-framer-offset-parent-id"]};!RA(t)&&r&&(Ze(g)["data-framer-name"]=r);let[b,h]=CA(l),m=Ek(l),v=lk(m);i&&!(h&&!v&&Ns(m))?(u.transformTemplate||(u.transformTemplate=Ou(i)),Object.assign(g,mk(i))):u.transformTemplate||(u.transformTemplate=void 0),Au(t,y);let w=DD(t),C=!!V(ea),S=_A(l,m,h,C),E=fO(se(Fe,{children:[w?k(pk,{alt:t.alt??"",image:w,containerSize:h??void 0,nodeId:t.id&&Mm(t.id),layoutId:f}):null,c,k(VD,{...a,border:o,layoutId:f})]}),S),T=Ws(t.as),{size:M,radius:I,shadow:B}=b;return M!==void 0&&(delete b.size,b.height===void 0&&(b.height=M),b.width===void 0&&(b.width=M)),I!==void 0&&(delete b.radius,b.borderRadius=I),B!==void 0&&(delete b.shadow,b.boxShadow=B),se(T,{...g,...u,layoutId:f,style:b,ref:y,children:[E,s]})}),hu=Ie(function(t,n){let{visible:r=!0}=t;return r?k(PA,{...t,ref:n}):null});function _A(e,t,n,r){if(r)return n?{width:n.width,height:n.height}:1;let{_usesDOMRect:i}=e,{widthType:o=0,heightType:a=0,width:s,height:l}=t;return n&&!i?n:o===0&&a===0&&typeof s=="number"&&typeof l=="number"?{width:s,height:l}:i||e.positionFixed||e.positionAbsolute?2:0}var Am="__LAYOUT_TREE_ROOT",Rk=x.createContext({schedulePromoteTree:()=>{},scheduleProjectionDidUpdate:()=>{},initLead:()=>{}}),IA=class extends Se{constructor(){super(...arguments),R(this,"shouldAnimate",!1),R(this,"transition"),R(this,"lead"),R(this,"follow"),R(this,"scheduledPromotion",!1),R(this,"scheduledDidUpdate",!1),R(this,"scheduleProjectionDidUpdate",()=>{this.scheduledDidUpdate=!0}),R(this,"schedulePromoteTree",(e,t,n)=>{this.follow=this.lead,this.shouldAnimate=n,this.lead=e,this.transition=t,this.scheduledPromotion=!0}),R(this,"initLead",(e,t)=>{this.follow=this.lead,this.lead=e,this.follow&&t&&(this.follow.layoutMaybeMutated=!0)}),R(this,"sharedLayoutContext",{schedulePromoteTree:this.schedulePromoteTree,scheduleProjectionDidUpdate:this.scheduleProjectionDidUpdate,initLead:this.initLead})}getSnapshotBeforeUpdate(){var e;if(!this.scheduledPromotion||!this.lead||!this.follow)return null;let t=!!((e=this.lead)!=null&&e.layoutMaybeMutated)&&!this.shouldAnimate;return this.lead.projectionNodes.forEach(n=>{var r;n?.promote({needsReset:t,transition:this.shouldAnimate?this.transition:void 0,preserveFollowOpacity:n.options.layoutId===Am&&!((r=this.follow)!=null&&r.isExiting)})}),this.shouldAnimate?this.follow.layoutMaybeMutated=!0:this.scheduleProjectionDidUpdate(),this.lead.layoutMaybeMutated=!1,this.transition=void 0,this.scheduledPromotion=!1,null}componentDidUpdate(){var e,t;if(!this.lead)return null;this.scheduledDidUpdate&&((t=(e=this.lead.rootProjectionNode)==null?void 0:e.root)==null||t.didUpdate(),this.scheduledDidUpdate=!1)}render(){return k(Rk.Provider,{value:this.sharedLayoutContext,children:this.props.children})}},FA={width:"100%",height:"100%",backgroundColor:"none"};function MA(e){return k(pt.div,{layoutId:Am,style:FA,children:e.children})}var LA=class{constructor(e){R(this,"sharedIntersectionObserver"),R(this,"callbacks",new WeakMap),document&&(this.sharedIntersectionObserver=new IntersectionObserver(this.resizeObserverCallback.bind(this),e))}resizeObserverCallback(e,t){for(let n of e){let r=this.callbacks.get(n.target);r&&r([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(){var e;return(e=this.sharedIntersectionObserver)==null?void 0:e.root}},OA=x.createContext(new Map);function DA(e,t,n){if(typeof IntersectionObserver>"u")return;let r=Gt(()=>`${n.rootMargin}`),i=x.useContext(OA),{enabled:o}=n;x.useEffect(()=>{var a;let s=e.current;if(!o||!s)return;let l=i.get(r);if(!l||l.root!==((a=n.root)==null?void 0:a.current)){let{root:c,...u}=n;l=new LA({...u,root:c?.current}),i.set(r,l)}return l.observeElementWithCallback(s,t),()=>l?.unobserve(s)},[o])}var AA=new Array(100).fill(void 0).map((e,t)=>t*.01),VA=x.createContext(null);function BA(e,t,n){let r=x.useRef({isInView:!1,hasAnimatedOnce:!1}
701),{enabled:i,animateOnce:o,threshold:a,rootMargin:s="0px 0px 0px 0px"}=n,l=x.useCallback(([c])=>{if(!c)return;let{isInView:u,hasAnimatedOnce:f}=r.current,d=zA(c,a?.y??0);if(d&&!u){if(o&&f)return;r.current.hasAnimatedOnce=!0,r.current.isInView=!0,t(!0);return}if(!d&&u){if(r.current.isInView=!1,o)return;t(!1);return}},[o,a?.y,t]);DA(e,l,{threshold:AA,rootMargin:s,enabled:i??!0})}function $A(e,t){return t.height===0?0:e.height/Math.min(t.height,nt.innerHeight)}function zA({boundingClientRect:e,intersectionRect:t,isIntersecting:n},r){return e.height===0?n:n&&$A(t,e)>=r}var y8=jn(Iu(),1);var x8=jn(Iu(),1);var Gw=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Er=Symbol("private"),qp=(()=>{function e(t={},n=!1,r=!0){let i={[Er]:{makeAnimatables:n,observeAnimatables:r,observers:new JS,reset(){for(let a in o)if(Gw(o,a)){let s=Gw(t,a)?Ze(t)[a]:void 0;s!==void 0?o[a]=s:delete o[a]}},transactions:new Set}},o=new Proxy(i,HA);return Object.assign(o,t),o}return e.resetObject=t=>t[Er].reset(),e.addObserver=(t,n)=>t[Er].observers.add(n),e})(),NA=class{constructor(){R(this,"set",(e,t,n,r)=>{if(t===Er)return!1;let i=e[Er],o,a;if(On(n)?(o=n,a=o.get()):a=n,i.makeAnimatables&&typeof n!="function"&&typeof n!="object"&&!o&&(o=tt(n)),i.observeAnimatables&&o){let u=i.transactions;o.onUpdate({update:(f,d)=>{d&&u.add(d),i.observers.notify({value:r},d)},finish:f=>{u.delete(f)&&i.observers.finishTransaction(f)}})}let s=!1,l=!0,c=Ze(e)[t];if(c!==void 0){On(c)?(l=c.get()!==a,c.set(a)):(l=c!==a,Ze(e)[t]=a);let u=a!==null&&typeof a=="object";(Array.isArray(a)||u)&&(l=!0),s=!0}else o&&(n=o),s=Reflect.set(e,t,n);return l&&i.observers.notify({value:r}),s}),R(this,"get",(e,t,n)=>{if(t===Er)return Ze(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[Er].observers.notify({value:e}),n}ownKeys(e){let t=Reflect.ownKeys(e),n=t.indexOf(Er);return n!==-1&&t.splice(n,1),t}getOwnPropertyDescriptor(e,t){if(t!==Er)return Reflect.getOwnPropertyDescriptor(e,t)}},HA=new NA;var jA="opacity";function WA(e){return jA in e}function UA(e,t){if(!WA(e))return;let n=tt.getNumber(e.opacity);n!==1&&(t.opacity=n)}function XA(e){let t=[];if(e&&e.length){let n=e.map(r=>`drop-shadow(${r.x}px ${r.y}px ${r.blur}px ${r.color})`);t.push(...n)}return t}function Pk(e,t){if(!e.shadows||e.shadows.length===0)return;let n=e.shadows.map(r=>`${r.x}px ${r.y}px ${r.blur}px ${r.color}`).join(", ");n&&(t.textShadow=n)}function YA(e,t){let n=[];J(e.brightness)&&n.push(`brightness(${e.brightness/100})`),J(e.contrast)&&n.push(`contrast(${e.contrast/100})`),J(e.grayscale)&&n.push(`grayscale(${e.grayscale/100})`),J(e.hueRotate)&&n.push(`hue-rotate(${e.hueRotate}deg)`),J(e.invert)&&n.push(`invert(${e.invert/100})`),J(e.saturate)&&n.push(`saturate(${e.saturate/100})`),J(e.sepia)&&n.push(`sepia(${e.sepia/100})`),J(e.blur)&&n.push(`blur(${e.blur}px)`),e.dropShadows&&n.push(...XA(e.dropShadows)),n.length!==0&&(t.filter=t.WebkitFilter=n.join(" "))}function GA(e,t){J(e.backgroundBlur)&&(t.backdropFilter=t.WebkitBackdropFilter=`blur(${e.backgroundBlur}px)`)}function Vm(e,t){GA(e,t),YA(e,t)}var qA=class extends Se{constructor(){super(...arguments),R(this,"layoutMaybeMutated"),R(this,"projectionNodes",new Map),R(this,"rootProjectionNode"),R(this,"isExiting"),R(this,"shouldPreserveFollowOpacity",e=>e.options.layoutId===Am&&!this.props.isExiting),R(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:o,sharedLayoutContext:a}=e;if(this.isExiting=n,t===void 0)return!0;let s=!this.props.isLead&&!!t,l=this.props.isExiting&&!n,c=s||l,u=!!this.props.isLead&&!t,f=this.props.isOverlayed!==r;return(c||u)&&this.projectionNodes.forEach(d=>d?.willUpdate()),c?a.schedulePromoteTree(this,o,!!i):f&&a.scheduleProjectionDidUpdate(),!!c&&!!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 k(xl.Provider,{value:this.switchLayoutGroupContext,children:this.props.children})}},KA=e=>{let t=x.useContext(Rk);return k(qA,{...e,sharedLayoutContext:t})},_k=x.createContext(!0);function F8(){return V(_k)}function QA(){return new Map}function ZA(){return Gt(QA)}var Ik=xe({register:()=>{},deregister:()=>{}}),JA=({isCurrent:e,isOverlayed:t,children:n})=>{let r=ZA(),i=oe(s=>{if(r.has(s)){console.warn("NavigationTargetWrapper: already registered");return}r.set(s,void 0)},[r]),o=oe(s=>{let l=r.get(s);l?.(),r.delete(s)},[r]),a=A({register:i,deregister:o}).current;return N(()=>(r.forEach((s,l)=>{let c=l(e,t);r.set(l,ji(c)?c:void 0)}),()=>{r.forEach((s,l)=>{s&&(s(),r.set(l,void 0))})}),[e,t,r]),k(Ik.Provider,{value:a,children:n})};function eV(e,t=[]){let{register:n,deregister:r}=V(Ik);N(()=>
701{if(e)return n(e),()=>r(e)},[n,r,...t])}var Kp=x.memo(function({isLayeredContainer:t,isCurrent:n,isPrevious:r,isOverlayed:i=!1,visible:o,transitionProps:a,children:s,backdropColor:l,onTapBackdrop:c,backfaceVisible:u,exitBackfaceVisible:f,animation:d,exitAnimation:p,instant:y,initialProps:g,exitProps:b,position:h={top:0,right:0,bottom:0,left:0},withMagicMotion:m,index:v,areMagicMotionLayersPresent:w,id:C,isInitial:S}){let E=D0(),T=V(ao),{persistLayoutIdCache:M}=V(qo),I=A({wasCurrent:void 0,wasPrevious:!1,wasBeingRemoved:!1,wasReset:!0,origins:qw({},g,a)}),B=A(null),D=T!==null&&!T.isPresent;n&&I.current.wasCurrent===void 0&&M(),N(()=>{if(t||!E)return;if(D){I.current={...I.current,wasBeingRemoved:D};return}let{wasPrevious:de,wasCurrent:ie}=I.current,ut=n&&!ie||!D&&I.current.wasBeingRemoved&&n,Te=r&&!de,Pt=qw(I.current.origins,g,a),be=I.current.wasReset;ut||Te?(E.stop(),E.start({zIndex:v,...Pt,...a}),be=!1):be===!1&&(E.stop(),E.set({zIndex:v,...Bi,opacity:0}),be=!0),I.current={wasCurrent:!!n,wasPrevious:!!r,wasBeingRemoved:!1,wasReset:be,origins:Pt}},[n,r,D]);let X=y?{type:!1}:"velocity"in d?{...d,velocity:0}:d,H=y?{type:!1}:p||d,z={...h};(z.left===void 0||z.right===void 0)&&(z.width="auto"),(z.top===void 0||z.bottom===void 0)&&(z.height="auto");let ee=(Kw(a)||Kw(g))&&(t||n||r)?1200:void 0,te={...Bi,...I.current.origins},G=t?{initial:{...te,...g},animate:{...te,...a,transition:X},exit:{...te,...b,transition:d}}:{animate:E,exit:{...te,...b,transition:H}},ne=!(D||w===!1),ge=!!n&&ne;return se(hu,{"data-framer-component-type":"NavigationContainerWrapper",width:"100%",height:"100%",style:{position:"absolute",transformStyle:"flat",backgroundColor:"transparent",overflow:"hidden",zIndex:t||D||n&&m?v:void 0,pointerEvents:void 0,visibility:o?"visible":"hidden",perspective:ee},children:[t&&k(hu,{width:"100%",height:"100%","data-framer-component-type":"NavigationContainerBackdrop",transition:d,initial:{opacity:y&&o?1:0},animate:{opacity:1},exit:{opacity:0},backgroundColor:l||"transparent",onTap:D?void 0:c}),k(hu,{...z,...G,transition:{default:X,originX:{type:!1},originY:{type:!1},originZ:{type:!1}},backgroundColor:"transparent",backfaceVisible:D?f:u,"data-framer-component-type":"NavigationContainer","data-framer-is-current-navigation-target":!!n,style:{pointerEvents:void 0,opacity:n&&S||t||n&&m?1:0},"data-is-present":ne?void 0:!1,ref:B,children:k(VA.Provider,{value:B,children:k(_k.Provider,{value:ge,children:k(JA,{isCurrent:ge,isOverlayed:i,children:k(KA,{isLead:n,animatesLayout:!!m,transition:X,isExiting:!ne,isOverlayed:i,id:C,children:s})})})})})]})},tV);function tV(e,t){return!(t.isCurrent===void 0||e.isCurrent!==t.isCurrent||e.isPrevious!==t.isPrevious||t.isCurrent&&e.isOverlayed!==t.isOverlayed)}function qw(e,t,n){let r={...e};return t&&(J(t.originX)&&(r.originX=t.originX),J(t.originY)&&(r.originY=t.originY),J(t.originZ)&&(r.originZ=t.originZ)),n&&(J(n.originX)&&(r.originX=n.originX),J(n.originY)&&(r.originY=n.originY),J(n.originZ)&&(r.originZ=n.originZ)),r}function Kw(e){var t,n,r;if(!e||!("rotateX"in e||"rotateY"in e||"z"in e))return!1;let o=e.rotateX!==0||e.rotateY!==0||e.z!==0,a=((t=e?.transition)==null?void 0:t.rotateX.from)!==0||((n=e?.transition)==null?void 0:n.rotateY.from)!==0||((r=e?.transition)==null?void 0:r.z.from)!==0;return o||a}var Bi={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},nV=class{constructor(){R(this,"warning",()=>{Rs("The Navigator API is only available inside of Framer: https://www.framer.com/")}),R(this,"goBack",()=>this.warning()),R(this,"instant",()=>this.warning()),R(this,"fade",()=>this.warning()),R(this,"push",()=>this.warning()),R(this,"modal",()=>this.warning()),R(this,"overlay",()=>this.warning()),R(this,"flip",()=>this.warning()),R(this,"customTransition",()=>this.warning()),R(this,"magicMotion",()=>this.warning())}},rV=new nV,iV=xe(rV),lt={Fade:{exit:{opacity:0},enter:{opacity:0}
701},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}};function oV(e){switch(e&&e.appearsFrom?e.appearsFrom:"right"){case"right":return lt.PushLeft;case"left":return lt.PushRight;case"bottom":return lt.PushUp;case"top":return lt.PushDown}}function aV(e){switch(e&&e.appearsFrom?e.appearsFrom:"bottom"){case"right":return lt.OverlayLeft;case"left":return lt.OverlayRight;case"bottom":return lt.OverlayUp;case"top":return lt.OverlayDown}}function sV(e){switch(e&&e.appearsFrom?e.appearsFrom:"bottom"){case"right":return lt.FlipLeft;case"left":return lt.FlipRight;case"bottom":return lt.FlipUp;case"top":return lt.FlipDown}}var lV=()=>({current:-1,previous:-1,currentOverlay:-1,previousOverlay:-1,visualIndex:0,overlayItemId:0,historyItemId:0,history:[],overlayStack:[],containers:{},containerIndex:{},containerVisualIndex:{},containerIsRemoved:{},transitionForContainer:{},previousTransition:null});function Qw(e,t){switch(t.type){case"addOverlay":return uV(e,t.transition,t.component);case"removeOverlay":return fV(e);case"add":return Fk(e,t.key,t.transition,t.component);case"remove":return Mk(e);case"update":return cV(e,t.key,t.component);case"back":return dV(e);case"forward":return hV(e);default:return}}function cV(e,t,n){return{...e,containers:{...e.containers,[t]:n}}}function uV(e,t,n){let r=e.overlayStack[e.currentOverlay];if(r&&r.component===n)return;let i=e.overlayItemId+1,o=[...e.overlayStack,{key:`stack-${i}`,component:n,transition:t}];return{...e,overlayStack:o,overlayItemId:i,currentOverlay:Math.max(0,Math.min(e.currentOverlay+1,o.length-1)),previousOverlay:e.currentOverlay}}function fV(e){return{...e,overlayStack:[],currentOverlay:-1,previousOverlay:e.currentOverlay}}function Fk(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],o=i&&i.key===t;if(e.overlayStack=[],o&&e.currentOverlay>-1)return{...e,currentOverlay:-1,previousOverlay:e.currentOverlay};if(o)return;let a=e.containerVisualIndex[t],s=e.containerIsRemoved[t],l=i?.key&&n.withMagicMotion?gV(t,a,s,e.history):!0;e.history.push({key:t,transition:n,visualIndex:l?Math.max(e.visualIndex,0):e.containerVisualIndex[t]});let c=e.current+1,u=e.current;for(let y in e.containerIndex)e.containerIndex[y]===c&&(e.containerIndex[y]=vV(y,e.history));e.containerIndex[t]=c;let{containerVisualIndex:f,containerIsRemoved:d}=pV(e,t,l),p=Lk(c,u,e.history,e.containerIndex,e.transitionForContainer);return{...e,current:c,previous:u,containerVisualIndex:f,containerIsRemoved:d,transitionForContainer:p,previousTransition:null,currentOverlay:-1,historyItemId:e.historyItemId+1,previousOverlay:e.currentOverlay}}function dV(e){let t={...e.containers},n=Mk(e);if(n)return n.containers=t,n}function hV(e){let t=e.history[e.current+1];if(!t)return;let{key:n,transition:r,component:i}=t,o=[...e.history],a=Fk(e,n,r,i);if(a)return a.history=o,a}function Mk(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];ce(r,"The navigation history must have at least one component"),e.containerIndex[r.key]=t.length-1,t.every(d=>d.key!==n.key)&&delete e.containers[n.key];let o=e.current-1,a=e.current,{containerIsRemoved:s,containerVisualIndex:l,previousTransition:c,visualIndex:u}=mV(e,r,n),f=Lk(o,a,e.history,e.containerIndex,e.transitionForContainer);return{...e,current:o,previous:a,containerIsRemoved:s,containerVisualIndex:l,previousTransition:c,visualIndex:u,transitionForContainer:f}}function pV(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 i=e.containerVisualIndex[t];
701for(let[o,a]of Object.entries(e.containerVisualIndex))i!==void 0&&a>i&&(r.containerIsRemoved[o]=!0)}return r}function mV(e,t,n){let r=[t.key,n.key],i=e.history[e.history.length-2],o=e.previousTransition===null?null:{...e.previousTransition},a={containerIsRemoved:{...e.containerIsRemoved},containerVisualIndex:{...e.containerVisualIndex},previousTransition:o,visualIndex:e.visualIndex};i&&r.push(i.key);let s=e.containerVisualIndex[t.key],l=e.containerVisualIndex[n.key],c=s!==void 0&&l!==void 0&&s<=l||t.visualIndex!==void 0&&t.visualIndex<e.history.length-1,u=t.visualIndex;return c?(a.containerIsRemoved[n.key]=!0,a.containerVisualIndex[t.key]=u!==void 0?u:e.history.length-1):(a.visualIndex=e.visualIndex+1,a.containerVisualIndex[t.key]=e.visualIndex+1),n.transition.withMagicMotion&&(a.previousTransition=n.transition||null),e.containerIsRemoved[t.key]=!1,a}function vV(e,t){var n;for(let r=t.length;r>t.length;r--)if(((n=t[r])==null?void 0:n.key)===e)return r;return-1}function Lk(e,t,n,r,i){let o={...i};for(let[a,s]of Object.entries(r)){let l=yV(s,{current:e,previous:t,history:n});l&&(o[a]=l)}return o}function gV(e,t,n,r){return n||t===void 0?!0:t===0?!1:r.slice(t,r.length).findIndex(a=>a.key===e)>-1?!0:!(r.slice(0,t-1).findIndex(a=>a.key===e)>-1)}function yV(e,t){let{current:n,previous:r,history:i}=t;if(!(e!==n&&e!==r)){if(e===n&&n>r){let o=i[e];return ou("enter",o?.transition.enter,o?.transition.animation)}if(e===r&&n>r){let o=i[e+1];return ou("exit",o?.transition.exit,o?.transition.animation)}if(e===n&&n<r){let o=i[e+1];return ou("enter",o?.transition.exit,o?.transition.animation)}if(e===r&&n<r){let o=i[e];return ou("exit",o?.transition.enter,o?.transition.animation)}}}var bV=Wi(Bi);function ou(e,t,n){let r={},i={};return bV.forEach(o=>{r[o]=Bi[o],i[o]={...n,from:Bi[o]}}),t&&Object.keys(t).forEach(o=>{if(t[o]===void 0)return;let a=t[o],s=typeof t[o]=="string"?`${Ze(Bi)[o]}%`:Ze(Bi)[o];Ze(r)[o]=e==="enter"?s:a,i[o]={...n,from:e==="enter"?a:s,velocity:0}}),{...r,transition:{...i}}}var xV=x.createContext(void 0);var Ok=x.createContext(void 0),wV=(()=>{var e,t,n,r,i,o,a,s,l;return t=class extends Se{constructor(c){var u;super(c),Zt(this,n),Zt(this,i),Zt(this,s),Zt(this,e,null),R(this,"state",lV()),Zt(this,a,b=>{if(!this.props.enabled&&this.state.history.length>0)return;let h=Qw(this.state,b);if(!h)return;let{skipLayoutAnimation:m}=this.props,v=h.history[h.current],w=b.type==="add"&&b.transition.withMagicMotion||b.type==="forward"&&v?.transition.withMagicMotion||b.type==="remove"&&!!h.previousTransition,C=()=>{var S;this.setState(h),v?.key&&((S=this.context)==null||S.call(this,v.key))};m&&!w?m(C):C()}),R(this,"goBack",()=>{var b;if(!$t(this,i,o).call(this))return Lf(this,e,((b=globalThis.event)==null?void 0:b.timeStamp)||null),this.state.currentOverlay!==-1?ue(this,a).call(this,{type:"removeOverlay"}):ue(this,a).call(this,{type:"remove"})});let f=this.props.children;if(!f||!fu(f)||!uu(f))return;let d={...lt.Instant},y={type:"add",key:((u=f.key)==null?void 0:u.toString())||`stack-${this.state.historyItemId+1}`,transition:d,component:f},g=Qw(this.state,y);g&&(this.state=g)}componentDidMount(){var c;let u=this.state.history[this.state.current];u&&((c=this.context)==null||c.call(this,u.key))}UNSAFE_componentWillReceiveProps(c){var u;let f=c.children;if(!fu(f)||!uu(f))return;let d=(u=f.key)==null?void 0:u.toString();d&&(this.state.history.length===0?$t(this,s,l).call(this,f,lt.Instant):ue(this,a).call(this,{type:"update",key:d,component:f}))}componentWillUnmount(){var c,u;(u=(c=this.props).resetProjection)==null||u.call(c)}instant(c){$t(this,s,l).call(this,c,lt.Instant,void 0)}fade(c,u){$t(this,s,l).call(this,c,lt.Fade,u)}push(c,u){$t(this,s,l).call(this,c,oV(u),u)}modal(c,u){$t(this,s,l).call(this,c,lt.Modal,u)}overlay(c,u){$t(this,s,l).call(this,c,aV(u),u)}flip(c,u){$t(this,s,l).call(this,c,sV(u),u)}magicMotion(c,u){$t(this,s,l).call(this,c,lt.MagicMotion,u)}customTransition(c,u){$t(this,s,l).call(this,c,u)}render(){var c,u,f,d,p;let y=$t(this,n,r).call(this,{overCurrentContext:!1}),g=$t(this,n,r).call(this,{overCurrentContext:!0}),b=SV(g),h=g.current>-1,m=this.state.history.length===1,v=[];
701for(let[C,S]of Object.entries(this.state.containers)){let E=this.state.containerIndex[C];ce(E!==void 0,"Container's index must be registered");let T=this.state.containerVisualIndex[C];ce(T!==void 0,"Container's visual index must be registered");let M=this.state.containerIsRemoved[C],I=this.state.history[E],B=this.state.transitionForContainer[C],D=E===this.state.current,X=E===this.state.previous,H=D?!1:M,z=((c=I?.transition)==null?void 0:c.withMagicMotion)||D&&!!this.state.previousTransition;v.push(k(Kp,{id:C,index:T,isInitial:m,isCurrent:D,isPrevious:X,isOverlayed:h,visible:D||X,position:(u=I?.transition)==null?void 0:u.position,instant:Jw(E,y),transitionProps:B,animation:Zw(E,y),backfaceVisible:_V(E,y),exitAnimation:(f=I?.transition)==null?void 0:f.animation,exitBackfaceVisible:(d=I?.transition)==null?void 0:d.backfaceVisible,exitProps:(p=I?.transition)==null?void 0:p.enter,withMagicMotion:z,areMagicMotionLayersPresent:H?!1:void 0,children:k(MA,{children:eS({component:S,transition:I?.transition})})},C))}let w=this.state.overlayStack.map((C,S)=>k(Kp,{isLayeredContainer:!0,isCurrent:S===this.state.currentOverlay,position:C.transition.position,initialProps:PV(S,g),transitionProps:IV(S,g),instant:Jw(S,g,!0),animation:Zw(S,g),exitProps:C.transition.enter,visible:FV(S,g),backdropColor:EV(C.transition),backfaceVisible:RV(S,g),onTapBackdrop:MV(C.transition,this.goBack),index:this.state.current+1+S,children:eS({component:C.component,transition:C.transition})},C.key));return k(hu,{"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:k(iV.Provider,{value:this,children:se(Ok.Provider,{value:m,children:[k(Kp,{isLayeredContainer:!0,position:void 0,initialProps:{},instant:!1,transitionProps:kV(b),animation:CV(b),backfaceVisible:TV(b),visible:!0,backdropColor:void 0,onTapBackdrop:void 0,index:0,children:k(HL,{children:k(IA,{children:k(wd,{presenceAffectsLayout:!1,children:v})})})}),k(wd,{children:w})]})})})}},e=new WeakMap,n=new WeakSet,r=function(c){let{current:u,previous:f,currentOverlay:d,previousOverlay:p}=this.state;return c.overCurrentContext?{current:d,previous:p,history:this.state.overlayStack}:{current:u,previous:f,history:this.state.history}},i=new WeakSet,o=function(){return globalThis.event?ue(this,e)===globalThis.event.timeStamp:!1},a=new WeakMap,s=new WeakSet,l=function(c,u,f){var d,p;if($t(this,i,o).call(this)||(Lf(this,e,((d=globalThis.event)==null?void 0:d.timeStamp)||null),!c||!fu(c)||!uu(c)))return;let y={...u,...f};if(!!y.overCurrentContext)return ue(this,a).call(this,{type:"addOverlay",transition:y,component:c});let b=((p=c.key)==null?void 0:p.toString())||`stack-${this.state.historyItemId+1}`;ue(this,a).call(this,{type:"add",key:b,transition:y,component:c})},R(t,"defaultProps",{enabled:!0}),R(t,"contextType",xV),t})(),Dk={stiffness:500,damping:50,restDelta:1,type:"spring"};function SV(e){let t,n;return e.current!==-1?t=e.history[e.current]:n=e.history[e.previous],{currentOverlayItem:t,previousOverlayItem:n}}function kV({currentOverlayItem:e}){return e&&e.transition.exit}function CV({currentOverlayItem:e,previousOverlayItem:t}){return e&&e.transition.animation?e.transition.animation:t&&t.transition.animation?t.transition.animation:Dk}function TV({currentOverlayItem:e,previousOverlayItem:t}){return e?e.transition.backfaceVisible:t&&t.transition.backfaceVisible}function EV(e){if(e.backdropColor)return e.backdropColor;if(e.overCurrentContext)return"rgba(4,4,15,.4)"}function RV(e,t){let{current:n,history:r}=t;if(e===n){let i=r[e];return i&&i.transition?i.transition.backfaceVisible:!0}else if(e<n){let i=r[e+1];return i&&i.transition?i.transition.backfaceVisible:!0}else{let i=r[e];return i&&i.transition?i.transition.backfaceVisible:!0}}function PV(e,t){let n=t.history[e];if(n)return n.transition.enter}function _V(e,t){var n,r,i,o;let{current:a,previous:s,history:l}=t;return e===s&&a>s||e===a&&a<s?(r=(n=l[e+1])==null?void 0:n.transition)==null?void 0:r.backfaceVisible:(o=(i=l[e])==null?void 0:i.transition)==null?void 0:o.backfaceVisible}function IV(e,t){let{current:n,history:r}=t;if(e!==n)if(e<n){let i=r[e+1];if(i&&i.transition)return i.transition.exit}else{let i=r[e];if(i&&i.transition)return i.transition.enter}}function Zw(e,t){let{current:n,previous:r,history:i}=t,o=r>n?r:n;if(e<o){let a=i[e+1];if(a&&a.transition.animation)return a.transition.animation}else if(e!==o){let a=i[e];if(a&&a.transition.animation)return a.transition.animation}else{let a=i[e];if(a?.transition.animation)return a.transition.animation}return Dk}
701function Jw(e,t,n){let{current:r,previous:i,history:o}=t;return!!(n&&o.length>1||e!==i&&e!==r||r===i)}function FV(e,t){let{current:n,previous:r}=t;return e>n&&e>r?!1:e===n}function eS(e){return x.Children.map(e.component,n=>{var r;if(!fu(n)||!uu(n)||!n.props)return n;let i={style:n.props.style??{}},o=(r=e?.transition)==null?void 0:r.position,a=!o||o.left!==void 0&&o.right!==void 0,s=!o||o.top!==void 0&&o.bottom!==void 0,l="style"in n.props?_e(n.props.style):!0;return a&&("width"in n.props&&(i.width="100%"),l&&(i.style.width="100%")),s&&("height"in n.props&&(i.height="100%"),l&&(i.style.height="100%")),x.cloneElement(n,i)})}function MV(e,t){if(e.goBackOnTapOutside!==!1)return t}function LV(e){let t=B0(),n=Td();return x.useInsertionEffect(()=>{js()},[]),k(wV,{...e,resetProjection:t,skipLayoutAnimation:n,children:e.children})}var V8=jn(Iu(),1);var H8=jn(Sm(),1);function OV(e,t){let n,r=(...o)=>{nt.clearTimeout(n),n=nt.setTimeout(e,t,...o)},i=()=>{nt.clearTimeout(n)};return r.cancel=i,r}function Qo(...e){return e.filter(Boolean).join(" ")}var DV=(()=>{function e(t={}){let n=qp(t,!1,!1);return e.addData(n),n}return e._stores=[],e.addData=t=>{e._stores.push(t)},e.reset=()=>{e._stores.forEach(t=>qp.resetObject(t))},e.addObserver=(t,n)=>qp.addObserver(t,n),e})(),Qp=DV;var AV={update:0},VV=x.createContext({update:NaN});var BV=class extends Se{constructor(){super(...arguments),R(this,"observers",[]),R(this,"state",AV),R(this,"taskAdded",!1),R(this,"frameTask",()=>{this.setState({update:this.state.update+1}),this.taskAdded=!1}),R(this,"observer",()=>{this.taskAdded||(this.taskAdded=!0,nk.addFrameTask(this.frameTask))})}componentWillUnmount(){this.observers.map(e=>e()),Qp.reset()}render(){let{children:e}=this.props;return this.observers.map(t=>t()),this.observers=[],Qp._stores.forEach(t=>{let n=Qp.addObserver(t,this.observer);this.observers.push(n)}),k(VV.Provider,{value:{...this.state},children:e})}},pH=jn(Iu(),1);var Ak="__framer__",$V=(()=>Ak.length)();function zV(e){if(e.startsWith(Ak))return e.substr($V)}var nr=["opacity","x","y","scale","rotate","rotateX","rotateY","skewX","skewY","transformPerspective"],Tu=e=>({x:je(e?.x??0),y:je(e?.y??0),opacity:je(e?.opacity??1),scale:je(e?.scale??1),rotate:je(e?.rotate??0),rotateX:je(e?.rotateX??0),rotateY:je(e?.rotateY??0),skewX:je(e?.skewX??0),skewY:je(e?.skewY??0),transformPerspective:je(e?.transformPerspective??0)}),qe={x:0,y:0,scale:1,opacity:1,rotate:0,rotateX:0,rotateY:0,skewX:0,skewY:0,transformPerspective:0};function Vk(e){return e in qe}function Bk(e,t){let n=Gt(()=>({values:Tu(t?e:void 0)}));return x.useEffect(()=>{if(!t)for(let r of nr){let i=qe[r];yt(i)||n.values[r].set(i)}},[n,t]),n}var NV=new Set(["loopEffectEnabled","loopTransition","loop","loopRepeatType","loopRepeatDelay"]),HV=()=>{let e=A();return N(()=>()=>{clearTimeout(e.current)},[]),async t=>new Promise(n=>{e.current=setTimeout(()=>{n(!0)},t*1e3)})};function jV({loopEffectEnabled:e,loopRepeatDelay:t,loopTransition:n,loopRepeatType:r,loop:i}){let o=bi(),a=Gt(()=>({values:Tu()})),s=x.useRef(!1),l=HV(),c=async()=>{if(!i)return;let d=n||void 0,p=s.current&&r==="mirror",y=p?qe:i,g=p?i:qe;return s.current=!s.current,Promise.all(nr.map(b=>{if(!(o&&b!=="opacity"))return a.values[b].set(g[b]??qe[b]),new Promise(h=>{let m={...d,onComplete:()=>h()};Xn(a.values[b],y[b]??g[b],m)})}))},u=async()=>{e&&(await c(),await l(t??0),await u())},f=oe(()=>{nr.forEach(d=>{a.values[d].stop()}),nr.forEach(d=>{a.values[d].set(qe[d])}),s.current=!1},[a]);return x.useEffect(()=>(e&&i?u():f(),()=>f()),[e]),a}function WV(e,t,n,r,i){let o=n/100-1,a=i?(t-r)*o:0,s=-e*o;return a+s}var UV=new Set(["speed","adjustPosition","offset","parallaxTransformEnabled"]);function XV(e,t,n){let{speed:r=100,offset:i=0,adjustPosition:o=!1,parallaxTransformEnabled:a}=e,s=x.useRef(null),l=bi(),c=x.useCallback(y=>s.current===null||r===100?0:WV(y,s.current,r,i,o),[s,r,i,o]);x.useLayoutEffect(()=>{K.read(()=>{var y,g;s.current=((g=(y=t.current)==null?void 0:y.getBoundingClientRect())==null?void 0:g.top)??0}),K.update(()=>{f.set(c(u.get())),o&&d.set(n??"initial")})},[t,s,o]);let{scrollY:u}=P0(),f=Ft(u,c),d=Un(o&&s.current===null?"hidden":n),p=Un(0);return{values:{y:l||!a?p:f},style:a?{visibility:d}:void 0}}function YV(e){if(!(fe(e)||!_e(e)))return e?.transition}async function Zp(e,t,n,r,i,o){let a=YV(e);return Promise.all(nr.map(s=>new Promise(l=>{if(n&&s!=="opacity")return l();let c=t.values[s];c.stop();let u=_e(e)?e?.[s]??qe[s]:qe[s];if(Me(u)&&(u=u.get()),!$e(u))return l();let f=hr.get(r.current);f&&f.setBaseTarget(s,u);let d;
701if(fe(i)&&!c?.hasAnimated&&nt.MotionHandoffAnimation){let p=nt.MotionHandoffAnimation(i,s,K);p&&(d=p)}o?c.set(u):Xn(c,u,{...a,velocity:0,startTime:d,onComplete:()=>l()})})))}var GV=new Set(["presenceInitial","presenceAnimate","presenceExit"]);function qV({initial:e,animate:t,exit:n,presenceInitial:r,presenceAnimate:i,presenceExit:o},a,s,l,c){let u=r??e,f=i??t,d=o??n,[p,y]=fd(),g=A({lastPresence:!1,lastAnimate:f,hasMounted:!1,running:!1}),b=Gt(()=>{let m=u??l;if(!_e(m))return{values:Tu()};let v={};for(let w in m){let C=_e(m)?m[w]:void 0;$e(C)&&(v[w]=C)}return{values:Tu(v)}});ot(()=>{let{hasMounted:m}=g.current;if(m&&f)return;let v=hr.get(a.current);if(v){Object.assign(g.current,{hasMounted:!0});for(let w in b.values){if(!Vk(w))continue;let C=l?.[w];v.setBaseTarget(w,$e(C)?C:qe[w])}}},[f]);let h=bi();return ot(()=>{if(!s){y?.();return}if(p!==g.current.lastPresence)Object.assign(g.current,{lastPresence:p}),p?u&&f&&(Object.assign(g.current,{running:!0}),Zp(f,b,h,a,c).then(()=>Object.assign(g.current,{running:!1}))):d?(Object.assign(g.current,{running:!0}),Zp(d,b,h,a,c).then(()=>Object.assign(g.current,{running:!1})).then(()=>y())):y();else{let{lastAnimate:m,running:v}=g.current;if(!!Ue(f,m)||!f)return;Object.assign(g.current,{lastAnimate:f}),Zp(f,b,h,a,c,!v).then(()=>Object.assign(g.current,{running:!1}))}}),b}function KV(e,t){let n=0,r=e;for(;r&&r!==t&&r instanceof HTMLElement;)n+=r.offsetTop,r=r.offsetParent;return n}var QV=1;function $k(e,t=0,n){var r;let i=[],o=[];for(let a=e.length;a>=0;a--){let{ref:s,offset:l}=e[a]??{};if(!s||!s.current)continue;let u=KV(s.current,document.documentElement)-QV-(l??0)-t,f=((r=s.current)==null?void 0:r.clientHeight)??0,d=i[i.length-1],p=Math.max(u+f,0);i.push(u),o.unshift(Math.max(u,0),d===void 0?p:Math.min(p,Math.max(d-1,0))),n?.(a)}return o}function ZV(e,t=0){return e<t?"up":"down"}var JV=4;function e3(e,t,n={}){let{direction:r,target:i}=e??{},{repeat:o=!0,enabled:a=!0}=n;x.useEffect(()=>{if(!r||!a)return;let s,l=0,c,u;return fo(({y:f})=>{if(!o&&u===i||f.current>f.scrollLength||f.current<0)return;let d=ZV(f.current,s);s=f.current;let p=d!==c;if(c=d,p)l=f.current;else{if(Math.abs(f.current-l)<JV)return;let g=d===r?i:void 0;g!==u&&t(g),u=g}})},[r,o,i,a,t])}var t3=new Set(["threshold","animateOnce","opacity","targetOpacity","x","y","scale","transition","rotate","rotateX","rotateY","perspective","enter","exit","animate","styleAppearEffectEnabled","targets","scrollDirection"]),n3=["animate","animate"],tS={inputRange:[],outputRange:[]};function r3(e,t,n){let r=$k(e,t),i=[...n3],o=r[0];if(!$e(o))return tS;if(o>1&&(r.unshift(0,o-1),i.unshift("initial","initial")),n){let a=r.length-1,s=r[a];if(!$e(s))return tS;r.push(s+1),i.push("exit")}return{inputRange:r,outputRange:i}}function Jp(e){return{x:e?.x??qe.x,y:e?.y??qe.y,scale:e?.scale??qe.scale,opacity:e?.opacity??qe.opacity,transformPerspective:e?.transformPerspective??qe.transformPerspective,rotate:e?.rotate??qe.rotate,rotateX:e?.rotateX??qe.rotateX,rotateY:e?.rotateY??qe.rotateY,skewX:e?.skewX??qe.skewX,skewY:e?.skewY??qe.skewY,transition:e?.transition??void 0}}function i3({opacity:e,targetOpacity:t,perspective:n,enter:r,exit:i,animate:o,...a}){return x.useMemo(()=>({initial:r??Jp({...a,opacity:e??t??1,transformPerspective:n}),animate:o??Jp({opacity:t}),exit:i??Jp()}),[o,a,r,i,e,t,n])}function o3(e,t){let n=bi(),r=i3(e),i=e.styleAppearEffectEnabled,o=Bk(i?r.initial:r.animate,i),a=x.useRef({isPlaying:!1,scheduledAppearState:void 0,lastAppearState:!e.styleAppearEffectEnabled}),s=x.useRef(),l=x.useCallback(async({transition:d,...p},y)=>{let g=d??r.animate.transition??e.transition;await s.current,s.current=Promise.all(nr.map(b=>{y&&o.values[b].set(r.initial[b]??qe[b]);let h=p[b]??qe[b],m=hr.get(t.current);return m&&typeof h!="object"&&m.setBaseTarget(b,h),new Promise(v=>{if(n&&b!=="opacity")$e(h)&&o.values[b].set(h),v();else{let w={restDelta:b==="scale"?.001:void 0,...g,onComplete:()=>v()};Xn(o.values[b],h,w)}})}))},[]),c=e.animateOnce&&a.current.lastAppearState===!0,u=!e.targets&&e.styleAppearEffectEnabled&&!e.scrollDirection&&!c;BA(t,d=>{let{isPlaying:p,lastAppearState:y}=a.current;if(p){a.current.scheduledAppearState=d;return}a.current.scheduledAppearState=void 0,a.current.lastAppearState=d,y!==d&&l(d?r.animate:r.exit,d)}
701,{enabled:u,animateOnce:!!e.animateOnce,threshold:{y:e.threshold}});let f=e.targets&&i&&!e.scrollDirection;return x.useEffect(()=>{if(!f)return;let d={initial:!0},p="initial";return fo(({y})=>{let{targets:g}=e;if(!g||!g[0]||g[0].ref&&!g[0].ref.current)return;let{inputRange:b,outputRange:h}=r3(g,(e.threshold??0)*y.containerLength,!!e.exit);if(b.length===0||b.length!==h.length)return;let m=Ea(y.current,b,h);if(e.animateOnce&&d[m]||(d[m]=!0,p===m))return;p=m;let v=Ze(r)[m];v&&l(v)})},[f]),e3(e.scrollDirection,d=>l(d??r.animate),{enabled:i,repeat:!e.animateOnce}),o}var a3=new Set(["transformViewportThreshold","styleTransformEffectEnabled","transformTargets","spring","transformTrigger"]),s3=(e,t)=>{var n;let r=(n=e?.[0])==null?void 0:n.target;return t?{opacity:r?.opacity??1}:r},zk=()=>({opacity:[],x:[],y:[],scale:[],rotate:[],rotateX:[],rotateY:[],skewX:[],skewY:[],transformPerspective:[]});function l3(e,t){let n=x.useRef({});x.useEffect(()=>{if(t!==void 0)for(let r of Wi(e)){let i=e[r];i.attach((o,a)=>{let s=n.current[r];if(s&&s.stop(),n.current[r]=td({keyframes:[i.get(),o],velocity:i.getVelocity(),...t,restDelta:.001,onUpdate:a}),!He.isProcessing){let l=performance.now()-He.timestamp;l<40&&(n.current[r].time=l/1e3)}return i.get()})}},[JSON.stringify(t)])}function c3(e,t){let n=zk();return{inputRange:$k(e,t,i=>{var o,a,s;let l=(o=e[i-1])==null?void 0:o.target,c=(a=e[i])==null?void 0:a.target;for(let u of nr)(s=n[u])==null||s.unshift(l?.[u]??0,c?.[u]??0)}),effectKeyOutputRange:n}}function u3(e){var t;let n=zk();for(let{target:r}of e)for(let i of nr)(t=n[i])==null||t.push(r[i]);return n}var nS=[0,1];function f3({transformTrigger:e,styleTransformEffectEnabled:t,transformTargets:n,spring:r,transformViewportThreshold:i=0},o){let a=bi(),s=Bk(s3(n,a),t);return x.useLayoutEffect(()=>{if(!(!t||!n))if(e!=="onScrollTarget"){let l=u3(n);return fo(({y:c})=>{for(let u of nr)a&&u!=="opacity"||nS.length===l[u].length&&l[u][0]!==void 0&&s.values[u].set(Ea(c.progress,nS,l[u]))},e==="onInView"?{target:o.current??void 0,offset:["start end","end end"]}:void 0)}else return fo(({y:l})=>{if(!n[0]||n[0].ref&&!n[0].ref.current)return;let{inputRange:c,effectKeyOutputRange:u}=c3(n,i*l.containerLength);if(c.length!==0)for(let f of nr)a&&f!=="opacity"||c.length===u[f].length&&u[f][0]!==void 0&&s.values[f].set(Ea(l.current,c,u[f]))})},[a,e,o,i,t,s,n]),l3(s.values,r),s}var Nk={parallax:UV,styleAppear:t3,styleTransform:a3,loop:NV,presence:GV},d3=Wi(Nk);function rS(e,t,n){return!(e in n)&&t in n||n[e]===!0}function h3(e){let t={parallax:{},styleAppear:{},styleTransform:{},presence:{animate:e.animate,initial:e.initial,exit:e.exit},loop:{},forwardedProps:{}};for(let n in e){let r=zV(n);if(r)for(let i of d3){let o=Nk[i];if(o?.has(r)){t[i][r]=Ze(e)[n];break}}else t.forwardedProps[n]=Ze(e)[n]}return t.parallax.parallaxTransformEnabled=rS("parallaxTransformEnabled","speed",t.parallax),t.styleAppear.styleAp
701pearEffectEnabled=rS("styleAppearEffectEnabled","animateOnce",t.styleAppear),t}var ai=e=>e.reduce((t,n)=>t+=n,0),iS=e=>e.reduce((t,n)=>t=t*n,1),p3="current";function m3(e){return _e(e)&&p3 in e}function v3(e,t){if(!e||!_e(e))return t;for(let n in e){let r=e[n];!Me(r)||!Vk(n)||$e(r.get())&&t[n].push(r)}}function bs(e){return fe(e)||Array.isArray(e)}var EH=e=>x.forwardRef((t,n)=>{if(t.__withFX)return k(e,{...t,animate:void 0,initial:void 0,exit:void 0,ref:n});if(le.current()===le.canvas){let de=bs(t.animate)?t.animate:void 0,ie=bs(t.initial)?t.initial:void 0;return k(e,{...t,animate:de,initial:ie,exit:void 0,ref:n})}let r=x.useRef(null),i=n??r,{parallax:o={},styleAppear:a={},styleTransform:s={},presence:l={},loop:c={},forwardedProps:u}=h3(t),{__targetOpacity:f,__perspectiveFX:d,__smartComponentFX:p=!1}=t,y=Un(f??1),{values:g}=qV(l,i,p,t.style,t[yl]),{values:b,style:h}=XV(o,i),{values:m}=f3(s,i),{values:v}=o3(a,i),{values:w}=jV(c),C=x.useMemo(()=>({scale:[v.scale,w.scale,g.scale,m.scale],opacity:[v.opacity,w.opacity,g.opacity,y,m.opacity],x:[v.x,w.x,g.x,m.x],y:[v.y,w.y,b.y,g.y,m.y],rotate:[v.rotate,w.rotate,g.rotate,m.rotate],rotateX:[v.rotateX,w.rotateX,g.rotateX,m.rotateX],rotateY:[v.rotateY,w.rotateY,g.rotateY,m.rotateY],skewX:[v.skewX,w.skewX,g.skewX,m.skewX],skewY:[v.skewY,w.skewY,g.skewY,m.skewY],transformPerspective:[m.transformPerspective,v.transformPerspective]}),[y,m,b,v,w,g]);v3(t.style,C);let S=Ft(C.scale,iS),E=Ft(C.opacity,iS),T=Ft(C.x,ai),M=Ft(C.y,ai),I=Ft(C.rotate,ai),B=Ft(C.rotateX,ai),D=Ft(C.rotateY,ai),X=Ft(C.skewX,ai),H=Ft(C.skewY,ai),z=Ft(C.transformPerspective,ai),{drag:j,dragConstraints:ee}=u;GD(j&&m3(ee)?ee:void 0);let te={opacity:E,scale:S,x:T,y:M,rotate:I,rotateX:B,rotateY:D,skewX:X,skewY:H};yt(d)&&(te.transformPerspective=z);let G=bs(t.animate)?t.animate:void 0,ne=bs(t.initial)?t.initial:void 0,ge=bs(t.exit)?t.exit:void 0,re=p&&!l.presenceInitial?{initial:ne,animate:G,exit:ge}:{};return k(e,{...u,...re,__withFX:!0,style:{...t.style,...h,...te},values:g,ref:i})});function hm(e,t){ji(e)?e(t):Hk(e)&&(e.current=t)}function Hk(e){return _e(e)&&"current"in e}function oS(e,t){return{get current(){return e.current},set current(n){e.current=n,t(n)}}}function g3(...e){return t=>e.forEach(n=>hm(n,t))}function Bu(e){let t=Gt(()=>y3(e));return t.useSetup(e),t.cloneAsElement}function y3(e){let t={forwardedRef:e,childRef:null,ref:null};t.ref=aS(t);let n=(a,s)=>{if(!t.forwardedRef&&t.forwardedRef===a){t.ref=s;return}let l=!1;t.childRef!==s&&(t.childRef=s,l=!0),t.forwardedRef!==a&&(t.forwardedRef=a,l=!0),l&&(t.ref=aS(t))},r=!1;function i(a,s){if(r)throw new ReferenceError("useCloneChildrenWithPropsAndRef: You should not call cloneChildrenWithPropsAndRef more than once during the render cycle.");return r=!0,Bn.count(a)>1&&e&&(t.forwardedRef=void 0,t.ref=t.childRef),Bn.map(a,l=>{if(At(l)){let c="ref"in l?l.ref:void 0;n(t.forwardedRef,c);let u=t.ref!==c?{...s,ref:t.ref}:s;return ar(l,u)}return l})}let o=function(s,l){return k(Fe,{children:i(s,l)})};return o.cloneAsArray=i,{useSetup:a=>{r=!1,n(a,t.childRef)},cloneAsElement:o}}function aS(e){if(!e.forwardedRef)return e.childRef;let{forwardedRef:t,childRef:n}=e;return r=>{hm(n,r),hm(t,r)}}var jk=x.createContext({});function MH(){return x.useContext(jk)}var LH=x.forwardRef(({width:e,height:t,y:n,children:r,...i},o)=>{let a=x.useMemo(()=>({width:e,height:t,y:n}),[e,t,n]),s=Bu(o);return k(jk.Provider,{value:a,children:s(r,i)})}),b3=e=>x.forwardRef((t,n)=>{let r=Us(t);return k(e,{layoutId:r,...t,layoutIdKey:void 0,duplicatedFrom:void 0,ref:n})}),x3=class extends Se{constructor(){super(...arguments),R(this,"state",{hasError:!1})}componentDidCatch(e,t){var n;let r=t?.componentStack;if(console.error("Error in component (see previous log). This component has been hidden. Please check any custom code or code overrides to fix.",r),this.setState({hasError:!0}),typeof F<"u"&&Math.random()<=.01){let i=e instanceof Error&&typeof e.stack=="string"?e.stack:null;(n=F.__framer_events)==null||n.push(["published_site_load_recoverable_error",{message:String(e),stack:i,componentStack:i?void 0:r}])}}render(){let{children:e}=this.props,{hasError:t}=this.state;return t?null:e}},w3=x.forwardRef(({children:e,layoutId:t,as:n,...r},i)=>{let o=Gt(()=>t?`${t}-container`:void 0),a=Ws(n);return k(a,{layoutId:o,...r,ref:i,children:k(ea.Provider,{value:!0,children:k(WL,{enabled:!1,children:k(C0,{id:t??"",inherit:"id",children:k(x3,{children:x.Children.map(e,s=>x.isValidElement(s)?x.cloneElement(s,{layoutId:t}):s)})})})})})}),$H=b3(w3),S3=x.createContext(void 0),k3=(()=>{var e;if(!rr())return new Set;let t=(e=document.querySelector("style[data-framer-css-ssr-minified]"))==null?void 0:e.getAttribute("data-framer-components");return t?new Set(t.split(" ")):new Set})(),Wk="data-framer-css-ssr",Uk=(e,t,n)=>x.forwardRef((r,i)=>{let{sheet:o,cache:a}=x.useContext(S3)??{};if(!rr()){let s=Array.isArray(t)?t.join(`
702`):t;return se(Fe,{children:[k("style",{[Wk]:!0,"data-framer-component":n,dangerouslySetInnerHTML:{__html:s}}),k(e,{...r,ref:i})]})}return x.useInsertionEffect(()=>{if(n&&k3.has(n))return;(Array.isArray(t)?t:t.split(`
703`)).forEach(l=>l&&ck(l,o,a))},[]),k(e,{...r,ref:i})}),Bm=x.createContext({onRegisterCursors:()=>()=>{},registerCursors:()=>{}}),Eu="framer-cursor-none",pm="framer-pointer-events-none",C3=x.memo(function({children:t}){let n=Gt(()=>{let i=new Set,o={};return{onRegisterCursors:a=>(a(o),i.add(a),()=>i.delete(a)),registerCursors:a=>{let s={};for(let l in a){let c=o[l]??a[l];c&&(s[l]=c)}o=s;for(let l of i)l(o)}}}),r=bi();return se(Bm.Provider,{value:n,children:[t,!r&&k(I3,{})]})}),T3=(()=>Uk(C3,[`.${Eu}, .${Eu} * { cursor: none !important; }`,`.${pm}, .${pm} * { pointer-events: none !important; }`]))(),E3=(()=>({position:"fixed",top:0,left:0,zIndex:12+1,pointerEvents:"none"}))();function R3(e){return!(!e||e.placement||e.alignment)}function au(e){switch(e){case"start":return"0%";case"center":return"-50%";case"end":return"-100%";default:Oe(e)}}function P3(e,t="center"){switch(e){case"top":return`${au(t)}, -100%`;case"right":return`0%, ${au(t)}`;case"bottom":return`${au(t)}, 0%`;case"left":return`-100%, ${au(t)}`;default:return"-50%, -50%"}}var sS="data-framer-portal-id";function lS(e,t){let n=document.elementFromPoint(e,t);for(;n;){if(n===document.body)return;let r=n.getAttribute("data-framer-cursor");if(r)return r;if(n.hasAttribute(sS)){let i=n.getAttribute(sS);n=n.parentElement,i&&(n=document.getElementById(i)??n)}else n=n.parentElement}}function _3(e){for(let t in e)return!1;return!0}var I3=x.memo(function(){let{onRegisterCursors:t}=V(Bm),n=Un(0),r=Un(0),i=Un(0),o=x.useRef(null),a=x.useRef({cursors:{},cursorHash:void 0}),s=Du(),l=!_3(a.current.cursors);x.useEffect(()=>{let S=0,E=0;function T(){n.set(S),r.set(E),Xn(i,1,{type:"tween",duration:.2})}function M(D){D.pointerType!=="touch"&&(S=D.clientX,E=D.clientY,K.update(T))}let I=()=>{if(!l)return;let D=lS(S,E);D!==a.current.cursorHash&&(a.current.cursorHash=D,K.update(()=>s()))};K.read(I,!0);function B(D){if(D.target===o.current||!o.current)return;let X=new PointerEvent(D.type,{bubbles:!0,cancelable:D.cancelable,pointerType:D.pointerType,pointerId:D.pointerId,composed:D.composed,isPrimary:D.isPrimary,buttons:D.buttons,button:D.button});K.update(()=>{var H;(H=o.current)==null||H.dispatchEvent(X)})}return nt.addEventListener("pointermove",M),document.addEventListener("pointerdown",B),document.addEventListener("pointerup",B),()=>{nt.removeEventListener("pointermove",M),document.removeEventListener("pointerdown",B),document.removeEventListener("pointerup",B),Vt(I)}},[i,n,r,l,s]),x.useEffect(()=>{function S(){Xn(i,0,{type:"tween",duration:.2})}return document.addEventListener("mouseleave",S),nt.addEventListener("blur",S),()=>{document.removeEventListener("mouseleave",S),nt.removeEventListener("blur",S)}},[i]),x.useLayoutEffect(()=>{function S(T){a.current.cursors=T,a.current.cursorHash=lS(n.get(),r.get()),s()}let E=t(S);return()=>{E(),document.body.classList.toggle(Eu,!1)}},[n,r,t,s]);let{cursors:c,cursorHash:u}=a.current,f=u?c[u]:null,d=R3(f);x.useLayoutEffect(()=>{document.body.classList.toggle(Eu,d)},[d]);let p=f?.component,y=f?.transition??{duration:0},g=kd(n,y),b=kd(r,y),h=Ft(()=>{var S;return g.get()+(((S=f?.offset)==null?void 0:S.x)??0)}),m=Ft(()=>{var S;return b.get()+(((S=f?.offset)==null?void 0:S.y)??0)}),v=f?.alignment,w=f?.placement,C=x.useCallback((S,E)=>`translate(${P3(w,v)}) ${E}`,[v,w]);return!f||!p?null:k(p,{transformTemplate:C,style:{...E3,x:h,y:m,opacity:i},globalTapTarget:!0,variant:f?.variant,ref:o,className:pm})});function UH(e){let{registerCursors:t}=V(Bm),n=Gt(()=>e);x.useLayoutEffect(()=>{t(n)},[n,t])}var Xk=x.createContext(void 0),$m=class{constructor(e){this.resolver=e,R(this,"status")}static is(e){return e instanceof $m}preload(){if(this.status){let t=this.status;return t.type!=="pending"?void 0:t.promise}let e=this.resolver().then(t=>{this.status={type:"fulfilled",value:t}},t=>{this.status={type:"rejected",error:t}});return this.status={type:"pending",promise:e},e}waitFor(){return this.resolver()}read(){let e=this.status;if(!e)throw new Error("Need to call preload() before read()");switch(e.type){case"pending":throw new Error("Need to wait for preload() to resolve");case"fulfilled":return e.value;case"rejected":throw e.error;default:Oe(e)}}},Yk=x.createContext(void 0),QH=(()=>Yk.Provider)(),Gk=()=>x.useContext(Yk)??{};function zm(e,t){return e instanceof HTMLAnchorElement?e:e instanceof Element?e===t?null:zm(e.parentElement,t):null}function F3({children:e}){let{useGranularSuspense:t}=Gk();return t?k(qS,{children:e}):e}function qk(e){return Ie(function(n,r){return k(F3,{children:k(e,{...n,ref:r})})})}var cS="element",M3="collection",L3="collectionItemId",O3="pathVariables",Kk="framer/page-link,";function Qk(e){return fe(e)&&e.startsWith(`data:${Kk}`)}function Nm(e){if(Qk(e))try{let t=new URL(e),n=t.pathname.substring(Kk.length),r=t.searchParams,i=r.has(cS)?r.get(cS):void 0,o,a=r.get(M3),s=r.get(L3),l=r.get(O3);if(a&&s&&l){let c=Object.fromEntries(new URLSearchParams(l).entries());o={collection:a,collectionItemId:s,pathVariables:c}}return{target:n==="none"?null:n,element:i==="none"?void 0:i,collectionItem:o}}catch{return}}function D3(e,t,n){var r;let i=t.getAttribute("data-framer-page-link-target"),o,a;if(i){o=t.getAttribute("data-framer-page-link-element")??void 0;let l=t.getAttribute("data-framer-page-link-path-variables");l&&(a=Object.fromEntries(new URLSearchParams(l).entries()))}else{let l=t.getAttribute("href");if(!l)return!1;let c=Nm(l);if(!c||!c.target)return!1;i=c.target,o=c.element??void 0,a=(r=c.collectionItem)==null?void 0:r.pathVariables}let s=o?t.dataset.framerSmoothScroll!==void 0:void 0;return e(i,o,Object.assign({},n,a),s),!0}var A3=500,V3=.9,B3=1.7,$3=4,z3=1/0,Ho=new WeakMap,su=new Set,jo=new Map;function N3(){var e;let t=ze.connection||ze.mozConnection||ze.webkitConnection||{},n=ze.deviceMemory&&ze.deviceMemory>B3,r,i,o;function a(){r=t.effectiveType||"",i=t.saveData||r.includes("2g"),o=r==="3g"||n?$3:z3}(e=t.addEventListener)==null||e.call(t,"change",a),a();let s=new IntersectionObserver(u,{threshold:V3}),l=0;
703async function c(f,d){if(i)return;let p=jo.get(f);if(!p?.size||su.has(f))return;++l,su.add(f);let y=ZS(f).catch(()=>{});s.unobserve(d),Ho.delete(d);for(let g of p)s.unobserve(g),Ho.delete(g);p.clear(),jo.delete(f),await y,--l}function u(f){var d;for(let p of f){let y=p.target,g=Ho.get(y);if(!g||su.has(g)){s.unobserve(y),Ho.delete(y);continue}let b=jo.get(g),h=((d=jo.get(g))==null?void 0:d.size)??0;if(p.isIntersecting){if(l>=o)continue;b?b.add(y):jo.set(g,new Set([y])),setTimeout(c.bind(void 0,g,y),A3)}else b&&b.delete(y),h<=1&&jo.delete(g)}}return(f,d)=>{if(!su.has(f))return Ho.set(d,f),s.observe(d),()=>{Ho.delete(d),s.unobserve(d)}}}var H3=!Rm||typeof IntersectionObserver>"u"?null:N3(),em={},lu=new WeakMap;function Hm(e,t,n){var r,i;let o=(i=(r=lu?.get(n??em))==null?void 0:r.get(e.collectionId))==null?void 0:i.get(e.collectionItemId);if(o)return o;let a=lu.get(n??em)??new Map;lu.set(n??em,a);let s=a.get(e.collectionId)??new Map;a.set(e.collectionId,s);let l=new $m(async()=>{try{let c=t[e.collectionId];if(!c)throw new Error(`Key not found in collection utils for collection id: "${e.collectionId}`);let u=await c();if(!u)throw new Error("Collection does not contain utility functions");return await u.getSlugByRecordId(e.collectionItemId,n??void 0)}catch(c){console.warn(`Failed to resolve slug: ${c instanceof Error?c.message:"Unknown error"}`);return}});return s.set(e.collectionItemId,l),l}var j3="webPageId";function Ms(e){return!!(e&&typeof e=="object"&&j3 in e)}function W3(e){if(!e)return;let t={};for(let n in e.pathVariables){let r=e.pathVariables[n];r&&(t[n]=r)}return t}function Ru(e){if(!Qk(e))return e;let t=Nm(e);if(!t)return;let{target:n,element:r,collectionItem:i}=t;if(n)return{webPageId:n,hash:r??void 0,pathVariables:W3(i)}}var Zk=/:([a-z]\w*)/gi,U3=xe(void 0);function jm(){var e;let t=V(U3),n=(e=zs())==null?void 0:e.pathVariables;return t||n}function Jk(e,{webPageId:t,hash:n,pathVariables:r},i){if(t!==e.id||n)return!1;if(e.path&&e.pathVariables){let o=Object.assign({},i,r);for(let[,a]of e.path.matchAll(Zk))if(!a||e.pathVariables[a]!==o[a])return!1}return!0}function Wm(e){return e===void 0?!1:!!(e.startsWith("#")||e.startsWith("/")||e.startsWith("."))}function eC(e,t){try{return!!new URL(e).protocol}catch{}return t}function Um(e,t){return e!==void 0?e?"_blank":void 0:t?void 0:"_blank"}function pu(e,t=void 0){let n=Wm(e),r=Um(t,n);return{href:eC(e,n)?e:`https://${e}`,target:r,rel:n?void 0:"noopener"}}function tC(e,t,n,r,i){return async o=>{var a,s;if(o.metaKey)return;let l=zm(o.target);if(!l||l.getAttribute("target")==="_blank")return;o.preventDefault();let c=(a=e.getRoute)==null?void 0:a.call(e,t);c&&BS(c?.page)&&c.page.preload(),(s=e.navigate)==null||s.call(e,t,n,r,i)}}async function X3(e,t,n,r){async function i(s){if(!s||!n)return{};let l={};for(let c in s){let u=s[c];ce(u,"unresolvedSlug should be defined");let f=Hm(u,n,r);await f.preload();let d=f.read();d&&(l[c]=d)}return l}let[o,a]=await Promise.allSettled([i(e),i(t)]);return{path:o.status==="fulfilled"?o.value:void 0,hash:a.status==="fulfilled"?a.value:void 0}}function Y3(e,t,n,r){let i=[];function o(s){if(!s||!n)return;let l={};for(let c in s){let u=s[c];ce(u,"unresolvedSlug should be defined");let f=Hm(u,n,r),d=f.preload();if(d)i.push(d);else{let p=f.read();p&&(l[c]=p)}}return l}let a={path:o(e),hash:o(t)};if(i.length)throw Promise.allSettled(i);return a}function nC(e,t,n,r,i,o,a,s){var l;let c={...i,...o,...s?.path},u={...i,...a,...s?.hash},f=(l=e.getRoute)==null?void 0:l.call(e,n),d=Mu(f,{currentRoutePath:t?.path,currentPathVariables:t?.pathVariables,hash:r,pathVariables:c,hashVariables:u,preserveQueryParams:e.preserveQueryParams}),p=d.split("#",2)[1];return{routeId:n,route:f,href:d,elementId:p,pathVariables:c}}function rC(e,t,n){if(!(!e.routes||!e.getRoute||!Wm(t)))try{let[i,o]=t.split("#",2);ce(i!==void 0,"A href must have a defined pathname.");let[a]=i.split("?",2);ce(a!==void 0,"A href must have a defined pathname.");let{routeId:s,pathVariables:l}=QS(e.routes,a),c=e.getRoute(s);if(c){let u=Object.assign({},n,l);return{routeId:s,route:c,href:t,elementId:o,pathVariables:u}}}catch{}}async function G3(e,t,n,r,i){let{webPageId:o,hash:a,pathVariables:s,hashVariables:l,unresolvedHashSlugs:c,unresolvedPathSlugs:u}=n,f=await X3(u,c,e.collectionUtils,r);return nC(e,t,o,a,i,s,l,f)}function q3(e,t,n,r,i){let{webPageId:o,hash:a,pathVariables:s,hashVariables:l,unresolvedHashSlugs:c,unresolvedPathSlugs:u}=n,f=Y3(u,c,e.collectionUtils,r);return nC(e,t,o,a,i,s,l,f)}function K3(e,t,n,r,i,o){if(!r)return pu(e,t);let a=rC(n,e,i);if(!a)return pu(e,t);let{routeId:s,route:l,elementId:c,pathVariables:u}=a;if(!l)return pu(e,t);let f=Mu(l,{currentRoutePath:r.path,currentPathVariables:r.pathVariables,hash:c,pathVariables:u,preserveQueryParams:n.preserveQueryParams}),d=Um(t,!0);return{href:f,target:d,onClick:tC(n,s,c,u,o)}}function Q3(e,t,n){var r;if(fe(e)){let o=Wm(e);if(!t.routes||!t.getRoute||!n||!o)return;let[a]=e.split("#",2);if(a===void 0)return;let[s]=a.split("?",2);if(s===void 0)return;let{routeId:l}=QS(t.routes,s);return t.getRoute(l)}let{webPageId:i}=e;return(r=t.getRoute)==null?void 0:r.call(t,i)}var tj=qk(Ie(({children:e,href:t,openInNewTab:n,smoothScroll:r,...i},o)=>{let a=Ui(),s=zs(),l=jm(),{activeLocale:c}=Em(),u=A(null),f=ae(()=>{let y,g=h=>{var m;if(h===null){y?.(),y=void 0;return}let v=Ms(t)?t:Ru(t);if(!v)return;let w=Q3(v,a,s);w&&(y=(m=H3)==null?void 0:m(w,h))},b=At(e)&&"ref"in e;return b&&Hk(e.ref)?oS(e.ref,g):b&&ji(e.ref)?g3(e.ref,g):oS(u,g)},[t,a,s,e]),d=Bu(o),p=ae(()=>{if(!t)return{};let y=Ms(t)?t:Ru(t);if(!y)return{};if(fe(y))return K3(y,n,a,s,l,r);let{routeId:g,href:b,elementId:h,pathVariables:m}=q3(a,s,y,c,l),v=Um(n,!0);return{href:b,target:v,onClick:tC(a,g,h,m,r),"data-framer-page-link-current":s&&Jk(s,y,l)||void 0}},[t,a,c,l,n,s,r]);return d(e,{...i,...p,ref:f})}));function Z3(e,t,n,r){let i=Ms(e)?e:Ru(e);if(!Ms(i))return fe(e)?pu(e).href:void 0;if(!t.getRoute||!t.currentRouteId)return;let o=t.getRoute(t.currentRouteId),{webPageId:a,hash:s,pathVariables:l,hashVariables:c,unresolvedHashSlugs:u,unresolvedPathSlugs:f}=i,d=t.getRoute(a),p=f||u?r?.(f,u):void 0,y=Object.assign({},t.currentPathVariables,n,l,p?.path),g=Object.assign({},t.currentPathVariables,n,c,p?.hash);return Mu(d,{currentRoutePath:o?.path,currentPathVariables:t.currentPathVariables,hash:s,pathVariables:y,hashVariables:g,relative:!1,preserveQueryParams:t.preserveQueryParams})}var J3="framer",e5=3,t5=30,n5=3e3;async function r5(){let e="0".repeat(e5),t=Date.now(),n=!0;for(;n;){let r=Date.now();if(r-t>n5){n=!1;return}let i=o5(t5),o=`${r}:${i}`,a=await i5(J3+o);if(a.startsWith(e))return{secret:o,hash:a}}}async function i5(e){let t=new TextEncoder().encode(e),n=await crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(n)).map(r=>r.toString(16).padStart(2,"0")).join("")}function o5(e){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="",r=t.length;for(let i=0;i<e;i++)n+=t.charAt(Math.floor(Math.random()*r));return n}function a5(e){return Array.from(e.keys()).map(encodeURIComponent).join(",")}function s5(e,t){try{let n=t.cookie.match("(^|;) ?framerFormsUTMTags=([^;]*)(;|$)");
703if(n!==null&&n[2]){let r=JSON.parse(decodeURIComponent(n[2]));if(!r||typeof r!="object")return;["utm_source","utm_medium","utm_campaign","utm_term","utm_content","gclid"].forEach(i=>{typeof r[i]=="string"&&e.append(i,r[i])})}}catch{}}function l5({state:e},{type:t}){switch(t){case"complete":case"incomplete":return e==="error"?{state:"error"}:{state:t};case"submit":return{state:"pending"};case"success":return{state:"success"};case"error":return{state:"error"};default:Oe(t)}}function c5(e){return e.state==="incomplete"||e.state==="complete"}function u5(e){e.preventDefault()}function f5(e,t){let n=eC(e,!1)?e:`https://${e}`,r=document.createElement("a");r.href=n,r.target="_self",r.style.display="none","current"in t&&t.current&&(t.current.appendChild(r),r.click(),r.remove())}var iC=x.createContext(void 0),oj=x.forwardRef(({action:e,children:t,redirectUrl:n,onSuccess:r,onError:i,onLoading:o,...a},s)=>{let l=x.useRef(null),c=s??l,u=Ui(),f=zs(),d=jm(),[p,y]=x.useReducer(l5,{state:"incomplete"}),{activeLocale:g}=Em(),b=V(iC),h=x.useRef({onSuccess:r,onError:i,onLoading:o});h.current={onSuccess:r,onError:i,onLoading:o};async function m(S){var E,T;if(fe(S)){let X=rC(u,S,d);if(!X){f5(S,c);return}let{routeId:H,elementId:z,pathVariables:j}=X;(E=u.navigate)==null||E.call(u,H,z,j);return}ce(Ms(S),"Expected link to be either a LinkToWebPage or a string",S);let M=await G3(u,f,S,g,d),{routeId:I,elementId:B,pathVariables:D}=M;(T=u.navigate)==null||T.call(u,I,B,D)}let v=async S=>{var E,T,M,I,B,D;if(S.preventDefault(),!e||!b)return;let X=new FormData(S.currentTarget);s5(X,nt.document);for(let[H,z]of X)z instanceof File&&X.delete(H);try{y({type:"submit"}),(T=(E=h.current).onLoading)==null||T.call(E),await d5(e,X,b),y({type:"success"}),(I=(M=h.current).onSuccess)==null||I.call(M),n&&await m(n)}catch(H){y({type:"error"}),(D=(B=h.current).onError)==null||D.call(B),console.error(H)}},w=S=>{let{target:E,currentTarget:T,key:M}=S;E instanceof HTMLTextAreaElement||M==="Enter"&&T.checkValidity()&&(S.preventDefault(),v(S))},C=S=>{y({type:oC(S.currentTarget)?"incomplete":"complete"})};return k(pt.form,{...a,onSubmit:c5(p)?v:u5,onKeyDown:w,onChange:C,ref:c,children:t(p)})});function oC(e){if(e.children.length===0)return!1;for(let t of e.children)if(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement){if(t.required&&t.value==="")return!0}else if(oC(t))return!0;return!1}async function d5(e,t,n){let r=await r5();if(!r)throw new Error("Failed to calculate proof of work");let i=await fetch(e,{body:t,method:"POST",headers:{"Framer-Site-Id":n,"Framer-POW":r.secret,"Framer-Form-Fields":a5(t)}});if(i.ok)return i;{let o=await i.json(),a="Failed to submit form";throw h5(o)?new Error(`${a} - ${o.error.message}`):new Error(a)}}function h5(e){return typeof e=="object"&&e!==null&&"error"in e&&_e(e.error)&&"message"in e.error&&typeof e.error.message=="string"}function p5(e){return new Promise((t,n)=>{try{new URL(e);let r=new Image;r.onload=()=>t(),r.onerror=n,r.src=e}catch(r){n(r)}})}function m5(e){return typeof e=="object"&&e!==null}function v5(e,t){if(t==="")return e;let n=t.split(/[.[\]]+/u).filter(i=>i.length>0),r=e;for(let i of n){if(!m5(r))return;r=r[i]}return r}function xs(e){return`${e.credentials}:${e.url}`}var g5={status:"loading",data:void 0};function y5(e){return fe(e)&&!isNaN(Number(e))}function b5(e,t){switch(e){case"string":return fe(t)||$e(t);case"color":return fe(t);case"boolean":return Im(t);case"number":return $e(t)||y5(t);case"link":case"image":return fe(t)&&mm(t);default:{let n=e;return!1}}}function x5(e,t){if(e.status==="loading")return t.fallbackValue;if(e.status==="error")throw e.error;let n=v5(e.data,t.resultKeyPath);if(yt(n))throw new Error(`Key '${t.resultKeyPath}' not found in response`);if(!b5(t.resultOutputType,n))throw new Error(`Resolved value '${n}' is not valid for type '${t.resultOutputType}'`);return n}function mm(e){try{return!!new URL(e).protocol}catch{}}function tm(e,t){if(le.current()===le.canvas)return!1;let n=t===0?500:t*1e3,r=Date.now(),i=e+n;return r>=i}var uS=()=>{},Cr,vm,Di,Ai,Ss,si,mu=class{constructor(){R(this,"responseValues",new Map),Zt(this,Cr,new Map),Zt(this,vm,new Set),Zt(this,Di,new Map),Zt(this,Ai,new Map),Zt(this,Ss,new Map),Zt(this,si,new Map),R(this,"persistCache",OV(()=>{let e={};for(let[t,n]of this.responseValues){if(!n||n.status!=="success")continue;let r=ue(this,Di).get(t);if(!r||r===0)continue;let i=ue(this,Ai).get(t);i&&(i&&tm(i,r)||(e[t]=[i,r,n.data]))}try{localStorage.setItem(mu.cacheKey,JSON.stringify(e))}catch{}},500))}unmount(){for(let[e,t]of ue(this,si))clearInterval(t),ue(this,si).delete(e)}stopQueryRefetching(e){let t=xs(e),n=ue(this,si).get(t);n&&(clearInterval(n),ue(this,si).delete(t))}startQueryRefetching(e){let t=xs(e),n=ue(this,si).get(t),r=ue(this,Di).get(t);if(n||!r)return;let i=nt.setInterval(()=>{if(document.visibilityState==="hidden")return;let o=ue(this,Ai).get(t);!r||!o||this.fetchWithCache({...e,cacheDuration:r})},r);ue(this,si).set(t,i)}hydrateCache(){try{let e=localStorage.getItem(mu.cacheKey);if(!e)return;let t=JSON.parse(e);
703if(typeof t!="object")throw new Error("Invalid cache data");for(let n in t){let r=t[n];if(!Array.isArray(r)||r.length!==3)throw new Error("Invalid cache data");let[i,o,a]=r;tm(i,o)||(ue(this,Ai).set(n,i),ue(this,Di).set(n,o),this.responseValues.set(n,{status:"success",data:a}))}}catch{try{localStorage.removeItem(mu.cacheKey)}catch{}}}setResponseValue(e,t){this.responseValues.set(e,t),this.persistCache();let n=ue(this,Cr).get(e);if(n)for(let r of n)r()}async prefetch(e){if(!rr()||!mm(e.url))return;let t=xs(e);ue(this,vm).add(t),await this.fetchWithCache(e);let n=this.getValue(t);if(!n||n.status==="loading")throw new Error("Unexpected result status for prefetch");let r=ue(this,Cr).get(t);for(let o of r??[])o();let i=x5(n,e);return e.resultOutputType==="image"&&fe(i)&&await p5(i).catch(uS),i}async fetchWithCache(e){if(!rr())return;let t=xs(e),n=ue(this,Ss).get(t);if(n)return n;let r=ue(this,Ai).get(t),i=r&&tm(r,e.cacheDuration);if(this.responseValues.has(t)&&!i)return;this.responseValues.get(t)||this.setResponseValue(t,g5);let s=(async()=>{try{let l=await fetch(e.url,{method:"GET",headers:{"Content-Type":"application/json"},credentials:e.credentials});if(!l.ok){this.setResponseValue(t,{status:"error",error:new Error("Invalid Response Status"),data:void 0});return}let c=await l.json();this.setResponseValue(t,{status:"success",data:c}),ue(this,Ai).set(t,Date.now())}catch(l){this.setResponseValue(t,{status:"error",error:l,data:void 0})}})();return ue(this,Ss).set(t,s),s.finally(()=>{ue(this,Ss).delete(t)}),s}getValue(e){return this.responseValues.get(e)}subscribe(e,t){let{url:n,cacheDuration:r}=e;if(!mm(n))return uS;let i=xs(e),o=ue(this,Di).get(i);(!o||r<o)&&ue(this,Di).set(i,r),this.startQueryRefetching(e),this.fetchWithCache(e);let a=ue(this,Cr).get(i)??new Set;return a.add(t),ue(this,Cr).set(i,a),()=>{let s=ue(this,Cr).get(i);s&&(s.delete(t),s.size===0&&ue(this,Cr).delete(i),ue(this,Cr).size===0&&this.stopQueryRefetching(e))}}},aC=mu;Cr=new WeakMap;vm=new WeakMap;Di=new WeakMap;Ai=new WeakMap;Ss=new WeakMap;si=new WeakMap;R(aC,"cacheKey","framer-fetch-client-cache");var w5=xe(void 0),S5=xe(!0),k5=({children:e,client:t})=>{let[n]=Ye(()=>t??new aC),[r,i]=Ye(!0);return N(()=>(n.hydrateCache(),sr(()=>{i(!1)}),()=>n.unmount()),[n]),k(S5.Provider,{value:r,children:k(w5.Provider,{value:n,children:e})})},C5,T5,E5;C5=new WeakMap;T5=new WeakMap;E5=new WeakMap;function lj({RootComponent:e,isWebsite:t,routeId:n,framerSiteId:r,pathVariables:i,routes:o,collectionUtils:a,notFoundPage:s,isReducedMotion:l=!1,includeDataObserver:c=!1,localeId:u,locales:f,preserveQueryParams:d}){let{enableAsyncURLUpdates:p}=Gk();if(x.useEffect(()=>{t||nk.start()},[]),t)return k(w0,{reducedMotion:l?"user":"never",children:k(T3,{children:k(iC.Provider,{value:r,children:k(k5,{children:k(hL,{initialRoute:n,initialPathVariables:i,initialLocaleId:u,routes:o,collectionUtils:a,notFoundPage:s,locales:f,defaultPageStyle:{minHeight:"100vh",width:"auto"},preserveQueryParams:d,enableAsyncURLUpdates:p})})})})});{let y=c?BV:x.Fragment;return k(y,{children:k(iL,{routes:o,children:k(LV,{children:x.isValidElement(e)?e:x.createElement(e,{key:n})})})})}}function R5(e,t,n){let r=Bn.map(e,i=>At(i)?ar(i,t):i);return n?r:k(Fe,{children:r})}var Xm=x.createContext(void 0),fS="ssr-variant";function dS(e,t,n,r,i,o,a,s){let l=x.Children.toArray(t),c=l[0];if(l.length!==1||!x.isValidElement(c))return console.warn("PropertyOverrides: expected exactly one React element for a child",t),a(t,n);let u=[],f=[];for(let[b]of Object.entries(r)){if(b===i)continue;let h=e[b];if(!h||!_5(c.props,h)){f.push(b);continue}let m=hS([b],o);m.length&&u.push({variants:m,propOverrides:h})}if(u.length===0)return a(c,n);let d=[i,...f],p=hS(d,o);p.length&&u.unshift({variants:p});let y=`.${fS} { display: contents }`,g=[];for(let{variants:b,propOverrides:h}of u){if(s&&!b.includes(s))continue;let m=b.join("+"),v=k(Xm.Provider,{value:new Set(b),children:a(c,h?{...n,...h}:n)},m),w=P5(b,o,r);w.length?(ce(u.length>1,"Must branch out when there are hiddenClassNames"),v=k("div",{className:`${fS} ${w.join(" ")}`,children:v},m)):ce(u.length===1,"Cannot branch out when hiddenClassNames is empty"),g.push(v)}return ce(!s||g.length===1,"Must render exactly one branch when activeVariantId is given"),se(Fe,{children:[!
703o&&!rr()&&k("style",{[Wk]:!0,children:y}),g]})}function sC(e){return e.split("-")[2]}function P5(e,t,n){let r=[];for(let[i,o]of Object.entries(n)){let a=t&&!t.has(i);e.includes(i)||a||r.push(`hidden-${sC(o)}`)}return r}function hS(e,t){return t?e.filter(n=>t.has(n)):e}function _5(e,t){for(let n of Object.keys(t))if(!Ue(e[n],t[n],!0))return!0;return!1}function I5(e,t,n){return!n||!e?t:{...t,...n[e]}}var dj=x.forwardRef(function({breakpoint:t,overrides:n,children:r,...i},o){let a=Bu(o),s=x.useContext(Xm),l=tL(),c=Gt(()=>l.current?rr()?1:2:0),u=x.useContext(Xk);if(!u)return console.warn("PropertyOverrides is missing GeneratedComponentContext"),a(r,i);let{primaryVariantId:f,variantClassNames:d}=u;switch(c){case 0:return a(r,I5(t,i,n));case 1:return dS(n,r,i,d,f,s,a,t);case 2:return dS(n,r,i,d,f,s,R5,void 0);default:Oe(c)}}),pj=qk(Ie(function({links:t,children:n,...r},i){let o=Ui(),{activeLocale:a}=Em(),s=Bu(i),l=[],c=t.map(f=>Z3(f.href,o,f.implicitPathVariables,(d,p)=>{function y(g){let b={};for(let h in g){let m=g[h];ce(o.collectionUtils,"collectionUtils should be defined"),ce(m,"unresolvedSlug be defined");let v=Hm(m,o.collectionUtils,a),w=v.preload();if(w)l.push(w);else{let C=v.read();C&&(b[h]=C)}}return b}return{path:y(d),hash:y(p)}}));if(l.length>0)throw Promise.allSettled(l);let u=n(c);return s(u,r)}));var F5=jn(cM(),1);function M5(e){return{trace(...t){var n;return(n=ct.getLogger(e))==null?void 0:n.trace(...t)},debug(...t){var n;return(n=ct.getLogger(e))==null?void 0:n.debug(...t)},info(...t){var n;return(n=ct.getLogger(e))==null?void 0:n.info(...t)},warn(...t){var n;return(n=ct.getLogger(e))==null?void 0:n.warn(...t)},error(...t){var n;return(n=ct.getLogger(e))==null?void 0:n.error(...t)}}}function L5(e){return Lu(e)&&e.every(_e)}function lC(e){return _e(e)&&ji(e.read)&&ji(e.preload)}function O5(e){return L5(e)||lC(e)}function cC(e){return _e(e)&&_e(e.schema)}function D5(e){return _e(e)&&_e(e.collectionByLocaleId)}async function pS(e,t){return lC(e)?(await e.preload(t),e.read(t)):e}var A5=class{constructor(e,t){this.collection=e,this.locale=t,R(this,"schema"),R(this,"indexes",[]);let n=yD(e);ce(n,"Collection does not have properties");let r={id:{type:"string",isNullable:!1}},i=Object.entries(n);for(let[o,a]of i)a&&(r[o]={type:a.type,isNullable:!0});this.schema=r}getDatabaseItem(e,t){let n={};for(let r in this.schema){let i=e[r];if(Ko(i))continue;let o=this.schema[r];yt(o)||(n[r]={type:o.type,value:i})}return{pointer:t,data:n}}async resolveRichText(e){if($m.is(e)){let t=e.preload();return t&&await t,e.read()}return e}async scanItems(){return(await pS(this.collection,this.locale)).map((t,n)=>{let r=String(n);return this.getDatabaseItem(t,r)})}async resolveItems(e){let t=await pS(this.collection,this.locale);return e.map(n=>{let r=Number(n),i=t[r];return ce(i,"Can't find collection item"),this.getDatabaseItem(i,n)})}compareItems(e,t){return Number(e.pointer)-Number(t.pointer)}},cn={equal(e,t,n){return e?.type!==t?.type?!1:ws(e,t,n)===0},lessThan(e,t,n){return e?.type!==t?.type?!1:ws(e,t,n)<0},lessThanOrEqual(e,t,n){return e?.type!==t?.type?!1:ws(e,t,n)<=0},greaterThan(e,t,n){return e?.type!==t?.type?!1:ws(e,t,n)>0},greaterThanOrEqual(e,t,n){return e?.type!==t?.type?!1:ws(e,t,n)>=0},in(e,t){return e?.type!=="string"||t?.type!=="multicollectionreference"?!1:t.value.includes(e.value)},stringify(e){if(e===null)return"null";switch(e.type){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"responsiveimage":return"ResponsiveImage";case"file":return"File";case"link":return fe(e.value)?`'${e.value}' /* Link */`:"Link";case"multicollectionreference":return`[${e.value.map(t=>`'${t}'`).join(", ")}]`;default:Oe(e)}}};function ws(e,t,n){if(Be(e)||Be(t))return ce(e===t),0;switch(e.type){case"boolean":return ce(e.type===t.type),e.value<t.value?-1:e.value>t.value?1:0;case"color":return ce(e.type===t.type),e.value<t.value?-1:e.value>t.value?1:0;case"date":{ce(e.type===t.type);let r=new Date(e.value),i=new Date(t.value);return r<i?-1:r>i?1:0}case"enum":return ce(e.type===t.type),e.value<t.value?-1:e.value>t.value?1:0;case"file":return ce(e.type===t.type),e.value<t.value?-1:e.value>t.value?1:0;case"responsiveimage":{ce(e.type===t.type);let r=JSON.stringify(e.value),i=JSON.stringify(t.value);return r<i?-1:r>i?1:0}case"link":{ce(e.type===t.type);let r=JSON.stringify(e.value),i=JSON.stringify(t.value);return r<i?-1:r>i?1:0}case"number":return ce(e.type===t.type),e.value<t.value?-1:e.value>t.value?1:0;case"richtext":{ce(e.type===t.type);let r=e.value,i=t.value;return r<i?-1:r>i?1:0}case"string":{ce(e.type===t.type);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}case"multicollectionreference":{ce(e.type===t.type);for(let r=0;r<Math.max(e.value.length,t.value.length);r++){let i=e.value[r],o=t.value[r];if(i===void 0)return-1;if(o===void 0)return 1;if(i<o)return-1;if(i>o)return 1}return 0}default:Oe(e)}}var gm="index",Rt=class{static from(e,t){return er(e,t,void 0)}},bt=class extends Rt{constructor(e,t,n){super(),this.schema=e,this.name=t,this.collection=n,R(this,"definition"),t===gm?this.definition={type:"number",isNullable:!1}:this.definition=e[t]??null}stringify(){return this.name}equals(e){return e instanceof bt&&Ue(this.definition,e.definition)&&Ue(e.name,this.name)&&Ue(e.collection,this.collection)}evaluate(e){let t=this.name;if(yt(e)||t===gm)throw new Error(`Can't evaluate identifier: ${t}`);if(this.collection){let n=`${this.collection}_${t}`;return e.data[n]??e.data[t]??null}return e.data[t]??null}canEvaluate(){return!1}},Ce=class extends Rt{constructor(e,t){super(),this.definition=e,this.value=t}stringify(){return cn.stringify(this.value)}static fromNull(){return new Ce(null,null)}static fromBoolean(e){return new Ce({type:"boolean",isNullable:Be(e)},Be(e)?null:{type:"boolean",value:e})}static fromDate(e){return new Ce({type:"date",isNullable:Be(e)},Be(e)?null:{type:"date",value:e.toISOString()})}static fromEnum(e){return new Ce({type:"enum",isNullable:Be(e)},Be(e)?null:{type:"enum",value:e})}static fromNumber(e){return new Ce({type:"number",isNullable:Be(e)},Be(e)?null:{type:"number",value:e})}static fromString(e){return new Ce({type:"string",isNullable:Be(e)},Be(e)?null:{type:"string",value:e})}static fromMultiCollectionReference(e){return new Ce({type:"multicollectionreference",isNullable:Be(e)},Be(e)?null:{type:"multicollectionreference",value:e})}equals(e){return e instanceof Ce&&Ue(this.definition,e.definition)&&Ue(e.value,this.value)}evaluate(){return this.value}canEvaluate(){return!0}},Ys=class extends Rt{constructor(e){super(),this.argumentExpressions=e,R(this,"collation",{type:0})}getArgumentExpression(e){let t=this.argumentExpressions[e];if(yt(t))throw new Error("Missing argument in function call");return t}equals(e){return e instanceof Ys&&Ue(this.constructor,e.constructor)&&Ue(this.argumentExpressions,e.argumentExpressions)}canEvaluate(){return this.argumentExpressions.every(e=>e.canEvaluate())}},$u=class extends Ys{constructor(){super(...arguments),R(this,"definition",$u.getDefinition()),R(this,"sourceExpression",this.getArgumentExpression(0)),R(this,"targetExpression",this.getArgumentExpression(1))}static getDefinition(){return{type:"boolean",isNullable:!1}}stringify(){return`CONTAINS(${this.sourceExpression.stringify()}, ${this.targetExpression.stringify()})`}getValue(e,t){if(Be(e)||e.type!=="string"||Be(t)||t.type!=="string")return!1;let n=e.value,r=t.value;return this.collation.type===0&&(n=n.toLowerCase(),r=r.toLowerCase()),n.includes(r)}evaluate(e){let t=this.sourceExpression.evaluate(e),n=this.targetExpression.evaluate(e);return{type:"boolean",value:this.getValue(t,n)}}},zu=class extends Ys{constructor(){super(...arguments),R(this,"definition",zu.getDefinition()),R(this,"sourceExpression",this.getArgumentExpression(0)),R(this,"targetExpression",this.getArgumentExpression(1))}static getDefinition(){return{type:"boolean",isNullable:!1}}stringify(){return`STARTS_WITH(${this.sourceExpression.stringify()}, ${this.targetExpression.stringify()})`}getValue(e,t){if(Be(e)||e.type!=="string"||Be(t)||t.type!=="string")return!1;let n=e.value,r=t.value;return this.collation.type===0&&(n=n.toLowerCase(),r=r.toLowerCase()),n.startsWith(r)}evaluate(e){let t=this.sourceExpression.evaluate(e),n=this.targetExpression.evaluate(e);return{type:"boolean",value:this.getValue(t,n)}}},Nu=class extends Ys{constructor(){super(...arguments),R(this,"definition",Nu.getDefinition()),R(this,"sourceExpression",this.getArgumentExpression(0)),R(this,"targetExpression",this.getArgumentExpression(1))}static getDefinition(){return{type:"boolean",isNullable:!1}}stringify(){return`ENDS_WITH(${this.sourceExpression.stringify()}, ${this.targetExpression.stringify()})`}getValue(e,t){if(Be(e)||e.type!=="string"||Be(t)||t.type!=="string")return!1;let n=e.value,r=t.value;return this.collation.type===0&&(n=n.toLowerCase(),r=r.toLowerCase()),n.endsWith(r)}evaluate(e){let t=this.sourceExpression.evaluate(e),n=this.targetExpression.evaluate(e);return{type:"boolean",value:this.getValue(t,n)}}},Pu=class extends Rt{constructor(e,t,n){super(),this.valueExpression=e,this.conditions=t,this.elseExpression=n,R(this,"definition"),R(this,"collation",{type:0});let r=[];for(let{thenExpression:i}of t)r.push(i.definition);n&&r.push(n.definition),this.definition=Pu.getDefinition(r)}static getDefinition(e){let t=null,n=!1;for(let r of e){if(t??(t=r),t&&r&&t.type!==r.type)throw new Error("Incompatible types in CASE expression");n||(n=r?.isNullable??!0)}return t?{type:t.type,isNullable:n}:null}stringify(){let e="CASE";this.valueExpression&&(e+=` ${this.valueExpression.stringify()}`);for(let{whenExpression:t,thenExpression:n}of this.conditions)e+=` WHEN ${t.stringify()} THEN ${n.stringify()}`;return this.elseExpression&&(e+=` ELSE ${this.elseExpression.stringify()}`),e+=" END",e}equals(e){return e instanceof Pu&&Ue(this.valueExpression,e.valueExpression)&&Ue(this.conditions,e.conditions)&&Ue(this.elseExpression,e.elseExpression)}evaluate(e){var t,n;let r=((t=this.valueExpression)==null?void 0:t.evaluate(e))??null;for(let{whenExpression:i,thenExpression:o}of this.conditions){let a=i.evaluate(e);if(this.valueExpression?cn.equal(a,r,this.collation):Xi(a))return o.evaluate(e)}return((n=this.elseExpression)==null?void 0:n.evaluate(e))??null}canEvaluate(){let e=[];this.valueExpression&&e.push(this.valueExpression);for(let t of this.conditions)e.push(t.whenExpression),e.push(t.thenExpression);return this.elseExpression&&e.push(this.elseExpression),e.every(t=>t.canEvaluate())}},V5=class{constructor(e,t){this.whenExpression=e,this.thenExpression=t}},uC=class extends Rt{constructor(e){super(),this.valueExpression=e}equals(e){return e instanceof uC&&Ue(this.constructor,e.constructor)&&Ue(this.valueExpression,e.valueExpression)}canEvaluate(){return this.valueExpression.canEvaluate()}},Ls=class extends uC{constructor(){super(...arguments),R(this,"definition",Ls.getDefinition())}static getDefinition(){return{type:"boolean",isNullable:!1}}stringify(){return`NOT ${this.valueExpression.stringify()}`}evaluate(e){let t=this.valueExpression.evaluate(e);return{type:"boolean",value:!Xi(t)}}},Os=class extends Rt{constructor(e){super(),this.operandExpressions=e,R(this,"definition",Os.getDefinition())}static getDefinition(){return{type:"boolean",isNullable:!1}}stringify(){return this.operandExpressions.map(e=>e.stringify()).join(" AND ")}equals(e){return e instanceof Os&&Ue(this.constructor,e.constructor)&&Ue(this.operandExpressions,e.operandExpressions)}canEvaluate(){return this.operandExpressions.every(e=>e.canEvaluate())}},zi=class extends Os{constructor(){super(...arguments),R(this,"operator","AND")}evaluate(e){return{type:"boolean",value:this.operandExpressions.every(n=>{let r=n.evaluate(e);return Xi(r)})}}},Cs=class extends Os{constructor(){super(...arguments),R(this,"operator","OR")}evaluate(e){return{type:"boolean",value:this.operandExpressions.some(n=>{let r=n.evaluate(e);return Xi(r)})}}},Dn=class extends Rt{constructor(e,t){super(),this.leftExpression=e,this.rightExpression=t,R(this,"definition",Dn.getDefinition()),R(this,"collation",{type:0})}static getDefinition(){return{type:"boolean",isNullable:!1}}stringify(){return`${this.leftExpression.stringify()} ${this.operator} ${this.rightExpression.stringify()}`}equals(e){return e instanceof Dn&&Ue(this.constructor,e.constructor)&&Ue(this.leftExpression,e.leftExpression)&&Ue(this.rightExpression,e.rightExpression)}canEvaluate(){return this.leftExpression.canEvaluate()&&this.rightExpression.canEvaluate()}},Zo=class extends Dn{constructor(){super(...arguments),R(this,"operator","=")}evaluate(e){let t=this.leftExpression.evaluate(e),n=this.rightExpression.evaluate(e);return{type:"boolean",value:cn.equal(t,n,this.collation)}}},Jo=class extends Dn{constructor(){super(...arguments),R(this,"operator","!=")}evaluate(e){let t=this.leftExpression.evaluate(e),n=this.rightExpression.evaluate(e);return{type:"boolean",value:!cn.equal(t,n,this.collation)}}},Ds=class extends Dn{constructor(){super(...arguments),R(this,"operator","<")}
703evaluate(e){let t=this.leftExpression.evaluate(e),n=this.rightExpression.evaluate(e);return{type:"boolean",value:cn.lessThan(t,n,this.collation)}}},As=class extends Dn{constructor(){super(...arguments),R(this,"operator","<=")}evaluate(e){let t=this.leftExpression.evaluate(e),n=this.rightExpression.evaluate(e);return{type:"boolean",value:cn.lessThanOrEqual(t,n,this.collation)}}},Vs=class extends Dn{constructor(){super(...arguments),R(this,"operator",">")}evaluate(e){let t=this.leftExpression.evaluate(e),n=this.rightExpression.evaluate(e);return{type:"boolean",value:cn.greaterThan(t,n,this.collation)}}},Bs=class extends Dn{constructor(){super(...arguments),R(this,"operator",">=")}evaluate(e){let t=this.leftExpression.evaluate(e),n=this.rightExpression.evaluate(e);return{type:"boolean",value:cn.greaterThanOrEqual(t,n,this.collation)}}},B5=class extends Dn{constructor(){super(...arguments),R(this,"operator","in")}evaluate(e){let t=this.leftExpression.evaluate(e),n=this.rightExpression.evaluate(e);return{type:"boolean",value:cn.in(t,n)}}},Gs=class extends Rt{constructor(e){super(),this.valueExpression=e}stringify(){return`CAST(${this.valueExpression.stringify()} AS ${this.dataType})`}equals(e){return e instanceof Gs&&Ue(this.constructor,e.constructor)&&Ue(this.valueExpression,e.valueExpression)}canEvaluate(){return this.valueExpression.canEvaluate()}},Hu=class extends Gs{constructor(){super(...arguments),R(this,"dataType","BOOLEAN"),R(this,"definition",Hu.getDefinition())}static getDefinition(){return{type:"boolean",isNullable:!1}}evaluate(e){let t=this.valueExpression.evaluate(e);return{type:"boolean",value:Xi(t)}}};function Xi(e){switch(e?.type){case"boolean":case"number":case"string":return!!e.value}return!1}var Ym=class extends Gs{constructor(){super(...arguments),R(this,"dataType","DATE"),R(this,"definition",Ym.getDefinition())}static getDefinition(){return{type:"date",isNullable:!0}}evaluate(e){let t=this.valueExpression.evaluate(e),n=fC(t);return Be(n)?null:{type:"date",value:n.toISOString()}}};function fC(e){switch(e?.type){case"date":case"number":case"string":{let t=new Date(e.value);return fk(t)?t:null}}return null}var Gm=class extends Gs{constructor(){super(...arguments),R(this,"dataType","NUMBER"),R(this,"definition",Gm.getDefinition())}static getDefinition(){return{type:"number",isNullable:!0}}evaluate(e){let t=this.valueExpression.evaluate(e),n=dC(t);return Be(n)?null:{type:"number",value:n}}};function dC(e){switch(e?.type){case"number":case"string":{let t=Number(e.value);return Number.isFinite(t)?t:null}}return null}var qm=class extends Gs{constructor(){super(...arguments),R(this,"dataType","STRING"),R(this,"definition",qm.getDefinition())}static getDefinition(){return{type:"string",isNullable:!0}}evaluate(e){let t=this.valueExpression.evaluate(e),n=hC(t);return Be(n)?null:{type:"string",value:n}}};function hC(e){switch(e?.type){case"string":case"number":return String(e.value)}return null}function er(e,t,n){let r=$5(e,t,n),i=r instanceof Ce;if(r.canEvaluate()&&!i){let o=r.evaluate();return new Ce(r.definition,o)}return r}function $5(e,t,n){switch(e.type){case"Identifier":return z5(e,t);case"LiteralValue":return N5(e,n);case"FunctionCall":return j5(e,t);case"Case":return W5(e,t,n);case"UnaryOperation":return U5(e,t);case"BinaryOperation":return Y5(e,t);case"TypeCast":return r4(e,t);default:throw new Error(`Unsupported expression: ${JSON.stringify(e)}`)}}function z5(e,t){return new bt(t,e.name,e.collection)}function N5(e,t){var n,r;let i=H5(e.value);switch(t?.type){case"boolean":{let o=Xi(i.value);return Ce.fromBoolean(o)}case"date":{let o=fC(i.value);return Ce.fromDate(o)}case"enum":return((n=i.value)==null?void 0:n.type)==="string"?Ce.fromEnum(i.value.value):i;case"number":{let o=dC(i.value);return Ce.fromNumber(o)}case"string":{let o=hC(i.value);return Ce.fromString(o)}case"multicollectionreference":if(((r=i.value)==null?void 0:r.type)==="multicollectionreference")return Ce.fromMultiCollectionReference(i.value.value)}return i}function H5(e){return Im(e)?Ce.fromBoolean(e):fk(e)?Ce.fromDate(e):$e(e)?Ce.fromNumber(e):fe(e)?Ce.fromString(e):Lu(e)&&e.every(fe)?Ce.fromMultiCollectionReference(e):Ce.fromNull()}function j5(e,t){let n=e.arguments.map(r=>er(r,t,void 0));switch(e.functionName){case"CONTAINS":return new $u(n);case"STARTS_WITH":return new zu(n);case"ENDS_WITH":return new Nu(n);default:throw new Error(`Unsupported function name: ${e.functionName}`)}}function W5(e,t,n){let r=e.value&&er(e.value,t,void 0),i=e.value&&$s(e.value,t),o=e.conditions.map(s=>{let l=er(s.when,t,i),c=er(s.then,t,n);return new V5(l,c)}),a=e.else&&er(e.else,t,n);return new Pu(r,o,a)}function U5(e,t){let n=er(e.value,t,void 0);switch(e.operator){case"not":return ym(n);default:throw new Error(`Unsupported unary operator: ${e.operator}`)}}function ym(e){var t;if(e instanceof Ls){let n=e.valueExpression;return((t=n.definition)==null?void 0:t.type)==="boolean"?n:new Hu(n)}if(e instanceof Zo){let{leftExpression:n,rightExpression:r}=e;return new Jo(n,r)}if(e instanceof Jo){let{leftExpression:n,rightExpression:r}=e;return new Zo(n,r)}if(e instanceof Ds){let{leftExpression:n,rightExpression:r}=e;return new Bs(n,r)}if(e instanceof As){let{leftExpression:n,rightExpression:r}=e;return new Vs(n,r)}if(e instanceof Vs){let{leftExpression:n,rightExpression:r}=e;return new As(n,r)}if(e instanceof Bs){let{leftExpression:n,rightExpression:r}=e;return new Ds(n,r)}if(e instanceof zi){let{operandExpressions:n}=e,r=n.map(ym);return new Cs(r)}if(e instanceof zi){let{operandExpressions:n}=e,r=n.map(ym);return new zi(r)}return new Ls(e)}function X5(e,t){if(e.operator!=="in"&&e.operator!=="and"&&e.operator!=="or")return $s(e.left,t)||$s(e.right,t)}function Y5(e,t){let n=X5(e,t),r=er(e.left,t,n),i=er(e.right,t,n);switch(e.operator){case"and":return G5(r,i);case"or":return q5(r,i);case"==":return K5(r,i);case"!=":return Q5(r,i);case"<":return Z5(r,i);case"<=":return J5(r,i);case">":return e4(r,i);case">=":return t4(r,i);case"in":return n4(r,i);default:throw new Error(`Unsupported binary operator: ${e.operator}`)}}function G5(e,t){let n=[];return e instanceof zi?n.push(...e.operandExpressions):n.push(e),t instanceof zi?n.push(...t.operandExpressions):n.push(t),new zi(n)}function q5(e,t){let n=[];return e instanceof Cs?n.push(...e.operandExpressions):n.push(e),t instanceof Cs?n.push(...t.operandExpressions):n.push(t),new Cs(n)}function K5(e,t){let n=e instanceof bt;return t instanceof bt&&!n?new Zo(t,e):new Zo(e,t)}function Q5(e,t){let n=e instanceof bt;return t instanceof bt&&!n?new Jo(t,e):new Jo(e,t)}function Z5(e,t){let n=e instanceof bt;return t instanceof bt&&!n?new Vs(t,e):new Ds(e,t)}function J5(e,t){let n=e instanceof bt;return t instanceof bt&&!n?new Bs(t,e):new As(e,t)}function e4(e,t){let n=e instanceof bt;return t instanceof bt&&!n?new Ds(t,e):new Vs(e,t)}function t4(e,t){let n=e instanceof bt;return t instanceof bt&&!n?new As(t,e):new Bs(e,t)}function n4(e,t){return new B5(e,t)}function r4(e,t){let n=er(e.value,t,void 0);switch(e.dataType){case"BOOLEAN":return i4(n);case"DATE":return o4(n);case"NUMBER":return a4(n);case"STRING":return s4(n);default:throw new Error(`Unsupported data type: ${e.dataType}`)}}function i4(e){var t;return((t=e.definition)==null?void 0:t.type)==="boolean"?e:new Hu(e)}function o4(e){var t;return((t=e.definition)==null?void 0:t.type)==="date"?e:new Ym(e)}function a4(e){var t;return((t=e.definition)==null?void 0:t.type)==="number"?e:new Gm(e)}function s4(e){var t;return((t=e.definition)==null?void 0:t.type)==="string"?e:new qm(e)}function $s(e,t){switch(e.type){case"Identifier":return l4(e,t);case"LiteralValue":return;
703case"FunctionCall":return c4(e);case"Case":return u4(e,t);case"UnaryOperation":return f4(e);case"BinaryOperation":return d4(e);case"TypeCast":return h4(e);default:throw new Error(`Unsupported expression: ${JSON.stringify(e)}`)}}function l4(e,t){return t[e.name]}function c4(e){switch(e.functionName){case"CONTAINS":return $u.getDefinition();case"STARTS_WITH":return zu.getDefinition();case"ENDS_WITH":return Nu.getDefinition();default:throw new Error(`Unsupported function name: ${e.functionName}`)}}function u4(e,t){let n=[];for(let r of e.conditions){let i=$s(r.then,t);yt(i)||n.push(i)}if(e.else){let r=$s(e.else,t);yt(r)||n.push(r)}return Pu.getDefinition(n)??void 0}function f4(e){switch(e.operator){case"not":return Ls.getDefinition();default:throw new Error(`Unsupported unary operator: ${e.operator}`)}}function d4(e){switch(e.operator){case"and":case"or":return Os.getDefinition();case"==":case"!=":case"<":case"<=":case">":case">=":return Dn.getDefinition();default:throw new Error(`Unsupported binary operator: ${e.operator}`)}}function h4(e){switch(e.dataType){case"BOOLEAN":return Hu.getDefinition();case"DATE":return Ym.getDefinition();case"NUMBER":return Gm.getDefinition();case"STRING":return qm.getDefinition();default:throw new Error(`Unsupported data type: ${e.dataType}`)}}function _r(e,t){return`(self: ${e}ms${t?`, total: ${t}ms`:""})`}function An(e){return`(items: ${e})`}var Ir=class{constructor(){R(this,"executionTime",0),R(this,"itemCount",0)}async execute(){let e=performance.now(),t=await this._execute();return this.executionTime=performance.now()-e,this.itemCount=t.length,t}},pC=class extends Ir{constructor(e,t){super(),this.collection=e,this.alias=t}inspect(){return{label:`ScanCollectionPlan ${_r(this.executionTime)} ${An(this.itemCount)}`}}async _execute(){let e=await this.collection.scanItems();return yt(this.alias)?e:e.map(t=>{let n={...t.data},r=Object.entries(n);for(let[i,o]of r)n[`${this.alias}_${i}`]=o;return{pointer:t.pointer,data:n}})}},p4=class extends Ir{constructor(e,t,n){super(),this.leftPlan=e,this.rightPlan=t,this.constraint=n}inspect(){let e=Math.max(this.leftPlan.executionTime??0,this.rightPlan.executionTime??0);return{label:`LeftJoinPlan ${_r(this.executionTime-e,this.executionTime)} ${An(this.itemCount)}`,nodes:[this.leftPlan.inspect(),this.rightPlan.inspect()]}}async _execute(){var e;let t=await this.leftPlan.execute(),n=await this.rightPlan.execute(),r=[];for(let i of t){let o=!1;for(let a of n){let s={pointer:i.pointer,data:{...i.data,...a.data}};(e=this.constraint.evaluate(s))!=null&&e.value&&(r.push(s),o=!0)}o||r.push(i)}return r}},Rr=class extends Ir{constructor(e,t){super(),this.index=e,this.query=t}inspect(){let e=[],t=n=>{switch(n.type){case"All":return n.type;case"Equals":case"NotEquals":case"LessThan":case"GreaterThan":case"Contains":case"StartsWith":case"EndsWith":return`${n.type} ${cn.stringify(n.value)}`;default:Oe(n)}};for(let n=0;n<this.index.fields.length;n++){let r=this.index.fields[n],i=this.query[n];!r||r.type!=="Identifier"||!i||i.type==="All"||e.push(`${r.name} ${t(i)}`)}return{label:`LookupIndexPlan(${e.join(", ")}) ${_r(this.executionTime)} ${An(this.itemCount)}`}}async _execute(){return this.index.lookupItems(this.query)}},m4=class extends Ir{constructor(e){super(),this.childPlans=e}inspect(){let e=Math.max(...this.childPlans.map(t=>t.executionTime??0));return{label:`UnionPlan ${_r(this.executionTime-e,this.executionTime)} ${An(this.itemCount)}`,nodes:this.childPlans.map(t=>t.inspect())}}async _execute(){let e=await Promise.all(this.childPlans.map(async n=>{let r=await n.execute();return new _u(r)})),t;for(let n of e)t?t=t.union(n):t=n;return t?.items()??[]}},v4=class extends Ir{constructor(e){super(),this.childPlans=e}inspect(){let e=Math.max(...this.childPlans.map(t=>t.executionTime??0));return{label:`IntersectionPlan ${_r(this.executionTime-e,this.executionTime)} ${An(this.itemCount)} ${An(this.itemCount)}`,nodes:this.childPlans.map(t=>t.inspect())}}async _execute(){let e=await Promise.all(this.childPlans.map(async n=>{let r=await n.execute();return new _u(r)})),t;for(let n of e)t?t=t.intersection(n):t=n;return t?.items()??[]}},g4=class extends Ir{constructor(e,t,n,r){super(),this.childPlan=e,this.collection=t,this.richTextResolver=n,this.select=r}inspect(){return{label:`ResolveItemsPlan ${_r(this.executionTime-this.childPlan.executionTime,this.executionTime)} ${An(this.itemCount)}`,nodes:[this.childPlan.inspect()]}}async _execute(){let e=await this.childPlan.execute(),t=e.map(n=>n.pointer);for(let n of e)for(let r of this.select){if(r.type!=="Identifier")continue;let i=n.data[r.name];i?.type==="richtext"&&this.richTextResolver.resolve(r.name,i.value)}return this.collection.resolveItems(t)}},mC=class extends Ir{constructor(e,t){super(),this.childPlan=e,this.filterExpression=t}inspect(){return{label:`FilterItemsPlan(${this.filterExpression.stringify()}) ${_r(this.executionTime-this.childPlan.executionTime,this.executionTime)} ${An(this.itemCount)} ${An(this.itemCount)}`,nodes:[this.childPlan.inspect()]}}async _execute(){return(await this.childPlan.execute()).filter(t=>{let n=this.filterExpression.evaluate(t);return Xi(n)})}},y4=class extends Ir{constructor(e,t,n){super(),this.childPlan=e,this.orderExpressions=t,this.collection=n}inspect(){return{label:`SortItemsPlan(${this.orderExpressions.map(t=>`${t.expression.stringify()} ${t.direction.toUpperCase()}`).join(", ")}) ${_r(this.executionTime-this.childPlan.executionTime,this.executionTime)} ${An(this.itemCount)}`,nodes:[this.childPlan.inspect()]}}async _execute(){return(await this.childPlan.execute()).sort((t,n)=>{let r={...t,data:{}},i={...n,data:{}};for(let{expression:o,direction:a,collation:s}of this.orderExpressions){let l=a==="asc";if(o instanceof bt&&o.name===gm){let f=this.collection.compareItems(r,i);return l?f:-f}let c=o.evaluate(t),u=o.evaluate(n);if(!cn.equal(c,u,s)){if(cn.lessThan(c,u,s)||Ko(c))return l?-1:1;
703if(cn.greaterThan(c,u,s)||Ko(u))return l?1:-1;throw new Error("Invalid comparison result.")}}return this.collection.compareItems(r,i)})}},b4=class{constructor(e,t,n){this.expression=e,this.direction=t,this.collation=n}},x4=class extends Ir{constructor(e,t,n){super(),this.childPlan=e,this.offsetExpression=t,this.limitExpression=n}inspect(){var e,t;return{label:`SliceItemsPlan(LIMIT ${((e=this.limitExpression)==null?void 0:e.stringify())??"Infinity"}, OFFSET ${((t=this.offsetExpression)==null?void 0:t.stringify())??"0"}) ${_r(this.executionTime-this.childPlan.executionTime,this.executionTime)} ${An(this.itemCount)}`,nodes:[this.childPlan.inspect()]}}getOffset(){var e;let t=(e=this.offsetExpression)==null?void 0:e.evaluate();if(!(Ko(t)||t.type!=="number"))return t.value}getLimit(){var e;let t=(e=this.limitExpression)==null?void 0:e.evaluate();if(!(Ko(t)||t.type!=="number"))return t.value}async _execute(){let e=await this.childPlan.execute(),t=this.getOffset()??0,n=this.getLimit()??1/0;return e.slice(t,t+n)}},_u=class extends Map{constructor(e=[]){super();for(let t of e)this.set(t.pointer,t)}union(e){let t=new _u;for(let[n,r]of this)t.set(n,r);for(let[n,r]of e)t.set(n,r);return t}intersection(e){let t=new _u;for(let[n,r]of this)e.has(n)&&t.set(n,r);return t}items(){return[...this.values()]}},w4=class{constructor(e){this.collections=e,R(this,"cache",new Map)}resolve(e,t){let n=this.cache.get(e)??new Map;this.cache.set(e,n);let r=n.get(t);if(r)return r;for(let i of this.collections)if(e in i.schema){let o=i.resolveRichText(t);return n.set(t,o),o}throw new Error(`Rich text field not found: ${e}`)}};function S4(e){return e.collection?`"${e.collection}"."${e.name}"`:`"${e.name}"`}function k4(e){return typeof e.value=="string"?`'${e.value}'`:e.value}function C4(e){return`${e.functionName}(${e.arguments.map(t=>Yt(t)).join(", ")})`}function T4(e){let t="CASE";e.value&&(t+=` ${Yt(e.value)}`);for(let n of e.conditions)t+=` WHEN ${Yt(n.when)} THEN ${Yt(n.then)}`;return e.else&&(t+=` ELSE ${e.else}`),t+=" END",t}function E4(e){let t=Yt(e.value);return`${e.operator.toUpperCase()} ${t}`}function R4(e){let t=Yt(e.left),n=Yt(e.right),r=e.operator.toUpperCase();return`${t} ${r} ${n}`}function P4(e){return`CAST(${Yt(e.value)} as ${e.dataType})`}function Yt(e){switch(e.type){case"Identifier":return S4(e);case"LiteralValue":return k4(e);case"FunctionCall":return C4(e);case"Case":return T4(e);case"UnaryOperation":return E4(e);case"BinaryOperation":return R4(e);case"TypeCast":return P4(e);default:Oe(e)}}function _4(e){return cC(e.data)?"Collection":e.alias?`"${e.data.displayName}" AS "${e.alias}"`:`"${e.data.displayName}"`}function I4(e){let t=`${bm(e.left)} LEFT JOIN ${bm(e.right)}`;return e.constraint&&(t+=` ON ${Yt(e.constraint)}`),t}function bm(e){switch(e.type){case"Collection":return _4(e);case"LeftJoin":return I4(e);default:Oe(e)}}function F4(e){let t="";return e.split(/\s+/u).forEach(r=>{r!==""&&(["SELECT","FROM","WHERE","ORDER","LIMIT","OFFSET"].includes(r)?t+=`
704${r}`:["AND","OR"].includes(r)?t+=`
705	${r}`:t+=` ${r}`)}),t.trim()}function M4(e){let t="";return t+=`SELECT ${e.select.map(n=>{let r=Yt(n);return n.alias?`${r} AS "${n.alias}"`:r}).join(", ")}`,t+=` FROM ${bm(e.from)}`,e.where&&(t+=` WHERE ${Yt(e.where)}`),e.orderBy&&(t+=` ORDER BY ${e.orderBy.map(n=>`${Yt(n)} ${n.direction??"asc"}`).join(", ")}`),e.limit&&(t+=` LIMIT ${Yt(e.limit)}`),e.offset&&(t+=` OFFSET ${Yt(e.offset)}`),F4(t)}var L4=M5("query-engine");function O4({data:e},t){if(O5(e))return new A5(e,t);if(cC(e))return e;if(D5(e)){for(;t;){let n=e.collectionByLocaleId[t.id];if(n)return n;t=t.fallback}return e.collectionByLocaleId.default}Oe(e,"Unsupported collection type")}var mj=class{async query(e,t){return this.queryOld(e,t)}async queryOld(e,t){let[n,r,i]=this.createQueryPlan(e,t),o=await this.executeQueryPlan(r,i,e,n);return L4.debug(`Query:
706${M4(e)}
707
708${(0,F5.default)(n.inspect())}`),o}buildFrom(e,t,n,r){switch(e.type){case"Collection":{let i=O4(e,r);return n.push(i),Object.assign(t,i.schema),new pC(i,e.alias)}case"LeftJoin":{let i=this.buildFrom(e.left,t,n,r),o=this.buildFrom(e.right,t,n,r),a=Rt.from(e.constraint,t);return new p4(i,o,a)}default:Oe(e,"Unsupported data source")}}createQueryPlan(e,t){var n;let r={},i=[],o=this.buildFrom(e.from,r,i,t),[a]=i;ce(a,"At least one collection must exist");let s=new w4(i);if(e.where){let f=Rt.from(e.where,r);i.length===1?o=xm(a,f):o=new mC(o,f)}let l=(n=e.orderBy)==null?void 0:n.map(f=>new b4(Rt.from(f,r),f.direction??"asc",{type:0}));o=new y4(o,l??[],a);let c;e.offset&&(c=Rt.from(e.offset,r));let u;return e.limit&&(u=Rt.from(e.limit,r)),(c||u)&&(o=new x4(o,c,u)),e.select.length>0&&i.length===1&&(o=new g4(o,a,s,e.select)),[o,r,s]}async executeQueryPlan(e,t,n,r){let i=await r.execute();return Promise.all(i.map(async o=>{let a={};for(let s of n.select){let l=Rt.from(s,e),c=D4(s),u=l.evaluate(o);a[c]=await A4(t,s.type==="Identifier"?s.name:void 0,u)}return a}))}};function D4(e){if(e.alias)return e.alias;if(e.type==="Identifier")return e.name;throw new Error("Can't serialize expression")}async function A4(e,t,n){return Ko(n)?null:n.type==="richtext"?(ce(fe(t),"Rich text field must be a string"),e.resolve(t,n.value)):n.value}function xm(e,t){if(t instanceof zi){let n=t.operandExpressions.map(r=>xm(e,r));return new v4(n)}if(t instanceof Cs){let n=t.operandExpressions.map(r=>xm(e,r));return new m4(n)}return V4(e,t)??$4(e,t)}function V4(e,t){var n,r;if(t instanceof Dn)return nm(e,t);if(t instanceof Ys)return B4(e,t);if(t instanceof bt&&((n=t.definition)==null?void 0:n.type)==="boolean"){let i=Ce.fromBoolean(!0),o=new Zo(t,i);return nm(e,o)}if(t instanceof Ls&&t.valueExpression instanceof bt&&((r=t.valueExpression.definition)==null?void 0:r.type)==="boolean"){let i=Ce.fromBoolean(!0),o=new Jo(t.valueExpression,i);return nm(e,o)}}function nm(e,t){let n=t.leftExpression,r=t.rightExpression;if(r instanceof Ce)for(let i of e.indexes){let o=i.fields[0];if(yt(o))continue;let a=Rt.from(o,e.schema);if(!n.equals(a))continue;let s=new Array(i.fields.length-1).fill({type:"All"});if(t instanceof Zo&&i.supportedLookupTypes.includes("Equals"))return new Rr(i,[{type:"Equals",value:r.evaluate()},...s]);if(t instanceof Jo&&i.supportedLookupTypes.includes("NotEquals"))return new Rr(i,[{type:"NotEquals",value:r.evaluate()},...s]);if(t instanceof Ds&&i.supportedLookupTypes.includes("LessThan"))return new Rr(i,[{type:"LessThan",value:r.evaluate(),inclusive:!1},...s]);if(t instanceof As&&i.supportedLookupTypes.includes("LessThan"))return new Rr(i,[{type:"LessThan",value:r.evaluate(),inclusive:!0},...s]);if(t instanceof Vs&&i.supportedLookupTypes.includes("GreaterThan"))return new Rr(i,[{type:"GreaterThan",value:r.evaluate(),inclusive:!1},...s]);if(t instanceof Bs&&i.supportedLookupTypes.includes("GreaterThan"))return new Rr(i,[{type:"GreaterThan",value:r.evaluate(),inclusive:!0},...s])}}function B4(e,t){if(t.argumentExpressions.length!==2)return;let n=t.argumentExpressions[0],r=t.argumentExpressions[1];if(!yt(n)&&!yt(r)&&r instanceof Ce)for(let i of e.indexes){let o=i.fields[0];if(yt(o))continue;let a=Rt.from(o,e.schema);if(!n.equals(a))continue;let s=new Array(i.fields.length-1).fill({type:"All"});if(t instanceof $u&&i.supportedLookupTypes.includes("Contains"))return new Rr(i,[{type:"C
708ontains",value:r.evaluate()},...s]);if(t instanceof zu&&i.supportedLookupTypes.includes("StartsWith"))return new Rr(i,[{type:"StartsWith",value:r.evaluate()},...s]);if(t instanceof Nu&&i.supportedLookupTypes.includes("EndsWith"))return new Rr(i,[{type:"EndsWith",value:r.evaluate()},...s])}}function $4(e,t){let n=new pC(e,void 0);return new mC(n,t)}var vu="default",z4=new Set([vu]),gu,N4=class{constructor(){R(this,"entries",new Map),Zt(this,gu,{})}set(e,t,n,r){switch(t){case"transformTemplate":{ce(typeof n=="string",`transformTemplate must be a string, received: ${n}`),this.setHash(e,r,{transformTemplate:n,legacy:!0});break}case"initial":case"animate":{ce(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=vu,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 vu;let n=ue(this,gu)[e];if(n)return n;let r=t?.variantClassNames[e];return r?ue(this,gu)[e]=sC(r):vu}setAll(e,t=z4,n,r){var i;if(n===null){for(let c of t)this.setHash(e,this.variantHash(c,r),null);return}let o=ji(n.transformTemplate)?(i=n.transformTemplate)==null?void 0:i.call(n,{},j4):void 0,a=n.__framer__presenceInitial??n.initial,s=n.__framer__presenceAnimate??n.animate,l={initial:_e(a)?a:void 0,animate:_e(s)?s:void 0,transformTemplate:fe(o)?o:void 0};for(let c of t)this.setHash(e,this.variantHash(c,r),l)}clear(){this.entries.clear()}toObject(){return Object.fromEntries(this.entries)}};gu=new WeakMap;var H4=new N4;function yj(e){return x.forwardRef(({optimized:t,...n},r)=>{let i=x.useContext(Xk),o=x.useContext(Xm),a=n[W4];return a&&!rr()&&H4.setAll(a,o,t?n:null,i),k(e,{ref:r,...n})})}var j4="__Appear_Animation_Transform__";var W4="data-framer-appear-id",bj="data-framer-appear-animation";function rm(e,t){e.forEach(n=>clearTimeout(n)),e.clear(),t.forEach(n=>n&&n("Callback cancelled by variant change")),t.clear()}function mS(){return new Set}function wj(e){let t=Gt(mS),n=Gt(mS);return eV(()=>()=>rm(n,t)),x.useEffect(()=>()=>rm(n,t),[t,n]),x.useEffect(()=>{rm(n,t)},[e,t,n]),x.useRef({activeVariantCallback:r=>(...i)=>new Promise((o,a)=>{t.add(a),r(...i).then(o)}).catch(()=>{}),delay:async(r,i)=>{await new Promise(o=>n.add(globalThis.setTimeout(()=>o(!0),i))),r()}}).current}function U4(e,t,n){return x.useCallback(r=>{var i,o,a;return n?e?t?Object.assign({},(i=n[e])==null?void 0:i[r],(o=n[t])==null?void 0:o[r]):((a=n[e])==null?void 0:a[r])||{}:{}:{}},[e,t,n])}function X4(e){for(let[t,n]of Object.entries(e))if(nt.matchMedia(n).matches)return t}function Y4(e){var t;for(let{hash:n,mediaQuery:r}of e){if(!r)continue;if(nt.matchMedia(r).matches)return n}return(t=e[0])==null?void 0:t.hash}function Cj(e,t,n=!0){let r=V(Ok),i=A(rr()?X4(t)??e:e),o=A(n&&r?e:i.current),a=Du(),s=V0(),l=oe(c=>{(c!==i.current||c!==o.current)&&s(()=>{i.current=o.current=c,sr(()=>{a()})})},[s,a]);return vk(()=>{!n||r!==!0||l(i.current)},[]),N(()=>{let c=[];for(let[u,f]of Object.entries(t)){let d=nt.matchMedia(f),p=y=>{y.matches&&l(u)};G4(d,p),c.push([d,p])}return()=>c.forEach(([u,f])=>q4(u,f))},[t,l]),[i.current,o.current]}function G4(e,t){e.addEventListener?e.addEventListener("change",t):e.addListener(t)}function q4(e,t){e.removeEventListener?e.removeEventListener("change",t):e.removeListener(t)}function Tj(e){var t,n;let r=Y4(e);if(r)for(let i of document.querySelectorAll(".hidden-"+r))(t=i.parentNode)==null||t.removeChild(i);for(let i of document.querySelectorAll(".ssr-variant:empty"))(n=i.parentNode)==null||n.removeChild(i)}function ju(){return le.current()===le.canvas}function vS(e,t){return`${e}-${t}`}function K4(e,t){let r=e.indexOf(t)+1;r>=e.length&&(r=0);let i=e[r];return ce(i!==void 0,"nextVariant should be defined"),i}function Q4(e,t){if(e){if(t){let n=e[t];if(n)return n}return e.default}}function gS(e,t,n,r,i){let{hover:o,pressed:a,loading:s,error:l}=e||{};if(l&&i)return"error";if(s&&r)return"loading";if(a&&n)return"pressed";if(o&&t)return"hover"}function Z4(e,t){let n=t[e];return n||`framer-v-${e}`}function yS(e,t,n){return e&&n.has(e)?e:t}var J4=Symbol("cycle");function Aj({variant:e,defaultVariant:t,transitions:n,enabledGestures:r,cycleOrder:i=[],variantProps:o={},variantClassNames:a={}}){let s=Du(),l=ju(),c=Gt(()=>new Set(i)),u=x.useRef({isHovered:!1,isPressed:!1,isError:!1,hasPressedVariants:!0,baseVariant:yS(e,t,c),lastVariant:e,gesture
708Variant:void 0,loadedBaseVariant:{},defaultVariant:t,enabledGestures:r,cycleOrder:i,transitions:n}),f=x.useCallback(T=>{let{isHovered:M,isPressed:I,isError:B,enabledGestures:D,defaultVariant:X}=u.current,H=yS(T,X,c),z=gS(D?.[H],M,I,!1,B),j=z?vS(H,z):void 0;return[H,j]},[c]),d=x.useCallback(({isHovered:T,isPressed:M,isError:I})=>{T!==void 0&&(u.current.isHovered=T),M!==void 0&&(u.current.isPressed=M),I!==void 0&&(u.current.isError=I);let{baseVariant:B,gestureVariant:D,defaultVariant:X}=u.current,[H,z]=f(B);(H!==B||z!==D)&&(u.current.baseVariant=H||X,u.current.gestureVariant=z,s())},[f,s]),p=x.useCallback(T=>{let{defaultVariant:M,cycleOrder:I,baseVariant:B,gestureVariant:D}=u.current,X=T===J4?K4(I||[],B||M):T,[H,z]=f(X);(H!==B||z!==D)&&(u.current.isError=!1,u.current.baseVariant=H||M,u.current.gestureVariant=z,s())},[f,s]),y=x.useCallback(()=>{let{baseVariant:T}=u.current;u.current.loadedBaseVariant[T]=!0,s()},[s]);if(e!==u.current.lastVariant){let[T,M]=f(e);u.current.lastVariant=T,(T!==u.current.baseVariant||M!==u.current.gestureVariant)&&(u.current.baseVariant=T,u.current.gestureVariant=M)}let{baseVariant:g,gestureVariant:b,defaultVariant:h,enabledGestures:m,isHovered:v,isPressed:w,isError:C,loadedBaseVariant:S}=u.current,E=U4(u.current.baseVariant,u.current.gestureVariant,o);return x.useMemo(()=>{var T;let M=[];g!==h&&M.push(g);let I=(T=m?.[g])==null?void 0:T.loading,B=!C&&!l&&!!I&&!S[g],D=B?vS(g,"loading"):b;D&&M.push(D);let X=m?.[g],H={onMouseEnter:()=>d({isHovered:!0}),onMouseLeave:()=>d({isHovered:!1})};return X?.pressed&&Object.assign(H,{onTapStart:()=>d({isPressed:!0}),onTapCancel:()=>d({isPressed:!1}),onTap:()=>d({isPressed:!1})}),{variants:M,baseVariant:g,gestureVariant:D,isLoading:B,transition:Q4(u.current.transitions,g),setVariant:p,setGestureState:d,clearLoadingGesture:y,addVariantProps:E,gestureHandlers:H,classNames:Qo(Z4(g,a),gS(X,v,w,B,C))}},[g,b,v,w,S,E,p,h,m,d,y,a])}var eB=x.createContext(void 0),tB=()=>x.useContext(eB);var nB={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}
708,"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}}},rB={"__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"},bS=nB;var iB="System Default",oB=class{constructor(){R(this,"name","local"),R(this,"fontFamilies",[]),R(this,"byFamilyName",new Map),R(this,"fontAliasBySelector",new Map),R(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 r of Object.keys(bS)){let i=bS[r];if(!i)continue;let o=this.createFontFamily(r);for(let a of Object.keys(i)){let s=i[a];if(!s)continue;let{selector:l,weight:c}=s,u={variant:a,selector:l,weight:c,family:o};o.fonts.push(u)}e.push(...o.fonts)}for(let[r,i]of Object.entries(rB))this.addFontAlias(r,i);let{fontFamily:t,aliases:n}=this.getSystemFontFamily();this.addFontFamily(t);for(let[r,i]of n)this.addFontAlias(r,i);return e.push(...t.fonts),e}addFontAlias(e,t){this.fontAliases.set(e,t),this.fontAliasBySelector.set(t,e)}getSystemFontFamily(){let e="system-ui|-apple-system|BlinkMacSystemFont|Segoe UI|Roboto|Oxygen|Ubuntu|Cantarell|Fira Sans|Droid Sans|Helvetica Neue|sans-serif",t={name:iB,fonts:[],source:this.name},n=new Map,r=[400,100,200,300,500,600,700,800,900],i=["normal","italic"];for(let o of i)for(let a of r){let s=aB(a,o),l=`__SystemDefault-${a}-${o}__`,c={variant:s,selector:l,style:o,weight:a,family:t};t.fonts.push(c),n.set(l,e)}return{fontFamily:t,aliases:n}}getFontAliasBySelector(e){return this.fontAliasBySelector.get(e)||null}getFontSelectorByAlias(e){return this.fontAliases.get(e)||null}isFontFamilyAlias(e){return!!(e&&/^__.*__$/u.exec(e))}},xS={100:"Thin",200:"Extra Light",300:"Light",400:"Normal",500:"Medium",600:"Semi Bold",700:"Bold",800:"Extra Bold",900:"Black"};function aB(e,t){let n=t==="normal"?"Regular":"Italic";
708return e===400?n:t!=="normal"?`${xS[e]} ${n}`:`${xS[e]}`}var sB=jn(Sm(),1),Xo="CUSTOM;";function lB(e,t){if(!t)return e.substring(0,e.lastIndexOf("."));let n=t.font.preferredFamily===""?t.font.fontFamily:t.font.preferredFamily,r=t.font.preferredSubFamily===""?t.font.fontSubFamily:t.font.preferredSubFamily;return`${n} ${r}`}var cB=class{constructor(){R(this,"name","custom"),R(this,"fontFamilies",[]),R(this,"byFamilyName",new Map),R(this,"assetsByFamily",new Map)}importFonts(e){var t,n;this.fontFamilies.length=0,this.byFamilyName.clear(),this.assetsByFamily.clear();let r=[];for(let i of e){if(!this.isValidCustomFontAsset(i))continue;let o=lB(i.name,i.properties),a=this.createFontFamily(o),s=(t=i.properties)==null?void 0:t.font.openTypeData,l={family:a,selector:`${Xo}${o}`,variant:this.inferVariantName(o),postscriptName:(n=i.properties)==null?void 0:n.font.postscriptName,file:i.url,openTypeFeatures:this.validateOpenTypeData(s)};a.fonts.push(l),a.owner=i.ownerType==="team"?"team":"project",this.assetsByFamily.set(o,i),r.push(...a.fonts)}return r}isValidCustomFontAsset(e){var t;return!e.mimeType.startsWith("font/")||((t=e.properties)==null?void 0:t.kind)!=="font"||!e.properties.font?!1:"fontFamily"in e.properties.font}validateOpenTypeData(e){if(e&&Array.isArray(e))return e.map(t=>{if(this.isOpenTypeFeature(t))return{tag:t.tag,coverage:t.coverage}})}isOpenTypeFeature(e){return!(typeof e!="object"||e===null||!("tag"in e)||typeof e.tag!="string"||"coverage"in e&&typeof e.coverage<"u"&&!Array.isArray(e.coverage))}inferVariantName(e){let t=["thin","ultra light","extra light","light","normal","medium","semi bold","bold","extra bold","black"],n=[...t.map(a=>`${a} italic`),...t],r=e.toLowerCase(),i=[...r.split(" "),...r.split("-"),...r.split("_")],o=n.find(a=>i.includes(a)||i.includes(a.replace(/\s+/gu,"")));return o?o.replace(/^\w|\s\w/gu,a=>a.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)}parseSelector(e){if(!e.startsWith(Xo))return null;let t=e.split(Xo);return t[1]===void 0?null:{source:"custom",name:t[1]}}getFontBySelector(e,t=!0){let n=this.parseSelector(e);if(!n||!t&&!this.byFamilyName.get(n.name))return;let r=this.getFontFamilyByName(n.name).fonts;return r.find(o=>{var a;return(a=o.file)==null?void 0:a.endsWith(".woff2")})||r[0]}getFontFamilyByName(e){let t=this.byFamilyName.get(e);if(t)return t;let n={source:"custom",name:e,fonts:[]};return n.fonts.push({selector:`${Xo}${e}`,variant:this.inferVariantName(e),family:n}),n}};function vC(e,t,n){if(t.length===0)return{};let r=n(e);if(!r)return{};let{weight:i,style:o}=r,a=new Map,s=new Map;t.forEach(f=>{let d=fe(f)?f:f.name.toLocaleLowerCase(),p=n(d);p&&(a.set(`${p.weight}-${p.style}`,d),!(p.weight<=i)&&(s.has(p.style)||s.set(p.style,d)))});let l=s.get(o),c=s.get("italic")??s.get("oblique");r.weight<=300?(l=a.get(`400-${o}`)??l,c=a.get("400-italic")??a.get("400-oblique")??c):r.weight<=500?(l=a.get(`700-${o}`)??l,c=a.get("700-italic")??a.get("700-oblique")??c):(l=a.get(`900-${o}`)??l,c=a.get("900-italic")??a.get("900-oblique")??c);let u=a.get(`${i}-italic`)??a.get(`${i}-oblique`);return{variantBold:l,variantItalic:u,variantBoldItalic:c}}var uB=["display","sans","serif","slab","handwritten","script"];function fB(e){return e.split(",").map(t=>t.trim().toLowerCase()).filter(dB)}function dB(e){return uB.includes(e)}var yu="FS;",gC={thin:100,hairline:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,ultra:800,black:900,heavy:900},yC=Object.keys(gC),hB=(()=>new RegExp(`^(?:${[...yC,"italic"].join("|")})`,"u"))(),li=class{constructor(){R(this,"name","fontshare"),R(this,"fontFamilies",[]),R(this,"byFamilyName",new Map)}getFontFamilyByName(e){return this.byFamilyName.get(e)??null}static parseVariant(e){let t=e.split(" "),n=yC.find(a=>t.includes(a)),r=e.includes("italic")?"italic":"normal";return{weight:n&&gC[n]||400,style:r==="italic"?r:"normal"}}parseSelector(e){if(!e.startsWith(yu))return null;let t=e.split("-");if(t.length!==2)return null;let[n,r]=t;return!n||!r?null:{name:n.replace(yu,""),variant:r,source:this.name}}static createSelector(e,t){return`${yu}${e}-${t.toLowerCase()}`}addFontFamily(e){this.fontFamilies.push(e),this.byFamilyName.set(e.name,e)}importFonts(e){this.fontFamilies.length=0,this.byFamilyName.clear();let t=[];for(let n of e){let r=n.font_styles.filter(i=>{let o=i.name.toLowerCase();return!(!hB.exec(o)||o.endsWith("wide"))});for(let i of r){let{name:o}=n,a=i.name.toLowerCase(),s=this.getFontFamilyByName(o);s||(s={name:o,fonts:[],source:this.name},this.addFontFamily(s));let l=li.createSelector(o,a),c=li.parseVariant(a)||{weight:void 0,style:void 0},{weight:u,style:f}
708=c,{variantBold:d,variantBoldItalic:p,variantItalic:y}=vC(a,r,li.parseVariant),g={family:s,variant:a,selector:l,selectorBold:d?li.createSelector(o,d):void 0,selectorBoldItalic:p?li.createSelector(o,p):void 0,selectorItalic:y?li.createSelector(o,y):void 0,weight:u,style:f,file:i.file,category:pB(n.category)};s.fonts.push(g),t.push(g)}}return t}};function pB(e){let t={serif:"serif",sans:"sans-serif",slab:"slab",display:"display",handwritten:"handwriting",script:"handwriting"},n=fB(e)[0];return n&&t[n]}var mB="Inter",vB="FR;",gB={Thin:100,ExtraLight:200,Light:300,"":400,Medium:500,SemiBold:600,Bold:700,ExtraBold:800,Black:900},wS=class{constructor(){R(this,"name","framer"),R(this,"fontFamilies",[]),R(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(vB)&&!e.startsWith(mB))return null;let t=e.split("-"),[n,r=""]=t;if(!n)return null;let i=r.includes("Italic")?"italic":"normal",o=r.replace("Italic",""),a=o&&gB[o]||400;return{family:n,style:i,weight:a,source:"framer",variant:void 0,category:"sans-serif"}}importFonts(e){this.fontFamilies.length=0,this.byFamilyName.clear();let t=[];return e.forEach(n=>{let{familyName:r,...i}=n,o=this.getFontFamilyByName(r);o||(o=this.addFontFamily(r));let a={...i,family:o};o.fonts.push(a),t.push(a)}),t}},bu="GF;",ci=class{constructor(){R(this,"name","google"),R(this,"fontFamilies",[]),R(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)?/.exec(e);if(!t)return null;let n=parseInt(t[1]||"400"),r=t[2]==="italic"?"italic":"normal";return{weight:n,style:r}}parseSelector(e){if(!e.startsWith(bu))return null;let t=e.split("-");if(t.length!==2)return null;let[n,r]=t;return!n||!r?null:{name:n.replace(bu,""),variant:r,source:this.name}}static createSelector(e,t){return`${bu}${e}-${t}`}addFontFamily(e){let t={name:e,fonts:[],source:this.name};return this.fontFamilies.push(t),this.byFamilyName.set(t.name,t),t}importFonts(e){this.fontFamilies.length=0,this.byFamilyName.clear();let t=[];return e.forEach(n=>
708{n.variants.forEach(r=>{var i;let o=n.family,a=this.getFontFamilyByName(o);a||(a=this.addFontFamily(o));let s=ci.parseVariant(r)??{},{weight:l,style:c}=s,u=ci.createSelector(o,r),{variantBold:f,variantItalic:d,variantBoldItalic:p}=vC(r,n.variants,ci.parseVariant),y={family:a,variant:r,selector:u,selectorBold:f?ci.createSelector(o,f):void 0,selectorBoldItalic:p?ci.createSelector(o,p):void 0,selectorItalic:d?ci.createSelector(o,d):void 0,weight:l,style:c,category:yB(n.category),file:(i=n.files[r])==null?void 0:i.replace("http://","https://")};a.fonts.push(y),t.push(y)})}),t}};function yB(e){let t={serif:"serif","sans-serif":"sans-serif",display:"display",handwriting:"handwriting",monospace:"monospace"};if(e)return t[e]}var bB=jn(uM(),1),SS=5e3,xB=3,bC=class extends Error{constructor(e){super(e),this.name="FontLoadingError"}},im=new Map,om=new Map,wB=(e,t)=>xC(e,t);async function xC(e,t,n=0){let{family:r,url:i,stretch:o,unicodeRange:a}=e,s=e.weight||500,l=e.style||"normal",c=`${r}-${l}-${s}-${i}`;if(!im.has(c)||n>0){let u=new FontFace(r,`url(${i})`,{weight:fe(s)?s:s?.toString(),style:l,stretch:o,unicodeRange:a}),f=u.load().then(()=>(t.fonts.add(u),wC(r,l,s))).catch(d=>{if(d.name!=="NetworkError")throw d;if(n<xB)return xC(e,t,n+1);throw new bC(`Font loading failed after ${n} retries due to network error: ${JSON.stringify({family:r,style:l,weight:s,url:i,stretch:o,unicodeRange:a})}`)});im.set(c,f)}await im.get(c)}async function wC(e,t,n){let r=`${e}-${t}-${n}`;if(!om.has(r)){let o=new bB.default(e,{style:t,weight:n}).load(null,SS);om.set(r,o)}try{await om.get(r)}catch{throw new bC(`Failed to check if font is ready (${SS}ms timeout exceeded): ${JSON.stringify({family:e,style:t,weight:n})}`)}}var SB=class{constructor(){R(this,"enabled",!1),R(this,"bySelector",new Map),R(this,"getGoogleFontsListPromise"),R(this,"getFontshareFontsListPromise"),R(this,"loadedSelectors",new Set),R(this,"local"),R(this,"google"),R(this,"fontshare"),R(this,"framer"),R(this,"custom"),this.local=new oB,this.google=new ci,this.fontshare=new li,this.framer=new wS,this.custom=new cB,this.bySelector=new Map,this.importLocalFonts()}addFont(e){this.bySelector.set(e.selector,e)}getAvailableFonts(){return Array.from(this.bySelector.values())}importLocalFonts(){for(let e of this.local.importFonts())this.addFont(e),this.loadFont(e)}async importGoogleFonts(){if(!this.getGoogleFontsListPromise){this.getGoogleFontsListPromise=ct.fetchGoogleFontsList();let e=await this.getGoogleFontsListPromise;for(let t of this.google.importFonts(e))this.addFont(t)}return this.getGoogleFontsListPromise}async importFontshareFonts(){if(!this.getFontshareFontsListPromise){this.getFontshareFontsListPromise=ct.fetchFontshareFontsList();let e=await this.getFontshareFontsListPromise;for(let t of this.fontshare.importFonts(e))this.addFont(t)}return this.getFontshareFontsListPromise}importFramerFonts(e){this.framer.importFonts(e).forEach(t=>{this.addFont(t)})}importCustomFonts(e){this.bySelector.forEach((t,n)=>{n.startsWith(Xo)&&this.bySelector.delete(n)});for(let t of this.custom.importFonts(e))this.addFont(t)}getFontFamily(e){return this[e.source].getFontFamilyByName(e.name)}getFontBySelector(e,t=!0){if(e)return e.startsWith(Xo)?this.custom.getFontBySelector(e,t):this.bySelector.get(e)}getDraftPropertiesBySelector(e){let t=this.getFontBySelector(e);if(t)return{style:t.style,weight:t.weight,variant:t.variant,family:t.family.name,source:t.family.source,category:t.category};let n=this.google.parseSelector(e);if(n){let o=ci.parseVariant(n.variant);if(o)return{style:o.style,weight:o.weight,variant:n.variant,family:n.name,source:"google",category:void 0}}let r=this.fontshare.parseSelector(e);if(r){let o=li.parseVariant(r.variant);if(o)return{style:o.style,weight:o.weight,variant:r.variant,family:r.name,source:"fontshare",category:void 0}}let i=wS.getDraftFontPropertiesBySelector(e);return i||null}isSelectorLoaded(e){return this.loadedSelectors.has(e)}async loadFont(e){if(this.isSelectorLoaded(e.selector))return 0;let t=e.family.source;switch(t){case"local":return this.loadedSelectors.add(e.selector),1;case"framer":return sB.default.env.NODE_ENV!=="test"&&await wC(e.family.name,e.style,e.weight),this.loadedSelectors.add(e.selector),1;
708case"google":case"fontshare":case"custom":return e.file?(await wB({family:e.family.name,url:e.file,weight:e.weight,style:e.style},document),this.loadedSelectors.add(e.selector),1):Promise.reject(`Unable to load font: ${e.selector}`);default:Oe(t)}}async loadFontsFromSelectors(e){if(!this.enabled)return[];let t=e.some(i=>i.startsWith(bu)),n=e.some(i=>i.startsWith(yu));if(t||n){try{await this.importFontshareFonts()}catch(i){Rs("Failed to load Fontshare fonts:",i)}try{await this.importGoogleFonts()}catch(i){Rs("Failed to load Google fonts:",i)}}let r=e.map(i=>this.bySelector.get(i)).filter(i=>!!i);return Promise.allSettled(r.map(i=>this.loadFont(i)))}async loadFonts(e){return{newlyLoadedFontCount:(await this.loadFontsFromSelectors(e)).filter(r=>r.status==="fulfilled"&&r.value===1).length}}async loadMissingFonts(e,t){let n=e.filter(i=>!xu.isSelectorLoaded(i));if(n.length===0)return;await xu.loadWebFontsFromSelectors(n),n.every(i=>xu.isSelectorLoaded(i))&&t&&t()}async loadWebFontsFromSelectors(e){return this.loadFontsFromSelectors(e)}get defaultFont(){let e=this.getFontBySelector("Inter");return ce(e,"Can\u2019t find Inter font"),e}},xu=new SB;Promise.allSettled=Promise.allSettled||(e=>Promise.all(e.map(t=>t.then(n=>({status:"fulfilled",value:n})).catch(n=>({status:"rejected",reason:n})))));var SC=(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.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.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.WrapperHeight="--framer-input-wrapper-height",e))(SC||{}),we=SC,Ut="framer-form-input",Wu="framer-form-input-wrapper",kC="framer-form-input-empty",kS="framer-form-input-forced-focus";function kB(e){return typeof e=="number"?e:e.startsWith("--")?U.variable(e):e===""?'""':e}function U(e,t){let n=" ";for(let r in t){let i=t[r];n+=`${r.replace(/([A-Z])/gu,"-$1").toLowerCase()}: ${kB(i)}; `}return e+" {"+n+"}"}(e=>{function t(...n){let r=n[n.length-1],i=r.startsWith("--")?`var(${r})`:r;for(let o=n.length-2;o>=0;o--)i=`var(${n[o]}, ${i})`;return i}e.variable=t})(U||(U={}));var CB=[U(`.${Ut}`,{padding:U.variable(we.Padding),background:"transparent",fontFamily:U.variable(we.FontFamily),fontWeight:U.variable(we.FontWeight),fontSize:U.variable(we.FontSize),fontStyle:U.variable(we.FontStyle),color:U.variable(we.FontColor),border:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",
708width:"100%",height:U.variable(we.WrapperHeight,"100%"),letterSpacing:U.variable(we.FontLetterSpacing),textAlign:U.variable(we.FontTextAlignment),lineHeight:U.variable(we.FontLineHeight)}),U(`.${Ut}:focus-visible`,{outline:"none"})],TB=(()=>[U(`.${Wu}`,{overflow:"hidden"})])(),EB=`var(${we.BorderTopWidth}) var(${we.BorderRightWidth}) var(${we.BorderBottomWidth}) var(${we.BorderLeftWidth})`,RB=[`.${Wu}:after {
709        content: "";
710        pointer-events: none;
711        box-sizing: border-box;
712        position: absolute;
713        top: 0;
714        left: 0;
715        width: 100%;
716        height: 100%;
717        border-top-left-radius: var(${we.BorderRadiusTopLeft});
718        border-top-right-radius: var(${we.BorderRadiusTopRight});
719        border-bottom-right-radius: var(${we.BorderRadiusBottomRight});
720        border-bottom-left-radius: var(${we.BorderRadiusBottomLeft});
721        border-color: var(${we.BorderColor});
722        border-top-width: var(${we.BorderTopWidth});
723        border-right-width: var(${we.BorderRightWidth});
724        border-bottom-width: var(${we.BorderBottomWidth});
725        border-left-width: var(${we.BorderLeftWidth});
726        border-style: var(${we.BorderStyle});
727        transition: var(${we.FocusedTransition});
728        transition-property: border-color, border-width, border-style, border-top-left-radius, border-top-right-radius, border-bottom-right-radius, border-bottom-left-radius;
729    }`],PB="customError",_B="valid";function IB(e){return e!==PB&&e!==_B}function CS(e){for(let t in e)if(IB(t)&&e?.[t]===!0)return!0;return!1}function FB(e,t,n,r,i){let o=x.useRef(null),a=x.useCallback(c=>{t&&o.current!==!1&&(o.current=!1,c.currentTarget.setCustomValidity(" "),c.currentTarget.reportValidity(),t(c))},[t]),s=x.useCallback(c=>{if(n?.(c),!t&&!e)return;let u=c.target.validity;o.current===!1&&!CS(u)&&(c.currentTarget.setCustomValidity(""),c.target.reportValidity(),o.current=!0,e?.())},[t,e,n]),l=x.useCallback(c=>{if(!t){r?.(c);return}if(o.current===!1)return;let u=c.currentTarget.validity;if(CS(u)){a(c);return}r?.(c)},[a,r,t]);return x.useMemo(()=>({onInvalid:a,onChange:s,onBlur:l,onFocus:i}),[a,s,l,i])}var am=10,sm=16,MB={content:"",display:"block",position:"absolute",right:0,top:0,bottom:0,width:`${sm}px`,boxSizing:"content-box",padding:U.variable(we.Padding),border:"none",pointerEvents:"none",backgroundRepeat:"no-repeat",backgroundSize:`${sm}px`,maskRepeat:"no-repeat",maskSize:`${sm}px`,backgroundColor:U.variable(we.IconColor)},LB={"data-1p-ignore":!0,"data-lpignore":!0,"data-form-type":"other",autocomplete:"off"},OB=x.forwardRef(function(t,n){let{autoFocus:r,className:i,inputName:o,max:a,min:s,placeholder:l,required:c,step:u,style:f,type:d,defaultValue:p,autofillEnabled:y,onChange:g,onBlur:b,onInvalid:h,onFocus:m,onValid:v,...w}=t,[C,S]=x.useState(!!p),E=x.useCallback(I=>{let B=I.target.value;g?.(I),S(!!B)},[g]),T=FB(v,h,E,b,m);N(()=>{S(!!p)},[p]);let M=y===!1?LB:void 0;return d==="hidden"?k(pt.input,{type:"hidden",name:o,defaultValue:p}):k(pt.div,{ref:n,style:f,className:Qo(Qe,Wu,i),...w,children:d==="textarea"?qi(pt.textarea,{...M,...T,key:p,required:c,autoFocus:r,name:o,placeholder:l,className:Ut,defaultValue:p}):qi(pt.input,{...M,...T,key:p,type:d,required:c,autoFocus:r,name:o,placeholder:l,className:Qo(Ut,!C&&kC),defaultValue:p,min:s,max:a,step:u})})}),DB=16,Qe="framer-form-text-input",AB='data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"><path d="m1.5 8 7-7M9 5.5l-3 3" stroke="%23999" stroke-width="1.5" stroke-linecap="round"></path></svg>',VB='data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="rgb(153, 153, 153)" d="M3 5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2H3Z" opacity=".3"/><path fill="transparent" stroke="rgb(153, 153, 153)" stroke-width="1.5" d="M3.25 5.25a2 2 0 0 1 2-2h5.5a2 2 0 0 1 2 2v5.5a2 2 0 0 1-2 2h-5.5a2 2 0 0 1-2-2ZM3 6.75h9.5"/></svg>',BB='data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="transparent" stroke="rgb(153, 153, 153)" stroke-width="1.5" d="M2.5 8a5.5 5.5 0 1 1 11 0 5.5 5.5 0 1 1-11 0Z"/><path fill="transparent" stroke="rgb(153, 153, 153)" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.75 8.25v-3m0 3h2"/></svg>',$B=(()=>[...CB,...RB,...TB,U(`.${Wu}
729`,{boxShadow:U.variable("--framer-input-box-shadow"),borderTopLeftRadius:U.variable("--framer-input-border-radius-top-left"),borderTopRightRadius:U.variable("--framer-input-border-radius-top-right"),borderBottomRightRadius:U.variable("--framer-input-border-radius-bottom-right"),borderBottomLeftRadius:U.variable("--framer-input-border-radius-bottom-left"),background:U.variable("--framer-input-background"),transition:U.variable("--framer-input-focused-transition"),transitionProperty:"background, box-shadow"}),U(`.${Qe} .${Ut}::placeholder`,{color:U.variable("--framer-input-placeholder-color")}),U(`.${Qe} .${Ut}[type="date"], .${Qe} .${Ut}[type="time"]`,{"-webkit-appearance":"none",appearance:"none"}),U(`.${Qe} .${Ut}::-webkit-date-and-time-value`,{textAlign:"start"}),U(`.${Qe} textarea`,{display:"flex",resize:U.variable("--framer-textarea-resize"),overflowY:"auto",minHeight:"inherit",maxHeight:"inherit",whiteSpace:"break-spaces"}),U(`.${Qe} textarea::-webkit-resizer`,{background:`no-repeat url('${AB}')`}),U(`.${Qe} textarea::-webkit-scrollbar`,{cursor:"pointer",background:"transparent"}),U(`.${Qe} textarea::-webkit-scrollbar-thumb:window-inactive`,{opacity:0}),U(`.${Qe} textarea::-webkit-scrollbar-corner`,{background:"none",backgroundColor:"transparent",outline:"none"}),U(`.${Qe} .${Ut}.${kC}::-webkit-datetime-edit`,{color:U.variable("--framer-input-placeholder-color"),"-webkit-text-fill-color":U.variable("--framer-input-placeholder-color"),height:U.variable("--framer-input-font-line-height"),overflow:"visible"}),U(`.${Qe} .${Ut}[type="date"]::before, .${Qe} .${Ut}[type="time"]::before`,{...MB,paddingLeft:`${am}px`,maskPosition:`${am}px center`,backgroundPosition:`${am}px center`}),U(`.${Qe} .${Ut}[type="date"]::before`,{maskImage:U.variable("--framer-input-icon-mask-image",`url('${VB}')`),backgroundImage:U.variable("--framer-input-icon-image")}),U(`.${Qe} .${Ut}[type="time"]::before`,{maskImage:U.variable("--framer-input-icon-mask-image",`url('${BB}')`),backgroundImage:U.variable("--framer-input-icon-image")}),U(`.${Qe} .${Ut}::-webkit-calendar-picker-indicator`,{opacity:0,position:"absolute",right:0,top:0,bottom:0,padding:U.variable("--framer-input-padding"),paddingTop:0,paddingBottom:0,width:`${DB}px`,height:"100%"}),U(`.${Qe}:focus-within, .${Qe}.${kS}`,{boxShadow:U.variable("--framer-input-focused-box-shadow","--framer-input-box-shadow"),background:U.variable("--framer-input-focused-background","--framer-input-background")}),U(`.${Qe}:focus-within::after, .${Qe}.${kS}::after`,{borderColor:U.variable("--framer-input-focused-border-color","--framer-input-border-color"),borderStyle:U.variable("--framer-input-focused-border-style","--framer-input-border-style"),borderWidth:U.variable("--framer-input-focused-border-width",EB)})])(),Kj=Uk(OB,$B);var rW=x.forwardRef(function(t,n){let{background:r,children:i,alt:o,...a}=t,s={...a.style};r&&delete s.background;let l=Ws(t.as);return se(l,{...a,style:s,ref:n,children:[r&&k(pk,{image:r,alt:o}),i]})});function zB(e,t){return e.length===t.length&&e.every((n,r)=>n===t[r])}var NB=/[^\p{Letter}\p{Number}()]+/gu,HB=/^-+|-+$/gu;function jB(e){return e.toLowerCase().replace(NB,"-").replace(HB,"")}var WB=/[&<>'"]/g,UB=e=>e.replace(WB,t=>({"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"})[t]||t),XB=/(<([a-z]+)(?:\s+(?!href[\s=])[^=\s]+=(?:'[^']*'|"[^"]*"))*)(?:(\s+href\s*=)(?:'([^']*)'|"([^"]*)"))?((?:\s+[^=\s]+=(?:'[^']*'|"[^"]*"))*>)/gi;function YB(e,t,n,r){return e.replace(XB,(i,o,a,s,l,c,u)=>{var f,d;if(a.toLowerCase()!=="a")return i;let p=l||c,y=Nm(p.replace(/&amp;/g,"&"));if(!y||!y.target)return i;let g=t(y.target);if(!Ew(g)||!Ew(n))return i;let b=g.path,h=n.path;if(!b||!h)return i;let m=` data-framer-page-link-target="${y.target}"`,v=Fu(g,y.element??void 0);v&&(m+=` data-framer-page-link-element="${y.element}"`);let w=Ru(p);if(!w||fe(w))return i;Jk(n,w,r)&&(m+=" data-framer-page-link-current");let C=b,S=Object.assign({},r,(f=y.collectionItem)==null?void 0:f.pathVariables);if(Object.keys(S).length>0&&(C=C.replace(Zk,(E,T)=>""+S[T])),(d=y.collectionItem)!=null&&d.pathVariables){let E=new URLSearchParams(y.collectionItem.pathVariables);m+=` data-framer-page-link-path-variables="${E}"`}return C=AS(h,C),o+s+`"${UB(C+(v?`#${v}`:""))}"`+m+u})}var GB={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},CC=/[&<>"']/gu,qB=(()=>new RegExp(CC.source))();function TS(e){return e&&qB.test(e)?e.replace(CC,t=>GB[t]??""):e||""}var ES="{{ text-placeholder }}",KB="rich-text-wrapper",QB=Ie(function(t,n){let{id:r,name:i,html:o,htmlFromDesign:a,text:s,textFromDesign:l,fonts:c=[],width:u,height:f,left:d,right:p,top:y,bottom:g,center:b,className:h,stylesPresetsClassName:m,visible:v=!0,opacity:w,rotation:C=0,verticalAlignment:S="top",isEditable:E=!1,willChangeTransform:T,environment:M=le.current,withExternalLayout:I=!1,positionSticky:B,positionStickyTop:D,positionStickyRight:X,positionStickyBottom:H,positionStickyLeft:z,__htmlStructure:j,__fromCanvasComponent:ee=!1,_forwardedOverrideId:te,_forwardedOverrides:G,_usesDOMRect:ne,children:ge,...re}=t,de=Hs(),ie=Us(t),ut=A(null),Te=n??ut,{navigate:Pt,getRoute:be}=Ui(),qt=zs();wL(t.preload??[]),Au(t,Te);let Sn=V(ea),kn=ju(),he=s,Vn=te??r;if(Vn&&G){let Xe=G[Vn];typeof Xe=="string"&&(he=Xe)}let rt="";if(he){let Xe=TS(he);rt=j?j.replace(ES,Xe):`<p>${Xe}</p>`}else if(o)rt=o;else if(l){let Xe=TS(l);rt=j?j.replace(ES,Xe):`<p>${Xe}</p>`}else a&&(rt=a);let un=jm(),qs=ae(()=>kn||!be||!qt?rt:YB(rt,be,qt,un),[kn,rt,be,qt,un]);if(N(()=>{let Xe=Te.current;if(Xe===null)return;function ir(Kt){let fi=zm(Kt.target,Te.current);if(Kt.metaKey||!Pt||!fi||fi.getAttribute("target")==="_blank")return;D3(Pt,fi,un)&&Kt.preventDefault()}return Xe.addEventListener("click",ir),()=>{Xe.removeEventListener("click",ir)}},[Pt,un]),EC(c,ee,Te),it(()=>{js()},[]),!v)return null;let P=E&&M()===le.canvas,_={outline:"none",display:"flex",flexDirection:"column",justifyContent:TC(S),opacity:P?0:w,flexShrink:0},O=le.hasRestrictions(),W=Ps(t,de||0,!1),pe=ne&&(u==="auto"||f==="auto"),ft=!!t.transformTemplate||!W||!O||ee||pe?t.transformTemplate??Ou(b):void 0;if(!I){if(W&&O&&!pe){let Xe=tt.getNumber(C).toFixed(4);_.transform=`translate(${W.x}px, ${W.y}px) rotate(${Xe}deg)`,_.width=W.width,_.minWidth=W.width,_.height=W.height}else _.left=d,_.right=p,_.top=y,_.bottom=g,_.width=u,_.height=f,_.rotate=C;B?(!kn||Sn)&&(_.position="sticky",_.willChange="transform",_.zIndex=1,_.to
729p=D,_.right=X,_.bottom=H,_.left=z):kn&&(t.positionFixed||t.positionAbsolute)&&(_.position="absolute")}return Vm(t,_),Pk(t,_),T&&Om(_),Object.assign(_,t.style),k(pt.div,{id:r,ref:Te,...re,style:_,layoutId:ie,"data-framer-name":i,"data-framer-component-type":"DeprecatedRichText","data-center":b,className:Qo(h,m,KB),transformTemplate:ft,dangerouslySetInnerHTML:{__html:qs}})});function TC(e){switch(e){case"top":return"flex-start";case"center":return"center";case"bottom":return"flex-end"}}function EC(e,t,n){let r=A([]);zB(r.current,e)||(r.current=e,xu.loadFonts(e).then(({newlyLoadedFontCount:i})=>{!t||!n.current||le.current()!==le.canvas||i>0&&QD(n.current)}))}var RC={opacity:1,y:0,x:0,scale:1,rotate:0,rotateX:0,rotateY:0,skewX:0,skewY:0,filter:"none"};function ZB(e){return e in RC}function JB(e){let t={};for(let n in e)!ZB(n)||yt(e[n])||(t[n]=[e[n],RC[n]]);return t}var e$=/\p{Regional_Indicator}{2}|\p{Emoji}\p{Emoji_Modifier}?\p{Variation_Selector}?(?:\u{200d}\p{Emoji}\p{Emoji_Modifier}?\p{Variation_Selector}?)*|./gu;function t$(e,t="character",n,r){switch(t){case"character":case"line":{let i=e.split(" "),o=i.length-1;return i.map((a,s)=>{var l;let c=s===o,u=a.length<=12;return se(Fe,{children:[k("span",{style:{whiteSpace:u?"nowrap":"unset"},children:(l=a.match(e$))==null?void 0:l.map((f,d)=>{let p=Ki();return n.add(p),k("span",{ref:p,style:r,children:f},f+d)})},a+s),c?null:" "]})})}case"word":{let i=e.split(" "),o=i.length-1;return i.map((a,s)=>{let l=s===o,c=Ki();return n.add(c),se(Fe,{children:[k("span",{ref:c,style:r,children:a},a+s),l?null:" "]})})}case"element":default:return e}}function n$(e){let t=e.type;switch(t){case"appear":return e.tokenization??"character";default:Oe(t)}}function RS(e){let t=[];return $e(e.x)&&t.push(`translateX(${e.x}px)`),$e(e.y)&&t.push(`translateY(${e.y}px)`),$e(e.scale)&&t.push(`scale(${e.scale})`),$e(e.rotate)&&t.push(`rotate(${e.rotate}deg)`),$e(e.rotateX)&&t.push(`rotateX(${e.rotateX}deg)`),$e(e.rotateY)&&t.push(`rotateY(${e.rotateY}deg)`),$e(e.skewX)&&t.push(`skewX(${e.skewX}deg)`),$e(e.skewY)&&t.push(`skewY(${e.skewY}deg)`),t.join(" ")}function r$(e,t,n){if(!n||!n.effect)return;let r=n.type;switch(r){case"appear":switch(n.tokenization){case"element":return!e||!t?void 0:{opacity:n.effect.opacity,filter:n.effect.filter,transform:RS(n.effect)};case"line":case"word":case"character":default:return!e||!t?{display:"inline-block"}:{display:"inline-block",opacity:n.effect.opacity,filter:n.effect.filter,transform:RS(n.effect)}}default:Oe(r)}}function i$(e,t,n){let r=Gt(()=>new Set),i=ju(),o=n||!i,a=A({hasMounted:!1,hasAnimatedOnce:!1,isAnimating:!1,effect:e});a.current.effect=e;let s=e?.trigger??"onMount",l=e?.target,c=e?.threshold;N(()=>{if(!o||n)return;a.current.hasMounted=!0;function d(){let{effect:p}=a.current;if(!o||!p||p?.repeat!==!0&&a.current.hasAnimatedOnce||p?.type==="appear"&&a.current.isAnimating)return;Object.assign(a.current,{hasAnimatedOnce:!0,isAnimating:!0});let y=p.type;switch(y){case"appear":{let{transition:g,startDelay:b,repeat:h,tokenization:m}=p;return PS(m,p.effect,r,g,b,h,()=>{Object.assign(a.current,{isAnimating:!1})})}default:Oe(y)}}switch(s){case"onMount":d();return;case"onInView":{let p=t?.current;return p?Ml(p,d,{amount:c??0}):void 0}case"onScrollTarget":{let p=l?.ref.current;return p?Ml(p,d,{amount:c??0,root:document,margin:l?.offset?`${l.offset}px 0px 0px 0px`:void 0}):void 0}default:Oe(s)}},[o,r,n,t,l,c,s]);let u=!!e,f=e?n$(e):void 0;return ae(()=>({getTokenizer:()=>{if(r.clear(),!u)return;let{hasMounted:d,hasAnimatedOnce:p,effect:y}=a.current,g=r$(o,n||o$(d,p,y),a.current.effect);return{text:b=>t$(b,f,r,g),props:b=>{if(y?.tokenization!=="element")return;let h=Ki();return r.add(h),{ref:h,style:{...b,...g}}}}},play:()=>{let{effect:d}=a.current;if(!d)return;let p=d.type;switch(p){case"appear":{let{transition:y,startDelay:g}=d;PS(f,d.effect,r,y,g);break}default:Oe(p)}}}),[o,u,r,n,f])}function o$(e,t,n){return!(e&&n?.trigger==="onMount"||t&&!n?.repeat&&(n?.trigger==="onInView"||n?.trigger==="onScrollTarget"))}function PS(e="character",t,n,r,i=0,o=!1,a){let s=JB(t);switch(e){case"character":case"element":case"word":{let l=a$(n);return l.length===0||(Xn(l,s,{...r,restDelta:.001,delay:Ed(r?.delay??0,{startDelay:i})}).then(()=>a?.()),!o)?void 0:()=>void Xn(l,t,{...r,restDelta:.001,delay:Ed(r?.delay??0,{startDelay:i})})}case"line":{let l;return K.read(()=>{l=s$(n),l.length!==0&&K.update(()=>{let c=l.map((u,f)=>Xn(u,s,{...r,restDelta:.001,delay:i+f*(r?.delay??0)}));Promise.all(c).then(()=>a?.())})}),o?()=>{l.length!==0&&l.forEach((c,u)=>{Xn(c,t,{...r,restDelta:.001,delay:i+u*(r?.delay??0)})})}:void 0}default:Oe(e)}}function a$(e){let t=[];for(let n of e)n.current&&t.push(n.current);return t}function s$(e){let t=[],n=[],r=null;for(let i of e){if(!i.current)continue;let o=i.current.offsetTop,a=i.current.offsetHeight;!a||r===null||o===r?n.push(i.current):(t.push(n),n=[i.current]),a&&(r=o)}return t.push(n),t}var _S=Ie(({viewBoxScale:e,viewBox:t,children:n,...r},i)=>k(pt.svg,{ref:i,...r,viewBox:t,children:k(pt.foreignObject,{width:"100%",height:"100%",className:"framer-fit-text",transform:`scale(${e})`,style:{overflow:"visible",transformOrigin:"center center"},children:n})})),l$=Ie((e,t)=>
729{let{__fromCanvasComponent:n=!1,_forwardedOverrideId:r,_forwardedOverrides:i,_usesDOMRect:o,anchorLinkOffsetY:a,as:s,bottom:l,center:c,children:u,environment:f=le.current,fonts:d=[],height:p,isEditable:y=!1,left:g,name:b,opacity:h,positionSticky:m,positionStickyBottom:v,positionStickyLeft:w,positionStickyRight:C,positionStickyTop:S,right:E,rotation:T=0,style:M,_initialStyle:I,stylesPresetsClassNames:B,text:D,top:X,verticalAlignment:H="top",visible:z=!0,width:j,willChangeTransform:ee,withExternalLayout:te=!1,viewBox:G,viewBoxScale:ne=1,effect:ge,...re}=e,de=Hs(),ie=ju(),ut=V(ea),Te=Us(e),Pt=A(null),be=t??Pt;Au(e,be),EC(d,n,be),it(()=>{js()},[]);let qt=i$(ge,be),Sn=ae(()=>{if(u)return PC(u,B,D,a,void 0,qt.getTokenizer())},[u,B,D,a,qt]);if(!z)return null;let kn=y&&f()===le.canvas,he={outline:"none",display:"flex",flexDirection:"column",justifyContent:TC(H),opacity:kn?0:h,flexShrink:0},Vn=le.hasRestrictions(),rt=Ps(e,de||0,!1),un=o&&(j==="auto"||p==="auto"),P=!!e.transformTemplate||!rt||!Vn||n||un?e.transformTemplate??Ou(c):void 0;te||(rt&&Vn&&!un?(he.x=rt.x,he.y=rt.y,he.rotate=tt.getNumber(T),he.width=rt.width,he.minWidth=rt.width,he.height=rt.height):(he.left=g,he.right=E,he.top=X,he.bottom=l,he.width=j,he.height=p,he.rotate=T),m?(!ie||ut)&&(he.position="sticky",he.willChange="transform",he.zIndex=1,he.top=S,he.right=C,he.bottom=v,he.left=w):ie&&(e.positionFixed||e.positionAbsolute)&&(he.position="absolute")),Vm(e,he),Pk(e,he),ee&&Om(he),Object.assign(he,I,M),Te&&(re.layout="preserve-aspect");let _=Ws(e.as);return fe(e.viewBox)?e.as!==void 0?k(_,{...re,ref:be,style:he,layoutId:Te,transformTemplate:P,"data-framer-name":b,"data-framer-component-type":"RichTextContainer",children:k(_S,{viewBox:G,viewBoxScale:ne,style:{width:"100%",height:"100%"},children:Sn})}):k(_S,{...re,ref:be,style:he,layoutId:Te,viewBox:G,viewBoxScale:ne,transformTemplate:P,"data-framer-name":b,"data-framer-component-type":"RichTextContainer",children:Sn}):k(_,{...re,ref:be,style:he,layoutId:Te,transformTemplate:P,"data-framer-name":b,"data-framer-component-type":"RichTextContainer",children:Sn})});function c$(e){return e.type===or}function u$(e){return e.type==="br"}function PC(e,t,n,r,i={},o,a=c$(e)?-1:0){let s=Bn.toArray(e.props.children);fe(n)&&(s=s.slice(0,1));let l=!0;s=s.map(f=>{if((!At(f)||!u$(f))&&(l=!1),At(f))return PC(f,t,n,r,i,o,a+1);let d=fe(n)?n:f;return fe(d)&&o?o.text(d):d});let{["data-preset-tag"]:c,...u}=e.props;if(fe(e.type)||Cd(e.type)){let f=A0(e.type)||e.type,d=c||f,p=fe(d)?t?.[d]:void 0;u.className=Qo("framer-text",u.className,p),o&&a===0&&!l&&Object.assign(u,o.props(u.style));let y=f==="h1"||f==="h2"||f==="h3"||f==="h4"||f==="h5"||f==="h6",g=t?.anchor;if(y&&g){let b=f$(s,i);u.id=b;let h=Qo("framer-text",g),m=k("a",{href:`#${b}`,className:h,children:s});u.style={...u.style??{},scrollMarginTop:r},s=[m]}}return ar(e,u,...s)}function f$(e,t){let n=e.map(wm).join(""),r=jB(n),i=t[r]??0;return i>0&&(r+=`-${i}`),t[r]=i+1,r}function wm(e){return fe(e)||$e(e)?e.toString():At(e)?wm(e.props.children):Array.isArray(e)?e.map(wm).join(""):""}var cW=Ie(({children:e,html:t,htmlFromDesign:n,...r},i)=>{let o=t||e||n;if(fe(o)){!r.stylesPresetsClassName&&_e(r.stylesPresetsClassNames)&&(r.stylesPresetsClassName=Object.values(r.stylesPresetsClassNames).join(" "));let a={[fe(t)?"html":"htmlFromDesign"]:o};return k(QB,{...r,...a,ref:i})}if(!r.stylesPresetsClassNames&&fe(r.stylesPresetsClassName)){let[a,s,l,c,u]=r.stylesPresetsClassName.split(" ");a===void 0||s===void 0||l===void 0||c===void 0||u===void 0?console.warn(`Encountered invalid stylesPresetsClassNames: ${r.stylesPresetsClassNames}`):r.stylesPresetsClassNames={h1:a,h2:s,h3:l,p:c,a:u}}return k(l$,{...r,ref:i,children:At(o)?o:void 0})});function d$(e){var t,n;let r=e*Math.PI/180,i={x:-Math.sin(r)*100,y:Math.cos(r)*100},o=ln(i.x,i.y),a=wn(ln(.5,.5),o),s=Z.points({x:0,y:0,width:1,height:1}),l=s.map(g=>({point:g,distance:ln.distance(o,g)})).sort((g,b)=>g.distance-b.distance),c=(t=l[0])==null?void 0:t.point,u=(n=l[1])==null?void 0:n.point;ce(c&&u,"linearGradientLine: Must have 2 closest points.");let[f,d]=s.filter(g=>!ln.isEqual(g,c)&&!ln.isEqual(g,u));ce(f&&d,"linearGradientLine: Must have 2 opposing points.");let p=wn.intersection(a,wn(c,u)),y=wn.intersection(a,wn(f,d));return ce(p&&y,"linearGradientLine: Must have a start and end point."),wn(p,y)}function h$(e,t){var n,r;let i=d$(e.angle),o=Xs(e),a=((n=o[0])==null?void 0:n.position)??0,s=((r=o[o.length-1])==null?void 0:r.position)??1,l=wn.pointAtPercentDistance(i,a),c=wn.pointAtPercentDistance(i,s),u=uo([a,s],[0,1]);return{id:`id${t}g${Is.hash(e)}`,x1:l.x,y1:l.y,x2:c.x,y2:c.y,stops:o.map(f=>({color:f.value,alpha:Dm.getAlpha(f.value)*e.alpha,position:u(f.position)}))}}function p$(e,t){return{id:`id${t}g${Fs.hash(e)}`,widthFactor:e.widthFactor,heightFactor:e.heightFactor,centerAnchorX:e.centerAnchorX,centerAnchorY:e.centerAnchorY,stops:Xs(e).map(n=>({color:n.value,alpha:Dm.getAlpha(n.value)*e.alpha,position:n.position}))}}function _C(e){if(!fe(e)||e.charAt(e.length-1)!=="%")return!1;let n=e.slice(0,-1),r=parseFloat(n);return $e(r)}function IC(e){let t=e.slice(0,-1),n=parseFloat(t);return $e(n)?n:50}function IS(e){return _C(e)?IC(e)/100:e==="left"?0:e==="right"?1:.5}function FS(e){return _C(e)?IC(e)/100:e==="top"?0:e==="bottom"?1:.5}function m$(e,t,n,r){if(e=tt.get(e,"#09F"),!Vi.isImageObject(e)||!e.pixelWidth||!e.pixelHeight)return;let i=e.pixelWidth,o=e.pixelHeight,a,{fit:s}=e,l=1,c=1,u=0,f=0;if(s==="fill"||s==="fit"||s==="tile"||!s){let p=1,y=1,g=i/o,b=t.height*g,h=t.width/g,m=b/t.width,v=h/t.height;if(s==="tile"){e.backgroundSize??(e.backgroundSize=1),l=Math.round(e.backgroundSize*(i/2)),c=Math.round(e.backgroundSize*(o/2));let w=t.x??0,C=t.y??0,S=0,E=0;r&&(S=w,E=C),u=(t.width-l)*IS(e.positionX)+S,f=(t.height-c)*FS(e.positionY)+E,a=`translate(${u+w}, ${f+C})`}else(s==="fill"||!s?v>m:v<m)?(y=v,f=(1-v)*FS(e.positionY)):(p=m,u=(1-m)*IS(e.positionX)),a=`translate(${u}, ${f}) scale(${p}, ${y})`}return{id:`id${n}g-fillImage`,path:e.src??"",transform:a,width:l,height:c,offsetX:u,offsetY:f}}var v$="framer/asset-reference,";function g$(e){return e.startsWith(`data:${v$}`)}function y$(e,t){if(/^\w+:/.test(e)&&!g$(e))return e;typeof t!="number"?t=void 0:t<=512?t=512:t<=1024?t=1024:t<=2048?t=2048:t=4096;let n=le.current()===le.export;return ct.assetResolver(e,{pixelSize:t,isExport:n})??""}var b$=({id:e,path:t,transform:n,repeat:r,width:i,height:o,offsetX:a,offsetY:s})=>{let l=y$(t);return k("pattern",{id:e,width:r?i:"100%",height:r?o:"100%",patternContentUnits:r?void 0:"objectBoundingBox",patternUnits:r?"userSpaceOnUse":void 0,x:r?a:void 0,y:r?s:void 0,children:k("image",{width:r?i:1,height:r?o:1,href:l,preserveAspectRatio:"none",transform:r?void 0:n,x:r?0:void 0,y:r?0:void 0},l)})},MS=rr(),x$=class{constructor(e,t,n,r,i=0){this.id=e,this.svg=t,this.innerHTML=n,this.viewBox=r,this.count=i}},w$=class{constructor(){R(this,"entries",new Map)}debugGetEntries(){return this.entries}subscribe(e,t,n){if(!e||e==="")return"";let r=this.entries.get(e);if(!r){n||(n="svg"+String(Sk(e))+"_"+String(e.length));let i=e,o,a=S$(e);a&&(t&&k$(a,n),a.id=n,o=R$(a),i=a.outerHTML),r=this.createDOMElementFor(i,n,o),this.entries.set(e,r)}return r.count+=1,r.innerHTML}getViewBox(e){if(!e||e==="")return;let t=this.entries.get(e);return t?.viewBox}unsubscribe(e){if(!e||e==="")return;let t=this.entries.get(e);t&&(t.count-=1,!(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){let t="container_"+e.id;if(MS){let n=document?.querySelector("#"+t);n?.remove()}}createDOMElementFor(e,t,n){let r="container_"+t;if(MS){let s=document.querySelector("#svg-templates");if(s||(s=document.createElement("div"),s.id="svg-templates",s.style.position="absolute",s.style.top="0",s.style.left="0",s.style.width="0",s.style.height="0",s.style.overflow="hidden",document.body.appendChild(s)),!document.querySelector("#"+r)){let l=d
729ocument.createElement("div");l.id=r,l.innerHTML=e,l.firstElementChild&&(l.firstElementChild.id=t),s.appendChild(l)}}let i=n?`0 0 ${n.width} ${n.height}`:void 0,a=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="width: 100%; height: 100%"${i?` viewBox="${i}"`:""}><use href="#${t}"></use></svg>`;return new x$(t,e,a,i)}clear(){this.entries.clear()}generateTemplates(){let e=[],t="position: absolute; overflow: hidden; top: 0; left: 0; width: 0; height: 0";e.push(`<div id="svg-templates" style="${t}">`);for(let n of this.entries.values()){let r="container_"+n.id;e.push(`  <div id="${r}">`),e.push(`    ${n.svg}`),e.push("  </div>")}return e.push("</div>"),e.join(`
730`)}},Wo=new w$;function S$(e){if(typeof DOMParser>"u"){console.warn("unable to find DOMParser");return}try{let r=new DOMParser().parseFromString(e,"text/html").getElementsByTagName("svg")[0];if(!r)throw Error("no svg element found");return r}catch{return}}function k$(e,t){let n=C$(t);FC(e,n)}function C$(e){return e.replace(/[^\w\-:.]|^[^a-z]+/gi,"")}function FC(e,t){T$(e,t),Array.from(e.children).forEach(r=>{FC(r,t)})}function T$(e,t){e.getAttributeNames().forEach(r=>{let i=e.getAttribute(r);if(!i)return;if(r==="id"&&e.setAttribute(r,`${t}_${i}`),r==="href"||r==="xlink:href"){let[a,s]=i.split("#");if(a)return;e.setAttribute(r,`#${t}_${s}`);return}let o="url(#";if(i.includes(o)){let a=i.replace(o,`${o}${t}_`);e.setAttribute(r,a)}})}var E$=(()=>({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}))();function LS(e){var t;if(!e)return;let n=/(-?[\d.]+)([a-z%]*)/u.exec(e);if(!(n?.[1]===void 0||n?.[2]===void 0)&&!((t=n[2])!=null&&t.startsWith("%")))return Math.round(parseFloat(n[1])*(E$[n[2]]||1))}function R$(e){let t=LS(e.getAttribute("width")),n=LS(e.getAttribute("height"));if(!(typeof t!="number"||typeof n!="number")&&!(t<=0||n<=0))return{width:t,height:n}}function hW(e){let t=Hs(),n=Us(e),r=x.useRef(null),i=tB();return Au(e,r),k(L$,{...e,innerRef:r,parentSize:t,layoutId:n,providedWindow:i})}var P$=5e4;function _$(e){return e.indexOf("image")>=0}function I$(e){return e.indexOf("var(--")>=0}function F$(e){return!!(e.borderRadius||e.borderBottomLeftRadius||e.borderBottomRightRadius||e.borderTopLeftRadius||e.borderTopRightRadius)}function OS(e,t){var n,r;let i=e.current;if(!i)return;let o=t.providedWindow??nt,a=i.firstElementChild;if(!a||!(a instanceof o.SVGSVGElement))return;if(!a.getAttribute("viewBox")){let p=Wo.getViewBox(t.svg);p&&a.setAttribute("viewBox",p)}let{withExternalLayout:s,parentSize:l}=t;if(!s&&Ns(t)&&l!==1&&l!==2)return;let{intrinsicWidth:u,intrinsicHeight:f,_constraints:d}=t;((n=a.viewBox.baseVal)==null?void 0:n.width)===0&&((r=a.viewBox.baseVal)==null?void 0:r.height)===0&&J(u)&&J(f)&&a.setAttribute("viewBox",`0 0 ${u} ${f}`),d&&d.aspectRatio?a.setAttribute("preserveAspectRatio",""):a.setAttribute("preserveAspectRatio","none"),a.setAttribute("width","100%"),a.setAttribute("height","100%")}function M$(){return x.useInsertionEffect(()=>{js()},[]),null}var L$=(()=>{var e;return e=class extends du{constructor(){super(...arguments),R(this,"container",x.createRef()),R(this,"svgElement",null),R(this,"setSVGElement",t=>{this.svgElement=t,this.setLayerElement(t)}),R(this,"previouslyRenderedSVG",""),R(this,"unmountedSVG","")}static frame(t){return Ps(t,t.parentSize||0)}get frame(){return Ps(this.props,this.props.parentSize||0)}componentDidMount(){if(this.unmountedSVG){let{svgContentId:t}=this.props,n=t?"svg"+t:null;Wo.subscribe(this.unmountedSVG,!t,n),this.previouslyRenderedSVG=this.unmountedSVG}this.props.svgContentId||OS(this.container,this.props)}componentWillUnmount(){Wo.unsubscribe(this.previouslyRenderedSVG),this.unmountedSVG=this.previouslyRenderedSVG,this.previouslyRenderedSVG=""}componentDidUpdate(t){if(super.componentDidUpdate(t),this.props.svgContentId)return;let{fill:n}=this.props;Vi.isImageObject(n)&&Vi.isImageObject(t.fill)&&n.src!==t.fill.src&&wk(this.svgElement,"fill",null,!1),OS(this.container,this.props)}collectLayout(t,n){if(this.props.withExternalLayout){n.width="100%",n.height="100%",
730n.aspectRatio="inherit";return}let r=this.frame,{rotation:i,intrinsicWidth:o,intrinsicHeight:a,width:s,height:l}=this.props,c=tt.getNumber(i);if(t.opacity=J(this.props.opacity)?this.props.opacity:1,le.hasRestrictions()&&r){Object.assign(t,{transform:`translate(${r.x}px, ${r.y}px) rotate(${c.toFixed(4)}deg)`,width:`${r.width}px`,height:`${r.height}px`}),Ns(this.props)&&(t.position="absolute");let u=r.width/(o||1),f=r.height/(a||1);n.transformOrigin="top left";let{zoom:d,target:p}=Su;if(p===le.export){let y=d>1?d:1;n.transform=`scale(${u*y}, ${f*y})`,n.zoom=1/y}else n.transform=`scale(${u}, ${f})`;o&&a&&(n.width=o,n.height=a)}else{let{left:u,right:f,top:d,bottom:p}=this.props;Object.assign(t,{left:u,right:f,top:d,bottom:p,width:s,height:l,rotate:c}),Object.assign(n,{left:0,top:0,bottom:0,right:0,position:"absolute"})}}render(){let{id:t,visible:n,style:r,fill:i,svg:o,intrinsicHeight:a,intrinsicWidth:s,title:l,description:c,layoutId:u,className:f,variants:d,withExternalLayout:p,innerRef:y,svgContentId:g,height:b,opacity:h,width:m,...v}=this.props;if(!p&&(!n||!t))return null;let w=t??u??"svg",C=this.frame,S=C||{width:s||100,height:a||100},E={...r,imageRendering:"pixelated",flexShrink:0},T={};this.collectLayout(E,T),UA(this.props,E),Vm(this.props,E),du.applyWillChange(this.props,E,!1);let M=null;if(typeof i=="string"||Y.isColorObject(i)){let G=Y.isColorObject(i)?i.initialValue||Y.toRgbString(i):i;E.fill=G,E.color=G}else if(Is.isLinearGradient(i)){let G=i,ne=`${encodeURI(t||"")}g${Is.hash(G)}`;E.fill=`url(#${ne})`;let{stops:ge,x1:re,x2:de,y1:ie,y2:ut}=h$(G,w);M=k("svg",{ref:this.setSVGElement,xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",style:{position:"absolute"},children:k("linearGradient",{id:ne,x1:re,x2:de,y1:ie,y2:ut,children:ge.map((Te,Pt)=>k("stop",{offset:Te.position,stopColor:Te.color,stopOpacity:Te.alpha},Pt))})})}else if(Fs.isRadialGradient(i)){let G=i,ne=`${encodeURI(t||"")}g${Fs.hash(G)}`;E.fill=`url(#${ne})`;let ge=p$(G,w);M=k("svg",{ref:this.setSVGElement,xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",style:{position:"absolute"},children:k("radialGradient",{id:ne,cy:G.centerAnchorY,cx:G.centerAnchorX,r:G.widthFactor,children:ge.stops.map((re,de)=>k("stop",{offset:re.position,stopColor:re.color,stopOpacity:re.alpha},de))})})}else if(Vi.isImageObject(i)){let G=m$(i,S,w);G&&(E.fill=`url(#${G.id})`,M=k("svg",{ref:this.setSVGElement,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"100%",height:"100%",style:{position:"absolute"},children:k("defs",{children:k(b$,{...G})})}))}let I={"data-framer-component-type":"SVG"},B=!C;B&&Object.assign(I,mk(this.props.center));let D=!M&&!E.fill&&!E.background&&!E.backgroundImage&&o.length<P$&&!_$(o)&&!I$(o),X=null;if(D)E.backgroundSize="100% 100%",E.backgroundImage=`url('data:image/svg+xml;utf8,${encodeURIComponent(o)}')`,Wo.unsubscribe(this.previouslyRenderedSVG),this.previouslyRenderedSVG="";else{let G=g?"svg"+g:null,ne=Wo.subscribe(o,!g,G);Wo.unsubscribe(this.previouslyRenderedSVG),this.previouslyRenderedSVG=o,F$(E)&&(E.overflow="hidden"),X=se(Fe,{children:[M,k("div",{className:"svgContainer",style:T,ref:this.container,dangerouslySetInnerHTML:{__html:ne}},Vi.isImageObject(i)?i.src:"")]})}let H=Ws(this.props.as),{href:z,target:j,rel:ee,onClick:te}=this.props;return se(H,{...I,...v,layoutId:u,transformTemplate:B?Ou(this.props.center):void 0,id:t,ref:y,style:E,className:f,variants:d,tabIndex:this.props.tabIndex,role:l||c?"img":void 0,"aria-label":l,"aria-description":c,href:z,target:j,rel:ee,onClick:te,children:[X,k(M$,{})]})}},R(e,"supportsConstraints",!0),R(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:[]}),R(e,"defaultProps",{...du.defaultProps,...e.defaultSVGProps}),e})();function kW(e,t,n){let r=MC(t);!n?.supportsExplicitInterCodegen&&!r.some(i=>i.explicitInter===!1)&&r.push({explicitInter:!1,fonts:[]}),Object.assign(e,{fonts:r})}function CW(e){return e.fonts??[]}function TW(e){return e.length===0?[{explicitInter:!1,fonts:[]}]:MC(e)}function MC(e){let t={explicitInter:!1,fonts:[]},n=[];for(let r of e)D$(r)?n.push(r):t.fonts.push(A$(r));return t.fonts.length>0&&n.push(t),n}var O$="explicitInter";function D$(e){return O$ in e}function A$(e){let t;
730return e.url.startsWith("https://fonts.gstatic.com/s/")?t="google":e.url.startsWith("https://framerusercontent.com/third-party-assets/fontshare/")?t="fontshare":t="custom",{...e,source:t}}function EW(e,t){let n=`${e}-start`;performance.mark(n),t();let r=`${e}-end`;performance.mark(r),performance.measure(e,n,r)}Ta.prototype.addChild=function({transformer:e=t=>t}){let t=je(e(this.get()));return this.onChange(n=>t.set(e(n))),t};/**
731 * @license Emotion v11.0.0
732 * MIT License
733 *
734 * Copyright (c) Emotion team and other contributors
735 *
736 * Permission is hereby granted, free of charge, to any person obtaining a copy
737 * of this software and associated documentation files (the "Software"), to deal
738 * in the Software without restriction, including without limitation the rights
739 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
740 * copies of the Software, and to permit persons to whom the Software is
741 * furnished to do so, subject to the following conditions:
742 *
743 * The above copyright notice and this permission notice shall be included in all
744 * copies or substantial portions of the Software.
745 *
746 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
747 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
748 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
749 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
750 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
751 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
752 * SOFTWARE.
753 *//*! Bundled license information:
754
755react-is/cjs/react-is.production.min.js:
756  (** @license React v16.13.1
757   * react-is.production.min.js
758   *
759   * Copyright (c) Facebook, Inc. and its affiliates.
760   *
761   * This source code is licensed under the MIT license found in the
762   * LICENSE file in the root directory of this source tree.
763   *)
764*/export{x as a,Bn as b,or as c,ar as d,qi as e,Ki as f,Ie as g,lT as h,sr as i,oe as j,V as k,N as l,di as m,it as n,ot as o,ae as p,A as q,Ye as r,xt as s,Fe as t,k as u,se as v,ur as w,Me as x,pt as y,C0 as z,Un as A,Ft as B,_0 as C,F0 as D,Xn as E,y2 as F,w2 as G,tw as H,rM as I,rN as J,sN as K,uN as L,fN as M,hN as N,Ui as O,Em as P,QS as Q,_N as R,le as S,VN as T,hO as U,HN as V,dD as W,jN as X,F8 as Y,Qo as Z,EH as _,MH as $,LH as aa,$H as ba,Wk as ca,Uk as da,UH as ea,Xk as fa,QH as ga,tj as ha,oj as ia,lj as ja,dj as ka,pj as la,mj as ma,H4 as na,yj as oa,j4 as pa,W4 as qa,bj as ra,wj as sa,Cj as ta,Tj as ua,Aj as va,xu as wa,Kj as xa,rW as ya,cW as za,Wo as Aa,hW as Ba,kW as Ca,CW as Da,TW as Ea,EW as Fa};
765//# sourceMappingURL=chunk-JN6EJJPV.mjs.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.