https://adspoke.ai/_next/static/chunks/9676-326d783571abe9f5.js?dpl=dpl_2ocJSfxsDhkWtgCQsb99t37YoLVs
1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9676],{84:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.sendGTMEvent=void 0,e.GoogleTagManager=function(t){let{gtmId:e,gtmScriptUrl:i="https://www.googletagmanager.com/gtm.js",dataLayerName:o="dataLayer",auth:l,preview:u,dataLayer:h,nonce:d}=t;a=o;let c="dataLayer"!==o?"&l=".concat(o):"";return(0,r.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:"\n (function(w,l){\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});\n ".concat(h?"w[l].push(".concat(JSON.stringify(h),")"):"","\n })(window,'").concat(o,"');")},nonce:d}),(0,n.jsx)(s.default,{id:"_next-gtm","data-ntpc":"GTM",src:"".concat(i,"?id=").concat(e).concat(c).concat(l?">m_auth=".concat(l):"").concat(u?">m_preview=".concat(u,">m_cookies_win=x"):""),nonce:d})]})};let n=i(33307),r=i(90507),s=function(t){return t&&t.__esModule?t:{default:t}}(i(33006)),a="dataLayer";e.sendGTMEvent=(t,e)=>{let i=e||a;window[i]=window[i]||[],window[i].push(t)}},2042:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>o,yT:()=>a});var n=i(33999),r=i(67882);let s=t=>1-Math.sin(Math.acos(t)),a=(0,r.G)(s),o=(0,n.V)(s)},2252:(t,e,i)=>{i.d(e,{x:()=>r});var n=i(65929);function r(t){return(0,n.G)(t)&&"ownerSVGElement"in t}}
1,2705:(t,e,i)=>{i.d(e,{Z:()=>r});var n=i(98979);function r(t){let e=[0];return(0,n.f)(e,t.length-1),e}},3436:(t,e,i)=>{i.d(e,{OQ:()=>h});var n=i(71004),r=i(27697),s=i(6387),a=i(43653);let o=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.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(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=o(this.current))}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 n.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),a.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}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 l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.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 h(t,e){return new u(t,e)}},5031:(t,e,i)=>{i.d(e,{h:()=>c,q:()=>d});var n=i(94694),r=i(43653);let s=new Set,a=!1,o=!1,l=!1;function u(){if(o){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,n.W9)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}o=!1,a=!1,s.forEach(t=>t.complete(l)),s.clear()}function h(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(o=!0)})}function d(){l=!0,h(),u(),l=!1}class c{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(s.add(this),a||(a=!0,r.Gt.read(h),r.Gt.resolveKeyframes(u))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),s.delete(this)}cancel(){"scheduled"===this.state&&(s.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},5476:(t,e,i)=>{i.d(e,{z:()=>s});var n=i(30232),r=i(28660);function s(t,{layout:e,layoutId:i}){return n.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!r.H[t]||"opacity"===t)}},5718:(t,e,i)=>{i.d(e,{V:()=>o});var n=i(55149),r=i(30784),s=i(31979),a=i(65492);let o={test:(0,a.$)("hsl","hue"),parse:(0,a.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:a=1})=>"hsla("+Math.round(t)+", "+r.KN.transform((0,s.a)(e))+", "+r.KN.transform((0,s.a)(i))+", "+(0,s.a)(n.X4.transform(a))+")"}},6387:(t,e,i)=>{let n;i.d(e,{k:()=>o});var r=i(31865),s=i(43653);function a(){n=void 0}let o={now:()=>(void 0===n&&o.set(s.uv.isProcessing||r.W.useManualTiming?s.uv.timestamp:performance.now()),n),set
1:t=>{n=t,queueMicrotask(a)}}},7046:(t,e,i)=>{i.d(e,{w:()=>n});function n(t){return"string"==typeof t||Array.isArray(t)}},7575:(t,e,i)=>{i.d(e,{Y:()=>r});var n=i(27697);function r(t,e,i){let r=Math.max(e-5,0);return(0,n.f)(i-t(r),e-r)}},8284:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},9337:(t,e,i)=>{i.d(e,{l:()=>p});var n=i(30232),r=i(81224),s=i(54843),a=i(85076),o=i(42903),l=i(59492);let u=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"]);var h=i(36288),d=i(97173),c=i(12032);class p extends a.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.f.has(e)){let t=(0,r.D)(e);return t&&t.default||0}return e=u.has(e)?e:(0,o.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,c.x)(t,e,i)}build(t,e,i){(0,l.B)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in(0,d.e)(t,e,void 0,n),e.attrs)t.setAttribute(u.has(i)?i:(0,o.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,h.n)(t.tagName),super.mount(t)}}},11082:(t,e,i)=>{i.d(e,{f:()=>tI});var n=i(87343);function r(t){t.duration=0,t.type="keyframes"}var s=i(43653),a=i(96545),o=i(55128),l=i(24605),u=i(6387),h=i(80474),d=i(89044),c=i(73968),p=i(86582),m=i(18383),f=i(45073),v=i(5718);function g(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var y=i(97042);function x(t,e){return i=>i>0?e:t}var w=i(90028);let b=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},P=[f.u,y.B,v.V],T=t=>P.find(e=>e.test(t));function S(t){let e=T(t);if((0,d.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===v.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,o=2*i-n;r=g(o,n,t+1/3),s=g(o,n,t),a=g(o,n,t-1/3)}else r=s=a=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*a),alpha:n}}(i)),i}let A=(t,e)=>{let i=S(t),n=S(e);if(!i||!n)return x(t,e);let r={...i};return t=>(r.red=b(i.red,n.red,t),r.green=b(i.green,n.green,t),r.blue=b(i.blue,n.blue,t),r.alpha=(0,w.k)(i.alpha,n.alpha,t),y.B.transform(r))},M=new Set(["none","hidden"]);function k(t,e){return i=>(0,w.k)(t,e,i)}function E(t){return"number"==typeof t?k:"string"==typeof t?(0,c.p)(t)?x:p.y.test(t)?A:D:Array.isArray(t)?V:"object"==typeof t?p.y.test(t)?A:C:x}function V(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>E(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function C(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=E(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let D=(t,e)=>{let i=m.f.createTransformer(e),n=(0,m.V)(t),r=(0,m.V)(e);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?M.has(t)&&!r.values.length||M.has(e)&&!n.values.length?function(t,e){return M.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,a.F)(V(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],a=t.indexes[s][n[s]],o=t.values[a]??0;i[r]=o,n[s]++}return i}(n,r),r.values),i):((0,d.$)(!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"),x(t,e))};function j(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,w.k)(t,e,i):E(t)(t,e)}let O=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>s.Gt.update(e,t),stop:()=>(0,s.WG)(e),now:()=>s.uv.isProcessing?s.uv.timestamp:u.k.now()}};var R=i(93600),L=i(7575);function F({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let d,c,p=t[0],m={done:!1,value:p},f=t=>void 0!==o&&t<o||void 0!==l&&t>l,v=t=>void 0===o?l:void 0===l?o:Math.abs(o-t)<Math.abs(l-t)?o:l,g=i*e,y=p+g,x=void 0===a?y:a(y);x!==y&&(g=x-p);let w=t=>-g*Math.exp(-t/n),b=t=>x+w(t),P=t=>{let e=w(t),i=b(t);m.done=Math.abs(e)<=u,m.value=m.done?x:i},T=t=>{f(m.value)&&(d=t,c=(0,R.o)({keyframes:[m.value,v(m.value)],velocity:(0,L.Y)(b,t,m.value),damping:r,stiffness:s,restDelta:u,restSpeed:h}
1))};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,P(t),T(t)),void 0!==d&&t>=d)?c.next(t-d):(e||P(t),m)}}}var B=i(34553);let I=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function U(t,e,i,n){if(t===e&&i===n)return B.l;let r=e=>(function(t,e,i,n,r){let s,a,o=0;do(s=I(a=e+(i-e)/2,n,r)-t)>0?i=a:e=a;while(Math.abs(s)>1e-7&&++o<12);return a})(e,0,1,t,i);return t=>0===t||1===t?t:I(r(t),e,n)}let _=U(.42,0,1,1),N=U(0,0,.58,1),W=U(.42,0,.58,1);var $=i(69715),q=i(33999),G=i(67882);let H=U(.33,1.53,.69,.99),X=(0,G.G)(H),K=(0,q.V)(X),z=t=>(t*=2)<1?.5*X(t):.5*(2-Math.pow(2,-10*(t-1)));var Y=i(2042);let Q=t=>Array.isArray(t)&&"number"==typeof t[0],Z={linear:B.l,easeIn:_,easeInOut:W,easeOut:N,circIn:Y.po,circInOut:Y.tn,circOut:Y.yT,backIn:X,backInOut:K,backOut:H,anticipate:z},J=t=>"string"==typeof t,tt=t=>{if(Q(t)){(0,d.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return U(e,i,n,r)}return J(t)?((0,d.V)(void 0!==Z[t],`Invalid easing type '${t}'`,"invalid-easing-type"),Z[t]):t};var te=i(31865),ti=i(8284),tn=i(2705);function tr({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let r=(0,$.h)(n)?n.map(tt):tt(n),s={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if((0,d.V)(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let l=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let u=function(t,e,i){let n=[],r=i||te.W.mix||j,s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||B.l:e;s=(0,a.F)(t,s)}n.push(s)}return n}(e,n,r),h=u.length,c=i=>{if(l&&i<t[0])return e[0];let n=0;if(h>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,ti.q)(t[n],t[n+1],i);return u[n](r)};return i?e=>c((0,o.q)(t[0],t[s-1],e)):c}((i&&i.length===e.length?i:(0,tn.Z)(e)).map(e=>e*t),e,{ease:Array.isArray(r)?r:e.map(()=>r||W).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=l(e),s.done=e>=t,s)}}var ts=i(49828);let ta=t=>null!==t;function to(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(ta),a=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return a&&void 0!==n?n:s[a]}let tl={decay:F,inertia:F,tween:tr,keyframes:tr,spring:R.o};function tu(t){"string"==typeof t.type&&(t.type=tl[t.type])}class th{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)}}let td=t=>t/100;class tc extends th{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==u.k.now()&&this.tick(u.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},h.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;tu(t);let{type:e=tr,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:o}=t,l=e||tr;l!==tr&&"number"!=typeof o[0]&&(this.mixKeyframes=(0,a.F)(td,j(o[0],o[1])),o=[0,100]);let u=l({...t,keyframes:o});"mirror"===r&&(this.mirroredGenerator=l({...t,keyframes:[...o].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=(0,ts.t)(u));let{calculatedDuration:h}=u;this.calculatedDuration=h,this.resolvedDuration=h+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:d,repeatType:c,repeatDelay:p,type:m,onUpdate:f,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let x=this.currentTime,w=i;if(d){let t=Math.min(this.currentTime,n)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===c?(i=1-i,p&&(i-=p/a)):"mirror"===c&&(w=s)),x=(0,o.q)(0,1,i)*a}let b=y?{done:!1,value:h[0]}:w.next(x);r&&(b.value=r(b.value));let{done:P}=b;y||null===l||(P=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return T&&m!==F&&(b.value=to(h,this.options,v,this.speed)),f&&f(b.value),T&&this.finish(),b}then(t,e){return this.finished.then(t,e)}get duration(){return(0,l.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,l.X)(t)}get time(){return(0,l.X)(this.currentTime)}set time(t){t=(0,l.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?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(u.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,l.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=O,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"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(u.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,h.q.mainThread--}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)}}
1var tp=i(5031);let tm=t=>t.startsWith("--");function tf(t){let e;return()=>(void 0===e&&(e=t()),e)}let tv=tf(()=>void 0!==window.ScrollTimeline);var tg=i(37638);let ty={},tx=function(t,e){let i=tf(t);return()=>ty[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var tw=i(72595);let tb=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,tP={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tb([0,.65,.55,1]),circOut:tb([.55,0,1,.45]),backIn:tb([.31,.01,.66,-.59]),backOut:tb([.33,1.53,.69,.99])};var tT=i(82882);class tS extends th{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,(0,d.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return(0,tT.W)(t)&&tx()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u){let d={[e]:i};l&&(d.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?tx()?(0,tw.K)(e,i):"ease-out":Q(e)?tb(e):Array.isArray(e)?e.map(e=>t(e,i)||tP.easeOut):tP[e]}(o,r);Array.isArray(c)&&(d.easing=c),tg.Q.value&&h.q.waapi++;let p={delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};u&&(p.pseudoElement=u);let m=t.animate(d,p);return tg.Q.value&&m.finished.finally(()=>{h.q.waapi--}),m}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=to(n,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,i){tm(e)?t.style.setProperty(e,i):t.style[e]=i}(e,i,t),this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(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;let{state:t}=this;"idle"===t||"finished"===t||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,l.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,l.X)(t)}get time(){return(0,l.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,l.f)(t)}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 Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tv())?(this.animation.timeline=t,B.l):e(this)}}let tA={anticipate:z,backInOut:K,circInOut:Y.tn};class tM extends tS{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tA&&(t.ease=tA[t.ease])}(t),tu(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t){e.set(t);return}let a=new tc({...s,autoplay:!1}),o=(0,l.f)(this.finishedTime??this.time);e.setWithVelocity(a.sample(o-10).value,a.sample(o).value,10),a.stop()}}let tk=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(m.f.test(t)||"0"===t)&&!t.startsWith("url(")),tE=new Set(["opacity","clipPath","filter","transform"]),tV=tf(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tC extends th{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:a,name:o,motionValue:l,element:h,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=u.k.now();let c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:o,motionValue:l,element:h,...d},p=h?.KeyframeResolver||tp.h;this.keyframeResolver=new p(a,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),o,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:s,type:a,velocity:o,delay:l,isHandoff:h,onUpdate:c}=i;
1this.resolvedAt=u.k.now(),!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],a=tk(r,e),o=tk(s,e);return(0,d.$)(a===o,`You are trying to animate ${e} from "${r}" to "${s}". "${a?s:r}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,tT.W)(i))&&n)}(t,s,a,o)&&((te.W.instantAnimations||!l)&&c?.(to(t,i,e)),t[0]=t[t.length-1],r(i),i.repeat=0);let p={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},m=!h&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return tV()&&i&&tE.has(i)&&("transform"!==i||!l)&&!o&&!n&&"mirror"!==r&&0!==s&&"inertia"!==a}(p)?new tM({...p,element:p.motionValue.owner.current}):new tc(p);m.finished.then(()=>this.notifyFinished()).catch(B.l),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}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,tp.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()}}let tD=t=>null!==t;var tj=i(30232);let tO={type:"spring",stiffness:500,damping:25,restSpeed:10},tR=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),tL={type:"keyframes",duration:.8},tF={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tB=(t,{keyframes:e})=>e.length>2?tL:tj.f.has(t)?t.startsWith("scale")?tR(e[1]):tO:tF,tI=(t,e,i,a={},o,u)=>h=>{let d=(0,n.r)(a,t)||{},c=d.delay||a.delay||0,{elapsed:p=0}=a;p-=(0,l.f)(c);let m={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...d,delay:-p,onUpdate:t=>{e.set(t),d.onUpdate&&d.onUpdate(t)},onComplete:()=>{h(),d.onComplete&&d.onComplete()},name:t,motionValue:e,element:u?void 0:o};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(d)&&Object.assign(m,tB(t,m)),m.duration&&(m.duration=(0,l.f)(m.duration)),m.repeatDelay&&(m.repeatDelay=(0,l.f)(m.repeatDelay)),void 0!==m.from&&(m.keyframes[0]=m.from);let f=!1;if(!1!==m.type&&(0!==m.duration||m.repeatDelay)||(r(m),0!==m.delay||(f=!0)),(te.W.instantAnimations||te.W.skipAnimations)&&(f=!0,r(m),m.delay=0),m.allowFlatten=!d.type&&!d.ease,f&&!u&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(tD),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[s]}(m.keyframes,d);if(void 0!==t){s.Gt.update(()=>{m.onUpdate(t),m.onComplete()});return}}return d.isSync?new tc(m):new tC(m)}},12032:(t,e,i)=>{i.d(e,{x:()=>a});var n=i(74389),r=i(30232),s=i(13623);function a(t,e,i){let a=(0,s.x)(t,e,i);for(let i in t)((0,n.S)(t[i])||(0,n.S)(e[i]))&&(a[-1!==r.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return a}},13410:(t,e,i)=>{i.d(e,{W:()=>o});var n=i(55149);let r={...n.ai,transform:Math.round};var s=i(30784);let a={rotate:s.uj,rotateX:s.uj,rotateY:s.uj,rotateZ:s.uj,scale:n.hs,scaleX:n.hs,scaleY:n.hs,scaleZ:n.hs,skew:s.uj,skewX:s.uj,skewY:s.uj,distance:s.px,translateX:s.px,translateY:s.px,translateZ:s.px,x:s.px,y:s.px,z:s.px,perspective:s.px,transformPerspective:s.px,opacity:n.X4,originX:s.gQ,originY:s.gQ,originZ:s.px},o={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,radius:s.px,borderTopLeftRadius:s.px,borderTopRightRadius:s.px,borderBottomRightRadius:s.px,borderBottomLeftRadius:s.px,width:s.px,maxWidth:s.px,height:s.px,maxHeight:s.px,top:s.px,right:s.px,bottom:s.px,left:s.px,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,backgroundPositionX:s.px,backgroundPositionY:s.px,...a,zIndex:r,fillOpacity:n.X4,strokeOpacity:n.X4,numOctaves:r}},13623:(t,e,i)=>{i.d(e,{x:()=>s});var n=i(74389),r=i(5476);function s(t,e,i){let{style:s}=t,a={};for(let o in s)((0,n.S)(s[o])||e.style&&(0,n.S)(e.style[o])||(0,r.z)(o,t)||i?.getValue(o)?.liveStyle!==void 0)&&(a[o]=s[o]);return a}},14964:(t,e,i)=>{i.d(e,{O:()=>u});var n=i(30232),r=i(73968);let s=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var a=i(13410);let o={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=n.U.length;function u(t,e,i){let{style:u,vars:h,transformOrigin:d}=t,c=!1,p=!1;for(let t in e){let i=e[t];if(n.f.has(t)){c=!0;continue}if((0,r.j)(t)){h[t]=i;continue}{let e=s(i,a.W[t]);t.startsWith("origin")?(p=!0,d[t]=e):u[t]=e}}
1if(!e.transform&&(c||i?u.transform=function(t,e,i){let r="",u=!0;for(let h=0;h<l;h++){let l=n.U[h],d=t[l];if(void 0===d)continue;let c=!0;if(!(c="number"==typeof d?d===+!!l.startsWith("scale"):0===parseFloat(d))||i){let t=s(d,a.W[l]);if(!c){u=!1;let e=o[l]||l;r+=`${e}(${t}) `}i&&(e[l]=t)}}return r=r.trim(),i?r=i(e,u?"":r):u&&(r="none"),r}(e,t.transform,i):u.transform&&(u.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=d;u.transformOrigin=`${t} ${e} ${i}`}}},15322:(t,e,i)=>{i.d(e,{Ib:()=>c,ry:()=>d,zs:()=>h});let n=t=>180*t/Math.PI,r=t=>a(n(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:r,rotateZ:r,skewX:t=>n(Math.atan(t[1])),skewY:t=>n(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},a=t=>((t%=360)<0&&(t+=360),t),o=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:o,scaleY:l,scale:t=>(o(t)+l(t))/2,rotateX:t=>a(n(Math.atan2(t[6],t[5]))),rotateY:t=>a(n(Math.atan2(-t[2],t[0]))),rotateZ:r,rotate:r,skewX:t=>n(Math.atan(t[4])),skewY:t=>n(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function h(t){return+!!t.includes("scale")}function d(t,e){let i,n;if(!t||"none"===t)return h(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=u,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,n=e}if(!n)return h(e);let a=i[e],o=n[1].split(",").map(p);return"function"==typeof a?a(o):o[a]}let c=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function p(t){return parseFloat(t.trim())}},18383:(t,e,i)=>{i.d(e,{V:()=>h,f:()=>m});var n=i(86582);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(30668),a=i(31979);let o="number",l="color",u=/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 h(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],a=0,h=e.replace(u,t=>(n.y.test(t)?(r.color.push(a),s.push(l),i.push(n.y.parse(t))):t.startsWith("var(")?(r.var.push(a),s.push("var"),i.push(t)):(r.number.push(a),s.push(o),i.push(parseFloat(t))),++a,"${}")).split("${}");return{values:i,split:h,indexes:r,types:s}}function d(t){return h(t).values}function c(t){let{split:e,types:i}=h(t),r=e.length;return t=>{let s="";for(let u=0;u<r;u++)if(s+=e[u],void 0!==t[u]){let e=i[u];e===o?s+=(0,a.a)(t[u]):e===l?s+=n.y.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:n.y.test(t)?n.y.getAnimatableNone(t):t,m={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.S)?.length||0)+(t.match(r)?.length||0)>0},parse:d,createTransformer:c,getAnimatableNone:function(t){let e=d(t);return c(t)(e.map(p))}}},22372:(t,e,i)=>{i.d(e,{i:()=>n});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},22377:(t,e,i)=>{i.d(e,{xQ:()=>s});var n=i(90507),r=i(70958);function s(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,n.useContext)(r.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:a}=e,o=(0,n.useId)();(0,n.useEffect)(()=>{if(t)return a(o)},[t]);let l=(0,n.useCallback)(()=>t&&s&&s(o),[o,s,t]);return!i&&s?[!1,l]:[!0]}},24041:(t,e,i)=>{function n({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function s(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}i.d(e,{FY:()=>n,bS:()=>s,pA:()=>r})},24605:(t,e,i)=>{i.d(e,{X:()=>r,f:()=>n});let n=t=>1e3*t,r=t=>t/1e3},24961:(t,e,i)=>{i.d(e,{F:()=>s});let n=t=>"boolean"==typeof t?"".concat(t):0===t?"0":t,r=function(){for(var t,e,i=0,n="";i<arguments.length;)(t=arguments[i++])&&(e=function t(e){var i,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(i=0;i<e.length;i++)e[i]&&(n=t(e[i]))&&(r&&(r+=" "),r+=n);else for(i in e)e[i]&&(r&&(r+=" "),r+=i);return r}(t))&&(n&&(n+=" "),n+=e);return n},s=(t,e)=>i=>{var s;if((null==e?void 0:e.variants)==null)return r(t,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:a,defaultVariants:o}=e,l=Object.keys(a).map(t=>{let e=null==i?void 0:i[t],r=null==o?void 0:o[t];if(null===e)return null;let s=n(e)||n(r);return a[t][s]}),u=i&&Object.entries(i).reduce((t,e)=>{let[i,n]=e;return void 0===n||(t[i]=n),t},{});return r(t,l,null==e?void 0:null===(s=e.compoundVariants)||void 0===s?void 0:s.reduce((t,e)=>{let{class:i,className:n,...r}=e;return Object.entries(r).every(t=>{let[e,i]=t;return Array.isArray(i)?i.includes({...o,...u}[e]):({...o,...u})[e]===i})?[...t,i,n]:t},[]),null==i?void 0:i.class,null==i?void 0:i.className)}},27533:(t,e,i)=>{i.d(e,{B:()=>r});let n={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"]},r={};for(let t in n)r[t]={isEnabled:e=>n[t].some(t=>!!e[t])}},27697:(t,e,i)=>{i.d(e,{f:()=>n});function n(t,e){return e?1e3/e*t:0}},28660:(t,e,i)=>{i.d(e,{$:()=>s,H:()=>r});var n=i(73968);let r={};function s(t){for(let e in t)r[e]=t[e],(0,n.j)(e)&&(r[e].isCSSVariable=!0)}},29359:(t,e,i)=>{function n(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:i}){return!n(t)||!n(e)||!n(i)}function s(t){return r(t)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>s,vF:()=>a,vk:()=>r})},30232:(t,e,i)=>{i.d(e,{U:()=>n,f:()=>r});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(n)},30668:(t,e,i)=>{i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},30784:(t,e,i)=>{i.d(e,{KN:()=>s,gQ:()=>u,px:()=>a,uj:()=>r,vh:()=>o,vw:()=>l});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=n("deg"),s=n("%"),a=n("px"),o=n("vh"),l=n("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},31775:(t,e,i)=>{i.d(e,{Q:()=>n});let n=(0,i(90507).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},31865:(t,e,i)=>{i.d(e,{W:()=>n});let n={}},31979:(t,e,i)=>{i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},33006:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r.a});var n=i(89439),r=i.n(n),s={};for(let t in n)"default"!==t&&(s[t]=()=>n[t]);i.d(e,s)},33052:(t,e,i)=>{function n(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function r(t,e,i,r){if("function"==typeof e){let[s,a]=n(r);e=e(void 0!==i?i:t.custom,s,a)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,a]=n(r);e=e(void 0!==i?i:t.custom,s,a)}return e}i.d(e,{a:()=>r})},33999:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},34553:(t,e,i)=>{i.d(e,{l:()=>n});let n=t=>t},35253:(t,e,i)=>{i.d(e,{U:()=>n,_:()=>r});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...n]},36288:(t,e,i)=>{i.d(e,{n:()=>n});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},36778:(t,e,i)=>{let n;Object.defineProperty(e,"__esModule",{value:!0}),e.GoogleAnalytics=function(t){let{gaId:e,debugMode:i,dataLayerName:o="dataLayer",nonce:l}=t;return void 0===n&&(n=o),(0,s.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:"\n window['".concat(o,"'] = window['").concat(o,"'] || [];\n function gtag(){window['").concat(o,"'].push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '").concat(e,"' ").concat(i?",{ 'debug_mode': true }":"",");")},nonce:l}),(0,r.jsx)(a.default,{id:"_next-ga",src:"https://www.googletagmanager.com/gtag/js?id=".concat(e),nonce:l})]})},e.sendGAEvent=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];if(void 0===n){console.warn("@next/third-parties: GA has not been initialized");return}window[n]?window[n].push(arguments):console.warn("@next/third-parties: GA dataLayer ".concat(n," does not exist"))};let r=i(33307),s=i(90507),a=function(t){return t&&t.__esModule?t:{default:t}}(i(33006))},36945:(t,e,i)=>{i.d(e,{B:()=>V});var n=i(5031),r=i(6387),s=i(43653),a=i(74389),o=i(30232),l=i(3436),u=i(86582),h=i(18383),d=i(91742),c=i(77152);let p=[...d.T,u.y,h.f],m=t=>p.find((0,c.w)(t));var f=i(69367),v=i(69617),g=i(22372),y=i(56126),x=i(71004),w=i(27533),b=i(54843),P=i(98145);let T={current:null},S={current:!1};var A=i(59362),M=i(74228),k=i(33052);let E=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class V{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:o,blockInitialAnimation:l,visualState:u},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=n.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=r.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,s.Gt.render(this.render,!1,!0))};let{latestValues:d,renderState:c}=u;this.latestValues=d,this.baseTarget={...d},this.initialValues=e.initial?{...d}:{},this.renderState=c,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=h,this.blockInitialAnimation=!!l,this.isControllingVariants=(0,M.e)(e),this.isVariantNode=(0,M.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:p,...m}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in m){let e=m[t];void 0!==d[t]&&(0,a.S)(e)&&e.set(d[t])}}mount(t){if(this.current=t,A.C.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)),!S.current&&(S.current=!0,P.B))if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>T.current=t.matches;t.addEventListener("change",e),e()}else T.current=!1;this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||T.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,s.WG)(this.notifyUpdate),(0,s.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}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){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=o.f.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&s.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in w.B){let e=w.B[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let 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):(0,b.ge)()}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<E.length;e++){let i=E[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if((0,a.S)(r))t.addValue(n,r);else if((0,a.S)(s))t.addValue(n,(0,l.OQ)(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,(0,l.OQ)(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);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){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,l.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&((0,g.i)(i)||(0,y.$)(i))?i=parseFloat(i):!m(i)&&h.f.test(e)&&(i=(0,f.J)(t,e)),this.setBaseTarget(t,(0,a.S)(i)?i.get():i)),(0,a.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=(0,k.a)(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,a.S)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new x.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){v.k.render(this.render)}}},37638:(t,e,i)=>{i.d(e,{Q:()=>n});let n={value:null,addProjectionMetrics:null}},38586:(t,e,i)=>{function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>r,Kq:()=>n})},38611:(t,e,i)=>{i.d(e,{P:()=>r});var n=i(83257);function r(t){return t.props[n.n]}},42903:(t,e,i)=>{i.d(e,{I:()=>n});let n=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},43e3:(t,e,i)=>{i.d(e,{OU:()=>u,Ql:()=>h,Ww:()=>c,hq:()=>s,o4:()=>l});var n=i(90028),r=i(29359);function s(t,e,i){return i+e*(t-i)}function a(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function o(t,e=0,i=1,n,r){t.min=a(t.min,e,i,n,r),t.max=a(t.max,e,i,n,r)}function l(t,{x:e,y:i}){o(t.x,e.translate,e.scale,e.originPoint),o(t.y,i.translate,i.scale,i.originPoint)}function u(t,e,i,n=!1){let s,a,o=i.length;if(o){e.x=e.y=1;for(let u=0;u<o;u++){a=(s=i[u]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&c(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,l(t,a)),n&&(0,r.HD)(s.latestValues)&&c(t,s.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function h(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,i,r,s=.5){let a=(0,n.k)(t.min,t.max,s);o(t,e,i,a,r)}function c(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}},43653:(t,e,i)=>{i.d(e,{Gt:()=>r,PP:()=>o,WG:()=>s,uv:()=>a});var n=i(34553);let{schedule:r,cancel:s,state:a,steps:o}=(0,i(73934).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},45073:(t,e,i)=>{i.d(e,{u:()=>r});var n=i(97042);let r={test:(0,i(65492).$)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alph
1a:r?parseInt(r,16)/255:1}},transform:n.B.transform}},49828:(t,e,i)=>{i.d(e,{Y:()=>n,t:()=>r});let n=2e4;function r(t){let e=0,i=t.next(e);for(;!i.done&&e<n;)e+=50,i=t.next(e);return e>=n?1/0:e}},49950:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setAttributesFromProps",{enumerable:!0,get:function(){return s}});let i={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function r(t){return["async","defer","noModule"].includes(t)}function s(t,e){for(let[s,a]of Object.entries(e)){if(!e.hasOwnProperty(s)||n.includes(s)||void 0===a)continue;let o=i[s]||s.toLowerCase();"SCRIPT"===t.tagName&&r(o)?t[o]=!!a:t.setAttribute(o,String(a)),(!1===a||"SCRIPT"===t.tagName&&r(o)&&(!a||"false"===a))&&(t.setAttribute(o,""),t.removeAttribute(o))}}("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)},54697:(t,e,i)=>{i.d(e,{p:()=>l});var n=i(18383),r=i(30668);let s=new Set(["brightness","contrast","saturate","opacity"]);function a(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(r.S)||[];if(!n)return t;let a=i.replace(n,""),o=+!!s.has(e);return n!==i&&(o*=100),e+"("+o+a+")"}let o=/\b([a-z-]*)\(.*?\)/gu,l={...n.f,getAnimatableNone:t=>{let e=t.match(o);return e?e.map(a).join(" "):t}}},54843:(t,e,i)=>{i.d(e,{ge:()=>a,xU:()=>r});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:n(),y:n()}),s=()=>({min:0,max:0}),a=()=>({x:s(),y:s()})},55128:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>i>e?e:i<t?t:i},55149:(t,e,i)=>{i.d(e,{X4:()=>s,ai:()=>r,hs:()=>a});var n=i(55128);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.q)(0,1,t)},a={...r,default:1}},55466:(t,e,i)=>{i.d(e,{M:()=>d});var n=i(30232),r=i(15322),s=i(73968),a=i(85972),o=i(85076),l=i(14964),u=i(97173),h=i(13623);class d extends o.b{constructor(){super(...arguments),this.type="html",this.renderInstance=u.e}readValueFromInstance(t,e){if(n.f.has(e))return this.projection?.isProjecting?(0,r.zs)(e):(0,r.Ib)(t,e);{let i=window.getComputedStyle(t),n=((0,s.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,a.m)(t,e)}build(t,e,i){(0,l.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,h.x)(t,e,i)}}},55672:(t,e,i)=>{i.d(e,{K:()=>r});var n=i(33052);function r(t,e,i){let r=t.getProps();return(0,n.a)(r,e,void 0!==i?i:r.custom,t)}},56126:(t,e,i)=>{i.d(e,{$:()=>n});let n=t=>/^0[^.\s]+$/u.test(t)},56336:(t,e,i)=>{i.d(e,{$:()=>c});var n=i(87343),r=i(43653),s=i(90695),a=i(3436),o=i(79401),l=i(55672),u=i(80450),h=i(38611),d=i(11082);function c(t,e,{delay:i=0,transitionOverride:p,type:m}={}){let{transition:f=t.getDefaultTransition(),transitionEnd:v,...g}=e;p&&(f=p);let y=[],x=m&&t.animationState&&t.animationState.getState()[m];for(let e in g){let a=t.getValue(e,t.latestValues[e]??null),o=g[e];if(void 0===o||x&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(x,e))continue;let l={delay:i,...(0,n.r)(f||{},e)},c=a.get();if(void 0!==c&&!a.isAnimating&&!Array.isArray(o)&&o===c&&!l.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){let i=(0,h.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,r.Gt);null!==t&&(l.startTime=t,p=!0)}}(0,u.g)(t,e),a.start((0,d.f)(e,a,o,t.shouldReduceMotion&&s.$.has(e)?{type:!1}:l,t,p));let m=a.animation;m&&y.push(m)}return v&&Promise.all(y).then(()=>{r.Gt.update(()=>{v&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=(0,l.K)(t,e)||{};for(let e in r={...r,...i}){var s;let i=(s=r[e],(0,o.p)(s)?s[s.length-1]||0:s);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,a.OQ)(i))}}(t,v)})}),y}},59362:(t,e,i)=>{i.d(e,{C:()=>n});let n=new WeakMap},59492:(t,e,i)=>{i.d(e,{B:()=>o});var n=i(14964),r=i(30784);let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function o(t,{attrX:e,attrY:i,attrScale:o,pathLength:l,pathSpacing:u=1,pathOffset:h=0,...d}
1,c,p,m){if((0,n.O)(t,d,p),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:f,style:v}=t;f.transform&&(v.transform=f.transform,delete f.transform),(v.transform||f.transformOrigin)&&(v.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),v.transform&&(v.transformBox=m?.transformBox??"fill-box",delete f.transformBox),void 0!==e&&(f.x=e),void 0!==i&&(f.y=i),void 0!==o&&(f.scale=o),void 0!==l&&function(t,e,i=1,n=0,o=!0){t.pathLength=1;let l=o?s:a;t[l.offset]=r.px.transform(-n);let u=r.px.transform(e),h=r.px.transform(i);t[l.array]=`${u} ${h}`}(f,l,u,h,!1)}},64641:(t,e,i)=>{i.d(e,{h:()=>r});var n=i(2252);function r(t){return(0,n.x)(t)&&"svg"===t.tagName}},65383:(t,e,i)=>{i.d(e,{k5:()=>h});var n=i(90507),r={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},s=n.createContext&&n.createContext(r),a=["attr","size","title"];function o(){return(o=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function u(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?l(Object(i),!0).forEach(function(e){var n,r,s;n=t,r=e,s=i[e],(r=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(r))in n?Object.defineProperty(n,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[r]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function h(t){return e=>n.createElement(d,o({attr:u({},t.attr)},e),function t(e){return e&&e.map((e,i)=>n.createElement(e.tag,u({key:i},e.attr),t(e.child)))}(t.child))}function d(t){var e=e=>{var i,{attr:r,size:s,title:l}=t,h=function(t,e){if(null==t)return{};var i,n,r=function(t,e){if(null==t)return{};var i={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;i[n]=t[n]}return i}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(n=0;n<s.length;n++)i=s[n],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}(t,a),d=s||e.size||"1em";return e.className&&(i=e.className),t.className&&(i=(i?i+" ":"")+t.className),n.createElement("svg",o({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,r,h,{className:i,style:u(u({color:t.color||e.color},e.style),t.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),l&&n.createElement("title",null,l),t.children)};return void 0!==s?n.createElement(s.Consumer,null,t=>e(t)):e(r)}},65492:(t,e,i)=>{i.d(e,{$:()=>s,q:()=>a});var n=i(30668);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),a=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,a,o,l]=r.match(n.S);return{[t]:parseFloat(s),[e]:parseFloat(a),[i]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}}},65929:(t,e,i)=>{i.d(e,{G:()=>n});function n(t){return"object"==typeof t&&null!==t}},67882:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},69367:(t,e,i)=>{i.d(e,{J:()=>a});var n=i(18383),r=i(54697),s=i(81224);function a(t,e){let i=(0,s.D)(t);return i!==r.p&&(i=n.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},69617:(t,e,i)=>{i.d(e,{k:()=>n});let{schedule:n}=(0,i(73934).I)(queueMicrotask,!1)},69715:(t,e,i)=>{i.d(e,{h:()=>n});let n=t=>Array.isArray(t)&&"number"!=typeof t[0]},69784:(t,e,i)=>{i.d(e,{M:()=>r});var n=i(90507);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},70958:(t,e,i)=>{i.d(e,{t:()=>n});let n=(0,i(90507).createContext)(null)},71004:(t,e,i)=>{i.d(e,{v:()=>r});var n=i(38586);
1class r{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>(0,n.Ai)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},72595:(t,e,i)=>{i.d(e,{K:()=>n});let n=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`}},73934:(t,e,i)=>{i.d(e,{I:()=>a});var n=i(31865);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=i(37638);function a(t,e){let i=!1,a=!0,o={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,u=r.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,a=!1,o=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){o.has(e)&&(d.schedule(e),t()),u++,e(l)}let d={schedule:(t,e=!1,s=!1)=>{let a=s&&r?i:n;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(l=t,r){a=!0;return}r=!0,[i,n]=[n,i],i.forEach(h),e&&s.Q.value&&s.Q.value.frameloop[e].push(u),u=0,i.clear(),r=!1,a&&(a=!1,d.process(t))}};return d}(l,e?i:void 0),t),{}),{setup:h,read:d,resolveKeyframes:c,preUpdate:p,update:m,preRender:f,render:v,postRender:g}=u,y=()=>{let r=n.W.useManualTiming?o.timestamp:performance.now();i=!1,n.W.useManualTiming||(o.delta=a?1e3/60:Math.max(Math.min(r-o.timestamp,40),1)),o.timestamp=r,o.isProcessing=!0,h.process(o),d.process(o),c.process(o),p.process(o),m.process(o),f.process(o),v.process(o),g.process(o),o.isProcessing=!1,i&&e&&(a=!1,t(y))},x=()=>{i=!0,a=!0,o.isProcessing||t(y)};return{schedule:r.reduce((t,e)=>{let n=u[e];return t[e]=(t,e=!1,r=!1)=>(i||x(),n.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e<r.length;e++)u[r[e]].cancel(t)},state:o,steps:u}}},73968:(t,e,i)=>{i.d(e,{j:()=>r,p:()=>a});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),a=t=>!!s(t)&&o.test(t.split("/*")[0].trim()),o=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},74228:(t,e,i)=>{i.d(e,{O:()=>o,e:()=>a});var n=i(97707),r=i(7046),s=i(35253);function a(t){return(0,n.N)(t.animate)||s._.some(e=>(0,r.w)(t[e]))}function o(t){return!!(a(t)||t.variants)}},74259:(t,e,i)=>{var n=i(95611);i.o(n,"useParams")&&i.d(e,{useParams:function(){return n.useParams}}),i.o(n,"usePathname")&&i.d(e,{usePathname:function(){return n.usePathname}}),i.o(n,"useRouter")&&i.d(e,{useRouter:function(){return n.useRouter}}),i.o(n,"useSearchParams")&&i.d(e,{useSearchParams:function(){return n.useSearchParams}}),i.o(n,"useSelectedLayoutSegment")&&i.d(e,{useSelectedLayoutSegment:function(){return n.useSelectedLayoutSegment}})},74389:(t,e,i)=>{i.d(e,{S:()=>n});let n=t=>!!(t&&t.getVelocity)},74538:(t,e,i)=>{i.d(e,{P:()=>iM});var n=i(90507),r=i(55466),s=i(9337);let a=["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 o(t){if("string"!=typeof t||t.includes("-"));else if(a.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var l=i(33307),u=i(91760);let h=(0,n.createContext)({strict:!1});var d=i(31775);let c=(0,n.createContext)({});var p=i(74228),m=i(7046);function f(t){return Array.isArray(t)?t.join(" "):t}var v=i(74389),g=i(5476),y=i(14964);let x=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function w(t,e,i){for(let n in e)(0,v.S)(e[n])||(0,g.z)(n,i)||(t[n]=e[n])}var b=i(59492);let P=()=>({...x(),attrs:{}});var T=i(36288);let S=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function A(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||S.has(t)}let M=t=>!A(t);try{!function(t){"function"==typeof t&&(M=e=>e.startsWith("on")?!A(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}var k=i(97707),E=i(70958),V=i(33052),C=i(69784);function D(t){return(0,v.S)(t)?t.get():t}let j=t=>(e,i)=>{let r=(0,n.useContext)(c),s=(0,n.useContext)(E.t),a=()=>
1(function(t,e,i,n){let{scrapeMotionValuesFromProps:r,createRenderState:s}=t;return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=D(s[t]);let{initial:a,animate:o}=t,l=(0,p.e)(t),u=(0,p.O)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let h=!!i&&!1===i.initial,d=(h=h||!1===a)?o:a;if(d&&"boolean"!=typeof d&&!(0,k.N)(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let n=(0,V.a)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(e,i,n,r),renderState:s()}})(t,e,r,s);return i?a():(0,C.M)(a)},O=j({scrapeMotionValuesFromProps:i(13623).x,createRenderState:x}),R=j({scrapeMotionValuesFromProps:i(12032).x,createRenderState:P});var L=i(98145),F=i(27533);let B=Symbol.for("motionComponentSymbol");function I(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var U=i(83257);let _=(0,n.createContext)({});var N=i(85393);function W(t){var e,i;let{forwardMotionProps:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;s&&function(t){for(let e in t)F.B[e]={...F.B[e],...t[e]}}(s);let g=o(t)?R:O;function S(e,i){var s,S,k;let V,C={...(0,n.useContext)(d.Q),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,n.useContext)(u.L).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:D}=C,j=function(t){let{initial:e,animate:i}=function(t,e){if((0,p.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,m.w)(e)?e:void 0,animate:(0,m.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,n.useContext)(c));return(0,n.useMemo)(()=>({initial:e,animate:i}),[f(e),f(i)])}(e),O=g(e,D);if(!D&&L.B){S=0,k=0,(0,n.useContext)(h).strict;let e=function(t){let{drag:e,layout:i}=F.B;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(C);V=e.MeasureLayout,j.visualElement=function(t,e,i,r,s){var a,o,l,u;let{visualElement:p}=(0,n.useContext)(c),m=(0,n.useContext)(h),f=(0,n.useContext)(E.t),v=(0,n.useContext)(d.Q).reducedMotion,g=(0,n.useRef)(null);r=r||m.renderer,!g.current&&r&&(g.current=r(t,{visualState:e,parent:p,props:i,presenceContext:f,blockInitialAnimation:!!f&&!1===f.initial,reducedMotionConfig:v}));let y=g.current,x=(0,n.useContext)(_);y&&!y.projection&&s&&("html"===y.type||"svg"===y.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!a||o&&I(o),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(g.current,i,s,x);let w=(0,n.useRef)(!1);(0,n.useInsertionEffect)(()=>{y&&w.current&&y.update(i,f)});let b=i[U.n],P=(0,n.useRef)(!!b&&!(null===(a=(o=window).MotionHandoffIsComplete)||void 0===a?void 0:a.call(o,b))&&(null===(l=(u=window).MotionHasOptimisedAnimation)||void 0===l?void 0:l.call(u,b)));return(0,N.E)(()=>{y&&(w.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),P.current&&y.animationState&&y.animationState.animateChanges())}),(0,n.useEffect)(()=>{y&&(!P.current&&y.animationState&&y.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var t,e;null===(t=(e=window).MotionHandoffMarkAsComplete)||void 0===t||t.call(e,b)}),P.current=!1),y.enteringChildren=void 0)}),y}(t,O,C,a,e.ProjectionNode)}return(0,l.jsxs)(c.Provider,{value:j,children:[V&&j.visualElement?(0,l.jsx)(V,{visualElement:j.visualElement,...C}):null,function(t,e,i,r,s){let{latestValues:a}=r,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=(o(t)?function(t,e,i,r){let s=(0,n.useMemo)(()=>{let i=P();return(0,b.B)(i,e,(0,T.n)(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};w(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i={},r=function(t,e){let i=t.style||{},r={};return w(r,i,t),Object.assign(r,function(t,e){let{transformTemplate:i}=t;return(0,n.useMemo)(()=>{let t=x();return(0,y.O)(t,e,i),Object.assign({},t.vars,t.style)}
1,[e])}(t,e)),r}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=r,i})(e,a,s,t),h=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(M(r)||!0===i&&A(r)||!e&&!A(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,l),d=t!==n.Fragment?{...h,...u,ref:i}:{},{children:c}=e,p=(0,n.useMemo)(()=>(0,v.S)(c)?c.get():c,[c]);return(0,n.createElement)(t,{...d,children:p})}(t,e,(s=j.visualElement,(0,n.useCallback)(t=>{t&&O.onMount&&O.onMount(t),s&&(t?s.mount(t):s.unmount()),i&&("function"==typeof i?i(t):I(i)&&(i.current=t))},[s])),O,D,r)]})}S.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!==(i=null!==(e=t.displayName)&&void 0!==e?e:t.name)&&void 0!==i?i:"",")"));let k=(0,n.forwardRef)(S);return k[B]=t,k}var $=i(55672),q=i(56336);function G(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*n;return"function"==typeof i?i(s,a):1===r?s*n:o-s*n}function H(t,e,i={}){let n=(0,$.K)(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all((0,q.$)(t,n,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:o}=r;return function(t,e,i=0,n=0,r=0,s=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(H(l,e,{...a,delay:i+("function"==typeof n?0:n)+G(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,n,s,a,o,i)}:()=>Promise.resolve(),{when:o}=r;if(!o)return Promise.all([s(),a(i.delay)]);{let[t,e]="beforeChildren"===o?[s,a]:[a,s];return t().then(()=>e())}}var X=i(79401);function K(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}var z=i(35253);let Y=z._.length,Q=[...z.U].reverse(),Z=z.U.length;function J(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tt(){return{animate:J(!0),whileInView:J(),whileHover:J(),whileTap:J(),whileDrag:J(),whileFocus:J(),exit:J()}}class te{constructor(t){this.isMounted=!1,this.node=t}update(){}}class ti extends te{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>H(t,e,i)));else if("string"==typeof e)n=H(t,e,i);else{let r="function"==typeof e?(0,$.K)(t,e,i.custom):e;n=Promise.all((0,q.$)(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=tt(),n=!0,r=e=>(i,n)=>{let r=(0,$.K)(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function s(s){let{props:a}=t,o=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<Y;t++){let n=z._[t],r=e.props[n];((0,m.w)(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},l=[],u=new Set,h={},d=1/0;for(let e=0;e<Z;e++){var c,p;let f=Q[e],v=i[f],g=void 0!==a[f]?a[f]:o[f],y=(0,m.w)(g),x=f===s?v.isActive:null;!1===x&&(d=e);let w=g===o[f]&&g!==a[f]&&y;if(w&&n&&t.manuallyAnimateOnMount&&(w=!1),v.protectedKeys={...h},!v.isActive&&null===x||!g&&!v.prevProp||(0,k.N)(g)||"boolean"==typeof g)continue;let b=(c=v.prevProp,"string"==typeof(p=g)?p!==c:!!Array.isArray(p)&&!K(p,c)),P=b||f===s&&v.isActive&&!w&&y||e>d&&y,T=!1,S=Array.isArray(g)?g:[g],A=S.reduce(r(f),{});!1===x&&(A={});let{prevResolvedValues:M={}}=v,E={...M,...A},V=e=>{P=!0,u.has(e)&&(T=!0,u.delete(e)),v.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in E){let e=A[t],i=M[t];if(h.hasOwnProperty(t))continue;let n=!1;((0,X.p)(e)&&(0,X.p)(i)?K(e,i):e===i)?void 0!==e&&u.has(t)?V(t):v.protectedKeys[t]=!0:null!=e?V(t):u.add(t)}v.prevProp=g,v.prevResolvedValues=A,v.isActive&&(h={...h,...A}),n&&t.blockInitialAnimation&&(P=!1);let C=w&&b,D=!C||T;P&&D&&l.push(...S.map(e=>{let i={type:f};if("string"==typeof e&&n&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=(0,$.K)(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=G(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof a.initial){let i=(0,$.K)(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>
1{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),l.push({animation:e})}let f=!!l.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,f?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=s(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=tt()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,k.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let tn=0;class tr extends te{constructor(){super(...arguments),this.id=tn++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}var ts=i(34553);let ta={x:!1,y:!1};var to=i(30784),tl=i(43653),tu=i(90028),th=i(89044),td=i(11082);function tc(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let tp=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tm(t){return{point:{x:t.pageX,y:t.pageY}}}let tf=t=>e=>tp(e)&&t(e,tm(e));function tv(t,e,i,n){return tc(t,e,tf(i),n)}var tg=i(24041);function ty(t){return t.max-t.min}function tx(t,e,i,n=.5){t.origin=n,t.originPoint=(0,tu.k)(e.min,e.max,t.origin),t.scale=ty(i)/ty(e),t.translate=(0,tu.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function tw(t,e,i,n){tx(t.x,e.x,i.x,n?n.originX:void 0),tx(t.y,e.y,i.y,n?n.originY:void 0)}function tb(t,e,i){t.min=i.min+e.min,t.max=t.min+ty(e)}function tP(t,e,i){t.min=e.min-i.min,t.max=t.min+ty(e)}function tT(t,e,i){tP(t.x,e.x,i.x),tP(t.y,e.y,i.y)}var tS=i(54843);function tA(t){return[t("x"),t("y")]}var tM=i(85972);let tk=({current:t})=>t?t.ownerDocument.defaultView:null;var tE=i(80450),tV=i(96545),tC=i(24605);let tD=(t,e)=>Math.abs(t-e);class tj{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=tL(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(tD(t.x,e.x)**2+tD(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=tl.uv;this.history.push({...n,timestamp:r});let{onStart:s,onMove:a}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=tO(e,this.transformPagePoint),tl.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=tL("pointercancel"===t.type?this.lastMoveEventInfo:tO(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!tp(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;let a=tO(tm(t),this.transformPagePoint),{point:o}=a,{timestamp:l}=tl.uv;this.history=[{...o,timestamp:l}];let{onSessionStart:u}=e;u&&u(t,tL(a,this.history)),this.removeListeners=(0,tV.F)(tv(this.contextWindow,"pointermove",this.handlePointerMove),tv(this.contextWindow,"pointerup",this.handlePointerUp),tv(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,tl.WG)(this.updatePoint)}}function tO(t,e){return e?{point:e(t.point)}:t}function tR(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tL({point:t},e){return{point:t,delta:tR(t,tF(e)),offset:tR(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=tF(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,tC.f)(.1)));)i--;if(!n)return{x:0,y:0};let s=(0,tC.X)(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let a={x:(r.x-n.x)/s,y:(r.y-n.y)/s};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,.1)}}function tF(t){return t[t.length-1]}var tB=i(8284),tI=i(55128);function tU(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function t_(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function tN(t,e,i){return{min:tW(t,e),max:tW(t,i)}}function tW(t,e){return"number"==typeof t?t:t[e]||0}let t$=new WeakMap;class tq{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,tS.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new tj(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tm(t).point)},onStart:(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(ta[t])return null;else return ta[t]=!0,()=>{ta[t]=!1};return ta.x||ta.y?null:(ta.x=ta.y=!0,()=>{ta.x=ta.y=!1})}(i),!this.openDragLock))return;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),tA(t=>{let e=this.getAxisMotionValue(t).get()||0;if(to.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];
1n&&(e=ty(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tl.Gt.postRender(()=>r(t,e)),(0,tE.g)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>tA(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,distanceThreshold:i,contextWindow:tk(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:a}=this.getProps();a&&tl.Gt.postRender(()=>a(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!tG(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,tu.k)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,tu.k)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&I(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:tU(t.x,i,r),y:tU(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:tN(t,"left","right"),y:tN(t,"top","bottom")}}(e),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&tA(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!I(e))return!1;let n=e.current;(0,th.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");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=(0,tM.L)(n,r.root,this.visualElement.getTransformPagePoint()),a={x:t_((t=r.layout.layoutBox).x,s.x),y:t_(t.y,s.y)};if(i){let t=i((0,tg.pA)(a));this.hasMutatedConstraints=!!t,t&&(a=(0,tg.FY)(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(tA(a=>{if(!tG(a,e,this.currentDirection))return;let l=o&&o[a]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,tE.g)(this.visualElement,t),i.start((0,td.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){tA(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tA(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){tA(e=>{let{drag:i}=this.getProps();if(!tG(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e];r.set(t[e]-(0,tu.k)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!I(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};tA(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=ty(t),r=ty(e);return r>n?i=(0,tB.q)(e.min,e.max-n,t.min):n>r&&(i=(0,tB.q)(t.min,t.max-r,e.min)),(0,tI.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),tA(e=>{if(!tG(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,tu.k)(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;t$.set(this.visualElement,this);let t=tv(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();I(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),tl.Gt.read(e);let r=tc(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tA(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:a}}}function tG(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tH extends te{constructor(t){super(t),this.removeGroupControls=ts.l,this.removeListeners=ts.l,this.controls=new tq(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ts.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let tX=t=>(e,i)=>{t&&tl.Gt.postRender(()=>t(e,i))};class tK extends te{constructor(){super(...arguments),this.removePointerDownListener=ts.l}onPointerDown(t){this.session=new tj(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tk(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:tX(t),onStart:tX(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&tl.Gt.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=tv(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tz=i(69617),tY=i(22377);let tQ={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tZ(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tJ={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!to.px.test(t))return t;else t=parseFloat(t);let i=tZ(t,e.target.x),n=tZ(t,e.target.y);return`${i}% ${n}%`}};var t0=i(18383),t1=i(28660);let t3=!1;class t5 extends n.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;(0,t1.$)(t9),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),t3&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),tQ.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,t3=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent===r||(r?s.promote():s.relegate()||tl.Gt.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tz.k.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;t3=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function t2(t){let[e,i]=(0,tY.xQ)(),r=(0,n.useContext)(u.L);return(0,l.jsx)(t5,{...t,layoutGroup:r,switchLayoutGroup:(0,n.useContext)(_),isPresent:e,safeToRemove:i})}let t9={borderRadius:{...tJ,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tJ,borderTopRightRadius:tJ,borderBottomLeftRadius:tJ,borderBottomRightRadius:tJ,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=t0.f.parse(t);if(n.length>5)return t;let r=t0.f.createTransformer(t),s=+("number"!=typeof n[0]),a=i.x.scale*e.x,o=i.y.scale*e.y;n[0+s]/=a,n[1+s]/=o;let l=(0,tu.k)(a,o,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};var t4=i(37638),t8=i(2252),t7=i(64641),t6=i(87343),et=i(6387),ee=i(80474),ei=i(3436),en=i(71004),er=i(80765),es=i(38611),ea=i(38586);let eo=(t,e)=>t.depth-e.depth;class el{constructor(){this.children=[],this.isDirty=!1}add(t){(0,ea.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,ea.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(eo),this.isDirty=!1,this.children.forEac
1h(t)}}var eu=i(2042);let eh=["TopLeft","TopRight","BottomLeft","BottomRight"],ed=eh.length,ec=t=>"string"==typeof t?parseFloat(t):t,ep=t=>"number"==typeof t||to.px.test(t);function em(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ef=eg(0,.5,eu.yT),ev=eg(.5,.95,ts.l);function eg(t,e,i){return n=>n<t?0:n>e?1:i((0,tB.q)(t,e,n))}function ey(t,e){t.min=e.min,t.max=e.max}function ex(t,e){ey(t.x,e.x),ey(t.y,e.y)}function ew(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var eb=i(43e3);function eP(t,e,i,n,r){return t-=e,t=(0,eb.hq)(t,1/i,n),void 0!==r&&(t=(0,eb.hq)(t,1/r,n)),t}function eT(t,e,[i,n,r],s,a){!function(t,e=0,i=1,n=.5,r,s=t,a=t){if(to.KN.test(e)&&(e=parseFloat(e),e=(0,tu.k)(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=(0,tu.k)(s.min,s.max,n);t===s&&(o-=e),t.min=eP(t.min,e,i,o,r),t.max=eP(t.max,e,i,o,r)}(t,e[i],e[n],e[r],e.scale,s,a)}let eS=["x","scaleX","originX"],eA=["y","scaleY","originY"];function eM(t,e,i,n){eT(t.x,e,eS,i?i.x:void 0,n?n.x:void 0),eT(t.y,e,eA,i?i.y:void 0,n?n.y:void 0)}function ek(t){return 0===t.translate&&1===t.scale}function eE(t){return ek(t.x)&&ek(t.y)}function eV(t,e){return t.min===e.min&&t.max===e.max}function eC(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function eD(t,e){return eC(t.x,e.x)&&eC(t.y,e.y)}function ej(t){return ty(t.x)/ty(t.y)}function eO(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class eR{constructor(){this.members=[]}add(t){(0,ea.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,ea.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var eL=i(29359);let eF={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eB=["","X","Y","Z"],eI=0;function eU(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function e_({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=eI++,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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,t4.Q.value&&(eF.nodes=eF.calculatedTargetDeltas=eF.calculatedProjections=0),this.nodes.forEach(e$),this.nodes.forEach(eY),this.nodes.forEach(eQ),this.nodes.forEach(eq),t4.Q.addProjectionMetrics&&t4.Q.addProjectionMetrics(eF)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new el)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new en.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,t8.x)(e)&&!(0,t7.h)(e),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;tl.Gt.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=et.k.now(),n=({timestamp:r})=>{let s=r-i;s>=250&&((0,tl.WG)(n),t(s-e))};return tl.Gt.setup(n,!0),()=>(0,tl.WG)(n)}(r,250),tQ.hasAnimatedSinceResize&&(tQ.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(ez)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||e5,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=r.getProps(),l=!this.targetLayout||!eD(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,t6.r)(s,"layout"),onPlay:a,onComplete:o};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||ez(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,tl.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(eZ),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=(0,es.P)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tl.Gt,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eH);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(eX);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(eK),this.nodes.forEach(eN),this.nodes.forEach(eW)):this.nodes.forEach(eX),this.clearAllSnapshots();let t=et.k.now();tl.uv.delta=(0,tI.q)(0,1e3/60,t-tl.uv.timestamp),tl.uv.timestamp=t,tl.uv.isProcessing=!0,tl.PP.update.process(tl.uv),tl.PP.preRender.process(tl.uv),tl.PP.render.process(tl.uv),tl.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tz.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eG),this.sharedNodes.forEach(eJ)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tl.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tl.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||ty(this.snapshot.measuredBox.x)||ty(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,tS.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!eE(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,eL.HD)(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),e4((e=n).x),e4(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,tS.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(e7))){let{scroll:t}=this.root;t&&((0,eb.Ql)(e.x,t.offset.x),(0,eb.Ql)(e.y,t.offset.y))}return e}
1removeElementScroll(t){let e=(0,tS.ge)();if(ex(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&ex(e,t),(0,eb.Ql)(e.x,r.offset.x),(0,eb.Ql)(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let i=(0,tS.ge)();ex(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(0,eb.Ww)(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),(0,eL.HD)(n.latestValues)&&(0,eb.Ww)(i,n.latestValues)}return(0,eL.HD)(this.latestValues)&&(0,eb.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,tS.ge)();ex(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,eL.HD)(i.latestValues))continue;(0,eL.vk)(i.latestValues)&&i.updateSnapshot();let n=(0,tS.ge)();ex(n,i.measurePageBox()),eM(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return(0,eL.HD)(this.latestValues)&&eM(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!==tl.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(this.layout&&(n||r)){if(this.resolvedRelativeTargetAt=tl.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tS.ge)(),this.relativeTargetOrigin=(0,tS.ge)(),tT(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ex(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,tS.ge)(),this.targetWithTransforms=(0,tS.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,a,o;this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,o=this.relativeParent.target,tb(s.x,a.x,o.x),tb(s.y,a.y,o.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ex(this.target,this.layout.layoutBox),(0,eb.o4)(this.target,this.targetDelta)):ex(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tS.ge)(),this.relativeTargetOrigin=(0,tS.ge)(),tT(this.relativeTargetOrigin,this.target,t.target),ex(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}t4.Q.value&&eF.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,eL.vk)(this.parent.latestValues)||(0,eL.vF)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tl.uv.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;ex(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;(0,eb.OU)(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=(0,tS.ge)());let{target:o}=t;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ew(this.prevProjectionDelta.x,this.projectionDelta.x),ew(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tw(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&eO(this.projectionDelta.x,this.prevProjectionDelta.x)&&eO(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o)),t4.Q.value&&eF.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,tS.xU)(),this.projectionDelta=(0,tS.xU)(),this.projectionDeltaWithTransform=(0,tS.xU)()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},a=(0,tS.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let o=(0,tS.ge)(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,d=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(e3));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(e0(a.x,t.x,n),e0(a.y,t.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,p,m,f,v;if(tT(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=o,v=n,e1(p.x,m.x,f.x,v),e1(p.y,m.y,f.y,v),i&&(u=this.relativeTarget,c=i,eV(u.x,c.x)&&eV(u.y,c.y)))this.isProjectionDirty=!1;i||(i=(0,tS.ge)()),ex(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=(0,tu.k)(0,i.opacity??1,ef(n)),t.opacityExit=(0,tu.k)(e.opacity??1,0,ev(n))):s&&(t.opacity=(0,tu.k)(e.opacity??1,i.opacity??1,n));for(let r=0;r<ed;r++){let s=`border${eh[r]}Radius`,a=em(e,s),o=em(i,s);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||ep(a)===ep(o)?(t[s]=Math.max((0,tu.k)(ec(a),ec(o),n),0),(to.KN.test(o)||to.KN.test(a))&&(t[s]+="%")):t[s]=o)}(e.rotate||i.rotate)&&(t.rotate=(0,tu.k)(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,d,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,tl.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tl.Gt.update(()=>{tQ.hasAnimatedSinceResize=!0,ee.q.layout++,this.motionValue||(this.motionValue=(0,ei.OQ)(0)),this.currentAnimation=(0,er.z)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{ee.q.layout--},onComplete:()=>{ee.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&e8(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,tS.ge)();let e=ty(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=ty(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}ex(e,i),(0,eb.Ww)(e,r),tw(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eR),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&eU("z",t,n,this.animationValues);for(let e=0;e<eB.length;e++)eU(`rotate${eB[e]}`,t,n,this.animationValues),eU(`skew${eB[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=D(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=D(e?.pointerEvents)||""),this.hasProjected&&!(0,eL.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,a=i?.z||0;if((r||s||a)&&(n=`translate3d(${r}px, ${s}px, ${a}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:a,skewY:o}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),a&&(n+=`skewX(${a}deg) `),o&&(n+=`skewY(${o}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(n+=`scale(${o}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,t1.H){if(void 0===r[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=t1.H[e],l="none"===s?r[e]:i(r[e],n);if(a){let e=a.length;for(let i=0;i<e;i++)t[a[i]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?D(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(eH),this.root.sharedNodes.clear()}}}function eN(t){t.updateLayout()}function eW(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;"size"===r?tA(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=ty(n);n.min=i[t].min,n.max=n.min+r}):e8(r,e.layoutBox,i)&&tA(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],a=ty(i[n]);r.max=r.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+a)});let a=(0,tS.xU)();tw(a,i,e.layoutBox);let o=(0,tS.xU)();s?tw(o,t.applyTransform(n,!0),e.measuredBox):tw(o,i,e.layoutBox);let l=!eE(a),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let a=(0,tS.ge)();tT(a,e.layoutBox,r.layoutBox);let o=(0,tS.ge)();tT(o,i,s.layoutBox),eD(a,o)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=o,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function e$(t){t4.Q.value&&eF.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function eq(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function eG(t){t.clearSnapshot()}function eH(t){t.clearMeasurements()}function eX(t){t.isLayoutDirty=!1}function eK(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ez(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eY(t){t.resolveTargetDelta()}function eQ(t){t.calcProjection()}function eZ(t){t.resetSkewAndRotation()}function eJ(t){t.removeLeadSnapshot()}function e0(t,e,i){t.translate=(0,tu.k)(e.translate,0,i),t.scale=(0,tu.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function e1(t,e,i,n){t.min=(0,tu.k)(e.min,i.min,n),t.max=(0,tu.k)(e.max,i.max,n)}function e3(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let e5={duration:.45,ease:[.4,0,.1,1]},e2=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),e9=e2("applewebkit/")&&!e2("chrome/")?Math.round:ts.l;function e4(t){t.min=e9(t.min),t.max=e9(t.max)}function e8(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(ej(e)-ej(i)))}function e7(t){return t!==t.root&&t.scroll?.wasRoot}let e6=e_({attachResizeListener:(t,e)=>tc(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),it={current:void 0},ie=e_({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!it.current){let t=new e6({});t.mount(window),t.setOptions({layoutScroll:!0}),it.current=t}return it.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var ii=i(95424);function ir(t,e){let i=(0,ii.K)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function is(t){return!("touch"===t.pointerType||ta.x||ta.y)}function ia(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&tl.Gt.postRender(()=>r(e,tm(e)))}class io extends te{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=ir(t,i),a=t=>{if(!is(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let s=t=>{is(t)&&(n(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,r)};return n.forEach(t=>{t.addEventListener("pointerenter",a,r)}),s}(t,(t,e)=>(ia(this.node,e,"Start"),t=>ia(this.node,t,"End"))))}unmount(){}}class il extends te{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,tV.F)(tc(this.node.current,"focus",()=>this.onFocus()),tc(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var iu=i(83917);let ih=(t,e)=>!!e&&(t===e||ih(t,e.parentElement)),id=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),ic=new WeakSet;function ip(t){return e=>{"Enter"===e.key&&t(e)}}function im(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let iv=(t,e)=>{let i=t.currentTarget;if(!i)return;let n=ip(()=>{if(ic.has(i))return;im(i,"down");let t=ip(()=>{im(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>im(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)};function ig(t){return tp(t)&&!(ta.x||ta.y)}function iy(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&tl.Gt.postRender(()=>r(e,tm(e)))}class ix extends te{mount(){let{current:t}=this.node;
1t&&(this.unmount=function(t,e,i={}){let[n,r,s]=ir(t,i),a=t=>{let n=t.currentTarget;if(!ig(t))return;ic.add(n);let s=e(n,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),ic.has(n)&&ic.delete(n),ig(t)&&"function"==typeof s&&s(t,{success:e})},o=t=>{a(t,n===window||n===document||i.useGlobalTarget||ih(n,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{if((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,r),(0,iu.s)(t))t.addEventListener("focus",t=>iv(t,r)),!id.has(t.tagName)&&-1===t.tabIndex&&!t.hasAttribute("tabindex")&&(t.tabIndex=0)}),s}(t,(t,e)=>(iy(this.node,e,"Start"),(t,{success:e})=>iy(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let iw=new WeakMap,ib=new WeakMap,iP=t=>{let e=iw.get(t.target);e&&e(t)},iT=t=>{t.forEach(iP)},iS={some:0,all:1};class iA extends te{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:iS[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;ib.has(i)||ib.set(i,{});let n=ib.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(iT,{root:t,...e})),n[r]}(e);return iw.set(t,i),n.observe(t),()=>{iw.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let iM=function(t,e){if("undefined"==typeof Proxy)return W;let i=new Map,n=(i,n)=>W(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,W(s,void 0,t,e)),i.get(s))})}({animation:{Feature:ti},exit:{Feature:tr},inView:{Feature:iA},tap:{Feature:ix},focus:{Feature:il},hover:{Feature:io},pan:{Feature:tK},drag:{Feature:tH,ProjectionNode:ie,MeasureLayout:t2},layout:{ProjectionNode:ie,MeasureLayout:t2}},(t,e)=>o(t)?new s.l(e):new r.M(e,{allowProjection:t!==n.Fragment}))},77152:(t,e,i)=>{i.d(e,{w:()=>n});let n=t=>e=>e.test(t)},79401:(t,e,i)=>{i.d(e,{p:()=>n});let n=t=>Array.isArray(t)},80450:(t,e,i)=>{i.d(e,{g:()=>s});
1var n=i(31865),r=i(74389);function s(t,e){let i=t.getValue("willChange");if((0,r.S)(i)&&i.add)return i.add(e);if(!i&&n.W.WillChange){let i=new n.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}},80474:(t,e,i)=>{i.d(e,{q:()=>n});let n={layout:0,mainThread:0,waapi:0}},80765:(t,e,i)=>{i.d(e,{z:()=>a});var n=i(74389),r=i(3436),s=i(11082);function a(t,e,i){let a=(0,n.S)(t)?t:(0,r.OQ)(t);return a.start((0,s.f)("",a,e,i)),a.animation}},81224:(t,e,i)=>{i.d(e,{D:()=>a});var n=i(86582),r=i(54697);let s={...i(13410).W,color:n.y,backgroundColor:n.y,outlineColor:n.y,fill:n.y,stroke:n.y,borderColor:n.y,borderTopColor:n.y,borderRightColor:n.y,borderBottomColor:n.y,borderLeftColor:n.y,filter:r.p,WebkitFilter:r.p},a=t=>s[t]},81746:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return i}});let i="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){let e=Date.now();return self.setTimeout(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(t){return clearTimeout(t)};("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)},82882:(t,e,i)=>{i.d(e,{W:()=>n});function n(t){return"function"==typeof t&&"applyToOptions"in t}},83257:(t,e,i)=>{i.d(e,{n:()=>n});let n="data-"+(0,i(42903).I)("framerAppearId")},83917:(t,e,i)=>{i.d(e,{s:()=>r});var n=i(65929);function r(t){return(0,n.G)(t)&&"offsetHeight"in t}},85076:(t,e,i)=>{i.d(e,{b:()=>y});var n=i(90695),r=i(91742),s=i(89044),a=i(22372),o=i(73968);let l=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var u=i(5031),h=i(56126),d=i(18383),c=i(69367);let p=new Set(["auto","none","0"]);var m=i(94694);class f extends u.h{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,o.p)(n))){let r=function t(e,i,n=1){(0,s.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,u]=function(t){let e=l.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let h=window.getComputedStyle(i).getPropertyValue(r);if(h){let t=h.trim();return(0,a.i)(t)?parseFloat(t):t}return(0,o.p)(u)?t(u,i,n+1):u}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!n.$.has(i)||2!==t.length)return;let[u,h]=t,d=(0,r.n)(u),c=(0,r.n)(h);if(d!==c)if((0,m.E4)(d)&&(0,m.E4)(c))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else m.Hr[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||(0,h.$)(n)))&&i.push(e)}if(i.length){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!p.has(e)&&(0,d.V)(e).values.length&&(n=t[r]),r++}if(n&&e)for(let r of i)t[r]=(0,c.J)(e,n)}}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=m.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=m.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var v=i(74389),g=i(36945);class y extends g.B{constructor(){super(...arguments),this.KeyframeResolver=f}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,v.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},85393:(t,e,i)=>{i.d(e,{E:()=>r});var n=i(90507);let r=i(98145).B?n.useLayoutEffect:n.useEffect},85972:(t,e,i)=>{i.d(e,{L:()=>a,m:()=>s});var n=i(24041),r=i(43e3);function s(t,e){return(0,n.FY)((0,n.bS)(t.getBoundingClientRect(),e))}function a(t,e,i){let n=s(t,i),{scroll:a}=e;return a&&((0,r.Ql)(n.x,a.offset.x),(0,r.Ql)(n.y,a.offset.y)),n}},86582:(t,e,i)=>{i.d(e,{y:()=>a});var n=i(45073),r=i(5718),s=i(97042);let a={test:t=>s.B.test(t)||n.u.test(t)||r.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):r.V.test(t)?r.V.parse(t):n.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):r.V.transform(t),getAnimatableNone:t=>{let e=a.parse(t);return e.alpha=0,a.transform(e)}}},87343:(t,e,i)=>{i.d(e,{r:()=>n});function n(t,e){return t?.[e]??t?.default??t}},89044:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>r});let n=()=>{},r=()=>{}},89439:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return y},handleClientScriptLoad:function(){return f},initScriptLoader:function(){return v}});let n=i(15371),r=i(1088),s=i(33307),a=n._(i(35146)),o=r._(i(90507)),l=i(73426),u=i(49950),h=i(81746),d=new Map,c=new Set,p=t=>{if(a.default.preinit){t.forEach(t=>{a.default.preinit(t,{as:"style"})});return}{let e=document.head;t.forEach(t=>{let i=document.createElement("link");i.type="text/css",i.rel="stylesheet",i.href=t,e.appendChild(i)})}},m=t=>{let{src:e,id:i,onLoad:n=()=>{},onReady:r=null,dangerouslySetInnerHTML:s,children:a="",strategy:o="afterInteractive",onError:l,stylesheets:h}=t,m=i||e;if(m&&c.has(m))return;if(d.has(e)){c.add(m),d.get(e).then(n,l);return}let f=()=>{r&&r(),c.add(m)},v=document.createElement("script"),g=new Promise((t,e)=>{v.addEventListener("load",function(e){t(),n&&n.call(this,e),f()}),v.addEventListener("error",function(t){e(t)})}).catch(function(t){l&&l(t)});s?(v.innerHTML=s.__html||"",f()):a?(v.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",f()):e&&(v.src=e,d.set(e,g)),(0,u.setAttributesFromProps)(v,t),"worker"===o&&v.setAttribute("type","text/partytown"),v.setAttribute("data-nscript",o),h&&p(h),document.body.appendChild(v)};function f(t){let{strategy:e="afterInteractive"}=t;"lazyOnload"===e?window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>m(t))}):m(t)}function v(t){t.forEach(f),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(t=>{let e=t.id||t.getAttribute("src");c.add(e)})}function g(t){let{id:e,src:i="",onLoad:n=()=>{},onReady:r=null,strategy:u="afterInteractive",onError:d,stylesheets:p,...f}=t,{updateScripts:v,scripts:g,getIsSsr:y,appDir:x,nonce:w}=(0,o.useContext)(l.HeadManagerContext),b=(0,o.useRef)(!1);(0,o.useEffect)(()=>{let t=e||i;b.current||(r&&t&&c.has(t)&&r(),b.current=!0)},[r,e,i]);let P=(0,o.useRef)(!1);if((0,o.useEffect)(()=>{if(!P.current){if("afterInteractive"===u)m(t);else if("lazyOnload"===u)"complete"===document.readyState?(0,h.requestIdleCallback)(()=>m(t)):window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>m(t))});P.current=!0}},[t,u]),("beforeInteractive"===u||"worker"===u)&&(v?(g[u]=(g[u]||[]).concat([{id:e,src:i,onLoad:n,onReady:r,onError:d,...f}]),v(g)):y&&y()?c.add(e||i):y&&!y()&&m(t)),x){if(p&&p.forEach(t=>{a.default.preinit(t,{as:"style"})}),"beforeInteractive"===u)if(!i)return f.dangerouslySetInnerHTML&&(f.children=f.dangerouslySetInnerHTML.__html,delete f.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+J
1SON.stringify([0,{...f,id:e}])+")"}});else return a.default.preload(i,f.integrity?{as:"script",integrity:f.integrity,nonce:w,crossOrigin:f.crossOrigin}:{as:"script",nonce:w,crossOrigin:f.crossOrigin}),(0,s.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([i,{...f,id:e}])+")"}});"afterInteractive"===u&&i&&a.default.preload(i,f.integrity?{as:"script",integrity:f.integrity,nonce:w,crossOrigin:f.crossOrigin}:{as:"script",nonce:w,crossOrigin:f.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let y=g;("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)},90028:(t,e,i)=>{i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},90695:(t,e,i)=>{i.d(e,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...i(30232).U])},91742:(t,e,i)=>{i.d(e,{T:()=>a,n:()=>o});var n=i(55149),r=i(30784),s=i(77152);let a=[n.ai,r.px,r.KN,r.uj,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],o=t=>a.find((0,s.w)(t))},91760:(t,e,i)=>{i.d(e,{L:()=>n});let n=(0,i(90507).createContext)({})},93600:(t,e,i)=>{i.d(e,{o:()=>f});var n=i(55128),r=i(24605),s=i(72595),a=i(49828),o=i(96382),l=i(7575);let u={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var h=i(89044);function d(t,e){return t*Math.sqrt(1-e*e)}let c=["duration","bounce"],p=["stiffness","damping","mass"];function m(t,e){return e.some(e=>void 0!==t[e])}function f(t=u.visualDuration,e=u.bounce){let i,o="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:v,restDelta:g}=o,y=o.keyframes[0],x=o.keyframes[o.keyframes.length-1],w={done:!1,value:y},{stiffness:b,damping:P,mass:T,duration:S,velocity:A,isResolvedFromDuration:M}=function(t){let e={velocity:u.velocity,stiffness:u.stiffness,damping:u.damping,mass:u.mass,isResolvedFromDuration:!1,...t};if(!m(t,p)&&m(t,c))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,s=2*(0,n.q)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:u.mass,stiffness:r,damping:s}}else{let i=function({duration:t=u.duration,bounce:e=u.bounce,velocity:i=u.velocity,mass:s=u.mass}){let a,o;(0,h.$)(t<=(0,r.f)(u.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let l=1-e;l=(0,n.q)(u.minDamping,u.maxDamping,l),t=(0,n.q)(u.minDuration,u.maxDuration,(0,r.X)(t)),l<1?(a=e=>{let n=e*l,r=n*t;return .001-(n-i)/d(e,l)*Math.exp(-r)},o=e=>{let n=e*l*t,r=Math.pow(l,2)*Math.pow(e,2)*t,s=Math.exp(-n),o=d(Math.pow(e,2),l);return(n*i+i-r)*s*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),o=e=>t*t*(i-e)*Math.exp(-e*t));let c=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(a,o,5/t);if(t=(0,r.f)(t),isNaN(c))return{stiffness:u.stiffness,damping:u.damping,duration:t};{let e=Math.pow(c,2)*s;return{stiffness:e,damping:2*l*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:u.mass}).isResolvedFromDuration=!0}return e}({...o,velocity:-(0,r.X)(o.velocity||0)}),k=A||0,E=P/(2*Math.sqrt(b*T)),V=x-y,C=(0,r.X)(Math.sqrt(b/T)),D=5>Math.abs(V);if(v||(v=D?u.restSpeed.granular:u.restSpeed.default),g||(g=D?u.restDelta.granular:u.restDelta.default),E<1){let t=d(C,E);i=e=>x-Math.exp(-E*C*e)*((k+E*C*V)/t*Math.sin(t*e)+V*Math.cos(t*e))}else if(1===E)i=t=>x-Math.exp(-C*t)*(V+(k+C*V)*t);else{let t=C*Math.sqrt(E*E-1);i=e=>{let i=Math.exp(-E*C*e),n=Math.min(t*e,300);return x-i*((k+E*C*V)*Math.sinh(n)+t*V*Math.cosh(n))/t}}let j={calculatedDuration:M&&S||null,next:t=>{let e=i(t);if(M)w.done=t>=S;else{let n=0===t?k:0;E<1&&(n=0===t?(0,r.f)(k):(0,l.Y)(i,t,e));let s=Math.abs(x-e)<=g;w.done=Math.abs(n)<=v&&s}return w.value=w.done?x:e,w},toString:()=>{let t=Math.min((0,a.t)(j),a.Y),e=(0,s.K)(e=>j.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return j}f.applyToOptions=t=>{let e=(0,o.X)(t,100,f);return t.ease=e.ease,t.duration=(0,r.f)(e.duration),t.type="keyframes",t}},93603:(t,e,i)=>
1{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){let{html:e,height:i=null,width:s=null,children:a,dataNtpc:o=""}=t;return(0,r.useEffect)(()=>{o&&performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-".concat(o)}})},[o]),(0,n.jsxs)(n.Fragment,{children:[a,e?(0,n.jsx)("div",{style:{height:null!=i?"".concat(i,"px"):"auto",width:null!=s?"".concat(s,"px"):"auto"},"data-ntpc":o,dangerouslySetInnerHTML:{__html:e}}):null]})};let n=i(33307),r=i(90507)},94694:(t,e,i)=>{i.d(e,{E4:()=>o,Hr:()=>d,W9:()=>h});var n=i(15322),r=i(30232),s=i(55149),a=i(30784);let o=t=>t===s.ai||t===a.px,l=new Set(["x","y","z"]),u=r.U.filter(t=>!l.has(t));function h(t){let e=[];return u.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,n.ry)(e,"x"),y:(t,{transform:e})=>(0,n.ry)(e,"y")};d.translateX=d.x,d.translateY=d.y},95424:(t,e,i)=>{i.d(e,{K:()=>n});function n(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}},96382:(t,e,i)=>{i.d(e,{X:()=>s});var n=i(24605),r=i(49828);function s(t,e=100,i){let a=i({...t,keyframes:[0,e]}),o=Math.min((0,r.t)(a),r.Y);return{type:"keyframes",ease:t=>a.next(o*t).value/e,duration:(0,n.X)(o)}}},96545:(t,e,i)=>{i.d(e,{F:()=>r});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},97042:(t,e,i)=>{i.d(e,{B:()=>u});var n=i(55128),r=i(55149),s=i(31979),a=i(65492);let o=t=>(0,n.q)(0,255,t),l={...r.ai,transform:t=>Math.round(o(t))},u={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,s.a)(r.X4.transform(n))+")"}},97173:(t,e,i)=>{i.d(e,{e:()=>n});function n(t,{style:e,vars:i},n,r){let s,a=t.style;for(s in e)a[s]=e[s];for(s in r?.applyProjectionStyles(a,n),i)a.setProperty(s,i[s])}},97707:(t,e,i)=>{i.d(e,{N:()=>n});function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},98145:(t,e,i)=>{i.d(e,{B:()=>n});let n="undefined"!=typeof window},98979:(t,e,i)=>{i.d(e,{f:()=>s});var n=i(8284),r=i(90028);function s(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let a=(0,n.q)(0,e,s);t.push((0,r.k)(i,1,a))}}}}]);
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.