import{a as du,b as _e,c as O}from"./chunk-ELYU6EKT.mjs";var lt={};du(lt,{Children:()=>Rn,Component:()=>ge,Fragment:()=>Qr,Profiler:()=>Ik,PureComponent:()=>Lk,StrictMode:()=>Mk,Suspense:()=>jo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>Ok,cloneElement:()=>mn,createContext:()=>ve,createElement:()=>La,createFactory:()=>Dk,createRef:()=>vm,default:()=>b,forwardRef:()=>Ve,isValidElement:()=>$t,lazy:()=>Ak,memo:()=>Vk,startTransition:()=>Di,unstable_act:()=>Bk,useCallback:()=>ce,useContext:()=>D,useDebugValue:()=>$k,useDeferredValue:()=>zk,useEffect:()=>H,useId:()=>Zr,useImperativeHandle:()=>Nk,useInsertionEffect:()=>Ye,useLayoutEffect:()=>Rt,useMemo:()=>oe,useReducer:()=>Hk,useRef:()=>V,useState:()=>at,useSyncExternalStore:()=>gm,useTransition:()=>jk,version:()=>Wk});var b={},Ho=Symbol.for("react.element"),vk=Symbol.for("react.portal"),gk=Symbol.for("react.fragment"),yk=Symbol.for("react.strict_mode"),bk=Symbol.for("react.profiler"),xk=Symbol.for("react.provider"),Sk=Symbol.for("react.context"),wk=Symbol.for("react.forward_ref"),kk=Symbol.for("react.suspense"),Ck=Symbol.for("react.memo"),Tk=Symbol.for("react.lazy"),sm=Symbol.iterator;function Ek(e){return e===null||typeof e!="object"?null:(e=sm&&e[sm]||e["@@iterator"],typeof e=="function"?e:null)}var cm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},um=Object.assign,fm={};function Oi(e,t,n){this.props=e,this.context=t,this.refs=fm,this.updater=n||cm}Oi.prototype.isReactComponent={};Oi.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")};Oi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function dm(){}dm.prototype=Oi.prototype;function pu(e,t,n){this.props=e,this.context=t,this.refs=fm,this.updater=n||cm}var mu=pu.prototype=new dm;mu.constructor=pu;um(mu,Oi.prototype);mu.isPureReactComponent=!0;var am=Array.isArray,hm=Object.prototype.hasOwnProperty,vu={current:null},pm={key:!0,ref:!0,__self:!0,__source:!0};function mm(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)hm.call(t,r)&&!pm.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1t in e?Yu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tn=(e,t)=>function(){return t||(0,e[Mv(e)[0]])((t={exports:{}}).exports,t),t.exports},rC=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Mv(t))!tC.call(e,i)&&i!==n&&Yu(e,i,{get:()=>t[i],enumerable:!(r=Jk(t,i))||r.enumerable});return e},Mn=(e,t,n)=>(n=e!=null?Zk(eC(e)):{},rC(t||!e||!e.__esModule?Yu(n,"default",{value:e,enumerable:!0}):n,e)),R=(e,t,n)=>(nC(e,typeof t!="symbol"?t+"":t,n),n),Gu=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},re=(e,t,n)=>(Gu(e,t,"read from private field"),n?n.call(e):t.get(e)),nn=(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)},ts=(e,t,n,r)=>(Gu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),_t=(e,t,n)=>(Gu(e,t,"access private method"),n),iC=tn({"../../../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}}),oC=tn({"../../../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(iC()),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}}),Gn=ve({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ns=ve({}),Ui=ve(null),Xa=typeof document<"u",ai=Xa?Rt:H,Ku=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),sC="framerAppearId",qu="data-"+Ku(sC),Ya={skipAnimations:!1,useManualTiming:!1},Ga=ve({}),Zo=ve({}),et=e=>e,rs=et,zt=et,Ov=ve({strict:!1}),bm=class{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);t!==-1&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}};function aC(e){let t=new bm,n=new bm,r=0,i=!1,o=!1,s=new WeakSet,a={schedule:(l,c=!1,u=!1)=>{let f=u&&i,d=f?t:n;return c&&s.add(l),d.add(l)&&f&&i&&(r=t.order.length),l},cancel:l=>{n.remove(l),s.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let c=0;c(f[d]=aC(()=>n=!0),f),{}),s=f=>{o[f].process(i)},a=()=>{let f=Ya.useManualTiming?i.timestamp:performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(f-i.timestamp,lC),1),i.timestamp=f,i.isProcessing=!0,Uo.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(a))},l=()=>{n=!0,r=!0,i.isProcessing||e(a)};return{schedule:Uo.reduce((f,d)=>{let m=o[d];return f[d]=(y,g=!1,x=!1)=>(n||l(),m.schedule(y,g,x)),f},{}),cancel:f=>Uo.forEach(d=>o[d].cancel(f)),state:i,steps:o}}var{schedule:Qu,cancel:e5}=Dv(queueMicrotask,!1);function Vi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}var xm=!1;function cC(e,t,n,r,i){let{visualElement:o}=D(ns),s=D(Ov),a=D(Ui),l=D(Gn).reducedMotion,c=V();r=r||s.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:l}));let u=c.current,f=D(Ga);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&fC(c.current,n,i,f),Ye(()=>{u&&u.update(n,a)});let d=V(!!(n[qu]&&!O.HandoffComplete));return ai(()=>{u&&(u.updateFeatures(),Qu.render(u.render),d.current&&u.animationState&&u.animationState.animateChanges())}),H(()=>{u&&(!d.current&&u.animationState&&u.animationState.animateChanges(),d.current&&(d.current=!1,xm||(xm=!0,queueMicrotask(uC))))}),u}function uC(){O.HandoffComplete=!0}function fC(e,t,n,r){let{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Av(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&Vi(a),visualElement:e,scheduleRender:()=>e.scheduleRender(),animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}function Av(e){if(e)return e.options.allowProjection!==!1?e.projection:Av(e.parent)}function dC(e,t,n){return ce(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Vi(n)&&(n.current=r))},[t])}function Jo(e){return typeof e=="string"||Array.isArray(e)}function Ka(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}var Zu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ju=["initial",...Zu];function qa(e){return Ka(e.animate)||Ju.some(t=>Jo(e[t]))}function Vv(e){return!!(qa(e)||e.variants)}function hC(e,t){if(qa(e)){let{initial:n,animate:r}=e;return{initial:n===!1||Jo(n)?n:void 0,animate:Jo(r)?r:void 0}}return e.inherit!==!1?t:{}}function pC(e){let{initial:t,animate:n}=hC(e,D(ns));return oe(()=>({initial:t,animate:n}),[Sm(t),Sm(n)])}function Sm(e){return Array.isArray(e)?e.join(" "):e}var wm={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"]},Ni={};for(let e in wm)Ni[e]={isEnabled:t=>wm[e].some(n=>!!t[n])};function mC(e){for(let t in e)Ni[t]={...Ni[t],...e[t]}}var ef=Symbol.for("motionComponentSymbol");function Bv({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&mC(e);function o(a,l){let c,u={...D(Gn),...a,layoutId:vC(a)},{isStatic:f}=u,d=pC(a),m=r(a,f);if(!f&&Xa){gC(u,e);let y=yC(u);c=y.MeasureLayout,d.visualElement=cC(i,m,u,t,y.ProjectionNode)}return se(ns.Provider,{value:d,children:[c&&d.visualElement?k(c,{visualElement:d.visualElement,...u}):null,n(i,a,dC(m,d.visualElement,l),m,f,d.visualElement)]})}let s=Ve(o);return s[ef]=i,s}function vC({layoutId:e}){let t=D(Zo).id;return t&&e!==void 0?t+"-"+e:e}function gC(e,t){let n=D(Ov).strict}function yC(e){let{drag:t,layout:n}=Ni;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}var Ba={};function tf(e){Object.assign(Ba,e)}var Le=e=>!!(e&&e.getVelocity),is=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],li=new Set(is),bC={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},xC=is.length;function $v(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let s=0;sn>t?t:nMath.round(e*1e5)/1e5,nf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,SC=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,wC=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function os(e){return typeof e=="string"}function kC(e){return e==null}var ss=e=>({test:t=>os(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),mr=ss("deg"),Pn=ss("%"),W=ss("px"),CC=ss("vh"),TC=ss("vw"),km={...Pn,parse:e=>Pn.parse(e)/100,transform:e=>Pn.transform(e*100)},EC=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 Hi(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||EC.has(e)}var zv=e=>!Hi(e);function Nv(e){e&&(zv=t=>t.startsWith("on")?!Hi(t):e(t))}try{Nv(oC().default)}catch{}function Hv(e,t,n){let r={};for(let i in e)i==="values"&&typeof e.values=="object"||(zv(i)||n===!0&&Hi(i)||!t&&!Hi(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}var Fu=e=>Array.isArray(e),RC=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),PC=e=>Fu(e)?e[e.length-1]||0:e;function ct(e){let t=Le(e)?e.get():e;return RC(t)?t.toValue():t}function Cm(e){let t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function rf(e,t,n,r){if(typeof t=="function"){let[i,o]=Cm(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]=Cm(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function br(e){let t=V(null);return t.current===null&&(t.current=e()),t.current}function _C({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){let s={latestValues:FC(r,i,o,e),renderState:t()};return n&&(s.mount=a=>n(r,a,s)),s}var Qa=e=>(t,n)=>{let r=D(ns),i=D(Ui),o=()=>_C(e,t,r,i);return n?o():br(o)};function FC(e,t,n,r){let i={},o=r(e,{});for(let d in o)i[d]=ct(o[d]);let{initial:s,animate:a}=e,l=qa(e),c=Vv(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;let f=u?a:s;return f&&typeof f!="boolean"&&!Ka(f)&&(Array.isArray(f)?f:[f]).forEach(m=>{let y=rf(e,m);if(!y)return;let{transitionEnd:g,transition:x,...h}=y;for(let p in h){let v=h[p];if(Array.isArray(v)){let w=u?v.length-1:0;v=v[w]}v!==null&&(i[p]=v)}for(let p in g)i[p]=g[p]}),i}var{schedule:J,cancel:Nt,state:je,steps:Da}=Dv(typeof requestAnimationFrame<"u"?requestAnimationFrame:et,!0),jv=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Za(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}var Wv=e=>t=>jv(t)&&e(t,Za(t));function Yn(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function _n(e,t,n,r){return Yn(e,t,Wv(n),r)}var IC=(e,t)=>n=>t(e(n)),Fn=(...e)=>e.reduce(IC);function Uv(e){let t=null;return()=>{let n=()=>{t=null};return t===null?(t=e,n):!1}}var Tm=Uv("dragHorizontal"),Em=Uv("dragVertical");function Xv(e){let t=!1;if(e==="y")t=Em();else if(e==="x")t=Tm();else{let n=Tm(),r=Em();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function of(){let e=Xv(!0);return e?(e(),!1):!0}var Xi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Go={...Xi,transform:e=>Kn(0,1,e)},Ma={...Xi,default:1},sf=(e,t)=>n=>!!(os(n)&&wC.test(n)&&n.startsWith(e)||t&&!kC(n)&&Object.prototype.hasOwnProperty.call(n,t)),Yv=(e,t,n)=>r=>{if(!os(r))return r;let[i,o,s,a]=r.match(nf);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},LC=e=>Kn(0,255,e),yu={...Xi,transform:e=>Math.round(LC(e))},ri={test:sf("rgb","red"),parse:Yv("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+yu.transform(e)+", "+yu.transform(t)+", "+yu.transform(n)+", "+Yo(Go.transform(r))+")"};function MC(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 Iu={test:sf("#"),parse:MC,transform:ri.transform},Bi={test:sf("hsl","hue"),parse:Yv("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Pn.transform(Yo(t))+", "+Pn.transform(Yo(n))+", "+Yo(Go.transform(r))+")"},Je={test:e=>ri.test(e)||Iu.test(e)||Bi.test(e),parse:e=>ri.test(e)?ri.parse(e):Bi.test(e)?Bi.parse(e):Iu.parse(e),transform:e=>os(e)?e:e.hasOwnProperty("red")?ri.transform(e):Bi.transform(e)};function OC(e){var t,n;return isNaN(e)&&os(e)&&(((t=e.match(nf))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(SC))===null||n===void 0?void 0:n.length)||0)>0}var Gv="number",Kv="color",DC="var",AC="var(",Rm="${}",VC=/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 es(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],o=0,a=t.replace(VC,l=>(Je.test(l)?(r.color.push(o),i.push(Kv),n.push(Je.parse(l))):l.startsWith(AC)?(r.var.push(o),i.push(DC),n.push(l)):(r.number.push(o),i.push(Gv),n.push(parseFloat(l))),++o,Rm)).split(Rm);return{values:n,split:a,indexes:r,types:i}}function qv(e){return es(e).values}function Qv(e){let{split:t,types:n}=es(e),r=t.length;return i=>{let o="";for(let s=0;stypeof e=="number"?0:e;function $C(e){let t=qv(e);return Qv(e)(t.map(BC))}var qn={test:OC,parse:qv,createTransformer:Qv,getAnimatableNone:$C},In=e=>e*1e3,Ln=e=>e/1e3;function Zv(e,t){return t?e*(1e3/t):0}var zC=5;function Jv(e,t,n){let r=Math.max(t-zC,0);return Zv(n-e(r),t-r)}var bu=.001,NC=.01,Pm=10,HC=.05,jC=1;function WC({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;rs(e<=In(Pm),"Spring duration must be 10 seconds or less");let s=1-t;s=Kn(HC,jC,s),e=Kn(NC,Pm,Ln(e)),s<1?(i=c=>{let u=c*s,f=u*e,d=u-n,m=Lu(c,s),y=Math.exp(-f);return bu-d/m*y},o=c=>{let f=c*s*e,d=f*n+n,m=Math.pow(s,2)*Math.pow(c,2)*e,y=Math.exp(-f),g=Lu(Math.pow(c,2),s);return(-i(c)+bu>0?-1:1)*((d-m)*y)/g}):(i=c=>{let u=Math.exp(-c*e),f=(c-n)*e+1;return-bu+u*f},o=c=>{let u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});let a=5/e,l=XC(i,o,a);if(e=In(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let c=Math.pow(l,2)*r;return{stiffness:c,damping:s*2*Math.sqrt(r*c),duration:e}}}var UC=12;function XC(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function KC(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!_m(e,GC)&&_m(e,YC)){let n=WC(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function as({keyframes:e,restDelta:t,restSpeed:n,...r}){let i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:a,damping:l,mass:c,duration:u,velocity:f,isResolvedFromDuration:d}=KC({...r,velocity:-Ln(r.velocity||0)}),m=f||0,y=l/(2*Math.sqrt(a*c)),g=o-i,x=Ln(Math.sqrt(a/c)),h=Math.abs(g)<5;n||(n=h?.01:2),t||(t=h?.005:.5);let p;if(y<1){let v=Lu(x,y);p=w=>{let C=Math.exp(-y*x*w);return o-C*((m+y*x*g)/v*Math.sin(v*w)+g*Math.cos(v*w))}}else if(y===1)p=v=>o-Math.exp(-x*v)*(g+(m+x*g)*v);else{let v=x*Math.sqrt(y*y-1);p=w=>{let C=Math.exp(-y*x*w),S=Math.min(v*w,300);return o-C*((m+y*x*g)*Math.sinh(S)+v*g*Math.cosh(S))/v}}return{calculatedDuration:d&&u||null,next:v=>{let w=p(v);if(d)s.done=v>=u;else{let C=m;v!==0&&(y<1?C=Jv(p,v,w):C=0);let S=Math.abs(C)<=n,T=Math.abs(o-w)<=t;s.done=S&&T}return s.value=s.done?o:w,s}}}var eg=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,qC=1e-7,QC=12;function ZC(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=eg(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>qC&&++aZC(o,0,1,e,n);return o=>o===0||o===1?o:eg(i(o),t,r)}var tg=Yi(.42,0,1,1),ng=Yi(0,0,.58,1),af=Yi(.42,0,.58,1),lf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,cf=e=>t=>1-e(1-t),Ja=e=>1-Math.sin(Math.acos(e)),uf=cf(Ja),rg=lf(Ja),ff=Yi(.33,1.53,.69,.99),el=cf(ff),ig=lf(el),og=e=>(e*=2)<1?.5*el(e):.5*(2-Math.pow(2,-10*(e-1))),si=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},xe=(e,t,n)=>e+(t-e)*n;function xu(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 JC({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{let a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=xu(l,a,e+1/3),o=xu(l,a,e),s=xu(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function $a(e,t){return n=>n>0?t:e}var Su=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},eT=[Iu,ri,Bi],tT=e=>eT.find(t=>t.test(e));function Fm(e){let t=tT(e);if(rs(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===Bi&&(n=JC(n)),n}var Im=(e,t)=>{let n=Fm(e),r=Fm(t);if(!n||!r)return $a(e,t);let i={...n};return o=>(i.red=Su(n.red,r.red,o),i.green=Su(n.green,r.green,o),i.blue=Su(n.blue,r.blue,o),i.alpha=xe(n.alpha,r.alpha,o),ri.transform(i))},sg=e=>t=>typeof t=="string"&&t.startsWith(e),ag=sg("--"),nT=sg("var(--"),df=e=>nT(e)?rT.test(e.split("/*")[0].trim()):!1,rT=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Mu=new Set(["none","hidden"]);function iT(e,t){return Mu.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function oT(e,t){return n=>xe(e,t,n)}function hf(e){return typeof e=="number"?oT:typeof e=="string"?df(e)?$a:Je.test(e)?Im:lT:Array.isArray(e)?lg:typeof e=="object"?Je.test(e)?Im:sT:$a}function lg(e,t){let n=[...e],r=n.length,i=e.map((o,s)=>hf(o)(o,t[s]));return o=>{for(let s=0;s{for(let o in r)n[o]=r[o](i);return n}}function aT(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let o=0;o{let n=qn.createTransformer(t),r=es(e),i=es(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?Mu.has(e)&&!i.values.length||Mu.has(t)&&!r.values.length?iT(e,t):Fn(lg(aT(r,i),i.values),n):(rs(!0,`Complex values '${e}' and '${t}' 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.`),$a(e,t))};function pf(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?xe(e,t,n):hf(e)(e,t)}function cT(e,t,n){let r=[],i=n||pf,o=e.length-1;for(let s=0;st[0];if(o===2&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=cT(t,r,i),a=s.length,l=c=>{let u=0;if(a>1)for(;ul(Kn(e[0],e[o-1],c)):l}var uT=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Lm=e=>e===Xi||e===W,Mm=(e,t)=>parseFloat(e.split(", ")[t]),Om=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Mm(i[1],t);{let o=r.match(/^matrix\((.+)\)$/u);return o?Mm(o[1],e):0}},fT=new Set(["x","y","z"]),dT=is.filter(e=>!fT.has(e));function hT(e){let t=[];return dT.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}var ji={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:Om(4,13),y:Om(5,14)};ji.translateX=ji.x;ji.translateY=ji.y;var ii=new Set,Ou=!1,Du=!1;function cg(){if(Du){let e=Array.from(ii).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{let i=hT(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,s])=>{var a;(a=r.getValue(o))===null||a===void 0||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&O.scrollTo(0,r.suspendedScrollY)})}Du=!1,Ou=!1,ii.forEach(e=>e.complete()),ii.clear()}function ug(){ii.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Du=!0)})}function pT(){ug(),cg()}var mf=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?(ii.add(this),Ou||(Ou=!0,J.read(ug),J.resolveKeyframes(cg))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;ia!==void 0&&El,y=E=>a===void 0?l:l===void 0||Math.abs(a-E)-g*Math.exp(-E/r),v=E=>h+p(E),w=E=>{let I=p(E),F=v(E);d.done=Math.abs(I)<=c,d.value=d.done?h:F},C,S,T=E=>{m(d.value)&&(C=E,S=as({keyframes:[d.value,y(d.value)],velocity:Jv(v,E,d.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return T(0),{calculatedDuration:null,next:E=>{let I=!1;return!S&&C===void 0&&(I=!0,w(E),T(E)),C!==void 0&&E>=C?S.next(E-C):(!I&&w(E),d)}}}var fg=e=>Array.isArray(e)&&typeof e[0]!="number",Am={linear:et,easeIn:tg,easeInOut:af,easeOut:ng,circIn:Ja,circInOut:rg,circOut:uf,backIn:el,backInOut:ig,backOut:ff,anticipate:og},Vm=e=>{if(Array.isArray(e)){zt(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return Yi(t,n,r,i)}else if(typeof e=="string")return zt(Am[e]!==void 0,`Invalid easing type '${e}'`),Am[e];return e};function dg(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=si(0,t,r);e.push(xe(n,1,i))}}function hg(e){let t=[0];return dg(t,e.length-1),t}function mT(e,t){return e.map(n=>n*t)}function vT(e,t){return e.map(()=>t||af).splice(0,e.length-1)}function za({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=fg(r)?r.map(Vm):Vm(r),o={done:!1,value:t[0]},s=mT(n&&n.length===t.length?n:hg(t),e),a=ls(s,t,{ease:Array.isArray(i)?i:vT(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}var Na={current:!1},Bm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(qn.test(e)||e==="0")&&!e.startsWith("url("));function gT(e){let t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function tl(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(bT),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}var pg=class{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,...s},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&pT(),this._resolved}onKeyframesResolved(e,t){this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:o,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!yT(e,n,r,i))if(Na.current||!o){a?.(tl(e,this.options,t)),s?.(),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})}},Au=2e4;function mg(e){let t=0,n=50,r=e.next(t);for(;!r.done&&t=Au?1/0:t}var Aa;function xT(){Aa=void 0}var gr={now:()=>(Aa===void 0&&gr.set(je.isProcessing||Ya.useManualTiming?je.timestamp:performance.now()),Aa),set:e=>{Aa=e,queueMicrotask(xT)}},ST=e=>{let t=({timestamp:n})=>e(n);return{start:()=>J.update(t,!0),stop:()=>Nt(t),now:()=>je.isProcessing?je.timestamp:gr.now()}},wT={decay:Dm,inertia:Dm,tween:za,keyframes:za,spring:as},kT=e=>e/100,nl=class extends pg{constructor({KeyframeResolver:e=mf,...t}){super(t),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",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:n,motionValue:r,keyframes:i}=this.options,o=(s,a)=>this.onKeyframesResolved(s,a);n&&r&&r.owner?this.resolver=r.owner.resolveKeyframes(i,o,n,r):this.resolver=new e(i,o,n,r),this.resolver.scheduleResolve()}initPlayback(e){let{type:t="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=this.options,s=wT[t]||za,a,l;s!==za&&typeof e[0]!="number"&&(a=Fn(kT,pf(e[0],e[1])),e=[0,100]);let c=s({...this.options,keyframes:e});i==="mirror"&&(l=s({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=mg(c));let{calculatedDuration:u}=c,f=u+r,d=f*(n+1)-r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,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:T}=this.options;return{done:!0,value:T[T.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:o,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(this.startTime===null)return i.next(0);let{delay:f,repeat:d,repeatType:m,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 x=this.currentTime-f*(this.speed>=0?1:-1),h=this.speed>=0?x<0:x>c;this.currentTime=Math.max(x,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let p=this.currentTime,v=i;if(d){let T=Math.min(this.currentTime,c)/u,E=Math.floor(T),I=T%1;!I&&T>=1&&(I=1),I===1&&E--,E=Math.min(E,d+1),!!(E%2)&&(m==="reverse"?(I=1-I,y&&(I-=y/u)):m==="mirror"&&(v=o)),p=Kn(0,1,I)*u}let w=h?{done:!1,value:a[0]}:v.next(p);s&&(w.value=s(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=tl(a,this.options,r)),g&&g(w.value),S&&this.finish(),w}get duration(){let{resolved:e}=this;return e?Ln(e.calculatedDuration):0}get time(){return Ln(this.currentTime)}set time(e){e=In(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=Ln(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=ST,onPlay:t}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),t&&t();let n=this.driver.now();this.holdTime!==null?this.startTime=n-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=n),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 vg(e){return new nl(e)}var gg=e=>/^0[^.\s]+$/u.test(e);function CT(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||gg(e):!0}var yg=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),TT=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ET(e){let t=TT.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}var RT=4;function bg(e,t,n=1){zt(n<=RT,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=ET(e);if(!r)return;let o=O.getComputedStyle(t).getPropertyValue(r);if(o){let s=o.trim();return yg(s)?parseFloat(s):s}return df(i)?bg(i,t,n+1):i}var xg=e=>t=>t.test(e),PT={test:e=>e==="auto",parse:e=>e},Sg=[Xi,W,Pn,mr,TC,CC,PT],$m=e=>Sg.find(xg(e)),_T=new Set(["brightness","contrast","saturate","opacity"]);function FT(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=n.match(nf)||[];if(!r)return e;let i=n.replace(r,""),o=_T.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}var IT=/\b([a-z-]*)\(.*?\)/gu,Vu={...qn,getAnimatableNone:e=>{let t=e.match(IT);return t?t.map(FT).join(" "):e}},zm={...Xi,transform:Math.round},wg={borderWidth:W,borderTopWidth:W,borderRightWidth:W,borderBottomWidth:W,borderLeftWidth:W,borderRadius:W,radius:W,borderTopLeftRadius:W,borderTopRightRadius:W,borderBottomRightRadius:W,borderBottomLeftRadius:W,width:W,maxWidth:W,height:W,maxHeight:W,size:W,top:W,right:W,bottom:W,left:W,padding:W,paddingTop:W,paddingRight:W,paddingBottom:W,paddingLeft:W,margin:W,marginTop:W,marginRight:W,marginBottom:W,marginLeft:W,rotate:mr,rotateX:mr,rotateY:mr,rotateZ:mr,scale:Ma,scaleX:Ma,scaleY:Ma,scaleZ:Ma,skew:mr,skewX:mr,skewY:mr,distance:W,translateX:W,translateY:W,translateZ:W,x:W,y:W,z:W,perspective:W,transformPerspective:W,opacity:Go,originX:km,originY:km,originZ:W,zIndex:zm,backgroundPositionX:W,backgroundPositionY:W,fillOpacity:Go,strokeOpacity:Go,numOctaves:zm},LT={...wg,color:Je,backgroundColor:Je,outlineColor:Je,fill:Je,stroke:Je,borderColor:Je,borderTopColor:Je,borderRightColor:Je,borderBottomColor:Je,borderLeftColor:Je,filter:Vu,WebkitFilter:Vu},vf=e=>LT[e];function kg(e,t){let n=vf(e);return n!==Vu&&(n=qn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var MT=new Set(["auto","none","0"]);function OT(e,t,n){let r=0,i;for(;r{t.getValue(a).set(l)}),this.resolveNoneKeyframes()}};function Tg(e){let t;return()=>(t===void 0&&(t=e()),t)}var Eg=e=>Array.isArray(e)&&typeof e[0]=="number";function Rg(e){return!!(!e||typeof e=="string"&&e in gf||Eg(e)||Array.isArray(e)&&e.every(Rg))}var Xo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,gf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Xo([0,.65,.55,1]),circOut:Xo([.55,0,1,.45]),backIn:Xo([.31,.01,.66,-.59]),backOut:Xo([.33,1.53,.69,.99])};function DT(e){return Pg(e)||gf.easeOut}function Pg(e){if(e)return Eg(e)?Xo(e):Array.isArray(e)?e.map(DT):gf[e]}function AT(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){let c={[t]:n};l&&(c.offset=l);let u=Pg(a);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:s==="reverse"?"alternate":"normal"})}var VT=Tg(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),BT=new Set(["opacity","clipPath","filter","transform"]),Ha=10,$T=2e4;function zT(e){return e.type==="spring"||e.name==="backgroundColor"||!Rg(e.ease)}function NT(e,t){let n=new nl({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],o=0;for(;!r.done&&o<$T;)r=n.sample(o),i.push(r.value),o+=Ha;return{times:void 0,keyframes:i,duration:o-Ha,ease:"linear"}}var Bu=class extends pg{constructor(e){super(e);let{name:t,motionValue:n,keyframes:r}=this.options;this.resolver=new Cg(r,(i,o)=>this.onKeyframesResolved(i,o),t,n),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,times:i,ease:o,type:s,motionValue:a,name:l}=this.options;if(!(!((n=a.owner)===null||n===void 0)&&n.current))return!1;if(zT(this.options)){let{onComplete:u,onUpdate:f,motionValue:d,...m}=this.options,y=NT(e,m);e=y.keyframes,e.length===1&&(e[1]=e[0]),r=y.duration,i=y.times,o=y.ease,s="keyframes"}let c=AT(a.owner.current,l,e,{...this.options,duration:r,times:i,ease:o});return c.startTime=gr.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:u}=this.options;a.set(tl(e,this.options,t)),u&&u(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:i,type:s,ease:o,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return Ln(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return Ln(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=In(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}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{let{resolved:t}=this;if(!t)return et;let{animation:n}=t;n.timeline=e,n.onfinish=null}return et}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;let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:i,ease:o,times:s}=e;if(!(t.playState==="idle"||t.playState==="finished")){if(this.time){let{motionValue:a,onUpdate:l,onComplete:c,...u}=this.options,f=new nl({...u,keyframes:n,duration:r,type:i,ease:o,times:s,isGenerator:!0}),d=In(this.time);a.setWithVelocity(f.sample(d-Ha).value,f.sample(d).value,Ha)}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:s}=e;return VT()&&n&&BT.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&i!=="mirror"&&o!==0&&s!=="inertia"}};function yf(e,t){e.indexOf(t)===-1&&e.push(t)}function rl(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function HT([...e],t,n){let r=t<0?e.length+t:t;if(r>=0&&rrl(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!isNaN(parseFloat(e)),Ko={current:void 0},il=class{constructor(e,t={}){this.version="11.2.13",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,r=!0)=>{let i=gr.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=gr.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=jT(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 bf);let n=this.events[e].add(t);return e==="change"?()=>{n(),J.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 Ko.current&&Ko.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=gr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Nm)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Nm);return Zv(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 yr(e,t){return new il(e,t)}function ol(e,t,n){let r=e.getProps();return rf(r,t,n!==void 0?n:r.custom,e)}var WT={type:"spring",stiffness:500,damping:25,restSpeed:10},UT=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),XT={type:"keyframes",duration:.8},YT={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},GT=(e,{keyframes:t})=>t.length>2?XT:li.has(e)?e.startsWith("scale")?UT(t[1]):WT:YT;function KT({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function xf(e,t){return e[t]||e.default||e}function qT(e,t){let n,r=()=>{let{currentTime:i}=t,s=(i===null?0:i.value)/100;n!==s&&e(s),n=s};return J.update(r,!0),()=>Nt(r)}var QT=Tg(()=>O.ScrollTimeline!==void 0),Sf=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{if(QT()&&n.attachTimeline)n.attachTimeline(e);else return n.pause(),qT(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 duration(){let e=0;for(let t=0;tt[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}},wf=(e,t,n,r={},i,o)=>s=>{let a=xf(r,e)||{},l=a.delay||r.delay||0,{elapsed:c=0}=r;c=c-In(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:d=>{t.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};KT(a)||(u={...u,...GT(e,u)}),u.duration&&(u.duration=In(u.duration)),u.repeatDelay&&(u.repeatDelay=In(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let f=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(f=!0)),(Na.current||Ya.skipAnimations)&&(f=!0,u.duration=0,u.delay=0),f&&!o&&t.get()!==void 0){let d=tl(u.keyframes,a);if(d!==void 0)return J.update(()=>{u.onUpdate(d),u.onComplete()}),new Sf([])}return!o&&Bu.supports(u)?new Bu(u):new nl(u)};function ja(e){return!!(Le(e)&&e.add)}function ZT(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,yr(n))}function kf(e,t){let n=ol(e,t),{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(let s in o){let a=PC(o[s]);ZT(e,s,a)}}function _g(e){return e.getProps()[qu]}function JT({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Cf(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t,c=e.getValue("willChange");r&&(s=r);let u=[],f=i&&e.animationState&&e.animationState.getState()[i];for(let d in l){let m=e.getValue(d,(o=e.latestValues[d])!==null&&o!==void 0?o:null),y=l[d];if(y===void 0||f&&JT(f,d))continue;let g={delay:n,elapsed:0,...xf(s||{},d)},x=!1;if(O.HandoffAppearAnimations){let p=_g(e);if(p){let v=O.HandoffAppearAnimations(p,d,m,J);v!==null&&(g.elapsed=v,x=!0)}}m.start(wf(d,m,y,e.shouldReduceMotion&&li.has(d)?{type:!1}:g,e,x));let h=m.animation;h&&(ja(c)&&(c.add(d),h.then(()=>c.remove(d))),u.push(h))}return a&&Promise.all(u).then(()=>{J.update(()=>{a&&kf(e,a)})}),u}function $u(e,t,n={}){var r;let i=ol(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 s=i?()=>Promise.all(Cf(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:u=0,staggerChildren:f,staggerDirection:d}=o;return eE(e,t,u+c,f,d,n)}:()=>Promise.resolve(),{when:l}=o;if(l){let[c,u]=l==="beforeChildren"?[s,a]:[a,s];return c().then(()=>u())}else return Promise.all([s(),a(n.delay)])}function eE(e,t,n=0,r=0,i=1,o){let s=[],a=(e.variantChildren.size-1)*r,l=i===1?(c=0)=>c*r:(c=0)=>a-c*r;return Array.from(e.variantChildren).sort(tE).forEach((c,u)=>{c.notify("AnimationStart",t),s.push($u(c,t,{...o,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function tE(e,t){return e.sortNodePosition(t)}function Tf(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){let i=t.map(o=>$u(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=$u(e,t,n);else{let i=typeof t=="function"?ol(e,t,n.custom):t;r=Promise.all(Cf(e,i,n))}return r.then(()=>{J.postRender(()=>{e.notify("AnimationComplete",t)})})}function Fg(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;rPromise.all(t.map(({animation:n,options:r})=>Tf(e,n,r)))}function oE(e){let t=iE(e),n=Hm(),r=!0,i=l=>(c,u)=>{var f;let d=ol(e,u,l==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){let{transition:m,transitionEnd:y,...g}=d;c={...c,...g,...y}}return c};function o(l){t=l(e)}function s(l){let c=e.getProps(),u=e.getVariantContext(!0)||{},f=[],d=new Set,m={},y=1/0;for(let x=0;xy&&w,I=!1,F=Array.isArray(v)?v:[v],z=F.reduce(i(h),{});C===!1&&(z={});let{prevResolvedValues:A={}}=p,X={...A,...z},Y=B=>{E=!0,d.has(B)&&(I=!0,d.delete(B)),p.needsAnimating[B]=!0;let G=e.getValue(B);G&&(G.liveStyle=!1)};for(let B in X){let G=z[B],ee=A[B];if(m.hasOwnProperty(B))continue;let te=!1;Fu(G)&&Fu(ee)?te=!Fg(G,ee):te=G!==ee,te?G!=null?Y(B):d.add(B):G!==void 0&&d.has(B)?Y(B):p.protectedKeys[B]=!0}p.prevProp=v,p.prevResolvedValues=z,p.isActive&&(m={...m,...z}),r&&e.blockInitialAnimation&&(E=!1),E&&(!S||I)&&f.push(...F.map(B=>({animation:B,options:{type:h}})))}if(d.size){let x={};d.forEach(h=>{let p=e.getBaseTarget(h),v=e.getValue(h);v&&(v.liveStyle=!0),x[h]=p??null}),f.push({animation:x})}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 a(l,c){var u;if(n[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(d=>{var m;return(m=d.animationState)===null||m===void 0?void 0:m.setActive(l,c)}),n[l].isActive=c;let f=s(l);for(let d in n)n[d].protectedKeys={};return f}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Hm(),r=!0}}}function sE(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Fg(t,e):!1}function Jr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Hm(){return{animate:Jr(!0),whileInView:Jr(),whileHover:Jr(),whileTap:Jr(),whileDrag:Jr(),whileFocus:Jr(),exit:Jr()}}var xr=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},aE=class extends xr{constructor(e){super(e),e.animationState||(e.animationState=oE(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Ka(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)}},lE=0,cE=class extends xr{constructor(){super(...arguments),this.id=lE++}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(){}},Ef={animation:{Feature:aE},exit:{Feature:cE}},zu=(e,t)=>Math.abs(e-t);function Ig(e,t){let n=zu(e.x,t.x),r=zu(e.y,t.y);return Math.sqrt(n**2+r**2)}function Pt(e){return e.max-e.min}function Nu(e,t=0,n=.01){return Math.abs(e-t)<=n}function jm(e,t,n,r=.5){e.origin=r,e.originPoint=xe(t.min,t.max,e.origin),e.scale=Pt(n)/Pt(t),(Nu(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=xe(n.min,n.max,e.origin)-e.originPoint,(Nu(e.translate)||isNaN(e.translate))&&(e.translate=0)}function qo(e,t,n,r){jm(e.x,t.x,n.x,r?r.originX:void 0),jm(e.y,t.y,n.y,r?r.originY:void 0)}function Wm(e,t,n){e.min=n.min+t.min,e.max=e.min+Pt(t)}function uE(e,t,n){Wm(e.x,t.x,n.x),Wm(e.y,t.y,n.y)}function Um(e,t,n){e.min=t.min-n.min,e.max=e.min+Pt(t)}function Qo(e,t,n){Um(e.x,t.x,n.x),Um(e.y,t.y,n.y)}var Xm=()=>({translate:0,scale:1,origin:0,originPoint:0}),$i=()=>({x:Xm(),y:Xm()}),Ym=()=>({min:0,max:0}),Ie=()=>({x:Ym(),y:Ym()});function Lg(){let e=D(Ui);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=Zr();return H(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}var fE=(e,t)=>e.depth-t.depth,Mg=class{constructor(){this.children=[],this.isDirty=!1}add(e){yf(this.children,e),this.isDirty=!0}remove(e){rl(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(fE),this.isDirty=!1,this.children.forEach(e)}};function Og(e,t){let n=gr.now(),r=({timestamp:i})=>{let o=i-n;o>=t&&(Nt(r),e(o-t))};return J.read(r,!0),()=>Nt(r)}var Wi=new WeakMap,Wa={current:null},Rf={current:!1};function Dg(){if(Rf.current=!0,!!Xa)if(O.matchMedia){let e=O.matchMedia("(prefers-reduced-motion)"),t=()=>Wa.current=e.matches;e.addListener(t),t()}else Wa.current=!1}function dE(e,t,n){let{willChange:r}=t;for(let i in t){let o=t[i],s=n[i];if(Le(o))e.addValue(i,o),ja(r)&&r.add(i);else if(Le(s))e.addValue(i,yr(o,{owner:e})),ja(r)&&r.remove(i);else if(s!==o)if(e.hasValue(i)){let a=e.getValue(i);a.liveStyle===!0?a.jump(o):a.hasAnimated||a.set(o)}else{let a=e.getStaticValue(i);e.addValue(i,yr(a!==void 0?a:o,{owner:e}))}}for(let i in n)t[i]===void 0&&e.removeValue(i);return t}var hE=[...Sg,Je,qn],pE=e=>hE.find(xg(e)),Gm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],mE=Ju.length,Ag=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},s={}){this.resolveKeyframes=(f,d,m,y)=>new this.KeyframeResolver(f,d,m,y,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=mf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>J.render(this.render,!1,!0);let{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.blockInitialAnimation=!!i,this.isControllingVariants=qa(t),this.isVariantNode=Vv(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];a[f]!==void 0&&Le(d)&&(d.set(a[f],!1),ja(c)&&c.add(f))}}mount(e){this.current=e,Wi.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)),Rf.current||Dg(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Wa.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Wi.delete(this.current),this.projection&&this.projection.unmount(),Nt(this.notifyUpdate),Nt(this.render),this.valueSubscriptions.forEach(e=>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=li.has(e),r=t.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&J.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 Ni){let t=Ni[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.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ie()}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;nt.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=yr(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"&&(yg(r)||gg(r))?r=parseFloat(r):!pE(r)&&qn.test(t)&&(r=kg(e,t)),this.setBaseTarget(e,Le(r)?r.get():r)),Le(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=rf(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&&!Le(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 bf),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}};function Vg(e){function t(r,i={}){return Bv(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 vE=["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 Pf(e){return typeof e!="string"||e.includes("-")?!1:!!(vE.indexOf(e)>-1||/[A-Z]/u.test(e))}function Bg(e,{layout:t,layoutId:n}){return li.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Ba[e]||e==="opacity")}var gE=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function _f(e,t,n,r){let{style:i,vars:o,transform:s,transformOrigin:a}=e,l=!1,c=!1,u=!0;for(let f in t){let d=t[f];if(ag(f)){o[f]=d;continue}let m=wg[f],y=gE(d,m);if(li.has(f)){if(l=!0,s[f]=y,!u)continue;d!==(m.default||0)&&(u=!1)}else f.startsWith("origin")?(c=!0,a[f]=y):i[f]=y}if(t.transform||(l||r?i.transform=$v(e.transform,n,u,r):i.transform&&(i.transform="none")),c){let{originX:f="50%",originY:d="50%",originZ:m=0}=a;i.transformOrigin=`${f} ${d} ${m}`}}var Ff=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $g(e,t,n){for(let r in t)!Le(t[r])&&!Bg(r,n)&&(e[r]=t[r])}function yE({transformTemplate:e},t,n){return oe(()=>{let r=Ff();return _f(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function bE(e,t,n){let r=e.style||{},i={};return $g(i,r,e),Object.assign(i,yE(e,t,n)),i}function xE(e,t,n){let r={},i=bE(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}function Km(e,t,n){return typeof e=="string"?e:W.transform(t+n*e)}function SE(e,t,n){let r=Km(t,e.x,e.width),i=Km(n,e.y,e.height);return`${r} ${i}`}var wE={offset:"stroke-dashoffset",array:"stroke-dasharray"},kE={offset:"strokeDashoffset",array:"strokeDasharray"};function CE(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?wE:kE;e[o.offset]=W.transform(-r);let s=W.transform(t),a=W.transform(n);e[o.array]=`${s} ${a}`}function If(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,f,d){if(_f(e,c,u,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:m,style:y,dimensions:g}=e;m.transform&&(g&&(y.transform=m.transform),delete m.transform),g&&(i!==void 0||o!==void 0||y.transform)&&(y.transformOrigin=SE(g,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),s!==void 0&&CE(m,s,a,l,!1)}var zg=()=>({...Ff(),attrs:{}}),Lf=e=>typeof e=="string"&&e.toLowerCase()==="svg";function TE(e,t,n,r){let i=oe(()=>{let o=zg();return If(o,t,{enableHardwareAcceleration:!1},Lf(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};$g(o,e.style,e),i.style={...o,...i.style}}return i}function EE(e=!1){return(n,r,i,{latestValues:o},s)=>{let l=(Pf(n)?TE:xE)(r,o,s,n),c=Hv(r,typeof n=="string",e),u=n!==Qr?{...c,...l,ref:i}:{},{children:f}=r,d=oe(()=>Le(f)?f.get():f,[f]);return La(n,{...u,children:d})}}function Ng(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 Hg=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 jg(e,t,n,r){Ng(e,t,void 0,r);for(let i in t.attrs)e.setAttribute(Hg.has(i)?i:Ku(i),t.attrs[i])}function Mf(e,t,n){var r;let{style:i}=e,o={};for(let s in i)(Le(i[s])||t.style&&Le(t.style[s])||Bg(s,e)||((r=n?.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[s]=i[s]);return o}function Wg(e,t,n){let r=Mf(e,t,n);for(let i in e)if(Le(e[i])||Le(t[i])){let o=is.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}var RE={useVisualState:Qa({scrapeMotionValuesFromProps:Wg,createRenderState:zg,onMount:(e,t,{renderState:n,latestValues:r})=>{J.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),J.render(()=>{If(n,r,{enableHardwareAcceleration:!1},Lf(t.tagName),e.transformTemplate),jg(t,n)})}})},PE={useVisualState:Qa({scrapeMotionValuesFromProps:Mf,createRenderState:Ff})};function Ug(e,{forwardMotionProps:t=!1},n,r){return{...Pf(e)?RE:PE,preloadedFeatures:n,useRender:EE(t),createVisualElement:r,Component:e}}function qm(e,t){let n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||of())return;let a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);let l=a[r];l&&J.postRender(()=>l(o,s))};return _n(e.current,n,i,{passive:!e.getProps()[r]})}var _E=class extends xr{mount(){this.unmount=Fn(qm(this.node,!0),qm(this.node,!1))}unmount(){}},FE=class extends xr{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=Fn(Yn(this.node.current,"focus",()=>this.onFocus()),Yn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}},Xg=(e,t)=>t?e===t?!0:Xg(e,t.parentElement):!1;function wu(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,Za(n))}var IE=class extends xr{constructor(){super(...arguments),this.removeStartListeners=et,this.removeEndListeners=et,this.removeAccessibleListeners=et,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),i=_n(O,"pointerup",(s,a)=>{if(!this.checkPressEnd())return;let{onTap:l,onTapCancel:c,globalTapTarget:u}=this.node.getProps(),f=!u&&!Xg(this.node.current,s.target)?c:l;f&&J.update(()=>f(s,a))},{passive:!(n.onTap||n.onPointerUp)}),o=_n(O,"pointercancel",(s,a)=>this.cancelPress(s,a),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Fn(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=i=>{if(i.key!=="Enter"||this.isPressing)return;let o=s=>{s.key!=="Enter"||!this.checkPressEnd()||wu("up",(a,l)=>{let{onTap:c}=this.node.getProps();c&&J.postRender(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=Yn(this.node.current,"keyup",o),wu("down",(s,a)=>{this.startPress(s,a)})},t=Yn(this.node.current,"keydown",e),n=()=>{this.isPressing&&wu("cancel",(i,o)=>this.cancelPress(i,o))},r=Yn(this.node.current,"blur",n);this.removeAccessibleListeners=Fn(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&&J.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!of()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&J.postRender(()=>n(e,t))}mount(){let e=this.node.getProps(),t=_n(e.globalTapTarget?O:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Yn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Fn(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}},Hu=new WeakMap,ku=new WeakMap,LE=e=>{let t=Hu.get(e.target);t&&t(e)},ME=e=>{e.forEach(LE)};function OE({root:e,...t}){let n=e||document;ku.has(n)||ku.set(n,{});let r=ku.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(ME,{root:e,...t})),r[i]}function DE(e,t,n){let r=OE(t);return Hu.set(e,n),r.observe(e),()=>{Hu.delete(e),r.unobserve(e)}}var AE={some:0,all:1},VE=class extends xr{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:AE[r]},s=a=>{let{isIntersecting:l}=a;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(a)};return DE(this.node.current,o,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(BE(e,t))&&this.startObserver()}unmount(){}};function BE({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var Yg={inView:{Feature:VE},tap:{Feature:IE},focus:{Feature:FE},hover:{Feature:_E}},Gg=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=O,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let u=Tu(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=Ig(u.offset,{x:0,y:0})>=3;if(!f&&!d)return;let{point:m}=u,{timestamp:y}=je;this.history.push({...m,timestamp:y});let{onStart:g,onMove:x}=this.handlers;f||(g&&g(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,u)},this.handlePointerMove=(u,f)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=Cu(f,this.transformPagePoint),J.update(this.updatePoint,!0)},this.handlePointerUp=(u,f)=>{this.end();let{onEnd:d,onSessionEnd:m,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let g=Tu(u.type==="pointercancel"?this.lastMoveEventInfo:Cu(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(u,g),m&&m(u,g)},!jv(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||O;let o=Za(e),s=Cu(o,this.transformPagePoint),{point:a}=s,{timestamp:l}=je;this.history=[{...a,timestamp:l}];let{onSessionStart:c}=t;c&&c(e,Tu(s,this.history)),this.removeListeners=Fn(_n(this.contextWindow,"pointermove",this.handlePointerMove),_n(this.contextWindow,"pointerup",this.handlePointerUp),_n(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Nt(this.updatePoint)}};function Cu(e,t){return t?{point:t(e.point)}:e}function Qm(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Tu({point:e},t){return{point:e,delta:Qm(e,Kg(t)),offset:Qm(e,$E(t)),velocity:zE(t,.1)}}function $E(e){return e[0]}function Kg(e){return e[e.length-1]}function zE(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Kg(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>In(t)));)n--;if(!r)return{x:0,y:0};let o=Ln(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};let s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function NE(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?xe(n,e,r.max):Math.min(e,n)),e}function Zm(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 HE(e,{top:t,left:n,bottom:r,right:i}){return{x:Zm(e.x,n,i),y:Zm(e.y,t,r)}}function Jm(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=si(t.min,t.max-r,e.min):r>i&&(n=si(e.min,e.max-i,t.min)),Kn(0,1,n)}function UE(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 ju=.35;function XE(e=ju){return e===!1?e=0:e===!0&&(e=ju),{x:ev(e,"left","right"),y:ev(e,"top","bottom")}}function ev(e,t,n){return{min:tv(e,t),max:tv(e,n)}}function tv(e,t){return typeof e=="number"?e:e[t]||0}function en(e){return[e("x"),e("y")]}function qg({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function YE({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function GE(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 Eu(e){return e===void 0||e===1}function Wu({scale:e,scaleX:t,scaleY:n}){return!Eu(e)||!Eu(t)||!Eu(n)}function ei(e){return Wu(e)||Qg(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Qg(e){return nv(e.x)||nv(e.y)}function nv(e){return e&&e!=="0%"}function Ua(e,t,n){let r=e-n,i=t*r;return n+i}function rv(e,t,n,r,i){return i!==void 0&&(e=Ua(e,i,r)),Ua(e,n,r)+t}function Uu(e,t=0,n=1,r,i){e.min=rv(e.min,t,n,r,i),e.max=rv(e.max,t,n,r,i)}function Zg(e,{x:t,y:n}){Uu(e.x,t.translate,t.scale,t.originPoint),Uu(e.y,n.translate,n.scale,n.originPoint)}function KE(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;a1.0000000000001||e<.999999999999?e:1}function vr(e,t){e.min=e.min+t,e.max=e.max+t}function ov(e,t,[n,r,i]){let o=t[i]!==void 0?t[i]:.5,s=xe(e.min,e.max,o);Uu(e,t[n],t[r],s,t.scale)}var qE=["x","scaleX","originX"],QE=["y","scaleY","originY"];function zi(e,t){ov(e.x,t,qE),ov(e.y,t,QE)}function Jg(e,t){return qg(GE(e.getBoundingClientRect(),t))}function ZE(e,t,n){let r=Jg(e,n),{scroll:i}=t;return i&&(vr(r.x,i.offset.x),vr(r.y,i.offset.y)),r}var ey=({current:e})=>e?e.ownerDocument.defaultView:null,JE=new WeakMap,eR=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=Ie(),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(Za(c,"page").point)},i=(c,u)=>{let{drag:f,dragPropagation:d,onDragStart:m}=this.getProps();if(f&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Xv(f),!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),en(g=>{let x=this.getAxisMotionValue(g).get()||0;if(Pn.test(x)){let{projection:h}=this.visualElement;if(h&&h.layout){let p=h.layout.layoutBox[g];p&&(x=Pt(p)*(parseFloat(x)/100))}}this.originPoint[g]=x}),m&&J.postRender(()=>m(c,u));let{animationState:y}=this.visualElement;y&&y.setActive("whileDrag",!0)},o=(c,u)=>{let{dragPropagation:f,dragDirectionLock:d,onDirectionLock:m,onDrag:y}=this.getProps();if(!f&&!this.openGlobalLock)return;let{offset:g}=u;if(d&&this.currentDirection===null){this.currentDirection=tR(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",u.point,g),this.updateAxis("y",u.point,g),this.visualElement.render(),y&&y(c,u)},s=(c,u)=>this.stop(c,u),a=()=>en(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 Gg(e,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:s,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:ey(this.visualElement)})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&J.postRender(()=>i(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||!Oa(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=NE(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&&Vi(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=HE(r.layoutBox,t):this.constraints=!1,this.elastic=XE(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&en(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=UE(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Vi(e))return!1;let n=e.current;zt(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=ZE(n,r.root,this.visualElement.getTransformPagePoint()),o=jE(r.layout.layoutBox,i);if(t){let s=t(YE(o));this.hasMutatedConstraints=!!s,s&&(o=qg(s))}return o}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=en(c=>{if(!Oa(c,t,this.currentDirection))return;let u=a&&a[c]||{};o&&(u={min:0,max:0});let f=r?200:1e6,d=r?40:1e7,m={type:"inertia",velocity:n?e[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(c,m)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return n.start(wf(e,n,0,t,this.visualElement))}stopAnimation(){en(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){en(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){en(t=>{let{drag:n}=this.getProps();if(!Oa(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:o,max:s}=r.layout.layoutBox[t];i.set(e[t]-xe(o,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Vi(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};en(o=>{let s=this.getAxisMotionValue(o);if(s&&this.constraints!==!1){let a=s.get();r[o]=WE({min:a,max:a},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(),en(o=>{if(!Oa(o,e,null))return;let s=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];s.set(xe(a,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;JE.set(this.visualElement,this);let e=this.visualElement.current,t=_n(e,"pointerdown",a=>{let{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),n=()=>{let{dragConstraints:a}=this.getProps();Vi(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),J.read(n);let o=Yn(O,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(en(c=>{let u=this.getAxisMotionValue(c);u&&(this.originPoint[c]+=a[c].translate,u.set(u.get()+a[c].translate))}),this.visualElement.render())});return()=>{o(),t(),i(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=ju,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}};function Oa(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function tR(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}var nR=class extends xr{constructor(e){super(e),this.removeGroupControls=et,this.removeListeners=et,this.controls=new eR(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||et}unmount(){this.removeGroupControls(),this.removeListeners()}},sv=e=>(t,n)=>{e&&J.postRender(()=>e(t,n))},rR=class extends xr{constructor(){super(...arguments),this.removePointerDownListener=et}onPointerDown(e){this.session=new Gg(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ey(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:sv(e),onStart:sv(t),onMove:n,onEnd:(i,o)=>{delete this.session,r&&J.postRender(()=>r(i,o))}}}mount(){this.removePointerDownListener=_n(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Va={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function av(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Wo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(W.test(e))e=parseFloat(e);else return e;let n=av(e,t.target.x),r=av(e,t.target.y);return`${n}% ${r}%`}},iR={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=qn.parse(e);if(i.length>5)return r;let o=qn.createTransformer(e),s=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;let c=xe(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=c),typeof i[3+s]=="number"&&(i[3+s]/=c),o(i)}},oR=class extends ge{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;tf(sR),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()})),Va.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()||J.postRender(()=>{let s=o.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Qu.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 ty(e){let[t,n]=Lg(),r=D(Zo);return k(oR,{...e,layoutGroup:r,switchLayoutGroup:D(Ga),isPresent:t,safeToRemove:n})}var sR={borderRadius:{...Wo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Wo,borderTopRightRadius:Wo,borderBottomLeftRadius:Wo,borderBottomRightRadius:Wo,boxShadow:iR},ny=["TopLeft","TopRight","BottomLeft","BottomRight"],aR=ny.length,lv=e=>typeof e=="string"?parseFloat(e):e,cv=e=>typeof e=="number"||W.test(e);function lR(e,t,n,r,i,o){i?(e.opacity=xe(0,n.opacity!==void 0?n.opacity:1,cR(r)),e.opacityExit=xe(t.opacity!==void 0?t.opacity:1,0,uR(r))):o&&(e.opacity=xe(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(si(e,t,r))}function fv(e,t){e.min=t.min,e.max=t.max}function Jt(e,t){fv(e.x,t.x),fv(e.y,t.y)}function dv(e,t,n,r,i){return e-=t,e=Ua(e,1/n,r),i!==void 0&&(e=Ua(e,1/i,r)),e}function fR(e,t=0,n=1,r=.5,i,o=e,s=e){if(Pn.test(t)&&(t=parseFloat(t),t=xe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=xe(o.min,o.max,r);e===o&&(a-=t),e.min=dv(e.min,t,n,a,i),e.max=dv(e.max,t,n,a,i)}function hv(e,t,[n,r,i],o,s){fR(e,t[n],t[r],t[i],t.scale,o,s)}var dR=["x","scaleX","originX"],hR=["y","scaleY","originY"];function pv(e,t,n,r){hv(e.x,t,dR,n?n.x:void 0,r?r.x:void 0),hv(e.y,t,hR,n?n.y:void 0,r?r.y:void 0)}function mv(e){return e.translate===0&&e.scale===1}function iy(e){return mv(e.x)&&mv(e.y)}function pR(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function oy(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function vv(e){return Pt(e.x)/Pt(e.y)}var mR=class{constructor(){this.members=[]}add(e){yf(this.members,e),e.scheduleRender()}remove(e){if(rl(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 gv(e,t,n){let r="",i=e.x.translate/t.x,o=e.y.translate/t.y,s=n?.z||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}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:m,skewY:y}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),f&&(r+=`rotateX(${f}deg) `),d&&(r+=`rotateY(${d}deg) `),m&&(r+=`skewX(${m}deg) `),y&&(r+=`skewY(${y}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}function vR(e){O.MotionDebug&&O.MotionDebug.record(e)}function sy(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Of(e,t,n){let r=Le(e)?e:yr(e);return r.start(wf("",r,t,n)),r.animation}var Ru=["","X","Y","Z"],gR={visibility:"hidden"},yv=1e3,yR=0,ti={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Pu(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function ay(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;let{visualElement:t}=e.options;return t?_g(t)?!0:e.parent&&!e.parent.hasCheckedOptimisedAppear?ay(e.parent):!1:!1}function ly({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t?.()){this.id=yR++,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,ti.totalNodes=ti.resolvedTargetDeltas=ti.recalculatedProjection=0,this.nodes.forEach(SR),this.nodes.forEach(ER),this.nodes.forEach(RR),this.nodes.forEach(wR),vR(ti)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=Og(d,250),Va.hasAnimatedSinceResize&&(Va.hasAnimatedSinceResize=!1,this.nodes.forEach(xv))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:m,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let g=this.options.transition||u.getDefaultTransition()||LR,{onLayoutAnimationStart:x,onLayoutAnimationComplete:h}=u.getProps(),p=!this.targetLayout||!oy(this.targetLayout,y)||m,v=!d&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||d&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,v);let w={...xf(g,"layout"),onPlay:x,onComplete:h};(u.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else d||xv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Nt(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(PR),this.animationId++)}getTransformTemplate(){let{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(O.HandoffCancelAllAnimations&&ay(this)&&O.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u{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{let C=w/1e3;Sv(f.x,s.x,C),Sv(f.y,s.y,C),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Qo(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),FR(this.relativeTarget,this.relativeTargetOrigin,d,C),v&&pR(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Ie()),Jt(v,this.relativeTarget)),g&&(this.animationValues=u,lR(u,c,this.latestValues,C,p,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Nt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=J.update(()=>{Va.hasAnimatedSinceResize=!0,this.currentAnimation=Of(0,yv,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.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 s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(yv),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:a,target:l,layout:c,latestValues:u}=s;if(!(!a||!l||!c)){if(this!==s&&this.layout&&c&&cy(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Ie();let f=Pt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+f;let d=Pt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+d}Jt(a,l),zi(a,u),qo(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new mR),this.sharedNodes.get(s).add(a);let c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){var s;let{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;let{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let a=!1,{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;let c={};l.z&&Pu("z",s,c,this.animationValues);for(let u=0;u{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(bv),this.root.sharedNodes.clear()}}}function bR(e){e.updateLayout()}function xR(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,s=n.source!==e.layout.source;o==="size"?en(f=>{let d=s?n.measuredBox[f]:n.layoutBox[f],m=Pt(d);d.min=r[f].min,d.max=d.min+m}):cy(o,n.layoutBox,r)&&en(f=>{let d=s?n.measuredBox[f]:n.layoutBox[f],m=Pt(r[f]);d.max=d.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+m)});let a=$i();qo(a,r,n.layoutBox);let l=$i();s?qo(l,e.applyTransform(i,!0),n.measuredBox):qo(l,r,n.layoutBox);let c=!iy(a),u=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:d,layout:m}=f;if(d&&m){let y=Ie();Qo(y,n.layoutBox,d.layoutBox);let g=Ie();Qo(g,r,m.layoutBox),oy(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:a,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function SR(e){ti.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 wR(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function kR(e){e.clearSnapshot()}function bv(e){e.clearMeasurements()}function CR(e){e.isLayoutDirty=!1}function TR(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function xv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ER(e){e.resolveTargetDelta()}function RR(e){e.calcProjection()}function PR(e){e.resetSkewAndRotation()}function _R(e){e.removeLeadSnapshot()}function Sv(e,t,n){e.translate=xe(t.translate,0,n),e.scale=xe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function wv(e,t,n,r){e.min=xe(t.min,n.min,r),e.max=xe(t.max,n.max,r)}function FR(e,t,n,r){wv(e.x,t.x,n.x,r),wv(e.y,t.y,n.y,r)}function IR(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var LR={duration:.45,ease:[.4,0,.1,1]},kv=e=>typeof _e<"u"&&_e.userAgent&&_e.userAgent.toLowerCase().includes(e),Cv=kv("applewebkit/")&&!kv("chrome/")?Math.round:et;function Tv(e){e.min=Cv(e.min),e.max=Cv(e.max)}function MR(e){Tv(e.x),Tv(e.y)}function cy(e,t,n){return e==="position"||e==="preserve-aspect"&&!Nu(vv(t),vv(n),.2)}var OR=ly({attachResizeListener:(e,t)=>Yn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),oi={current:void 0},uy=ly({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!oi.current){let e=new OR({});e.mount(O),e.setOptions({layoutScroll:!0}),oi.current=e}return oi.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>O.getComputedStyle(e).position==="fixed"}),fy={pan:{Feature:rR},drag:{Feature:nR,ProjectionNode:uy,MeasureLayout:ty}},dy=class extends Ag{constructor(){super(...arguments),this.KeyframeResolver=Cg}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 DR(e){return O.getComputedStyle(e)}var hy=class extends dy{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(li.has(t)){let n=vf(t);return n&&n.default||0}else{let n=DR(e),r=(ag(t)?n.getPropertyValue(t):n[t])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Jg(e,t)}build(e,t,n,r){_f(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Mf(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Le(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(e,t,n,r){Ng(e,t,n,r)}},py=class extends dy{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(li.has(t)){let n=vf(t);return n&&n.default||0}return t=Hg.has(t)?t:Ku(t),e.getAttribute(t)}measureInstanceViewportBox(){return Ie()}scrapeMotionValuesFromProps(e,t,n){return Wg(e,t,n)}build(e,t,n,r){If(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){jg(e,t,n,r)}mount(e){this.isSVGTag=Lf(e.tagName),super.mount(e)}},my=(e,t)=>Pf(e)?new py(t,{enableHardwareAcceleration:!1}):new hy(t,{allowProjection:e!==Qr,enableHardwareAcceleration:!0}),vy={layout:{ProjectionNode:uy,MeasureLayout:ty}},AR={...Ef,...Yg,...fy,...vy},Ht=Vg((e,t)=>Ug(e,t,AR,my));var VR=Vg(Ug);function gy(){let e=V(!1);return ai(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function sl(){let e=gy(),[t,n]=at(0),r=ce(()=>{e.current&&n(t+1)},[t]);return[ce(()=>J.postRender(r),[r]),t]}function yy(e){return H(()=>()=>e(),[])}var BR=class extends ge{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 $R({children:e,isPresent:t}){let n=Zr(),r=V(null),i=V({width:0,height:0,top:0,left:0}),{nonce:o}=D(Gn);return Ye(()=>{let{width:s,height:a,top:l,left:c}=i.current;if(t||!r.current||!s||!a)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(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${s}px !important; height: ${a}px !important; top: ${l}px !important; left: ${c}px !important; } `),()=>{document.head.removeChild(u)}},[t]),k(BR,{isPresent:t,childRef:r,sizeRef:i,children:mn(e,{ref:r})})}var _u=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s})=>{let a=br(zR),l=Zr(),c=oe(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:u=>{a.set(u,!0);for(let f of a.values())if(!f)return;r&&r()},register:u=>(a.set(u,!1),()=>a.delete(u))}),o?[Math.random()]:[n]);return oe(()=>{a.forEach((u,f)=>a.set(f,!1))},[n]),H(()=>{!n&&!a.size&&r&&r()},[n]),s==="popLayout"&&(e=k($R,{isPresent:n,children:e})),k(Ui.Provider,{value:c,children:e})};function zR(){return new Map}var ni=e=>e.key||"";function NR(e,t){e.forEach(n=>{let r=ni(n);t.set(r,n)})}function HR(e){let t=[];return Rn.forEach(e,n=>{$t(n)&&t.push(n)}),t}var Df=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:s="sync"})=>{zt(!i,"Replace exitBeforeEnter with mode='wait'");let a=D(Zo).forceRender||sl()[0],l=gy(),c=HR(e),u=c,f=V(new Map).current,d=V(u),m=V(new Map).current,y=V(!0);if(ai(()=>{y.current=!1,NR(c,m),d.current=u}),yy(()=>{y.current=!0,m.clear(),f.clear()}),y.current)return k(Fe,{children:u.map(p=>k(_u,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:s,children:p},ni(p)))});u=[...u];let g=d.current.map(ni),x=c.map(ni),h=g.length;for(let p=0;p{if(x.indexOf(v)!==-1)return;let w=m.get(v);if(!w)return;let C=g.indexOf(v),S=p;S||(S=k(_u,{isPresent:!1,onExitComplete:()=>{f.delete(v);let E=Array.from(m.keys()).filter(I=>!x.includes(I));if(E.forEach(I=>m.delete(I)),d.current=c.filter(I=>{let F=ni(I);return F===v||E.includes(F)}),!f.size){if(l.current===!1)return;a(),r&&r()}},custom:t,presenceAffectsLayout:o,mode:s,children:w},ni(w)),f.set(v,S)),u.splice(C,0,S)}),u=u.map(p=>{let v=p.key;return f.has(v)?p:k(_u,{isPresent:!0,presenceAffectsLayout:o,mode:s,children:p},ni(p))}),k(Fe,{children:f.size?u:u.map(p=>mn(p))})};function by({children:e,isValidProp:t,...n}){t&&Nv(t),n={...D(Gn),...n},n.isStatic=br(()=>n.isStatic);let r=oe(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return k(Gn.Provider,{value:r,children:e})}var xy=ve(null),jR=e=>!e.isLayoutDirty&&e.willUpdate(!1);function Ev(){let e=new Set,t=new WeakMap,n=()=>e.forEach(jR);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 Sy=e=>e===!0,WR=e=>Sy(e===!0)||e==="id",wy=({children:e,id:t,inherit:n=!0})=>{let r=D(Zo),i=D(xy),[o,s]=sl(),a=V(null),l=r.id||i;a.current===null&&(WR(n)&&l&&(t=t?l+"-"+t:l),a.current={id:t,group:Sy(n)&&r.group||Ev()});let c=oe(()=>({...a.current,forceRender:o}),[s]);return k(Zo.Provider,{value:c,children:e})};function ci(e){let t=br(()=>yr(e)),{isStatic:n}=D(Gn);if(n){let[,r]=at(e);H(()=>t.on("change",r),[])}return t}var UR=e=>e&&typeof e=="object"&&e.mix,XR=e=>UR(e)?e.mix:void 0;function ky(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],o=e[2+n],s=e[3+n],a=ls(i,o,{mixer:XR(o[0]),...s});return t?a(r):a}function Cy(e,t){let n=ci(t()),r=()=>n.set(t());return r(),ai(()=>{let i=()=>J.preRender(r,!1,!0),o=e.map(s=>s.on("change",i));return()=>{o.forEach(s=>s()),Nt(r)}}),n}function YR(e){Ko.current=[],e();let t=Cy(Ko.current,e);return Ko.current=void 0,t}function al(e,t,n,r){if(typeof e=="function")return YR(e);let i=typeof t=="function"?t:ky(t,n,r);return Array.isArray(e)?Rv(e,i):Rv([e],([o])=>i(o))}function Rv(e,t){let n=br(()=>[]);return Cy(e,()=>{n.length=0;let r=e.length;for(let i=0;iu.value===t);if(i===-1)return e;let o=r>0?1:-1,s=e[i+o];if(!s)return e;let a=e[i],l=s.layout,c=xe(l.min,l.max,.5);return o===1&&a.layout.max+n>c||o===-1&&a.layout.min+nHt(t)),l=[],c=V(!1);zt(!!i,"Reorder.Group must be provided a values prop");let u={axis:n,registerItem:(f,d)=>{let m=l.findIndex(y=>f===y.value);m!==-1?l[m].layout=d[n]:l.push({value:f,layout:d[n]}),l.sort(QR)},updateOrder:(f,d,m)=>{if(c.current)return;let y=GR(l,f,d,m);l!==y&&(c.current=!0,r(y.map(qR).filter(g=>i.indexOf(g)!==-1)))}};return H(()=>{c.current=!1}),k(a,{...o,ref:s,ignoreStrict:!0,children:k(Ty.Provider,{value:u,children:e})})}var M5=Ve(KR);function qR(e){return e.value}function QR(e,t){return e.layout.min-t.layout.min}function Pv(e,t=0){return Le(e)?e:ci(t)}function ZR({children:e,style:t={},value:n,as:r="li",onDrag:i,layout:o=!0,...s},a){let l=br(()=>Ht(r)),c=D(Ty),u={x:Pv(t.x),y:Pv(t.y)},f=al([u.x,u.y],([g,x])=>g||x?1:"unset");zt(!!c,"Reorder.Item must be a child of Reorder.Group");let{axis:d,registerItem:m,updateOrder:y}=c;return k(l,{drag:d,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:f},layout:o,onDrag:(g,x)=>{let{velocity:h}=x;h[d]&&y(n,u[d].get(),h[d]),i&&i(g,x)},onLayoutMeasure:g=>m(n,g),ref:a,ignoreStrict:!0,children:e})}var A5=Ve(ZR);var Ey={renderer:my,...Ef,...Yg},JR={...Ey,...fy,...vy};function Af(e,t={}){let{isStatic:n}=D(Gn),r=V(null),i=ci(Le(e)?e.get():e),o=V(i.get()),s=V(()=>{}),a=()=>{let c=r.current;c&&c.time===0&&c.sample(je.delta),l(),r.current=vg({keyframes:[i.get(),o.current],velocity:i.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:s.current})},l=()=>{r.current&&r.current.stop()};return Ye(()=>i.attach((c,u)=>n?u(c):(o.current=c,s.current=u,J.update(a),i.get()),l),[JSON.stringify(t)]),ai(()=>{if(Le(e))return e.on("change",c=>i.set(parseFloat(c)))},[i]),i}function Ry(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(zt(!!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||[])}function Py(){!Rf.current&&Dg();let[e]=at(Wa.current);return e}function _y(){let e=Py(),{reducedMotion:t}=D(Gn);return t==="never"?!1:t==="always"?!0:e}function eP(e){e.values.forEach(t=>t.stop())}function Xu(e,t){[...t].reverse().forEach(r=>{let i=e.getVariant(r);i&&kf(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{Xu(o,t)})})}function tP(e,t){if(Array.isArray(t))return Xu(e,t);if(typeof t=="string")return Xu(e,[t]);kf(e,t)}function Fy(){let e=!1,t=new Set,n={subscribe(r){return t.add(r),()=>void t.delete(r)},start(r,i){zt(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let o=[];return t.forEach(s=>{o.push(Tf(s,r,{transitionOverride:i}))}),Promise.all(o)},set(r){return zt(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(i=>{tP(i,r)})},stop(){t.forEach(r=>{eP(r)})},mount(){return e=!0,()=>{e=!1,n.stop()}}};return n}var Iy=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};function nP(e){return typeof e=="object"&&!Array.isArray(e)}function rP(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=sy(e)?new py(t,{enableHardwareAcceleration:!1}):new hy(t,{enableHardwareAcceleration:!0});n.mount(e),Wi.set(e,n)}function iP(e,t=100){let n=as({keyframes:[0,t],...e}),r=Math.min(mg(n),Au);return{type:"keyframes",ease:i=>n.next(r*i).value/t,duration:Ln(r)}}function _v(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 oP(e,t){return fg(e)?e[Iy(0,e.length,t)]:e}function sP(e,t,n){for(let r=0;rt&&i.at{let E=fP(v),{delay:I=0,times:F=hg(E),type:z="keyframes",...A}=w,{ease:X=t.ease||"easeOut",duration:Y}=w,B=typeof I=="function"?I(S,T):I,G=E.length;if(G<=2&&z==="spring"){let ne=100;if(G===2&&pP(E)){let me=E[1]-E[0];ne=Math.abs(me)}let ie={...A};Y!==void 0&&(ie.duration=In(Y));let Ce=iP(ie,ne);X=Ce.ease,Y=Ce.duration}Y??(Y=i);let ee=u+B,te=ee+Y;F.length===1&&F[0]===0&&(F[1]=1);let U=F.length-E.length;U>0&&dg(F,U),E.length===1&&E.unshift(null),aP(C,E,X,F,ee,te),h=Math.max(B+Y,h),f=Math.max(te,f)};if(Le(y)){let v=Fv(y,s);p(g,x,Iv("default",v))}else{let v=Ry(y,r,a),w=v.length;for(let C=0;C{for(let y in d){let g=d[y];g.sort(lP);let x=[],h=[],p=[];for(let w=0;wtypeof e=="number",pP=e=>e.every(hP);function Ly(e,t,n,r){let i=Ry(e,r),o=i.length;zt(!!o,"No valid element provided.");let s=[];for(let a=0;aArray.isArray(e)&&Array.isArray(e[0]);function vP(e,t,n){let r=[];return uP(e,t,n).forEach(({keyframes:o,transition:s},a)=>{let l;Le(a)?l=Of(a,o.default,s.default):l=Ly(a,o,s),r.push(l)}),new Sf(r)}var My=e=>{function t(n,r,i){let o;return mP(n)?o=vP(n,r,e):nP(r)?o=Ly(n,r,i,e):o=Of(n,r,i),e&&e.animations.push(o),o}return t},Vf=My();function Oy(){let e=br(Fy);return ai(e.mount,[]),e}var Dy=Oy;function Bf(e){return e!==null&&typeof e=="object"&&ef in e}function Ay(e){if(Bf(e))return e[ef]}function $f(){return gP}function gP(e){oi.current&&(oi.current.isUpdating=!1,oi.current.blockUpdate(),e&&e())}function Vy(){let[e,t]=sl(),n=$f(),r=V();return H(()=>{J.postRender(()=>J.postRender(()=>{t===r.current&&(Na.current=!1)}))},[t]),i=>{n(()=>{Na.current=!0,e(),i(),r.current=t+1})}}function By(){return ce(()=>{let t=oi.current;t&&t.resetTree()},[])}var Lv=()=>({});var K5=Qa({scrapeMotionValuesFromProps:Lv,createRenderState:Lv});var yP=Uo.reduce((e,t)=>(e[t]=n=>Nt(n),e),{});var J2={};du(J2,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>N2,createPortal:()=>H2,createRoot:()=>j2,default:()=>t1,findDOMNode:()=>W2,flushSync:()=>U2,hydrate:()=>X2,hydrateRoot:()=>Y2,render:()=>G2,unmountComponentAtNode:()=>K2,unstable_batchedUpdates:()=>q2,unstable_renderSubtreeIntoContainer:()=>Q2,version:()=>Z2});var hl={};du(hl,{default:()=>K,unstable_IdlePriority:()=>SP,unstable_ImmediatePriority:()=>wP,unstable_LowPriority:()=>kP,unstable_NormalPriority:()=>CP,unstable_Profiling:()=>TP,unstable_UserBlockingPriority:()=>EP,unstable_cancelCallback:()=>RP,unstable_continueExecution:()=>PP,unstable_forceFrameRate:()=>_P,unstable_getCurrentPriorityLevel:()=>FP,unstable_getFirstCallbackNode:()=>IP,unstable_next:()=>LP,unstable_now:()=>xP,unstable_pauseExecution:()=>MP,unstable_requestPaint:()=>OP,unstable_runWithPriority:()=>DP,unstable_scheduleCallback:()=>AP,unstable_shouldYield:()=>VP,unstable_wrapCallback:()=>BP});var K={};function jf(e,t){var n=e.length;e.push(t);e:for(;0>>1,i=e[r];if(!(0>>1;rll(a,n))lll(c,a)?(e[r]=c,e[l]=n,r=l):(e[r]=a,e[s]=n,r=s);else{if(!(lll(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"?($y=performance,K.unstable_now=function(){return $y.now()}):(zf=Date,zy=zf.now(),K.unstable_now=function(){return zf.now()-zy});var $y,zf,zy,On=[],Sr=[],bP=1,rn=null,ut=3,fl=!1,ui=!1,us=!1,jy=typeof setTimeout=="function"?setTimeout:null,Wy=typeof clearTimeout=="function"?clearTimeout:null,Ny=typeof setImmediate<"u"?setImmediate:null;typeof _e<"u"&&_e.scheduling!==void 0&&_e.scheduling.isInputPending!==void 0&&_e.scheduling.isInputPending.bind(_e.scheduling);function Wf(e){for(var t=vn(Sr);t!==null;){if(t.callback===null)ul(Sr);else{if(!(t.startTime<=e))break;ul(Sr),t.sortIndex=t.expirationTime,jf(On,t)}t=vn(Sr)}}function Uf(e){if(us=!1,Wf(e),!ui)if(vn(On)!==null)ui=!0,Yf(Xf);else{var t=vn(Sr);t!==null&&Gf(Uf,t.startTime-e)}}function Xf(e,t){ui=!1,us&&(us=!1,Wy(fs),fs=-1),fl=!0;var n=ut;try{for(Wf(t),rn=vn(On);rn!==null&&(!(rn.expirationTime>t)||e&&!Yy());){var r=rn.callback;if(typeof r=="function"){rn.callback=null,ut=rn.priorityLevel;var i=r(rn.expirationTime<=t);t=K.unstable_now(),typeof i=="function"?rn.callback=i:rn===vn(On)&&ul(On),Wf(t)}else ul(On);rn=vn(On)}if(rn!==null)var o=!0;else{var s=vn(Sr);s!==null&&Gf(Uf,s.startTime-t),o=!1}return o}finally{rn=null,ut=n,fl=!1}}var dl=!1,cl=null,fs=-1,Uy=5,Xy=-1;function Yy(){return!(K.unstable_now()-Xye||125r?(e.sortIndex=n,jf(Sr,e),vn(On)===null&&e===vn(Sr)&&(us?(Wy(fs),fs=-1):us=!0,Gf(Uf,n-r))):(e.sortIndex=i,jf(On,e),ui||fl||(ui=!0,Yf(Xf))),e};K.unstable_shouldYield=Yy;K.unstable_wrapCallback=function(e){var t=ut;return function(){var n=ut;ut=t;try{return e.apply(this,arguments)}finally{ut=n}}};var xP=K.unstable_now,SP=K.unstable_IdlePriority,wP=K.unstable_ImmediatePriority,kP=K.unstable_LowPriority,CP=K.unstable_NormalPriority,TP=K.unstable_Profiling,EP=K.unstable_UserBlockingPriority,RP=K.unstable_cancelCallback,PP=K.unstable_continueExecution,_P=K.unstable_forceFrameRate,FP=K.unstable_getCurrentPriorityLevel,IP=K.unstable_getFirstCallbackNode,LP=K.unstable_next,MP=K.unstable_pauseExecution,OP=K.unstable_requestPaint,DP=K.unstable_runWithPriority,AP=K.unstable_scheduleCallback,VP=K.unstable_shouldYield,BP=K.unstable_wrapCallback;var $P="default"in lt?b:lt,zP="default"in hl?K:hl,Yt={},eb=$P,Xt=zP;function L(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof O.document>"u"||typeof O.document.createElement>"u"),gd=Object.prototype.hasOwnProperty,NP=/^[: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]*$/,Gy={},Ky={};function HP(e){return gd.call(Ky,e)?!0:gd.call(Gy,e)?!1:NP.test(e)?Ky[e]=!0:(Gy[e]=!0,!1)}function jP(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 WP(e,t,n,r){if(t===null||typeof t>"u"||jP(e,t,n,r))return!0;if(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 wt(e,t,n,r,i,o,s){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=s}var rt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){rt[e]=new wt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];rt[t]=new wt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){rt[e]=new wt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){rt[e]=new wt(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){rt[e]=new wt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){rt[e]=new wt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){rt[e]=new wt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){rt[e]=new wt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){rt[e]=new wt(e,5,!1,e.toLowerCase(),null,!1,!1)});var lh=/[\-:]([a-z])/g;function ch(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(lh,ch);rt[t]=new wt(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(lh,ch);rt[t]=new wt(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(lh,ch);rt[t]=new wt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){rt[e]=new wt(e,1,!1,e.toLowerCase(),null,!1,!1)});rt.xlinkHref=new wt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){rt[e]=new wt(e,1,!1,e.toLowerCase(),null,!0,!0)});function uh(e,t,n,r){var i=rt.hasOwnProperty(t)?rt[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==o[a]){var l=` `+i[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{qf=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xs(e):""}function UP(e){switch(e.tag){case 5:return xs(e.type);case 16:return xs("Lazy");case 13:return xs("Suspense");case 19:return xs("SuspenseList");case 0:case 2:case 15:return e=Qf(e.type,!1),e;case 11:return e=Qf(e.type.render,!1),e;case 1:return e=Qf(e.type,!0),e;default:return""}}function Sd(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 Qi:return"Fragment";case qi:return"Portal";case yd:return"Profiler";case fh:return"StrictMode";case bd:return"Suspense";case xd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case rb:return(e.displayName||"Context")+".Consumer";case nb:return(e._context.displayName||"Context")+".Provider";case dh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case hh:return t=e.displayName||null,t!==null?t:Sd(e.type)||"Memo";case kr:t=e._payload,e=e._init;try{return Sd(e(t))}catch{}}return null}function XP(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 Sd(t);case 8:return t===fh?"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 Vr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ob(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function YP(e){var t=ob(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(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ml(e){e._valueTracker||(e._valueTracker=YP(e))}function sb(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ob(e)?e.checked?"true":"false":e.value),e=r,e!==n&&(t.setValue(e),!0)}function jl(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 wd(e,t){var n=t.checked;return Re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Qy(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Vr(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 ab(e,t){t=t.checked,t!=null&&uh(e,"checked",t,!1)}function kd(e,t){ab(e,t);var n=Vr(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")?Cd(e,t.type,n):t.hasOwnProperty("defaultValue")&&Cd(e,t.type,Vr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Zy(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 Cd(e,t,n){t==="number"&&jl(e.ownerDocument)===e||(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ss=Array.isArray;function lo(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=vl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Os(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Cs={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},GP=["Webkit","ms","Moz","O"];Object.keys(Cs).forEach(function(e){GP.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Cs[t]=Cs[e]})});function fb(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Cs.hasOwnProperty(e)&&Cs[e]?(""+t).trim():t+"px"}function db(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=fb(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var KP=Re({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 Rd(e,t){if(t){if(KP[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 Pd(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 _d=null;function ph(e){return e=e.target||e.srcElement||O,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fd=null,co=null,uo=null;function t0(e){if(e=Zs(e)){if(typeof Fd!="function")throw Error(L(280));var t=e.stateNode;t&&(t=gc(t),Fd(e.stateNode,e.type,t))}}function hb(e){co?uo?uo.push(e):uo=[e]:co=e}function pb(){if(co){var e=co,t=uo;if(uo=co=null,t0(e),t)for(e=0;e>>=0,e===0?32:31-(s_(e)/a_|0)|0}var gl=64,yl=4194304;function ws(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 Yl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=268435455&n;if(s!==0){var a=s&~i;a!==0?r=ws(a):(o&=s,o!==0&&(r=ws(o)))}else s=n&~i,s!==0?r=ws(s):o!==0&&(r=ws(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;0n;n++)t.push(e);return t}function qs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Sn(t),e[t]=n}function f_(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=Es),u0=String.fromCharCode(32),f0=!1;function Ob(e,t){switch(e){case"keyup":return $_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Db(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zi=!1;function N_(e,t){switch(e){case"compositionend":return Db(t);case"keypress":return t.which!==32?null:(f0=!0,u0);case"textInput":return e=t.data,e===u0&&f0?null:e;default:return null}}function H_(e,t){if(Zi)return e==="compositionend"||!wh&&Ob(e,t)?(e=Lb(),Ol=bh=Rr=null,Zi=!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)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=p0(n)}}function $b(e,t){return!(!e||!t)&&(e===t||(!e||e.nodeType!==3)&&(t&&t.nodeType===3?$b(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function zb(){for(var e=O,t=jl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(!n)break;e=t.contentWindow,t=jl(e.document)}return t}function kh(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 Q_(e){var t=zb(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&$b(n.ownerDocument.documentElement,n)){if(r!==null&&kh(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||O,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=m0(n,o);var s=m0(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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=document.documentMode,Ji=null,Ad=null,Ps=null,Vd=!1;function v0(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vd||Ji==null||Ji!==jl(r)||(r=Ji,"selectionStart"in r&&kh(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||O).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ps&&zs(Ps,r)||(Ps=r,r=ql(Ad,"onSelect"),0no||(e.current=jd[no],jd[no]=null,no--)}function ye(e,t){no++,jd[no]=e.current,e.current=t}var Br={},pt=zr(Br),Lt=zr(!1),yi=Br;function vo(e,t){var n=e.type.contextTypes;if(!n)return Br;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 Mt(e){return e=e.childContextTypes,e!=null}function Zl(){we(Lt),we(pt)}function T0(e,t,n){if(pt.current!==Br)throw Error(L(168));ye(pt,t),ye(Lt,n)}function Kb(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,XP(e)||"Unknown",i));return Re({},n,r)}function Jl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Br,yi=pt.current,ye(pt,e),ye(Lt,Lt.current),!0}function E0(e,t,n){var r=e.stateNode;if(!r)throw Error(L(169));n?(e=Kb(e,t,yi),r.__reactInternalMemoizedMergedChildContext=e,we(Lt),we(pt),ye(pt,e)):we(Lt),ye(Lt,n)}var Zn=null,yc=!1,ld=!1;function qb(e){Zn===null?Zn=[e]:Zn.push(e)}function a2(e){yc=!0,qb(e)}function Nr(){if(!ld&&Zn!==null){ld=!0;var e=0,t=pe;try{var n=Zn;for(pe=1;e>=s,i-=s,Jn=1<<32-Sn(t)+i|n<E?(I=T,T=null):I=T.sibling;var F=d(h,T,v[E],w);if(F===null){T===null&&(T=I);break}e&&T&&F.alternate===null&&t(h,T),p=o(F,p,E),S===null?C=F:S.sibling=F,S=F,T=I}if(E===v.length)return n(h,T),ke&&fi(h,E),C;if(T===null){for(;EE?(I=T,T=null):I=T.sibling;var z=d(h,T,F.value,w);if(z===null){T===null&&(T=I);break}e&&T&&z.alternate===null&&t(h,T),p=o(z,p,E),S===null?C=z:S.sibling=z,S=z,T=I}if(F.done)return n(h,T),ke&&fi(h,E),C;if(T===null){for(;!F.done;E++,F=v.next())F=f(h,F.value,w),F!==null&&(p=o(F,p,E),S===null?C=F:S.sibling=F,S=F);return ke&&fi(h,E),C}for(T=r(h,T);!F.done;E++,F=v.next())F=m(T,h,E,F.value,w),F!==null&&(e&&F.alternate!==null&&T.delete(F.key===null?E:F.key),p=o(F,p,E),S===null?C=F:S.sibling=F,S=F);return e&&T.forEach(function(A){return t(h,A)}),ke&&fi(h,E),C}function x(h,p,v,w){if(typeof v=="object"&&v!==null&&v.type===Qi&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case pl:e:{for(var C=v.key,S=p;S!==null;){if(S.key===C){if(C=v.type,C===Qi){if(S.tag===7){n(h,S.sibling),p=i(S,v.props.children),p.return=h,h=p;break e}}else if(S.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===kr&&M0(C)===S.type){n(h,S.sibling),p=i(S,v.props),p.ref=vs(h,S,v),p.return=h,h=p;break e}n(h,S);break}t(h,S),S=S.sibling}v.type===Qi?(p=gi(v.props.children,h.mode,w,v.key),p.return=h,h=p):(w=Hl(v.type,v.key,v.props,null,h.mode,w),w.ref=vs(h,p,v),w.return=h,h=w)}return s(h);case qi:e:{for(S=v.key;p!==null;){if(p.key===S){if(p.tag===4&&p.stateNode.containerInfo===v.containerInfo&&p.stateNode.implementation===v.implementation){n(h,p.sibling),p=i(p,v.children||[]),p.return=h,h=p;break e}n(h,p);break}t(h,p),p=p.sibling}p=vd(v,h.mode,w),p.return=h,h=p}return s(h);case kr:return S=v._init,x(h,p,S(v._payload),w)}if(Ss(v))return y(h,p,v,w);if(ds(v))return g(h,p,v,w);_l(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,p!==null&&p.tag===6?(n(h,p.sibling),p=i(p,v),p.return=h,h=p):(n(h,p),p=md(v,h.mode,w),p.return=h,h=p),s(h)):n(h,p)}return x}var yo=ix(!0),ox=ix(!1),Js={},$n=zr(Js),Ws=zr(Js),Us=zr(Js);function mi(e){if(e===Js)throw Error(L(174));return e}function Lh(e,t){switch(ye(Us,t),ye(Ws,e),ye($n,Js),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ed(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ed(t,e)}we($n),ye($n,t)}function bo(){we($n),we(Ws),we(Us)}function sx(e){mi(Us.current);var t=mi($n.current),n=Ed(t,e.type);t!==n&&(ye(Ws,e),ye($n,n))}function Mh(e){Ws.current===e&&(we($n),we(Ws))}var Te=zr(0);function oc(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 cd=[];function Oh(){for(var e=0;en?n:4,e(!0);var r=ud.transition;ud.transition={};try{e(!1),t()}finally{pe=n,ud.transition=r}}function wx(){return un().memoizedState}function f2(e,t,n){var r=Dr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},kx(e))Cx(t,n);else if(n=ex(e,t,n,r),n!==null){var i=St();wn(n,e,r,i),Tx(n,t,r)}}function d2(e,t,n){var r=Dr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(kx(e))Cx(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,kn(a,s)){var l=t.interleaved;l===null?(i.next=i,Fh(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}n=ex(e,t,i,r),n!==null&&(i=St(),wn(n,e,r,i),Tx(n,t,r))}}function kx(e){var t=e.alternate;return e===Ee||t!==null&&t===Ee}function Cx(e,t){_s=sc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Tx(e,t,n){if(4194240&n){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vh(e,n)}}var ac={readContext:cn,useCallback:ft,useContext:ft,useEffect:ft,useImperativeHandle:ft,useInsertionEffect:ft,useLayoutEffect:ft,useMemo:ft,useReducer:ft,useRef:ft,useState:ft,useDebugValue:ft,useDeferredValue:ft,useTransition:ft,useMutableSource:ft,useSyncExternalStore:ft,useId:ft,unstable_isNewReconciler:!1},h2={readContext:cn,useCallback:function(e,t){return An().memoizedState=[e,t===void 0?null:t],e},useContext:cn,useEffect:D0,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bl(4194308,4,gx.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bl(4,2,e,t)},useMemo:function(e,t){var n=An();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=An();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=f2.bind(null,Ee,e),[r.memoizedState,e]},useRef:function(e){var t=An();return e={current:e},t.memoizedState=e},useState:O0,useDebugValue:$h,useDeferredValue:function(e){return An().memoizedState=e},useTransition:function(){var e=O0(!1),t=e[0];return e=u2.bind(null,e[1]),An().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ee,i=An();if(ke){if(n===void 0)throw Error(L(407));n=n()}else{if(n=t(),Ke===null)throw Error(L(349));30&xi||cx(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,D0(fx.bind(null,r,o,e),[e]),r.flags|=2048,Gs(9,ux.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=An(),t=Ke.identifierPrefix;if(ke){var n=er,r=Jn;n=(r&~(1<<32-Sn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xs++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Vn]=t,e[js]=r,Ox(e,t,!1,!1),t.stateNode=e;e:{switch(s=Pd(n,r),n){case"dialog":Se("cancel",e),Se("close",e),i=r;break;case"iframe":case"object":case"embed":Se("load",e),i=r;break;case"video":case"audio":for(i=0;iSo&&(t.flags|=128,r=!0,gs(o,!1),t.lanes=4194304)}else{if(!r)if(e=oc(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),gs(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ke)return dt(t),null}else 2*Be()-o.renderingStartTime>So&&n!==1073741824&&(t.flags|=128,r=!0,gs(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Be(),t.sibling=null,n=Te.current,ye(Te,r?1&n|2:1&n),t):(dt(t),null);case 22:case 23:return Uh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&1&t.mode?1073741824&jt&&(dt(t),6&t.subtreeFlags&&(t.flags|=8192)):dt(t),null;case 24:return null;case 25:return null}throw Error(L(156,t.tag))}function S2(e,t){switch(Th(t),t.tag){case 1:return Mt(t.type)&&Zl(),e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 3:return bo(),we(Lt),we(pt),Oh(),e=t.flags,65536&e&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Mh(t),null;case 13:if(we(Te),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(L(340));go()}return e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 19:return we(Te),null;case 4:return bo(),null;case 10:return _h(t.type._context),null;case 22:case 23:return Uh(),null;case 24:return null;default:return null}}var Il=!1,ht=!1,w2=typeof WeakSet=="function"?WeakSet:Set,$=null;function so(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Me(e,t,r)}else n.current=null}function Vx(e,t,n){try{n()}catch(r){Me(e,t,r)}}var W0=!1;function k2(e,t){if(Bd=Gl,e=zb(),kh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||O;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 s=0,a=-1,l=-1,c=0,u=0,f=e,d=null;t:for(;;){for(var m;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)d=f,f=m;for(;;){if(f===e)break t;if(d===n&&++c===i&&(a=s),d===o&&++u===r&&(l=s),(m=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=m}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for($d={focusedElem:e,selectionRange:n},Gl=!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,x=y.memoizedState,h=t.stateNode,p=h.getSnapshotBeforeUpdate(t.elementType===t.type?g:yn(t.type,g),x);h.__reactInternalSnapshotBeforeUpdate=p}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){Me(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return y=W0,W0=!1,y}function Fs(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&&Vx(t,n,o)}i=i.next}while(i!==r)}}function Sc(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 th(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 Bx(e){var t=e.alternate;t!==null&&(e.alternate=null,Bx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Vn],delete t[js],delete t[Hd],delete t[o2],delete t[s2])),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 $x(e){return e.tag===5||e.tag===3||e.tag===4}function U0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$x(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 nh(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=Ql));else if(r!==4&&(e=e.child,e!==null))for(nh(e,t,n),e=e.sibling;e!==null;)nh(e,t,n),e=e.sibling}function rh(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(rh(e,t,n),e=e.sibling;e!==null;)rh(e,t,n),e=e.sibling}var tt=null,bn=!1;function wr(e,t,n){for(n=n.child;n!==null;)zx(e,t,n),n=n.sibling}function zx(e,t,n){if(Bn&&typeof Bn.onCommitFiberUnmount=="function")try{Bn.onCommitFiberUnmount(hc,n)}catch{}switch(n.tag){case 5:ht||so(n,t);case 6:var r=tt,i=bn;tt=null,wr(e,t,n),tt=r,bn=i,tt!==null&&(bn?(e=tt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):tt.removeChild(n.stateNode));break;case 18:tt!==null&&(bn?(e=tt,n=n.stateNode,e.nodeType===8?ad(e.parentNode,n):e.nodeType===1&&ad(e,n),Bs(e)):ad(tt,n.stateNode));break;case 4:r=tt,i=bn,tt=n.stateNode.containerInfo,bn=!0,wr(e,t,n),tt=r,bn=i;break;case 0:case 11:case 14:case 15:if(!ht&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(2&o||4&o)&&Vx(n,t,s),i=i.next}while(i!==r)}wr(e,t,n);break;case 1:if(!ht&&(so(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Me(n,t,a)}wr(e,t,n);break;case 21:wr(e,t,n);break;case 22:1&n.mode?(ht=(r=ht)||n.memoizedState!==null,wr(e,t,n),ht=r):wr(e,t,n);break;default:wr(e,t,n)}}function X0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new w2),t.forEach(function(r){var i=L2.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function gn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Be()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*T2(r/1960))-r,10e?16:e,Pr===null)var r=!1;else{if(e=Pr,Pr=null,uc=0,6&ue)throw Error(L(331));var i=ue;for(ue|=4,$=e.current;$!==null;){var o=$,s=o.child;if(16&$.flags){var a=o.deletions;if(a!==null){for(var l=0;lBe()-jh?vi(e,0):Hh|=n),Ot(e,t)}function Gx(e,t){t===0&&(1&e.mode?(t=yl,yl<<=1,!(130023424&yl)&&(yl=4194304)):t=1);var n=St();e=ir(e,t),e!==null&&(qs(e,t,n),Ot(e,n))}function I2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Gx(e,n)}function L2(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),Gx(e,n)}var Kx;Kx=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Lt.current)It=!0;else{if(!(e.lanes&n)&&!(128&t.flags))return It=!1,b2(e,t,n);It=(131072&e.flags)!==0}else It=!1,ke&&1048576&t.flags&&Qb(t,tc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;$l(e,t),e=t.pendingProps;var i=vo(t,pt.current);ho(t,n),i=Ah(null,t,r,e,i,n);var o=Vh();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,Mt(r)?(o=!0,Jl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ih(t),i.updater=bc,t.stateNode=i,i._reactInternals=t,Gd(t,r,e,n),t=Qd(null,t,r,!0,o,n)):(t.tag=0,ke&&o&&Ch(t),xt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch($l(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=O2(r),e=yn(r,e),i){case 0:t=qd(null,t,r,e,n);break e;case 1:t=N0(null,t,r,e,n);break e;case 11:t=$0(null,t,r,e,n);break e;case 14:t=z0(null,t,r,yn(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:yn(r,i),qd(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:yn(r,i),N0(e,t,r,i,n);case 3:e:{if(Ix(t),e===null)throw Error(L(387));r=t.pendingProps,o=t.memoizedState,i=o.element,tx(e,t),ic(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){i=xo(Error(L(423)),t),t=H0(e,t,r,n,i);break e}if(r!==i){i=xo(Error(L(424)),t),t=H0(e,t,r,n,i);break e}for(Wt=Lr(t.stateNode.containerInfo.firstChild),Ut=t,ke=!0,xn=null,n=ox(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(go(),r===i){t=or(e,t,n);break e}xt(e,t,r,n)}t=t.child}return t;case 5:return sx(t),e===null&&Ud(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,zd(r,i)?s=null:o!==null&&zd(r,o)&&(t.flags|=32),Fx(e,t),xt(e,t,s,n),t.child;case 6:return e===null&&Ud(t),null;case 13:return Lx(e,t,n);case 4:return Lh(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=yo(t,null,r,n):xt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:yn(r,i),$0(e,t,r,i,n);case 7:return xt(e,t,t.pendingProps,n),t.child;case 8:return xt(e,t,t.pendingProps.children,n),t.child;case 12:return xt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,ye(nc,r._currentValue),r._currentValue=s,o!==null)if(kn(o.value,s)){if(o.children===i.children&&!Lt.current){t=or(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=tr(-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),Xd(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(L(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Xd(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}xt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ho(t,n),i=cn(i),r=r(i),t.flags|=1,xt(e,t,r,n),t.child;case 14:return r=t.type,i=yn(r,t.pendingProps),i=yn(r.type,i),z0(e,t,r,i,n);case 15:return Px(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:yn(r,i),$l(e,t),t.tag=1,Mt(r)?(e=!0,Jl(t)):e=!1,ho(t,n),rx(t,r,i),Gd(t,r,i,n),Qd(null,t,r,!0,e,n);case 19:return Mx(e,t,n);case 22:return _x(e,t,n)}throw Error(L(156,t.tag))};function qx(e,t){return Sb(e,t)}function M2(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 an(e,t,n,r){return new M2(e,t,n,r)}function Yh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function O2(e){if(typeof e=="function")return Yh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===dh)return 11;if(e===hh)return 14}return 2}function Ar(e,t){var n=e.alternate;return n===null?(n=an(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 Hl(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Yh(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Qi:return gi(n.children,i,o,t);case fh:s=8,i|=8;break;case yd:return e=an(12,n,t,2|i),e.elementType=yd,e.lanes=o,e;case bd:return e=an(13,n,t,i),e.elementType=bd,e.lanes=o,e;case xd:return e=an(19,n,t,i),e.elementType=xd,e.lanes=o,e;case ib:return kc(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case nb:s=10;break e;case rb:s=9;break e;case dh:s=11;break e;case hh:s=14;break e;case kr:s=16,r=null;break e}throw Error(L(130,e==null?e:typeof e,""))}return t=an(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function gi(e,t,n,r){return e=an(7,e,r,t),e.lanes=n,e}function kc(e,t,n,r){return e=an(22,e,r,t),e.elementType=ib,e.lanes=n,e.stateNode={isHidden:!1},e}function md(e,t,n){return e=an(6,e,null,t),e.lanes=n,e}function vd(e,t,n){return t=an(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function D2(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=Jf(0),this.expirationTimes=Jf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jf(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Gh(e,t,n,r,i,o,s,a,l){return e=new D2(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=an(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ih(o),e}function A2(e,t,n){var r=3.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,s,a){return Math.min(n,Math.min(r,Math.min(i,Math.min(o,Math.min(s,a)))))}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),s=i*(838422*t.m_r2+769860*t.m_r1+731718*t.m_r0),a=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),m=i*(632260*t.m_b2-126452*t.m_b1);this.r0s=o/a,this.r0i=s*n/a,this.r1s=o/(a+126452),this.r1i=(s-769860)*n/(a+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/m,this.b0i=d*n/m,this.b1s=f/(m+126452),this.b1i=(d-769860)*n/(m+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),s=t.distanceFromOrigin(this.b0s,this.b0i),a=t.distanceFromOrigin(this.b1s,this.b1i);return t.min6(n,r,i,o,s,a)}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),s=t.distanceFromOriginAngle(this.g0s,this.g0i,r),a=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,s,a,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}}),tF=tn({"../../../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 s(c,u,f,d,m){if(typeof f!="function")throw new TypeError("The listener must be a function");var y=new o(f,d||c,m),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 a(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 m=0,y=d.length,g=new Array(y);m1)for(var v=1;v0})},o=function(){return r.some(function(P){return P.skippedTargets.length>0})},s="ResizeObserver loop completed with undelivered notifications.",a=function(){var P;typeof ErrorEvent=="function"?P=new ErrorEvent("error",{message:s}):(P=document.createEvent("Event"),P.initEvent("error",!1,!1),P.message=s),O.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(_,M){this.inlineSize=_,this.blockSize=M,c(this)}return P}(),f=function(){function P(_,M,N,ae){return this.x=_,this.y=M,this.width=N,this.height=ae,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,M=_.x,N=_.y,ae=_.top,yt=_.right,Ze=_.bottom,Ae=_.left,Xn=_.width,Bt=_.height;return{x:M,y:N,top:ae,right:yt,bottom:Ze,left:Ae,width:Xn,height:Bt}},P.fromRect=function(_){return new P(_.x,_.y,_.width,_.height)},P}(),d=function(P){return P instanceof SVGElement&&"getBBox"in P},m=function(P){if(d(P)){var _=P.getBBox(),M=_.width,N=_.height;return!M&&!N}var ae=P,yt=ae.offsetWidth,Ze=ae.offsetHeight;return!(yt||Ze||P.getClientRects().length)},y=function(P){var _,M;if(P instanceof Element)return!0;var N=(M=(_=P)===null||_===void 0?void 0:_.ownerDocument)===null||M===void 0?void 0:M.defaultView;return!!(N&&P instanceof N.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},x=typeof O<"u"?O:{},h=new WeakMap,p=/auto|scroll/,v=/^tb|vertical/,w=/msie|trident/i.test(x.navigator&&x.navigator.userAgent),C=function(P){return parseFloat(P||"0")},S=function(P,_,M){return P===void 0&&(P=0),_===void 0&&(_=0),M===void 0&&(M=!1),new u((M?_:P)||0,(M?P:_)||0)},T=c({devicePixelContentBoxSize:S(),borderBoxSize:S(),contentBoxSize:S(),contentRect:new f(0,0,0,0)}),E=function(P,_){if(_===void 0&&(_=!1),h.has(P)&&!_)return h.get(P);if(m(P))return h.set(P,T),T;var M=getComputedStyle(P),N=d(P)&&P.ownerSVGElement&&P.getBBox(),ae=!w&&M.boxSizing==="border-box",yt=v.test(M.writingMode||""),Ze=!N&&p.test(M.overflowY||""),Ae=!N&&p.test(M.overflowX||""),Xn=N?0:C(M.paddingTop),Bt=N?0:C(M.paddingRight),qr=N?0:C(M.paddingBottom),Mi=N?0:C(M.paddingLeft),lk=N?0:C(M.borderTopWidth),ck=N?0:C(M.borderRightWidth),uk=N?0:C(M.borderBottomWidth),fk=N?0:C(M.borderLeftWidth),tm=Mi+Bt,nm=Xn+qr,uu=fk+ck,fu=lk+uk,rm=Ae?P.offsetHeight-fu-P.clientHeight:0,im=Ze?P.offsetWidth-uu-P.clientWidth:0,dk=ae?tm+uu:0,hk=ae?nm+fu:0,Ra=N?N.width:C(M.width)-dk-im,Pa=N?N.height:C(M.height)-hk-rm,pk=Ra+tm+im+uu,mk=Pa+nm+rm+fu,om=c({devicePixelContentBoxSize:S(Math.round(Ra*devicePixelRatio),Math.round(Pa*devicePixelRatio),yt),borderBoxSize:S(pk,mk,yt),contentBoxSize:S(Ra,Pa,yt),contentRect:new f(Mi,Xn,Ra,Pa)});return h.set(P,om),om},I=function(P,_,M){var N=E(P,M),ae=N.borderBoxSize,yt=N.contentBoxSize,Ze=N.devicePixelContentBoxSize;switch(_){case l.DEVICE_PIXEL_CONTENT_BOX:return Ze;case l.BORDER_BOX:return ae;default:return yt}},F=function(){function P(_){var M=E(_);this.target=_,this.contentRect=M.contentRect,this.borderBoxSize=c([M.borderBoxSize]),this.contentBoxSize=c([M.contentBoxSize]),this.devicePixelContentBoxSize=c([M.devicePixelContentBoxSize])}return P}(),z=function(P){if(m(P))return 1/0;for(var _=0,M=P.parentNode;M;)_+=1,M=M.parentNode;return _},A=function(){var P=1/0,_=[];r.forEach(function(Ze){if(Ze.activeTargets.length!==0){var Ae=[];Ze.activeTargets.forEach(function(Bt){var qr=new F(Bt.target),Mi=z(Bt.target);Ae.push(qr),Bt.lastReportedSize=I(Bt.target,Bt.observedBox),MiP?M.activeTargets.push(ae):M.skippedTargets.push(ae))})})},Y=function(){var P=0;for(X(P);i();)P=A(),X(P);return o()&&a(),P>0},B,G=[],ee=function(){return G.splice(0).forEach(function(P){return P()})},te=function(P){if(!B){var _=0,M=document.createTextNode(""),N={characterData:!0};new MutationObserver(function(){return ee()}).observe(M,N),B=function(){M.textContent=""+(_?_--:_++)}}G.push(P),B()},U=function(P){te(function(){requestAnimationFrame(P)})},ne=0,ie=function(){return!!ne},Ce=250,me={attributes:!0,characterData:!0,childList:!0,subtree:!0},Z=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],gt=function(P){return P===void 0&&(P=0),Date.now()+P},De=!1,He=function(){function P(){var _=this;this.stopped=!0,this.listener=function(){return _.schedule()}}return P.prototype.run=function(_){var M=this;if(_===void 0&&(_=Ce),!De){De=!0;var N=gt(_);U(function(){var ae=!1;try{ae=Y()}finally{if(De=!1,_=N-gt(),!ie())return;ae?M.run(1e3):_>0?M.run(_):M.start()}})}},P.prototype.schedule=function(){this.stop(),this.run()},P.prototype.observe=function(){var _=this,M=function(){return _.observer&&_.observer.observe(document.body,me)};document.body?M():x.addEventListener("DOMContentLoaded",M)},P.prototype.start=function(){var _=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Z.forEach(function(M){return x.addEventListener(M,_.listener,!0)}))},P.prototype.stop=function(){var _=this;this.stopped||(this.observer&&this.observer.disconnect(),Z.forEach(function(M){return x.removeEventListener(M,_.listener,!0)}),this.stopped=!0)},P}(),st=new He,pr=function(P){!ne&&P>0&&st.start(),ne+=P,!ne&&st.stop()},de=function(P){return!d(P)&&!g(P)&&getComputedStyle(P).display==="inline"},Un=function(){function P(_,M){this.target=_,this.observedBox=M||l.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return P.prototype.isActive=function(){var _=I(this.target,this.observedBox,!0);return de(this.target)&&(this.lastReportedSize=_),this.lastReportedSize.inlineSize!==_.inlineSize||this.lastReportedSize.blockSize!==_.blockSize},P}(),At=function(){function P(_,M){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=_,this.callback=M}return P}(),En=new WeakMap,pn=function(P,_){for(var M=0;M=0&&(yt&&r.splice(r.indexOf(N),1),N.observationTargets.splice(ae,1),pr(-1))},P.disconnect=function(_){var M=this,N=En.get(_);N.observationTargets.slice().forEach(function(ae){return M.unobserve(_,ae.target)}),N.activeTargets.splice(0,N.activeTargets.length)},P}(),Li=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.");Vt.connect(this,_)}return P.prototype.observe=function(_,M){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");Vt.observe(this,_,M)},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");Vt.unobserve(this,_)},P.prototype.disconnect=function(){Vt.disconnect(this)},P.toString=function(){return"function ResizeObserver () { [polyfill code] }"},P}();n.ResizeObserver=Li,n.ResizeObserverEntry=F,n.ResizeObserverSize=u,Object.defineProperty(n,"__esModule",{value:!0})})}}),nF=tn({"../../../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,s=t?Symbol.for("react.profiler"):60114,a=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,m=t?Symbol.for("react.suspense_list"):60120,y=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,x=t?Symbol.for("react.block"):60121,h=t?Symbol.for("react.fundamental"):60117,p=t?Symbol.for("react.responder"):60118,v=t?Symbol.for("react.scope"):60119;function w(S){if(typeof S=="object"&&S!==null){var T=S.$$typeof;switch(T){case n:switch(S=S.type,S){case c:case u:case i:case s:case o:case d:return S;default:switch(S=S&&S.$$typeof,S){case l:case f:case g:case y:case a:return S;default:return T}}case r:return T}}}function C(S){return w(S)===u}e.AsyncMode=c,e.ConcurrentMode=u,e.ContextConsumer=l,e.ContextProvider=a,e.Element=n,e.ForwardRef=f,e.Fragment=i,e.Lazy=g,e.Memo=y,e.Portal=r,e.Profiler=s,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)===a},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)===s},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===s||S===o||S===d||S===m||typeof S=="object"&&S!==null&&(S.$$typeof===g||S.$$typeof===y||S.$$typeof===a||S.$$typeof===l||S.$$typeof===f||S.$$typeof===h||S.$$typeof===p||S.$$typeof===v||S.$$typeof===x)},e.typeOf=w}}),rF=tn({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/index.js"(e,t){"use strict";t.exports=nF()}}),Jc=tn({"../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){"use strict";var n=rF(),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},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[n.ForwardRef]=o,a[n.Memo]=s;function l(x){return n.isMemo(x)?s:a[x.$$typeof]||r}var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,y=Object.prototype;function g(x,h,p){if(typeof h!="string"){if(y){var v=m(h);v&&v!==y&&g(x,v,p)}var w=u(h);f&&(w=w.concat(f(h)));for(var C=l(x),S=l(h),T=0;TparseInt(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 x(h,p){return[h.style,h.weight,g()?h.stretch:"","100px",p].join(" ")}l.prototype.load=function(h,p){var v=this,w=h||"BESbswy",C=0,S=p||3e3,T=new Date().getTime();return new Promise(function(E,I){if(y()&&!m()){var F=new Promise(function(A,X){function Y(){new Date().getTime()-T>=S?X(Error(""+S+"ms timeout exceeded")):document.fonts.load(x(v,'"'+v.family+'"'),w).then(function(B){1<=B.length?A():setTimeout(Y,25)},X)}Y()}),z=new Promise(function(A,X){C=setTimeout(function(){X(Error(""+S+"ms timeout exceeded"))},S)});Promise.race([z,F]).then(function(){clearTimeout(C),E(v)},I)}else r(function(){function A(){var Z;(Z=ee!=-1&&te!=-1||ee!=-1&&U!=-1||te!=-1&&U!=-1)&&((Z=ee!=te&&ee!=U&&te!=U)||(c===null&&(Z=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(O.navigator.userAgent),c=!!Z&&(536>parseInt(Z[1],10)||parseInt(Z[1],10)===536&&11>=parseInt(Z[2],10))),Z=c&&(ee==ne&&te==ne&&U==ne||ee==ie&&te==ie&&U==ie||ee==Ce&&te==Ce&&U==Ce)),Z=!Z),Z&&(me.parentNode&&me.parentNode.removeChild(me),clearTimeout(C),E(v))}function X(){if(new Date().getTime()-T>=S)me.parentNode&&me.parentNode.removeChild(me),I(Error(""+S+"ms timeout exceeded"));else{var Z=document.hidden;(Z===!0||Z===void 0)&&(ee=Y.a.offsetWidth,te=B.a.offsetWidth,U=G.a.offsetWidth,A()),C=setTimeout(X,50)}}var Y=new i(w),B=new i(w),G=new i(w),ee=-1,te=-1,U=-1,ne=-1,ie=-1,Ce=-1,me=document.createElement("div");me.dir="ltr",o(Y,x(v,"sans-serif")),o(B,x(v,"serif")),o(G,x(v,"monospace")),me.appendChild(Y.a),me.appendChild(B.a),me.appendChild(G.a),document.body.appendChild(me),ne=Y.a.offsetWidth,ie=B.a.offsetWidth,Ce=G.a.offsetWidth,X(),a(Y,function(Z){ee=Z,A()}),o(Y,x(v,'"'+v.family+'",sans-serif')),a(B,function(Z){te=Z,A()}),o(B,x(v,'"'+v.family+'",serif')),a(G,function(Z){U=Z,A()}),o(G,x(v,'"'+v.family+'",monospace'))})})},typeof t=="object"?t.exports=l:(O.FontFaceObserver=l,O.FontFaceObserver.prototype.load=l.prototype.load)})()}});function vp(e,t){let n={style:t};return b.isValidElement(e)?b.cloneElement(e,n):b.createElement(e,n)}var sF=class extends Error{},PS=class extends Error{},aF=class extends ge{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 sF)){let n=new PS;throw n.cause=this.state.error,n}let{notFoundPage:e,defaultPageStyle:t}=this.props;if(!e)throw this.state.error;return vp(e,t)}},lF=":([a-z]\\w*)",_i=new RegExp(lF,"gi");function _S(e,t){return e.replace(_i,(n,r)=>{let i=t[r];return typeof i!="string"||i.length===0?n:encodeURIComponent(i)})}function FS(e,t){if(!e.startsWith("/")||!t.startsWith("/"))throw new Error("from/to paths are expected to be absolute");let[n]=n1(e),[r,i]=n1(t),o=cF(n,r);return o===""&&(o="."),!o.startsWith(".")&&!o.startsWith("/")&&(o="./"+o),o+"/"+i}function n1(e){let t=e.lastIndexOf("/");return[e.substring(0,t+1),e.substring(t+1)]}var Zh=46,_o=47,Yr=(e,t)=>e.charCodeAt(t),r1=(e,t)=>e.lastIndexOf(t),Io=(e,t,n)=>e.slice(t,n);function cF(e,t){if(e===t||(e="/"+o1(e),t="/"+o1(t),e===t))return"";let n=1,r=e.length,i=r-n,o=1,s=t.length-o,a=ia){if(Yr(t,o+c)===_o)return Io(t,o+c+1);if(c===0)return Io(t,o+c)}else i>a&&(Yr(e,n+c)===_o?l=c:c===0&&(l=0));let u="";for(c=n+l+1;c<=r;++c)(c===r||Yr(e,c)===_o)&&(u+=u.length===0?"..":"/..");return`${u}${Io(t,o+l)}`}var uF=!1,Pc="/",i1=e=>e===_o;function o1(e){let t="",n=0,r=-1,i=0,o=0;for(let s=0;s<=e.length;++s){if(s2){let a=r1(t,Pc);a===-1?(t="",n=0):(t=Io(t,0,a),n=t.length-1-r1(t,Pc)),r=s,i=0;continue}else if(t.length!==0){t="",n=0,r=s,i=0;continue}}uF&&(t+=t.length>0?`${Pc}..`:"..",n=2)}else t.length>0?t+=`${Pc}${Io(e,r+1,s)}`:t=Io(e,r+1,s),n=s-r-1;r=s,i=0}else o===Zh&&i!==-1?++i:i=-1}return t}function IS(e){let t=typeof O<"u"?O.location.search:"";return t?fF(t,e):e}function fF(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 s=new URLSearchParams(e),a=r.substring(o+1),l=new URLSearchParams(a);for(let[c,u]of s)l.has(c)||l.append(c,u);return r.substring(0,o+1)+l.toString()+i}function Uc(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function ra(e){return typeof e=="string"}var dF="preload";function LS(e){return typeof e=="object"&&e!==null&&!b.isValidElement(e)&&dF in e}function dB(e){let t=b.lazy(e),n,r,i=b.forwardRef(function(s,a){return b.createElement(r??t,a?{ref:a,...s}:s)});return i.preload=()=>(n||(n=e().then(o=>(r=o.default,r))),n),i}function eu(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function hF(e){return/bot|-google|google-|yandex|ia_archiver/iu.test(e)}function MS(e){if("scheduler"in O){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 pF(e,t){return await MS(t),e()}function mF(e,t=!0){return new Promise(n=>{t&&setTimeout(n,100),requestAnimationFrame(()=>{pF(n,e)})})}function OS(e,t,n){Rt(()=>{(async()=>{await mF(n,!1),e()})()},t)}async function vF(e,t,n,r,i,o,s){var a,l,c;let u=e,f=!1,d={...o},m=Array.from(u.matchAll(_i)),y=await Promise.all(m.map(async p=>{var v;let w=p?.[0],C=p?.[1];if(!w||!C)throw new Error("Failed to replace path variables: unexpected regex match group");let S=o[C];if(!S||!ra(S))throw new Error(`No slug found for path variable ${C}`);let T=await((v=s?.[i])===null||v===void 0?void 0:v.call(s));if(!T||!t)return S;let E=await T.getRecordIdBySlug(S,t);if(!E)return S;let I=await T.getSlugByRecordId(E,n);if(!I){f=!0;let F=await T.getSlugByRecordId(E,r);return F&&(d[C]=F),F??S}return d[C]=I,I})),g=0,x="",h=!1;for(let p=0;p`--view-transition-${e}`;function gp(e){return[parseFloat(e),e.endsWith("px")?"px":"%"]}function AS(e){let{innerWidth:t,innerHeight:n}=O,[r,i]=gp(e.x),[o,s]=gp(e.y);return{x:i==="px"?r:t*(r/100),y:s==="px"?o:n*(o/100)}}var kF={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),`${dr("conic-offset")}: ${r}%;`},makeStyles:(e,t)=>{let n=`var(${dr("conic-offset")})`,r=t==="exit"&&e.angularDirection==="clockwise"||t==="enter"&&e.angularDirection==="counter-clockwise",i=r?"transparent":"black",o=r?"black":"transparent",s="conic-gradient(from ";return s+=`${e.angle}deg at ${e.x} ${e.y}, `,s+=`${i} 0%, ${i} ${n}, `,s+=`${o} ${n}, ${o} 100%)`,`mask-image: ${s}; -webkit-mask-image: ${s};`},makePropertyRules:()=>` @property ${dr("conic-offset")} { syntax: ''; initial-value: 0%; inherits: false; } `},CF={makeKeyframe:(e,t)=>{let{x:n,y:r}=AS(e);return t==="start"?`clip-path: circle(0 at ${n}px ${r}px);`:`clip-path: circle(${Math.hypot(Math.max(n,O.innerWidth-n),Math.max(r,O.innerHeight-r))}px at ${n}px ${r}px);`}},TF={makeKeyframe:(e,t)=>{let{x:n,y:r}=AS(e),i=O.innerHeight-r,o=O.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);"}},EF={makeKeyframe:(e,t,n)=>{let[,r]=gp(e.width),i=`0${r}`;return(t==="start"&&n==="exit"||t==="end"&&n==="enter")&&(i=e.width),`${dr("blinds-width")}: ${i};`},makeStyles:(e,t)=>{let n=`var(${dr("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:()=>` @property ${dr("blinds-width")} { syntax: ''; initial-value: 0px; inherits: false; } `},RF={makeKeyframe:(e,t,n)=>{let r=t==="start"&&n==="exit"||t==="end"&&n==="enter"?1:0;return`${dr("wipe-offset")}: ${r};`},makeStyles:(e,t)=>{let n=`var(${dr("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:()=>` @property ${dr("wipe-offset")} { syntax: ''; initial-value: 0; inherits: false; } `},PF={circle:CF,conic:kF,inset:TF,blinds:EF,wipe:RF},_F={opacity:1,x:"0px",y:"0px",scale:1,rotate:0,rotateX:0,rotateY:0,mask:void 0};function s1(e,t,n,r){var i;let o=` opacity: ${e.opacity}; transform: translate(${e.x}, ${e.y}) scale(${e.scale}) rotateX(${e.rotateX}deg) rotateY(${e.rotateY}deg) rotateZ(${e.rotate}deg); `;return e.mask&&(o+=((i=r?.makeKeyframe)===null||i===void 0?void 0:i.call(r,e.mask,t,n))||""),o}function FF(e){return e?PF[e]:void 0}function a1(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}=wF(as({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 s=FF((r=n?.mask)===null||r===void 0?void 0:r.type),a=s1(n,"start",e,s),l=s1({..._F,mask:n.mask},"end",e,s);return e==="exit"&&([a,l]=[l,a]),` ${n.mask&&s?.makePropertyRules?s.makePropertyRules(n.mask):""} @keyframes ${i} { 0% { ${a} } 100% { ${l} } } ::view-transition-${e==="enter"?"new":"old"}(root) { animation-name: ${i}; animation-duration: ${o.duration}; animation-delay: ${t.delay}s; animation-timing-function: ${o.easing}; animation-fill-mode: both; ${n.mask&&s?.makeStyles?s.makeStyles(n.mask,e):""} } `}var VS="view-transition-styles",IF={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 LF({exit:e=IF,enter:t}){let n=document.createElement("style");n.id=VS;let r=` @media (prefers-reduced-motion) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } } `;(e.mask||t.mask||e.opacity||t.opacity||e.transition.delay||t.transition.delay)&&(r+=` ::view-transition-old(*), ::view-transition-new(*) { mix-blend-mode: normal; } `),r+=` ::view-transition-old(*), ::view-transition-new(*) { backface-visibility: hidden; } `,r+=a1("exit",e),r+=a1("enter",t),n.textContent=r,document.head.appendChild(n)}function MF(){J.render(()=>{let e=document.getElementById(VS);e&&document.head.removeChild(e)})}function OF(){return!!document.startViewTransition}function DF(e,t){if(!OF())return void e();LF(t);let n=document.startViewTransition(e);return Promise.all([n.ready,n.finished]).then(MF).catch(()=>{}),n}function BS(){let e=xF(),t=V(void 0);return H(()=>{t.current&&(t.current(),t.current=void 0)}),ce((n,r,i)=>{let o=yF(n,r,e);if(o){let s=new Promise(l=>{t.current=l});return DF(async()=>{i(),await s},o)}else return i()},[e])}function l1(e,t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,localeId:s,preserveQueryParams:a}){let{path:l}=t;if(l)try{let c=_p(t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,preserveQueryParams:a});$S({routeId:e,hash:i,pathVariables:o,localeId:s},c)}catch{}}function AF(e,t){O.history.replaceState(e,"",t)}function $S(e,t){O.history.pushState(e,"",t)}function VF({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){b.useLayoutEffect(()=>{e||(performance.mark("framer-history-set-initial-state"),AF({routeId:t,pathVariables:n,localeId:r}))},[])}function BF(e,t){let n=BS(),r=b.useRef(void 0),i=b.useCallback(({state:s})=>{var a,l,c;if(!Uc(s))return;let{routeId:u,hash:f,pathVariables:d,localeId:m}=s;if(!ra(u))return;let y=()=>{t(u,ra(m)?m:void 0,ra(f)?f:void 0,Uc(d)?d:void 0,!1,!0)},g=n(e.current,u,y);g?g.updateCallbackDone.then((a=r.current)===null||a===void 0?void 0:a.resolve).catch((l=r.current)===null||l===void 0?void 0:l.reject):(c=r.current)===null||c===void 0||c.resolve()},[e,t,n]),o=ce(s=>{s.navigationType==="traverse"&&s.intercept({async handler(){await new Promise((a,l)=>{r.current={resolve:a,reject:l}})},scroll:"after-transition"})},[]);b.useEffect(()=>{var s;return O.addEventListener("popstate",i),(s=O.navigation)===null||s===void 0||s.addEventListener("navigate",o),()=>{var a;O.removeEventListener("popstate",i),(a=O.navigation)===null||a===void 0||a.removeEventListener("navigate",o)}},[i,o])}function $F(e,t,n){let r=eu(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(_i,(o,s)=>{var a;return String((a=i[s])!==null&&a!==void 0?a:o)})}function _p(e,{currentRoutePath:t,currentPathVariables:n,hash:r,pathVariables:i,hashVariables:o,relative:s=!0,preserveQueryParams:a}){var l;let c=t??"/";n&&(c=c.replace(_i,(y,g)=>String(n[g]||y)));let f=(l=e?.path)!==null&&l!==void 0?l:"/";i&&(f=f.replace(_i,(y,g)=>String(i[g]||y)));let d=$F(r,e,o),m=c===f&&d;return s&&(f=FS(c,f)),(a||m)&&(f=IS(f)),d&&(f=`${f}#${d}`),f}async function zF(e,t,n){if(!e.path||!t)return!1;let i=`${n.slug?`/${n.slug}`:""}${_S(e.path,t)}`;return(await fetch(i,{method:"HEAD",redirect:"manual"})).type==="opaqueredirect"?(O.location.href=O.location.origin+i,!0):!1}async function NF(e){let t=await gF(e);if(t){try{localStorage.setItem("preferredLocale",e.nextLocale.code)}catch{}try{if(typeof t.path!="string")throw new Error("Expected result.path to be a string");if(t.isMissingInLocale&&await zF(e.route,t.pathVariables,e.nextLocale))return;$S({routeId:e.routeId,pathVariables:t.pathVariables,localeId:e.nextLocale.id,paginationInfo:O.history.state.paginationInfo},t.path)}catch{}return t}}function cr(e,t,n){try{performance.measure(e,t,n)}catch(r){console.warn(`Could not measure ${e}`,r)}}var Cn=!1;function yB(){Cn=!0,performance.mark("framer-hydration-start")}var c1=!1,u1=!1,f1=!1;function HF(){let e="framer-hydration-router";Ye(()=>{c1||!Cn||(c1=!0,performance.mark(`${e}-insertion-effect`))},[]),Rt(()=>{u1||!Cn||(u1=!0,performance.mark(`${e}-layout-effect`))},[]),H(()=>{f1||!Cn||(f1=!0,performance.mark(`${e}-effect`))},[])}var d1=!1,h1=!1,p1=!1;function jF(){let e="framer-hydration-",t=`${e}layout-effects-end`,n=`${e}effects-end`,r=`${e}browser-render-start`,i=`${e}render-end`;return Ye(()=>{d1||!Cn||(d1=!0,performance.mark(i),cr(`${e}render`,`${e}start`,i),performance.mark(`${e}insertion-effects-start`))},[]),Rt(()=>{h1||!Cn||(h1=!0,performance.mark(`${e}layout-effects-start`),requestAnimationFrame(()=>{var o,s,a;performance.mark(r),cr(`${e}uho`,(s=(o=performance.getEntriesByName(n)[0])===null||o===void 0?void 0:o.name)!==null&&s!==void 0?s:(a=performance.getEntriesByName(t)[0])===null||a===void 0?void 0:a.name,r)}))},[]),H(()=>{var o;if(p1||!Cn)return;p1=!0;let s=`${e}effects-start`;performance.mark(s),((o=performance.getEntriesByName(r)[0])===null||o===void 0?void 0:o.name)||(cr(`${e}commit`,t,s),performance.mark(`${e}effects-sync`))},[]),null}var m1=!1,v1=!1,g1=!1,y1=!1;function WF(){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`,s=`${e}first-paint`,a=`${e}browser-raf-end`;return Ye(()=>{m1||!Cn||(m1=!0,performance.mark(o),cr(`${e}insertion-effects`,`${e}insertion-effects-start`,o))},[]),Rt(()=>{v1||!Cn||(v1=!0,performance.mark(t),cr(`${e}layout-effects`,`${e}layout-effects-start`,t),requestAnimationFrame(()=>{performance.mark(a),cr(`${e}raf`,r,a)}))},[]),H(()=>{var l,c,u;g1||!Cn||(g1=!0,performance.mark(n),cr(`${e}effects`,(c=(l=performance.getEntriesByName(s)[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))},[]),OS(()=>{y1||!Cn||(y1=!0,performance.mark(s),cr(`${e}time-to-first-paint`,i,s),cr(`${e}browser-render`,a,s))},[],{priority:"user-blocking"}),null}function UF(){return jF(),null}function XF(){return WF(),null}var b1={Start:UF,End:XF},ia=["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"],zS=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"))},NS=!1;function bB(){if(!ia)return;NS=!0,performance.mark("framer-react-event-handling-start");let e={capture:!0};ia.forEach(t=>document.body.addEventListener(t,zS,e))}function YF(){return OS(()=>{if(!NS||!ia)return;let e={capture:!0};ia.forEach(t=>document.body.removeEventListener(t,zS,e)),ia=void 0,performance.mark("framer-react-event-handling-end")},[],{priority:"user-blocking"}),null}function GF(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 HS(e){return b.useCallback(t=>e[t],[e])}var Fp=(()=>b.createContext({}))();function KF({api:e,children:t}){return k(Fp.Provider,{value:e,children:t})}function ba(){return b.useContext(Fp)}function qF({routes:e,children:t}){let n=HS(e);return k(Fp.Provider,{value:{getRoute:n},children:t})}var QF=class extends ge{constructor(){super(...arguments),this.state={error:void 0}}static getDerivedStateFromError(e){return console.error("Derived error in SuspenseErrorBoundary",e),{error:e}}componentDidCatch(e,t){var n;console.error("Caught error in SuspenseErrorBoundary",e,t),(n=O.__framer_events)===null||n===void 0||n.push(["published_site_load_recoverable_error",{message:String(e),componentStack:t?.componentStack}])}render(){if(this.state.error===void 0)return this.props.children;if(this.state.error instanceof PS)throw this.state.error.cause;return k(jo,{children:this.props.fallbackChildren})}},ZF=(()=>typeof O<"u"?new Promise(()=>{}):null)();function JF(){if(typeof O>"u")return null;throw ZF}function eI({children:e}){return k(QF,{fallbackChildren:e,children:k(jo,{fallback:k(JF,{}),children:e})})}var x1="default";function tI(){let[e,t]=b.useState(0);return[e,b.useCallback(()=>t(n=>n+1),[])]}var nI=async()=>{},rI={activeLocale:null,locales:[],setLocale:nI},jS=b.createContext(rI);function iI(){return b.useContext(jS)}function oI(e){let t=`start-${e}`,n=`end-${e}`,r=V(void 0);return H(()=>{r.current&&(r.current(),r.current=void 0)}),ce(()=>{let i=new Promise(o=>{r.current=o});performance.mark(t),i.then(()=>{performance.mark(n),performance.measure(e,t,n)}).catch(()=>{})},[e,t,n])}function S1(e,t,n){let r=e&&document.getElementById(e);if(r){lI(r,t);return}n||O.scrollTo(0,0)}function sI(e){let t=V([]);return Rt(()=>{var n;!((n=t.current)===null||n===void 0)&&n.length&&(t.current.forEach(r=>r()),t.current=[])},[e]),ce(n=>{t.current.push(n)},[])}function aI({defaultPageStyle:e,disableHistory:t,initialPathVariables:n,initialRoute:r,notFoundPage:i,collectionUtils:o,routes:s,initialLocaleId:a,locales:l=[],preserveQueryParams:c=!1}){HF(),VF({disabled:t,routeId:r,initialPathVariables:n,initialLocaleId:a});let u=BS(),f=oI("route-change"),d=V(r),m=V(n),y=V(a),g=y.current,x=oe(()=>{var B;return(B=l.find(({id:G})=>g?G===g:G===x1))!==null&&B!==void 0?B:null},[g,l]),[h,p]=tI(),v=oe(()=>({activeLocale:x,locales:l,setLocale:async B=>{let G;ra(B)?G=B:Uc(B)&&(G=B.id);let ee=l.find(({id:ie})=>ie===x1),te=l.find(({id:ie})=>ie===G);if(!te)return;let U=d.current,ne=s[U];if(ne)try{let ie=await NF({currentLocale:x,nextLocale:te,route:ne,routeId:U,defaultLocale:ee,pathVariables:m.current,collectionUtils:o,preserveQueryParams:c});if(!ie)return;m.current=ie.pathVariables,y.current=te.id,u(d.current,U,()=>Di(p)),f()}catch{}}}),[x,o,p,l,f,c,s,u]),w=sI(h),C=ce((B,G,ee,te,U=!1,ne=!1)=>{d.current=B,m.current=te,y.current=G,w(()=>{S1(ee,U,ne)}),Di(p),f()},[p,f,w]);BF(d,C);let S=ce((B,G,ee,te)=>{var U,ne;let ie=s[B];if(ee){let Z=new Set,gt=(U=ie?.path)!==null&&U!==void 0?U:"/";for(let De of gt.matchAll(_i)){let He=De[1];if(He===void 0)throw new Error("A matching path variable should not be undefined");Z.add(He)}ee=Object.fromEntries(Object.entries(ee).filter(([De])=>Z.has(De)))}let Ce=eu(ie,G);if(GF({routeId:d.current,pathVariables:m.current},{routeId:B,pathVariables:ee})){if(((ne=O.history.state)===null||ne===void 0?void 0:ne.hash)!==G&&!t){let Z=s[B];Z&&l1(B,Z,{currentRoutePath:Z.path,currentPathVariables:m.current,pathVariables:ee,hash:G,localeId:y.current,preserveQueryParams:c})}S1(Ce,te,!1);return}if(!ie)return;if(!t){let Z=s[d.current];l1(B,ie,{currentRoutePath:Z?.path,currentPathVariables:m.current,hash:G,pathVariables:ee,localeId:y.current,preserveQueryParams:c})}let me=()=>C(B,y.current,Ce,ee,te,!1);u(d.current,B,me)},[s,t,C,u,c]),T=HS(s),E=d.current,I=m.current,F=oe(()=>({navigate:S,getRoute:T,currentRouteId:E,currentPathVariables:I,routes:s,collectionUtils:o,preserveQueryParams:c}),[S,T,E,I,s,o,c]),z=s[d.current];if(!z)throw new Error(`Router cannot find route for ${d.current}`);let A=!x||!z.includedLocales||z.includedLocales.includes(x.id),X=z.path&&I?_S(z.path,I):z.path,Y=String(g)+X;return k(KF,{api:F,children:k(jS.Provider,{value:v,children:se(eI,{children:[k(aF,{notFoundPage:i,defaultPageStyle:e,forceUpdateKey:h,children:se(Qr,{children:[k(b1.Start,{}),A?vp(z.page,e):i&&vp(i,e)]},Y)}),k(YF,{}),k(b1.End,{})]})})})}function lI(e,t){let n=t?{behavior:"smooth",block:"start",inline:"nearest"}:void 0;e.scrollIntoView(n)}var _c,ep,w1;function cI(e){if(w1!==e){_c={};for(let[t,{path:n}]of Object.entries(e))n&&(_c[n]={path:n,depth:uI(n),routeId:t});ep=Object.values(_c),ep.sort(({depth:t},{depth:n})=>n-t),w1=e}return[_c,ep]}function WS(e,t,n=!0,r=[]){let[i,o]=cI(e),s,a,l=t;if(r.length>0){let d=l.split("/").find(Boolean);if(d&&(s=r.find(({slug:m})=>m===d),s&&(a=s.id,l=l.substring(s.slug.length+1))),!a){let m=r.find(({slug:y})=>y==="");m&&(a=m.id)}}let c=i[l];if(c){let d=k1(l,c.path);if(d.isMatch)return{routeId:c.routeId,localeId:a,pathVariables:d.pathVariables}}for(let{path:d,routeId:m}of o){let y=k1(l,d);if(y.isMatch)return{routeId:m,localeId:a,pathVariables:y.pathVariables}}if(!n)throw new Error("No exact match found for path");let u=i["/"];if(u)return{routeId:u.routeId,localeId:a};let f=Object.keys(e)[0];if(!f)throw new Error("Router should not have undefined routes");return{routeId:f,localeId:a}}function uI(e){let t=e.replace(/^\/|\/$/gu,"");return t===""?0:t.split("/").length}function k1(e,t){let n=[],i=fI(t).replace(_i,(c,u)=>(n.push(u),"([^/]+)")),o=new RegExp(i+"$"),s=e.match(o);if(!s)return{isMatch:!1};if(s.length===1)return{isMatch:!0};let a={},l=s.slice(1);for(let c=0;cb.createContext(void 0))();function tu(){var e;let t=ba(),n=D(hI),r=n??t.currentRouteId;if(!r)return;let i=(e=t.getRoute)===null||e===void 0?void 0:e.call(t,r);if(i)return{...i,id:r,pathVariables:n?void 0:t.currentPathVariables}}function pI(e){var t;let n=ba();if(e)return(t=n.getRoute)===null||t===void 0?void 0:t.call(n,e)}var Ip=(()=>typeof O<"u"&&!hF(_e.userAgent))();function mI(e,t=!0){let{getRoute:n}=ba();H(()=>{if(!(!n||!t||!Ip))for(let r of e)US(n(r))},[e,n,t])}async function US(e){if(!Ip||!e)return;let t=e.page;if(!(!t||!LS(t))){await MS();try{await t.preload()}catch{}}}function AB(e,t){var n;let r=tu(),i=(n=pI(t))!==null&&n!==void 0?n:r;return b.useMemo(()=>i?eu(i,e):e,[e,i])}var T1=new Set;function sa(e,...t){T1.has(e)||(T1.add(e),console.warn(e,...t))}function vI(e,t,n){let r=n?`, use ${n} instead`:"",i=`Deprecation warning: ${e} will be removed in version ${t}${r}.`;sa(i)}var XS=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}},Xe=(()=>{function e(t){return vI("Animatable()","2.0.0","the new animation API (https://www.framer.com/api/animation/)"),Tn(t)?t:new yI(t)}return e.transaction=t=>{let n=Math.random(),r=new Set;t((s,a)=>{s.set(a,n),r.add(s)},n);let o=[];r.forEach(s=>{o.push(...s.finishTransaction(n))}),o.forEach(s=>{s(n)})},e.getNumber=(t,n=0)=>e.get(t,n),e.get=(t,n)=>t==null?n:Tn(t)?t.get():t,e.objectToValues=t=>{if(!t)return t;let n={};for(let r in t){let i=t[r];Tn(i)?n[r]=i.get():n[r]=i}return n},e})(),E1="onUpdate",R1="finishTransaction";function Tn(e){return e!==null&&typeof e=="object"&&E1 in e&&e[E1]instanceof Function&&R1 in e&&e[R1]instanceof Function}function gI(e,t){return{interpolate(n,r){let i=n.get(),o=r.get(),s=Xe(i);return a=>{let l=t.interpolate(i,o)(a);return s.set(l),s}},difference(n,r){let i=n.get();return t.difference(i,r.get())}}}var yI=class{constructor(e){this.value=e,R(this,"observers",new XS)}static interpolationFor(e,t){if(Tn(e))return gI(e,t)}get(){return this.value}set(e,t){let n=this.value;Tn(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 Fc(e,t){let r=10**Math.round(Math.abs(t));return Math.round(e*r)/r}function P1(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function Qt(e,t){return{x:e,y:t}}(e=>{e.add=(...i)=>i.reduce((o,s)=>({x:o.x+s.x,y:o.y+s.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:P1(i.x,o.x),y:P1(i.y,o.y)}),e.distance=(i,o)=>{let s=Math.abs(i.x-o.x),a=Math.abs(i.y-o.y);return Math.sqrt(s*s+a*a)},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 s=i-o,a=Math.abs(s)+180,l=Math.floor(a/360);return s<180&&(o-=l*360),s>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,s=0;i.forEach(c=>{o+=c.x,s+=c.y});let a=o/i.length,l=s/i.length;return{x:a,y:l}}e.centroid=n;function r(i){let o=e.centroid(i),s=new Map;for(let a=0;as.get(a)-s.get(l))}e.sortClockwise=r})(Qt||(Qt={}));var yp={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Hr(e,t,n,r=!1){let[i,o]=t,[s,a]=n,l=o-i;if(l===0)return(a+s)/2;let c=a-s;if(c===0)return s;let u=s+(e-i)/l*c;if(r===!0)if(sa)return a}else{if(u>s)return s;if(ueF().Hsluv)(),Dt=new bI;function xI(e,t,n){return Dt.rgb_r=e/255,Dt.rgb_g=t/255,Dt.rgb_b=n/255,Dt.rgbToHsluv(),{h:Dt.hsluv_h,s:Dt.hsluv_s,l:Dt.hsluv_l}}function SI(e,t,n,r=1){return Dt.hsluv_h=e,Dt.hsluv_s=t,Dt.hsluv_l=n,Dt.hsluvToRgb(),{r:Dt.rgb_r*255,g:Dt.rgb_g*255,b:Dt.rgb_b*255,a:r}}function Ic(e,t,n,r){let i=Math.round(e),o=Math.round(t*100),s=Math.round(n*100);return r===void 0||r===1?"hsv("+i+", "+o+"%, "+s+"%)":"hsva("+i+", "+o+"%, "+s+"%, "+r+")"}function wI(e,t,n){return{r:Lo(e)?Et(e,255)*255:0,g:Lo(t)?Et(t,255)*255:0,b:Lo(n)?Et(n,255)*255:0}}function _1(e,t,n,r){let i=[np(Math.round(e).toString(16)),np(Math.round(t).toString(16)),np(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 Lp(e,t,n){let r,i,o=Et(e,255),s=Et(t,255),a=Et(n,255),l=Math.max(o,s,a),c=Math.min(o,s,a),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=(s-a)/f+(s1&&(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 kI(e,t,n){let r,i,o;if(e=Et(e,360),t=Et(t*100,100),n=Et(n*100,100),t===0)r=i=o=n;else{let s=n<.5?n*(1+t):n+t-n*t,a=2*n-s;r=tp(a,s,e+1/3),i=tp(a,s,e),o=tp(a,s,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function F1(e,t,n){e=Et(e,255),t=Et(t,255),n=Et(n,255);let r=Math.max(e,t,n),i=Math.min(e,t,n),o=r-i,s,a=r===0?0:o/r,l=r;if(r===i)s=0;else{switch(r){case e:s=(t-n)/o+(t{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"+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 Mp(e){if(e.includes("gradient(")||e.includes("var("))return!1;let t=/^[\s,#]+/u,n=e.replace(t,"").trimEnd().toLowerCase(),r=yp[n];if(r&&(n=r),n==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let i;return(i=zn.rgb.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:1,format:"rgb"}:(i=zn.rgba.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:parseFloat(i[4]??""),format:"rgb"}:(i=zn.hsl.exec(n))?{h:parseInt(i[1]??""),s:jr(i[2]??""),l:jr(i[3]??""),a:1,format:"hsl"}:(i=zn.hsla.exec(n))?{h:parseInt(i[1]??""),s:jr(i[2]??""),l:jr(i[3]??""),a:parseFloat(i[4]??""),format:"hsl"}:(i=zn.hsv.exec(n))?{h:parseInt(i[1]??""),s:jr(i[2]??""),v:jr(i[3]??""),a:1,format:"hsv"}:(i=zn.hsva.exec(n))?{h:parseInt(i[1]??""),s:jr(i[2]??""),v:jr(i[3]??""),a:parseFloat(i[4]??""),format:"hsv"}:(i=zn.hex8.exec(n))?{r:qt(i[1]??""),g:qt(i[2]??""),b:qt(i[3]??""),a:I1(i[4]??""),format:r?"name":"hex"}:(i=zn.hex6.exec(n))?{r:qt(i[1]??""),g:qt(i[2]??""),b:qt(i[3]??""),a:1,format:r?"name":"hex"}:(i=zn.hex4.exec(n))?{r:qt(`${i[1]}${i[1]}`),g:qt(`${i[2]}${i[2]}`),b:qt(`${i[3]}${i[3]}`),a:I1(i[4]+""+i[4]),format:r?"name":"hex"}:(i=zn.hex3.exec(n))?{r:qt(`${i[1]}${i[1]}`),g:qt(`${i[2]}${i[2]}`),b:qt(`${i[3]}${i[3]}`),a:1,format:r?"name":"hex"}:!1}function qt(e){return parseInt(e,16)}function I1(e){return qt(e)/255}var L1=new Map,j=(()=>{function e(o,s,a,l){if(typeof o=="string"){let u=L1.get(o);return u||(u=t(o),u===void 0?{...e("black"),isValid:!1}:(L1.set(o,u),u))}let c=t(o,s,a,l);return c!==void 0?c:{...e("black"),isValid:!1}}function t(o,s,a,l){if(o==="")return;let c=RI(o,s,a,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,s)=>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} "${s}">`:`<${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"?Mp(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,s=!1)=>_1(o.r,o.g,o.b,s),e.toHexString=(o,s=!1)=>`#${e.toHex(o,s)}`,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=>({...xI(o.r,o.g,o.b),a:o.roundA}),e.toHslString=o=>{let s=e.toHsl(o),a=Math.round(s.h),l=Math.round(s.s*100),c=Math.round(s.l*100);return o.a===1?"hsl("+a+", "+l+"%, "+c+"%)":"hsla("+a+", "+l+"%, "+c+"%, "+o.roundA+")"},e.toHsv=o=>{let s=F1(o.r,o.g,o.b);return{h:s.h*360,s:s.s,v:s.v,a:o.a}},e.toHsvString=o=>{let s=F1(o.r,o.g,o.b),a=Math.round(s.h*360),l=Math.round(s.s*100),c=Math.round(s.v*100);return o.a===1?"hsv("+a+", "+l+"%, "+c+"%)":"hsva("+a+", "+l+"%, "+c+"%, "+o.roundA+")"},e.toName=o=>{if(o.a===0)return"transparent";if(o.a<1)return!1;let s=_1(o.r,o.g,o.b,!0);for(let a of Object.keys(yp))if(yp[a]===s)return a;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,s=10)=>{let a=e.toRgb(o);return a.r=Math.max(0,Math.min(255,a.r-Math.round(255*-(s/100)))),a.g=Math.max(0,Math.min(255,a.g-Math.round(255*-(s/100)))),a.b=Math.max(0,Math.min(255,a.b-Math.round(255*-(s/100)))),e(a)},e.lighten=(o,s=10)=>{let a=e.toHsl(o);return a.l+=s/100,a.l=Math.min(1,Math.max(0,a.l)),e(a)},e.darken=(o,s=10)=>{let a=e.toHsl(o);return a.l-=s/100,a.l=Math.min(1,Math.max(0,a.l)),e(a)},e.saturate=(o,s=10)=>{let a=e.toHsl(o);return a.s+=s/100,a.s=Math.min(1,Math.max(0,a.s)),e(a)},e.desaturate=(o,s=10)=>{let a=e.toHsl(o);return a.s-=s/100,a.s=Math.min(1,Math.max(0,a.s)),e(a)},e.grayscale=o=>e.desaturate(o,100),e.hueRotate=(o,s)=>{let a=e.toHsl(o);return a.h+=s,a.h=a.h>360?a.h-360:a.h,e(a)},e.alpha=(o,s=1)=>e({r:o.r,g:o.g,b:o.b,a:s}),e.transparent=o=>e.alpha(o,0),e.multiplyAlpha=(o,s=1)=>e({r:o.r,g:o.g,b:o.b,a:o.a*s}),e.interpolate=(o,s,a="rgb")=>{if(!e.isColorObject(o)||!e.isColorObject(s))throw new TypeError("Both arguments for Color.interpolate must be Color objects");return l=>e.mixAsColor(o,s,l,!1,a)},e.mix=(o,s,{model:a="rgb"}={})=>{let l=typeof o=="string"?e(o):o,c=e.interpolate(l,s,a);return u=>e.toRgbString(c(u))},e.mixAsColor=(o,s,a=.5,l=!1,c="rgb")=>{let u=null;if(n.isRGB(c))u=e({r:Hr(a,[0,1],[o.r,s.r],l),g:Hr(a,[0,1],[o.g,s.g],l),b:Hr(a,[0,1],[o.b,s.b],l),a:Hr(a,[0,1],[o.a,s.a],l)});else{let f,d;n.isHSL(c)?(f=e.toHsl(o),d=e.toHsl(s)):(f=e.toHusl(o),d=e.toHusl(s)),f.s===0?f.h=d.h:d.s===0&&(d.h=f.h);let m=f.h,y=d.h,g=y-m;g>180?g=y-360-m:g<-180&&(g=y+360-m);let x={h:Hr(a,[0,1],[m,m+g],l),s:Hr(a,[0,1],[f.s,d.s],l),l:Hr(a,[0,1],[f.l,d.l],l),a:Hr(a,[0,1],[o.a,s.a],l)};n.isHSL(c)?u=e(x):u=e(SI(x.h,x.s,x.l,x.a))}return u},e.random=(o=1)=>{function s(){return Math.floor(Math.random()*255)}return e("rgba("+s()+", "+s()+", "+s()+", "+o+")")},e.grey=(o=.5,s=1)=>(o=Math.floor(o*255),e("rgba("+o+", "+o+", "+o+", "+s+")")),e.gray=e.grey,e.rgbToHsl=(o,s,a)=>Lp(o,s,a),e.isValidColorProperty=(o,s)=>!!((o.toLowerCase().slice(-5)==="color"||o==="fill"||o==="stroke")&&typeof s=="string"&&e.isColorString(s)),e.difference=(o,s)=>{let a=(o.r+s.r)/2,l=o.r-s.r,c=o.g-s.g,u=o.b-s.b,f=Math.pow(l,2),d=Math.pow(c,2),m=Math.pow(u,2);return Math.sqrt(2*f+4*d+3*m+a*(f-m)/256)},e.equal=(o,s,a=.1)=>!(Math.abs(o.r-s.r)>=a||Math.abs(o.g-s.g)>=a||Math.abs(o.b-s.b)>=a||Math.abs(o.a-s.a)*256>=a);let r=ls([0,255],[0,1]);function i(o){o=r(o);let s=Math.abs(o);return s<.04045?o/12.92:(Math.sign(o)||1)*Math.pow((s+.055)/1.055,2.4)}return e.luminance=o=>{let{r:s,g:a,b:l}=e.toRgb(o);return .2126*i(s)+.7152*i(a)+.0722*i(l)},e.contrast=(o,s)=>{let a=e.luminance(o),l=e.luminance(s);return(Math.max(a,l)+.05)/(Math.min(a,l)+.05)},e})();function RI(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=xp({r:e,g:t,b:n,a:r}):typeof e=="string"?i=PI(e):typeof e=="object"&&(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")?i=xp(e):i=YS(e)),i}function PI(e){let t=Mp(e);if(t)return t.format==="hsl"?YS(t):t.format==="hsv"?_I(t):xp(t)}function _I(e){let t=CI(e.h,e.s,e.v);return{...Lp(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?GS(e.a):1}}function xp(e){let t=wI(e.r,e.g,e.b);return{...Lp(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?GS(e.a):1}}function YS(e){let t,n,r,i={r:0,g:0,b:0},o={h:0,s:0,l:0};return t=Lo(e.h)?e.h:0,t=(t+360)%360,n=Lo(e.s)?e.s:1,typeof e.s=="string"&&(n=bp(e.s)),r=Lo(e.l)?e.l:.5,typeof e.l=="string"&&(r=bp(e.l)),i=kI(t,n,r),o={h:t,s:n,l:r},{...i,...o,a:e.a===void 0?1:e.a,format:"hsl"}}function GS(e){return e=parseFloat(e),e<0&&(e=0),(isNaN(e)||e>1)&&(e=1),e}var M1=e=>e instanceof il;var FI=(()=>tF().EventEmitter)(),II=class{constructor(){R(this,"_emitter",new FI)}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)}},LI={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:""},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){}},Ct=typeof O>"u"?LI:O,MI=e=>{setTimeout(e,1/60)},OI=(()=>Ct.requestAnimationFrame||MI)(),O1=e=>OI(e),ea=(()=>1/60)(),DI=class extends II{constructor(e=!1){super(),R(this,"_started",!1),R(this,"_frame",0),R(this,"_frameTasks",[]),R(this,"tick",()=>{this._started&&(O1(this.tick),this.emit("update",this._frame,ea),this.emit("render",this._frame,ea),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;rXc.target,hasRestrictions:()=>{let e=Xc.target;return e==="CANVAS"||e==="EXPORT"}};var Lc=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"}});tf({borderTopWidth:Lc("y"),borderLeftWidth:Lc("x"),borderRightWidth:Lc("x"),borderBottomWidth:Lc("y")});function he(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(` `);(n=o[1])!=null&&n.includes("assert")?(o.splice(1,1),i.stack=o.join(` `)):(r=o[0])!=null&&r.includes("assert")&&(o.splice(0,1),i.stack=o.join(` `))}catch{}throw i}function Tt(e,t){throw t||new Error(e?`Unexpected value: ${e}`:"Application entered invalid state")}var Mo=b.createContext({getLayoutId:e=>null,persistLayoutIdCache:()=>{},top:!1,enabled:!0});function AI({children:e}){if(D(Mo).top)return k(Fe,{children:e});let n=V({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),r=V({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=V(new Set).current,o=ce(({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 m=c||l;if(!u&&!i.has(m)&&(!n.current.byLayoutId[m]||n.current.byLayoutId[m]===m))return n.current.count[f][m]===void 0&&(n.current.count[f][m]=0,n.current.byLayoutId[m]=m,r.current[f][l]=m),i.add(m),m;let y;if(u?.length)for(let S=u.length-1;S>=0;S--){let T=u[S];he(!!T,"duplicatedId must be defined");let E=n.current[f][T],I=n.current.byLastId[T];if(I&&!y){let A=n.current.byLayoutId[I],X=!A||A===c;I&&!i.has(I)&&(!c||X)&&(y=[I,T])}let F=E?n.current.byLayoutId[E]:void 0,z=!F||F===c;if(E&&!i.has(E)&&(!c||z))return r.current[f][l]=E,r.current.byLastId[T]=E,i.add(E),E}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,T]=y;return r.current[f][l]=S,r.current.byLastId[T]=S,i.add(S),S}let x=n.current.byPossibleId[l];if(x&&!i.has(x))return i.add(x),r.current.byId[l]=x,x;let h=u?.[0],p=c||h||l,v=(n.current.count[f][p]??-1)+1,{layoutId:w,value:C}=VI(p,v,i);if(n.current.count[f][p]=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 T=0;T{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()},[]),a=V({getLayoutId:o,persistLayoutIdCache:s,top:!0,enabled:!0}).current;return k(Mo.Provider,{value:a,children:e})}function VI(e,t,n){let r=t,i=r?`${e}-${r}`:e;for(;n.has(i);)r++,i=`${e}-${r}`;return{layoutId:i,value:r}}function BI({enabled:e=!0,...t}){let n=D(Mo),r=oe(()=>({...n,enabled:e}),[e]);return k(Mo.Provider,{...t,value:r})}function hr(e){let t=V(null);return t.current===null&&(t.current=e()),t.current}var $I={background:void 0,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",lineHeight:"1.4em",textOverflow:"ellipsis",overflow:"hidden",minHeight:0,width:"100%",height:"100%"},zI=(()=>({...$I,border:"1px solid rgba(149, 149, 149, 0.15)",borderRadius:6,fontSize:"12px",backgroundColor:"rgba(149, 149, 149, 0.1)",color:"#a5a5a5"}))(),qS={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"100%",flexShrink:0,padding:"0 10px"},NI=(()=>({...qS,fontWeight:500}))(),HI=(()=>({...qS,whiteSpace:"pre",maxHeight:"calc(50% - calc(20px * var(--framerInternalCanvas-canvasPlaceholderContentScaleFactor, 1)))",WebkitMaskImage:"linear-gradient(to bottom, black 80%, transparent 100%)"}))();function WB(e){let{error:t,file:n}=e,r=n?`Error in ${jI(n)}`:"Error",i=t instanceof Error?t.message:""+t;return se("div",{style:zI,children:[k("div",{className:"text",style:NI,children:r}),i&&k("div",{className:"text",style:HI,children:i})]})}function jI(e){return e.startsWith("./")?e.replace("./",""):e}function Q(e){return typeof e=="number"&&isFinite(e)}function WI(e){return!e||!Object.keys(e).length&&e.constructor===Object}function Vc(e){return typeof e!="string"&&typeof e!="number"}function Bc(e){return e!==null&&typeof e<"u"&&typeof e!="boolean"&&!WI(e)}function UI(e){return e*(Math.PI/180)}var fn=(()=>{function e(t,n){return{a:t,b:n}}return e.offset=(t,n)=>{let r=Qt.angleFromX(t.a,t.b),i=UI(r),o=n*Math.sin(i),s=n*Math.cos(i);return e({x:t.a.x+o,y:t.a.y-s},{x:t.b.x+o,y:t.b.y-s})},e.intersection=(t,n,r)=>{let i=t.a.x,o=t.a.y,s=t.b.x,a=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),m=(u-l)*(a-o)-(f-c)*(s-i),y=(s-i)*(c-o)-(a-o)*(l-i);if(d===0&&m===0||m===0)return null;let g=d/m,x=y/m;return r&&(g<0||g>1||x<0||x>1)?null:{x:i+g*(s-i),y:o+g*(a-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,s=n.b.y-n.a.y;return Math.atan2(r*s-i*o,r*o+i*s)*(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=Qt(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=>Qt.distance(t.a,t.b),e})(),q={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)=>q.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),s=Math.max(i-n,0);return{x:t,y:n,width:o,height:s}},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),s=Math.max(i-n,1);return{x:t,y:n,width:o,height:s}},round:(e,t=0)=>{let n=Fc(e.x,t),r=Fc(e.y,t),i=Fc(e.width,t),o=Fc(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),s=Math.max(i-n,0);return{x:t,y:n,width:o,height:s}},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:q.maxX(e),minY:e.y,midY:e.y+e.height/2,maxY:q.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{let[t,n,r,i]=e,{x:o,y:s}=t,a=Qt.distance(t,n),l=Qt.distance(t,i);return{x:o,y:s,width:a,height:l}},merge:(...e)=>{let t={x:Math.min(...e.map(q.minX)),y:Math.min(...e.map(q.minY))},n={x:Math.max(...e.map(q.maxX)),y:Math.max(...e.map(q.maxY))};return q.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:q.minX(e),y:q.minY(e)},{x:q.minX(e),y:q.maxY(e)},{x:q.maxX(e),y:q.minY(e)},{x:q.maxX(e),y:q.maxY(e)}],pointsAtOrigin:e=>[{x:0,y:0},{x:e.width,y:0},{x:e.width,y:e.height},{x:0,y:e.height}],transform:(e,t)=>{let{x:n,y:r}=t.transformPoint({x:e.x,y:e.y}),{x:i,y:o}=t.transformPoint({x:e.x+e.width,y:e.y}),{x:s,y:a}=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,s,l),f=Math.max(n,i,s,l)-u,d=Math.min(r,o,a,c),m=Math.max(r,o,a,c)-d;return{x:u,y:d,width:f,height:m}},containsPoint:(e,t)=>!(t.xq.maxX(e)||t.yq.maxY(e)||isNaN(e.x)||isNaN(e.y)),containsRect:(e,t)=>{for(let n of q.points(t))if(!q.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>=q.maxX(e)||q.maxX(t)<=e.x||t.y>=q.maxY(e)||q.maxY(t)<=e.y),overlapHorizontally:(e,t)=>{let n=q.maxX(e),r=q.maxX(t);return n>t.x&&r>e.x},overlapVertically:(e,t)=>{let n=q.maxY(e),r=q.maxY(t);return n>t.y&&r>e.y},doesNotIntersect:(e,t)=>t.find(n=>q.intersects(n,e))===void 0,isEqual:(e,t)=>q.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,s=e.y+e.height;return[{x:n,y:i},{x:r,y:o},{x:n,y:s},{x:t,y:o}]},pointDistance:(e,t)=>{let n=0,r=0;return t.xq.maxX(e)&&(n=t.x-q.maxX(e)),t.yq.maxY(e)&&(r=t.y-q.maxY(e)),Qt.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:q.minX(e),y:q.minY(e)},r={x:q.minX(t),y:q.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{let n=q.minX(e),r=q.minY(e),i=q.maxX(e),o=q.maxY(e);for(let s of t)if(s.xi||s.yo)return!0;return!1},edges:e=>{let[t,n,r,i]=q.cornerPoints(e);return[fn(t,n),fn(n,r),fn(r,i),fn(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:Tt(r)}break;case"left":i.x=t.x-e.width;break;case"right":i.x=t.x+t.width;break;default:Tt(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:Tt(r)}break;case"top":i.y=t.y-e.height;break;case"bottom":i.y=t.y+t.height;break;default:Tt(n)}return i}};var QS={quickfix:e=>((e.widthType===2||e.heightType===2)&&(e.aspectRatio=null),Q(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||Q(e.maxWidth))&&(e.right=!1),e.widthType=0),e.top&&e.bottom&&((e.fixedSize||e.heightType===2||Q(e.maxHeight))&&(e.bottom=!1),e.heightType=0),e)};function Yc(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 ZS={fromProperties:e=>{let{left:t,right:n,top:r,bottom:i,width:o,height:s,centerX:a,centerY:l,aspectRatio:c,autoSize:u}=e,f=QS.quickfix({left:Q(t)||Tn(t),right:Q(n)||Tn(n),top:Q(r)||Tn(r),bottom:Q(i)||Tn(i),widthType:Yc(o),heightType:Yc(s),aspectRatio:c||null,fixedSize:u===!0}),d=null,m=null,y=0,g=0;if(f.widthType!==0&&typeof o=="string"){let p=parseFloat(o);o.endsWith("fr")?(y=3,d=p):o==="auto"?y=2:(y=1,d=p/100)}else o!==void 0&&typeof o!="string"&&(d=Xe.getNumber(o));if(f.heightType!==0&&typeof s=="string"){let p=parseFloat(s);s.endsWith("fr")?(g=3,m=p):s==="auto"?g=2:(g=1,m=parseFloat(s)/100)}else s!==void 0&&typeof s!="string"&&(m=Xe.getNumber(s));let x=.5,h=.5;return a&&(x=parseFloat(a)/100),l&&(h=parseFloat(l)/100),{left:f.left?Xe.getNumber(t):null,right:f.right?Xe.getNumber(n):null,top:f.top?Xe.getNumber(r):null,bottom:f.bottom?Xe.getNumber(i):null,widthType:y,heightType:g,width:d,height:m,aspectRatio:f.aspectRatio||null,centerAnchorX:x,centerAnchorY:h}},toSize:(e,t,n,r)=>{let i=null,o=null,s=t?.sizing?Xe.getNumber(t?.sizing.width):null,a=t?.sizing?Xe.getNumber(t?.sizing.height):null,l=D1(e.left,e.right);if(s&&Q(l))i=s-l;else if(n&&e.widthType===2)i=n.width;else if(Q(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:s&&(i=s*e.width);break;case 2:break;default:Tt(e.widthType)}let c=D1(e.top,e.bottom);if(a&&Q(c))o=a-c;else if(n&&e.heightType===2)o=n.height;else if(Q(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:a&&(o=a*e.height);break;case 2:break;default:Tt(e.heightType)}return qI(i,o,e,{height:a??0,width:s??0},t?.viewport)},toRect:(e,t=null,n=null,r=!1,i=null)=>{let o=e.left||0,s=e.top||0,{width:a,height:l}=ZS.toSize(e,t,n,i),c=t?.positioning??null,u=c?Xe.getNumber(c.width):null,f=c?Xe.getNumber(c.height):null;e.left!==null?o=e.left:u&&e.right!==null?o=u-e.right-a:u&&(o=e.centerAnchorX*u-a/2),e.top!==null?s=e.top:f&&e.bottom!==null?s=f-e.bottom-l:f&&(s=e.centerAnchorY*f-l/2);let d={x:o,y:s,width:a,height:l};return r?q.pixelAligned(d):d}},XI=200,YI=200;function Gc(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 GI(e,t,n,r){return t.minHeight&&(e=Math.max(Gc("minHeight",t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(Gc("maxHeight",t.maxHeight,n,r),e)),e}function KI(e,t,n,r){return t.minWidth&&(e=Math.max(Gc("minWidth",t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(Gc("maxWidth",t.maxWidth,n,r),e)),e}function qI(e,t,n,r,i){let o=KI(Q(e)?e:XI,n,r,i),s=GI(Q(t)?t:YI,n,r,i);return Q(n.aspectRatio)&&n.aspectRatio>0&&(Q(n.left)&&Q(n.right)?s=o/n.aspectRatio:Q(n.top)&&Q(n.bottom)?o=s*n.aspectRatio:n.widthType!==0?s=o/n.aspectRatio:o=s*n.aspectRatio),{width:o,height:s}}function D1(e,t){return!Q(e)||!Q(t)?null:e+t}function QI(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 xa(e){return!e._constraints||QI(e)?!1:e._constraints.enabled}function ZI(e){let{size:t}=e,{width:n,height:r}=e;return Q(t)&&(n===void 0&&(n=t),r===void 0&&(r=t)),Q(n)&&Q(r)?{width:n,height:r}:null}function JI(e){let t=ZI(e);if(t===null)return null;let{left:n,top:r}=e;return Q(n)&&Q(r)?{x:n,y:r,...t}:null}function aa(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!xa(e)||r)return JI(e);let i=eL(e),o=tL(t),s=o?{sizing:o,positioning:o,viewport:null}:null;return ZS.toRect(i,s,null,n,null)}function eL(e){let{left:t,right:n,top:r,bottom:i,center:o,_constraints:s,size:a}=e,{width:l,height:c}=e;l===void 0&&(l=a),c===void 0&&(c=a);let{aspectRatio:u,autoSize:f}=s,d=QS.quickfix({left:Q(t),right:Q(n),top:Q(r),bottom:Q(i),widthType:Yc(l),heightType:Yc(c),aspectRatio:u||null,fixedSize:f===!0}),m=null,y=null,g=0,x=0;if(d.widthType!==0&&typeof l=="string"){let v=parseFloat(l);l.endsWith("fr")?(g=3,m=v):l==="auto"?g=2:(g=1,m=v/100)}else l!==void 0&&typeof l!="string"&&(m=l);if(d.heightType!==0&&typeof c=="string"){let v=parseFloat(c);c.endsWith("fr")?(x=3,y=v):c==="auto"?x=2:(x=1,y=parseFloat(c)/100)}else c!==void 0&&typeof c!="string"&&(y=c);let h=.5,p=.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"&&(p=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:x,width:m,height:y,aspectRatio:d.aspectRatio||null,centerAnchorX:h,centerAnchorY:p,minHeight:e.minHeight,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth}}var JS=b.createContext({parentSize:0});function tL(e){return e===0||e===1||e===2?null:e}function Sa(){return b.useContext(JS).parentSize}function ew(e){return typeof e=="object"}var nL=e=>{let t=Sa(),{parentSize:n,children:r}=e,i=b.useMemo(()=>({parentSize:n}),[rL(n),iL(n)]);return t===1?r?k(Fe,{children:r}):null:k(JS.Provider,{value:i,children:r})};function rL(e){return ew(e)?e.width:e}function iL(e){return ew(e)?e.height:e}function oL(e,t){return k(nL,{parentSize:t,children:e})}function sL(e){let t=Sa();return aa(e,t,!0)}function tw({width:e,height:t}){return e==="auto"||e==="min-content"||t==="auto"||t==="min-content"}var aL=(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="borderradius",e.CollectionReference="collectionreference",e))(aL||{}),rp;function lL(){if(rp!==void 0)return rp;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),rp=t,t}var Fi="flexbox-gap-not-supported",A1=!1;function KB(){A1||(A1=!0,!lL()&&document.body.classList.add(Fi))}var cL=` [data-framer-component-type="DeprecatedRichText"] p, [data-framer-component-type="DeprecatedRichText"] div, [data-framer-component-type="DeprecatedRichText"] h1, [data-framer-component-type="DeprecatedRichText"] h2, [data-framer-component-type="DeprecatedRichText"] h3, [data-framer-component-type="DeprecatedRichText"] h4, [data-framer-component-type="DeprecatedRichText"] h5, [data-framer-component-type="DeprecatedRichText"] h6, [data-framer-component-type="DeprecatedRichText"] li, [data-framer-component-type="DeprecatedRichText"] ol, [data-framer-component-type="DeprecatedRichText"] ul, [data-framer-component-type="DeprecatedRichText"] span:not([data-text-fill]) { font-family: var(--framer-font-family, Inter, Inter Placeholder, sans-serif); font-style: var(--framer-font-style, normal); font-weight: var(--framer-font-weight, 400); color: var(--framer-text-color, #000); font-size: var(--framer-font-size, 16px); letter-spacing: var(--framer-letter-spacing, 0); text-transform: var(--framer-text-transform, none); text-decoration: var(--framer-text-decoration, none); line-height: var(--framer-line-height, 1.2em); text-align: var(--framer-text-alignment, start); } `,uL=` [data-framer-component-type="DeprecatedRichText"] p:not(:first-child), [data-framer-component-type="DeprecatedRichText"] div:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h1:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h2:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h3:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h4:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h5:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h6:not(:first-child), [data-framer-component-type="DeprecatedRichText"] ol:not(:first-child), [data-framer-component-type="DeprecatedRichText"] ul:not(:first-child), [data-framer-component-type="DeprecatedRichText"] .framer-image:not(:first-child) { margin-top: var(--framer-paragraph-spacing, 0); } `,fL=` [data-framer-component-type="DeprecatedRichText"] span[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } `,dL=` [data-framer-component-type="DeprecatedRichText"] a, [data-framer-component-type="DeprecatedRichText"] a span:not([data-text-fill]) { font-family: var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-link-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-link-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-text-color, var(--framer-text-color, #000)); font-size: var(--framer-link-font-size, var(--framer-font-size, 16px)); text-transform: var(--framer-link-text-transform, var(--framer-text-transform, none)); text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration, none)); } `,hL=` [data-framer-component-type="DeprecatedRichText"] a:hover, [data-framer-component-type="DeprecatedRichText"] a:hover span:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `,pL=` a[data-framer-page-link-current], a[data-framer-page-link-current] span:not([data-text-fill]) { font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))); text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `,mL=` a[data-framer-page-link-current]:hover, a[data-framer-page-link-current]:hover span:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `,vL=` [data-framer-component-type="DeprecatedRichText"] strong { font-weight: bolder; } `,gL=` [data-framer-component-type="DeprecatedRichText"] em { font-style: italic; } `,yL=` [data-framer-component-type="DeprecatedRichText"] .framer-image { display: block; max-width: 100%; height: auto; } `,bL=` [data-framer-component-type="DeprecatedRichText"] p, [data-framer-component-type="DeprecatedRichText"] div, [data-framer-component-type="DeprecatedRichText"] h1, [data-framer-component-type="DeprecatedRichText"] h2, [data-framer-component-type="DeprecatedRichText"] h3, [data-framer-component-type="DeprecatedRichText"] h4, [data-framer-component-type="DeprecatedRichText"] h5, [data-framer-component-type="DeprecatedRichText"] h6 { margin: 0; padding: 0; } `,xL=` [data-framer-component-type="DeprecatedRichText"] .text-styles-preset-reset { --framer-font-family: Inter, Inter Placeholder, sans-serif; --framer-font-style: normal; --framer-font-weight: 500; --framer-text-color: #000; --framer-font-size: 16px; --framer-letter-spacing: 0; --framer-text-transform: none; --framer-text-decoration: none; --framer-line-height: 1.2em; --framer-text-alignment: start; } `,SL=` [data-framer-component-type="DeprecatedRichText"] ul, [data-framer-component-type="DeprecatedRichText"] ol { display: table; width: 100%; padding-left: 0; margin: 0; } `,wL=` [data-framer-component-type="DeprecatedRichText"] li { display: table-row; counter-increment: list-item; list-style: none; } `,kL=` [data-framer-component-type="DeprecatedRichText"] ol > li::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-right: 0.75ch; content: counter(list-item) "."; white-space: nowrap; } `,CL=` [data-framer-component-type="DeprecatedRichText"] ul > li::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-right: 0.75ch; content: "\u2022"; } `,TL=['[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }',xL,bL,cL,uL,fL,dL,hL,pL,mL,vL,gL,yL,SL,wL,kL,CL],EL=[` p.framer-text, div.framer-text, h1.framer-text, h2.framer-text, h3.framer-text, h4.framer-text, h5.framer-text, h6.framer-text, ol.framer-text, ul.framer-text { margin: 0; padding: 0; } `,` p.framer-text, div.framer-text, h1.framer-text, h2.framer-text, h3.framer-text, h4.framer-text, h5.framer-text, h6.framer-text, li.framer-text, ol.framer-text, ul.framer-text, span.framer-text:not([data-text-fill]) { font-family: var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-blockquote-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-blockquote-font-weight, var(--framer-font-weight, 400)); color: var(--framer-blockquote-text-color, var(--framer-text-color, #000)); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0)); text-transform: var(--framer-blockquote-text-transform, var(--framer-text-transform, none)); text-decoration: var(--framer-blockquote-text-decoration, var(--framer-text-decoration, none)); line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em)); text-align: var(--framer-blockquote-text-alignment, var(--framer-text-alignment, start)); -webkit-text-stroke-width: var(--framer-text-stroke-width, initial); -webkit-text-stroke-color: var(--framer-text-stroke-color, initial); } `,` .framer-fit-text .framer-text { white-space: nowrap; white-space-collapse: preserve; } `,` strong.framer-text { font-family: var(--framer-blockquote-font-family-bold, var(--framer-font-family-bold)); font-style: var(--framer-blockquote-font-style-bold, var(--framer-font-style-bold)); font-weight: var(--framer-blockquote-font-weight-bold, var(--framer-font-weight-bold, bolder)); } `,` em.framer-text { font-family: var(--framer-blockquote-font-family-italic, var(--framer-font-family-italic)); font-style: var(--framer-blockquote-font-style-italic, var(--framer-font-style-italic, italic)); font-weight: var(--framer-blockquote-font-weight-italic, var(--framer-font-weight-italic)); } `,` em.framer-text > strong.framer-text { font-family: var(--framer-blockquote-font-family-bold-italic, var(--framer-font-family-bold-italic)); font-style: var(--framer-blockquote-font-style-bold-italic, var(--framer-font-style-bold-italic, italic)); font-weight: var(--framer-blockquote-font-weight-bold-italic, var(--framer-font-weight-bold-italic, bolder)); } `,` p.framer-text:not(:first-child), div.framer-text:not(:first-child), h1.framer-text:not(:first-child), h2.framer-text:not(:first-child), h3.framer-text:not(:first-child), h4.framer-text:not(:first-child), h5.framer-text:not(:first-child), h6.framer-text:not(:first-child), ol.framer-text:not(:first-child), ul.framer-text:not(:first-child), .framer-image.framer-text:not(:first-child) { margin-top: var(--framer-blockquote-paragraph-spacing, var(--framer-paragraph-spacing, 0)); } `,` li.framer-text > ul.framer-text:nth-child(2), li.framer-text > ol.framer-text:nth-child(2) { margin-top: 0; } `,` .framer-text[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; /* make this a transparent color if you want to visualise the clipping */ -webkit-text-fill-color: transparent; padding: max(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / 2)); margin: min(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / -2)); } `,` code.framer-text, code.framer-text span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-code-text-color, var(--framer-text-color, #000)); font-size: calc(var(--framer-font-size, 16px) * var(--framer-font-size-scale, 1)); letter-spacing: var(--framer-letter-spacing, 0); line-height: var(--framer-line-height, 1.2em); } `,` blockquote.framer-text { margin-block-start: initial; margin-block-end: initial; margin-inline-start: initial; margin-inline-end: initial; unicode-bidi: initial; } `,` a.framer-text, a.framer-text span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-link-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-link-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-text-color, var(--framer-text-color, #000)); font-size: calc(var(--framer-link-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-text-transform, var(--framer-text-transform, none)); text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration, none)); /* Cursor inherit to overwrite the user agent stylesheet on rich text links. */ cursor: var(--framer-custom-cursors, pointer); } `,` code.framer-text a.framer-text, code.framer-text a.framer-text span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-link-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); } `,` a.framer-text:hover, a.framer-text:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `,` code.framer-text a.framer-text:hover, code.framer-text a.framer-text:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); } `,` a.framer-text[data-framer-page-link-current], a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `,` code.framer-text a.framer-text[data-framer-page-link-current], code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); 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)); } `,` a.framer-text[data-framer-page-link-current]:hover, a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `,` code.framer-text a.framer-text[data-framer-page-link-current]:hover, code.framer-text a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: 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))))); 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)); } `,` .framer-image.framer-text { display: block; max-width: 100%; height: auto; } `,` .text-styles-preset-reset.framer-text { --framer-font-family: Inter, Inter Placeholder, sans-serif; --framer-font-style: normal; --framer-font-weight: 500; --framer-text-color: #000; --framer-font-size: 16px; --framer-letter-spacing: 0; --framer-text-transform: none; --framer-text-decoration: none; --framer-line-height: 1.2em; --framer-text-alignment: start; } `,` ol.framer-text { --list-style-type: decimal; } `,` ul.framer-text, ol.framer-text { display: table; width: 100%; } `,` li.framer-text { display: table-row; counter-increment: list-item; list-style: none; } `,` ol.framer-text > li.framer-text::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-inline-end: 0.75ch; content: counter(list-item, var(--list-style-type)) "."; white-space: nowrap; } `,` ul.framer-text > li.framer-text::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-inline-end: 0.75ch; content: "\u2022"; } `,` .framer-text-module[style*="aspect-ratio"] > :first-child { width: 100%; } `,` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"] { position: relative; } } `,` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"]::before { content: ""; display: block; padding-bottom: calc(100% / calc(var(--aspect-ratio))); } } `,` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"] > :first-child { position: absolute; top: 0; left: 0; height: 100%; } } `],RL=new Set,ip;function nw(e,t,n=RL){if(!(!e||n.has(e)||typeof document>"u")){if(n.add(e),!t){if(!ip){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 element");return}if(document.head.appendChild(r),r.sheet)ip=r.sheet;else{console.warn("not injecting CSS: injected