UNPKG

gwitter

Version:

Turn GitHub Issues into your personal microblog platform

1 lines 368 kB
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("react"),require("react-dom/client"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom/client","react-dom"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).gwitter=e(t.React,t.ReactDOM,t.ReactDOM)}(this,function(t,e,n){"use strict";function i(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}}),e.default=t,Object.freeze(e)}var r=i(t);function o(t,e,n,i){return new(n||(n=Promise))(function(r,o){function s(t){try{l(i.next(t))}catch(t){o(t)}}function a(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(s,a)}l((i=i.apply(t,e||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;var s,a,l={exports:{}},c={};var u=(a||(a=1,l.exports=function(){if(s)return c;s=1;var e=t,n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(t,e,i){var s,l={},c=null,u=null;for(s in void 0!==i&&(c=""+i),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(u=e.ref),e)r.call(e,s)&&!a.hasOwnProperty(s)&&(l[s]=e[s]);if(t&&t.defaultProps)for(s in e=t.defaultProps)void 0===l[s]&&(l[s]=e[s]);return{$$typeof:n,type:t,key:c,ref:u,props:l,_owner:o.current}}return c.Fragment=i,c.jsx=l,c.jsxs=l,c}()),l.exports);function d(){return d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},d.apply(null,arguments)}var h=function(){function t(t){var e=this;this._insertTag=function(t){var n;n=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,n),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(e);try{n.insertRule(t,n.cssRules.length)}catch(t){}}else e.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach(function(t){var e;return null==(e=t.parentNode)?void 0:e.removeChild(t)}),this.tags=[],this.ctr=0},t}(),p="-ms-",f="-moz-",m="-webkit-",g="comm",y="rule",v="decl",b="@keyframes",x=Math.abs,w=String.fromCharCode,S=Object.assign;function k(t){return t.trim()}function C(t,e,n){return t.replace(e,n)}function E(t,e){return t.indexOf(e)}function P(t,e){return 0|t.charCodeAt(e)}function T(t,e,n){return t.slice(e,n)}function A(t){return t.length}function j(t){return t.length}function R(t,e){return e.push(t),t}var O=1,M=1,L=0,D=0,$=0,_="";function N(t,e,n,i,r,o,s){return{value:t,root:e,parent:n,type:i,props:r,children:o,line:O,column:M,length:s,return:""}}function F(t,e){return S(N("",null,null,"",null,null,0),t,{length:-t.length},e)}function I(){return $=D>0?P(_,--D):0,M--,10===$&&(M=1,O--),$}function V(){return $=D<L?P(_,D++):0,M++,10===$&&(M=1,O++),$}function B(){return P(_,D)}function U(){return D}function z(t,e){return T(_,t,e)}function W(t){switch(t){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 H(t){return O=M=1,L=A(_=t),D=0,[]}function q(t){return _="",t}function Y(t){return k(z(D-1,K(91===t?t+2:40===t?t+1:t)))}function X(t){for(;($=B())&&$<33;)V();return W(t)>2||W($)>3?"":" "}function G(t,e){for(;--e&&V()&&!($<48||$>102||$>57&&$<65||$>70&&$<97););return z(t,U()+(e<6&&32==B()&&32==V()))}function K(t){for(;V();)switch($){case t:return D;case 34:case 39:34!==t&&39!==t&&K($);break;case 40:41===t&&K(t);break;case 92:V()}return D}function J(t,e){for(;V()&&t+$!==57&&(t+$!==84||47!==B()););return"/*"+z(e,D-1)+"*"+w(47===t?t:V())}function Z(t){for(;!W(B());)V();return z(t,D)}function Q(t){return q(tt("",null,null,null,[""],t=H(t),0,[0],t))}function tt(t,e,n,i,r,o,s,a,l){for(var c=0,u=0,d=s,h=0,p=0,f=0,m=1,g=1,y=1,v=0,b="",x=r,S=o,k=i,T=b;g;)switch(f=v,v=V()){case 40:if(108!=f&&58==P(T,d-1)){-1!=E(T+=C(Y(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:T+=Y(v);break;case 9:case 10:case 13:case 32:T+=X(f);break;case 92:T+=G(U()-1,7);continue;case 47:switch(B()){case 42:case 47:R(nt(J(V(),U()),e,n),l);break;default:T+="/"}break;case 123*m:a[c++]=A(T)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(T=C(T,/\f/g,"")),p>0&&A(T)-d&&R(p>32?it(T+";",i,n,d-1):it(C(T," ","")+";",i,n,d-2),l);break;case 59:T+=";";default:if(R(k=et(T,e,n,c,u,r,a,b,x=[],S=[],d),o),123===v)if(0===u)tt(T,e,k,k,x,o,d,a,S);else switch(99===h&&110===P(T,3)?100:h){case 100:case 108:case 109:case 115:tt(t,k,k,i&&R(et(t,k,k,0,0,r,a,b,r,x=[],d),S),r,S,d,a,i?x:S);break;default:tt(T,k,k,k,[""],S,0,a,S)}}c=u=p=0,m=y=1,b=T="",d=s;break;case 58:d=1+A(T),p=f;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==I())continue;switch(T+=w(v),v*m){case 38:y=u>0?1:(T+="\f",-1);break;case 44:a[c++]=(A(T)-1)*y,y=1;break;case 64:45===B()&&(T+=Y(V())),h=B(),u=d=A(b=T+=Z(U())),v++;break;case 45:45===f&&2==A(T)&&(m=0)}}return o}function et(t,e,n,i,r,o,s,a,l,c,u){for(var d=r-1,h=0===r?o:[""],p=j(h),f=0,m=0,g=0;f<i;++f)for(var v=0,b=T(t,d+1,d=x(m=s[f])),w=t;v<p;++v)(w=k(m>0?h[v]+" "+b:C(b,/&\f/g,h[v])))&&(l[g++]=w);return N(t,e,n,0===r?y:a,l,c,u)}function nt(t,e,n){return N(t,e,n,g,w($),T(t,2,-2),0)}function it(t,e,n,i){return N(t,e,n,v,T(t,0,i),T(t,i+1,-1),i)}function rt(t,e){for(var n="",i=j(t),r=0;r<i;r++)n+=e(t[r],r,t,e)||"";return n}function ot(t,e,n,i){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case v:return t.return=t.return||t.value;case g:return"";case b:return t.return=t.value+"{"+rt(t.children,i)+"}";case y:t.value=t.props.join(",")}return A(n=rt(t.children,i))?t.return=t.value+"{"+n+"}":""}function st(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}var at=function(t,e,n){for(var i=0,r=0;i=r,r=B(),38===i&&12===r&&(e[n]=1),!W(r);)V();return z(t,D)},lt=function(t,e){return q(function(t,e){var n=-1,i=44;do{switch(W(i)){case 0:38===i&&12===B()&&(e[n]=1),t[n]+=at(D-1,e,n);break;case 2:t[n]+=Y(i);break;case 4:if(44===i){t[++n]=58===B()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=w(i)}}while(i=V());return t}(H(t),e))},ct=new WeakMap,ut=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||ct.get(n))&&!i){ct.set(t,!0);for(var r=[],o=lt(e,r),s=n.props,a=0,l=0;a<o.length;a++)for(var c=0;c<s.length;c++,l++)t.props[l]=r[a]?o[a].replace(/&\f/g,s[c]):s[c]+" "+o[a]}}},dt=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}};function ht(t,e){switch(function(t,e){return 45^P(t,0)?(((e<<2^P(t,0))<<2^P(t,1))<<2^P(t,2))<<2^P(t,3):0}(t,e)){case 5103:return m+"print-"+t+t;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 m+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return m+t+f+t+p+t+t;case 6828:case 4268:return m+t+p+t+t;case 6165:return m+t+p+"flex-"+t+t;case 5187:return m+t+C(t,/(\w+).+(:[^]+)/,m+"box-$1$2"+p+"flex-$1$2")+t;case 5443:return m+t+p+"flex-item-"+C(t,/flex-|-self/,"")+t;case 4675:return m+t+p+"flex-line-pack"+C(t,/align-content|flex-|-self/,"")+t;case 5548:return m+t+p+C(t,"shrink","negative")+t;case 5292:return m+t+p+C(t,"basis","preferred-size")+t;case 6060:return m+"box-"+C(t,"-grow","")+m+t+p+C(t,"grow","positive")+t;case 4554:return m+C(t,/([^-])(transform)/g,"$1"+m+"$2")+t;case 6187:return C(C(C(t,/(zoom-|grab)/,m+"$1"),/(image-set)/,m+"$1"),t,"")+t;case 5495:case 3959:return C(t,/(image-set\([^]*)/,m+"$1$`$1");case 4968:return C(C(t,/(.+:)(flex-)?(.*)/,m+"box-pack:$3"+p+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+m+t+t;case 4095:case 3583:case 4068:case 2532:return C(t,/(.+)-inline(.+)/,m+"$1$2")+t;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(A(t)-1-e>6)switch(P(t,e+1)){case 109:if(45!==P(t,e+4))break;case 102:return C(t,/(.+:)(.+)-([^]+)/,"$1"+m+"$2-$3$1"+f+(108==P(t,e+3)?"$3":"$2-$3"))+t;case 115:return~E(t,"stretch")?ht(C(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==P(t,e+1))break;case 6444:switch(P(t,A(t)-3-(~E(t,"!important")&&10))){case 107:return C(t,":",":"+m)+t;case 101:return C(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+m+(45===P(t,14)?"inline-":"")+"box$3$1"+m+"$2$3$1"+p+"$2box$3")+t}break;case 5936:switch(P(t,e+11)){case 114:return m+t+p+C(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return m+t+p+C(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return m+t+p+C(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return m+t+p+t+t}return t}var pt,ft,mt,gt,yt=[function(t,e,n,i){if(t.length>-1&&!t.return)switch(t.type){case v:t.return=ht(t.value,t.length);break;case b:return rt([F(t,{value:C(t.value,"@","@"+m)})],i);case y:if(t.length)return function(t,e){return t.map(e).join("")}(t.props,function(e){switch(function(t,e){return(t=e.exec(t))?t[0]:t}(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return rt([F(t,{props:[C(e,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return rt([F(t,{props:[C(e,/:(plac\w+)/,":"+m+"input-$1")]}),F(t,{props:[C(e,/:(plac\w+)/,":-moz-$1")]}),F(t,{props:[C(e,/:(plac\w+)/,p+"input-$1")]})],i)}return""})}}],vt=function(t){var e=t.key;if("css"===e){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))})}var i,r,o=t.stylisPlugins||yt,s={},a=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n<e.length;n++)s[e[n]]=!0;a.push(t)});var l,c,u=[ot,(c=function(t){l.insert(t)},function(t){t.root||(t=t.return)&&c(t)})],d=function(t){var e=j(t);return function(n,i,r,o){for(var s="",a=0;a<e;a++)s+=t[a](n,i,r,o)||"";return s}}([ut,dt].concat(o,u));r=function(t,e,n,i){l=n,rt(Q(t?t+"{"+e.styles+"}":e.styles),d),i&&(p.inserted[e.name]=!0)};var p={key:e,sheet:new h({key:e,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:r};return p.sheet.hydrate(a),p},bt={exports:{}},xt={};function wt(){return ft||(ft=1,bt.exports=function(){if(pt)return xt;pt=1;var t="function"==typeof Symbol&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,r=t?Symbol.for("react.strict_mode"):60108,o=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,a=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,c=t?Symbol.for("react.concurrent_mode"):60111,u=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,h=t?Symbol.for("react.suspense_list"):60120,p=t?Symbol.for("react.memo"):60115,f=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,g=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,v=t?Symbol.for("react.scope"):60119;function b(t){if("object"==typeof t&&null!==t){var h=t.$$typeof;switch(h){case e:switch(t=t.type){case l:case c:case i:case o:case r:case d:return t;default:switch(t=t&&t.$$typeof){case a:case u:case f:case p:case s:return t;default:return h}}case n:return h}}}function x(t){return b(t)===c}return xt.AsyncMode=l,xt.ConcurrentMode=c,xt.ContextConsumer=a,xt.ContextProvider=s,xt.Element=e,xt.ForwardRef=u,xt.Fragment=i,xt.Lazy=f,xt.Memo=p,xt.Portal=n,xt.Profiler=o,xt.StrictMode=r,xt.Suspense=d,xt.isAsyncMode=function(t){return x(t)||b(t)===l},xt.isConcurrentMode=x,xt.isContextConsumer=function(t){return b(t)===a},xt.isContextProvider=function(t){return b(t)===s},xt.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},xt.isForwardRef=function(t){return b(t)===u},xt.isFragment=function(t){return b(t)===i},xt.isLazy=function(t){return b(t)===f},xt.isMemo=function(t){return b(t)===p},xt.isPortal=function(t){return b(t)===n},xt.isProfiler=function(t){return b(t)===o},xt.isStrictMode=function(t){return b(t)===r},xt.isSuspense=function(t){return b(t)===d},xt.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===c||t===o||t===r||t===d||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===s||t.$$typeof===a||t.$$typeof===u||t.$$typeof===g||t.$$typeof===y||t.$$typeof===v||t.$$typeof===m)},xt.typeOf=b,xt}()),bt.exports}!function(){if(gt)return mt;gt=1;var t=wt(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};function o(n){return t.isMemo(n)?i:r[n.$$typeof]||e}r[t.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[t.Memo]=i;var s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;mt=function t(e,i,r){if("string"!=typeof i){if(d){var h=u(i);h&&h!==d&&t(e,h,r)}var p=a(i);l&&(p=p.concat(l(i)));for(var f=o(e),m=o(i),g=0;g<p.length;++g){var y=p[g];if(!(n[y]||r&&r[y]||m&&m[y]||f&&f[y])){var v=c(i,y);try{s(e,y,v)}catch(t){}}}}return e}}();function St(t,e,n){var i="";return n.split(" ").forEach(function(n){void 0!==t[n]?e.push(t[n]+";"):n&&(i+=n+" ")}),i}var kt=function(t,e,n){var i=t.key+"-"+e.name;!1===n&&void 0===t.registered[i]&&(t.registered[i]=e.styles)},Ct=function(t,e,n){kt(t,e,n);var i=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var r=e;do{t.insert(e===r?"."+i:"",r,t.sheet,!0),r=r.next}while(void 0!==r)}};var Et={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},Pt=/[A-Z]|^ms/g,Tt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,At=function(t){return 45===t.charCodeAt(1)},jt=function(t){return null!=t&&"boolean"!=typeof t},Rt=st(function(t){return At(t)?t:t.replace(Pt,"-$&").toLowerCase()}),Ot=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(Tt,function(t,e,n){return Lt={name:e,styles:n,next:Lt},e})}return 1===Et[t]||At(t)||"number"!=typeof e||0===e?e:e+"px"};function Mt(t,e,n){if(null==n)return"";var i=n;if(void 0!==i.__emotion_styles)return i;switch(typeof n){case"boolean":return"";case"object":var r=n;if(1===r.anim)return Lt={name:r.name,styles:r.styles,next:Lt},r.name;var o=n;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)Lt={name:s.name,styles:s.styles,next:Lt},s=s.next;return o.styles+";"}return function(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=Mt(t,e,n[r])+";";else for(var o in n){var s=n[o];if("object"!=typeof s){var a=s;null!=e&&void 0!==e[a]?i+=o+"{"+e[a]+"}":jt(a)&&(i+=Rt(o)+":"+Ot(o,a)+";")}else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=e&&void 0!==e[s[0]]){var l=Mt(t,e,s);switch(o){case"animation":case"animationName":i+=Rt(o)+":"+l+";";break;default:i+=o+"{"+l+"}"}}else for(var c=0;c<s.length;c++)jt(s[c])&&(i+=Rt(o)+":"+Ot(o,s[c])+";")}return i}(t,e,n);case"function":if(void 0!==t){var a=Lt,l=n(t);return Lt=a,Mt(t,e,l)}}var c=n;if(null==e)return c;var u=e[c];return void 0!==u?u:c}var Lt,Dt=/label:\s*([^\s;{]+)\s*(;|$)/g;function $t(t,e,n){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var i=!0,r="";Lt=void 0;var o=t[0];null==o||void 0===o.raw?(i=!1,r+=Mt(n,e,o)):r+=o[0];for(var s=1;s<t.length;s++){if(r+=Mt(n,e,t[s]),i)r+=o[s]}Dt.lastIndex=0;for(var a,l="";null!==(a=Dt.exec(r));)l+="-"+a[1];var c=function(t){for(var e,n=0,i=0,r=t.length;r>=4;++i,r-=4)e=1540483477*(65535&(e=255&t.charCodeAt(i)|(255&t.charCodeAt(++i))<<8|(255&t.charCodeAt(++i))<<16|(255&t.charCodeAt(++i))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&t.charCodeAt(i+2))<<16;case 2:n^=(255&t.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+l;return{name:c,styles:r,next:Lt}}var _t=!!r.useInsertionEffect&&r.useInsertionEffect||function(t){return t()},Nt=r.createContext("undefined"!=typeof HTMLElement?vt({key:"css"}):null);Nt.Provider;var Ft,It,Vt=function(e){return t.forwardRef(function(n,i){var r=t.useContext(Nt);return e(n,r,i)})},Bt=r.createContext({}),Ut={}.hasOwnProperty,zt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Wt=function(t){var e=t.cache,n=t.serialized,i=t.isStringTag;return kt(e,n,i),_t(function(){return Ct(e,n,i)}),null},Ht=Vt(function(t,e,n){var i=t.css;"string"==typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var o=t[zt],s=[i],a="";"string"==typeof t.className?a=St(e.registered,s,t.className):null!=t.className&&(a=t.className+" ");var l=$t(s,void 0,r.useContext(Bt));a+=e.key+"-"+l.name;var c={};for(var u in t)Ut.call(t,u)&&"css"!==u&&u!==zt&&(c[u]=t[u]);return c.className=a,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(Wt,{cache:e,serialized:l,isStringTag:"string"==typeof o}),r.createElement(o,c))}),qt=Ht,Yt=function(t,e){var n=arguments;if(null==e||!Ut.call(e,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=qt,o[1]=function(t,e){var n={};for(var i in e)Ut.call(e,i)&&(n[i]=e[i]);return n[zt]=t,n}(t,e);for(var s=2;s<i;s++)o[s]=n[s];return r.createElement.apply(null,o)};function Xt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return $t(e)}function Gt(){var t=Xt.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}Ft=Yt||(Yt={}),It||(It=Ft.JSX||(Ft.JSX={}));var Kt=/^((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|playsInline|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)-.*))$/,Jt=st(function(t){return Kt.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91}),Zt=function(t){return"theme"!==t},Qt=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?Jt:Zt},te=function(t,e,n){var i;if(e){var r=e.shouldForwardProp;i=t.__emotion_forwardProp&&r?function(e){return t.__emotion_forwardProp(e)&&r(e)}:r}return"function"!=typeof i&&n&&(i=t.__emotion_forwardProp),i},ee=function(t){var e=t.cache,n=t.serialized,i=t.isStringTag;return kt(e,n,i),_t(function(){return Ct(e,n,i)}),null},ne=function t(e,n){var i,o,s=e.__emotion_real===e,a=s&&e.__emotion_base||e;void 0!==n&&(i=n.label,o=n.target);var l=te(e,n,s),c=l||Qt(a),u=!c("as");return function(){var h=arguments,p=s&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==i&&p.push("label:"+i+";"),null==h[0]||void 0===h[0].raw)p.push.apply(p,h);else{var f=h[0];p.push(f[0]);for(var m=h.length,g=1;g<m;g++)p.push(h[g],f[g])}var y=Vt(function(t,e,n){var i=u&&t.as||a,s="",d=[],h=t;if(null==t.theme){for(var f in h={},t)h[f]=t[f];h.theme=r.useContext(Bt)}"string"==typeof t.className?s=St(e.registered,d,t.className):null!=t.className&&(s=t.className+" ");var m=$t(p.concat(d),e.registered,h);s+=e.key+"-"+m.name,void 0!==o&&(s+=" "+o);var g=u&&void 0===l?Qt(i):c,y={};for(var v in t)u&&"as"===v||g(v)&&(y[v]=t[v]);return y.className=s,n&&(y.ref=n),r.createElement(r.Fragment,null,r.createElement(ee,{cache:e,serialized:m,isStringTag:"string"==typeof i}),r.createElement(i,y))});return y.displayName=void 0!==i?i:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",y.defaultProps=e.defaultProps,y.__emotion_real=y,y.__emotion_base=a,y.__emotion_styles=p,y.__emotion_forwardProp=l,Object.defineProperty(y,"toString",{value:function(){return"."+o}}),y.withComponent=function(e,i){return t(e,d({},n,i,{shouldForwardProp:te(y,i,!0)})).apply(void 0,p)},y}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(t){ne[t]=ne(t)});const ie=t.createContext({});function re(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}const oe="undefined"!=typeof window,se=oe?t.useLayoutEffect:t.useEffect,ae=t.createContext(null);function le(t,e){-1===t.indexOf(e)&&t.push(e)}function ce(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const ue=(t,e,n)=>n>e?e:n<t?t:n;const de={},he=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function pe(t){return"object"==typeof t&&null!==t}const fe=t=>/^0[^.\s]+$/u.test(t);function me(t){let e;return()=>(void 0===e&&(e=t()),e)}const ge=t=>t,ye=(t,e)=>n=>e(t(n)),ve=(...t)=>t.reduce(ye),be=(t,e,n)=>{const i=e-t;return 0===i?1:(n-t)/i};class xe{constructor(){this.subscriptions=[]}add(t){return le(this.subscriptions,t),()=>ce(this.subscriptions,t)}notify(t,e,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let r=0;r<i;r++){const i=this.subscriptions[r];i&&i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const we=t=>1e3*t,Se=t=>t/1e3;function ke(t,e){return e?t*(1e3/e):0}const Ce=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function Ee(t,e,n,i){if(t===e&&n===i)return ge;const r=e=>function(t,e,n,i,r){let o,s,a=0;do{s=e+(n-e)/2,o=Ce(s,i,r)-t,o>0?n=s:e=s}while(Math.abs(o)>1e-7&&++a<12);return s}(e,0,1,t,n);return t=>0===t||1===t?t:Ce(r(t),e,i)}const Pe=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Te=t=>e=>1-t(1-e),Ae=Ee(.33,1.53,.69,.99),je=Te(Ae),Re=Pe(je),Oe=t=>(t*=2)<1?.5*je(t):.5*(2-Math.pow(2,-10*(t-1))),Me=t=>1-Math.sin(Math.acos(t)),Le=Te(Me),De=Pe(Me),$e=Ee(.42,0,1,1),_e=Ee(0,0,.58,1),Ne=Ee(.42,0,.58,1),Fe=t=>Array.isArray(t)&&"number"==typeof t[0],Ie={linear:ge,easeIn:$e,easeInOut:Ne,easeOut:_e,circIn:Me,circInOut:De,circOut:Le,backIn:je,backInOut:Re,backOut:Ae,anticipate:Oe},Ve=t=>{if(Fe(t)){t.length;const[e,n,i,r]=t;return Ee(e,n,i,r)}return"string"==typeof t?Ie[t]:t},Be=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Ue(t,e){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=Be.reduce((t,e)=>(t[e]=function(t){let e=new Set,n=new Set,i=!1,r=!1;const o=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(e){o.has(e)&&(l.schedule(e),t()),e(s)}const l={schedule:(t,r=!1,s=!1)=>{const a=s&&i?e:n;return r&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{s=t,i?r=!0:(i=!0,[e,n]=[n,e],e.forEach(a),e.clear(),i=!1,r&&(r=!1,l.process(t)))}};return l}(o),t),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:h,render:p,postRender:f}=s,m=()=>{const o=de.useManualTiming?r.timestamp:performance.now();n=!1,de.useManualTiming||(r.delta=i?1e3/60:Math.max(Math.min(o-r.timestamp,40),1)),r.timestamp=o,r.isProcessing=!0,a.process(r),l.process(r),c.process(r),u.process(r),d.process(r),h.process(r),p.process(r),f.process(r),r.isProcessing=!1,n&&e&&(i=!1,t(m))};return{schedule:Be.reduce((e,o)=>{const a=s[o];return e[o]=(e,o=!1,s=!1)=>(n||(n=!0,i=!0,r.isProcessing||t(m)),a.schedule(e,o,s)),e},{}),cancel:t=>{for(let e=0;e<Be.length;e++)s[Be[e]].cancel(t)},state:r,steps:s}}const{schedule:ze,cancel:We,state:He,steps:qe}=Ue("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:ge,!0);let Ye;function Xe(){Ye=void 0}const Ge={now:()=>(void 0===Ye&&Ge.set(He.isProcessing||de.useManualTiming?He.timestamp:performance.now()),Ye),set:t=>{Ye=t,queueMicrotask(Xe)}},Ke=t=>e=>"string"==typeof e&&e.startsWith(t),Je=Ke("--"),Ze=Ke("var(--"),Qe=t=>!!Ze(t)&&tn.test(t.split("/*")[0].trim()),tn=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,en={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},nn={...en,transform:t=>ue(0,1,t)},rn={...en,default:1},on=t=>Math.round(1e5*t)/1e5,sn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const an=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ln=(t,e)=>n=>Boolean("string"==typeof n&&an.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),cn=(t,e,n)=>i=>{if("string"!=typeof i)return i;const[r,o,s,a]=i.match(sn);return{[t]:parseFloat(r),[e]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},un={...en,transform:t=>Math.round((t=>ue(0,255,t))(t))},dn={test:ln("rgb","red"),parse:cn("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+un.transform(t)+", "+un.transform(e)+", "+un.transform(n)+", "+on(nn.transform(i))+")"};const hn={test:ln("#"),parse:function(t){let e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}},transform:dn.transform},pn=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),fn=pn("deg"),mn=pn("%"),gn=pn("px"),yn=pn("vh"),vn=pn("vw"),bn=(()=>({...mn,parse:t=>mn.parse(t)/100,transform:t=>mn.transform(100*t)}))(),xn={test:ln("hsl","hue"),parse:cn("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+mn.transform(on(e))+", "+mn.transform(on(n))+", "+on(nn.transform(i))+")"},wn={test:t=>dn.test(t)||hn.test(t)||xn.test(t),parse:t=>dn.test(t)?dn.parse(t):xn.test(t)?xn.parse(t):hn.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?dn.transform(t):xn.transform(t)},Sn=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const kn="number",Cn="color",En=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Pn(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},r=[];let o=0;const s=e.replace(En,t=>(wn.test(t)?(i.color.push(o),r.push(Cn),n.push(wn.parse(t))):t.startsWith("var(")?(i.var.push(o),r.push("var"),n.push(t)):(i.number.push(o),r.push(kn),n.push(parseFloat(t))),++o,"${}")).split("${}");return{values:n,split:s,indexes:i,types:r}}function Tn(t){return Pn(t).values}function An(t){const{split:e,types:n}=Pn(t),i=e.length;return t=>{let r="";for(let o=0;o<i;o++)if(r+=e[o],void 0!==t[o]){const e=n[o];r+=e===kn?on(t[o]):e===Cn?wn.transform(t[o]):t[o]}return r}}const jn=t=>"number"==typeof t?0:t;const Rn={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(sn)?.length||0)+(t.match(Sn)?.length||0)>0},parse:Tn,createTransformer:An,getAnimatableNone:function(t){const e=Tn(t);return An(t)(e.map(jn))}};function On(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Mn(t,e){return n=>n>0?e:t}const Ln=(t,e,n)=>t+(e-t)*n,Dn=(t,e,n)=>{const i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},$n=[hn,dn,xn];function _n(t){const e=(n=t,$n.find(t=>t.test(n)));var n;if(!Boolean(e))return!1;let i=e.parse(t);return e===xn&&(i=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let r=0,o=0,s=0;if(e/=100){const i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;r=On(a,i,t+1/3),o=On(a,i,t),s=On(a,i,t-1/3)}else r=o=s=n;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:i}}(i)),i}const Nn=(t,e)=>{const n=_n(t),i=_n(e);if(!n||!i)return Mn(t,e);const r={...n};return t=>(r.red=Dn(n.red,i.red,t),r.green=Dn(n.green,i.green,t),r.blue=Dn(n.blue,i.blue,t),r.alpha=Ln(n.alpha,i.alpha,t),dn.transform(r))},Fn=new Set(["none","hidden"]);function In(t,e){return n=>Ln(t,e,n)}function Vn(t){return"number"==typeof t?In:"string"==typeof t?Qe(t)?Mn:wn.test(t)?Nn:zn:Array.isArray(t)?Bn:"object"==typeof t?wn.test(t)?Nn:Un:Mn}function Bn(t,e){const n=[...t],i=n.length,r=t.map((t,n)=>Vn(t)(t,e[n]));return t=>{for(let e=0;e<i;e++)n[e]=r[e](t);return n}}function Un(t,e){const n={...t,...e},i={};for(const r in n)void 0!==t[r]&&void 0!==e[r]&&(i[r]=Vn(t[r])(t[r],e[r]));return t=>{for(const e in i)n[e]=i[e](t);return n}}const zn=(t,e)=>{const n=Rn.createTransformer(e),i=Pn(t),r=Pn(e);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?Fn.has(t)&&!r.values.length||Fn.has(e)&&!i.values.length?function(t,e){return Fn.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):ve(Bn(function(t,e){const n=[],i={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){const o=e.types[r],s=t.indexes[o][i[o]],a=t.values[s]??0;n[r]=a,i[o]++}return n}(i,r),r.values),n):Mn(t,e)};function Wn(t,e,n){if("number"==typeof t&&"number"==typeof e&&"number"==typeof n)return Ln(t,e,n);return Vn(t)(t,e)}const Hn=t=>{const e=({timestamp:e})=>t(e);return{start:(t=!0)=>ze.update(e,t),stop:()=>We(e),now:()=>He.isProcessing?He.timestamp:Ge.now()}},qn=(t,e,n=10)=>{let i="";const r=Math.max(Math.round(e/n),2);for(let e=0;e<r;e++)i+=t(e/(r-1))+", ";return`linear(${i.substring(0,i.length-2)})`},Yn=2e4;function Xn(t){let e=0;let n=t.next(e);for(;!n.done&&e<Yn;)e+=50,n=t.next(e);return e>=Yn?1/0:e}function Gn(t,e,n){const i=Math.max(e-5,0);return ke(n-t(i),e-i)}const Kn=100,Jn=10,Zn=1,Qn=0,ti=800,ei=.3,ni=.3,ii={granular:.01,default:2},ri={granular:.005,default:.5},oi=.01,si=10,ai=.05,li=1,ci=.001;function ui({duration:t=ti,bounce:e=ei,velocity:n=Qn,mass:i=Zn}){let r,o,s=1-e;s=ue(ai,li,s),t=ue(oi,si,Se(t)),s<1?(r=e=>{const i=e*s,r=i*t,o=i-n,a=hi(e,s),l=Math.exp(-r);return ci-o/a*l},o=e=>{const i=e*s*t,o=i*n+n,a=Math.pow(s,2)*Math.pow(e,2)*t,l=Math.exp(-i),c=hi(Math.pow(e,2),s);return(-r(e)+ci>0?-1:1)*((o-a)*l)/c}):(r=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,o=e=>Math.exp(-e*t)*(t*t*(n-e)));const a=function(t,e,n){let i=n;for(let n=1;n<di;n++)i-=t(i)/e(i);return i}(r,o,5/t);if(t=we(t),isNaN(a))return{stiffness:Kn,damping:Jn,duration:t};{const e=Math.pow(a,2)*i;return{stiffness:e,damping:2*s*Math.sqrt(i*e),duration:t}}}const di=12;function hi(t,e){return t*Math.sqrt(1-e*e)}const pi=["duration","bounce"],fi=["stiffness","damping","mass"];function mi(t,e){return e.some(e=>void 0!==t[e])}function gi(t=ni,e=ei){const n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:i,restDelta:r}=n;const o=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:c,mass:u,duration:d,velocity:h,isResolvedFromDuration:p}=function(t){let e={velocity:Qn,stiffness:Kn,damping:Jn,mass:Zn,isResolvedFromDuration:!1,...t};if(!mi(t,fi)&&mi(t,pi))if(t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(1.2*n),r=i*i,o=2*ue(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:Zn,stiffness:r,damping:o}}else{const n=ui(t);e={...e,...n,mass:Zn},e.isResolvedFromDuration=!0}return e}({...n,velocity:-Se(n.velocity||0)}),f=h||0,m=c/(2*Math.sqrt(l*u)),g=s-o,y=Se(Math.sqrt(l/u)),v=Math.abs(g)<5;let b;if(i||(i=v?ii.granular:ii.default),r||(r=v?ri.granular:ri.default),m<1){const t=hi(y,m);b=e=>{const n=Math.exp(-m*y*e);return s-n*((f+m*y*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}}else if(1===m)b=t=>s-Math.exp(-y*t)*(g+(f+y*g)*t);else{const t=y*Math.sqrt(m*m-1);b=e=>{const n=Math.exp(-m*y*e),i=Math.min(t*e,300);return s-n*((f+m*y*g)*Math.sinh(i)+t*g*Math.cosh(i))/t}}const x={calculatedDuration:p&&d||null,next:t=>{const e=b(t);if(p)a.done=t>=d;else{let n=0===t?f:0;m<1&&(n=0===t?we(f):Gn(b,t,e));const o=Math.abs(n)<=i,l=Math.abs(s-e)<=r;a.done=o&&l}return a.value=a.done?s:e,a},toString:()=>{const t=Math.min(Xn(x),Yn),e=qn(e=>x.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return x}function yi({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=t[0],h={done:!1,value:d},p=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l;let f=n*e;const m=d+f,g=void 0===s?m:s(m);g!==m&&(f=g-d);const y=t=>-f*Math.exp(-t/i),v=t=>g+y(t),b=t=>{const e=y(t),n=v(t);h.done=Math.abs(e)<=c,h.value=h.done?g:n};let x,w;const S=t=>{var e;(e=h.value,void 0!==a&&e<a||void 0!==l&&e>l)&&(x=t,w=gi({keyframes:[h.value,p(h.value)],velocity:Gn(v,t,h.value),damping:r,stiffness:o,restDelta:c,restSpeed:u}))};return S(0),{calculatedDuration:null,next:t=>{let e=!1;return w||void 0!==x||(e=!0,b(t),S(t)),void 0!==x&&t>=x?w.next(t-x):(!e&&b(t),h)}}}function vi(t,e,{clamp:n=!0,ease:i,mixer:r}={}){const o=t.length;if(e.length,1===o)return()=>e[0];if(2===o&&e[0]===e[1])return()=>e[1];const s=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=function(t,e,n){const i=[],r=n||de.mix||Wn,o=t.length-1;for(let n=0;n<o;n++){let o=r(t[n],t[n+1]);if(e){const t=Array.isArray(e)?e[n]||ge:e;o=ve(t,o)}i.push(o)}return i}(e,i,r),l=a.length,c=n=>{if(s&&n<t[0])return e[0];let i=0;if(l>1)for(;i<t.length-2&&!(n<t[i+1]);i++);const r=be(t[i],t[i+1],n);return a[i](r)};return n?e=>c(ue(t[0],t[o-1],e)):c}function bi(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const r=be(0,e,i);t.push(Ln(n,1,r))}}(e,t.length-1),e}function xi({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const r=(t=>Array.isArray(t)&&"number"!=typeof t[0])(i)?i.map(Ve):Ve(i),o={done:!1,value:e[0]},s=function(t,e){return t.map(t=>t*e)}(n&&n.length===e.length?n:bi(e),t),a=vi(s,e,{ease:Array.isArray(r)?r:(l=e,c=r,l.map(()=>c||Ne).splice(0,l.length-1))});var l,c;return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}gi.applyToOptions=t=>{const e=function(t,e=100,n){const i=n({...t,keyframes:[0,e]}),r=Math.min(Xn(i),Yn);return{type:"keyframes",ease:t=>i.next(r*t).value/e,duration:Se(r)}}(t,100,gi);return t.ease=e.ease,t.duration=we(e.duration),t.type="keyframes",t};const wi=t=>null!==t;function Si(t,{repeat:e,repeatType:n="loop"},i,r=1){const o=t.filter(wi),s=r<0||e&&"loop"!==n&&e%2==1?0:o.length-1;return s&&void 0!==i?i:o[s]}const ki={decay:yi,inertia:yi,tween:xi,keyframes:xi,spring:gi};function Ci(t){"string"==typeof t.type&&(t.type=ki[t.type])}class Ei{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}const Pi=t=>t/100;class Ti extends Ei{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:t}=this.options;t&&t.updatedAt!==Ge.now()&&this.tick(Ge.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){const{options:t}=this;Ci(t);const{type:e=xi,repeat:n=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=t;let{keyframes:s}=t;const a=e||xi;a!==xi&&"number"!=typeof s[0]&&(this.mixKeyframes=ve(Pi,Wn(s[0],s[1])),s=[0,100]);const l=a({...t,keyframes:s});"mirror"===r&&(this.mirroredGenerator=a({...t,keyframes:[...s].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=Xn(l));const{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=l}updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){const{generator:n,totalDuration:i,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:s,calculatedDuration:a}=this;if(null===this.startTime)return n.next(0);const{delay:l=0,keyframes:c,repeat:u,repeatType:d,repeatDelay:h,type:p,onUpdate:f,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);const g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let v=this.currentTime,b=n;if(u){const t=Math.min(this.currentTime,i)/s;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,u+1);Boolean(e%2)&&("reverse"===d?(n=1-n,h&&(n-=h/s)):"mirror"===d&&(b=o)),v=ue(0,1,n)*s}const x=y?{done:!1,value:c[0]}:b.next(v);r&&(x.value=r(x.value));let{done:w}=x;y||null===a||(w=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&p!==yi&&(x.value=Si(c,this.options,m,this.speed)),f&&f(x.value),S&&this.finish(),x}then(t,e){return this.finished.then(t,e)}get duration(){return Se(this.calculatedDuration)}get time(){return Se(this.currentTime)}set time(t){t=we(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Ge.now());const e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=Se(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Hn,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ge.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}const Ai=t=>180*t/Math.PI,ji=t=>{const e=Ai(Math.atan2(t[1],t[0]));return Oi(e)},Ri={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:ji,rotateZ:ji,skewX:t=>Ai(Math.atan(t[1])),skewY:t=>Ai(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Oi=t=>((t%=360)<0&&(t+=360),t),Mi=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Li=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Di={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Mi,scaleY:Li,scale:t=>(Mi(t)+Li(t))/2,rotateX:t=>Oi(Ai(Math.atan2(t[6],t[5]))),rotateY:t=>Oi(Ai(Math.atan2(-t[2],t[0]))),rotateZ:ji,rotate:ji,skewX:t=>Ai(Math.atan(t[4])),skewY:t=>Ai(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function $i(t){return t.includes("scale")?1:0}function _i(t,e){if(!t||"none"===t)return $i(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,r;if(n)i=Di,r=n;else{const e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=Ri,r=e}if(!r)return $i(e);const o=i[e],s=r[1].split(",").map(Ni);return"function"==typeof o?o(s):s[o]}function Ni(t){return parseFloat(t.trim())}const Fi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ii=(()=>new Set(Fi))(),Vi=t=>t===en||t===gn,Bi=new Set(["x","y","z"]),Ui=Fi.filter(t=>!Bi.has(t));const zi={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>_i(e,"x"),y:(t,{transform:e})=>_i(e,"y")};zi.translateX=zi.x,zi.translateY=zi.y;const Wi=new Set;let Hi=!1,qi=!1,Yi=!1;function Xi(){if(qi){const t=Array.from(Wi).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{const e=function(t){const e=[];return Ui.forEach(n=>{const i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();const e=n.get(t);e&&e.forEach(([e,n])=>{t.getValue(e)?.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}qi=!1,Hi=!1,Wi.forEach(t=>t.complete(Yi)),Wi.clear()}function Gi(){Wi.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(qi=!0)})}class Ki{constructor(t,e,n,i,r,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Wi.add(this),Hi||(Hi=!0,ze.read(Gi),ze.resolveKeyframes(Xi))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;if(null===t[0]){const r=i?.get(),o=t[t.length-1];if(void 0!==r)t[0]=r;else if(n&&e){const i=n.readValue(e,o);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=o),i&&void 0===r&&i.set(t[0])}!function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Wi.delete(this)}cancel(){"scheduled"===this.state&&(Wi.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}const Ji=me(()=>void 0!==window.ScrollTimeline),Zi={};function Qi(t,e){const n=me(t);return()=>Zi[e]??n()}const tr=Qi(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),er=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,nr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:er([0,.65,.55,1]),circOut:er([.55,0,1,.45]),backIn:er([.31,.01,.66,-.59]),backOut:er([.33,1.53,.69,.99])};function ir(t,e){return t?"function"==typeof t?tr()?qn(t,e):"ease-out":Fe(t)?er(t):Array.isArray(t)?t.map(t=>ir(t,e)||nr.easeOut):nr[t]:void 0}function rr(t,e,n,{delay:i=0,duration:r=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[e]:n};l&&(u.offset=l);const d=ir(a,r);Array.isArray(d)&&(u.easing=d);const h={delay:i,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};c&&(h.pseudoElement=c);return t.animate(u,h)}function or(t){return"function"==typeof t&&"applyToOptions"in t}class sr extends Ei{constructor(t){if(super(),this.finishedTime=null,thi