import{a as gc,b as $e,c as I}from"./chunk-ELYU6EKT.mjs";var We={};gc(We,{Children:()=>eo,Component:()=>fe,Fragment:()=>Ua,Profiler:()=>Bw,PureComponent:()=>Qh,StrictMode:()=>zw,Suspense:()=>Hw,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>Nw,cloneElement:()=>pr,createContext:()=>de,createElement:()=>J,createFactory:()=>$w,createRef:()=>Jh,default:()=>m,forwardRef:()=>Ue,isValidElement:()=>qr,lazy:()=>Uw,memo:()=>Ww,startTransition:()=>Zr,unstable_act:()=>jw,useCallback:()=>xe,useContext:()=>D,useDebugValue:()=>Xw,useDeferredValue:()=>Gw,useEffect:()=>j,useId:()=>mr,useImperativeHandle:()=>Yw,useInsertionEffect:()=>gr,useLayoutEffect:()=>vr,useMemo:()=>ae,useReducer:()=>Kw,useRef:()=>B,useState:()=>vt,useSyncExternalStore:()=>qw,useTransition:()=>Zw,version:()=>Qw});var m={},Ji=Symbol.for("react.element"),kw=Symbol.for("react.portal"),Cw=Symbol.for("react.fragment"),Ew=Symbol.for("react.strict_mode"),Tw=Symbol.for("react.profiler"),_w=Symbol.for("react.provider"),Rw=Symbol.for("react.context"),Pw=Symbol.for("react.forward_ref"),Iw=Symbol.for("react.suspense"),Fw=Symbol.for("react.memo"),Mw=Symbol.for("react.lazy"),$h=Symbol.iterator;function Lw(e){return e===null||typeof e!="object"?null:(e=$h&&e[$h]||e["@@iterator"],typeof e=="function"?e:null)}var jh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Xh=Object.assign,Gh={};function Kr(e,t,n){this.props=e,this.context=t,this.refs=Gh,this.updater=n||jh}Kr.prototype.isReactComponent={};Kr.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")};Kr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Yh(){}Yh.prototype=Kr.prototype;function yc(e,t,n){this.props=e,this.context=t,this.refs=Gh,this.updater=n||jh}var bc=yc.prototype=new Yh;bc.constructor=yc;Xh(bc,Kr.prototype);bc.isPureReactComponent=!0;var Uh=Array.isArray,Kh=Object.prototype.hasOwnProperty,xc={current:null},qh={key:!0,ref:!0,__self:!0,__source:!0};function Zh(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)Kh.call(t,r)&&!qh.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1function(){return t||(0,e[pm(e)[0]])((t={exports:{}}).exports,t),t.exports},rS=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of pm(t))!nS.call(e,i)&&i!==n&&hm(e,i,{get:()=>t[i],enumerable:!(r=eS(t,i))||r.enumerable});return e},Le=(e,t,n)=>(n=e!=null?Jw(tS(e)):{},rS(t||!e||!e.__esModule?hm(n,"default",{value:e,enumerable:!0}):n,e)),mm=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},lt=(e,t,n)=>(mm(e,t,"read from private field"),n?n.call(e):t.get(e)),go=(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)},Zc=(e,t,n,r)=>(mm(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),iS=nn({"../../../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}}),oS=nn({"../../../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(iS()),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}}),Cr=de({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),vo=de({}),oi=de(null),yo=typeof document<"u",Er=yo?vr:j,Qc=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),aS="framerAppearId",as="data-"+Qc(aS),ho=de({}),ss=de({}),gm=de({strict:!1});function sS(e,t,n,r){let{visualElement:i}=D(vo),o=D(gm),a=D(oi),s=D(Cr).reducedMotion,l=B();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));let c=l.current;gr(()=>{c&&c.update(n,a)});let u=B(Boolean(n[as]));return Er(()=>{c&&(c.render(),u.current&&c.animationState&&c.animationState.animateChanges())}),j(()=>{c&&(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),u.current&&(I.HandoffAppearAnimations=!1,u.current=!1))}),c}function Qr(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function lS(e,t,n){return xe(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Qr(n)&&(n.current=r))},[t])}function po(e){return typeof e=="string"||Array.isArray(e)}function ls(e){return typeof e=="object"&&typeof e.start=="function"}var Jc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],eu=["initial",...Jc];function cs(e){return ls(e.animate)||eu.some(t=>po(e[t]))}function vm(e){return Boolean(cs(e)||e.variants)}function cS(e,t){if(cs(e)){let{initial:n,animate:r}=e;return{initial:n===!1||po(n)?n:void 0,animate:po(r)?r:void 0}}return e.inherit!==!1?t:{}}function uS(e){let{initial:t,animate:n}=cS(e,D(vo));return ae(()=>({initial:t,animate:n}),[ep(t),ep(n)])}function ep(e){return Array.isArray(e)?e.join(" "):e}var tp={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"]},mo={};for(let e in tp)mo[e]={isEnabled:t=>tp[e].some(n=>!!t[n])};function fS(e){for(let t in e)mo[t]={...mo[t],...e[t]}}var tu=Symbol.for("motionComponentSymbol");function ym({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&fS(e);function o(s,l){let c,u={...D(Cr),...s,layoutId:dS(s)},{isStatic:d}=u,f=uS(s),p=r(s,d);if(!d&&yo){f.visualElement=sS(i,p,u,t);let v=D(ss),b=D(gm).strict;f.visualElement&&(c=f.visualElement.loadFeatures(u,b,e,v))}return J(vo.Provider,{value:f},c&&f.visualElement?J(c,{visualElement:f.visualElement,...u}):null,n(i,s,lS(p,f.visualElement,l),p,d,f.visualElement))}let a=Ue(o);return a[tu]=i,a}function dS({layoutId:e}){let t=D(ho).id;return t&&e!==void 0?t+"-"+e:e}var Qa={};function nu(e){Object.assign(Qa,e)}var Te=e=>Boolean(e&&e.getVelocity),bo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Tr=new Set(bo),hS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},pS=bo.length;function bm(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let a=0;aMath.min(Math.max(n,e),t),ao=e=>Math.round(e*1e5)/1e5,us=/(-)?([\d]*\.?[\d])+/g,xm=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,mS=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function xo(e){return typeof e=="string"}var wo=e=>({test:t=>xo(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ln=wo("deg"),Qt=wo("%"),N=wo("px"),gS=wo("vh"),vS=wo("vw"),np={...Qt,parse:e=>Qt.parse(e)/100,transform:e=>Qt.transform(e*100)},yS=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function ni(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||yS.has(e)}var wm=e=>!ni(e);function Sm(e){e&&(wm=t=>t.startsWith("on")?!ni(t):e(t))}try{Sm(oS().default)}catch{}function km(e,t,n){let r={};for(let i in e)i==="values"&&typeof e.values=="object"||(wm(i)||n===!0&&ni(i)||!t&&!ni(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}var Ja=e=>Array.isArray(e),bS=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),xS=e=>Ja(e)?e[e.length-1]||0:e;function Xe(e){let t=Te(e)?e.get():e;return bS(t)?t.toValue():t}function ru(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 bn(e){let t=B(null);return t.current===null&&(t.current=e()),t.current}function wS({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){let a={latestValues:SS(r,i,o,e),renderState:t()};return n&&(a.mount=s=>n(r,s,a)),a}var fs=e=>(t,n)=>{let r=D(vo),i=D(oi),o=()=>wS(e,t,r,i);return n?o():bn(o)};function SS(e,t,n,r){let i={},o=r(e,{});for(let f in o)i[f]=Xe(o[f]);let{initial:a,animate:s}=e,l=cs(e),c=vm(e);t&&c&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u=u||a===!1;let d=u?s:a;return d&&typeof d!="boolean"&&!ls(d)&&(Array.isArray(d)?d:[d]).forEach(p=>{let v=ru(e,p);if(!v)return;let{transitionEnd:b,transition:w,...h}=v;for(let g in h){let y=h[g];if(Array.isArray(y)){let x=u?y.length-1:0;y=y[x]}y!==null&&(i[g]=y)}for(let g in b)i[g]=b[g]}),i}var ve=e=>e,rp=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 kS(e){let t=new rp,n=new rp,r=0,i=!1,o=!1,a=new WeakSet,s={schedule:(l,c=!1,u=!1)=>{let d=u&&i,f=d?t:n;return c&&a.add(l),f.add(l)&&d&&i&&(r=t.order.length),l},cancel:l=>{n.remove(l),a.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(d[f]=kS(()=>n=!0),d),{}),a=d=>o[d].process(i),s=()=>{let d=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(d-i.timestamp,CS),1),i.timestamp=d,i.isProcessing=!0,io.forEach(a),i.isProcessing=!1,n&&t&&(r=!1,e(s))},l=()=>{n=!0,r=!0,i.isProcessing||e(s)};return{schedule:io.reduce((d,f)=>{let p=o[f];return d[f]=(v,b=!1,w=!1)=>(n||l(),p.schedule(v,b,w)),d},{}),cancel:d=>io.forEach(f=>o[f].cancel(d)),state:i,steps:o}}var{schedule:K,cancel:at,state:ge,steps:Ya}=ES(typeof requestAnimationFrame<"u"?requestAnimationFrame:ve,!0),Cm=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function ds(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}var Em=e=>t=>Cm(t)&&e(t,ds(t));function mn(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Jt(e,t,n,r){return mn(e,t,Em(n),r)}var TS=(e,t)=>n=>t(e(n)),gn=(...e)=>e.reduce(TS);function Tm(e){let t=null;return()=>{let n=()=>{t=null};return t===null?(t=e,n):!1}}var ip=Tm("dragHorizontal"),op=Tm("dragVertical");function _m(e){let t=!1;if(e==="y")t=op();else if(e==="x")t=ip();else{let n=ip(),r=op();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function iu(){let e=_m(!0);return e?(e(),!1):!0}var So=ve,Ve=ve,Rm=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,_S=1e-7,RS=12;function PS(e,t,n,r,i){let o,a,s=0;do a=t+(n-t)/2,o=Rm(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>_S&&++sPS(o,0,1,e,n);return o=>o===0||o===1?o:Rm(i(o),t,r)}var Pm=ai(.42,0,1,1),Im=ai(0,0,.58,1),ou=ai(.42,0,.58,1),au=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,su=e=>t=>1-e(1-t),lu=e=>1-Math.sin(Math.acos(e)),hs=su(lu),Fm=au(hs),cu=ai(.33,1.53,.69,.99),ps=su(cu),Mm=au(ps),Lm=e=>(e*=2)<1?.5*ps(e):.5*(2-Math.pow(2,-10*(e-1))),_r={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},so={..._r,transform:e=>yn(0,1,e)},Wa={..._r,default:1},uu=(e,t)=>n=>Boolean(xo(n)&&mS.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Om=(e,t,n)=>r=>{if(!xo(r))return r;let[i,o,a,s]=r.match(us);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},IS=e=>yn(0,255,e),Sc={..._r,transform:e=>Math.round(IS(e))},Sr={test:uu("rgb","red"),parse:Om("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Sc.transform(e)+", "+Sc.transform(t)+", "+Sc.transform(n)+", "+ao(so.transform(r))+")"};function FS(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 Oc={test:uu("#"),parse:FS,transform:Sr.transform},Jr={test:uu("hsl","hue"),parse:Om("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Qt.transform(ao(t))+", "+Qt.transform(ao(n))+", "+ao(so.transform(r))+")"},je={test:e=>Sr.test(e)||Oc.test(e)||Jr.test(e),parse:e=>Sr.test(e)?Sr.parse(e):Jr.test(e)?Jr.parse(e):Oc.parse(e),transform:e=>xo(e)?e:e.hasOwnProperty("red")?Sr.transform(e):Jr.transform(e)},re=(e,t,n)=>-n*e+n*t+e,Dm=e=>t=>typeof t=="string"&&t.startsWith(e),Am=Dm("--"),Dc=Dm("var(--"),MS=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g;function LS(e){var t,n;return isNaN(e)&&xo(e)&&(((t=e.match(us))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(xm))===null||n===void 0?void 0:n.length)||0)>0}var Vm={regex:MS,countKey:"Vars",token:"${v}",parse:ve},Bm={regex:xm,countKey:"Colors",token:"${c}",parse:je.parse},zm={regex:us,countKey:"Numbers",token:"${n}",parse:_r.parse};function kc(e,{regex:t,countKey:n,token:r,parse:i}){let o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function es(e){let t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&kc(n,Vm),kc(n,Bm),kc(n,zm),n}function Hm(e){return es(e).values}function Nm(e){let{values:t,numColors:n,numVars:r,tokenised:i}=es(e),o=t.length;return a=>{let s=i;for(let l=0;ltypeof e=="number"?0:e;function DS(e){let t=Hm(e);return Nm(e)(t.map(OS))}var tn={test:LS,parse:Hm,createTransformer:Nm,getAnimatableNone:DS},An=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r};function Cc(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 AS({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{let s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=Cc(l,s,e+1/3),o=Cc(l,s,e),a=Cc(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}var Ec=(e,t,n)=>{let r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},VS=[Oc,Sr,Jr],BS=e=>VS.find(t=>t.test(e));function ap(e){let t=BS(e);Ve(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Jr&&(n=AS(n)),n}var $m=(e,t)=>{let n=ap(e),r=ap(t),i={...n};return o=>(i.red=Ec(n.red,r.red,o),i.green=Ec(n.green,r.green,o),i.blue=Ec(n.blue,r.blue,o),i.alpha=re(n.alpha,r.alpha,o),Sr.transform(i))},Um=(e,t)=>n=>`${n>0?t:e}`;function Wm(e,t){return typeof e=="number"?n=>re(e,t,n):je.test(e)?$m(e,t):e.startsWith("var(")?Um(e,t):Xm(e,t)}var jm=(e,t)=>{let n=[...e],r=n.length,i=e.map((o,a)=>Wm(o,t[a]));return o=>{for(let a=0;a{let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Wm(e[i],t[i]));return i=>{for(let o in r)n[o]=r[o](i);return n}},Xm=(e,t)=>{let n=tn.createTransformer(t),r=es(e),i=es(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?gn(jm(r.values,i.values),n):(So(!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.`),Um(e,t))},sp=(e,t)=>n=>re(e,t,n);function HS(e){return typeof e=="number"?sp:typeof e=="string"?je.test(e)?$m:Xm:Array.isArray(e)?jm:typeof e=="object"?zS:sp}function NS(e,t,n){let r=[],i=n||HS(e[0]),o=e.length-1;for(let a=0;at[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=NS(t,r,i),s=a.length,l=c=>{let u=0;if(s>1)for(;ul(yn(e[0],e[o-1],c)):l}var vn=e=>e*1e3,en=e=>e/1e3;function fu(e,t){return t?e*(1e3/t):0}var $S=5;function Gm(e,t,n){let r=Math.max(t-$S,0);return fu(n-e(r),t-r)}var Tc=.001,US=.01,lp=10,WS=.05,jS=1;function XS({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;So(e<=vn(lp),"Spring duration must be 10 seconds or less");let a=1-t;a=yn(WS,jS,a),e=yn(US,lp,en(e)),a<1?(i=c=>{let u=c*a,d=u*e,f=u-n,p=Ac(c,a),v=Math.exp(-d);return Tc-f/p*v},o=c=>{let d=c*a*e,f=d*n+n,p=Math.pow(a,2)*Math.pow(c,2)*e,v=Math.exp(-d),b=Ac(Math.pow(c,2),a);return(-i(c)+Tc>0?-1:1)*((f-p)*v)/b}):(i=c=>{let u=Math.exp(-c*e),d=(c-n)*e+1;return-Tc+u*d},o=c=>{let u=Math.exp(-c*e),d=(n-c)*(e*e);return u*d});let s=5/e,l=YS(i,o,s);if(e=vn(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let c=Math.pow(l,2)*r;return{stiffness:c,damping:a*2*Math.sqrt(r*c),duration:e}}}var GS=12;function YS(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function ZS(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!cp(e,qS)&&cp(e,KS)){let n=XS(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function ko({keyframes:e,restDelta:t,restSpeed:n,...r}){let i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:f}=ZS(r),p=u?-en(u):0,v=l/(2*Math.sqrt(s*c)),b=o-i,w=en(Math.sqrt(s/c)),h=Math.abs(b)<5;n||(n=h?.01:2),t||(t=h?.005:.5);let g;if(v<1){let y=Ac(w,v);g=x=>{let k=Math.exp(-v*w*x);return o-k*((p+v*w*b)/y*Math.sin(y*x)+b*Math.cos(y*x))}}else if(v===1)g=y=>o-Math.exp(-w*y)*(b+(p+w*b)*y);else{let y=w*Math.sqrt(v*v-1);g=x=>{let k=Math.exp(-v*w*x),S=Math.min(y*x,300);return o-k*((p+v*w*b)*Math.sinh(S)+y*b*Math.cosh(S))/y}}return{calculatedDuration:f&&d||null,next:y=>{let x=g(y);if(f)a.done=y>=d;else{let k=p;y!==0&&(v<1?k=Gm(g,y,x):k=0);let S=Math.abs(k)<=n,E=Math.abs(o-x)<=t;a.done=S&&E}return a.value=a.done?o:x,a}}}var Ym=e=>Array.isArray(e)&&typeof e[0]!="number",up={linear:ve,easeIn:Pm,easeInOut:ou,easeOut:Im,circIn:lu,circInOut:Fm,circOut:hs,backIn:ps,backInOut:Mm,backOut:cu,anticipate:Lm},fp=e=>{if(Array.isArray(e)){Ve(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return ai(t,n,r,i)}else if(typeof e=="string")return Ve(up[e]!==void 0,`Invalid easing type '${e}'`),up[e];return e};function Km(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=An(0,t,r);e.push(re(n,1,i))}}function du(e){let t=[0];return Km(t,e.length-1),t}function QS(e,t){return e.map(n=>n*t)}function JS(e,t){return e.map(()=>t||ou).splice(0,e.length-1)}function ts({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=Ym(r)?r.map(fp):fp(r),o={done:!1,value:t[0]},a=QS(n&&n.length===t.length?n:du(t),e),s=Rr(a,t,{ease:Array.isArray(i)?i:JS(t,i)});return{calculatedDuration:e,next:l=>(o.value=s(l),o.done=l>=e,o)}}function dp({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=C=>s!==void 0&&Cl,v=C=>s===void 0?l:l===void 0||Math.abs(s-C)-b*Math.exp(-C/r),y=C=>h+g(C),x=C=>{let _=g(C),T=y(C);f.done=Math.abs(_)<=c,f.value=f.done?h:T},k,S,E=C=>{p(f.value)&&(k=C,S=ko({keyframes:[f.value,v(f.value)],velocity:Gm(y,C,f.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return E(0),{calculatedDuration:null,next:C=>{let _=!1;return!S&&k===void 0&&(_=!0,x(C),E(C)),k!==void 0&&C>k?S.next(C-k):(!_&&x(C),f)}}}var ek=e=>{let t=({timestamp:n})=>e(n);return{start:()=>K.update(t,!0),stop:()=>at(t),now:()=>ge.isProcessing?ge.timestamp:performance.now()}},Vc=2e4;function Bc(e){let t=0,n=50,r=e.next(t);for(;!r.done&&t=Vc?1/0:t}var tk={decay:dp,inertia:dp,tween:ts,keyframes:ts,spring:ko};function ri({autoplay:e=!0,delay:t=0,driver:n=ek,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...f}){let p=1,v=!1,b,w,h=()=>{w=new Promise(H=>{b=H})};h();let g,y=tk[i]||ts,x;y!==ts&&typeof r[0]!="number"&&(x=Rr([0,100],r,{clamp:!1}),r=[0,100]);let k=y({...f,keyframes:r}),S;s==="mirror"&&(S=y({...f,keyframes:[...r].reverse(),velocity:-(f.velocity||0)}));let E="idle",C=null,_=null,T=null;k.calculatedDuration===null&&o&&(k.calculatedDuration=Bc(k));let{calculatedDuration:L}=k,A=1/0,$=1/0;L!==null&&(A=L+a,$=A*(o+1)-a);let V=0,F=H=>{if(_===null)return;p>0&&(_=Math.min(_,H)),p<0&&(_=Math.min(H-$/p,_)),C!==null?V=C:V=Math.round(H-_)*p;let oe=V-t*(p>=0?1:-1),W=p>=0?oe<0:oe>$;V=Math.max(oe,0),E==="finished"&&C===null&&(V=$);let X=V,Tt=k;if(o){let _t=V/A,Ee=Math.floor(_t),Ne=_t%1;!Ne&&_t>=1&&(Ne=1),Ne===1&&Ee--,Ee=Math.min(Ee,o+1);let qi=Boolean(Ee%2);qi&&(s==="reverse"?(Ne=1-Ne,a&&(Ne-=a/A)):s==="mirror"&&(Tt=S));let qt=yn(0,1,Ne);V>$&&(qt=s==="reverse"&&qi?1:0),X=qt*A}let Ce=W?{done:!1,value:r[0]}:Tt.next(X);x&&(Ce.value=x(Ce.value));let{done:gt}=Ce;!W&&L!==null&&(gt=p>=0?V>=$:V<=0);let Y=C===null&&(E==="finished"||E==="running"&>);return d&&d(Ce.value),Y&&q(),Ce},G=()=>{g&&g.stop(),g=void 0},P=()=>{E="idle",G(),b(),h(),_=T=null},q=()=>{E="finished",u&&u(),G(),b()},ee=()=>{if(v)return;g||(g=n(F));let H=g.now();l&&l(),C!==null?_=H-C:(!_||E==="finished")&&(_=H),E==="finished"&&h(),T=_,C=null,E="running",g.start()};e&&ee();let ne={then(H,oe){return w.then(H,oe)},get time(){return en(V)},set time(H){H=vn(H),V=H,C!==null||!g||p===0?C=H:_=g.now()-H/p},get duration(){let H=k.calculatedDuration===null?Bc(k):k.calculatedDuration;return en(H)},get speed(){return p},set speed(H){H===p||!g||(p=H,ne.time=en(V))},get state(){return E},play:ee,pause:()=>{E="paused",C=V},stop:()=>{v=!0,E!=="idle"&&(E="idle",c&&c(),P())},cancel:()=>{T!==null&&F(T),P()},complete:()=>{E="finished"},sample:H=>(_=0,F(H))};return ne}function hu(e,t){e.indexOf(t)===-1&&e.push(t)}function ms(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function nk([...e],t,n){let r=t<0?e.length+t:t;if(r>=0&&rms(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)),lo={current:void 0},gs=class{constructor(e,t={}){this.version="10.16.13-alpha.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(n,r=!0)=>{this.prev=this.current,this.current=n;let{delta:i,timestamp:o}=ge;this.lastUpdated!==o&&(this.timeDelta=i,this.lastUpdated=o,K.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>K.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=rk(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new pu);let n=this.events[e].add(t);return e==="change"?()=>{n(),K.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){!t||!this.passiveEffect?this.updateAndNotify(e,t):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return lo.current&&lo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?fu(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}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 Se(e,t){return new gs(e,t)}var qm=e=>/^\-?\d*\.?\d+$/.test(e),Zm=e=>/^0[^.\s]+$/.test(e),ik=new Set(["brightness","contrast","saturate","opacity"]);function ok(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=n.match(us)||[];if(!r)return e;let i=n.replace(r,""),o=ik.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}var ak=/([a-z-]*)\(.*?\)/g,zc={...tn,getAnimatableNone:e=>{let t=e.match(ak);return t?t.map(ok).join(" "):e}},hp={..._r,transform:Math.round},Qm={borderWidth:N,borderTopWidth:N,borderRightWidth:N,borderBottomWidth:N,borderLeftWidth:N,borderRadius:N,radius:N,borderTopLeftRadius:N,borderTopRightRadius:N,borderBottomRightRadius:N,borderBottomLeftRadius:N,width:N,maxWidth:N,height:N,maxHeight:N,size:N,top:N,right:N,bottom:N,left:N,padding:N,paddingTop:N,paddingRight:N,paddingBottom:N,paddingLeft:N,margin:N,marginTop:N,marginRight:N,marginBottom:N,marginLeft:N,rotate:Ln,rotateX:Ln,rotateY:Ln,rotateZ:Ln,scale:Wa,scaleX:Wa,scaleY:Wa,scaleZ:Wa,skew:Ln,skewX:Ln,skewY:Ln,distance:N,translateX:N,translateY:N,translateZ:N,x:N,y:N,z:N,perspective:N,transformPerspective:N,opacity:so,originX:np,originY:np,originZ:N,zIndex:hp,fillOpacity:so,strokeOpacity:so,numOctaves:hp},sk={...Qm,color:je,backgroundColor:je,outlineColor:je,fill:je,stroke:je,borderColor:je,borderTopColor:je,borderRightColor:je,borderBottomColor:je,borderLeftColor:je,filter:zc,WebkitFilter:zc},mu=e=>sk[e];function Jm(e,t){let n=mu(e);return n!==zc&&(n=tn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var eg=e=>t=>t.test(e),lk={test:e=>e==="auto",parse:e=>e},tg=[_r,N,Qt,Ln,vS,gS,lk],to=e=>tg.find(eg(e)),ck=[...tg,je,tn],uk=e=>ck.find(eg(e));function fk(e){let t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function dk(e){let t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function vs(e,t,n){let r=e.getProps();return ru(r,t,n!==void 0?n:r.custom,fk(e),dk(e))}function hk(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Se(n))}function gu(e,t){let n=vs(e,t),{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(let a in o){let s=xS(o[a]);hk(e,a,s)}}function Hc(e,t){[...t].reverse().forEach(r=>{let i=e.getVariant(r);i&&gu(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{Hc(o,t)})})}function pk(e,t){if(Array.isArray(t))return Hc(e,t);if(typeof t=="string")return Hc(e,[t]);gu(e,t)}function ng(e,t,n){var r,i;let o=Object.keys(t).filter(s=>!e.hasValue(s)),a=o.length;if(a)for(let s=0;sArray.isArray(e)&&typeof e[0]=="number";function ig(e){return Boolean(!e||typeof e=="string"&&og[e]||rg(e)||Array.isArray(e)&&e.every(ig))}var oo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,og={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:oo([0,.65,.55,1]),circOut:oo([.55,0,1,.45]),backIn:oo([.31,.01,.66,-.59]),backOut:oo([.33,1.53,.69,.99])};function ag(e){if(e)return rg(e)?oo(e):Array.isArray(e)?e.map(ag):og[e]}function vk(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){let c={[t]:n};l&&(c.offset=l);let u=ag(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"})}function yk(e,{repeat:t,repeatType:n="loop"}){let r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}function sg(e){let t;return()=>(t===void 0&&(t=e()),t)}var bk=sg(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),xk=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),ja=10,wk=2e4,Sk=(e,t)=>t.type==="spring"||e==="backgroundColor"||!ig(t.ease);function kk(e,t,{onUpdate:n,onComplete:r,...i}){if(!(bk()&&xk.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let a=!1,s,l,c=()=>{l=new Promise(g=>{s=g})};c();let{keyframes:u,duration:d=300,ease:f,times:p}=i;if(Sk(t,i)){let g=ri({...i,repeat:0,delay:0}),y={done:!1,value:u[0]},x=[],k=0;for(;!y.done&&kv.cancel(),w=()=>{K.update(b),s(),c()};return v.onfinish=()=>{e.set(yk(u,i)),r&&r(),w()},{then(g,y){return l.then(g,y)},attachTimeline(g){return v.timeline=g,v.onfinish=null,ve},get time(){return en(v.currentTime||0)},set time(g){v.currentTime=vn(g)},get speed(){return v.playbackRate},set speed(g){v.playbackRate=g},get duration(){return en(d)},play:()=>{a||(v.play(),at(b))},pause:()=>v.pause(),stop:()=>{if(a=!0,v.playState==="idle")return;let{currentTime:g}=v;if(g){let y=ri({...i,autoplay:!1});e.setWithVelocity(y.sample(g-ja).value,y.sample(g).value,ja)}w()},complete:()=>v.finish(),cancel:w}}function Ck({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:ve,pause:ve,stop:ve,then:o=>(o(),Promise.resolve()),cancel:ve,complete:ve});return t?ri({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}var Ek={type:"spring",stiffness:500,damping:25,restSpeed:10},Tk=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),_k={type:"keyframes",duration:.8},Rk={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Pk=(e,{keyframes:t})=>t.length>2?_k:Tr.has(e)?e.startsWith("scale")?Tk(t[1]):Ek:Rk,Nc=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(tn.test(t)||t==="0")&&!t.startsWith("url("));function Ik(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Zm(e)}function Fk(e,t,n,r){let i=Nc(t,n),o;Array.isArray(n)?o=[...n]:o=[null,n];let a=r.from!==void 0?r.from:e.get(),s,l=[];for(let c=0;ci=>{let o=lg(r,e)||{},a=o.delay||r.delay||0,{elapsed:s=0}=r;s=s-vn(a);let l=Fk(t,e,n,o),c=l[0],u=l[l.length-1],d=Nc(e,c),f=Nc(e,u);So(d===f,`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 p={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:v=>{t.set(v),o.onUpdate&&o.onUpdate(v)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(Mk(o)||(p={...p,...Pk(e,p)}),p.duration&&(p.duration=vn(p.duration)),p.repeatDelay&&(p.repeatDelay=vn(p.repeatDelay)),!d||!f||ns.current||o.type===!1)return Ck(ns.current?{...p,delay:0}:p);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let v=kk(t,e,p);if(v)return v}return ri(p)};function rs(e){return Boolean(Te(e)&&e.add)}function Lk({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function yu(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t),l=e.getValue("willChange");r&&(o=r);let c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(let d in s){let f=e.getValue(d),p=s[d];if(!f||p===void 0||u&&Lk(u,d))continue;let v={delay:n,elapsed:0,...o};if(I.HandoffAppearAnimations&&!f.hasAnimated){let w=e.getProps()[as];w&&(v.elapsed=I.HandoffAppearAnimations(w,d,f,K),v.syncStart=!0)}f.start(vu(d,f,p,e.shouldReduceMotion&&Tr.has(d)?{type:!1}:v));let b=f.animation;rs(l)&&(l.add(d),b.then(()=>l.remove(d))),c.push(b)}return a&&Promise.all(c).then(()=>{a&&gu(e,a)}),c}function $c(e,t,n={}){let r=vs(e,t,n.custom),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let o=r?()=>Promise.all(yu(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(l=0)=>{let{delayChildren:c=0,staggerChildren:u,staggerDirection:d}=i;return Ok(e,t,c+l,u,d,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[l,c]=s==="beforeChildren"?[o,a]:[a,o];return l().then(()=>c())}else return Promise.all([o(),a(n.delay)])}function Ok(e,t,n=0,r=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*r,l=i===1?(c=0)=>c*r:(c=0)=>s-c*r;return Array.from(e.variantChildren).sort(Dk).forEach((c,u)=>{c.notify("AnimationStart",t),a.push($c(c,t,{...o,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(a)}function Dk(e,t){return e.sortNodePosition(t)}function bu(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){let i=t.map(o=>$c(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=$c(e,t,n);else{let i=typeof t=="function"?vs(e,t,n.custom):t;r=Promise.all(yu(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}function cg(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})=>bu(e,n,r)))}function zk(e){let t=Bk(e),n=Nk(),r=!0,i=(l,c)=>{let u=vs(e,c);if(u){let{transition:d,transitionEnd:f,...p}=u;l={...l,...p,...f}}return l};function o(l){t=l(e)}function a(l,c){let u=e.getProps(),d=e.getVariantContext(!0)||{},f=[],p=new Set,v={},b=1/0;for(let h=0;hb&&k,T=Array.isArray(x)?x:[x],L=T.reduce(i,{});S===!1&&(L={});let{prevResolvedValues:A={}}=y,$={...A,...L},V=F=>{_=!0,p.delete(F),y.needsAnimating[F]=!0};for(let F in $){let G=L[F],P=A[F];v.hasOwnProperty(F)||(G!==P?Ja(G)&&Ja(P)?!cg(G,P)||C?V(F):y.protectedKeys[F]=!0:G!==void 0?V(F):p.add(F):G!==void 0&&p.has(F)?V(F):y.protectedKeys[F]=!0)}y.prevProp=x,y.prevResolvedValues=L,y.isActive&&(v={...v,...L}),r&&e.blockInitialAnimation&&(_=!1),_&&!E&&f.push(...T.map(F=>({animation:F,options:{type:g,...l}})))}if(p.size){let h={};p.forEach(g=>{let y=e.getBaseTarget(g);y!==void 0&&(h[g]=y)}),f.push({animation:h})}let w=Boolean(f.length);return r&&u.initial===!1&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,w?t(f):Promise.resolve()}function s(l,c,u){var d;if(n[l].isActive===c)return Promise.resolve();(d=e.variantChildren)===null||d===void 0||d.forEach(p=>{var v;return(v=p.animationState)===null||v===void 0?void 0:v.setActive(l,c)}),n[l].isActive=c;let f=a(u,l);for(let p in n)n[p].protectedKeys={};return f}return{animateChanges:a,setActive:s,setAnimateFunction:o,getState:()=>n}}function Hk(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!cg(t,e):!1}function yr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Nk(){return{animate:yr(!0),whileInView:yr(),whileHover:yr(),whileTap:yr(),whileDrag:yr(),whileFocus:yr(),exit:yr()}}var Bn=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},$k=class extends Bn{constructor(e){super(e),e.animationState||(e.animationState=zk(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),ls(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(){}},Uk=0,Wk=class extends Bn{constructor(){super(...arguments),this.id=Uk++}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(){}},xu={animation:{Feature:$k},exit:{Feature:Wk}},Uc=(e,t)=>Math.abs(e-t);function ug(e,t){let n=Uc(e.x,t.x),r=Uc(e.y,t.y);return Math.sqrt(n**2+r**2)}function st(e){return e.max-e.min}function Wc(e,t=0,n=.01){return Math.abs(e-t)<=n}function pp(e,t,n,r=.5){e.origin=r,e.originPoint=re(t.min,t.max,e.origin),e.scale=st(n)/st(t),(Wc(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=re(n.min,n.max,e.origin)-e.originPoint,(Wc(e.translate)||isNaN(e.translate))&&(e.translate=0)}function co(e,t,n,r){pp(e.x,t.x,n.x,r?r.originX:void 0),pp(e.y,t.y,n.y,r?r.originY:void 0)}function mp(e,t,n){e.min=n.min+t.min,e.max=e.min+st(t)}function jk(e,t,n){mp(e.x,t.x,n.x),mp(e.y,t.y,n.y)}function gp(e,t,n){e.min=t.min-n.min,e.max=e.min+st(t)}function uo(e,t,n){gp(e.x,t.x,n.x),gp(e.y,t.y,n.y)}var vp=()=>({translate:0,scale:1,origin:0,originPoint:0}),ei=()=>({x:vp(),y:vp()}),yp=()=>({min:0,max:0}),we=()=>({x:yp(),y:yp()});function wu(){let e=D(oi);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=mr();return j(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}var Xk=(e,t)=>e.depth-t.depth,fg=class{constructor(){this.children=[],this.isDirty=!1}add(e){hu(this.children,e),this.isDirty=!0}remove(e){ms(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Xk),this.isDirty=!1,this.children.forEach(e)}};function dg(e,t){let n=performance.now(),r=({timestamp:i})=>{let o=i-n;o>=t&&(at(r),e(o-t))};return K.read(r,!0),()=>at(r)}var Vn=new WeakMap,is={current:null},Su={current:!1};function hg(){if(Su.current=!0,!!yo)if(I.matchMedia){let e=I.matchMedia("(prefers-reduced-motion)"),t=()=>is.current=e.matches;e.addListener(t),t()}else is.current=!1}function Gk(e,t,n){let{willChange:r}=t;for(let i in t){let o=t[i],a=n[i];if(Te(o))e.addValue(i,o),rs(r)&&r.add(i);else if(Te(a))e.addValue(i,Se(o,{owner:e})),rs(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){let s=e.getValue(i);!s.hasAnimated&&s.set(o)}else{let s=e.getStaticValue(i);e.addValue(i,Se(s!==void 0?s:o,{owner:e}))}}for(let i in n)t[i]===void 0&&e.removeValue(i);return t}var pg=Object.keys(mo),Yk=pg.length,bp=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Kk=eu.length,mg=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=()=>K.render(this.render,!1,!0);let{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=cs(t),this.isVariantNode=vm(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);let{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(let u in c){let d=c[u];a[u]!==void 0&&Te(d)&&(d.set(a[u],!1),rs(l)&&l.add(u))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Vn.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)),Su.current||hg(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:is.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Vn.delete(this.current),this.projection&&this.projection.unmount(),at(this.notifyUpdate),at(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=Tr.has(e),r=t.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&K.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,a;for(let s=0;sthis.scheduleRender(),animationType:typeof l=="string"?l:"both",initialPromotionConfig:i,layoutScroll:d,layoutRoot:f})}return a}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):we()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,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=Se(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=ru(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&&!Te(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 pu),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}};function gg(e){function t(r,i={}){return ym(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 qk=["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 ku(e){return typeof e!="string"||e.includes("-")?!1:!!(qk.indexOf(e)>-1||/[A-Z]/.test(e))}function vg(e,{layout:t,layoutId:n}){return Tr.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Qa[e]||e==="opacity")}var Zk=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Cu(e,t,n,r){let{style:i,vars:o,transform:a,transformOrigin:s}=e,l=!1,c=!1,u=!0;for(let d in t){let f=t[d];if(Am(d)){o[d]=f;continue}let p=Qm[d],v=Zk(f,p);if(Tr.has(d)){if(l=!0,a[d]=v,!u)continue;f!==(p.default||0)&&(u=!1)}else d.startsWith("origin")?(c=!0,s[d]=v):i[d]=v}if(t.transform||(l||r?i.transform=bm(e.transform,n,u,r):i.transform&&(i.transform="none")),c){let{originX:d="50%",originY:f="50%",originZ:p=0}=s;i.transformOrigin=`${d} ${f} ${p}`}}var Eu=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function yg(e,t,n){for(let r in t)!Te(t[r])&&!vg(r,n)&&(e[r]=t[r])}function Qk({transformTemplate:e},t,n){return ae(()=>{let r=Eu();return Cu(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function Jk(e,t,n){let r=e.style||{},i={};return yg(i,r,e),Object.assign(i,Qk(e,t,n)),e.transformValues?e.transformValues(i):i}function eC(e,t,n){let r={},i=Jk(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 xp(e,t,n){return typeof e=="string"?e:N.transform(t+n*e)}function tC(e,t,n){let r=xp(t,e.x,e.width),i=xp(n,e.y,e.height);return`${r} ${i}`}var nC={offset:"stroke-dashoffset",array:"stroke-dasharray"},rC={offset:"strokeDashoffset",array:"strokeDasharray"};function iC(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?nC:rC;e[o.offset]=N.transform(-r);let a=N.transform(t),s=N.transform(n);e[o.array]=`${a} ${s}`}function Tu(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,f){if(Cu(e,c,u,f),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:p,style:v,dimensions:b}=e;p.transform&&(b&&(v.transform=p.transform),delete p.transform),b&&(i!==void 0||o!==void 0||v.transform)&&(v.transformOrigin=tC(b,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),a!==void 0&&iC(p,a,s,l,!1)}var bg=()=>({...Eu(),attrs:{}}),_u=e=>typeof e=="string"&&e.toLowerCase()==="svg";function oC(e,t,n,r){let i=ae(()=>{let o=bg();return Tu(o,t,{enableHardwareAcceleration:!1},_u(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};yg(o,e.style,e),i.style={...o,...i.style}}return i}function aC(e=!1){return(n,r,i,{latestValues:o},a)=>{let l=(ku(n)?oC:eC)(r,o,a,n),u={...km(r,typeof n=="string",e),...l,ref:i},{children:d}=r,f=ae(()=>Te(d)?d.get():d,[d]);return J(n,{...u,children:f})}}function xg(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 wg=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 Sg(e,t,n,r){xg(e,t,void 0,r);for(let i in t.attrs)e.setAttribute(wg.has(i)?i:Qc(i),t.attrs[i])}function Ru(e,t){let{style:n}=e,r={};for(let i in n)(Te(n[i])||t.style&&Te(t.style[i])||vg(i,e))&&(r[i]=n[i]);return r}function kg(e,t){let n=Ru(e,t);for(let r in e)if(Te(e[r])||Te(t[r])){let i=bo.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}var sC={useVisualState:fs({scrapeMotionValuesFromProps:kg,createRenderState:bg,onMount:(e,t,{renderState:n,latestValues:r})=>{K.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),K.render(()=>{Tu(n,r,{enableHardwareAcceleration:!1},_u(t.tagName),e.transformTemplate),Sg(t,n)})}})},lC={useVisualState:fs({scrapeMotionValuesFromProps:Ru,createRenderState:Eu})};function Cg(e,{forwardMotionProps:t=!1},n,r){return{...ku(e)?sC:lC,preloadedFeatures:n,useRender:aC(t),createVisualElement:r,Component:e}}function wp(e,t){let n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(o,a)=>{if(o.type==="touch"||iu())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[r]&&K.update(()=>s[r](o,a))};return Jt(e.current,n,i,{passive:!e.getProps()[r]})}var cC=class extends Bn{mount(){this.unmount=gn(wp(this.node,!0),wp(this.node,!1))}unmount(){}},uC=class extends Bn{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=gn(mn(this.node.current,"focus",()=>this.onFocus()),mn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}},Eg=(e,t)=>t?e===t?!0:Eg(e,t.parentElement):!1;function _c(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,ds(n))}var fC=class extends Bn{constructor(){super(...arguments),this.removeStartListeners=ve,this.removeEndListeners=ve,this.removeAccessibleListeners=ve,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;let n=this.node.getProps(),i=Jt(I,"pointerup",(a,s)=>{if(!this.checkPressEnd())return;let{onTap:l,onTapCancel:c}=this.node.getProps();K.update(()=>{Eg(this.node.current,a.target)?l&&l(a,s):c&&c(a,s)})},{passive:!(n.onTap||n.onPointerUp)}),o=Jt(I,"pointercancel",(a,s)=>this.cancelPress(a,s),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=gn(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=i=>{if(i.key!=="Enter"||this.isPressing)return;let o=a=>{a.key!=="Enter"||!this.checkPressEnd()||_c("up",(s,l)=>{let{onTap:c}=this.node.getProps();c&&K.update(()=>c(s,l))})};this.removeEndListeners(),this.removeEndListeners=mn(this.node.current,"keyup",o),_c("down",(a,s)=>{this.startPress(a,s)})},t=mn(this.node.current,"keydown",e),n=()=>{this.isPressing&&_c("cancel",(i,o)=>this.cancelPress(i,o))},r=mn(this.node.current,"blur",n);this.removeAccessibleListeners=gn(t,r)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&K.update(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!iu()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&K.update(()=>n(e,t))}mount(){let e=this.node.getProps(),t=Jt(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=mn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=gn(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}},jc=new WeakMap,Rc=new WeakMap,dC=e=>{let t=jc.get(e.target);t&&t(e)},hC=e=>{e.forEach(dC)};function pC({root:e,...t}){let n=e||document;Rc.has(n)||Rc.set(n,{});let r=Rc.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(hC,{root:e,...t})),r[i]}function mC(e,t,n){let r=pC(t);return jc.set(e,n),r.observe(e),()=>{jc.delete(e),r.unobserve(e)}}var gC={some:0,all:1},vC=class extends Bn{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:gC[r]},a=s=>{let{isIntersecting:l}=s;if(this.isInView===l||(this.isInView=l,i&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);let{onViewportEnter:c,onViewportLeave:u}=this.node.getProps(),d=l?c:u;d&&d(s)};return mC(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(yC(e,t))&&this.startObserver()}unmount(){}};function yC({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var Tg={inView:{Feature:vC},tap:{Feature:fC},focus:{Feature:uC},hover:{Feature:cC}},_g=class{constructor(e,t,{transformPagePoint:n,contextWindow:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=I,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let c=Ic(this.lastMoveEventInfo,this.history),u=this.startEvent!==null,d=ug(c.offset,{x:0,y:0})>=3;if(!u&&!d)return;let{point:f}=c,{timestamp:p}=ge;this.history.push({...f,timestamp:p});let{onStart:v,onMove:b}=this.handlers;u||(v&&v(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,c)},this.handlePointerMove=(c,u)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=Pc(u,this.transformPagePoint),K.update(this.updatePoint,!0)},this.handlePointerUp=(c,u)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:d,onSessionEnd:f}=this.handlers,p=Ic(c.type==="pointercancel"?this.lastMoveEventInfo:Pc(u,this.transformPagePoint),this.history);this.startEvent&&d&&d(c,p),f&&f(c,p)},!Cm(e))return;this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||I;let i=ds(e),o=Pc(i,this.transformPagePoint),{point:a}=o,{timestamp:s}=ge;this.history=[{...a,timestamp:s}];let{onSessionStart:l}=t;l&&l(e,Ic(o,this.history)),this.removeListeners=gn(Jt(this.contextWindow,"pointermove",this.handlePointerMove),Jt(this.contextWindow,"pointerup",this.handlePointerUp),Jt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),at(this.updatePoint)}};function Pc(e,t){return t?{point:t(e.point)}:e}function Sp(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ic({point:e},t){return{point:e,delta:Sp(e,Rg(t)),offset:Sp(e,bC(t)),velocity:xC(t,.1)}}function bC(e){return e[0]}function Rg(e){return e[e.length-1]}function xC(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Rg(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>vn(t)));)n--;if(!r)return{x:0,y:0};let o=en(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};let a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function wC(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?re(n,e,r.max):Math.min(e,n)),e}function kp(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 SC(e,{top:t,left:n,bottom:r,right:i}){return{x:kp(e.x,n,i),y:kp(e.y,t,r)}}function Cp(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=An(t.min,t.max-r,e.min):r>i&&(n=An(e.min,e.max-i,t.min)),yn(0,1,n)}function EC(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 Xc=.35;function TC(e=Xc){return e===!1?e=0:e===!0&&(e=Xc),{x:Ep(e,"left","right"),y:Ep(e,"top","bottom")}}function Ep(e,t,n){return{min:Tp(e,t),max:Tp(e,n)}}function Tp(e,t){return typeof e=="number"?e:e[t]||0}function Zt(e){return[e("x"),e("y")]}function Pg({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function _C({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function RC(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 Fc(e){return e===void 0||e===1}function Gc({scale:e,scaleX:t,scaleY:n}){return!Fc(e)||!Fc(t)||!Fc(n)}function br(e){return Gc(e)||Ig(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Ig(e){return _p(e.x)||_p(e.y)}function _p(e){return e&&e!=="0%"}function os(e,t,n){let r=e-n,i=t*r;return n+i}function Rp(e,t,n,r,i){return i!==void 0&&(e=os(e,i,r)),os(e,n,r)+t}function Yc(e,t=0,n=1,r,i){e.min=Rp(e.min,t,n,r,i),e.max=Rp(e.max,t,n,r,i)}function Fg(e,{x:t,y:n}){Yc(e.x,t.translate,t.scale,t.originPoint),Yc(e.y,n.translate,n.scale,n.originPoint)}function PC(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let o,a;for(let s=0;s1.0000000000001||e<.999999999999?e:1}function Dn(e,t){e.min=e.min+t,e.max=e.max+t}function Ip(e,t,[n,r,i]){let o=t[i]!==void 0?t[i]:.5,a=re(e.min,e.max,o);Yc(e,t[n],t[r],a,t.scale)}var IC=["x","scaleX","originX"],FC=["y","scaleY","originY"];function ti(e,t){Ip(e.x,t,IC),Ip(e.y,t,FC)}function Mg(e,t){return Pg(RC(e.getBoundingClientRect(),t))}function MC(e,t,n){let r=Mg(e,n),{scroll:i}=t;return i&&(Dn(r.x,i.offset.x),Dn(r.y,i.offset.y)),r}var Lg=({current:e})=>e?e.ownerDocument.defaultView:null,LC=new WeakMap,OC=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=we(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let r=s=>{this.stopAnimation(),t&&this.snapToCursor(ds(s,"page").point)},i=(s,l)=>{let{drag:c,dragPropagation:u,onDragStart:d}=this.getProps();if(c&&!u&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=_m(c),!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),Zt(p=>{let v=this.getAxisMotionValue(p).get()||0;if(Qt.test(v)){let{projection:b}=this.visualElement;if(b&&b.layout){let w=b.layout.layoutBox[p];w&&(v=st(w)*(parseFloat(v)/100))}}this.originPoint[p]=v}),d&&K.update(()=>d(s,l),!1,!0);let{animationState:f}=this.visualElement;f&&f.setActive("whileDrag",!0)},o=(s,l)=>{let{dragPropagation:c,dragDirectionLock:u,onDirectionLock:d,onDrag:f}=this.getProps();if(!c&&!this.openGlobalLock)return;let{offset:p}=l;if(u&&this.currentDirection===null){this.currentDirection=DC(p),this.currentDirection!==null&&d&&d(this.currentDirection);return}this.updateAxis("x",l.point,p),this.updateAxis("y",l.point,p),this.visualElement.render(),f&&f(s,l)},a=(s,l)=>this.stop(s,l);this.panSession=new _g(e,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),contextWindow:Lg(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&&K.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||!Xa(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=wC(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&&Qr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=SC(r.layoutBox,t):this.constraints=!1,this.elastic=TC(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Zt(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=EC(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Qr(e))return!1;let n=e.current;Ve(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=MC(n,r.root,this.visualElement.getTransformPagePoint()),o=kC(r.layout.layoutBox,i);if(t){let a=t(_C(o));this.hasMutatedConstraints=!!a,a&&(o=Pg(a))}return o}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Zt(c=>{if(!Xa(c,t,this.currentDirection))return;let u=s&&s[c]||{};o&&(u={min:0,max:0});let d=r?200:1e6,f=r?40:1e7,p={type:"inertia",velocity:n?e[c]:0,bounceStiffness:d,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(c,p)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return n.start(vu(e,n,0,t))}stopAnimation(){Zt(e=>this.getAxisMotionValue(e).stop())}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){Zt(t=>{let{drag:n}=this.getProps();if(!Xa(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:o,max:a}=r.layout.layoutBox[t];i.set(e[t]-re(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Qr(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Zt(o=>{let a=this.getAxisMotionValue(o);if(a){let s=a.get();r[o]=CC({min:s,max:s},this.constraints[o])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Zt(o=>{if(!Xa(o,e,null))return;let a=this.getAxisMotionValue(o),{min:s,max:l}=this.constraints[o];a.set(re(s,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;LC.set(this.visualElement,this);let e=this.visualElement.current,t=Jt(e,"pointerdown",s=>{let{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(s)}),n=()=>{let{dragConstraints:s}=this.getProps();Qr(s)&&(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=mn(I,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:s,hasLayoutChanged:l})=>{this.isDragging&&l&&(Zt(c=>{let u=this.getAxisMotionValue(c);u&&(this.originPoint[c]+=s[c].translate,u.set(u.get()+s[c].translate))}),this.visualElement.render())});return()=>{o(),t(),i(),a&&a()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=Xc,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}};function Xa(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function DC(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}var AC=class extends Bn{constructor(e){super(e),this.removeGroupControls=ve,this.removeListeners=ve,this.controls=new OC(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ve}unmount(){this.removeGroupControls(),this.removeListeners()}},Fp=e=>(t,n)=>{e&&K.update(()=>e(t,n))},VC=class extends Bn{constructor(){super(...arguments),this.removePointerDownListener=ve}onPointerDown(e){this.session=new _g(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Lg(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Fp(e),onStart:Fp(t),onMove:n,onEnd:(i,o)=>{delete this.session,r&&K.update(()=>r(i,o))}}}mount(){this.removePointerDownListener=Jt(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Ka={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Mp(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var no={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(N.test(e))e=parseFloat(e);else return e;let n=Mp(e,t.target.x),r=Mp(e,t.target.y);return`${n}% ${r}%`}},BC={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=tn.parse(e);if(i.length>5)return r;let o=tn.createTransformer(e),a=typeof i[0]!="number"?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;let c=re(s,l,.5);return typeof i[2+a]=="number"&&(i[2+a]/=c),typeof i[3+a]=="number"&&(i[3+a]/=c),o(i)}},zC=class extends m.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;nu(HC),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()})),Ka.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||e.layoutDependency!==t||t===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||K.postRender(()=>{let a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!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 Og(e){let[t,n]=wu(),r=D(ho);return m.createElement(zC,{...e,layoutGroup:r,switchLayoutGroup:D(ss),isPresent:t,safeToRemove:n})}var HC={borderRadius:{...no,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:no,borderTopRightRadius:no,borderBottomLeftRadius:no,borderBottomRightRadius:no,boxShadow:BC},Dg=["TopLeft","TopRight","BottomLeft","BottomRight"],NC=Dg.length,Lp=e=>typeof e=="string"?parseFloat(e):e,Op=e=>typeof e=="number"||N.test(e);function $C(e,t,n,r,i,o){i?(e.opacity=re(0,n.opacity!==void 0?n.opacity:1,UC(r)),e.opacityExit=re(t.opacity!==void 0?t.opacity:1,0,WC(r))):o&&(e.opacity=re(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;art?1:n(An(e,t,r))}function Ap(e,t){e.min=t.min,e.max=t.max}function Rt(e,t){Ap(e.x,t.x),Ap(e.y,t.y)}function Vp(e,t,n,r,i){return e-=t,e=os(e,1/n,r),i!==void 0&&(e=os(e,1/i,r)),e}function jC(e,t=0,n=1,r=.5,i,o=e,a=e){if(Qt.test(t)&&(t=parseFloat(t),t=re(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=re(o.min,o.max,r);e===o&&(s-=t),e.min=Vp(e.min,t,n,s,i),e.max=Vp(e.max,t,n,s,i)}function Bp(e,t,[n,r,i],o,a){jC(e,t[n],t[r],t[i],t.scale,o,a)}var XC=["x","scaleX","originX"],GC=["y","scaleY","originY"];function zp(e,t,n,r){Bp(e.x,t,XC,n?n.x:void 0,r?r.x:void 0),Bp(e.y,t,GC,n?n.y:void 0,r?r.y:void 0)}function Hp(e){return e.translate===0&&e.scale===1}function Vg(e){return Hp(e.x)&&Hp(e.y)}function YC(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 Bg(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 Np(e){return st(e.x)/st(e.y)}var KC=class{constructor(){this.members=[]}add(e){hu(this.members,e),e.scheduleRender()}remove(e){if(ms(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 $p(e,t,n){let r="",i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{rotate:l,rotateX:c,rotateY:u}=n;l&&(r+=`rotate(${l}deg) `),c&&(r+=`rotateX(${c}deg) `),u&&(r+=`rotateY(${u}deg) `)}let a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(r+=`scale(${a}, ${s})`),r||"none"}function qC(e){I.MotionDebug&&I.MotionDebug.record(e)}function zg(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Pu(e,t,n){let r=Te(e)?e:Se(e);return r.start(vu("",r,t,n)),r.animation}var Up=["","X","Y","Z"],ZC={visibility:"hidden"},Wp=1e3,QC=0,xr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Hg({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a={},s=t?.()){this.id=QC++,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,xr.totalNodes=xr.resolvedTargetDeltas=xr.recalculatedProjection=0,this.nodes.forEach(tE),this.nodes.forEach(aE),this.nodes.forEach(sE),this.nodes.forEach(nE),qC(xr)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=dg(f,250),Ka.hasAnimatedSinceResize&&(Ka.hasAnimatedSinceResize=!1,this.nodes.forEach(Xp))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:p,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let b=this.options.transition||u.getDefaultTransition()||dE,{onLayoutAnimationStart:w,onLayoutAnimationComplete:h}=u.getProps(),g=!this.targetLayout||!Bg(this.targetLayout,v)||p,y=!f&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||y||f&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,y);let x={...lg(b,"layout"),onPlay:w,onComplete:h};(u.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else f||Xp(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,at(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(lE),this.animationId++)}getTransformTemplate(){let{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;uthis.update()))}clearAllSnapshots(){this.nodes.forEach(rE),this.sharedNodes.forEach(cE)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,K.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){K.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{let k=x/1e3;Gp(d.x,a.x,k),Gp(d.y,a.y,k),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(uo(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),uE(this.relativeTarget,this.relativeTargetOrigin,f,k),y&&YC(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=we()),Rt(y,this.relativeTarget)),b&&(this.animationValues=u,$C(u,c,this.latestValues,k,g,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(at(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=K.update(()=>{Ka.hasAnimatedSinceResize=!0,this.currentAnimation=Pu(0,Wp,{...a,onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Wp),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let a=this.getLead(),{targetWithTransforms:s,target:l,layout:c,latestValues:u}=a;if(!(!s||!l||!c)){if(this!==a&&this.layout&&c&&Ng(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||we();let d=st(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+d;let f=st(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+f}Rt(s,l),ti(s,u),co(this.projectionDeltaWithTransform,this.layoutCorrected,s,u)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new KC),this.sharedNodes.get(a).add(s);let c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0})}isLead(){let a=this.getStack();return a?a.lead===this:!0}getLead(){var a;let{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;let{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){let{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){let a=this.getStack();return a?a.relegate(this):!1}resetRotation(){let{visualElement:a}=this.options;if(!a)return;let s=!1,{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;let c={};for(let u=0;u{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(jp),this.root.sharedNodes.clear()}}}function JC(e){e.updateLayout()}function eE(e){var t;let n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,a=n.source!==e.layout.source;o==="size"?Zt(d=>{let f=a?n.measuredBox[d]:n.layoutBox[d],p=st(f);f.min=r[d].min,f.max=f.min+p}):Ng(o,n.layoutBox,r)&&Zt(d=>{let f=a?n.measuredBox[d]:n.layoutBox[d],p=st(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});let s=ei();co(s,r,n.layoutBox);let l=ei();a?co(l,e.applyTransform(i,!0),n.measuredBox):co(l,r,n.layoutBox);let c=!Vg(s),u=!1;if(!e.resumeFrom){let d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){let{snapshot:f,layout:p}=d;if(f&&p){let v=we();uo(v,n.layoutBox,f.layoutBox);let b=we();uo(b,r,p.layoutBox),Bg(v,b)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:s,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function tE(e){xr.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function nE(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function rE(e){e.clearSnapshot()}function jp(e){e.clearMeasurements()}function iE(e){e.isLayoutDirty=!1}function oE(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Xp(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function aE(e){e.resolveTargetDelta()}function sE(e){e.calcProjection()}function lE(e){e.resetRotation()}function cE(e){e.removeLeadSnapshot()}function Gp(e,t,n){e.translate=re(t.translate,0,n),e.scale=re(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Yp(e,t,n,r){e.min=re(t.min,n.min,r),e.max=re(t.max,n.max,r)}function uE(e,t,n,r){Yp(e.x,t.x,n.x,r),Yp(e.y,t.y,n.y,r)}function fE(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var dE={duration:.45,ease:[.4,0,.1,1]},Kp=e=>typeof $e<"u"&&$e.userAgent.toLowerCase().includes(e),qp=Kp("applewebkit/")&&!Kp("chrome/")?Math.round:ve;function Zp(e){e.min=qp(e.min),e.max=qp(e.max)}function hE(e){Zp(e.x),Zp(e.y)}function Ng(e,t,n){return e==="position"||e==="preserve-aspect"&&!Wc(Np(t),Np(n),.2)}var pE=Hg({attachResizeListener:(e,t)=>mn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),kr={current:void 0},$g=Hg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!kr.current){let e=new pE({});e.mount(I),e.setOptions({layoutScroll:!0}),kr.current=e}return kr.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(I.getComputedStyle(e).position==="fixed")}),Ug={pan:{Feature:VC},drag:{Feature:AC,ProjectionNode:$g,MeasureLayout:Og}},mE=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function gE(e){let t=mE.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]}var vE=4;function Kc(e,t,n=1){Ve(n<=vE,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=gE(e);if(!r)return;let o=I.getComputedStyle(t).getPropertyValue(r);if(o){let a=o.trim();return qm(a)?parseFloat(a):a}else return Dc(i)?Kc(i,t,n+1):i}function yE(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(!Dc(o))return;let a=Kc(o,r);a&&i.set(a)});for(let i in t){let o=t[i];if(!Dc(o))continue;let a=Kc(o,r);a&&(t[i]=a,n||(n={}),n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}var bE=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Wg=e=>bE.has(e),xE=e=>Object.keys(e).some(Wg),Ga=e=>e===_r||e===N,Qp=(e,t)=>parseFloat(e.split(", ")[t]),Jp=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/);if(i)return Qp(i[1],t);{let o=r.match(/^matrix\((.+)\)$/);return o?Qp(o[1],e):0}},wE=new Set(["x","y","z"]),SE=bo.filter(e=>!wE.has(e));function kE(e){let t=[];return SE.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 ii={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:Jp(4,13),y:Jp(5,14)};ii.translateX=ii.x;ii.translateY=ii.y;var CE=(e,t,n)=>{let r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(c=>{s[c]=ii[c](r,o)}),t.render();let l=t.measureViewportBox();return n.forEach(c=>{let u=t.getValue(c);u&&u.jump(s[c]),e[c]=ii[c](l,o)}),e},EE=(e,t,n={},r={})=>{t={...t},r={...r};let i=Object.keys(t).filter(Wg),o=[],a=!1,s=[];if(i.forEach(l=>{let c=e.getValue(l);if(!e.hasValue(l))return;let u=n[l],d=to(u),f=t[l],p;if(Ja(f)){let v=f.length,b=f[0]===null?1:0;u=f[b],d=to(u);for(let w=b;w=0?I.pageYOffset:null,c=CE(t,e,s);return o.length&&o.forEach(([u,d])=>{e.getValue(u).set(d)}),e.render(),yo&&l!==null&&I.scrollTo({top:l}),{target:c,transitionEnd:r}}else return{target:t,transitionEnd:r}};function TE(e,t,n,r){return xE(t)?EE(e,t,n,r):{target:t,transitionEnd:r}}var _E=(e,t,n,r)=>{let i=yE(e,t,r);return t=i.target,r=i.transitionEnd,TE(e,t,n,r)},jg=class extends mg{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},{transformValues:r},i){let o=gk(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){ng(this,n,o);let a=_E(this,n,o,t);t=a.transitionEnd,n=a.target}return{transition:e,transitionEnd:t,...n}}};function RE(e){return I.getComputedStyle(e)}var Xg=class extends jg{readValueFromInstance(e,t){if(Tr.has(t)){let n=mu(t);return n&&n.default||0}else{let n=RE(e),r=(Am(t)?n.getPropertyValue(t):n[t])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Mg(e,t)}build(e,t,n,r){Cu(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Ru(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Te(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(e,t,n,r){xg(e,t,n,r)}},Gg=class extends jg{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Tr.has(t)){let n=mu(t);return n&&n.default||0}return t=wg.has(t)?t:Qc(t),e.getAttribute(t)}measureInstanceViewportBox(){return we()}scrapeMotionValuesFromProps(e,t){return kg(e,t)}build(e,t,n,r){Tu(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Sg(e,t,n,r)}mount(e){this.isSVGTag=_u(e.tagName),super.mount(e)}},Yg=(e,t)=>ku(e)?new Gg(t,{enableHardwareAcceleration:!1}):new Xg(t,{enableHardwareAcceleration:!0}),Kg={layout:{ProjectionNode:$g,MeasureLayout:Og}},PE={...xu,...Tg,...Ug,...Kg},et=gg((e,t)=>Cg(e,t,PE,Yg));var IE=gg(Cg);function qg(){let e=B(!1);return Er(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function ys(){let e=qg(),[t,n]=vt(0),r=xe(()=>{e.current&&n(t+1)},[t]);return[xe(()=>K.postRender(r),[r]),t]}function Zg(e){return j(()=>()=>e(),[])}var FE=class extends fe{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 ME({children:e,isPresent:t}){let n=mr(),r=B(null),i=B({width:0,height:0,top:0,left:0});return gr(()=>{let{width:o,height:a,top:s,left:l}=i.current;if(t||!r.current||!o||!a)return;r.current.dataset.motionPopId=n;let c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${o}px !important; height: ${a}px !important; top: ${s}px !important; left: ${l}px !important; } `),()=>{document.head.removeChild(c)}},[t]),J(FE,{isPresent:t,childRef:r,sizeRef:i},pr(e,{ref:r}))}var Mc=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{let s=bn(LE),l=mr(),c=ae(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:u=>{s.set(u,!0);for(let d of s.values())if(!d)return;r&&r()},register:u=>(s.set(u,!1),()=>s.delete(u))}),o?void 0:[n]);return ae(()=>{s.forEach((u,d)=>s.set(d,!1))},[n]),j(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=J(ME,{isPresent:n},e)),J(oi.Provider,{value:c},e)};function LE(){return new Map}var wr=e=>e.key||"";function OE(e,t){e.forEach(n=>{let r=wr(n);t.set(r,n)})}function DE(e){let t=[];return eo.forEach(e,n=>{qr(n)&&t.push(n)}),t}var Iu=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{Ve(!i,"Replace exitBeforeEnter with mode='wait'");let s=D(ho).forceRender||ys()[0],l=qg(),c=DE(e),u=c,d=B(new Map).current,f=B(u),p=B(new Map).current,v=B(!0);if(Er(()=>{v.current=!1,OE(c,p),f.current=u}),Zg(()=>{v.current=!0,p.clear(),d.clear()}),v.current)return J(Ua,null,u.map(g=>J(Mc,{key:wr(g),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:a},g)));u=[...u];let b=f.current.map(wr),w=c.map(wr),h=b.length;for(let g=0;g{if(w.indexOf(y)!==-1)return;let x=p.get(y);if(!x)return;let k=b.indexOf(y),S=g;if(!S){let E=()=>{d.delete(y);let C=Array.from(p.keys()).filter(_=>!w.includes(_));if(C.forEach(_=>p.delete(_)),f.current=c.filter(_=>{let T=wr(_);return T===y||C.includes(T)}),!d.size){if(l.current===!1)return;s(),r&&r()}};S=J(Mc,{key:wr(x),isPresent:!1,onExitComplete:E,custom:t,presenceAffectsLayout:o,mode:a},x),d.set(y,S)}u.splice(k,0,S)}),u=u.map(g=>{let y=g.key;return d.has(y)?g:J(Mc,{key:wr(g),isPresent:!0,presenceAffectsLayout:o,mode:a},g)}),J(Ua,null,d.size?u:u.map(g=>pr(g)))};function Qg({children:e,isValidProp:t,...n}){t&&Sm(t),n={...D(Cr),...n},n.isStatic=bn(()=>n.isStatic);let r=ae(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return J(Cr.Provider,{value:r},e)}var Jg=de(null),AE=e=>!e.isLayoutDirty&&e.willUpdate(!1);function em(){let e=new Set,t=new WeakMap,n=()=>e.forEach(AE);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 ev=e=>e===!0,VE=e=>ev(e===!0)||e==="id",tv=({children:e,id:t,inherit:n=!0})=>{let r=D(ho),i=D(Jg),[o,a]=ys(),s=B(null),l=r.id||i;s.current===null&&(VE(n)&&l&&(t=t?l+"-"+t:l),s.current={id:t,group:ev(n)&&r.group||em()});let c=ae(()=>({...s.current,forceRender:o}),[a]);return J(ho.Provider,{value:c},e)};function si(e){let t=bn(()=>Se(e)),{isStatic:n}=D(Cr);if(n){let[,r]=vt(e);j(()=>t.on("change",r),[])}return t}var BE=e=>typeof e=="object"&&e.mix,zE=e=>BE(e)?e.mix:void 0;function Co(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],o=e[2+n],a=e[3+n],s=Rr(i,o,{mixer:zE(o[0]),...a});return t?s(r):s}function nv(e,t){let n=si(t()),r=()=>n.set(t());return r(),Er(()=>{let i=()=>K.update(r,!1,!0),o=e.map(a=>a.on("change",i));return()=>{o.forEach(a=>a()),at(r)}}),n}function HE(e){lo.current=[],e();let t=nv(lo.current,e);return lo.current=void 0,t}function zt(e,t,n,r){if(typeof e=="function")return HE(e);let i=typeof t=="function"?t:Co(t,n,r);return Array.isArray(e)?tm(e,i):tm([e],([o])=>i(o))}function tm(e,t){let n=bn(()=>[]);return nv(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,a=e[i+o];if(!a)return e;let s=e[i],l=a.layout,c=re(l.min,l.max,.5);return o===1&&s.layout.max+n>c||o===-1&&s.layout.min+net(t)),l=[],c=B(!1);Ve(Boolean(i),"Reorder.Group must be provided a values prop");let u={axis:n,registerItem:(d,f)=>{let p=l.findIndex(v=>d===v.value);p!==-1?l[p].layout=f[n]:l.push({value:d,layout:f[n]}),l.sort(WE)},updateOrder:(d,f,p)=>{if(c.current)return;let v=NE(l,d,f,p);l!==v&&(c.current=!0,r(v.map(UE).filter(b=>i.indexOf(b)!==-1)))}};return j(()=>{c.current=!1}),J(s,{...o,ref:a,ignoreStrict:!0},J(rv.Provider,{value:u},e))}var XA=Ue($E);function UE(e){return e.value}function WE(e,t){return e.layout.min-t.layout.min}function nm(e,t=0){return Te(e)?e:si(t)}function jE({children:e,style:t={},value:n,as:r="li",onDrag:i,layout:o=!0,...a},s){let l=bn(()=>et(r)),c=D(rv),u={x:nm(t.x),y:nm(t.y)},d=zt([u.x,u.y],([b,w])=>b||w?1:"unset");Ve(Boolean(c),"Reorder.Item must be a child of Reorder.Group");let{axis:f,registerItem:p,updateOrder:v}=c;return J(l,{drag:f,...a,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:d},layout:o,onDrag:(b,w)=>{let{velocity:h}=w;h[f]&&v(n,u[f].get(),h[f]),i&&i(b,w)},onLayoutMeasure:b=>p(n,b),ref:s,ignoreStrict:!0},e)}var YA=Ue(jE);var iv={renderer:Yg,...xu,...Tg},XE={...iv,...Ug,...Kg};function Fu(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(Ve(Boolean(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 qa=new WeakMap,On;function GE(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 YE({target:e,contentRect:t,borderBoxSize:n}){var r;(r=qa.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return GE(e,n)}})})}function KE(e){e.forEach(YE)}function qE(){typeof ResizeObserver>"u"||(On=new ResizeObserver(KE))}function ZE(e,t){On||qE();let n=Fu(e);return n.forEach(r=>{let i=qa.get(r);i||(i=new Set,qa.set(r,i)),i.add(t),On?.observe(r)}),()=>{n.forEach(r=>{let i=qa.get(r);i?.delete(t),i?.size||On?.unobserve(r)})}}var Za=new Set,fo;function QE(){fo=()=>{let e={width:I.innerWidth,height:I.innerHeight},t={target:I,size:e,contentSize:e};Za.forEach(n=>n(t))},I.addEventListener("resize",fo)}function JE(e){return Za.add(e),fo||QE(),()=>{Za.delete(e),!Za.size&&fo&&(fo=void 0)}}function eT(e,t){return typeof e=="function"?JE(e):ZE(e,t)}var tT=50,rm=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),nT=()=>({time:0,x:rm(),y:rm()}),rT={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function im(e,t,n,r){let i=n[t],{length:o,position:a}=rT[t],s=i.current,l=n.time;i.current=e["scroll"+a],i.scrollLength=e["scroll"+o]-e["client"+o],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=An(0,i.scrollLength,i.current);let c=r-l;i.velocity=c>tT?0:fu(i.current-s,c)}function iT(e,t,n){im(e,"x",t,n),im(e,"y",t,n),t.time=n}function oT(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){let i=r.getBoundingClientRect();r=r.parentElement;let o=r.getBoundingClientRect();n.x+=i.left-o.left,n.y+=i.top-o.top}else if(r instanceof SVGGraphicsElement){let{x:i,y:o}=r.getBBox();n.x+=i,n.y+=o;let a=null,s=r.parentNode;for(;!a;)s.tagName==="svg"&&(a=s),s=r.parentNode;r=a}else break;return n}var aT={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},qc={start:0,center:.5,end:1};function om(e,t,n=0){let r=0;if(qc[e]!==void 0&&(e=qc[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 sT=[0,0];function lT(e,t,n,r){let i=Array.isArray(e)?e:sT,o=0,a=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,qc[e]?e:"0"]),o=om(i[0],n,r),a=om(i[1],t),o-a}var cT={x:0,y:0};function uT(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function fT(e,t,n){let{offset:r=aT.All}=n,{target:i=e,axis:o="y"}=n,a=o==="y"?"height":"width",s=i!==e?oT(i,e):cT,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:uT(i),c={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let u=!t[o].interpolate,d=r.length;for(let f=0;fdT(e,r.target,n),update:i=>{iT(e,n,i),(r.offset||r.target)&&fT(e,n,r)},notify:()=>t(n)}}var ro=new WeakMap,am=new WeakMap,Lc=new WeakMap,sm=e=>e===document.documentElement?I:e;function li(e,{container:t=document.documentElement,...n}={}){let r=Lc.get(t);r||(r=new Set,Lc.set(t,r));let i=nT(),o=hT(t,e,i,n);if(r.add(o),!ro.has(t)){let s=()=>{for(let f of r)f.measure()},l=()=>{for(let f of r)f.update(ge.timestamp)},c=()=>{for(let f of r)f.notify()},u=()=>{K.read(s,!1,!0),K.update(l,!1,!0),K.update(c,!1,!0)};ro.set(t,u);let d=sm(t);I.addEventListener("resize",u,{passive:!0}),t!==document.documentElement&&am.set(t,eT(t,u)),d.addEventListener("scroll",u,{passive:!0})}let a=ro.get(t);return K.read(a,!1,!0),()=>{var s;at(a);let l=Lc.get(t);if(!l||(l.delete(o),l.size))return;let c=ro.get(t);ro.delete(t),c&&(sm(t).removeEventListener("scroll",c),(s=am.get(t))===null||s===void 0||s(),I.removeEventListener("resize",c))}}function lm(e,t){So(Boolean(!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 pT=()=>({scrollX:Se(0),scrollY:Se(0),scrollXProgress:Se(0),scrollYProgress:Se(0)});function ov({container:e,target:t,layoutEffect:n=!0,...r}={}){let i=bn(pT);return(n?Er:j)(()=>(lm("target",t),lm("container",e),li(({x:a,y:s})=>{i.scrollX.set(a.current),i.scrollXProgress.set(a.progress),i.scrollY.set(s.current),i.scrollYProgress.set(s.progress)},{...r,container:e?.current||void 0,target:t?.current||void 0})),[e,t,JSON.stringify(r.offset)]),i}function av(){!Su.current&&hg();let[e]=vt(is.current);return e}function ci(){let e=av(),{reducedMotion:t}=D(Cr);return t==="never"?!1:t==="always"?!0:e}function mT(e){e.values.forEach(t=>t.stop())}function sv(){let e=!1,t=new Set,n={subscribe(r){return t.add(r),()=>void t.delete(r)},start(r,i){Ve(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let o=[];return t.forEach(a=>{o.push(bu(a,r,{transitionOverride:i}))}),Promise.all(o)},set(r){return Ve(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(i=>{pk(i,r)})},stop(){t.forEach(r=>{mT(r)})},mount(){return e=!0,()=>{e=!1,n.stop()}}};return n}var lv=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};function gT(e,t){let n,r=()=>{let{currentTime:i}=t,a=(i===null?0:i.value)/100;n!==a&&e(a),n=a};return K.update(r,!0),()=>at(r)}var vT=sg(()=>I.ScrollTimeline!==void 0),cv=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(vT()&&n.attachTimeline)n.attachTimeline(e);else return n.pause(),gT(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 yT(e){return typeof e=="object"&&!Array.isArray(e)}function bT(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=zg(e)?new Gg(t,{enableHardwareAcceleration:!1}):new Xg(t,{enableHardwareAcceleration:!0});n.mount(e),Vn.set(e,n)}function xT(e,t=100){let n=ko({keyframes:[0,t],...e}),r=Math.min(Bc(n),Vc);return{type:"keyframes",ease:i=>n.next(r*i).value/t,duration:en(r)}}function cm(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 wT(e,t){return Ym(e)?e[lv(0,e.length,t)]:e}function ST(e,t,n){for(let r=0;rt&&i.at{let C=_T(y),{delay:_=0,times:T=du(C),type:L="keyframes",...A}=x,{ease:$=t.ease||"easeOut",duration:V}=x,F=typeof _=="function"?_(S,E):_,G=C.length;if(G<=2&&L==="spring"){let ne=100;if(G===2&&IT(C)){let W=C[1]-C[0];ne=Math.abs(W)}let H={...A};V!==void 0&&(H.duration=vn(V));let oe=xT(H,ne);$=oe.ease,V=oe.duration}V??(V=i);let P=u+F,q=P+V;T.length===1&&T[0]===0&&(T[1]=1);let ee=T.length-C.length;ee>0&&Km(T,ee),C.length===1&&C.unshift(null),kT(k,C,$,T,P,q),h=Math.max(F+V,h),d=Math.max(q,d)};if(Te(v)){let y=um(v,a);g(b,w,fm("default",y))}else{let y=Fu(v,r,s),x=y.length;for(let k=0;k{for(let v in f){let b=f[v];b.sort(CT);let w=[],h=[],g=[];for(let x=0;xtypeof e=="number",IT=e=>e.every(PT);function uv(e,t,n,r){let i=Fu(e,r),o=i.length;Ve(Boolean(o),"No valid element provided.");let a=[];for(let s=0;sArray.isArray(e)&&Array.isArray(e[0]);function MT(e,t,n){let r=[];return TT(e,t,n).forEach(({keyframes:o,transition:a},s)=>{let l;Te(s)?l=Pu(s,o.default,a.default):l=uv(s,o,a),r.push(l)}),new cv(r)}var fv=e=>{function t(n,r,i){let o;return FT(n)?o=MT(n,r,e):yT(r)?o=uv(n,r,i,e):o=Pu(n,r,i),e&&e.animations.push(o),o}return t},bs=fv();function dv(){let e=bn(sv);return Er(e.mount,[]),e}var hv=dv;function Mu(e){return e!==null&&typeof e=="object"&&tu in e}function pv(e){if(Mu(e))return e[tu]}function Lu(){return LT}function LT(e){kr.current&&(kr.current.isUpdating=!1,kr.current.blockUpdate(),e&&e())}function mv(){let[e,t]=ys(),n=Lu(),r=B();return j(()=>{K.postRender(()=>K.postRender(()=>{t===r.current&&(ns.current=!1)}))},[t]),i=>{n(()=>{ns.current=!0,e(),i(),r.current=t+1})}}function gv(){return xe(()=>{let t=kr.current;t&&t.resetTree()},[])}var dm=()=>({});var aV=fs({scrapeMotionValuesFromProps:dm,createRenderState:dm});var OT=io.reduce((e,t)=>(e[t]=n=>at(n),e),{});var hP={};gc(hP,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>nP,createPortal:()=>rP,createRoot:()=>iP,default:()=>Vb,findDOMNode:()=>oP,flushSync:()=>va,hydrate:()=>aP,hydrateRoot:()=>sP,render:()=>lP,unmountComponentAtNode:()=>cP,unstable_batchedUpdates:()=>uP,unstable_renderSubtreeIntoContainer:()=>fP,version:()=>dP});var Es={};gc(Es,{default:()=>M,unstable_IdlePriority:()=>VT,unstable_ImmediatePriority:()=>BT,unstable_LowPriority:()=>zT,unstable_NormalPriority:()=>HT,unstable_Profiling:()=>NT,unstable_UserBlockingPriority:()=>$T,unstable_cancelCallback:()=>UT,unstable_continueExecution:()=>WT,unstable_forceFrameRate:()=>jT,unstable_getCurrentPriorityLevel:()=>XT,unstable_getFirstCallbackNode:()=>GT,unstable_next:()=>YT,unstable_now:()=>AT,unstable_pauseExecution:()=>KT,unstable_requestPaint:()=>qT,unstable_runWithPriority:()=>ZT,unstable_scheduleCallback:()=>QT,unstable_shouldYield:()=>JT,unstable_wrapCallback:()=>e_});var vv={};var M={},yv=vv;function Vu(e,t){var n=e.length;e.push(t);e:for(;0>>1,i=e[r];if(!(0>>1;rxs(s,n))lxs(c,s)?(e[r]=c,e[l]=n,r=l):(e[r]=s,e[a]=n,r=a);else{if(!(lxs(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function xs(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(bv=performance,M.unstable_now=function(){return bv.now()}):(Ou=Date,xv=Ou.now(),M.unstable_now=function(){return Ou.now()-xv});var bv,Ou,xv,rn=[],zn=[],DT=1,Pt=null,Ge=3,ks=!1,Pr=!1,To=!1,kv=typeof setTimeout=="function"?setTimeout:null,Cv=typeof clearTimeout=="function"?clearTimeout:null,wv=typeof yv.nextTick<"u"?yv.nextTick:null;typeof $e<"u"&&$e.scheduling!==void 0&&$e.scheduling.isInputPending!==void 0&&$e.scheduling.isInputPending.bind($e.scheduling);function Bu(e){for(var t=Ht(zn);t!==null;){if(t.callback===null)Ss(zn);else{if(!(t.startTime<=e))break;Ss(zn),t.sortIndex=t.expirationTime,Vu(rn,t)}t=Ht(zn)}}function zu(e){if(To=!1,Bu(e),!Pr)if(Ht(rn)!==null)Pr=!0,Nu(Hu);else{var t=Ht(zn);t!==null&&$u(zu,t.startTime-e)}}function Hu(e,t){Pr=!1,To&&(To=!1,Cv(_o),_o=-1),ks=!0;var n=Ge;try{for(Bu(t),Pt=Ht(rn);Pt!==null&&(!(Pt.expirationTime>t)||e&&!_v());){var r=Pt.callback;if(typeof r=="function"){Pt.callback=null,Ge=Pt.priorityLevel;var i=r(Pt.expirationTime<=t);t=M.unstable_now(),typeof i=="function"?Pt.callback=i:Pt===Ht(rn)&&Ss(rn),Bu(t)}else Ss(rn);Pt=Ht(rn)}if(Pt!==null)var o=!0;else{var a=Ht(zn);a!==null&&$u(zu,a.startTime-t),o=!1}return o}finally{Pt=null,Ge=n,ks=!1}}var Cs=!1,ws=null,_o=-1,Ev=5,Tv=-1;function _v(){return!(M.unstable_now()-Tve||125r?(e.sortIndex=n,Vu(zn,e),Ht(rn)===null&&e===Ht(zn)&&(To?(Cv(_o),_o=-1):To=!0,$u(zu,n-r))):(e.sortIndex=i,Vu(rn,e),Pr||ks||(Pr=!0,Nu(Hu))),e};M.unstable_shouldYield=_v;M.unstable_wrapCallback=function(e){var t=Ge;return function(){var n=Ge;Ge=t;try{return e.apply(this,arguments)}finally{Ge=n}}};var AV=M.unstable_now,VV=M.unstable_IdlePriority,BV=M.unstable_ImmediatePriority,zV=M.unstable_LowPriority,HV=M.unstable_NormalPriority,NV=M.unstable_Profiling,$V=M.unstable_UserBlockingPriority,UV=M.unstable_cancelCallback,WV=M.unstable_continueExecution,jV=M.unstable_forceFrameRate,XV=M.unstable_getCurrentPriorityLevel,GV=M.unstable_getFirstCallbackNode,YV=M.unstable_next,KV=M.unstable_pauseExecution,qV=M.unstable_requestPaint,ZV=M.unstable_runWithPriority,QV=M.unstable_scheduleCallback,JV=M.unstable_shouldYield,e3=M.unstable_wrapCallback;var AT=M.unstable_now,VT=M.unstable_IdlePriority,BT=M.unstable_ImmediatePriority,zT=M.unstable_LowPriority,HT=M.unstable_NormalPriority,NT=M.unstable_Profiling,$T=M.unstable_UserBlockingPriority,UT=M.unstable_cancelCallback,WT=M.unstable_continueExecution,jT=M.unstable_forceFrameRate,XT=M.unstable_getCurrentPriorityLevel,GT=M.unstable_getFirstCallbackNode,YT=M.unstable_next,KT=M.unstable_pauseExecution,qT=M.unstable_requestPaint,ZT=M.unstable_runWithPriority,QT=M.unstable_scheduleCallback,JT=M.unstable_shouldYield,e_=M.unstable_wrapCallback;var t_="default"in We?m:We,n_="default"in Es?M:Es,wt={},Vy=t_,xt=n_;function R(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof I.document>"u"||typeof I.document.createElement>"u"),ff=Object.prototype.hasOwnProperty,r_=/^[: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]*$/,Rv={},Pv={};function i_(e){return ff.call(Pv,e)?!0:ff.call(Rv,e)?!1:r_.test(e)?Pv[e]=!0:(Rv[e]=!0,!1)}function o_(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 a_(e,t,n,r){if(t===null||typeof t>"u"||o_(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 rt(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var He={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){He[e]=new rt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];He[t]=new rt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){He[e]=new rt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){He[e]=new rt(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){He[e]=new rt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){He[e]=new rt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){He[e]=new rt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){He[e]=new rt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){He[e]=new rt(e,5,!1,e.toLowerCase(),null,!1,!1)});var td=/[\-:]([a-z])/g;function nd(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(td,nd);He[t]=new rt(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(td,nd);He[t]=new rt(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(td,nd);He[t]=new rt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){He[e]=new rt(e,1,!1,e.toLowerCase(),null,!1,!1)});He.xlinkHref=new rt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){He[e]=new rt(e,1,!1,e.toLowerCase(),null,!0,!0)});function rd(e,t,n,r){var i=He.hasOwnProperty(t)?He[t]:null;(i!==null?i.type!==0:r||!(2s||i[a]!==o[s]){var l=` `+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Wu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vo(e):""}function s_(e){switch(e.tag){case 5:return Vo(e.type);case 16:return Vo("Lazy");case 13:return Vo("Suspense");case 19:return Vo("SuspenseList");case 0:case 2:case 15:return e=ju(e.type,!1),e;case 11:return e=ju(e.type.render,!1),e;case 1:return e=ju(e.type,!0),e;default:return""}}function mf(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 hi:return"Fragment";case di:return"Portal";case df:return"Profiler";case id:return"StrictMode";case hf:return"Suspense";case pf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Hy:return(e.displayName||"Context")+".Consumer";case zy:return(e._context.displayName||"Context")+".Provider";case od:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ad:return t=e.displayName||null,t!==null?t:mf(e.type)||"Memo";case Nn:t=e._payload,e=e._init;try{return mf(e(t))}catch{}}return null}function l_(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 mf(t);case 8:return t===id?"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 Jn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function $y(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function c_(e){var t=$y(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function _s(e){e._valueTracker||(e._valueTracker=c_(e))}function Uy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=$y(e)?e.checked?"true":"false":e.value),e=r,e!==n&&(t.setValue(e),!0)}function tl(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 gf(e,t){var n=t.checked;return me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Fv(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jn(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 Wy(e,t){t=t.checked,t!=null&&rd(e,"checked",t,!1)}function vf(e,t){Wy(e,t);var n=Jn(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")?yf(e,t.type,n):t.hasOwnProperty("defaultValue")&&yf(e,t.type,Jn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Mv(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 yf(e,t,n){t==="number"&&tl(e.ownerDocument)===e||(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Bo=Array.isArray;function Ci(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Rs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Zo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var No={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},u_=["Webkit","ms","Moz","O"];Object.keys(No).forEach(function(e){u_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),No[t]=No[e]})});function Yy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||No.hasOwnProperty(e)&&No[e]?(""+t).trim():t+"px"}function Ky(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Yy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var f_=me({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 wf(e,t){if(t){if(f_[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function Sf(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 kf=null;function sd(e){return e=e.target||e.srcElement||I,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Cf=null,Ei=null,Ti=null;function Dv(e){if(e=ma(e)){if(typeof Cf!="function")throw Error(R(280));var t=e.stateNode;t&&(t=Il(t),Cf(e.stateNode,e.type,t))}}function qy(e){Ei?Ti?Ti.push(e):Ti=[e]:Ei=e}function Zy(){if(Ei){var e=Ei,t=Ti;if(Ti=Ei=null,Dv(e),t)for(e=0;e>>=0,e===0?32:31-(S_(e)/k_|0)|0}var Ps=64,Is=4194304;function zo(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 ol(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(a!==0){var s=a&~i;s!==0?r=zo(s):(o&=a,o!==0&&(r=zo(o)))}else a=n&~i,a!==0?r=zo(a):o!==0&&(r=zo(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 ha(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Xt(t),e[t]=n}function __(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=Uo),Wv=String.fromCharCode(32),jv=!1;function v0(e,t){switch(e){case"keyup":return tR.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function y0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var pi=!1;function rR(e,t){switch(e){case"compositionend":return y0(t);case"keypress":return t.which!==32?null:(jv=!0,Wv);case"textInput":return e=t.data,e===Wv&&jv?null:e;default:return null}}function iR(e,t){if(pi)return e==="compositionend"||!md&&v0(e,t)?(e=m0(),Gs=dd=jn=null,pi=!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=Yv(n)}}function S0(e,t){return!(!e||!t)&&(e===t||(!e||e.nodeType!==3)&&(t&&t.nodeType===3?S0(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function k0(){for(var e=I,t=tl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(!n)break;e=t.contentWindow,t=tl(e.document)}return t}function gd(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 hR(e){var t=k0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&S0(n.ownerDocument.documentElement,n)){if(r!==null&&gd(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||I,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=Kv(n,o);var a=Kv(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,mi=null,If=null,jo=null,Ff=!1;function qv(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ff||mi==null||mi!==tl(r)||(r=mi,"selectionStart"in r&&gd(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||I).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),jo&&ra(jo,r)||(jo=r,r=ll(If,"onSelect"),0yi||(e.current=Vf[yi],Vf[yi]=null,yi--)}function ie(e,t){yi++,Vf[yi]=e.current,e.current=t}var er={},Ze=rr(er),dt=rr(!1),Ar=er;function Fi(e,t){var n=e.type.contextTypes;if(!n)return er;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 ht(e){return e=e.childContextTypes,e!=null}function ul(){le(dt),le(Ze)}function oy(e,t,n){if(Ze.current!==er)throw Error(R(168));ie(Ze,t),ie(dt,n)}function M0(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(R(108,l_(e)||"Unknown",i));return me({},n,r)}function fl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||er,Ar=Ze.current,ie(Ze,e),ie(dt,dt.current),!0}function ay(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=M0(e,t,Ar),r.__reactInternalMemoizedMergedChildContext=e,le(dt),le(Ze),ie(Ze,e)):le(dt),ie(dt,n)}var wn=null,Fl=!1,nf=!1;function L0(e){wn===null?wn=[e]:wn.push(e)}function kR(e){Fl=!0,L0(e)}function ir(){if(!nf&&wn!==null){nf=!0;var e=0,t=te;try{var n=wn;for(te=1;e>=a,i-=a,kn=1<<32-Xt(t)+i|n<C?(_=E,E=null):_=E.sibling;var T=f(h,E,y[C],x);if(T===null){E===null&&(E=_);break}e&&E&&T.alternate===null&&t(h,E),g=o(T,g,C),S===null?k=T:S.sibling=T,S=T,E=_}if(C===y.length)return n(h,E),ue&&Ir(h,C),k;if(E===null){for(;CC?(_=E,E=null):_=E.sibling;var L=f(h,E,T.value,x);if(L===null){E===null&&(E=_);break}e&&E&&L.alternate===null&&t(h,E),g=o(L,g,C),S===null?k=L:S.sibling=L,S=L,E=_}if(T.done)return n(h,E),ue&&Ir(h,C),k;if(E===null){for(;!T.done;C++,T=y.next())T=d(h,T.value,x),T!==null&&(g=o(T,g,C),S===null?k=T:S.sibling=T,S=T);return ue&&Ir(h,C),k}for(E=r(h,E);!T.done;C++,T=y.next())T=p(E,h,C,T.value,x),T!==null&&(e&&T.alternate!==null&&E.delete(T.key===null?C:T.key),g=o(T,g,C),S===null?k=T:S.sibling=T,S=T);return e&&E.forEach(function(A){return t(h,A)}),ue&&Ir(h,C),k}function w(h,g,y,x){if(typeof y=="object"&&y!==null&&y.type===hi&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Ts:e:{for(var k=y.key,S=g;S!==null;){if(S.key===k){if(k=y.type,k===hi){if(S.tag===7){n(h,S.sibling),g=i(S,y.props.children),g.return=h,h=g;break e}}else if(S.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Nn&&hy(k)===S.type){n(h,S.sibling),g=i(S,y.props),g.ref=Lo(h,S,y),g.return=h,h=g;break e}n(h,S);break}t(h,S),S=S.sibling}y.type===hi?(g=Dr(y.props.children,h.mode,x,y.key),g.return=h,h=g):(x=el(y.type,y.key,y.props,null,h.mode,x),x.ref=Lo(h,g,y),x.return=h,h=x)}return a(h);case di:e:{for(S=y.key;g!==null;){if(g.key===S){if(g.tag===4&&g.stateNode.containerInfo===y.containerInfo&&g.stateNode.implementation===y.implementation){n(h,g.sibling),g=i(g,y.children||[]),g.return=h,h=g;break e}n(h,g);break}t(h,g),g=g.sibling}g=uf(y,h.mode,x),g.return=h,h=g}return a(h);case Nn:return S=y._init,w(h,g,S(y._payload),x)}if(Bo(y))return v(h,g,y,x);if(Ro(y))return b(h,g,y,x);Hs(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,g!==null&&g.tag===6?(n(h,g.sibling),g=i(g,y),g.return=h,h=g):(n(h,g),g=cf(y,h.mode,x),g.return=h,h=g),a(h)):n(h,g)}return w}var Li=z0(!0),H0=z0(!1),ga={},cn=rr(ga),sa=rr(ga),la=rr(ga);function Lr(e){if(e===ga)throw Error(R(174));return e}function Cd(e,t){switch(ie(la,t),ie(sa,e),ie(cn,ga),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=xf(t,e)}le(cn),ie(cn,t)}function Oi(){le(cn),le(sa),le(la)}function N0(e){Lr(la.current);var t=Lr(cn.current),n=xf(t,e.type);t!==n&&(ie(sa,e),ie(cn,n))}function Ed(e){sa.current===e&&(le(cn),le(sa))}var he=rr(0);function vl(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 rf=[];function Td(){for(var e=0;en?n:4,e(!0);var r=of.transition;of.transition={};try{e(!1),t()}finally{te=n,of.transition=r}}function nb(){return At().memoizedState}function _R(e,t,n){var r=Qn(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rb(e)?ib(t,n):(ob(e,t,n),n=nt(),e=Ot(e,r,n),e!==null&&ab(e,t,r))}function RR(e,t,n){var r=Qn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rb(e))ib(t,i);else{ob(e,t,i);var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Gt(s,a))return}catch{}n=nt(),e=Ot(e,r,n),e!==null&&ab(e,t,r)}}function rb(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function ib(e,t){Xo=yl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ob(e,t,n){Cb(e)?(e=t.interleaved,e===null?(n.next=n,jt===null?jt=[t]:jt.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(e=t.pending,e===null?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function ab(e,t,n){if(4194240&n){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,cd(e,n)}}var bl={readContext:Dt,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useInsertionEffect:Ye,useLayoutEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useMutableSource:Ye,useSyncExternalStore:Ye,useId:Ye,unstable_isNewReconciler:!1},PR={readContext:Dt,useCallback:function(e,t){return an().memoizedState=[e,t===void 0?null:t],e},useContext:Dt,useEffect:my,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Zs(4194308,4,Z0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Zs(4194308,4,e,t)},useInsertionEffect:function(e,t){return Zs(4,2,e,t)},useMemo:function(e,t){var n=an();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=an();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=_R.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=an();return e={current:e},t.memoizedState=e},useState:py,useDebugValue:Fd,useDeferredValue:function(e){return an().memoizedState=e},useTransition:function(){var e=py(!1),t=e[0];return e=TR.bind(null,e[1]),an().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,i=an();if(ue){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),Me===null)throw Error(R(349));30&Br||W0(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,my(X0.bind(null,r,o,e),[e]),r.flags|=2048,fa(9,j0.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=an(),t=Me.identifierPrefix;if(ue){var n=Cn,r=kn;n=(r&~(1<<32-Xt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ca++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[sn]=t,e[aa]=r,cb(e,t,!1,!1),t.stateNode=e;e:{switch(a=Sf(n,r),n){case"dialog":se("cancel",e),se("close",e),i=r;break;case"iframe":case"object":case"embed":se("load",e),i=r;break;case"video":case"audio":for(i=0;iDi&&(t.flags|=128,r=!0,Oo(o,!1),t.lanes=4194304)}else{if(!r)if(e=vl(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Oo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!ue)return Ke(t),null}else 2*ke()-o.renderingStartTime>Di&&n!==1073741824&&(t.flags|=128,r=!0,Oo(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ke(),t.sibling=null,n=he.current,ie(he,r?1&n|2:1&n),t):(Ke(t),null);case 22:case 23:return Vd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&1&t.mode?1073741824&yt&&(Ke(t),6&t.subtreeFlags&&(t.flags|=8192)):Ke(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}var OR=Pn.ReactCurrentOwner,ft=!1;function tt(e,t,n,r){t.child=e===null?H0(t,null,n,r):Li(t,e.child,n,r)}function by(e,t,n,r,i){n=n.render;var o=t.ref;return Ri(t,i),r=Rd(e,t,n,r,o,i),n=Pd(),e!==null&&!ft?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Rn(e,t,i)):(ue&&n&&wd(t),t.flags|=1,tt(e,t,r,i),t.child)}function xy(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!zd(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,db(e,t,o,r,i)):(e=el(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:ra,n(a,r)&&e.ref===t.ref)return Rn(e,t,i)}return t.flags|=1,e=tr(o,r),e.ref=t.ref,e.return=t,t.child=e}function db(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(ra(o,r)&&e.ref===t.ref){if(ft=!1,t.pendingProps=r=o,(e.lanes&i)===0)return t.lanes=e.lanes,Rn(e,t,i);131072&e.flags&&(ft=!0)}}return jf(e,t,n,r,i)}function hb(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ie(ki,yt),yt|=n;else{if(!(1073741824&n))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ie(ki,yt),yt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ie(ki,yt),yt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ie(ki,yt),yt|=r;return tt(e,t,i,n),t.child}function pb(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function jf(e,t,n,r,i){var o=ht(n)?Ar:Ze.current;return o=Fi(t,o),Ri(t,i),n=Rd(e,t,n,r,o,i),r=Pd(),e!==null&&!ft?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Rn(e,t,i)):(ue&&r&&wd(t),t.flags|=1,tt(e,t,n,i),t.child)}function wy(e,t,n,r,i){if(ht(n)){var o=!0;fl(t)}else o=!1;if(Ri(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),A0(t,n,r),Hf(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=Dt(c):(c=ht(n)?Ar:Ze.current,c=Fi(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==c)&&uy(t,a,r,c),$n=!1;var f=t.memoizedState;a.state=f,pl(t,r,a,i),l=t.memoizedState,s!==r||f!==l||dt.current||$n?(typeof u=="function"&&(zf(t,n,u,r),l=t.memoizedState),(s=$n||cy(t,n,s,r,f,l,c))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,O0(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:$t(t.type,s),a.props=c,d=t.pendingProps,f=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=Dt(l):(l=ht(n)?Ar:Ze.current,l=Fi(t,l));var p=n.getDerivedStateFromProps;(u=typeof p=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||f!==l)&&uy(t,a,r,l),$n=!1,f=t.memoizedState,a.state=f,pl(t,r,a,i);var v=t.memoizedState;s!==d||f!==v||dt.current||$n?(typeof p=="function"&&(zf(t,n,p,r),v=t.memoizedState),(c=$n||cy(t,n,c,r,f,v,l)||!1)?(u||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,v,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,v,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),a.props=r,a.state=v,a.context=l,r=c):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Xf(e,t,n,r,o,i)}function Xf(e,t,n,r,i,o){pb(e,t);var a=(128&t.flags)!==0;if(!r&&!a)return i&&ay(t,n,!1),Rn(e,t,o);r=t.stateNode,OR.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Li(t,e.child,null,o),t.child=Li(t,null,s,o)):tt(e,t,s,o),t.memoizedState=r.state,i&&ay(t,n,!0),t.child}function mb(e){var t=e.stateNode;t.pendingContext?oy(e,t.pendingContext,t.pendingContext!==t.context):t.context&&oy(e,t.context,!1),Cd(e,t.containerInfo)}function Sy(e,t,n,r,i){return Mi(),kd(i),t.flags|=256,tt(e,t,n,r),t.child}var Ns={dehydrated:null,treeContext:null,retryLane:0};function $s(e){return{baseLanes:e,cachePool:null,transitions:null}}function ky(e,t){return{baseLanes:e.baseLanes|t,cachePool:null,transitions:e.transitions}}function gb(e,t,n){var r,i=t.pendingProps,o=he.current,a=!1,s=(128&t.flags)!==0;if((r=s)||(r=(e===null||e.memoizedState!==null)&&(2&o)!==0),r?(a=!0,t.flags&=-129):e!==null&&e.memoizedState===null||(o|=1),ie(he,1&o),e===null)return $f(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(1&t.mode?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=i.children,e=i.fallback,a?(i=t.mode,a=t.child,o={mode:"hidden",children:o},!(1&i)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=Cl(o,i,0,null),e=Dr(e,i,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=$s(n),t.memoizedState=Ns,e):Gf(t,o));if(o=e.memoizedState,o!==null){if(r=o.dehydrated,r!==null){if(s)return 256&t.flags?(t.flags&=-257,Us(e,t,n,Error(R(422)))):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=i.fallback,o=t.mode,i=Cl({mode:"visible",children:i.children},o,0,null),a=Dr(a,o,n,null),a.flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,1&t.mode&&Li(t,e.child,null,n),t.child.memoizedState=$s(n),t.memoizedState=Ns,a);if(!(1&t.mode))t=Us(e,t,n,null);else if(r.data==="$!")t=Us(e,t,n,Error(R(419)));else if(i=(n&e.childLanes)!==0,ft||i){if(i=Me,i!==null){switch(n&-n){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}i=a&(i.suspendedLanes|n)?0:a,i!==0&&i!==o.retryLane&&(o.retryLane=i,Ot(e,i,-1))}Bd(),t=Us(e,t,n,Error(R(421)))}else r.data==="$?"?(t.flags|=128,t.child=e.child,t=XR.bind(null,e),r._reactRetry=t,t=null):(n=o.treeContext,ut=Sn(r.nextSibling),bt=t,ue=!0,Wt=null,n!==null&&(It[Ft++]=kn,It[Ft++]=Cn,It[Ft++]=Vr,kn=n.id,Cn=n.overflow,Vr=t),t=Gf(t,t.pendingProps.children),t.flags|=4096);return t}return a?(i=Ey(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=o===null?$s(n):ky(o,n),a.childLanes=e.childLanes&~n,t.memoizedState=Ns,i):(n=Cy(e,t,i.children,n),t.memoizedState=null,n)}return a?(i=Ey(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=o===null?$s(n):ky(o,n),a.childLanes=e.childLanes&~n,t.memoizedState=Ns,i):(n=Cy(e,t,i.children,n),t.memoizedState=null,n)}function Gf(e,t){return t=Cl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Cy(e,t,n,r){var i=e.child;return e=i.sibling,n=tr(i,{mode:"visible",children:n}),!(1&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function Ey(e,t,n,r,i){var o=t.mode;e=e.child;var a=e.sibling,s={mode:"hidden",children:n};return!(1&o)&&t.child!==e?(n=t.child,n.childLanes=0,n.pendingProps=s,t.deletions=null):(n=tr(e,s),n.subtreeFlags=14680064&e.subtreeFlags),a!==null?r=tr(a,r):(r=Dr(r,o,i,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Us(e,t,n,r){return r!==null&&kd(r),Li(t,e.child,null,n),e=Gf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ty(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Bf(e.return,t,n)}function lf(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function vb(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(tt(e,t,r.children,n),r=he.current,2&r)r=1&r|2,t.flags|=128;else{if(e!==null&&128&e.flags)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ty(e,n,t);else if(e.tag===19)Ty(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ie(he,r),!(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&vl(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),lf(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&vl(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}lf(t,!0,n,null,o);break;case"together":lf(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Rn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),zr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,n=tr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function DR(e,t,n){switch(t.tag){case 3:mb(t),Mi();break;case 5:N0(t);break;case 1:ht(t.type)&&fl(t);break;case 4:Cd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ie(dl,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ie(he,1&he.current),t.flags|=128,null):n&t.child.childLanes?gb(e,t,n):(ie(he,1&he.current),e=Rn(e,t,n),e!==null?e.sibling:null);ie(he,1&he.current);break;case 19:if(r=(n&t.childLanes)!==0,128&e.flags){if(r)return vb(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ie(he,he.current),r)break;return null;case 22:case 23:return t.lanes=0,hb(e,t,n)}return Rn(e,t,n)}function AR(e,t){switch(Sd(t),t.tag){case 1:return ht(t.type)&&ul(),e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 3:return Oi(),le(dt),le(Ze),Td(),e=t.flags,65536&e&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ed(t),null;case 13:if(le(he),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));Mi()}return e=t.flags,65536&e?(t.flags=-65537&e|128,t):null;case 19:return le(he),null;case 4:return Oi(),null;case 10:return bd(t.type._context),null;case 22:case 23:return Vd(),null;case 24:return null;default:return null}}var Ws=!1,qe=!1,VR=typeof WeakSet=="function"?WeakSet:Set,O=null;function Si(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ye(e,t,r)}else n.current=null}function yb(e,t,n){try{n()}catch(r){ye(e,t,r)}}var _y=!1;function BR(e,t){if(Mf=al,e=k0(),gd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||I;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(s=a+i),d!==o||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++c===i&&(s=a),f===o&&++u===r&&(l=a),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Lf={focusedElem:e,selectionRange:n},al=!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 v=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var b=v.memoizedProps,w=v.memoizedState,h=t.stateNode,g=h.getSnapshotBeforeUpdate(t.elementType===t.type?b:$t(t.type,b),w);h.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=t.stateNode.containerInfo;if(y.nodeType===1)y.textContent="";else if(y.nodeType===9){var x=y.body;x!=null&&(x.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(k){ye(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,O=e;break}O=t.return}return v=_y,_y=!1,v}function Go(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&&yb(t,n,o)}i=i.next}while(i!==r)}}function Ol(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 Yf(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 bb(e){var t=e.alternate;t!==null&&(e.alternate=null,bb(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[sn],delete t[aa],delete t[Af],delete t[wR],delete t[SR])),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 xb(e){return e.tag===5||e.tag===3||e.tag===4}function Ry(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||xb(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 Kf(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=cl));else if(r!==4&&(e=e.child,e!==null))for(Kf(e,t,n),e=e.sibling;e!==null;)Kf(e,t,n),e=e.sibling}function qf(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(qf(e,t,n),e=e.sibling;e!==null;)qf(e,t,n),e=e.sibling}var Be=null,Ut=!1;function Hn(e,t,n){for(n=n.child;n!==null;)wb(e,t,n),n=n.sibling}function wb(e,t,n){if(ln&&typeof ln.onCommitFiberUnmount=="function")try{ln.onCommitFiberUnmount(Tl,n)}catch{}switch(n.tag){case 5:qe||Si(n,t);case 6:var r=Be,i=Ut;Be=null,Hn(e,t,n),Be=r,Ut=i,Be!==null&&(Ut?(e=Be,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Be.removeChild(n.stateNode));break;case 18:Be!==null&&(Ut?(e=Be,n=n.stateNode,e.nodeType===8?tf(e.parentNode,n):e.nodeType===1&&tf(e,n),ta(e)):tf(Be,n.stateNode));break;case 4:r=Be,i=Ut,Be=n.stateNode.containerInfo,Ut=!0,Hn(e,t,n),Be=r,Ut=i;break;case 0:case 11:case 14:case 15:if(!qe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(2&o||4&o)&&yb(n,t,a),i=i.next}while(i!==r)}Hn(e,t,n);break;case 1:if(!qe&&(Si(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ye(n,t,s)}Hn(e,t,n);break;case 21:Hn(e,t,n);break;case 22:1&n.mode?(qe=(r=qe)||n.memoizedState!==null,Hn(e,t,n),qe=r):Hn(e,t,n);break;default:Hn(e,t,n)}}function Py(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new VR),t.forEach(function(r){var i=GR.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Nt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*HR(r/1960))-r,10e?16:e,Xn===null)var r=!1;else{if(e=Xn,Xn=null,Sl=0,6&Z)throw Error(R(331));var i=Z;for(Z|=4,O=e.current;O!==null;){var o=O,a=o.child;if(16&O.flags){var s=o.deletions;if(s!==null){for(var l=0;lke()-Dd?Or(e,0):Od|=n),pt(e,t)}function Ib(e,t){t===0&&(1&e.mode?(t=Is,Is<<=1,!(130023424&Is)&&(Is=4194304)):t=1);var n=nt();e=Al(e,t),e!==null&&(ha(e,t,n),pt(e,n))}function XR(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ib(e,n)}function GR(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(R(314))}r!==null&&r.delete(t),Ib(e,n)}var Fb;Fb=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||dt.current)ft=!0;else{if(!(e.lanes&n)&&!(128&t.flags))return ft=!1,DR(e,t,n);ft=(131072&e.flags)!==0}else ft=!1,ue&&1048576&t.flags&&V0(t,gl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var i=Fi(t,Ze.current);Ri(t,n),i=Rd(null,t,r,e,i,n);var o=Pd();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,ht(r)?(o=!0,fl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,xd(t),i.updater=Ml,t.stateNode=i,i._reactInternals=t,Hf(t,r,e,n),t=Xf(null,t,r,!0,o,n)):(t.tag=0,ue&&o&&wd(t),tt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=KR(r),e=$t(r,e),i){case 0:t=jf(null,t,r,e,n);break e;case 1:t=wy(null,t,r,e,n);break e;case 11:t=by(null,t,r,e,n);break e;case 14:t=xy(null,t,r,$t(r.type,e),n);break e}throw Error(R(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$t(r,i),jf(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$t(r,i),wy(e,t,r,i,n);case 3:e:{if(mb(t),e===null)throw Error(R(387));r=t.pendingProps,o=t.memoizedState,i=o.element,O0(e,t),pl(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){i=Error(R(423)),t=Sy(e,t,r,n,i);break e}if(r!==i){i=Error(R(424)),t=Sy(e,t,r,n,i);break e}for(ut=Sn(t.stateNode.containerInfo.firstChild),bt=t,ue=!0,Wt=null,n=H0(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Mi(),r===i){t=Rn(e,t,n);break e}tt(e,t,r,n)}t=t.child}return t;case 5:return N0(t),e===null&&$f(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,Of(r,i)?a=null:o!==null&&Of(r,o)&&(t.flags|=32),pb(e,t),tt(e,t,a,n),t.child;case 6:return e===null&&$f(t),null;case 13:return gb(e,t,n);case 4:return Cd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Li(t,null,r,n):tt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$t(r,i),by(e,t,r,i,n);case 7:return tt(e,t,t.pendingProps,n),t.child;case 8:return tt(e,t,t.pendingProps.children,n),t.child;case 12:return tt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,ie(dl,r._currentValue),r._currentValue=a,o!==null)if(Gt(o.value,a)){if(o.children===i.children&&!dt.current){t=Rn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=En(-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),Bf(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(R(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Bf(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}tt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ri(t,n),i=Dt(i),r=r(i),t.flags|=1,tt(e,t,r,n),t.child;case 14:return r=t.type,i=$t(r,t.pendingProps),i=$t(r.type,i),xy(e,t,r,i,n);case 15:return db(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$t(r,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ht(r)?(e=!0,fl(t)):e=!1,Ri(t,n),A0(t,r,i),Hf(t,r,i,n),Xf(null,t,r,!0,e,n);case 19:return vb(e,t,n);case 22:return hb(e,t,n)}throw Error(R(156,t.tag))};function Mb(e,t){return i0(e,t)}function YR(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 Mt(e,t,n,r){return new YR(e,t,n,r)}function zd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function KR(e){if(typeof e=="function")return zd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===od)return 11;if(e===ad)return 14}return 2}function tr(e,t){var n=e.alternate;return n===null?(n=Mt(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 el(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")zd(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case hi:return Dr(n.children,i,o,t);case id:a=8,i|=8;break;case df:return e=Mt(12,n,t,2|i),e.elementType=df,e.lanes=o,e;case hf:return e=Mt(13,n,t,i),e.elementType=hf,e.lanes=o,e;case pf:return e=Mt(19,n,t,i),e.elementType=pf,e.lanes=o,e;case Ny:return Cl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zy:a=10;break e;case Hy:a=9;break e;case od:a=11;break e;case ad:a=14;break e;case Nn:a=16,r=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=Mt(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Dr(e,t,n,r){return e=Mt(7,e,r,t),e.lanes=n,e}function Cl(e,t,n,r){return e=Mt(22,e,r,t),e.elementType=Ny,e.lanes=n,e.stateNode={},e}function cf(e,t,n){return e=Mt(6,e,null,t),e.lanes=n,e}function uf(e,t,n){return t=Mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function qR(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=Gu(0),this.expirationTimes=Gu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gu(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Hd(e,t,n,r,i,o,a,s,l){return e=new qR(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Mt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},xd(o),e}function ZR(e,t,n){var r=3n.Hsluv.epsilon?a:i/n.Hsluv.kappa,l=0;l<3;)for(var c=l++,u=n.Hsluv.m[c][0],d=n.Hsluv.m[c][1],f=n.Hsluv.m[c][2],p=0;p<2;){var v=p++,b=(284517*u-94839*f)*s,w=(838422*f+769860*d+731718*u)*i*s-769860*v*i,h=(632260*f-126452*d)*s+126452*v;o.push({slope:b/h,intercept:w/h})}return o},n.Hsluv.maxSafeChromaForL=function(i){for(var o=n.Hsluv.getBounds(i),a=1/0,s=0;s=0&&(l=Math.min(l,d))}return l},n.Hsluv.dotProduct=function(i,o){for(var a=0,s=0,l=i.length;s.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],a=i[1],s=i[2],l=o+15*a+3*s,c=4*o,u=9*a;l!=0?(c/=l,u/=l):(c=NaN,u=NaN);var d=n.Hsluv.yToL(a);if(d==0)return[0,0,0];var f=13*d*(c-n.Hsluv.refU),p=13*d*(u-n.Hsluv.refV);return[d,f,p]},n.Hsluv.luvToXyz=function(i){var o=i[0],a=i[1],s=i[2];if(o==0)return[0,0,0];var l=a/(13*o)+n.Hsluv.refU,c=s/(13*o)+n.Hsluv.refV,u=n.Hsluv.lToY(o),d=0-9*u*l/((l-4)*c-l*c),f=(9*u-15*c*u-c*d)/(3*c);return[d,u,f]},n.Hsluv.luvToLch=function(i){var o=i[0],a=i[1],s=i[2],l=Math.sqrt(a*a+s*s),c;if(l<1e-8)c=0;else{var u=Math.atan2(s,a);c=u*180/Math.PI,c<0&&(c=360+c)}return[o,l,c]},n.Hsluv.lchToLuv=function(i){var o=i[0],a=i[1],s=i[2],l=s/360*2*Math.PI,c=Math.cos(l)*a,u=Math.sin(l)*a;return[o,c,u]},n.Hsluv.hsluvToLch=function(i){var o=i[0],a=i[1],s=i[2];if(s>99.9999999)return[100,0,o];if(s<1e-8)return[0,0,o];var l=n.Hsluv.maxChromaForLH(s,o),c=l/100*a;return[s,c,o]},n.Hsluv.lchToHsluv=function(i){var o=i[0],a=i[1],s=i[2];if(o>99.9999999)return[s,0,100];if(o<1e-8)return[s,0,0];var l=n.Hsluv.maxChromaForLH(o,s),c=a/l*100;return[s,c,o]},n.Hsluv.hpluvToLch=function(i){var o=i[0],a=i[1],s=i[2];if(s>99.9999999)return[100,0,o];if(s<1e-8)return[0,0,o];var l=n.Hsluv.maxSafeChromaForL(s),c=l/100*a;return[s,c,o]},n.Hsluv.lchToHpluv=function(i){var o=i[0],a=i[1],s=i[2];if(o>99.9999999)return[s,0,100];if(o<1e-8)return[s,0,0];var l=n.Hsluv.maxSafeChromaForL(o),c=a/l*100;return[s,c,o]},n.Hsluv.rgbToHex=function(i){for(var o="#",a=0;a<3;){var s=a++,l=i[s],c=Math.round(l*255),u=c%16,d=(c-u)/16|0;o+=n.Hsluv.hexChars.charAt(d)+n.Hsluv.hexChars.charAt(u)}return o},n.Hsluv.hexToRgb=function(i){i=i.toLowerCase();for(var o=[],a=0;a<3;){var s=a++,l=n.Hsluv.hexChars.indexOf(i.charAt(s*2+1)),c=n.Hsluv.hexChars.indexOf(i.charAt(s*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}}),mP=nn({"../../../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,d){this.fn=c,this.context=u,this.once=d||!1}function a(c,u,d,f,p){if(typeof d!="function")throw new TypeError("The listener must be a function");var v=new o(d,f||c,p),b=r?r+u:u;return c._events[b]?c._events[b].fn?c._events[b]=[c._events[b],v]:c._events[b].push(v):(c._events[b]=v,c._eventsCount++),c}function s(c,u){--c._eventsCount===0?c._events=new i:delete c._events[u]}function l(){this._events=new i,this._eventsCount=0}l.prototype.eventNames=function(){var u=[],d,f;if(this._eventsCount===0)return u;for(f in d=this._events)n.call(d,f)&&u.push(r?f.slice(1):f);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(d)):u},l.prototype.listeners=function(u){var d=r?r+u:u,f=this._events[d];if(!f)return[];if(f.fn)return[f.fn];for(var p=0,v=f.length,b=new Array(v);p1)for(var y=1;yparseInt(h[1],10)}else u=!1;return u}function v(){return f===null&&(f=!!document.fonts),f}function b(){if(d===null){var h=document.createElement("div");try{h.style.font="condensed 100px sans-serif"}catch{}d=h.style.font!==""}return d}function w(h,g){return[h.style,h.weight,b()?h.stretch:"","100px",g].join(" ")}l.prototype.load=function(h,g){var y=this,x=h||"BESbswy",k=0,S=g||3e3,E=new Date().getTime();return new Promise(function(C,_){if(v()&&!p()){var T=new Promise(function(A,$){function V(){new Date().getTime()-E>=S?$(Error(""+S+"ms timeout exceeded")):document.fonts.load(w(y,'"'+y.family+'"'),x).then(function(F){1<=F.length?A():setTimeout(V,25)},$)}V()}),L=new Promise(function(A,$){k=setTimeout(function(){$(Error(""+S+"ms timeout exceeded"))},S)});Promise.race([L,T]).then(function(){clearTimeout(k),C(y)},_)}else r(function(){function A(){var X;(X=P!=-1&&q!=-1||P!=-1&&ee!=-1||q!=-1&&ee!=-1)&&((X=P!=q&&P!=ee&&q!=ee)||(c===null&&(X=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(I.navigator.userAgent),c=!!X&&(536>parseInt(X[1],10)||parseInt(X[1],10)===536&&11>=parseInt(X[2],10))),X=c&&(P==ne&&q==ne&&ee==ne||P==H&&q==H&&ee==H||P==oe&&q==oe&&ee==oe)),X=!X),X&&(W.parentNode&&W.parentNode.removeChild(W),clearTimeout(k),C(y))}function $(){if(new Date().getTime()-E>=S)W.parentNode&&W.parentNode.removeChild(W),_(Error(""+S+"ms timeout exceeded"));else{var X=document.hidden;(X===!0||X===void 0)&&(P=V.a.offsetWidth,q=F.a.offsetWidth,ee=G.a.offsetWidth,A()),k=setTimeout($,50)}}var V=new i(x),F=new i(x),G=new i(x),P=-1,q=-1,ee=-1,ne=-1,H=-1,oe=-1,W=document.createElement("div");W.dir="ltr",o(V,w(y,"sans-serif")),o(F,w(y,"serif")),o(G,w(y,"monospace")),W.appendChild(V.a),W.appendChild(F.a),W.appendChild(G.a),document.body.appendChild(W),ne=V.a.offsetWidth,H=F.a.offsetWidth,oe=G.a.offsetWidth,$(),s(V,function(X){P=X,A()}),o(V,w(y,'"'+y.family+'",sans-serif')),s(F,function(X){q=X,A()}),o(F,w(y,'"'+y.family+'",serif')),s(G,function(X){ee=X,A()}),o(G,w(y,'"'+y.family+'",monospace'))})})},typeof t=="object"?t.exports=l:(I.FontFaceObserver=l,I.FontFaceObserver.prototype.load=l.prototype.load)})()}});function Kx(e,t){if(!e.startsWith("/")||!t.startsWith("/"))throw new Error("from/to paths are expected to be absolute");let[n]=Bb(e),[r,i]=Bb(t),o=bP(n,r);return o===""&&(o="."),!o.startsWith(".")&&!o.startsWith("/")&&(o="./"+o),o+"/"+i}function Bb(e){let t=e.lastIndexOf("/");return[e.substring(0,t+1),e.substring(t+1)]}var Wd=46,Ni=47,fr=(e,t)=>e.charCodeAt(t),zb=(e,t)=>e.lastIndexOf(t),Wi=(e,t,n)=>e.slice(t,n);function bP(e,t){if(e===t||(e="/"+Nb(e),t="/"+Nb(t),e===t))return"";let n=1,r=e.length,i=r-n,o=1,a=t.length-o,s=is){if(fr(t,o+c)===Ni)return Wi(t,o+c+1);if(c===0)return Wi(t,o+c)}else i>s&&(fr(e,n+c)===Ni?l=c:c===0&&(l=0));let u="";for(c=n+l+1;c<=r;++c)(c===r||fr(e,c)===Ni)&&(u+=u.length===0?"..":"/..");return`${u}${Wi(t,o+l)}`}var xP=!1,Nl="/",Hb=e=>e===Ni;function Nb(e){let t="",n=0,r=-1,i=0,o=0;for(let a=0;a<=e.length;++a){if(a2){let s=zb(t,Nl);s===-1?(t="",n=0):(t=Wi(t,0,s),n=t.length-1-zb(t,Nl)),r=a,i=0;continue}else if(t.length!==0){t="",n=0,r=a,i=0;continue}}xP&&(t+=t.length>0?`${Nl}..`:"..",n=2)}else t.length>0?t+=`${Nl}${Wi(e,r+1,a)}`:t=Wi(e,r+1,a),n=a-r-1;r=a,i=0}else o===Wd&&i!==-1?++i:i=-1}return t}function qx(e,t={}){return m.isValidElement(e)?m.cloneElement(e,{style:t}):m.createElement(e,{style:t})}var wP=class extends Error{},SP=class extends fe{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 wP))throw this.state.error;let{notFoundPage:e,defaultPageStyle:t}=this.props;if(!e)throw this.state.error;return qx(e,t)}};function Zx(e,t,{global:n,routes:r}){var i;return((i=r[e])===null||i===void 0?void 0:i[t])||n}var kP={global:void 0,routes:{}},Qx=m.createContext(kP);function N3({children:e,value:t}){return m.createElement(Qx.Provider,{value:t},e)}function Jx(){return m.useContext(Qx)}var jd=10,CP=1e4;function EP(e){let t=jd,n=e.next(0),r=[n.value];for(;!n.done&&t`--view-transition-${e}`;function ch(e){return[parseFloat(e),e.endsWith("px")?"px":"%"]}function e1(e){let{innerWidth:t,innerHeight:n}=I,[r,i]=ch(e.x),[o,a]=ch(e.y);return{x:i==="px"?r:t*(r/100),y:a==="px"?o:n*(o/100)}}var TP={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),`${Mn("conic-offset")}: ${r}%;`},makeStyles:(e,t)=>{let n=`var(${Mn("conic-offset")})`,r=t==="exit"&&e.angularDirection==="clockwise"||t==="enter"&&e.angularDirection==="counter-clockwise",i=r?"transparent":"black",o=r?"black":"transparent",a="conic-gradient(from ";return a+=`${e.angle}deg at ${e.x} ${e.y}, `,a+=`${i} 0%, ${i} ${n}, `,a+=`${o} ${n}, ${o} 100%)`,`mask-image: ${a}; -webkit-mask-image: ${a};`},makePropertyRules:()=>` @property ${Mn("conic-offset")} { syntax: ''; initial-value: 0%; inherits: false; } `},_P={makeKeyframe:(e,t)=>{let{x:n,y:r}=e1(e);return t==="start"?`clip-path: circle(0 at ${n}px ${r}px);`:`clip-path: circle(${Math.hypot(Math.max(n,I.innerWidth-n),Math.max(r,I.innerHeight-r))}px at ${n}px ${r}px);`}},RP={makeKeyframe:(e,t)=>{let{x:n,y:r}=e1(e),i=I.innerHeight-r,o=I.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);"}},PP={makeKeyframe:(e,t,n)=>{let[,r]=ch(e.width),i=`0${r}`;return(t==="start"&&n==="exit"||t==="end"&&n==="enter")&&(i=e.width),`${Mn("blinds-width")}: ${i};`},makeStyles:(e,t)=>{let n=`var(${Mn("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 ${Mn("blinds-width")} { syntax: ''; initial-value: 0px; inherits: false; } `},IP={makeKeyframe:(e,t,n)=>{let r=t==="start"&&n==="exit"||t==="end"&&n==="enter"?1:0;return`${Mn("wipe-offset")}: ${r};`},makeStyles:(e,t)=>{let n=`var(${Mn("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 ${Mn("wipe-offset")} { syntax: ''; initial-value: 0; inherits: false; } `},FP={circle:_P,conic:TP,inset:RP,blinds:PP,wipe:IP},MP={opacity:1,x:"0px",y:"0px",scale:1,rotate:0,rotateX:0,rotateY:0,mask:void 0};function $b(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 LP(e){return e?FP[e]:void 0}function Ub(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}=EP(ko({keyframes:[0,1],stiffness:t.stiffness,damping:t.damping,mass:t.mass,restDelta:.001,restSpeed:1e-4}));o.duration=u+"ms",o.easing=c}let a=LP((r=n?.mask)===null||r===void 0?void 0:r.type),s=$b(n,"start",e,a),l=$b({...MP,mask:n.mask},"end",e,a);return e==="exit"&&([s,l]=[l,s]),` ${n.mask&&a?.makePropertyRules?a.makePropertyRules(n.mask):""} @keyframes ${i} { 0% { ${s} } 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&&a?.makeStyles?a.makeStyles(n.mask,e):""} } `}var t1="view-transition-styles",OP={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 DP({exit:e=OP,enter:t}){let n=document.createElement("style");n.id=t1;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+=Ub("exit",e),r+=Ub("enter",t),n.textContent=r,document.head.appendChild(n)}function AP(){K.render(()=>{let e=document.getElementById(t1);e&&document.head.removeChild(e)})}function n1(){return Boolean(document.startViewTransition)}function r1(e,t){DP(t);let n=document.startViewTransition(e);return Promise.all([n.ready,n.finished]).then(AP).catch(()=>{}),n}var VP=":([a-zA-Z][a-zA-Z0-9_]*)",Yi=new RegExp(VP,"g");function uh(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Xd(e){return typeof e=="string"}var BP="preload";function zP(e){return typeof e=="object"&&e!==null&&!m.isValidElement(e)&&BP in e}function U3(e){let t=m.lazy(e),n,r,i=m.forwardRef(function(a,s){return m.createElement(r??t,Object.assign(s?{ref:s}:{},a))});return i.preload=()=>(n||(n=e().then(o=>(r=o.default,r))),n),i}function bh(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function Wb(e,t,{currentRoutePath:n,hash:r,pathVariables:i,localeId:o}={}){let{path:a}=t;if(a)try{let s=WP(t,{currentRoutePath:n,hash:r,pathVariables:i});i1({routeId:e,hash:r,pathVariables:i,localeId:o},s)}catch{}}function HP(e,t){I.history.replaceState(e,"",t)}function i1(e,t){I.history.pushState(e,"",t)}function NP({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){m.useEffect(()=>{e||HP({routeId:t,pathVariables:n,localeId:r})},[])}function $P(e,t){let n=Jx(),r=m.useRef(void 0),i=m.useCallback(({state:o})=>{var a,s;if(!uh(o))return;let{routeId:l,hash:c,pathVariables:u,localeId:d}=o;if(!Xd(l))return;let f=()=>{t(l,Xd(d)?d:void 0,Xd(c)?c:void 0,uh(u)?u:void 0,!1,!0)},p=Zx(e.current,l,n);n1()&&p?r1(()=>va(f),p).updateCallbackDone.then((a=r.current)===null||a===void 0?void 0:a.resolve).catch((s=r.current)===null||s===void 0?void 0:s.reject):f()},[e,t,n]);m.useEffect(()=>{var o;let a=s=>{s.navigationType==="traverse"&&s.intercept({async handler(){await new Promise((l,c)=>{r.current={resolve:l,reject:c}})},scroll:"after-transition"})};return I.addEventListener("popstate",i),(o=I.navigation)===null||o===void 0||o.addEventListener("navigate",a),()=>{var s;I.removeEventListener("popstate",i),(s=I.navigation)===null||s===void 0||s.removeEventListener("navigate",a)}},[i])}function UP(e,t,n){let r=bh(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(Yi,(o,a)=>{var s;return String((s=i[a])!==null&&s!==void 0?s:o)})}function WP(e,{currentRoutePath:t,hash:n,pathVariables:r,hashVariables:i,relative:o=!0}){var a;let s=t??"/",c=(a=e?.path)!==null&&a!==void 0?a:"/";r&&(c=c.replace(Yi,(d,f)=>{var p;return String((p=r[f])!==null&&p!==void 0?p:d)})),o&&(c=Kx(s,c));let u=UP(n,e,i);return u?`${c}#${u}`:c}function jP(e,t,n,r){let{path:i}=n;if(i)try{let o=i;r&&(o=o.replace(Yi,(a,s)=>{var l;return String((l=r[s])!==null&&l!==void 0?l:a)})),e.slug&&(o="/"+e.slug+o);try{localStorage.setItem("preferredLocale",e.code)}catch{}i1({routeId:t,pathVariables:r,localeId:e.id},o)}catch{}}var $l,Gd,jb;function XP(e){if(jb!==e){$l={};for(let[t,{path:n}]of Object.entries(e))n&&($l[n]={path:n,depth:GP(n),routeId:t});Gd=Object.values($l),Gd.sort(({depth:t},{depth:n})=>n-t),jb=e}return[$l,Gd]}function W3(e,t,n=!0,r=[]){let[i,o]=XP(e),a,s,l=t;if(r.length>0){let f=l.split("/").find(Boolean);if(f&&(a=r.find(({slug:p})=>p===f),a&&(s=a.id,l=l.substring(a.slug.length+1))),!s){let p=r.find(({slug:v})=>v==="");p&&(s=p.id)}}let c=i[l];if(c){let f=Xb(l,c.path);if(f.isMatch)return{routeId:c.routeId,localeId:s,pathVariables:f.pathVariables}}for(let{path:f,routeId:p}of o){let v=Xb(l,f);if(v.isMatch)return{routeId:p,localeId:s,pathVariables:v.pathVariables}}if(!n)throw new Error("No exact match found for path");let u=i["/"];if(u)return{routeId:u.routeId,localeId:s};let d=Object.keys(e)[0];if(!d)throw new Error("Router should not have undefined routes");return{routeId:d,localeId:s}}function GP(e){let t=e.replace(/(?:^\/|\/$)/g,"");return t===""?0:t.split("/").length}function Xb(e,t){let n=[],i=YP(t).replace(Yi,(c,u)=>(n.push(u),"([^/]+)")),o=new RegExp(i+"$"),a=e.match(o);if(!a)return{isMatch:!1};if(a.length===1)return{isMatch:!0};let s={},l=a.slice(1);for(let c=0;c{let i=t[r];return typeof i!="string"||i.length===0?n:encodeURIComponent(i)})}function ZP(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 o1(e){return m.useCallback(t=>e[t],[e])}var xh=m.createContext({});function QP({api:e,children:t}){return m.createElement(xh.Provider,{value:e},t)}function wh(){return m.useContext(xh)}function JP({routes:e,children:t}){let n=o1(e);return m.createElement(xh.Provider,{value:{getRoute:n}},t)}function eI(){let[e,t]=m.useState(0);return[e,m.useCallback(()=>t(n=>n+1),[])]}var tI={activeLocale:null,locales:[],setLocale:()=>{}},a1=m.createContext(tI);function Z3(){return m.useContext(a1)}function Yb(e,t,n){let r=e&&document.getElementById(e);if(r){iI(r,t);return}n||I.scrollTo(0,0)}function nI(e){let t=m.useRef([]);return m.useLayoutEffect(()=>{var n;!((n=t.current)===null||n===void 0)&&n.length&&(t.current.forEach(r=>r()),t.current=[])},[e]),m.useCallback(n=>{t.current.push(n)},[])}function rI({defaultPageStyle:e,disableHistory:t,initialPathVariables:n,initialRoute:r,notFoundPage:i,routes:o,initialLocaleId:a,locales:s=[]}){NP({disabled:t,routeId:r,initialPathVariables:n,initialLocaleId:a});let l=m.useRef(r),c=m.useRef(n),u=m.useRef(a),d=u.current,f=m.useMemo(()=>{var L;return(L=s.find(({id:A,slug:$})=>d?A===d:$===""))!==null&&L!==void 0?L:null},[d,s]),[p,v]=eI(),b=m.useMemo(()=>({activeLocale:f,locales:s,setLocale:L=>{if(!L||!s.some(({id:F})=>F===L.id))return;let $=l.current,V=o[$];V&&(u.current=L.id,jP(L,$,V,c.current),Zr(()=>v()))}}),[f,v,s,o]),w=nI(p),h=m.useCallback((L,A,$,V,F=!1,G=!1)=>{l.current=L,c.current=V,u.current=A,w(()=>{Yb($,F,G)}),v()},[v,w]);$P(l,h);let g=Jx(),y=m.useCallback((L,A,$,V)=>{var F,G;let P=o[L];if($){let H=new Set,oe=(F=P?.path)!==null&&F!==void 0?F:"/";for(let W of oe.matchAll(Yi)){let X=W[1];if(X===void 0)throw new Error("A matching path variable should not be undefined");H.add(X)}$=Object.fromEntries(Object.entries($).filter(([W])=>H.has(W)))}let q=bh(P,A);if(ZP({routeId:l.current,pathVariables:c.current},{routeId:L,pathVariables:$})){if(((G=I.history.state)===null||G===void 0?void 0:G.hash)!==A&&!t){let H=o[L];H&&Wb(L,H,{currentRoutePath:H.path,pathVariables:$,hash:A,localeId:u.current})}Yb(q,V,!1);return}if(!P)return;if(!t){let H=o[l.current];Wb(L,P,{currentRoutePath:H?.path,hash:A,pathVariables:$,localeId:u.current})}let ee=()=>h(L,u.current,q,$,V,!1),ne=Zx(l.current,L,g);n1()&&ne?r1(()=>va(ee),ne):Zr(ee)},[o,t,h,g]),x=o1(o),k=l.current,S=c.current,E=m.useMemo(()=>({navigate:y,getRoute:x,currentRouteId:k,currentPathVariables:S,routes:o}),[y,x,k,S,o]),C=o[l.current];if(!C)throw new Error(`Router cannot find route for ${l.current}`);let _=C.path&&S?qP(C.path,S):C.path,T=String(d)+_;return m.createElement(QP,{api:E},m.createElement(a1.Provider,{value:b},m.createElement(m.Suspense,{fallback:null},m.createElement(SP,{notFoundPage:i,defaultPageStyle:e,forceUpdateKey:p},m.createElement(m.Fragment,{key:T},qx(C.page,e))))))}function iI(e,t){let n=t?{behavior:"smooth",block:"start",inline:"nearest"}:void 0;e.scrollIntoView(n)}var oI=m.createContext(void 0);function s1(){var e;let t=wh(),n=D(oI),r=n??t.currentRouteId;if(!r)return;let i=(e=t.getRoute)===null||e===void 0?void 0:e.call(t,r);if(i)return{...i,id:r,pathVariables:n?void 0:t.currentPathVariables}}function aI(e,t=!0){let{getRoute:n}=wh();m.useEffect(()=>{if(!(!n||!t))for(let r of e){let i=n(r);i?.page&&sI(i.page)}},[e,n,t])}function sI(e){zP(e)&&e.preload()}var Kb=new Set;function Ta(e,...t){Kb.has(e)||(Kb.add(e),console.warn(e,...t))}function lI(e,t,n){let r=n?`, use ${n} instead`:"",i=`Deprecation warning: ${e} will be removed in version ${t}${r}.`;Ta(i)}var l1=class{constructor(){this.observers=new Set,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}},Re=(()=>{function e(t){return lI("Animatable()","2.0.0","the new animation API (https://www.framer.com/api/animation/)"),Yt(t)?t:new uI(t)}return e.transaction=t=>{let n=Math.random(),r=new Set;t((a,s)=>{a.set(s,n),r.add(a)},n);let o=[];r.forEach(a=>{o.push(...a.finishTransaction(n))}),o.forEach(a=>{a(n)})},e.getNumber=(t,n=0)=>e.get(t,n),e.get=(t,n)=>t==null?n:Yt(t)?t.get():t,e.objectToValues=t=>{if(!t)return t;let n={};for(let r in t){let i=t[r];Yt(i)?n[r]=i.get():n[r]=i}return n},e})(),qb="onUpdate",Zb="finishTransaction";function Yt(e){return e!==null&&typeof e=="object"&&qb in e&&e[qb]instanceof Function&&Zb in e&&e[Zb]instanceof Function}function cI(e,t){return{interpolate(n,r){let i=n.get(),o=r.get(),a=Re(i);return s=>{let l=t.interpolate(i,o)(s);return a.set(l),a}},difference(n,r){let i=n.get();return t.difference(i,r.get())}}}var uI=class{constructor(e){this.value=e,this.observers=new l1}static interpolationFor(e,t){if(Yt(e))return cI(e,t)}get(){return this.value}set(e,t){let n=this.value;Yt(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)}},Qb=e=>e instanceof gs;function Ul(e,t){let n=Math.round(Math.abs(t)),r=Math.pow(10,n);return Math.round(e*r)/r}function Jb(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function mt(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:Jb(r.x,i.x),y:Jb(r.y,i.y)}),e.distance=(r,i)=>{let o=Math.abs(r.x-i.x),a=Math.abs(r.y-i.y);return Math.sqrt(o*o+a*a)},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,a=Math.abs(o)+180,s=Math.floor(a/360);return o<180&&(i-=s*360),o>180&&(i+=s*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,a,s,l,c,u,d,f;let p=r.x,v=r.y,b=!1;for(let w=0,h=i.length-1;wv!=k>v&&p<(x-g)*(v-y)/(k-y)+g&&(b=!b)}return b}e.insidePoints=n})(mt||(mt={}));var r4=Number.MIN_VALUE;var i4={tension:500,friction:10,tolerance:1/1e4,velocity:0};var fI=Le(pP(),1),nc={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 or(e,t,n,r=!1){let[i,o]=t,[a,s]=n,l=o-i;if(l===0)return(s+a)/2;let c=s-a;if(c===0)return a;let u=a+(e-i)/l*c;if(r===!0)if(as)return s}else{if(u>a)return a;if(u.5?d/(2-l-c):d/(l+c),l){case o:u=(a-s)/d+(a1&&(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 vI(e,t,n){let r,i,o;if(e=it(e,360),t=it(t*100,100),n=it(n*100,100),t===0)r=i=o=n;else{let a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=Yd(s,a,e+1/3),i=Yd(s,a,e),o=Yd(s,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function tx(e,t,n){e=it(e,255),t=it(t,255),n=it(n,255);let r=Math.max(e,t,n),i=Math.min(e,t,n),o=r-i,a,s=r===0?0:o/r,l=r;if(r===i)a=0;else{switch(r){case e:a=(t-n)/o+(t{function e(o,a,s,l){if(typeof o=="string"){let u=rx.get(o);return u||(u=t(o),u===void 0?{...e("black"),isValid:!1}:(rx.set(o,u),u))}let c=t(o,a,s,l);return c!==void 0?c:{...e("black"),isValid:!1}}function t(o,a,s,l){if(o==="")return;let c=wI(o,a,s,l);if(c){let u={r:c.r,g:c.g,b:c.b,a:c.a,h:c.h,s:c.s,l:c.l,initialValue:typeof o=="string"&&c.format!=="hsv"?o:void 0,roundA:Math.round(100*c.a)/100,format:c.format,mix:e.mix,toValue:()=>e.toRgbString(u)};return u}else return}let n={isRGB(o){return o==="rgb"||o==="rgba"},isHSL(o){return o==="hsl"||o==="hsla"}};e.inspect=(o,a)=>o.format==="hsl"?`<${o.constructor.name} h:${o.h} s:${o.s} l:${o.l} a:${o.a}>`:o.format==="hex"||o.format==="name"?`<${o.constructor.name} "${a}">`:`<${o.constructor.name} r:${o.r} g:${o.g} b:${o.b} a:${o.a}>`,e.isColor=o=>typeof o=="string"?e.isColorString(o):e.isColorObject(o),e.isColorString=o=>typeof o=="string"?kh(o)!==!1:!1,e.isColorObject=o=>o&&typeof o!="string"&&typeof o.r=="number"&&typeof o.g=="number"&&typeof o.b=="number"&&typeof o.h=="number"&&typeof o.s=="number"&&typeof o.l=="number"&&typeof o.a=="number"&&typeof o.roundA=="number"&&typeof o.format=="string",e.toString=o=>e.toRgbString(o),e.toHex=(o,a=!1)=>ex(o.r,o.g,o.b,a),e.toHexString=(o,a=!1)=>`#${e.toHex(o,a)}`,e.toRgbString=o=>o.a===1?"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")":"rgba("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+", "+o.roundA+")",e.toHusl=o=>({...pI(o.r,o.g,o.b),a:o.roundA}),e.toHslString=o=>{let a=e.toHsl(o),s=Math.round(a.h),l=Math.round(a.s*100),c=Math.round(a.l*100);return o.a===1?"hsl("+s+", "+l+"%, "+c+"%)":"hsla("+s+", "+l+"%, "+c+"%, "+o.roundA+")"},e.toHsv=o=>{let a=tx(o.r,o.g,o.b);return{h:a.h*360,s:a.s,v:a.v,a:o.a}},e.toHsvString=o=>{let a=tx(o.r,o.g,o.b),s=Math.round(a.h*360),l=Math.round(a.s*100),c=Math.round(a.v*100);return o.a===1?"hsv("+s+", "+l+"%, "+c+"%)":"hsva("+s+", "+l+"%, "+c+"%, "+o.roundA+")"},e.toName=o=>{if(o.a===0)return"transparent";if(o.a<1)return!1;let a=ex(o.r,o.g,o.b,!0);for(let s of Object.keys(nc))if(nc[s]===a)return s;return!1},e.toHsl=o=>({h:Math.round(o.h),s:o.s,l:o.l,a:o.a}),e.toRgb=o=>({r:Math.round(o.r),g:Math.round(o.g),b:Math.round(o.b),a:o.a}),e.brighten=(o,a=10)=>{let s=e.toRgb(o);return s.r=Math.max(0,Math.min(255,s.r-Math.round(255*-(a/100)))),s.g=Math.max(0,Math.min(255,s.g-Math.round(255*-(a/100)))),s.b=Math.max(0,Math.min(255,s.b-Math.round(255*-(a/100)))),e(s)},e.lighten=(o,a=10)=>{let s=e.toHsl(o);return s.l+=a/100,s.l=Math.min(1,Math.max(0,s.l)),e(s)},e.darken=(o,a=10)=>{let s=e.toHsl(o);return s.l-=a/100,s.l=Math.min(1,Math.max(0,s.l)),e(s)},e.saturate=(o,a=10)=>{let s=e.toHsl(o);return s.s+=a/100,s.s=Math.min(1,Math.max(0,s.s)),e(s)},e.desaturate=(o,a=10)=>{let s=e.toHsl(o);return s.s-=a/100,s.s=Math.min(1,Math.max(0,s.s)),e(s)},e.grayscale=o=>e.desaturate(o,100),e.hueRotate=(o,a)=>{let s=e.toHsl(o);return s.h+=a,s.h=s.h>360?s.h-360:s.h,e(s)},e.alpha=(o,a=1)=>e({r:o.r,g:o.g,b:o.b,a}),e.transparent=o=>e.alpha(o,0),e.multiplyAlpha=(o,a=1)=>e({r:o.r,g:o.g,b:o.b,a:o.a*a}),e.interpolate=(o,a,s="rgb")=>{if(!e.isColorObject(o)||!e.isColorObject(a))throw new TypeError("Both arguments for Color.interpolate must be Color objects");return l=>e.mixAsColor(o,a,l,!1,s)},e.mix=(o,a,{model:s="rgb"}={})=>{let l=typeof o=="string"?e(o):o,c=e.interpolate(l,a,s);return u=>e.toRgbString(c(u))},e.mixAsColor=(o,a,s=.5,l=!1,c="rgb")=>{let u=null;if(n.isRGB(c))u=e({r:or(s,[0,1],[o.r,a.r],l),g:or(s,[0,1],[o.g,a.g],l),b:or(s,[0,1],[o.b,a.b],l),a:or(s,[0,1],[o.a,a.a],l)});else{let d,f;n.isHSL(c)?(d=e.toHsl(o),f=e.toHsl(a)):(d=e.toHusl(o),f=e.toHusl(a)),d.s===0?d.h=f.h:f.s===0&&(f.h=d.h);let p=d.h,v=f.h,b=v-p;b>180?b=v-360-p:b<-180&&(b=v+360-p);let w={h:or(s,[0,1],[p,p+b],l),s:or(s,[0,1],[d.s,f.s],l),l:or(s,[0,1],[d.l,f.l],l),a:or(s,[0,1],[o.a,a.a],l)};n.isHSL(c)?u=e(w):u=e(mI(w.h,w.s,w.l,w.a))}return u},e.random=(o=1)=>{function a(){return Math.floor(Math.random()*255)}return e("rgba("+a()+", "+a()+", "+a()+", "+o+")")},e.grey=(o=.5,a=1)=>(o=Math.floor(o*255),e("rgba("+o+", "+o+", "+o+", "+a+")")),e.gray=e.grey,e.rgbToHsl=(o,a,s)=>Sh(o,a,s),e.isValidColorProperty=(o,a)=>!!((o.toLowerCase().slice(-5)==="color"||o==="fill"||o==="stroke")&&typeof a=="string"&&e.isColorString(a)),e.difference=(o,a)=>{let s=(o.r+a.r)/2,l=o.r-a.r,c=o.g-a.g,u=o.b-a.b,d=Math.pow(l,2),f=Math.pow(c,2),p=Math.pow(u,2);return Math.sqrt(2*d+4*f+3*p+s*(d-p)/256)},e.equal=(o,a,s=.1)=>!(Math.abs(o.r-a.r)>=s||Math.abs(o.g-a.g)>=s||Math.abs(o.b-a.b)>=s||Math.abs(o.a-a.a)*256>=s);let r=Rr([0,255],[0,1]);function i(o){o=r(o);let a=Math.abs(o);return a<.04045?o/12.92:(Math.sign(o)||1)*Math.pow((a+.055)/1.055,2.4)}return e.luminance=o=>{let{r:a,g:s,b:l}=e.toRgb(o);return .2126*i(a)+.7152*i(s)+.0722*i(l)},e.contrast=(o,a)=>{let s=e.luminance(o),l=e.luminance(a);return(Math.max(s,l)+.05)/(Math.min(s,l)+.05)},e})();function wI(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=dh({r:e,g:t,b:n,a:r}):typeof e=="string"?i=SI(e):typeof e=="object"&&(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")?i=dh(e):i=c1(e)),i}function SI(e){let t=kh(e);if(t)return t.format==="hsl"?c1(t):t.format==="hsv"?kI(t):dh(t)}function kI(e){let t=yI(e.h,e.s,e.v);return{...Sh(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?u1(e.a):1}}function dh(e){let t=gI(e.r,e.g,e.b);return{...Sh(t.r,t.g,t.b),...t,format:"rgb",a:e.a!==void 0?u1(e.a):1}}function c1(e){let t,n,r,i={r:0,g:0,b:0},o={h:0,s:0,l:0};return t=ji(e.h)?e.h:0,t=(t+360)%360,n=ji(e.s)?e.s:1,typeof e.s=="string"&&(n=fh(e.s)),r=ji(e.l)?e.l:.5,typeof e.l=="string"&&(r=fh(e.l)),i=vI(t,n,r),o={h:t,s:n,l:r},{...i,...o,a:e.a===void 0?1:e.a,format:"hsl"}}function u1(e){return e=parseFloat(e),e<0&&(e=0),(isNaN(e)||e>1)&&(e=1),e}var o4={delta:1/60,maxValues:1e4};var CI={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:{}},Et=typeof I>"u"?CI:I,EI=e=>{setTimeout(e,1/60)},TI=Et.requestAnimationFrame||EI,ix=e=>TI(e),_I=Le(mP(),1),{EventEmitter:RI}=_I.default,PI=class{constructor(){this._emitter=new RI}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)}},ya=1/60,II=class extends PI{constructor(e=!1){super(),this._started=!1,this._frame=0,this._frameTasks=[],this.tick=()=>{this._started&&(ix(this.tick),this.emit("update",this._frame,ya),this.emit("render",this._frame,ya),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))(be||{}),rc={imageBaseURL:"",target:"PREVIEW",zoom:1};(e=>{function t(){return rc.target}e.current=t;function n(){let r=rc.target;return r==="CANVAS"||r==="EXPORT"}e.hasRestrictions=n})(be||(be={}));var jl=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"}});nu({borderTopWidth:jl("y"),borderLeftWidth:jl("x"),borderRightWidth:jl("x"),borderBottomWidth:jl("y")});function Pe(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 $i(e,t){throw t||new Error(e?`Unexpected value: ${e}`:"Application entered invalid state")}var Gi=m.createContext({getLayoutId:e=>null,persistLayoutIdCache:()=>{},top:!1,enabled:!0});function FI({children:e}){if(D(Gi).top)return m.createElement(m.Fragment,null,e);let n=B({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),r=B({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=B(new Set).current,o=xe(({id:l,name:c,duplicatedFrom:u})=>{if(!l)return null;let d=c?"byName":"byId",f=n.current[d][l];if(f)return f;let p=c||l;if(!u&&!i.has(p)&&(!n.current.byLayoutId[p]||n.current.byLayoutId[p]===p))return n.current.count[d][p]===void 0&&(n.current.count[d][p]=0,n.current.byLayoutId[p]=p,r.current[d][l]=p),i.add(p),p;let v;if(u?.length)for(let S=u.length-1;S>=0;S--){let E=u[S];Pe(!!E,"duplicatedId must be defined");let C=n.current[d][E],_=n.current.byLastId[E];if(_&&!v){let A=n.current.byLayoutId[_],$=!A||A===c;_&&!i.has(_)&&(!c||$)&&(v=[_,E])}let T=n.current.byLayoutId[C],L=!T||T===c;if(C&&!i.has(C)&&(!c||L))return r.current[d][l]=C,r.current.byLastId[E]=C,i.add(C),C}let b=n.current.byLastId[l];if(b&&!i.has(b))return i.add(b),r.current.byId[l]=b,b;if(v){let[S,E]=v;return r.current[d][l]=S,r.current.byLastId[E]=S,i.add(S),S}let w=n.current.byPossibleId[l];if(w&&!i.has(w))return i.add(w),r.current.byId[l]=w,w;let h=u?.[0],g=c||h||l,y=n.current.count[d][g]+1||0,{layoutId:x,value:k}=MI(g,y,i);if(n.current.count[d][g]=k,r.current[d][l]=x,u?.length&&!c){let S=u[u.length-1];if(S&&(r.current.byLastId[S]=x),u.length>1)for(let E=0;E{n.current={byId:{...n.current.byId,...r.current.byId},byLastId:{...n.current.byLastId,...r.current.byLastId},byPossibleId:{...n.current.byPossibleId,...r.current.byPossibleId},byName:{...n.current.byName,...r.current.byName},byLastName:{...n.current.byLastName,...r.current.byLastName},byLayoutId:{...n.current.byLayoutId,...r.current.byLayoutId},count:{...n.current.count,byName:{}}},r.current={byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}},i.clear()},[]),s=B({getLayoutId:o,persistLayoutIdCache:a,top:!0,enabled:!0}).current;return m.createElement(Gi.Provider,{value:s},e)}function MI(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 LI({enabled:e=!0,...t}){let n=D(Gi),r=ae(()=>({...n,enabled:e}),[e]);return m.createElement(Gi.Provider,{...t,value:r})}function Gr(e){let t=B(null);return t.current===null&&(t.current=e()),t.current}var OI={background:void 0,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",lineHeight:"1.4em",textOverflow:"ellipsis",overflow:"hidden",minHeight:0,width:"100%",height:"100%"},DI={...OI,border:"1px solid rgba(149, 149, 149, 0.15)",borderRadius:6,fontSize:"12px",backgroundColor:"rgba(149, 149, 149, 0.1)",color:"#a5a5a5"},d1={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"100%",flexShrink:0,padding:"0 10px"},AI={...d1,fontWeight:500},VI={...d1,whiteSpace:"pre",maxHeight:"calc(50% - calc(20px * var(--framerInternalCanvas-canvasPlaceholderContentScaleFactor, 1)))",WebkitMaskImage:"linear-gradient(to bottom, black 80%, transparent 100%)"};function f4(e){let{error:t,file:n}=e,r=n?`Error in ${BI(n)}`:"Error",i=t instanceof Error?t.message:""+t;return m.createElement("div",{style:DI},m.createElement("div",{className:"text",style:AI},r),i&&m.createElement("div",{className:"text",style:VI},i))}function BI(e){return e.startsWith("./")?e.replace("./",""):e}var d4=992-5;function U(e){return typeof e=="number"&&isFinite(e)}function zI(e){return!e||!Object.keys(e).length&&e.constructor===Object}function Sa(e){return typeof e!="string"&&typeof e!="number"}function ka(e){return e!==null&&typeof e<"u"&&typeof e!="boolean"&&!zI(e)}var ic;(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 a=typeof o.x=="number"?o.x:0,s=typeof o.y=="number"?o.y:0;return{...i,x:i.x+a,y:i.y+s}};function n(i,o){if(o===0)return i;let a=2*o;return{x:i.x-o,y:i.y-o,width:i.width+a,height:i.height+a}}e.inflate=n,e.pixelAligned=i=>{let o=Math.round(i.x),a=Math.round(i.y),s=Math.round(i.x+i.width),l=Math.round(i.y+i.height),c=Math.max(s-o,0),u=Math.max(l-a,0);return{x:o,y:a,width:c,height:u}},e.halfPixelAligned=i=>{let o=Math.round(i.x*2)/2,a=Math.round(i.y*2)/2,s=Math.round((i.x+i.width)*2)/2,l=Math.round((i.y+i.height)*2)/2,c=Math.max(s-o,1),u=Math.max(l-a,1);return{x:o,y:a,width:c,height:u}},e.round=(i,o=0)=>{let a=Ul(i.x,o),s=Ul(i.y,o),l=Ul(i.width,o),c=Ul(i.height,o);return{x:a,y:s,width:l,height:c}},e.roundToOutside=i=>{let o=Math.floor(i.x),a=Math.floor(i.y),s=Math.ceil(i.x+i.width),l=Math.ceil(i.y+i.height),c=Math.max(s-o,0),u=Math.max(l-a,0);return{x:o,y:a,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.fromPoints=i=>{let o=i.map(d=>d.x),a=i.map(d=>d.y),s=Math.min(...o),l=Math.min(...a),c=Math.max(...o)-s,u=Math.max(...a)-l;return{x:s,y:l,width:c,height:u}},e.merge=(...i)=>{let o={x:Math.min(...i.map(e.minX)),y:Math.min(...i.map(e.minY))},a={x:Math.max(...i.map(e.maxX)),y:Math.max(...i.map(e.maxY))};return(0,e.fromTwoPoints)(o,a)},e.intersection=(i,o)=>{let a=Math.max(i.x,o.x),s=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:a,y:l,width:s-a,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:a,y:s}=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:d}=o.transformPoint({x:i.x+i.width,y:i.y+i.height}),{x:f,y:p}=o.transformPoint({x:i.x,y:i.y+i.height}),v=Math.min(a,l,u,f),b=Math.max(a,l,u,f)-v,w=Math.min(s,c,d,p),h=Math.max(s,c,d,p)-w;return{x:v,y:w,width:b,height:h}},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 a of(0,e.points)(o))if(!(0,e.containsPoint)(i,a))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 a=e.maxX(i),s=e.maxX(o);return a>o.x&&s>i.x},e.overlapVertically=(i,o)=>{let a=e.maxY(i),s=e.maxY(o);return a>o.y&&s>i.y},e.doesNotIntersect=(i,o)=>o.find(a=>e.intersects(a,i))===void 0,e.isEqual=(i,o)=>e.equals(i,o),e.cornerPoints=i=>{let o=i.x,a=i.x+i.width,s=i.y,l=i.y+i.height;return[{x:o,y:s},{x:a,y:s},{x:a,y:l},{x:o,y:l}]},e.midPoints=i=>{let o=i.x,a=i.x+i.width/2,s=i.x+i.width,l=i.y,c=i.y+i.height/2,u=i.y+i.height;return[{x:a,y:l},{x:s,y:c},{x:a,y:u},{x:o,y:c}]},e.pointDistance=(i,o)=>{let a=0,s=0;return o.xe.maxX(i)&&(a=o.x-e.maxX(i)),o.ye.maxY(i)&&(s=o.y-e.maxY(i)),mt.distance({x:a,y:s},{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 a={x:(0,e.minX)(i),y:(0,e.minY)(i)},s={x:(0,e.minX)(o),y:(0,e.minY)(o)};return{x:a.x-s.x,y:a.y-s.y}},e.withMinSize=(i,o)=>{let{width:a,height:s}=o,l=i.width-a,c=i.height-s;return{width:Math.max(i.width,a),height:Math.max(i.height,s),x:i.width{let l={...i};switch(a){case"bottom":case"top":switch(s){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:$i(s)}break;case"left":l.x=o.x-i.width;break;case"right":l.x=o.x+o.width;break;default:$i(a)}switch(a){case"left":case"right":switch(s){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:$i(s)}break;case"top":l.y=o.y-i.height;break;case"bottom":l.y=o.y+o.height;break;default:$i(a)}return l}})(ic||(ic={}));var oc;(e=>{e.quickfix=t=>((t.widthType===2||t.heightType===2)&&(t.aspectRatio=null),U(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||U(t.maxWidth))&&(t.right=!1),t.widthType=0),t.top&&t.bottom&&((t.fixedSize||t.heightType===2||U(t.maxHeight))&&(t.bottom=!1),t.heightType=0),t)})(oc||(oc={}));function ac(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 hh;(e=>{e.fromProperties=t=>{let{left:n,right:r,top:i,bottom:o,width:a,height:s,centerX:l,centerY:c,aspectRatio:u,autoSize:d}=t,f=oc.quickfix({left:U(n)||Yt(n),right:U(r)||Yt(r),top:U(i)||Yt(i),bottom:U(o)||Yt(o),widthType:ac(a),heightType:ac(s),aspectRatio:u||null,fixedSize:d===!0}),p=null,v=null,b=0,w=0;if(f.widthType!==0&&typeof a=="string"){let y=parseFloat(a);a.endsWith("fr")?(b=3,p=y):a==="auto"?b=2:(b=1,p=y/100)}else a!==void 0&&typeof a!="string"&&(p=Re.getNumber(a));if(f.heightType!==0&&typeof s=="string"){let y=parseFloat(s);s.endsWith("fr")?(w=3,v=y):s==="auto"?w=2:(w=1,v=parseFloat(s)/100)}else s!==void 0&&typeof s!="string"&&(v=Re.getNumber(s));let h=.5,g=.5;return l&&(h=parseFloat(l)/100),c&&(g=parseFloat(c)/100),{left:f.left?Re.getNumber(n):null,right:f.right?Re.getNumber(r):null,top:f.top?Re.getNumber(i):null,bottom:f.bottom?Re.getNumber(o):null,widthType:b,heightType:w,width:p,height:v,aspectRatio:f.aspectRatio||null,centerAnchorX:h,centerAnchorY:g}},e.toSize=(t,n,r,i)=>{let o=null,a=null,s=n?.sizing?Re.getNumber(n?.sizing.width):null,l=n?.sizing?Re.getNumber(n?.sizing.height):null,c=ox(t.left,t.right);if(s&&U(c))o=s-c;else if(r&&t.widthType===2)o=r.width;else if(U(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:s&&(o=s*t.width);break;case 2:break;default:$i(t.widthType)}let u=ox(t.top,t.bottom);if(l&&U(u))a=l-u;else if(r&&t.heightType===2)a=r.height;else if(U(t.height))switch(t.heightType){case 0:a=t.height;break;case 3:a=i?i.freeSpaceInParent.height/i.freeSpaceUnitDivisor.height*t.height:null;break;case 1:case 4:l&&(a=l*t.height);break;case 2:break;default:$i(t.heightType)}return WI(o,a,t,{height:l??0,width:s??0},n?.viewport)},e.toRect=(t,n=null,r=null,i=!1,o=null)=>{var a;let s=t.left||0,l=t.top||0,{width:c,height:u}=e.toSize(t,n,r,o),d=(a=n?.positioning)!=null?a:null,f=d?Re.getNumber(d.width):null,p=d?Re.getNumber(d.height):null;t.left!==null?s=t.left:f&&t.right!==null?s=f-t.right-c:f&&(s=t.centerAnchorX*f-c/2),t.top!==null?l=t.top:p&&t.bottom!==null?l=p-t.bottom-u:p&&(l=t.centerAnchorY*p-u/2);let v={x:s,y:l,width:c,height:u};return i?ic.pixelAligned(v):v}})(hh||(hh={}));var HI=200,NI=200;function sc(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 $I(e,t,n,r){return t.minHeight&&(e=Math.max(sc("minHeight",t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(sc("maxHeight",t.maxHeight,n,r),e)),e}function UI(e,t,n,r){return t.minWidth&&(e=Math.max(sc("minWidth",t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(sc("maxWidth",t.maxWidth,n,r),e)),e}function WI(e,t,n,r,i){let o=UI(U(e)?e:HI,n,r,i),a=$I(U(t)?t:NI,n,r,i);return U(n.aspectRatio)&&n.aspectRatio>0&&(U(n.left)&&U(n.right)?a=o/n.aspectRatio:U(n.top)&&U(n.bottom)?o=a*n.aspectRatio:n.widthType!==0?a=o/n.aspectRatio:o=a*n.aspectRatio),{width:o,height:a}}function ox(e,t){return!U(e)||!U(t)?null:e+t}function jI(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 La(e){return!e._constraints||jI(e)?!1:e._constraints.enabled}function XI(e){let{size:t}=e,{width:n,height:r}=e;return U(t)&&(n===void 0&&(n=t),r===void 0&&(r=t)),U(n)&&U(r)?{width:n,height:r}:null}function GI(e){let t=XI(e);if(t===null)return null;let{left:n,top:r}=e;return U(n)&&U(r)?{x:n,y:r,...t}:null}function _a(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!La(e)||r)return GI(e);let i=YI(e),o=KI(t),a=o?{sizing:o,positioning:o,viewport:null}:null;return hh.toRect(i,a,null,n,null)}function YI(e){let{left:t,right:n,top:r,bottom:i,center:o,_constraints:a,size:s}=e,{width:l,height:c}=e;l===void 0&&(l=s),c===void 0&&(c=s);let{aspectRatio:u,autoSize:d}=a,f=oc.quickfix({left:U(t),right:U(n),top:U(r),bottom:U(i),widthType:ac(l),heightType:ac(c),aspectRatio:u||null,fixedSize:d===!0}),p=null,v=null,b=0,w=0;if(f.widthType!==0&&typeof l=="string"){let y=parseFloat(l);l.endsWith("fr")?(b=3,p=y):l==="auto"?b=2:(b=1,p=y/100)}else l!==void 0&&typeof l!="string"&&(p=l);if(f.heightType!==0&&typeof c=="string"){let y=parseFloat(c);c.endsWith("fr")?(w=3,v=y):c==="auto"?w=2:(w=1,v=parseFloat(c)/100)}else c!==void 0&&typeof c!="string"&&(v=c);let h=.5,g=.5;return(o===!0||o==="x")&&(f.left=!1,typeof t=="string"&&(h=parseFloat(t)/100)),(o===!0||o==="y")&&(f.top=!1,typeof r=="string"&&(g=parseFloat(r)/100)),{left:f.left?t:null,right:f.right?n:null,top:f.top?r:null,bottom:f.bottom?i:null,widthType:b,heightType:w,width:p,height:v,aspectRatio:f.aspectRatio||null,centerAnchorX:h,centerAnchorY:g,minHeight:e.minHeight,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth}}var Ch=m.createContext({parentSize:0});function KI(e){return e===0||e===1||e===2?null:e}function Oa(){return m.useContext(Ch).parentSize}function h1(e){return typeof e=="object"}var qI=e=>{let t=Oa(),{parentSize:n,children:r}=e,i=m.useMemo(()=>({parentSize:n}),[ZI(n),QI(n)]);return t===1?r?m.createElement(m.Fragment,null,r):null:m.createElement(Ch.Provider,{value:i},r)};function ZI(e){return h1(e)?e.width:e}function QI(e){return h1(e)?e.height:e}var m4=Ch.Consumer;function JI(e,t){return m.createElement(qI,{parentSize:t},e)}function eF(e){let t=Oa();return _a(e,t,!0)}var tF=(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.Link="link",e.Date="date",e.Object="object",e.Font="font",e.PageScope="pagescope",e.ScrollSectionRef="scrollsectionref",e))(tF||{}),qd;function nF(){if(qd!==void 0)return qd;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),qd=t,t}var Xr="flexbox-gap-not-supported",ax=!1;function g4(){ax||(ax=!0,!nF()&&document.body.classList.add(Xr))}var rF=` [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); } `,iF=` [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); } `,oF=` [data-framer-component-type="DeprecatedRichText"] span[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } `,aF=` [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)); } `,sF=` [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))); } `,lF=` 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))); } `,cF=` 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)))); } `,uF=` [data-framer-component-type="DeprecatedRichText"] strong { font-weight: bolder; } `,fF=` [data-framer-component-type="DeprecatedRichText"] em { font-style: italic; } `,dF=` [data-framer-component-type="DeprecatedRichText"] .framer-image { display: block; max-width: 100%; height: auto; } `,hF=` [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; } `,pF=` [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; } `,mF=` [data-framer-component-type="DeprecatedRichText"] ul, [data-framer-component-type="DeprecatedRichText"] ol { display: table; width: 100%; padding-left: 0; margin: 0; } `,gF=` [data-framer-component-type="DeprecatedRichText"] li { display: table-row; counter-increment: list-item; list-style: none; } `,vF=` [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; } `,yF=` [data-framer-component-type="DeprecatedRichText"] ul > li::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-right: 0.75ch; content: "\u2022"; } `,bF=['[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }',pF,hF,rF,iF,oF,aF,sF,lF,cF,uF,fF,dF,mF,gF,vF,yF],xF=[` 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); } `,` 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%; } } `],wF=new Set,Zd;function p1(e,t,n=wF){if(!(!e||n.has(e)||typeof document>"u")){if(n.add(e),!t){if(!Zd){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)Zd=r.sheet;else{console.warn("not injecting CSS: injected