vendor: 1,405 bytes, line 1
1import{a as e,n as t,o as n,r,t as i}from"../assets/rolldown-runtime-CMxvf4Kt.js";import{Ao as a,jo as o,to as s,wo as c}from"../assets/app-const-BzFqCjOv.js";import{C as l,w as u}from"./vendor-react-Bwss5s6Y.js";function d(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function f(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var p,m,h=t((()=>{p=!1,m=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0?!p:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(f(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=d(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 13,993 bytes, line 1
1,t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}()})),g,_,v,y,b,x,S,C,w,ee=t((()=>{g=`-ms-`,_=`-moz-`,v=`-webkit-`,y=`comm`,b=`rule`,x=`decl`,S=`@import`,C=`@keyframes`,w=`@layer`}));function te(e,t){return D(e,0)^45?(((t<<2^D(e,0))<<2^D(e,1))<<2^D(e,2))<<2^D(e,3):0}function T(e){return e.trim()}function ne(e,t){return(e=t.exec(e))?e[0]:e}function E(e,t,n){return e.replace(t,n)}function re(e,t){return e.indexOf(t)}function D(e,t){return e.charCodeAt(t)|0}function ie(e,t,n){return e.slice(t,n)}function ae(e){return e.length}function oe(e){return e.length}function se(e,t){return t.push(e),e}function ce(e,t){return e.map(t).join(``)}var le,ue,de,fe=t((()=>{le=Math.abs,ue=String.fromCharCode,de=Object.assign}));function pe(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:ke,column:Ae,length:o,return:``}}function me(e,t){return de(pe(``,null,null,``,null,null,0),e,{length:-e.length},t)}function he(){return A}function ge(){return A=k>0?D(Me,--k):0,Ae--,A===10&&(Ae=1,ke--),A}function O(){return A=k<je?D(Me,k++):0,Ae++,A===10&&(Ae=1,ke++),A}function _e(){return D(Me,k)}function ve(){return k}function ye(e,t){return ie(Me,e,t)}function be(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function xe(e){return ke=Ae=1,je=ae(Me=e),k=0,[]}function Se(e){return Me=``,e}function Ce(e){return T(ye(k-1,Ee(e===91?e+2:e===40?e+1:e)))}function we(e){for(;(A=_e())&&A<33;)O();return be(e)>2||be(A)>3?``:` `}function Te(e,t){for(;--t&&O()&&!(A<48||A>102||A>57&&A<65||A>70&&A<97););return ye(e,ve()+(t<6&&_e()==32&&O()==32))}function Ee(e){for(;O();)switch(A){case e:return k;case 34:case 39:e!==34&&e!==39&&Ee(A);break;case 40:e===41&&Ee(e);break;case 92:O();break}return k}function De(e,t){for(;O()&&e+A!==57&&!(e+A===84&&_e()===47););return`/*`+ye(t,k-1)+`*`+ue(e===47?e:O())}function Oe(e){for(;!be(_e());)O();return ye(e,k)}var ke,Ae,je,k,A,Me,Ne=t((()=>{fe(),ke=1,Ae=1,je=0,k=0,A=0,Me=``}));function Pe(e){return Se(Fe(``,null,null,null,[``],e=xe(e),0,[0],e))}function Fe(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=O()){case 40:if(m!=108&&D(C,d-1)==58){re(C+=E(Ce(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Ce(v);break;case 9:case 10:case 13:case 32:C+=we(m);break;case 92:C+=Te(ve()-1,7);continue;case 47:switch(_e()){case 42:case 47:se(Le(De(O(),ve()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=ae(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=E(C,/\f/g,``)),p>0&&ae(C)-d&&se(p>32?Re(C+`;`,r,n,d-1):Re(E(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(se(S=Ie(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)Fe(C,t,S,S,b,a,d,s,x);else switch(f===99&&D(C,3)===110?100:f){case 100:case 108:case 109:case 115:Fe(e,S,S,r&&se(Ie(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:Fe(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+ae(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&ge()==125)continue}switch(C+=ue(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(ae(C)-1)*_,_=1;break;case 64:_e()===45&&(C+=Ce(O())),f=_e(),u=d=ae(y=C+=Oe(ve())),v++;break;case 45:m===45&&ae(C)==2&&(h=0)}}return a}function Ie(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=oe(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=ie(e,d+1,d=le(h=o[m])),y=e;_<p;++_)(y=T(h>0?f[_]+` `+v:E(v,/&\f/g,f[_])))&&(c[g++]=y);return pe(e,t,n,i===0?b:s,c,l,u)}function Le(e,t,n){return pe(e,t,n,y,ue(he()),ie(e,2,-2),0)}function Re(e,t,n,r){return pe(e,t,n,x,ie(e,0,r),ie(e,r+1,-1),r)}var ze=t((()=>{ee(),fe(),Ne()})),Be=t((()=>{}));function Ve(e,t){for(var n=``,r=oe(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function He(e,t,n,r){switch(e.type){case w:if(e.children.length)break;case S:case x:return e.return=e.return||e.value;case y:return``;case C:return e.return=e.value+`{`+Ve(e.children,r)+`}`;case b:e.value=e.props.join(`,`)}return ae(n=Ve(e.children,r))?e.return=e.value+`{`+n+`}`:``}var Ue=t((()=>{ee(),fe()}));function We(e){var t=oe(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function Ge(e){return function(t){t.root||(t=t.return)&&e(t)}}var Ke=t((()=>{fe()})),qe=t((()=>{ee(),fe(),ze(),Be(),Ne(),Ue(),Ke()})),Je,Ye=t((()=>{Je=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}}));function Xe(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Ze=t((()=>{}));function Qe(e,t){switch(te(e,t)){case 5103:return v+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return v+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return v+e+_+e+g+e+e;case 6828:case 4268:return v+e+g+e+e;case 6165:return v+e+g+`flex-`+e+e;case 5187:return v+e+E(e,/(\w+).+(:[^]+)/,v+`box-$1$2`+g+`flex-$1$2`)+e;case 5443:return v+e+g+`flex-item-`+E(e,/flex-|-self/,``)+e;case 4675:return v+e+g+`flex-line-pack`+E(e,/align-content|flex-|-self/,``)+e;case 5548:return v+e+g+E(e,`shrink`,`negative`)+e;case 5292:return v+e+g+E(e,`basis`,`preferred-size`)+e;case 6060:return v+`box-`+E(e,`-grow`,``)+v+e+g+E(e,`grow`,`positive`)+e;case 4554:return v+E(e,/([^-])(transform)/g,`$1`+v+`$2`)+e;case 6187:return E(E(E(e,/(zoom-|grab)/,v+`$1`),/(image-set)/,v+`$1`),e,``)+e;case 5495:case 3959:return E(e,/(image-set\([^]*)/,v+"$1$`$1");case 4968:return E(E(e,/(.+:)(flex-)?(.*)/,v+`box-pack:$3`+g+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+v+e+e;case 4095:case 3583:case 4068:case 2532:return E(e,/(.+)-inline(.+)/,v+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ae(e)-1-t>6)switch(D(e,t+1)){case 109:if(D(e,t+4)!==45)break;case 102:return E(e,/(.+:)(.+)-([^]+)/,`$1`+v+`$2-$3$1`+_+(D(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~re(e,`stretch`)?Qe(E(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(D(e,t+1)!==115)break;case 6444:switch(D(e,ae(e)-3-(~re(e,`!important`)&&10))){case 107:return E(e,`:`,`:`+v)+e;case 101:return E(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+v+(D(e,14)===45?`inline-`:``)+`box$3$1`+v+`$2$3$1`+g+`$2box$3`)+e}break;case 5936:switch(D(e,t+11)){case 114:return v+e+g+E(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return v+e+g+E(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return v+e+g+E(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return v+e+g+e+e}return e}var $e,et,tt,nt,rt,it,at,ot,st=t((()=>{h(),qe(),$e=function(e,t,n){for(var r=0,i=0;r=i,i=_e(),r===38&&i===12&&(t[n]=1),!be(i);)O();return ye(e,k)},et=function(e,t){var n=-1,r=44;do switch(be(r)){case 0:r===38&&_e()===12&&(t[n]=1),e[n]+=$e(k-1,t,n);break;case 2:e[n]+=Ce(r);break;case 4:if(r===44){e[++n]=_e()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=ue(r)}while(r=O());return e},tt=function(e,t){return Se(et(xe(e),t))},nt=new WeakMap,rt=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!nt.get(n))&&!r){nt.set(e,!0);for(var i=[],a=tt(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},it=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}},at=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case x:e.return=Qe(e.value,e.length);break;case C:return Ve([me(e,{value:E(e.value,`@`,`@`+v)})],r);case b:if(e.length)return ce(e.props,function(t){switch(ne(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Ve([me(e,{props:[E(t,/:(read-\w+)/,`:`+_+`$1`)]})],r);case`::placeholder`:return Ve([me(e,{props:[E(t,/:(plac\w+)/,`:`+v+`input-$1`)]}),me(e,{props:[E(t,/:(plac\w+)/,`:`+_+`$1`)]}),me(e,{props:[E(t,/:(plac\w+)/,g+`input-$1`)]})],r)}return``})}}],ot=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||at,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[rt,it],l,u=[He,Ge(function(e){l.insert(e)})],d=We(c.concat(r,u)),f=function(e){return Ve(Pe(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new m({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p}}));function ct(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var lt=t((()=>{})),ut,dt=t((()=>{ut={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}}));function ft(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return wt={name:i.name,styles:i.styles,next:wt},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)wt={name:o.name,styles:o.styles,next:wt},o=o.next;return a.styles+`;`}return pt(e,t,n);case`function`:if(e!==void 0){var s=wt,c=n(e);return wt=s,ft(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function pt(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=ft(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:yt(s)&&(r+=bt(a)+`:`+xt(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&ht)throw Error(St);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)yt(o[c])&&(r+=bt(a)+`:`+xt(a,o[c])+`;`);else{var l=ft(e,t,o);switch(a){case`animation`:case`animationName`:r+=bt(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}function mt(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;wt=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=ft(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=ft(n,t,e[o]),r&&(i+=a[o]);Ct.lastIndex=0;for(var s=``,c;(c=Ct.exec(i))!==null;)s+=`-`+c[1];return{name:ct(i)+s,styles:i,next:wt}}var ht,gt,_t,vt,yt,bt,xt,St,Ct,wt,Tt=t((()=>{lt(),dt(),Ze(),ht=!1,gt=/[A-Z]|^ms/g,_t=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vt=function(e){return e.charCodeAt(1)===45},yt=function(e){return e!=null&&typeof e!=`boolean`},bt=Xe(function(e){return vt(e)?e:e.replace(gt,`-$&`).toLowerCase()}),xt=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(_t,function(e,t,n){return wt={name:t,styles:n,next:wt},t})}return ut[e]!==1&&!vt(e)&&typeof t==`number`&&t!==0?t+`px`:t},St=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`,Ct=/label:\s*([^\s;{]+)\s*(;|$)/g}));function Et(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Dt,Ot,kt,At=t((()=>{Dt=!0,Ot=function(e,t,n){var r=e.key+`-`+t.name;(n===!1||Dt===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},kt=function(e,t,n){Ot(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}}}));function jt(e,t){if(e.inserted[t.name]===void 0)return e.insert(``,t,e.sheet,!0)}function Mt(e,t,n){var r=[],i=Et(e,r,n);return r.length<2?n:i+t(r)}var Nt,Pt,Ft=t((()=>{st(),Tt(),At(),Nt=function(e){var t=ot(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){var e=mt([...arguments],t.registered,void 0);return kt(t,e,!1),t.key+`-`+e.name};return{css:n,cx:function(){var e=[...arguments];return Mt(t.registered,n,Pt(e))},injectGlobal:function(){jt(t,mt([...arguments],t.registered))},keyframes:function(){var e=mt([...arguments],t.registered),n=`animation-`+e.name;return jt(t,{name:e.name,styles:`@keyframes `+n+`{`+e.styles+`}`}),n},hydrate:function(e){e.forEach(function(e){t.inserted[e]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:Et.bind(null,t.registered),merge:Mt.bind(null,t.registered,n)}},Pt=function e(t){for(var n=``,r=0;r<t.length;r++){var i=t[r];
1if(i!=null){var a=void 0;switch(typeof i){case`boolean`:break;case`object`:if(Array.isArray(i))a=e(i);else for(var o in a=``,i)i[o]&&o&&(a&&(a+=` `),a+=o);break;default:a=i}a&&(n&&(n+=` `),n+=a)}}return n}})),It,Lt,Rt=t((()=>{Ft(),It=Nt({key:`css`}),It.flush,It.hydrate,It.cx,It.merge,It.getRegisteredStyles,It.injectGlobal,It.keyframes,It.css,It.sheet,Lt=It.cache}));function zt(){return zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zt.apply(null,arguments)}var Bt=t((()=>{})),Vt=i((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Ht=i(((e,t)=>{t.exports=Vt()})),Ut=i(((e,t)=>{var n=Ht(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h})),Wt,Gt,Kt,qt,Jt,Yt=t((()=>{Wt=n(o()),Gt=function(e){return e()},Kt=Wt.useInsertionEffect?Wt.useInsertionEffect:!1,qt=Kt||Gt,Jt=Kt||Wt.useLayoutEffect})),Xt,Zt,Qt,$t,en,tn,nn,rn,an,on,sn,cn,ln,un=t((()=>{Xt=n(o()),Zt=n(o()),st(),Bt(),Ye(),At(),Tt(),Yt(),Qt=Xt.createContext(typeof HTMLElement<`u`?ot({key:`css`}):null),Qt.Provider,$t=function(e){return(0,Zt.forwardRef)(function(t,n){return e(t,(0,Zt.useContext)(Qt),n)})},en=Xt.createContext({}),tn=function(e,t){return typeof t==`function`?t(e):zt({},e,t)},nn=Je(function(e){return Je(function(t){return tn(e,t)})}),rn=function(e){var t=Xt.useContext(en);return e.theme!==t&&(t=nn(t)(e.theme)),Xt.createElement(en.Provider,{value:t},e.children)},an={}.hasOwnProperty,on=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,sn=function(e,t){var n={};for(var r in t)an.call(t,r)&&(n[r]=t[r]);return n[on]=e,n},cn=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ot(t,n,r),qt(function(){return kt(t,n,r)}),null},ln=$t(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[on],a=[r],o=``;typeof e.className==`string`?o=Et(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=mt(a,void 0,Xt.useContext(en));o+=t.key+`-`+s.name;var c={};for(var l in e)an.call(e,l)&&l!==`css`&&l!==on&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),Xt.createElement(Xt.Fragment,null,Xt.createElement(cn,{cache:t,serialized:s,isStringTag:typeof i==`string`}),Xt.createElement(i,c))})})),dn,fn,pn,mn=t((()=>{un(),dn=n(o()),At(),Yt(),Tt(),Ut(),fn=function(e,t){var n=arguments;if(t==null||!an.call(t,`css`))return dn.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=ln,i[1]=sn(e,t);for(var a=2;a<r;a++)i[a]=n[a];return dn.createElement.apply(null,i)},(function(e){var t;t||=e.JSX||={}})(fn||={}),pn=$t(function(e,t){var n=e.styles,r=mt([n],void 0,dn.useContext(en)),i=dn.useRef();return Jt(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),Jt(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&kt(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null})})),hn,gn,_n=t((()=>{hn=n(o()),gn=e=>{let t=hn.useRef(e);return t.current=e,hn.useCallback((...e)=>t.current?.(...e),[])}}));function vn(){return!!(typeof window<`u`&&window.document&&window.document.createElement)}var yn=t((()=>{})),bn,xn,Sn,Cn,wn=t((()=>{bn=n(o()),yn(),xn=vn()?bn.useLayoutEffect:bn.useEffect,Sn=(e,t)=>{let n=bn.useRef(!0);xn(()=>e(n.current),t),xn(()=>(n.current=!1,()=>{n.current=!0}),[])},Cn=(e,t)=>{Sn(t=>{if(!t)return e()},t)}})),Tn,En,Dn=t((()=>{Tn=n(o()),En=e=>{let t=Tn.useRef(!1),[n,r]=Tn.useState(e);Tn.useEffect(()=>(t.current=!1,()=>{t.current=!0}),[]);function i(e,n){n&&t.current||r(e)}return[n,i]}})),On=t((()=>{_n(),wn(),Dn()}));function kn(e,t){let[n,r]=(0,An.useState)(e),i=t===void 0?n:t;return Sn(e=>{e||r(t)},[t]),[i,r]}var An,jn=t((()=>{An=n(o()),wn()}));function Mn(e){In.delete(e)}var Nn,Pn,Fn,In,Ln,Rn=t((()=>{Nn=e=>+setTimeout(e,16),Pn=e=>clearTimeout(e),typeof window<`u`&&`requestAnimationFrame`in window&&(Nn=e=>window.requestAnimationFrame(e),Pn=e=>window.cancelAnimationFrame(e)),Fn=0,In=new Map,Ln=(e,t=1)=>{Fn+=1;let n=Fn;function r(t){if(t===0)Mn(n),e();else{let e=Nn(()=>{r(t-1)});In.set(n,e)}}return r(t),n},Ln.cancel=e=>{let t=In.get(e);return Mn(e),Pn(t)}})),zn=t((()=>{o(),Rn(),_n()}));function Bn(){return{...Hn}.useId}function Vn(e,t){return`${e}-${String(t).replace(/[^a-zA-Z0-9_.:-]/g,`-`)}`}var Hn,Un,Wn,Gn,Kn=t((()=>{Hn=n(o()),Un=0,Wn=Bn(),Gn=Wn?function(e){let t=Wn();return e||t}:function(e){let[t,n]=Hn.useState(`ssr-id`);return Hn.useEffect(()=>{let e=Un;Un+=1,n(`rc_unique_${e}`)},[]),e||t}}));
1function qn(e,t,n){let r=Jn.useRef({});return(!(`value`in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}var Jn,Yn=t((()=>{Jn=n(o())}));function Xn(e){let[,t]=Zn.useReducer(e=>e+1,0),n=Zn.useRef(e);return[gn(()=>n.current),gn(e=>{n.current=typeof e==`function`?e(n.current):e,t()})]}var Zn,Qn=t((()=>{Zn=n(o()),_n()})),$n=i((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.suspense_list`),d=Symbol.for(`react.memo`),f=Symbol.for(`react.lazy`),p=Symbol.for(`react.view_transition`);function m(e){if(typeof e==`object`&&e){var m=e.$$typeof;switch(m){case t:switch(e=e.type,e){case r:case a:case i:case l:case u:case p:return e;default:switch(e&&=e.$$typeof,e){case s:case c:case f:case d:return e;case o:return e;default:return m}}case n:return m}}}e.ForwardRef=c,e.isMemo=function(e){return m(e)===d}})),er=i(((e,t)=>{t.exports=$n()}));function tr(e){return e&&typeof e==`object`&&(e.$$typeof===nr||e.$$typeof===rr)&&e.type===ir}var nr,rr,ir,ar=t((()=>{nr=Symbol.for(`react.element`),rr=Symbol.for(`react.transitional.element`),ir=Symbol.for(`react.fragment`)}));function or(e){return(0,sr.isValidElement)(e)&&!tr(e)}var sr,cr,lr,ur,dr,fr,pr,mr,hr,gr=t((()=>{sr=n(o()),cr=er(),Yn(),ar(),lr=Number(sr.version.split(`.`)[0]),ur=(e,t)=>{typeof e==`function`?e(t):typeof e==`object`&&e&&`current`in e&&(e.current=t)},dr=(...e)=>{let t=e.filter(Boolean);return t.length<=1?t[0]:t=>{e.forEach(e=>{ur(e,t)})}},fr=(...e)=>qn(()=>dr(...e),e,(e,t)=>e.length!==t.length||e.every((e,n)=>e!==t[n])),pr=e=>{if(!e)return!1;if(or(e)&&lr>=19)return!0;let t=(0,cr.isMemo)(e)?e.type.type:e.type;return!(typeof t==`function`&&!t.prototype?.render&&t.$$typeof!==cr.ForwardRef||typeof e==`function`&&!e.prototype?.render&&e.$$typeof!==cr.ForwardRef)},mr=e=>or(e)&&pr(e),hr=e=>{if(e&&or(e)){let t=e;return t.props.propertyIsEnumerable(`ref`)?t.props.ref:t.ref}return null}}));function _r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);let n=t;for(;n;){if(n===e)return!0;n=n.parentNode}return!1}var vr=t((()=>{}));function yr({mark:e}={}){return e?e.startsWith(`data-`)?e:`data-${e}`:Ar}function br(e){return e.attachTo?e.attachTo:document.querySelector(`head`)||document.body}function xr(e){return e===`queue`?`prependQueue`:e?`prepend`:`append`}function Sr(e){return Array.from((jr.get(e)||e).children).filter(e=>e.tagName===`STYLE`)}function Cr(e,t={}){if(!vn())return null;let{csp:n,prepend:r,priority:i=0}=t,a=xr(r),o=a===`prependQueue`,s=document.createElement(`style`);s.setAttribute(Or,a),o&&i&&s.setAttribute(kr,`${i}`),n?.nonce&&(s.nonce=n?.nonce),s.innerHTML=e;let c=br(t),{firstChild:l}=c;if(r){if(o){let e=(t.styles||Sr(c)).filter(e=>[`prepend`,`prependQueue`].includes(e.getAttribute(Or))?i>=Number(e.getAttribute(kr)||0):!1);if(e.length)return c.insertBefore(s,e[e.length-1].nextSibling),s}c.insertBefore(s,l)}else c.appendChild(s);return s}function wr(e,t={}){let{styles:n}=t;return n||=Sr(br(t)),n.find(n=>n.getAttribute(yr(t))===e)}function Tr(e,t={}){let n=wr(e,t);n&&br(t).removeChild(n)}function Er(e,t){let n=jr.get(e);if(!n||!_r(document,n)){let n=Cr(``,t),{parentNode:r}=n;jr.set(e,r),e.removeChild(n)}}function Dr(e,t,n={}){let r=br(n),i=Sr(r),a={...n,styles:i};Er(r,a);let o=wr(t,a);if(o)return a.csp?.nonce&&o.nonce!==a.csp?.nonce&&(o.nonce=a.csp?.nonce),o.innerHTML!==e&&(o.innerHTML=e),o;let s=Cr(e,a);return s.setAttribute(yr(a),t),s}var Or,kr,Ar,jr,Mr=t((()=>{yn(),vr(),Or=`data-rc-order`,kr=`data-rc-priority`,Ar=`rc-util-key`,jr=new Map}));function Nr(e){return e instanceof HTMLElement||e instanceof SVGElement}function Pr(e){return e&&typeof e==`object`&&Nr(e.nativeElement)?e.nativeElement:Nr(e)?e:null}var Fr=t((()=>{})),Ir,Lr=t((()=>{Ir=(e=>{if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){let{width:t,height:n}=e.getBBox();if(t||n)return!0}if(e.getBoundingClientRect){let{width:t,height:n}=e.getBoundingClientRect();if(t||n)return!0}}return!1})}));function Rr(e,t=!1){if(Ir(e)){let n=e.nodeName.toLowerCase(),r=[`input`,`select`,`textarea`,`button`].includes(n)||e.isContentEditable||n===`a`&&!!e.getAttribute(`href`),i=e.getAttribute(`tabindex`),a=Number(i),o=null;return i&&!Number.isNaN(a)?o=a:r&&o===null&&(o=0),r&&e.disabled&&(o=null),o!==null&&(o>=0||t&&o<0)}return!1}function zr(e,t=!1){let n=[...e.querySelectorAll(`*`)].filter(e=>Rr(e,t));return Rr(e,t)&&n.unshift(e),n}function Br(e,t){if(!e)return;e.focus(t);let{cursor:n}=t||{};if(n&&(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)){let t=e.value.length;switch(n){case`start`:e.setSelectionRange(0,0);break;case`end`:e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}function Vr(){return Zr[Zr.length-1]}function Hr(e){let t=Vr();if(e&&t){let n;for(let[e,r]of Qr.entries())if(r===t){n=e;break}let r=$r.get(n);return!!r&&(r===e||r.contains(e))}return!1}function Ur(e){let{activeElement:t}=document;return e===t||e.contains(t)}function Wr(){let e=Vr(),{activeElement:t}=document;if(!Hr(t))if(e&&!Ur(e)){let t=zr(e);(t.includes(Xr)?Xr:t[0])?.focus({preventScroll:!0})}else Xr=t}function Gr(e){if(e.key===`Tab`){let{activeElement:t}=document,n=zr(Vr()),r=n[n.length-1];e.shiftKey&&t===n[0]?Xr=r:!e.shiftKey&&t===r&&(Xr=n[0])}}function Kr(e,t){return e&&(Qr.set(t,e),Zr=Zr.filter(t=>t!==e),Zr.push(e),window.addEventListener(`focusin`,Wr),window.addEventListener(`ke
1ydown`,Gr,!0),Wr()),()=>{Xr=null,Zr=Zr.filter(t=>t!==e),Qr.delete(t),$r.delete(t),Zr.length===0&&(window.removeEventListener(`focusin`,Wr),window.removeEventListener(`keydown`,Gr,!0))}}function qr(e,t){let n=(0,Yr.useRef)(0),[r,i]=(0,Yr.useState)(0);(0,Yr.useEffect)(()=>{n.current=0},t),(0,Yr.useEffect)(()=>{let[t,r]=e(n.current);return r||(n.current+=1,i(e=>e+1)),t},[...t,r])}function Jr(e,t){let n=Gn(),r=(0,Yr.useRef)(t);return r.current=t,qr(t=>{if(!e)return[void 0,!0];let i=r.current();return i?[Kr(i,n),!0]:[void 0,t>=1]},[n,e]),[e=>{e&&$r.set(n,e)}]}var Yr,Xr,Zr,Qr,$r,ei=t((()=>{Yr=n(o()),Lr(),Kn(),Xr=null,Zr=[],Qr=new Map,$r=new Map}));function ti(e){return e?.getRootNode?.()}function ni(e){return ti(e)instanceof ShadowRoot}function ri(e){return ni(e)?ti(e):null}var ii=t((()=>{}));function ai(e,t){return!Array.isArray(e)&&t!==void 0?si(e,t):oi(e)}var oi,si,ci=t((()=>{yn(),oi=e=>{if(vn()&&window.document.documentElement){let t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(e=>e in n.style)}return!1},si=(e,t)=>{if(!oi(e))return!1;let n=document.createElement(`div`),r=n.style[e];return n.style[e]=t,n.style[e]!==r}})),j,li=t((()=>{j={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){let{keyCode:t}=e;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=j.F1&&t<=j.F12)return!1;switch(t){case j.ALT:case j.CAPS_LOCK:case j.CONTEXT_MENU:case j.CTRL:case j.DOWN:case j.END:case j.ESC:case j.HOME:case j.INSERT:case j.LEFT:case j.MAC_FF_META:case j.META:case j.NUMLOCK:case j.NUM_CENTER:case j.PAGE_DOWN:case j.PAGE_UP:case j.PAUSE:case j.PRINT_SCREEN:case j.RIGHT:case j.SHIFT:case j.UP:case j.WIN_KEY:case j.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=j.ZERO&&e<=j.NINE||e>=j.NUM_ZERO&&e<=j.NUM_MULTIPLY||e>=j.A&&e<=j.Z||window.navigator.userAgent.indexOf(`WebKit`)!==-1&&e===0)return!0;switch(e){case j.SPACE:case j.QUESTION_MARK:case j.NUM_PLUS:case j.NUM_MINUS:case j.NUM_PERIOD:case j.NUM_DIVISION:case j.SEMICOLON:case j.DASH:case j.EQUALS:case j.COMMA:case j.PERIOD:case j.SLASH:case j.APOSTROPHE:case j.SINGLE_QUOTE:case j.OPEN_SQUARE_BRACKET:case j.BACKSLASH:case j.CLOSE_SQUARE_BRACKET:return!0;default:return!1}},isEditableTarget:function(e){let t=e.target;if(!(t instanceof HTMLElement))return!1;let n=t.tagName;return!!(n===`INPUT`||n===`TEXTAREA`||n===`SELECT`||t.isContentEditable)}}}));function ui(e){let t=`rc-scrollbar-measure-${Math.random().toString(36).substring(7)}`,n=document.createElement(`div`);n.id=t;let r=n.style;r.position=`absolute`,r.left=`0`,r.top=`0`,r.width=`100px`,r.height=`100px`,r.overflow=`scroll`;let i,a;if(e){let n=getComputedStyle(e);r.scrollbarColor=n.scrollbarColor,r.scrollbarWidth=n.scrollbarWidth;let o=getComputedStyle(e,`::-webkit-scrollbar`),s=parseInt(o.width,10),c=parseInt(o.height,10);try{Dr(` 2#${t}::-webkit-scrollbar {
3${s?`width: ${o.width};`:``} 4${c?`height: ${o.height};`:``} 5}`,t)}catch(e){console.error(e),i=s,a=c}}document.body.appendChild(n);let o=e&&i&&!Number.isNaN(i)?i:n.offsetWidth-n.clientWidth,s=e&&a&&!Number.isNaN(a)?a:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),Tr(t),{width:o,height:s}}function di(e){return typeof document>`u`?0:((e||pi===void 0)&&(pi=ui()),pi.width)}function fi(e){return typeof document>`u`||!e||!(e instanceof Element)?{width:0,height:0}:ui(e)}var pi,mi=t((()=>{Mr()}));function hi(e,t){}function gi(e,t){}function _i(){xi={}}function vi(e,t,n){!t&&!xi[n]&&(e(!1,n),xi[n]=!0)}function yi(e,t){vi(hi,e,t)}function bi(e,t){vi(gi,e,t)}var xi,Si,Ci,wi=t((()=>{xi={},Si=[],Ci=e=>{Si.push(e)},yi.preMessage=Ci,yi.resetWarned=_i,yi.noteOnce=bi}));function Ti(e,t,n=!1){let r=new Set;function i(e,t,a=1){let o=r.has(e);if(yi(!o,`Warning: There may be circular references`),o)return!1;if(e===t)return!0;if(n&&a>1)return!1;r.add(e);let s=a+1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!i(e[n],t[n],s))return!1;return!0}if(e&&t&&typeof e==`object`&&typeof t==`object`){let n=Object.keys(e);return n.length===Object.keys(t).length?n.every(n=>i(e[n],t[n],s)):!1}return!1}return i(e,t)}var Ei=t((()=>{wi()})),Di=i(((e,t)=>{t.exports=a,t.exports.isMobile=a,t.exports.default=a;var n=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|redmi|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,r=/CrOS/,i=/android|ipad|playbook|silk/i;function a(e){e||={};let t=e.ua;if(!t&&typeof navigator<`u`&&(t=navigator.userAgent),t&&t.headers&&typeof t.headers[`user-agent`]==`string`&&(t=t.headers[`user-agent`]),typeof t!=`string`)return!1;let a=n.test(t)&&!r.test(t)||!!e.tablet&&i.test(t);return!a&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf(`Macintosh`)!==-1&&t.indexOf(`Safari`)!==-1&&(a=!0),a}})),Oi,ki,Ai,ji=t((()=>{Oi=n(Di()),Ai=()=>(ki===void 0&&(ki=(0,Oi.default)()),ki)}));function Mi(e,t){let n=Object.assign({},e);return Array.isArray(t)&&t.forEach(e=>{delete n[e]}),n}var Ni=t((()=>{}));function Pi(e,t){return e.indexOf(t)===0}function Fi(e,t=!1){let n;n=t===!1?{aria:!0,data:!0,attr:!0}:t===!0?{aria:!0}:{...t};let r={};return Object.keys(e).forEach(t=>{(n.aria&&(t===`role`||Pi(t,Li))||n.data&&Pi(t,Ri)||n.attr&&Ii.includes(t))&&(r[t]=e[t])}),r}var Ii,Li,Ri,zi=t((()=>{Ii=`accept acceptCharset accessKey action allowFullScreen allowTransparency 6 alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge 7 charSet checked classID className colSpan cols content contentEditable contextMenu 8 controls coords crossOrigin data dateTime default defer dir disabled download draggable 9 encType form formAction formEncType formMethod formNoValidate formTarget frameBorder 10 headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity 11 is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media 12 mediaGroup method min minLength multiple muted name noValidate nonce open 13 optimum pattern placeholder poster preload radioGroup readOnly rel required 14 reversed role rowSpan rows sandbox scope scoped scrolling seamless selected 15 shape size sizes span spellCheck src srcDoc srcLang srcSet start step style 16 summary tabIndex target title type useMap value width wmode wrap onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown 17 onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick 18 onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown 19 onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel 20 onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough 21 onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata 22 onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad 23 onPointerDown onPointerMove onPointerUp onPointerCancel onPointerEnter onPointerLeave onPointerOver onPointerOut onGotPointerCapture onLostPointerCapture 24 onAnimationStart onAnimationEnd onAnimationIteration 25 onTransitionEnd onTransitionRun onTransitionStart onTransitionCancel 26 onBeforeInput onReset onInvalid 27 onAuxClick onToggle onBeforeToggle onCancel onClose onResize onScrollEnd`.split(/[\s\n]+/),Li=`aria-`,Ri=`data-`}));function Bi(e,t){return typeof Proxy<`u`&&e?new Proxy(e,{get(e,n){if(t[n])return t[n];let r=e[n];
27return typeof r==`function`?r.bind(e):r}}):e}var Vi=t((()=>{}));function Hi(e,t={}){let n=[];return Ui.Children.forEach(e,e=>{e==null&&!t.keepEmpty||(Array.isArray(e)?n=n.concat(Hi(e)):tr(e)&&e.props?n=n.concat(Hi(e.props.children,t)):n.push(e))}),n}var Ui,Wi=t((()=>{ar(),Ui=n(o())}));function Gi(e,t){let n=e;for(let e=0;e<t.length;e+=1){if(n==null)return;n=n[t[e]]}return n}var Ki=t((()=>{}));function qi(e,t,n,r){if(!t.length)return n;let[i,...a]=t,o;return o=!e&&typeof i==`number`?[]:Array.isArray(e)?[...e]:{...e},r&&n===void 0&&a.length===1?delete o[i][a[0]]:o[i]=qi(o[i],a,n,r),o}function Ji(e,t,n,r=!1){return t.length&&r&&n===void 0&&!Gi(e,t.slice(0,-1))?e:qi(e,t,n,r)}function Yi(e){return typeof e==`object`&&!!e&&Object.getPrototypeOf(e)===Object.prototype}function Xi(e){return Array.isArray(e)?[]:{}}function Zi(e,t={}){let{prepareArray:n}=t,r=n||(()=>[]),i=Xi(e[0]);return e.forEach(e=>{function t(n,a){let o=new Set(a),s=Gi(e,n),c=Array.isArray(s);if(c||Yi(s)){if(!o.has(s)){o.add(s);let e=Gi(i,n);c?i=Ji(i,n,r(e,s)):(!e||typeof e!=`object`)&&(i=Ji(i,n,Xi(s))),$i(s).forEach(e=>{Object.getOwnPropertyDescriptor(s,e).enumerable&&t([...n,e],o)})}}else i=Ji(i,n,s)}t([])}),i}function Qi(...e){return Zi(e)}var $i,ea=t((()=>{Ki(),$i=typeof Reflect>`u`?Object.keys:Reflect.ownKeys}));function ta(e,t){let n=t[ia]||(0,ra.createRoot)(t);n.render(e),t[ia]=n}async function na(e){return Promise.resolve().then(()=>{e[ia]?.unmount(),delete e[ia]})}var ra,ia,aa=t((()=>{ra=n(l()),ia=`__rc_react_root__`})),oa=t((()=>{o(),u()})),sa=t((()=>{_n(),On(),jn(),zn(),Kn(),wn(),Yn(),Dn(),Qn(),gr(),yn(),vr(),Mr(),Fr(),ei(),Lr(),ii(),ci(),li(),mi(),Ei(),ji(),Ni(),zi(),Vi(),Rn(),Wi(),Ki(),ea(),wi(),aa(),oa()}));function ca(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ca(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function la(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ca(e))&&(r&&(r+=` `),r+=t);return r}var ua=t((()=>{}));function da(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var fa=t((()=>{}));function pa(e){return e.join(ma)}var ma,ha,ga,_a=t((()=>{ma=`%`,ha=0,ga=class{instanceId;constructor(e){this.instanceId=e}cache=new Map;updateTimes=new Map;extracted=new Set;get(e){return this.opGet(pa(e))}opGet(e){return this.cache.get(e)||null}update(e,t){return this.opUpdate(pa(e),t)}opUpdate(e,t){let n=t(this.cache.get(e));n===null?(this.cache.delete(e),this.updateTimes.delete(e)):(this.cache.set(e,n),this.updateTimes.set(e,ha),ha+=1)}}})),va,ya=t((()=>{va={}}));function ba(){let e=Math.random().toString(12).slice(2);if(typeof document<`u`&&document.head&&document.body){let t=document.body.querySelectorAll(`style[data-css-hash]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(t=>{t[wa]||=e,t.__cssinjs_instance__===e&&document.head.insertBefore(t,n)});let r={};Array.from(document.querySelectorAll(`style[${Ca}]`)).forEach(t=>{let n=t.getAttribute(Ca);r[n]?t.__cssinjs_instance__===e&&t.parentNode?.removeChild(t):r[n]=!0})}return new ga(e)}var xa,Sa,Ca,wa,Ta,Ea,Da=t((()=>{Yn(),Ei(),xa=n(o()),_a(),ya(),Sa=`data-token-hash`,Ca=`data-css-hash`,wa=`__cssinjs_instance__`,Ta=xa.createContext({hashPriority:`low`,cache:ba(),defaultCache:!0,autoPrefix:!1}),Ea=e=>{let{children:t,...n}=e,r=xa.useContext(Ta),i=qn(()=>{let e={...r};Object.keys(n).forEach(t=>{let r=n[t];n[t]!==void 0&&(e[t]=r)});let{cache:t,transformers:i=[]}=n;return e.cache=e.cache||ba(),e.defaultCache=!t&&r.defaultCache,i.includes(va)&&(e.autoPrefix=!0),e},[r,n],(e,t)=>!Ti(e[0],t[0],!0)||!Ti(e[1],t[1],!0));return xa.createElement(Ta.Provider,{value:i},t)}})),Oa,ka=t((()=>{Oa=`CALC_UNIT`,new RegExp(Oa,`g`)})),Aa=t((()=>{ka()}));function ja(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var Ma,Na=t((()=>{Ma=class e{static MAX_CACHE_SIZE=20;
27static MAX_CACHE_OFFSET=5;cache;keys;cacheCallTimes;constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(e,t=!1){let n={map:this.cache};return e.forEach(e=>{n=n?n?.map?.get(e):void 0}),n?.value&&t&&(n.value[1]=this.cacheCallTimes++),n?.value}get(e){return this.internalGet(e,!0)?.[0]}has(e){return!!this.internalGet(e)}set(t,n){if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){let[e]=this.keys.reduce((e,t)=>{let[,n]=e;return this.internalGet(t)[1]<n?[t,this.internalGet(t)[1]]:e},[this.keys[0],this.cacheCallTimes]);this.delete(e)}this.keys.push(t)}let r=this.cache;t.forEach((e,i)=>{if(i===t.length-1)r.set(e,{value:[n,this.cacheCallTimes++]});else{let t=r.get(e);t?t.map||=new Map:r.set(e,{map:new Map}),r=r.get(e).map}})}deleteByPath(e,t){let n=e.get(t[0]);if(t.length===1)return n.map?e.set(t[0],{map:n.map}):e.delete(t[0]),n.value?.[0];let r=this.deleteByPath(n.map,t.slice(1));return(!n.map||n.map.size===0)&&!n.value&&e.delete(t[0]),r}delete(e){if(this.has(e))return this.keys=this.keys.filter(t=>!ja(t,e)),this.deleteByPath(this.cache,e)}}})),Pa,Fa,Ia=t((()=>{wi(),Pa=0,Fa=class{derivatives;id;constructor(e){this.derivatives=Array.isArray(e)?e:[e],this.id=Pa,e.length===0&&e.length,Pa+=1}getDerivativeToken(e){return this.derivatives.reduce((t,n)=>n(e,t),void 0)}}}));function La(e){let t=Array.isArray(e)?e:[e];return Ra.has(t)||Ra.set(t,new Fa(t)),Ra.get(t)}var Ra,za=t((()=>{Na(),Ia(),Ra=new Ma})),Ba=t((()=>{Aa(),za(),Ia(),Na()}));function Va(e,t){let n=qa;for(let e=0;e<t.length;e+=1){let r=t[e];n.has(r)||n.set(r,new WeakMap),n=n.get(r)}return n.has(Ja)||n.set(Ja,e()),n.get(Ja)}function Ha(e){let t=Ya.get(e)||``;return t||(Object.keys(e).forEach(n=>{let r=e[n];t+=n,r instanceof Fa?t+=r.id:r&&typeof r==`object`?t+=Ha(r):t+=r}),t=da(t),Ya.set(e,t)),t}function Ua(e,t){return da(`${t}_${Ha(e)}`)}function Wa(e){return typeof e==`number`?`${e}px`:e}function Ga(e){let{hashCls:t,hashPriority:n=`low`}=e||{};if(!t)return``;let r=`.${t}`;return n===`low`?`:where(${r})`:r}function Ka(e,t){let n=typeof t==`function`?t():t;return n?{...e,csp:{...e.csp,nonce:n}}:e}var qa,Ja,Ya,Xa,Za,Qa=t((()=>{fa(),yn(),Da(),Ba(),qa=new WeakMap,Ja={},Ya=new WeakMap,`random-${Date.now()}-${Math.random()}`.replace(/\./g,``),Xa=vn(),Za=e=>e!=null})),$a,eo,to,no=t((()=>{Qa(),$a=(e,t=``)=>`--${t?`${t}-`:``}${e}`.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,`$1-$2`).replace(/([a-z])([A-Z0-9])/g,`$1-$2`).toLowerCase(),eo=(e,t,n)=>{let{hashCls:r,hashPriority:i=`low`,scope:a}=n||{};if(!Object.keys(e).length)return``;let o=`${Ga({hashCls:r,hashPriority:i})}.${t}`,s=[a].flat().filter(Boolean);return`${s.length?s.map(e=>`${o}.${e}`).join(`, `):o}{${Object.entries(e).map(([e,t])=>`${e}:${t};`).join(``)}}`},to=(e,t,n)=>{let{hashCls:r,hashPriority:i=`low`,prefix:a,unitless:o,ignore:s,preserve:c}=n||{},l={},u={};return Object.entries(e).forEach(([e,t])=>{if(c?.[e])u[e]=t;else if((typeof t==`string`||typeof t==`number`)&&!s?.[e]){let n=$a(e,a);l[n]=typeof t==`number`&&!o?.[e]?`${t}px`:String(t),u[e]=`var(${n})`}}),[u,eo(l,t,{scope:n?.scope,hashCls:r,hashPriority:i})]}})),ro=t((()=>{}));function io(e,t,n,r,i){let{cache:a}=ao.useContext(Ta),o=pa([e,...t]),s=e=>{a.opUpdate(o,t=>{let[r=0,i]=t||[void 0,void 0],a=[r,i||n()];return e?e(a):a})};ao.useMemo(()=>{s()},[o]);let c=a.opGet(o)[1];return(0,oo.useInsertionEffect)(()=>(s(([e,t])=>[e+1,t]),so.has(o)||(i?.(c),so.set(o,!0),Promise.resolve().then(()=>{so.delete(o)})),()=>{a.opUpdate(o,e=>{let[t=0,n]=e||[];return t-1==0?(r?.(n,!1),so.delete(o),null):[t-1,n]})}),[o]),c}var ao,oo,so,co=t((()=>{ao=n(o()),oo=n(o()),_a(),Da(),ro(),so=new Map}));function lo(e){_o.set(e,(_o.get(e)||0)+1)}function uo(e,t){typeof document<`u`&&document.querySelectorAll(`style[${Sa}="${e}"]`).forEach(e=>{e.__cssinjs_instance__===t&&e.parentNode?.removeChild(e)})}function fo(e,t){_o.set(e,(_o.get(e)||0)-1);let n=new Set;_o.forEach((e,t)=>{e<=0&&n.add(t)}),_o.size-n.size>vo&&n.forEach(e=>{uo(e,t),_o.delete(e)})}function po(e,t,n){let{cache:{instanceId:r},container:i,hashPriority:a}=(0,mo.useContext)(Ta),{salt:o=``,override:s=ho,formatToken:c,getComputedToken:l,cssVar:u,nonce:d}=n,f=Va(()=>Object.assign({},...t),t),p=Ha(f),m=Ha(s),h=Ha(u);return io(bo,[o,e.id,p,m,h],()=>{let t=l?l(f,s,e):yo(f,s,e,c),n={...t},r=`${o}_${u.prefix}`,i=da(r),d=`${go}-${i}`;n._tokenKey=Ua(n,r);let[p,m]=to(t,u.key,{prefix:u.prefix,ignore:u.ignore,unitless:u.unitless,preserve:u.preserve,hashPriority:a,hashCls:u.hashed?d:void 0});return p._hashId=i,lo(u.key),[p,d,n,m,u.key]},([,,,,e])=>{fo(e,r)},([,,,e,t])=>
vendor: 9,736 bytes, line 27
27{if(!e)return;let n={mark:Ca,prepend:`queue`,attachTo:i,priority:-999};n=Ka(n,d);let a=Dr(e,da(`css-var-${t}`),n);a[wa]=r,a.setAttribute(Sa,t)})}var mo,ho,go,_o,vo,yo,bo,xo=t((()=>{fa(),Mr(),mo=n(o()),Da(),Qa(),no(),co(),ho={},go=`css`,_o=new Map,vo=-1,yo=(e,t,n,r)=>{let i={...n.getDerivativeToken(e),...t};return r&&(i=r(i)),i},bo=`token`})),So,Co=t((()=>{So={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}})),M,wo,N,To,Eo,Do,Oo,ko,Ao,jo,Mo,No,Po,Fo=t((()=>{M=`-ms-`,wo=`-moz-`,N=`-webkit-`,To=`comm`,Eo=`rule`,Do=`decl`,Oo=`@media`,ko=`@import`,Ao=`@supports`,jo=`@namespace`,Mo=`@keyframes`,No=`@layer`,Po=`@scope`}));function Io(e,t){return F(e,0)^45?(((t<<2^F(e,0))<<2^F(e,1))<<2^F(e,2))<<2^F(e,3):0}function Lo(e){return e.trim()}function Ro(e,t){return(e=t.exec(e))?e[0]:e}function P(e,t,n){return e.replace(t,n)}function zo(e,t){return e.indexOf(t)}function F(e,t){return e.charCodeAt(t)|0}function Bo(e,t,n){return e.slice(t,n)}function Vo(e){return e.length}function Ho(e){return e.length}function Uo(e,t){return t.push(e),e}function Wo(e,t){return e.map(t).join(``)}function Go(e,t){return e.filter(function(e){return!Ro(e,t)})}var Ko,qo,Jo,Yo=t((()=>{Ko=Math.abs,qo=String.fromCharCode,Jo=Object.assign}));function Xo(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:ms,column:hs,length:o,return:``,siblings:s}}function Zo(e,t){return Jo(Xo(``,null,null,``,null,null,0,e.siblings),e,{length:-e.length},t)}function Qo(e){for(;e.root;)e=Zo(e.root,{children:[e]});Uo(e,e.siblings)}function $o(){return L}function es(){return L=I>0?F(_s,--I):0,hs--,L===10&&(hs=1,ms--),L}function ts(){return L=I<gs?F(_s,I++):0,hs++,L===10&&(hs=1,ms++),L}function ns(){return F(_s,I)}function rs(){return I}function is(e,t){return Bo(_s,e,t)}function as(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function os(e){return ms=hs=1,gs=Vo(_s=e),I=0,[]}function ss(e){return _s=``,e}function cs(e){return Lo(is(I-1,ds(e===91?e+2:e===40?e+1:e)))}function ls(e){for(;(L=ns())&&L<33;)ts();return as(e)>2||as(L)>3?``:` `}function us(e,t){for(;--t&&ts()&&!(L<48||L>102||L>57&&L<65||L>70&&L<97););return is(e,rs()+(t<6&&ns()==32&&ts()==32))}function ds(e){for(;ts();)switch(L){case e:return I;case 34:case 39:e!==34&&e!==39&&ds(L);break;case 40:e===41&&ds(e);break;case 92:ts();break}return I}function fs(e,t){for(;ts()&&e+L!==57&&!(e+L===84&&ns()===47););return`/*`+is(t,I-1)+`*`+qo(e===47?e:ts())}function ps(e){for(;!as(ns());)ts();return is(e,I)}var ms,hs,gs,I,L,_s,vs=t((()=>{Yo(),ms=1,hs=1,gs=0,I=0,L=0,_s=``}));function ys(e){return ss(bs(``,null,null,null,[``],e=os(e),0,[0],e))}function bs(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=0,b=``,x=i,S=a,C=r,w=b;g;)switch(m=y,y=ts()){case 40:m!=108&&F(w,d-1)==58?(v++,w+=`(`):w+=cs(y);break;case 41:v--,w+=`)`;break;case 34:case 39:case 91:w+=cs(y);break;case 9:case 10:case 13:case 32:if(v>0){w+=qo(y);break}w+=ls(m);break;case 92:w+=us(rs()-1,7);continue;case 47:switch(ns()){case 42:case 47:Uo(Ss(fs(ts(),rs()),t,n,c),c),(as(m||1)==5||as(ns()||1)==5)&&Vo(w)&&Bo(w,-1,void 0)!==` `&&(w+=` `);break;default:w+=`/`}break;case 123*h:s[l++]=Vo(w)*_;case 125*h:case 59:case 0:if(v>0&&y){w+=qo(y);break}switch(y){case 0:case 125:g=0;case 59+u:_==-1&&(w=P(w,/\f/g,``)),p>0&&(Vo(w)-d||h===0)&&Uo(p>32?Cs(w+`;`,r,n,d-1,c):Cs(P(w,` `,``)+`;`,r,n,d-2,c),c);break;case 59:w+=`;`;default:if(Uo(C=xs(w,t,n,l,u,i,s,b,x=[],S=[],d,a),a),y===123)if(u===0)bs(w,t,C,C,x,a,d,s,S);else{switch(f){case 99:if(F(w,3)===110)break;case 108:if(F(w,2)===97)break;default:u=0;case 100:case 109:case 115:}u?bs(e,C,C,r&&Uo(xs(e,C,C,0,0,i,s,b,i,x=[],d,S),S),i,S,d,s,r?x:S):bs(w,C,C,C,[``],S,0,s,S)}}l=u=p=0,h=_=1,b=w=``,d=o;break;case 58:d=1+Vo(w),p=m;default:if(h<1){if(y==123)--h;else if(y==125&&h++==0&&es()==125)continue}switch(w+=qo(y),y*h){case 38:_=u>0?1:(w+=`\f`,-1);break;case 44:if(v>0)break;s[l++]=(Vo(w)-1)*_,_=1;break;case 64:ns()===45&&(w+=cs(ts())),f=ns(),u=d=Vo(b=w+=ps(rs())),y++;break;case 45:m===45&&Vo(w)==2&&(h=0)}}return a}function xs(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=Ho(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=Bo(e,f+1,f=Ko(g=o[h])),b=e;v<m;++v)(b=Lo(g>0?p[v]+` `+y:P(y,/&\f/g,p[v])))&&(c[_++]=b);return Xo(e,t,n,i===0?Eo:s,c,l,u,d)}function Ss(e,t,n,r){return Xo(e,t,n,To,qo($o()),Bo(e,2,-2),0,r)}function Cs(e,t,n,r,i){return Xo(e,t,n,Do,Bo(e,0,r),Bo(e,r+1,-1),r,i)}var ws=t((()=>{Fo(),Yo(),vs()}));function Ts(e,t,n){switch(Io(e,t)){case 5103:return N+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return N+e+e;case 4855:return N+e.replace(`add`,`source-over`).replace(`substract`,`source-out`).replace(`intersect`,`source-in`).replace(`exclude`,`xor`)+e;case 4789:return wo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return N+e+wo+e+M+e+e;case 5936:switch(F(e,t+11)){case 114:return N+e+M+P(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return N+e+M+P(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return N+e+M+P(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}case 6828:case 4268:case 2903:return N+e+M+e+e;case 6165:return N+e+M+`flex-`+e+e;case 5187:return N+e+P(e,/(\w+).+(:[^]+)/,N+`box-$1$2`+M+`flex-$1$2`)+e;case 5443:return N+e+M+`flex-item-`+P(e,/flex-|-self/g,``)+(Ro(e,/flex-|baseline/)?``:M+`grid-row-`+P(e,/flex-|-self/g,``))+e;case 4675:return N+e+M+`flex-line-pack`+P(e,/align-content|flex-|-self/g,``)+e;case 5548:return N+e+M+P(e,`shrink`,`negative`)+e;case 5292:return N+e+M+P(e,`basis`,`preferred-size`)+e;case 6060:return N+`box-`+P(e,`-grow`,``)+N+e+M+P(e,`grow`,`positive`)+e;case 4554:return N+P(e,/([^-])(transform)/g,`$1`+N+`$2`)+e;case 6187:return P(P(P(e,/(zoom-|grab)/,N+`$1`),/(image-set)/,N+`$1`),e,``)+e;case 5495:case 3959:return P(e,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return P(P(e,/(.+:)(flex-)?(.*)/,N+`box-pack:$3`+M+`flex-pack:$3`),/space-between/,`justify`)+N+e+e;case 4200:if(!Ro(e,/flex-|baseline/))return M+`grid-column-align`+Bo(e,t)+e;break;case 2592:case 3360:return M+P(e,`template-`,``)+e;case 4384:case 3616:return n&&n.some(function(e,n){return t=n,Ro(e.props,/grid-\w+-end/)})?~zo(e+(n=n[t].value),`span`)?e:M+P(e,`-start`,``)+e+M+`grid-row-span:`+(~zo(n,`span`)?Ro(n,/\d+/):Ro(n,/\d+/)-+Ro(e,/\d+/))+`;`:M+P(e,`-start`,``)+e;case 4896:case 4128:return n&&n.some(function(e){return Ro(e.props,/grid-\w+-start/)})?e:M+P(P(e,`-end`,`-span`),`span `,``)+e;case 4095:case 3583:case 4068:case 2532:return P(e,/(.+)-inline(.+)/,N+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Vo(e)-1-t>6)switch(F(e,t+1)){case 109:if(F(e,t+4)!==45)break;case 102:return P(e,/(.+:)(.+)-([^]+)/,`$1`+N+`$2-$3$1`+wo+(F(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~zo(e,`stretch`)?Ts(P(e,`stretch`,`fill-available`),t,n)+e:e}break;case 5152:case 5920:return P(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,r,i,a,o,s){return M+n+`:`+r+s+(i?M+n+`-span:`+(a?o:o-+r)+s:``)+e});case 4949:if(F(e,t+6)===121)return P(e,`:`,`:`+N)+e;break;case 6444:switch(F(e,F(e,14)===45?18:11)){case 120:return P(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,`$1`+N+(F(e,14)===45?`inline-`:``)+`box$3$1`+N+`$2$3$1`+M+`$2box$3`)+e;case 100:return P(e,`:`,`:`+M)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return P(e,`scroll-`,`scroll-snap-`)+e}return e}var Es=t((()=>{Fo(),Yo()}));function Ds(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function Os(e,t,n,r){switch(e.type){case No:if(e.children.length)break;case ko:case jo:case Do:return e.return=e.return||e.value;case To:return``;case Mo:return e.return=e.value+`{`+Ds(e.children,r)+`}`;case Eo:if(!Vo(e.value=e.props.join(`,`)))return``}return Vo(n=Ds(e.children,r))?e.return=e.value+`{`+n+`}`:``}var ks=t((()=>{Fo(),Yo()}));function As(e){var t=Ho(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function js(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Do:e.return=Ts(e.value,e.length,n);return;case Mo:return Ds([Zo(e,{value:P(e.value,`@`,`@`+N)})],r);case Eo:if(e.length)return Wo(n=e.props,function(t){switch(Ro(t,r=/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:Qo(Zo(e,{props:[P(t,/:(read-\w+)/,`:`+wo+`$1`)]})),Qo(Zo(e,{props:[t]})),Jo(e,{props:Go(n,r)});break;case`::placeholder`:Qo(Zo(e,{props:[P(t,/:(plac\w+)/,`:`+N+`input-$1`)]})),Qo(Zo(e,{props:[P(t,/:(plac\w+)/,`:`+wo+`$1`)]})),Qo(Zo(e,{props:[P(t,/:(plac\w+)/,M+`input-$1`)]})),Qo(Zo(e,{props:[t]})),Jo(e,{props:Go(n,r)});break}return``})}}var Ms=t((()=>{Fo(),Yo(),vs(),ks(),Es()})),Ns=t((()=>{Fo(),Yo(),ws(),Es(),vs(),ks(),Ms()})),Ps=t((()=>{wi()})),Fs=t((()=>{Ps()})),Is=t((()=>{Ps()})),Ls=t((()=>{Ps()})),Rs=t((()=>{Ps()})),zs=t((()=>{Ps()})),Bs=t((()=>{Ps()})),Vs=t((()=>{Fs(),Is(),Ls(),Rs(),zs(),Bs()}));function Hs(){if(!qs&&(qs={}
27,vn())){let e=document.createElement(`div`);e.className=Gs,e.style.position=`fixed`,e.style.visibility=`hidden`,e.style.top=`-9999px`,document.body.appendChild(e);let t=getComputedStyle(e).content||``;t=t.replace(/^"/,``).replace(/"$/,``),t.split(`;`).forEach(e=>{let[t,n]=e.split(`:`);qs[t]=n});let n=document.querySelector(`style[${Gs}]`);n&&(Js=!1,n.parentNode?.removeChild(n)),document.body.removeChild(e)}}function Us(e){return Hs(),!!qs[e]}function Ws(e){let t=qs[e],n=null;if(t&&vn())if(Js)n=Ks;else{let t=document.querySelector(`style[${Ca}="${qs[e]}"]`);t?n=t.innerHTML:delete qs[e]}return[n,t]}var Gs,Ks,qs,Js,Ys=t((()=>{yn(),Da(),Gs=`data-ant-cssinjs-cache-path`,Ks=`_FILE_STYLE__`,Js=!0}));function Xs(e,t){return(t?Ds(ys(e),As([js,Os])):Ds(ys(e),Os)).replace(/\{%%%\:[^;];}/g,`;`)}function Zs(e){return typeof e==`object`&&e&&(nc in e||rc in e)}function Qs(e,t,n=`high`){if(!t)return e;let r=Ga({hashCls:t,hashPriority:n});return e.split(`,`).map(e=>{let t=e.trim().split(/\s+/),n=t[0]||``,i=n.match(/^\w+/)?.[0]||``;return n=`${i}${r}${n.slice(i.length)}`,[n,...t.slice(1)].join(` `)}).join(`,`)}function $s(e,t){return da(`${e.join(`%`)}${t}`)}function ec(e,t){let{path:n,hashId:r,layer:i,nonce:a,clientOnly:o,order:s=0}=e,{mock:c,hashPriority:l,container:u,transformers:d,linters:f,cache:p,layer:m,autoPrefix:h}=tc.useContext(Ta),g=[r||``];
27m&&g.push(`layer`),g.push(...n);let _=Xa;io(ac,g,()=>{let e=g.join(`|`);if(Us(e)){let[t,n]=Ws(e);if(t)return[t,n,{},o,s]}let[a,c]=ic(t(),{hashId:r,hashPriority:l,layer:m?i:void 0,path:n.join(`-`),transformers:d,linters:f}),u=Xs(a,h||!1);return[u,$s(g,u),c,o,s]},(e,t)=>{let[,n]=e;t&&Xa&&Tr(n,{mark:Ca,attachTo:u})},e=>{let[t,n,r,,i]=e;if(_&&t!==`_FILE_STYLE__`){let e={mark:Ca,prepend:m?!1:`queue`,attachTo:u,priority:i};e=Ka(e,a);let o=[],s=[];Object.keys(r).forEach(e=>{e.startsWith(`@layer`)?o.push(e):s.push(e)}),o.forEach(t=>{Dr(Xs(r[t],h||!1),`_layer-${t}`,{...e,prepend:!0})});let c=Dr(t,n,e);c[wa]=p.instanceId,s.forEach(t=>{Dr(Xs(r[t],h||!1),`_effect-${t}`,e)})}})}var tc,nc,rc,ic,ac,oc=t((()=>{fa(),Mr(),tc=n(o()),Co(),Ns(),Vs(),Da(),Qa(),Ys(),co(),nc=`_skip_check_`,rc=`_multi_value_`,ic=(e,t={},{root:n,injectHash:r,parentSelectors:i}={root:!0,parentSelectors:[]})=>{let{hashId:a,layer:o,path:s,hashPriority:c,transformers:l=[],linters:u=[]}=t,d=``,f={};function p(e){let n=e.getName(a);if(!f[n]){let[r]=ic(e.style,t,{root:!1,parentSelectors:i});f[n]=`@keyframes ${e.getName(a)}${r}`}}function m(e,t=[]){return e.forEach(e=>{Array.isArray(e)?m(e,t):e&&t.push(e)}),t}return m(Array.isArray(e)?e:[e]).forEach(e=>{let o=typeof e==`string`&&!n?{}:e;if(typeof o==`string`)d+=`${o}\n`;else if(o._keyframe)p(o);else{let e=l.reduce((e,t)=>t?.visit?.(e)||e,o);Object.keys(e).forEach(o=>{let s=e[o];if(typeof s==`object`&&s&&(o!==`animationName`||!s._keyframe)&&!Zs(s)){let e=!1,l=o.trim(),u=!1;(n||r)&&a?l.startsWith(`@`)?e=!0:l=Qs(l===`&`?``:o,a,c):n&&!a&&(l===`&`||l===``)&&(l=``,u=!0);let[p,m]=ic(s,t,{root:u,injectHash:e,parentSelectors:[...i,l]});f={...f,...m},d+=`${l}${p}`}else{function e(e,t){let n=e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`),r=t;!So[e]&&typeof r==`number`&&r!==0&&(r=`${r}px`),e===`animationName`&&t?._keyframe&&(p(t),r=t.getName(a)),d+=`${n}:${r};`}let t=s?.value??s;typeof s==`object`&&s?.[rc]&&Array.isArray(t)?t.forEach(t=>{e(o,t)}):Za(t)&&e(o,t)}})}}),n?o&&(d&&=`@layer ${o.name} {${d}}`,o.dependencies&&(f[`@layer ${o.name}`]=o.dependencies.map(e=>`@layer ${e}, ${o.name};`).join(` 28`))):d=`{${d}}`,[d,f]},ac=`style`})),sc,cc,lc,uc=t((()=>{Mr(),sc=n(o()),Da(),Qa(),no(),co(),oc(),cc=`cssVar`,lc=(e,t)=>{let{key:n,prefix:r,unitless:i,ignore:a,token:o,hashId:s,scope:c,nonce:l}=e,{cache:{instanceId:u},container:d,hashPriority:f}=(0,sc.useContext)(Ta),{_tokenKey:p}=o,m=Array.isArray(c)?c.join(`@@`):c,h=[...e.path,n,m,p];return io(cc,h,()=>{let[e,o]=to(t(),n,{prefix:r,unitless:i,ignore:a,scope:c,hashPriority:f,hashCls:s});return[e,o,$s(h,o),n]},([,,e])=>{Xa&&Tr(e,{mark:Ca,attachTo:d})},([,e,t])=>{if(!e)return;let r={mark:Ca,prepend:`queue`,attachTo:d,priority:-999};r=Ka(r,l);let i=Dr(e,t,r);i[wa]=u,i.setAttribute(Sa,n)})}})),dc=t((()=>{xo(),uc(),oc(),Qa(),Ys()})),R,fc=t((()=>{R=class{name;style;constructor(e,t){this.name=e,this.style=t}getName(e=``){return e?`${e}-${this.name}`:this.name}_keyframe=!0}}));function pc(e){return e.notSplit=!0,e}var mc=t((()=>{pc([`borderTop`,`borderBottom`]),pc([`borderTop`]),pc([`borderBottom`]),pc([`borderLeft`,`borderRight`]),pc([`borderLeft`]),pc([`borderRight`])})),hc=t((()=>{dc(),xo(),uc(),oc(),fc(),Vs(),Da(),Ba(),mc(),Qa(),no()})),gc,_c,vc,yc=t((()=>{gc=n(o()),_c=gc.createContext({}),vc=e=>{let{children:t,...n}=e,r=gc.useMemo(()=>({motion:n.motion}),[n.motion]);return gc.createElement(_c.Provider,{value:r},t)}})),bc,xc,Sc,Cc,wc,Tc,Ec,Dc,Oc,kc=t((()=>{bc=`none`,xc=`appear`,Sc=`enter`,Cc=`leave`,wc=`none`,Tc=`prepare`,Ec=`start`,Dc=`active`,Oc=`prepared`}));function Ac(e,t){let n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit${e}`]=`webkit${t}`,n[`Moz${e}`]=`moz${t}`,n[`ms${e}`]=`MS${t}`,n[`O${e}`]=`o${t.toLowerCase()}`,n}function jc(e,t){let n={animationend:Ac(`Animation`,`AnimationEnd`),transitionend:Ac(`Transition`,`TransitionEnd`)};return e&&(`AnimationEvent`in t||delete n.animationend.animation,`TransitionEvent`in t||delete n.transitionend.transition),n}function Mc(e){if(Ic[e])return Ic[e];let t=Pc[e];if(t){let n=Object.keys(t),r=n.length;for(let i=0;i<r;i+=1){let r=n[i];if(Object.prototype.hasOwnProperty.call(t,r)&&r in Fc)return Ic[e]=t[r],Ic[e]}}return``}function Nc(e,t){return e?typeof e==`object`?e[t.replace(/-\w/g,e=>e[1].toUpperCase())]:`${e}-${t}`:null}var Pc,Fc,Ic,Lc,Rc,zc,Bc,Vc,Hc=t((()=>{sa(),Pc=jc(vn(),typeof window<`u`?window:{}),Fc={},vn()&&({style:Fc}=document.createElement(`div`)),Ic={},Lc=Mc(`animationend`),Rc=Mc(`transitionend`),zc=!!(Lc&&Rc),Bc=Lc||`animationend`,Vc=Rc||`transitionend`})),Uc,Wc,Gc,Kc=t((()=>{Uc=n(o()),Wc=n(o()),Hc(),Gc=(e=>{let t=(0,Wc.useRef)();function n(t){t&&(t.removeEventListener(Vc,e),t.removeEventListener(Bc,e))}function r(r){t.current&&t.current!==r&&n(t.current),r&&r!==t.current&&(r.addEventListener(Vc,e),r.addEventListener(Bc,e),t.current=r)}return Uc.useEffect(()=>()=>{n(t.current),t.current=null},[]),[r,n]})})),qc,Jc,Yc=t((()=>{sa(),qc=n(o()),Jc=vn()?qc.useLayoutEffect:qc.useEffect})),Xc,Zc,Qc=t((()=>{sa(),Xc=n(o()),Zc=(()=>{let e=Xc.useRef(null);function t(){Ln.cancel(e.current)}function n(r,i=2){t();let a=Ln(()=>{i<=1?r({isCanceled:()=>a!==e.current}):n(r,i-1)});e.current=a}return Xc.useEffect(()=>()=>{t()},[]),[n,t]})}
28));function $c(e){return e===`active`||e===`end`}var el,tl,nl,rl,il=t((()=>{sa(),el=n(o()),kc(),Yc(),Qc(),tl=[Tc,Ec,Dc,`end`],nl=[Tc,Oc],rl=((e,t,n)=>{let[r,i]=En(wc),[a,o]=Zc();function s(){i(Tc,!0)}let c=t?nl:tl;return Jc(()=>{if(r!==`none`&&r!==`end`){let e=c[c.indexOf(r)+1],t=n(r);t===!1?i(e,!0):e&&a(n=>{function r(){n.isCanceled()||i(e,!0)}t===!0?r():Promise.resolve(t).then(r)})}},[e,r]),el.useEffect(()=>()=>{o()},[]),[s,r]})}));function al(e,t,n,{motionEnter:r=!0,motionAppear:i=!0,motionLeave:a=!0,motionDeadline:o,motionLeaveImmediately:s,onAppearPrepare:c,onEnterPrepare:l,onLeavePrepare:u,onAppearStart:d,onEnterStart:f,onLeaveStart:p,onAppearActive:m,onEnterActive:h,onLeaveActive:g,onAppearEnd:_,onEnterEnd:v,onLeaveEnd:y,onVisibleChanged:b}){let[x,S]=ol.useState(),[C,w]=Xn(bc),[ee,te]=ol.useState([null,null]),T=C(),ne=(0,sl.useRef)(!1),E=(0,sl.useRef)(null);function re(){return n()}let D=(0,sl.useRef)(!1);function ie(){w(bc),te([null,null])}let ae=gn(e=>{let t=C();if(t===`none`)return;let n=re();if(e&&!e.deadline&&e.target!==n)return;let r=D.current,i;t===`appear`&&r?i=_?.(n,e):t===`enter`&&r?i=v?.(n,e):t===`leave`&&r&&(i=y?.(n,e)),r&&i!==!1&&ie()}),[oe]=Gc(ae),se=e=>{switch(e){case xc:return{[Tc]:c,[Ec]:d,[Dc]:m};case Sc:return{[Tc]:l,[Ec]:f,[Dc]:h};case Cc:return{[Tc]:u,[Ec]:p,[Dc]:g};default:return{}}},ce=ol.useMemo(()=>se(T),[T]),[le,ue]=rl(T,!e,e=>{if(e===`prepare`){let e=ce[Tc];return e?e(re()):!1}return e in ce&&te([ce[e]?.(re(),null)||null,e]),e===`active`&&T!==`none`&&(oe(re()),o>0&&(clearTimeout(E.current),E.current=setTimeout(()=>{ae({deadline:!0})},o))),e===`prepared`&&ie(),!0});D.current=$c(ue);let de=(0,sl.useRef)(null);Jc(()=>{if(ne.current&&de.current===t)return;S(t);let n=ne.current;ne.current=!0;let o;!n&&t&&i&&(o=xc),n&&t&&r&&(o=Sc),(n&&!t&&a||!n&&s&&!t&&a)&&(o=Cc);let c=se(o);o&&(e||c.prepare)?(w(o),le()):w(bc),de.current=t},[t]),(0,sl.useEffect)(()=>{(T===`appear`&&!i||T===`enter`&&!r||T===`leave`&&!a)&&w(bc)},[i,r,a]),(0,sl.useEffect)(()=>()=>{ne.current=!1,clearTimeout(E.current)},[]);let fe=ol.useRef(!1);(0,sl.useEffect)(()=>{x&&(fe.current=!0),x!==void 0&&T===`none`&&((fe.current||x)&&b?.(x),fe.current=!0)},[x,T]);let pe=ee[0];ce.prepare&&ue===`start`&&(pe={transition:`none`,...pe});let me=ee[1];return[C,ue,pe,x??t,!ne.current&&T===`none`&&e&&i?`NONE`:ue===`start`||ue===`active`?me===ue:!0]}var ol,sl,cl=t((()=>{sa(),ol=n(o()),sl=n(o()),kc(),Kc(),Yc(),il()}));function ll(e){return e?.length<2}function ul(e){let t=e;typeof e==`object`&&({transitionSupport:t}=e);function n(e,n){return!!(e.motionName&&t&&n!==!1)}let r=dl.forwardRef((e,t)=>{let{visible:r=!0,removeOnLeave:i=!0,forceRender:a,children:o,motionName:s,leavedClassName:c,eventProps:l}=e,{motion:u}=dl.useContext(_c),d=n(e,u),f=(0,fl.useRef)();function p(){return Pr(f.current)}let[m,h,g,_,v]=al(d,r,p,e),y=m(),b=dl.useRef(_);_&&(b.current=!0);let x=dl.useMemo(()=>{let e={};return Object.defineProperties(e,{nativeElement:{enumerable:!0,get:p},inMotion:{enumerable:!0,get:()=>()=>m()!==bc},enableMotion:{enumerable:!0,get:()=>()=>d}}),e},[]);dl.useImperativeHandle(t,()=>x,[]);let S=dl.useRef(0);v&&(S.current+=1);let C=dl.useMemo(()=>{if(v===`NONE`)return null;let e,t={...l,visible:r};if(!o)e=null;else if(y===`none`)e=_?o({...t},f):!i&&b.current&&c?o({...t,className:c},f):a||!i&&!c?o({...t,style:{display:`none`}},f):null;else{let n;h===`prepare`?n=`prepare`:$c(h)?n=`active`:h===`start`&&(n=`start`);let r=Nc(s,`${y}-${n}`);e=o({...t,className:la(Nc(s,y),{[r]:r&&n,[s]:typeof s==`string`}),style:g},f)}return e},[S.current]);if(ll(o)&&mr(C)){let e=hr(C);if(e!==f)return dl.cloneElement(C,{ref:dr(e,f)})}return C});return r.displayName=`CSSMotion`,r}var dl,fl,pl,ml=t((()=>{sa(),ua(),dl=n(o()),fl=n(o()),yc(),cl(),il(),kc(),Hc(),pl=ul(zc)}));function hl(e){let t;return t=e&&typeof e==`object`&&`key`in e?e:{key:e},{...t,key:String(t.key)}}function gl(e=[]){return e.map(hl)}function _l(e=[],t=[]){let n=[],r=0,i=t.length,a=gl(e),o=gl(t);a.forEach(e=>{let t=!1;for(let a=r;a<i;a+=1){let i=o[a];if(i.key===e.key){r<a&&(n=n.concat(o.slice(r,a).map(e=>({...e,status:`add`}))),r=a),n.push({...i,status:vl}),r+=1,t=!0;break}}t||n.push({...e,status:yl})}),r<i&&(n=n.concat(o.slice(r).map(e=>({...e,status:`add`}))));let s={};
28return n.forEach(({key:e})=>{s[e]=(s[e]||0)+1}),Object.keys(s).filter(e=>s[e]>1).forEach(e=>{n=n.filter(({key:t,status:n})=>t!==e||n!==`remove`),n.forEach(t=>{t.key===e&&(t.status=vl)})}),n}var vl,yl,bl,xl=t((()=>{vl=`keep`,yl=`remove`,bl=`removed`}));function Sl(){return Sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sl.apply(this,arguments)}function Cl(e,t=pl){class n extends wl.Component{static defaultProps={component:`div`};state={keyEntities:[]};static getDerivedStateFromProps({keys:e},{keyEntities:t}){return{keyEntities:_l(t,gl(e)).filter(e=>{let n=t.find(({key:t})=>e.key===t);return!(n&&n.status===`removed`&&e.status===`remove`)})}}removeKey=e=>{this.setState(t=>({keyEntities:t.keyEntities.map(t=>t.key===e?{...t,status:bl}:t)}),()=>{let{keyEntities:e}=this.state;e.filter(({status:e})=>e!==`removed`).length===0&&this.props.onAllRemoved&&this.props.onAllRemoved()})};render(){let{keyEntities:e}=this.state,{component:n,children:r,onVisibleChanged:i,onAllRemoved:a,...o}=this.props,s=n||wl.Fragment,c={};return Tl.forEach(e=>{c[e]=o[e],delete o[e]}),delete o.keys,wl.createElement(s,o,e.map(({status:e,...n},a)=>{let o=e===`add`||e===`keep`;return wl.createElement(t,Sl({},c,{key:n.key,visible:o,eventProps:n,onVisibleChanged:e=>{i?.(e,{key:n.key}),e||this.removeKey(n.key)}}),ll(r)?e=>r({...e,index:a}):(e,t)=>r({...e,index:a},t))}))}}return n}var wl,Tl,El,Dl=t((()=>{wl=n(o()),ml(),xl(),Hc(),Tl=[`eventProps`,`visible`,`children`,`motionName`,`motionAppear`,`motionEnter`,`motionLeave`,`motionLeaveImmediately`,`motionDeadline`,`removeOnLeave`,`leavedClassName`,`onAppearPrepare`,`onAppearStart`,`onAppearActive`,`onAppearEnd`,`onEnterStart`,`onEnterActive`,`onEnterEnd`,`onLeaveStart`,`onLeaveActive`,`onLeaveEnd`],El=Cl(zc)})),Ol,kl=t((()=>{ml(),Dl(),yc(),Ol=pl})),Al,jl=t((()=>{Al=e=>{let{componentCls:t,antCls:n,motionDurationMid:r,motionEaseInOut:i}=e;return{[t]:{[`${n}-motion-collapse-legacy`]:{overflow:`hidden`,"&-active":{transition:`${[`height`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`, `)} !important`}},[`${n}-motion-collapse`]:{overflow:`hidden`,transition:`${[`height`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`, `)} !important`}}}}})),Ml,Nl,Pl=t((()=>{Ml=e=>({animationDuration:e,animationFillMode:`both`}),Nl=(e,t,n,r,i=!1)=>{let a=i?`&`:``;return{[` 29 ${a}${e}-enter, 30 ${a}${e}-appear 31 `]:{...Ml(r),animationPlayState:`paused`},[`${a}${e}-leave`]:{...Ml(r),animationPlayState:`paused`},[` 32 ${a}${e}-enter${e}-enter-active, 33 ${a}${e}-appear${e}-appear-active 34 `]:{animationName:t,animationPlayState:`running`},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:`running`,pointerEvents:`none`}}}})),Fl,Il,Ll,Rl=t((()=>{hc(),Pl(),Fl=new R(`antFadeIn`,{"0%":{opacity:0},"100%":{opacity:1}}),Il=new R(`antFadeOut`,{"0%":{opacity:1},"100%":{opacity:0}}),Ll=(e,t=!1)=>{let{antCls:n}=e,r=`${n}-fade`,i=t?`&`:``;return[Nl(r,Fl,Il,e.motionDurationMid,t),{[` 35 ${i}${r}-enter, 36 ${i}${r}-appear 37 `]:{opacity:0,animationTimingFunction:`linear`},[`${i}${r}-leave`]:{animationTimingFunction:`linear`}}]}})),zl,Bl,Vl,Hl,Ul,Wl,Gl,Kl,ql,Jl,Yl=t((()=>{hc(),Pl(),zl=new R(`antMoveDownIn`,{"0%":{transform:`translate3d(0, 100%, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),Bl=new R(`antMoveDownOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(0, 100%, 0)`,transformOrigin:`0 0`,opacity:0}}),Vl=new R(`antMoveLeftIn`,{"0%":{transform:`translate3d(-100%, 0, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),Hl=new R(`antMoveLeftOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(-100%, 0, 0)`,transformOrigin:`0 0`,opacity:0}}),Ul=new R(`antMoveRightIn`,{"0%":{transform:`translate3d(100%, 0, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),Wl=new R(`antMoveRightOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(100%, 0, 0)`,transformOrigin:`0 0`,opacity:0}
37}),Gl=new R(`antMoveUpIn`,{"0%":{transform:`translate3d(0, -100%, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),Kl=new R(`antMoveUpOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(0, -100%, 0)`,transformOrigin:`0 0`,opacity:0}}),ql={"move-up":{inKeyframes:Gl,outKeyframes:Kl},"move-down":{inKeyframes:zl,outKeyframes:Bl},"move-left":{inKeyframes:Vl,outKeyframes:Hl},"move-right":{inKeyframes:Ul,outKeyframes:Wl}},Jl=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=ql[t];return[Nl(r,i,a,e.motionDurationMid),{[` 38 ${r}-enter, 39 ${r}-appear 40 `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}})),Xl,Zl,Ql,$l,eu,tu,nu,ru,iu,au,ou=t((()=>{hc(),Pl(),Xl=new R(`antSlideUpIn`,{"0%":{transform:`scaleY(0.8)`,transformOrigin:`0% 0%`,opacity:0},"100%":{transform:`scaleY(1)`,transformOrigin:`0% 0%`,opacity:1}}),Zl=new R(`antSlideUpOut`,{"0%":{transform:`scaleY(1)`,transformOrigin:`0% 0%`,opacity:1},"100%":{transform:`scaleY(0.8)`,transformOrigin:`0% 0%`,opacity:0}}),Ql=new R(`antSlideDownIn`,{"0%":{transform:`scaleY(0.8)`,transformOrigin:`100% 100%`,opacity:0},"100%":{transform:`scaleY(1)`,transformOrigin:`100% 100%`,opacity:1}}),$l=new R(`antSlideDownOut`,{"0%":{transform:`scaleY(1)`,transformOrigin:`100% 100%`,opacity:1},"100%":{transform:`scaleY(0.8)`,transformOrigin:`100% 100%`,opacity:0}}),eu=new R(`antSlideLeftIn`,{"0%":{transform:`scaleX(0.8)`,transformOrigin:`0% 0%`,opacity:0},"100%":{transform:`scaleX(1)`,transformOrigin:`0% 0%`,opacity:1}}),tu=new R(`antSlideLeftOut`,{"0%":{transform:`scaleX(1)`,transformOrigin:`0% 0%`,opacity:1},"100%":{transform:`scaleX(0.8)`,transformOrigin:`0% 0%`,opacity:0}}),nu=new R(`antSlideRightIn`,{"0%":{transform:`scaleX(0.8)`,transformOrigin:`100% 0%`,opacity:0},"100%":{transform:`scaleX(1)`,transformOrigin:`100% 0%`,opacity:1}}),ru=new R(`antSlideRightOut`,{"0%":{transform:`scaleX(1)`,transformOrigin:`100% 0%`,opacity:1},"100%":{transform:`scaleX(0.8)`,transformOrigin:`100% 0%`,opacity:0}}),iu={"slide-up":{inKeyframes:Xl,outKeyframes:Zl},"slide-down":{inKeyframes:Ql,outKeyframes:$l},"slide-left":{inKeyframes:eu,outKeyframes:tu},"slide-right":{inKeyframes:nu,outKeyframes:ru}},au=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=iu[t];return[Nl(r,i,a,e.motionDurationMid),{[` 41 ${r}-enter, 42 ${r}-appear 43 `]:{transform:`scale(0)`,transformOrigin:`0% 0%`,opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:`scale(1)`}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}})),su,cu=t((()=>{su=()=>({"@media (prefers-reduced-motion: reduce)":{transition:`none`,animation:`none`}})})),lu,uu,du,fu,pu,mu,hu,gu,_u,vu,yu,bu,xu,Su,Cu=t((()=>{hc(),Pl(),lu=new R(`antZoomIn`,{"0%":{transform:`scale(0.2)`,opacity:0},"100%":{transform:`scale(1)`,opacity:1}}),uu=new R(`antZoomOut`,{"0%":{transform:`scale(1)`},"100%":{transform:`scale(0.2)`,opacity:0}}),du=new R(`antZoomBigIn`,{"0%":{transform:`scale(0.8)`,opacity:0},"100%":{transform:`scale(1)`,opacity:1}}),fu=new R(`antZoomBigOut`,{"0%":{transform:`scale(1)`},"100%":{transform:`scale(0.8)`,opacity:0}}),pu=new R(`antZoomUpIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`50% 0%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`50% 0%`}}),mu=new R(`antZoomUpOut`,{"0%":{transform:`scale(1)`,transformOrigin:`50% 0%`},"100%":{transform:`scale(0.8)`,transformOrigin:`50% 0%`,opacity:0}}),hu=new R(`antZoomLeftIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`0% 50%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`0% 50%`}}),gu=new R(`antZoomLeftOut`,{"0%":{transform:`scale(1)`,transformOrigin:`0% 50%`},"100%":{transform:`scale(0.8)`,transformOrigin:`0% 50%`,opacity:0}}),_u=new R(`antZoomRightIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`100% 50%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`100% 50%`}}),vu=new R(`antZoomRightOut`,{"0%":{transform:`scale(1)`,transformOrigin:`100% 50%`},"100%":{transform:`scale(0.8)`,transformOrigin:`100% 50%`,opacity:0}
43}),yu=new R(`antZoomDownIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`50% 100%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`50% 100%`}}),bu=new R(`antZoomDownOut`,{"0%":{transform:`scale(1)`,transformOrigin:`50% 100%`},"100%":{transform:`scale(0.8)`,transformOrigin:`50% 100%`,opacity:0}}),xu={zoom:{inKeyframes:lu,outKeyframes:uu},"zoom-big":{inKeyframes:du,outKeyframes:fu},"zoom-big-fast":{inKeyframes:du,outKeyframes:fu},"zoom-left":{inKeyframes:hu,outKeyframes:gu},"zoom-right":{inKeyframes:_u,outKeyframes:vu},"zoom-up":{inKeyframes:pu,outKeyframes:mu},"zoom-down":{inKeyframes:yu,outKeyframes:bu}},Su=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=xu[t];return[Nl(r,i,a,t===`zoom-big-fast`?e.motionDurationFast:e.motionDurationMid),{[` 44 ${r}-enter, 45 ${r}-appear 46 `]:{transform:`scale(0)`,opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:`none`}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}})),wu=t((()=>{jl(),Rl(),Yl(),ou(),cu(),Cu()})),Tu,Eu,Du=t((()=>{Tu=n(o(),1),Eu=(0,Tu.createContext)({})}));function Ou(e){let t=(0,ku.useRef)(null);return t.current===null&&(t.current=e()),t.current}var ku,Au=t((()=>{ku=n(o(),1)})),ju,Mu=t((()=>{ju=typeof window<`u`})),Nu,Pu,Fu=t((()=>{Nu=n(o(),1),Mu(),Pu=ju?Nu.useLayoutEffect:Nu.useEffect})),Iu,Lu,Ru=t((()=>{Iu=n(o(),1),Lu=(0,Iu.createContext)(null)}));function zu(e,t){e.indexOf(t)===-1&&e.push(t)}function Bu(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Vu=t((()=>{})),Hu,Uu=t((()=>{Hu=(e,t,n)=>n>t?t:n<e?e:n})),Wu,Gu,Ku=t((()=>{Wu=()=>{},Gu=()=>{}})),qu,Ju=t((()=>{qu={}})),Yu,Xu=t((()=>{Yu=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)})),Zu,Qu=t((()=>{Zu=e=>typeof e==`object`&&!!e})),$u,ed=t((()=>{$u=e=>/^0[^.\s]+$/u.test(e)}));function td(e){let t;return()=>(t===void 0&&(t=e()),t)}var nd=t((()=>{})),z,rd=t((()=>{z=e=>e})),id,ad=t((()=>{id=(...e)=>e.reduce((e,t)=>n=>t(e(n)))})),od,sd=t((()=>{od=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1}})),cd,ld=t((()=>{Vu(),cd=class{constructor(){this.subscriptions=[]}add(e){return zu(this.subscriptions,e),()=>Bu(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}})),B,ud,dd=t((()=>{B=e=>e*1e3,ud=e=>e/1e3})),fd,pd=t((()=>{fd=(e,t)=>t?1e3/t*e:0})),md,hd=t((()=>{md=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e}}));function gd(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=vd(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>yd&&++s<bd);return o}function _d(e,t,n,r){if(e===t&&n===r)return z;let i=t=>gd(t,0,1,e,n);return e=>e===0||e===1?e:vd(i(e),t,r)}var vd,yd,bd,xd=t((()=>{rd(),vd=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,yd=1e-7,bd=12})),Sd,Cd=t((()=>{Sd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2})),wd,Td=t((()=>{wd=e=>t=>1-e(1-t)})),Ed,Dd,Od,kd=t((()=>{xd(),Cd(),Td(),Ed=_d(.33,1.53,.69,.99),Dd=wd(Ed),Od=Sd(Dd)})),Ad,jd=t((()=>{kd(),Ad=e=>e>=1?1:(e*=2)<1?.5*Dd(e):.5*(2-2**(-10*(e-1)))})),Md,Nd,Pd,Fd=t((()=>{Cd(),Td(),Md=e=>1-Math.sin(Math.acos(e)),Nd=wd(Md),Pd=Sd(Md)})),Id,Ld,Rd,zd=t((()=>{xd(),Id=_d(.42,0,1,1),Ld=_d(0,0,.58,1),Rd=_d(.42,0,.58,1)})),Bd,Vd=t((()=>{Bd=e=>Array.isArray(e)&&typeof e[0]!=`number`}));function Hd(e,t){return Bd(e)?e[md(0,e.length,t)]:e}var Ud=t((()=>{hd(),Vd()})),Wd,Gd=t((()=>{Wd=e=>Array.isArray(e)&&typeof e[0]==`number`})),Kd,qd,Jd,Yd=t((()=>{Ku(),rd(),jd(),kd(),Fd(),xd(),zd(),Gd(),Kd={linear:z,easeIn:Id,easeInOut:Rd,easeOut:Ld,circIn:Md,circInOut:Pd,circOut:Nd,backIn:Dd,backInOut:Od,backOut:Ed,anticipate:Ad},qd=e=>typeof e==`string`,Jd=e=>{if(Wd(e)){Gu(e.length===4,`Cubic bezier arrays must contain four numerical values.`,`cubic-bezier-length`);let[t,n,r,i]=e;return _d(t,n,r,i)}else if(qd(e))return Gu(Kd[e]!==void 0,`Invalid easing type '${e}'`,`invalid-easing-type`),Kd[e];return e}})),V=t((()=>{Vu(),Uu(),Ku(),Ju(),Xu(),Qu(),ed(),nd(),rd(),ad(),sd(),ld(),dd(),pd(),hd(),jd(),kd(),Fd(),xd(),zd(),Cd(),Td(),Ud(),Gd(),Vd(),Yd()})),Xd,Zd=t((()=>{Xd=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`]}));function Qd(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var $d=t((()=>{}));function ef(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Xd.reduce((e,t)=>
46(e[t]=Qd(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=qu.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,tf),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Xd.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Xd.length;t++)o[Xd[t]].cancel(e)},state:i,steps:o}}var tf,nf=t((()=>{V(),Zd(),$d(),tf=40})),H,rf,U,af,of=t((()=>{V(),nf(),{schedule:H,cancel:rf,state:U,steps:af}=ef(typeof requestAnimationFrame<`u`?requestAnimationFrame:z,!0)}));function sf(){cf=void 0}var cf,W,lf=t((()=>{V(),of(),W={now:()=>(cf===void 0&&W.set(U.isProcessing||qu.useManualTiming?U.timestamp:performance.now()),cf),set:e=>{cf=e,queueMicrotask(sf)}}}));function uf(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var df,ff,pf,mf,hf,gf=t((()=>{df=e=>t=>typeof t==`string`&&t.startsWith(e),ff=df(`--`),pf=df(`var(--`),mf=e=>pf(e)?hf.test(e.split(`/*`)[0].trim()):!1,hf=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu})),_f,vf,yf,bf=t((()=>{V(),_f={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},vf={..._f,transform:e=>Hu(0,1,e)},yf={..._f,default:1}})),xf,Sf=t((()=>{xf=e=>Math.round(e*1e5)/1e5})),Cf,wf=t((()=>{Cf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu}));function Tf(e){return e==null}var Ef=t((()=>{})),Df,Of=t((()=>{Df=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu})),kf,Af,jf=t((()=>{wf(),Ef(),Of(),kf=(e,t)=>n=>!!(typeof n==`string`&&Df.test(n)&&n.startsWith(e)||t&&!Tf(n)&&Object.prototype.hasOwnProperty.call(n,t)),Af=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Cf);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}}})),Mf,Nf,Pf,Ff=t((()=>{V(),bf(),Sf(),jf(),Mf=e=>Hu(0,255,e),Nf={..._f,transform:e=>Math.round(Mf(e))},Pf={test:kf(`rgb`,`red`),parse:Af(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Nf.transform(e)+`, `+Nf.transform(t)+`, `+Nf.transform(n)+`, `+xf(vf.transform(r))+`)`}}));function If(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Lf,Rf=t((()=>{Ff(),jf(),Lf={test:kf(`#`),parse:If,transform:Pf.transform}})),zf,Bf,Vf,G,Hf,Uf,Wf,Gf=t((()=>{zf=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Bf=zf(`deg`),Vf=zf(`%`),G=zf(`px`),Hf=zf(`vh`),Uf=zf(`vw`),Wf={...Vf,parse:e=>Vf.parse(e)/100,transform:e=>Vf.transform(e*100)}})),Kf,qf=t((()=>{bf(),Gf(),Sf(),jf(),Kf={test:kf(`hsl`,`hue`),parse:Af(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+Vf.transform(xf(t))+`, `+Vf.transform(xf(n))+`, `+xf(vf.transform(r))+`)`}})),K,Jf=t((()=>{Rf(),qf(),Ff(),K={test:e=>Pf.test(e)||Lf.test(e)||Kf.test(e),parse:e=>Pf.test(e)?Pf.parse(e):Kf.test(e)?Kf.parse(e):Lf.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Pf.transform(e):Kf.transform(e),getAnimatableNone:e=>{let t=K.parse(e);return t.alpha=0,K.transform(t)}}})),Yf,Xf=t((()=>{Yf=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu}));function Zf(e){return isNaN(e)&&typeof e==`string`&&(e.match(Cf)?.length||0)+(e.match(Yf)?.length||0)>0}function Qf(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(cp,e=>(K.test(e)?(r.color.push(a),i.push(ip),n.push(K.parse(e))):e.startsWith(op)?(r.var.push(a),i.push(ap),n.push(e)):(r.number.push(a),i.push(rp),n.push(parseFloat(e))),++a,sp)).split(sp),indexes:r,types:i}}function $f(e){return Qf(e).values}function ep({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===rp?i+=xf(r[a]):e===ip?i+=K.transform(r[a]):i+=r[a]}return i}}
46function tp(e){return ep(Qf(e))}function np(e){let t=Qf(e);return ep(t)(t.values.map((e,n)=>up(e,t.split[n])))}var rp,ip,ap,op,sp,cp,lp,up,dp,fp=t((()=>{Jf(),Xf(),wf(),Sf(),rp=`number`,ip=`color`,ap=`var`,op=`var(`,sp="${}",cp=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu,lp=e=>typeof e==`number`?0:K.test(e)?K.getAnimatableNone(e):e,up=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:lp(e),dp={test:Zf,parse:$f,createTransformer:tp,getAnimatableNone:np}}));function pp(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function mp({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=pp(s,r,e+1/3),a=pp(s,r,e),o=pp(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}var hp=t((()=>{}));function gp(e,t){return n=>n>0?t:e}var _p=t((()=>{})),q,vp=t((()=>{q=(e,t,n)=>e+(t-e)*n}));function yp(e){let t=Sp(e);if(Wu(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,`color-not-animatable`),!t)return!1;let n=t.parse(e);return t===Kf&&(n=mp(n)),n}var bp,xp,Sp,Cp,wp=t((()=>{V(),Rf(),qf(),hp(),Ff(),_p(),vp(),bp=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},xp=[Lf,Pf,Kf],Sp=e=>xp.find(t=>t.test(e)),Cp=(e,t)=>{let n=yp(e),r=yp(t);if(!n||!r)return gp(e,t);let i={...n};return e=>(i.red=bp(n.red,r.red,e),i.green=bp(n.green,r.green,e),i.blue=bp(n.blue,r.blue,e),i.alpha=q(n.alpha,r.alpha,e),Pf.transform(i))}}));function Tp(e,t){return Ep.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}var Ep,Dp=t((()=>{Ep=new Set([`none`,`hidden`])}));function Op(e,t){return n=>q(e,t,n)}function kp(e){return typeof e==`number`?Op:typeof e==`string`?mf(e)?gp:K.test(e)?Cp:Np:Array.isArray(e)?Ap:typeof e==`object`?K.test(e)?Cp:jp:gp}function Ap(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>kp(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function jp(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=kp(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Mp(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Np,Pp=t((()=>{V(),gf(),Jf(),fp(),wp(),_p(),vp(),Dp(),Np=(e,t)=>{let n=dp.createTransformer(t),r=Qf(e),i=Qf(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Ep.has(e)&&!i.values.length||Ep.has(t)&&!r.values.length?Tp(e,t):id(Ap(Mp(r,i),i.values),n):(Wu(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,`complex-values-different`),gp(e,t))}}));function Fp(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?q(e,t,n):kp(e)(e,t)}var Ip=t((()=>{Pp(),vp()})),Lp,Rp=t((()=>{lf(),of(),Lp=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>H.update(t,e),stop:()=>rf(t),now:()=>U.isProcessing?U.timestamp:W.now()}}})),zp,Bp=t((()=>{zp=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`}}));function Vp(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}var Hp,Up=t((()=>{Hp=2e4}));function Wp(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Vp(r),Hp);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:ud(i)}}var Gp=t((()=>{V(),Up()}));function Kp(e,t){return e*Math.sqrt(1-t*t)}function qp(e,t,n){let r=n;for(let n=1;n<Qp;n++)r-=e(r)/t(r);return r}function Jp({duration:e=J.duration,bounce:t=J.bounce,velocity:n=J.velocity,mass:r=J.mass}){let i,a;Wu(e<=B(J.maxDuration),`Spring duration must be 10 seconds or less`,`spring-duration-limit`);let o=1-t;o=Hu(J.minDamping,J.maxDamping,o),e=Hu(J.minDuration,J.maxDuration,ud(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Kp(t,o),c=Math.exp(-i);return $p-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Kp(t**2,o);return(-i(t)+$p>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=qp(i,a,s);if(e=B(e),isNaN(c))return{stiffness:J.stiffness,damping:J.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}function Yp(e,t){return t.some(t=>e[t]!==void 0)}function Xp(e){let t={velocity:J.velocity,stiffness:J.stiffness,damping:J.damping,mass:J.mass,isResolvedFromDuration:!1,...e};if(!Yp(e,tm)&&Yp(e,em))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Hu(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:J.mass,stiffness:i,damping:a}}else{let n=Jp({...e,velocity:0});t={...t,...n,mass:J.mass},t.isResolvedFromDuration=!0}return t}function Zp(e=J.visualDuration,t=J.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Xp({...n,velocity:-ud(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=ud(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?J.restSpeed.granular:J.restSpeed.default,i||=v?J.restDelta.granular:J.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Kp(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let ee={calculatedDuration:p&&d||null,velocity:e=>B(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=B(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=B(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Vp(ee),Hp),t=zp(t=>ee.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return ee}var J,Qp,$p,em,tm,nm=t((()=>{V(),Bp(),Up(),Gp(),J={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},Qp=12,$p=.001,em=[`duration`,`bounce`],tm=[`stiffness`,`damping`,`mass`],Zp.applyToOptions=e=>{let t=Wp(e,100,Zp);return e.ease=t.ease,e.duration=B(t.duration),e.type=`keyframes`,e}}));function rm(e,t,n){let r=Math.max(t-im,0);return fd(n-e(r),t-r)}var im,am=t((()=>{V(),im=5}));function om({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=
46500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=Zp({keyframes:[f.value,m(f.value)],velocity:rm(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}var sm=t((()=>{nm(),am()}));function cm(e,t,n){let r=[],i=n||qu.mix||Fp,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=id(Array.isArray(t)?t[n]||z:t,a)),r.push(a)}return r}function lm(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(Gu(a===t.length,`Both input and output ranges must be the same length`,`range-length`),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=cm(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=od(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Hu(e[0],e[a-1],t)):l}var um=t((()=>{V(),Ip()}));function dm(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=od(0,t,r);e.push(q(n,1,i))}}var fm=t((()=>{V(),vp()}));function pm(e){let t=[0];return dm(t,e.length-1),t}var mm=t((()=>{fm()}));function hm(e,t){return e.map(e=>e*t)}var gm=t((()=>{}));function _m(e,t){return e.map(()=>t||Rd).splice(0,e.length-1)}function vm({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=Bd(r)?r.map(Jd):Jd(r),a={done:!1,value:t[0]},o=lm(hm(n&&n.length===t.length?n:pm(t),e),t,{ease:Array.isArray(i)?i:_m(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var ym=t((()=>{V(),um(),mm(),gm()}));function bm(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(xm),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var xm,Sm=t((()=>{xm=e=>e!==null}));function Cm(e){typeof e.type==`string`&&(e.type=wm[e.type])}var wm,Tm=t((()=>{sm(),ym(),nm(),wm={decay:om,inertia:om,tween:vm,keyframes:vm,spring:Zp}})),Em,Dm=t((()=>{Em=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}})),Om,km,Am=t((()=>{V(),lf(),Ip(),Rp(),sm(),ym(),Up(),am(),Sm(),Tm(),Dm(),Om=e=>e/100,km=class extends Em{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==W.now()&&this.tick(W.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;Cm(e);let{type:t=vm,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||vm;s!==vm&&typeof o[0]!=`number`&&(this.mixKeyframes=id(Om,Fp(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Vp(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=Hu(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==om&&(b.value=bm(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return ud(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+ud(e)}get time(){return ud(this.currentTime)}set time(e){e=B(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return rm(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(W.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=ud(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Lp,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(W.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}}}));function jm(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Mm=t((()=>{}));function Nm(e){return+!!e.includes(`scale`)}
46function Pm(e,t){if(!e||e===`none`)return Nm(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Um,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Rm,i=t}if(!i)return Nm(t);let a=r[t],o=i[1].split(`,`).map(Fm);return typeof a==`function`?a(o):o[a]}function Fm(e){return parseFloat(e.trim())}var Im,Lm,Rm,zm,Bm,Vm,Hm,Um,Wm,Gm=t((()=>{Im=e=>e*180/Math.PI,Lm=e=>zm(Im(Math.atan2(e[1],e[0]))),Rm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Lm,rotateZ:Lm,skewX:e=>Im(Math.atan(e[1])),skewY:e=>Im(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},zm=e=>(e%=360,e<0&&(e+=360),e),Bm=Lm,Vm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Hm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Um={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Vm,scaleY:Hm,scale:e=>(Vm(e)+Hm(e))/2,rotateX:e=>zm(Im(Math.atan2(e[6],e[5]))),rotateY:e=>zm(Im(Math.atan2(-e[2],e[0]))),rotateZ:Bm,rotate:Bm,skewX:e=>Im(Math.atan(e[4])),skewY:e=>Im(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2},Wm=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Pm(n,t)}})),Km,qm,Jm=t((()=>{Km=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],qm=new Set([...Km,`pathRotation`])}));function Ym(e){let t=[];return Qm.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Xm,Zm,Qm,$m,eh=t((()=>{Gm(),Jm(),bf(),Gf(),Xm=e=>e===_f||e===G,Zm=new Set([`x`,`y`,`z`]),Qm=Km.filter(e=>!Zm.has(e)),$m={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Pm(t,`x`),y:(e,{transform:t})=>Pm(t,`y`)},$m.translateX=$m.x,$m.translateY=$m.y}));function th(){if(oh){let e=Array.from(ih).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Ym(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}oh=!1,ah=!1,ih.forEach(e=>e.complete(sh)),ih.clear()}function nh(){ih.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(oh=!0)})}function rh(){sh=!0,nh(),th(),sh=!1}var ih,ah,oh,sh,ch,lh=t((()=>{Mm(),eh(),of(),ih=new Set,ah=!1,oh=!1,sh=!1,ch=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(ih.add(this),ah||(ah=!0,H.read(nh),H.resolveKeyframes(th))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}jm(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),ih.delete(this)}cancel(){this.state===`scheduled`&&(ih.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}}})),uh,dh=t((()=>{uh=e=>e.startsWith(`--`)}));function fh(e,t,n){uh(t)?e.style.setProperty(t,n):e.style[t]=n}var ph=t((()=>{dh()})),mh,hh=t((()=>{mh={}}));function gh(e,t){let n=td(e);return()=>mh[t]??n()}var _h=t((()=>{V(),hh()})),vh,yh=t((()=>{_h(),vh=gh(()=>window.ScrollTimeline!==void 0,`scrollTimeline`)})),bh,xh=t((()=>{_h(),bh=gh(()=>{try{document.createElement(`div`).animate({opacity:0}
46,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`)})),Sh,Ch=t((()=>{Sh=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`})),wh,Th=t((()=>{Ch(),wh={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Sh([0,.65,.55,1]),circOut:Sh([.55,0,1,.45]),backIn:Sh([.31,.01,.66,-.59]),backOut:Sh([.33,1.53,.69,.99])}}));function Eh(e,t){if(e)return typeof e==`function`?bh()?zp(e,t):`ease-out`:Wd(e)?Sh(e):Array.isArray(e)?e.map(e=>Eh(e,t)||wh.easeOut):wh[e]}var Dh=t((()=>{V(),xh(),Bp(),Ch(),Th()}));function Oh(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=Eh(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}var kh=t((()=>{Dh()}));function Ah(e){return typeof e==`function`&&`applyToOptions`in e}var jh=t((()=>{}));function Mh({type:e,...t}){return Ah(e)&&bh()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var Nh=t((()=>{xh(),jh()})),Ph,Fh=t((()=>{V(),ph(),yh(),Sm(),Dm(),kh(),Nh(),Ph=class extends Em{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,Gu(typeof e.type!=`string`,`Mini animate() doesn't support "type" as a string.`,`mini-spring`);let c=Mh(e);this.animation=Oh(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=bm(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),fh(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return ud(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+ud(e)}get time(){return ud(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=B(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`f
46inished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&vh()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),z):r(this)}}}));function Ih(e){return e in Rh}function Lh(e){typeof e.ease==`string`&&Ih(e.ease)&&(e.ease=Rh[e.ease])}var Rh,zh=t((()=>{V(),Rh={anticipate:Ad,backInOut:Od,circInOut:Pd}})),Bh,Vh,Hh=t((()=>{V(),lf(),ph(),Am(),Fh(),Tm(),zh(),Bh=10,Vh=class extends Ph{constructor(e){Lh(e),Cm(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new km({...a,autoplay:!1}),s=Math.max(Bh,W.now()-this.startTime),c=Hu(0,Bh,s-Bh),l=o.sample(s).value,{name:u}=this.options;i&&u&&fh(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}}})),Uh,Wh=t((()=>{fp(),Uh=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(dp.test(e)||e===`0`)&&!e.startsWith(`url(`))}));function Gh(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Kh(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Uh(i,t),s=Uh(a,t);return Wu(o===s,`You are trying to animate ${t} from "${i}" to "${a}". "${o?a:i}" is not an animatable value.`,`value-not-animatable`),!o||!s?!1:Gh(e)||(n===`spring`||Ah(n))&&r}var qh=t((()=>{V(),jh(),Wh()}));function Jh(e){e.duration=0,e.type=`keyframes`}var Yh=t((()=>{})),Xh,Zh=t((()=>{Xh=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`])}));function Qh(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&$h.test(e[t]))return!0;return!1}var $h,eg=t((()=>{$h=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/}));function tg(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e,c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return rg()&&n&&(Xh.has(n)||ng.has(n)&&Qh(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var ng,rg,ig=t((()=>{V(),Zh(),eg(),ng=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),rg=td(()=>Object.hasOwnProperty.call(Element.prototype,`animate`))})),ag,og,sg=t((()=>{V(),lf(),Am(),Sm(),lh(),Hh(),qh(),Yh(),Dm(),ig(),ag=40,og=class extends Em{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=W.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||ch;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=W.now();let u=!0;Kh(e,i,a,o)||(u=!1,(qu.instantAnimations||!s)&&l?.(bm(e,n,t)),e[0]=e[e.length-1],Jh(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>ag?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&tg(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Vh({...d,element:p})}catch{m=new km(d)}else m=new km(d);m.finished.then(()=>{this.notifyFinished()}).catch(z),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),rh()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}}));function cg(e,t){let n=0;for(let r=0;r<e.length;r++){let i=e[r][t];i!==null&&i>n&&(n=i)}return n}var lg,ug=t((()=>{lg=class{constructor(e){this.stop=()=>this.runAll(`stop`),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll(`time`)}set time(e){this.setAll(`time`,e)}get speed(){return this.getAll(`speed`)}set speed(e){this.setAll(`speed`,e)}get state(){return this.getAll(`state`)}get startTime(){return this.getAll(`startTime`)}get duration(){return cg(this.animations,`duration`)}get iterationDuration(){return cg(this.animations,`iterationDuration`)}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll(`play`)}pause(){this.runAll(`pause`)}cancel(){this.runAll(`cancel`)}complete(){this.runAll(`complete`)}}}
46)),dg,fg=t((()=>{ug(),dg=class extends lg{then(e,t){return this.finished.finally(e).then(()=>{})}}}));function pg(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var mg=t((()=>{}));function hg(e,t){return new yg(e,t)}var gg,_g,vg,yg,bg=t((()=>{V(),lf(),of(),gg=30,_g=e=>!isNaN(parseFloat(e)),vg={current:void 0},yg=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=W.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=W.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=_g(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new cd);let n=this.events[e].add(t);return e===`change`?()=>{n(),H.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return vg.current&&vg.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=W.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>gg)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,gg);return fd(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}}));function xg(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}var Sg=t((()=>{}));function Cg(e,t){let n=e?.[t]??e?.default??e;return n===e?n:xg(n,e)}var wg=t((()=>{Sg()})),Tg,Eg,Dg,Og,kg,Ag=t((()=>{Jm(),Tg={type:`spring`,stiffness:500,damping:25,restSpeed:10},Eg=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Dg={type:`keyframes`,duration:.8},Og={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},kg=(e,{keyframes:t})=>t.length>2?Dg:qm.has(e)?e.startsWith(`scale`)?Eg(t[1]):Tg:Og}));function jg(e){for(let t in e)if(!Mg.has(t))return!0;return!1}var Mg,Ng=t((()=>{Mg=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`])})),Pg,Fg=t((()=>{V(),sg(),Am(),wg(),Yh(),Ag(),Sm(),Ng(),of(),Pg=(e,t,n,r={},i,a)=>o=>{let s=Cg(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=B(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};jg(s)||Object.assign(u,kg(e,u)),u.duration&&=B(u.duration),u.repeatDelay&&=B(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Jh(u),u.delay===0&&(
46d=!0)),(qu.instantAnimations||qu.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Jh(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=bm(u.keyframes,s);if(e!==void 0){H.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new km(u):new og(u)}}));function Ig(e){let t=Rg.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Lg(e,t,n=1){Gu(n<=zg,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,`max-css-var-depth`);let[r,i]=Ig(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Yu(e)?parseFloat(e):e}return mf(i)?Lg(i,t,n+1):i}var Rg,zg,Bg=t((()=>{V(),gf(),Rg=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,zg=4}));function Vg(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Hg(e,t,n,r){if(typeof t==`function`){let[i,a]=Vg(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=Vg(r);t=t(n===void 0?e.custom:n,i,a)}return t}var Ug=t((()=>{}));function Wg(e,t,n){let r=e.getProps();return Hg(r,t,n===void 0?r.custom:n,e)}var Gg=t((()=>{Ug()})),Kg,qg=t((()=>{Jm(),Kg=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Km])})),Jg,Yg=t((()=>{Jg=e=>Array.isArray(e)}));function Xg(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,hg(n))}function Zg(e){return Jg(e)?e[e.length-1]||0:e}function Qg(e,t){let{transitionEnd:n={},transition:r={},...i}=Wg(e,t)||{};i={...i,...n};for(let t in i)Xg(e,t,Zg(i[t]))}var $g=t((()=>{bg(),Gg(),Yg()})),Y,e_=t((()=>{Y=e=>!!(e&&e.getVelocity)}));function t_(e){return!!(Y(e)&&e.add)}var n_=t((()=>{e_()}));function r_(e,t){let n=e.getValue(`willChange`);if(t_(n))return n.add(t);if(!n&&qu.WillChange){let n=new qu.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}var i_=t((()=>{V(),n_()}));function a_(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var o_=t((()=>{})),s_,c_,l_=t((()=>{o_(),s_=`framerAppearId`,c_=`data-`+a_(s_)}));function u_(e){return e.props[c_]}var d_=t((()=>{l_()}));function f_({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function p_(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?xg(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&f_(f,t))continue;let o={delay:n,...Cg(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){H.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=u_(e);if(n){let e=window.MotionHandoffAnimation(n,t,H);e!==null&&(o.startTime=e,p=!0)}}r_(e,t);let m=l??e.shouldReduceMotion;r.start(Pg(t,r,i,m&&Kg.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>H.update(()=>{o&&Qg(e,o)});d.length?Promise.all(d).then(t):t()}return d}var m_=t((()=>{wg(),Sg(),qg(),$g(),i_(),d_(),Fg(),of()}));function h_(e,t,n={}){let r=Wg(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(p_(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return g_(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function g_(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(h_(c,t,{...o,delay:n+(typeof r==`function`?0:r)+pg(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}var __=t((()=>{Gg(),mg(),m_()}));function v_(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>h_(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=h_(e,t,n);else{let i=typeof t==`function`?Wg(e,t,n.custom):t;r=Promise.all(p_(e,i,n))}return r.then(()=>
46{e.notify(`AnimationComplete`,t)})}var y_=t((()=>{Gg(),m_(),__()})),b_,x_=t((()=>{b_={test:e=>e===`auto`,parse:e=>e}})),S_,C_=t((()=>{S_=e=>t=>t.test(e)})),w_,T_,E_=t((()=>{x_(),bf(),Gf(),C_(),w_=[_f,G,Vf,Bf,Uf,Hf,b_],T_=e=>w_.find(S_(e))}));function D_(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||$u(e)}var O_=t((()=>{V()}));function k_(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Cf)||[];if(!r)return e;let i=n.replace(r,``),a=+!!A_.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var A_,j_,M_,N_=t((()=>{fp(),wf(),A_=new Set([`brightness`,`contrast`,`saturate`,`opacity`]),j_=/\b([a-z-]*)\(.*?\)/gu,M_={...dp,getAnimatableNone:e=>{let t=e.match(j_);return t?t.map(k_).join(` `):e}}})),P_,F_=t((()=>{fp(),P_={...dp,getAnimatableNone:e=>{let t=dp.parse(e);return dp.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}}})),I_,L_=t((()=>{bf(),I_={..._f,transform:Math.round}})),R_,z_=t((()=>{bf(),Gf(),R_={rotate:Bf,pathRotation:Bf,rotateX:Bf,rotateY:Bf,rotateZ:Bf,scale:yf,scaleX:yf,scaleY:yf,scaleZ:yf,skew:Bf,skewX:Bf,skewY:Bf,distance:G,translateX:G,translateY:G,translateZ:G,x:G,y:G,z:G,perspective:G,transformPerspective:G,opacity:vf,originX:Wf,originY:Wf,originZ:G}})),B_,V_=t((()=>{L_(),bf(),Gf(),z_(),B_={borderWidth:G,borderTopWidth:G,borderRightWidth:G,borderBottomWidth:G,borderLeftWidth:G,borderRadius:G,borderTopLeftRadius:G,borderTopRightRadius:G,borderBottomRightRadius:G,borderBottomLeftRadius:G,width:G,maxWidth:G,height:G,maxHeight:G,top:G,right:G,bottom:G,left:G,inset:G,insetBlock:G,insetBlockStart:G,insetBlockEnd:G,insetInline:G,insetInlineStart:G,insetInlineEnd:G,padding:G,paddingTop:G,paddingRight:G,paddingBottom:G,paddingLeft:G,paddingBlock:G,paddingBlockStart:G,paddingBlockEnd:G,paddingInline:G,paddingInlineStart:G,paddingInlineEnd:G,margin:G,marginTop:G,marginRight:G,marginBottom:G,marginLeft:G,marginBlock:G,marginBlockStart:G,marginBlockEnd:G,marginInline:G,marginInlineStart:G,marginInlineEnd:G,fontSize:G,backgroundPositionX:G,backgroundPositionY:G,...R_,zIndex:I_,fillOpacity:vf,strokeOpacity:vf,numOctaves:I_}})),H_,U_,W_=t((()=>{Jf(),N_(),F_(),V_(),H_={...B_,color:K,backgroundColor:K,outlineColor:K,fill:K,stroke:K,borderColor:K,borderTopColor:K,borderRightColor:K,borderBottomColor:K,borderLeftColor:K,filter:M_,WebkitFilter:M_,mask:P_,WebkitMask:P_},U_=e=>H_[e]}));function G_(e,t){let n=U_(e);return K_.has(n)||(n=dp),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var K_,q_=t((()=>{fp(),N_(),F_(),W_(),K_=new Set([M_,P_])}));function J_(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Y_.has(t)&&Qf(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=G_(n,i)}var Y_,X_=t((()=>{fp(),q_(),Y_=new Set([`auto`,`none`,`0`])})),Z_,Q_=t((()=>{qg(),E_(),Bg(),gf(),lh(),O_(),X_(),eh(),Z_=class extends ch{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),mf(r))){let i=Lg(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Kg.has(n)||e.length!==2)return;let[r,i]=e,a=T_(r),o=T_(i);if(uf(r)!==uf(i)&&$m[n]){this.needsMeasurement=!0;return}if(a!==o)if(Xm(a)&&Xm(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else $m[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||D_(e[t]))&&n.push(t);n.length&&J_(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=$m[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=$m[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
46h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}})),$_,ev=t((()=>{$_=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`]}));function tv(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var nv=t((()=>{})),rv,iv=t((()=>{rv=(e,t)=>t&&typeof e==`number`?t.transform(e):e}));function av(e){return Zu(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var ov=t((()=>{V()})),sv,cv,lv=t((()=>{nf(),{schedule:sv,cancel:cv}=ef(queueMicrotask,!1)}));function uv(){return dv.x||dv.y}var dv,fv=t((()=>{dv={x:!1,y:!1}}));function pv(e){return e===`x`||e===`y`?dv[e]?null:(dv[e]=!0,()=>{dv[e]=!1}):dv.x||dv.y?null:(dv.x=dv.y=!0,()=>{dv.x=dv.y=!1})}var mv=t((()=>{fv()}));function hv(e,t){let n=tv(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}var gv=t((()=>{nv()}));function _v(e){return!(e.pointerType===`touch`||uv())}function vv(e,t,n={}){let[r,i,a]=hv(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!_v(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var yv=t((()=>{fv(),gv()})),bv,xv=t((()=>{bv=(e,t)=>t?e===t?!0:bv(e,t.parentElement):!1})),Sv,Cv=t((()=>{Sv=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1}));function wv(e){return Ev.has(e.tagName)||e.isContentEditable===!0}function Tv(e){return Dv.has(e.tagName)||e.isContentEditable===!0}var Ev,Dv,Ov=t((()=>{Ev=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]),Dv=new Set([`INPUT`,`SELECT`,`TEXTAREA`])})),kv,Av=t((()=>{kv=new WeakSet}));function jv(e){return t=>{t.key===`Enter`&&e(t)}}function Mv(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Nv,Pv=t((()=>
46{Av(),Nv=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=jv(()=>{if(kv.has(n))return;Mv(n,`down`);let e=jv(()=>{Mv(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>Mv(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)}}));function Fv(e){return Sv(e)&&!uv()}function Iv(e,t,n={}){let[r,i,a]=hv(e,n),o=e=>{let r=e.currentTarget;if(!Fv(e)||Lv.has(e))return;kv.add(r),n.stopPropagation&&Lv.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),kv.has(r)&&kv.delete(r),Fv(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||bv(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),av(e)&&(e.addEventListener(`focus`,e=>Nv(e,i)),!wv(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}var Lv,Rv=t((()=>{ov(),fv(),xv(),Cv(),gv(),Ov(),Pv(),Av(),Lv=new WeakSet}));function zv(e){return Zu(e)&&`ownerSVGElement`in e}var Bv=t((()=>{V()}));function Vv({target:e,borderBoxSize:t}){Gv.get(e)?.forEach(n=>{n(e,{get width(){return Jv(e,t)},get height(){return Yv(e,t)}})})}function Hv(e){e.forEach(Vv)}function Uv(){typeof ResizeObserver>`u`||(Kv=new ResizeObserver(Hv))}function Wv(e,t){Kv||Uv();let n=tv(e);return n.forEach(e=>{let n=Gv.get(e);n||(n=new Set,Gv.set(e,n)),n.add(t),Kv?.observe(e)}),()=>{n.forEach(e=>{let n=Gv.get(e);n?.delete(t),n?.size||Kv?.unobserve(e)})}}var Gv,Kv,qv,Jv,Yv,Xv=t((()=>{Bv(),nv(),Gv=new WeakMap,qv=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:zv(r)&&`getBBox`in r?r.getBBox()[t]:r[n],Jv=qv(`inline`,`width`,`offsetWidth`),Yv=qv(`block`,`height`,`offsetHeight`)}));function Zv(){ey=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};$v.forEach(t=>t(e))},window.addEventListener(`resize`,ey)}function Qv(e){return $v.add(e),ey||Zv(),()=>{$v.delete(e),!$v.size&&typeof ey==`function`&&(window.removeEventListener(`resize`,ey),ey=void 0)}}var $v,ey,ty=t((()=>{$v=new Set}));function ny(e,t){return typeof e==`function`?Qv(e):Wv(e,t)}var ry=t((()=>{Xv(),ty()})),iy,ay=t((()=>{iy={value:null,addProjectionMetrics:null}}));function oy(e){return zv(e)&&e.tagName===`svg`}var sy=t((()=>{Bv()})),cy,ly,uy=t((()=>{Jf(),fp(),E_(),C_(),cy=[...w_,K,dp],ly=e=>cy.find(S_(e))})),dy,fy,py,X,my=t((()=>{dy=()=>({translate:0,scale:1,origin:0,originPoint:0}),fy=()=>({x:dy(),y:dy()}),py=()=>({min:0,max:0}),X=()=>({x:py(),y:py()})})),hy,gy=t((()=>{hy=new WeakMap}));function _y(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}var vy=t((()=>{}));function yy(e){return typeof e==`string`||Array.isArray(e)}var by=t((()=>{})),xy,Sy,Cy=t((()=>{xy=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Sy=[`initial`,...xy]}));function wy(e){return _y(e.animate)||Sy.some(t=>yy(e[t]))}function Ty(e){return!!(wy(e)||e.variants)}var Ey=t((()=>{vy(),by(),Cy()}));function Dy(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Y(i))e.addValue(r,i);else if(Y(a))e.addValue(r,hg(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,hg(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var Oy=t((()=>{bg(),e_()})),ky,Ay,jy=t((()=>{ky={current:null},Ay={current:!1}}));function My(){if(Ay.current=!0,Ny)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>ky.current=e.matches;e.addEventListener(`change`,t),t()}else ky.current=!1}var Ny,Py=t((()=>{jy(),Ny=typeof window<`u`}));function Fy(e){Ry=e}function Iy(){return Ry}var Ly,Ry,zy,By=t((()=>{V(),lh(),Fh(),Zh(),lv(),lf(),my(),bg(),fp(),q_(),uy(),e_(),gy(),Ey(),Jm(),Oy(),Py(),Ug(),jy(),of(),Ly=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Ry={},zy=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=ch,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=W.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,H.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=wy(t),this.isVariantNode=Ty(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&Y(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,hy.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
vendor: 6,939 bytes, line 46
46h((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(Ay.current||My(),this.shouldReduceMotion=ky.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),rf(this.notifyUpdate),rf(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Xh.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new Ph({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:B(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=qm.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&H.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Ry){let t=Ry[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):X()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Ly.length;t++){let n=Ly[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Dy(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=hg(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(Yu(n)||$u(n))?n=parseFloat(n):!ly(n)&&dp.test(t)&&(n=G_(e,t)),this.setBaseTarget(e,Y(n)?n.get():n)),Y(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=Hg(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!Y(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new cd),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){sv.render(this.render)}}})),Vy,Hy=t((()=>{e_(),Q_(),By(),Vy=class extends zy{constructor(){super(...arguments),this.KeyframeResolver=Z_}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Y(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}}})),Uy,Wy=t((()=>{Uy=class{constructor(e){this.isMounted=!1,this.node=e}update(){}}}));function Gy({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Ky({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function qy(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}var Jy=t((()=>{}));function Yy(e){return e===void 0||e===1}function Xy({scale:e,scaleX:t,scaleY:n}){return!Yy(e)||!Yy(t)||!Yy(n)}function Zy(e){return Xy(e)||Qy(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Qy(e){return $y(e.x)||$y(e.y)}function $y(e){return e&&e!==`0%`}var eb=t((()=>{}));function tb(e,t,n){return n+t*(e-n)}function nb(e,t,n,r,i){return i!==void 0&&(e=tb(e,i,r)),tb(e,n,r)+t}function rb(e,t=0,n=1,r,i){e.min=nb(e.min,t,n,r,i),e.max=nb(e.max,t,n,r,i)}function ib(e,{x:t,y:n}){rb(e.x,t.translate,t.scale,t.originPoint),rb(e.y,n.translate,n.scale,n.originPoint)}function ab(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(ob(e.x,-a.scroll.offset.x),ob(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,ib(e,o)),r&&Zy(a.latestValues)&&lb(e,a.latestValues,a.layout?.layoutBox))}t.x<db&&t.x>ub&&(t.x=1),t.y<db&&t.y>ub&&(t.y=1)}function ob(e,t){e.min+=t,e.max+=t}
46function sb(e,t,n,r,i=.5){rb(e,t,n,q(e.min,e.max,i),r)}function cb(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function lb(e,t,n){let r=n??e;sb(e.x,cb(t.x,r.x),t.scaleX,t.scale,t.originX),sb(e.y,cb(t.y,r.y),t.scaleY,t.scale,t.originY)}var ub,db,fb=t((()=>{vp(),eb(),ub=.999999999999,db=1.0000000000001}));function pb(e,t){return Gy(qy(e.getBoundingClientRect(),t))}function mb(e,t,n){let r=pb(e,n),{scroll:i}=t;return i&&(ob(r.x,i.offset.x),ob(r.y,i.offset.y)),r}var hb=t((()=>{Jy(),fb()}));function gb(e,t,n){let r=``,i=!0;for(let a=0;a<vb;a++){let o=Km[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=rv(s,B_[o]);if(!c){i=!1;let t=_b[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${rv(a,B_.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}var _b,vb,yb=t((()=>{iv(),V_(),Jm(),_b={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},vb=Km.length}));function bb(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(qm.has(e)){o=!0;continue}else if(ff(e)){i[e]=n;continue}else{let t=rv(n,B_[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=gb(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}var xb=t((()=>{iv(),V_(),Jm(),gf(),yb()}));function Sb(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}var Cb=t((()=>{}));function wb(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Tb,Eb=t((()=>{Gf(),Tb={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(G.test(e))e=parseFloat(e);else return e;return`${wb(e,t.target.x)}% ${wb(e,t.target.y)}%`}}})),Db,Ob=t((()=>{fp(),vp(),Db={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=dp.parse(e);if(i.length>5)return r;let a=dp.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=q(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}}})),kb,Ab=t((()=>{ev(),Eb(),Ob(),kb={borderRadius:{...Tb,applyTo:[...$_]},borderTopLeftRadius:Tb,borderTopRightRadius:Tb,borderBottomLeftRadius:Tb,borderBottomRightRadius:Tb,boxShadow:Db}}));function jb(e,{layout:t,layoutId:n}){return qm.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!kb[e]||e===`opacity`)}var Mb=t((()=>{Jm(),Ab()}));function Nb(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Y(r[t])||i&&Y(i[t])||jb(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}var Pb=t((()=>{e_(),Mb()}));function Fb(e){return window.getComputedStyle(e)}var Ib,Lb=t((()=>{V(),gf(),Jm(),Gm(),hb(),Hy(),xb(),Cb(),Pb(),Ib=class extends Vy{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Sb}mount(e){Gu(!!e.style,`motion.create() components must forward their ref to a HTML or SVG element`,`custom-component-ref`),super.mount(e)}readValueFromInstance(e,t){if(qm.has(t))return this.projection?.isProjecting?Nm(t):Wm(e,t);{let n=Fb(e),r=(ff(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return pb(e,t)}build(e,t,n){bb(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Nb(e,t,n)}}}));function Rb(e,t){return e in t}var zb,Bb=t((()=>{my(),By(),zb=class extends zy{constructor(){super(...arguments),this.type=`object`}readValueFromInstance(e,t){if(Rb(t,e)){let n=e[t];if(typeof n==`string`||typeof n==`number`)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return X()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}}}));function Vb(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Hb:Ub;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Hb,Ub,Wb=t((()=>{Hb={offset:`stroke-dashoffset`,array:`stroke-dasharray`},Ub={offset:`strokeDashoffset`,array:`strokeDasharray`}}));function Gb(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s}
46,c,l,u){if(bb(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Kb)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Vb(d,i,a,o,!1)}var Kb,qb=t((()=>{xb(),Wb(),Kb=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`]})),Jb,Yb=t((()=>{Jb=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`])})),Xb,Zb=t((()=>{Xb=e=>typeof e==`string`&&e.toLowerCase()===`svg`}));function Qb(e,t,n,r){Sb(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Jb.has(n)?n:a_(n),t.attrs[n])}var $b=t((()=>{o_(),Cb(),Yb()}));function ex(e,t,n){let r=Nb(e,t,n);for(let n in e)if(Y(e[n])||Y(t[n])){let t=Km.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var tx=t((()=>{e_(),Jm(),Pb()})),nx,rx=t((()=>{Jm(),W_(),my(),Hy(),o_(),qb(),Yb(),Zb(),$b(),tx(),nx=class extends Vy{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=X}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(qm.has(t)){let e=U_(t);return e&&e.default||0}return t=Jb.has(t)?t:a_(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return ex(e,t,n)}
46build(e,t,n){Gb(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Qb(e,t,n,r)}mount(e){this.isSVGTag=Xb(e.tagName),super.mount(e)}}}));function ix(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&ix(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<ax;n++){let r=Sy[n],i=e.props[r];(yy(i)||i===!1)&&(t[r]=i)}return t}var ax,ox=t((()=>{by(),Cy(),ax=Sy.length}));function sx(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var cx=t((()=>{}));function lx(e){return t=>Promise.all(t.map(({animation:t,options:n})=>v_(e,t,n)))}function ux(e){let t=lx(e),n=px(),r=!0,i=!1,a=t=>(n,r)=>{let i=Wg(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=ix(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<hx;t++){let p=mx[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=yy(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||_y(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=dx(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,ee={...w,...C},te=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in ee){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Jg(t)&&Jg(n)?!sx(t,n)||y:t!==n,r?t==null?u.add(e):te(e):t!==void 0&&u.has(e)?te(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let T=v&&y;b&&(!T||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!T&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=Wg(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=pg(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=Wg(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=px(),i=!0}}}function dx(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!sx(t,e):!1}function fx(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function px(){return{animate:fx(!0),whileInView:fx(),whileHover:fx(),whileTap:fx(),whileDrag:fx(),whileFocus:fx(),exit:fx()}}var mx,hx,gx=t((()=>{y_(),mg(),ox(),vy(),Yg(),by(),Gg(),cx(),Cy(),mx=[...xy].reverse(),hx=xy.length}));function _x(e,t){e.min=t.min,e.max=t.max}function vx(e,t){_x(e.x,t.x),_x(e.y,t.y)}function yx(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var bx=t((()=>{}));function Z(e){return e.max-e.min}function xx(e,t,n){return Math.abs(e-t)<=n}function Sx(e,t,n,r=.5){e.origin=r,e.originPoint=q(t.min,t.max,e.origin),e.scale=Z(n)/Z(t),e.translate=q(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Ox&&e.scale<=kx||isNaN(e.scale))&&(e.scale=1),(e.translate>=Ax&&e.translate<=jx||isNaN(e.translate))&&(e.translate=0)}function Cx(e,t,n,r){Sx(e.x,t.x,n.x,r?r.originX:void 0),Sx(e.y,t.y,n.y,r?r.originY:void 0)}function wx(e,t,n,r=0){e.min=(r?q(n.min,n.max,r):n.min)+t.min,e.max=e.min+Z(t)}function Tx(e,t,n,r){wx(e.x,t.x,n.x,r?.x),wx(e.y,t.y,n.y,r?.y)}function Ex(e,t,n,r=0){let i=r?q(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Z(t)}function Dx(e,t,n,r){Ex(e.x,t.x,n.x,r?.x),Ex(e.y,t.y,n.y,r?.y)}var Ox,kx,Ax,jx,Mx=t((()=>{vp(),Ox=.9999,kx=1.0001,Ax=-.01,jx=.01}));function Nx(e,t,n,r,i){return e-=t,e=tb(e,1/n,r),i!==void 0&&(e=tb(e,1/i,r)),e}function Px(e,t=0,n=1,r=.5,i,a=e,o=e){if(Vf.test(t)&&(t=parseFloat(t),t=q(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=q(a.min,a.max,r);e===a&&(s-=t),e.min=Nx(e.min,t,n,s,i),e.max=Nx(e.max,t,n,s,i)}function Fx(e,t,[n,r,i],a,o){Px(e,t[n],t[r],t[i],t.scale,a,o)}function Ix(e,t,n,r){Fx(e.x,t,Lx,n?n.x:void 0,r?r.x:void 0),Fx(e.
46y,t,Rx,n?n.y:void 0,r?r.y:void 0)}var Lx,Rx,zx=t((()=>{vp(),Gf(),fb(),Lx=[`x`,`scaleX`,`originX`],Rx=[`y`,`scaleY`,`originY`]}));function Bx(e){return e.translate===0&&e.scale===1}function Vx(e){return Bx(e.x)&&Bx(e.y)}function Hx(e,t){return e.min===t.min&&e.max===t.max}function Ux(e,t){return Hx(e.x,t.x)&&Hx(e.y,t.y)}function Wx(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Gx(e,t){return Wx(e.x,t.x)&&Wx(e.y,t.y)}function Kx(e){return Z(e.x)/Z(e.y)}function qx(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var Jx=t((()=>{Mx()}));function Yx(e){return[e(`x`),e(`y`)]}var Xx=t((()=>{}));function Zx(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Qx=t((()=>{}));function $x(e,t,n,r,i,a){i?(e.opacity=q(0,n.opacity??1,aS(r)),e.opacityExit=q(t.opacity??1,0,oS(r))):a&&(e.opacity=q(t.opacity??1,n.opacity??1,r));for(let i=0;i<nS;i++){let a=$_[i],o=eS(t,a),s=eS(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||iS(o)===iS(s)?(e[a]=Math.max(q(rS(o),rS(s),r),0),(Vf.test(s)||Vf.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=q(t.rotate||0,n.rotate||0,r))}function eS(e,t){return e[t]===void 0?e.borderRadius:e[t]}function tS(e,t,n){return r=>r<e?0:r>t?1:n(od(e,t,r))}var nS,rS,iS,aS,oS,sS=t((()=>{vp(),Gf(),V(),ev(),nS=$_.length,rS=e=>typeof e==`string`?parseFloat(e):e,iS=e=>typeof e==`number`||G.test(e),aS=tS(0,.5,Nd),oS=tS(.5,.95,z)}));function cS(e,t,n){let r=Y(e)?e:hg(e);return r.start(Pg(``,r,t,n)),r.animation}var lS=t((()=>{Fg(),bg(),e_()}));function uS(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var dS=t((()=>{})),fS,pS=t((()=>{fS=(e,t)=>e.depth-t.depth})),mS,hS=t((()=>{V(),pS(),mS=class{constructor(){this.children=[],this.isDirty=!1}add(e){zu(this.children,e),this.isDirty=!0}remove(e){Bu(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(fS),this.isDirty=!1,this.children.forEach(e)}}}));function gS(e,t){let n=W.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(rf(r),e(a-t))};return H.setup(r,!0),()=>rf(r)}var _S=t((()=>{lf(),of()}));function vS(e){return Y(e)?e.get():e}var yS=t((()=>{e_()})),bS,xS=t((()=>{V(),bS=class{constructor(){this.members=[]}add(e){zu(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(Bu(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Bu(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}})),SS,CS=t((()=>{SS={hasAnimatedSinceResize:!0,hasEverUpdated:!1}}));function wS(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function TS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=u_(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,H,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&TS(r)}function ES({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=$S++,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,iy.value&&(XS.nodes=XS.calculatedTargetDeltas=XS.calculatedProjections=0),this.nodes.forEac
vendor: 8,624 bytes, line 46
46h(kS),this.nodes.forEach(RS),this.nodes.forEach(zS),this.nodes.forEach(AS),iy.addProjectionMetrics&&iy.addProjectionMetrics(XS)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new mS)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new cd),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=zv(t)&&!oy(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;H.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=gS(i,250),SS.hasAnimatedSinceResize&&(SS.hasAnimatedSinceResize=!1,this.nodes.forEach(LS)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||eC,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!Gx(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...Cg(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||LS(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),rf(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(BS),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&TS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(NS),this.nodes.forEach(MS);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(PS);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(FS),this.nodes.forEach(IS),this.nodes.forEach(DS),this.nodes.forEach(OS)):this.nodes.forEach(PS),this.clearAllSnapshots();let e=W.now();U.delta=Hu(0,1e3/60,e-U.timestamp),U.timestamp=e,U.isProcessing=!0,af.update.process(U),af.preRender.process(U),af.render.process(U),U.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,sv.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(jS),this.sharedNodes.forEach(VS)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,H.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){H.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Z(this.snapshot.measuredBox.x)&&!Z(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=X(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Vx(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Zy(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),qS(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return X();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(YS))){let{scroll:e}=this.root;e&&(ob(t.x,e.offset.x),ob(t.y,e.offset.y))}return t}removeElementScroll(e){let t=X();if(vx(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&vx(t,e),ob(t.x,i.offset.x),ob(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||X();vx(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(ob(r.x,-n.scroll.offset.x),ob(r.y,-n.scroll.offset.y)),Zy(n.latestValues)&&lb(r,n.latestValues,n.layout?.layoutBox)}return Zy(this.latestValues)&&lb(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=X();vx(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!Zy(n.latestValues))continue;let r;n.instance&&(Xy(n.latestValues)&&n.updateSnapshot(),r=X(),vx(r,n.measurePageBox())),Ix(t,n.latestValues,n.snapshot?.layoutBox,r)}return Zy(this.latestValues)&&Ix(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.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!==U.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;
46if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=U.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=X(),this.targetWithTransforms=X()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Tx(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):vx(this.target,this.layout.layoutBox),ib(this.target,this.targetDelta)):vx(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),iy.value&&XS.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Xy(this.parent.latestValues)||Qy(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=X(),this.relativeTargetOrigin=X(),Dx(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),vx(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===U.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;vx(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;ab(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=X());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(yx(this.prevProjectionDelta.x,this.projectionDelta.x),yx(this.prevProjectionDelta.y,this.projectionDelta.y)),Cx(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!qx(this.projectionDelta.x,this.prevProjectionDelta.x)||!qx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),iy.value&&XS.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=fy(),this.projectionDelta=fy(),this.projectionDeltaWithTransform=fy()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=fy();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=X(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(GS));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=q(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=q(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(HS(o.x,e.x,n),HS(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Dx(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),WS(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&Ux(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=X(),vx(f,this.relativeTarget)),c&&(this.animationValues=a,$x(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(rf(this.pendingAnimation),void 0),this.pendingAnimation=H.update(()=>{SS.hasAnimatedSinceResize=!0,this.motionValue||=hg(0),this.motionValue.jump(0,!1),this.currentAnimation=cS(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(QS),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&JS(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||X();let t=Z(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Z(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}vx(t,n),lb(t,i),Cx(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
46)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new bS),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&wS(`z`,e,r,this.animationValues);for(let t=0;t<ZS.length;t++)wS(`rotate${ZS[t]}`,e,r,this.animationValues),wS(`skew${ZS[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=vS(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=vS(t?.pointerEvents)||``),this.hasProjected&&!Zy(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Zx(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in kb){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=kb[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?vS(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(MS),this.root.sharedNodes.clear()}}}function DS(e){e.updateLayout()}function OS(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Yx(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Z(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;_x(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else JS(i,t.layoutBox,n)&&Yx(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Z(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=fy();Cx(o,n,t.layoutBox);let s=fy();a?Cx(s,e.applyTransform(r,!0),t.measuredBox):Cx(s,n,t.layoutBox);let c=!Vx(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=X();Dx(s,t.layoutBox,i.layoutBox,o);let c=X();Dx(c,n,a.layoutBox,o),Gx(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function kS(e){iy.value&&XS.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function AS(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function jS(e){e.clearSnapshot()}function MS(e){e.clearMeasurements()}function NS(e){e.isLayoutDirty=!0,e.updateLayout()}function PS(e){e.isLayoutDirty=!1}function FS(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function IS(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function LS(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function RS(e){e.resolveTargetDelta()}function zS(e){e.calcProjection()}
46function BS(e){e.resetSkewAndRotation()}function VS(e){e.removeLeadSnapshot()}function HS(e,t,n){e.translate=q(t.translate,0,n),e.scale=q(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function US(e,t,n,r){e.min=q(t.min,n.min,r),e.max=q(t.max,n.max,r)}function WS(e,t,n,r){US(e.x,t.x,n.x,r),US(e.y,t.y,n.y,r)}function GS(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}function KS(e){e.min=nC(e.min),e.max=nC(e.max)}function qS(e){KS(e.x),KS(e.y)}function JS(e,t,n){return e===`position`||e===`preserve-aspect`&&!xx(Kx(t),Kx(n),.2)}function YS(e){return e!==e.root&&e.scroll?.wasRoot}var XS,ZS,QS,$S,eC,tC,nC,rC=t((()=>{V(),lS(),d_(),wg(),lv(),lf(),Ab(),ay(),_S(),Bv(),sy(),vp(),bg(),yS(),sS(),bx(),fb(),Mx(),zx(),my(),Jx(),xS(),Qx(),Xx(),hS(),eb(),CS(),of(),XS={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ZS=[``,`X`,`Y`,`Z`],QS=1e3,$S=0,eC={duration:.45,ease:[.4,0,.1,1]},tC=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),nC=tC(`applewebkit/`)&&!tC(`chrome/`)?Math.round:z})),iC,aC=t((()=>{dS(),rC(),iC=ES({attachResizeListener:(e,t)=>uS(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0})}));function oC(){let e=new Set,t=new WeakMap,n=()=>e.forEach(sC);return{add:r=>{e.add(r),t.set(r,r.addEventListener(`willUpdate`,n))},remove:r=>{e.delete(r);let i=t.get(r);i&&(i(),t.delete(r)),n()},dirty:n}}var sC,cC=t((()=>{sC=e=>!e.isLayoutDirty&&e.willUpdate(!1)})),lC,uC,dC=t((()=>{rC(),aC(),lC={current:void 0},uC=ES({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!lC.current){let e=new iC({});e.mount(window),e.setOptions({layoutScroll:!0}),lC.current=e}return lC.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`})})),Q=t((()=>{sg(),ug(),fg(),Am(),Fh(),Hh(),mg(),V(),bg(),Fg(),wg(),Bg(),Ag(),Sm(),Sg(),gf(),Ng(),Yh(),y_(),m_(),__(),l_(),d_(),sm(),ym(),nm(),Up(),Gp(),jh(),Q_(),lh(),mm(),fm(),gm(),ev(),Mm(),Ch(),xh(),Th(),Dh(),kh(),ig(),Zh(),Nh(),Bp(),o_(),nv(),of(),V_(),iv(),dh(),Jm(),ov(),nf(),lv(),lf(),fv(),mv(),yv(),Rv(),Ov(),xv(),Cv(),Gm(),ph(),Yg(),qg(),ry(),ay(),um(),Bv(),sy(),Ip(),wp(),Pp(),_p(),vp(),Dp(),hh(),yh(),e_(),Jf(),Rf(
46),qf(),hp(),Ff(),fp(),E_(),W_(),z_(),bf(),Gf(),C_(),q_(),uy(),i_(),n_(),Hy(),Wy(),Lb(),Bb(),gy(),rx(),By(),gx(),ox(),vy(),Ey(),Mb(),by(),Oy(),Gg(),Ug(),$g(),Cy(),Py(),Jy(),bx(),fb(),Mx(),zx(),my(),Jx(),Xx(),eb(),hb(),Eb(),Ob(),Qx(),sS(),lS(),dS(),pS(),hS(),_S(),yS(),rC(),aC(),cC(),dC(),CS(),xS(),xb(),yb(),Cb(),Pb(),qb(),Yb(),Zb(),Wb(),$b(),tx(),Zd(),Ab(),jy()})),fC,pC,mC=t((()=>{fC=n(o(),1),pC=(0,fC.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`})}));function hC(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function gC(...e){return t=>{let n=!1,r=e.map(e=>{let r=hC(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():hC(e[t],null)}}}}function _C(...e){return vC.useCallback(gC(...e),e)}var vC,yC=t((()=>{vC=n(o(),1)}));function bC({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,CC.useId)(),s=(0,CC.useRef)(null),c=(0,CC.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,CC.useContext)(pC),u=_C(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,CC.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(` 47 [data-motion-pop-id="${o}"] { 48 position: absolute !important; 49 width: ${e}px !important; 50 height: ${u}px !important; 51 ${_}px !important; 52 ${v}px !important; 53 } 54 `),()=>{s.current?.removeAttribute(`data-motion-pop-id`),b.contains(y)&&b.removeChild(y)}},[t]),(0,xC.jsx)(wC,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:SC.cloneElement(e,{ref:u})})}var xC,SC,CC,wC,TC=t((()=>{xC=n(a(),1),Q(),SC=n(o(),1),CC=n(o(),1),mC(),yC(),wC=class extends SC.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(av(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=av(e)&&e.offsetWidth||0,r=av(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}}}));function EC(){return new Map}var DC,OC,kC,AC,jC=t((()=>{DC=n(a(),1),OC=n(o(),1),kC=n(o(),1),Ru(),Au(),Fu(),TC(),AC=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let u=Ou(EC),d=(0,kC.useId)(),f=(0,kC.useRef)(n),p=(0,kC.useRef)(r);Pu(()=>{f.current=n,p.current=r});let m=!0,h=(0,kC.useMemo)(()=>(m=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:e=>(u.set(e,!1),()=>{u.delete(e),!f.current&&!u.size&&p.current?.()})}),[n,u,r]);return a&&m&&(h={...h}),(0,kC.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),OC.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=(0,DC.jsx)(bC,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,children:e}),(0,DC.jsx)(Lu.Provider,{value:h,children:e})}}));function MC(e=!0){let t=(0,FC.useContext)(Lu);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,FC.useId)();(0,FC.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,FC.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}function NC(){return PC((0,FC.useContext)(Lu))}function PC(e){return e===null?!0:e.isPresent}var FC,IC=t((()=>{FC=n(o(),1),Ru()}));function LC(e){let t=[];return RC.Children.forEach(e,e=>{(0,RC.isValidElement)(e)&&t.push(e)}),t}var RC,zC,BC=t((()=>{RC=n(o(),1),zC=e=>e.key||``})),VC,HC,UC,WC=t((()=>{VC=n(a(),1),HC=n(o(),1),Du(),Au(),Fu(),jC(),IC(),BC(),UC=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[u,d]=MC(o),f=(0,HC.useMemo)(()=>LC(e),[e]),p=o&&!u?[]:f.map(zC),m=(0,HC.useRef)(!0),h=(0,HC.useRef)(f),g=Ou(()=>new Map),_=(0,HC.useRef)(new Set),[v,y]=(0,HC.useState)(f),[b,x]=(0,HC.useState)(f);Pu(()=>{m.current=!1,h.current=f;for(let e=0;e<b.length;e++){let t=zC(b[e]);p.includes(t)?(g.delete(t),_.current.delete(t)):g.get(t)!==!0&&g.set(t,!1)}}
54,[b,p.length,p.join(`-`)]);let S=[];if(f!==v){let e=[...f];for(let t=0;t<b.length;t++){let n=b[t],r=zC(n);p.includes(r)||(e.splice(t,0,n),S.push(n))}return a===`wait`&&S.length&&(e=S),x(LC(e)),y(f),null}let{forceRender:C}=(0,HC.useContext)(Eu);return(0,VC.jsx)(VC.Fragment,{children:b.map(e=>{let v=zC(e),y=o&&!u?!1:f===b||p.includes(v);return(0,VC.jsx)(AC,{isPresent:y,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:y?void 0:()=>{if(_.current.has(v))return;if(g.has(v))_.current.add(v),g.set(v,!0);else return;let e=!0;g.forEach(t=>{t||(e=!1)}),e&&(C?.(),x(h.current),o&&d?.(),r&&r())},anchorX:s,anchorY:c,children:e},v)})})}})),GC,KC,qC=t((()=>{GC=n(o(),1),KC=(0,GC.createContext)(null)}));function JC(){let e=(0,YC.useRef)(!1);return Pu(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var YC,XC=t((()=>{YC=n(o(),1),Fu()}));function ZC(){let e=JC(),[t,n]=(0,QC.useState)(0),r=(0,QC.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,QC.useCallback)(()=>H.postRender(r),[r]),t]}var QC,$C=t((()=>{Q(),QC=n(o(),1),XC()})),ew,tw,nw,rw,iw,aw=t((()=>{ew=n(a(),1),tw=n(o(),1),Du(),qC(),$C(),Q(),nw=e=>e===!0,rw=e=>nw(e===!0)||e===`id`,iw=({children:e,id:t,inherit:n=!0})=>{let r=(0,tw.useContext)(Eu),i=(0,tw.useContext)(KC),[a,o]=ZC(),s=(0,tw.useRef)(null),c=r.id||i;s.current===null&&(rw(n)&&c&&(t=t?c+`-`+t:c),s.current={id:t,group:nw(n)&&r.group||oC()});let l=(0,tw.useMemo)(()=>({...s.current,forceRender:a}),[o]);return(0,ew.jsx)(Eu.Provider,{value:l,children:e})}})),ow,sw,cw=t((()=>{ow=n(o(),1),sw=(0,ow.createContext)({strict:!1})}));function lw(){if(fw)return;let e={};for(let t in dw)e[t]={isEnabled:e=>dw[t].some(t=>!!e[t])};Fy(e),fw=!0}function uw(){return lw(),Iy()}var dw,fw,pw=t((()=>{Q(),dw={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`]},fw=!1}));function mw(e){let t=uw();for(let n in e)t[n]={...t[n],...e[n]};Fy(t)}var hw=t((()=>{Q(),pw()}));function gw({children:e,features:t,strict:n=!1}){let[,r]=(0,yw.useState)(!_w(t)),i=(0,yw.useRef)(void 0);if(!_w(t)){let{renderer:e,...n}=t;i.current=e,mw(n)}return(0,yw.useEffect)(()=>{_w(t)&&t().then(({renderer:e,...t})=>{mw(t),i.current=e,r(!0)})},[]),(0,vw.jsx)(sw.Provider,{value:{renderer:i.current,strict:n},children:e})}function _w(e){return typeof e==`function`}var vw,yw,bw=t((()=>{vw=n(a(),1),yw=n(o(),1),cw(),hw()}));function xw(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Sw.has(e)}var Sw,Cw=t((()=>{Sw=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`))})),ww=r({default:()=>Ew}),Tw,Ew,Dw=t((()=>{Ze(),Tw=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
54ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ew=Xe(function(e){return Tw.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})}));function Ow(e){typeof e==`function`&&(Aw=t=>t.startsWith(`on`)?!xw(t):e(t))}function kw(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||Y(e[i])||(Aw(i)||n===!0&&xw(i)||!t&&!xw(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var Aw,jw=t((()=>{Q(),Cw(),Aw=e=>!xw(e);try{Ow((Dw(),e(ww)).default)}catch{}})),Mw,Nw,Pw=t((()=>{Mw=n(o(),1),Nw=(0,Mw.createContext)({})}));function Fw(e,t){if(wy(e)){let{initial:t,animate:n}=e;return{initial:t===!1||yy(t)?t:void 0,animate:yy(n)?n:void 0}}return e.inherit===!1?{}:t}var Iw=t((()=>{Q()}));function Lw(e){let{initial:t,animate:n}=Fw(e,(0,zw.useContext)(Nw));return(0,zw.useMemo)(()=>({initial:t,animate:n}),[Rw(t),Rw(n)])}function Rw(e){return Array.isArray(e)?e.join(` `):e}var zw,Bw=t((()=>{zw=n(o(),1),Pw(),Iw()})),Vw,Hw=t((()=>{Vw=()=>({style:{},transform:{},transformOrigin:{},vars:{}})}));
54function Uw(e,t,n){for(let r in t)!Y(t[r])&&!jb(r,n)&&(e[r]=t[r])}function Ww({transformTemplate:e},t){return(0,qw.useMemo)(()=>{let n=Vw();return bb(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Gw(e,t){let n=e.style||{},r={};return Uw(r,n,e),Object.assign(r,Ww(e,t)),r}function Kw(e,t){let n={},r=Gw(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var qw,Jw=t((()=>{Q(),qw=n(o(),1),Hw()})),Yw,Xw=t((()=>{Hw(),Yw=()=>({...Vw(),attrs:{}})}));function Zw(e,t,n,r){let i=(0,Qw.useMemo)(()=>{let n=Yw();return Gb(n,t,Xb(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Uw(t,e.style,e),i.style={...t,...i.style}}return i}var Qw,$w=t((()=>{Q(),Qw=n(o(),1),Jw(),Xw()})),eT,tT=t((()=>{eT=[`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 nT(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(eT.indexOf(e)>-1||/[A-Z]/u.test(e))}var rT=t((()=>{tT()}));function iT(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??nT(e)?Zw:Kw)(t,r,i,e),c=kw(t,typeof e==`string`,a),l=e===aT.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,aT.useMemo)(()=>Y(u)?u.get():u,[u]);return(0,aT.createElement)(e,{...l,children:d})}var aT,oT=t((()=>{Q(),aT=n(o(),1),Jw(),$w(),jw(),rT()}));function sT({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:cT(n,r,i,e),renderState:t()}}function cT(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=vS(a[e]);let{initial:o,animate:s}=e,c=wy(e),l=Ty(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!_y(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Hg(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var lT,uT,dT=t((()=>{Q(),lT=n(o(),1),Pw(),Ru(),Au(),uT=e=>(t,n)=>{let r=(0,lT.useContext)(Nw),i=(0,lT.useContext)(Lu),a=()=>sT(e,t,r,i);return n?a():Ou(a)}})),fT,pT=t((()=>{Q(),dT(),Hw(),fT=uT({scrapeMotionValuesFromProps:Nb,createRenderState:Vw})})),mT,hT=t((()=>{Q(),dT(),Xw(),mT=uT({scrapeMotionValuesFromProps:ex,createRenderState:Yw})})),gT,_T=t((()=>{gT=Symbol.for(`motionComponentSymbol`)}));function vT(e,t,n){let r=(0,yT.useRef)(n);(0,yT.useInsertionEffect)(()=>{r.current=n});let i=(0,yT.useRef)(null);return(0,yT.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`)if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n);else a&&(a.current=n)},[t])}var yT,bT=t((()=>{yT=n(o(),1)})),xT,ST,CT=t((()=>{xT=n(o(),1),ST=(0,xT.createContext)({})}));function wT(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}var TT=t((()=>{}));function ET(e,t,n,r,i,a){let{visualElement:o}=(0,kT.useContext)(Nw),s=(0,kT.useContext)(sw),c=(0,kT.useContext)(Lu),l=(0,kT.useContext)(pC),u=l.reducedMotion,d=l.skipAnimations,f=(0,kT.useRef)(null),p=(0,kT.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,kT.useContext)(ST);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&DT(f.current,n,i,h);let g=(0,kT.useRef)(!1);(0,kT.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[c_],v=(0,kT.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return Pu(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,kT.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function DT(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:OT(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&wT(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function OT(e){if(e)return e.options.allowProjection===!1?OT(e.parent):e.projection}var kT,AT=t((()=>{Q(),kT=n(o(),1),cw(),mC(),Pw(),Ru(),CT(),TT(),Fu()}));function jT(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&mw(r);
54let a=n?n===`svg`:nT(e),o=a?mT:fT;function s(n,s){let c,l={...(0,IT.useContext)(pC),...n,layoutId:MT(n)},{isStatic:u}=l,d=Lw(n),f=o(n,u);if(!u&&typeof window<`u`){NT(l,r);let t=PT(l);c=t.MeasureLayout,d.visualElement=ET(e,f,l,i,t.ProjectionNode,a)}return(0,FT.jsxs)(Nw.Provider,{value:d,children:[c&&d.visualElement?(0,FT.jsx)(c,{visualElement:d.visualElement,...l}):null,iT(e,n,vT(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,IT.forwardRef)(s);return c[gT]=e,c}function MT({layoutId:e}){let t=(0,IT.useContext)(Eu).id;return t&&e!==void 0?t+`-`+e:e}function NT(e,t){(0,IT.useContext)(sw).strict}function PT(e){let{drag:t,layout:n}=uw();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}var FT,IT,LT=t((()=>{FT=n(a(),1),IT=n(o(),1),Du(),cw(),mC(),Pw(),Bw(),oT(),rT(),pT(),hT(),pw(),hw(),_T(),bT(),AT()}));function RT(e,t){if(typeof Proxy>`u`)return jT;let n=new Map,r=(n,r)=>jT(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,jT(a,void 0,e,t)),n.get(a))})}var zT=t((()=>{LT()})),BT,VT=t((()=>{zT(),BT=RT()})),HT,UT,WT=t((()=>{Q(),HT=n(o(),1),rT(),UT=(e,t)=>t.isSVG??nT(e)?new nx(t):new Ib(t,{allowProjection:e!==HT.Fragment})})),GT,KT=t((()=>{Q(),GT=class extends Uy{constructor(e){super(e),e.animationState||=ux(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();_y(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}})),qT,JT,YT=t((()=>{Q(),qT=0,JT=class extends Uy{constructor(){super(...arguments),this.id=qT++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=Wg(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}})),XT,ZT=t((()=>{KT(),YT(),XT={animation:{Feature:GT},exit:{Feature:JT}}}));function QT(e){return{point:{x:e.pageX,y:e.pageY}}}var $T,eE=t((()=>{Q(),$T=e=>t=>Sv(t)&&e(t,QT(t))}));function tE(e,t,n,r){return uS(e,t,$T(n),r)}var nE=t((()=>{Q(),eE()})),rE,iE=t((()=>{rE=({current:e})=>e?e.ownerDocument.defaultView:null}));function aE(e,t){let n=oE(e.x,t.x),r=oE(e.y,t.y);return Math.sqrt(n**2+r**2)}var oE,sE=t((()=>{oE=(e,t)=>Math.abs(e-t)}));function cE(e,t){return t?{point:t(e.point)}:e}function lE(e,t){return{x:e.x-t.x,y:e.y-t.y}}function uE({point:e},t){return{point:e,delta:lE(e,fE(t)),offset:lE(e,dE(t)),velocity:pE(t,.1)}}function dE(e){return e[0]}function fE(e){return e[e.length-1]}function pE(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=fE(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>B(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>B(t)*2&&(r=e[1]);let a=ud(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}var mE,hE,gE=t((()=>{Q(),V(),nE(),eE(),sE(),mE=new Set([`auto`,`scroll`]),hE=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=cE(this.lastRawMoveEventInfo,this.transformPagePoint));let e=uE(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=aE(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=U;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>
54{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=cE(t,this.transformPagePoint),H.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=uE(e.type===`pointercancel`?this.lastMoveEventInfo:cE(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Sv(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=cE(QT(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=U;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,uE(s,this.history));let d={passive:!0,capture:!0};this.removeListeners=id(tE(this.contextWindow,`pointermove`,this.handlePointerMove,d),tE(this.contextWindow,`pointerup`,this.handlePointerUp,d),tE(this.contextWindow,`pointercancel`,this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(mE.has(e.overflowX)||mE.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),H.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),rf(this.updatePoint)}}}));function _E(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?q(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?q(n,e,r.max):Math.min(e,n)),e}function vE(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function yE(e,{top:t,left:n,bottom:r,right:i}){return{x:vE(e.x,n,i),y:vE(e.y,t,r)}}function bE(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function xE(e,t){return{x:bE(e.x,t.x),y:bE(e.y,t.y)}}function SE(e,t){let n=.5,r=Z(e),i=Z(t);return i>r?n=od(t.min,t.max-r,e.min):r>i&&(n=od(e.min,e.max-i,t.min)),Hu(0,1,n)}function CE(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}function wE(e=DE){return e===!1?e=0:e===!0&&(e=DE),{x:TE(e,`left`,`right`),y:TE(e,`top`,`bottom`)}}function TE(e,t,n){return{min:EE(e,t),max:EE(e,n)}}function EE(e,t){return typeof e==`number`?e:e[t]||0}var DE,OE=t((()=>{Q(),V(),DE=.35}));function kE(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function AE(e,t,n){let r=ny(e,kE(n)),i=ny(t,kE(n));return()=>{r(),i()}}function jE(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function ME(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var NE,PE,FE=t((()=>{Q(),V(),nE(),eE(),iE(),TT(),gE(),OE(),NE=new WeakMap,PE=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=X(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(QT(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=pv(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Yx(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Vf.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Z(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&H.update(()=>i(e,t),!1,!0),r_(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=ME(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&H.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new hE(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:rE(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&H.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!jE(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=_E(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&wT(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=yE(n.layoutBox,e):this.constraints=!1,this.elastic=wE(t),r!==this.constraints&&!wT(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&Yx(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=CE(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!wT(e))return!1;let n=e.current;Gu(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.",`drag-constraints-ref`);let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=mb(n,r.root,this.visualElement.getTransformPagePoint()),a=xE(r.layout.layoutBox,i);if(t){let e=t(Ky(a));this.hasMutatedConstraints=!!e,e&&(a=Gy(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Yx(o=>
54{if(!jE(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return r_(this.visualElement,e),n.start(Pg(e,n,0,t,this.visualElement,!1))}stopAnimation(){Yx(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){Yx(t=>{let{drag:n}=this.getProps();if(!jE(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-q(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!wT(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Yx(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=SE({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Yx(t=>{if(!jE(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(q(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;NE.set(this.visualElement,this);let e=this.visualElement.current,t=tE(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&Tv(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();wT(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=AE(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),H.read(r);let o=uS(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Yx(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=DE,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}}})),IE,LE=t((()=>{Q(),V(),FE(),IE=class extends Uy{constructor(e){super(e),this.removeGroupControls=z,this.removeListeners=z,this.controls=new PE(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||z}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}})),RE,zE,BE=t((()=>{Q(),V(),nE(),iE(),gE(),RE=e=>(t,n)=>{e&&H.update(()=>e(t,n),!1,!0)},zE=class extends Uy{constructor(){super(...arguments),this.removePointerDownListener=z}onPointerDown(e){this.session=new hE(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rE(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:RE(e),onStart:RE(t),onMove:RE(n),onEnd:(e,t)=>{delete this.session,r&&H.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=tE(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}}));function VE(e){let[t,n]=MC(),r=(0,UE.useContext)(Eu);return(0,HE.jsx)(GE,{...e,layoutGroup:r,switchLayoutGroup:(0,UE.useContext)(ST),isPresent:t,safeToRemove:n})}var HE,UE,WE,GE,KE=t((()=>{HE=n(a(),1),Q(),UE=n(o(),1),IC(),Du(),CT(),WE=!1,GE=class extends UE.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),WE&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),SS.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),WE=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||H.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),sv.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;WE=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}})),qE,JE=t((()=>{LE(),BE(),KE(),Q(),qE={pan:{Feature:zE},drag:{Feature:IE,ProjectionNode:uC,MeasureLayout:VE}}}));
54function YE(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&H.postRender(()=>i(t,QT(t)))}var XE,ZE=t((()=>{Q(),eE(),XE=class extends Uy{mount(){let{current:e}=this.node;e&&(this.unmount=vv(e,(e,t)=>(YE(this.node,t,`Start`),e=>YE(this.node,e,`End`))))}unmount(){}}})),QE,$E=t((()=>{Q(),V(),QE=class extends Uy{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!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=id(uS(this.node.current,`focus`,()=>this.onFocus()),uS(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}}}));function eD(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&H.postRender(()=>i(t,QT(t)))}var tD,nD=t((()=>{Q(),eE(),tD=class extends Uy{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=Iv(e,(e,t)=>(eD(this.node,t,`Start`),(e,{success:t})=>eD(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}}}));function rD({root:e,...t}){let n=e||document;oD.has(n)||oD.set(n,{});let r=oD.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(cD,{root:e,...t})),r[i]}function iD(e,t,n){let r=rD(t);return aD.set(e,n),r.observe(e),()=>{aD.delete(e),r.unobserve(e)}}var aD,oD,sD,cD,lD=t((()=>{aD=new WeakMap,oD=new WeakMap,sD=e=>{let t=aD.get(e.target);t&&t(e)},cD=e=>{e.forEach(sD)}}));function uD({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var dD,fD,pD=t((()=>{Q(),lD(),dD={some:0,all:1},fD=class extends Uy{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:dD[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=iD(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(uD(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}})),mD,hD=t((()=>{ZE(),$E(),nD(),pD(),mD={inView:{Feature:fD},tap:{Feature:tD},focus:{Feature:QE},hover:{Feature:XE}}})),gD,_D=t((()=>{Q(),KE(),gD={layout:{ProjectionNode:uC,MeasureLayout:VE}}})),vD,yD=t((()=>{ZT(),JE(),hD(),_D(),vD={...XT,...mD,...qE,...gD}})),bD,xD=t((()=>{WT(),zT(),yD(),bD=RT(vD,UT)})),SD,CD=t((()=>{ZT(),hD(),WT(),SD={renderer:UT,...XT,...mD}})),wD,TD=t((()=>{JE(),_D(),CD(),wD={...SD,...qE,...gD}}));function ED(e){return typeof e==`object`&&!Array.isArray(e)}var DD=t((()=>{}));function OD(e,t,n,r){return e==null?[]:typeof e==`string`&&ED(t)?tv(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(e=>e!=null):[e]}var kD=t((()=>{Q(),DD()}));function AD(e,t,n){return e*(t+1)+n*t}var jD=t((()=>{}));function MD(e,t,n,r){return typeof t==`number`?t:t.startsWith(`-`)||t.startsWith(`+`)?Math.max(0,e+parseFloat(t)):t===`<`?n:t.startsWith(`<`)?Math.max(0,n+parseFloat(t.slice(1))):r.get(t)??e}var ND=t((()=>{}));function PD(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];i.at>t&&i.at<n&&(Bu(e,i),r--)}}function FD(e,t,n,r,i,a){PD(e,i,a);for(let o=0;o<t.length;o++)e.push({value:t[o],at:q(i,a,r[o]),easing:Hd(n,o)})}var ID=t((()=>{Q(),V()}));function LD(e,t,n=0){let r=t+1+t*n;for(let t=0;t<e.length;t++)e[t]=e[t]/r}var RD=t((()=>{}));function zD(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var BD=t((()=>{}));function VD(e,{defaultTransition:t={},...n}={},r,i){let a=t.duration||.3,o=new Map,s=new Map,c={},l=new Map,u=0,d=0,f=0;for(let n=0;n<e.length;n++){let o=e[n];if(typeof o==`string`){l.set(o,d);continue}else if(!Array.isArray(o)){l.set(o.name,MD(d,o.at,u,l));continue}let[p,m,h={}]=o;h.at!==void 0&&(d=MD(d,h.at,u,l));let g=0,_=(e,n,r,o=0,s=0)=>{let c=WD(e),{delay:l=0,times:u=pm(c),type:p=t.type||`keyframes`,repeat:m,repeatType:h,repeatDelay:_=0,...v}=n,{ease:y=t.ease||`easeOut`,duration:b}=n,x=typeof l==`function`?l(o,s):l,S=c.length,C=Ah(p)?p:i?.[p||`keyframes`];if(S<=2&&C){let e=100;if(S===2&&YD(c)){let t=c[1]-c[0];e=Math.abs(t)}let n={...t,...v};b!==void 0&&(n.duration=B(b));let r=Wp(n,e,C);y=r.ease,b=r.duration}b??=a;let w=d+x;u.length===1&&u[0]===0&&(u[1]=1);let ee=u.length-c.length;if(ee>0&&dm(u,ee),c.length===1&&c.unshift(null),m&&Wu(m<qD,`Sequence segments can't repeat ${m} times â ignoring repeat option. Use a value below ${qD} or apply repeat at the sequence level instead.`),m&&m<qD){let e=b>0?_/b:0;b=AD(b,m,_);let t=[...c],n=[...u];y=Array.isArray(y)?[...y]:[y];let r=[...y],i=h===`reverse`||h===`mirror`,a=t,o=r;i&&(a=[...t].reverse(),h===`reverse`&&(o=[...r].reverse().map(e=>typeof e==`function`?wd(e):e)));for(let s=0;s<m;s++){let l=i&&s%2==0,d=l?a:t,f=l?o:r,p=(s+1)*(1+e);e>0&&(c.push(c[c.length-1]),u.push(p),y.push(`linear`)),c.push(...d);for(let e=0;e<d.length;e++)u.push(n[e]+p),y.push(e===0?`linear`:Hd(f,e-1))}LD(u,m,e)}let te=w+b;FD(r,c,y,u,w,te),g=Math.max(x+b,g),f=Math.max(te,f)};if(Y(p)){let e=HD(p,s);_(m,h,UD(`default`,e))}else{let e=OD(p,m,r,c),t=e.length;for(let n=0;n<t;n++){m=m,h=h;let r=e[n],i=HD(r,s);for(let e in m)_(m[e],GD(h,e),UD(e,i),n,t)}}u=d,d+=g}
54return s.forEach((e,r)=>{for(let i in e){let a=e[i];a.sort(zD);let s=[],c=[],l=[];for(let e=0;e<a.length;e++){let{at:t,value:n,easing:r}=a[e];s.push(n),c.push(od(0,f,t)),l.push(r||`easeOut`)}c[0]!==0&&(c.unshift(0),s.unshift(s[0]),l.unshift(KD)),c[c.length-1]!==1&&(c.push(1),s.push(null)),o.has(r)||o.set(r,{keyframes:{},transition:{}});let u=o.get(r);u.keyframes[i]=s;let{type:d,...p}=t;u.transition[i]={...p,duration:f,ease:l,times:c,...n}}}),o}function HD(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function UD(e,t){return t[e]||(t[e]=[]),t[e]}function WD(e){return Array.isArray(e)?e:[e]}function GD(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}var KD,qD,JD,YD,XD=t((()=>{Q(),V(),kD(),jD(),ND(),ID(),RD(),BD(),KD=`easeInOut`,qD=20,JD=e=>typeof e==`number`,YD=e=>e.every(JD)}));function ZD(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=zv(e)&&!oy(e)?new nx(t):new Ib(t);n.mount(e),hy.set(e,n)}function QD(e){let t=new zb({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),hy.set(e,t)}var $D=t((()=>{Q()}));function eO(e,t){return Y(e)||typeof e==`number`||typeof e==`string`&&!ED(t)}function tO(e,t,n,r){let i=[];if(eO(e,t))i.push(cS(e,ED(t)&&t.default||t,n&&(n.default||n)));else{if(e==null)return i;let a=OD(e,t,r),o=a.length;Gu(!!o,`No valid elements provided.`,`no-valid-elements`);for(let e=0;e<o;e++){let r=a[e],s=r instanceof Element?ZD:QD;hy.has(r)||s(r);let c=hy.get(r),l={...n};`delay`in l&&typeof l.delay==`function`&&(l.delay=l.delay(e,o)),i.push(...p_(c,{...t,transition:l},{}))}}return i}var nO=t((()=>{Q(),V(),$D(),DD(),kD()}));function rO(e,t,n){let r=[];return VD(e.map(e=>{if(Array.isArray(e)&&typeof e[0]==`function`){let t=e[0],n=hg(0);return n.on(`change`,t),e.length===1?[n,[0,1]]:e.length===2?[n,[0,1],e[1]]:[n,e[1],e[2]]}return e}),t,n,{spring:Zp}).forEach(({keyframes:e,transition:t},n)=>{r.push(...tO(n,e,t))}),r}var iO=t((()=>{Q(),XD(),nO()}));function aO(e){return Array.isArray(e)&&e.some(Array.isArray)}function oO(e={}){let{scope:t,reduceMotion:n,skipAnimations:r}=e;function i(e,i,a){let o=[],s,c={};if(n!==void 0&&(c.reduceMotion=n),r!==void 0&&(c.skipAnimations=r),aO(e)){let{onComplete:n,...r}=i||{};typeof n==`function`&&(s=n),o=rO(e,{...c,...r},t)}else{let{onComplete:n,...r}=a||{};typeof n==`function`&&(s=n),o=tO(e,i,{...c,...r},t)}let l=new dg(o);return s&&l.finished.then(s),t&&(t.animations.push(l),l.finished.then(()=>{Bu(t.animations,l)})),l}return i}var sO,cO=t((()=>{Q(),V(),iO(),nO(),sO=oO()}));function lO(){return Ou(dO)}var uO,dO,fO=t((()=>{Au(),uO=class{constructor(){this.componentControls=new Set}subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,t){this.componentControls.forEach(n=>{n.start(e.nativeEvent||e,t)})}cancel(){this.componentControls.forEach(e=>{e.cancel()})}stop(){this.componentControls.forEach(e=>{e.stop()})}},dO=()=>new uO})),pO=t((()=>{WC(),TC(),jC(),aw(),bw(),Q(),mC(),jw(),Au(),VT(),xD(),nE(),eE(),ZT(),dT(),Q(),Mu(),yC(),$C(),Fu(),CD(),TD(),WT(),V(),V(),cO(),IC(),Ru(),fO(),_T(),Cw(),Du(),Pw(),CT(),qC(),sE()})),mO,hO,gO=t((()=>{pO(),pO(),mO=bD,hO=BT})),_O=t((()=>{Q(),Q(),V(),cO(),V(),sE()})),vO=t((()=>{_O()}));function yO(e,t){let n={...e};for(let e=0;e<t.length;e++){let r=t[e];delete n[r]}return n}var bO=t((()=>{}));function xO(e){return Array.from(e.match(SO)??[])}var SO,CO=t((()=>{SO=/\p{Lu}?\p{Ll}+|[0-9]+|\p{Lu}+(?!\p{Ll})|\p{Emoji_Presentation}|\p{Extended_Pictographic}|\p{L}+/gu}));function wO(e){return xO(e).map(e=>e.toLowerCase()).join(`-`)}var TO=t((()=>{CO()})),EO=t((()=>{s(),bO(),c(),TO()}));function $(e,t){return jT(e,t)}var DO=t((()=>{LT()})),OO,kO,AO,jO,MO,NO,PO,FO,IO,LO,RO,zO,BO,VO,HO,UO,WO,GO,KO,qO,JO,YO,XO,ZO,QO,$O,ek,tk,nk,rk,ik,ak,ok,sk,ck,lk,uk,dk,fk,pk,mk,hk,gk,_k,vk,yk,bk,xk,Sk,Ck,wk,Tk,Ek,Dk,Ok,kk,Ak,jk,Mk,Nk,Pk,Fk,Ik,Lk,Rk,zk,Bk,Vk,Hk,Uk,Wk,Gk,Kk,qk,Jk,Yk,Xk,Zk,Qk,$k,eA,tA,nA,rA,iA,aA,oA,sA,cA,lA,uA,dA,fA,pA,mA,hA,gA,_A,vA,yA,bA,xA,SA,CA,wA,TA,EA,DA,OA,kA,AA,jA,MA,NA,PA,FA,IA,LA,RA,zA,BA,VA,HA,UA,WA,GA,KA,qA,JA,YA,XA,ZA,QA,$A,ej,tj,nj,rj,ij,aj,oj,sj,cj,lj,uj,dj,fj,pj,mj,hj,gj,_j,vj,yj,bj,xj,Sj,Cj,wj,Tj,Ej,Dj,Oj,kj,Aj=t((()=>
54{DO(),OO=$(`a`),kO=$(`abbr`),AO=$(`address`),jO=$(`area`),MO=$(`article`),NO=$(`aside`),PO=$(`audio`),FO=$(`b`),IO=$(`base`),LO=$(`bdi`),RO=$(`bdo`),zO=$(`big`),BO=$(`blockquote`),VO=$(`body`),HO=$(`button`),UO=$(`canvas`),WO=$(`caption`),GO=$(`cite`),KO=$(`code`),qO=$(`col`),JO=$(`colgroup`),YO=$(`data`),XO=$(`datalist`),ZO=$(`dd`),QO=$(`del`),$O=$(`details`),ek=$(`dfn`),tk=$(`dialog`),nk=$(`div`),rk=$(`dl`),ik=$(`dt`),ak=$(`em`),ok=$(`embed`),sk=$(`fieldset`),ck=$(`figcaption`),lk=$(`figure`),uk=$(`footer`),dk=$(`form`),fk=$(`h1`),pk=$(`h2`),mk=$(`h3`),hk=$(`h4`),gk=$(`h5`),_k=$(`h6`),vk=$(`head`),yk=$(`header`),bk=$(`hgroup`),xk=$(`hr`),Sk=$(`html`),Ck=$(`i`),wk=$(`iframe`),Tk=$(`img`),Ek=$(`input`),Dk=$(`ins`),Ok=$(`kbd`),kk=$(`keygen`),Ak=$(`label`),jk=$(`legend`),Mk=$(`li`),Nk=$(`link`),Pk=$(`main`),Fk=$(`map`),Ik=$(`mark`),Lk=$(`menu`),Rk=$(`menuitem`),zk=$(`meter`),Bk=$(`nav`),Vk=$(`object`),Hk=$(`ol`),Uk=$(`optgroup`),Wk=$(`option`),Gk=$(`output`),Kk=$(`p`),qk=$(`param`),Jk=$(`picture`),Yk=$(`pre`),Xk=$(`progress`),Zk=$(`q`),Qk=$(`rp`),$k=$(`rt`),eA=$(`ruby`),tA=$(`s`),nA=$(`samp`),rA=$(`script`),iA=$(`section`),aA=$(`select`),oA=$(`small`),sA=$(`source`),cA=$(`span`),lA=$(`strong`),uA=$(`style`),dA=$(`sub`),fA=$(`summary`),pA=$(`sup`),mA=$(`table`),hA=$(`tbody`),gA=$(`td`),_A=$(`textarea`),vA=$(`tfoot`),yA=$(`th`),bA=$(`thead`),xA=$(`time`),SA=$(`title`),CA=$(`tr`),wA=$(`track`),TA=$(`u`),EA=$(`ul`),DA=$(`video`),OA=$(`wbr`),kA=$(`webview`),AA=$(`animate`),jA=$(`circle`),MA=$(`def
54s`),NA=$(`desc`),PA=$(`ellipse`),FA=$(`g`),IA=$(`image`),LA=$(`line`),RA=$(`filter`),zA=$(`marker`),BA=$(`mask`),VA=$(`metadata`),HA=$(`path`),UA=$(`pattern`),WA=$(`polygon`),GA=$(`polyline`),KA=$(`rect`),qA=$(`stop`),JA=$(`svg`),YA=$(`symbol`),XA=$(`text`),ZA=$(`tspan`),QA=$(`use`),$A=$(`view`),ej=$(`clipPath`),tj=$(`feBlend`),nj=$(`feColorMatrix`),rj=$(`feComponentTransfer`),ij=$(`feComposite`),aj=$(`feConvolveMatrix`),oj=$(`feDiffuseLighting`),sj=$(`feDisplacementMap`),cj=$(`feDistantLight`),lj=$(`feDropShadow`),uj=$(`feFlood`),dj=$(`feFuncA`),fj=$(`feFuncB`),pj=$(`feFuncG`),mj=$(`feFuncR`),hj=$(`feGaussianBlur`),gj=$(`feImage`),_j=$(`feMerge`),vj=$(`feMergeNode`),yj=$(`feMorphology`),bj=$(`feOffset`),xj=$(`fePointLight`),Sj=$(`feSpecularLighting`),Cj=$(`feSpotLight`),wj=$(`feTile`),Tj=$(`feTurbulence`),Ej=$(`foreignObject`),Dj=$(`linearGradient`),Oj=$(`radialGradient`),kj=$(`textPath`)})),jj=t((()=>{Aj(),DO()})),Mj=r({a:()=>OO,abbr:()=>kO,address:()=>AO,animate:()=>AA,area:()=>jO,article:()=>MO,aside:()=>NO,audio:()=>PO,b:()=>FO,base:()=>IO,bdi:()=>LO,bdo:()=>RO,big:()=>zO,blockquote:()=>BO,body:()=>VO,button:()=>HO,canvas:()=>UO,caption:()=>WO,circle:()=>jA,cite:()=>GO,clipPath:()=>ej,code:()=>KO,col:()=>qO,colgroup:()=>JO,create:()=>$,data:()=>YO,datalist:()=>XO,dd:()=>ZO,defs:()=>MA,del:()=>QO,desc:()=>NA,details:()=>$O,dfn:()=>ek,dialog:()=>tk,div:()=>nk,dl:()=>rk,dt:()=>ik,ellipse:()=>PA,em:()=>ak,embed:()=>ok,feBlend:()=>tj,feColorMatrix:()=>nj,feComponentTransfer:()=>rj,feComposite:()=>ij,feConvolveMatrix:()=>aj,feDiffuseLighting:()=>oj,feDisplacementMap:()=>sj,feDistantLight:()=>cj,feDropShadow:()=>lj,feFlood:()=>uj,feFuncA:()=>dj,feFuncB:()=>fj,feFuncG:()=>pj,feFuncR:()=>mj,feGaussianBlur:()=>hj,feImage:()=>gj,feMerge:()=>_j,feMergeNode:()=>vj,feMorphology:()=>yj,feOffset:()=>bj,fePointLight:()=>xj,feSpecularLighting:()=>Sj,feSpotLight:()=>Cj,feTile:()=>wj,feTurbulence:()=>Tj,fieldset:()=>sk,figcaption:()=>ck,figure:()=>lk,filter:()=>RA,footer:()=>uk,foreignObject:()=>Ej,form:()=>dk,g:()=>FA,h1:()=>fk,h2:()=>pk,h3:()=>mk,h4:()=>hk,h5:()=>gk,h6:()=>_k,head:()=>vk,header:()=>yk,hgroup:()=>bk,hr:()=>xk,html:()=>Sk,i:()=>Ck,iframe:()=>wk,image:()=>IA,img:()=>Tk,input:()=>Ek,ins:()=>Dk,kbd:()=>Ok,keygen:()=>kk,label:()=>Ak,legend:()=>jk,li:()=>Mk,line:()=>LA,linearGradient:()=>Dj,link:()=>Nk,main:()=>Pk,map:()=>Fk,mark:()=>Ik,marker:()=>zA,mask:()=>BA,menu:()=>Lk,menuitem:()=>Rk,metadata:()=>VA,meter:()=>zk,nav:()=>Bk,object:()=>Vk,ol:()=>Hk,optgroup:()=>Uk,option:()=>Wk,output:()=>Gk,p:()=>Kk,param:()=>qk,path:()=>HA,pattern:()=>UA,picture:()=>Jk,polygon:()=>WA,polyline:()=>GA,pre:()=>Yk,progress:()=>Xk,q:()=>Zk,radialGradient:()=>Oj,rect:()=>KA,rp:()=>Qk,rt:()=>$k,ruby:()=>eA,s:()=>tA,samp:()=>nA,script:()=>rA,section:()=>iA,select:()=>aA,small:()=>oA,source:()=>sA,span:()=>cA,stop:()=>qA,strong:()=>lA,style:()=>uA,sub:()=>dA,summary:()=>fA,sup:()=>pA,svg:()=>JA,symbol:()=>YA,table:()=>mA,tbody:()=>hA,td:()=>gA,text:()=>XA,textPath:()=>kj,textarea:()=>_A,tfoot:()=>vA,th:()=>yA,thead:()=>bA,time:()=>xA,title:()=>SA,tr:()=>CA,track:()=>wA,tspan:()=>ZA,u:()=>TA,ul:()=>EA,use:()=>QA,video:()=>DA,view:()=>$A,wbr:()=>OA,webview:()=>kA}),Nj=t((()=>{jj()}));export{yc as $,Cn as $n,zi as $t,wu as A,Dr as An,Wa as At,Xl as B,Yn as Bn,sa as Bt,aw as C,Lr as Cn,So as Ct,NC as D,Nr as Dn,no as Dt,IC as E,Fr as En,po as Et,cu as F,hr as Fn,Da as Ft,Rl as G,Rn as Gn,Qi as Gt,Jl as H,Vn as Hn,ta as Ht,au as I,gr as In,fa as It,Ol as J,kn as Jn,Ki as Jt,Al as K,Ln as Kn,Ji as Kt,ou as L,mr as Ln,da as Lt,Cu as M,vr as Mn,za as Mt,lu as N,dr as Nn,Ta as Nt,bg as O,Mr as On,$a as Ot,su as P,ur as Pn,Ea as Pt,vc as Q,Sn as Qn,Bi as Qt,Ql as R,pr as Rn,la as Rt,iw as S,Jr as Sn,Co as St,WC as T,Pr as Tn,xo as Tt,Yl as U,Kn as Un,na as Ut,Zl as V,qn as Vn,aa as Vt,Ll as W,Gn as Wn,ea as Wt,El as X,En as Xn,Hi as Xt,kl as Y,Dn as Yn,Wi as Yt,Dl as Z,wn as Zn,Vi as Zt,cO as _,ri as _n,Ot as _r,No as _t,EO as a,Ei as an,mn as ar,oc as at,gw as b,ei as bn,Ao as bt,bO as c,hi as cn,un as cr,Ms as ct,gO as d,fi as dn,Lt as dr,Ds as dt,Fi as en,vn as er,hc as et,hO as f,mi as fn,Rt as fr,Os as ft,sO as g,ai as gn,At as gr,Mo as gt,lO as h,ci as hn,Et as hr,To as ht,Aj as i,ji as in,pn as ir,lc as it,Su as j,_r as jn,La as jt,hg as k,Tr as kn,Qa as kt,yO as l,yi as ln,zt as lr,As as lt,fO as m,li as mn,Ft as mr,ws as mt,Mj as n,Mi as nn,_n as nr,fc as nt,TO as o,Ti as on,en as or,ec as ot,mO as p,j as pn,Nt as pr,ys as pt,jl as q,jn as qn,Gi as qt,nk as r,Ai as rn,gn as rr,uc as rt,wO as s,wi as sn,rn as sr,Ns as st,Nj as t,Ni as tn,yn as tr,R as tt,vO as u,di as un,Bt as ur,ks as ut,wD as v,ii as vn,Tt as vr,Oo as vt,UC as w,Ir as wn,yo as wt,bw as x,Br as xn,Fo as xt,TD as y,zr as yn,mt as yr,Po as yt,$l as z,fr as zn,ua as zt};
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.