PageSourceSearch

https://advertising.inmobi.com/_next/static/chunks/3941-b0b3d3c8feeb0e26.js

js inmobi.com collected 2026-10-01 08:44:11 UTC 148,099 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3941],{50:(t,e,n)=>{"use strict";n.d(e,{Gt:()=>o,PP:()=>l,WG:()=>r,uv:()=>a});var i=n(620),s=n(6845);const{schedule:o,cancel:r,state:a,steps:l}=(0,s.I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.l,!0)},373:(t,e,n)=>{"use strict";function i(t,e,n){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let i=document;e&&(i=e.current);const s=n?.[t]??i.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t).filter(t=>null!=t)}n.d(e,{K:()=>i})},462:(t,e,n)=>{"use strict";n.d(e,{P:()=>s});var i=n(736);function s(t){return t.props[i.n]}},508:(t,e,n)=>{"use strict";n.d(e,{W:()=>r});var i=n(4232),s=n(373);const o={some:0,all:1};function r(t,{root:e,margin:n,amount:r,once:a=!1,initial:l=!1}={}){const[c,u]=(0,i.useState)(l);return(0,i.useEffect)(()=>{if(!t.current||a&&c)return;const i={root:e&&e.current||void 0,margin:n,amount:r};return function(t,e,{root:n,margin:i,amount:r="some"}={}){const a=(0,s.K)(t),l=new WeakMap,c=new IntersectionObserver(t=>{t.forEach(t=>{const n=l.get(t.target);if(t.isIntersecting!==Boolean(n))if(t.isIntersecting){const n=e(t.target,t);"function"==typeof n?l.set(t.target,n):c.unobserve(t.target)}else"function"==typeof n&&(n(t),l.delete(t.target))})},{root:n,rootMargin:i,threshold:"number"==typeof r?r:o[r]});return a.forEach(t=>c.observe(t)),()=>c.disconnect()}(t.current,()=>(u(!0),a?void 0:()=>u(!1)),i)},[e,t,n,a,r]),c}},514:(t,e,n)=>{"use strict";n.d(e,{a:()=>i});const i=t=>Math.round(1e5*t)/1e5},570:(t,e,n)=>{"use strict";n.d(e,{c:()=>o,k:()=>s});var i=n(6845);const{schedule:s,cancel:o}=(0,i.I)(queueMicrotask,!1)},620:(t,e,n)=>{"use strict";n.d(e,{l:()=>i});const i=t=>t},630:(t,e,n)=>{"use strict";n.d(e,{f:()=>i});const i=(t,e)=>e?t*(1e3/e):0},676:(t,e,n)=>{"use strict";n.d(e,{L:()=>Z});var i=n(3903),s=n(570),o=n(9739),r=n(7605),a=n(4232),l=n(620),c=n(50);function u(t,e){let n;const i=()=>{const{currentTime:i}=e,s=(null===i?0:i.value)/100;n!==s&&t(s),n=s};return c.Gt.preUpdate(i,!0),()=>(0,c.WG)(i)}function h(t){return"undefined"!=typeof window&&(t?(0,o.d)():(0,o.J)())}var d=n(9280),p=n(2589),m=n(630);const f=50,g=()=>({time:0,x:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0},y:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}}),y={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function v(t,e,n,i){const s=n[e],{length:o,position:r}=y[e],a=s.current,l=n.time;s.current=Math.abs(t[`scroll${r}`]),s.scrollLength=t[`scroll${o}`]-t[`client${o}`],s.offset.length=0,s.offset[0]=0,s.offset[1]=s.scrollLength,s.progress=(0,p.q)(0,s.scrollLength,s.current);const c=i-l;s.velocity=c>f?0:(0,m.f)(s.current-a,c)}var x=n(1574),w=n(4384),S=n(2679),b=n(7990);const T={start:0,center:.5,end:1};function P(t,e,n=0){let i=0;if(t in T&&(t=T[t]),"string"==typeof t){const e=parseFloat(t);t.endsWith("px")?i=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?i=e/100*document.documentElement.clientWidth:t.endsWith("vh")?i=e/100*document.documentElement.clientHeight:t=e}return"number"==typeof t&&(i=e*t),n+i}const E=[0,0];function A(t,e,n,i){let s=Array.isArray(t)?t:E,o=0,r=0;return"number"==typeof t?s=[t,t]:"string"==typeof t&&(s=(t=t.trim()).includes(" ")?t.split(" "):[t,T[t]?t:"0"]),o=P(s[0],n,i),r=P(s[1],e),o-r}const k={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},M={x:0,y:0};function C(t,e,n){const{offset:i=k.All}=n,{target:s=t,axis:o="y"}=n,r="y"===o?"height":"width",a=s!==t?function(t,e){const n={x:0,y:0};let i=t;for(;i&&i!==e;)if((0,b.s)(i))n.x+=i.offsetLeft,n.y+=i.offsetTop,i=i.offsetParent;else if("svg"===i.tagName){const t=i.getBoundingClientRect();i=i.parentElement;const e=i.getBoundingClientRect();n.x+=t.left-e.left,n.y+=t.top-e.top}else{if(!(i instanceof SVGGraphicsElement))break;{const{x:t,y:e}=i.getBBox();n.x+=t,n.y+=e;let s=null,o=i.parentNode;for(;!s;)"svg"===o.tagName&&(s=o),o=i.parentNode;i=s}}return n}(s,t):M,l=s===t?{width:t.scrollWidth,height:t.scrollHeight}:function(t){return"getBBox"in t&&"svg"!==t.tagName?t.getBBox():{width:t.clientWidth,height:t.clientHeight}}(s),c={width:t.clientWidth,height:t.clientHeight};e[o].offset.length=0;let u=!e[o].interpolate;const h=i.length;for(let t=0;t<h;t++){const n=A(i[t],c[r],l[r],a[o]);
1u||n===e[o].interpolatorOffsets[t]||(u=!0),e[o].offset[t]=n}u&&(e[o].interpolate=(0,x.G)(e[o].offset,(0,w.Z)(i),{clamp:!1}),e[o].interpolatorOffsets=[...e[o].offset]),e[o].progress=(0,S.q)(0,1,e[o].interpolate(e[o].current))}function V(t,e,n,i={}){return{measure:e=>{!function(t,e=t,n){if(n.x.targetOffset=0,n.y.targetOffset=0,e!==t){let i=e;for(;i&&i!==t;)n.x.targetOffset+=i.offsetLeft,n.y.targetOffset+=i.offsetTop,i=i.offsetParent}n.x.targetLength=e===t?e.scrollWidth:e.clientWidth,n.y.targetLength=e===t?e.scrollHeight:e.clientHeight,n.x.containerLength=t.clientWidth,n.y.containerLength=t.clientHeight}(t,i.target,n),function(t,e,n){v(t,"x",e,n),v(t,"y",e,n),e.time=n}(t,n,e),(i.offset||i.target)&&C(t,n,i)},notify:()=>e(n)}}const D=new WeakMap,L=new WeakMap,R=new WeakMap,j=new WeakMap,B=new WeakMap,O=t=>t===document.scrollingElement?window:t;function I(t,{container:e=document.scrollingElement,trackContentSize:n=!1,...i}={}){if(!e)return l.l;let s=R.get(e);s||(s=new Set,R.set(e,s));const o=g(),r=V(e,t,o,i);if(s.add(r),!D.has(e)){const t=()=>{for(const t of s)t.measure(c.uv.timestamp);c.Gt.preUpdate(n)},n=()=>{for(const t of s)t.notify()},i=()=>c.Gt.read(t);D.set(e,i);const o=O(e);window.addEventListener("resize",i),e!==document.documentElement&&L.set(e,(0,d.X)(e,i)),o.addEventListener("scroll",i),i()}if(n&&!B.has(e)){const t=D.get(e),n={width:e.scrollWidth,height:e.scrollHeight};j.set(e,n);const i=()=>{const i=e.scrollWidth,s=e.scrollHeight;n.width===i&&n.height===s||(t(),n.width=i,n.height=s)},s=c.Gt.read(i,!0);B.set(e,s)}const a=D.get(e);return c.Gt.read(a,!1,!0),()=>{(0,c.WG)(a);const t=R.get(e);if(!t)return;if(t.delete(r),t.size)return;const n=D.get(e);D.delete(e),n&&(O(e).removeEventListener("scroll",n),L.get(e)?.(),window.removeEventListener("resize",n));const i=B.get(e);i&&((0,c.WG)(i),B.delete(e)),j.delete(e)}}const F=[[k.Enter,"entry"],[k.Exit,"exit"],[k.Any,"cover"],[k.All,"contain"]],W={start:0,end:1};function U(t){const e=t.trim().split(/\s+/);if(2!==e.length)return;const n=W[e[0]],i=W[e[1]];return void 0!==n&&void 0!==i?[n,i]:void 0}function G(t,e){const n=function(t){if(2!==t.length)return;const e=[];for(const n of t)if(Array.isArray(n))e.push(n);else{if("string"!=typeof n)return;{const t=U(n);if(!t)return;e.push(t)}}return e}(t);if(!n)return!1;for(let t=0;t<2;t++){const i=n[t],s=e[t];if(i[0]!==s[0]||i[1]!==s[1])return!1}return!0}function N(t){if(!t)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[e,n]of F)if(G(t,e))return{rangeStart:`${n} 0%`,rangeEnd:`${n} 100%`}}const X=new Map;function $(t){const e={value:0},n=I(n=>{e.value=100*n[t.axis].progress},t);return{currentTime:e,cancel:n}}function K({source:t,container:e,...n}){const{axis:i}=n;t&&(e=t);let s=X.get(e);s||(s=new Map,X.set(e,s));const o=n.target??"self";let r=s.get(o);r||(r={},s.set(o,r));const a=i+(n.offset??[]).join(",");if(!r[a])if(n.target&&h(n.target)){const t=N(n.offset);r[a]=t?new ViewTimeline({subject:n.target,axis:i}):$({container:e,...n})}else h()?r[a]=new ScrollTimeline({source:e,axis:i}):r[a]=$({container:e,...n});return r[a]}function H(t,{axis:e="y",container:n=document.scrollingElement,...i}={}){if(!n)return l.l;const s={axis:e,container:n,...i};return"function"==typeof t?function(t,e){return function(t){return 2===t.length}(t)||function(t){return t&&(t.target||t.offset)}(e)?I(n=>{t(n[e.axis].progress,n)},e):u(t,K(e))}(t,s):function(t,e){const n=K(e),i=e.target?N(e.offset):void 0,s=e.target?h(e.target)&&!!i:h();return t.attachTimeline({timeline:s?n:void 0,...i&&s&&{rangeStart:i.rangeStart,rangeEnd:i.rangeEnd},observe:t=>(t.pause(),u(e=>{t.time=t.iterationDuration*e},n))})}(t,s)}var z=n(1200),q=n(4896);const Y=()=>({scrollX:(0,i.OQ)(0),scrollY:(0,i.OQ)(0),scrollXProgress:(0,i.OQ)(0),scrollYProgress:(0,i.OQ)(0)}),_=t=>!!t&&!t.current;function Q(t,e,n,i){return{factory:o=>{let r;const a=()=>{_(n)||_(i)?s.k.read(a):r=H(o,{...e,axis:t,container:n?.current||void 0,target:i?.current||void 0})};return s.k.read(a),()=>{(0,s.c)(a),r?.()}},times:[0,1],keyframes:[0,1],ease:t=>t,duration:1}}function Z({container:t,target:e,...n}={}){const i=(0,z.M)(Y);(function(t,e){return"undefined"!=typeof window&&(t?(0,o.d)()&&!!N(e):(0,o.J)())})(e,n.offset)&&(i.scrollXProgress.accelerate=Q("x",n,t,e),i.scrollYProgress.accelerate=Q("y",n,t,e));const l=(0,a.useRef)(null),c=(0,a.useRef)(!1),u=(0,a.useCallback)(()=>(l.current=H((t,{x:e,y:n})=>{i.scrollX.set(e.current),i.scrollXProgress.set(e.progress),i.scrollY.set(n.current),i.scrollYProgress.set(n.progress)}
1,{...n,container:t?.current||void 0,target:e?.current||void 0}),()=>{l.current?.()}),[t,e,JSON.stringify(n.offset)]);return(0,q.E)(()=>(c.current=!1,_(t)||_(e)?void(c.current=!0):u()),[u]),(0,a.useEffect)(()=>{if(!c.current)return;let n;const i=()=>{const i=_(t),s=_(e);(0,r.V)(!i,"Container ref is defined but not hydrated","use-scroll-ref"),(0,r.V)(!s,"Target ref is defined but not hydrated","use-scroll-ref"),i||s||(n=u())};return s.k.read(i),()=>{(0,s.c)(i),n?.()}},[u]),i}},736:(t,e,n)=>{"use strict";n.d(e,{n:()=>i});const i="data-"+(0,n(9098).I)("framerAppearId")},810:(t,e,n)=>{"use strict";n.d(e,{m:()=>v});var i=n(7605),s=n(1750),o=n(620),r=n(5965),a=n(9739),l=n(6711),c=n(5063),u=n(1252);const h=(0,n(7673).J)(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var d=n(8038);const p=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,m={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:p([0,.65,.55,1]),circOut:p([.55,0,1,.45]),backIn:p([.31,.01,.66,-.59]),backOut:p([.33,1.53,.69,.99])};function f(t,e){return t?"function"==typeof t?h()?(0,d.K)(t,e):"ease-out":(0,u.D)(t)?p(t):Array.isArray(t)?t.map(t=>f(t,e)||m.easeOut):m[t]:void 0}function g(t,e,n,{delay:i=0,duration:s=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[e]:n};l&&(u.offset=l);const h=f(a,s);Array.isArray(h)&&(u.easing=h);const d={delay:i,duration:s,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:o+1,direction:"reverse"===r?"alternate":"normal"};return c&&(d.pseudoElement=c),t.animate(u,d)}var y=n(5609);class v extends c.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:n,keyframes:s,pseudoElement:o,allowFlatten:a=!1,finalKeyframe:c,onComplete:u}=t;this.isPseudoElement=Boolean(o),this.allowFlatten=a,this.options=t,(0,i.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const d=function({type:t,...e}){return(0,y.W)(t)&&h()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=g(e,n,s,d,o),!1===d.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const t=(0,l.X)(s,this.options,c,this.speed);this.updateMotionValue&&this.updateMotionValue(t),(0,r.e)(e,n,t),this.animation.cancel()}u?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,s.X)(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+(0,s.X)(t)}get time(){return(0,s.X)(Number(this.animation.currentTime)||0)}set time(t){const e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,s.f)(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:n,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,a.J)()?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),n&&(this.animation.rangeEnd=n),o.l):i(this)}}},879:(t,e,n)=>{"use strict";n.d(e,{$:()=>o,q:()=>r});var i=n(1923);const s=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,o=(t,e)=>n=>Boolean("string"==typeof n&&s.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),r=(t,e,n)=>s=>{if("string"!=typeof s)return s;const[o,r,a,l]=s.match(i.S);return{[t]:parseFloat(o),[e]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},943:(t,e,n)=>{"use strict";n.d(e,{G:()=>i});const i=t=>e=>1-t(1-e)},1200:(t,e,n)=>{"use strict";n.d(e,{M:()=>s});var i=n(4232);function s(t){const e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},1252:(t,e,n)=>{"use strict";n.d(e,{D:()=>i});const i=t=>Array.isArray(t)&&"number"==typeof t[0]},1402:(t,e,n)=>{"use strict";n.d(e,{u:()=>s});var i=n(1435);const s={test:(0,n(879).$)("#"),parse:function(t){let e="",n="",i="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,i+=i,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alph
1a:s?parseInt(s,16)/255:1}},transform:i.B.transform}},1435:(t,e,n)=>{"use strict";n.d(e,{B:()=>l});var i=n(2679),s=n(6882),o=n(514),r=n(879);const a={...s.ai,transform:t=>Math.round((t=>(0,i.q)(0,255,t))(t))},l={test:(0,r.$)("rgb","red"),parse:(0,r.q)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(n)+", "+(0,o.a)(s.X4.transform(i))+")"}},1464:(t,e,n)=>{"use strict";n.d(e,{p:()=>i});const i=t=>Array.isArray(t)},1574:(t,e,n)=>{"use strict";n.d(e,{G:()=>u});var i=n(5073),s=n(620),o=n(1784),r=n(7605),a=n(2589),l=n(2679),c=n(6751);function u(t,e,{clamp:n=!0,ease:u,mixer:h}={}){const d=t.length;if((0,r.V)(d===e.length,"Both input and output ranges must be the same length","range-length"),1===d)return()=>e[0];if(2===d&&e[0]===e[1])return()=>e[1];const p=t[0]===t[1];t[0]>t[d-1]&&(t=[...t].reverse(),e=[...e].reverse());const m=function(t,e,n){const r=[],a=n||i.W.mix||c.j,l=t.length-1;for(let n=0;n<l;n++){let i=a(t[n],t[n+1]);if(e){const t=Array.isArray(e)?e[n]||s.l:e;i=(0,o.F)(t,i)}r.push(i)}return r}(e,u,h),f=m.length,g=n=>{if(p&&n<t[0])return e[0];let i=0;if(f>1)for(;i<t.length-2&&!(n<t[i+1]);i++);const s=(0,a.q)(t[i],t[i+1],n);return m[i](s)};return n?e=>g((0,l.q)(t[0],t[d-1],e)):g}},1750:(t,e,n)=>{"use strict";n.d(e,{X:()=>s,f:()=>i});const i=t=>1e3*t,s=t=>t/1e3},1783:(t,e,n)=>{"use strict";n.d(e,{V:()=>p,f:()=>g});var i=n(6241);const s=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var o=n(1923),r=n(514);const a="number",l="color",c="var",u="var(",h="${}",d=/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 p(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},o=[];let r=0;const p=e.replace(d,t=>(i.y.test(t)?(s.color.push(r),o.push(l),n.push(i.y.parse(t))):t.startsWith(u)?(s.var.push(r),o.push(c),n.push(t)):(s.number.push(r),o.push(a),n.push(parseFloat(t))),++r,h)).split(h);return{values:n,split:p,indexes:s,types:o}}function m({split:t,types:e}){const n=t.length;return s=>{let o="";for(let c=0;c<n;c++)if(o+=t[c],void 0!==s[c]){const t=e[c];o+=t===a?(0,r.a)(s[c]):t===l?i.y.transform(s[c]):s[c]}return o}}const f=(t,e)=>{return"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof(n=t)?0:i.y.test(n)?i.y.getAnimatableNone(n):n;var n};const g={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(o.S)?.length||0)+(t.match(s)?.length||0)>0},parse:function(t){return p(t).values},createTransformer:function(t){return m(p(t))},getAnimatableNone:function(t){const e=p(t);return m(e)(e.values.map((t,n)=>f(t,e.split[n])))}}},1784:(t,e,n)=>{"use strict";n.d(e,{F:()=>i});const i=(...t)=>t.reduce((t,e)=>n=>e(t(n)))},1853:(t,e,n)=>{"use strict";n.d(e,{k:()=>i});const i=(t,e,n)=>t+(e-t)*n},1923:(t,e,n)=>{"use strict";n.d(e,{S:()=>i});const i=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},1983:(t,e,n)=>{"use strict";n.d(e,{V:()=>a});var i=n(6882),s=n(6227),o=n(514),r=n(879);const a={test:(0,r.$)("hsl","hue"),parse:(0,r.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+s.KN.transform((0,o.a)(e))+", "+s.KN.transform((0,o.a)(n))+", "+(0,o.a)(i.X4.transform(r))+")"}},2360:(t,e,n)=>{"use strict";n.d(e,{_:()=>g});var i=n(8543),s=n(7774),o=n(9570),r=n(8254),a=n(8906),l=n(9954),c=n(462),u=n(4650),h=n(50);function d({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}function p(t,e,{delay:n=0,transitionOverride:i,type:p}={}){let{transition:m,transitionEnd:f,...g}=e;const y=t.getDefaultTransition();m=m?(0,o.K)(m,y):y;const v=m?.reduceMotion,x=m?.skipAnimations;i&&(m=i);const w=[],S=p&&t.animationState&&t.animationState.getState()[p],b=m?.path;b&&b.animateVisualElement(t,g,m,n,w);for(const e in g){const i=t.getValue(e,t.latestValues[e]??null),o=g[e];if(void 0===o||S&&d(S,e))continue;const a={delay:n,...(0,s.r)(m||{},e)};x&&(a.skipAnimations=!0);const p=i.get();if(void 0!==p&&!i.isAnimating()&&!Array.isArray(o)&&o===p&&!a.velocity){h.Gt.update(()=>i.set(o));continue}let f=!1;if(window.MotionHandoffAnimation){const n=(0,c.P)(t);if(n){const t=window.MotionHandoffAnimation(n,e,h.Gt);null!==t&&(a.startTime=t,f=!0)}}(0,l.g)(t,e);const y=v??t.shouldReduceMotion;i.start((0,u.f)(e,i,o,y&&r.$.has(e)?{type:!1}:a,t,f));const b=i.animation;b&&w.push(b)}if(f){const e=()=>h.Gt.update(()=>{f&&(0,a.U)(t,f)});w.length?Promise.all(w).then(e):e()}return w}var m=n(4270);function f(t,e,n={}){const s=(0,i.K)(t,e,"exit"===n.type?t.presenceContext?.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=s||{};
1n.transitionOverride&&(o=n.transitionOverride);const r=s?()=>Promise.all(p(t,s,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{const{delayChildren:s=0,staggerChildren:r,staggerDirection:a}=o;return function(t,e,n=0,i=0,s=0,o=1,r){const a=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),a.push(f(l,e,{...r,delay:n+("function"==typeof i?0:i)+(0,m.L)(t.variantChildren,l,i,s,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,i,s,r,a,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[t,e]="beforeChildren"===l?[r,a]:[a,r];return t().then(()=>e())}return Promise.all([r(),a(n.delay)])}function g(t,e,n={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e)){const i=e.map(e=>f(t,e,n));s=Promise.all(i)}else if("string"==typeof e)s=f(t,e,n);else{const o="function"==typeof e?(0,i.K)(t,e,n.custom):e;s=Promise.all(p(t,o,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}},2433:(t,e,n)=>{"use strict";n.d(e,{v:()=>s});var i=n(8205);class s{constructor(){this.subscriptions=[]}add(t){return(0,i.Kq)(this.subscriptions,t),()=>(0,i.Ai)(this.subscriptions,t)}notify(t,e,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let s=0;s<i;s++){const i=this.subscriptions[s];i&&i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},2549:(t,e,n)=>{"use strict";n.d(e,{x:()=>s});var i=n(7594);function s(t){return(0,i.G)(t)&&"ownerSVGElement"in t}},2589:(t,e,n)=>{"use strict";n.d(e,{q:()=>i});const i=(t,e,n)=>{const i=e-t;return i?(n-t)/i:1}},2658:(t,e,n)=>{"use strict";n.d(e,{G:()=>h});var i=n(1574);var s=n(1200),o=n(50),r=n(4896),a=n(3903),l=n(4232),c=n(9751);function u(t,e){const n=function(t){const e=(0,s.M)(()=>(0,a.OQ)(t)),{isStatic:n}=(0,l.useContext)(c.Q);if(n){const[,n]=(0,l.useState)(t);(0,l.useEffect)(()=>e.on("change",n),[])}return e}(e()),i=()=>n.set(e());return i(),(0,r.E)(()=>{const e=()=>o.Gt.preRender(i,!1,!0),n=t.map(t=>t.on("change",e));return()=>{n.forEach(t=>t()),(0,o.WG)(i)}}),n}function h(t,e,n,o){if("function"==typeof t)return function(t){a.bt.current=[],t();const e=u(a.bt.current,t);return a.bt.current=void 0,e}(t);if(void 0!==n&&!Array.isArray(n)&&"function"!=typeof e)return function(t,e,n,i){const o=(0,s.M)(()=>Object.keys(n)),r=(0,s.M)(()=>({}));for(const s of o)r[s]=h(t,e,n[s],i);return r}(t,e,n,o);const r="function"==typeof e?e:function(...t){const e=!Array.isArray(t[0]),n=e?0:-1,s=t[0+n],o=t[1+n],r=t[2+n],a=t[3+n],l=(0,i.G)(o,r,a);return e?l(s):l}(e,n,o),l=Array.isArray(t)?d(t,r):d([t],([t])=>r(t)),c=Array.isArray(t)?void 0:t.accelerate;return c&&!c.isTransformed&&"function"!=typeof e&&Array.isArray(n)&&!1!==o?.clamp&&(l.accelerate={...c,times:e,keyframes:n,isTransformed:!0,...o?.ease?{ease:o.ease}:{}}),l}function d(t,e){const n=(0,s.M)(()=>[]);return u(t,()=>{n.length=0;const i=t.length;for(let e=0;e<i;e++)n[e]=t[e].get();return e(n)})}},2679:(t,e,n)=>{"use strict";n.d(e,{q:()=>i});const i=(t,e,n)=>n>e?e:n<t?t:n},2871:(t,e,n)=>{"use strict";n.d(e,{U:()=>i,f:()=>s});const i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=(()=>new Set([...i,"pathRotation"]))()},2987:(t,e,n)=>{"use strict";n.d(e,{PY1:()=>Es});var i=n(2871),s=n(6241),o=n(1783),r=n(1923);const a=new Set(["brightness","contrast","saturate","opacity"]);function l(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[i]=n.match(r.S)||[];if(!i)return t;const s=n.replace(i,"");let o=a.has(e)?1:0;return i!==n&&(o*=100),e+"("+o+s+")"}const c=/\b([a-z-]*)\(.*?\)/gu,u={...o.f,getAnimatableNone:t=>{const e=t.match(c);return e?e.map(l).join(" "):t}},h={...o.f,getAnimatableNone:t=>{const e=o.f.parse(t);return o.f.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}};var d=n(6882);const p={...d.ai,transform:Math.round};var m=n(6227);const f={rotate:m.uj,pathRotation:m.uj,rotateX:m.uj,rotateY:m.uj,rotateZ:m.uj,scale:d.hs,scaleX:d.hs,scaleY:d.hs,scaleZ:d.hs,skew:m.uj,skewX:m.uj,skewY:m.uj,distance:m.px,translateX:m.px,translateY:m.px,translateZ:m.px,x:m.px,y:m.px,z:m.px,perspective:m.px,transformPerspective:m.px,opacity:d.X4,originX:m.gQ,originY:m.gQ,originZ:m.px},g={borderWidth:m.px,borderTopWidth:m.px,borderRightWidth:m.px,borderBottomWidth:m.px,borderLeftWidth:m.px,borderRadius:m.px,borderTopLeftRadius:m.px,borderTopRightRadius:m.px,borderBottomRightRadius:m.px,borderBottomLeftRadius:m.px,width:m.px,maxWidth:m.px,height:m.px,maxHeight:m.px,top:m.px,right:m.px,bottom:m.px,left:m.px,inset:m.px,insetBlock:m.px,insetBlockStart:m.px,insetBlockEnd:m.px,insetInline:m.px,insetInlineStart:m.px,insetInlineEnd:m.px,padding:m.px,paddingTop:m.px,paddingRight:m.px,paddingBottom:m.px,paddingLeft:m.px,paddingBlock:m.px,paddingBlockStart:m.px,paddingBlockEnd:m.px,paddingInline:m.px,paddingInlineStart:m.px,paddingInlineEnd:m.px,margin:m.px,marginTop:m.px,marginRight:m.px,marginBottom:m.px,marginLeft:m.px,marginBlock:m.px,marginBlockStart:m.px,marginBlockEnd:m.px,marginInline:m.px,marginInlineStart:m.px,marginInlineEnd:m.px,fontSize:m.px,backgroundPositionX:m.px,backgroundPositionY:m.px,...f,zIndex:p,fillOpacity:d.X4,strokeOpacity:d.X4,numOctaves:p},y={...g,color:s.y,backgroundColor:s.y,outlineColor:s.y,fill:s.y,stroke:s.y,borderColor:s.y,borderTopColor:s.y,borderRightColor:s.y,borderBottomColor:s.y,borderLeftColor:s.y,filter:u,WebkitFilter:u,mask:h,WebkitMask:h},v=t=>y[t],x=()=>({x:{min:0,max:0},y:{min:0,max:0}});var w=n(8738),S=n(8254);const b=t=>e=>e.test(t),T=[d.ai,m.px,m.KN,m.uj,m.vw,m.vh,{test:t=>"auto"===t,parse:t=>t}],P=t=>T.find(b(t));var E=n(7605);const A=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);var k=n(8975);const M=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function C(t,e,n=1){(0,E.V)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[i,s]=function(t){const e=M.exec(t);if(!e)return[,];const[,n,i,s]=e;return[`--${n??i}`,s]}(t);if(!i)return;const o=window.getComputedStyle(e).getPropertyValue(i);if(o){const t=o.trim();return A(t)?parseFloat(t):t}return(0,k.pG)(s)?C(s,e,n+1):s}var V=n(8331);const D=t=>/^0[^.\s]+$/u.test(t);function L(t){return"number"==typeof t?0===t:null===t||("none"===t||"0"===t||D(t))}const R=new Set([u,h]);function j(t,e){let n=v(t);return R.has(n)||(n=o.f),n.getAnimatableNone?n.getAnimatableNone(e):void 0}
1const B=new Set(["auto","none","0"]);var O=n(3413);class I extends V.h{constructor(t,e,n,i,s){super(t,e,n,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let n=0;n<t.length;n++){let i=t[n];if("string"==typeof i&&(i=i.trim(),(0,k.pG)(i))){const s=C(i,e.current);void 0!==s&&(t[n]=s),n===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!S.$.has(n)||2!==t.length)return;const[i,s]=t,o=P(i),r=P(s);if((0,k.rm)(i)!==(0,k.rm)(s)&&O.Hr[n])this.needsMeasurement=!0;else if(o!==r)if((0,O.E4)(o)&&(0,O.E4)(r))for(let e=0;e<t.length;e++){const n=t[e];"string"==typeof n&&(t[e]=parseFloat(n))}else O.Hr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let e=0;e<t.length;e++)(null===t[e]||L(t[e]))&&n.push(e);n.length&&function(t,e,n){let i,s=0;for(;s<t.length&&!i;){const e=t[s];"string"==typeof e&&!B.has(e)&&(0,o.V)(e).values.length&&(i=t[s]),s++}if(i&&n)for(const s of e)t[s]=j(n,i)}(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=O.Hr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){const{element:t,name:e,unresolvedKeyframes:n}=this;if(!t||!t.current)return;const i=t.getValue(e);i&&i.jump(this.measuredOrigin,!1);const s=n.length-1,o=n[s];n[s]=O.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}var F=n(1750),W=n(2433),U=n(810),G=n(3597),N=n(570),X=n(4704),$=n(3903);const K=[...T,s.y,o.f],H=new WeakMap;function z(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function q(t){return"string"==typeof t||Array.isArray(t)}const Y=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_=["initial",...Y];function Q(t){return z(t.animate)||_.some(e=>q(t[e]))}function Z(t){return Boolean(Q(t)||t.variants)}const J={current:null},tt={current:!1},et="undefined"!=typeof window;var nt=n(6627),it=n(50);const st=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let ot={};function rt(t){ot=t}class at{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,skipAnimations:s,blockInitialAnimation:o,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=V.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=()=>{const t=X.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,it.Gt.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=r;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=s,this.options=a,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=Q(e),this.isVariantNode=Z(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in h){const e=h[t];void 0!==l[t]&&(0,w.S)(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(const t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,H.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.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tt.current||function(){if(tt.current=!0,et)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>J.current=t.matches;t.addEventListener("change",e),e()}else J.current=!1}(),this.shouldReduceMotion=J.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),(0,it.WG)(this.notifyUpdate),(0,it.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&G.M.has(t)&&this.current instanceof HTMLElement){const{factory:n,keyframes:i,times:s,ease:o,duration:r}=e.accelerate,a=new U.m({element:this.current,name:t,keyframes:i,times:s,ease:o,duration:(0,F.f)(r)}),l=n(a);return void this.valueSubscriptions.set(t,()=>{l(),a.cancel()})}const n=i.f.has(t);n&&this.onBindTransform&&this.onBindTransform();const s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&it.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;"undefined"!=typeof window&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),o&&o()})}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 ot){const e=ot[t];if(!e)continue;const{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){const e=this.features[t];
1e.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):{x:{min:0,max:0},y:{min:0,max:0}}}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<st.length;e++){const n=st[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const i=t["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(t,e,n){for(const i in e){const s=e[i],o=n[i];if((0,w.S)(s))t.addValue(i,s);else if((0,w.S)(o))t.addValue(i,(0,$.OQ)(s,{owner:t}));else if(o!==s)if(t.hasValue(i)){const e=t.getValue(i);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{const e=t.getStaticValue(i);t.addValue(i,(0,$.OQ)(void 0!==e?e:s,{owner:t}))}}for(const i in n)void 0===e[i]&&t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}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){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const 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 n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,$.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){let n=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];var i;return null!=n&&("string"==typeof n&&(A(n)||D(n))?n=parseFloat(n):(i=n,!K.find(b(i))&&o.f.test(e)&&(n=j(t,e))),this.setBaseTarget(t,(0,w.S)(n)?n.get():n)),(0,w.S)(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){const{initial:e}=this.props;let n;if("string"==typeof e||"object"==typeof e){const i=(0,nt.a)(this.props,e,this.presenceContext?.custom);i&&(n=i[t])}if(e&&void 0!==n)return n;const i=this.getBaseTargetFromProps(this.props,t);return void 0===i||(0,w.S)(i)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new W.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){N.k.render(this.render)}}class lt extends at{constructor(){super(...arguments),this.KeyframeResolver=I}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){const n=t.style;return n?n[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;(0,w.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var ct=n(9098);const ut=(t,e)=>e&&"number"==typeof t?e.transform(t):t,ht={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},dt=i.U.length;function pt(t,e,n){const{style:s,vars:o,transformOrigin:r}=t;let a=!1,l=!1;for(const t in e){const n=e[t];if(i.f.has(t))a=!0;else if((0,k.j4)(t))o[t]=n;else{const e=ut(n,g[t]);t.startsWith("origin")?(l=!0,r[t]=e):s[t]=e}}if(e.transform||(a||n?s.transform=function(t,e,n){let s="",o=!0;for(let r=0;r<dt;r++){const a=i.U[r],l=t[a];if(void 0===l)continue;let c=!0;if("number"==typeof l)c=l===(a.startsWith("scale")?1:0);else{const t=parseFloat(l);c=a.startsWith("scale")?1===t:0===t}if(!c||n){const t=ut(l,g[a]);c||(o=!1,s+=`${ht[a]||a}(${t}) `),n&&(e[a]=t)}}const r=t.pathRotation;return r&&(o=!1,s+=`rotate(${ut(r,g.pathRotation)}) `),s=s.trim(),n?s=n(e,o?"":s):o&&(s="none"),s}(e,t.transform,n):s.transform&&(s.transform="none")),l){const{originX:t="50%",originY:e="50%",originZ:n=0}=r;s.transformOrigin=`${t} ${e} ${n}`}}const mt={offset:"stroke-dashoffset",array:"stroke-dasharray"},ft={offset:"strokeDashoffset",array:"strokeDasharray"};const gt=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function yt(t,{attrX:e,attrY:n,attrScale:i,pathLength:s,pathSpacing:o=1,pathOffset:r=0,...a},l,c,u){if(pt(t,a,c),l)return void(t.style.viewBox&&(t.attrs.viewB
1ox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:h,style:d}=t;h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=u?.transformBox??"fill-box",delete h.transformBox);for(const t of gt)void 0!==h[t]&&(d[t]=h[t],delete h[t]);void 0!==e&&(h.x=e),void 0!==n&&(h.y=n),void 0!==i&&(h.scale=i),void 0!==s&&function(t,e,n=1,i=0,s=!0){t.pathLength=1;const o=s?mt:ft;t[o.offset]=""+-i,t[o.array]=`${e} ${n}`}(h,s,o,r,!1)}const vt=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"]),xt=t=>"string"==typeof t&&"svg"===t.toLowerCase();function wt(t,{style:e,vars:n},i,s){const o=t.style;let r;for(r in e)o[r]=e[r];for(r in s?.applyProjectionStyles(o,i),n)o.setProperty(r,n[r])}const St=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function bt(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Tt={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!m.px.test(t))return t;t=parseFloat(t)}return`${bt(t,e.target.x)}% ${bt(t,e.target.y)}%`}};var Pt=n(1853);const Et={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,s=o.f.parse(t);if(s.length>5)return i;const r=o.f.createTransformer(t),a="number"!=typeof s[0]?1:0,l=n.x.scale*e.x,c=n.y.scale*e.y;s[0+a]/=l,s[1+a]/=c;const u=(0,Pt.k)(l,c,.5);return"number"==typeof s[2+a]&&(s[2+a]/=u),"number"==typeof s[3+a]&&(s[3+a]/=u),r(s)}},At={borderRadius:{...Tt,applyTo:[...St]},borderTopLeftRadius:Tt,borderTopRightRadius:Tt,borderBottomLeftRadius:Tt,borderBottomRightRadius:Tt,boxShadow:Et};function kt(t,{layout:e,layoutId:n}){return i.f.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!At[t]||"opacity"===t)}function Mt(t,e,n){const i=t.style,s=e?.style,o={};if(!i)return o;for(const e in i)((0,w.S)(i[e])||s&&(0,w.S)(s[e])||kt(e,t)||void 0!==n?.getValue(e)?.liveStyle)&&(o[e]=i[e]);return o}function Ct(t,e,n){const s=Mt(t,e,n);for(const n in t)if((0,w.S)(t[n])||(0,w.S)(e[n])){s[-1!==i.U.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]}return s}class Vt extends lt{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=x}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(i.f.has(e)){const t=v(e);return t&&t.default||0}return e=vt.has(e)?e:(0,ct.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return Ct(t,e,n)}
1build(t,e,n){yt(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,i){!function(t,e,n,i){wt(t,e,void 0,i);for(const n in e.attrs)t.setAttribute(vt.has(n)?n:(0,ct.I)(n),e.attrs[n])}(t,e,0,i)}mount(t){this.isSVGTag=xt(t.tagName),super.mount(t)}}var Dt=n(5523);function Lt({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function Rt(t){return void 0===t||1===t}function jt({scale:t,scaleX:e,scaleY:n}){return!Rt(t)||!Rt(e)||!Rt(n)}function Bt(t){return jt(t)||Ot(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Ot(t){return It(t.x)||It(t.y)}function It(t){return t&&"0%"!==t}function Ft(t,e,n){return n+e*(t-n)}function Wt(t,e,n,i,s){return void 0!==s&&(t=Ft(t,s,i)),Ft(t,n,i)+e}function Ut(t,e=0,n=1,i,s){t.min=Wt(t.min,e,n,i,s),t.max=Wt(t.max,e,n,i,s)}function Gt(t,{x:e,y:n}){Ut(t.x,e.translate,e.scale,e.originPoint),Ut(t.y,n.translate,n.scale,n.originPoint)}const Nt=.999999999999,Xt=1.0000000000001;function $t(t,e){t.min+=e,t.max+=e}function Kt(t,e,n,i,s=.5){Ut(t,e,n,(0,Pt.k)(t.min,t.max,s),i)}function Ht(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function zt(t,e,n){const i=n??t;Kt(t.x,Ht(e.x,i.x),e.scaleX,e.scale,e.originX),Kt(t.y,Ht(e.y,i.y),e.scaleY,e.scale,e.originY)}function qt(t,e){return Lt(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}class Yt extends lt{constructor(){super(...arguments),this.type="html",this.renderInstance=wt}mount(t){(0,E.V)(Boolean(t.style),"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,e){if(i.f.has(e))return this.projection?.isProjecting?(0,Dt.zs)(e):(0,Dt.Ib)(t,e);{const i=(n=t,window.getComputedStyle(n)),s=((0,k.j4)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return qt(t,e)}build(t,e,n){pt(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return Mt(t,e,n)}}var _t=n(4232);const Qt=["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 Zt(t){return"string"==typeof t&&!t.includes("-")&&!!(Qt.indexOf(t)>-1||/[A-Z]/u.test(t))}const Jt=(t,e)=>e.isSVG??Zt(t)?new Vt(e):new Yt(e,{allowProjection:t!==_t.Fragment});var te=n(7876);const ee=(0,_t.createContext)({}),ne=(0,_t.createContext)({strict:!1});var ie=n(9751);const se=(0,_t.createContext)({});function oe(t){const{initial:e,animate:n}=function(t,e){if(Q(t)){const{initial:e,animate:n}=t;return{initial:!1===e||q(e)?e:void 0,animate:q(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,_t.useContext)(se));return(0,_t.useMemo)(()=>({initial:e,animate:n}),[re(e),re(n)])}function re(t){return Array.isArray(t)?t.join(" "):t}const ae=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function le(t,e,n){for(const i in e)(0,w.S)(e[i])||kt(i,n)||(t[i]=e[i])}function ce(t,e){const n={};return le(n,t.style||{},t),Object.assign(n,function({transformTemplate:t},e){return(0,_t.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return pt(n,e,t),Object.assign({},n.vars,n.style)},[e])}(t,e)),n}function ue(t,e){const n={},i=ce(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}const he=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}});function de(t,e,n,i){const s=(0,_t.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return yt(n,e,xt(i),t.transformTemplate,t.style),{...n.attrs,style:{...n.style}}},[e]);if(t.style){const e={};le(e,t.style,t),s.style={...e,...s.style}}return s}const pe=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","propagate","ignoreStrict","viewport"]);function me(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||pe.has(t)}let fe=t=>!me(t);try{"function"==typeof(ge=require("@emotion/is-prop-valid").default)&&(fe=t=>t.startsWith("on")?!me(t):ge(t))}catch{}var ge;function ye(t,e,n,{latestValues:i},s,o=!1,r){const a=(r??Zt(t)?de:ue)(e,i,s,t),l=function(t,e,n){const i={};for(const s in t)"values"===s&&"object"==typeof t.values||(0,w.S)(t[s])||(fe(s)||!0===n&&me(s)||!e&&!me(s)||t.draggable&&s.startsWith("onDrag"))&&(i[s]=t[s]);return i}(e,"string"==typeof t,o),c=t!==_t.Fragment?{...l,...a,ref:n}:{},{children:u}=e,h=(0,_t.useMemo)(()=>(0,w.S)(u)?u.get():u,[u]);return(0,_t.createElement)(t,{...c,children:h})}function ve(t){return(0,w.S)(t)?t.get():t}const xe=(0,_t.createContext)(null);var we=n(1200);function Se(t,e,n,i){const s={},o=i(t,{});for(const t in o)s[t]=ve(o[t]);let{initial:r,animate:a}=t;const l=Q(t),c=Z(t);e&&c&&!l&&!1!==t.inherit&&(void 0===r&&(r=e.initial),void 0===a&&(a=e.animate));let u=!!n&&!1===n.initial;u=u||!1===r;const h=u?a:r;if(h&&"boolean"!=typeof h&&!z(h)){const e=Array.isArray(h)?h:[h];for(let n=0;n<e.length;n++){const i=(0,nt.a)(t,e[n]);if(i){const{transitionEnd:t,transition:e,...n}=i;for(const t in n){let e=n[t];if(Array.isArray(e)){e=e[u?e.length-1:0]}null!==e&&(s[t]=e)}for(const e in t)s[e]=t[e]}}}return s}const be=t=>
1(e,n)=>{const i=(0,_t.useContext)(se),s=(0,_t.useContext)(xe),o=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e},n,i,s){return{latestValues:Se(n,i,s,t),renderState:e()}}(t,e,i,s);return n?o():(0,we.M)(o)},Te=be({scrapeMotionValuesFromProps:Mt,createRenderState:ae}),Pe=be({scrapeMotionValuesFromProps:Ct,createRenderState:he}),Ee={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"]};let Ae=!1;function ke(){return function(){if(Ae)return;const t={};for(const e in Ee)t[e]={isEnabled:t=>Ee[e].some(e=>!!t[e])};rt(t),Ae=!0}(),ot}const Me=Symbol.for("motionComponentSymbol");function Ce(t,e,n){const i=(0,_t.useRef)(n);(0,_t.useInsertionEffect)(()=>{i.current=n});const s=(0,_t.useRef)(null);return(0,_t.useCallback)(n=>{n&&t.onMount?.(n),e&&(n?e.mount(n):e.unmount());const o=i.current;if("function"==typeof o)if(n){const t=o(n);"function"==typeof t&&(s.current=t)}else s.current?(s.current(),s.current=null):o(n);else o&&(o.current=n)},[e])}var Ve=n(736);const De=(0,_t.createContext)({});function Le(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var Re=n(4896);function je(t,e,n,i,s,o){const{visualElement:r}=(0,_t.useContext)(se),a=(0,_t.useContext)(ne),l=(0,_t.useContext)(xe),c=(0,_t.useContext)(ie.Q),u=c.reducedMotion,h=c.skipAnimations,d=(0,_t.useRef)(null),p=(0,_t.useRef)(!1);i=i||a.renderer,!d.current&&i&&(d.current=i(t,{visualState:e,parent:r,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u,skipAnimations:h,isSVG:o}),p.current&&d.current&&(d.current.manuallyAnimateOnMount=!0));const m=d.current,f=(0,_t.useContext)(De);!m||m.projection||!s||"html"!==m.type&&"svg"!==m.type||function(t,e,n,i){const{layoutId:s,layout:o,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:h}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Be(t.parent)),t.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:Boolean(r)||a&&Le(a),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:i,crossfade:h,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}(d.current,n,s,f);const g=(0,_t.useRef)(!1);(0,_t.useInsertionEffect)(()=>{m&&g.current&&m.update(n,l)});const y=n[Ve.n],v=(0,_t.useRef)(Boolean(y)&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return(0,Re.E)(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,_t.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),m.enteringChildren=void 0)}),m}function Be(t){if(t)return!1!==t.options.allowProjection?t.projection:Be(t.parent)}function Oe(t,{forwardMotionProps:e=!1,type:n}={},i,s){i&&function(t){const e=ke();for(const n in t)e[n]={...e[n],...t[n]};rt(e)}(i);const o=n?"svg"===n:Zt(t),r=o?Pe:Te;function a(n,i){let a;const l={...(0,_t.useContext)(ie.Q),...n,layoutId:Ie(n)},{isStatic:c}=l,u=oe(n),h=r(n,c);if(!c&&"undefined"!=typeof window){!function(){(0,_t.useContext)(ne).strict;0}();const e=function(t){const e=ke(),{drag:n,layout:i}=e;if(!n&&!i)return{};const s={...n,...i};return{MeasureLayout:n?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(l);a=e.MeasureLayout,u.visualElement=je(t,h,l,s,e.ProjectionNode,o)}return(0,te.jsxs)(se.Provider,{value:u,children:[a&&u.visualElement?(0,te.jsx)(a,{visualElement:u.visualElement,...l}):null,ye(t,n,Ce(h,u.visualElement,i),h,c,e,o)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;const l=(0,_t.forwardRef)(a);return l[Me]=t,l}function Ie({layoutId:t}){const e=(0,_t.useContext)(ee).id;return e&&void 0!==t?e+"-"+t:t}function Fe(t,e){if("undefined"==typeof Proxy)return Oe;const n=new Map,i=(n,i)=>Oe(n,i,t,e);return new Proxy((t,e)=>i(t,e),{get:(s,o)=>"create"===o?i:(n.has(o)||n.set(o,Oe(o,void 0,t,e)),n.get(o))})}class We{constructor(t){this.isMounted=!1,this.node=t}update(){}}var Ue=n(2360),Ge=n(4270);const Ne=_.length;function Xe(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&Xe(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let n=0;n<Ne;n++){const i=_[n],s=t.props[i];(q(s)||!1===s)&&(e[i]=s)}return e}var $e=n(1464),Ke=n(8543);function He(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}const ze=[...Y].reverse(),qe=Y.length;function Ye(t){let e=function(t){return e=>Promise.all(e.map(({animation:e,options:n})=>(0,Ue._)(t,e,n)))}(t),n=Ze(),i=!0,s=!1;const o=e=>(n,i)=>{const s=(0,Ke.K)(t,i,"exit"===e?t.presenceContext?.custom:void 0);if(s){const{transition:t,transitionEnd:e,...i}=s;n={...n,...i,...e}}return n};function r(r){const{props:a}=t,l=Xe(t.parent)||{},c=[],u=new Set;let h={},d=1/0;for(let e=0;e<qe;e++){const p=ze[e],m=n[p],f=void 0!==a[p]?a[p]:l[p],g=q(f),y=p===r?m.isActive:null;!1===y&&(d=e);let v=f===l[p]&&f!==a[p]&&g;if(v&&(i||s)&&t.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...h},!m.isActive&&null===y||!f&&!m.prevProp||z(f)||"boolean"==typeof f)continue;if("exit"===p&&m.isActive&&!0!==y){m.prevResolvedValues&&(h={...h,...m.prevResolvedValues});continue}const x=_e(m.prevProp,f);let w=x||p===r&&m.isActive&&!v&&g||e>d&&g,S=!1;const b=Array.isArray(f)?f:[f];let T=b.reduce(o(p),{});!1===y&&(T={});const{prevResolvedValues:P={}}=m,E={...P,...T},A=e=>{w=!0,u.has(e)&&(S=!0,u.delete(e)),m.needsAnimating[e]=!0;const n=t.getValue(e);n&&(n.liveStyle=!1)};for(const t in E){const e=T[t],n=P[t];if(h.hasOwnProperty(t))continue;let i=!1;i=(0,$e.p)(e)&&(0,$e.p)(n)?!He(e,n)||x:e!==n,i?null!=e?A(t):u.add(t):void 0!==e&&u.has(t)?A(t):m.protectedKeys[t]=!0}m.prevProp=f,m.prevResolvedValues=T,m.isActive&&(h={...h,...T}),(i||s)&&t.blockInitialAnimation&&(w=!1);const k=v&&x;w&&(!k||S)&&c.push(...b.map(e=>{const n={type:p};if("string"==typeof e&&(i||s)&&!k&&t.manuallyAnimateOnMount&&t.parent){const{parent:i}=t,s=(0,Ke.K)(i,e);if(i.enteringChildren&&s){const{delayChildren:e}=s.transition||{};n.delay=(0,Ge.L)(i.enteringChildren,t,e)}}return{animation:e,options:n}}))}if(u.size){const e={};if("boolean"!=typeof a.initial){const n=(0,Ke.K)(t,Array.isArray(a.initial)?a.initial[0]:a.initial);n&&n.transition&&(e.transition=n.transition)}u.forEach(n=>{const i=t.getBaseTarget(n),s=t.getValue(n);s&&(s.liveStyle=!0),e[n]=i??null}),c.push({animation:e})}let p=Boolean(c.length);return!i||!1!==a.initial&&a.initial!==a.animate||t.manuallyAnimateOnMount||(p=!1),i=!1,s=!1,p?e(c):Promise.resolve()}return{animateChanges:r,setActive:function(e,i){if(n[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),n[e].isActive=i;const s=r(e);for(const t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=Ze(),s=!0}}}function _e(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!He(e,t)}function Qe(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ze(){return{animate:Qe(!0),whileInView:Qe(),whileHover:Qe(),whileTap:Qe(),whileDrag:Qe(),whileFocus:Qe(),exit:Qe()}}let Je=0;const tn={animation:{Feature:class extends We{constructor(t){super(t),t.animationState||(t.animationState=Ye(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();z(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends We{constructor(){super(...arguments),this.id=Je++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;if(t&&!1===n){if(this.isExitComplete){const{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){const n=(0,Ke.K)(this.node,t,e);if(n){const{transition:t,transitionEnd:e,...i}=n;for(const t in i)this.node.getValue(t)?.jump(i[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);return void(this.isExitComplete=!1)}const i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>
1{this.isExitComplete=!0,e(this.id)})}mount(){const{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}};var en=n(620);const nn={x:!1,y:!1};function sn(){return nn.x||nn.y}function on(t){return[t("x"),t("y")]}function rn(t){return t.max-t.min}function an(t,e,n,i=.5){t.origin=i,t.originPoint=(0,Pt.k)(e.min,e.max,t.origin),t.scale=rn(n)/rn(e),t.translate=(0,Pt.k)(n.min,n.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 ln(t,e,n,i){an(t.x,e.x,n.x,i?i.originX:void 0),an(t.y,e.y,n.y,i?i.originY:void 0)}function cn(t,e,n,i=0){const s=i?(0,Pt.k)(n.min,n.max,i):n.min;t.min=s+e.min,t.max=t.min+rn(e)}function un(t,e,n,i=0){const s=i?(0,Pt.k)(n.min,n.max,i):n.min;t.min=e.min-s,t.max=t.min+rn(e)}function hn(t,e,n,i){un(t.x,e.x,n.x,i?.x),un(t.y,e.y,n.y,i?.y)}var dn=n(9954),pn=n(4650);const mn=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const fn=new Set(["INPUT","SELECT","TEXTAREA"]);function gn(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}var yn=n(9280);const vn=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function xn(t){return{point:{x:t.pageX,y:t.pageY}}}function wn(t,e,n,i){return gn(t,e,(t=>e=>vn(e)&&t(e,xn(e)))(n),i)}const Sn=({current:t})=>t?t.ownerDocument.defaultView:null;var bn=n(1784);const Tn=(t,e)=>Math.abs(t-e);const Pn=new Set(["auto","scroll"]);class En{constructor(t,e,{transformPagePoint:n,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=An(this.lastRawMoveEventInfo,this.transformPagePoint));const t=Mn(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=Tn(t.x,e.x),i=Tn(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!n)return;const{point:i}=t,{timestamp:s}=it.uv;this.history.push({...i,timestamp:s});const{onStart:o,onMove:r}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&&r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=An(e,this.transformPagePoint),it.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:s}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||s&&s(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=Mn("pointercancel"===t.type?this.lastMoveEventInfo:An(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,o),i&&i(t,o)},!vn(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=i||window;const a=An(xn(t),this.transformPagePoint),{point:l}=a,{timestamp:c}=it.uv;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=e;u&&u(t,Mn(a,this.history));const h={passive:!0,capture:!0};this.removeListeners=(0,bn.F)(wn(this.contextWindow,"pointermove",this.handlePointerMove,h),wn(this.contextWindow,"pointerup",this.handlePointerUp,h),wn(this.contextWindow,"pointercancel",this.handlePointerUp,h)),r&&this.startScrollTracking(r)}startScrollTracking(t){let e=t.parentElement;for(;e;){const t=getComputedStyle(e);(Pn.has(t.overflowX)||Pn.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const e=this.scrollPositions.get(t);if(!e)return;const n=t===window,i=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s=i.x-e.x,o=i.y-e.y;0===s&&0===o||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s,this.lastMoveEventInfo.point.y+=o):this.history.length>0&&(this.history[0].x-=s,this.history[0].y-=o),this.scrollPositions.set(t,i),it.Gt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,it.WG)(this.updatePoint)}}function An(t,e){return e?{point:e(t.point)}:t}function kn(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Mn({point:t},e){return{point:t,delta:kn(t,Vn(e)),offset:kn(t,Cn(e)),velocity:Dn(e,.1)}}function Cn(t){return t[0]}function Vn(t){return t[t.length-1]}function Dn(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const s=Vn(t);for(;n>=0&&(i=t[n],!(s.timestamp-i.timestamp>(0,F.f)(e)));)n--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&s.timestamp-i.timestamp>2*(0,F.f)(e)&&(i=t[1]);const o=(0,F.X)(s.timestamp-i.timestamp);if(0===o)return{x:0,y:0};const r={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}var Ln=n(2589),Rn=n(2679);function jn(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function Bn(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}
vendor: 10,322 bytes, line 1
1const On=.35;function In(t,e,n){return{min:Fn(t,e),max:Fn(t,n)}}function Fn(t,e){return"number"==typeof t?t:t[e]||0}const Wn=new WeakMap;class Un{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={x:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:n}={}){const{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;const{dragSnapToOrigin:s}=this.getProps();this.panSession=new En(t,{onSessionStart:t=>{e&&this.snapToCursor(xn(t).point),this.stopAnimation()},onStart:(t,e)=>{const{drag:n,dragPropagation:i,onDragStart:s}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(o=n)||"y"===o?nn[o]?null:(nn[o]=!0,()=>{nn[o]=!1}):nn.x||nn.y?null:(nn.x=nn.y=!0,()=>{nn.x=nn.y=!1}),!this.openDragLock))return;var o;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),on(t=>{let e=this.getAxisMotionValue(t).get()||0;if(m.KN.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[t];if(i){e=rn(i)*(parseFloat(e)/100)}}}this.originPoint[t]=e}),s&&it.Gt.update(()=>s(t,e),!1,!0),(0,dn.g)(this.visualElement,"transform");const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:s,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:r}=e;if(i&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(r),void(null!==this.currentDirection&&s&&s(this.currentDirection));this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&&it.Gt.update(()=>o(t,e),!1,!0)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{const{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,distanceThreshold:n,contextWindow:Sn(this.visualElement),element:this.visualElement.current})}stop(t,e){const n=t||this.latestPointerEvent,i=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!n)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&it.Gt.postRender(()=>r(n,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,n){const{drag:i}=this.getProps();if(!n||!Nn(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?(0,Pt.k)(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?(0,Pt.k)(n,t,i.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&Le(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(t,{top:e,left:n,bottom:i,right:s}){return{x:jn(t.x,n,s),y:jn(t.y,e,i)}}(n.layoutBox,t),this.elastic=function(t=On){return!1===t?t=0:!0===t&&(t=On),{x:In(t,"left","right"),y:In(t,"top","bottom")}}(e),i!==this.constraints&&!Le(t)&&n&&this.constraints&&!this.hasMutatedConstraints&&on(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!Le(t))return!1;const n=t.current;(0,E.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;i.root&&(i.root.scroll=void 0,i.root.updateScroll());const s=function(t,e,n){const i=qt(t,n),{scroll:s}=e;return s&&($t(i.x,s.offset.x),$t(i.y,s.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let o=function(t,e){return{x:Bn(t.x,e.x),y:Bn(t.y,e.y)}}(i.layout.layoutBox,s);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=Lt(t))}return o}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=on(r=>{if(!Nn(r,e,this.currentDirection))return;let l=a&&a[r]||{};!0!==o&&o!==r||(l={min:0,max:0});const c=i?200:1e6,u=i?40:1e7,h={type:"inertia",velocity:n?t[r]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(r,h)});return Promise.all(l).then(r)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return(0,dn.g)(this.visualElement,t),n.start((0,pn.f)(t,n,0,e,this.visualElement,!1))}stopAnimation(){on(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps()[e];return n||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){on(e=>{const{drag:n}=this.getProps();if(!Nn(e,n,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(e);if(i&&i.layout){const{min:n,max:o}=i.layout.layoutBox[e],r=s.get()||0;s.set(t[e]-(0,Pt.k)(n,o,.5)+r)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!Le(e)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};on(t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const n=e.get();i[t]=function(t,e){let n=.5;const i=rn(t),s=rn(e);return s>i?n=(0,Ln.q)(e.min,e.max-i,t.min):i>s&&(n=(0,Ln.q)(t.min,t.max-s,e.min)),(0,Rn.q)(0,1,n)}({min:n,max:n},this.constraints[t])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),on(e=>{if(!Nn(e,t,null))return;const n=this.getAxisMotionValue(e),{min:s,max:o}=this.constraints[e];n.set((0,Pt.k)(s,o,i[e]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Wn.set(this.visualElement,this);const t=this.visualElement.current,e=wn(t,"pointerdown",e=>{const{drag:n,dragListener:i=!0}=this.getProps(),s=e.target,o=s!==t&&function(t){return fn.has(t.tagName)||!0===t.isContentEditable}(s);n&&i&&!o&&this.start(e)});let n;const i=()=>{const{dragConstraints:e}=this.getProps();Le(e)&&e.current&&(this.constraints=this.resolveRefConstraints(),n||(n=function(t,e,n){const i=(0,yn.X)(t,Gn(n)),s=(0,yn.X)(e,Gn(n));return()=>{i(),s()}}(t,e.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),it.Gt.read(i);const r=gn(window,"resize",()=>this.scalePositionWithinConstraints()),a=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(on(e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),e(),o(),a&&a(),n&&n()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=On,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:r}}}function Gn(t){let e=!0;return()=>{e?e=!1:t()}}function Nn(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}const Xn=t=>(e,n)=>{t&&it.Gt.update(()=>t(e,n),!1,!0)};const $n={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let Kn=!1;class Hn extends _t.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),n&&n.register&&i&&n.register(s),Kn&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),$n.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:i,isPresent:s}=this.props,{projection:o}=n;return o?(o.isPresent=s,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),Kn=!0,i||t.layoutDependency!==e||void 0===e||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||it.Gt.postRender(()=>{const t=o.getStack();t&&t.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{visualElement:t,layoutAnchor:e}=this.props,{projection:n}=t;n&&(n.options.layoutAnchor=e,n.root.didUpdate(),N.k.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;Kn=!0,i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function zn(t){const[e,n]=function(t=!0){const e=(0,_t.useContext)(xe);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:i,register:s}=e,o=(0,_t.useId)();(0,_t.useEffect)(()=>
1{if(t)return s(o)},[t]);const r=(0,_t.useCallback)(()=>t&&i&&i(o),[o,i,t]);return!n&&i?[!1,r]:[!0]}(),i=(0,_t.useContext)(ee);return(0,te.jsx)(Hn,{...t,layoutGroup:i,switchLayoutGroup:(0,_t.useContext)(De),isPresent:e,safeToRemove:n})}var qn=n(462),Yn=n(7774);const _n={value:null,addProjectionMetrics:null};function Qn(t,e){const n=X.k.now(),i=({timestamp:s})=>{const o=s-n;o>=e&&((0,it.WG)(i),t(o-e))};return it.Gt.setup(i,!0),()=>(0,it.WG)(i)}var Zn=n(2549);var Jn=n(6453);const ti=St.length,ei=t=>"string"==typeof t?parseFloat(t):t,ni=t=>"number"==typeof t||m.px.test(t);function ii(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const si=ri(0,.5,Jn.yT),oi=ri(.5,.95,en.l);function ri(t,e,n){return i=>i<t?0:i>e?1:n((0,Ln.q)(t,e,i))}function ai(t,e){t.min=e.min,t.max=e.max}function li(t,e){ai(t.x,e.x),ai(t.y,e.y)}function ci(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function ui(t,e,n,i,s){return t=Ft(t-=e,1/n,i),void 0!==s&&(t=Ft(t,1/s,i)),t}function hi(t,e,[n,i,s],o,r){!function(t,e=0,n=1,i=.5,s,o=t,r=t){m.KN.test(e)&&(e=parseFloat(e),e=(0,Pt.k)(r.min,r.max,e/100)-r.min);if("number"!=typeof e)return;let a=(0,Pt.k)(o.min,o.max,i);t===o&&(a-=e),t.min=ui(t.min,e,n,a,s),t.max=ui(t.max,e,n,a,s)}(t,e[n],e[i],e[s],e.scale,o,r)}const di=["x","scaleX","originX"],pi=["y","scaleY","originY"];function mi(t,e,n,i){hi(t.x,e,di,n?n.x:void 0,i?i.x:void 0),hi(t.y,e,pi,n?n.y:void 0,i?i.y:void 0)}function fi(t){return 0===t.translate&&1===t.scale}function gi(t){return fi(t.x)&&fi(t.y)}function yi(t,e){return t.min===e.min&&t.max===e.max}function vi(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function xi(t,e){return vi(t.x,e.x)&&vi(t.y,e.y)}function wi(t){return rn(t.x)/rn(t.y)}function Si(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var bi=n(8205);class Ti{constructor(){this.members=[]}add(t){(0,bi.Kq)(this.members,t);for(let e=this.members.length-1;e>=0;e--){const n=this.members[e];if(n===t||n===this.lead||n===this.prevLead)continue;const i=n.instance;i&&!1!==i.isConnected||n.snapshot||((0,bi.Ai)(this.members,n),n.unmount())}t.scheduleRender()}remove(t){if((0,bi.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent&&!1!==t.instance?.isConnected)return this.promote(t),!0}return!1}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.updateSnapshot(),t.scheduleRender();const{layoutDependency:i}=n.options,{layoutDependency:s}=t.options;void 0!==i&&i===s||(t.resumeFrom=n,e&&(n.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const Pi=(t,e)=>t.depth-e.depth;class Ei{constructor(){this.children=[],this.isDirty=!1}add(t){(0,bi.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,bi.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Pi),this.isDirty=!1,this.children.forEach(t)}}const Ai={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ki=["","X","Y","Z"];let Mi=0;function Ci(t,e,n,i){const{latestValues:s}=e;s[t]&&(n[t]=s[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Vi(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=(0,qn.P)(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",it.Gt,!(e||i))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&Vi(i)}function Di({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(t={},n=e?.()){this.id=Mi++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,_n.value&&(Ai.nodes=Ai.calculatedTargetDeltas=Ai.calculatedProjections=0),this.nodes.forEac
vendor: 4,137 bytes, line 1
1h(ji),this.nodes.forEach(Xi),this.nodes.forEach($i),this.nodes.forEach(Bi),_n.addProjectionMetrics&&_n.addProjectionMetrics(Ai)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ei)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new W.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;var n;this.isSVG=(0,Zn.x)(e)&&(n=e,!((0,Zn.x)(n)&&"svg"===n.tagName)),this.instance=e;const{layoutId:i,layout:s,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let n,i=0;const s=()=>this.root.updateBlockedByResize=!1;it.Gt.read(()=>{i=window.innerWidth}),t(e,()=>{const t=window.innerWidth;t!==i&&(i=t,this.root.updateBlockedByResize=!0,n&&n(),n=Qn(s,250),$n.hasAnimatedSinceResize&&($n.hasAnimatedSinceResize=!1,this.nodes.forEach(Ni)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const s=this.options.transition||o.getDefaultTransition()||_i,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!xi(this.targetLayout,i),c=!e&&n;if(this.options.layoutRoot||this.resumeFrom||c||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const e={...(0,Yn.r)(s,"layout"),onPlay:r,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,c,e.path)}else e||Ni(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,it.WG)(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(Ki),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Vi(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){const e=this.path[t];e.shouldResetTransform=!0,"string"!=typeof e.latestValues.x&&"string"!=typeof e.latestValues.y||(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked()){const t=this.updateBlockedByResize;return this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(Fi),void this.nodes.forEach(Ii)}if(this.animationId<=this.animationCommitId)return void this.nodes.forEac
vendor: 7,244 bytes, line 1
1h(Wi);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ui),this.nodes.forEach(Gi),this.nodes.forEach(Li),this.nodes.forEach(Ri)):this.nodes.forEach(Wi),this.clearAllSnapshots();const t=X.k.now();it.uv.delta=(0,Rn.q)(0,1e3/60,t-it.uv.timestamp),it.uv.timestamp=t,it.uv.isProcessing=!0,it.PP.update.process(it.uv),it.PP.preRender.process(it.uv),it.PP.render.process(it.uv),it.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,N.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Oi),this.sharedNodes.forEach(Hi)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,it.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){it.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||rn(this.snapshot.measuredBox.x)||rn(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(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()}const t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}}),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){const e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!gi(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||Bt(this.latestValues)||o)&&(s(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let n=this.removeElementScroll(e);var i;return t&&(n=this.removeTransform(n)),Ji((i=n).x),Ji(i.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(es))){const{scroll:t}=this.root;t&&($t(e.x,t.offset.x),$t(e.y,t.offset.y))}return e}removeElementScroll(t){const e={x:{min:0,max:0},y:{min:0,max:0}};if(li(e,t),this.scroll?.wasRoot)return e;for(let n=0;n<this.path.length;n++){const i=this.path[n],{scroll:s,options:o}=i;i!==this.root&&s&&o.layoutScroll&&(s.wasRoot&&li(e,t),$t(e.x,s.offset.x),$t(e.y,s.offset.y))}return e}applyTransform(t,e=!1,n){const i=n||{x:{min:0,max:0},y:{min:0,max:0}};li(i,t);for(let t=0;t<this.path.length;t++){const n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&($t(i.x,-n.scroll.offset.x),$t(i.y,-n.scroll.offset.y)),Bt(n.latestValues)&&zt(i,n.latestValues,n.layout?.layoutBox)}return Bt(this.latestValues)&&zt(i,this.latestValues,this.layout?.layoutBox),i}removeTransform(t){const e={x:{min:0,max:0},y:{min:0,max:0}};li(e,t);for(let t=0;t<this.path.length;t++){const n=this.path[t];if(!Bt(n.latestValues))continue;let i;n.instance&&(jt(n.latestValues)&&n.updateSnapshot(),i=x(),li(i,n.measurePageBox())),mi(e,n.latestValues,n.snapshot?.layoutBox,i)}return Bt(this.latestValues)&&mi(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!==it.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){const e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==e;if(!(t||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:i,layoutId:s}=this.options;if(!this.layout||!i&&!s)return;this.resolvedRelativeTargetAt=it.uv.timestamp;const o=this.getClosestProjectingParent();var r,a,l,c;(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),r=this.target,a=this.relativeTarget,l=this.relativeParent.target,c=this.options.layoutAnchor||void 0,cn(r.x,a.x,l.x,c?.x),cn(r.y,a.y,l.y,c?.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.applyTransform(this.layout.layoutBox,!1,this.target):li(this.target,this.layout.layoutBox),Gt(this.target,this.targetDelta)):li(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&Boolean(o.resumingFrom)===Boolean(this.resumingFrom)&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0),_n.value&&Ai.calculatedTargetDeltas++)}getClosestProjectingParent(){if(this.parent&&!jt(this.parent.latestValues)&&!Ot(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,n){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},hn(this.relativeTargetOrigin,e,n,this.options.layoutAnchor||void 0),li(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const t=this.getLead(),e=Boolean(this.resumingFrom)||this!==t;let n=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===it.uv.timestamp&&(n=!1),n)return;const{layout:i,layoutId:s}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!s)return;li(this.layoutCorrected,this.layout.layoutBox);const o=this.treeScale.x,r=this.treeScale.y;!function(t,e,n,i=!1){const s=n.length;if(!s)return;let o,r;e.x=e.y=1;for(let a=0;a<s;a++){o=n[a],r=o.projectionDelta;const{visualElement:s}=o.options;s&&s.props.style&&"contents"===s.props.style.display||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&($t(t.x,-o.scroll.offset.x),$t(t.y,-o.scroll.offset.y)),r&&(e.x*=r.x.scale,e.y*=r.y.scale,Gt(t,r)),i&&Bt(o.latestValues)&&zt(t,o.latestValues,o.layout?.layoutBox))}e.x<Xt&&e.x>Nt&&(e.x=1),e.y<Xt&&e.y>Nt&&(e.y=1)}(this.layoutCorrected,this.treeScale,this.path,e),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:a}=t;a?(this.projectionDelta&&this.prevProjectionDelta?(ci(this.prevProjectionDelta.x,this.projectionDelta.x),ci(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),ln(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===r&&Si(this.projectionDelta.x,this.prevProjectionDelta.x)&&Si(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),_n.value&&Ai.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(t,e=!1,n){const i=this.snapshot,s=i?i.latestValues:{},o={...this.latestValues},r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const a={x:{min:0,max:0},y:{min:0,max:0}},l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),u=!c||c.members.length<=1,h=Boolean(l&&!u&&!0===this.options.crossfade&&!this.path.some(Yi));let d;this.animationProgress=0;const p=n?.interpolateProjection(t);this.mixTargetDelta=e=>{const n=e/1e3,i=p?.(n);var c,f,g,y,v,x;i?(r.x.translate=i.x,r.x.scale=(0,Pt.k)(t.x.scale,1,n),r.x.origin=t.x.origin,r.x.originPoint=t.x.originPoint,r.y.translate=i.y,r.y.scale=(0,Pt.k)(t.y.scale,1,n),r.y.origin=t.y.origin,r.y.originPoint=t.y.originPoint):(zi(r.x,t.x,n),zi(r.y,t.y,n)),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(hn(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),g=this.relativeTarget,y=this.relativeTargetOrigin,v=a,x=n,qi(g.x,y.x,v.x,x),qi(g.y,y.y,v.y,x),d&&(c=this.relativeTarget,f=d,yi(c.x,f.x)&&yi(c.y,f.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),li(d,this.relativeTarget)),l&&(this.animationValues=o,function(t,e,n,i,s,o){s?(t.opacity=(0,Pt.k)(0,n.opacity??1,si(i)),t.opacityExit=(0,Pt.k)(e.opacity??1,0,oi(i))):o&&(t.opacity=(0,Pt.k)(e.opacity??1,n.opacity??1,i));for(let s=0;s<ti;s++){const o=St[s];let r=ii(e,o),a=ii(n,o);void 0===r&&void 0===a||(r||(r=0),a||(a=0),0===r||0===a||ni(r)===ni(a)?(t[o]=Math.max((0,Pt.k)(ei(r),ei(a),i),0),(m.KN.test(a)||m.KN.test(r))&&(t[o]+="%")):t[o]=a)}(e.rotate||n.rotate)&&(t.rotate=(0,Pt.k)(e.rotate||0,n.rotate||0,i))}(o,s,this.latestValues,n,h,u)),i&&void 0!==i.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=i.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,it.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=it.Gt.update(()=>{$n.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,$.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(t,e,n){const i=(0,w.S)(t)?t:(0,$.OQ)(t);return i.start((0,pn.f)("",i,e,n)),i.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,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);const 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(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:i,latestValues:s}=t;
vendor: 6,508 bytes, line 1
1if(e&&n&&i){if(this!==t&&this.layout&&i&&ts(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const e=rn(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const i=rn(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}li(e,n),zt(e,s),ln(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Ti);this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){const{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;const i={};n.z&&Ci("z",t,i,this.animationValues);for(let e=0;e<ki.length;e++)Ci(`rotate${ki[e]}`,t,i,this.animationValues),Ci(`skew${ki[e]}`,t,i,this.animationValues);t.render();for(const e in i)t.setStaticValue(e,i[e]),this.animationValues&&(this.animationValues[e]=i[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(t.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=ve(e?.pointerEvents)||"",void(t.transform=n?n(this.latestValues,""):"none");const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target)return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ve(e?.pointerEvents)||""),void(this.hasProjected&&!Bt(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1));t.visibility="";const s=i.animationValues||i.latestValues;this.applyTransformsToTarget();let o=function(t,e,n){let i="";const s=t.x.translate/e.x,o=t.y.translate/e.y,r=n?.z||0;if((s||o||r)&&(i=`translate3d(${s}px, ${o}px, ${r}px) `),1===e.x&&1===e.y||(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:t,rotate:e,pathRotation:s,rotateX:o,rotateY:r,skewX:a,skewY:l}=n;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),s&&(i+=`rotate(${s}deg) `),o&&(i+=`rotateX(${o}deg) `),r&&(i+=`rotateY(${r}deg) `),a&&(i+=`skewX(${a}deg) `),l&&(i+=`skewY(${l}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return 1===a&&1===l||(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);n&&(o=n(s,o)),t.transform=o;const{x:r,y:a}=this.projectionDelta;t.transformOrigin=`${100*r.origin}% ${100*a.origin}% 0`,i.animationValues?t.opacity=i===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in At){if(void 0===s[e])continue;const{correct:n,applyTo:r,isCSSVariable:a}=At[e],l="none"===o?s[e]:n(s[e],i);if(r){const e=r.length;for(let n=0;n<e;n++)t[r[n]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=i===this?ve(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(Ii),this.root.sharedNodes.clear()}}}function Li(t){t.updateLayout()}function Ri(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:i}=t.layout,{animationType:s}=t.options,o=e.source!==t.layout.source;if("size"===s)on(t=>{const i=o?e.measuredBox[t]:e.layoutBox[t],s=rn(i);i.min=n[t].min,i.max=i.min+s});else if("x"===s||"y"===s){const t="x"===s?"y":"x";ai(o?e.measuredBox[t]:e.layoutBox[t],n[t])}else ts(s,e.layoutBox,n)&&on(i=>{const s=o?e.measuredBox[i]:e.layoutBox[i],r=rn(n[i]);s.max=s.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+r)});const r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};ln(r,n,e.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?ln(a,t.applyTransform(i,!0),e.measuredBox):ln(a,n,e.layoutBox);const l=!gi(r);let c=!1;if(!t.resumeFrom){const i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:s,layout:o}=i;if(s&&o){const r=t.options.layoutAnchor||void 0,a={x:{min:0,max:0},y:{min:0,max:0}};hn(a,e.layoutBox,s.layoutBox,r);const l={x:{min:0,max:0},y:{min:0,max:0}};hn(l,n,o.layoutBox,r),xi(a,l)||(c=!0),i.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ji(t){_n.value&&Ai.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Bi(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Oi(t){t.clearSnapshot()}function Ii(t){t.clearMeasurements()}function Fi(t){t.isLayoutDirty=!0,t.updateLayout()}function Wi(t){t.isLayoutDirty=!1}function Ui(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function Gi(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Ni(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Xi(t){t.resolveTargetDelta()}function $i(t){t.calcProjection()}
1function Ki(t){t.resetSkewAndRotation()}function Hi(t){t.removeLeadSnapshot()}function zi(t,e,n){t.translate=(0,Pt.k)(e.translate,0,n),t.scale=(0,Pt.k)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function qi(t,e,n,i){t.min=(0,Pt.k)(e.min,n.min,i),t.max=(0,Pt.k)(e.max,n.max,i)}function Yi(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const _i={duration:.45,ease:[.4,0,.1,1]},Qi=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Zi=Qi("applewebkit/")&&!Qi("chrome/")?Math.round:en.l;function Ji(t){t.min=Zi(t.min),t.max=Zi(t.max)}function ts(t,e,n){return"position"===t||"preserve-aspect"===t&&(i=wi(e),s=wi(n),o=.2,!(Math.abs(i-s)<=o));var i,s,o}function es(t){return t!==t.root&&t.scroll?.wasRoot}const ns=Di({attachResizeListener:(t,e)=>gn(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),is={current:void 0},ss=Di({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!is.current){const t=new ns({});t.mount(window),t.setOptions({layoutScroll:!0}),is.current=t}return is.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),os={pan:{Feature:class extends We{constructor(){super(...arguments),this.removePointerDownListener=en.l}onPointerDown(t){this.session=new En(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Sn(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:Xn(t),onStart:Xn(e),onMove:Xn(n),onEnd:(t,e)=>{delete this.session,i&&it.Gt.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=wn(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends We{constructor(t){super(t),this.removeGroupControls=en.l,this.removeListeners=en.l,this.controls=new Un(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||en.l}update(){const{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:ss,MeasureLayout:zn}};var rs=n(373);function as(t,e){const n=(0,rs.K)(t),i=new AbortController;return[n,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function ls(t,e,n={}){const[i,s,o]=as(t,n);return i.forEach(t=>{let n,i=!1,o=!1;const r=e=>{n&&(n(e),n=void 0),t.removeEventListener("pointerleave",l)},a=t=>{i=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,r(t))},l=t=>{"touch"!==t.pointerType&&(i?o=!0:r(t))};t.addEventListener("pointerenter",i=>{if("touch"===i.pointerType||sn())return;o=!1;const r=e(t,i);"function"==typeof r&&(n=r,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{i=!0,window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",a,s)},s)}),o}function cs(t,e,n){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);const s=i["onHover"+n];s&&it.Gt.postRender(()=>s(e,xn(e)))}var us=n(7990);const hs=(t,e)=>!!e&&(t===e||hs(t,e.parentElement)),ds=new WeakSet;function ps(t){return e=>{"Enter"===e.key&&t(e)}}function ms(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function fs(t){return vn(t)&&!sn()}const gs=new WeakSet;function ys(t,e,n={}){const[i,s,o]=as(t,n),r=t=>{const i=t.currentTarget;if(!fs(t))return;if(gs.has(t))return;ds.add(i),n.stopPropagation&&gs.add(t);const o=e(i,t),r={...s,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,r),window.removeEventListener("pointercancel",c,r),ds.has(i)&&ds.delete(i),fs(t)&&"function"==typeof o&&o(t,{success:e})},l=t=>{a(t,i===window||i===document||n.useGlobalTarget||hs(i,t.target))},c=t=>{a(t,!1)};window.addEventListener("pointerup",l,r),window.addEventListener("pointercancel",c,r)};
1return i.forEach(t=>{var e;(n.useGlobalTarget?window:t).addEventListener("pointerdown",r,s),(0,us.s)(t)&&(t.addEventListener("focus",t=>((t,e)=>{const n=t.currentTarget;if(!n)return;const i=ps(()=>{if(ds.has(n))return;ms(n,"down");const t=ps(()=>{ms(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>ms(n,"cancel"),e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)})(t,s)),e=t,mn.has(e.tagName)||!0===e.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),o}function vs(t,e,n){const{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);const s=i["onTap"+("End"===n?"":n)];s&&it.Gt.postRender(()=>s(e,xn(e)))}const xs=new WeakMap,ws=new WeakMap,Ss=t=>{const e=xs.get(t.target);e&&e(t)},bs=t=>{t.forEach(Ss)};function Ts(t,e,n){const i=function({root:t,...e}){const n=t||document;ws.has(n)||ws.set(n,{});const i=ws.get(n),s=JSON.stringify(e);return i[s]||(i[s]=new IntersectionObserver(bs,{root:t,...e})),i[s]}(e);return xs.set(t,n),i.observe(t),()=>{xs.delete(t),i.unobserve(t)}}const Ps={some:0,all:1};const Es=Fe({...tn,...{inView:{Feature:class extends We{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:s}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:Ps[i]};this.stopObserver=Ts(this.node.current,o,t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,s&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),o=e?n:i;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends We{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:e,propagate:n}=this.node.props;this.unmount=ys(t,(t,e)=>(vs(this.node,e,"Start"),(t,{success:e})=>vs(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:!1===n?.tap})}unmount(){}}},focus:{Feature:class extends We{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,bn.F)(gn(this.node.current,"focus",()=>this.onFocus()),gn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends We{mount(){const{current:t}=this.node;t&&(this.unmount=ls(t,(t,e)=>(cs(this.node,e,"Start"),t=>cs(this.node,t,"End"))))}unmount(){}}}},...os,...{layout:{ProjectionNode:ss,MeasureLayout:zn}}},Jt)},3413:(t,e,n)=>{"use strict";n.d(e,{E4:()=>a,Hr:()=>h,W9:()=>u});var i=n(5523),s=n(2871),o=n(6882),r=n(6227);const a=t=>t===o.ai||t===r.px,l=new Set(["x","y","z"]),c=s.U.filter(t=>!l.has(t));function u(t){const e=[];return c.forEach(n=>{const i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}const h={width:({x:t},{paddingLeft:e="0",paddingRight:n="0",boxSizing:i})=>{const s=t.max-t.min;return"border-box"===i?s:s-parseFloat(e)-parseFloat(n)},height:({y:t},{paddingTop:e="0",paddingBottom:n="0",boxSizing:i})=>{const s=t.max-t.min;return"border-box"===i?s:s-parseFloat(e)-parseFloat(n)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,i.ry)(e,"x"),y:(t,{transform:e})=>(0,i.ry)(e,"y")};h.translateX=h.x,h.translateY=h.y},3597:(t,e,n)=>{"use strict";n.d(e,{M:()=>i});const i=new Set(["opacity","clipPath","filter","transform","backgroundColor"])},3786:(t,e,n)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useIntersection",{enumerable:!0,get:function(){return c}});const i=n(4232),s=n(3273),o="function"==typeof IntersectionObserver,r=new Map,a=[];function l(t,e,n){const{id:i,observer:s,elements:o}=function(t){const e={root:t.root||null,margin:t.rootMargin||""},n=a.find(t=>t.root===e.root&&t.margin===e.margin);let i;if(n&&(i=r.get(n),i))return i;const s=new Map,o=new IntersectionObserver(t=>{t.forEach(t=>{const e=s.get(t.target),n=t.isIntersecting||t.intersectionRatio>0;e&&n&&e(n)})},t);return i={id:e,observer:o,elements:s},a.push(e),r.set(e,i),i}(n);return o.set(t,e),s.observe(t),function(){if(o.delete(t),s.unobserve(t),0===o.size){s.disconnect(),r.delete(i);const t=a.findIndex(t=>t.root===i.root&&t.margin===i.margin);t>-1&&a.splice(t,1)}}}function c(t){let{rootRef:e,rootMargin:n,disabled:r}=t;const a=r||!o,[c,u]=(0,i.useState)(!1),h=(0,i.useRef)(null),d=(0,i.useCallback)(t=>{h.current=t},[]);(0,i.useEffect)(()=>{if(o){if(a||c)return;const t=h.current;if(t&&t.tagName){return l(t,t=>t&&u(t),{root:null==e?void 0:e.current,rootMargin:n})}}else if(!c){const t=(0,s.requestIdleCallback)(()=>u(!0));return()=>(0,s.cancelIdleCallback)(t)}},[a,n,e,c,h.current]);const p=(0,i.useCallback)(()=>{u(!1)},[]);return[d,c,p]}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},3805:(t,e,n)=>{"use strict";n.d(e,{s:()=>u});var i=n(1200),s=n(4896),o=n(8906),r=n(2360),a=n(7605);function l(t,e){[...e].reverse().forEach(n=>{const i=t.getVariant(n);i&&(0,o.U)(t,i),t.variantChildren&&t.variantChildren.forEach(t=>{l(t,e)})})}function c(){let t=!1;const e=new Set,n={subscribe:t=>(e.add(t),()=>{e.delete(t)}),start(n,i){(0,a.V)(t,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");const s=[];return e.forEach(t=>{s.push((0,r._)(t,n,{transitionOverride:i}))}),Promise.all(s)},set:n=>((0,a.V)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),e.forEach(t=>{!function(t,e){Array.isArray(e)?l(t,e):"string"==typeof e?l(t,[e]):(0,o.U)(t,e)}(t,n)})),stop(){e.forEach(t=>{!function(t){t.values.forEach(t=>t.stop())}(t)})},mount:()=>(t=!0,()=>{t=!1,n.stop()})};return n}const u=function(){const t=(0,i.M)(c);return(0,s.E)(t.mount,[]),t}},3903:(t,e,n)=>{"use strict";n.d(e,{OQ:()=>c,bt:()=>a});var i=n(2433),s=n(630),o=n(4704),r=n(50);const a={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{const e=o.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){var e;this.current=t,this.updatedAt=o.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}setPrevFrameValue(t=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 i.v);const n=this.events[t].add(e);return"change"===t?()=>{n(),r.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=o.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,s.f)(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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function c(t,e){return new l(t,e)}},4009:(t,e,n)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{default:function(){return b},useLinkStatus:function(){return S}});const i=n(8365),s=n(7876),o=i._(n(4232)),r=n(4727),a=n(1623),l=n(170),c=n(464),u=n(125),h=n(242),d=n(3786),p=n(4327),m=n(9094),f=n(9203),g=(n(5785),new Set);function y(t,e,n,i){if((0,a.isLocalURL)(e)){if(!i.bypassPrefetchedCheck){const s=e+"%"+n+"%"+(void 0!==i.locale?i.locale:"locale"in t?t.locale:void 0);if(g.has(s))return;g.add(s)}t.prefetch(e,n,i).catch(t=>{0})}}function v(t){return"string"==typeof t?t:(0,l.formatUrl)(t)}const x=o.default.forwardRef(function(t,e){let n;const{href:i,as:l,children:g,prefetch:x=null,passHref:w,replace:S,shallow:b,scroll:T,locale:P,onClick:E,onNavigate:A,onMouseEnter:k,onTouchStart:M,legacyBehavior:C=!1,...V}=t;n=g,!C||"string"!=typeof n&&"number"!=typeof n||(n=(0,s.jsx)("a",{children:n}));const D=o.default.useContext(h.RouterContext),L=!1!==x;const{href:R,as:j}=o.default.useMemo(()=>{if(!D){const t=v(i);return{href:t,as:l?v(l):t}}const[t,e]=(0,r.resolveHref)(D,i,!0);return{href:t,as:l?(0,r.resolveHref)(D,l):e||t}},[D,i,l]),B=o.default.useRef(R),O=o.default.useRef(j);let I;C&&(I=o.default.Children.only(n));const F=C?I&&"object"==typeof I&&I.ref:e,[W,U,G]=(0,d.useIntersection)({rootMargin:"200px"}),N=o.default.useCallback(t=>{O.current===j&&B.current===R||(G(),O.current=j,B.current=R),W(t)},[j,R,G,W]),X=(0,f.useMergedRef)(N,F);o.default.useEffect(()=>{D&&U&&L&&y(D,R,j,{locale:P})},[j,R,U,P,L,null==D?void 0:D.locale,D]);const $={ref:X,onClick(t){C||"function"!=typeof E||E(t),C&&I.props&&"function"==typeof I.props.onClick&&I.props.onClick(t),D&&(t.defaultPrevented||function(t,e,n,i,s,o,r,l,c){const{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&function(t){const e=t.currentTarget.getAttribute("target");return e&&"_self"!==e||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}(t)||t.currentTarget.hasAttribute("download"))return;if(!(0,a.isLocalURL)(n))return void(s&&(t.preventDefault(),location.replace(n)));t.preventDefault(),(()=>{if(c){let t=!1;if(c({preventDefault:()=>{t=!0}}),t)return}const t=null==r||r;"beforePopState"in e?e[s?"replace":"push"](n,i,{shallow:o,locale:l,scroll:t}):e[s?"replace":"push"](i||n,{scroll:t})})()}(t,D,R,j,S,b,T,P,A))},onMouseEnter(t){C||"function"!=typeof k||k(t),C&&I.props&&"function"==typeof I.props.onMouseEnter&&I.props.onMouseEnter(t),D&&y(D,R,j,{locale:P,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(t){C||"function"!=typeof M||M(t),C&&I.props&&"function"==typeof I.props.onTouchStart&&I.props.onTouchStart(t),D&&y(D,R,j,{locale:P,priority:!0,bypassPrefetchedCheck:!0})}};if((0,c.isAbsoluteUrl)(j))$.href=j;else if(!C||w||"a"===I.type&&!("href"in I.props)){const t=void 0!==P?P:null==D?void 0:D.locale,e=(null==D?void 0:D.isLocaleDomain)&&(0,p.getDomainLocale)(j,t,null==D?void 0:D.locales,null==D?void 0:D.domainLocales);$.href=e||(0,m.addBasePath)((0,u.addLocale)(j,t,null==D?void 0:D.defaultLocale))}return C?o.default.cloneElement(I,$):(0,s.jsx)("a",{...V,...$,children:n})}),w=(0,o.createContext)({pending:!1}),S=()=>(0,o.useContext)(w),b=x;("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},4270:(t,e,n)=>{"use strict";function i(t,e,n,i=0,s=1){const o=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),r=t.size,a=(r-1)*i;return"function"==typeof n?n(o,r):1===s?o*i:a-o*i}n.d(e,{L:()=>i})},4327:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getDomainLocale",{enumerable:!0,get:function(){return i}});n(9783);function i(t,e,n,i){return!1}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},4384:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(2589),s=n(1853);function o(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let o=1;o<=e;o++){const r=(0,i.q)(0,e,o);t.push((0,s.k)(n,1,r))}}(e,t.length-1),e}},4650:(t,e,n)=>{"use strict";n.d(e,{f:()=>Rt});var i=n(1750),s=n(5073),o=n(620),r=n(4704),a=n(1784),l=n(2679),c=n(6751),u=n(50);const h=t=>{const e=({timestamp:e})=>t(e);return{start:(t=!0)=>u.Gt.update(e,t),stop:()=>(0,u.WG)(e),now:()=>u.uv.isProcessing?u.uv.timestamp:r.k.now()}};var d=n(7605),p=n(8038);const m=2e4;function f(t){let e=0;let n=t.next(e);for(;!n.done&&e<m;)e+=50,n=t.next(e);return e>=m?1/0:e}const g=100,y=10,v=1,x=0,w=800,S=.3,b=.3,T={granular:.01,default:2},P={granular:.005,default:.5},E=.01,A=10,k=.05,M=1;function C(t,e){return t*Math.sqrt(1-e*e)}const V=.001;const D=["duration","bounce"],L=["stiffness","damping","mass"];function R(t,e){return e.some(e=>void 0!==t[e])}function j(t){let e={velocity:x,stiffness:g,damping:y,mass:v,isResolvedFromDuration:!1,...t};if(!R(t,L)&&R(t,D))if(e.velocity=0,t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(1.2*n),s=i*i,o=2*(0,l.q)(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:v,stiffness:s,damping:o}}else{const n=function({duration:t=w,bounce:e=S,velocity:n=x,mass:s=v}){let o,r;(0,d.$)(t<=(0,i.f)(A),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=(0,l.q)(k,M,a),t=(0,l.q)(E,A,(0,i.X)(t)),a<1?(o=e=>{const i=e*a,s=i*t,o=i-n,r=C(e,a),l=Math.exp(-s);return V-o/r*l},r=e=>{const i=e*a*t,s=i*n+n,r=Math.pow(a,2)*Math.pow(e,2)*t,l=Math.exp(-i),c=C(Math.pow(e,2),a);return(-o(e)+V>0?-1:1)*((s-r)*l)/c}):(o=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,r=e=>Math.exp(-e*t)*(t*t*(n-e)));const c=function(t,e,n){let i=n;for(let n=1;n<12;n++)i-=t(i)/e(i);return i}(o,r,5/t);if(t=(0,i.f)(t),isNaN(c))return{stiffness:g,damping:y,duration:t};{const e=Math.pow(c,2)*s;
1return{stiffness:e,damping:2*a*Math.sqrt(s*e),duration:t}}}({...t,velocity:0});e={...e,...n,mass:v},e.isResolvedFromDuration=!0}return e}function B(t=b,e=S){const n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:o}=n;const r=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:r},{stiffness:c,damping:u,mass:h,duration:d,velocity:g,isResolvedFromDuration:y}=j({...n,velocity:-(0,i.X)(n.velocity||0)}),v=g||0,x=u/(2*Math.sqrt(c*h)),w=a-r,E=(0,i.X)(Math.sqrt(c/h)),A=Math.abs(w)<5;let k,M,V,D,L,R;if(s||(s=A?T.granular:T.default),o||(o=A?P.granular:P.default),x<1)V=C(E,x),D=(v+x*E*w)/V,k=t=>{const e=Math.exp(-x*E*t);return a-e*(D*Math.sin(V*t)+w*Math.cos(V*t))},L=x*E*D+w*V,R=x*E*w-D*V,M=t=>Math.exp(-x*E*t)*(L*Math.sin(V*t)+R*Math.cos(V*t));else if(1===x){k=t=>a-Math.exp(-E*t)*(w+(v+E*w)*t);const t=v+E*w;M=e=>Math.exp(-E*e)*(E*t*e-v)}else{const t=E*Math.sqrt(x*x-1);k=e=>{const n=Math.exp(-x*E*e),i=Math.min(t*e,300);return a-n*((v+x*E*w)*Math.sinh(i)+t*w*Math.cosh(i))/t};const e=(v+x*E*w)/t,n=x*E*e-w*t,i=x*E*w-e*t;M=e=>{const s=Math.exp(-x*E*e),o=Math.min(t*e,300);return s*(n*Math.sinh(o)+i*Math.cosh(o))}}const B={calculatedDuration:y&&d||null,velocity:t=>(0,i.f)(M(t)),next:t=>{if(!y&&x<1){const e=Math.exp(-x*E*t),n=Math.sin(V*t),r=Math.cos(V*t),c=a-e*(D*n+w*r),u=(0,i.f)(e*(L*n+R*r));return l.done=Math.abs(u)<=s&&Math.abs(a-c)<=o,l.value=l.done?a:c,l}const e=k(t);if(y)l.done=t>=d;else{const n=(0,i.f)(M(t));l.done=Math.abs(n)<=s&&Math.abs(a-e)<=o}return l.value=l.done?a:e,l},toString:()=>{const t=Math.min(f(B),m),e=(0,p.K)(e=>B.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return B}B.applyToOptions=t=>{const e=function(t,e=100,n){const s=n({...t,keyframes:[0,e]}),o=Math.min(f(s),m);return{type:"keyframes",ease:t=>s.next(o*t).value/e,duration:(0,i.X)(o)}}(t,100,B);return t.ease=e.ease,t.duration=(0,i.f)(e.duration),t.type="keyframes",t};var O=n(630);function I(t,e,n){const i=Math.max(e-5,0);return(0,O.f)(n-t(i),e-i)}function F({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:c=.5,restSpeed:u}){const h=t[0],d={done:!1,value:h},p=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l;let m=n*e;const f=h+m,g=void 0===r?f:r(f);g!==f&&(m=g-h);const y=t=>-m*Math.exp(-t/i),v=t=>g+y(t),x=t=>{const e=y(t),n=v(t);d.done=Math.abs(e)<=c,d.value=d.done?g:n};let w,S;const b=t=>{var e;(e=d.value,void 0!==a&&e<a||void 0!==l&&e>l)&&(w=t,S=B({keyframes:[d.value,p(d.value)],velocity:I(v,t,d.value),damping:s,stiffness:o,restDelta:c,restSpeed:u}))};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return S||void 0!==w||(e=!0,x(t),b(t)),void 0!==w&&t>=w?S.next(t-w):(!e&&x(t),d)}}}const W=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function U(t,e,n,i){if(t===e&&n===i)return o.l;const s=e=>function(t,e,n,i,s){let o,r,a=0;do{r=e+(n-e)/2,o=W(r,i,s)-t,o>0?n=r:e=r}while(Math.abs(o)>1e-7&&++a<12);return r}(e,0,1,t,n);return t=>0===t||1===t?t:W(s(t),e,i)}const G=U(.42,0,1,1),N=U(0,0,.58,1),X=U(.42,0,.58,1);var $=n(5108),K=n(943);const H=U(.33,1.53,.69,.99),z=(0,K.G)(H),q=(0,$.V)(z),Y=t=>t>=1?1:(t*=2)<1?.5*z(t):.5*(2-Math.pow(2,-10*(t-1)));var _=n(6453),Q=n(1252);const Z={linear:o.l,easeIn:G,easeInOut:X,easeOut:N,circIn:_.po,circInOut:_.tn,circOut:_.yT,backIn:z,backInOut:q,backOut:H,anticipate:Y},J=t=>{if((0,Q.D)(t)){(0,d.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[e,n,i,s]=t;return U(e,n,i,s)}return"string"==typeof t?((0,d.V)(void 0!==Z[t],`Invalid easing type '${t}'`,"invalid-easing-type"),Z[t]):t};var tt=n(1574),et=n(4384);function nt({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const s=(t=>Array.isArray(t)&&"number"!=typeof t[0])(i)?i.map(J):J(i),o={done:!1,value:e[0]},r=function(t,e){return t.map(t=>t*e)}(n&&n.length===e.length?n:(0,et.Z)(e),t),a=(0,tt.G)(r,e,{ease:Array.isArray(s)?s:(l=e,c=s,l.map(()=>c||X).splice(0,l.length-1))});var l,c;return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}var it=n(6711);
1const st={decay:F,inertia:F,tween:nt,keyframes:nt,spring:B};function ot(t){"string"==typeof t.type&&(t.type=st[t.type])}var rt=n(5063);const at=t=>t/100;class lt extends rt.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:t}=this.options;t&&t.updatedAt!==r.k.now()&&this.tick(r.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){const{options:t}=this;ot(t);const{type:e=nt,repeat:n=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:r}=t;const l=e||nt;l!==nt&&"number"!=typeof r[0]&&(this.mixKeyframes=(0,a.F)(at,(0,c.j)(r[0],r[1])),r=[0,100]);const u=l({...t,keyframes:r});"mirror"===s&&(this.mirroredGenerator=l({...t,keyframes:[...r].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=f(u));const{calculatedDuration:h}=u;this.calculatedDuration=h,this.resolvedDuration=h+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=u}updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){const{generator:n,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:r,calculatedDuration:a}=this;if(null===this.startTime)return n.next(0);const{delay:c=0,keyframes:u,repeat:h,repeatType:d,repeatDelay:p,type:m,onUpdate:f,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);const y=this.currentTime-c*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>i;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let x,w=this.currentTime,S=n;if(h){const t=Math.min(this.currentTime,i)/r;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,h+1);Boolean(e%2)&&("reverse"===d?(n=1-n,p&&(n-=p/r)):"mirror"===d&&(S=o)),w=(0,l.q)(0,1,n)*r}v?(this.delayState.value=u[0],x=this.delayState):x=S.next(w),s&&!v&&(x.value=s(x.value));let{done:b}=x;v||null===a||(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&b);return T&&m!==F&&(x.value=(0,it.X)(u,this.options,g,this.speed)),f&&f(x.value),T&&this.finish(),x}then(t,e){return this.finished.then(t,e)}get duration(){return(0,i.X)(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+(0,i.X)(t)}get time(){return(0,i.X)(this.currentTime)}set time(t){t=(0,i.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);return I(t=>this.generator.next(t).value,t,this.generator.next(t).value)}get speed(){return this.playbackSpeed}set speed(t){const e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(r.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,i.X)(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=h,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(r.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var ct=n(8331),ut=n(5965),ht=n(810);const dt={anticipate:Y,backInOut:q,circInOut:_.tn};function pt(t){"string"==typeof t.ease&&t.ease in dt&&(t.ease=dt[t.ease])}class mt extends ht.m{constructor(t){pt(t),ot(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:e,onUpdate:n,onComplete:i,element:s,...o}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);const a=new lt({...o,autoplay:!1}),c=Math.max(10,r.k.now()-this.startTime),u=(0,l.q)(0,10,c-10),h=a.sample(c).value,{name:d}=this.options;s&&d&&(0,ut.e)(s,d,h),e.setWithVelocity(a.sample(Math.max(0,c-u)).value,h,u),a.stop()}}var ft=n(5609),gt=n(1783);const yt=(t,e)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!gt.f.test(t)&&"0"!==t||t.startsWith("url(")));function vt(t){t.duration=0,t.type="keyframes"}var xt=n(7862),wt=n(3597);const St=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;const bt=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Tt=(0,xt.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Pt(t){const{motionValue:e,name:n,repeatDelay:i,repeatType:s,damping:o,type:r,keyframes:a}=t,l=e?.owner?.current;if(!(l instanceof HTMLElement||l instanceof SVGElement))return!1;const{onUpdate:c,transformTemplate:u}=e.owner.getProps();return Tt()&&n&&(wt.M.has(n)||bt.has(n)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&St.test(t[e]))return!0;return!1}(a))&&("transform"!==n||!u)&&!c&&!i&&"mirror"!==s&&0!==o&&"inertia"!==r}class Et extends rt.q{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:
1o="loop",keyframes:a,name:l,motionValue:c,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=r.k.now();const d={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:s,repeatType:o,name:l,motionValue:c,element:u,...h},p=u?.KeyframeResolver||ct.h;this.keyframeResolver=new p(a,(t,e,n)=>this.onKeyframesResolved(t,e,d,!n),l,c,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,i){this.keyframeResolver=void 0;const{name:a,type:l,velocity:c,delay:u,isHandoff:h,onUpdate:p}=n;this.resolvedAt=r.k.now();let m=!0;(function(t,e,n,i){const s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;const o=t[t.length-1],r=yt(s,e),a=yt(o,e);return(0,d.$)(r===a,`You are trying to animate ${e} from "${s}" to "${o}". "${r?o:s}" is not an animatable value.`,"value-not-animatable"),!(!r||!a)&&(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||(0,ft.W)(n))&&i)})(t,a,l,c)||(m=!1,!s.W.instantAnimations&&u||p?.((0,it.X)(t,n,e)),t[0]=t[t.length-1],vt(n),n.repeat=0);const f={startTime:i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...n,keyframes:t},g=m&&!h&&Pt(f),y=f.motionValue?.owner?.current;let v;if(g)try{v=new mt({...f,element:y})}catch{v=new lt(f)}else v=new lt(f);v.finished.then(()=>{this.notifyFinished()}).catch(o.l),this.pendingTimeline&&(this.stopTimeline=v.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=v}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,ct.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}var At=n(7774),kt=n(2871);const Mt={type:"spring",stiffness:500,damping:25,restSpeed:10},Ct={type:"keyframes",duration:.8},Vt={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Dt=(t,{keyframes:e})=>e.length>2?Ct:kt.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:Mt:Vt,Lt=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);const Rt=(t,e,n,o={},r,a)=>l=>{const c=(0,At.r)(o,t)||{},h=c.delay||o.delay||0;let{elapsed:d=0}=o;d-=(0,i.f)(h);const p={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...c,delay:-d,onUpdate:t=>{e.set(t),c.onUpdate&&c.onUpdate(t)},onComplete:()=>{l(),c.onComplete&&c.onComplete()},name:t,motionValue:e,element:a?void 0:r};(function(t){for(const e in t)if(!Lt.has(e))return!0;return!1})(c)||Object.assign(p,Dt(t,p)),p.duration&&(p.duration=(0,i.f)(p.duration)),p.repeatDelay&&(p.repeatDelay=(0,i.f)(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let m=!1;if((!1===p.type||0===p.duration&&!p.repeatDelay)&&(vt(p),0===p.delay&&(m=!0)),(s.W.instantAnimations||s.W.skipAnimations||r?.shouldSkipAnimations||c.skipAnimations)&&(m=!0,vt(p),p.delay=0),p.allowFlatten=!c.type&&!c.ease,m&&!a&&void 0!==e.get()){const t=(0,it.X)(p.keyframes,c);if(void 0!==t)return void u.Gt.update(()=>{p.onUpdate(t),p.onComplete()})}return c.isSync?new lt(p):new Et(p)}},4704:(t,e,n)=>{"use strict";n.d(e,{k:()=>a});var i=n(5073),s=n(50);let o;function r(){o=void 0}const a={now:()=>(void 0===o&&a.set(s.uv.isProcessing||i.W.useManualTiming?s.uv.timestamp:performance.now()),o),set:t=>{o=t,queueMicrotask(r)}}},4896:(t,e,n)=>{"use strict";n.d(e,{E:()=>s});var i=n(4232);const s="undefined"!=typeof window?i.useLayoutEffect:i.useEffect},5063:(t,e,n)=>{"use strict";n.d(e,{q:()=>i});class i{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}},5073:(t,e,n)=>{"use strict";n.d(e,{W:()=>i});const i={}},5108:(t,e,n)=>{"use strict";n.d(e,{V:()=>i});const i=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},5523:(t,e,n)=>{"use strict";n.d(e,{Ib:()=>d,ry:()=>h,zs:()=>u});const i=t=>180*t/Math.PI,s=t=>{const e=i(Math.atan2(t[1],t[0]));return r(e)},o={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:s,rotateZ:s,skewX:t=>i(Math.atan(t[1])),skewY:t=>i(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},r=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),c={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>r(i(Math.atan2(t[6],t[5]))),rotateY:t=>r(i(Math.atan2(-t[2],t[0]))),rotateZ:s,rotate:s,skewX:t=>i(Math.atan(t[4])),skewY:t=>i(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function u(t){return t.includes("scale")?1:0}function h(t,e){if(!t||"none"===t)return u(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,s;if(n)i=c,s=n;else{const e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=o,s=e}if(!s)return u(e);const r=i[e],a=s[1].split(",").map(p);return"function"==typeof r?r(a):a[r]}const d=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return h(n,e)};function p(t){return parseFloat(t.trim())}},5609:(t,e,n)=>{"use strict";function i(t){return"function"==typeof t&&"applyToOptions"in t}n.d(e,{W:()=>i})},5785:(t,e)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"errorOnce",{enumerable:!0,get:function(){return n}});let n=t=>{}},5965:(t,e,n)=>{"use strict";n.d(e,{e:()=>s});const i=t=>t.startsWith("--");function s(t,e,n){i(e)?t.style.setProperty(e,n):t.style[e]=n}},6227:(t,e,n)=>{"use strict";n.d(e,{KN:()=>o,gQ:()=>c,px:()=>r,uj:()=>s,vh:()=>a,vw:()=>l});const i=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),s=i("deg"),o=i("%"),r=i("px"),a=i("vh"),l=i("vw"),c=(()=>({...o,parse:t=>o.parse(t)/100,transform:t=>o.transform(100*t)}))()},6241:(t,e,n)=>{"use strict";n.d(e,{y:()=>r});var i=n(1402),s=n(1983),o=n(1435);const r={test:t=>o.B.test(t)||i.u.test(t)||s.V.test(t),parse:t=>o.B.test(t)?o.B.parse(t):s.V.test(t)?s.V.parse(t):i.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?o.B.transform(t):s.V.transform(t),getAnimatableNone:t=>{const e=r.parse(t);return e.alpha=0,r.transform(e)}}},6453:(t,e,n)=>{"use strict";n.d(e,{po:()=>o,tn:()=>a,yT:()=>r});var i=n(5108),s=n(943);const o=t=>1-Math.sin(Math.acos(t)),r=(0,s.G)(o),a=(0,i.V)(o)},6627:(t,e,n)=>{"use strict";function i(t){const e=[{},{}];return t?.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function s(t,e,n,s){if("function"==typeof e){const[o,r]=i(s);e=e(void 0!==n?n:t.custom,o,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){const[o,r]=i(s);e=e(void 0!==n?n:t.custom,o,r)}return e}n.d(e,{a:()=>s})},6711:(t,e,n)=>{"use strict";n.d(e,{X:()=>s});const i=t=>null!==t;function s(t,{repeat:e,repeatType:n="loop"},s,o=1){const r=t.filter(i),a=o<0||e&&"loop"!==n&&e%2==1?0:r.length-1;return a&&void 0!==s?s:r[a]}},6751:(t,e,n)=>{"use strict";n.d(e,{j:()=>P});var i=n(1784),s=n(7605),o=n(8975),r=n(6241),a=n(1783),l=n(1402),c=n(1983);function u(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var h=n(1435);function d(t,e){return n=>n>0?e:t}var p=n(1853);const m=(t,e,n)=>{const i=t*t,s=n*(e*e-i)+i;return s<0?0:Math.sqrt(s)},f=[l.u,h.B,c.V];function g(t){const e=(n=t,f.find(t=>t.test(n)));var n;if((0,s.$)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!Boolean(e))return!1;let i=e.parse(t);return e===c.V&&(i=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let s=0,o=0,r=0;if(e/=100){const i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;s=u(a,i,t+1/3),o=u(a,i,t),r=u(a,i,t-1/3)}else s=o=r=n;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*r),alpha:i}}(i)),i}const y=(t,e)=>{const n=g(t),i=g(e);if(!n||!i)return d(t,e);const s={...n};return t=>(s.red=m(n.red,i.red,t),s.green=m(n.green,i.green,t),s.blue=m(n.blue,i.blue,t),s.alpha=(0,p.k)(n.alpha,i.alpha,t),h.B.transform(s))},v=new Set(["none","hidden"]);function x(t,e){return n=>(0,p.k)(t,e,n)}function w(t){return"number"==typeof t?x:"string"==typeof t?(0,o.pG)(t)?d:r.y.test(t)?y:T:Array.isArray(t)?S:"object"==typeof t?r.y.test(t)?y:b:d}function S(t,e){const n=[...t],i=n.length,s=t.map((t,n)=>w(t)(t,e[n]));return t=>{for(let e=0;e<i;e++)n[e]=s[e](t);return n}}function b(t,e){const n={...t,...e},i={};for(const s in n)void 0!==t[s]&&void 0!==e[s]&&(i[s]=w(t[s])(t[s],e[s]));return t=>{for(const e in i)n[e]=i[e](t);return n}}const T=(t,e)=>{const n=a.f.createTransformer(e),o=(0,a.V)(t),r=(0,a.V)(e);return o.indexes.var.length===r.indexes.var.length&&o.indexes.color.length===r.indexes.color.length&&o.indexes.number.length>=r.indexes.number.length?v.has(t)&&!r.values.length||v.has(e)&&!o.values.length?function(t,e){return v.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):(0,i.F)(S(function(t,e){const n=[],i={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){const o=e.types[s],r=t.indexes[o][i[o]],a=t.values[r]??0;n[s]=a,i[o]++}return n}(o,r),r.values),n):((0,s.$)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),d(t,e))};function P(t,e,n){if("number"==typeof t&&"number"==typeof e&&"number"==typeof n)return(0,p.k)(t,e,n);return w(t)(t,e)}},6845:(t,e,n)=>{"use strict";n.d(e,{I:()=>r});var i=n(5073);const s=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];const o=40;function r(t,e){let n=!1,r=!0;const a={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,c=s.reduce((t,e)=>(t[e]=function(t){let e=new Set,n=new Set,i=!1,s=!1;const o=new WeakSet;let r={delta:0,timestamp:0,isProcessing:!1};function a(e){o.has(e)&&(l.schedule(e),t()),e(r)}const l={schedule:(t,s=!1,r=!1)=>{const a=r&&i?e:n;return s&&o.add(t),a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(r=t,i)return void(s=!0);i=!0;const o=e;e=n,n=o,e.forEach(a),e.clear(),i=!1,s&&(s=!1,l.process(t))}};return l}(l),t),{}),{setup:u,read:h,resolveKeyframes:d,preUpdate:p,update:m,preRender:f,render:g,postRender:y}=c,v=()=>{const s=i.W.useManualTiming,l=s?a.timestamp:performance.now();n=!1,s||(a.delta=r?1e3/60:Math.max(Math.min(l-a.timestamp,o),1)),a.timestamp=l,a.isProcessing=!0,u.process(a),h.process(a),d.process(a),p.process(a),m.process(a),f.process(a),g.process(a),y.process(a),a.isProcessing=!1,n&&e&&(r=!1,t(v))};return{schedule:s.reduce((e,i)=>{const s=c[i];return e[i]=(e,i=!1,o=!1)=>(n||(n=!0,r=!0,a.isProcessing||t(v)),s.schedule(e,i,o)),e},{}),cancel:t=>{for(let e=0;e<s.length;e++)c[s[e]].cancel(t)},state:a,steps:c}}},6882:(t,e,n)=>{"use strict";n.d(e,{X4:()=>o,ai:()=>s,hs:()=>r});var i=n(2679);const s={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},o={...s,transform:t=>(0,i.q)(0,1,t)},r={...s,default:1}},7594:(t,e,n)=>{"use strict";n.d(e,{G:()=>i});const i=t=>"object"==typeof t&&null!==t},7605:(t,e,n)=>{"use strict";n.d(e,{$:()=>i,V:()=>s});n(5364);let i=()=>{},s=()=>{}},7673:(t,e,n)=>{"use strict";n.d(e,{J:()=>
1o});var i=n(7862);const s={};function o(t,e){const n=(0,i.p)(t);return()=>s[e]??n()}},7774:(t,e,n)=>{"use strict";n.d(e,{r:()=>s});var i=n(9570);function s(t,e){const n=t?.[e]??t?.default??t;return n!==t?(0,i.K)(n,t):n}},7862:(t,e,n)=>{"use strict";function i(t){let e;return()=>(void 0===e&&(e=t()),e)}n.d(e,{p:()=>i})},7990:(t,e,n)=>{"use strict";n.d(e,{s:()=>s});var i=n(7594);function s(t){return(0,i.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}},8038:(t,e,n)=>{"use strict";n.d(e,{K:()=>i});const i=(t,e,n=10)=>{let i="";const s=Math.max(Math.round(e/n),2);for(let e=0;e<s;e++)i+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`}},8205:(t,e,n)=>{"use strict";function i(t,e){-1===t.indexOf(e)&&t.push(e)}function s(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{Ai:()=>s,Kq:()=>i})},8230:(t,e,n)=>{t.exports=n(4009)},8254:(t,e,n)=>{"use strict";n.d(e,{$:()=>s});var i=n(2871);const s=new Set(["width","height","top","left","right","bottom",...i.U])},8331:(t,e,n)=>{"use strict";n.d(e,{h:()=>d,q:()=>h});var i=n(3413),s=n(50);const o=new Set;let r=!1,a=!1,l=!1;function c(){if(a){const t=Array.from(o).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{const e=(0,i.W9)(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();const e=n.get(t);e&&e.forEach(([e,n])=>{t.getValue(e)?.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,r=!1,o.forEach(t=>t.complete(l)),o.clear()}function u(){o.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function h(){l=!0,u(),c(),l=!1}class d{constructor(t,e,n,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(o.add(this),r||(r=!0,s.Gt.read(u),s.Gt.resolveKeyframes(c))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;if(null===t[0]){const s=i?.get(),o=t[t.length-1];if(void 0!==s)t[0]=s;else if(n&&e){const i=n.readValue(e,o);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=o),i&&void 0===s&&i.set(t[0])}!function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),o.delete(this)}cancel(){"scheduled"===this.state&&(o.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},8543:(t,e,n)=>{"use strict";n.d(e,{K:()=>s});var i=n(6627);function s(t,e,n){const s=t.getProps();return(0,i.a)(s,e,void 0!==n?n:s.custom,t)}},8738:(t,e,n)=>{"use strict";n.d(e,{S:()=>i});const i=t=>Boolean(t&&t.getVelocity)},8906:(t,e,n)=>{"use strict";n.d(e,{U:()=>l});var i=n(3903),s=n(8543),o=n(1464);function r(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,i.OQ)(n))}function a(t){return(0,o.p)(t)?t[t.length-1]||0:t}function l(t,e){const n=(0,s.K)(t,e);let{transitionEnd:i={},transition:o={},...l}=n||{};l={...l,...i};for(const e in l){r(t,e,a(l[e]))}}},8975:(t,e,n)=>{"use strict";n.d(e,{j4:()=>s,pG:()=>r,rm:()=>l});const i=t=>e=>"string"==typeof e&&e.startsWith(t),s=i("--"),o=i("var(--"),r=t=>!!o(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}},9098:(t,e,n)=>{"use strict";function i(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}n.d(e,{I:()=>i})},9280:(t,e,n)=>{"use strict";n.d(e,{X:()=>g});var i=n(2549),s=n(373);const o=new WeakMap;let r;const a=(t,e,n)=>(s,o)=>o&&o[0]?o[0][t+"Size"]:(0,i.x)(s)&&"getBBox"in s?s.getBBox()[e]:s[n],l=a("inline","width","offsetWidth"),c=a("block","height","offsetHeight");function u({target:t,borderBoxSize:e}){o.get(t)?.forEach(n=>{n(t,{get width(){return l(t,e)},get height(){return c(t,e)}})})}function h(t){t.forEach(u)}function d(t,e){r||"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(h));const n=(0,s.K)(t);
1return n.forEach(t=>{let n=o.get(t);n||(n=new Set,o.set(t,n)),n.add(e),r?.observe(t)}),()=>{n.forEach(t=>{const n=o.get(t);n?.delete(e),n?.size||r?.unobserve(t)})}}const p=new Set;let m;function f(t){return p.add(t),m||(m=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};p.forEach(e=>e(t))},window.addEventListener("resize",m)),()=>{p.delete(t),p.size||"function"!=typeof m||(window.removeEventListener("resize",m),m=void 0)}}function g(t,e){return"function"==typeof t?f(t):d(t,e)}},9570:(t,e,n)=>{"use strict";function i(t,e){if(t?.inherit&&e){const{inherit:n,...i}=t;return{...e,...i}}return t}n.d(e,{K:()=>i})},9739:(t,e,n)=>{"use strict";n.d(e,{J:()=>s,d:()=>o});var i=n(7673);const s=(0,i.J)(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),o=(0,i.J)(()=>void 0!==window.ViewTimeline,"viewTimeline")},9751:(t,e,n)=>{"use strict";n.d(e,{Q:()=>i});const i=(0,n(4232).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},9954:(t,e,n)=>{"use strict";n.d(e,{g:()=>o});var i=n(5073),s=n(8738);function o(t,e){const n=t.getValue("willChange");if(o=n,Boolean((0,s.S)(o)&&o.add))return n.add(e);if(!n&&i.W.WillChange){const n=new i.W.WillChange("auto");t.addValue("willChange",n),n.add(e)}var o}}}]);

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.