PageSourceSearch

https://snailer.ai/static/js/530.cbc31c69.chunk.js

js snailer.ai collected 2026-10-05 14:40:26 UTC 146,997 bytes, 2 lines download raw bytes

1/*! For license information please see 530.cbc31c69.chunk.js.LICENSE.txt */
2"use strict";(self.webpackChunkgrpc_web_client=self.webpackChunkgrpc_web_client||[]).push([[530],{24(t,e,n){n.d(e,{$:()=>i,V:()=>s});let i=()=>{},s=()=>{}},67(t,e,n){function i(t){let e;return()=>(void 0===e&&(e=t()),e)}n.d(e,{p:()=>i})},225(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]])},266(t,e,n){n.d(e,{S:()=>i});const i=/-?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)/g},446(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},453(t,e,n){n.d(e,{V:()=>i});const i=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},456(t,e,n){n.d(e,{Y:()=>i,t:()=>s});const i=2e4;function s(t){let e=0;let n=t.next(e);for(;!n.done&&e<i;)e+=50,n=t.next(e);return e>=i?1/0:e}},521(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("scan-line",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 12h10",key:"b7w52i"}]])},584(t,e,n){n.d(e,{po:()=>o,tn:()=>a,yT:()=>r});var i=n(453),s=n(718);const o=t=>1-Math.sin(Math.acos(t)),r=(0,s.G)(o),a=(0,i.V)(o)},695(t,e,n){n.d(e,{U:()=>o});var i=n(7584),s=n(8388);function o(){if(s.r.current=!0,i.B)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>s.O.current=t.matches;t.addEventListener("change",e),e()}else s.O.current=!1}},718(t,e,n){n.d(e,{G:()=>i});const i=t=>e=>1-t(1-e)},911(t,e,n){function i(t){return"object"===typeof t&&null!==t}n.d(e,{G:()=>i})},983(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},1047(t,e,n){n.d(e,{Gt:()=>o,PP:()=>l,WG:()=>r,uv:()=>a});var i=n(9389),s=n(5716);const{schedule:o,cancel:r,state:a,steps:l}=(0,s.I)("undefined"!==typeof requestAnimationFrame?requestAnimationFrame:i.l,!0)},1066(t,e,n){n.d(e,{G:()=>c});var i=n(3971);var s=n(9305),o=n(1047),r=n(7544),a=n(1567);function l(t,e){const n=(0,a.d)(e()),i=()=>n.set(e());return i(),(0,r.E)(()=>{const e=()=>o.Gt.preRender(i,!1,!0),n=t.map(t=>t.on("change",e));return()=>{n.forEach(t=>t()),(0,o.WG)(i)}}),n}var u=n(2830);function c(t,e,n,s){if("function"===typeof t)return function(t){u.bt.current=[],t();const e=l(u.bt.current,t);return u.bt.current=void 0,e}(t);const o="function"===typeof e?e:function(){const t=!Array.isArray(arguments.length<=0?void 0:arguments[0]),e=t?0:-1,n=0+e<0||arguments.length<=0+e?void 0:arguments[0+e],s=1+e<0||arguments.length<=1+e?void 0:arguments[1+e],o=2+e<0||arguments.length<=2+e?void 0:arguments[2+e],r=3+e<0||arguments.length<=3+e?void 0:arguments[3+e],a=(0,i.G)(s,o,r);return t?a(n):a}(e,n,s);return Array.isArray(t)?h(t,o):h([t],t=>{let[e]=t;return o(e)})}function h(t,e){const n=(0,s.M)(()=>[]);return l(t,()=>{n.length=0;const i=t.length;for(let e=0;e<i;e++)n[e]=t[e].get();return e(n)})}},1098(t,e,n){n.d(e,{KN:()=>r,gQ:()=>c,px:()=>a,uj:()=>o,vh:()=>l,vw:()=>u});var i=n(2555);const s=t=>({test:e=>"string"===typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>"".concat(e).concat(t)}),o=s("deg"),r=s("%"),a=s("px"),l=s("vh"),u=s("vw"),c=(()=>(0,i.A)((0,i.A)({},r),{},{parse:t=>r.parse(t)/100,transform:t=>r.transform(100*t)}))()},1372(t,e,n){n.d(e,{s:()=>x});var i=n(2555),s=n(8673),o=n(2038),r=n(6643),a=n(7065),l=n(1652),u=n(4707),c=n(1047);const h=t=>{const e=e=>{let{timestamp:n}=e;return t(n)};return{start:function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return c.Gt.update(e,t)},stop:()=>(0,c.WG)(e),now:()=>c.uv.isProcessing?c.uv.timestamp:a.k.now()}};var d=n(9536),p=n(7202),m=n(456),f=n(2470),v=n(1560),g=n(1446);const y=t=>t/100;class x extends g.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var t,e;const{motionValue:n}=this.options;n&&n.updatedAt!==a.k.now()&&this.tick(a.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),null===(t=(e=this.options).onStop)||void 0===t||t.call(e))},l.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){const{options:t}=this;(0,v.E)(t);const{type:e=p.i,repeat:n=0,repeatDelay:o=0,repeatType:r,velocity:a=0}=t;let{keyframes:l}=t;const c=e||p.i;c!==p.i&&"number"!==typeof l[0]&&(this.mixKeyframes=(0,s.F)(y,(0,u.j)(l[0],l[1])),l=[0,100]);const h=c((0,i.A)((0,i.A)({},t),{},{keyframes:l}));"mirror"===r&&(this.mirroredGenerator=c((0,i.A)((0,i.A)({},t),{},{keyframes:[...l].reverse(),velocity:-a}))),null===h.calculatedDuration&&(h.calculatedDuration=(0,m.t)(h));const{calculatedDuration:d}=h;this.calculatedDuration=d,this.resolvedDuration=d+o,this.totalDuration=this.resolvedDuration*(n+1)-o,this.generator=h}updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{generator:n,totalDuration:i,mixKeyframes:s,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);const{delay:u=0,keyframes:c,repeat:h,repeatType:p,repeatDelay:m,type:v,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);const x=this.currentTime-u*(this.playbackSpeed>=0?1:-1),A=this.playbackSpeed>=0?x<0:x>i;
2this.currentTime=Math.max(x,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let w=this.currentTime,T=n;if(h){const t=Math.min(this.currentTime,i)/a;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,h+1);Boolean(e%2)&&("reverse"===p?(n=1-n,m&&(n-=m/a)):"mirror"===p&&(T=r)),w=(0,o.q)(0,1,n)*a}const F=A?{done:!1,value:c[0]}:T.next(w);s&&(F.value=s(F.value));let{done:P}=F;A||null===l||(P=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return S&&v!==d.B&&(F.value=(0,f.X)(c,this.options,y,this.speed)),g&&g(F.value),S&&this.finish(),F}then(t,e){return this.finished.then(t,e)}get duration(){return(0,r.X)(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+(0,r.X)(t)}get time(){return(0,r.X)(this.currentTime)}set time(t){var e;t=(0,r.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),null===(e=this.driver)||void 0===e||e.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(a.k.now());const e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,r.X)(this.currentTime))}play(){var t,e;if(this.isStopped)return;const{driver:n=h,startTime:i}=this.options;this.driver||(this.driver=n(t=>this.tick(t))),null===(t=(e=this.options).onPlay)||void 0===t||t.call(e);const s=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=s):null!==this.holdTime?this.startTime=s-this.holdTime:this.startTime||(this.startTime=null!==i&&void 0!==i?i:s),"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(a.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,e;this.notifyFinished(),this.teardown(),this.state="finished",null===(t=(e=this.options).onComplete)||void 0===t||t.call(e)}cancel(){var t,e;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),null===(t=(e=this.options).onCancel)||void 0===t||t.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,l.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var e;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),null===(e=this.driver)||void 0===e||e.stop(),t.observe(this)}}},1446(t,e,n){n.d(e,{q:()=>i});class i{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}},1538(t,e,n){n.d(e,{L:()=>it});var i=n(2555),s=n(3986),o=n(2830),r=n(24),a=n(9950),l=n(9389),u=n(1047);function c(t,e){let n;const i=()=>{const{currentTime:i}=e,s=(null===i?0:i.value)/100;n!==s&&t(s),n=s};return u.Gt.preUpdate(i,!0),()=>(0,u.WG)(i)}var h=n(2834),d=n(2936),p=n(2168);const m=new WeakMap;let f;const v=(t,e,n)=>(i,s)=>s&&s[0]?s[0][t+"Size"]:(0,d.x)(i)&&"getBBox"in i?i.getBBox()[e]:i[n],g=v("inline","width","offsetWidth"),y=v("block","height","offsetHeight");function x(t){var e;let{target:n,borderBoxSize:i}=t;null===(e=m.get(n))||void 0===e||e.forEach(t=>{t(n,{get width(){return g(n,i)},get height(){return y(n,i)}})})}function A(t){t.forEach(x)}function w(t,e){f||"undefined"!==typeof ResizeObserver&&(f=new ResizeObserver(A));const n=(0,p.K)(t);return n.forEach(t=>{var n;let i=m.get(t);i||(i=new Set,m.set(t,i)),i.add(e),null===(n=f)||void 0===n||n.observe(t)}),()=>{n.forEach(t=>{const n=m.get(t);var i;(null===n||void 0===n||n.delete(e),null!==n&&void 0!==n&&n.size)||(null===(i=f)||void 0===i||i.unobserve(t))})}}const T=new Set;let F;function P(t){return T.add(t),F||(F=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};
2T.forEach(e=>e(t))},window.addEventListener("resize",F)),()=>{T.delete(t),T.size||"function"!==typeof F||(window.removeEventListener("resize",F),F=void 0)}}var S=n(9712),b=n(7843);const E={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function k(t,e,n,i){const s=n[e],{length:o,position:r}=E[e],a=s.current,l=n.time;s.current=t["scroll".concat(r)],s.scrollLength=t["scroll".concat(o)]-t["client".concat(o)],s.offset.length=0,s.offset[0]=0,s.offset[1]=s.scrollLength,s.progress=(0,S.q)(0,s.scrollLength,s.current);const u=i-l;s.velocity=u>50?0:(0,b.f)(s.current-a,u)}var D=n(3971),M=n(9909),V=n(2038),C=n(9699);const R={start:0,center:.5,end:1};function B(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=0;if(t in R&&(t=R[t]),"string"===typeof t){const e=parseFloat(t);t.endsWith("px")?i=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?i=e/100*document.documentElement.clientWidth:t.endsWith("vh")?i=e/100*document.documentElement.clientHeight:t=e}return"number"===typeof t&&(i=e*t),n+i}const L=[0,0];function j(t,e,n,i){let s=Array.isArray(t)?t:L,o=0,r=0;return"number"===typeof t?s=[t,t]:"string"===typeof t&&(s=(t=t.trim()).includes(" ")?t.split(" "):[t,R[t]?t:"0"]),o=B(s[0],n,i),r=B(s[1],e),o-r}const O={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},I={x:0,y:0};function W(t,e,n){const{offset:i=O.All}=n,{target:s=t,axis:o="y"}=n,r="y"===o?"height":"width",a=s!==t?function(t,e){const n={x:0,y:0};let i=t;for(;i&&i!==e;)if((0,C.s)(i))n.x+=i.offsetLeft,n.y+=i.offsetTop,i=i.offsetParent;else if("svg"===i.tagName){const t=i.getBoundingClientRect();i=i.parentElement;const e=i.getBoundingClientRect();n.x+=t.left-e.left,n.y+=t.top-e.top}else{if(!(i instanceof SVGGraphicsElement))break;{const{x:t,y:e}=i.getBBox();n.x+=t,n.y+=e;let s=null,o=i.parentNode;for(;!s;)"svg"===o.tagName&&(s=o),o=i.parentNode;i=s}}return n}(s,t):I,l=s===t?{width:t.scrollWidth,height:t.scrollHeight}:function(t){return"getBBox"in t&&"svg"!==t.tagName?t.getBBox():{width:t.clientWidth,height:t.clientHeight}}(s),u={width:t.clientWidth,height:t.clientHeight};e[o].offset.length=0;let c=!e[o].interpolate;const h=i.length;for(let d=0;d<h;d++){const t=j(i[d],u[r],l[r],a[o]);c||t===e[o].interpolatorOffsets[d]||(c=!0),e[o].offset[d]=t}c&&(e[o].interpolate=(0,D.G)(e[o].offset,(0,M.Z)(i),{clamp:!1}),e[o].interpolatorOffsets=[...e[o].offset]),e[o].progress=(0,V.q)(0,1,e[o].interpolate(e[o].current))}function U(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{measure:e=>{!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2?arguments[2]:void 0;if(n.x.targetOffset=0,n.y.targetOffset=0,e!==t){let i=e;for(;i&&i!==t;)n.x.targetOffset+=i.offsetLeft,n.y.targetOffset+=i.offsetTop,i=i.offsetParent}n.x.targetLength=e===t?e.scrollWidth:e.clientWidth,n.y.targetLength=e===t?e.scrollHeight:e.clientHeight,n.x.containerLength=t.clientWidth,n.y.containerLength=t.clientHeight}(t,i.target,n),function(t,e,n){k(t,"x",e,n),k(t,"y",e,n),e.time=n}(t,n,e),(i.offset||i.target)&&W(t,n,i)},notify:()=>e(n)}}const G=["container"],N=new WeakMap,X=new WeakMap,q=new WeakMap,z=t=>t===document.scrollingElement?window:t;function K(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{container:n=document.scrollingElement}=e,i=(0,s.A)(e,G);if(!n)return l.l;let o=q.get(n);o||(o=new Set,q.set(n,o));const r=U(n,t,{time:0,x:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0},y:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}},i);if(o.add(r),!N.has(n)){const t=()=>{for(const t of o)t.measure(u.uv.timestamp);u.Gt.preUpdate(e)},e=()=>{for(const t of o)t.notify()},i=()=>u.Gt.read(t);N.set(n,i);const s=z(n);window.addEventListener("resize",i,{passive:!0}),n!==document.documentElement&&X.set(n,(c=i,"function"===typeof(a=n)?P(a):w(a,c))),s.addEventListener("scroll",i,{passive:!0}),i()}var a,c;const h=N.get(n);return u.Gt.read(h,!1,!0),()=>{(0,u.WG)(h);const t=q.get(n);if(!t)return;if(t.delete(r),t.size)return;const e=N.get(n);var i;(N.delete(n),e)&&(z(n).removeEventListener("scroll",e),null===(i=X.get(n))||void 0===i||i(),window.removeEventListener("resize",e))}}const Y=["source","container"],H=new Map;function Z(t){var e,n,o,r;let{source:a,container:l}=t,u=(0,s.A)(t,Y);const{axis:c}=u;a&&(l=a);const d=null!==(e=H.get(l))&&void 0!==e?e:new Map;H.set(l,d);const p=null!==(n=u.target)&&void 0!==n?n:"self",m=null!==(o=d.get(p))&&void 0!==o?o:{},f=c+(null!==(r=u.offset)&&void 0!==r?r:[]).join(",");return m[f]||(m[f]=!u.target&&(0,h.J)()?new ScrollTimeline({source:l,axis:c}):function(t){const e={value:0},n=K(n=>{e.value=100*n[t.axis].progress},t);return{currentTime:e,cancel:n}}((0,i.A)({container:l},u))),m[f]}const Q=["axis","container"];function _(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{axis:n="y",container:o=document.scrollingElement}=e,r=(0,s.A)(e,Q);if(!o)return l.l;const a=(0,i.A)({axis:n,container:o},r);return"function"===typeof t?function(t,e){return function(t){return 2===t.length}(t)?K(n=>{t(n[e.axis].progress,n)},e):c(t,Z(e))}(t,a):function(t,e){const n=Z(e);return t.attachTimeline({timeline:e.target?void 0:n,observe:t=>(t.pause(),c(e=>{t.time=t.iterationDuration*e},n))})}(t,a)}var $=n(9305),J=n(7544);const tt=["container","target"],et=()=>({scrollX:(0,o.OQ)(0),scrollY:(0,o.OQ)(0),scrollXProgress:(0,o.OQ)(0),scrollYProgress:(0,o.OQ)(0)}),nt=t=>!!t&&!t.current;function it(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{container:e,target:n}=t,o=(0,s.A)(t,tt);const l=(0,$.M)(et),u=(0,a.useRef)(null),c=(0,a.useRef)(!1),h=(0,a.useCallback)(()=>(u.current=_((t,e)=>{let{x:n,y:i}=e;l.scrollX.set(n.current),l.scrollXProgress.set(n.progress),l.scrollY.set(i.current),l.scrollYProgress.set(i.progress)},(0,i.A)((0,i.A)({},o),{},{container:(null===e||void 0===e?void 0:e.current)||void 0,target:(null===n||void 0===n?void 0:n.current)||void 0})),()=>{var t;null===(t=u.current)||void 0===t||t.call(u)}),[e,n,JSON.stringify(o.offset)]);return(0,J.E)(()=>(c.current=!1,nt(e)||nt(n)?void(c.current=!0):h()),[h]),(0,a.useEffect)(()=>c.current?((0,r.V)(!nt(e),"Container ref is defined but not hydrated","use-scroll-ref"),(0,r.V)(!nt(n),"Target ref is defined but not hydrated","use-scroll-ref"),h()):void 0,[h]
2),l}},1560(t,e,n){n.d(e,{E:()=>a});var i=n(9536),s=n(7202),o=n(3718);const r={decay:i.B,inertia:i.B,tween:s.i,keyframes:s.i,spring:o.o};function a(t){"string"===typeof t.type&&(t.type=r[t.type])}},1567(t,e,n){n.d(e,{d:()=>a});var i=n(2830),s=n(9950),o=n(2278),r=n(9305);function a(t){const e=(0,r.M)(()=>(0,i.OQ)(t)),{isStatic:n}=(0,s.useContext)(o.Q);if(n){const[,n]=(0,s.useState)(t);(0,s.useEffect)(()=>e.on("change",n),[])}return e}},1617(t,e,n){n.d(e,{V:()=>c,f:()=>m});var i=n(3548);const s=/(?:#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:-?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}-?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\))/gi;var o=n(266),r=n(6935);const a="number",l="color",u=/var[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*--(?:[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,(?:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r \(\)\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uD800-\uDFFF\uFEFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\((?:(?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|\((?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])*\))*\))+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)\)|#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:-?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}-?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\)|-?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)/gi;function c(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},o=[];let r=0;const c=e.replace(u,t=>(i.y.test(t)?(s.color.push(r),o.push(l),n.push(i.y.parse(t))):t.startsWith("var(")?(s.var.push(r),o.push("var"),n.push(t)):(s.number.push(r),o.push(a),n.push(parseFloat(t))),++r,"${}")).split("${}");return{values:n,split:c,indexes:s,types:o}}function h(t){return c(t).values}function d(t){const{split:e,types:n}=c(t),s=e.length;return t=>{let o="";for(let u=0;u<s;u++)if(o+=e[u],void 0!==t[u]){const e=n[u];o+=e===a?(0,r.a)(t[u]):e===l?i.y.transform(t[u]):t[u]}return o}}const p=t=>"number"===typeof t?0:i.y.test(t)?i.y.getAnimatableNone(t):t;const m={test:function(t){var e,n;return isNaN(t)&&"string"===typeof t&&((null===(e=t.match(o.S))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(s))||void 0===n?void 0:n.length)||0)>0},parse:h,createTransformer:d,getAnimatableNone:function(t){const e=h(t);return d(t)(e.map(p))}}},1652(t,e,n){n.d(e,{q:()=>i});const i={layout:0,mainThread:0,waapi:0}},1908(t,e,n){n.d(e,{Sz:()=>r,ZZ:()=>l,dg:()=>a});var i=n(2351),s=n(453),o=n(718);const r=(0,i.A)(.33,1.53,.69,.99),a=(0,o.G)(r),l=(0,s.V)(a)},2038(t,e,n){n.d(e,{q:()=>i});const i=(t,e,n)=>n>e?e:n<t?t:n},2167(t,e,n){n.d(e,{X4:()=>r,ai:()=>o,hs:()=>a});var i=n(2555),s=n(2038);const o={test:t=>"number"===typeof t,parse:parseFloat,transform:t=>t},r=(0,i.A)((0,i.A)({},o),{},{transform:t=>(0,s.q)(0,1,t)}),a=(0,i.A)((0,i.A)({},o),{},{default:1})},2168(t,e,n){function i(t,e,n){if(t instanceof EventTarget)return[t];if("string"===typeof t){var i;let s=document;e&&(s=e.current);const o=null!==(i=null===n||void 0===n?void 0:n[t])&&void 0!==i?i:s.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t)}n.d(e,{K:()=>i})},2278(t,e,n){n.d(e,{Q:()=>i});const i=(0,n(9950).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},2351(t,e,n){n.d(e,{A:()=>o});var i=n(9389);const s=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function o(t,e,n,o){if(t===e&&n===o)return i.l;const r=e=>function(t,e,n,i,o){let r,a,l=0;do{a=e+(n-e)/2,r=s(a,i,o)-t,r>0?n=a:e=a}while(Math.abs(r)>1e-7&&++l<12);return a}(e,0,1,t,n);return t=>0===t||1===t?t:s(r(t),e,o)}},2458(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("package-check",[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]])},2470(t,e,n){n.d(e,{X:()=>s});const i=t=>null!==t;
2function s(t,e,n){let{repeat:s,repeatType:o="loop"}=e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const a=t.filter(i),l=r<0||s&&"loop"!==o&&s%2===1?0:a.length-1;return l&&void 0!==n?n:a[l]}},2607(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},2830(t,e,n){n.d(e,{OQ:()=>u,bt:()=>a});var i=n(6732),s=n(7843),o=n(7065),r=n(1047);const a={current:void 0};class l{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{const e=o.k.now();var n;if((this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev)&&(null===(n=this.events.change)||void 0===n||n.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){var e;this.current=t,this.updatedAt=o.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}setPrevFrameValue(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new i.v);const n=this.events[t].add(e);return"change"===t?()=>{n(),r.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;null===(t=this.events.change)||void 0===t||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=o.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,s.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,e;null===(t=this.dependents)||void 0===t||t.clear(),null===(e=this.events.destroy)||void 0===e||e.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}},2834(t,e,n){n.d(e,{J:()=>i});const i=(0,n(67).p)(()=>void 0!==window.ScrollTimeline)},2936(t,e,n){n.d(e,{x:()=>s});var i=n(911);function s(t){return(0,i.G)(t)&&"ownerSVGElement"in t}},3499(t,e,n){n.d(e,{W:()=>i});const i={}},3548(t,e,n){n.d(e,{y:()=>r});var i=n(7583),s=n(6078),o=n(5970);const r={test:t=>o.B.test(t)||i.u.test(t)||s.V.test(t),parse:t=>o.B.test(t)?o.B.parse(t):s.V.test(t)?s.V.parse(t):i.u.parse(t),transform:t=>"string"===typeof t?t:t.hasOwnProperty("red")?o.B.transform(t):s.V.transform(t),getAnimatableNone:t=>{const e=r.parse(t);return e.alpha=0,r.transform(e)}}},3582(t,e,n){n.d(e,{$:()=>o,q:()=>r});var i=n(266);const s=/^(?:#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:-?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}-?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\))$/i,o=(t,e)=>n=>Boolean("string"===typeof n&&s.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),r=(t,e,n)=>s=>{if("string"!==typeof s)return s;const[o,r,a,l]=s.match(i.S);return{[t]:parseFloat(o),[e]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},3718(t,e,n){n.d(e,{o:()=>g});var i=n(2555),s=n(2038),o=n(6643),r=n(7939),a=n(456);var l=n(7829);const u={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var c=n(24);const h=.001;function d(t){let e,n,{duration:i=u.duration,bounce:r=u.bounce,velocity:a=u.velocity,mass:l=u.mass}=t;(0,c.$)(i<=(0,o.f)(u.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let d=1-r;d=(0,s.q)(u.minDamping,u.maxDamping,d),i=(0,s.q)(u.minDuration,u.maxDuration,(0,o.X)(i)),d<1?(e=t=>{const e=t*d,n=e*i,s=e-a,o=p(t,d),r=Math.exp(-n);return h-s/o*r},n=t=>{const n=t*d*i,s=n*a+a,o=Math.pow(d,2)*Math.pow(t,2)*i,r=Math.exp(-n),l=p(Math.pow(t,2),d);return(-e(t)+h>0?-1:1)*((s-o)*r)/l}):(e=t=>Math.exp(-t*i)*((t-a)*i+1)-.001,n=t=>Math.exp(-t*i)*(i*i*(a-t)));const m=function(t,e,n){let i=n;for(let s=1;s<12;s++)i-=t(i)/e(i);return i}(e,n,5/i);if(i=(0,o.f)(i),isNaN(m))return{stiffness:u.stiffness,damping:u.damping,duration:i};{const t=Math.pow(m,2)*l;return{stiffness:t,damping:2*d*Math.sqrt(l*t),duration:i}}}function p(t,e){return t*Math.sqrt(1-e*e)}const m=["duration","bounce"],f=["stiffness","damping","mass"];function v(t,e){return e.some(e=>void 0!==t[e])}function g(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.visualDuration,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.bounce;const n="object"!==typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:c,restDelta:h}=n;const g=n.keyframes[0],y=n.keyframes[n.keyframes.length-1],x={done:!1,value:g},{stiffness:A,damping:w,mass:T,duration:F,velocity:P,isResolvedFromDuration:S}=function(t){let e=(0,i.A)({velocity:u.velocity,stiffness:u.stiffness,damping:u.damping,mass:u.mass,isResolvedFromDuration:!1},t);if(!v(t,f)&&v(t,m))if(t.visualDuration){const n=t.visualDuration,o=2*Math.PI/(1.2*n),r=o*o,a=2*(0,s.q)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e=(0,i.A)((0,i.A)({},e),{},{mass:u.mass,stiffness:r,damping:a})}else{const n=d(t);e=(0,i.A)((0,i.A)((0,i.A)({},e),n),{},{mass:u.mass}),e.isResolvedFromDuration=!0}return e}((0,i.A)((0,i.A)({},n),{},{velocity:-(0,o.X)(n.velocity||0)}
2)),b=P||0,E=w/(2*Math.sqrt(A*T)),k=y-g,D=(0,o.X)(Math.sqrt(A/T)),M=Math.abs(k)<5;let V;if(c||(c=M?u.restSpeed.granular:u.restSpeed.default),h||(h=M?u.restDelta.granular:u.restDelta.default),E<1){const t=p(D,E);V=e=>{const n=Math.exp(-E*D*e);return y-n*((b+E*D*k)/t*Math.sin(t*e)+k*Math.cos(t*e))}}else if(1===E)V=t=>y-Math.exp(-D*t)*(k+(b+D*k)*t);else{const t=D*Math.sqrt(E*E-1);V=e=>{const n=Math.exp(-E*D*e),i=Math.min(t*e,300);return y-n*((b+E*D*k)*Math.sinh(i)+t*k*Math.cosh(i))/t}}const C={calculatedDuration:S&&F||null,next:t=>{const e=V(t);if(S)x.done=t>=F;else{let n=0===t?b:0;E<1&&(n=0===t?(0,o.f)(b):(0,l.Y)(V,t,e));const i=Math.abs(n)<=c,s=Math.abs(y-e)<=h;x.done=i&&s}return x.value=x.done?y:e,x},toString:()=>{const t=Math.min((0,a.t)(C),a.Y),e=(0,r.K)(e=>C.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return C}g.applyToOptions=t=>{const e=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;const n=(arguments.length>2?arguments[2]:void 0)((0,i.A)((0,i.A)({},t),{},{keyframes:[0,e]})),s=Math.min((0,a.t)(n),a.Y);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:(0,o.X)(s)}}(t,100,g);return t.ease=e.ease,t.duration=(0,o.f)(e.duration),t.type="keyframes",t}},3971(t,e,n){n.d(e,{G:()=>c});var i=n(2038),s=n(24),o=n(3499),r=n(9389),a=n(8673),l=n(9712),u=n(4707);function c(t,e){let{clamp:n=!0,ease:c,mixer:h}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const d=t.length;if((0,s.V)(d===e.length,"Both input and output ranges must be the same length","range-length"),1===d)return()=>e[0];if(2===d&&e[0]===e[1])return()=>e[1];const p=t[0]===t[1];t[0]>t[d-1]&&(t=[...t].reverse(),e=[...e].reverse());const m=function(t,e,n){const i=[],s=n||o.W.mix||u.j,l=t.length-1;for(let o=0;o<l;o++){let n=s(t[o],t[o+1]);if(e){const t=Array.isArray(e)?e[o]||r.l:e;n=(0,a.F)(t,n)}i.push(n)}return i}(e,c,h),f=m.length,v=n=>{if(p&&n<t[0])return e[0];let i=0;if(f>1)for(;i<t.length-2&&!(n<t[i+1]);i++);const s=(0,l.q)(t[i],t[i+1],n);return m[i](s)};return n?e=>v((0,i.q)(t[0],t[d-1],e)):v}},4119(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("type",[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]])},4622(t,e,n){n.d(e,{z:()=>m});var i=n(7799),s=n(2555),o=n(1372),r=n(1047);function a(t,e,n){const a=t.get();let c,h=null,d=a;const p="string"===typeof a?a.replace(/[\d.-]/g,""):void 0,m=()=>{h&&(h.stop(),h=null)},f=()=>{m(),h=new o.s((0,s.A)((0,s.A)({keyframes:[u(t.get()),u(d)],velocity:t.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01},n),{},{onUpdate:c}))};if(t.attach((t,e)=>{d=t,c=t=>e(l(t,p)),r.Gt.postRender(f)},m),(0,i.S)(e)){const n=e.on("change",e=>t.set(l(e,p))),i=t.on("destroy",n);return()=>{n(),i()}}return m}function l(t,e){return e?t+e:t}function u(t){return"number"===typeof t?t:parseFloat(t)}var c=n(9950),h=n(2278),d=n(1567),p=n(1066);function m(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{isStatic:n}=(0,c.useContext)(h.Q),s=()=>(0,i.S)(t)?t.get():t;if(n)return(0,p.G)(s);const o=(0,d.d)(s());return(0,c.useInsertionEffect)(()=>a(o,t,e),[o,JSON.stringify(e)]),o}},4664(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]])},4707(t,e,n){n.d(e,{j:()=>S});var i=n(2555),s=n(8673),o=n(24),r=n(5294),a=n(3548),l=n(1617),u=n(7583),c=n(6078);function h(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var d=n(5970);function p(t,e){return n=>n>0?e:t}var m=n(6240);const f=(t,e,n)=>{const i=t*t,s=n*(e*e-i)+i;return s<0?0:Math.sqrt(s)},v=[u.u,d.B,c.V];function g(t){const e=(n=t,v.find(t=>t.test(n)));var n;if((0,o.$)(Boolean(e),"'".concat(t,"' is not an animatable color. Use the equivalent color code instead."),"color-not-animatable"),!Boolean(e))return!1;let i=e.parse(t);return e===c.V&&(i=function(t){let{hue:e,saturation:n,lightness:i,alpha:s}=t;e/=360,n/=100,i/=100;let o=0,r=0,a=0;if(n){const t=i<.5?i*(1+n):i+n-i*n,s=2*i-t;o=h(s,t,e+1/3),r=h(s,t,e),a=h(s,t,e-1/3)}else o=r=a=i;return{red:Math.round(255*o),green:Math.round(255*r),blue:Math.round(255*a),alpha:s}}(i)),i}const y=(t,e)=>{const n=g(t),s=g(e);if(!n||!s)return p(t,e);const o=(0,i.A)({},n);return t=>(o.red=f(n.red,s.red,t),o.green=f(n.green,s.green,t),o.blue=f(n.blue,s.blue,t),o.alpha=(0,m.k)(n.alpha,s.alpha,t),d.B.transform(o))},x=new Set(["none","hidden"]);function A(t,e){return n=>(0,m.k)(t,e,n)}function w(t){return"number"===typeof t?A:"string"===typeof t?(0,r.p)(t)?p:a.y.test(t)?y:P:Array.isArray(t)?T:"object"===typeof t?a.y.test(t)?y:F:p}function T(t,e){const n=[...t],i=n.length,s=t.map((t,n)=>w(t)(t,e[n]));return t=>{for(let e=0;e<i;e++)n[e]=s[e](t);return n}}function F(t,e){const n=(0,i.A)((0,i.A)({},t),e),s={};for(const i in n)void 0!==t[i]&&void 0!==e[i]&&(s[i]=w(t[i])(t[i],e[i]));return t=>{for(const e in s)n[e]=s[e](t);return n}}const P=(t,e)=>{const n=l.f.createTransformer(e),i=(0,l.V)(t),r=(0,l.V)(e);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?x.has(t)&&!r.values.length||x.has(e)&&!i.values.length?function(t,e){return x.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):(0,s.F)(T(function(t,e){const n=[],i={color:0,var:0,number:0};for(let o=0;o<e.values.length;o++){var s;const r=e.types[o],a=t.indexes[r][i[r]],l=null!==(s=t.values[a])&&void 0!==s?s:0;n[o]=l,i[r]++}return n}(i,r),r.values),n):((0,o.$)(!0,"Complex values '".concat(t,"' and '").concat(e,"' too different to mix. Ensure all c
2olors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition."),"complex-values-different"),p(t,e))};function S(t,e,n){if("number"===typeof t&&"number"===typeof e&&"number"===typeof n)return(0,m.k)(t,e,n);return w(t)(t,e)}},4754(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]])},4969(t,e,n){n.d(e,{b:()=>s});var i=n(1908);const s=t=>(t*=2)<1?.5*(0,i.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},5294(t,e,n){n.d(e,{j:()=>s,p:()=>r});const i=t=>e=>"string"===typeof e&&e.startsWith(t),s=i("--"),o=i("var(--"),r=t=>!!o(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,(?:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r \(\)\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uD800-\uDFFF\uFEFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\((?:(?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|\((?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])*\))*\))+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)\)$/i}
2,5403(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]])},5462(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},5554(t,e,n){n.d(e,{Q:()=>i});const i={value:null,addProjectionMetrics:null}},5716(t,e,n){n.d(e,{I:()=>r});var i=n(3499);const s=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var o=n(5554);function r(t,e){let n=!1,r=!0;const a={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,u=s.reduce((t,n)=>(t[n]=function(t,e){let n=new Set,i=new Set,s=!1,r=!1;const a=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},u=0;function c(e){a.has(e)&&(h.schedule(e),t()),u++,e(l)}const h={schedule:function(t){const e=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&s?n:i;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(t),e.has(t)||e.add(t),t},cancel:t=>{i.delete(t),a.delete(t)},process:t=>
2{l=t,s?r=!0:(s=!0,[n,i]=[i,n],n.forEach(c),e&&o.Q.value&&o.Q.value.frameloop[e].push(u),u=0,n.clear(),s=!1,r&&(r=!1,h.process(t)))}};return h}(l,e?n:void 0),t),{}),{setup:c,read:h,resolveKeyframes:d,preUpdate:p,update:m,preRender:f,render:v,postRender:g}=u,y=()=>{const s=i.W.useManualTiming?a.timestamp:performance.now();n=!1,i.W.useManualTiming||(a.delta=r?1e3/60:Math.max(Math.min(s-a.timestamp,40),1)),a.timestamp=s,a.isProcessing=!0,c.process(a),h.process(a),d.process(a),p.process(a),m.process(a),f.process(a),v.process(a),g.process(a),a.isProcessing=!1,n&&e&&(r=!1,t(y))},x=s.reduce((e,i)=>{const s=u[i];return e[i]=function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n||(n=!0,r=!0,a.isProcessing||t(y)),s.schedule(e,i,o)},e},{});return{schedule:x,cancel:t=>{for(let e=0;e<s.length;e++)u[s[e]].cancel(t)},state:a,steps:u}}},5939(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]])},5970(t,e,n){n.d(e,{B:()=>u});var i=n(2555),s=n(2038),o=n(2167),r=n(6935),a=n(3582);const l=(0,i.A)((0,i.A)({},o.ai),{},{transform:t=>Math.round((t=>(0,s.q)(0,255,t))(t))}),u={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:t=>{let{red:e,green:n,blue:i,alpha:s=1}=t;return"rgba("+l.transform(e)+", "+l.transform(n)+", "+l.transform(i)+", "+(0,r.a)(o.X4.transform(s))+")"}}},6078(t,e,n){n.d(e,{V:()=>a});var i=n(2167),s=n(1098),o=n(6935),r=n(3582);const a={test:(0,r.$)("hsl","hue"),parse:(0,r.q)("hue","saturation","lightness"),transform:t=>{let{hue:e,saturation:n,lightness:r,alpha:a=1}=t;return"hsla("+Math.round(e)+", "+s.KN.transform((0,o.a)(n))+", "+s.KN.transform((0,o.a)(r))+", "+(0,o.a)(i.X4.transform(a))+")"}}},6240(t,e,n){n.d(e,{k:()=>i});const i=(t,e,n)=>t+(e-t)*n},6544(t,e,n){function i(t,e){-1===t.indexOf(e)&&t.push(e)}function s(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{Ai:()=>s,Kq:()=>i})},6643(t,e,n){n.d(e,{X:()=>s,f:()=>i});const i=t=>1e3*t,s=t=>t/1e3},6732(t,e,n){n.d(e,{v:()=>s});var i=n(6544);class s{constructor(){this.subscriptions=[]}add(t){return(0,i.Kq)(this.subscriptions,t),()=>(0,i.Ai)(this.subscriptions,t)}notify(t,e,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let s=0;s<i;s++){const i=this.subscriptions[s];i&&i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},6789(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("move-up-right",[["path",{d:"M13 5H19V11",key:"1n1gyv"}],["path",{d:"M19 5L5 19",key:"72u4yj"}]])},6935(t,e,n){n.d(e,{a:()=>i});const i=t=>Math.round(1e5*t)/1e5},7065(t,e,n){n.d(e,{k:()=>a});var i=n(3499),s=n(1047);let o;function r(){o=void 0}const a={now:()=>(void 0===o&&a.set(s.uv.isProcessing||i.W.useManualTiming?s.uv.timestamp:performance.now()),o),set:t=>{o=t,queueMicrotask(r)}}},7202(t,e,n){n.d(e,{i:()=>g});var i=n(2351);
2const s=(0,i.A)(.42,0,1,1),o=(0,i.A)(0,0,.58,1),r=(0,i.A)(.42,0,.58,1);var a=n(24),l=n(9389),u=n(4969),c=n(1908),h=n(584),d=n(9925);const p={linear:l.l,easeIn:s,easeInOut:r,easeOut:o,circIn:h.po,circInOut:h.tn,circOut:h.yT,backIn:c.dg,backInOut:c.ZZ,backOut:c.Sz,anticipate:u.b},m=t=>{if((0,d.D)(t)){(0,a.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[e,n,s,o]=t;return(0,i.A)(e,n,s,o)}return"string"===typeof t?((0,a.V)(void 0!==p[t],"Invalid easing type '".concat(t,"'"),"invalid-easing-type"),p[t]):t};var f=n(3971),v=n(9909);function g(t){let{duration:e=300,keyframes:n,times:i,ease:s="easeInOut"}=t;const o=(t=>Array.isArray(t)&&"number"!==typeof t[0])(s)?s.map(m):m(s),a={done:!1,value:n[0]},l=function(t,e){return t.map(t=>t*e)}(i&&i.length===n.length?i:(0,v.Z)(n),e),u=(0,f.G)(l,n,{ease:Array.isArray(o)?o:(c=n,h=o,c.map(()=>h||r).splice(0,c.length-1))});var c,h;return{calculatedDuration:e,next:t=>(a.value=u(t),a.done=t>=e,a)}}},7255(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},7304(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
2],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},7544(t,e,n){n.d(e,{E:()=>s});var i=n(9950);const s=n(7584).B?i.useLayoutEffect:i.useEffect},7583(t,e,n){n.d(e,{u:()=>s});var i=n(5970);const s={test:(0,n(3582).$)("#"),parse:function(t){let e="",n="",i="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,i+=i,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}},transform:i.B.transform}},7584(t,e,n){n.d(e,{B:()=>i});const i="undefined"!==typeof window},7799(t,e,n){n.d(e,{S:()=>i});const i=t=>Boolean(t&&t.getVelocity)},7829(t,e,n){n.d(e,{Y:()=>s});var i=n(7843);function s(t,e,n){const s=Math.max(e-5,0);return(0,i.f)(n-t(s),e-s)}},7843(t,e,n){function i(t,e){return e?t*(1e3/e):0}n.d(e,{f:()=>i})},7870(t,e,n){n.d(e,{P:()=>Co});var i=n(9950);const s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=(()=>new Set(s))(),r=t=>180*t/Math.PI,a=t=>{const e=r(Math.atan2(t[1],t[0]));return u(e)},l={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:a,rotateZ:a,skewX:t=>r(Math.atan(t[1])),skewY:t=>r(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},u=t=>((t%=360)<0&&(t+=360),t),c=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),h=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),d={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:c,scaleY:h,scale:t=>(c(t)+h(t))/2,rotateX:t=>u(r(Math.atan2(t[6],t[5]))),rotateY:t=>u(r(Math.atan2(-t[2],t[0]))),rotateZ:a,rotate:a,skewX:t=>r(Math.atan(t[4])),skewY:t=>r(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function p(t){return t.includes("scale")?1:0}function m(t,e){if(!t||"none"===t)return p(e);const n=t.match(/^matrix3d\(([\t-\r ,-\.0-9e\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+)\)$/);let i,s;if(n)i=d,s=n;else{const e=t.match(/^matrix\(([\t-\r ,-\.0-9e\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+)\)$/);i=l,s=e}if(!s)return p(e);const o=i[e],r=s[1].split(",").map(f);return"function"===typeof o?o(r):r[o]}function f(t){return parseFloat(t.trim())}var v=n(5294);function g(t){let{top:e,left:n,right:i,bottom:s}=t;return{x:{min:n,max:i},y:{min:e,max:s}}}var y=n(6240);function x(t){return void 0===t||1===t}function A(t){let{scale:e,scaleX:n,scaleY:i}=t;return!x(e)||!x(n)||!x(i)}function w(t){return A(t)||T(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function T(t){return F(t.x)||F(t.y)}function F(t){return t&&"0%"!==t}function P(t,e,n){return n+e*(t-n)}function S(t,e,n,i,s){return void 0!==s&&(t=P(t,s,i)),P(t,n,i)+e}function b(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;t.min=S(t.min,e,n,i,s),t.max=S(t.max,e,n,i,s)}function E(t,e){let{x:n,y:i}=e;b(t.x,n.translate,n.scale,n.originPoint),b(t.y,i.translate,i.scale,i.originPoint)}const k=.999999999999,D=1.0000000000001;function M(t,e){t.min=t.min+e,t.max=t.max+e}function V(t,e,n,i){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5;b(t,e,n,(0,y.k)(t.min,t.max,s),i)}function C(t,e){V(t.x,e.x,e.scaleX,e.scale,e.originX),V(t.y,e.y,e.scaleY,e.scale,e.originY)}function R(t,e){return g(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}const B=new Set(["width","height","top","left","right","bottom",...s]);var L=n(2167),j=n(1098);const O=t=>e=>e.test(t),I=[L.ai,j.px,j.KN,j.uj,j.vw,j.vh,{test:t=>"auto"===t,parse:t=>t}],W=t=>I.find(O(t));var U=n(24);const G=t=>/^-?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)$/.test(t),N=/^var\(--(?:([\x2D0-9A-Z_a-z]+)|([\x2D0-9A-Z_a-z]+), ?([ #%\(\),-\.0-9A-Za-z]+))\)/;function X(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,U.V)(n<=4,'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.'),"max-css-var-depth");const[i,s]=function(t){const e=N.exec(t);if(!e)return[,];const[,n,i,s]=e;return["--".concat(null!==n&&void 0!==n?n:i),s]}(t);if(!i)return;const o=window.getComputedStyle(e).getPropertyValue(i);if(o){const t=o.trim();return G(t)?parseFloat(t):t}return(0,v.p)(s)?X(s,e,n+1):s}const q=t=>t===L.ai||t===j.px,z=new Set(["x","y","z"]),K=s.filter(t=>!z.has(t));const Y={width:(t,e)=>{let{x:n}=t,{paddingLeft:i="0",paddingRight:s="0"}=e;return n.max-n.min-parseFloat(i)-parseFloat(s)},height:(t,e)=>{let{y:n}=t,{paddingTop:i="0",paddingBottom:s="0"}=e;return n.max-n.min-parseFloat(i)-parseFloat(s)},top:(t,e)=>{let{top:n}=e;return parseFloat(n)},left:(t,e)=>{let{left:n}=e;return parseFloat(n)},bottom:(t,e)=>{let{y:n}=t,{top:i}=e;return parseFloat(i)+(n.max-n.min)},right:(t,e)=>{let{x:n}=t,{left:i}=e;return parseFloat(i)+(n.max-n.min)},x:(t,e)=>{let{transform:n}=e;return m(n,"x")},y:(t,e)=>{let{transform:n}=e;return m(n,"y")}};Y.translateX=Y.x,Y.translateY=Y.y;var H=n(1047);const Z=new Set;let Q=!1,_=!1,$=!1;function J(){if(_){const t=Array.from(Z).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{const e=function(t){const e=[];
2return K.forEach(n=>{const i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();const e=n.get(t);e&&e.forEach(e=>{var n;let[i,s]=e;null===(n=t.getValue(i))||void 0===n||n.set(s)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}_=!1,Q=!1,Z.forEach(t=>t.complete($)),Z.clear()}function tt(){Z.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(_=!0)})}class et{constructor(t,e,n,i,s){let o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Z.add(this),Q||(Q=!0,H.Gt.read(tt),H.Gt.resolveKeyframes(J))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;if(null===t[0]){const s=null===i||void 0===i?void 0:i.get(),o=t[t.length-1];if(void 0!==s)t[0]=s;else if(n&&e){const i=n.readValue(e,o);void 0!==i&&null!==i&&(t[0]=i)}void 0===t[0]&&(t[0]=o),i&&void 0===s&&i.set(t[0])}!function(t){for(let n=1;n<t.length;n++){var e;null!==(e=t[n])&&void 0!==e||(t[n]=t[n-1])}}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Z.delete(this)}cancel(){"scheduled"===this.state&&(Z.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}const nt=t=>/^0(?:[\0-\x08\x0E-\x1F!-\x2D\/-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+$/.test(t);function it(t){return"number"===typeof t?0===t:null===t||("none"===t||"0"===t||nt(t))}var st=n(1617),ot=n(2555),rt=n(266);const at=new Set(["brightness","contrast","saturate","opacity"]);function lt(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[i]=n.match(rt.S)||[];if(!i)return t;const s=n.replace(i,"");let o=at.has(e)?1:0;return i!==n&&(o*=100),e+"("+o+s+")"}const ut=/\b([\x2Da-z]*)\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\)/g,ct=(0,ot.A)((0,ot.A)({},st.f),{},{getAnimatableNone:t=>{const e=t.match(ut);return e?e.map(lt).join(" "):t}});var ht=n(3548);const dt=(0,ot.A)((0,ot.A)({},L.ai),{},{transform:Math.round}),pt={rotate:j.uj,rotateX:j.uj,rotateY:j.uj,rotateZ:j.uj,scale:L.hs,scaleX:L.hs,scaleY:L.hs,scaleZ:L.hs,skew:j.uj,skewX:j.uj,skewY:j.uj,distance:j.px,translateX:j.px,translateY:j.px,translateZ:j.px,x:j.px,y:j.px,z:j.px,perspective:j.px,transformPerspective:j.px,opacity:L.X4,originX:j.gQ,originY:j.gQ,originZ:j.px},mt=(0,ot.A)((0,ot.A)({borderWidth:j.px,borderTopWidth:j.px,borderRightWidth:j.px,borderBottomWidth:j.px,borderLeftWidth:j.px,borderRadius:j.px,radius:j.px,borderTopLeftRadius:j.px,borderTopRightRadius:j.px,borderBottomRightRadius:j.px,borderBottomLeftRadius:j.px,width:j.px,maxWidth:j.px,height:j.px,maxHeight:j.px,top:j.px,right:j.px,bottom:j.px,left:j.px,padding:j.px,paddingTop:j.px,paddingRight:j.px,paddingBottom:j.px,paddingLeft:j.px,margin:j.px,marginTop:j.px,marginRight:j.px,marginBottom:j.px,marginLeft:j.px,backgroundPositionX:j.px,backgroundPositionY:j.px},pt),{},{zIndex:dt,fillOpacity:L.X4,strokeOpacity:L.X4,numOctaves:dt}),ft=(0,ot.A)((0,ot.A)({},mt),{},{color:ht.y,backgroundColor:ht.y,outlineColor:ht.y,fill:ht.y,stroke:ht.y,borderColor:ht.y,borderTopColor:ht.y,borderRightColor:ht.y,borderBottomColor:ht.y,borderLeftColor:ht.y,filter:ct,WebkitFilter:ct}),vt=t=>ft[t];function gt(t,e){let n=vt(t);return n!==ct&&(n=st.f),n.getAnimatableNone?n.getAnimatableNone(e):void 0}
2const yt=new Set(["auto","none","0"]);class xt extends et{constructor(t,e,n,i,s){super(t,e,n,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let a=0;a<t.length;a++){let n=t[a];if("string"===typeof n&&(n=n.trim(),(0,v.p)(n))){const i=X(n,e.current);void 0!==i&&(t[a]=i),a===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!B.has(n)||2!==t.length)return;const[i,s]=t,o=W(i),r=W(s);if(o!==r)if(q(o)&&q(r))for(let a=0;a<t.length;a++){const e=t[a];"string"===typeof e&&(t[a]=parseFloat(e))}else Y[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let i=0;i<t.length;i++)(null===t[i]||it(t[i]))&&n.push(i);n.length&&function(t,e,n){let i,s=0;for(;s<t.length&&!i;){const e=t[s];"string"===typeof e&&!yt.has(e)&&(0,st.V)(e).values.length&&(i=t[s]),s++}if(i&&n)for(const o of e)t[o]=gt(n,i)}(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Y[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){var t;const{element:e,name:n,unresolvedKeyframes:i}=this;if(!e||!e.current)return;const s=e.getValue(n);s&&s.jump(this.measuredOrigin,!1);const o=i.length-1,r=i[o];i[o]=Y[n](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),null!==(t=this.removedTransforms)&&void 0!==t&&t.length&&this.removedTransforms.forEac
2h(t=>{let[n,i]=t;e.getValue(n).set(i)}),this.resolveNoneKeyframes()}}var At=n(7799),wt=n(3986),Tt=n(7065),Ft=n(2830);const Pt=[...I,ht.y,st.f];var St=n(5716);const{schedule:bt,cancel:Et}=(0,St.I)(queueMicrotask,!1);var kt=n(6732);const Dt={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"]},Mt={};for(const Bo in Dt)Mt[Bo]={isEnabled:t=>Dt[Bo].some(e=>!!t[e])};const Vt=()=>({x:{min:0,max:0},y:{min:0,max:0}});var Ct=n(695),Rt=n(8388);const Bt=new WeakMap;function Lt(t){return null!==t&&"object"===typeof t&&"function"===typeof t.start}function jt(t){return"string"===typeof t||Array.isArray(t)}const Ot=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],It=["initial",...Ot];function Wt(t){return Lt(t.animate)||It.some(e=>jt(t[e]))}function Ut(t){return Boolean(Wt(t)||t.variants)}function Gt(t){const e=[{},{}];return null===t||void 0===t||t.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function Nt(t,e,n,i){if("function"===typeof e){const[s,o]=Gt(i);e=e(void 0!==n?n:t.custom,s,o)}if("string"===typeof e&&(e=t.variants&&t.variants[e]),"function"===typeof e){const[s,o]=Gt(i);e=e(void 0!==n?n:t.custom,s,o)}return e}const Xt=["willChange"],qt=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class zt{scrapeMotionValuesFromProps(t,e,n){return{}}constructor(t){let{parent:e,props:n,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:o,visualState:r}=t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=et,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=()=>{const t=Tt.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,H.Gt.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=r;this.latestValues=l,this.baseTarget=(0,ot.A)({},l),this.initialValues=n.initial?(0,ot.A)({},l):{},this.renderState=u,this.parent=e,this.props=n,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=s,this.options=a,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=Wt(n),this.isVariantNode=Ut(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const c=this.scrapeMotionValuesFromProps(n,{},this),{willChange:h}=c,d=(0,wt.A)(c,Xt);
2for(const p in d){const t=d[p];void 0!==l[p]&&(0,At.S)(t)&&t.set(l[p])}}mount(t){var e;this.current=t,Bt.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)),Rt.r.current||(0,Ct.U)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Rt.O.current),null===(e=this.parent)||void 0===e||e.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;this.projection&&this.projection.unmount(),(0,H.WG)(this.notifyUpdate),(0,H.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),null===(t=this.parent)||void 0===t||t.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(t){var e;this.children.add(t),null!==(e=this.enteringChildren)&&void 0!==e||(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const n=o.has(t);n&&this.onBindTransform&&this.onBindTransform();const i=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&H.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{i(),s&&s(),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 Mt){const e=Mt[t];if(!e)continue;const{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){const e=this.features[t];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):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;n<qt.length;n++){const e=qt[n];this.propEventSubscriptions[e]&&(this.propEventSubscriptions[e](),delete this.propEventSubscriptions[e]);const i=t["on"+e];i&&(this.propEventSubscriptions[e]=this.on(e,i))}this.prevMotionValues=function(t,e,n){for(const i in e){const s=e[i],o=n[i];if((0,At.S)(s))t.addValue(i,s);else if((0,At.S)(o))t.addValue(i,(0,Ft.OQ)(s,{owner:t}));else if(o!==s)if(t.hasValue(i)){const e=t.getValue(i);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{const e=t.getStaticValue(i);t.addValue(i,(0,Ft.OQ)(void 0!==e?e:s,{owner:t}))}}for(const i in n)void 0===e[i]&&t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,Ft.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){var n;let i=void 0===this.latestValues[t]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,t))&&void 0!==n?n:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];var s;return void 0!==i&&null!==i&&("string"===typeof i&&(G(i)||nt(i))?i=parseFloat(i):(s=i,!Pt.find(O(s))&&st.f.test(e)&&(i=gt(t,e))),this.setBaseTarget(t,(0,At.S)(i)?i.get():i)),(0,At.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){const{initial:e}=this.props;let n;if("string"===typeof e||"object"===typeof e){var i;const s=Nt(this.props,e,null===(i=this.presenceContext)||void 0===i?void 0:i.custom);s&&(n=s[t])}if(e&&void 0!==n)return n;const s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,At.S)(s)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new kt.v),this.events[t].add(e)}notify(t){if(this.events[t]){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];this.events[t].notify(...n)}}scheduleRenderMicrotask(){bt.render(this.render)}}class Kt extends zt{constructor(){super(...arguments),this.KeyframeResolver=xt}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,e){let{vars:n,style:i}=e;delete n[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;(0,At.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent="".concat(t))}))}}const Yt=(t,e)=>e&&"number"===typeof t?e.transform(t):t,Ht={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Zt=s.length;function Qt(t,e,n){const{style:i,vars:r,transformOrigin:a}=t;let l=!1,u=!1;for(const s in e){const t=e[s];if(o.has(s))l=!0;else if((0,v.j)(s))r[s]=t;else{const e=Yt(t,mt[s]);s.startsWith("origin")?(u=!0,a[s]=e):i[s]=e}}if(e.transform||(l||n?i.transform=function(t,e,n){let i="",o=!0;for(let r=0;r<Zt;r++){const a=s[r],l=t[a];if(void 0===l)continue;let u=!0;if(u="number"===typeof l?l===(a.startsWith("scale")?1:0):0===parseFloat(l),!u||n){const t=Yt(l,mt[a]);u||(o=!1,i+="".concat(Ht[a]||a,"(").concat(t,") ")),n&&(e[a]=t)}}return i=i.trim(),n?i=n(e,o?"":i):o&&(i="none"),i}(e,t.transform,n):i.transform&&(i.transform="none")),u){const{originX:t="50%",originY:e="50%",originZ:n=0}=a;i.transformOrigin="".concat(t," ").concat(e," ").concat(n)}}function _t(t,e,n,i){let{style:s,vars:o}=e;const r=t.style;let a;for(a in s)r[a]=s[a];for(a in null===i||void 0===i||i.applyProjectionStyles(r,n),o)r.setProperty(a,o[a])}function $t(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Jt={correct:(t,e)=>{if(!e.target)return t;if("string"===typeof t){if(!j.px.test(t))return t;t=parseFloat(t)}const n=$t(t,e.target.x),i=$t(t,e.target.y);return"".concat(n,"% ").concat(i,"%")}},te={correct:(t,e)=>{let{treeScale:n,projectionDelta:i}=e;const s=t,o=st.f.parse(t);if(o.length>5)return s;const r=st.f.createTransformer(t),a="number"!==typeof o[0]?1:0,l=i.x.scale*n.x,u=i.y.scale*n.y;o[0+a]/=l,o[1+a]/=u;const c=(0,y.k)(l,u,.5);return"number"===typeof o[2+a]&&(o[2+a]/=c),"number"===typeof o[3+a]&&(o[3+a]/=c),r(o)}},ee={borderRadius:(0,ot.A)((0,ot.A)({},Jt),{},{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Jt,borderTopRightRadius:Jt,borderBottomLeftRadius:Jt,borderBottomRightRadius:Jt,boxShadow:te};function ne(t,e){let{layout:n,layoutId:i}=e;return o.has(t)||t.startsWith("origin")||(n||void 0!==i)&&(!!ee[t]||"opacity"===t)}function ie(t,e,n){const{style:i}=t,s={};for(const r in i){var o;((0,At.S)(i[r])||e.style&&(0,At.S)(e.style[r])||ne(r,t)||void 0!==(null===n||void 0===n||null===(o=n.getValue(r))||void 0===o?void 0:o.liveStyle))&&(s[r]=i[r])}return s}class se extends Kt{constructor(){super(...arguments),this.type="html",this.renderInstance=_t}readValueFromInstance(t,e){var n,i;if(o.has(e))return null!==(n=this.projection)&&void 0!==n&&n.isProjecting?p(e):((t,e)=>{const{transform:n="none"}=getComputedStyle(t);return m(n,e)})(t,e);{const n=(i=t,window.getComputedStyle(i)),s=((0,v.j)(e)?n.getPropertyValue(e):n[e])||0;return"string"===typeof s?s.trim():s}}measureInstanceViewportBox(t,e){let{transformPagePoint:n}=e;return R(t,n)}build(t,e,n){Qt(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return ie(t,e,n)}}const oe=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),re={offset:"stroke-dashoffset",array:"stroke-dasharray"},ae={offset:"strokeDashoffset",array:"strokeDasharray"};const le=["attrX","attrY","attrScale","pathLength","pathSpacing","pathOffset"];function ue(t,e,n,i,s){let{attrX:o,attrY:r,attrScale:a,pathLength:l,pathSpacing:u=1,pathOffset:c=0}=e;if(Qt(t,(0,wt.A)(e,le),i),n)return void(t.style.viewBox&&(t.attrs.viewB
2ox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:h,style:d}=t;var p,m;(h.transform&&(d.transform=h.transform,delete h.transform),d.transform||h.transformOrigin)&&(d.transformOrigin=null!==(p=h.transformOrigin)&&void 0!==p?p:"50% 50%",delete h.transformOrigin);d.transform&&(d.transformBox=null!==(m=null===s||void 0===s?void 0:s.transformBox)&&void 0!==m?m:"fill-box",delete h.transformBox);void 0!==o&&(h.x=o),void 0!==r&&(h.y=r),void 0!==a&&(h.scale=a),void 0!==l&&function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];t.pathLength=1;const o=s?re:ae;t[o.offset]=j.px.transform(-i);const r=j.px.transform(e),a=j.px.transform(n);t[o.array]="".concat(r," ").concat(a)}(h,l,u,c,!1)}const ce=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"]),he=t=>"string"===typeof t&&"svg"===t.toLowerCase();function de(t,e,n){const i=ie(t,e,n);for(const o in t)if((0,At.S)(t[o])||(0,At.S)(e[o])){i[-1!==s.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=t[o]}return i}class pe extends Kt{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Vt}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(o.has(e)){const t=vt(e);return t&&t.default||0}return e=ce.has(e)?e:oe(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return de(t,e,n)}
2build(t,e,n){ue(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,i){!function(t,e,n,i){_t(t,e,void 0,i);for(const s in e.attrs)t.setAttribute(ce.has(s)?s:oe(s),e.attrs[s])}(t,e,0,i)}mount(t){this.isSVGTag=he(t.tagName),super.mount(t)}}const me=["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 fe(t){return"string"===typeof t&&!t.includes("-")&&!!(me.indexOf(t)>-1||/[A-Z]/.test(t))}const ve=(t,e)=>fe(t)?new pe(e):new se(e,{allowProjection:t!==i.Fragment});var ge=n(4414);const ye=(0,i.createContext)({}),xe=(0,i.createContext)({strict:!1});var Ae=n(2278);const we=(0,i.createContext)({});function Te(t){const{initial:e,animate:n}=function(t,e){if(Wt(t)){const{initial:e,animate:n}=t;return{initial:!1===e||jt(e)?e:void 0,animate:jt(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(we));return(0,i.useMemo)(()=>({initial:e,animate:n}),[Fe(e),Fe(n)])}function Fe(t){return Array.isArray(t)?t.join(" "):t}const Pe=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Se(t,e,n){for(const i in e)(0,At.S)(e[i])||ne(i,n)||(t[i]=e[i])}function be(t,e){const n={};return Se(n,t.style||{},t),Object.assign(n,function(t,e){let{transformTemplate:n}=t;return(0,i.useMemo)(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return Qt(t,e,n),Object.assign({},t.vars,t.style)},[e])}(t,e)),n}function Ee(t,e){const n={},i=be(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}const ke=()=>(0,ot.A)((0,ot.A)({},{style:{},transform:{},transformOrigin:{},vars:{}}),{},{attrs:{}});function De(t,e,n,s){const o=(0,i.useMemo)(()=>{const n=ke();return ue(n,e,he(s),t.transformTemplate,t.style),(0,ot.A)((0,ot.A)({},n.attrs),{},{style:(0,ot.A)({},n.style)})},[e]);if(t.style){const e={};Se(e,t.style,t),o.style=(0,ot.A)((0,ot.A)({},e),o.style)}return o}const Me=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 Ve(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Me.has(t)}let Ce=t=>!Ve(t);try{"function"===typeof(Re=require("@emotion/is-prop-valid").default)&&(Ce=t=>t.startsWith("on")?!Ve(t):Re(t))}catch(Ro){}var Re;function Be(t,e,n,s,o){let{latestValues:r}=s,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const l=(fe(t)?De:Ee)(e,r,o,t),u=function(t,e,n){const i={};for(const s in t)"values"===s&&"object"===typeof t.values||(Ce(s)||!0===n&&Ve(s)||!e&&!Ve(s)||t.draggable&&s.startsWith("onDrag"))&&(i[s]=t[s]);return i}(e,"string"===typeof t,a),c=t!==i.Fragment?(0,ot.A)((0,ot.A)((0,ot.A)({},u),l),{},{ref:n}):{},{children:h}=e,d=(0,i.useMemo)(()=>(0,At.S)(h)?h.get():h,[h]);return(0,i.createElement)(t,(0,ot.A)((0,ot.A)({},c),{},{children:d}))}const Le=(0,i.createContext)(null);var je=n(9305);function Oe(t){return(0,At.S)(t)?t.get():t}const Ie=["transitionEnd","transition"];function We(t,e,n,i){const s={},o=i(t,{});for(const d in o)s[d]=Oe(o[d]);let{initial:r,animate:a}=t;const l=Wt(t),u=Ut(t);e&&u&&!l&&!1!==t.inherit&&(void 0===r&&(r=e.initial),void 0===a&&(a=e.animate));let c=!!n&&!1===n.initial;c=c||!1===r;const h=c?a:r;if(h&&"boolean"!==typeof h&&!Lt(h)){const e=Array.isArray(h)?h:[h];for(let n=0;n<e.length;n++){const i=Nt(t,e[n]);if(i){const{transitionEnd:t,transition:e}=i,n=(0,wt.A)(i,Ie);for(const i in n){let t=n[i];if(Array.isArray(t)){t=t[c?t.length-1:0]}null!==t&&(s[i]=t)}for(const i in t)s[i]=t[i]}}}return s}const Ue=t=>
2(e,n)=>{const s=(0,i.useContext)(we),o=(0,i.useContext)(Le),r=()=>function(t,e,n,i){let{scrapeMotionValuesFromProps:s,createRenderState:o}=t;return{latestValues:We(e,n,i,s),renderState:o()}}(t,e,s,o);return n?r():(0,je.M)(r)},Ge=Ue({scrapeMotionValuesFromProps:ie,createRenderState:Pe}),Ne=Ue({scrapeMotionValuesFromProps:de,createRenderState:ke});var Xe=n(7584);const qe=Symbol.for("motionComponentSymbol");function ze(t){return t&&"object"===typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function Ke(t,e,n){return(0,i.useCallback)(i=>{i&&t.onMount&&t.onMount(i),e&&(i?e.mount(i):e.unmount()),n&&("function"===typeof n?n(i):ze(n)&&(n.current=i))},[e])}const Ye="data-"+oe("framerAppearId"),He=(0,i.createContext)({});var Ze=n(7544);function Qe(t,e,n,s,o){var r,a,l,u;const{visualElement:c}=(0,i.useContext)(we),h=(0,i.useContext)(xe),d=(0,i.useContext)(Le),p=(0,i.useContext)(Ae.Q).reducedMotion,m=(0,i.useRef)(null);s=s||h.renderer,!m.current&&s&&(m.current=s(t,{visualState:e,parent:c,props:n,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:p}));const f=m.current,v=(0,i.useContext)(He);!f||f.projection||!o||"html"!==f.type&&"svg"!==f.type||function(t,e,n,i){const{layoutId:s,layout:o,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:_e(t.parent)),t.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:Boolean(r)||a&&ze(a),visualElement:t,animationType:"string"===typeof o?o:"both",initialPromotionConfig:i,crossfade:c,layoutScroll:l,layoutRoot:u})}(m.current,n,o,v);const g=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{f&&g.current&&f.update(n,d)});const y=n[Ye],x=(0,i.useRef)(Boolean(y)&&!(null!==(r=(a=window).MotionHandoffIsComplete)&&void 0!==r&&r.call(a,y))&&(null===(l=(u=window).MotionHasOptimisedAnimation)||void 0===l?void 0:l.call(u,y)));return(0,Ze.E)(()=>{f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),x.current&&f.animationState&&f.animationState.animateChanges())}),(0,i.useEffect)(()=>{f&&(!x.current&&f.animationState&&f.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{var t,e;null===(t=(e=window).MotionHandoffMarkAsComplete)||void 0===t||t.call(e,y)}),x.current=!1),f.enteringChildren=void 0)}),f}function _e(t){if(t)return!1!==t.options.allowProjection?t.projection:_e(t.parent)}function $e(t){var e,n;let{forwardMotionProps:s=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;o&&function(t){for(const e in t)Mt[e]=(0,ot.A)((0,ot.A)({},Mt[e]),t[e])}(o);const a=fe(t)?Ne:Ge;function l(e,n){let o;const l=(0,ot.A)((0,ot.A)((0,ot.A)({},(0,i.useContext)(Ae.Q)),e),{},{layoutId:Je(e)}),{isStatic:u}=l,c=Te(e),h=a(e,u);if(!u&&Xe.B){!function(){(0,i.useContext)(xe).strict;0}();const e=function(t){const{drag:e,layout:n}=Mt;if(!e&&!n)return{};const i=(0,ot.A)((0,ot.A)({},e),n);return{MeasureLayout:null!==e&&void 0!==e&&e.isEnabled(t)||null!==n&&void 0!==n&&n.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(l);o=e.MeasureLayout,c.visualElement=Qe(t,h,l,r,e.ProjectionNode)}return(0,ge.jsxs)(we.Provider,{value:c,children:[o&&c.visualElement?(0,ge.jsx)(o,(0,ot.A)({visualElement:c.visualElement},l)):null,Be(t,e,Ke(h,c.visualElement,n),h,u,s)]})}l.displayName="motion.".concat("string"===typeof t?t:"create(".concat(null!==(e=null!==(n=t.displayName)&&void 0!==n?n:t.name)&&void 0!==e?e:"",")"));const u=(0,i.forwardRef)(l);return u[qe]=t,u}function Je(t){let{layoutId:e}=t;const n=(0,i.useContext)(ye).id;return n&&void 0!==e?n+"-"+e:e}function tn(t,e){if("undefined"===typeof Proxy)return $e;const n=new Map,i=(n,i)=>$e(n,i,t,e);return new Proxy((t,e)=>i(t,e),{get:(s,o)=>"create"===o?i:(n.has(o)||n.set(o,$e(o,void 0,t,e)),n.get(o))})}function en(t,e,n){const i=t.getProps();return Nt(i,e,void 0!==n?n:i.custom,t)}function nn(t,e){var n,i;return null!==(n=null!==(i=null===t||void 0===t?void 0:t[e])&&void 0!==i?i:null===t||void 0===t?void 0:t.default)&&void 0!==n?n:t}const sn=t=>Array.isArray(t),on=["transitionEnd","transition"];function rn(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,Ft.OQ)(n))}function an(t){return sn(t)?t[t.length-1]||0:t}var ln=n(3499);function un(t,e){const n=t.getValue("willChange");if(i=n,Boolean((0,At.S)(i)&&i.add))return n.add(e);if(!n&&ln.W.WillChange){const n=new ln.W.WillChange("auto");t.addValue("willChange",n),n.add(e)}var i}function cn(t){return t.props[Ye]}function hn(t){t.duration=0,t.type="keyframes"}var dn=n(1372),pn=n(9389),mn=n(2470),fn=n(6643);var vn=n(2834),gn=n(1446),yn=n(1652),xn=n(5554),An=n(9925),wn=n(67);const Tn={};function Fn(t,e){const n=(0,wn.p)(t);return()=>{var t;return null!==(t=Tn[e])&&void 0!==t?t:n()}}const Pn=Fn(()=>{try{document.createElement("div").animate({opacity:0}
2,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var Sn=n(7939);const bn=t=>{let[e,n,i,s]=t;return"cubic-bezier(".concat(e,", ").concat(n,", ").concat(i,", ").concat(s,")")},En={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:bn([0,.65,.55,1]),circOut:bn([.55,0,1,.45]),backIn:bn([.31,.01,.66,-.59]),backOut:bn([.33,1.53,.69,.99])};function kn(t,e){return t?"function"===typeof t?Pn()?(0,Sn.K)(t,e):"ease-out":(0,An.D)(t)?bn(t):Array.isArray(t)?t.map(t=>kn(t,e)||En.easeOut):En[t]:void 0}function Dn(t,e,n){let{delay:i=0,duration:s=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;const c={[e]:n};l&&(c.offset=l);const h=kn(a,s);Array.isArray(h)&&(c.easing=h),xn.Q.value&&yn.q.waapi++;const d={delay:i,duration:s,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:o+1,direction:"reverse"===r?"alternate":"normal"};u&&(d.pseudoElement=u);const p=t.animate(c,d);return xn.Q.value&&p.finished.finally(()=>{yn.q.waapi--}),p}function Mn(t){return"function"===typeof t&&"applyToOptions"in t}const Vn=["type"];class Cn extends gn.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:n,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:r,onComplete:a}=t;this.isPseudoElement=Boolean(s),this.allowFlatten=o,this.options=t,(0,U.V)("string"!==typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function(t){let{type:e}=t,n=(0,wt.A)(t,Vn);return Mn(e)&&Pn()?e.applyToOptions(n):(null!==(i=n.duration)&&void 0!==i||(n.duration=300),null!==(s=n.ease)&&void 0!==s||(n.ease="easeOut"),n);var i,s}(t);this.animation=Dn(e,n,i,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const t=(0,mn.X)(i,this.options,r,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,n){(t=>t.startsWith("--"))(e)?t.style.setProperty(e,n):t.style[e]=n}(e,n,t),this.animation.cancel()}null===a||void 0===a||a(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,e;null===(t=(e=this.animation).finish)||void 0===t||t.call(e)}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,e;this.isPseudoElement||(null===(t=(e=this.animation).commitStyles)||void 0===t||t.call(e))}get duration(){var t,e;const n=(null===(t=this.animation.effect)||void 0===t||null===(e=t.getComputedTiming)||void 0===e?void 0:e.call(t).duration)||0;return(0,fn.X)(Number(n))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+(0,fn.X)(t)}get time(){return(0,fn.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,fn.f)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline(t){let{timeline:e,observe:n}=t;var i;this.allowFlatten&&(null===(i=this.animation.effect)||void 0===i||i.updateTiming({easing:"linear"}));return this.animation.onfinish=null,e&&(0,vn.J)()?(this.animation.timeline=e,pn.l):n(this)}}var Rn=n(1560),Bn=n(4969),Ln=n(1908),jn=n(584);const On={anticipate:Bn.b,backInOut:Ln.ZZ,circInOut:jn.tn};function In(t){"string"===typeof t.ease&&t.ease in On&&(t.ease=On[t.ease])}const Wn=["motionValue","onUpdate","onComplete","element"];class Un extends Cn{constructor(t){In(t),(0,Rn.E)(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){var e;const n=this.options,{motionValue:i,onUpdate:s,onComplete:o,element:r}=n,a=(0,wt.A)(n,Wn);if(!i)return;if(void 0!==t)return void i.set(t);const l=new dn.s((0,ot.A)((0,ot.A)({},a),{},{autoplay:!1})),u=(0,fn.f)(null!==(e=this.finishedTime)&&void 0!==e?e:this.time);i.setWithVelocity(l.sample(u-10).value,l.sample(u).value,10),l.stop()}}const Gn=(t,e)=>"zIndex"!==e&&(!("number"!==typeof t&&!Array.isArray(t))||!("string"!==typeof t||!st.f.test(t)&&"0"!==t||t.startsWith("url(")));const Nn=new Set(["opacity","clipPath","filter","transform"]),Xn=(0,wn.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));const qn=["autoplay","delay","type","repeat","repeatDelay","repeatType","keyframes","name","motionValue","element"];class zn extends gn.q{constructor(t){var e;
2let{autoplay:n=!0,delay:i=0,type:s="keyframes",repeat:o=0,repeatDelay:r=0,repeatType:a="loop",keyframes:l,name:u,motionValue:c,element:h}=t,d=(0,wt.A)(t,qn);super(),this.stop=()=>{var t,e;this._animation&&(this._animation.stop(),null===(e=this.stopTimeline)||void 0===e||e.call(this));null===(t=this.keyframeResolver)||void 0===t||t.cancel()},this.createdAt=Tt.k.now();const p=(0,ot.A)({autoplay:n,delay:i,type:s,repeat:o,repeatDelay:r,repeatType:a,name:u,motionValue:c,element:h},d),m=(null===h||void 0===h?void 0:h.KeyframeResolver)||et;this.keyframeResolver=new m(l,(t,e,n)=>this.onKeyframesResolved(t,e,p,!n),u,c,h),null===(e=this.keyframeResolver)||void 0===e||e.scheduleResolve()}onKeyframesResolved(t,e,n,i){this.keyframeResolver=void 0;const{name:s,type:o,velocity:r,delay:a,isHandoff:l,onUpdate:u}=n;this.resolvedAt=Tt.k.now(),function(t,e,n,i){const s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;const o=t[t.length-1],r=Gn(s,e),a=Gn(o,e);return(0,U.$)(r===a,"You are trying to animate ".concat(e,' from "').concat(s,'" to "').concat(o,'". "').concat(r?o:s,'" is not an animatable value.'),"value-not-animatable"),!(!r||!a)&&(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||Mn(n))&&i)}(t,s,o,r)||(!ln.W.instantAnimations&&a||null===u||void 0===u||u((0,mn.X)(t,n,e)),t[0]=t[t.length-1],hn(n),n.repeat=0);const c=i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,h=(0,ot.A)((0,ot.A)({startTime:c,finalKeyframe:e},n),{},{keyframes:t}),d=!l&&function(t){var e;const{motionValue:n,name:i,repeatDelay:s,repeatType:o,damping:r,type:a}=t;if(!((null===n||void 0===n||null===(e=n.owner)||void 0===e?void 0:e.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=n.owner.getProps();return Xn()&&i&&Nn.has(i)&&("transform"!==i||!u)&&!l&&!s&&"mirror"!==o&&0!==r&&"inertia"!==a}(h)?new Un((0,ot.A)((0,ot.A)({},h),{},{element:h.motionValue.owner.current})):new dn.s(h);d.finished.then(()=>this.notifyFinished()).catch(pn.l),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(){var t;this._animation||(null===(t=this.keyframeResolver)||void 0===t||t.resume(),$=!0,tt(),J(),$=!1);return this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),null===(t=this.keyframeResolver)||void 0===t||t.cancel()}}const Kn=t=>null!==t;const Yn={type:"spring",stiffness:500,damping:25,restSpeed:10},Hn={type:"keyframes",duration:.8},Zn={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Qn=(t,e)=>{let{keyframes:n}=e;return n.length>2?Hn:o.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===n[1]?2*Math.sqrt(550):30,restSpeed:10}:Yn:Zn},_n=["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"];const $n=function(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0;return r=>{const a=nn(i,t)||{},l=a.delay||i.delay||0;let{elapsed:u=0}=i;u-=(0,fn.f)(l);const c=(0,ot.A)((0,ot.A)({keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity()},a),{},{delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:s});(function(t){let{when:e,delay:n,delayChildren:i,staggerChildren:s,staggerDirection:o,repeat:r,repeatType:a,repeatDelay:l,from:u,elapsed:c}=t,h=(0,wt.A)(t,_n);return!!Object.keys(h).length})(a)||Object.assign(c,Qn(t,c)),c.duration&&(c.duration=(0,fn.f)(c.duration)),c.repeatDelay&&(c.repeatDelay=(0,fn.f)(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let h=!1;if((!1===c.type||0===c.duration&&!c.repeatDelay)&&(hn(c),0===c.delay&&(h=!0)),(ln.W.instantAnimations||ln.W.skipAnimations)&&(h=!0,hn(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,h&&!o&&void 0!==e.get()){const t=function(t,e,n){let{repeat:i,repeatType:s="loop"}=e;const o=t.filter(Kn),r=i&&"loop"!==s&&i%2===1?0:o.length-1;return r&&void 0!==n?n:o[r]}(c.keyframes,a);if(void 0!==t)return void H.Gt.update(()=>{c.onUpdate(t),c.onComplete()})}return a.isSync?new dn.s(c):new zn(c)}},Jn=["transition","transitionEnd"];function ti(t,e){let{protectedKeys:n,needsAnimating:i}=t;const s=n.hasOwnProperty(e)&&!0!==i[e];return i[e]=!1,s}function ei(t,e){let{delay:n=0,transitionOverride:i,type:s}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{transition:o=t.getDefaultTransition(),transitionEnd:r}=e,a=(0,wt.A)(e,Jn);i&&(o=i);const l=[],u=s&&t.animationState&&t.animationState.getState()[s];for(const h in a){var c;const e=t.getValue(h,null!==(c=t.latestValues[h])&&void 0!==c?c:null),i=a[h];if(void 0===i||u&&ti(u,h))continue;const s=(0,ot.A)({delay:n},nn(o||{},h)),r=e.get();if(void 0!==r&&!e.isAnimating&&!Array.isArray(i)&&i===r&&!s.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){const e=cn(t);if(e){const t=window.MotionHandoffAnimation(e,h,H.Gt);null!==t&&(s.startTime=t,d=!0)}}un(t,h),e.start($n(h,e,i,t.shouldReduceMotion&&B.has(h)?{type:!1}:s,t,d));const p=e.animation;p&&l.push(p)}return r&&Promise.all(l).then(()=>{H.Gt.update(()=>{r&&function(t,e){let n=en(t,e)||{},{transitionEnd:i={},transition:s={}}=n,o=(0,wt.A)(n,on);o=(0,ot.A)((0,ot.A)({},o),i);for(const r in o)rn(t,r,an(o[r]))}(t,r)})}),l}function ni(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const o=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),r=t.size,a=(r-1)*i;return"function"===typeof n?n(o,r):1===s?o*i:a-o*i}function ii(t,e){var n;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s=en(t,e,"exit"===i.type?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(o=i.transitionOverride);const r=s?()=>Promise.all(ei(t,s,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const{delayChildren:s=0,staggerChildren:r,staggerDirection:a}=o;return function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,r=arguments.length>6?arguments[6]:void 0;const a=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),a.push(ii(l,e,(0,ot.A)((0,ot.A)({},r),{},{delay:n+("function"===typeof i?0:i)+ni(t.variantChildren,l,i,s,o)})).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,s,r,a,i)}:()=>Promise.resolve(),{when:l}=o;if(l){const[t,e]="beforeChildren"===l?[r,a]:[a,r];return t().then(()=>e())}return Promise.all([r(),a(i.delay)])}function si(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}const oi=It.length;function ri(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&ri(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let n=0;n<oi;n++){const i=It[n],s=t.props[i];(jt(s)||!1===s)&&(e[i]=s)}return e}const ai=["transition","transitionEnd"],li=[...Ot].reverse(),ui=Ot.length;function ci(t){return e=>Promise.all(e.map(e=>{let{animation:n,options:i}=e;return function(t,e){let n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",e),Array.isArray(e)){const s=e.map(e=>ii(t,e,i));n=Promise.all(s)}else if("string"===typeof e)n=ii(t,e,i);else{const s="function"===typeof e?en(t,e,i.custom):e;n=Promise.all(ei(t,s,i))}return n.then(()=>{t.notify("AnimationComplete",e)})}(t,n,i)}))}function hi(t){let e=ci(t),n=mi(),i=!0;const s=e=>(n,i)=>{var s;const o=en(t,i,"exit"===e?null===(s=t.presenceContext)||void 0===s?void 0:s.custom:void 0);if(o){const{transition:t,transitionEnd:e}=o,i=(0,wt.A)(o,ai);n=(0,ot.A)((0,ot.A)((0,ot.A)({},n),i),e)}return n};function o(o){const{props:r}=t,a=ri(t.parent)||{},l=[],u=new Set;let c={},h=1/0;for(let e=0;e<ui;e++){const d=li[e],p=n[d],m=void 0!==r[d]?r[d]:a[d],f=jt(m),v=d===o?p.isActive:null;!1===v&&(h=e);let g=m===a[d]&&m!==r[d]&&f;if(g&&i&&t.manuallyAnimateOnMount&&(g=!1),p.protectedKeys=(0,ot.A)({},c),!p.isActive&&null===v||!m&&!p.prevProp||Lt(m)||"boolean"===typeof m)continue;const y=di(p.prevProp,m);let x=y||d===o&&p.isActive&&!g&&f||e>h&&f,A=!1;const w=Array.isArray(m)?m:[m];let T=w.reduce(s(d),{});!1===v&&(T={});const{prevResolvedValues:F={}}=p,P=(0,ot.A)((0,ot.A)({},F),T),S=e=>{x=!0,u.has(e)&&(A=!0,u.delete(e)),p.needsAnimating[e]=!0;const n=t.getValue(e);n&&(n.liveStyle=!1)};for(const t in P){const e=T[t],n=F[t];if(c.hasOwnProperty(t))continue;let i=!1;i=sn(e)&&sn(n)?!si(e,n):e!==n,i?void 0!==e&&null!==e?S(t):u.add(t):void 0!==e&&u.has(t)?S(t):p.protectedKeys[t]=!0}p.prevProp=m,p.prevResolvedValues=T,p.isActive&&(c=(0,ot.A)((0,ot.A)({},c),T)),i&&t.blockInitialAnimation&&(x=!1);const b=g&&y;x&&(!b||A)&&l.push(...w.map(e=>{const n={type:d};if("string"===typeof e&&i&&!b&&t.manuallyAnimateOnMount&&t.parent){const{parent:i}=t,s=en(i,e);if(i.enteringChildren&&s){const{delayChildren:e}=s.transition||{};n.delay=ni(i.enteringChildren,t,e)}}return{animation:e,options:n}}))}if(u.size){const e={};if("boolean"!==typeof r.initial){const n=en(t,Array.isArray(r.initial)?r.initial[0]:r.initial);n&&n.transition&&(e.transition=n.transition)}u.forEach(n=>{const i=t.getBaseTarget(n),s=t.getValue(n);s&&(s.liveStyle=!0),e[n]=null!==i&&void 0!==i?i:null}),l.push({animation:e})}let d=Boolean(l.length);return!i||!1!==r.initial&&r.initial!==r.animate||t.manuallyAnimateOnMount||(d=!1),i=!1,d?e(l):Promise.resolve()}
2return{animateChanges:o,setActive:function(e,i){var s;if(n[e].isActive===i)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,i)}),n[e].isActive=i;const r=o(e);for(const t in n)n[t].protectedKeys={};return r},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=mi()}}}function di(t,e){return"string"===typeof e?e!==t:!!Array.isArray(e)&&!si(e,t)}function pi(){return{isActive:arguments.length>0&&void 0!==arguments[0]&&arguments[0],protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function mi(){return{animate:pi(!0),whileInView:pi(),whileHover:pi(),whileTap:pi(),whileDrag:pi(),whileFocus:pi(),exit:pi()}}class fi{constructor(t){this.isMounted=!1,this.node=t}update(){}}let vi=0;const gi={animation:{Feature:class extends fi{constructor(t){super(t),t.animationState||(t.animationState=hi(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Lt(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}},exit:{Feature:class extends fi{constructor(){super(...arguments),this.id=vi++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>{e(this.id)})}mount(){const{register:t,onExitComplete:e}=this.node.presenceContext||{};
2e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}},yi={x:!1,y:!1};function xi(){return yi.x||yi.y}function Ai(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}const wi=t=>"mouse"===t.pointerType?"number"!==typeof t.button||t.button<=0:!1!==t.isPrimary;function Ti(t){return{point:{x:t.pageX,y:t.pageY}}}function Fi(t,e,n,i){return Ai(t,e,(t=>e=>wi(e)&&t(e,Ti(e)))(n),i)}function Pi(t){return t.max-t.min}function Si(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=i,t.originPoint=(0,y.k)(e.min,e.max,t.origin),t.scale=Pi(n)/Pi(e),t.translate=(0,y.k)(n.min,n.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function bi(t,e,n,i){Si(t.x,e.x,n.x,i?i.originX:void 0),Si(t.y,e.y,n.y,i?i.originY:void 0)}function Ei(t,e,n){t.min=n.min+e.min,t.max=t.min+Pi(e)}function ki(t,e,n){t.min=e.min-n.min,t.max=t.min+Pi(e)}function Di(t,e,n){ki(t.x,e.x,n.x),ki(t.y,e.y,n.y)}function Mi(t){return[t("x"),t("y")]}const Vi=t=>{let{current:e}=t;return e?e.ownerDocument.defaultView:null};var Ci=n(8673);const Ri=(t,e)=>Math.abs(t-e);class Bi{constructor(t,e){let{transformPagePoint:n,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=Oi(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=Ri(t.x,e.x),i=Ri(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!n)return;const{point:i}=t,{timestamp:s}=H.uv;this.history.push((0,ot.A)((0,ot.A)({},i),{},{timestamp:s}));const{onStart:o,onMove:r}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&&r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=Li(e,this.transformPagePoint),H.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&&s&&s(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=Oi("pointercancel"===t.type?this.lastMoveEventInfo:Li(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,o),i&&i(t,o)},!wi(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=i||window;const r=Li(Ti(t),this.transformPagePoint),{point:a}=r,{timestamp:l}=H.uv;this.history=[(0,ot.A)((0,ot.A)({},a),{},{timestamp:l})];const{onSessionStart:u}=e;u&&u(t,Oi(r,this.history)),this.removeListeners=(0,Ci.F)(Fi(this.contextWindow,"pointermove",this.handlePointerMove),Fi(this.contextWindow,"pointerup",this.handlePointerUp),Fi(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,H.WG)(this.updatePoint)}}function Li(t,e){return e?{point:e(t.point)}:t}function ji(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Oi(t,e){let{point:n}=t;return{point:n,delta:ji(n,Wi(e)),offset:ji(n,Ii(e)),velocity:Ui(e,.1)}}function Ii(t){return t[0]}function Wi(t){return t[t.length-1]}function Ui(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const s=Wi(t);for(;n>=0&&(i=t[n],!(s.timestamp-i.timestamp>(0,fn.f)(e)));)n--;if(!i)return{x:0,y:0};const o=(0,fn.X)(s.timestamp-i.timestamp);if(0===o)return{x:0,y:0};const r={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}var Gi=n(9712),Ni=n(2038);function Xi(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function qi(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}const zi=.35;function Ki(t,e,n){return{min:Yi(t,e),max:Yi(t,n)}}function Yi(t,e){return"number"===typeof t?t:t[e]||0}const Hi=new WeakMap;class Zi{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t){let{snapToCursor:e=!1,distanceThreshold:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;const{dragSnapToOrigin:s}=this.getProps();this.panSession=new Bi(t,{onSessionStart:t=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(Ti(t).point)},onStart:(t,e)=>{const{drag:n,dragPropagation:i,onDragStart:s}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(o=n)||"y"===o?yi[o]?null:(yi[o]=!0,()=>{yi[o]=!1}):yi.x||yi.y?null:(yi.x=yi.y=!0,()=>{yi.x=yi.y=!1}),!this.openDragLock))return;var o;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Mi(t=>{let e=this.getAxisMotionValue(t).get()||0;if(j.KN.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[t];if(i){e=Pi(i)*(parseFloat(e)/100)}}}this.originPoint[t]=e}),s&&H.Gt.postRender(()=>s(t,e)),un(this.visualElement,"transform");const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:s,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:r}=e;if(i&&null===this.currentDirection)return this.currentDirection=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(r),void(null!==this.currentDirection&&s&&s(this.currentDirection));this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>Mi(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,distanceThreshold:n,contextWindow:Vi(this.visualElement)})}stop(t,e){const n=t||this.latestPointerEvent,i=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!n)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&H.Gt.postRender(()=>r(n,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){const{drag:i}=this.getProps();if(!n||!Qi(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,e,n){let{min:i,max:s}=e;return void 0!==i&&t<i?t=n?(0,y.k)(i,t,n.min):Math.max(t,i):void 0!==s&&t>s&&(t=n?(0,y.k)(s,t,n.max):Math.min(t,s)),t}(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:e,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,s=this.constraints;e&&ze(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!i)&&function(t,e){let{top:n,left:i,bottom:s,right:o}=e;return{x:Xi(t.x,i,o),y:Xi(t.y,n,s)}}(i.layoutBox,e),this.elastic=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zi;return!1===t?t=0:!0===t&&(t=zi),{x:Ki(t,"left","right"),y:Ki(t,"top","bottom")}}(n),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Mi(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!ze(t))return!1;const n=t.current;(0,U.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=function(t,e,n){const i=R(t,n),{scroll:s}=e;return s&&(M(i.x,s.offset.x),M(i.y,s.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let o=function(t,e){return{x:qi(t.x,e.x),y:qi(t.y,e.y)}}(i.layout.layoutBox,s);if(e){const t=e(function(t){let{x:e,y:n}=t;return{top:n.min,right:e.max,bottom:n.max,left:e.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=g(t))}return o}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=Mi(r=>{if(!Qi(r,e,this.currentDirection))return;let l=a&&a[r]||{};o&&(l={min:0,max:0});const u=i?200:1e6,c=i?40:1e7,h=(0,ot.A)((0,ot.A)({type:"inertia",velocity:n?t[r]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10},s),l);return this.startAxisValueAnimation(r,h)});return Promise.all(l).then(r)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return un(this.visualElement,t),n.start($n(t,n,0,e,this.visualElement,!1))}stopAnimation(){Mi(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Mi(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){const e="_drag".concat(t.toUpperCase()),n=this.visualElement.getProps(),i=n[e];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Mi(e=>{const{drag:n}=this.getProps();if(!Qi(e,n,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(e);if(i&&i.layout){const{min:n,max:o}=i.layout.layoutBox[e];s.set(t[e]-(0,y.k)(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!ze(e)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Mi(t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const n=e.get();i[t]=function(t,e){let n=.5;const i=Pi(t),s=Pi(e);return s>i?n=(0,Gi.q)(e.min,e.max-i,t.min):i>s&&(n=(0,Gi.q)(t.min,t.max-s,e.min)),(0,Ni.q)(0,1,n)}({min:n,max:n},this.constraints[t])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Mi(e=>{if(!Qi(e,t,null))return;const n=this.getAxisMotionValue(e),{min:s,max:o}=this.constraints[e];n.set((0,y.k)(s,o,i[e]))})}addListeners(){if(!this.visualElement.current)return;Hi.set(this.visualElement,this);const t=Fi(this.visualElement.current,"pointerdown",t=>{const{drag:e,dragListener:n=!0}
2=this.getProps();e&&n&&this.start(t)}),e=()=>{const{dragConstraints:t}=this.getProps();ze(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),H.Gt.read(e);const s=Ai(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:n}=t;this.isDragging&&n&&(Mi(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{s(),t(),i(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=zi,dragMomentum:r=!0}=t;return(0,ot.A)((0,ot.A)({},t),{},{drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:r})}}function Qi(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}const _i=t=>(e,n)=>{t&&H.Gt.postRender(()=>t(e,n))};const $i={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let Ji=!1;class ts extends i.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),n&&n.register&&i&&n.register(s),Ji&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions((0,ot.A)((0,ot.A)({},s.options),{},{onExitComplete:()=>this.safeToRemove()}))),$i.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:i,isPresent:s}=this.props,{projection:o}=n;return o?(o.isPresent=s,Ji=!0,i||t.layoutDependency!==e||void 0===e||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||H.Gt.postRender(()=>{const t=o.getStack();t&&t.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),bt.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;Ji=!0,i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function es(t){const[e,n]=function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const e=(0,i.useContext)(Le);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:s,register:o}=e,r=(0,i.useId)();(0,i.useEffect)(()=>{if(t)return o(r)},[t]);const a=(0,i.useCallback)(()=>t&&s&&s(r),[r,s,t]);return!n&&s?[!1,a]:[!0]}(),s=(0,i.useContext)(ye);return(0,ge.jsx)(ts,(0,ot.A)((0,ot.A)({},t),{},{layoutGroup:s,switchLayoutGroup:(0,i.useContext)(He),isPresent:e,safeToRemove:n}))}var ns=n(2936);var is=n(6544);const ss=(t,e)=>t.depth-e.depth;class os{constructor(){this.children=[],this.isDirty=!1}add(t){(0,is.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,is.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ss),this.isDirty=!1,this.children.forEach(t)}}function rs(t,e){const n=Tt.k.now(),i=s=>{let{timestamp:o}=s;const r=o-n;r>=e&&((0,H.WG)(i),t(r-e))};return H.Gt.setup(i,!0),()=>(0,H.WG)(i)}const as=["TopLeft","TopRight","BottomLeft","BottomRight"],ls=as.length,us=t=>"string"===typeof t?parseFloat(t):t,cs=t=>"number"===typeof t||j.px.test(t);function hs(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const ds=ms(0,.5,jn.yT),ps=ms(.5,.95,pn.l);function ms(t,e,n){return i=>i<t?0:i>e?1:n((0,Gi.q)(t,e,i))}function fs(t,e){t.min=e.min,t.max=e.max}function vs(t,e){fs(t.x,e.x),fs(t.y,e.y)}function gs(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function ys(t,e,n,i,s){return t=P(t-=e,1/n,i),void 0!==s&&(t=P(t,1/s,i)),t}function xs(t,e,n,i,s){let[o,r,a]=n;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,s=arguments.length>4?arguments[4]:void 0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;j.KN.test(e)&&(e=parseFloat(e),e=(0,y.k)(r.min,r.max,e/100)-r.min);if("number"!==typeof e)return;let a=(0,y.k)(o.min,o.max,i);t===o&&(a-=e),t.min=ys(t.min,e,n,a,s),t.max=ys(t.max,e,n,a,s)}(t,e[o],e[r],e[a],e.scale,i,s)}const As=["x","scaleX","originX"],ws=["y","scaleY","originY"];function Ts(t,e,n,i){xs(t.x,e,As,n?n.x:void 0,i?i.x:void 0),xs(t.y,e,ws,n?n.y:void 0,i?i.y:void 0)}function Fs(t){return 0===t.translate&&1===t.scale}function Ps(t){return Fs(t.x)&&Fs(t.y)}function Ss(t,e){return t.min===e.min&&t.max===e.max}function bs(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Es(t,e){return bs(t.x,e.x)&&bs(t.y,e.y)}function ks(t){return Pi(t.x)/Pi(t.y)}function Ds(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class Ms{constructor(){this.members=[]}add(t){(0,is.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,is.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}
2}relegate(t){const e=this.members.findIndex(e=>t===e);if(0===e)return!1;let n;for(let i=e;i>=0;i--){const t=this.members[i];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Vs={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Cs=["","X","Y","Z"];let Rs=0;function Bs(t,e,n,i){const{latestValues:s}=e;s[t]&&(n[t]=s[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Ls(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=cn(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",H.Gt,!(e||i))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&Ls(i)}function js(t){let{attachResizeListener:e,defaultParent:n,measureScroll:i,checkIsScrollRoot:s,resetTransform:o}=t;return class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===n||void 0===n?void 0:n();this.id=Rs++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,xn.Q.value&&(Vs.nodes=Vs.calculatedTargetDeltas=Vs.calculatedProjections=0),this.nodes.forEach(Ws),this.nodes.forEach(Ks),this.nodes.forEach(Ys),this.nodes.forEach(Us),xn.Q.addProjectionMetrics&&xn.Q.addProjectionMetrics(Vs)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=e?e.root||e:this,this.path=e?[...e.path,e]:[],this.parent=e,this.depth=e?e.depth+1:0;for(let n=0;n<this.path.length;n++)this.path[n].shouldResetTransform=!0;this.root===this&&(this.nodes=new os)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new kt.v),this.eventHandlers.get(t).add(e)}notifyListeners(t){const e=this.eventHandlers.get(t);for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];e&&e.notify(...i)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){if(this.instance)return;var n;this.isSVG=(0,ns.x)(t)&&(n=t,!((0,ns.x)(n)&&"svg"===n.tagName)),this.instance=t;const{layoutId:i,layout:s,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),e){let n,i=0;const s=()=>this.root.updateBlockedByResize=!1;H.Gt.read(()=>{i=window.innerWidth}),e(t,()=>{const t=window.innerWidth;t!==i&&(i=t,this.root.updateBlockedByResize=!0,n&&n(),n=rs(s,250),$i.hasAnimatedSinceResize&&($i.hasAnimatedSinceResize=!1,this.nodes.forEach(zs)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||s)&&this.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:n,hasRelativeLayoutChanged:i,layout:s}=t;if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||o.getDefaultTransition()||Js,{onLayoutAnimationStart:a,onLayoutAnimationComplete:l}=o.getProps(),u=!this.targetLayout||!Es(this.targetLayout,s),c=!n&&i;if(this.options.layoutRoot||this.resumeFrom||c||n&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t=(0,ot.A)((0,ot.A)({},nn(r,"layout")),{},{onPlay:a,onComplete:l});(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c)}else n||zs(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,H.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
2h(Hs),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ls(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let s=0;s<this.path.length;s++){const t=this.path[s];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Ns);if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(Xs);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(qs),this.nodes.forEach(Os),this.nodes.forEach(Is)):this.nodes.forEach(Xs),this.clearAllSnapshots();const t=Tt.k.now();H.uv.delta=(0,Ni.q)(0,1e3/60,t-H.uv.timestamp),H.uv.timestamp=t,H.uv.isProcessing=!0,H.PP.update.process(H.uv),H.PP.preRender.process(H.uv),H.PP.render.process(H.uv),H.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,bt.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Gs),this.sharedNodes.forEach(Zs)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,H.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){H.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||Pi(this.snapshot.measuredBox.x)||Pi(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),(!this.options.alwaysMeasureLayout||!this.isLead())&&!this.isLayoutDirty)return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++){this.path[n].updateScroll()}const t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){const e=s(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(!o)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!Ps(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,s=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||w(this.latestValues)||s)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const e=this.measurePageBox();let n=this.removeElementScroll(e);var i;return t&&(n=this.removeTransform(n)),no((i=n).x),no(i.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const n=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(so))){const{scroll:t}=this.root;t&&(M(n.x,t.offset.x),M(n.y,t.offset.y))}return n}removeElementScroll(t){var e;const n={x:{min:0,max:0},y:{min:0,max:0}};if(vs(n,t),null!==(e=this.scroll)&&void 0!==e&&e.wasRoot)return n;for(let i=0;i<this.path.length;i++){const e=this.path[i],{scroll:s,options:o}=e;e!==this.root&&s&&o.layoutScroll&&(s.wasRoot&&vs(n,t),M(n.x,s.offset.x),M(n.y,s.offset.y))}return n}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n={x:{min:0,max:0},y:{min:0,max:0}};vs(n,t);for(let i=0;i<this.path.length;i++){const t=this.path[i];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&C(n,{x:-t.scroll.offset.x,y:-t.scroll.offset.y}),w(t.latestValues)&&C(n,t.latestValues)}return w(this.latestValues)&&C(n,this.latestValues),n}removeTransform(t){const e={x:{min:0,max:0},y:{min:0,max:0}};vs(e,t);for(let n=0;n<this.path.length;n++){const t=this.path[n];if(!t.instance)continue;if(!w(t.latestValues))continue;A(t.latestValues)&&t.updateSnapshot();const i=Vt();vs(i,t.measurePageBox()),Ts(e,t.latestValues,t.snapshot?t.snapshot.layoutBox:void 0,i)}return w(this.latestValues)&&Ts(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options=(0,ot.A)((0,ot.A)((0,ot.A)({},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!==H.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){var t;let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
2haredProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||null!==(t=this.parent)&&void 0!==t&&t.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:s,layoutId:o}=this.options;if(!this.layout||!s&&!o)return;this.resolvedRelativeTargetAt=H.uv.timestamp;const r=this.getClosestProjectingParent();var a,l,u;(r&&this.linkedParentVersion!==r.layoutVersion&&!r.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(r&&r.layout?this.createRelativeTarget(r,this.layout.layoutBox,r.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,l=this.relativeTarget,u=this.relativeParent.target,Ei(a.x,l.x,u.x),Ei(a.y,l.y,u.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):vs(this.target,this.layout.layoutBox),E(this.target,this.targetDelta)):vs(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,r&&Boolean(r.resumingFrom)===Boolean(this.resumingFrom)&&!r.options.layoutScroll&&r.target&&1!==this.animationProgress?this.createRelativeTarget(r,this.target,r.target):this.relativeParent=this.relativeTarget=void 0),xn.Q.value&&Vs.calculatedTargetDeltas++)}getClosestProjectingParent(){if(this.parent&&!A(this.parent.latestValues)&&!T(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,n){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Di(this.relativeTargetOrigin,e,n),vs(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var t;const e=this.getLead(),n=Boolean(this.resumingFrom)||this!==e;let i=!0;if((this.isProjectionDirty||null!==(t=this.parent)&&void 0!==t&&t.isProjectionDirty)&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===H.uv.timestamp&&(i=!1),i)return;const{layout:s,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!s&&!o)return;vs(this.layoutCorrected,this.layout.layoutBox);const r=this.treeScale.x,a=this.treeScale.y;!function(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const s=n.length;if(!s)return;let o,r;e.x=e.y=1;for(let a=0;a<s;a++){o=n[a],r=o.projectionDelta;const{visualElement:s}=o.options;s&&s.props.style&&"contents"===s.props.style.display||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&C(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,E(t,r)),i&&w(o.latestValues)&&C(t,o.latestValues))}e.x<D&&e.x>k&&(e.x=1),e.y<D&&e.y>k&&(e.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=e;l?(this.projectionDelta&&this.prevProjectionDelta?(gs(this.prevProjectionDelta.x,this.projectionDelta.x),gs(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),bi(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===r&&this.treeScale.y===a&&Ds(this.projectionDelta.x,this.prevProjectionDelta.x)&&Ds(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),xn.Q.value&&Vs.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){var t;let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this.snapshot,i=n?n.latestValues:{},s=(0,ot.A)({},this.latestValues),o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const r={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,c=Boolean(a&&!u&&!0===this.options.crossfade&&!this.path.some($s));let h;this.animationProgress=0,this.mixTargetDelta=e=>{const n=e/1e3;var l,d,p,m,f,v;Qs(o.x,t.x,n),Qs(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Di(r,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=r,v=n,_s(p.x,m.x,f.x,v),_s(p.y,m.y,f.y,v),h&&(l=this.relativeTarget,d=h,Ss(l.x,d.x)&&Ss(l.y,d.y))&&(this.isProjectionDirty=!1),h||(h={x:{min:0,max:0},y:{min:0,max:0}}),vs(h,this.relativeTarget)),a&&(this.animationValues=s,function(t,e,n,i,s,o){var r,a;if(s)t.opacity=(0,y.k)(0,null!==(r=n.opacity)&&void 0!==r?r:1,ds(i)),t.opacityExit=(0,y.k)(null!==(a=e.opacity)&&void 0!==a?a:1,0,ps(i));else if(o){var l,u;t.opacity=(0,y.k)(null!==(l=e.opacity)&&void 0!==l?l:1,null!==(u=n.op
2acity)&&void 0!==u?u:1,i)}for(let c=0;c<ls;c++){const s="border".concat(as[c],"Radius");let o=hs(e,s),r=hs(n,s);void 0===o&&void 0===r||(o||(o=0),r||(r=0),0===o||0===r||cs(o)===cs(r)?(t[s]=Math.max((0,y.k)(us(o),us(r),i),0),(j.KN.test(r)||j.KN.test(o))&&(t[s]+="%")):t[s]=r)}(e.rotate||n.rotate)&&(t.rotate=(0,y.k)(e.rotate||0,n.rotate||0,i))}(s,i,this.latestValues,n,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){var e,n;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),null===(n=this.resumingFrom)||void 0===n||null===(n=n.currentAnimation)||void 0===n||n.stop(),this.pendingAnimation&&((0,H.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=H.Gt.update(()=>{$i.hasAnimatedSinceResize=!0,yn.q.layout++,this.motionValue||(this.motionValue=(0,Ft.OQ)(0)),this.currentAnimation=function(t,e,n){const i=(0,At.S)(t)?t:(0,Ft.OQ)(t);return i.start($n("",i,e,n)),i.animation}(this.motionValue,[0,1e3],(0,ot.A)((0,ot.A)({},t),{},{velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{yn.q.layout--},onComplete:()=>{yn.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}})),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:i,latestValues:s}=t;if(e&&n&&i){if(this!==t&&this.layout&&i&&io(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const e=Pi(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const i=Pi(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}vs(e,n),C(e,s),bi(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Ms);this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote(){let{needsReset:t,transition:e,preserveFollowOpacity:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;const i={};n.z&&Bs("z",t,i,this.animationValues);for(let s=0;s<Cs.length;s++)Bs("rotate".concat(Cs[s]),t,i,this.animationValues),Bs("skew".concat(Cs[s]),t,i,this.animationValues);t.render();for(const s in i)t.setStaticValue(s,i[s]),this.animationValues&&(this.animationValues[s]=i[s]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(t.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=Oe(null===e||void 0===e?void 0:e.pointerEvents)||"",void(t.transform=n?n(this.latestValues,""):"none");const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target)return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Oe(null===e||void 0===e?void 0:e.pointerEvents)||""),void(this.hasProjected&&!w(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1));t.visibility="";const s=i.animationValues||i.latestValues;this.applyTransformsToTarget();let o=function(t,e,n){let i="";const s=t.x.translate/e.x,o=t.y.translate/e.y,r=(null===n||void 0===n?void 0:n.z)||0;if((s||o||r)&&(i="translate3d(".concat(s,"px, ").concat(o,"px, ").concat(r,"px) ")),1===e.x&&1===e.y||(i+="scale(".concat(1/e.x,", ").concat(1/e.y,") ")),n){const{transformPerspective:t,rotate:e,rotateX:s,rotateY:o,skewX:r,skewY:a}=n;t&&(i="perspective(".concat(t,"px) ").concat(i)),e&&(i+="rotate(".concat(e,"deg) ")),s&&(i+="rotateX(".concat(s,"deg) ")),o&&(i+="rotateY(".concat(o,"deg) ")),r&&(i+="skewX(".concat(r,"deg) ")),a&&(i+="skewY(".concat(a,"deg) "))}const a=t.x.scale*e.x,l=t.y.scale*e.y;return 1===a&&1===l||(i+="scale(".concat(a,", ").concat(l,")")),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);n&&(o=n(s,o)),t.transform=o;const{x:r,y:a}=this.projectionDelta;var l,u;(t.transformOrigin="".concat(100*r.origin,"% ").concat(100*a.origin,"% 0"),i.animationValues)?t.opacity=i===this?null!==(l=null!==(u=s.op
2acity)&&void 0!==u?u:this.latestValues.opacity)&&void 0!==l?l:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const c in ee){if(void 0===s[c])continue;const{correct:e,applyTo:n,isCSSVariable:r}=ee[c],a="none"===o?s[c]:e(s[c],i);if(n){const e=n.length;for(let i=0;i<e;i++)t[n[i]]=a}else r?this.options.visualElement.renderState.vars[c]=a:t[c]=a}this.options.layoutId&&(t.pointerEvents=i===this?Oe(null===e||void 0===e?void 0:e.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(Ns),this.root.sharedNodes.clear()}}}function Os(t){t.updateLayout()}function Is(t){var e;const n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:i}=t.layout,{animationType:s}=t.options,o=n.source!==t.layout.source;"size"===s?Mi(t=>{const i=o?n.measuredBox[t]:n.layoutBox[t],s=Pi(i);i.min=e[t].min,i.max=i.min+s}):io(s,n.layoutBox,e)&&Mi(i=>{const s=o?n.measuredBox[i]:n.layoutBox[i],r=Pi(e[i]);s.max=s.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+r)});const r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};bi(r,e,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?bi(a,t.applyTransform(i,!0),n.measuredBox):bi(a,e,n.layoutBox);const l=!Ps(r);let u=!1;if(!t.resumeFrom){const i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:s,layout:o}=i;if(s&&o){const r={x:{min:0,max:0},y:{min:0,max:0}};Di(r,n.layoutBox,s.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Di(a,e,o.layoutBox),Es(r,a)||(u=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=r,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function Ws(t){xn.Q.value&&Vs.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Us(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Gs(t){t.clearSnapshot()}function Ns(t){t.clearMeasurements()}function Xs(t){t.isLayoutDirty=!1}function qs(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function zs(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Ks(t){t.resolveTargetDelta()}function Ys(t){t.calcProjection()}function Hs(t){t.resetSkewAndRotation()}function Zs(t){t.removeLeadSnapshot()}function Qs(t,e,n){t.translate=(0,y.k)(e.translate,0,n),t.scale=(0,y.k)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function _s(t,e,n,i){t.min=(0,y.k)(e.min,n.min,i),t.max=(0,y.k)(e.max,n.max,i)}function $s(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const Js={duration:.45,ease:[.4,0,.1,1]},to=t=>"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),eo=to("applewebkit/")&&!to("chrome/")?Math.round:pn.l;function no(t){t.min=eo(t.min),t.max=eo(t.max)}function io(t,e,n){return"position"===t||"preserve-aspect"===t&&(i=ks(e),s=ks(n),o=.2,!(Math.abs(i-s)<=o));var i,s,o}function so(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}const oo=js({attachResizeListener:(t,e)=>Ai(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ro={current:void 0},ao=js({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ro.current){const t=new oo({});t.mount(window),t.setOptions({layoutScroll:!0}),ro.current=t}
2return ro.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),lo={pan:{Feature:class extends fi{constructor(){super(...arguments),this.removePointerDownListener=pn.l}onPointerDown(t){this.session=new Bi(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Vi(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:_i(t),onStart:_i(e),onMove:n,onEnd:(t,e)=>{delete this.session,i&&H.Gt.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=Fi(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends fi{constructor(t){super(t),this.removeGroupControls=pn.l,this.removeListeners=pn.l,this.controls=new Zi(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||pn.l}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:ao,MeasureLayout:es}};var uo=n(2168);function co(t,e){const n=(0,uo.K)(t),i=new AbortController;return[n,(0,ot.A)((0,ot.A)({passive:!0},e),{},{signal:i.signal}),()=>i.abort()]}function ho(t){return!("touch"===t.pointerType||xi())}function po(t,e,n){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);const s=i["onHover"+n];s&&H.Gt.postRender(()=>s(e,Ti(e)))}var mo=n(9699);const fo=(t,e)=>!!e&&(t===e||fo(t,e.parentElement)),vo=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const go=new WeakSet;function yo(t){return e=>{"Enter"===e.key&&t(e)}}function xo(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function Ao(t){return wi(t)&&!xi()}function wo(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const[i,s,o]=co(t,n),r=t=>{const i=t.currentTarget;if(!Ao(t))return;go.add(i);const o=e(i,t),r=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),go.has(i)&&go.delete(i),Ao(t)&&"function"===typeof o&&o(t,{success:e})},a=t=>{r(t,i===window||i===document||n.useGlobalTarget||fo(i,t.target))},l=t=>{r(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};return i.forEach(t=>{var e;(n.useGlobalTarget?window:t).addEventListener("pointerdown",r,s),(0,mo.s)(t)&&(t.addEventListener("focus",t=>((t,e)=>{const n=t.currentTarget;if(!n)return;const i=yo(()=>{if(go.has(n))return;xo(n,"down");const t=yo(()=>{xo(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>xo(n,"cancel"),e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)})(t,s)),e=t,vo.has(e.tagName)||-1!==e.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),o}function To(t,e,n){const{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);const s=i["onTap"+("End"===n?"":n)];s&&H.Gt.postRender(()=>s(e,Ti(e)))}const Fo=["root"],Po=new WeakMap,So=new WeakMap,bo=t=>{const e=Po.get(t.target);e&&e(t)},Eo=t=>{t.forEach(bo)};function ko(t,e,n){const i=function(t){let{root:e}=t,n=(0,wt.A)(t,Fo);const i=e||document;So.has(i)||So.set(i,{});const s=So.get(i),o=JSON.stringify(n);return s[o]||(s[o]=new IntersectionObserver(Eo,(0,ot.A)({root:e},n))),s[o]}(e);return Po.set(t,n),i.observe(t),()=>{Po.delete(t),i.unobserve(t)}}const Do={some:0,all:1};const Mo={inView:{Feature:class extends fi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:s}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"===typeof i?i:Do[i]};return ko(this.node.current,o,t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,s&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),o=e?n:i;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"===typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node,n=["amount","margin","root"].some(function(t){let{viewport:e={}}=t,{viewport:n={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=>e[t]!==n[t]}(t,e));n&&this.startObserver()}unmount(){}}},tap:{Feature:class extends fi{mount(){const{current:t}=this.node;t&&(this.unmount=wo(t,(t,e)=>(To(this.node,e,"Start"),(t,e)=>{let{success:n}=e;return To(this.node,t,n?"End":"Cancel")}),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends fi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,Ci.F)(Ai(this.node.current,"focus",()=>this.onFocus()),Ai(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends fi{mount(){const{current:t}=this.node;t&&(this.unmount=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const[i,s,o]=co(t,n),r=t=>
2{if(!ho(t))return;const{target:n}=t,i=e(n,t);if("function"!==typeof i||!n)return;const o=t=>{ho(t)&&(i(t),n.removeEventListener("pointerleave",o))};n.addEventListener("pointerleave",o,s)};return i.forEach(t=>{t.addEventListener("pointerenter",r,s)}),o}(t,(t,e)=>(po(this.node,e,"Start"),t=>po(this.node,t,"End"))))}unmount(){}}}},Vo={layout:{ProjectionNode:ao,MeasureLayout:es}},Co=tn((0,ot.A)((0,ot.A)((0,ot.A)((0,ot.A)({},gi),Mo),lo),Vo),ve)},7939(t,e,n){n.d(e,{K:()=>i});const i=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,i="";const s=Math.max(Math.round(e/n),2);for(let o=0;o<s;o++)i+=Math.round(1e4*t(o/(s-1)))/1e4+", ";return"linear(".concat(i.substring(0,i.length-2),")")}},8103(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("git-pull-request",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]])},8366(t,e,n){n.d(e,{I:()=>r});var i=n(9950),s=n(695),o=n(8388);function r(){!o.r.current&&(0,s.U)();const[t]=(0,i.useState)(o.O.current);return t}},8388(t,e,n){n.d(e,{O:()=>i,r:()=>s});const i={current:null},s={current:!1}},8527(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("tablet",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]])},8673(t,e,n){n.d(e,{F:()=>s});const i=(t,e)=>n=>e(t(n)),s=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce(i)}},9072(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},9305(t,e,n){n.d(e,{M:()=>s});var i=n(9950);function s(t){const e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},9389(t,e,n){n.d(e,{l:()=>i});const i=t=>t},9535(t,e,n){n.d(e,{A:()=>i});const i=(0,n(6230).A)("image-plus",[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]])},9536(t,e,n){n.d(e,{B:()=>o});var i=n(3718),s=n(7829);function o(t){let{keyframes:e,velocity:n=0,power:o=.8,timeConstant:r=325,bounceDamping:a=10,bounceStiffness:l=500,modifyTarget:u,min:c,max:h,restDelta:d=.5,restSpeed:p}=t;const m=e[0],f={done:!1,value:m},v=t=>void 0===c?h:void 0===h||Math.abs(c-t)<Math.abs(h-t)?c:h;let g=o*n;const y=m+g,x=void 0===u?y:u(y);x!==y&&(g=x-m);const A=t=>-g*Math.exp(-t/r),w=t=>x+A(t),T=t=>{const e=A(t),n=w(t);f.done=Math.abs(e)<=d,f.value=f.done?x:n};let F,P;const S=t=>{var e;(e=f.value,void 0!==c&&e<c||void 0!==h&&e>h)&&(F=t,P=(0,i.o)({keyframes:[f.value,v(f.value)],velocity:(0,s.Y)(w,t,f.value),damping:a,stiffness:l,restDelta:d,restSpeed:p}))};return S(0),{calculatedDuration:null,next:t=>{let e=!1;return P||void 0!==F||(e=!0,T(t),S(t)),void 0!==F&&t>=F?P.next(t-F):(!e&&T(t),f)}}}},9699(t,e,n){n.d(e,{s:()=>s});var i=n(911);function s(t){return(0,i.G)(t)&&"offsetHeight"in t}},9712(t,e,n){n.d(e,{q:()=>i});const i=(t,e,n)=>{const i=e-t;return 0===i?1:(n-t)/i}},9909(t,e,n){n.d(e,{Z:()=>o});var i=n(9712),s=n(6240);function o(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let o=1;o<=e;o++){const r=(0,i.q)(0,e,o);t.push((0,s.k)(n,1,r))}}(e,t.length-1),e}},9925(t,e,n){n.d(e,{D:()=>i});const i=t=>Array.isArray(t)&&"number"===typeof t[0]}}]);

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.