import{a as pu,b as Ge,c as _}from"./chunk-ELYU6EKT.mjs";var ke={};pu(ke,{Children:()=>gn,Component:()=>ge,Fragment:()=>Ri,Profiler:()=>kC,PureComponent:()=>TC,StrictMode:()=>EC,Suspense:()=>_o,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>RC,cloneElement:()=>rn,createContext:()=>ye,createElement:()=>le,createFactory:()=>PC,createRef:()=>Sm,default:()=>b,forwardRef:()=>je,isValidElement:()=>yn,lazy:()=>IC,memo:()=>FC,startTransition:()=>Pi,unstable_act:()=>_C,useCallback:()=>ce,useContext:()=>M,useDebugValue:()=>LC,useDeferredValue:()=>MC,useEffect:()=>j,useId:()=>Wr,useImperativeHandle:()=>OC,useInsertionEffect:()=>xt,useLayoutEffect:()=>ir,useMemo:()=>fe,useReducer:()=>AC,useRef:()=>A,useState:()=>Ft,useSyncExternalStore:()=>DC,useTransition:()=>VC,version:()=>BC});var b={},Fo=Symbol.for("react.element"),cC=Symbol.for("react.portal"),uC=Symbol.for("react.fragment"),fC=Symbol.for("react.strict_mode"),dC=Symbol.for("react.profiler"),hC=Symbol.for("react.provider"),pC=Symbol.for("react.context"),mC=Symbol.for("react.forward_ref"),vC=Symbol.for("react.suspense"),gC=Symbol.for("react.memo"),yC=Symbol.for("react.lazy"),fm=Symbol.iterator;function bC(e){return e===null||typeof e!="object"?null:(e=fm&&e[fm]||e["@@iterator"],typeof e=="function"?e:null)}var pm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},mm=Object.assign,vm={};function Ei(e,t,n){this.props=e,this.context=t,this.refs=vm,this.updater=n||pm}Ei.prototype.isReactComponent={};Ei.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")};Ei.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function gm(){}gm.prototype=Ei.prototype;function vu(e,t,n){this.props=e,this.context=t,this.refs=vm,this.updater=n||pm}var gu=vu.prototype=new gm;gu.constructor=vu;mm(gu,Ei.prototype);gu.isPureReactComponent=!0;var dm=Array.isArray,ym=Object.prototype.hasOwnProperty,yu={current:null},bm={key:!0,ref:!0,__self:!0,__source:!0};function xm(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)ym.call(t,r)&&!bm.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1t in e?qu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,on=(e,t)=>function(){return t||(0,e[Dv(e)[0]])((t={exports:{}}).exports,t),t.exports},WC=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Dv(t))!$C.call(e,i)&&i!==n&&qu(e,i,{get:()=>t[i],enumerable:!(r=zC(t,i))||r.enumerable});return e},Xt=(e,t,n)=>(n=e!=null?HC(NC(e)):{},WC(t||!e||!e.__esModule?qu(n,"default",{value:e,enumerable:!0}):n,e)),R=(e,t,n)=>(jC(e,typeof t!="symbol"?t+"":t,n),n),Vv=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},wt=(e,t,n)=>(Vv(e,t,"read from private field"),n?n.call(e):t.get(e)),Xo=(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)},Qu=(e,t,n,r)=>(Vv(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),UC=on({"../../../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}}),XC=on({"../../../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(UC()),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|disablePictureInPicture|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|inert|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}}),Hn=ye({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Yo=ye({}),Ai=ye(null),Go=typeof document<"u",cr=Go?ir:j,Zu=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),YC="framerAppearId",Ua="data-"+Zu(YC),Xa={skipAnimations:!1,useManualTiming:!1},jo=ye({}),Ya=ye({}),Bv=ye({strict:!1}),wm=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 GC(e){let t=new wm,n=new wm,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]=GC(()=>n=!0),f),{}),s=f=>{o[f].process(i)},a=()=>{let f=Xa.useManualTiming?i.timestamp:performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(f-i.timestamp,KC),1),i.timestamp=f,i.isProcessing=!0,Ao.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(a))},l=()=>{n=!0,r=!0,i.isProcessing||e(a)};return{schedule:Ao.reduce((f,d)=>{let h=o[d];return f[d]=(g,y=!1,S=!1)=>(n||l(),h.schedule(g,y,S)),f},{}),cancel:f=>Ao.forEach(d=>o[d].cancel(f)),state:i,steps:o}}var{schedule:Ju,cancel:i5}=Hv(queueMicrotask,!1);function qC(e,t,n,r){let{visualElement:i}=M(Yo),o=M(Bv),s=M(Ai),a=M(Hn).reducedMotion,l=A();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:a}));let c=l.current;xt(()=>{c&&c.update(n,s)});let u=A(!!(n[Ua]&&!_.HandoffComplete));return cr(()=>{c&&(Ju.postRender(c.render),u.current&&c.animationState&&c.animationState.animateChanges())}),j(()=>{c&&(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),u.current&&(u.current=!1,_.HandoffComplete=!0))}),c}function Ii(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function QC(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):Ii(n)&&(n.current=r))},[t])}function Wo(e){return typeof e=="string"||Array.isArray(e)}function Ga(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}var ef=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tf=["initial",...ef];function Ka(e){return Ga(e.animate)||tf.some(t=>Wo(e[t]))}function zv(e){return!!(Ka(e)||e.variants)}function ZC(e,t){if(Ka(e)){let{initial:n,animate:r}=e;return{initial:n===!1||Wo(n)?n:void 0,animate:Wo(r)?r:void 0}}return e.inherit!==!1?t:{}}function JC(e){let{initial:t,animate:n}=ZC(e,M(Yo));return fe(()=>({initial:t,animate:n}),[Cm(t),Cm(n)])}function Cm(e){return Array.isArray(e)?e.join(" "):e}var km={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"]},Uo={};for(let e in km)Uo[e]={isEnabled:t=>km[e].some(n=>!!t[n])};function ek(e){for(let t in e)Uo[t]={...Uo[t],...e[t]}}var nf=Symbol.for("motionComponentSymbol");function Nv({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&ek(e);function o(a,l){let c,u={...M(Hn),...a,layoutId:tk(a)},{isStatic:f}=u,d=JC(a),h=r(a,f);if(!f&&Go){d.visualElement=qC(i,h,u,t);let g=M(Ya),y=M(Bv).strict;d.visualElement&&(c=d.visualElement.loadFeatures(u,y,e,g))}return le(Yo.Provider,{value:d},c&&d.visualElement?le(c,{visualElement:d.visualElement,...u}):null,n(i,a,QC(h,d.visualElement,l),h,f,d.visualElement))}let s=je(o);return s[nf]=i,s}function tk({layoutId:e}){let t=M(jo).id;return t&&e!==void 0?t+"-"+e:e}var Da={};function rf(e){Object.assign(Da,e)}var Re=e=>!!(e&&e.getVelocity),Ko=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Jr=new Set(Ko),nk={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rk=Ko.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,of=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,ik=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,ok=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function qo(e){return typeof e=="string"}var Qo=e=>({test:t=>qo(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),or=Qo("deg"),bn=Qo("%"),$=Qo("px"),sk=Qo("vh"),ak=Qo("vw"),Tm={...bn,parse:e=>bn.parse(e)/100,transform:e=>bn.transform(e*100)},lk=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 Mi(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||lk.has(e)}var jv=e=>!Mi(e);function Wv(e){e&&(jv=t=>t.startsWith("on")?!Mi(t):e(t))}try{Wv(XC().default)}catch{}function Uv(e,t,n){let r={};for(let i in e)i==="values"&&typeof e.values=="object"||(jv(i)||n===!0&&Mi(i)||!t&&!Mi(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}var Va=e=>Array.isArray(e),ck=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),uk=e=>Va(e)?e[e.length-1]||0:e;function et(e){let t=Re(e)?e.get():e;return ck(t)?t.toValue():t}function sf(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function jn(e){let t=A(null);return t.current===null&&(t.current=e()),t.current}function fk({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){let s={latestValues:dk(r,i,o,e),renderState:t()};return n&&(s.mount=a=>n(r,a,s)),s}var qa=e=>(t,n)=>{let r=M(Yo),i=M(Ai),o=()=>fk(e,t,r,i);return n?o():jn(o)};function dk(e,t,n,r){let i={},o=r(e,{});for(let d in o)i[d]=et(o[d]);let{initial:s,animate:a}=e,l=Ka(e),c=zv(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"&&!Ga(f)&&(Array.isArray(f)?f:[f]).forEach(h=>{let g=sf(e,h);if(!g)return;let{transitionEnd:y,transition:S,...p}=g;for(let m in p){let v=p[m];if(Array.isArray(v)){let x=u?v.length-1:0;v=v[x]}v!==null&&(i[m]=v)}for(let m in y)i[m]=y[m]}),i}var Le=e=>e,{schedule:q,cancel:ft,state:Ee,steps:_a}=Hv(typeof requestAnimationFrame<"u"?requestAnimationFrame:Le,!0),Xv=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Qa(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}var Yv=e=>t=>Xv(t)&&e(t,Qa(t));function Vn(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function xn(e,t,n,r){return Vn(e,t,Yv(n),r)}var hk=(e,t)=>n=>t(e(n)),Sn=(...e)=>e.reduce(hk);function Gv(e){let t=null;return()=>{let n=()=>{t=null};return t===null?(t=e,n):!1}}var Em=Gv("dragHorizontal"),Rm=Gv("dragVertical");function Kv(e){let t=!1;if(e==="y")t=Rm();else if(e==="x")t=Em();else{let n=Em(),r=Rm();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function af(){let e=Kv(!0);return e?(e(),!1):!0}var Zo=Le,tt=Le,qv=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,pk=1e-7,mk=12;function vk(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=qv(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>pk&&++avk(o,0,1,e,n);return o=>o===0||o===1?o:qv(i(o),t,r)}var Qv=Di(.42,0,1,1),Zv=Di(0,0,.58,1),lf=Di(.42,0,.58,1),cf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,uf=e=>t=>1-e(1-t),Za=e=>1-Math.sin(Math.acos(e)),ff=uf(Za),Jv=cf(Za),df=Di(.33,1.53,.69,.99),Ja=uf(df),eg=cf(Ja),tg=e=>(e*=2)<1?.5*Ja(e):.5*(2-Math.pow(2,-10*(e-1))),lr=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Vi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Bo={...Vi,transform:e=>zn(0,1,e)},Ra={...Vi,default:1},hf=(e,t)=>n=>!!(qo(n)&&ok.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),ng=(e,t,n)=>r=>{if(!qo(r))return r;let[i,o,s,a]=r.match(of);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},gk=e=>zn(0,255,e),xu={...Vi,transform:e=>Math.round(gk(e))},Kr={test:hf("rgb","red"),parse:ng("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+xu.transform(e)+", "+xu.transform(t)+", "+xu.transform(n)+", "+Vo(Bo.transform(r))+")"};function yk(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 Mu={test:hf("#"),parse:yk,transform:Kr.transform},Fi={test:hf("hsl","hue"),parse:ng("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+bn.transform(Vo(t))+", "+bn.transform(Vo(n))+", "+Vo(Bo.transform(r))+")"},Ke={test:e=>Kr.test(e)||Mu.test(e)||Fi.test(e),parse:e=>Kr.test(e)?Kr.parse(e):Fi.test(e)?Fi.parse(e):Mu.parse(e),transform:e=>qo(e)?e:e.hasOwnProperty("red")?Kr.transform(e):Fi.transform(e)};function bk(e){var t,n;return isNaN(e)&&qo(e)&&(((t=e.match(of))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(ik))===null||n===void 0?void 0:n.length)||0)>0}var rg="number",ig="color",xk="var",Sk="var(",Pm="${}",wk=/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 Ba(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],o=0,a=t.replace(wk,l=>(Ke.test(l)?(r.color.push(o),i.push(ig),n.push(Ke.parse(l))):l.startsWith(Sk)?(r.var.push(o),i.push(xk),n.push(l)):(r.number.push(o),i.push(rg),n.push(parseFloat(l))),++o,Pm)).split(Pm);return{values:n,split:a,indexes:r,types:i}}function og(e){return Ba(e).values}function sg(e){let{split:t,types:n}=Ba(e),r=t.length;return i=>{let o="";for(let s=0;stypeof e=="number"?0:e;function kk(e){let t=og(e);return sg(e)(t.map(Ck))}var Nn={test:bk,parse:og,createTransformer:sg,getAnimatableNone:kk},de=(e,t,n)=>e+(t-e)*n;function Su(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 Tk({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=Su(l,a,e+1/3),o=Su(l,a,e),s=Su(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}var wu=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Ek=[Mu,Kr,Fi],Rk=e=>Ek.find(t=>t.test(e));function Im(e){let t=Rk(e);tt(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Fi&&(n=Tk(n)),n}var Fm=(e,t)=>{let n=Im(e),r=Im(t),i={...n};return o=>(i.red=wu(n.red,r.red,o),i.green=wu(n.green,r.green,o),i.blue=wu(n.blue,r.blue,o),i.alpha=de(n.alpha,r.alpha,o),Kr.transform(i))},ag=e=>t=>typeof t=="string"&&t.startsWith(e),lg=ag("--"),Pk=ag("var(--"),Ha=e=>Pk(e)?Ik.test(e.split("/*")[0].trim()):!1,Ik=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ou(e,t){return n=>n>0?t:e}function Fk(e,t){return n=>de(e,t,n)}function pf(e){return typeof e=="number"?Fk:typeof e=="string"?Ha(e)?Ou:Ke.test(e)?Fm:Mk:Array.isArray(e)?cg:typeof e=="object"?Ke.test(e)?Fm:_k:Ou}function cg(e,t){let n=[...e],r=n.length,i=e.map((o,s)=>pf(o)(o,t[s]));return o=>{for(let s=0;s{for(let o in r)n[o]=r[o](i);return n}}function Lk(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let o=0;o{let n=Nn.createTransformer(t),r=Ba(e),i=Ba(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?Sn(cg(Lk(r,i),i.values),n):(Zo(!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.`),Ou(e,t))};function mf(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?de(e,t,n):pf(e)(e,t)}function Ok(e,t,n){let r=[],i=n||mf,o=e.length-1;for(let s=0;st[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Ok(t,r,i),a=s.length,l=c=>{let u=0;if(a>1)for(;ul(zn(e[0],e[o-1],c)):l}var Bn=e=>e*1e3,wn=e=>e/1e3;function vf(e,t){return t?e*(1e3/t):0}var Ak=5;function ug(e,t,n){let r=Math.max(t-Ak,0);return vf(n-e(r),t-r)}var Cu=.001,Dk=.01,_m=10,Vk=.05,Bk=1;function Hk({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;Zo(e<=Bn(_m),"Spring duration must be 10 seconds or less");let s=1-t;s=zn(Vk,Bk,s),e=zn(Dk,_m,wn(e)),s<1?(i=c=>{let u=c*s,f=u*e,d=u-n,h=Au(c,s),g=Math.exp(-f);return Cu-d/h*g},o=c=>{let f=c*s*e,d=f*n+n,h=Math.pow(s,2)*Math.pow(c,2)*e,g=Math.exp(-f),y=Au(Math.pow(c,2),s);return(-i(c)+Cu>0?-1:1)*((d-h)*g)/y}):(i=c=>{let u=Math.exp(-c*e),f=(c-n)*e+1;return-Cu+u*f},o=c=>{let u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});let a=5/e,l=Nk(i,o,a);if(e=Bn(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 zk=12;function Nk(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function Wk(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Lm(e,jk)&&Lm(e,$k)){let n=Hk(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Jo({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}=Wk({...r,velocity:-wn(r.velocity||0)}),h=f||0,g=l/(2*Math.sqrt(a*c)),y=o-i,S=wn(Math.sqrt(a/c)),p=Math.abs(y)<5;n||(n=p?.01:2),t||(t=p?.005:.5);let m;if(g<1){let v=Au(S,g);m=x=>{let C=Math.exp(-g*S*x);return o-C*((h+g*S*y)/v*Math.sin(v*x)+y*Math.cos(v*x))}}else if(g===1)m=v=>o-Math.exp(-S*v)*(y+(h+S*y)*v);else{let v=S*Math.sqrt(g*g-1);m=x=>{let C=Math.exp(-g*S*x),w=Math.min(v*x,300);return o-C*((h+g*S*y)*Math.sinh(w)+v*y*Math.cosh(w))/v}}return{calculatedDuration:d&&u||null,next:v=>{let x=m(v);if(d)s.done=v>=u;else{let C=h;v!==0&&(g<1?C=ug(m,v,x):C=0);let w=Math.abs(C)<=n,k=Math.abs(o-x)<=t;s.done=w&&k}return s.value=s.done?o:x,s}}}var fg=e=>Array.isArray(e)&&typeof e[0]!="number",Mm={linear:Le,easeIn:Qv,easeInOut:lf,easeOut:Zv,circIn:Za,circInOut:Jv,circOut:ff,backIn:Ja,backInOut:eg,backOut:df,anticipate:tg},Om=e=>{if(Array.isArray(e)){tt(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return Di(t,n,r,i)}else if(typeof e=="string")return tt(Mm[e]!==void 0,`Invalid easing type '${e}'`),Mm[e];return e};function dg(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=lr(0,t,r);e.push(de(n,1,i))}}function gf(e){let t=[0];return dg(t,e.length-1),t}function Uk(e,t){return e.map(n=>n*t)}function Xk(e,t){return e.map(()=>t||lf).splice(0,e.length-1)}function za({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=fg(r)?r.map(Om):Om(r),o={done:!1,value:t[0]},s=Uk(n&&n.length===t.length?n:gf(t),e),a=Bi(s,t,{ease:Array.isArray(i)?i:Xk(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}function Am({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){let f=e[0],d={done:!1,value:f},h=E=>a!==void 0&&El,g=E=>a===void 0?l:l===void 0||Math.abs(a-E)-y*Math.exp(-E/r),v=E=>p+m(E),x=E=>{let I=m(E),P=v(E);d.done=Math.abs(I)<=c,d.value=d.done?p:P},C,w,k=E=>{h(d.value)&&(C=E,w=Jo({keyframes:[d.value,g(d.value)],velocity:ug(v,E,d.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return k(0),{calculatedDuration:null,next:E=>{let I=!1;return!w&&C===void 0&&(I=!0,x(E),k(E)),C!==void 0&&E>C?w.next(E-C):(!I&&x(E),d)}}}var La;function Yk(){La=void 0}var qr={now:()=>(La===void 0&&qr.set(Ee.isProcessing||Xa.useManualTiming?Ee.timestamp:performance.now()),La),set:e=>{La=e,queueMicrotask(Yk)}},Gk=e=>{let t=({timestamp:n})=>e(n);return{start:()=>q.update(t,!0),stop:()=>ft(t),now:()=>Ee.isProcessing?Ee.timestamp:qr.now()}},Du=2e4;function Vu(e){let t=0,n=50,r=e.next(t);for(;!r.done&&t=Du?1/0:t}var Kk={decay:Am,inertia:Am,tween:za,keyframes:za,spring:Jo},qk=e=>e/100;function Zr({autoplay:e=!0,delay:t=0,driver:n=Gk,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:f,...d}){let h=1,g=!1,y,S,p=()=>{S=new Promise(B=>{y=B})};p();let m,v=Kk[i]||za,x;v!==za&&typeof r[0]!="number"&&(x=Sn(qk,mf(r[0],r[1])),r=[0,100]);let C=v({...d,keyframes:r}),w;a==="mirror"&&(w=v({...d,keyframes:[...r].reverse(),velocity:-(d.velocity||0)}));let k="idle",E=null,I=null,P=null;C.calculatedDuration===null&&o&&(C.calculatedDuration=Vu(C));let{calculatedDuration:z}=C,L=1/0,Z=1/0;z!==null&&(L=z+s,Z=L*(o+1)-s);let N=0,ee=B=>{if(I===null)return;h>0&&(I=Math.min(I,B)),h<0&&(I=Math.min(B-Z/h,I)),E!==null?N=E:N=Math.round(B-I)*h;let te=N-t*(h>=0?1:-1),G=h>=0?te<0:te>Z;N=Math.max(te,0),k==="finished"&&E===null&&(N=Z);let J=N,jt=C;if(o){let It=Math.min(N,Z)/L,yt=Math.floor(It),ct=It%1;!ct&&It>=1&&(ct=1),ct===1&&yt--,yt=Math.min(yt,o+1),!!(yt%2)&&(a==="reverse"?(ct=1-ct,s&&(ct-=s/L)):a==="mirror"&&(jt=w)),J=zn(0,1,ct)*L}let ne=G?{done:!1,value:r[0]}:jt.next(J);x&&(ne.value=x(ne.value));let{done:lt}=ne;!G&&z!==null&&(lt=h>=0?N>=Z:N<=0);let K=E===null&&(k==="finished"||k==="running"&<);return f&&f(ne.value),K&&W(),ne},Y=()=>{m&&m.stop(),m=void 0},V=()=>{k="idle",Y(),y(),p(),I=P=null},W=()=>{k="finished",u&&u(),Y(),y()},D=()=>{if(g)return;m||(m=n(ee));let B=m.now();l&&l(),E!==null?I=B-E:(!I||k==="finished")&&(I=B),k==="finished"&&p(),P=I,E=null,k="running",m.start()};e&&D();let Q={then(B,te){return S.then(B,te)},get time(){return wn(N)},set time(B){B=Bn(B),N=B,E!==null||!m||h===0?E=B:I=m.now()-B/h},get duration(){let B=C.calculatedDuration===null?Vu(C):C.calculatedDuration;return wn(B)},get speed(){return h},set speed(B){B===h||!m||(h=B,Q.time=wn(N))},get state(){return k},play:D,pause:()=>{k="paused",E=N},stop:()=>{g=!0,k!=="idle"&&(k="idle",c&&c(),V())},cancel:()=>{P!==null&&ee(P),V()},complete:()=>{k="finished"},sample:B=>(I=0,ee(B))};return Q}function yf(e,t){e.indexOf(t)===-1&&e.push(t)}function el(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Qk([...e],t,n){let r=t<0?e.length+t:t;if(r>=0&&rel(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)),Ho={current:void 0},tl=class{constructor(e,t={}){this.version="11.0.11-sync.2",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(n,r=!0)=>{let i=qr.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.canTrackVelocity=Zk(this.current),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=qr.now()}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(),q.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){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Ho.current&&Ho.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=qr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Dm)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Dm);return vf(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 be(e,t){return new tl(e,t)}var hg=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),pg=e=>/^0[^.\s]+$/u.test(e),Jk=new Set(["brightness","contrast","saturate","opacity"]);function eT(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=n.match(of)||[];if(!r)return e;let i=n.replace(r,""),o=Jk.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}var tT=/\b([a-z-]*)\(.*?\)/gu,Bu={...Nn,getAnimatableNone:e=>{let t=e.match(tT);return t?t.map(eT).join(" "):e}},Vm={...Vi,transform:Math.round},mg={borderWidth:$,borderTopWidth:$,borderRightWidth:$,borderBottomWidth:$,borderLeftWidth:$,borderRadius:$,radius:$,borderTopLeftRadius:$,borderTopRightRadius:$,borderBottomRightRadius:$,borderBottomLeftRadius:$,width:$,maxWidth:$,height:$,maxHeight:$,size:$,top:$,right:$,bottom:$,left:$,padding:$,paddingTop:$,paddingRight:$,paddingBottom:$,paddingLeft:$,margin:$,marginTop:$,marginRight:$,marginBottom:$,marginLeft:$,rotate:or,rotateX:or,rotateY:or,rotateZ:or,scale:Ra,scaleX:Ra,scaleY:Ra,scaleZ:Ra,skew:or,skewX:or,skewY:or,distance:$,translateX:$,translateY:$,translateZ:$,x:$,y:$,z:$,perspective:$,transformPerspective:$,opacity:Bo,originX:Tm,originY:Tm,originZ:$,zIndex:Vm,fillOpacity:Bo,strokeOpacity:Bo,numOctaves:Vm},nT={...mg,color:Ke,backgroundColor:Ke,outlineColor:Ke,fill:Ke,stroke:Ke,borderColor:Ke,borderTopColor:Ke,borderRightColor:Ke,borderBottomColor:Ke,borderLeftColor:Ke,filter:Bu,WebkitFilter:Bu},xf=e=>nT[e];function vg(e,t){let n=xf(e);return n!==Bu&&(n=Nn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var gg=e=>t=>t.test(e),rT={test:e=>e==="auto",parse:e=>e},yg=[Vi,$,bn,or,ak,sk,rT],Lo=e=>yg.find(gg(e)),iT=[...yg,Ke,Nn],oT=e=>iT.find(gg(e));function sT(e){let t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function aT(e){let t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function nl(e,t,n){let r=e.getProps();return sf(r,t,n!==void 0?n:r.custom,sT(e),aT(e))}function lT(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,be(n))}function Sf(e,t){let n=nl(e,t),{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(let s in o){let a=uk(o[s]);lT(e,s,a)}}function Hu(e,t){[...t].reverse().forEach(r=>{let i=e.getVariant(r);i&&Sf(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{Hu(o,t)})})}function cT(e,t){if(Array.isArray(t))return Hu(e,t);if(typeof t=="string")return Hu(e,[t]);Sf(e,t)}function bg(e,t,n){var r,i;let o=Object.keys(t).filter(a=>!e.hasValue(a)),s=o.length;if(s)for(let a=0;aArray.isArray(e)&&typeof e[0]=="number";function Sg(e){return!!(!e||typeof e=="string"&&wg[e]||xg(e)||Array.isArray(e)&&e.every(Sg))}var Do=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,wg={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Do([0,.65,.55,1]),circOut:Do([.55,0,1,.45]),backIn:Do([.31,.01,.66,-.59]),backOut:Do([.33,1.53,.69,.99])};function Cg(e){if(e)return xg(e)?Do(e):Array.isArray(e)?e.map(Cg):wg[e]}function dT(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){let c={[t]:n};l&&(c.offset=l);let u=Cg(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"})}function hT(e,{repeat:t,repeatType:n="loop"}){let r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}function kg(e){let t;return()=>(t===void 0&&(t=e()),t)}var pT=kg(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),mT=new Set(["opacity","clipPath","filter","transform"]),Pa=10,vT=2e4,gT=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Sg(t.ease);function yT(e,t,{onUpdate:n,onComplete:r,...i}){if(!(pT()&&mT.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let s=!1,a,l,c=!1,u=()=>{l=new Promise(v=>{a=v})};u();let{keyframes:f,duration:d=300,ease:h,times:g}=i;if(gT(t,i)){let v=Zr({...i,repeat:0,delay:0}),x={done:!1,value:f[0]},C=[],w=0;for(;!x.done&&w{c=!1,y.cancel()},p=()=>{c=!0,q.update(S),a(),u()};return y.onfinish=()=>{c||(e.set(hT(f,i)),r&&r(),p())},{then(v,x){return l.then(v,x)},attachTimeline(v){return y.timeline=v,y.onfinish=null,Le},get time(){return wn(y.currentTime||0)},set time(v){y.currentTime=Bn(v)},get speed(){return y.playbackRate},set speed(v){y.playbackRate=v},get duration(){return wn(d)},play:()=>{s||(y.play(),ft(S))},pause:()=>y.pause(),stop:()=>{if(s=!0,y.playState==="idle")return;let{currentTime:v}=y;if(v){let x=Zr({...i,autoplay:!1});e.setWithVelocity(x.sample(v-Pa).value,x.sample(v).value,Pa)}p()},complete:()=>{c||y.finish()},cancel:p}}function bT({keyframes:e,delay:t,onUpdate:n,onComplete:r}){let i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Le,pause:Le,stop:Le,then:o=>(o(),Promise.resolve()),cancel:Le,complete:Le});return t?Zr({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}var xT={type:"spring",stiffness:500,damping:25,restSpeed:10},ST=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),wT={type:"keyframes",duration:.8},CT={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},kT=(e,{keyframes:t})=>t.length>2?wT:Jr.has(e)?e.startsWith("scale")?ST(t[1]):xT:CT,zu=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Nn.test(t)||t==="0")&&!t.startsWith("url("));function TT(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||pg(e)}function ET(e,t,n,r){let i=zu(t,n),o;Array.isArray(n)?o=[...n]:o=[null,n];let s=r.from!==void 0?r.from:e.get(),a,l=[];for(let c=0;ci=>{let o=wf(r,e)||{},s=o.delay||r.delay||0,{elapsed:a=0}=r;a=a-Bn(s);let l=ET(t,e,n,o),c=l[0],u=l[l.length-1],f=zu(e,c),d=zu(e,u);Zo(f===d,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let h={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-a,onUpdate:g=>{t.set(g),o.onUpdate&&o.onUpdate(g)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(RT(o)||(h={...h,...kT(e,h)}),h.duration&&(h.duration=Bn(h.duration)),h.repeatDelay&&(h.repeatDelay=Bn(h.repeatDelay)),!f||!d||Na.current||o.type===!1||Xa.skipAnimations)return bT(Na.current?{...h,delay:0}:h);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let g=yT(t,e,h);if(g)return g}return Zr(h)};function $a(e){return!!(Re(e)&&e.add)}function PT({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function IT(e,t){let n=e.get();if(Array.isArray(t)){for(let r=0;rl.remove(f))),c.push(S)}return s&&Promise.all(c).then(()=>{s&&Sf(e,s)}),c}function Nu(e,t,n={}){let r=nl(e,t,n.custom),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let o=r?()=>Promise.all(kf(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{let{delayChildren:c=0,staggerChildren:u,staggerDirection:f}=i;return FT(e,t,c+l,u,f,n)}:()=>Promise.resolve(),{when:a}=i;if(a){let[l,c]=a==="beforeChildren"?[o,s]:[s,o];return l().then(()=>c())}else return Promise.all([o(),s(n.delay)])}function FT(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(_T).forEach((c,u)=>{c.notify("AnimationStart",t),s.push(Nu(c,t,{...o,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function _T(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=>Nu(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Nu(e,t,n);else{let i=typeof t=="function"?nl(e,t,n.custom):t;r=Promise.all(kf(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}function Tg(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 AT(e){let t=OT(e),n=VT(),r=!0,i=(l,c)=>{let u=nl(e,c);if(u){let{transition:f,transitionEnd:d,...h}=u;l={...l,...h,...d}}return l};function o(l){t=l(e)}function s(l,c){let u=e.getProps(),f=e.getVariantContext(!0)||{},d=[],h=new Set,g={},y=1/0;for(let p=0;py&&C,P=!1,z=Array.isArray(x)?x:[x],L=z.reduce(i,{});w===!1&&(L={});let{prevResolvedValues:Z={}}=v,N={...Z,...L},ee=Y=>{I=!0,h.has(Y)&&(P=!0,h.delete(Y)),v.needsAnimating[Y]=!0;let V=e.getValue(Y);V&&(V.liveStyle=!1)};for(let Y in N){let V=L[Y],W=Z[Y];if(g.hasOwnProperty(Y))continue;let D=!1;Va(V)&&Va(W)?D=!Tg(V,W):D=V!==W,D?V!==void 0?ee(Y):h.add(Y):V!==void 0&&h.has(Y)?ee(Y):v.protectedKeys[Y]=!0}v.prevProp=x,v.prevResolvedValues=L,v.isActive&&(g={...g,...L}),r&&e.blockInitialAnimation&&(I=!1),I&&(!k||P)&&d.push(...z.map(Y=>({animation:Y,options:{type:m,...l}})))}if(h.size){let p={};h.forEach(m=>{let v=e.getBaseTarget(m);v!==void 0&&(p[m]=v);let x=e.getValue(m);x&&(x.liveStyle=!0)}),d.push({animation:p})}let S=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(S=!1),r=!1,S?t(d):Promise.resolve()}function a(l,c,u){var f;if(n[l].isActive===c)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(h=>{var g;return(g=h.animationState)===null||g===void 0?void 0:g.setActive(l,c)}),n[l].isActive=c;let d=s(u,l);for(let h in n)n[h].protectedKeys={};return d}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n}}function DT(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Tg(t,e):!1}function Ur(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function VT(){return{animate:Ur(!0),whileInView:Ur(),whileHover:Ur(),whileTap:Ur(),whileDrag:Ur(),whileFocus:Ur(),exit:Ur()}}var ur=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},BT=class extends ur{constructor(e){super(e),e.animationState||(e.animationState=AT(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),Ga(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}},HT=0,zT=class extends ur{constructor(){super(...arguments),this.id=HT++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;let i=this.node.animationState.setActive("exit",!e,{custom:n??this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}},Ef={animation:{Feature:BT},exit:{Feature:zT}},$u=(e,t)=>Math.abs(e-t);function Eg(e,t){let n=$u(e.x,t.x),r=$u(e.y,t.y);return Math.sqrt(n**2+r**2)}function St(e){return e.max-e.min}function ju(e,t=0,n=.01){return Math.abs(e-t)<=n}function Bm(e,t,n,r=.5){e.origin=r,e.originPoint=de(t.min,t.max,e.origin),e.scale=St(n)/St(t),(ju(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=de(n.min,n.max,e.origin)-e.originPoint,(ju(e.translate)||isNaN(e.translate))&&(e.translate=0)}function zo(e,t,n,r){Bm(e.x,t.x,n.x,r?r.originX:void 0),Bm(e.y,t.y,n.y,r?r.originY:void 0)}function Hm(e,t,n){e.min=n.min+t.min,e.max=e.min+St(t)}function NT(e,t,n){Hm(e.x,t.x,n.x),Hm(e.y,t.y,n.y)}function zm(e,t,n){e.min=t.min-n.min,e.max=e.min+St(t)}function No(e,t,n){zm(e.x,t.x,n.x),zm(e.y,t.y,n.y)}var Nm=()=>({translate:0,scale:1,origin:0,originPoint:0}),_i=()=>({x:Nm(),y:Nm()}),$m=()=>({min:0,max:0}),Te=()=>({x:$m(),y:$m()});function Rf(){let e=M(Ai);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=Wr();return j(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}var $T=(e,t)=>e.depth-t.depth,Rg=class{constructor(){this.children=[],this.isDirty=!1}add(e){yf(this.children,e),this.isDirty=!0}remove(e){el(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort($T),this.isDirty=!1,this.children.forEach(e)}};function Pg(e,t){let n=qr.now(),r=({timestamp:i})=>{let o=i-n;o>=t&&(ft(r),e(o-t))};return q.read(r,!0),()=>ft(r)}var $n=new WeakMap,ja={current:null},Pf={current:!1};function Ig(){if(Pf.current=!0,!!Go)if(_.matchMedia){let e=_.matchMedia("(prefers-reduced-motion)"),t=()=>ja.current=e.matches;e.addListener(t),t()}else ja.current=!1}function jT(e,t,n){let{willChange:r}=t;for(let i in t){let o=t[i],s=n[i];if(Re(o))e.addValue(i,o),$a(r)&&r.add(i);else if(Re(s))e.addValue(i,be(o,{owner:e})),$a(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,be(a!==void 0?a:o,{owner:e}))}}for(let i in n)t[i]===void 0&&e.removeValue(i);return t}var Fg=Object.keys(Uo),WT=Fg.length,jm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],UT=tf.length,_g=class{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,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=()=>q.render(this.render,!1,!0);let{latestValues:s,renderState:a}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=Ka(t),this.isVariantNode=zv(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let u in c){let f=c[u];s[u]!==void 0&&Re(f)&&(f.set(s[u],!1),$a(l)&&l.add(u))}}scrapeMotionValuesFromProps(e,t,n){return{}}mount(e){this.current=e,$n.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)),Pf.current||Ig(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ja.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){$n.delete(this.current),this.projection&&this.projection.unmount(),ft(this.notifyUpdate),ft(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)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let n=Jr.has(e),r=t.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&q.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}loadFeatures({children:e,...t},n,r,i){let o,s;for(let a=0;athis.scheduleRender(),animationType:typeof l=="string"?l:"both",initialPromotionConfig:i,layoutScroll:f,layoutRoot:d})}return s}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Te()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(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){t!==this.values.get(e)&&(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=be(t,{owner:this}),this.addValue(e,n)),n}readValue(e){var t;return this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(t=this.getBaseTargetFromProps(this.props,e))!==null&&t!==void 0?t:this.readValueFromInstance(this.current,e,this.options)}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:n}=this.props,r=typeof n=="string"||typeof n=="object"?(t=sf(this.props,n))===null||t===void 0?void 0:t[e]:void 0;if(n&&r!==void 0)return r;let i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!Re(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 Lg(e){function t(r,i={}){return Nv(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 XT=["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 If(e){return typeof e!="string"||e.includes("-")?!1:!!(XT.indexOf(e)>-1||/[A-Z]/u.test(e))}function Mg(e,{layout:t,layoutId:n}){return Jr.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Da[e]||e==="opacity")}var YT=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Ff(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(lg(f)){o[f]=d;continue}let h=mg[f],g=YT(d,h);if(Jr.has(f)){if(l=!0,s[f]=g,!u)continue;d!==(h.default||0)&&(u=!1)}else f.startsWith("origin")?(c=!0,a[f]=g):i[f]=g}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:h=0}=a;i.transformOrigin=`${f} ${d} ${h}`}}var _f=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Og(e,t,n){for(let r in t)!Re(t[r])&&!Mg(r,n)&&(e[r]=t[r])}function GT({transformTemplate:e},t,n){return fe(()=>{let r=_f();return Ff(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function KT(e,t,n){let r=e.style||{},i={};return Og(i,r,e),Object.assign(i,GT(e,t,n)),i}function qT(e,t,n){let r={},i=KT(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 Wm(e,t,n){return typeof e=="string"?e:$.transform(t+n*e)}function QT(e,t,n){let r=Wm(t,e.x,e.width),i=Wm(n,e.y,e.height);return`${r} ${i}`}var ZT={offset:"stroke-dashoffset",array:"stroke-dasharray"},JT={offset:"strokeDashoffset",array:"strokeDasharray"};function eE(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?ZT:JT;e[o.offset]=$.transform(-r);let s=$.transform(t),a=$.transform(n);e[o.array]=`${s} ${a}`}function Lf(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,f,d){if(Ff(e,c,u,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:g,dimensions:y}=e;h.transform&&(y&&(g.transform=h.transform),delete h.transform),y&&(i!==void 0||o!==void 0||g.transform)&&(g.transformOrigin=QT(y,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),r!==void 0&&(h.scale=r),s!==void 0&&eE(h,s,a,l,!1)}var Ag=()=>({..._f(),attrs:{}}),Mf=e=>typeof e=="string"&&e.toLowerCase()==="svg";function tE(e,t,n,r){let i=fe(()=>{let o=Ag();return Lf(o,t,{enableHardwareAcceleration:!1},Mf(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};Og(o,e.style,e),i.style={...o,...i.style}}return i}function nE(e=!1){return(n,r,i,{latestValues:o},s)=>{let l=(If(n)?tE:qT)(r,o,s,n),c=Uv(r,typeof n=="string",e),u=n!==Ri?{...c,...l,ref:i}:{},{children:f}=r,d=fe(()=>Re(f)?f.get():f,[f]);return le(n,{...u,children:d})}}function Dg(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 Vg=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 Bg(e,t,n,r){Dg(e,t,void 0,r);for(let i in t.attrs)e.setAttribute(Vg.has(i)?i:Zu(i),t.attrs[i])}function Of(e,t,n){var r;let{style:i}=e,o={};for(let s in i)(Re(i[s])||t.style&&Re(t.style[s])||Mg(s,e)||((r=n?.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[s]=i[s]);return o}function Hg(e,t,n){let r=Of(e,t,n);for(let i in e)if(Re(e[i])||Re(t[i])){let o=Ko.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}var rE={useVisualState:qa({scrapeMotionValuesFromProps:Hg,createRenderState:Ag,onMount:(e,t,{renderState:n,latestValues:r})=>{q.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),q.render(()=>{Lf(n,r,{enableHardwareAcceleration:!1},Mf(t.tagName),e.transformTemplate),Bg(t,n)})}})},iE={useVisualState:qa({scrapeMotionValuesFromProps:Of,createRenderState:_f})};function zg(e,{forwardMotionProps:t=!1},n,r){return{...If(e)?rE:iE,preloadedFeatures:n,useRender:nE(t),createVisualElement:r,Component:e}}function Um(e,t){let n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(o,s)=>{if(o.pointerType==="touch"||af())return;let a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t),a[r]&&q.update(()=>a[r](o,s))};return xn(e.current,n,i,{passive:!e.getProps()[r]})}var oE=class extends ur{mount(){this.unmount=Sn(Um(this.node,!0),Um(this.node,!1))}unmount(){}},sE=class extends ur{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=Sn(Vn(this.node.current,"focus",()=>this.onFocus()),Vn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}},Ng=(e,t)=>t?e===t?!0:Ng(e,t.parentElement):!1;function ku(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,Qa(n))}var aE=class extends ur{constructor(){super(...arguments),this.removeStartListeners=Le,this.removeEndListeners=Le,this.removeAccessibleListeners=Le,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),i=xn(_,"pointerup",(s,a)=>{if(!this.checkPressEnd())return;let{onTap:l,onTapCancel:c,globalTapTarget:u}=this.node.getProps();q.update(()=>{!u&&!Ng(this.node.current,s.target)?c&&c(s,a):l&&l(s,a)})},{passive:!(n.onTap||n.onPointerUp)}),o=xn(_,"pointercancel",(s,a)=>this.cancelPress(s,a),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Sn(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()||ku("up",(a,l)=>{let{onTap:c}=this.node.getProps();c&&q.update(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=Vn(this.node.current,"keyup",o),ku("down",(s,a)=>{this.startPress(s,a)})},t=Vn(this.node.current,"keydown",e),n=()=>{this.isPressing&&ku("cancel",(i,o)=>this.cancelPress(i,o))},r=Vn(this.node.current,"blur",n);this.removeAccessibleListeners=Sn(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&&q.update(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!af()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&q.update(()=>n(e,t))}mount(){let e=this.node.getProps(),t=xn(e.globalTapTarget?_:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Vn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Sn(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}},Wu=new WeakMap,Tu=new WeakMap,lE=e=>{let t=Wu.get(e.target);t&&t(e)},cE=e=>{e.forEach(lE)};function uE({root:e,...t}){let n=e||document;Tu.has(n)||Tu.set(n,{});let r=Tu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(cE,{root:e,...t})),r[i]}function fE(e,t,n){let r=uE(t);return Wu.set(e,n),r.observe(e),()=>{Wu.delete(e),r.unobserve(e)}}var dE={some:0,all:1},hE=class extends ur{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:dE[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 fE(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(pE(e,t))&&this.startObserver()}unmount(){}};function pE({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var $g={inView:{Feature:hE},tap:{Feature:aE},focus:{Feature:sE},hover:{Feature:oE}},jg=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=_,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let u=Ru(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=Eg(u.offset,{x:0,y:0})>=3;if(!f&&!d)return;let{point:h}=u,{timestamp:g}=Ee;this.history.push({...h,timestamp:g});let{onStart:y,onMove:S}=this.handlers;f||(y&&y(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,u)},this.handlePointerMove=(u,f)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=Eu(f,this.transformPagePoint),q.update(this.updatePoint,!0)},this.handlePointerUp=(u,f)=>{this.end();let{onEnd:d,onSessionEnd:h,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let y=Ru(u.type==="pointercancel"?this.lastMoveEventInfo:Eu(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(u,y),h&&h(u,y)},!Xv(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||_;let o=Qa(e),s=Eu(o,this.transformPagePoint),{point:a}=s,{timestamp:l}=Ee;this.history=[{...a,timestamp:l}];let{onSessionStart:c}=t;c&&c(e,Ru(s,this.history)),this.removeListeners=Sn(xn(this.contextWindow,"pointermove",this.handlePointerMove),xn(this.contextWindow,"pointerup",this.handlePointerUp),xn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),ft(this.updatePoint)}};function Eu(e,t){return t?{point:t(e.point)}:e}function Xm(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ru({point:e},t){return{point:e,delta:Xm(e,Wg(t)),offset:Xm(e,mE(t)),velocity:vE(t,.1)}}function mE(e){return e[0]}function Wg(e){return e[e.length-1]}function vE(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Wg(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Bn(t)));)n--;if(!r)return{x:0,y:0};let o=wn(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 gE(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?de(n,e,r.max):Math.min(e,n)),e}function Ym(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 yE(e,{top:t,left:n,bottom:r,right:i}){return{x:Ym(e.x,n,i),y:Ym(e.y,t,r)}}function Gm(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=lr(t.min,t.max-r,e.min):r>i&&(n=lr(e.min,e.max-i,t.min)),zn(0,1,n)}function SE(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 Uu=.35;function wE(e=Uu){return e===!1?e=0:e===!0&&(e=Uu),{x:Km(e,"left","right"),y:Km(e,"top","bottom")}}function Km(e,t,n){return{min:qm(e,t),max:qm(e,n)}}function qm(e,t){return typeof e=="number"?e:e[t]||0}function Ut(e){return[e("x"),e("y")]}function Ug({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function CE({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function kE(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 Pu(e){return e===void 0||e===1}function Xu({scale:e,scaleX:t,scaleY:n}){return!Pu(e)||!Pu(t)||!Pu(n)}function Xr(e){return Xu(e)||Xg(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Xg(e){return Qm(e.x)||Qm(e.y)}function Qm(e){return e&&e!=="0%"}function Wa(e,t,n){let r=e-n,i=t*r;return n+i}function Zm(e,t,n,r,i){return i!==void 0&&(e=Wa(e,i,r)),Wa(e,n,r)+t}function Yu(e,t=0,n=1,r,i){e.min=Zm(e.min,t,n,r,i),e.max=Zm(e.max,t,n,r,i)}function Yg(e,{x:t,y:n}){Yu(e.x,t.translate,t.scale,t.originPoint),Yu(e.y,n.translate,n.scale,n.originPoint)}function TE(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 ar(e,t){e.min=e.min+t,e.max=e.max+t}function ev(e,t,[n,r,i]){let o=t[i]!==void 0?t[i]:.5,s=de(e.min,e.max,o);Yu(e,t[n],t[r],s,t.scale)}var EE=["x","scaleX","originX"],RE=["y","scaleY","originY"];function Li(e,t){ev(e.x,t,EE),ev(e.y,t,RE)}function Gg(e,t){return Ug(kE(e.getBoundingClientRect(),t))}function PE(e,t,n){let r=Gg(e,n),{scroll:i}=t;return i&&(ar(r.x,i.offset.x),ar(r.y,i.offset.y)),r}var Kg=({current:e})=>e?e.ownerDocument.defaultView:null,IE=new WeakMap,FE=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=Te(),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(Qa(c,"page").point)},i=(c,u)=>{let{drag:f,dragPropagation:d,onDragStart:h}=this.getProps();if(f&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Kv(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),Ut(y=>{let S=this.getAxisMotionValue(y).get()||0;if(bn.test(S)){let{projection:p}=this.visualElement;if(p&&p.layout){let m=p.layout.layoutBox[y];m&&(S=St(m)*(parseFloat(S)/100))}}this.originPoint[y]=S}),h&&q.update(()=>h(c,u),!1,!0);let{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,u)=>{let{dragPropagation:f,dragDirectionLock:d,onDirectionLock:h,onDrag:g}=this.getProps();if(!f&&!this.openGlobalLock)return;let{offset:y}=u;if(d&&this.currentDirection===null){this.currentDirection=_E(y),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",u.point,y),this.updateAxis("y",u.point,y),this.visualElement.render(),g&&g(c,u)},s=(c,u)=>this.stop(c,u),a=()=>Ut(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 jg(e,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:s,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:Kg(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&&q.update(()=>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||!Ia(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=gE(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&&Ii(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=yE(r.layoutBox,t):this.constraints=!1,this.elastic=wE(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Ut(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=SE(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Ii(e))return!1;let n=e.current;tt(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=PE(n,r.root,this.visualElement.getTransformPagePoint()),o=bE(r.layout.layoutBox,i);if(t){let s=t(CE(o));this.hasMutatedConstraints=!!s,s&&(o=Ug(s))}return o}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=Ut(c=>{if(!Ia(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,h={type:"inertia",velocity:n?e[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(c,h)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return n.start(Cf(e,n,0,t))}stopAnimation(){Ut(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Ut(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){Ut(t=>{let{drag:n}=this.getProps();if(!Ia(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]-de(o,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Ii(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Ut(o=>{let s=this.getAxisMotionValue(o);if(s){let a=s.get();r[o]=xE({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(),Ut(o=>{if(!Ia(o,e,null))return;let s=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];s.set(de(a,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;IE.set(this.visualElement,this);let e=this.visualElement.current,t=xn(e,"pointerdown",a=>{let{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),n=()=>{let{dragConstraints:a}=this.getProps();Ii(a)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),n();let o=Vn(_,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(Ut(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=Uu,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}};function Ia(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function _E(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}var LE=class extends ur{constructor(e){super(e),this.removeGroupControls=Le,this.removeListeners=Le,this.controls=new FE(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Le}unmount(){this.removeGroupControls(),this.removeListeners()}},tv=e=>(t,n)=>{e&&q.update(()=>e(t,n))},ME=class extends ur{constructor(){super(...arguments),this.removePointerDownListener=Le}onPointerDown(e){this.session=new jg(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Kg(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:tv(e),onStart:tv(t),onMove:n,onEnd:(i,o)=>{delete this.session,r&&q.update(()=>r(i,o))}}}mount(){this.removePointerDownListener=xn(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Ma={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Mo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if($.test(e))e=parseFloat(e);else return e;let n=nv(e,t.target.x),r=nv(e,t.target.y);return`${n}% ${r}%`}},OE={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=Nn.parse(e);if(i.length>5)return r;let o=Nn.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=de(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=c),typeof i[3+s]=="number"&&(i[3+s]/=c),o(i)}},AE=class extends b.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;rf(DE),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()})),Ma.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()||q.postRender(()=>{let s=o.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Ju.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 qg(e){let[t,n]=Rf(),r=M(jo);return b.createElement(AE,{...e,layoutGroup:r,switchLayoutGroup:M(Ya),isPresent:t,safeToRemove:n})}var DE={borderRadius:{...Mo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Mo,borderTopRightRadius:Mo,borderBottomLeftRadius:Mo,borderBottomRightRadius:Mo,boxShadow:OE},Qg=["TopLeft","TopRight","BottomLeft","BottomRight"],VE=Qg.length,rv=e=>typeof e=="string"?parseFloat(e):e,iv=e=>typeof e=="number"||$.test(e);function BE(e,t,n,r,i,o){i?(e.opacity=de(0,n.opacity!==void 0?n.opacity:1,HE(r)),e.opacityExit=de(t.opacity!==void 0?t.opacity:1,0,zE(r))):o&&(e.opacity=de(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(lr(e,t,r))}function sv(e,t){e.min=t.min,e.max=t.max}function Wt(e,t){sv(e.x,t.x),sv(e.y,t.y)}function av(e,t,n,r,i){return e-=t,e=Wa(e,1/n,r),i!==void 0&&(e=Wa(e,1/i,r)),e}function NE(e,t=0,n=1,r=.5,i,o=e,s=e){if(bn.test(t)&&(t=parseFloat(t),t=de(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=de(o.min,o.max,r);e===o&&(a-=t),e.min=av(e.min,t,n,a,i),e.max=av(e.max,t,n,a,i)}function lv(e,t,[n,r,i],o,s){NE(e,t[n],t[r],t[i],t.scale,o,s)}var $E=["x","scaleX","originX"],jE=["y","scaleY","originY"];function cv(e,t,n,r){lv(e.x,t,$E,n?n.x:void 0,r?r.x:void 0),lv(e.y,t,jE,n?n.y:void 0,r?r.y:void 0)}function uv(e){return e.translate===0&&e.scale===1}function Jg(e){return uv(e.x)&&uv(e.y)}function WE(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 ey(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 fv(e){return St(e.x)/St(e.y)}var UE=class{constructor(){this.members=[]}add(e){yf(this.members,e),e.scheduleRender()}remove(e){if(el(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 dv(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{rotate:c,rotateX:u,rotateY:f,skewX:d,skewY:h}=n;c&&(r+=`rotate(${c}deg) `),u&&(r+=`rotateX(${u}deg) `),f&&(r+=`rotateY(${f}deg) `),d&&(r+=`skewX(${d}deg) `),h&&(r+=`skewY(${h}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 XE(e){_.MotionDebug&&_.MotionDebug.record(e)}function ty(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Af(e,t,n){let r=Re(e)?e:be(e);return r.start(Cf("",r,t,n)),r.animation}var Iu=["","X","Y","Z"],YE={visibility:"hidden"};function Fu(e,t,n){let{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0))}var hv=1e3,GE=0,Yr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function ny({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t?.()){this.id=GE++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Yr.totalNodes=Yr.resolvedTargetDeltas=Yr.recalculatedProjection=0,this.nodes.forEach(QE),this.nodes.forEach(nR),this.nodes.forEach(rR),this.nodes.forEach(ZE),XE(Yr)},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=Pg(d,250),Ma.hasAnimatedSinceResize&&(Ma.hasAnimatedSinceResize=!1,this.nodes.forEach(mv))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:h,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let y=this.options.transition||u.getDefaultTransition()||lR,{onLayoutAnimationStart:S,onLayoutAnimationComplete:p}=u.getProps(),m=!this.targetLayout||!ey(this.targetLayout,g)||h,v=!d&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||d&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,v);let x={...wf(y,"layout"),onPlay:S,onComplete:p};(u.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else d||mv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}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,ft(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(iR),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(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;uthis.update()))}clearAllSnapshots(){this.nodes.forEach(JE),this.sharedNodes.forEach(oR)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,q.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){q.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{let C=x/1e3;vv(f.x,s.x,C),vv(f.y,s.y,C),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(No(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),sR(this.relativeTarget,this.relativeTargetOrigin,d,C),v&&WE(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Te()),Wt(v,this.relativeTarget)),y&&(this.animationValues=u,BE(u,c,this.latestValues,C,m,p)),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&&(ft(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=q.update(()=>{Ma.hasAnimatedSinceResize=!0,this.currentAnimation=Af(0,hv,{...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(hv),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&&ry(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Te();let f=St(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+f;let d=St(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+d}Wt(a,l),Li(a,u),zo(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new UE),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}resetRotation(){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&&Fu("z",s,c);for(let u=0;u{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(pv),this.root.sharedNodes.clear()}}}function KE(e){e.updateLayout()}function qE(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"?Ut(f=>{let d=s?n.measuredBox[f]:n.layoutBox[f],h=St(d);d.min=r[f].min,d.max=d.min+h}):ry(o,n.layoutBox,r)&&Ut(f=>{let d=s?n.measuredBox[f]:n.layoutBox[f],h=St(r[f]);d.max=d.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+h)});let a=_i();zo(a,r,n.layoutBox);let l=_i();s?zo(l,e.applyTransform(i,!0),n.measuredBox):zo(l,r,n.layoutBox);let c=!Jg(a),u=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:d,layout:h}=f;if(d&&h){let g=Te();No(g,n.layoutBox,d.layoutBox);let y=Te();No(y,r,h.layoutBox),ey(g,y)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=g,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 QE(e){Yr.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 ZE(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function JE(e){e.clearSnapshot()}function pv(e){e.clearMeasurements()}function eR(e){e.isLayoutDirty=!1}function tR(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function mv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function nR(e){e.resolveTargetDelta()}function rR(e){e.calcProjection()}function iR(e){e.resetRotation()}function oR(e){e.removeLeadSnapshot()}function vv(e,t,n){e.translate=de(t.translate,0,n),e.scale=de(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function gv(e,t,n,r){e.min=de(t.min,n.min,r),e.max=de(t.max,n.max,r)}function sR(e,t,n,r){gv(e.x,t.x,n.x,r),gv(e.y,t.y,n.y,r)}function aR(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var lR={duration:.45,ease:[.4,0,.1,1]},yv=e=>typeof Ge<"u"&&Ge.userAgent&&Ge.userAgent.toLowerCase().includes(e),bv=yv("applewebkit/")&&!yv("chrome/")?Math.round:Le;function xv(e){e.min=bv(e.min),e.max=bv(e.max)}function cR(e){xv(e.x),xv(e.y)}function ry(e,t,n){return e==="position"||e==="preserve-aspect"&&!ju(fv(t),fv(n),.2)}var uR=ny({attachResizeListener:(e,t)=>Vn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Qr={current:void 0},iy=ny({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Qr.current){let e=new uR({});e.mount(_),e.setOptions({layoutScroll:!0}),Qr.current=e}return Qr.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>_.getComputedStyle(e).position==="fixed"}),oy={pan:{Feature:ME},drag:{Feature:LE,ProjectionNode:iy,MeasureLayout:qg}},fR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function dR(e){let t=fR.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}var hR=4;function Gu(e,t,n=1){tt(n<=hR,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=dR(e);if(!r)return;let o=_.getComputedStyle(t).getPropertyValue(r);if(o){let s=o.trim();return hg(s)?parseFloat(s):s}return Ha(i)?Gu(i,t,n+1):i}function pR(e,{...t},n){let r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{let o=i.get();if(!Ha(o))return;let s=Gu(o,r);s&&i.set(s)});for(let i in t){let o=t[i];if(!Ha(o))continue;let s=Gu(o,r);s&&(t[i]=s,n||(n={}),n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}var mR=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),sy=e=>mR.has(e),vR=e=>Object.keys(e).some(sy),Fa=e=>e===Vi||e===$,Sv=(e,t)=>parseFloat(e.split(", ")[t]),wv=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Sv(i[1],t);{let o=r.match(/^matrix\((.+)\)$/u);return o?Sv(o[1],e):0}},gR=new Set(["x","y","z"]),yR=Ko.filter(e=>!gR.has(e));function bR(e){let t=[];return yR.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}var Oi={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:wv(4,13),y:wv(5,14)};Oi.translateX=Oi.x;Oi.translateY=Oi.y;var xR=(e,t,n)=>{let r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:s}=o,a={};s==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(c=>{a[c]=Oi[c](r,o)}),t.render();let l=t.measureViewportBox();return n.forEach(c=>{let u=t.getValue(c);u&&u.jump(a[c]),e[c]=Oi[c](l,o)}),e},SR=(e,t,n={},r={})=>{t={...t},r={...r};let i=Object.keys(t).filter(sy),o=[],s=!1,a=[];if(i.forEach(l=>{let c=e.getValue(l);if(!e.hasValue(l))return;let u=n[l],f=Lo(u),d=t[l],h;if(Va(d)){let g=d.length,y=d[0]===null?1:0;u=d[y],f=Lo(u);for(let S=y;S=0?_.pageYOffset:null,c=xR(t,e,a);return o.length&&o.forEach(([u,f])=>{e.getValue(u).set(f)}),e.render(),Go&&l!==null&&_.scrollTo({top:l}),{target:c,transitionEnd:r}}else return{target:t,transitionEnd:r}};function wR(e,t,n,r){return vR(t)?SR(e,t,n,r):{target:t,transitionEnd:r}}var CR=(e,t,n,r)=>{let i=pR(e,t,r);return t=i.target,r=i.transitionEnd,wR(e,t,n,r)},ay=class extends _g{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]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},r){let i=fT(n,e||{},this);if(r){bg(this,n,i);let o=CR(this,n,i,t);t=o.transitionEnd,n=o.target}return{transition:e,transitionEnd:t,...n}}};function kR(e){return _.getComputedStyle(e)}var ly=class extends ay{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(Jr.has(t)){let n=xf(t);return n&&n.default||0}else{let n=kR(e),r=(lg(t)?n.getPropertyValue(t):n[t])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Gg(e,t)}build(e,t,n,r){Ff(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Of(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Re(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(e,t,n,r){Dg(e,t,n,r)}},cy=class extends ay{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Jr.has(t)){let n=xf(t);return n&&n.default||0}return t=Vg.has(t)?t:Zu(t),e.getAttribute(t)}measureInstanceViewportBox(){return Te()}scrapeMotionValuesFromProps(e,t){return Hg(e,t,this)}build(e,t,n,r){Lf(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Bg(e,t,n,r)}mount(e){this.isSVGTag=Mf(e.tagName),super.mount(e)}},uy=(e,t)=>If(e)?new cy(t,{enableHardwareAcceleration:!1}):new ly(t,{enableHardwareAcceleration:!0}),fy={layout:{ProjectionNode:iy,MeasureLayout:qg}},TR={...Ef,...$g,...oy,...fy},_t=Lg((e,t)=>zg(e,t,TR,uy));var ER=Lg(zg);function dy(){let e=A(!1);return cr(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function rl(){let e=dy(),[t,n]=Ft(0),r=ce(()=>{e.current&&n(t+1)},[t]);return[ce(()=>q.postRender(r),[r]),t]}function hy(e){return j(()=>()=>e(),[])}var RR=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 PR({children:e,isPresent:t}){let n=Wr(),r=A(null),i=A({width:0,height:0,top:0,left:0}),{nonce:o}=M(Hn);return xt(()=>{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]),le(RR,{isPresent:t,childRef:r,sizeRef:i},rn(e,{ref:r}))}var _u=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s})=>{let a=jn(IR),l=Wr(),c=fe(()=>({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?void 0:[n]);return fe(()=>{a.forEach((u,f)=>a.set(f,!1))},[n]),j(()=>{!n&&!a.size&&r&&r()},[n]),s==="popLayout"&&(e=le(PR,{isPresent:n},e)),le(Ai.Provider,{value:c},e)};function IR(){return new Map}var Gr=e=>e.key||"";function FR(e,t){e.forEach(n=>{let r=Gr(n);t.set(r,n)})}function _R(e){let t=[];return gn.forEach(e,n=>{yn(n)&&t.push(n)}),t}var Df=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:s="sync"})=>{tt(!i,"Replace exitBeforeEnter with mode='wait'");let a=M(jo).forceRender||rl()[0],l=dy(),c=_R(e),u=c,f=A(new Map).current,d=A(u),h=A(new Map).current,g=A(!0);if(cr(()=>{g.current=!1,FR(c,h),d.current=u}),hy(()=>{g.current=!0,h.clear(),f.clear()}),g.current)return le(Ri,null,u.map(m=>le(_u,{key:Gr(m),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:s},m)));u=[...u];let y=d.current.map(Gr),S=c.map(Gr),p=y.length;for(let m=0;m{if(S.indexOf(v)!==-1)return;let x=h.get(v);if(!x)return;let C=y.indexOf(v),w=m;if(!w){let k=()=>{f.delete(v);let E=Array.from(h.keys()).filter(I=>!S.includes(I));if(E.forEach(I=>h.delete(I)),d.current=c.filter(I=>{let P=Gr(I);return P===v||E.includes(P)}),!f.size){if(l.current===!1)return;a(),r&&r()}};w=le(_u,{key:Gr(x),isPresent:!1,onExitComplete:k,custom:t,presenceAffectsLayout:o,mode:s},x),f.set(v,w)}u.splice(C,0,w)}),u=u.map(m=>{let v=m.key;return f.has(v)?m:le(_u,{key:Gr(m),isPresent:!0,presenceAffectsLayout:o,mode:s},m)}),le(Ri,null,f.size?u:u.map(m=>rn(m)))};function py({children:e,isValidProp:t,...n}){t&&Wv(t),n={...M(Hn),...n},n.isStatic=jn(()=>n.isStatic);let r=fe(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return le(Hn.Provider,{value:r},e)}var my=ye(null),LR=e=>!e.isLayoutDirty&&e.willUpdate(!1);function Cv(){let e=new Set,t=new WeakMap,n=()=>e.forEach(LR);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 vy=e=>e===!0,MR=e=>vy(e===!0)||e==="id",gy=({children:e,id:t,inherit:n=!0})=>{let r=M(jo),i=M(my),[o,s]=rl(),a=A(null),l=r.id||i;a.current===null&&(MR(n)&&l&&(t=t?l+"-"+t:l),a.current={id:t,group:vy(n)&&r.group||Cv()});let c=fe(()=>({...a.current,forceRender:o}),[s]);return le(jo.Provider,{value:c},e)};function Cn(e){let t=jn(()=>be(e)),{isStatic:n}=M(Hn);if(n){let[,r]=Ft(e);j(()=>t.on("change",r),[])}return t}var OR=e=>e&&typeof e=="object"&&e.mix,AR=e=>OR(e)?e.mix:void 0;function es(...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=Bi(i,o,{mixer:AR(o[0]),...s});return t?a(r):a}function yy(e,t){let n=Cn(t()),r=()=>n.set(t());return r(),cr(()=>{let i=()=>q.update(r,!1,!0),o=e.map(s=>s.on("change",i));return()=>{o.forEach(s=>s()),ft(r)}}),n}function DR(e){Ho.current=[],e();let t=yy(Ho.current,e);return Ho.current=void 0,t}function dt(e,t,n,r){if(typeof e=="function")return DR(e);let i=typeof t=="function"?t:es(t,n,r);return Array.isArray(e)?kv(e,i):kv([e],([o])=>i(o))}function kv(e,t){let n=jn(()=>[]);return yy(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=de(l.min,l.max,.5);return o===1&&a.layout.max+n>c||o===-1&&a.layout.min+n_t(t)),l=[],c=A(!1);tt(!!i,"Reorder.Group must be provided a values prop");let u={axis:n,registerItem:(f,d)=>{let h=l.findIndex(g=>f===g.value);h!==-1?l[h].layout=d[n]:l.push({value:f,layout:d[n]}),l.sort(zR)},updateOrder:(f,d,h)=>{if(c.current)return;let g=VR(l,f,d,h);l!==g&&(c.current=!0,r(g.map(HR).filter(y=>i.indexOf(y)!==-1)))}};return j(()=>{c.current=!1}),le(a,{...o,ref:s,ignoreStrict:!0},le(by.Provider,{value:u},e))}var P5=je(BR);function HR(e){return e.value}function zR(e,t){return e.layout.min-t.layout.min}function Tv(e,t=0){return Re(e)?e:Cn(t)}function NR({children:e,style:t={},value:n,as:r="li",onDrag:i,layout:o=!0,...s},a){let l=jn(()=>_t(r)),c=M(by),u={x:Tv(t.x),y:Tv(t.y)},f=dt([u.x,u.y],([y,S])=>y||S?1:"unset");tt(!!c,"Reorder.Item must be a child of Reorder.Group");let{axis:d,registerItem:h,updateOrder:g}=c;return le(l,{drag:d,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:f},layout:o,onDrag:(y,S)=>{let{velocity:p}=S;p[d]&&g(n,u[d].get(),p[d]),i&&i(y,S)},onLayoutMeasure:y=>h(n,y),ref:a,ignoreStrict:!0},e)}var F5=je(NR);var xy={renderer:uy,...Ef,...$g},$R={...xy,...oy,...fy};function Vf(e,t={}){let{isStatic:n}=M(Hn),r=A(null),i=Cn(Re(e)?e.get():e),o=()=>{r.current&&r.current.stop()};return xt(()=>i.attach((s,a)=>{if(n)return a(s);let l=r.current;return l&&l.time===0&&l.sample(Ee.delta),o(),r.current=Zr({keyframes:[i.get(),s],velocity:i.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:a}),i.get()},o),[JSON.stringify(t)]),cr(()=>{if(Re(e))return e.on("change",s=>i.set(parseFloat(s)))},[i]),i}function Bf(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(tt(!!t.current,"Scope provided, but no element detected."),i=t.current),n?((r=n[e])!==null&&r!==void 0||(n[e]=i.querySelectorAll(e)),e=n[e]):e=i.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}var Oa=new WeakMap,sr;function jR(e,t){if(t){let{inlineSize:n,blockSize:r}=t[0];return{width:n,height:r}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function WR({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Oa.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return jR(e,n)}})})}function UR(e){e.forEach(WR)}function XR(){typeof ResizeObserver>"u"||(sr=new ResizeObserver(UR))}function YR(e,t){sr||XR();let n=Bf(e);return n.forEach(r=>{let i=Oa.get(r);i||(i=new Set,Oa.set(r,i)),i.add(t),sr?.observe(r)}),()=>{n.forEach(r=>{let i=Oa.get(r);i?.delete(t),i?.size||sr?.unobserve(r)})}}var Aa=new Set,$o;function GR(){$o=()=>{let e={width:_.innerWidth,height:_.innerHeight},t={target:_,size:e,contentSize:e};Aa.forEach(n=>n(t))},_.addEventListener("resize",$o)}function KR(e){return Aa.add(e),$o||GR(),()=>{Aa.delete(e),!Aa.size&&$o&&($o=void 0)}}function qR(e,t){return typeof e=="function"?KR(e):YR(e,t)}var QR=50,Ev=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),ZR=()=>({time:0,x:Ev(),y:Ev()}),JR={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Rv(e,t,n,r){let i=n[t],{length:o,position:s}=JR[t],a=i.current,l=n.time;i.current=e["scroll"+s],i.scrollLength=e["scroll"+o]-e["client"+o],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=lr(0,i.scrollLength,i.current);let c=r-l;i.velocity=c>QR?0:vf(i.current-a,c)}function eP(e,t,n){Rv(e,"x",t,n),Rv(e,"y",t,n),t.time=n}function tP(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){let i=r.getBoundingClientRect();r=r.parentElement;let o=r.getBoundingClientRect();n.x+=i.left-o.left,n.y+=i.top-o.top}else if(r instanceof SVGGraphicsElement){let{x:i,y:o}=r.getBBox();n.x+=i,n.y+=o;let s=null,a=r.parentNode;for(;!s;)a.tagName==="svg"&&(s=a),a=r.parentNode;r=s}else break;return n}var nP={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Ku={start:0,center:.5,end:1};function Pv(e,t,n=0){let r=0;if(Ku[e]!==void 0&&(e=Ku[e]),typeof e=="string"){let i=parseFloat(e);e.endsWith("px")?r=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?r=i/100*document.documentElement.clientWidth:e.endsWith("vh")?r=i/100*document.documentElement.clientHeight:e=i}return typeof e=="number"&&(r=t*e),n+r}var rP=[0,0];function iP(e,t,n,r){let i=Array.isArray(e)?e:rP,o=0,s=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,Ku[e]?e:"0"]),o=Pv(i[0],n,r),s=Pv(i[1],t),o-s}var oP={x:0,y:0};function sP(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function aP(e,t,n){let{offset:r=nP.All}=n,{target:i=e,axis:o="y"}=n,s=o==="y"?"height":"width",a=i!==e?tP(i,e):oP,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:sP(i),c={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let u=!t[o].interpolate,f=r.length;for(let d=0;dlP(e,r.target,n),update:i=>{eP(e,n,i),(r.offset||r.target)&&aP(e,n,r)},notify:()=>t(n)}}var Oo=new WeakMap,Iv=new WeakMap,Lu=new WeakMap,Fv=e=>e===document.documentElement?_:e;function Hi(e,{container:t=document.documentElement,...n}={}){let r=Lu.get(t);r||(r=new Set,Lu.set(t,r));let i=ZR(),o=cP(t,e,i,n);if(r.add(o),!Oo.has(t)){let a=()=>{for(let d of r)d.measure()},l=()=>{for(let d of r)d.update(Ee.timestamp)},c=()=>{for(let d of r)d.notify()},u=()=>{q.read(a,!1,!0),q.read(l,!1,!0),q.update(c,!1,!0)};Oo.set(t,u);let f=Fv(t);_.addEventListener("resize",u,{passive:!0}),t!==document.documentElement&&Iv.set(t,qR(t,u)),f.addEventListener("scroll",u,{passive:!0})}let s=Oo.get(t);return q.read(s,!1,!0),()=>{var a;ft(s);let l=Lu.get(t);if(!l||(l.delete(o),l.size))return;let c=Oo.get(t);Oo.delete(t),c&&(Fv(t).removeEventListener("scroll",c),(a=Iv.get(t))===null||a===void 0||a(),_.removeEventListener("resize",c))}}function _v(e,t){Zo(!!(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}var uP=()=>({scrollX:be(0),scrollY:be(0),scrollXProgress:be(0),scrollYProgress:be(0)});function Sy({container:e,target:t,layoutEffect:n=!0,...r}={}){let i=jn(uP);return(n?cr:j)(()=>(_v("target",t),_v("container",e),Hi(({x:s,y:a})=>{i.scrollX.set(s.current),i.scrollXProgress.set(s.progress),i.scrollY.set(a.current),i.scrollYProgress.set(a.progress)},{...r,container:e?.current||void 0,target:t?.current||void 0})),[e,t,JSON.stringify(r.offset)]),i}function wy(){!Pf.current&&Ig();let[e]=Ft(ja.current);return e}function ei(){let e=wy(),{reducedMotion:t}=M(Hn);return t==="never"?!1:t==="always"?!0:e}function fP(e){e.values.forEach(t=>t.stop())}function Cy(){let e=!1,t=new Set,n={subscribe(r){return t.add(r),()=>void t.delete(r)},start(r,i){tt(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 tt(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(i=>{cT(i,r)})},stop(){t.forEach(r=>{fP(r)})},mount(){return e=!0,()=>{e=!1,n.stop()}}};return n}var ky=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};function dP(e,t){let n,r=()=>{let{currentTime:i}=t,s=(i===null?0:i.value)/100;n!==s&&e(s),n=s};return q.update(r,!0),()=>ft(r)}var hP=kg(()=>_.ScrollTimeline!==void 0),Ty=class{constructor(e){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(hP()&&n.attachTimeline)n.attachTimeline(e);else return n.pause(),dP(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")}stop(){this.runAll("stop")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};function pP(e){return typeof e=="object"&&!Array.isArray(e)}function mP(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=ty(e)?new cy(t,{enableHardwareAcceleration:!1}):new ly(t,{enableHardwareAcceleration:!0});n.mount(e),$n.set(e,n)}function vP(e,t=100){let n=Jo({keyframes:[0,t],...e}),r=Math.min(Vu(n),Du);return{type:"keyframes",ease:i=>n.next(r*i).value/t,duration:wn(r)}}function Lv(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 gP(e,t){return fg(e)?e[ky(0,e.length,t)]:e}function yP(e,t,n){for(let r=0;rt&&i.at{let E=CP(v),{delay:I=0,times:P=gf(E),type:z="keyframes",...L}=x,{ease:Z=t.ease||"easeOut",duration:N}=x,ee=typeof I=="function"?I(w,k):I,Y=E.length;if(Y<=2&&z==="spring"){let Q=100;if(Y===2&&EP(E)){let G=E[1]-E[0];Q=Math.abs(G)}let B={...L};N!==void 0&&(B.duration=Bn(N));let te=vP(B,Q);Z=te.ease,N=te.duration}N??(N=i);let V=u+ee,W=V+N;P.length===1&&P[0]===0&&(P[1]=1);let D=P.length-E.length;D>0&&dg(P,D),E.length===1&&E.unshift(null),bP(C,E,Z,P,V,W),p=Math.max(ee+N,p),f=Math.max(W,f)};if(Re(g)){let v=Mv(g,s);m(y,S,Ov("default",v))}else{let v=Bf(g,r,a),x=v.length;for(let C=0;C{for(let g in d){let y=d[g];y.sort(xP);let S=[],p=[],m=[];for(let x=0;xtypeof e=="number",EP=e=>e.every(TP);function Ey(e,t,n,r){let i=Bf(e,r),o=i.length;tt(!!o,"No valid element provided.");let s=[];for(let a=0;aArray.isArray(e)&&Array.isArray(e[0]);function PP(e,t,n){let r=[];return wP(e,t,n).forEach(({keyframes:o,transition:s},a)=>{let l;Re(a)?l=Af(a,o.default,s.default):l=Ey(a,o,s),r.push(l)}),new Ty(r)}var Ry=e=>{function t(n,r,i){let o;return RP(n)?o=PP(n,r,e):pP(r)?o=Ey(n,r,i,e):o=Af(n,r,i),e&&e.animations.push(o),o}return t},zi=Ry();function Py(){let e=jn(Cy);return cr(e.mount,[]),e}var Iy=Py;function Hf(e){return e!==null&&typeof e=="object"&&nf in e}function Fy(e){if(Hf(e))return e[nf]}function zf(){return IP}function IP(e){Qr.current&&(Qr.current.isUpdating=!1,Qr.current.blockUpdate(),e&&e())}function _y(){let[e,t]=rl(),n=zf(),r=A();return j(()=>{q.postRender(()=>q.postRender(()=>{t===r.current&&(Na.current=!1)}))},[t]),i=>{n(()=>{Na.current=!0,e(),i(),r.current=t+1})}}function Ly(){return ce(()=>{let t=Qr.current;t&&t.resetTree()},[])}var Av=()=>({});var $5=qa({scrapeMotionValuesFromProps:Av,createRenderState:Av});var FP=Ao.reduce((e,t)=>(e[t]=n=>ft(n),e),{});var _P="default"in ke?b:ke,Ni={},LP=_P,MP=Symbol.for("react.element"),OP=Symbol.for("react.fragment"),AP=Object.prototype.hasOwnProperty,DP=LP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,VP={key:!0,ref:!0,__self:!0,__source:!0};function My(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)AP.call(t,r)&&!VP.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:MP,type:e,key:o,ref:s,props:i,_owner:DP.current}}Ni.Fragment=OP;Ni.jsx=My;Ni.jsxs=My;var He=Ni.Fragment,T=Ni.jsx,oe=Ni.jsxs;var y_={};pu(y_,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>s_,createPortal:()=>a_,createRoot:()=>l_,default:()=>qx,findDOMNode:()=>c_,flushSync:()=>u_,hydrate:()=>f_,hydrateRoot:()=>d_,render:()=>h_,unmountComponentAtNode:()=>p_,unstable_batchedUpdates:()=>m_,unstable_renderSubtreeIntoContainer:()=>v_,version:()=>g_});var cl={};pu(cl,{default:()=>U,unstable_IdlePriority:()=>zP,unstable_ImmediatePriority:()=>NP,unstable_LowPriority:()=>$P,unstable_NormalPriority:()=>jP,unstable_Profiling:()=>WP,unstable_UserBlockingPriority:()=>UP,unstable_cancelCallback:()=>XP,unstable_continueExecution:()=>YP,unstable_forceFrameRate:()=>GP,unstable_getCurrentPriorityLevel:()=>KP,unstable_getFirstCallbackNode:()=>qP,unstable_next:()=>QP,unstable_now:()=>HP,unstable_pauseExecution:()=>ZP,unstable_requestPaint:()=>JP,unstable_runWithPriority:()=>eI,unstable_scheduleCallback:()=>tI,unstable_shouldYield:()=>nI,unstable_wrapCallback:()=>rI});var U={};function Wf(e,t){var n=e.length;e.push(t);e:for(;0>>1,i=e[r];if(!(0>>1;ril(a,n))lil(c,a)?(e[r]=c,e[l]=n,r=l):(e[r]=a,e[s]=n,r=s);else{if(!(lil(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function il(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(Oy=performance,U.unstable_now=function(){return Oy.now()}):(Nf=Date,Ay=Nf.now(),U.unstable_now=function(){return Nf.now()-Ay});var Oy,Nf,Ay,kn=[],fr=[],BP=1,Yt=null,nt=3,al=!1,ti=!1,ns=!1,By=typeof setTimeout=="function"?setTimeout:null,Hy=typeof clearTimeout=="function"?clearTimeout:null,Dy=typeof setImmediate<"u"?setImmediate:null;typeof Ge<"u"&&Ge.scheduling!==void 0&&Ge.scheduling.isInputPending!==void 0&&Ge.scheduling.isInputPending.bind(Ge.scheduling);function Uf(e){for(var t=sn(fr);t!==null;){if(t.callback===null)sl(fr);else{if(!(t.startTime<=e))break;sl(fr),t.sortIndex=t.expirationTime,Wf(kn,t)}t=sn(fr)}}function Xf(e){if(ns=!1,Uf(e),!ti)if(sn(kn)!==null)ti=!0,Gf(Yf);else{var t=sn(fr);t!==null&&Kf(Xf,t.startTime-e)}}function Yf(e,t){ti=!1,ns&&(ns=!1,Hy(rs),rs=-1),al=!0;var n=nt;try{for(Uf(t),Yt=sn(kn);Yt!==null&&(!(Yt.expirationTime>t)||e&&!$y());){var r=Yt.callback;if(typeof r=="function"){Yt.callback=null,nt=Yt.priorityLevel;var i=r(Yt.expirationTime<=t);t=U.unstable_now(),typeof i=="function"?Yt.callback=i:Yt===sn(kn)&&sl(kn),Uf(t)}else sl(kn);Yt=sn(kn)}if(Yt!==null)var o=!0;else{var s=sn(fr);s!==null&&Kf(Xf,s.startTime-t),o=!1}return o}finally{Yt=null,nt=n,al=!1}}var ll=!1,ol=null,rs=-1,zy=5,Ny=-1;function $y(){return!(U.unstable_now()-Nye||125r?(e.sortIndex=n,Wf(fr,e),sn(kn)===null&&e===sn(fr)&&(ns?(Hy(rs),rs=-1):ns=!0,Kf(Xf,n-r))):(e.sortIndex=i,Wf(kn,e),ti||al||(ti=!0,Gf(Yf))),e};U.unstable_shouldYield=$y;U.unstable_wrapCallback=function(e){var t=nt;return function(){var n=nt;nt=t;try{return e.apply(this,arguments)}finally{nt=n}}};var HP=U.unstable_now,zP=U.unstable_IdlePriority,NP=U.unstable_ImmediatePriority,$P=U.unstable_LowPriority,jP=U.unstable_NormalPriority,WP=U.unstable_Profiling,UP=U.unstable_UserBlockingPriority,XP=U.unstable_cancelCallback,YP=U.unstable_continueExecution,GP=U.unstable_forceFrameRate,KP=U.unstable_getCurrentPriorityLevel,qP=U.unstable_getFirstCallbackNode,QP=U.unstable_next,ZP=U.unstable_pauseExecution,JP=U.unstable_requestPaint,eI=U.unstable_runWithPriority,tI=U.unstable_scheduleCallback,nI=U.unstable_shouldYield,rI=U.unstable_wrapCallback;var iI="default"in ke?b:ke,oI="default"in cl?U:cl,Dt={},K0=iI,At=oI;function F(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof _.document>"u"||typeof _.document.createElement>"u"),yd=Object.prototype.hasOwnProperty,sI=/^[: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]*$/,jy={},Wy={};function aI(e){return yd.call(Wy,e)?!0:yd.call(jy,e)?!1:sI.test(e)?Wy[e]=!0:(jy[e]=!0,!1)}function lI(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 cI(e,t,n,r){if(t===null||typeof t>"u"||lI(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 mt(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 Ze={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ze[e]=new mt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ze[t]=new mt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ze[e]=new mt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ze[e]=new mt(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){Ze[e]=new mt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ze[e]=new mt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ze[e]=new mt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ze[e]=new mt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ze[e]=new mt(e,5,!1,e.toLowerCase(),null,!1,!1)});var ch=/[\-:]([a-z])/g;function uh(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(ch,uh);Ze[t]=new mt(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(ch,uh);Ze[t]=new mt(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(ch,uh);Ze[t]=new mt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ze[e]=new mt(e,1,!1,e.toLowerCase(),null,!1,!1)});Ze.xlinkHref=new mt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ze[e]=new mt(e,1,!1,e.toLowerCase(),null,!0,!0)});function fh(e,t,n,r){var i=Ze.hasOwnProperty(t)?Ze[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:"")?ds(e):""}function uI(e){switch(e.tag){case 5:return ds(e.type);case 16:return ds("Lazy");case 13:return ds("Suspense");case 19:return ds("SuspenseList");case 0:case 2:case 15:return e=Zf(e.type,!1),e;case 11:return e=Zf(e.type.render,!1),e;case 1:return e=Zf(e.type,!0),e;default:return""}}function wd(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 Ui:return"Fragment";case Wi:return"Portal";case bd:return"Profiler";case dh:return"StrictMode";case xd:return"Suspense";case Sd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Z0:return(e.displayName||"Context")+".Consumer";case Q0:return(e._context.displayName||"Context")+".Provider";case hh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ph:return t=e.displayName||null,t!==null?t:wd(e.type)||"Memo";case hr:t=e._payload,e=e._init;try{return wd(e(t))}catch{}}return null}function fI(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 wd(t);case 8:return t===dh?"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 Rr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function eb(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function dI(e){var t=eb(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 fl(e){e._valueTracker||(e._valueTracker=dI(e))}function tb(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=eb(e)?e.checked?"true":"false":e.value),e=r,e!==n&&(t.setValue(e),!0)}function Hl(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 Cd(e,t){var n=t.checked;return we({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xy(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Rr(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 nb(e,t){t=t.checked,t!=null&&fh(e,"checked",t,!1)}function kd(e,t){nb(e,t);var n=Rr(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")?Td(e,t.type,n):t.hasOwnProperty("defaultValue")&&Td(e,t.type,Rr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Yy(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 Td(e,t,n){t==="number"&&Hl(e.ownerDocument)===e||(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var hs=Array.isArray;function no(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=dl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Es(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var vs={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},hI=["Webkit","ms","Moz","O"];Object.keys(vs).forEach(function(e){hI.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vs[t]=vs[e]})});function sb(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||vs.hasOwnProperty(e)&&vs[e]?(""+t).trim():t+"px"}function ab(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=sb(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var pI=we({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 Pd(e,t){if(t){if(pI[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function Id(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 Fd=null;function mh(e){return e=e.target||e.srcElement||_,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _d=null,ro=null,io=null;function qy(e){if(e=Ws(e)){if(typeof _d!="function")throw Error(F(280));var t=e.stateNode;t&&(t=hc(t),_d(e.stateNode,e.type,t))}}function lb(e){ro?io?io.push(e):io=[e]:ro=e}function cb(){if(ro){var e=ro,t=io;if(io=ro=null,qy(e),t)for(e=0;e>>=0,e===0?32:31-(TI(e)/EI|0)|0}var hl=64,pl=4194304;function ps(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 jl(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=ps(a):(o&=s,o!==0&&(r=ps(o)))}else s=n&~i,s!==0?r=ps(s):o!==0&&(r=ps(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 $s(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-fn(t),e[t]=n}function FI(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=ys),o0=String.fromCharCode(32),s0=!1;function Ib(e,t){switch(e){case"keyup":return iF.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fb(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xi=!1;function sF(e,t){switch(e){case"compositionend":return Fb(t);case"keypress":return t.which!==32?null:(s0=!0,o0);case"textInput":return e=t.data,e===o0&&s0?null:e;default:return null}}function aF(e,t){if(Xi)return e==="compositionend"||!Ch&&Ib(e,t)?(e=Rb(),Fl=xh=gr=null,Xi=!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=c0(n)}}function Ob(e,t){return!(!e||!t)&&(e===t||(!e||e.nodeType!==3)&&(t&&t.nodeType===3?Ob(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ab(){for(var e=_,t=Hl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(!n)break;e=t.contentWindow,t=Hl(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 vF(e){var t=Ab(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ob(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||_,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=u0(n,o);var s=u0(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,Yi=null,Vd=null,xs=null,Bd=!1;function f0(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Bd||Yi==null||Yi!==Hl(r)||(r=Yi,"selectionStart"in r&&kh(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||_).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),xs&&Ls(xs,r)||(xs=r,r=Xl(Vd,"onSelect"),0qi||(e.current=Wd[qi],Wd[qi]=null,qi--)}function ue(e,t){qi++,Wd[qi]=e.current,e.current=t}var Pr={},st=Fr(Pr),Tt=Fr(!1),ci=Pr;function co(e,t){var n=e.type.contextTypes;if(!n)return Pr;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 Et(e){return e=e.childContextTypes,e!=null}function Gl(){pe(Tt),pe(st)}function x0(e,t,n){if(st.current!==Pr)throw Error(F(168));ue(st,t),ue(Tt,n)}function Wb(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(F(108,fI(e)||"Unknown",i));return we({},n,r)}function Kl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pr,ci=st.current,ue(st,e),ue(Tt,Tt.current),!0}function S0(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=Wb(e,t,ci),r.__reactInternalMemoizedMergedChildContext=e,pe(Tt),pe(st),ue(st,e)):pe(Tt),ue(Tt,n)}var Un=null,pc=!1,cd=!1;function Ub(e){Un===null?Un=[e]:Un.push(e)}function EF(e){pc=!0,Ub(e)}function _r(){if(!cd&&Un!==null){cd=!0;var e=0,t=se;try{var n=Un;for(se=1;e>=s,i-=s,Xn=1<<32-fn(t)+i|n<E?(I=k,k=null):I=k.sibling;var P=d(p,k,v[E],x);if(P===null){k===null&&(k=I);break}e&&k&&P.alternate===null&&t(p,k),m=o(P,m,E),w===null?C=P:w.sibling=P,w=P,k=I}if(E===v.length)return n(p,k),ve&&ni(p,E),C;if(k===null){for(;EE?(I=k,k=null):I=k.sibling;var z=d(p,k,P.value,x);if(z===null){k===null&&(k=I);break}e&&k&&z.alternate===null&&t(p,k),m=o(z,m,E),w===null?C=z:w.sibling=z,w=z,k=I}if(P.done)return n(p,k),ve&&ni(p,E),C;if(k===null){for(;!P.done;E++,P=v.next())P=f(p,P.value,x),P!==null&&(m=o(P,m,E),w===null?C=P:w.sibling=P,w=P);return ve&&ni(p,E),C}for(k=r(p,k);!P.done;E++,P=v.next())P=h(k,p,E,P.value,x),P!==null&&(e&&P.alternate!==null&&k.delete(P.key===null?E:P.key),m=o(P,m,E),w===null?C=P:w.sibling=P,w=P);return e&&k.forEach(function(L){return t(p,L)}),ve&&ni(p,E),C}function S(p,m,v,x){if(typeof v=="object"&&v!==null&&v.type===Ui&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case ul:e:{for(var C=v.key,w=m;w!==null;){if(w.key===C){if(C=v.type,C===Ui){if(w.tag===7){n(p,w.sibling),m=i(w,v.props.children),m.return=p,p=m;break e}}else if(w.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===hr&&P0(C)===w.type){n(p,w.sibling),m=i(w,v.props),m.ref=ls(p,w,v),m.return=p,p=m;break e}n(p,w);break}t(p,w),w=w.sibling}v.type===Ui?(m=li(v.props.children,p.mode,x,v.key),m.return=p,p=m):(x=Bl(v.type,v.key,v.props,null,p.mode,x),x.ref=ls(p,m,v),x.return=p,p=x)}return s(p);case Wi:e:{for(w=v.key;m!==null;){if(m.key===w){if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(p,m.sibling),m=i(m,v.children||[]),m.return=p,p=m;break e}n(p,m);break}t(p,m),m=m.sibling}m=gd(v,p.mode,x),m.return=p,p=m}return s(p);case hr:return w=v._init,S(p,m,w(v._payload),x)}if(hs(v))return g(p,m,v,x);if(is(v))return y(p,m,v,x);Tl(p,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(p,m.sibling),m=i(m,v),m.return=p,p=m):(n(p,m),m=vd(v,p.mode,x),m.return=p,p=m),s(p)):n(p,m)}return S}var fo=Jb(!0),ex=Jb(!1),Us={},In=Fr(Us),Ds=Fr(Us),Vs=Fr(Us);function si(e){if(e===Us)throw Error(F(174));return e}function Mh(e,t){switch(ue(Vs,t),ue(Ds,e),ue(In,Us),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Rd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Rd(t,e)}pe(In),ue(In,t)}function ho(){pe(In),pe(Ds),pe(Vs)}function tx(e){si(Vs.current);var t=si(In.current),n=Rd(t,e.type);t!==n&&(ue(Ds,e),ue(In,n))}function Oh(e){Ds.current===e&&(pe(In),pe(Ds))}var xe=Fr(0);function tc(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 ud=[];function Ah(){for(var e=0;en?n:4,e(!0);var r=fd.transition;fd.transition={};try{e(!1),t()}finally{se=n,fd.transition=r}}function gx(){return Jt().memoizedState}function FF(e,t,n){var r=Tr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},yx(e))bx(t,n);else if(n=Kb(e,t,n,r),n!==null){var i=pt();dn(n,e,r,i),xx(n,t,r)}}function _F(e,t,n){var r=Tr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(yx(e))bx(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,hn(a,s)){var l=t.interleaved;l===null?(i.next=i,_h(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}n=Kb(e,t,i,r),n!==null&&(i=pt(),dn(n,e,r,i),xx(n,t,r))}}function yx(e){var t=e.alternate;return e===Se||t!==null&&t===Se}function bx(e,t){Ss=nc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xx(e,t,n){if(4194240&n){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,gh(e,n)}}var rc={readContext:Zt,useCallback:rt,useContext:rt,useEffect:rt,useImperativeHandle:rt,useInsertionEffect:rt,useLayoutEffect:rt,useMemo:rt,useReducer:rt,useRef:rt,useState:rt,useDebugValue:rt,useDeferredValue:rt,useTransition:rt,useMutableSource:rt,useSyncExternalStore:rt,useId:rt,unstable_isNewReconciler:!1},LF={readContext:Zt,useCallback:function(e,t){return En().memoizedState=[e,t===void 0?null:t],e},useContext:Zt,useEffect:F0,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ol(4194308,4,dx.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ol(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ol(4,2,e,t)},useMemo:function(e,t){var n=En();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=En();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=FF.bind(null,Se,e),[r.memoizedState,e]},useRef:function(e){var t=En();return e={current:e},t.memoizedState=e},useState:I0,useDebugValue:zh,useDeferredValue:function(e){return En().memoizedState=e},useTransition:function(){var e=I0(!1),t=e[0];return e=IF.bind(null,e[1]),En().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Se,i=En();if(ve){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),Ue===null)throw Error(F(349));30&fi||ix(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,F0(sx.bind(null,r,o,e),[e]),r.flags|=2048,zs(9,ox.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=En(),t=Ue.identifierPrefix;if(ve){var n=Yn,r=Xn;n=(r&~(1<<32-fn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Bs++,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[Rn]=t,e[As]=r,Ix(e,t,!1,!1),t.stateNode=e;e:{switch(s=Id(n,r),n){case"dialog":he("cancel",e),he("close",e),i=r;break;case"iframe":case"object":case"embed":he("load",e),i=r;break;case"video":case"audio":for(i=0;imo&&(t.flags|=128,r=!0,cs(o,!1),t.lanes=4194304)}else{if(!r)if(e=tc(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),cs(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ve)return it(t),null}else 2*Me()-o.renderingStartTime>mo&&n!==1073741824&&(t.flags|=128,r=!0,cs(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=Me(),t.sibling=null,n=xe.current,ue(xe,r?1&n|2:1&n),t):(it(t),null);case 22:case 23:return Xh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&1&t.mode?1073741824&Lt&&(it(t),6&t.subtreeFlags&&(t.flags|=8192)):it(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function zF(e,t){switch(Eh(t),t.tag){case 1:return Et(t.type)&&Gl(),e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 3:return ho(),pe(Tt),pe(st),Ah(),e=t.flags,65536&e&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Oh(t),null;case 13:if(pe(xe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));uo()}return e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 19:return pe(xe),null;case 4:return ho(),null;case 10:return Fh(t.type._context),null;case 22:case 23:return Xh(),null;case 24:return null;default:return null}}var Rl=!1,ot=!1,NF=typeof WeakSet=="function"?WeakSet:Set,O=null;function eo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Pe(e,t,r)}else n.current=null}function Lx(e,t,n){try{n()}catch(r){Pe(e,t,r)}}var H0=!1;function $F(e,t){if(Hd=Wl,e=Ab(),kh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||_;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 h;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),(h=f.firstChild)!==null;)d=f,f=h;for(;;){if(f===e)break t;if(d===n&&++c===i&&(a=s),d===o&&++u===r&&(l=s),(h=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(zd={focusedElem:e,selectionRange:n},Wl=!1,O=t;O!==null;)if(t=O,e=t.child,(1028&t.subtreeFlags)!==0&&e!==null)e.return=t,O=e;else for(;O!==null;){t=O;try{var g=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,S=g.memoizedState,p=t.stateNode,m=p.getSnapshotBeforeUpdate(t.elementType===t.type?y:ln(t.type,y),S);p.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(x){Pe(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,O=e;break}O=t.return}return g=H0,H0=!1,g}function ws(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&&Lx(t,n,o)}i=i.next}while(i!==r)}}function gc(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 nh(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 Mx(e){var t=e.alternate;t!==null&&(e.alternate=null,Mx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Rn],delete t[As],delete t[jd],delete t[kF],delete t[TF])),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 Ox(e){return e.tag===5||e.tag===3||e.tag===4}function z0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ox(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 rh(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=Yl));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}function ih(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(ih(e,t,n),e=e.sibling;e!==null;)ih(e,t,n),e=e.sibling}var qe=null,cn=!1;function dr(e,t,n){for(n=n.child;n!==null;)Ax(e,t,n),n=n.sibling}function Ax(e,t,n){if(Pn&&typeof Pn.onCommitFiberUnmount=="function")try{Pn.onCommitFiberUnmount(cc,n)}catch{}switch(n.tag){case 5:ot||eo(n,t);case 6:var r=qe,i=cn;qe=null,dr(e,t,n),qe=r,cn=i,qe!==null&&(cn?(e=qe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):qe.removeChild(n.stateNode));break;case 18:qe!==null&&(cn?(e=qe,n=n.stateNode,e.nodeType===8?ld(e.parentNode,n):e.nodeType===1&&ld(e,n),Fs(e)):ld(qe,n.stateNode));break;case 4:r=qe,i=cn,qe=n.stateNode.containerInfo,cn=!0,dr(e,t,n),qe=r,cn=i;break;case 0:case 11:case 14:case 15:if(!ot&&(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)&&Lx(n,t,s),i=i.next}while(i!==r)}dr(e,t,n);break;case 1:if(!ot&&(eo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Pe(n,t,a)}dr(e,t,n);break;case 21:dr(e,t,n);break;case 22:1&n.mode?(ot=(r=ot)||n.memoizedState!==null,dr(e,t,n),ot=r):dr(e,t,n);break;default:dr(e,t,n)}}function N0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new NF),t.forEach(function(r){var i=QF.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function an(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Me()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*WF(r/1960))-r,10e?16:e,yr===null)var r=!1;else{if(e=yr,yr=null,sc=0,6&re)throw Error(F(331));var i=re;for(re|=4,O=e.current;O!==null;){var o=O,s=o.child;if(16&O.flags){var a=o.deletions;if(a!==null){for(var l=0;lMe()-Wh?ai(e,0):jh|=n),Rt(e,t)}function jx(e,t){t===0&&(1&e.mode?(t=pl,pl<<=1,!(130023424&pl)&&(pl=4194304)):t=1);var n=pt();e=Qn(e,t),e!==null&&($s(e,t,n),Rt(e,n))}function qF(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),jx(e,n)}function QF(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(F(314))}r!==null&&r.delete(t),jx(e,n)}var Wx;Wx=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Tt.current)kt=!0;else{if(!(e.lanes&n)&&!(128&t.flags))return kt=!1,BF(e,t,n);kt=(131072&e.flags)!==0}else kt=!1,ve&&1048576&t.flags&&Xb(t,Ql,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Al(e,t),e=t.pendingProps;var i=co(t,st.current);so(t,n),i=Vh(null,t,r,e,i,n);var o=Bh();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,Et(r)?(o=!0,Kl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Lh(t),i.updater=mc,t.stateNode=i,i._reactInternals=t,Kd(t,r,e,n),t=Zd(null,t,r,!0,o,n)):(t.tag=0,ve&&o&&Th(t),ht(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Al(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=JF(r),e=ln(r,e),i){case 0:t=Qd(null,t,r,e,n);break e;case 1:t=D0(null,t,r,e,n);break e;case 11:t=O0(null,t,r,e,n);break e;case 14:t=A0(null,t,r,ln(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ln(r,i),Qd(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ln(r,i),D0(e,t,r,i,n);case 3:e:{if(Ex(t),e===null)throw Error(F(387));r=t.pendingProps,o=t.memoizedState,i=o.element,qb(e,t),ec(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=po(Error(F(423)),t),t=V0(e,t,r,n,i);break e}if(r!==i){i=po(Error(F(424)),t),t=V0(e,t,r,n,i);break e}for(Mt=wr(t.stateNode.containerInfo.firstChild),Ot=t,ve=!0,un=null,n=ex(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(uo(),r===i){t=Zn(e,t,n);break e}ht(e,t,r,n)}t=t.child}return t;case 5:return tx(t),e===null&&Xd(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Nd(r,i)?s=null:o!==null&&Nd(r,o)&&(t.flags|=32),Tx(e,t),ht(e,t,s,n),t.child;case 6:return e===null&&Xd(t),null;case 13:return Rx(e,t,n);case 4:return Mh(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=fo(t,null,r,n):ht(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ln(r,i),O0(e,t,r,i,n);case 7:return ht(e,t,t.pendingProps,n),t.child;case 8:return ht(e,t,t.pendingProps.children,n),t.child;case 12:return ht(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,ue(Zl,r._currentValue),r._currentValue=s,o!==null)if(hn(o.value,s)){if(o.children===i.children&&!Tt.current){t=Zn(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=Gn(-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),Yd(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(F(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Yd(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}ht(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,so(t,n),i=Zt(i),r=r(i),t.flags|=1,ht(e,t,r,n),t.child;case 14:return r=t.type,i=ln(r,t.pendingProps),i=ln(r.type,i),A0(e,t,r,i,n);case 15:return Cx(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ln(r,i),Al(e,t),t.tag=1,Et(r)?(e=!0,Kl(t)):e=!1,so(t,n),Zb(t,r,i),Kd(t,r,i,n),Zd(null,t,r,!0,e,n);case 19:return Px(e,t,n);case 22:return kx(e,t,n)}throw Error(F(156,t.tag))};function Ux(e,t){return vb(e,t)}function ZF(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 qt(e,t,n,r){return new ZF(e,t,n,r)}function Gh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function JF(e){if(typeof e=="function")return Gh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===hh)return 11;if(e===ph)return 14}return 2}function Er(e,t){var n=e.alternate;return n===null?(n=qt(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 Bl(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Gh(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Ui:return li(n.children,i,o,t);case dh:s=8,i|=8;break;case bd:return e=qt(12,n,t,2|i),e.elementType=bd,e.lanes=o,e;case xd:return e=qt(13,n,t,i),e.elementType=xd,e.lanes=o,e;case Sd:return e=qt(19,n,t,i),e.elementType=Sd,e.lanes=o,e;case J0:return bc(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Q0:s=10;break e;case Z0:s=9;break e;case hh:s=11;break e;case ph:s=14;break e;case hr:s=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=qt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function li(e,t,n,r){return e=qt(7,e,r,t),e.lanes=n,e}function bc(e,t,n,r){return e=qt(22,e,r,t),e.elementType=J0,e.lanes=n,e.stateNode={isHidden:!1},e}function vd(e,t,n){return e=qt(6,e,null,t),e.lanes=n,e}function gd(e,t,n){return t=qt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function e_(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=ed(0),this.expirationTimes=ed(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ed(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Kh(e,t,n,r,i,o,s,a,l){return e=new e_(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=qt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Lh(o),e}function t_(e,t,n){var r=3n.Hsluv.epsilon?s:i/n.Hsluv.kappa,l=0;l<3;)for(var c=l++,u=n.Hsluv.m[c][0],f=n.Hsluv.m[c][1],d=n.Hsluv.m[c][2],h=0;h<2;){var g=h++,y=(284517*u-94839*d)*a,S=(838422*d+769860*f+731718*u)*i*a-769860*g*i,p=(632260*d-126452*f)*a+126452*g;o.push({slope:y/p,intercept:S/p})}return o},n.Hsluv.maxSafeChromaForL=function(i){for(var o=n.Hsluv.getBounds(i),s=1/0,a=0;a=0&&(l=Math.min(l,f))}return l},n.Hsluv.dotProduct=function(i,o){for(var s=0,a=0,l=i.length;a.04045?Math.pow((i+.055)/1.055,2.4):i/12.92},n.Hsluv.xyzToRgb=function(i){return[n.Hsluv.fromLinear(n.Hsluv.dotProduct(n.Hsluv.m[0],i)),n.Hsluv.fromLinear(n.Hsluv.dotProduct(n.Hsluv.m[1],i)),n.Hsluv.fromLinear(n.Hsluv.dotProduct(n.Hsluv.m[2],i))]},n.Hsluv.rgbToXyz=function(i){var o=[n.Hsluv.toLinear(i[0]),n.Hsluv.toLinear(i[1]),n.Hsluv.toLinear(i[2])];return[n.Hsluv.dotProduct(n.Hsluv.minv[0],o),n.Hsluv.dotProduct(n.Hsluv.minv[1],o),n.Hsluv.dotProduct(n.Hsluv.minv[2],o)]},n.Hsluv.yToL=function(i){return i<=n.Hsluv.epsilon?i/n.Hsluv.refY*n.Hsluv.kappa:116*Math.pow(i/n.Hsluv.refY,.3333333333333333)-16},n.Hsluv.lToY=function(i){return i<=8?n.Hsluv.refY*i/n.Hsluv.kappa:n.Hsluv.refY*Math.pow((i+16)/116,3)},n.Hsluv.xyzToLuv=function(i){var o=i[0],s=i[1],a=i[2],l=o+15*s+3*a,c=4*o,u=9*s;l!=0?(c/=l,u/=l):(c=NaN,u=NaN);var f=n.Hsluv.yToL(s);if(f==0)return[0,0,0];var d=13*f*(c-n.Hsluv.refU),h=13*f*(u-n.Hsluv.refV);return[f,d,h]},n.Hsluv.luvToXyz=function(i){var o=i[0],s=i[1],a=i[2];if(o==0)return[0,0,0];var l=s/(13*o)+n.Hsluv.refU,c=a/(13*o)+n.Hsluv.refV,u=n.Hsluv.lToY(o),f=0-9*u*l/((l-4)*c-l*c),d=(9*u-15*c*u-c*f)/(3*c);return[f,u,d]},n.Hsluv.luvToLch=function(i){var o=i[0],s=i[1],a=i[2],l=Math.sqrt(s*s+a*a),c;if(l<1e-8)c=0;else{var u=Math.atan2(a,s);c=u*180/Math.PI,c<0&&(c=360+c)}return[o,l,c]},n.Hsluv.lchToLuv=function(i){var o=i[0],s=i[1],a=i[2],l=a/360*2*Math.PI,c=Math.cos(l)*s,u=Math.sin(l)*s;return[o,c,u]},n.Hsluv.hsluvToLch=function(i){var o=i[0],s=i[1],a=i[2];if(a>99.9999999)return[100,0,o];if(a<1e-8)return[0,0,o];var l=n.Hsluv.maxChromaForLH(a,o),c=l/100*s;return[a,c,o]},n.Hsluv.lchToHsluv=function(i){var o=i[0],s=i[1],a=i[2];if(o>99.9999999)return[a,0,100];if(o<1e-8)return[a,0,0];var l=n.Hsluv.maxChromaForLH(o,a),c=s/l*100;return[a,c,o]},n.Hsluv.hpluvToLch=function(i){var o=i[0],s=i[1],a=i[2];if(a>99.9999999)return[100,0,o];if(a<1e-8)return[0,0,o];var l=n.Hsluv.maxSafeChromaForL(a),c=l/100*s;return[a,c,o]},n.Hsluv.lchToHpluv=function(i){var o=i[0],s=i[1],a=i[2];if(o>99.9999999)return[a,0,100];if(o<1e-8)return[a,0,0];var l=n.Hsluv.maxSafeChromaForL(o),c=s/l*100;return[a,c,o]},n.Hsluv.rgbToHex=function(i){for(var o="#",s=0;s<3;){var a=s++,l=i[a],c=Math.round(l*255),u=c%16,f=(c-u)/16|0;o+=n.Hsluv.hexChars.charAt(f)+n.Hsluv.hexChars.charAt(u)}return o},n.Hsluv.hexToRgb=function(i){i=i.toLowerCase();for(var o=[],s=0;s<3;){var a=s++,l=n.Hsluv.hexChars.indexOf(i.charAt(a*2+1)),c=n.Hsluv.hexChars.indexOf(i.charAt(a*2+2)),u=l*16+c;o.push(u/255)}return o},n.Hsluv.lchToRgb=function(i){return n.Hsluv.xyzToRgb(n.Hsluv.luvToXyz(n.Hsluv.lchToLuv(i)))},n.Hsluv.rgbToLch=function(i){return n.Hsluv.luvToLch(n.Hsluv.xyzToLuv(n.Hsluv.rgbToXyz(i)))},n.Hsluv.hsluvToRgb=function(i){return n.Hsluv.lchToRgb(n.Hsluv.hsluvToLch(i))},n.Hsluv.rgbToHsluv=function(i){return n.Hsluv.lchToHsluv(n.Hsluv.rgbToLch(i))},n.Hsluv.hpluvToRgb=function(i){return n.Hsluv.lchToRgb(n.Hsluv.hpluvToLch(i))},n.Hsluv.rgbToHpluv=function(i){return n.Hsluv.lchToHpluv(n.Hsluv.rgbToLch(i))},n.Hsluv.hsluvToHex=function(i){return n.Hsluv.rgbToHex(n.Hsluv.hsluvToRgb(i))},n.Hsluv.hpluvToHex=function(i){return n.Hsluv.rgbToHex(n.Hsluv.hpluvToRgb(i))},n.Hsluv.hexToHsluv=function(i){return n.Hsluv.rgbToHsluv(n.Hsluv.hexToRgb(i))},n.Hsluv.hexToHpluv=function(i){return n.Hsluv.rgbToHpluv(n.Hsluv.hexToRgb(i))},n.Hsluv.m=[[3.240969941904521,-1.537383177570093,-.498610760293],[-.96924363628087,1.87596750150772,.041555057407175],[.055630079696993,-.20397695888897,1.056971514242878]],n.Hsluv.minv=[[.41239079926595,.35758433938387,.18048078840183],[.21263900587151,.71516867876775,.072192315360733],[.019330818715591,.11919477979462,.95053215224966]],n.Hsluv.refY=1,n.Hsluv.refU=.19783000664283,n.Hsluv.refV=.46831999493879,n.Hsluv.kappa=903.2962962,n.Hsluv.epsilon=.0088564516,n.Hsluv.hexChars="0123456789abcdef";var r={hsluvToRgb:n.Hsluv.hsluvToRgb,rgbToHsluv:n.Hsluv.rgbToHsluv,hpluvToRgb:n.Hsluv.hpluvToRgb,rgbToHpluv:n.Hsluv.rgbToHpluv,hsluvToHex:n.Hsluv.hsluvToHex,hexToHsluv:n.Hsluv.hexToHsluv,hpluvToHex:n.Hsluv.hpluvToHex,hexToHpluv:n.Hsluv.hexToHpluv,lchToHpluv:n.Hsluv.lchToHpluv,hpluvToLch:n.Hsluv.hpluvToLch,lchToHsluv:n.Hsluv.lchToHsluv,hsluvToLch:n.Hsluv.hsluvToLch,lchToLuv:n.Hsluv.lchToLuv,luvToLch:n.Hsluv.luvToLch,xyzToLuv:n.Hsluv.xyzToLuv,luvToXyz:n.Hsluv.luvToXyz,xyzToRgb:n.Hsluv.xyzToRgb,rgbToXyz:n.Hsluv.rgbToXyz,lchToRgb:n.Hsluv.lchToRgb,rgbToLch:n.Hsluv.rgbToLch};t.exports=r}}),x_=on({"../../../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,h){if(typeof f!="function")throw new TypeError("The listener must be a function");var g=new o(f,d||c,h),y=r?r+u:u;return c._events[y]?c._events[y].fn?c._events[y]=[c._events[y],g]:c._events[y].push(g):(c._events[y]=g,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 h=0,g=d.length,y=new Array(g);h1)for(var v=1;vparseInt(p[1],10)}else u=!1;return u}function g(){return d===null&&(d=!!document.fonts),d}function y(){if(f===null){var p=document.createElement("div");try{p.style.font="condensed 100px sans-serif"}catch{}f=p.style.font!==""}return f}function S(p,m){return[p.style,p.weight,y()?p.stretch:"","100px",m].join(" ")}l.prototype.load=function(p,m){var v=this,x=p||"BESbswy",C=0,w=m||3e3,k=new Date().getTime();return new Promise(function(E,I){if(g()&&!h()){var P=new Promise(function(L,Z){function N(){new Date().getTime()-k>=w?Z(Error(""+w+"ms timeout exceeded")):document.fonts.load(S(v,'"'+v.family+'"'),x).then(function(ee){1<=ee.length?L():setTimeout(N,25)},Z)}N()}),z=new Promise(function(L,Z){C=setTimeout(function(){Z(Error(""+w+"ms timeout exceeded"))},w)});Promise.race([z,P]).then(function(){clearTimeout(C),E(v)},I)}else r(function(){function L(){var J;(J=V!=-1&&W!=-1||V!=-1&&D!=-1||W!=-1&&D!=-1)&&((J=V!=W&&V!=D&&W!=D)||(c===null&&(J=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(_.navigator.userAgent),c=!!J&&(536>parseInt(J[1],10)||parseInt(J[1],10)===536&&11>=parseInt(J[2],10))),J=c&&(V==Q&&W==Q&&D==Q||V==B&&W==B&&D==B||V==te&&W==te&&D==te)),J=!J),J&&(G.parentNode&&G.parentNode.removeChild(G),clearTimeout(C),E(v))}function Z(){if(new Date().getTime()-k>=w)G.parentNode&&G.parentNode.removeChild(G),I(Error(""+w+"ms timeout exceeded"));else{var J=document.hidden;(J===!0||J===void 0)&&(V=N.a.offsetWidth,W=ee.a.offsetWidth,D=Y.a.offsetWidth,L()),C=setTimeout(Z,50)}}var N=new i(x),ee=new i(x),Y=new i(x),V=-1,W=-1,D=-1,Q=-1,B=-1,te=-1,G=document.createElement("div");G.dir="ltr",o(N,S(v,"sans-serif")),o(ee,S(v,"serif")),o(Y,S(v,"monospace")),G.appendChild(N.a),G.appendChild(ee.a),G.appendChild(Y.a),document.body.appendChild(G),Q=N.a.offsetWidth,B=ee.a.offsetWidth,te=Y.a.offsetWidth,Z(),a(N,function(J){V=J,L()}),o(N,S(v,'"'+v.family+'",sans-serif')),a(ee,function(J){W=J,L()}),o(ee,S(v,'"'+v.family+'",serif')),a(Y,function(J){D=J,L()}),o(Y,S(v,'"'+v.family+'",monospace'))})})},typeof t=="object"?t.exports=l:(_.FontFaceObserver=l,_.FontFaceObserver.prototype.load=l.prototype.load)})()}});function xp(e,t){return b.isValidElement(e)?b.cloneElement(e,{style:t}):b.createElement(e,{style:t})}var T_=class extends Error{},E_=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 T_))throw this.state.error;let{notFoundPage:e,defaultPageStyle:t}=this.props;if(!e)throw this.state.error;return xp(e,t)}},R_=":([a-z]\\w*)",xi=new RegExp(R_,"gi");function SS(e,t){return e.replace(xi,(n,r)=>{let i=t[r];return typeof i!="string"||i.length===0?n:encodeURIComponent(i)})}function wS(e,t){if(!e.startsWith("/")||!t.startsWith("/"))throw new Error("from/to paths are expected to be absolute");let[n]=Qx(e),[r,i]=Qx(t),o=P_(n,r);return o===""&&(o="."),!o.startsWith(".")&&!o.startsWith("/")&&(o="./"+o),o+"/"+i}function Qx(e){let t=e.lastIndexOf("/");return[e.substring(0,t+1),e.substring(t+1)]}var Jh=46,xo=47,Hr=(e,t)=>e.charCodeAt(t),Zx=(e,t)=>e.lastIndexOf(t),wo=(e,t,n)=>e.slice(t,n);function P_(e,t){if(e===t||(e="/"+e1(e),t="/"+e1(t),e===t))return"";let n=1,r=e.length,i=r-n,o=1,s=t.length-o,a=ia){if(Hr(t,o+c)===xo)return wo(t,o+c+1);if(c===0)return wo(t,o+c)}else i>a&&(Hr(e,n+c)===xo?l=c:c===0&&(l=0));let u="";for(c=n+l+1;c<=r;++c)(c===r||Hr(e,c)===xo)&&(u+=u.length===0?"..":"/..");return`${u}${wo(t,o+l)}`}var I_=!1,kc="/",Jx=e=>e===xo;function e1(e){let t="",n=0,r=-1,i=0,o=0;for(let s=0;s<=e.length;++s){if(s2){let a=Zx(t,kc);a===-1?(t="",n=0):(t=wo(t,0,a),n=t.length-1-Zx(t,kc)),r=s,i=0;continue}else if(t.length!==0){t="",n=0,r=s,i=0;continue}}I_&&(t+=t.length>0?`${kc}..`:"..",n=2)}else t.length>0?t+=`${kc}${wo(e,r+1,s)}`:t=wo(e,r+1,s),n=s-r-1;r=s,i=0}else o===Jh&&i!==-1?++i:i=-1}return t}function CS(e){let t=typeof _<"u"?_.location.search:"";return t?F_(t,e):e}function F_(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 Wc(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Zs(e){return typeof e=="string"}var __="preload";function kS(e){return typeof e=="object"&&e!==null&&!b.isValidElement(e)&&__ in e}function ZB(e){let t=b.lazy(e),n,r,i=b.forwardRef(function(s,a){return b.createElement(r??t,Object.assign(a?{ref:a}:{},s))});return i.preload=()=>(n||(n=e().then(o=>(r=o.default,r))),n),i}function Mp(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function L_(e){return/bot|Mediapartners-Google|Google-PageRenderer|yandex|ia_archiver/i.test(e)}async function M_(e,t,n,r,i,o,s){var a,l,c;let u=e,f=!1,d={...o},h=Array.from(u.matchAll(xi)),g=await Promise.all(h.map(async m=>{var v;let x=m?.[0],C=m?.[1];if(!x||!C)throw new Error("Failed to replace path variables: unexpected regex match group");let w=o[C];if(!w||!Zs(w))throw new Error(`No slug found for path variable ${C}`);let k=await((v=s?.[i])===null||v===void 0?void 0:v.call(s));if(!k||!t)return w;let E=await k.getRecordIdBySlug(w,t);if(!E)return w;let I=await k.getSlugByRecordId(E,n);if(!I){f=!0;let P=await k.getSlugByRecordId(E,r);return P&&(d[C]=P),P??w}return d[C]=I,I})),y=0,S="",p=!1;for(let m=0;m`--view-transition-${e}`;function Sp(e){return[parseFloat(e),e.endsWith("px")?"px":"%"]}function ES(e){let{innerWidth:t,innerHeight:n}=_,[r,i]=Sp(e.x),[o,s]=Sp(e.y);return{x:i==="px"?r:t*(r/100),y:s==="px"?o:n*(o/100)}}var z_={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),`${rr("conic-offset")}: ${r}%;`},makeStyles:(e,t)=>{let n=`var(${rr("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 ${rr("conic-offset")} { syntax: ''; initial-value: 0%; inherits: false; } `},N_={makeKeyframe:(e,t)=>{let{x:n,y:r}=ES(e);return t==="start"?`clip-path: circle(0 at ${n}px ${r}px);`:`clip-path: circle(${Math.hypot(Math.max(n,_.innerWidth-n),Math.max(r,_.innerHeight-r))}px at ${n}px ${r}px);`}},$_={makeKeyframe:(e,t)=>{let{x:n,y:r}=ES(e),i=_.innerHeight-r,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);"}},j_={makeKeyframe:(e,t,n)=>{let[,r]=Sp(e.width),i=`0${r}`;return(t==="start"&&n==="exit"||t==="end"&&n==="enter")&&(i=e.width),`${rr("blinds-width")}: ${i};`},makeStyles:(e,t)=>{let n=`var(${rr("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 ${rr("blinds-width")} { syntax: ''; initial-value: 0px; inherits: false; } `},W_={makeKeyframe:(e,t,n)=>{let r=t==="start"&&n==="exit"||t==="end"&&n==="enter"?1:0;return`${rr("wipe-offset")}: ${r};`},makeStyles:(e,t)=>{let n=`var(${rr("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 ${rr("wipe-offset")} { syntax: ''; initial-value: 0; inherits: false; } `},U_={circle:N_,conic:z_,inset:$_,blinds:j_,wipe:W_},X_={opacity:1,x:"0px",y:"0px",scale:1,rotate:0,rotateX:0,rotateY:0,mask:void 0};function t1(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 Y_(e){return e?U_[e]:void 0}function n1(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}=H_(Jo({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=Y_((r=n?.mask)===null||r===void 0?void 0:r.type),a=t1(n,"start",e,s),l=t1({...X_,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 RS="view-transition-styles",G_={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 K_({exit:e=G_,enter:t}){let n=document.createElement("style");n.id=RS;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+=n1("exit",e),r+=n1("enter",t),n.textContent=r,document.head.appendChild(n)}function q_(){q.render(()=>{let e=document.getElementById(RS);e&&document.head.removeChild(e)})}function Q_(){return!!document.startViewTransition}function Z_(e,t){if(!Q_())return void e();K_(t);let n=document.startViewTransition(e);return Promise.all([n.ready,n.finished]).then(q_).catch(()=>{}),n}function PS(){let e=V_(),t=A(void 0);return j(()=>{t.current&&(t.current(),t.current=void 0)}),ce((n,r,i)=>{let o=A_(n,r,e);if(o){let s=new Promise(l=>{t.current=l});return Z_(async()=>{i(),await s},o)}else return i()},[e])}function r1(e,t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,localeId:s,preserveQueryParams:a}){let{path:l}=t;if(l)try{let c=Op(t,{currentRoutePath:n,currentPathVariables:r,hash:i,pathVariables:o,preserveQueryParams:a});IS({routeId:e,hash:i,pathVariables:o,localeId:s},c)}catch{}}function J_(e,t){_.history.replaceState(e,"",t)}function IS(e,t){_.history.pushState(e,"",t)}function e2({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){b.useLayoutEffect(()=>{e||J_({routeId:t,pathVariables:n,localeId:r})},[])}function t2(e,t){let n=PS(),r=b.useRef(void 0),i=b.useCallback(({state:s})=>{var a,l,c;if(!Wc(s))return;let{routeId:u,hash:f,pathVariables:d,localeId:h}=s;if(!Zs(u))return;let g=()=>{t(u,Zs(h)?h:void 0,Zs(f)?f:void 0,Wc(d)?d:void 0,!1,!0)},y=n(e.current,u,g);y?y.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 _.addEventListener("popstate",i),(s=_.navigation)===null||s===void 0||s.addEventListener("navigate",o),()=>{var a;_.removeEventListener("popstate",i),(a=_.navigation)===null||a===void 0||a.removeEventListener("navigate",o)}},[i,o])}function n2(e,t,n){let r=Mp(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(xi,(o,s)=>{var a;return String((a=i[s])!==null&&a!==void 0?a:o)})}function Op(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(xi,(g,y)=>{var S;return String((S=n[y])!==null&&S!==void 0?S:g)}));let f=(l=e?.path)!==null&&l!==void 0?l:"/";i&&(f=f.replace(xi,(g,y)=>{var S;return String((S=i[y])!==null&&S!==void 0?S:g)}));let d=n2(r,e,o),h=c===f&&d;return s&&(f=wS(c,f)),(a||h)&&(f=CS(f)),d&&(f=`${f}#${d}`),f}async function r2(e,t,n){if(!e.path||!t)return!1;let i=`${n.slug?`/${n.slug}`:""}${SS(e.path,t)}`;return(await fetch(i,{method:"HEAD",redirect:"manual"})).type==="opaqueredirect"?(_.location.href=_.location.origin+i,!0):!1}async function i2(e){let t=await O_(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 r2(e.route,t.pathVariables,e.nextLocale))return;IS({routeId:e.routeId,pathVariables:t.pathVariables,localeId:e.nextLocale.id},t.path)}catch{}return t}}function o2(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 FS(e){return b.useCallback(t=>e[t],[e])}var Ap=b.createContext({});function s2({api:e,children:t}){return T(Ap.Provider,{value:e,children:t})}function nu(){return b.useContext(Ap)}function a2({routes:e,children:t}){let n=FS(e);return T(Ap.Provider,{value:{getRoute:n},children:t})}var l2=class extends ge{constructor(e){super(e),this.state={error:void 0}}static getDerivedStateFromError(e){return console.error("Error in SuspenseErrorBoundary (getDerivedStateFromError).",e),{error:e}}componentDidCatch(e,t){var n;console.error("Caught error in in SuspenseErrorBoundary.",e,t),(n=_.__framer_events)===null||n===void 0||n.push(["published_site_load_recoverable_error",{message:String(e),componentStack:t?.componentStack}])}render(){return this.state.error===void 0?this.props.children:T(_o,{children:this.props.fallbackChildren})}},c2=typeof _<"u"?new Promise(()=>{}):null;function u2(){if(typeof _>"u")return null;throw c2}function f2({children:e}){return T(l2,{fallbackChildren:e,children:T(_o,{fallback:T(u2,{}),children:e})})}var i1="default";function d2(){let[e,t]=b.useState(0);return[e,b.useCallback(()=>t(n=>n+1),[])]}var h2=async()=>{},p2={activeLocale:null,locales:[],setLocale:h2},_S=b.createContext(p2);function m2(){return b.useContext(_S)}function v2(e){let t=`start-${e}`,n=`end-${e}`,r=A(void 0);return j(()=>{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 o1(e,t,n){let r=e&&document.getElementById(e);if(r){b2(r,t);return}n||_.scrollTo(0,0)}function g2(e){let t=b.useRef([]);return b.useLayoutEffect(()=>{var n;!((n=t.current)===null||n===void 0)&&n.length&&(t.current.forEach(r=>r()),t.current=[])},[e]),b.useCallback(n=>{t.current.push(n)},[])}function y2({defaultPageStyle:e,disableHistory:t,initialPathVariables:n,initialRoute:r,notFoundPage:i,collectionUtils:o,routes:s,initialLocaleId:a,locales:l=[],preserveQueryParams:c=!1,enableSuspenseThatPreservesDom:u}){e2({disabled:t,routeId:r,initialPathVariables:n,initialLocaleId:a});let f=PS(),d=v2("route-change"),h=b.useRef(r),g=b.useRef(n),y=b.useRef(a),S=y.current,p=b.useMemo(()=>{var V;return(V=l.find(({id:W})=>S?W===S:W===i1))!==null&&V!==void 0?V:null},[S,l]),[m,v]=d2(),x=b.useMemo(()=>({activeLocale:p,locales:l,setLocale:async V=>{let W;Zs(V)?W=V:Wc(V)&&(W=V.id);let D=l.find(({id:G})=>G===i1),Q=l.find(({id:G})=>G===W);if(!Q)return;let B=h.current,te=s[B];if(te)try{let G=await i2({currentLocale:p,nextLocale:Q,route:te,routeId:B,defaultLocale:D,pathVariables:g.current,collectionUtils:o,preserveQueryParams:c});if(!G)return;g.current=G.pathVariables,y.current=Q.id,f(h.current,B,()=>Pi(v)),d()}catch{}}}),[p,o,v,l,d,s,f,c]),C=g2(m),w=b.useCallback((V,W,D,Q,B=!1,te=!1)=>{h.current=V,g.current=Q,y.current=W,C(()=>{o1(D,B,te)}),Pi(v),d()},[v,d,C]);t2(h,w);let k=b.useCallback((V,W,D,Q)=>{var B,te;let G=s[V];if(D){let ne=new Set,lt=(B=G?.path)!==null&&B!==void 0?B:"/";for(let K of lt.matchAll(xi)){let It=K[1];if(It===void 0)throw new Error("A matching path variable should not be undefined");ne.add(It)}D=Object.fromEntries(Object.entries(D).filter(([K])=>ne.has(K)))}let J=Mp(G,W);if(o2({routeId:h.current,pathVariables:g.current},{routeId:V,pathVariables:D})){if(((te=_.history.state)===null||te===void 0?void 0:te.hash)!==W&&!t){let ne=s[V];ne&&r1(V,ne,{currentRoutePath:ne.path,currentPathVariables:g.current,pathVariables:D,hash:W,localeId:y.current,preserveQueryParams:c})}o1(J,Q,!1);return}if(!G)return;if(!t){let ne=s[h.current];r1(V,G,{currentRoutePath:ne?.path,currentPathVariables:g.current,hash:W,pathVariables:D,localeId:y.current,preserveQueryParams:c})}let jt=()=>w(V,y.current,J,D,Q,!1);f(h.current,V,jt)},[s,t,w,f,c]),E=FS(s),I=h.current,P=g.current,z=b.useMemo(()=>({navigate:k,getRoute:E,currentRouteId:I,currentPathVariables:P,routes:s,collectionUtils:o,preserveQueryParams:c}),[k,E,I,P,s,o,c]),L=s[h.current];if(!L)throw new Error(`Router cannot find route for ${h.current}`);let Z=!p||!L.includedLocales||L.includedLocales.includes(p.id),N=L.path&&P?SS(L.path,P):L.path,ee=String(S)+N,Y=T(E_,{notFoundPage:i,defaultPageStyle:e,forceUpdateKey:m,children:T(b.Fragment,{children:Z?xp(L.page,e):i&&xp(i,e)},ee)});return T(s2,{api:z,children:T(_S.Provider,{value:x,children:u?T(f2,{children:Y}):T(b.Suspense,{fallback:null,children:Y})})})}function b2(e,t){let n=t?{behavior:"smooth",block:"start",inline:"nearest"}:void 0;e.scrollIntoView(n)}var Tc,tp,s1;function x2(e){if(s1!==e){Tc={};for(let[t,{path:n}]of Object.entries(e))n&&(Tc[n]={path:n,depth:w2(n),routeId:t});tp=Object.values(Tc),tp.sort(({depth:t},{depth:n})=>n-t),s1=e}return[Tc,tp]}function S2(e,t,n=!0,r=[]){let[i,o]=x2(e),s,a,l=t;if(r.length>0){let d=l.split("/").find(Boolean);if(d&&(s=r.find(({slug:h})=>h===d),s&&(a=s.id,l=l.substring(s.slug.length+1))),!a){let h=r.find(({slug:g})=>g==="");h&&(a=h.id)}}let c=i[l];if(c){let d=a1(l,c.path);if(d.isMatch)return{routeId:c.routeId,localeId:a,pathVariables:d.pathVariables}}for(let{path:d,routeId:h}of o){let g=a1(l,d);if(g.isMatch)return{routeId:h,localeId:a,pathVariables:g.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 w2(e){let t=e.replace(/^\/|\/$/gu,"");return t===""?0:t.split("/").length}function a1(e,t){let n=[],i=C2(t).replace(xi,(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;c{if(!(!n||!t||!LS))for(let r of e){let i=n(r);i?.page&&Vp(i.page)}},[e,n,t])}function Vp(e){LS&&kS(e)&&e.preload()}var c1=new Set;function na(e,...t){c1.has(e)||(c1.add(e),console.warn(e,...t))}function R2(e,t,n){let r=n?`, use ${n} instead`:"",i=`Deprecation warning: ${e} will be removed in version ${t}${r}.`;na(i)}var MS=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}},Ve=(()=>{function e(t){return R2("Animatable()","2.0.0","the new animation API (https://www.framer.com/api/animation/)"),pn(t)?t:new I2(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:pn(t)?t.get():t,e.objectToValues=t=>{if(!t)return t;let n={};for(let r in t){let i=t[r];pn(i)?n[r]=i.get():n[r]=i}return n},e})(),u1="onUpdate",f1="finishTransaction";function pn(e){return e!==null&&typeof e=="object"&&u1 in e&&e[u1]instanceof Function&&f1 in e&&e[f1]instanceof Function}function P2(e,t){return{interpolate(n,r){let i=n.get(),o=r.get(),s=Ve(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 I2=class{constructor(e){this.value=e,R(this,"observers",new MS)}static interpolationFor(e,t){if(pn(e))return P2(e,t)}get(){return this.value}set(e,t){let n=this.value;pn(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 Ec(e,t){let r=10**Math.round(Math.abs(t));return Math.round(e*r)/r}function d1(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function at(e,t){return{x:e,y:t}}(e=>{e.add=(...r)=>r.reduce((i,o)=>({x:i.x+o.x,y:i.y+o.y}),{x:0,y:0}),e.subtract=(r,i)=>({x:r.x-i.x,y:r.y-i.y}),e.multiply=(r,i)=>({x:r.x*i,y:r.y*i}),e.divide=(r,i)=>({x:r.x/i,y:r.y/i}),e.absolute=r=>({x:Math.abs(r.x),y:Math.abs(r.y)}),e.reverse=r=>({x:r.x*-1,y:r.y*-1}),e.pixelAligned=(r,i={x:0,y:0})=>({x:d1(r.x,i.x),y:d1(r.y,i.y)}),e.distance=(r,i)=>{let o=Math.abs(r.x-i.x),s=Math.abs(r.y-i.y);return Math.sqrt(o*o+s*s)},e.angle=(r,i)=>Math.atan2(i.y-r.y,i.x-r.x)*180/Math.PI-90,e.isEqual=(r,i)=>r.x===i.x&&r.y===i.y,e.rotationNormalizer=()=>{let r;return i=>{typeof r!="number"&&(r=i);let o=r-i,s=Math.abs(o)+180,a=Math.floor(s/360);return o<180&&(i-=a*360),o>180&&(i+=a*360),r=i,i}};function t(r,i){return{x:(r.x+i.x)/2,y:(r.y+i.y)/2}}e.center=t;function n(r,i){var o,s,a,l;let c=r.x,u=r.y,f=!1;for(let d=0,h=i.length-1;du!=p>u&&c<(S-g)*(u-y)/(p-y)+g&&(f=!f)}return f}e.insidePoints=n})(at||(at={}));var xH=Number.MIN_VALUE;var SH={tension:500,friction:10,tolerance:1/1e4,velocity:0};var F2=Xt(b_(),1),wp={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 Lr(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(u.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 D2(e,t,n){let r,i,o;if(e=gt(e,360),t=gt(t*100,100),n=gt(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=np(a,s,e+1/3),i=np(a,s,e),o=np(a,s,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function p1(e,t,n){e=gt(e,255),t=gt(t,255),n=gt(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 Hp(e){if(e.includes("gradient(")||e.includes("var("))return!1;let t=/^[\s,#]+/u,n=e.replace(t,"").trimEnd().toLowerCase(),r=wp[n];if(r&&(n=r),n==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let i;return(i=Fn.rgb.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:1,format:"rgb"}:(i=Fn.rgba.exec(n))?{r:parseInt(i[1]??""),g:parseInt(i[2]??""),b:parseInt(i[3]??""),a:parseFloat(i[4]??""),format:"rgb"}:(i=Fn.hsl.exec(n))?{h:parseInt(i[1]??""),s:Mr(i[2]??""),l:Mr(i[3]??""),a:1,format:"hsl"}:(i=Fn.hsla.exec(n))?{h:parseInt(i[1]??""),s:Mr(i[2]??""),l:Mr(i[3]??""),a:parseFloat(i[4]??""),format:"hsl"}:(i=Fn.hsv.exec(n))?{h:parseInt(i[1]??""),s:Mr(i[2]??""),v:Mr(i[3]??""),a:1,format:"hsv"}:(i=Fn.hsva.exec(n))?{h:parseInt(i[1]??""),s:Mr(i[2]??""),v:Mr(i[3]??""),a:parseFloat(i[4]??""),format:"hsv"}:(i=Fn.hex8.exec(n))?{r:Ht(i[1]??""),g:Ht(i[2]??""),b:Ht(i[3]??""),a:m1(i[4]??""),format:r?"name":"hex"}:(i=Fn.hex6.exec(n))?{r:Ht(i[1]??""),g:Ht(i[2]??""),b:Ht(i[3]??""),a:1,format:r?"name":"hex"}:(i=Fn.hex4.exec(n))?{r:Ht(`${i[1]}${i[1]}`),g:Ht(`${i[2]}${i[2]}`),b:Ht(`${i[3]}${i[3]}`),a:m1(i[4]+""+i[4]),format:r?"name":"hex"}:(i=Fn.hex3.exec(n))?{r:Ht(`${i[1]}${i[1]}`),g:Ht(`${i[2]}${i[2]}`),b:Ht(`${i[3]}${i[3]}`),a:1,format:r?"name":"hex"}:!1}function Ht(e){return parseInt(e,16)}function m1(e){return Ht(e)/255}var v1=new Map,H=(()=>{function e(o,s,a,l){if(typeof o=="string"){let u=v1.get(o);return u||(u=t(o),u===void 0?{...e("black"),isValid:!1}:(v1.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=z2(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"?Hp(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)=>h1(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=>({...M2(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=p1(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=p1(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=h1(o.r,o.g,o.b,!0);for(let a of Object.keys(wp))if(wp[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:Lr(a,[0,1],[o.r,s.r],l),g:Lr(a,[0,1],[o.g,s.g],l),b:Lr(a,[0,1],[o.b,s.b],l),a:Lr(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 h=f.h,g=d.h,y=g-h;y>180?y=g-360-h:y<-180&&(y=g+360-h);let S={h:Lr(a,[0,1],[h,h+y],l),s:Lr(a,[0,1],[f.s,d.s],l),l:Lr(a,[0,1],[f.l,d.l],l),a:Lr(a,[0,1],[o.a,s.a],l)};n.isHSL(c)?u=e(S):u=e(O2(S.h,S.s,S.l,S.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)=>Bp(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),h=Math.pow(u,2);return Math.sqrt(2*f+4*d+3*h+a*(f-h)/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=Bi([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 z2(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=kp({r:e,g:t,b:n,a:r}):typeof e=="string"?i=N2(e):typeof e=="object"&&(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")?i=kp(e):i=OS(e)),i}function N2(e){let t=Hp(e);if(t)return t.format==="hsl"?OS(t):t.format==="hsv"?$2(t):kp(t)}function $2(e){let t=V2(e.h,e.s,e.v);return{...Bp(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?AS(e.a):1}}function kp(e){let t=A2(e.r,e.g,e.b);return{...Bp(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?AS(e.a):1}}function OS(e){let t,n,r,i={r:0,g:0,b:0},o={h:0,s:0,l:0};return t=Co(e.h)?e.h:0,t=(t+360)%360,n=Co(e.s)?e.s:1,typeof e.s=="string"&&(n=Cp(e.s)),r=Co(e.l)?e.l:.5,typeof e.l=="string"&&(r=Cp(e.l)),i=D2(t,n,r),o={h:t,s:n,l:r},{...i,...o,a:e.a===void 0?1:e.a,format:"hsl"}}function AS(e){return e=parseFloat(e),e<0&&(e=0),(isNaN(e)||e>1)&&(e=1),e}var g1=e=>e instanceof tl,wH={delta:1/60,maxValues:1e4};var j2=Xt(x_(),1),{EventEmitter:W2}=j2.default,U2=class{constructor(){R(this,"_emitter",new W2)}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)}},X2={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:{}},Nt=typeof _>"u"?X2:_,Y2=e=>{setTimeout(e,1/60)},G2=Nt.requestAnimationFrame||Y2,y1=e=>G2(e),Xs=1/60,K2=class extends U2{constructor(e=!1){super(),R(this,"_started",!1),R(this,"_frame",0),R(this,"_frameTasks",[]),R(this,"tick",()=>{this._started&&(y1(this.tick),this.emit("update",this._frame,Xs),this.emit("render",this._frame,Xs),this._processFrameTasks(),this._frame++)}),e&&this.start()}addFrameTask(e){this._frameTasks.push(e)}_processFrameTasks(){var e;let t=this._frameTasks,n=t.length;if(n!==0){for(let r=0;r(e.canvas="CANVAS",e.export="EXPORT",e.thumbnail="THUMBNAIL",e.preview="PREVIEW",e))(_e||{}),Uc={target:"PREVIEW",zoom:1};(e=>{function t(){return Uc.target}e.current=t;function n(){let r=Uc.target;return r==="CANVAS"||r==="EXPORT"}e.hasRestrictions=n})(_e||(_e={}));var Pc=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"}});rf({borderTopWidth:Pc("y"),borderLeftWidth:Pc("x"),borderRightWidth:Pc("x"),borderBottomWidth:Pc("y")});function ae(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 $t(e,t){throw t||new Error(e?`Unexpected value: ${e}`:"Application entered invalid state")}var To=b.createContext({getLayoutId:e=>null,persistLayoutIdCache:()=>{},top:!1,enabled:!0});function q2({children:e}){if(M(To).top)return T(He,{children:e});let n=A({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),r=A({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=A(new Set).current,o=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 h=c||l;if(!u&&!i.has(h)&&(!n.current.byLayoutId[h]||n.current.byLayoutId[h]===h))return n.current.count[f][h]===void 0&&(n.current.count[f][h]=0,n.current.byLayoutId[h]=h,r.current[f][l]=h),i.add(h),h;let g;if(u?.length)for(let w=u.length-1;w>=0;w--){let k=u[w];ae(!!k,"duplicatedId must be defined");let E=n.current[f][k],I=n.current.byLastId[k];if(I&&!g){let L=n.current.byLayoutId[I],Z=!L||L===c;I&&!i.has(I)&&(!c||Z)&&(g=[I,k])}let P=E?n.current.byLayoutId[E]:void 0,z=!P||P===c;if(E&&!i.has(E)&&(!c||z))return r.current[f][l]=E,r.current.byLastId[k]=E,i.add(E),E}let y=n.current.byLastId[l];if(y&&!i.has(y))return i.add(y),r.current.byId[l]=y,y;if(g){let[w,k]=g;return r.current[f][l]=w,r.current.byLastId[k]=w,i.add(w),w}let S=n.current.byPossibleId[l];if(S&&!i.has(S))return i.add(S),r.current.byId[l]=S,S;let p=u?.[0],m=c||p||l,v=(n.current.count[f][m]??-1)+1,{layoutId:x,value:C}=Q2(m,v,i);if(n.current.count[f][m]=C,r.current[f][l]=x,u?.length&&!c){let w=u[u.length-1];if(w&&(r.current.byLastId[w]=x),u.length>1)for(let k=0;k{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=A({getLayoutId:o,persistLayoutIdCache:s,top:!0,enabled:!0}).current;return T(To.Provider,{value:a,children:e})}function Q2(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 Z2({enabled:e=!0,...t}){let n=M(To),r=fe(()=>({...n,enabled:e}),[e]);return T(To.Provider,{...t,value:r})}function nn(e){let t=A(null);return t.current===null&&(t.current=e()),t.current}var J2={background:void 0,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",lineHeight:"1.4em",textOverflow:"ellipsis",overflow:"hidden",minHeight:0,width:"100%",height:"100%"},eL={...J2,border:"1px solid rgba(149, 149, 149, 0.15)",borderRadius:6,fontSize:"12px",backgroundColor:"rgba(149, 149, 149, 0.1)",color:"#a5a5a5"},VS={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"100%",flexShrink:0,padding:"0 10px"},tL={...VS,fontWeight:500},nL={...VS,whiteSpace:"pre",maxHeight:"calc(50% - calc(20px * var(--framerInternalCanvas-canvasPlaceholderContentScaleFactor, 1)))",WebkitMaskImage:"linear-gradient(to bottom, black 80%, transparent 100%)"};function IH(e){let{error:t,file:n}=e,r=n?`Error in ${rL(n)}`:"Error",i=t instanceof Error?t.message:""+t;return oe("div",{style:eL,children:[T("div",{className:"text",style:tL,children:r}),i&&T("div",{className:"text",style:nL,children:i})]})}function rL(e){return e.startsWith("./")?e.replace("./",""):e}var _H=992-5;function X(e){return typeof e=="number"&&isFinite(e)}function iL(e){return!e||!Object.keys(e).length&&e.constructor===Object}function Dc(e){return typeof e!="string"&&typeof e!="number"}function Vc(e){return e!==null&&typeof e<"u"&&typeof e!="boolean"&&!iL(e)}var Xc;(e=>{function t(i,o){return i===o?!0:!i||!o?!1:i.x===o.x&&i.y===o.y&&i.width===o.width&&i.height===o.height}e.equals=t,e.atOrigin=i=>({...i,x:0,y:0}),e.fromTwoPoints=(i,o)=>({x:Math.min(i.x,o.x),y:Math.min(i.y,o.y),width:Math.abs(i.x-o.x),height:Math.abs(i.y-o.y)}),e.fromRect=i=>({x:i.left,y:i.top,width:i.right-i.left,height:i.bottom-i.top}),e.multiply=(i,o)=>({x:i.x*o,y:i.y*o,width:i.width*o,height:i.height*o}),e.divide=(i,o)=>(0,e.multiply)(i,1/o),e.offset=(i,o)=>{let s=typeof o.x=="number"?o.x:0,a=typeof o.y=="number"?o.y:0;return{...i,x:i.x+s,y:i.y+a}};function n(i,o){if(o===0)return i;let s=2*o;return{x:i.x-o,y:i.y-o,width:i.width+s,height:i.height+s}}e.inflate=n,e.pixelAligned=i=>{let o=Math.round(i.x),s=Math.round(i.y),a=Math.round(i.x+i.width),l=Math.round(i.y+i.height),c=Math.max(a-o,0),u=Math.max(l-s,0);return{x:o,y:s,width:c,height:u}},e.halfPixelAligned=i=>{let o=Math.round(i.x*2)/2,s=Math.round(i.y*2)/2,a=Math.round((i.x+i.width)*2)/2,l=Math.round((i.y+i.height)*2)/2,c=Math.max(a-o,1),u=Math.max(l-s,1);return{x:o,y:s,width:c,height:u}},e.round=(i,o=0)=>{let s=Ec(i.x,o),a=Ec(i.y,o),l=Ec(i.width,o),c=Ec(i.height,o);return{x:s,y:a,width:l,height:c}},e.roundToOutside=i=>{let o=Math.floor(i.x),s=Math.floor(i.y),a=Math.ceil(i.x+i.width),l=Math.ceil(i.y+i.height),c=Math.max(a-o,0),u=Math.max(l-s,0);return{x:o,y:s,width:c,height:u}},e.minX=i=>i.x,e.maxX=i=>i.x+i.width,e.minY=i=>i.y,e.maxY=i=>i.y+i.height,e.positions=i=>({minX:i.x,midX:i.x+i.width/2,maxX:(0,e.maxX)(i),minY:i.y,midY:i.y+i.height/2,maxY:(0,e.maxY)(i)}),e.center=i=>({x:i.x+i.width/2,y:i.y+i.height/2}),e.boundingRectFromPoints=i=>{let o=i.map(f=>f.x),s=i.map(f=>f.y),a=Math.min(...o),l=Math.min(...s),c=Math.max(...o)-a,u=Math.max(...s)-l;return{x:a,y:l,width:c,height:u}},e.fromPoints=i=>{let[o,s,a,l]=i,{x:c,y:u}=o,f=at.distance(o,s),d=at.distance(o,l);return{x:c,y:u,width:f,height:d}},e.merge=(...i)=>{let o={x:Math.min(...i.map(e.minX)),y:Math.min(...i.map(e.minY))},s={x:Math.max(...i.map(e.maxX)),y:Math.max(...i.map(e.maxY))};return(0,e.fromTwoPoints)(o,s)},e.intersection=(i,o)=>{let s=Math.max(i.x,o.x),a=Math.min(i.x+i.width,o.x+o.width),l=Math.max(i.y,o.y),c=Math.min(i.y+i.height,o.y+o.height);return{x:s,y:l,width:a-s,height:c-l}},e.points=i=>[{x:(0,e.minX)(i),y:(0,e.minY)(i)},{x:(0,e.minX)(i),y:(0,e.maxY)(i)},{x:(0,e.maxX)(i),y:(0,e.minY)(i)},{x:(0,e.maxX)(i),y:(0,e.maxY)(i)}],e.transform=(i,o)=>{let{x:s,y:a}=o.transformPoint({x:i.x,y:i.y}),{x:l,y:c}=o.transformPoint({x:i.x+i.width,y:i.y}),{x:u,y:f}=o.transformPoint({x:i.x+i.width,y:i.y+i.height}),{x:d,y:h}=o.transformPoint({x:i.x,y:i.y+i.height}),g=Math.min(s,l,u,d),y=Math.max(s,l,u,d)-g,S=Math.min(a,c,f,h),p=Math.max(a,c,f,h)-S;return{x:g,y:S,width:y,height:p}},e.containsPoint=(i,o)=>!(o.x<(0,e.minX)(i)||o.x>(0,e.maxX)(i)||o.y<(0,e.minY)(i)||o.y>(0,e.maxY)(i)||isNaN(i.x)||isNaN(i.y)),e.containsRect=(i,o)=>{for(let s of(0,e.points)(o))if(!(0,e.containsPoint)(i,s))return!1;return!0},e.toCSS=i=>({display:"block",transform:`translate(${i.x}px, ${i.y}px)`,width:`${i.width}px`,height:`${i.height}px`}),e.inset=(i,o)=>({x:i.x+o,y:i.y+o,width:Math.max(0,i.width-2*o),height:Math.max(0,i.height-2*o)}),e.intersects=(i,o)=>!(o.x>=(0,e.maxX)(i)||(0,e.maxX)(o)<=i.x||o.y>=(0,e.maxY)(i)||(0,e.maxY)(o)<=i.y),e.overlapHorizontally=(i,o)=>{let s=e.maxX(i),a=e.maxX(o);return s>o.x&&a>i.x},e.overlapVertically=(i,o)=>{let s=e.maxY(i),a=e.maxY(o);return s>o.y&&a>i.y},e.doesNotIntersect=(i,o)=>o.find(s=>e.intersects(s,i))===void 0,e.isEqual=(i,o)=>e.equals(i,o),e.cornerPoints=i=>{let o=i.x,s=i.x+i.width,a=i.y,l=i.y+i.height;return[{x:o,y:a},{x:s,y:a},{x:s,y:l},{x:o,y:l}]},e.midPoints=i=>{let o=i.x,s=i.x+i.width/2,a=i.x+i.width,l=i.y,c=i.y+i.height/2,u=i.y+i.height;return[{x:s,y:l},{x:a,y:c},{x:s,y:u},{x:o,y:c}]},e.pointDistance=(i,o)=>{let s=0,a=0;return o.xe.maxX(i)&&(s=o.x-e.maxX(i)),o.ye.maxY(i)&&(a=o.y-e.maxY(i)),at.distance({x:s,y:a},{x:0,y:0})};let r={x:0,y:0,width:0,height:0};e.fromAny=(i,o=r)=>({x:i.x||o.x,y:i.y||o.y,width:i.width||o.width,height:i.height||o.height}),e.delta=(i,o)=>{let s={x:(0,e.minX)(i),y:(0,e.minY)(i)},a={x:(0,e.minX)(o),y:(0,e.minY)(o)};return{x:s.x-a.x,y:s.y-a.y}},e.withMinSize=(i,o)=>{let{width:s,height:a}=o,l=i.width-s,c=i.height-a;return{width:Math.max(i.width,s),height:Math.max(i.height,a),x:i.width{let s=(0,e.minX)(i),a=(0,e.minY)(i),l=(0,e.maxX)(i),c=(0,e.maxY)(i);for(let u of o)if(u.xl||u.yc)return!0;return!1},e.rebaseRectOnto=(i,o,s,a)=>{let l={...i};switch(s){case"bottom":case"top":switch(a){case"start":l.x=o.x;break;case"center":l.x=o.x+o.width/2-i.width/2;break;case"end":l.x=o.x+o.width-i.width;break;default:$t(a)}break;case"left":l.x=o.x-i.width;break;case"right":l.x=o.x+o.width;break;default:$t(s)}switch(s){case"left":case"right":switch(a){case"start":l.y=o.y;break;case"center":l.y=o.y+o.height/2-i.height/2;break;case"end":l.y=o.y+o.height-i.height;break;default:$t(a)}break;case"top":l.y=o.y-i.height;break;case"bottom":l.y=o.y+o.height;break;default:$t(s)}return l}})(Xc||(Xc={}));var Yc;(e=>{e.quickfix=t=>((t.widthType===2||t.heightType===2)&&(t.aspectRatio=null),X(t.aspectRatio)&&(t.left&&t.right&&(t.widthType=0),t.top&&t.bottom&&(t.heightType=0),t.left&&t.right&&t.top&&t.bottom&&(t.bottom=!1),t.widthType!==0&&t.heightType!==0&&(t.heightType=0)),t.left&&t.right&&((t.fixedSize||t.widthType===2||X(t.maxWidth))&&(t.right=!1),t.widthType=0),t.top&&t.bottom&&((t.fixedSize||t.heightType===2||X(t.maxHeight))&&(t.bottom=!1),t.heightType=0),t)})(Yc||(Yc={}));function Gc(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 Tp;(e=>{e.fromProperties=t=>{let{left:n,right:r,top:i,bottom:o,width:s,height:a,centerX:l,centerY:c,aspectRatio:u,autoSize:f}=t,d=Yc.quickfix({left:X(n)||pn(n),right:X(r)||pn(r),top:X(i)||pn(i),bottom:X(o)||pn(o),widthType:Gc(s),heightType:Gc(a),aspectRatio:u||null,fixedSize:f===!0}),h=null,g=null,y=0,S=0;if(d.widthType!==0&&typeof s=="string"){let v=parseFloat(s);s.endsWith("fr")?(y=3,h=v):s==="auto"?y=2:(y=1,h=v/100)}else s!==void 0&&typeof s!="string"&&(h=Ve.getNumber(s));if(d.heightType!==0&&typeof a=="string"){let v=parseFloat(a);a.endsWith("fr")?(S=3,g=v):a==="auto"?S=2:(S=1,g=parseFloat(a)/100)}else a!==void 0&&typeof a!="string"&&(g=Ve.getNumber(a));let p=.5,m=.5;return l&&(p=parseFloat(l)/100),c&&(m=parseFloat(c)/100),{left:d.left?Ve.getNumber(n):null,right:d.right?Ve.getNumber(r):null,top:d.top?Ve.getNumber(i):null,bottom:d.bottom?Ve.getNumber(o):null,widthType:y,heightType:S,width:h,height:g,aspectRatio:d.aspectRatio||null,centerAnchorX:p,centerAnchorY:m}},e.toSize=(t,n,r,i)=>{let o=null,s=null,a=n?.sizing?Ve.getNumber(n?.sizing.width):null,l=n?.sizing?Ve.getNumber(n?.sizing.height):null,c=b1(t.left,t.right);if(a&&X(c))o=a-c;else if(r&&t.widthType===2)o=r.width;else if(X(t.width))switch(t.widthType){case 0:o=t.width;break;case 3:o=i?i.freeSpaceInParent.width/i.freeSpaceUnitDivisor.width*t.width:null;break;case 1:case 4:a&&(o=a*t.width);break;case 2:break;default:$t(t.widthType)}let u=b1(t.top,t.bottom);if(l&&X(u))s=l-u;else if(r&&t.heightType===2)s=r.height;else if(X(t.height))switch(t.heightType){case 0:s=t.height;break;case 3:s=i?i.freeSpaceInParent.height/i.freeSpaceUnitDivisor.height*t.height:null;break;case 1:case 4:l&&(s=l*t.height);break;case 2:break;default:$t(t.heightType)}return cL(o,s,t,{height:l??0,width:a??0},n?.viewport)},e.toRect=(t,n=null,r=null,i=!1,o=null)=>{let s=t.left||0,a=t.top||0,{width:l,height:c}=e.toSize(t,n,r,o),u=n?.positioning??null,f=u?Ve.getNumber(u.width):null,d=u?Ve.getNumber(u.height):null;t.left!==null?s=t.left:f&&t.right!==null?s=f-t.right-l:f&&(s=t.centerAnchorX*f-l/2),t.top!==null?a=t.top:d&&t.bottom!==null?a=d-t.bottom-c:d&&(a=t.centerAnchorY*d-c/2);let h={x:s,y:a,width:l,height:c};return i?Xc.pixelAligned(h):h}})(Tp||(Tp={}));var oL=200,sL=200;function Kc(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 aL(e,t,n,r){return t.minHeight&&(e=Math.max(Kc("minHeight",t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(Kc("maxHeight",t.maxHeight,n,r),e)),e}function lL(e,t,n,r){return t.minWidth&&(e=Math.max(Kc("minWidth",t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(Kc("maxWidth",t.maxWidth,n,r),e)),e}function cL(e,t,n,r,i){let o=lL(X(e)?e:oL,n,r,i),s=aL(X(t)?t:sL,n,r,i);return X(n.aspectRatio)&&n.aspectRatio>0&&(X(n.left)&&X(n.right)?s=o/n.aspectRatio:X(n.top)&&X(n.bottom)?o=s*n.aspectRatio:n.widthType!==0?s=o/n.aspectRatio:o=s*n.aspectRatio),{width:o,height:s}}function b1(e,t){return!X(e)||!X(t)?null:e+t}function uL(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 va(e){return!e._constraints||uL(e)?!1:e._constraints.enabled}function fL(e){let{size:t}=e,{width:n,height:r}=e;return X(t)&&(n===void 0&&(n=t),r===void 0&&(r=t)),X(n)&&X(r)?{width:n,height:r}:null}function dL(e){let t=fL(e);if(t===null)return null;let{left:n,top:r}=e;return X(n)&&X(r)?{x:n,y:r,...t}:null}function ra(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!va(e)||r)return dL(e);let i=hL(e),o=pL(t),s=o?{sizing:o,positioning:o,viewport:null}:null;return Tp.toRect(i,s,null,n,null)}function hL(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=Yc.quickfix({left:X(t),right:X(n),top:X(r),bottom:X(i),widthType:Gc(l),heightType:Gc(c),aspectRatio:u||null,fixedSize:f===!0}),h=null,g=null,y=0,S=0;if(d.widthType!==0&&typeof l=="string"){let v=parseFloat(l);l.endsWith("fr")?(y=3,h=v):l==="auto"?y=2:(y=1,h=v/100)}else l!==void 0&&typeof l!="string"&&(h=l);if(d.heightType!==0&&typeof c=="string"){let v=parseFloat(c);c.endsWith("fr")?(S=3,g=v):c==="auto"?S=2:(S=1,g=parseFloat(c)/100)}else c!==void 0&&typeof c!="string"&&(g=c);let p=.5,m=.5;return(o===!0||o==="x")&&(d.left=!1,typeof t=="string"&&(p=parseFloat(t)/100)),(o===!0||o==="y")&&(d.top=!1,typeof r=="string"&&(m=parseFloat(r)/100)),{left:d.left?t:null,right:d.right?n:null,top:d.top?r:null,bottom:d.bottom?i:null,widthType:y,heightType:S,width:h,height:g,aspectRatio:d.aspectRatio||null,centerAnchorX:p,centerAnchorY:m,minHeight:e.minHeight,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth}}var zp=b.createContext({parentSize:0});function pL(e){return e===0||e===1||e===2?null:e}function ga(){return b.useContext(zp).parentSize}function BS(e){return typeof e=="object"}var mL=e=>{let t=ga(),{parentSize:n,children:r}=e,i=b.useMemo(()=>({parentSize:n}),[vL(n),gL(n)]);return t===1?r?T(He,{children:r}):null:T(zp.Provider,{value:i,children:r})};function vL(e){return BS(e)?e.width:e}function gL(e){return BS(e)?e.height:e}var AH=zp.Consumer;function yL(e,t){return T(mL,{parentSize:t,children:e})}function bL(e){let t=ga();return ra(e,t,!0)}var xL=(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))(xL||{}),ip;function SL(){if(ip!==void 0)return ip;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),ip=t,t}var Si="flexbox-gap-not-supported",x1=!1;function DH(){x1||(x1=!0,!SL()&&document.body.classList.add(Si))}var wL=` [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); } `,CL=` [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); } `,kL=` [data-framer-component-type="DeprecatedRichText"] span[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } `,TL=` [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)); } `,EL=` [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))); } `,RL=` 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))); } `,PL=` 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)))); } `,IL=` [data-framer-component-type="DeprecatedRichText"] strong { font-weight: bolder; } `,FL=` [data-framer-component-type="DeprecatedRichText"] em { font-style: italic; } `,_L=` [data-framer-component-type="DeprecatedRichText"] .framer-image { display: block; max-width: 100%; height: auto; } `,LL=` [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; } `,ML=` [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; } `,OL=` [data-framer-component-type="DeprecatedRichText"] ul, [data-framer-component-type="DeprecatedRichText"] ol { display: table; width: 100%; padding-left: 0; margin: 0; } `,AL=` [data-framer-component-type="DeprecatedRichText"] li { display: table-row; counter-increment: list-item; list-style: none; } `,DL=` [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; } `,VL=` [data-framer-component-type="DeprecatedRichText"] ul > li::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-right: 0.75ch; content: "\u2022"; } `,BL=['[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }',ML,LL,wL,CL,kL,TL,EL,RL,PL,IL,FL,_L,OL,AL,DL,VL],HL=[` 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-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: calc(var(--framer-font-size, 16px) * var(--framer-font-size-scale, 1)); 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); } `,` .framer-fit-text .framer-text { white-space: nowrap; } `,` strong.framer-text { font-family: var(--framer-font-family-bold); font-style: var(--framer-font-style-bold); font-weight: var(--framer-font-weight-bold, bolder); } `,` em.framer-text { font-family: var(--framer-font-family-italic); font-style: var(--framer-font-style-italic, italic); font-weight: var(--framer-font-weight-italic); } `,` em.framer-text > strong.framer-text { font-family: var(--framer-font-family-bold-italic); font-style: var(--framer-font-style-bold-italic, italic); font-weight: 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-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-line-height, 1.3em)) / 2)); margin: min(0em, calc(calc(1.3em - 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); } `,` 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%; } } `],zL=new Set,op;function HS(e,t,n=zL){if(!(!e||n.has(e)||typeof document>"u")){if(n.add(e),!t){if(!op){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)op=r.sheet;else{console.warn("not injecting CSS: injected