misaki-studio-internal 0.1.17 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- (()=>{var e,t,n={12:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},15:e=>{"use strict";e.exports=require("react")},18:(e,t,n)=>{"use strict";var r=n(516);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},19:(e,t,n)=>{"use strict";var r=n(516);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},85:(e,t,n)=>{"use strict";e.exports=n(335)},106:(e,t,n)=>{"use strict";var r=n(516);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var s=[];r.forEach(t,function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(i(t)+"="+i(e))}))}),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},137:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},155:(e,t,n)=>{"use strict";var r=n(516),i=n(106),o=n(471),s=n(490),a=n(343),u=n(841),c=u.validators;function l(e){this.defaults=e,this.interceptors={request:new o,response:new o}}l.prototype.request=function(e,t){if("string"==typeof e?(t=t||{}).url=e:t=e||{},!t.url)throw new Error("Provided config url is not valid");(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&u.assertOptions(n,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,r.unshift(e.fulfilled,e.rejected))});var o,l=[];if(this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)}),!i){var f=[s,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(l),o=Promise.resolve(t);f.length;)o=o.then(f.shift(),f.shift());return o}for(var p=t;r.length;){var d=r.shift(),h=r.shift();try{p=d(p)}catch(e){h(e);break}}try{o=s(p)}catch(e){return Promise.reject(e)}for(;l.length;)o=o.then(l.shift(),l.shift());return o},l.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=a(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(e){l.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}}),r.forEach(["post","put","patch"],function(e){l.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}}),e.exports=l},191:(e,t,n)=>{"use strict";var r=n(928);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;this.promise.then(function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}}),this.promise.then=function(e){var t,r=new Promise(function(e){n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},202:(e,t,n)=>{"use strict";var r=n(516);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},335:(e,t,n)=>{"use strict";var r=n(15),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,l=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,r)&&!u.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:l,props:o,_owner:a.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},343:(e,t,n)=>{"use strict";var r=n(516);e.exports=function(e,t){t=t||{};var n={};function i(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(e[n],t[n])}function s(e){if(!r.isUndefined(t[e]))return i(void 0,t[e])}function a(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(void 0,t[n])}function u(n){return n in t?i(e[n],t[n]):n in e?i(void 0,e[n]):void 0}var c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return r.forEach(Object.keys(e).concat(Object.keys(t)),function(e){var t=c[e]||o,i=t(e);r.isUndefined(i)&&t!==u||(n[e]=i)}),n}},396:(e,t,n)=>{"use strict";var r=n(516),i=n(12),o=n(155),s=n(343),a=function e(t){var n=new o(t),a=i(o.prototype.request,n);return r.extend(a,o.prototype,n),r.extend(a,n),a.create=function(n){return e(s(t,n))},a}(n(987));a.Axios=o,a.Cancel=n(928),a.CancelToken=n(191),a.isCancel=n(864),a.VERSION=n(641).version,a.all=function(e){return Promise.all(e)},a.spread=n(980),a.isAxiosError=n(19),e.exports=a,e.exports.default=a},449:e=>{"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},471:(e,t,n)=>{"use strict";var r=n(516);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},490:(e,t,n)=>{"use strict";var r=n(516),i=n(881),o=n(864),s=n(987),a=n(928);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a("canceled")}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return u(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},505:(e,t,n)=>{e.exports=n(396)},516:(e,t,n)=>{"use strict";var r=n(12),i=Object.prototype.toString;function o(e){return Array.isArray(e)}function s(e){return void 0===e}function a(e){return"[object ArrayBuffer]"===i.call(e)}function u(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===i.call(e)}function f(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:a,isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===i.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&a(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:u,isPlainObject:c,isUndefined:s,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:l,isStream:function(e){return u(e)&&l(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===i.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)f(arguments[r],n);return t},extend:function(e,t,n){return f(t,function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t}),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},522:(e,t,n)=>{"use strict";var r=n(763);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},543:function(e,t,n){var r;e=n.nmd(e),function(){var i,o="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",u=32,c=128,l=1/0,f=9007199254740991,p=NaN,d=4294967295,h=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",u],["partialRight",64],["rearg",256]],g="[object Arguments]",m="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",_="[object Function]",x="[object GeneratorFunction]",w="[object Map]",E="[object Number]",T="[object Object]",S="[object Promise]",R="[object RegExp]",O="[object Set]",A="[object String]",I="[object Symbol]",L="[object WeakMap]",N="[object ArrayBuffer]",C="[object DataView]",k="[object Float32Array]",P="[object Float64Array]",j="[object Int8Array]",D="[object Int16Array]",z="[object Int32Array]",M="[object Uint8Array]",$="[object Uint8ClampedArray]",B="[object Uint16Array]",U="[object Uint32Array]",F=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,G=RegExp(q.source),V=RegExp(Y.source),X=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,ie=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,ae=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,le=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,de=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ve=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,_e=/['\n\r\u2028\u2029\\]/g,xe="\\ud800-\\udfff",we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",Se="A-Z\\xc0-\\xd6\\xd8-\\xde",Re="\\ufe0e\\ufe0f",Oe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ae="["+xe+"]",Ie="["+Oe+"]",Le="["+we+"]",Ne="\\d+",Ce="["+Ee+"]",ke="["+Te+"]",Pe="[^"+xe+Oe+Ne+Ee+Te+Se+"]",je="\\ud83c[\\udffb-\\udfff]",De="[^"+xe+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Me="[\\ud800-\\udbff][\\udc00-\\udfff]",$e="["+Se+"]",Be="\\u200d",Ue="(?:"+ke+"|"+Pe+")",Fe="(?:"+$e+"|"+Pe+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",He="(?:['’](?:D|LL|M|RE|S|T|VE))?",qe="(?:"+Le+"|"+je+")?",Ye="["+Re+"]?",Ge=Ye+qe+"(?:"+Be+"(?:"+[De,ze,Me].join("|")+")"+Ye+qe+")*",Ve="(?:"+[Ce,ze,Me].join("|")+")"+Ge,Xe="(?:"+[De+Le+"?",Le,ze,Me,Ae].join("|")+")",Ze=RegExp("['’]","g"),Ke=RegExp(Le,"g"),Je=RegExp(je+"(?="+je+")|"+Xe+Ge,"g"),Qe=RegExp([$e+"?"+ke+"+"+We+"(?="+[Ie,$e,"$"].join("|")+")",Fe+"+"+He+"(?="+[Ie,$e+Ue,"$"].join("|")+")",$e+"?"+Ue+"+"+We,$e+"+"+He,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,Ve].join("|"),"g"),et=RegExp("["+Be+xe+we+Re+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,it={};it[k]=it[P]=it[j]=it[D]=it[z]=it[M]=it[$]=it[B]=it[U]=!0,it[g]=it[m]=it[N]=it[v]=it[C]=it[y]=it[b]=it[_]=it[w]=it[E]=it[T]=it[R]=it[O]=it[A]=it[L]=!1;var ot={};ot[g]=ot[m]=ot[N]=ot[C]=ot[v]=ot[y]=ot[k]=ot[P]=ot[j]=ot[D]=ot[z]=ot[w]=ot[E]=ot[T]=ot[R]=ot[O]=ot[A]=ot[I]=ot[M]=ot[$]=ot[B]=ot[U]=!0,ot[b]=ot[_]=ot[L]=!1;var st={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},at=parseFloat,ut=parseInt,ct="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,lt="object"==typeof self&&self&&self.Object===Object&&self,ft=ct||lt||Function("return this")(),pt=t&&!t.nodeType&&t,dt=pt&&e&&!e.nodeType&&e,ht=dt&&dt.exports===pt,gt=ht&&ct.process,mt=function(){try{return dt&&dt.require&&dt.require("util").types||gt&&gt.binding&&gt.binding("util")}catch(e){}}(),vt=mt&&mt.isArrayBuffer,yt=mt&&mt.isDate,bt=mt&&mt.isMap,_t=mt&&mt.isRegExp,xt=mt&&mt.isSet,wt=mt&&mt.isTypedArray;function Et(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Tt(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r}function St(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Rt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ot(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function At(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}function It(e,t){return!(null==e||!e.length)&&$t(e,t,0)>-1}function Lt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Nt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Ct(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function kt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Pt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function jt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Dt=Wt("length");function zt(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function Mt(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function $t(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Mt(e,Ut,n)}function Bt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function Ut(e){return e!=e}function Ft(e,t){var n=null==e?0:e.length;return n?Yt(e,t)/n:p}function Wt(e){return function(t){return null==t?i:t[e]}}function Ht(e){return function(t){return null==e?i:e[t]}}function qt(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function Yt(e,t){for(var n,r=-1,o=e.length;++r<o;){var s=t(e[r]);s!==i&&(n=n===i?s:n+s)}return n}function Gt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Vt(e){return e?e.slice(0,pn(e)+1).replace(re,""):e}function Xt(e){return function(t){return e(t)}}function Zt(e,t){return Nt(t,function(t){return e[t]})}function Kt(e,t){return e.has(t)}function Jt(e,t){for(var n=-1,r=e.length;++n<r&&$t(t,e[n],0)>-1;);return n}function Qt(e,t){for(var n=e.length;n--&&$t(t,e[n],0)>-1;);return n}var en=Ht({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tn=Ht({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function nn(e){return"\\"+st[e]}function rn(e){return et.test(e)}function on(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function sn(e,t){return function(n){return e(t(n))}}function an(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n];s!==t&&s!==a||(e[n]=a,o[i++]=n)}return o}function un(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function cn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function ln(e){return rn(e)?function(e){for(var t=Je.lastIndex=0;Je.test(e);)++t;return t}(e):Dt(e)}function fn(e){return rn(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.split("")}(e)}function pn(e){for(var t=e.length;t--&&ie.test(e.charAt(t)););return t}var dn=Ht({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),hn=function e(t){var n,r=(t=null==t?ft:hn.defaults(ft.Object(),t,hn.pick(ft,nt))).Array,ie=t.Date,xe=t.Error,we=t.Function,Ee=t.Math,Te=t.Object,Se=t.RegExp,Re=t.String,Oe=t.TypeError,Ae=r.prototype,Ie=we.prototype,Le=Te.prototype,Ne=t["__core-js_shared__"],Ce=Ie.toString,ke=Le.hasOwnProperty,Pe=0,je=(n=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",De=Le.toString,ze=Ce.call(Te),Me=ft._,$e=Se("^"+Ce.call(ke).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Be=ht?t.Buffer:i,Ue=t.Symbol,Fe=t.Uint8Array,We=Be?Be.allocUnsafe:i,He=sn(Te.getPrototypeOf,Te),qe=Te.create,Ye=Le.propertyIsEnumerable,Ge=Ae.splice,Ve=Ue?Ue.isConcatSpreadable:i,Xe=Ue?Ue.iterator:i,Je=Ue?Ue.toStringTag:i,et=function(){try{var e=uo(Te,"defineProperty");return e({},"",{}),e}catch(e){}}(),st=t.clearTimeout!==ft.clearTimeout&&t.clearTimeout,ct=ie&&ie.now!==ft.Date.now&&ie.now,lt=t.setTimeout!==ft.setTimeout&&t.setTimeout,pt=Ee.ceil,dt=Ee.floor,gt=Te.getOwnPropertySymbols,mt=Be?Be.isBuffer:i,Dt=t.isFinite,Ht=Ae.join,gn=sn(Te.keys,Te),mn=Ee.max,vn=Ee.min,yn=ie.now,bn=t.parseInt,_n=Ee.random,xn=Ae.reverse,wn=uo(t,"DataView"),En=uo(t,"Map"),Tn=uo(t,"Promise"),Sn=uo(t,"Set"),Rn=uo(t,"WeakMap"),On=uo(Te,"create"),An=Rn&&new Rn,In={},Ln=zo(wn),Nn=zo(En),Cn=zo(Tn),kn=zo(Sn),Pn=zo(Rn),jn=Ue?Ue.prototype:i,Dn=jn?jn.valueOf:i,zn=jn?jn.toString:i;function Mn(e){if(ea(e)&&!Ws(e)&&!(e instanceof Fn)){if(e instanceof Un)return e;if(ke.call(e,"__wrapped__"))return Mo(e)}return new Un(e)}var $n=function(){function e(){}return function(t){if(!Qs(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Bn(){}function Un(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Fn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=d,this.__views__=[]}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new qn;++t<n;)this.add(e[t])}function Gn(e){var t=this.__data__=new Hn(e);this.size=t.size}function Vn(e,t){var n=Ws(e),r=!n&&Fs(e),i=!n&&!r&&Gs(e),o=!n&&!r&&!i&&ua(e),s=n||r||i||o,a=s?Gt(e.length,Re):[],u=a.length;for(var c in e)!t&&!ke.call(e,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||mo(c,u))||a.push(c);return a}function Xn(e){var t=e.length;return t?e[qr(0,t-1)]:i}function Zn(e,t){return Co(Ri(e),or(t,0,e.length))}function Kn(e){return Co(Ri(e))}function Jn(e,t,n){(n!==i&&!$s(e[t],n)||n===i&&!(t in e))&&rr(e,t,n)}function Qn(e,t,n){var r=e[t];ke.call(e,t)&&$s(r,n)&&(n!==i||t in e)||rr(e,t,n)}function er(e,t){for(var n=e.length;n--;)if($s(e[n][0],t))return n;return-1}function tr(e,t,n,r){return lr(e,function(e,i,o){t(r,e,n(e),o)}),r}function nr(e,t){return e&&Oi(t,La(t),e)}function rr(e,t,n){"__proto__"==t&&et?et(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ir(e,t){for(var n=-1,o=t.length,s=r(o),a=null==e;++n<o;)s[n]=a?i:Sa(e,t[n]);return s}function or(e,t,n){return e==e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function sr(e,t,n,r,o,s){var a,u=1&t,c=2&t,l=4&t;if(n&&(a=o?n(e,r,o,s):n(e)),a!==i)return a;if(!Qs(e))return e;var f=Ws(e);if(f){if(a=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ke.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!u)return Ri(e,a)}else{var p=fo(e),d=p==_||p==x;if(Gs(e))return _i(e,u);if(p==T||p==g||d&&!o){if(a=c||d?{}:ho(e),!u)return c?function(e,t){return Oi(e,lo(e),t)}(e,function(e,t){return e&&Oi(t,Na(t),e)}(a,e)):function(e,t){return Oi(e,co(e),t)}(e,nr(a,e))}else{if(!ot[p])return o?e:{};a=function(e,t,n){var r,i=e.constructor;switch(t){case N:return xi(e);case v:case y:return new i(+e);case C:return function(e,t){var n=t?xi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case k:case P:case j:case D:case z:case M:case $:case B:case U:return wi(e,n);case w:return new i;case E:case A:return new i(e);case R:return function(e){var t=new e.constructor(e.source,pe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case O:return new i;case I:return r=e,Dn?Te(Dn.call(r)):{}}}(e,p,u)}}s||(s=new Gn);var h=s.get(e);if(h)return h;s.set(e,a),oa(e)?e.forEach(function(r){a.add(sr(r,t,n,r,e,s))}):ta(e)&&e.forEach(function(r,i){a.set(i,sr(r,t,n,i,e,s))});var m=f?i:(l?c?to:eo:c?Na:La)(e);return St(m||e,function(r,i){m&&(r=e[i=r]),Qn(a,i,sr(r,t,n,i,e,s))}),a}function ar(e,t,n){var r=n.length;if(null==e)return!r;for(e=Te(e);r--;){var o=n[r],s=t[o],a=e[o];if(a===i&&!(o in e)||!s(a))return!1}return!0}function ur(e,t,n){if("function"!=typeof e)throw new Oe(o);return Ao(function(){e.apply(i,n)},t)}function cr(e,t,n,r){var i=-1,o=It,s=!0,a=e.length,u=[],c=t.length;if(!a)return u;n&&(t=Nt(t,Xt(n))),r?(o=Lt,s=!1):t.length>=200&&(o=Kt,s=!1,t=new Yn(t));e:for(;++i<a;){var l=e[i],f=null==n?l:n(l);if(l=r||0!==l?l:0,s&&f==f){for(var p=c;p--;)if(t[p]===f)continue e;u.push(l)}else o(t,f,r)||u.push(l)}return u}Mn.templateSettings={escape:X,evaluate:Z,interpolate:K,variable:"",imports:{_:Mn}},Mn.prototype=Bn.prototype,Mn.prototype.constructor=Mn,Un.prototype=$n(Bn.prototype),Un.prototype.constructor=Un,Fn.prototype=$n(Bn.prototype),Fn.prototype.constructor=Fn,Wn.prototype.clear=function(){this.__data__=On?On(null):{},this.size=0},Wn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Wn.prototype.get=function(e){var t=this.__data__;if(On){var n=t[e];return n===s?i:n}return ke.call(t,e)?t[e]:i},Wn.prototype.has=function(e){var t=this.__data__;return On?t[e]!==i:ke.call(t,e)},Wn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=On&&t===i?s:t,this},Hn.prototype.clear=function(){this.__data__=[],this.size=0},Hn.prototype.delete=function(e){var t=this.__data__,n=er(t,e);return!(n<0||(n==t.length-1?t.pop():Ge.call(t,n,1),--this.size,0))},Hn.prototype.get=function(e){var t=this.__data__,n=er(t,e);return n<0?i:t[n][1]},Hn.prototype.has=function(e){return er(this.__data__,e)>-1},Hn.prototype.set=function(e,t){var n=this.__data__,r=er(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(En||Hn),string:new Wn}},qn.prototype.delete=function(e){var t=so(this,e).delete(e);return this.size-=t?1:0,t},qn.prototype.get=function(e){return so(this,e).get(e)},qn.prototype.has=function(e){return so(this,e).has(e)},qn.prototype.set=function(e,t){var n=so(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Yn.prototype.add=Yn.prototype.push=function(e){return this.__data__.set(e,s),this},Yn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.clear=function(){this.__data__=new Hn,this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Gn.prototype.get=function(e){return this.__data__.get(e)},Gn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Hn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new qn(r)}return n.set(e,t),this.size=n.size,this};var lr=Li(yr),fr=Li(br,!0);function pr(e,t){var n=!0;return lr(e,function(e,r,i){return n=!!t(e,r,i)}),n}function dr(e,t,n){for(var r=-1,o=e.length;++r<o;){var s=e[r],a=t(s);if(null!=a&&(u===i?a==a&&!aa(a):n(a,u)))var u=a,c=s}return c}function hr(e,t){var n=[];return lr(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function gr(e,t,n,r,i){var o=-1,s=e.length;for(n||(n=go),i||(i=[]);++o<s;){var a=e[o];t>0&&n(a)?t>1?gr(a,t-1,n,r,i):Ct(i,a):r||(i[i.length]=a)}return i}var mr=Ni(),vr=Ni(!0);function yr(e,t){return e&&mr(e,t,La)}function br(e,t){return e&&vr(e,t,La)}function _r(e,t){return At(t,function(t){return Zs(e[t])})}function xr(e,t){for(var n=0,r=(t=mi(t,e)).length;null!=e&&n<r;)e=e[Do(t[n++])];return n&&n==r?e:i}function wr(e,t,n){var r=t(e);return Ws(e)?r:Ct(r,n(e))}function Er(e){return null==e?e===i?"[object Undefined]":"[object Null]":Je&&Je in Te(e)?function(e){var t=ke.call(e,Je),n=e[Je];try{e[Je]=i;var r=!0}catch(e){}var o=De.call(e);return r&&(t?e[Je]=n:delete e[Je]),o}(e):function(e){return De.call(e)}(e)}function Tr(e,t){return e>t}function Sr(e,t){return null!=e&&ke.call(e,t)}function Rr(e,t){return null!=e&&t in Te(e)}function Or(e,t,n){for(var o=n?Lt:It,s=e[0].length,a=e.length,u=a,c=r(a),l=1/0,f=[];u--;){var p=e[u];u&&t&&(p=Nt(p,Xt(t))),l=vn(p.length,l),c[u]=!n&&(t||s>=120&&p.length>=120)?new Yn(u&&p):i}p=e[0];var d=-1,h=c[0];e:for(;++d<s&&f.length<l;){var g=p[d],m=t?t(g):g;if(g=n||0!==g?g:0,!(h?Kt(h,m):o(f,m,n))){for(u=a;--u;){var v=c[u];if(!(v?Kt(v,m):o(e[u],m,n)))continue e}h&&h.push(m),f.push(g)}}return f}function Ar(e,t,n){var r=null==(e=So(e,t=mi(t,e)))?e:e[Do(Xo(t))];return null==r?i:Et(r,e,n)}function Ir(e){return ea(e)&&Er(e)==g}function Lr(e,t,n,r,o){return e===t||(null==e||null==t||!ea(e)&&!ea(t)?e!=e&&t!=t:function(e,t,n,r,o,s){var a=Ws(e),u=Ws(t),c=a?m:fo(e),l=u?m:fo(t),f=(c=c==g?T:c)==T,p=(l=l==g?T:l)==T,d=c==l;if(d&&Gs(e)){if(!Gs(t))return!1;a=!0,f=!1}if(d&&!f)return s||(s=new Gn),a||ua(e)?Ji(e,t,n,r,o,s):function(e,t,n,r,i,o,s){switch(n){case C:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case N:return!(e.byteLength!=t.byteLength||!o(new Fe(e),new Fe(t)));case v:case y:case E:return $s(+e,+t);case b:return e.name==t.name&&e.message==t.message;case R:case A:return e==t+"";case w:var a=on;case O:var u=1&r;if(a||(a=un),e.size!=t.size&&!u)return!1;var c=s.get(e);if(c)return c==t;r|=2,s.set(e,t);var l=Ji(a(e),a(t),r,i,o,s);return s.delete(e),l;case I:if(Dn)return Dn.call(e)==Dn.call(t)}return!1}(e,t,c,n,r,o,s);if(!(1&n)){var h=f&&ke.call(e,"__wrapped__"),_=p&&ke.call(t,"__wrapped__");if(h||_){var x=h?e.value():e,S=_?t.value():t;return s||(s=new Gn),o(x,S,n,r,s)}}return!!d&&(s||(s=new Gn),function(e,t,n,r,o,s){var a=1&n,u=eo(e),c=u.length;if(c!=eo(t).length&&!a)return!1;for(var l=c;l--;){var f=u[l];if(!(a?f in t:ke.call(t,f)))return!1}var p=s.get(e),d=s.get(t);if(p&&d)return p==t&&d==e;var h=!0;s.set(e,t),s.set(t,e);for(var g=a;++l<c;){var m=e[f=u[l]],v=t[f];if(r)var y=a?r(v,m,f,t,e,s):r(m,v,f,e,t,s);if(!(y===i?m===v||o(m,v,n,r,s):y)){h=!1;break}g||(g="constructor"==f)}if(h&&!g){var b=e.constructor,_=t.constructor;b==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(h=!1)}return s.delete(e),s.delete(t),h}(e,t,n,r,o,s))}(e,t,n,r,Lr,o))}function Nr(e,t,n,r){var o=n.length,s=o,a=!r;if(null==e)return!s;for(e=Te(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<s;){var c=(u=n[o])[0],l=e[c],f=u[1];if(a&&u[2]){if(l===i&&!(c in e))return!1}else{var p=new Gn;if(r)var d=r(l,f,c,e,t,p);if(!(d===i?Lr(f,l,3,r,p):d))return!1}}return!0}function Cr(e){return!(!Qs(e)||(t=e,je&&je in t))&&(Zs(e)?$e:ge).test(zo(e));var t}function kr(e){return"function"==typeof e?e:null==e?nu:"object"==typeof e?Ws(e)?Mr(e[0],e[1]):zr(e):fu(e)}function Pr(e){if(!xo(e))return gn(e);var t=[];for(var n in Te(e))ke.call(e,n)&&"constructor"!=n&&t.push(n);return t}function jr(e,t){return e<t}function Dr(e,t){var n=-1,i=qs(e)?r(e.length):[];return lr(e,function(e,r,o){i[++n]=t(e,r,o)}),i}function zr(e){var t=ao(e);return 1==t.length&&t[0][2]?Eo(t[0][0],t[0][1]):function(n){return n===e||Nr(n,e,t)}}function Mr(e,t){return yo(e)&&wo(t)?Eo(Do(e),t):function(n){var r=Sa(n,e);return r===i&&r===t?Ra(n,e):Lr(t,r,3)}}function $r(e,t,n,r,o){e!==t&&mr(t,function(s,a){if(o||(o=new Gn),Qs(s))!function(e,t,n,r,o,s,a){var u=Ro(e,n),c=Ro(t,n),l=a.get(c);if(l)Jn(e,n,l);else{var f=s?s(u,c,n+"",e,t,a):i,p=f===i;if(p){var d=Ws(c),h=!d&&Gs(c),g=!d&&!h&&ua(c);f=c,d||h||g?Ws(u)?f=u:Ys(u)?f=Ri(u):h?(p=!1,f=_i(c,!0)):g?(p=!1,f=wi(c,!0)):f=[]:ra(c)||Fs(c)?(f=u,Fs(u)?f=ma(u):Qs(u)&&!Zs(u)||(f=ho(c))):p=!1}p&&(a.set(c,f),o(f,c,r,s,a),a.delete(c)),Jn(e,n,f)}}(e,t,a,n,$r,r,o);else{var u=r?r(Ro(e,a),s,a+"",e,t,o):i;u===i&&(u=s),Jn(e,a,u)}},Na)}function Br(e,t){var n=e.length;if(n)return mo(t+=t<0?n:0,n)?e[t]:i}function Ur(e,t,n){t=t.length?Nt(t,function(e){return Ws(e)?function(t){return xr(t,1===e.length?e[0]:e)}:e}):[nu];var r=-1;t=Nt(t,Xt(oo()));var i=Dr(e,function(e,n,i){var o=Nt(t,function(t){return t(e)});return{criteria:o,index:++r,value:e}});return function(e){var t=e.length;for(e.sort(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,s=i.length,a=n.length;++r<s;){var u=Ei(i[r],o[r]);if(u)return r>=a?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)});t--;)e[t]=e[t].value;return e}(i)}function Fr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=xr(e,s);n(a,s)&&Zr(o,mi(s,e),a)}return o}function Wr(e,t,n,r){var i=r?Bt:$t,o=-1,s=t.length,a=e;for(e===t&&(t=Ri(t)),n&&(a=Nt(e,Xt(n)));++o<s;)for(var u=0,c=t[o],l=n?n(c):c;(u=i(a,l,u,r))>-1;)a!==e&&Ge.call(a,u,1),Ge.call(e,u,1);return e}function Hr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;mo(i)?Ge.call(e,i,1):ui(e,i)}}return e}function qr(e,t){return e+dt(_n()*(t-e+1))}function Yr(e,t){var n="";if(!e||t<1||t>f)return n;do{t%2&&(n+=e),(t=dt(t/2))&&(e+=e)}while(t);return n}function Gr(e,t){return Io(To(e,t,nu),e+"")}function Vr(e){return Xn($a(e))}function Xr(e,t){var n=$a(e);return Co(n,or(t,0,n.length))}function Zr(e,t,n,r){if(!Qs(e))return e;for(var o=-1,s=(t=mi(t,e)).length,a=s-1,u=e;null!=u&&++o<s;){var c=Do(t[o]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=a){var f=u[c];(l=r?r(f,c,u):i)===i&&(l=Qs(f)?f:mo(t[o+1])?[]:{})}Qn(u,c,l),u=u[c]}return e}var Kr=An?function(e,t){return An.set(e,t),e}:nu,Jr=et?function(e,t){return et(e,"toString",{configurable:!0,enumerable:!1,value:Qa(t),writable:!0})}:nu;function Qr(e){return Co($a(e))}function ei(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=r(o);++i<o;)s[i]=e[i+t];return s}function ti(e,t){var n;return lr(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function ni(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,s=e[o];null!==s&&!aa(s)&&(n?s<=t:s<t)?r=o+1:i=o}return i}return ri(e,t,nu,n)}function ri(e,t,n,r){var o=0,s=null==e?0:e.length;if(0===s)return 0;for(var a=(t=n(t))!=t,u=null===t,c=aa(t),l=t===i;o<s;){var f=dt((o+s)/2),p=n(e[f]),d=p!==i,h=null===p,g=p==p,m=aa(p);if(a)var v=r||g;else v=l?g&&(r||d):u?g&&d&&(r||!h):c?g&&d&&!h&&(r||!m):!h&&!m&&(r?p<=t:p<t);v?o=f+1:s=f}return vn(s,4294967294)}function ii(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!$s(a,u)){var u=a;o[i++]=0===s?0:s}}return o}function oi(e){return"number"==typeof e?e:aa(e)?p:+e}function si(e){if("string"==typeof e)return e;if(Ws(e))return Nt(e,si)+"";if(aa(e))return zn?zn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ai(e,t,n){var r=-1,i=It,o=e.length,s=!0,a=[],u=a;if(n)s=!1,i=Lt;else if(o>=200){var c=t?null:Yi(e);if(c)return un(c);s=!1,i=Kt,u=new Yn}else u=t?[]:a;e:for(;++r<o;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,s&&f==f){for(var p=u.length;p--;)if(u[p]===f)continue e;t&&u.push(f),a.push(l)}else i(u,f,n)||(u!==a&&u.push(f),a.push(l))}return a}function ui(e,t){return null==(e=So(e,t=mi(t,e)))||delete e[Do(Xo(t))]}function ci(e,t,n,r){return Zr(e,t,n(xr(e,t)),r)}function li(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?ei(e,r?0:o,r?o+1:i):ei(e,r?o+1:0,r?i:o)}function fi(e,t){var n=e;return n instanceof Fn&&(n=n.value()),kt(t,function(e,t){return t.func.apply(t.thisArg,Ct([e],t.args))},n)}function pi(e,t,n){var i=e.length;if(i<2)return i?ai(e[0]):[];for(var o=-1,s=r(i);++o<i;)for(var a=e[o],u=-1;++u<i;)u!=o&&(s[o]=cr(s[o]||a,e[u],t,n));return ai(gr(s,1),t,n)}function di(e,t,n){for(var r=-1,o=e.length,s=t.length,a={};++r<o;){var u=r<s?t[r]:i;n(a,e[r],u)}return a}function hi(e){return Ys(e)?e:[]}function gi(e){return"function"==typeof e?e:nu}function mi(e,t){return Ws(e)?e:yo(e,t)?[e]:jo(va(e))}var vi=Gr;function yi(e,t,n){var r=e.length;return n=n===i?r:n,!t&&n>=r?e:ei(e,t,n)}var bi=st||function(e){return ft.clearTimeout(e)};function _i(e,t){if(t)return e.slice();var n=e.length,r=We?We(n):new e.constructor(n);return e.copy(r),r}function xi(e){var t=new e.constructor(e.byteLength);return new Fe(t).set(new Fe(e)),t}function wi(e,t){var n=t?xi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ei(e,t){if(e!==t){var n=e!==i,r=null===e,o=e==e,s=aa(e),a=t!==i,u=null===t,c=t==t,l=aa(t);if(!u&&!l&&!s&&e>t||s&&a&&c&&!u&&!l||r&&a&&c||!n&&c||!o)return 1;if(!r&&!s&&!l&&e<t||l&&n&&o&&!r&&!s||u&&n&&o||!a&&o||!c)return-1}return 0}function Ti(e,t,n,i){for(var o=-1,s=e.length,a=n.length,u=-1,c=t.length,l=mn(s-a,0),f=r(c+l),p=!i;++u<c;)f[u]=t[u];for(;++o<a;)(p||o<s)&&(f[n[o]]=e[o]);for(;l--;)f[u++]=e[o++];return f}function Si(e,t,n,i){for(var o=-1,s=e.length,a=-1,u=n.length,c=-1,l=t.length,f=mn(s-u,0),p=r(f+l),d=!i;++o<f;)p[o]=e[o];for(var h=o;++c<l;)p[h+c]=t[c];for(;++a<u;)(d||o<s)&&(p[h+n[a]]=e[o++]);return p}function Ri(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function Oi(e,t,n,r){var o=!n;n||(n={});for(var s=-1,a=t.length;++s<a;){var u=t[s],c=r?r(n[u],e[u],u,n,e):i;c===i&&(c=e[u]),o?rr(n,u,c):Qn(n,u,c)}return n}function Ai(e,t){return function(n,r){var i=Ws(n)?Tt:tr,o=t?t():{};return i(n,e,oo(r,2),o)}}function Ii(e){return Gr(function(t,n){var r=-1,o=n.length,s=o>1?n[o-1]:i,a=o>2?n[2]:i;for(s=e.length>3&&"function"==typeof s?(o--,s):i,a&&vo(n[0],n[1],a)&&(s=o<3?i:s,o=1),t=Te(t);++r<o;){var u=n[r];u&&e(t,u,r,s)}return t})}function Li(e,t){return function(n,r){if(null==n)return n;if(!qs(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=Te(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function Ni(e){return function(t,n,r){for(var i=-1,o=Te(t),s=r(t),a=s.length;a--;){var u=s[e?a:++i];if(!1===n(o[u],u,o))break}return t}}function Ci(e){return function(t){var n=rn(t=va(t))?fn(t):i,r=n?n[0]:t.charAt(0),o=n?yi(n,1).join(""):t.slice(1);return r[e]()+o}}function ki(e){return function(t){return kt(Za(Fa(t).replace(Ze,"")),e,"")}}function Pi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=$n(e.prototype),r=e.apply(n,t);return Qs(r)?r:n}}function ji(e){return function(t,n,r){var o=Te(t);if(!qs(t)){var s=oo(n,3);t=La(t),n=function(e){return s(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[s?t[a]:a]:i}}function Di(e){return Qi(function(t){var n=t.length,r=n,s=Un.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new Oe(o);if(s&&!u&&"wrapper"==ro(a))var u=new Un([],!0)}for(r=u?r:n;++r<n;){var c=ro(a=t[r]),l="wrapper"==c?no(a):i;u=l&&bo(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?u[ro(l[0])].apply(u,l[3]):1==a.length&&bo(a)?u[c]():u.thru(a)}return function(){var e=arguments,r=e[0];if(u&&1==e.length&&Ws(r))return u.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}})}function zi(e,t,n,o,s,a,u,l,f,p){var d=t&c,h=1&t,g=2&t,m=24&t,v=512&t,y=g?i:Pi(e);return function c(){for(var b=arguments.length,_=r(b),x=b;x--;)_[x]=arguments[x];if(m)var w=io(c),E=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(_,w);if(o&&(_=Ti(_,o,s,m)),a&&(_=Si(_,a,u,m)),b-=E,m&&b<p){var T=an(_,w);return Hi(e,t,zi,c.placeholder,n,_,T,l,f,p-b)}var S=h?n:this,R=g?S[e]:e;return b=_.length,l?_=function(e,t){for(var n=e.length,r=vn(t.length,n),o=Ri(e);r--;){var s=t[r];e[r]=mo(s,n)?o[s]:i}return e}(_,l):v&&b>1&&_.reverse(),d&&f<b&&(_.length=f),this&&this!==ft&&this instanceof c&&(R=y||Pi(R)),R.apply(S,_)}}function Mi(e,t){return function(n,r){return function(e,t,n,r){return yr(e,function(e,i,o){t(r,n(e),i,o)}),r}(n,e,t(r),{})}}function $i(e,t){return function(n,r){var o;if(n===i&&r===i)return t;if(n!==i&&(o=n),r!==i){if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=si(n),r=si(r)):(n=oi(n),r=oi(r)),o=e(n,r)}return o}}function Bi(e){return Qi(function(t){return t=Nt(t,Xt(oo())),Gr(function(n){var r=this;return e(t,function(e){return Et(e,r,n)})})})}function Ui(e,t){var n=(t=t===i?" ":si(t)).length;if(n<2)return n?Yr(t,e):t;var r=Yr(t,pt(e/ln(t)));return rn(t)?yi(fn(r),0,e).join(""):r.slice(0,e)}function Fi(e){return function(t,n,o){return o&&"number"!=typeof o&&vo(t,n,o)&&(n=o=i),t=pa(t),n===i?(n=t,t=0):n=pa(n),function(e,t,n,i){for(var o=-1,s=mn(pt((t-e)/(n||1)),0),a=r(s);s--;)a[i?s:++o]=e,e+=n;return a}(t,n,o=o===i?t<n?1:-1:pa(o),e)}}function Wi(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ga(t),n=ga(n)),e(t,n)}}function Hi(e,t,n,r,o,s,a,c,l,f){var p=8&t;t|=p?u:64,4&(t&=~(p?64:u))||(t&=-4);var d=[e,t,o,p?s:i,p?a:i,p?i:s,p?i:a,c,l,f],h=n.apply(i,d);return bo(e)&&Oo(h,d),h.placeholder=r,Lo(h,e,t)}function qi(e){var t=Ee[e];return function(e,n){if(e=ga(e),(n=null==n?0:vn(da(n),292))&&Dt(e)){var r=(va(e)+"e").split("e");return+((r=(va(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Yi=Sn&&1/un(new Sn([,-0]))[1]==l?function(e){return new Sn(e)}:au;function Gi(e){return function(t){var n=fo(t);return n==w?on(t):n==O?cn(t):function(e,t){return Nt(t,function(t){return[t,e[t]]})}(t,e(t))}}function Vi(e,t,n,s,l,f,p,d){var h=2&t;if(!h&&"function"!=typeof e)throw new Oe(o);var g=s?s.length:0;if(g||(t&=-97,s=l=i),p=p===i?p:mn(da(p),0),d=d===i?d:da(d),g-=l?l.length:0,64&t){var m=s,v=l;s=l=i}var y=h?i:no(e),b=[e,t,n,s,l,m,v,f,p,d];if(y&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,s=r==c&&8==n||r==c&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!s)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var u=t[3];if(u){var l=e[3];e[3]=l?Ti(l,u,t[4]):u,e[4]=l?an(e[3],a):t[4]}(u=t[5])&&(l=e[5],e[5]=l?Si(l,u,t[6]):u,e[6]=l?an(e[5],a):t[6]),(u=t[7])&&(e[7]=u),r&c&&(e[8]=null==e[8]?t[8]:vn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(b,y),e=b[0],t=b[1],n=b[2],s=b[3],l=b[4],!(d=b[9]=b[9]===i?h?0:e.length:mn(b[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)_=8==t||16==t?function(e,t,n){var o=Pi(e);return function s(){for(var a=arguments.length,u=r(a),c=a,l=io(s);c--;)u[c]=arguments[c];var f=a<3&&u[0]!==l&&u[a-1]!==l?[]:an(u,l);return(a-=f.length)<n?Hi(e,t,zi,s.placeholder,i,u,f,i,i,n-a):Et(this&&this!==ft&&this instanceof s?o:e,this,u)}}(e,t,d):t!=u&&33!=t||l.length?zi.apply(i,b):function(e,t,n,i){var o=1&t,s=Pi(e);return function t(){for(var a=-1,u=arguments.length,c=-1,l=i.length,f=r(l+u),p=this&&this!==ft&&this instanceof t?s:e;++c<l;)f[c]=i[c];for(;u--;)f[c++]=arguments[++a];return Et(p,o?n:this,f)}}(e,t,n,s);else var _=function(e,t,n){var r=1&t,i=Pi(e);return function t(){return(this&&this!==ft&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return Lo((y?Kr:Oo)(_,b),e,t)}function Xi(e,t,n,r){return e===i||$s(e,Le[n])&&!ke.call(r,n)?t:e}function Zi(e,t,n,r,o,s){return Qs(e)&&Qs(t)&&(s.set(t,e),$r(e,t,i,Zi,s),s.delete(t)),e}function Ki(e){return ra(e)?i:e}function Ji(e,t,n,r,o,s){var a=1&n,u=e.length,c=t.length;if(u!=c&&!(a&&c>u))return!1;var l=s.get(e),f=s.get(t);if(l&&f)return l==t&&f==e;var p=-1,d=!0,h=2&n?new Yn:i;for(s.set(e,t),s.set(t,e);++p<u;){var g=e[p],m=t[p];if(r)var v=a?r(m,g,p,t,e,s):r(g,m,p,e,t,s);if(v!==i){if(v)continue;d=!1;break}if(h){if(!jt(t,function(e,t){if(!Kt(h,t)&&(g===e||o(g,e,n,r,s)))return h.push(t)})){d=!1;break}}else if(g!==m&&!o(g,m,n,r,s)){d=!1;break}}return s.delete(e),s.delete(t),d}function Qi(e){return Io(To(e,i,Ho),e+"")}function eo(e){return wr(e,La,co)}function to(e){return wr(e,Na,lo)}var no=An?function(e){return An.get(e)}:au;function ro(e){for(var t=e.name+"",n=In[t],r=ke.call(In,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function io(e){return(ke.call(Mn,"placeholder")?Mn:e).placeholder}function oo(){var e=Mn.iteratee||ru;return e=e===ru?kr:e,arguments.length?e(arguments[0],arguments[1]):e}function so(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ao(e){for(var t=La(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,wo(i)]}return t}function uo(e,t){var n=function(e,t){return null==e?i:e[t]}(e,t);return Cr(n)?n:i}var co=gt?function(e){return null==e?[]:(e=Te(e),At(gt(e),function(t){return Ye.call(e,t)}))}:hu,lo=gt?function(e){for(var t=[];e;)Ct(t,co(e)),e=He(e);return t}:hu,fo=Er;function po(e,t,n){for(var r=-1,i=(t=mi(t,e)).length,o=!1;++r<i;){var s=Do(t[r]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Js(i)&&mo(s,i)&&(Ws(e)||Fs(e))}function ho(e){return"function"!=typeof e.constructor||xo(e)?{}:$n(He(e))}function go(e){return Ws(e)||Fs(e)||!!(Ve&&e&&e[Ve])}function mo(e,t){var n=typeof e;return!!(t=null==t?f:t)&&("number"==n||"symbol"!=n&&ve.test(e))&&e>-1&&e%1==0&&e<t}function vo(e,t,n){if(!Qs(n))return!1;var r=typeof t;return!!("number"==r?qs(n)&&mo(t,n.length):"string"==r&&t in n)&&$s(n[t],e)}function yo(e,t){if(Ws(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!aa(e))||Q.test(e)||!J.test(e)||null!=t&&e in Te(t)}function bo(e){var t=ro(e),n=Mn[t];if("function"!=typeof n||!(t in Fn.prototype))return!1;if(e===n)return!0;var r=no(n);return!!r&&e===r[0]}(wn&&fo(new wn(new ArrayBuffer(1)))!=C||En&&fo(new En)!=w||Tn&&fo(Tn.resolve())!=S||Sn&&fo(new Sn)!=O||Rn&&fo(new Rn)!=L)&&(fo=function(e){var t=Er(e),n=t==T?e.constructor:i,r=n?zo(n):"";if(r)switch(r){case Ln:return C;case Nn:return w;case Cn:return S;case kn:return O;case Pn:return L}return t});var _o=Ne?Zs:gu;function xo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Le)}function wo(e){return e==e&&!Qs(e)}function Eo(e,t){return function(n){return null!=n&&n[e]===t&&(t!==i||e in Te(n))}}function To(e,t,n){return t=mn(t===i?e.length-1:t,0),function(){for(var i=arguments,o=-1,s=mn(i.length-t,0),a=r(s);++o<s;)a[o]=i[t+o];o=-1;for(var u=r(t+1);++o<t;)u[o]=i[o];return u[t]=n(a),Et(e,this,u)}}function So(e,t){return t.length<2?e:xr(e,ei(t,0,-1))}function Ro(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Oo=No(Kr),Ao=lt||function(e,t){return ft.setTimeout(e,t)},Io=No(Jr);function Lo(e,t,n){var r=t+"";return Io(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(oe,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return St(h,function(n){var r="_."+n[0];t&n[1]&&!It(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(se);return t?t[1].split(ae):[]}(r),n)))}function No(e){var t=0,n=0;return function(){var r=yn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Co(e,t){var n=-1,r=e.length,o=r-1;for(t=t===i?r:t;++n<t;){var s=qr(n,o),a=e[s];e[s]=e[n],e[n]=a}return e.length=t,e}var ko,Po,jo=(ko=ks(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,function(e,n,r,i){t.push(r?i.replace(le,"$1"):n||e)}),t},function(e){return 500===Po.size&&Po.clear(),e}),Po=ko.cache,ko);function Do(e){if("string"==typeof e||aa(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function zo(e){if(null!=e){try{return Ce.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Mo(e){if(e instanceof Fn)return e.clone();var t=new Un(e.__wrapped__,e.__chain__);return t.__actions__=Ri(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var $o=Gr(function(e,t){return Ys(e)?cr(e,gr(t,1,Ys,!0)):[]}),Bo=Gr(function(e,t){var n=Xo(t);return Ys(n)&&(n=i),Ys(e)?cr(e,gr(t,1,Ys,!0),oo(n,2)):[]}),Uo=Gr(function(e,t){var n=Xo(t);return Ys(n)&&(n=i),Ys(e)?cr(e,gr(t,1,Ys,!0),i,n):[]});function Fo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:da(n);return i<0&&(i=mn(r+i,0)),Mt(e,oo(t,3),i)}function Wo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==i&&(o=da(n),o=n<0?mn(r+o,0):vn(o,r-1)),Mt(e,oo(t,3),o,!0)}function Ho(e){return null!=e&&e.length?gr(e,1):[]}function qo(e){return e&&e.length?e[0]:i}var Yo=Gr(function(e){var t=Nt(e,hi);return t.length&&t[0]===e[0]?Or(t):[]}),Go=Gr(function(e){var t=Xo(e),n=Nt(e,hi);return t===Xo(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Or(n,oo(t,2)):[]}),Vo=Gr(function(e){var t=Xo(e),n=Nt(e,hi);return(t="function"==typeof t?t:i)&&n.pop(),n.length&&n[0]===e[0]?Or(n,i,t):[]});function Xo(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Zo=Gr(Ko);function Ko(e,t){return e&&e.length&&t&&t.length?Wr(e,t):e}var Jo=Qi(function(e,t){var n=null==e?0:e.length,r=ir(e,t);return Hr(e,Nt(t,function(e){return mo(e,n)?+e:e}).sort(Ei)),r});function Qo(e){return null==e?e:xn.call(e)}var es=Gr(function(e){return ai(gr(e,1,Ys,!0))}),ts=Gr(function(e){var t=Xo(e);return Ys(t)&&(t=i),ai(gr(e,1,Ys,!0),oo(t,2))}),ns=Gr(function(e){var t=Xo(e);return t="function"==typeof t?t:i,ai(gr(e,1,Ys,!0),i,t)});function rs(e){if(!e||!e.length)return[];var t=0;return e=At(e,function(e){if(Ys(e))return t=mn(e.length,t),!0}),Gt(t,function(t){return Nt(e,Wt(t))})}function is(e,t){if(!e||!e.length)return[];var n=rs(e);return null==t?n:Nt(n,function(e){return Et(t,i,e)})}var os=Gr(function(e,t){return Ys(e)?cr(e,t):[]}),ss=Gr(function(e){return pi(At(e,Ys))}),as=Gr(function(e){var t=Xo(e);return Ys(t)&&(t=i),pi(At(e,Ys),oo(t,2))}),us=Gr(function(e){var t=Xo(e);return t="function"==typeof t?t:i,pi(At(e,Ys),i,t)}),cs=Gr(rs),ls=Gr(function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,is(e,n)});function fs(e){var t=Mn(e);return t.__chain__=!0,t}function ps(e,t){return t(e)}var ds=Qi(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return ir(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Fn&&mo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ps,args:[o],thisArg:i}),new Un(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(i),e})):this.thru(o)}),hs=Ai(function(e,t,n){ke.call(e,n)?++e[n]:rr(e,n,1)}),gs=ji(Fo),ms=ji(Wo);function vs(e,t){return(Ws(e)?St:lr)(e,oo(t,3))}function ys(e,t){return(Ws(e)?Rt:fr)(e,oo(t,3))}var bs=Ai(function(e,t,n){ke.call(e,n)?e[n].push(t):rr(e,n,[t])}),_s=Gr(function(e,t,n){var i=-1,o="function"==typeof t,s=qs(e)?r(e.length):[];return lr(e,function(e){s[++i]=o?Et(t,e,n):Ar(e,t,n)}),s}),xs=Ai(function(e,t,n){rr(e,n,t)});function ws(e,t){return(Ws(e)?Nt:Dr)(e,oo(t,3))}var Es=Ai(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Ts=Gr(function(e,t){if(null==e)return[];var n=t.length;return n>1&&vo(e,t[0],t[1])?t=[]:n>2&&vo(t[0],t[1],t[2])&&(t=[t[0]]),Ur(e,gr(t,1),[])}),Ss=ct||function(){return ft.Date.now()};function Rs(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Vi(e,c,i,i,i,i,t)}function Os(e,t){var n;if("function"!=typeof t)throw new Oe(o);return e=da(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var As=Gr(function(e,t,n){var r=1;if(n.length){var i=an(n,io(As));r|=u}return Vi(e,r,t,n,i)}),Is=Gr(function(e,t,n){var r=3;if(n.length){var i=an(n,io(Is));r|=u}return Vi(t,r,e,n,i)});function Ls(e,t,n){var r,s,a,u,c,l,f=0,p=!1,d=!1,h=!0;if("function"!=typeof e)throw new Oe(o);function g(t){var n=r,o=s;return r=s=i,f=t,u=e.apply(o,n)}function m(e){var n=e-l;return l===i||n>=t||n<0||d&&e-f>=a}function v(){var e=Ss();if(m(e))return y(e);c=Ao(v,function(e){var n=t-(e-l);return d?vn(n,a-(e-f)):n}(e))}function y(e){return c=i,h&&r?g(e):(r=s=i,u)}function b(){var e=Ss(),n=m(e);if(r=arguments,s=this,l=e,n){if(c===i)return function(e){return f=e,c=Ao(v,t),p?g(e):u}(l);if(d)return bi(c),c=Ao(v,t),g(l)}return c===i&&(c=Ao(v,t)),u}return t=ga(t)||0,Qs(n)&&(p=!!n.leading,a=(d="maxWait"in n)?mn(ga(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h),b.cancel=function(){c!==i&&bi(c),f=0,r=l=s=c=i},b.flush=function(){return c===i?u:y(Ss())},b}var Ns=Gr(function(e,t){return ur(e,1,t)}),Cs=Gr(function(e,t,n){return ur(e,ga(t)||0,n)});function ks(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Oe(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(ks.Cache||qn),n}function Ps(e){if("function"!=typeof e)throw new Oe(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ks.Cache=qn;var js=vi(function(e,t){var n=(t=1==t.length&&Ws(t[0])?Nt(t[0],Xt(oo())):Nt(gr(t,1),Xt(oo()))).length;return Gr(function(r){for(var i=-1,o=vn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return Et(e,this,r)})}),Ds=Gr(function(e,t){var n=an(t,io(Ds));return Vi(e,u,i,t,n)}),zs=Gr(function(e,t){var n=an(t,io(zs));return Vi(e,64,i,t,n)}),Ms=Qi(function(e,t){return Vi(e,256,i,i,i,t)});function $s(e,t){return e===t||e!=e&&t!=t}var Bs=Wi(Tr),Us=Wi(function(e,t){return e>=t}),Fs=Ir(function(){return arguments}())?Ir:function(e){return ea(e)&&ke.call(e,"callee")&&!Ye.call(e,"callee")},Ws=r.isArray,Hs=vt?Xt(vt):function(e){return ea(e)&&Er(e)==N};function qs(e){return null!=e&&Js(e.length)&&!Zs(e)}function Ys(e){return ea(e)&&qs(e)}var Gs=mt||gu,Vs=yt?Xt(yt):function(e){return ea(e)&&Er(e)==y};function Xs(e){if(!ea(e))return!1;var t=Er(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ra(e)}function Zs(e){if(!Qs(e))return!1;var t=Er(e);return t==_||t==x||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ks(e){return"number"==typeof e&&e==da(e)}function Js(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function Qs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ea(e){return null!=e&&"object"==typeof e}var ta=bt?Xt(bt):function(e){return ea(e)&&fo(e)==w};function na(e){return"number"==typeof e||ea(e)&&Er(e)==E}function ra(e){if(!ea(e)||Er(e)!=T)return!1;var t=He(e);if(null===t)return!0;var n=ke.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ce.call(n)==ze}var ia=_t?Xt(_t):function(e){return ea(e)&&Er(e)==R},oa=xt?Xt(xt):function(e){return ea(e)&&fo(e)==O};function sa(e){return"string"==typeof e||!Ws(e)&&ea(e)&&Er(e)==A}function aa(e){return"symbol"==typeof e||ea(e)&&Er(e)==I}var ua=wt?Xt(wt):function(e){return ea(e)&&Js(e.length)&&!!it[Er(e)]},ca=Wi(jr),la=Wi(function(e,t){return e<=t});function fa(e){if(!e)return[];if(qs(e))return sa(e)?fn(e):Ri(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=fo(e);return(t==w?on:t==O?un:$a)(e)}function pa(e){return e?(e=ga(e))===l||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function da(e){var t=pa(e),n=t%1;return t==t?n?t-n:t:0}function ha(e){return e?or(da(e),0,d):0}function ga(e){if("number"==typeof e)return e;if(aa(e))return p;if(Qs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Vt(e);var n=he.test(e);return n||me.test(e)?ut(e.slice(2),n?2:8):de.test(e)?p:+e}function ma(e){return Oi(e,Na(e))}function va(e){return null==e?"":si(e)}var ya=Ii(function(e,t){if(xo(t)||qs(t))Oi(t,La(t),e);else for(var n in t)ke.call(t,n)&&Qn(e,n,t[n])}),ba=Ii(function(e,t){Oi(t,Na(t),e)}),_a=Ii(function(e,t,n,r){Oi(t,Na(t),e,r)}),xa=Ii(function(e,t,n,r){Oi(t,La(t),e,r)}),wa=Qi(ir),Ea=Gr(function(e,t){e=Te(e);var n=-1,r=t.length,o=r>2?t[2]:i;for(o&&vo(t[0],t[1],o)&&(r=1);++n<r;)for(var s=t[n],a=Na(s),u=-1,c=a.length;++u<c;){var l=a[u],f=e[l];(f===i||$s(f,Le[l])&&!ke.call(e,l))&&(e[l]=s[l])}return e}),Ta=Gr(function(e){return e.push(i,Zi),Et(ka,i,e)});function Sa(e,t,n){var r=null==e?i:xr(e,t);return r===i?n:r}function Ra(e,t){return null!=e&&po(e,t,Rr)}var Oa=Mi(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=De.call(t)),e[t]=n},Qa(nu)),Aa=Mi(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=De.call(t)),ke.call(e,t)?e[t].push(n):e[t]=[n]},oo),Ia=Gr(Ar);function La(e){return qs(e)?Vn(e):Pr(e)}function Na(e){return qs(e)?Vn(e,!0):function(e){if(!Qs(e))return function(e){var t=[];if(null!=e)for(var n in Te(e))t.push(n);return t}(e);var t=xo(e),n=[];for(var r in e)("constructor"!=r||!t&&ke.call(e,r))&&n.push(r);return n}(e)}var Ca=Ii(function(e,t,n){$r(e,t,n)}),ka=Ii(function(e,t,n,r){$r(e,t,n,r)}),Pa=Qi(function(e,t){var n={};if(null==e)return n;var r=!1;t=Nt(t,function(t){return t=mi(t,e),r||(r=t.length>1),t}),Oi(e,to(e),n),r&&(n=sr(n,7,Ki));for(var i=t.length;i--;)ui(n,t[i]);return n}),ja=Qi(function(e,t){return null==e?{}:function(e,t){return Fr(e,t,function(t,n){return Ra(e,n)})}(e,t)});function Da(e,t){if(null==e)return{};var n=Nt(to(e),function(e){return[e]});return t=oo(t),Fr(e,n,function(e,n){return t(e,n[0])})}var za=Gi(La),Ma=Gi(Na);function $a(e){return null==e?[]:Zt(e,La(e))}var Ba=ki(function(e,t,n){return t=t.toLowerCase(),e+(n?Ua(t):t)});function Ua(e){return Xa(va(e).toLowerCase())}function Fa(e){return(e=va(e))&&e.replace(ye,en).replace(Ke,"")}var Wa=ki(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Ha=ki(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),qa=Ci("toLowerCase"),Ya=ki(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Ga=ki(function(e,t,n){return e+(n?" ":"")+Xa(t)}),Va=ki(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Xa=Ci("toUpperCase");function Za(e,t,n){return e=va(e),(t=n?i:t)===i?function(e){return tt.test(e)}(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Ka=Gr(function(e,t){try{return Et(e,i,t)}catch(e){return Xs(e)?e:new xe(e)}}),Ja=Qi(function(e,t){return St(t,function(t){t=Do(t),rr(e,t,As(e[t],e))}),e});function Qa(e){return function(){return e}}var eu=Di(),tu=Di(!0);function nu(e){return e}function ru(e){return kr("function"==typeof e?e:sr(e,1))}var iu=Gr(function(e,t){return function(n){return Ar(n,e,t)}}),ou=Gr(function(e,t){return function(n){return Ar(e,n,t)}});function su(e,t,n){var r=La(t),i=_r(t,r);null!=n||Qs(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=_r(t,La(t)));var o=!(Qs(n)&&"chain"in n&&!n.chain),s=Zs(e);return St(i,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Ri(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Ct([this.value()],arguments))})}),e}function au(){}var uu=Bi(Nt),cu=Bi(Ot),lu=Bi(jt);function fu(e){return yo(e)?Wt(Do(e)):function(e){return function(t){return xr(t,e)}}(e)}var pu=Fi(),du=Fi(!0);function hu(){return[]}function gu(){return!1}var mu,vu=$i(function(e,t){return e+t},0),yu=qi("ceil"),bu=$i(function(e,t){return e/t},1),_u=qi("floor"),xu=$i(function(e,t){return e*t},1),wu=qi("round"),Eu=$i(function(e,t){return e-t},0);return Mn.after=function(e,t){if("function"!=typeof t)throw new Oe(o);return e=da(e),function(){if(--e<1)return t.apply(this,arguments)}},Mn.ary=Rs,Mn.assign=ya,Mn.assignIn=ba,Mn.assignInWith=_a,Mn.assignWith=xa,Mn.at=wa,Mn.before=Os,Mn.bind=As,Mn.bindAll=Ja,Mn.bindKey=Is,Mn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ws(e)?e:[e]},Mn.chain=fs,Mn.chunk=function(e,t,n){t=(n?vo(e,t,n):t===i)?1:mn(da(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var s=0,a=0,u=r(pt(o/t));s<o;)u[a++]=ei(e,s,s+=t);return u},Mn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Mn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Ct(Ws(n)?Ri(n):[n],gr(t,1))},Mn.cond=function(e){var t=null==e?0:e.length,n=oo();return e=t?Nt(e,function(e){if("function"!=typeof e[1])throw new Oe(o);return[n(e[0]),e[1]]}):[],Gr(function(n){for(var r=-1;++r<t;){var i=e[r];if(Et(i[0],this,n))return Et(i[1],this,n)}})},Mn.conforms=function(e){return function(e){var t=La(e);return function(n){return ar(n,e,t)}}(sr(e,1))},Mn.constant=Qa,Mn.countBy=hs,Mn.create=function(e,t){var n=$n(e);return null==t?n:nr(n,t)},Mn.curry=function e(t,n,r){var o=Vi(t,8,i,i,i,i,i,n=r?i:n);return o.placeholder=e.placeholder,o},Mn.curryRight=function e(t,n,r){var o=Vi(t,16,i,i,i,i,i,n=r?i:n);return o.placeholder=e.placeholder,o},Mn.debounce=Ls,Mn.defaults=Ea,Mn.defaultsDeep=Ta,Mn.defer=Ns,Mn.delay=Cs,Mn.difference=$o,Mn.differenceBy=Bo,Mn.differenceWith=Uo,Mn.drop=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,(t=n||t===i?1:da(t))<0?0:t,r):[]},Mn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,0,(t=r-(t=n||t===i?1:da(t)))<0?0:t):[]},Mn.dropRightWhile=function(e,t){return e&&e.length?li(e,oo(t,3),!0,!0):[]},Mn.dropWhile=function(e,t){return e&&e.length?li(e,oo(t,3),!0):[]},Mn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&vo(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=da(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>o?o:da(r))<0&&(r+=o),r=n>r?0:ha(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Mn.filter=function(e,t){return(Ws(e)?At:hr)(e,oo(t,3))},Mn.flatMap=function(e,t){return gr(ws(e,t),1)},Mn.flatMapDeep=function(e,t){return gr(ws(e,t),l)},Mn.flatMapDepth=function(e,t,n){return n=n===i?1:da(n),gr(ws(e,t),n)},Mn.flatten=Ho,Mn.flattenDeep=function(e){return null!=e&&e.length?gr(e,l):[]},Mn.flattenDepth=function(e,t){return null!=e&&e.length?gr(e,t=t===i?1:da(t)):[]},Mn.flip=function(e){return Vi(e,512)},Mn.flow=eu,Mn.flowRight=tu,Mn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Mn.functions=function(e){return null==e?[]:_r(e,La(e))},Mn.functionsIn=function(e){return null==e?[]:_r(e,Na(e))},Mn.groupBy=bs,Mn.initial=function(e){return null!=e&&e.length?ei(e,0,-1):[]},Mn.intersection=Yo,Mn.intersectionBy=Go,Mn.intersectionWith=Vo,Mn.invert=Oa,Mn.invertBy=Aa,Mn.invokeMap=_s,Mn.iteratee=ru,Mn.keyBy=xs,Mn.keys=La,Mn.keysIn=Na,Mn.map=ws,Mn.mapKeys=function(e,t){var n={};return t=oo(t,3),yr(e,function(e,r,i){rr(n,t(e,r,i),e)}),n},Mn.mapValues=function(e,t){var n={};return t=oo(t,3),yr(e,function(e,r,i){rr(n,r,t(e,r,i))}),n},Mn.matches=function(e){return zr(sr(e,1))},Mn.matchesProperty=function(e,t){return Mr(e,sr(t,1))},Mn.memoize=ks,Mn.merge=Ca,Mn.mergeWith=ka,Mn.method=iu,Mn.methodOf=ou,Mn.mixin=su,Mn.negate=Ps,Mn.nthArg=function(e){return e=da(e),Gr(function(t){return Br(t,e)})},Mn.omit=Pa,Mn.omitBy=function(e,t){return Da(e,Ps(oo(t)))},Mn.once=function(e){return Os(2,e)},Mn.orderBy=function(e,t,n,r){return null==e?[]:(Ws(t)||(t=null==t?[]:[t]),Ws(n=r?i:n)||(n=null==n?[]:[n]),Ur(e,t,n))},Mn.over=uu,Mn.overArgs=js,Mn.overEvery=cu,Mn.overSome=lu,Mn.partial=Ds,Mn.partialRight=zs,Mn.partition=Es,Mn.pick=ja,Mn.pickBy=Da,Mn.property=fu,Mn.propertyOf=function(e){return function(t){return null==e?i:xr(e,t)}},Mn.pull=Zo,Mn.pullAll=Ko,Mn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Wr(e,t,oo(n,2)):e},Mn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Wr(e,t,i,n):e},Mn.pullAt=Jo,Mn.range=pu,Mn.rangeRight=du,Mn.rearg=Ms,Mn.reject=function(e,t){return(Ws(e)?At:hr)(e,Ps(oo(t,3)))},Mn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=oo(t,3);++r<o;){var s=e[r];t(s,r,e)&&(n.push(s),i.push(r))}return Hr(e,i),n},Mn.rest=function(e,t){if("function"!=typeof e)throw new Oe(o);return Gr(e,t=t===i?t:da(t))},Mn.reverse=Qo,Mn.sampleSize=function(e,t,n){return t=(n?vo(e,t,n):t===i)?1:da(t),(Ws(e)?Zn:Xr)(e,t)},Mn.set=function(e,t,n){return null==e?e:Zr(e,t,n)},Mn.setWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:Zr(e,t,n,r)},Mn.shuffle=function(e){return(Ws(e)?Kn:Qr)(e)},Mn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&vo(e,t,n)?(t=0,n=r):(t=null==t?0:da(t),n=n===i?r:da(n)),ei(e,t,n)):[]},Mn.sortBy=Ts,Mn.sortedUniq=function(e){return e&&e.length?ii(e):[]},Mn.sortedUniqBy=function(e,t){return e&&e.length?ii(e,oo(t,2)):[]},Mn.split=function(e,t,n){return n&&"number"!=typeof n&&vo(e,t,n)&&(t=n=i),(n=n===i?d:n>>>0)?(e=va(e))&&("string"==typeof t||null!=t&&!ia(t))&&!(t=si(t))&&rn(e)?yi(fn(e),0,n):e.split(t,n):[]},Mn.spread=function(e,t){if("function"!=typeof e)throw new Oe(o);return t=null==t?0:mn(da(t),0),Gr(function(n){var r=n[t],i=yi(n,0,t);return r&&Ct(i,r),Et(e,this,i)})},Mn.tail=function(e){var t=null==e?0:e.length;return t?ei(e,1,t):[]},Mn.take=function(e,t,n){return e&&e.length?ei(e,0,(t=n||t===i?1:da(t))<0?0:t):[]},Mn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,(t=r-(t=n||t===i?1:da(t)))<0?0:t,r):[]},Mn.takeRightWhile=function(e,t){return e&&e.length?li(e,oo(t,3),!1,!0):[]},Mn.takeWhile=function(e,t){return e&&e.length?li(e,oo(t,3)):[]},Mn.tap=function(e,t){return t(e),e},Mn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Oe(o);return Qs(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ls(e,t,{leading:r,maxWait:t,trailing:i})},Mn.thru=ps,Mn.toArray=fa,Mn.toPairs=za,Mn.toPairsIn=Ma,Mn.toPath=function(e){return Ws(e)?Nt(e,Do):aa(e)?[e]:Ri(jo(va(e)))},Mn.toPlainObject=ma,Mn.transform=function(e,t,n){var r=Ws(e),i=r||Gs(e)||ua(e);if(t=oo(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Qs(e)&&Zs(o)?$n(He(e)):{}}return(i?St:yr)(e,function(e,r,i){return t(n,e,r,i)}),n},Mn.unary=function(e){return Rs(e,1)},Mn.union=es,Mn.unionBy=ts,Mn.unionWith=ns,Mn.uniq=function(e){return e&&e.length?ai(e):[]},Mn.uniqBy=function(e,t){return e&&e.length?ai(e,oo(t,2)):[]},Mn.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?ai(e,i,t):[]},Mn.unset=function(e,t){return null==e||ui(e,t)},Mn.unzip=rs,Mn.unzipWith=is,Mn.update=function(e,t,n){return null==e?e:ci(e,t,gi(n))},Mn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:ci(e,t,gi(n),r)},Mn.values=$a,Mn.valuesIn=function(e){return null==e?[]:Zt(e,Na(e))},Mn.without=os,Mn.words=Za,Mn.wrap=function(e,t){return Ds(gi(t),e)},Mn.xor=ss,Mn.xorBy=as,Mn.xorWith=us,Mn.zip=cs,Mn.zipObject=function(e,t){return di(e||[],t||[],Qn)},Mn.zipObjectDeep=function(e,t){return di(e||[],t||[],Zr)},Mn.zipWith=ls,Mn.entries=za,Mn.entriesIn=Ma,Mn.extend=ba,Mn.extendWith=_a,su(Mn,Mn),Mn.add=vu,Mn.attempt=Ka,Mn.camelCase=Ba,Mn.capitalize=Ua,Mn.ceil=yu,Mn.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=ga(n))==n?n:0),t!==i&&(t=(t=ga(t))==t?t:0),or(ga(e),t,n)},Mn.clone=function(e){return sr(e,4)},Mn.cloneDeep=function(e){return sr(e,5)},Mn.cloneDeepWith=function(e,t){return sr(e,5,t="function"==typeof t?t:i)},Mn.cloneWith=function(e,t){return sr(e,4,t="function"==typeof t?t:i)},Mn.conformsTo=function(e,t){return null==t||ar(e,t,La(t))},Mn.deburr=Fa,Mn.defaultTo=function(e,t){return null==e||e!=e?t:e},Mn.divide=bu,Mn.endsWith=function(e,t,n){e=va(e),t=si(t);var r=e.length,o=n=n===i?r:or(da(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Mn.eq=$s,Mn.escape=function(e){return(e=va(e))&&V.test(e)?e.replace(Y,tn):e},Mn.escapeRegExp=function(e){return(e=va(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Mn.every=function(e,t,n){var r=Ws(e)?Ot:pr;return n&&vo(e,t,n)&&(t=i),r(e,oo(t,3))},Mn.find=gs,Mn.findIndex=Fo,Mn.findKey=function(e,t){return zt(e,oo(t,3),yr)},Mn.findLast=ms,Mn.findLastIndex=Wo,Mn.findLastKey=function(e,t){return zt(e,oo(t,3),br)},Mn.floor=_u,Mn.forEach=vs,Mn.forEachRight=ys,Mn.forIn=function(e,t){return null==e?e:mr(e,oo(t,3),Na)},Mn.forInRight=function(e,t){return null==e?e:vr(e,oo(t,3),Na)},Mn.forOwn=function(e,t){return e&&yr(e,oo(t,3))},Mn.forOwnRight=function(e,t){return e&&br(e,oo(t,3))},Mn.get=Sa,Mn.gt=Bs,Mn.gte=Us,Mn.has=function(e,t){return null!=e&&po(e,t,Sr)},Mn.hasIn=Ra,Mn.head=qo,Mn.identity=nu,Mn.includes=function(e,t,n,r){e=qs(e)?e:$a(e),n=n&&!r?da(n):0;var i=e.length;return n<0&&(n=mn(i+n,0)),sa(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&$t(e,t,n)>-1},Mn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:da(n);return i<0&&(i=mn(r+i,0)),$t(e,t,i)},Mn.inRange=function(e,t,n){return t=pa(t),n===i?(n=t,t=0):n=pa(n),function(e,t,n){return e>=vn(t,n)&&e<mn(t,n)}(e=ga(e),t,n)},Mn.invoke=Ia,Mn.isArguments=Fs,Mn.isArray=Ws,Mn.isArrayBuffer=Hs,Mn.isArrayLike=qs,Mn.isArrayLikeObject=Ys,Mn.isBoolean=function(e){return!0===e||!1===e||ea(e)&&Er(e)==v},Mn.isBuffer=Gs,Mn.isDate=Vs,Mn.isElement=function(e){return ea(e)&&1===e.nodeType&&!ra(e)},Mn.isEmpty=function(e){if(null==e)return!0;if(qs(e)&&(Ws(e)||"string"==typeof e||"function"==typeof e.splice||Gs(e)||ua(e)||Fs(e)))return!e.length;var t=fo(e);if(t==w||t==O)return!e.size;if(xo(e))return!Pr(e).length;for(var n in e)if(ke.call(e,n))return!1;return!0},Mn.isEqual=function(e,t){return Lr(e,t)},Mn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:i)?n(e,t):i;return r===i?Lr(e,t,i,n):!!r},Mn.isError=Xs,Mn.isFinite=function(e){return"number"==typeof e&&Dt(e)},Mn.isFunction=Zs,Mn.isInteger=Ks,Mn.isLength=Js,Mn.isMap=ta,Mn.isMatch=function(e,t){return e===t||Nr(e,t,ao(t))},Mn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,Nr(e,t,ao(t),n)},Mn.isNaN=function(e){return na(e)&&e!=+e},Mn.isNative=function(e){if(_o(e))throw new xe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Cr(e)},Mn.isNil=function(e){return null==e},Mn.isNull=function(e){return null===e},Mn.isNumber=na,Mn.isObject=Qs,Mn.isObjectLike=ea,Mn.isPlainObject=ra,Mn.isRegExp=ia,Mn.isSafeInteger=function(e){return Ks(e)&&e>=-9007199254740991&&e<=f},Mn.isSet=oa,Mn.isString=sa,Mn.isSymbol=aa,Mn.isTypedArray=ua,Mn.isUndefined=function(e){return e===i},Mn.isWeakMap=function(e){return ea(e)&&fo(e)==L},Mn.isWeakSet=function(e){return ea(e)&&"[object WeakSet]"==Er(e)},Mn.join=function(e,t){return null==e?"":Ht.call(e,t)},Mn.kebabCase=Wa,Mn.last=Xo,Mn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=da(n))<0?mn(r+o,0):vn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):Mt(e,Ut,o,!0)},Mn.lowerCase=Ha,Mn.lowerFirst=qa,Mn.lt=ca,Mn.lte=la,Mn.max=function(e){return e&&e.length?dr(e,nu,Tr):i},Mn.maxBy=function(e,t){return e&&e.length?dr(e,oo(t,2),Tr):i},Mn.mean=function(e){return Ft(e,nu)},Mn.meanBy=function(e,t){return Ft(e,oo(t,2))},Mn.min=function(e){return e&&e.length?dr(e,nu,jr):i},Mn.minBy=function(e,t){return e&&e.length?dr(e,oo(t,2),jr):i},Mn.stubArray=hu,Mn.stubFalse=gu,Mn.stubObject=function(){return{}},Mn.stubString=function(){return""},Mn.stubTrue=function(){return!0},Mn.multiply=xu,Mn.nth=function(e,t){return e&&e.length?Br(e,da(t)):i},Mn.noConflict=function(){return ft._===this&&(ft._=Me),this},Mn.noop=au,Mn.now=Ss,Mn.pad=function(e,t,n){e=va(e);var r=(t=da(t))?ln(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Ui(dt(i),n)+e+Ui(pt(i),n)},Mn.padEnd=function(e,t,n){e=va(e);var r=(t=da(t))?ln(e):0;return t&&r<t?e+Ui(t-r,n):e},Mn.padStart=function(e,t,n){e=va(e);var r=(t=da(t))?ln(e):0;return t&&r<t?Ui(t-r,n)+e:e},Mn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),bn(va(e).replace(re,""),t||0)},Mn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&vo(e,t,n)&&(t=n=i),n===i&&("boolean"==typeof t?(n=t,t=i):"boolean"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=pa(e),t===i?(t=e,e=0):t=pa(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=_n();return vn(e+o*(t-e+at("1e-"+((o+"").length-1))),t)}return qr(e,t)},Mn.reduce=function(e,t,n){var r=Ws(e)?kt:qt,i=arguments.length<3;return r(e,oo(t,4),n,i,lr)},Mn.reduceRight=function(e,t,n){var r=Ws(e)?Pt:qt,i=arguments.length<3;return r(e,oo(t,4),n,i,fr)},Mn.repeat=function(e,t,n){return t=(n?vo(e,t,n):t===i)?1:da(t),Yr(va(e),t)},Mn.replace=function(){var e=arguments,t=va(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Mn.result=function(e,t,n){var r=-1,o=(t=mi(t,e)).length;for(o||(o=1,e=i);++r<o;){var s=null==e?i:e[Do(t[r])];s===i&&(r=o,s=n),e=Zs(s)?s.call(e):s}return e},Mn.round=wu,Mn.runInContext=e,Mn.sample=function(e){return(Ws(e)?Xn:Vr)(e)},Mn.size=function(e){if(null==e)return 0;if(qs(e))return sa(e)?ln(e):e.length;var t=fo(e);return t==w||t==O?e.size:Pr(e).length},Mn.snakeCase=Ya,Mn.some=function(e,t,n){var r=Ws(e)?jt:ti;return n&&vo(e,t,n)&&(t=i),r(e,oo(t,3))},Mn.sortedIndex=function(e,t){return ni(e,t)},Mn.sortedIndexBy=function(e,t,n){return ri(e,t,oo(n,2))},Mn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ni(e,t);if(r<n&&$s(e[r],t))return r}return-1},Mn.sortedLastIndex=function(e,t){return ni(e,t,!0)},Mn.sortedLastIndexBy=function(e,t,n){return ri(e,t,oo(n,2),!0)},Mn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ni(e,t,!0)-1;if($s(e[n],t))return n}return-1},Mn.startCase=Ga,Mn.startsWith=function(e,t,n){return e=va(e),n=null==n?0:or(da(n),0,e.length),t=si(t),e.slice(n,n+t.length)==t},Mn.subtract=Eu,Mn.sum=function(e){return e&&e.length?Yt(e,nu):0},Mn.sumBy=function(e,t){return e&&e.length?Yt(e,oo(t,2)):0},Mn.template=function(e,t,n){var r=Mn.templateSettings;n&&vo(e,t,n)&&(t=i),e=va(e),t=_a({},t,r,Xi);var o,s,a=_a({},t.imports,r.imports,Xi),u=La(a),c=Zt(a,u),l=0,f=t.interpolate||be,p="__p += '",d=Se((t.escape||be).source+"|"+f.source+"|"+(f===K?fe:be).source+"|"+(t.evaluate||be).source+"|$","g"),h="//# sourceURL="+(ke.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";e.replace(d,function(t,n,r,i,a,u){return r||(r=i),p+=e.slice(l,u).replace(_e,nn),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),a&&(s=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+t.length,t}),p+="';\n";var g=ke.call(t,"variable")&&t.variable;if(g){if(ce.test(g))throw new xe("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(s?p.replace(F,""):p).replace(W,"$1").replace(H,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=Ka(function(){return we(u,h+"return "+p).apply(i,c)});if(m.source=p,Xs(m))throw m;return m},Mn.times=function(e,t){if((e=da(e))<1||e>f)return[];var n=d,r=vn(e,d);t=oo(t),e-=d;for(var i=Gt(r,t);++n<e;)t(n);return i},Mn.toFinite=pa,Mn.toInteger=da,Mn.toLength=ha,Mn.toLower=function(e){return va(e).toLowerCase()},Mn.toNumber=ga,Mn.toSafeInteger=function(e){return e?or(da(e),-9007199254740991,f):0===e?e:0},Mn.toString=va,Mn.toUpper=function(e){return va(e).toUpperCase()},Mn.trim=function(e,t,n){if((e=va(e))&&(n||t===i))return Vt(e);if(!e||!(t=si(t)))return e;var r=fn(e),o=fn(t);return yi(r,Jt(r,o),Qt(r,o)+1).join("")},Mn.trimEnd=function(e,t,n){if((e=va(e))&&(n||t===i))return e.slice(0,pn(e)+1);if(!e||!(t=si(t)))return e;var r=fn(e);return yi(r,0,Qt(r,fn(t))+1).join("")},Mn.trimStart=function(e,t,n){if((e=va(e))&&(n||t===i))return e.replace(re,"");if(!e||!(t=si(t)))return e;var r=fn(e);return yi(r,Jt(r,fn(t))).join("")},Mn.truncate=function(e,t){var n=30,r="...";if(Qs(t)){var o="separator"in t?t.separator:o;n="length"in t?da(t.length):n,r="omission"in t?si(t.omission):r}var s=(e=va(e)).length;if(rn(e)){var a=fn(e);s=a.length}if(n>=s)return e;var u=n-ln(r);if(u<1)return r;var c=a?yi(a,0,u).join(""):e.slice(0,u);if(o===i)return c+r;if(a&&(u+=c.length-u),ia(o)){if(e.slice(u).search(o)){var l,f=c;for(o.global||(o=Se(o.source,va(pe.exec(o))+"g")),o.lastIndex=0;l=o.exec(f);)var p=l.index;c=c.slice(0,p===i?u:p)}}else if(e.indexOf(si(o),u)!=u){var d=c.lastIndexOf(o);d>-1&&(c=c.slice(0,d))}return c+r},Mn.unescape=function(e){return(e=va(e))&&G.test(e)?e.replace(q,dn):e},Mn.uniqueId=function(e){var t=++Pe;return va(e)+t},Mn.upperCase=Va,Mn.upperFirst=Xa,Mn.each=vs,Mn.eachRight=ys,Mn.first=qo,su(Mn,(mu={},yr(Mn,function(e,t){ke.call(Mn.prototype,t)||(mu[t]=e)}),mu),{chain:!1}),Mn.VERSION="4.17.21",St(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Mn[e].placeholder=Mn}),St(["drop","take"],function(e,t){Fn.prototype[e]=function(n){n=n===i?1:mn(da(n),0);var r=this.__filtered__&&!t?new Fn(this):this.clone();return r.__filtered__?r.__takeCount__=vn(n,r.__takeCount__):r.__views__.push({size:vn(n,d),type:e+(r.__dir__<0?"Right":"")}),r},Fn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),St(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;Fn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:oo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),St(["head","last"],function(e,t){var n="take"+(t?"Right":"");Fn.prototype[e]=function(){return this[n](1).value()[0]}}),St(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Fn.prototype[e]=function(){return this.__filtered__?new Fn(this):this[n](1)}}),Fn.prototype.compact=function(){return this.filter(nu)},Fn.prototype.find=function(e){return this.filter(e).head()},Fn.prototype.findLast=function(e){return this.reverse().find(e)},Fn.prototype.invokeMap=Gr(function(e,t){return"function"==typeof e?new Fn(this):this.map(function(n){return Ar(n,e,t)})}),Fn.prototype.reject=function(e){return this.filter(Ps(oo(e)))},Fn.prototype.slice=function(e,t){e=da(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Fn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=da(t))<0?n.dropRight(-t):n.take(t-e)),n)},Fn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Fn.prototype.toArray=function(){return this.take(d)},yr(Fn.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Mn[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);o&&(Mn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,u=t instanceof Fn,c=a[0],l=u||Ws(t),f=function(e){var t=o.apply(Mn,Ct([e],a));return r&&p?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var p=this.__chain__,d=!!this.__actions__.length,h=s&&!p,g=u&&!d;if(!s&&l){t=g?t:new Fn(this);var m=e.apply(t,a);return m.__actions__.push({func:ps,args:[f],thisArg:i}),new Un(m,p)}return h&&g?e.apply(this,a):(m=this.thru(f),h?r?m.value()[0]:m.value():m)})}),St(["pop","push","shift","sort","splice","unshift"],function(e){var t=Ae[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Mn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Ws(i)?i:[],e)}return this[n](function(n){return t.apply(Ws(n)?n:[],e)})}}),yr(Fn.prototype,function(e,t){var n=Mn[t];if(n){var r=n.name+"";ke.call(In,r)||(In[r]=[]),In[r].push({name:t,func:n})}}),In[zi(i,2).name]=[{name:"wrapper",func:i}],Fn.prototype.clone=function(){var e=new Fn(this.__wrapped__);return e.__actions__=Ri(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ri(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ri(this.__views__),e},Fn.prototype.reverse=function(){if(this.__filtered__){var e=new Fn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Fn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ws(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=vn(t,e+s);break;case"takeRight":e=mn(e,t-s)}}return{start:e,end:t}}(0,i,this.__views__),s=o.start,a=o.end,u=a-s,c=r?a:s-1,l=this.__iteratees__,f=l.length,p=0,d=vn(u,this.__takeCount__);if(!n||!r&&i==u&&d==u)return fi(e,this.__actions__);var h=[];e:for(;u--&&p<d;){for(var g=-1,m=e[c+=t];++g<f;){var v=l[g],y=v.iteratee,b=v.type,_=y(m);if(2==b)m=_;else if(!_){if(1==b)continue e;break e}}h[p++]=m}return h},Mn.prototype.at=ds,Mn.prototype.chain=function(){return fs(this)},Mn.prototype.commit=function(){return new Un(this.value(),this.__chain__)},Mn.prototype.next=function(){this.__values__===i&&(this.__values__=fa(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Mn.prototype.plant=function(e){for(var t,n=this;n instanceof Bn;){var r=Mo(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Mn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Fn){var t=e;return this.__actions__.length&&(t=new Fn(this)),(t=t.reverse()).__actions__.push({func:ps,args:[Qo],thisArg:i}),new Un(t,this.__chain__)}return this.thru(Qo)},Mn.prototype.toJSON=Mn.prototype.valueOf=Mn.prototype.value=function(){return fi(this.__wrapped__,this.__actions__)},Mn.prototype.first=Mn.prototype.head,Xe&&(Mn.prototype[Xe]=function(){return this}),Mn}();ft._=hn,(r=function(){return hn}.call(t,n,t,e))===i||(e.exports=r)}.call(this)},592:(e,t,n)=>{"use strict";var r=n(516),i=n(522),o=n(948),s=n(106),a=n(615),u=n(631),c=n(202),l=n(763),f=n(987),p=n(928);e.exports=function(e){return new Promise(function(t,n){var d,h=e.data,g=e.headers,m=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}r.isFormData(h)&&delete g["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(b+":"+_)}var x=a(e.baseURL,e.url);function w(){if(y){var r="getAllResponseHeaders"in y?u(y.getAllResponseHeaders()):null,o={data:m&&"text"!==m&&"json"!==m?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};i(function(e){t(e),v()},function(e){n(e),v()},o),y=null}}if(y.open(e.method.toUpperCase(),s(x,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=w:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(w)},y.onabort=function(){y&&(n(l("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(l("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||f.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var E=(e.withCredentials||c(x))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;E&&(g[e.xsrfHeaderName]=E)}"setRequestHeader"in y&&r.forEach(g,function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete g[t]:y.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),m&&"json"!==m&&(y.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){y&&(n(!e||e&&e.type?new p("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),h||(h=null),y.send(h)})}},615:(e,t,n)=>{"use strict";var r=n(137),i=n(680);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},631:(e,t,n)=>{"use strict";var r=n(516),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,s={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(s[t]&&i.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}}),s):s}},641:e=>{e.exports={version:"0.25.0"}},680:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},763:(e,t,n)=>{"use strict";var r=n(449);e.exports=function(e,t,n,i,o){var s=new Error(e);return r(s,t,n,i,o)}},833:e=>{e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),s=Object.keys(t);if(o.length!==s.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),u=0;u<o.length;u++){var c=o[u];if(!a(c))return!1;var l=e[c],f=t[c];if(!1===(i=n?n.call(r,l,f,c):void 0)||void 0===i&&l!==f)return!1}return!0}},841:(e,t,n)=>{"use strict";var r=n(641).version,i={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var o={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(i(r," has been removed"+(t?" in "+t:"")));return t&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],s=t[o];if(s){var a=e[o],u=void 0===a||s(a,o,e);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},864:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},881:(e,t,n)=>{"use strict";var r=n(516),i=n(987);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,function(n){e=n.call(o,e,t)}),e}},928:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},948:(e,t,n)=>{"use strict";var r=n(516);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},980:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},987:(e,t,n)=>{"use strict";var r=n(516),i=n(18),o=n(449),s={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(592)),u),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(a(t,"application/json"),function(e){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(s){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(e){c.headers[e]={}}),r.forEach(["post","put","patch"],function(e){c.headers[e]=r.merge(s)}),e.exports=c}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);i.r(o);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>n[e]);return s.default=()=>n,i.d(o,s),o},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.nc=void 0;var o={};(()=>{"use strict";i.r(o),i.d(o,{api:()=>e,appear:()=>t,blog:()=>n,document:()=>r,operations:()=>s,popup:()=>u,resizeDetecter:()=>l,storage:()=>f,timeline:()=>p,types:()=>d,useResize:()=>c,utils:()=>h});var e={};i.r(e),i.d(e,{ApiLoader:()=>Y,useApi:()=>G});var t={};i.r(t),i.d(t,{onAppear:()=>V});var n={};i.r(n),i.d(n,{BlogItem:()=>Mn,BlogList:()=>$n,BlogSideBar:()=>Bn,Item:()=>zn});var r={};i.r(r),i.d(r,{Body:()=>ao,Code:()=>wo,DocWrapper:()=>To,Image:()=>bo,Separator:()=>_o,Text:()=>yo,TextSize:()=>io,TextStyle:()=>oo,YoutubeVideo:()=>Eo,emptyBulletSvg:()=>mo,solidBulletSvg:()=>vo});var s={};i.r(s),i.d(s,{default:()=>Ro});var a={};i.r(a);var u={};i.r(u),i.d(u,{Overlay:()=>Ca,ReactRootElement:()=>Sa,ReactRootElementPopup:()=>Ra,TooltipBoolean:()=>Na,TooltipClick:()=>La,TooltipHover:()=>Ia});var c={};i.r(c),i.d(c,{useResizeDetecter:()=>Pa});var l={};i.r(l),i.d(l,{ResizeDetecter:()=>ja});var f={};i.r(f),i.d(f,{Storage:()=>Ma,useStates:()=>Ba,useStorage:()=>$a});var p={};i.r(p),i.d(p,{ElementEnterLeave:()=>ql,ElementEnterLeaveXValues:()=>Zl,ElementEnterLeaveYValues:()=>Xl,ScrollCoordinateType:()=>Fl,ScrollDirection:()=>Bl,ScrollModel:()=>Ml,SyncSmoothness:()=>Gl,TimelineAutoPlay:()=>Wl,TimelineCommandOption:()=>Hl,TimelineCommandOptionLabel:()=>Yl,TimelineConfigType:()=>Ul,TimelineDirection:()=>Vl,TimelineDirectionValue:()=>ef,TimelineScreenType:()=>$l,getEnterLeaveConfigValue:()=>Kl,getTimelineElements:()=>tf,useTimeline:()=>nf});var d={};i.r(d);var h={};i.r(h),i.d(h,{ScrollElementConfig:()=>Jl,ScrollElementOrator:()=>Ql,getCount:()=>of,loopOnArray:()=>lf,loopOnObject:()=>cf,loopOnRange:()=>af,loopOnString:()=>uf,prepareFocusEvent:()=>vf,prepareInputChangeEvent:()=>gf,prepareKeyboardEvent:()=>mf,prepareMouseEvent:()=>hf,prepareUIEvent:()=>yf,scrollTo:()=>df,toStyle:()=>pf,toText:()=>ff,useDidUpdateEffect:()=>sf});var g=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty;function y(e,t){return function(n,r,i){return e(n,r,i)&&t(n,r,i)}}function b(e){return function(t,n,r){if(!t||!n||"object"!=typeof t||"object"!=typeof n)return e(t,n,r);var i=r.cache,o=i.get(t),s=i.get(n);if(o&&s)return o===n&&s===t;i.set(t,n),i.set(n,t);var a=e(t,n,r);return i.delete(t),i.delete(n),a}}function _(e){return g(e).concat(m(e))}var x=Object.hasOwn||function(e,t){return v.call(e,t)};function w(e,t){return e||t?e===t:e===t||e!=e&&t!=t}var E="_owner",T=Object.getOwnPropertyDescriptor,S=Object.keys;function R(e,t,n){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function O(e,t){return w(e.getTime(),t.getTime())}function A(e,t,n){if(e.size!==t.size)return!1;for(var r,i,o={},s=e.entries(),a=0;(r=s.next())&&!r.done;){for(var u=t.entries(),c=!1,l=0;(i=u.next())&&!i.done;){var f=r.value,p=f[0],d=f[1],h=i.value,g=h[0],m=h[1];c||o[l]||!(c=n.equals(p,g,a,l,e,t,n)&&n.equals(d,m,p,g,e,t,n))||(o[l]=!0),l++}if(!c)return!1;a++}return!0}function I(e,t,n){var r,i=S(e),o=i.length;if(S(t).length!==o)return!1;for(;o-- >0;){if((r=i[o])===E&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!x(t,r)||!n.equals(e[r],t[r],r,r,e,t,n))return!1}return!0}function L(e,t,n){var r,i,o,s=_(e),a=s.length;if(_(t).length!==a)return!1;for(;a-- >0;){if((r=s[a])===E&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!x(t,r))return!1;if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;if(i=T(e,r),o=T(t,r),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable))return!1}return!0}function N(e,t){return w(e.valueOf(),t.valueOf())}function C(e,t){return e.source===t.source&&e.flags===t.flags}function k(e,t,n){if(e.size!==t.size)return!1;for(var r,i,o={},s=e.values();(r=s.next())&&!r.done;){for(var a=t.values(),u=!1,c=0;(i=a.next())&&!i.done;)u||o[c]||!(u=n.equals(r.value,i.value,r.value,i.value,e,t,n))||(o[c]=!0),c++;if(!u)return!1}return!0}function P(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}var j=Array.isArray,D="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,z=Object.assign,M=Object.prototype.toString.call.bind(Object.prototype.toString),$=B();function B(e){void 0===e&&(e={});var t,n=e.circular,r=void 0!==n&&n,i=e.createInternalComparator,o=e.createState,s=e.strict,a=void 0!==s&&s,u=function(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,i={areArraysEqual:r?L:R,areDatesEqual:O,areMapsEqual:r?y(A,L):A,areObjectsEqual:r?L:I,arePrimitiveWrappersEqual:N,areRegExpsEqual:C,areSetsEqual:r?y(k,L):k,areTypedArraysEqual:r?L:P};if(n&&(i=z({},i,n(i))),t){var o=b(i.areArraysEqual),s=b(i.areMapsEqual),a=b(i.areObjectsEqual),u=b(i.areSetsEqual);i=z({},i,{areArraysEqual:o,areMapsEqual:s,areObjectsEqual:a,areSetsEqual:u})}return i}(e),c=function(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areMapsEqual,i=e.areObjectsEqual,o=e.arePrimitiveWrappersEqual,s=e.areRegExpsEqual,a=e.areSetsEqual,u=e.areTypedArraysEqual;return function(e,c,l){if(e===c)return!0;if(null==e||null==c||"object"!=typeof e||"object"!=typeof c)return e!=e&&c!=c;var f=e.constructor;if(f!==c.constructor)return!1;if(f===Object)return i(e,c,l);if(j(e))return t(e,c,l);if(null!=D&&D(e))return u(e,c,l);if(f===Date)return n(e,c,l);if(f===RegExp)return s(e,c,l);if(f===Map)return r(e,c,l);if(f===Set)return a(e,c,l);var p=M(e);return"[object Date]"===p?n(e,c,l):"[object RegExp]"===p?s(e,c,l):"[object Map]"===p?r(e,c,l):"[object Set]"===p?a(e,c,l):"[object Object]"===p?"function"!=typeof e.then&&"function"!=typeof c.then&&i(e,c,l):"[object Arguments]"===p?i(e,c,l):("[object Boolean]"===p||"[object Number]"===p||"[object String]"===p)&&o(e,c,l)}}(u),l=i?i(c):(t=c,function(e,n,r,i,o,s,a){return t(e,n,a)});return function(e){var t=e.circular,n=e.comparator,r=e.createState,i=e.equals,o=e.strict;if(r)return function(e,s){var a=r(),u=a.cache,c=void 0===u?t?new WeakMap:void 0:u,l=a.meta;return n(e,s,{cache:c,equals:i,meta:l,strict:o})};if(t)return function(e,t){return n(e,t,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var s={cache:void 0,equals:i,meta:void 0,strict:o};return function(e,t){return n(e,t,s)}}({circular:r,comparator:c,createState:o,equals:l,strict:a})}B({strict:!0}),B({circular:!0}),B({circular:!0,strict:!0}),B({createInternalComparator:function(){return w}}),B({strict:!0,createInternalComparator:function(){return w}}),B({circular:!0,createInternalComparator:function(){return w}}),B({circular:!0,createInternalComparator:function(){return w},strict:!0});var U=i(15),F=i.t(U,2),W=i.n(U),H=i(505),q=i.n(H),Y=function(){function e(e){this.loading=!1,this.controller=new AbortController,this.onUpdate=e}return e.prototype.load=function(e){var t,n=this;if(!$(e,this.request)){this.loading&&this.controller.abort(),this.controller=new AbortController,this.request=e,this.loading=!0,null===(t=this.onUpdate)||void 0===t||t.call(this);var r=e.config,i=e.body,o=Object.entries(e.query||{}).reduce(function(e,t,n){var r=t[0],i=t[1];return 0===n?"?".concat(r,"=").concat(i):"".concat(e,"&").concat(r,"=").concat(i)},"");q()({signal:this.controller.signal,method:"post",url:"".concat(r.host,"/").concat(r.path.startsWith("/")?r.path.slice(1):r.path).concat(o),headers:{"Content-Type":"application/json"},data:i}).then(function(e){var t;n.response=e.data,n.error=void 0,n.loading=!1,null===(t=n.onUpdate)||void 0===t||t.call(n)}).catch(function(e){var t;n.response=void 0,n.error=(null==e?void 0:e.message)||"Unknown Error",n.loading=!1,null===(t=n.onUpdate)||void 0===t||t.call(n)})}},e}(),G=function(e){var t=(0,U.useState)({})[1],n=(0,U.useMemo)(function(){return new Y(function(){t({})})},[]);return n.load(e),{loading:n.loading,response:{body:n.response},error:n.error,request:n.request}},V=function(){return function(e){var t=null,n=0,r={};return addEventListener("scroll",function(){var i=e.scrollY||e.pageYOffset;null!=t&&(r.velocity=i-t,r.delta=r.velocity>=0?r.velocity:-1*r.velocity),t=i,n&&clearTimeout(n),n=setTimeout(function(){t=null},30)},!1),function(t){return function(){var t,n,i,o=!1,s=[],a=[],u=0,c=0,l={};function f(){r.delta<l.delta.speed&&(n||(n=!0,h(),setTimeout(function(){n=!1},l.delta.timeout))),h()}function p(){setTimeout(function(){h()},100),addEventListener("scroll",f,!1),addEventListener("wheel",f,!1),addEventListener("resize",f,!1)}function d(){removeEventListener("scroll",f,!1),removeEventListener("resize",f,!1)}function h(){i||(s.forEach(function(t,n){var r,i,o;t&&(r=t,i=l.bounds,(o=r.getBoundingClientRect()).top+o.height>=0&&o.left+o.width>=0&&o.bottom-o.height<=(e.innerHeight||document.documentElement.clientHeight)+i&&o.right-o.width<=(e.innerWidth||document.documentElement.clientWidth)+i)?a[n]&&(a[n]=!1,u++,l.appear&&l.appear(t),l.disappear||l.reappear||(s[n]=null)):(!1===a[n]&&(l.disappear&&l.disappear(t),c++,l.reappear||(s[n]=null)),a[n]=!0)}),l.reappear||l.appear&&(!l.appear||u!==t)||l.disappear&&(!l.disappear||c!==t)||(i=!0,d(),l.done&&l.done()))}function g(){var e;if(!o&&(o=!0,l.init&&l.init(),e="function"==typeof l.elements?l.elements():l.elements)){t=e.length;for(var n=0;n<t;n+=1)s.push(e[n]),a.push(!0);p()}}return function(e){l={init:(e=e||{}).init,elements:e.elements,appear:e.appear,disappear:e.disappear,done:e.done,reappear:e.reappear,bounds:e.bounds||0,debounce:e.debounce||50,delta:{speed:e.deltaSpeed||50,timeout:e.deltaTimeout||500}},addEventListener("DOMContentLoaded",g,!1);var t=!1;Function("/*@cc_on return document.documentMode===10@*/")()&&(t=!0);var n="complete"===document.readyState||"loaded"===document.readyState;return t?n&&g():(n||"interactive"===document.readyState)&&g(),{trigger:function(){h()},pause:function(){d()},resume:function(){p()},destroy:function(){s=[],d()}}}}()(t)}}(window)},X=i(85);const Z=require("next/router");var K=function(){return K=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},K.apply(this,arguments)};function J(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Q=i(833),ee=i.n(Q),te="-ms-",ne="-moz-",re="-webkit-",ie="comm",oe="rule",se="decl",ae="@keyframes",ue=Math.abs,ce=String.fromCharCode,le=Object.assign;function fe(e){return e.trim()}function pe(e,t){return(e=t.exec(e))?e[0]:e}function de(e,t,n){return e.replace(t,n)}function he(e,t,n){return e.indexOf(t,n)}function ge(e,t){return 0|e.charCodeAt(t)}function me(e,t,n){return e.slice(t,n)}function ve(e){return e.length}function ye(e){return e.length}function be(e,t){return t.push(e),e}function _e(e,t){return e.filter(function(e){return!pe(e,t)})}var xe=1,we=1,Ee=0,Te=0,Se=0,Re="";function Oe(e,t,n,r,i,o,s,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:xe,column:we,length:s,return:"",siblings:a}}function Ae(e,t){return le(Oe("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Ie(e){for(;e.root;)e=Ae(e.root,{children:[e]});be(e,e.siblings)}function Le(){return Se=Te>0?ge(Re,--Te):0,we--,10===Se&&(we=1,xe--),Se}function Ne(){return Se=Te<Ee?ge(Re,Te++):0,we++,10===Se&&(we=1,xe++),Se}function Ce(){return ge(Re,Te)}function ke(){return Te}function Pe(e,t){return me(Re,e,t)}function je(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 De(e){return fe(Pe(Te-1,$e(91===e?e+2:40===e?e+1:e)))}function ze(e){for(;(Se=Ce())&&Se<33;)Ne();return je(e)>2||je(Se)>3?"":" "}function Me(e,t){for(;--t&&Ne()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return Pe(e,ke()+(t<6&&32==Ce()&&32==Ne()))}function $e(e){for(;Ne();)switch(Se){case e:return Te;case 34:case 39:34!==e&&39!==e&&$e(Se);break;case 40:41===e&&$e(e);break;case 92:Ne()}return Te}function Be(e,t){for(;Ne()&&e+Se!==57&&(e+Se!==84||47!==Ce()););return"/*"+Pe(t,Te-1)+"*"+ce(47===e?e:Ne())}function Ue(e){for(;!je(Ce());)Ne();return Pe(e,Te)}function Fe(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function We(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case se:return e.return=e.return||e.value;case ie:return"";case ae:return e.return=e.value+"{"+Fe(e.children,r)+"}";case oe:if(!ve(e.value=e.props.join(",")))return""}return ve(n=Fe(e.children,r))?e.return=e.value+"{"+n+"}":""}function He(e,t,n){switch(function(e,t){return 45^ge(e,0)?(((t<<2^ge(e,0))<<2^ge(e,1))<<2^ge(e,2))<<2^ge(e,3):0}(e,t)){case 5103:return re+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return re+e+e;case 4789:return ne+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+ne+e+te+e+e;case 5936:switch(ge(e,t+11)){case 114:return re+e+te+de(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+te+de(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+te+de(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return re+e+te+e+e;case 6165:return re+e+te+"flex-"+e+e;case 5187:return re+e+de(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+te+"flex-$1$2")+e;case 5443:return re+e+te+"flex-item-"+de(e,/flex-|-self/g,"")+(pe(e,/flex-|baseline/)?"":te+"grid-row-"+de(e,/flex-|-self/g,""))+e;case 4675:return re+e+te+"flex-line-pack"+de(e,/align-content|flex-|-self/g,"")+e;case 5548:return re+e+te+de(e,"shrink","negative")+e;case 5292:return re+e+te+de(e,"basis","preferred-size")+e;case 6060:return re+"box-"+de(e,"-grow","")+re+e+te+de(e,"grow","positive")+e;case 4554:return re+de(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return de(de(de(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return de(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return de(de(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4200:if(!pe(e,/flex-|baseline/))return te+"grid-column-align"+me(e,t)+e;break;case 2592:case 3360:return te+de(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(e,n){return t=n,pe(e.props,/grid-\w+-end/)})?~he(e+(n=n[t].value),"span",0)?e:te+de(e,"-start","")+e+te+"grid-row-span:"+(~he(n,"span",0)?pe(n,/\d+/):+pe(n,/\d+/)-+pe(e,/\d+/))+";":te+de(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(e){return pe(e.props,/grid-\w+-start/)})?e:te+de(de(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return de(e,/(.+)-inline(.+)/,re+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ve(e)-1-t>6)switch(ge(e,t+1)){case 109:if(45!==ge(e,t+4))break;case 102:return de(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+ne+(108==ge(e,t+3)?"$3":"$2-$3"))+e;case 115:return~he(e,"stretch",0)?He(de(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return de(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,r,i,o,s,a){return te+n+":"+r+a+(i?te+n+"-span:"+(o?s:+s-+r)+a:"")+e});case 4949:if(121===ge(e,t+6))return de(e,":",":"+re)+e;break;case 6444:switch(ge(e,45===ge(e,14)?18:11)){case 120:return de(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+re+(45===ge(e,14)?"inline-":"")+"box$3$1"+re+"$2$3$1"+te+"$2box$3")+e;case 100:return de(e,":",":"+te)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return de(e,"scroll-","scroll-snap-")+e}return e}function qe(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case se:return void(e.return=He(e.value,e.length,n));case ae:return Fe([Ae(e,{value:de(e.value,"@","@"+re)})],r);case oe:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,function(t){switch(pe(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ie(Ae(e,{props:[de(t,/:(read-\w+)/,":-moz-$1")]})),Ie(Ae(e,{props:[t]})),le(e,{props:_e(n,r)});break;case"::placeholder":Ie(Ae(e,{props:[de(t,/:(plac\w+)/,":"+re+"input-$1")]})),Ie(Ae(e,{props:[de(t,/:(plac\w+)/,":-moz-$1")]})),Ie(Ae(e,{props:[de(t,/:(plac\w+)/,te+"input-$1")]})),Ie(Ae(e,{props:[t]})),le(e,{props:_e(n,r)})}return""})}}function Ye(e){return function(e){return Re="",e}(Ge("",null,null,null,[""],e=function(e){return xe=we=1,Ee=ve(Re=e),Te=0,[]}(e),0,[0],e))}function Ge(e,t,n,r,i,o,s,a,u){for(var c=0,l=0,f=s,p=0,d=0,h=0,g=1,m=1,v=1,y=0,b="",_=i,x=o,w=r,E=b;m;)switch(h=y,y=Ne()){case 40:if(108!=h&&58==ge(E,f-1)){-1!=he(E+=de(De(y),"&","&\f"),"&\f",ue(c?a[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:E+=De(y);break;case 9:case 10:case 13:case 32:E+=ze(h);break;case 92:E+=Me(ke()-1,7);continue;case 47:switch(Ce()){case 42:case 47:be(Xe(Be(Ne(),ke()),t,n,u),u);break;default:E+="/"}break;case 123*g:a[c++]=ve(E)*v;case 125*g:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+l:-1==v&&(E=de(E,/\f/g,"")),d>0&&ve(E)-f&&be(d>32?Ze(E+";",r,n,f-1,u):Ze(de(E," ","")+";",r,n,f-2,u),u);break;case 59:E+=";";default:if(be(w=Ve(E,t,n,c,l,i,a,b,_=[],x=[],f,o),o),123===y)if(0===l)Ge(E,t,w,w,_,o,f,a,x);else switch(99===p&&110===ge(E,3)?100:p){case 100:case 108:case 109:case 115:Ge(e,w,w,r&&be(Ve(e,w,w,0,0,i,a,b,i,_=[],f,x),x),i,x,f,a,r?_:x);break;default:Ge(E,w,w,w,[""],x,0,a,x)}}c=l=d=0,g=v=1,b=E="",f=s;break;case 58:f=1+ve(E),d=h;default:if(g<1)if(123==y)--g;else if(125==y&&0==g++&&125==Le())continue;switch(E+=ce(y),y*g){case 38:v=l>0?1:(E+="\f",-1);break;case 44:a[c++]=(ve(E)-1)*v,v=1;break;case 64:45===Ce()&&(E+=De(Ne())),p=Ce(),l=f=ve(b=E+=Ue(ke())),y++;break;case 45:45===h&&2==ve(E)&&(g=0)}}return o}function Ve(e,t,n,r,i,o,s,a,u,c,l,f){for(var p=i-1,d=0===i?o:[""],h=ye(d),g=0,m=0,v=0;g<r;++g)for(var y=0,b=me(e,p+1,p=ue(m=s[g])),_=e;y<h;++y)(_=fe(m>0?d[y]+" "+b:de(b,/&\f/g,d[y])))&&(u[v++]=_);return Oe(e,t,n,0===i?oe:a,u,c,l,f)}function Xe(e,t,n,r){return Oe(e,t,n,ie,ce(Se),me(e,2,-2),0,r)}function Ze(e,t,n,r,i){return Oe(e,t,n,se,me(e,0,r),me(e,r+1,-1),r,i)}var Ke={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},Je="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Qe="active",et="data-styled-version",tt="6.1.11",nt="/*!sc*/\n",rt="undefined"!=typeof window&&"HTMLElement"in window,it=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),ot=(new Set,Object.freeze([])),st=Object.freeze({});var at=new Set(["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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ut=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ct=/(^-|-$)/g;function lt(e){return e.replace(ut,"-").replace(ct,"")}var ft=/(a)(d)/gi,pt=function(e){return String.fromCharCode(e+(e>25?39:97))};function dt(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=pt(t%52)+n;return(pt(t%52)+n).replace(ft,"$1-$2")}var ht,gt=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},mt=function(e){return gt(5381,e)};function vt(e){return"string"==typeof e&&!0}var yt="function"==typeof Symbol&&Symbol.for,bt=yt?Symbol.for("react.memo"):60115,_t=yt?Symbol.for("react.forward_ref"):60112,xt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},wt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Et={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Tt=((ht={})[_t]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ht[bt]=Et,ht);function St(e){return("type"in(t=e)&&t.type.$$typeof)===bt?Et:"$$typeof"in e?Tt[e.$$typeof]:xt;var t}var Rt=Object.defineProperty,Ot=Object.getOwnPropertyNames,At=Object.getOwnPropertySymbols,It=Object.getOwnPropertyDescriptor,Lt=Object.getPrototypeOf,Nt=Object.prototype;function Ct(e,t,n){if("string"!=typeof t){if(Nt){var r=Lt(t);r&&r!==Nt&&Ct(e,r,n)}var i=Ot(t);At&&(i=i.concat(At(t)));for(var o=St(e),s=St(t),a=0;a<i.length;++a){var u=i[a];if(!(u in wt||n&&n[u]||s&&u in s||o&&u in o)){var c=It(t,u);try{Rt(e,u,c)}catch(e){}}}}return e}function kt(e){return"function"==typeof e}function Pt(e){return"object"==typeof e&&"styledComponentId"in e}function jt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Dt(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function zt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Mt(e,t,n){if(void 0===n&&(n=!1),!n&&!zt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=Mt(e[r],t[r]);else if(zt(t))for(var r in t)e[r]=Mt(e[r],t[r]);return e}function $t(e,t){Object.defineProperty(e,"toString",{value:t})}function Bt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var Ut=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw Bt(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var s=this.indexOfGroup(e+1),a=(o=0,t.length);o<a;o++)this.tag.insertRule(s,t[o])&&(this.groupSizes[e]++,s++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+="".concat(this.tag.getRule(o)).concat(nt);return t},e}(),Ft=new Map,Wt=new Map,Ht=1,qt=function(e){if(Ft.has(e))return Ft.get(e);for(;Wt.has(Ht);)Ht++;var t=Ht++;return Ft.set(e,t),Wt.set(t,e),t},Yt=function(e,t){Ht=t+1,Ft.set(e,t),Wt.set(t,e)},Gt="style[".concat(Je,"][").concat(et,'="').concat(tt,'"]'),Vt=new RegExp("^".concat(Je,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Xt=function(e,t,n){for(var r,i=n.split(","),o=0,s=i.length;o<s;o++)(r=i[o])&&e.registerName(t,r)},Zt=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(nt),i=[],o=0,s=r.length;o<s;o++){var a=r[o].trim();if(a){var u=a.match(Vt);if(u){var c=0|parseInt(u[1],10),l=u[2];0!==c&&(Yt(l,c),Xt(e,l,u[3]),e.getTag().insertRules(c,i)),i.length=0}else i.push(a)}}};function Kt(){return i.nc}var Jt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Je,"]")));return t[t.length-1]}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(Je,Qe),r.setAttribute(et,tt);var s=Kt();return s&&r.setAttribute("nonce",s),n.insertBefore(r,o),r},Qt=function(){function e(e){this.element=Jt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw Bt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),en=function(){function e(e){this.element=Jt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),tn=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),nn=rt,rn={isServer:!rt,useCSSOMInjection:!it},on=function(){function e(e,t,n){void 0===e&&(e=st),void 0===t&&(t={});var r=this;this.options=K(K({},rn),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&rt&&nn&&(nn=!1,function(e){for(var t=document.querySelectorAll(Gt),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(Je)!==Qe&&(Zt(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this)),$t(this,function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=function(n){var i=function(e){return Wt.get(e)}(n);if(void 0===i)return"continue";var o=e.names.get(i),s=t.getGroup(n);if(void 0===o||0===s.length)return"continue";var a="".concat(Je,".g").concat(n,'[id="').concat(i,'"]'),u="";void 0!==o&&o.forEach(function(e){e.length>0&&(u+="".concat(e,","))}),r+="".concat(s).concat(a,'{content:"').concat(u,'"}').concat(nt)},o=0;o<n;o++)i(o);return r}(r)})}return e.registerId=function(e){return qt(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(K(K({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new tn(n):t?new Qt(n):new en(n)}(this.options),new Ut(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(qt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(qt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(qt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),sn=/&/g,an=/^\s*\/\/.*$/gm;function un(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=un(e.children,t)),e})}function cn(e){var t,n,r,i=void 0===e?st:e,o=i.options,s=void 0===o?st:o,a=i.plugins,u=void 0===a?ot:a,c=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},l=u.slice();l.push(function(e){e.type===oe&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(sn,n).replace(r,c))}),s.prefix&&l.push(qe),l.push(We);var f=function(e,i,o,a){void 0===i&&(i=""),void 0===o&&(o=""),void 0===a&&(a="&"),t=a,n=i,r=new RegExp("\\".concat(n,"\\b"),"g");var u=e.replace(an,""),c=Ye(o||i?"".concat(o," ").concat(i," { ").concat(u," }"):u);s.namespace&&(c=un(c,s.namespace));var f,p,d,h=[];return Fe(c,(f=l.concat((d=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&d(e)})),p=ye(f),function(e,t,n,r){for(var i="",o=0;o<p;o++)i+=f[o](e,t,n,r)||"";return i})),h};return f.hash=u.length?u.reduce(function(e,t){return t.name||Bt(15),gt(e,t.name)},5381).toString():"",f}var ln=new on,fn=cn(),pn=W().createContext({shouldForwardProp:void 0,styleSheet:ln,stylis:fn}),dn=(pn.Consumer,W().createContext(void 0));function hn(){return(0,U.useContext)(pn)}function gn(e){var t=(0,U.useState)(e.stylisPlugins),n=t[0],r=t[1],i=hn().styleSheet,o=(0,U.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,i]),s=(0,U.useMemo)(function(){return cn({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);(0,U.useEffect)(function(){ee()(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var a=(0,U.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:o,stylis:s}},[e.shouldForwardProp,o,s]);return W().createElement(pn.Provider,{value:a},W().createElement(dn.Provider,{value:s},e.children))}var mn=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=fn);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,$t(this,function(){throw Bt(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=fn),this.name+e.hash},e}(),vn=function(e){return e>="A"&&e<="Z"};function yn(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;vn(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var bn=function(e){return null==e||!1===e||""===e},_n=function(e){var t,n,r=[];for(var i in e){var o=e[i];e.hasOwnProperty(i)&&!bn(o)&&(Array.isArray(o)&&o.isCss||kt(o)?r.push("".concat(yn(i),":"),o,";"):zt(o)?r.push.apply(r,J(J(["".concat(i," {")],_n(o),!1),["}"],!1)):r.push("".concat(yn(i),": ").concat((t=i,null==(n=o)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in Ke||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function xn(e,t,n,r){return bn(e)?[]:Pt(e)?[".".concat(e.styledComponentId)]:kt(e)?!kt(i=e)||i.prototype&&i.prototype.isReactComponent||!t?[e]:xn(e(t),t,n,r):e instanceof mn?n?(e.inject(n,r),[e.getName(r)]):[e]:zt(e)?_n(e):Array.isArray(e)?Array.prototype.concat.apply(ot,e.map(function(e){return xn(e,t,n,r)})):[e.toString()];var i}function wn(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(kt(n)&&!Pt(n))return!1}return!0}var En=mt(tt),Tn=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&wn(e),this.componentId=t,this.baseHash=gt(En,t),this.baseStyle=n,on.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=jt(r,this.staticRulesId);else{var i=Dt(xn(this.rules,e,t,n)),o=dt(gt(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var s=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,s)}r=jt(r,o),this.staticRulesId=o}else{for(var a=gt(this.baseHash,n.hash),u="",c=0;c<this.rules.length;c++){var l=this.rules[c];if("string"==typeof l)u+=l;else if(l){var f=Dt(xn(l,e,t,n));a=gt(a,f+c),u+=f}}if(u){var p=dt(a>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(u,".".concat(p),void 0,this.componentId)),r=jt(r,p)}}return r},e}(),Sn=W().createContext(void 0);Sn.Consumer;var Rn={};function On(e,t,n){var r=Pt(e),i=e,o=!vt(e),s=t.attrs,a=void 0===s?ot:s,u=t.componentId,c=void 0===u?function(e,t){var n="string"!=typeof e?"sc":lt(e);Rn[n]=(Rn[n]||0)+1;var r="".concat(n,"-").concat(function(e){return dt(mt(e)>>>0)}(tt+n+Rn[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):u,l=t.displayName,f=void 0===l?function(e){return vt(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):l,p=t.displayName&&t.componentId?"".concat(lt(t.displayName),"-").concat(t.componentId):t.componentId||c,d=r&&i.attrs?i.attrs.concat(a).filter(Boolean):a,h=t.shouldForwardProp;if(r&&i.shouldForwardProp){var g=i.shouldForwardProp;if(t.shouldForwardProp){var m=t.shouldForwardProp;h=function(e,t){return g(e,t)&&m(e,t)}}else h=g}var v=new Tn(n,p,r?i.componentStyle:void 0);function y(e,t){return function(e,t,n){var r=e.attrs,i=e.componentStyle,o=e.defaultProps,s=e.foldedComponentIds,a=e.styledComponentId,u=e.target,c=W().useContext(Sn),l=hn(),f=e.shouldForwardProp||l.shouldForwardProp,p=function(e,t,n){return void 0===n&&(n=st),e.theme!==n.theme&&e.theme||t||n.theme}(t,c,o)||st,d=function(e,t,n){for(var r,i=K(K({},t),{className:void 0,theme:n}),o=0;o<e.length;o+=1){var s=kt(r=e[o])?r(i):r;for(var a in s)i[a]="className"===a?jt(i[a],s[a]):"style"===a?K(K({},i[a]),s[a]):s[a]}return t.className&&(i.className=jt(i.className,t.className)),i}(r,t,p),h=d.as||u,g={};for(var m in d)void 0===d[m]||"$"===m[0]||"as"===m||"theme"===m&&d.theme===p||("forwardedAs"===m?g.as=d.forwardedAs:f&&!f(m,h)||(g[m]=d[m]));var v=function(e,t){var n=hn();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(i,d),y=jt(s,a);return v&&(y+=" "+v),d.className&&(y+=" "+d.className),g[vt(h)&&!at.has(h)?"class":"className"]=y,g.ref=n,(0,U.createElement)(h,g)}(b,e,t)}y.displayName=f;var b=W().forwardRef(y);return b.attrs=d,b.componentStyle=v,b.displayName=f,b.shouldForwardProp=h,b.foldedComponentIds=r?jt(i.foldedComponentIds,i.styledComponentId):"",b.styledComponentId=p,b.target=r?i.target:e,Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++)Mt(e,i[r],!0);return e}({},i.defaultProps,e):e}}),$t(b,function(){return".".concat(b.styledComponentId)}),o&&Ct(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),b}function An(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}new Set;var In=function(e){return Object.assign(e,{isCss:!0})};function Ln(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(kt(e)||zt(e))return In(xn(An(ot,J([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?xn(r):In(xn(An(r,t)))}function Nn(e,t,n){if(void 0===n&&(n=st),!t)throw Bt(1,t);var r=function(r){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return e(t,n,Ln.apply(void 0,J([r],i,!1)))};return r.attrs=function(r){return Nn(e,t,K(K({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return Nn(e,t,K(K({},n),r))},r}var Cn=function(e){return Nn(On,e)},kn=Cn;at.forEach(function(e){kn[e]=Cn(e)}),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=wn(e),on.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,n,r){var i=r(Dt(xn(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&on.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=Kt(),r=Dt([n&&'nonce="'.concat(n,'"'),"".concat(Je,'="true"'),"".concat(et,'="').concat(tt,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw Bt(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw Bt(2);var n=((t={})[Je]="",t[et]=tt,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=Kt();return r&&(n.nonce=r),[W().createElement("style",K({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new on({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw Bt(2);return W().createElement(gn,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw Bt(3)}}(),"__sc-".concat(Je,"__");var Pn,jn,Dn,zn=kn.div(Pn||(jn=["\n display: flex;\n flex-direction: row;\n justify-content: start;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: start;\n align-items: center;\n box-sizing: border-box;\n cursor: pointer;\n border-radius: 8px;\n height: auto;\n &.hide-arrow {\n > .icon {\n display: none;\n }\n > .text {\n padding-left: 8px;\n }\n }\n > .icon {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 30px;\n height: 30px;\n &.open {\n rotate: 90deg;\n }\n &.hide {\n user-select: none;\n opacity: 0;\n }\n }\n > .text {\n display: flex;\n flex-direction: row;\n justify-content: start;\n align-items: center;\n width: auto;\n height: 30px;\n padding: 8px;\n padding-left: 0px;\n flex: 1;\n }\n &:hover {\n background-color: #0000000a;\n }\n"],Dn=["\n display: flex;\n flex-direction: row;\n justify-content: start;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: start;\n align-items: center;\n box-sizing: border-box;\n cursor: pointer;\n border-radius: 8px;\n height: auto;\n &.hide-arrow {\n > .icon {\n display: none;\n }\n > .text {\n padding-left: 8px;\n }\n }\n > .icon {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 30px;\n height: 30px;\n &.open {\n rotate: 90deg;\n }\n &.hide {\n user-select: none;\n opacity: 0;\n }\n }\n > .text {\n display: flex;\n flex-direction: row;\n justify-content: start;\n align-items: center;\n width: auto;\n height: 30px;\n padding: 8px;\n padding-left: 0px;\n flex: 1;\n }\n &:hover {\n background-color: #0000000a;\n }\n"],Object.defineProperty?Object.defineProperty(jn,"raw",{value:Dn}):jn.raw=Dn,Pn=jn)),Mn=function(e){var t,n,r=e.item,i=e.level,o=e.onClick,s=e.itemWrapper,a=e.isRoot,u=(0,Z.useRouter)(),c=location.pathname.slice(0,-1),l=location.pathname.startsWith(r.pagePath)&&c!==r.pagePath,f=(0,U.useState)(l),p=f[0],d=f[1],h=s,g=a?r.pagePath.split("/").slice(0,-1).join("/"):void 0,m=u.asPath===r.pagePath||g===u.asPath;return(0,X.jsxs)(X.Fragment,{children:[h?(0,X.jsx)(h,{properties:{title:r.name,isSelected:m},events:{click:function(){o?o(r.pagePath):u.push(r.pagePath)}},style:{paddingLeft:"".concat(15*i,"px")}}):(0,X.jsxs)(zn,{style:{paddingLeft:"".concat(15*i,"px")},children:[(0,X.jsx)("div",{onClick:function(){return d(!p)},className:"icon ".concat(p?"open":"close"),children:(null===(t=r.children)||void 0===t?void 0:t.length)?(0,X.jsxs)("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,X.jsx)("path",{d:"M0.0854187 1.36887L0.746734 0.696899L6.09215 5.95757L5.43083 6.62954L0.0854187 1.36887Z",fill:"black"}),(0,X.jsx)("path",{d:"M5.42025 5.29636L6.09215 5.95757L0.831473 11.3032L0.159501 10.6419L5.42025 5.29636Z",fill:"black"})]}):(0,X.jsx)("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,X.jsx)("circle",{cx:"3.44977",cy:"2.93213",r:"2",stroke:"#666666"})})}),(0,X.jsx)("div",{onClick:function(){o?o(r.pagePath):u.push(r.pagePath)},className:"text",children:r.name})]}),!!(null===(n=r.children)||void 0===n?void 0:n.length)&&p&&(0,X.jsx)($n,{onClick:o,list:r.children,level:i+1,itemWrapper:s})]})},$n=function(e){return(0,X.jsx)(X.Fragment,{children:e.list.map(function(t,n){return(0,X.jsx)(Mn,{item:t,onClick:e.onClick,level:e.level,itemWrapper:e.itemWrapper,isRoot:0===n&&e.isRoot},t.pagePath)})})},Bn=function(e){return(0,X.jsx)(X.Fragment,{children:(0,X.jsx)($n,{onClick:e.onClick,list:e.list,level:0,itemWrapper:e.itemWrapper,isRoot:!0})})},Un=Object.defineProperty,Fn=(e,t)=>()=>(e&&(t=e(e=0)),t),Wn=(e,t)=>{for(var n in t)Un(e,n,{get:t[n],enumerable:!0})},Hn={};Wn(Hn,{default:()=>qn});var qn,Yn=Fn(()=>{qn=[{type:"cmnt",match:/(;|#).*/gm},{expand:"str"},{expand:"num"},{type:"num",match:/\$[\da-fA-F]*\b/g},{type:"kwd",match:/^[a-z]+\s+[a-z.]+\b/gm,sub:[{type:"func",match:/^[a-z]+/g}]},{type:"kwd",match:/^\t*[a-z][a-z\d]*\b/gm},{match:/%|\$/g,type:"oper"}]}),Gn={};Wn(Gn,{default:()=>Xn});var Vn,Xn,Zn=Fn(()=>{Xn=[{sub:"todo",match:/#.*/g},{type:"str",match:/(["'])((?!\1)[^\r\n\\]|\\[^])*\1?/g,sub:[Vn={type:"var",match:/\$\w+|\${[^}]*}|\$\([^)]*\)/g}]},{type:"oper",match:/(?<=\s|^)\.*\/[a-z/_.-]+/gi},{type:"kwd",match:/\s-[a-zA-Z]+|$<|[&|;]+|\b(unset|readonly|shift|export|if|fi|else|elif|while|do|done|for|until|case|esac|break|continue|exit|return|trap|wait|eval|exec|then|declare|enable|local|select|typeset|time|add|remove|install|update|delete)(?=\s|$)/g},{expand:"num"},{type:"func",match:/(?<=(^|\||\&\&|\;)\s*)[a-z_.-]+(?=\s|$)/gim},{type:"bool",match:/(?<=\s|^)(true|false)(?=\s|$)/g},{type:"oper",match:/[=(){}<>!]+/g},{type:"var",match:/(?<=\s|^)[\w_]+(?=\s*=)/g},Vn]}),Kn={};Wn(Kn,{default:()=>Jn});var Jn,Qn=Fn(()=>{Jn=[{match:/[^\[\->+.<\]\s].*/g,sub:"todo"},{type:"func",match:/\.+/g},{type:"kwd",match:/[<>]+/g},{type:"oper",match:/[+-]+/g}]}),er={};Wn(er,{default:()=>tr});var tr,nr=Fn(()=>{tr=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/#\s*include (<.*>|".*")/g,sub:[{type:"str",match:/(<|").*/g}]},{match:/asm\s*{[^}]*}/g,sub:[{type:"kwd",match:/^asm/g},{match:/[^{}]*(?=}$)/g,sub:"asm"}]},{type:"kwd",match:/\*|&|#[a-z]+\b|\b(asm|auto|double|int|struct|break|else|long|switch|case|enum|register|typedef|char|extern|return|union|const|float|short|unsigned|continue|for|signed|void|default|goto|sizeof|volatile|do|if|static|while)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/\b[A-Z][\w_]*\b/g}]}),rr={};Wn(rr,{default:()=>ir});var ir,or=Fn(()=>{ir=[{match:/\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{type:"kwd",match:/@\w+\b|\b(and|not|only|or)\b|\b[a-z-]+(?=[^{}]*{)/g},{type:"var",match:/\b[\w-]+(?=\s*:)|(::?|\.)[\w-]+(?=[^{}]*{)/g},{type:"func",match:/#[\w-]+(?=[^{}]*{)/g},{type:"num",match:/#[\da-f]{3,8}/g},{type:"num",match:/\d+(\.\d+)?(cm|mm|in|px|pt|pc|em|ex|ch|rem|vm|vh|vmin|vmax|%)?/g,sub:[{type:"var",match:/[a-z]+|%/g}]},{match:/url\([^)]*\)/g,sub:[{type:"func",match:/url(?=\()/g},{type:"str",match:/[^()]+/g}]},{type:"func",match:/\b[a-zA-Z]\w*(?=\s*\()/g},{type:"num",match:/\b[a-z-]+\b/g}]}),sr={};Wn(sr,{default:()=>ar});var ar,ur=Fn(()=>{ar=[{expand:"strDouble"},{type:"oper",match:/,/g}]}),cr={};Wn(cr,{default:()=>lr});var lr,fr=Fn(()=>{lr=[{type:"deleted",match:/^[-<].*/gm},{type:"insert",match:/^[+>].*/gm},{type:"kwd",match:/!.*/gm},{type:"section",match:/^@@.*@@$|^\d.*|^([*-+])\1\1.*/gm}]}),pr={};Wn(pr,{default:()=>dr});var dr,hr=Fn(()=>{Zn(),dr=[{type:"kwd",match:/^(FROM|RUN|CMD|LABEL|MAINTAINER|EXPOSE|ENV|ADD|COPY|ENTRYPOINT|VOLUME|USER|WORKDIR|ARG|ONBUILD|STOPSIGNAL|HEALTHCHECK|SHELL)\b/gim},...Xn]}),gr={};Wn(gr,{default:()=>mr});var mr,vr=Fn(()=>{fr(),mr=[{match:/^#.*/gm,sub:"todo"},{expand:"str"},...lr,{type:"func",match:/^(\$ )?git(\s.*)?$/gm},{type:"kwd",match:/^commit \w+$/gm}]}),yr={};Wn(yr,{default:()=>br});var br,_r=Fn(()=>{br=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\*|&|\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go|goto|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/\b[A-Z][\w_]*\b/g},{type:"oper",match:/[+\-*\/%&|^~=!<>.^-]+/g}]}),xr={};Wn(xr,{default:()=>Sr,name:()=>wr,properties:()=>Er,xmlElement:()=>Tr});var wr,Er,Tr,Sr,Rr=Fn(()=>{Er=`\\s*(\\s+${wr=`[${":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�"}][:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\\-\\.0-9·̀-ͯ‿-⁀]*`}\\s*(=\\s*([^"']\\S*|("|')(\\\\[^]|(?!\\4)[^])*\\4?)?)?\\s*)*`,Tr={match:RegExp(`<[/!?]?${wr}${Er}[/!?]?>`,"g"),sub:[{type:"var",match:RegExp(`^<[/!?]?${wr}`,"g"),sub:[{type:"oper",match:/^<[\/!?]?/g}]},{type:"str",match:/=\s*([^"']\S*|("|')(\\[^]|(?!\2)[^])*\2?)/g,sub:[{type:"oper",match:/^=/g}]},{type:"oper",match:/[\/!?]?>/g},{type:"class",match:RegExp(wr,"g")}]},Sr=[{match:/<!--((?!-->)[^])*-->/g,sub:"todo"},{type:"class",match:/<!\[CDATA\[[\s\S]*?\]\]>/gi},Tr,{type:"str",match:RegExp(`<\\?${wr}([^?]|\\?[^?>])*\\?+>`,"g"),sub:[{type:"var",match:RegExp(`^<\\?${wr}`,"g"),sub:[{type:"oper",match:/^<\?/g}]},{type:"oper",match:/\?+>$/g}]},{type:"var",match:/&(#x?)?[\da-z]{1,8};/gi}]}),Or={};Wn(Or,{default:()=>Ar});var Ar,Ir,Lr,Nr=Fn(()=>{Rr(),Ar=[{type:"class",match:/<!DOCTYPE("[^"]*"|'[^']*'|[^"'>])*>/gi,sub:[{type:"str",match:/"[^"]*"|'[^']*'/g},{type:"oper",match:/^<!|>$/g},{type:"var",match:/DOCTYPE/gi}]},{match:RegExp(`<style${Er}>((?!</style>)[^])*</style\\s*>`,"g"),sub:[{match:RegExp(`^<style${Er}>`,"g"),sub:Tr.sub},{match:RegExp(`${Tr.match}|[^]*(?=</style\\s*>$)`,"g"),sub:"css"},Tr]},{match:RegExp(`<script${Er}>((?!<\/script>)[^])*</script\\s*>`,"g"),sub:[{match:RegExp(`^<script${Er}>`,"g"),sub:Tr.sub},{match:RegExp(`${Tr.match}|[^]*(?=</script\\s*>$)`,"g"),sub:"js"},Tr]},...Sr]}),Cr=Fn(()=>{Ir=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["json",[/\b(true|false|null|\{})\b|\"[^"]+\":/g,10]],["yaml",[/^(\s+)?[a-z][a-z0-9]*:/gim,10]]],Lr=e=>Ir.map(([t,...n])=>[t,n.reduce((t,[n,r])=>t+[...e.matchAll(n)].length*r,0)]).filter(([e,t])=>t>20).sort((e,t)=>t[1]-e[1])[0]?.[0]||"plain"}),kr={};Wn(kr,{default:()=>Pr});var Pr,jr=Fn(()=>{Cr(),Pr=[{type:"kwd",match:/^(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH|PRI|SEARCH)\b/gm},{expand:"str"},{type:"section",match:/\bHTTP\/[\d.]+\b/g},{expand:"num"},{type:"oper",match:/[,;:=]/g},{type:"var",match:/[a-zA-Z][\w-]*(?=:)/g},{match:/\n\n[^]*/g,sub:Lr}]}),Dr={};Wn(Dr,{default:()=>zr});var zr,Mr=Fn(()=>{zr=[{match:/(^[ \f\t\v]*)[#;].*/gm,sub:"todo"},{type:"str",match:/.*/g},{type:"var",match:/.*(?==)/g},{type:"section",match:/^\s*\[.+\]\s*$/gm},{type:"oper",match:/=/g}]}),$r={};Wn($r,{default:()=>Br});var Br,Ur=Fn(()=>{Br=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\b(abstract|assert|boolean|break|byte|case|catch|char|class|continue|const|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|package|private|protected|public|requires|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|transient|try|var|void|volatile|while)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/\b[A-Z][\w_]*\b/g}]}),Fr={};Wn(Fr,{default:()=>Wr});var Wr,Hr=Fn(()=>{Wr=[{match:/\/\*\*((?!\*\/)[^])*(\*\/)?/g,sub:"jsdoc"},{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{match:/`((?!`)[^]|\\[^])*`?/g,sub:"js_template_literals"},{type:"kwd",match:/=>|\b(this|set|get|as|async|await|break|case|catch|class|const|constructor|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|if|implements|import|in|instanceof|interface|let|var|of|new|package|private|protected|public|return|static|super|switch|throw|throws|try|typeof|void|while|with|yield)\b/g},{match:/\/((?!\/)[^\r\n\\]|\\.)+\/[dgimsuy]*/g,sub:"regex"},{expand:"num"},{type:"num",match:/\b(NaN|null|undefined|[A-Z][A-Z_]*)\b/g},{type:"bool",match:/\b(true|false)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"class",match:/\b[A-Z][\w_]*\b/g},{type:"func",match:/[a-zA-Z$_][\w$_]*(?=\s*((\?\.)?\s*\(|=\s*(\(?[\w,{}\[\])]+\)? =>|function\b)))/g}]}),qr={};Wn(qr,{default:()=>Yr,type:()=>Gr});var Yr,Gr,Vr=Fn(()=>{Yr=[{match:new class{exec(e){let t,n=this.lastIndex,r=t=>{for(;++n<e.length-2;)if("{"==e[n])r();else if("}"==e[n])return};for(;n<e.length;++n)if("\\"!=e[n-1]&&"$"==e[n]&&"{"==e[n+1])return t=n++,r(n),this.lastIndex=n+1,{index:t,0:e.slice(t,n+1)};return null}},sub:[{type:"kwd",match:/^\${|}$/g},{match:/(?!^\$|{)[^]+(?=}$)/g,sub:"js"}]}],Gr="str"}),Xr={};Wn(Xr,{default:()=>Zr,type:()=>Kr});var Zr,Kr,Jr=Fn(()=>{Zr=[{type:"err",match:/\b(TODO|FIXME|DEBUG|OPTIMIZE|WARNING|XXX|BUG)\b/g},{type:"class",match:/\bIDEA\b/g},{type:"insert",match:/\b(CHANGED|FIX|CHANGE)\b/g},{type:"oper",match:/\bQUESTION\b/g}],Kr="cmnt"}),Qr={};Wn(Qr,{default:()=>ei,type:()=>ti});var ei,ti,ni=Fn(()=>{Jr(),ei=[{type:"kwd",match:/@\w+/g},{type:"class",match:/{[\w\s|<>,.@\[\]]+}/g},{type:"var",match:/\[[\w\s="']+\]/g},...Zr],ti="cmnt"}),ri={};Wn(ri,{default:()=>ii});var ii,oi=Fn(()=>{ii=[{type:"var",match:/("|')?[a-zA-Z]\w*\1(?=\s*:)/g},{expand:"str"},{expand:"num"},{type:"num",match:/\bnull\b/g},{type:"bool",match:/\b(true|false)\b/g}]}),si={};Wn(si,{default:()=>ai});var ai,ui=Fn(()=>{Cr(),ai=[{type:"cmnt",match:/^>.*|(=|-)\1+/gm},{type:"class",match:/\*\*((?!\*\*).)*\*\*/g},{match:/```((?!```)[^])*\n```/g,sub:e=>({type:"kwd",sub:[{match:/\n[^]*(?=```)/g,sub:e.split("\n")[0].slice(3)||Lr(e)}]})},{type:"str",match:/`[^`]*`/g},{type:"var",match:/~~((?!~~).)*~~/g},{type:"kwd",match:/_[^_]*_|\*[^*]*\*/g},{type:"kwd",match:/^\s*(\*|\d+\.)\s/gm},{type:"oper",match:/\[[^\]]*]/g},{type:"func",match:/\([^)]*\)/g}]}),ci={};Wn(ci,{default:()=>li});var li,fi=Fn(()=>{ui(),Cr(),li=[{type:"insert",match:/(leanpub-start-insert)((?!leanpub-end-insert)[^])*(leanpub-end-insert)?/g,sub:[{type:"insert",match:/leanpub-(start|end)-insert/g},{match:/(?!leanpub-start-insert)((?!leanpub-end-insert)[^])*/g,sub:Lr}]},{type:"deleted",match:/(leanpub-start-delete)((?!leanpub-end-delete)[^])*(leanpub-end-delete)?/g,sub:[{type:"deleted",match:/leanpub-(start|end)-delete/g},{match:/(?!leanpub-start-delete)((?!leanpub-end-delete)[^])*/g,sub:Lr}]},...ai]}),pi={};Wn(pi,{default:()=>di});var di,hi=Fn(()=>{di=[{type:"cmnt",match:/^#.*/gm},{expand:"strDouble"},{expand:"num"},{type:"err",match:/\b(err(or)?|[a-z_-]*exception|warn|warning|failed|ko|invalid|not ?found|alert|fatal)\b/gi},{type:"num",match:/\b(null|undefined)\b/gi},{type:"bool",match:/\b(false|true|yes|no)\b/gi},{type:"oper",match:/\.|,/g}]}),gi={};Wn(gi,{default:()=>mi});var mi,vi=Fn(()=>{mi=[{match:/^#!.*|--(\[(=*)\[((?!--\]\2\])[^])*--\]\2\]|.*)/g,sub:"todo"},{expand:"str"},{type:"kwd",match:/\b(and|break|do|else|elseif|end|for|function|if|in|local|not|or|repeat|return|then|until|while)\b/g},{type:"bool",match:/\b(true|false|nil)\b/g},{type:"oper",match:/[+*/%^#=~<>:,.-]+/g},{expand:"num"},{type:"func",match:/[a-z_]+(?=\s*[({])/g}]}),yi={};Wn(yi,{default:()=>bi});var bi,_i=Fn(()=>{bi=[{match:/^\s*#.*/gm,sub:"todo"},{expand:"str"},{type:"oper",match:/[${}()]+/g},{type:"class",match:/.PHONY:/gm},{type:"section",match:/^[\w.]+:/gm},{type:"kwd",match:/\b(ifneq|endif)\b/g},{expand:"num"},{type:"var",match:/[A-Z_]+(?=\s*=)/g},{match:/^.*$/gm,sub:"bash"}]}),xi={};Wn(xi,{default:()=>wi});var wi,Ei=Fn(()=>{wi=[{match:/#.*/g,sub:"todo"},{type:"str",match:/(["'])(\\[^]|(?!\1)[^])*\1?/g},{expand:"num"},{type:"kwd",match:/\b(any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while|not|and|or|xor)\b/g},{type:"oper",match:/[-+*/%~!&<>|=?,]+/g},{type:"func",match:/[a-z_]+(?=\s*\()/g}]}),Ti={};Wn(Ti,{default:()=>Si});var Si,Ri=Fn(()=>{Si=[{expand:"strDouble"}]}),Oi={};Wn(Oi,{default:()=>Ai});var Ai,Ii=Fn(()=>{Ai=[{match:/#.*/g,sub:"todo"},{match:/("""|''')(\\[^]|(?!\1)[^])*\1?/g,sub:"todo"},{type:"str",match:/f("|')(\\[^]|(?!\1).)*\1?|f((["'])\4\4)(\\[^]|(?!\3)[^])*\3?/gi,sub:[{type:"var",match:/{[^{}]*}/g,sub:[{match:/(?!^{)[^]*(?=}$)/g,sub:"py"}]}]},{expand:"str"},{type:"kwd",match:/\b(and|as|assert|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|raise|return|try|while|with|yield)\b/g},{type:"bool",match:/\b(False|True|None)\b/g},{expand:"num"},{type:"func",match:/[a-z_]+(?=\s*\()/g},{type:"oper",match:/[-/*+<>,=!&|^%]+/g},{type:"class",match:/\b[A-Z][\w_]*\b/g}]}),Li={};Wn(Li,{default:()=>Ni,type:()=>Ci});var Ni,Ci,ki=Fn(()=>{Ni=[{match:/^(?!\/).*/gm,sub:"todo"},{type:"num",match:/\[((?!\])[^\\]|\\.)*\]/g},{type:"kwd",match:/\||\^|\$|\\.|\w+($|\r|\n)/g},{type:"var",match:/\*|\+|\{\d+,\d+\}/g}],Ci="oper"}),Pi={};Wn(Pi,{default:()=>ji});var ji,Di=Fn(()=>{ji=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\b(as|break|const|continue|crate|else|enum|extern|false|fn|for|if|impl|in|let|loop|match|mod|move|mut|pub|ref|return|self|Self|static|struct|super|trait|true|type|unsafe|use|where|while|async|await|dyn|abstract|become|box|do|final|macro|override|priv|typeof|unsized|virtual|yield|try)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"class",match:/\b[A-Z][\w_]*\b/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*!?\s*\()/g}]}),zi={};Wn(zi,{default:()=>Mi});var Mi,$i=Fn(()=>{Mi=[{match:/--.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{type:"func",match:/\b(AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/g},{type:"kwd",match:/\b(ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|kwdS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/g},{type:"num",match:/\.?\d[\d.oxa-fA-F-]*|\bNULL\b/g},{type:"bool",match:/\b(TRUE|FALSE)\b/g},{type:"oper",match:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/g},{type:"var",match:/@\S+/g}]}),Bi={};Wn(Bi,{default:()=>Ui});var Ui,Fi=Fn(()=>{Ui=[{match:/#.*/g,sub:"todo"},{type:"str",match:/("""|''')((?!\1)[^]|\\[^])*\1?/g},{expand:"str"},{type:"section",match:/^\[.+\]\s*$/gm},{type:"num",match:/\b(inf|nan)\b|\d[\d:ZT.-]*/g},{expand:"num"},{type:"bool",match:/\b(true|false)\b/g},{type:"oper",match:/[+,.=-]/g},{type:"var",match:/\w+(?= \=)/g}]}),Wi={};Wn(Wi,{default:()=>Hi});var Hi,qi=Fn(()=>{Hr(),Hi=[{type:"type",match:/:\s*(any|void|number|boolean|string|object|never|enum)\b/g},{type:"kwd",match:/\b(type|namespace|typedef|interface|public|private|protected|implements|declare|abstract|readonly)\b/g},...Wr]}),Yi={};Wn(Yi,{default:()=>Gi});var Gi,Vi=Fn(()=>{Gi=[{match:/^#.*/gm,sub:"todo"},{type:"class",match:/^\w+(?=:?)/gm},{type:"num",match:/:\d+/g},{type:"oper",match:/[:/&?]|\w+=/g},{type:"func",match:/[.\w]+@|#[\w]+$/gm},{type:"var",match:/\w+\.\w+(\.\w+)*/g}]}),Xi={};Wn(Xi,{default:()=>Zi});var Zi,Ki,Ji=Fn(()=>{Zi=[{match:/#.*/g,sub:"todo"},{expand:"str"},{type:"str",match:/(>|\|)\r?\n((\s[^\n]*)?(\r?\n|$))*/g},{type:"type",match:/!![a-z]+/g},{type:"bool",match:/\b(Yes|No)\b/g},{type:"oper",match:/[+:-]/g},{expand:"num"},{type:"var",match:/[a-zA-Z]\w*(?=:)/g}]}),Qi={num:{type:"num",match:/(\.e?|\b)\d(e-|[\d.oxa-fA-F_])*(\.|\b)/g},str:{type:"str",match:/(["'])(\\[^]|(?!\1)[^\r\n\\])*\1?/g},strDouble:{type:"str",match:/"((?!")[^\r\n\\]|\\[^])*"?/g}},eo=(Ki={"./languages/asm.js":()=>Promise.resolve().then(()=>(Yn(),Hn)),"./languages/bash.js":()=>Promise.resolve().then(()=>(Zn(),Gn)),"./languages/bf.js":()=>Promise.resolve().then(()=>(Qn(),Kn)),"./languages/c.js":()=>Promise.resolve().then(()=>(nr(),er)),"./languages/css.js":()=>Promise.resolve().then(()=>(or(),rr)),"./languages/csv.js":()=>Promise.resolve().then(()=>(ur(),sr)),"./languages/diff.js":()=>Promise.resolve().then(()=>(fr(),cr)),"./languages/docker.js":()=>Promise.resolve().then(()=>(hr(),pr)),"./languages/git.js":()=>Promise.resolve().then(()=>(vr(),gr)),"./languages/go.js":()=>Promise.resolve().then(()=>(_r(),yr)),"./languages/html.js":()=>Promise.resolve().then(()=>(Nr(),Or)),"./languages/http.js":()=>Promise.resolve().then(()=>(jr(),kr)),"./languages/ini.js":()=>Promise.resolve().then(()=>(Mr(),Dr)),"./languages/java.js":()=>Promise.resolve().then(()=>(Ur(),$r)),"./languages/js.js":()=>Promise.resolve().then(()=>(Hr(),Fr)),"./languages/js_template_literals.js":()=>Promise.resolve().then(()=>(Vr(),qr)),"./languages/jsdoc.js":()=>Promise.resolve().then(()=>(ni(),Qr)),"./languages/json.js":()=>Promise.resolve().then(()=>(oi(),ri)),"./languages/leanpub-md.js":()=>Promise.resolve().then(()=>(fi(),ci)),"./languages/log.js":()=>Promise.resolve().then(()=>(hi(),pi)),"./languages/lua.js":()=>Promise.resolve().then(()=>(vi(),gi)),"./languages/make.js":()=>Promise.resolve().then(()=>(_i(),yi)),"./languages/md.js":()=>Promise.resolve().then(()=>(ui(),si)),"./languages/pl.js":()=>Promise.resolve().then(()=>(Ei(),xi)),"./languages/plain.js":()=>Promise.resolve().then(()=>(Ri(),Ti)),"./languages/py.js":()=>Promise.resolve().then(()=>(Ii(),Oi)),"./languages/regex.js":()=>Promise.resolve().then(()=>(ki(),Li)),"./languages/rs.js":()=>Promise.resolve().then(()=>(Di(),Pi)),"./languages/sql.js":()=>Promise.resolve().then(()=>($i(),zi)),"./languages/todo.js":()=>Promise.resolve().then(()=>(Jr(),Xr)),"./languages/toml.js":()=>Promise.resolve().then(()=>(Fi(),Bi)),"./languages/ts.js":()=>Promise.resolve().then(()=>(qi(),Wi)),"./languages/uri.js":()=>Promise.resolve().then(()=>(Vi(),Yi)),"./languages/xml.js":()=>Promise.resolve().then(()=>(Rr(),xr)),"./languages/yaml.js":()=>Promise.resolve().then(()=>(Ji(),Xi))},e=>{var t=Ki[e];if(t)return t();throw new Error("Module not found in bundle: "+e)}),to={};async function no(e,t,n){try{let r,i,o,s={},a=[],u=0,c="string"==typeof t?await(to[t]??(to[t]=eo(`./languages/${t}.js`))):t,l=[..."string"==typeof t?c.default:t.sub];for(;u<e.length;){for(s.index=null,r=l.length;r-- >0;){if(i=l[r].expand?Qi[l[r].expand]:l[r],void 0===a[r]||a[r].match.index<u){if(i.match.lastIndex=u,o=i.match.exec(e),null===o){l.splice(r,1),a.splice(r,1);continue}a[r]={match:o,lastIndex:i.match.lastIndex}}a[r].match[0]&&(a[r].match.index<=s.index||null===s.index)&&(s={part:i,index:a[r].match.index,match:a[r].match[0],end:a[r].lastIndex})}if(null===s.index)break;n(e.slice(u,s.index),c.type),u=s.end,s.part.sub?await no(s.match,"string"==typeof s.part.sub?s.part.sub:"function"==typeof s.part.sub?s.part.sub(s.match):s.part,n):n(s.match,s.part.type)}n(e.slice(u,e.length),c.type)}catch{n(e)}}async function ro(e,t,n=!0,r={}){let i="";return await no(e,t,(e,t)=>i+=((e,t)=>t?`<span class="shj-syn-${t}">${e}</span>`:e)(((e="")=>e.replaceAll("&","&#38;").replaceAll?.("<","&lt;").replaceAll?.(">","&gt;"))(e),t)),n?`<div><div class="shj-numbers">${"<div></div>".repeat(!r.hideLineNumbers&&e.split("\n").length)}</div><div>${i}</div></div>`:i}var io,oo,so=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},ao=kn.div(uo||(uo=so(["\n position: relative;\n display: block;\n flex-direction: row;\n user-select: none;\n"],["\n position: relative;\n display: block;\n flex-direction: row;\n user-select: none;\n"])));!function(e){e[e.HEADLINE_1=0]="HEADLINE_1",e[e.HEADLINE_2=1]="HEADLINE_2",e[e.HEADLINE_3=2]="HEADLINE_3",e[e.HEADLINE_4=3]="HEADLINE_4",e[e.HEADLINE_5=4]="HEADLINE_5",e[e.HEADLINE_6=5]="HEADLINE_6",e[e.BODY_1=6]="BODY_1",e[e.BODY_2=7]="BODY_2"}(io||(io={})),function(e){e[e.BOLD=0]="BOLD",e[e.UNDERLINE=1]="UNDERLINE",e[e.LINE_THRONG=2]="LINE_THRONG",e[e.ITALIC=3]="ITALIC"}(oo||(oo={}));var uo,co,lo,fo,po,ho,go,mo=function(){return(0,X.jsx)("svg",{width:"7",height:"7",viewBox:"0 0 7 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,X.jsx)("rect",{x:"0.5",y:"0.5",width:"6",height:"6",rx:"3",fill:"#000000",stroke:"black"})})},vo=(0,X.jsx)("svg",{width:"7",height:"7",viewBox:"0 0 7 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,X.jsx)("rect",{x:"0.5",y:"0.5",width:"6",height:"6",rx:"3",stroke:"black"})}),yo=kn.div(co||(co=so(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 4px;\n padding-bottom: 4px;\n user-select: none;\n white-space: pre-line;\n &.text-"," {\n --font-size: 96px;\n --line-height: 112px;\n }\n &.text-"," {\n --font-size: 60px;\n --line-height: 70px;\n }\n &.text-"," {\n --font-size: 48px;\n --line-height: 56px;\n }\n &.text-"," {\n --font-size: 34px;\n --line-height: 40px;\n }\n &.text-"," {\n --font-size: 24px;\n --line-height: 28px;\n }\n &.text-"," {\n --font-size: 20px;\n --line-height: 23px;\n }\n &.text-"," {\n --font-size: 14px;\n --line-height: 24px;\n }\n &.text-",' {\n --font-size: 12px;\n --line-height: 20px;\n }\n font-size: var(--font-size);\n > .bullet {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n max-height: var(--line-height);\n user-select: none;\n }\n > .content {\n display: inline-block;\n flex-direction: row;\n justify-content: start;\n align-items: center;\n flex: 1;\n font-weight: 400;\n user-select: text;\n min-height: var(--line-height);\n line-height: var(--line-height);\n > span:first-child:empty::before {\n content: " ";\n }\n > span {\n &.S'," {\n font-weight: bold;\n }\n &.S"," {\n font-style: italic;\n }\n &.S"," {\n text-decoration: underline;\n }\n &.S"," {\n text-decoration: line-through;\n }\n &.S",".S"," {\n text-decoration: underline line-through;\n }\n }\n }\n"],["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 4px;\n padding-bottom: 4px;\n user-select: none;\n white-space: pre-line;\n &.text-"," {\n --font-size: 96px;\n --line-height: 112px;\n }\n &.text-"," {\n --font-size: 60px;\n --line-height: 70px;\n }\n &.text-"," {\n --font-size: 48px;\n --line-height: 56px;\n }\n &.text-"," {\n --font-size: 34px;\n --line-height: 40px;\n }\n &.text-"," {\n --font-size: 24px;\n --line-height: 28px;\n }\n &.text-"," {\n --font-size: 20px;\n --line-height: 23px;\n }\n &.text-"," {\n --font-size: 14px;\n --line-height: 24px;\n }\n &.text-",' {\n --font-size: 12px;\n --line-height: 20px;\n }\n font-size: var(--font-size);\n > .bullet {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n max-height: var(--line-height);\n user-select: none;\n }\n > .content {\n display: inline-block;\n flex-direction: row;\n justify-content: start;\n align-items: center;\n flex: 1;\n font-weight: 400;\n user-select: text;\n min-height: var(--line-height);\n line-height: var(--line-height);\n > span:first-child:empty::before {\n content: " ";\n }\n > span {\n &.S'," {\n font-weight: bold;\n }\n &.S"," {\n font-style: italic;\n }\n &.S"," {\n text-decoration: underline;\n }\n &.S"," {\n text-decoration: line-through;\n }\n &.S",".S"," {\n text-decoration: underline line-through;\n }\n }\n }\n"])),io.HEADLINE_1,io.HEADLINE_2,io.HEADLINE_3,io.HEADLINE_4,io.HEADLINE_5,io.HEADLINE_6,io.BODY_1,io.BODY_2,oo.BOLD,oo.ITALIC,oo.UNDERLINE,oo.LINE_THRONG,oo.UNDERLINE,oo.LINE_THRONG),bo=kn.div(lo||(lo=so(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding: 2px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: center;\n align-items: center;\n padding-top: 10px;\n padding-bottom: 10px;\n border-radius: 8px;\n box-sizing: border-box;\n &:hover {\n background-color: transparent;\n }\n > div {\n display: flex;\n width: 100%;\n padding: 4px;\n border-radius: 8px;\n border: 1px solid #ddd;\n background-color: #fcfcfc;\n position: relative;\n > .image {\n width: 100%;\n border-radius: 4px;\n height: auto;\n }\n > .place-holder {\n min-width: 150px;\n min-height: 150px;\n min-width: 100%;\n border-radius: 4px;\n padding: 10px;\n box-sizing: border-box;\n color: #999;\n }\n }\n &.size-2 > div {\n max-width: calc(100% / 2);\n }\n &.size-3 > div {\n max-width: calc(100% / 3);\n }\n &.size-4 > div {\n max-width: calc(100% / 4);\n }\n &.size-5 > div {\n max-width: calc(100% / 5);\n }\n &.align-left {\n justify-content: left;\n }\n &.align-right > div {\n justify-content: right;\n }\n"],["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding: 2px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: center;\n align-items: center;\n padding-top: 10px;\n padding-bottom: 10px;\n border-radius: 8px;\n box-sizing: border-box;\n &:hover {\n background-color: transparent;\n }\n > div {\n display: flex;\n width: 100%;\n padding: 4px;\n border-radius: 8px;\n border: 1px solid #ddd;\n background-color: #fcfcfc;\n position: relative;\n > .image {\n width: 100%;\n border-radius: 4px;\n height: auto;\n }\n > .place-holder {\n min-width: 150px;\n min-height: 150px;\n min-width: 100%;\n border-radius: 4px;\n padding: 10px;\n box-sizing: border-box;\n color: #999;\n }\n }\n &.size-2 > div {\n max-width: calc(100% / 2);\n }\n &.size-3 > div {\n max-width: calc(100% / 3);\n }\n &.size-4 > div {\n max-width: calc(100% / 4);\n }\n &.size-5 > div {\n max-width: calc(100% / 5);\n }\n &.align-left {\n justify-content: left;\n }\n &.align-right > div {\n justify-content: right;\n }\n"]))),_o=kn.div(fo||(fo=so(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 4px;\n padding-bottom: 4px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: 22px;\n justify-content: center;\n align-items: center;\n > .line {\n width: 100%;\n background-color: #eee;\n height: 2px;\n }\n"],["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 4px;\n padding-bottom: 4px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: 22px;\n justify-content: center;\n align-items: center;\n > .line {\n width: 100%;\n background-color: #eee;\n height: 2px;\n }\n"]))),xo=kn.div(po||(po=so(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding: 2px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: center;\n align-items: center;\n padding: 10px;\n border-radius: 8px;\n box-sizing: border-box;\n &:hover {\n background-color: transparent;\n }\n > div {\n width: 100%;\n padding: 4px;\n border-radius: 8px;\n border: 1px solid #ddd;\n background-color: #fcfcfc;\n > .iframe {\n min-height: 150px;\n min-width: 100%;\n max-width: 100%;\n border-radius: 4px;\n aspect-ratio: 1.7;\n border: 0px;\n }\n > .place-holder {\n min-width: 100%;\n border-radius: 4px;\n padding: 10px;\n box-sizing: border-box;\n color: #999;\n margin: 0px !important;\n box-shadow: none;\n font-family: monospace;\n font-size: 14px;\n background: transparent;\n user-select: text;\n }\n }\n"],["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding: 2px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: center;\n align-items: center;\n padding: 10px;\n border-radius: 8px;\n box-sizing: border-box;\n &:hover {\n background-color: transparent;\n }\n > div {\n width: 100%;\n padding: 4px;\n border-radius: 8px;\n border: 1px solid #ddd;\n background-color: #fcfcfc;\n > .iframe {\n min-height: 150px;\n min-width: 100%;\n max-width: 100%;\n border-radius: 4px;\n aspect-ratio: 1.7;\n border: 0px;\n }\n > .place-holder {\n min-width: 100%;\n border-radius: 4px;\n padding: 10px;\n box-sizing: border-box;\n color: #999;\n margin: 0px !important;\n box-shadow: none;\n font-family: monospace;\n font-size: 14px;\n background: transparent;\n user-select: text;\n }\n }\n"]))),wo=function(e){var t=e.code,n=(0,U.useRef)(null);return(0,U.useLayoutEffect)(function(){var e=n.current;e&&(t?async function(e,t=e.className.match(/shj-lang-([\w-]+)/)?.[1],n,r){let i=e.textContent;n??(n=("CODE"==e.tagName?"in":i.split("\n").length<2?"one":"multi")+"line"),e.dataset.lang=t,e.className=`${[...e.classList].filter(e=>!e.startsWith("shj-")).join(" ")} shj-lang-${t} shj-${n}`,e.innerHTML=await ro(i,t,"multiline"==n,r)}(e,"js"):e.innerText="Code is not set.")},[t]),(0,X.jsx)(xo,{children:(0,X.jsxs)("div",{children:[(0,X.jsx)("link",{rel:"stylesheet",href:"https://cdn.jsdelivr.net/gh/speed-highlight/core/dist/themes/github-light.css"}),(0,X.jsx)("div",{ref:n,className:"place-holder header shj-lang-js shj-multiline fira",children:!!t&&t})]})})},Eo=kn.div(ho||(ho=so(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding: 2px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: center;\n align-items: center;\n padding: 10px;\n border-radius: 8px;\n box-sizing: border-box;\n &:hover {\n background-color: transparent;\n }\n > div {\n background-color: #fff;\n width: 100%;\n padding: 4px;\n border-radius: 8px;\n border: 1px solid #000;\n display: flex;\n > .iframe {\n min-height: 150px;\n min-width: 100%;\n max-width: 100%;\n border-radius: 4px;\n aspect-ratio: 1.7;\n border: 0px;\n }\n > .place-holder {\n min-width: 150px;\n min-height: 150px;\n min-width: 100%;\n border-radius: 4px;\n padding: 10px;\n box-sizing: border-box;\n color: #999;\n }\n }\n"],["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding: 2px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: center;\n align-items: center;\n padding: 10px;\n border-radius: 8px;\n box-sizing: border-box;\n &:hover {\n background-color: transparent;\n }\n > div {\n background-color: #fff;\n width: 100%;\n padding: 4px;\n border-radius: 8px;\n border: 1px solid #000;\n display: flex;\n > .iframe {\n min-height: 150px;\n min-width: 100%;\n max-width: 100%;\n border-radius: 4px;\n aspect-ratio: 1.7;\n border: 0px;\n }\n > .place-holder {\n min-width: 150px;\n min-height: 150px;\n min-width: 100%;\n border-radius: 4px;\n padding: 10px;\n box-sizing: border-box;\n color: #999;\n }\n }\n"]))),To=kn.div(go||(go=so(["\n position: relative;\n display: flex;\n flex-direction: column;\n transition: all 250ms;\n width: 100%;\n min-height: 100%;\n > .tiptap {\n position: relative;\n display: flex;\n transition: all 250ms;\n flex: auto;\n > div {\n position: relative;\n display: block;\n transition: all 250ms;\n flex: auto;\n font-size: 14px;\n color: #32302c;\n caret-color: #000;\n &:first-child > * {\n padding-top: 8px;\n padding-bottom: 8px;\n margin: 0;\n }\n &:first-child > div {\n display: flex;\n flex-direction: row;\n min-height: fit-content;\n }\n\n .youtube-wrapper {\n border: 1px solid #ddd;\n padding: 4px;\n border-radius: 8px;\n width: 100%;\n height: auto;\n display: flex;\n &.empty {\n padding: 10px;\n font-size: 12px;\n color: #999;\n }\n &.selected-node {\n border: 1px solid #0094e8;\n }\n > iframe {\n width: 100%;\n aspect-ratio: 1.85/1;\n border-radius: 4px;\n }\n &.selected-node {\n border: 1px solid #333;\n }\n &.size-2 {\n max-width: calc(100% / 2);\n }\n &.size-3 {\n max-width: calc(100% / 3);\n }\n &.size-4 {\n max-width: calc(100% / 4);\n }\n &.size-5 {\n max-width: calc(100% / 5);\n }\n }\n\n .image-wrapper {\n border: 1px solid #ddd;\n padding: 4px;\n border-radius: 8px;\n width: 100%;\n height: auto;\n display: flex;\n &.empty {\n padding: 10px;\n font-size: 12px;\n color: #999;\n }\n > img {\n width: 100%;\n border-radius: 4px;\n }\n &.selected-node {\n border: 1px solid#0094E8;\n }\n &.size-2 {\n max-width: calc(100% / 2);\n }\n &.size-3 {\n max-width: calc(100% / 3);\n }\n &.size-4 {\n max-width: calc(100% / 4);\n }\n &.size-5 {\n max-width: calc(100% / 5);\n }\n &.align-left {\n justify-content: left;\n }\n &.align-right > div {\n justify-content: right;\n }\n }\n\n h1,\n h2,\n h3,\n h4 {\n display: inline-block;\n padding-top: 20px !important;\n padding-bottom: 8px;\n font-weight: normal;\n }\n\n h5,\n h6 {\n display: inline-block;\n padding-top: 8px !important;\n padding-bottom: 8px;\n font-weight: normal;\n }\n\n p.is-editor-empty:first-child:before {\n color: #999;\n content: attr(data-placeholder);\n float: left;\n height: 0;\n pointer-events: none;\n }\n p {\n font-size: 15px;\n line-height: 24px;\n padding-top: 2px;\n padding-bottom: 2px;\n margin: 0;\n }\n h1 {\n font-size: 96px;\n }\n h2 {\n font-size: 60px;\n }\n h3 {\n font-size: 48px;\n }\n h4 {\n font-size: 34px;\n }\n h5 {\n font-size: 24px;\n }\n h6 {\n font-size: 24px;\n }\n a {\n font-weight: 500;\n text-decoration: underline;\n cursor: pointer;\n }\n ul {\n padding-left: 16px;\n }\n ul {\n list-style-type: disc;\n ul {\n list-style-type: circle;\n ul {\n list-style-type: square;\n }\n }\n }\n }\n > div > .drag {\n padding-right: 20px;\n > .menu {\n width: 24px;\n height: 24px;\n display: flex;\n flex-direction: row;\n background: #fff;\n border: 1px solid #f0f0f0;\n box-shadow: rgba(0, 0, 0, 0.07) 0px 5px 30px 0px;\n padding: 8px;\n border-radius: 16px;\n gap: 6px;\n }\n }\n }\n .drag-handle {\n width: 20px;\n height: 20px;\n }\n .prosemirror-dropcursor-block {\n background-color: #ddd !important;\n height: 2px !important;\n border-radius: 2px;\n }\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n transition: all 250ms;\n width: 100%;\n min-height: 100%;\n > .tiptap {\n position: relative;\n display: flex;\n transition: all 250ms;\n flex: auto;\n > div {\n position: relative;\n display: block;\n transition: all 250ms;\n flex: auto;\n font-size: 14px;\n color: #32302c;\n caret-color: #000;\n &:first-child > * {\n padding-top: 8px;\n padding-bottom: 8px;\n margin: 0;\n }\n &:first-child > div {\n display: flex;\n flex-direction: row;\n min-height: fit-content;\n }\n\n .youtube-wrapper {\n border: 1px solid #ddd;\n padding: 4px;\n border-radius: 8px;\n width: 100%;\n height: auto;\n display: flex;\n &.empty {\n padding: 10px;\n font-size: 12px;\n color: #999;\n }\n &.selected-node {\n border: 1px solid #0094e8;\n }\n > iframe {\n width: 100%;\n aspect-ratio: 1.85/1;\n border-radius: 4px;\n }\n &.selected-node {\n border: 1px solid #333;\n }\n &.size-2 {\n max-width: calc(100% / 2);\n }\n &.size-3 {\n max-width: calc(100% / 3);\n }\n &.size-4 {\n max-width: calc(100% / 4);\n }\n &.size-5 {\n max-width: calc(100% / 5);\n }\n }\n\n .image-wrapper {\n border: 1px solid #ddd;\n padding: 4px;\n border-radius: 8px;\n width: 100%;\n height: auto;\n display: flex;\n &.empty {\n padding: 10px;\n font-size: 12px;\n color: #999;\n }\n > img {\n width: 100%;\n border-radius: 4px;\n }\n &.selected-node {\n border: 1px solid#0094E8;\n }\n &.size-2 {\n max-width: calc(100% / 2);\n }\n &.size-3 {\n max-width: calc(100% / 3);\n }\n &.size-4 {\n max-width: calc(100% / 4);\n }\n &.size-5 {\n max-width: calc(100% / 5);\n }\n &.align-left {\n justify-content: left;\n }\n &.align-right > div {\n justify-content: right;\n }\n }\n\n h1,\n h2,\n h3,\n h4 {\n display: inline-block;\n padding-top: 20px !important;\n padding-bottom: 8px;\n font-weight: normal;\n }\n\n h5,\n h6 {\n display: inline-block;\n padding-top: 8px !important;\n padding-bottom: 8px;\n font-weight: normal;\n }\n\n p.is-editor-empty:first-child:before {\n color: #999;\n content: attr(data-placeholder);\n float: left;\n height: 0;\n pointer-events: none;\n }\n p {\n font-size: 15px;\n line-height: 24px;\n padding-top: 2px;\n padding-bottom: 2px;\n margin: 0;\n }\n h1 {\n font-size: 96px;\n }\n h2 {\n font-size: 60px;\n }\n h3 {\n font-size: 48px;\n }\n h4 {\n font-size: 34px;\n }\n h5 {\n font-size: 24px;\n }\n h6 {\n font-size: 24px;\n }\n a {\n font-weight: 500;\n text-decoration: underline;\n cursor: pointer;\n }\n ul {\n padding-left: 16px;\n }\n ul {\n list-style-type: disc;\n ul {\n list-style-type: circle;\n ul {\n list-style-type: square;\n }\n }\n }\n }\n > div > .drag {\n padding-right: 20px;\n > .menu {\n width: 24px;\n height: 24px;\n display: flex;\n flex-direction: row;\n background: #fff;\n border: 1px solid #f0f0f0;\n box-shadow: rgba(0, 0, 0, 0.07) 0px 5px 30px 0px;\n padding: 8px;\n border-radius: 16px;\n gap: 6px;\n }\n }\n }\n .drag-handle {\n width: 20px;\n height: 20px;\n }\n .prosemirror-dropcursor-block {\n background-color: #ddd !important;\n height: 2px !important;\n border-radius: 2px;\n }\n"]))),So=function(e,t){};const Ro={canPush:So,canRemove:So,canRemoveAll:So,canPushAt:function(e,t,n){},canRemoveAt:function(e,t){},canMath:function(e,t){},canCall:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n]},isType:function(e){return e},isArrayType:function(e){return e}},Oo=require("react-dom");function Ao(){return"undefined"!=typeof window}function Io(e){return Co(e)?(e.nodeName||"").toLowerCase():"#document"}function Lo(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function No(e){var t;return null==(t=(Co(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Co(e){return!!Ao()&&(e instanceof Node||e instanceof Lo(e).Node)}function ko(e){return!!Ao()&&(e instanceof Element||e instanceof Lo(e).Element)}function Po(e){return!!Ao()&&(e instanceof HTMLElement||e instanceof Lo(e).HTMLElement)}function jo(e){return!(!Ao()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Lo(e).ShadowRoot)}const Do=new Set(["inline","contents"]);function zo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Xo(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Do.has(i)}const Mo=new Set(["table","td","th"]);function $o(e){return Mo.has(Io(e))}const Bo=[":popover-open",":modal"];function Uo(e){return Bo.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const Fo=["transform","translate","scale","rotate","perspective"],Wo=["transform","translate","scale","rotate","perspective","filter"],Ho=["paint","layout","strict","content"];function qo(e){const t=Yo(),n=ko(e)?Xo(e):e;return Fo.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||Wo.some(e=>(n.willChange||"").includes(e))||Ho.some(e=>(n.contain||"").includes(e))}function Yo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Go=new Set(["html","body","#document"]);function Vo(e){return Go.has(Io(e))}function Xo(e){return Lo(e).getComputedStyle(e)}function Zo(e){return ko(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ko(e){if("html"===Io(e))return e;const t=e.assignedSlot||e.parentNode||jo(e)&&e.host||No(e);return jo(t)?t.host:t}function Jo(e){const t=Ko(e);return Vo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Po(t)&&zo(t)?t:Jo(t)}function Qo(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Jo(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=Lo(i);if(o){const e=es(s);return t.concat(s,s.visualViewport||[],zo(i)?i:[],e&&n?Qo(e):[])}return t.concat(i,Qo(i,[],n))}function es(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ts(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&jo(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function ns(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function rs(e){return(null==e?void 0:e.ownerDocument)||document}function is(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function os(e){return"composedPath"in e?e.composedPath()[0]:e.target}const ss=Math.min,as=Math.max,us=Math.round,cs=(Math.floor,e=>({x:e,y:e}));function ls(e,t,n){return as(e,ss(t,n))}function fs(e,t){return"function"==typeof e?e(t):e}function ps(e){return e.split("-")[0]}function ds(e){return e.split("-")[1]}function hs(e){return"x"===e?"y":"x"}const gs=new Set(["top","bottom"]);function ms(e){return gs.has(ps(e))?"y":"x"}function vs(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ys(e,t,n){let{reference:r,floating:i}=e;const o=ms(t),s=function(e){return hs(ms(e))}(t),a="y"===s?"height":"width",u=ps(t),c="y"===o,l=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,p=r[a]/2-i[a]/2;let d;switch(u){case"top":d={x:l,y:r.y-i.height};break;case"bottom":d={x:l,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(ds(t)){case"start":d[s]-=p*(n&&c?-1:1);break;case"end":d[s]+=p*(n&&c?-1:1)}return d}const bs=new Set(["left","top"]);function _s(e){const t=Xo(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Po(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=us(n)!==o||us(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function xs(e){return ko(e)?e:e.contextElement}function ws(e){const t=xs(e);if(!Po(t))return cs(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=_s(t);let s=(o?us(n.width):n.width)/r,a=(o?us(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Es=cs(0);function Ts(e){const t=Lo(e);return Yo()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Es}function Ss(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=xs(e);let s=cs(1);t&&(r?ko(r)&&(s=ws(r)):s=ws(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Lo(e))&&t}(o,n,r)?Ts(o):cs(0);let u=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,l=i.width/s.x,f=i.height/s.y;if(o){const e=Lo(o),t=r&&ko(r)?Lo(r):r;let n=e,i=es(n);for(;i&&r&&t!==n;){const e=ws(i),t=i.getBoundingClientRect(),r=Xo(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,l*=e.x,f*=e.y,u+=o,c+=s,n=Lo(i),i=es(n)}}return vs({width:l,height:f,x:u,y:c})}function Rs(e,t){const n=Zo(e).scrollLeft;return t?t.left+n:Ss(No(e)).left+n}function Os(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Rs(e,n),y:n.top+t.scrollTop}}const As=new Set(["absolute","fixed"]);function Is(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Lo(e),r=No(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,u=0;if(i){o=i.width,s=i.height;const e=Yo();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,u=i.offsetTop)}const c=Rs(r);if(c<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(r.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else c<=25&&(o+=c);return{width:o,height:s,x:a,y:u}}(e,n);else if("document"===t)r=function(e){const t=No(e),n=Zo(e),r=e.ownerDocument.body,i=as(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=as(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Rs(e);const a=-n.scrollTop;return"rtl"===Xo(r).direction&&(s+=as(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}(No(e));else if(ko(t))r=function(e,t){const n=Ss(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Po(e)?ws(e):cs(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=Ts(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return vs(r)}function Ls(e,t){const n=Ko(e);return!(n===t||!ko(n)||Vo(n))&&("fixed"===Xo(n).position||Ls(n,t))}function Ns(e,t,n){const r=Po(t),i=No(t),o="fixed"===n,s=Ss(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const u=cs(0);function c(){u.x=Rs(i)}if(r||!r&&!o)if(("body"!==Io(t)||zo(i))&&(a=Zo(t)),r){const e=Ss(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&c();o&&!r&&i&&c();const l=!i||r||o?cs(0):Os(i,a);return{x:s.left+a.scrollLeft-u.x-l.x,y:s.top+a.scrollTop-u.y-l.y,width:s.width,height:s.height}}function Cs(e){return"static"===Xo(e).position}function ks(e,t){if(!Po(e)||"fixed"===Xo(e).position)return null;if(t)return t(e);let n=e.offsetParent;return No(e)===n&&(n=n.ownerDocument.body),n}function Ps(e,t){const n=Lo(e);if(Uo(e))return n;if(!Po(e)){let t=Ko(e);for(;t&&!Vo(t);){if(ko(t)&&!Cs(t))return t;t=Ko(t)}return n}let r=ks(e,t);for(;r&&$o(r)&&Cs(r);)r=ks(r,t);return r&&Vo(r)&&Cs(r)&&!qo(r)?n:r||function(e){let t=Ko(e);for(;Po(t)&&!Vo(t);){if(qo(t))return t;if(Uo(t))return null;t=Ko(t)}return null}(e)||n}const js={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,s=No(r),a=!!t&&Uo(t.floating);if(r===s||a&&o)return n;let u={scrollLeft:0,scrollTop:0},c=cs(1);const l=cs(0),f=Po(r);if((f||!f&&!o)&&(("body"!==Io(r)||zo(s))&&(u=Zo(r)),Po(r))){const e=Ss(r);c=ws(r),l.x=e.x+r.clientLeft,l.y=e.y+r.clientTop}const p=!s||f||o?cs(0):Os(s,u);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+l.x+p.x,y:n.y*c.y-u.scrollTop*c.y+l.y+p.y}},getDocumentElement:No,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[..."clippingAncestors"===n?Uo(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Qo(e,[],!1).filter(e=>ko(e)&&"body"!==Io(e)),i=null;const o="fixed"===Xo(e).position;let s=o?Ko(e):e;for(;ko(s)&&!Vo(s);){const t=Xo(s),n=qo(s);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&As.has(i.position)||zo(s)&&!n&&Ls(e,s))?r=r.filter(e=>e!==s):i=t,s=Ko(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=o[0],a=o.reduce((e,n)=>{const r=Is(t,n,i);return e.top=as(r.top,e.top),e.right=ss(r.right,e.right),e.bottom=ss(r.bottom,e.bottom),e.left=as(r.left,e.left),e},Is(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Ps,getElementRects:async function(e){const t=this.getOffsetParent||Ps,n=this.getDimensions,r=await n(e.floating);return{reference:Ns(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=_s(e);return{width:t,height:n}},getScale:ws,isElement:ko,isRTL:function(e){return"rtl"===Xo(e).direction}},Ds=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,u=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),s=ps(n),a=ds(n),u="y"===ms(n),c=bs.has(s)?-1:1,l=o&&u?-1:1,f=fs(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof h&&(d="end"===a?-1*h:h),u?{x:d*l,y:p*c}:{x:p*c,y:d*l}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:s}}}}},zs=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=fs(e,t),c={x:n,y:r},l=await async function(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=fs(t,e),h=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(d),g=a[p?"floating"===f?"reference":"floating":f],m=vs(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:l,strategy:u})),v="floating"===f?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await(null==o.isElement?void 0:o.isElement(y))&&await(null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},_=vs(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:u}):v);return{top:(m.top-_.top+h.top)/b.y,bottom:(_.bottom-m.bottom+h.bottom)/b.y,left:(m.left-_.left+h.left)/b.x,right:(_.right-m.right+h.right)/b.x}}(t,u),f=ms(ps(i)),p=hs(f);let d=c[p],h=c[f];if(o){const e="y"===p?"bottom":"right";d=ls(d+l["y"===p?"top":"left"],d,d-l[e])}if(s){const e="y"===f?"bottom":"right";h=ls(h+l["y"===f?"top":"left"],h,h-l[e])}const g=a.fn({...t,[p]:d,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},Ms=(e,t,n)=>{const r=new Map,i={platform:js,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),u=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:l,y:f}=ys(c,r,u),p=r,d={},h=0;for(let n=0;n<a.length;n++){const{name:o,fn:g}=a[n],{x:m,y:v,data:y,reset:b}=await g({x:l,y:f,initialPlacement:r,placement:p,strategy:i,middlewareData:d,rects:c,platform:s,elements:{reference:e,floating:t}});l=null!=m?m:l,f=null!=v?v:f,d={...d,[o]:{...d[o],...y}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):b.rects),({x:l,y:f}=ys(c,p,u))),n=-1)}return{x:l,y:f,placement:p,strategy:i,middlewareData:d}})(e,t,{...i,platform:o})};var $s="undefined"!=typeof document?U.useLayoutEffect:function(){};function Bs(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!Bs(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!==r--;){const n=i[r];if(!("_owner"===n&&e.$$typeof||Bs(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function Us(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Fs(e,t){const n=Us(e);return Math.round(t*n)/n}function Ws(e){const t=U.useRef(e);return $s(()=>{t.current=e}),t}const Hs=(e,t)=>({...Ds(e),options:[e,t]}),qs=(e,t)=>({...zs(e),options:[e,t]}),Ys={...F},Gs=Ys.useInsertionEffect||(e=>e());function Vs(e){const t=U.useRef(()=>{});return Gs(()=>{t.current=e}),U.useCallback(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}var Xs="undefined"!=typeof document?U.useLayoutEffect:U.useEffect;let Zs=!1,Ks=0;const Js=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Ks++,Qs=Ys.useId||function(){const[e,t]=U.useState(()=>Zs?Js():void 0);return Xs(()=>{null==e&&t(Js())},[]),U.useEffect(()=>{Zs=!0},[]),e};const ea=U.createContext(null),ta=U.createContext(null),na=()=>{var e;return(null==(e=U.useContext(ea))?void 0:e.id)||null},ra=()=>U.useContext(ta);function ia(e){return"data-floating-ui-"+e}function oa(e){const t=(0,U.useRef)(e);return Xs(()=>{t.current=e}),t}const sa=ia("safe-polygon");function aa(e,t,n){return n&&!ns(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function ua(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}const ca="data-floating-ui-focusable";function la(e){return Po(e.target)&&"BUTTON"===e.target.tagName}function fa(e){return function(e){return Po(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}(e)}const pa={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},da={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},ha=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function ga(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,elements:i,dataRef:o}=e,{enabled:s=!0,escapeKey:a=!0,outsidePress:u=!0,outsidePressEvent:c="pointerdown",referencePress:l=!1,referencePressEvent:f="pointerdown",ancestorScroll:p=!1,bubbles:d,capture:h}=t,g=ra(),m=Vs("function"==typeof u?u:()=>!1),v="function"==typeof u?m:u,y=U.useRef(!1),b=U.useRef(!1),{escapeKey:_,outsidePress:x}=ha(d),{escapeKey:w,outsidePress:E}=ha(h),T=U.useRef(!1),S=Vs(e=>{var t;if(!n||!s||!a||"Escape"!==e.key)return;if(T.current)return;const i=null==(t=o.current.floatingContext)?void 0:t.nodeId,u=g?ua(g.nodesRef.current,i):[];if(!_&&(e.stopPropagation(),u.length>0)){let e=!0;if(u.forEach(t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)}),!e)return}r(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")}),R=Vs(e=>{var t;const n=()=>{var t;S(e),null==(t=os(e))||t.removeEventListener("keydown",n)};null==(t=os(e))||t.addEventListener("keydown",n)}),O=Vs(e=>{var t;const n=y.current;y.current=!1;const s=b.current;if(b.current=!1,"click"===c&&s)return;if(n)return;if("function"==typeof v&&!v(e))return;const a=os(e),u="["+ia("inert")+"]",l=rs(i.floating).querySelectorAll(u);let f=ko(a)?a:null;for(;f&&!Vo(f);){const e=Ko(f);if(Vo(e)||!ko(e))break;f=e}if(l.length&&ko(a)&&!a.matches("html,body")&&!ts(a,i.floating)&&Array.from(l).every(e=>!ts(f,e)))return;if(Po(a)&&L){const t=a.clientWidth>0&&a.scrollWidth>a.clientWidth,n=a.clientHeight>0&&a.scrollHeight>a.clientHeight;let r=n&&e.offsetX>a.clientWidth;if(n&&"rtl"===Xo(a).direction&&(r=e.offsetX<=a.offsetWidth-a.clientWidth),r||t&&e.offsetY>a.clientHeight)return}const p=null==(t=o.current.floatingContext)?void 0:t.nodeId,d=g&&ua(g.nodesRef.current,p).some(t=>{var n;return is(e,null==(n=t.context)?void 0:n.elements.floating)});if(is(e,i.floating)||is(e,i.domReference)||d)return;const h=g?ua(g.nodesRef.current,p):[];if(h.length>0){let e=!0;if(h.forEach(t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)}),!e)return}r(!1,e,"outside-press")}),A=Vs(e=>{var t;const n=()=>{var t;O(e),null==(t=os(e))||t.removeEventListener(c,n)};null==(t=os(e))||t.addEventListener(c,n)});U.useEffect(()=>{if(!n||!s)return;o.current.__escapeKeyBubbles=_,o.current.__outsidePressBubbles=x;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function u(){window.clearTimeout(e),T.current=!0}function l(){e=window.setTimeout(()=>{T.current=!1},Yo()?5:0)}const f=rs(i.floating);a&&(f.addEventListener("keydown",w?R:S,w),f.addEventListener("compositionstart",u),f.addEventListener("compositionend",l)),v&&f.addEventListener(c,E?A:O,E);let d=[];return p&&(ko(i.domReference)&&(d=Qo(i.domReference)),ko(i.floating)&&(d=d.concat(Qo(i.floating))),!ko(i.reference)&&i.reference&&i.reference.contextElement&&(d=d.concat(Qo(i.reference.contextElement)))),d=d.filter(e=>{var t;return e!==(null==(t=f.defaultView)?void 0:t.visualViewport)}),d.forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{a&&(f.removeEventListener("keydown",w?R:S,w),f.removeEventListener("compositionstart",u),f.removeEventListener("compositionend",l)),v&&f.removeEventListener(c,E?A:O,E),d.forEach(e=>{e.removeEventListener("scroll",t)}),window.clearTimeout(e)}},[o,i,a,v,c,n,r,p,s,_,x,S,w,R,O,E,A]),U.useEffect(()=>{y.current=!1},[v,c]);const I=U.useMemo(()=>({onKeyDown:S,[pa[f]]:e=>{l&&r(!1,e.nativeEvent,"reference-press")}}),[S,r,l,f]),L=U.useMemo(()=>({onKeyDown:S,onMouseDown(){b.current=!0},onMouseUp(){b.current=!0},[da[c]]:()=>{y.current=!0}}),[S,c]);return U.useMemo(()=>s?{reference:I,floating:L}:{},[s,I,L])}function ma(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,i=Qs(),o=U.useRef({}),[s]=U.useState(()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}}()),a=null!=na(),[u,c]=U.useState(r.reference),l=Vs((e,t,r)=>{o.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:a}),null==n||n(e,t,r)}),f=U.useMemo(()=>({setPositionReference:c}),[]),p=U.useMemo(()=>({reference:u||r.reference||null,floating:r.floating||null,domReference:r.reference}),[u,r.reference,r.floating]);return U.useMemo(()=>({dataRef:o,open:t,onOpenChange:l,elements:p,events:s,floatingId:i,refs:f}),[t,l,p,s,i,f])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[o,s]=U.useState(null),[a,u]=U.useState(null),c=(null==i?void 0:i.reference)||o,l=U.useRef(null),f=ra();Xs(()=>{c&&(l.current=c)},[c]);const p=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:u,open:c}=e,[l,f]=U.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,d]=U.useState(r);Bs(p,r)||d(r);const[h,g]=U.useState(null),[m,v]=U.useState(null),y=U.useCallback(e=>{e!==w.current&&(w.current=e,g(e))},[]),b=U.useCallback(e=>{e!==E.current&&(E.current=e,v(e))},[]),_=o||h,x=s||m,w=U.useRef(null),E=U.useRef(null),T=U.useRef(l),S=null!=u,R=Ws(u),O=Ws(i),A=Ws(c),I=U.useCallback(()=>{if(!w.current||!E.current)return;const e={placement:t,strategy:n,middleware:p};O.current&&(e.platform=O.current),Ms(w.current,E.current,e).then(e=>{const t={...e,isPositioned:!1!==A.current};L.current&&!Bs(T.current,t)&&(T.current=t,Oo.flushSync(()=>{f(t)}))})},[p,t,n,O,A]);$s(()=>{!1===c&&T.current.isPositioned&&(T.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);const L=U.useRef(!1);$s(()=>(L.current=!0,()=>{L.current=!1}),[]),$s(()=>{if(_&&(w.current=_),x&&(E.current=x),_&&x){if(R.current)return R.current(_,x,I);I()}},[_,x,I,R,S]);const N=U.useMemo(()=>({reference:w,floating:E,setReference:y,setFloating:b}),[y,b]),C=U.useMemo(()=>({reference:_,floating:x}),[_,x]),k=U.useMemo(()=>{const e={position:n,left:0,top:0};if(!C.floating)return e;const t=Fs(C.floating,l.x),r=Fs(C.floating,l.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...Us(C.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,C.floating,l.x,l.y]);return U.useMemo(()=>({...l,update:I,refs:N,elements:C,floatingStyles:k}),[l,I,N,C,k])}({...e,elements:{...i,...a&&{reference:a}}}),d=U.useCallback(e=>{const t=ko(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;u(t),p.refs.setReference(t)},[p.refs]),h=U.useCallback(e=>{(ko(e)||null===e)&&(l.current=e,s(e)),(ko(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!ko(e))&&p.refs.setReference(e)},[p.refs]),g=U.useMemo(()=>({...p.refs,setReference:h,setPositionReference:d,domReference:l}),[p.refs,h,d]),m=U.useMemo(()=>({...p.elements,domReference:c}),[p.elements,c]),v=U.useMemo(()=>({...p,...r,refs:g,elements:m,nodeId:t}),[p,g,m,t,r]);return Xs(()=>{r.dataRef.current.floatingContext=v;const e=null==f?void 0:f.nodesRef.current.find(e=>e.id===t);e&&(e.context=v)}),U.useMemo(()=>({...p,context:v,refs:g,elements:m}),[p,g,m,v])}const va="active",ya="selected";function ba(e,t,n){const r=new Map,i="item"===n;let o=e;if(i&&e){const{[va]:t,[ya]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1,[ca]:""},...o,...t.map(t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>t?(Object.entries(t).forEach(t=>{let[n,o]=t;var s;i&&[va,ya].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof o&&(null==(s=r.get(n))||s.push(o),e[n]=function(){for(var e,t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map(e=>e(...i)).find(e=>void 0!==e)})):e[n]=o)}),e):e,{})}}function _a(e){void 0===e&&(e=[]);const t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),r=e.map(e=>null==e?void 0:e.item),i=U.useCallback(t=>ba(t,e,"reference"),t),o=U.useCallback(t=>ba(t,e,"floating"),n),s=U.useCallback(t=>ba(t,e,"item"),r);return U.useMemo(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:s}),[i,o,s])}function xa(e,t){const[n,r]=e;let i=!1;const o=t.length;for(let e=0,s=o-1;e<o;s=e++){const[o,a]=t[e]||[0,0],[u,c]=t[s]||[0,0];a>=r!=c>=r&&n<=(u-o)*(r-a)/(c-a)+o&&(i=!i)}return i}function wa(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let i,o=!1,s=null,a=null,u=performance.now();const c=e=>{let{x:n,y:c,placement:l,elements:f,onClose:p,nodeId:d,tree:h}=e;return function(e){function g(){clearTimeout(i),p()}if(clearTimeout(i),!f.domReference||!f.floating||null==l||null==n||null==c)return;const{clientX:m,clientY:v}=e,y=[m,v],b=os(e),_="mouseleave"===e.type,x=ts(f.floating,b),w=ts(f.domReference,b),E=f.domReference.getBoundingClientRect(),T=f.floating.getBoundingClientRect(),S=l.split("-")[0],R=n>T.right-T.width/2,O=c>T.bottom-T.height/2,A=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(y,E),I=T.width>E.width,L=T.height>E.height,N=(I?E:T).left,C=(I?E:T).right,k=(L?E:T).top,P=(L?E:T).bottom;if(x&&(o=!0,!_))return;if(w&&(o=!1),w&&!_)return void(o=!0);if(_&&ko(e.relatedTarget)&&ts(f.floating,e.relatedTarget))return;if(h&&ua(h.nodesRef.current,d).some(e=>{let{context:t}=e;return null==t?void 0:t.open}))return;if("top"===S&&c>=E.bottom-1||"bottom"===S&&c<=E.top+1||"left"===S&&n>=E.right-1||"right"===S&&n<=E.left+1)return g();let j=[];switch(S){case"top":j=[[N,E.top+1],[N,T.bottom-1],[C,T.bottom-1],[C,E.top+1]];break;case"bottom":j=[[N,T.top+1],[N,E.bottom-1],[C,E.bottom-1],[C,T.top+1]];break;case"left":j=[[T.right-1,P],[T.right-1,k],[E.left+1,k],[E.left+1,P]];break;case"right":j=[[E.right-1,P],[E.right-1,k],[T.left+1,k],[T.left+1,P]]}if(!xa([m,v],j)){if(o&&!A)return g();if(!_&&r){const t=function(e,t){const n=performance.now(),r=n-u;if(null===s||null===a||0===r)return s=e,a=t,u=n,null;const i=e-s,o=t-a,c=Math.sqrt(i*i+o*o);return s=e,a=t,u=n,c/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return g()}xa([m,v],function(e){let[n,r]=e;switch(S){case"top":return[[I?n+t/2:R?n+4*t:n-4*t,r+t+1],[I?n-t/2:R?n+4*t:n-4*t,r+t+1],[T.left,R||I?T.bottom-t:T.top],[T.right,R?I?T.bottom-t:T.top:T.bottom-t]];case"bottom":return[[I?n+t/2:R?n+4*t:n-4*t,r-t],[I?n-t/2:R?n+4*t:n-4*t,r-t],[T.left,R||I?T.top+t:T.bottom],[T.right,R?I?T.top+t:T.bottom:T.top+t]];case"left":{const e=[n+t+1,L?r+t/2:O?r+4*t:r-4*t],i=[n+t+1,L?r-t/2:O?r+4*t:r-4*t];return[[O||L?T.right-t:T.left,T.top],[O?L?T.right-t:T.left:T.right-t,T.bottom],e,i]}case"right":return[[n-t,L?r+t/2:O?r+4*t:r-4*t],[n-t,L?r-t/2:O?r+4*t:r-4*t],[O||L?T.left+t:T.right,T.top],[O?L?T.left+t:T.right:T.left+t,T.bottom]]}}([n,c]))?!o&&r&&(i=window.setTimeout(g,40)):g()}}};return c.__options={blockPointerEvents:n},c}var Ea=function(){return Ea=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ea.apply(this,arguments)},Ta=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},Sa=function(e){var t=e.top,n=e.left,r=e.isVisible,i=void 0!==r&&r,o=e.children,s=e.style,u=(0,U.useState)(!0),c=u[0],l=u[1],f=(0,U.useState)(!0),p=f[0],d=f[1];return(0,U.useEffect)(function(){d(!0),i?setTimeout(function(){l(!1)},50):(setTimeout(function(){l(!0)},50),setTimeout(function(){d(!1)},300))},[i]),(0,X.jsx)(X.Fragment,{children:p&&(0,Oo.createPortal)((0,X.jsx)("div",{className:a.default.root,style:Ea(Ea({},null==s?void 0:s.root),{"--background-color":c?"rgba(0, 0, 0, 0.0)":"rgba(0, 0, 0, 0.4)"}),children:(0,X.jsx)("div",{className:a.default.background,property:c?"--top-value: 50%":"--top-value: ".concat(t),style:Ea(Ea({},null==s?void 0:s.background),{"--top-value":c?"50%":t,"--left-value":c?"50%":n,"--transform-value":c?"translateX(-50%) translateY(-50%) scale(.9)":"translateX(-50%) translateY(-50%) scale(1)","--opacity-value":c?"0":"1"}),children:o()})}),document.body)})},Ra=function(e){var t=e.children,n=e.parent,r=e.onChange,i=e.popupAlignmentProps,o=e.isVisible,s=e.action,u=void 0===s?"click":s,c=e.onInteractOutsidePopup,l=(0,U.useState)(null),f=l[0],p=l[1],d=(0,U.useRef)(null),h=(0,U.useState)(o||!1),g=h[0],m=h[1],v=null==n?void 0:n({isOpen:g,setRef:function(e){return p(e)},remove:function(){return m(!1)}});return(0,U.useEffect)(function(){var e;return g&&d.current&&f&&(e=new Aa({popupAlignmentProps:i,element:d.current,parent:f,autoRemove:!o,filterElementOnAutoRemove:[f],onRemove:function(){m(!1)},onInteractOutside:function(){null==c||c(d.current||void 0)}})),function(){null==e||e.remove()}},[g,d.current,f]),(0,U.useEffect)(function(){var e=function(){return m(!g)},t=f;return t&&(null==t||t.addEventListener(u,e)),function(){null==t||t.removeEventListener(u,e)}},[f,g]),(0,U.useEffect)(function(){var e=function(){return m(!g)},t=f;return t&&(null==t||t.addEventListener(u,e)),function(){null==t||t.removeEventListener(u,e)}},[f,g]),(0,U.useEffect)(function(){void 0!==o&&m(o)},[o]),(0,U.useEffect)(function(){null==r||r(g)},[g]),(0,X.jsxs)(X.Fragment,{children:[v,g&&(0,Oo.createPortal)((0,X.jsx)("div",{className:a.default["popup-element"],style:i.style,ref:d,children:t({remove:function(){return m(!1)},parentRef:f||void 0})}),document.body)]})},Oa=[],Aa=function(){function e(e){var t=this;this.onDown=function(e){var n=parseInt(t.element.style.left),r=parseInt(t.element.style.top),i=function(i){t.element.style.left=n-(e.clientX-i.clientX)+"px",t.element.style.top=r-(e.clientY-i.clientY)+"px"},o=function(){s()},s=function(){window.removeEventListener("mousemove",i),window.addEventListener("mouseup",o)};window.addEventListener("mousemove",i),window.addEventListener("mouseup",o)},this.resizeObserver=new ResizeObserver(function(e){t.onResize()}),this.filterElementOnAutoRemove=[],this.onDownElement=!1,this.onElementMousedown=function(){t.onDownElement=!0},this.onWindowMousedown=function(e){var n=Ta(Ta([],t.filterElementOnAutoRemove||[],!0),Oa,!0),r=n?document.elementsFromPoint(e.clientX,e.clientY).filter(function(e){return null==n?void 0:n.includes(e)}):[];!1!==t.onDownElement||r.length||(t.autoRemove&&t.remove(),t.onInteractOutside&&t.onInteractOutside()),t.onDownElement=!1},this.onWindowResize=function(){t.onResize&&window.requestAnimationFrame(function(){t.onResize()})},this.onWindowWheel=function(){t.onResize&&window.requestAnimationFrame(function(){t.onResize()})},this.element=e.element,this.parent=e.parent,Oa.push(e.element),Oa.push(e.parent),this.onRemove=e.onRemove,this.popupAlignmentProps=e.popupAlignmentProps,this.autoRemove=e.autoRemove,this.onInteractOutside=e.onInteractOutside,this.filterElementOnAutoRemove=e.filterElementOnAutoRemove,(e.autoRemove||e.onInteractOutside)&&(this.element.addEventListener("mousedown",this.onElementMousedown),window.addEventListener("mousedown",this.onWindowMousedown),window.addEventListener("resize",this.onWindowResize),window.addEventListener("wheel",this.onWindowWheel)),this.onResize(),this.resizeObserver.observe(e.element),this.resizeObserver.observe(e.parent)}return e.prototype.setMovable=function(){this.element.addEventListener("mousedown",this.onDown)},e.prototype.adjustElement=function(e){var t=e.getBoundingClientRect(),n={top:t.top,left:t.left,height:t.height,width:t.width,right:0,bottom:0};n.bottom=n.top+n.height,n.right=n.left+n.width;var r=document.body.offsetWidth-10,i=document.body.offsetHeight-10,o=e.offsetTop,s=e.offsetLeft;if(n.height<i)n.top<10?e.style.top="10px":n.bottom>i&&(e.style.top=o-(n.bottom-i)+"px");else if(n.height>i){e.style.top="0px";var a=e.getBoundingClientRect();a.top<0&&(e.style.top=-a.top+"px")}if(n.width<r)n.left<10?e.style.left="10px":n.right>r&&(e.style.left=s-(n.right-r)+"px");else if(n.width>r){e.style.left="0px";var u=e.getBoundingClientRect();u.left<0&&(e.style.left=-u.left+"px")}},e.prototype.onResize=function(){var e=this.popupAlignmentProps,t=e.yType,n=void 0===t?"top-edge":t,r=e.xType,i=void 0===r?"left-edge":r,o=e.yMargin,s=void 0===o?0:o,a=e.xMargin,u=void 0===a?0:a,c=e.width,l=e.minWidth,f=e.height,p=e.minHeight,d=this.element,h=this.parent.getBoundingClientRect();d.style.contain="layout",c&&(d.style.width="auto"===c?"auto":"".concat(h.width,"px")),l&&(d.style.minWidth="auto"===l?"auto":"".concat(h.width,"px")),f&&(d.style.height="auto"===f?"auto":"".concat(h.height,"px")),p&&(d.style.minHeight="auto"===p?"auto":"".concat(h.height,"px"));var g=d.getBoundingClientRect();if("left"===i)d.style.left="".concat((h.left<1?0:h.left)-g.width+u,"px");else if("left-edge"===i)d.style.left="".concat((h.left<1?0:h.left)+u,"px");else if("right-edge"===i)d.style.left="".concat((h.left<1?0:h.left)-g.width+h.width+u,"px");else if("center"===i){var m=h.width/2-g.width/2;d.style.left="".concat((h.left<1?0:h.left)+m+u,"px")}else d.style.left="".concat((h.right<1?0:h.right)+u,"px");"top"===n?d.style.top="".concat((h.top<1?0:h.top)-g.height+s,"px"):"top-edge"===n?d.style.top="".concat((h.top<1?0:h.top)+s,"px"):"bottom-edge"===n?d.style.top="".concat((h.top<1?0:h.top)-g.height+h.height+s,"px"):"center"===n?(m=h.height/2-g.height/2,d.style.top="".concat((h.top<1?0:h.top)+m+s,"px")):d.style.top="".concat((h.bottom<1?0:h.bottom)+s,"px"),d.style.scale=(h.width/this.parent.offsetWidth).toString(),this.adjustElement(d),d.style.opacity="1"},e.prototype.setXY=function(e,t){this.element.style.top=t+"px",this.element.style.left=e+"px"},e.prototype.setXYString=function(e,t){this.element.style.top=t,this.element.style.left=e},e.prototype.remove=function(){var e,t=this;Oa=Oa.filter(function(e){return e!==t.element&&e!==t.parent}),this.element.removeEventListener("mousedown",this.onElementMousedown),window.removeEventListener("mousedown",this.onWindowMousedown),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("wheel",this.onWindowWheel),null===(e=this.onRemove)||void 0===e||e.call(this)},e}(),Ia=function(e){var t=(0,U.useState)(!1),n=t[0],r=t[1],i=(0,U.useRef)(),o=ma({open:n,onOpenChange:r,middleware:[qs(),Hs(e.offset||0)],placement:e.placement}),s=o.refs,a=o.x,u=o.y,c=o.strategy,l=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:i,events:o,elements:s}=e,{enabled:a=!0,delay:u=0,handleClose:c=null,mouseOnly:l=!1,restMs:f=0,move:p=!0}=t,d=ra(),h=na(),g=oa(c),m=oa(u),v=oa(n),y=U.useRef(),b=U.useRef(-1),_=U.useRef(),x=U.useRef(-1),w=U.useRef(!0),E=U.useRef(!1),T=U.useRef(()=>{}),S=U.useRef(!1),R=U.useCallback(()=>{var e;const t=null==(e=i.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[i]);U.useEffect(()=>{if(a)return o.on("openchange",e),()=>{o.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(b.current),clearTimeout(x.current),w.current=!0,S.current=!1)}},[a,o]),U.useEffect(()=>{if(!a)return;if(!g.current)return;if(!n)return;function e(e){R()&&r(!1,e,"hover")}const t=rs(s.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[s.floating,n,r,a,g,R]);const O=U.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const i=aa(m.current,"close",y.current);i&&!_.current?(clearTimeout(b.current),b.current=window.setTimeout(()=>r(!1,e,n),i)):t&&(clearTimeout(b.current),r(!1,e,n))},[m,r]),A=Vs(()=>{T.current(),_.current=void 0}),I=Vs(()=>{if(E.current){const e=rs(s.floating).body;e.style.pointerEvents="",e.removeAttribute(sa),E.current=!1}});U.useEffect(()=>{if(a&&ko(s.domReference)){var e;const t=s.domReference;return n&&t.addEventListener("mouseleave",c),null==(e=s.floating)||e.addEventListener("mouseleave",c),p&&t.addEventListener("mousemove",o,{once:!0}),t.addEventListener("mouseenter",o),t.addEventListener("mouseleave",u),()=>{var e;n&&t.removeEventListener("mouseleave",c),null==(e=s.floating)||e.removeEventListener("mouseleave",c),p&&t.removeEventListener("mousemove",o),t.removeEventListener("mouseenter",o),t.removeEventListener("mouseleave",u)}}function t(){return!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type)}function o(e){if(clearTimeout(b.current),w.current=!1,l&&!ns(y.current)||f>0&&!aa(m.current,"open"))return;const t=aa(m.current,"open",y.current);t?b.current=window.setTimeout(()=>{v.current||r(!0,e,"hover")},t):r(!0,e,"hover")}function u(e){if(t())return;T.current();const r=rs(s.floating);if(clearTimeout(x.current),S.current=!1,g.current&&i.current.floatingContext){n||clearTimeout(b.current),_.current=g.current({...i.current.floatingContext,tree:d,x:e.clientX,y:e.clientY,onClose(){I(),A(),O(e,!0,"safe-polygon")}});const t=_.current;return r.addEventListener("mousemove",t),void(T.current=()=>{r.removeEventListener("mousemove",t)})}("touch"!==y.current||!ts(s.floating,e.relatedTarget))&&O(e)}function c(e){t()||i.current.floatingContext&&(null==g.current||g.current({...i.current.floatingContext,tree:d,x:e.clientX,y:e.clientY,onClose(){I(),A(),O(e)}})(e))}},[s,a,e,l,f,p,O,A,I,r,n,v,d,m,g,i]),Xs(()=>{var e;if(a&&n&&null!=(e=g.current)&&e.__options.blockPointerEvents&&R()){E.current=!0;const e=s.floating;if(ko(s.domReference)&&e){var t;const n=rs(s.floating).body;n.setAttribute(sa,"");const r=s.domReference,i=null==d||null==(t=d.nodesRef.current.find(e=>e.id===h))||null==(t=t.context)?void 0:t.elements.floating;return i&&(i.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}},[a,n,h,s,d,g,R]),Xs(()=>{n||(y.current=void 0,S.current=!1,A(),I())},[n,A,I]),U.useEffect(()=>()=>{A(),clearTimeout(b.current),clearTimeout(x.current),I()},[a,s.domReference,A,I]);const L=U.useMemo(()=>{function e(e){y.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function i(){w.current||v.current||r(!0,t,"hover")}l&&!ns(y.current)||n||0===f||S.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(x.current),"touch"===y.current?i():(S.current=!0,x.current=window.setTimeout(i,f)))}}},[l,r,n,v,f]),N=U.useMemo(()=>({onMouseEnter(){clearTimeout(b.current)},onMouseLeave(e){O(e.nativeEvent,!1)}}),[O]);return U.useMemo(()=>a?{reference:L,floating:N}:{},[a,L,N])}(o.context,{handleClose:wa({requireIntent:!1})}),f=_a([l]),p=f.getReferenceProps,d=f.getFloatingProps,h=p(),g=h.onMouseMove,m=h.onPointerDown,v=h.onPointerEnter,y=i.current;return(0,U.useLayoutEffect)(function(){return null==y||y.addEventListener("mousemove",g),null==y||y.addEventListener("pointerdown",m),null==y||y.addEventListener("pointerenter",v),function(){null==y||y.removeEventListener("mousemove",g),null==y||y.removeEventListener("pointerdown",m),null==y||y.removeEventListener("pointerenter",v)}},[y,g,m,v]),(0,X.jsxs)(X.Fragment,{children:[e.children(function(e){i.current=e,s.setReference(e)}),n&&(0,Oo.createPortal)((0,X.jsx)("div",Ea({ref:s.setFloating,style:{position:c,top:null!=u?u:0,left:null!=a?a:0,zIndex:1e3}},d(),{children:e.element})),document.body)]})},La=function(e){var t=(0,U.useState)(!1),n=t[0],r=t[1],i=(0,U.useRef)(),o=ma({open:n,onOpenChange:r,middleware:[qs(),Hs(e.offset||0)],placement:e.placement}),s=o.refs,a=o.x,u=o.y,c=o.strategy,l=o.context,f=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:i,elements:{domReference:o}}=e,{enabled:s=!0,event:a="click",toggle:u=!0,ignoreMouse:c=!1,keyboardHandlers:l=!0}=t,f=U.useRef(),p=U.useRef(!1),d=U.useMemo(()=>({onPointerDown(e){f.current=e.pointerType},onMouseDown(e){const t=f.current;0===e.button&&"click"!==a&&(ns(t,!0)&&c||(!n||!u||i.current.openEvent&&"mousedown"!==i.current.openEvent.type?(e.preventDefault(),r(!0,e.nativeEvent,"click")):r(!1,e.nativeEvent,"click")))},onClick(e){const t=f.current;"mousedown"===a&&f.current?f.current=void 0:ns(t,!0)&&c||(!n||!u||i.current.openEvent&&"click"!==i.current.openEvent.type?r(!0,e.nativeEvent,"click"):r(!1,e.nativeEvent,"click"))},onKeyDown(e){f.current=void 0,e.defaultPrevented||!l||la(e)||(" "!==e.key||fa(o)||(e.preventDefault(),p.current=!0),"Enter"===e.key&&r(!n||!u,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!l||la(e)||fa(o)||" "===e.key&&p.current&&(p.current=!1,r(!n||!u,e.nativeEvent,"click"))}}),[i,o,a,c,l,r,n,u]);return U.useMemo(()=>s?{reference:d}:{},[s,d])}(l),p=_a([f,ga(l)]),d=p.getReferenceProps,h=p.getFloatingProps,g=d(),m=g.onPointerDown,v=g.onMouseDown,y=g.onClick,b=g.onKeyDown,_=g.onKeyUp,x=i.current;return(0,U.useLayoutEffect)(function(){return null==x||x.addEventListener("pointerdown",m),null==x||x.addEventListener("click",y),null==x||x.addEventListener("mousedown",v),null==x||x.addEventListener("keydown",b),null==x||x.addEventListener("keyup",_),function(){null==x||x.removeEventListener("pointerdown",m),null==x||x.removeEventListener("click",y),null==x||x.removeEventListener("mousedown",v),null==x||x.removeEventListener("keydown",b),null==x||x.removeEventListener("keyup",_)}},[x,m,v,y,b,_]),(0,X.jsxs)(X.Fragment,{children:[e.children(function(e){i.current=e,s.setReference(e)}),n&&(0,Oo.createPortal)((0,X.jsx)("div",Ea({ref:s.setFloating,style:{position:c,top:null!=u?u:0,left:null!=a?a:0,zIndex:1e3}},h(),{children:e.element})),document.body)]})},Na=function(e){var t=(0,U.useRef)(),n=ma({open:e.isOpen,middleware:[qs(),Hs(e.offset||0)],placement:e.placement,onOpenChange:function(n,r,i){var o;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t.current)}}),r=n.refs,i=n.x,o=n.y,s=n.strategy,a=_a([ga(n.context)]),u=a.getReferenceProps,c=a.getFloatingProps,l=u(),f=l.onPointerDown,p=l.onKeyDown,d=t.current;return(0,U.useLayoutEffect)(function(){return null==d||d.addEventListener("pointerdown",f),null==d||d.addEventListener("keydown",p),function(){null==d||d.removeEventListener("pointerdown",f),null==d||d.removeEventListener("keydown",p)}},[d,f,p]),(0,X.jsxs)(X.Fragment,{children:[e.children(function(e){t.current=e,r.setReference(e)}),e.isOpen&&(0,Oo.createPortal)((0,X.jsx)("div",Ea({ref:r.setFloating,style:{position:s,top:null!=o?o:0,left:null!=i?i:0,zIndex:1e3}},c(),{children:e.element})),document.body)]})},Ca=function(e){var t=e.children,n=document.body,r=(0,U.useState)({})[1];return(0,U.useEffect)(function(){n.style.overflow="hidden";var e=new ResizeObserver(function(e){r({})});return e.observe(n),function(){n.style.overflow="",e.disconnect()}},[n]),(0,X.jsx)(X.Fragment,{children:(0,Oo.createPortal)((0,X.jsx)("div",{style:{top:"".concat(n.scrollTop,"px"),left:"".concat(n.scrollLeft,"px"),width:"".concat(n.scrollWidth,"px"),height:"".concat(n.scrollHeight,"px"),position:"absolute",zIndex:1e3},children:(0,X.jsx)("div",{style:{top:"0px",left:"0px",width:"".concat(n.clientWidth,"px"),height:"".concat(n.clientHeight,"px"),position:"absolute"},children:t})}),n)})},ka=function(e,t){return"%"===(null==t?void 0:t.unit)?e*((t.value||0)/100):(null==t?void 0:t.value)||0},Pa=function(e,t,n){var r=0,i=function(i){var o=e.find(function(e,n,r){var i=t.clientWidth,o=t.computedStyleMap(),s=o.get("padding-left"),a=o.get("padding-left");if(i=i-ka(i,s)-ka(i,a),0===n)return i>=e;if(r.length===n+1)return!0;var u=r[n-1];return i>=e&&i<u||void 0});r!==o&&(n(i,r,o),r=o)},o=new ResizeObserver(function(){i(!1)});return i(!0),o.observe(t),o},ja=function(){function e(){var e=this;this.elements={},this.getValue=function(){return Object.values(e.elements).filter(function(e){return e.size}).map(function(e){return e.size}).join(",")},this.lastValue="",this.onUpdate=function(){var t,n=e.getValue();e.lastValue!==n&&(e.lastValue=n,null===(t=e.update)||void 0===t||t.call(e,n))}}return e.prototype.render=function(e,t){if(e.nodeId)if(this.elements[e.nodeId]){var n=this.elements[e.nodeId];n.rendered=!0,n.item=e}else this.elements[e.nodeId]={rendered:!0,item:e,sizes:t}},e.prototype.finish=function(){var e=this;Object.values(this.elements).map(function(e){return!!e.item.ref}).includes(!1)||Object.entries(this.elements).forEach(function(t){var n,r,i=t[0],o=t[1];if(o.rendered){var s=o.item.ref;s&&(o.size&&s.classList.add("w".concat(o.size,"px")),o.resizeObserver&&o.item.ref===o.element||(null===(r=o.resizeObserver)||void 0===r||r.disconnect(),o.element=s,o.resizeObserver=Pa(o.sizes.map(function(e){return e.width}),s,function(t,n,r){window.requestAnimationFrame(function(){var t,i,a=o.sizes.find(function(e){return e.width===n}),u=o.sizes.find(function(e){return e.width===r});(null==a?void 0:a.className)&&(null==s||(t=s.classList).remove.apply(t,null==a?void 0:a.className)),(null==u?void 0:u.className)&&(null==s||(i=s.classList).add.apply(i,null==u?void 0:u.className)),o.size=r,e.onUpdate()})})))}else null===(n=o.resizeObserver)||void 0===n||n.disconnect(),delete e.elements[i];o.rendered=!1})},e.prototype.remove=function(){Object.values(this.elements).forEach(function(e){var t;null===(t=e.resizeObserver)||void 0===t||t.disconnect()})},e}(),Da=i(543),za=i.n(Da),Ma=function(){function e(e,t){var n=this;this.bank={},this.collectResponse=function(e){return Object.entries(e).reduce(function(e,t){var n=t[0],r=t[1];return e[n]={loading:r.loading,response:{body:r.response},error:r.error,request:r.request},e},{})},this.validateRequest=function(e,t,r){var i=n.getApisRequest(r);Object.entries(t).forEach(function(e){var t=e[0];e[1].load(i[t])}),n.bank[e].apis=n.collectResponse(t)},this.emit=function(e,t){n.bank[e].events.forEach(function(e){t&&t===e||e()})},this.baseState=e,this.getApisRequest=t}return e.prototype.mount=function(e,t){var n=this;if(this.bank[e])this.bank[e].events.includes(t)||this.bank[e].events.push(t);else{var r=za().cloneDeep(this.baseState),i=this.getApisRequest(r),o=Object.entries(i).reduce(function(t,r){var i=r[0],o=r[1],s=new Y(function(){n.emit(e)});return s.load(o),t[i]=s,t},{});this.bank[e]={state:r,mutated:r,apiLoaders:o,apis:this.collectResponse(o),events:[t]}}},e.prototype.unMount=function(e,t){if(this.bank[e]){var n=this.bank[e].events.indexOf(t);-1!==n&&this.bank[e].events.splice(n,1)}},e.prototype.set=function(e,t,n){var r=this.bank[e];this.validateRequest(e,r.apiLoaders,t),this.emit(e,n)},e}(),$a=function(e,t){var n=(0,U.useState)({}),r=(n[0],n[1]),i=(0,U.useMemo)(function(){var n=function(){return r({})};return t.mount(e,n),n},[e]);return(0,U.useEffect)(function(){},[i,e]),{state:t.bank[e].mutated,apis:t.bank[e].apis,set:function(n,r){return t.set(e,n,r?i:void 0),!0},setState:function(n){var r=t.bank[e].state;return n(r),t.set(e,r),!0},get:function(){return t.bank[e].state}}},Ba=function(e){var t=(0,U.useState)({}),n=(t[0],t[1]),r=(0,U.useMemo)(function(){return za().cloneDeep(e)},[]);return{state:r,getState:function(){return r},setState:function(e){return n({}),!0}}};const Ua="undefined"!=typeof window,Fa=Ua?window:null,Wa=Ua?document:null,Ha={replace:0,none:1,blend:2},qa=Symbol(),Ya=Symbol(),Ga=Symbol(),Va=Symbol(),Xa=(Symbol(),Symbol()),Za=1e-11,Ka=1e12,Ja=1e3,Qa="",eu=new Map;eu.set("x","translateX"),eu.set("y","translateY"),eu.set("z","translateZ");const tu=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],nu=tu.reduce((e,t)=>({...e,[t]:t+"("}),{}),ru=()=>{},iu=/(^#([\da-f]{3}){1,2}$)|(^#([\da-f]{4}){1,2}$)/i,ou=/rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i,su=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,au=/hsl\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*\)/i,uu=/hsla\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,cu=/[-+]?\d*\.?\d+(?:e[-+]?\d)?/gi,lu=/^([-+]?\d*\.?\d+(?:e[-+]?\d+)?)([a-z]+|%)$/i,fu=/([a-z])([A-Z])/g,pu=/(\w+)(\([^)]+\)+)/g,du=/(\*=|\+=|-=)/,hu={id:null,keyframes:null,playbackEase:null,playbackRate:1,frameRate:120,loop:0,reversed:!1,alternate:!1,autoplay:!0,duration:Ja,delay:0,loopDelay:0,ease:"out(2)",composition:Ha.replace,modifier:e=>e,onBegin:ru,onBeforeUpdate:ru,onUpdate:ru,onLoop:ru,onPause:ru,onComplete:ru,onRender:ru},gu={defaults:hu,root:Wa,scope:null,precision:4,timeScale:1,tickThreshold:200},mu={version:"4.0.0",engine:null};Ua&&(Fa.AnimeJS||(Fa.AnimeJS=[]),Fa.AnimeJS.push(mu));const vu=(e,t)=>0===e.indexOf(t),yu=Date.now,bu=Array.isArray,_u=e=>e&&e.constructor===Object,xu=e=>"number"==typeof e&&!isNaN(e),wu=e=>"string"==typeof e,Eu=e=>"function"==typeof e,Tu=e=>void 0===e,Su=e=>Tu(e)||null===e,Ru=e=>Ua&&e instanceof SVGElement,Ou=e=>iu.test(e),Au=e=>vu(e,"rgb"),Iu=e=>vu(e,"hsl"),Lu=e=>!gu.defaults.hasOwnProperty(e),Nu=e=>wu(e)?parseFloat(e):e,Cu=Math.pow,ku=Math.sqrt,Pu=Math.sin,ju=Math.cos,Du=Math.abs,zu=(Math.exp,Math.ceil),Mu=Math.floor,$u=Math.asin,Bu=(Math.max,Math.atan2,Math.PI),Uu=Math.round,Fu=(e,t,n)=>e<t?t:e>n?n:e,Wu={},Hu=(e,t)=>{if(t<0)return e;if(!t)return Uu(e);let n=Wu[t];return n||(n=Wu[t]=10**t),Uu(e*n)/n},qu=(e,t,n)=>e+(t-e)*n,Yu=e=>e===1/0?Ka:e===-1/0?-1e12:e,Gu=e=>e<Za?Za:e,Vu=e=>bu(e)?[...e]:e,Xu=(e,t)=>{const n={...e};for(let r in t){const i=e[r];n[r]=Tu(i)?t[r]:i}return n},Zu=(e,t,n,r="_prev",i="_next")=>{let o=e._head,s=i;for(n&&(o=e._tail,s=r);o;){const e=o[s];t(o),o=e}},Ku=(e,t,n="_prev",r="_next")=>{const i=t[n],o=t[r];i?i[r]=o:e._head=o,o?o[n]=i:e._tail=i,t[n]=null,t[r]=null},Ju=(e,t,n,r="_prev",i="_next")=>{let o=e._tail;for(;o&&n&&n(o,t);)o=o[r];const s=o?o[i]:e._head;o?o[i]=t:e._head=t,s?s[r]=t:e._tail=t,t[r]=o,t[i]=s};class Qu{constructor(e=0){this.deltaTime=0,this._currentTime=e,this._elapsedTime=e,this._startTime=e,this._lastTime=e,this._scheduledTime=0,this._frameDuration=Hu(Ja/120,0),this._fps=120,this._speed=1,this._hasChildren=!1,this._head=null,this._tail=null}get fps(){return this._fps}set fps(e){const t=this._frameDuration,n=+e,r=n<Za?Za:n,i=Hu(Ja/r,0);this._fps=r,this._frameDuration=i,this._scheduledTime+=i-t}get speed(){return this._speed}set speed(e){const t=+e;this._speed=t<Za?Za:t}requestTick(e){const t=this._scheduledTime,n=this._elapsedTime;if(this._elapsedTime+=e-n,n<t)return 0;const r=this._frameDuration,i=n-t;return this._scheduledTime+=i<r?r:i,1}computeDeltaTime(e){const t=e-this._lastTime;return this.deltaTime=t,this._lastTime=e,t}}const ec=(e,t,n,r,i)=>{const o=e.parent,s=e.duration,a=e.completed,u=e.iterationDuration,c=e.iterationCount,l=e._currentIteration,f=e._loopDelay,p=e._reversed,d=e._alternate,h=e._hasChildren,g=e._delay,m=e._currentTime,v=g+u,y=t-g,b=Fu(m,-g,s),_=Fu(y,-g,s),x=y-m,w=_>0,E=_>=s,T=s<=Za,S=2===i;let R=0,O=y,A=0;if(c>1){const t=~~(_/(u+(E?0:f)));e._currentIteration=Fu(t,0,c),E&&e._currentIteration--,R=e._currentIteration%2,O=_%(u+f)||0}const I=p^(d&&R),L=e._ease;let N=E?I?0:s:I?u-O:O;L&&(N=u*L(N/u)||0);const C=(o?o.backwards:y<m)?!I:!!I;if(e._currentTime=y,e._iterationTime=N,e.backwards=C,w&&!e.began?(e.began=!0,n||o&&(C||!o.began)||e.onBegin(e)):y<=0&&(e.began=!1),n||h||!w||e._currentIteration===l||e.onLoop(e),S||1===i&&(t>=g&&t<=v||t<=g&&b>g||t>=v&&b!==s)||N>=v&&b!==s||N<=g&&b>0||t<=b&&b===s&&a||E&&!a&&T){if(w&&(e.computeDeltaTime(b),n||e.onBeforeUpdate(e)),!h){const t=S||(C?-1*x:x)>=gu.tickThreshold,i=e._offset+(o?o._offset:0)+g+N;let s,a,u,c,l=e._head,f=0;for(;l;){const e=l._composition,n=l._currentTime,o=l._changeDuration,p=l._absoluteStartTime+l._changeDuration,d=l._nextRep,h=l._prevRep,g=e!==Ha.none;if((t||(n!==o||i<=p+(d?d._delay:0))&&(0!==n||i>=l._absoluteStartTime))&&(!g||!l._isOverridden&&(!l._isOverlapped||i<=p)&&(!d||d._isOverridden||i<=d._absoluteStartTime)&&(!h||h._isOverridden||i>=h._absoluteStartTime+h._changeDuration+l._delay))){const t=l._currentTime=Fu(N-l._startTime,0,o),n=l._ease(t/l._updateDuration),i=l._modifier,p=l._valueType,d=l._tweenType,h=0===d,m=0===p,v=m&&h||0===n||1===n?-1:gu.precision;let y,b;if(m)y=b=i(Hu(qu(l._fromNumber,l._toNumber,n),v));else if(1===p)b=i(Hu(qu(l._fromNumber,l._toNumber,n),v)),y=`${b}${l._unit}`;else if(2===p){const e=l._fromNumbers,t=l._toNumbers,r=Hu(Fu(i(qu(e[0],t[0],n)),0,255),0),o=Hu(Fu(i(qu(e[1],t[1],n)),0,255),0),s=Hu(Fu(i(qu(e[2],t[2],n)),0,255),0),a=Fu(i(Hu(qu(e[3],t[3],n),v)),0,1);if(y=`rgba(${r},${o},${s},${a})`,g){const e=l._numbers;e[0]=r,e[1]=o,e[2]=s,e[3]=a}}else if(3===p){y=l._strings[0];for(let e=0,t=l._toNumbers.length;e<t;e++){const t=i(Hu(qu(l._fromNumbers[e],l._toNumbers[e],n),v)),r=l._strings[e+1];y+=`${r?t+r:t}`,g&&(l._numbers[e]=t)}}if(g&&(l._number=b),r||e===Ha.blend)l._value=y;else{const e=l.property;s=l.target,h?s[e]=y:1===d?s.setAttribute(e,y):(a=s.style,3===d?(s!==u&&(u=s,c=s[Va]),c[e]=y,f=1):2===d?a[e]=y:4===d&&a.setProperty(e,y)),w&&(A=1)}}if(f&&l._renderTransforms){let e=Qa;for(let t in c)e+=`${nu[t]}${c[t]}) `;a.transform=e,f=0}l=l._next}!n&&A&&e.onRender(e)}!n&&w&&e.onUpdate(e)}return o&&T?!n&&(o.began&&!C&&y>=s&&!a||C&&y<=Za&&a)&&(e.onComplete(e),e.completed=!C):w&&E?c===1/0?e._startTime+=e.duration:e._currentIteration>=c-1&&(e.paused=!0,a||h||(e.completed=!0,n||o&&(C||!o.began)||(e.onComplete(e),e._resolve(e)))):e.completed=!1,A},tc=(e,t,n,r,i)=>{const o=e._currentIteration;if(ec(e,t,n,r,i),e._hasChildren){const s=e,a=s.backwards,u=r?t:s._iterationTime,c=yu();let l=0,f=!0;if(!r&&s._currentIteration!==o){const e=s.iterationDuration;Zu(s,t=>{if(a){const r=t.duration,i=t._offset+t._delay;n||!(r<=Za)||i&&i+r!==e||t.onComplete(t)}else!t.completed&&!t.backwards&&t._currentTime<t.iterationDuration&&ec(t,e,n,1,2),t.began=!1,t.completed=!1}),n||s.onLoop(s)}Zu(s,e=>{const t=Hu((u-e._offset)*e._speed,12),o=e._fps<s._fps?e.requestTick(c):i;l+=ec(e,t,n,r,o),!e.completed&&f&&(f=!1)},a),!n&&l&&s.onRender(s),f&&s._currentTime>=s.duration&&(s.paused=!0,s.completed||(s.completed=!0,n||(s.onComplete(s),s._resolve(s))))}},nc={animation:null,update:ru},rc=Ua?requestAnimationFrame:setImmediate,ic=Ua?cancelAnimationFrame:clearImmediate;class oc extends Qu{constructor(e){super(e),this.useDefaultMainLoop=!0,this.pauseOnDocumentHidden=!0,this.defaults=hu,this.paused=!(!Ua||!Wa.hidden),this.reqId=null}update(){const e=this._currentTime=yu();if(this.requestTick(e)){this.computeDeltaTime(e);const t=this._speed,n=this._fps;let r=this._head;for(;r;){const i=r._next;r.paused?(Ku(this,r),this._hasChildren=!!this._tail,r._running=!1,r.completed&&!r._cancelled&&r.cancel()):tc(r,(e-r._startTime)*r._speed*t,0,0,r._fps<n?r.requestTick(e):1),r=i}nc.update()}}wake(){return!this.useDefaultMainLoop||this.reqId||this.paused||(this.reqId=rc(ac)),this}pause(){return this.paused=!0,uc()}resume(){if(this.paused)return this.paused=!1,Zu(this,e=>e.resetTime()),this.wake()}get speed(){return this._speed*(1===gu.timeScale?1:Ja)}set speed(e){this._speed=e*gu.timeScale,Zu(this,e=>e.speed=e._speed)}get timeUnit(){return 1===gu.timeScale?"ms":"s"}set timeUnit(e){const t="s"===e,n=t?.001:1;if(gu.timeScale!==n){gu.timeScale=n,gu.tickThreshold=200*n;const e=t?.001:Ja;this.defaults.duration*=e,this._speed*=e}}get precision(){return gu.precision}set precision(e){gu.precision=e}}const sc=(()=>{const e=new oc(yu());return Ua&&(mu.engine=e,Wa.addEventListener("visibilitychange",()=>{e.pauseOnDocumentHidden&&(Wa.hidden?e.pause():e.resume())})),e})(),ac=()=>{sc._head?(sc.reqId=rc(ac),sc.update()):sc.reqId=0},uc=()=>(ic(sc.reqId),sc.reqId=0,sc);function cc(e){const t=wu(e)?gu.root.querySelectorAll(e):e;if(t instanceof NodeList||t instanceof HTMLCollection)return t}function lc(e){if(Su(e))return[];if(bu(e)){const t=e.flat(1/0),n=[];for(let e=0,r=t.length;e<r;e++){const r=t[e];if(!Su(r)){const e=cc(r);if(e)for(let t=0,r=e.length;t<r;t++){const r=e[t];if(!Su(r)){let e=!1;for(let t=0,i=n.length;t<i;t++)if(n[t]===r){e=!0;break}e||n.push(r)}}else{let e=!1;for(let t=0,i=n.length;t<i;t++)if(n[t]===r){e=!0;break}e||n.push(r)}}}return n}if(!Ua)return[e];const t=cc(e);return t?Array.from(t):[e]}function fc(e){const t=lc(e),n=t.length;if(n)for(let e=0;e<n;e++){const n=t[e];if(!n[qa]){n[qa]=!0;const e=Ru(n);(n.nodeType||e)&&(n[Ya]=!0,n[Ga]=e,n[Va]={})}}return t}const pc=["opacity","rotate","overflow","color"],dc=(e,t,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e),hc=(e,t)=>Tu(e)?t:e,gc=(e,t,n,r,i)=>{if(Eu(e)){const o=()=>{const i=e(t,n,r);return isNaN(+i)?i||0:+i};return i&&(i.func=o),o()}return e},mc=(e,t)=>e[Ya]?e[Ga]&&((e,t)=>{if(pc.includes(t))return!1;if(e.getAttribute(t)||t in e){if("scale"===t){const t=e.parentNode;return t&&"filter"===t.tagName}return!0}})(e,t)?1:tu.includes(t)||eu.get(t)?3:vu(t,"--")?4:t in e.style?2:t in e?0:1:0,vc=(e,t,n)=>{const r=e.style[t];r&&n&&(n[t]=r);const i=r||getComputedStyle(e[Xa]||e).getPropertyValue(t);return"auto"===i?"0":i},yc=(e,t,n,r)=>{const i=Tu(n)?mc(e,t):n;return 0===i?e[t]||0:1===i?e.getAttribute(t):3===i?((e,t,n)=>{const r=e.style.transform;let i;if(r){const o=e[Va];let s;for(;s=pu.exec(r);){const e=s[1],r=s[2].slice(1,-1);o[e]=r,e===t&&(i=r,n&&(n[t]=r))}}return r&&!Tu(i)?i:vu(t,"scale")?"1":vu(t,"rotate")||vu(t,"skew")?"0deg":"0px"})(e,t,r):4===i?vc(e,t,r).trimStart():vc(e,t,r)},bc=(e,t,n)=>"-"===n?e-t:"+"===n?e+t:e*t,_c=(e,t)=>{if(t.t=0,t.n=0,t.u=null,t.o=null,t.d=null,t.s=null,!e)return t;const n=+e;if(isNaN(n)){let n=e;"="===n[1]&&(t.o=n[0],n=n.slice(2));const i=!n.includes(" ")&&lu.exec(n);if(i)return t.t=1,t.n=+i[1],t.u=i[2],t;if(t.o)return t.n=+n,t;if((e=>Ou(e)||Au(e)||Iu(e))(n))return t.t=2,t.d=Au(r=n)?(e=>{const t=ou.exec(e)||su.exec(e),n=Tu(t[4])?1:+t[4];return[+t[1],+t[2],+t[3],n]})(r):Ou(r)?(e=>{const t=e.length,n=4===t||5===t;return[+("0x"+e[1]+e[n?1:2]),+("0x"+e[n?2:3]+e[n?2:4]),+("0x"+e[n?3:5]+e[n?3:6]),5===t||9===t?+(+("0x"+e[n?4:7]+e[n?4:8])/255).toFixed(3):1]})(r):Iu(r)?(e=>{const t=au.exec(e)||uu.exec(e),n=+t[1]/360,r=+t[2]/100,i=+t[3]/100,o=Tu(t[4])?1:+t[4];let s,a,u;if(0===r)s=a=u=i;else{const e=i<.5?i*(1+r):i+r-i*r,t=2*i-e;s=Hu(255*dc(t,e,n+1/3),0),a=Hu(255*dc(t,e,n),0),u=Hu(255*dc(t,e,n-1/3),0)}return[s,a,u,o]})(r):[0,0,0,1],t;{const e=n.match(cu);return t.t=3,t.d=e?e.map(Number):[],t.s=n.split(cu)||[],t}}var r;return t.n=n,t},xc=(e,t)=>(t.t=e._valueType,t.n=e._toNumber,t.u=e._unit,t.o=null,t.d=Vu(e._toNumbers),t.s=Vu(e._strings),t),wc={t:0,n:0,u:null,o:null,d:null,s:null},Ec={_rep:new WeakMap,_add:new Map},Tc=(e,t,n="_rep")=>{const r=Ec[n];let i=r.get(e);return i||(i={},r.set(e,i)),i[t]?i[t]:i[t]={_head:null,_tail:null}},Sc=(e,t)=>e._isOverridden||e._absoluteStartTime>t._absoluteStartTime,Rc=e=>{e._isOverlapped=1,e._isOverridden=1,e._changeDuration=Za,e._currentTime=Za},Oc=(e,t)=>{const n=e._composition;if(n===Ha.replace){const n=e._absoluteStartTime;Ju(t,e,Sc,"_prevRep","_nextRep");const r=e._prevRep;if(r){const t=r.parent,i=r._absoluteStartTime+r._changeDuration;if(e.parent.id!==t.id&&t.iterationCount>1&&i+(t.duration-t.iterationDuration)>n){Rc(r);let e=r._prevRep;for(;e&&e.parent.id===t.id;)Rc(e),e=e._prevRep}const o=n-e._delay;if(i>o){const e=r._startTime,t=i-(e+r._updateDuration);r._changeDuration=o-t-e,r._currentTime=r._changeDuration,r._isOverlapped=1,r._changeDuration<Za&&Rc(r)}let s=!0;if(Zu(t,e=>{e._isOverlapped||(s=!1)}),s){const e=t.parent;if(e){let n=!0;Zu(e,e=>{e!==t&&Zu(e,e=>{e._isOverlapped||(n=!1)})}),n&&e.cancel()}else t.cancel()}}}else if(n===Ha.blend){const t=Tc(e.target,e.property,"_add"),n=(e=>{let t=nc.animation;return t||(t={duration:Za,computeDeltaTime:ru,_offset:0,_delay:0,_head:null,_tail:null},nc.animation=t,nc.update=()=>{e.forEach(e=>{for(let t in e){const n=e[t],r=n._head;if(r){const e=r._valueType,t=3===e||2===e?Vu(r._fromNumbers):null;let i=r._fromNumber,o=n._tail;for(;o&&o!==r;){if(t)for(let e=0,n=o._numbers.length;e<n;e++)t[e]+=o._numbers[e];else i+=o._number;o=o._prevAdd}r._toNumber=i,r._toNumbers=t}}}),ec(t,1,1,0,2)}),t})(Ec._add);let r=t._head;r||(r={...e},r._composition=Ha.replace,r._updateDuration=Za,r._startTime=0,r._numbers=Vu(e._fromNumbers),r._number=0,r._next=null,r._prev=null,Ju(t,r),Ju(n,r));const i=e._toNumber;if(e._fromNumber=r._fromNumber-i,e._toNumber=0,e._numbers=Vu(e._fromNumbers),e._number=0,r._fromNumber=i,e._toNumbers){const t=Vu(e._toNumbers);t&&t.forEach((t,n)=>{e._fromNumbers[n]=r._fromNumbers[n]-t,e._toNumbers[n]=0}),r._fromNumbers=t}Ju(t,e,null,"_prevAdd","_nextAdd")}return e},Ac=e=>{const t=e._composition;if(t!==Ha.none){const n=e.target,r=e.property,i=Ec._rep.get(n)[r];if(Ku(i,e,"_prevRep","_nextRep"),t===Ha.blend){const t=Ec._add,i=t.get(n);if(!i)return;const o=i[r],s=nc.animation;Ku(o,e,"_prevAdd","_nextAdd");const a=o._head;if(a&&a===o._tail){Ku(o,a,"_prevAdd","_nextAdd"),Ku(s,a);let e=!0;for(let t in i)if(i[t]._head){e=!1;break}e&&t.delete(n)}}}return e},Ic=e=>(e.paused=!0,e.began=!1,e.completed=!1,e),Lc=e=>e._cancelled?(e._hasChildren?Zu(e,Lc):Zu(e,e=>{e._composition!==Ha.none&&Oc(e,Tc(e.target,e.property))}),e._cancelled=0,e):e;let Nc=0;class Cc extends Qu{constructor(e={},t=null,n=0){super(0);const{id:r,delay:i,duration:o,reversed:s,alternate:a,loop:u,loopDelay:c,autoplay:l,frameRate:f,playbackRate:p,onComplete:d,onLoop:h,onPause:g,onBegin:m,onBeforeUpdate:v,onUpdate:y}=e;gu.scope&&gu.scope.revertibles.push(this);const b=t?0:sc._elapsedTime,_=t?t.defaults:gu.defaults,x=Eu(i)||Tu(i)?_.delay:+i,w=Eu(o)||Tu(o)?1/0:+o,E=hc(u,_.loop),T=hc(c,_.loopDelay),S=!0===E||E===1/0||E<0?1/0:E+1;let R=0;if(t)R=n;else{let e=yu();sc.paused&&(sc.requestTick(e),e=sc._elapsedTime),R=e-sc._startTime}this.id=Tu(r)?++Nc:r,this.parent=t,this.duration=Yu((w+T)*S-T)||Za,this.backwards=!1,this.paused=!0,this.began=!1,this.completed=!1,this.onBegin=m||_.onBegin,this.onBeforeUpdate=v||_.onBeforeUpdate,this.onUpdate=y||_.onUpdate,this.onLoop=h||_.onLoop,this.onPause=g||_.onPause,this.onComplete=d||_.onComplete,this.iterationDuration=w,this.iterationCount=S,this._autoplay=!t&&hc(l,_.autoplay),this._offset=R,this._delay=x,this._loopDelay=T,this._iterationTime=0,this._currentIteration=0,this._resolve=ru,this._running=!1,this._reversed=+hc(s,_.reversed),this._reverse=this._reversed,this._cancelled=0,this._alternate=hc(a,_.alternate),this._prev=null,this._next=null,this._elapsedTime=b,this._startTime=b,this._lastTime=b,this._fps=hc(f,_.frameRate),this._speed=hc(p,_.playbackRate)}get cancelled(){return!!this._cancelled}set cancelled(e){e?this.cancel():this.reset(1).play()}get currentTime(){return Fu(Hu(this._currentTime,gu.precision),-this._delay,this.duration)}set currentTime(e){const t=this.paused;this.pause().seek(+e),t||this.resume()}get iterationCurrentTime(){return Hu(this._iterationTime,gu.precision)}set iterationCurrentTime(e){this.currentTime=this.iterationDuration*this._currentIteration+e}get progress(){return Fu(Hu(this._currentTime/this.duration,5),0,1)}set progress(e){this.currentTime=this.duration*e}get iterationProgress(){return Fu(Hu(this._iterationTime/this.iterationDuration,5),0,1)}set iterationProgress(e){const t=this.iterationDuration;this.currentTime=t*this._currentIteration+t*e}get currentIteration(){return this._currentIteration}set currentIteration(e){this.currentTime=this.iterationDuration*Fu(+e,0,this.iterationCount-1)}get reversed(){return!!this._reversed}set reversed(e){e?this.reverse():this.play()}get speed(){return super.speed}set speed(e){super.speed=e,this.resetTime()}reset(e=0){return Lc(this),this._reversed&&!this._reverse&&(this.reversed=!1),this._iterationTime=this.iterationDuration,tc(this,0,1,e,2),Ic(this),this._hasChildren&&Zu(this,Ic),this}init(e=0){this.fps=this._fps,this.speed=this._speed,!e&&this._hasChildren&&tc(this,this.duration,1,e,2),this.reset(e);const t=this._autoplay;return!0===t?this.resume():t&&!Tu(t.linked)&&t.link(this),this}resetTime(){const e=1/(this._speed*sc._speed);return this._startTime=yu()-(this._currentTime+this._delay)*e,this}pause(){return this.paused||(this.paused=!0,this.onPause(this)),this}resume(){return this.paused?(this.paused=!1,this.duration<=Za&&!this._hasChildren?tc(this,Za,0,0,2):(this._running||(Ju(sc,this),sc._hasChildren=!0,this._running=!0),this.resetTime(),this._startTime-=12,sc.wake()),this):this}restart(){return this.reset(0).resume()}seek(e,t=0,n=0){Lc(this),this.completed=!1;const r=this.paused;return this.paused=!0,tc(this,e+this._delay,~~t,~~n,1),r?this:this.resume()}alternate(){const e=this._reversed,t=this.iterationCount,n=this.iterationDuration,r=t===1/0?Mu(Ka/n):t;return this._reversed=+(!this._alternate||r%2?!e:e),t===1/0?this.iterationProgress=this._reversed?1-this.iterationProgress:this.iterationProgress:this.seek(n*r-this._currentTime),this.resetTime(),this}play(){return this._reversed&&this.alternate(),this.resume()}reverse(){return this._reversed||this.alternate(),this.resume()}cancel(){return this._hasChildren?Zu(this,e=>e.cancel(),!0):Zu(this,Ac),this._cancelled=1,this.pause()}stretch(e){const t=this.duration;if(t===Gu(e))return this;const n=e/t,r=e<=Za;return this.duration=r?Za:Gu(Yu(Hu(t*n,12))),this.iterationDuration=r?Za:Gu(Yu(Hu(this.iterationDuration*n,12))),this._offset*=n,this._delay*=n,this._loopDelay*=n,this}revert(){tc(this,0,1,0,1);const e=this._autoplay;return e&&e.linked&&e.linked===this&&e.revert(),this.cancel()}complete(){return this.seek(this.duration).cancel()}then(e=ru){const t=this.then,n=()=>{this.then=null,e(this),this.then=t,this._resolve=ru};return new Promise(e=>(this._resolve=()=>e(n()),this.completed&&this._resolve(),this))}}const kc=e=>e,Pc=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,jc=(e=.5,t=0,n=.5,r=1)=>e===t&&n===r?kc:i=>0===i||1===i?i:Pc(((e,t,n)=>{let r,i,o=0,s=1,a=0;do{i=o+(s-o)/2,r=Pc(i,t,n)-e,r>0?s=i:o=i}while(Du(r)>1e-7&&++a<100);return i})(i,e,n),t,r),Dc=(e=10,t)=>{const n=t?zu:Mu;return t=>n(Fu(t,0,1)*e)*(1/e)},zc=(...e)=>{const t=e.length;if(!t)return kc;const n=t-1,r=e[0],i=e[n],o=[0],s=[Nu(r)];for(let t=1;t<n;t++){const r=e[t],i=wu(r)?r.trim().split(" "):[r],a=i[0],u=i[1];o.push(Tu(u)?t/n:Nu(u)/100),s.push(Nu(a))}return s.push(Nu(i)),o.push(1),function(e){for(let t=1,n=o.length;t<n;t++){const n=o[t];if(e<=n){const r=o[t-1],i=s[t-1];return i+(s[t]-i)*(e-r)/(n-r)}}return s[s.length-1]}},Mc=(e=10,t=1)=>{const n=[0],r=e-1;for(let e=1;e<r;e++){const i=n[e-1],o=e/r,s=o*(1-t)+(o+((e+1)/r-o)*Math.random())*t;n.push(Fu(s,i,1))}return n.push(1),zc(...n)},$c=Bu/2,Bc=2*Bu,Uc=(e=1.68)=>t=>Cu(t,+e),Fc={[Qa]:Uc,Quad:Uc(2),Cubic:Uc(3),Quart:Uc(4),Quint:Uc(5),Sine:e=>1-ju(e*$c),Circ:e=>1-ku(1-e*e),Expo:e=>e?Cu(2,10*e-10):0,Bounce:e=>{let t,n=4;for(;e<((t=Cu(2,--n))-1)/11;);return 1/Cu(4,3-n)-7.5625*Cu((3*t-2)/22-e,2)},Back:(e=1.70158)=>t=>(+e+1)*t*t*t-+e*t*t,Elastic:(e=1,t=.3)=>{const n=Fu(+e,1,10),r=Fu(+t,Za,2),i=r/Bc*$u(1/n),o=Bc/r;return e=>0===e||1===e?e:-n*Cu(2,-10*(1-e))*Pu((1-e-i)*o)}},Wc={in:e=>t=>e(t),out:e=>t=>1-e(1-t),inOut:e=>t=>t<.5?e(2*t)/2:1-e(-2*t+2)/2,outIn:e=>t=>t<.5?(1-e(1-2*t))/2:(e(2*t-1)+1)/2},Hc=(()=>{const e={linear:zc,irregular:Mc,steps:Dc,cubicBezier:jc};for(let t in Wc)for(let n in Fc){const r=Fc[n],i=Wc[t];e[t+n]=n===Qa||"Back"===n||"Elastic"===n?(e,t)=>i(r(e,t)):i(r)}return e})(),qc={linear:kc},Yc=e=>Eu(e)?e:wu(e)?((e,t,n)=>{if(n[e])return n[e];if(e.indexOf("(")<=-1){const r=Wc[e]||e.includes("Back")||e.includes("Elastic")?t[e]():t[e];return r?n[e]=r:kc}{const r=e.slice(0,-1).split("("),i=t[r[0]];return i?n[e]=i(...r[1].split(",")):kc}})(e,Hc,qc):kc,Gc={},Vc=(e,t,n)=>{if(3===n){return eu.get(e)||e}if(2===n||1===n&&Ru(t)&&e in t.style){const t=Gc[e];if(t)return t;{const t=e?e.replace(fu,"$1-$2").toLowerCase():e;return Gc[e]=t,t}}return e},Xc={deg:1,rad:180/Bu,turn:360},Zc={},Kc=(e,t,n,r=!1)=>{const i=t.u,o=t.n;if(1===t.t&&i===n)return t;const s=o+i+n,a=Zc[s];if(Tu(a)||r){let r;if(i in Xc)r=o*Xc[i]/Xc[n];else{const t=100,s=e.cloneNode(),a=e.parentNode,u=a&&a!==Wa?a:Wa.body;u.appendChild(s);const c=s.style;c.width=t+i;const l=s.offsetWidth||t;c.width=t+n;const f=l/(s.offsetWidth||t);u.removeChild(s),r=f*o}t.n=r,Zc[s]=r}else t.n=a;return t.t,t.u=n,t},Jc=e=>{if(e._hasChildren)Zu(e,Jc,!0);else{const t=e;t.pause(),Zu(t,e=>{const n=e.property,r=e.target;if(r[Ya]){const i=r.style,o=t._inlineStyles[n];if(3===e._tweenType){const t=r[Va];if(Tu(o)||o===Qa?delete t[n]:t[n]=o,e._renderTransforms)if(Object.keys(t).length){let e=Qa;for(let n in t)e+=nu[n]+t[n]+") ";i.transform=e}else i.removeProperty("transform")}else Tu(o)||o===Qa?i.removeProperty(n):i[n]=o;t._tail===e&&t.targets.forEach(e=>{e.getAttribute&&e.getAttribute("style")===Qa&&e.removeAttribute("style")})}})}return e},Qc={t:0,n:0,u:null,o:null,d:null,s:null},el={t:0,n:0,u:null,o:null,d:null,s:null},tl={func:null},nl=[null],rl=[null,null],il={to:null};let ol,sl,al=0;class ul extends Cc{constructor(e,t,n,r,i=!1,o=0,s=0){super(t,n,r);const a=fc(e),u=a.length,c=t.keyframes,l=c?Xu(((e,t)=>{const n={};if(bu(e)){const t=[].concat(...e.map(e=>Object.keys(e))).filter(Lu);for(let r=0,i=t.length;r<i;r++){const i=t[r],o=e.map(e=>{const t={};for(let n in e){const r=e[n];Lu(n)?n===i&&(t.to=r):t[n]=r}return t});n[i]=o}}else{const r=hc(t.duration,gu.defaults.duration),i=Object.keys(e).map(t=>({o:parseFloat(t)/100,p:e[t]})).sort((e,t)=>e.o-t.o);i.forEach(e=>{const t=e.o,i=e.p;for(let e in i)if(Lu(e)){let o=n[e];o||(o=n[e]=[]);const s=t*r;let a=o.length,u=o[a-1];const c={to:i[e]};let l=0;for(let e=0;e<a;e++)l+=o[e].duration;1===a&&(c.from=u.to),i.ease&&(c.ease=i.ease),c.duration=s-(a?l:0),o.push(c)}return e});for(let e in n){const t=n[e];let r;for(let e=0,n=t.length;e<n;e++){const n=t[e],i=n.ease;n.ease=r||void 0,r=i}t[0].duration||t.shift()}}return n})(c,t),t):t,{delay:f,duration:p,ease:d,playbackEase:h,modifier:g,composition:m,onRender:v}=l,y=n?n.defaults:gu.defaults,b=hc(h,y.playbackEase),_=b?Yc(b):null,x=!Tu(d)&&!Tu(d.ease),w=x?d.ease:hc(d,_?"linear":y.ease),E=x?d.duration:hc(p,y.duration),T=hc(f,y.delay),S=g||y.modifier,R=Tu(m)&&u>=Ja?Ha.none:Tu(m)?y.composition:m,O={},A=this._offset+(n?n._offset:0);let I=NaN,L=NaN,N=0,C=0;for(let e=0;e<u;e++){const t=a[e],r=o||e,c=s||u;let f=NaN,p=NaN;for(let e in l)if(Lu(e)){const o=mc(t,e),s=Vc(e,t,o);let a=l[e];const u=bu(a);if(i&&!u&&(rl[0]=a,rl[1]=a,a=rl),u){const e=a.length,t=!_u(a[0]);2===e&&t?(il.to=a,nl[0]=il,ol=nl):e>2&&t?(ol=[],a.forEach((e,t)=>{t?1===t?(rl[1]=e,ol.push(rl)):ol.push(e):rl[0]=e})):ol=a}else nl[0]=a,ol=nl;let d=null,h=null,g=NaN,m=0,v=0;for(let e=ol.length;v<e;v++){const i=ol[v];_u(i)?sl=i:(il.to=i,sl=il),tl.func=null;const a=gc(sl.to,t,r,c,tl);let u;_u(a)&&!Tu(a.to)?(sl=a,u=a.to):u=a;const l=gc(sl.from,t,r,c),f=sl.ease,p=!Tu(f)&&!Tu(f.ease),y=p?f.ease:f||w,b=p?f.duration:gc(hc(sl.duration,e>1?gc(E,t,r,c)/e:E),t,r,c),_=gc(hc(sl.delay,v?0:T),t,r,c),x=gc(hc(sl.composition,R),t,r,c),I=xu(x)?x:Ha[x],L=sl.modifier||S,k=!Tu(l),P=!Tu(u),j=bu(u),D=j||k&&P,z=h?m+_:_,M=A+z;C||!k&&!j||(C=1);let $=h;if(I!==Ha.none){d||(d=Tc(t,s));let e=d._head;for(;e&&!e._isOverridden&&e._absoluteStartTime<=M;)if($=e,e=e._nextRep,e&&e._absoluteStartTime>=M)for(;e;)Rc(e),e=e._nextRep}if(D?(_c(j?gc(u[0],t,r,c):l,Qc),_c(j?gc(u[1],t,r,c,tl):u,el),0===Qc.t&&($?1===$._valueType&&(Qc.t=1,Qc.u=$._unit):(_c(yc(t,s,o,O),wc),1===wc.t&&(Qc.t=1,Qc.u=wc.u)))):(P?_c(u,el):h?xc(h,el):_c(n&&$&&$.parent.parent===n?$._value:yc(t,s,o,O),el),k?_c(l,Qc):h?xc(h,Qc):_c(n&&$&&$.parent.parent===n?$._value:yc(t,s,o,O),Qc)),Qc.o&&(Qc.n=bc($?$._toNumber:_c(yc(t,s,o,O),wc).n,Qc.n,Qc.o)),el.o&&(el.n=bc(Qc.n,el.n,el.o)),Qc.t!==el.t)if(3===Qc.t||3===el.t){const e=3===Qc.t?Qc:el,t=3===Qc.t?el:Qc;t.t=3,t.s=Vu(e.s),t.d=e.d.map(()=>t.n)}else if(1===Qc.t||1===el.t){const e=1===Qc.t?Qc:el,t=1===Qc.t?el:Qc;t.t=1,t.u=e.u}else if(2===Qc.t||2===el.t){const e=2===Qc.t?Qc:el,t=2===Qc.t?el:Qc;t.t=2,t.s=e.s,t.d=[0,0,0,1]}if(Qc.u!==el.u){let e=el.u?Qc:el;e=Kc(t,e,el.u?el.u:Qc.u,!1)}if(el.d&&Qc.d&&el.d.length!==Qc.d.length){const e=Qc.d.length>el.d.length?Qc:el,t=e===Qc?el:Qc;t.d=e.d.map((e,n)=>Tu(t.d[n])?0:t.d[n]),t.s=Vu(e.s)}const B=Hu(+b||Za,12),U={parent:this,id:al++,property:s,target:t,_value:null,_func:tl.func,_ease:Yc(y),_fromNumbers:Vu(Qc.d),_toNumbers:Vu(el.d),_strings:Vu(el.s),_fromNumber:Qc.n,_toNumber:el.n,_numbers:Vu(Qc.d),_number:Qc.n,_unit:el.u,_modifier:L,_currentTime:0,_startTime:z,_delay:+_,_updateDuration:B,_changeDuration:B,_absoluteStartTime:M,_tweenType:o,_valueType:el.t,_composition:I,_isOverlapped:0,_isOverridden:0,_renderTransforms:0,_prevRep:null,_nextRep:null,_prevAdd:null,_nextAdd:null,_prev:null,_next:null};I!==Ha.none&&Oc(U,d),isNaN(g)&&(g=U._startTime),m=Hu(z+B,12),h=U,N++,Ju(this,U)}(isNaN(L)||g<L)&&(L=g),(isNaN(I)||m>I)&&(I=m),3===o&&(f=N-v,p=N)}if(!isNaN(f)){let e=0;Zu(this,t=>{e>=f&&e<p&&(t._renderTransforms=1,t._composition===Ha.blend&&Zu(nc.animation,e=>{e.id===t.id&&(e._renderTransforms=1)})),e++})}}u||console.warn("No target found. Make sure the element you're trying to animate is accessible before creating your animation."),L?(Zu(this,e=>{e._startTime-e._delay||(e._delay-=L),e._startTime-=L}),I-=L):L=0,I||(I=Za,this.iterationCount=0),this.targets=a,this.duration=I===Za?Za:Yu((I+this._loopDelay)*this.iterationCount-this._loopDelay)||Za,this.onRender=v||y.onRender,this._ease=_,this._delay=L,this.iterationDuration=I,this._inlineStyles=O,!this._autoplay&&C&&this.onRender(this)}stretch(e){const t=this.duration;if(t===Gu(e))return this;const n=e/t;return Zu(this,e=>{e._updateDuration=Gu(Hu(e._updateDuration*n,12)),e._changeDuration=Gu(Hu(e._changeDuration*n,12)),e._currentTime*=n,e._startTime*=n,e._absoluteStartTime*=n}),super.stretch(e)}refresh(){return Zu(this,e=>{const t=yc(e.target,e.property,e._tweenType);_c(t,wc),e._fromNumbers=Vu(wc.d),e._fromNumber=wc.n,e._func&&(_c(e._func(),el),e._toNumbers=Vu(el.d),e._strings=Vu(el.s),e._toNumber=el.n)}),this}revert(){return super.revert(),Jc(this)}then(e){return super.then(e)}}tu.filter(e=>["X","Y","Z"].some(t=>e.endsWith(t))),Ua&&(Tu(CSS)||Object.hasOwnProperty.call(CSS,"registerProperty"));const cl={_head:null,_tail:null},ll=(e,t,n)=>{let r=cl._head;for(;r;){const i=r._next,o=r.$el===e,s=!t||r.property===t,a=!n||r.parent===n;if(o&&s&&a){const e=r.animation;try{e.commitStyles()}catch{}e.cancel(),Ku(cl,r);const t=r.parent;t&&(t._completed++,t.animations.length===t._completed&&(t.completed=!0,t.muteCallbacks||(t.paused=!0,t.onComplete(t),t._resolve(t))))}r=i}},fl=(e=ru)=>new Cc({duration:1*gu.timeScale,onComplete:e},null,0).resume();function pl(e,t,n){const r=fc(e);if(!r.length)return;const[i]=r,o=mc(i,t),s=Vc(t,i,o);let a=yc(i,s);if(Tu(n))return a;if(_c(a,wc),0===wc.t||1===wc.t){if(!1===n)return wc.n;{const e=Kc(i,wc,n,!1);return`${Hu(e.n,gu.precision)}${e.u}`}}}const dl=(e,t)=>{if(!Tu(t))return t.duration=Za,t.composition=hc(t.composition,Ha.none),new ul(e,t,null,0,!0).resume()},hl=(e,t,n)=>{let r=!1;return Zu(t,i=>{const o=i.target;if(e.includes(o)){const e=i.property,s=i._tweenType,a=Vc(n,o,s);(!a||a&&a===e)&&(i.parent._tail===i&&3===i._tweenType&&i._prev&&3===i._prev._tweenType&&(i._prev._renderTransforms=1),Ku(t,i),Ac(i),r=!0)}},!0),r},gl=(e,t,n)=>{const r=lc(e),i=t||sc,o=t&&t.controlAnimation&&t;for(let e=0,t=r.length;e<t;e++){const t=r[e];ll(t,n,o)}let s;if(i._hasChildren){let t=0;Zu(i,o=>{if(!o._hasChildren)if(s=hl(r,o,n),s&&!o._head)o.cancel(),Ku(i,o);else{const e=o._offset+o._delay+o.duration;e>t&&(t=e)}o._head?gl(e,o,n):o._hasChildren=!1},!0),Tu(i.iterationDuration)||(i.iterationDuration=t)}else s=hl(r,i,n);return s&&!i._head&&(i._hasChildren=!1,i.cancel&&i.cancel()),r},ml=(e,t,n)=>{const r=10**(n||0);return Mu((Math.random()*(t-e+1/r)+e)*r)/r},vl=(e,t,n,r)=>{let i=Ja/gu.defaults.frameRate;if(!1!==r){const e=r||sc._hasChildren&&sc;e&&e.deltaTime&&(i=e.deltaTime)}const o=1-Math.exp(-n*i*.1);return n?1===n?t:(1-o)*e+o*t:e},yl=e=>(...t)=>{const n=e(...t);return new Proxy(ru,{apply:(e,t,[r])=>n(r),get:(e,t)=>yl((...e)=>{const r=_l[t](...e);return e=>r(n(e))})})},bl=(e,t=0)=>(...n)=>(n.length<e.length?yl(((e,t=0)=>(...n)=>t?t=>e(...n,t):t=>e(t,...n))(e,t)):e)(...n),_l={$:fc,get:pl,set:dl,remove:gl,cleanInlineStyles:Jc,random:ml,randomPick:e=>e[ml(0,e.length-1)],shuffle:e=>{let t,n,r=e.length;for(;r;)n=ml(0,--r),t=e[r],e[r]=e[n],e[n]=t;return e},lerp:vl,sync:fl,clamp:bl(Fu),round:bl(Hu),snap:bl((e,t)=>bu(t)?t.reduce((t,n)=>Du(n-e)<Du(t-e)?n:t):t?Uu(e/t)*t:e),wrap:bl((e,t,n)=>((e-t)%(n-t)+(n-t))%(n-t)+t),interpolate:bl(qu,1),mapRange:bl((e,t,n,r,i)=>r+(e-t)/(n-t)*(i-r)),roundPad:bl((e,t)=>(+e).toFixed(t)),padStart:bl((e,t,n)=>`${e}`.padStart(t,n)),padEnd:bl((e,t,n)=>`${e}`.padEnd(t,n)),degToRad:bl(e=>e*Bu/180),radToDeg:bl(e=>180*e/Bu)},xl=(e,t)=>{let n=e.iterationDuration;if(n===Za&&(n=0),Tu(t))return n;if(xu(+t))return+t;const r=t,i=e?e.labels:null,o=!Su(i),s=((e,t)=>{if(vu(t,"<")){const n="<"===t[1],r=e._tail,i=r?r._offset+r._delay:0;return n?i:i+r.duration}})(e,r),a=!Tu(s),u=du.exec(r);if(u){const e=u[0],t=r.split(e),c=o&&t[0]?i[t[0]]:n,l=a?s:o?c:n,f=+t[1];return bc(l,f,e[0])}return a?s:o?Tu(i[r])?n:i[r]:n};function wl(e,t,n,r,i,o){const s=xu(e.duration)&&e.duration<=Za?n-Za:n;tc(t,s,1,1,1);const a=r?new ul(r,e,t,s,!1,i,o):new Cc(e,t,s);return a.init(1),Ju(t,a),Zu(t,e=>{const n=e._offset+e._delay+e.duration;n>t.iterationDuration&&(t.iterationDuration=n)}),t.duration=function(e){return Yu((e.iterationDuration+e._loopDelay)*e.iterationCount-e._loopDelay)||Za}(t),t}class El extends Cc{constructor(e={}){super(e,null,0),this.duration=0,this.labels={};const t=e.defaults,n=gu.defaults;this.defaults=t?Xu(t,n):n,this.onRender=e.onRender||n.onRender;const r=hc(e.playbackEase,n.playbackEase);this._ease=r?Yc(r):null,this.iterationDuration=0}add(e,t,n){const r=_u(t),i=_u(e);if(r||i){if(this._hasChildren=!0,r){const r=t;if(Eu(n)){const t=n,i=lc(e),o=this.duration,s=this.iterationDuration,a=r.id;let u=0;const c=i.length;i.forEach(e=>{const n={...r};this.duration=o,this.iterationDuration=s,Tu(a)||(n.id=a+"-"+u),wl(n,this,t(e,u,c,this),e,u,c),u++})}else wl(r,this,xl(this,n),e)}else wl(e,this,xl(this,t));return this.init(1)}}sync(e,t){if(Tu(e)||e&&Tu(e.pause))return this;e.pause();const n=+(e.effect?e.effect.getTiming().duration:e.duration);return this.add(e,{currentTime:[0,n],duration:n,ease:"linear"},t)}set(e,t,n){return Tu(t)?this:(t.duration=Za,t.composition=Ha.replace,this.add(e,t,n))}call(e,t){return Tu(e)||e&&!Eu(e)?this:this.add({duration:0,onComplete:()=>e(this)},t)}label(e,t){return Tu(e)||e&&!wu(e)||(this.labels[e]=xl(this,t)),this}remove(e,t){return gl(e,this,t),this}stretch(e){const t=this.duration;if(t===Gu(e))return this;const n=e/t,r=this.labels;Zu(this,e=>{e.stretch(e.duration*n)});for(let e in r)r[e]*=n;return super.stretch(e)}refresh(){return Zu(this,e=>{e.refresh&&e.refresh()}),this}revert(){return super.revert(),Zu(this,e=>e.revert,!0),Jc(this)}then(e){return super.then(e)}}const Tl=(e,t)=>e&&Eu(e)?e(t):e,Sl=new Map;class Rl{constructor(e){this.element=e,this.useWin=this.element===Wa.body,this.winWidth=0,this.winHeight=0,this.width=0,this.height=0,this.left=0,this.top=0,this.zIndex=0,this.scrollX=0,this.scrollY=0,this.prevScrollX=0,this.prevScrollY=0,this.scrollWidth=0,this.scrollHeight=0,this.velocity=0,this.backwardX=!1,this.backwardY=!1,this.scrollTicker=new Cc({autoplay:!1,onBegin:()=>this.dataTimer.resume(),onUpdate:()=>{const e=this.backwardX||this.backwardY;Zu(this,e=>e.handleScroll(),e)},onComplete:()=>this.dataTimer.pause()}).init(),this.dataTimer=new Cc({autoplay:!1,frameRate:30,onUpdate:e=>{const t=e.deltaTime,n=this.prevScrollX,r=this.prevScrollY,i=this.scrollX,o=this.scrollY,s=n-i,a=r-o;this.prevScrollX=i,this.prevScrollY=o,s&&(this.backwardX=n>i),a&&(this.backwardY=r>o),this.velocity=Hu(t>0?Math.sqrt(s*s+a*a)/t:0,5)}}).init(),this.resizeTicker=new Cc({autoplay:!1,duration:250*gu.timeScale,onComplete:()=>{this.updateWindowBounds(),this.refreshScrollObservers(),this.handleScroll()}}).init(),this.wakeTicker=new Cc({autoplay:!1,duration:500*gu.timeScale,onBegin:()=>{this.scrollTicker.resume()},onComplete:()=>{this.scrollTicker.pause()}}).init(),this._head=null,this._tail=null,this.updateScrollCoords(),this.updateWindowBounds(),this.updateBounds(),this.refreshScrollObservers(),this.handleScroll(),this.resizeObserver=new ResizeObserver(()=>this.resizeTicker.restart()),this.resizeObserver.observe(this.element),(this.useWin?Fa:this.element).addEventListener("scroll",this,!1)}updateScrollCoords(){const e=this.useWin,t=this.element;this.scrollX=Hu(e?Fa.scrollX:t.scrollLeft,0),this.scrollY=Hu(e?Fa.scrollY:t.scrollTop,0)}updateWindowBounds(){this.winWidth=Fa.innerWidth,this.winHeight=(()=>{const e=document.createElement("div");Wa.body.appendChild(e),e.style.height="100lvh";const t=e.offsetHeight;return Wa.body.removeChild(e),t})()}updateBounds(){const e=getComputedStyle(this.element),t=this.element;let n,r;if(this.scrollWidth=t.scrollWidth+parseFloat(e.marginLeft)+parseFloat(e.marginRight),this.scrollHeight=t.scrollHeight+parseFloat(e.marginTop)+parseFloat(e.marginBottom),this.updateWindowBounds(),this.useWin)n=this.winWidth,r=this.winHeight;else{const e=t.getBoundingClientRect();n=e.width,r=e.height,this.top=e.top,this.left=e.left}this.width=n,this.height=r}refreshScrollObservers(){Zu(this,e=>{e._debug&&e.removeDebug()}),this.updateBounds(),Zu(this,e=>{e.refresh(),e._debug&&e.debug()})}refresh(){this.updateWindowBounds(),this.updateBounds(),this.refreshScrollObservers(),this.handleScroll()}handleScroll(){this.updateScrollCoords(),this.wakeTicker.restart()}handleEvent(e){"scroll"===e.type&&this.handleScroll()}revert(){this.scrollTicker.cancel(),this.dataTimer.cancel(),this.resizeTicker.cancel(),this.wakeTicker.cancel(),this.resizeObserver.unobserve(this.element),(this.useWin?Fa:this.element).removeEventListener("scroll",this),Sl.delete(this.element)}}const Ol=(e,t,n,r,i)=>{const o="min"===t,s="max"===t,a="top"===t||"left"===t||"start"===t||o?0:"bottom"===t||"right"===t||"end"===t||s?"100%":"center"===t?"50%":t,{n:u,u:c}=_c(a,wc);let l=u;return"%"===c?l=u/100*n:c&&(l=Kc(e,wc,"px",!0).n),s&&r<0&&(l+=r),o&&i>0&&(l+=i),l},Al=(e,t,n,r,i)=>{let o;if(wu(t)){const s=du.exec(t);if(s){const a=s[0],u=a[0],c=t.split(a),l="min"===c[0],f="max"===c[0],p=Ol(e,c[0],n,r,i),d=Ol(e,c[1],n,r,i);if(l){const t=bc(Ol(e,"min",n),d,u);o=t<p?p:t}else if(f){const t=bc(Ol(e,"max",n),d,u);o=t>p?p:t}else o=bc(p,d,u)}else o=Ol(e,t,n,r,i)}else o=t;return Hu(o,0)},Il=e=>{let t;const n=e.targets;for(let e=0,r=n.length;e<r;e++){const r=n[e];if(r[Ya]){t=r;break}}return t};let Ll=0;const Nl=["#FF4B4B","#FF971B","#FFC730","#F9F640","#7AFF5A","#18FF74","#17E09B","#3CFFEC","#05DBE9","#33B3F1","#638CF9","#C563FE","#FF4FCF","#F93F8A"];class Cl{constructor(e={}){gu.scope&&gu.scope.revertibles.push(this);const t=hc(e.sync,"play pause"),n=t?Yc(t):null,r=t&&("linear"===t||t===kc),i=t&&!(n===kc&&!r),o=t&&(xu(t)||!0===t||r),s=t&&wu(t)&&!i&&!o,a=s?t.split(" ").map(e=>()=>{const t=this.linked;return t&&t[e]?t[e]():null}):null,u=s&&a.length>2;this.index=Ll++,this.id=Tu(e.id)?this.index:e.id,this.container=(e=>{const t=e&&lc(e)[0]||Wa.body;let n=Sl.get(t);return n||(n=new Rl(t),Sl.set(t,n)),n})(e.container),this.target=null,this.linked=null,this.repeat=null,this.horizontal=null,this.enter=null,this.leave=null,this.sync=i||o||!!a,this.syncEase=i?n:null,this.syncSmooth=o?!0===t||r?1:t:null,this.onSyncEnter=a&&!u&&a[0]?a[0]:ru,this.onSyncLeave=a&&!u&&a[1]?a[1]:ru,this.onSyncEnterForward=a&&u&&a[0]?a[0]:ru,this.onSyncLeaveForward=a&&u&&a[1]?a[1]:ru,this.onSyncEnterBackward=a&&u&&a[2]?a[2]:ru,this.onSyncLeaveBackward=a&&u&&a[3]?a[3]:ru,this.onEnter=e.onEnter||ru,this.onLeave=e.onLeave||ru,this.onEnterForward=e.onEnterForward||ru,this.onLeaveForward=e.onLeaveForward||ru,this.onEnterBackward=e.onEnterBackward||ru,this.onLeaveBackward=e.onLeaveBackward||ru,this.onUpdate=e.onUpdate||ru,this.onSyncComplete=e.onSyncComplete||ru,this.reverted=!1,this.completed=!1,this.began=!1,this.isInView=!1,this.forceEnter=!1,this.hasEntered=!1,this.offsets=[],this.offset=0,this.offsetStart=0,this.offsetEnd=0,this.distance=0,this.prevProgress=0,this.thresholds=["start","end","end","start"],this.coords=[0,0,0,0],this.debugStyles=null,this.$debug=null,this._params=e,this._debug=hc(e.debug,!1),this._next=null,this._prev=null,Ju(this.container,this),fl(()=>{if(!this.reverted){if(!this.target){const t=lc(e.target)[0];this.target=t||Wa.body,this.refresh()}this._debug&&this.debug()}})}link(e){if(e&&(e.pause(),this.linked=e,!this._params.target)){let t;Tu(e.targets)?Zu(e,e=>{e.targets&&!t&&(t=Il(e))}):t=Il(e),this.target=t||Wa.body,this.refresh()}return this}get velocity(){return this.container.velocity}get backward(){return this.horizontal?this.container.backwardX:this.container.backwardY}get scroll(){return this.horizontal?this.container.scrollX:this.container.scrollY}get progress(){const e=(this.scroll-this.offsetStart)/this.distance;return e===1/0||isNaN(e)?0:Hu(Fu(e,0,1),6)}refresh(){this.reverted=!1;const e=this._params;return this.repeat=hc(Tl(e.repeat,this),!0),this.horizontal="x"===hc(Tl(e.axis,this),"y"),this.enter=hc(Tl(e.enter,this),"end start"),this.leave=hc(Tl(e.leave,this),"start end"),this.updateBounds(),this.handleScroll(),this}removeDebug(){return this.$debug&&(this.$debug.parentNode.removeChild(this.$debug),this.$debug=null),this.debugStyles&&(this.debugStyles.revert(),this.$debug=null),this}debug(){this.removeDebug();const e=this.container,t=this.horizontal,n=e.element.querySelector(":scope > .animejs-onscroll-debug"),r=Wa.createElement("div"),i=Wa.createElement("div"),o=Wa.createElement("div"),s=Nl[this.index%Nl.length],a=e.useWin,u=a?e.winWidth:e.width,c=a?e.winHeight:e.height,l=e.scrollWidth,f=e.scrollHeight,p=this.container.width>360?320:260,d=t?0:10,h=t?10:0,g=t?24:p/2,m=t?g:15,v=t?60:g,y=t?v:m,b=t?"repeat-x":"repeat-y",_=e=>t?"0px "+e+"px":e+"px 2px",x=e=>`linear-gradient(${t?90:0}deg, ${e} 2px, transparent 1px)`,w=(e,t,n,r,i)=>`position:${e};left:${t}px;top:${n}px;width:${r}px;height:${i}px;`;r.style.cssText=`${w("absolute",d,h,t?l:p,t?p:f)}\n pointer-events: none;\n z-index: ${this.container.zIndex++};\n display: flex;\n flex-direction: ${t?"column":"row"};\n filter: drop-shadow(0px 1px 0px rgba(0,0,0,.75));\n `,i.style.cssText=`${w("sticky",0,0,t?u:g,t?g:c)}`,n||(i.style.cssText+=`background:\n ${x("#FFFF")}${_(g-10)} / 100px 100px ${b},\n ${x("#FFF8")}${_(g-10)} / 10px 10px ${b};\n `),o.style.cssText=`${w("relative",0,0,t?l:g,t?g:f)}`,n||(o.style.cssText+=`background:\n ${x("#FFFF")}${_(0)} / ${t?"100px 10px":"10px 100px"} ${b},\n ${x("#FFF8")}${_(0)} / ${t?"10px 0px":"0px 10px"} ${b};\n `);const E=[" enter: "," leave: "];this.coords.forEach((e,n)=>{const r=n>1,a=(r?0:this.offset)+e,d=n%2,h=a<y,g=a>(r?t?u:c:t?l:f)-y,b=(r?d&&!h:!d&&!h)||g,_=Wa.createElement("div"),x=Wa.createElement("div"),T=t?b?"right":"left":b?"bottom":"top",S=b?(t?v:m)+(r?t?-1:g?0:-2:t?-1:-2):t?1:0;x.innerHTML=`${this.id}${E[d]}${this.thresholds[n]}`,_.style.cssText=`${w("absolute",0,0,v,m)}\n display: flex;\n flex-direction: ${t?"column":"row"};\n justify-content: flex-${r?"start":"end"};\n align-items: flex-${b?"end":"start"};\n border-${T}: 2px solid ${s};\n `,x.style.cssText=`\n overflow: hidden;\n max-width: ${p/2-10}px;\n height: ${m};\n margin-${t?b?"right":"left":b?"bottom":"top"}: -2px;\n padding: 1px;\n font-family: ui-monospace, monospace;\n font-size: 10px;\n letter-spacing: -.025em;\n line-height: 9px;\n font-weight: 600;\n text-align: ${t&&b||!t&&!r?"right":"left"};\n white-space: pre;\n text-overflow: ellipsis;\n color: ${d?s:"rgba(0,0,0,.75)"};\n background-color: ${d?"rgba(0,0,0,.65)":s};\n border: 2px solid ${d?s:"transparent"};\n border-${t?b?"top-left":"top-right":b?"top-left":"bottom-left"}-radius: 5px;\n border-${t?b?"bottom-left":"bottom-right":b?"top-right":"bottom-right"}-radius: 5px;\n `,_.appendChild(x);let R=a-S+(t?1:0);_.style[t?"left":"top"]=`${R}px`,(r?i:o).appendChild(_)}),r.appendChild(i),r.appendChild(o),e.element.appendChild(r),n||r.classList.add("animejs-onscroll-debug"),this.$debug=r,"static"===pl(e.element,"position")&&(this.debugStyles=dl(e.element,{position:"relative "}))}updateBounds(){let e;this._debug&&this.removeDebug();const t=this.target,n=this.container,r=this.horizontal,i=this.linked;let o,s=t,a=0,u=0,c=s;i&&(o=i.currentTime,i.seek(0,!0));const l="static"===pl(n.element,"position")&&dl(n.element,{position:"relative "});for(;s&&s!==n.element&&s!==Wa.body;){const t="sticky"===pl(s,"position")&&dl(s,{position:"static"});s===c&&(a+=s.offsetLeft||0,u+=s.offsetTop||0,c=s.offsetParent),s=s.parentElement,t&&(e||(e=[]),e.push(t))}l&&l.revert();const f=r?a:u,p=r?t.offsetWidth:t.offsetHeight,d=r?n.width:n.height,h=(r?n.scrollWidth:n.scrollHeight)-d,g=this.enter,m=this.leave;let v="start",y="end",b="end",_="start";if(wu(g)){const e=g.split(" ");b=e[0],v=e.length>1?e[1]:v}else if(_u(g)){const e=g;Tu(e.container)||(b=e.container),Tu(e.target)||(v=e.target)}else xu(g)&&(b=g);if(wu(m)){const e=m.split(" ");_=e[0],y=e.length>1?e[1]:y}else if(_u(m)){const e=m;Tu(e.container)||(_=e.container),Tu(e.target)||(y=e.target)}else xu(m)&&(_=m);const x=Al(t,v,p),w=Al(t,y,p),E=x+f-d,T=w+f-h,S=Al(t,b,d,E,T),R=Al(t,_,d,E,T),O=x+f-S,A=w+f-R,I=A-O;this.offsets[0]=a,this.offsets[1]=u,this.offset=f,this.offsetStart=O,this.offsetEnd=A,this.distance=I<=0?0:I,this.thresholds=[v,y,b,_],this.coords=[x,w,S,R],e&&e.forEach(e=>e.revert()),i&&i.seek(o,!0),this._debug&&this.debug()}handleScroll(){const e=this.linked,t=this.sync,n=this.syncEase,r=this.syncSmooth,i=e&&(n||r),o=this.horizontal,s=this.container,a=this.scroll,u=a<=this.offsetStart,c=a>=this.offsetEnd,l=!u&&!c,f=a===this.offsetStart||a===this.offsetEnd,p=!this.hasEntered&&f,d=this._debug&&this.$debug;let h=!1,g=!1,m=this.progress;if(u&&this.began&&(this.began=!1),m>0&&!this.began&&(this.began=!0),i){const t=e.progress;if(r&&xu(r)){if(r<1){const e=t<m&&1===m?1e-4:t>m&&!m?-1e-4:0;m=Hu(vl(t,m,qu(.01,.2,r),!1)+e,6)}}else n&&(m=n(m));h=m!==this.prevProgress,g=1===t,h&&!g&&r&&t&&s.wakeTicker.restart()}if(d){const e=o?s.scrollY:s.scrollX;d.style[o?"top":"left"]=e+10+"px"}(l&&!this.isInView||p&&!this.forceEnter&&!this.hasEntered)&&(l&&(this.isInView=!0),this.forceEnter&&this.hasEntered?l&&(this.forceEnter=!1):(d&&l&&(d.style.zIndex=""+this.container.zIndex++),this.onSyncEnter(this),this.onEnter(this),this.backward?(this.onSyncEnterBackward(this),this.onEnterBackward(this)):(this.onSyncEnterForward(this),this.onEnterForward(this)),this.hasEntered=!0,p&&(this.forceEnter=!0))),(l||!l&&this.isInView)&&(h=!0),h&&(i&&e.seek(e.duration*m),this.onUpdate(this)),!l&&this.isInView&&(this.isInView=!1,this.onSyncLeave(this),this.onLeave(this),this.backward?(this.onSyncLeaveBackward(this),this.onLeaveBackward(this)):(this.onSyncLeaveForward(this),this.onLeaveForward(this)),t&&!r&&(g=!0)),m>=1&&this.began&&!this.completed&&(t&&g||!t)&&(t&&this.onSyncComplete(this),this.completed=!0,(!this.repeat&&!e||!this.repeat&&e&&e.completed)&&this.revert()),m<1&&this.completed&&(this.completed=!1),this.prevProgress=m}revert(){if(this.reverted)return;const e=this.container;return Ku(e,this),e._head||e.revert(),this._debug&&this.removeDebug(),this.reverted=!0,this}}const kl=(e={})=>new Cl(e);var Pl,jl,Dl,zl,Ml,$l,Bl,Ul,Fl,Wl,Hl;!function(e){e[e.XY=1]="XY",e[e.SIZE=2]="SIZE"}(Ml||(Ml={})),function(e){e[e.ALL=1]="ALL",e[e.SEPARATE=2]="SEPARATE"}($l||($l={})),function(e){e[e.X=1]="X",e[e.Y=2]="Y"}(Bl||(Bl={})),function(e){e[e.AUTOPLAY=1]="AUTOPLAY",e[e.SCROLL_SYNC=2]="SCROLL_SYNC",e[e.STATES=3]="STATES",e[e.NONE=4]="NONE"}(Ul||(Ul={})),function(e){e[e.FIXED=1]="FIXED",e[e.RELATIVE=2]="RELATIVE"}(Fl||(Fl={})),function(e){e[e.APPEAR=1]="APPEAR",e[e.MOUNT=2]="MOUNT"}(Wl||(Wl={})),function(e){e[e.PLAY=1]="PLAY",e[e.PAUSE=2]="PAUSE",e[e.REVERSE=3]="REVERSE",e[e.IGNORE=4]="IGNORE",e[e.DESTROY=5]="DESTROY",e[e.INIT=6]="INIT",e[e.RE_PLAY=7]="RE_PLAY"}(Hl||(Hl={}));var ql,Yl=((Pl={})[Hl.PLAY]="play",Pl[Hl.PAUSE]="pause",Pl[Hl.REVERSE]="reverse",Pl[Hl.IGNORE]="ignore",Pl[Hl.DESTROY]="destroy",Pl[Hl.INIT]="init",Pl[Hl.RE_PLAY]="re_play",Pl);!function(e){e[e.FIXED=0]="FIXED",e[e.PERCENTAGE=1]="PERCENTAGE",e[e.START=2]="START",e[e.START_PLUS=3]="START_PLUS",e[e.END=4]="END",e[e.END_PLUS=5]="END_PLUS"}(ql||(ql={}));var Gl,Vl,Xl=((jl={})[ql.FIXED]="",jl[ql.PERCENTAGE]="%",jl[ql.START]="top",jl[ql.START_PLUS]="+=top",jl[ql.END]="bottom",jl[ql.END_PLUS]="+=bottom",jl),Zl=((Dl={})[ql.FIXED]="",Dl[ql.PERCENTAGE]="%",Dl[ql.START]="top",Dl[ql.START_PLUS]="+=left",Dl[ql.END]="right",Dl[ql.END_PLUS]="+=right",Dl),Kl=function(e,t,n){var r=e===Bl.Y?Xl:Zl;return t===ql.START||t===ql.END?"".concat(r[t]):"".concat(null!=n?n:"").concat(r[t])};!function(e){e[e.SMOOTH=0]="SMOOTH",e[e.INSTANT=1]="INSTANT"}(Gl||(Gl={})),function(e){e[e.NORMAL=1]="NORMAL",e[e.REVERSE=2]="REVERSE",e[e.ALTERNATE=3]="ALTERNATE"}(Vl||(Vl={}));var Jl,Ql,ef=((zl={})[Vl.NORMAL]="normal",zl[Vl.REVERSE]="reverse",zl[Vl.ALTERNATE]="alternate",zl),tf=function(e){var t=[];return e.forEach(function(e){Array.isArray(e.targets)?t.push.apply(t,e.targets):"string"==typeof e.targets&&t.push(e.targets)}),t.map(function(e){return document.querySelector(e)}).filter(function(e){return null!=e})},nf=function(e,t,n){void 0===t&&(t={});var r=Object.entries(t).reduce(function(e,t){var n=t[0],r=t[1];return e[n]=Yl[r],e},{}),i=(0,U.useState)({}),o=(i[0],i[1]),s=(0,U.useMemo)(function(){var t=Object.entries(e).reduce(function(e,t){return e[t[0]]={complete:!1},e},{}),i={},a={},u=function(r,s){var u,c,l,f,p,d,h,g=r.name,m=i[g];if(!m){var v=ef[r.direction||Vl.NORMAL];a[g]={direction:v};var y=!1,b=r.config;if(b.type_===Ul.SCROLL_SYNC){var _=b.smoothness.type===Gl.INSTANT||b.smoothness.value||0,x=(null==b?void 0:b.container.element)?"."+n["E".concat(null==b?void 0:b.container.element)]:"#__next",w=null!==(u=null==b?void 0:b.target.element)&&void 0!==u?u:"-",E=Kl(b.direction,b.container.enter.type,b.container.enter.value),T=Kl(b.direction,b.container.leave.type,b.container.leave.value),S=Kl(b.direction,b.target.enter.type,b.target.enter.value),R=Kl(b.direction,b.target.leave.type,b.target.leave.value);y=kl({axis:b.direction===Bl.Y?"y":"x",container:x,target:w,sync:_,enter:"".concat(E," ").concat(S),leave:"".concat(T," ").concat(R)})}else b.type_===Ul.AUTOPLAY&&b.on.type_===Wl.APPEAR?(x=(null===(c=b.on)||void 0===c?void 0:c.container.element)?"."+n["E".concat(null===(l=b.on)||void 0===l?void 0:l.container.element)]:"#__next",w=null!==(p=null===(f=b.on)||void 0===f?void 0:f.target.element)&&void 0!==p?p:"-",E=Kl(b.on.direction,b.on.container.enter.type,b.on.container.enter.value),T=Kl(b.on.direction,b.on.container.leave.type,b.on.container.leave.value),S=Kl(b.on.direction,b.on.target.enter.type,b.on.target.enter.value),R=Kl(b.on.direction,b.on.target.leave.type,b.on.target.leave.value),y=kl({axis:b.on.direction===Bl.Y?"y":"x",container:x,target:w,sync:!0,enter:"".concat(E," ").concat(S),leave:"".concat(T," ").concat(R)})):b.type_===Ul.AUTOPLAY&&b.on.type_===Wl.MOUNT&&(y=!0);var O=(h={autoplay:y,loop:!!r.loop,onBegin:function(){t[r.name].begin=!0,t[r.name].complete=!1,r.listener&&o({})},onUpdate:function(e){1===e.progress&&(t[r.name].begin=!0,t[r.name].complete=!0,r.listener&&o({}))}},new El(h).init());null===(d=Object.values(e).find(function(e){return e.node===r}))||void 0===d||d.data.forEach(function(e){O.add(e.targets,e.params,0)}),m={node:r,instance:O,elements:s},i[g]=m,m.instance.onComplete=function(){a[g].playing=!1}}return m.instance};return{player:r,states:t,list:i,play:function(e,t){var n=u(e),r=e.name;"play"!==a[r].state&&(a[r].state="play",a[r].reverse||t&&n.paused&&n.restart(),n.play(),a[r].reverse=!1,a[r].playing=!0)},pause:function(e){var t=e.name;"pause"!==a[t].state&&(a[t].state="pause",u(e).pause(),a[t].playing=!1)},reverse:function(e){var t=e.name;"reverse"!==a[t].state&&(a[t].state="reverse",u(e).reverse(),a[t].reverse=!0,a[t].playing=!0)},get:u,destroy:function(e){var t=i[e.name];t&&(delete a[e.name],delete i[e.name],t.instance.pause())},direction:function(e){return a[e.name].direction},clean:function(){return Object.entries(s.list).forEach(function(t){var n,r,i=t[0],o=t[1],a=e[i],u=a?tf(a.data):[];((null===(n=o.elements)||void 0===n?void 0:n.length)!==u.length||(null===(r=o.elements)||void 0===r?void 0:r.map(function(e){return u.includes(e)}).includes(!1)))&&s.destroy(o.node)})}}},[]);return s.player=r,{instances:s,scan:function(){Object.entries(t).forEach(function(t){var n=t[0],r=t[1],i=e[n];if(i&&r!==Hl.IGNORE)if(r!==Hl.DESTROY){var o=tf(i.data);o.length?(s.get(i.node,o),r===Hl.PLAY?i&&s.play(i.node):r===Hl.PAUSE?i&&s.pause(i.node):r===Hl.RE_PLAY?i&&s.play(i.node,!0):r===Hl.REVERSE&&i&&s.reverse(i.node)):s.destroy(i.node)}else s.destroy(i.node)})}}},rf=0,of=function(){return(0,U.useMemo)(function(){return"C".concat(++rf)},[])},sf=function(e){var t=(0,U.useRef)(!1);(0,U.useEffect)(function(){t.current=!0},[]),(0,U.useEffect)(function(){if(!t.current||e.option.runOnInit)return e.on();t.current=!1},e.values)},af=function(e,t,n){var r=[],i=t<e?t-e:e-t;r.length=i;for(var o=0;o<i;o++)r[o]=n(o);return r},uf=function(e,t){var n=[],r=e.length;n.length=r;for(var i=0;i<r;i++)n[i]=t(e[i],i);return n},cf=function(e,t){var n=[],r=Object.entries(e),i=r.length;n.length=i;for(var o=0;o<i;o++)n[o]=t(r[o][0],r[o][1],o);return n},lf=function(e,t){var n=[],r=e.length;n.length=r;for(var i=0;i<r;i++)n[i]=t(e[i],i,r===i+1);return n},ff=function(e){return"string"==typeof e?e:"number"==typeof e||"boolean"==typeof e?e.toString():void 0},pf=function(e){return{width:(null==e?void 0:e.width)?e.width.value+e.width.type:void 0,height:(null==e?void 0:e.height)?e.height.value+e.height.type:void 0,backgroundColor:null==e?void 0:e.fill,backgroundImage:null==e?void 0:e.image}};!function(e){e[e.TOP=1]="TOP",e[e.LEFT=2]="LEFT",e[e.RIGHT=3]="RIGHT",e[e.BOTTOM=4]="BOTTOM"}(Jl||(Jl={})),function(e){e[e.PLUS=1]="PLUS",e[e.MINUS=2]="MINUS"}(Ql||(Ql={}));var df=function(e){var t=e.container?document.querySelector(e.container):document.querySelector("#__next"),n=e.value||0,r=e.target?document.querySelector(e.target):void 0;if(t){var i=0,o=t.getBoundingClientRect();if(r){var s=r.getBoundingClientRect();e.config===Jl.TOP?i=Number(t.scrollTop+(s.top-o.top)):e.config===Jl.BOTTOM?i=Number(t.scrollTop+(s.bottom-o.top)):e.config===Jl.LEFT?i=Number(t.scrollLeft+(s.left-o.left)):e.config===Jl.RIGHT&&(i=Number(t.scrollLeft+(s.right-o.left))),e.operator===Ql.PLUS?i+=n:e.operator===Ql.MINUS&&(i-=n)}else e.config===Jl.TOP?i=0:e.config===Jl.BOTTOM?i=-t.scrollHeight:e.config===Jl.LEFT?i=0:e.config===Jl.RIGHT&&(i=-t.scrollWidth),e.operator===Ql.PLUS?i+=n:e.operator===Ql.MINUS&&(i-=n);e.config===Jl.TOP||e.config===Jl.BOTTOM?t.scrollTo({behavior:"instant",top:i}):t.scrollTo({behavior:"instant",left:i})}},hf=function(e){return{text:e.currentTarget.value||"",element:e.currentTarget}},gf=function(e){return{text:e.currentTarget.value||"",element:e.currentTarget}},mf=function(e){return{element:e.currentTarget}},vf=function(e){return{element:e.currentTarget}},yf=function(e){return{element:e.currentTarget}}})();var s=exports;for(var a in o)s[a]=o[a];o.__esModule&&Object.defineProperty(s,"__esModule",{value:!0})})();
2
+ (()=>{var e,t,n={12:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},15:e=>{"use strict";e.exports=require("react")},18:(e,t,n)=>{"use strict";var r=n(516);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},19:(e,t,n)=>{"use strict";var r=n(516);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},85:(e,t,n)=>{"use strict";e.exports=n(335)},106:(e,t,n)=>{"use strict";var r=n(516);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var s=[];r.forEach(t,function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(i(t)+"="+i(e))}))}),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},137:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},155:(e,t,n)=>{"use strict";var r=n(516),i=n(106),o=n(471),s=n(490),a=n(343),u=n(841),c=u.validators;function l(e){this.defaults=e,this.interceptors={request:new o,response:new o}}l.prototype.request=function(e,t){if("string"==typeof e?(t=t||{}).url=e:t=e||{},!t.url)throw new Error("Provided config url is not valid");(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&u.assertOptions(n,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,r.unshift(e.fulfilled,e.rejected))});var o,l=[];if(this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)}),!i){var f=[s,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(l),o=Promise.resolve(t);f.length;)o=o.then(f.shift(),f.shift());return o}for(var p=t;r.length;){var d=r.shift(),h=r.shift();try{p=d(p)}catch(e){h(e);break}}try{o=s(p)}catch(e){return Promise.reject(e)}for(;l.length;)o=o.then(l.shift(),l.shift());return o},l.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=a(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(e){l.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}}),r.forEach(["post","put","patch"],function(e){l.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}}),e.exports=l},191:(e,t,n)=>{"use strict";var r=n(928);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;this.promise.then(function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}}),this.promise.then=function(e){var t,r=new Promise(function(e){n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},202:(e,t,n)=>{"use strict";var r=n(516);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},335:(e,t,n)=>{"use strict";var r=n(15),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,l=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,r)&&!u.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:l,props:o,_owner:a.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},343:(e,t,n)=>{"use strict";var r=n(516);e.exports=function(e,t){t=t||{};var n={};function i(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(e[n],t[n])}function s(e){if(!r.isUndefined(t[e]))return i(void 0,t[e])}function a(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(void 0,t[n])}function u(n){return n in t?i(e[n],t[n]):n in e?i(void 0,e[n]):void 0}var c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return r.forEach(Object.keys(e).concat(Object.keys(t)),function(e){var t=c[e]||o,i=t(e);r.isUndefined(i)&&t!==u||(n[e]=i)}),n}},396:(e,t,n)=>{"use strict";var r=n(516),i=n(12),o=n(155),s=n(343),a=function e(t){var n=new o(t),a=i(o.prototype.request,n);return r.extend(a,o.prototype,n),r.extend(a,n),a.create=function(n){return e(s(t,n))},a}(n(987));a.Axios=o,a.Cancel=n(928),a.CancelToken=n(191),a.isCancel=n(864),a.VERSION=n(641).version,a.all=function(e){return Promise.all(e)},a.spread=n(980),a.isAxiosError=n(19),e.exports=a,e.exports.default=a},449:e=>{"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},471:(e,t,n)=>{"use strict";var r=n(516);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},490:(e,t,n)=>{"use strict";var r=n(516),i=n(881),o=n(864),s=n(987),a=n(928);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a("canceled")}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return u(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},505:(e,t,n)=>{e.exports=n(396)},516:(e,t,n)=>{"use strict";var r=n(12),i=Object.prototype.toString;function o(e){return Array.isArray(e)}function s(e){return void 0===e}function a(e){return"[object ArrayBuffer]"===i.call(e)}function u(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===i.call(e)}function f(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:a,isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===i.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&a(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:u,isPlainObject:c,isUndefined:s,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:l,isStream:function(e){return u(e)&&l(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===i.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)f(arguments[r],n);return t},extend:function(e,t,n){return f(t,function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t}),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},522:(e,t,n)=>{"use strict";var r=n(763);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},543:function(e,t,n){var r;e=n.nmd(e),function(){var i,o="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",u=32,c=128,l=1/0,f=9007199254740991,p=NaN,d=4294967295,h=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",u],["partialRight",64],["rearg",256]],g="[object Arguments]",m="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",_="[object Function]",x="[object GeneratorFunction]",w="[object Map]",E="[object Number]",T="[object Object]",S="[object Promise]",R="[object RegExp]",O="[object Set]",A="[object String]",I="[object Symbol]",L="[object WeakMap]",N="[object ArrayBuffer]",C="[object DataView]",k="[object Float32Array]",P="[object Float64Array]",j="[object Int8Array]",D="[object Int16Array]",z="[object Int32Array]",M="[object Uint8Array]",$="[object Uint8ClampedArray]",B="[object Uint16Array]",U="[object Uint32Array]",F=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,G=RegExp(q.source),V=RegExp(Y.source),X=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,ie=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,ae=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,le=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,de=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ve=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,_e=/['\n\r\u2028\u2029\\]/g,xe="\\ud800-\\udfff",we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",Se="A-Z\\xc0-\\xd6\\xd8-\\xde",Re="\\ufe0e\\ufe0f",Oe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ae="["+xe+"]",Ie="["+Oe+"]",Le="["+we+"]",Ne="\\d+",Ce="["+Ee+"]",ke="["+Te+"]",Pe="[^"+xe+Oe+Ne+Ee+Te+Se+"]",je="\\ud83c[\\udffb-\\udfff]",De="[^"+xe+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Me="[\\ud800-\\udbff][\\udc00-\\udfff]",$e="["+Se+"]",Be="\\u200d",Ue="(?:"+ke+"|"+Pe+")",Fe="(?:"+$e+"|"+Pe+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",He="(?:['’](?:D|LL|M|RE|S|T|VE))?",qe="(?:"+Le+"|"+je+")?",Ye="["+Re+"]?",Ge=Ye+qe+"(?:"+Be+"(?:"+[De,ze,Me].join("|")+")"+Ye+qe+")*",Ve="(?:"+[Ce,ze,Me].join("|")+")"+Ge,Xe="(?:"+[De+Le+"?",Le,ze,Me,Ae].join("|")+")",Ze=RegExp("['’]","g"),Ke=RegExp(Le,"g"),Je=RegExp(je+"(?="+je+")|"+Xe+Ge,"g"),Qe=RegExp([$e+"?"+ke+"+"+We+"(?="+[Ie,$e,"$"].join("|")+")",Fe+"+"+He+"(?="+[Ie,$e+Ue,"$"].join("|")+")",$e+"?"+Ue+"+"+We,$e+"+"+He,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,Ve].join("|"),"g"),et=RegExp("["+Be+xe+we+Re+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,it={};it[k]=it[P]=it[j]=it[D]=it[z]=it[M]=it[$]=it[B]=it[U]=!0,it[g]=it[m]=it[N]=it[v]=it[C]=it[y]=it[b]=it[_]=it[w]=it[E]=it[T]=it[R]=it[O]=it[A]=it[L]=!1;var ot={};ot[g]=ot[m]=ot[N]=ot[C]=ot[v]=ot[y]=ot[k]=ot[P]=ot[j]=ot[D]=ot[z]=ot[w]=ot[E]=ot[T]=ot[R]=ot[O]=ot[A]=ot[I]=ot[M]=ot[$]=ot[B]=ot[U]=!0,ot[b]=ot[_]=ot[L]=!1;var st={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},at=parseFloat,ut=parseInt,ct="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,lt="object"==typeof self&&self&&self.Object===Object&&self,ft=ct||lt||Function("return this")(),pt=t&&!t.nodeType&&t,dt=pt&&e&&!e.nodeType&&e,ht=dt&&dt.exports===pt,gt=ht&&ct.process,mt=function(){try{return dt&&dt.require&&dt.require("util").types||gt&&gt.binding&&gt.binding("util")}catch(e){}}(),vt=mt&&mt.isArrayBuffer,yt=mt&&mt.isDate,bt=mt&&mt.isMap,_t=mt&&mt.isRegExp,xt=mt&&mt.isSet,wt=mt&&mt.isTypedArray;function Et(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Tt(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r}function St(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Rt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ot(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function At(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}function It(e,t){return!(null==e||!e.length)&&$t(e,t,0)>-1}function Lt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Nt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Ct(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function kt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Pt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function jt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Dt=Wt("length");function zt(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function Mt(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function $t(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Mt(e,Ut,n)}function Bt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function Ut(e){return e!=e}function Ft(e,t){var n=null==e?0:e.length;return n?Yt(e,t)/n:p}function Wt(e){return function(t){return null==t?i:t[e]}}function Ht(e){return function(t){return null==e?i:e[t]}}function qt(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function Yt(e,t){for(var n,r=-1,o=e.length;++r<o;){var s=t(e[r]);s!==i&&(n=n===i?s:n+s)}return n}function Gt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Vt(e){return e?e.slice(0,pn(e)+1).replace(re,""):e}function Xt(e){return function(t){return e(t)}}function Zt(e,t){return Nt(t,function(t){return e[t]})}function Kt(e,t){return e.has(t)}function Jt(e,t){for(var n=-1,r=e.length;++n<r&&$t(t,e[n],0)>-1;);return n}function Qt(e,t){for(var n=e.length;n--&&$t(t,e[n],0)>-1;);return n}var en=Ht({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tn=Ht({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function nn(e){return"\\"+st[e]}function rn(e){return et.test(e)}function on(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function sn(e,t){return function(n){return e(t(n))}}function an(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n];s!==t&&s!==a||(e[n]=a,o[i++]=n)}return o}function un(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function cn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function ln(e){return rn(e)?function(e){for(var t=Je.lastIndex=0;Je.test(e);)++t;return t}(e):Dt(e)}function fn(e){return rn(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.split("")}(e)}function pn(e){for(var t=e.length;t--&&ie.test(e.charAt(t)););return t}var dn=Ht({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),hn=function e(t){var n,r=(t=null==t?ft:hn.defaults(ft.Object(),t,hn.pick(ft,nt))).Array,ie=t.Date,xe=t.Error,we=t.Function,Ee=t.Math,Te=t.Object,Se=t.RegExp,Re=t.String,Oe=t.TypeError,Ae=r.prototype,Ie=we.prototype,Le=Te.prototype,Ne=t["__core-js_shared__"],Ce=Ie.toString,ke=Le.hasOwnProperty,Pe=0,je=(n=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",De=Le.toString,ze=Ce.call(Te),Me=ft._,$e=Se("^"+Ce.call(ke).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Be=ht?t.Buffer:i,Ue=t.Symbol,Fe=t.Uint8Array,We=Be?Be.allocUnsafe:i,He=sn(Te.getPrototypeOf,Te),qe=Te.create,Ye=Le.propertyIsEnumerable,Ge=Ae.splice,Ve=Ue?Ue.isConcatSpreadable:i,Xe=Ue?Ue.iterator:i,Je=Ue?Ue.toStringTag:i,et=function(){try{var e=uo(Te,"defineProperty");return e({},"",{}),e}catch(e){}}(),st=t.clearTimeout!==ft.clearTimeout&&t.clearTimeout,ct=ie&&ie.now!==ft.Date.now&&ie.now,lt=t.setTimeout!==ft.setTimeout&&t.setTimeout,pt=Ee.ceil,dt=Ee.floor,gt=Te.getOwnPropertySymbols,mt=Be?Be.isBuffer:i,Dt=t.isFinite,Ht=Ae.join,gn=sn(Te.keys,Te),mn=Ee.max,vn=Ee.min,yn=ie.now,bn=t.parseInt,_n=Ee.random,xn=Ae.reverse,wn=uo(t,"DataView"),En=uo(t,"Map"),Tn=uo(t,"Promise"),Sn=uo(t,"Set"),Rn=uo(t,"WeakMap"),On=uo(Te,"create"),An=Rn&&new Rn,In={},Ln=zo(wn),Nn=zo(En),Cn=zo(Tn),kn=zo(Sn),Pn=zo(Rn),jn=Ue?Ue.prototype:i,Dn=jn?jn.valueOf:i,zn=jn?jn.toString:i;function Mn(e){if(ea(e)&&!Ws(e)&&!(e instanceof Fn)){if(e instanceof Un)return e;if(ke.call(e,"__wrapped__"))return Mo(e)}return new Un(e)}var $n=function(){function e(){}return function(t){if(!Qs(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Bn(){}function Un(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Fn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=d,this.__views__=[]}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new qn;++t<n;)this.add(e[t])}function Gn(e){var t=this.__data__=new Hn(e);this.size=t.size}function Vn(e,t){var n=Ws(e),r=!n&&Fs(e),i=!n&&!r&&Gs(e),o=!n&&!r&&!i&&ua(e),s=n||r||i||o,a=s?Gt(e.length,Re):[],u=a.length;for(var c in e)!t&&!ke.call(e,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||mo(c,u))||a.push(c);return a}function Xn(e){var t=e.length;return t?e[qr(0,t-1)]:i}function Zn(e,t){return Co(Ri(e),or(t,0,e.length))}function Kn(e){return Co(Ri(e))}function Jn(e,t,n){(n!==i&&!$s(e[t],n)||n===i&&!(t in e))&&rr(e,t,n)}function Qn(e,t,n){var r=e[t];ke.call(e,t)&&$s(r,n)&&(n!==i||t in e)||rr(e,t,n)}function er(e,t){for(var n=e.length;n--;)if($s(e[n][0],t))return n;return-1}function tr(e,t,n,r){return lr(e,function(e,i,o){t(r,e,n(e),o)}),r}function nr(e,t){return e&&Oi(t,La(t),e)}function rr(e,t,n){"__proto__"==t&&et?et(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ir(e,t){for(var n=-1,o=t.length,s=r(o),a=null==e;++n<o;)s[n]=a?i:Sa(e,t[n]);return s}function or(e,t,n){return e==e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function sr(e,t,n,r,o,s){var a,u=1&t,c=2&t,l=4&t;if(n&&(a=o?n(e,r,o,s):n(e)),a!==i)return a;if(!Qs(e))return e;var f=Ws(e);if(f){if(a=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ke.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!u)return Ri(e,a)}else{var p=fo(e),d=p==_||p==x;if(Gs(e))return _i(e,u);if(p==T||p==g||d&&!o){if(a=c||d?{}:ho(e),!u)return c?function(e,t){return Oi(e,lo(e),t)}(e,function(e,t){return e&&Oi(t,Na(t),e)}(a,e)):function(e,t){return Oi(e,co(e),t)}(e,nr(a,e))}else{if(!ot[p])return o?e:{};a=function(e,t,n){var r,i=e.constructor;switch(t){case N:return xi(e);case v:case y:return new i(+e);case C:return function(e,t){var n=t?xi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case k:case P:case j:case D:case z:case M:case $:case B:case U:return wi(e,n);case w:return new i;case E:case A:return new i(e);case R:return function(e){var t=new e.constructor(e.source,pe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case O:return new i;case I:return r=e,Dn?Te(Dn.call(r)):{}}}(e,p,u)}}s||(s=new Gn);var h=s.get(e);if(h)return h;s.set(e,a),oa(e)?e.forEach(function(r){a.add(sr(r,t,n,r,e,s))}):ta(e)&&e.forEach(function(r,i){a.set(i,sr(r,t,n,i,e,s))});var m=f?i:(l?c?to:eo:c?Na:La)(e);return St(m||e,function(r,i){m&&(r=e[i=r]),Qn(a,i,sr(r,t,n,i,e,s))}),a}function ar(e,t,n){var r=n.length;if(null==e)return!r;for(e=Te(e);r--;){var o=n[r],s=t[o],a=e[o];if(a===i&&!(o in e)||!s(a))return!1}return!0}function ur(e,t,n){if("function"!=typeof e)throw new Oe(o);return Ao(function(){e.apply(i,n)},t)}function cr(e,t,n,r){var i=-1,o=It,s=!0,a=e.length,u=[],c=t.length;if(!a)return u;n&&(t=Nt(t,Xt(n))),r?(o=Lt,s=!1):t.length>=200&&(o=Kt,s=!1,t=new Yn(t));e:for(;++i<a;){var l=e[i],f=null==n?l:n(l);if(l=r||0!==l?l:0,s&&f==f){for(var p=c;p--;)if(t[p]===f)continue e;u.push(l)}else o(t,f,r)||u.push(l)}return u}Mn.templateSettings={escape:X,evaluate:Z,interpolate:K,variable:"",imports:{_:Mn}},Mn.prototype=Bn.prototype,Mn.prototype.constructor=Mn,Un.prototype=$n(Bn.prototype),Un.prototype.constructor=Un,Fn.prototype=$n(Bn.prototype),Fn.prototype.constructor=Fn,Wn.prototype.clear=function(){this.__data__=On?On(null):{},this.size=0},Wn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Wn.prototype.get=function(e){var t=this.__data__;if(On){var n=t[e];return n===s?i:n}return ke.call(t,e)?t[e]:i},Wn.prototype.has=function(e){var t=this.__data__;return On?t[e]!==i:ke.call(t,e)},Wn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=On&&t===i?s:t,this},Hn.prototype.clear=function(){this.__data__=[],this.size=0},Hn.prototype.delete=function(e){var t=this.__data__,n=er(t,e);return!(n<0||(n==t.length-1?t.pop():Ge.call(t,n,1),--this.size,0))},Hn.prototype.get=function(e){var t=this.__data__,n=er(t,e);return n<0?i:t[n][1]},Hn.prototype.has=function(e){return er(this.__data__,e)>-1},Hn.prototype.set=function(e,t){var n=this.__data__,r=er(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(En||Hn),string:new Wn}},qn.prototype.delete=function(e){var t=so(this,e).delete(e);return this.size-=t?1:0,t},qn.prototype.get=function(e){return so(this,e).get(e)},qn.prototype.has=function(e){return so(this,e).has(e)},qn.prototype.set=function(e,t){var n=so(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Yn.prototype.add=Yn.prototype.push=function(e){return this.__data__.set(e,s),this},Yn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.clear=function(){this.__data__=new Hn,this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Gn.prototype.get=function(e){return this.__data__.get(e)},Gn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Hn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new qn(r)}return n.set(e,t),this.size=n.size,this};var lr=Li(yr),fr=Li(br,!0);function pr(e,t){var n=!0;return lr(e,function(e,r,i){return n=!!t(e,r,i)}),n}function dr(e,t,n){for(var r=-1,o=e.length;++r<o;){var s=e[r],a=t(s);if(null!=a&&(u===i?a==a&&!aa(a):n(a,u)))var u=a,c=s}return c}function hr(e,t){var n=[];return lr(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function gr(e,t,n,r,i){var o=-1,s=e.length;for(n||(n=go),i||(i=[]);++o<s;){var a=e[o];t>0&&n(a)?t>1?gr(a,t-1,n,r,i):Ct(i,a):r||(i[i.length]=a)}return i}var mr=Ni(),vr=Ni(!0);function yr(e,t){return e&&mr(e,t,La)}function br(e,t){return e&&vr(e,t,La)}function _r(e,t){return At(t,function(t){return Zs(e[t])})}function xr(e,t){for(var n=0,r=(t=mi(t,e)).length;null!=e&&n<r;)e=e[Do(t[n++])];return n&&n==r?e:i}function wr(e,t,n){var r=t(e);return Ws(e)?r:Ct(r,n(e))}function Er(e){return null==e?e===i?"[object Undefined]":"[object Null]":Je&&Je in Te(e)?function(e){var t=ke.call(e,Je),n=e[Je];try{e[Je]=i;var r=!0}catch(e){}var o=De.call(e);return r&&(t?e[Je]=n:delete e[Je]),o}(e):function(e){return De.call(e)}(e)}function Tr(e,t){return e>t}function Sr(e,t){return null!=e&&ke.call(e,t)}function Rr(e,t){return null!=e&&t in Te(e)}function Or(e,t,n){for(var o=n?Lt:It,s=e[0].length,a=e.length,u=a,c=r(a),l=1/0,f=[];u--;){var p=e[u];u&&t&&(p=Nt(p,Xt(t))),l=vn(p.length,l),c[u]=!n&&(t||s>=120&&p.length>=120)?new Yn(u&&p):i}p=e[0];var d=-1,h=c[0];e:for(;++d<s&&f.length<l;){var g=p[d],m=t?t(g):g;if(g=n||0!==g?g:0,!(h?Kt(h,m):o(f,m,n))){for(u=a;--u;){var v=c[u];if(!(v?Kt(v,m):o(e[u],m,n)))continue e}h&&h.push(m),f.push(g)}}return f}function Ar(e,t,n){var r=null==(e=So(e,t=mi(t,e)))?e:e[Do(Xo(t))];return null==r?i:Et(r,e,n)}function Ir(e){return ea(e)&&Er(e)==g}function Lr(e,t,n,r,o){return e===t||(null==e||null==t||!ea(e)&&!ea(t)?e!=e&&t!=t:function(e,t,n,r,o,s){var a=Ws(e),u=Ws(t),c=a?m:fo(e),l=u?m:fo(t),f=(c=c==g?T:c)==T,p=(l=l==g?T:l)==T,d=c==l;if(d&&Gs(e)){if(!Gs(t))return!1;a=!0,f=!1}if(d&&!f)return s||(s=new Gn),a||ua(e)?Ji(e,t,n,r,o,s):function(e,t,n,r,i,o,s){switch(n){case C:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case N:return!(e.byteLength!=t.byteLength||!o(new Fe(e),new Fe(t)));case v:case y:case E:return $s(+e,+t);case b:return e.name==t.name&&e.message==t.message;case R:case A:return e==t+"";case w:var a=on;case O:var u=1&r;if(a||(a=un),e.size!=t.size&&!u)return!1;var c=s.get(e);if(c)return c==t;r|=2,s.set(e,t);var l=Ji(a(e),a(t),r,i,o,s);return s.delete(e),l;case I:if(Dn)return Dn.call(e)==Dn.call(t)}return!1}(e,t,c,n,r,o,s);if(!(1&n)){var h=f&&ke.call(e,"__wrapped__"),_=p&&ke.call(t,"__wrapped__");if(h||_){var x=h?e.value():e,S=_?t.value():t;return s||(s=new Gn),o(x,S,n,r,s)}}return!!d&&(s||(s=new Gn),function(e,t,n,r,o,s){var a=1&n,u=eo(e),c=u.length;if(c!=eo(t).length&&!a)return!1;for(var l=c;l--;){var f=u[l];if(!(a?f in t:ke.call(t,f)))return!1}var p=s.get(e),d=s.get(t);if(p&&d)return p==t&&d==e;var h=!0;s.set(e,t),s.set(t,e);for(var g=a;++l<c;){var m=e[f=u[l]],v=t[f];if(r)var y=a?r(v,m,f,t,e,s):r(m,v,f,e,t,s);if(!(y===i?m===v||o(m,v,n,r,s):y)){h=!1;break}g||(g="constructor"==f)}if(h&&!g){var b=e.constructor,_=t.constructor;b==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(h=!1)}return s.delete(e),s.delete(t),h}(e,t,n,r,o,s))}(e,t,n,r,Lr,o))}function Nr(e,t,n,r){var o=n.length,s=o,a=!r;if(null==e)return!s;for(e=Te(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<s;){var c=(u=n[o])[0],l=e[c],f=u[1];if(a&&u[2]){if(l===i&&!(c in e))return!1}else{var p=new Gn;if(r)var d=r(l,f,c,e,t,p);if(!(d===i?Lr(f,l,3,r,p):d))return!1}}return!0}function Cr(e){return!(!Qs(e)||(t=e,je&&je in t))&&(Zs(e)?$e:ge).test(zo(e));var t}function kr(e){return"function"==typeof e?e:null==e?nu:"object"==typeof e?Ws(e)?Mr(e[0],e[1]):zr(e):fu(e)}function Pr(e){if(!xo(e))return gn(e);var t=[];for(var n in Te(e))ke.call(e,n)&&"constructor"!=n&&t.push(n);return t}function jr(e,t){return e<t}function Dr(e,t){var n=-1,i=qs(e)?r(e.length):[];return lr(e,function(e,r,o){i[++n]=t(e,r,o)}),i}function zr(e){var t=ao(e);return 1==t.length&&t[0][2]?Eo(t[0][0],t[0][1]):function(n){return n===e||Nr(n,e,t)}}function Mr(e,t){return yo(e)&&wo(t)?Eo(Do(e),t):function(n){var r=Sa(n,e);return r===i&&r===t?Ra(n,e):Lr(t,r,3)}}function $r(e,t,n,r,o){e!==t&&mr(t,function(s,a){if(o||(o=new Gn),Qs(s))!function(e,t,n,r,o,s,a){var u=Ro(e,n),c=Ro(t,n),l=a.get(c);if(l)Jn(e,n,l);else{var f=s?s(u,c,n+"",e,t,a):i,p=f===i;if(p){var d=Ws(c),h=!d&&Gs(c),g=!d&&!h&&ua(c);f=c,d||h||g?Ws(u)?f=u:Ys(u)?f=Ri(u):h?(p=!1,f=_i(c,!0)):g?(p=!1,f=wi(c,!0)):f=[]:ra(c)||Fs(c)?(f=u,Fs(u)?f=ma(u):Qs(u)&&!Zs(u)||(f=ho(c))):p=!1}p&&(a.set(c,f),o(f,c,r,s,a),a.delete(c)),Jn(e,n,f)}}(e,t,a,n,$r,r,o);else{var u=r?r(Ro(e,a),s,a+"",e,t,o):i;u===i&&(u=s),Jn(e,a,u)}},Na)}function Br(e,t){var n=e.length;if(n)return mo(t+=t<0?n:0,n)?e[t]:i}function Ur(e,t,n){t=t.length?Nt(t,function(e){return Ws(e)?function(t){return xr(t,1===e.length?e[0]:e)}:e}):[nu];var r=-1;t=Nt(t,Xt(oo()));var i=Dr(e,function(e,n,i){var o=Nt(t,function(t){return t(e)});return{criteria:o,index:++r,value:e}});return function(e){var t=e.length;for(e.sort(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,s=i.length,a=n.length;++r<s;){var u=Ei(i[r],o[r]);if(u)return r>=a?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)});t--;)e[t]=e[t].value;return e}(i)}function Fr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=xr(e,s);n(a,s)&&Zr(o,mi(s,e),a)}return o}function Wr(e,t,n,r){var i=r?Bt:$t,o=-1,s=t.length,a=e;for(e===t&&(t=Ri(t)),n&&(a=Nt(e,Xt(n)));++o<s;)for(var u=0,c=t[o],l=n?n(c):c;(u=i(a,l,u,r))>-1;)a!==e&&Ge.call(a,u,1),Ge.call(e,u,1);return e}function Hr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;mo(i)?Ge.call(e,i,1):ui(e,i)}}return e}function qr(e,t){return e+dt(_n()*(t-e+1))}function Yr(e,t){var n="";if(!e||t<1||t>f)return n;do{t%2&&(n+=e),(t=dt(t/2))&&(e+=e)}while(t);return n}function Gr(e,t){return Io(To(e,t,nu),e+"")}function Vr(e){return Xn($a(e))}function Xr(e,t){var n=$a(e);return Co(n,or(t,0,n.length))}function Zr(e,t,n,r){if(!Qs(e))return e;for(var o=-1,s=(t=mi(t,e)).length,a=s-1,u=e;null!=u&&++o<s;){var c=Do(t[o]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=a){var f=u[c];(l=r?r(f,c,u):i)===i&&(l=Qs(f)?f:mo(t[o+1])?[]:{})}Qn(u,c,l),u=u[c]}return e}var Kr=An?function(e,t){return An.set(e,t),e}:nu,Jr=et?function(e,t){return et(e,"toString",{configurable:!0,enumerable:!1,value:Qa(t),writable:!0})}:nu;function Qr(e){return Co($a(e))}function ei(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=r(o);++i<o;)s[i]=e[i+t];return s}function ti(e,t){var n;return lr(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function ni(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,s=e[o];null!==s&&!aa(s)&&(n?s<=t:s<t)?r=o+1:i=o}return i}return ri(e,t,nu,n)}function ri(e,t,n,r){var o=0,s=null==e?0:e.length;if(0===s)return 0;for(var a=(t=n(t))!=t,u=null===t,c=aa(t),l=t===i;o<s;){var f=dt((o+s)/2),p=n(e[f]),d=p!==i,h=null===p,g=p==p,m=aa(p);if(a)var v=r||g;else v=l?g&&(r||d):u?g&&d&&(r||!h):c?g&&d&&!h&&(r||!m):!h&&!m&&(r?p<=t:p<t);v?o=f+1:s=f}return vn(s,4294967294)}function ii(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!$s(a,u)){var u=a;o[i++]=0===s?0:s}}return o}function oi(e){return"number"==typeof e?e:aa(e)?p:+e}function si(e){if("string"==typeof e)return e;if(Ws(e))return Nt(e,si)+"";if(aa(e))return zn?zn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ai(e,t,n){var r=-1,i=It,o=e.length,s=!0,a=[],u=a;if(n)s=!1,i=Lt;else if(o>=200){var c=t?null:Yi(e);if(c)return un(c);s=!1,i=Kt,u=new Yn}else u=t?[]:a;e:for(;++r<o;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,s&&f==f){for(var p=u.length;p--;)if(u[p]===f)continue e;t&&u.push(f),a.push(l)}else i(u,f,n)||(u!==a&&u.push(f),a.push(l))}return a}function ui(e,t){return null==(e=So(e,t=mi(t,e)))||delete e[Do(Xo(t))]}function ci(e,t,n,r){return Zr(e,t,n(xr(e,t)),r)}function li(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?ei(e,r?0:o,r?o+1:i):ei(e,r?o+1:0,r?i:o)}function fi(e,t){var n=e;return n instanceof Fn&&(n=n.value()),kt(t,function(e,t){return t.func.apply(t.thisArg,Ct([e],t.args))},n)}function pi(e,t,n){var i=e.length;if(i<2)return i?ai(e[0]):[];for(var o=-1,s=r(i);++o<i;)for(var a=e[o],u=-1;++u<i;)u!=o&&(s[o]=cr(s[o]||a,e[u],t,n));return ai(gr(s,1),t,n)}function di(e,t,n){for(var r=-1,o=e.length,s=t.length,a={};++r<o;){var u=r<s?t[r]:i;n(a,e[r],u)}return a}function hi(e){return Ys(e)?e:[]}function gi(e){return"function"==typeof e?e:nu}function mi(e,t){return Ws(e)?e:yo(e,t)?[e]:jo(va(e))}var vi=Gr;function yi(e,t,n){var r=e.length;return n=n===i?r:n,!t&&n>=r?e:ei(e,t,n)}var bi=st||function(e){return ft.clearTimeout(e)};function _i(e,t){if(t)return e.slice();var n=e.length,r=We?We(n):new e.constructor(n);return e.copy(r),r}function xi(e){var t=new e.constructor(e.byteLength);return new Fe(t).set(new Fe(e)),t}function wi(e,t){var n=t?xi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ei(e,t){if(e!==t){var n=e!==i,r=null===e,o=e==e,s=aa(e),a=t!==i,u=null===t,c=t==t,l=aa(t);if(!u&&!l&&!s&&e>t||s&&a&&c&&!u&&!l||r&&a&&c||!n&&c||!o)return 1;if(!r&&!s&&!l&&e<t||l&&n&&o&&!r&&!s||u&&n&&o||!a&&o||!c)return-1}return 0}function Ti(e,t,n,i){for(var o=-1,s=e.length,a=n.length,u=-1,c=t.length,l=mn(s-a,0),f=r(c+l),p=!i;++u<c;)f[u]=t[u];for(;++o<a;)(p||o<s)&&(f[n[o]]=e[o]);for(;l--;)f[u++]=e[o++];return f}function Si(e,t,n,i){for(var o=-1,s=e.length,a=-1,u=n.length,c=-1,l=t.length,f=mn(s-u,0),p=r(f+l),d=!i;++o<f;)p[o]=e[o];for(var h=o;++c<l;)p[h+c]=t[c];for(;++a<u;)(d||o<s)&&(p[h+n[a]]=e[o++]);return p}function Ri(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function Oi(e,t,n,r){var o=!n;n||(n={});for(var s=-1,a=t.length;++s<a;){var u=t[s],c=r?r(n[u],e[u],u,n,e):i;c===i&&(c=e[u]),o?rr(n,u,c):Qn(n,u,c)}return n}function Ai(e,t){return function(n,r){var i=Ws(n)?Tt:tr,o=t?t():{};return i(n,e,oo(r,2),o)}}function Ii(e){return Gr(function(t,n){var r=-1,o=n.length,s=o>1?n[o-1]:i,a=o>2?n[2]:i;for(s=e.length>3&&"function"==typeof s?(o--,s):i,a&&vo(n[0],n[1],a)&&(s=o<3?i:s,o=1),t=Te(t);++r<o;){var u=n[r];u&&e(t,u,r,s)}return t})}function Li(e,t){return function(n,r){if(null==n)return n;if(!qs(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=Te(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function Ni(e){return function(t,n,r){for(var i=-1,o=Te(t),s=r(t),a=s.length;a--;){var u=s[e?a:++i];if(!1===n(o[u],u,o))break}return t}}function Ci(e){return function(t){var n=rn(t=va(t))?fn(t):i,r=n?n[0]:t.charAt(0),o=n?yi(n,1).join(""):t.slice(1);return r[e]()+o}}function ki(e){return function(t){return kt(Za(Fa(t).replace(Ze,"")),e,"")}}function Pi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=$n(e.prototype),r=e.apply(n,t);return Qs(r)?r:n}}function ji(e){return function(t,n,r){var o=Te(t);if(!qs(t)){var s=oo(n,3);t=La(t),n=function(e){return s(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[s?t[a]:a]:i}}function Di(e){return Qi(function(t){var n=t.length,r=n,s=Un.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new Oe(o);if(s&&!u&&"wrapper"==ro(a))var u=new Un([],!0)}for(r=u?r:n;++r<n;){var c=ro(a=t[r]),l="wrapper"==c?no(a):i;u=l&&bo(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?u[ro(l[0])].apply(u,l[3]):1==a.length&&bo(a)?u[c]():u.thru(a)}return function(){var e=arguments,r=e[0];if(u&&1==e.length&&Ws(r))return u.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}})}function zi(e,t,n,o,s,a,u,l,f,p){var d=t&c,h=1&t,g=2&t,m=24&t,v=512&t,y=g?i:Pi(e);return function c(){for(var b=arguments.length,_=r(b),x=b;x--;)_[x]=arguments[x];if(m)var w=io(c),E=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(_,w);if(o&&(_=Ti(_,o,s,m)),a&&(_=Si(_,a,u,m)),b-=E,m&&b<p){var T=an(_,w);return Hi(e,t,zi,c.placeholder,n,_,T,l,f,p-b)}var S=h?n:this,R=g?S[e]:e;return b=_.length,l?_=function(e,t){for(var n=e.length,r=vn(t.length,n),o=Ri(e);r--;){var s=t[r];e[r]=mo(s,n)?o[s]:i}return e}(_,l):v&&b>1&&_.reverse(),d&&f<b&&(_.length=f),this&&this!==ft&&this instanceof c&&(R=y||Pi(R)),R.apply(S,_)}}function Mi(e,t){return function(n,r){return function(e,t,n,r){return yr(e,function(e,i,o){t(r,n(e),i,o)}),r}(n,e,t(r),{})}}function $i(e,t){return function(n,r){var o;if(n===i&&r===i)return t;if(n!==i&&(o=n),r!==i){if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=si(n),r=si(r)):(n=oi(n),r=oi(r)),o=e(n,r)}return o}}function Bi(e){return Qi(function(t){return t=Nt(t,Xt(oo())),Gr(function(n){var r=this;return e(t,function(e){return Et(e,r,n)})})})}function Ui(e,t){var n=(t=t===i?" ":si(t)).length;if(n<2)return n?Yr(t,e):t;var r=Yr(t,pt(e/ln(t)));return rn(t)?yi(fn(r),0,e).join(""):r.slice(0,e)}function Fi(e){return function(t,n,o){return o&&"number"!=typeof o&&vo(t,n,o)&&(n=o=i),t=pa(t),n===i?(n=t,t=0):n=pa(n),function(e,t,n,i){for(var o=-1,s=mn(pt((t-e)/(n||1)),0),a=r(s);s--;)a[i?s:++o]=e,e+=n;return a}(t,n,o=o===i?t<n?1:-1:pa(o),e)}}function Wi(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ga(t),n=ga(n)),e(t,n)}}function Hi(e,t,n,r,o,s,a,c,l,f){var p=8&t;t|=p?u:64,4&(t&=~(p?64:u))||(t&=-4);var d=[e,t,o,p?s:i,p?a:i,p?i:s,p?i:a,c,l,f],h=n.apply(i,d);return bo(e)&&Oo(h,d),h.placeholder=r,Lo(h,e,t)}function qi(e){var t=Ee[e];return function(e,n){if(e=ga(e),(n=null==n?0:vn(da(n),292))&&Dt(e)){var r=(va(e)+"e").split("e");return+((r=(va(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Yi=Sn&&1/un(new Sn([,-0]))[1]==l?function(e){return new Sn(e)}:au;function Gi(e){return function(t){var n=fo(t);return n==w?on(t):n==O?cn(t):function(e,t){return Nt(t,function(t){return[t,e[t]]})}(t,e(t))}}function Vi(e,t,n,s,l,f,p,d){var h=2&t;if(!h&&"function"!=typeof e)throw new Oe(o);var g=s?s.length:0;if(g||(t&=-97,s=l=i),p=p===i?p:mn(da(p),0),d=d===i?d:da(d),g-=l?l.length:0,64&t){var m=s,v=l;s=l=i}var y=h?i:no(e),b=[e,t,n,s,l,m,v,f,p,d];if(y&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,s=r==c&&8==n||r==c&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!s)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var u=t[3];if(u){var l=e[3];e[3]=l?Ti(l,u,t[4]):u,e[4]=l?an(e[3],a):t[4]}(u=t[5])&&(l=e[5],e[5]=l?Si(l,u,t[6]):u,e[6]=l?an(e[5],a):t[6]),(u=t[7])&&(e[7]=u),r&c&&(e[8]=null==e[8]?t[8]:vn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(b,y),e=b[0],t=b[1],n=b[2],s=b[3],l=b[4],!(d=b[9]=b[9]===i?h?0:e.length:mn(b[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)_=8==t||16==t?function(e,t,n){var o=Pi(e);return function s(){for(var a=arguments.length,u=r(a),c=a,l=io(s);c--;)u[c]=arguments[c];var f=a<3&&u[0]!==l&&u[a-1]!==l?[]:an(u,l);return(a-=f.length)<n?Hi(e,t,zi,s.placeholder,i,u,f,i,i,n-a):Et(this&&this!==ft&&this instanceof s?o:e,this,u)}}(e,t,d):t!=u&&33!=t||l.length?zi.apply(i,b):function(e,t,n,i){var o=1&t,s=Pi(e);return function t(){for(var a=-1,u=arguments.length,c=-1,l=i.length,f=r(l+u),p=this&&this!==ft&&this instanceof t?s:e;++c<l;)f[c]=i[c];for(;u--;)f[c++]=arguments[++a];return Et(p,o?n:this,f)}}(e,t,n,s);else var _=function(e,t,n){var r=1&t,i=Pi(e);return function t(){return(this&&this!==ft&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return Lo((y?Kr:Oo)(_,b),e,t)}function Xi(e,t,n,r){return e===i||$s(e,Le[n])&&!ke.call(r,n)?t:e}function Zi(e,t,n,r,o,s){return Qs(e)&&Qs(t)&&(s.set(t,e),$r(e,t,i,Zi,s),s.delete(t)),e}function Ki(e){return ra(e)?i:e}function Ji(e,t,n,r,o,s){var a=1&n,u=e.length,c=t.length;if(u!=c&&!(a&&c>u))return!1;var l=s.get(e),f=s.get(t);if(l&&f)return l==t&&f==e;var p=-1,d=!0,h=2&n?new Yn:i;for(s.set(e,t),s.set(t,e);++p<u;){var g=e[p],m=t[p];if(r)var v=a?r(m,g,p,t,e,s):r(g,m,p,e,t,s);if(v!==i){if(v)continue;d=!1;break}if(h){if(!jt(t,function(e,t){if(!Kt(h,t)&&(g===e||o(g,e,n,r,s)))return h.push(t)})){d=!1;break}}else if(g!==m&&!o(g,m,n,r,s)){d=!1;break}}return s.delete(e),s.delete(t),d}function Qi(e){return Io(To(e,i,Ho),e+"")}function eo(e){return wr(e,La,co)}function to(e){return wr(e,Na,lo)}var no=An?function(e){return An.get(e)}:au;function ro(e){for(var t=e.name+"",n=In[t],r=ke.call(In,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function io(e){return(ke.call(Mn,"placeholder")?Mn:e).placeholder}function oo(){var e=Mn.iteratee||ru;return e=e===ru?kr:e,arguments.length?e(arguments[0],arguments[1]):e}function so(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ao(e){for(var t=La(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,wo(i)]}return t}function uo(e,t){var n=function(e,t){return null==e?i:e[t]}(e,t);return Cr(n)?n:i}var co=gt?function(e){return null==e?[]:(e=Te(e),At(gt(e),function(t){return Ye.call(e,t)}))}:hu,lo=gt?function(e){for(var t=[];e;)Ct(t,co(e)),e=He(e);return t}:hu,fo=Er;function po(e,t,n){for(var r=-1,i=(t=mi(t,e)).length,o=!1;++r<i;){var s=Do(t[r]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Js(i)&&mo(s,i)&&(Ws(e)||Fs(e))}function ho(e){return"function"!=typeof e.constructor||xo(e)?{}:$n(He(e))}function go(e){return Ws(e)||Fs(e)||!!(Ve&&e&&e[Ve])}function mo(e,t){var n=typeof e;return!!(t=null==t?f:t)&&("number"==n||"symbol"!=n&&ve.test(e))&&e>-1&&e%1==0&&e<t}function vo(e,t,n){if(!Qs(n))return!1;var r=typeof t;return!!("number"==r?qs(n)&&mo(t,n.length):"string"==r&&t in n)&&$s(n[t],e)}function yo(e,t){if(Ws(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!aa(e))||Q.test(e)||!J.test(e)||null!=t&&e in Te(t)}function bo(e){var t=ro(e),n=Mn[t];if("function"!=typeof n||!(t in Fn.prototype))return!1;if(e===n)return!0;var r=no(n);return!!r&&e===r[0]}(wn&&fo(new wn(new ArrayBuffer(1)))!=C||En&&fo(new En)!=w||Tn&&fo(Tn.resolve())!=S||Sn&&fo(new Sn)!=O||Rn&&fo(new Rn)!=L)&&(fo=function(e){var t=Er(e),n=t==T?e.constructor:i,r=n?zo(n):"";if(r)switch(r){case Ln:return C;case Nn:return w;case Cn:return S;case kn:return O;case Pn:return L}return t});var _o=Ne?Zs:gu;function xo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Le)}function wo(e){return e==e&&!Qs(e)}function Eo(e,t){return function(n){return null!=n&&n[e]===t&&(t!==i||e in Te(n))}}function To(e,t,n){return t=mn(t===i?e.length-1:t,0),function(){for(var i=arguments,o=-1,s=mn(i.length-t,0),a=r(s);++o<s;)a[o]=i[t+o];o=-1;for(var u=r(t+1);++o<t;)u[o]=i[o];return u[t]=n(a),Et(e,this,u)}}function So(e,t){return t.length<2?e:xr(e,ei(t,0,-1))}function Ro(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Oo=No(Kr),Ao=lt||function(e,t){return ft.setTimeout(e,t)},Io=No(Jr);function Lo(e,t,n){var r=t+"";return Io(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(oe,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return St(h,function(n){var r="_."+n[0];t&n[1]&&!It(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(se);return t?t[1].split(ae):[]}(r),n)))}function No(e){var t=0,n=0;return function(){var r=yn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Co(e,t){var n=-1,r=e.length,o=r-1;for(t=t===i?r:t;++n<t;){var s=qr(n,o),a=e[s];e[s]=e[n],e[n]=a}return e.length=t,e}var ko,Po,jo=(ko=ks(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,function(e,n,r,i){t.push(r?i.replace(le,"$1"):n||e)}),t},function(e){return 500===Po.size&&Po.clear(),e}),Po=ko.cache,ko);function Do(e){if("string"==typeof e||aa(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function zo(e){if(null!=e){try{return Ce.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Mo(e){if(e instanceof Fn)return e.clone();var t=new Un(e.__wrapped__,e.__chain__);return t.__actions__=Ri(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var $o=Gr(function(e,t){return Ys(e)?cr(e,gr(t,1,Ys,!0)):[]}),Bo=Gr(function(e,t){var n=Xo(t);return Ys(n)&&(n=i),Ys(e)?cr(e,gr(t,1,Ys,!0),oo(n,2)):[]}),Uo=Gr(function(e,t){var n=Xo(t);return Ys(n)&&(n=i),Ys(e)?cr(e,gr(t,1,Ys,!0),i,n):[]});function Fo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:da(n);return i<0&&(i=mn(r+i,0)),Mt(e,oo(t,3),i)}function Wo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==i&&(o=da(n),o=n<0?mn(r+o,0):vn(o,r-1)),Mt(e,oo(t,3),o,!0)}function Ho(e){return null!=e&&e.length?gr(e,1):[]}function qo(e){return e&&e.length?e[0]:i}var Yo=Gr(function(e){var t=Nt(e,hi);return t.length&&t[0]===e[0]?Or(t):[]}),Go=Gr(function(e){var t=Xo(e),n=Nt(e,hi);return t===Xo(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Or(n,oo(t,2)):[]}),Vo=Gr(function(e){var t=Xo(e),n=Nt(e,hi);return(t="function"==typeof t?t:i)&&n.pop(),n.length&&n[0]===e[0]?Or(n,i,t):[]});function Xo(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Zo=Gr(Ko);function Ko(e,t){return e&&e.length&&t&&t.length?Wr(e,t):e}var Jo=Qi(function(e,t){var n=null==e?0:e.length,r=ir(e,t);return Hr(e,Nt(t,function(e){return mo(e,n)?+e:e}).sort(Ei)),r});function Qo(e){return null==e?e:xn.call(e)}var es=Gr(function(e){return ai(gr(e,1,Ys,!0))}),ts=Gr(function(e){var t=Xo(e);return Ys(t)&&(t=i),ai(gr(e,1,Ys,!0),oo(t,2))}),ns=Gr(function(e){var t=Xo(e);return t="function"==typeof t?t:i,ai(gr(e,1,Ys,!0),i,t)});function rs(e){if(!e||!e.length)return[];var t=0;return e=At(e,function(e){if(Ys(e))return t=mn(e.length,t),!0}),Gt(t,function(t){return Nt(e,Wt(t))})}function is(e,t){if(!e||!e.length)return[];var n=rs(e);return null==t?n:Nt(n,function(e){return Et(t,i,e)})}var os=Gr(function(e,t){return Ys(e)?cr(e,t):[]}),ss=Gr(function(e){return pi(At(e,Ys))}),as=Gr(function(e){var t=Xo(e);return Ys(t)&&(t=i),pi(At(e,Ys),oo(t,2))}),us=Gr(function(e){var t=Xo(e);return t="function"==typeof t?t:i,pi(At(e,Ys),i,t)}),cs=Gr(rs),ls=Gr(function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,is(e,n)});function fs(e){var t=Mn(e);return t.__chain__=!0,t}function ps(e,t){return t(e)}var ds=Qi(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return ir(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Fn&&mo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ps,args:[o],thisArg:i}),new Un(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(i),e})):this.thru(o)}),hs=Ai(function(e,t,n){ke.call(e,n)?++e[n]:rr(e,n,1)}),gs=ji(Fo),ms=ji(Wo);function vs(e,t){return(Ws(e)?St:lr)(e,oo(t,3))}function ys(e,t){return(Ws(e)?Rt:fr)(e,oo(t,3))}var bs=Ai(function(e,t,n){ke.call(e,n)?e[n].push(t):rr(e,n,[t])}),_s=Gr(function(e,t,n){var i=-1,o="function"==typeof t,s=qs(e)?r(e.length):[];return lr(e,function(e){s[++i]=o?Et(t,e,n):Ar(e,t,n)}),s}),xs=Ai(function(e,t,n){rr(e,n,t)});function ws(e,t){return(Ws(e)?Nt:Dr)(e,oo(t,3))}var Es=Ai(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Ts=Gr(function(e,t){if(null==e)return[];var n=t.length;return n>1&&vo(e,t[0],t[1])?t=[]:n>2&&vo(t[0],t[1],t[2])&&(t=[t[0]]),Ur(e,gr(t,1),[])}),Ss=ct||function(){return ft.Date.now()};function Rs(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Vi(e,c,i,i,i,i,t)}function Os(e,t){var n;if("function"!=typeof t)throw new Oe(o);return e=da(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var As=Gr(function(e,t,n){var r=1;if(n.length){var i=an(n,io(As));r|=u}return Vi(e,r,t,n,i)}),Is=Gr(function(e,t,n){var r=3;if(n.length){var i=an(n,io(Is));r|=u}return Vi(t,r,e,n,i)});function Ls(e,t,n){var r,s,a,u,c,l,f=0,p=!1,d=!1,h=!0;if("function"!=typeof e)throw new Oe(o);function g(t){var n=r,o=s;return r=s=i,f=t,u=e.apply(o,n)}function m(e){var n=e-l;return l===i||n>=t||n<0||d&&e-f>=a}function v(){var e=Ss();if(m(e))return y(e);c=Ao(v,function(e){var n=t-(e-l);return d?vn(n,a-(e-f)):n}(e))}function y(e){return c=i,h&&r?g(e):(r=s=i,u)}function b(){var e=Ss(),n=m(e);if(r=arguments,s=this,l=e,n){if(c===i)return function(e){return f=e,c=Ao(v,t),p?g(e):u}(l);if(d)return bi(c),c=Ao(v,t),g(l)}return c===i&&(c=Ao(v,t)),u}return t=ga(t)||0,Qs(n)&&(p=!!n.leading,a=(d="maxWait"in n)?mn(ga(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h),b.cancel=function(){c!==i&&bi(c),f=0,r=l=s=c=i},b.flush=function(){return c===i?u:y(Ss())},b}var Ns=Gr(function(e,t){return ur(e,1,t)}),Cs=Gr(function(e,t,n){return ur(e,ga(t)||0,n)});function ks(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Oe(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(ks.Cache||qn),n}function Ps(e){if("function"!=typeof e)throw new Oe(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ks.Cache=qn;var js=vi(function(e,t){var n=(t=1==t.length&&Ws(t[0])?Nt(t[0],Xt(oo())):Nt(gr(t,1),Xt(oo()))).length;return Gr(function(r){for(var i=-1,o=vn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return Et(e,this,r)})}),Ds=Gr(function(e,t){var n=an(t,io(Ds));return Vi(e,u,i,t,n)}),zs=Gr(function(e,t){var n=an(t,io(zs));return Vi(e,64,i,t,n)}),Ms=Qi(function(e,t){return Vi(e,256,i,i,i,t)});function $s(e,t){return e===t||e!=e&&t!=t}var Bs=Wi(Tr),Us=Wi(function(e,t){return e>=t}),Fs=Ir(function(){return arguments}())?Ir:function(e){return ea(e)&&ke.call(e,"callee")&&!Ye.call(e,"callee")},Ws=r.isArray,Hs=vt?Xt(vt):function(e){return ea(e)&&Er(e)==N};function qs(e){return null!=e&&Js(e.length)&&!Zs(e)}function Ys(e){return ea(e)&&qs(e)}var Gs=mt||gu,Vs=yt?Xt(yt):function(e){return ea(e)&&Er(e)==y};function Xs(e){if(!ea(e))return!1;var t=Er(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ra(e)}function Zs(e){if(!Qs(e))return!1;var t=Er(e);return t==_||t==x||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ks(e){return"number"==typeof e&&e==da(e)}function Js(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function Qs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ea(e){return null!=e&&"object"==typeof e}var ta=bt?Xt(bt):function(e){return ea(e)&&fo(e)==w};function na(e){return"number"==typeof e||ea(e)&&Er(e)==E}function ra(e){if(!ea(e)||Er(e)!=T)return!1;var t=He(e);if(null===t)return!0;var n=ke.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ce.call(n)==ze}var ia=_t?Xt(_t):function(e){return ea(e)&&Er(e)==R},oa=xt?Xt(xt):function(e){return ea(e)&&fo(e)==O};function sa(e){return"string"==typeof e||!Ws(e)&&ea(e)&&Er(e)==A}function aa(e){return"symbol"==typeof e||ea(e)&&Er(e)==I}var ua=wt?Xt(wt):function(e){return ea(e)&&Js(e.length)&&!!it[Er(e)]},ca=Wi(jr),la=Wi(function(e,t){return e<=t});function fa(e){if(!e)return[];if(qs(e))return sa(e)?fn(e):Ri(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=fo(e);return(t==w?on:t==O?un:$a)(e)}function pa(e){return e?(e=ga(e))===l||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function da(e){var t=pa(e),n=t%1;return t==t?n?t-n:t:0}function ha(e){return e?or(da(e),0,d):0}function ga(e){if("number"==typeof e)return e;if(aa(e))return p;if(Qs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Vt(e);var n=he.test(e);return n||me.test(e)?ut(e.slice(2),n?2:8):de.test(e)?p:+e}function ma(e){return Oi(e,Na(e))}function va(e){return null==e?"":si(e)}var ya=Ii(function(e,t){if(xo(t)||qs(t))Oi(t,La(t),e);else for(var n in t)ke.call(t,n)&&Qn(e,n,t[n])}),ba=Ii(function(e,t){Oi(t,Na(t),e)}),_a=Ii(function(e,t,n,r){Oi(t,Na(t),e,r)}),xa=Ii(function(e,t,n,r){Oi(t,La(t),e,r)}),wa=Qi(ir),Ea=Gr(function(e,t){e=Te(e);var n=-1,r=t.length,o=r>2?t[2]:i;for(o&&vo(t[0],t[1],o)&&(r=1);++n<r;)for(var s=t[n],a=Na(s),u=-1,c=a.length;++u<c;){var l=a[u],f=e[l];(f===i||$s(f,Le[l])&&!ke.call(e,l))&&(e[l]=s[l])}return e}),Ta=Gr(function(e){return e.push(i,Zi),Et(ka,i,e)});function Sa(e,t,n){var r=null==e?i:xr(e,t);return r===i?n:r}function Ra(e,t){return null!=e&&po(e,t,Rr)}var Oa=Mi(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=De.call(t)),e[t]=n},Qa(nu)),Aa=Mi(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=De.call(t)),ke.call(e,t)?e[t].push(n):e[t]=[n]},oo),Ia=Gr(Ar);function La(e){return qs(e)?Vn(e):Pr(e)}function Na(e){return qs(e)?Vn(e,!0):function(e){if(!Qs(e))return function(e){var t=[];if(null!=e)for(var n in Te(e))t.push(n);return t}(e);var t=xo(e),n=[];for(var r in e)("constructor"!=r||!t&&ke.call(e,r))&&n.push(r);return n}(e)}var Ca=Ii(function(e,t,n){$r(e,t,n)}),ka=Ii(function(e,t,n,r){$r(e,t,n,r)}),Pa=Qi(function(e,t){var n={};if(null==e)return n;var r=!1;t=Nt(t,function(t){return t=mi(t,e),r||(r=t.length>1),t}),Oi(e,to(e),n),r&&(n=sr(n,7,Ki));for(var i=t.length;i--;)ui(n,t[i]);return n}),ja=Qi(function(e,t){return null==e?{}:function(e,t){return Fr(e,t,function(t,n){return Ra(e,n)})}(e,t)});function Da(e,t){if(null==e)return{};var n=Nt(to(e),function(e){return[e]});return t=oo(t),Fr(e,n,function(e,n){return t(e,n[0])})}var za=Gi(La),Ma=Gi(Na);function $a(e){return null==e?[]:Zt(e,La(e))}var Ba=ki(function(e,t,n){return t=t.toLowerCase(),e+(n?Ua(t):t)});function Ua(e){return Xa(va(e).toLowerCase())}function Fa(e){return(e=va(e))&&e.replace(ye,en).replace(Ke,"")}var Wa=ki(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Ha=ki(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),qa=Ci("toLowerCase"),Ya=ki(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Ga=ki(function(e,t,n){return e+(n?" ":"")+Xa(t)}),Va=ki(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Xa=Ci("toUpperCase");function Za(e,t,n){return e=va(e),(t=n?i:t)===i?function(e){return tt.test(e)}(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Ka=Gr(function(e,t){try{return Et(e,i,t)}catch(e){return Xs(e)?e:new xe(e)}}),Ja=Qi(function(e,t){return St(t,function(t){t=Do(t),rr(e,t,As(e[t],e))}),e});function Qa(e){return function(){return e}}var eu=Di(),tu=Di(!0);function nu(e){return e}function ru(e){return kr("function"==typeof e?e:sr(e,1))}var iu=Gr(function(e,t){return function(n){return Ar(n,e,t)}}),ou=Gr(function(e,t){return function(n){return Ar(e,n,t)}});function su(e,t,n){var r=La(t),i=_r(t,r);null!=n||Qs(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=_r(t,La(t)));var o=!(Qs(n)&&"chain"in n&&!n.chain),s=Zs(e);return St(i,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Ri(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Ct([this.value()],arguments))})}),e}function au(){}var uu=Bi(Nt),cu=Bi(Ot),lu=Bi(jt);function fu(e){return yo(e)?Wt(Do(e)):function(e){return function(t){return xr(t,e)}}(e)}var pu=Fi(),du=Fi(!0);function hu(){return[]}function gu(){return!1}var mu,vu=$i(function(e,t){return e+t},0),yu=qi("ceil"),bu=$i(function(e,t){return e/t},1),_u=qi("floor"),xu=$i(function(e,t){return e*t},1),wu=qi("round"),Eu=$i(function(e,t){return e-t},0);return Mn.after=function(e,t){if("function"!=typeof t)throw new Oe(o);return e=da(e),function(){if(--e<1)return t.apply(this,arguments)}},Mn.ary=Rs,Mn.assign=ya,Mn.assignIn=ba,Mn.assignInWith=_a,Mn.assignWith=xa,Mn.at=wa,Mn.before=Os,Mn.bind=As,Mn.bindAll=Ja,Mn.bindKey=Is,Mn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ws(e)?e:[e]},Mn.chain=fs,Mn.chunk=function(e,t,n){t=(n?vo(e,t,n):t===i)?1:mn(da(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var s=0,a=0,u=r(pt(o/t));s<o;)u[a++]=ei(e,s,s+=t);return u},Mn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Mn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Ct(Ws(n)?Ri(n):[n],gr(t,1))},Mn.cond=function(e){var t=null==e?0:e.length,n=oo();return e=t?Nt(e,function(e){if("function"!=typeof e[1])throw new Oe(o);return[n(e[0]),e[1]]}):[],Gr(function(n){for(var r=-1;++r<t;){var i=e[r];if(Et(i[0],this,n))return Et(i[1],this,n)}})},Mn.conforms=function(e){return function(e){var t=La(e);return function(n){return ar(n,e,t)}}(sr(e,1))},Mn.constant=Qa,Mn.countBy=hs,Mn.create=function(e,t){var n=$n(e);return null==t?n:nr(n,t)},Mn.curry=function e(t,n,r){var o=Vi(t,8,i,i,i,i,i,n=r?i:n);return o.placeholder=e.placeholder,o},Mn.curryRight=function e(t,n,r){var o=Vi(t,16,i,i,i,i,i,n=r?i:n);return o.placeholder=e.placeholder,o},Mn.debounce=Ls,Mn.defaults=Ea,Mn.defaultsDeep=Ta,Mn.defer=Ns,Mn.delay=Cs,Mn.difference=$o,Mn.differenceBy=Bo,Mn.differenceWith=Uo,Mn.drop=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,(t=n||t===i?1:da(t))<0?0:t,r):[]},Mn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,0,(t=r-(t=n||t===i?1:da(t)))<0?0:t):[]},Mn.dropRightWhile=function(e,t){return e&&e.length?li(e,oo(t,3),!0,!0):[]},Mn.dropWhile=function(e,t){return e&&e.length?li(e,oo(t,3),!0):[]},Mn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&vo(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=da(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>o?o:da(r))<0&&(r+=o),r=n>r?0:ha(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Mn.filter=function(e,t){return(Ws(e)?At:hr)(e,oo(t,3))},Mn.flatMap=function(e,t){return gr(ws(e,t),1)},Mn.flatMapDeep=function(e,t){return gr(ws(e,t),l)},Mn.flatMapDepth=function(e,t,n){return n=n===i?1:da(n),gr(ws(e,t),n)},Mn.flatten=Ho,Mn.flattenDeep=function(e){return null!=e&&e.length?gr(e,l):[]},Mn.flattenDepth=function(e,t){return null!=e&&e.length?gr(e,t=t===i?1:da(t)):[]},Mn.flip=function(e){return Vi(e,512)},Mn.flow=eu,Mn.flowRight=tu,Mn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Mn.functions=function(e){return null==e?[]:_r(e,La(e))},Mn.functionsIn=function(e){return null==e?[]:_r(e,Na(e))},Mn.groupBy=bs,Mn.initial=function(e){return null!=e&&e.length?ei(e,0,-1):[]},Mn.intersection=Yo,Mn.intersectionBy=Go,Mn.intersectionWith=Vo,Mn.invert=Oa,Mn.invertBy=Aa,Mn.invokeMap=_s,Mn.iteratee=ru,Mn.keyBy=xs,Mn.keys=La,Mn.keysIn=Na,Mn.map=ws,Mn.mapKeys=function(e,t){var n={};return t=oo(t,3),yr(e,function(e,r,i){rr(n,t(e,r,i),e)}),n},Mn.mapValues=function(e,t){var n={};return t=oo(t,3),yr(e,function(e,r,i){rr(n,r,t(e,r,i))}),n},Mn.matches=function(e){return zr(sr(e,1))},Mn.matchesProperty=function(e,t){return Mr(e,sr(t,1))},Mn.memoize=ks,Mn.merge=Ca,Mn.mergeWith=ka,Mn.method=iu,Mn.methodOf=ou,Mn.mixin=su,Mn.negate=Ps,Mn.nthArg=function(e){return e=da(e),Gr(function(t){return Br(t,e)})},Mn.omit=Pa,Mn.omitBy=function(e,t){return Da(e,Ps(oo(t)))},Mn.once=function(e){return Os(2,e)},Mn.orderBy=function(e,t,n,r){return null==e?[]:(Ws(t)||(t=null==t?[]:[t]),Ws(n=r?i:n)||(n=null==n?[]:[n]),Ur(e,t,n))},Mn.over=uu,Mn.overArgs=js,Mn.overEvery=cu,Mn.overSome=lu,Mn.partial=Ds,Mn.partialRight=zs,Mn.partition=Es,Mn.pick=ja,Mn.pickBy=Da,Mn.property=fu,Mn.propertyOf=function(e){return function(t){return null==e?i:xr(e,t)}},Mn.pull=Zo,Mn.pullAll=Ko,Mn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Wr(e,t,oo(n,2)):e},Mn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Wr(e,t,i,n):e},Mn.pullAt=Jo,Mn.range=pu,Mn.rangeRight=du,Mn.rearg=Ms,Mn.reject=function(e,t){return(Ws(e)?At:hr)(e,Ps(oo(t,3)))},Mn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=oo(t,3);++r<o;){var s=e[r];t(s,r,e)&&(n.push(s),i.push(r))}return Hr(e,i),n},Mn.rest=function(e,t){if("function"!=typeof e)throw new Oe(o);return Gr(e,t=t===i?t:da(t))},Mn.reverse=Qo,Mn.sampleSize=function(e,t,n){return t=(n?vo(e,t,n):t===i)?1:da(t),(Ws(e)?Zn:Xr)(e,t)},Mn.set=function(e,t,n){return null==e?e:Zr(e,t,n)},Mn.setWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:Zr(e,t,n,r)},Mn.shuffle=function(e){return(Ws(e)?Kn:Qr)(e)},Mn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&vo(e,t,n)?(t=0,n=r):(t=null==t?0:da(t),n=n===i?r:da(n)),ei(e,t,n)):[]},Mn.sortBy=Ts,Mn.sortedUniq=function(e){return e&&e.length?ii(e):[]},Mn.sortedUniqBy=function(e,t){return e&&e.length?ii(e,oo(t,2)):[]},Mn.split=function(e,t,n){return n&&"number"!=typeof n&&vo(e,t,n)&&(t=n=i),(n=n===i?d:n>>>0)?(e=va(e))&&("string"==typeof t||null!=t&&!ia(t))&&!(t=si(t))&&rn(e)?yi(fn(e),0,n):e.split(t,n):[]},Mn.spread=function(e,t){if("function"!=typeof e)throw new Oe(o);return t=null==t?0:mn(da(t),0),Gr(function(n){var r=n[t],i=yi(n,0,t);return r&&Ct(i,r),Et(e,this,i)})},Mn.tail=function(e){var t=null==e?0:e.length;return t?ei(e,1,t):[]},Mn.take=function(e,t,n){return e&&e.length?ei(e,0,(t=n||t===i?1:da(t))<0?0:t):[]},Mn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,(t=r-(t=n||t===i?1:da(t)))<0?0:t,r):[]},Mn.takeRightWhile=function(e,t){return e&&e.length?li(e,oo(t,3),!1,!0):[]},Mn.takeWhile=function(e,t){return e&&e.length?li(e,oo(t,3)):[]},Mn.tap=function(e,t){return t(e),e},Mn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Oe(o);return Qs(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ls(e,t,{leading:r,maxWait:t,trailing:i})},Mn.thru=ps,Mn.toArray=fa,Mn.toPairs=za,Mn.toPairsIn=Ma,Mn.toPath=function(e){return Ws(e)?Nt(e,Do):aa(e)?[e]:Ri(jo(va(e)))},Mn.toPlainObject=ma,Mn.transform=function(e,t,n){var r=Ws(e),i=r||Gs(e)||ua(e);if(t=oo(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Qs(e)&&Zs(o)?$n(He(e)):{}}return(i?St:yr)(e,function(e,r,i){return t(n,e,r,i)}),n},Mn.unary=function(e){return Rs(e,1)},Mn.union=es,Mn.unionBy=ts,Mn.unionWith=ns,Mn.uniq=function(e){return e&&e.length?ai(e):[]},Mn.uniqBy=function(e,t){return e&&e.length?ai(e,oo(t,2)):[]},Mn.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?ai(e,i,t):[]},Mn.unset=function(e,t){return null==e||ui(e,t)},Mn.unzip=rs,Mn.unzipWith=is,Mn.update=function(e,t,n){return null==e?e:ci(e,t,gi(n))},Mn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:ci(e,t,gi(n),r)},Mn.values=$a,Mn.valuesIn=function(e){return null==e?[]:Zt(e,Na(e))},Mn.without=os,Mn.words=Za,Mn.wrap=function(e,t){return Ds(gi(t),e)},Mn.xor=ss,Mn.xorBy=as,Mn.xorWith=us,Mn.zip=cs,Mn.zipObject=function(e,t){return di(e||[],t||[],Qn)},Mn.zipObjectDeep=function(e,t){return di(e||[],t||[],Zr)},Mn.zipWith=ls,Mn.entries=za,Mn.entriesIn=Ma,Mn.extend=ba,Mn.extendWith=_a,su(Mn,Mn),Mn.add=vu,Mn.attempt=Ka,Mn.camelCase=Ba,Mn.capitalize=Ua,Mn.ceil=yu,Mn.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=ga(n))==n?n:0),t!==i&&(t=(t=ga(t))==t?t:0),or(ga(e),t,n)},Mn.clone=function(e){return sr(e,4)},Mn.cloneDeep=function(e){return sr(e,5)},Mn.cloneDeepWith=function(e,t){return sr(e,5,t="function"==typeof t?t:i)},Mn.cloneWith=function(e,t){return sr(e,4,t="function"==typeof t?t:i)},Mn.conformsTo=function(e,t){return null==t||ar(e,t,La(t))},Mn.deburr=Fa,Mn.defaultTo=function(e,t){return null==e||e!=e?t:e},Mn.divide=bu,Mn.endsWith=function(e,t,n){e=va(e),t=si(t);var r=e.length,o=n=n===i?r:or(da(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Mn.eq=$s,Mn.escape=function(e){return(e=va(e))&&V.test(e)?e.replace(Y,tn):e},Mn.escapeRegExp=function(e){return(e=va(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Mn.every=function(e,t,n){var r=Ws(e)?Ot:pr;return n&&vo(e,t,n)&&(t=i),r(e,oo(t,3))},Mn.find=gs,Mn.findIndex=Fo,Mn.findKey=function(e,t){return zt(e,oo(t,3),yr)},Mn.findLast=ms,Mn.findLastIndex=Wo,Mn.findLastKey=function(e,t){return zt(e,oo(t,3),br)},Mn.floor=_u,Mn.forEach=vs,Mn.forEachRight=ys,Mn.forIn=function(e,t){return null==e?e:mr(e,oo(t,3),Na)},Mn.forInRight=function(e,t){return null==e?e:vr(e,oo(t,3),Na)},Mn.forOwn=function(e,t){return e&&yr(e,oo(t,3))},Mn.forOwnRight=function(e,t){return e&&br(e,oo(t,3))},Mn.get=Sa,Mn.gt=Bs,Mn.gte=Us,Mn.has=function(e,t){return null!=e&&po(e,t,Sr)},Mn.hasIn=Ra,Mn.head=qo,Mn.identity=nu,Mn.includes=function(e,t,n,r){e=qs(e)?e:$a(e),n=n&&!r?da(n):0;var i=e.length;return n<0&&(n=mn(i+n,0)),sa(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&$t(e,t,n)>-1},Mn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:da(n);return i<0&&(i=mn(r+i,0)),$t(e,t,i)},Mn.inRange=function(e,t,n){return t=pa(t),n===i?(n=t,t=0):n=pa(n),function(e,t,n){return e>=vn(t,n)&&e<mn(t,n)}(e=ga(e),t,n)},Mn.invoke=Ia,Mn.isArguments=Fs,Mn.isArray=Ws,Mn.isArrayBuffer=Hs,Mn.isArrayLike=qs,Mn.isArrayLikeObject=Ys,Mn.isBoolean=function(e){return!0===e||!1===e||ea(e)&&Er(e)==v},Mn.isBuffer=Gs,Mn.isDate=Vs,Mn.isElement=function(e){return ea(e)&&1===e.nodeType&&!ra(e)},Mn.isEmpty=function(e){if(null==e)return!0;if(qs(e)&&(Ws(e)||"string"==typeof e||"function"==typeof e.splice||Gs(e)||ua(e)||Fs(e)))return!e.length;var t=fo(e);if(t==w||t==O)return!e.size;if(xo(e))return!Pr(e).length;for(var n in e)if(ke.call(e,n))return!1;return!0},Mn.isEqual=function(e,t){return Lr(e,t)},Mn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:i)?n(e,t):i;return r===i?Lr(e,t,i,n):!!r},Mn.isError=Xs,Mn.isFinite=function(e){return"number"==typeof e&&Dt(e)},Mn.isFunction=Zs,Mn.isInteger=Ks,Mn.isLength=Js,Mn.isMap=ta,Mn.isMatch=function(e,t){return e===t||Nr(e,t,ao(t))},Mn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,Nr(e,t,ao(t),n)},Mn.isNaN=function(e){return na(e)&&e!=+e},Mn.isNative=function(e){if(_o(e))throw new xe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Cr(e)},Mn.isNil=function(e){return null==e},Mn.isNull=function(e){return null===e},Mn.isNumber=na,Mn.isObject=Qs,Mn.isObjectLike=ea,Mn.isPlainObject=ra,Mn.isRegExp=ia,Mn.isSafeInteger=function(e){return Ks(e)&&e>=-9007199254740991&&e<=f},Mn.isSet=oa,Mn.isString=sa,Mn.isSymbol=aa,Mn.isTypedArray=ua,Mn.isUndefined=function(e){return e===i},Mn.isWeakMap=function(e){return ea(e)&&fo(e)==L},Mn.isWeakSet=function(e){return ea(e)&&"[object WeakSet]"==Er(e)},Mn.join=function(e,t){return null==e?"":Ht.call(e,t)},Mn.kebabCase=Wa,Mn.last=Xo,Mn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=da(n))<0?mn(r+o,0):vn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):Mt(e,Ut,o,!0)},Mn.lowerCase=Ha,Mn.lowerFirst=qa,Mn.lt=ca,Mn.lte=la,Mn.max=function(e){return e&&e.length?dr(e,nu,Tr):i},Mn.maxBy=function(e,t){return e&&e.length?dr(e,oo(t,2),Tr):i},Mn.mean=function(e){return Ft(e,nu)},Mn.meanBy=function(e,t){return Ft(e,oo(t,2))},Mn.min=function(e){return e&&e.length?dr(e,nu,jr):i},Mn.minBy=function(e,t){return e&&e.length?dr(e,oo(t,2),jr):i},Mn.stubArray=hu,Mn.stubFalse=gu,Mn.stubObject=function(){return{}},Mn.stubString=function(){return""},Mn.stubTrue=function(){return!0},Mn.multiply=xu,Mn.nth=function(e,t){return e&&e.length?Br(e,da(t)):i},Mn.noConflict=function(){return ft._===this&&(ft._=Me),this},Mn.noop=au,Mn.now=Ss,Mn.pad=function(e,t,n){e=va(e);var r=(t=da(t))?ln(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Ui(dt(i),n)+e+Ui(pt(i),n)},Mn.padEnd=function(e,t,n){e=va(e);var r=(t=da(t))?ln(e):0;return t&&r<t?e+Ui(t-r,n):e},Mn.padStart=function(e,t,n){e=va(e);var r=(t=da(t))?ln(e):0;return t&&r<t?Ui(t-r,n)+e:e},Mn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),bn(va(e).replace(re,""),t||0)},Mn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&vo(e,t,n)&&(t=n=i),n===i&&("boolean"==typeof t?(n=t,t=i):"boolean"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=pa(e),t===i?(t=e,e=0):t=pa(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=_n();return vn(e+o*(t-e+at("1e-"+((o+"").length-1))),t)}return qr(e,t)},Mn.reduce=function(e,t,n){var r=Ws(e)?kt:qt,i=arguments.length<3;return r(e,oo(t,4),n,i,lr)},Mn.reduceRight=function(e,t,n){var r=Ws(e)?Pt:qt,i=arguments.length<3;return r(e,oo(t,4),n,i,fr)},Mn.repeat=function(e,t,n){return t=(n?vo(e,t,n):t===i)?1:da(t),Yr(va(e),t)},Mn.replace=function(){var e=arguments,t=va(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Mn.result=function(e,t,n){var r=-1,o=(t=mi(t,e)).length;for(o||(o=1,e=i);++r<o;){var s=null==e?i:e[Do(t[r])];s===i&&(r=o,s=n),e=Zs(s)?s.call(e):s}return e},Mn.round=wu,Mn.runInContext=e,Mn.sample=function(e){return(Ws(e)?Xn:Vr)(e)},Mn.size=function(e){if(null==e)return 0;if(qs(e))return sa(e)?ln(e):e.length;var t=fo(e);return t==w||t==O?e.size:Pr(e).length},Mn.snakeCase=Ya,Mn.some=function(e,t,n){var r=Ws(e)?jt:ti;return n&&vo(e,t,n)&&(t=i),r(e,oo(t,3))},Mn.sortedIndex=function(e,t){return ni(e,t)},Mn.sortedIndexBy=function(e,t,n){return ri(e,t,oo(n,2))},Mn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ni(e,t);if(r<n&&$s(e[r],t))return r}return-1},Mn.sortedLastIndex=function(e,t){return ni(e,t,!0)},Mn.sortedLastIndexBy=function(e,t,n){return ri(e,t,oo(n,2),!0)},Mn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ni(e,t,!0)-1;if($s(e[n],t))return n}return-1},Mn.startCase=Ga,Mn.startsWith=function(e,t,n){return e=va(e),n=null==n?0:or(da(n),0,e.length),t=si(t),e.slice(n,n+t.length)==t},Mn.subtract=Eu,Mn.sum=function(e){return e&&e.length?Yt(e,nu):0},Mn.sumBy=function(e,t){return e&&e.length?Yt(e,oo(t,2)):0},Mn.template=function(e,t,n){var r=Mn.templateSettings;n&&vo(e,t,n)&&(t=i),e=va(e),t=_a({},t,r,Xi);var o,s,a=_a({},t.imports,r.imports,Xi),u=La(a),c=Zt(a,u),l=0,f=t.interpolate||be,p="__p += '",d=Se((t.escape||be).source+"|"+f.source+"|"+(f===K?fe:be).source+"|"+(t.evaluate||be).source+"|$","g"),h="//# sourceURL="+(ke.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";e.replace(d,function(t,n,r,i,a,u){return r||(r=i),p+=e.slice(l,u).replace(_e,nn),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),a&&(s=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+t.length,t}),p+="';\n";var g=ke.call(t,"variable")&&t.variable;if(g){if(ce.test(g))throw new xe("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(s?p.replace(F,""):p).replace(W,"$1").replace(H,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=Ka(function(){return we(u,h+"return "+p).apply(i,c)});if(m.source=p,Xs(m))throw m;return m},Mn.times=function(e,t){if((e=da(e))<1||e>f)return[];var n=d,r=vn(e,d);t=oo(t),e-=d;for(var i=Gt(r,t);++n<e;)t(n);return i},Mn.toFinite=pa,Mn.toInteger=da,Mn.toLength=ha,Mn.toLower=function(e){return va(e).toLowerCase()},Mn.toNumber=ga,Mn.toSafeInteger=function(e){return e?or(da(e),-9007199254740991,f):0===e?e:0},Mn.toString=va,Mn.toUpper=function(e){return va(e).toUpperCase()},Mn.trim=function(e,t,n){if((e=va(e))&&(n||t===i))return Vt(e);if(!e||!(t=si(t)))return e;var r=fn(e),o=fn(t);return yi(r,Jt(r,o),Qt(r,o)+1).join("")},Mn.trimEnd=function(e,t,n){if((e=va(e))&&(n||t===i))return e.slice(0,pn(e)+1);if(!e||!(t=si(t)))return e;var r=fn(e);return yi(r,0,Qt(r,fn(t))+1).join("")},Mn.trimStart=function(e,t,n){if((e=va(e))&&(n||t===i))return e.replace(re,"");if(!e||!(t=si(t)))return e;var r=fn(e);return yi(r,Jt(r,fn(t))).join("")},Mn.truncate=function(e,t){var n=30,r="...";if(Qs(t)){var o="separator"in t?t.separator:o;n="length"in t?da(t.length):n,r="omission"in t?si(t.omission):r}var s=(e=va(e)).length;if(rn(e)){var a=fn(e);s=a.length}if(n>=s)return e;var u=n-ln(r);if(u<1)return r;var c=a?yi(a,0,u).join(""):e.slice(0,u);if(o===i)return c+r;if(a&&(u+=c.length-u),ia(o)){if(e.slice(u).search(o)){var l,f=c;for(o.global||(o=Se(o.source,va(pe.exec(o))+"g")),o.lastIndex=0;l=o.exec(f);)var p=l.index;c=c.slice(0,p===i?u:p)}}else if(e.indexOf(si(o),u)!=u){var d=c.lastIndexOf(o);d>-1&&(c=c.slice(0,d))}return c+r},Mn.unescape=function(e){return(e=va(e))&&G.test(e)?e.replace(q,dn):e},Mn.uniqueId=function(e){var t=++Pe;return va(e)+t},Mn.upperCase=Va,Mn.upperFirst=Xa,Mn.each=vs,Mn.eachRight=ys,Mn.first=qo,su(Mn,(mu={},yr(Mn,function(e,t){ke.call(Mn.prototype,t)||(mu[t]=e)}),mu),{chain:!1}),Mn.VERSION="4.17.21",St(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Mn[e].placeholder=Mn}),St(["drop","take"],function(e,t){Fn.prototype[e]=function(n){n=n===i?1:mn(da(n),0);var r=this.__filtered__&&!t?new Fn(this):this.clone();return r.__filtered__?r.__takeCount__=vn(n,r.__takeCount__):r.__views__.push({size:vn(n,d),type:e+(r.__dir__<0?"Right":"")}),r},Fn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),St(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;Fn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:oo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),St(["head","last"],function(e,t){var n="take"+(t?"Right":"");Fn.prototype[e]=function(){return this[n](1).value()[0]}}),St(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Fn.prototype[e]=function(){return this.__filtered__?new Fn(this):this[n](1)}}),Fn.prototype.compact=function(){return this.filter(nu)},Fn.prototype.find=function(e){return this.filter(e).head()},Fn.prototype.findLast=function(e){return this.reverse().find(e)},Fn.prototype.invokeMap=Gr(function(e,t){return"function"==typeof e?new Fn(this):this.map(function(n){return Ar(n,e,t)})}),Fn.prototype.reject=function(e){return this.filter(Ps(oo(e)))},Fn.prototype.slice=function(e,t){e=da(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Fn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=da(t))<0?n.dropRight(-t):n.take(t-e)),n)},Fn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Fn.prototype.toArray=function(){return this.take(d)},yr(Fn.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Mn[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);o&&(Mn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,u=t instanceof Fn,c=a[0],l=u||Ws(t),f=function(e){var t=o.apply(Mn,Ct([e],a));return r&&p?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var p=this.__chain__,d=!!this.__actions__.length,h=s&&!p,g=u&&!d;if(!s&&l){t=g?t:new Fn(this);var m=e.apply(t,a);return m.__actions__.push({func:ps,args:[f],thisArg:i}),new Un(m,p)}return h&&g?e.apply(this,a):(m=this.thru(f),h?r?m.value()[0]:m.value():m)})}),St(["pop","push","shift","sort","splice","unshift"],function(e){var t=Ae[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Mn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Ws(i)?i:[],e)}return this[n](function(n){return t.apply(Ws(n)?n:[],e)})}}),yr(Fn.prototype,function(e,t){var n=Mn[t];if(n){var r=n.name+"";ke.call(In,r)||(In[r]=[]),In[r].push({name:t,func:n})}}),In[zi(i,2).name]=[{name:"wrapper",func:i}],Fn.prototype.clone=function(){var e=new Fn(this.__wrapped__);return e.__actions__=Ri(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ri(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ri(this.__views__),e},Fn.prototype.reverse=function(){if(this.__filtered__){var e=new Fn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Fn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ws(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=vn(t,e+s);break;case"takeRight":e=mn(e,t-s)}}return{start:e,end:t}}(0,i,this.__views__),s=o.start,a=o.end,u=a-s,c=r?a:s-1,l=this.__iteratees__,f=l.length,p=0,d=vn(u,this.__takeCount__);if(!n||!r&&i==u&&d==u)return fi(e,this.__actions__);var h=[];e:for(;u--&&p<d;){for(var g=-1,m=e[c+=t];++g<f;){var v=l[g],y=v.iteratee,b=v.type,_=y(m);if(2==b)m=_;else if(!_){if(1==b)continue e;break e}}h[p++]=m}return h},Mn.prototype.at=ds,Mn.prototype.chain=function(){return fs(this)},Mn.prototype.commit=function(){return new Un(this.value(),this.__chain__)},Mn.prototype.next=function(){this.__values__===i&&(this.__values__=fa(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Mn.prototype.plant=function(e){for(var t,n=this;n instanceof Bn;){var r=Mo(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Mn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Fn){var t=e;return this.__actions__.length&&(t=new Fn(this)),(t=t.reverse()).__actions__.push({func:ps,args:[Qo],thisArg:i}),new Un(t,this.__chain__)}return this.thru(Qo)},Mn.prototype.toJSON=Mn.prototype.valueOf=Mn.prototype.value=function(){return fi(this.__wrapped__,this.__actions__)},Mn.prototype.first=Mn.prototype.head,Xe&&(Mn.prototype[Xe]=function(){return this}),Mn}();ft._=hn,(r=function(){return hn}.call(t,n,t,e))===i||(e.exports=r)}.call(this)},592:(e,t,n)=>{"use strict";var r=n(516),i=n(522),o=n(948),s=n(106),a=n(615),u=n(631),c=n(202),l=n(763),f=n(987),p=n(928);e.exports=function(e){return new Promise(function(t,n){var d,h=e.data,g=e.headers,m=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}r.isFormData(h)&&delete g["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(b+":"+_)}var x=a(e.baseURL,e.url);function w(){if(y){var r="getAllResponseHeaders"in y?u(y.getAllResponseHeaders()):null,o={data:m&&"text"!==m&&"json"!==m?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};i(function(e){t(e),v()},function(e){n(e),v()},o),y=null}}if(y.open(e.method.toUpperCase(),s(x,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=w:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(w)},y.onabort=function(){y&&(n(l("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(l("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||f.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var E=(e.withCredentials||c(x))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;E&&(g[e.xsrfHeaderName]=E)}"setRequestHeader"in y&&r.forEach(g,function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete g[t]:y.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),m&&"json"!==m&&(y.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){y&&(n(!e||e&&e.type?new p("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),h||(h=null),y.send(h)})}},615:(e,t,n)=>{"use strict";var r=n(137),i=n(680);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},631:(e,t,n)=>{"use strict";var r=n(516),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,s={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(s[t]&&i.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}}),s):s}},641:e=>{e.exports={version:"0.25.0"}},680:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},763:(e,t,n)=>{"use strict";var r=n(449);e.exports=function(e,t,n,i,o){var s=new Error(e);return r(s,t,n,i,o)}},833:e=>{e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),s=Object.keys(t);if(o.length!==s.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),u=0;u<o.length;u++){var c=o[u];if(!a(c))return!1;var l=e[c],f=t[c];if(!1===(i=n?n.call(r,l,f,c):void 0)||void 0===i&&l!==f)return!1}return!0}},841:(e,t,n)=>{"use strict";var r=n(641).version,i={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var o={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(i(r," has been removed"+(t?" in "+t:"")));return t&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],s=t[o];if(s){var a=e[o],u=void 0===a||s(a,o,e);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},864:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},881:(e,t,n)=>{"use strict";var r=n(516),i=n(987);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,function(n){e=n.call(o,e,t)}),e}},928:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},948:(e,t,n)=>{"use strict";var r=n(516);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},980:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},987:(e,t,n)=>{"use strict";var r=n(516),i=n(18),o=n(449),s={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(592)),u),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(a(t,"application/json"),function(e){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(s){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(e){c.headers[e]={}}),r.forEach(["post","put","patch"],function(e){c.headers[e]=r.merge(s)}),e.exports=c}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);i.r(o);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>n[e]);return s.default=()=>n,i.d(o,s),o},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.nc=void 0;var o={};(()=>{"use strict";i.r(o),i.d(o,{api:()=>e,appear:()=>t,blog:()=>n,document:()=>r,operations:()=>s,popup:()=>u,resizeDetecter:()=>l,storage:()=>f,timeline:()=>p,types:()=>d,useResize:()=>c,utils:()=>h});var e={};i.r(e),i.d(e,{ApiLoader:()=>Y,useApi:()=>G});var t={};i.r(t),i.d(t,{onAppear:()=>V});var n={};i.r(n),i.d(n,{BlogItem:()=>Mn,BlogList:()=>$n,BlogSideBar:()=>Bn,Item:()=>zn});var r={};i.r(r),i.d(r,{Body:()=>ao,Code:()=>wo,DocWrapper:()=>To,Image:()=>bo,Separator:()=>_o,Text:()=>yo,TextSize:()=>io,TextStyle:()=>oo,YoutubeVideo:()=>Eo,emptyBulletSvg:()=>mo,solidBulletSvg:()=>vo});var s={};i.r(s),i.d(s,{default:()=>Ro});var a={};i.r(a),i.d(a,{background:()=>Ao,"popup-element":()=>Io,root:()=>Lo});var u={};i.r(u),i.d(u,{Overlay:()=>Da,ReactRootElement:()=>Ia,ReactRootElementPopup:()=>La,TooltipBoolean:()=>ja,TooltipClick:()=>Pa,TooltipHover:()=>ka});var c={};i.r(c),i.d(c,{useResizeDetecter:()=>Ma});var l={};i.r(l),i.d(l,{ResizeDetecter:()=>$a});var f={};i.r(f),i.d(f,{Storage:()=>Fa,useStates:()=>Ha,useStorage:()=>Wa});var p={};i.r(p),i.d(p,{ElementEnterLeave:()=>Xl,ElementEnterLeaveXValues:()=>ef,ElementEnterLeaveYValues:()=>Ql,ScrollCoordinateType:()=>Yl,ScrollDirection:()=>Hl,ScrollModel:()=>Fl,SyncSmoothness:()=>Kl,TimelineAutoPlay:()=>Gl,TimelineCommandOption:()=>Vl,TimelineCommandOptionLabel:()=>Zl,TimelineConfigType:()=>ql,TimelineDirection:()=>Jl,TimelineDirectionValue:()=>of,TimelineScreenType:()=>Wl,getEnterLeaveConfigValue:()=>tf,getTimelineElements:()=>sf,useTimeline:()=>af});var d={};i.r(d);var h={};i.r(h),i.d(h,{ScrollElementConfig:()=>nf,ScrollElementOrator:()=>rf,getCount:()=>cf,loopOnArray:()=>hf,loopOnObject:()=>df,loopOnRange:()=>ff,loopOnString:()=>pf,prepareFocusEvent:()=>xf,prepareInputChangeEvent:()=>bf,prepareKeyboardEvent:()=>_f,prepareMouseEvent:()=>yf,prepareUIEvent:()=>wf,scrollTo:()=>vf,toStyle:()=>mf,toText:()=>gf,useDidUpdateEffect:()=>lf});var g=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty;function y(e,t){return function(n,r,i){return e(n,r,i)&&t(n,r,i)}}function b(e){return function(t,n,r){if(!t||!n||"object"!=typeof t||"object"!=typeof n)return e(t,n,r);var i=r.cache,o=i.get(t),s=i.get(n);if(o&&s)return o===n&&s===t;i.set(t,n),i.set(n,t);var a=e(t,n,r);return i.delete(t),i.delete(n),a}}function _(e){return g(e).concat(m(e))}var x=Object.hasOwn||function(e,t){return v.call(e,t)};function w(e,t){return e||t?e===t:e===t||e!=e&&t!=t}var E="_owner",T=Object.getOwnPropertyDescriptor,S=Object.keys;function R(e,t,n){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function O(e,t){return w(e.getTime(),t.getTime())}function A(e,t,n){if(e.size!==t.size)return!1;for(var r,i,o={},s=e.entries(),a=0;(r=s.next())&&!r.done;){for(var u=t.entries(),c=!1,l=0;(i=u.next())&&!i.done;){var f=r.value,p=f[0],d=f[1],h=i.value,g=h[0],m=h[1];c||o[l]||!(c=n.equals(p,g,a,l,e,t,n)&&n.equals(d,m,p,g,e,t,n))||(o[l]=!0),l++}if(!c)return!1;a++}return!0}function I(e,t,n){var r,i=S(e),o=i.length;if(S(t).length!==o)return!1;for(;o-- >0;){if((r=i[o])===E&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!x(t,r)||!n.equals(e[r],t[r],r,r,e,t,n))return!1}return!0}function L(e,t,n){var r,i,o,s=_(e),a=s.length;if(_(t).length!==a)return!1;for(;a-- >0;){if((r=s[a])===E&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!x(t,r))return!1;if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;if(i=T(e,r),o=T(t,r),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable))return!1}return!0}function N(e,t){return w(e.valueOf(),t.valueOf())}function C(e,t){return e.source===t.source&&e.flags===t.flags}function k(e,t,n){if(e.size!==t.size)return!1;for(var r,i,o={},s=e.values();(r=s.next())&&!r.done;){for(var a=t.values(),u=!1,c=0;(i=a.next())&&!i.done;)u||o[c]||!(u=n.equals(r.value,i.value,r.value,i.value,e,t,n))||(o[c]=!0),c++;if(!u)return!1}return!0}function P(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}var j=Array.isArray,D="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,z=Object.assign,M=Object.prototype.toString.call.bind(Object.prototype.toString),$=B();function B(e){void 0===e&&(e={});var t,n=e.circular,r=void 0!==n&&n,i=e.createInternalComparator,o=e.createState,s=e.strict,a=void 0!==s&&s,u=function(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,i={areArraysEqual:r?L:R,areDatesEqual:O,areMapsEqual:r?y(A,L):A,areObjectsEqual:r?L:I,arePrimitiveWrappersEqual:N,areRegExpsEqual:C,areSetsEqual:r?y(k,L):k,areTypedArraysEqual:r?L:P};if(n&&(i=z({},i,n(i))),t){var o=b(i.areArraysEqual),s=b(i.areMapsEqual),a=b(i.areObjectsEqual),u=b(i.areSetsEqual);i=z({},i,{areArraysEqual:o,areMapsEqual:s,areObjectsEqual:a,areSetsEqual:u})}return i}(e),c=function(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areMapsEqual,i=e.areObjectsEqual,o=e.arePrimitiveWrappersEqual,s=e.areRegExpsEqual,a=e.areSetsEqual,u=e.areTypedArraysEqual;return function(e,c,l){if(e===c)return!0;if(null==e||null==c||"object"!=typeof e||"object"!=typeof c)return e!=e&&c!=c;var f=e.constructor;if(f!==c.constructor)return!1;if(f===Object)return i(e,c,l);if(j(e))return t(e,c,l);if(null!=D&&D(e))return u(e,c,l);if(f===Date)return n(e,c,l);if(f===RegExp)return s(e,c,l);if(f===Map)return r(e,c,l);if(f===Set)return a(e,c,l);var p=M(e);return"[object Date]"===p?n(e,c,l):"[object RegExp]"===p?s(e,c,l):"[object Map]"===p?r(e,c,l):"[object Set]"===p?a(e,c,l):"[object Object]"===p?"function"!=typeof e.then&&"function"!=typeof c.then&&i(e,c,l):"[object Arguments]"===p?i(e,c,l):("[object Boolean]"===p||"[object Number]"===p||"[object String]"===p)&&o(e,c,l)}}(u),l=i?i(c):(t=c,function(e,n,r,i,o,s,a){return t(e,n,a)});return function(e){var t=e.circular,n=e.comparator,r=e.createState,i=e.equals,o=e.strict;if(r)return function(e,s){var a=r(),u=a.cache,c=void 0===u?t?new WeakMap:void 0:u,l=a.meta;return n(e,s,{cache:c,equals:i,meta:l,strict:o})};if(t)return function(e,t){return n(e,t,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var s={cache:void 0,equals:i,meta:void 0,strict:o};return function(e,t){return n(e,t,s)}}({circular:r,comparator:c,createState:o,equals:l,strict:a})}B({strict:!0}),B({circular:!0}),B({circular:!0,strict:!0}),B({createInternalComparator:function(){return w}}),B({strict:!0,createInternalComparator:function(){return w}}),B({circular:!0,createInternalComparator:function(){return w}}),B({circular:!0,createInternalComparator:function(){return w},strict:!0});var U=i(15),F=i.t(U,2),W=i.n(U),H=i(505),q=i.n(H),Y=function(){function e(e){this.loading=!1,this.controller=new AbortController,this.onUpdate=e}return e.prototype.load=function(e){var t,n=this;if(!$(e,this.request)){this.loading&&this.controller.abort(),this.controller=new AbortController,this.request=e,this.loading=!0,null===(t=this.onUpdate)||void 0===t||t.call(this);var r=e.config,i=e.body,o=Object.entries(e.query||{}).reduce(function(e,t,n){var r=t[0],i=t[1];return 0===n?"?".concat(r,"=").concat(i):"".concat(e,"&").concat(r,"=").concat(i)},"");q()({signal:this.controller.signal,method:"post",url:"".concat(r.host,"/").concat(r.path.startsWith("/")?r.path.slice(1):r.path).concat(o),headers:{"Content-Type":"application/json"},data:i}).then(function(e){var t;n.response=e.data,n.error=void 0,n.loading=!1,null===(t=n.onUpdate)||void 0===t||t.call(n)}).catch(function(e){var t;n.response=void 0,n.error=(null==e?void 0:e.message)||"Unknown Error",n.loading=!1,null===(t=n.onUpdate)||void 0===t||t.call(n)})}},e}(),G=function(e){var t=(0,U.useState)({})[1],n=(0,U.useMemo)(function(){return new Y(function(){t({})})},[]);return n.load(e),{loading:n.loading,response:{body:n.response},error:n.error,request:n.request}},V=function(){return function(e){var t=null,n=0,r={};return addEventListener("scroll",function(){var i=e.scrollY||e.pageYOffset;null!=t&&(r.velocity=i-t,r.delta=r.velocity>=0?r.velocity:-1*r.velocity),t=i,n&&clearTimeout(n),n=setTimeout(function(){t=null},30)},!1),function(t){return function(){var t,n,i,o=!1,s=[],a=[],u=0,c=0,l={};function f(){r.delta<l.delta.speed&&(n||(n=!0,h(),setTimeout(function(){n=!1},l.delta.timeout))),h()}function p(){setTimeout(function(){h()},100),addEventListener("scroll",f,!1),addEventListener("wheel",f,!1),addEventListener("resize",f,!1)}function d(){removeEventListener("scroll",f,!1),removeEventListener("resize",f,!1)}function h(){i||(s.forEach(function(t,n){var r,i,o;t&&(r=t,i=l.bounds,(o=r.getBoundingClientRect()).top+o.height>=0&&o.left+o.width>=0&&o.bottom-o.height<=(e.innerHeight||document.documentElement.clientHeight)+i&&o.right-o.width<=(e.innerWidth||document.documentElement.clientWidth)+i)?a[n]&&(a[n]=!1,u++,l.appear&&l.appear(t),l.disappear||l.reappear||(s[n]=null)):(!1===a[n]&&(l.disappear&&l.disappear(t),c++,l.reappear||(s[n]=null)),a[n]=!0)}),l.reappear||l.appear&&(!l.appear||u!==t)||l.disappear&&(!l.disappear||c!==t)||(i=!0,d(),l.done&&l.done()))}function g(){var e;if(!o&&(o=!0,l.init&&l.init(),e="function"==typeof l.elements?l.elements():l.elements)){t=e.length;for(var n=0;n<t;n+=1)s.push(e[n]),a.push(!0);p()}}return function(e){l={init:(e=e||{}).init,elements:e.elements,appear:e.appear,disappear:e.disappear,done:e.done,reappear:e.reappear,bounds:e.bounds||0,debounce:e.debounce||50,delta:{speed:e.deltaSpeed||50,timeout:e.deltaTimeout||500}},addEventListener("DOMContentLoaded",g,!1);var t=!1;Function("/*@cc_on return document.documentMode===10@*/")()&&(t=!0);var n="complete"===document.readyState||"loaded"===document.readyState;return t?n&&g():(n||"interactive"===document.readyState)&&g(),{trigger:function(){h()},pause:function(){d()},resume:function(){p()},destroy:function(){s=[],d()}}}}()(t)}}(window)},X=i(85);const Z=require("next/router");var K=function(){return K=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},K.apply(this,arguments)};function J(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Q=i(833),ee=i.n(Q),te="-ms-",ne="-moz-",re="-webkit-",ie="comm",oe="rule",se="decl",ae="@keyframes",ue=Math.abs,ce=String.fromCharCode,le=Object.assign;function fe(e){return e.trim()}function pe(e,t){return(e=t.exec(e))?e[0]:e}function de(e,t,n){return e.replace(t,n)}function he(e,t,n){return e.indexOf(t,n)}function ge(e,t){return 0|e.charCodeAt(t)}function me(e,t,n){return e.slice(t,n)}function ve(e){return e.length}function ye(e){return e.length}function be(e,t){return t.push(e),e}function _e(e,t){return e.filter(function(e){return!pe(e,t)})}var xe=1,we=1,Ee=0,Te=0,Se=0,Re="";function Oe(e,t,n,r,i,o,s,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:xe,column:we,length:s,return:"",siblings:a}}function Ae(e,t){return le(Oe("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Ie(e){for(;e.root;)e=Ae(e.root,{children:[e]});be(e,e.siblings)}function Le(){return Se=Te>0?ge(Re,--Te):0,we--,10===Se&&(we=1,xe--),Se}function Ne(){return Se=Te<Ee?ge(Re,Te++):0,we++,10===Se&&(we=1,xe++),Se}function Ce(){return ge(Re,Te)}function ke(){return Te}function Pe(e,t){return me(Re,e,t)}function je(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 De(e){return fe(Pe(Te-1,$e(91===e?e+2:40===e?e+1:e)))}function ze(e){for(;(Se=Ce())&&Se<33;)Ne();return je(e)>2||je(Se)>3?"":" "}function Me(e,t){for(;--t&&Ne()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return Pe(e,ke()+(t<6&&32==Ce()&&32==Ne()))}function $e(e){for(;Ne();)switch(Se){case e:return Te;case 34:case 39:34!==e&&39!==e&&$e(Se);break;case 40:41===e&&$e(e);break;case 92:Ne()}return Te}function Be(e,t){for(;Ne()&&e+Se!==57&&(e+Se!==84||47!==Ce()););return"/*"+Pe(t,Te-1)+"*"+ce(47===e?e:Ne())}function Ue(e){for(;!je(Ce());)Ne();return Pe(e,Te)}function Fe(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function We(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case se:return e.return=e.return||e.value;case ie:return"";case ae:return e.return=e.value+"{"+Fe(e.children,r)+"}";case oe:if(!ve(e.value=e.props.join(",")))return""}return ve(n=Fe(e.children,r))?e.return=e.value+"{"+n+"}":""}function He(e,t,n){switch(function(e,t){return 45^ge(e,0)?(((t<<2^ge(e,0))<<2^ge(e,1))<<2^ge(e,2))<<2^ge(e,3):0}(e,t)){case 5103:return re+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return re+e+e;case 4789:return ne+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+ne+e+te+e+e;case 5936:switch(ge(e,t+11)){case 114:return re+e+te+de(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+te+de(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+te+de(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return re+e+te+e+e;case 6165:return re+e+te+"flex-"+e+e;case 5187:return re+e+de(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+te+"flex-$1$2")+e;case 5443:return re+e+te+"flex-item-"+de(e,/flex-|-self/g,"")+(pe(e,/flex-|baseline/)?"":te+"grid-row-"+de(e,/flex-|-self/g,""))+e;case 4675:return re+e+te+"flex-line-pack"+de(e,/align-content|flex-|-self/g,"")+e;case 5548:return re+e+te+de(e,"shrink","negative")+e;case 5292:return re+e+te+de(e,"basis","preferred-size")+e;case 6060:return re+"box-"+de(e,"-grow","")+re+e+te+de(e,"grow","positive")+e;case 4554:return re+de(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return de(de(de(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return de(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return de(de(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4200:if(!pe(e,/flex-|baseline/))return te+"grid-column-align"+me(e,t)+e;break;case 2592:case 3360:return te+de(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(e,n){return t=n,pe(e.props,/grid-\w+-end/)})?~he(e+(n=n[t].value),"span",0)?e:te+de(e,"-start","")+e+te+"grid-row-span:"+(~he(n,"span",0)?pe(n,/\d+/):+pe(n,/\d+/)-+pe(e,/\d+/))+";":te+de(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(e){return pe(e.props,/grid-\w+-start/)})?e:te+de(de(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return de(e,/(.+)-inline(.+)/,re+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ve(e)-1-t>6)switch(ge(e,t+1)){case 109:if(45!==ge(e,t+4))break;case 102:return de(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+ne+(108==ge(e,t+3)?"$3":"$2-$3"))+e;case 115:return~he(e,"stretch",0)?He(de(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return de(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,r,i,o,s,a){return te+n+":"+r+a+(i?te+n+"-span:"+(o?s:+s-+r)+a:"")+e});case 4949:if(121===ge(e,t+6))return de(e,":",":"+re)+e;break;case 6444:switch(ge(e,45===ge(e,14)?18:11)){case 120:return de(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+re+(45===ge(e,14)?"inline-":"")+"box$3$1"+re+"$2$3$1"+te+"$2box$3")+e;case 100:return de(e,":",":"+te)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return de(e,"scroll-","scroll-snap-")+e}return e}function qe(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case se:return void(e.return=He(e.value,e.length,n));case ae:return Fe([Ae(e,{value:de(e.value,"@","@"+re)})],r);case oe:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,function(t){switch(pe(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ie(Ae(e,{props:[de(t,/:(read-\w+)/,":-moz-$1")]})),Ie(Ae(e,{props:[t]})),le(e,{props:_e(n,r)});break;case"::placeholder":Ie(Ae(e,{props:[de(t,/:(plac\w+)/,":"+re+"input-$1")]})),Ie(Ae(e,{props:[de(t,/:(plac\w+)/,":-moz-$1")]})),Ie(Ae(e,{props:[de(t,/:(plac\w+)/,te+"input-$1")]})),Ie(Ae(e,{props:[t]})),le(e,{props:_e(n,r)})}return""})}}function Ye(e){return function(e){return Re="",e}(Ge("",null,null,null,[""],e=function(e){return xe=we=1,Ee=ve(Re=e),Te=0,[]}(e),0,[0],e))}function Ge(e,t,n,r,i,o,s,a,u){for(var c=0,l=0,f=s,p=0,d=0,h=0,g=1,m=1,v=1,y=0,b="",_=i,x=o,w=r,E=b;m;)switch(h=y,y=Ne()){case 40:if(108!=h&&58==ge(E,f-1)){-1!=he(E+=de(De(y),"&","&\f"),"&\f",ue(c?a[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:E+=De(y);break;case 9:case 10:case 13:case 32:E+=ze(h);break;case 92:E+=Me(ke()-1,7);continue;case 47:switch(Ce()){case 42:case 47:be(Xe(Be(Ne(),ke()),t,n,u),u);break;default:E+="/"}break;case 123*g:a[c++]=ve(E)*v;case 125*g:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+l:-1==v&&(E=de(E,/\f/g,"")),d>0&&ve(E)-f&&be(d>32?Ze(E+";",r,n,f-1,u):Ze(de(E," ","")+";",r,n,f-2,u),u);break;case 59:E+=";";default:if(be(w=Ve(E,t,n,c,l,i,a,b,_=[],x=[],f,o),o),123===y)if(0===l)Ge(E,t,w,w,_,o,f,a,x);else switch(99===p&&110===ge(E,3)?100:p){case 100:case 108:case 109:case 115:Ge(e,w,w,r&&be(Ve(e,w,w,0,0,i,a,b,i,_=[],f,x),x),i,x,f,a,r?_:x);break;default:Ge(E,w,w,w,[""],x,0,a,x)}}c=l=d=0,g=v=1,b=E="",f=s;break;case 58:f=1+ve(E),d=h;default:if(g<1)if(123==y)--g;else if(125==y&&0==g++&&125==Le())continue;switch(E+=ce(y),y*g){case 38:v=l>0?1:(E+="\f",-1);break;case 44:a[c++]=(ve(E)-1)*v,v=1;break;case 64:45===Ce()&&(E+=De(Ne())),p=Ce(),l=f=ve(b=E+=Ue(ke())),y++;break;case 45:45===h&&2==ve(E)&&(g=0)}}return o}function Ve(e,t,n,r,i,o,s,a,u,c,l,f){for(var p=i-1,d=0===i?o:[""],h=ye(d),g=0,m=0,v=0;g<r;++g)for(var y=0,b=me(e,p+1,p=ue(m=s[g])),_=e;y<h;++y)(_=fe(m>0?d[y]+" "+b:de(b,/&\f/g,d[y])))&&(u[v++]=_);return Oe(e,t,n,0===i?oe:a,u,c,l,f)}function Xe(e,t,n,r){return Oe(e,t,n,ie,ce(Se),me(e,2,-2),0,r)}function Ze(e,t,n,r,i){return Oe(e,t,n,se,me(e,0,r),me(e,r+1,-1),r,i)}var Ke={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},Je="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Qe="active",et="data-styled-version",tt="6.1.11",nt="/*!sc*/\n",rt="undefined"!=typeof window&&"HTMLElement"in window,it=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),ot=(new Set,Object.freeze([])),st=Object.freeze({});var at=new Set(["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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ut=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ct=/(^-|-$)/g;function lt(e){return e.replace(ut,"-").replace(ct,"")}var ft=/(a)(d)/gi,pt=function(e){return String.fromCharCode(e+(e>25?39:97))};function dt(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=pt(t%52)+n;return(pt(t%52)+n).replace(ft,"$1-$2")}var ht,gt=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},mt=function(e){return gt(5381,e)};function vt(e){return"string"==typeof e&&!0}var yt="function"==typeof Symbol&&Symbol.for,bt=yt?Symbol.for("react.memo"):60115,_t=yt?Symbol.for("react.forward_ref"):60112,xt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},wt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Et={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Tt=((ht={})[_t]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ht[bt]=Et,ht);function St(e){return("type"in(t=e)&&t.type.$$typeof)===bt?Et:"$$typeof"in e?Tt[e.$$typeof]:xt;var t}var Rt=Object.defineProperty,Ot=Object.getOwnPropertyNames,At=Object.getOwnPropertySymbols,It=Object.getOwnPropertyDescriptor,Lt=Object.getPrototypeOf,Nt=Object.prototype;function Ct(e,t,n){if("string"!=typeof t){if(Nt){var r=Lt(t);r&&r!==Nt&&Ct(e,r,n)}var i=Ot(t);At&&(i=i.concat(At(t)));for(var o=St(e),s=St(t),a=0;a<i.length;++a){var u=i[a];if(!(u in wt||n&&n[u]||s&&u in s||o&&u in o)){var c=It(t,u);try{Rt(e,u,c)}catch(e){}}}}return e}function kt(e){return"function"==typeof e}function Pt(e){return"object"==typeof e&&"styledComponentId"in e}function jt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Dt(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function zt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Mt(e,t,n){if(void 0===n&&(n=!1),!n&&!zt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=Mt(e[r],t[r]);else if(zt(t))for(var r in t)e[r]=Mt(e[r],t[r]);return e}function $t(e,t){Object.defineProperty(e,"toString",{value:t})}function Bt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var Ut=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw Bt(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var s=this.indexOfGroup(e+1),a=(o=0,t.length);o<a;o++)this.tag.insertRule(s,t[o])&&(this.groupSizes[e]++,s++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+="".concat(this.tag.getRule(o)).concat(nt);return t},e}(),Ft=new Map,Wt=new Map,Ht=1,qt=function(e){if(Ft.has(e))return Ft.get(e);for(;Wt.has(Ht);)Ht++;var t=Ht++;return Ft.set(e,t),Wt.set(t,e),t},Yt=function(e,t){Ht=t+1,Ft.set(e,t),Wt.set(t,e)},Gt="style[".concat(Je,"][").concat(et,'="').concat(tt,'"]'),Vt=new RegExp("^".concat(Je,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Xt=function(e,t,n){for(var r,i=n.split(","),o=0,s=i.length;o<s;o++)(r=i[o])&&e.registerName(t,r)},Zt=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(nt),i=[],o=0,s=r.length;o<s;o++){var a=r[o].trim();if(a){var u=a.match(Vt);if(u){var c=0|parseInt(u[1],10),l=u[2];0!==c&&(Yt(l,c),Xt(e,l,u[3]),e.getTag().insertRules(c,i)),i.length=0}else i.push(a)}}};function Kt(){return i.nc}var Jt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Je,"]")));return t[t.length-1]}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(Je,Qe),r.setAttribute(et,tt);var s=Kt();return s&&r.setAttribute("nonce",s),n.insertBefore(r,o),r},Qt=function(){function e(e){this.element=Jt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw Bt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),en=function(){function e(e){this.element=Jt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),tn=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),nn=rt,rn={isServer:!rt,useCSSOMInjection:!it},on=function(){function e(e,t,n){void 0===e&&(e=st),void 0===t&&(t={});var r=this;this.options=K(K({},rn),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&rt&&nn&&(nn=!1,function(e){for(var t=document.querySelectorAll(Gt),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(Je)!==Qe&&(Zt(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this)),$t(this,function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=function(n){var i=function(e){return Wt.get(e)}(n);if(void 0===i)return"continue";var o=e.names.get(i),s=t.getGroup(n);if(void 0===o||0===s.length)return"continue";var a="".concat(Je,".g").concat(n,'[id="').concat(i,'"]'),u="";void 0!==o&&o.forEach(function(e){e.length>0&&(u+="".concat(e,","))}),r+="".concat(s).concat(a,'{content:"').concat(u,'"}').concat(nt)},o=0;o<n;o++)i(o);return r}(r)})}return e.registerId=function(e){return qt(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(K(K({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new tn(n):t?new Qt(n):new en(n)}(this.options),new Ut(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(qt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(qt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(qt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),sn=/&/g,an=/^\s*\/\/.*$/gm;function un(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=un(e.children,t)),e})}function cn(e){var t,n,r,i=void 0===e?st:e,o=i.options,s=void 0===o?st:o,a=i.plugins,u=void 0===a?ot:a,c=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},l=u.slice();l.push(function(e){e.type===oe&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(sn,n).replace(r,c))}),s.prefix&&l.push(qe),l.push(We);var f=function(e,i,o,a){void 0===i&&(i=""),void 0===o&&(o=""),void 0===a&&(a="&"),t=a,n=i,r=new RegExp("\\".concat(n,"\\b"),"g");var u=e.replace(an,""),c=Ye(o||i?"".concat(o," ").concat(i," { ").concat(u," }"):u);s.namespace&&(c=un(c,s.namespace));var f,p,d,h=[];return Fe(c,(f=l.concat((d=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&d(e)})),p=ye(f),function(e,t,n,r){for(var i="",o=0;o<p;o++)i+=f[o](e,t,n,r)||"";return i})),h};return f.hash=u.length?u.reduce(function(e,t){return t.name||Bt(15),gt(e,t.name)},5381).toString():"",f}var ln=new on,fn=cn(),pn=W().createContext({shouldForwardProp:void 0,styleSheet:ln,stylis:fn}),dn=(pn.Consumer,W().createContext(void 0));function hn(){return(0,U.useContext)(pn)}function gn(e){var t=(0,U.useState)(e.stylisPlugins),n=t[0],r=t[1],i=hn().styleSheet,o=(0,U.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,i]),s=(0,U.useMemo)(function(){return cn({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);(0,U.useEffect)(function(){ee()(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var a=(0,U.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:o,stylis:s}},[e.shouldForwardProp,o,s]);return W().createElement(pn.Provider,{value:a},W().createElement(dn.Provider,{value:s},e.children))}var mn=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=fn);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,$t(this,function(){throw Bt(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=fn),this.name+e.hash},e}(),vn=function(e){return e>="A"&&e<="Z"};function yn(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;vn(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var bn=function(e){return null==e||!1===e||""===e},_n=function(e){var t,n,r=[];for(var i in e){var o=e[i];e.hasOwnProperty(i)&&!bn(o)&&(Array.isArray(o)&&o.isCss||kt(o)?r.push("".concat(yn(i),":"),o,";"):zt(o)?r.push.apply(r,J(J(["".concat(i," {")],_n(o),!1),["}"],!1)):r.push("".concat(yn(i),": ").concat((t=i,null==(n=o)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in Ke||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function xn(e,t,n,r){return bn(e)?[]:Pt(e)?[".".concat(e.styledComponentId)]:kt(e)?!kt(i=e)||i.prototype&&i.prototype.isReactComponent||!t?[e]:xn(e(t),t,n,r):e instanceof mn?n?(e.inject(n,r),[e.getName(r)]):[e]:zt(e)?_n(e):Array.isArray(e)?Array.prototype.concat.apply(ot,e.map(function(e){return xn(e,t,n,r)})):[e.toString()];var i}function wn(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(kt(n)&&!Pt(n))return!1}return!0}var En=mt(tt),Tn=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&wn(e),this.componentId=t,this.baseHash=gt(En,t),this.baseStyle=n,on.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=jt(r,this.staticRulesId);else{var i=Dt(xn(this.rules,e,t,n)),o=dt(gt(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var s=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,s)}r=jt(r,o),this.staticRulesId=o}else{for(var a=gt(this.baseHash,n.hash),u="",c=0;c<this.rules.length;c++){var l=this.rules[c];if("string"==typeof l)u+=l;else if(l){var f=Dt(xn(l,e,t,n));a=gt(a,f+c),u+=f}}if(u){var p=dt(a>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(u,".".concat(p),void 0,this.componentId)),r=jt(r,p)}}return r},e}(),Sn=W().createContext(void 0);Sn.Consumer;var Rn={};function On(e,t,n){var r=Pt(e),i=e,o=!vt(e),s=t.attrs,a=void 0===s?ot:s,u=t.componentId,c=void 0===u?function(e,t){var n="string"!=typeof e?"sc":lt(e);Rn[n]=(Rn[n]||0)+1;var r="".concat(n,"-").concat(function(e){return dt(mt(e)>>>0)}(tt+n+Rn[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):u,l=t.displayName,f=void 0===l?function(e){return vt(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):l,p=t.displayName&&t.componentId?"".concat(lt(t.displayName),"-").concat(t.componentId):t.componentId||c,d=r&&i.attrs?i.attrs.concat(a).filter(Boolean):a,h=t.shouldForwardProp;if(r&&i.shouldForwardProp){var g=i.shouldForwardProp;if(t.shouldForwardProp){var m=t.shouldForwardProp;h=function(e,t){return g(e,t)&&m(e,t)}}else h=g}var v=new Tn(n,p,r?i.componentStyle:void 0);function y(e,t){return function(e,t,n){var r=e.attrs,i=e.componentStyle,o=e.defaultProps,s=e.foldedComponentIds,a=e.styledComponentId,u=e.target,c=W().useContext(Sn),l=hn(),f=e.shouldForwardProp||l.shouldForwardProp,p=function(e,t,n){return void 0===n&&(n=st),e.theme!==n.theme&&e.theme||t||n.theme}(t,c,o)||st,d=function(e,t,n){for(var r,i=K(K({},t),{className:void 0,theme:n}),o=0;o<e.length;o+=1){var s=kt(r=e[o])?r(i):r;for(var a in s)i[a]="className"===a?jt(i[a],s[a]):"style"===a?K(K({},i[a]),s[a]):s[a]}return t.className&&(i.className=jt(i.className,t.className)),i}(r,t,p),h=d.as||u,g={};for(var m in d)void 0===d[m]||"$"===m[0]||"as"===m||"theme"===m&&d.theme===p||("forwardedAs"===m?g.as=d.forwardedAs:f&&!f(m,h)||(g[m]=d[m]));var v=function(e,t){var n=hn();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(i,d),y=jt(s,a);return v&&(y+=" "+v),d.className&&(y+=" "+d.className),g[vt(h)&&!at.has(h)?"class":"className"]=y,g.ref=n,(0,U.createElement)(h,g)}(b,e,t)}y.displayName=f;var b=W().forwardRef(y);return b.attrs=d,b.componentStyle=v,b.displayName=f,b.shouldForwardProp=h,b.foldedComponentIds=r?jt(i.foldedComponentIds,i.styledComponentId):"",b.styledComponentId=p,b.target=r?i.target:e,Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++)Mt(e,i[r],!0);return e}({},i.defaultProps,e):e}}),$t(b,function(){return".".concat(b.styledComponentId)}),o&&Ct(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),b}function An(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}new Set;var In=function(e){return Object.assign(e,{isCss:!0})};function Ln(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(kt(e)||zt(e))return In(xn(An(ot,J([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?xn(r):In(xn(An(r,t)))}function Nn(e,t,n){if(void 0===n&&(n=st),!t)throw Bt(1,t);var r=function(r){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return e(t,n,Ln.apply(void 0,J([r],i,!1)))};return r.attrs=function(r){return Nn(e,t,K(K({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return Nn(e,t,K(K({},n),r))},r}var Cn=function(e){return Nn(On,e)},kn=Cn;at.forEach(function(e){kn[e]=Cn(e)}),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=wn(e),on.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,n,r){var i=r(Dt(xn(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&on.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=Kt(),r=Dt([n&&'nonce="'.concat(n,'"'),"".concat(Je,'="true"'),"".concat(et,'="').concat(tt,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw Bt(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw Bt(2);var n=((t={})[Je]="",t[et]=tt,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=Kt();return r&&(n.nonce=r),[W().createElement("style",K({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new on({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw Bt(2);return W().createElement(gn,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw Bt(3)}}(),"__sc-".concat(Je,"__");var Pn,jn,Dn,zn=kn.div(Pn||(jn=["\n display: flex;\n flex-direction: row;\n justify-content: start;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: start;\n align-items: center;\n box-sizing: border-box;\n cursor: pointer;\n border-radius: 8px;\n height: auto;\n &.hide-arrow {\n > .icon {\n display: none;\n }\n > .text {\n padding-left: 8px;\n }\n }\n > .icon {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 30px;\n height: 30px;\n &.open {\n rotate: 90deg;\n }\n &.hide {\n user-select: none;\n opacity: 0;\n }\n }\n > .text {\n display: flex;\n flex-direction: row;\n justify-content: start;\n align-items: center;\n width: auto;\n height: 30px;\n padding: 8px;\n padding-left: 0px;\n flex: 1;\n }\n &:hover {\n background-color: #0000000a;\n }\n"],Dn=["\n display: flex;\n flex-direction: row;\n justify-content: start;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: start;\n align-items: center;\n box-sizing: border-box;\n cursor: pointer;\n border-radius: 8px;\n height: auto;\n &.hide-arrow {\n > .icon {\n display: none;\n }\n > .text {\n padding-left: 8px;\n }\n }\n > .icon {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 30px;\n height: 30px;\n &.open {\n rotate: 90deg;\n }\n &.hide {\n user-select: none;\n opacity: 0;\n }\n }\n > .text {\n display: flex;\n flex-direction: row;\n justify-content: start;\n align-items: center;\n width: auto;\n height: 30px;\n padding: 8px;\n padding-left: 0px;\n flex: 1;\n }\n &:hover {\n background-color: #0000000a;\n }\n"],Object.defineProperty?Object.defineProperty(jn,"raw",{value:Dn}):jn.raw=Dn,Pn=jn)),Mn=function(e){var t,n,r=e.item,i=e.level,o=e.onClick,s=e.itemWrapper,a=e.isRoot,u=(0,Z.useRouter)(),c=location.pathname.slice(0,-1),l=location.pathname.startsWith(r.pagePath)&&c!==r.pagePath,f=(0,U.useState)(l),p=f[0],d=f[1],h=s,g=a?r.pagePath.split("/").slice(0,-1).join("/"):void 0,m=u.asPath===r.pagePath||g===u.asPath;return(0,X.jsxs)(X.Fragment,{children:[h?(0,X.jsx)(h,{properties:{title:r.name,isSelected:m},events:{click:function(){o?o(r.pagePath):u.push(r.pagePath)}},style:{paddingLeft:"".concat(15*i,"px")}}):(0,X.jsxs)(zn,{style:{paddingLeft:"".concat(15*i,"px")},children:[(0,X.jsx)("div",{onClick:function(){return d(!p)},className:"icon ".concat(p?"open":"close"),children:(null===(t=r.children)||void 0===t?void 0:t.length)?(0,X.jsxs)("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,X.jsx)("path",{d:"M0.0854187 1.36887L0.746734 0.696899L6.09215 5.95757L5.43083 6.62954L0.0854187 1.36887Z",fill:"black"}),(0,X.jsx)("path",{d:"M5.42025 5.29636L6.09215 5.95757L0.831473 11.3032L0.159501 10.6419L5.42025 5.29636Z",fill:"black"})]}):(0,X.jsx)("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,X.jsx)("circle",{cx:"3.44977",cy:"2.93213",r:"2",stroke:"#666666"})})}),(0,X.jsx)("div",{onClick:function(){o?o(r.pagePath):u.push(r.pagePath)},className:"text",children:r.name})]}),!!(null===(n=r.children)||void 0===n?void 0:n.length)&&p&&(0,X.jsx)($n,{onClick:o,list:r.children,level:i+1,itemWrapper:s})]})},$n=function(e){return(0,X.jsx)(X.Fragment,{children:e.list.map(function(t,n){return(0,X.jsx)(Mn,{item:t,onClick:e.onClick,level:e.level,itemWrapper:e.itemWrapper,isRoot:0===n&&e.isRoot},t.pagePath)})})},Bn=function(e){return(0,X.jsx)(X.Fragment,{children:(0,X.jsx)($n,{onClick:e.onClick,list:e.list,level:0,itemWrapper:e.itemWrapper,isRoot:!0})})},Un=Object.defineProperty,Fn=(e,t)=>()=>(e&&(t=e(e=0)),t),Wn=(e,t)=>{for(var n in t)Un(e,n,{get:t[n],enumerable:!0})},Hn={};Wn(Hn,{default:()=>qn});var qn,Yn=Fn(()=>{qn=[{type:"cmnt",match:/(;|#).*/gm},{expand:"str"},{expand:"num"},{type:"num",match:/\$[\da-fA-F]*\b/g},{type:"kwd",match:/^[a-z]+\s+[a-z.]+\b/gm,sub:[{type:"func",match:/^[a-z]+/g}]},{type:"kwd",match:/^\t*[a-z][a-z\d]*\b/gm},{match:/%|\$/g,type:"oper"}]}),Gn={};Wn(Gn,{default:()=>Xn});var Vn,Xn,Zn=Fn(()=>{Xn=[{sub:"todo",match:/#.*/g},{type:"str",match:/(["'])((?!\1)[^\r\n\\]|\\[^])*\1?/g,sub:[Vn={type:"var",match:/\$\w+|\${[^}]*}|\$\([^)]*\)/g}]},{type:"oper",match:/(?<=\s|^)\.*\/[a-z/_.-]+/gi},{type:"kwd",match:/\s-[a-zA-Z]+|$<|[&|;]+|\b(unset|readonly|shift|export|if|fi|else|elif|while|do|done|for|until|case|esac|break|continue|exit|return|trap|wait|eval|exec|then|declare|enable|local|select|typeset|time|add|remove|install|update|delete)(?=\s|$)/g},{expand:"num"},{type:"func",match:/(?<=(^|\||\&\&|\;)\s*)[a-z_.-]+(?=\s|$)/gim},{type:"bool",match:/(?<=\s|^)(true|false)(?=\s|$)/g},{type:"oper",match:/[=(){}<>!]+/g},{type:"var",match:/(?<=\s|^)[\w_]+(?=\s*=)/g},Vn]}),Kn={};Wn(Kn,{default:()=>Jn});var Jn,Qn=Fn(()=>{Jn=[{match:/[^\[\->+.<\]\s].*/g,sub:"todo"},{type:"func",match:/\.+/g},{type:"kwd",match:/[<>]+/g},{type:"oper",match:/[+-]+/g}]}),er={};Wn(er,{default:()=>tr});var tr,nr=Fn(()=>{tr=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/#\s*include (<.*>|".*")/g,sub:[{type:"str",match:/(<|").*/g}]},{match:/asm\s*{[^}]*}/g,sub:[{type:"kwd",match:/^asm/g},{match:/[^{}]*(?=}$)/g,sub:"asm"}]},{type:"kwd",match:/\*|&|#[a-z]+\b|\b(asm|auto|double|int|struct|break|else|long|switch|case|enum|register|typedef|char|extern|return|union|const|float|short|unsigned|continue|for|signed|void|default|goto|sizeof|volatile|do|if|static|while)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/\b[A-Z][\w_]*\b/g}]}),rr={};Wn(rr,{default:()=>ir});var ir,or=Fn(()=>{ir=[{match:/\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{type:"kwd",match:/@\w+\b|\b(and|not|only|or)\b|\b[a-z-]+(?=[^{}]*{)/g},{type:"var",match:/\b[\w-]+(?=\s*:)|(::?|\.)[\w-]+(?=[^{}]*{)/g},{type:"func",match:/#[\w-]+(?=[^{}]*{)/g},{type:"num",match:/#[\da-f]{3,8}/g},{type:"num",match:/\d+(\.\d+)?(cm|mm|in|px|pt|pc|em|ex|ch|rem|vm|vh|vmin|vmax|%)?/g,sub:[{type:"var",match:/[a-z]+|%/g}]},{match:/url\([^)]*\)/g,sub:[{type:"func",match:/url(?=\()/g},{type:"str",match:/[^()]+/g}]},{type:"func",match:/\b[a-zA-Z]\w*(?=\s*\()/g},{type:"num",match:/\b[a-z-]+\b/g}]}),sr={};Wn(sr,{default:()=>ar});var ar,ur=Fn(()=>{ar=[{expand:"strDouble"},{type:"oper",match:/,/g}]}),cr={};Wn(cr,{default:()=>lr});var lr,fr=Fn(()=>{lr=[{type:"deleted",match:/^[-<].*/gm},{type:"insert",match:/^[+>].*/gm},{type:"kwd",match:/!.*/gm},{type:"section",match:/^@@.*@@$|^\d.*|^([*-+])\1\1.*/gm}]}),pr={};Wn(pr,{default:()=>dr});var dr,hr=Fn(()=>{Zn(),dr=[{type:"kwd",match:/^(FROM|RUN|CMD|LABEL|MAINTAINER|EXPOSE|ENV|ADD|COPY|ENTRYPOINT|VOLUME|USER|WORKDIR|ARG|ONBUILD|STOPSIGNAL|HEALTHCHECK|SHELL)\b/gim},...Xn]}),gr={};Wn(gr,{default:()=>mr});var mr,vr=Fn(()=>{fr(),mr=[{match:/^#.*/gm,sub:"todo"},{expand:"str"},...lr,{type:"func",match:/^(\$ )?git(\s.*)?$/gm},{type:"kwd",match:/^commit \w+$/gm}]}),yr={};Wn(yr,{default:()=>br});var br,_r=Fn(()=>{br=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\*|&|\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go|goto|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/\b[A-Z][\w_]*\b/g},{type:"oper",match:/[+\-*\/%&|^~=!<>.^-]+/g}]}),xr={};Wn(xr,{default:()=>Sr,name:()=>wr,properties:()=>Er,xmlElement:()=>Tr});var wr,Er,Tr,Sr,Rr=Fn(()=>{Er=`\\s*(\\s+${wr=`[${":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�"}][:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\\-\\.0-9·̀-ͯ‿-⁀]*`}\\s*(=\\s*([^"']\\S*|("|')(\\\\[^]|(?!\\4)[^])*\\4?)?)?\\s*)*`,Tr={match:RegExp(`<[/!?]?${wr}${Er}[/!?]?>`,"g"),sub:[{type:"var",match:RegExp(`^<[/!?]?${wr}`,"g"),sub:[{type:"oper",match:/^<[\/!?]?/g}]},{type:"str",match:/=\s*([^"']\S*|("|')(\\[^]|(?!\2)[^])*\2?)/g,sub:[{type:"oper",match:/^=/g}]},{type:"oper",match:/[\/!?]?>/g},{type:"class",match:RegExp(wr,"g")}]},Sr=[{match:/<!--((?!-->)[^])*-->/g,sub:"todo"},{type:"class",match:/<!\[CDATA\[[\s\S]*?\]\]>/gi},Tr,{type:"str",match:RegExp(`<\\?${wr}([^?]|\\?[^?>])*\\?+>`,"g"),sub:[{type:"var",match:RegExp(`^<\\?${wr}`,"g"),sub:[{type:"oper",match:/^<\?/g}]},{type:"oper",match:/\?+>$/g}]},{type:"var",match:/&(#x?)?[\da-z]{1,8};/gi}]}),Or={};Wn(Or,{default:()=>Ar});var Ar,Ir,Lr,Nr=Fn(()=>{Rr(),Ar=[{type:"class",match:/<!DOCTYPE("[^"]*"|'[^']*'|[^"'>])*>/gi,sub:[{type:"str",match:/"[^"]*"|'[^']*'/g},{type:"oper",match:/^<!|>$/g},{type:"var",match:/DOCTYPE/gi}]},{match:RegExp(`<style${Er}>((?!</style>)[^])*</style\\s*>`,"g"),sub:[{match:RegExp(`^<style${Er}>`,"g"),sub:Tr.sub},{match:RegExp(`${Tr.match}|[^]*(?=</style\\s*>$)`,"g"),sub:"css"},Tr]},{match:RegExp(`<script${Er}>((?!<\/script>)[^])*</script\\s*>`,"g"),sub:[{match:RegExp(`^<script${Er}>`,"g"),sub:Tr.sub},{match:RegExp(`${Tr.match}|[^]*(?=</script\\s*>$)`,"g"),sub:"js"},Tr]},...Sr]}),Cr=Fn(()=>{Ir=[["bash",[/#!(\/usr)?\/bin\/bash/g,500],[/\b(if|elif|then|fi|echo)\b|\$/g,10]],["html",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^\s+<!DOCTYPE\s+html/g,500]],["http",[/^(GET|HEAD|POST|PUT|DELETE|PATCH|HTTP)\b/g,500]],["js",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require)\b/g,10]],["ts",[/\b(console|await|async|function|export|import|this|class|for|let|const|map|join|require|implements|interface|namespace)\b/g,10]],["py",[/\b(def|print|class|and|or|lambda)\b/g,10]],["sql",[/\b(SELECT|INSERT|FROM)\b/g,50]],["pl",[/#!(\/usr)?\/bin\/perl/g,500],[/\b(use|print)\b|\$/g,10]],["lua",[/#!(\/usr)?\/bin\/lua/g,500]],["make",[/\b(ifneq|endif|if|elif|then|fi|echo|.PHONY|^[a-z]+ ?:$)\b|\$/gm,10]],["uri",[/https?:|mailto:|tel:|ftp:/g,30]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["diff",[/^[+><-]/gm,10],[/^@@ ?[-+,0-9 ]+ ?@@/gm,25]],["md",[/^(>|\t\*|\t\d+.)/gm,10],[/\[.*\](.*)/g,10]],["docker",[/^(FROM|ENTRYPOINT|RUN)/gm,500]],["xml",[/<\/?[a-z-]+[^\n>]*>/g,10],[/^<\?xml/g,500]],["c",[/#include\b|\bprintf\s+\(/g,100]],["rs",[/^\s+(use|fn|mut|match)\b/gm,100]],["go",[/\b(func|fmt|package)\b/g,100]],["java",[/^import\s+java/gm,500]],["asm",[/^(section|global main|extern|\t(call|mov|ret))/gm,100]],["css",[/^(@import|@page|@media|(\.|#)[a-z]+)/gm,20]],["json",[/\b(true|false|null|\{})\b|\"[^"]+\":/g,10]],["yaml",[/^(\s+)?[a-z][a-z0-9]*:/gim,10]]],Lr=e=>Ir.map(([t,...n])=>[t,n.reduce((t,[n,r])=>t+[...e.matchAll(n)].length*r,0)]).filter(([e,t])=>t>20).sort((e,t)=>t[1]-e[1])[0]?.[0]||"plain"}),kr={};Wn(kr,{default:()=>Pr});var Pr,jr=Fn(()=>{Cr(),Pr=[{type:"kwd",match:/^(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH|PRI|SEARCH)\b/gm},{expand:"str"},{type:"section",match:/\bHTTP\/[\d.]+\b/g},{expand:"num"},{type:"oper",match:/[,;:=]/g},{type:"var",match:/[a-zA-Z][\w-]*(?=:)/g},{match:/\n\n[^]*/g,sub:Lr}]}),Dr={};Wn(Dr,{default:()=>zr});var zr,Mr=Fn(()=>{zr=[{match:/(^[ \f\t\v]*)[#;].*/gm,sub:"todo"},{type:"str",match:/.*/g},{type:"var",match:/.*(?==)/g},{type:"section",match:/^\s*\[.+\]\s*$/gm},{type:"oper",match:/=/g}]}),$r={};Wn($r,{default:()=>Br});var Br,Ur=Fn(()=>{Br=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\b(abstract|assert|boolean|break|byte|case|catch|char|class|continue|const|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|package|private|protected|public|requires|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|transient|try|var|void|volatile|while)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*\()/g},{type:"class",match:/\b[A-Z][\w_]*\b/g}]}),Fr={};Wn(Fr,{default:()=>Wr});var Wr,Hr=Fn(()=>{Wr=[{match:/\/\*\*((?!\*\/)[^])*(\*\/)?/g,sub:"jsdoc"},{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{match:/`((?!`)[^]|\\[^])*`?/g,sub:"js_template_literals"},{type:"kwd",match:/=>|\b(this|set|get|as|async|await|break|case|catch|class|const|constructor|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|if|implements|import|in|instanceof|interface|let|var|of|new|package|private|protected|public|return|static|super|switch|throw|throws|try|typeof|void|while|with|yield)\b/g},{match:/\/((?!\/)[^\r\n\\]|\\.)+\/[dgimsuy]*/g,sub:"regex"},{expand:"num"},{type:"num",match:/\b(NaN|null|undefined|[A-Z][A-Z_]*)\b/g},{type:"bool",match:/\b(true|false)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"class",match:/\b[A-Z][\w_]*\b/g},{type:"func",match:/[a-zA-Z$_][\w$_]*(?=\s*((\?\.)?\s*\(|=\s*(\(?[\w,{}\[\])]+\)? =>|function\b)))/g}]}),qr={};Wn(qr,{default:()=>Yr,type:()=>Gr});var Yr,Gr,Vr=Fn(()=>{Yr=[{match:new class{exec(e){let t,n=this.lastIndex,r=t=>{for(;++n<e.length-2;)if("{"==e[n])r();else if("}"==e[n])return};for(;n<e.length;++n)if("\\"!=e[n-1]&&"$"==e[n]&&"{"==e[n+1])return t=n++,r(n),this.lastIndex=n+1,{index:t,0:e.slice(t,n+1)};return null}},sub:[{type:"kwd",match:/^\${|}$/g},{match:/(?!^\$|{)[^]+(?=}$)/g,sub:"js"}]}],Gr="str"}),Xr={};Wn(Xr,{default:()=>Zr,type:()=>Kr});var Zr,Kr,Jr=Fn(()=>{Zr=[{type:"err",match:/\b(TODO|FIXME|DEBUG|OPTIMIZE|WARNING|XXX|BUG)\b/g},{type:"class",match:/\bIDEA\b/g},{type:"insert",match:/\b(CHANGED|FIX|CHANGE)\b/g},{type:"oper",match:/\bQUESTION\b/g}],Kr="cmnt"}),Qr={};Wn(Qr,{default:()=>ei,type:()=>ti});var ei,ti,ni=Fn(()=>{Jr(),ei=[{type:"kwd",match:/@\w+/g},{type:"class",match:/{[\w\s|<>,.@\[\]]+}/g},{type:"var",match:/\[[\w\s="']+\]/g},...Zr],ti="cmnt"}),ri={};Wn(ri,{default:()=>ii});var ii,oi=Fn(()=>{ii=[{type:"var",match:/("|')?[a-zA-Z]\w*\1(?=\s*:)/g},{expand:"str"},{expand:"num"},{type:"num",match:/\bnull\b/g},{type:"bool",match:/\b(true|false)\b/g}]}),si={};Wn(si,{default:()=>ai});var ai,ui=Fn(()=>{Cr(),ai=[{type:"cmnt",match:/^>.*|(=|-)\1+/gm},{type:"class",match:/\*\*((?!\*\*).)*\*\*/g},{match:/```((?!```)[^])*\n```/g,sub:e=>({type:"kwd",sub:[{match:/\n[^]*(?=```)/g,sub:e.split("\n")[0].slice(3)||Lr(e)}]})},{type:"str",match:/`[^`]*`/g},{type:"var",match:/~~((?!~~).)*~~/g},{type:"kwd",match:/_[^_]*_|\*[^*]*\*/g},{type:"kwd",match:/^\s*(\*|\d+\.)\s/gm},{type:"oper",match:/\[[^\]]*]/g},{type:"func",match:/\([^)]*\)/g}]}),ci={};Wn(ci,{default:()=>li});var li,fi=Fn(()=>{ui(),Cr(),li=[{type:"insert",match:/(leanpub-start-insert)((?!leanpub-end-insert)[^])*(leanpub-end-insert)?/g,sub:[{type:"insert",match:/leanpub-(start|end)-insert/g},{match:/(?!leanpub-start-insert)((?!leanpub-end-insert)[^])*/g,sub:Lr}]},{type:"deleted",match:/(leanpub-start-delete)((?!leanpub-end-delete)[^])*(leanpub-end-delete)?/g,sub:[{type:"deleted",match:/leanpub-(start|end)-delete/g},{match:/(?!leanpub-start-delete)((?!leanpub-end-delete)[^])*/g,sub:Lr}]},...ai]}),pi={};Wn(pi,{default:()=>di});var di,hi=Fn(()=>{di=[{type:"cmnt",match:/^#.*/gm},{expand:"strDouble"},{expand:"num"},{type:"err",match:/\b(err(or)?|[a-z_-]*exception|warn|warning|failed|ko|invalid|not ?found|alert|fatal)\b/gi},{type:"num",match:/\b(null|undefined)\b/gi},{type:"bool",match:/\b(false|true|yes|no)\b/gi},{type:"oper",match:/\.|,/g}]}),gi={};Wn(gi,{default:()=>mi});var mi,vi=Fn(()=>{mi=[{match:/^#!.*|--(\[(=*)\[((?!--\]\2\])[^])*--\]\2\]|.*)/g,sub:"todo"},{expand:"str"},{type:"kwd",match:/\b(and|break|do|else|elseif|end|for|function|if|in|local|not|or|repeat|return|then|until|while)\b/g},{type:"bool",match:/\b(true|false|nil)\b/g},{type:"oper",match:/[+*/%^#=~<>:,.-]+/g},{expand:"num"},{type:"func",match:/[a-z_]+(?=\s*[({])/g}]}),yi={};Wn(yi,{default:()=>bi});var bi,_i=Fn(()=>{bi=[{match:/^\s*#.*/gm,sub:"todo"},{expand:"str"},{type:"oper",match:/[${}()]+/g},{type:"class",match:/.PHONY:/gm},{type:"section",match:/^[\w.]+:/gm},{type:"kwd",match:/\b(ifneq|endif)\b/g},{expand:"num"},{type:"var",match:/[A-Z_]+(?=\s*=)/g},{match:/^.*$/gm,sub:"bash"}]}),xi={};Wn(xi,{default:()=>wi});var wi,Ei=Fn(()=>{wi=[{match:/#.*/g,sub:"todo"},{type:"str",match:/(["'])(\\[^]|(?!\1)[^])*\1?/g},{expand:"num"},{type:"kwd",match:/\b(any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while|not|and|or|xor)\b/g},{type:"oper",match:/[-+*/%~!&<>|=?,]+/g},{type:"func",match:/[a-z_]+(?=\s*\()/g}]}),Ti={};Wn(Ti,{default:()=>Si});var Si,Ri=Fn(()=>{Si=[{expand:"strDouble"}]}),Oi={};Wn(Oi,{default:()=>Ai});var Ai,Ii=Fn(()=>{Ai=[{match:/#.*/g,sub:"todo"},{match:/("""|''')(\\[^]|(?!\1)[^])*\1?/g,sub:"todo"},{type:"str",match:/f("|')(\\[^]|(?!\1).)*\1?|f((["'])\4\4)(\\[^]|(?!\3)[^])*\3?/gi,sub:[{type:"var",match:/{[^{}]*}/g,sub:[{match:/(?!^{)[^]*(?=}$)/g,sub:"py"}]}]},{expand:"str"},{type:"kwd",match:/\b(and|as|assert|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|raise|return|try|while|with|yield)\b/g},{type:"bool",match:/\b(False|True|None)\b/g},{expand:"num"},{type:"func",match:/[a-z_]+(?=\s*\()/g},{type:"oper",match:/[-/*+<>,=!&|^%]+/g},{type:"class",match:/\b[A-Z][\w_]*\b/g}]}),Li={};Wn(Li,{default:()=>Ni,type:()=>Ci});var Ni,Ci,ki=Fn(()=>{Ni=[{match:/^(?!\/).*/gm,sub:"todo"},{type:"num",match:/\[((?!\])[^\\]|\\.)*\]/g},{type:"kwd",match:/\||\^|\$|\\.|\w+($|\r|\n)/g},{type:"var",match:/\*|\+|\{\d+,\d+\}/g}],Ci="oper"}),Pi={};Wn(Pi,{default:()=>ji});var ji,Di=Fn(()=>{ji=[{match:/\/\/.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{expand:"num"},{type:"kwd",match:/\b(as|break|const|continue|crate|else|enum|extern|false|fn|for|if|impl|in|let|loop|match|mod|move|mut|pub|ref|return|self|Self|static|struct|super|trait|true|type|unsafe|use|where|while|async|await|dyn|abstract|become|box|do|final|macro|override|priv|typeof|unsized|virtual|yield|try)\b/g},{type:"oper",match:/[/*+:?&|%^~=!,<>.^-]+/g},{type:"class",match:/\b[A-Z][\w_]*\b/g},{type:"func",match:/[a-zA-Z_][\w_]*(?=\s*!?\s*\()/g}]}),zi={};Wn(zi,{default:()=>Mi});var Mi,$i=Fn(()=>{Mi=[{match:/--.*\n?|\/\*((?!\*\/)[^])*(\*\/)?/g,sub:"todo"},{expand:"str"},{type:"func",match:/\b(AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/g},{type:"kwd",match:/\b(ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|kwdS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/g},{type:"num",match:/\.?\d[\d.oxa-fA-F-]*|\bNULL\b/g},{type:"bool",match:/\b(TRUE|FALSE)\b/g},{type:"oper",match:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/g},{type:"var",match:/@\S+/g}]}),Bi={};Wn(Bi,{default:()=>Ui});var Ui,Fi=Fn(()=>{Ui=[{match:/#.*/g,sub:"todo"},{type:"str",match:/("""|''')((?!\1)[^]|\\[^])*\1?/g},{expand:"str"},{type:"section",match:/^\[.+\]\s*$/gm},{type:"num",match:/\b(inf|nan)\b|\d[\d:ZT.-]*/g},{expand:"num"},{type:"bool",match:/\b(true|false)\b/g},{type:"oper",match:/[+,.=-]/g},{type:"var",match:/\w+(?= \=)/g}]}),Wi={};Wn(Wi,{default:()=>Hi});var Hi,qi=Fn(()=>{Hr(),Hi=[{type:"type",match:/:\s*(any|void|number|boolean|string|object|never|enum)\b/g},{type:"kwd",match:/\b(type|namespace|typedef|interface|public|private|protected|implements|declare|abstract|readonly)\b/g},...Wr]}),Yi={};Wn(Yi,{default:()=>Gi});var Gi,Vi=Fn(()=>{Gi=[{match:/^#.*/gm,sub:"todo"},{type:"class",match:/^\w+(?=:?)/gm},{type:"num",match:/:\d+/g},{type:"oper",match:/[:/&?]|\w+=/g},{type:"func",match:/[.\w]+@|#[\w]+$/gm},{type:"var",match:/\w+\.\w+(\.\w+)*/g}]}),Xi={};Wn(Xi,{default:()=>Zi});var Zi,Ki,Ji=Fn(()=>{Zi=[{match:/#.*/g,sub:"todo"},{expand:"str"},{type:"str",match:/(>|\|)\r?\n((\s[^\n]*)?(\r?\n|$))*/g},{type:"type",match:/!![a-z]+/g},{type:"bool",match:/\b(Yes|No)\b/g},{type:"oper",match:/[+:-]/g},{expand:"num"},{type:"var",match:/[a-zA-Z]\w*(?=:)/g}]}),Qi={num:{type:"num",match:/(\.e?|\b)\d(e-|[\d.oxa-fA-F_])*(\.|\b)/g},str:{type:"str",match:/(["'])(\\[^]|(?!\1)[^\r\n\\])*\1?/g},strDouble:{type:"str",match:/"((?!")[^\r\n\\]|\\[^])*"?/g}},eo=(Ki={"./languages/asm.js":()=>Promise.resolve().then(()=>(Yn(),Hn)),"./languages/bash.js":()=>Promise.resolve().then(()=>(Zn(),Gn)),"./languages/bf.js":()=>Promise.resolve().then(()=>(Qn(),Kn)),"./languages/c.js":()=>Promise.resolve().then(()=>(nr(),er)),"./languages/css.js":()=>Promise.resolve().then(()=>(or(),rr)),"./languages/csv.js":()=>Promise.resolve().then(()=>(ur(),sr)),"./languages/diff.js":()=>Promise.resolve().then(()=>(fr(),cr)),"./languages/docker.js":()=>Promise.resolve().then(()=>(hr(),pr)),"./languages/git.js":()=>Promise.resolve().then(()=>(vr(),gr)),"./languages/go.js":()=>Promise.resolve().then(()=>(_r(),yr)),"./languages/html.js":()=>Promise.resolve().then(()=>(Nr(),Or)),"./languages/http.js":()=>Promise.resolve().then(()=>(jr(),kr)),"./languages/ini.js":()=>Promise.resolve().then(()=>(Mr(),Dr)),"./languages/java.js":()=>Promise.resolve().then(()=>(Ur(),$r)),"./languages/js.js":()=>Promise.resolve().then(()=>(Hr(),Fr)),"./languages/js_template_literals.js":()=>Promise.resolve().then(()=>(Vr(),qr)),"./languages/jsdoc.js":()=>Promise.resolve().then(()=>(ni(),Qr)),"./languages/json.js":()=>Promise.resolve().then(()=>(oi(),ri)),"./languages/leanpub-md.js":()=>Promise.resolve().then(()=>(fi(),ci)),"./languages/log.js":()=>Promise.resolve().then(()=>(hi(),pi)),"./languages/lua.js":()=>Promise.resolve().then(()=>(vi(),gi)),"./languages/make.js":()=>Promise.resolve().then(()=>(_i(),yi)),"./languages/md.js":()=>Promise.resolve().then(()=>(ui(),si)),"./languages/pl.js":()=>Promise.resolve().then(()=>(Ei(),xi)),"./languages/plain.js":()=>Promise.resolve().then(()=>(Ri(),Ti)),"./languages/py.js":()=>Promise.resolve().then(()=>(Ii(),Oi)),"./languages/regex.js":()=>Promise.resolve().then(()=>(ki(),Li)),"./languages/rs.js":()=>Promise.resolve().then(()=>(Di(),Pi)),"./languages/sql.js":()=>Promise.resolve().then(()=>($i(),zi)),"./languages/todo.js":()=>Promise.resolve().then(()=>(Jr(),Xr)),"./languages/toml.js":()=>Promise.resolve().then(()=>(Fi(),Bi)),"./languages/ts.js":()=>Promise.resolve().then(()=>(qi(),Wi)),"./languages/uri.js":()=>Promise.resolve().then(()=>(Vi(),Yi)),"./languages/xml.js":()=>Promise.resolve().then(()=>(Rr(),xr)),"./languages/yaml.js":()=>Promise.resolve().then(()=>(Ji(),Xi))},e=>{var t=Ki[e];if(t)return t();throw new Error("Module not found in bundle: "+e)}),to={};async function no(e,t,n){try{let r,i,o,s={},a=[],u=0,c="string"==typeof t?await(to[t]??(to[t]=eo(`./languages/${t}.js`))):t,l=[..."string"==typeof t?c.default:t.sub];for(;u<e.length;){for(s.index=null,r=l.length;r-- >0;){if(i=l[r].expand?Qi[l[r].expand]:l[r],void 0===a[r]||a[r].match.index<u){if(i.match.lastIndex=u,o=i.match.exec(e),null===o){l.splice(r,1),a.splice(r,1);continue}a[r]={match:o,lastIndex:i.match.lastIndex}}a[r].match[0]&&(a[r].match.index<=s.index||null===s.index)&&(s={part:i,index:a[r].match.index,match:a[r].match[0],end:a[r].lastIndex})}if(null===s.index)break;n(e.slice(u,s.index),c.type),u=s.end,s.part.sub?await no(s.match,"string"==typeof s.part.sub?s.part.sub:"function"==typeof s.part.sub?s.part.sub(s.match):s.part,n):n(s.match,s.part.type)}n(e.slice(u,e.length),c.type)}catch{n(e)}}async function ro(e,t,n=!0,r={}){let i="";return await no(e,t,(e,t)=>i+=((e,t)=>t?`<span class="shj-syn-${t}">${e}</span>`:e)(((e="")=>e.replaceAll("&","&#38;").replaceAll?.("<","&lt;").replaceAll?.(">","&gt;"))(e),t)),n?`<div><div class="shj-numbers">${"<div></div>".repeat(!r.hideLineNumbers&&e.split("\n").length)}</div><div>${i}</div></div>`:i}var io,oo,so=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},ao=kn.div(uo||(uo=so(["\n position: relative;\n display: block;\n flex-direction: row;\n user-select: none;\n"],["\n position: relative;\n display: block;\n flex-direction: row;\n user-select: none;\n"])));!function(e){e[e.HEADLINE_1=0]="HEADLINE_1",e[e.HEADLINE_2=1]="HEADLINE_2",e[e.HEADLINE_3=2]="HEADLINE_3",e[e.HEADLINE_4=3]="HEADLINE_4",e[e.HEADLINE_5=4]="HEADLINE_5",e[e.HEADLINE_6=5]="HEADLINE_6",e[e.BODY_1=6]="BODY_1",e[e.BODY_2=7]="BODY_2"}(io||(io={})),function(e){e[e.BOLD=0]="BOLD",e[e.UNDERLINE=1]="UNDERLINE",e[e.LINE_THRONG=2]="LINE_THRONG",e[e.ITALIC=3]="ITALIC"}(oo||(oo={}));var uo,co,lo,fo,po,ho,go,mo=function(){return(0,X.jsx)("svg",{width:"7",height:"7",viewBox:"0 0 7 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,X.jsx)("rect",{x:"0.5",y:"0.5",width:"6",height:"6",rx:"3",fill:"#000000",stroke:"black"})})},vo=(0,X.jsx)("svg",{width:"7",height:"7",viewBox:"0 0 7 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,X.jsx)("rect",{x:"0.5",y:"0.5",width:"6",height:"6",rx:"3",stroke:"black"})}),yo=kn.div(co||(co=so(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 4px;\n padding-bottom: 4px;\n user-select: none;\n white-space: pre-line;\n &.text-"," {\n --font-size: 96px;\n --line-height: 112px;\n }\n &.text-"," {\n --font-size: 60px;\n --line-height: 70px;\n }\n &.text-"," {\n --font-size: 48px;\n --line-height: 56px;\n }\n &.text-"," {\n --font-size: 34px;\n --line-height: 40px;\n }\n &.text-"," {\n --font-size: 24px;\n --line-height: 28px;\n }\n &.text-"," {\n --font-size: 20px;\n --line-height: 23px;\n }\n &.text-"," {\n --font-size: 14px;\n --line-height: 24px;\n }\n &.text-",' {\n --font-size: 12px;\n --line-height: 20px;\n }\n font-size: var(--font-size);\n > .bullet {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n max-height: var(--line-height);\n user-select: none;\n }\n > .content {\n display: inline-block;\n flex-direction: row;\n justify-content: start;\n align-items: center;\n flex: 1;\n font-weight: 400;\n user-select: text;\n min-height: var(--line-height);\n line-height: var(--line-height);\n > span:first-child:empty::before {\n content: " ";\n }\n > span {\n &.S'," {\n font-weight: bold;\n }\n &.S"," {\n font-style: italic;\n }\n &.S"," {\n text-decoration: underline;\n }\n &.S"," {\n text-decoration: line-through;\n }\n &.S",".S"," {\n text-decoration: underline line-through;\n }\n }\n }\n"],["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 4px;\n padding-bottom: 4px;\n user-select: none;\n white-space: pre-line;\n &.text-"," {\n --font-size: 96px;\n --line-height: 112px;\n }\n &.text-"," {\n --font-size: 60px;\n --line-height: 70px;\n }\n &.text-"," {\n --font-size: 48px;\n --line-height: 56px;\n }\n &.text-"," {\n --font-size: 34px;\n --line-height: 40px;\n }\n &.text-"," {\n --font-size: 24px;\n --line-height: 28px;\n }\n &.text-"," {\n --font-size: 20px;\n --line-height: 23px;\n }\n &.text-"," {\n --font-size: 14px;\n --line-height: 24px;\n }\n &.text-",' {\n --font-size: 12px;\n --line-height: 20px;\n }\n font-size: var(--font-size);\n > .bullet {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n max-height: var(--line-height);\n user-select: none;\n }\n > .content {\n display: inline-block;\n flex-direction: row;\n justify-content: start;\n align-items: center;\n flex: 1;\n font-weight: 400;\n user-select: text;\n min-height: var(--line-height);\n line-height: var(--line-height);\n > span:first-child:empty::before {\n content: " ";\n }\n > span {\n &.S'," {\n font-weight: bold;\n }\n &.S"," {\n font-style: italic;\n }\n &.S"," {\n text-decoration: underline;\n }\n &.S"," {\n text-decoration: line-through;\n }\n &.S",".S"," {\n text-decoration: underline line-through;\n }\n }\n }\n"])),io.HEADLINE_1,io.HEADLINE_2,io.HEADLINE_3,io.HEADLINE_4,io.HEADLINE_5,io.HEADLINE_6,io.BODY_1,io.BODY_2,oo.BOLD,oo.ITALIC,oo.UNDERLINE,oo.LINE_THRONG,oo.UNDERLINE,oo.LINE_THRONG),bo=kn.div(lo||(lo=so(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding: 2px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: center;\n align-items: center;\n padding-top: 10px;\n padding-bottom: 10px;\n border-radius: 8px;\n box-sizing: border-box;\n &:hover {\n background-color: transparent;\n }\n > div {\n display: flex;\n width: 100%;\n padding: 4px;\n border-radius: 8px;\n border: 1px solid #ddd;\n background-color: #fcfcfc;\n position: relative;\n > .image {\n width: 100%;\n border-radius: 4px;\n height: auto;\n }\n > .place-holder {\n min-width: 150px;\n min-height: 150px;\n min-width: 100%;\n border-radius: 4px;\n padding: 10px;\n box-sizing: border-box;\n color: #999;\n }\n }\n &.size-2 > div {\n max-width: calc(100% / 2);\n }\n &.size-3 > div {\n max-width: calc(100% / 3);\n }\n &.size-4 > div {\n max-width: calc(100% / 4);\n }\n &.size-5 > div {\n max-width: calc(100% / 5);\n }\n &.align-left {\n justify-content: left;\n }\n &.align-right > div {\n justify-content: right;\n }\n"],["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding: 2px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: center;\n align-items: center;\n padding-top: 10px;\n padding-bottom: 10px;\n border-radius: 8px;\n box-sizing: border-box;\n &:hover {\n background-color: transparent;\n }\n > div {\n display: flex;\n width: 100%;\n padding: 4px;\n border-radius: 8px;\n border: 1px solid #ddd;\n background-color: #fcfcfc;\n position: relative;\n > .image {\n width: 100%;\n border-radius: 4px;\n height: auto;\n }\n > .place-holder {\n min-width: 150px;\n min-height: 150px;\n min-width: 100%;\n border-radius: 4px;\n padding: 10px;\n box-sizing: border-box;\n color: #999;\n }\n }\n &.size-2 > div {\n max-width: calc(100% / 2);\n }\n &.size-3 > div {\n max-width: calc(100% / 3);\n }\n &.size-4 > div {\n max-width: calc(100% / 4);\n }\n &.size-5 > div {\n max-width: calc(100% / 5);\n }\n &.align-left {\n justify-content: left;\n }\n &.align-right > div {\n justify-content: right;\n }\n"]))),_o=kn.div(fo||(fo=so(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 4px;\n padding-bottom: 4px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: 22px;\n justify-content: center;\n align-items: center;\n > .line {\n width: 100%;\n background-color: #eee;\n height: 2px;\n }\n"],["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 4px;\n padding-bottom: 4px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: 22px;\n justify-content: center;\n align-items: center;\n > .line {\n width: 100%;\n background-color: #eee;\n height: 2px;\n }\n"]))),xo=kn.div(po||(po=so(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding: 2px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: center;\n align-items: center;\n padding: 10px;\n border-radius: 8px;\n box-sizing: border-box;\n &:hover {\n background-color: transparent;\n }\n > div {\n width: 100%;\n padding: 4px;\n border-radius: 8px;\n border: 1px solid #ddd;\n background-color: #fcfcfc;\n > .iframe {\n min-height: 150px;\n min-width: 100%;\n max-width: 100%;\n border-radius: 4px;\n aspect-ratio: 1.7;\n border: 0px;\n }\n > .place-holder {\n min-width: 100%;\n border-radius: 4px;\n padding: 10px;\n box-sizing: border-box;\n color: #999;\n margin: 0px !important;\n box-shadow: none;\n font-family: monospace;\n font-size: 14px;\n background: transparent;\n user-select: text;\n }\n }\n"],["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding: 2px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: center;\n align-items: center;\n padding: 10px;\n border-radius: 8px;\n box-sizing: border-box;\n &:hover {\n background-color: transparent;\n }\n > div {\n width: 100%;\n padding: 4px;\n border-radius: 8px;\n border: 1px solid #ddd;\n background-color: #fcfcfc;\n > .iframe {\n min-height: 150px;\n min-width: 100%;\n max-width: 100%;\n border-radius: 4px;\n aspect-ratio: 1.7;\n border: 0px;\n }\n > .place-holder {\n min-width: 100%;\n border-radius: 4px;\n padding: 10px;\n box-sizing: border-box;\n color: #999;\n margin: 0px !important;\n box-shadow: none;\n font-family: monospace;\n font-size: 14px;\n background: transparent;\n user-select: text;\n }\n }\n"]))),wo=function(e){var t=e.code,n=(0,U.useRef)(null);return(0,U.useLayoutEffect)(function(){var e=n.current;e&&(t?async function(e,t=e.className.match(/shj-lang-([\w-]+)/)?.[1],n,r){let i=e.textContent;n??(n=("CODE"==e.tagName?"in":i.split("\n").length<2?"one":"multi")+"line"),e.dataset.lang=t,e.className=`${[...e.classList].filter(e=>!e.startsWith("shj-")).join(" ")} shj-lang-${t} shj-${n}`,e.innerHTML=await ro(i,t,"multiline"==n,r)}(e,"js"):e.innerText="Code is not set.")},[t]),(0,X.jsx)(xo,{children:(0,X.jsxs)("div",{children:[(0,X.jsx)("link",{rel:"stylesheet",href:"https://cdn.jsdelivr.net/gh/speed-highlight/core/dist/themes/github-light.css"}),(0,X.jsx)("div",{ref:n,className:"place-holder header shj-lang-js shj-multiline fira",children:!!t&&t})]})})},Eo=kn.div(ho||(ho=so(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding: 2px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: center;\n align-items: center;\n padding: 10px;\n border-radius: 8px;\n box-sizing: border-box;\n &:hover {\n background-color: transparent;\n }\n > div {\n background-color: #fff;\n width: 100%;\n padding: 4px;\n border-radius: 8px;\n border: 1px solid #000;\n display: flex;\n > .iframe {\n min-height: 150px;\n min-width: 100%;\n max-width: 100%;\n border-radius: 4px;\n aspect-ratio: 1.7;\n border: 0px;\n }\n > .place-holder {\n min-width: 150px;\n min-height: 150px;\n min-width: 100%;\n border-radius: 4px;\n padding: 10px;\n box-sizing: border-box;\n color: #999;\n }\n }\n"],["\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: start;\n padding: 2px;\n user-select: none;\n white-space: pre-line;\n width: 100%;\n height: auto;\n justify-content: center;\n align-items: center;\n padding: 10px;\n border-radius: 8px;\n box-sizing: border-box;\n &:hover {\n background-color: transparent;\n }\n > div {\n background-color: #fff;\n width: 100%;\n padding: 4px;\n border-radius: 8px;\n border: 1px solid #000;\n display: flex;\n > .iframe {\n min-height: 150px;\n min-width: 100%;\n max-width: 100%;\n border-radius: 4px;\n aspect-ratio: 1.7;\n border: 0px;\n }\n > .place-holder {\n min-width: 150px;\n min-height: 150px;\n min-width: 100%;\n border-radius: 4px;\n padding: 10px;\n box-sizing: border-box;\n color: #999;\n }\n }\n"]))),To=kn.div(go||(go=so(["\n position: relative;\n display: flex;\n flex-direction: column;\n transition: all 250ms;\n width: 100%;\n min-height: 100%;\n > .tiptap {\n position: relative;\n display: flex;\n transition: all 250ms;\n flex: auto;\n > div {\n position: relative;\n display: block;\n transition: all 250ms;\n flex: auto;\n font-size: 14px;\n color: #32302c;\n caret-color: #000;\n &:first-child > * {\n padding-top: 8px;\n padding-bottom: 8px;\n margin: 0;\n }\n &:first-child > div {\n display: flex;\n flex-direction: row;\n min-height: fit-content;\n }\n\n .youtube-wrapper {\n border: 1px solid #ddd;\n padding: 4px;\n border-radius: 8px;\n width: 100%;\n height: auto;\n display: flex;\n &.empty {\n padding: 10px;\n font-size: 12px;\n color: #999;\n }\n &.selected-node {\n border: 1px solid #0094e8;\n }\n > iframe {\n width: 100%;\n aspect-ratio: 1.85/1;\n border-radius: 4px;\n }\n &.selected-node {\n border: 1px solid #333;\n }\n &.size-2 {\n max-width: calc(100% / 2);\n }\n &.size-3 {\n max-width: calc(100% / 3);\n }\n &.size-4 {\n max-width: calc(100% / 4);\n }\n &.size-5 {\n max-width: calc(100% / 5);\n }\n }\n\n .image-wrapper {\n border: 1px solid #ddd;\n padding: 4px;\n border-radius: 8px;\n width: 100%;\n height: auto;\n display: flex;\n &.empty {\n padding: 10px;\n font-size: 12px;\n color: #999;\n }\n > img {\n width: 100%;\n border-radius: 4px;\n }\n &.selected-node {\n border: 1px solid#0094E8;\n }\n &.size-2 {\n max-width: calc(100% / 2);\n }\n &.size-3 {\n max-width: calc(100% / 3);\n }\n &.size-4 {\n max-width: calc(100% / 4);\n }\n &.size-5 {\n max-width: calc(100% / 5);\n }\n &.align-left {\n justify-content: left;\n }\n &.align-right > div {\n justify-content: right;\n }\n }\n\n h1,\n h2,\n h3,\n h4 {\n display: inline-block;\n padding-top: 20px !important;\n padding-bottom: 8px;\n font-weight: normal;\n }\n\n h5,\n h6 {\n display: inline-block;\n padding-top: 8px !important;\n padding-bottom: 8px;\n font-weight: normal;\n }\n\n p.is-editor-empty:first-child:before {\n color: #999;\n content: attr(data-placeholder);\n float: left;\n height: 0;\n pointer-events: none;\n }\n p {\n font-size: 15px;\n line-height: 24px;\n padding-top: 2px;\n padding-bottom: 2px;\n margin: 0;\n }\n h1 {\n font-size: 96px;\n }\n h2 {\n font-size: 60px;\n }\n h3 {\n font-size: 48px;\n }\n h4 {\n font-size: 34px;\n }\n h5 {\n font-size: 24px;\n }\n h6 {\n font-size: 24px;\n }\n a {\n font-weight: 500;\n text-decoration: underline;\n cursor: pointer;\n }\n ul {\n padding-left: 16px;\n }\n ul {\n list-style-type: disc;\n ul {\n list-style-type: circle;\n ul {\n list-style-type: square;\n }\n }\n }\n }\n > div > .drag {\n padding-right: 20px;\n > .menu {\n width: 24px;\n height: 24px;\n display: flex;\n flex-direction: row;\n background: #fff;\n border: 1px solid #f0f0f0;\n box-shadow: rgba(0, 0, 0, 0.07) 0px 5px 30px 0px;\n padding: 8px;\n border-radius: 16px;\n gap: 6px;\n }\n }\n }\n .drag-handle {\n width: 20px;\n height: 20px;\n }\n .prosemirror-dropcursor-block {\n background-color: #ddd !important;\n height: 2px !important;\n border-radius: 2px;\n }\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n transition: all 250ms;\n width: 100%;\n min-height: 100%;\n > .tiptap {\n position: relative;\n display: flex;\n transition: all 250ms;\n flex: auto;\n > div {\n position: relative;\n display: block;\n transition: all 250ms;\n flex: auto;\n font-size: 14px;\n color: #32302c;\n caret-color: #000;\n &:first-child > * {\n padding-top: 8px;\n padding-bottom: 8px;\n margin: 0;\n }\n &:first-child > div {\n display: flex;\n flex-direction: row;\n min-height: fit-content;\n }\n\n .youtube-wrapper {\n border: 1px solid #ddd;\n padding: 4px;\n border-radius: 8px;\n width: 100%;\n height: auto;\n display: flex;\n &.empty {\n padding: 10px;\n font-size: 12px;\n color: #999;\n }\n &.selected-node {\n border: 1px solid #0094e8;\n }\n > iframe {\n width: 100%;\n aspect-ratio: 1.85/1;\n border-radius: 4px;\n }\n &.selected-node {\n border: 1px solid #333;\n }\n &.size-2 {\n max-width: calc(100% / 2);\n }\n &.size-3 {\n max-width: calc(100% / 3);\n }\n &.size-4 {\n max-width: calc(100% / 4);\n }\n &.size-5 {\n max-width: calc(100% / 5);\n }\n }\n\n .image-wrapper {\n border: 1px solid #ddd;\n padding: 4px;\n border-radius: 8px;\n width: 100%;\n height: auto;\n display: flex;\n &.empty {\n padding: 10px;\n font-size: 12px;\n color: #999;\n }\n > img {\n width: 100%;\n border-radius: 4px;\n }\n &.selected-node {\n border: 1px solid#0094E8;\n }\n &.size-2 {\n max-width: calc(100% / 2);\n }\n &.size-3 {\n max-width: calc(100% / 3);\n }\n &.size-4 {\n max-width: calc(100% / 4);\n }\n &.size-5 {\n max-width: calc(100% / 5);\n }\n &.align-left {\n justify-content: left;\n }\n &.align-right > div {\n justify-content: right;\n }\n }\n\n h1,\n h2,\n h3,\n h4 {\n display: inline-block;\n padding-top: 20px !important;\n padding-bottom: 8px;\n font-weight: normal;\n }\n\n h5,\n h6 {\n display: inline-block;\n padding-top: 8px !important;\n padding-bottom: 8px;\n font-weight: normal;\n }\n\n p.is-editor-empty:first-child:before {\n color: #999;\n content: attr(data-placeholder);\n float: left;\n height: 0;\n pointer-events: none;\n }\n p {\n font-size: 15px;\n line-height: 24px;\n padding-top: 2px;\n padding-bottom: 2px;\n margin: 0;\n }\n h1 {\n font-size: 96px;\n }\n h2 {\n font-size: 60px;\n }\n h3 {\n font-size: 48px;\n }\n h4 {\n font-size: 34px;\n }\n h5 {\n font-size: 24px;\n }\n h6 {\n font-size: 24px;\n }\n a {\n font-weight: 500;\n text-decoration: underline;\n cursor: pointer;\n }\n ul {\n padding-left: 16px;\n }\n ul {\n list-style-type: disc;\n ul {\n list-style-type: circle;\n ul {\n list-style-type: square;\n }\n }\n }\n }\n > div > .drag {\n padding-right: 20px;\n > .menu {\n width: 24px;\n height: 24px;\n display: flex;\n flex-direction: row;\n background: #fff;\n border: 1px solid #f0f0f0;\n box-shadow: rgba(0, 0, 0, 0.07) 0px 5px 30px 0px;\n padding: 8px;\n border-radius: 16px;\n gap: 6px;\n }\n }\n }\n .drag-handle {\n width: 20px;\n height: 20px;\n }\n .prosemirror-dropcursor-block {\n background-color: #ddd !important;\n height: 2px !important;\n border-radius: 2px;\n }\n"]))),So=function(e,t){};const Ro={canPush:So,canRemove:So,canRemoveAll:So,canPushAt:function(e,t,n){},canRemoveAt:function(e,t){},canMath:function(e,t){},canCall:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n]},isType:function(e){return e},isArrayType:function(e){return e}},Oo=require("react-dom");var Ao="UuBeegOGBV3_X4prw8pl",Io="XpiOnHrggFQPieURIrko",Lo="pTtg4ffSEaTQOBV90PRY";function No(){return"undefined"!=typeof window}function Co(e){return jo(e)?(e.nodeName||"").toLowerCase():"#document"}function ko(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Po(e){var t;return null==(t=(jo(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function jo(e){return!!No()&&(e instanceof Node||e instanceof ko(e).Node)}function Do(e){return!!No()&&(e instanceof Element||e instanceof ko(e).Element)}function zo(e){return!!No()&&(e instanceof HTMLElement||e instanceof ko(e).HTMLElement)}function Mo(e){return!(!No()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ko(e).ShadowRoot)}const $o=new Set(["inline","contents"]);function Bo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Jo(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!$o.has(i)}const Uo=new Set(["table","td","th"]);function Fo(e){return Uo.has(Co(e))}const Wo=[":popover-open",":modal"];function Ho(e){return Wo.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const qo=["transform","translate","scale","rotate","perspective"],Yo=["transform","translate","scale","rotate","perspective","filter"],Go=["paint","layout","strict","content"];function Vo(e){const t=Xo(),n=Do(e)?Jo(e):e;return qo.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||Yo.some(e=>(n.willChange||"").includes(e))||Go.some(e=>(n.contain||"").includes(e))}function Xo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Zo=new Set(["html","body","#document"]);function Ko(e){return Zo.has(Co(e))}function Jo(e){return ko(e).getComputedStyle(e)}function Qo(e){return Do(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function es(e){if("html"===Co(e))return e;const t=e.assignedSlot||e.parentNode||Mo(e)&&e.host||Po(e);return Mo(t)?t.host:t}function ts(e){const t=es(e);return Ko(t)?e.ownerDocument?e.ownerDocument.body:e.body:zo(t)&&Bo(t)?t:ts(t)}function ns(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=ts(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=ko(i);if(o){const e=rs(s);return t.concat(s,s.visualViewport||[],Bo(i)?i:[],e&&n?ns(e):[])}return t.concat(i,ns(i,[],n))}function rs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function is(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Mo(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function os(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function ss(e){return(null==e?void 0:e.ownerDocument)||document}function as(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function us(e){return"composedPath"in e?e.composedPath()[0]:e.target}const cs=Math.min,ls=Math.max,fs=Math.round,ps=(Math.floor,e=>({x:e,y:e}));function ds(e,t,n){return ls(e,cs(t,n))}function hs(e,t){return"function"==typeof e?e(t):e}function gs(e){return e.split("-")[0]}function ms(e){return e.split("-")[1]}function vs(e){return"x"===e?"y":"x"}const ys=new Set(["top","bottom"]);function bs(e){return ys.has(gs(e))?"y":"x"}function _s(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function xs(e,t,n){let{reference:r,floating:i}=e;const o=bs(t),s=function(e){return vs(bs(e))}(t),a="y"===s?"height":"width",u=gs(t),c="y"===o,l=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,p=r[a]/2-i[a]/2;let d;switch(u){case"top":d={x:l,y:r.y-i.height};break;case"bottom":d={x:l,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(ms(t)){case"start":d[s]-=p*(n&&c?-1:1);break;case"end":d[s]+=p*(n&&c?-1:1)}return d}const ws=new Set(["left","top"]);function Es(e){const t=Jo(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=zo(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=fs(n)!==o||fs(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function Ts(e){return Do(e)?e:e.contextElement}function Ss(e){const t=Ts(e);if(!zo(t))return ps(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Es(t);let s=(o?fs(n.width):n.width)/r,a=(o?fs(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Rs=ps(0);function Os(e){const t=ko(e);return Xo()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Rs}function As(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=Ts(e);let s=ps(1);t&&(r?Do(r)&&(s=Ss(r)):s=Ss(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==ko(e))&&t}(o,n,r)?Os(o):ps(0);let u=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,l=i.width/s.x,f=i.height/s.y;if(o){const e=ko(o),t=r&&Do(r)?ko(r):r;let n=e,i=rs(n);for(;i&&r&&t!==n;){const e=Ss(i),t=i.getBoundingClientRect(),r=Jo(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,l*=e.x,f*=e.y,u+=o,c+=s,n=ko(i),i=rs(n)}}return _s({width:l,height:f,x:u,y:c})}function Is(e,t){const n=Qo(e).scrollLeft;return t?t.left+n:As(Po(e)).left+n}function Ls(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Is(e,n),y:n.top+t.scrollTop}}const Ns=new Set(["absolute","fixed"]);function Cs(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=ko(e),r=Po(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,u=0;if(i){o=i.width,s=i.height;const e=Xo();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,u=i.offsetTop)}const c=Is(r);if(c<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(r.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else c<=25&&(o+=c);return{width:o,height:s,x:a,y:u}}(e,n);else if("document"===t)r=function(e){const t=Po(e),n=Qo(e),r=e.ownerDocument.body,i=ls(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=ls(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Is(e);const a=-n.scrollTop;return"rtl"===Jo(r).direction&&(s+=ls(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}(Po(e));else if(Do(t))r=function(e,t){const n=As(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=zo(e)?Ss(e):ps(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=Os(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return _s(r)}function ks(e,t){const n=es(e);return!(n===t||!Do(n)||Ko(n))&&("fixed"===Jo(n).position||ks(n,t))}function Ps(e,t,n){const r=zo(t),i=Po(t),o="fixed"===n,s=As(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const u=ps(0);function c(){u.x=Is(i)}if(r||!r&&!o)if(("body"!==Co(t)||Bo(i))&&(a=Qo(t)),r){const e=As(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&c();o&&!r&&i&&c();const l=!i||r||o?ps(0):Ls(i,a);return{x:s.left+a.scrollLeft-u.x-l.x,y:s.top+a.scrollTop-u.y-l.y,width:s.width,height:s.height}}function js(e){return"static"===Jo(e).position}function Ds(e,t){if(!zo(e)||"fixed"===Jo(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Po(e)===n&&(n=n.ownerDocument.body),n}function zs(e,t){const n=ko(e);if(Ho(e))return n;if(!zo(e)){let t=es(e);for(;t&&!Ko(t);){if(Do(t)&&!js(t))return t;t=es(t)}return n}let r=Ds(e,t);for(;r&&Fo(r)&&js(r);)r=Ds(r,t);return r&&Ko(r)&&js(r)&&!Vo(r)?n:r||function(e){let t=es(e);for(;zo(t)&&!Ko(t);){if(Vo(t))return t;if(Ho(t))return null;t=es(t)}return null}(e)||n}const Ms={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,s=Po(r),a=!!t&&Ho(t.floating);if(r===s||a&&o)return n;let u={scrollLeft:0,scrollTop:0},c=ps(1);const l=ps(0),f=zo(r);if((f||!f&&!o)&&(("body"!==Co(r)||Bo(s))&&(u=Qo(r)),zo(r))){const e=As(r);c=Ss(r),l.x=e.x+r.clientLeft,l.y=e.y+r.clientTop}const p=!s||f||o?ps(0):Ls(s,u);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+l.x+p.x,y:n.y*c.y-u.scrollTop*c.y+l.y+p.y}},getDocumentElement:Po,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[..."clippingAncestors"===n?Ho(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=ns(e,[],!1).filter(e=>Do(e)&&"body"!==Co(e)),i=null;const o="fixed"===Jo(e).position;let s=o?es(e):e;for(;Do(s)&&!Ko(s);){const t=Jo(s),n=Vo(s);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&Ns.has(i.position)||Bo(s)&&!n&&ks(e,s))?r=r.filter(e=>e!==s):i=t,s=es(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=o[0],a=o.reduce((e,n)=>{const r=Cs(t,n,i);return e.top=ls(r.top,e.top),e.right=cs(r.right,e.right),e.bottom=cs(r.bottom,e.bottom),e.left=ls(r.left,e.left),e},Cs(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:zs,getElementRects:async function(e){const t=this.getOffsetParent||zs,n=this.getDimensions,r=await n(e.floating);return{reference:Ps(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Es(e);return{width:t,height:n}},getScale:Ss,isElement:Do,isRTL:function(e){return"rtl"===Jo(e).direction}},$s=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,u=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),s=gs(n),a=ms(n),u="y"===bs(n),c=ws.has(s)?-1:1,l=o&&u?-1:1,f=hs(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof h&&(d="end"===a?-1*h:h),u?{x:d*l,y:p*c}:{x:p*c,y:d*l}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:s}}}}},Bs=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=hs(e,t),c={x:n,y:r},l=await async function(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=hs(t,e),h=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(d),g=a[p?"floating"===f?"reference":"floating":f],m=_s(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:l,strategy:u})),v="floating"===f?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await(null==o.isElement?void 0:o.isElement(y))&&await(null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},_=_s(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:u}):v);return{top:(m.top-_.top+h.top)/b.y,bottom:(_.bottom-m.bottom+h.bottom)/b.y,left:(m.left-_.left+h.left)/b.x,right:(_.right-m.right+h.right)/b.x}}(t,u),f=bs(gs(i)),p=vs(f);let d=c[p],h=c[f];if(o){const e="y"===p?"bottom":"right";d=ds(d+l["y"===p?"top":"left"],d,d-l[e])}if(s){const e="y"===f?"bottom":"right";h=ds(h+l["y"===f?"top":"left"],h,h-l[e])}const g=a.fn({...t,[p]:d,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},Us=(e,t,n)=>{const r=new Map,i={platform:Ms,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),u=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:l,y:f}=xs(c,r,u),p=r,d={},h=0;for(let n=0;n<a.length;n++){const{name:o,fn:g}=a[n],{x:m,y:v,data:y,reset:b}=await g({x:l,y:f,initialPlacement:r,placement:p,strategy:i,middlewareData:d,rects:c,platform:s,elements:{reference:e,floating:t}});l=null!=m?m:l,f=null!=v?v:f,d={...d,[o]:{...d[o],...y}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):b.rects),({x:l,y:f}=xs(c,p,u))),n=-1)}return{x:l,y:f,placement:p,strategy:i,middlewareData:d}})(e,t,{...i,platform:o})};var Fs="undefined"!=typeof document?U.useLayoutEffect:function(){};function Ws(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!Ws(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!==r--;){const n=i[r];if(!("_owner"===n&&e.$$typeof||Ws(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function Hs(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function qs(e,t){const n=Hs(e);return Math.round(t*n)/n}function Ys(e){const t=U.useRef(e);return Fs(()=>{t.current=e}),t}const Gs=(e,t)=>({...$s(e),options:[e,t]}),Vs=(e,t)=>({...Bs(e),options:[e,t]}),Xs={...F},Zs=Xs.useInsertionEffect||(e=>e());function Ks(e){const t=U.useRef(()=>{});return Zs(()=>{t.current=e}),U.useCallback(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}var Js="undefined"!=typeof document?U.useLayoutEffect:U.useEffect;let Qs=!1,ea=0;const ta=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+ea++,na=Xs.useId||function(){const[e,t]=U.useState(()=>Qs?ta():void 0);return Js(()=>{null==e&&t(ta())},[]),U.useEffect(()=>{Qs=!0},[]),e};const ra=U.createContext(null),ia=U.createContext(null),oa=()=>{var e;return(null==(e=U.useContext(ra))?void 0:e.id)||null},sa=()=>U.useContext(ia);function aa(e){return"data-floating-ui-"+e}function ua(e){const t=(0,U.useRef)(e);return Js(()=>{t.current=e}),t}const ca=aa("safe-polygon");function la(e,t,n){return n&&!os(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function fa(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}const pa="data-floating-ui-focusable";function da(e){return zo(e.target)&&"BUTTON"===e.target.tagName}function ha(e){return function(e){return zo(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}(e)}const ga={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},ma={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},va=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function ya(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,elements:i,dataRef:o}=e,{enabled:s=!0,escapeKey:a=!0,outsidePress:u=!0,outsidePressEvent:c="pointerdown",referencePress:l=!1,referencePressEvent:f="pointerdown",ancestorScroll:p=!1,bubbles:d,capture:h}=t,g=sa(),m=Ks("function"==typeof u?u:()=>!1),v="function"==typeof u?m:u,y=U.useRef(!1),b=U.useRef(!1),{escapeKey:_,outsidePress:x}=va(d),{escapeKey:w,outsidePress:E}=va(h),T=U.useRef(!1),S=Ks(e=>{var t;if(!n||!s||!a||"Escape"!==e.key)return;if(T.current)return;const i=null==(t=o.current.floatingContext)?void 0:t.nodeId,u=g?fa(g.nodesRef.current,i):[];if(!_&&(e.stopPropagation(),u.length>0)){let e=!0;if(u.forEach(t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)}),!e)return}r(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")}),R=Ks(e=>{var t;const n=()=>{var t;S(e),null==(t=us(e))||t.removeEventListener("keydown",n)};null==(t=us(e))||t.addEventListener("keydown",n)}),O=Ks(e=>{var t;const n=y.current;y.current=!1;const s=b.current;if(b.current=!1,"click"===c&&s)return;if(n)return;if("function"==typeof v&&!v(e))return;const a=us(e),u="["+aa("inert")+"]",l=ss(i.floating).querySelectorAll(u);let f=Do(a)?a:null;for(;f&&!Ko(f);){const e=es(f);if(Ko(e)||!Do(e))break;f=e}if(l.length&&Do(a)&&!a.matches("html,body")&&!is(a,i.floating)&&Array.from(l).every(e=>!is(f,e)))return;if(zo(a)&&L){const t=a.clientWidth>0&&a.scrollWidth>a.clientWidth,n=a.clientHeight>0&&a.scrollHeight>a.clientHeight;let r=n&&e.offsetX>a.clientWidth;if(n&&"rtl"===Jo(a).direction&&(r=e.offsetX<=a.offsetWidth-a.clientWidth),r||t&&e.offsetY>a.clientHeight)return}const p=null==(t=o.current.floatingContext)?void 0:t.nodeId,d=g&&fa(g.nodesRef.current,p).some(t=>{var n;return as(e,null==(n=t.context)?void 0:n.elements.floating)});if(as(e,i.floating)||as(e,i.domReference)||d)return;const h=g?fa(g.nodesRef.current,p):[];if(h.length>0){let e=!0;if(h.forEach(t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)}),!e)return}r(!1,e,"outside-press")}),A=Ks(e=>{var t;const n=()=>{var t;O(e),null==(t=us(e))||t.removeEventListener(c,n)};null==(t=us(e))||t.addEventListener(c,n)});U.useEffect(()=>{if(!n||!s)return;o.current.__escapeKeyBubbles=_,o.current.__outsidePressBubbles=x;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function u(){window.clearTimeout(e),T.current=!0}function l(){e=window.setTimeout(()=>{T.current=!1},Xo()?5:0)}const f=ss(i.floating);a&&(f.addEventListener("keydown",w?R:S,w),f.addEventListener("compositionstart",u),f.addEventListener("compositionend",l)),v&&f.addEventListener(c,E?A:O,E);let d=[];return p&&(Do(i.domReference)&&(d=ns(i.domReference)),Do(i.floating)&&(d=d.concat(ns(i.floating))),!Do(i.reference)&&i.reference&&i.reference.contextElement&&(d=d.concat(ns(i.reference.contextElement)))),d=d.filter(e=>{var t;return e!==(null==(t=f.defaultView)?void 0:t.visualViewport)}),d.forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{a&&(f.removeEventListener("keydown",w?R:S,w),f.removeEventListener("compositionstart",u),f.removeEventListener("compositionend",l)),v&&f.removeEventListener(c,E?A:O,E),d.forEach(e=>{e.removeEventListener("scroll",t)}),window.clearTimeout(e)}},[o,i,a,v,c,n,r,p,s,_,x,S,w,R,O,E,A]),U.useEffect(()=>{y.current=!1},[v,c]);const I=U.useMemo(()=>({onKeyDown:S,[ga[f]]:e=>{l&&r(!1,e.nativeEvent,"reference-press")}}),[S,r,l,f]),L=U.useMemo(()=>({onKeyDown:S,onMouseDown(){b.current=!0},onMouseUp(){b.current=!0},[ma[c]]:()=>{y.current=!0}}),[S,c]);return U.useMemo(()=>s?{reference:I,floating:L}:{},[s,I,L])}function ba(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,i=na(),o=U.useRef({}),[s]=U.useState(()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}}()),a=null!=oa(),[u,c]=U.useState(r.reference),l=Ks((e,t,r)=>{o.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:a}),null==n||n(e,t,r)}),f=U.useMemo(()=>({setPositionReference:c}),[]),p=U.useMemo(()=>({reference:u||r.reference||null,floating:r.floating||null,domReference:r.reference}),[u,r.reference,r.floating]);return U.useMemo(()=>({dataRef:o,open:t,onOpenChange:l,elements:p,events:s,floatingId:i,refs:f}),[t,l,p,s,i,f])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[o,s]=U.useState(null),[a,u]=U.useState(null),c=(null==i?void 0:i.reference)||o,l=U.useRef(null),f=sa();Js(()=>{c&&(l.current=c)},[c]);const p=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:u,open:c}=e,[l,f]=U.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,d]=U.useState(r);Ws(p,r)||d(r);const[h,g]=U.useState(null),[m,v]=U.useState(null),y=U.useCallback(e=>{e!==w.current&&(w.current=e,g(e))},[]),b=U.useCallback(e=>{e!==E.current&&(E.current=e,v(e))},[]),_=o||h,x=s||m,w=U.useRef(null),E=U.useRef(null),T=U.useRef(l),S=null!=u,R=Ys(u),O=Ys(i),A=Ys(c),I=U.useCallback(()=>{if(!w.current||!E.current)return;const e={placement:t,strategy:n,middleware:p};O.current&&(e.platform=O.current),Us(w.current,E.current,e).then(e=>{const t={...e,isPositioned:!1!==A.current};L.current&&!Ws(T.current,t)&&(T.current=t,Oo.flushSync(()=>{f(t)}))})},[p,t,n,O,A]);Fs(()=>{!1===c&&T.current.isPositioned&&(T.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);const L=U.useRef(!1);Fs(()=>(L.current=!0,()=>{L.current=!1}),[]),Fs(()=>{if(_&&(w.current=_),x&&(E.current=x),_&&x){if(R.current)return R.current(_,x,I);I()}},[_,x,I,R,S]);const N=U.useMemo(()=>({reference:w,floating:E,setReference:y,setFloating:b}),[y,b]),C=U.useMemo(()=>({reference:_,floating:x}),[_,x]),k=U.useMemo(()=>{const e={position:n,left:0,top:0};if(!C.floating)return e;const t=qs(C.floating,l.x),r=qs(C.floating,l.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...Hs(C.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,C.floating,l.x,l.y]);return U.useMemo(()=>({...l,update:I,refs:N,elements:C,floatingStyles:k}),[l,I,N,C,k])}({...e,elements:{...i,...a&&{reference:a}}}),d=U.useCallback(e=>{const t=Do(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;u(t),p.refs.setReference(t)},[p.refs]),h=U.useCallback(e=>{(Do(e)||null===e)&&(l.current=e,s(e)),(Do(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!Do(e))&&p.refs.setReference(e)},[p.refs]),g=U.useMemo(()=>({...p.refs,setReference:h,setPositionReference:d,domReference:l}),[p.refs,h,d]),m=U.useMemo(()=>({...p.elements,domReference:c}),[p.elements,c]),v=U.useMemo(()=>({...p,...r,refs:g,elements:m,nodeId:t}),[p,g,m,t,r]);return Js(()=>{r.dataRef.current.floatingContext=v;const e=null==f?void 0:f.nodesRef.current.find(e=>e.id===t);e&&(e.context=v)}),U.useMemo(()=>({...p,context:v,refs:g,elements:m}),[p,g,m,v])}const _a="active",xa="selected";function wa(e,t,n){const r=new Map,i="item"===n;let o=e;if(i&&e){const{[_a]:t,[xa]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1,[pa]:""},...o,...t.map(t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>t?(Object.entries(t).forEach(t=>{let[n,o]=t;var s;i&&[_a,xa].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof o&&(null==(s=r.get(n))||s.push(o),e[n]=function(){for(var e,t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map(e=>e(...i)).find(e=>void 0!==e)})):e[n]=o)}),e):e,{})}}function Ea(e){void 0===e&&(e=[]);const t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),r=e.map(e=>null==e?void 0:e.item),i=U.useCallback(t=>wa(t,e,"reference"),t),o=U.useCallback(t=>wa(t,e,"floating"),n),s=U.useCallback(t=>wa(t,e,"item"),r);return U.useMemo(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:s}),[i,o,s])}function Ta(e,t){const[n,r]=e;let i=!1;const o=t.length;for(let e=0,s=o-1;e<o;s=e++){const[o,a]=t[e]||[0,0],[u,c]=t[s]||[0,0];a>=r!=c>=r&&n<=(u-o)*(r-a)/(c-a)+o&&(i=!i)}return i}function Sa(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let i,o=!1,s=null,a=null,u=performance.now();const c=e=>{let{x:n,y:c,placement:l,elements:f,onClose:p,nodeId:d,tree:h}=e;return function(e){function g(){clearTimeout(i),p()}if(clearTimeout(i),!f.domReference||!f.floating||null==l||null==n||null==c)return;const{clientX:m,clientY:v}=e,y=[m,v],b=us(e),_="mouseleave"===e.type,x=is(f.floating,b),w=is(f.domReference,b),E=f.domReference.getBoundingClientRect(),T=f.floating.getBoundingClientRect(),S=l.split("-")[0],R=n>T.right-T.width/2,O=c>T.bottom-T.height/2,A=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(y,E),I=T.width>E.width,L=T.height>E.height,N=(I?E:T).left,C=(I?E:T).right,k=(L?E:T).top,P=(L?E:T).bottom;if(x&&(o=!0,!_))return;if(w&&(o=!1),w&&!_)return void(o=!0);if(_&&Do(e.relatedTarget)&&is(f.floating,e.relatedTarget))return;if(h&&fa(h.nodesRef.current,d).some(e=>{let{context:t}=e;return null==t?void 0:t.open}))return;if("top"===S&&c>=E.bottom-1||"bottom"===S&&c<=E.top+1||"left"===S&&n>=E.right-1||"right"===S&&n<=E.left+1)return g();let j=[];switch(S){case"top":j=[[N,E.top+1],[N,T.bottom-1],[C,T.bottom-1],[C,E.top+1]];break;case"bottom":j=[[N,T.top+1],[N,E.bottom-1],[C,E.bottom-1],[C,T.top+1]];break;case"left":j=[[T.right-1,P],[T.right-1,k],[E.left+1,k],[E.left+1,P]];break;case"right":j=[[E.right-1,P],[E.right-1,k],[T.left+1,k],[T.left+1,P]]}if(!Ta([m,v],j)){if(o&&!A)return g();if(!_&&r){const t=function(e,t){const n=performance.now(),r=n-u;if(null===s||null===a||0===r)return s=e,a=t,u=n,null;const i=e-s,o=t-a,c=Math.sqrt(i*i+o*o);return s=e,a=t,u=n,c/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return g()}Ta([m,v],function(e){let[n,r]=e;switch(S){case"top":return[[I?n+t/2:R?n+4*t:n-4*t,r+t+1],[I?n-t/2:R?n+4*t:n-4*t,r+t+1],[T.left,R||I?T.bottom-t:T.top],[T.right,R?I?T.bottom-t:T.top:T.bottom-t]];case"bottom":return[[I?n+t/2:R?n+4*t:n-4*t,r-t],[I?n-t/2:R?n+4*t:n-4*t,r-t],[T.left,R||I?T.top+t:T.bottom],[T.right,R?I?T.top+t:T.bottom:T.top+t]];case"left":{const e=[n+t+1,L?r+t/2:O?r+4*t:r-4*t],i=[n+t+1,L?r-t/2:O?r+4*t:r-4*t];return[[O||L?T.right-t:T.left,T.top],[O?L?T.right-t:T.left:T.right-t,T.bottom],e,i]}case"right":return[[n-t,L?r+t/2:O?r+4*t:r-4*t],[n-t,L?r-t/2:O?r+4*t:r-4*t],[O||L?T.left+t:T.right,T.top],[O?L?T.left+t:T.right:T.left+t,T.bottom]]}}([n,c]))?!o&&r&&(i=window.setTimeout(g,40)):g()}}};return c.__options={blockPointerEvents:n},c}var Ra=function(){return Ra=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ra.apply(this,arguments)},Oa=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};console.log({style:a});var Aa=a,Ia=function(e){var t=e.top,n=e.left,r=e.isVisible,i=void 0!==r&&r,o=e.children,s=e.style,a=(0,U.useState)(!0),u=a[0],c=a[1],l=(0,U.useState)(!0),f=l[0],p=l[1];return(0,U.useEffect)(function(){p(!0),i?setTimeout(function(){c(!1)},50):(setTimeout(function(){c(!0)},50),setTimeout(function(){p(!1)},300))},[i]),(0,X.jsx)(X.Fragment,{children:f&&(0,Oo.createPortal)((0,X.jsx)("div",{className:Aa.root,style:Ra(Ra({},null==s?void 0:s.root),{"--background-color":u?"rgba(0, 0, 0, 0.0)":"rgba(0, 0, 0, 0.4)"}),children:(0,X.jsx)("div",{className:Aa.background,property:u?"--top-value: 50%":"--top-value: ".concat(t),style:Ra(Ra({},null==s?void 0:s.background),{"--top-value":u?"50%":t,"--left-value":u?"50%":n,"--transform-value":u?"translateX(-50%) translateY(-50%) scale(.9)":"translateX(-50%) translateY(-50%) scale(1)","--opacity-value":u?"0":"1"}),children:o()})}),document.body)})},La=function(e){var t=e.children,n=e.parent,r=e.onChange,i=e.popupAlignmentProps,o=e.isVisible,s=e.action,a=void 0===s?"click":s,u=e.onInteractOutsidePopup,c=(0,U.useState)(null),l=c[0],f=c[1],p=(0,U.useRef)(null),d=(0,U.useState)(o||!1),h=d[0],g=d[1],m=null==n?void 0:n({isOpen:h,setRef:function(e){return f(e)},remove:function(){return g(!1)}});return(0,U.useEffect)(function(){var e;return h&&p.current&&l&&(e=new Ca({popupAlignmentProps:i,element:p.current,parent:l,autoRemove:!o,filterElementOnAutoRemove:[l],onRemove:function(){g(!1)},onInteractOutside:function(){null==u||u(p.current||void 0)}})),function(){null==e||e.remove()}},[h,p.current,l]),(0,U.useEffect)(function(){var e=function(){return g(!h)},t=l;return t&&(null==t||t.addEventListener(a,e)),function(){null==t||t.removeEventListener(a,e)}},[l,h]),(0,U.useEffect)(function(){var e=function(){return g(!h)},t=l;return t&&(null==t||t.addEventListener(a,e)),function(){null==t||t.removeEventListener(a,e)}},[l,h]),(0,U.useEffect)(function(){void 0!==o&&g(o)},[o]),(0,U.useEffect)(function(){null==r||r(h)},[h]),(0,X.jsxs)(X.Fragment,{children:[m,h&&(0,Oo.createPortal)((0,X.jsx)("div",{className:Aa["popup-element"],style:i.style,ref:p,children:t({remove:function(){return g(!1)},parentRef:l||void 0})}),document.body)]})},Na=[],Ca=function(){function e(e){var t=this;this.onDown=function(e){var n=parseInt(t.element.style.left),r=parseInt(t.element.style.top),i=function(i){t.element.style.left=n-(e.clientX-i.clientX)+"px",t.element.style.top=r-(e.clientY-i.clientY)+"px"},o=function(){s()},s=function(){window.removeEventListener("mousemove",i),window.addEventListener("mouseup",o)};window.addEventListener("mousemove",i),window.addEventListener("mouseup",o)},this.resizeObserver=new ResizeObserver(function(e){t.onResize()}),this.filterElementOnAutoRemove=[],this.onDownElement=!1,this.onElementMousedown=function(){t.onDownElement=!0},this.onWindowMousedown=function(e){var n=Oa(Oa([],t.filterElementOnAutoRemove||[],!0),Na,!0),r=n?document.elementsFromPoint(e.clientX,e.clientY).filter(function(e){return null==n?void 0:n.includes(e)}):[];!1!==t.onDownElement||r.length||(t.autoRemove&&t.remove(),t.onInteractOutside&&t.onInteractOutside()),t.onDownElement=!1},this.onWindowResize=function(){t.onResize&&window.requestAnimationFrame(function(){t.onResize()})},this.onWindowWheel=function(){t.onResize&&window.requestAnimationFrame(function(){t.onResize()})},this.element=e.element,this.parent=e.parent,Na.push(e.element),Na.push(e.parent),this.onRemove=e.onRemove,this.popupAlignmentProps=e.popupAlignmentProps,this.autoRemove=e.autoRemove,this.onInteractOutside=e.onInteractOutside,this.filterElementOnAutoRemove=e.filterElementOnAutoRemove,(e.autoRemove||e.onInteractOutside)&&(this.element.addEventListener("mousedown",this.onElementMousedown),window.addEventListener("mousedown",this.onWindowMousedown),window.addEventListener("resize",this.onWindowResize),window.addEventListener("wheel",this.onWindowWheel)),this.onResize(),this.resizeObserver.observe(e.element),this.resizeObserver.observe(e.parent)}return e.prototype.setMovable=function(){this.element.addEventListener("mousedown",this.onDown)},e.prototype.adjustElement=function(e){var t=e.getBoundingClientRect(),n={top:t.top,left:t.left,height:t.height,width:t.width,right:0,bottom:0};n.bottom=n.top+n.height,n.right=n.left+n.width;var r=document.body.offsetWidth-10,i=document.body.offsetHeight-10,o=e.offsetTop,s=e.offsetLeft;if(n.height<i)n.top<10?e.style.top="10px":n.bottom>i&&(e.style.top=o-(n.bottom-i)+"px");else if(n.height>i){e.style.top="0px";var a=e.getBoundingClientRect();a.top<0&&(e.style.top=-a.top+"px")}if(n.width<r)n.left<10?e.style.left="10px":n.right>r&&(e.style.left=s-(n.right-r)+"px");else if(n.width>r){e.style.left="0px";var u=e.getBoundingClientRect();u.left<0&&(e.style.left=-u.left+"px")}},e.prototype.onResize=function(){var e=this.popupAlignmentProps,t=e.yType,n=void 0===t?"top-edge":t,r=e.xType,i=void 0===r?"left-edge":r,o=e.yMargin,s=void 0===o?0:o,a=e.xMargin,u=void 0===a?0:a,c=e.width,l=e.minWidth,f=e.height,p=e.minHeight,d=this.element,h=this.parent.getBoundingClientRect();d.style.contain="layout",c&&(d.style.width="auto"===c?"auto":"".concat(h.width,"px")),l&&(d.style.minWidth="auto"===l?"auto":"".concat(h.width,"px")),f&&(d.style.height="auto"===f?"auto":"".concat(h.height,"px")),p&&(d.style.minHeight="auto"===p?"auto":"".concat(h.height,"px"));var g=d.getBoundingClientRect();if("left"===i)d.style.left="".concat((h.left<1?0:h.left)-g.width+u,"px");else if("left-edge"===i)d.style.left="".concat((h.left<1?0:h.left)+u,"px");else if("right-edge"===i)d.style.left="".concat((h.left<1?0:h.left)-g.width+h.width+u,"px");else if("center"===i){var m=h.width/2-g.width/2;d.style.left="".concat((h.left<1?0:h.left)+m+u,"px")}else d.style.left="".concat((h.right<1?0:h.right)+u,"px");"top"===n?d.style.top="".concat((h.top<1?0:h.top)-g.height+s,"px"):"top-edge"===n?d.style.top="".concat((h.top<1?0:h.top)+s,"px"):"bottom-edge"===n?d.style.top="".concat((h.top<1?0:h.top)-g.height+h.height+s,"px"):"center"===n?(m=h.height/2-g.height/2,d.style.top="".concat((h.top<1?0:h.top)+m+s,"px")):d.style.top="".concat((h.bottom<1?0:h.bottom)+s,"px"),d.style.scale=(h.width/this.parent.offsetWidth).toString(),this.adjustElement(d),d.style.opacity="1"},e.prototype.setXY=function(e,t){this.element.style.top=t+"px",this.element.style.left=e+"px"},e.prototype.setXYString=function(e,t){this.element.style.top=t,this.element.style.left=e},e.prototype.remove=function(){var e,t=this;Na=Na.filter(function(e){return e!==t.element&&e!==t.parent}),this.element.removeEventListener("mousedown",this.onElementMousedown),window.removeEventListener("mousedown",this.onWindowMousedown),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("wheel",this.onWindowWheel),null===(e=this.onRemove)||void 0===e||e.call(this)},e}(),ka=function(e){var t=(0,U.useState)(!1),n=t[0],r=t[1],i=(0,U.useRef)(),o=ba({open:n,onOpenChange:r,middleware:[Vs(),Gs(e.offset||0)],placement:e.placement}),s=o.refs,a=o.x,u=o.y,c=o.strategy,l=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:i,events:o,elements:s}=e,{enabled:a=!0,delay:u=0,handleClose:c=null,mouseOnly:l=!1,restMs:f=0,move:p=!0}=t,d=sa(),h=oa(),g=ua(c),m=ua(u),v=ua(n),y=U.useRef(),b=U.useRef(-1),_=U.useRef(),x=U.useRef(-1),w=U.useRef(!0),E=U.useRef(!1),T=U.useRef(()=>{}),S=U.useRef(!1),R=U.useCallback(()=>{var e;const t=null==(e=i.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[i]);U.useEffect(()=>{if(a)return o.on("openchange",e),()=>{o.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(b.current),clearTimeout(x.current),w.current=!0,S.current=!1)}},[a,o]),U.useEffect(()=>{if(!a)return;if(!g.current)return;if(!n)return;function e(e){R()&&r(!1,e,"hover")}const t=ss(s.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[s.floating,n,r,a,g,R]);const O=U.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const i=la(m.current,"close",y.current);i&&!_.current?(clearTimeout(b.current),b.current=window.setTimeout(()=>r(!1,e,n),i)):t&&(clearTimeout(b.current),r(!1,e,n))},[m,r]),A=Ks(()=>{T.current(),_.current=void 0}),I=Ks(()=>{if(E.current){const e=ss(s.floating).body;e.style.pointerEvents="",e.removeAttribute(ca),E.current=!1}});U.useEffect(()=>{if(a&&Do(s.domReference)){var e;const t=s.domReference;return n&&t.addEventListener("mouseleave",c),null==(e=s.floating)||e.addEventListener("mouseleave",c),p&&t.addEventListener("mousemove",o,{once:!0}),t.addEventListener("mouseenter",o),t.addEventListener("mouseleave",u),()=>{var e;n&&t.removeEventListener("mouseleave",c),null==(e=s.floating)||e.removeEventListener("mouseleave",c),p&&t.removeEventListener("mousemove",o),t.removeEventListener("mouseenter",o),t.removeEventListener("mouseleave",u)}}function t(){return!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type)}function o(e){if(clearTimeout(b.current),w.current=!1,l&&!os(y.current)||f>0&&!la(m.current,"open"))return;const t=la(m.current,"open",y.current);t?b.current=window.setTimeout(()=>{v.current||r(!0,e,"hover")},t):r(!0,e,"hover")}function u(e){if(t())return;T.current();const r=ss(s.floating);if(clearTimeout(x.current),S.current=!1,g.current&&i.current.floatingContext){n||clearTimeout(b.current),_.current=g.current({...i.current.floatingContext,tree:d,x:e.clientX,y:e.clientY,onClose(){I(),A(),O(e,!0,"safe-polygon")}});const t=_.current;return r.addEventListener("mousemove",t),void(T.current=()=>{r.removeEventListener("mousemove",t)})}("touch"!==y.current||!is(s.floating,e.relatedTarget))&&O(e)}function c(e){t()||i.current.floatingContext&&(null==g.current||g.current({...i.current.floatingContext,tree:d,x:e.clientX,y:e.clientY,onClose(){I(),A(),O(e)}})(e))}},[s,a,e,l,f,p,O,A,I,r,n,v,d,m,g,i]),Js(()=>{var e;if(a&&n&&null!=(e=g.current)&&e.__options.blockPointerEvents&&R()){E.current=!0;const e=s.floating;if(Do(s.domReference)&&e){var t;const n=ss(s.floating).body;n.setAttribute(ca,"");const r=s.domReference,i=null==d||null==(t=d.nodesRef.current.find(e=>e.id===h))||null==(t=t.context)?void 0:t.elements.floating;return i&&(i.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}},[a,n,h,s,d,g,R]),Js(()=>{n||(y.current=void 0,S.current=!1,A(),I())},[n,A,I]),U.useEffect(()=>()=>{A(),clearTimeout(b.current),clearTimeout(x.current),I()},[a,s.domReference,A,I]);const L=U.useMemo(()=>{function e(e){y.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function i(){w.current||v.current||r(!0,t,"hover")}l&&!os(y.current)||n||0===f||S.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(x.current),"touch"===y.current?i():(S.current=!0,x.current=window.setTimeout(i,f)))}}},[l,r,n,v,f]),N=U.useMemo(()=>({onMouseEnter(){clearTimeout(b.current)},onMouseLeave(e){O(e.nativeEvent,!1)}}),[O]);return U.useMemo(()=>a?{reference:L,floating:N}:{},[a,L,N])}(o.context,{handleClose:Sa({requireIntent:!1})}),f=Ea([l]),p=f.getReferenceProps,d=f.getFloatingProps,h=p(),g=h.onMouseMove,m=h.onPointerDown,v=h.onPointerEnter,y=i.current;return(0,U.useLayoutEffect)(function(){return null==y||y.addEventListener("mousemove",g),null==y||y.addEventListener("pointerdown",m),null==y||y.addEventListener("pointerenter",v),function(){null==y||y.removeEventListener("mousemove",g),null==y||y.removeEventListener("pointerdown",m),null==y||y.removeEventListener("pointerenter",v)}},[y,g,m,v]),(0,X.jsxs)(X.Fragment,{children:[e.children(function(e){i.current=e,s.setReference(e)}),n&&(0,Oo.createPortal)((0,X.jsx)("div",Ra({ref:s.setFloating,style:{position:c,top:null!=u?u:0,left:null!=a?a:0,zIndex:1e3}},d(),{children:e.element})),document.body)]})},Pa=function(e){var t=(0,U.useState)(!1),n=t[0],r=t[1],i=(0,U.useRef)(),o=ba({open:n,onOpenChange:r,middleware:[Vs(),Gs(e.offset||0)],placement:e.placement}),s=o.refs,a=o.x,u=o.y,c=o.strategy,l=o.context,f=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:i,elements:{domReference:o}}=e,{enabled:s=!0,event:a="click",toggle:u=!0,ignoreMouse:c=!1,keyboardHandlers:l=!0}=t,f=U.useRef(),p=U.useRef(!1),d=U.useMemo(()=>({onPointerDown(e){f.current=e.pointerType},onMouseDown(e){const t=f.current;0===e.button&&"click"!==a&&(os(t,!0)&&c||(!n||!u||i.current.openEvent&&"mousedown"!==i.current.openEvent.type?(e.preventDefault(),r(!0,e.nativeEvent,"click")):r(!1,e.nativeEvent,"click")))},onClick(e){const t=f.current;"mousedown"===a&&f.current?f.current=void 0:os(t,!0)&&c||(!n||!u||i.current.openEvent&&"click"!==i.current.openEvent.type?r(!0,e.nativeEvent,"click"):r(!1,e.nativeEvent,"click"))},onKeyDown(e){f.current=void 0,e.defaultPrevented||!l||da(e)||(" "!==e.key||ha(o)||(e.preventDefault(),p.current=!0),"Enter"===e.key&&r(!n||!u,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!l||da(e)||ha(o)||" "===e.key&&p.current&&(p.current=!1,r(!n||!u,e.nativeEvent,"click"))}}),[i,o,a,c,l,r,n,u]);return U.useMemo(()=>s?{reference:d}:{},[s,d])}(l),p=Ea([f,ya(l)]),d=p.getReferenceProps,h=p.getFloatingProps,g=d(),m=g.onPointerDown,v=g.onMouseDown,y=g.onClick,b=g.onKeyDown,_=g.onKeyUp,x=i.current;return(0,U.useLayoutEffect)(function(){return null==x||x.addEventListener("pointerdown",m),null==x||x.addEventListener("click",y),null==x||x.addEventListener("mousedown",v),null==x||x.addEventListener("keydown",b),null==x||x.addEventListener("keyup",_),function(){null==x||x.removeEventListener("pointerdown",m),null==x||x.removeEventListener("click",y),null==x||x.removeEventListener("mousedown",v),null==x||x.removeEventListener("keydown",b),null==x||x.removeEventListener("keyup",_)}},[x,m,v,y,b,_]),(0,X.jsxs)(X.Fragment,{children:[e.children(function(e){i.current=e,s.setReference(e)}),n&&(0,Oo.createPortal)((0,X.jsx)("div",Ra({ref:s.setFloating,style:{position:c,top:null!=u?u:0,left:null!=a?a:0,zIndex:1e3}},h(),{children:e.element})),document.body)]})},ja=function(e){var t=(0,U.useRef)(),n=ba({open:e.isOpen,middleware:[Vs(),Gs(e.offset||0)],placement:e.placement,onOpenChange:function(n,r,i){var o;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t.current)}}),r=n.refs,i=n.x,o=n.y,s=n.strategy,a=Ea([ya(n.context)]),u=a.getReferenceProps,c=a.getFloatingProps,l=u(),f=l.onPointerDown,p=l.onKeyDown,d=t.current;return(0,U.useLayoutEffect)(function(){return null==d||d.addEventListener("pointerdown",f),null==d||d.addEventListener("keydown",p),function(){null==d||d.removeEventListener("pointerdown",f),null==d||d.removeEventListener("keydown",p)}},[d,f,p]),(0,X.jsxs)(X.Fragment,{children:[e.children(function(e){t.current=e,r.setReference(e)}),e.isOpen&&(0,Oo.createPortal)((0,X.jsx)("div",Ra({ref:r.setFloating,style:{position:s,top:null!=o?o:0,left:null!=i?i:0,zIndex:1e3}},c(),{children:e.element})),document.body)]})},Da=function(e){var t=e.children,n=document.body,r=(0,U.useState)({})[1];return(0,U.useEffect)(function(){n.style.overflow="hidden";var e=new ResizeObserver(function(e){r({})});return e.observe(n),function(){n.style.overflow="",e.disconnect()}},[n]),(0,X.jsx)(X.Fragment,{children:(0,Oo.createPortal)((0,X.jsx)("div",{style:{top:"".concat(n.scrollTop,"px"),left:"".concat(n.scrollLeft,"px"),width:"".concat(n.scrollWidth,"px"),height:"".concat(n.scrollHeight,"px"),position:"absolute",zIndex:1e3},children:(0,X.jsx)("div",{style:{top:"0px",left:"0px",width:"".concat(n.clientWidth,"px"),height:"".concat(n.clientHeight,"px"),position:"absolute"},children:t})}),n)})},za=function(e,t){return"%"===(null==t?void 0:t.unit)?e*((t.value||0)/100):(null==t?void 0:t.value)||0},Ma=function(e,t,n){var r=0,i=function(i){var o=e.find(function(e,n,r){var i=t.clientWidth,o=t.computedStyleMap(),s=o.get("padding-left"),a=o.get("padding-left");if(i=i-za(i,s)-za(i,a),0===n)return i>=e;if(r.length===n+1)return!0;var u=r[n-1];return i>=e&&i<u||void 0});r!==o&&(n(i,r,o),r=o)},o=new ResizeObserver(function(){i(!1)});return i(!0),o.observe(t),o},$a=function(){function e(){var e=this;this.elements={},this.getValue=function(){return Object.values(e.elements).filter(function(e){return e.size}).map(function(e){return e.size}).join(",")},this.lastValue="",this.onUpdate=function(){var t,n=e.getValue();e.lastValue!==n&&(e.lastValue=n,null===(t=e.update)||void 0===t||t.call(e,n))}}return e.prototype.render=function(e,t){if(e.nodeId)if(this.elements[e.nodeId]){var n=this.elements[e.nodeId];n.rendered=!0,n.item=e}else this.elements[e.nodeId]={rendered:!0,item:e,sizes:t}},e.prototype.finish=function(){var e=this;Object.values(this.elements).map(function(e){return!!e.item.ref}).includes(!1)||Object.entries(this.elements).forEach(function(t){var n,r,i=t[0],o=t[1];if(o.rendered){var s=o.item.ref;s&&(o.size&&s.classList.add("w".concat(o.size,"px")),o.resizeObserver&&o.item.ref===o.element||(null===(r=o.resizeObserver)||void 0===r||r.disconnect(),o.element=s,o.resizeObserver=Ma(o.sizes.map(function(e){return e.width}),s,function(t,n,r){window.requestAnimationFrame(function(){var t,i,a=o.sizes.find(function(e){return e.width===n}),u=o.sizes.find(function(e){return e.width===r});(null==a?void 0:a.className)&&(null==s||(t=s.classList).remove.apply(t,null==a?void 0:a.className)),(null==u?void 0:u.className)&&(null==s||(i=s.classList).add.apply(i,null==u?void 0:u.className)),o.size=r,e.onUpdate()})})))}else null===(n=o.resizeObserver)||void 0===n||n.disconnect(),delete e.elements[i];o.rendered=!1})},e.prototype.remove=function(){Object.values(this.elements).forEach(function(e){var t;null===(t=e.resizeObserver)||void 0===t||t.disconnect()})},e}(),Ba=i(543),Ua=i.n(Ba),Fa=function(){function e(e,t){var n=this;this.bank={},this.collectResponse=function(e){return Object.entries(e).reduce(function(e,t){var n=t[0],r=t[1];return e[n]={loading:r.loading,response:{body:r.response},error:r.error,request:r.request},e},{})},this.validateRequest=function(e,t,r){var i=n.getApisRequest(r);Object.entries(t).forEach(function(e){var t=e[0];e[1].load(i[t])}),n.bank[e].apis=n.collectResponse(t)},this.emit=function(e,t){n.bank[e].events.forEach(function(e){t&&t===e||e()})},this.baseState=e,this.getApisRequest=t}return e.prototype.mount=function(e,t){var n=this;if(this.bank[e])this.bank[e].events.includes(t)||this.bank[e].events.push(t);else{var r=Ua().cloneDeep(this.baseState),i=this.getApisRequest(r),o=Object.entries(i).reduce(function(t,r){var i=r[0],o=r[1],s=new Y(function(){n.emit(e)});return s.load(o),t[i]=s,t},{});this.bank[e]={state:r,mutated:r,apiLoaders:o,apis:this.collectResponse(o),events:[t]}}},e.prototype.unMount=function(e,t){if(this.bank[e]){var n=this.bank[e].events.indexOf(t);-1!==n&&this.bank[e].events.splice(n,1)}},e.prototype.set=function(e,t,n){var r=this.bank[e];this.validateRequest(e,r.apiLoaders,t),this.emit(e,n)},e}(),Wa=function(e,t){var n=(0,U.useState)({}),r=(n[0],n[1]),i=(0,U.useMemo)(function(){var n=function(){return r({})};return t.mount(e,n),n},[e]);return(0,U.useEffect)(function(){},[i,e]),{state:t.bank[e].mutated,apis:t.bank[e].apis,set:function(n,r){return t.set(e,n,r?i:void 0),!0},setState:function(n){var r=t.bank[e].state;return n(r),t.set(e,r),!0},get:function(){return t.bank[e].state}}},Ha=function(e){var t=(0,U.useState)({}),n=(t[0],t[1]),r=(0,U.useMemo)(function(){return Ua().cloneDeep(e)},[]);return{state:r,getState:function(){return r},setState:function(e){return n({}),!0}}};const qa="undefined"!=typeof window,Ya=qa?window:null,Ga=qa?document:null,Va={replace:0,none:1,blend:2},Xa=Symbol(),Za=Symbol(),Ka=Symbol(),Ja=Symbol(),Qa=(Symbol(),Symbol()),eu=1e-11,tu=1e12,nu=1e3,ru="",iu=new Map;iu.set("x","translateX"),iu.set("y","translateY"),iu.set("z","translateZ");const ou=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],su=ou.reduce((e,t)=>({...e,[t]:t+"("}),{}),au=()=>{},uu=/(^#([\da-f]{3}){1,2}$)|(^#([\da-f]{4}){1,2}$)/i,cu=/rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i,lu=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,fu=/hsl\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*\)/i,pu=/hsla\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,du=/[-+]?\d*\.?\d+(?:e[-+]?\d)?/gi,hu=/^([-+]?\d*\.?\d+(?:e[-+]?\d+)?)([a-z]+|%)$/i,gu=/([a-z])([A-Z])/g,mu=/(\w+)(\([^)]+\)+)/g,vu=/(\*=|\+=|-=)/,yu={id:null,keyframes:null,playbackEase:null,playbackRate:1,frameRate:120,loop:0,reversed:!1,alternate:!1,autoplay:!0,duration:nu,delay:0,loopDelay:0,ease:"out(2)",composition:Va.replace,modifier:e=>e,onBegin:au,onBeforeUpdate:au,onUpdate:au,onLoop:au,onPause:au,onComplete:au,onRender:au},bu={defaults:yu,root:Ga,scope:null,precision:4,timeScale:1,tickThreshold:200},_u={version:"4.0.0",engine:null};qa&&(Ya.AnimeJS||(Ya.AnimeJS=[]),Ya.AnimeJS.push(_u));const xu=(e,t)=>0===e.indexOf(t),wu=Date.now,Eu=Array.isArray,Tu=e=>e&&e.constructor===Object,Su=e=>"number"==typeof e&&!isNaN(e),Ru=e=>"string"==typeof e,Ou=e=>"function"==typeof e,Au=e=>void 0===e,Iu=e=>Au(e)||null===e,Lu=e=>qa&&e instanceof SVGElement,Nu=e=>uu.test(e),Cu=e=>xu(e,"rgb"),ku=e=>xu(e,"hsl"),Pu=e=>!bu.defaults.hasOwnProperty(e),ju=e=>Ru(e)?parseFloat(e):e,Du=Math.pow,zu=Math.sqrt,Mu=Math.sin,$u=Math.cos,Bu=Math.abs,Uu=(Math.exp,Math.ceil),Fu=Math.floor,Wu=Math.asin,Hu=(Math.max,Math.atan2,Math.PI),qu=Math.round,Yu=(e,t,n)=>e<t?t:e>n?n:e,Gu={},Vu=(e,t)=>{if(t<0)return e;if(!t)return qu(e);let n=Gu[t];return n||(n=Gu[t]=10**t),qu(e*n)/n},Xu=(e,t,n)=>e+(t-e)*n,Zu=e=>e===1/0?tu:e===-1/0?-1e12:e,Ku=e=>e<eu?eu:e,Ju=e=>Eu(e)?[...e]:e,Qu=(e,t)=>{const n={...e};for(let r in t){const i=e[r];n[r]=Au(i)?t[r]:i}return n},ec=(e,t,n,r="_prev",i="_next")=>{let o=e._head,s=i;for(n&&(o=e._tail,s=r);o;){const e=o[s];t(o),o=e}},tc=(e,t,n="_prev",r="_next")=>{const i=t[n],o=t[r];i?i[r]=o:e._head=o,o?o[n]=i:e._tail=i,t[n]=null,t[r]=null},nc=(e,t,n,r="_prev",i="_next")=>{let o=e._tail;for(;o&&n&&n(o,t);)o=o[r];const s=o?o[i]:e._head;o?o[i]=t:e._head=t,s?s[r]=t:e._tail=t,t[r]=o,t[i]=s};class rc{constructor(e=0){this.deltaTime=0,this._currentTime=e,this._elapsedTime=e,this._startTime=e,this._lastTime=e,this._scheduledTime=0,this._frameDuration=Vu(nu/120,0),this._fps=120,this._speed=1,this._hasChildren=!1,this._head=null,this._tail=null}get fps(){return this._fps}set fps(e){const t=this._frameDuration,n=+e,r=n<eu?eu:n,i=Vu(nu/r,0);this._fps=r,this._frameDuration=i,this._scheduledTime+=i-t}get speed(){return this._speed}set speed(e){const t=+e;this._speed=t<eu?eu:t}requestTick(e){const t=this._scheduledTime,n=this._elapsedTime;if(this._elapsedTime+=e-n,n<t)return 0;const r=this._frameDuration,i=n-t;return this._scheduledTime+=i<r?r:i,1}computeDeltaTime(e){const t=e-this._lastTime;return this.deltaTime=t,this._lastTime=e,t}}const ic=(e,t,n,r,i)=>{const o=e.parent,s=e.duration,a=e.completed,u=e.iterationDuration,c=e.iterationCount,l=e._currentIteration,f=e._loopDelay,p=e._reversed,d=e._alternate,h=e._hasChildren,g=e._delay,m=e._currentTime,v=g+u,y=t-g,b=Yu(m,-g,s),_=Yu(y,-g,s),x=y-m,w=_>0,E=_>=s,T=s<=eu,S=2===i;let R=0,O=y,A=0;if(c>1){const t=~~(_/(u+(E?0:f)));e._currentIteration=Yu(t,0,c),E&&e._currentIteration--,R=e._currentIteration%2,O=_%(u+f)||0}const I=p^(d&&R),L=e._ease;let N=E?I?0:s:I?u-O:O;L&&(N=u*L(N/u)||0);const C=(o?o.backwards:y<m)?!I:!!I;if(e._currentTime=y,e._iterationTime=N,e.backwards=C,w&&!e.began?(e.began=!0,n||o&&(C||!o.began)||e.onBegin(e)):y<=0&&(e.began=!1),n||h||!w||e._currentIteration===l||e.onLoop(e),S||1===i&&(t>=g&&t<=v||t<=g&&b>g||t>=v&&b!==s)||N>=v&&b!==s||N<=g&&b>0||t<=b&&b===s&&a||E&&!a&&T){if(w&&(e.computeDeltaTime(b),n||e.onBeforeUpdate(e)),!h){const t=S||(C?-1*x:x)>=bu.tickThreshold,i=e._offset+(o?o._offset:0)+g+N;let s,a,u,c,l=e._head,f=0;for(;l;){const e=l._composition,n=l._currentTime,o=l._changeDuration,p=l._absoluteStartTime+l._changeDuration,d=l._nextRep,h=l._prevRep,g=e!==Va.none;if((t||(n!==o||i<=p+(d?d._delay:0))&&(0!==n||i>=l._absoluteStartTime))&&(!g||!l._isOverridden&&(!l._isOverlapped||i<=p)&&(!d||d._isOverridden||i<=d._absoluteStartTime)&&(!h||h._isOverridden||i>=h._absoluteStartTime+h._changeDuration+l._delay))){const t=l._currentTime=Yu(N-l._startTime,0,o),n=l._ease(t/l._updateDuration),i=l._modifier,p=l._valueType,d=l._tweenType,h=0===d,m=0===p,v=m&&h||0===n||1===n?-1:bu.precision;let y,b;if(m)y=b=i(Vu(Xu(l._fromNumber,l._toNumber,n),v));else if(1===p)b=i(Vu(Xu(l._fromNumber,l._toNumber,n),v)),y=`${b}${l._unit}`;else if(2===p){const e=l._fromNumbers,t=l._toNumbers,r=Vu(Yu(i(Xu(e[0],t[0],n)),0,255),0),o=Vu(Yu(i(Xu(e[1],t[1],n)),0,255),0),s=Vu(Yu(i(Xu(e[2],t[2],n)),0,255),0),a=Yu(i(Vu(Xu(e[3],t[3],n),v)),0,1);if(y=`rgba(${r},${o},${s},${a})`,g){const e=l._numbers;e[0]=r,e[1]=o,e[2]=s,e[3]=a}}else if(3===p){y=l._strings[0];for(let e=0,t=l._toNumbers.length;e<t;e++){const t=i(Vu(Xu(l._fromNumbers[e],l._toNumbers[e],n),v)),r=l._strings[e+1];y+=`${r?t+r:t}`,g&&(l._numbers[e]=t)}}if(g&&(l._number=b),r||e===Va.blend)l._value=y;else{const e=l.property;s=l.target,h?s[e]=y:1===d?s.setAttribute(e,y):(a=s.style,3===d?(s!==u&&(u=s,c=s[Ja]),c[e]=y,f=1):2===d?a[e]=y:4===d&&a.setProperty(e,y)),w&&(A=1)}}if(f&&l._renderTransforms){let e=ru;for(let t in c)e+=`${su[t]}${c[t]}) `;a.transform=e,f=0}l=l._next}!n&&A&&e.onRender(e)}!n&&w&&e.onUpdate(e)}return o&&T?!n&&(o.began&&!C&&y>=s&&!a||C&&y<=eu&&a)&&(e.onComplete(e),e.completed=!C):w&&E?c===1/0?e._startTime+=e.duration:e._currentIteration>=c-1&&(e.paused=!0,a||h||(e.completed=!0,n||o&&(C||!o.began)||(e.onComplete(e),e._resolve(e)))):e.completed=!1,A},oc=(e,t,n,r,i)=>{const o=e._currentIteration;if(ic(e,t,n,r,i),e._hasChildren){const s=e,a=s.backwards,u=r?t:s._iterationTime,c=wu();let l=0,f=!0;if(!r&&s._currentIteration!==o){const e=s.iterationDuration;ec(s,t=>{if(a){const r=t.duration,i=t._offset+t._delay;n||!(r<=eu)||i&&i+r!==e||t.onComplete(t)}else!t.completed&&!t.backwards&&t._currentTime<t.iterationDuration&&ic(t,e,n,1,2),t.began=!1,t.completed=!1}),n||s.onLoop(s)}ec(s,e=>{const t=Vu((u-e._offset)*e._speed,12),o=e._fps<s._fps?e.requestTick(c):i;l+=ic(e,t,n,r,o),!e.completed&&f&&(f=!1)},a),!n&&l&&s.onRender(s),f&&s._currentTime>=s.duration&&(s.paused=!0,s.completed||(s.completed=!0,n||(s.onComplete(s),s._resolve(s))))}},sc={animation:null,update:au},ac=qa?requestAnimationFrame:setImmediate,uc=qa?cancelAnimationFrame:clearImmediate;class cc extends rc{constructor(e){super(e),this.useDefaultMainLoop=!0,this.pauseOnDocumentHidden=!0,this.defaults=yu,this.paused=!(!qa||!Ga.hidden),this.reqId=null}update(){const e=this._currentTime=wu();if(this.requestTick(e)){this.computeDeltaTime(e);const t=this._speed,n=this._fps;let r=this._head;for(;r;){const i=r._next;r.paused?(tc(this,r),this._hasChildren=!!this._tail,r._running=!1,r.completed&&!r._cancelled&&r.cancel()):oc(r,(e-r._startTime)*r._speed*t,0,0,r._fps<n?r.requestTick(e):1),r=i}sc.update()}}wake(){return!this.useDefaultMainLoop||this.reqId||this.paused||(this.reqId=ac(fc)),this}pause(){return this.paused=!0,pc()}resume(){if(this.paused)return this.paused=!1,ec(this,e=>e.resetTime()),this.wake()}get speed(){return this._speed*(1===bu.timeScale?1:nu)}set speed(e){this._speed=e*bu.timeScale,ec(this,e=>e.speed=e._speed)}get timeUnit(){return 1===bu.timeScale?"ms":"s"}set timeUnit(e){const t="s"===e,n=t?.001:1;if(bu.timeScale!==n){bu.timeScale=n,bu.tickThreshold=200*n;const e=t?.001:nu;this.defaults.duration*=e,this._speed*=e}}get precision(){return bu.precision}set precision(e){bu.precision=e}}const lc=(()=>{const e=new cc(wu());return qa&&(_u.engine=e,Ga.addEventListener("visibilitychange",()=>{e.pauseOnDocumentHidden&&(Ga.hidden?e.pause():e.resume())})),e})(),fc=()=>{lc._head?(lc.reqId=ac(fc),lc.update()):lc.reqId=0},pc=()=>(uc(lc.reqId),lc.reqId=0,lc);function dc(e){const t=Ru(e)?bu.root.querySelectorAll(e):e;if(t instanceof NodeList||t instanceof HTMLCollection)return t}function hc(e){if(Iu(e))return[];if(Eu(e)){const t=e.flat(1/0),n=[];for(let e=0,r=t.length;e<r;e++){const r=t[e];if(!Iu(r)){const e=dc(r);if(e)for(let t=0,r=e.length;t<r;t++){const r=e[t];if(!Iu(r)){let e=!1;for(let t=0,i=n.length;t<i;t++)if(n[t]===r){e=!0;break}e||n.push(r)}}else{let e=!1;for(let t=0,i=n.length;t<i;t++)if(n[t]===r){e=!0;break}e||n.push(r)}}}return n}if(!qa)return[e];const t=dc(e);return t?Array.from(t):[e]}function gc(e){const t=hc(e),n=t.length;if(n)for(let e=0;e<n;e++){const n=t[e];if(!n[Xa]){n[Xa]=!0;const e=Lu(n);(n.nodeType||e)&&(n[Za]=!0,n[Ka]=e,n[Ja]={})}}return t}const mc=["opacity","rotate","overflow","color"],vc=(e,t,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e),yc=(e,t)=>Au(e)?t:e,bc=(e,t,n,r,i)=>{if(Ou(e)){const o=()=>{const i=e(t,n,r);return isNaN(+i)?i||0:+i};return i&&(i.func=o),o()}return e},_c=(e,t)=>e[Za]?e[Ka]&&((e,t)=>{if(mc.includes(t))return!1;if(e.getAttribute(t)||t in e){if("scale"===t){const t=e.parentNode;return t&&"filter"===t.tagName}return!0}})(e,t)?1:ou.includes(t)||iu.get(t)?3:xu(t,"--")?4:t in e.style?2:t in e?0:1:0,xc=(e,t,n)=>{const r=e.style[t];r&&n&&(n[t]=r);const i=r||getComputedStyle(e[Qa]||e).getPropertyValue(t);return"auto"===i?"0":i},wc=(e,t,n,r)=>{const i=Au(n)?_c(e,t):n;return 0===i?e[t]||0:1===i?e.getAttribute(t):3===i?((e,t,n)=>{const r=e.style.transform;let i;if(r){const o=e[Ja];let s;for(;s=mu.exec(r);){const e=s[1],r=s[2].slice(1,-1);o[e]=r,e===t&&(i=r,n&&(n[t]=r))}}return r&&!Au(i)?i:xu(t,"scale")?"1":xu(t,"rotate")||xu(t,"skew")?"0deg":"0px"})(e,t,r):4===i?xc(e,t,r).trimStart():xc(e,t,r)},Ec=(e,t,n)=>"-"===n?e-t:"+"===n?e+t:e*t,Tc=(e,t)=>{if(t.t=0,t.n=0,t.u=null,t.o=null,t.d=null,t.s=null,!e)return t;const n=+e;if(isNaN(n)){let n=e;"="===n[1]&&(t.o=n[0],n=n.slice(2));const i=!n.includes(" ")&&hu.exec(n);if(i)return t.t=1,t.n=+i[1],t.u=i[2],t;if(t.o)return t.n=+n,t;if((e=>Nu(e)||Cu(e)||ku(e))(n))return t.t=2,t.d=Cu(r=n)?(e=>{const t=cu.exec(e)||lu.exec(e),n=Au(t[4])?1:+t[4];return[+t[1],+t[2],+t[3],n]})(r):Nu(r)?(e=>{const t=e.length,n=4===t||5===t;return[+("0x"+e[1]+e[n?1:2]),+("0x"+e[n?2:3]+e[n?2:4]),+("0x"+e[n?3:5]+e[n?3:6]),5===t||9===t?+(+("0x"+e[n?4:7]+e[n?4:8])/255).toFixed(3):1]})(r):ku(r)?(e=>{const t=fu.exec(e)||pu.exec(e),n=+t[1]/360,r=+t[2]/100,i=+t[3]/100,o=Au(t[4])?1:+t[4];let s,a,u;if(0===r)s=a=u=i;else{const e=i<.5?i*(1+r):i+r-i*r,t=2*i-e;s=Vu(255*vc(t,e,n+1/3),0),a=Vu(255*vc(t,e,n),0),u=Vu(255*vc(t,e,n-1/3),0)}return[s,a,u,o]})(r):[0,0,0,1],t;{const e=n.match(du);return t.t=3,t.d=e?e.map(Number):[],t.s=n.split(du)||[],t}}var r;return t.n=n,t},Sc=(e,t)=>(t.t=e._valueType,t.n=e._toNumber,t.u=e._unit,t.o=null,t.d=Ju(e._toNumbers),t.s=Ju(e._strings),t),Rc={t:0,n:0,u:null,o:null,d:null,s:null},Oc={_rep:new WeakMap,_add:new Map},Ac=(e,t,n="_rep")=>{const r=Oc[n];let i=r.get(e);return i||(i={},r.set(e,i)),i[t]?i[t]:i[t]={_head:null,_tail:null}},Ic=(e,t)=>e._isOverridden||e._absoluteStartTime>t._absoluteStartTime,Lc=e=>{e._isOverlapped=1,e._isOverridden=1,e._changeDuration=eu,e._currentTime=eu},Nc=(e,t)=>{const n=e._composition;if(n===Va.replace){const n=e._absoluteStartTime;nc(t,e,Ic,"_prevRep","_nextRep");const r=e._prevRep;if(r){const t=r.parent,i=r._absoluteStartTime+r._changeDuration;if(e.parent.id!==t.id&&t.iterationCount>1&&i+(t.duration-t.iterationDuration)>n){Lc(r);let e=r._prevRep;for(;e&&e.parent.id===t.id;)Lc(e),e=e._prevRep}const o=n-e._delay;if(i>o){const e=r._startTime,t=i-(e+r._updateDuration);r._changeDuration=o-t-e,r._currentTime=r._changeDuration,r._isOverlapped=1,r._changeDuration<eu&&Lc(r)}let s=!0;if(ec(t,e=>{e._isOverlapped||(s=!1)}),s){const e=t.parent;if(e){let n=!0;ec(e,e=>{e!==t&&ec(e,e=>{e._isOverlapped||(n=!1)})}),n&&e.cancel()}else t.cancel()}}}else if(n===Va.blend){const t=Ac(e.target,e.property,"_add"),n=(e=>{let t=sc.animation;return t||(t={duration:eu,computeDeltaTime:au,_offset:0,_delay:0,_head:null,_tail:null},sc.animation=t,sc.update=()=>{e.forEach(e=>{for(let t in e){const n=e[t],r=n._head;if(r){const e=r._valueType,t=3===e||2===e?Ju(r._fromNumbers):null;let i=r._fromNumber,o=n._tail;for(;o&&o!==r;){if(t)for(let e=0,n=o._numbers.length;e<n;e++)t[e]+=o._numbers[e];else i+=o._number;o=o._prevAdd}r._toNumber=i,r._toNumbers=t}}}),ic(t,1,1,0,2)}),t})(Oc._add);let r=t._head;r||(r={...e},r._composition=Va.replace,r._updateDuration=eu,r._startTime=0,r._numbers=Ju(e._fromNumbers),r._number=0,r._next=null,r._prev=null,nc(t,r),nc(n,r));const i=e._toNumber;if(e._fromNumber=r._fromNumber-i,e._toNumber=0,e._numbers=Ju(e._fromNumbers),e._number=0,r._fromNumber=i,e._toNumbers){const t=Ju(e._toNumbers);t&&t.forEach((t,n)=>{e._fromNumbers[n]=r._fromNumbers[n]-t,e._toNumbers[n]=0}),r._fromNumbers=t}nc(t,e,null,"_prevAdd","_nextAdd")}return e},Cc=e=>{const t=e._composition;if(t!==Va.none){const n=e.target,r=e.property,i=Oc._rep.get(n)[r];if(tc(i,e,"_prevRep","_nextRep"),t===Va.blend){const t=Oc._add,i=t.get(n);if(!i)return;const o=i[r],s=sc.animation;tc(o,e,"_prevAdd","_nextAdd");const a=o._head;if(a&&a===o._tail){tc(o,a,"_prevAdd","_nextAdd"),tc(s,a);let e=!0;for(let t in i)if(i[t]._head){e=!1;break}e&&t.delete(n)}}}return e},kc=e=>(e.paused=!0,e.began=!1,e.completed=!1,e),Pc=e=>e._cancelled?(e._hasChildren?ec(e,Pc):ec(e,e=>{e._composition!==Va.none&&Nc(e,Ac(e.target,e.property))}),e._cancelled=0,e):e;let jc=0;class Dc extends rc{constructor(e={},t=null,n=0){super(0);const{id:r,delay:i,duration:o,reversed:s,alternate:a,loop:u,loopDelay:c,autoplay:l,frameRate:f,playbackRate:p,onComplete:d,onLoop:h,onPause:g,onBegin:m,onBeforeUpdate:v,onUpdate:y}=e;bu.scope&&bu.scope.revertibles.push(this);const b=t?0:lc._elapsedTime,_=t?t.defaults:bu.defaults,x=Ou(i)||Au(i)?_.delay:+i,w=Ou(o)||Au(o)?1/0:+o,E=yc(u,_.loop),T=yc(c,_.loopDelay),S=!0===E||E===1/0||E<0?1/0:E+1;let R=0;if(t)R=n;else{let e=wu();lc.paused&&(lc.requestTick(e),e=lc._elapsedTime),R=e-lc._startTime}this.id=Au(r)?++jc:r,this.parent=t,this.duration=Zu((w+T)*S-T)||eu,this.backwards=!1,this.paused=!0,this.began=!1,this.completed=!1,this.onBegin=m||_.onBegin,this.onBeforeUpdate=v||_.onBeforeUpdate,this.onUpdate=y||_.onUpdate,this.onLoop=h||_.onLoop,this.onPause=g||_.onPause,this.onComplete=d||_.onComplete,this.iterationDuration=w,this.iterationCount=S,this._autoplay=!t&&yc(l,_.autoplay),this._offset=R,this._delay=x,this._loopDelay=T,this._iterationTime=0,this._currentIteration=0,this._resolve=au,this._running=!1,this._reversed=+yc(s,_.reversed),this._reverse=this._reversed,this._cancelled=0,this._alternate=yc(a,_.alternate),this._prev=null,this._next=null,this._elapsedTime=b,this._startTime=b,this._lastTime=b,this._fps=yc(f,_.frameRate),this._speed=yc(p,_.playbackRate)}get cancelled(){return!!this._cancelled}set cancelled(e){e?this.cancel():this.reset(1).play()}get currentTime(){return Yu(Vu(this._currentTime,bu.precision),-this._delay,this.duration)}set currentTime(e){const t=this.paused;this.pause().seek(+e),t||this.resume()}get iterationCurrentTime(){return Vu(this._iterationTime,bu.precision)}set iterationCurrentTime(e){this.currentTime=this.iterationDuration*this._currentIteration+e}get progress(){return Yu(Vu(this._currentTime/this.duration,5),0,1)}set progress(e){this.currentTime=this.duration*e}get iterationProgress(){return Yu(Vu(this._iterationTime/this.iterationDuration,5),0,1)}set iterationProgress(e){const t=this.iterationDuration;this.currentTime=t*this._currentIteration+t*e}get currentIteration(){return this._currentIteration}set currentIteration(e){this.currentTime=this.iterationDuration*Yu(+e,0,this.iterationCount-1)}get reversed(){return!!this._reversed}set reversed(e){e?this.reverse():this.play()}get speed(){return super.speed}set speed(e){super.speed=e,this.resetTime()}reset(e=0){return Pc(this),this._reversed&&!this._reverse&&(this.reversed=!1),this._iterationTime=this.iterationDuration,oc(this,0,1,e,2),kc(this),this._hasChildren&&ec(this,kc),this}init(e=0){this.fps=this._fps,this.speed=this._speed,!e&&this._hasChildren&&oc(this,this.duration,1,e,2),this.reset(e);const t=this._autoplay;return!0===t?this.resume():t&&!Au(t.linked)&&t.link(this),this}resetTime(){const e=1/(this._speed*lc._speed);return this._startTime=wu()-(this._currentTime+this._delay)*e,this}pause(){return this.paused||(this.paused=!0,this.onPause(this)),this}resume(){return this.paused?(this.paused=!1,this.duration<=eu&&!this._hasChildren?oc(this,eu,0,0,2):(this._running||(nc(lc,this),lc._hasChildren=!0,this._running=!0),this.resetTime(),this._startTime-=12,lc.wake()),this):this}restart(){return this.reset(0).resume()}seek(e,t=0,n=0){Pc(this),this.completed=!1;const r=this.paused;return this.paused=!0,oc(this,e+this._delay,~~t,~~n,1),r?this:this.resume()}alternate(){const e=this._reversed,t=this.iterationCount,n=this.iterationDuration,r=t===1/0?Fu(tu/n):t;return this._reversed=+(!this._alternate||r%2?!e:e),t===1/0?this.iterationProgress=this._reversed?1-this.iterationProgress:this.iterationProgress:this.seek(n*r-this._currentTime),this.resetTime(),this}play(){return this._reversed&&this.alternate(),this.resume()}reverse(){return this._reversed||this.alternate(),this.resume()}cancel(){return this._hasChildren?ec(this,e=>e.cancel(),!0):ec(this,Cc),this._cancelled=1,this.pause()}stretch(e){const t=this.duration;if(t===Ku(e))return this;const n=e/t,r=e<=eu;return this.duration=r?eu:Ku(Zu(Vu(t*n,12))),this.iterationDuration=r?eu:Ku(Zu(Vu(this.iterationDuration*n,12))),this._offset*=n,this._delay*=n,this._loopDelay*=n,this}revert(){oc(this,0,1,0,1);const e=this._autoplay;return e&&e.linked&&e.linked===this&&e.revert(),this.cancel()}complete(){return this.seek(this.duration).cancel()}then(e=au){const t=this.then,n=()=>{this.then=null,e(this),this.then=t,this._resolve=au};return new Promise(e=>(this._resolve=()=>e(n()),this.completed&&this._resolve(),this))}}const zc=e=>e,Mc=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,$c=(e=.5,t=0,n=.5,r=1)=>e===t&&n===r?zc:i=>0===i||1===i?i:Mc(((e,t,n)=>{let r,i,o=0,s=1,a=0;do{i=o+(s-o)/2,r=Mc(i,t,n)-e,r>0?s=i:o=i}while(Bu(r)>1e-7&&++a<100);return i})(i,e,n),t,r),Bc=(e=10,t)=>{const n=t?Uu:Fu;return t=>n(Yu(t,0,1)*e)*(1/e)},Uc=(...e)=>{const t=e.length;if(!t)return zc;const n=t-1,r=e[0],i=e[n],o=[0],s=[ju(r)];for(let t=1;t<n;t++){const r=e[t],i=Ru(r)?r.trim().split(" "):[r],a=i[0],u=i[1];o.push(Au(u)?t/n:ju(u)/100),s.push(ju(a))}return s.push(ju(i)),o.push(1),function(e){for(let t=1,n=o.length;t<n;t++){const n=o[t];if(e<=n){const r=o[t-1],i=s[t-1];return i+(s[t]-i)*(e-r)/(n-r)}}return s[s.length-1]}},Fc=(e=10,t=1)=>{const n=[0],r=e-1;for(let e=1;e<r;e++){const i=n[e-1],o=e/r,s=o*(1-t)+(o+((e+1)/r-o)*Math.random())*t;n.push(Yu(s,i,1))}return n.push(1),Uc(...n)},Wc=Hu/2,Hc=2*Hu,qc=(e=1.68)=>t=>Du(t,+e),Yc={[ru]:qc,Quad:qc(2),Cubic:qc(3),Quart:qc(4),Quint:qc(5),Sine:e=>1-$u(e*Wc),Circ:e=>1-zu(1-e*e),Expo:e=>e?Du(2,10*e-10):0,Bounce:e=>{let t,n=4;for(;e<((t=Du(2,--n))-1)/11;);return 1/Du(4,3-n)-7.5625*Du((3*t-2)/22-e,2)},Back:(e=1.70158)=>t=>(+e+1)*t*t*t-+e*t*t,Elastic:(e=1,t=.3)=>{const n=Yu(+e,1,10),r=Yu(+t,eu,2),i=r/Hc*Wu(1/n),o=Hc/r;return e=>0===e||1===e?e:-n*Du(2,-10*(1-e))*Mu((1-e-i)*o)}},Gc={in:e=>t=>e(t),out:e=>t=>1-e(1-t),inOut:e=>t=>t<.5?e(2*t)/2:1-e(-2*t+2)/2,outIn:e=>t=>t<.5?(1-e(1-2*t))/2:(e(2*t-1)+1)/2},Vc=(()=>{const e={linear:Uc,irregular:Fc,steps:Bc,cubicBezier:$c};for(let t in Gc)for(let n in Yc){const r=Yc[n],i=Gc[t];e[t+n]=n===ru||"Back"===n||"Elastic"===n?(e,t)=>i(r(e,t)):i(r)}return e})(),Xc={linear:zc},Zc=e=>Ou(e)?e:Ru(e)?((e,t,n)=>{if(n[e])return n[e];if(e.indexOf("(")<=-1){const r=Gc[e]||e.includes("Back")||e.includes("Elastic")?t[e]():t[e];return r?n[e]=r:zc}{const r=e.slice(0,-1).split("("),i=t[r[0]];return i?n[e]=i(...r[1].split(",")):zc}})(e,Vc,Xc):zc,Kc={},Jc=(e,t,n)=>{if(3===n){return iu.get(e)||e}if(2===n||1===n&&Lu(t)&&e in t.style){const t=Kc[e];if(t)return t;{const t=e?e.replace(gu,"$1-$2").toLowerCase():e;return Kc[e]=t,t}}return e},Qc={deg:1,rad:180/Hu,turn:360},el={},tl=(e,t,n,r=!1)=>{const i=t.u,o=t.n;if(1===t.t&&i===n)return t;const s=o+i+n,a=el[s];if(Au(a)||r){let r;if(i in Qc)r=o*Qc[i]/Qc[n];else{const t=100,s=e.cloneNode(),a=e.parentNode,u=a&&a!==Ga?a:Ga.body;u.appendChild(s);const c=s.style;c.width=t+i;const l=s.offsetWidth||t;c.width=t+n;const f=l/(s.offsetWidth||t);u.removeChild(s),r=f*o}t.n=r,el[s]=r}else t.n=a;return t.t,t.u=n,t},nl=e=>{if(e._hasChildren)ec(e,nl,!0);else{const t=e;t.pause(),ec(t,e=>{const n=e.property,r=e.target;if(r[Za]){const i=r.style,o=t._inlineStyles[n];if(3===e._tweenType){const t=r[Ja];if(Au(o)||o===ru?delete t[n]:t[n]=o,e._renderTransforms)if(Object.keys(t).length){let e=ru;for(let n in t)e+=su[n]+t[n]+") ";i.transform=e}else i.removeProperty("transform")}else Au(o)||o===ru?i.removeProperty(n):i[n]=o;t._tail===e&&t.targets.forEach(e=>{e.getAttribute&&e.getAttribute("style")===ru&&e.removeAttribute("style")})}})}return e},rl={t:0,n:0,u:null,o:null,d:null,s:null},il={t:0,n:0,u:null,o:null,d:null,s:null},ol={func:null},sl=[null],al=[null,null],ul={to:null};let cl,ll,fl=0;class pl extends Dc{constructor(e,t,n,r,i=!1,o=0,s=0){super(t,n,r);const a=gc(e),u=a.length,c=t.keyframes,l=c?Qu(((e,t)=>{const n={};if(Eu(e)){const t=[].concat(...e.map(e=>Object.keys(e))).filter(Pu);for(let r=0,i=t.length;r<i;r++){const i=t[r],o=e.map(e=>{const t={};for(let n in e){const r=e[n];Pu(n)?n===i&&(t.to=r):t[n]=r}return t});n[i]=o}}else{const r=yc(t.duration,bu.defaults.duration),i=Object.keys(e).map(t=>({o:parseFloat(t)/100,p:e[t]})).sort((e,t)=>e.o-t.o);i.forEach(e=>{const t=e.o,i=e.p;for(let e in i)if(Pu(e)){let o=n[e];o||(o=n[e]=[]);const s=t*r;let a=o.length,u=o[a-1];const c={to:i[e]};let l=0;for(let e=0;e<a;e++)l+=o[e].duration;1===a&&(c.from=u.to),i.ease&&(c.ease=i.ease),c.duration=s-(a?l:0),o.push(c)}return e});for(let e in n){const t=n[e];let r;for(let e=0,n=t.length;e<n;e++){const n=t[e],i=n.ease;n.ease=r||void 0,r=i}t[0].duration||t.shift()}}return n})(c,t),t):t,{delay:f,duration:p,ease:d,playbackEase:h,modifier:g,composition:m,onRender:v}=l,y=n?n.defaults:bu.defaults,b=yc(h,y.playbackEase),_=b?Zc(b):null,x=!Au(d)&&!Au(d.ease),w=x?d.ease:yc(d,_?"linear":y.ease),E=x?d.duration:yc(p,y.duration),T=yc(f,y.delay),S=g||y.modifier,R=Au(m)&&u>=nu?Va.none:Au(m)?y.composition:m,O={},A=this._offset+(n?n._offset:0);let I=NaN,L=NaN,N=0,C=0;for(let e=0;e<u;e++){const t=a[e],r=o||e,c=s||u;let f=NaN,p=NaN;for(let e in l)if(Pu(e)){const o=_c(t,e),s=Jc(e,t,o);let a=l[e];const u=Eu(a);if(i&&!u&&(al[0]=a,al[1]=a,a=al),u){const e=a.length,t=!Tu(a[0]);2===e&&t?(ul.to=a,sl[0]=ul,cl=sl):e>2&&t?(cl=[],a.forEach((e,t)=>{t?1===t?(al[1]=e,cl.push(al)):cl.push(e):al[0]=e})):cl=a}else sl[0]=a,cl=sl;let d=null,h=null,g=NaN,m=0,v=0;for(let e=cl.length;v<e;v++){const i=cl[v];Tu(i)?ll=i:(ul.to=i,ll=ul),ol.func=null;const a=bc(ll.to,t,r,c,ol);let u;Tu(a)&&!Au(a.to)?(ll=a,u=a.to):u=a;const l=bc(ll.from,t,r,c),f=ll.ease,p=!Au(f)&&!Au(f.ease),y=p?f.ease:f||w,b=p?f.duration:bc(yc(ll.duration,e>1?bc(E,t,r,c)/e:E),t,r,c),_=bc(yc(ll.delay,v?0:T),t,r,c),x=bc(yc(ll.composition,R),t,r,c),I=Su(x)?x:Va[x],L=ll.modifier||S,k=!Au(l),P=!Au(u),j=Eu(u),D=j||k&&P,z=h?m+_:_,M=A+z;C||!k&&!j||(C=1);let $=h;if(I!==Va.none){d||(d=Ac(t,s));let e=d._head;for(;e&&!e._isOverridden&&e._absoluteStartTime<=M;)if($=e,e=e._nextRep,e&&e._absoluteStartTime>=M)for(;e;)Lc(e),e=e._nextRep}if(D?(Tc(j?bc(u[0],t,r,c):l,rl),Tc(j?bc(u[1],t,r,c,ol):u,il),0===rl.t&&($?1===$._valueType&&(rl.t=1,rl.u=$._unit):(Tc(wc(t,s,o,O),Rc),1===Rc.t&&(rl.t=1,rl.u=Rc.u)))):(P?Tc(u,il):h?Sc(h,il):Tc(n&&$&&$.parent.parent===n?$._value:wc(t,s,o,O),il),k?Tc(l,rl):h?Sc(h,rl):Tc(n&&$&&$.parent.parent===n?$._value:wc(t,s,o,O),rl)),rl.o&&(rl.n=Ec($?$._toNumber:Tc(wc(t,s,o,O),Rc).n,rl.n,rl.o)),il.o&&(il.n=Ec(rl.n,il.n,il.o)),rl.t!==il.t)if(3===rl.t||3===il.t){const e=3===rl.t?rl:il,t=3===rl.t?il:rl;t.t=3,t.s=Ju(e.s),t.d=e.d.map(()=>t.n)}else if(1===rl.t||1===il.t){const e=1===rl.t?rl:il,t=1===rl.t?il:rl;t.t=1,t.u=e.u}else if(2===rl.t||2===il.t){const e=2===rl.t?rl:il,t=2===rl.t?il:rl;t.t=2,t.s=e.s,t.d=[0,0,0,1]}if(rl.u!==il.u){let e=il.u?rl:il;e=tl(t,e,il.u?il.u:rl.u,!1)}if(il.d&&rl.d&&il.d.length!==rl.d.length){const e=rl.d.length>il.d.length?rl:il,t=e===rl?il:rl;t.d=e.d.map((e,n)=>Au(t.d[n])?0:t.d[n]),t.s=Ju(e.s)}const B=Vu(+b||eu,12),U={parent:this,id:fl++,property:s,target:t,_value:null,_func:ol.func,_ease:Zc(y),_fromNumbers:Ju(rl.d),_toNumbers:Ju(il.d),_strings:Ju(il.s),_fromNumber:rl.n,_toNumber:il.n,_numbers:Ju(rl.d),_number:rl.n,_unit:il.u,_modifier:L,_currentTime:0,_startTime:z,_delay:+_,_updateDuration:B,_changeDuration:B,_absoluteStartTime:M,_tweenType:o,_valueType:il.t,_composition:I,_isOverlapped:0,_isOverridden:0,_renderTransforms:0,_prevRep:null,_nextRep:null,_prevAdd:null,_nextAdd:null,_prev:null,_next:null};I!==Va.none&&Nc(U,d),isNaN(g)&&(g=U._startTime),m=Vu(z+B,12),h=U,N++,nc(this,U)}(isNaN(L)||g<L)&&(L=g),(isNaN(I)||m>I)&&(I=m),3===o&&(f=N-v,p=N)}if(!isNaN(f)){let e=0;ec(this,t=>{e>=f&&e<p&&(t._renderTransforms=1,t._composition===Va.blend&&ec(sc.animation,e=>{e.id===t.id&&(e._renderTransforms=1)})),e++})}}u||console.warn("No target found. Make sure the element you're trying to animate is accessible before creating your animation."),L?(ec(this,e=>{e._startTime-e._delay||(e._delay-=L),e._startTime-=L}),I-=L):L=0,I||(I=eu,this.iterationCount=0),this.targets=a,this.duration=I===eu?eu:Zu((I+this._loopDelay)*this.iterationCount-this._loopDelay)||eu,this.onRender=v||y.onRender,this._ease=_,this._delay=L,this.iterationDuration=I,this._inlineStyles=O,!this._autoplay&&C&&this.onRender(this)}stretch(e){const t=this.duration;if(t===Ku(e))return this;const n=e/t;return ec(this,e=>{e._updateDuration=Ku(Vu(e._updateDuration*n,12)),e._changeDuration=Ku(Vu(e._changeDuration*n,12)),e._currentTime*=n,e._startTime*=n,e._absoluteStartTime*=n}),super.stretch(e)}refresh(){return ec(this,e=>{const t=wc(e.target,e.property,e._tweenType);Tc(t,Rc),e._fromNumbers=Ju(Rc.d),e._fromNumber=Rc.n,e._func&&(Tc(e._func(),il),e._toNumbers=Ju(il.d),e._strings=Ju(il.s),e._toNumber=il.n)}),this}revert(){return super.revert(),nl(this)}then(e){return super.then(e)}}ou.filter(e=>["X","Y","Z"].some(t=>e.endsWith(t))),qa&&(Au(CSS)||Object.hasOwnProperty.call(CSS,"registerProperty"));const dl={_head:null,_tail:null},hl=(e,t,n)=>{let r=dl._head;for(;r;){const i=r._next,o=r.$el===e,s=!t||r.property===t,a=!n||r.parent===n;if(o&&s&&a){const e=r.animation;try{e.commitStyles()}catch{}e.cancel(),tc(dl,r);const t=r.parent;t&&(t._completed++,t.animations.length===t._completed&&(t.completed=!0,t.muteCallbacks||(t.paused=!0,t.onComplete(t),t._resolve(t))))}r=i}},gl=(e=au)=>new Dc({duration:1*bu.timeScale,onComplete:e},null,0).resume();function ml(e,t,n){const r=gc(e);if(!r.length)return;const[i]=r,o=_c(i,t),s=Jc(t,i,o);let a=wc(i,s);if(Au(n))return a;if(Tc(a,Rc),0===Rc.t||1===Rc.t){if(!1===n)return Rc.n;{const e=tl(i,Rc,n,!1);return`${Vu(e.n,bu.precision)}${e.u}`}}}const vl=(e,t)=>{if(!Au(t))return t.duration=eu,t.composition=yc(t.composition,Va.none),new pl(e,t,null,0,!0).resume()},yl=(e,t,n)=>{let r=!1;return ec(t,i=>{const o=i.target;if(e.includes(o)){const e=i.property,s=i._tweenType,a=Jc(n,o,s);(!a||a&&a===e)&&(i.parent._tail===i&&3===i._tweenType&&i._prev&&3===i._prev._tweenType&&(i._prev._renderTransforms=1),tc(t,i),Cc(i),r=!0)}},!0),r},bl=(e,t,n)=>{const r=hc(e),i=t||lc,o=t&&t.controlAnimation&&t;for(let e=0,t=r.length;e<t;e++){const t=r[e];hl(t,n,o)}let s;if(i._hasChildren){let t=0;ec(i,o=>{if(!o._hasChildren)if(s=yl(r,o,n),s&&!o._head)o.cancel(),tc(i,o);else{const e=o._offset+o._delay+o.duration;e>t&&(t=e)}o._head?bl(e,o,n):o._hasChildren=!1},!0),Au(i.iterationDuration)||(i.iterationDuration=t)}else s=yl(r,i,n);return s&&!i._head&&(i._hasChildren=!1,i.cancel&&i.cancel()),r},_l=(e,t,n)=>{const r=10**(n||0);return Fu((Math.random()*(t-e+1/r)+e)*r)/r},xl=(e,t,n,r)=>{let i=nu/bu.defaults.frameRate;if(!1!==r){const e=r||lc._hasChildren&&lc;e&&e.deltaTime&&(i=e.deltaTime)}const o=1-Math.exp(-n*i*.1);return n?1===n?t:(1-o)*e+o*t:e},wl=e=>(...t)=>{const n=e(...t);return new Proxy(au,{apply:(e,t,[r])=>n(r),get:(e,t)=>wl((...e)=>{const r=Tl[t](...e);return e=>r(n(e))})})},El=(e,t=0)=>(...n)=>(n.length<e.length?wl(((e,t=0)=>(...n)=>t?t=>e(...n,t):t=>e(t,...n))(e,t)):e)(...n),Tl={$:gc,get:ml,set:vl,remove:bl,cleanInlineStyles:nl,random:_l,randomPick:e=>e[_l(0,e.length-1)],shuffle:e=>{let t,n,r=e.length;for(;r;)n=_l(0,--r),t=e[r],e[r]=e[n],e[n]=t;return e},lerp:xl,sync:gl,clamp:El(Yu),round:El(Vu),snap:El((e,t)=>Eu(t)?t.reduce((t,n)=>Bu(n-e)<Bu(t-e)?n:t):t?qu(e/t)*t:e),wrap:El((e,t,n)=>((e-t)%(n-t)+(n-t))%(n-t)+t),interpolate:El(Xu,1),mapRange:El((e,t,n,r,i)=>r+(e-t)/(n-t)*(i-r)),roundPad:El((e,t)=>(+e).toFixed(t)),padStart:El((e,t,n)=>`${e}`.padStart(t,n)),padEnd:El((e,t,n)=>`${e}`.padEnd(t,n)),degToRad:El(e=>e*Hu/180),radToDeg:El(e=>180*e/Hu)},Sl=(e,t)=>{let n=e.iterationDuration;if(n===eu&&(n=0),Au(t))return n;if(Su(+t))return+t;const r=t,i=e?e.labels:null,o=!Iu(i),s=((e,t)=>{if(xu(t,"<")){const n="<"===t[1],r=e._tail,i=r?r._offset+r._delay:0;return n?i:i+r.duration}})(e,r),a=!Au(s),u=vu.exec(r);if(u){const e=u[0],t=r.split(e),c=o&&t[0]?i[t[0]]:n,l=a?s:o?c:n,f=+t[1];return Ec(l,f,e[0])}return a?s:o?Au(i[r])?n:i[r]:n};function Rl(e,t,n,r,i,o){const s=Su(e.duration)&&e.duration<=eu?n-eu:n;oc(t,s,1,1,1);const a=r?new pl(r,e,t,s,!1,i,o):new Dc(e,t,s);return a.init(1),nc(t,a),ec(t,e=>{const n=e._offset+e._delay+e.duration;n>t.iterationDuration&&(t.iterationDuration=n)}),t.duration=function(e){return Zu((e.iterationDuration+e._loopDelay)*e.iterationCount-e._loopDelay)||eu}(t),t}class Ol extends Dc{constructor(e={}){super(e,null,0),this.duration=0,this.labels={};const t=e.defaults,n=bu.defaults;this.defaults=t?Qu(t,n):n,this.onRender=e.onRender||n.onRender;const r=yc(e.playbackEase,n.playbackEase);this._ease=r?Zc(r):null,this.iterationDuration=0}add(e,t,n){const r=Tu(t),i=Tu(e);if(r||i){if(this._hasChildren=!0,r){const r=t;if(Ou(n)){const t=n,i=hc(e),o=this.duration,s=this.iterationDuration,a=r.id;let u=0;const c=i.length;i.forEach(e=>{const n={...r};this.duration=o,this.iterationDuration=s,Au(a)||(n.id=a+"-"+u),Rl(n,this,t(e,u,c,this),e,u,c),u++})}else Rl(r,this,Sl(this,n),e)}else Rl(e,this,Sl(this,t));return this.init(1)}}sync(e,t){if(Au(e)||e&&Au(e.pause))return this;e.pause();const n=+(e.effect?e.effect.getTiming().duration:e.duration);return this.add(e,{currentTime:[0,n],duration:n,ease:"linear"},t)}set(e,t,n){return Au(t)?this:(t.duration=eu,t.composition=Va.replace,this.add(e,t,n))}call(e,t){return Au(e)||e&&!Ou(e)?this:this.add({duration:0,onComplete:()=>e(this)},t)}label(e,t){return Au(e)||e&&!Ru(e)||(this.labels[e]=Sl(this,t)),this}remove(e,t){return bl(e,this,t),this}stretch(e){const t=this.duration;if(t===Ku(e))return this;const n=e/t,r=this.labels;ec(this,e=>{e.stretch(e.duration*n)});for(let e in r)r[e]*=n;return super.stretch(e)}refresh(){return ec(this,e=>{e.refresh&&e.refresh()}),this}revert(){return super.revert(),ec(this,e=>e.revert,!0),nl(this)}then(e){return super.then(e)}}const Al=(e,t)=>e&&Ou(e)?e(t):e,Il=new Map;class Ll{constructor(e){this.element=e,this.useWin=this.element===Ga.body,this.winWidth=0,this.winHeight=0,this.width=0,this.height=0,this.left=0,this.top=0,this.zIndex=0,this.scrollX=0,this.scrollY=0,this.prevScrollX=0,this.prevScrollY=0,this.scrollWidth=0,this.scrollHeight=0,this.velocity=0,this.backwardX=!1,this.backwardY=!1,this.scrollTicker=new Dc({autoplay:!1,onBegin:()=>this.dataTimer.resume(),onUpdate:()=>{const e=this.backwardX||this.backwardY;ec(this,e=>e.handleScroll(),e)},onComplete:()=>this.dataTimer.pause()}).init(),this.dataTimer=new Dc({autoplay:!1,frameRate:30,onUpdate:e=>{const t=e.deltaTime,n=this.prevScrollX,r=this.prevScrollY,i=this.scrollX,o=this.scrollY,s=n-i,a=r-o;this.prevScrollX=i,this.prevScrollY=o,s&&(this.backwardX=n>i),a&&(this.backwardY=r>o),this.velocity=Vu(t>0?Math.sqrt(s*s+a*a)/t:0,5)}}).init(),this.resizeTicker=new Dc({autoplay:!1,duration:250*bu.timeScale,onComplete:()=>{this.updateWindowBounds(),this.refreshScrollObservers(),this.handleScroll()}}).init(),this.wakeTicker=new Dc({autoplay:!1,duration:500*bu.timeScale,onBegin:()=>{this.scrollTicker.resume()},onComplete:()=>{this.scrollTicker.pause()}}).init(),this._head=null,this._tail=null,this.updateScrollCoords(),this.updateWindowBounds(),this.updateBounds(),this.refreshScrollObservers(),this.handleScroll(),this.resizeObserver=new ResizeObserver(()=>this.resizeTicker.restart()),this.resizeObserver.observe(this.element),(this.useWin?Ya:this.element).addEventListener("scroll",this,!1)}updateScrollCoords(){const e=this.useWin,t=this.element;this.scrollX=Vu(e?Ya.scrollX:t.scrollLeft,0),this.scrollY=Vu(e?Ya.scrollY:t.scrollTop,0)}updateWindowBounds(){this.winWidth=Ya.innerWidth,this.winHeight=(()=>{const e=document.createElement("div");Ga.body.appendChild(e),e.style.height="100lvh";const t=e.offsetHeight;return Ga.body.removeChild(e),t})()}updateBounds(){const e=getComputedStyle(this.element),t=this.element;let n,r;if(this.scrollWidth=t.scrollWidth+parseFloat(e.marginLeft)+parseFloat(e.marginRight),this.scrollHeight=t.scrollHeight+parseFloat(e.marginTop)+parseFloat(e.marginBottom),this.updateWindowBounds(),this.useWin)n=this.winWidth,r=this.winHeight;else{const e=t.getBoundingClientRect();n=e.width,r=e.height,this.top=e.top,this.left=e.left}this.width=n,this.height=r}refreshScrollObservers(){ec(this,e=>{e._debug&&e.removeDebug()}),this.updateBounds(),ec(this,e=>{e.refresh(),e._debug&&e.debug()})}refresh(){this.updateWindowBounds(),this.updateBounds(),this.refreshScrollObservers(),this.handleScroll()}handleScroll(){this.updateScrollCoords(),this.wakeTicker.restart()}handleEvent(e){"scroll"===e.type&&this.handleScroll()}revert(){this.scrollTicker.cancel(),this.dataTimer.cancel(),this.resizeTicker.cancel(),this.wakeTicker.cancel(),this.resizeObserver.unobserve(this.element),(this.useWin?Ya:this.element).removeEventListener("scroll",this),Il.delete(this.element)}}const Nl=(e,t,n,r,i)=>{const o="min"===t,s="max"===t,a="top"===t||"left"===t||"start"===t||o?0:"bottom"===t||"right"===t||"end"===t||s?"100%":"center"===t?"50%":t,{n:u,u:c}=Tc(a,Rc);let l=u;return"%"===c?l=u/100*n:c&&(l=tl(e,Rc,"px",!0).n),s&&r<0&&(l+=r),o&&i>0&&(l+=i),l},Cl=(e,t,n,r,i)=>{let o;if(Ru(t)){const s=vu.exec(t);if(s){const a=s[0],u=a[0],c=t.split(a),l="min"===c[0],f="max"===c[0],p=Nl(e,c[0],n,r,i),d=Nl(e,c[1],n,r,i);if(l){const t=Ec(Nl(e,"min",n),d,u);o=t<p?p:t}else if(f){const t=Ec(Nl(e,"max",n),d,u);o=t>p?p:t}else o=Ec(p,d,u)}else o=Nl(e,t,n,r,i)}else o=t;return Vu(o,0)},kl=e=>{let t;const n=e.targets;for(let e=0,r=n.length;e<r;e++){const r=n[e];if(r[Za]){t=r;break}}return t};let Pl=0;const jl=["#FF4B4B","#FF971B","#FFC730","#F9F640","#7AFF5A","#18FF74","#17E09B","#3CFFEC","#05DBE9","#33B3F1","#638CF9","#C563FE","#FF4FCF","#F93F8A"];class Dl{constructor(e={}){bu.scope&&bu.scope.revertibles.push(this);const t=yc(e.sync,"play pause"),n=t?Zc(t):null,r=t&&("linear"===t||t===zc),i=t&&!(n===zc&&!r),o=t&&(Su(t)||!0===t||r),s=t&&Ru(t)&&!i&&!o,a=s?t.split(" ").map(e=>()=>{const t=this.linked;return t&&t[e]?t[e]():null}):null,u=s&&a.length>2;this.index=Pl++,this.id=Au(e.id)?this.index:e.id,this.container=(e=>{const t=e&&hc(e)[0]||Ga.body;let n=Il.get(t);return n||(n=new Ll(t),Il.set(t,n)),n})(e.container),this.target=null,this.linked=null,this.repeat=null,this.horizontal=null,this.enter=null,this.leave=null,this.sync=i||o||!!a,this.syncEase=i?n:null,this.syncSmooth=o?!0===t||r?1:t:null,this.onSyncEnter=a&&!u&&a[0]?a[0]:au,this.onSyncLeave=a&&!u&&a[1]?a[1]:au,this.onSyncEnterForward=a&&u&&a[0]?a[0]:au,this.onSyncLeaveForward=a&&u&&a[1]?a[1]:au,this.onSyncEnterBackward=a&&u&&a[2]?a[2]:au,this.onSyncLeaveBackward=a&&u&&a[3]?a[3]:au,this.onEnter=e.onEnter||au,this.onLeave=e.onLeave||au,this.onEnterForward=e.onEnterForward||au,this.onLeaveForward=e.onLeaveForward||au,this.onEnterBackward=e.onEnterBackward||au,this.onLeaveBackward=e.onLeaveBackward||au,this.onUpdate=e.onUpdate||au,this.onSyncComplete=e.onSyncComplete||au,this.reverted=!1,this.completed=!1,this.began=!1,this.isInView=!1,this.forceEnter=!1,this.hasEntered=!1,this.offsets=[],this.offset=0,this.offsetStart=0,this.offsetEnd=0,this.distance=0,this.prevProgress=0,this.thresholds=["start","end","end","start"],this.coords=[0,0,0,0],this.debugStyles=null,this.$debug=null,this._params=e,this._debug=yc(e.debug,!1),this._next=null,this._prev=null,nc(this.container,this),gl(()=>{if(!this.reverted){if(!this.target){const t=hc(e.target)[0];this.target=t||Ga.body,this.refresh()}this._debug&&this.debug()}})}link(e){if(e&&(e.pause(),this.linked=e,!this._params.target)){let t;Au(e.targets)?ec(e,e=>{e.targets&&!t&&(t=kl(e))}):t=kl(e),this.target=t||Ga.body,this.refresh()}return this}get velocity(){return this.container.velocity}get backward(){return this.horizontal?this.container.backwardX:this.container.backwardY}get scroll(){return this.horizontal?this.container.scrollX:this.container.scrollY}get progress(){const e=(this.scroll-this.offsetStart)/this.distance;return e===1/0||isNaN(e)?0:Vu(Yu(e,0,1),6)}refresh(){this.reverted=!1;const e=this._params;return this.repeat=yc(Al(e.repeat,this),!0),this.horizontal="x"===yc(Al(e.axis,this),"y"),this.enter=yc(Al(e.enter,this),"end start"),this.leave=yc(Al(e.leave,this),"start end"),this.updateBounds(),this.handleScroll(),this}removeDebug(){return this.$debug&&(this.$debug.parentNode.removeChild(this.$debug),this.$debug=null),this.debugStyles&&(this.debugStyles.revert(),this.$debug=null),this}debug(){this.removeDebug();const e=this.container,t=this.horizontal,n=e.element.querySelector(":scope > .animejs-onscroll-debug"),r=Ga.createElement("div"),i=Ga.createElement("div"),o=Ga.createElement("div"),s=jl[this.index%jl.length],a=e.useWin,u=a?e.winWidth:e.width,c=a?e.winHeight:e.height,l=e.scrollWidth,f=e.scrollHeight,p=this.container.width>360?320:260,d=t?0:10,h=t?10:0,g=t?24:p/2,m=t?g:15,v=t?60:g,y=t?v:m,b=t?"repeat-x":"repeat-y",_=e=>t?"0px "+e+"px":e+"px 2px",x=e=>`linear-gradient(${t?90:0}deg, ${e} 2px, transparent 1px)`,w=(e,t,n,r,i)=>`position:${e};left:${t}px;top:${n}px;width:${r}px;height:${i}px;`;r.style.cssText=`${w("absolute",d,h,t?l:p,t?p:f)}\n pointer-events: none;\n z-index: ${this.container.zIndex++};\n display: flex;\n flex-direction: ${t?"column":"row"};\n filter: drop-shadow(0px 1px 0px rgba(0,0,0,.75));\n `,i.style.cssText=`${w("sticky",0,0,t?u:g,t?g:c)}`,n||(i.style.cssText+=`background:\n ${x("#FFFF")}${_(g-10)} / 100px 100px ${b},\n ${x("#FFF8")}${_(g-10)} / 10px 10px ${b};\n `),o.style.cssText=`${w("relative",0,0,t?l:g,t?g:f)}`,n||(o.style.cssText+=`background:\n ${x("#FFFF")}${_(0)} / ${t?"100px 10px":"10px 100px"} ${b},\n ${x("#FFF8")}${_(0)} / ${t?"10px 0px":"0px 10px"} ${b};\n `);const E=[" enter: "," leave: "];this.coords.forEach((e,n)=>{const r=n>1,a=(r?0:this.offset)+e,d=n%2,h=a<y,g=a>(r?t?u:c:t?l:f)-y,b=(r?d&&!h:!d&&!h)||g,_=Ga.createElement("div"),x=Ga.createElement("div"),T=t?b?"right":"left":b?"bottom":"top",S=b?(t?v:m)+(r?t?-1:g?0:-2:t?-1:-2):t?1:0;x.innerHTML=`${this.id}${E[d]}${this.thresholds[n]}`,_.style.cssText=`${w("absolute",0,0,v,m)}\n display: flex;\n flex-direction: ${t?"column":"row"};\n justify-content: flex-${r?"start":"end"};\n align-items: flex-${b?"end":"start"};\n border-${T}: 2px solid ${s};\n `,x.style.cssText=`\n overflow: hidden;\n max-width: ${p/2-10}px;\n height: ${m};\n margin-${t?b?"right":"left":b?"bottom":"top"}: -2px;\n padding: 1px;\n font-family: ui-monospace, monospace;\n font-size: 10px;\n letter-spacing: -.025em;\n line-height: 9px;\n font-weight: 600;\n text-align: ${t&&b||!t&&!r?"right":"left"};\n white-space: pre;\n text-overflow: ellipsis;\n color: ${d?s:"rgba(0,0,0,.75)"};\n background-color: ${d?"rgba(0,0,0,.65)":s};\n border: 2px solid ${d?s:"transparent"};\n border-${t?b?"top-left":"top-right":b?"top-left":"bottom-left"}-radius: 5px;\n border-${t?b?"bottom-left":"bottom-right":b?"top-right":"bottom-right"}-radius: 5px;\n `,_.appendChild(x);let R=a-S+(t?1:0);_.style[t?"left":"top"]=`${R}px`,(r?i:o).appendChild(_)}),r.appendChild(i),r.appendChild(o),e.element.appendChild(r),n||r.classList.add("animejs-onscroll-debug"),this.$debug=r,"static"===ml(e.element,"position")&&(this.debugStyles=vl(e.element,{position:"relative "}))}updateBounds(){let e;this._debug&&this.removeDebug();const t=this.target,n=this.container,r=this.horizontal,i=this.linked;let o,s=t,a=0,u=0,c=s;i&&(o=i.currentTime,i.seek(0,!0));const l="static"===ml(n.element,"position")&&vl(n.element,{position:"relative "});for(;s&&s!==n.element&&s!==Ga.body;){const t="sticky"===ml(s,"position")&&vl(s,{position:"static"});s===c&&(a+=s.offsetLeft||0,u+=s.offsetTop||0,c=s.offsetParent),s=s.parentElement,t&&(e||(e=[]),e.push(t))}l&&l.revert();const f=r?a:u,p=r?t.offsetWidth:t.offsetHeight,d=r?n.width:n.height,h=(r?n.scrollWidth:n.scrollHeight)-d,g=this.enter,m=this.leave;let v="start",y="end",b="end",_="start";if(Ru(g)){const e=g.split(" ");b=e[0],v=e.length>1?e[1]:v}else if(Tu(g)){const e=g;Au(e.container)||(b=e.container),Au(e.target)||(v=e.target)}else Su(g)&&(b=g);if(Ru(m)){const e=m.split(" ");_=e[0],y=e.length>1?e[1]:y}else if(Tu(m)){const e=m;Au(e.container)||(_=e.container),Au(e.target)||(y=e.target)}else Su(m)&&(_=m);const x=Cl(t,v,p),w=Cl(t,y,p),E=x+f-d,T=w+f-h,S=Cl(t,b,d,E,T),R=Cl(t,_,d,E,T),O=x+f-S,A=w+f-R,I=A-O;this.offsets[0]=a,this.offsets[1]=u,this.offset=f,this.offsetStart=O,this.offsetEnd=A,this.distance=I<=0?0:I,this.thresholds=[v,y,b,_],this.coords=[x,w,S,R],e&&e.forEach(e=>e.revert()),i&&i.seek(o,!0),this._debug&&this.debug()}handleScroll(){const e=this.linked,t=this.sync,n=this.syncEase,r=this.syncSmooth,i=e&&(n||r),o=this.horizontal,s=this.container,a=this.scroll,u=a<=this.offsetStart,c=a>=this.offsetEnd,l=!u&&!c,f=a===this.offsetStart||a===this.offsetEnd,p=!this.hasEntered&&f,d=this._debug&&this.$debug;let h=!1,g=!1,m=this.progress;if(u&&this.began&&(this.began=!1),m>0&&!this.began&&(this.began=!0),i){const t=e.progress;if(r&&Su(r)){if(r<1){const e=t<m&&1===m?1e-4:t>m&&!m?-1e-4:0;m=Vu(xl(t,m,Xu(.01,.2,r),!1)+e,6)}}else n&&(m=n(m));h=m!==this.prevProgress,g=1===t,h&&!g&&r&&t&&s.wakeTicker.restart()}if(d){const e=o?s.scrollY:s.scrollX;d.style[o?"top":"left"]=e+10+"px"}(l&&!this.isInView||p&&!this.forceEnter&&!this.hasEntered)&&(l&&(this.isInView=!0),this.forceEnter&&this.hasEntered?l&&(this.forceEnter=!1):(d&&l&&(d.style.zIndex=""+this.container.zIndex++),this.onSyncEnter(this),this.onEnter(this),this.backward?(this.onSyncEnterBackward(this),this.onEnterBackward(this)):(this.onSyncEnterForward(this),this.onEnterForward(this)),this.hasEntered=!0,p&&(this.forceEnter=!0))),(l||!l&&this.isInView)&&(h=!0),h&&(i&&e.seek(e.duration*m),this.onUpdate(this)),!l&&this.isInView&&(this.isInView=!1,this.onSyncLeave(this),this.onLeave(this),this.backward?(this.onSyncLeaveBackward(this),this.onLeaveBackward(this)):(this.onSyncLeaveForward(this),this.onLeaveForward(this)),t&&!r&&(g=!0)),m>=1&&this.began&&!this.completed&&(t&&g||!t)&&(t&&this.onSyncComplete(this),this.completed=!0,(!this.repeat&&!e||!this.repeat&&e&&e.completed)&&this.revert()),m<1&&this.completed&&(this.completed=!1),this.prevProgress=m}revert(){if(this.reverted)return;const e=this.container;return tc(e,this),e._head||e.revert(),this._debug&&this.removeDebug(),this.reverted=!0,this}}const zl=(e={})=>new Dl(e);var Ml,$l,Bl,Ul,Fl,Wl,Hl,ql,Yl,Gl,Vl;!function(e){e[e.XY=1]="XY",e[e.SIZE=2]="SIZE"}(Fl||(Fl={})),function(e){e[e.ALL=1]="ALL",e[e.SEPARATE=2]="SEPARATE"}(Wl||(Wl={})),function(e){e[e.X=1]="X",e[e.Y=2]="Y"}(Hl||(Hl={})),function(e){e[e.AUTOPLAY=1]="AUTOPLAY",e[e.SCROLL_SYNC=2]="SCROLL_SYNC",e[e.STATES=3]="STATES",e[e.NONE=4]="NONE"}(ql||(ql={})),function(e){e[e.FIXED=1]="FIXED",e[e.RELATIVE=2]="RELATIVE"}(Yl||(Yl={})),function(e){e[e.APPEAR=1]="APPEAR",e[e.MOUNT=2]="MOUNT"}(Gl||(Gl={})),function(e){e[e.PLAY=1]="PLAY",e[e.PAUSE=2]="PAUSE",e[e.REVERSE=3]="REVERSE",e[e.IGNORE=4]="IGNORE",e[e.DESTROY=5]="DESTROY",e[e.INIT=6]="INIT",e[e.RE_PLAY=7]="RE_PLAY"}(Vl||(Vl={}));var Xl,Zl=((Ml={})[Vl.PLAY]="play",Ml[Vl.PAUSE]="pause",Ml[Vl.REVERSE]="reverse",Ml[Vl.IGNORE]="ignore",Ml[Vl.DESTROY]="destroy",Ml[Vl.INIT]="init",Ml[Vl.RE_PLAY]="re_play",Ml);!function(e){e[e.FIXED=0]="FIXED",e[e.PERCENTAGE=1]="PERCENTAGE",e[e.START=2]="START",e[e.START_PLUS=3]="START_PLUS",e[e.END=4]="END",e[e.END_PLUS=5]="END_PLUS"}(Xl||(Xl={}));var Kl,Jl,Ql=(($l={})[Xl.FIXED]="",$l[Xl.PERCENTAGE]="%",$l[Xl.START]="top",$l[Xl.START_PLUS]="+=top",$l[Xl.END]="bottom",$l[Xl.END_PLUS]="+=bottom",$l),ef=((Bl={})[Xl.FIXED]="",Bl[Xl.PERCENTAGE]="%",Bl[Xl.START]="top",Bl[Xl.START_PLUS]="+=left",Bl[Xl.END]="right",Bl[Xl.END_PLUS]="+=right",Bl),tf=function(e,t,n){var r=e===Hl.Y?Ql:ef;return t===Xl.START||t===Xl.END?"".concat(r[t]):"".concat(null!=n?n:"").concat(r[t])};!function(e){e[e.SMOOTH=0]="SMOOTH",e[e.INSTANT=1]="INSTANT"}(Kl||(Kl={})),function(e){e[e.NORMAL=1]="NORMAL",e[e.REVERSE=2]="REVERSE",e[e.ALTERNATE=3]="ALTERNATE"}(Jl||(Jl={}));var nf,rf,of=((Ul={})[Jl.NORMAL]="normal",Ul[Jl.REVERSE]="reverse",Ul[Jl.ALTERNATE]="alternate",Ul),sf=function(e){var t=[];return e.forEach(function(e){Array.isArray(e.targets)?t.push.apply(t,e.targets):"string"==typeof e.targets&&t.push(e.targets)}),t.map(function(e){return document.querySelector(e)}).filter(function(e){return null!=e})},af=function(e,t,n){void 0===t&&(t={});var r=Object.entries(t).reduce(function(e,t){var n=t[0],r=t[1];return e[n]=Zl[r],e},{}),i=(0,U.useState)({}),o=(i[0],i[1]),s=(0,U.useMemo)(function(){var t=Object.entries(e).reduce(function(e,t){return e[t[0]]={complete:!1},e},{}),i={},a={},u=function(r,s){var u,c,l,f,p,d,h,g=r.name,m=i[g];if(!m){var v=of[r.direction||Jl.NORMAL];a[g]={direction:v};var y=!1,b=r.config;if(b.type_===ql.SCROLL_SYNC){var _=b.smoothness.type===Kl.INSTANT||b.smoothness.value||0,x=(null==b?void 0:b.container.element)?"."+n["E".concat(null==b?void 0:b.container.element)]:"#__next",w=null!==(u=null==b?void 0:b.target.element)&&void 0!==u?u:"-",E=tf(b.direction,b.container.enter.type,b.container.enter.value),T=tf(b.direction,b.container.leave.type,b.container.leave.value),S=tf(b.direction,b.target.enter.type,b.target.enter.value),R=tf(b.direction,b.target.leave.type,b.target.leave.value);y=zl({axis:b.direction===Hl.Y?"y":"x",container:x,target:w,sync:_,enter:"".concat(E," ").concat(S),leave:"".concat(T," ").concat(R)})}else b.type_===ql.AUTOPLAY&&b.on.type_===Gl.APPEAR?(x=(null===(c=b.on)||void 0===c?void 0:c.container.element)?"."+n["E".concat(null===(l=b.on)||void 0===l?void 0:l.container.element)]:"#__next",w=null!==(p=null===(f=b.on)||void 0===f?void 0:f.target.element)&&void 0!==p?p:"-",E=tf(b.on.direction,b.on.container.enter.type,b.on.container.enter.value),T=tf(b.on.direction,b.on.container.leave.type,b.on.container.leave.value),S=tf(b.on.direction,b.on.target.enter.type,b.on.target.enter.value),R=tf(b.on.direction,b.on.target.leave.type,b.on.target.leave.value),y=zl({axis:b.on.direction===Hl.Y?"y":"x",container:x,target:w,sync:!0,enter:"".concat(E," ").concat(S),leave:"".concat(T," ").concat(R)})):b.type_===ql.AUTOPLAY&&b.on.type_===Gl.MOUNT&&(y=!0);var O=(h={autoplay:y,loop:!!r.loop,onBegin:function(){t[r.name].begin=!0,t[r.name].complete=!1,r.listener&&o({})},onUpdate:function(e){1===e.progress&&(t[r.name].begin=!0,t[r.name].complete=!0,r.listener&&o({}))}},new Ol(h).init());null===(d=Object.values(e).find(function(e){return e.node===r}))||void 0===d||d.data.forEach(function(e){O.add(e.targets,e.params,0)}),m={node:r,instance:O,elements:s},i[g]=m,m.instance.onComplete=function(){a[g].playing=!1}}return m.instance};return{player:r,states:t,list:i,play:function(e,t){var n=u(e),r=e.name;"play"!==a[r].state&&(a[r].state="play",a[r].reverse||t&&n.paused&&n.restart(),n.play(),a[r].reverse=!1,a[r].playing=!0)},pause:function(e){var t=e.name;"pause"!==a[t].state&&(a[t].state="pause",u(e).pause(),a[t].playing=!1)},reverse:function(e){var t=e.name;"reverse"!==a[t].state&&(a[t].state="reverse",u(e).reverse(),a[t].reverse=!0,a[t].playing=!0)},get:u,destroy:function(e){var t=i[e.name];t&&(delete a[e.name],delete i[e.name],t.instance.pause())},direction:function(e){return a[e.name].direction},clean:function(){return Object.entries(s.list).forEach(function(t){var n,r,i=t[0],o=t[1],a=e[i],u=a?sf(a.data):[];((null===(n=o.elements)||void 0===n?void 0:n.length)!==u.length||(null===(r=o.elements)||void 0===r?void 0:r.map(function(e){return u.includes(e)}).includes(!1)))&&s.destroy(o.node)})}}},[]);return s.player=r,{instances:s,scan:function(){Object.entries(t).forEach(function(t){var n=t[0],r=t[1],i=e[n];if(i&&r!==Vl.IGNORE)if(r!==Vl.DESTROY){var o=sf(i.data);o.length?(s.get(i.node,o),r===Vl.PLAY?i&&s.play(i.node):r===Vl.PAUSE?i&&s.pause(i.node):r===Vl.RE_PLAY?i&&s.play(i.node,!0):r===Vl.REVERSE&&i&&s.reverse(i.node)):s.destroy(i.node)}else s.destroy(i.node)})}}},uf=0,cf=function(){return(0,U.useMemo)(function(){return"C".concat(++uf)},[])},lf=function(e){var t=(0,U.useRef)(!1);(0,U.useEffect)(function(){t.current=!0},[]),(0,U.useEffect)(function(){if(!t.current||e.option.runOnInit)return e.on();t.current=!1},e.values)},ff=function(e,t,n){var r=[],i=t<e?t-e:e-t;r.length=i;for(var o=0;o<i;o++)r[o]=n(o);return r},pf=function(e,t){var n=[],r=e.length;n.length=r;for(var i=0;i<r;i++)n[i]=t(e[i],i);return n},df=function(e,t){var n=[],r=Object.entries(e),i=r.length;n.length=i;for(var o=0;o<i;o++)n[o]=t(r[o][0],r[o][1],o);return n},hf=function(e,t){var n=[],r=e.length;n.length=r;for(var i=0;i<r;i++)n[i]=t(e[i],i,r===i+1);return n},gf=function(e){return"string"==typeof e?e:"number"==typeof e||"boolean"==typeof e?e.toString():void 0},mf=function(e){return{width:(null==e?void 0:e.width)?e.width.value+e.width.type:void 0,height:(null==e?void 0:e.height)?e.height.value+e.height.type:void 0,backgroundColor:null==e?void 0:e.fill,backgroundImage:null==e?void 0:e.image}};!function(e){e[e.TOP=1]="TOP",e[e.LEFT=2]="LEFT",e[e.RIGHT=3]="RIGHT",e[e.BOTTOM=4]="BOTTOM"}(nf||(nf={})),function(e){e[e.PLUS=1]="PLUS",e[e.MINUS=2]="MINUS"}(rf||(rf={}));var vf=function(e){var t=e.container?document.querySelector(e.container):document.querySelector("#__next"),n=e.value||0,r=e.target?document.querySelector(e.target):void 0;if(t){var i=0,o=t.getBoundingClientRect();if(r){var s=r.getBoundingClientRect();e.config===nf.TOP?i=Number(t.scrollTop+(s.top-o.top)):e.config===nf.BOTTOM?i=Number(t.scrollTop+(s.bottom-o.top)):e.config===nf.LEFT?i=Number(t.scrollLeft+(s.left-o.left)):e.config===nf.RIGHT&&(i=Number(t.scrollLeft+(s.right-o.left))),e.operator===rf.PLUS?i+=n:e.operator===rf.MINUS&&(i-=n)}else e.config===nf.TOP?i=0:e.config===nf.BOTTOM?i=-t.scrollHeight:e.config===nf.LEFT?i=0:e.config===nf.RIGHT&&(i=-t.scrollWidth),e.operator===rf.PLUS?i+=n:e.operator===rf.MINUS&&(i-=n);e.config===nf.TOP||e.config===nf.BOTTOM?t.scrollTo({behavior:"instant",top:i}):t.scrollTo({behavior:"instant",left:i})}},yf=function(e){return{text:e.currentTarget.value||"",element:e.currentTarget}},bf=function(e){return{text:e.currentTarget.value||"",element:e.currentTarget}},_f=function(e){return{element:e.currentTarget}},xf=function(e){return{element:e.currentTarget}},wf=function(e){return{element:e.currentTarget}}})();var s=exports;for(var a in o)s[a]=o[a];o.__esModule&&Object.defineProperty(s,"__esModule",{value:!0})})();