PageSourceSearch

https://www.tour-magazin.de/_next/static/chunks/92711.03071a9960600b20.js

js tour-magazin.de collected 2026-10-02 06:41:18 UTC 141,938 bytes, 9 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92711],{291:t=>{t.exports=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i}},620:(t,e,i)=>{var r=i(11229),n=i(16999),s=i(41016),o=i(62220),a=i(47508);function l(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,t.exports=l},1278:(t,e,i)=>{var r=i(54703);t.exports=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},2274:(t,e,i)=>{"use strict";i.d(e,{E:()=>n});var r=i(55729);let n=i(89636).B?r.useLayoutEffect:r.useEffect},2603:(t,e,i)=>{var r=i(88165);t.exports=function(t,e,i){var n=t.length;return i=void 0===i?n:i,!e&&i>=n?t:r(t,e,i)}},2882:t=>{t.exports=function(t){return t!=t}},3128:(t,e,i)=>{var r=i(4650),n=i(95345),s=i(291),o=i(46468),a=i(36704),l=i(22344);function u(t){var e=this.__data__=new r(t);this.size=e.size}u.prototype.clear=n,u.prototype.delete=s,u.prototype.get=o,u.prototype.has=a,u.prototype.set=l,t.exports=u},3540:t=>{t.exports=function(t){return function(e){return t(e)}}},3619:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},4650:(t,e,i)=>{var r=i(21895),n=i(15917),s=i(52182),o=i(5514),a=i(92786);function l(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,t.exports=l},5461:(t,e,i)=>{var r=i(30147),n=i(63912),s=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols;t.exports=o?function(t){return null==t?[]:r(o(t=Object(t)),function(e){return s.call(t,e)})}:n},5514:(t,e,i)=>{var r=i(36592);t.exports=function(t){return r(this.__data__,t)>-1}},5549:t=>{t.exports=function(t){return t}},7018:t=>{t.exports=function(){return!1}},7107:(t,e,i)=>{var r=i(16153),n=i(86301),s=i(2603),o=i(93686),a=i(90417),l=i(18053),u=i(60567);t.exports=function(t,e,i){if((t=u(t))&&(i||void 0===e))return n(t);if(!t||!(e=r(e)))return t;var h=l(t),c=l(e),p=a(h,c),d=o(h,c)+1;return s(h,p,d).join("")}},7131:(t,e,i)=>{t.exports=i(33946)(Object.keys,Object)},7457:(t,e,i)=>{var r=i(3619),n=i(64022);t.exports=function(t){return r(t)&&1===t.nodeType&&!n(t)}},9054:(t,e,i)=>{var r=i(81014),n=i(52634),s=i(79730),o=i(16799),a=i(23282),l=i(87567),u=Object.prototype.hasOwnProperty;t.exports=s(function(t,e){if(a(e)||o(e))return void n(e,l(e),t);for(var i in e)u.call(e,i)&&r(t,i,e[i])})},9460:(t,e,i)=>{var r=i(91630),n=i(83965),s=i(45895),o=i(16940);t.exports=s(function(t,e){return o(t)?r(t,n(e,1,o,!0)):[]})},9541:(t,e,i)=>{t=i.nmd(t);var r=i(45516),n=i(7018),s=e&&!e.nodeType&&e,o=s&&t&&!t.nodeType&&t,a=o&&o.exports===s?r.Buffer:void 0,l=a?a.isBuffer:void 0;t.exports=l||n},9819:t=>{var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},9922:(t,e,i)=>{var r=i(22346);t.exports=function(t){return r(t,5)}},9929:(t,e,i)=>{t.exports=i(54703)(i(45516),"Promise")},10858:(t,e,i)=>{t.exports=i(33946)(Object.getPrototypeOf,Object)},11061:(t,e,i)=>{var r=i(22479),n=1/0;t.exports=function(t){return t?(t=r(t))===n||t===-n?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},11229:(t,e,i)=>{var r=i(81707);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},11720:(t,e,i)=>{var r=i(86414);t.exports=function(t){return r(this,t).get(t)}},12342:(t,e,i)=>{var r=i(25080),n=i(42209),s=i(91544),o=r?r.isConcatSpreadable:void 0;t.exports=function(t){return s(t)||n(t)||!!(o&&t&&t[o])}},12901:(t,e,i)=>{var r=i(66300),n=i(28915),s=i(69504),o=i(97722),a=i(87568),l=i(42209),u=i(91544),h=i(16940),c=i(9541),p=i(98499),d=i(23356),f=i(64022),m=i(43562),v=i(48895),y=i(33553);t.exports=function(t,e,i,g,x,b,w){var T=v(t,i),A=v(e,i),P=w.get(A);if(P)return void r(t,i,P);var S=b?b(T,A,i+"",t,e,w):void 0,j=void 0===S;if(j){var M=u(A),E=!M&&c(A),V=!M&&!E&&m(A);S=A,M||E||V?u(T)?S=T:h(T)?S=o(T):E?(j=!1,S=n(A,!0)):V?(j=!1,S=s(A,!0)):S=[]:f(A)||l(A)?(S=T,l(T)?S=y(T):(!d(T)||p(T))&&(S=a(A))):j=!1}j&&(w.set(A,S),x(S,A,g,b,w),w.delete(A)),r(t,i,S)}},13142:(t,e,i)=>{"use strict";i.d(e,{E:()=>l});var r=i(78294),n=i(71745),s=i(14160),o=i(40323),a=i(42098),l=(0,r.gu)({chartName:"BarChart",GraphicalChild:n.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:s.W},{axisType:"yAxis",AxisComp:o.h}],formatAxisMap:a.pr})},13574:(t,e,i)=>{var r=i(25080),n=Object.prototype,s=n.hasOwnProperty,o=n.toString,a=r?r.toStringTag:void 0;t.exports=function(t){var e=s.call(t,a),i=t[a];try{t[a]=void 0;var r=!0}catch(t){}var n=o.call(t);return r&&(e?t[a]=i:delete t[a]),n}},13920:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,i){var r=typeof t;return!!(i=null==i?0x1fffffffffffff:i)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<i}},15051:(t,e,i)=>{var r=i(29794),n=i(5461),s=i(87567);t.exports=function(t){return r(t,s,n)}},15156:(t,e,i)=>{"use strict";let r,n;function s(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function o(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function a(t,e,i,r){if("function"==typeof e){let[n,s]=o(r);e=e(void 0!==i?i:t.custom,n,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,s]=o(r);e=e(void 0!==i?i:t.custom,n,s)}return e}function l(t,e,i){let r=t.getProps();return a(r,e,void 0!==i?i:r.custom,t)}function u(t,e){return t?.[e]??t?.default??t}i.d(e,{P:()=>sm});let h=t=>t,c={},p=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function d(t,e){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=p.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,n=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(h.schedule(e),t()),l++,e(a)}let h={schedule:(t,e=!1,s=!1)=>{let a=s&&n?i:r;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{r.delete(t),o.delete(t)},process:t=>{if(a=t,n){s=!0;return}n=!0,[i,r]=[r,i],i.forEach(u),e,l=0,i.clear(),n=!1,s&&(s=!1,h.process(t))}};return h}(s,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:d,preRender:f,render:m,postRender:v}=o,y=()=>{let s=c.useManualTiming?n.timestamp:performance.now();i=!1,c.useManualTiming||(n.delta=r?1e3/60:Math.max(Math.min(s-n.timestamp,40),1)),n.timestamp=s,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),h.process(n),d.process(n),f.process(n),m.process(n),v.process(n),n.isProcessing=!1,i&&e&&(r=!1,t(y))};return{schedule:p.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,r=!0,n.isProcessing||t(y)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<p.length;e++)o[p[e]].cancel(t)},state:n,steps:o}}let{schedule:f,cancel:m,state:v,steps:y}=d("u">typeof requestAnimationFrame?requestAnimationFrame:h,!0),g=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],x=new Set(g),b=new Set(["width","height","top","left","right","bottom",...g]);function w(t,e){-1===t.indexOf(e)&&t.push(e)}function T(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class A{constructor(){this.subscriptions=[]}add(t){return w(this.subscriptions,t),()=>T(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function P(){r=void 0}let S={now:()=>(void 0===r&&S.set(v.isProcessing||c.useManualTiming?v.timestamp:performance.now()),r),set:t=>{r=t,queueMicrotask(P)}},j;class M{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=S.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty();e&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=S.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new A);let i=this.events[t].add(e);return"change"===t?()=>{i(),f.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return j&&j.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=S.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function E(t,e){return new M(t,e)}let V=t=>Array.isArray(t),C=t=>!!(t&&t.getVelocity);function D(t,e){let i=t.getValue("willChange");if(C(i)&&i.add)return i.add(e);if(!i&&c.WillChange){let i=new c.WillChange("auto");
1t.addValue("willChange",i),i.add(e)}}let k=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),R="data-"+k("framerAppearId"),O=(t,e)=>i=>e(t(i)),F=(...t)=>t.reduce(O),L=(t,e,i)=>i>e?e:i<t?t:i,_=t=>1e3*t,B={layout:0,mainThread:0,waapi:0},U=()=>{},I=()=>{},N=t=>e=>"string"==typeof e&&e.startsWith(t),$=N("--"),W=N("var(--"),z=t=>!!W(t)&&Y.test(t.split("/*")[0].trim()),Y=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,H={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},X={...H,transform:t=>L(0,1,t)},K={...H,default:1},q=t=>Math.round(1e5*t)/1e5,G=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Z=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Q=(t,e)=>i=>!!("string"==typeof i&&Z.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),J=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[n,s,o,a]=r.match(G);return{[t]:parseFloat(n),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},tt={...H,transform:t=>Math.round(L(0,255,t))},te={test:Q("rgb","red"),parse:J("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+tt.transform(t)+", "+tt.transform(e)+", "+tt.transform(i)+", "+q(X.transform(r))+")"},ti={test:Q("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:te.transform},tr=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tn=tr("deg"),ts=tr("%"),to=tr("px"),ta=tr("vh"),tl=tr("vw"),tu={...ts,parse:t=>ts.parse(t)/100,transform:t=>ts.transform(100*t)},th={test:Q("hsl","hue"),parse:J("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+ts.transform(q(e))+", "+ts.transform(q(i))+", "+q(X.transform(r))+")"},tc={test:t=>te.test(t)||ti.test(t)||th.test(t),parse:t=>te.test(t)?te.parse(t):th.test(t)?th.parse(t):ti.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?te.transform(t):th.transform(t),getAnimatableNone:t=>{let e=tc.parse(t);return e.alpha=0,tc.transform(e)}},tp=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,td="number",tf="color",tm=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function tv(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=e.replace(tm,t=>(tc.test(t)?(r.color.push(s),n.push(tf),i.push(tc.parse(t))):t.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(t)):(r.number.push(s),n.push(td),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function ty(t){return tv(t).values}function tg(t){let{split:e,types:i}=tv(t),r=e.length;return t=>{let n="";for(let s=0;s<r;s++)if(n+=e[s],void 0!==t[s]){let e=i[s];e===td?n+=q(t[s]):e===tf?n+=tc.transform(t[s]):n+=t[s]}return n}}let tx=t=>"number"==typeof t?0:tc.test(t)?tc.getAnimatableNone(t):t,tb={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(G)?.length||0)+(t.match(tp)?.length||0)>0},parse:ty,createTransformer:tg,getAnimatableNone:function(t){let e=ty(t);return tg(t)(e.map(tx))}};function tw(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function tT(t,e){return i=>i>0?e:t}let tA=(t,e,i)=>t+(e-t)*i,tP=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},tS=[ti,te,th];function tj(t){let e=tS.find(e=>e.test(t));if(U(`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===th&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=tw(a,r,t+1/3),s=tw(a,r,t),o=tw(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let tM=(t,e)=>{let i=tj(t),r=tj(e);if(!i||!r)return tT(t,e);let n={...i};return t=>(n.red=tP(i.red,r.red,t),n.green=tP(i.green,r.green,t),n.blue=tP(i.blue,r.blue,t),n.alpha=tA(i.alpha,r.alpha,t),te.transform(n))},tE=new Set(["none","hidden"]);function tV(t,e){return i=>tA(t,e,i)}function tC(t){return"number"==typeof t?tV:"string"==typeof t?z(t)?tT:tc.test(t)?tM:tR:Array.isArray(t)?tD:"object"==typeof t?tc.test(t)?tM:tk:tT}function tD(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>tC(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}}function tk(t,e){let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=tC(t[n])(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let tR=(t,e)=>{let i=tb.createTransformer(e),r=tv(t),n=tv(e);if(!(r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length))return U(`Complex values '${t}' and '${e}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),tT(t,e);if(tE.has(t)&&!n.values.length||tE.has(e)&&!r.values.length)return tE.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return F(tD(function(t,e){let i=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let s=e.types[n],o=t.indexes[s][r[s]],a=t.values[o]??0;i[n]=a,r[s]++}return i}(r,n),n.values),i)};function tO(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?tA(t,e,i):tC(t)(t,e)}let tF=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>f.update(e,t),stop:()=>m(e),now:()=>v.isProcessing?v.timestamp:S.now()}},tL=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)r+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`};function t_(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function tB(t,e,i){var r,n;let s=Math.max(e-5,0);return r=i-t(s),(n=e-s)?1e3/n*r:0}let tU=.01,tI=2,tN=.005,t$=.5;function tW(t,e){return t*Math.sqrt(1-e*e)}let tz=["duration","bounce"],tY=["stiffness","damping","mass"];function tH(t,e){return e.some(e=>void 0!==t[e])}function tX(t=.3,e=.3){let i,r="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:s}=r,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:c,duration:p,velocity:d,isResolvedFromDuration:f}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!tH(t,tY)&&tH(t,tz))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,n=2*L(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:1,stiffness:r,damping:n}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:r=1}){let n,s;U(_(10));let o=1-e;o=L(.05,1,o),t=L(.01,10,t/1e3),o<1?(n=e=>{let r=e*o,n=r*t;return .001-(r-i)/tW(e,o)*Math.exp(-n)},s=e=>{let r=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-r),l=tW(Math.pow(e,2),o);return(r*i+i-s)*a*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(n,s,5/t);if(t=_(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...r,velocity:-((r.velocity||0)/1e3)}),m=d||0,v=h/(2*Math.sqrt(u*c)),y=a-o,g=Math.sqrt(u/c)/1e3,x=5>Math.abs(y);if(n||(n=x?tU:tI),s||(s=x?tN:t$),v<1){let t=tW(g,v);i=e=>a-Math.exp(-v*g*e)*((m+v*g*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===v)i=t=>a-Math.exp(-g*t)*(y+(m+g*y)*t);else{let t=g*Math.sqrt(v*v-1);i=e=>{let i=Math.exp(-v*g*e),r=Math.min(t*e,300);return a-i*((m+v*g*y)*Math.sinh(r)+t*y*Math.cosh(r))/t}}let b={calculatedDuration:f&&p||null,next:t=>{let e=i(t);if(f)l.done=t>=p;else{let r=0===t?m:0;v<1&&(r=0===t?_(m):tB(i,t,e));let o=Math.abs(a-e)<=s;l.done=Math.abs(r)<=n&&o}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(t_(b),2e4),e=tL(e=>b.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return b}function tK({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,p,d=t[0],f={done:!1,value:d},m=i*e,v=d+m,y=void 0===o?v:o(v);y!==v&&(m=y-d);let g=t=>-m*Math.exp(-t/r),x=t=>y+g(t),b=t=>{let e=g(t),i=x(t);f.done=Math.abs(e)<=u,f.value=f.done?y:i},w=t=>{let e;if(e=f.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,p=tX({keyframes:[f.value,(i=f.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:tB(x,t,f.value),damping:n,stiffness:s,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==c||(e=!0,b(t),w(t)),void 0!==c&&t>=c)?p.next(t-c):(e||b(t),f)}}}tX.applyToOptions=t=>{let e=function(t,e=100,i){let r=i({...t,keyframes:[0,e]}),n=Math.min(t_(r),2e4);return{type:"keyframes",ease:t=>r.next(n*t).value/e,duration:n/1e3}}(t,100,tX);return t.ease=e.ease,t.duration=_(e.duration),t.type="keyframes",t};let tq=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tG(t,e,i,r){return t===e&&i===r?h:n=>
10===n||1===n?n:tq(function(t,e,i,r,n){let s,o,a=0;do(s=tq(o=e+(i-e)/2,r,n)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o}(n,0,1,t,i),e,r)}let tZ=tG(.42,0,1,1),tQ=tG(0,0,.58,1),tJ=tG(.42,0,.58,1),t0=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,t1=t=>e=>1-t(1-e),t2=tG(.33,1.53,.69,.99),t3=t1(t2),t5=t0(t3),t6=t=>(t*=2)<1?.5*t3(t):.5*(2-Math.pow(2,-10*(t-1))),t9=t=>1-Math.sin(Math.acos(t)),t4=t1(t9),t8=t0(t9),t7=t=>Array.isArray(t)&&"number"==typeof t[0],et={linear:h,easeIn:tZ,easeInOut:tJ,easeOut:tQ,circIn:t9,circInOut:t8,circOut:t4,backIn:t3,backInOut:t5,backOut:t2,anticipate:t6},ee=t=>{if(t7(t)){I(t.length);let[e,i,r,n]=t;return tG(e,i,r,n)}return"string"==typeof t?(I(et[t],`Invalid easing type '${t}'`),et[t]):t},ei=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r};function er({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var n;let s,o=Array.isArray(r)&&"number"!=typeof r[0]?r.map(ee):ee(r),a={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:r,mixer:n}={}){let s=t.length;if(I(e.length),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let r=[],n=i||c.mix||tO,s=t.length-1;for(let i=0;i<s;i++){let s=n(t[i],t[i+1]);e&&(s=F(Array.isArray(e)?e[i]||h:e,s)),r.push(s)}return r}(e,r,n),l=a.length,u=i=>{if(o&&i<t[0])return e[0];let r=0;if(l>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let n=ei(t[r],t[r+1],i);return a[r](n)};return i?e=>u(L(t[0],t[s-1],e)):u}((n=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=ei(0,e,r);t.push(tA(i,1,n))}}(s=[0],e.length-1),s),n.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||tJ).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}let en=t=>null!==t;function es(t,{repeat:e,repeatType:i="loop"},r,n=1){let s=t.filter(en),o=n<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}let eo={decay:tK,inertia:tK,tween:er,keyframes:er,spring:tX};function ea(t){"string"==typeof t.type&&(t.type=eo[t.type])}class el{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let eu=t=>t/100;class eh extends el{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==S.now()&&this.tick(S.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},B.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;ea(t);let{type:e=er,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=t,{keyframes:o}=t,a=e||er;a!==er&&"number"!=typeof o[0]&&(this.mixKeyframes=F(eu,tO(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===n&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=t_(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(i+1)-r,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{generator:i,totalDuration:r,mixKeyframes:n,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:h,repeatType:c,repeatDelay:p,type:d,onUpdate:f,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>r;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let g=this.currentTime,x=i;if(h){let t=Math.min(this.currentTime,r)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,h+1))%2&&("reverse"===c?(i=1-i,p&&(i-=p/o)):"mirror"===c&&(x=s)),g=L(0,1,i)*o}let b=y?{done:!1,value:u[0]}:x.next(g);n&&(b.value=n(b.value));let{done:w}=b;y||null===a||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return T&&d!==tK&&(b.value=es(u,this.options,m,this.speed)),f&&f(b.value),T&&this.finish(),b}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get time(){return this.currentTime/1e3}set time(t){t=_(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(S.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=tF,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(S.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,B.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let ec=t=>180*t/Math.PI,ep=t=>ef(ec(Math.atan2(t[1],t[0]))),ed={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:ep,rotateZ:ep,skewX:t=>ec(Math.atan(t[1])),skewY:t=>ec(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},ef=t=>((t%=360)<0&&(t+=360),t),em=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),ev=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),ey={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:em,scaleY:ev,scale:t=>(em(t)+ev(t))/2,rotateX:t=>ef(ec(Math.atan2(t[6],t[5]))),rotateY:t=>ef(ec(Math.atan2(-t[2],t[0]))),rotateZ:ep,rotate:ep,skewX:t=>ec(Math.atan(t[4])),skewY:t=>ec(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function eg(t){return+!!t.includes("scale")}function ex(t,e){let i,r;if(!t||"none"===t)return eg(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=ey,r=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=ed,r=e}if(!r)return eg(e);let s=i[e],o=r[1].split(",").map(eb);return"function"==typeof s?s(o):o[s]}function eb(t){return parseFloat(t.trim())}let ew=t=>t===H||t===to,eT=new Set(["x","y","z"]),eA=g.filter(t=>!eT.has(t)),eP={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>ex(e,"x"),y:(t,{transform:e})=>ex(e,"y")};eP.translateX=eP.x,eP.translateY=eP.y;let eS=new Set,ej=!1,eM=!1,eE=!1;function eV(){if(eM){let t=Array.from(eS).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,r=(e=[],eA.forEach(i=>
1{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e);r.length&&(i.set(t,r),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}eM=!1,ej=!1,eS.forEach(t=>t.complete(eE)),eS.clear()}function eC(){eS.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(eM=!0)})}class eD{constructor(t,e,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(eS.add(this),ej||(ej=!0,f.read(eC),f.resolveKeyframes(eV))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let n=r?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let r=i.readValue(e,s);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),eS.delete(this)}cancel(){"scheduled"===this.state&&(eS.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function ek(t){let e;return()=>(void 0===e&&(e=t()),e)}let eR=ek(()=>void 0!==window.ScrollTimeline),eO={},eF=(n=ek(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>eO.linearEasing??n()),eL=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,e_={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eL([0,.65,.55,1]),circOut:eL([.55,0,1,.45]),backIn:eL([.31,.01,.66,-.59]),backOut:eL([.33,1.53,.69,.99])};function eB(t){return"function"==typeof t&&"applyToOptions"in t}class eU extends el{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=t,I(t.type);const l=function({type:t,...e}){return eB(t)&&eF()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?eF()?tL(e,i):"ease-out":t7(e)?eL(e):Array.isArray(e)?e.map(e=>t(e,i)||e_.easeOut):e_[e]}(a,n);Array.isArray(c)&&(h.easing=c);let p={delay:r,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(p.pseudoElement=u);let d=t.animate(h,p);return d}(e,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=es(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){this.finishedTime=null,this.animation.currentTime=_(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&eR())?(this.animation.timeline=t,h):e(this)}}let eI={anticipate:t6,backInOut:t5,circInOut:t8};class eN extends eU{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in eI&&(t.ease=eI[t.ease])}(t),ea(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:r,element:n,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new eh({...s,autoplay:!1}),a=_(this.finishedTime??this.time);e.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}let e$=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tb.test(t)||"0"===t)&&!t.startsWith("url("));var eW,ez,eY,eH=i(25903);let eX=new Set(["opacity","clipPath","filter","transform"]),eK=ek(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class eq extends el{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="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=S.now();const c={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:u,...h},p=u?.KeyframeResolver||eD;this.keyframeResolver=new p(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){this.keyframeResolver=void 0;let{name:n,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=i;
1this.resolvedAt=S.now(),!function(t,e,i,r){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=e$(n,e),a=e$(s,e);return U(`You are trying to animate ${e} from "${n}" to "${s}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||eB(i))&&r)}(t,n,s,o)&&((c.instantAnimations||!a)&&u?.(es(t,i,e)),t[0]=t[t.length-1],i.duration=0,i.repeat=0);let p={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},d=!l&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o}=t;if(!(0,eH.s)(e?.owner?.current))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return eK()&&i&&eX.has(i)&&("transform"!==i||!l)&&!a&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(p)?new eN({...p,element:p.motionValue.owner.current}):new eh(p);d.finished.then(()=>this.notifyFinished()).catch(h),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}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(),eE=!0,eC(),eV(),eE=!1),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let eG=t=>null!==t,eZ={type:"spring",stiffness:500,damping:25,restSpeed:10},eQ={type:"keyframes",duration:.8},eJ={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},e0=(t,e,i,r={},n,s)=>o=>{let a=u(r,t)||{},l=a.delay||r.delay||0,{elapsed:h=0}=r;h-=_(l);let p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-h,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&&Object.assign(p,((t,{keyframes:e})=>e.length>2?eQ:x.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:eZ:eJ)(t,p)),p.duration&&(p.duration=_(p.duration)),p.repeatDelay&&(p.repeatDelay=_(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let d=!1;if(!1!==p.type&&(0!==p.duration||p.repeatDelay)||(p.duration=0,0===p.delay&&(d=!0)),(c.instantAnimations||c.skipAnimations)&&(d=!0,p.duration=0,p.delay=0),p.allowFlatten=!a.type&&!a.ease,d&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"}){let r=t.filter(eG),n=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[n]}(p.keyframes,a);if(void 0!==t)return void f.update(()=>{p.onUpdate(t),p.onComplete()})}return a.isSync?new eh(p):new eq(p)};function e1(t,e,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=e;r&&(s=r);let h=[],c=n&&t.animationState&&t.animationState.getState()[n];for(let e in a){let r=t.getValue(e,t.latestValues[e]??null),n=a[e];if(void 0===n||c&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(c,e))continue;let o={delay:i,...u(s||{},e)},l=r.get();if(void 0!==l&&!r.isAnimating&&!Array.isArray(n)&&n===l&&!o.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){let i=t.props[R];if(i){let t=window.MotionHandoffAnimation(i,e,f);null!==t&&(o.startTime=t,p=!0)}}D(t,e),r.start(e0(e,r,n,t.shouldReduceMotion&&b.has(e)?{type:!1}:o,t,p));let d=r.animation;d&&h.push(d)}return o&&Promise.all(h).then(()=>{f.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:r={},...n}=l(t,e)||{};for(let e in n={...n,...i}){var s;let i=V(s=n[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,E(i))}}(t,o)})}),h}function e2(t,e,i={}){let r=l(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(e1(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;
1return function(t,e,i=0,r=0,n=1,s){let o=[],a=(t.variantChildren.size-1)*r,l=1===n?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(e3).forEach((t,r)=>{t.notify("AnimationStart",e),o.push(e2(t,e,{...s,delay:i+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+r,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}function e3(t,e){return t.sortNodePosition(e)}function e5(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}function e6(t){return"string"==typeof t||Array.isArray(t)}let e9=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],e4=["initial",...e9],e8=e4.length,e7=[...e9].reverse(),it=e9.length;function ie(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ii(){return{animate:ie(!0),whileInView:ie(),whileHover:ie(),whileTap:ie(),whileDrag:ie(),whileFocus:ie(),exit:ie()}}class ir{constructor(t){this.isMounted=!1,this.node=t}update(){}}class is extends ir{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 r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>e2(t,e,i)));else if("string"==typeof e)r=e2(t,e,i);else{let n="function"==typeof e?l(t,e,i.custom):e;r=Promise.all(e1(t,n,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=ii(),r=!0,n=e=>(i,r)=>{let n=l(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;i={...i,...r,...e}}return i};function o(o){let{props:a}=t,u=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<e8;t++){let r=e4[t],n=e.props[r];(e6(n)||!1===n)&&(i[r]=n)}return i}(t.parent)||{},h=[],c=new Set,p={},d=1/0;for(let e=0;e<it;e++){var f,m;let l=e7[e],v=i[l],y=void 0!==a[l]?a[l]:u[l],g=e6(y),x=l===o?v.isActive:null;!1===x&&(d=e);let b=y===u[l]&&y!==a[l]&&g;if(b&&r&&t.manuallyAnimateOnMount&&(b=!1),v.protectedKeys={...p},!v.isActive&&null===x||!y&&!v.prevProp||s(y)||"boolean"==typeof y)continue;let w=(f=v.prevProp,"string"==typeof(m=y)?m!==f:!!Array.isArray(m)&&!e5(m,f)),T=w||l===o&&v.isActive&&!b&&g||e>d&&g,A=!1,P=Array.isArray(y)?y:[y],S=P.reduce(n(l),{});!1===x&&(S={});let{prevResolvedValues:j={}}=v,M={...j,...S},E=e=>{T=!0,c.has(e)&&(A=!0,c.delete(e)),v.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in M){let e=S[t],i=j[t];if(!p.hasOwnProperty(t))(V(e)&&V(i)?e5(e,i):e===i)?void 0!==e&&c.has(t)?E(t):v.protectedKeys[t]=!0:null!=e?E(t):c.add(t)}v.prevProp=y,v.prevResolvedValues=S,v.isActive&&(p={...p,...S}),r&&t.blockInitialAnimation&&(T=!1);let C=!(b&&w)||A;T&&C&&h.push(...P.map(t=>({animation:t,options:{type:l}})))}if(c.size){let e={};if("boolean"!=typeof a.initial){let i=l(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}c.forEach(i=>{let r=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=r??null}),h.push({animation:e})}let v=!!h.length;return r&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(v=!1),r=!1,v?e(h):Promise.resolve()}return{animateChanges:o,setActive:function(e,r){if(i[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),i[e].isActive=r;let n=o(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=ii(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();s(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let io=0;class ia extends ir{constructor(){super(...arguments),this.id=io++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let il={x:!1,y:!1};function iu(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}let ih=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function ic(t){return{point:{x:t.pageX,y:t.pageY}}}function ip(t,e,i,r){return iu(t,e,t=>ih(t)&&i(t,ic(t)),r)}function id({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function im(t){return t.max-t.min}function iv(t,e,i,r=.5){t.origin=r,t.originPoint=tA(e.min,e.max,t.origin),t.scale=im(i)/im(e),t.translate=tA(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 iy(t,e,i,r){iv(t.x,e.x,i.x,r?r.originX:void 0),iv(t.y,e.y,i.y,r?r.originY:void 0)}function ig(t,e,i){t.min=i.min+e.min,t.max=t.min+im(e)}function ix(t,e,i){t.min=e.min-i.min,t.max=t.min+im(e)}function ib(t,e,i){ix(t.x,e.x,i.x),ix(t.y,e.y,i.y)}let iw=()=>({translate:0,scale:1,origin:0,originPoint:0}),iT=()=>({x:iw(),y:iw()}),iA=()=>({min:0,max:0}),iP=()=>({x:iA(),y:iA()});function iS(t){return[t("x"),t("y")]}function ij(t){return void 0===t||1===t}function iM({scale:t,scaleX:e,scaleY:i}){return!ij(t)||!ij(e)||!ij(i)}function iE(t){return iM(t)||iV(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function iV(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function iC(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function iD(t,e=0,i=1,r,n){t.min=iC(t.min,e,i,r,n),t.max=iC(t.max,e,i,r,n)}function ik(t,{x:e,y:i}){iD(t.x,e.translate,e.scale,e.originPoint),iD(t.y,i.translate,i.scale,i.originPoint)}function iR(t,e){t.min=t.min+e,t.max=t.max+e}function iO(t,e,i,r,n=.5){let s=tA(t.min,t.max,n);iD(t,e,i,s,r)}function iF(t,e){iO(t.x,e.x,e.scaleX,e.scale,e.originX),iO(t.y,e.y,e.scaleY,e.scale,e.originY)}function iL(t,e){return id(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}let i_=({current:t})=>t?t.ownerDocument.defaultView:null;function iB(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let iU=(t,e)=>Math.abs(t-e);class iI{constructor(t,e,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:n=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=iW(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(iU(t.x,e.x)**2+iU(t.y,e.y)**2)>=3);if(!r&&!n)return;let{point:s}=i,{timestamp:o}=v;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=iN(e,this.transformPagePoint),f.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=iW("pointercancel"===t.type?this.lastMoveEventInfo:iN(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!ih(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.contextWindow=r||window;const s=iN(ic(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=v;this.history=[{...o,timestamp:a}];const{onSessionStart:l}=e;l&&l(t,iW(s,this.history)),this.removeListeners=F(ip(this.contextWindow,"pointermove",this.handlePointerMove),ip(this.contextWindow,"pointerup",this.handlePointerUp),ip(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),m(this.updatePoint)}}function iN(t,e){return e?{point:e(t.point)}:t}function i$(t,e){return{x:t.x-e.x,y:t.y-e.y}}function iW({point:t},e){return{point:t,delta:i$(t,iz(e)),offset:i$(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,r=iz(t);for(;e>=0&&(i=t[e],!(r.timestamp-i.timestamp>_(.1)));)e--;if(!i)return{x:0,y:0};let n=(r.timestamp-i.timestamp)/1e3;if(0===n)return{x:0,y:0};let s={x:(r.x-i.x)/n,y:(r.y-i.y)/n};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e)}}function iz(t){return t[t.length-1]}function iY(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 iH(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function iX(t,e,i){return{min:iK(t,e),max:iK(t,i)}}function iK(t,e){return"number"==typeof t?t:t[e]||0}let iq=new WeakMap;class iG{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=iP(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let r=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(ic(t).point)},n=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(il[t])return null;else return il[t]=!0,()=>{il[t]=!1};return il.x||il.y?null:(il.x=il.y=!0,()=>{il.x=il.y=!1})}(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),iS(t=>{let e=this.getAxisMotionValue(t).get()||0;if(ts.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=im(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&f.postRender(()=>n(t,e)),D(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},s=(t,e)=>{let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&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&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},o=(t,e)=>this.stop(t,e),a=()=>iS(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:l}=this.getProps();this.panSession=new iI(t,{onSessionStart:r,onStart:n,onMove:s,onSessionEnd:o,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:i_(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:n}=this.getProps();n&&f.postRender(()=>n(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!iZ(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?tA(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?tA(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&iB(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:iY(t.x,i,n),y:iY(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:iX(t,"left","right"),y:iX(t,"top","bottom")}}(e),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&iS(t=>{var e,r;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],r=this.constraints[t],n={},void 0!==r.min&&(n.min=r.min-e.min),void 0!==r.max&&(n.max=r.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iB(e))return!1;let r=e.current;I();let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;
1let s=function(t,e,i){let r=iL(t,i),{scroll:n}=e;return n&&(iR(r.x,n.offset.x),iR(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:iH(t.x,s.x),y:iH(t.y,s.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=id(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(iS(o=>{if(!iZ(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return D(this.visualElement,t),i.start(e0(t,i,0,e,this.visualElement,!1))}stopAnimation(){iS(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){iS(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){iS(e=>{let{drag:i}=this.getProps();if(!iZ(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e];n.set(t[e]-tA(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iB(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};iS(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let s,o,a,l=e.get();r[t]=(i={min:l,max:l},n=this.constraints[t],s=.5,o=im(i),(a=im(n))>o?s=ei(n.min,n.max-o,i.min):o>a&&(s=ei(i.min,i.max-a,n.min)),L(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),iS(e=>{if(!iZ(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set(tA(n,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;iq.set(this.visualElement,this);let t=ip(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();iB(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),f.read(e);let n=iu(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(iS(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),r(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function iZ(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class iQ extends ir{constructor(t){super(t),this.removeGroupControls=h,this.removeListeners=h,this.controls=new iG(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||h}unmount(){this.removeGroupControls(),this.removeListeners()}}let iJ=t=>(e,i)=>{t&&f.postRender(()=>t(e,i))};class i0 extends ir{constructor(){super(...arguments),this.removePointerDownListener=h}onPointerDown(t){this.session=new iI(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:i_(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:iJ(t),onStart:iJ(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&f.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=ip(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var i1=i(6029);let{schedule:i2}=d(queueMicrotask,!1);var i3=i(55729),i5=i(39622),i6=i(72369);let i9=(0,i3.createContext)({}),i4={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function i8(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let i7={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!to.test(t))return t;else t=parseFloat(t);let i=i8(t,e.target.x),r=i8(t,e.target.y);return`${i}% ${r}%`}},rt={};class re extends i3.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;
1for(let t in rr)rt[t]=rr[t],$(t)&&(rt[t].isCSSVariable=!0);n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),i4.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,r||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||f.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),i2.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ri(t){let[e,i]=(0,i5.xQ)(),r=(0,i3.useContext)(i6.L);return(0,i1.jsx)(re,{...t,layoutGroup:r,switchLayoutGroup:(0,i3.useContext)(i9),isPresent:e,safeToRemove:i})}let rr={borderRadius:{...i7,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:i7,borderTopRightRadius:i7,borderBottomLeftRadius:i7,borderBottomRightRadius:i7,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=tb.parse(t);if(r.length>5)return t;let n=tb.createTransformer(t),s=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=tA(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};var rn=i(22847);function rs(t){return(0,rn.G)(t)&&"ownerSVGElement"in t}let ro=(t,e)=>t.depth-e.depth;class ra{constructor(){this.children=[],this.isDirty=!1}add(t){w(this.children,t),this.isDirty=!0}remove(t){T(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ro),this.isDirty=!1,this.children.forEach(t)}}function rl(t){return C(t)?t.get():t}let ru=["TopLeft","TopRight","BottomLeft","BottomRight"],rh=ru.length,rc=t=>"string"==typeof t?parseFloat(t):t,rp=t=>"number"==typeof t||to.test(t);function rd(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rf=rv(0,.5,t4),rm=rv(.5,.95,h);function rv(t,e,i){return r=>r<t?0:r>e?1:i(ei(t,e,r))}function ry(t,e){t.min=e.min,t.max=e.max}function rg(t,e){ry(t.x,e.x),ry(t.y,e.y)}function rx(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rb(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function rw(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(ts.test(e)&&(e=parseFloat(e),e=tA(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=tA(s.min,s.max,r);t===s&&(a-=e),t.min=rb(t.min,e,i,a,n),t.max=rb(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let rT=["x","scaleX","originX"],rA=["y","scaleY","originY"];function rP(t,e,i,r){rw(t.x,e,rT,i?i.x:void 0,r?r.x:void 0),rw(t.y,e,rA,i?i.y:void 0,r?r.y:void 0)}function rS(t){return 0===t.translate&&1===t.scale}function rj(t){return rS(t.x)&&rS(t.y)}function rM(t,e){return t.min===e.min&&t.max===e.max}function rE(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rV(t,e){return rE(t.x,e.x)&&rE(t.y,e.y)}function rC(t){return im(t.x)/im(t.y)}function rD(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class rk{constructor(){this.members=[]}add(t){w(this.members,t),t.scheduleRender()}remove(t){if(T(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}
1exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rR=["","X","Y","Z"],rO={visibility:"hidden"},rF=0;function rL(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function r_({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=rF++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(rI),this.nodes.forEach(rX),this.nodes.forEach(rK),this.nodes.forEach(rN)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new ra)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new A),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=rs(e)&&!(rs(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{let t,e;this.root.updateBlockedByResize=!0,i&&i(),t=S.now(),e=({timestamp:i})=>{let n=i-t;n>=250&&(m(e),r())},f.setup(e,!0),i=()=>m(e),i4.hasAnimatedSinceResize&&(i4.hasAnimatedSinceResize=!1,this.nodes.forEach(rH))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||r0,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!rV(this.targetLayout,r),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...u(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||rH(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}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(),m(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.forEac
1h(rq),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 r=i.props[R];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",f,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rW);return}this.isUpdating||this.nodes.forEach(rz),this.isUpdating=!1,this.nodes.forEach(rY),this.nodes.forEach(rB),this.nodes.forEach(rU),this.clearAllSnapshots();let t=S.now();v.delta=L(0,1e3/60,t-v.timestamp),v.timestamp=t,v.isProcessing=!0,y.update.process(v),y.preRender.process(v),y.render.process(v),v.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,i2.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(r$),this.sharedNodes.forEach(rG)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,f.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){f.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||im(this.snapshot.measuredBox.x)||im(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=iP(),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=r(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(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rj(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||iE(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),r3((e=r).x),r3(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return iP();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(r6))){let{scroll:t}=this.root;t&&(iR(e.x,t.offset.x),iR(e.y,t.offset.y))}return e}removeElementScroll(t){let e=iP();if(rg(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&rg(e,t),iR(e.x,n.offset.x),iR(e.y,n.offset.y))}return e}applyTransform(t,e=!1){let i=iP();rg(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&iF(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),iE(r.latestValues)&&iF(i,r.latestValues)}return iE(this.latestValues)&&iF(i,this.latestValues),i}removeTransform(t){let e=iP();rg(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!iE(i.latestValues))continue;iM(i.latestValues)&&i.updateSnapshot();let r=iP();rg(r,i.measurePageBox()),rP(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return iE(this.latestValues)&&rP(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!==v.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:r,layoutId:n}=this.options;if(this.layout&&(r||n)){if(this.resolvedRelativeTargetAt=v.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iP(),this.relativeTargetOrigin=iP(),ib(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),rg(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=iP(),this.targetWithTransforms=iP()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,a;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,a=this.relativeParent.target,ig(s.x,o.x,a.x),ig(s.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rg(this.target,this.layout.layoutBox),ik(this.target,this.targetDelta)):rg(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iP(),this.relativeTargetOrigin=iP(),ib(this.relativeTargetOrigin,this.target,t.target),rg(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}}getClosestProjectingParent(){if(!(!this.parent||iM(this.parent.latestValues)||iV(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===v.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;rg(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,r=!1){let n,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&iF(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,ik(t,s)),r&&iE(n.latestValues)&&iF(t,n.latestValues))}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=iP());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rx(this.prevProjectionDelta.x,this.projectionDelta.x),rx(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),iy(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&rD(this.projectionDelta.x,this.prevProjectionDelta.x)&&rD(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=iT(),this.projectionDelta=iT(),this.projectionDeltaWithTransform=iT()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=iT();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=iP(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(rJ));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(rZ(o.x,t.x,r),rZ(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,p,d,f,m,v;ib(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),d=this.relativeTarget,f=this.relativeTargetOrigin,m=a,v=r,rQ(d.x,f.x,m.x,v),rQ(d.y,f.y,m.y,v),i&&(u=this.relativeTarget,p=i,rM(u.x,p.x)&&rM(u.y,p.y))&&(this.isProjectionDirty=!1),i||(i=iP()),rg(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=tA(0,i.opacity??1,rf(r)),t.opacityExit=tA(e.opacity??1,0,rm(r))):s&&(t.opacity=tA(e.opacity??1,i.opacity??1,r));for(let n=0;n<rh;n++){let s=`border${ru[n]}Radius`,o=rd(e,s),a=rd(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||rp(o)===rp(a)?(t[s]=Math.max(tA(rc(o),rc(a),r),0),(ts.test(a)||ts.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=tA(e.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(m(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=f.update(()=>{var e,i,r;let n;i4.hasAnimatedSinceResize=!0,B.layout++,this.motionValue||(this.motionValue=E(0)),this.currentAnimation=(e=this.motionValue,i=[0,1e3],r={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{B.layout--},onComplete:()=>{B.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(n=C(e)?e:E(e)).start(e0("",n,i,r)),n.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:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&r5(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||iP();let e=im(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=im(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}rg(e,i),iF(e,n),iy(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rk),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 r=this.getStack();r&&r.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 r={};i.z&&rL("z",t,r,this.animationValues);for(let e=0;e<rR.length;e++)rL(`rotate${rR[e]}`,t,r,this.animationValues),rL(`skew${rR[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}getProjectionStyles(t){if(!this.instance||this.isSVG)return;if(!this.isVisible)return rO;let e={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,e.opacity="",e.pointerEvents=rl(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none",e;let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=rl(t?.pointerEvents)||""),this.hasProjected&&!iE(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1),e}let n=r.animationValues||r.latestValues;this.applyTransformsToTarget(),e.transform=function(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n),i&&(e.transform=i(n,e.transform));let{x:s,y:o}=this.projectionDelta;for(let t in e.transformOrigin=`${100*s.origin}% ${100*o.origin}% 0`,r.animationValues?e.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:e.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,rt){if(void 0===n[t])continue;let{correct:i,applyTo:s,isCSSVariable:o}=rt[t],a="none"===e.transform?n[t]:i(n[t],r);if(s){let t=s.length;for(let i=0;i<t;i++)e[s[i]]=a}else o?this.options.visualElement.renderState.vars[t]=a:e[t]=a}return this.options.layoutId&&(e.pointerEvents=r===this?rl(t?.pointerEvents)||"":"none"),e}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(rW),this.root.sharedNodes.clear()}}}function rB(t){t.updateLayout()}function rU(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:n}=t.options,s=e.source!==t.layout.source;"size"===n?iS(t=>{let r=s?e.measuredBox[t]:e.layoutBox[t],n=im(r);r.min=i[t].min,r.max=r.min+n}):r5(n,e.layoutBox,i)&&iS(r=>{let n=s?e.measuredBox[r]:e.layoutBox[r],o=im(i[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=iT();iy(o,i,e.layoutBox);let a=iT();s?iy(a,t.applyTransform(r,!0),e.measuredBox):iy(a,i,e.layoutBox);let l=!rj(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=iP();ib(o,e.layoutBox,n.layoutBox);let a=iP();ib(a,i,s.layoutBox),rV(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}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 rI(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function rN(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function r$(t){t.clearSnapshot()}function rW(t){t.clearMeasurements()}function rz(t){t.isLayoutDirty=!1}function rY(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function rH(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function rX(t){t.resolveTargetDelta()}function rK(t){t.calcProjection()}function rq(t){t.resetSkewAndRotation()}function rG(t){t.removeLeadSnapshot()}function rZ(t,e,i){t.translate=tA(e.translate,0,i),t.scale=tA(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function rQ(t,e,i,r){t.min=tA(e.min,i.min,r),t.max=tA(e.max,i.max,r)}function rJ(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let r0={duration:.45,ease:[.4,0,.1,1]},r1=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),r2=r1("applewebkit/")&&!r1("chrome/")?Math.round:h;function r3(t){t.min=r2(t.min),t.max=r2(t.max)}function r5(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(rC(e)-rC(i)))}function r6(t){return t!==t.root&&t.scroll?.wasRoot}let r9=r_({attachResizeListener:(t,e)=>iu(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),r4={current:void 0},r8=r_({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!r4.current){let t=new r9({});t.mount(window),t.setOptions({layoutScroll:!0}),r4.current=t}return r4.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function r7(t,e){let i=function(t){if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document,i=(void 0)??e.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function nt(t){return!("touch"===t.pointerType||il.x||il.y)}function ne(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&f.postRender(()=>n(e,ic(e)))}class ni extends ir{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=r7(t,i),o=t=>{if(!nt(t))return;let{target:i}=t,r=e(i,t);if("function"!=typeof r||!i)return;let s=t=>{nt(t)&&(r(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,n)};return r.forEach(t=>{t.addEventListener("pointerenter",o,n)}),s}(t,(t,e)=>(ne(this.node,e,"Start"),t=>ne(this.node,t,"End"))))}unmount(){}}class nr extends ir{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=F(iu(this.node.current,"focus",()=>this.onFocus()),iu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let nn=(t,e)=>!!e&&(t===e||nn(t,e.parentElement)),ns=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),no=new WeakSet;function na(t){return e=>{"Enter"===e.key&&t(e)}}function nl(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function nu(t){return ih(t)&&!(il.x||il.y)}function nh(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&f.postRender(()=>n(e,ic(e)))}class nc extends ir{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=r7(t,i),o=t=>{let r=t.currentTarget;if(!nu(t))return;no.add(r);let s=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),no.has(r)&&no.delete(r),nu(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,r===window||r===document||i.useGlobalTarget||nn(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),(0,eH.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=na(()=>
1{if(no.has(i))return;nl(i,"down");let t=na(()=>{nl(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>nl(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,n)),ns.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(nh(this.node,e,"Start"),(t,{success:e})=>nh(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let np=new WeakMap,nd=new WeakMap,nf=t=>{let e=np.get(t.target);e&&e(t)},nm=t=>{t.forEach(nf)},nv={some:0,all:1};class ny extends ir{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:r,margin:n,amount:s="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:nv[s]},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:r}=this.node.getProps(),n=e?i:r;n&&n(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;nd.has(i)||nd.set(i,{});let r=nd.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(nm,{root:t,...e})),r[n]}(a),np.set(t,l),e.observe(t),()=>{np.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(){}}let ng=(0,i3.createContext)({strict:!1});var nx=i(67908);let nb=(0,i3.createContext)({});function nw(t){return s(t.animate)||e4.some(e=>e6(t[e]))}function nT(t){return!!(nw(t)||t.variants)}function nA(t){return Array.isArray(t)?t.join(" "):t}var nP=i(89636);let nS={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},nj={};for(let t in nS)nj[t]={isEnabled:e=>nS[t].some(t=>!!e[t])};let nM=Symbol.for("motionComponentSymbol");var nE=i(67017),nV=i(2274);function nC(t,{layout:e,layoutId:i}){return x.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!rt[t]||"opacity"===t)}let nD=(t,e)=>e&&"number"==typeof t?e.transform(t):t,nk={...H,transform:Math.round},nR={borderWidth:to,borderTopWidth:to,borderRightWidth:to,borderBottomWidth:to,borderLeftWidth:to,borderRadius:to,radius:to,borderTopLeftRadius:to,borderTopRightRadius:to,borderBottomRightRadius:to,borderBottomLeftRadius:to,width:to,maxWidth:to,height:to,maxHeight:to,top:to,right:to,bottom:to,left:to,padding:to,paddingTop:to,paddingRight:to,paddingBottom:to,paddingLeft:to,margin:to,marginTop:to,marginRight:to,marginBottom:to,marginLeft:to,backgroundPositionX:to,backgroundPositionY:to,rotate:tn,rotateX:tn,rotateY:tn,rotateZ:tn,scale:K,scaleX:K,scaleY:K,scaleZ:K,skew:tn,skewX:tn,skewY:tn,distance:to,translateX:to,translateY:to,translateZ:to,x:to,y:to,z:to,perspective:to,transformPerspective:to,opacity:X,originX:tu,originY:tu,originZ:to,zIndex:nk,fillOpacity:X,strokeOpacity:X,numOctaves:nk},nO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nF=g.length;function nL(t,e,i){let{style:r,vars:n,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(x.has(t)){o=!0;continue}if($(t)){n[t]=i;continue}{let e=nD(i,nR[t]);t.startsWith("origin")?(a=!0,s[t]=e):r[t]=e}}if(!e.transform&&(o||i?r.transform=function(t,e,i){let r="",n=!0;for(let s=0;s<nF;s++){let o=g[s],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===+!!o.startsWith("scale"):0===parseFloat(a))||i){let t=nD(a,nR[o]);if(!l){n=!1;let e=nO[o]||o;r+=`${e}(${t}) `}i&&(e[o]=t)}}return r=r.trim(),i?r=i(e,n?"":r):n&&(r="none"),r}(e,t.transform,i):r.transform&&(r.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;r.transformOrigin=`${t} ${e} ${i}`}}let n_=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function nB(t,e,i){for(let r in e)C(e[r])||nC(r,i)||(t[r]=e[r])}let nU={offset:"stroke-dashoffset",array:"stroke-dasharray"},nI={offset:"strokeDashoffset",array:"strokeDasharray"};function nN(t,{attrX:e,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a}
1,l,u,h){if(nL(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:p}=t;c.transform&&(p.transform=c.transform,delete c.transform),(p.transform||c.transformOrigin)&&(p.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),p.transform&&(p.transformBox=h?.transformBox??"fill-box",delete c.transformBox),void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==r&&(c.scale=r),void 0!==n&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?nU:nI;t[s.offset]=to.transform(-r);let o=to.transform(e),a=to.transform(i);t[s.array]=`${o} ${a}`}(c,n,s,o,!1)}let n$=()=>({...n_(),attrs:{}}),nW=t=>"string"==typeof t&&"svg"===t.toLowerCase(),nz=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nY(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||nz.has(t)}let nH=t=>!nY(t);try{eW=require("@emotion/is-prop-valid").default,"function"==typeof eW&&(nH=t=>t.startsWith("on")?!nY(t):eW(t))}catch{}let nX=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function nK(t){if("string"!=typeof t||t.includes("-"));else if(nX.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var nq=i(44033);let nG=t=>(e,i)=>{let r=(0,i3.useContext)(nb),n=(0,i3.useContext)(nE.t),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,r,n){return{latestValues:function(t,e,i,r){let n={},o=r(t,{});for(let t in o)n[t]=rl(o[t]);let{initial:l,animate:u}=t,h=nw(t),c=nT(t);e&&c&&!h&&!1!==t.inherit&&(void 0===l&&(l=e.initial),void 0===u&&(u=e.animate));let p=!!i&&!1===i.initial,d=(p=p||!1===l)?u:l;if(d&&"boolean"!=typeof d&&!s(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let r=a(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=p?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let e in t)n[e]=t[e]}}}return n}(i,r,n,t),renderState:e()}})(t,e,r,n);return i?o():(0,nq.M)(o)};function nZ(t,e,i){let{style:r}=t,n={};for(let s in r)(C(r[s])||e.style&&C(e.style[s])||nC(s,t)||i?.getValue(s)?.liveStyle!==void 0)&&(n[s]=r[s]);return n}let nQ={useVisualState:nG({scrapeMotionValuesFromProps:nZ,createRenderState:n_})};function nJ(t,e,i){let r=nZ(t,e,i);for(let i in t)(C(t[i])||C(e[i]))&&(r[-1!==g.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}let n0={useVisualState:nG({scrapeMotionValuesFromProps:nJ,createRenderState:n$})},n1=t=>e=>e.test(t),n2=[H,to,ts,tn,tl,ta,{test:t=>"auto"===t,parse:t=>t}],n3=t=>n2.find(n1(t)),n5=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,n6=new Set(["brightness","contrast","saturate","opacity"]);function n9(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(G)||[];if(!r)return t;let n=i.replace(r,""),s=+!!n6.has(e);return r!==i&&(s*=100),e+"("+s+n+")"}let n4=/\b([a-z-]*)\(.*?\)/gu,n8={...tb,getAnimatableNone:t=>{let e=t.match(n4);return e?e.map(n9).join(" "):t}},n7={...nR,color:tc,backgroundColor:tc,outlineColor:tc,fill:tc,stroke:tc,borderColor:tc,borderTopColor:tc,borderRightColor:tc,borderBottomColor:tc,borderLeftColor:tc,filter:n8,WebkitFilter:n8},st=t=>n7[t];function se(t,e){let i=st(t);return i!==n8&&(i=tb),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let si=new Set(["auto","none","0"]);class sr extends eD{constructor(t,e,i,r,n){super(t,e,i,r,n,!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 r=t[i];if("string"==typeof r&&z(r=r.trim())){let n=function t(e,i,r=1){I(`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,s]=function(t){let e=n5.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${i??r}`,n]}(e);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);
1if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return z(s)?t(s,i,r+1):s}(r,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!b.has(i)||2!==t.length)return;let[r,n]=t,s=n3(r),o=n3(n);if(s!==o)if(ew(s)&&ew(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else eP[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let r,n=0;for(;n<t.length&&!r;){let e=t[n];"string"==typeof e&&!si.has(e)&&tv(e).values.length&&(r=t[n]),n++}if(r&&i)for(let n of e)t[n]=se(i,r)}(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=eP[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=eP[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let sn=[...n2,tc,tb],ss={current:null},so={current:!1},sa=new WeakMap,sl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class su{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eD,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=S.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,f.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=nw(e),this.isVariantNode=nT(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in h){const e=h[t];void 0!==a[t]&&C(e)&&e.set(a[t],!1)}}mount(t){this.current=t,sa.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),so.current||function(){if(so.current=!0,nP.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ss.current=t.matches;t.addListener(e),e()}else ss.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ss.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),m(this.notifyUpdate),m(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=x.has(t);r&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&f.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in nj){let e=nj[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):iP()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<sl.length;e++){let i=sl[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}
1this.prevMotionValues=function(t,e,i){for(let r in e){let n=e[r],s=i[r];if(C(n))t.addValue(r,n);else if(C(s))t.addValue(r,E(n,{owner:t}));else if(s!==n)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(r);t.addValue(r,E(void 0!==e?e:n,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=E(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let r,n;if("string"==typeof i&&(r=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(n=i,/^0[^.\s]+$/u.test(n))))i=parseFloat(i);else{let r;r=i,!sn.find(n1(r))&&tb.test(e)&&(i=se(t,e))}this.setBaseTarget(t,C(i)?i.get():i)}return C(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=a(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||C(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new A),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class sh extends su{constructor(){super(...arguments),this.KeyframeResolver=sr}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;C(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function sc(t,{style:e,vars:i},r,n){for(let s in Object.assign(t.style,e,n&&n.getProjectionStyles(r)),i)t.style.setProperty(s,i[s])}class sp extends sh{constructor(){super(...arguments),this.type="html",this.renderInstance=sc}readValueFromInstance(t,e){if(x.has(e))return this.projection?.isProjecting?eg(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return ex(i,e)})(t,e);{let i=window.getComputedStyle(t),r=($(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return iL(t,e)}build(t,e,i){nL(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return nZ(t,e,i)}}let sd=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"]);class sf extends sh{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=iP}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(x.has(e)){let t=st(e);return t&&t.default||0}return e=sd.has(e)?e:k(e),t.getAttribute(e)}
1scrapeMotionValuesFromProps(t,e,i){return nJ(t,e,i)}build(t,e,i){nN(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in sc(t,e,void 0,r),e.attrs)t.setAttribute(sd.has(i)?i:k(i),e.attrs[i])}mount(t){this.isSVGTag=nW(t.tagName),super.mount(t)}}let sm=function(t){if("u"<typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,r)=>"create"===r?t:(e.has(r)||e.set(r,t(r)),e.get(r))})}((ez={animation:{Feature:is},exit:{Feature:ia},inView:{Feature:ny},tap:{Feature:nc},focus:{Feature:nr},hover:{Feature:ni},pan:{Feature:i0},drag:{Feature:iQ,ProjectionNode:r8,MeasureLayout:ri},layout:{ProjectionNode:r8,MeasureLayout:ri}},eY=(t,e)=>nK(t)?new sf(e):new sp(e,{allowProjection:t!==i3.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function({preloadedFeatures:t,createVisualElement:e,useRender:i,useVisualState:r,Component:n}){function s(t,s){var o;let a,l={...(0,i3.useContext)(nx.Q),...t,layoutId:function({layoutId:t}){let e=(0,i3.useContext)(i6.L).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:u}=l,h=function(t){let{initial:e,animate:i}=function(t,e){if(nw(t)){let{initial:e,animate:i}=t;return{initial:!1===e||e6(e)?e:void 0,animate:e6(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,i3.useContext)(nb));return(0,i3.useMemo)(()=>({initial:e,animate:i}),[nA(e),nA(i)])}(t),c=r(t,u);if(!u&&nP.B){(0,i3.useContext)(ng).strict;let t=function(t){let{drag:e,layout:i}=nj;if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(l);a=t.MeasureLayout,h.visualElement=function(t,e,i,r,n){let{visualElement:s}=(0,i3.useContext)(nb),o=(0,i3.useContext)(ng),a=(0,i3.useContext)(nE.t),l=(0,i3.useContext)(nx.Q).reducedMotion,u=(0,i3.useRef)(null);r=r||o.renderer,!u.current&&r&&(u.current=r(t,{visualState:e,parent:s,props:i,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));let h=u.current,c=(0,i3.useContext)(i9);h&&!h.projection&&n&&("html"===h.type||"svg"===h.type)&&function(t,e,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&iB(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:h,layoutScroll:l,layoutRoot:u})}(u.current,i,n,c);let p=(0,i3.useRef)(!1);(0,i3.useInsertionEffect)(()=>{h&&p.current&&h.update(i,a)});let d=i[R],f=(0,i3.useRef)(!!d&&!window.MotionHandoffIsComplete?.(d)&&window.MotionHasOptimisedAnimation?.(d));return(0,nV.E)(()=>{h&&(p.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),i2.render(h.render),f.current&&h.animationState&&h.animationState.animateChanges())}),(0,i3.useEffect)(()=>{h&&(!f.current&&h.animationState&&h.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(d)}),f.current=!1))}),h}(n,c,l,e,t.ProjectionNode)}return(0,i1.jsxs)(nb.Provider,{value:h,children:[a&&h.visualElement?(0,i1.jsx)(a,{visualElement:h.visualElement,...l}):null,i(n,t,(o=h.visualElement,(0,i3.useCallback)(t=>{t&&c.onMount&&c.onMount(t),o&&(t?o.mount(t):o.unmount()),s&&("function"==typeof s?s(t):iB(s)&&(s.current=t))},[o])),c,u,h.visualElement)]})}t&&function(t){for(let e in t)nj[e]={...nj[e],...t[e]}}(t),s.displayName=`motion.${"string"==typeof n?n:`create(${n.displayName??n.name??""})`}`;let o=(0,i3.forwardRef)(s);return o[nM]=n,o}({...nK(t)?n0:nQ,preloadedFeatures:ez,useRender:function(t=!1){return(e,i,r,{latestValues:n},s)=>{let o=(nK(e)?function(t,e,i,r){let n=(0,i3.useMemo)(()=>{let i=n$();return nN(i,e,nW(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};nB(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i,r,n={},s=(i=t.style||{},nB(r={},i,t),Object.assign(r,function({transformTemplate:t},e){return(0,i3.useMemo)(()=>{let i=n_();return nL(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n}
1)(i,n,s,e),a=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(nH(n)||!0===i&&nY(n)||!e&&!nY(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(i,"string"==typeof e,t),l=e!==i3.Fragment?{...a,...o,ref:r}:{},{children:u}=i,h=(0,i3.useMemo)(()=>C(u)?u.get():u,[u]);return(0,i3.createElement)(e,{...l,children:h})}}(e),createVisualElement:eY,Component:t})}))},15179:(t,e,i)=>{var r=i(83801),n=i(3540),s=i(73696),o=s&&s.isMap;t.exports=o?n(o):r},15917:(t,e,i)=>{var r=i(36592),n=Array.prototype.splice;t.exports=function(t){var e=this.__data__,i=r(e,t);return!(i<0)&&(i==e.length-1?e.pop():n.call(e,i,1),--this.size,!0)}},16005:(t,e,i)=>{var r=i(69335),n=i(3540),s=i(73696),o=s&&s.isSet;t.exports=o?n(o):r},16153:(t,e,i)=>{var r=i(25080),n=i(88601),s=i(91544),o=i(50515),a=1/0,l=r?r.prototype:void 0,u=l?l.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(s(e))return n(e,t)+"";if(o(e))return u?u.call(e):"";var i=e+"";return"0"==i&&1/e==-a?"-0":i}},16799:(t,e,i)=>{var r=i(98499),n=i(48039);t.exports=function(t){return null!=t&&n(t.length)&&!r(t)}},16940:(t,e,i)=>{var r=i(16799),n=i(3619);t.exports=function(t){return n(t)&&r(t)}},16999:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e}},17085:t=>{t.exports=function(t,e){for(var i=-1,r=Array(t);++i<t;)r[i]=e(i);return r}},17706:(t,e,i)=>{var r=i(28676),n=i(85008),s=i(53576),o=i(40101),a=i(69504);t.exports=function(t,e,i){var l=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new l(+t);case"[object DataView]":return n(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(t,i);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(t);case"[object RegExp]":return s(t);case"[object Symbol]":return o(t)}}},17877:t=>{var e=/\s/;t.exports=function(t){for(var i=t.length;i--&&e.test(t.charAt(i)););return i}},18053:(t,e,i)=>{var r=i(49355),n=i(9819),s=i(90199);t.exports=function(t){return n(t)?s(t):r(t)}},18482:(t,e,i)=>{var r=i(23356),n=i(23282),s=i(80244),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return s(t);var e=n(t),i=[];for(var a in t)"constructor"==a&&(e||!o.call(t,a))||i.push(a);return i}},18571:(t,e,i)=>{"use strict";i.d(e,{N:()=>g});var r=i(6029),n=i(55729),s=i(72369),o=i(44033),a=i(2274),l=i(67017),u=i(25903),h=i(67908);class c extends n.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,i=(0,u.s)(t)&&t.offsetWidth||0,r=this.props.sizeRef.current;r.height=e.offsetHeight||0,r.width=e.offsetWidth||0,r.top=e.offsetTop,r.left=e.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:t,isPresent:e,anchorX:i}){let s=(0,n.useId)(),o=(0,n.useRef)(null),a=(0,n.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:l}=(0,n.useContext)(h.Q);return(0,n.useInsertionEffect)(()=>{let{width:t,height:r,top:n,left:u,right:h}=a.current;if(e||!o.current||!t||!r)return;let c="left"===i?`left: ${u}`:`right: ${h}`;o.current.dataset.motionPopId=s;let p=document.createElement("style");return l&&(p.nonce=l),document.head.appendChild(p),p.sheet&&p.sheet.insertRule(`
2          [data-motion-pop-id="${s}"] {
3            position: absolute !important;
4            width: ${t}px !important;
5            height: ${r}px !important;
6            ${c}px !important;
7            top: ${n}px !important;
8          }
9        `),()=>{document.head.contains(p)&&document.head.removeChild(p)}},[e]),(0,r.jsx)(c,{isPresent:e,childRef:o,sizeRef:a,children:n.cloneElement(t,{ref:o})})}let d=({children:t,initial:e,isPresent:i,onExitComplete:s,custom:a,presenceAffectsLayout:u,mode:h,anchorX:c})=>{let d=(0,o.M)(f),m=(0,n.useId)(),v=!0,y=(0,n.useMemo)(()=>
9(v=!1,{id:m,initial:e,isPresent:i,custom:a,onExitComplete:t=>{for(let e of(d.set(t,!0),d.values()))if(!e)return;s&&s()},register:t=>(d.set(t,!1),()=>d.delete(t))}),[i,d,s]);return u&&v&&(y={...y}),(0,n.useMemo)(()=>{d.forEach((t,e)=>d.set(e,!1))},[i]),n.useEffect(()=>{i||d.size||!s||s()},[i]),"popLayout"===h&&(t=(0,r.jsx)(p,{isPresent:i,anchorX:c,children:t})),(0,r.jsx)(l.t.Provider,{value:y,children:t})};function f(){return new Map}var m=i(39622);let v=t=>t.key||"";function y(t){let e=[];return n.Children.forEach(t,t=>{(0,n.isValidElement)(t)&&e.push(t)}),e}let g=({children:t,custom:e,initial:i=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:h="sync",propagate:c=!1,anchorX:p="left"})=>{let[f,g]=(0,m.xQ)(c),x=(0,n.useMemo)(()=>y(t),[t]),b=c&&!f?[]:x.map(v),w=(0,n.useRef)(!0),T=(0,n.useRef)(x),A=(0,o.M)(()=>new Map),[P,S]=(0,n.useState)(x),[j,M]=(0,n.useState)(x);(0,a.E)(()=>{w.current=!1,T.current=x;for(let t=0;t<j.length;t++){let e=v(j[t]);b.includes(e)?A.delete(e):!0!==A.get(e)&&A.set(e,!1)}},[j,b.length,b.join("-")]);let E=[];if(x!==P){let t=[...x];for(let e=0;e<j.length;e++){let i=j[e],r=v(i);b.includes(r)||(t.splice(e,0,i),E.push(i))}return"wait"===h&&E.length&&(t=E),M(y(t)),S(x),null}let{forceRender:V}=(0,n.useContext)(s.L);return(0,r.jsx)(r.Fragment,{children:j.map(t=>{let n=v(t),s=(!c||!!f)&&(x===j||b.includes(n));return(0,r.jsx)(d,{isPresent:s,initial:(!w.current||!!i)&&void 0,custom:e,presenceAffectsLayout:u,mode:h,onExitComplete:s?void 0:()=>{if(!A.has(n))return;A.set(n,!0);let t=!0;A.forEach(e=>{e||(t=!1)}),t&&(V?.(),M(T.current),c&&g?.(),l&&l())},anchorX:p,children:t},n)})})}},21248:(t,e,i)=>{t.exports=i(83588)()},21895:t=>{t.exports=function(){this.__data__=[],this.size=0}},22344:(t,e,i)=>{var r=i(4650),n=i(50874),s=i(33276);t.exports=function(t,e){var i=this.__data__;if(i instanceof r){var o=i.__data__;if(!n||o.length<199)return o.push([t,e]),this.size=++i.size,this;i=this.__data__=new s(o)}return i.set(t,e),this.size=i.size,this}},22346:(t,e,i)=>{var r=i(3128),n=i(58120),s=i(81014),o=i(46060),a=i(88447),l=i(28915),u=i(97722),h=i(87274),c=i(58489),p=i(15051),d=i(63127),f=i(53140),m=i(71388),v=i(17706),y=i(87568),g=i(91544),x=i(9541),b=i(15179),w=i(23356),T=i(16005),A=i(87567),P=i(70720),S="[object Arguments]",j="[object Function]",M="[object Object]",E={};E[S]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E[M]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E[j]=E["[object WeakMap]"]=!1,t.exports=function t(e,i,V,C,D,k){var R,O=1&i,F=2&i,L=4&i;if(V&&(R=D?V(e,C,D,k):V(e)),void 0!==R)return R;if(!w(e))return e;var _=g(e);if(_){if(R=m(e),!O)return u(e,R)}else{var B=f(e),U=B==j||"[object GeneratorFunction]"==B;if(x(e))return l(e,O);if(B==M||B==S||U&&!D){if(R=F||U?{}:y(e),!O)return F?c(e,a(R,e)):h(e,o(R,e))}else{if(!E[B])return D?e:{};R=v(e,B,O)}}k||(k=new r);var I=k.get(e);if(I)return I;k.set(e,R),T(e)?e.forEach(function(r){R.add(t(r,i,V,r,e,k))}):b(e)&&e.forEach(function(r,n){R.set(n,t(r,i,V,n,e,k))});var N=L?F?d:p:F?P:A,$=_?void 0:N(e);return n($||e,function(r,n){$&&(r=e[n=r]),s(R,n,t(r,i,V,n,e,k))}),R}},22479:(t,e,i)=>{var r=i(86301),n=i(23356),s=i(50515),o=0/0,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,h=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(s(t))return o;if(n(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=n(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var i=l.test(t);return i||u.test(t)?h(t.slice(2),i?2:8):a.test(t)?o:+t}},22847:(t,e,i)=>{"use strict";function r(t){return"object"==typeof t&&null!==t}i.d(e,{G:()=>r})},22926:(t,e,i)=>{var r=i(33276),n=i(91353),s=i(36022);function o(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new r;++e<i;)this.add(t[e])}o.prototype.add=o.prototype.push=n,o.prototype.has=s,t.exports=o},23079:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},23282:t=>{var e=Object.prototype;
9t.exports=function(t){var i=t&&t.constructor;return t===("function"==typeof i&&i.prototype||e)}},23356:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},24490:(t,e,i)=>{t.exports=i(54703)(i(45516),"WeakMap")},24877:(t,e,i)=>{var r,n=i(62272),s=(r=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!s&&s in t}},24964:(t,e,i)=>{var r=i(93248),n=Math.max;t.exports=function(t,e,i){return e=n(void 0===e?t.length-1:e,0),function(){for(var s=arguments,o=-1,a=n(s.length-e,0),l=Array(a);++o<a;)l[o]=s[e+o];o=-1;for(var u=Array(e+1);++o<e;)u[o]=s[o];return u[e]=i(l),r(t,this,u)}}},25080:(t,e,i)=>{t.exports=i(45516).Symbol},25903:(t,e,i)=>{"use strict";i.d(e,{s:()=>n});var r=i(22847);function n(t){return(0,r.G)(t)&&"offsetHeight"in t}},27288:(t,e,i)=>{var r=i(86347);t.exports=i(43862)(r)},27376:(t,e,i)=>{var r=i(46210),n=i(87567);t.exports=function(t){return null==t?[]:r(t,n(t))}},28340:(t,e,i)=>{var r=i(33573),n=i(48039),s=i(3619),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,t.exports=function(t){return s(t)&&n(t.length)&&!!o[r(t)]}},28676:(t,e,i)=>{var r=i(50025);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},28915:(t,e,i)=>{t=i.nmd(t);var r=i(45516),n=e&&!e.nodeType&&e,s=n&&t&&!t.nodeType&&t,o=s&&s.exports===n?r.Buffer:void 0,a=o?o.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var i=t.length,r=a?a(i):new t.constructor(i);return t.copy(r),r}},29778:(t,e,i)=>{var r=i(17085),n=i(42209),s=i(91544),o=i(9541),a=i(13920),l=i(43562),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var i=s(t),h=!i&&n(t),c=!i&&!h&&o(t),p=!i&&!h&&!c&&l(t),d=i||h||c||p,f=d?r(t.length,String):[],m=f.length;for(var v in t)(e||u.call(t,v))&&!(d&&("length"==v||c&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||a(v,m)))&&f.push(v);return f}},29794:(t,e,i)=>{var r=i(65517),n=i(91544);t.exports=function(t,e,i){var s=e(t);return n(t)?s:r(s,i(t))}},30147:t=>{t.exports=function(t,e){for(var i=-1,r=null==t?0:t.length,n=0,s=[];++i<r;){var o=t[i];e(o,i,t)&&(s[n++]=o)}return s}},31736:(t,e,i)=>{t.exports=i(54703)(i(45516),"Set")},33276:(t,e,i)=>{var r=i(95149),n=i(37175),s=i(11720),o=i(38684),a=i(35844);function l(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,t.exports=l},33553:(t,e,i)=>{var r=i(52634),n=i(70720);t.exports=function(t){return r(t,n(t))}},33573:(t,e,i)=>{var r=i(25080),n=i(13574),s=i(23079),o=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":o&&o in Object(t)?n(t):s(t)}},33863:t=>{t.exports=function(t){return function(){return t}}},33946:t=>{t.exports=function(t,e){return function(i){return t(e(i))}}},35844:(t,e,i)=>{var r=i(86414);t.exports=function(t,e){var i=r(this,t),n=i.size;return i.set(t,e),this.size+=+(i.size!=n),this}},36022:t=>{t.exports=function(t){return this.__data__.has(t)}},36287:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var r=i(56441),n=i(15259);function s(t,e){(0,n.A)(2,arguments);var i=(0,r.A)(t),s=(0,r.A)(e);return i.getTime()<s.getTime()}},36592:(t,e,i)=>{var r=i(66581);t.exports=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return -1}},36704:t=>{t.exports=function(t){return this.__data__.has(t)}},36975:(t,e,i)=>{var r=i(33573),n=i(3619);t.exports=function(t){return n(t)&&"[object Arguments]"==r(t)}},37175:(t,e,i)=>{var r=i(86414);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=!!e,e}},38302:t=>
9{t.exports=function(t,e,i,r){for(var n=t.length,s=i+(r?1:-1);r?s--:++s<n;)if(e(t[s],s,t))return s;return -1}},38684:(t,e,i)=>{var r=i(86414);t.exports=function(t){return r(this,t).has(t)}},39622:(t,e,i)=>{"use strict";i.d(e,{xQ:()=>s});var r=i(55729),n=i(67017);function s(t=!0){let e=(0,r.useContext)(n.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:a}=e,l=(0,r.useId)();(0,r.useEffect)(()=>{if(t)return a(l)},[t]);let u=(0,r.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!i&&o?[!1,u]:[!0]}},39817:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var r=i(56441),n=i(15259);function s(t){(0,n.A)(1,arguments);var e=(0,r.A)(t);return e.setHours(0,0,0,0),e}},40101:(t,e,i)=>{var r=i(25080),n=r?r.prototype:void 0,s=n?n.valueOf:void 0;t.exports=function(t){return s?Object(s.call(t)):{}}},41016:(t,e,i)=>{var r=i(81707),n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return n.call(e,t)?e[t]:void 0}},42209:(t,e,i)=>{var r=i(36975),n=i(3619),s=Object.prototype,o=s.hasOwnProperty,a=s.propertyIsEnumerable;t.exports=r(function(){return arguments}())?r:function(t){return n(t)&&o.call(t,"callee")&&!a.call(t,"callee")}},43235:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var r=i(15259),n=i(25270);function s(t,e){(0,r.A)(1,arguments);var i,s,v,y=(0,n.A)(null!=(i=null==e?void 0:e.additionalDigits)?i:2);if(2!==y&&1!==y&&0!==y)throw RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var g=function(t){var e,i={},r=t.split(o);if(r.length>2)return i;if(/:/.test(r[0])?e=r[0]:(i.date=r[0],e=r[1],a.test(i.date)&&(i.date=t.split(a)[0],e=t.substr(i.date.length,t.length))),e){var n=l.exec(e);n?(i.time=e.replace(n[1],""),i.timezone=n[1]):i.time=e}return i}(t);if(g.date){var x=function(t,e){var i=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.match(i);if(!r)return{year:NaN,restDateString:""};var n=r[1]?parseInt(r[1]):null,s=r[2]?parseInt(r[2]):null;return{year:null===s?n:100*s,restDateString:t.slice((r[1]||r[2]).length)}}(g.date,y);s=function(t,e){if(null===e)return new Date(NaN);var i,r,n,s,o,a,l,h,c,d,v,y,g=t.match(u);if(!g)return new Date(NaN);var x=!!g[4],b=p(g[1]),w=p(g[2])-1,T=p(g[3]),A=p(g[4]),P=p(g[5])-1;if(x){return(i=A,r=P,i>=1&&i<=53&&r>=0&&r<=6)?(n=e,s=A,o=P,(a=new Date(0)).setUTCFullYear(n,0,4),l=a.getUTCDay()||7,a.setUTCDate(a.getUTCDate()+((s-1)*7+o+1-l)),a):new Date(NaN)}var S=new Date(0);return(h=e,c=w,d=T,c>=0&&c<=11&&d>=1&&d<=(f[c]||(m(h)?29:28))&&(v=e,(y=b)>=1&&y<=(m(v)?366:365)))?(S.setUTCFullYear(e,w,Math.max(b,T)),S):new Date(NaN)}(x.restDateString,x.year)}if(!s||isNaN(s.getTime()))return new Date(NaN);var b=s.getTime(),w=0;if(g.time&&isNaN(w=function(t){var e,i,r,n=t.match(h);if(!n)return NaN;var s=d(n[1]),o=d(n[2]),a=d(n[3]);return(e=s,i=o,r=a,24===e?0===i&&0===r:r>=0&&r<60&&i>=0&&i<60&&e>=0&&e<25)?36e5*s+6e4*o+1e3*a:NaN}(g.time)))return new Date(NaN);if(g.timezone){if(isNaN(v=function(t){if("Z"===t)return 0;var e,i=t.match(c);if(!i)return 0;var r="+"===i[1]?-1:1,n=parseInt(i[2]),s=i[3]&&parseInt(i[3])||0;return(e=s)>=0&&e<=59?r*(36e5*n+6e4*s):NaN}(g.timezone)))return new Date(NaN)}else{var T=new Date(b+w),A=new Date(0);return A.setFullYear(T.getUTCFullYear(),T.getUTCMonth(),T.getUTCDate()),A.setHours(T.getUTCHours(),T.getUTCMinutes(),T.getUTCSeconds(),T.getUTCMilliseconds()),A}return new Date(b+w+v)}var o=/[T ]/,a=/[Z ]/i,l=/([Z+-].*)$/,u=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,h=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,c=/^([+-])(\d{2})(?::?(\d{2}))?$/;function p(t){return t?parseInt(t):1}function d(t){return t&&parseFloat(t.replace(",","."))||0}var f=[31,null,31,30,31,30,31,31,30,31,30,31];function m(t){return t%400==0||t%4==0&&t%100!=0}},43562:(t,e,i)=>{var r=i(28340),n=i(3540),s=i(73696),o=s&&s.isTypedArray;t.exports=o?n(o):r},43701:(t,e,i)=>{var r=i(23282),n=i(7131),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return n(t);var e=[];for(var i in Object(t))s.call(t,i)&&"constructor"!=i&&e.push(i);return e}},43862:t=>{var e=Date.now;t.exports=function(t){var i=0,r=0;return function(){var n=e(),s=16-(n-r);if(r=n,s>0){if(++i>=800)return arguments[0]}else i=0;return t.apply(void 0,arguments)}}},44033:(t,e,i)=>{"use strict";i.d(e,{M:()=>n});var r=i(55729);function n(t){let e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},45516:(t,e,i)=>{var r=i(97397),n="object"==typeof self&&self&&self.Object===Object&&self;
9t.exports=r||n||Function("return this")()},45895:(t,e,i)=>{var r=i(5549),n=i(24964),s=i(27288);t.exports=function(t,e){return s(n(t,e,r),t+"")}},46060:(t,e,i)=>{var r=i(52634),n=i(87567);t.exports=function(t,e){return t&&r(e,n(e),t)}},46210:(t,e,i)=>{var r=i(30147),n=i(98499);t.exports=function(t,e){return r(e,function(e){return n(t[e])})}},46468:t=>{t.exports=function(t){return this.__data__.get(t)}},47358:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(39817);function n(){return(0,r.A)(Date.now())}},47508:(t,e,i)=>{var r=i(81707);t.exports=function(t,e){var i=this.__data__;return this.size+=+!this.has(t),i[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},48039:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},48877:(t,e,i)=>{var r=i(66581),n=i(16799),s=i(13920),o=i(23356);t.exports=function(t,e,i){if(!o(i))return!1;var a=typeof e;return("number"==a?!!(n(i)&&s(e,i.length)):"string"==a&&e in i)&&r(i[e],t)}},48895:t=>{t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},49355:t=>{t.exports=function(t){return t.split("")}},50025:(t,e,i)=>{t.exports=i(45516).Uint8Array},50515:(t,e,i)=>{var r=i(33573),n=i(3619);t.exports=function(t){return"symbol"==typeof t||n(t)&&"[object Symbol]"==r(t)}},50874:(t,e,i)=>{t.exports=i(54703)(i(45516),"Map")},51526:(t,e,i)=>{var r=i(66678),n=i(16799),s=i(84450),o=i(98888),a=i(70917),l=Math.max;t.exports=function(t,e,i,u){t=n(t)?t:a(t),i=i&&!u?o(i):0;var h=t.length;return i<0&&(i=l(h+i,0)),s(t)?i<=h&&t.indexOf(e,i)>-1:!!h&&r(t,e,i)>-1}},51547:(t,e,i)=>{var r=i(3128),n=i(66300),s=i(21248),o=i(12901),a=i(23356),l=i(70720),u=i(48895);t.exports=function t(e,i,h,c,p){e!==i&&s(i,function(s,l){if(p||(p=new r),a(s))o(e,i,l,h,t,c,p);else{var d=c?c(u(e,l),s,l+"",e,i,p):void 0;void 0===d&&(d=s),n(e,l,d)}},l)}},51601:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var r=i(39817),n=i(15259);function s(t){return(0,n.A)(1,arguments),function(t,e){(0,n.A)(2,arguments);var i=(0,r.A)(t),s=(0,r.A)(e);return i.getTime()===s.getTime()}(t,Date.now())}},52182:(t,e,i)=>{var r=i(36592);t.exports=function(t){var e=this.__data__,i=r(e,t);return i<0?void 0:e[i][1]}},52634:(t,e,i)=>{var r=i(81014),n=i(53325);t.exports=function(t,e,i,s){var o=!i;i||(i={});for(var a=-1,l=e.length;++a<l;){var u=e[a],h=s?s(i[u],t[u],u,i,t):void 0;void 0===h&&(h=t[u]),o?n(i,u,h):r(i,u,h)}return i}},53140:(t,e,i)=>{var r=i(64593),n=i(50874),s=i(9929),o=i(31736),a=i(24490),l=i(33573),u=i(99048),h="[object Map]",c="[object Promise]",p="[object Set]",d="[object WeakMap]",f="[object DataView]",m=u(r),v=u(n),y=u(s),g=u(o),x=u(a),b=l;(r&&b(new r(new ArrayBuffer(1)))!=f||n&&b(new n)!=h||s&&b(s.resolve())!=c||o&&b(new o)!=p||a&&b(ne
9w a)!=d)&&(b=function(t){var e=l(t),i="[object Object]"==e?t.constructor:void 0,r=i?u(i):"";if(r)switch(r){case m:return f;case v:return h;case y:return c;case g:return p;case x:return d}return e}),t.exports=b},53325:(t,e,i)=>{var r=i(1278);t.exports=function(t,e,i){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}},53576:t=>{var e=/\w*$/;t.exports=function(t){var i=new t.constructor(t.source,e.exec(t));return i.lastIndex=t.lastIndex,i}},54703:(t,e,i)=>{var r=i(66046),n=i(72053);t.exports=function(t,e){var i=n(t,e);return r(i)?i:void 0}},58120:t=>{t.exports=function(t,e){for(var i=-1,r=null==t?0:t.length;++i<r&&!1!==e(t[i],i,t););return t}},58489:(t,e,i)=>{var r=i(52634),n=i(63602);t.exports=function(t,e){return r(t,n(t),e)}},60567:(t,e,i)=>{var r=i(16153);t.exports=function(t){return null==t?"":r(t)}},62220:(t,e,i)=>{var r=i(81707),n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:n.call(e,t)}},62272:(t,e,i)=>{t.exports=i(45516)["__core-js_shared__"]},63127:(t,e,i)=>{var r=i(29794),n=i(63602),s=i(70720);t.exports=function(t){return r(t,s,n)}},63602:(t,e,i)=>{var r=i(65517),n=i(10858),s=i(5461),o=i(63912);t.exports=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,s(t)),t=n(t);return e}:o},63912:t=>{t.exports=function(){return[]}},64022:(t,e,i)=>{var r=i(33573),n=i(10858),s=i(3619),o=Object.prototype,a=Function.prototype.toString,l=o.hasOwnProperty,u=a.call(Object);t.exports=function(t){if(!s(t)||"[object Object]"!=r(t))return!1;var e=n(t);if(null===e)return!0;var i=l.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&a.call(i)==u}},64593:(t,e,i)=>{t.exports=i(54703)(i(45516),"DataView")},65517:t=>{t.exports=function(t,e){for(var i=-1,r=e.length,n=t.length;++i<r;)t[n+i]=e[i];return t}},66046:(t,e,i)=>{var r=i(98499),n=i(24877),s=i(23356),o=i(99048),a=/^\[object .+?Constructor\]$/,l=Object.prototype,u=Function.prototype.toString,h=l.hasOwnProperty,c=RegExp("^"+u.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!s(t)||n(t))&&(r(t)?c:a).test(o(t))}},66300:(t,e,i)=>{var r=i(53325),n=i(66581);t.exports=function(t,e,i){(void 0===i||n(t[e],i))&&(void 0!==i||e in t)||r(t,e,i)}},66581:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},66678:(t,e,i)=>{var r=i(38302),n=i(2882),s=i(91994);t.exports=function(t,e,i){return e==e?s(t,e,i):r(t,n,i)}},67017:(t,e,i)=>{"use strict";i.d(e,{t:()=>r});let r=(0,i(55729).createContext)(null)},67712:t=>{t.exports=function(t){for(var e=-1,i=null==t?0:t.length,r=0,n=[];++e<i;){var s=t[e];s&&(n[r++]=s)}return n}},67908:(t,e,i)=>{"use strict";i.d(e,{Q:()=>r});let r=(0,i(55729).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},68668:(t,e,i)=>{var r=i(66678);t.exports=function(t,e){return!!(null==t?0:t.length)&&r(t,e,0)>-1}},69335:(t,e,i)=>{var r=i(53140),n=i(3619);t.exports=function(t){return n(t)&&"[object Set]"==r(t)}},69504:(t,e,i)=>{var r=i(28676);t.exports=function(t,e){var i=e?r(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}},69916:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var r=i(56441),n=i(15259);function s(t,e){(0,n.A)(2,arguments);var i=(0,r.A)(t),s=(0,r.A)(e);return i.getTime()>s.getTime()}},70720:(t,e,i)=>{var r=i(29778),n=i(18482),s=i(16799);t.exports=function(t){return s(t)?r(t,!0):n(t)}},70917:(t,e,i)=>{var r=i(74283),n=i(87567);t.exports=function(t){return null==t?[]:r(t,n(t))}},71388:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var i=t.length,r=new t.constructor(i);return i&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},72053:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},72369:(t,e,i)=>{"use strict";i.d(e,{L:()=>r});let r=(0,i(55729).createContext)({})},73696:(t,e,i)=>{t=i.nmd(t);var r=i(97397),n=e&&!e.nodeType&&e,s=n&&t&&!t.nodeType&&t,o=s&&s.exports===n&&r.process,a=function(){try{var t=s&&s.require&&s.require("util").types;if(t)return t;return o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=a},74283:(t,e,i)=>{var r=i(88601);t.exports=function(t,e){return r(e,function(e){return t[e]})}},79730:(t,e,i)=>{var r=i(45895),n=i(48877);t.exports=function(t){return r(function(e,i){var r=-1,s=i.length,o=s>1?i[s-1]:void 0,a=s>2?i[2]:void 0;for(o=t.length>3&&"function"==typeof o?(s--,o):void 0,a&&n(i[0],i[1],a)&&(o=s<3?void 0:o,s=1),e=Object(e);++r<s;){var l=i[r];l&&t(e,l,r,o)}return e})}},80244:t=>{t.exports=function(t){var e=[];
9if(null!=t)for(var i in Object(t))e.push(i);return e}},81014:(t,e,i)=>{var r=i(53325),n=i(66581),s=Object.prototype.hasOwnProperty;t.exports=function(t,e,i){var o=t[e];s.call(t,e)&&n(o,i)&&(void 0!==i||e in t)||r(t,e,i)}},81707:(t,e,i)=>{t.exports=i(54703)(Object,"create")},82694:t=>{t.exports=function(t,e){return t.has(e)}},83588:t=>{t.exports=function(t){return function(e,i,r){for(var n=-1,s=Object(e),o=r(e),a=o.length;a--;){var l=o[t?a:++n];if(!1===i(s[l],l,s))break}return e}}},83801:(t,e,i)=>{var r=i(53140),n=i(3619);t.exports=function(t){return n(t)&&"[object Map]"==r(t)}},83965:(t,e,i)=>{var r=i(65517),n=i(12342);t.exports=function t(e,i,s,o,a){var l=-1,u=e.length;for(s||(s=n),a||(a=[]);++l<u;){var h=e[l];i>0&&s(h)?i>1?t(h,i-1,s,o,a):r(a,h):o||(a[a.length]=h)}return a}},84450:(t,e,i)=>{var r=i(33573),n=i(91544),s=i(3619);t.exports=function(t){return"string"==typeof t||!n(t)&&s(t)&&"[object String]"==r(t)}},85008:(t,e,i)=>{var r=i(28676);t.exports=function(t,e){var i=e?r(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)}},86152:t=>{t.exports=function(t,e,i){for(var r=-1,n=null==t?0:t.length;++r<n;)if(i(e,t[r]))return!0;return!1}},86301:(t,e,i)=>{var r=i(17877),n=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(n,""):t}},86347:(t,e,i)=>{var r=i(33863),n=i(1278),s=i(5549);t.exports=n?function(t,e){return n(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:s},86414:(t,e,i)=>{var r=i(89139);t.exports=function(t,e){var i=t.__data__;return r(e)?i["string"==typeof e?"string":"hash"]:i.map}},87274:(t,e,i)=>{var r=i(52634),n=i(5461);t.exports=function(t,e){return r(t,n(t),e)}},87567:(t,e,i)=>{var r=i(29778),n=i(43701),s=i(16799);t.exports=function(t){return s(t)?r(t):n(t)}},87568:(t,e,i)=>{var r=i(91357),n=i(10858),s=i(23282);t.exports=function(t){return"function"!=typeof t.constructor||s(t)?{}:r(n(t))}},88165:t=>{t.exports=function(t,e,i){var r=-1,n=t.length;e<0&&(e=-e>n?0:n+e),(i=i>n?n:i)<0&&(i+=n),n=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(n);++r<n;)s[r]=t[r+e];return s}},88447:(t,e,i)=>{var r=i(52634),n=i(70720);t.exports=function(t,e){return t&&r(e,n(e),t)}},88601:t=>{t.exports=function(t,e){for(var i=-1,r=null==t?0:t.length,n=Array(r);++i<r;)n[i]=e(t[i],i,t);return n}},89139:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},89636:(t,e,i)=>{"use strict";i.d(e,{B:()=>r});let r="u">typeof window},90199:t=>{var e="\\ud800-\\udfff",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",n="[^"+e+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",o="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+i+"|"+r+")?",l="[\\ufe0e\\ufe0f]?",u="(?:\\u200d(?:"+[n,s,o].join("|")+")"+l+a+")*",h=RegExp(r+"(?="+r+")|"+("(?:"+[n+i+"?",i,s,o,"["+e+"]"].join("|"))+")"+(l+a+u),"g");t.exports=function(t){return t.match(h)||[]}},90417:(t,e,i)=>{var r=i(66678);t.exports=function(t,e){for(var i=-1,n=t.length;++i<n&&r(e,t[i],0)>-1;);return i}},91353:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},91357:(t,e,i)=>{var r=i(23356),n=Object.create;t.exports=function(){function t(){}return function(e){if(!r(e))return{};if(n)return n(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}()},91544:t=>{t.exports=Array.isArray},91630:(t,e,i)=>{var r=i(22926),n=i(68668),s=i(86152),o=i(88601),a=i(3540),l=i(82694);t.exports=function(t,e,i,u){var h=-1,c=n,p=!0,d=t.length,f=[],m=e.length;if(!d)return f;i&&(e=o(e,a(i))),u?(c=s,p=!1):e.length>=200&&(c=l,p=!1,e=new r(e));t:for(;++h<d;){var v=t[h],y=null==i?v:i(v);if(v=u||0!==v?v:0,p&&y==y){for(var g=m;g--;)if(e[g]===y)continue t;f.push(v)}else c(e,y,u)||f.push(v)}return f}},91994:t=>{t.exports=function(t,e,i){for(var r=i-1,n=t.length;++r<n;)if(t[r]===e)return r;return -1}},92786:(t,e,i)=>{var r=i(36592);t.exports=function(t,e){var i=this.__data__,n=r(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this}},93248:t=>{t.exports=function(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}},93686:(t,e,i)=>{var r=i(66678);t.exports=function(t,e){for(var i=t.length;i--&&r(e,t[i],0)>-1;);return i}},95149:(t,e,i)=>{var r=i(620),n=i(4650),s=i(50874);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(s||n),string:new r}}},95345:(t,e,i)=>{var r=i(4650);t.exports=function(){this.__data__=new r,this.size=0}},97397:(t,e,i)=>{t.exports="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g}
vendor: 632 bytes, line 9
9,97481:(t,e,i)=>{var r=i(51547);t.exports=i(79730)(function(t,e,i){r(t,e,i)})},97722:t=>{t.exports=function(t,e){var i=-1,r=t.length;for(e||(e=Array(r));++i<r;)e[i]=t[i];return e}},98499:(t,e,i)=>{var r=i(33573),n=i(23356);t.exports=function(t){if(!n(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},98888:(t,e,i)=>{var r=i(11061);t.exports=function(t){var e=r(t),i=e%1;return e==e?i?e-i:e:0}},99048:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}}}]);

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.