1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{8417:function(e,t,r){"use strict";r.d(t,{Z:function(){return H}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||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){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(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]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++}
vendor: 4,936 bytes, line 1
1,t.flush=function(){this.tags.forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e,t,r){return e.replace(t,r)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function d(e){return e.length}function f(e,t){return t.push(e),e}var h=1,p=1,m=0,g=0,v=0,b="";function y(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:h,column:p,length:a,return:""}}function x(e,t){return a(y("",null,null,"",null,null,0),e,{length:-e.length},t)}function w(){return v=g<m?u(b,g++):0,p++,10===v&&(p=1,h++),v}function k(){return u(b,g)}function S(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 C(e){return h=p=1,m=d(b=e),g=0,[]}function _(e){var t,r;return(t=g-1,r=function e(t){for(;w();)switch(v){case t:return g;case 34:case 39:34!==t&&39!==t&&e(v);break;case 40:41===t&&e(t);break;case 92:w()}return g}(91===e?e+2:40===e?e+1:e),c(b,t,r)).trim()}var j="-ms-",P="-moz-",E="-webkit-",T="comm",A="rule",R="decl",M="@keyframes";function O(e,t){for(var r="",n=e.length,o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function z(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case R:return e.return=e.return||e.value;case T:return"";case M:return e.return=e.value+"{"+O(e.children,n)+"}";case A:e.value=e.props.join(",")}return d(r=O(e.children,n))?e.return=e.value+"{"+r+"}":""}function B(e,t,r,n,i,a,l,u,d,f,h){for(var p=i-1,m=0===i?a:[""],g=m.length,v=0,b=0,x=0;v<n;++v)for(var w=0,k=c(e,p+1,p=o(b=l[v])),S=e;w<g;++w)(S=(b>0?m[w]+" "+k:s(k,/&\f/g,m[w])).trim())&&(d[x++]=S);return y(e,t,r,0===i?A:u,d,f,h)}function $(e,t,r,n){return y(e,t,r,R,c(e,0,n),c(e,n+1,-1),n)}var F=function(e,t,r){for(var n=0,o=0;n=o,o=k(),38===n&&12===o&&(t[r]=1),!S(o);)w();return c(b,e,g)},D=function(e,t){var r=-1,n=44;do switch(S(n)){case 0:38===n&&12===k()&&(t[r]=1),e[r]+=F(g-1,t,r);break;case 2:e[r]+=_(n);break;case 4:if(44===n){e[++r]=58===k()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}while(n=w());return e},I=function(e,t){var r;return r=D(C(e),t),b="",r},L=new WeakMap,N=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||L.get(r))&&!n){L.set(e,!0);for(var o=[],i=I(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},V=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},W=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case R:e.return=function e(t,r){switch(45^u(t,0)?(((r<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return E+"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 E+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return E+t+P+t+j+t+t;case 6828:case 4268:return E+t+j+t+t;case 6165:return E+t+j+"flex-"+t+t;case 5187:return E+t+s(t,/(\w+).+(:[^]+)/,E+"box-$1$2"+j+"flex-$1$2")+t;case 5443:return E+t+j+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return E+t+j+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return E+t+j+s(t,"shrink","negative")+t;case 5292:return E+t+j+s(t,"basis","preferred-size")+t;case 6060:return E+"box-"+s(t,"-grow","")+E+t+j+s(t,"grow","positive")+t;case 4554:return E+s(t,/([^-])(transform)/g,"$1"+E+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,E+"$1"),/(image-set)/,E+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,E+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,E+"box-pack:$3"+j+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+E+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,E+"$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(d(t)-1-r>6)switch(u(t,r+1)){case 109:if(45!==u(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+E+"$2-$3$1"+P+(108==u(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==u(t,r+1))break;case 6444:switch(u(t,d(t)-3-(~l(t,"!important")&&10))){case 107:return s(t,":",":"+E)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+E+(45===u(t,14)?"inline-":"")+"box$3$1"+E+"$2$3$1"+j+"$2box$3")+t}break;case 5936:switch(u(t,r+11)){case 114:return E+t+j+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;
1case 108:return E+t+j+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return E+t+j+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return E+t+j+t+t}return t}(e.value,e.length);break;case M:return O([x(e,{value:s(e.value,"@","@"+E)})],n);case A:if(e.length){var o,i;return o=e.props,i=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return O([x(e,{props:[s(t,/:(read-\w+)/,":"+P+"$1")]})],n);case"::placeholder":return O([x(e,{props:[s(t,/:(plac\w+)/,":"+E+"input-$1")]}),x(e,{props:[s(t,/:(plac\w+)/,":"+P+"$1")]}),x(e,{props:[s(t,/:(plac\w+)/,j+"input-$1")]})],n)}return""},o.map(i).join("")}}}],H=function(e){var t,r,o,a,m,x,j=e.key;if("css"===j){var P=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(P,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var E=e.stylisPlugins||W,A={},R=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+j+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)A[t[r]]=!0;R.push(e)});var M=(r=(t=[N,V].concat(E,[z,(o=function(e){x.insert(e)},function(e){!e.root&&(e=e.return)&&o(e)})])).length,function(e,n,o,i){for(var a="",s=0;s<r;s++)a+=t[s](e,n,o,i)||"";return a}),F=function(e){var t,r;return O((r=function e(t,r,n,o,a,m,x,C,j){for(var P,E=0,A=0,R=x,M=0,O=0,z=0,F=1,D=1,I=1,L=0,N="",V=a,W=m,H=o,U=N;D;)switch(z=L,L=w()){case 40:if(108!=z&&58==u(U,R-1)){-1!=l(U+=s(_(L),"&","&\f"),"&\f")&&(I=-1);break}case 34:case 39:case 91:U+=_(L);break;case 9:case 10:case 13:case 32:U+=function(e){for(;v=k();)if(v<33)w();else break;return S(e)>2||S(v)>3?"":" "}(z);break;case 92:U+=function(e,t){for(var r;--t&&w()&&!(v<48)&&!(v>102)&&(!(v>57)||!(v<65))&&(!(v>70)||!(v<97)););return r=g+(t<6&&32==k()&&32==w()),c(b,e,r)}(g-1,7);continue;case 47:switch(k()){case 42:case 47:f(y(P=function(e,t){for(;w();)if(e+v===57)break;else if(e+v===84&&47===k())break;return"/*"+c(b,t,g-1)+"*"+i(47===e?e:w())}(w(),g),r,n,T,i(v),c(P,2,-2),0),j);break;default:U+="/"}break;case 123*F:C[E++]=d(U)*I;case 125*F:case 59:case 0:switch(L){case 0:case 125:D=0;case 59+A:-1==I&&(U=s(U,/\f/g,"")),O>0&&d(U)-R&&f(O>32?$(U+";",o,n,R-1):$(s(U," ","")+";",o,n,R-2),j);break;case 59:U+=";";default:if(f(H=B(U,r,n,E,A,a,C,N,V=[],W=[],R),m),123===L){if(0===A)e(U,r,H,H,V,m,R,C,W);else switch(99===M&&110===u(U,3)?100:M){case 100:case 108:case 109:case 115:e(t,H,H,o&&f(B(t,H,H,0,0,a,C,N,a,V=[],R),W),a,W,R,C,o?V:W);break;default:e(U,H,H,H,[""],W,0,C,W)}}}E=A=O=0,F=I=1,N=U="",R=x;break;case 58:R=1+d(U),O=z;default:if(F<1){if(123==L)--F;else if(125==L&&0==F++&&125==(v=g>0?u(b,--g):0,p--,10===v&&(p=1,h--),v))continue}switch(U+=i(L),L*F){case 38:I=A>0?1:(U+="\f",-1);break;case 44:C[E++]=(d(U)-1)*I,I=1;break;case 64:45===k()&&(U+=_(w())),M=k(),A=R=d(N=U+=function(e){for(;!S(k());)w();return c(b,e,g)}(g)),L++;break;case 45:45===z&&2==d(U)&&(F=0)}}return m}("",null,null,null,[""],t=C(t=e),0,[0],t),b="",r),M)};m=function(e,t,r,n){x=r,F(e?e+"{"+t.styles+"}":t.styles),n&&(D.inserted[t.name]=!0)};var D={key:j,sheet:new n({key:j,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:A,registered:{},insert:m};return D.sheet.hydrate(R),D}},6292:function(e,t,r){"use strict";function n(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}r.d(t,{Z:function(){return n}})},5042:function(e,t,r){"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{Z:function(){return n}})},6330:function(e,t,r){"use strict";r.d(t,{T:function(){return c},a:function(){return f},i:function(){return s},w:function(){return u}});var n=r(7294),o=r(8417),i=r(7462),a=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};r(8202),r(7278);var s=!0,l=n.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null);l.Provider;var u=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(l),r)})};s||(u=function(e){return function(t){var r=(0,n.useContext)(l);return null===r?(r=(0,o.Z)({key:"css"}),n.createElement(l.Provider,{value:r},e(t,r))):e(t,r)}});var c=n.createContext({}),d=a(function(e){return a(function(t){return"function"==typeof t?t(e):(0,i.Z)({},e,t)})}),f=function(e){var t=n.useContext(c);return e.theme!==t&&(t=d(t)(e.theme)),n.createElement(c.Provider,{value:t},e.children)}},917:function(e,t,r){"use strict";r.d(t,{F4:function(){return c},iv:function(){return u},xB:function(){return l}});var n=r(6330),o=r(7294),i=r(444),a=r(7278),s=r(8202);r(8417),r(8679);var l=(0,n.w)(function(e,t){var r=e.styles,l=(0,s.O)([r],void 0,o.useContext(n.T));if(!n.i){for(var u,c=l.name,d=l.styles,f=l.next;void 0!==f;)c+=" "+f.name,d+=f.styles,f=f.next;var h=!0===t.compat,p=t.insert("",{name:c,styles:d},t.sheet,h);return h?null:o.createElement("style",((u={})["data-emotion"]=t.key+"-global "+c,u.dangerouslySetInnerHTML={__html:p},u.nonce=t.sheet.nonce,u))}var m=o.useRef();return(0,a.j)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),m.current=[r,n],function(){r.flush()}},[t]),(0,a.j)(function(){var e=m.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==l.next&&(0,i.My)(t,l.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",l,r,!1)},[t,l.name]),null});function u(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.O)(t)}var c=function(){var e=u.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},8202:function(e,t,r){"use strict";r.d(t,{O:function(){return m}});var n,o=r(6292),i=r(4371),a=r(5042),s=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},d=(0,a.Z)(function(e){return u(e)?e:e.replace(s,"-$&").toLowerCase()}),f=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,function(e,t,r){return n={name:t,styles:r,next:n},t})}return 1===i.Z[e]||u(e)||"number"!=typeof t||0===t?t:t+"px"};function h(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var o=r.next;if(void 0!==o)for(;void 0!==o;)n={name:o.name,styles:o.styles,next:n},o=o.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=h(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=i+"{"+t[a]+"}":c(a)&&(n+=d(i)+":"+f(i,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)c(a[s])&&(n+=d(i)+":"+f(i,a[s])+";");else{var l=h(e,t,a);switch(i){case"animation":case"animationName":n+=d(i)+":"+l+";";break;default:n+=i+"{"+l+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var i=n,a=r(e);return n=i,h(e,t,a)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var p=/label:\s*([^\s;\n{]+)\s*(;|$)/g,m=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i,a=!0,s="";n=void 0;var l=e[0];null==l||void 0===l.raw?(a=!1,s+=h(r,t,l)):s+=l[0];for(var u=1;u<e.length;u++)s+=h(r,t,e[u]),a&&(s+=l[u]);p.lastIndex=0;for(var c="";null!==(i=p.exec(s));)c+="-"+i[1];return{name:(0,o.Z)(s)+c,styles:s,next:n}}},2227:function(e,t,r){"use strict";r.d(t,{Z:function(){return P}});var n,o=r(7462),i=r(7294),a=r(5042),s=/^((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|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
1ine|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)-.*))$/,l=(0,a.Z)(function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),u=r(6330),c=r(444),d=r(6292),f=r(4371),h=/[A-Z]|^ms/g,p=/_EMO_([^_]+?)_([^]*?)_EMO_/g,m=function(e){return 45===e.charCodeAt(1)},g=function(e){return null!=e&&"boolean"!=typeof e},v=(0,a.Z)(function(e){return m(e)?e:e.replace(h,"-$&").toLowerCase()}),b=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(p,function(e,t,r){return n={name:t,styles:r,next:n},t})}return 1===f.Z[e]||m(e)||"number"!=typeof t||0===t?t:t+"px"};function y(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var o=r.next;if(void 0!==o)for(;void 0!==o;)n={name:o.name,styles:o.styles,next:n},o=o.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=y(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=i+"{"+t[a]+"}":g(a)&&(n+=v(i)+":"+b(i,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)g(a[s])&&(n+=v(i)+":"+b(i,a[s])+";");else{var l=y(e,t,a);switch(i){case"animation":case"animationName":n+=v(i)+":"+l+";";break;default:n+=i+"{"+l+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var i=n,a=r(e);return n=i,y(e,t,a)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var x=/label:\s*([^\s;\n{]+)\s*(;|$)/g,w=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o,i=!0,a="";n=void 0;var s=e[0];null==s||void 0===s.raw?(i=!1,a+=y(r,t,s)):a+=s[0];for(var l=1;l<e.length;l++)a+=y(r,t,e[l]),i&&(a+=s[l]);x.lastIndex=0;for(var u="";null!==(o=x.exec(a));)u+="-"+o[1];return{name:(0,d.Z)(a)+u,styles:a,next:n}},k=r(7278),S=function(e){return"theme"!==e},C=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?l:S},_=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},j=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.hC)(t,r,n),(0,k.L)(function(){return(0,c.My)(t,r,n)}),null},P=(function e(t,r){var n,a,s=t.__emotion_real===t,l=s&&t.__emotion_base||t;void 0!==r&&(n=r.label,a=r.target);var d=_(t,r,s),f=d||C(l),h=!f("as");return function(){var p=arguments,m=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&m.push("label:"+n+";"),null==p[0]||void 0===p[0].raw)m.push.apply(m,p);
1else{m.push(p[0][0]);for(var g=p.length,v=1;v<g;v++)m.push(p[v],p[0][v])}var b=(0,u.w)(function(e,t,r){var n=h&&e.as||l,o="",s=[],p=e;if(null==e.theme){for(var g in p={},e)p[g]=e[g];p.theme=i.useContext(u.T)}"string"==typeof e.className?o=(0,c.fp)(t.registered,s,e.className):null!=e.className&&(o=e.className+" ");var v=w(m.concat(s),t.registered,p);o+=t.key+"-"+v.name,void 0!==a&&(o+=" "+a);var b=h&&void 0===d?C(n):f,y={};for(var x in e)(!h||"as"!==x)&&b(x)&&(y[x]=e[x]);return y.className=o,y.ref=r,i.createElement(i.Fragment,null,i.createElement(j,{cache:t,serialized:v,isStringTag:"string"==typeof n}),i.createElement(n,y))});return b.displayName=void 0!==n?n:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",b.defaultProps=t.defaultProps,b.__emotion_real=b,b.__emotion_base=l,b.__emotion_styles=m,b.__emotion_forwardProp=d,Object.defineProperty(b,"toString",{value:function(){return"."+a}}),b.withComponent=function(t,n){return e(t,(0,o.Z)({},r,n,{shouldForwardProp:_(b,n,!0)})).apply(void 0,m)},b}}).bind();["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(e){P[e]=P(e)})},4371:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n={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,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}},7278:function(e,t,r){"use strict";r.d(t,{L:function(){return a},j:function(){return s}});var n,o=r(7294),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,a=i||function(e){return e()},s=i||o.useLayoutEffect},444:function(e,t,r){"use strict";function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "}),n}r.d(t,{My:function(){return i},fp:function(){return n},hC:function(){return o}});var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}}},8679:function(e,t,r){"use strict";var n=r(9864),o={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,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=h(r);o&&o!==p&&e(t,o,n)}var a=c(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),g=0;g<a.length;++g){var v=a[g];if(!i[v]&&!(n&&n[v])&&!(m&&m[v])&&!(s&&s[v])){var b=f(r,v);try{u(t,v,b)}catch(e){}}}}return t}},8554:function(e,t,r){e=r.nmd(e);var n,o,i,a,s,l,u,c,d,f,h,p="__lodash_hash_undefined__",m="[object Arguments]",g="[object Function]",v="[object Object]",b=/^\[object .+?Constructor\]$/,y=/^(?:0|[1-9]\d*)$/,x={};
vendor: 4,354 bytes, line 1
1x["[object Float32Array]"]=x["[object Float64Array]"]=x["[object Int8Array]"]=x["[object Int16Array]"]=x["[object Int32Array]"]=x["[object Uint8Array]"]=x["[object Uint8ClampedArray]"]=x["[object Uint16Array]"]=x["[object Uint32Array]"]=!0,x[m]=x["[object Array]"]=x["[object ArrayBuffer]"]=x["[object Boolean]"]=x["[object DataView]"]=x["[object Date]"]=x["[object Error]"]=x[g]=x["[object Map]"]=x["[object Number]"]=x[v]=x["[object RegExp]"]=x["[object Set]"]=x["[object String]"]=x["[object WeakMap]"]=!1;var w="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,k="object"==typeof self&&self&&self.Object===Object&&self,S=w||k||Function("return this")(),C=t&&!t.nodeType&&t,_=C&&e&&!e.nodeType&&e,j=_&&_.exports===C,P=j&&w.process,E=function(){try{var e=_&&_.require&&_.require("util").types;if(e)return e;return P&&P.binding&&P.binding("util")}catch(e){}}(),T=E&&E.isTypedArray,A=Array.prototype,R=Function.prototype,M=Object.prototype,O=S["__core-js_shared__"],z=R.toString,B=M.hasOwnProperty,$=(u=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",F=M.toString,D=z.call(Object),I=RegExp("^"+z.call(B).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L=j?S.Buffer:void 0,N=S.Symbol,V=S.Uint8Array,W=L?L.allocUnsafe:void 0,H=(c=Object.getPrototypeOf,d=Object,function(e){return c(d(e))}),U=Object.create,q=M.propertyIsEnumerable,G=A.splice,Z=N?N.toStringTag:void 0,Y=function(){try{var e=eh(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),X=L?L.isBuffer:void 0,K=Math.max,J=Date.now,Q=eh(S,"Map"),ee=eh(Object,"create"),et=function(){function e(){}return function(t){if(!e_(t))return{};if(U)return U(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function er(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function en(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function eo(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ei(e){var t=this.__data__=new en(e);this.size=t.size}function ea(e,t,r){(void 0===r||eb(e[t],r))&&(void 0!==r||t in e)||el(e,t,r)}function es(e,t){for(var r=e.length;r--;)if(eb(e[r][0],t))return r;return -1}function el(e,t,r){"__proto__"==t&&Y?Y(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}er.prototype.clear=function(){this.__data__=ee?ee(null):{},this.size=0},er.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},er.prototype.get=function(e){var t=this.__data__;if(ee){var r=t[e];return r===p?void 0:r}return B.call(t,e)?t[e]:void 0},er.prototype.has=function(e){var t=this.__data__;return ee?void 0!==t[e]:B.call(t,e)},er.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ee&&void 0===t?p:t,this},en.prototype.clear=function(){this.__data__=[],this.size=0},en.prototype.delete=function(e){var t=this.__data__,r=es(t,e);return!(r<0)&&(r==t.length-1?t.pop():G.call(t,r,1),--this.size,!0)},en.prototype.get=function(e){var t=this.__data__,r=es(t,e);return r<0?void 0:t[r][1]},en.prototype.has=function(e){return es(this.__data__,e)>-1},en.prototype.set=function(e,t){var r=this.__data__,n=es(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},eo.prototype.clear=function(){this.size=0,this.__data__={hash:new er,map:new(Q||en),string:new er}},eo.prototype.delete=function(e){var t=ef(this,e).delete(e);return this.size-=t?1:0,t},eo.prototype.get=function(e){return ef(this,e).get(e)},eo.prototype.has=function(e){return ef(this,e).has(e)},eo.prototype.set=function(e,t){var r=ef(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},ei.prototype.clear=function(){this.__data__=new en,this.size=0},ei.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},ei.prototype.get=function(e){return this.__data__.get(e)},ei.prototype.has=function(e){return this.__data__.has(e)},ei.prototype.set=function(e,t){var r=this.__data__;if(r instanceof en){var n=r.__data__;if(!Q||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new eo(n)}return r.set(e,t),this.size=r.size,this};var eu=function(e,t,r){for(var n=-1,o=Object(e),i=r(e),a=i.length;a--;){var s=i[++n];if(!1===t(o[s],s,o))break}return e};
1function ec(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Z&&Z in Object(e)?function(e){var t=B.call(e,Z),r=e[Z];try{e[Z]=void 0;var n=!0}catch(e){}var o=F.call(e);return n&&(t?e[Z]=r:delete e[Z]),o}(e):F.call(e)}function ed(e){return ej(e)&&ec(e)==m}function ef(e,t){var r,n=e.__data__;return("string"==(r=typeof t)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t)?n["string"==typeof t?"string":"hash"]:n.map}function eh(e,t){var r=null==e?void 0:e[t];return!(!e_(r)||$&&$ in r)&&(eS(r)?I:b).test(function(e){if(null!=e){try{return z.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(r))?r:void 0}function ep(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&y.test(e))&&e>-1&&e%1==0&&e<t}function em(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||M)}function eg(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ev=(n=Y?function(e,t){return Y(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:eA,o=0,i=0,function(){var e=J(),t=16-(e-i);if(i=e,t>0){if(++o>=800)return arguments[0]}else o=0;return n.apply(void 0,arguments)});function eb(e,t){return e===t||e!=e&&t!=t}var ey=ed(function(){return arguments}())?ed:function(e){return ej(e)&&B.call(e,"callee")&&!q.call(e,"callee")},ex=Array.isArray;function ew(e){return null!=e&&eC(e.length)&&!eS(e)}var ek=X||function(){return!1};function eS(e){if(!e_(e))return!1;var t=ec(e);return t==g||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eC(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function e_(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ej(e){return null!=e&&"object"==typeof e}var eP=T?function(e){return T(e)}:function(e){return ej(e)&&eC(e.length)&&!!x[ec(e)]};function eE(e){return ew(e)?function(e,t){var r=ex(e),n=!r&&ey(e),o=!r&&!n&&ek(e),i=!r&&!n&&!o&&eP(e),a=r||n||o||i,s=a?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],l=s.length;for(var u in e)(t||B.call(e,u))&&!(a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ep(u,l)))&&s.push(u);return s}(e,!0):function(e){if(!e_(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=em(e),r=[];for(var n in e)"constructor"==n&&(t||!B.call(e,n))||r.push(n);return r}(e)}var eT=(f=function(e,t,r,n){!function e(t,r,n,o,i){t!==r&&eu(r,function(a,s){if(i||(i=new ei),e_(a))(function(e,t,r,n,o,i,a){var s=eg(e,r),l=eg(t,r),u=a.get(l);if(u){ea(e,r,u);return}var c=i?i(s,l,r+"",e,t,a):void 0,d=void 0===c;if(d){var f,h,p,m=ex(l),g=!m&&ek(l),b=!m&&!g&&eP(l);c=l,m||g||b?ex(s)?c=s:ej(s)&&ew(s)?c=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}(s):g?(d=!1,c=function(e,t){if(t)return e.slice();var r=e.length,n=W?W(r):new e.constructor(r);return e.copy(n),n}(l,!0)):b?(d=!1,new V(h=new(f=l.buffer).constructor(f.byteLength)).set(new V(f)),p=h,c=new l.constructor(p,l.byteOffset,l.length)):c=[]:function(e){if(!ej(e)||ec(e)!=v)return!1;var t=H(e);if(null===t)return!0;var r=B.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&z.call(r)==D}(l)||ey(l)?(c=s,ey(s)?c=function(e,t,r,n){var o=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=void 0;void 0===l&&(l=e[s]),o?el(r,s,l):function(e,t,r){var n=e[t];B.call(e,t)&&eb(n,r)&&(void 0!==r||t in e)||el(e,t,r)}(r,s,l)}return r}(s,eE(s)):(!e_(s)||eS(s))&&(c="function"!=typeof l.constructor||em(l)?{}:et(H(l)))):d=!1}d&&(a.set(l,c),o(c,l,n,i,a),a.delete(l)),ea(e,r,c)})(t,r,s,n,e,o,i);else{var l=o?o(eg(t,s),a,s+"",t,r,i):void 0;void 0===l&&(l=a),ea(t,s,l)}},eE)}(e,t,r,n)},ev((a=h=function(e,t){var r=-1,n=t.length,o=n>1?t[n-1]:void 0,i=n>2?t[2]:void 0;for(o=f.length>3&&"function"==typeof o?(n--,o):void 0,i&&function(e,t,r){if(!e_(r))return!1;var n=typeof t;return("number"==n?!!(ew(r)&&ep(t,r.length)):"string"==n&&(t in r))&&eb(r[t],e)}(t[0],t[1],i)&&(o=n<3?void 0:o,n=1),e=Object(e);++r<n;){var a=t[r];a&&f(e,a,r,o)}return e},s=void 0,l=eA,s=K(void 0===s?a.length-1:s,0),function(){for(var e=arguments,t=-1,r=K(e.length-s,0),n=Array(r);++t<r;)n[t]=e[s+t];t=-1;for(var o=Array(s+1);++t<s;)o[t]=e[t];return o[s]=l(n),function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(a,this,o)}),h+""));function eA(e){return e}e.exports=eT},3096:function(e,t,r){var n="Expected a function",o=0/0,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt,c="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,d="object"==typeof self&&self&&self.Object===Object&&self,f=c||d||Function("return this")(),h=Object.prototype.toString,p=Math.max,m=Math.min,g=function(){return f.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==h.call(t))return o;if(v(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=v(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):a.test(e)?o:+e}e.exports=function(e,t,r){var o=!0,i=!0;if("function"!=typeof e)throw TypeError(n);return v(r)&&(o="leading"in r?!!r.leading:o,i="trailing"in r?!!r.trailing:i),function(e,t,r){var o,i,a,s,l,u,c=0,d=!1,f=!1,h=!0;if("function"!=typeof e)throw TypeError(n);function y(t){var r=o,n=i;return o=i=void 0,c=t,s=e.apply(n,r)}function x(e){var r=e-u,n=e-c;return void 0===u||r>=t||r<0||f&&n>=a}function w(){var e,r,n,o=g();if(x(o))return k(o);l=setTimeout(w,(e=o-u,r=o-c,n=t-e,f?m(n,a-r):n))}function k(e){return(l=void 0,h&&o)?y(e):(o=i=void 0,s)}function S(){var e,r=g(),n=x(r);if(o=arguments,i=this,u=r,n){if(void 0===l)return c=e=u,l=setTimeout(w,t),d?y(e):s;if(f)return l=setTimeout(w,t),y(u)}return void 0===l&&(l=setTimeout(w,t)),s}return t=b(t)||0,v(r)&&(d=!!r.leading,a=(f="maxWait"in r)?p(b(r.maxWait)||0,t):a,h="trailing"in r?!!r.trailing:h),S.cancel=function(){void 0!==l&&clearTimeout(l),c=0,o=u=i=l=void 0},S.flush=function(){return void 0===l?s:k(g())},S}(e,t,{leading:o,maxWait:t,trailing:i})}},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(2351)}])},4016:function(e,t,r){"use strict";var n=r(5893);r(7294),t.Z=e=>(0,n.jsxs)("svg",{width:"133.9346",height:"45",viewBox:"0 0 5269 1415",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.0032854 0.0644531H0V561.16C471.254 610.641 870.596 948.967 991.582 1414.06H1000V1405.06C894.193 799.462 517.308 288.081 0.0032854 0.0644531Z",fill:"#3054D6"}),(0,n.jsx)("rect",{x:"1000.01",width:"220",height:"1414",fill:"#3054D6"}),(0,n.jsx)("rect",{x:"0.0078125",y:"414",width:"220",height:"1000",fill:"#3054D6"}),(0,n.jsx)("path",{d:"M1684.63 1413.85C1611.69 1413.85 1548.91 1399.08 1496.28 1369.53C1443.96 1339.68 1403.64 1297.51 1375.33 1243.04C1347.02 1188.26 1332.86 1123.47 1332.86 1048.69C1332.86 975.746 1347.02 911.731 1375.33 856.641C1403.64 801.551 1443.5 758.617 1494.9 727.841C1546.6 697.064 1607.23 681.676 1676.79 681.676C1723.57 681.676 1767.11 689.216 1807.43 704.297C1848.06 719.07 1883.45 741.383 1913.61 771.236C1944.08 801.089 1967.78 838.636 1984.7 883.878C2001.63 928.812 2010.1 981.439 2010.1 1041.76V1095.77H1411.34V973.899H1824.97C1824.97 945.585 1818.82 920.502 1806.51 898.651C1794.2 876.799 1777.12 859.718 1755.27 847.408C1733.72 834.789 1708.64 828.48 1680.02 828.48C1650.16 828.48 1623.7 835.405 1600.61 849.254C1577.84 862.796 1559.99 881.108 1547.06 904.19C1534.14 926.9
165 1527.52 952.356 1527.21 980.362V1096.24C1527.21 1131.32 1533.67 1161.64 1546.6 1187.18C1559.83 1212.72 1578.45 1232.42 1602.46 1246.27C1626.47 1260.12 1654.93 1267.05 1687.87 1267.05C1709.72 1267.05 1729.72 1263.97 1747.88 1257.81C1766.04 1251.66 1781.58 1242.42 1794.51 1230.11C1807.43 1217.8 1817.28 1202.72 1824.05 1184.87L2005.94 1196.88C1996.71 1240.58 1977.78 1278.74 1949.16 1311.36C1920.84 1343.68 1884.22 1368.92 1839.29 1387.07C1794.66 1404.92 1743.11 1413.85 1684.63 1413.85ZM2519.75 690.909V838.636H2082.11V690.909H2519.75ZM2182.29 1400V639.666C2182.29 588.269 2192.29 545.644 2212.3 511.79C2232.61 477.936 2260.31 452.545 2295.39 435.618C2330.48 418.691 2370.33 410.227 2414.96 410.227C2445.12 410.227 2472.67 412.535 2497.6 417.152C2522.83 421.768 2541.61 425.923 2553.92 429.616L2518.83 577.344C2511.14 574.882 2501.6 572.573 2490.21 570.419C2479.13 568.265 2467.74 567.188 2456.05 567.188C2427.12 567.188 2406.96 573.958 2395.57 587.5C2384.18 600.734 2378.49 619.354 2378.49 643.359V1400H2182.29ZM2639.9 1400V690.909H2830.56V814.631H2837.94C2850.87 770.62 2872.57 737.382 2903.04 714.915C2933.51 692.14 2968.59 680.753 3008.29 680.753C3018.14 680.753 3028.76 681.368 3040.15 682.599C3051.53 683.83 3061.54 685.523 3070.15 687.678V862.18C3060.92 859.41 3048.15 856.948 3031.84 854.794C3015.53 852.64 3000.6 851.562 2987.06 851.562C2958.13 851.562 2932.27 857.872 2909.5 870.49C2887.03 882.801 2869.18 900.035 2855.95 922.195C2843.02 944.354 2836.56 969.898 2836.56 998.828V1400H2639.9ZM3459.21 1413.85C3387.5 1413.85 3325.48 1398.62 3273.16 1368.15C3221.15 1337.37 3180.99 1294.59 3152.67 1239.81C3124.36 1184.72 3110.2 1120.86 3110.2 1048.22C3110.2 974.976 3124.36 910.961 3152.67 856.179C3180.99 801.089 3221.15 758.31 3273.16 727.841C3325.48 697.064 3387.5 681.676 3459.21 681.676C3530.92 681.676 3592.78 697.064 3644.79 727.841C3697.11 758.31 3737.43 801.089 3765.74 856.179C3794.06 910.961 3808.21 974.976 3808.21 1048.22C3808.21 1120.86 3794.06 1184.72 3765.74 1239.81C3737.43 1294.59 3697.11 1337.37 3644.79 1368.15C3592.78 1398.62 3530.92 1413.85 3459.21 1413.85ZM3460.13 1261.51C3492.75 1261.51 3519.99 1252.27 3541.84 1233.81C3563.69 1215.03 3580.16 1189.49 3591.24 1157.17C3602.63 1124.86 3608.32 1088.08 3608.32 1046.84C3608.32 1005.6 3602.63 968.821 3591.24 936.506C3580.16 904.19 3563.69 878.646 3541.84 859.872C3519.99 841.098 3492.75 831.712 3460.13 831.712C3427.2 831.712 3399.5 841.098 3377.03 859.872C3354.88 878.646 3338.1 904.19 3326.71 936.506C3315.63 968.821 3310.1 1005.6 3310.1 1046.84C3310.1 1088.08 3315.63 1124.86 3326.71 1157.17C3338.1 1189.49 3354.88 1215.03 3377.03 1233.81C3399.5 1252.27 3427.2 1261.51 3460.13 1261.51ZM4132.75 990.057V1400H3936.09V690.909H4123.52V816.016H4131.83C4147.52 774.775 4173.84 742.152 4210.77 718.146C4247.7 693.833 4292.48 681.676 4345.11 681.676C4394.35 681.676 4437.29 692.448 4473.91 713.991C4510.53 735.535 4539 766.312 4559.31 806.321C4579.63 846.023 4589.78 893.419 4589.78 948.508V1400H4393.12V983.594C4393.43 940.199 4382.35 906.345 4359.88 882.031C4337.42 857.41 4306.48 845.099 4267.09 845.099C4240.62 845.099 4217.23 850.793 4196.92 862.18C4176.92 873.568 4161.22 890.187 4149.83 912.038C4138.75 933.582 4133.06 959.588 4132.75 990.057ZM5121.95 690.909V838.636H4694.92V690.909H5121.95ZM4791.87 521.023H4988.53V1182.1C4988.53 1200.26 4991.3 1214.42 4996.84 1224.57C5002.38 1234.42 5010.07 1241.35 5019.92 1245.35C5030.08 1249.35 5041.77 1251.35 5055.01 1251.35C5064.24 1251.35 5073.47 1250.58 5082.71 1249.04C5091.94 1247.19 5099.02 1245.81 5103.94 1244.89L5134.87 1391.23C5125.02 1394.31 5111.18 1397.85 5093.32 1401.85C5075.47 1406.16 5053.78 1408.77 5028.23 1409.69C4980.84 1411.54 4939.29 1405.23 4903.59 1390.77C4868.19 1376.3 4840.65 1353.84 4820.95 1323.37C4801.26 1292.9 4791.56 1254.43 4791.87 1207.95V521.023Z",fill:"#3054D6"})]})},9516:function(e,t,r){"use strict";r.d(t,{_O:function(){return u},px:function(){return c}});var n=r(5893),o=r(7294),i=r(8996),a=r(9008),s=r.n(a),l=r(1163);let u="https://www.nefront.com",c="Nefront Inc.",d={ja:"æ ªå¼ä¼ç¤¾Nefront",en:"Nefront Inc."},f={ja:"æ ªå¼ä¼ç¤¾Nefrontã¯ã建ç©ã®å³é¢ã»ç¹æ¤è¨é²ã»è¨åæ
å ±ã»å±å
ã®ä½ç½®æ
å ±ãã²ã¨ã¤ã«æããAIã§æ¤ç´¢ã»æ´»ç¨ã§ããããã«ãã空éAIãã©ãããã©ã¼ã ãéçºãã¦ãã¾ãã",en:"Nefront Inc. builds a
1spatial AI platform that brings a building's drawings, inspection records, equipment data and indoor positioning together, and makes them searchable and usable with AI."},h=[{hreflang:"ja",locale:"ja"},{hreflang:"en",locale:"en"},{hreflang:"x-default",locale:"ja"}],p=e=>{if(/^https?:\/\//.test(e))return e;let t=e.startsWith("/")?e:"/".concat(e);return"".concat(u).concat(t)},m=e=>{let t=p(e);return t.endsWith("/")?t:"".concat(t,"/")};t.ZP=e=>{var t;let{title:r,description:a,path:u,ogImage:g="/images/nefront.png",noindex:v=!1,alternates:b=!0,locale:y,canonical:x=!0}=e,w=(0,l.useRouter)(),k=(0,i.bU)(),S=null!=y?y:k,C=(null!==(t=null==w?void 0:w.asPath)&&void 0!==t?t:"").split(/[?#]/)[0],_=C.includes("[")?void 0:C||"/",j=void 0===u?_:(0,i.rN)(S,u),P=!x||v||void 0===j?void 0:m(j),E=p(g),T=null!=r?r:d[S],A=null!=a?a:f[S],R=b&&void 0!==u;return(0,n.jsxs)(s(),{children:[(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,n.jsx)("meta",{name:"author",content:"Nefront Inc."}),(0,n.jsx)("link",{rel:"shortcut icon",href:"/favicon.svg",type:"image/svg+xml"},"favicon"),(0,n.jsx)("link",{rel:"apple-touch-icon",href:"/apple-touch-icon.png",sizes:"180x180"},"apple-touch-icon"),(0,n.jsx)("title",{children:T}),(0,n.jsx)("meta",{name:"description",content:A}),P?(0,n.jsx)("link",{rel:"canonical",href:P},"canonical"):null,v?(0,n.jsx)("meta",{name:"robots",content:"noindex,nofollow"}):null,R&&void 0!==u?h.map(e=>{let{hreflang:t,locale:r}=e;return(0,o.createElement)("link",{rel:"alternate",hreflang:t,href:m((0,i.rN)(r,u)),key:"alternate:".concat(t)})}):null,(0,n.jsx)("meta",{property:"og:site_name",content:c},"og:site_name"),(0,n.jsx)("meta",{property:"og:title",content:T},"og:title"),(0,n.jsx)("meta",{property:"og:description",content:A},"og:description"),(0,n.jsx)("meta",{property:"og:type",content:"website"},"og:type"),P?(0,n.jsx)("meta",{property:"og:url",content:P},"og:url"):null,(0,n.jsx)("meta",{property:"og:image",content:E},"og:image"),(0,n.jsx)("meta",{property:"og:locale",content:i.vH[S]},"og:locale"),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{name:"twitter:title",content:T}),(0,n.jsx)("meta",{name:"twitter:description",content:A}),(0,n.jsx)("meta",{name:"twitter:image",content:E}),(0,n.jsx)("meta",{name:"thumbnail",content:p("/thumbnail.png")})]})}},2736:function(e,t,r){"use strict";r.d(t,{J8:function(){return c},_3:function(){return u},bO:function(){return s},bh:function(){return l},cs:function(){return o},mY:function(){return a}});var n=r(8996);let o="https://forms.gle/HJXsrsk5myVrmEqC6",i={junkaiGo:"/junkai-go/",filefront:"/filefront/",spatialCloud:"/spatial-cloud/",company:"/company/",recruit:"/recruit/",news:"/news/",cookies:"/cookies/",privacy:"/privacy-policy/",cases:"/#case"},a=e=>{let t={};for(let r of Object.keys(i))t[r]=(0,n.rN)(e,i[r]);return t},s=!1,l=!1,u=!0,c="https://note.com/novare/n/nb23fdeb3c232"},2254:function(e,t,r){"use strict";r.d(t,{W:function(){return i}});var n=r(5893),o=r(8996);r(7294);let i={ja:{nav:{products:"ãããã¯ã",company:"ä¼ç¤¾æ
å ±",cases:"å°å
¥äºä¾",news:"News",contact:"ãåãåãã",home:"ããã",openMenu:"ã¡ãã¥ã¼ãéã",closeMenu:"ã¡ãã¥ã¼ãéãã",productLinks:{junkaiGo:{label:o.$7.ja.junkaiGo,note:"å·¡åã»ç¹æ¤ã®è¨é²ãå ´æã«æ®ã"},filefront:{label:o.$7.ja.filefront,note:"AIå³é¢ãã©ãããã©ã¼ã "},spatialCloud:{label:o.$7.ja.spatialCloud,note:"å±å
ä½ç½®ç¹å®ã»ç©ºéæ
å ±ã®ç®¡ç"}},companyLinks:{company:{label:"ä¼ç¤¾æ¦è¦",note:"ã¡ã³ãã¼ã»æ²¿é©"},recruit:{label:"æ¡ç¨æ
å ±",note:"åéè·ç¨®ã»é¸èããã¼"}}},langSwitch:{label:"è¨èª",ja:"æ¥æ¬èª",en:"English"},footer:{companyName:"æ ªå¼ä¼ç¤¾Nefront",tagline:(0,n.jsxs)(n.Fragment,{children:["æ ªå¼ä¼ç¤¾Nefront",(0,n.jsx)("br",{}),"欲ããæ
å ±ããæ¬²ããæã«ãç®ã®åã«ããä¸çã¸ã"]}),company:"ä¼ç¤¾æ¦è¦",recruit:"æ¡ç¨æ
å ±",news:"News",cases:"å°å
¥äºä¾",contact:"ãåãåãã",cookies:"Cookieã»ã¢ã¯ã»ã¹è§£æã«ã¤ãã¦"},productCard:{fitLabel:"ãããªèª²é¡ã«:"}
1,closing:{contact:"ãåãåãã",partnership:"å
±åµã»æè¡é£æºã®ãç¸è«"},news:{allNews:"Newsä¸è¦§ã¸",backToNews:"Newsä¸è¦§ã¸",empty:"ã¾ã ãç¥ããã¯ããã¾ããã",pagerLabel:"ãç¥ããã®ãã¼ã¸éã",newer:"æ°ãããç¥ãã",older:"éå»ã®ãç¥ãã"},heroVision:(0,n.jsxs)(n.Fragment,{children:["欲ããæ
å ±ããæ¬²ããæã«ã",(0,n.jsx)("br",{}),"ç®ã®åã«ããä¸çã¸ã"]}),legal:{navLabel:"è¦ç´ã»ããªã·ã¼",terms:"å©ç¨è¦ç´",privacy:"ãã©ã¤ãã·ã¼ããªã·ã¼"},notFound:{title:"ãã¼ã¸ãè¦ã¤ããã¾ãã",body:"ãæ¢ãã®ãã¼ã¸ã¯è¦ã¤ããã¾ããã§ããã",home:"ãããã¸æ»ã"}},en:{nav:{products:"Products",company:"Company",cases:"Case studies",news:"News",contact:"Contact",home:"Home",openMenu:"Open menu",closeMenu:"Close menu",productLinks:{junkaiGo:{label:o.$7.en.junkaiGo,note:"Inspection records, tied to the place"},filefront:{label:o.$7.en.filefront,note:"AI drawing platform"},spatialCloud:{label:o.$7.en.spatialCloud,note:"Indoor positioning and spatial data"}},companyLinks:{company:{label:"About us",note:"Members and milestones"},recruit:{label:"Careers",note:"Open roles and hiring process"}}},langSwitch:{label:"Language",ja:"æ¥æ¬èª",en:"English"},footer:{companyName:"Nefront Inc.",tagline:(0,n.jsxs)(n.Fragment,{children:["Nefront Inc.",(0,n.jsx)("br",{}),"The information you want, right in front of you."]}),company:"About us",recruit:"Careers",news:"News",cases:"Case studies",contact:"Contact",cookies:"Cookies and analytics"},productCard:{fitLabel:"Good fit if:"},closing:{contact:"Contact us",partnership:"Talk about co-creation"},news:{allNews:"All news",backToNews:"Back to news",empty:"No English announcements have been published yet.",pagerLabel:"News pagination",newer:"Newer",older:"Older"},heroVision:(0,n.jsxs)(n.Fragment,{children:["The information you want,",(0,n.jsx)("br",{}),"right in front of you."]}),legal:{navLabel:"Terms and policies",terms:"Terms of Service",privacy:"Privacy Policy"},notFound:{title:"Not found",body:"The page you were looking for was not found.",home:"Return to home"}}}},1e3:function(e,t,r){"use strict";r.d(t,{CX:function(){return k},HX:function(){return l},In:function(){return n},K_:function(){return m},LV:function(){return g},Rv:function(){return A},j:function(){return v},jQ:function(){return T},mm:function(){return P},n:function(){return o}});let n="G-FBQ0WYNGEZ",o=()=>!!n,i=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if("function"==typeof window.gtag)try{window.gtag(...t)}catch(e){}},a=e=>{let[t]=e.split("#"),[r,n=""]=t.split("?"),o=r||"/";return o.startsWith("/")||(o="/".concat(o)),/\.[a-zA-Z0-9]+$/.test(o)||o.endsWith("/")||(o="".concat(o,"/")),n?"".concat(o,"?").concat(n):o},s=e=>"".concat(window.location.origin).concat(e),l=e=>{let t=a(e).split("?")[0].replace(/^\/en(\/|$)/,"/");return t.startsWith("/filefront")?"filefront":t.startsWith("/junkai-go")?"junkai-go":t.startsWith("/spatial-cloud")?"spatial-cloud":t.startsWith("/indooar")?"indooar":t.startsWith("/company")?"company":t.startsWith("/recruit")?"recruit":t.startsWith("/news")?"news":"/"===t?"top":"other"},u=e=>/^\/en(\/|$)/.test(a(e))?"en":"ja",c=()=>a(window.location.pathname+window.location.search),d=e=>{let t=e;for(;t&&t!==document.body;){var r;let e=null===(r=t.dataset)||void 0===r?void 0:r.placement;if(e)return e;let n=t.classList;if(n){if(n.contains("nf-mpanel"))return"mobile_menu";if(n.contains("nf-navbar"))return"navbar";if(n.contains("nf-footer"))return"footer";if(n.contains("phero")||n.contains("nf-hero"))return"hero";if(n.contains("closing")||n.contains("nf-closing"))return"closing";if(n.contains("nfn-afoot"))return"article_footer";if(n.contains("nf-newslist"))return"news_list"}if("SECTION"===t.tagName)return f(t)||"body";t=t.parentElement}return"body"},f=e=>{var t,r,n,o,i;let a=null===(t=e.dataset)||void 0===t?void 0:t.section;if(a)return a;if(e.id)return e.id;if((null===(r=e.classList)||void 0===r?void 0:r.contains("closing"))||(null===(n=e.classList)||void 0===n?void 0:n.contains("nf-closing")))return"closing";
1let s=e.querySelector(".nf-eyebrow, .eyebrow"),l=null==s?void 0:null===(o=s.textContent)||void 0===o?void 0:o.trim();if(l)return l.toLowerCase().replace(/\s+/g,"_").slice(0,40);let u=e.querySelector("h1, h2"),c=null==u?void 0:null===(i=u.textContent)||void 0===i?void 0:i.replace(/\s+/g," ").trim();return c?c.slice(0,60):""},h=null,p=["nefront.com","www.nefront.com"],m=e=>"\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\nwindow.gtag = gtag;\ngtag('js', new Date());\n(function () {\n var isProd = ".concat(JSON.stringify(p),".indexOf(location.hostname) !== -1;\n var wantsDebug = location.search.indexOf('ga_debug=1') !== -1;\n var config = { send_page_view: false };\n if (!isProd) { config.traffic_type = 'internal'; }\n if (!isProd || wantsDebug) { config.debug_mode = true; }\n gtag('config', '").concat(e,"', config);\n})();\n"),g=e=>{let t=a(null!=e?e:window.location.pathname+window.location.search);if(t===h)return;let r=h;h=t,i("set",{page_location:s(t),page_path:t,page_title:document.title,product:l(t),site_lang:u(t)}),i("event","page_view",{page_location:s(t),page_path:t,page_title:document.title,page_referrer:r?s(r):document.referrer||void 0})},v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={};Object.entries(t).forEach(e=>{let[t,n]=e;null!=n&&""!==n&&(r[t]=n)}),i("event",e,r)},b="1FAIpQLSclRlh8Ez2rB66XBz76CqEG02YvtWGzf0eIy7YBwViR582mOQ",y={filefront:"AIå³é¢ãã©ãããã©ã¼ã Filefrontã«ã¤ãã¦","junkai-go":"ç¾å ´å·¡åæ¯æ´ãµã¼ãã¹ å·¡åGO ã«ã¤ãã¦","spatial-cloud":"空éã¯ã©ã¦ã Nefront Spatial Cloud ã«ã¤ãã¦",recruit:"æ¡ç¨ã«ã¤ãã¦"},x=e=>{let{product:t,placement:r,ctaType:n,locale:o}=e;return"".concat(t,"-").concat(r,"-").concat(n).concat("en"===o?"-en":"")},w="https://docs.google.com/forms/d/e/".concat(b,"/viewform"),k=(e,t)=>{if(!(e.includes("HJXsrsk5myVrmEqC6")||e.includes(b)))return e;let r=x(t),n=new URLSearchParams,o=y[t.product];return o&&(n.set("usp","pp_url"),n.set("entry.718651997",o)),n.set("nf_src",r),"".concat(w,"?").concat(n.toString())},S={zmedoSZnfhFJsX4m8:"entry_student",NJKis2cppREZcLvv7:"entry_professional"},C=e=>"forms.gle"===e.hostname||"docs.google.com"===e.hostname&&e.pathname.includes("/forms/"),_=e=>/ãã©ã¤ã¢ã«|trial/i.test(e)?"trial":/å
±åµ|æè¡é£æº|partnership|co-creation/i.test(e)?"partnership":/å¦ç|student/i.test(e)?"entry_student":/社ä¼äºº|æ¥åå§è¨|professional|contractor/i.test(e)?"entry_professional":"contact",j=e=>{var t,r;return(null!==(r=null!==(t=e.dataset.linkText)&&void 0!==t?t:e.textContent)&&void 0!==r?r:"").replace(/\s+/g," ").trim().slice(0,50)},P=()=>{let e=e=>{var t,r,n;let o;if("auxclick"===e.type&&1!==e.button)return;let i=e.target,s=null==i?void 0:null===(t=i.closest)||void 0===t?void 0:t.call(i,"a[href]");if(!s)return;let u=null!==(r=s.getAttribute("href"))&&void 0!==r?r:"";try{o=new URL(u,window.location.href)}catch(e){return}let f=j(s),h=c(),p={product:s.dataset.product||l(h),placement:s.dataset.placement||d(s),link_text:f,link_url:o.href};if("mailto:"===o.protocol){v("mailto_click",{...p,link_url:o.href.replace(/^mailto:/,"")});return}if("tel:"===o.protocol){v("tel_click",{...p,link_url:o.href.replace(/^tel:/,"")});return}if(o.hostname!==window.location.hostname){if("testflight.apple.com"===o.hostname||"apps.apple.com"===o.hostname){v("app_store_click",{...p,store:"app_store"});return}if("play.google.com"===o.hostname){v("app_store_click",{...p,store:"google_play"});return}if(C(o)){let e=S[null!==(n=o.pathname.split("/").filter(Boolean).pop())&&void 0!==n?n:""],t=s.dataset.cta||e||_(f);if(e||"entry_student"===t||"entry_professional"===t){v("recruit_entry_click",{...p,cta_type:t});return}if("recruit_question"===t){v("recruit_entry_click",{...p,cta_type:"recruit_question"});return}v("contact_click",{...p,cta_type:t});return}v("outbound_click",{...p,link_domain:o.hostname});return}let m=a(o.pathname+o.search),g=s.dataset.newsSlug;if(g||/^\/news\/.+/.test(m)){v("news_article_click",{...p,link_url:m,article_slug:g||m.replace(/^\/news\//,"").replace(/\/$/,""),article_title:s.dataset.newsTitle||f});return}v("internal_nav_click",{...p,link_url:m+o.hash})};return document.addEventListener("click",e,{capture:!0}),document.addEventListener("auxclick",e,{capture:!0}),()=>{document.removeEventListener("click",e,{capture:!0}),document.removeEventListener("auxclick",e,{capture:!0})}},E=[25,50,75,100],T=()=>{let e=new Set,t=!1,r=()=>{t=!1;let r=document.documentElement,n=r.scrollHeight-window.innerHeight;if(n<80)return;let o=(window.scrollY||r.scrollTop)/n*100;
1E.forEach(t=>{o+.5>=t&&!e.has(t)&&(e.add(t),v("scroll_depth",{percent_scrolled:t,page_path:c(),product:l(c())}))})},n=()=>{t||(t=!0,window.requestAnimationFrame(r))};return window.addEventListener("scroll",n,{passive:!0}),window.addEventListener("resize",n,{passive:!0}),{reset:()=>{e=new Set},detach:()=>{window.removeEventListener("scroll",n),window.removeEventListener("resize",n)}}},A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if("undefined"==typeof IntersectionObserver)return()=>{};let t=new Set,r=new Map,n=0,o=new IntersectionObserver(e=>{e.forEach(e=>{let i=e.target;if(!e.isIntersecting){let e=r.get(i);e&&(window.clearTimeout(e),r.delete(i));return}if(r.has(i))return;let a=window.setTimeout(()=>{r.delete(i),o.unobserve(i);let e=f(i);if(!e||t.has(e)||n>=20)return;t.add(e),n+=1;let a=c();v("section_view",{section_name:e,page_path:a,product:l(a)})},300);r.set(i,a)})},{rootMargin:"-20% 0px -20% 0px",threshold:0}),i=new WeakSet,a=()=>{document.querySelectorAll("section, [data-section]").forEach(e=>{i.has(e)||(i.add(e),o.observe(e))})},s=window.setTimeout(a,e),u="undefined"==typeof MutationObserver?null:new MutationObserver(()=>a());return null==u||u.observe(document.body,{childList:!0,subtree:!0}),()=>{window.clearTimeout(s),r.forEach(e=>window.clearTimeout(e)),r.clear(),null==u||u.disconnect(),o.disconnect()}}},8996:function(e,t,r){"use strict";r.d(t,{$7:function(){return c},L2:function(){return f},bU:function(){return s},cV:function(){return o},rN:function(){return l},ut:function(){return a},vH:function(){return i}});var n=r(1163);let o={ja:"ja",en:"en"},i={ja:"ja_JP",en:"en_US"},a=e=>{let t=(null!=e?e:"").split(/[?#]/)[0];return/^\/en(\/|$)/.test(t)?"en":"ja"},s=()=>{var e;let t=(0,n.useRouter)();return a(null!==(e=null==t?void 0:t.pathname)&&void 0!==e?e:"/")},l=(e,t)=>
1"ja"===e?t:"/"===t?"/en/":"/en".concat(t),u=e=>{let t=(null!=e?e:"").split(/[?#]/)[0];if(!/^\/en(\/|$)/.test(t))return t||"/";let r=t.replace(/^\/en/,"");return""===r?"/":r},c={ja:{junkaiGo:"å·¡åGO",filefront:"Filefront",spatialCloud:"Nefront Spatial Cloud"},en:{junkaiGo:"PatrolGO",filefront:"Filefront",spatialCloud:"Nefront Spatial Cloud"}},d=e=>e.endsWith("/")?e:"".concat(e,"/"),f=(e,t)=>{let r=u(t);return l("ja"===e?"en":"ja",r.includes("[")?"/news/":d(r))}},6691:function(e,t){"use strict";var r,n,o,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_FAST_REFRESH:function(){return d},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return a},ACTION_RESTORE:function(){return l},ACTION_SERVER_ACTION:function(){return f},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r},isThenable:function(){return h}});let a="refresh",s="navigate",l="restore",u="server-patch",c="prefetch",d="fast-refresh",f="server-action";function h(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(o=r||(r={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(i=n||(n={})).fresh="fresh",i.reusable="reusable",i.expired="expired",i.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4318:function(e,t,r){"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(8364),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9577:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});let n=r(8754),o=r(5893),i=n._(r(7294)),a=r(1401),s=r(2045),l=r(7420),u=r(7201),c=r(1443),d=r(9953),f=r(5320),h=r(2905),p=r(4318),m=r(953),g=r(6691),v=new Set;function b(e,t,r,n,o,i){if(i||(0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let o=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(v.has(o))return;v.add(o)}(async()=>i?e.prefetch(t,o):e.prefetch(t,r,n))().catch(e=>{})}}function y(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let x=i.default.forwardRef(function(e,t){let r,n;let{href:l,as:v,children:x,prefetch:w=null,passHref:k,replace:S,shallow:C,scroll:_,locale:j,onClick:P,onMouseEnter:E,onTouchStart:T,legacyBehavior:A=!1,...R}=e;r=x,A&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let M=i.default.useContext(d.RouterContext),O=i.default.useContext(f.AppRouterContext),z=null!=M?M:O,B=!M,$=!1!==w,F=null===w?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:D,as:I}=i.default.useMemo(()=>{if(!M){let e=y(l);return{href:e,as:v?y(v):e}}let[e,t]=(0,a.resolveHref)(M,l,!0);return{href:e,as:v?(0,a.resolveHref)(M,v):t||e}},[M,l,v]),L=i.default.useRef(D),N=i.default.useRef(I);A&&(n=i.default.Children.only(r));let V=A?n&&"object"==typeof n&&n.ref:t,[W,H,U]=(0,h.useIntersection)({rootMargin:"200px"}),q=i.default.useCallback(e=>{(N.current!==I||L.current!==D)&&(U(),N.current=I,L.current=D),W(e),V&&("function"==typeof V?V(e):"object"==typeof V&&(V.current=e))},[I,V,D,U,W]);i.default.useEffect(()=>{z&&H&&$&&b(z,D,I,{locale:j},{kind:F},B)},[I,D,H,j,$,null==M?void 0:M.locale,z,B,F]);let G={ref:q,onClick(e){A||"function"!=typeof P||P(e),A&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),z&&!e.defaultPrevented&&function(e,t,r,n,o,a,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,s.isLocalURL)(r)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[o?"replace":"push"](r,n,{shallow:a,locale:u,scroll:e}):t[o?"replace":"push"](n||r,{scroll:e})};c?i.default.startTransition(f):f()}(e,z,D,I,S,C,_,j,B)},onMouseEnter(e){A||"function"!=typeof E||E(e),A&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),z&&($||!B)&&b(z,D,I,{locale:j,priority:!0,bypassPrefetchedCheck:!0},{kind:F},B)},onTouchStart:function(e){A||"function"!=typeof T||T(e),A&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),z&&($||!B)&&b(z,D,I,{locale:j,priority:!0,bypassPrefetchedCheck:!0},{kind:F},B)}};if((0,u.isAbsoluteUrl)(I))G.href=I;else if(!A||k||"a"===n.type&&!("href"in n.props)){let e=void 0!==j?j:null==M?void 0:M.locale,t=(null==M?void 0:M.isLocaleDomain)&&(0,p.getDomainLocale)(I,e,null==M?void 0:M.locales,null==M?void 0:M.domainLocales);G.href=t||(0,m.addBasePath)((0,c.addLocale)(I,e,null==M?void 0:M.defaultLocale))}return A?i.default.cloneElement(n,G):(0,o.jsx)("a",{...R,...G,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2905:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(7294),o=r(3815),i="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:r,disabled:l}=e,u=l||!i,[c,d]=(0,n.useState)(!1),f=(0,n.useRef)(null),h=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(i){if(u||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:o,elements:i}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let o=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:o},s.push(r),a.set(r,t),t}(r);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!c){let e=(0,o.requestIdleCallback)(()=>d(!0));return()=>(0,o.cancelIdleCallback)(e)}},[u,r,t,c,f.current]),[h,c,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2351:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return uA}});var n,o,i,a,s,l,u,c,d,f,h,p,m,g,v,b,y,x,w,k,S,C,_,j,P,E,T,A,R=r(5893),M=r(7294),O=r(8868);function z(){let e=(0,M.useRef)(!1);return(0,O.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var B=r(6166),$=r(240),F=r(6681),D=r(6014);class I extends M.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function L({children:e,isPresent:t}){let r=(0,M.useId)(),n=(0,M.useRef)(null),o=(0,M.useRef)({width:0,height:0,top:0,left:0}),{nonce:i}=(0,M.useContext)(D._);return(0,M.useInsertionEffect)(()=>{let{width:e,height:a,top:s,left:l}=o.current;if(t||!n.current||!e||!a)return;n.current.dataset.motionPopId=r;let u=document.createElement("style");return i&&(u.nonce=i),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` 2 [data-motion-pop-id="${r}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${a}px !important; 6 top: ${s}px !important; 7 left: ${l}px !important; 8 } 9 `),()=>{document.head.removeChild(u)}},[t]),(0,R.jsx)(I,{isPresent:t,childRef:n,sizeRef:o,children:M.cloneElement(e,{ref:n})})}let N=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:a})=>{let s=(0,F.h)(V),l=(0,M.useId)(),u=(0,M.useMemo)(()=>({id:l,initial:t,isPresent:r,custom:o,onExitComplete:e=>{for(let t of(s.set(e,!0),s.values()))if(!t)return;n&&n()},register:e=>(s.set(e,!1),()=>s.delete(e))}),i?[Math.random()]:[r]);return(0,M.useMemo)(()=>{s.forEach((e,t)=>s.set(t,!1))},[r]),M.useEffect(()=>{r||s.size||!n||n()},[r]),"popLayout"===a&&(e=(0,R.jsx)(L,{isPresent:r,children:e})),(0,R.jsx)($.O.Provider,{value:u,children:e})};function V(){return new Map}var W=r(5364),H=r(5487);let U=e=>e.key||"",q=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:a="sync"})=>{var s;(0,H.k)(!o,"Replace exitBeforeEnter with mode='wait'");let l=(0,M.useContext)(W.p).forceRender||function(){let e=z(),[t,r]=(0,M.useState)(0),n=(0,M.useCallback)(()=>{e.current&&r(t+1)},[t]);return[(0,M.useCallback)(()=>B.Wi.postRender(n),[n]),t]}()[0],u=z(),c=function(e){let t=[];return M.Children.forEach(e,e=>{(0,M.isValidElement)(e)&&t.push(e)}),t}(e),d=c,f=(0,M.useRef)(new Map).current,h=(0,M.useRef)(d),p=(0,M.useRef)(new Map).current,m=(0,M.useRef)(!0);if((0,O.L)(()=>
9{m.current=!1,function(e,t){e.forEach(e=>{let r=U(e);t.set(r,e)})}(c,p),h.current=d}),s=()=>{m.current=!0,p.clear(),f.clear()},(0,M.useEffect)(()=>()=>s(),[]),m.current)return(0,R.jsx)(R.Fragment,{children:d.map(e=>(0,R.jsx)(N,{isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:i,mode:a,children:e},U(e)))});d=[...d];let g=h.current.map(U),v=c.map(U),b=g.length;for(let e=0;e<b;e++){let t=g[e];-1!==v.indexOf(t)||f.has(t)||f.set(t,void 0)}return"wait"===a&&f.size&&(d=[]),f.forEach((e,r)=>{if(-1!==v.indexOf(r))return;let o=p.get(r);if(!o)return;let s=g.indexOf(r),m=e;m||(m=(0,R.jsx)(N,{isPresent:!1,onExitComplete:()=>{f.delete(r);let e=Array.from(p.keys()).filter(e=>!v.includes(e));if(e.forEach(e=>p.delete(e)),h.current=c.filter(t=>{let n=U(t);return n===r||e.includes(n)}),!f.size){if(!1===u.current)return;l(),n&&n()}},custom:t,presenceAffectsLayout:i,mode:a,children:o},U(o)),f.set(r,m)),d.splice(s,0,m)}),d=d.map(e=>{let t=e.key;return f.has(t)?e:(0,R.jsx)(N,{isPresent:!0,presenceAffectsLayout:i,mode:a,children:e},U(e))}),(0,R.jsx)(R.Fragment,{children:f.size?d:d.map(e=>(0,M.cloneElement)(e))})};var G=r(1e3),Z=r(1163),Y=r(4298),X=r.n(Y),K=r(5432),J=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"],Q={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},ee={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},et={...ee,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},er={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},...Q,sizes:et,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dar
9k-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:ee,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}},en=r(3179),{defineMultiStyleConfig:eo,definePartsStyle:ei}=(0,en.D)(["stepper","step","title","description","indicator","separator","icon","number"]),ea=(0,en.gJ)("stepper-indicator-size"),es=(0,en.gJ)("stepper-icon-size"),el=(0,en.gJ)("stepper-title-font-size"),eu=(0,en.gJ)("stepper-description-font-size"),ec=(0,en.gJ)("stepper-accent-color"),ed=eo({baseStyle:ei(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[ec.variable]:`colors.${e}.500`,_dark:{[ec.variable]:`colors.${e}.200`}},title:{fontSize:el.reference,fontWeight:"medium"},description:{fontSize:eu.reference,color:"chakra-subtle-text"},number:{fontSize:el.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:es.reference,height:es.reference},indicator:{flexShrink:0,borderRadius:"full",width:ea.reference,height:ea.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:ec.reference},"&[data-status=complete]":{bg:ec.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:ec.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${ea.reference} - 8px)`,top:`calc(${ea.reference} + 4px)`,insetStart:`calc(${ea.reference} / 2 - 1px)`}}})),sizes:{xs:ei({stepper:{[ea.variable]:"sizes.4",[es.variable]:"sizes.3",[el.variable]:"fontSizes.xs",[eu.variable]:"fontSizes.xs"}}),sm:ei({stepper:{[ea.variable]:"sizes.6",[es.variable]:"sizes.4",[el.variable]:"fontSizes.sm",[eu.variable]:"fontSizes.xs"}}),md:ei({stepper:{[ea.variable]:"sizes.8",[es.variable]:"sizes.5",[el.variable]:"fontSizes.md",[eu.variable]:"fontSizes.sm"}}),lg:ei({stepper:{[ea.variable]:"sizes.10",[es.variable]:"sizes.6",[el.variable]:"fontSizes.lg",[eu.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function ef(e,t={}){let r=!1;function n(t){let r=(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__"),n=`chakra-${r}`;return{className:n,selector:`.${n}`,toString:()=>t}}return{parts:function(...o){for(let e of(!function(){if(!r){r=!0;return}throw Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}(),o))t[e]=n(e);return ef(e,t)},toPart:n,extend:function(...r){for(let e of r)e in t||(t[e]=n(e));return ef(e,t)},selectors:function(){return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.selector]))},classnames:function(){return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.className]))},get keys(){return Object.keys(t)},__type:{}}}var eh=ef("accordion").parts("root","container","button","panel").extend("icon"),ep=ef("alert").parts("title","description","container").extend("icon","spinner"),em=ef("avatar").parts("label","badge","container").extend("excessLabel","group"),eg=ef("breadcrumb").parts("link","item","container").extend("separator");ef("button").parts();var ev=ef("checkbox").parts("control","icon","container").extend("label");ef("progress").parts("track","filledTrack").extend("label");var eb=ef("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),ey=ef("editable").parts("preview","input","textarea"),ex=ef("form").parts("container","requiredIndicator","helperText"),ew=ef("formError").parts("text","icon"),ek=ef("input").parts("addon","field","element","group"),eS=ef("list").parts("container","item","icon"),eC=ef("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),e_=ef("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),ej=ef("numberinput").parts("root","field","stepperGroup","stepper");ef("pininput").parts("field");var eP=ef("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),eE=ef("progress").parts("label","filledTrack","track"),eT=ef("radio").parts("container","control","label"),eA=ef("select").parts("field","icon"),eR=ef("slider").parts("container","track","thumb","filledTrack","mark"),eM=ef("stat").parts("container","label","helpText","number","icon"),eO=ef("switch").parts("container","track","thumb","label"),ez=ef("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),eB=ef("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),e$=ef("tag").parts("container","label","closeButton"),eF=ef("card").parts("container","header","body","footer");function eD(e){let t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:Number.isInteger(parseFloat(e.toString()))?e:t.replace(".","\\.")}function eI(e,t){var r,n;let o=function(e,t=""){return`--${function(e,t=""){return[t,eD(e)].filter(
9Boolean).join("-")}(e,t)}`}(e,null==t?void 0:t.prefix);return{variable:o,reference:(r="string"==typeof(n=null==t?void 0:t.fallback)?n:null==n?void 0:n.reference,`var(${eD(o)}${r?`, ${r}`:""})`)}}function eL(e){return(0,K.Kn)(e)&&e.reference?e.reference:String(e)}ef("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var eN=(e,...t)=>t.map(eL).join(` ${e} `).replace(/calc/g,""),eV=(...e)=>`calc(${eN("+",...e)})`,eW=(...e)=>`calc(${eN("-",...e)})`,eH=(...e)=>`calc(${eN("*",...e)})`,eU=(...e)=>`calc(${eN("/",...e)})`,eq=e=>{let t=eL(e);return null==t||Number.isNaN(parseFloat(t))?eH(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},eG=Object.assign(e=>({add:(...t)=>eG(eV(e,...t)),subtract:(...t)=>eG(eW(e,...t)),multiply:(...t)=>eG(eH(e,...t)),divide:(...t)=>eG(eU(e,...t)),negate:()=>eG(eq(e)),toString:()=>e.toString()}),{add:eV,subtract:eW,multiply:eH,divide:eU,negate:eq}),{defineMultiStyleConfig:eZ,definePartsStyle:eY}=(0,en.D)(eO.keys),eX=eI("switch-track-width"),eK=eI("switch-track-height"),eJ=eI("switch-track-diff"),eQ=eG.subtract(eX,eK),e0=eI("switch-thumb-x"),e1=eI("switch-bg"),e2=(0,en.k0)(e=>{let{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[eX.reference],height:[eK.reference],transitionProperty:"common",transitionDuration:"fast",[e1.variable]:"colors.gray.300",_dark:{[e1.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[e1.variable]:`colors.${t}.500`,_dark:{[e1.variable]:`colors.${t}.200`}},bg:e1.reference}}),e5=(0,en.k0)({bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[eK.reference],height:[eK.reference],_checked:{transform:`translateX(${e0.reference})`}}),e4=eZ({baseStyle:eY(e=>({container:{[eJ.variable]:eQ,[e0.variable]:eJ.reference,_rtl:{[e0.variable]:eG(eJ).negate().toString()}},track:e2(e),thumb:e5})),sizes:{sm:eY({container:{[eX.variable]:"1.375rem",[eK.variable]:"sizes.3"}}),md:eY({container:{[eX.variable]:"1.875rem",[eK.variable]:"sizes.4"}}),lg:eY({container:{[eX.variable]:"2.875rem",[eK.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function e3(e,t){return r=>"dark"===r.colorMode?t:e}function e6(e){let{orientation:t,vertical:r,horizontal:n}=e;return t?"vertical"===t?r:n:{}}var{defineMultiStyleConfig:e9,definePartsStyle:e8}=(0,en.D)(ez.keys),e7=e8({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),te=(0,en.k0)({"&[data-is-numeric=true]":{textAlign:"end"}}),tt=e9({baseStyle:e7,variants:{simple:e8(e=>{let{colorScheme:t}=e;return{th:{color:e3("gray.600","gray.400")(e),borderBottom:"1px",borderColor:e3(`${t}.100`,`${t}.700`)(e),...te},td:{borderBottom:"1px",borderColor:e3(`${t}.100`,`${t}.700`)(e),...te},caption:{color:e3("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),striped:e8(e=>{let{colorScheme:t}=e;return{th:{color:e3("gray.600","gray.400")(e),borderBottom:"1px",borderColor:e3(`${t}.100`,`${t}.700`)(e),...te},td:{borderBottom:"1px",borderColor:e3(`${t}.100`,`${t}.700`)(e),...te},caption:{color:e3("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:e3(`${t}.100`,`${t}.700`)(e)},td:{background:e3(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),unstyled:(0,en.k0)({})},sizes:{sm:e8({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:e8({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:e8({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});function tr(e,t,r){return Math.min(Math.max(e,r),t)}
9class tn extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}function to(e){if("string"!=typeof e)throw new tn(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=tf.test(e)?function(e){let t=ta[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(e.toLowerCase().trim())];if(!t)throw new tn(e);return`#${t}`}(e):e;let r=tl.exec(t);if(r){let e=Array.from(r).slice(1);return[...e.slice(0,3).map(e=>parseInt(ts(e,2),16)),parseInt(ts(e[3]||"f",2),16)/255]}let n=tu.exec(t);if(n){let e=Array.from(n).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,16)),parseInt(e[3]||"ff",16)/255]}let o=tc.exec(t);if(o){let e=Array.from(o).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,10)),parseFloat(e[3]||"1")]}let i=td.exec(t);if(i){let[t,r,n,o]=Array.from(i).slice(1).map(parseFloat);if(tr(0,100,r)!==r||tr(0,100,n)!==n)throw new tn(e);return[...tp(t,r,n),Number.isNaN(o)?1:o]}throw new tn(e)}let ti=e=>parseInt(e.replace(/_/g,""),36),ta="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{let r=ti(t.substring(0,3)),n=ti(t.substring(3)).toString(16),o="";for(let e=0;e<6-n.length;e++)o+="0";return e[r]=`${o}${n}`,e},{}),ts=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),tl=RegExp(`^#${ts("([a-f0-9])",3)}([a-f0-9])?$`,"i"),tu=RegExp(`^#${ts("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),tc=RegExp(`^rgba?\\(\\s*(\\d+)\\s*${ts(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),td=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,tf=/^[a-z]+$/i,th=e=>Math.round(255*e),tp=(e,t,r)=>{let n=r/100;if(0===t)return[n,n,n].map(th);let o=(e%360+360)%360/60,i=t/100*(1-Math.abs(2*n-1)),a=i*(1-Math.abs(o%2-1)),s=0,l=0,u=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,u=a):o>=3&&o<4?(l=a,u=i):o>=4&&o<5?(s=a,u=i):o>=5&&o<6&&(s=i,u=a);let c=n-i/2;return[s+c,l+c,u+c].map(th)};var tm=e=>0===Object.keys(e).length,tg=(e,t,r)=>{let n=function(e,t,r,n,o){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)e=e?e[t[n]]:void 0;return void 0===e?r:e}(e,`colors.${t}`,t);try{return!function(e){let[t,r,n,o]=to(e),i=e=>{let t=tr(0,255,e).toString(16);return 1===t.length?`0${t}`:t};i(t),i(r),i(n),o<1&&i(Math.round(255*o))}(n),n}catch{return null!=r?r:"#000000"}},tv=e=>{let[t,r,n]=to(e);return(299*t+587*r+114*n)/1e3},tb=e=>t=>128>tv(tg(t,e))?"dark":"light",ty=e=>t=>"dark"===tb(e)(t),tx=(e,t)=>r=>(function(e,t){var r;let[n,o,i,a]=to(e);return r=a-t,`rgba(${tr(0,255,n).toFixed()}, ${tr(0,255,o).toFixed()}, ${tr(0,255,i).toFixed()}, ${parseFloat(tr(0,1,r).toFixed(3))})`})(tg(r,e),1-t);function tw(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient( 10 45deg, 11 ${t} 25%, 12 transparent 25%, 13 transparent 50%, 14 ${t} 50%, 15 ${t} 75%, 16 transparent 75%, 17 transparent 18 )`,backgroundSize:`${e} ${e}`}}var tk=()=>`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`,tS=(0,en.gJ)("tabs-color"),tC=(0,en.gJ)("tabs-bg"),t_=(0,en.gJ)("tabs-border-color"),{defineMultiStyleConfig:tj,definePartsStyle:tP}=(0,en.D)(eB.keys),tE=(0,en.k0)(e=>{let{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}}),tT=(0,en.k0)(e=>{let{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}}),tA=(0,en.k0)(e=>{let{align:t="start",orientation:r}=e;return{justifyContent:({end:"flex-end",center:"center",start:"flex-start"})[t],flexDirection:"vertical"===r?"column":"row"}}),tR=(0,en.k0)({p:4}),tM=tj({baseStyle:tP(e=>({root:tE(e),tab:tT(e),tablist:tA(e),tabpanel:tR})),sizes:{sm:tP({tab:{py:1,px:4,fontSize:"sm"}}),md:tP({tab:{fontSize:"md",py:2,px:4}}),lg:tP({tab:{fontSize:"lg",py:3,px:4}})},variants:{line:tP(e=>{let{colorScheme:t,orientation:r}=e,n="vertical"===r,o=n?"borderStart":"borderBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[n?"marginStart":"marginBottom"]:"-2px",_selected:{[tS.variable]:`colors.${t}.600`,_dark:{[tS.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[tC.variable]:"colors.gray.200",_dark:{[tC.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:tS.reference,bg:tC.reference}}}),enclosed:tP(e=>{let{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[t_.variable]:"transparent",_selected:{[tS.variable]:`colors.${t}.600`,[t_.variable]:"colors.white",_dark:{[tS.variable]:`colors.${t}.300`,[t_.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:t_.reference}
18,color:tS.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"enclosed-colored":tP(e=>{let{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[tC.variable]:"colors.gray.50",_dark:{[tC.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[tC.variable]:"colors.white",[tS.variable]:`colors.${t}.600`,_dark:{[tC.variable]:"colors.gray.800",[tS.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:tS.reference,bg:tC.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"soft-rounded":tP(e=>{let{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:tg(r,`${t}.700`),bg:tg(r,`${t}.100`)}}}}),"solid-rounded":tP(e=>{let{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[tS.variable]:"colors.gray.600",_dark:{[tS.variable]:"inherit"},_selected:{[tS.variable]:"colors.white",[tC.variable]:`colors.${t}.600`,_dark:{[tS.variable]:"colors.gray.800",[tC.variable]:`colors.${t}.300`}},color:tS.reference,bg:tC.reference}}}),unstyled:tP({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),tO=(0,en._6)("badge",["bg","color","shadow"]),tz=(0,en.k0)({px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:tO.bg.reference,color:tO.color.reference,boxShadow:tO.shadow.reference}),tB=(0,en.k0)(e=>{let{colorScheme:t,theme:r}=e,n=tx(`${t}.500`,.6)(r);return{[tO.bg.variable]:`colors.${t}.500`,[tO.color.variable]:"colors.white",_dark:{[tO.bg.variable]:n,[tO.color.variable]:"colors.whiteAlpha.800"}}}),t$=(0,en.k0)(e=>{let{colorScheme:t,theme:r}=e,n=tx(`${t}.200`,.16)(r);return{[tO.bg.variable]:`colors.${t}.100`,[tO.color.variable]:`colors.${t}.800`,_dark:{[tO.bg.variable]:n,[tO.color.variable]:`colors.${t}.200`}}}),tF=(0,en.k0)(e=>{let{colorScheme:t,theme:r}=e,n=tx(`${t}.200`,.8)(r);return{[tO.color.variable]:`colors.${t}.500`,_dark:{[tO.color.variable]:n},[tO.shadow.variable]:`inset 0 0 0px 1px ${tO.color.reference}`}}),tD=(0,en.fj)({baseStyle:tz,variants:{solid:tB,subtle:t$,outline:tF},defaultProps:{variant:"subtle",colorScheme:"gray"}}),{defineMultiStyleConfig:tI,definePartsStyle:tL}=(0,en.D)(e$.keys),tN=(0,en.gJ)("tag-bg"),tV=(0,en.gJ)("tag-color"),tW=(0,en.gJ)("tag-shadow"),tH=(0,en.gJ)("tag-min-height"),tU=(0,en.gJ)("tag-min-width"),tq=(0,en.gJ)("tag-font-size"),tG=(0,en.gJ)("tag-padding-inline"),tZ=tL({container:(0,en.k0)({fontWeight:"medium",lineHeight:1.2,outline:0,[tV.variable]:tO.color.reference,[tN.variable]:tO.bg.reference,[tW.variable]:tO.shadow.reference,color:tV.reference,bg:tN.reference,boxShadow:tW.reference,borderRadius:"md",minH:tH.reference,minW:tU.reference,fontSize:tq.reference,px:tG.reference,_focusVisible:{[tW.variable]:"shadows.outline"}}),label:(0,en.k0)({lineHeight:1.2,overflow:"visible"}),closeButton:(0,en.k0)({fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}})}),tY={sm:tL({container:{[tH.variable]:"sizes.5",[tU.variable]:"sizes.5",[tq.variable]:"fontSizes.xs",[tG.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:tL({container:{[tH.variable]:"sizes.6",[tU.variable]:"sizes.6",[tq.variable]:"fontSizes.sm",[tG.variable]:"space.2"}}),lg:tL({container:{[tH.variable]:"sizes.8",[tU.variable]:"sizes.8",[tq.variable]:"fontSizes.md",[tG.variable]:"space.3"}})},tX=tI({variants:{subtle:tL(e=>{var t;return{container:null==(t=tD.variants)?void 0:t.subtle(e)}}),solid:tL(e=>{var t;return{container:null==(t=tD.variants)?void 0:t.solid(e)}}),outline:tL(e=>{var t;return{container:null==(t=tD.variants)?void 0:t.outline(e)}})},baseStyle:tZ,sizes:tY,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:tK,defineMultiStyleConfig:tJ}=(0,en.D)(ek.keys),tQ=(0,en.gJ)("input-height"),t0=(0,en.gJ)("input-font-size"),t1=(0,en.gJ)("input-padding"),t2=(0,en.gJ)("input-border-radius"),t5=tK({add
18on:{height:tQ.reference,fontSize:t0.reference,px:t1.reference,borderRadius:t2.reference},field:{width:"100%",height:tQ.reference,fontSize:t0.reference,px:t1.reference,borderRadius:t2.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),t4={lg:(0,en.k0)({[t0.variable]:"fontSizes.lg",[t1.variable]:"space.4",[t2.variable]:"radii.md",[tQ.variable]:"sizes.12"}),md:(0,en.k0)({[t0.variable]:"fontSizes.md",[t1.variable]:"space.4",[t2.variable]:"radii.md",[tQ.variable]:"sizes.10"}),sm:(0,en.k0)({[t0.variable]:"fontSizes.sm",[t1.variable]:"space.3",[t2.variable]:"radii.sm",[tQ.variable]:"sizes.8"}),xs:(0,en.k0)({[t0.variable]:"fontSizes.xs",[t1.variable]:"space.2",[t2.variable]:"radii.sm",[tQ.variable]:"sizes.6"})};function t3(e){let{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||e3("blue.500","blue.300")(e),errorBorderColor:r||e3("red.500","red.300")(e)}}var t6=tJ({baseStyle:t5,sizes:{lg:tK({field:t4.lg,group:t4.lg}),md:tK({field:t4.md,group:t4.md}),sm:tK({field:t4.sm,group:t4.sm}
18),xs:tK({field:t4.xs,group:t4.xs})},variants:{outline:tK(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=t3(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:e3("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tg(t,n),boxShadow:`0 0 0 1px ${tg(t,n)}`},_focusVisible:{zIndex:1,borderColor:tg(t,r),boxShadow:`0 0 0 1px ${tg(t,r)}`}},addon:{border:"1px solid",borderColor:e3("inherit","whiteAlpha.50")(e),bg:e3("gray.100","whiteAlpha.300")(e)}}}),filled:tK(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=t3(e);return{field:{border:"2px solid",borderColor:"transparent",bg:e3("gray.100","whiteAlpha.50")(e),_hover:{bg:e3("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tg(t,n)},_focusVisible:{bg:"transparent",borderColor:tg(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:e3("gray.100","whiteAlpha.50")(e)}}}),flushed:tK(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=t3(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tg(t,n),boxShadow:`0px 1px 0px 0px ${tg(t,n)}`},_focusVisible:{borderColor:tg(t,r),boxShadow:`0px 1px 0px 0px ${tg(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),unstyled:tK({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),t9=(0,en.k0)({...null==(a=t6.baseStyle)?void 0:a.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"}),t8={outline:(0,en.k0)(e=>{var t,r;return null!=(r=null==(t=t6.variants)?void 0:t.outline(e).field)?r:{}}),flushed:(0,en.k0)(e=>{var t,r;return null!=(r=null==(t=t6.variants)?void 0:t.flushed(e).field)?r:{}}),filled:(0,en.k0)(e=>{var t,r;return null!=(r=null==(t=t6.variants)?void 0:t.filled(e).field)?r:{}}),unstyled:null!=(l=null==(s=t6.variants)?void 0:s.unstyled.field)?l:{}},t7={xs:null!=(c=null==(u=t6.sizes)?void 0:u.xs.field)?c:{},sm:null!=(f=null==(d=t6.sizes)?void 0:d.sm.field)?f:{},md:null!=(p=null==(h=t6.sizes)?void 0:h.md.field)?p:{},lg:null!=(g=null==(m=t6.sizes)?void 0:m.lg.field)?g:{}},re=(0,en.fj)({baseStyle:t9,sizes:t7,variants:t8,defaultProps:{size:"md",variant:"outline"}}),rt=eI("tooltip-bg"),rr=eI("tooltip-fg"),rn=eI("popper-arrow-bg"),ro=(0,en.k0)({bg:rt.reference,color:rr.reference,[rt.variable]:"colors.gray.700",[rr.variable]:"colors.whiteAlpha.900",_dark:{[rt.variable]:"colors.gray.300",[rr.variable]:"colors.gray.9
1800"},[rn.variable]:rt.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}),ri=(0,en.fj)({baseStyle:ro}),{defineMultiStyleConfig:ra,definePartsStyle:rs}=(0,en.D)(eE.keys),rl=(0,en.k0)(e=>{let{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:o}=e,i=e3(tw(),tw("1rem","rgba(0,0,0,0.1)"))(e),a=e3(`${t}.500`,`${t}.200`)(e),s=`linear-gradient( 19 to right, 20 transparent 0%, 21 ${tg(r,a)} 50%, 22 transparent 100% 23 )`;return{...!n&&o&&i,...n?{bgImage:s}:{bgColor:a}}}),ru=(0,en.k0)({lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"}),rc=(0,en.k0)(e=>({bg:e3("gray.100","whiteAlpha.300")(e)})),rd=(0,en.k0)(e=>({transitionProperty:"common",transitionDuration:"slow",...rl(e)})),rf=rs(e=>({label:ru,filledTrack:rd(e),track:rc(e)})),rh=ra({sizes:{xs:rs({track:{h:"1"}}),sm:rs({track:{h:"2"}}),md:rs({track:{h:"3"}}),lg:rs({track:{h:"4"}})},baseStyle:rf,defaultProps:{size:"md",colorScheme:"blue"}}),rp=e=>"function"==typeof e;function rm(e,...t){return rp(e)?e(...t):e}var{definePartsStyle:rg,defineMultiStyleConfig:rv}=(0,en.D)(ev.keys),rb=(0,en.gJ)("checkbox-size"),ry=(0,en.k0)(e=>{let{colorScheme:t}=e;return{w:rb.reference,h:rb.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:e3(`${t}.500`,`${t}.200`)(e),borderColor:e3(`${t}.500`,`${t}.200`)(e),color:e3("white","gray.900")(e),_hover:{bg:e3(`${t}.600`,`${t}.300`)(e),borderColor:e3(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:e3("gray.200","transparent")(e),bg:e3("gray.200","whiteAlpha.300")(e),color:e3("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:e3(`${t}.500`,`${t}.200`)(e),borderColor:e3(`${t}.500`,`${t}.200`)(e),color:e3("white","gray.900")(e)},_disabled:{bg:e3("gray.100","whiteAlpha.100")(e),borderColor:e3("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:e3("red.500","red.300")(e)}}}),rx=(0,en.k0)({_disabled:{cursor:"not-allowed"}}),rw=(0,en.k0)({userSelect:"none",_disabled:{opacity:.4}}),rk=(0,en.k0)({transitionProperty:"transform",transitionDuration:"normal"}),rS=rv({baseStyle:rg(e=>({icon:rk,container:rx,control:rm(ry,e),label:rw})),sizes:{sm:rg({control:{[rb.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:rg({control:{[rb.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:rg({control:{[rb.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:rC,definePartsStyle:r_}=(0,en.D)(eT.keys),rj=(0,en.k0)(e=>{var t;let r=null==(t=rm(rS.baseStyle,e))?void 0:t.control;return{...r,borderRadius:"full",_checked:{...null==r?void 0:r._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}}),rP=rC({baseStyle:r_(e=>{var t,r;return{label:null==(t=rS.baseStyle)?void 0:t.call(rS,e).label,container:null==(r=rS.baseStyle)?void 0:r.call(rS,e).container,control:rj(e)}}),sizes:{md:r_({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:r_({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:r_({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:rE,definePartsStyle:rT}=(0,en.D)(eA.keys),rA=(0,en.gJ)("select-bg"),rR=rT({field:(0,en.k0)({...null==(v=t6.baseStyle)?void 0:v.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:rA.reference,[rA.variable]:"colors.white",_dark:{[rA.variable]:"colors.gray.700"},"> option, > optgroup":{bg:rA.reference}}),icon:(0,en.k0)({width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}})}),rM=(0,en.k0)({paddingInlineEnd:"8"}),rO=rE({baseStyle:rR,sizes:{lg:{...null==(b=t6.sizes)?void 0:b.lg,field:{...null==(y=t6.sizes)?void 0:y.lg.field,...rM}},md:{...null==(x=t6.sizes)?void 0:x.md,field:{...null==(w=t6.sizes)?void 0:w.md.field,...rM}},sm:{...null==(k=t6.sizes)?void 0:k.sm,field:{...null==(S=t6.sizes)?void 0:S.sm.field,...rM}},xs:{...null==(C=t6.sizes)?void 0:C.xs,field:{...null==(_=t6.sizes)?void 0:_.xs.field,...rM},icon:{insetEnd:"1"}}},variants:t6.variants,defaultProps:t6.defaultProps}),rz=(0,en.gJ)("skeleton-start-color"),rB=(0,en.gJ)("skeleton-end-color"),r$=(0,en.k0)({[rz.variable]:"colors.gray.100",[rB.variable]:"colors.gray.400",_dark:{[rz.variable]:"colors.gray.800",[rB.variable]:"colors.gray.600"},background:rz.reference,borderColor:rB.reference,opacity:.7,borderRadius:"sm"}),rF=(0,en.fj)({baseStyle:r$}),rD=(0,en.gJ)("skip-link-bg"),rI=(0,en.k0)({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[rD.variable]:"colors.white",_dark:{[rD.variable]:"colors.gray.700"},bg:rD.reference}}),rL=(0,en.fj)({baseStyle:rI}),{defineMultiStyleConfig:rN,definePartsStyle:rV}=(0,en.D)(eR.keys),rW=(0,en.gJ)("slider-thumb-size"),rH=(0,en.gJ)("slider-track-size"),rU=(0,en.gJ)("slider-bg"),rq=(0,en.k0)(e=>{let{orientation:t}=e;
23return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...e6({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}}),rG=(0,en.k0)(e=>({...e6({orientation:e.orientation,horizontal:{h:rH.reference},vertical:{w:rH.reference}}),overflow:"hidden",borderRadius:"sm",[rU.variable]:"colors.gray.200",_dark:{[rU.variable]:"colors.whiteAlpha.200"},_disabled:{[rU.variable]:"colors.gray.300",_dark:{[rU.variable]:"colors.whiteAlpha.300"}},bg:rU.reference})),rZ=(0,en.k0)(e=>{let{orientation:t}=e;return{...e6({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:rW.reference,h:rW.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}}),rY=(0,en.k0)(e=>{let{colorScheme:t}=e;return{width:"inherit",height:"inherit",[rU.variable]:`colors.${t}.500`,_dark:{[rU.variable]:`colors.${t}.200`},bg:rU.reference}}),rX=rN({baseStyle:rV(e=>({container:rq(e),track:rG(e),thumb:rZ(e),filledTrack:rY(e)})),sizes:{lg:rV({container:{[rW.variable]:"sizes.4",[rH.variable]:"sizes.1"}}),md:rV({container:{[rW.variable]:"sizes.3.5",[rH.variable]:"sizes.1"}}),sm:rV({container:{[rW.variable]:"sizes.2.5",[rH.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),rK=eI("spinner-size"),rJ=(0,en.k0)({width:[rK.reference],height:[rK.reference]}),rQ={xs:(0,en.k0)({[rK.variable]:"sizes.3"}),sm:(0,en.k0)({[rK.variable]:"sizes.4"}),md:(0,en.k0)({[rK.variable]:"sizes.6"}),lg:(0,en.k0)({[rK.variable]:"sizes.8"}),xl:(0,en.k0)({[rK.variable]:"sizes.12"})},r0=(0,en.fj)({baseStyle:rJ,sizes:rQ,defaultProps:{size:"md"}}),{defineMultiStyleConfig:r1,definePartsStyle:r2}=(0,en.D)(eM.keys),r5=r1({baseStyle:r2({container:{},label:(0,en.k0)({fontWeight:"medium"}),helpText:(0,en.k0)({opacity:.8,marginBottom:"2"}),number:(0,en.k0)({verticalAlign:"baseline",fontWeight:"semibold"}),icon:(0,en.k0)({marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"})}),sizes:{md:r2({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),r4=(0,en.gJ)("kbd-bg"),r3=(0,en.k0)({[r4.variable]:"colors.gray.100",_dark:{[r4.variable]:"colors.whiteAlpha.100"},bg:r4.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}),r6=(0,en.fj)({baseStyle:r3}),r9=(0,en.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}),r8=(0,en.fj)({baseStyle:r9}),{defineMultiStyleConfig:r7,definePartsStyle:ne}=(0,en.D)(eS.keys),nt=r7({baseStyle:ne({icon:(0,en.k0)({marginEnd:"2",display:"inline",verticalAlign:"text-bottom"})})}),{defineMultiStyleConfig:nr,definePartsStyle:nn}=(0,en.D)(eC.keys),no=(0,en.gJ)("menu-bg"),ni=(0,en.gJ)("menu-shadow"),na=(0,en.k0)({[no.variable]:"#fff",[ni.variable]:"shadows.sm",_dark:{[no.variable]:"colors.gray.700",[ni.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:no.reference,boxShadow:ni.reference}),ns=(0,en.k0)({py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[no.variable]:"colors.gray.100",_dark:{[no.variable]:"colors.whiteAlpha.100"}},_active:{[no.variable]:"colors.gray.200",_dark:{[no.variable]:"colors.whiteAlpha.200"}},_expanded:{[no.variable]:"colors.gray.100",_dark:{[no.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:no.reference}),nl=(0,en.k0)({mx:4,my:2,fontWeight:"semibold",fontSize:"sm"}),nu=(0,en.k0)({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),nc=(0,en.k0)({opacity:.6}),nd=(0,en.k0)({border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}),nf=nr({baseStyle:nn({button:(0,en.k0)({transitionProperty:"common",transitionDuration:"normal"}),list:na,item:ns,groupTitle:nl,icon:nu,command:nc,divider:nd})}),{defineMultiStyleConfig:nh,definePartsStyle:np}=(0,en.D)(e_.keys),nm=(0,en.gJ)("modal-bg"),ng=(0,en.gJ)("modal-shadow"),nv=(0,en.k0)({bg:"blackAlpha.600",zIndex:"modal"}),nb=(0,en.k0)(e=>{let{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}}),ny=(0,en.k0)(e=>{let{isCentered:t,scrollBehavior:r}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,[nm.variable]:"colors.white",[ng.variable]:"shadows.lg",_dark:{[nm.variable]:"colors.gray.700",[ng.variable]:"shadows.dark-lg"},bg:nm.reference,boxShadow:ng.reference}}),nx=(0,en.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),nw=(0,en.k0)({position:"absolute",top:"2",insetEnd:"3"}),nk=(0,en.k0)(e=>{let{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}}),nS=(0,en.k0)({px:"6",py:"4"});function nC(e){return"full"===e?np({dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}):np({dialog:{maxW:e}})}var n_=nh({baseStyle:np(e=>({overlay:nv,dialogContainer:rm(nb,e),dialog:rm(ny,e),header:nx,closeButton:nw,body:rm(nk,e),footer:nS})),sizes:{xs:nC("xs"),sm:nC("sm"),md:nC("md"),lg:nC("lg"),xl:nC("xl"),"2xl":nC("2xl"),"3xl":nC("3xl"),"4xl":nC("4xl"),"5xl":nC("5xl"),"6xl":nC("6xl"),full:nC("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:nj,definePartsStyle:nP}=(0,en.D)(ej.keys),nE=eI("number-input-stepper-width"),nT=eI("number-input-input-padding"),nA=eG(nE).add("0.5rem").toString(),nR=eI("number-input-bg"),nM=eI("number-input-color"),nO=eI("number-input-border-color"),nz=(0,en.k0)({[nE.variable]:"sizes.6",[nT.variable]:nA}),nB=(0,en.k0)(e=>{var t,r;return null!=(r=null==(t=rm(t6.baseStyle,e))?void 0:t.field)?r:{}}),n$=(0,en.k0)({width:nE.reference}),nF=(0,en.k0)({borderStart:"1px solid",borderStartColor:nO.reference,color:nM.reference,bg:nR.reference,[nM.variable]:"colors.chakra-body-text",[nO.variable]:"colors.chakra-border-color",_dark:{[nM.variable]:"colors.whiteAlpha.800",[nO.variable]:"colors.whiteAlpha.300"},_active:{[nR.variable]:"colors.gray.200",_dark:{[nR.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}});function nD(e){var t,r,n;let o=null==(t=t6.sizes)?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!=(n=null==(r=o.field)?void 0:r.fontSize)?n:"md",s=Q.fontSizes[a];return nP({field:{...o.field,paddingInlineEnd:nT.reference,verticalAlign:"top"},stepper:{fontSize:eG(s).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var nI=nj({baseStyle:nP(e=>{var t;return{root:nz,field:null!=(t=rm(nB,e))?t:{},stepperGroup:n$,stepper:nF}}),sizes:{xs:nD("xs"),sm:nD("sm"),md:nD("md"),lg:nD("lg")},variants:t6.variants,defaultProps:t6.defaultProps}),nL=(0,en.k0)({...null==(j=t6.baseStyle)?void 0:j.field,textAlign:"center"}),nN={lg:(0,en.k0)({fontSize:"lg",w:12,h:12,borderRadius:"md"}),md:(0,en.k0)({fontSize:"md",w:10,h:10,borderRadius:"md"}),sm:(0,en.k0)({fontSize:"sm",w:8,h:8,borderRadius:"sm"}),xs:(0,en.k0)({fontSize:"xs",w:6,h:6,borderRadius:"sm"})},nV={outline:(0,en.k0)(e=>{var t,r,n;return null!=(n=null==(r=rm(null==(t=t6.variants)?void 0:t.outline,e))?void 0:r.field)?n:{}}),flushed:(0,en.k0)(e=>{var t,r,n;return null!=(n=null==(r=rm(null==(t=t6.variants)?void 0:t.flushed,e))?void 0:r.field)?n:{}}),filled:(0,en.k0)(e=>{var t,r,n;return null!=(n=null==(r=rm(null==(t=t6.variants)?void 0:t.filled,e))?void 0:r.field)?n:{}}),unstyled:null!=(E=null==(P=t6.variants)?void 0:P.unstyled.field)?E:{}},nW=(0,en.fj)({baseStyle:nL,sizes:nN,variants:nV,defaultProps:t6.defaultProps}),{defineMultiStyleConfig:nH,definePartsStyle:nU}=(0,en.D)(eP.keys),nq=eI("popper-bg"),nG=eI("popper-arrow-bg"),nZ=eI("popper-arrow-shadow-color"),nY=nH({baseStyle:nU({popper:(0,en.k0)({zIndex:10}),content:(0,en.k0)({[nq.variable]:"colors.white",bg:nq.reference,[nG.variable]:nq.reference,[nZ.variable]:"colors.gray.200",_dark:{[nq.variable]:"colors.gray.700",[nZ.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}}),header:(0,en.k0)({px:3,py:2,borderBottomWidth:"1px"}),body:(0,en.k0)({px:3,py:2}),footer:(0,en.k0)({px:3,py:2,borderTopWidth:"1px"}),closeButton:(0,en.k0)({position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2})})}),{definePartsStyle:nX,defineMultiStyleConfig:nK}
23=(0,en.D)(eb.keys),nJ=(0,en.gJ)("drawer-bg"),nQ=(0,en.gJ)("drawer-box-shadow");function n0(e){return"full"===e?nX({dialog:{maxW:"100vw",h:"100vh"}}):nX({dialog:{maxW:e}})}var n1=(0,en.k0)({bg:"blackAlpha.600",zIndex:"modal"}),n2=(0,en.k0)({display:"flex",zIndex:"modal",justifyContent:"center"}),n5=(0,en.k0)(e=>{let{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[nJ.variable]:"colors.white",[nQ.variable]:"shadows.lg",_dark:{[nJ.variable]:"colors.gray.700",[nQ.variable]:"shadows.dark-lg"},bg:nJ.reference,boxShadow:nQ.reference}}),n4=(0,en.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),n3=(0,en.k0)({position:"absolute",top:"2",insetEnd:"3"}),n6=(0,en.k0)({px:"6",py:"2",flex:"1",overflow:"auto"}),n9=(0,en.k0)({px:"6",py:"4"}),n8=nK({baseStyle:nX(e=>({overlay:n1,dialogContainer:n2,dialog:rm(n5,e),header:n4,closeButton:n3,body:n6,footer:n9})),sizes:{xs:n0("xs"),sm:n0("md"),md:n0("lg"),lg:n0("2xl"),xl:n0("4xl"),full:n0("full")},defaultProps:{size:"xs"}}),{definePartsStyle:n7,defineMultiStyleConfig:oe}=(0,en.D)(ey.keys),ot=oe({baseStyle:n7({preview:(0,en.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"}),input:(0,en.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}),textarea:(0,en.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}})})}),{definePartsStyle:or,defineMultiStyleConfig:on}=(0,en.D)(ex.keys),oo=(0,en.gJ)("form-control-color"),oi=on({baseStyle:or({container:{width:"100%",position:"relative"},requiredIndicator:(0,en.k0)({marginStart:"1",[oo.variable]:"colors.red.500",_dark:{[oo.variable]:"colors.red.300"},color:oo.reference}),helperText:(0,en.k0)({mt:"2",[oo.variable]:"colors.gray.600",_dark:{[oo.variable]:"colors.whiteAlpha.600"},color:oo.reference,lineHeight:"normal",fontSize:"sm"})})}),{definePartsStyle:oa,defineMultiStyleConfig:os}=(0,en.D)(ew.keys),ol=(0,en.gJ)("form-error-color"),ou=os({baseStyle:oa({text:(0,en.k0)({[ol.variable]:"colors.red.500",_dark:{[ol.variable]:"colors.red.300"},color:ol.reference,mt:"2",fontSize:"sm",lineHeight:"normal"}),icon:(0,en.k0)({marginEnd:"0.5em",[ol.variable]:"colors.red.500",_dark:{[ol.variable]:"colors.red.300"},color:ol.reference})})}),oc=(0,en.k0)({fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}),od=(0,en.fj)({baseStyle:oc}),of=(0,en.k0)({fontFamily:"heading",fontWeight:"bold"}),oh={"4xl":(0,en.k0)({fontSize:["6xl",null,"7xl"],lineHeight:1}),"3xl":(0,en.k0)({fontSize:["5xl",null,"6xl"],lineHeight:1}),"2xl":(0,en.k0)({fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]}),xl:(0,en.k0)({fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]}),lg:(0,en.k0)({fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]}),md:(0,en.k0)({fontSize:"xl",lineHeight:1.2}),sm:(0,en.k0)({fontSize:"md",lineHeight:1.2}),xs:(0,en.k0)({fontSize:"sm",lineHeight:1.2})},op=(0,en.fj)({baseStyle:of,sizes:oh,defaultProps:{size:"xl"}}),{defineMultiStyleConfig:om,definePartsStyle:og}=(0,en.D)(eg.keys),ov=(0,en.gJ)("breadcrumb-link-decor"),ob=om({baseStyle:og({link:(0,en.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:ov.reference,[ov.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[ov.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}})})}),oy=(0,en.k0)({lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}}),ox=(0,en.k0)(e=>{let{colorScheme:t,theme:r}=e;if("gray"===t)return{color:e3("gray.800","whiteAlpha.900")(e),_hover:{bg:e3("gray.100","whiteAlpha.200")(e)},_active:{bg:e3("gray.200","whiteAlpha.300")(e)}};let n=tx(`${t}.200`,.12)(r),o=tx(`${t}.200`,.24)(r);return{color:e3(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:e3(`${t}.50`,n)(e)},_active:{bg:e3(`${t}.100`,o)(e)}}}),ow=(0,en.k0)(e=>{let{colorScheme:t}=e,r=e3("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...rm(ox,e)}}),ok={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},oS=(0,en.k0)(e=>{var t;let{colorScheme:r}=e;if("gray"===r){let t=e3("gray.100","whiteAlpha.200")(e);return{bg:t,color:e3("gray.800","whiteAlpha.900")(e),_hover:{bg:e3("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:e3("gray.300","whiteAlpha.400")(e)}}}let{bg:n=`${r}.500`,color:o="white",hoverBg:i=`${r}.600`,activeBg:a=`${r}.700`}=null!=(t=ok[r])?t:{},s=e3(n,`${r}.200`)(e);return{bg:s,color:e3(o,"gray.800")(e),_hover:{bg:e3(i,`${r}.300`)(e),_disabled:{bg:s}},_active:{bg:e3(a,`${r}.400`)(e)}}}),oC=(0,en.k0)(e=>{let{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:e3(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:e3(`${t}.700`,`${t}.500`)(e)}}}),o_=(0,en.k0)({bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}),oj={lg:(0,en.k0)({h:"12",minW:"12",fontSize:"lg",px:"6"}),md:(0,en.k0)({h:"10",minW:"10",fontSize:"md",px:"4"}),sm:(0,en.k0)({h:"8",minW:"8",fontSize:"sm",px:"3"}),xs:(0,en.k0)({h:"6",minW:"6",fontSize:"xs",px:"2"})},oP=(0,en.fj)({baseStyle:oy,variants:{ghost:ox,outline:ow,solid:oS,link:oC,unstyled:o_},sizes:oj,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}}),{definePartsStyle:oE,defineMultiStyleConfig:oT}=(0,en.D)(eF.keys),oA=(0,en.gJ)("card-bg"),oR=(0,en.gJ)("card-padding"),oM=(0,en.gJ)("card-shadow"),oO=(0,en.gJ)("card-radius"),oz=(0,en.gJ)("card-border-width","0"),oB=(0,en.gJ)("card-border-color"),o$=oE({container:{[oA.variable]:"colors.chakra-body-bg",backgroundColor:oA.reference,boxShadow:oM.reference,borderRadius:oO.reference,color:"chakra-body-text",borderWidth:oz.reference,borderColor:oB.reference},body:{padding:oR.reference,flex:"1 1 0%"},header:{padding:oR.reference},footer:{padding:oR.reference}}),oF={sm:oE({container:{[oO.variable]:"radii.base",[oR.variable]:"space.3"}}),md:oE({container:{[oO.variable]:"radii.md",[oR.variable]:"space.5"}}
23),lg:oE({container:{[oO.variable]:"radii.xl",[oR.variable]:"space.7"}})},oD=oT({baseStyle:o$,variants:{elevated:oE({container:{[oM.variable]:"shadows.base",_dark:{[oA.variable]:"colors.gray.700"}}}),outline:oE({container:{[oz.variable]:"1px",[oB.variable]:"colors.chakra-border-color"}}),filled:oE({container:{[oA.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[oR.variable]:0},header:{[oR.variable]:0},footer:{[oR.variable]:0}}},sizes:oF,defaultProps:{variant:"elevated",size:"md"}}),oI=eI("close-button-size"),oL=eI("close-button-bg"),oN=(0,en.k0)({w:[oI.reference],h:[oI.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[oL.variable]:"colors.blackAlpha.100",_dark:{[oL.variable]:"colors.whiteAlpha.100"}},_active:{[oL.variable]:"colors.blackAlpha.200",_dark:{[oL.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:oL.reference}),oV={lg:(0,en.k0)({[oI.variable]:"sizes.10",fontSize:"md"}),md:(0,en.k0)({[oI.variable]:"sizes.8",fontSize:"xs"}),sm:(0,en.k0)({[oI.variable]:"sizes.6",fontSize:"2xs"})},oW=(0,en.fj)({baseStyle:oN,sizes:oV,defaultProps:{size:"md"}}),{variants:oH,defaultProps:oU}=tD,oq=(0,en.k0)({fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:tO.bg.reference,color:tO.color.reference,boxShadow:tO.shadow.reference}),oG=(0,en.fj)({baseStyle:oq,variants:oH,defaultProps:oU}),oZ=(0,en.k0)({w:"100%",mx:"auto",maxW:"prose",px:"4"}),oY=(0,en.fj)({baseStyle:oZ}),oX=(0,en.k0)({opacity:.6,borderColor:"inherit"}),oK=(0,en.k0)({borderStyle:"solid"}),oJ=(0,en.k0)({borderStyle:"dashed"}),oQ=(0,en.fj)({baseStyle:oX,variants:{solid:oK,dashed:oJ},defaultProps:{variant:"solid"}}),{definePartsStyle:o0,defineMultiStyleConfig:o1}=(0,en.D)(eh.keys),o2=o1({baseStyle:o0({container:(0,en.k0)({borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}}),button:(0,en.k0)({transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"}),panel:(0,en.k0)({pt:"2",px:"4",pb:"5"}),icon:(0,en.k0)({fontSize:"1.25em"})})}),{definePartsStyle:o5,defineMultiStyleConfig:o4}=(0,en.D)(ep.keys),o3=(0,en.gJ)("alert-fg"),o6=(0,en.gJ)("alert-bg");function o9(e){let{theme:t,colorScheme:r}=e,n=tx(`${r}.200`,.16)(t);return{light:`colors.${r}.100`,dark:n}}var o8=o4({baseStyle:o5({container:{bg:o6.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:o3.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:o3.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:o5(e=>{let{colorScheme:t}=e,r=o9(e);return{container:{[o3.variable]:`colors.${t}.600`,[o6.variable]:r.light,_dark:{[o3.variable]:`colors.${t}.200`,[o6.variable]:r.dark}}}}),"left-accent":o5(e=>{let{colorScheme:t}=e,r=o9(e);return{container:{[o3.variable]:`colors.${t}.600`,[o6.variable]:r.light,_dark:{[o3.variable]:`colors.${t}.200`,[o6.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:o3.reference}}}),"top-accent":o5(e=>{let{colorScheme:t}=e,r=o9(e);return{container:{[o3.variable]:`colors.${t}.600`,[o6.variable]:r.light,_dark:{[o3.variable]:`colors.${t}.200`,[o6.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:o3.reference}}}),solid:o5(e=>{let{colorScheme:t}=e;return{container:{[o3.variable]:"colors.white",[o6.variable]:`colors.${t}
23.600`,_dark:{[o3.variable]:"colors.gray.900",[o6.variable]:`colors.${t}.200`},color:o3.reference}}})},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:o7,defineMultiStyleConfig:ie}=(0,en.D)(em.keys),it=(0,en.gJ)("avatar-border-color"),ir=(0,en.gJ)("avatar-bg"),io=(0,en.gJ)("avatar-font-size"),ii=(0,en.gJ)("avatar-size"),ia=(0,en.k0)({borderRadius:"full",border:"0.2em solid",borderColor:it.reference,[it.variable]:"white",_dark:{[it.variable]:"colors.gray.800"}}),is=(0,en.k0)({bg:ir.reference,fontSize:io.reference,width:ii.reference,height:ii.reference,lineHeight:"1",[ir.variable]:"colors.gray.200",_dark:{[ir.variable]:"colors.whiteAlpha.400"}}),il=(0,en.k0)(e=>{let{name:t,theme:r}=e,n=t?function(e){var t;let r=tk();return!e||tm(e)?r:e.string&&e.colors?function(e,t){let r=0;if(0===e.length)return t[0];for(let t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r),r&=r;return r=(r%t.length+t.length)%t.length,t[r]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t&=t;let r="#";for(let e=0;e<3;e+=1){let n=t>>8*e&255;r+=`00${n.toString(16)}`.substr(-2)}return r}(e.string):e.colors&&!e.string?(t=e.colors)[Math.floor(Math.random()*t.length)]:r}({string:t}):"colors.gray.400",o=ty(n)(r),i="white";return o||(i="gray.800"),{bg:ir.reference,fontSize:io.reference,color:i,borderColor:it.reference,verticalAlign:"top",width:ii.reference,height:ii.reference,"&:not([data-loaded])":{[ir.variable]:n},[it.variable]:"colors.white",_dark:{[it.variable]:"colors.gray.800"}}}),iu=(0,en.k0)({fontSize:io.reference,lineHeight:"1"});function ic(e){let t="100%"!==e?et[e]:void 0;return o7({container:{[ii.variable]:null!=t?t:e,[io.variable]:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{[ii.variable]:null!=t?t:e,[io.variable]:`calc(${null!=t?t:e} / 2.5)`}})}var id=ie({baseStyle:o7(e=>({badge:rm(ia,e),excessLabel:rm(is,e),container:rm(il,e),label:iu})),sizes:{"2xs":ic(4),xs:ic(6),sm:ic(8),md:ic(12),lg:ic(16),xl:ic(24),"2xl":ic(32),full:ic("100%")},defaultProps:{size:"md"}}),ih={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},ip={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},im={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},ig={semanticTokens:ih,direction:"ltr",...er,components:{Accordion:o2,Alert:o8,Avatar:id,Badge:tD,Breadcrumb:ob,Button:oP,Checkbox:rS,CloseButton:oW,Code:oG,Container:oY,Divider:oQ,Drawer:n8,Editable:ot,Form:oi,FormError:ou,FormLabel:od,Heading:op,Input:t6,Kbd:r6,Link:r8,List:nt,Menu:nf,Modal:n_,NumberInput:nI,PinInput:nW,Popover:nY,Progress:rh,Radio:rP,Select:rO,Skeleton:rF,SkipLink:rL,Slider:rX,Spinner:r0,Stat:r5,Switch:e4,Table:tt,Tabs:tM,Tag:tX,Textarea:re,Tooltip:ri,Card:oD,Stepper:ed},styles:ip,config:im},iv={semanticTokens:ih,direction:"ltr",components:{},...er,styles:ip,config:im},ib=r(8554);function iy(e){return"function"==typeof e}var ix=e=>function(...t){var r;let n=[...t],o=t[t.length-1];return(r=o,(0,K.Kn)(r)&&J.every(e=>Object.prototype.hasOwnProperty.call(r,e))&&n.length>1)?n=n.slice(0,n.length-1):o=e,(function(...e){return t=>e.reduce((e,t)=>t(e),t)})(...n.map(e=>t=>iy(e)?e(t):function(...e){return ib({},...e,ik)}(t,e)))(o)},iw=ix(ig);function ik(e,t,r,n){if((iy(e)||iy(t))&&Object.prototype.hasOwnProperty.call(n,r))return(...r)=>ib({},iy(e)?e(...r):e,iy(t)?t(...r):t,ik)}ix(iv);let iS={50:"#F3F6FD",100:"#EAEFFB",200:"#C7D4F4",300:"#9DB2EA",400:"#6885E0",500:"#3054D6",600:"#2A49BC",700:"#24409F",800:"#1C3179",900:"#142354"},iC=iw({config:{initialColorMode:"light",useSystemColorMode:!1},styles:{global:{"html, body":{background:"#fff",color:"black"}}},components:{Heading:{variants:{"section-title":{fontSize:40,marginTop:3,marginBottom:4,textAlign:"center"}}},Link:{baseStyle:{color:"brand.500",textUnderlineOffset:3}}},fonts:{heading:"'M PLUS Rounded 1c'",body:"'Noto Sans JP'"},colors:{grassTeal:"#88ccca",nefront:iS[500],brand:iS,brandBlue:iS[500],brandBlueDeep:iS[700],brandBlueSoft:iS[100],brandBlueWash:iS[50],ink:"#16202E",inkMuted:"#4B5A6E",inkSubtle:"#8391A4",paper:"#FFFFFF",ground:"#F5F8FC",line:"#E2E8F2",axis:"#C3CFE2",statusError:"#D6453A",statusWarning:"#E0A521"}});var i_=r(917),ij=String.raw,iP=ij` 24 :root, 25 :host { 26 --chakra-vh: 100vh; 27 } 28 29 @supports (height: -webkit-fill-available) { 30 :root, 31 :host { 32 --chakra-vh: -webkit-fill-available; 33 } 34 } 35 36 @supports (height: -moz-fill-available) { 37 :root, 38 :host { 39 --chakra-vh: -moz-fill-available; 40 } 41 } 42 43 @supports (height: 100dvh) { 44 :root, 45 :host { 46 --chakra-vh: 100dvh; 47 } 48 } 49`,iE=()=>(0,R.jsx)(i_.xB,{styles:iP}),iT=({scope:e=""})=>(0,R.jsx)(i_.xB,{styles:ij` 50 html { 51 line-height: 1.5; 52 -webkit-text-size-adjust: 100%; 53 font-family: system-ui, sans-serif; 54 -webkit-font-smoothing: antialiased; 55 text-rendering: optimizeLegibility; 56 -moz-osx-font-smoothing: grayscale; 57 touch-action: manipulation; 58 } 59 60 body { 61 position: relative; 62 min-height: 100%; 63 margin: 0; 64 font-feature-settings: "kern"; 65 } 66 67 ${e} :where(*, *::before, *::after) { 68 border-width: 0; 69 border-style: solid; 70 box-sizing: border-box; 71 word-wrap: break-word; 72 } 73 74 main { 75 display: block; 76 } 77 78 ${e} hr { 79 border-top-width: 1px; 80 box-sizing: content-box; 81 height: 0; 82 overflow: visible; 83 } 84 85 ${e} :where(pre, code, kbd,samp) { 86 font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; 87 font-size: 1em; 88 } 89 90 ${e} a { 91 background-color: transparent; 92 color: inherit; 93 text-decoration: inherit; 94 } 95 96 ${e} abbr[title] { 97 border-bottom: none; 98 text-decoration: underline; 99 -webkit-text-decoration: underline dotted; 100 text-decoration: underline dotted; 101 } 102 103 ${e} :where(b, strong) { 104 font-weight: bold; 105 } 106 107 ${e} small { 108 font-size: 80%; 109 } 110 111 ${e} :where(sub,sup) { 112 font-size: 75%; 113 line-height: 0; 114 position: relative; 115 vertical-align: baseline; 116 } 117 118 ${e} sub { 119 bottom: -0.25em; 120 } 121 122 ${e} sup { 123 top: -0.5em; 124 } 125 126 ${e} img { 127 border-style: none; 128 } 129 130 ${e} :where(button, input, optgroup, select, textarea) { 131 font-family: inherit; 132 font-size: 100%; 133 line-height: 1.15; 134 margin: 0; 135 } 136 137 ${e} :where(button, input) { 138 overflow: visible; 139 } 140 141 ${e} :where(button, select) { 142 text-transform: none; 143 } 144 145 ${e} :where( 146 button::-moz-focus-inner, 147 [type="button"]::-moz-focus-inner, 148 [type="reset"]::-moz-focus-inner, 149 [type="submit"]::-moz-focus-inner 150 ) { 151 border-style: none; 152 padding: 0; 153 } 154 155 ${e} fieldset { 156 padding: 0.35em 0.75em 0.625em; 157 } 158 159 ${e} legend { 160 box-sizing: border-box; 161 color: inherit; 162 display: table; 163 max-width: 100%; 164 padding: 0; 165 white-space: normal; 166 } 167 168 ${e} progress { 169 vertical-align: baseline; 170 } 171 172 ${e} textarea { 173 overflow: auto; 174 } 175 176 ${e}
176 :where([type="checkbox"], [type="radio"]) { 177 box-sizing: border-box; 178 padding: 0; 179 } 180 181 ${e} input[type="number"]::-webkit-inner-spin-button, 182 ${e} input[type="number"]::-webkit-outer-spin-button { 183 -webkit-appearance: none !important; 184 } 185 186 ${e} input[type="number"] { 187 -moz-appearance: textfield; 188 } 189 190 ${e} input[type="search"] { 191 -webkit-appearance: textfield; 192 outline-offset: -2px; 193 } 194 195 ${e} input[type="search"]::-webkit-search-decoration { 196 -webkit-appearance: none !important; 197 } 198 199 ${e} ::-webkit-file-upload-button { 200 -webkit-appearance: button; 201 font: inherit; 202 } 203 204 ${e} details { 205 display: block; 206 } 207 208 ${e} summary { 209 display: list-item; 210 } 211 212 template { 213 display: none; 214 } 215 216 [hidden] { 217 display: none !important; 218 } 219 220 ${e} :where( 221 blockquote, 222 dl, 223 dd, 224 h1, 225 h2, 226 h3, 227 h4, 228 h5, 229 h6, 230 hr, 231 figure, 232 p, 233 pre 234 ) { 235 margin: 0; 236 } 237 238 ${e} button { 239 background: transparent; 240 padding: 0; 241 } 242 243 ${e} fieldset { 244 margin: 0; 245 padding: 0; 246 } 247 248 ${e} :where(ol, ul) { 249 margin: 0; 250 padding: 0; 251 } 252 253 ${e} textarea { 254 resize: vertical; 255 } 256 257 ${e} :where(button, [role="button"]) { 258 cursor: pointer; 259 } 260 261 ${e} button::-moz-focus-inner { 262 border: 0 !important; 263 } 264 265 ${e} table { 266 border-collapse: collapse; 267 } 268 269 ${e} :where(h1, h2, h3, h4, h5, h6) { 270 font-size: inherit; 271 font-weight: inherit; 272 } 273 274 ${e} :where(button, input, optgroup, select, textarea) { 275 padding: 0; 276 line-height: inherit; 277 color: inherit; 278 } 279 280 ${e} :where(img, svg, video, canvas, audio, iframe, embed, object) { 281 display: block; 282 } 283 284 ${e} :where(img, video) { 285 max-width: 100%; 286 height: auto; 287 } 288 289 [data-js-focus-visible] 290 :focus:not([data-focus-visible-added]):not( 291 [data-focus-visible-disabled] 292 ) { 293 outline: none; 294 box-shadow: none; 295 } 296 297 ${e} select::-ms-expand { 298 display: none; 299 } 300 301 ${iP} 302 `}),iA=r(5227),[iR,iM]=(0,iA.k)({strict:!1,name:"PortalManagerContext"});function iO(e){let{children:t,zIndex:r}=e;return(0,R.jsx)(iR,{value:{zIndex:r},children:t})}iO.displayName="PortalManager";var iz=r(5161),iB=r(1759),i$=r(6597),iF=r(6330);function iD(e){let{cssVarsRoot:t,theme:r,children:n}=e,o=(0,M.useMemo)(()=>(0,en.c0)(r),[r]);return(0,R.jsxs)(iF.a,{theme:o,children:[(0,R.jsx)(iI,{root:t}),n]})}function iI({root:e=":host, :root"}){let t=[e,"[data-theme]"].join(",");return(0,R.jsx)(i_.xB,{styles:e=>({[t]:e.__cssVars})})}var[iL,iN]=function(e={}){let{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=(0,M.createContext)(void 0);return o.displayName=n,[o.Provider,function e(){var n;let i=(0,M.useContext)(o);if(!i&&t){let t=Error(r);throw t.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,t,e),t}return i},o]}({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function iV(){let{colorMode:e}=(0,iz.If)();return(0,R.jsx)(i_.xB,{styles:t=>{let r=(0,iB.Wf)(t,"styles.global"),n=(0,i$.Pu)(r,{theme:t,colorMode:e});if(n)return(0,en.iv)(n)(t)}})}var iW={light:"chakra-ui-light",dark:"chakra-ui-dark"},iH="chakra-ui-color-mode",iU={ssr:!1,type:"localStorage",get(e){let t;if(!(null==globalThis?void 0:globalThis.document))return e;try{t=localStorage.getItem(iH)||e}catch(e){}return t||e},set(e){try{localStorage.setItem(iH,e)}catch(e){}}},iq=(null==globalThis?void 0:globalThis.document)?M.useLayoutEffect:M.useEffect,iG=()=>{};function iZ(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function iY(e){let{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:o,disableTransitionOnChange:i}={},colorModeManager:a=iU}=e,s="dark"===o?"dark":"light",[l,u]=(0,M.useState)(()=>iZ(a,s)),[c,d]=(0,M.useState)(()=>iZ(a)),{getSystemTheme:f,setClassName:h,setDataset:p,addListener:m}=(0,M.useMemo)(()=>(function(e={}){let{preventTransition:t=!0}=e,r={setDataset:e=>{let n=t?r.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==n||n()},setClassName(e){document.body.classList.add(e?iW.dark:iW.light),document.body.classList.remove(e?iW.light:iW.dark)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(e){var t;return(null!=(t=r.query().matches)?t:"dark"===e)?"dark":"light"},addListener(e){let t=r.query(),n=t=>
302{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(n):t.addEventListener("change",n),()=>{"function"==typeof t.removeListener?t.removeListener(n):t.removeEventListener("change",n)}},preventTransition(){let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(e)})})}}};return r})({preventTransition:i}),[i]),g="system"!==o||l?l:c,v=(0,M.useCallback)(e=>{let t="system"===e?f():e;u(t),h("dark"===t),p(t),a.set(t)},[a,f,h,p]);iq(()=>{"system"===o&&d(f())},[]),(0,M.useEffect)(()=>{let e=a.get();if(e){v(e);return}if("system"===o){v("system");return}v(s)},[a,s,o,v]);let b=(0,M.useCallback)(()=>{v("dark"===g?"light":"dark")},[g,v]);(0,M.useEffect)(()=>{if(n)return m(v)},[n,m,v]);let y=(0,M.useMemo)(()=>({colorMode:null!=t?t:g,toggleColorMode:t?iG:b,setColorMode:t?iG:v,forced:void 0!==t}),[g,b,v,t]);return(0,R.jsx)(iz.kc.Provider,{value:y,children:r})}iY.displayName="ColorModeProvider";var iX=(0,M.createContext)({getDocument:()=>document,getWindow:()=>window});function iK(e){let{children:t,environment:r,disabled:n}=e,o=(0,M.useRef)(null),i=(0,M.useMemo)(()=>r||{getDocument:()=>{var e,t;return null!=(t=null==(e=o.current)?void 0:e.ownerDocument)?t:document},getWindow:()=>{var e,t;return null!=(t=null==(e=o.current)?void 0:e.ownerDocument.defaultView)?t:window}},[r]),a=!n||!r;return(0,R.jsxs)(iX.Provider,{value:i,children:[t,a&&(0,R.jsx)("span",{id:"__chakra_env",hidden:!0,ref:o})]})}iX.displayName="EnvironmentContext",iK.displayName="EnvironmentProvider";var iJ=e=>{let{children:t,colorModeManager:r,portalZIndex:n,resetScope:o,resetCSS:i=!0,theme:a={},environment:s,cssVarsRoot:l,disableEnvironment:u,disableGlobalStyle:c}=e,d=(0,R.jsx)(iK,{environment:s,disabled:u,children:t});return(0,R.jsx)(iD,{theme:a,cssVarsRoot:l,children:(0,R.jsxs)(iY,{colorModeManager:r,options:a.config,children:[i?(0,R.jsx)(iT,{scope:o}):(0,R.jsx)(iE,{}),!c&&(0,R.jsx)(iV,{}),n?(0,R.jsx)(iO,{zIndex:n,children:d}):d]})})},iQ=(e,t)=>e.find(e=>e.id===t);function i0(e,t){let r=i1(e,t),n=r?e[r].findIndex(e=>e.id===t):-1;return{position:r,index:n}}function i1(e,t){for(let[r,n]of Object.entries(e))if(iQ(n,t))return r}function i2(e,t){let r=(0,M.useRef)(!1),n=(0,M.useRef)(!1);(0,M.useEffect)(()=>{if(r.current&&n.current)return e();n.current=!0},t),(0,M.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])}var i5=r(5947),i4=r(7672),i3=r(9653),i6={initial:e=>{let{position:t}=e,r=["top","bottom"].includes(t)?"y":"x",n=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(n=1),{opacity:0,[r]:24*n}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},i9=(0,M.memo)(e=>{let{id:t,message:r,onCloseComplete:n,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:u=i6,toastSpacing:c="0.5rem"}=e,[d,f]=(0,M.useState)(s),h=(0,i5.hO)();i2(()=>{h||null==n||n()},[h]),i2(()=>{f(s)},[s]);let p=()=>{h&&o()};(0,M.useEffect)(()=>{h&&i&&o()},[h,i,o]),function(e,t){let r=function(e,t=[]){let r=(0,M.useRef)(e);return(0,M.useEffect)(()=>{r.current=e}),(0,M.useCallback)((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)},t)}(e);(0,M.useEffect)(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{r()},t),()=>{e&&window.clearTimeout(e)}},[t,r])}(p,d);let m=(0,M.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:c,...l}),[l,c]),g=(0,M.useMemo)(()=>(function(e){let t=e.includes("right"),r=e.includes("left"),n="center";return t&&(n="flex-end"),r&&(n="flex-start"),{display:"flex",flexDirection:"column",alignItems:n}})(a),[a]);return(0,R.jsx)(i4.E.div,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>f(null),onHoverEnd:()=>f(s),custom:{position:a},style:g,children:(0,R.jsx)(i3.m.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:m,children:(0,K.Pu)(r,{id:t,onClose:p})})})});i9.displayName="ToastComponent";var i8=r(6554),i7=r(7603),ae={path:(0,R.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,R.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,R.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,R.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},at=(0,i8.G)((e,t)=>{let{as:r,viewBox:n,color:o="currentColor",focusable:i=!1,children:a,className:s,__css:l,...u}=e,c=(0,K.cx)("chakra-icon",s),d=(0,i7.mq)("Icon",e),f={ref:t,focusable:i,className:c,__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...l,...d}},h=null!=n?n:ae.viewBox;if(r&&"string"!=typeof r)return(0,R.jsx)(i3.m.svg,{as:r,...f,...u});let p=null!=a?a:ae.path;return(0,R.jsx)(i3.m.svg,{verticalAlign:"middle",viewBox:h,...f,...u,children:p})});
302function ar(e){return(0,R.jsx)(at,{viewBox:"0 0 24 24",...e,children:(0,R.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}at.displayName="Icon";var an=r(1136),[ao,ai]=(0,iA.k)({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[aa,as]=(0,iA.k)({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),al={info:{icon:function(e){return(0,R.jsx)(at,{viewBox:"0 0 24 24",...e,children:(0,R.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})},colorScheme:"blue"},warning:{icon:ar,colorScheme:"orange"},success:{icon:function(e){return(0,R.jsx)(at,{viewBox:"0 0 24 24",...e,children:(0,R.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})},colorScheme:"green"},error:{icon:ar,colorScheme:"red"},loading:{icon:an.$,colorScheme:"blue"}},au=(0,i8.G)(function(e,t){var r;let{status:n="info",addRole:o=!0,...i}=(0,en.Lr)(e),a=null!=(r=e.colorScheme)?r:al[n].colorScheme,s=(0,i7.jC)("Alert",{...e,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return(0,R.jsx)(ao,{value:{status:n},children:(0,R.jsx)(aa,{value:s,children:(0,R.jsx)(i3.m.div,{"data-status":n,role:o?"alert":void 0,ref:t,...i,className:(0,K.cx)("chakra-alert",e.className),__css:l})})})});function ac(e){let{status:t}=ai(),r=al[t].icon,n=as(),o="loading"===t?n.spinner:n.icon;return(0,R.jsx)(i3.m.span,{display:"inherit","data-status":t,...e,className:(0,K.cx)("chakra-alert__icon",e.className),__css:o,children:e.children||(0,R.jsx)(r,{h:"100%",w:"100%"})})}au.displayName="Alert",ac.displayName="AlertIcon";var ad=(0,i8.G)(function(e,t){let r=as(),{status:n}=ai();return(0,R.jsx)(i3.m.div,{ref:t,"data-status":n,...e,className:(0,K.cx)("chakra-alert__title",e.className),__css:r.title})});ad.displayName="AlertTitle";var af=(0,i8.G)(function(e,t){let r=as(),{status:n}=ai(),o={display:"inline",...r.description};return(0,R.jsx)(i3.m.div,{ref:t,"data-status":n,...e,className:(0,K.cx)("chakra-alert__desc",e.className),__css:o})});function ah(e){return(0,R.jsx)(at,{focusable:"false","aria-hidden":!0,...e,children:(0,R.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,
30211.823a.25.25,0,0,1,0,.354Z"})})}af.displayName="AlertDescription";var ap=(0,i8.G)(function(e,t){let r=(0,i7.mq)("CloseButton",e),{children:n,isDisabled:o,__css:i,...a}=(0,en.Lr)(e);return(0,R.jsx)(i3.m.button,{type:"button","aria-label":"Close",ref:t,disabled:o,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...r,...i},...a,children:n||(0,R.jsx)(ah,{width:"1em",height:"1em"})})});ap.displayName="CloseButton";var am=function(e){let t=e,r=new Set,n=e=>{t=e(t),r.forEach(e=>e())};return{getState:()=>t,subscribe:t=>(r.add(t),()=>{n(()=>e),r.delete(t)}),removeToast:(e,t)=>{n(r=>({...r,[t]:r[t].filter(t=>t.id!=e)}))},notify:(e,t)=>{let r=function(e,t={}){var r,n;ag+=1;let o=null!=(r=t.id)?r:ag,i=null!=(n=t.position)?n:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>am.removeToast(String(o),i),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:o,id:i}=r;return n(e=>{var t,n;let i=o.includes("top")?[r,...null!=(t=e[o])?t:[]]:[...null!=(n=e[o])?n:[],r];return{...e,[o]:i}}),i},update:(e,t)=>{e&&n(r=>{let n={...r},{position:o,index:i}=i0(n,e);return o&&-1!==i&&(n[o][i]={...n[o][i],...t,message:function(e={}){let{render:t,toastComponent:r=av}=e;return n=>"function"==typeof t?t({...n,...e}):(0,R.jsx)(r,{...n,...e})}(t)}),n})},closeAll:({positions:e}={})=>{n(t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((e,r)=>(e[r]=t[r].map(e=>({...e,requestClose:!0})),e),{...t}))},close:e=>{n(t=>{let r=i1(t,e);return r?{...t,[r]:t[r].map(t=>t.id==e?{...t,requestClose:!0}:t)}:t})},isActive:e=>!!i0(am.getState(),e).position}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]}),ag=0,av=e=>{let{status:t,variant:r="solid",id:n,title:o,isClosable:i,onClose:a,description:s,colorScheme:l,icon:u}=e,c=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return(0,R.jsxs)(au,{addRole:!1,status:t,variant:r,id:null==c?void 0:c.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[(0,R.jsx)(ac,{children:u}),(0,R.jsxs)(i3.m.div,{flex:"1",maxWidth:"100%",children:[o&&(0,R.jsx)(ad,{id:null==c?void 0:c.title,children:o}),s&&(0,R.jsx)(af,{id:null==c?void 0:c.description,display:"block",children:s})]}),i&&(0,R.jsx)(ap,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})},ab=r(3935),[ay,ax]=(0,iA.k)({strict:!1,name:"PortalContext"}),aw="chakra-portal",ak=e=>(0,R.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),aS=e=>{let{appendToParentPortal:t,children:r}=e,[n,o]=(0,M.useState)(null),i=(0,M.useRef)(null),[,a]=(0,M.useState)({});(0,M.useEffect)(()=>a({}),[]);let s=ax(),l=iM();iq(()=>{if(!n)return;let e=n.ownerDocument,r=t&&null!=s?s:e.body;if(!r)return;i.current=e.createElement("div"),i.current.className=aw,r.appendChild(i.current),a({});let o=i.current;return()=>{r.contains(o)&&r.removeChild(o)}},[n]);let u=(null==l?void 0:l.zIndex)?(0,R.jsx)(ak,{zIndex:null==l?void 0:l.zIndex,children:r}):r;return i.current?(0,ab.createPortal)((0,R.jsx)(ay,{value:i.current,children:u}),i.current):(0,R.jsx)("span",{ref:e=>{e&&o(e)}})},aC=e=>{let{children:t,containerRef:r,appendToParentPortal:n}=e,o=r.current,i=null!=o?o:"undefined"!=typeof window?document.body:void 0,a=(0,M.useMemo)(()=>{let e=null==o?void 0:o.ownerDocument.createElement("div");return e&&(e.className=aw),e},[o]),[,s]=(0,M.useState)({});return(iq(()=>s({}),[]),iq(()=>{if(a&&i)return i.appendChild(a),()=>{i.removeChild(a)}},[a,i]),i&&a)?(0,ab.createPortal)((0,R.jsx)(ay,{value:n?a:null,children:t}),a):null};function a_(e){let{containerRef:t,...r}={appendToParentPortal:!0,...e};return t?(0,R.jsx)(aC,{containerRef:t,...r}):(0,R.jsx)(aS,{...r})}a_.className=aw,a_.selector=".chakra-portal",a_.displayName="Portal";var[aj,aP]=(0,iA.k)({name:"ToastOptionsContext",strict:!1}),aE=e=>{let t=(0,M.useSyncExternalStore)(am.subscribe,am.getState,am.getState),{motionVariants:r,component:n=i9,portalProps:o}=e,i=Object.keys(t).map(e=>{let o=t[e];return(0,R.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:function(e){let t=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,r=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,n=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",o=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:t,bottom:r,right:n,left:o}}(e),children:(0,R.jsx)(q,{initial:!1,children:o.map(e=>(0,R.jsx)(n,{motionVariants:r,...e},e.id))})},e)});return(0,R.jsx)(a_,{...o,children:i})},aT=e=>function({children:t,theme:r=e,toastOptions:n,...o}){return(0,R.jsxs)(iJ,{theme:r,...o,children:[(0,R.jsx)(aj,{value:null==n?void 0:n.defaultOptions,children:t}),(0,R.jsx)(aE,{...n})]})},aA=aT(ig);function aR(e){let{children:t}=e;return(0,R.jsx)(aA,{theme:iC,children:t})}aT(iv),r(9128);var aM=r(7747),aO=r(2338),az=r(2254),aB=r(8996),a$=r(1664),aF=r.n(a$),aD=r(2736),aI=()=>{let e=(0,Z.useRouter)(),t=(0,aB.bU)(),r=az.W[t].footer,n=(0,aD.mY)(t),o=aB.$7[t],i=(0,G.CX)(aD.cs,{product:(0,G.HX)(e.pathname),placement:"footer",ctaType:"contact",locale:t});return(0,R.jsxs)(aM.xu,{as:"footer",className:"nf-bleed nf-footer",mt:0,children:[(0,R.jsxs)("div",{className:"nf-wrap",children:[(0,R.jsxs)("div",{className:"nf-col",children:[(0,R.jsx)("div",{className:"nf-fbrand",children:"Nefront"}),(0,R.jsx)("div",{className:"nf-ftagline",children:r.tagline})]}),(0,R.jsxs)("div",{className:"nf-col",children:[(0,R.jsx)("b",{children:"PRODUCTS"}),(0,R.jsx)(aF(),{href:n.junkaiGo,children:o.junkaiGo}),(0,R.jsx)(aF(),{href:n.filefront,children:o.filefront}),(0,R.jsx)(aF(),{href:n.spatialCloud,children:o.spatialCloud})]}),(0,R.jsxs)("div",{className:"nf-col",children:[(0,R.jsx)("b",{children:"COMPANY"}),(0,R.jsx)(aF(),{href:n.company,children:r.company}),(0,R.jsx)(aF(),{href:n.recruit,children:r.recruit}),(0,R.jsx)(aF(),{href:n.news,children:r.news}),aD.bO&&(0,R.jsx)(aF(),{href:n.cases,children:r.cases})]}),(0,R.jsxs)("div",{className:"nf-col",children:[(0,R.jsx)("b",{children:"SUPPORT"}),(0,R.jsx)("a",{href:i,target:"_blank",rel:"noopener noreferrer","data-placement":"footer","data-cta":"contact",children:r.contact}),(0,R.jsx)(aF(),{href:n.cookies,children:r.cookies})]})]}),(0,R.jsxs)("div",{className:"nf-fine",children:[(0,R.jsxs)("span",{children:["\xa9 ",new Date().getFullYear()," Nefront Inc."]}),(0,R.jsx)("span",{className:"nf-mono",children:"SPATIAL AI PLATFORM"})]})]})},aL=r(9516),aN="undefined"!=typeof window&&window.document&&window.document.createElement?M.useLayoutEffect:M.useEffect;function aV(e,t=[]){let r=(0,M.useRef)(e);return aN(()=>{r.current=e}),(0,M.useCallback)((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)},t)}var aW=(0,i8.G)(function(e,t){let{direction:r,align:n,justify:o,wrap:i,basis:a,grow:s,shrink:l,...u}=e;return(0,R.jsx)(i3.m.div,{ref:t,__css:{display:"flex",flexDirection:r,alignItems:n,justifyContent:o,flexWrap:i,flexBasis:a,flexGrow:s,flexShrink:l},...u})});aW.displayName="Flex";var aH=r(2757),aU=r(4225),aq=(0,i8.G)((e,t)=>{let{icon:r,children:n,isRound:o,"aria-label":i,...a}=e,s=r||n,l=(0,M.isValidElement)(s)?(0,M.cloneElement)(s,{"aria-hidden":!0,focusable:!1}):null;return(0,R.jsx)(aU.z,{padding:"0",borderRadius:o?"full":void 0,ref:t,"aria-label":i,...a,children:l})});aq.displayName="IconButton";var aG=Object.defineProperty,aZ=(e,t,r)=>t in e?aG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,aY=(e,t,r)=>(aZ(e,"symbol"!=typeof t?t+"":t,r),r),aX=new class{constructor(){aY(this,"modals"),this.modals=new Map}add(e){return this.modals.set(e,this.modals.size+1),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return!!e&&this.modals.get(e)===this.modals.size}};function aK(e,t){let[r,n]=(0,M.useState)(0);return(0,M.useEffect)(()=>{let r=e.current;if(r)return t&&n(aX.add(r)),()=>{aX.remove(r),n(0)}},[t,e]),r}var aJ=r(1103),aQ=new WeakMap,a0=new WeakMap,a1={},a2=0,a5=function(e){return e&&(e.host||a5(e.parentNode))},a4=function(e,t,r,n){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=a5(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});a1[r]||(a1[r]=new WeakMap);var i=a1[r],a=[],s=new Set,l=new Set(o),u=function(e){!e||s.has(e)||(s.add(e),u(e.parentNode))};o.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))c(e);else{var t=e.getAttribute(n),o=null!==t&&"false"!==t,l=(aQ.get(e)||0)+1,u=(i.get(e)||0)+1;aQ.set(e,l),i.set(e,u),a.push(e),1===l&&o&&a0.set(e,!0),1===u&&e.setAttribute(r,"true"),o||e.setAttribute(n,"true")}})};return c(t),s.clear(),a2++,function(){a.forEach(function(e){var t=aQ.get(e)-1,o=i.get(e)-1;aQ.set(e,t),i.set(e,o),t||(a0.has(e)||e.removeAttribute(n),a0.delete(e)),o||e.removeAttribute(r)}),--a2||(aQ=new WeakMap,aQ=new WeakMap,a0=new WeakMap,a1={})}},a3=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),a4(n,o,r,"aria-hidden")):function(){return null}},[a6,a9]=(0,iA.k)({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Modal />\" "}),[a8,a7]=(0,iA.k)({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `
302context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),se=e=>{let t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:r,children:n,autoFocus:o,trapFocus:i,initialFocusRef:a,finalFocusRef:s,returnFocusOnClose:l,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:h,onCloseComplete:p}=t,m=(0,i7.jC)("Modal",t),g={...function(e){let{isOpen:t,onClose:r,id:n,closeOnOverlayClick:o=!0,closeOnEsc:i=!0,useInert:a=!0,onOverlayClick:s,onEsc:l}=e,u=(0,M.useRef)(null),c=(0,M.useRef)(null),[d,f,h]=function(e,...t){let r=(0,M.useId)(),n=e||r;return(0,M.useMemo)(()=>t.map(e=>`${e}-${n}`),[n,t])}(n,"chakra-modal","chakra-modal--header","chakra-modal--body");!function(e,t){let r=e.current;(0,M.useEffect)(()=>{if(e.current&&t)return a3(e.current)},[t,e,r])}(u,t&&a);let p=aK(u,t),m=(0,M.useRef)(null),g=(0,M.useCallback)(e=>{m.current=e.target},[]),v=(0,M.useCallback)(e=>{"Escape"===e.key&&(e.stopPropagation(),i&&(null==r||r()),null==l||l())},[i,r,l]),[b,y]=(0,M.useState)(!1),[x,w]=(0,M.useState)(!1),k=(0,M.useCallback)((e={},t=null)=>({role:"dialog",...e,ref:(0,aJ.lq)(t,u),id:d,tabIndex:-1,"aria-modal":!0,"aria-labelledby":b?f:void 0,"aria-describedby":x?h:void 0,onClick:(0,K.v0)(e.onClick,e=>e.stopPropagation())}),[h,x,d,f,b]),S=(0,M.useCallback)(e=>{e.stopPropagation(),m.current===e.target&&aX.isTopModal(u.current)&&(o&&(null==r||r()),null==s||s())},[r,o,s]),C=(0,M.useCallback)((e={},t=null)=>({...e,ref:(0,aJ.lq)(t,c),onClick:(0,K.v0)(e.onClick,S),onKeyDown:(0,K.v0)(e.onKeyDown,v),onMouseDown:(0,K.v0)(e.onMouseDown,g)}),[v,g,S]);return{isOpen:t,onClose:r,headerId:f,bodyId:h,setBodyMounted:w,setHeaderMounted:y,dialogRef:u,overlayRef:c,getDialogProps:k,getDialogContainerProps:C,index:p}}(t),autoFocus:o,trapFocus:i,initialFocusRef:a,finalFocusRef:s,returnFocusOnClose:l,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:h};return(0,R.jsx)(a8,{value:g,children:(0,R.jsx)(a6,{value:m,children:(0,R.jsx)(q,{onExitComplete:p,children:g.isOpen&&(0,R.jsx)(a_,{...r,children:n})})})})};se.displayName="Modal";var st=r(8940),[sr,sn]=(0,iA.k)(),so={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function si(e){var t;let{isOpen:r,onClose:n,placement:o="right",children:i,...a}=e,s=(0,st.F)(),l=null==(t=s.components)?void 0:t.Drawer,u=function(e,t){var r,n;if(e)return null!=(n=null==(r=so[e])?void 0:r[t])?n:e}(o,s.direction);return(0,R.jsx)(sr,{value:{placement:u},children:(0,R.jsx)(se,{isOpen:r,onClose:n,styleConfig:l,...a,children:i})})}var sa={slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function ss(e){var t;switch(null!=(t=null==e?void 0:e.direction)?t:"right"){case"right":default:return sa.slideRight;case"left":return sa.slideLeft;case"bottom":return sa.slideDown;case"top":return sa.slideUp}}var sl={enter:{duration:.2,ease:[0,0,.2,1]},exit:{duration:.1,ease:[.4,0,1,1]}},su={enter:(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.enter}),exit:(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.exit})},sc={initial:"exit",animate:"enter",exit:"exit",variants:{enter:({transition:e,transitionEnd:t,delay:r}={})=>{var n;return{opacity:1,transition:null!=(n=null==e?void 0:e.enter)?n:su.enter(sl.enter,r),transitionEnd:null==t?void 0:t.enter}},exit:({transition:e,transitionEnd:t,delay:r}={})=>{var n;return{opacity:0,transition:null!=(n=null==e?void 0:e.exit)?n:su.exit(sl.exit,r),transitionEnd:null==t?void 0:t.exit}}}};(0,M.forwardRef)(function(e,t){let{unmountOnExit:r,in:n,className:o,transition:i,transitionEnd:a,delay:s,...l}=e,u=n||r?"enter":"exit",c=!r||n&&r,d={transition:i,transitionEnd:a,delay:s};return(0,R.jsx)(q,{custom:d,children:c&&(0,R.jsx)(i4.E.div,{ref:t,className:(0,K.cx)("chakra-fade",o),custom:d,...sc,animate:u,...l})})}).displayName="Fade";var sd=(0,i3.m)(i4.E.div),sf=(0,i8.G)((e,t)=>{let{className:r,transition:n,motionProps:o,...i}=e,a=(0,K.cx)("chakra-modal__overlay",r),s={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...a9().overlay},{motionPreset:l}=a7(),u="none"===l?{}:sc;return(0,R.jsx)(sd,{...o||u,__css:s,ref:t,className:a,...i})});sf.displayName="ModalOverlay";var sh=r(7462),sp="data-focus-lock",sm="data-focus-lock-disabled";function sg(e,t){var r,n,o;return r=t||null,n=function(t){return e.forEach(function(e){return"function"==typeof e?e(t):e&&(e.current=t),e})}
302,(o=(0,M.useState)(function(){return{value:r,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,o.facade}var sv={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},sb=function(e){var t=e.children;return M.createElement(M.Fragment,null,M.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:sv}),t,t&&M.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:sv}))};sb.propTypes={},sb.defaultProps={children:null};var sy=function(){return(sy=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function sx(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function sw(e){return e}function sk(e,t){void 0===t&&(t=sw);var r=[],n=!1;return{read:function(){if(n)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var o=t(e,n);return r.push(o),function(){r=r.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var o=r;r=[],o.forEach(e),t=r}var i=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}}function sS(e,t){return void 0===t&&(t=sw),sk(e,t)}function sC(e){void 0===e&&(e={});var t=sk(null);return t.options=sy({async:!0,ssr:!1},e),t}var s_=sS({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),sj=sS(),sP=sS(),sE=sC({async:!0}),sT=[],sA=M.forwardRef(function(e,t){var r,n=M.useState(),o=n[0],i=n[1],a=M.useRef(),s=M.useRef(!1),l=M.useRef(null),u=e.children,c=e.disabled,d=e.noFocusGuards,f=e.persistentFocus,h=e.crossFrame,p=e.autoFocus,m=(e.allowTextSelection,e.group),g=e.className,v=e.whiteList,b=e.hasPositiveIndices,y=e.shards,x=void 0===y?sT:y,w=e.as,k=e.lockProps,S=e.sideCar,C=e.returnFocus,_=e.focusOptions,j=e.onActivation,P=e.onDeactivation,E=M.useState({})[0],T=M.useCallback(function(){l.current=l.current||document&&document.activeElement,a.current&&j&&j(a.current),s.current=!0},[j]),A=M.useCallback(function(){s.current=!1,P&&P(a.current)},[P]);(0,M.useEffect)(function(){c||(l.current=null)},[]);var R=M.useCallback(function(e){var t=l.current;if(t&&t.focus){var r="function"==typeof C?C(t):C;if(r){var n="object"==typeof r?r:void 0;l.current=null,e?Promise.resolve().then(function(){return t.focus(n)}):t.focus(n)}}},[C]),O=M.useCallback(function(e){s.current&&s_.useMedium(e)},[]),z=sj.useMedium,B=M.useCallback(function(e){a.current!==e&&(a.current=e,i(e))},[]),$=(0,sh.Z)(((r={})[sm]=c&&"disabled",r[sp]=m,r),void 0===k?{}:k),F=!0!==d,D=F&&"tail"!==d,I=sg([t,B]);return M.createElement(M.Fragment,null,F&&[M.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:c?-1:0,style:sv}),b?M.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:c?-1:1,style:sv}):null],!c&&M.createElement(S,{id:E,sideCar:sE,observed:o,disabled:c,persistentFocus:f,crossFrame:h,autoFocus:p,whiteList:v,shards:x,onActivation:T,onDeactivation:A,returnFocus:R,focusOptions:_}),M.createElement(void 0===w?"div":w,(0,sh.Z)({ref:I},$,{className:g,onBlur:z,onFocus:O}),u),D&&M.createElement("div",{"data-focus-guard":!0,tabIndex:c?-1:0,style:sv}))});function sR(e,t){return(sR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function sM(e){return(sM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}sA.propTypes={},sA.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var sO=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},sz=function(e){return Array.isArray(e)?e:[e]},sB=function(e){return Array.isArray(e)?e[0]:e},s$=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},sF=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},sD=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},sI=function(e,t){var r,n=e.get(t);if(void 0!==n)return n;var o=(r=sI.bind(void 0,e),!t||sD(t)||!s$(t)&&r(sF(t)));return e.set(t,o),o},sL=function(e,t){var r,n=e.get(t);if(void 0!==n)return n;var o=(r=sL.bind(void 0,e),!t||!!sD(t)||!!sH(t)&&r(sF(t)));return e.set(t,o),o},sN=function(e){return e.dataset},sV=function(e){return"INPUT"===e.tagName},sW=function(e){return sV(e)&&"radio"===e.type},sH=function(e){return![!0,"true",""].includes(e.getAttribute("data-no-autofocus"))},sU=function(e){var t;return!!(e&&(null===(t=sN(e))||void 0===t?void 0:t.focusGuard))},sq=function(e){return!sU(e)},sG=function(e){return!!e},sZ=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return -1}return r||n},sY=function(e,t,r){return sO(e).map(function(e,t){return{node:e,index:t,tabIndex:r&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}}).filter(function(e){return!t||e.tabIndex>=0}).sort(sZ)},sX="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",sK="".concat(sX,", [data-focus-guard]"),sJ=function(e,t){return sO((e.shadowRoot||e).children).reduce(function(e,r){return e.concat(r.matches(t?sK:sX)?[r]:[],sJ(r))},[])},sQ=function(e,t){var r;return e instanceof HTMLIFrameElement&&(null===(r=e.contentDocument)||void 0===r?void 0:r.body)?s0([e.contentDocument.body],t):[e]},s0=function(e,t){return e.reduce(function(e,r){var n,o=sJ(r,t),i=(n=[]).concat.apply(n,o.map(function(e){return sQ(e,t)}));return e.concat(i,r.parentNode?sO(r.parentNode.querySelectorAll(sX)).filter(function(e){return e===r}):[])},[])},s1=function(e,t){return sO(e).filter(function(e){return sI(t,e)}).filter(function(e){return!((sV(e)||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))})},s2=function(e,t){return void 0===t&&(t=new Map),sO(e).filter(function(e){return sL(t,e)})},s5=function(e,t,r){return sY(s1(s0(e,r),t),!0,r)},s4=function(e,t){return sY(s1(s0(e),t),!1)},s3=function(e,t){return e.shadowRoot?s3(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||sO(e.children).some(function(e){var r;if(e instanceof HTMLIFrameElement){var n=null===(r=e.contentDocument)||void 0===r?void 0:r.body;return!!n&&s3(n,t)}return s3(e,t)})},s6=function(e){try{return e()}catch(e){return}},s9=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?s9(t.shadowRoot):t instanceof HTMLIFrameElement&&s6(function(){return t.contentWindow.document})?s9(t.contentWindow.document):t}},s8=function(e){void 0===e&&(e=document);var t=s9(e);return!!t&&sO(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return s3(e,t)})},s7=function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var o=n+1;o<r;o+=1){var i=e[n].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(e,r){return!t.has(r)})},le=function(e){return e.parentNode?le(e.parentNode):e}
302,lt=function(e){return sz(e).filter(Boolean).reduce(function(e,t){var r=t.getAttribute(sp);return e.push.apply(e,r?s7(sO(le(t).querySelectorAll("[".concat(sp,'="').concat(r,'"]:not([').concat(sm,'="disabled"])')))):[t]),e},[])},lr=function(e,t){return void 0===t&&(t=s9(sB(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&<(e).some(function(e){var r;return s3(e,t)||(r=t,!!sO(e.querySelectorAll("iframe")).some(function(e){return e===r}))})},ln=function(e,t){return sW(e)&&e.name&&t.filter(sW).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},lo=function(e){var t=new Set;return e.forEach(function(r){return t.add(ln(r,e))}),e.filter(function(e){return t.has(e)})},li=function(e){return e[0]&&e.length>1?ln(e[0],e):e[0]},la=function(e,t){return e.length>1?e.indexOf(ln(e[t],e)):t},ls="NEW_FOCUS",ll=function(e,t,r,n){var o=e.length,i=e[0],a=e[o-1],s=sU(r);if(!(r&&e.indexOf(r)>=0)){var l=void 0!==r?t.indexOf(r):-1,u=n?t.indexOf(n):l,c=n?e.indexOf(n):-1,d=l-u,f=t.indexOf(i),h=t.indexOf(a),p=lo(t),m=(void 0!==r?p.indexOf(r):-1)-(n?p.indexOf(n):l),g=la(e,0),v=la(e,o-1);if(-1===l||-1===c)return ls;if(!d&&c>=0)return c;if(l<=f&&s&&Math.abs(d)>1)return v;if(l>=h&&s&&Math.abs(d)>1)return g;if(d&&Math.abs(m)>1)return c;if(l<=f)return v;if(l>h)return g;if(d)return Math.abs(d)>1?c:(o+c+d)%o}},lu=function(e,t,r){var n=s2(e.map(function(e){return e.node}).filter(function(e){var t,n=null===(t=sN(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||r.indexOf(e)>=0}));return n&&n.length?li(n):li(s2(t))},lc=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&lc(e.parentNode.host||e.parentNode,t),t},ld=function(e,t){for(var r=lc(e),n=lc(t),o=0;o<r.length;o+=1){var i=r[o];if(n.indexOf(i)>=0)return i}return!1},lf=function(e,t,r){var n=sz(e),o=sz(t),i=n[0],a=!1;
302return o.filter(Boolean).forEach(function(e){a=ld(a||e,e)||a,r.filter(Boolean).forEach(function(e){var t=ld(i,e);t&&(a=!a||s3(t,a)?t:ld(t,a))})}),a},lh=function(e,t){var r=new Map;return t.forEach(function(e){return r.set(e.node,e)}),e.map(function(e){return r.get(e)}).filter(sG)},lp=function(e,t){var r=s9(sz(e).length>0?document:sB(e).ownerDocument),n=lt(e).filter(sq),o=lf(r||e,e,n),i=new Map,a=s4(n,i),s=s5(n,i).filter(function(e){return sq(e.node)});if(s[0]||(s=a)[0]){var l=s4([o],i).map(function(e){return e.node}),u=lh(l,s),c=u.map(function(e){return e.node}),d=ll(c,l,r,t);if(d===ls){var f=lu(a,c,n.reduce(function(e,t){return e.concat(s1(sO(t.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return s0([e])}).reduce(function(e,t){return e.concat(t)},[]),i))},[]));return f?{node:f}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===d?d:u[d]}},lm=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},lg=0,lv=!1,lb=function(e,t,r){void 0===r&&(r={});var n=lp(e,t);if(!lv&&n){if(lg>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),lv=!0,setTimeout(function(){lv=!1},1);return}lg++,lm(n.node,r.focusOptions),lg--}},ly=function(e){var t=lt(e).filter(sq),r=lf(e,e,t),n=new Map,o=s5([r],n,!0),i=s5(t,n).filter(function(e){return sq(e.node)}).map(function(e){return e.node});return o.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:i.indexOf(t)>=0,guard:sU(t)}})};function lx(e){setTimeout(e,1)}var lw=null,lk=null,lS=null,lC=!1,l_=function(e,t){lS={observerNode:e,portaledElement:t}};function lj(e,t,r,n){var o=null,i=e;do{var a=n[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else if(a.lockItem){if(i!==e)return;o=null}else break}while((i+=r)!==t);o&&(o.node.tabIndex=0)}var lP=function(e){return e&&"current"in e?e.current:e},lE=function(){var e=!1;if(lw){var t=lw,r=t.observed,n=t.persistentFocus,o=t.autoFocus,i=t.shards,a=t.crossFrame,s=t.focusOptions,l=r||lS&&lS.portaledElement,u=document&&document.activeElement;if(l){var c=[l].concat(i.map(lP).filter(Boolean));if((!u||(lw.whiteList||function(){return!0})(u))&&(n||(a?!!lC:"meanwhile"===lC)||!(document&&document.activeElement===document.body||s8())||!lk&&o)&&(l&&!(lr(c)||u&&c.some(function(e){return function e(t,r,n){return r&&(r.host===t&&(!r.activeElement||n.contains(r.activeElement))||r.parentNode&&e(t,r.parentNode,n))}(u,e,e)})||lS&&lS.portaledElement===u)&&(document&&!lk&&u&&!o?(u.blur&&u.blur(),document.body.focus()):(e=lb(c,lk,{focusOptions:s}),lS={})),lC=!1,lk=document&&document.activeElement),document){var d=document&&document.activeElement,f=ly(c),h=f.map(function(e){return e.node}).indexOf(d);h>-1&&(f.filter(function(e){var t=e.guard,r=e.node;return t&&r.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),lj(h,f.length,1,f),lj(h,-1,-1,f))}}}return e},lT=function(e){lE()&&e&&(e.stopPropagation(),e.preventDefault())},lA=function(){return lx(lE)},lR=function(){lC="just",lx(function(){lC="meanwhile"})},lM=function(){document.addEventListener("focusin",lT),document.addEventListener("focusout",lA),window.addEventListener("blur",lR)},lO=function(){document.removeEventListener("focusin",lT),document.removeEventListener("focusout",lA),window.removeEventListener("blur",lR)};s_.assignSyncMedium(function(e){var t=e.target,r=e.currentTarget;r.contains(t)||l_(r,t)}),sj.assignMedium(lA),sP.assignMedium(function(e){return e({moveFocusInside:lb,focusInside:lr})});var lz=(n=function(e){return e.filter(function(e){return!e.disabled})},o=function(e){var t=e.slice(-1)[0];t&&!lw&&lM();var r=lw,n=r&&t&&t.id===r.id;lw=t,!r||n||(r.onDeactivation(),e.filter(function(e){return e.id===r.id}).length||r.returnFocus(!t)),t?(lk=null,n&&r.observed===t.observed||t.onActivation(),lE(!0),lx(lE)):(lO(),lk=null)},function(e){var t,r,i,a,s=[];function l(){o(a=n(s.map(function(e){return e.props})))}var u=function(t){function r(){return t.apply(this,arguments)||this}r.prototype=Object.create(t.prototype),r.prototype.constructor=r,sR(r,t),r.peek=function(){return a};var n=r.prototype;return n.componentDidMount=function(){s.push(this),l()},n.componentDidUpdate=function(){l()},n.componentWillUnmount=function(){var e=s.indexOf(this);s.splice(e,1),l()},n.render=function(){return M.createElement(e,this.props)},r}
302(M.PureComponent);return t="displayName",r="SideEffect("+(e.displayName||e.name||"Component")+")",i=function(e,t){if("object"!==sM(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==sM(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===sM(i)?i:String(i))in u?Object.defineProperty(u,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):u[t]=r,u})(function(){return null}),lB=M.forwardRef(function(e,t){return M.createElement(sA,(0,sh.Z)({sideCar:lz,ref:t},e))}),l$=sA.propTypes||{};l$.sideCar,function(e,t){if(null!=e){var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r])}}(l$,["sideCar"]),lB.propTypes={};var lF=e=>e.hasAttribute("tabindex"),lD=e=>e.offsetWidth>0&&e.offsetHeight>0,lI=null!=(T=lB.default)?T:lB,lL=e=>{let{initialFocusRef:t,finalFocusRef:r,contentRef:n,restoreFocus:o,children:i,isDisabled:a,autoFocus:s,persistentFocus:l,lockFocusAcrossFrames:u}=e,c=(0,M.useCallback)(()=>{(null==t?void 0:t.current)?t.current.focus():(null==n?void 0:n.current)&&0===function(e){let t=Array.from(e.querySelectorAll("input:not(:disabled):not([disabled]),select:not(:disabled):not([disabled]),textarea:not(:disabled):not([disabled]),embed,iframe,object,a[href],area[href],button:not(:disabled):not([disabled]),[tabindex],audio[controls],video[controls],*[tabindex]:not([aria-disabled]),*[contenteditable]"));return t.unshift(e),t.filter(e=>(function(e){var t;if(!function(e){var t;if(!(null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE))return!1;let r=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof r.HTMLElement}(e)||function e(t){return!!(t.parentElement&&e(t.parentElement))||t.hidden}(e)||!0==!!(t=e).getAttribute("disabled")||!0==!!t.getAttribute("aria-disabled"))return!1;let{localName:r}=e;if(["input","select","textarea","button"].indexOf(r)>=0)return!0;let n={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return r in n?n[r]():!!function(e){let t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||lF(e)})(e)&&lD(e))}(n.current).length&&requestAnimationFrame(()=>{var e;null==(e=n.current)||e.focus()})},[t,n]),d=(0,M.useCallback)(()=>{var e;null==(e=null==r?void 0:r.current)||e.focus()},[r]),f=o&&!r;return(0,R.jsx)(lI,{crossFrame:u,persistentFocus:l,autoFocus:s,disabled:a,onActivation:c,onDeactivation:d,returnFocus:f,children:i})};lL.displayName="FocusLock";var lN="right-scroll-bar-position",lV="width-before-scroll-bar",lW=sC(),lH=function(){},lU=M.forwardRef(function(e,t){var r=M.useRef(null),n=M.useState({onScrollCapture:lH,onWheelCapture:lH,onTouchMoveCapture:lH}),o=n[0],i=n[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,f=e.sideCar,h=e.noIsolation,p=e.inert,m=e.allowPinchZoom,g=e.as,v=e.gapMode,b=sx(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),y=sg([r,t]),x=sy(sy({},b),o);return M.createElement(M.Fragment,null,c&&M.createElement(f,{sideCar:lW,removeScrollBar:u,shards:d,noIsolation:h,inert:p,setCallbacks:i,allowPinchZoom:!!m,lockRef:r,gapMode:v}),a?M.cloneElement(M.Children.only(s),sy(sy({},x),{ref:y})):M.createElement(void 0===g?"div":g,sy({},x,{className:l,ref:y}),s))});lU.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},lU.classNames={fullWidth:lV,zeroRight:lN};var lq=function(e){var t=e.sideCar,r=sx(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return M.createElement(n,sy({},r))};lq.isSideCarExport=!0;var lG=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=A||r.nc;return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},lZ=function(){var e=lG();return function(t,r){M.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},lY=function(){var e=lZ();return function(t){return e(t.styles,t.dynamic),null}},lX={left:0,top:0,right:0,gap:0},lK=function(e){return parseInt(e||"",10)||0},lJ=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[lK(r),lK(n),lK(o)]},lQ=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return lX;var t=lJ(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},l0=lY(),l1=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(s,"px ").concat(n,";\n }\n body {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";
302")].filter(Boolean).join(""),"\n }\n \n .").concat(lN," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(lV," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(lN," .").concat(lN," {\n right: 0 ").concat(n,";\n }\n \n .").concat(lV," .").concat(lV," {\n margin-right: 0 ").concat(n,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},l2=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n,i=M.useMemo(function(){return lQ(o)},[o]);return M.createElement(l0,{styles:l1(i,!t,o,r?"":"!important")})},l5=!1;if("undefined"!=typeof window)try{var l4=Object.defineProperty({},"passive",{get:function(){return l5=!0,!0}});window.addEventListener("test",l4,l4),window.removeEventListener("test",l4,l4)}catch(e){l5=!1}var l3=!!l5&&{passive:!1},l6=function(e,t){var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},l9=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),l8(e,n)){var o=l7(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},l8=function(e,t){return"v"===e?l6(t,"overflowY"):l6(t,"overflowX")},l7=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ue=function(e,t,r,n,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=a*n,l=r.target,u=t.contains(l),c=!1,d=s>0,f=0,h=0;do{var p=l7(e,l),m=p[0],g=p[1]-p[2]-a*m;(m||g)&&l8(e,l)&&(f+=g,h+=m),l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(o&&0===f||!o&&s>f)?c=!0:!d&&(o&&0===h||!o&&-s>h)&&(c=!0),c},ut=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ur=function(e){return[e.deltaX,e.deltaY]},un=function(e){return e&&"current"in e?e.current:e},uo=0,ui=[],ua=(i=function(e){var t=M.useRef([]),r=M.useRef([0,0]),n=M.useRef(),o=M.useState(uo++)[0],i=M.useState(lY)[0],a=M.useRef(e);M.useEffect(function(){a.current=e},[e]),M.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(un),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=M.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=ut(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-i[0],u="deltaY"in e?e.deltaY:s[1]-i[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=l9(d,c);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=l9(d,c)),!f)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=o),!o)return!0;var h=n.current||o;return ue(h,t,e,"h"===h?l:u,!0)},[]),l=M.useCallback(function(e){if(ui.length&&ui[ui.length-1]===i){var r="deltaY"in e?ur(e):ut(e),n=t.current.filter(function(t){var n;return t.name===e.type&&t.target===e.target&&(n=t.delta)[0]===r[0]&&n[1]===r[1]})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(a.current.shards||[]).map(un).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=M.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),c=M.useCallback(function(e){r.current=ut(e),n.current=void 0},[]),d=M.useCallback(function(t){u(t.type,ur(t),t.target,s(t,e.lockRef.current))},[]),f=M.useCallback(function(t){u(t.type,ut(t),t.target,s(t,e.lockRef.current))},[]);M.useEffect(function(){return ui.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,l3),document.addEventListener("touchmove",l,l3),document.addEventListener("touchstart",c,l3),function(){ui=ui.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,l3),document.removeEventListener("touchmove",l,l3),document.removeEventListener("touchstart",c,l3)}},[]);var h=e.removeScrollBar,p=e.inert;return M.createElement(M.Fragment,null,p?M.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?M.createElement(l2,{gapMode:e.gapMode}):null)},lW.useMedium(i),lq),us=M.forwardRef(function(e,t){return M.createElement(lU,sy({},e,{ref:t,sideCar:ua}))});function ul(e){let{autoFocus:t,trapFocus:r,dialogRef:n,initialFocusRef:o,blockScrollOnMount:i,allowPinchZoom:a,finalFocusRef:s,returnFocusOnClose
302:l,preserveScrollBarGap:u,lockFocusAcrossFrames:c,isOpen:d}=a7(),[f,h]=(0,i5.oO)();(0,M.useEffect)(()=>{!f&&h&&setTimeout(h)},[f,h]);let p=aK(n,d);return(0,R.jsx)(lL,{autoFocus:t,isDisabled:!r,initialFocusRef:o,finalFocusRef:s,restoreFocus:l,contentRef:n,lockFocusAcrossFrames:c,children:(0,R.jsx)(us,{removeScrollBar:!u,allowPinchZoom:a,enabled:1===p&&i,forwardProps:!0,children:e.children})})}us.classNames=lU.classNames;var uu={exit:{duration:.15,ease:[.4,0,.2,1]},enter:{type:"spring",damping:25,stiffness:180}},uc={exit:({direction:e,transition:t,transitionEnd:r,delay:n})=>{var o;let{exit:i}=ss({direction:e});return{...i,transition:null!=(o=null==t?void 0:t.exit)?o:su.exit(uu.exit,n),transitionEnd:null==r?void 0:r.exit}},enter:({direction:e,transitionEnd:t,transition:r,delay:n})=>{var o;let{enter:i}=ss({direction:e});return{...i,transition:null!=(o=null==r?void 0:r.enter)?o:su.enter(uu.enter,n),transitionEnd:null==t?void 0:t.enter}}},ud=(0,M.forwardRef)(function(e,t){let{direction:r="right",style:n,unmountOnExit:o,in:i,className:a,transition:s,transitionEnd:l,delay:u,motionProps:c,...d}=e,f=Object.assign({position:"fixed"},ss({direction:r}).position,n),h=!o||i&&o,p=i||o?"enter":"exit",m={transitionEnd:l,transition:s,direction:r,delay:u};return(0,R.jsx)(q,{custom:m,children:h&&(0,R.jsx)(i4.E.div,{...d,ref:t,initial:"exit",className:(0,K.cx)("chakra-slide",a),animate:p,exit:"exit",custom:m,variants:uc,style:f,...c})})});ud.displayName="Slide";var uf=(0,i3.m)(ud),uh=(0,i8.G)((e,t)=>{let{className:r,children:n,motionProps:o,containerProps:i,...a}=e,{getDialogProps:s,getDialogContainerProps:l,isOpen:u}=a7(),c=s(a,t),d=l(i),f=(0,K.cx)("chakra-modal__content",r),h=a9(),p={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...h.dialog},m={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...h.dialogContainer},{placement:g}=sn();return(0,R.jsx)(ul,{children:(0,R.jsx)(i3.m.div,{...d,className:"chakra-modal__content-container",__css:m,children:(0,R.jsx)(uf,{motionProps:o,direction:g,in:u,className:f,...c,__css:p,children:n})})})});uh.displayName="DrawerContent";var up=r(2729),um=r(6261),ug=r(2227),uv=r(4016);function ub(){let e=(0,up._)(["\n font-weight: bold;\n font-size: 18px;\n display: inline-flex;\n align-items: center;\n height: 45px;\n line-height: 1;\n /* å·¦ã¯æ¹ä¿®åã¨åãä½ç½®ï¼ãã¥ã¼ãã¼ã左端ããã°ãªãã¾ã§ 18pxï¼ã«æãã */\n padding: 0 0 0 10px;\n > svg {\n height: 45px;\n width: auto;\n display: block;\n transition: 200ms ease;\n }\n"]);return ub=function(){return e},e}let uy=ug.Z.span(ub());var ux=()=>!0===uw()?(0,R.jsx)(um.rU,{activeClass:"active",to:"top",spy:!0,smooth:!0,duration:500,offset:-50,style:{cursor:"pointer",display:"flex"},children:(0,R.jsx)(uy,{children:(0,R.jsx)(uv.Z,{})})}):(0,R.jsx)(aF(),{href:"/",style:{cursor:"pointer",display:"flex"},children:(0,R.jsx)(uy,{children:(0,R.jsx)(uv.Z,{})})});let uw=()=>{let e=(0,Z.useRouter)(),[t,r]=(0,M.useState)(!1);return(0,M.useEffect)(()=>{if(e.isReady){var t;let n=(null!==(t=e.asPath)&&void 0!==t?t:"").split("?")[0].split("#")[0],o=n.endsWith("/")?n:"".concat(n,"/");r("/"===o||"/en/"===o)}},[e.isReady,e.asPath]),t},uk=e=>{let t=(0,aD.mY)(e),r=az.W[e].nav,n=[{href:t.junkaiGo,...r.productLinks.junkaiGo},{href:t.filefront,...r.productLinks.filefront},{href:t.spatialCloud,...r.productLinks.spatialCloud}],o=[{href:t.company,...r.companyLinks.company},{href:t.recruit,...r.companyLinks.recruit}];return{routes:t,copy:r,productLinks:n,companyLinks:o}},uS=e=>{let{label:t,links:r}=e;return(0,R.jsxs)("div",{className:"nf-dd",onMouseDown:e=>e.preventDefault(),tabIndex:0,children:[(0,R.jsx)("span",{className:"nf-ddlabel",children:t}),(0,R.jsx)("div",{className:"nf-ddpanel",children:r.map(e=>(0,R.jsxs)(aF(),{href:e.href,children:[e.label,e.note&&(0,R.jsx)("small",{children:e.note})]},e.href))})]})},uC=e=>{let{link:t,onClose:r}=e;return(0,R.jsxs)(aF(),{href:t.href,onClick:r,children:[t.label,t.note&&(0,R.jsx)("small",{children:t.note})]})},u_=e=>{var t;let{locale:r,className:n,onNavigate:o}=e,i=(0,Z.useRouter)(),a=az.W[r].langSwitch,s=(0,aB.L2)(r,null!==(t=i.pathname)&&void 0!==t?t:"/"),l="ja"===r?"en":"ja";return(0,R.jsxs)("div",{className:n,role:"group","aria-label":a.label,children:[(0,R.jsx)("span",{className:"nf-langcur","aria-current":"true",children:a[r]}),(0,R.jsx)(aF(),{className:"nf-langalt",href:s,hrefLang:l,onClick:o,children:a[l]})]})},uj=()=>(0,R.jsxs)("span",{className:"nf-burger-lines","aria-hidden":"true",children:[(0,R.jsx)("span",{}),(0,R.jsx)("span",{}),(0,R.jsx)("span",{})]}),uP=()=>{let[e,t]=(0,M.useState)(!1);return(0,M.useEffect)(()=>{let e=()=>t(window.scrollY>6);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),e};var uE=e=>{let{path:t,...r}=e,n=uP(),o=function(e={}){let{onClose:t,onOpen:r,isOpen:n,id:o}=e,i=aV(r),a=aV(t),[s,l]=(0,M.useState)(e.defaultIsOpen||!1),[u,c]=function(e,t){let r=void 0!==e;return[r,r&&void 0!==e?e:t]}(n,s),d=function(e,t){let r=(0,M.useId)();return(0,M.useMemo)(()=>
302e||[t,r].filter(Boolean).join("-"),[e,t,r])}(o,"disclosure"),f=(0,M.useCallback)(()=>{u||l(!1),null==a||a()},[u,a]),h=(0,M.useCallback)(()=>{u||l(!0),null==i||i()},[u,i]),p=(0,M.useCallback)(()=>{(c?f:h)()},[c,h,f]);return{isOpen:!!c,onOpen:h,onClose:f,onToggle:p,isControlled:u,getButtonProps:(e={})=>({...e,"aria-expanded":c,"aria-controls":d,onClick:(0,i$.v0)(e.onClick,p)}),getDisclosureProps:(e={})=>({...e,hidden:!c,id:d})}}(),i=(0,Z.useRouter)(),a=(0,aB.bU)(),{routes:s,copy:l,productLinks:u,companyLinks:c}=uk(a);(0,M.useEffect)(()=>{let e=()=>{o.onClose();let e=document.activeElement;e&&e!==document.body&&e.blur()};return i.events.on("routeChangeComplete",e),()=>i.events.off("routeChangeComplete",e)},[i.events,o.onClose]);let d=e=>(0,G.CX)(aD.cs,{product:(0,G.HX)(i.pathname),placement:e,ctaType:"contact",locale:a});return(0,R.jsxs)(aM.xu,{position:"fixed",as:"nav",className:n?"nf-navbar is-scrolled":"nf-navbar",w:"100%",h:"50px",zIndex:20,...r,children:[(0,R.jsxs)(aO.W,{display:"flex",alignItems:"center",h:"100%",px:2,py:0,maxW:"1400px",children:[(0,R.jsx)(aW,{align:"center",mr:{base:0,lg:8},children:(0,R.jsx)(aH.X,{as:"h1",size:"lg",letterSpacing:"tighter",m:0,p:0,children:(0,R.jsx)(ux,{})})}),(0,R.jsx)(aM.xu,{display:{base:"none",lg:"flex"},h:"100%",flexGrow:1,children:(0,R.jsxs)("nav",{className:"nf-nav",children:[(0,R.jsx)(uS,{label:l.products,links:u}),aD.bO&&(0,R.jsx)(aF(),{className:"nf-nlink",href:s.cases,children:l.cases}),(0,R.jsx)(uS,{label:l.company,links:c}),(0,R.jsx)(aF(),{className:"nf-nlink",href:s.news,children:l.news})]})}),(0,R.jsxs)(aM.xu,{display:{base:"none",lg:"flex"},ml:"auto",alignItems:"center",gap:3,children:[(0,R.jsx)(u_,{locale:a,className:"nf-lang"}),(0,R.jsx)("a",{className:"nf-navcta",href:d("navbar"),target:"_blank",rel:"noopener noreferrer","data-placement":"navbar","data-cta":"contact",children:l.contact})]}),(0,R.jsx)(aM.xu,{ml:"auto",display:{base:"inline-block",lg:"none"},children:(0,R.jsx)(aq,{icon:(0,R.jsx)(uj,{}),variant:"unstyled",className:o.isOpen?"nf-burger is-open":"nf-burger","aria-label":o.isOpen?l.closeMenu:l.openMenu,"aria-expanded":o.isOpen,onClick:o.isOpen?o.onClose:()=>{(0,G.j)("menu_open",{placement:"navbar"}),o.onOpen()}})})]}),(0,R.jsxs)(si,{isOpen:o.isOpen,onClose:o.onClose,placement:"right",autoFocus:!1,children:[(0,R.jsx)(sf,{className:"nf-mscrim"}),(0,R.jsxs)(uh,{className:"nf-mpanel",maxW:"min(440px, 92vw)",children:[(0,R.jsxs)("button",{type:"button",className:"nf-mclose",onClick:o.onClose,"aria-label":l.closeMenu,children:[(0,R.jsx)("span",{"aria-hidden":"true"}),(0,R.jsx)("span",{"aria-hidden":"true"})]}),(0,R.jsxs)("div",{className:"nf-mbody",children:[(0,R.jsxs)("div",{className:"nf-mgroup",children:[(0,R.jsx)(aF(),{href:"en"===(0,aB.ut)(i.pathname)?"/en/":"/",onClick:o.onClose,children:l.home}),(0,R.jsx)(aF(),{href:s.news,onClick:o.onClose,children:l.news}),aD.bO&&(0,R.jsx)(aF(),{href:s.cases,onClick:o.onClose,children:l.cases})]}),(0,R.jsxs)("div",{className:"nf-mgroup",children:[(0,R.jsx)("div",{className:"nf-meyebrow",children:"PRODUCTS"}),u.map(e=>(0,R.jsx)(uC,{link:e,onClose:o.onClose},e.href))]}),(0,R.jsxs)("div",{className:"nf-mgroup",children:[(0,R.jsx)("div",{className:"nf-meyebrow",children:"COMPANY"}),c.map(e=>(0,R.jsx)(uC,{link:e,onClose:o.onClose},e.href))]}),(0,R.jsxs)("div",{className:"nf-mgroup",children:[(0,R.jsx)("div",{className:"nf-meyebrow",children:"LANGUAGE"}),(0,R.jsx)(u_,{locale:a,className:"nf-mlang",onNavigate:o.onClose})]})]}),(0,R.jsx)("div",{className:"nf-mfoot",children:(0,R.jsxs)("a",{className:"nf-mcta",href:d("mobile_menu"),target:"_blank",rel:"noopener noreferrer","data-placement":"mobile_menu","data-cta":"contact",onClick:o.onClose,children:[l.contact,(0,R.jsx)("span",{className:"nf-ar","aria-hidden":"true",children:"â"})]})})]})]})]})},uT=e=>{let{children:t,router:r}=e;return(0,R.jsxs)(aM.xu,{as:"main",children:[(0,R.jsx)(aL.ZP,{canonical:!1}),(0,R.jsx)(uE,{path:r.asPath}),(0,R.jsxs)(aO.W,{maxW:"99999999px",pt:"50px",children:[t,(0,R.jsx)(aI,{})]})]})};window.history.scrollRestoration="manual";var uA=function(e){let{Component:t,pageProps:r,router:n}=e,o=(0,Z.useRouter)();return(0,M.useEffect)(()=>
302{if(!(0,G.n)())return;(0,G.LV)();let e=e=>(0,G.LV)(e);return o.events.on("routeChangeComplete",e),()=>{o.events.off("routeChangeComplete",e)}},[]),(0,M.useEffect)(()=>{if((0,G.n)())return(0,G.mm)()},[]),(0,M.useEffect)(()=>{if(!(0,G.n)())return;let e=(0,G.jQ)(),t=()=>e.reset();return o.events.on("routeChangeComplete",t),()=>{o.events.off("routeChangeComplete",t),e.detach()}},[]),(0,M.useEffect)(()=>{if((0,G.n)())return(0,G.Rv)(500)},[o.asPath]),(0,R.jsxs)(aR,{children:[(0,G.n)()&&(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(X(),{id:"ga4-src",strategy:"afterInteractive",src:"https://www.googletagmanager.com/gtag/js?id=".concat(G.In)}),(0,R.jsx)(X(),{id:"ga4-init",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:(0,G.K_)(G.In)}})]}),(0,R.jsx)("style",{children:"\n @import url(https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;700);\n @import url(https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@700);\n @import url(https://fonts.googleapis.com/css2?family=Noto+Sans+JP);\n "}),(0,R.jsx)(uT,{router:n,children:(0,R.jsx)(q,{mode:"wait",initial:!0,onExitComplete:()=>{window.scrollTo({top:0})},children:(0,M.createElement)(t,{...r,key:n.route})})})]})}},9128:function(){},9008:function(e,t,r){e.exports=r(7828)},1664:function(e,t,r){e.exports=r(9577)},1163:function(e,t,r){e.exports=r(9090)},4298:function(e,t,r){e.exports=r(2892)},2703:function(e,t,r){"use strict";var n=r(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},5697:function(e,t,r){e.exports=r(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9590:function(e){var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,i){try{return function e(i,a){if(i===a)return!0;if(i&&a&&"object"==typeof i&&"object"==typeof a){var s,l,u,c;if(i.constructor!==a.constructor)return!1;if(Array.isArray(i)){if((s=i.length)!=a.length)return!1;for(l=s;0!=l--;)if(!e(i[l],a[l]))return!1;return!0}if(r&&i instanceof Map&&a instanceof Map){if(i.size!==a.size)return!1;for(c=i.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;for(c=i.entries();!(l=c.next()).done;)if(!e(l.value[1],a.get(l.value[0])))return!1;return!0}if(n&&i instanceof Set&&a instanceof Set){if(i.size!==a.size)return!1;for(c=i.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(a)){if((s=i.length)!=a.length)return!1;for(l=s;0!=l--;)if(i[l]!==a[l])return!1;return!0}if(i.constructor===RegExp)return i.source===a.source&&i.flags===a.flags;if(i.valueOf!==Object.prototype.valueOf&&"function"==typeof i.valueOf&&"function"==typeof a.valueOf)return i.valueOf()===a.valueOf();if(i.toString!==Object.prototype.toString&&"function"==typeof i.toString&&"function"==typeof a.toString)return i.toString()===a.toString();if((s=(u=Object.keys(i)).length)!==Object.keys(a).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,u[l]))return!1;if(t&&i instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!i.$$typeof)&&!e(i[u[l]],a[u[l]]))return!1;return!0}return i!=i&&a!=a}(e,i)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},9921:function(e,t){"use strict";/** @license React v16.13.1 303 * react-is.production.min.js 304 * 305 * Copyright (c) Facebook, Inc. and its affiliates. 306 * 307 * This source code is licensed under the MIT license found in the 308 * LICENSE file in the root directory of this source tree. 309 */var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function k(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return k(e)||w(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===y||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},9864:function(e,t,r){"use strict";e.exports=r(9921)},8477:function(e,t,r){"use strict";
309Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=a(r(7294)),i=a(r(1093));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"render",value:function(){return o.default.createElement("button",this.props,this.props.children)}}]),t}(o.default.Component);t.default=(0,i.default)(s)},5343:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=l(r(7294)),a=l(r(8e3)),s=l(r(5697));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(){return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"render",value:function(){var e=this,t=n({},this.props);return delete t.name,t.parentBindings&&delete t.parentBindings,i.default.createElement("div",n({},t,{ref:function(t){e.props.parentBindings.domNode=t}}),this.props.children)}}]),t}(i.default.Component);u.propTypes={name:s.default.string,id:s.default.string},t.default=(0,a.default)(u)},8939:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(r(7294)),o=i(r(1093));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);for(var e,r,o,i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return r=o=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),o.render=function(){return n.default.createElement("a",o.props,o.props.children)},a(o,r)}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(n.default.Component);t.default=(0,o.default)(s)},6261:function(e,t,r){"use strict";t.rU=void 0;var n=h(r(8939)),o=h(r(8477)),i=h(r(5343)),a=h(r(2628)),s=h(r(4592)),l=h(r(7606)),u=h(r(3200)),c=h(r(1093)),d=h(r(8e3)),f=h(r(8482));
309function h(e){return e&&e.__esModule?e:{default:e}}t.rU=n.default,o.default,i.default,a.default,s.default,l.default,u.default,c.default,d.default,f.default,n.default,o.default,i.default,a.default,s.default,l.default,u.default,c.default,d.default,f.default},8482:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function s(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=r(7294);r(3935),r(4259);var u=r(7606),c=r(2628),d=r(5697),f=r(9678),h={to:d.string.isRequired,containerId:d.string,container:d.object,activeClass:d.string,spy:d.bool,smooth:d.oneOfType([d.bool,d.string]),offset:d.number,delay:d.number,isDynamic:d.bool,onClick:d.func,duration:d.oneOfType([d.number,d.func]),absolute:d.bool,onSetActive:d.func,onSetInactive:d.func,ignoreCancelEvents:d.bool,hashSpy:d.bool,spyThrottle:d.number};e.exports={Scroll:function(e,t){console.warn("Helpers.Scroll is deprecated since v1.7.0");var r=t||c,d=function(t){function c(e){i(this,c);var t=a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return p.call(t),t.state={active:!1},t}return s(c,t),o(c,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();u.isMounted(e)||u.mount(e,this.props.spyThrottle),this.props.hashSpy&&(f.isMounted()||f.mount(r),f.mapContainer(this.props.to,e)),this.props.spy&&u.addStateHandler(this.stateHandler),u.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){u.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var r=n({},this.props);for(var o in h)r.hasOwnProperty(o)&&delete r[o];return r.className=t,r.onClick=this.handleClick,l.createElement(e,r)}}]),c}(l.Component),p=function(){var e=this;this.scrollTo=function(t,o){r.scrollTo(t,n({},e.state,o))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.stateHandler=function(){r.getActiveLink()!==e.props.to&&(null!==e.state&&e.state.active&&e.props.onSetInactive&&e.props.onSetInactive(),e.setState({active:!1}))},this.spyHandler=function(t){var n=e.getScrollSpyContainer();if(!f.isMounted()||f.isInitialized()){var o=e.props.to,i=null,a=0,s=0,l=0;if(n.getBoundingClientRect&&(l=n.getBoundingClientRect().top),!i||e.props.isDynamic){if(!(i=r.get(o)))return;var c=i.getBoundingClientRect();s=(a=c.top-l+t)+c.height}var d=t-e.props.offset,h=d>=Math.floor(a)&&d<Math.floor(s),p=d<Math.floor(a)||d>=Math.floor(s),m=r.getActiveLink();return p?(o===m&&r.setActiveLink(void 0),e.props.hashSpy&&f.getHash()===o&&f.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive()),u.updateStates()):h&&m!==o?(r.setActiveLink(o),e.props.hashSpy&&f.changeHash(o),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(o)),u.updateStates()):void 0}}};return d.propTypes=h,d.defaultProps={offset:0},d},Element:function(e){console.warn("Helpers.Element is deprecated since v1.7.0");var t=function(t){function r(e){i(this,r);var t=a(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return t.childBindings={domNode:null},t}
309return s(r,t),o(r,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;c.unregister(this.props.name)}},{key:"registerElems",value:function(e){c.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return l.createElement(e,n({},this.props,{parentBindings:this.childBindings}))}}]),r}(l.Component);return t.propTypes={name:d.string,id:d.string},t}}},3200:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};s(r(4259));var o=s(r(9765)),i=s(r(140)),a=s(r(4592));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return o.default[e.smooth]||o.default.defaultEasing},u=function(){if("undefined"!=typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(e,t,r){window.setTimeout(e,r||1e3/60,new Date().getTime())},c=function(){return{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null}},d=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollLeft;var r=void 0!==window.pageXOffset,n="CSS1Compat"===(document.compatMode||"");return r?window.pageXOffset:n?document.documentElement.scrollLeft:document.body.scrollLeft},f=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollTop;var r=void 0!==window.pageXOffset,n="CSS1Compat"===(document.compatMode||"");return r?window.pageYOffset:n?document.documentElement.scrollTop:document.body.scrollTop},h=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollWidth-t.offsetWidth;var r=document.body,n=document.documentElement;return Math.max(r.scrollWidth,r.offsetWidth,n.clientWidth,n.scrollWidth,n.offsetWidth)},p=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollHeight-t.offsetHeight;var r=document.body,n=document.documentElement;return Math.max(r.scrollHeight,r.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight)},m=function e(t,r,n){var o=r.data;if(!r.ignoreCancelEvents&&o.cancel){a.default.registered.end&&a.default.registered.end(o.to,o.target,o.currentPositionY);return}if(o.delta=Math.round(o.targetPosition-o.startPosition),null===o.start&&(o.start=n),o.progress=n-o.start,o.percent=o.progress>=o.duration?1:t(o.progress/o.duration),o.currentPosition=o.startPosition+Math.ceil(o.delta*o.percent),o.containerElement&&o.containerElement!==document&&o.containerElement!==document.body?r.horizontal?o.containerElement.scrollLeft=o.currentPosition:o.containerElement.scrollTop=o.currentPosition:r.horizontal?window.scrollTo(o.currentPosition,0):window.scrollTo(0,o.currentPosition),o.percent<1){var i=e.bind(null,t,r);u.call(window,i);return}a.default.registered.end&&a.default.registered.end(o.to,o.target,o.currentPosition)},g=function(e){e.data.containerElement=e?e.containerId?document.getElementById(e.containerId):e.container&&e.container.nodeType?e.container:document:null},v=function(e,t,r,n){if(t.data=t.data||c(),window.clearTimeout(t.data.delayTimeout),i.default.subscribe(function(){t.data.cancel=!0}),g(t),t.data.start=null,t.data.cancel=!1,t.data.startPosition=t.horizontal?d(t):f(t),t.data.targetPosition=t.absolute?e:e+t.data.startPosition,t.data.startPosition===t.data.targetPosition){a.default.registered.end&&a.default.registered.end(t.data.to,t.data.target,t.data.currentPosition);return}t.data.delta=Math.round(t.data.targetPosition-t.data.startPosition),t.data.duration=("function"==typeof(o=t.duration)?o:function(){return o})(t.data.delta),t.data.duration=isNaN(parseFloat(t.data.duration))?1e3:parseFloat(t.data.duration),t.data.to=r,t.data.target=n;var o,s=l(t),h=m.bind(null,s,t);if(t&&t.delay>0){t.data.delayTimeout=window.setTimeout(function(){a.default.registered.begin&&a.default.registered.begin(t.data.to,t.data.target),u.call(window,h)},t.delay);return}a.default.registered.begin&&a.default.registered.begin(t.data.to,t.data.target),u.call(window,h)},b=function(e){return(e=n({},e)).data=e.data||c(),e.absolute=!0,e};t.default={animateTopScroll:v,getAnimationType:l,scrollToTop:function(e){v(0,b(e))},scrollToBottom:function(e){g(e=b(e)),v(e.horizontal?h(e):p(e),e)},scrollTo:function(e,t){v(e,b(t))},scrollMore:function(e,t){g(t=b(t)),v(e+(t.horizontal?d(t):f(t)),t)}}},140:function(e,t,r){"use strict";
309Object.defineProperty(t,"__esModule",{value:!0});var n=r(5236),o=["mousedown","mousewheel","touchmove","keydown"];t.default={subscribe:function(e){return"undefined"!=typeof document&&o.forEach(function(t){return(0,n.addPassiveEventListener)(document,t,e)})}}},5236:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPassiveEventListener=function(e,t,n){var o=n.name;o||(o=t,console.warn("Listener must be a named function.")),r.has(t)||r.set(t,new Set);var i=r.get(t);if(!i.has(o)){var a=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}();e.addEventListener(t,n,!!a&&{passive:!0}),i.add(o)}},t.removePassiveEventListener=function(e,t,n){e.removeEventListener(t,n),r.get(t).delete(n.name||t)};var r=new Map},8e3:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=l(r(7294));l(r(3935));var a=l(r(2628)),s=l(r(5697));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(t){function r(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r);var t=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return t.childBindings={domNode:null},t}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),o(r,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;a.default.unregister(this.props.name)}},{key:"registerElems",value:function(e){a.default.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return i.default.createElement(e,n({},this.props,{parentBindings:this.childBindings}))}}]),r}(i.default.Component);return t.propTypes={name:s.default.string,id:s.default.string},t}},4592:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={registered:{},scrollEvent:{register:function(e,t){r.registered[e]=t},remove:function(e){r.registered[e]=null}}};t.default=r},9678:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(5236);var n,o=(n=r(4259))&&n.__esModule?n:{default:n};t.default={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(e){this.scroller=e,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(e,t){this.containers[e]=t},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var e=this,t=this.getHash();t?window.setTimeout(function(){e.scrollTo(t,!0),e.initialized=!0},10):this.initialized=!0},scrollTo:function(e,t){var r=this.scroller;if(r.get(e)&&(t||e!==r.getActiveLink())){var n=this.containers[e]||document;r.scrollTo(e,{container:n})}},getHash:function(){return o.default.getHash()},changeHash:function(e,t){this.isInitialized()&&o.default.getHash()!==e&&o.default.updateHash(e,t)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}}},1093:function(e,t,r){"use strict";
309Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=c(r(7294)),a=c(r(7606)),s=c(r(2628)),l=c(r(5697)),u=c(r(9678));function c(e){return e&&e.__esModule?e:{default:e}}var d={to:l.default.string.isRequired,containerId:l.default.string,container:l.default.object,activeClass:l.default.string,activeStyle:l.default.object,spy:l.default.bool,horizontal:l.default.bool,smooth:l.default.oneOfType([l.default.bool,l.default.string]),offset:l.default.number,delay:l.default.number,isDynamic:l.default.bool,onClick:l.default.func,duration:l.default.oneOfType([l.default.number,l.default.func]),absolute:l.default.bool,onSetActive:l.default.func,onSetInactive:l.default.func,ignoreCancelEvents:l.default.bool,hashSpy:l.default.bool,saveHashHistory:l.default.bool,spyThrottle:l.default.number};t.default=function(e,t){var r=t||s.default,l=function(t){function s(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return c.call(t),t.state={active:!1},t}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,t),o(s,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e&&!t?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();a.default.isMounted(e)||a.default.mount(e,this.props.spyThrottle),this.props.hashSpy&&(u.default.isMounted()||u.default.mount(r),u.default.mapContainer(this.props.to,e)),a.default.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){a.default.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var r={};r=this.state&&this.state.active?n({},this.props.style,this.props.activeStyle):n({},this.props.style);var o=n({},this.props);for(var a in d)o.hasOwnProperty(a)&&delete o[a];return o.className=t,o.style=r,o.onClick=this.handleClick,i.default.createElement(e,o)}}]),s}(i.default.PureComponent),c=function(){var e=this;this.scrollTo=function(t,o){r.scrollTo(t,n({},e.state,o))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.spyHandler=function(t,n){var o=e.getScrollSpyContainer();if(!u.default.isMounted()||u.default.isInitialized()){var i=e.props.horizontal,a=e.props.to,s=null,l=void 0,c=void 0;if(i){var d=0,f=0,h=0;if(o.getBoundingClientRect&&(h=o.getBoundingClientRect().left),!s||e.props.isDynamic){if(!(s=r.get(a)))return;var p=s.getBoundingClientRect();f=(d=p.left-h+t)+p.width}var m=t-e.props.offset;l=m>=Math.floor(d)&&m<Math.floor(f),c=m<Math.floor(d)||m>=Math.floor(f)}else{var g=0,v=0,b=0;if(o.getBoundingClientRect&&(b=o.getBoundingClientRect().top),!s||e.props.isDynamic){if(!(s=r.get(a)))return;var y=s.getBoundingClientRect();v=(g=y.top-b+n)+y.height}var x=n-e.props.offset;l=x>=Math.floor(g)&&x<Math.floor(v),c=x<Math.floor(g)||x>=Math.floor(v)}var w=r.getActiveLink();if(c){if(a===w&&r.setActiveLink(void 0),e.props.hashSpy&&u.default.getHash()===a){var k=e.props.saveHashHistory;u.default.changeHash("",void 0!==k&&k)}e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive(a,s))}if(l&&(w!==a||!1===e.state.active)){r.setActiveLink(a);var S=e.props.saveHashHistory;e.props.hashSpy&&u.default.changeHash(a,void 0!==S&&S),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(a,s))}}}};return l.propTypes=d,l.defaultProps={offset:0},l}},7606:function(e,t,r){"use strict";
309Object.defineProperty(t,"__esModule",{value:!0});var n,o=(n=r(3096))&&n.__esModule?n:{default:n},i=r(5236),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:66;return(0,o.default)(e,t)},s={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(e,t){if(e){var r=a(function(t){s.scrollHandler(e)},t);s.scrollSpyContainers.push(e),(0,i.addPassiveEventListener)(e,"scroll",r)}},isMounted:function(e){return -1!==s.scrollSpyContainers.indexOf(e)},currentPositionX:function(e){if(e!==document)return e.scrollLeft;var t=void 0!==window.pageYOffset,r="CSS1Compat"===(document.compatMode||"");return t?window.pageXOffset:r?document.documentElement.scrollLeft:document.body.scrollLeft},currentPositionY:function(e){if(e!==document)return e.scrollTop;var t=void 0!==window.pageXOffset,r="CSS1Compat"===(document.compatMode||"");return t?window.pageYOffset:r?document.documentElement.scrollTop:document.body.scrollTop},scrollHandler:function(e){(s.scrollSpyContainers[s.scrollSpyContainers.indexOf(e)].spyCallbacks||[]).forEach(function(t){return t(s.currentPositionX(e),s.currentPositionY(e))})},addStateHandler:function(e){s.spySetState.push(e)},addSpyHandler:function(e,t){var r=s.scrollSpyContainers[s.scrollSpyContainers.indexOf(t)];r.spyCallbacks||(r.spyCallbacks=[]),r.spyCallbacks.push(e),e(s.currentPositionX(t),s.currentPositionY(t))},updateStates:function(){s.spySetState.forEach(function(e){return e()})},unmount:function(e,t){s.scrollSpyContainers.forEach(function(e){return e.spyCallbacks&&e.spyCallbacks.length&&e.spyCallbacks.indexOf(t)>-1&&e.spyCallbacks.splice(e.spyCallbacks.indexOf(t),1)}),s.spySetState&&s.spySetState.length&&s.spySetState.indexOf(e)>-1&&s.spySetState.splice(s.spySetState.indexOf(e),1),document.removeEventListener("scroll",s.scrollHandler)},update:function(){return s.scrollSpyContainers.forEach(function(e){return s.scrollHandler(e)})}};t.default=s},2628:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=s(r(4259)),i=s(r(3200)),a=s(r(4592));function s(e){return e&&e.__esModule?e:{default:e}}var l={},u=void 0;t.default={unmount:function(){l={}},register:function(e,t){l[e]=t},unregister:function(e){delete l[e]},get:function(e){return l[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]},setActiveLink:function(e){return u=e},getActiveLink:function(){return u},scrollTo:function(e,t){var r=this.get(e);if(!r){console.warn("target Element not found");return}var s=(t=n({},t,{absolute:!1})).containerId,l=t.container,u=void 0;u=s?document.getElementById(s):l&&l.nodeType?l:document,t.absolute=!0;var c=t.horizontal,d=o.default.scrollOffset(u,r,c)+(t.offset||0);if(!t.smooth){a.default.registered.begin&&a.default.registered.begin(e,r),u===document?t.horizontal?window.scrollTo(d,0):window.scrollTo(0,d):u.scrollTop=d,a.default.registered.end&&a.default.registered.end(e,r);return}i.default.animateTopScroll(d,t,e,r)}}},9765:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={defaultEasing:function(e){return e<.5?Math.pow(2*e,2)/2:1-Math.pow((1-e)*2,2)/2},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:-1+(4-2*e)*e},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}}},4259:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){for(var r=e.offsetTop,n=e.offsetParent;n&&!t(n);)r+=n.offsetTop,n=n.offsetParent;return{offsetTop:r,offsetParent:n}};t.default={updateHash:function(e,t){var r=0===e.indexOf("#")?e.substring(1):e,n=r?"#"+r:"",o=window&&window.location,i=n?o.pathname+o.search+n:o.pathname+o.search;t?history.pushState(history.state,"",i):history.replaceState(history.state,"",i)},getHash:function(){return window.location.hash.replace(/^#/,"")},filterElementInContainer:function(e){return function(t){return e.contains?e!=t&&e.contains(t):!!(16&e.compareDocumentPosition(t))}},scrollOffset:function(e,t,n){if(n)return e===document?t.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):"static"!==getComputedStyle(e).position?t.offsetLeft:t.offsetLeft-e.offsetLeft;if(e===document)return t.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if("static"!==getComputedStyle(e).position){if(t.offsetParent!==e){var o=r(t,function(t){return t===e||t===document}),i=o.offsetTop;if(o.offsetParent!==e)throw Error("Seems containerElement is not an ancestor of the Element");return i}return t.offsetTop}if(t.offsetParent===e.offsetParent)return t.offsetTop-e.offsetTop;var a=function(e){return e===document};return r(t,a).offsetTop-r(e,a).offsetTop}}},7462:function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
309for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,{Z:function(){return n}})},4225:function(e,t,r){"use strict";r.d(t,{z:function(){return g}});var n=r(7294),[o,i]=(0,r(5227).k)({strict:!1,name:"ButtonGroupContext"}),a=r(9653),s=r(5432),l=r(5893);function u(e){let{children:t,className:r,...o}=e,i=(0,n.isValidElement)(t)?(0,n.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,u=(0,s.cx)("chakra-button__icon",r);return(0,l.jsx)(a.m.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...o,className:u,children:i})}u.displayName="ButtonIcon";var c=r(1136);function d(e){let{label:t,placement:r,spacing:o="0.5rem",children:i=(0,l.jsx)(c.$,{color:"currentColor",width:"1em",height:"1em"}),className:u,__css:d,...f}=e,h=(0,s.cx)("chakra-button__spinner",u),p="start"===r?"marginEnd":"marginStart",m=(0,n.useMemo)(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[p]:t?o:0,fontSize:"1em",lineHeight:"normal",...d}),[d,t,p,o]);return(0,l.jsx)(a.m.div,{className:h,...f,__css:m,children:i})}d.displayName="ButtonSpinner";var f=r(1103),h=r(6554),p=r(7603),m=r(3179),g=(0,h.G)((e,t)=>{let r=i(),o=(0,p.mq)("Button",{...r,...e}),{isDisabled:u=null==r?void 0:r.isDisabled,isLoading:c,isActive:h,children:g,leftIcon:b,rightIcon:y,loadingText:x,iconSpacing:w="0.5rem",type:k,spinner:S,spinnerPlacement:C="start",className:_,as:j,...P}=(0,m.Lr)(e),E=(0,n.useMemo)(()=>{let e={...null==o?void 0:o._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...o,...!!r&&{_focus:e}}},[o,r]),{ref:T,type:A}=function(e){let[t,r]=(0,n.useState)(!e);return{ref:(0,n.useCallback)(e=>{e&&r("BUTTON"===e.tagName)},[]),type:t?"button":void 0}}(j),R={rightIcon:y,leftIcon:b,iconSpacing:w,children:g};return(0,l.jsxs)(a.m.button,{ref:(0,f.qq)(t,T),as:j,type:null!=k?k:A,"data-active":(0,s.PB)(h),"data-loading":(0,s.PB)(c),__css:E,className:(0,s.cx)("chakra-button",_),...P,disabled:u||c,children:[c&&"start"===C&&(0,l.jsx)(d,{className:"chakra-button__spinner--start",label:x,placement:"start",spacing:w,children:S}),c?x||(0,l.jsx)(a.m.span,{opacity:0,children:(0,l.jsx)(v,{...R})}):(0,l.jsx)(v,{...R}),c&&"end"===C&&(0,l.jsx)(d,{className:"chakra-button__spinner--end",label:x,placement:"end",spacing:w,children:S})]})});function v(e){let{leftIcon:t,rightIcon:r,children:n,iconSpacing:o}=e;return(0,l.jsxs)(l.Fragment,{children:[t&&(0,l.jsx)(u,{marginEnd:o,children:t}),n,r&&(0,l.jsx)(u,{marginStart:o,children:r})]})}g.displayName="Button"},5161:function(e,t,r){"use strict";r.d(t,{If:function(){return i},kc:function(){return o}});var n=r(7294),o=(0,n.createContext)({});function i(){let e=(0,n.useContext)(o);if(void 0===e)throw Error("useColorMode must be used within a ColorModeProvider");return e}o.displayName="ColorModeContext"},2338:function(e,t,r){"use strict";r.d(t,{W:function(){return u}});var n=r(6554),o=r(3179),i=r(7603),a=r(9653),s=r(5432),l=r(5893),u=(0,n.G)(function(e,t){let{className:r,centerContent:n,...u}=(0,o.Lr)(e),c=(0,i.mq)("Container",e);return(0,l.jsx)(a.m.div,{ref:t,className:(0,s.cx)("chakra-container",r),...u,__css:{...c,...n&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});u.displayName="Container"},2757:function(e,t,r){"use strict";r.d(t,{X:function(){return u}});var n=r(6554),o=r(7603),i=r(3179),a=r(9653),s=r(5432),l=r(5893),u=(0,n.G)(function(e,t){let r=(0,o.mq)("Heading",e),{className:n,...u}=(0,i.Lr)(e);return(0,l.jsx)(a.m.h2,{ref:t,className:(0,s.cx)("chakra-heading",e.className),...u,__css:r})});u.displayName="Heading"},7747:function(e,t,r){"use strict";r.d(t,{xu:function(){return a}});var n=r(9653),o=r(6554),i=r(5893),a=(0,n.m)("div");a.displayName="Box";var s=(0,o.G)(function(e,t){let{size:r,centerContent:n=!0,...o}=e;return(0,i.jsx)(a,{ref:t,boxSize:r,__css:{...n?{display:"flex",alignItems:"center",justifyContent:"center"}:{},flexShrink:0,flexGrow:0},...o})});s.displayName="Square",(0,o.G)(function(e,t){let{size:r,...n}=e;return(0,i.jsx)(s,{size:r,ref:t,borderRadius:"9999px",...n})}).displayName="Circle"},5227:function(e,t,r){"use strict";r.d(t,{k:function(){return o}});var n=r(7294);function o(e={}){let{name:t,strict:r=!0,hookName:o="useContext",providerName:i="Provider",errorMessage:a,defaultValue:s}=e,l=(0,n.createContext)(s);return l.displayName=t,[l.Provider,function e(){var t;let s=(0,n.useContext)(l);if(!s&&r){let r=Error(null!=a?a:`${o} returned \`undefined\`. Seems you forgot to wrap component within ${i}`);throw r.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,r,e),r}return s},l]}},1103:function(e,t,r){"use strict";r.d(t,{lq:function(){return o},qq:function(){return i}});var n=r(7294);function o(...e){return t=>
309{e.forEach(e=>{!function(e,t){if(null!=e){if("function"==typeof e){e(t);return}try{e.current=t}catch(r){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}}(e,t)})}}function i(...e){return(0,n.useMemo)(()=>o(...e),e)}},5432:function(e,t,r){"use strict";r.d(t,{Kn:function(){return o},PB:function(){return s},Pu:function(){return i},cx:function(){return n},v0:function(){return l}});var n=(...e)=>e.filter(Boolean).join(" ");function o(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function i(e,...t){return a(e)?e(...t):e}var a=e=>"function"==typeof e,s=e=>e?"":void 0;function l(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}},1136:function(e,t,r){"use strict";r.d(t,{$:function(){return d}});var n=r(917),o=r(6554),i=r(7603),a=r(3179),s=r(9653),l=r(5432),u=r(5893),c=(0,n.F4)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),d=(0,o.G)((e,t)=>{let r=(0,i.mq)("Spinner",e),{label:n="Loading...",thickness:o="2px",speed:d="0.45s",emptyColor:f="transparent",className:h,...p}=(0,a.Lr)(e),m=(0,l.cx)("chakra-spinner",h),g={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:f,borderLeftColor:f,animation:`${c} ${d} linear infinite`,...r};return(0,u.jsx)(s.m.div,{ref:t,__css:g,className:m,...p,children:n&&(0,u.jsx)(s.m.span,{srOnly:!0,children:n})})});d.displayName="Spinner"},3179:function(e,t,r){"use strict";r.d(t,{D:function(){return eF},Lr:function(){return eI},Ud:function(){return eD},ZR:function(){return eA},_6:function(){return er},c0:function(){return ej},cC:function(){return eE},fj:function(){return e$},gJ:function(){return et},iv:function(){return ez},k0:function(){return eB}});var n=r(5432),o=r(8554),i=e=>/!(important)?$/.test(e),a=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e,s=(e,t)=>r=>{let o=String(t),s=i(o),l=a(o),u=e?`${e}.${l}`:l,c=(0,n.Kn)(r.__cssMap)&&u in r.__cssMap?r.__cssMap[u].varRef:t;return c=a(c),s?`${c} !important`:c};function l(e){let{scale:t,transform:r,compose:n}=e;return(e,o)=>{var i;let a=s(t,e)(o),l=null!=(i=null==r?void 0:r(a,o))?i:a;return n&&(l=n(l,o)),l}}var u=(...e)=>t=>e.reduce((e,t)=>t(e),t);function c(e,t){return r=>{let n={property:r,scale:e};return n.transform=l({scale:e,transform:t}),n}}var d=({rtl:e,ltr:t})=>r=>"rtl"===r.direction?e:t,f=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"],h={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:"var(--chakra-blur) var(--chakra-brightness) var(--chakra-contrast) var(--chakra-grayscale) var(--chakra-hue-rotate) var(--chakra-invert) var(--chakra-saturate) var(--chakra-sepia) var(--chakra-drop-shadow)"},p={backdropFilter:"var(--chakra-backdrop-blur) var(--chakra-backdrop-brightness) var(--chakra-backdrop-contrast) var(--chakra-backdrop-grayscale) var(--chakra-backdrop-hue-rotate) var(--chakra-backdrop-invert) var(--chakra-backdrop-opacity) var(--chakra-backdrop-saturate) var(--chakra-backdrop-sepia)","--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"}
309,m={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},g={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},v=new Set(Object.values(g)),b=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),y=e=>e.trim(),x=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),w=e=>{let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}},k=e=>t=>`${e}(${t})`,S={filter:e=>"auto"!==e?e:h,backdropFilter:e=>"auto"!==e?e:p,ring:e=>({"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":S.px(e),boxShadow:"var(--chakra-ring-offset-shadow), var(--chakra-ring-shadow), var(--chakra-shadow, 0 0 #0000)"}),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...f].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...f].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;let{unitless:t}=w(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:`${100*e}%`,float:(e,t)=>"rtl"===t.direction?({left:"right",right:"left"})[e]:e,degree(e){if(/^var\(--.+\)$/.test(e)||null==e)return e;let t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>(function(e,t){if(null==e||b.has(e))return e;if(!(x(e)||b.has(e)))return`url('${e}')`;let r=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),n=null==r?void 0:r[1],o=null==r?void 0:r[2];if(!n||!o)return e;let i=n.includes("-gradient")?n:`${n}-gradient`,[a,...s]=o.split(",").map(y).filter(Boolean);if((null==s?void 0:s.length)===0)return e;let l=a in g?g[a]:a;s.unshift(l);let u=s.map(e=>{if(v.has(e))return e;let r=e.indexOf(" "),[n,o]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],i=x(o)?o:o&&o.split(" "),a=`colors.${n}`,s=a in t.__cssMap?t.__cssMap[a].varRef:n;return i?[s,...Array.isArray(i)?i:[i]].join(" "):s});return`${i}(${u.join(", ")})`})(e,null!=t?t:{}),blur:k("blur"),opacity:k("opacity"),brightness:k("brightness"),contrast:k("contrast"),dropShadow:k("drop-shadow"),grayscale:k("grayscale"),hueRotate:e=>k("hue-rotate")(S.degree(e)),invert:k("invert"),saturate:k("saturate"),sepia:k("sepia"),bgImage:e=>null==e?e:x(e)||b.has(e)?e:`url(${e})`,outline(e){let t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;let{space:r,divide:n}=null!=(t=m[e])?t:{},o={flexDirection:e};return r&&(o[r]=1),n&&(o[n]=1),o}},C={borderWidths:c("borderWidths"),borderStyles:c("borderStyles"),colors:c("colors"),borders:c("borders"),gradients:c("gradients",S.gradient),radii:c("radii",S.px),space:c("space",u(S.vh,S.px)),spaceT:c("space",u(S.vh,S.px)),degreeT:e=>({property:e,transform:S.degree}),prop:(e,t,r)=>({property:e,scale:t,...t&&{transform:l({scale:t,transform:r})}}),propT:(e,t)=>({property:e,transform:t}),sizes:c("sizes",u(S.vh,S.px)),sizesT:c("sizes",u(S.vh,S.fraction)),shadows:c("shadows"),logical:function(e){let{property:t,scale:r,transform:n}=e;return{scale:r,property:d(t),transform:r?l({scale:r,compose:n}):n}},blur:c("blur",S.blur)},_={background:C.colors("background"),backgroundColor:C.colors("backgroundColor"),backgroundImage:C.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:S.bgClip},bgSize:C.prop("backgroundSize"),bgPosition:C.prop("backgroundPosition"),bg:C.colors("background"),bgColor:C.colors("backgroundColor"),bgPos:C.prop("backgroundPosition"),bgRepeat:C.prop("backgroundRepeat"),bgAttachment:C.prop("backgroundAttachment"),bgGradient:C.gradients("backgroundImage"),bgClip:{transform:S.bgClip}};Object.assign(_,{bgImage:_.backgroundImage,bgImg:_.backgroundImage});var j={border:C.borders("border"),borderWidth:C.borderWidths("borderWidth"),borderStyle:C.borderStyles("borderStyle"),borderColor:C.colors("borderColor"),borderRadius:C.radii("borderRadius"),borderTop:C.borders("borderTop"),borderBlockStart:C.borders("borderBlockStart"),borderTopLeftRadius:C.radii("borderTopLeftRadius"),borderStartStartRadius:C.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:C.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:C.radii("borderTopRightRadius"),borderStartEndRadius:C.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:C.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:C.borders("borderRight"),borderInlineEnd:C.borders("borderInlineEnd"),borderBottom:C.borders("borderBottom"),borderBlockEnd:C.borders("borderBlockEnd"),borderBottomLeftRadius:C.radii("borderBottomLeftRadius"),borderBottomRightRadius:C.radii("borderBottomRightRadius"),borderLeft:C.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:C.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:C.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:C.borders(["borderLeft","borderRight"]),borderInline:C.borders("borderInline"),borderY:C.borders(["borderTop","borderBottom"]),borderBlock:C.borders("borderBlock"),borderTopWidth:C.borderWidths("borderTopWidth"),borderBlockStartWidth:C.borderWidths("borderBlockStartWidth"),borderTopColor:C.colors("borderTopColor"),borderBlockStartColor:C.colors("borderBlockStartColor"),borderTopStyle:C.borderStyles("borderTopStyle"),borderBlockStartStyle:C.borderStyles("borderBlockStartStyle"),borderBottomWidth:C.borderWidths("borderBottomWidth"),borderBlockEndWidth:C.borderWidths("borderBlockEndWidth"),borderBottomColor:C.colors("borderBottomColor"),borderBlockEndColor:C.colors("borderBlockEndColor"),borderBottomStyle:C.borderStyles("borderBottomStyle"),borderBlockEndStyle:C.borderStyles("borderBlockEndStyle"),borderLeftWidth:C.borderWidths("borderLeftWidth"),borderInlineStartWidth:C.borderWidths("borderInlineStartWidth"),borderLeftColor:C.colors("borderLeftColor"),borderInlineStartColor:C.colors("borderInlineStartColor"),borderLeftStyle:C.borderStyles("borderLeftStyle"),borderInlineStartStyle:C.borderStyles("borderInlineStartStyle"),borderRightWidth:C.borderWidths("borderRightWidth"),borderInlineEndWidth:C.borderWidths("borderInlineEndWidth"),borderRightColor:C.colors("borderRightColor"),borderInlineEndColor:C.colors("borderInlineEndColor"),borderRightStyle:C.borderStyles("borderRightStyle"),borderInlineEndStyle:C.borderStyles("borderInlineEndStyle"),borderTopRadius:C.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:C.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:C.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:C.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(j,{rounded:j.borderRadius,roundedTop:j.borderTopRadius,roundedTopLeft:j.borderTopLeftRadius,roundedTopRight:j.borderTopRightRadius,roundedTopStart:j.borderStartStartRadius,roundedTopEnd:j.borderStartEndRadius,roundedBottom:j.borderBottomRadius,roundedBottomLeft:j.borderBottomLeftRadius,roundedBottomRight:j.borderBottomRightRadius,roundedBottomStart:j.borderEndStartRadius,roundedBottomEnd:j.borderEndEndRadius,roundedLeft:j.borderLeftRadius,roundedRight:j.borderRightRadius,roundedStart:j.borderInlineStartRadius,roundedEnd:j.borderInlineEndRadius,borderStart:j.borderInlineStart,borderEnd:j.borderInlineEnd,borderTopStartRadius:j.borderStartStartRadius,borderTopEndRadius:j.borderStartEndRadius,borderBottomStartRadius:j.borderEndStartRadius,borderBottomEndRadius:j.borderEndEndRadius,borderStartRadius:j.borderInlineStartRadius,borderEndRadius:j.borderInlineEndRadius,borderStartWidth:j.borderInlineStartWidth,borderEndWidth:j.borderInlineEndWidth,borderStartColor:j.borderInlineStartColor,borderEndColor:j.borderInlineEndColor,borderStartStyle:j.borderInlineStartStyle,borderEndStyle:j.borderInlineEndStyle});var P={color:C.colors("color"),textColor:C.colors("color"),fill:C.colors("fill"),stroke:C.colors("stroke")}
309,E={boxShadow:C.shadows("boxShadow"),mixBlendMode:!0,blendMode:C.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:C.prop("backgroundBlendMode"),opacity:!0};Object.assign(E,{shadow:E.boxShadow});var T={filter:{transform:S.filter},blur:C.blur("--chakra-blur"),brightness:C.propT("--chakra-brightness",S.brightness),contrast:C.propT("--chakra-contrast",S.contrast),hueRotate:C.propT("--chakra-hue-rotate",S.hueRotate),invert:C.propT("--chakra-invert",S.invert),saturate:C.propT("--chakra-saturate",S.saturate),dropShadow:C.propT("--chakra-drop-shadow",S.dropShadow),backdropFilter:{transform:S.backdropFilter},backdropBlur:C.blur("--chakra-backdrop-blur"),backdropBrightness:C.propT("--chakra-backdrop-brightness",S.brightness),backdropContrast:C.propT("--chakra-backdrop-contrast",S.contrast),backdropHueRotate:C.propT("--chakra-backdrop-hue-rotate",S.hueRotate),backdropInvert:C.propT("--chakra-backdrop-invert",S.invert),backdropSaturate:C.propT("--chakra-backdrop-saturate",S.saturate)},A={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:S.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:C.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:C.space("gap"),rowGap:C.space("rowGap"),columnGap:C.space("columnGap")};Object.assign(A,{flexDir:A.flexDirection});var R={gridGap:C.space("gridGap"),gridColumnGap:C.space("gridColumnGap"),gridRowGap:C.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},M={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:S.outline},outlineOffset:!0,outlineColor:C.colors("outlineColor")},O={width:C.sizesT("width"),inlineSize:C.sizesT("inlineSize"),height:C.sizes("height"),blockSize:C.sizes("blockSize"),boxSize:C.sizes(["width","height"]),minWidth:C.sizes("minWidth"),minInlineSize:C.sizes("minInlineSize"),minHeight:C.sizes("minHeight"),minBlockSize:C.sizes("minBlockSize"),maxWidth:C.sizes("maxWidth"),maxInlineSize:C.sizes("maxInlineSize"),maxHeight:C.sizes("maxHeight"),maxBlockSize:C.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;let i=null!=(o=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n.minW)?o:e;return{[`@media screen and (min-width: ${i})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;let i=null!=(o=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n._minW)?o:e;return{[`@media screen and (max-width: ${i})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:C.propT("float",S.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(O,{w:O.width,h:O.height,minW:O.minWidth,maxW:O.maxWidth,minH:O.minHeight,maxH:O.maxHeight,overscroll:O.overscrollBehavior,overscrollX:O.overscrollBehaviorX,overscrollY:O.overscrollBehaviorY});var z={listStyleType:!0,listStylePosition:!0,listStylePos:C.prop("listStylePosition"),listStyleImage:!0,listStyleImg:C.prop("listStyleImage")},B=(e=>{let t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);let a=t.get(r);if(a.has(n))return a.get(n);let s=e(r,n,o,i);return a.set(n,s),s}})(function(e,t,r,n){let o="string"==typeof t?t.split("."):[t];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?r:e}),$={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},F={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},D=(e,t,r)=>{let n={},o=B(e,t,{});for(let e in o)e in r&&null!=r[e]||(n[e]=o[e]);return n},I={position:!0,pos:C.prop("position"),zIndex:C.prop("zIndex","zIndices"),inset:C.spaceT("inset"),insetX:C.spaceT(["left","right"]),insetInline:C.spaceT("insetInline"),insetY:C.spaceT(["top","bottom"]),insetBlock:C.spaceT("insetBlock"),top:C.spaceT("top"),insetBlockStart:C.spaceT("insetBlockStart"),bottom:C.spaceT("bottom"),insetBlockEnd:C.spaceT("insetBlockEnd"),left:C.spaceT("left"),insetInlineStart:C.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:C.spaceT("right"),insetInlineEnd:C.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(I,{insetStart:I.insetInlineStart,insetEnd:I.insetInlineEnd});var L={ring:{transform:S.ring},ringColor:C.colors("--chakra-ring-color"),ringOffset:C.prop("--chakra-ring-offset-width"),ringOffsetColor:C.colors("--chakra-ring-offset-color"),ringInset:C.prop("--chakra-ring-inset")},N={margin:C.spaceT("margin"),marginTop:C.spaceT("marginTop"),marginBlockStart:C.spaceT("marginBlockStart"),marginRight:C.spaceT("marginRight"),marginInlineEnd:C.spaceT("marginInlineEnd"),marginBottom:C.spaceT("marginBottom"),marginBlockEnd:C.spaceT("marginBlockEnd"),marginLeft:C.spaceT("marginLeft"),marginInlineStart:C.spaceT("marginInlineStart"),marginX:C.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:C.spaceT("marginInline"),marginY:C.spaceT(["marginTop","marginBottom"]),marginBlock:C.spaceT("marginBlock"),padding:C.space("padding"),paddingTop:C.space("paddingTop"),paddingBlockStart:C.space("paddingBlockStart"),paddingRight:C.space("paddingRight"),paddingBottom:C.space("paddingBottom"),paddingBlockEnd:C.space("paddingBlockEnd"),paddingLeft:C.space("paddingLeft"),paddingInlineStart:C.space("paddingInlineStart"),paddingInlineEnd:C.space("paddingInlineEnd"),paddingX:C.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:C.space("paddingInline"),paddingY:C.space(["paddingTop","paddingBottom"]),paddingBlock:C.space("paddingBlock")};Object.assign(N,{m:N.margin,mt:N.marginTop,mr:N.marginRight,me:N.marginInlineEnd,marginEnd:N.marginInlineEnd,mb:N.marginBottom,ml:N.marginLeft,ms:N.marginInlineStart,marginStart:N.marginInlineStart,mx:N.marginX,my:N.marginY,p:N.padding,pt:N.paddingTop,py:N.paddingY,px:N.paddingX,pb:N.paddingBottom,pl:N.paddingLeft,ps:N.paddingInlineStart,paddingStart:N.paddingInlineStart,pr:N.paddingRight,pe:N.paddingInlineEnd,paddingEnd:N.paddingInlineEnd});var V={textDecorationColor:C.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:C.shadows("textShadow")},W={clipPath:!0,transform:C.propT("transform",S.transform),transformOrigin:!0,translateX:C.spaceT("--chakra-translate-x"),translateY:C.spaceT("--chakra-translate-y"),skewX:C.degreeT("--chakra-skew-x"),skewY:C.degreeT("--chakra-skew-y"),scaleX:C.prop("--chakra-scale-x"),scaleY:C.prop("--chakra-scale-y"),scale:C.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:C.degreeT("--chakra-rotate")},H={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:C.prop("transitionDuration","transition.duration"),transitionProperty:C.prop("transitionProperty","transition.property"),transitionTimingFunction:C.prop("transitionTimingFunction","transition.easing")},U={fontFamily:C.prop("fontFamily","fonts"),fontSize:C.prop("fontSize","fontSizes",S.px),fontWeight:C.prop("fontWeight","fontWeights"),lineHeight:C.prop("lineHeight","lineHeights"),letterSpacing:C.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"}
309,property:"--chakra-line-clamp"}},q={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:C.spaceT("scrollMargin"),scrollMarginTop:C.spaceT("scrollMarginTop"),scrollMarginBottom:C.spaceT("scrollMarginBottom"),scrollMarginLeft:C.spaceT("scrollMarginLeft"),scrollMarginRight:C.spaceT("scrollMarginRight"),scrollMarginX:C.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:C.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:C.spaceT("scrollPadding"),scrollPaddingTop:C.spaceT("scrollPaddingTop"),scrollPaddingBottom:C.spaceT("scrollPaddingBottom"),scrollPaddingLeft:C.spaceT("scrollPaddingLeft"),scrollPaddingRight:C.spaceT("scrollPaddingRight"),scrollPaddingX:C.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:C.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function G(e){return(0,n.Kn)(e)&&e.reference?e.reference:String(e)}var Z=(e,...t)=>t.map(G).join(` ${e} `).replace(/calc/g,""),Y=(...e)=>`calc(${Z("+",...e)})`,X=(...e)=>`calc(${Z("-",...e)})`,K=(...e)=>`calc(${Z("*",...e)})`,J=(...e)=>`calc(${Z("/",...e)})`,Q=e=>{let t=G(e);return null==t||Number.isNaN(parseFloat(t))?K(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},ee=Object.assign(e=>({add:(...t)=>ee(Y(e,...t)),subtract:(...t)=>ee(X(e,...t)),multiply:(...t)=>ee(K(e,...t)),divide:(...t)=>ee(J(e,...t)),negate:()=>ee(Q(e)),toString:()=>e.toString()}),{add:Y,subtract:X,multiply:K,divide:J,negate:Q});function et(e,t,r){let n=function(e,t=""){var r;return((r=function(e,t="-"){return e.replace(/\s+/g,t)}(`--${(function(e,t=""){return[t,e].filter(Boolean).join("-")})(e,t)}`.toString())).includes("\\.")?r:Number.isInteger(parseFloat(r.toString()))?r:r.replace(".","\\.")).replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(e,r);return{variable:n,reference:`var(${n}${t?`, ${t}`:""})`}}function er(e,t){let r={};for(let n of t){if(Array.isArray(n)){let[t,o]=n;r[t]=et(`${e}-${t}`,o);continue}r[n]=et(`${e}-${n}`)}return r}function en(e){if(null==e)return e;let{unitless:t}=function(e){let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t||"number"==typeof e?`${e}px`:e}var eo=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,ei=e=>Object.fromEntries(Object.entries(e).sort(eo));function ea(e){let t=ei(e);return Object.assign(Object.values(t),t)}function es(e){var t;return e?"number"==typeof(e=null!=(t=en(e))?t:e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,e=>`${parseFloat(e)+-.02}`):e}function el(e,t){let r=["@media screen"];return e&&r.push("and",`(min-width: ${en(e)})`),t&&r.push("and",`(max-width: ${en(t)})`),r.join(" ")}var eu=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,ec=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,ed=(e,t)=>`${e}:focus-visible ${t}`,ef=(e,t)=>`${e}:focus-within ${t}`,eh=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,ep=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,em=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,eg=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,ev=e=>ey(t=>e(t,"&"),"[role=group]","[data-group]",".group"),eb=e=>ey(t=>e(t,"~ &"),"[data-peer]",".peer"),ey=(e,...t)=>t.map(e).join(", "),ex={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:ev(eu),_peerHover:eb(eu),_groupFocus:ev(ec),_peerFocus:eb(ec),_groupFocusVisible:ev(ed),_peerFocusVisible:eb(ed),_groupActive:ev(eh),_peerActive:eb(eh),_groupDisabled:ev(ep),_peerDisabled:eb(ep),_groupInvalid:ev(em),_peerInvalid:eb(em),_groupChecked:ev(eg),_peerChecked:eb(eg),_groupFocusWithin:ev(ef),_peerFocusWithin:eb(ef),_peerPlaceholderShown:eb((e,t)=>
309`${e}:placeholder-shown ${t}`),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},ew=Object.keys(ex);function ek(e,t){return et(String(e).replace(/\./g,"-"),void 0,t)}function eS(e,t,r={}){let{stop:n,getKey:o}=r;return function e(r,i=[]){var a;if("object"==typeof r&&null!=r&&!Array.isArray(r)||Array.isArray(r)){let s={};for(let[l,u]of Object.entries(r)){let c=null!=(a=null==o?void 0:o(l))?a:l,d=[...i,c];if(null==n?void 0:n(r,d))return t(r,i);s[c]=e(u,d)}return s}return t(r,i)}(e)}var eC=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"],e_=e=>ew.includes(e)||"default"===e;function ej(e){var t;let r=function(e){let{__cssMap:t,__cssVars:r,__breakpoints:n,...o}=e;return o}(e),{cssMap:i,cssVars:a}=function(e,t){let r={},i={};for(let[a,s]of Object.entries(e)){let{isSemantic:l,value:u}=s,{variable:c,reference:d}=ek(a,null==t?void 0:t.cssVarPrefix);if(!l){if(a.startsWith("space")){let[e,...t]=a.split("."),r=`${e}.-${t.join(".")}`,n=ee.negate(u),o=ee.negate(d);i[r]={value:n,var:c,varRef:o}}r[c]=u,i[a]={value:u,var:c,varRef:d};continue}let f=r=>{let n=[String(a).split(".")[0],r].join(".");if(!e[n])return r;let{reference:o}=ek(n,null==t?void 0:t.cssVarPrefix);return o};r=o(r,Object.entries((0,n.Kn)(u)?u:{default:u}).reduce((e,[t,r])=>{var n;if(!r)return e;let o=f(`${r}`);return"default"===t?e[c]=o:e[null!=(n=null==ex?void 0:ex[t])?n:t]={[c]:o},e},{})),i[a]={value:d,var:c,varRef:d}}return{cssVars:r,cssMap:i}}(function({tokens:e,semanticTokens:t}){let r={};return eS(e,(e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!1,value:e})}),eS(t,(e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!0,value:e})},{stop:e=>Object.keys(e).every(e_)}),r}({tokens:function(e,t){let r={};for(let n of t)n in e&&(r[n]=e[n]);return r}(r,eC),semanticTokens:r.semanticTokens}),{cssVarPrefix:null==(t=r.config)?void 0:t.cssVarPrefix});return Object.assign(r,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...a},__cssMap:i,__breakpoints:function(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";let r=ea(e),o=Object.entries(e).sort(eo).map(([e,t],r,n)=>{var o;let[,i]=null!=(o=n[r+1])?o:[];return i=parseFloat(i)>0?es(i):void 0,{_minW:es(t),breakpoint:e,minW:t,maxW:i,maxWQuery:el(null,i),minWQuery:el(t),minMaxQuery:el(t,i)}}),i=new Set(Object.keys(ei(e))),a=Array.from(i.values());return{keys:i,normalized:r,isResponsive(e){let t=Object.keys(e);return t.length>0&&t.every(e=>i.has(e))},asObject:ei(e),asArray:ea(e),details:o,get:e=>o.find(t=>t.breakpoint===e),media:[null,...r.map(e=>el(e)).slice(1)],toArrayValue(e){if(!(0,n.Kn)(e))throw Error("toArrayValue: value must be an object");let t=a.map(t=>{var r;return null!=(r=e[t])?r:null});for(;null===function(e){let t=null==e?0:e.length;return t?e[t-1]:void 0}(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw Error("toObjectValue: value must be an array");return e.reduce((e,t,r)=>{let n=a[r];return null!=n&&null!=t&&(e[n]=t),e},{})}}}(r.breakpoints)}),r}var eP=o({},_,j,P,A,O,T,L,M,R,{srOnly:{transform:e=>!0===e?$:"focusable"===e?F:{}},layerStyle:{processResult:!0,transform:(e,t,r)=>D(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>D(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>D(t,e,r)}},I,E,N,q,U,V,W,z,H);Object.keys(Object.assign({},N,O,A,R,I));var eE=[...Object.keys(eP),...ew],eT={...eP,...ex},eA=e=>e in eT,eR=e=>t=>{if(!t.__breakpoints)return e;let{isResponsive:r,toArrayValue:o,media:i}=t.__breakpoints,a={};for(let s in e){let l=(0,n.Pu)(e[s],t);
309if(null==l)continue;if(!Array.isArray(l=(0,n.Kn)(l)&&r(l)?o(l):l)){a[s]=l;continue}let u=l.slice(0,i.length).length;for(let e=0;e<u;e+=1){let t=null==i?void 0:i[e];if(!t){a[s]=l[e];continue}a[t]=a[t]||{},null!=l[e]&&(a[t][s]=l[e])}}return a},eM=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!/^var\(--.+\)$/.test(t),eO=(e,t)=>{var r,n;if(null==t)return t;let o=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.varRef},i=e=>{var t;return null!=(t=o(e))?t:e},[a,s]=function(e){let t=[],r="",n=!1;for(let o=0;o<e.length;o++){let i=e[o];"("===i?(n=!0,r+=i):")"===i?(n=!1,r+=i):","!==i||n?r+=i:(t.push(r),r="")}return(r=r.trim())&&t.push(r),t}(t);return t=null!=(n=null!=(r=o(a))?r:i(s))?n:i(t)},ez=e=>t=>(function(e){let{configs:t={},pseudos:r={},theme:i}=e,a=(e,s=!1)=>{var l,u,c;let d=(0,n.Pu)(e,i),f=eR(d)(i),h={};for(let e in f){let p=f[e],m=(0,n.Pu)(p,i);e in r&&(e=r[e]),eM(e,m)&&(m=eO(i,m));let g=t[e];if(!0===g&&(g={property:e}),(0,n.Kn)(m)){h[e]=null!=(l=h[e])?l:{},h[e]=o({},h[e],a(m,!0));continue}let v=null!=(c=null==(u=null==g?void 0:g.transform)?void 0:u.call(g,m,i,d))?c:m;v=(null==g?void 0:g.processResult)?a(v,!0):v;let b=(0,n.Pu)(null==g?void 0:g.property,i);if(!s&&(null==g?void 0:g.static)&&(h=o({},h,(0,n.Pu)(g.static,i))),b&&Array.isArray(b)){for(let e of b)h[e]=v;continue}if(b){"&"===b&&(0,n.Kn)(v)?h=o({},h,v):h[b]=v;continue}if((0,n.Kn)(v)){h=o({},h,v);continue}h[e]=v}return h};return a})({theme:t,pseudos:ex,configs:eP})(e);function eB(e){return e}function e$(e){return e}function eF(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function eD(e){return t=>{var r;let{variant:i,size:a,theme:s}=t,l=function(e){let t=e.__breakpoints;return function(e,r,i,a){var s,l,u;if(!t)return;let c={},d=(u=t.toArrayValue,Array.isArray(i)?i:(0,n.Kn)(i)?u(i):null!=i?[i]:void 0);if(!d)return c;let f=d.length,h=1===f,p=!!e.parts;for(let i=0;i<f;i++){let u=t.details[i],f=t.details[function(e,t){for(let r=t+1;r<e.length;r++)if(null!=e[r])return r;return -1}(d,i)],m=el(u.minW,null==f?void 0:f._minW),g=(0,n.Pu)(null==(s=e[r])?void 0:s[d[i]],a);if(g){if(p){null==(l=e.parts)||l.forEach(e=>{o(c,{[e]:h?g[e]:{[m]:g[e]}})});continue}if(!p){h?o(c,g):c[m]=g;continue}c[m]=g}}return c}}(s);return o({},(0,n.Pu)(null!=(r=e.baseStyle)?r:{},t),l(e,"sizes",a,t),l(e,"variants",i,t))}}function eI(e){return function(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}(e,["styleConfig","size","variant","colorScheme"])}},7603:function(e,t,r){"use strict";r.d(t,{jC:function(){return f},mq:function(){return d}});var n=r(8940),o=r(5161),i=r(3179),a=r(1759),s=r(8554),l=r(7294),u=r(9590);function c(e,t={}){var r;let{styleConfig:c,...d}=t,{theme:f,colorMode:h}=function(){let e=(0,o.If)(),t=(0,n.F)();return{...e,theme:t}}
309(),p=e?(0,a.Wf)(f,`components.${e}`):void 0,m=c||p,g=s({theme:f,colorMode:h},null!=(r=null==m?void 0:m.defaultProps)?r:{},(0,a.YU)((0,a.CE)(d,["children"]))),v=(0,l.useRef)({});if(m){let e=(0,i.Ud)(m)(g);u(v.current,e)||(v.current=e)}return v.current}function d(e,t={}){return c(e,t)}function f(e,t={}){return c(e,t)}},9777:function(e,t,r){"use strict";r.d(t,{x:function(){return i}});var n=new Set([...r(3179).cC,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),o=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function i(e){return o.has(e)||!n.has(e)}},8940:function(e,t,r){"use strict";r.d(t,{F:function(){return i}});var n=r(6330),o=r(7294);function i(){let e=(0,o.useContext)(n.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}},9653:function(e,t,r){"use strict";r.d(t,{m:function(){return p}});var n,o=r(9777),i=r(5161),a=r(3179),s=r(1759),l=r(6597),u=r(2227),c=r(7294),d=null!=(n=u.Z.default)?n:u.Z,f=({baseStyle:e})=>t=>{let{theme:r,css:n,__css:o,sx:i,...u}=t,c=(0,s.lw)(u,(e,t)=>(0,a.ZR)(t)),d=function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");let r={...e};for(let e of t)if(null!=e)for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(t in r&&delete r[t],r[t]=e[t]);return r}({},o,(0,l.Pu)(e,t),(0,s.YU)(c),i),f=(0,a.iv)(d)(t.theme);return n?[f,n]:f};function h(e,t){let{baseStyle:r,...n}=null!=t?t:{};n.shouldForwardProp||(n.shouldForwardProp=o.x);let a=f({baseStyle:r}),s=d(e,n)(a);return c.forwardRef(function(e,t){let{colorMode:r,forced:n}=(0,i.If)();return c.createElement(s,{ref:t,"data-theme":n?r:void 0,...e})})}var p=function(){let e=new Map;return new Proxy(h,{apply:(e,t,r)=>h(...r),get:(t,r)=>(e.has(r)||e.set(r,h(r)),e.get(r))})}()},6554:function(e,t,r){"use strict";r.d(t,{G:function(){return o}});var n=r(7294);function o(e){return(0,n.forwardRef)(e)}},6597:function(e,t,r){"use strict";function n(e,...t){return"function"==typeof e?e(...t):e}function o(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}r.d(t,{v0:function(){return o},Pu:function(){return n}})},1759:function(e,t,r){"use strict";function n(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}r.d(t,{CE:function(){return n},Wf:function(){return o},YU:function(){return a},lw:function(){return i}}),r(8554);var o=(e=>{let t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);let a=t.get(r);if(a.has(n))return a.get(n);let s=e(r,n,o,i);return a.set(n,s),s}})(function(e,t,r,n){let o="string"==typeof t?t.split("."):[t];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?r:e});function i(e,t){let r={};return Object.keys(e).forEach(n=>{let o=e[n];t(o,n,e)&&(r[n]=o)}),r}var a=e=>i(e,e=>null!=e)},2729:function(e,t,r){"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:function(){return n}})},5947:function(e,t,r){"use strict";r.d(t,{hO:function(){return a},oO:function(){return i}});var n=r(7294),o=r(240);function i(){let e=(0,n.useContext)(o.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:r,register:i}=e,a=(0,n.useId)();return(0,n.useEffect)(()=>i(a),[]),!t&&r?[!1,()=>r&&r(a)]:[!0]}function a(){var e;return null===(e=(0,n.useContext)(o.O))||e.isPresent}},5364:function(e,t,r){"use strict";r.d(t,{p:function(){return n}});let n=(0,r(7294).createContext)({})},6014:function(e,t,r){"use strict";r.d(t,{_:function(){return n}});let n=(0,r(7294).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},240:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});let n=(0,r(7294).createContext)(null)},9727:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(2081);class o{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}let i=["read","resolveKeyframes","update","preRender","render","postRender"];function a(e,t){let r=!1,a=!0,s={delta:0,timestamp:0,isProcessing:!1},l=i.reduce((e,t)=>
309(e[t]=function(e){let t=new o,r=new o,n=0,i=!1,a=!1,s=new WeakSet,l={schedule:(e,o=!1,a=!1)=>{let l=a&&i,u=l?t:r;return o&&s.add(e),u.add(e)&&l&&i&&(n=t.order.length),e},cancel:e=>{r.remove(e),s.delete(e)},process:o=>{if(i){a=!0;return}if(i=!0,[t,r]=[r,t],r.clear(),n=t.order.length)for(let r=0;r<n;r++){let n=t.order[r];s.has(n)&&(l.schedule(n),e()),n(o)}i=!1,a&&(a=!1,l.process(o))}};return l}(()=>r=!0),e),{}),u=e=>{l[e].process(s)},c=()=>{let o=n.c.useManualTiming?s.timestamp:performance.now();r=!1,s.delta=a?1e3/60:Math.max(Math.min(o-s.timestamp,40),1),s.timestamp=o,s.isProcessing=!0,i.forEach(u),s.isProcessing=!1,r&&t&&(a=!1,e(c))},d=()=>{r=!0,a=!0,s.isProcessing||e(c)};return{schedule:i.reduce((e,t)=>{let n=l[t];return e[t]=(e,t=!1,o=!1)=>(r||d(),n.schedule(e,t,o)),e},{}),cancel:e=>i.forEach(t=>l[t].cancel(e)),state:s,steps:l}}},6166:function(e,t,r){"use strict";r.d(t,{Pn:function(){return i},S6:function(){return s},Wi:function(){return o},frameData:function(){return a}});var n=r(1662);let{schedule:o,cancel:i,state:a,steps:s}=(0,r(9727).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},7672:function(e,t,r){"use strict";let n,o;r.d(t,{E:function(){return o3}});var i,a,s=r(5893),l=r(7294),u=r(6014);let c=(0,l.createContext)({});var d=r(240),f=r(8868);let h=(0,l.createContext)({strict:!1}),p=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),m="data-"+p("framerAppearId"),{schedule:g,cancel:v}=(0,r(9727).Z)(queueMicrotask,!1);function b(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function y(e){return"string"==typeof e||Array.isArray(e)}function x(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}let w=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],k=["initial",...w];function S(e){return x(e.animate)||k.some(t=>y(e[t]))}function C(e){return!!(S(e)||e.variants)}function _(e){return Array.isArray(e)?e.join(" "):e}let j={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"]},P={};for(let e in j)P[e]={isEnabled:t=>j[e].some(e=>!!t[e])};var E=r(1741),T=r(5364);let A=(0,l.createContext)({}),R=Symbol.for("motionComponentSymbol"),M=["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 O(e){if("string"!=typeof e||e.includes("-"));else if(M.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let z={},B=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],$=new Set(B);function F(e,{layout:t,layoutId:r}){return $.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!z[e]||"opacity"===e)}let D=e=>!!(e&&e.getVelocity),I={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},L=B.length,N=e=>t=>"string"==typeof t&&t.startsWith(e),V=N("--"),W=N("var(--"),H=e=>!!W(e)&&U.test(e.split("/*")[0].trim()),U=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,q=(e,t)=>t&&"number"==typeof e?t.transform(e):e,G=(e,t,r)=>r>t?t:r<e?e:r,Z={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Y={...Z,transform:e=>G(0,1,e)},X={...Z,default:1},K=e=>Math.round(1e5*e)/1e5,J=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Q=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,ee=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function et(e){return"string"==typeof e}let er=e=>({test:t=>et(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),en=er("deg"),eo=er("%"),ei=er("px"),ea=er("vh"),es=er("vw"),el={...eo,parse:e=>eo.parse(e)/100,transform:e=>eo.transform(100*e)},eu={...Z,transform:Math.round},ec={borderWidth:ei,borderTopWidth:ei,borderRightWidth:ei,borderBottomWidth:ei,borderLeftWidth:ei,borderRadius:ei,radius:ei,borderTopLeftRadius:ei,borderTopRightRadius:ei,borderBottomRightRadius:ei,borderBottomLeftRadius:ei,width:ei,maxWidth:ei,height:ei,maxHeight:ei,size:ei,top:ei,right:ei,bottom:ei,left:ei,padding:ei,paddingTop:ei,paddingRight:ei,paddingBottom:ei,paddingLeft:ei,margin:ei,marginTop:ei,marginRight:ei,marginBottom:ei,marginLeft:ei,rotate:en,rotateX:en,rotateY:en,rotateZ:en,scale:X,scaleX:X,scaleY:X,scaleZ:X,skew:en,skewX:en,skewY:en,distance:ei,translateX:ei,translateY:ei,translateZ:ei,x:ei,y:ei,z:ei,perspective:ei,transformPerspective:ei,opacity:Y,originX:el,originY:el,originZ:ei,zIndex:eu,backgroundPositionX:ei,backgroundPositionY:ei,fillOpacity:Y,strokeOpacity:Y,numOctaves:eu};function ed(e,t,r,n){let{style:o,vars:i,transform:a,transformOrigin:s}
309=e,l=!1,u=!1,c=!0;for(let e in t){let r=t[e];if(V(e)){i[e]=r;continue}let n=ec[e],d=q(r,n);if($.has(e)){if(l=!0,a[e]=d,!c)continue;r!==(n.default||0)&&(c=!1)}else e.startsWith("origin")?(u=!0,s[e]=d):o[e]=d}if(!t.transform&&(l||n?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let i="";for(let t=0;t<L;t++){let r=B[t];if(void 0!==e[r]){let t=I[r]||r;i+=`${t}(${e[r]}) `}}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,n?"":i):r&&n&&(i="none"),i}(e.transform,r,c,n):o.transform&&(o.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=s;o.transformOrigin=`${e} ${t} ${r}`}}let ef=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eh(e,t,r){for(let n in t)D(t[n])||F(n,r)||(e[n]=t[n])}let ep=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function em(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ep.has(e)}let eg=e=>!em(e);try{(i=require("@emotion/is-prop-valid").default)&&(eg=e=>e.startsWith("on")?!em(e):i(e))}catch(e){}function ev(e,t,r){return"string"==typeof e?e:ei.transform(t+r*e)}let eb={offset:"stroke-dashoffset",array:"stroke-dasharray"},ey={offset:"strokeDashoffset",array:"strokeDasharray"};function ex(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u},c,d,f){if(ed(e,u,c,f),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:p,dimensions:m}=e;h.transform&&(m&&(p.transform=h.transform),delete h.transform),m&&(void 0!==o||void 0!==i||p.transform)&&(p.transformOrigin=function(e,t,r){let n=ev(t,e.x,e.width),o=ev(r,e.y,e.height);return`${n} ${o}`}(m,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(h.x=t),void 0!==r&&(h.y=r),void 0!==n&&(h.scale=n),void 0!==a&&function(e,t,r=1,n=0,o=!0){e.pathLength=1;let i=o?eb:ey;e[i.offset]=ei.transform(-n);let a=ei.transform(t),s=ei.transform(r);e[i.array]=`${a} ${s}`}(h,a,s,l,!1)}let ew=()=>({...ef(),attrs:{}}),ek=e=>"string"==typeof e&&"svg"===e.toLowerCase();function eS(e,{style:t,vars:r},n,o){for(let i in Object.assign(e.style,t,o&&o.getProjectionStyles(n)),r)e.style.setProperty(i,r[i])}let eC=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"]);function e_(e,t,r,n){for(let r in eS(e,t,void 0,n),t.attrs)e.setAttribute(eC.has(r)?r:p(r),t.attrs[r])}function ej(e,t,r){var n;let{style:o}=e,i={};for(let a in o)(D(o[a])||t.style&&D(t.style[a])||F(a,e)||(null===(n=null==r?void 0:r.getValue(a))||void 0===n?void 0:n.liveStyle)!==void 0)&&(i[a]=o[a]);return i}function eP(e,t,r){let n=ej(e,t,r);for(let r in e)(D(e[r])||D(t[r]))&&(n[-1!==B.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}function eE(e,t,r,n={},o={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,o)),t}var eT=r(6681);let eA=e=>Array.isArray(e),eR=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),eM=e=>eA(e)?e[e.length-1]||0:e;function eO(e){let t=D(e)?e.get():e;return eR(t)?t.toValue():t}let ez=e=>(t,r)=>{let n=(0,l.useContext)(c),o=(0,l.useContext)(d.O),i=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){let a={latestValues:function(e,t,r,n){let o={},i=n(e,{});for(let e in i)o[e]=eO(i[e]);let{initial:a,animate:s}=e,l=S(e),u=C(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let c=!!r&&!1===r.initial,d=(c=c||!1===a)?s:a;return d&&"boolean"!=typeof d&&!x(d)&&(Array.isArray(d)?d:[d]).forEac
309h(t=>{let r=eE(e,t);if(!r)return;let{transitionEnd:n,transition:i,...a}=r;for(let e in a){let t=a[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(o[e]=t)}for(let e in n)o[e]=n[e]}),o}(n,o,i,e),renderState:t()};return r&&(a.mount=e=>r(n,e,a)),a})(e,t,n,o);return r?i():(0,eT.h)(i)};var eB=r(6166);let e$={useVisualState:ez({scrapeMotionValuesFromProps:eP,createRenderState:ew,onMount:(e,t,{renderState:r,latestValues:n})=>{eB.Wi.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),eB.Wi.render(()=>{ex(r,n,{enableHardwareAcceleration:!1},ek(t.tagName),e.transformTemplate),e_(t,r)})}})},eF={useVisualState:ez({scrapeMotionValuesFromProps:ej,createRenderState:ef})};function eD(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}let eI=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function eL(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}let eN=e=>t=>eI(t)&&e(t,eL(t));function eV(e,t,r,n){return eD(e,t,eN(r),n)}let eW=(e,t)=>r=>t(e(r)),eH=(...e)=>e.reduce(eW);function eU(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let eq=eU("dragHorizontal"),eG=eU("dragVertical");function eZ(e){let t=!1;if("y"===e)t=eG();else if("x"===e)t=eq();else{let e=eq(),r=eG();e&&r?t=()=>{e(),r()}
309:(e&&e(),r&&r())}return t}function eY(){let e=eZ(!0);return!e||(e(),!1)}class eX{constructor(e){this.isMounted=!1,this.node=e}update(){}}function eK(e,t){let r=t?"onHoverStart":"onHoverEnd";return eV(e.current,t?"pointerenter":"pointerleave",(n,o)=>{if("touch"===n.pointerType||eY())return;let i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t);let a=i[r];a&&eB.Wi.postRender(()=>a(n,o))},{passive:!e.getProps()[r]})}class eJ extends eX{mount(){this.unmount=eH(eK(this.node,!0),eK(this.node,!1))}unmount(){}}class eQ extends eX{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){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=eH(eD(this.node.current,"focus",()=>this.onFocus()),eD(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let e0=(e,t)=>!!t&&(e===t||e0(e,t.parentElement));var e1=r(1662);function e2(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,eL(r))}class e5 extends eX{constructor(){super(...arguments),this.removeStartListeners=e1.Z,this.removeEndListeners=e1.Z,this.removeAccessibleListeners=e1.Z,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let r=this.node.getProps(),n=eV(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:n,globalTapTarget:o}=this.node.getProps(),i=o||e0(this.node.current,e.target)?r:n;i&&eB.Wi.update(()=>i(e,t))},{passive:!(r.onTap||r.onPointerUp)}),o=eV(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=eH(n,o),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=eD(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=eD(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&e2("up",(e,t)=>{let{onTap:r}=this.node.getProps();r&&eB.Wi.postRender(()=>r(e,t))})}),e2("down",(e,t)=>{this.startPress(e,t)}))}),t=eD(this.node.current,"blur",()=>{this.isPressing&&e2("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=eH(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&eB.Wi.postRender(()=>r(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!eY()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&eB.Wi.postRender(()=>r(e,t))}mount(){let e=this.node.getProps(),t=eV(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=eD(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=eH(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let e4=new WeakMap,e3=new WeakMap,e6=e=>{let t=e4.get(e.target);t&&t(e)},e9=e=>{e.forEach(e6)},e8={some:0,all:1};class e7 extends eX{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:e8[n]};return function(e,t,r){let n=function({root:e,...t}){let r=e||document;e3.has(r)||e3.set(r,{});let n=e3.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(e9,{root:e,...t})),n[o]}(t);return e4.set(e,r),n.observe(e),()=>{e4.delete(e),n.unobserve(e)}}(this.node.current,i,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,o&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),i=t?r:n;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}function te(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function tt(e,t,r){let n=e.getProps();return eE(n,t,void 0!==r?r:n.custom,function(e){let t={};
309return e.values.forEach((e,r)=>t[r]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.getVelocity()),t}(e))}let tr=e=>1e3*e,tn=e=>e/1e3,to={type:"spring",stiffness:500,damping:25,restSpeed:10},ti=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),ta={type:"keyframes",duration:.8},ts={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tl=(e,{keyframes:t})=>t.length>2?ta:$.has(e)?e.startsWith("scale")?ti(t[1]):to:ts;function tu(e,t){return e[t]||e.default||e}var tc=r(2081);let td={current:!1},tf=e=>null!==e;function th(e,{repeat:t,repeatType:r="loop"},n){let o=e.filter(tf),i=t&&"loop"!==r&&t%2==1?0:o.length-1;return i&&void 0!==n?n:o[i]}function tp(){n=void 0}let tm={now:()=>(void 0===n&&tm.set(eB.frameData.isProcessing||tc.c.useManualTiming?eB.frameData.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(tp)}},tg=e=>/^0[^.\s]+$/u.test(e);var tv=r(5487);let tb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),ty=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tx=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),tw=e=>e===Z||e===ei,tk=(e,t)=>parseFloat(e.split(", ")[t]),tS=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let o=n.match(/^matrix3d\((.+)\)$/u);if(o)return tk(o[1],t);{let t=n.match(/^matrix\((.+)\)$/u);return t?tk(t[1],e):0}},tC=new Set(["x","y","z"]),t_=B.filter(e=>!tC.has(e)),tj={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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:tS(4,13),y:tS(5,14)};tj.translateX=tj.x,tj.translateY=tj.y;let tP=e=>t=>t.test(e),tE=[Z,ei,eo,en,es,ea,{test:e=>"auto"===e,parse:e=>e}],tT=e=>
309tE.find(tP(e)),tA=new Set,tR=!1,tM=!1;function tO(){if(tM){let e=Array.from(tA).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t=function(e){let t=[];return t_.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{var n;null===(n=e.getValue(t))||void 0===n||n.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}tM=!1,tR=!1,tA.forEach(e=>e.complete()),tA.clear()}function tz(){tA.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(tM=!0)})}class tB{constructor(e,t,r,n,o,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(tA.add(this),tR||(tR=!0,eB.Wi.read(tz),eB.Wi.resolveKeyframes(tO))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;for(let o=0;o<e.length;o++)if(null===e[o]){if(0===o){let o=null==n?void 0:n.get(),i=e[e.length-1];if(void 0!==o)e[0]=o;else if(r&&t){let n=r.readValue(t,i);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=i),n&&void 0===o&&n.set(e[0])}else e[o]=e[o-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),tA.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,tA.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let t$=(e,t)=>r=>!!(et(r)&&ee.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),tF=(e,t,r)=>n=>{if(!et(n))return n;let[o,i,a,s]=n.match(J);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},tD=e=>G(0,255,e),tI={...Z,transform:e=>Math.round(tD(e))},tL={test:t$("rgb","red"),parse:tF("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+tI.transform(e)+", "+tI.transform(t)+", "+tI.transform(r)+", "+K(Y.transform(n))+")"},tN={test:t$("#"),parse:function(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:tL.transform},tV={test:t$("hsl","hue"),parse:tF("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+eo.transform(K(t))+", "+eo.transform(K(r))+", "+K(Y.transform(n))+")"},tW={test:e=>tL.test(e)||tN.test(e)||tV.test(e),parse:e=>tL.test(e)?tL.parse(e):tV.test(e)?tV.parse(e):tN.parse(e),transform:e=>et(e)?e:e.hasOwnProperty("red")?tL.transform(e):tV.transform(e)},tH="number",tU="color",tq=/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 tG(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[],i=0,a=t.replace(tq,e=>(tW.test(e)?(n.color.push(i),o.push(tU),r.push(tW.parse(e))):e.startsWith("var(")?(n.var.push(i),o.push("var"),r.push(e)):(n.number.push(i),o.push(tH),r.push(parseFloat(e))),++i,"${}")).split("${}");return{values:r,split:a,indexes:n,types:o}}function tZ(e){return tG(e).values}function tY(e){let{split:t,types:r}=tG(e),n=t.length;return e=>{let o="";for(let i=0;i<n;i++)if(o+=t[i],void 0!==e[i]){let t=r[i];t===tH?o+=K(e[i]):t===tU?o+=tW.transform(e[i]):o+=e[i]}return o}}let tX=e=>"number"==typeof e?0:e,tK={test:function(e){var t,r;return isNaN(e)&&et(e)&&((null===(t=e.match(J))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(Q))||void 0===r?void 0:r.length)||0)>0},parse:tZ,createTransformer:tY,getAnimatableNone:function(e){let t=tZ(e);return tY(e)(t.map(tX))}},tJ=new Set(["brightness","contrast","saturate","opacity"]);function tQ(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(J)||[];if(!n)return e;let o=r.replace(n,""),i=tJ.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}let t0=/\b([a-z-]*)\(.*?\)/gu,t1={...tK,getAnimatableNone:e=>{let t=e.match(t0);return t?t.map(tQ).join(" "):e}},t2={...ec,color:tW,backgroundColor:tW,outlineColor:tW,fill:tW,stroke:tW,borderColor:tW,borderTopColor:tW,borderRightColor:tW,borderBottomColor:tW,borderLeftColor:tW,filter:t1,WebkitFilter:t1},t5=e=>t2[e];function t4(e,t){let r=t5(e);return r!==t1&&(r=tK),r.getAnimatableNone?r.getAnimatableNone(t):void 0}
309let t3=new Set(["auto","none","0"]);class t6 extends tB{constructor(e,t,r,n){super(e,t,r,n,null==n?void 0:n.owner,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&H(n)){let o=function e(t,r,n=1){(0,tv.k)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[o,i]=function(e){let t=ty.exec(e);if(!t)return[,];let[,r,n,o]=t;return[`--${null!=r?r:n}`,o]}(t);if(!o)return;let a=window.getComputedStyle(r).getPropertyValue(o);if(a){let e=a.trim();return tb(e)?parseFloat(e):e}return H(i)?e(i,r,n+1):i}(n,t.current);void 0!==o&&(e[r]=o),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!tx.has(r)||2!==e.length)return;let[n,o]=e,i=tT(n),a=tT(o);if(i!==a){if(tw(i)&&tw(a))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++){var n;("number"==typeof(n=e[t])?0===n:null===n||"none"===n||"0"===n||tg(n))&&r.push(t)}r.length&&function(e,t,r){let n,o=0;for(;o<e.length&&!n;){let t=e[o];"string"!=typeof t||t3.has(t)||(n=e[o]),o++}if(n&&r)for(let o of t)e[o]=t4(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tj[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){var e;let{element:t,name:r,unresolvedKeyframes:n}=this;if(!t.current)return;let o=t.getValue(r);o&&o.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=tj[r](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEac
309h(([e,r])=>{t.getValue(e).set(r)}),this.resolveNoneKeyframes()}}let t9=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(tK.test(e)||"0"===e)&&!e.startsWith("url("));class t8{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:i="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:o,repeatType:i,...a},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(tz(),tO()),this._resolved}onKeyframesResolved(e,t){this.hasAttemptedResolve=!0;let{name:r,type:n,velocity:o,delay:i,onComplete:a,onUpdate:s,isGenerator:l}=this.options;if(!l&&!function(e,t,r,n){let o=e[0];if(null===o)return!1;let i=e[e.length-1],a=t9(o,t),s=t9(i,t);return(0,tv.K)(a===s,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!!a&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||"spring"===r&&n)}(e,r,n,o)){if(td.current||!i){null==s||s(th(e,this.options,t)),null==a||a(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function t7(e,t,r){var n,o;let i=Math.max(t-5,0);return n=r-e(i),(o=t-i)?1e3/o*n:0}function re(e,t){return e*Math.sqrt(1-t*t)}let rt=["duration","bounce"],rr=["stiffness","damping","mass"];function rn(e,t){return t.some(t=>void 0!==e[t])}function ro({keyframes:e,restDelta:t,restSpeed:r,...n}){let o;let i=e[0],a=e[e.length-1],s={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!rn(e,rr)&&rn(e,rt)){let r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i;(0,tv.K)(e<=tr(10),"Spring duration must be 10 seconds or less");let a=1-t;a=G(.05,1,a),e=G(.01,10,tn(e)),a<1?(o=t=>{let n=t*a,o=n*e;return .001-(n-r)/re(t,a)*Math.exp(-o)},i=t=>{let n=t*a*e,i=Math.pow(a,2)*Math.pow(t,2)*e,s=re(Math.pow(t,2),a);return(n*r+r-i)*Math.exp(-n)*(-o(t)+.001>0?-1:1)/s}):(o=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),i=t=>e*e*(r-t)*Math.exp(-t*e));let s=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(o,i,5/e);if(e=tr(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*n;return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...n,velocity:-tn(n.velocity||0)}),p=f||0,m=u/(2*Math.sqrt(l*c)),g=a-i,v=tn(Math.sqrt(l/c)),b=5>Math.abs(g);if(r||(r=b?.01:2),t||(t=b?.005:.5),m<1){let e=re(v,m);o=t=>a-Math.exp(-m*v*t)*((p+m*v*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===m)o=e=>a-Math.exp(-v*e)*(g+(p+v*g)*e);else{let e=v*Math.sqrt(m*m-1);o=t=>{let r=Math.exp(-m*v*t),n=Math.min(e*t,300);return a-r*((p+m*v*g)*Math.sinh(n)+e*g*Math.cosh(n))/e}}return{calculatedDuration:h&&d||null,next:e=>{let n=o(e);if(h)s.done=e>=d;else{let i=p;0!==e&&(i=m<1?t7(o,e,n):0);let l=Math.abs(i)<=r,u=Math.abs(a-n)<=t;s.done=l&&u}return s.value=s.done?a:n,s}}}function ri({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d,f;let h=e[0],p={done:!1,value:h},m=e=>void 0!==s&&e<s||void 0!==l&&e>l,g=e=>void 0===s?l:void 0===l?s:Math.abs(s-e)<Math.abs(l-e)?s:l,v=r*t,b=h+v,y=void 0===a?b:a(b);y!==b&&(v=y-h);let x=e=>-v*Math.exp(-e/n),w=e=>y+x(e),k=e=>{let t=x(e),r=w(e);p.done=Math.abs(t)<=u,p.value=p.done?y:r},S=e=>{m(p.value)&&(d=e,f=ro({keyframes:[p.value,g(p.value)],velocity:t7(w,e,p.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==d||(t=!0,k(e),S(e)),void 0!==d&&e>=d)?f.next(e-d):(t||k(e),p)}}}let ra=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function rs(e,t,r,n){if(e===t&&r===n)return e1.Z;let o=t=>(function(e,t,r,n,o){let i,a;let s=0;
309do(i=ra(a=t+(r-t)/2,n,o)-e)>0?r=a:t=a;while(Math.abs(i)>1e-7&&++s<12);return a})(t,0,1,e,r);return e=>0===e||1===e?e:ra(o(e),t,n)}let rl=rs(.42,0,1,1),ru=rs(0,0,.58,1),rc=rs(.42,0,.58,1),rd=e=>Array.isArray(e)&&"number"!=typeof e[0],rf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,rh=e=>t=>1-e(1-t),rp=e=>1-Math.sin(Math.acos(e)),rm=rh(rp),rg=rf(rp),rv=rs(.33,1.53,.69,.99),rb=rh(rv),ry=rf(rb),rx={linear:e1.Z,easeIn:rl,easeInOut:rc,easeOut:ru,circIn:rp,circInOut:rg,circOut:rm,backIn:rb,backInOut:ry,backOut:rv,anticipate:e=>(e*=2)<1?.5*rb(e):.5*(2-Math.pow(2,-10*(e-1)))},rw=e=>{if(Array.isArray(e)){(0,tv.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,o]=e;return rs(t,r,n,o)}return"string"==typeof e?((0,tv.k)(void 0!==rx[e],`Invalid easing type '${e}'`),rx[e]):e},rk=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n},rS=(e,t,r)=>e+(t-e)*r;function rC(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}let r_=(e,t,r)=>{let n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},rj=[tN,tL,tV],rP=e=>rj.find(t=>t.test(e));function rE(e){let t=rP(e);(0,tv.k)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===tV&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let o=0,i=0,a=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;o=rC(s,n,e+1/3),i=rC(s,n,e),a=rC(s,n,e-1/3)}else o=i=a=r;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:n}}(r)),r}let rT=(e,t)=>{let r=rE(e),n=rE(t),o={...r};return e=>(o.red=r_(r.red,n.red,e),o.green=r_(r.green,n.green,e),o.blue=r_(r.blue,n.blue,e),o.alpha=rS(r.alpha,n.alpha,e),tL.transform(o))};function rA(e,t){return r=>r>0?t:e}function rR(e,t){return r=>rS(e,t,r)}function rM(e){return"number"==typeof e?rR:"string"==typeof e?H(e)?rA:tW.test(e)?rT:rB:Array.isArray(e)?rO:"object"==typeof e?tW.test(e)?rT:rz:rA}function rO(e,t){let r=[...e],n=r.length,o=e.map((e,r)=>rM(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=o[t](e);return r}}function rz(e,t){let r={...e,...t},n={};for(let o in r)void 0!==e[o]&&void 0!==t[o]&&(n[o]=rM(e[o])(e[o],t[o]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let rB=(e,t)=>{let r=tK.createTransformer(t),n=tG(e),o=tG(t);return n.indexes.var.length===o.indexes.var.length&&n.indexes.color.length===o.indexes.color.length&&n.indexes.number.length>=o.indexes.number.length?eH(rO(function(e,t){var r;let n=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],s=e.indexes[a][o[a]],l=null!==(r=e.values[s])&&void 0!==r?r:0;n[i]=l,o[a]++}return n}(n,o),o.values),r):((0,tv.K)(!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.`),rA(e,t))};function r$(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?rS(e,t,r):rM(e)(e,t)}function rF({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let o=rd(n)?n.map(rw):rw(n),i={done:!1,value:t[0]},a=function(e,t,{clamp:r=!0,ease:n,mixer:o}={}){let i=e.length;if((0,tv.k)(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];if(2===i&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,r){let n=[],o=r||r$,i=e.length-1;for(let r=0;r<i;r++){let i=o(e[r],e[r+1]);t&&(i=eH(Array.isArray(t)?t[r]||e1.Z:t,i)),n.push(i)}return n}(t,n,o),s=a.length,l=t=>{let r=0;if(s>1)for(;r<e.length-2&&!(t<e[r+1]);r++);let n=rk(e[r],e[r+1],t);return a[r](n)};return r?t=>l(G(e[0],e[i-1],t)):l}((r&&r.length===t.length?r:function(e){let t=[0];return function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let o=rk(0,t,n);e.push(rS(r,1,o))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(o)?o:t.map(()=>o||rc).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}let rD=e=>{let t=({timestamp:t})=>e(t);return{start:()=>eB.Wi.update(t,!0),stop:()=>(0,eB.Pn)(t),now:()=>eB.frameData.isProcessing?eB.frameData.timestamp:tm.now()}},rI={decay:ri,inertia:ri,tween:rF,keyframes:rF,spring:ro},rL=e=>e/100;class rN extends t8{constructor({KeyframeResolver:e=tB,...t}){super(t),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>
309{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:r,motionValue:n,keyframes:o}=this.options,i=(e,t)=>this.onKeyframesResolved(e,t);r&&n&&n.owner?this.resolver=n.owner.resolveKeyframes(o,i,r,n):this.resolver=new e(o,i,r,n),this.resolver.scheduleResolve()}initPlayback(e){let t,r;let{type:n="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:a,velocity:s=0}=this.options,l=rI[n]||rF;l!==rF&&"number"!=typeof e[0]&&(t=eH(rL,r$(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===a&&(r=l({...this.options,keyframes:[...e].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}(u));let{calculatedDuration:c}=u,d=c+i;return{generator:u,mirroredGenerator:r,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(o+1)-i}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:r}=this;if(!r){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:n,generator:o,mirroredGenerator:i,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=r;if(null===this.startTime)return o.next(0);let{delay:d,repeat:f,repeatType:h,repeatDelay:p,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let b=this.currentTime,y=o;if(f){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,f+1))%2&&("reverse"===h?(r=1-r,p&&(r-=p/c)):"mirror"===h&&(y=i)),b=G(0,1,r)*c}let x=v?{done:!1,value:s[0]}:y.next(b);a&&(x.value=a(x.value));let{done:w}=x;v||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return k&&void 0!==n&&(x.value=th(s,this.options,n)),m&&m(x.value),k&&this.finish(),x}get duration(){let{resolved:e}=this;return e?tn(e.calculatedDuration):0}get time(){return tn(this.currentTime)}set time(e){e=tr(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=tn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=rD,onPlay:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=r),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let rV=e=>Array.isArray(e)&&"number"==typeof e[0],rW=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,rH={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:rW([0,.65,.55,1]),circOut:rW([.55,0,1,.45]),backIn:rW([.31,.01,.66,-.59]),backOut:rW([.33,1.53,.69,.99])};function rU(e){return rq(e)||rH.easeOut}function rq(e){if(e)return rV(e)?rW(e):Array.isArray(e)?e.map(rU):rH[e]}let rG=(a=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===o&&(o=a()),o)),rZ=new Set(["opacity","clipPath","filter","transform"]);class rY extends t8{constructor(e){super(e);let{name:t,motionValue:r,keyframes:n}=this.options;this.resolver=new t6(n,(e,t)=>this.onKeyframesResolved(e,t),t,r),this.resolver.scheduleResolve()}initPlayback(e,t){var r,n;let{duration:o=300,times:i,ease:a,type:s,motionValue:l,name:u}=this.options;if(!(null===(r=l.owner)||void 0===r?void 0:r.current))return!1;if("spring"===(n=this.options).type||"backgroundColor"===n.name||!function e(t){return!!(!t||"string"==typeof t&&t in rH||rV(t)||Array.isArray(t)&&t.every(e))}(n.ease)){let{onComplete:t,onUpdate:r,motionValue:n,...l}=this.options,u=function(e,t){let r=new rN({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},o=[],i=0;for(;!n.done&&i<2e4;)o.push((n=r.sample(i)).value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(e,l);1===(e=u.keyframes).length&&(e[1]=e[0]),o=u.duration,i=u.times,a=u.ease,s="keyframes"}let c=function(e,t,r,{delay:n=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){let u={[t]:r};l&&(u.offset=l);let c=rq(s);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:n,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:o,times:i,ease:a});return c.startTime=tm.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:r}=this.options;l.set(th(e,this.options,t)),r&&r(),this.cancel(),this.resolveFinishedProm
309ise()},{animation:c,duration:o,times:i,type:s,ease:a,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return tn(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return tn(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.currentTime=tr(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return e1.Z;let{animation:r}=t;r.timeline=e,r.onfinish=null}else this.pendingTimeline=e;return e1.Z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:r,duration:n,type:o,ease:i,times:a}=e;if("idle"!==t.playState&&"finished"!==t.playState){if(this.time){let{motionValue:e,onUpdate:t,onComplete:s,...l}=this.options,u=new rN({...l,keyframes:r,duration:n,type:o,ease:i,times:a,isGenerator:!0}),c=tr(this.time);e.setWithVelocity(u.sample(c-10).value,u.sample(c).value,10)}this.cancel()}}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:o,damping:i,type:a}=e;return rG()&&r&&rZ.has(r)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!n&&"mirror"!==o&&0!==i&&"inertia"!==a}}let rX=(e,t,r,n={},o,i)=>a=>{let s=tu(n,e)||{},l=s.delay||n.delay||0,{elapsed:u=0}=n;u-=tr(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&(c={...c,...tl(e,c)}),c.duration&&(c.duration=tr(c.duration)),c.repeatDelay&&(c.repeatDelay=tr(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0!==c.delay||(d=!0)),(td.current||tc.c.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),d&&!i&&void 0!==t.get()){let e=th(c.keyframes,s);if(void 0!==e){eB.Wi.update(()=>{c.onUpdate(e),c.onComplete()});return}}return!i&&rY.supports(c)?new rY(c):new rN(c)};function rK(e){return!!(D(e)&&e.add)}function rJ(e,t){-1===e.indexOf(t)&&e.push(t)}function rQ(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class r0{constructor(){this.subscriptions=[]}add(e){return rJ(this.subscriptions,e),()=>rQ(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,r);else for(let o=0;o<n;o++){let n=this.subscriptions[o];n&&n(e,t,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let r1=e=>!isNaN(parseFloat(e)),r2={current:void 0};class r5{constructor(e,t={}){this.version="11.1.9",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{let r=tm.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.canTrackVelocity=r1(this.current),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=tm.now()}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 r0);let r=this.events[e].add(t);return"change"===e?()=>{r(),eB.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return r2.current&&r2.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=tm.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*e:0}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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function r4(e,t){return new r5(e,t)}function r3(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var i;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t,u=e.getValue("willChange");n&&(a=n);let c=[],d=o&&e.animationState&&e.animationState.getState()[o];for(let t in l){let n=e.getValue(t,null!==(i=e.latestValues[t])&&void 0!==i?i:null),o=l[t];if(void 0===o||d&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(d,t))continue;let s={delay:r,elapsed:0,...tu(a||{},t)},f=!1;if(window.HandoffAppearAnimations){let r=e.getProps()[m];if(r){let e=window.HandoffAppearAnimations(r,t);
309null!==e&&(s.elapsed=e,f=!0)}}n.start(rX(t,n,o,e.shouldReduceMotion&&$.has(t)?{type:!1}:s,e,f));let h=n.animation;h&&(rK(u)&&(u.add(t),h.then(()=>u.remove(t))),c.push(h))}return s&&Promise.all(c).then(()=>{eB.Wi.update(()=>{s&&function(e,t){let{transitionEnd:r={},transition:n={},...o}=tt(e,t)||{};for(let t in o={...o,...r}){let r=eM(o[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,r4(r))}}(e,s)})}),c}function r6(e,t,r={}){var n;let o=tt(e,t,"exit"===r.type?null===(n=e.presenceContext)||void 0===n?void 0:n.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(i=r.transitionOverride);let a=o?()=>Promise.all(r3(e,o,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,r=0,n=0,o=1,i){let a=[],s=(e.variantChildren.size-1)*n,l=1===o?(e=0)=>e*n:(e=0)=>s-e*n;return Array.from(e.variantChildren).sort(r9).forEach((e,n)=>{e.notify("AnimationStart",t),a.push(r6(e,t,{...i,delay:r+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+n,a,s,r)}:()=>Promise.resolve(),{when:l}=i;if(!l)return Promise.all([a(),s(r.delay)]);{let[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then(()=>t())}}function r9(e,t){return e.sortNodePosition(t)}let r8=[...w].reverse(),r7=w.length;function ne(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class nt extends eX{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>r6(e,t,r)));else if("string"==typeof t)n=r6(e,t,r);else{let o="function"==typeof t?tt(e,t,r.custom):t;n=Promise.all(r3(e,o,r))}return n.then(()=>{eB.Wi.postRender(()=>{e.notify("AnimationComplete",t)})})})(e,t,r))),r={animate:ne(!0),whileInView:ne(),whileHover:ne(),whileTap:ne(),whileDrag:ne(),whileFocus:ne(),exit:ne()},n=!0,o=t=>(r,n)=>{var o;let i=tt(e,n,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(i){let{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function i(i){let a=e.getProps(),s=e.getVariantContext(!0)||{},l=[],u=new Set,c={},d=1/0;for(let t=0;t<r7;t++){var f;let h=r8[t],p=r[h],m=void 0!==a[h]?a[h]:s[h],g=y(m),v=h===i?p.isActive:null;!1===v&&(d=t);let b=m===s[h]&&m!==a[h]&&g;if(b&&n&&e.manuallyAnimateOnMount&&(b=!1),p.protectedKeys={...c},!p.isActive&&null===v||!m&&!p.prevProp||x(m)||"boolean"==typeof m)continue;let w=(f=p.prevProp,("string"==typeof m?m!==f:!!Array.isArray(m)&&!te(m,f))||h===i&&p.isActive&&!b&&g||t>d&&g),k=!1,S=Array.isArray(m)?m:[m],C=S.reduce(o(h),{});!1===v&&(C={});let{prevResolvedValues:_={}}=p,j={..._,...C},P=t=>{w=!0,u.has(t)&&(k=!0,u.delete(t)),p.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in j){let t=C[e],r=_[e];if(!c.hasOwnProperty(e))(eA(t)&&eA(r)?te(t,r):t===r)?void 0!==t&&u.has(e)?P(e):p.protectedKeys[e]=!0:null!=t?P(e):u.add(e)}p.prevProp=m,p.prevResolvedValues=C,p.isActive&&(c={...c,...C}),n&&e.blockInitialAnimation&&(w=!1),w&&(!b||k)&&l.push(...S.map(e=>({animation:e,options:{type:h}})))}if(u.size){let t={};u.forEach(r=>{let n=e.getBaseTarget(r),o=e.getValue(r);o&&(o.liveStyle=!0),t[r]=null!=n?n:null}),l.push({animation:t})}let h=!!l.length;return n&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(h=!1),n=!1,h?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,n){var o;if(r[t].isActive===n)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n;let a=i(t);for(let e in r)r[e].protectedKeys={};return a},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),x(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let nr=0;class nn extends eX{constructor(){super(...arguments),this.id=nr++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>
309t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let no=(e,t)=>Math.abs(e-t);class ni{constructor(e,t,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=nl(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,o=(e=r.offset,t={x:0,y:0},Math.sqrt(no(e.x,t.x)**2+no(e.y,t.y)**2)>=3);if(!n&&!o)return;let{point:i}=r,{timestamp:a}=eB.frameData;this.history.push({...i,timestamp:a});let{onStart:s,onMove:l}=this.handlers;n||(s&&s(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=na(t,this.transformPagePoint),eB.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=nl("pointercancel"===e.type?this.lastMoveEventInfo:na(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,i),n&&n(e,i)},!eI(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=r,this.contextWindow=n||window;let i=na(eL(e),this.transformPagePoint),{point:a}=i,{timestamp:s}=eB.frameData;this.history=[{...a,timestamp:s}];let{onSessionStart:l}=t;l&&l(e,nl(i,this.history)),this.removeListeners=eH(eV(this.contextWindow,"pointermove",this.handlePointerMove),eV(this.contextWindow,"pointerup",this.handlePointerUp),eV(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,eB.Pn)(this.updatePoint)}}function na(e,t){return t?{point:t(e.point)}:e}function ns(e,t){return{x:e.x-t.x,y:e.y-t.y}}function nl({point:e},t){return{point:e,delta:ns(e,nu(t)),offset:ns(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,o=nu(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>tr(.1)));)r--;if(!n)return{x:0,y:0};let i=tn(o.timestamp-n.timestamp);if(0===i)return{x:0,y:0};let a={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,0)}}function nu(e){return e[e.length-1]}function nc(e){return e.max-e.min}function nd(e,t=0,r=.01){return Math.abs(e-t)<=r}function nf(e,t,r,n=.5){e.origin=n,e.originPoint=rS(t.min,t.max,e.origin),e.scale=nc(r)/nc(t),(nd(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=rS(r.min,r.max,e.origin)-e.originPoint,(nd(e.translate)||isNaN(e.translate))&&(e.translate=0)}function nh(e,t,r,n){nf(e.x,t.x,r.x,n?n.originX:void 0),nf(e.y,t.y,r.y,n?n.originY:void 0)}function np(e,t,r){e.min=r.min+t.min,e.max=e.min+nc(t)}function nm(e,t,r){e.min=t.min-r.min,e.max=e.min+nc(t)}function ng(e,t,r){nm(e.x,t.x,r.x),nm(e.y,t.y,r.y)}function nv(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function nb(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function ny(e,t,r){return{min:nx(e,t),max:nx(e,r)}}function nx(e,t){return"number"==typeof e?e:e[t]||0}let nw=()=>({translate:0,scale:1,origin:0,originPoint:0}),nk=()=>({x:nw(),y:nw()}),nS=()=>({min:0,max:0}),nC=()=>({x:nS(),y:nS()});function n_(e){return[e("x"),e("y")]}function nj({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function nP(e){return void 0===e||1===e}function nE({scale:e,scaleX:t,scaleY:r}){return!nP(e)||!nP(t)||!nP(r)}function nT(e){return nE(e)||nA(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function nA(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function nR(e,t,r,n,o){return void 0!==o&&(e=n+o*(e-n)),n+r*(e-n)+t}function nM(e,t=0,r=1,n,o){e.min=nR(e.min,t,r,n,o),e.max=nR(e.max,t,r,n,o)}function nO(e,{x:t,y:r}){nM(e.x,t.translate,t.scale,t.originPoint),nM(e.y,r.translate,r.scale,r.originPoint)}function nz(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function nB(e,t){e.min=e.min+t,e.max=e.max+t}function n$(e,t,[r,n,o]){let i=void 0!==t[o]?t[o]:.5,a=rS(e.min,e.max,i);nM(e,t[r],t[n],a,t.scale)}let nF=["x","scaleX","originX"],nD=["y","scaleY","originY"];function nI(e,t){n$(e.x,t,nF),n$(e.y,t,nD)}function nL(e,t){return nj(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}let nN=({current:e})=>e?e.ownerDocument.defaultView:null,nV=new WeakMap;
309class nW{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=nC(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new ni(e,{onSessionStart:e=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(eL(e,"page").point)},onStart:(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:o}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eZ(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),n_(e=>{let t=this.getAxisMotionValue(e).get()||0;if(eo.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];if(n){let e=nc(n);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),o&&eB.Wi.postRender(()=>o(e,t));let{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:o,onDrag:i}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:a}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(a),null!==this.currentDirection&&o&&o(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>n_(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:nN(this.visualElement)})}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:o}=this.getProps();o&&eB.Wi.postRender(()=>o(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!nH(e,n,this.currentDirection))return;let o=this.getAxisMotionValue(e),i=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?rS(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?rS(r,e,n.max):Math.min(e,r)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&b(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(e,{top:t,left:r,bottom:n,right:o}){return{x:nv(e.x,r,o),y:nv(e.y,t,n)}}(n.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:ny(e,"left","right"),y:ny(e,"top","bottom")}}(r),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&n_(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!b(t))return!1;let n=t.current;(0,tv.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let i=function(e,t,r){let n=nL(e,r),{scroll:o}=t;return o&&(nB(n.x,o.offset.x),nB(n.y,o.offset.y)),n}(n,o.root,this.visualElement.getTransformPagePoint()),a={x:nb((e=o.layout.layoutBox).x,i.x),y:nb(e.y,i.y)};if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=nj(e))}return a}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all(n_(a=>{if(!nH(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return r.start(rX(e,r,0,t,this.visualElement))}stopAnimation(){n_(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){n_(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){n_(t=>{let{drag:r}=this.getProps();if(!nH(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,o=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:i}=n.layout.layoutBox[t];o.set(e[t]-rS(r,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!b(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};n_(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let r=t.get();n[e]=function(e,t){let r=.5,n=nc(e),o=nc(t);return o>n?r=rk(t.min,t.max-n,e.min):n>o&&(r=rk(e.min,e.max-o,t.min)),G(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),n_(t=>{if(!nH(t,e,null))return;let r=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];r.set(rS(o,i,n[t]))})}addListeners(){if(!this.visualElement.current)return;nV.set(this.visualElement,this);let e=eV(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();b(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),t();let o=eD(window,"resize",()=>this.scalePositionWithinConstraints()),i=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(n_(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),n(),i&&i()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:o=!1,dragElastic:i=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function nH(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class nU extends eX{constructor(e){super(e),this.removeGroupControls=e1.Z,this.removeListeners=e1.Z,this.controls=new nW(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||e1.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let nq=e=>(t,r)=>{e&&eB.Wi.postRender(()=>e(t,r))};
309class nG extends eX{constructor(){super(...arguments),this.removePointerDownListener=e1.Z}onPointerDown(e){this.session=new ni(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nN(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:nq(e),onStart:nq(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&eB.Wi.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=eV(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var nZ=r(5947);let nY={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nX(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let nK={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!ei.test(e))return e;e=parseFloat(e)}let r=nX(e,t.target.x),n=nX(e,t.target.y);return`${r}% ${n}%`}};class nJ extends l.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:o}=e;Object.assign(z,n0),o&&(t.group&&t.group.add(o),r&&r.register&&n&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),nY.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:o}=this.props,i=r.projection;return i&&(i.isPresent=o,n||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent===o||(o?i.promote():i.relegate()||eB.Wi.postRender(()=>{let e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),g.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nQ(e){let[t,r]=(0,nZ.oO)(),n=(0,l.useContext)(T.p);return(0,s.jsx)(nJ,{...e,layoutGroup:n,switchLayoutGroup:(0,l.useContext)(A),isPresent:t,safeToRemove:r})}let n0={borderRadius:{...nK,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:nK,borderTopRightRadius:nK,borderBottomLeftRadius:nK,borderBottomRightRadius:nK,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=tK.parse(e);if(n.length>5)return e;let o=tK.createTransformer(e),i="number"!=typeof n[0]?1:0,a=r.x.scale*t.x,s=r.y.scale*t.y;n[0+i]/=a,n[1+i]/=s;let l=rS(a,s,.5);return"number"==typeof n[2+i]&&(n[2+i]/=l),"number"==typeof n[3+i]&&(n[3+i]/=l),o(n)}}},n1=["TopLeft","TopRight","BottomLeft","BottomRight"],n2=n1.length,n5=e=>"string"==typeof e?parseFloat(e):e,n4=e=>"number"==typeof e||ei.test(e);function n3(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let n6=n8(0,.5,rm),n9=n8(.5,.95,e1.Z);function n8(e,t,r){return n=>n<e?0:n>t?1:r(rk(e,t,n))}function n7(e,t){e.min=t.min,e.max=t.max}function oe(e,t){n7(e.x,t.x),n7(e.y,t.y)}function ot(e,t,r,n,o){return e-=t,e=n+1/r*(e-n),void 0!==o&&(e=n+1/o*(e-n)),e}function or(e,t,[r,n,o],i,a){!function(e,t=0,r=1,n=.5,o,i=e,a=e){if(eo.test(t)&&(t=parseFloat(t),t=rS(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=rS(i.min,i.max,n);e===i&&(s-=t),e.min=ot(e.min,t,r,s,o),e.max=ot(e.max,t,r,s,o)}(e,t[r],t[n],t[o],t.scale,i,a)}let on=["x","scaleX","originX"],oo=["y","scaleY","originY"];function oi(e,t,r,n){or(e.x,t,on,r?r.x:void 0,n?n.x:void 0),or(e.y,t,oo,r?r.y:void 0,n?n.y:void 0)}function oa(e){return 0===e.translate&&1===e.scale}function os(e){return oa(e.x)&&oa(e.y)}function ol(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function ou(e){return nc(e.x)/nc(e.y)}class oc{constructor(){this.members=[]}add(e){rJ(this.members,e),e.scheduleRender()}remove(e){if(rQ(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){let t;let r=this.members.findIndex(t=>e===t);if(0===r)return!1;for(let e=r;e>=0;e--){let r=this.members[e];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;!1===n&&r.hide()}}
309exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function od(e,t,r){let n="",o=e.x.translate/t.x,i=e.y.translate/t.y,a=(null==r?void 0:r.z)||0;if((o||i||a)&&(n=`translate3d(${o}px, ${i}px, ${a}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:o,rotateY:i,skewX:a,skewY:s}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),o&&(n+=`rotateX(${o}deg) `),i&&(n+=`rotateY(${i}deg) `),a&&(n+=`skewX(${a}deg) `),s&&(n+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(n+=`scale(${s}, ${l})`),n||"none"}let of=(e,t)=>e.depth-t.depth;class oh{constructor(){this.children=[],this.isDirty=!1}add(e){rJ(this.children,e),this.isDirty=!0}remove(e){rQ(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(of),this.isDirty=!1,this.children.forEach(e)}}let op=["","X","Y","Z"],om={visibility:"hidden"},og=0,ov={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function ob(e,t,r,n){let{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function oy({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(e={},r=null==t?void 0:t()){this.id=og++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ov.totalNodes=ov.resolvedTargetDeltas=ov.recalculatedProjection=0,this.nodes.forEach(ok),this.nodes.forEach(oT),this.nodes.forEach(oA),this.nodes.forEach(oS),window.MotionDebug&&window.MotionDebug.record(ov)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new oh)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new r0),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:n,layout:o,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(o||n)&&(this.isLayoutDirty=!0),e){let r;let n=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){let r=tm.now(),n=({timestamp:t})=>{let o=t-r;o>=250&&((0,eB.Pn)(n),e(o-250))};return eB.Wi.read(n,!0),()=>(0,eB.Pn)(n)}(n,0),nY.hasAnimatedSinceResize&&(nY.hasAnimatedSinceResize=!1,this.nodes.forEach(oE))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&i&&(n||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||o$,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!ol(this.targetLayout,n)||r,u=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...tu(o,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||oE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}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,(0,eB.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
309h(oR),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(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,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(o_);return}this.isUpdating||this.nodes.forEach(oj),this.isUpdating=!1,window.HandoffCancelAllAnimations&&window.HandoffCancelAllAnimations(),this.nodes.forEach(oP),this.nodes.forEach(ox),this.nodes.forEach(ow),this.clearAllSnapshots();let e=tm.now();eB.frameData.delta=G(0,1e3/60,e-eB.frameData.timestamp),eB.frameData.timestamp=e,eB.frameData.isProcessing=!0,eB.S6.update.process(eB.frameData),eB.S6.preRender.process(eB.frameData),eB.S6.render.process(eB.frameData),eB.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,g.read(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(oC),this.sharedNodes.forEach(oM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eB.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eB.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}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.layoutCorrected=nC(),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);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!o)return;let e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!os(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,i=n!==this.prevTransformTemplateValue;e&&(t||nT(this.latestValues)||i)&&(o(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),oI((t=n).x),oI(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return nC();let t=e.measureViewportBox(),{scroll:r}=this.root;return r&&(nB(t.x,r.offset.x),nB(t.y,r.offset.y)),t}removeElementScroll(e){let t=nC();oe(t,e);for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:o,options:i}=n;if(n!==this.root&&o&&i.layoutScroll){if(o.isRoot){oe(t,e);let{scroll:r}=this.root;r&&(nB(t.x,-r.offset.x),nB(t.y,-r.offset.y))}nB(t.x,o.offset.x),nB(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){let r=nC();oe(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&&nI(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),nT(n.latestValues)&&nI(r,n.latestValues)}return nT(this.latestValues)&&nI(r,this.latestValues),r}removeTransform(e){let t=nC();oe(t,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!nT(r.latestValues))continue;nE(r.latestValues)&&r.updateSnapshot();let n=nC();oe(n,r.measurePageBox()),oi(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return nT(this.latestValues)&&oi(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||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!==eB.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,r,n,o;let i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);let a=!!this.resumingFrom||this!==i;if(!(e||a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:s,layoutId:l}=this.options;if(this.layout&&(s||l)){if(this.resolvedRelativeTargetAt=eB.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nC(),this.relativeTargetOrigin=nC(),ng(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),oe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=nC(),this.targetWithTransforms=nC()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),r=this.target,n=this.relativeTarget,o=this.relativeParent.target,np(r.x,n.x,o.x),np(r.y,n.y,o.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):oe(this.target,this.layout.layoutBox),nO(this.target,this.targetDelta)):oe(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nC(),this.relativeTargetOrigin=nC(),ng(this.relativeTargetOrigin,this.target,e.target),oe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ov.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||nE(this.parent.latestValues)||nA(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),r=!!this.resumingFrom||this!==t,n=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===eB.frameData.timestamp&&(n=!1),n)return;let{layout:o,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||!(o||i))return;oe(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,s=this.treeScale.y;!function(e,t,r,n=!1){let o,i;let a=r.length;if(a){t.x=t.y=1;for(let s=0;s<a;s++){i=(o=r[s]).projectionDelta;let a=o.instance;(!a||!a.style||"contents"!==a.style.display)&&(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&nI(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,nO(e,i)),n&&nT(o.latestValues)&&nI(e,o.latestValues))}t.x=nz(t.x),t.y=nz(t.y)}}(this.layoutCorrected,this.treeScale,this.path,r),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=nC());let{target:l}=t;if(!l){this.projectionTransform&&(this.projectionDelta=nk(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=nk(),this.projectionDeltaWithTransform=nk());let u=this.projectionTransform;nh(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=od(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==a||this.treeScale.y!==s)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),ov.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){let r;let n=this.snapshot,o=n?n.latestValues:{},i={...this.latestValues},a=nk();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=nC(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(oB));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(oO(a.x,e.x,n),oO(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,f,h,p;ng(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h=this.relativeTarget,p=this.relativeTargetOrigin,oz(h.x,p.x,s.x,n),oz(h.y,p.y,s.y,n),r&&(u=this.relativeTarget,f=r,u.x.min===f.x.min&&u.x.max===f.x.max&&u.y.min===f.y.min&&u.y.max===f.y.max)&&(this.isProjectionDirty=!1),r||(r=nC()),oe(r,this.relativeTarget)}l&&(this.animationValues=i,function(e,t,r,n,o,i){o?(e.opacity=rS(0,void 0!==r.opacity?r.opacity:1,n6(n)),e.opacityExit=rS(void 0!==t.opacity?t.opacity:1,0,n9(n))):i&&(e.opacity=rS(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let o=0;o<n2;o++){let i=`border${n1[o]}Radius`,a=n3(t,i),s=n3(r,i);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||n4(a)===n4(s)?(e[i]=Math.max(rS(n5(a),n5(s),n),0),(eo.test(s)||eo.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||r.rotate)&&(e.rotate=rS(t.rotate||0,r.rotate||0,n))}(i,o,this.latestValues,n,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,eB.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eB.Wi.update(()=>{nY.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){let n=D(0)?0:r4(0);return n.start(rX("",n,1e3,r)),n.animation}(0,0,{...e,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(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:o}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&oL(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||nC();let t=nc(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=nc(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}oe(t,r),nI(t,o),nh(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new oc),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}
309resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&ob("z",e,n,this.animationValues);for(let t=0;t<op.length;t++)ob(`rotate${op[t]}`,e,n,this.animationValues),ob(`skew${op[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}getProjectionStyles(e){var t,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return om;let n={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=eO(null==e?void 0:e.pointerEvents)||"",n.transform=o?o(this.latestValues,""):"none",n;let i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=eO(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!nT(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}let a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),n.transform=od(this.projectionDeltaWithTransform,this.treeScale,a),o&&(n.transform=o(a,n.transform));let{x:s,y:l}=this.projectionDelta;for(let e in n.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,i.animationValues?n.opacity=i===this?null!==(r=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:n.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,z){if(void 0===a[e])continue;let{correct:t,applyTo:r}=z[e],o="none"===n.transform?a[e]:t(a[e],i);if(r){let e=r.length;for(let t=0;t<e;t++)n[r[t]]=o}else n[e]=o}return this.options.layoutId&&(n.pointerEvents=i===this?eO(null==e?void 0:e.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(o_),this.root.sharedNodes.clear()}}}function ox(e){e.updateLayout()}function ow(e){var t;let r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:n}=e.layout,{animationType:o}=e.options,i=r.source!==e.layout.source;"size"===o?n_(e=>{let n=i?r.measuredBox[e]:r.layoutBox[e],o=nc(n);n.min=t[e].min,n.max=n.min+o}):oL(o,r.layoutBox,t)&&n_(n=>{let o=i?r.measuredBox[n]:r.layoutBox[n],a=nc(t[n]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)});let a=nk();nh(a,t,r.layoutBox);let s=nk();i?nh(s,e.applyTransform(n,!0),r.measuredBox):nh(s,t,r.layoutBox);let l=!os(a),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:o,layout:i}=n;if(o&&i){let a=nC();ng(a,r.layoutBox,o.layoutBox);let s=nC();ng(s,t,i.layoutBox),ol(a,s)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function ok(e){ov.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function oS(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function oC(e){e.clearSnapshot()}function o_(e){e.clearMeasurements()}function oj(e){e.isLayoutDirty=!1}function oP(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function oE(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function oT(e){e.resolveTargetDelta()}function oA(e){e.calcProjection()}
309function oR(e){e.resetSkewAndRotation()}function oM(e){e.removeLeadSnapshot()}function oO(e,t,r){e.translate=rS(t.translate,0,r),e.scale=rS(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function oz(e,t,r,n){e.min=rS(t.min,r.min,n),e.max=rS(t.max,r.max,n)}function oB(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let o$={duration:.45,ease:[.4,0,.1,1]},oF=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),oD=oF("applewebkit/")&&!oF("chrome/")?Math.round:e1.Z;function oI(e){e.min=oD(e.min),e.max=oD(e.max)}function oL(e,t,r){return"position"===e||"preserve-aspect"===e&&!nd(ou(t),ou(r),.2)}let oN=oy({attachResizeListener:(e,t)=>eD(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),oV={current:void 0},oW=oy({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!oV.current){let e=new oN({});e.mount(window),e.setOptions({layoutScroll:!0}),oV.current=e}return oV.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position}),oH={current:null},oU={current:!1},oq=new WeakMap,oG=[...tE,tW,tK],oZ=e=>oG.find(tP(e)),oY=Object.keys(P),oX=oY.length,oK=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],oJ=k.length;class oQ{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:o,visualState:i},a={}){this.resolveKeyframes=(e,t,r,n)=>new this.KeyframeResolver(e,t,r,n,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tB,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>eB.Wi.render(this.render,!1,!0);let{latestValues:s,renderState:l}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=S(t),this.isVariantNode=C(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==s[e]&&D(t)&&(t.set(s[e],!1),rK(u)&&u.add(e))}}mount(e){this.current=e,oq.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.forEach((e,t)=>this.bindToMotionValue(t,e)),oU.current||function(){if(oU.current=!0,E.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>oH.current=e.matches;e.addListener(t),t()}else oH.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||oH.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var e;for(let e in oq.delete(this.current),this.projection&&this.projection.unmount(),(0,eB.Pn)(this.notifyUpdate),(0,eB.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let t in this.features)null===(e=this.features[t])||void 0===e||e.unmount();this.current=null}bindToMotionValue(e,t){let r=$.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eB.Wi.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),o(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,n,o){let i,a;for(let e=0;e<oX;e++){let r=oY[e],{isEnabled:n,Feature:o,ProjectionNode:s,MeasureLayout:l}=P[r];s&&(i=s),n(t)&&(!this.features[r]&&o&&(this.features[r]=new o(this)),l&&(a=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&i){this.projection=new i(this.latestValues,function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(this.parent));let{layoutId:e,layout:r,drag:n,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:!!n||a&&b(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:o,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(let e in this.features){let t=this.features[e];
309t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nC()}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<oK.length;t++){let r=oK[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){let{willChange:n}=t;for(let o in t){let i=t[o],a=r[o];if(D(i))e.addValue(o,i),rK(n)&&n.add(o);else if(D(a))e.addValue(o,r4(i,{owner:e})),rK(n)&&n.remove(o);else if(a!==i){if(e.hasValue(o)){let t=e.getValue(o);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(o);e.addValue(o,r4(void 0!==t?t:i,{owner:e}))}}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(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}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<oJ;e++){let r=k[e],n=this.props[r];(y(n)||!1===n)&&(t[r]=n)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&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 r=this.values.get(e);return void 0===r&&void 0!==t&&(r=r4(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){var r;let n=void 0===this.latestValues[e]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,e))&&void 0!==r?r:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=n&&("string"==typeof n&&(tb(n)||tg(n))?n=parseFloat(n):!oZ(n)&&tK.test(t)&&(n=t4(e,t)),this.setBaseTarget(e,D(n)?n.get():n)),D(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let r;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let o=eE(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);o&&(r=o[e])}if(n&&void 0!==r)return r;let o=this.getBaseTargetFromProps(this.props,e);return void 0===o||D(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new r0),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class o0 extends oQ{constructor(){super(...arguments),this.KeyframeResolver=t6}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}}class o1 extends o0{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if($.has(t)){let e=t5(t);return e&&e.default||0}{let r=window.getComputedStyle(e),n=(V(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return nL(e,t)}build(e,t,r,n){ed(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return ej(e,t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;D(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,r,n){eS(e,t,r,n)}}class o2 extends o0{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if($.has(t)){let e=t5(t);return e&&e.default||0}return t=eC.has(t)?t:p(t),e.getAttribute(t)}measureInstanceViewportBox(){return nC()}scrapeMotionValuesFromProps(e,t,r){return eP(e,t,r)}
309build(e,t,r,n){ex(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){e_(e,t,r,n)}mount(e){this.isSVGTag=ek(e.tagName),super.mount(e)}}let o5=(e,t)=>O(e)?new o2(t,{enableHardwareAcceleration:!1}):new o1(t,{allowProjection:e!==l.Fragment,enableHardwareAcceleration:!0}),o4={animation:{Feature:nt},exit:{Feature:nn},inView:{Feature:e7},tap:{Feature:e5},focus:{Feature:eQ},hover:{Feature:eJ},pan:{Feature:nG},drag:{Feature:nU,ProjectionNode:oW,MeasureLayout:nQ},layout:{ProjectionNode:oW,MeasureLayout:nQ}},o3=function(e){function t(t,r={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&function(e){for(let t in e)P[t]={...P[t],...e[t]}}(e);let i=(0,l.forwardRef)(function(i,a){var p;let v;let x={...(0,l.useContext)(u._),...i,layoutId:function({layoutId:e}){let t=(0,l.useContext)(T.p).id;return t&&void 0!==e?t+"-"+e:e}(i)},{isStatic:w}=x,k=function(e){let{initial:t,animate:r}=function(e,t){if(S(e)){let{initial:t,animate:r}=e;return{initial:!1===t||y(t)?t:void 0,animate:y(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,l.useContext)(c));return(0,l.useMemo)(()=>({initial:t,animate:r}),[_(t),_(r)])}(i),C=n(i,w);if(!w&&E.j){k.visualElement=function(e,t,r,n){let{visualElement:o}=(0,l.useContext)(c),i=(0,l.useContext)(h),a=(0,l.useContext)(d.O),s=(0,l.useContext)(u._).reducedMotion,p=(0,l.useRef)();n=n||i.renderer,!p.current&&n&&(p.current=n(e,{visualState:t,parent:o,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));let v=p.current;(0,l.useInsertionEffect)(()=>{v&&v.update(r,a)});let b=(0,l.useRef)(!!(r[m]&&!window.HandoffComplete));return(0,f.L)(()=>{v&&(g.postRender(v.render),b.current&&v.animationState&&v.animationState.animateChanges())}),(0,l.useEffect)(()=>{v&&(v.updateFeatures(),!b.current&&v.animationState&&v.animationState.animateChanges(),b.current&&(b.current=!1,window.HandoffComplete=!0))}),v}(o,C,x,t);let r=(0,l.useContext)(A),n=(0,l.useContext)(h).strict;k.visualElement&&(v=k.visualElement.loadFeatures(x,n,e,r))}return(0,s.jsxs)(c.Provider,{value:k,children:[v&&k.visualElement?(0,s.jsx)(v,{visualElement:k.visualElement,...x}):null,r(o,i,(p=k.visualElement,(0,l.useCallback)(e=>{e&&C.mount&&C.mount(e),p&&(e?p.mount(e):p.unmount()),a&&("function"==typeof a?a(e):b(a)&&(a.current=e))},[p])),C,w,k.visualElement)]})});return i[R]=o,i}(e(t,r))}if("undefined"==typeof Proxy)return t;let r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},r,n){return{...O(e)?e$:eF,preloadedFeatures:r,useRender:function(e=!1){return(t,r,n,{latestValues:o},i)=>{let a=(O(t)?function(e,t,r,n){let o=(0,l.useMemo)(()=>{let r=ew();return ex(r,t,{enableHardwareAcceleration:!1},ek(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};eh(t,e.style,e),o.style={...t,...o.style}}return o}:function(e,t,r){let n={},o=function(e,t,r){let n=e.style||{},o={};return eh(o,n,e),Object.assign(o,function({transformTemplate:e},t,r){return(0,l.useMemo)(()=>{let n=ef();return ed(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}(e,t,r)),o}(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n})(r,o,i,t),s=function(e,t,r){let n={};for(let o in e)("values"!==o||"object"!=typeof e.values)&&(eg(o)||!0===r&&em(o)||!t&&!em(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}(r,"string"==typeof t,e),u=t!==l.Fragment?{...s,...a,ref:n}:{},{children:c}=r,d=(0,l.useMemo)(()=>D(c)?c.get():c,[c]);return(0,l.createElement)(t,{...u,children:d})}}(t),createVisualElement:n,Component:e}})(e,t,o4,o5))},2081:function(e,t,r){"use strict";r.d(t,{c:function(){return n}});let n={skipAnimations:!1,useManualTiming:!1}},5487:function(e,t,r){"use strict";r.d(t,{K:function(){return o},k:function(){return i}});var n=r(1662);let o=n.Z,i=n.Z},1741:function(e,t,r){"use strict";r.d(t,{j:function(){return n}});let n="undefined"!=typeof document},1662:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=e=>e},6681:function(e,t,r){"use strict";r.d(t,{h:function(){return o}});var n=r(7294);function o(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},8868:function(e,t,r){"use strict";r.d(t,{L:function(){return o}});var n=r(7294);
309let o=r(1741).j?n.useLayoutEffect:n.useEffect}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(9090)}),_N_E=e.O()}]);
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.