PageSourceSearch

https://stanford-tour.netlify.app/_next/static/chunks/08octblulb24q.js

js stanford-tour.netlify.app collected 2026-10-03 11:26:52 UTC 99,109 bytes, 11 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,3979,t=>{"use strict";t.i(47167);var e=t.i(43476),i=t.i(87644),n=t.i(71645),s=t.i(39511);t.s(["GTAG",0,()=>["production","branch-deploy"].includes("production")?(0,e.jsx)(i.GoogleTagManager,{gtmId:"GTM-KVGS665N"}):null,"default",0,function({children:t}){let{setUTMCookie:e,deleteUTMCookie:i}=(0,s.default)();return(0,n.useEffect)(()=>(e(),()=>{i()}),[e,i]),t}])},58184,t=>{"use strict";var e=t.i(43476),i=t.i(71645),n=t.i(48070),s=t.i(13565);function r({children:t,features:a,strict:l=!1}){let[,u]=(0,i.useState)(!o(a)),h=(0,i.useRef)(void 0);if(!o(a)){let{renderer:t,...e}=a;h.current=t,(0,s.loadFeatures)(e)}return(0,i.useEffect)(()=>{o(a)&&a().then(({renderer:t,...e})=>{(0,s.loadFeatures)(e),h.current=t,u(!0)})},[]),(0,e.jsx)(n.LazyContext.Provider,{value:{renderer:h.current,strict:l},children:t})}function o(t){return"function"==typeof t}function a(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}var l=t.i(37806),u=t.i(98125),h=t.i(47414);function c({children:t,isValidProp:n,...s}){n&&(0,u.loadExternalIsValidProp)(n);let r=(0,i.useContext)(l.MotionConfigContext);(s={...r,...s}).transition=a(s.transition,r.transition),s.isStatic=(0,h.useConstant)(()=>s.isStatic);let o=(0,i.useMemo)(()=>s,[JSON.stringify(s.transition),s.transformPagePoint,s.reducedMotion,s.skipAnimations]);return(0,e.jsx)(l.MotionConfigContext.Provider,{value:o,children:t})}class d{constructor(t){this.isMounted=!1,this.node=t}update(){}}var m=t.i(60830),p=t.i(30162),f=t.i(87022);function y(t){return[t("x"),t("y")]}function g({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}var v=t.i(706);function x(t){return void 0===t||1===t}function b({scale:t,scaleX:e,scaleY:i}){return!x(t)||!x(e)||!x(i)}function w(t){return b(t)||P(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function P(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function T(t,e,i,n,s){return void 0!==s&&(t=n+s*(t-n)),n+i*(t-n)+e}function S(t,e=0,i=1,n,s){t.min=T(t.min,e,i,n,s),t.max=T(t.max,e,i,n,s)}function E(t,{x:e,y:i}){S(t.x,e.translate,e.scale,e.originPoint),S(t.y,i.translate,i.scale,i.originPoint)}function M(t,e){t.min+=e,t.max+=e}function A(t,e,i,n,s=.5){let r=(0,v.mixNumber)(t.min,t.max,s);S(t,e,i,r,n)}function D(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function j(t,e,i){let n=i??t;A(t.x,D(e.x,n.x),e.scaleX,e.scale,e.originX),A(t.y,D(e.y,n.y),e.scaleY,e.scale,e.originY)}function k(t,e){return g(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}var C=t.i(46791),V=t.i(83411);function O(t,e){let i=t.getValue("willChange");if((0,V.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&C.MotionGlobalConfig.WillChange){let i=new C.MotionGlobalConfig.WillChange("auto");t.addValue("willChange",i),i.add(e)}}var L=t.i(63074),R=t.i(96173),_=t.i(38638),B=t.i(76959),I=t.i(3163);let F=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>f.frame.update(e,t),stop:()=>(0,f.cancelFrame)(e),now:()=>f.frameData.isProcessing?f.frameData.timestamp:R.time.now()}};var G=t.i(65566),U=t.i(56512);function N(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}let $=.01,z=2,H=.005,W=.5;function Y(t,e){return t*Math.sqrt(1-e*e)}let K=["duration","bounce"],q=["stiffness","damping","mass"];function X(t,e){return e.some(e=>void 0!==t[e])}function J(t=.3,e=.3){let i,n,s,r,o,a,l="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:u,restDelta:h}=l,c=l.keyframes[0],d=l.keyframes[l.keyframes.length-1],m={done:!1,value:c},{stiffness:p,damping:f,mass:y,duration:g,velocity:v,isResolvedFromDuration:x}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!X(t,q)&&X(t,K))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,s=2*(0,B.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:s}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:n=1}){let s,r;(0,G.warning)(t<=(0,L.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=(0,B.clamp)(.05,1,o),t=(0,B.clamp)(.01,10,(0,L.millisecondsToSeconds)(t)),o<1?(s=e=>{let n=e*o,s=n*t;return .001-(n-i)/Y(e,o)*Math.exp(-s)},r=e=>{let n=e*o*t,r=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-n),l=Y(Math.pow(e,2),o);return(n*i+i-r)*a*(-s(e)+.001>0?-1:1)/l}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),r=e=>t*t*(i-e)*Math.exp(-e*t));
1let a=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(s,r,5/t);if(t=(0,L.secondsToMilliseconds)(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...l,velocity:-(0,L.millisecondsToSeconds)(l.velocity||0)}),b=v||0,w=f/(2*Math.sqrt(p*y)),P=d-c,T=(0,L.millisecondsToSeconds)(Math.sqrt(p/y)),S=5>Math.abs(P);if(u||(u=S?$:z),h||(h=S?H:W),w<1)s=Y(T,w),r=(b+w*T*P)/s,i=t=>d-Math.exp(-w*T*t)*(r*Math.sin(s*t)+P*Math.cos(s*t)),o=w*T*r+P*s,a=w*T*P-r*s,n=t=>Math.exp(-w*T*t)*(o*Math.sin(s*t)+a*Math.cos(s*t));else if(1===w){i=t=>d-Math.exp(-T*t)*(P+(b+T*P)*t);let t=b+T*P;n=e=>Math.exp(-T*e)*(T*t*e-b)}else{let t=T*Math.sqrt(w*w-1);i=e=>{let i=Math.exp(-w*T*e),n=Math.min(t*e,300);return d-i*((b+w*T*P)*Math.sinh(n)+t*P*Math.cosh(n))/t};let e=(b+w*T*P)/t,s=w*T*e-P*t,r=w*T*P-e*t;n=e=>{let i=Math.exp(-w*T*e),n=Math.min(t*e,300);return i*(s*Math.sinh(n)+r*Math.cosh(n))}}let E={calculatedDuration:x&&g||null,velocity:t=>(0,L.secondsToMilliseconds)(n(t)),next:t=>{if(!x&&w<1){let e=Math.exp(-w*T*t),i=Math.sin(s*t),n=Math.cos(s*t),l=d-e*(r*i+P*n);return m.done=Math.abs((0,L.secondsToMilliseconds)(e*(o*i+a*n)))<=u&&Math.abs(d-l)<=h,m.value=m.done?d:l,m}let e=i(t);return x?m.done=t>=g:m.done=Math.abs((0,L.secondsToMilliseconds)(n(t)))<=u&&Math.abs(d-e)<=h,m.value=m.done?d:e,m},toString:()=>{let t=Math.min(N(E),2e4),e=(0,U.generateLinearEasing)(e=>E.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return E}J.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),s=Math.min(N(n),2e4);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:(0,L.millisecondsToSeconds)(s)}}(t,100,J);return t.ease=e.ease,t.duration=(0,L.secondsToMilliseconds)(e.duration),t.type="keyframes",t};var Z=t.i(25791);function Q(t,e,i){let n=Math.max(e-5,0);return(0,Z.velocityPerSecond)(i-t(n),e-n)}function tt({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,m=t[0],p={done:!1,value:m},f=i*e,y=m+f,g=void 0===o?y:o(y);g!==y&&(f=g-m);let v=t=>-f*Math.exp(-t/n),x=t=>g+v(t),b=t=>{let e=v(t),i=x(t);p.done=Math.abs(e)<=u,p.value=p.done?g:i},w=t=>{let e;if(e=p.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,d=J({keyframes:[p.value,(i=p.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:Q(x,t,p.value),damping:s,stiffness:r,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,b(t),w(t)),void 0!==c&&t>=c)?d.next(t-c):(e||b(t),p)}}}let te=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function ti(t,e,i,n){return t===e&&i===n?m.noop:s=>0===s||1===s?s:te(function(t,e,i,n,s){let r,o,a=0;do(r=te(o=e+(i-e)/2,n,s)-t)>0?i=o:e=o;while(Math.abs(r)>1e-7&&++a<12)return o}(s,0,1,t,i),e,n)}let tn=ti(.42,0,1,1),ts=ti(0,0,.58,1),tr=ti(.42,0,.58,1),to=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ta=t=>e=>1-t(1-e),tl=ti(.33,1.53,.69,.99),tu=ta(tl),th=to(tu),tc=t=>t>=1?1:(t*=2)<1?.5*tu(t):.5*(2-Math.pow(2,-10*(t-1))),td=t=>1-Math.sin(Math.acos(t)),tm=ta(td),tp=to(td);var tf=t.i(60855);let ty={linear:m.noop,easeIn:tn,easeInOut:tr,easeOut:ts,circIn:td,circInOut:tp,circOut:tm,backIn:tu,backInOut:th,backOut:tl,anticipate:tc},tg=t=>{if((0,tf.isBezierDefinition)(t)){(0,G.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,s]=t;return ti(e,i,n,s)}return"string"==typeof t?((0,G.invariant)(void 0!==ty[t],`Invalid easing type '${t}'`,"invalid-easing-type"),ty[t]):t};var tv=t.i(44230),tx=t.i(15923);function tb({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var s;let r=Array.isArray(n)&&"number"!=typeof n[0]?n.map(tg):tg(n),o={done:!1,value:e[0]},a=(s=i&&i.length===e.length?i:(0,tx.defaultOffset)(e),s.map(e=>e*t)),l=(0,tv.interpolate)(a,e,{ease:Array.isArray(r)?r:e.map(()=>r||tr).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=l(e),o.done=e>=t,o)}}var tw=t.i(14229);let tP={decay:tt,inertia:tt,tween:tb,keyframes:tb,spring:J};function tT(t){"string"==typeof t.type&&(t.type=tP[t.type])}var tS=t.i(79294);let tE=t=>t/100;class tM extends tS.WithPromise{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==R.time.now()&&this.tick(R.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;tT(t);let{type:e=tb,repeat:i=0,repeatDelay:n=0,repeatType:s,velocity:r=0}=t,{keyframes:o}=t,a=e||tb;a!==tb&&"number"!=typeof o[0]&&(this.mixKeyframes=(0,_.pipe)(tE,(0,I.mix)(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===s&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=N(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}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 i,{generator:n,totalDuration:s,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:h,repeat:c,repeatType:d,repeatDelay:m,type:p,onUpdate:f,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let x=this.currentTime,b=n;if(c){let t=Math.min(this.currentTime,s)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===d?(i=1-i,m&&(i-=m/a)):"mirror"===d&&(b=o)),x=(0,B.clamp)(0,1,i)*a}v?(this.delayState.value=h[0],i=this.delayState):i=b.next(x),r&&!v&&(i.value=r(i.value));let{done:w}=i;v||null===l||(w=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return P&&p!==tt&&(i.value=(0,tw.getFinalKeyframe)(h,this.options,y,this.speed)),f&&f(i.value),P&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,L.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,L.millisecondsToSeconds)(t)}get time(){return(0,L.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,L.secondsToMilliseconds)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;
1if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return Q(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(R.time.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,L.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=F,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(R.time.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var tA=t.i(21012),tD=t.i(94581),tj=t.i(68e3);let tk={anticipate:tc,backInOut:th,circInOut:tp};class tC extends tj.NativeAnimation{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tk&&(t.ease=tk[t.ease])}(t),tT(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:s,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new tM({...r,autoplay:!1}),a=Math.max(10,R.time.now()-this.startTime),l=(0,B.clamp)(0,10,a-10),u=o.sample(a).value,{name:h}=this.options;s&&h&&(0,tD.setStyle)(s,h,u),e.setWithVelocity(o.sample(Math.max(0,a-l)).value,u,l),o.stop()}}var tV=t.i(97307),tO=t.i(69577);let tL=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tO.complex.test(t)||"0"===t)&&!t.startsWith("url("));function tR(t){t.duration=0,t.type="keyframes"}var t_=tS,tB=t.i(60900),tI=t.i(62118);let tF=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,tG=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),tU=(0,tB.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tN extends t_.WithPromise{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:r="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=R.time.now();const c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:s,repeatType:r,name:a,motionValue:l,element:u,...h},d=u?.KeyframeResolver||tA.KeyframeResolver;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let s;this.keyframeResolver=void 0;let{name:r,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:h}=i;this.resolvedAt=R.time.now();let c=!0;!function(t,e,i,n){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],o=tL(s,e),a=tL(r,e);return(0,G.warning)(o===a,`You are trying to animate ${e} from "${s}" to "${r}". "${o?r:s}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,tV.isGenerator)(i))&&n)}(t,r,o,a)&&(c=!1,(C.MotionGlobalConfig.instantAnimations||!l)&&h?.((0,tw.getFinalKeyframe)(t,i,e)),t[0]=t[t.length-1],tR(i),i.repeat=0);let d={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=c&&!u&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:s,damping:r,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;
1let{onUpdate:l,transformTemplate:u}=e.owner.getProps();return tU()&&i&&(tI.acceleratedValues.has(i)||tG.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&tF.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!u)&&!l&&!n&&"mirror"!==s&&0!==r&&"inertia"!==o}(d),f=d.motionValue?.owner?.current;if(p)try{s=new tC({...d,element:f})}catch{s=new tM(d)}else s=new tM(d);s.finished.then(()=>{this.notifyFinished()}).catch(m.noop),this.pendingTimeline&&(this.stopTimeline=s.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=s}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,tA.flushKeyframeResolvers)()),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()}}function t$(t,e){let i=t?.[e]??t?.default??t;return i!==t?a(i,t):i}var tz=t.i(57788);let tH={type:"spring",stiffness:500,damping:25,restSpeed:10},tW={type:"keyframes",duration:.8},tY={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tK=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),tq=(t,e,i,n={},s,r)=>o=>{let a=t$(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=(0,L.secondsToMilliseconds)(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:s};!function(t){for(let e in t)if(!tK.has(e))return!0;return!1}(a)&&Object.assign(h,((t,{keyframes:e})=>e.length>2?tW:tz.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:tH:tY)(t,h)),h.duration&&(h.duration=(0,L.secondsToMilliseconds)(h.duration)),h.repeatDelay&&(h.repeatDelay=(0,L.secondsToMilliseconds)(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(tR(h),0===h.delay&&(c=!0)),(C.MotionGlobalConfig.instantAnimations||C.MotionGlobalConfig.skipAnimations||s?.shouldSkipAnimations||a.skipAnimations)&&(c=!0,tR(h),h.delay=0),h.allowFlatten=!a.type&&!a.ease,c&&!r&&void 0!==e.get()){let t=(0,tw.getFinalKeyframe)(h.keyframes,a);if(void 0!==t)return void f.frame.update(()=>{h.onUpdate(t),h.onComplete()})}return a.isSync?new tM(h):new tN(h)};function tX(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}let tJ={x:!1,y:!1};var tZ=t.i(65091);function tQ(t){return t.max-t.min}function t0(t,e,i,n=.5){t.origin=n,t.originPoint=(0,v.mixNumber)(e.min,e.max,t.origin),t.scale=tQ(i)/tQ(e),t.translate=(0,v.mixNumber)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function t1(t,e,i,n){t0(t.x,e.x,i.x,n?n.originX:void 0),t0(t.y,e.y,i.y,n?n.originY:void 0)}function t2(t,e,i,n=0){t.min=(n?(0,v.mixNumber)(i.min,i.max,n):i.min)+e.min,t.max=t.min+tQ(e)}function t3(t,e,i,n=0){let s=n?(0,v.mixNumber)(i.min,i.max,n):i.min;t.min=e.min-s,t.max=t.min+tQ(e)}function t5(t,e,i,n){t3(t.x,e.x,i.x,n?.x),t3(t.y,e.y,i.y,n?.y)}var t4=t.i(61327);let t9=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),t6=new Set(["INPUT","SELECT","TEXTAREA"]),t7=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function t8(t){return{point:{x:t.pageX,y:t.pageY}}}function et(t,e,i,n){return tX(t,e,t=>t7(t)&&i(t,t8(t)),n)}let ee=({current:t})=>t?t.ownerDocument.defaultView:null;var ei=t.i(25522);let en=(t,e)=>Math.abs(t-e),es=new Set(["auto","scroll"]);class er{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:s=!1,distanceThreshold:r=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=eo(this.lastRawMoveEventInfo,this.transformPagePoint));let i=el(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(en(t.x,e.x)**2+en(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!s)return;let{point:r}=i,{timestamp:o}=f.frameData;this.history.push({...r,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=eo(e,this.transformPagePoint),f.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=el("pointercancel"===t.type?this.lastMoveEventInfo:eo(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},!t7(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=n||window;const a=eo(t8(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=f.frameData;this.history=[{...l,timestamp:u}];const{onSessionStart:h}=e;h&&h(t,el(a,this.history));const c={passive:!0,capture:!0};this.removeListeners=(0,_.pipe)(et(this.contextWindow,"pointermove",this.handlePointerMove,c),et(this.contextWindow,"pointerup",this.handlePointerUp,c),et(this.contextWindow,"pointercancel",this.handlePointerUp,c)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(es.has(t.overflowX)||es.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:n.x-e.x,y:n.y-e.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,n),f.frame.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,f.cancelFrame)(this.updatePoint)}}function eo(t,e){return e?{point:e(t.point)}:t}function ea(t,e){return{x:t.x-e.x,y:t.y-e.y}}function el({point:t},e){return{point:t,delta:ea(t,eu(e)),offset:ea(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,n=eu(t);for(;e>=0&&(i=t[e],!(n.timestamp-i.timestamp>(0,L.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&n.timestamp-i.timestamp>
12*(0,L.secondsToMilliseconds)(.1)&&(i=t[1]);let s=(0,L.millisecondsToSeconds)(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let r={x:(n.x-i.x)/s,y:(n.y-i.y)/s};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e)}}function eu(t){return t[t.length-1]}var eh=t.i(83920);function ec(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 ed(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 em(t,e,i){return{min:ep(t,e),max:ep(t,i)}}function ep(t,e){return"number"==typeof t?t:t[e]||0}let ef=new WeakMap;class ey{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,p.createBox)(),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 s=t=>{e&&this.snapToCursor(t8(t).point),this.stopAnimation()},r=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(tJ[t])return null;else return tJ[t]=!0,()=>{tJ[t]=!1};return tJ.x||tJ.y?null:(tJ.x=tJ.y=!0,()=>{tJ.x=tJ.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),y(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tZ.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=tQ(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&f.frame.update(()=>s(t,e),!1,!0),O(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=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}(o),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),r&&f.frame.update(()=>r(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new er(t,{onSessionStart:s,onStart:r,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:ee(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!n||!i)return;let{velocity:r}=n;this.startAnimation(r);let{onDragEnd:o}=this.getProps();o&&f.frame.postRender(()=>o(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!ev(t,n,this.currentDirection))return;let s=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,v.mixNumber)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,v.mixNumber)(i,t,n.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),s.set(r)}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&&(0,ei.isRefObject)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:s}){return{x:ec(t.x,i,s),y:ec(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:em(t,"left","right"),y:em(t,"top","bottom")}}(e),n!==this.constraints&&!(0,ei.isRefObject)(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&y(t=>{var e,n;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],s={},void 0!==n.min&&(s.min=n.min-e.min),void 0!==n.max&&(s.max=n.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,ei.isRefObject)(e))return!1;let n=e.current;(0,G.invariant)(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:s}=this.visualElement;if(!s||!s.layout)return!1;s.root&&(s.root.scroll=void 0,s.root.updateScroll());
1let r=function(t,e,i){let n=k(t,i),{scroll:s}=e;return s&&(M(n.x,s.offset.x),M(n.y,s.offset.y)),n}(n,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:ed(t.x,r.x),y:ed(t.y,r.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=g(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(y(o=>{if(!ev(o,e,this.currentDirection))return;let l=a&&a[o]||{};(!0===r||r===o)&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return O(this.visualElement,t),i.start(tq(t,i,0,e,this.visualElement,!1))}stopAnimation(){y(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){y(e=>{let{drag:i}=this.getProps();if(!ev(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:r}=n.layout.layoutBox[e],o=s.get()||0;s.set(t[e]-(0,v.mixNumber)(i,r,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,ei.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};y(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let r,o,a,l=e.get();n[t]=(i={min:l,max:l},s=this.constraints[t],r=.5,o=tQ(i),(a=tQ(s))>o?r=(0,eh.progress)(s.min,s.max-o,i.min):o>a&&(r=(0,eh.progress)(i.min,i.max-a,s.min)),(0,B.clamp)(0,1,r))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),y(e=>{if(!ev(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:r}=this.constraints[e];i.set((0,v.mixNumber)(s,r,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;ef.set(this.visualElement,this);let e=this.visualElement.current,i=et(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}=this.getProps(),s=t.target,r=s!==e&&(t6.has(s.tagName)||!0===s.isContentEditable);i&&n&&!r&&this.start(t)}),n=()=>{var i,n,s;let r,o,{dragConstraints:a}=this.getProps();(0,ei.isRefObject)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=a.current,s=()=>this.scalePositionWithinConstraints(),r=(0,t4.resize)(i,eg(s)),o=(0,t4.resize)(n,eg(s)),t=()=>{r(),o()}))},{projection:s}=this.visualElement,r=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),f.frame.read(n);let o=tX(window,"resize",()=>this.scalePositionWithinConstraints()),a=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(y(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),i(),r(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:r=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:r,dragMomentum:o}}}function eg(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function ev(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let ex=t=>(e,i)=>{t&&f.frame.update(()=>t(e,i),!1,!0)},eb={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var ew=t.i(60140),eP=i,eT=t.i(21476),eS=t.i(31178),eE=t.i(4035);let eM=!1;class eA extends eP.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),i&&i.register&&n&&i.register(s),eM&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),eb.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:s}=this.props,{projection:r}=i;return r&&(r.isPresent=s,t.layoutDependency!==e&&r.setOptions({...r.options,layoutDependency:e}),eM=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==s?r.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?r.promote():r.relegate()||f.frame.postRender(()=>{let t=r.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),ew.microtask.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;eM=!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 eD(t){let[n,s]=function(t=!0){let e=(0,i.useContext)(eT.PresenceContext);if(null===e)return[!0,null];let{isPresent:n,onExitComplete:s,register:r}=e,o=(0,i.useId)();(0,i.useEffect)(()=>
1{if(t)return r(o)},[t]);let a=(0,i.useCallback)(()=>t&&s&&s(o),[o,s,t]);return!n&&s?[!1,a]:[!0]}(),r=(0,eP.useContext)(eS.LayoutGroupContext);return(0,e.jsx)(eA,{...t,layoutGroup:r,switchLayoutGroup:(0,eP.useContext)(eE.SwitchLayoutGroupContext),isPresent:n,safeToRemove:s})}var ej=t.i(70596),ek=t.i(86427),eC=t.i(35043);function eV(t){return t.props[eC.optimizedAppearDataAttribute]}var eO=t.i(24463),eL=t.i(89026),eR=t.i(33871),e_=t.i(95051);let eB=e_.cornerRadiusProps.length,eI=t=>"string"==typeof t?parseFloat(t):t,eF=t=>"number"==typeof t||tZ.px.test(t);function eG(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let eU=e$(0,.5,tm),eN=e$(.5,.95,m.noop);function e$(t,e,i){return n=>n<t?0:n>e?1:i((0,eh.progress)(t,e,n))}function ez(t,e){t.min=e.min,t.max=e.max}function eH(t,e){ez(t.x,e.x),ez(t.y,e.y)}function eW(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function eY(t,e,i,n,s){return t-=e,t=n+1/i*(t-n),void 0!==s&&(t=n+1/s*(t-n)),t}function eK(t,e,[i,n,s],r,o){!function(t,e=0,i=1,n=.5,s,r=t,o=t){if(tZ.percent.test(e)&&(e=parseFloat(e),e=(0,v.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,v.mixNumber)(r.min,r.max,n);t===r&&(a-=e),t.min=eY(t.min,e,i,a,s),t.max=eY(t.max,e,i,a,s)}(t,e[i],e[n],e[s],e.scale,r,o)}let eq=["x","scaleX","originX"],eX=["y","scaleY","originY"];function eJ(t,e,i,n){eK(t.x,e,eq,i?i.x:void 0,n?n.x:void 0),eK(t.y,e,eX,i?i.y:void 0,n?n.y:void 0)}function eZ(t){return 0===t.translate&&1===t.scale}function eQ(t){return eZ(t.x)&&eZ(t.y)}function e0(t,e){return t.min===e.min&&t.max===e.max}function e1(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function e2(t,e){return e1(t.x,e.x)&&e1(t.y,e.y)}function e3(t){return tQ(t.x)/tQ(t.y)}function e5(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var e4=t.i(33887);class e9{constructor(){this.members=[]}add(t){(0,e4.addUniqueItem)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||((0,e4.removeItem)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,e4.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:s}=t.options;(void 0===n||n!==s)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let e6=(t,e)=>t.depth-e.depth;class e7{constructor(){this.children=[],this.isDirty=!1}add(t){(0,e4.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,e4.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(e6),this.isDirty=!1,this.children.forEach(t)}}let e8=["","X","Y","Z"],it=0;function ie(t,e,i,n){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),n&&(n[t]=0))}function ii({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:s}){return class{constructor(t={},i=e?.()){this.id=it++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
1{this.projectionUpdateScheduled=!1,this.nodes.forEach(io),this.nodes.forEach(iy),this.nodes.forEach(ig),this.nodes.forEach(ia)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=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 e7)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new ej.SubscriptionManager),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,eL.isSVGElement)(e)&&(!(0,eL.isSVGElement)(e)||"svg"!==e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.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,s=()=>this.root.updateBlockedByResize=!1;f.frame.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,r;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=R.time.now(),r=({timestamp:t})=>{let i=t-e;i>=250&&((0,f.cancelFrame)(r),s())},f.frame.setup(r,!0),i=()=>(0,f.cancelFrame)(r),eb.hasAnimatedSinceResize&&(eb.hasAnimatedSinceResize=!1,this.nodes.forEach(ip))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(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 r=this.options.transition||s.getDefaultTransition()||iT,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!e2(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={...t$(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||ip(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,f.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(iv),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=eV(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",f.frame,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(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,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!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()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
1h(ih),this.nodes.forEach(iu);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(ic);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(id),this.nodes.forEach(im),this.nodes.forEach(is),this.nodes.forEach(ir)):this.nodes.forEach(ic),this.clearAllSnapshots();let t=R.time.now();f.frameData.delta=(0,B.clamp)(0,1e3/60,t-f.frameData.timestamp),f.frameData.timestamp=t,f.frameData.isProcessing=!0,f.frameSteps.update.process(f.frameData),f.frameSteps.preRender.process(f.frameData),f.frameSteps.render.process(f.frameData),f.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ew.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(il),this.sharedNodes.forEach(ix)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,f.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){f.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||tQ(this.snapshot.measuredBox.x)||tQ(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.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,p.createBox)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(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(!s)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!eQ(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,r=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||w(this.latestValues)||r)&&(s(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)),iM((e=n).x),iM(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,p.createBox)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(iD))){let{scroll:t}=this.root;t&&(M(e.x,t.offset.x),M(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,p.createBox)();if(eH(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:s,options:r}=n;n!==this.root&&s&&r.layoutScroll&&(s.wasRoot&&eH(e,t),M(e.x,s.offset.x),M(e.y,s.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||(0,p.createBox)();eH(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(M(n.x,-i.scroll.offset.x),M(n.y,-i.scroll.offset.y)),w(i.latestValues)&&j(n,i.latestValues,i.layout?.layoutBox)}return w(this.latestValues)&&j(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=(0,p.createBox)();eH(e,t);for(let t=0;t<this.path.length;t++){let i,n=this.path[t];w(n.latestValues)&&(n.instance&&(b(n.latestValues)&&n.updateSnapshot(),eH(i=(0,p.createBox)(),n.measurePageBox())),eJ(e,n.latestValues,n.snapshot?.layoutBox,i))}return w(this.latestValues)&&eJ(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!==f.frameData.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:s}=this.options;if(!this.layout||!(n||s))return;this.resolvedRelativeTargetAt=f.frameData.timestamp;let r=this.getClosestProjectingParent();if(r&&this.linkedParentVersion!==r.layoutVersion&&!r.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&r&&r.layout?this.createRelativeTarget(r,this.layout.layoutBox,r.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,p.createBox)(),this.targetWithTransforms=(0,p.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l,u;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,t2(o.x,a.x,l.x,u?.x),t2(o.y,a.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):eH(this.target,this.layout.layoutBox),E(this.target,this.targetDelta)):eH(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&r&&!!r.resumingFrom==!!this.resumingFrom&&!r.options.layoutScroll&&r.target&&1!==this.animationProgress?this.createRelativeTarget(r,this.target,r.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||b(this.parent.latestValues)||P(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)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,p.createBox)(),this.relativeTargetOrigin=(0,p.createBox)(),t5(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),eH(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}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===f.frameData.timestamp&&(i=!1),i)return;let{layout:n,layoutId:s}=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||s))return;eH(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,n=!1){let s,r,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){r=(s=i[a]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(M(t.x,-s.scroll.offset.x),M(t.y,-s.scroll.offset.y)),r&&(e.x*=r.x.scale,e.y*=r.y.scale,E(t,r)),n&&w(s.latestValues)&&j(t,s.latestValues,s.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,p.createBox)());let{target:a}=t;if(!a){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(),t1(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===r&&this.treeScale.y===o&&e5(this.projectionDelta.x,this.prevProjectionDelta.x)&&e5(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}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,p.createDelta)(),this.projectionDelta=(0,p.createDelta)(),this.projectionDeltaWithTransform=(0,p.createDelta)()}setAnimationOrigin(t,e=!1,i){let n,s=this.snapshot,r=s?s.latestValues:{},o={...this.latestValues},a=(0,p.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=(0,p.createBox)(),u=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,d=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(iP));this.animationProgress=0;let m=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,s=m?.(i);if(s?(a.x.translate=s.x,a.x.scale=(0,v.mixNumber)(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=s.y,a.y.scale=(0,v.mixNumber)(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(ib(a.x,t.x,i),ib(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,f,y,g,x,b;t5(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),y=this.relativeTarget,g=this.relativeTargetOrigin,x=l,b=i,iw(y.x,g.x,x.x,b),iw(y.y,g.y,x.y,b),n&&(h=this.relativeTarget,f=n,e0(h.x,f.x)&&e0(h.y,f.y))&&(this.isProjectionDirty=!1),n||(n=(0,p.createBox)()),eH(n,this.relativeTarget)}u&&(this.animationValues=o,function(t,e,i,n,s,r){s?(t.opacity=(0,v.mixNumber)(0,i.opacity??1,eU(n)),t.opacityExit=(0,v.mixNumber)(e.opacity??1,0,eN(n))):r&&(t.opacity=(0,v.mixNumber)(e.opacity??1,i.opacity??1,n));for(let s=0;s<eB;s++){let r=e_.cornerRadiusProps[s],o=eG(e,r),a=eG(i,r);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||eF(o)===eF(a)?(t[r]=Math.max((0,v.mixNumber)(eI(o),eI(a),n),0),(tZ.percent.test(a)||tZ.percent.test(o))&&(t[r]+="%")):t[r]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,v.mixNumber)(e.rotate||0,i.rotate||0,n))}(o,r,this.latestValues,i,d,c)),s&&void 0!==s.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=s.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,f.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=f.frame.update(()=>{var e,i,n;let s;eb.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,ek.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],n={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}},(s=(0,V.isMotionValue)(e)?e:(0,ek.motionValue)(e)).start(tq("",s,i,n)),s.animation),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:s}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&iA(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,p.createBox)();let e=tQ(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=tQ(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}eH(e,i),j(e,s),t1(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new e9),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&&ie("z",t,n,this.animationValues);for(let e=0;e<e8.length;e++)ie(`rotate${e8[e]}`,t,n,this.animationValues),ie(`skew${e8[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=(0,eR.resolveMotionValue)(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=(0,eR.resolveMotionValue)(e?.pointerEvents)||""),this.hasProjected&&!w(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=n.animationValues||n.latestValues;this.applyTransformsToTarget();let r=function(t,e,i){let n="",s=t.x.translate/e.x,r=t.y.translate/e.y,o=i?.z||0;if((s||r||o)&&(n=`translate3d(${s}px, ${r}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:s,rotateX:r,rotateY:o,skewX:a,skewY:l}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),s&&(n+=`rotate(${s}deg) `),r&&(n+=`rotateX(${r}deg) `),o&&(n+=`rotateY(${o}deg) `),a&&(n+=`skewX(${a}deg) `),l&&(n+=`skewY(${l}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(r=i(s,r)),t.transform=r;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=n===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,eO.scaleCorrectors){if
1(void 0===s[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=eO.scaleCorrectors[e],l="none"===r?s[e]:i(s[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?(0,eR.resolveMotionValue)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(iu),this.root.sharedNodes.clear()}}}function is(t){t.updateLayout()}function ir(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:s}=t.options,r=e.source!==t.layout.source;if("size"===s)y(t=>{let n=r?e.measuredBox[t]:e.layoutBox[t],s=tQ(n);n.min=i[t].min,n.max=n.min+s});else if("x"===s||"y"===s){let t="x"===s?"y":"x";ez(r?e.measuredBox[t]:e.layoutBox[t],i[t])}else iA(s,e.layoutBox,i)&&y(n=>{let s=r?e.measuredBox[n]:e.layoutBox[n],o=tQ(i[n]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,p.createDelta)();t1(o,i,e.layoutBox);let a=(0,p.createDelta)();r?t1(a,t.applyTransform(n,!0),e.measuredBox):t1(a,i,e.layoutBox);let l=!eQ(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:s,layout:r}=n;if(s&&r){let o=t.options.layoutAnchor||void 0,a=(0,p.createBox)();t5(a,e.layoutBox,s.layoutBox,o);let l=(0,p.createBox)();t5(l,i,r.layoutBox,o),e2(a,l)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function io(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function ia(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function il(t){t.clearSnapshot()}function iu(t){t.clearMeasurements()}function ih(t){t.isLayoutDirty=!0,t.updateLayout()}function ic(t){t.isLayoutDirty=!1}function id(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function im(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ip(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function iy(t){t.resolveTargetDelta()}function ig(t){t.calcProjection()}function iv(t){t.resetSkewAndRotation()}function ix(t){t.removeLeadSnapshot()}function ib(t,e,i){t.translate=(0,v.mixNumber)(e.translate,0,i),t.scale=(0,v.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function iw(t,e,i,n){t.min=(0,v.mixNumber)(e.min,i.min,n),t.max=(0,v.mixNumber)(e.max,i.max,n)}function iP(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let iT={duration:.45,ease:[.4,0,.1,1]},iS=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),iE=iS("applewebkit/")&&!iS("chrome/")?Math.round:m.noop;function iM(t){t.min=iE(t.min),t.max=iE(t.max)}function iA(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(e3(e)-e3(i)))}function iD(t){return t!==t.root&&t.scroll?.wasRoot}let ij=ii({attachResizeListener:(t,e)=>tX(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ik={current:void 0},iC=ii({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ik.current){let t=new ij({});t.mount(window),t.setOptions({layoutScroll:!0}),ik.current=t}return ik.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var iV=t.i(86579);function iO(t,e,i){let n=t.getProps();return(0,iV.resolveVariantFromProps)(n,e,void 0!==i?i:n.custom,t)}let iL=new Set(["width","height","top","left","right","bottom",...tz.transformPropOrder]),iR=t=>Array.isArray(t);function i_(t,e,{delay:i=0,transitionOverride:n,type:s}={}){let{transition:r,transitionEnd:o,...l}=e,u=t.getDefaultTransition();r=r?a(r,u):u;let h=r?.reduceMotion,c=r?.skipAnimations;n&&(r=n);let d=[],m=s&&t.animationState&&t.animationState.getState()[s],p=r?.path;for(let e in p&&p.animateVisualElement(t,l,r,i,d),l){let n=t.getValue(e,t.latestValues[e]??null),s=l[e];
1if(void 0===s||m&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(m,e))continue;let o={delay:i,...t$(r||{},e)};c&&(o.skipAnimations=!0);let a=n.get();if(void 0!==a&&!n.isAnimating()&&!Array.isArray(s)&&s===a&&!o.velocity){f.frame.update(()=>n.set(s));continue}let u=!1;if(window.MotionHandoffAnimation){let i=eV(t);if(i){let t=window.MotionHandoffAnimation(i,e,f.frame);null!==t&&(o.startTime=t,u=!0)}}O(t,e);let p=h??t.shouldReduceMotion;n.start(tq(e,n,s,p&&iL.has(e)?{type:!1}:o,t,u));let y=n.animation;y&&d.push(y)}if(o){let e=()=>f.frame.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...s}=iO(t,e)||{};for(let e in s={...s,...i}){var r;let i=iR(r=s[e])?r[r.length-1]||0:r;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,ek.motionValue)(i))}}(t,o)});d.length?Promise.all(d).then(e):e()}return d}function iB(t,e,i,n=0,s=1){let r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(r,o):1===s?r*n:a-r*n}function iI(t,e,i={}){let n=iO(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(s=i.transitionOverride);let r=n?()=>Promise.all(i_(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,i=0,n=0,s=0,r=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(iI(l,e,{...o,delay:i+("function"==typeof n?0:n)+iB(t.variantChildren,l,n,s,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,r,o,a,i)}:()=>Promise.resolve(),{when:a}=s;if(!a)return Promise.all([r(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[r,o]:[o,r];return t().then(()=>e())}}var iF=t.i(32525),iG=t.i(6840);let iU=iG.variantProps.length;var iN=t.i(85983);function i$(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let iz=[...iG.variantPriorityOrder].reverse(),iH=iG.variantPriorityOrder.length;function iW(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function iY(){return{animate:iW(!0),whileInView:iW(),whileHover:iW(),whileTap:iW(),whileDrag:iW(),whileFocus:iW(),exit:iW()}}let iK=0;var iq=t.i(49652);function iX(t,e){let i=(0,iq.resolveElements)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function iJ(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&f.frame.postRender(()=>s(e,t8(e)))}var iZ=t.i(72846);let iQ=(t,e)=>!!e&&(t===e||iQ(t,e.parentElement)),i0=new WeakSet;function i1(t){return e=>{"Enter"===e.key&&t(e)}}function i2(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function i3(t){return t7(t)&&!(tJ.x||tJ.y)}let i5=new WeakSet;function i4(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 s=n["onTap"+("End"===i?"":i)];s&&f.frame.postRender(()=>s(e,t8(e)))}let i9=new WeakMap,i6=new WeakMap,i7=t=>{let e=i9.get(t.target);e&&e(t)},i8=t=>{t.forEach(i7)},nt={some:0,all:1};var ne=t.i(3973),ni=t.i(77942),nn=t.i(72590),ns=t.i(19928);let nr=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var no=tA,na=t.i(47507),nl=t.i(75554);let nu=new Set(["auto","none","0"]);var nh=t.i(44493);class nc extends no.KeyframeResolver{constructor(t,e,i,n,s){super(t,e,i,n,s,!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,ns.isCSSVariableToken)(n))){let s=function t(e,i,n=1){(0,G.invariant)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[s,r]=function(t){let e=nr.exec(t);if(!e)return[,];let[,i,n,s]=e;return[`--${i??n}`,s]}(e);if(!s)return;let o=window.getComputedStyle(i).getPropertyValue(s);
1if(o){let t=o.trim();return(0,nn.isNumericalString)(t)?parseFloat(t):t}return(0,ns.isCSSVariableToken)(r)?t(r,i,n+1):r}(n,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!iL.has(i)||2!==t.length)return;let[n,s]=t,r=(0,ni.findDimensionValueType)(n),o=(0,ni.findDimensionValueType)(s);if((0,ns.containsCSSVariable)(n)!==(0,ns.containsCSSVariable)(s)&&nh.positionalValues[i]){this.needsMeasurement=!0;return}if(r!==o)if((0,nh.isNumOrPxType)(r)&&(0,nh.isNumOrPxType)(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else nh.positionalValues[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,na.isZeroValueString)(n)))&&i.push(e)}i.length&&function(t,e,i){let n,s=0;for(;s<t.length&&!n;){let e=t[s];"string"==typeof e&&!nu.has(e)&&(0,tO.analyseComplexValue)(e).values.length&&(n=t[s]),s++}if(n&&i)for(let s of e)t[s]=(0,nl.getAnimatableNone)(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=nh.positionalValues[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 s=i.length-1,r=i[s];i[s]=nh.positionalValues[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var nd=t.i(17218);class nm extends nd.VisualElement{constructor(){super(...arguments),this.KeyframeResolver=nc}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[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.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var np=t.i(93787),nf=t.i(81261);let ny=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 ng=t.i(99951);function nv(t,{style:e,vars:i},n,s){let r,o=t.style;for(r in e)o[r]=e[r];for(r in s?.applyProjectionStyles(o,n),i)o.setProperty(r,i[r])}var nx=t.i(67926);class nb extends nm{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=p.createBox}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(tz.transformProps.has(e)){let t=(0,ne.getDefaultValueType)(e);return t&&t.default||0}return e=ny.has(e)?e:(0,np.camelToDash)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,nx.scrapeMotionValuesFromProps)(t,e,i)}build(t,e,i){(0,nf.buildSVGAttrs)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in nv(t,e,void 0,n),e.attrs)t.setAttribute(ny.has(i)?i:(0,np.camelToDash)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,ng.isSVGTag)(t.tagName),super.mount(t)}}var nw=t.i(81296),nP=t.i(44947),nT=t.i(84049);class nS extends nm{constructor(){super(...arguments),this.type="html",this.renderInstance=nv}readValueFromInstance(t,e){if(tz.transformProps.has(e))return this.projection?.isProjecting?(0,nw.defaultTransformValue)(e):(0,nw.readTransformValue)(t,e);{let i=window.getComputedStyle(t),n=((0,ns.isCSSVariableName)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return k(t,e)}build(t,e,i){(0,nP.buildHTMLStyles)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,nT.scrapeMotionValuesFromProps)(t,e,i)}}var nE=t.i(44966);let nM={renderer:(t,e)=>e.isSVG??(0,nE.isSVGComponent)(t)?new nb(e):new nS(e,{allowProjection:t!==i.Fragment}),animation:{Feature:class extends d{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=>iI(t,e,i)));else if("string"==typeof e)n=iI(t,e,i);else{let s="function"==typeof e?iO(t,e,i.custom):e;n=Promise.all(i_(t,s,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=iY(),n=!0,s=!1,r=e=>(i,n)=>{let s=iO(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function o(o){let{props:a}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<iU;t++){let n=iG.variantProps[t],s=e.props[n];((0,iF.isVariantLabel)(s)||!1===s)&&(i[n]=s)}return i}(t.parent)||{},u=[],h=new Set,c={},d=1/0;for(let e=0;e<iH;e++){var m,p;let f=iz[e],y=i[f],g=void 0!==a[f]?a[f]:l[f],v=(0,iF.isVariantLabel)(g),x=f===o?y.isActive:null;!1===x&&(d=e);let b=g===l[f]&&g!==a[f]&&v;if(b&&(n||s)&&t.manuallyAnimateOnMount&&(b=!1),y.protectedKeys={...c},!y.isActive&&null===x||!g&&!y.prevProp||(0,iN.isAnimationControls)(g)||"boolean"==typeof g)continue;if("exit"===f&&y.isActive&&!0!==x){y.prevResolvedValues&&(c={...c,...y.prevResolvedValues});continue}let w=(m=y.prevProp,"string"==typeof(p=g)?p!==m:!!Array.isArray(p)&&!i$(p,m)),P=w||f===o&&y.isActive&&!b&&v||e>d&&v,T=!1,S=Array.isArray(g)?g:[g],E=S.reduce(r(f),{});!1===x&&(E={});let{prevResolvedValues:M={}}=y,A={...M,...E},D=e=>{P=!0,h.has(e)&&(T=!0,h.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in A){let e=E[t],i=M[t];if(!c.hasOwnProperty(t))(iR(e)&&iR(i)?!i$(e,i)||w:e!==i)?null!=e?D(t):h.add(t):void 0!==e&&h.has(t)?D(t):y.protectedKeys[t]=!0}y.prevProp=g,y.prevResolvedValues=E,y.isActive&&(c={...c,...E}),(n||s)&&t.blockInitialAnimation&&(P=!1);let j=b&&w,k=!j||T;P&&k&&u.push(...S.map(e=>{let i={type:f};if("string"==typeof e&&(n||s)&&!j&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,s=iO(n,e);if(n.enteringChildren&&s){let{delayChildren:e}=s.transition||{};i.delay=iB(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof a.initial){let i=iO(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let n=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=n??null}),u.push({animation:e})}let f=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,s=!1,f?e(u):Promise.resolve()}return{animateChanges:o,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 s=o(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=iY(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,iN.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends d{constructor(){super(...arguments),this.id=iK++,this.isExitComplete=!1}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;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=iO(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...n}=i;for(let t in n)this.node.getValue(t)?.jump(n[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends d{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:s,amount:r="some",once:o}=i,a={root:n?n.current:void 0,rootMargin:s,threshold:"number"==typeof r?r:nt[r]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;i6.has(i)||i6.set(i,{});let n=i6.get(i),s=JSON.stringify(e);return n[s]||(n[s]=new IntersectionObserver(i8,{root:t,...e})),n[s]}(a),i9.set(t,l),e.observe(t),()=>{i9.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<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(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends d{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,s,r]=iX(t,i),o=t=>{let n=t.currentTarget;if(!i3(t)||i5.has(t))return;i0.add(n),i.stopPropagation&&i5.add(t);let r=e(n,t),o={...s,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",u,o),i0.has(n)&&i0.delete(n),i3(t)&&"function"==typeof r&&r(t,{success:e})},l=t=>{a(t,n===window||n===document||i.useGlobalTarget||iQ(n,t.target))},u=t=>{a(t,!1)};window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",u,o)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,s),(0,iZ.isHTMLElement)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=i1(()=>{if(i0.has(i))return;i2(i,"down");let t=i1(()=>{i2(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>i2(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,s)),t9.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(i4(this.node,e,"Start"),(t,{success:e})=>i4(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends d{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,_.pipe)(tX(this.node.current,"focus",()=>this.onFocus()),tX(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends d{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,s,r]=iX(t,i);return n.forEach(t=>{let i,n=!1,r=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),r&&(r=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(n){r=!0;return}o(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||tJ.x||tJ.y)return;r=!1;let o=e(t,n);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",a,s)},s)}),r}(t,(t,e)=>(iJ(this.node,e,"Start"),t=>iJ(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends d{constructor(){super(...arguments),this.removePointerDownListener=m.noop}onPointerDown(t){this.session=new er(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ee(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:ex(t),onStart:ex(e),onMove:ex(i),onEnd:(t,e)=>{delete this.session,n&&f.frame.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=et(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends d{constructor(t){super(t),this.removeGroupControls=m.noop,this.removeListeners=m.noop,this.controls=new ey(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||m.noop}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:iC,MeasureLayout:eD},layout:{ProjectionNode:iC,MeasureLayout:eD}};t.s(["MotionProvider",0,({children:t})=>
1(0,e.jsx)(r,{features:nM,strict:!0,children:(0,e.jsx)(c,{reducedMotion:"user",children:t})})],58184)},61316,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function({html:t,height:e=null,width:i=null,children:r,dataNtpc:o=""}){return(0,s.useEffect)(()=>{o&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${o}`}})},[o]),(0,n.jsxs)(n.Fragment,{children:[r,t?(0,n.jsx)("div",{style:{height:null!=e?`${e}px`:"auto",width:null!=i?`${i}px`:"auto"},"data-ntpc":o,dangerouslySetInnerHTML:{__html:t}}):null]})};let n=t.r(43476),s=t.r(71645)},67345,(t,e,i)=>{"use strict";var n=t.e&&t.e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t){let{apiKey:e,...i}=t,n={...i,key:e},{html:a}=(0,r.GoogleMapsEmbed)(n);return(0,s.jsx)(o.default,{height:n.height||null,width:n.width||null,html:a,dataNtpc:"GoogleMapsEmbed"})};let s=t.r(43476),r=t.r(81498),o=n(t.r(61316))},8341,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return o},requestIdleCallback:function(){return r}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r="u">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)},o="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(t){return clearTimeout(t)};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},19083,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={ESCAPE_REGEX:function(){return o},htmlEscapeAttributeString:function(){return h},htmlEscapeJsonString:function(){return u}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},o=/[&><\u2028\u2029]/g,a={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},l=/[&"'<>]/g;function u(t){return t.replace(o,t=>r[t])}function h(t){return t.replace(l,t=>a[t])}},79520,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return b},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return v}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r=t.r(55682),o=t.r(90809),a=t.r(43476),l=r._(t.r(74080)),u=o._(t.r(71645)),h=t.r(42732),c=t.r(22737),d=t.r(8341),m=t.r(19083),p=new Map,f=new Set,y=t=>{let{src:e,id:i,onLoad:n=()=>{},onReady:s=null,dangerouslySetInnerHTML:r,children:o="",strategy:a="afterInteractive",onError:u,stylesheets:h}=t,d=i||e;if(d&&f.has(d))return;if(p.has(e)){f.add(d),p.get(e).then(n,u);return}let m=()=>{s&&s(),f.add(d)},y=document.createElement("script"),g=new Promise((t,e)=>{y.addEventListener("load",function(e){t(),n&&n.call(this,e),m()}),y.addEventListener("error",function(t){e(t)})}).catch(function(t){u&&u(t)});r?(y.innerHTML=r.__html||"",m()):o?(y.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",m()):e&&(y.src=e,p.set(e,g)),(0,c.setAttributesFromProps)(y,t),"worker"===a&&y.setAttribute("type","text/partytown"),y.setAttribute("data-nscript",a),h&&(t=>{if(l.default.preinit)return t.forEach(t=>{l.default.preinit(t,{as:"style"})});if("u">typeof window){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)})}})(h),document.body.appendChild(y)};function g(t){let{strategy:e="afterInteractive"}=t;"lazyOnload"===e?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>y(t))}):y(t)}function v(t){t.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(t=>{let e=t.id||t.getAttribute("src");f.add(e)})}function x(t){let{id:e,src:i="",onLoad:n=()=>{},onReady:s=null,strategy:r="afterInteractive",onError:o,stylesheets:c,...p}=t,{updateScripts:g,scripts:v,getIsSsr:x,appDir:b,nonce:w}=(0,u.useContext)(h.HeadManagerContext);w=p.nonce||w;let P=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let t=e||i;P.current||(s&&t&&f.has(t)&&s(),P.current=!0)},[s,e,i]);let T=(0,u.useRef)(!1);if((0,u.useEffect)(()=>
1{if(!T.current){if("afterInteractive"===r)y(t);else"lazyOnload"===r&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>y(t)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>y(t))}));T.current=!0}},[t,r]),("beforeInteractive"===r||"worker"===r)&&(g?(v[r]=(v[r]||[]).concat([{id:e,src:i,onLoad:n,onReady:s,onError:o,...p,nonce:w}]),g(v)):x&&x()?f.add(e||i):x&&!x()&&y({...t,nonce:w})),b){if(c&&c.forEach(t=>{l.default.preinit(t,{as:"style"})}),"beforeInteractive"===r)if(!i)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([0,{...p,id:e}]))})`}});else return l.default.preload(i,p.integrity?{as:"script",integrity:p.integrity,nonce:w,crossOrigin:p.crossOrigin}:{as:"script",nonce:w,crossOrigin:p.crossOrigin}),(0,a.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([i,{...p,id:e}]))})`}});"afterInteractive"===r&&i&&l.default.preload(i,p.integrity?{as:"script",integrity:p.integrity,nonce:w,crossOrigin:p.crossOrigin}:{as:"script",nonce:w,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(x,"__nextScript",{value:!0});let b=x;("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},3303,(t,e,i)=>{e.exports=t.r(79520)},21783,(t,e,i)=>{"use strict";var n=t.e&&t.e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t){let{html:e,scripts:i,stylesheets:n}=(0,o.YouTubeEmbed)(t);return(0,s.jsx)(a.default,{height:t.height||null,width:t.width||null,html:e,dataNtpc:"YouTubeEmbed",children:null==i?void 0:i.map(t=>(0,s.jsx)(r.default,{src:t.url,strategy:l[t.strategy],stylesheets:n},t.url))})};let s=t.r(43476),r=n(t.r(3303)),o=t.r(81498),a=n(t.r(61316)),l={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"}},19598,(t,e,i)=>{"use strict";var n=t.e&&t.e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(i,"__esModule",{value:!0}),i.sendGTMEvent=void 0,i.GoogleTagManager=function(t){let{gtmId:e,gtmScriptUrl:i,dataLayerName:n="dataLayer",auth:l,preview:u,dataLayer:h,nonce:c}=t;a=n;let d=new URL(i||"https://www.googletagmanager.com/gtm.js");return e&&d.searchParams.set("id",e),"dataLayer"!==n&&d.searchParams.set("l",n),l&&d.searchParams.set("gtm_auth",l),u&&(d.searchParams.set("gtm_preview",u),d.searchParams.set("gtm_cookies_win","x")),(0,r.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:`
2      (function(w,l){
3        w[l]=w[l]||[];
4        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
5        ${h?`w[l].push(${JSON.stringify(h)})`:""}
6      })(window,'${n}');`},nonce:c}),(0,s.jsx)(o.default,{id:"_next-gtm","data-ntpc":"GTM",src:d.href,nonce:c})]})};let s=t.r(43476),r=t.r(71645),o=n(t.r(3303)),a="dataLayer";i.sendGTMEvent=(t,e)=>{let i=e||a;window[i]=window[i]||[],window[i].push(t)}},54576,(t,e,i)=>{"use strict";let n;var s=t.e&&t.e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(i,"__esModule",{value:!0}),i.GoogleAnalytics=function(t){let{gaId:e,debugMode:i,dataLayerName:s="dataLayer",nonce:l}=t;return void 0===n&&(n=s),(0,o.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:`
7          window['${s}'] = window['${s}'] || [];
8          function gtag(){window['${s}'].push(arguments);}
9          gtag('js', new Date());
10
11          gtag('config', '${e}' ${i?",{ 'debug_mode': true }":""});`},nonce:l}),(0,r.jsx)(a.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?i
11d=${e}`,nonce:l})]})},i.sendGAEvent=function(){void 0===n?console.warn("@next/third-parties: GA has not been initialized"):window[n]?window[n].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${n} does not exist`)};let r=t.r(43476),o=t.r(71645),a=s(t.r(3303))},87644,(t,e,i)=>{"use strict";var n=t.e&&t.e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(i,"__esModule",{value:!0}),i.sendGAEvent=i.GoogleAnalytics=i.sendGTMEvent=i.GoogleTagManager=i.YouTubeEmbed=i.GoogleMapsEmbed=void 0;var s=t.r(67345);Object.defineProperty(i,"GoogleMapsEmbed",{enumerable:!0,get:function(){return n(s).default}});var r=t.r(21783);Object.defineProperty(i,"YouTubeEmbed",{enumerable:!0,get:function(){return n(r).default}});var o=t.r(19598);Object.defineProperty(i,"GoogleTagManager",{enumerable:!0,get:function(){return o.GoogleTagManager}}),Object.defineProperty(i,"sendGTMEvent",{enumerable:!0,get:function(){return o.sendGTMEvent}});var a=t.r(54576);Object.defineProperty(i,"GoogleAnalytics",{enumerable:!0,get:function(){return a.GoogleAnalytics}}),Object.defineProperty(i,"sendGAEvent",{enumerable:!0,get:function(){return a.sendGAEvent}})},84297,(t,e,i)=>{e.exports={id:"google-analytics",description:"Install a Google Analytics tag on your website",website:"https://analytics.google.com/analytics/web/",scripts:[{url:"https://www.googletagmanager.com/gtag/js",params:["id"],strategy:"worker",location:"head",action:"append"},{code:"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag('js',new Date());gtag('config','${args.id}')",strategy:"worker",location:"head",action:"append"}]}},92135,(t,e,i)=>{"use strict";function n(t,e,i=!1){return e?Object.keys(t).filter(t=>i?!e.includes(t):e.includes(t)).reduce((e,i)=>(e[i]=t[i],e),{}):{}}function s(t,e,i,n){let s=n&&Object.keys(n).length>0?new URL(Object.values(n)[0],t):new URL(t);return e&&i&&e.forEach(t=>{i[t]&&s.searchParams.set(t,i[t])}),s.toString()}function r(t,e,i,n,r){var o;if(!e)return`<${t}></${t}>`;let a=(null==(o=e.src)?void 0:o.url)?Object.assign(Object.assign({},e),{src:s(e.src.url,e.src.params,n,r)}):e,l=Object.keys(Object.assign(Object.assign({},a),i)).reduce((t,e)=>{let n=null==i?void 0:i[e],s=a[e],r=null!=n?n:s,o=!0===r?e:`${e}="${r}"`;return r?t+` ${o}`:t},"");return`<${t}${l}></${t}>`}Object.defineProperty(i,"__esModule",{value:!0}),i.formatData=i.createHtml=i.formatUrl=void 0,i.formatUrl=s,i.createHtml=r,i.formatData=function(t,e){var i,o,a,l,u;let h=n(e,null==(i=t.scripts)?void 0:i.reduce((t,e)=>[...t,...Array.isArray(e.params)?e.params:[]],[])),c=n(e,null==(a=null==(o=t.html)?void 0:o.attributes.src)?void 0:a.params),d=n(e,[null==(u=null==(l=t.html)?void 0:l.attributes.src)?void 0:u.slugParam]),m=n(e,[...Object.keys(h),...Object.keys(c),...Object.keys(d)],!0);return Object.assign(Object.assign({},t),{html:t.html?r(t.html.element,t.html.attributes,m,c,d):null,scripts:t.scripts?t.scripts.map(t=>Object.assign(Object.assign({},t),{url:s(t.url,t.params,h)})):null})}},44602,(t,e,i)=>{"use strict";var n=t.e&&t.e.__rest||function(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(i[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,n=Object.getOwnPropertySymbols(t);s<n.length;s++)0>e.indexOf(n[s])&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(i[n[s]]=t[n[s]]);return i},s=t.e&&t.e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(i,"__esModule",{value:!0}),i.GoogleAnalytics=void 0;let r=s(t.r(84297)),o=t.r(92135);i.GoogleAnalytics=t=>{var e=n(t,[]);return(0,o.formatData)(r.default,e)}},60262,(t,e,i)=>{e.exports={id:"google-maps-embed",description:"Embed a Google Maps embed on your webpage",website:"https://developers.google.com/maps/documentation/embed/get-started",html:{element:"iframe",attributes:{loading:"lazy",src:{url:"https://www.google.com/maps/embed/v1/place",slugParam:"mode",params:["key","q","center","zoom","maptype","language","region"]},referrerpolicy:"no-referrer-when-downgrade",frameborder:"0",style:"border:0",allowfullscreen:!0,width:null,height:null}}}},77813,(t,e,i)=>{"use strict";var n=t.e&&t.e.__rest||function(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(i[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,n=Object.getOwnPropertySymbols(t);s<n.length;s++)0>e.indexOf(n[s])&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(i[n[s]]=t[n[s]]);return i},s=t.e&&t.e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(i,"__esModule",{value:!0}),i.GoogleMapsEmbed=void 0;let r=s(t.r(60262)),o=t.r(92135);i.GoogleMapsEmbed=t=>{var e=n(t,[]);return(0,o.formatData)(r.default,e)}},40674,(t,e,i)=>{e.exports={id:"youtube-embed",description:"Embed a YouTube embed on your webpage.",website:"https://github.com/paulirish/lite-youtube-embed",html:{element:"lite-youtube",attributes:{videoid:null,playlabel:null}},stylesheets:["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],scripts:[{url:"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js",strategy:"idle",location:"head",action:"append"}]}},15465,(t,e,i)=>{"use strict";var n=t.e&&t.e.__rest||function(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(i[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,n=Object.getOwnPropertySymbols(t);s<n.length;s++)0>e.indexOf(n[s])&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(i[n[s]]=t[n[s]]);return i},s=t.e&&t.e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(i,"__esModule",{value:!0}),i.YouTubeEmbed=void 0;let r=s(t.r(40674)),o=t.r(92135);i.YouTubeEmbed=t=>{var e=n(t,[]);return(0,o.formatData)(r.default,e)}},81498,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.YouTubeEmbed=i.GoogleMapsEmbed=i.GoogleAnalytics=void 0;var n=t.r(44602);Object.defineProperty(i,"GoogleAnalytics",{enumerable:!0,get:function(){return n.GoogleAnalytics}});var s=t.r(77813);Object.defineProperty(i,"GoogleMapsEmbed",{enumerable:!0,get:function(){return s.GoogleMapsEmbed}});var r=t.r(15465);Object.defineProperty(i,"YouTubeEmbed",{enumerable:!0,get:function(){return r.YouTubeEmbed}})}]);

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.