PageSourceSearch

https://radiosei.it/_next/static/chunks/2451-d203fe7e9474ffb9.js

js radiosei.it collected 2026-10-01 12:59:42 UTC 90,513 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2451],{2451:function(t,e,i){i.d(e,{E:function(){return r2}});var n,r,o,s,a,l=i(7294);let u=(0,l.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),h=(0,l.createContext)({});var c=i(240),d=i(8868);let p=(0,l.createContext)({strict:!1});function m(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function f(t){return"string"==typeof t||Array.isArray(t)}function v(t){return"object"==typeof t&&"function"==typeof t.start}let g=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function y(t){return v(t.animate)||g.some(e=>f(t[e]))}function x(t){return Boolean(y(t)||t.variants)}function b(t){return Array.isArray(t)?t.join(" "):t}let w=t=>({isEnabled:e=>t.some(t=>!!e[t])}),V={measureLayout:w(["layout","layoutId","drag"]),animation:w(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:w(["exit"]),drag:w(["drag","dragControls"]),focus:w(["whileFocus"]),hover:w(["whileHover","onHoverStart","onHoverEnd"]),tap:w(["whileTap","onTap","onTapStart","onTapCancel"]),pan:w(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:w(["whileInView","onViewportEnter","onViewportLeave"])};var A=i(1741),T=i(6681);let P={hasAnimatedSinceResize:!0,hasEverUpdated:!1},E=1;var S=i(5364);class C extends l.Component{getSnapshotBeforeUpdate(){let{visualElement:t,props:e}=this.props;return t&&t.setProps(e),null}componentDidUpdate(){}render(){return this.props.children}}let M=(0,l.createContext)({}),k=Symbol.for("motionComponentSymbol"),B=["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 D(t){if("string"!=typeof t||t.includes("-"));else if(B.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}let L={},R=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],F=new Set(R);function j(t,{layout:e,layoutId:i}){return F.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!L[t]||"opacity"===t)}let O=t=>!!(null==t?void 0:t.getVelocity),I={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},U=(t,e)=>R.indexOf(t)-R.indexOf(e);function N(t){return t.startsWith("--")}let $=(t,e)=>e&&"number"==typeof t?e.transform(t):t,z=(t,e,i)=>Math.min(Math.max(i,t),e),Y={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},W={...Y,transform:t=>z(0,1,t)},H={...Y,default:1},Z=t=>Math.round(1e5*t)/1e5,X=/(-)?([\d]*\.?[\d])+/g,q=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,_=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function G(t){return"string"==typeof t}let K=t=>({test:e=>G(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),J=K("deg"),Q=K("%"),tt=K("px"),te=K("vh"),ti=K("vw"),tn={...Q,parse:t=>Q.parse(t)/100,transform:t=>Q.transform(100*t)},tr={...Y,transform:Math.round},to={borderWidth:tt,borderTopWidth:tt,borderRightWidth:tt,borderBottomWidth:tt,borderLeftWidth:tt,borderRadius:tt,radius:tt,borderTopLeftRadius:tt,borderTopRightRadius:tt,borderBottomRightRadius:tt,borderBottomLeftRadius:tt,width:tt,maxWidth:tt,height:tt,maxHeight:tt,size:tt,top:tt,right:tt,bottom:tt,left:tt,padding:tt,paddingTop:tt,paddingRight:tt,paddingBottom:tt,paddingLeft:tt,margin:tt,marginTop:tt,marginRight:tt,marginBottom:tt,marginLeft:tt,rotate:J,rotateX:J,rotateY:J,rotateZ:J,scale:H,scaleX:H,scaleY:H,scaleZ:H,skew:J,skewX:J,skewY:J,distance:tt,translateX:tt,translateY:tt,translateZ:tt,x:tt,y:tt,z:tt,perspective:tt,transformPerspective:tt,opacity:W,originX:tn,originY:tn,originZ:tt,zIndex:tr,fillOpacity:W,strokeOpacity:W,numOctaves:tr};function ts(t,e,i,n){let{style:r,vars:o,transform:s,transformKeys:a,transformOrigin:l}=t;a.length=0;let u=!1,h=!1,c=!0;for(let d in e){let p=e[d];if(N(d)){o[d]=p;continue}let m=to[d],f=$(p,m);if(F.has(d)){if(u=!0,s[d]=f,a.push(d),!c)continue;p!==(m.default||0)&&(c=!1)}else d.startsWith("origin")?(h=!0,l[d]=f):r[d]=f}if(!e.transform&&(u||n?r.transform=function({transform:t,transformKeys:e},{enableHardwareAcceleration:i=!0,allowTransformNone:n=!0},r,o){let s="";for(let a of(e.sort(U),e))s+=`${I[a]||a}(${t[a]}) `;return i&&!t.z&&(s+="translateZ(0)"),s=s.trim(),o?s=o(t,r?"":s):n&&r&&(s="none"),s}(t,i,c,n):r.transform&&(r.transform="none")),h){let{originX:v="50%",originY:g="50%",originZ:y=0}=l;r.transformOrigin=`${v} ${g} ${y}`}}let ta=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});
1function tl(t,e,i){for(let n in e)O(e[n])||j(n,i)||(t[n]=e[n])}function tu(t,e,i){let n={},r=function(t,e,i){let n=t.style||{},r={};return tl(r,n,t),Object.assign(r,function({transformTemplate:t},e,i){return(0,l.useMemo)(()=>{let n=ta();return ts(n,e,{enableHardwareAcceleration:!i},t),Object.assign({},n.vars,n.style)},[e])}(t,e,i)),t.transformValues?t.transformValues(r):r}(t,e,i);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),n.style=r,n}let th=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll","whileInView","onViewportEnter","onViewportLeave","viewport","whileTap","onTap","onTapStart","onTapCancel","animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView","onPan","onPanStart","onPanSessionStart","onPanEnd"]);function tc(t){return th.has(t)}let td=t=>!tc(t);try{(n=require("@emotion/is-prop-valid").default)&&(td=t=>t.startsWith("on")?!tc(t):n(t))}catch(tp){}function tm(t,e,i){return"string"==typeof t?t:tt.transform(e+i*t)}let tf={offset:"stroke-dashoffset",array:"stroke-dasharray"},tv={offset:"strokeDashoffset",array:"strokeDasharray"};function tg(t,{attrX:e,attrY:i,originX:n,originY:r,pathLength:o,pathSpacing:s=1,pathOffset:a=0,...l},u,h,c){if(ts(t,l,u,c),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:p,dimensions:m}=t;d.transform&&(m&&(p.transform=d.transform),delete d.transform),m&&(void 0!==n||void 0!==r||p.transform)&&(p.transformOrigin=function(t,e,i){let n=tm(e,t.x,t.width),r=tm(i,t.y,t.height);return`${n} ${r}`}(m,void 0!==n?n:.5,void 0!==r?r:.5)),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==o&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let o=r?tf:tv;t[o.offset]=tt.transform(-n);let s=tt.transform(e),a=tt.transform(i);t[o.array]=`${s} ${a}`}(d,o,s,a,!1)}let ty=()=>({...ta(),attrs:{}}),tx=t=>"string"==typeof t&&"svg"===t.toLowerCase();function tb(t,e,i,n){let r=(0,l.useMemo)(()=>{let i=ty();return tg(i,e,{enableHardwareAcceleration:!1},tx(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let o={};tl(o,t.style,t),r.style={...o,...r.style}}return r}let tw=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function tV(t,{style:e,vars:i},n,r){for(let o in Object.assign(t.style,e,r&&r.getProjectionStyles(n)),i)t.style.setProperty(o,i[o])}let tA=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 tT(t,e,i,n){for(let r in tV(t,e,void 0,n),e.attrs)t.setAttribute(tA.has(r)?r:tw(r),e.attrs[r])}function tP(t){let{style:e}=t,i={};for(let n in e)(O(e[n])||j(n,t))&&(i[n]=e[n]);return i}function tE(t){let e=tP(t);for(let i in t)if(O(t[i])){let n="x"===i||"y"===i?"attr"+i.toUpperCase():i;e[n]=t[i]}return e}function tS(t,e,i,n={},r={}){return"function"==typeof e&&(e=e(void 0!==i?i:t.custom,n,r)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==i?i:t.custom,n,r)),e}let tC=t=>Array.isArray(t),tM=t=>Boolean(t&&"object"==typeof t&&t.mix&&t.toValue),tk=t=>tC(t)?t[t.length-1]||0:t;function tB(t){let e=O(t)?t.get():t;return tM(e)?e.toValue():e}let tD=t=>(e,i)=>{let n=(0,l.useContext)(h),r=(0,l.useContext)(c.O),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:i}
1,n,r,o){let s={latestValues:function(t,e,i,n){let r={},o=n(t);for(let s in o)r[s]=tB(o[s]);let{initial:a,animate:l}=t,u=y(t),h=x(t);e&&h&&!u&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===l&&(l=e.animate));let c=!!i&&!1===i.initial;c=c||!1===a;let d=c?l:a;if(d&&"boolean"!=typeof d&&!v(d)){let p=Array.isArray(d)?d:[d];p.forEach(e=>{let i=tS(t,e);if(!i)return;let{transitionEnd:n,transition:o,...s}=i;for(let a in s){let l=s[a];if(Array.isArray(l)){let u=c?l.length-1:0;l=l[u]}null!==l&&(r[a]=l)}for(let h in n)r[h]=n[h]})}return r}(n,r,o,t),renderState:e()};return i&&(s.mount=t=>i(n,t,s)),s})(t,e,n,r);return i?o():(0,T.h)(o)},tL={useVisualState:tD({scrapeMotionValuesFromProps:tE,createRenderState:ty,onMount(t,e,{renderState:i,latestValues:n}){try{i.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(r){i.dimensions={x:0,y:0,width:0,height:0}}tg(i,n,{enableHardwareAcceleration:!1},tx(e.tagName),t.transformTemplate),tT(e,i)}})},tR={useVisualState:tD({scrapeMotionValuesFromProps:tP,createRenderState:ta})};function tF(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}function tj(t,e,i,n){(0,l.useEffect)(()=>{let r=t.current;if(i&&r)return tF(r,e,i,n)},[t,e,i,n])}function tO(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function tI(t){let e=!!t.touches;return e}(r=s||(s={})).Animate="animate",r.Hover="whileHover",r.Tap="whileTap",r.Drag="whileDrag",r.Focus="whileFocus",r.InView="whileInView",r.Exit="exit";let tU={pageX:0,pageY:0};function tN(t,e="page"){return{point:tI(t)?function(t,e="page"){let i=t.touches[0]||t.changedTouches[0],n=i||tU;return{x:n[e+"X"],y:n[e+"Y"]}}(t,e):function(t,e="page"){return{x:t[e+"X"],y:t[e+"Y"]}}(t,e)}}let t$=(t,e=!1)=>{let i=e=>t(e,tN(e));return e?t=>{let e=t instanceof MouseEvent,n=!e||e&&0===t.button;n&&i(t)}:i},tz=()=>A.j&&null===window.onpointerdown,tY=()=>A.j&&null===window.ontouchstart,tW=()=>A.j&&null===window.onmousedown,tH={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},tZ={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function tX(t){if(tz());else if(tY())return tZ[t];else if(tW())return tH[t];return t}function tq(t,e,i,n){return tF(t,tX(e),t$(i,"pointerdown"===e),n)}function t_(t,e,i,n){return tj(t,tX(e),i&&t$(i,"pointerdown"===e),n)}function tG(t){let e=null;return()=>{let i=()=>{e=null};return null===e&&(e=t,i)}}let tK=tG("dragHorizontal"),tJ=tG("dragVertical");function tQ(t){let e=!1;if("y"===t)e=tJ();else if("x"===t)e=tK();else{let i=tK(),n=tJ();i&&n?e=()=>{i(),n()}:(i&&i(),n&&n())}return e}function t0(){let t=tQ(!0);return!t||(t(),!1)}function t1(t,e,i){return(n,r)=>{!(!tO(n)||t0())&&(t.animationState&&t.animationState.setActive(s.Hover,e),i&&i(n,r))}}let t5=(t,e)=>!!e&&(t===e||t5(t,e.parentElement));var t2=i(5411);let t3=(t,e)=>i=>e(t(i)),t9=(...t)=>t.reduce(t3);var t4=i(9304),t6=i(6034);let t7=new WeakMap,t8=new WeakMap,et=t=>{let e=t7.get(t.target);e&&e(t)},ee=t=>{t.forEach(et)},ei={some:0,all:1};function en(t,e,i,{root:n,margin:r,amount:o="some",once:a}){(0,l.useEffect)(()=>{if(!t||!i.current)return;let l={root:null==n?void 0:n.current,rootMargin:r,threshold:"number"==typeof o?o:ei[o]},u=t=>{let{isIntersecting:n}=t;if(e.isInView===n||(e.isInView=n,a&&!n&&e.hasEnteredView))return;n&&(e.hasEnteredView=!0),i.animationState&&i.animationState.setActive(s.InView,n);let r=i.getProps(),o=n?r.onViewportEnter:r.onViewportLeave;o&&o(t)};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;t8.has(i)||t8.set(i,{});let n=t8.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(ee,{root:t,...e})),n[r]}(e);return t7.set(t,i),n.observe(t),()=>{t7.delete(t),n.unobserve(t)}}(i.current,l,u)},[t,n,r,o])}function er(t,e,i,{fallback:n=!0}){(0,l.useEffect)(()=>{t&&n&&("production"!==t4.O&&(0,t6.O)(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{e.hasEnteredView=!0;let{onViewportEnter:t}=i.getProps();t&&t(null),i.animationState&&i.animationState.setActive(s.InView,!0)}))},[t])}let eo=t=>e=>(t(e),null),es={inView:eo(function({visualElement:t,whileInView:e,onViewportEnter:i,onViewportLeave:n,viewport:r={}}){let o=(0,l.useRef)({hasEnteredView:!1,isInView:!1}),s=Boolean(e||i||n);
1r.once&&o.current.hasEnteredView&&(s=!1);let a="undefined"==typeof IntersectionObserver?er:en;a(s,o.current,t,r)}),tap:eo(function({onTap:t,onTapStart:e,onTapCancel:i,whileTap:n,visualElement:r}){let o=(0,l.useRef)(!1),a=(0,l.useRef)(null),u={passive:!(e||t||i||m)};function h(){a.current&&a.current(),a.current=null}function c(){return h(),o.current=!1,r.animationState&&r.animationState.setActive(s.Tap,!1),!t0()}function d(e,n){c()&&(t5(r.current,e.target)?t&&t(e,n):i&&i(e,n))}function p(t,e){c()&&i&&i(t,e)}function m(t,i){h(),!o.current&&(o.current=!0,a.current=t9(tq(window,"pointerup",d,u),tq(window,"pointercancel",p,u)),r.animationState&&r.animationState.setActive(s.Tap,!0),e&&e(t,i))}t_(r,"pointerdown",t||e||i||n?m:void 0,u),(0,t2.z)(h)}),focus:eo(function({whileFocus:t,visualElement:e}){let{animationState:i}=e,n=()=>{i&&i.setActive(s.Focus,!0)},r=()=>{i&&i.setActive(s.Focus,!1)};tj(e,"focus",t?n:void 0),tj(e,"blur",t?r:void 0)}),hover:eo(function({onHoverStart:t,onHoverEnd:e,whileHover:i,visualElement:n}){t_(n,"pointerenter",t||i?t1(n,!0,t):void 0,{passive:!t}),t_(n,"pointerleave",e||i?t1(n,!1,e):void 0,{passive:!e})})};function ea(){let t=(0,l.useContext)(c.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:n}=t,r=(0,l.useId)();(0,l.useEffect)(()=>n(r),[]);let o=()=>i&&i(r);return!e&&i?[!1,o]:[!0]}function el(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let eu=t=>/^\-?\d*\.?\d+$/.test(t),eh=t=>/^0[^.\s]+$/.test(t);var ec=i(7367),ed=i(404);function ep(t,e){-1===t.indexOf(e)&&t.push(e)}function em(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class ef{constructor(){this.subscriptions=[]}add(t){return ep(this.subscriptions,t),()=>em(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let o=this.subscriptions[r];o&&o(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function ev(t,e){return e?t*(1e3/e):0}let eg=t=>!isNaN(parseFloat(t));class ey{constructor(t,e={}){this.version="7.10.3",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;let{delta:i,timestamp:n}=ec.w;this.lastUpdated!==n&&(this.timeDelta=i,this.lastUpdated=n,ed.Z_.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()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>ed.Z_.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=eg(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){return this.events[t]||(this.events[t]=new ef),this.events[t].add(e)}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t){this.passiveEffect=t}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=t,this.timeDelta=i}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?ev(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.stopAnimation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.stopAnimation&&(this.stopAnimation(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.clearListeners(),this.stop()}}function ex(t,e){return new ey(t,e)}let eb=(t,e)=>i=>Boolean(G(i)&&_.test(i)&&i.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(i,e)),ew=(t,e,i)=>n=>{if(!G(n))return n;let[r,o,s,a]=n.match(X);return{[t]:parseFloat(r),[e]:parseFloat(o),[i]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},eV=t=>z(0,255,t),eA={...Y,transform:t=>Math.round(eV(t))},eT={test:eb("rgb","red"),parse:ew("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+eA.transform(t)+", "+eA.transform(e)+", "+eA.transform(i)+", "+Z(W.transform(n))+")"},eP={test:eb("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alph
1a:r?parseInt(r,16)/255:1}},transform:eT.transform},eE={test:eb("hsl","hue"),parse:ew("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+Q.transform(Z(e))+", "+Q.transform(Z(i))+", "+Z(W.transform(n))+")"},eS={test:t=>eT.test(t)||eP.test(t)||eE.test(t),parse:t=>eT.test(t)?eT.parse(t):eE.test(t)?eE.parse(t):eP.parse(t),transform:t=>G(t)?t:t.hasOwnProperty("red")?eT.transform(t):eE.transform(t)},eC="${c}",eM="${n}";function ek(t){"number"==typeof t&&(t=`${t}`);let e=[],i=0,n=0,r=t.match(q);r&&(i=r.length,t=t.replace(q,eC),e.push(...r.map(eS.parse)));let o=t.match(X);return o&&(n=o.length,t=t.replace(X,eM),e.push(...o.map(Y.parse))),{values:e,numColors:i,numNumbers:n,tokenised:t}}function eB(t){return ek(t).values}function eD(t){let{values:e,numColors:i,tokenised:n}=ek(t),r=e.length;return t=>{let e=n;for(let o=0;o<r;o++)e=e.replace(o<i?eC:eM,o<i?eS.transform(t[o]):Z(t[o]));return e}}let eL=t=>"number"==typeof t?0:t,eR={test:function(t){var e,i;return isNaN(t)&&G(t)&&((null===(e=t.match(X))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(q))||void 0===i?void 0:i.length)||0)>0},parse:eB,createTransformer:eD,getAnimatableNone:function(t){let e=eB(t),i=eD(t);return i(e.map(eL))}},eF=new Set(["brightness","contrast","saturate","opacity"]);function ej(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(X)||[];if(!n)return t;let r=i.replace(n,""),o=eF.has(e)?1:0;return n!==i&&(o*=100),e+"("+o+r+")"}let eO=/([a-z-]*)\(.*?\)/g,eI={...eR,getAnimatableNone(t){let e=t.match(eO);return e?e.map(ej).join(" "):t}},eU={...to,color:eS,backgroundColor:eS,outlineColor:eS,fill:eS,stroke:eS,borderColor:eS,borderTopColor:eS,borderRightColor:eS,borderBottomColor:eS,borderLeftColor:eS,filter:eI,WebkitFilter:eI},eN=t=>eU[t];function e$(t,e){var i;let n=eN(t);return n!==eI&&(n=eR),null===(i=n.getAnimatableNone)||void 0===i?void 0:i.call(n,e)}let ez=t=>e=>e.test(t),eY=[Y,tt,Q,J,ti,te,{test:t=>"auto"===t,parse:t=>t}],eW=t=>eY.find(ez(t)),eH=[...eY,eS,eR],eZ=t=>eH.find(ez(t));function eX(t,e,i){let n=t.getProps();return tS(n,e,void 0!==i?i:n.custom,function(t){let e={};return t.values.forEach((t,i)=>e[i]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,i)=>e[i]=t.getVelocity()),e}(t))}function eq(t){return Boolean(O(t)&&t.add)}let e_=(t,e)=>`${t}: ${e}`,eG="data-"+tw("framerAppearId");var eK=function(){},eJ=function(){};let eQ=t=>1e3*t,e0={current:!1},e1=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,e5=t=>e=>1-t(1-e),e2=t=>t*t,e3=e5(e2),e9=e1(e2),e4=(t,e,i)=>-i*t+i*e+t;function e6(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}let e7=(t,e,i)=>{let n=t*t;return Math.sqrt(Math.max(0,i*(e*e-n)+n))},e8=[eP,eT,eE],it=t=>e8.find(e=>e.test(t));function ie(t){let e=it(t);eJ(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`);let i=e.parse(t);return e===eE&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,o=0,s=0;if(e/=100){let a=i<.5?i*(1+e):i+e-i*e,l=2*i-a;r=e6(l,a,t+1/3),o=e6(l,a,t),s=e6(l,a,t-1/3)}else r=o=s=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(i)),i}let ii=(t,e)=>{let i=ie(t),n=ie(e),r={...i};return t=>(r.red=e7(i.red,n.red,t),r.green=e7(i.green,n.green,t),r.blue=e7(i.blue,n.blue,t),r.alpha=e4(i.alpha,n.alpha,t),eT.transform(r))};function ir(t,e){return"number"==typeof t?i=>e4(t,e,i):eS.test(t)?ii(t,e):ia(t,e)}let io=(t,e)=>{let i=[...t],n=i.length,r=t.map((t,i)=>ir(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}},is=(t,e)=>{let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=ir(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}},ia=(t,e)=>{let i=eR.createTransformer(e),n=ek(t),r=ek(e),o=n.numColors===r.numColors&&n.numNumbers>=r.numNumbers;return o?t9(io(n.values,r.values),i):(eK(!0,`Complex values '${t}' and '${e}' 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.`),i=>`${i>0?e:t}`)},il=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n},iu=(t,e)=>i=>e4(t,e,i);function ih(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let o=t.length;eJ(o===e.length,"Both input and output ranges must be the same length"),eJ(!n||!Array.isArray(n)||n.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());
1let s=function(t,e,i){let n=[],r=i||function(t){if("number"==typeof t);else if("string"==typeof t)return eS.test(t)?ii:ia;else if(Array.isArray(t))return io;else if("object"==typeof t)return is;return iu}(t[0]),o=t.length-1;for(let s=0;s<o;s++){let a=r(t[s],t[s+1]);if(e){let l=Array.isArray(e)?e[s]:e;a=t9(l,a)}n.push(a)}return n}(e,n,r),a=s.length,l=e=>{let i=0;if(a>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let n=il(t[i],t[i+1],e);return s[i](n)};return i?e=>l(z(t[0],t[o-1],e)):l}let ic=t=>t,id=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function ip(t,e,i,n){if(t===e&&i===n)return ic;let r=e=>(function(t,e,i,n,r){let o,s;let a=0;do(o=id(s=e+(i-e)/2,n,r)-t)>0?i=s:e=s;while(Math.abs(o)>1e-7&&++a<12);return s})(e,0,1,t,i);return t=>0===t||1===t?t:id(r(t),e,n)}let im=t=>1-Math.sin(Math.acos(t)),iv=e5(im),ig=e1(iv),iy=ip(.33,1.53,.69,.99),ix=e5(iy),ib=e1(ix),iw=t=>(t*=2)<1?.5*ix(t):.5*(2-Math.pow(2,-10*(t-1))),iV={linear:ic,easeIn:e2,easeInOut:e9,easeOut:e3,circIn:im,circInOut:ig,circOut:iv,backIn:ix,backInOut:ib,backOut:iy,anticipate:iw},iA=t=>{if(Array.isArray(t)){eJ(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,r]=t;return ip(e,i,n,r)}return"string"==typeof t?(eJ(void 0!==iV[t],`Invalid easing type '${t}'`),iV[t]):t},iT=t=>Array.isArray(t)&&"number"!=typeof t[0];function iP({keyframes:t,ease:e=e9,times:i,duration:n=300}){t=[...t];let r=iP[0],o=iT(e)?e.map(iA):iA(e),s={done:!1,value:r},a=(i&&i.length===iP.length?i:function(t){let e=t.length;return t.map((t,i)=>0!==i?i/(e-1):0)}(t)).map(t=>t*n);function l(){var e;return ih(a,t,{ease:Array.isArray(o)?o:(e=t).map(()=>o||e9).splice(0,e.length-1)})}let u=l();return{next:t=>(s.value=u(t),s.done=t>=n,s),flipTarget(){t.reverse(),u=l()}}}function iE(t,e){return t*Math.sqrt(1-e*e)}let iS=["duration","bounce"],iC=["stiffness","damping","mass"];function iM(t,e){return e.some(e=>void 0!==t[e])}function ik({keyframes:t,restSpeed:e=2,restDelta:i=.01,...n}){let r=t[0],o=t[t.length-1],s={done:!1,value:r},{stiffness:a,damping:l,mass:u,velocity:h,duration:c,isResolvedFromDuration:d}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!iM(t,iC)&&iM(t,iS)){let i=function({duration:t=800,bounce:e=.25,velocity:i=0,mass:n=1}){let r,o;eK(t<=1e4,"Spring duration must be 10 seconds or less");let s=1-e;s=z(.05,1,s),t=z(.01,10,t/1e3),s<1?(r=e=>{let n=e*s,r=n*t,o=iE(e,s);return .001-(n-i)/o*Math.exp(-r)},o=e=>{let n=e*s,o=n*t,a=Math.pow(s,2)*Math.pow(e,2)*t,l=iE(Math.pow(e,2),s),u=-r(e)+.001>0?-1:1;return u*((o*i+i-a)*Math.exp(-o))/l}):(r=e=>{let n=Math.exp(-e*t),r=(e-i)*t+1;return -.001+n*r},o=e=>{let n=Math.exp(-e*t),r=(i-e)*(t*t);return n*r});let a=5/t,l=function(t,e,i){let n=i;for(let r=1;r<12;r++)n-=t(n)/e(n);return n}(r,o,a);if(t*=1e3,isNaN(l))return{stiffness:100,damping:10,duration:t};{let u=Math.pow(l,2)*n;return{stiffness:u,damping:2*s*Math.sqrt(n*u),duration:t}}}(t);(e={...e,...i,velocity:0,mass:1}).isResolvedFromDuration=!0}return e}(n),p=iB,m=h?-(h/1e3):0,f=l/(2*Math.sqrt(a*u));function v(){let t=o-r,e=Math.sqrt(a/u)/1e3;if(void 0===i&&(i=Math.min(Math.abs(o-r)/100,.4)),f<1){let n=iE(e,f);p=i=>o-Math.exp(-f*e*i)*((m+f*e*t)/n*Math.sin(n*i)+t*Math.cos(n*i))}else if(1===f)p=i=>o-Math.exp(-e*i)*(t+(m+e*t)*i);else{let s=e*Math.sqrt(f*f-1);p=i=>{let n=Math.min(s*i,300);return o-Math.exp(-f*e*i)*((m+f*e*t)*Math.sinh(n)+s*t*Math.cosh(n))/s}}}return v(),{next(t){let n=p(t);if(d)s.done=t>=c;else{let r=m;if(0!==t){if(f<1){let a=Math.max(0,t-5);r=ev(n-p(a),t-a)}else r=0}let l=Math.abs(r)<=e,u=Math.abs(o-n)<=i;s.done=l&&u}return s.value=s.done?o:n,s},flipTarget(){m=-m,[r,o]=[o,r],v()}}}ik.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;let iB=t=>0,iD={decay:function({keyframes:t=[0],velocity:e=0,power:i=.8,timeConstant:n=350,restDelta:r=.5,modifyTarget:o}){let s=t[0],a={done:!1,value:s},l=i*e,u=s+l,h=void 0===o?u:o(u);return h!==u&&(l=h-s),{next(t){let e=-l*Math.exp(-t/n);return a.done=!(e>r||e<-r),a.value=a.done?h:h+e,a},flipTarget(){}}},keyframes:iP,tween:iP,spring:ik};function iL(t,e,i=0){return t-e-i}let iR=t=>{let e=({delta:e})=>t(e);return{start:()=>ed.Z_.update(e,!0),stop:()=>ed.qY.update(e)}};function iF({duration:t,driver:e=iR,elapsed:i=0,repeat:n=0,repeatType:r="loop",repeatDelay:o=0,keyframes:s,autoplay:a=!0,onPlay:l,onStop:u,onComplete:h,onRepeat:c,onUpdate:d,type:p="keyframes",...m}){var f;let v,g,y;let x=0,b=t,w=!1,V=!0,A=iD[s.length>2?"keyframes":p],T=s[0],P=s[s.length-1];(null===(f=A.needsInterpolation)||void 0===f?void 0:f.call(A,T,P))&&(y=ih([0,100],[T,P],{clamp:!1}),s=[0,100]);let E=A({...m,duration:t,keyframes:s}
1);return a&&(l&&l(),(v=e(function(t){if(V||(t=-t),i+=t,!w){let e=E.next(Math.max(0,i));g=e.value,y&&(g=y(g)),w=V?e.done:i<=0}if(d&&d(g),w){if(0===x&&(b=void 0!==b?b:i),x<n){var s,a;s=i,a=b,(V?s>=a+o:s<=-o)&&(x++,"reverse"===r?i=function(t,e=0,i=0,n=!0){return n?iL(e+-t,e,i):e-(t-e)+i}(i,b,o,V=x%2==0):(i=iL(i,b,o),"mirror"===r&&E.flipTarget()),w=!1,c&&c())}else v.stop(),h&&h()}})).start()),{stop(){u&&u(),v.stop()},sample:t=>E.next(Math.max(0,t))}}let ij=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,iO={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ij([0,.65,.55,1]),circOut:ij([.55,0,1,.45]),backIn:ij([.31,.01,.66,-.59]),backOut:ij([.33,1.53,.69,.99])};function iI(t,e){let i=performance.now(),n=({timestamp:r})=>{let o=r-i;o>=e&&(ed.qY.read(n),t(o-e))};return ed.Z_.read(n,!0),()=>ed.qY.read(n)}let iU=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),iN=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),i$=()=>({type:"keyframes",ease:"linear",duration:.3}),iz={type:"keyframes",duration:.8},iY={x:iU,y:iU,z:iU,rotate:iU,rotateX:iU,rotateY:iU,rotateZ:iU,scaleX:iN,scaleY:iN,scale:iN,opacity:i$,backgroundColor:i$,color:i$,default:iN},iW=(t,{keyframes:e})=>{if(e.length>2)return iz;{let i=iY[t]||iY.default;return i(e[1])}},iH=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&eR.test(e)&&!e.startsWith("url("));function iZ(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function iX(t){return"number"==typeof t?0:e$("",t)}function iq(t,e){return t[e]||t.default||t}let i_={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},iG={},iK={};for(let iJ in i_)iK[iJ]=()=>(void 0===iG[iJ]&&(iG[iJ]=i_[iJ]()),iG[iJ]);let iQ=new Set(["opacity"]),i0=(t,e,i,n={})=>r=>{let o=iq(n,t)||{},s=o.delay||n.delay||0,{elapsed:a=0}=n;a-=eQ(s);let l=function(t,e,i,n){let r=iH(e,i),o=void 0!==n.from?n.from:t.get();return("none"===o&&r&&"string"==typeof i?o=e$(e,i):iZ(o)&&"string"==typeof i?o=iX(i):!Array.isArray(i)&&iZ(i)&&"string"==typeof o&&(i=iX(o)),Array.isArray(i))?(null===i[0]&&(i[0]=o),i):[o,i]}(e,t,i,o),u=l[0],h=l[l.length-1],c=iH(t,u),d=iH(t,h);eK(c===d,`You are trying to animate ${t} from "${u}" to "${h}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${h} via the \`style\` property.`);let p={keyframes:l,velocity:e.getVelocity(),...o,elapsed:a,onUpdate(t){e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete(){r(),o.onComplete&&o.onComplete()}};if(!c||!d||e0.current||!1===o.type)return function({keyframes:t,elapsed:e,onUpdate:i,onComplete:n}){let r=()=>(i&&i(t[t.length-1]),n&&n(),()=>{});return e?iI(r,-e):r()}(p);if("inertia"===o.type){let m=function({keyframes:t,velocity:e=0,min:i,max:n,power:r=.8,timeConstant:o=750,bounceStiffness:s=500,bounceDamping:a=10,restDelta:l=1,modifyTarget:u,driver:h,onUpdate:c,onComplete:d,onStop:p}){let m;let f=t[0];function v(t){return void 0!==i&&t<i||void 0!==n&&t>n}function g(t){return void 0===i?n:void 0===n?i:Math.abs(i-t)<Math.abs(n-t)?i:n}function y(t){null==m||m.stop(),m=iF({keyframes:[0,1],velocity:0,...t,driver:h,onUpdate(e){var i;null==c||c(e),null===(i=t.onUpdate)||void 0===i||i.call(t,e)},onComplete:d,onStop:p})}function x(t){y({type:"spring",stiffness:s,damping:a,restDelta:l,...t})}if(v(f))x({velocity:e,keyframes:[f,g(f)]});else{let b,w,V=r*e+f;void 0!==u&&(V=u(V));let A=g(V),T=A===i?-1:1,P=t=>{b=w,w=t,e=ev(t-b,ec.w.delta),(1===T&&t>A||-1===T&&t<A)&&x({keyframes:[t,A],velocity:e})};y({type:"decay",keyframes:[f,0],velocity:e,timeConstant:o,power:r,restDelta:l,modifyTarget:u,onUpdate:v(V)?P:void 0})}return{stop:()=>null==m?void 0:m.stop()}}(p);return()=>m.stop()}!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:o,repeatType:s,repeatDelay:a,from:l,...u}){return!!Object.keys(u).length}(o)&&(p={...p,...iW(t,p)}),p.duration&&(p.duration=eQ(p.duration)),p.repeatDelay&&(p.repeatDelay=eQ(p.repeatDelay));let f=e.owner,v=f&&f.current,g=iK.waapi()&&iQ.has(t)&&!p.repeatDelay&&"mirror"!==p.repeatType&&0!==
1p.damping&&f&&v instanceof HTMLElement&&!f.getProps().onUpdate;if(g)return function(t,e,{onUpdate:i,onComplete:n,...r}){var o;let{keyframes:s,duration:a=.3,elapsed:l=0,ease:u}=r;if("spring"===r.type||!(!(o=r.ease)||Array.isArray(o)||"string"==typeof o&&iO[o])){let h=iF(r),c={done:!1,value:s[0]},d=[],p=0;for(;!c.done;)d.push((c=h.sample(p)).value),p+=10;s=d,a=p-10,u="linear"}let m=function(t,e,i,{delay:n=0,duration:r,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){return t.animate({[e]:i,offset:l},{delay:n,duration:r,easing:function(t){if(t)return Array.isArray(t)?ij(t):iO[t]}(a),fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(t.owner.current,e,s,{...r,delay:-l,duration:a,ease:u});return m.onfinish=()=>{t.set(s[s.length-1]),n&&n()},()=>{let{currentTime:e}=m;if(e){let i=iF(r);t.setWithVelocity(i.sample(e-10).value,i.sample(e).value,10)}ed.Z_.update(()=>m.cancel())}}(e,t,p);{let y=iF(p);return()=>y.stop()}};function i1(t,e,i={}){var n;let r=eX(t,e,i.custom),{transition:o=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(o=i.transitionOverride);let s=r?()=>i5(t,r,i):()=>Promise.resolve(),a=(null===(n=t.variantChildren)||void 0===n?void 0:n.size)?(n=0)=>{let{delayChildren:r=0,staggerChildren:s,staggerDirection:a}=o;return function(t,e,i=0,n=0,r=1,o){let s=[],a=(t.variantChildren.size-1)*n,l=1===r?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(i2).forEach((t,n)=>{s.push(i1(t,e,{...o,delay:i+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(s)}(t,e,r+n,s,a,i)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([s(),a(i.delay)]);{let[u,h]="beforeChildren"===l?[s,a]:[a,s];return u().then(h)}}function i5(t,e,{delay:i=0,transitionOverride:n,type:r}={}){var o;let{transition:s=t.getDefaultTransition(),transitionEnd:a,...l}=t.makeTargetAnimatable(e),u=t.getValue("willChange");n&&(s=n);let h=[],c=r&&(null===(o=t.animationState)||void 0===o?void 0:o.getState()[r]);for(let d in l){let p=t.getValue(d),m=l[d];if(!p||void 0===m||c&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(c,d))continue;let f={delay:i,elapsed:0,...s};if(t.shouldReduceMotion&&F.has(d)&&(f={...f,type:!1,delay:0}),!p.hasAnimated){let v=t.getProps()[eG];v&&(f.elapsed=function(t,e){let{MotionAppearAnimations:i}=window,n=e_(t,F.has(e)?"transform":e),r=i&&i.get(n);return r?(ed.Z_.render(()=>{try{r.cancel(),i.delete(n)}catch(t){}}),r.currentTime||0):0}(v,d))}let g=p.start(i0(d,p,m,f));eq(u)&&(u.add(d),g=g.then(()=>u.remove(d))),h.push(g)}return Promise.all(h).then(()=>{a&&function(t,e){let i=eX(t,e),{transitionEnd:n={},transition:r={},...o}=i?t.makeTargetAnimatable(i,!1):{};for(let s in o={...o,...n}){var a;let l=tk(o[s]);a=s,t.hasValue(a)?t.getValue(a).set(l):t.addValue(a,ex(l))}}(t,a)})}function i2(t,e){return t.sortNodePosition(e)}let i3=[s.Animate,s.InView,s.Focus,s.Hover,s.Tap,s.Drag,s.Exit],i9=[...i3].reverse(),i4=i3.length;function i6(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let i7={animation:eo(({visualElement:t,animate:e})=>{t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e)){let r=e.map(e=>
1i1(t,e,i));n=Promise.all(r)}else if("string"==typeof e)n=i1(t,e,i);else{let o="function"==typeof e?eX(t,e,i.custom):e;n=i5(t,o,i)}return n.then(()=>t.notify("AnimationComplete",e))})(t,e,i))),i={[s.Animate]:i6(!0),[s.InView]:i6(),[s.Hover]:i6(),[s.Tap]:i6(),[s.Drag]:i6(),[s.Focus]:i6(),[s.Exit]:i6()},n=!0,r=(e,i)=>{let n=eX(t,i);if(n){let{transition:r,transitionEnd:o,...s}=n;e={...e,...s,...o}}return e};function o(o,s){let a=t.getProps(),l=t.getVariantContext(!0)||{},u=[],h=new Set,c={},d=1/0;for(let p=0;p<i4;p++){var m;let g=i9[p],y=i[g],x=void 0!==a[g]?a[g]:l[g],b=f(x),w=g===s?y.isActive:null;!1===w&&(d=p);let V=x===l[g]&&x!==a[g]&&b;if(V&&n&&t.manuallyAnimateOnMount&&(V=!1),y.protectedKeys={...c},!y.isActive&&null===w||!x&&!y.prevProp||v(x)||"boolean"==typeof x)continue;let A=(m=y.prevProp,"string"==typeof x?x!==m:!!Array.isArray(x)&&!el(x,m)),T=A||g===s&&y.isActive&&!V&&b||p>d&&b,P=Array.isArray(x)?x:[x],E=P.reduce(r,{});!1===w&&(E={});let{prevResolvedValues:S={}}=y,C={...S,...E},M=t=>{T=!0,h.delete(t),y.needsAnimating[t]=!0};for(let k in C){let B=E[k],D=S[k];c.hasOwnProperty(k)||(B!==D?tC(B)&&tC(D)?!el(B,D)||A?M(k):y.protectedKeys[k]=!0:void 0!==B?M(k):h.add(k):void 0!==B&&h.has(k)?M(k):y.protectedKeys[k]=!0)}y.prevProp=x,y.prevResolvedValues=E,y.isActive&&(c={...c,...E}),n&&t.blockInitialAnimation&&(T=!1),T&&!V&&u.push(...P.map(t=>({animation:t,options:{type:g,...o}})))}if(h.size){let L={};h.forEach(e=>{let i=t.getBaseTarget(e);void 0!==i&&(L[e]=i)}),u.push({animation:L})}let R=Boolean(u.length);return n&&!1===a.initial&&!t.manuallyAnimateOnMount&&(R=!1),n=!1,R?e(u):Promise.resolve()}return{animateChanges:o,setActive:function(e,n,r){var s;if(i[e].isActive===n)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)}),i[e].isActive=n;let a=o(r,e);for(let l in i)i[l].protectedKeys={};return a},setAnimateFunction:function(i){e=i(t)},getState:()=>i}}(t)),v(e)&&(0,l.useEffect)(()=>e.subscribe(t),[e])}),exit:eo(t=>{let{custom:e,visualElement:i}=t,[n,r]=ea(),o=(0,l.useContext)(c.O);(0,l.useEffect)(()=>{i.isPresent=n;let t=i.animationState&&i.animationState.setActive(s.Exit,!n,{custom:o&&o.custom||e});t&&!n&&t.then(r)},[n])})},i8=(t,e)=>Math.abs(t-e);class nt{constructor(t,e,{transformPagePoint:i}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=nn(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){let i=i8(t.x,e.x),n=i8(t.y,e.y);return Math.sqrt(i**2+n**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=ec.w;this.history.push({...n,timestamp:r});let{onStart:o,onMove:s}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{if(this.lastMoveEvent=t,this.lastMoveEventInfo=ne(e,this.transformPagePoint),tO(t)&&0===t.buttons){this.handlePointerUp(t,e);return}ed.Z_.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n}=this.handlers,r=nn(ne(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},tI(t)&&t.touches.length>1)return;this.handlers=e,this.transformPagePoint=i;let n=tN(t),r=ne(n,this.transformPagePoint),{point:o}=r,{timestamp:s}=ec.w;this.history=[{...o,timestamp:s}];let{onSessionStart:a}=e;a&&a(t,nn(r,this.history)),this.removeListeners=t9(tq(window,"pointermove",this.handlePointerMove),tq(window,"pointerup",this.handlePointerUp),tq(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),ed.qY.update(this.updatePoint)}}function ne(t,e){return e?{point:e(t.point)}:t}function ni(t,e){return{x:t.x-e.x,y:t.y-e.y}}function nn({point:t},e){return{point:t,delta:ni(t,nr(e)),offset:ni(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=nr(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>eQ(.1)));)i--;if(!n)return{x:0,y:0};let o=(r.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};let s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e,0)}}function nr(t){return t[t.length-1]}function no(t){return t.max-t.min}function ns(t,e=0,i=.01){return Math.abs(t-e)<=i}function na(t,e,i,n=.5){t.origin=n,t.originPoint=e4(e.min,e.max,t.origin),t.scale=no(i)/no(e),(ns(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=e4(i.min,i.max,t.origin)-t.originPoint,(ns(t.translate)||isNaN(t.translate))&&(t.translate=0)}function nl(t,e,i,n){na(t.x,e.x,i.x,null==n?void 0:n.originX),na(t.y,e.y,i.y,null==n?void 0:n.originY)}function nu(t,e,i){t.min=i.min+e.min,t.max=t.min+no(e)}function nh(t,e,i){t.min=e.min-i.min,t.max=t.min+no(e)}function nc(t,e,i){nh(t.x,e.x,i.x),nh(t.y,e.y,i.y)}
1function nd(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function np(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function nm(t,e,i){return{min:nf(t,e),max:nf(t,i)}}function nf(t,e){return"number"==typeof t?t:t[e]||0}let nv=()=>({translate:0,scale:1,origin:0,originPoint:0}),ng=()=>({x:nv(),y:nv()}),ny=()=>({min:0,max:0}),nx=()=>({x:ny(),y:ny()});function nb(t){return[t("x"),t("y")]}function nw({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function nV(t){return void 0===t||1===t}function nA({scale:t,scaleX:e,scaleY:i}){return!nV(t)||!nV(e)||!nV(i)}function nT(t){return nA(t)||nP(t)||t.z||t.rotate||t.rotateX||t.rotateY}function nP(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function nE(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function nS(t,e=0,i=1,n,r){t.min=nE(t.min,e,i,n,r),t.max=nE(t.max,e,i,n,r)}function nC(t,{x:e,y:i}){nS(t.x,e.translate,e.scale,e.originPoint),nS(t.y,i.translate,i.scale,i.originPoint)}function nM(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function nk(t,e){t.min=t.min+e,t.max=t.max+e}function nB(t,e,[i,n,r]){let o=void 0!==e[r]?e[r]:.5,s=e4(t.min,t.max,o);nS(t,e[i],e[n],s,e.scale)}let nD=["x","scaleX","originX"],nL=["y","scaleY","originY"];function nR(t,e){nB(t.x,e,nD),nB(t.y,e,nL)}function nF(t,e){return nw(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}let nj=new WeakMap;class nO{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=nx(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){if(!1===this.visualElement.isPresent)return;let i=t=>{this.stopAnimation(),e&&this.snapToCursor(tN(t,"page").point)},n=(t,e)=>{var i;let{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();(!n||r||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=tQ(n),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nb(t=>{var e,i;let n=this.getAxisMotionValue(t).get()||0;if(Q.test(n)){let r=null===(i=null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===i?void 0:i.layoutBox[t];if(r){let o=no(r);n=o*(parseFloat(n)/100)}}this.originPoint[t]=n}),null==o||o(t,e),null===(i=this.visualElement.animationState)||void 0===i||i.setActive(s.Drag,!0))},r=(t,e)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:o}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:s}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(s),null!==this.currentDirection&&(null==r||r(this.currentDirection));return}this.updateAxis("x",e.point,s),this.updateAxis("y",e.point,s),this.visualElement.render(),null==o||o(t,e)},o=(t,e)=>this.stop(t,e);this.panSession=new nt(t,{onSessionStart:i,onStart:n,onMove:r,onSessionEnd:o},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:r}=this.getProps();null==r||r(t,e)}cancel(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(s.Drag,!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!nI(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),o=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?e4(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?e4(i,t,n.max):Math.min(t,i)),t}(o,this.constraints[t],this.elastic[t])),r.set(o)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:i}=this.visualElement.projection||{},n=this.constraints;t&&m(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:nd(t.x,i,r),y:nd(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:nm(t,"left","right"),y:nm(t,"top","bottom")}}(e),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&nb(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!m(e))return!1;let n=e.current;eJ(null!==n,"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;
1let o=function(t,e,i){let n=nF(t,i),{scroll:r}=e;return r&&(nk(n.x,r.offset.x),nk(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),s={x:np((t=r.layout.layoutBox).x,o.x),y:np(t.y,o.y)};if(i){let a=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(s));this.hasMutatedConstraints=!!a,a&&(s=nw(a))}return s}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=nb(s=>{if(!nI(s,e,this.currentDirection))return;let l=(null==a?void 0:a[s])||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,u)});return Promise.all(l).then(s)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return i.start(i0(t,i,0,e))}stopAnimation(){nb(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var e;let i="_drag"+t.toUpperCase(),n=this.visualElement.getProps()[i];return n||this.visualElement.getValue(t,(null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])||0)}snapToCursor(t){nb(e=>{let{drag:i}=this.getProps();if(!nI(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:o,max:s}=n.layout.layoutBox[e];r.set(t[e]-e4(o,s,.5))}})}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;let{drag:e,dragConstraints:i}=this.getProps(),{projection:n}=this.visualElement;if(!m(i)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};nb(t=>{let e=this.getAxisMotionValue(t);if(e){let i=e.get();r[t]=function(t,e){let i=.5,n=no(t),r=no(e);return r>n?i=il(e.min,e.max-n,t.min):n>r&&(i=il(t.min,t.max-r,e.min)),z(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",null===(t=n.root)||void 0===t||t.updateScroll(),n.updateLayout(),this.resolveConstraints(),nb(t=>{if(!nI(t,e,null))return;let i=this.getAxisMotionValue(t),{min:n,max:o}=this.constraints[t];i.set(e4(n,o,r[t]))})}addListeners(){var t;if(!this.visualElement.current)return;nj.set(this.visualElement,this);let e=this.visualElement.current,i=tq(e,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),n=()=>{let{dragConstraints:t}=this.getProps();m(t)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,o=r.addEventListener("measure",n);r&&!r.layout&&(null===(t=r.root)||void 0===t||t.updateScroll(),r.updateLayout()),n();let s=tF(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(nb(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),i(),o(),null==a||a()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:o,dragMomentum:s}}}function nI(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let nU={pan:eo(function({onPan:t,onPanStart:e,onPanEnd:i,onPanSessionStart:n,visualElement:r}){let o=(0,l.useRef)(null),{transformPagePoint:s}=(0,l.useContext)(u),a={onSessionStart:n,onStart:e,onMove:t,onEnd(t,e){o.current=null,i&&i(t,e)}};(0,l.useEffect)(()=>{null!==o.current&&o.current.updateHandlers(a)}),t_(r,"pointerdown",(t||e||i||n)&&function(t){o.current=new nt(t,a,{transformPagePoint:s})}),(0,t2.z)(()=>o.current&&o.current.end())}),drag:eo(function(t){let{dragControls:e,visualElement:i}=t,n=(0,T.h)(()=>new nO(i));(0,l.useEffect)(()=>e&&e.subscribe(n),[n,e]),(0,l.useEffect)(()=>n.addListeners(),[n])})};function nN(t){return"string"==typeof t&&t.startsWith("var(--")}let n$=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function nz(t,e,i=1){eJ(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[n,r]=function(t){let e=n$.exec(t);if(!e)return[,];let[,i,n]=e;return[i,n]}(t);if(!n)return;let o=window.getComputedStyle(e).getPropertyValue(n);return o?o.trim():nN(r)?nz(r,e,i+1):r}let nY=new Set(["width","height","top","left","right","bottom","x","y"]),nW=t=>nY.has(t),nH=t=>Object.keys(t).some(nW),nZ=(t,e)=>{t.set(e,!1),t.set(e)},nX=t=>t===Y||t===tt;(o=a||(a={})).width="width",o.height="height",o.left="left",o.right="right",o.top="top",o.bottom="bottom";let nq=(t,e)=>parseFloat(t.split(", ")[e]),n_=(t,e)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/);if(r)return nq(r[1],e);{let o=n.match(/^matrix\((.+)\)$/);return o?nq(o[1],t):0}},nG=new Set(["x","y","z"]),nK=R.filter(t=>!nG.has(t)),nJ={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:n_(4,13),y:n_(5,14)},nQ=(t,e,i)=>{let n=e.measureViewportBox(),r=e.current,o=getComputedStyle(r),{display:s}=o,a={};"none"===s&&e.setStaticValue("display",t.display||"block"),i.forEac
1h(t=>{a[t]=nJ[t](n,o)}),e.render();let l=e.measureViewportBox();return i.forEach(i=>{let n=e.getValue(i);nZ(n,a[i]),t[i]=nJ[i](l,o)}),t},n0=(t,e,i={},n={})=>{e={...e},n={...n};let r=Object.keys(e).filter(nW),o=[],s=!1,a=[];if(r.forEach(r=>{let l;let u=t.getValue(r);if(!t.hasValue(r))return;let h=i[r],c=eW(h),d=e[r];if(tC(d)){let p=d.length,m=null===d[0]?1:0;c=eW(h=d[m]);for(let f=m;f<p;f++)l?eJ(eW(d[f])===l,"All keyframes must be of the same type"):eJ((l=eW(d[f]))===c||nX(c)&&nX(l),"Keyframes must be of the same dimension as the current value")}else l=eW(d);if(c!==l){if(nX(c)&&nX(l)){let v=u.get();"string"==typeof v&&u.set(parseFloat(v)),"string"==typeof d?e[r]=parseFloat(d):Array.isArray(d)&&l===tt&&(e[r]=d.map(parseFloat))}else(null==c?void 0:c.transform)&&(null==l?void 0:l.transform)&&(0===h||0===d)?0===h?u.set(l.transform(h)):e[r]=c.transform(d):(s||(o=function(t){let e=[];return nK.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),s=!0),a.push(r),n[r]=void 0!==n[r]?n[r]:e[r],nZ(u,d))}}),!a.length)return{target:e,transitionEnd:n};{let l=a.indexOf("height")>=0?window.pageYOffset:null,u=nQ(e,t,a);return o.length&&o.forEach(([e,i])=>{t.getValue(e).set(i)}),t.render(),A.j&&null!==l&&window.scrollTo({top:l}),{target:u,transitionEnd:n}}},n1=(t,e,i,n)=>{var r,o;let s=function(t,{...e},i){let n=t.current;if(!(n instanceof Element))return{target:e,transitionEnd:i};for(let r in i&&(i={...i}),t.values.forEach(t=>{let e=t.get();if(!nN(e))return;let i=nz(e,n);i&&t.set(i)}),e){let o=e[r];if(!nN(o))continue;let s=nz(o,n);s&&(e[r]=s,i&&void 0===i[r]&&(i[r]=o))}return{target:e,transitionEnd:i}}(t,e,n);return e=s.target,n=s.transitionEnd,r=e,o=n,nH(r)?n0(t,r,i,o):{target:r,transitionEnd:o}},n5={current:null},n2={current:!1},n3=Object.keys(V),n9=n3.length,n4=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class n6{constructor({parent:t,props:e,reducedMotionConfig:i,visualState:n},r={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,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=()=>ed.Z_.render(this.render,!1,!0);let{latestValues:o,renderState:s}=n;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=s,this.parent=t,this.props=e,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=r,this.isControllingVariants=y(e),this.isVariantNode=x(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);let{willChange:a,...l}=this.scrapeMotionValuesFromProps(e);for(let u in l){let h=l[u];void 0!==o[u]&&O(h)&&(h.set(o[u],!1),eq(a)&&a.add(u))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var e;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null===(e=this.parent)||void 0===e?void 0:e.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),n2.current||function(){if(n2.current=!0,A.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>n5.current=t.matches;t.addListener(e),e()}else n5.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||n5.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,e,i;for(let n in null===(t=this.projection)||void 0===t||t.unmount(),ed.qY.update(this.notifyUpdate),ed.qY.render(this.render),this.valueSubscriptions.forEach(t=>t()),null===(e=this.removeFromVariantTree)||void 0===e||e.call(this),null===(i=this.parent)||void 0===i||i.children.delete(this),this.events)this.events[n].clear();this.current=null}bindToMotionValue(t,e){let i=F.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&ed.Z_.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),r=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),r()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures(t,e,i,n,r,o){let s=[];"production"!==t4.O&&i&&e&&eJ(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(let a=0;a<n9;a++){let u=n3[a],{isEnabled:h,Component:c}=V[u];h(t)&&c&&s.push((0,l.createElement)(c,{key:u,...t,visualElement:this}))}if(!this.projection&&r){this.projection=new r(n,this.latestValues,this.parent&&this.parent.projection);let{layoutId:d,layout:p,drag:f,dragConstraints:v,layoutScroll:g}=t;this.projection.setOptions({layoutId:d,layout:p,alwaysMeasureLayout:Boolean(f)||v&&m(v),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof p?p:"both",initialPromotionConfig:o,layoutScroll:g})}return s}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nx()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let e=0;e<n4.length;e++){let i=n4[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}
1this.prevMotionValues=function(t,e,i){let{willChange:n}=e;for(let r in e){let o=e[r],s=i[r];if(O(o))t.addValue(r,o),eq(n)&&n.add(r);else if(O(s))t.addValue(r,ex(o,{owner:t})),eq(n)&&n.remove(r);else if(s!==o){if(t.hasValue(r)){let a=t.getValue(r);a.hasAnimated||a.set(o)}else{let l=t.getStaticValue(r);t.addValue(r,ex(void 0!==l?l:o))}}}for(let u in i)void 0===e[u]&&t.removeValue(u);return e}(this,this.scrapeMotionValuesFromProps(t),this.prevMotionValues)}getProps(){return this.props}getVariant(t){var e;return null===(e=this.props.variants)||void 0===e?void 0:e[t]}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){var t;return this.isVariantNode?this:null===(t=this.parent)||void 0===t?void 0:t.getClosestVariantNode()}getVariantContext(t=!1){var e,i;if(t)return null===(e=this.parent)||void 0===e?void 0:e.getVariantContext();if(!this.isControllingVariants){let n=(null===(i=this.parent)||void 0===i?void 0:i.getVariantContext())||{};return void 0!==this.props.initial&&(n.initial=this.props.initial),n}let r={};for(let o=0;o<n8;o++){let s=n7[o],a=this.props[s];(f(a)||!1===a)&&(r[s]=a)}return r}addVariantChild(t){var e;let i=this.getClosestVariantNode();if(i)return null===(e=i.variantChildren)||void 0===e||e.add(t),()=>i.variantChildren.delete(t)}addValue(t,e){this.hasValue(t)&&this.removeValue(t),this.values.set(t,e),this.latestValues[t]=e.get(),this.bindToMotionValue(t,e)}removeValue(t){var e;this.values.delete(t),null===(e=this.valueSubscriptions.get(t))||void 0===e||e(),this.valueSubscriptions.delete(t),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=ex(e,{owner:this}),this.addValue(t,i)),i}readValue(t){return void 0===this.latestValues[t]&&this.current?this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:i}=this.props,n="string"==typeof i||"object"==typeof i?null===(e=tS(this.props,i))||void 0===e?void 0:e[t]:void 0;if(i&&void 0!==n)return n;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||O(r)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new ef),this.events[t].add(e)}notify(t,...e){var i;null===(i=this.events[t])||void 0===i||i.notify(...e)}}let n7=["initial",...i3],n8=n7.length;class rt extends n6{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){var i;return null===(i=t.style)||void 0===i?void 0:i[e]}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...i},{transformValues:n},r){let o=function(t,e,i){var n;let r={};for(let o in t){let s=function(t,e){if(!e)return;let i=e[t]||e.default||e;return i.from}(o,e);r[o]=void 0!==s?s:null===(n=i.getValue(o))||void 0===n?void 0:n.get()}return r}(i,t||{},this);if(n&&(e&&(e=n(e)),i&&(i=n(i)),o&&(o=n(o))),r){!function(t,e,i){var n,r;let o=Object.keys(e).filter(e=>!t.hasValue(e)),s=o.length;if(s)for(let a=0;a<s;a++){let l=o[a],u=e[l],h=null;Array.isArray(u)&&(h=u[0]),null===h&&(h=null!==(r=null!==(n=i[l])&&void 0!==n?n:t.readValue(l))&&void 0!==r?r:e[l]),null!=h&&("string"==typeof h&&(eu(h)||eh(h))?h=parseFloat(h):!eZ(h)&&eR.test(u)&&(h=e$(l,u)),t.addValue(l,ex(h,{owner:t})),void 0===i[l]&&(i[l]=h),null!==h&&t.setBaseTarget(l,h))}}(this,i,o);let s=n1(this,i,o,e);e=s.transitionEnd,i=s.target}return{transition:t,transitionEnd:e,...i}}}class re extends rt{readValueFromInstance(t,e){if(F.has(e)){let i=eN(e);return i&&i.default||0}{let n=window.getComputedStyle(t),r=(N(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return nF(t,e)}build(t,e,i,n){ts(t,e,i,n.transformTemplate)}scrapeMotionValuesFromProps(t){return tP(t)}renderInstance(t,e,i,n){tV(t,e,i,n)}}class ri extends rt{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){var i;return F.has(e)?(null===(i=eN(e))||void 0===i?void 0:i.default)||0:(e=tA.has(e)?e:tw(e),t.getAttribute(e))}measureInstanceViewportBox(){return nx()}scrapeMotionValuesFromProps(t){return tE(t)}
1build(t,e,i,n){tg(t,e,i,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,i,n){tT(t,e,i,n)}mount(t){this.isSVGTag=tx(t.tagName),super.mount(t)}}let rn=(t,e)=>D(t)?new ri(e,{enableHardwareAcceleration:!1}):new re(e,{enableHardwareAcceleration:!0});function rr(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ro={correct(t,e){if(!e.target)return t;if("string"==typeof t){if(!tt.test(t))return t;t=parseFloat(t)}let i=rr(t,e.target.x),n=rr(t,e.target.y);return`${i}% ${n}%`}},rs="_$css";class ra extends l.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;Object.assign(L,rl),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),P.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,o=i.projection;return o&&(o.isPresent=r,n||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent===r||(r?o.promote():o.relegate()||ed.Z_.postRender(()=>{var t;(null===(t=o.getStack())||void 0===t?void 0:t.members.length)||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),(null==e?void 0:e.group)&&e.group.remove(n),(null==i?void 0:i.deregister)&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;null==t||t()}render(){return null}}let rl={borderRadius:{...ro,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ro,borderTopRightRadius:ro,borderBottomLeftRadius:ro,borderBottomRightRadius:ro,boxShadow:{correct(t,{treeScale:e,projectionDelta:i}){let n=t,r=t.includes("var("),o=[];r&&(t=t.replace(n$,t=>(o.push(t),rs)));let s=eR.parse(t);if(s.length>5)return n;let a=eR.createTransformer(t),l="number"!=typeof s[0]?1:0,u=i.x.scale*e.x,h=i.y.scale*e.y;s[0+l]/=u,s[1+l]/=h;let c=e4(u,h,.5);"number"==typeof s[2+l]&&(s[2+l]/=c),"number"==typeof s[3+l]&&(s[3+l]/=c);let d=a(s);if(r){let p=0;d=d.replace(rs,()=>{let t=o[p];return p++,t})}return d}}},ru=["TopLeft","TopRight","BottomLeft","BottomRight"],rh=ru.length,rc=t=>"string"==typeof t?parseFloat(t):t,rd=t=>"number"==typeof t||tt.test(t);function rp(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rm=rv(0,.5,iv),rf=rv(.5,.95,ic);function rv(t,e,i){return n=>n<t?0:n>e?1:i(il(t,e,n))}function rg(t,e){t.min=e.min,t.max=e.max}function ry(t,e){rg(t.x,e.x),rg(t.y,e.y)}function rx(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function rb(t,e,[i,n,r],o,s){!function(t,e=0,i=1,n=.5,r,o=t,s=t){if(Q.test(e)){e=parseFloat(e);let a=e4(s.min,s.max,e/100);e=a-s.min}if("number"!=typeof e)return;let l=e4(o.min,o.max,n);t===o&&(l-=e),t.min=rx(t.min,e,i,l,r),t.max=rx(t.max,e,i,l,r)}(t,e[i],e[n],e[r],e.scale,o,s)}let rw=["x","scaleX","originX"],rV=["y","scaleY","originY"];function rA(t,e,i,n){rb(t.x,e,rw,null==i?void 0:i.x,null==n?void 0:n.x),rb(t.y,e,rV,null==i?void 0:i.y,null==n?void 0:n.y)}function rT(t){return 0===t.translate&&1===t.scale}function rP(t){return rT(t.x)&&rT(t.y)}function rE(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function rS(t){return no(t.x)/no(t.y)}class rC{constructor(){this.members=[]}add(t){ep(this.members,t),t.scheduleRender()}remove(t){if(em(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(t){let e;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let n=i;n>=0;n--){let r=this.members[n];if(!1!==r.isPresent){e=r;break}}return!!e&&(this.promote(e),!0)}promote(t,e){var i;let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),(null===(i=t.root)||void 0===i?void 0:i.isUpdating)&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&n.hide()}}
1exitAnimationComplete(){this.members.forEach(t=>{var e,i,n,r,o;null===(i=(e=t.options).onExitComplete)||void 0===i||i.call(e),null===(o=null===(n=t.resumingFrom)||void 0===n?void 0:(r=n.options).onExitComplete)||void 0===o||o.call(r)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function rM(t,e,i){let n="",r=t.x.translate/e.x,o=t.y.translate/e.y;if((r||o)&&(n=`translate3d(${r}px, ${o}px, 0) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{rotate:s,rotateX:a,rotateY:l}=i;s&&(n+=`rotate(${s}deg) `),a&&(n+=`rotateX(${a}deg) `),l&&(n+=`rotateY(${l}deg) `)}let u=t.x.scale*e.x,h=t.y.scale*e.y;return(1!==u||1!==h)&&(n+=`scale(${u}, ${h})`),n||"none"}let rk=(t,e)=>t.depth-e.depth;class rB{constructor(){this.children=[],this.isDirty=!1}add(t){ep(this.children,t),this.isDirty=!0}remove(t){em(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rk),this.isDirty=!1,this.children.forEach(t)}}let rD=["","X","Y","Z"],rL=0;function rR({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t,i={},n=null==e?void 0:e()){this.id=rL++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!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.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(rO),this.nodes.forEach(rz),this.nodes.forEach(rY)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=t,this.latestValues=i,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(let r=0;r<this.path.length;r++)this.path[r].shouldResetTransform=!0;this.root===this&&(this.nodes=new rB)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new ef),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);null==i||i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}registerPotentialNode(t,e){this.potentialNodes.set(t,e)}mount(e,i=!1){var n;if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,layout:o,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),null===(n=this.parent)||void 0===n||n.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),i&&(o||r)&&(this.isLayoutDirty=!0),t){let a;let l=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,a&&a(),a=iI(l,250),P.hasAnimatedSinceResize&&(P.hasAnimatedSinceResize=!1,this.nodes.forEach(r$))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||o)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:n})=>{var r,o,a,l,u;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let h=null!==(o=null!==(r=this.options.transition)&&void 0!==r?r:s.getDefaultTransition())&&void 0!==o?o:r_,{onLayoutAnimationStart:c,onLayoutAnimationComplete:d}=s.getProps(),p=!this.targetLayout||!rE(this.targetLayout,n)||i,m=!e&&i;if((null===(a=this.resumeFrom)||void 0===a?void 0:a.instance)||m||e&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,m);let f={...iq(h,"layout"),onPlay:c,onComplete:d};s.shouldReduceMotion&&(f.delay=0,f.type=!1),this.startAnimation(f)}else e||0!==this.animationProgress||r$(this),this.isLead()&&(null===(u=(l=this.options).onExitComplete)||void 0===u||u.call(l));this.targetLayout=n})}unmount(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,ed.qY.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1}startUpdate(){var t;!this.isUpdateBlocked()&&(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(rW),this.animationId++)}willUpdate(t=!0){var e,i,n;if(this.root.isUpdateBlocked()){null===(i=(e=this.options).onExitComplete)||void 0===i||i.call(e);return}
1if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let r=0;r<this.path.length;r++){let o=this.path[r];o.shouldResetTransform=!0,o.updateScroll("snapshot")}let{layoutId:s,layout:a}=this.options;if(void 0===s&&!a)return;let l=null===(n=this.options.visualElement)||void 0===n?void 0:n.getProps().transformTemplate;this.prevTransformTemplateValue=null==l?void 0:l(this.latestValues,""),this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}didUpdate(){let t=this.isUpdateBlocked();if(t){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rU);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(rG),this.potentialNodes.clear()),this.nodes.forEach(rN),this.nodes.forEach(rF),this.nodes.forEach(rj),this.clearAllSnapshots(),ed.iW.update(),ed.iW.preRender(),ed.iW.render())}clearAllSnapshots(){this.nodes.forEach(rI),this.sharedNodes.forEach(rH)}scheduleUpdateProjection(){ed.Z_.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){ed.Z_.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){var t;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){let i=this.path[e];i.updateScroll()}let n=this.layout;this.layout=this.measure(!1),this.layoutCorrected=nx(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox),null===(t=this.options.visualElement)||void 0===t||t.notify("LayoutMeasure",this.layout.layoutBox,null==n?void 0:n.layoutBox)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:n(this.instance),offset:i(this.instance)})}resetTransform(){var t;if(!r)return;let e=this.isLayoutDirty||this.shouldResetTransform,i=this.projectionDelta&&!rP(this.projectionDelta),n=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,o=null==n?void 0:n(this.latestValues,""),s=o!==this.prevTransformTemplateValue;e&&(i||nT(this.latestValues)||s)&&(r(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),rK((e=n).x),rK(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return nx();let e=t.measureViewportBox(),{scroll:i}=this.root;return i&&(nk(e.x,i.offset.x),nk(e.y,i.offset.y)),e}removeElementScroll(t){let e=nx();ry(e,t);for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:o}=n;if(n!==this.root&&r&&o.layoutScroll){if(r.isRoot){ry(e,t);let{scroll:s}=this.root;s&&(nk(e.x,-s.offset.x),nk(e.y,-s.offset.y))}nk(e.x,r.offset.x),nk(e.y,r.offset.y)}}return e}applyTransform(t,e=!1){let i=nx();ry(i,t);for(let n=0;n<this.path.length;n++){let r=this.path[n];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&nR(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),nT(r.latestValues)&&nR(i,r.latestValues)}return nT(this.latestValues)&&nR(i,this.latestValues),i}removeTransform(t){var e;let i=nx();ry(i,t);for(let n=0;n<this.path.length;n++){let r=this.path[n];if(!r.instance||!nT(r.latestValues))continue;nA(r.latestValues)&&r.updateSnapshot();let o=nx(),s=r.measurePageBox();ry(o,s),rA(i,r.latestValues,null===(e=r.snapshot)||void 0===e?void 0:e.layoutBox,o)}return nT(this.latestValues)&&rA(i,this.latestValues),i}setTargetDelta(t){this.targetDelta=t,this.isProjectionDirty=!0,this.root.scheduleUpdateProjection()}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}resolveTargetDelta(){var t,e,i,n;let r=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),!this.isProjectionDirty&&!this.attemptToResolveRelativeTarget)return;let{layout:o,layoutId:s}=this.options;if(this.layout&&(o||s)){if(!this.targetDelta&&!this.relativeTarget){let a=this.getClosestProjectingParent();a&&a.layout?(this.relativeParent=a,this.relativeTarget=nx(),this.relativeTargetOrigin=nx(),nc(this.relativeTargetOrigin,this.layout.layoutBox,a.layout.layoutBox),ry(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if((this.relativeTarget||this.targetDelta)&&((this.target||(this.target=nx(),this.targetWithTransforms=nx()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(t=this.relativeParent)||void 0===t?void 0:t.target))?(e=this.target,i=this.relativeTarget,n=this.relativeParent.target,nu(e.x,i.x,n.x),nu(e.y,i.y,n.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):ry(this.target,this.layout.layoutBox),nC(this.target,this.targetDelta)):ry(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;let l=this.getClosestProjectingParent();l&&Boolean(l.resumingFrom)===Boolean(this.resumingFrom)&&!l.options.layoutScroll&&l.target?(this.relativeParent=l,this.relativeTarget=nx(),this.relativeTargetOrigin=nx(),nc(this.relativeTargetOrigin,this.target,l.target),ry(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||nA(this.parent.latestValues)||nP(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var t;let{isProjectionDirty:e,isTransformDirty:i}=this;this.isProjectionDirty=this.isTransformDirty=!1;let n=this.getLead(),r=Boolean(this.resumingFrom)||this!==n,o=!0;if(e&&(o=!1),r&&i&&(o=!1),o)return;let{layout:s,layoutId:a}=this.options;if(this.isTreeAnimating=Boolean((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||a))return;
1ry(this.layoutCorrected,this.layout.layoutBox),function(t,e,i,n=!1){var r,o;let s,a;let l=i.length;if(l){e.x=e.y=1;for(let u=0;u<l;u++)a=(s=i[u]).projectionDelta,(null===(o=null===(r=s.instance)||void 0===r?void 0:r.style)||void 0===o?void 0:o.display)!=="contents"&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&nR(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,nC(t,a)),n&&nT(s.latestValues)&&nR(t,s.latestValues));e.x=nM(e.x),e.y=nM(e.y)}}(this.layoutCorrected,this.treeScale,this.path,r);let{target:l}=n;if(!l)return;this.projectionDelta||(this.projectionDelta=ng(),this.projectionDeltaWithTransform=ng());let u=this.treeScale.x,h=this.treeScale.y,c=this.projectionTransform;nl(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=rM(this.projectionDelta,this.treeScale),(this.projectionTransform!==c||this.treeScale.x!==u||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e,i,n;null===(i=(e=this.options).scheduleRender)||void 0===i||i.call(e),t&&(null===(n=this.getStack())||void 0===n||n.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){var i,n;let r=this.snapshot,o=(null==r?void 0:r.latestValues)||{},s={...this.latestValues},a=ng();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;let l=nx(),u=(null==r?void 0:r.source)!==(null===(i=this.layout)||void 0===i?void 0:i.source),h=1>=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0),c=Boolean(u&&!h&&!0===this.options.crossfade&&!this.path.some(rq));this.animationProgress=0,this.mixTargetDelta=e=>{var i,n,r;let d=e/1e3;rZ(a.x,t.x,d),rZ(a.y,t.y,d),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null===(i=this.relativeParent)||void 0===i?void 0:i.layout)&&(nc(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox),n=this.relativeTarget,r=this.relativeTargetOrigin,rX(n.x,r.x,l.x,d),rX(n.y,r.y,l.y,d)),u&&(this.animationValues=s,function(t,e,i,n,r,o){r?(t.opacity=e4(0,void 0!==i.opacity?i.opacity:1,rm(n)),t.opacityExit=e4(void 0!==e.opacity?e.opacity:1,0,rf(n))):o&&(t.opacity=e4(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let s=0;s<rh;s++){let a=`border${ru[s]}Radius`,l=rp(e,a),u=rp(i,a);if(void 0===l&&void 0===u)continue;l||(l=0),u||(u=0);let h=0===l||0===u||rd(l)===rd(u);h?(t[a]=Math.max(e4(rc(l),rc(u),n),0),(Q.test(u)||Q.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||i.rotate)&&(t.rotate=e4(e.rotate||0,i.rotate||0,n))}(s,o,this.latestValues,d,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=d},this.mixTargetDelta(0)}startAnimation(t){var e,i;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(i=this.resumingFrom.currentAnimation)||void 0===i||i.stop()),this.pendingAnimation&&(ed.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ed.Z_.update(()=>{P.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i={}){let n=O(t)?t:ex(t);return n.start(i0("",n,1e3,i)),{stop:()=>n.stop(),isAnimating:()=>n.isAnimating()}}(0,0,{...t,onUpdate:e=>{var i;this.mixTargetDelta(e),null===(i=t.onUpdate)||void 0===i||i.call(t,e)},onComplete:()=>{var e;null===(e=t.onComplete)||void 0===e||e.call(t),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&rJ(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||nx();let o=no(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+o;let s=no(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}ry(e,i),nR(e,r),nl(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){var i,n,r;this.sharedNodes.has(t)||this.sharedNodes.set(t,new rC);let o=this.sharedNodes.get(t);o.add(e),e.promote({transition:null===(i=e.options.initialPromotionConfig)||void 0===i?void 0:i.transition,preserveFollowOpacity:null===(r=null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.shouldPreserveFollowOpacity)||void 0===r?void 0:r.call(n,e)})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.rotate||i.rotateX||i.rotateY||i.rotateZ)&&(e=!0),!e)return;let n={};for(let r=0;r<rD.length;r++){let o="rotate"+rD[r];i[o]&&(n[o]=i[o],t.setStaticValue(o,0))}for(let s in null==t||t.render(),n)t.setStaticValue(s,n[s]);t.scheduleRender()}getProjectionStyles(t={}){var e,i,n;let r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";let o=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=tB(t.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let a={};return this.options.layoutId&&(a.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,a.pointerEvents=tB(t.pointerEvents)||""),this.hasProjected&&!nT(this.latestValues)&&(a.transform=o?o({},""):"none",this.hasProjected=!1),a}let l=s.animationValues||s.latestValues;this.applyTransformsToTarget(),r.transform=rM(this.projectionDeltaWithTransform,this.treeScale,l),o&&(r.transform=o(l,r.transform));let{x:u,y:h}=this.projectionDelta;for(let c in r.transformOrigin=`${100*u.origin}% ${100*h.origin}% 0`,s.animationValues?r.opacity=s===this?null!==(n=null!==(i=l.opacity)&&void 0!==i?i:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:l.opacityExit:r.opacity=s===this?void 0!==l.opacity?l.opacity:"":void 0!==l.opacityExit?l.opacityExit:0,L){if(void 0===l[c])continue;let{correct:d,applyTo:p}=L[c],m=d(l[c],s);if(p){let f=p.length;for(let v=0;v<f;v++)r[p[v]]=m}else r[c]=m}return this.options.layoutId&&(r.pointerEvents=s===this?tB(t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
1resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(rU),this.root.sharedNodes.clear()}}}function rF(t){t.updateLayout()}function rj(t){var e,i,n;let r=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){let{layoutBox:o,measuredBox:s}=t.layout,{animationType:a}=t.options,l=r.source!==t.layout.source;"size"===a?nb(t=>{let e=l?r.measuredBox[t]:r.layoutBox[t],i=no(e);e.min=o[t].min,e.max=e.min+i}):rJ(a,r.layoutBox,o)&&nb(t=>{let e=l?r.measuredBox[t]:r.layoutBox[t],i=no(o[t]);e.max=e.min+i});let u=ng();nl(u,o,r.layoutBox);let h=ng();l?nl(h,t.applyTransform(s,!0),r.measuredBox):nl(h,o,r.layoutBox);let c=!rP(u),d=!1;if(!t.resumeFrom){let p=t.getClosestProjectingParent();if(p&&!p.resumeFrom){let{snapshot:m,layout:f}=p;if(m&&f){let v=nx();nc(v,r.layoutBox,m.layoutBox);let g=nx();nc(g,o,f.layoutBox),rE(v,g)||(d=!0)}}}t.notifyListeners("didUpdate",{layout:o,snapshot:r,delta:h,layoutDelta:u,hasLayoutChanged:c,hasRelativeTargetChanged:d})}else t.isLead()&&(null===(n=(i=t.options).onExitComplete)||void 0===n||n.call(i));t.options.transition=void 0}function rO(t){t.isProjectionDirty||(t.isProjectionDirty=Boolean(t.parent&&t.parent.isProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=Boolean(t.parent&&t.parent.isTransformDirty))}function rI(t){t.clearSnapshot()}function rU(t){t.clearMeasurements()}function rN(t){let{visualElement:e}=t.options;(null==e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function r$(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function rz(t){t.resolveTargetDelta()}function rY(t){t.calcProjection()}function rW(t){t.resetRotation()}function rH(t){t.removeLeadSnapshot()}function rZ(t,e,i){t.translate=e4(e.translate,0,i),t.scale=e4(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function rX(t,e,i,n){t.min=e4(e.min,i.min,n),t.max=e4(e.max,i.max,n)}function rq(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let r_={duration:.45,ease:[.4,0,.1,1]};function rG(t,e){let i=t.root;for(let n=t.path.length-1;n>=0;n--)if(Boolean(t.path[n].instance)){i=t.path[n];break}let r=i&&i!==t.root?i.instance:document,o=r.querySelector(`[data-
1projection-id="${e}"]`);o&&t.mount(o,!0)}function rK(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function rJ(t,e,i){return"position"===t||"preserve-aspect"===t&&!ns(rS(e),rS(i),.2)}let rQ=rR({attachResizeListener:(t,e)=>tF(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),r0={current:void 0},r1=rR({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent(){if(!r0.current){let t=new rQ(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),r0.current=t}return r0.current},resetTransform(t,e){t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),r5={...i7,...es,...nU,measureLayout:function(t){let[e,i]=ea(),n=(0,l.useContext)(S.p);return l.createElement(ra,{...t,layoutGroup:n,switchLayoutGroup:(0,l.useContext)(M),isPresent:e,safeToRemove:i})}},r2=function(t){function e(e,i={}){return function({preloadedFeatures:t,createVisualElement:e,projectionNodeConstructor:i,useRender:n,useVisualState:r,Component:o}){t&&function(t){for(let e in t)"projectionNodeConstructor"===e?V.projectionNodeConstructor=t[e]:V[e].Component=t[e]}(t);let s=(0,l.forwardRef)(function(s,a){var v,g;let x={...(0,l.useContext)(u),...s,layoutId:function({layoutId:t}){let e=(0,l.useContext)(S.p).id;return e&&void 0!==t?e+"-"+t:t}(s)},{isStatic:w}=x,k=null,B=function(t){let{initial:e,animate:i}=function(t,e){if(y(t)){let{initial:i,animate:n}=t;return{initial:!1===i||f(i)?i:void 0,animate:f(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,l.useContext)(h));return(0,l.useMemo)(()=>({initial:e,animate:i}),[b(e),b(i)])}(s),D=w?void 0:(0,T.h)(()=>{if(P.hasEverUpdated)return E++}),L=r(s,w);if(!w&&A.j){B.visualElement=function(t,e,i,n){let r=(0,l.useContext)(h).visualElement,o=(0,l.useContext)(p),s=(0,l.useContext)(c.O),a=(0,l.useContext)(u).reducedMotion,m=(0,l.useRef)();n=n||o.renderer,!m.current&&n&&(m.current=n(t,{visualState:e,parent:r,props:i,presenceId:s?s.id:void 0,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:a}));let f=m.current;return(0,d.L)(()=>{f&&f.render()}),(0,d.L)(()=>{f&&f.animationState&&f.animationState.animateChanges()}),(0,d.L)(()=>()=>f&&f.notify("Unmount"),[]),f}(o,L,x,e);let R=(0,l.useContext)(p).strict,F=(0,l.useContext)(M);B.visualElement&&(k=B.visualElement.loadFeatures(x,R,t,D,i||V.projectionNodeConstructor,F))}return l.createElement(C,{visualElement:B.visualElement,props:x},k,l.createElement(h.Provider,{value:B},n(o,s,D,(v=B.visualElement,g=a,(0,l.useCallback)(t=>{t&&L.mount&&L.mount(t),v&&(t?v.mount(t):v.unmount()),g&&("function"==typeof g?g(t):m(g)&&(g.current=t))},[v])),L,w,B.visualElement)))});return s[k]=o,s}(t(e,i))}if("undefined"==typeof Proxy)return e;let i=new Map;return new Proxy(e,{get:(t,n)=>(i.has(n)||i.set(n,e(n)),i.get(n))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},i,n,r){let o=D(t)?tL:tR;return{...o,preloadedFeatures:i,useRender:function(t=!1){let e=(e,i,n,r,{latestValues:o},s)=>{let a=D(e)?tb:tu,u=a(i,o,s,e),h=function(t,e,i){let n={};for(let r in t)(td(r)||!0===i&&tc(r)||!e&&!tc(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(i,"string"==typeof e,t),c={...h,...u,ref:r};return n&&(c["data-projection-id"]=n),(0,l.createElement)(e,c)};return e}(e),createVisualElement:n,projectionNodeConstructor:r,Component:t}})(t,e,r5,rn,r1))}}]);

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