PageSourceSearch

https://kobra-dataworks.de/_next/static/chunks/2b6461b9e9e9413c.js

js kobra-dataworks.de collected 2026-10-09 22:57:39 UTC 134,515 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31178,t=>{"use strict";let e=(0,t.i(71645).createContext)({});t.s(["LayoutGroupContext",()=>e])},47414,t=>{"use strict";var e=t.i(71645);function i(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}t.s(["useConstant",()=>i])},21476,t=>{"use strict";let e=(0,t.i(71645).createContext)(null);t.s(["PresenceContext",()=>e])},37806,t=>{"use strict";let e=(0,t.i(71645).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",()=>e])},64978,t=>{"use strict";var e=t.i(71645),i=t.i(21476);function s(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],s=(0,e.useContext)(i.PresenceContext);if(null===s)return[!0,null];let{isPresent:r,onExitComplete:n,register:o}=s,a=(0,e.useId)();(0,e.useEffect)(()=>{t&&o(a)},[t]);let l=(0,e.useCallback)(()=>t&&n&&n(a),[a,n,t]);return!r&&n?[!1,l]:[!0]}t.s(["usePresence",()=>s])},92936,t=>{"use strict";let e="undefined"!=typeof window;t.s(["isBrowser",()=>e])},74008,t=>{"use strict";var e=t.i(71645);let i=t.i(92936).isBrowser?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",()=>i])},7051,t=>{"use strict";function e(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy(function(){for(var e=arguments.length,i=Array(e),s=0;s<e;s++)i[s]=arguments[s];return t(...i)},{get:(i,s)=>"create"===s?t:(e.has(s)||e.set(s,t(s)),e.get(s))})}t.s(["createDOMMotionComponentProxy",()=>e])},44974,t=>{"use strict";function e(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}t.s(["isAnimationControls",()=>e])},77894,t=>{"use strict";let e=t=>Array.isArray(t);t.s(["isKeyframesTarget",()=>e])},16514,t=>{"use strict";function e(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}t.s(["shallowCompare",()=>e])},42531,t=>{"use strict";function e(t){return"string"==typeof t||Array.isArray(t)}t.s(["isVariantLabel",()=>e])},70452,43190,t=>{"use strict";function e(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function i(t,i,s,r){if("function"==typeof i){let[n,o]=e(r);i=i(void 0!==s?s:t.custom,n,o)}if("string"==typeof i&&(i=t.variants&&t.variants[i]),"function"==typeof i){let[n,o]=e(r);i=i(void 0!==s?s:t.custom,n,o)}return i}function s(t,e,s){let r=t.getProps();return i(r,e,void 0!==s?s:r.custom,t)}t.s(["resolveVariantFromProps",()=>i],43190),t.s(["resolveVariant",()=>s],70452)},89607,t=>{"use strict";let e=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...e];t.s(["variantPriorityOrder",()=>e,"variantProps",()=>i])},61200,60830,65566,60900,83920,63074,5369,66576,87333,66857,21748,97307,86681,31953,53396,56512,65815,49652,8648,41327,42269,37541,t=>{"use strict";let e;t.i(47167);let i=t=>t;function s(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["noop",()=>i],60830),t.s(["invariant",()=>i,"warning",()=>i],65566),t.s(["memo",()=>s],60900);let r=(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s};t.s(["progress",()=>r],83920);let n=t=>1e3*t,o=t=>t/1e3;t.s(["millisecondsToSeconds",()=>o,"secondsToMilliseconds",()=>n],63074),t.s([],5369);let a=s(()=>void 0!==window.ScrollTimeline);class l{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){let i=this.animations.map(i=>a()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=>{i.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}
1runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class u extends l{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function h(t,e){return t?t[e]||t.default||t:void 0}function c(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function d(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,i=arguments.length>2?arguments[2]:void 0,s=i({...t,keyframes:[0,e]}),r=Math.min(c(s),2e4);return{type:"keyframes",ease:t=>s.next(r*t).value/e,duration:o(r)}}function m(t){return"function"==typeof t}function p(t,e){t.timeline=e,t.onfinish=null}t.s(["GroupPlaybackControls",()=>u],66576),t.s(["getValueTransition",()=>h],87333),t.s(["calcGeneratorDuration",()=>c,"maxGeneratorDuration",()=>2e4],66857),t.s(["createGeneratorEasing",()=>d],21748),t.s(["isGenerator",()=>m],97307),t.s(["attachTimeline",()=>p],86681);let f=t=>Array.isArray(t)&&"number"==typeof t[0];t.s(["isBezierDefinition",()=>f],31953);let v,g=(e=s(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>{var t;return null!=(t=v)?t:e()});t.s(["supportsLinearEasing",()=>g],53396);let y=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,s="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)s+=t(r(0,n-1,e))+", ";return`linear(${s.substring(0,s.length-2)})`};function x(t){return!!("function"==typeof t&&g()||!t||"string"==typeof t&&(t in P||g())||f(t)||Array.isArray(t)&&t.every(x))}t.s(["generateLinearEasing",()=>y],56512);let T=t=>{let[e,i,s,r]=t;return`cubic-bezier(${e}, ${i}, ${s}, ${r})`},P={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:T([0,.65,.55,1]),circOut:T([.55,0,1,.45]),backIn:T([.31,.01,.66,-.59]),backOut:T([.33,1.53,.69,.99])};t.s(["isWaapiSupportedEasing",()=>x,"mapEasingToNativeEasing",()=>function t(e,i){if(e)return"function"==typeof e&&g()?y(e,i):f(e)?T(e):Array.isArray(e)?e.map(e=>t(e,i)||P.easeOut):P[e]}],65815);let b={x:!1,y:!1};function S(t,e,i){var s;if(t instanceof Element)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let n=null!=(s=null==i?void 0:i[t])?s:r.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}function V(t,e){let i=S(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=>s.abort()]}function w(t){return e=>{"touch"===e.pointerType||b.x||b.y||t(e)}}function A(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[s,r,n]=V(t,i),o=w(t=>{let{target:i}=t,s=e(t);if("function"!=typeof s||!i)return;let n=w(t=>{s(t),i.removeEventListener("pointerleave",n)});i.addEventListener("pointerleave",n,r)});return s.forEach(t=>{t.addEventListener("pointerenter",o,r)}),n}t.s(["resolveElements",()=>S],49652),t.s(["hover",()=>A],8648);let M=(t,e)=>!!e&&(t===e||M(t,e.parentElement)),C=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;t.s(["isPrimaryPointer",()=>C],41327);let D=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),E=new WeakSet;function R(t){return e=>{"Enter"===e.key&&t(e)}}function B(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function k(t){return C(t)&&!(b.x||b.y)}function L(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[s,r,n]=V(t,i),o=t=>{let s=t.currentTarget;if(!k(t)||E.has(s))return;E.add(s);let n=e(t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),k(t)&&E.has(s)&&(E.delete(s),"function"==typeof n&&n(t,{success:e}))},a=t=>{o(t,i.useGlobalTarget||M(s,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return s.forEach(t=>{D.has(t.tagName)||-1!==t.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=R(()=>{if(E.has(i))return;B(i,"down");let t=R(()=>{B(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>B(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,r),r)}),n}function F(t){if("x"===t||"y"===t)if(b[t])return null;else return b[t]=!0,()=>{b[t]=!1};return b.x||b.y?null:(b.x=b.y=!0,()=>{b.x=b.y=!1})}t.s(["press",()=>L],42269),t.s(["setDragLock",()=>F],37541),t.s([],61200)},2300,81384,t=>{"use strict";let e=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(e);t.s(["transformPropOrder",()=>e,"transformProps",()=>i],81384);let s=new Set(["width","height","top","left","right","bottom",...e]);t.s(["positionalKeys",()=>s],2300)},87519,45046,4840,28327,67406,t=>{"use strict";let e;var i=t.i(77894);let s=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),r=t=>(0,i.isKeyframesTarget)(t)?t[t.length-1]||0:t;t.s(["isCustomValue",()=>s,"resolveFinalValueInKeyframes",()=>r],87519);let n={skipAnimations:!1,useManualTiming:!1};t.s(["MotionGlobalConfig",()=>n],45046),t.i(5369);var o=t.i(60830);let a=["read","resolveKeyframes","update","preRender","render","postRender"];function l(t,e){let i=!1,s=!0,r={delta:0,timestamp:0,isProcessing:!1},o=()=>i=!0,l=a.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,s=!1,r=!1,n=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){n.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:function(t){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=o&&s?e:i;return r&&n.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),n.delete(t)},process:t=>{if(o=t,s){r=!0;return}s=!0,[e,i]=[i,e],e.forEach(a),e.clear(),s=!1,r&&(r=!1,l.process(t))}};return l}(o),t),{}),{read:u,resolveKeyframes:h,update:c,preRender:d,render:m,postRender:p}=l,f=()=>{let o=n.useManualTiming?r.timestamp:performance.now();i=!1,r.delta=s?1e3/60:Math.max(Math.min(o-r.timestamp,40),1),r.timestamp=o,r.isProcessing=!0,u.process(r),h.process(r),c.process(r),d.process(r),m.process(r),p.process(r),r.isProcessing=!1,i&&e&&(s=!1,t(f))};return{schedule:a.reduce((e,n)=>{let o=l[n];return e[n]=function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!i&&(i=!0,s=!0,r.isProcessing||t(f)),o.schedule(e,n,a)},e},{}),cancel:t=>{for(let e=0;e<a.length;e++)l[a[e]].cancel(t)},state:r,steps:l}}t.s(["createRenderBatcher",()=>l],4840);let{schedule:u,cancel:h,state:c,steps:d}=l("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:o.noop,!0);function m(){e=void 0}t.s(["cancelFrame",()=>h,"frame",()=>u,"frameData",()=>c,"frameSteps",()=>d],28327);let p={now:()=>(void 0===e&&p.set(c.isProcessing||n.useManualTiming?c.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(m)}};t.s(["time",()=>p],67406)},3668,t=>{"use strict";function e(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["addUniqueItem",()=>e,"removeItem",()=>i])},74015,t=>{"use strict";var e=t.i(3668);class i{constructor(){this.subscriptions=[]}add(t){return(0,e.addUniqueItem)(this.subscriptions,t),()=>(0,e.removeItem)(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let r=0;r<s;r++){let s=this.subscriptions[r];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}t.s(["SubscriptionManager",()=>i])},68935,t=>{"use strict";function e(t,e){return e?1e3/e*t:0}t.s(["velocityPerSecond",()=>e])},71329,t=>{"use strict";let e;var i=t.i(67406),s=t.i(74015),r=t.i(68935),n=t.i(28327);class o{constructor(t,e={}){var s=this;this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=function(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=i.time.now();s.updatedAt!==r&&s.setPrevFrameValue(),s.prev=s.current,s.setCurrent(t),s.current!==s.prev&&s.events.change&&s.events.change.notify(s.current),e&&s.events.renderRequest&&s.events.renderRequest.notify(s.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=i.time.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new s.SubscriptionManager);let i=this.events[t].add(e);return"change"===t?()=>{i(),n.frame.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return e&&e.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=i.time.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.velocityPerSecond)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),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 a(t,e){return new o(t,e)}t.s(["motionValue",()=>a])},97989,t=>{"use strict";var e=t.i(87519),i=t.i(71329),s=t.i(70452);function r(t,r){let{transitionEnd:n={},transition:o={},...a}=(0,s.resolveVariant)(t,r)||{};for(let s in a={...a,...n}){let r=(0,e.resolveFinalValueInKeyframes)(a[s]);t.hasValue(s)?t.getValue(s).set(r):t.addValue(s,(0,i.motionValue)(r))}}t.s(["setTarget",()=>r])},98549,t=>{"use strict";let e=t=>!!(t&&t.getVelocity);t.s(["isMotionValue",()=>e])},74749,64600,79386,67369,21975,58639,24707,46905,84017,69175,52165,t=>{"use strict";var e=t.i(98549);function i(t,i){let s=t.getValue("willChange");if((0,e.isMotionValue)(s)&&s.add)return s.add(i)}
1t.s(["addValueToWillChange",()=>i],74749);let s=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();t.s(["camelToDash",()=>s],64600);let r="data-"+s("framerAppearId");function n(t){return t.props[r]}t.s(["optimizedAppearDataAttribute",()=>r],79386),t.s(["getOptimisedAppearId",()=>n],67369);let o={current:!1};t.s(["instantAnimationState",()=>o],21975),t.i(5369);var a=t.i(60830);let l=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function u(t,e,i,s){return t===e&&i===s?a.noop:r=>0===r||1===r?r:l(function(t,e,i,s,r){let n,o,a=0;do(n=l(o=e+(i-e)/2,s,r)-t)>0?i=o:e=o;while(Math.abs(n)>1e-7&&++a<12)return o}(r,0,1,t,i),e,s)}t.s(["cubicBezier",()=>u],58639);let h=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,c=t=>e=>1-t(1-e),d=u(.33,1.53,.69,.99),m=c(d),p=h(m);t.s(["backIn",()=>m,"backInOut",()=>p,"backOut",()=>d],24707);let f=t=>(t*=2)<1?.5*m(t):.5*(2-Math.pow(2,-10*(t-1)));t.s(["anticipate",()=>f],46905);let v=t=>1-Math.sin(Math.acos(t)),g=c(v),y=h(v);t.s(["circIn",()=>v,"circInOut",()=>y,"circOut",()=>g],84017);let x=t=>/^0[^.\s]+$/u.test(t);function T(t){return"number"==typeof t?0===t:null===t||"none"===t||"0"===t||x(t)}t.s(["isZeroValueString",()=>x],69175),t.s(["isNone",()=>T],52165)},74780,t=>{"use strict";let e=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",()=>e])},35902,6996,81064,42308,24486,30801,2254,19548,26553,73464,48838,58213,70272,23016,70170,97756,17994,t=>{"use strict";var e=t.i(52165),i=t.i(2300),s=t.i(74780);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},n={...r,transform:t=>(0,s.clamp)(0,1,t)},o={...r,default:1},a=t=>Math.round(1e5*t)/1e5,l=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,u=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,h=(t,e)=>i=>!!("string"==typeof i&&u.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),c=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[r,n,o,a]=s.match(l);return{[t]:parseFloat(r),[e]:parseFloat(n),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},d={...r,transform:t=>Math.round((0,s.clamp)(0,255,t))},m={test:h("rgb","red"),parse:c("red","green","blue"),transform:t=>{let{red:e,green:i,blue:s,alpha:r=1}=t;return"rgba("+d.transform(e)+", "+d.transform(i)+", "+d.transform(s)+", "+a(n.transform(r))+")"}};t.s(["rgba",()=>m],6996);let p={test:h("#"),parse:function(t){let e="",i="",s="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,s+=s,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:r?parseInt(r,16)/255:1}},transform:m.transform};t.s(["hex",()=>p],81064);let f=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),v=f("deg"),g=f("%"),y=f("px"),x=f("vh"),T=f("vw"),P={...g,parse:t=>g.parse(t)/100,transform:t=>g.transform(100*t)};t.s(["degrees",()=>v,"percent",()=>g,"progressPercentage",()=>P,"px",()=>y,"vh",()=>x,"vw",()=>T],42308);let b={test:h("hsl","hue"),parse:c("hue","saturation","lightness"),transform:t=>{let{hue:e,saturation:i,lightness:s,alpha:r=1}=t;return"hsla("+Math.round(e)+", "+g.transform(a(i))+", "+g.transform(a(s))+", "+a(n.transform(r))+")"}};t.s(["hsla",()=>b],24486);let S={test:t=>m.test(t)||p.test(t)||b.test(t),parse:t=>m.test(t)?m.parse(t):b.test(t)?b.parse(t):p.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?m.transform(t):b.transform(t)};t.s(["color",()=>S],30801);let V=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,w="number",A="color",M=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function C(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},r=[],n=0,o=e.replace(M,t=>(S.test(t)?(s.color.push(n),r.push(A),i.push(S.parse(t))):t.startsWith("var(")?(s.var.push(n),r.push("var"),i.push(t)):(s.number.push(n),r.push(w),i.push(parseFloat(t))),++n,"${}")).split("${}");return{values:i,split:o,indexes:s,types:r}}function D(t){return C(t).values}function E(t){let{split:e,types:i}=C(t),s=e.length;return t=>{let r="";for(let n=0;n<s;n++)if(r+=e[n],void 0!==t[n]){let e=i[n];e===w?r+=a(t[n]):e===A?r+=S.transform(t[n]):r+=t[n]}return r}}let R=t=>"number"==typeof t?0:t,B={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null==(e=t.match(l))?void 0:e.length)||0)+((null==(i=t.match(V))?void 0:i.length)||0)>0},parse:D,createTransformer:E,getAnimatableNone:function(t){let e=D(t);return E(t)(e.map(R))}};t.s(["analyseComplexValue",()=>C,"complex",()=>B],2254);let k=new Set(["brightness","contrast","saturate","opacity"]);function L(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(l)||[];if(!s)return t;let r=i.replace(s,""),n=+!!k.has(e);return s!==i&&(n*=100),e+"("+n+r+")"}let F=/\b([a-z-]*)\(.*?\)/gu,j={...B,getAnimatableNone:t=>{let e=t.match(F);return e?e.map(L).join(" "):t}},O={...r,transform:Math.round},I={borderWidth:y,borderTopWidth:y,borderRightWidth:y,borderBottomWidth:y,borderLeftWidth:y,borderRadius:y,radius:y,borderTopLeftRadius:y,borderTopRightRadius:y,borderBottomRightRadius:y,borderBottomLeftRadius:y,width:y,maxWidth:y,height:y,maxHeight:y,top:y,right:y,bottom:y,left:y,padding:y,paddingTop:y,paddingRight:y,paddingBottom:y,paddingLeft:y,margin:y,marginTop:y,marginRight:y,marginBottom:y,marginLeft:y,backgroundPositionX:y,backgroundPositionY:y,rotate:v,rotateX:v,rotateY:v,rotateZ:v,scale:o,scaleX:o,scaleY:o,scaleZ:o,skew:v,skewX:v,skewY:v,distance:y,translateX:y,translateY:y,translateZ:y,x:y,y:y,z:y,perspective:y,transformPerspective:y,opacity:n,originX:P,originY:P,originZ:y,zIndex:O,size:y,fillOpacity:n,strokeOpacity:n,numOctaves:O};t.s(["numberValueTypes",()=>I],19548);let N={...I,color:S,backgroundColor:S,outlineColor:S,fill:S,stroke:S,borderColor:S,borderTopColor:S,borderRightColor:S,borderBottomColor:S,borderLeftColor:S,filter:j,WebkitFilter:j}
1,U=t=>N[t];function $(t,e){let i=U(t);return i!==j&&(i=B),i.getAnimatableNone?i.getAnimatableNone(e):void 0}t.s(["getDefaultValueType",()=>U],26553),t.s(["getAnimatableNone",()=>$],73464);let G=new Set(["auto","none","0"]);var W=t.i(81384);let K=t=>t===r||t===y,z=(t,e)=>parseFloat(t.split(", ")[e]),H=(t,e)=>(i,s)=>{let{transform:r}=s;if("none"===r||!r)return 0;let n=r.match(/^matrix3d\((.+)\)$/u);if(n)return z(n[1],e);{let e=r.match(/^matrix\((.+)\)$/u);return e?z(e[1],t):0}},Y=new Set(["x","y","z"]),X=W.transformPropOrder.filter(t=>!Y.has(t)),q={width:(t,e)=>{let{x:i}=t,{paddingLeft:s="0",paddingRight:r="0"}=e;return i.max-i.min-parseFloat(s)-parseFloat(r)},height:(t,e)=>{let{y:i}=t,{paddingTop:s="0",paddingBottom:r="0"}=e;return i.max-i.min-parseFloat(s)-parseFloat(r)},top:(t,e)=>{let{top:i}=e;return parseFloat(i)},left:(t,e)=>{let{left:i}=e;return parseFloat(i)},bottom:(t,e)=>{let{y:i}=t,{top:s}=e;return parseFloat(s)+(i.max-i.min)},right:(t,e)=>{let{x:i}=t,{left:s}=e;return parseFloat(s)+(i.max-i.min)},x:H(4,13),y:H(5,14)};q.translateX=q.x,q.translateY=q.y;var _=t.i(28327);let Z=new Set,J=!1,Q=!1;function tt(){if(Q){let t=Array.from(Z).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,s=(e=[],X.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e);s.length&&(i.set(t,s),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(e=>{var i;let[s,r]=e;null==(i=t.getValue(s))||i.set(r)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}Q=!1,J=!1,Z.forEach(t=>t.complete()),Z.clear()}function te(){Z.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Q=!0)})}function ti(){te(),tt()}class ts{constructor(t,e,i,s,r,n=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=r,this.isAsync=n}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Z.add(this),J||(J=!0,_.frame.read(te),_.frame.resolveKeyframes(tt))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;for(let r=0;r<t.length;r++)if(null===t[r])if(0===r){let r=null==s?void 0:s.get(),n=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let s=i.readValue(e,n);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=n),s&&void 0===r&&s.set(t[0])}else t[r]=t[r-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Z.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Z.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}t.s(["KeyframeResolver",()=>ts,"flushKeyframeResolvers",()=>ti],48838),t.i(5369);var tr=t.i(65566);let tn=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);t.s(["isNumericalString",()=>tn],58213);let to=t=>e=>"string"==typeof e&&e.startsWith(t),ta=to("--"),tl=to("var(--"),tu=t=>!!tl(t)&&th.test(t.split("/*")[0].trim()),th=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;t.s(["isCSSVariableName",()=>ta,"isCSSVariableToken",()=>tu],70272);let tc=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,td=t=>e=>e.test(t);t.s(["testValueType",()=>td],23016);let tm=[r,y,g,v,T,x,{test:t=>"auto"===t,parse:t=>t}],tp=t=>tm.find(td(t));t.s(["dimensionValueTypes",()=>tm,"findDimensionValueType",()=>tp],70170);class tf extends ts{constructor(t,e,i,s,r){super(t,e,i,s,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:s}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let s=t[i];if("string"==typeof s&&tu(s=s.trim())){let r=function t(e,i){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,tr.invariant)(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,n]=function(t){let e=tc.exec(t);if(!e)return[,];let[,i,s,r]=e;return[`--${null!=i?i:s}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);
1if(o){let t=o.trim();return tn(t)?parseFloat(t):t}return tu(n)?t(n,i,s+1):n}(s,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!i.positionalKeys.has(s)||2!==t.length)return;let[r,n]=t,o=tp(r),a=tp(n);if(o!==a)if(K(o)&&K(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:i}=this,s=[];for(let i=0;i<t.length;i++)(0,e.isNone)(t[i])&&s.push(i);s.length&&function(t,e,i){let s,r=0;for(;r<t.length&&!s;){let e=t[r];"string"==typeof e&&!G.has(e)&&C(e).values.length&&(s=t[r]),r++}if(s&&i)for(let r of e)t[r]=$(i,s)}(t,s,i)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=q[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:s}=this;if(!e||!e.current)return;let r=e.getValue(i);r&&r.jump(this.measuredOrigin,!1);let n=s.length-1,o=s[n];s[n]=q[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null==(t=this.removedTransforms)?void 0:t.length)&&this.removedTransforms.forEac
1h(t=>{let[i,s]=t;e.getValue(i).set(s)}),this.resolveNoneKeyframes()}}t.s(["DOMKeyframesResolver",()=>tf],35902);var tv=t.i(67406),tg=t.i(21975);t.i(61200);var ty=t.i(97307);let tx=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(B.test(t)||"0"===t)&&!t.startsWith("url(")),tT=t=>null!==t;function tP(t,e,i){let{repeat:s,repeatType:r="loop"}=e,n=t.filter(tT),o=s&&"loop"!==r&&s%2==1?0:n.length-1;return o&&void 0!==i?i:n[o]}t.s(["getFinalKeyframe",()=>tP],97756);class tb{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:n="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=tv.time.now(),this.options={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:r,repeatType:n,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||ti(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=tv.time.now(),this.hasAttemptedResolve=!0;let{name:i,type:s,velocity:r,delay:n,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,i,s){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let n=t[t.length-1],o=tx(r,e),a=tx(n,e);return(0,tr.warning)(o===a,`You are trying to animate ${e} from "${r}" to "${n}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${n} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,ty.isGenerator)(i))&&s)}(t,i,s,r))if(tg.instantAnimationState.current||!n){a&&a(tP(t,this.options,e)),o&&o(),this.resolveFinishedPromise();return}else this.options.duration=0;let u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}t.s(["BaseAnimation",()=>tb],17994)},13959,t=>{"use strict";let e=(t,e,i)=>t+(e-t)*i;t.s(["mixNumber",()=>e])},89728,459,t=>{"use strict";var e=t.i(13959);t.i(5369);var i=t.i(65566);function s(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}var r=t.i(81064),n=t.i(6996),o=t.i(24486);function a(t,e){return i=>i>0?e:t}let l=(t,e,i)=>{let s=t*t,r=i*(e*e-s)+s;return r<0?0:Math.sqrt(r)},u=[r.hex,n.rgba,o.hsla];function h(t){let e=u.find(e=>e.test(t));if((0,i.warning)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let r=e.parse(t);return e===o.hsla&&(r=function(t){let{hue:e,saturation:i,lightness:r,alpha:n}=t;e/=360,r/=100;let o=0,a=0,l=0;if(i/=100){let t=r<.5?r*(1+i):r+i-r*i,n=2*r-t;o=s(n,t,e+1/3),a=s(n,t,e),l=s(n,t,e-1/3)}else o=a=l=r;return{red:Math.round(255*o),green:Math.round(255*a),blue:Math.round(255*l),alpha:n}}(r)),r}let c=(t,i)=>{let s=h(t),r=h(i);if(!s||!r)return a(t,i);let o={...s};return t=>(o.red=l(s.red,r.red,t),o.green=l(s.green,r.green,t),o.blue=l(s.blue,r.blue,t),o.alpha=(0,e.mixNumber)(s.alpha,r.alpha,t),n.rgba.transform(o))},d=(t,e)=>i=>e(t(i)),m=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.reduce(d)};t.s(["pipe",()=>m],459);var p=t.i(30801),f=t.i(2254),v=t.i(70272);let g=new Set(["none","hidden"]);function y(t,i){return s=>(0,e.mixNumber)(t,i,s)}function x(t){return"number"==typeof t?y:"string"==typeof t?(0,v.isCSSVariableToken)(t)?a:p.color.test(t)?c:b:Array.isArray(t)?T:"object"==typeof t?p.color.test(t)?c:P:a}function T(t,e){let i=[...t],s=i.length,r=t.map((t,i)=>x(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=r[e](t);return i}}function P(t,e){let i={...t,...e},s={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(s[r]=x(t[r])(t[r],e[r]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let b=(t,e)=>{let s=f.complex.createTransformer(e),r=(0,f.analyseComplexValue)(t),n=(0,f.analyseComplexValue)(e);if(!(r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length))return(0,i.warning)(!0,`Complex values '${t}' and '${e}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),a(t,e);if(g.has(t)&&!n.values.length||g.has(e)&&!r.values.length)return g.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return m(T(function(t,e){var i;let s=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let o=e.types[n],a=t.indexes[o][r[o]],l=null!=(i=t.values[a])?i:0;s[n]=l,r[o]++}return s}(r,n),n.values),s)};function S(t,i,s){return"number"==typeof t&&"number"==typeof i&&"number"==typeof s?(0,e.mixNumber)(t,i,s):x(t)(t,i)}t.s(["mix",()=>S],89728)},66481,64532,t=>{"use strict";t.i(61200);var e=t.i(66857),i=t.i(56512);t.i(5369);var s=t.i(63074),r=t.i(74780),n=t.i(68935);function o(t,e,i){let s=Math.max(e-5,0);return(0,n.velocityPerSecond)(i-t(s),e-s)}t.s(["calcGeneratorVelocity",()=>o],64532);let a=.01,l=2,u=.005,h=.5;var c=t.i(65566);function d(t,e){return t*Math.sqrt(1-e*e)}let m=["duration","bounce"],p=["stiffness","damping","mass"];function f(t,e){return e.some(e=>void 0!==t[e])}function v(){let t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.3,v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.3,g="object"!=typeof n?{visualDuration:n,keyframes:[0,1],bounce:v}:n,{restSpeed:y,restDelta:x}=g,T=g.keyframes[0],P=g.keyframes[g.keyframes.length-1],b={done:!1,value:T},{stiffness:S,damping:V,mass:w,duration:A,velocity:M,isResolvedFromDuration:C}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!f(t,p)&&f(t,m))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),s=i*i,n=2*(0,r.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:1,stiffness:s,damping:n}}else{let i=function(t){let e,i,{duration:n=800,bounce:o=.3,velocity:a=0,mass:l=1}=t;(0,c.warning)(n<=(0,s.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less");let u=1-o;u=(0,r.clamp)(.05,1,u),n=(0,r.clamp)(.01,10,(0,s.millisecondsToSeconds)(n)),u<1?(e=t=>{let e=t*u,i=e*n;return .001-(e-a)/d(t,u)*Math.exp(-i)},i=t=>{let i=t*u*n,s=Math.pow(u,2)*Math.pow(t,2)*n,r=Math.exp(-i),o=d(Math.pow(t,2),u);return(i*a+a-s)*r*(-e(t)+.001>0?-1:1)/o}):(e=t=>-.001+Math.exp(-t*n)*((t-a)*n+1),i=t=>n*n*(a-t)*Math.exp(-t*n));let h=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(e,i,5/n);if(n=(0,s.secondsToMilliseconds)(n),isNaN(h))return{stiffness:100,damping:10,duration:n};{let t=Math.pow(h,2)*l;return{stiffness:t,damping:2*u*Math.sqrt(l*t),duration:n}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...g,velocity:-(0,s.millisecondsToSeconds)(g.velocity||0)}),D=M||0,E=V/(2*Math.sqrt(S*w)),R=P-T,B=(0,s.millisecondsToSeconds)(Math.sqrt(S/w)),k=5>Math.abs(R);if(y||(y=k?a:l),x||(x=k?u:h),E<1){let e=d(B,E);t=t=>P-Math.exp(-E*B*t)*((D+E*B*R)/e*Math.sin(e*t)+R*Math.cos(e*t))}else if(1===E)t=t=>P-Math.exp(-B*t)*(R+(D+B*R)*t);else{let e=B*Math.sqrt(E*E-1);t=t=>{let i=Math.exp(-E*B*t),s=Math.min(e*t,300);return P-i*((D+E*B*R)*Math.sinh(s)+e*R*Math.cosh(s))/e}}let L={calculatedDuration:C&&A||null,next:e=>{let i=t(e);if(C)b.done=e>=A;else{let r=0;E<1&&(r=0===e?(0,s.secondsToMilliseconds)(D):o(t,e,i));let n=Math.abs(P-i)<=x;b.done=Math.abs(r)<=y&&n}return b.value=b.done?P:i,b},toString:()=>{let t=Math.min((0,e.calcGeneratorDuration)(L),e.maxGeneratorDuration),s=(0,i.generateLinearEasing)(e=>L.next(t*e).value,t,30);return t+"ms "+s}};return L}t.s(["spring",()=>v],66481)},62152,12903,t=>{"use strict";var e=t.i(66481),i=t.i(64532);function s(t){let s,r,{keyframes:n,velocity:o=0,power:a=.8,timeConstant:l=325,bounceDamping:u=10,bounceStiffness:h=500,modifyTarget:c,min:d,max:m,restDelta:p=.5,restSpeed:f}=t,v=n[0],g={done:!1,value:v},y=a*o,x=v+y,T=void 0===c?x:c(x);T!==x&&(y=T-v);let P=t=>-y*Math.exp(-t/l),b=t=>T+P(t),S=t=>{let e=P(t),i=b(t);g.done=Math.abs(e)<=p,g.value=g.done?T:i},V=t=>{let n;if(n=g.value,void 0!==d&&n<d||void 0!==m&&n>m){var o;s=t,r=(0,e.spring)({keyframes:[g.value,(o=g.value,void 0===d?m:void 0===m||Math.abs(d-o)<Math.abs(m-o)?d:m)],velocity:(0,i.calcGeneratorVelocity)(b,t,g.value),damping:u,stiffness:h,restDelta:p,restSpeed:f})}};return V(0),{calculatedDuration:null,next:t=>{let e=!1;return(r||void 0!==s||(e=!0,S(t),V(t)),void 0!==s&&t>=s)?r.next(t-s):(e||S(t),g)}}}
1t.s(["inertia",()=>s],62152);var r=t.i(58639);let n=(0,r.cubicBezier)(.42,0,1,1),o=(0,r.cubicBezier)(0,0,.58,1),a=(0,r.cubicBezier)(.42,0,.58,1);t.s(["easeIn",()=>n,"easeInOut",()=>a,"easeOut",()=>o],12903)},41790,t=>{"use strict";let e=t=>Array.isArray(t)&&"number"!=typeof t[0];t.s(["isEasingArray",()=>e])},93383,25711,t=>{"use strict";t.i(61200);var e=t.i(31953);t.i(5369);var i=t.i(65566),s=t.i(60830),r=t.i(46905),n=t.i(24707),o=t.i(84017),a=t.i(58639),l=t.i(12903);let u={linear:s.noop,easeIn:l.easeIn,easeInOut:l.easeInOut,easeOut:l.easeOut,circIn:o.circIn,circInOut:o.circInOut,circOut:o.circOut,backIn:n.backIn,backInOut:n.backInOut,backOut:n.backOut,anticipate:r.anticipate},h=t=>{if((0,e.isBezierDefinition)(t)){(0,i.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,s,r,n]=t;return(0,a.cubicBezier)(e,s,r,n)}return"string"==typeof t?((0,i.invariant)(void 0!==u[t],`Invalid easing type '${t}'`),u[t]):t};t.s(["easingDefinitionToFunction",()=>h],93383);var c=t.i(83920),d=t.i(74780),m=t.i(89728),p=t.i(459);function f(t,e){let{clamp:r=!0,ease:n,mixer:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=t.length;if((0,i.invariant)(a===e.length,"Both input and output ranges must be the same length"),1===a)return()=>e[0];if(2===a&&e[0]===e[1])return()=>e[1];let l=t[0]===t[1];t[0]>t[a-1]&&(t=[...t].reverse(),e=[...e].reverse());let u=function(t,e,i){let r=[],n=i||m.mix,o=t.length-1;for(let i=0;i<o;i++){let o=n(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||s.noop:e;o=(0,p.pipe)(t,o)}r.push(o)}return r}(e,n,o),h=u.length,f=i=>{if(l&&i<t[0])return e[0];let s=0;if(h>1)for(;s<t.length-2&&!(i<t[s+1]);s++);let r=(0,c.progress)(t[s],t[s+1],i);return u[s](r)};return r?e=>f((0,d.clamp)(t[0],t[a-1],e)):f}t.s(["interpolate",()=>f],25711)},30040,95119,t=>{"use strict";t.i(5369);var e=t.i(83920),i=t.i(13959);function s(t,s){let r=t[t.length-1];for(let n=1;n<=s;n++){let o=(0,e.progress)(0,s,n);t.push((0,i.mixNumber)(r,1,o))}}function r(t){let e=[0];return s(e,t.length-1),e}t.s(["fillOffset",()=>s],95119),t.s(["defaultOffset",()=>r],30040)},6327,82363,t=>{"use strict";t.i(61200);var e=t.i(87333),i=t.i(2300),s=t.i(97989),r=t.i(74749),n=t.i(67369),o=t.i(66576);t.i(5369);var a=t.i(63074),l=t.i(28327),u=t.i(45046),h=t.i(21975),c=t.i(53396),d=t.i(86681),m=t.i(97307),p=t.i(65815),f=t.i(60830),v=t.i(46905),g=t.i(24707),y=t.i(84017),x=t.i(35902),T=t.i(17994);t.i(47167);var P=t.i(66857),b=t.i(48838),S=t.i(74780),V=t.i(89728),w=t.i(459),A=t.i(62152),M=t.i(12903),C=t.i(41790),D=t.i(93383),E=t.i(25711),R=t.i(30040);function B(t){var e;let{duration:i=300,keyframes:s,times:r,ease:n="easeInOut"}=t,o=(0,C.isEasingArray)(n)?n.map(D.easingDefinitionToFunction):(0,D.easingDefinitionToFunction)(n),a={done:!1,value:s[0]},l=(e=r&&r.length===s.length?r:(0,R.defaultOffset)(s),e.map(t=>t*i)),u=(0,E.interpolate)(l,s,{ease:Array.isArray(o)?o:s.map(()=>o||M.easeInOut).splice(0,s.length-1)});return{calculatedDuration:i,next:t=>(a.value=u(t),a.done=t>=i,a)}}var k=t.i(66481),L=T,F=t.i(67406);let j=t=>{let e=e=>{let{timestamp:i}=e;return t(i)};return{start:()=>l.frame.update(e,!0),stop:()=>(0,l.cancelFrame)(e),now:()=>l.frameData.isProcessing?l.frameData.timestamp:F.time.now()}};var O=t.i(97756);let I={decay:A.inertia,inertia:A.inertia,tween:B,keyframes:B,spring:k.spring},N=t=>t/100;class U extends L.BaseAnimation{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};const{name:e,motionValue:i,element:s,keyframes:r}=this.options,n=(null==s?void 0:s.KeyframeResolver)||b.KeyframeResolver,o=(t,e)=>this.onKeyframesResolved(t,e);this.resolver=new n(r,o,e,i,s),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i,{type:s="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:
1o,velocity:a=0}=this.options,l=(0,m.isGenerator)(s)?s:I[s]||B;l!==B&&"number"!=typeof t[0]&&(e=(0,w.pipe)(N,(0,V.mix)(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=(0,P.calcGeneratorDuration)(u));let{calculatedDuration:h}=u,c=h+n;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:c,totalDuration:c*(r+1)-n}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:s,generator:r,mirroredGenerator:n,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return r.next(0);let{delay:c,repeat:d,repeatType:m,repeatDelay:p,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let v=this.currentTime-c*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,x=r;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===m?(i=1-i,p&&(i-=p/h)):"mirror"===m&&(x=n)),y=(0,S.clamp)(0,1,i)*h}let T=g?{done:!1,value:a[0]}:x.next(y);o&&(T.value=o(T.value));let{done:P}=T;g||null===l||(P=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return b&&void 0!==s&&(T.value=(0,O.getFinalKeyframe)(a,this.options,s)),f&&f(T.value),b&&this.finish(),T}get duration(){let{resolved:t}=this;return t?(0,a.millisecondsToSeconds)(t.calculatedDuration):0}get time(){return(0,a.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,a.secondsToMilliseconds)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,a.millisecondsToSeconds)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=j,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let s=this.driver.now();null!==this.holdTime?this.startTime=s-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=s):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(t=this.currentTime)?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let $=new Set(["opacity","clipPath","filter","transform"]),G=(0,t.i(60900).memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),W={anticipate:v.anticipate,backInOut:g.backInOut,circInOut:y.circInOut};class K extends T.BaseAnimation{constructor(t){super(t);const{name:e,motionValue:i,element:s,keyframes:r}=this.options;this.resolver=new x.DOMKeyframesResolver(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,s),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:s=300,times:r,ease:n,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof n&&(0,c.supportsLinearEasing)()&&n in W&&(n=W[n]),i=this.options,
1(0,m.isGenerator)(i.type)||"spring"===i.type||!(0,p.isWaapiSupportedEasing)(i.ease)){let{onComplete:e,onUpdate:i,motionValue:a,element:l,...u}=this.options,h=function(t,e){let i=new U({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),s={done:!1,value:t[0]},r=[],n=0;for(;!s.done&&n<2e4;)r.push((s=i.sample(n)).value),n+=10;return{times:void 0,keyframes:r,duration:n-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),s=h.duration,r=h.times,n=h.ease,o="keyframes"}let h=function(t,e,i){let{delay:s=0,duration:r=300,repeat:n=0,repeatType:o="loop",ease:a="easeInOut",times:l}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u={[e]:i};l&&(u.offset=l);let h=(0,p.mapEasingToNativeEasing)(a,r);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:s,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:n+1,direction:"reverse"===o?"alternate":"normal"})}(a.owner.current,l,t,{...this.options,duration:s,times:r,ease:n});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?((0,d.attachTimeline)(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;a.set((0,O.getFinalKeyframe)(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:s,times:r,type:o,ease:n,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,a.millisecondsToSeconds)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,a.millisecondsToSeconds)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,a.secondsToMilliseconds)(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return f.noop;let{animation:i}=e;(0,d.attachTimeline)(i,t)}else this.pendingTimeline=t;return f.noop}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:s,type:r,ease:n,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:l,element:u,...h}=this.options,c=new U({...h,keyframes:i,duration:s,type:r,ease:n,times:o,isGenerator:!0}),d=(0,a.secondsToMilliseconds)(this.time);t.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:r,damping:n,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return G()&&i&&$.has(i)&&!a&&!l&&!s&&"mirror"!==r&&0!==n&&"inertia"!==o}}var z=t.i(81384);let H={type:"spring",stiffness:500,damping:25,restSpeed:10},Y={type:"keyframes",duration:.8},X={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},q=function(t,i,s){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=arguments.length>4?arguments[4]:void 0,c=arguments.length>5?arguments[5]:void 0;return d=>{let m=(0,e.getValueTransition)(r,t)||{},p=m.delay||r.delay||0,{elapsed:f=0}=r;f-=(0,a.secondsToMilliseconds)(p);let v={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:i.getVelocity(),...m,delay:-f,onUpdate:t=>{i.set(t),m.onUpdate&&m.onUpdate(t)},onComplete:()=>{d(),m.onComplete&&m.onComplete()},name:t,motionValue:i,element:c?void 0:n};!function(t){let{when:e,delay:i,delayChildren:s,staggerChildren:r,staggerDirection:n,repeat:o,repeatType:a,repeatDelay:l,from:u,elapsed:
1h,...c}=t;return!!Object.keys(c).length}(m)&&(v={...v,...((t,e)=>{let{keyframes:i}=e;return i.length>2?Y:z.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===i[1]?2*Math.sqrt(550):30,restSpeed:10}:H:X})(t,v)}),v.duration&&(v.duration=(0,a.secondsToMilliseconds)(v.duration)),v.repeatDelay&&(v.repeatDelay=(0,a.secondsToMilliseconds)(v.repeatDelay)),void 0!==v.from&&(v.keyframes[0]=v.from);let g=!1;if(!1!==v.type&&(0!==v.duration||v.repeatDelay)||(v.duration=0,0===v.delay&&(g=!0)),(h.instantAnimationState.current||u.MotionGlobalConfig.skipAnimations)&&(g=!0,v.duration=0,v.delay=0),g&&!c&&void 0!==i.get()){let t=(0,O.getFinalKeyframe)(v.keyframes,m);if(void 0!==t)return l.frame.update(()=>{v.onUpdate(t),v.onComplete()}),new o.GroupPlaybackControls([])}return!c&&K.supports(v)?new K(v):new U(v)}};function _(t,o){var a;let{delay:u=0,transitionOverride:h,type:c}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{transition:d=t.getDefaultTransition(),transitionEnd:m,...p}=o;h&&(d=h);let f=[],v=c&&t.animationState&&t.animationState.getState()[c];for(let s in p){let o=t.getValue(s,null!=(a=t.latestValues[s])?a:null),h=p[s];if(void 0===h||v&&function(t,e){let{protectedKeys:i,needsAnimating:s}=t,r=i.hasOwnProperty(e)&&!0!==s[e];return s[e]=!1,r}(v,s))continue;let c={delay:u,...(0,e.getValueTransition)(d||{},s)},m=!1;if(window.MotionHandoffAnimation){let e=(0,n.getOptimisedAppearId)(t);if(e){let t=window.MotionHandoffAnimation(e,s,l.frame);null!==t&&(c.startTime=t,m=!0)}}(0,r.addValueToWillChange)(t,s),o.start(q(s,o,h,t.shouldReduceMotion&&i.positionalKeys.has(s)?{type:!1}:c,t,m));let g=o.animation;g&&f.push(g)}return m&&Promise.all(f).then(()=>{l.frame.update(()=>{m&&(0,s.setTarget)(t,m)})}),f}t.s(["animateMotionValue",()=>q],82363),t.s(["animateTarget",()=>_],6327)},23070,11129,26368,65536,61175,93985,25522,61054,4785,t=>{"use strict";var e=t.i(44974),i=t.i(77894),s=t.i(16514),r=t.i(42531),n=t.i(70452),o=t.i(89607),a=t.i(6327);function l(t,e){var i;let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,n.resolveVariant)(t,e,"exit"===s.type?null==(i=t.presenceContext)?void 0:i.custom:void 0),{transition:o=t.getDefaultTransition()||{}}=r||{};s.transitionOverride&&(o=s.transitionOverride);let h=r?()=>Promise.all((0,a.animateTarget)(t,r,s)):()=>Promise.resolve(),c=t.variantChildren&&t.variantChildren.size?function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,{delayChildren:r=0,staggerChildren:n,staggerDirection:a}=o;return function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=arguments.length>5?arguments[5]:void 0,o=[],a=(t.variantChildren.size-1)*s,h=1===r?function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return t*s}:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return a-t*s};return Array.from(t.variantChildren).sort(u).forEach((t,s)=>{t.notify("AnimationStart",e),o.push(l(t,e,{...n,delay:i+h(s)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+i,n,a,s)}:()=>Promise.resolve(),{when:d}=o;if(!d)return Promise.all([h(),c(s.delay)]);{let[t,e]="beforeChildren"===d?[h,c]:[c,h];return t().then(()=>e())}}function u(t,e){return t.sortNodePosition(e)}let h=o.variantProps.length,c=[...o.variantPriorityOrder].reverse(),d=o.variantPriorityOrder.length;function m(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function p(){return{animate:m(!0),whileInView:m(),whileHover:m(),whileTap:m(),whileDrag:m(),whileFocus:m(),exit:m()}}class f{constructor(t){this.isMounted=!1,this.node=t}update(){}}t.s(["Feature",()=>f],11129);let v=0,g={animation:{Feature:class extends f{constructor(t){super(t),t.animationState||(t.animationState=function(t){let u=e=>Promise.all(e.map(e=>{let{animation:i,options:s}=e;return function(t,e){let i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>l(t,e,s)));else if("string"==typeof e)i=l(t,e,s);else{let r="function"==typeof e?(0,n.resolveVariant)(t,e,s.custom):e;i=Promise.all((0,a.animateTarget)(t,r,s))}return i.then(()=>{t.notify("AnimationComplete",e)})}(t,i,s)})),m=p(),f=!0,v=e=>(i,s)=>{var r;let o=(0,n.resolveVariant)(t,s,"exit"===e?null==(r=t.presenceContext)?void 0:r.custom:void 0);if(o){let{transition:t,transitionEnd:e,...s}=o;i={...i,...s,...e}}return i};function g(n){let{props:a}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<h;t++){let s=o.variantProps[t],n=e.props[s];((0,r.isVariantLabel)(n)||!1===n)&&(i[s]=n)}return i}(t.parent)||{},p=[],g=new Set,y={},x=1/0;for(let o=0;o<d;o++){var T,P;let u=c[o],h=m[u],d=void 0!==a[u]?a[u]:l[u],b=(0,r.isVariantLabel)(d),S=u===n?h.isActive:null;!1===S&&(x=o);let V=d===l[u]&&d!==a[u]&&b;if(V&&f&&t.manuallyAnimateOnMount&&(V=!1),h.protectedKeys={...y}
1,!h.isActive&&null===S||!d&&!h.prevProp||(0,e.isAnimationControls)(d)||"boolean"==typeof d)continue;let w=(T=h.prevProp,"string"==typeof(P=d)?P!==T:!!Array.isArray(P)&&!(0,s.shallowCompare)(P,T)),A=w||u===n&&h.isActive&&!V&&b||o>x&&b,M=!1,C=Array.isArray(d)?d:[d],D=C.reduce(v(u),{});!1===S&&(D={});let{prevResolvedValues:E={}}=h,R={...E,...D},B=e=>{A=!0,g.has(e)&&(M=!0,g.delete(e)),h.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in R){let e=D[t],r=E[t];if(!y.hasOwnProperty(t))((0,i.isKeyframesTarget)(e)&&(0,i.isKeyframesTarget)(r)?(0,s.shallowCompare)(e,r):e===r)?void 0!==e&&g.has(t)?B(t):h.protectedKeys[t]=!0:null!=e?B(t):g.add(t)}h.prevProp=d,h.prevResolvedValues=D,h.isActive&&(y={...y,...D}),f&&t.blockInitialAnimation&&(A=!1);let k=!(V&&w)||M;A&&k&&p.push(...C.map(t=>({animation:t,options:{type:u}})))}if(g.size){let e={};g.forEach(i=>{let s=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=s?s:null}),p.push({animation:e})}let b=!!p.length;return f&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(b=!1),f=!1,b?u(p):Promise.resolve()}return{animateChanges:g,setActive:function(e,i){var s;if(m[e].isActive===i)return Promise.resolve();null==(s=t.variantChildren)||s.forEach(t=>{var s;return null==(s=t.animationState)?void 0:s.setActive(e,i)}),m[e].isActive=i;let r=g(e);for(let t in m)m[t].protectedKeys={};return r},setAnimateFunction:function(e){u=e(t)},getState:()=>m,reset:()=>{m=p(),f=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,e.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}}},exit:{Feature:class extends f{constructor(){super(...arguments),this.id=v++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}}};t.s(["animations",()=>g],23070),t.i(61200);var y=t.i(41327);t.i(5369);var x=t.i(63074);function T(t,e,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}function P(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["addDomEvent",()=>T],26368);let b=t=>e=>(0,y.isPrimaryPointer)(e)&&t(e,P(e));function S(t,e,i,s){return T(t,e,b(i),s)}t.s(["addPointerInfo",()=>b,"extractEventInfo",()=>P],65536),t.s(["addPointerEvent",()=>S],61175);let V=(t,e)=>Math.abs(t-e);var w=t.i(459),A=t.i(28327);class M{constructor(t,e,{transformPagePoint:i,contextWindow:s,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=E(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(V(t.x,e.x)**2+V(t.y,e.y)**2)>=3);if(!s&&!r)return;let{point:n}=i,{timestamp:o}=A.frameData;this.history.push({...n,timestamp:o});let{onStart:a,onMove:l}=this.handlers;s||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=C(e,this.transformPagePoint),A.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=E("pointercancel"===t.type?this.lastMoveEventInfo:C(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),s&&s(t,n)},!(0,y.isPrimaryPointer)(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=s||window;const n=C(P(t),this.transformPagePoint),{point:o}=n,{timestamp:a}=A.frameData;this.history=[{...o,timestamp:a}];const{onSessionStart:l}=e;l&&l(t,E(n,this.history)),this.removeListeners=(0,w.pipe)(S(this.contextWindow,"pointermove",this.handlePointerMove),S(this.contextWindow,"pointerup",this.handlePointerUp),S(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,A.cancelFrame)(this.updatePoint)}}function C(t,e){return e?{point:e(t.point)}:t}function D(t,e){return{x:t.x-e.x,y:t.y-e.y}}function E(t,e){let{point:i}=t;return{point:i,delta:D(i,R(e)),offset:D(i,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null,r=R(t);for(;i>=0&&(s=t[i],!(r.timestamp-s.timestamp>(0,x.secondsToMilliseconds)(.1)));)i--;if(!s)return{x:0,y:0};let n=(0,x.millisecondsToSeconds)(r.timestamp-s.timestamp);if(0===n)return{x:0,y:0};let o={x:(r.x-s.x)/n,y:(r.y-s.y)/n};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function R(t){return t[t.length-1]}function B(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}t.s(["PanSession",()=>M],93985),t.s(["isRefObject",()=>B],25522);var k=t.i(83920),L=t.i(13959);function F(t){return t.max-t.min}function j(t,e,i){return Math.abs(t-e)<=i}function O(t,e,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=s,t.originPoint=(0,L.mixNumber)(e.min,e.max,t.origin),t.scale=F(i)/F(e),t.translate=(0,L.mixNumber)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function I(t,e,i,s){O(t.x,e.x,i.x,s?s.originX:void 0),O(t.y,e.y,i.y,s?s.originY:void 0)}function N(t,e,i){t.min=i.min+e.min,t.max=t.min+F(e)}function U(t,e,i){N(t.x,e.x,i.x),N(t.y,e.y,i.y)}function $(t,e,i){t.min=e.min-i.min,t.max=t.min+F(e)}function G(t,e,i){$(t.x,e.x,i.x),$(t.y,e.y,i.y)}t.s(["calcBoxDelta",()=>I,"calcLength",()=>F,"calcRelativeBox",()=>U,"calcRelativePosition",()=>G,"isNear",()=>j],61054);var W=t.i(74780);function K(t,e,i){let{min:s,max:r}=e;return void 0!==s&&t<s?t=i?(0,L.mixNumber)(s,t,i.min):Math.max(t,s):void 0!==r&&t>r&&(t=i?(0,L.mixNumber)(r,t,i.max):Math.min(t,r)),t}function z(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 H(t,e){let{top:i,left:s,bottom:r,right:n}=e;return{x:z(t.x,s,n),y:z(t.y,i,r)}}function Y(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function X(t,e){return{x:Y(t.x,e.x),y:Y(t.y,e.y)}}function q(t,e){let i=.5,s=F(t),r=F(e);return r>s?i=(0,k.progress)(e.min,e.max-s,t.min):s>r&&(i=(0,k.progress)(t.min,t.max-r,e.min)),(0,W.clamp)(0,1,i)}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}function Z(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===t?t=0:!0===t&&(t=.35),{x:J(t,"left","right"),y:J(t,"top","bottom")}}function J(t,e,i){return{min:Q(t,e),max:Q(t,i)}}function Q(t,e){return"number"==typeof t?t:t[e]||0}t.s(["applyConstraints",()=>K,"calcOrigin",()=>q,"calcRelativeConstraints",()=>H,"calcViewportConstraints",()=>X,"defaultElastic",()=>.35,"rebaseAxisConstraints",()=>_,"resolveDragElastic",()=>Z],4785)},81699,t=>{"use strict";let e=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({x:e(),y:e()}),s=()=>({min:0,max:0}),r=()=>({x:s(),y:s()});t.s(["createBox",()=>r,"createDelta",()=>i])},76673,t=>{"use strict";function e(t){return[t("x"),t("y")]}t.s(["eachAxis",()=>e])},45504,49587,72696,89234,t=>{"use strict";function e(t){let{top:e,left:i,right:s,bottom:r}=t;return{x:{min:i,max:s},y:{min:e,max:r}}}function i(t){let{x:e,y:i}=t;return{top:i.min,right:e.max,bottom:i.max,left:e.min}}function s(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}t.s(["convertBoundingBoxToBox",()=>e,"convertBoxToBoundingBox",()=>i,"transformBoxPoints",()=>s],49587);var r=t.i(13959);function n(t){return void 0===t||1===t}function o(t){let{scale:e,scaleX:i,scaleY:s}=t;
1return!n(e)||!n(i)||!n(s)}function a(t){return o(t)||l(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function l(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function u(t,e,i){return i+e*(t-i)}function h(t,e,i,s,r){return void 0!==r&&(t=s+r*(t-s)),s+i*(t-s)+e}function c(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0;t.min=h(t.min,e,i,s,r),t.max=h(t.max,e,i,s,r)}function d(t,e){let{x:i,y:s}=e;c(t.x,i.translate,i.scale,i.originPoint),c(t.y,s.translate,s.scale,s.originPoint)}function m(t,e,i){let s,r,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=i.length;if(o){e.x=e.y=1;for(let l=0;l<o;l++){r=(s=i[l]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&v(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,d(t,r)),n&&a(s.latestValues)&&v(t,s.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function p(t,e){t.min=t.min+e,t.max=t.max+e}function f(t,e,i,s){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5,o=(0,r.mixNumber)(t.min,t.max,n);c(t,e,i,o,s)}function v(t,e){f(t.x,e.x,e.scaleX,e.scale,e.originX),f(t.y,e.y,e.scaleY,e.scale,e.originY)}function g(t,i){return e(s(t.getBoundingClientRect(),i))}function y(t,e,i){let s=g(t,i),{scroll:r}=e;return r&&(p(s.x,r.offset.x),p(s.y,r.offset.y)),s}t.s(["has2DTranslate",()=>l,"hasScale",()=>o,"hasTransform",()=>a],72696),t.s(["applyBoxDelta",()=>d,"applyTreeDeltas",()=>m,"scalePoint",()=>u,"transformBox",()=>v,"translateAxis",()=>p],89234),t.s(["measurePageBox",()=>y,"measureViewportBox",()=>g],45504)},33986,85651,t=>{"use strict";var e=t.i(11129);t.i(5369);var i=t.i(60830),s=t.i(65566);t.i(61200);var r=t.i(37541),n=t.i(93985),o=t.i(25522),a=t.i(61175),l=t.i(4785),u=t.i(81699),h=t.i(76673),c=t.i(45504),d=t.i(65536),m=t.i(49587),p=t.i(26368),f=t.i(61054),v=t.i(13959),g=t.i(42308),y=t.i(82363);let x=t=>{let{current:e}=t;return e?e.ownerDocument.defaultView:null};var T=t.i(74749),P=t.i(28327);let b=new WeakMap;class S{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,u.createBox)(),this.visualElement=t}start(t){let{snapToCursor:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let s=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,d.extractEventInfo)(t).point)},o=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:n}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,r.setDragLock)(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,h.eachAxis)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(g.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=(0,f.calcLength)(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&P.frame.postRender(()=>n(t,e)),(0,T.addValueToWillChange)(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},a=(t,e)=>{let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:r,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),n&&n(t,e)},l=(t,e)=>this.stop(t,e),u=()=>(0,h.eachAxis)(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:c}=this.getProps();
1this.panSession=new n.PanSession(t,{onSessionStart:s,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:x(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:s}=e;this.startAnimation(s);let{onDragEnd:r}=this.getProps();r&&P.frame.postRender(()=>r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!V(t,s,this.currentDirection))return;let r=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=(0,l.applyConstraints)(n,this.constraints[t],this.elastic[t])),r.set(n)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(t=this.visualElement.projection)?void 0:t.layout,r=this.constraints;e&&(0,o.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=(0,l.calcRelativeConstraints)(s.layoutBox,e):this.constraints=!1,this.elastic=(0,l.resolveDragElastic)(i),r!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&(0,h.eachAxis)(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(0,l.rebaseAxisConstraints)(s.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!(0,o.isRefObject)(t))return!1;let i=t.current;(0,s.invariant)(null!==i,"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 n=(0,c.measurePageBox)(i,r.root,this.visualElement.getTransformPagePoint()),a=(0,l.calcViewportConstraints)(r.layout.layoutBox,n);if(e){let t=e((0,m.convertBoxToBoundingBox)(a));this.hasMutatedConstraints=!!t,t&&(a=(0,m.convertBoundingBoxToBox)(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:r,dragSnapToOrigin:n,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all((0,h.eachAxis)(o=>{if(!V(o,e,this.currentDirection))return;let l=a&&a[o]||{};n&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,T.addValueToWillChange)(this.visualElement,t),i.start((0,y.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,h.eachAxis)(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){(0,h.eachAxis)(t=>{var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.pause()})}getAnimationState(t){var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){(0,h.eachAxis)(e=>{let{drag:i}=this.getProps();if(!V(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,r=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:n}=s.layout.layoutBox[e];r.set(t[e]-(0,v.mixNumber)(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,o.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};(0,h.eachAxis)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();s[t]=(0,l.calcOrigin)({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),(0,h.eachAxis)(e=>{if(!V(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:n}=this.constraints[e];i.set((0,v.mixNumber)(r,n,s[e]))})}addListeners(){if(!this.visualElement.current)return;b.set(this.visualElement,this);let t=this.visualElement.current,e=(0,a.addPointerEvent)(t,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),i=()=>{let{dragConstraints:t}=this.getProps();(0,o.isRefObject)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,r=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),P.frame.read(i);let n=(0,p.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i}=t;this.isDragging&&i&&((0,h.eachAxis)(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{n(),e(),r(),l&&l()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:r=!1,dragElastic:n=l.defaultElastic,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:r,dragElastic:n,dragMomentum:o}}}function V(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class w extends e.Feature{constructor(t){super(t),this.removeGroupControls=i.no
1op,this.removeListeners=i.noop,this.controls=new S(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||i.noop}unmount(){this.removeGroupControls(),this.removeListeners()}}t.s(["DragGesture",()=>w],33986);var A=e;let M=t=>(e,i)=>{t&&P.frame.postRender(()=>t(e,i))};class C extends A.Feature{constructor(){super(...arguments),this.removePointerDownListener=i.noop}onPointerDown(t){this.session=new n.PanSession(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:x(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:M(t),onStart:M(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&P.frame.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=(0,a.addPointerEvent)(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}t.s(["PanGesture",()=>C],85651)},4035,30177,71771,49523,t=>{"use strict";let e=(0,t.i(71645).createContext)({});t.s(["SwitchLayoutGroupContext",()=>e],4035);let i={hasAnimatedSinceResize:!0,hasEverUpdated:!1};t.s(["globalProjectionState",()=>i],30177);var s=t.i(42308);function r(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let n={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!s.px.test(t))return t;else t=parseFloat(t);let i=r(t,e.target.x),n=r(t,e.target.y);return`${i}% ${n}%`}};t.s(["correctBorderRadius",()=>n],71771);var o=t.i(13959),a=t.i(2254);let l={correct:(t,e)=>{let{treeScale:i,projectionDelta:s}=e,r=a.complex.parse(t);if(r.length>5)return t;let n=a.complex.createTransformer(t),l=+("number"!=typeof r[0]),u=s.x.scale*i.x,h=s.y.scale*i.y;r[0+l]/=u,r[1+l]/=h;let c=(0,o.mixNumber)(u,h,.5);return"number"==typeof r[2+l]&&(r[2+l]/=c),"number"==typeof r[3+l]&&(r[3+l]/=c),n(r)}};t.s(["correctBoxShadow",()=>l],49523)},52383,t=>{"use strict";let e={};function i(t){Object.assign(e,t)}t.s(["addScaleCorrector",()=>i,"scaleCorrectors",()=>e])},77397,30662,t=>{"use strict";var e=t.i(43476),i=t.i(71645),s=t.i(64978),r=t.i(31178),n=t.i(4035),o=t.i(30177),a=t.i(71771),l=t.i(49523),u=t.i(52383);let{schedule:h,cancel:c}=(0,t.i(4840).createRenderBatcher)(queueMicrotask,!1);t.s(["microtask",()=>h],30662);var d=t.i(28327);class m extends i.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:r}=t;(0,u.addScaleCorrector)(f),r&&(e.group&&e.group.add(r),i&&i.register&&s&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),o.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:r}=this.props,n=i.projection;return n&&(n.isPresent=r,s||t.layoutDependency!==e||void 0===e?n.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?n.promote():n.relegate()||d.frame.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),h.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function p(t){let[o,a]=(0,s.usePresence)(),l=(0,i.useContext)(r.LayoutGroupContext);return(0,e.jsx)(m,{...t,layoutGroup:l,switchLayoutGroup:(0,i.useContext)(n.SwitchLayoutGroupContext),isPresent:o,safeToRemove:a})}let f={borderRadius:{...a.correctBorderRadius,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:a.correctBorderRadius,borderTopRightRadius:a.correctBorderRadius,borderBottomLeftRadius:a.correctBorderRadius,borderBottomRightRadius:a.correctBorderRadius,boxSh
1adow:l.correctBoxShadow};t.s(["MeasureLayout",()=>p],77397)},69122,t=>{"use strict";var e=t.i(71329),i=t.i(98549),s=t.i(82363);function r(t,r,n){let o=(0,i.isMotionValue)(t)?t:(0,e.motionValue)(t);return o.start((0,s.animateMotionValue)("",o,r,n)),o.animation}t.s(["animateSingleValue",()=>r])},92180,t=>{"use strict";function e(t){return t instanceof SVGElement&&"svg"!==t.tagName}t.s(["isSVGElement",()=>e])},46816,28987,8149,54292,48070,t=>{"use strict";var e=t.i(33986),i=t.i(85651),s=t.i(77397);t.i(61200);var r=t.i(87333);t.i(5369);var n=t.i(60830),o=t.i(69122),a=t.i(67369),l=t.i(28327),u=t.i(30662),h=t.i(67406),c=t.i(92180),d=t.i(3668);let m=(t,e)=>t.depth-e.depth;class p{constructor(){this.children=[],this.isDirty=!1}add(t){(0,d.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,d.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(m),this.isDirty=!1,this.children.forEach(t)}}var f=t.i(74780);t.i(63074);var v=t.i(13959),g=t.i(74015),y=t.i(87519),x=t.i(98549);function T(t){let e=(0,x.isMotionValue)(t)?t.get():t;return(0,y.isCustomValue)(e)?e.toValue():e}t.s(["resolveMotionValue",()=>T],28987);var P=t.i(83920),b=t.i(84017),S=t.i(42308);let V=["TopLeft","TopRight","BottomLeft","BottomRight"],w=V.length,A=t=>"string"==typeof t?parseFloat(t):t,M=t=>"number"==typeof t||S.px.test(t);function C(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let D=R(0,.5,b.circOut),E=R(.5,.95,n.noop);function R(t,e,i){return s=>s<t?0:s>e?1:i((0,P.progress)(t,e,s))}function B(t,e){t.min=e.min,t.max=e.max}function k(t,e){B(t.x,e.x),B(t.y,e.y)}function L(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var F=t.i(89234),j=t.i(61054);function O(t,e,i,s,r){return t-=e,t=(0,F.scalePoint)(t,1/i,s),void 0!==r&&(t=(0,F.scalePoint)(t,1/r,s)),t}function I(t,e,i,s,r){let[n,o,a]=i;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,r=arguments.length>4?arguments[4]:void 0,n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;if(S.percent.test(e)&&(e=parseFloat(e),e=(0,v.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,v.mixNumber)(n.min,n.max,s);t===n&&(a-=e),t.min=O(t.min,e,i,a,r),t.max=O(t.max,e,i,a,r)}(t,e[n],e[o],e[a],e.scale,s,r)}let N=["x","scaleX","originX"],U=["y","scaleY","originY"];function $(t,e,i,s){I(t.x,e,N,i?i.x:void 0,s?s.x:void 0),I(t.y,e,U,i?i.y:void 0,s?s.y:void 0)}var G=t.i(81699);function W(t){return 0===t.translate&&1===t.scale}function K(t){return W(t.x)&&W(t.y)}function z(t,e){return t.min===e.min&&t.max===e.max}function H(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Y(t,e){return H(t.x,e.x)&&H(t.y,e.y)}function X(t){return(0,j.calcLength)(t.x)/(0,j.calcLength)(t.y)}function q(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class _{constructor(){this.members=[]}add(t){(0,d.addUniqueItem)(this.members,t),t.scheduleRender()}remove(t){if((0,d.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var Z=t.i(52383),J=t.i(76673),Q=t.i(72696),tt=t.i(30177);let te={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ti="undefined"!=typeof window&&void 0!==window.MotionDebug,ts=["","X","Y","Z"],tr={visibility:"hidden"},tn=0;function to(t,e,i,s){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),s&&(s[t]=0))}function ta(t){let{attachResizeListener:e,defaultParent:i,measureScroll:s,checkIsScrollRoot:n,resetTransform:d}=t;return class{constructor(t={},e=null==i?void 0:i()){this.id=tn++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ti&&(te.totalNodes=te.resolvedTargetDeltas=te.recalculatedProjection=0),this.nodes.forEac
1h(th),this.nodes.forEach(tg),this.nodes.forEach(ty),this.nodes.forEach(tc),ti&&window.MotionDebug.record(te)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=e?e.root||e:this,this.path=e?[...e.path,e]:[],this.parent=e,this.depth=e?e.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new p)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new g.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t){for(var e=arguments.length,i=Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];let r=this.eventHandlers.get(t);r&&r.notify(...i)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.root.hasTreeAnimated;if(this.instance)return;this.isSVG=(0,c.isSVGElement)(t),this.instance=t;let{layoutId:s,layout:n,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(n||s)&&(this.isLayoutDirty=!0),e){let i,s=()=>this.root.updateBlockedByResize=!1;e(t,()=>{let t,e;this.root.updateBlockedByResize=!0,i&&i(),t=h.time.now(),e=i=>{let{timestamp:r}=i,n=r-t;n>=250&&((0,l.cancelFrame)(e),s(n-250))},l.frame.read(e,!0),i=()=>(0,l.cancelFrame)(e),tt.globalProjectionState.hasAnimatedSinceResize&&(tt.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(tv))})}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&o&&(s||n)&&this.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i,hasRelativeTargetChanged:s,layout:n}=t;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||o.getDefaultTransition()||tV,{onLayoutAnimationStart:l,onLayoutAnimationComplete:u}=o.getProps(),h=!this.targetLayout||!Y(this.targetLayout,n)||s,c=!i&&s;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||i&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);let t={...(0,r.getValueTransition)(a,"layout"),onPlay:l,onComplete:u};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else i||tv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,l.cancelFrame)(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(tx),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=(0,a.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",l.frame,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEac
1h(tm);return}this.isUpdating||this.nodes.forEach(tp),this.isUpdating=!1,this.nodes.forEach(tf),this.nodes.forEach(tl),this.nodes.forEach(tu),this.clearAllSnapshots();let t=h.time.now();l.frameData.delta=(0,f.clamp)(0,1e3/60,t-l.frameData.timestamp),l.frameData.timestamp=t,l.frameData.isProcessing=!0,l.frameSteps.update.process(l.frameData),l.frameSteps.preRender.process(l.frameData),l.frameSteps.render.process(l.frameData),l.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,u.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(td),this.sharedNodes.forEach(tT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,l.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){l.frame.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 t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,G.createBox)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!d)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!K(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,r=s!==this.prevTransformTemplateValue;t&&(e||(0,Q.hasTransform)(this.latestValues)||r)&&(d(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],i=this.measurePageBox(),s=this.removeElementScroll(i);return e&&(s=this.removeTransform(s)),tM((t=s).x),tM(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return(0,G.createBox)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(tD))){let{scroll:t}=this.root;t&&((0,F.translateAxis)(i.x,t.offset.x),(0,F.translateAxis)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,G.createBox)();if(k(i,t),null==(e=this.scroll)?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let s=this.path[e],{scroll:r,options:n}=s;s!==this.root&&r&&n.layoutScroll&&(r.wasRoot&&k(i,t),(0,F.translateAxis)(i.x,r.offset.x),(0,F.translateAxis)(i.y,r.offset.y))}return i}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=(0,G.createBox)();k(i,t);for(let t=0;t<this.path.length;t++){let s=this.path[t];!e&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(0,F.transformBox)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,Q.hasTransform)(s.latestValues)&&(0,F.transformBox)(i,s.latestValues)}return(0,Q.hasTransform)(this.latestValues)&&(0,F.transformBox)(i,this.latestValues),i}removeTransform(t){let e=(0,G.createBox)();k(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,Q.hasTransform)(i.latestValues))continue;(0,Q.hasScale)(i.latestValues)&&i.updateSnapshot();let s=(0,G.createBox)();k(s,i.measurePageBox()),$(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,Q.hasTransform)(this.latestValues)&&$(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}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}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==l.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){var t;let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==i;if(!(e||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(this.layout&&(r||n)){if(this.resolvedRelativeTargetAt=l.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,G.createBox)(),this.relativeTargetOrigin=(0,G.createBox)(),(0,j.calcRelativePosition)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),k(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,G.createBox)(),this.targetWithTransforms=(0,G.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,j.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):k(this.target,this.layout.layoutBox),(0,F.applyBoxDelta)(this.target,this.targetDelta)):k(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,G.createBox)(),this.relativeTargetOrigin=(0,G.createBox)(),(0,j.calcRelativePosition)(this.relativeTargetOrigin,this.target,t.target),k(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ti&&te.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,Q.hasScale)(this.parent.latestValues)||(0,Q.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,s=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(s=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(s=!1),this.resolvedRelativeTargetAt===l.frameData.timestamp&&(s=!1),s)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;k(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,F.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,G.createBox)());let{target:u}=e;if(!u){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(L(this.prevProjectionDelta.x,this.projectionDelta.x),L(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,j.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&q(this.projectionDelta.x,this.prevProjectionDelta.x)&&q(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),ti&&te.re
1calculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(null==(t=this.options.visualElement)||t.scheduleRender(),e){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,G.createDelta)(),this.projectionDelta=(0,G.createDelta)(),this.projectionDeltaWithTransform=(0,G.createDelta)()}setAnimationOrigin(t){let e,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this.snapshot,r=s?s.latestValues:{},n={...this.latestValues},o=(0,G.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let a=(0,G.createBox)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(tS));this.animationProgress=0,this.mixTargetDelta=i=>{let s=i/1e3;if(tP(o.x,t.x,s),tP(o.y,t.y,s),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,m,p,f,g;(0,j.calcRelativePosition)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),m=this.relativeTarget,p=this.relativeTargetOrigin,f=a,g=s,tb(m.x,p.x,f.x,g),tb(m.y,p.y,f.y,g),e&&(u=this.relativeTarget,d=e,z(u.x,d.x)&&z(u.y,d.y))&&(this.isProjectionDirty=!1),e||(e=(0,G.createBox)()),k(e,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,s,r,n){r?(t.opacity=(0,v.mixNumber)(0,void 0!==i.opacity?i.opacity:1,D(s)),t.opacityExit=(0,v.mixNumber)(void 0!==e.opacity?e.opacity:1,0,E(s))):n&&(t.opacity=(0,v.mixNumber)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,s));for(let r=0;r<w;r++){let n=`border${V[r]}Radius`,o=C(e,n),a=C(i,n);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||M(o)===M(a)?(t[n]=Math.max((0,v.mixNumber)(A(o),A(a),s),0),(S.percent.test(a)||S.percent.test(o))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,v.mixNumber)(e.rotate||0,i.rotate||0,s))}(n,r,this.latestValues,s,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,l.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=l.frame.update(()=>{tt.globalProjectionState.hasAnimatedSinceResize=!0,this.currentAnimation=(0,o.animateSingleValue)(0,1e3,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.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 t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:s,latestValues:r}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&tC(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,G.createBox)();let e=(0,j.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=(0,j.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}k(e,i),(0,F.transformBox)(e,r),(0,j.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new _),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}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.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null==(t=this.getStack())?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote(){let{needsReset:t,transition:e,preserveFollowOpacity:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=this.getStack();s&&s.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)}
1resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let s={};i.z&&to("z",t,s,this.animationValues);for(let e=0;e<ts.length;e++)to(`rotate${ts[e]}`,t,s,this.animationValues),to(`skew${ts[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return tr;let s={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=T(null==t?void 0:t.pointerEvents)||"",s.transform=r?r(this.latestValues,""):"none",s;let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=T(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,Q.hasTransform)(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let o=n.animationValues||n.latestValues;this.applyTransformsToTarget(),s.transform=function(t,e,i){let s="",r=t.x.translate/e.x,n=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((r||n||o)&&(s=`translate3d(${r}px, ${n}px, ${o}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:n,skewX:o,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),r&&(s+=`rotateX(${r}deg) `),n&&(s+=`rotateY(${n}deg) `),o&&(s+=`skewX(${o}deg) `),a&&(s+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(s+=`scale(${a}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),r&&(s.transform=r(o,s.transform));let{x:a,y:l}=this.projectionDelta;for(let t in s.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,n.animationValues?s.opacity=n===this?null!=(i=null!=(e=o.opacity)?e:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:s.opacity=n===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,Z.scaleCorrectors){if
1(void 0===o[t])continue;let{correct:e,applyTo:i}=Z.scaleCorrectors[t],r="none"===s.transform?o[t]:e(o[t],n);if(i){let t=i.length;for(let e=0;e<t;e++)s[i[e]]=r}else s[t]=r}return this.options.layoutId&&(s.pointerEvents=n===this?T(null==t?void 0:t.pointerEvents)||"":"none"),s}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(tm),this.root.sharedNodes.clear()}}}function tl(t){t.updateLayout()}function tu(t){var e;let i=(null==(e=t.resumeFrom)?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:s}=t.layout,{animationType:r}=t.options,n=i.source!==t.layout.source;"size"===r?(0,J.eachAxis)(t=>{let s=n?i.measuredBox[t]:i.layoutBox[t],r=(0,j.calcLength)(s);s.min=e[t].min,s.max=s.min+r}):tC(r,i.layoutBox,e)&&(0,J.eachAxis)(s=>{let r=n?i.measuredBox[s]:i.layoutBox[s],o=(0,j.calcLength)(e[s]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+o)});let o=(0,G.createDelta)();(0,j.calcBoxDelta)(o,e,i.layoutBox);let a=(0,G.createDelta)();n?(0,j.calcBoxDelta)(a,t.applyTransform(s,!0),i.measuredBox):(0,j.calcBoxDelta)(a,e,i.layoutBox);let l=!K(o),u=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:r,layout:n}=s;if(r&&n){let o=(0,G.createBox)();(0,j.calcRelativePosition)(o,i.layoutBox,r.layoutBox);let a=(0,G.createBox)();(0,j.calcRelativePosition)(a,e,n.layoutBox),Y(o,a)||(u=!0),s.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function th(t){ti&&te.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tc(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function td(t){t.clearSnapshot()}function tm(t){t.clearMeasurements()}function tp(t){t.isLayoutDirty=!1}function tf(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tv(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tg(t){t.resolveTargetDelta()}function ty(t){t.calcProjection()}function tx(t){t.resetSkewAndRotation()}function tT(t){t.removeLeadSnapshot()}function tP(t,e,i){t.translate=(0,v.mixNumber)(e.translate,0,i),t.scale=(0,v.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tb(t,e,i,s){t.min=(0,v.mixNumber)(e.min,i.min,s),t.max=(0,v.mixNumber)(e.max,i.max,s)}function tS(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tV={duration:.45,ease:[.4,0,.1,1]},tw=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tA=tw("applewebkit/")&&!tw("chrome/")?Math.round:n.noop;function tM(t){t.min=tA(t.min),t.max=tA(t.max)}function tC(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,j.isNear)(X(e),X(i),.2)}function tD(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}var tE=t.i(26368);let tR=ta({attachResizeListener:(t,e)=>(0,tE.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tB={current:void 0},tk=ta({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tB.current){let t=new tR({});t.mount(window),t.setOptions({layoutScroll:!0}),tB.current=t}return tB.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),tL={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tk,MeasureLayout:s.MeasureLayout}};t.s(["drag",()=>tL],46816);var tF=t.i(11129),tj=t.i(8648),tO=t.i(65536);function tI(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=s["onHover"+i];r&&l.frame.postRender(()=>r(e,(0,tO.extractEventInfo)(e)))}class tN extends tF.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=(0,tj.hover)(t,t=>(tI(this.node,t,"Start"),t=>tI(this.node,t,"End"))))}unmount(){}}var tU=tF,t$=t.i(459);class tG extends tU.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&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=(0,t$.pipe)((0,tE.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tE.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var tW=tF,tK=t.i(42269);function tz(t,e,i){let{props:s}=t;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=s["onTap"+("End"===i?"":i)];r&&l.frame.postRender(()=>r(e,(0,tO.extractEventInfo)(e)))}class tH extends tW.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=(0,tK.press)(t,t=>(tz(this.node,t,"Start"),(t,e)=>{let{success:i}=e;return tz(this.node,t,i?"End":"Cancel")}),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}var tY=tF;let tX=new WeakMap,tq=new WeakMap,t_=t=>{let e=tX.get(t.target);e&&e(t)}
1,tZ=t=>{t.forEach(t_)},tJ={some:0,all:1};class tQ extends tY.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:s,margin:r,amount:n="some",once:o}=i,a={root:s?s.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:tJ[n]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),r=e?i:s;r&&r(t)};return t=this.node.current,e=function(t){let{root:e,...i}=t,s=e||document;tq.has(s)||tq.set(s,{});let r=tq.get(s),n=JSON.stringify(i);return r[n]||(r[n]=new IntersectionObserver(tZ,{root:e,...i})),r[n]}(a),tX.set(t,l),e.observe(t),()=>{tX.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function(t){let{viewport:e={}}=t,{viewport:i={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=>e[t]!==i[t]}(t,e))&&this.startObserver()}unmount(){}}let t0={inView:{Feature:tQ},tap:{Feature:tH},focus:{Feature:tG},hover:{Feature:tN}};t.s(["gestureAnimations",()=>
1t0],8149);let t1={layout:{ProjectionNode:tk,MeasureLayout:s.MeasureLayout}};t.s(["layout",()=>t1],54292);let t3=(0,t.i(71645).createContext)({strict:!1});t.s(["LazyContext",()=>t3],48070)},88291,t=>{"use strict";let e=(0,t.i(71645).createContext)({});t.s(["MotionContext",()=>e])},98922,t=>{"use strict";var e=t.i(44974),i=t.i(42531),s=t.i(89607);function r(t){return(0,e.isAnimationControls)(t.animate)||s.variantProps.some(e=>(0,i.isVariantLabel)(t[e]))}function n(t){return!!(r(t)||t.variants)}t.s(["isControllingVariants",()=>r,"isVariantNode",()=>n])},82474,t=>{"use strict";var e=t.i(71645),i=t.i(88291),s=t.i(42531),r=t.i(98922);function n(t){let{initial:n,animate:a}=function(t,e){if((0,r.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,s.isVariantLabel)(e)?e:void 0,animate:(0,s.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e.useContext)(i.MotionContext));return(0,e.useMemo)(()=>({initial:n,animate:a}),[o(n),o(a)])}function o(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",()=>n],82474)},76948,t=>{"use strict";let e={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"]},i={};for(let t in e)i[t]={isEnabled:i=>e[t].some(t=>!!i[t])};t.s(["featureDefinitions",()=>i])},13565,21967,77188,t=>{"use strict";var e=t.i(76948);function i(t){for(let i in t)e.featureDefinitions[i]={...e.featureDefinitions[i],...t[i]}}t.s(["loadFeatures",()=>i],13565);let s=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",()=>s],21967);var r=t.i(71645),n=t.i(25522);function o(t,e,i){return(0,r.useCallback)(s=>{s&&t.onMount&&t.onMount(s),e&&(s?e.mount(s):e.unmount()),i&&("function"==typeof i?i(s):(0,n.isRefObject)(i)&&(i.current=s))},[e])}t.s(["useMotionRef",()=>o],77188)},36091,44966,t=>{"use strict";t.i(47167);var e=t.i(43476);t.i(5369);var i=t.i(71645),s=t.i(31178),r=t.i(48070),n=t.i(37806),o=t.i(88291),a=t.i(82474),l=t.i(92936),u=t.i(76948),h=t.i(13565),c=t.i(21967),d=t.i(77188),m=t.i(21476),p=t.i(74008),f=t.i(79386),v=t.i(30662),g=t.i(25522),y=t.i(4035);function x(t){var x,T;let{preloadedFeatures:P,createVisualElement:b,useRender:S,useVisualState:V,Component:w}=t;function A(t,h){let c,x={...(0,i.useContext)(n.MotionConfigContext),...t,layoutId:function(t){let{layoutId:e}=t,r=(0,i.useContext)(s.LayoutGroupContext).id;return r&&void 0!==e?r+"-"+e:e}(t)},{isStatic:T}=x,P=(0,a.useCreateMotionContext)(t),A=V(t,T);if(!T&&l.isBrowser){(0,i.useContext)(r.LazyContext).strict;let t=function(t){let{drag:e,layout:i}=u.featureDefinitions;if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(x);c=t.MeasureLayout,P.visualElement=function(t,e,s,a,l){var u,h;let{visualElement:c}=(0,i.useContext)(o.MotionContext),d=(0,i.useContext)(r.LazyContext),x=(0,i.useContext)(m.PresenceContext),T=(0,i.useContext)(n.MotionConfigContext).reducedMotion,P=(0,i.useRef)(null);a=a||d.renderer,!P.current&&a&&(P.current=a(t,{visualState:e,parent:c,props:s,presenceContext:x,blockInitialAnimation:!!x&&!1===x.initial,reducedMotionConfig:T}));let b=P.current,S=(0,i.useContext)(y.SwitchLayoutGroupContext);b&&!b.projection&&l&&("html"===b.type||"svg"===b.type)&&function(t,e,i,s){let{layoutId:r,layout:n,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:n,alwaysMeasureLayout:!!o||a&&(0,g.isRefObject)(a),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:u})}(P.current,s,l,S);let V=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{b&&V.current&&b.update(s,x)});let w=s[f.optimizedAppearDataAttribute],A=(0,i.useRef)(!!w&&!(null==(u=window.MotionHandoffIsComplete)?void 0:u.call(window,w))&&(null==(h=window.MotionHasOptimisedAnimation)?void 0:h.call(window,w)));return(0,p.useIsomorphicLayoutEffect)(()=>{b&&(V.current=!0,window.MotionIsMounted=!0,b.updateFeatures(),v.microtask.render(b.render),A.current&&b.animationState&&b.animationState.animateChanges())}),(0,i.useEffect)(()=>{b&&(!A.current&&b.animationState&&b.animationState.animateChanges(),A.current&&(queueMicrotask(()=>{var t;null==(t=window.MotionHandoffMarkAsComplete)||t.call(window,w)}),A.current=!1))}),b}(w,A,x,b,t.ProjectionNode)}return(0,e.jsxs)(o.MotionContext.Provider,{value:P,children:[c&&P.visualElement?(0,e.jsx)(c,{visualElement:P.visualElement,...x}):null,S(w,t,(0,d.useMotionRef)(A,P.visualElement,h),A,T,P.visualElement)]})}P&&(0,h.loadFeatures)(P),A.displayName=`motion.${"string"==typeof w?w:`create(${null!=(T=null!=(x=w.displayName)?x:w.name)?T:""})`}`;let M=(0,i.forwardRef)(A);return M[c.motionComponentSymbol]=w,M}t.s(["createRendererMotionComponent",()=>x],36091);let T=["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 P(t){if("string"!=typeof t||t.includes("-"));else if(T.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",()=>P],44966)},97044,t=>{"use strict";var e=t.i(71645),i=t.i(44974),s=t.i(88291),r=t.i(21476),n=t.i(98922),o=t.i(43190),a=t.i(47414),l=t.i(28987);let u=t=>(u,h)=>{let c=(0,e.useContext)(s.MotionContext),d=(0,e.useContext)(r.PresenceContext),m=()=>(function(t,e,s,r){let{scrapeMotionValuesFromProps:a,createRenderState:u,onUpdate:h}=t,c={latestValues:function(t,e,s,r){let a={},u=r(t,{});for(let t in u)a[t]=(0,l.resolveMotionValue)(u[t]);let{initial:h,animate:c}=t,d=(0,n.isControllingVariants)(t),m=(0,n.isVariantNode)(t);e&&m&&!d&&!1!==t.inherit&&(void 0===h&&(h=e.initial),void 0===c&&(c=e.animate));let p=!!s&&!1===s.initial,f=(p=p||!1===h)?c:h;if(f&&"boolean"!=typeof f&&!(0,i.isAnimationControls)(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let s=(0,o.resolveVariantFromProps)(t,e[i]);if(s){let{transitionEnd:t,transition:e,...i}=s;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=p?e.length-1:0;e=e[t]}null!==e&&(a[t]=e)}for(let e in t)a[e]=t[e]}}}return a}(e,s,r,a),renderState:u()};return h&&(c.onMount=t=>h({props:e,current:t,...c}),c.onUpdate=t=>h(t)),c})(t,u,c,d);return h?m():(0,a.useConstant)(m)};t.s(["makeUseVisualState",()=>u])},33203,58768,t=>{"use strict";var e=t.i(70272);let i=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var s=t.i(19548),r=t.i(81384);let n={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o=r.transformPropOrder.length;function a(t,a,l){let{style:u,vars:h,transformOrigin:c}=t,d=!1,m=!1;for(let t in a){let n=a[t];if(r.transformProps.has(t)){d=!0;continue}if((0,e.isCSSVariableName)(t)){h[t]=n;continue}{let e=i(n,s.numberValueTypes[t]);t.startsWith("origin")?(m=!0,c[t]=e):u[t]=e}}if(!a.transform&&(d||l?u.transform=function(t,e,a){let l="",u=!0;for(let h=0;h<o;h++){let o=r.transformPropOrder[h],c=t[o];if(void 0===c)continue;let d=!0;if(!(d="number"==typeof c?c===+!!o.startsWith("scale"):0===parseFloat(c))||a){let t=i(c,s.numberValueTypes[o]);if(!d){u=!1;let e=n[o]||o;l+=`${e}(${t}) `}a&&(e[o]=t)}}return l=l.trim(),a?l=a(e,u?"":l):u&&(l="none"),l}(a,t.transform,l):u.transform&&(u.transform="none")),m){let{originX:t="50%",originY:e="50%",originZ:i=0}=c;u.transformOrigin=`${t} ${e} ${i}`}}t.s(["buildHTMLStyles",()=>a],58768);
1var l=t.i(42308);let u={offset:"stroke-dashoffset",array:"stroke-dasharray"},h={offset:"strokeDashoffset",array:"strokeDasharray"};function c(t,e,i){return"string"==typeof t?t:l.px.transform(e+i*t)}function d(t,e,i,s){let r,n,{attrX:o,attrY:d,attrScale:m,originX:p,originY:f,pathLength:v,pathSpacing:g=1,pathOffset:y=0,...x}=e;if(a(t,x,s),i){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:T,style:P,dimensions:b}=t;T.transform&&(b&&(P.transform=T.transform),delete T.transform),b&&(void 0!==p||void 0!==f||P.transform)&&(r=c(void 0!==p?p:.5,b.x,b.width),n=c(void 0!==f?f:.5,b.y,b.height),P.transformOrigin=`${r} ${n}`),void 0!==o&&(T.x=o),void 0!==d&&(T.y=d),void 0!==m&&(T.scale=m),void 0!==v&&function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=!(arguments.length>4)||void 0===arguments[4]||arguments[4];t.pathLength=1;let n=r?u:h;t[n.offset]=l.px.transform(-s);let o=l.px.transform(e),a=l.px.transform(i);t[n.array]=`${o} ${a}`}(T,v,g,y,!1)}t.s(["buildSVGAttrs",()=>d],33203)},11587,86549,t=>{"use strict";let e=()=>({style:{},transform:{},transformOrigin:{},vars:{}});t.s(["createHtmlRenderState",()=>e],86549);let i=()=>({...e(),attrs:{}});t.s(["createSvgRenderState",()=>i],11587)},50514,3267,t=>{"use strict";let e=t=>"string"==typeof t&&"svg"===t.toLowerCase();function i(t,e,i,s){let{style:r,vars:n}=e;for(let e in Object.assign(t.style,r,s&&s.getProjectionStyles(i)),n)t.style.setProperty(e,n[e])}t.s(["isSVGTag",()=>e],50514),t.s(["renderHTML",()=>i],3267)},39535,t=>{"use strict";let e=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"]);t.s(["camelCaseAttributes",()=>e])},97823,t=>{"use strict";var e=t.i(64600),i=t.i(3267),s=t.i(39535);function r(t,r,n,o){for(let n in(0,i.renderHTML)(t,r,void 0,o),r.attrs)t.setAttribute(s.camelCaseAttributes.has(n)?n:(0,e.camelToDash)(n),r.attrs[n])}t.s(["renderSVG",()=>r])},25954,19026,32313,t=>{"use strict";var e=t.i(98549),i=t.i(81384),s=t.i(52383);function r(t,e){let{layout:r,layoutId:n}=e;return i.transformProps.has(t)||t.startsWith("origin")||(r||void 0!==n)&&(!!s.scaleCorrectors[t]||"opacity"===t)}function n(t,i,s){var n;let{style:o}=t,a={};for(let l in o)((0,e.isMotionValue)(o[l])||i.style&&(0,e.isMotionValue)(i.style[l])||r(l,t)||(null==(n=null==s?void 0:s.getValue(l))?void 0:n.liveStyle)!==void 0)&&(a[l]=o[l]);return a}function o(t,s,r){let o=n(t,s,r);for(let r in t)((0,e.isMotionValue)(t[r])||(0,e.isMotionValue)(s[r]))&&(o[-1!==i.transformPropOrder.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return o}t.s(["isForcedMotionValue",()=>r],19026),t.s(["scrapeMotionValuesFromProps",()=>n],32313),t.s(["scrapeMotionValuesFromProps",()=>o],25954)},50333,t=>{"use strict";var e,i=t.i(36091),s=t.i(44966),r=t.i(28327),n=t.i(97044),o=t.i(81384),a=t.i(33203),l=t.i(11587),u=t.i(50514),h=t.i(97823),c=t.i(25954);let d=["x","y","width","height","cx","cy","r"],m={useVisualState:(0,n.makeUseVisualState)({scrapeMotionValuesFromProps:c.scrapeMotionValuesFromProps,createRenderState:l.createSvgRenderState,onUpdate:t=>{let{props:e,prevProps:i,current:s,renderState:n,latestValues:l}=t;if(!s)return;let c=!!e.drag;if(!c){for(let t in l)if(o.transformProps.has(t)){c=!0;break}}if(!c)return;let m=!i;if(i)for(let t=0;t<d.length;t++){let s=d[t];e[s]!==i[s]&&(m=!0)}m&&r.frame.read(()=>{try{n.dimensions="function"==typeof s.getBBox?s.getBBox():s.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}r.frame.render(()=>{(0,a.buildSVGAttrs)(n,l,(0,u.isSVGTag)(s.tagName),e.transformTemplate),(0,h.renderSVG)(s,n)})})}})};var p=t.i(32313),f=t.i(86549);let v={useVisualState:(0,n.makeUseVisualState)({scrapeMotionValuesFromProps:p.scrapeMotionValuesFromProps,createRenderState:f.createHtmlRenderState})};var g=t.i(71645),y=t.i(19026),x=t.i(98549),T=t.i(58768);
1function P(t,e,i){for(let s in e)(0,x.isMotionValue)(e[s])||(0,y.isForcedMotionValue)(s,i)||(t[s]=e[s])}let b=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function S(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||b.has(t)}let V=t=>!S(t);try{(e=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default)&&(V=t=>t.startsWith("on")?!S(t):e(t))}catch(t){}function w(t,e){return function(r){let{forwardMotionProps:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{forwardMotionProps:!1},o={...(0,s.isSVGComponent)(r)?m:v,preloadedFeatures:t,useRender:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(e,i,r,n,o)=>{let{latestValues:h}=n,c=((0,s.isSVGComponent)(e)?function(t,e,i,s){let r=(0,g.useMemo)(()=>{let i=(0,l.createSvgRenderState)();return(0,a.buildSVGAttrs)(i,e,(0,u.isSVGTag)(s),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};P(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,s,r={},n=(i=t.style||{},P(s={},i,t),Object.assign(s,function(t,e){let{transformTemplate:i}=t;return(0,g.useMemo)(()=>{let t=(0,f.createHtmlRenderState)();return(0,T.buildHTMLStyles)(t,e,i),Object.assign({},t.vars,t.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=n,r})(i,h,o,e),d=function(t,e,i){let s={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(V(r)||!0===i&&S(r)||!e&&!S(r)||t.draggable&&r.startsWith("onDrag"))&&(s[r]=t[r]);return s}(i,"string"==typeof e,t),m=e!==g.Fragment?{...d,...c,ref:r}:{},{children:p}=i,v=(0,g.useMemo)(()=>(0,x.isMotionValue)(p)?p.get():p,[p]);return(0,g.createElement)(e,{...m,children:v})}}(n),createVisualElement:e,Component:r};return(0,i.createRendererMotionComponent)(o)}}t.s(["createMotionComponentFactory",()=>w],50333)},22875,96097,87320,t=>{"use strict";var e=t.i(92936);let i={current:null},s={current:!1};function r(){if(s.current=!0,e.isBrowser)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>i.current=t.matches;t.addListener(e),e()}else i.current=!1}t.s(["hasReducedMotionListener",()=>s,"prefersReducedMotion",()=>i],96097),t.s(["initPrefersReducedMotion",()=>r],22875);var n=t.i(30801),o=t.i(2254),a=t.i(70170),l=t.i(23016);let u=[...a.dimensionValueTypes,n.color,o.complex],h=t=>u.find((0,l.testValueType)(t));t.s(["findValueType",()=>h],87320)},92968,t=>{"use strict";let e=new WeakMap;t.s(["visualElementStore",()=>e])},540,57036,t=>{"use strict";t.i(47167);var e=t.i(67406),i=t.i(76948),s=t.i(81699),r=t.i(58213),n=t.i(69175),o=t.i(22875),a=t.i(96097),l=t.i(74015),u=t.i(71329),h=t.i(2254),c=t.i(98549),d=t.i(73464),m=t.i(87320),p=t.i(81384),f=t.i(92968),v=t.i(98922),g=t.i(48838),y=t.i(43190),x=t.i(28327);let T=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class P{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:i,presenceContext:s,reducedMotionConfig:r,blockInitialAnimation:n,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=g.KeyframeResolver,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.renderScheduledAt=0,this.scheduleRender=()=>{let t=e.time.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,x.frame.render(this.render,!1,!0))};const{latestValues:l,renderState:u,onUpdate:h}=o;this.onUpdate=h,this.latestValues=l,this.baseTarget={...l},this.initialValues=i.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=i,this.presenceContext=s,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.blockInitialAnimation=!!n,this.isControllingVariants=(0,v.isControllingVariants)(i),this.isVariantNode=(0,v.isVariantNode)(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...m}=this.scrapeMotionValuesFromProps(i,{},this);for(const t in m){const e=m[t];void 0!==l[t]&&(0,c.isMotionValue)(e)&&e.set(l[t],!1)}}mount(t){this.current=t,f.visualElementStore.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((t,e)=>this.bindToMotionValue(e,t)),a.hasReducedMotionListener.current||(0,o.initPrefersReducedMotion)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||a.prefersReducedMotion.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in f.visualElementStore.delete(this.current),this.projection&&this.projection.unmount(),(0,x.cancelFrame)(this.notifyUpdate),(0,x.cancelFrame)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let s=p.transformProps.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&x.frame.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),n=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in i.featureDefinitions){let e=i.featureDefinitions[t];if(!e)continue;let{isEnabled:s,Feature:r}=e;if(!this.features[t]&&r&&s(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,s.createBox)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<T.length;e++){let i=T[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(t,e,i){for(let s in e){let r=e[s],n=i[s];if((0,c.isMotionValue)(r))t.addValue(s,r);else if((0,c.isMotionValue)(n))t.addValue(s,(0,u.motionValue)(r,{owner:t}));else if(n!==r)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(s);t.addValue(s,(0,u.motionValue)(void 0!==e?e:r,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);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=(0,u.motionValue)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let s=void 0===this.latestValues[t]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,t))?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=s&&("string"==typeof s&&((0,r.isNumericalString)(s)||(0,n.isZeroValueString)(s))?s=parseFloat(s):!(0,m.findValueType)(s)&&h.complex.test(e)&&(s=(0,d.getAnimatableNone)(t,e)),this.setBaseTarget(t,(0,c.isMotionValue)(s)?s.get():s)),(0,c.isMotionValue)(s)?s.get():s}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i,{initial:s}=this.props;if("string"==typeof s||"object"==typeof s){let r=(0,y.resolveVariantFromProps)(this.props,s,null==(e=this.presenceContext)?void 0:e.custom);r&&(i=r[t])}if(s&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,c.isMotionValue)(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new l.SubscriptionManager),this.events[t].add(e)}notify(t){for(var e=arguments.length,i=Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];this.events[t]&&this.events[t].notify(...i)}}t.s(["VisualElement",()=>P],57036);var b=t.i(35902);class S extends P{constructor(){super(...arguments),this.KeyframeResolver=b.DOMKeyframesResolver}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,e){let{vars:i,style:s}=e;delete i[t],delete s[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,c.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}t.s(["DOMVisualElement",()=>
1S],540)},57044,t=>{"use strict";var e=t.i(45504),i=t.i(540),s=t.i(70272),r=t.i(26553),n=t.i(58768),o=t.i(81384),a=t.i(3267),l=t.i(32313);class u extends i.DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=a.renderHTML}readValueFromInstance(t,e){if(o.transformProps.has(e)){let t=(0,r.getDefaultValueType)(e);return t&&t.default||0}{let i=window.getComputedStyle(t),r=((0,s.isCSSVariableName)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,i){let{transformPagePoint:s}=i;return(0,e.measureViewportBox)(t,s)}build(t,e,i){(0,n.buildHTMLStyles)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,l.scrapeMotionValuesFromProps)(t,e,i)}}t.s(["HTMLVisualElement",()=>u])},78310,t=>{"use strict";var e=t.i(81699),i=t.i(540),s=t.i(64600),r=t.i(26553),n=t.i(81384),o=t.i(33203),a=t.i(39535),l=t.i(50514),u=t.i(97823),h=t.i(25954);class c extends i.DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=e.createBox}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.transformProps.has(e)){let t=(0,r.getDefaultValueType)(e);return t&&t.default||0}return e=a.camelCaseAttributes.has(e)?e:(0,s.camelToDash)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,h.scrapeMotionValuesFromProps)(t,e,i)}build(t,e,i){(0,o.buildSVGAttrs)(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,s){(0,u.renderSVG)(t,e,i,s)}mount(t){this.isSVGTag=(0,l.isSVGTag)(t.tagName),super.mount(t)}}t.s(["SVGVisualElement",()=>c])},46932,t=>{"use strict";var e=t.i(7051),i=t.i(23070),s=t.i(46816),r=t.i(8149),n=t.i(54292),o=t.i(50333),a=t.i(71645),l=t.i(57044),u=t.i(78310),h=t.i(44966);let c=(0,o.createMotionComponentFactory)({...i.animations,...r.gestureAnimations,...s.drag,...n.layout},(t,e)=>(0,h.isSVGComponent)(t)?new u.SVGVisualElement(e):new l.HTMLVisualElement(e,{allowProjection:t!==a.Fragment})),d=(0,e.createDOMMotionComponentProxy)(c);t.s(["motion",()=>d],46932)}]);

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.