misaki-studio-internal 0.1.22 → 0.1.24

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.
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("react"));else if("function"==typeof define&&define.amd)define(["react"],e);else{var n="object"==typeof exports?e(require("react")):e(t.react);for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(this,t=>(()=>{var e={12(t){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},15(t,e,n){"use strict";var r=n(516),i=n(12),o=n(536),s=n(343),u=function t(e){var n=new o(e),u=i(o.prototype.request,n);return r.extend(u,o.prototype,n),r.extend(u,n),u.create=function(n){return t(s(e,n))},u}(n(987));u.Axios=o,u.Cancel=n(928),u.CancelToken=n(191),u.isCancel=n(864),u.VERSION=n(641).version,u.all=function(t){return Promise.all(t)},u.spread=n(980),u.isAxiosError=n(19),t.exports=u,t.exports.default=u},18(t,e,n){"use strict";var r=n(516);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},19(t,e,n){"use strict";var r=n(516);t.exports=function(t){return r.isObject(t)&&!0===t.isAxiosError}},106(t,e,n){"use strict";var r=n(516);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var s=[];r.forEach(e,function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(i(e)+"="+i(t))}))}),o=s.join("&")}if(o){var u=t.indexOf("#");-1!==u&&(t=t.slice(0,u)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},137(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},155(e){"use strict";e.exports=t},191(t,e,n){"use strict";var r=n(928);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;this.promise.then(function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}}),this.promise.then=function(t){var e,r=new Promise(function(t){n.subscribe(t),e=t}).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t(function(t){n.reason||(n.reason=new r(t),e(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},i.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},i.source=function(){var t;return{token:new i(function(e){t=e}),cancel:t}},t.exports=i},202(t,e,n){"use strict";var r=n(516);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(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 t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},303(){throw new Error("Module parse failed: Unexpected token (68:12)\nFile was processed with these loaders:\n * ../../node_modules/ts-loader/index.js\nYou may need an additional loader to handle the result of these loaders.\n| : undefined;\n| const isSelected = router.asPath === item.pagePath || rootPath === router.asPath;\n> return (<>\n| {ItemWrapper ? (<ItemWrapper properties={{\n| title: item.name,")},343(t,e,n){"use strict";var r=n(516);t.exports=function(t,e){e=e||{};var n={};function i(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function o(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:i(void 0,t[n]):i(t[n],e[n])}function s(t){if(!r.isUndefined(e[t]))return i(void 0,e[t])}function u(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:i(void 0,t[n]):i(void 0,e[n])}function a(n){return n in e?i(t[n],e[n]):n in t?i(void 0,t[n]):void 0}var c={url:s,method:s,data:s,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:a};return r.forEach(Object.keys(t).concat(Object.keys(e)),function(t){var e=c[t]||o,i=e(t);r.isUndefined(i)&&e!==a||(n[t]=i)}),n}},449(t){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.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}},t}},471(t,e,n){"use strict";var r=n(516);function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=i},490(t,e,n){"use strict";var r=n(516),i=n(881),o=n(864),s=n(987),u=n(928);function a(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new u("canceled")}t.exports=function(t){return a(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||s.adapter)(t).then(function(e){return a(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e},function(e){return o(e)||(a(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},505(t,e,n){t.exports=n(15)},516(t,e,n){"use strict";var r=n(12),i=Object.prototype.toString;function o(t){return Array.isArray(t)}function s(t){return void 0===t}function u(t){return"[object ArrayBuffer]"===i.call(t)}function a(t){return null!==t&&"object"==typeof t}function c(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function l(t){return"[object Function]"===i.call(t)}function f(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:o,isArrayBuffer:u,isBuffer:function(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"[object FormData]"===i.call(t)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&u(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isPlainObject:c,isUndefined:s,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:l,isStream:function(t){return a(t)&&l(t.pipe)},isURLSearchParams:function(t){return"[object URLSearchParams]"===i.call(t)},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 t(){var e={};function n(n,r){c(e[r])&&c(n)?e[r]=t(e[r],n):c(n)?e[r]=t({},n):o(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)f(arguments[r],n);return e},extend:function(t,e,n){return f(e,function(e,i){t[i]=n&&"function"==typeof e?r(e,n):e}),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},522(t,e,n){"use strict";var r=n(763);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},529(){throw new Error('Module parse failed: Unexpected token (25:12)\nFile was processed with these loaders:\n * ../../node_modules/ts-loader/index.js\nYou may need an additional loader to handle the result of these loaders.\n| }\n| }, [isVisible]);\n> return (<>\n| {isOpen &&\n| createPortal(<div className={styles["root"]} style={Object.assign(Object.assign({}, style === null || style === void 0 ? void 0 : style.root), { "--background-color": isRemoving')},536(t,e,n){"use strict";var r=n(516),i=n(106),o=n(471),s=n(490),u=n(343),a=n(841),c=a.validators;function l(t){this.defaults=t,this.interceptors={request:new o,response:new o}}l.prototype.request=function(t,e){if("string"==typeof t?(e=e||{}).url=t:e=t||{},!e.url)throw new Error("Provided config url is not valid");(e=u(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&a.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(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(i=i&&t.synchronous,r.unshift(t.fulfilled,t.rejected))});var o,l=[];if(this.interceptors.response.forEach(function(t){l.push(t.fulfilled,t.rejected)}),!i){var f=[s,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(l),o=Promise.resolve(e);f.length;)o=o.then(f.shift(),f.shift());return o}for(var h=e;r.length;){var p=r.shift(),d=r.shift();try{h=p(h)}catch(t){d(t);break}}try{o=s(h)}catch(t){return Promise.reject(t)}for(;l.length;)o=o.then(l.shift(),l.shift());return o},l.prototype.getUri=function(t){if(!t.url)throw new Error("Provided config url is not valid");return t=u(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(t){l.prototype[t]=function(e,n){return this.request(u(n||{},{method:t,url:e,data:(n||{}).data}))}}),r.forEach(["post","put","patch"],function(t){l.prototype[t]=function(e,n,r){return this.request(u(r||{},{method:t,url:e,data:n}))}}),t.exports=l},543(t,e,n){var r;t=n.nmd(t),function(){var i,o="Expected a function",s="__lodash_hash_undefined__",u="__lodash_placeholder__",a=32,c=128,l=1/0,f=9007199254740991,h=NaN,p=4294967295,d=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",a],["partialRight",64],["rearg",256]],v="[object Arguments]",_="[object Array]",g="[object Boolean]",m="[object Date]",y="[object Error]",b="[object Function]",w="[object GeneratorFunction]",T="[object Map]",x="[object Number]",E="[object Object]",S="[object Promise]",O="[object RegExp]",A="[object Set]",k="[object String]",R="[object Symbol]",j="[object WeakMap]",N="[object ArrayBuffer]",C="[object DataView]",L="[object Float32Array]",I="[object Float64Array]",D="[object Int8Array]",$="[object Int16Array]",P="[object Int32Array]",U="[object Uint8Array]",B="[object Uint8ClampedArray]",z="[object Uint16Array]",q="[object Uint32Array]",F=/\b__p \+= '';/g,M=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Y=/&(?:amp|lt|gt|quot|#39);/g,V=/[&<>"']/g,H=RegExp(Y.source),X=RegExp(V.source),G=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,et=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(et.source),rt=/^\s+/,it=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,st=/\{\n\/\* \[wrapped with (.+)\] \*/,ut=/,? & /,at=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,lt=/\\(\\)?/g,ft=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ht=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,dt=/^0b[01]+$/i,vt=/^\[object .+?Constructor\]$/,_t=/^0o[0-7]+$/i,gt=/^(?:0|[1-9]\d*)$/,mt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,yt=/($^)/,bt=/['\n\r\u2028\u2029\\]/g,wt="\\ud800-\\udfff",Tt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xt="\\u2700-\\u27bf",Et="a-z\\xdf-\\xf6\\xf8-\\xff",St="A-Z\\xc0-\\xd6\\xd8-\\xde",Ot="\\ufe0e\\ufe0f",At="\\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",kt="["+wt+"]",Rt="["+At+"]",jt="["+Tt+"]",Nt="\\d+",Ct="["+xt+"]",Lt="["+Et+"]",It="[^"+wt+At+Nt+xt+Et+St+"]",Dt="\\ud83c[\\udffb-\\udfff]",$t="[^"+wt+"]",Pt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ut="[\\ud800-\\udbff][\\udc00-\\udfff]",Bt="["+St+"]",zt="\\u200d",qt="(?:"+Lt+"|"+It+")",Ft="(?:"+Bt+"|"+It+")",Mt="(?:['’](?:d|ll|m|re|s|t|ve))?",Wt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Yt="(?:"+jt+"|"+Dt+")?",Vt="["+Ot+"]?",Ht=Vt+Yt+"(?:"+zt+"(?:"+[$t,Pt,Ut].join("|")+")"+Vt+Yt+")*",Xt="(?:"+[Ct,Pt,Ut].join("|")+")"+Ht,Gt="(?:"+[$t+jt+"?",jt,Pt,Ut,kt].join("|")+")",Jt=RegExp("['’]","g"),Zt=RegExp(jt,"g"),Kt=RegExp(Dt+"(?="+Dt+")|"+Gt+Ht,"g"),Qt=RegExp([Bt+"?"+Lt+"+"+Mt+"(?="+[Rt,Bt,"$"].join("|")+")",Ft+"+"+Wt+"(?="+[Rt,Bt+qt,"$"].join("|")+")",Bt+"?"+qt+"+"+Mt,Bt+"+"+Wt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Nt,Xt].join("|"),"g"),te=RegExp("["+zt+wt+Tt+Ot+"]"),ee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ne=["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"],re=-1,ie={};ie[L]=ie[I]=ie[D]=ie[$]=ie[P]=ie[U]=ie[B]=ie[z]=ie[q]=!0,ie[v]=ie[_]=ie[N]=ie[g]=ie[C]=ie[m]=ie[y]=ie[b]=ie[T]=ie[x]=ie[E]=ie[O]=ie[A]=ie[k]=ie[j]=!1;var oe={};oe[v]=oe[_]=oe[N]=oe[C]=oe[g]=oe[m]=oe[L]=oe[I]=oe[D]=oe[$]=oe[P]=oe[T]=oe[x]=oe[E]=oe[O]=oe[A]=oe[k]=oe[R]=oe[U]=oe[B]=oe[z]=oe[q]=!0,oe[y]=oe[b]=oe[j]=!1;var se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ue=parseFloat,ae=parseInt,ce="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,le="object"==typeof self&&self&&self.Object===Object&&self,fe=ce||le||Function("return this")(),he=e&&!e.nodeType&&e,pe=he&&t&&!t.nodeType&&t,de=pe&&pe.exports===he,ve=de&&ce.process,_e=function(){try{return pe&&pe.require&&pe.require("util").types||ve&&ve.binding&&ve.binding("util")}catch(t){}}(),ge=_e&&_e.isArrayBuffer,me=_e&&_e.isDate,ye=_e&&_e.isMap,be=_e&&_e.isRegExp,we=_e&&_e.isSet,Te=_e&&_e.isTypedArray;function xe(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Ee(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}function Se(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Oe(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ae(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function ke(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function Re(t,e){return!(null==t||!t.length)&&Be(t,e,0)>-1}function je(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Ne(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function Ce(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Le(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function Ie(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function De(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var $e=Me("length");function Pe(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function Ue(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function Be(t,e,n){return e==e?function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):Ue(t,qe,n)}function ze(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function qe(t){return t!=t}function Fe(t,e){var n=null==t?0:t.length;return n?Ve(t,e)/n:h}function Me(t){return function(e){return null==e?i:e[t]}}function We(t){return function(e){return null==t?i:t[e]}}function Ye(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function Ve(t,e){for(var n,r=-1,o=t.length;++r<o;){var s=e(t[r]);s!==i&&(n=n===i?s:n+s)}return n}function He(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Xe(t){return t?t.slice(0,hn(t)+1).replace(rt,""):t}function Ge(t){return function(e){return t(e)}}function Je(t,e){return Ne(e,function(e){return t[e]})}function Ze(t,e){return t.has(e)}function Ke(t,e){for(var n=-1,r=t.length;++n<r&&Be(e,t[n],0)>-1;);return n}function Qe(t,e){for(var n=t.length;n--&&Be(e,t[n],0)>-1;);return n}var tn=We({À:"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"}),en=We({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function nn(t){return"\\"+se[t]}function rn(t){return te.test(t)}function on(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function sn(t,e){return function(n){return t(e(n))}}function un(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n];s!==e&&s!==u||(t[n]=u,o[i++]=n)}return o}function an(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function cn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function ln(t){return rn(t)?function(t){for(var e=Kt.lastIndex=0;Kt.test(t);)++e;return e}(t):$e(t)}function fn(t){return rn(t)?function(t){return t.match(Kt)||[]}(t):function(t){return t.split("")}(t)}function hn(t){for(var e=t.length;e--&&it.test(t.charAt(e)););return e}var pn=We({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),dn=function t(e){var n,r=(e=null==e?fe:dn.defaults(fe.Object(),e,dn.pick(fe,ne))).Array,it=e.Date,wt=e.Error,Tt=e.Function,xt=e.Math,Et=e.Object,St=e.RegExp,Ot=e.String,At=e.TypeError,kt=r.prototype,Rt=Tt.prototype,jt=Et.prototype,Nt=e["__core-js_shared__"],Ct=Rt.toString,Lt=jt.hasOwnProperty,It=0,Dt=(n=/[^.]+$/.exec(Nt&&Nt.keys&&Nt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",$t=jt.toString,Pt=Ct.call(Et),Ut=fe._,Bt=St("^"+Ct.call(Lt).replace(et,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zt=de?e.Buffer:i,qt=e.Symbol,Ft=e.Uint8Array,Mt=zt?zt.allocUnsafe:i,Wt=sn(Et.getPrototypeOf,Et),Yt=Et.create,Vt=jt.propertyIsEnumerable,Ht=kt.splice,Xt=qt?qt.isConcatSpreadable:i,Gt=qt?qt.iterator:i,Kt=qt?qt.toStringTag:i,te=function(){try{var t=ao(Et,"defineProperty");return t({},"",{}),t}catch(t){}}(),se=e.clearTimeout!==fe.clearTimeout&&e.clearTimeout,ce=it&&it.now!==fe.Date.now&&it.now,le=e.setTimeout!==fe.setTimeout&&e.setTimeout,he=xt.ceil,pe=xt.floor,ve=Et.getOwnPropertySymbols,_e=zt?zt.isBuffer:i,$e=e.isFinite,We=kt.join,vn=sn(Et.keys,Et),_n=xt.max,gn=xt.min,mn=it.now,yn=e.parseInt,bn=xt.random,wn=kt.reverse,Tn=ao(e,"DataView"),xn=ao(e,"Map"),En=ao(e,"Promise"),Sn=ao(e,"Set"),On=ao(e,"WeakMap"),An=ao(Et,"create"),kn=On&&new On,Rn={},jn=Po(Tn),Nn=Po(xn),Cn=Po(En),Ln=Po(Sn),In=Po(On),Dn=qt?qt.prototype:i,$n=Dn?Dn.valueOf:i,Pn=Dn?Dn.toString:i;function Un(t){if(tu(t)&&!Ms(t)&&!(t instanceof Fn)){if(t instanceof qn)return t;if(Lt.call(t,"__wrapped__"))return Uo(t)}return new qn(t)}var Bn=function(){function t(){}return function(e){if(!Qs(e))return{};if(Yt)return Yt(e);t.prototype=e;var n=new t;return t.prototype=i,n}}();function zn(){}function qn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=i}function Fn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Mn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Wn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Yn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Vn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Yn;++e<n;)this.add(t[e])}function Hn(t){var e=this.__data__=new Wn(t);this.size=e.size}function Xn(t,e){var n=Ms(t),r=!n&&Fs(t),i=!n&&!r&&Hs(t),o=!n&&!r&&!i&&au(t),s=n||r||i||o,u=s?He(t.length,Ot):[],a=u.length;for(var c in t)!e&&!Lt.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_o(c,a))||u.push(c);return u}function Gn(t){var e=t.length;return e?t[Yr(0,e-1)]:i}function Jn(t,e){return Co(Oi(t),or(e,0,t.length))}function Zn(t){return Co(Oi(t))}function Kn(t,e,n){(n!==i&&!Bs(t[e],n)||n===i&&!(e in t))&&rr(t,e,n)}function Qn(t,e,n){var r=t[e];Lt.call(t,e)&&Bs(r,n)&&(n!==i||e in t)||rr(t,e,n)}function tr(t,e){for(var n=t.length;n--;)if(Bs(t[n][0],e))return n;return-1}function er(t,e,n,r){return lr(t,function(t,i,o){e(r,t,n(t),o)}),r}function nr(t,e){return t&&Ai(e,ju(e),t)}function rr(t,e,n){"__proto__"==e&&te?te(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ir(t,e){for(var n=-1,o=e.length,s=r(o),u=null==t;++n<o;)s[n]=u?i:Su(t,e[n]);return s}function or(t,e,n){return t==t&&(n!==i&&(t=t<=n?t:n),e!==i&&(t=t>=e?t:e)),t}function sr(t,e,n,r,o,s){var u,a=1&e,c=2&e,l=4&e;if(n&&(u=o?n(t,r,o,s):n(t)),u!==i)return u;if(!Qs(t))return t;var f=Ms(t);if(f){if(u=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Lt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!a)return Oi(t,u)}else{var h=fo(t),p=h==b||h==w;if(Hs(t))return bi(t,a);if(h==E||h==v||p&&!o){if(u=c||p?{}:po(t),!a)return c?function(t,e){return Ai(t,lo(t),e)}(t,function(t,e){return t&&Ai(e,Nu(e),t)}(u,t)):function(t,e){return Ai(t,co(t),e)}(t,nr(u,t))}else{if(!oe[h])return o?t:{};u=function(t,e,n){var r,i=t.constructor;switch(e){case N:return wi(t);case g:case m:return new i(+t);case C:return function(t,e){var n=e?wi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case L:case I:case D:case $:case P:case U:case B:case z:case q:return Ti(t,n);case T:return new i;case x:case k:return new i(t);case O:return function(t){var e=new t.constructor(t.source,ht.exec(t));return e.lastIndex=t.lastIndex,e}(t);case A:return new i;case R:return r=t,$n?Et($n.call(r)):{}}}(t,h,a)}}s||(s=new Hn);var d=s.get(t);if(d)return d;s.set(t,u),ou(t)?t.forEach(function(r){u.add(sr(r,e,n,r,t,s))}):eu(t)&&t.forEach(function(r,i){u.set(i,sr(r,e,n,i,t,s))});var _=f?i:(l?c?eo:to:c?Nu:ju)(t);return Se(_||t,function(r,i){_&&(r=t[i=r]),Qn(u,i,sr(r,e,n,i,t,s))}),u}function ur(t,e,n){var r=n.length;if(null==t)return!r;for(t=Et(t);r--;){var o=n[r],s=e[o],u=t[o];if(u===i&&!(o in t)||!s(u))return!1}return!0}function ar(t,e,n){if("function"!=typeof t)throw new At(o);return ko(function(){t.apply(i,n)},e)}function cr(t,e,n,r){var i=-1,o=Re,s=!0,u=t.length,a=[],c=e.length;if(!u)return a;n&&(e=Ne(e,Ge(n))),r?(o=je,s=!1):e.length>=200&&(o=Ze,s=!1,e=new Vn(e));t:for(;++i<u;){var l=t[i],f=null==n?l:n(l);if(l=r||0!==l?l:0,s&&f==f){for(var h=c;h--;)if(e[h]===f)continue t;a.push(l)}else o(e,f,r)||a.push(l)}return a}Un.templateSettings={escape:G,evaluate:J,interpolate:Z,variable:"",imports:{_:Un}},Un.prototype=zn.prototype,Un.prototype.constructor=Un,qn.prototype=Bn(zn.prototype),qn.prototype.constructor=qn,Fn.prototype=Bn(zn.prototype),Fn.prototype.constructor=Fn,Mn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Mn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Mn.prototype.get=function(t){var e=this.__data__;if(An){var n=e[t];return n===s?i:n}return Lt.call(e,t)?e[t]:i},Mn.prototype.has=function(t){var e=this.__data__;return An?e[t]!==i:Lt.call(e,t)},Mn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=An&&e===i?s:e,this},Wn.prototype.clear=function(){this.__data__=[],this.size=0},Wn.prototype.delete=function(t){var e=this.__data__,n=tr(e,t);return!(n<0||(n==e.length-1?e.pop():Ht.call(e,n,1),--this.size,0))},Wn.prototype.get=function(t){var e=this.__data__,n=tr(e,t);return n<0?i:e[n][1]},Wn.prototype.has=function(t){return tr(this.__data__,t)>-1},Wn.prototype.set=function(t,e){var n=this.__data__,r=tr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new Mn,map:new(xn||Wn),string:new Mn}},Yn.prototype.delete=function(t){var e=so(this,t).delete(t);return this.size-=e?1:0,e},Yn.prototype.get=function(t){return so(this,t).get(t)},Yn.prototype.has=function(t){return so(this,t).has(t)},Yn.prototype.set=function(t,e){var n=so(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Vn.prototype.add=Vn.prototype.push=function(t){return this.__data__.set(t,s),this},Vn.prototype.has=function(t){return this.__data__.has(t)},Hn.prototype.clear=function(){this.__data__=new Wn,this.size=0},Hn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Hn.prototype.get=function(t){return this.__data__.get(t)},Hn.prototype.has=function(t){return this.__data__.has(t)},Hn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Wn){var r=n.__data__;if(!xn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Yn(r)}return n.set(t,e),this.size=n.size,this};var lr=ji(mr),fr=ji(yr,!0);function hr(t,e){var n=!0;return lr(t,function(t,r,i){return n=!!e(t,r,i)}),n}function pr(t,e,n){for(var r=-1,o=t.length;++r<o;){var s=t[r],u=e(s);if(null!=u&&(a===i?u==u&&!uu(u):n(u,a)))var a=u,c=s}return c}function dr(t,e){var n=[];return lr(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function vr(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=vo),i||(i=[]);++o<s;){var u=t[o];e>0&&n(u)?e>1?vr(u,e-1,n,r,i):Ce(i,u):r||(i[i.length]=u)}return i}var _r=Ni(),gr=Ni(!0);function mr(t,e){return t&&_r(t,e,ju)}function yr(t,e){return t&&gr(t,e,ju)}function br(t,e){return ke(e,function(e){return Js(t[e])})}function wr(t,e){for(var n=0,r=(e=_i(e,t)).length;null!=t&&n<r;)t=t[$o(e[n++])];return n&&n==r?t:i}function Tr(t,e,n){var r=e(t);return Ms(t)?r:Ce(r,n(t))}function xr(t){return null==t?t===i?"[object Undefined]":"[object Null]":Kt&&Kt in Et(t)?function(t){var e=Lt.call(t,Kt),n=t[Kt];try{t[Kt]=i;var r=!0}catch(t){}var o=$t.call(t);return r&&(e?t[Kt]=n:delete t[Kt]),o}(t):function(t){return $t.call(t)}(t)}function Er(t,e){return t>e}function Sr(t,e){return null!=t&&Lt.call(t,e)}function Or(t,e){return null!=t&&e in Et(t)}function Ar(t,e,n){for(var o=n?je:Re,s=t[0].length,u=t.length,a=u,c=r(u),l=1/0,f=[];a--;){var h=t[a];a&&e&&(h=Ne(h,Ge(e))),l=gn(h.length,l),c[a]=!n&&(e||s>=120&&h.length>=120)?new Vn(a&&h):i}h=t[0];var p=-1,d=c[0];t:for(;++p<s&&f.length<l;){var v=h[p],_=e?e(v):v;if(v=n||0!==v?v:0,!(d?Ze(d,_):o(f,_,n))){for(a=u;--a;){var g=c[a];if(!(g?Ze(g,_):o(t[a],_,n)))continue t}d&&d.push(_),f.push(v)}}return f}function kr(t,e,n){var r=null==(t=So(t,e=_i(e,t)))?t:t[$o(Go(e))];return null==r?i:xe(r,t,n)}function Rr(t){return tu(t)&&xr(t)==v}function jr(t,e,n,r,o){return t===e||(null==t||null==e||!tu(t)&&!tu(e)?t!=t&&e!=e:function(t,e,n,r,o,s){var u=Ms(t),a=Ms(e),c=u?_:fo(t),l=a?_:fo(e),f=(c=c==v?E:c)==E,h=(l=l==v?E:l)==E,p=c==l;if(p&&Hs(t)){if(!Hs(e))return!1;u=!0,f=!1}if(p&&!f)return s||(s=new Hn),u||au(t)?Ki(t,e,n,r,o,s):function(t,e,n,r,i,o,s){switch(n){case C:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case N:return!(t.byteLength!=e.byteLength||!o(new Ft(t),new Ft(e)));case g:case m:case x:return Bs(+t,+e);case y:return t.name==e.name&&t.message==e.message;case O:case k:return t==e+"";case T:var u=on;case A:var a=1&r;if(u||(u=an),t.size!=e.size&&!a)return!1;var c=s.get(t);if(c)return c==e;r|=2,s.set(t,e);var l=Ki(u(t),u(e),r,i,o,s);return s.delete(t),l;case R:if($n)return $n.call(t)==$n.call(e)}return!1}(t,e,c,n,r,o,s);if(!(1&n)){var d=f&&Lt.call(t,"__wrapped__"),b=h&&Lt.call(e,"__wrapped__");if(d||b){var w=d?t.value():t,S=b?e.value():e;return s||(s=new Hn),o(w,S,n,r,s)}}return!!p&&(s||(s=new Hn),function(t,e,n,r,o,s){var u=1&n,a=to(t),c=a.length;if(c!=to(e).length&&!u)return!1;for(var l=c;l--;){var f=a[l];if(!(u?f in e:Lt.call(e,f)))return!1}var h=s.get(t),p=s.get(e);if(h&&p)return h==e&&p==t;var d=!0;s.set(t,e),s.set(e,t);for(var v=u;++l<c;){var _=t[f=a[l]],g=e[f];if(r)var m=u?r(g,_,f,e,t,s):r(_,g,f,t,e,s);if(!(m===i?_===g||o(_,g,n,r,s):m)){d=!1;break}v||(v="constructor"==f)}if(d&&!v){var y=t.constructor,b=e.constructor;y==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(d=!1)}return s.delete(t),s.delete(e),d}(t,e,n,r,o,s))}(t,e,n,r,jr,o))}function Nr(t,e,n,r){var o=n.length,s=o,u=!r;if(null==t)return!s;for(t=Et(t);o--;){var a=n[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<s;){var c=(a=n[o])[0],l=t[c],f=a[1];if(u&&a[2]){if(l===i&&!(c in t))return!1}else{var h=new Hn;if(r)var p=r(l,f,c,t,e,h);if(!(p===i?jr(f,l,3,r,h):p))return!1}}return!0}function Cr(t){return!(!Qs(t)||(e=t,Dt&&Dt in e))&&(Js(t)?Bt:vt).test(Po(t));var e}function Lr(t){return"function"==typeof t?t:null==t?na:"object"==typeof t?Ms(t)?Ur(t[0],t[1]):Pr(t):fa(t)}function Ir(t){if(!wo(t))return vn(t);var e=[];for(var n in Et(t))Lt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Dr(t,e){return t<e}function $r(t,e){var n=-1,i=Ys(t)?r(t.length):[];return lr(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function Pr(t){var e=uo(t);return 1==e.length&&e[0][2]?xo(e[0][0],e[0][1]):function(n){return n===t||Nr(n,t,e)}}function Ur(t,e){return mo(t)&&To(e)?xo($o(t),e):function(n){var r=Su(n,t);return r===i&&r===e?Ou(n,t):jr(e,r,3)}}function Br(t,e,n,r,o){t!==e&&_r(e,function(s,u){if(o||(o=new Hn),Qs(s))!function(t,e,n,r,o,s,u){var a=Oo(t,n),c=Oo(e,n),l=u.get(c);if(l)Kn(t,n,l);else{var f=s?s(a,c,n+"",t,e,u):i,h=f===i;if(h){var p=Ms(c),d=!p&&Hs(c),v=!p&&!d&&au(c);f=c,p||d||v?Ms(a)?f=a:Vs(a)?f=Oi(a):d?(h=!1,f=bi(c,!0)):v?(h=!1,f=Ti(c,!0)):f=[]:ru(c)||Fs(c)?(f=a,Fs(a)?f=_u(a):Qs(a)&&!Js(a)||(f=po(c))):h=!1}h&&(u.set(c,f),o(f,c,r,s,u),u.delete(c)),Kn(t,n,f)}}(t,e,u,n,Br,r,o);else{var a=r?r(Oo(t,u),s,u+"",t,e,o):i;a===i&&(a=s),Kn(t,u,a)}},Nu)}function zr(t,e){var n=t.length;if(n)return _o(e+=e<0?n:0,n)?t[e]:i}function qr(t,e,n){e=e.length?Ne(e,function(t){return Ms(t)?function(e){return wr(e,1===t.length?t[0]:t)}:t}):[na];var r=-1;e=Ne(e,Ge(oo()));var i=$r(t,function(t,n,i){var o=Ne(e,function(e){return e(t)});return{criteria:o,index:++r,value:t}});return function(t){var e=t.length;for(t.sort(function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,s=i.length,u=n.length;++r<s;){var a=xi(i[r],o[r]);if(a)return r>=u?a:a*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)});e--;)t[e]=t[e].value;return t}(i)}function Fr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var s=e[r],u=wr(t,s);n(u,s)&&Jr(o,_i(s,t),u)}return o}function Mr(t,e,n,r){var i=r?ze:Be,o=-1,s=e.length,u=t;for(t===e&&(e=Oi(e)),n&&(u=Ne(t,Ge(n)));++o<s;)for(var a=0,c=e[o],l=n?n(c):c;(a=i(u,l,a,r))>-1;)u!==t&&Ht.call(u,a,1),Ht.call(t,a,1);return t}function Wr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;_o(i)?Ht.call(t,i,1):ai(t,i)}}return t}function Yr(t,e){return t+pe(bn()*(e-t+1))}function Vr(t,e){var n="";if(!t||e<1||e>f)return n;do{e%2&&(n+=t),(e=pe(e/2))&&(t+=t)}while(e);return n}function Hr(t,e){return Ro(Eo(t,e,na),t+"")}function Xr(t){return Gn(Bu(t))}function Gr(t,e){var n=Bu(t);return Co(n,or(e,0,n.length))}function Jr(t,e,n,r){if(!Qs(t))return t;for(var o=-1,s=(e=_i(e,t)).length,u=s-1,a=t;null!=a&&++o<s;){var c=$o(e[o]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=u){var f=a[c];(l=r?r(f,c,a):i)===i&&(l=Qs(f)?f:_o(e[o+1])?[]:{})}Qn(a,c,l),a=a[c]}return t}var Zr=kn?function(t,e){return kn.set(t,e),t}:na,Kr=te?function(t,e){return te(t,"toString",{configurable:!0,enumerable:!1,value:Qu(e),writable:!0})}:na;function Qr(t){return Co(Bu(t))}function ti(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=r(o);++i<o;)s[i]=t[i+e];return s}function ei(t,e){var n;return lr(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function ni(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;r<i;){var o=r+i>>>1,s=t[o];null!==s&&!uu(s)&&(n?s<=e:s<e)?r=o+1:i=o}return i}return ri(t,e,na,n)}function ri(t,e,n,r){var o=0,s=null==t?0:t.length;if(0===s)return 0;for(var u=(e=n(e))!=e,a=null===e,c=uu(e),l=e===i;o<s;){var f=pe((o+s)/2),h=n(t[f]),p=h!==i,d=null===h,v=h==h,_=uu(h);if(u)var g=r||v;else g=l?v&&(r||p):a?v&&p&&(r||!d):c?v&&p&&!d&&(r||!_):!d&&!_&&(r?h<=e:h<e);g?o=f+1:s=f}return gn(s,4294967294)}function ii(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n],u=e?e(s):s;if(!n||!Bs(u,a)){var a=u;o[i++]=0===s?0:s}}return o}function oi(t){return"number"==typeof t?t:uu(t)?h:+t}function si(t){if("string"==typeof t)return t;if(Ms(t))return Ne(t,si)+"";if(uu(t))return Pn?Pn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function ui(t,e,n){var r=-1,i=Re,o=t.length,s=!0,u=[],a=u;if(n)s=!1,i=je;else if(o>=200){var c=e?null:Vi(t);if(c)return an(c);s=!1,i=Ze,a=new Vn}else a=e?[]:u;t:for(;++r<o;){var l=t[r],f=e?e(l):l;if(l=n||0!==l?l:0,s&&f==f){for(var h=a.length;h--;)if(a[h]===f)continue t;e&&a.push(f),u.push(l)}else i(a,f,n)||(a!==u&&a.push(f),u.push(l))}return u}function ai(t,e){return null==(t=So(t,e=_i(e,t)))||delete t[$o(Go(e))]}function ci(t,e,n,r){return Jr(t,e,n(wr(t,e)),r)}function li(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?ti(t,r?0:o,r?o+1:i):ti(t,r?o+1:0,r?i:o)}function fi(t,e){var n=t;return n instanceof Fn&&(n=n.value()),Le(e,function(t,e){return e.func.apply(e.thisArg,Ce([t],e.args))},n)}function hi(t,e,n){var i=t.length;if(i<2)return i?ui(t[0]):[];for(var o=-1,s=r(i);++o<i;)for(var u=t[o],a=-1;++a<i;)a!=o&&(s[o]=cr(s[o]||u,t[a],e,n));return ui(vr(s,1),e,n)}function pi(t,e,n){for(var r=-1,o=t.length,s=e.length,u={};++r<o;){var a=r<s?e[r]:i;n(u,t[r],a)}return u}function di(t){return Vs(t)?t:[]}function vi(t){return"function"==typeof t?t:na}function _i(t,e){return Ms(t)?t:mo(t,e)?[t]:Do(gu(t))}var gi=Hr;function mi(t,e,n){var r=t.length;return n=n===i?r:n,!e&&n>=r?t:ti(t,e,n)}var yi=se||function(t){return fe.clearTimeout(t)};function bi(t,e){if(e)return t.slice();var n=t.length,r=Mt?Mt(n):new t.constructor(n);return t.copy(r),r}function wi(t){var e=new t.constructor(t.byteLength);return new Ft(e).set(new Ft(t)),e}function Ti(t,e){var n=e?wi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function xi(t,e){if(t!==e){var n=t!==i,r=null===t,o=t==t,s=uu(t),u=e!==i,a=null===e,c=e==e,l=uu(e);if(!a&&!l&&!s&&t>e||s&&u&&c&&!a&&!l||r&&u&&c||!n&&c||!o)return 1;if(!r&&!s&&!l&&t<e||l&&n&&o&&!r&&!s||a&&n&&o||!u&&o||!c)return-1}return 0}function Ei(t,e,n,i){for(var o=-1,s=t.length,u=n.length,a=-1,c=e.length,l=_n(s-u,0),f=r(c+l),h=!i;++a<c;)f[a]=e[a];for(;++o<u;)(h||o<s)&&(f[n[o]]=t[o]);for(;l--;)f[a++]=t[o++];return f}function Si(t,e,n,i){for(var o=-1,s=t.length,u=-1,a=n.length,c=-1,l=e.length,f=_n(s-a,0),h=r(f+l),p=!i;++o<f;)h[o]=t[o];for(var d=o;++c<l;)h[d+c]=e[c];for(;++u<a;)(p||o<s)&&(h[d+n[u]]=t[o++]);return h}function Oi(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function Ai(t,e,n,r){var o=!n;n||(n={});for(var s=-1,u=e.length;++s<u;){var a=e[s],c=r?r(n[a],t[a],a,n,t):i;c===i&&(c=t[a]),o?rr(n,a,c):Qn(n,a,c)}return n}function ki(t,e){return function(n,r){var i=Ms(n)?Ee:er,o=e?e():{};return i(n,t,oo(r,2),o)}}function Ri(t){return Hr(function(e,n){var r=-1,o=n.length,s=o>1?n[o-1]:i,u=o>2?n[2]:i;for(s=t.length>3&&"function"==typeof s?(o--,s):i,u&&go(n[0],n[1],u)&&(s=o<3?i:s,o=1),e=Et(e);++r<o;){var a=n[r];a&&t(e,a,r,s)}return e})}function ji(t,e){return function(n,r){if(null==n)return n;if(!Ys(n))return t(n,r);for(var i=n.length,o=e?i:-1,s=Et(n);(e?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function Ni(t){return function(e,n,r){for(var i=-1,o=Et(e),s=r(e),u=s.length;u--;){var a=s[t?u:++i];if(!1===n(o[a],a,o))break}return e}}function Ci(t){return function(e){var n=rn(e=gu(e))?fn(e):i,r=n?n[0]:e.charAt(0),o=n?mi(n,1).join(""):e.slice(1);return r[t]()+o}}function Li(t){return function(e){return Le(Ju(Fu(e).replace(Jt,"")),t,"")}}function Ii(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Bn(t.prototype),r=t.apply(n,e);return Qs(r)?r:n}}function Di(t){return function(e,n,r){var o=Et(e);if(!Ys(e)){var s=oo(n,3);e=ju(e),n=function(t){return s(o[t],t,o)}}var u=t(e,n,r);return u>-1?o[s?e[u]:u]:i}}function $i(t){return Qi(function(e){var n=e.length,r=n,s=qn.prototype.thru;for(t&&e.reverse();r--;){var u=e[r];if("function"!=typeof u)throw new At(o);if(s&&!a&&"wrapper"==ro(u))var a=new qn([],!0)}for(r=a?r:n;++r<n;){var c=ro(u=e[r]),l="wrapper"==c?no(u):i;a=l&&yo(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?a[ro(l[0])].apply(a,l[3]):1==u.length&&yo(u)?a[c]():a.thru(u)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&Ms(r))return a.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function Pi(t,e,n,o,s,u,a,l,f,h){var p=e&c,d=1&e,v=2&e,_=24&e,g=512&e,m=v?i:Ii(t);return function c(){for(var y=arguments.length,b=r(y),w=y;w--;)b[w]=arguments[w];if(_)var T=io(c),x=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(b,T);if(o&&(b=Ei(b,o,s,_)),u&&(b=Si(b,u,a,_)),y-=x,_&&y<h){var E=un(b,T);return Wi(t,e,Pi,c.placeholder,n,b,E,l,f,h-y)}var S=d?n:this,O=v?S[t]:t;return y=b.length,l?b=function(t,e){for(var n=t.length,r=gn(e.length,n),o=Oi(t);r--;){var s=e[r];t[r]=_o(s,n)?o[s]:i}return t}(b,l):g&&y>1&&b.reverse(),p&&f<y&&(b.length=f),this&&this!==fe&&this instanceof c&&(O=m||Ii(O)),O.apply(S,b)}}function Ui(t,e){return function(n,r){return function(t,e,n,r){return mr(t,function(t,i,o){e(r,n(t),i,o)}),r}(n,t,e(r),{})}}function Bi(t,e){return function(n,r){var o;if(n===i&&r===i)return e;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=t(n,r)}return o}}function zi(t){return Qi(function(e){return e=Ne(e,Ge(oo())),Hr(function(n){var r=this;return t(e,function(t){return xe(t,r,n)})})})}function qi(t,e){var n=(e=e===i?" ":si(e)).length;if(n<2)return n?Vr(e,t):e;var r=Vr(e,he(t/ln(e)));return rn(e)?mi(fn(r),0,t).join(""):r.slice(0,t)}function Fi(t){return function(e,n,o){return o&&"number"!=typeof o&&go(e,n,o)&&(n=o=i),e=hu(e),n===i?(n=e,e=0):n=hu(n),function(t,e,n,i){for(var o=-1,s=_n(he((e-t)/(n||1)),0),u=r(s);s--;)u[i?s:++o]=t,t+=n;return u}(e,n,o=o===i?e<n?1:-1:hu(o),t)}}function Mi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=vu(e),n=vu(n)),t(e,n)}}function Wi(t,e,n,r,o,s,u,c,l,f){var h=8&e;e|=h?a:64,4&(e&=~(h?64:a))||(e&=-4);var p=[t,e,o,h?s:i,h?u:i,h?i:s,h?i:u,c,l,f],d=n.apply(i,p);return yo(t)&&Ao(d,p),d.placeholder=r,jo(d,t,e)}function Yi(t){var e=xt[t];return function(t,n){if(t=vu(t),(n=null==n?0:gn(pu(n),292))&&$e(t)){var r=(gu(t)+"e").split("e");return+((r=(gu(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Vi=Sn&&1/an(new Sn([,-0]))[1]==l?function(t){return new Sn(t)}:ua;function Hi(t){return function(e){var n=fo(e);return n==T?on(e):n==A?cn(e):function(t,e){return Ne(e,function(e){return[e,t[e]]})}(e,t(e))}}function Xi(t,e,n,s,l,f,h,p){var d=2&e;if(!d&&"function"!=typeof t)throw new At(o);var v=s?s.length:0;if(v||(e&=-97,s=l=i),h=h===i?h:_n(pu(h),0),p=p===i?p:pu(p),v-=l?l.length:0,64&e){var _=s,g=l;s=l=i}var m=d?i:no(t),y=[t,e,n,s,l,_,g,f,h,p];if(m&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<131,s=r==c&&8==n||r==c&&256==n&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!o&&!s)return t;1&r&&(t[2]=e[2],i|=1&n?0:4);var a=e[3];if(a){var l=t[3];t[3]=l?Ei(l,a,e[4]):a,t[4]=l?un(t[3],u):e[4]}(a=e[5])&&(l=t[5],t[5]=l?Si(l,a,e[6]):a,t[6]=l?un(t[5],u):e[6]),(a=e[7])&&(t[7]=a),r&c&&(t[8]=null==t[8]?e[8]:gn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(y,m),t=y[0],e=y[1],n=y[2],s=y[3],l=y[4],!(p=y[9]=y[9]===i?d?0:t.length:_n(y[9]-v,0))&&24&e&&(e&=-25),e&&1!=e)b=8==e||16==e?function(t,e,n){var o=Ii(t);return function s(){for(var u=arguments.length,a=r(u),c=u,l=io(s);c--;)a[c]=arguments[c];var f=u<3&&a[0]!==l&&a[u-1]!==l?[]:un(a,l);return(u-=f.length)<n?Wi(t,e,Pi,s.placeholder,i,a,f,i,i,n-u):xe(this&&this!==fe&&this instanceof s?o:t,this,a)}}(t,e,p):e!=a&&33!=e||l.length?Pi.apply(i,y):function(t,e,n,i){var o=1&e,s=Ii(t);return function e(){for(var u=-1,a=arguments.length,c=-1,l=i.length,f=r(l+a),h=this&&this!==fe&&this instanceof e?s:t;++c<l;)f[c]=i[c];for(;a--;)f[c++]=arguments[++u];return xe(h,o?n:this,f)}}(t,e,n,s);else var b=function(t,e,n){var r=1&e,i=Ii(t);return function e(){return(this&&this!==fe&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return jo((m?Zr:Ao)(b,y),t,e)}function Gi(t,e,n,r){return t===i||Bs(t,jt[n])&&!Lt.call(r,n)?e:t}function Ji(t,e,n,r,o,s){return Qs(t)&&Qs(e)&&(s.set(e,t),Br(t,e,i,Ji,s),s.delete(e)),t}function Zi(t){return ru(t)?i:t}function Ki(t,e,n,r,o,s){var u=1&n,a=t.length,c=e.length;if(a!=c&&!(u&&c>a))return!1;var l=s.get(t),f=s.get(e);if(l&&f)return l==e&&f==t;var h=-1,p=!0,d=2&n?new Vn:i;for(s.set(t,e),s.set(e,t);++h<a;){var v=t[h],_=e[h];if(r)var g=u?r(_,v,h,e,t,s):r(v,_,h,t,e,s);if(g!==i){if(g)continue;p=!1;break}if(d){if(!De(e,function(t,e){if(!Ze(d,e)&&(v===t||o(v,t,n,r,s)))return d.push(e)})){p=!1;break}}else if(v!==_&&!o(v,_,n,r,s)){p=!1;break}}return s.delete(t),s.delete(e),p}function Qi(t){return Ro(Eo(t,i,Wo),t+"")}function to(t){return Tr(t,ju,co)}function eo(t){return Tr(t,Nu,lo)}var no=kn?function(t){return kn.get(t)}:ua;function ro(t){for(var e=t.name+"",n=Rn[e],r=Lt.call(Rn,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function io(t){return(Lt.call(Un,"placeholder")?Un:t).placeholder}function oo(){var t=Un.iteratee||ra;return t=t===ra?Lr:t,arguments.length?t(arguments[0],arguments[1]):t}function so(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function uo(t){for(var e=ju(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,To(i)]}return e}function ao(t,e){var n=function(t,e){return null==t?i:t[e]}(t,e);return Cr(n)?n:i}var co=ve?function(t){return null==t?[]:(t=Et(t),ke(ve(t),function(e){return Vt.call(t,e)}))}:da,lo=ve?function(t){for(var e=[];t;)Ce(e,co(t)),t=Wt(t);return e}:da,fo=xr;function ho(t,e,n){for(var r=-1,i=(e=_i(e,t)).length,o=!1;++r<i;){var s=$o(e[r]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&Ks(i)&&_o(s,i)&&(Ms(t)||Fs(t))}function po(t){return"function"!=typeof t.constructor||wo(t)?{}:Bn(Wt(t))}function vo(t){return Ms(t)||Fs(t)||!!(Xt&&t&&t[Xt])}function _o(t,e){var n=typeof t;return!!(e=null==e?f:e)&&("number"==n||"symbol"!=n&&gt.test(t))&&t>-1&&t%1==0&&t<e}function go(t,e,n){if(!Qs(n))return!1;var r=typeof e;return!!("number"==r?Ys(n)&&_o(e,n.length):"string"==r&&e in n)&&Bs(n[e],t)}function mo(t,e){if(Ms(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!uu(t))||Q.test(t)||!K.test(t)||null!=e&&t in Et(e)}function yo(t){var e=ro(t),n=Un[e];if("function"!=typeof n||!(e in Fn.prototype))return!1;if(t===n)return!0;var r=no(n);return!!r&&t===r[0]}(Tn&&fo(new Tn(new ArrayBuffer(1)))!=C||xn&&fo(new xn)!=T||En&&fo(En.resolve())!=S||Sn&&fo(new Sn)!=A||On&&fo(new On)!=j)&&(fo=function(t){var e=xr(t),n=e==E?t.constructor:i,r=n?Po(n):"";if(r)switch(r){case jn:return C;case Nn:return T;case Cn:return S;case Ln:return A;case In:return j}return e});var bo=Nt?Js:va;function wo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||jt)}function To(t){return t==t&&!Qs(t)}function xo(t,e){return function(n){return null!=n&&n[t]===e&&(e!==i||t in Et(n))}}function Eo(t,e,n){return e=_n(e===i?t.length-1:e,0),function(){for(var i=arguments,o=-1,s=_n(i.length-e,0),u=r(s);++o<s;)u[o]=i[e+o];o=-1;for(var a=r(e+1);++o<e;)a[o]=i[o];return a[e]=n(u),xe(t,this,a)}}function So(t,e){return e.length<2?t:wr(t,ti(e,0,-1))}function Oo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Ao=No(Zr),ko=le||function(t,e){return fe.setTimeout(t,e)},Ro=No(Kr);function jo(t,e,n){var r=e+"";return Ro(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(ot,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Se(d,function(n){var r="_."+n[0];e&n[1]&&!Re(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(st);return e?e[1].split(ut):[]}(r),n)))}function No(t){var e=0,n=0;return function(){var r=mn(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(i,arguments)}}function Co(t,e){var n=-1,r=t.length,o=r-1;for(e=e===i?r:e;++n<e;){var s=Yr(n,o),u=t[s];t[s]=t[n],t[n]=u}return t.length=e,t}var Lo,Io,Do=(Lo=Ls(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(tt,function(t,n,r,i){e.push(r?i.replace(lt,"$1"):n||t)}),e},function(t){return 500===Io.size&&Io.clear(),t}),Io=Lo.cache,Lo);function $o(t){if("string"==typeof t||uu(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Po(t){if(null!=t){try{return Ct.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Uo(t){if(t instanceof Fn)return t.clone();var e=new qn(t.__wrapped__,t.__chain__);return e.__actions__=Oi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Bo=Hr(function(t,e){return Vs(t)?cr(t,vr(e,1,Vs,!0)):[]}),zo=Hr(function(t,e){var n=Go(e);return Vs(n)&&(n=i),Vs(t)?cr(t,vr(e,1,Vs,!0),oo(n,2)):[]}),qo=Hr(function(t,e){var n=Go(e);return Vs(n)&&(n=i),Vs(t)?cr(t,vr(e,1,Vs,!0),i,n):[]});function Fo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:pu(n);return i<0&&(i=_n(r+i,0)),Ue(t,oo(e,3),i)}function Mo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==i&&(o=pu(n),o=n<0?_n(r+o,0):gn(o,r-1)),Ue(t,oo(e,3),o,!0)}function Wo(t){return null!=t&&t.length?vr(t,1):[]}function Yo(t){return t&&t.length?t[0]:i}var Vo=Hr(function(t){var e=Ne(t,di);return e.length&&e[0]===t[0]?Ar(e):[]}),Ho=Hr(function(t){var e=Go(t),n=Ne(t,di);return e===Go(n)?e=i:n.pop(),n.length&&n[0]===t[0]?Ar(n,oo(e,2)):[]}),Xo=Hr(function(t){var e=Go(t),n=Ne(t,di);return(e="function"==typeof e?e:i)&&n.pop(),n.length&&n[0]===t[0]?Ar(n,i,e):[]});function Go(t){var e=null==t?0:t.length;return e?t[e-1]:i}var Jo=Hr(Zo);function Zo(t,e){return t&&t.length&&e&&e.length?Mr(t,e):t}var Ko=Qi(function(t,e){var n=null==t?0:t.length,r=ir(t,e);return Wr(t,Ne(e,function(t){return _o(t,n)?+t:t}).sort(xi)),r});function Qo(t){return null==t?t:wn.call(t)}var ts=Hr(function(t){return ui(vr(t,1,Vs,!0))}),es=Hr(function(t){var e=Go(t);return Vs(e)&&(e=i),ui(vr(t,1,Vs,!0),oo(e,2))}),ns=Hr(function(t){var e=Go(t);return e="function"==typeof e?e:i,ui(vr(t,1,Vs,!0),i,e)});function rs(t){if(!t||!t.length)return[];var e=0;return t=ke(t,function(t){if(Vs(t))return e=_n(t.length,e),!0}),He(e,function(e){return Ne(t,Me(e))})}function is(t,e){if(!t||!t.length)return[];var n=rs(t);return null==e?n:Ne(n,function(t){return xe(e,i,t)})}var os=Hr(function(t,e){return Vs(t)?cr(t,e):[]}),ss=Hr(function(t){return hi(ke(t,Vs))}),us=Hr(function(t){var e=Go(t);return Vs(e)&&(e=i),hi(ke(t,Vs),oo(e,2))}),as=Hr(function(t){var e=Go(t);return e="function"==typeof e?e:i,hi(ke(t,Vs),i,e)}),cs=Hr(rs),ls=Hr(function(t){var e=t.length,n=e>1?t[e-1]:i;return n="function"==typeof n?(t.pop(),n):i,is(t,n)});function fs(t){var e=Un(t);return e.__chain__=!0,e}function hs(t,e){return e(t)}var ps=Qi(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return ir(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Fn&&_o(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:hs,args:[o],thisArg:i}),new qn(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(i),t})):this.thru(o)}),ds=ki(function(t,e,n){Lt.call(t,n)?++t[n]:rr(t,n,1)}),vs=Di(Fo),_s=Di(Mo);function gs(t,e){return(Ms(t)?Se:lr)(t,oo(e,3))}function ms(t,e){return(Ms(t)?Oe:fr)(t,oo(e,3))}var ys=ki(function(t,e,n){Lt.call(t,n)?t[n].push(e):rr(t,n,[e])}),bs=Hr(function(t,e,n){var i=-1,o="function"==typeof e,s=Ys(t)?r(t.length):[];return lr(t,function(t){s[++i]=o?xe(e,t,n):kr(t,e,n)}),s}),ws=ki(function(t,e,n){rr(t,n,e)});function Ts(t,e){return(Ms(t)?Ne:$r)(t,oo(e,3))}var xs=ki(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Es=Hr(function(t,e){if(null==t)return[];var n=e.length;return n>1&&go(t,e[0],e[1])?e=[]:n>2&&go(e[0],e[1],e[2])&&(e=[e[0]]),qr(t,vr(e,1),[])}),Ss=ce||function(){return fe.Date.now()};function Os(t,e,n){return e=n?i:e,e=t&&null==e?t.length:e,Xi(t,c,i,i,i,i,e)}function As(t,e){var n;if("function"!=typeof e)throw new At(o);return t=pu(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=i),n}}var ks=Hr(function(t,e,n){var r=1;if(n.length){var i=un(n,io(ks));r|=a}return Xi(t,r,e,n,i)}),Rs=Hr(function(t,e,n){var r=3;if(n.length){var i=un(n,io(Rs));r|=a}return Xi(e,r,t,n,i)});function js(t,e,n){var r,s,u,a,c,l,f=0,h=!1,p=!1,d=!0;if("function"!=typeof t)throw new At(o);function v(e){var n=r,o=s;return r=s=i,f=e,a=t.apply(o,n)}function _(t){var n=t-l;return l===i||n>=e||n<0||p&&t-f>=u}function g(){var t=Ss();if(_(t))return m(t);c=ko(g,function(t){var n=e-(t-l);return p?gn(n,u-(t-f)):n}(t))}function m(t){return c=i,d&&r?v(t):(r=s=i,a)}function y(){var t=Ss(),n=_(t);if(r=arguments,s=this,l=t,n){if(c===i)return function(t){return f=t,c=ko(g,e),h?v(t):a}(l);if(p)return yi(c),c=ko(g,e),v(l)}return c===i&&(c=ko(g,e)),a}return e=vu(e)||0,Qs(n)&&(h=!!n.leading,u=(p="maxWait"in n)?_n(vu(n.maxWait)||0,e):u,d="trailing"in n?!!n.trailing:d),y.cancel=function(){c!==i&&yi(c),f=0,r=l=s=c=i},y.flush=function(){return c===i?a:m(Ss())},y}var Ns=Hr(function(t,e){return ar(t,1,e)}),Cs=Hr(function(t,e,n){return ar(t,vu(e)||0,n)});function Ls(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new At(o);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Ls.Cache||Yn),n}function Is(t){if("function"!=typeof t)throw new At(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Ls.Cache=Yn;var Ds=gi(function(t,e){var n=(e=1==e.length&&Ms(e[0])?Ne(e[0],Ge(oo())):Ne(vr(e,1),Ge(oo()))).length;return Hr(function(r){for(var i=-1,o=gn(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return xe(t,this,r)})}),$s=Hr(function(t,e){var n=un(e,io($s));return Xi(t,a,i,e,n)}),Ps=Hr(function(t,e){var n=un(e,io(Ps));return Xi(t,64,i,e,n)}),Us=Qi(function(t,e){return Xi(t,256,i,i,i,e)});function Bs(t,e){return t===e||t!=t&&e!=e}var zs=Mi(Er),qs=Mi(function(t,e){return t>=e}),Fs=Rr(function(){return arguments}())?Rr:function(t){return tu(t)&&Lt.call(t,"callee")&&!Vt.call(t,"callee")},Ms=r.isArray,Ws=ge?Ge(ge):function(t){return tu(t)&&xr(t)==N};function Ys(t){return null!=t&&Ks(t.length)&&!Js(t)}function Vs(t){return tu(t)&&Ys(t)}var Hs=_e||va,Xs=me?Ge(me):function(t){return tu(t)&&xr(t)==m};function Gs(t){if(!tu(t))return!1;var e=xr(t);return e==y||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ru(t)}function Js(t){if(!Qs(t))return!1;var e=xr(t);return e==b||e==w||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Zs(t){return"number"==typeof t&&t==pu(t)}function Ks(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=f}function Qs(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function tu(t){return null!=t&&"object"==typeof t}var eu=ye?Ge(ye):function(t){return tu(t)&&fo(t)==T};function nu(t){return"number"==typeof t||tu(t)&&xr(t)==x}function ru(t){if(!tu(t)||xr(t)!=E)return!1;var e=Wt(t);if(null===e)return!0;var n=Lt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Ct.call(n)==Pt}var iu=be?Ge(be):function(t){return tu(t)&&xr(t)==O},ou=we?Ge(we):function(t){return tu(t)&&fo(t)==A};function su(t){return"string"==typeof t||!Ms(t)&&tu(t)&&xr(t)==k}function uu(t){return"symbol"==typeof t||tu(t)&&xr(t)==R}var au=Te?Ge(Te):function(t){return tu(t)&&Ks(t.length)&&!!ie[xr(t)]},cu=Mi(Dr),lu=Mi(function(t,e){return t<=e});function fu(t){if(!t)return[];if(Ys(t))return su(t)?fn(t):Oi(t);if(Gt&&t[Gt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Gt]());var e=fo(t);return(e==T?on:e==A?an:Bu)(t)}function hu(t){return t?(t=vu(t))===l||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function pu(t){var e=hu(t),n=e%1;return e==e?n?e-n:e:0}function du(t){return t?or(pu(t),0,p):0}function vu(t){if("number"==typeof t)return t;if(uu(t))return h;if(Qs(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Qs(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Xe(t);var n=dt.test(t);return n||_t.test(t)?ae(t.slice(2),n?2:8):pt.test(t)?h:+t}function _u(t){return Ai(t,Nu(t))}function gu(t){return null==t?"":si(t)}var mu=Ri(function(t,e){if(wo(e)||Ys(e))Ai(e,ju(e),t);else for(var n in e)Lt.call(e,n)&&Qn(t,n,e[n])}),yu=Ri(function(t,e){Ai(e,Nu(e),t)}),bu=Ri(function(t,e,n,r){Ai(e,Nu(e),t,r)}),wu=Ri(function(t,e,n,r){Ai(e,ju(e),t,r)}),Tu=Qi(ir),xu=Hr(function(t,e){t=Et(t);var n=-1,r=e.length,o=r>2?e[2]:i;for(o&&go(e[0],e[1],o)&&(r=1);++n<r;)for(var s=e[n],u=Nu(s),a=-1,c=u.length;++a<c;){var l=u[a],f=t[l];(f===i||Bs(f,jt[l])&&!Lt.call(t,l))&&(t[l]=s[l])}return t}),Eu=Hr(function(t){return t.push(i,Ji),xe(Lu,i,t)});function Su(t,e,n){var r=null==t?i:wr(t,e);return r===i?n:r}function Ou(t,e){return null!=t&&ho(t,e,Or)}var Au=Ui(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=$t.call(e)),t[e]=n},Qu(na)),ku=Ui(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=$t.call(e)),Lt.call(t,e)?t[e].push(n):t[e]=[n]},oo),Ru=Hr(kr);function ju(t){return Ys(t)?Xn(t):Ir(t)}function Nu(t){return Ys(t)?Xn(t,!0):function(t){if(!Qs(t))return function(t){var e=[];if(null!=t)for(var n in Et(t))e.push(n);return e}(t);var e=wo(t),n=[];for(var r in t)("constructor"!=r||!e&&Lt.call(t,r))&&n.push(r);return n}(t)}var Cu=Ri(function(t,e,n){Br(t,e,n)}),Lu=Ri(function(t,e,n,r){Br(t,e,n,r)}),Iu=Qi(function(t,e){var n={};if(null==t)return n;var r=!1;e=Ne(e,function(e){return e=_i(e,t),r||(r=e.length>1),e}),Ai(t,eo(t),n),r&&(n=sr(n,7,Zi));for(var i=e.length;i--;)ai(n,e[i]);return n}),Du=Qi(function(t,e){return null==t?{}:function(t,e){return Fr(t,e,function(e,n){return Ou(t,n)})}(t,e)});function $u(t,e){if(null==t)return{};var n=Ne(eo(t),function(t){return[t]});return e=oo(e),Fr(t,n,function(t,n){return e(t,n[0])})}var Pu=Hi(ju),Uu=Hi(Nu);function Bu(t){return null==t?[]:Je(t,ju(t))}var zu=Li(function(t,e,n){return e=e.toLowerCase(),t+(n?qu(e):e)});function qu(t){return Gu(gu(t).toLowerCase())}function Fu(t){return(t=gu(t))&&t.replace(mt,tn).replace(Zt,"")}var Mu=Li(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Wu=Li(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Yu=Ci("toLowerCase"),Vu=Li(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Hu=Li(function(t,e,n){return t+(n?" ":"")+Gu(e)}),Xu=Li(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Gu=Ci("toUpperCase");function Ju(t,e,n){return t=gu(t),(e=n?i:e)===i?function(t){return ee.test(t)}(t)?function(t){return t.match(Qt)||[]}(t):function(t){return t.match(at)||[]}(t):t.match(e)||[]}var Zu=Hr(function(t,e){try{return xe(t,i,e)}catch(t){return Gs(t)?t:new wt(t)}}),Ku=Qi(function(t,e){return Se(e,function(e){e=$o(e),rr(t,e,ks(t[e],t))}),t});function Qu(t){return function(){return t}}var ta=$i(),ea=$i(!0);function na(t){return t}function ra(t){return Lr("function"==typeof t?t:sr(t,1))}var ia=Hr(function(t,e){return function(n){return kr(n,t,e)}}),oa=Hr(function(t,e){return function(n){return kr(t,n,e)}});function sa(t,e,n){var r=ju(e),i=br(e,r);null!=n||Qs(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=br(e,ju(e)));var o=!(Qs(n)&&"chain"in n&&!n.chain),s=Js(t);return Se(i,function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Oi(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Ce([this.value()],arguments))})}),t}function ua(){}var aa=zi(Ne),ca=zi(Ae),la=zi(De);function fa(t){return mo(t)?Me($o(t)):function(t){return function(e){return wr(e,t)}}(t)}var ha=Fi(),pa=Fi(!0);function da(){return[]}function va(){return!1}var _a,ga=Bi(function(t,e){return t+e},0),ma=Yi("ceil"),ya=Bi(function(t,e){return t/e},1),ba=Yi("floor"),wa=Bi(function(t,e){return t*e},1),Ta=Yi("round"),xa=Bi(function(t,e){return t-e},0);return Un.after=function(t,e){if("function"!=typeof e)throw new At(o);return t=pu(t),function(){if(--t<1)return e.apply(this,arguments)}},Un.ary=Os,Un.assign=mu,Un.assignIn=yu,Un.assignInWith=bu,Un.assignWith=wu,Un.at=Tu,Un.before=As,Un.bind=ks,Un.bindAll=Ku,Un.bindKey=Rs,Un.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ms(t)?t:[t]},Un.chain=fs,Un.chunk=function(t,e,n){e=(n?go(t,e,n):e===i)?1:_n(pu(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var s=0,u=0,a=r(he(o/e));s<o;)a[u++]=ti(t,s,s+=e);return a},Un.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},Un.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return Ce(Ms(n)?Oi(n):[n],vr(e,1))},Un.cond=function(t){var e=null==t?0:t.length,n=oo();return t=e?Ne(t,function(t){if("function"!=typeof t[1])throw new At(o);return[n(t[0]),t[1]]}):[],Hr(function(n){for(var r=-1;++r<e;){var i=t[r];if(xe(i[0],this,n))return xe(i[1],this,n)}})},Un.conforms=function(t){return function(t){var e=ju(t);return function(n){return ur(n,t,e)}}(sr(t,1))},Un.constant=Qu,Un.countBy=ds,Un.create=function(t,e){var n=Bn(t);return null==e?n:nr(n,e)},Un.curry=function t(e,n,r){var o=Xi(e,8,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},Un.curryRight=function t(e,n,r){var o=Xi(e,16,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},Un.debounce=js,Un.defaults=xu,Un.defaultsDeep=Eu,Un.defer=Ns,Un.delay=Cs,Un.difference=Bo,Un.differenceBy=zo,Un.differenceWith=qo,Un.drop=function(t,e,n){var r=null==t?0:t.length;return r?ti(t,(e=n||e===i?1:pu(e))<0?0:e,r):[]},Un.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?ti(t,0,(e=r-(e=n||e===i?1:pu(e)))<0?0:e):[]},Un.dropRightWhile=function(t,e){return t&&t.length?li(t,oo(e,3),!0,!0):[]},Un.dropWhile=function(t,e){return t&&t.length?li(t,oo(e,3),!0):[]},Un.fill=function(t,e,n,r){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&go(t,e,n)&&(n=0,r=o),function(t,e,n,r){var o=t.length;for((n=pu(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>o?o:pu(r))<0&&(r+=o),r=n>r?0:du(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},Un.filter=function(t,e){return(Ms(t)?ke:dr)(t,oo(e,3))},Un.flatMap=function(t,e){return vr(Ts(t,e),1)},Un.flatMapDeep=function(t,e){return vr(Ts(t,e),l)},Un.flatMapDepth=function(t,e,n){return n=n===i?1:pu(n),vr(Ts(t,e),n)},Un.flatten=Wo,Un.flattenDeep=function(t){return null!=t&&t.length?vr(t,l):[]},Un.flattenDepth=function(t,e){return null!=t&&t.length?vr(t,e=e===i?1:pu(e)):[]},Un.flip=function(t){return Xi(t,512)},Un.flow=ta,Un.flowRight=ea,Un.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},Un.functions=function(t){return null==t?[]:br(t,ju(t))},Un.functionsIn=function(t){return null==t?[]:br(t,Nu(t))},Un.groupBy=ys,Un.initial=function(t){return null!=t&&t.length?ti(t,0,-1):[]},Un.intersection=Vo,Un.intersectionBy=Ho,Un.intersectionWith=Xo,Un.invert=Au,Un.invertBy=ku,Un.invokeMap=bs,Un.iteratee=ra,Un.keyBy=ws,Un.keys=ju,Un.keysIn=Nu,Un.map=Ts,Un.mapKeys=function(t,e){var n={};return e=oo(e,3),mr(t,function(t,r,i){rr(n,e(t,r,i),t)}),n},Un.mapValues=function(t,e){var n={};return e=oo(e,3),mr(t,function(t,r,i){rr(n,r,e(t,r,i))}),n},Un.matches=function(t){return Pr(sr(t,1))},Un.matchesProperty=function(t,e){return Ur(t,sr(e,1))},Un.memoize=Ls,Un.merge=Cu,Un.mergeWith=Lu,Un.method=ia,Un.methodOf=oa,Un.mixin=sa,Un.negate=Is,Un.nthArg=function(t){return t=pu(t),Hr(function(e){return zr(e,t)})},Un.omit=Iu,Un.omitBy=function(t,e){return $u(t,Is(oo(e)))},Un.once=function(t){return As(2,t)},Un.orderBy=function(t,e,n,r){return null==t?[]:(Ms(e)||(e=null==e?[]:[e]),Ms(n=r?i:n)||(n=null==n?[]:[n]),qr(t,e,n))},Un.over=aa,Un.overArgs=Ds,Un.overEvery=ca,Un.overSome=la,Un.partial=$s,Un.partialRight=Ps,Un.partition=xs,Un.pick=Du,Un.pickBy=$u,Un.property=fa,Un.propertyOf=function(t){return function(e){return null==t?i:wr(t,e)}},Un.pull=Jo,Un.pullAll=Zo,Un.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Mr(t,e,oo(n,2)):t},Un.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Mr(t,e,i,n):t},Un.pullAt=Ko,Un.range=ha,Un.rangeRight=pa,Un.rearg=Us,Un.reject=function(t,e){return(Ms(t)?ke:dr)(t,Is(oo(e,3)))},Un.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=oo(e,3);++r<o;){var s=t[r];e(s,r,t)&&(n.push(s),i.push(r))}return Wr(t,i),n},Un.rest=function(t,e){if("function"!=typeof t)throw new At(o);return Hr(t,e=e===i?e:pu(e))},Un.reverse=Qo,Un.sampleSize=function(t,e,n){return e=(n?go(t,e,n):e===i)?1:pu(e),(Ms(t)?Jn:Gr)(t,e)},Un.set=function(t,e,n){return null==t?t:Jr(t,e,n)},Un.setWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:Jr(t,e,n,r)},Un.shuffle=function(t){return(Ms(t)?Zn:Qr)(t)},Un.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&go(t,e,n)?(e=0,n=r):(e=null==e?0:pu(e),n=n===i?r:pu(n)),ti(t,e,n)):[]},Un.sortBy=Es,Un.sortedUniq=function(t){return t&&t.length?ii(t):[]},Un.sortedUniqBy=function(t,e){return t&&t.length?ii(t,oo(e,2)):[]},Un.split=function(t,e,n){return n&&"number"!=typeof n&&go(t,e,n)&&(e=n=i),(n=n===i?p:n>>>0)?(t=gu(t))&&("string"==typeof e||null!=e&&!iu(e))&&!(e=si(e))&&rn(t)?mi(fn(t),0,n):t.split(e,n):[]},Un.spread=function(t,e){if("function"!=typeof t)throw new At(o);return e=null==e?0:_n(pu(e),0),Hr(function(n){var r=n[e],i=mi(n,0,e);return r&&Ce(i,r),xe(t,this,i)})},Un.tail=function(t){var e=null==t?0:t.length;return e?ti(t,1,e):[]},Un.take=function(t,e,n){return t&&t.length?ti(t,0,(e=n||e===i?1:pu(e))<0?0:e):[]},Un.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?ti(t,(e=r-(e=n||e===i?1:pu(e)))<0?0:e,r):[]},Un.takeRightWhile=function(t,e){return t&&t.length?li(t,oo(e,3),!1,!0):[]},Un.takeWhile=function(t,e){return t&&t.length?li(t,oo(e,3)):[]},Un.tap=function(t,e){return e(t),t},Un.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new At(o);return Qs(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),js(t,e,{leading:r,maxWait:e,trailing:i})},Un.thru=hs,Un.toArray=fu,Un.toPairs=Pu,Un.toPairsIn=Uu,Un.toPath=function(t){return Ms(t)?Ne(t,$o):uu(t)?[t]:Oi(Do(gu(t)))},Un.toPlainObject=_u,Un.transform=function(t,e,n){var r=Ms(t),i=r||Hs(t)||au(t);if(e=oo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:Qs(t)&&Js(o)?Bn(Wt(t)):{}}return(i?Se:mr)(t,function(t,r,i){return e(n,t,r,i)}),n},Un.unary=function(t){return Os(t,1)},Un.union=ts,Un.unionBy=es,Un.unionWith=ns,Un.uniq=function(t){return t&&t.length?ui(t):[]},Un.uniqBy=function(t,e){return t&&t.length?ui(t,oo(e,2)):[]},Un.uniqWith=function(t,e){return e="function"==typeof e?e:i,t&&t.length?ui(t,i,e):[]},Un.unset=function(t,e){return null==t||ai(t,e)},Un.unzip=rs,Un.unzipWith=is,Un.update=function(t,e,n){return null==t?t:ci(t,e,vi(n))},Un.updateWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:ci(t,e,vi(n),r)},Un.values=Bu,Un.valuesIn=function(t){return null==t?[]:Je(t,Nu(t))},Un.without=os,Un.words=Ju,Un.wrap=function(t,e){return $s(vi(e),t)},Un.xor=ss,Un.xorBy=us,Un.xorWith=as,Un.zip=cs,Un.zipObject=function(t,e){return pi(t||[],e||[],Qn)},Un.zipObjectDeep=function(t,e){return pi(t||[],e||[],Jr)},Un.zipWith=ls,Un.entries=Pu,Un.entriesIn=Uu,Un.extend=yu,Un.extendWith=bu,sa(Un,Un),Un.add=ga,Un.attempt=Zu,Un.camelCase=zu,Un.capitalize=qu,Un.ceil=ma,Un.clamp=function(t,e,n){return n===i&&(n=e,e=i),n!==i&&(n=(n=vu(n))==n?n:0),e!==i&&(e=(e=vu(e))==e?e:0),or(vu(t),e,n)},Un.clone=function(t){return sr(t,4)},Un.cloneDeep=function(t){return sr(t,5)},Un.cloneDeepWith=function(t,e){return sr(t,5,e="function"==typeof e?e:i)},Un.cloneWith=function(t,e){return sr(t,4,e="function"==typeof e?e:i)},Un.conformsTo=function(t,e){return null==e||ur(t,e,ju(e))},Un.deburr=Fu,Un.defaultTo=function(t,e){return null==t||t!=t?e:t},Un.divide=ya,Un.endsWith=function(t,e,n){t=gu(t),e=si(e);var r=t.length,o=n=n===i?r:or(pu(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},Un.eq=Bs,Un.escape=function(t){return(t=gu(t))&&X.test(t)?t.replace(V,en):t},Un.escapeRegExp=function(t){return(t=gu(t))&&nt.test(t)?t.replace(et,"\\$&"):t},Un.every=function(t,e,n){var r=Ms(t)?Ae:hr;return n&&go(t,e,n)&&(e=i),r(t,oo(e,3))},Un.find=vs,Un.findIndex=Fo,Un.findKey=function(t,e){return Pe(t,oo(e,3),mr)},Un.findLast=_s,Un.findLastIndex=Mo,Un.findLastKey=function(t,e){return Pe(t,oo(e,3),yr)},Un.floor=ba,Un.forEach=gs,Un.forEachRight=ms,Un.forIn=function(t,e){return null==t?t:_r(t,oo(e,3),Nu)},Un.forInRight=function(t,e){return null==t?t:gr(t,oo(e,3),Nu)},Un.forOwn=function(t,e){return t&&mr(t,oo(e,3))},Un.forOwnRight=function(t,e){return t&&yr(t,oo(e,3))},Un.get=Su,Un.gt=zs,Un.gte=qs,Un.has=function(t,e){return null!=t&&ho(t,e,Sr)},Un.hasIn=Ou,Un.head=Yo,Un.identity=na,Un.includes=function(t,e,n,r){t=Ys(t)?t:Bu(t),n=n&&!r?pu(n):0;var i=t.length;return n<0&&(n=_n(i+n,0)),su(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Be(t,e,n)>-1},Un.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:pu(n);return i<0&&(i=_n(r+i,0)),Be(t,e,i)},Un.inRange=function(t,e,n){return e=hu(e),n===i?(n=e,e=0):n=hu(n),function(t,e,n){return t>=gn(e,n)&&t<_n(e,n)}(t=vu(t),e,n)},Un.invoke=Ru,Un.isArguments=Fs,Un.isArray=Ms,Un.isArrayBuffer=Ws,Un.isArrayLike=Ys,Un.isArrayLikeObject=Vs,Un.isBoolean=function(t){return!0===t||!1===t||tu(t)&&xr(t)==g},Un.isBuffer=Hs,Un.isDate=Xs,Un.isElement=function(t){return tu(t)&&1===t.nodeType&&!ru(t)},Un.isEmpty=function(t){if(null==t)return!0;if(Ys(t)&&(Ms(t)||"string"==typeof t||"function"==typeof t.splice||Hs(t)||au(t)||Fs(t)))return!t.length;var e=fo(t);if(e==T||e==A)return!t.size;if(wo(t))return!Ir(t).length;for(var n in t)if(Lt.call(t,n))return!1;return!0},Un.isEqual=function(t,e){return jr(t,e)},Un.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:i)?n(t,e):i;return r===i?jr(t,e,i,n):!!r},Un.isError=Gs,Un.isFinite=function(t){return"number"==typeof t&&$e(t)},Un.isFunction=Js,Un.isInteger=Zs,Un.isLength=Ks,Un.isMap=eu,Un.isMatch=function(t,e){return t===e||Nr(t,e,uo(e))},Un.isMatchWith=function(t,e,n){return n="function"==typeof n?n:i,Nr(t,e,uo(e),n)},Un.isNaN=function(t){return nu(t)&&t!=+t},Un.isNative=function(t){if(bo(t))throw new wt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Cr(t)},Un.isNil=function(t){return null==t},Un.isNull=function(t){return null===t},Un.isNumber=nu,Un.isObject=Qs,Un.isObjectLike=tu,Un.isPlainObject=ru,Un.isRegExp=iu,Un.isSafeInteger=function(t){return Zs(t)&&t>=-9007199254740991&&t<=f},Un.isSet=ou,Un.isString=su,Un.isSymbol=uu,Un.isTypedArray=au,Un.isUndefined=function(t){return t===i},Un.isWeakMap=function(t){return tu(t)&&fo(t)==j},Un.isWeakSet=function(t){return tu(t)&&"[object WeakSet]"==xr(t)},Un.join=function(t,e){return null==t?"":We.call(t,e)},Un.kebabCase=Mu,Un.last=Go,Un.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=pu(n))<0?_n(r+o,0):gn(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):Ue(t,qe,o,!0)},Un.lowerCase=Wu,Un.lowerFirst=Yu,Un.lt=cu,Un.lte=lu,Un.max=function(t){return t&&t.length?pr(t,na,Er):i},Un.maxBy=function(t,e){return t&&t.length?pr(t,oo(e,2),Er):i},Un.mean=function(t){return Fe(t,na)},Un.meanBy=function(t,e){return Fe(t,oo(e,2))},Un.min=function(t){return t&&t.length?pr(t,na,Dr):i},Un.minBy=function(t,e){return t&&t.length?pr(t,oo(e,2),Dr):i},Un.stubArray=da,Un.stubFalse=va,Un.stubObject=function(){return{}},Un.stubString=function(){return""},Un.stubTrue=function(){return!0},Un.multiply=wa,Un.nth=function(t,e){return t&&t.length?zr(t,pu(e)):i},Un.noConflict=function(){return fe._===this&&(fe._=Ut),this},Un.noop=ua,Un.now=Ss,Un.pad=function(t,e,n){t=gu(t);var r=(e=pu(e))?ln(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return qi(pe(i),n)+t+qi(he(i),n)},Un.padEnd=function(t,e,n){t=gu(t);var r=(e=pu(e))?ln(t):0;return e&&r<e?t+qi(e-r,n):t},Un.padStart=function(t,e,n){t=gu(t);var r=(e=pu(e))?ln(t):0;return e&&r<e?qi(e-r,n)+t:t},Un.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),yn(gu(t).replace(rt,""),e||0)},Un.random=function(t,e,n){if(n&&"boolean"!=typeof n&&go(t,e,n)&&(e=n=i),n===i&&("boolean"==typeof e?(n=e,e=i):"boolean"==typeof t&&(n=t,t=i)),t===i&&e===i?(t=0,e=1):(t=hu(t),e===i?(e=t,t=0):e=hu(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var o=bn();return gn(t+o*(e-t+ue("1e-"+((o+"").length-1))),e)}return Yr(t,e)},Un.reduce=function(t,e,n){var r=Ms(t)?Le:Ye,i=arguments.length<3;return r(t,oo(e,4),n,i,lr)},Un.reduceRight=function(t,e,n){var r=Ms(t)?Ie:Ye,i=arguments.length<3;return r(t,oo(e,4),n,i,fr)},Un.repeat=function(t,e,n){return e=(n?go(t,e,n):e===i)?1:pu(e),Vr(gu(t),e)},Un.replace=function(){var t=arguments,e=gu(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Un.result=function(t,e,n){var r=-1,o=(e=_i(e,t)).length;for(o||(o=1,t=i);++r<o;){var s=null==t?i:t[$o(e[r])];s===i&&(r=o,s=n),t=Js(s)?s.call(t):s}return t},Un.round=Ta,Un.runInContext=t,Un.sample=function(t){return(Ms(t)?Gn:Xr)(t)},Un.size=function(t){if(null==t)return 0;if(Ys(t))return su(t)?ln(t):t.length;var e=fo(t);return e==T||e==A?t.size:Ir(t).length},Un.snakeCase=Vu,Un.some=function(t,e,n){var r=Ms(t)?De:ei;return n&&go(t,e,n)&&(e=i),r(t,oo(e,3))},Un.sortedIndex=function(t,e){return ni(t,e)},Un.sortedIndexBy=function(t,e,n){return ri(t,e,oo(n,2))},Un.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=ni(t,e);if(r<n&&Bs(t[r],e))return r}return-1},Un.sortedLastIndex=function(t,e){return ni(t,e,!0)},Un.sortedLastIndexBy=function(t,e,n){return ri(t,e,oo(n,2),!0)},Un.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ni(t,e,!0)-1;if(Bs(t[n],e))return n}return-1},Un.startCase=Hu,Un.startsWith=function(t,e,n){return t=gu(t),n=null==n?0:or(pu(n),0,t.length),e=si(e),t.slice(n,n+e.length)==e},Un.subtract=xa,Un.sum=function(t){return t&&t.length?Ve(t,na):0},Un.sumBy=function(t,e){return t&&t.length?Ve(t,oo(e,2)):0},Un.template=function(t,e,n){var r=Un.templateSettings;n&&go(t,e,n)&&(e=i),t=gu(t),e=bu({},e,r,Gi);var o,s,u=bu({},e.imports,r.imports,Gi),a=ju(u),c=Je(u,a),l=0,f=e.interpolate||yt,h="__p += '",p=St((e.escape||yt).source+"|"+f.source+"|"+(f===Z?ft:yt).source+"|"+(e.evaluate||yt).source+"|$","g"),d="//# sourceURL="+(Lt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++re+"]")+"\n";t.replace(p,function(e,n,r,i,u,a){return r||(r=i),h+=t.slice(l,a).replace(bt,nn),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),u&&(s=!0,h+="';\n"+u+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=a+e.length,e}),h+="';\n";var v=Lt.call(e,"variable")&&e.variable;if(v){if(ct.test(v))throw new wt("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(s?h.replace(F,""):h).replace(M,"$1").replace(W,"$1;"),h="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var _=Zu(function(){return Tt(a,d+"return "+h).apply(i,c)});if(_.source=h,Gs(_))throw _;return _},Un.times=function(t,e){if((t=pu(t))<1||t>f)return[];var n=p,r=gn(t,p);e=oo(e),t-=p;for(var i=He(r,e);++n<t;)e(n);return i},Un.toFinite=hu,Un.toInteger=pu,Un.toLength=du,Un.toLower=function(t){return gu(t).toLowerCase()},Un.toNumber=vu,Un.toSafeInteger=function(t){return t?or(pu(t),-9007199254740991,f):0===t?t:0},Un.toString=gu,Un.toUpper=function(t){return gu(t).toUpperCase()},Un.trim=function(t,e,n){if((t=gu(t))&&(n||e===i))return Xe(t);if(!t||!(e=si(e)))return t;var r=fn(t),o=fn(e);return mi(r,Ke(r,o),Qe(r,o)+1).join("")},Un.trimEnd=function(t,e,n){if((t=gu(t))&&(n||e===i))return t.slice(0,hn(t)+1);if(!t||!(e=si(e)))return t;var r=fn(t);return mi(r,0,Qe(r,fn(e))+1).join("")},Un.trimStart=function(t,e,n){if((t=gu(t))&&(n||e===i))return t.replace(rt,"");if(!t||!(e=si(e)))return t;var r=fn(t);return mi(r,Ke(r,fn(e))).join("")},Un.truncate=function(t,e){var n=30,r="...";if(Qs(e)){var o="separator"in e?e.separator:o;n="length"in e?pu(e.length):n,r="omission"in e?si(e.omission):r}var s=(t=gu(t)).length;if(rn(t)){var u=fn(t);s=u.length}if(n>=s)return t;var a=n-ln(r);if(a<1)return r;var c=u?mi(u,0,a).join(""):t.slice(0,a);if(o===i)return c+r;if(u&&(a+=c.length-a),iu(o)){if(t.slice(a).search(o)){var l,f=c;for(o.global||(o=St(o.source,gu(ht.exec(o))+"g")),o.lastIndex=0;l=o.exec(f);)var h=l.index;c=c.slice(0,h===i?a:h)}}else if(t.indexOf(si(o),a)!=a){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+r},Un.unescape=function(t){return(t=gu(t))&&H.test(t)?t.replace(Y,pn):t},Un.uniqueId=function(t){var e=++It;return gu(t)+e},Un.upperCase=Xu,Un.upperFirst=Gu,Un.each=gs,Un.eachRight=ms,Un.first=Yo,sa(Un,(_a={},mr(Un,function(t,e){Lt.call(Un.prototype,e)||(_a[e]=t)}),_a),{chain:!1}),Un.VERSION="4.17.21",Se(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){Un[t].placeholder=Un}),Se(["drop","take"],function(t,e){Fn.prototype[t]=function(n){n=n===i?1:_n(pu(n),0);var r=this.__filtered__&&!e?new Fn(this):this.clone();return r.__filtered__?r.__takeCount__=gn(n,r.__takeCount__):r.__views__.push({size:gn(n,p),type:t+(r.__dir__<0?"Right":"")}),r},Fn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Se(["filter","map","takeWhile"],function(t,e){var n=e+1,r=1==n||3==n;Fn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:oo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Se(["head","last"],function(t,e){var n="take"+(e?"Right":"");Fn.prototype[t]=function(){return this[n](1).value()[0]}}),Se(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");Fn.prototype[t]=function(){return this.__filtered__?new Fn(this):this[n](1)}}),Fn.prototype.compact=function(){return this.filter(na)},Fn.prototype.find=function(t){return this.filter(t).head()},Fn.prototype.findLast=function(t){return this.reverse().find(t)},Fn.prototype.invokeMap=Hr(function(t,e){return"function"==typeof t?new Fn(this):this.map(function(n){return kr(n,t,e)})}),Fn.prototype.reject=function(t){return this.filter(Is(oo(t)))},Fn.prototype.slice=function(t,e){t=pu(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Fn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==i&&(n=(e=pu(e))<0?n.dropRight(-e):n.take(e-t)),n)},Fn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Fn.prototype.toArray=function(){return this.take(p)},mr(Fn.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Un[r?"take"+("last"==e?"Right":""):e],s=r||/^find/.test(e);o&&(Un.prototype[e]=function(){var e=this.__wrapped__,u=r?[1]:arguments,a=e instanceof Fn,c=u[0],l=a||Ms(e),f=function(t){var e=o.apply(Un,Ce([t],u));return r&&h?e[0]:e};l&&n&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,d=s&&!h,v=a&&!p;if(!s&&l){e=v?e:new Fn(this);var _=t.apply(e,u);return _.__actions__.push({func:hs,args:[f],thisArg:i}),new qn(_,h)}return d&&v?t.apply(this,u):(_=this.thru(f),d?r?_.value()[0]:_.value():_)})}),Se(["pop","push","shift","sort","splice","unshift"],function(t){var e=kt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Un.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Ms(i)?i:[],t)}return this[n](function(n){return e.apply(Ms(n)?n:[],t)})}}),mr(Fn.prototype,function(t,e){var n=Un[e];if(n){var r=n.name+"";Lt.call(Rn,r)||(Rn[r]=[]),Rn[r].push({name:e,func:n})}}),Rn[Pi(i,2).name]=[{name:"wrapper",func:i}],Fn.prototype.clone=function(){var t=new Fn(this.__wrapped__);return t.__actions__=Oi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Oi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Oi(this.__views__),t},Fn.prototype.reverse=function(){if(this.__filtered__){var t=new Fn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Fn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ms(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=gn(e,t+s);break;case"takeRight":t=_n(t,e-s)}}return{start:t,end:e}}(0,i,this.__views__),s=o.start,u=o.end,a=u-s,c=r?u:s-1,l=this.__iteratees__,f=l.length,h=0,p=gn(a,this.__takeCount__);if(!n||!r&&i==a&&p==a)return fi(t,this.__actions__);var d=[];t:for(;a--&&h<p;){for(var v=-1,_=t[c+=e];++v<f;){var g=l[v],m=g.iteratee,y=g.type,b=m(_);if(2==y)_=b;else if(!b){if(1==y)continue t;break t}}d[h++]=_}return d},Un.prototype.at=ps,Un.prototype.chain=function(){return fs(this)},Un.prototype.commit=function(){return new qn(this.value(),this.__chain__)},Un.prototype.next=function(){this.__values__===i&&(this.__values__=fu(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},Un.prototype.plant=function(t){for(var e,n=this;n instanceof zn;){var r=Uo(n);r.__index__=0,r.__values__=i,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},Un.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Fn){var e=t;return this.__actions__.length&&(e=new Fn(this)),(e=e.reverse()).__actions__.push({func:hs,args:[Qo],thisArg:i}),new qn(e,this.__chain__)}return this.thru(Qo)},Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return fi(this.__wrapped__,this.__actions__)},Un.prototype.first=Un.prototype.head,Gt&&(Un.prototype[Gt]=function(){return this}),Un}();fe._=dn,(r=function(){return dn}.call(e,n,e,t))===i||(t.exports=r)}.call(this)},584(){throw new Error('Module parse failed: Unexpected token (28:37)\nFile was processed with these loaders:\n * ../../node_modules/ts-loader/index.js\nYou may need an additional loader to handle the result of these loaders.\n| TextStyle[TextStyle["ITALIC"] = 3] = "ITALIC";\n| })(TextStyle || (TextStyle = {}));\n> export const emptyBulletSvg = () => (<svg width="7" height="7" viewBox="0 0 7 7" fill="none" xmlns="http://www.w3.org/2000/svg">\n| <rect x="0.5" y="0.5" width="6" height="6" rx="3" fill="#000000" stroke="black"/>\n| </svg>);')},592(t,e,n){"use strict";var r=n(516),i=n(522),o=n(948),s=n(106),u=n(615),a=n(631),c=n(202),l=n(763),f=n(987),h=n(928);t.exports=function(t){return new Promise(function(e,n){var p,d=t.data,v=t.headers,_=t.responseType;function g(){t.cancelToken&&t.cancelToken.unsubscribe(p),t.signal&&t.signal.removeEventListener("abort",p)}r.isFormData(d)&&delete v["Content-Type"];var m=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(y+":"+b)}var w=u(t.baseURL,t.url);function T(){if(m){var r="getAllResponseHeaders"in m?a(m.getAllResponseHeaders()):null,o={data:_&&"text"!==_&&"json"!==_?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:t,request:m};i(function(t){e(t),g()},function(t){n(t),g()},o),m=null}}if(m.open(t.method.toUpperCase(),s(w,t.params,t.paramsSerializer),!0),m.timeout=t.timeout,"onloadend"in m?m.onloadend=T:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(T)},m.onabort=function(){m&&(n(l("Request aborted",t,"ECONNABORTED",m)),m=null)},m.onerror=function(){n(l("Network Error",t,null,m)),m=null},m.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||f.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},r.isStandardBrowserEnv()){var x=(t.withCredentials||c(w))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;x&&(v[t.xsrfHeaderName]=x)}"setRequestHeader"in m&&r.forEach(v,function(t,e){void 0===d&&"content-type"===e.toLowerCase()?delete v[e]:m.setRequestHeader(e,t)}),r.isUndefined(t.withCredentials)||(m.withCredentials=!!t.withCredentials),_&&"json"!==_&&(m.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&m.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(p=function(t){m&&(n(!t||t&&t.type?new h("canceled"):t),m.abort(),m=null)},t.cancelToken&&t.cancelToken.subscribe(p),t.signal&&(t.signal.aborted?p():t.signal.addEventListener("abort",p))),d||(d=null),m.send(d)})}},615(t,e,n){"use strict";var r=n(137),i=n(680);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},631(t,e,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"];t.exports=function(t){var e,n,o,s={};return t?(r.forEach(t.split("\n"),function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(s[e]&&i.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}}),s):s}},641(t){t.exports={version:"0.25.0"}},680(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},763(t,e,n){"use strict";var r=n(449);t.exports=function(t,e,n,i,o){var s=new Error(t);return r(s,e,n,i,o)}},841(t,e,n){"use strict";var r=n(641).version,i={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var o={};i.transitional=function(t,e,n){function i(t,e){return"[Axios v"+r+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new Error(i(r," has been removed"+(e?" in "+e:"")));return e&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),i=r.length;i-- >0;){var o=r[i],s=e[o];if(s){var u=t[o],a=void 0===u||s(u,o,t);if(!0!==a)throw new TypeError("option "+o+" must be "+a)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},864(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},881(t,e,n){"use strict";var r=n(516),i=n(987);t.exports=function(t,e,n){var o=this||i;return r.forEach(n,function(n){t=n.call(o,t,e)}),t}},928(t){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},948(t,e,n){"use strict";var r=n(516);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,s){var u=[];u.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(i)&&u.push("path="+i),r.isString(o)&&u.push("domain="+o),!0===s&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},980(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},987(t,e,n){"use strict";var r=n(516),i=n(18),o=n(449),s={"Content-Type":"application/x-www-form-urlencoded"};function u(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var a,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(a=n(592)),a),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(u(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(u(e,"application/json"),function(t){if(r.isString(t))try{return(0,JSON.parse)(t),r.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||c.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||i&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(s){if("SyntaxError"===t.name)throw o(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(t){c.headers[t]={}}),r.forEach(["post","put","patch"],function(t){c.headers[t]=r.merge(s)}),t.exports=c}},n={};function r(t){var i=n[t];if(void 0!==i)return i.exports;var o=n[t]={id:t,loaded:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var i={};return(()=>{"use strict";r.r(i),r.d(i,{api:()=>t,appear:()=>e,blog:()=>M,document:()=>W,operations:()=>n,popup:()=>H,resizeDetecter:()=>s,storage:()=>u,timeline:()=>a,types:()=>c,useResize:()=>o,utils:()=>l});var t={};r.r(t),r.d(t,{ApiLoader:()=>z,useApi:()=>q});var e={};r.r(e),r.d(e,{onAppear:()=>F});var n={};r.r(n),r.d(n,{default:()=>V});var o={};r.r(o),r.d(o,{useResizeDetecter:()=>G});var s={};r.r(s),r.d(s,{ResizeDetecter:()=>J});var u={};r.r(u),r.d(u,{Storage:()=>Q,useStates:()=>et,useStorage:()=>tt});var a={};r.r(a),r.d(a,{ElementEnterLeave:()=>ir,ElementEnterLeaveXValues:()=>sr,ElementEnterLeaveYValues:()=>or,ScrollCoordinateType:()=>tr,ScrollDirection:()=>Kn,ScrollModel:()=>Jn,SyncSmoothness:()=>ar,TimelineAutoPlay:()=>er,TimelineCommandOption:()=>nr,TimelineCommandOptionLabel:()=>rr,TimelineConfigType:()=>Qn,TimelineDirection:()=>cr,TimelineDirectionValue:()=>lr,TimelineScreenType:()=>Zn,getEnterLeaveConfigValue:()=>ur,getTimelineElements:()=>fr,useTimeline:()=>hr});var c={};r.r(c);var l={};r.r(l),r.d(l,{ScrollElementConfig:()=>Tr,ScrollElementOrator:()=>xr,getCount:()=>dr,loopOnArray:()=>yr,loopOnObject:()=>mr,loopOnRange:()=>_r,loopOnString:()=>gr,prepareFocusEvent:()=>kr,prepareInputChangeEvent:()=>Or,prepareKeyboardEvent:()=>Ar,prepareMouseEvent:()=>Sr,prepareUIEvent:()=>Rr,scrollTo:()=>Er,toStyle:()=>wr,toText:()=>br,useDidUpdateEffect:()=>vr});var f=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty;function d(t,e){return function(n,r,i){return t(n,r,i)&&e(n,r,i)}}function v(t){return function(e,n,r){if(!e||!n||"object"!=typeof e||"object"!=typeof n)return t(e,n,r);var i=r.cache,o=i.get(e),s=i.get(n);if(o&&s)return o===n&&s===e;i.set(e,n),i.set(n,e);var u=t(e,n,r);return i.delete(e),i.delete(n),u}}function _(t){return f(t).concat(h(t))}var g=Object.hasOwn||function(t,e){return p.call(t,e)};function m(t,e){return t||e?t===e:t===e||t!=t&&e!=e}var y="_owner",b=Object.getOwnPropertyDescriptor,w=Object.keys;function T(t,e,n){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;return!0}function x(t,e){return m(t.getTime(),e.getTime())}function E(t,e,n){if(t.size!==e.size)return!1;for(var r,i,o={},s=t.entries(),u=0;(r=s.next())&&!r.done;){for(var a=e.entries(),c=!1,l=0;(i=a.next())&&!i.done;){var f=r.value,h=f[0],p=f[1],d=i.value,v=d[0],_=d[1];c||o[l]||!(c=n.equals(h,v,u,l,t,e,n)&&n.equals(p,_,h,v,t,e,n))||(o[l]=!0),l++}if(!c)return!1;u++}return!0}function S(t,e,n){var r,i=w(t),o=i.length;if(w(e).length!==o)return!1;for(;o-- >0;){if((r=i[o])===y&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!g(e,r)||!n.equals(t[r],e[r],r,r,t,e,n))return!1}return!0}function O(t,e,n){var r,i,o,s=_(t),u=s.length;if(_(e).length!==u)return!1;for(;u-- >0;){if((r=s[u])===y&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!g(e,r))return!1;if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;if(i=b(t,r),o=b(e,r),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable))return!1}return!0}function A(t,e){return m(t.valueOf(),e.valueOf())}function k(t,e){return t.source===e.source&&t.flags===e.flags}function R(t,e,n){if(t.size!==e.size)return!1;for(var r,i,o={},s=t.values();(r=s.next())&&!r.done;){for(var u=e.values(),a=!1,c=0;(i=u.next())&&!i.done;)a||o[c]||!(a=n.equals(r.value,i.value,r.value,i.value,t,e,n))||(o[c]=!0),c++;if(!a)return!1}return!0}function j(t,e){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}var N=Array.isArray,C="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,L=Object.assign,I=Object.prototype.toString.call.bind(Object.prototype.toString),D=$();function $(t){void 0===t&&(t={});var e,n=t.circular,r=void 0!==n&&n,i=t.createInternalComparator,o=t.createState,s=t.strict,u=void 0!==s&&s,a=function(t){var e=t.circular,n=t.createCustomConfig,r=t.strict,i={areArraysEqual:r?O:T,areDatesEqual:x,areMapsEqual:r?d(E,O):E,areObjectsEqual:r?O:S,arePrimitiveWrappersEqual:A,areRegExpsEqual:k,areSetsEqual:r?d(R,O):R,areTypedArraysEqual:r?O:j};if(n&&(i=L({},i,n(i))),e){var o=v(i.areArraysEqual),s=v(i.areMapsEqual),u=v(i.areObjectsEqual),a=v(i.areSetsEqual);i=L({},i,{areArraysEqual:o,areMapsEqual:s,areObjectsEqual:u,areSetsEqual:a})}return i}(t),c=function(t){var e=t.areArraysEqual,n=t.areDatesEqual,r=t.areMapsEqual,i=t.areObjectsEqual,o=t.arePrimitiveWrappersEqual,s=t.areRegExpsEqual,u=t.areSetsEqual,a=t.areTypedArraysEqual;return function(t,c,l){if(t===c)return!0;if(null==t||null==c||"object"!=typeof t||"object"!=typeof c)return t!=t&&c!=c;var f=t.constructor;if(f!==c.constructor)return!1;if(f===Object)return i(t,c,l);if(N(t))return e(t,c,l);if(null!=C&&C(t))return a(t,c,l);if(f===Date)return n(t,c,l);if(f===RegExp)return s(t,c,l);if(f===Map)return r(t,c,l);if(f===Set)return u(t,c,l);var h=I(t);return"[object Date]"===h?n(t,c,l):"[object RegExp]"===h?s(t,c,l):"[object Map]"===h?r(t,c,l):"[object Set]"===h?u(t,c,l):"[object Object]"===h?"function"!=typeof t.then&&"function"!=typeof c.then&&i(t,c,l):"[object Arguments]"===h?i(t,c,l):("[object Boolean]"===h||"[object Number]"===h||"[object String]"===h)&&o(t,c,l)}}(a);return function(t){var e=t.circular,n=t.comparator,r=t.createState,i=t.equals,o=t.strict;if(r)return function(t,s){var u=r(),a=u.cache,c=void 0===a?e?new WeakMap:void 0:a,l=u.meta;return n(t,s,{cache:c,equals:i,meta:l,strict:o})};if(e)return function(t,e){return n(t,e,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var s={cache:void 0,equals:i,meta:void 0,strict:o};return function(t,e){return n(t,e,s)}}({circular:r,comparator:c,createState:o,equals:i?i(c):(e=c,function(t,n,r,i,o,s,u){return e(t,n,u)}),strict:u})}$({strict:!0}),$({circular:!0}),$({circular:!0,strict:!0}),$({createInternalComparator:function(){return m}}),$({strict:!0,createInternalComparator:function(){return m}}),$({circular:!0,createInternalComparator:function(){return m}}),$({circular:!0,createInternalComparator:function(){return m},strict:!0});var P=r(155),U=r(505),B=r.n(U);class z{constructor(t){this.loading=!1,this.controller=new AbortController,this.onUpdate=t}load(t){var e;if(D(t,this.request))return;this.loading&&this.controller.abort(),this.controller=new AbortController,this.request=t,this.loading=!0,null===(e=this.onUpdate)||void 0===e||e.call(this);const{config:n,body:r}=t,i=Object.entries(t.query||{}).reduce((t,[e,n],r)=>0===r?`?${e}=${n}`:`${t}&${e}=${n}`,"");B()({signal:this.controller.signal,method:"post",url:`${n.host}/${n.path.startsWith("/")?n.path.slice(1):n.path}${i}`,headers:{"Content-Type":"application/json"},data:r}).then(t=>{var e;this.response=t.data,this.error=void 0,this.loading=!1,null===(e=this.onUpdate)||void 0===e||e.call(this)}).catch(t=>{var e;this.response=void 0,this.error=(null==t?void 0:t.message)||"Unknown Error",this.loading=!1,null===(e=this.onUpdate)||void 0===e||e.call(this)})}}const q=t=>{const[,e]=(0,P.useState)({}),n=(0,P.useMemo)(()=>new z(()=>{e({})}),[]);return n.load(t),{loading:n.loading,response:{body:n.response},error:n.error,request:n.request}},F=()=>function(t){var e=null,n=0,r={};return addEventListener("scroll",function(){var i=t.scrollY||t.pageYOffset;null!=e&&(r.velocity=i-e,r.delta=r.velocity>=0?r.velocity:-1*r.velocity),e=i,n&&clearTimeout(n),n=setTimeout(function(){e=null},30)},!1),function(e){return function(){var e,n,i,o=!1,s=[],u=[],a=0,c=0,l={};function f(){r.delta<l.delta.speed&&(n||(n=!0,d(),setTimeout(function(){n=!1},l.delta.timeout))),d()}function h(){setTimeout(()=>{d()},100),addEventListener("scroll",f,!1),addEventListener("wheel",f,!1),addEventListener("resize",f,!1)}function p(){removeEventListener("scroll",f,!1),removeEventListener("resize",f,!1)}function d(){i||(s.forEach(function(e,n){var r,i,o;e&&(r=e,i=l.bounds,(o=r.getBoundingClientRect()).top+o.height>=0&&o.left+o.width>=0&&o.bottom-o.height<=(t.innerHeight||document.documentElement.clientHeight)+i&&o.right-o.width<=(t.innerWidth||document.documentElement.clientWidth)+i)?u[n]&&(u[n]=!1,a++,l.appear&&l.appear(e),l.disappear||l.reappear||(s[n]=null)):(!1===u[n]&&(l.disappear&&l.disappear(e),c++,l.reappear||(s[n]=null)),u[n]=!0)}),l.reappear||l.appear&&(!l.appear||a!==e)||l.disappear&&(!l.disappear||c!==e)||(i=!0,p(),l.done&&l.done()))}function v(){var t;if(!o&&(o=!0,l.init&&l.init(),t="function"==typeof l.elements?l.elements():l.elements)){e=t.length;for(var n=0;n<e;n+=1)s.push(t[n]),u.push(!0);h()}}return function(t){l={init:(t=t||{}).init,elements:t.elements,appear:t.appear,disappear:t.disappear,done:t.done,reappear:t.reappear,bounds:t.bounds||0,debounce:t.debounce||50,delta:{speed:t.deltaSpeed||50,timeout:t.deltaTimeout||500}},addEventListener("DOMContentLoaded",v,!1);var e=!1;Function("/*@cc_on return document.documentMode===10@*/")()&&(e=!0);var n="complete"===document.readyState||"loaded"===document.readyState;return e?n&&v():(n||"interactive"===document.readyState)&&v(),{trigger:function(){d()},pause:function(){p()},resume:function(){h()},destroy:function(){s=[],p()}}}}()(e)}}(window);var M=r(303),W=r(584);const Y=(t,e)=>{},V={canPush:Y,canRemove:Y,canRemoveAll:Y,canPushAt:(t,e,n)=>{},canRemoveAt:(t,e)=>{},canMath:(t,e)=>{},canCall:(t,...e)=>{},isType:t=>t,isArrayType:t=>t};var H=r(529);const X=(t,e)=>"%"===(null==e?void 0:e.unit)?t*((e.value||0)/100):(null==e?void 0:e.value)||0,G=(t,e,n)=>{let r=0;const i=i=>{const o=t.find((t,n,r)=>{let i=e.clientWidth;const o=e.computedStyleMap(),s=o.get("padding-left"),u=o.get("padding-left");if(i=i-X(i,s)-X(i,u),0===n)return i>=t;if(r.length===n+1)return!0;{const e=r[n-1];if(i>=t&&i<e)return!0}});r!==o&&(n(i,r,o),r=o)},o=new ResizeObserver(()=>{i(!1)});return i(!0),o.observe(e),o};class J{constructor(){this.elements={},this.getValue=()=>Object.values(this.elements).filter(t=>t.size).map(t=>t.size).join(","),this.lastValue="",this.onUpdate=()=>{var t;const e=this.getValue();this.lastValue!==e&&(this.lastValue=e,null===(t=this.update)||void 0===t||t.call(this,e))}}render(t,e){if(t.nodeId)if(this.elements[t.nodeId]){const e=this.elements[t.nodeId];e.rendered=!0,e.item=t}else this.elements[t.nodeId]={rendered:!0,item:t,sizes:e}}finish(){Object.values(this.elements).map(t=>!!t.item.ref).includes(!1)||Object.entries(this.elements).forEach(([t,e])=>{var n,r;if(e.rendered){const t=e.item.ref,n=(n,r,i)=>{window.requestAnimationFrame(()=>{const n=e.sizes.find(t=>t.width===r),o=e.sizes.find(t=>t.width===i);(null==n?void 0:n.className)&&(null==t||t.classList.remove(...null==n?void 0:n.className)),(null==o?void 0:o.className)&&(null==t||t.classList.add(...null==o?void 0:o.className)),e.size=i,this.onUpdate()})};t&&(e.size&&t.classList.add(`w${e.size}px`),e.resizeObserver&&e.item.ref===e.element||(null===(r=e.resizeObserver)||void 0===r||r.disconnect(),e.element=t,e.resizeObserver=G(e.sizes.map(({width:t})=>t),t,n)))}else null===(n=e.resizeObserver)||void 0===n||n.disconnect(),delete this.elements[t];e.rendered=!1})}remove(){Object.values(this.elements).forEach(t=>{var e;null===(e=t.resizeObserver)||void 0===e||e.disconnect()})}}var Z=r(543),K=r.n(Z);class Q{constructor(t,e){this.bank={},this.collectResponse=t=>Object.entries(t).reduce((t,[e,n])=>(t[e]={loading:n.loading,response:{body:n.response},error:n.error,request:n.request},t),{}),this.validateRequest=(t,e,n)=>{const r=this.getApisRequest(n);Object.entries(e).forEach(([t,e])=>{e.load(r[t])}),this.bank[t].apis=this.collectResponse(e)},this.emit=(t,e)=>{this.bank[t].events.forEach(t=>{e&&e===t||t()})},this.baseState=t,this.getApisRequest=e}mount(t,e){if(this.bank[t])this.bank[t].events.includes(e)||this.bank[t].events.push(e);else{const n=K().cloneDeep(this.baseState),r=this.getApisRequest(n),i=Object.entries(r).reduce((e,[n,r])=>{const i=new z(()=>{this.emit(t)});return i.load(r),e[n]=i,e},{});this.bank[t]={state:n,mutated:n,apiLoaders:i,apis:this.collectResponse(i),events:[e]}}}unMount(t,e){if(this.bank[t]){const n=this.bank[t].events.indexOf(e);-1!==n&&this.bank[t].events.splice(n,1)}}set(t,e,n){const r=this.bank[t];this.validateRequest(t,r.apiLoaders,e),this.emit(t,n)}}const tt=(t,e)=>{const[n,r]=(0,P.useState)({}),i=(0,P.useMemo)(()=>{const n=()=>r({});return e.mount(t,n),n},[t]);return(0,P.useEffect)(()=>{},[i,t]),{state:e.bank[t].mutated,apis:e.bank[t].apis,set:(n,r)=>(e.set(t,n,r?i:void 0),!0),setState:n=>{const r=e.bank[t].state;return n(r),e.set(t,r),!0},get:()=>e.bank[t].state}},et=t=>{const[e,n]=(0,P.useState)({}),r=(0,P.useMemo)(()=>K().cloneDeep(t),[]);return{state:r,getState:()=>r,setState:t=>(n({}),!0)}},nt="undefined"!=typeof window,rt=nt?window:null,it=nt?document:null,ot={replace:0,none:1,blend:2},st=Symbol(),ut=Symbol(),at=Symbol(),ct=Symbol(),lt=(Symbol(),Symbol()),ft=1e-11,ht=1e12,pt=1e3,dt="",vt=new Map;vt.set("x","translateX"),vt.set("y","translateY"),vt.set("z","translateZ");const _t=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],gt=_t.reduce((t,e)=>({...t,[e]:e+"("}),{}),mt=()=>{},yt=/(^#([\da-f]{3}){1,2}$)|(^#([\da-f]{4}){1,2}$)/i,bt=/rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i,wt=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,Tt=/hsl\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*\)/i,xt=/hsla\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,Et=/[-+]?\d*\.?\d+(?:e[-+]?\d)?/gi,St=/^([-+]?\d*\.?\d+(?:e[-+]?\d+)?)([a-z]+|%)$/i,Ot=/([a-z])([A-Z])/g,At=/(\w+)(\([^)]+\)+)/g,kt=/(\*=|\+=|-=)/,Rt={id:null,keyframes:null,playbackEase:null,playbackRate:1,frameRate:120,loop:0,reversed:!1,alternate:!1,autoplay:!0,duration:pt,delay:0,loopDelay:0,ease:"out(2)",composition:ot.replace,modifier:t=>t,onBegin:mt,onBeforeUpdate:mt,onUpdate:mt,onLoop:mt,onPause:mt,onComplete:mt,onRender:mt},jt={defaults:Rt,root:it,scope:null,precision:4,timeScale:1,tickThreshold:200},Nt={version:"4.0.0",engine:null};nt&&(rt.AnimeJS||(rt.AnimeJS=[]),rt.AnimeJS.push(Nt));const Ct=(t,e)=>0===t.indexOf(e),Lt=Date.now,It=Array.isArray,Dt=t=>t&&t.constructor===Object,$t=t=>"number"==typeof t&&!isNaN(t),Pt=t=>"string"==typeof t,Ut=t=>"function"==typeof t,Bt=t=>void 0===t,zt=t=>Bt(t)||null===t,qt=t=>nt&&t instanceof SVGElement,Ft=t=>yt.test(t),Mt=t=>Ct(t,"rgb"),Wt=t=>Ct(t,"hsl"),Yt=t=>!jt.defaults.hasOwnProperty(t),Vt=t=>Pt(t)?parseFloat(t):t,Ht=Math.pow,Xt=Math.sqrt,Gt=Math.sin,Jt=Math.cos,Zt=Math.abs,Kt=(Math.exp,Math.ceil),Qt=Math.floor,te=Math.asin,ee=(Math.max,Math.atan2,Math.PI),ne=Math.round,re=(t,e,n)=>t<e?e:t>n?n:t,ie={},oe=(t,e)=>{if(e<0)return t;if(!e)return ne(t);let n=ie[e];return n||(n=ie[e]=10**e),ne(t*n)/n},se=(t,e,n)=>t+(e-t)*n,ue=t=>t===1/0?ht:t===-1/0?-1e12:t,ae=t=>t<ft?ft:t,ce=t=>It(t)?[...t]:t,le=(t,e)=>{const n={...t};for(let r in e){const i=t[r];n[r]=Bt(i)?e[r]:i}return n},fe=(t,e,n,r="_prev",i="_next")=>{let o=t._head,s=i;for(n&&(o=t._tail,s=r);o;){const t=o[s];e(o),o=t}},he=(t,e,n="_prev",r="_next")=>{const i=e[n],o=e[r];i?i[r]=o:t._head=o,o?o[n]=i:t._tail=i,e[n]=null,e[r]=null},pe=(t,e,n,r="_prev",i="_next")=>{let o=t._tail;for(;o&&n&&n(o,e);)o=o[r];const s=o?o[i]:t._head;o?o[i]=e:t._head=e,s?s[r]=e:t._tail=e,e[r]=o,e[i]=s};class de{constructor(t=0){this.deltaTime=0,this._currentTime=t,this._elapsedTime=t,this._startTime=t,this._lastTime=t,this._scheduledTime=0,this._frameDuration=oe(pt/120,0),this._fps=120,this._speed=1,this._hasChildren=!1,this._head=null,this._tail=null}get fps(){return this._fps}set fps(t){const e=this._frameDuration,n=+t,r=n<ft?ft:n,i=oe(pt/r,0);this._fps=r,this._frameDuration=i,this._scheduledTime+=i-e}get speed(){return this._speed}set speed(t){const e=+t;this._speed=e<ft?ft:e}requestTick(t){const e=this._scheduledTime,n=this._elapsedTime;if(this._elapsedTime+=t-n,n<e)return 0;const r=this._frameDuration,i=n-e;return this._scheduledTime+=i<r?r:i,1}computeDeltaTime(t){const e=t-this._lastTime;return this.deltaTime=e,this._lastTime=t,e}}const ve=(t,e,n,r,i)=>{const o=t.parent,s=t.duration,u=t.completed,a=t.iterationDuration,c=t.iterationCount,l=t._currentIteration,f=t._loopDelay,h=t._reversed,p=t._alternate,d=t._hasChildren,v=t._delay,_=t._currentTime,g=v+a,m=e-v,y=re(_,-v,s),b=re(m,-v,s),w=m-_,T=b>0,x=b>=s,E=s<=ft,S=2===i;let O=0,A=m,k=0;if(c>1){const e=~~(b/(a+(x?0:f)));t._currentIteration=re(e,0,c),x&&t._currentIteration--,O=t._currentIteration%2,A=b%(a+f)||0}const R=h^(p&&O),j=t._ease;let N=x?R?0:s:R?a-A:A;j&&(N=a*j(N/a)||0);const C=(o?o.backwards:m<_)?!R:!!R;if(t._currentTime=m,t._iterationTime=N,t.backwards=C,T&&!t.began?(t.began=!0,n||o&&(C||!o.began)||t.onBegin(t)):m<=0&&(t.began=!1),n||d||!T||t._currentIteration===l||t.onLoop(t),S||1===i&&(e>=v&&e<=g||e<=v&&y>v||e>=g&&y!==s)||N>=g&&y!==s||N<=v&&y>0||e<=y&&y===s&&u||x&&!u&&E){if(T&&(t.computeDeltaTime(y),n||t.onBeforeUpdate(t)),!d){const e=S||(C?-1*w:w)>=jt.tickThreshold,i=t._offset+(o?o._offset:0)+v+N;let s,u,a,c,l=t._head,f=0;for(;l;){const t=l._composition,n=l._currentTime,o=l._changeDuration,h=l._absoluteStartTime+l._changeDuration,p=l._nextRep,d=l._prevRep,v=t!==ot.none;if((e||(n!==o||i<=h+(p?p._delay:0))&&(0!==n||i>=l._absoluteStartTime))&&(!v||!l._isOverridden&&(!l._isOverlapped||i<=h)&&(!p||p._isOverridden||i<=p._absoluteStartTime)&&(!d||d._isOverridden||i>=d._absoluteStartTime+d._changeDuration+l._delay))){const e=l._currentTime=re(N-l._startTime,0,o),n=l._ease(e/l._updateDuration),i=l._modifier,h=l._valueType,p=l._tweenType,d=0===p,_=0===h,g=_&&d||0===n||1===n?-1:jt.precision;let m,y;if(_)m=y=i(oe(se(l._fromNumber,l._toNumber,n),g));else if(1===h)y=i(oe(se(l._fromNumber,l._toNumber,n),g)),m=`${y}${l._unit}`;else if(2===h){const t=l._fromNumbers,e=l._toNumbers,r=oe(re(i(se(t[0],e[0],n)),0,255),0),o=oe(re(i(se(t[1],e[1],n)),0,255),0),s=oe(re(i(se(t[2],e[2],n)),0,255),0),u=re(i(oe(se(t[3],e[3],n),g)),0,1);if(m=`rgba(${r},${o},${s},${u})`,v){const t=l._numbers;t[0]=r,t[1]=o,t[2]=s,t[3]=u}}else if(3===h){m=l._strings[0];for(let t=0,e=l._toNumbers.length;t<e;t++){const e=i(oe(se(l._fromNumbers[t],l._toNumbers[t],n),g)),r=l._strings[t+1];m+=`${r?e+r:e}`,v&&(l._numbers[t]=e)}}if(v&&(l._number=y),r||t===ot.blend)l._value=m;else{const t=l.property;s=l.target,d?s[t]=m:1===p?s.setAttribute(t,m):(u=s.style,3===p?(s!==a&&(a=s,c=s[ct]),c[t]=m,f=1):2===p?u[t]=m:4===p&&u.setProperty(t,m)),T&&(k=1)}}if(f&&l._renderTransforms){let t=dt;for(let e in c)t+=`${gt[e]}${c[e]}) `;u.transform=t,f=0}l=l._next}!n&&k&&t.onRender(t)}!n&&T&&t.onUpdate(t)}return o&&E?!n&&(o.began&&!C&&m>=s&&!u||C&&m<=ft&&u)&&(t.onComplete(t),t.completed=!C):T&&x?c===1/0?t._startTime+=t.duration:t._currentIteration>=c-1&&(t.paused=!0,u||d||(t.completed=!0,n||o&&(C||!o.began)||(t.onComplete(t),t._resolve(t)))):t.completed=!1,k},_e=(t,e,n,r,i)=>{const o=t._currentIteration;if(ve(t,e,n,r,i),t._hasChildren){const s=t,u=s.backwards,a=r?e:s._iterationTime,c=Lt();let l=0,f=!0;if(!r&&s._currentIteration!==o){const t=s.iterationDuration;fe(s,e=>{if(u){const r=e.duration,i=e._offset+e._delay;n||!(r<=ft)||i&&i+r!==t||e.onComplete(e)}else!e.completed&&!e.backwards&&e._currentTime<e.iterationDuration&&ve(e,t,n,1,2),e.began=!1,e.completed=!1}),n||s.onLoop(s)}fe(s,t=>{const e=oe((a-t._offset)*t._speed,12),o=t._fps<s._fps?t.requestTick(c):i;l+=ve(t,e,n,r,o),!t.completed&&f&&(f=!1)},u),!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))))}},ge={animation:null,update:mt},me=nt?requestAnimationFrame:setImmediate,ye=nt?cancelAnimationFrame:clearImmediate;class be extends de{constructor(t){super(t),this.useDefaultMainLoop=!0,this.pauseOnDocumentHidden=!0,this.defaults=Rt,this.paused=!(!nt||!it.hidden),this.reqId=null}update(){const t=this._currentTime=Lt();if(this.requestTick(t)){this.computeDeltaTime(t);const e=this._speed,n=this._fps;let r=this._head;for(;r;){const i=r._next;r.paused?(he(this,r),this._hasChildren=!!this._tail,r._running=!1,r.completed&&!r._cancelled&&r.cancel()):_e(r,(t-r._startTime)*r._speed*e,0,0,r._fps<n?r.requestTick(t):1),r=i}ge.update()}}wake(){return!this.useDefaultMainLoop||this.reqId||this.paused||(this.reqId=me(Te)),this}pause(){return this.paused=!0,xe()}resume(){if(this.paused)return this.paused=!1,fe(this,t=>t.resetTime()),this.wake()}get speed(){return this._speed*(1===jt.timeScale?1:pt)}set speed(t){this._speed=t*jt.timeScale,fe(this,t=>t.speed=t._speed)}get timeUnit(){return 1===jt.timeScale?"ms":"s"}set timeUnit(t){const e="s"===t,n=e?.001:1;if(jt.timeScale!==n){jt.timeScale=n,jt.tickThreshold=200*n;const t=e?.001:pt;this.defaults.duration*=t,this._speed*=t}}get precision(){return jt.precision}set precision(t){jt.precision=t}}const we=(()=>{const t=new be(Lt());return nt&&(Nt.engine=t,it.addEventListener("visibilitychange",()=>{t.pauseOnDocumentHidden&&(it.hidden?t.pause():t.resume())})),t})(),Te=()=>{we._head?(we.reqId=me(Te),we.update()):we.reqId=0},xe=()=>(ye(we.reqId),we.reqId=0,we);function Ee(t){const e=Pt(t)?jt.root.querySelectorAll(t):t;if(e instanceof NodeList||e instanceof HTMLCollection)return e}function Se(t){if(zt(t))return[];if(It(t)){const e=t.flat(1/0),n=[];for(let t=0,r=e.length;t<r;t++){const r=e[t];if(!zt(r)){const t=Ee(r);if(t)for(let e=0,r=t.length;e<r;e++){const r=t[e];if(!zt(r)){let t=!1;for(let e=0,i=n.length;e<i;e++)if(n[e]===r){t=!0;break}t||n.push(r)}}else{let t=!1;for(let e=0,i=n.length;e<i;e++)if(n[e]===r){t=!0;break}t||n.push(r)}}}return n}if(!nt)return[t];const e=Ee(t);return e?Array.from(e):[t]}function Oe(t){const e=Se(t),n=e.length;if(n)for(let t=0;t<n;t++){const n=e[t];if(!n[st]){n[st]=!0;const t=qt(n);(n.nodeType||t)&&(n[ut]=!0,n[at]=t,n[ct]={})}}return e}const Ae=["opacity","rotate","overflow","color"],ke=(t,e,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t),Re=(t,e)=>Bt(t)?e:t,je=(t,e,n,r,i)=>{if(Ut(t)){const o=()=>{const i=t(e,n,r);return isNaN(+i)?i||0:+i};return i&&(i.func=o),o()}return t},Ne=(t,e)=>t[ut]?t[at]&&((t,e)=>{if(Ae.includes(e))return!1;if(t.getAttribute(e)||e in t){if("scale"===e){const e=t.parentNode;return e&&"filter"===e.tagName}return!0}})(t,e)?1:_t.includes(e)||vt.get(e)?3:Ct(e,"--")?4:e in t.style?2:e in t?0:1:0,Ce=(t,e,n)=>{const r=t.style[e];r&&n&&(n[e]=r);const i=r||getComputedStyle(t[lt]||t).getPropertyValue(e);return"auto"===i?"0":i},Le=(t,e,n,r)=>{const i=Bt(n)?Ne(t,e):n;return 0===i?t[e]||0:1===i?t.getAttribute(e):3===i?((t,e,n)=>{const r=t.style.transform;let i;if(r){const o=t[ct];let s;for(;s=At.exec(r);){const t=s[1],r=s[2].slice(1,-1);o[t]=r,t===e&&(i=r,n&&(n[e]=r))}}return r&&!Bt(i)?i:Ct(e,"scale")?"1":Ct(e,"rotate")||Ct(e,"skew")?"0deg":"0px"})(t,e,r):4===i?Ce(t,e,r).trimStart():Ce(t,e,r)},Ie=(t,e,n)=>"-"===n?t-e:"+"===n?t+e:t*e,De=(t,e)=>{if(e.t=0,e.n=0,e.u=null,e.o=null,e.d=null,e.s=null,!t)return e;const n=+t;if(isNaN(n)){let n=t;"="===n[1]&&(e.o=n[0],n=n.slice(2));const o=!n.includes(" ")&&St.exec(n);if(o)return e.t=1,e.n=+o[1],e.u=o[2],e;if(e.o)return e.n=+n,e;if(Ft(i=n)||Mt(i)||Wt(i))return e.t=2,e.d=Mt(r=n)?(t=>{const e=bt.exec(t)||wt.exec(t),n=Bt(e[4])?1:+e[4];return[+e[1],+e[2],+e[3],n]})(r):Ft(r)?(t=>{const e=t.length,n=4===e||5===e;return[+("0x"+t[1]+t[n?1:2]),+("0x"+t[n?2:3]+t[n?2:4]),+("0x"+t[n?3:5]+t[n?3:6]),5===e||9===e?+(+("0x"+t[n?4:7]+t[n?4:8])/255).toFixed(3):1]})(r):Wt(r)?(t=>{const e=Tt.exec(t)||xt.exec(t),n=+e[1]/360,r=+e[2]/100,i=+e[3]/100,o=Bt(e[4])?1:+e[4];let s,u,a;if(0===r)s=u=a=i;else{const t=i<.5?i*(1+r):i+r-i*r,e=2*i-t;s=oe(255*ke(e,t,n+1/3),0),u=oe(255*ke(e,t,n),0),a=oe(255*ke(e,t,n-1/3),0)}return[s,u,a,o]})(r):[0,0,0,1],e;{const t=n.match(Et);return e.t=3,e.d=t?t.map(Number):[],e.s=n.split(Et)||[],e}}var r,i;return e.n=n,e},$e=(t,e)=>(e.t=t._valueType,e.n=t._toNumber,e.u=t._unit,e.o=null,e.d=ce(t._toNumbers),e.s=ce(t._strings),e),Pe={t:0,n:0,u:null,o:null,d:null,s:null},Ue={_rep:new WeakMap,_add:new Map},Be=(t,e,n="_rep")=>{const r=Ue[n];let i=r.get(t);return i||(i={},r.set(t,i)),i[e]?i[e]:i[e]={_head:null,_tail:null}},ze=(t,e)=>t._isOverridden||t._absoluteStartTime>e._absoluteStartTime,qe=t=>{t._isOverlapped=1,t._isOverridden=1,t._changeDuration=ft,t._currentTime=ft},Fe=(t,e)=>{const n=t._composition;if(n===ot.replace){const n=t._absoluteStartTime;pe(e,t,ze,"_prevRep","_nextRep");const r=t._prevRep;if(r){const e=r.parent,i=r._absoluteStartTime+r._changeDuration;if(t.parent.id!==e.id&&e.iterationCount>1&&i+(e.duration-e.iterationDuration)>n){qe(r);let t=r._prevRep;for(;t&&t.parent.id===e.id;)qe(t),t=t._prevRep}const o=n-t._delay;if(i>o){const t=r._startTime,e=i-(t+r._updateDuration);r._changeDuration=o-e-t,r._currentTime=r._changeDuration,r._isOverlapped=1,r._changeDuration<ft&&qe(r)}let s=!0;if(fe(e,t=>{t._isOverlapped||(s=!1)}),s){const t=e.parent;if(t){let n=!0;fe(t,t=>{t!==e&&fe(t,t=>{t._isOverlapped||(n=!1)})}),n&&t.cancel()}else e.cancel()}}}else if(n===ot.blend){const e=Be(t.target,t.property,"_add"),n=(t=>{let e=ge.animation;return e||(e={duration:ft,computeDeltaTime:mt,_offset:0,_delay:0,_head:null,_tail:null},ge.animation=e,ge.update=()=>{t.forEach(t=>{for(let e in t){const n=t[e],r=n._head;if(r){const t=r._valueType,e=3===t||2===t?ce(r._fromNumbers):null;let i=r._fromNumber,o=n._tail;for(;o&&o!==r;){if(e)for(let t=0,n=o._numbers.length;t<n;t++)e[t]+=o._numbers[t];else i+=o._number;o=o._prevAdd}r._toNumber=i,r._toNumbers=e}}}),ve(e,1,1,0,2)}),e})(Ue._add);let r=e._head;r||(r={...t},r._composition=ot.replace,r._updateDuration=ft,r._startTime=0,r._numbers=ce(t._fromNumbers),r._number=0,r._next=null,r._prev=null,pe(e,r),pe(n,r));const i=t._toNumber;if(t._fromNumber=r._fromNumber-i,t._toNumber=0,t._numbers=ce(t._fromNumbers),t._number=0,r._fromNumber=i,t._toNumbers){const e=ce(t._toNumbers);e&&e.forEach((e,n)=>{t._fromNumbers[n]=r._fromNumbers[n]-e,t._toNumbers[n]=0}),r._fromNumbers=e}pe(e,t,null,"_prevAdd","_nextAdd")}return t},Me=t=>{const e=t._composition;if(e!==ot.none){const n=t.target,r=t.property,i=Ue._rep.get(n)[r];if(he(i,t,"_prevRep","_nextRep"),e===ot.blend){const e=Ue._add,i=e.get(n);if(!i)return;const o=i[r],s=ge.animation;he(o,t,"_prevAdd","_nextAdd");const u=o._head;if(u&&u===o._tail){he(o,u,"_prevAdd","_nextAdd"),he(s,u);let t=!0;for(let e in i)if(i[e]._head){t=!1;break}t&&e.delete(n)}}}return t},We=t=>(t.paused=!0,t.began=!1,t.completed=!1,t),Ye=t=>t._cancelled?(t._hasChildren?fe(t,Ye):fe(t,t=>{t._composition!==ot.none&&Fe(t,Be(t.target,t.property))}),t._cancelled=0,t):t;let Ve=0;class He extends de{constructor(t={},e=null,n=0){super(0);const{id:r,delay:i,duration:o,reversed:s,alternate:u,loop:a,loopDelay:c,autoplay:l,frameRate:f,playbackRate:h,onComplete:p,onLoop:d,onPause:v,onBegin:_,onBeforeUpdate:g,onUpdate:m}=t;jt.scope&&jt.scope.revertibles.push(this);const y=e?0:we._elapsedTime,b=e?e.defaults:jt.defaults,w=Ut(i)||Bt(i)?b.delay:+i,T=Ut(o)||Bt(o)?1/0:+o,x=Re(a,b.loop),E=Re(c,b.loopDelay),S=!0===x||x===1/0||x<0?1/0:x+1;let O=0;if(e)O=n;else{let t=Lt();we.paused&&(we.requestTick(t),t=we._elapsedTime),O=t-we._startTime}this.id=Bt(r)?++Ve:r,this.parent=e,this.duration=ue((T+E)*S-E)||ft,this.backwards=!1,this.paused=!0,this.began=!1,this.completed=!1,this.onBegin=_||b.onBegin,this.onBeforeUpdate=g||b.onBeforeUpdate,this.onUpdate=m||b.onUpdate,this.onLoop=d||b.onLoop,this.onPause=v||b.onPause,this.onComplete=p||b.onComplete,this.iterationDuration=T,this.iterationCount=S,this._autoplay=!e&&Re(l,b.autoplay),this._offset=O,this._delay=w,this._loopDelay=E,this._iterationTime=0,this._currentIteration=0,this._resolve=mt,this._running=!1,this._reversed=+Re(s,b.reversed),this._reverse=this._reversed,this._cancelled=0,this._alternate=Re(u,b.alternate),this._prev=null,this._next=null,this._elapsedTime=y,this._startTime=y,this._lastTime=y,this._fps=Re(f,b.frameRate),this._speed=Re(h,b.playbackRate)}get cancelled(){return!!this._cancelled}set cancelled(t){t?this.cancel():this.reset(1).play()}get currentTime(){return re(oe(this._currentTime,jt.precision),-this._delay,this.duration)}set currentTime(t){const e=this.paused;this.pause().seek(+t),e||this.resume()}get iterationCurrentTime(){return oe(this._iterationTime,jt.precision)}set iterationCurrentTime(t){this.currentTime=this.iterationDuration*this._currentIteration+t}get progress(){return re(oe(this._currentTime/this.duration,5),0,1)}set progress(t){this.currentTime=this.duration*t}get iterationProgress(){return re(oe(this._iterationTime/this.iterationDuration,5),0,1)}set iterationProgress(t){const e=this.iterationDuration;this.currentTime=e*this._currentIteration+e*t}get currentIteration(){return this._currentIteration}set currentIteration(t){this.currentTime=this.iterationDuration*re(+t,0,this.iterationCount-1)}get reversed(){return!!this._reversed}set reversed(t){t?this.reverse():this.play()}get speed(){return super.speed}set speed(t){super.speed=t,this.resetTime()}reset(t=0){return Ye(this),this._reversed&&!this._reverse&&(this.reversed=!1),this._iterationTime=this.iterationDuration,_e(this,0,1,t,2),We(this),this._hasChildren&&fe(this,We),this}init(t=0){this.fps=this._fps,this.speed=this._speed,!t&&this._hasChildren&&_e(this,this.duration,1,t,2),this.reset(t);const e=this._autoplay;return!0===e?this.resume():e&&!Bt(e.linked)&&e.link(this),this}resetTime(){const t=1/(this._speed*we._speed);return this._startTime=Lt()-(this._currentTime+this._delay)*t,this}pause(){return this.paused||(this.paused=!0,this.onPause(this)),this}resume(){return this.paused?(this.paused=!1,this.duration<=ft&&!this._hasChildren?_e(this,ft,0,0,2):(this._running||(pe(we,this),we._hasChildren=!0,this._running=!0),this.resetTime(),this._startTime-=12,we.wake()),this):this}restart(){return this.reset(0).resume()}seek(t,e=0,n=0){Ye(this),this.completed=!1;const r=this.paused;return this.paused=!0,_e(this,t+this._delay,~~e,~~n,1),r?this:this.resume()}alternate(){const t=this._reversed,e=this.iterationCount,n=this.iterationDuration,r=e===1/0?Qt(ht/n):e;return this._reversed=+(!this._alternate||r%2?!t:t),e===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?fe(this,t=>t.cancel(),!0):fe(this,Me),this._cancelled=1,this.pause()}stretch(t){const e=this.duration;if(e===ae(t))return this;const n=t/e,r=t<=ft;return this.duration=r?ft:ae(ue(oe(e*n,12))),this.iterationDuration=r?ft:ae(ue(oe(this.iterationDuration*n,12))),this._offset*=n,this._delay*=n,this._loopDelay*=n,this}revert(){_e(this,0,1,0,1);const t=this._autoplay;return t&&t.linked&&t.linked===this&&t.revert(),this.cancel()}complete(){return this.seek(this.duration).cancel()}then(t=mt){const e=this.then,n=()=>{this.then=null,t(this),this.then=e,this._resolve=mt};return new Promise(t=>(this._resolve=()=>t(n()),this.completed&&this._resolve(),this))}}const Xe=t=>t,Ge=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Je=(t=.5,e=0,n=.5,r=1)=>t===e&&n===r?Xe:i=>0===i||1===i?i:Ge(((t,e,n)=>{let r,i,o=0,s=1,u=0;do{i=o+(s-o)/2,r=Ge(i,e,n)-t,r>0?s=i:o=i}while(Zt(r)>1e-7&&++u<100);return i})(i,t,n),e,r),Ze=(t=10,e)=>{const n=e?Kt:Qt;return e=>n(re(e,0,1)*t)*(1/t)},Ke=(...t)=>{const e=t.length;if(!e)return Xe;const n=e-1,r=t[0],i=t[n],o=[0],s=[Vt(r)];for(let e=1;e<n;e++){const r=t[e],i=Pt(r)?r.trim().split(" "):[r],u=i[0],a=i[1];o.push(Bt(a)?e/n:Vt(a)/100),s.push(Vt(u))}return s.push(Vt(i)),o.push(1),function(t){for(let e=1,n=o.length;e<n;e++){const n=o[e];if(t<=n){const r=o[e-1],i=s[e-1];return i+(s[e]-i)*(t-r)/(n-r)}}return s[s.length-1]}},Qe=(t=10,e=1)=>{const n=[0],r=t-1;for(let t=1;t<r;t++){const i=n[t-1],o=t/r,s=o*(1-e)+(o+((t+1)/r-o)*Math.random())*e;n.push(re(s,i,1))}return n.push(1),Ke(...n)},tn=ee/2,en=2*ee,nn=(t=1.68)=>e=>Ht(e,+t),rn={[dt]:nn,Quad:nn(2),Cubic:nn(3),Quart:nn(4),Quint:nn(5),Sine:t=>1-Jt(t*tn),Circ:t=>1-Xt(1-t*t),Expo:t=>t?Ht(2,10*t-10):0,Bounce:t=>{let e,n=4;for(;t<((e=Ht(2,--n))-1)/11;);return 1/Ht(4,3-n)-7.5625*Ht((3*e-2)/22-t,2)},Back:(t=1.70158)=>e=>(+t+1)*e*e*e-+t*e*e,Elastic:(t=1,e=.3)=>{const n=re(+t,1,10),r=re(+e,ft,2),i=r/en*te(1/n),o=en/r;return t=>0===t||1===t?t:-n*Ht(2,-10*(1-t))*Gt((1-t-i)*o)}},on={in:t=>e=>t(e),out:t=>e=>1-t(1-e),inOut:t=>e=>e<.5?t(2*e)/2:1-t(-2*e+2)/2,outIn:t=>e=>e<.5?(1-t(1-2*e))/2:(t(2*e-1)+1)/2},sn=(()=>{const t={linear:Ke,irregular:Qe,steps:Ze,cubicBezier:Je};for(let e in on)for(let n in rn){const r=rn[n],i=on[e];t[e+n]=n===dt||"Back"===n||"Elastic"===n?(t,e)=>i(r(t,e)):i(r)}return t})(),un={linear:Xe},an=t=>Ut(t)?t:Pt(t)?((t,e,n)=>{if(n[t])return n[t];if(t.indexOf("(")<=-1){const r=on[t]||t.includes("Back")||t.includes("Elastic")?e[t]():e[t];return r?n[t]=r:Xe}{const r=t.slice(0,-1).split("("),i=e[r[0]];return i?n[t]=i(...r[1].split(",")):Xe}})(t,sn,un):Xe,cn={},ln=(t,e,n)=>{if(3===n){return vt.get(t)||t}if(2===n||1===n&&qt(e)&&t in e.style){const e=cn[t];if(e)return e;{const e=t?t.replace(Ot,"$1-$2").toLowerCase():t;return cn[t]=e,e}}return t},fn={deg:1,rad:180/ee,turn:360},hn={},pn=(t,e,n,r=!1)=>{const i=e.u,o=e.n;if(1===e.t&&i===n)return e;const s=o+i+n,u=hn[s];if(Bt(u)||r){let r;if(i in fn)r=o*fn[i]/fn[n];else{const e=100,s=t.cloneNode(),u=t.parentNode,a=u&&u!==it?u:it.body;a.appendChild(s);const c=s.style;c.width=e+i;const l=s.offsetWidth||e;c.width=e+n;const f=l/(s.offsetWidth||e);a.removeChild(s),r=f*o}e.n=r,hn[s]=r}else e.n=u;return e.t,e.u=n,e},dn=t=>{if(t._hasChildren)fe(t,dn,!0);else{const e=t;e.pause(),fe(e,t=>{const n=t.property,r=t.target;if(r[ut]){const i=r.style,o=e._inlineStyles[n];if(3===t._tweenType){const e=r[ct];if(Bt(o)||o===dt?delete e[n]:e[n]=o,t._renderTransforms)if(Object.keys(e).length){let t=dt;for(let n in e)t+=gt[n]+e[n]+") ";i.transform=t}else i.removeProperty("transform")}else Bt(o)||o===dt?i.removeProperty(n):i[n]=o;e._tail===t&&e.targets.forEach(t=>{t.getAttribute&&t.getAttribute("style")===dt&&t.removeAttribute("style")})}})}return t},vn={t:0,n:0,u:null,o:null,d:null,s:null},_n={t:0,n:0,u:null,o:null,d:null,s:null},gn={func:null},mn=[null],yn=[null,null],bn={to:null};let wn,Tn,xn=0;class En extends He{constructor(t,e,n,r,i=!1,o=0,s=0){super(e,n,r);const u=Oe(t),a=u.length,c=e.keyframes,l=c?le(((t,e)=>{const n={};if(It(t)){const e=[].concat(...t.map(t=>Object.keys(t))).filter(Yt);for(let r=0,i=e.length;r<i;r++){const i=e[r],o=t.map(t=>{const e={};for(let n in t){const r=t[n];Yt(n)?n===i&&(e.to=r):e[n]=r}return e});n[i]=o}}else{const r=Re(e.duration,jt.defaults.duration),i=Object.keys(t).map(e=>({o:parseFloat(e)/100,p:t[e]})).sort((t,e)=>t.o-e.o);i.forEach(t=>{const e=t.o,i=t.p;for(let t in i)if(Yt(t)){let o=n[t];o||(o=n[t]=[]);const s=e*r;let u=o.length,a=o[u-1];const c={to:i[t]};let l=0;for(let t=0;t<u;t++)l+=o[t].duration;1===u&&(c.from=a.to),i.ease&&(c.ease=i.ease),c.duration=s-(u?l:0),o.push(c)}return t});for(let t in n){const e=n[t];let r;for(let t=0,n=e.length;t<n;t++){const n=e[t],i=n.ease;n.ease=r||void 0,r=i}e[0].duration||e.shift()}}return n})(c,e),e):e,{delay:f,duration:h,ease:p,playbackEase:d,modifier:v,composition:_,onRender:g}=l,m=n?n.defaults:jt.defaults,y=Re(d,m.playbackEase),b=y?an(y):null,w=!Bt(p)&&!Bt(p.ease),T=w?p.ease:Re(p,b?"linear":m.ease),x=w?p.duration:Re(h,m.duration),E=Re(f,m.delay),S=v||m.modifier,O=Bt(_)&&a>=pt?ot.none:Bt(_)?m.composition:_,A={},k=this._offset+(n?n._offset:0);let R=NaN,j=NaN,N=0,C=0;for(let t=0;t<a;t++){const e=u[t],r=o||t,c=s||a;let f=NaN,h=NaN;for(let t in l)if(Yt(t)){const o=Ne(e,t),s=ln(t,e,o);let u=l[t];const a=It(u);if(i&&!a&&(yn[0]=u,yn[1]=u,u=yn),a){const t=u.length,e=!Dt(u[0]);2===t&&e?(bn.to=u,mn[0]=bn,wn=mn):t>2&&e?(wn=[],u.forEach((t,e)=>{e?1===e?(yn[1]=t,wn.push(yn)):wn.push(t):yn[0]=t})):wn=u}else mn[0]=u,wn=mn;let p=null,d=null,v=NaN,_=0,g=0;for(let t=wn.length;g<t;g++){const i=wn[g];Dt(i)?Tn=i:(bn.to=i,Tn=bn),gn.func=null;const u=je(Tn.to,e,r,c,gn);let a;Dt(u)&&!Bt(u.to)?(Tn=u,a=u.to):a=u;const l=je(Tn.from,e,r,c),f=Tn.ease,h=!Bt(f)&&!Bt(f.ease),m=h?f.ease:f||T,y=h?f.duration:je(Re(Tn.duration,t>1?je(x,e,r,c)/t:x),e,r,c),b=je(Re(Tn.delay,g?0:E),e,r,c),w=je(Re(Tn.composition,O),e,r,c),R=$t(w)?w:ot[w],j=Tn.modifier||S,L=!Bt(l),I=!Bt(a),D=It(a),$=D||L&&I,P=d?_+b:b,U=k+P;C||!L&&!D||(C=1);let B=d;if(R!==ot.none){p||(p=Be(e,s));let t=p._head;for(;t&&!t._isOverridden&&t._absoluteStartTime<=U;)if(B=t,t=t._nextRep,t&&t._absoluteStartTime>=U)for(;t;)qe(t),t=t._nextRep}if($?(De(D?je(a[0],e,r,c):l,vn),De(D?je(a[1],e,r,c,gn):a,_n),0===vn.t&&(B?1===B._valueType&&(vn.t=1,vn.u=B._unit):(De(Le(e,s,o,A),Pe),1===Pe.t&&(vn.t=1,vn.u=Pe.u)))):(I?De(a,_n):d?$e(d,_n):De(n&&B&&B.parent.parent===n?B._value:Le(e,s,o,A),_n),L?De(l,vn):d?$e(d,vn):De(n&&B&&B.parent.parent===n?B._value:Le(e,s,o,A),vn)),vn.o&&(vn.n=Ie(B?B._toNumber:De(Le(e,s,o,A),Pe).n,vn.n,vn.o)),_n.o&&(_n.n=Ie(vn.n,_n.n,_n.o)),vn.t!==_n.t)if(3===vn.t||3===_n.t){const t=3===vn.t?vn:_n,e=3===vn.t?_n:vn;e.t=3,e.s=ce(t.s),e.d=t.d.map(()=>e.n)}else if(1===vn.t||1===_n.t){const t=1===vn.t?vn:_n,e=1===vn.t?_n:vn;e.t=1,e.u=t.u}else if(2===vn.t||2===_n.t){const t=2===vn.t?vn:_n,e=2===vn.t?_n:vn;e.t=2,e.s=t.s,e.d=[0,0,0,1]}if(vn.u!==_n.u){let t=_n.u?vn:_n;t=pn(e,t,_n.u?_n.u:vn.u,!1)}if(_n.d&&vn.d&&_n.d.length!==vn.d.length){const t=vn.d.length>_n.d.length?vn:_n,e=t===vn?_n:vn;e.d=t.d.map((t,n)=>Bt(e.d[n])?0:e.d[n]),e.s=ce(t.s)}const z=oe(+y||ft,12),q={parent:this,id:xn++,property:s,target:e,_value:null,_func:gn.func,_ease:an(m),_fromNumbers:ce(vn.d),_toNumbers:ce(_n.d),_strings:ce(_n.s),_fromNumber:vn.n,_toNumber:_n.n,_numbers:ce(vn.d),_number:vn.n,_unit:_n.u,_modifier:j,_currentTime:0,_startTime:P,_delay:+b,_updateDuration:z,_changeDuration:z,_absoluteStartTime:U,_tweenType:o,_valueType:_n.t,_composition:R,_isOverlapped:0,_isOverridden:0,_renderTransforms:0,_prevRep:null,_nextRep:null,_prevAdd:null,_nextAdd:null,_prev:null,_next:null};R!==ot.none&&Fe(q,p),isNaN(v)&&(v=q._startTime),_=oe(P+z,12),d=q,N++,pe(this,q)}(isNaN(j)||v<j)&&(j=v),(isNaN(R)||_>R)&&(R=_),3===o&&(f=N-g,h=N)}if(!isNaN(f)){let t=0;fe(this,e=>{t>=f&&t<h&&(e._renderTransforms=1,e._composition===ot.blend&&fe(ge.animation,t=>{t.id===e.id&&(t._renderTransforms=1)})),t++})}}a||console.warn("No target found. Make sure the element you're trying to animate is accessible before creating your animation."),j?(fe(this,t=>{t._startTime-t._delay||(t._delay-=j),t._startTime-=j}),R-=j):j=0,R||(R=ft,this.iterationCount=0),this.targets=u,this.duration=R===ft?ft:ue((R+this._loopDelay)*this.iterationCount-this._loopDelay)||ft,this.onRender=g||m.onRender,this._ease=b,this._delay=j,this.iterationDuration=R,this._inlineStyles=A,!this._autoplay&&C&&this.onRender(this)}stretch(t){const e=this.duration;if(e===ae(t))return this;const n=t/e;return fe(this,t=>{t._updateDuration=ae(oe(t._updateDuration*n,12)),t._changeDuration=ae(oe(t._changeDuration*n,12)),t._currentTime*=n,t._startTime*=n,t._absoluteStartTime*=n}),super.stretch(t)}refresh(){return fe(this,t=>{const e=Le(t.target,t.property,t._tweenType);De(e,Pe),t._fromNumbers=ce(Pe.d),t._fromNumber=Pe.n,t._func&&(De(t._func(),_n),t._toNumbers=ce(_n.d),t._strings=ce(_n.s),t._toNumber=_n.n)}),this}revert(){return super.revert(),dn(this)}then(t){return super.then(t)}}_t.filter(t=>["X","Y","Z"].some(e=>t.endsWith(e))),nt&&(Bt(CSS)||Object.hasOwnProperty.call(CSS,"registerProperty"));const Sn={_head:null,_tail:null},On=(t,e,n)=>{let r=Sn._head;for(;r;){const i=r._next,o=r.$el===t,s=!e||r.property===e,u=!n||r.parent===n;if(o&&s&&u){const t=r.animation;try{t.commitStyles()}catch{}t.cancel(),he(Sn,r);const e=r.parent;e&&(e._completed++,e.animations.length===e._completed&&(e.completed=!0,e.muteCallbacks||(e.paused=!0,e.onComplete(e),e._resolve(e))))}r=i}},An=(t=mt)=>new He({duration:1*jt.timeScale,onComplete:t},null,0).resume();function kn(t,e,n){const r=Oe(t);if(!r.length)return;const[i]=r,o=Ne(i,e),s=ln(e,i,o);let u=Le(i,s);if(Bt(n))return u;if(De(u,Pe),0===Pe.t||1===Pe.t){if(!1===n)return Pe.n;{const t=pn(i,Pe,n,!1);return`${oe(t.n,jt.precision)}${t.u}`}}}const Rn=(t,e)=>{if(!Bt(e))return e.duration=ft,e.composition=Re(e.composition,ot.none),new En(t,e,null,0,!0).resume()},jn=(t,e,n)=>{let r=!1;return fe(e,i=>{const o=i.target;if(t.includes(o)){const t=i.property,s=i._tweenType,u=ln(n,o,s);(!u||u&&u===t)&&(i.parent._tail===i&&3===i._tweenType&&i._prev&&3===i._prev._tweenType&&(i._prev._renderTransforms=1),he(e,i),Me(i),r=!0)}},!0),r},Nn=(t,e,n)=>{const r=Se(t),i=e||we,o=e&&e.controlAnimation&&e;for(let t=0,e=r.length;t<e;t++){const e=r[t];On(e,n,o)}let s;if(i._hasChildren){let e=0;fe(i,o=>{if(!o._hasChildren)if(s=jn(r,o,n),s&&!o._head)o.cancel(),he(i,o);else{const t=o._offset+o._delay+o.duration;t>e&&(e=t)}o._head?Nn(t,o,n):o._hasChildren=!1},!0),Bt(i.iterationDuration)||(i.iterationDuration=e)}else s=jn(r,i,n);return s&&!i._head&&(i._hasChildren=!1,i.cancel&&i.cancel()),r},Cn=(t,e,n)=>{const r=10**(n||0);return Qt((Math.random()*(e-t+1/r)+t)*r)/r},Ln=(t,e,n,r)=>{let i=pt/jt.defaults.frameRate;if(!1!==r){const t=r||we._hasChildren&&we;t&&t.deltaTime&&(i=t.deltaTime)}const o=1-Math.exp(-n*i*.1);return n?1===n?e:(1-o)*t+o*e:t},In=t=>(...e)=>{const n=t(...e);return new Proxy(mt,{apply:(t,e,[r])=>n(r),get:(t,e)=>In((...t)=>{const r=$n[e](...t);return t=>r(n(t))})})},Dn=(t,e=0)=>(...n)=>(n.length<t.length?In(((t,e=0)=>(...n)=>e?e=>t(...n,e):e=>t(e,...n))(t,e)):t)(...n),$n={$:Oe,get:kn,set:Rn,remove:Nn,cleanInlineStyles:dn,random:Cn,randomPick:t=>t[Cn(0,t.length-1)],shuffle:t=>{let e,n,r=t.length;for(;r;)n=Cn(0,--r),e=t[r],t[r]=t[n],t[n]=e;return t},lerp:Ln,sync:An,clamp:Dn(re),round:Dn(oe),snap:Dn((t,e)=>It(e)?e.reduce((e,n)=>Zt(n-t)<Zt(e-t)?n:e):e?ne(t/e)*e:t),wrap:Dn((t,e,n)=>((t-e)%(n-e)+(n-e))%(n-e)+e),interpolate:Dn(se,1),mapRange:Dn((t,e,n,r,i)=>r+(t-e)/(n-e)*(i-r)),roundPad:Dn((t,e)=>(+t).toFixed(e)),padStart:Dn((t,e,n)=>`${t}`.padStart(e,n)),padEnd:Dn((t,e,n)=>`${t}`.padEnd(e,n)),degToRad:Dn(t=>t*ee/180),radToDeg:Dn(t=>180*t/ee)},Pn=(t,e)=>{let n=t.iterationDuration;if(n===ft&&(n=0),Bt(e))return n;if($t(+e))return+e;const r=e,i=t?t.labels:null,o=!zt(i),s=((t,e)=>{if(Ct(e,"<")){const n="<"===e[1],r=t._tail,i=r?r._offset+r._delay:0;return n?i:i+r.duration}})(t,r),u=!Bt(s),a=kt.exec(r);if(a){const t=a[0],e=r.split(t),c=o&&e[0]?i[e[0]]:n,l=u?s:o?c:n,f=+e[1];return Ie(l,f,t[0])}return u?s:o?Bt(i[r])?n:i[r]:n};function Un(t,e,n,r,i,o){const s=$t(t.duration)&&t.duration<=ft?n-ft:n;_e(e,s,1,1,1);const u=r?new En(r,t,e,s,!1,i,o):new He(t,e,s);return u.init(1),pe(e,u),fe(e,t=>{const n=t._offset+t._delay+t.duration;n>e.iterationDuration&&(e.iterationDuration=n)}),e.duration=function(t){return ue((t.iterationDuration+t._loopDelay)*t.iterationCount-t._loopDelay)||ft}(e),e}class Bn extends He{constructor(t={}){super(t,null,0),this.duration=0,this.labels={};const e=t.defaults,n=jt.defaults;this.defaults=e?le(e,n):n,this.onRender=t.onRender||n.onRender;const r=Re(t.playbackEase,n.playbackEase);this._ease=r?an(r):null,this.iterationDuration=0}add(t,e,n){const r=Dt(e),i=Dt(t);if(r||i){if(this._hasChildren=!0,r){const r=e;if(Ut(n)){const e=n,i=Se(t),o=this.duration,s=this.iterationDuration,u=r.id;let a=0;const c=i.length;i.forEach(t=>{const n={...r};this.duration=o,this.iterationDuration=s,Bt(u)||(n.id=u+"-"+a),Un(n,this,e(t,a,c,this),t,a,c),a++})}else Un(r,this,Pn(this,n),t)}else Un(t,this,Pn(this,e));return this.init(1)}}sync(t,e){if(Bt(t)||t&&Bt(t.pause))return this;t.pause();const n=+(t.effect?t.effect.getTiming().duration:t.duration);return this.add(t,{currentTime:[0,n],duration:n,ease:"linear"},e)}set(t,e,n){return Bt(e)?this:(e.duration=ft,e.composition=ot.replace,this.add(t,e,n))}call(t,e){return Bt(t)||t&&!Ut(t)?this:this.add({duration:0,onComplete:()=>t(this)},e)}label(t,e){return Bt(t)||t&&!Pt(t)||(this.labels[t]=Pn(this,e)),this}remove(t,e){return Nn(t,this,e),this}stretch(t){const e=this.duration;if(e===ae(t))return this;const n=t/e,r=this.labels;fe(this,t=>{t.stretch(t.duration*n)});for(let t in r)r[t]*=n;return super.stretch(t)}refresh(){return fe(this,t=>{t.refresh&&t.refresh()}),this}revert(){return super.revert(),fe(this,t=>t.revert,!0),dn(this)}then(t){return super.then(t)}}const zn=(t,e)=>t&&Ut(t)?t(e):t,qn=new Map;class Fn{constructor(t){this.element=t,this.useWin=this.element===it.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 He({autoplay:!1,onBegin:()=>this.dataTimer.resume(),onUpdate:()=>{const t=this.backwardX||this.backwardY;fe(this,t=>t.handleScroll(),t)},onComplete:()=>this.dataTimer.pause()}).init(),this.dataTimer=new He({autoplay:!1,frameRate:30,onUpdate:t=>{const e=t.deltaTime,n=this.prevScrollX,r=this.prevScrollY,i=this.scrollX,o=this.scrollY,s=n-i,u=r-o;this.prevScrollX=i,this.prevScrollY=o,s&&(this.backwardX=n>i),u&&(this.backwardY=r>o),this.velocity=oe(e>0?Math.sqrt(s*s+u*u)/e:0,5)}}).init(),this.resizeTicker=new He({autoplay:!1,duration:250*jt.timeScale,onComplete:()=>{this.updateWindowBounds(),this.refreshScrollObservers(),this.handleScroll()}}).init(),this.wakeTicker=new He({autoplay:!1,duration:500*jt.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?rt:this.element).addEventListener("scroll",this,!1)}updateScrollCoords(){const t=this.useWin,e=this.element;this.scrollX=oe(t?rt.scrollX:e.scrollLeft,0),this.scrollY=oe(t?rt.scrollY:e.scrollTop,0)}updateWindowBounds(){this.winWidth=rt.innerWidth,this.winHeight=(()=>{const t=document.createElement("div");it.body.appendChild(t),t.style.height="100lvh";const e=t.offsetHeight;return it.body.removeChild(t),e})()}updateBounds(){const t=getComputedStyle(this.element),e=this.element;let n,r;if(this.scrollWidth=e.scrollWidth+parseFloat(t.marginLeft)+parseFloat(t.marginRight),this.scrollHeight=e.scrollHeight+parseFloat(t.marginTop)+parseFloat(t.marginBottom),this.updateWindowBounds(),this.useWin)n=this.winWidth,r=this.winHeight;else{const t=e.getBoundingClientRect();n=t.width,r=t.height,this.top=t.top,this.left=t.left}this.width=n,this.height=r}refreshScrollObservers(){fe(this,t=>{t._debug&&t.removeDebug()}),this.updateBounds(),fe(this,t=>{t.refresh(),t._debug&&t.debug()})}refresh(){this.updateWindowBounds(),this.updateBounds(),this.refreshScrollObservers(),this.handleScroll()}handleScroll(){this.updateScrollCoords(),this.wakeTicker.restart()}handleEvent(t){"scroll"===t.type&&this.handleScroll()}revert(){this.scrollTicker.cancel(),this.dataTimer.cancel(),this.resizeTicker.cancel(),this.wakeTicker.cancel(),this.resizeObserver.unobserve(this.element),(this.useWin?rt:this.element).removeEventListener("scroll",this),qn.delete(this.element)}}const Mn=(t,e,n,r,i)=>{const o="min"===e,s="max"===e,u="top"===e||"left"===e||"start"===e||o?0:"bottom"===e||"right"===e||"end"===e||s?"100%":"center"===e?"50%":e,{n:a,u:c}=De(u,Pe);let l=a;return"%"===c?l=a/100*n:c&&(l=pn(t,Pe,"px",!0).n),s&&r<0&&(l+=r),o&&i>0&&(l+=i),l},Wn=(t,e,n,r,i)=>{let o;if(Pt(e)){const s=kt.exec(e);if(s){const u=s[0],a=u[0],c=e.split(u),l="min"===c[0],f="max"===c[0],h=Mn(t,c[0],n,r,i),p=Mn(t,c[1],n,r,i);if(l){const e=Ie(Mn(t,"min",n),p,a);o=e<h?h:e}else if(f){const e=Ie(Mn(t,"max",n),p,a);o=e>h?h:e}else o=Ie(h,p,a)}else o=Mn(t,e,n,r,i)}else o=e;return oe(o,0)},Yn=t=>{let e;const n=t.targets;for(let t=0,r=n.length;t<r;t++){const r=n[t];if(r[ut]){e=r;break}}return e};let Vn=0;const Hn=["#FF4B4B","#FF971B","#FFC730","#F9F640","#7AFF5A","#18FF74","#17E09B","#3CFFEC","#05DBE9","#33B3F1","#638CF9","#C563FE","#FF4FCF","#F93F8A"];class Xn{constructor(t={}){jt.scope&&jt.scope.revertibles.push(this);const e=Re(t.sync,"play pause"),n=e?an(e):null,r=e&&("linear"===e||e===Xe),i=e&&!(n===Xe&&!r),o=e&&($t(e)||!0===e||r),s=e&&Pt(e)&&!i&&!o,u=s?e.split(" ").map(t=>()=>{const e=this.linked;return e&&e[t]?e[t]():null}):null,a=s&&u.length>2;this.index=Vn++,this.id=Bt(t.id)?this.index:t.id,this.container=(t=>{const e=t&&Se(t)[0]||it.body;let n=qn.get(e);return n||(n=new Fn(e),qn.set(e,n)),n})(t.container),this.target=null,this.linked=null,this.repeat=null,this.horizontal=null,this.enter=null,this.leave=null,this.sync=i||o||!!u,this.syncEase=i?n:null,this.syncSmooth=o?!0===e||r?1:e:null,this.onSyncEnter=u&&!a&&u[0]?u[0]:mt,this.onSyncLeave=u&&!a&&u[1]?u[1]:mt,this.onSyncEnterForward=u&&a&&u[0]?u[0]:mt,this.onSyncLeaveForward=u&&a&&u[1]?u[1]:mt,this.onSyncEnterBackward=u&&a&&u[2]?u[2]:mt,this.onSyncLeaveBackward=u&&a&&u[3]?u[3]:mt,this.onEnter=t.onEnter||mt,this.onLeave=t.onLeave||mt,this.onEnterForward=t.onEnterForward||mt,this.onLeaveForward=t.onLeaveForward||mt,this.onEnterBackward=t.onEnterBackward||mt,this.onLeaveBackward=t.onLeaveBackward||mt,this.onUpdate=t.onUpdate||mt,this.onSyncComplete=t.onSyncComplete||mt,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=t,this._debug=Re(t.debug,!1),this._next=null,this._prev=null,pe(this.container,this),An(()=>{if(!this.reverted){if(!this.target){const e=Se(t.target)[0];this.target=e||it.body,this.refresh()}this._debug&&this.debug()}})}link(t){if(t&&(t.pause(),this.linked=t,!this._params.target)){let e;Bt(t.targets)?fe(t,t=>{t.targets&&!e&&(e=Yn(t))}):e=Yn(t),this.target=e||it.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 t=(this.scroll-this.offsetStart)/this.distance;return t===1/0||isNaN(t)?0:oe(re(t,0,1),6)}refresh(){this.reverted=!1;const t=this._params;return this.repeat=Re(zn(t.repeat,this),!0),this.horizontal="x"===Re(zn(t.axis,this),"y"),this.enter=Re(zn(t.enter,this),"end start"),this.leave=Re(zn(t.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 t=this.container,e=this.horizontal,n=t.element.querySelector(":scope > .animejs-onscroll-debug"),r=it.createElement("div"),i=it.createElement("div"),o=it.createElement("div"),s=Hn[this.index%Hn.length],u=t.useWin,a=u?t.winWidth:t.width,c=u?t.winHeight:t.height,l=t.scrollWidth,f=t.scrollHeight,h=this.container.width>360?320:260,p=e?0:10,d=e?10:0,v=e?24:h/2,_=e?v:15,g=e?60:v,m=e?g:_,y=e?"repeat-x":"repeat-y",b=t=>e?"0px "+t+"px":t+"px 2px",w=t=>`linear-gradient(${e?90:0}deg, ${t} 2px, transparent 1px)`,T=(t,e,n,r,i)=>`position:${t};left:${e}px;top:${n}px;width:${r}px;height:${i}px;`;r.style.cssText=`${T("absolute",p,d,e?l:h,e?h:f)}\n pointer-events: none;\n z-index: ${this.container.zIndex++};\n display: flex;\n flex-direction: ${e?"column":"row"};\n filter: drop-shadow(0px 1px 0px rgba(0,0,0,.75));\n `,i.style.cssText=`${T("sticky",0,0,e?a:v,e?v:c)}`,n||(i.style.cssText+=`background:\n ${w("#FFFF")}${b(v-10)} / 100px 100px ${y},\n ${w("#FFF8")}${b(v-10)} / 10px 10px ${y};\n `),o.style.cssText=`${T("relative",0,0,e?l:v,e?v:f)}`,n||(o.style.cssText+=`background:\n ${w("#FFFF")}${b(0)} / ${e?"100px 10px":"10px 100px"} ${y},\n ${w("#FFF8")}${b(0)} / ${e?"10px 0px":"0px 10px"} ${y};\n `);const x=[" enter: "," leave: "];this.coords.forEach((t,n)=>{const r=n>1,u=(r?0:this.offset)+t,p=n%2,d=u<m,v=u>(r?e?a:c:e?l:f)-m,y=(r?p&&!d:!p&&!d)||v,b=it.createElement("div"),w=it.createElement("div"),E=e?y?"right":"left":y?"bottom":"top",S=y?(e?g:_)+(r?e?-1:v?0:-2:e?-1:-2):e?1:0;w.innerHTML=`${this.id}${x[p]}${this.thresholds[n]}`,b.style.cssText=`${T("absolute",0,0,g,_)}\n display: flex;\n flex-direction: ${e?"column":"row"};\n justify-content: flex-${r?"start":"end"};\n align-items: flex-${y?"end":"start"};\n border-${E}: 2px solid ${s};\n `,w.style.cssText=`\n overflow: hidden;\n max-width: ${h/2-10}px;\n height: ${_};\n margin-${e?y?"right":"left":y?"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: ${e&&y||!e&&!r?"right":"left"};\n white-space: pre;\n text-overflow: ellipsis;\n color: ${p?s:"rgba(0,0,0,.75)"};\n background-color: ${p?"rgba(0,0,0,.65)":s};\n border: 2px solid ${p?s:"transparent"};\n border-${e?y?"top-left":"top-right":y?"top-left":"bottom-left"}-radius: 5px;\n border-${e?y?"bottom-left":"bottom-right":y?"top-right":"bottom-right"}-radius: 5px;\n `,b.appendChild(w);let O=u-S+(e?1:0);b.style[e?"left":"top"]=`${O}px`,(r?i:o).appendChild(b)}),r.appendChild(i),r.appendChild(o),t.element.appendChild(r),n||r.classList.add("animejs-onscroll-debug"),this.$debug=r,"static"===kn(t.element,"position")&&(this.debugStyles=Rn(t.element,{position:"relative "}))}updateBounds(){let t;this._debug&&this.removeDebug();const e=this.target,n=this.container,r=this.horizontal,i=this.linked;let o,s=e,u=0,a=0,c=s;i&&(o=i.currentTime,i.seek(0,!0));const l="static"===kn(n.element,"position")&&Rn(n.element,{position:"relative "});for(;s&&s!==n.element&&s!==it.body;){const e="sticky"===kn(s,"position")&&Rn(s,{position:"static"});s===c&&(u+=s.offsetLeft||0,a+=s.offsetTop||0,c=s.offsetParent),s=s.parentElement,e&&(t||(t=[]),t.push(e))}l&&l.revert();const f=r?u:a,h=r?e.offsetWidth:e.offsetHeight,p=r?n.width:n.height,d=(r?n.scrollWidth:n.scrollHeight)-p,v=this.enter,_=this.leave;let g="start",m="end",y="end",b="start";if(Pt(v)){const t=v.split(" ");y=t[0],g=t.length>1?t[1]:g}else if(Dt(v)){const t=v;Bt(t.container)||(y=t.container),Bt(t.target)||(g=t.target)}else $t(v)&&(y=v);if(Pt(_)){const t=_.split(" ");b=t[0],m=t.length>1?t[1]:m}else if(Dt(_)){const t=_;Bt(t.container)||(b=t.container),Bt(t.target)||(m=t.target)}else $t(_)&&(b=_);const w=Wn(e,g,h),T=Wn(e,m,h),x=w+f-p,E=T+f-d,S=Wn(e,y,p,x,E),O=Wn(e,b,p,x,E),A=w+f-S,k=T+f-O,R=k-A;this.offsets[0]=u,this.offsets[1]=a,this.offset=f,this.offsetStart=A,this.offsetEnd=k,this.distance=R<=0?0:R,this.thresholds=[g,m,y,b],this.coords=[w,T,S,O],t&&t.forEach(t=>t.revert()),i&&i.seek(o,!0),this._debug&&this.debug()}handleScroll(){const t=this.linked,e=this.sync,n=this.syncEase,r=this.syncSmooth,i=t&&(n||r),o=this.horizontal,s=this.container,u=this.scroll,a=u<=this.offsetStart,c=u>=this.offsetEnd,l=!a&&!c,f=u===this.offsetStart||u===this.offsetEnd,h=!this.hasEntered&&f,p=this._debug&&this.$debug;let d=!1,v=!1,_=this.progress;if(a&&this.began&&(this.began=!1),_>0&&!this.began&&(this.began=!0),i){const e=t.progress;if(r&&$t(r)){if(r<1){const t=e<_&&1===_?1e-4:e>_&&!_?-1e-4:0;_=oe(Ln(e,_,se(.01,.2,r),!1)+t,6)}}else n&&(_=n(_));d=_!==this.prevProgress,v=1===e,d&&!v&&r&&e&&s.wakeTicker.restart()}if(p){const t=o?s.scrollY:s.scrollX;p.style[o?"top":"left"]=t+10+"px"}(l&&!this.isInView||h&&!this.forceEnter&&!this.hasEntered)&&(l&&(this.isInView=!0),this.forceEnter&&this.hasEntered?l&&(this.forceEnter=!1):(p&&l&&(p.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,h&&(this.forceEnter=!0))),(l||!l&&this.isInView)&&(d=!0),d&&(i&&t.seek(t.duration*_),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)),e&&!r&&(v=!0)),_>=1&&this.began&&!this.completed&&(e&&v||!e)&&(e&&this.onSyncComplete(this),this.completed=!0,(!this.repeat&&!t||!this.repeat&&t&&t.completed)&&this.revert()),_<1&&this.completed&&(this.completed=!1),this.prevProgress=_}revert(){if(this.reverted)return;const t=this.container;return he(t,this),t._head||t.revert(),this._debug&&this.removeDebug(),this.reverted=!0,this}}const Gn=(t={})=>new Xn(t);var Jn,Zn,Kn,Qn,tr,er,nr;!function(t){t[t.XY=1]="XY",t[t.SIZE=2]="SIZE"}(Jn||(Jn={})),function(t){t[t.ALL=1]="ALL",t[t.SEPARATE=2]="SEPARATE"}(Zn||(Zn={})),function(t){t[t.X=1]="X",t[t.Y=2]="Y"}(Kn||(Kn={})),function(t){t[t.AUTOPLAY=1]="AUTOPLAY",t[t.SCROLL_SYNC=2]="SCROLL_SYNC",t[t.STATES=3]="STATES",t[t.NONE=4]="NONE"}(Qn||(Qn={})),function(t){t[t.FIXED=1]="FIXED",t[t.RELATIVE=2]="RELATIVE"}(tr||(tr={})),function(t){t[t.APPEAR=1]="APPEAR",t[t.MOUNT=2]="MOUNT"}(er||(er={})),function(t){t[t.PLAY=1]="PLAY",t[t.PAUSE=2]="PAUSE",t[t.REVERSE=3]="REVERSE",t[t.IGNORE=4]="IGNORE",t[t.DESTROY=5]="DESTROY",t[t.INIT=6]="INIT",t[t.RE_PLAY=7]="RE_PLAY"}(nr||(nr={}));const rr={[nr.PLAY]:"play",[nr.PAUSE]:"pause",[nr.REVERSE]:"reverse",[nr.IGNORE]:"ignore",[nr.DESTROY]:"destroy",[nr.INIT]:"init",[nr.RE_PLAY]:"re_play"};var ir;!function(t){t[t.FIXED=0]="FIXED",t[t.PERCENTAGE=1]="PERCENTAGE",t[t.START=2]="START",t[t.START_PLUS=3]="START_PLUS",t[t.END=4]="END",t[t.END_PLUS=5]="END_PLUS"}(ir||(ir={}));const or={[ir.FIXED]:"",[ir.PERCENTAGE]:"%",[ir.START]:"top",[ir.START_PLUS]:"+=top",[ir.END]:"bottom",[ir.END_PLUS]:"+=bottom"},sr={[ir.FIXED]:"",[ir.PERCENTAGE]:"%",[ir.START]:"top",[ir.START_PLUS]:"+=left",[ir.END]:"right",[ir.END_PLUS]:"+=right"},ur=(t,e,n)=>{const r=t===Kn.Y?or:sr;return e===ir.START||e===ir.END?`${r[e]}`:`${null!=n?n:""}${r[e]}`};var ar,cr;!function(t){t[t.SMOOTH=0]="SMOOTH",t[t.INSTANT=1]="INSTANT"}(ar||(ar={})),function(t){t[t.NORMAL=1]="NORMAL",t[t.REVERSE=2]="REVERSE",t[t.ALTERNATE=3]="ALTERNATE"}(cr||(cr={}));const lr={[cr.NORMAL]:"normal",[cr.REVERSE]:"reverse",[cr.ALTERNATE]:"alternate"},fr=t=>{const e=[];return t.forEach(t=>{Array.isArray(t.targets)?e.push(...t.targets):"string"==typeof t.targets&&e.push(t.targets)}),e.map(t=>document.querySelector(t)).filter(t=>null!=t)},hr=(t,e={},n)=>{const r=Object.entries(e).reduce((t,[e,n])=>(t[e]=rr[n],t),{}),[i,o]=(0,P.useState)({}),s=(0,P.useMemo)(()=>{const e=Object.entries(t).reduce((t,[e])=>(t[e]={complete:!1},t),{}),i={},u={},a=(r,s)=>{var a,c,l,f,h,p;const d=r.name;let v=i[d];if(!v){const g=lr[r.direction||cr.NORMAL];u[d]={direction:g};let m=!1;const y=r.config;if(y.type_===Qn.SCROLL_SYNC){const t=y.smoothness.type===ar.INSTANT||y.smoothness.value||0,e=(null==y?void 0:y.container.element)?"."+n[`E${null==y?void 0:y.container.element}`]:"#__next",r=null!==(a=null==y?void 0:y.target.element)&&void 0!==a?a:"-",i=ur(y.direction,y.container.enter.type,y.container.enter.value),o=ur(y.direction,y.container.leave.type,y.container.leave.value),s=ur(y.direction,y.target.enter.type,y.target.enter.value),u=ur(y.direction,y.target.leave.type,y.target.leave.value);m=Gn({axis:y.direction===Kn.Y?"y":"x",container:e,target:r,sync:t,enter:`${i} ${s}`,leave:`${o} ${u}`})}else if(y.type_===Qn.AUTOPLAY&&y.on.type_===er.APPEAR){const t=(null===(c=y.on)||void 0===c?void 0:c.container.element)?"."+n[`E${null===(l=y.on)||void 0===l?void 0:l.container.element}`]:"#__next",e=null!==(h=null===(f=y.on)||void 0===f?void 0:f.target.element)&&void 0!==h?h:"-",r=ur(y.on.direction,y.on.container.enter.type,y.on.container.enter.value),i=ur(y.on.direction,y.on.container.leave.type,y.on.container.leave.value),o=ur(y.on.direction,y.on.target.enter.type,y.on.target.enter.value),s=ur(y.on.direction,y.on.target.leave.type,y.on.target.leave.value);m=Gn({axis:y.on.direction===Kn.Y?"y":"x",container:t,target:e,sync:!0,enter:`${r} ${o}`,leave:`${i} ${s}`})}else y.type_===Qn.AUTOPLAY&&y.on.type_===er.MOUNT&&(m=!0);const b=(_={autoplay:m,loop:!!r.loop,onBegin(){e[r.name].begin=!0,e[r.name].complete=!1,r.listener&&o({})},onUpdate(t){1===t.progress&&(e[r.name].begin=!0,e[r.name].complete=!0,r.listener&&o({}))},defaults:{duration:1e3*r.seconds}},new Bn(_).init());null===(p=Object.values(t).find(t=>t.node===r))||void 0===p||p.data.forEach(t=>{b.add(t.targets,t.params,0)}),v={node:r,instance:b,elements:s},i[d]=v,v.instance.onComplete=()=>{u[d].playing=!1}}var _;return v.instance};return{player:r,states:e,list:i,play:(t,e)=>{const n=a(t),r=t.name;"play"!==u[r].state&&(u[r].state="play",u[r].reverse||e&&n.paused&&n.restart(),n.play(),u[r].reverse=!1,u[r].playing=!0)},pause:t=>{const e=t.name;"pause"!==u[e].state&&(u[e].state="pause",a(t).pause(),u[e].playing=!1)},reverse:t=>{const e=t.name;"reverse"!==u[e].state&&(u[e].state="reverse",a(t).reverse(),u[e].reverse=!0,u[e].playing=!0)},get:a,destroy:t=>{let e=i[t.name];e&&(delete u[t.name],delete i[t.name],e.instance.pause())},direction:t=>u[t.name].direction,clean:()=>Object.entries(s.list).forEach(([e,n])=>{var r,i;const o=t[e],u=o?fr(o.data):[];((null===(r=n.elements)||void 0===r?void 0:r.length)!==u.length||(null===(i=n.elements)||void 0===i?void 0:i.map(t=>u.includes(t)).includes(!1)))&&s.destroy(n.node)})}},[]);return s.player=r,{instances:s,scan:()=>{Object.entries(e).forEach(([e,n])=>{const r=t[e];if(!r)return;if(n===nr.IGNORE)return;if(n===nr.DESTROY)return void s.destroy(r.node);const i=fr(r.data);i.length?(s.get(r.node,i),n===nr.PLAY?r&&s.play(r.node):n===nr.PAUSE?r&&s.pause(r.node):n===nr.RE_PLAY?r&&s.play(r.node,!0):n===nr.REVERSE&&r&&s.reverse(r.node)):s.destroy(r.node)})}}};let pr=0;const dr=()=>(0,P.useMemo)(()=>"C"+ ++pr,[]),vr=t=>{const e=(0,P.useRef)(!1);(0,P.useEffect)(()=>{e.current=!0},[]),(0,P.useEffect)(()=>{if(!e.current||t.option.runOnInit)return t.on();e.current=!1},t.values)},_r=(t,e,n)=>{const r=[],i=e<t?e-t:t-e;r.length=i;for(let t=0;t<i;t++)r[t]=n(t);return r},gr=(t,e)=>{const n=[],r=t.length;n.length=r;for(let i=0;i<r;i++)n[i]=e(t[i],i);return n},mr=(t,e)=>{const n=[],r=Object.entries(t),i=r.length;n.length=i;for(let t=0;t<i;t++)n[t]=e(r[t][0],r[t][1],t);return n},yr=(t,e)=>{const n=[],r=t.length;n.length=r;for(let i=0;i<r;i++)n[i]=e(t[i],i,r===i+1);return n},br=t=>"string"==typeof t?t:"number"==typeof t||"boolean"==typeof t?t.toString():void 0,wr=t=>({width:(null==t?void 0:t.width)?t.width.value+t.width.type:void 0,height:(null==t?void 0:t.height)?t.height.value+t.height.type:void 0,backgroundColor:null==t?void 0:t.fill,backgroundImage:null==t?void 0:t.image});var Tr,xr;!function(t){t[t.TOP=1]="TOP",t[t.LEFT=2]="LEFT",t[t.RIGHT=3]="RIGHT",t[t.BOTTOM=4]="BOTTOM"}(Tr||(Tr={})),function(t){t[t.PLUS=1]="PLUS",t[t.MINUS=2]="MINUS"}(xr||(xr={}));const Er=t=>{const e=t.container?document.querySelector(t.container):document.querySelector("#__next"),n=t.value||0;let r=t.target?document.querySelector(t.target):void 0;if(e){let i=0;const o=e.getBoundingClientRect();if(r){const s=r.getBoundingClientRect();t.config===Tr.TOP?i=Number(e.scrollTop+(s.top-o.top)):t.config===Tr.BOTTOM?i=Number(e.scrollTop+(s.bottom-o.top)):t.config===Tr.LEFT?i=Number(e.scrollLeft+(s.left-o.left)):t.config===Tr.RIGHT&&(i=Number(e.scrollLeft+(s.right-o.left))),t.operator===xr.PLUS?i+=n:t.operator===xr.MINUS&&(i-=n)}else t.config===Tr.TOP?i=0:t.config===Tr.BOTTOM?i=-e.scrollHeight:t.config===Tr.LEFT?i=0:t.config===Tr.RIGHT&&(i=-e.scrollWidth),t.operator===xr.PLUS?i+=n:t.operator===xr.MINUS&&(i-=n);t.config===Tr.TOP||t.config===Tr.BOTTOM?e.scrollTo({behavior:"instant",top:i}):e.scrollTo({behavior:"instant",left:i})}},Sr=t=>({text:t.currentTarget.value||"",element:t.currentTarget}),Or=t=>({text:t.currentTarget.value||"",element:t.currentTarget}),Ar=t=>({element:t.currentTarget}),kr=t=>({element:t.currentTarget}),Rr=t=>({element:t.currentTarget})})(),i})());
2
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("next/router"),require("react-dom"));else if("function"==typeof define&&define.amd)define(["react","next/router","react-dom"],t);else{var n="object"==typeof exports?t(require("react"),require("next/router"),require("react-dom")):t(e.react,e["next/router"],e["react-dom"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(this,(e,t,n)=>(()=>{var r,o,i={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,t,n){"use strict";var r=n(516),o=n(12),i=n(536),s=n(343),a=function e(t){var n=new i(t),a=o(i.prototype.request,n);return r.extend(a,i.prototype,n),r.extend(a,n),a.create=function(n){return e(s(t,n))},a}(n(987));a.Axios=i,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},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}},56(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},72(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},s=[],a=0;a<e.length;a++){var u=e[a],c=r.base?u[0]+r.base:u[0],l=i[c]||0,f="".concat(c," ").concat(l);i[c]=l+1;var p=n(f),d={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==p)t[p].references++,t[p].updater(d);else{var h=o(d,r);r.byIndex=a,t.splice(a,0,{identifier:f,updater:h,references:1})}s.push(f)}return s}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var s=0;s<i.length;s++){var a=n(i[s]);t[a].references--}for(var u=r(e,o),c=0;c<i.length;c++){var l=n(i[c]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}i=u}}},85(e,t,n){"use strict";e.exports=n(335)},106(e,t,n){"use strict";var r=n(516);function o(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 i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=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(o(t)+"="+o(e))}))}),i=s.join("&")}if(i){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},113(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},137(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},155(t){"use strict";t.exports=e},191(e,t,n){"use strict";var r=n(928);function o(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))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o(function(t){e=t}),cancel:e}},e.exports=o},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 o(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=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},314(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var u=this[a][0];null!=u&&(s[u]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);r&&s[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},335(e,t,n){"use strict";var r=n(155),o=Symbol.for("react.element"),i=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,i={},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)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:l,props:i,_owner:a.current}}t.Fragment=i,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 o(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 i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function s(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function a(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function u(n){return n in t?o(e[n],t[n]):n in e?o(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]||i,o=t(e);r.isUndefined(o)&&t!==u||(n[e]=o)}),n}},449(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,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 o(){this.handlers=[]}o.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},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=o},490(e,t,n){"use strict";var r=n(516),o=n(881),i=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=o.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=o.call(e,t.data,t.headers,e.transformResponse),t},function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},505(e,t,n){e.exports=n(15)},514(e){"use strict";e.exports=n},516(e,t,n){"use strict";var r=n(12),o=Object.prototype.toString;function i(e){return Array.isArray(e)}function s(e){return void 0===e}function a(e){return"[object ArrayBuffer]"===o.call(e)}function u(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===o.call(e)}function f(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,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]"===o.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]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:l,isStream:function(e){return u(e)&&l(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===o.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):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)f(arguments[r],n);return t},extend:function(e,t,n){return f(t,function(t,o){e[o]=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 o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},531(e){"use strict";e.exports=t},536(e,t,n){"use strict";var r=n(516),o=n(106),i=n(471),s=n(490),a=n(343),u=n(841),c=u.validators;function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}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=[],o=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))});var i,l=[];if(this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)}),!o){var f=[s,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(l),i=Promise.resolve(t);f.length;)i=i.then(f.shift(),f.shift());return i}for(var p=t;r.length;){var d=r.shift(),h=r.shift();try{p=d(p)}catch(e){h(e);break}}try{i=s(p)}catch(e){return Promise.reject(e)}for(;l.length;)i=i.then(l.shift(),l.shift());return i},l.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=a(this.defaults,e),o(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},540(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},543(e,t,n){var r;e=n.nmd(e),function(){var o,i="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]",x="[object Function]",_="[object GeneratorFunction]",w="[object Map]",E="[object Number]",T="[object Object]",S="[object Promise]",R="[object RegExp]",A="[object Set]",O="[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),X=RegExp(Y.source),V=/<%-([\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+/,oe=/\s/,ie=/\{(?:\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=/($^)/,xe=/['\n\r\u2028\u2029\\]/g,_e="\\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",Ae="\\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",Oe="["+_e+"]",Ie="["+Ae+"]",Le="["+we+"]",Ne="\\d+",Ce="["+Ee+"]",ke="["+Te+"]",Pe="[^"+_e+Ae+Ne+Ee+Te+Se+"]",je="\\ud83c[\\udffb-\\udfff]",De="[^"+_e+"]",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+")*",Xe="(?:"+[Ce,ze,Me].join("|")+")"+Ge,Ve="(?:"+[De+Le+"?",Le,ze,Me,Oe].join("|")+")",Ze=RegExp("['’]","g"),Ke=RegExp(Le,"g"),Je=RegExp(je+"(?="+je+")|"+Ve+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,Xe].join("|"),"g"),et=RegExp("["+Be+_e+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,ot={};ot[k]=ot[P]=ot[j]=ot[D]=ot[z]=ot[M]=ot[$]=ot[B]=ot[U]=!0,ot[g]=ot[m]=ot[N]=ot[v]=ot[C]=ot[y]=ot[b]=ot[x]=ot[w]=ot[E]=ot[T]=ot[R]=ot[A]=ot[O]=ot[L]=!1;var it={};it[g]=it[m]=it[N]=it[C]=it[v]=it[y]=it[k]=it[P]=it[j]=it[D]=it[z]=it[w]=it[E]=it[T]=it[R]=it[A]=it[O]=it[I]=it[M]=it[$]=it[B]=it[U]=!0,it[b]=it[x]=it[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,xt=mt&&mt.isRegExp,_t=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 o=-1,i=null==e?0:e.length;++o<i;){var s=e[o];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 At(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 Ot(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}function It(e,t){return!(null==e||!e.length)&&$t(e,t,0)>-1}function Lt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Nt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Ct(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function kt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Pt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,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,o){if(t(e,n,o))return r=n,!1}),r}function Mt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function $t(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Mt(e,Ut,n)}function Bt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;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?o:t[e]}}function Ht(e){return function(t){return null==e?o:e[t]}}function qt(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}function Yt(e,t){for(var n,r=-1,i=e.length;++r<i;){var s=t(e[r]);s!==o&&(n=n===o?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 Xt(e){return e?e.slice(0,pn(e)+1).replace(re,""):e}function Vt(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,o=0,i=[];++n<r;){var s=e[n];s!==t&&s!==a||(e[n]=a,i[o++]=n)}return i}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--&&oe.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,oe=t.Date,_e=t.Error,we=t.Function,Ee=t.Math,Te=t.Object,Se=t.RegExp,Re=t.String,Ae=t.TypeError,Oe=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:o,Ue=t.Symbol,Fe=t.Uint8Array,We=Be?Be.allocUnsafe:o,He=sn(Te.getPrototypeOf,Te),qe=Te.create,Ye=Le.propertyIsEnumerable,Ge=Oe.splice,Xe=Ue?Ue.isConcatSpreadable:o,Ve=Ue?Ue.iterator:o,Je=Ue?Ue.toStringTag:o,et=function(){try{var e=ci(Te,"defineProperty");return e({},"",{}),e}catch(e){}}(),st=t.clearTimeout!==ft.clearTimeout&&t.clearTimeout,ct=oe&&oe.now!==ft.Date.now&&oe.now,lt=t.setTimeout!==ft.setTimeout&&t.setTimeout,pt=Ee.ceil,dt=Ee.floor,gt=Te.getOwnPropertySymbols,mt=Be?Be.isBuffer:o,Dt=t.isFinite,Ht=Oe.join,gn=sn(Te.keys,Te),mn=Ee.max,vn=Ee.min,yn=oe.now,bn=t.parseInt,xn=Ee.random,_n=Oe.reverse,wn=ci(t,"DataView"),En=ci(t,"Map"),Tn=ci(t,"Promise"),Sn=ci(t,"Set"),Rn=ci(t,"WeakMap"),An=ci(Te,"create"),On=Rn&&new Rn,In={},Ln=zi(wn),Nn=zi(En),Cn=zi(Tn),kn=zi(Sn),Pn=zi(Rn),jn=Ue?Ue.prototype:o,Dn=jn?jn.valueOf:o,zn=jn?jn.toString:o;function Mn(e){if(ea(e)&&!Ws(e)&&!(e instanceof Fn)){if(e instanceof Un)return e;if(ke.call(e,"__wrapped__"))return Mi(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=o,n}}();function Bn(){}function Un(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}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 Xn(e,t){var n=Ws(e),r=!n&&Fs(e),o=!n&&!r&&Gs(e),i=!n&&!r&&!o&&ua(e),s=n||r||o||i,a=s?Gt(e.length,Re):[],u=a.length;for(var c in e)!t&&!ke.call(e,c)||s&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||mi(c,u))||a.push(c);return a}function Vn(e){var t=e.length;return t?e[qr(0,t-1)]:o}function Zn(e,t){return Ci(Ao(e),ir(t,0,e.length))}function Kn(e){return Ci(Ao(e))}function Jn(e,t,n){(n!==o&&!$s(e[t],n)||n===o&&!(t in e))&&rr(e,t,n)}function Qn(e,t,n){var r=e[t];ke.call(e,t)&&$s(r,n)&&(n!==o||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,o,i){t(r,e,n(e),i)}),r}function nr(e,t){return e&&Oo(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 or(e,t){for(var n=-1,i=t.length,s=r(i),a=null==e;++n<i;)s[n]=a?o:Sa(e,t[n]);return s}function ir(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function sr(e,t,n,r,i,s){var a,u=1&t,c=2&t,l=4&t;if(n&&(a=i?n(e,r,i,s):n(e)),a!==o)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 Ao(e,a)}else{var p=pi(e),d=p==x||p==_;if(Gs(e))return _o(e,u);if(p==T||p==g||d&&!i){if(a=c||d?{}:hi(e),!u)return c?function(e,t){return Oo(e,fi(e),t)}(e,function(e,t){return e&&Oo(t,Na(t),e)}(a,e)):function(e,t){return Oo(e,li(e),t)}(e,nr(a,e))}else{if(!it[p])return i?e:{};a=function(e,t,n){var r,o=e.constructor;switch(t){case N:return wo(e);case v:case y:return new o(+e);case C:return function(e,t){var n=t?wo(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 Eo(e,n);case w:return new o;case E:case O:return new o(e);case R:return function(e){var t=new e.constructor(e.source,pe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new o;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),ia(e)?e.forEach(function(r){a.add(sr(r,t,n,r,e,s))}):ta(e)&&e.forEach(function(r,o){a.set(o,sr(r,t,n,o,e,s))});var m=f?o:(l?c?ni:ti:c?Na:La)(e);return St(m||e,function(r,o){m&&(r=e[o=r]),Qn(a,o,sr(r,t,n,o,e,s))}),a}function ar(e,t,n){var r=n.length;if(null==e)return!r;for(e=Te(e);r--;){var i=n[r],s=t[i],a=e[i];if(a===o&&!(i in e)||!s(a))return!1}return!0}function ur(e,t,n){if("function"!=typeof e)throw new Ae(i);return Oi(function(){e.apply(o,n)},t)}function cr(e,t,n,r){var o=-1,i=It,s=!0,a=e.length,u=[],c=t.length;if(!a)return u;n&&(t=Nt(t,Vt(n))),r?(i=Lt,s=!1):t.length>=200&&(i=Kt,s=!1,t=new Yn(t));e:for(;++o<a;){var l=e[o],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 i(t,f,r)||u.push(l)}return u}Mn.templateSettings={escape:V,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__=An?An(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(An){var n=t[e];return n===s?o:n}return ke.call(t,e)?t[e]:o},Wn.prototype.has=function(e){var t=this.__data__;return An?t[e]!==o:ke.call(t,e)},Wn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===o?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?o: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=ai(this,e).delete(e);return this.size-=t?1:0,t},qn.prototype.get=function(e){return ai(this,e).get(e)},qn.prototype.has=function(e){return ai(this,e).has(e)},qn.prototype.set=function(e,t){var n=ai(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=No(yr),fr=No(br,!0);function pr(e,t){var n=!0;return lr(e,function(e,r,o){return n=!!t(e,r,o)}),n}function dr(e,t,n){for(var r=-1,i=e.length;++r<i;){var s=e[r],a=t(s);if(null!=a&&(u===o?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,o){t(e,r,o)&&n.push(e)}),n}function gr(e,t,n,r,o){var i=-1,s=e.length;for(n||(n=gi),o||(o=[]);++i<s;){var a=e[i];t>0&&n(a)?t>1?gr(a,t-1,n,r,o):Ct(o,a):r||(o[o.length]=a)}return o}var mr=Co(),vr=Co(!0);function yr(e,t){return e&&mr(e,t,La)}function br(e,t){return e&&vr(e,t,La)}function xr(e,t){return Ot(t,function(t){return Zs(e[t])})}function _r(e,t){for(var n=0,r=(t=vo(t,e)).length;null!=e&&n<r;)e=e[Di(t[n++])];return n&&n==r?e:o}function wr(e,t,n){var r=t(e);return Ws(e)?r:Ct(r,n(e))}function Er(e){return null==e?e===o?"[object Undefined]":"[object Null]":Je&&Je in Te(e)?function(e){var t=ke.call(e,Je),n=e[Je];try{e[Je]=o;var r=!0}catch(e){}var i=De.call(e);return r&&(t?e[Je]=n:delete e[Je]),i}(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 Ar(e,t,n){for(var i=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,Vt(t))),l=vn(p.length,l),c[u]=!n&&(t||s>=120&&p.length>=120)?new Yn(u&&p):o}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):i(f,m,n))){for(u=a;--u;){var v=c[u];if(!(v?Kt(v,m):i(e[u],m,n)))continue e}h&&h.push(m),f.push(g)}}return f}function Or(e,t,n){var r=null==(e=Si(e,t=vo(t,e)))?e:e[Di(Vi(t))];return null==r?o:Et(r,e,n)}function Ir(e){return ea(e)&&Er(e)==g}function Lr(e,t,n,r,i){return e===t||(null==e||null==t||!ea(e)&&!ea(t)?e!=e&&t!=t:function(e,t,n,r,i,s){var a=Ws(e),u=Ws(t),c=a?m:pi(e),l=u?m:pi(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)?Qo(e,t,n,r,i,s):function(e,t,n,r,o,i,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||!i(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 O:return e==t+"";case w:var a=on;case A: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=Qo(a(e),a(t),r,o,i,s);return s.delete(e),l;case I:if(Dn)return Dn.call(e)==Dn.call(t)}return!1}(e,t,c,n,r,i,s);if(!(1&n)){var h=f&&ke.call(e,"__wrapped__"),x=p&&ke.call(t,"__wrapped__");if(h||x){var _=h?e.value():e,S=x?t.value():t;return s||(s=new Gn),i(_,S,n,r,s)}}return!!d&&(s||(s=new Gn),function(e,t,n,r,i,s){var a=1&n,u=ti(e),c=u.length;if(c!=ti(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===o?m===v||i(m,v,n,r,s):y)){h=!1;break}g||(g="constructor"==f)}if(h&&!g){var b=e.constructor,x=t.constructor;b==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x||(h=!1)}return s.delete(e),s.delete(t),h}(e,t,n,r,i,s))}(e,t,n,r,Lr,i))}function Nr(e,t,n,r){var i=n.length,s=i,a=!r;if(null==e)return!s;for(e=Te(e);i--;){var u=n[i];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<s;){var c=(u=n[i])[0],l=e[c],f=u[1];if(a&&u[2]){if(l===o&&!(c in e))return!1}else{var p=new Gn;if(r)var d=r(l,f,c,e,t,p);if(!(d===o?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(zi(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(!_i(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,o=qs(e)?r(e.length):[];return lr(e,function(e,r,i){o[++n]=t(e,r,i)}),o}function zr(e){var t=ui(e);return 1==t.length&&t[0][2]?Ei(t[0][0],t[0][1]):function(n){return n===e||Nr(n,e,t)}}function Mr(e,t){return yi(e)&&wi(t)?Ei(Di(e),t):function(n){var r=Sa(n,e);return r===o&&r===t?Ra(n,e):Lr(t,r,3)}}function $r(e,t,n,r,i){e!==t&&mr(t,function(s,a){if(i||(i=new Gn),Qs(s))!function(e,t,n,r,i,s,a){var u=Ri(e,n),c=Ri(t,n),l=a.get(c);if(l)Jn(e,n,l);else{var f=s?s(u,c,n+"",e,t,a):o,p=f===o;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=Ao(u):h?(p=!1,f=_o(c,!0)):g?(p=!1,f=Eo(c,!0)):f=[]:ra(c)||Fs(c)?(f=u,Fs(u)?f=ma(u):Qs(u)&&!Zs(u)||(f=hi(c))):p=!1}p&&(a.set(c,f),i(f,c,r,s,a),a.delete(c)),Jn(e,n,f)}}(e,t,a,n,$r,r,i);else{var u=r?r(Ri(e,a),s,a+"",e,t,i):o;u===o&&(u=s),Jn(e,a,u)}},Na)}function Br(e,t){var n=e.length;if(n)return mi(t+=t<0?n:0,n)?e[t]:o}function Ur(e,t,n){t=t.length?Nt(t,function(e){return Ws(e)?function(t){return _r(t,1===e.length?e[0]:e)}:e}):[nu];var r=-1;t=Nt(t,Vt(si()));var o=Dr(e,function(e,n,o){var i=Nt(t,function(t){return t(e)});return{criteria:i,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,o=e.criteria,i=t.criteria,s=o.length,a=n.length;++r<s;){var u=To(o[r],i[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}(o)}function Fr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var s=t[r],a=_r(e,s);n(a,s)&&Zr(i,vo(s,e),a)}return i}function Wr(e,t,n,r){var o=r?Bt:$t,i=-1,s=t.length,a=e;for(e===t&&(t=Ao(t)),n&&(a=Nt(e,Vt(n)));++i<s;)for(var u=0,c=t[i],l=n?n(c):c;(u=o(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 o=t[n];if(n==r||o!==i){var i=o;mi(o)?Ge.call(e,o,1):uo(e,o)}}return e}function qr(e,t){return e+dt(xn()*(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 Ii(Ti(e,t,nu),e+"")}function Xr(e){return Vn($a(e))}function Vr(e,t){var n=$a(e);return Ci(n,ir(t,0,n.length))}function Zr(e,t,n,r){if(!Qs(e))return e;for(var i=-1,s=(t=vo(t,e)).length,a=s-1,u=e;null!=u&&++i<s;){var c=Di(t[i]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=a){var f=u[c];(l=r?r(f,c,u):o)===o&&(l=Qs(f)?f:mi(t[i+1])?[]:{})}Qn(u,c,l),u=u[c]}return e}var Kr=On?function(e,t){return On.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 Ci($a(e))}function eo(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=r(i);++o<i;)s[o]=e[o+t];return s}function to(e,t){var n;return lr(e,function(e,r,o){return!(n=t(e,r,o))}),!!n}function no(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,s=e[i];null!==s&&!aa(s)&&(n?s<=t:s<t)?r=i+1:o=i}return o}return ro(e,t,nu,n)}function ro(e,t,n,r){var i=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===o;i<s;){var f=dt((i+s)/2),p=n(e[f]),d=p!==o,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?i=f+1:s=f}return vn(s,4294967294)}function oo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!$s(a,u)){var u=a;i[o++]=0===s?0:s}}return i}function io(e){return"number"==typeof e?e:aa(e)?p:+e}function so(e){if("string"==typeof e)return e;if(Ws(e))return Nt(e,so)+"";if(aa(e))return zn?zn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ao(e,t,n){var r=-1,o=It,i=e.length,s=!0,a=[],u=a;if(n)s=!1,o=Lt;else if(i>=200){var c=t?null:Go(e);if(c)return un(c);s=!1,o=Kt,u=new Yn}else u=t?[]:a;e:for(;++r<i;){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 o(u,f,n)||(u!==a&&u.push(f),a.push(l))}return a}function uo(e,t){return null==(e=Si(e,t=vo(t,e)))||delete e[Di(Vi(t))]}function co(e,t,n,r){return Zr(e,t,n(_r(e,t)),r)}function lo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?eo(e,r?0:i,r?i+1:o):eo(e,r?i+1:0,r?o:i)}function fo(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 po(e,t,n){var o=e.length;if(o<2)return o?ao(e[0]):[];for(var i=-1,s=r(o);++i<o;)for(var a=e[i],u=-1;++u<o;)u!=i&&(s[i]=cr(s[i]||a,e[u],t,n));return ao(gr(s,1),t,n)}function ho(e,t,n){for(var r=-1,i=e.length,s=t.length,a={};++r<i;){var u=r<s?t[r]:o;n(a,e[r],u)}return a}function go(e){return Ys(e)?e:[]}function mo(e){return"function"==typeof e?e:nu}function vo(e,t){return Ws(e)?e:yi(e,t)?[e]:ji(va(e))}var yo=Gr;function bo(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:eo(e,t,n)}var xo=st||function(e){return ft.clearTimeout(e)};function _o(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 wo(e){var t=new e.constructor(e.byteLength);return new Fe(t).set(new Fe(e)),t}function Eo(e,t){var n=t?wo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function To(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,s=aa(e),a=t!==o,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||!i)return 1;if(!r&&!s&&!l&&e<t||l&&n&&i&&!r&&!s||u&&n&&i||!a&&i||!c)return-1}return 0}function So(e,t,n,o){for(var i=-1,s=e.length,a=n.length,u=-1,c=t.length,l=mn(s-a,0),f=r(c+l),p=!o;++u<c;)f[u]=t[u];for(;++i<a;)(p||i<s)&&(f[n[i]]=e[i]);for(;l--;)f[u++]=e[i++];return f}function Ro(e,t,n,o){for(var i=-1,s=e.length,a=-1,u=n.length,c=-1,l=t.length,f=mn(s-u,0),p=r(f+l),d=!o;++i<f;)p[i]=e[i];for(var h=i;++c<l;)p[h+c]=t[c];for(;++a<u;)(d||i<s)&&(p[h+n[a]]=e[i++]);return p}function Ao(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function Oo(e,t,n,r){var i=!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):o;c===o&&(c=e[u]),i?rr(n,u,c):Qn(n,u,c)}return n}function Io(e,t){return function(n,r){var o=Ws(n)?Tt:tr,i=t?t():{};return o(n,e,si(r,2),i)}}function Lo(e){return Gr(function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:o,a=i>2?n[2]:o;for(s=e.length>3&&"function"==typeof s?(i--,s):o,a&&vi(n[0],n[1],a)&&(s=i<3?o:s,i=1),t=Te(t);++r<i;){var u=n[r];u&&e(t,u,r,s)}return t})}function No(e,t){return function(n,r){if(null==n)return n;if(!qs(n))return e(n,r);for(var o=n.length,i=t?o:-1,s=Te(n);(t?i--:++i<o)&&!1!==r(s[i],i,s););return n}}function Co(e){return function(t,n,r){for(var o=-1,i=Te(t),s=r(t),a=s.length;a--;){var u=s[e?a:++o];if(!1===n(i[u],u,i))break}return t}}function ko(e){return function(t){var n=rn(t=va(t))?fn(t):o,r=n?n[0]:t.charAt(0),i=n?bo(n,1).join(""):t.slice(1);return r[e]()+i}}function Po(e){return function(t){return kt(Za(Fa(t).replace(Ze,"")),e,"")}}function jo(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 Do(e){return function(t,n,r){var i=Te(t);if(!qs(t)){var s=si(n,3);t=La(t),n=function(e){return s(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[s?t[a]:a]:o}}function zo(e){return ei(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 Ae(i);if(s&&!u&&"wrapper"==oi(a))var u=new Un([],!0)}for(r=u?r:n;++r<n;){var c=oi(a=t[r]),l="wrapper"==c?ri(a):o;u=l&&bi(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?u[oi(l[0])].apply(u,l[3]):1==a.length&&bi(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 o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}function Mo(e,t,n,i,s,a,u,l,f,p){var d=t&c,h=1&t,g=2&t,m=24&t,v=512&t,y=g?o:jo(e);return function c(){for(var b=arguments.length,x=r(b),_=b;_--;)x[_]=arguments[_];if(m)var w=ii(c),E=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(x,w);if(i&&(x=So(x,i,s,m)),a&&(x=Ro(x,a,u,m)),b-=E,m&&b<p){var T=an(x,w);return qo(e,t,Mo,c.placeholder,n,x,T,l,f,p-b)}var S=h?n:this,R=g?S[e]:e;return b=x.length,l?x=function(e,t){for(var n=e.length,r=vn(t.length,n),i=Ao(e);r--;){var s=t[r];e[r]=mi(s,n)?i[s]:o}return e}(x,l):v&&b>1&&x.reverse(),d&&f<b&&(x.length=f),this&&this!==ft&&this instanceof c&&(R=y||jo(R)),R.apply(S,x)}}function $o(e,t){return function(n,r){return function(e,t,n,r){return yr(e,function(e,o,i){t(r,n(e),o,i)}),r}(n,e,t(r),{})}}function Bo(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=so(n),r=so(r)):(n=io(n),r=io(r)),i=e(n,r)}return i}}function Uo(e){return ei(function(t){return t=Nt(t,Vt(si())),Gr(function(n){var r=this;return e(t,function(e){return Et(e,r,n)})})})}function Fo(e,t){var n=(t=t===o?" ":so(t)).length;if(n<2)return n?Yr(t,e):t;var r=Yr(t,pt(e/ln(t)));return rn(t)?bo(fn(r),0,e).join(""):r.slice(0,e)}function Wo(e){return function(t,n,i){return i&&"number"!=typeof i&&vi(t,n,i)&&(n=i=o),t=pa(t),n===o?(n=t,t=0):n=pa(n),function(e,t,n,o){for(var i=-1,s=mn(pt((t-e)/(n||1)),0),a=r(s);s--;)a[o?s:++i]=e,e+=n;return a}(t,n,i=i===o?t<n?1:-1:pa(i),e)}}function Ho(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ga(t),n=ga(n)),e(t,n)}}function qo(e,t,n,r,i,s,a,c,l,f){var p=8&t;t|=p?u:64,4&(t&=~(p?64:u))||(t&=-4);var d=[e,t,i,p?s:o,p?a:o,p?o:s,p?o:a,c,l,f],h=n.apply(o,d);return bi(e)&&Ai(h,d),h.placeholder=r,Li(h,e,t)}function Yo(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 Go=Sn&&1/un(new Sn([,-0]))[1]==l?function(e){return new Sn(e)}:au;function Xo(e){return function(t){var n=pi(t);return n==w?on(t):n==A?cn(t):function(e,t){return Nt(t,function(t){return[t,e[t]]})}(t,e(t))}}function Vo(e,t,n,s,l,f,p,d){var h=2&t;if(!h&&"function"!=typeof e)throw new Ae(i);var g=s?s.length:0;if(g||(t&=-97,s=l=o),p=p===o?p:mn(da(p),0),d=d===o?d:da(d),g-=l?l.length:0,64&t){var m=s,v=l;s=l=o}var y=h?o:ri(e),b=[e,t,n,s,l,m,v,f,p,d];if(y&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<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(!i&&!s)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var u=t[3];if(u){var l=e[3];e[3]=l?So(l,u,t[4]):u,e[4]=l?an(e[3],a):t[4]}(u=t[5])&&(l=e[5],e[5]=l?Ro(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]=o}(b,y),e=b[0],t=b[1],n=b[2],s=b[3],l=b[4],!(d=b[9]=b[9]===o?h?0:e.length:mn(b[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)x=8==t||16==t?function(e,t,n){var i=jo(e);return function s(){for(var a=arguments.length,u=r(a),c=a,l=ii(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?qo(e,t,Mo,s.placeholder,o,u,f,o,o,n-a):Et(this&&this!==ft&&this instanceof s?i:e,this,u)}}(e,t,d):t!=u&&33!=t||l.length?Mo.apply(o,b):function(e,t,n,o){var i=1&t,s=jo(e);return function t(){for(var a=-1,u=arguments.length,c=-1,l=o.length,f=r(l+u),p=this&&this!==ft&&this instanceof t?s:e;++c<l;)f[c]=o[c];for(;u--;)f[c++]=arguments[++a];return Et(p,i?n:this,f)}}(e,t,n,s);else var x=function(e,t,n){var r=1&t,o=jo(e);return function t(){return(this&&this!==ft&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return Li((y?Kr:Ai)(x,b),e,t)}function Zo(e,t,n,r){return e===o||$s(e,Le[n])&&!ke.call(r,n)?t:e}function Ko(e,t,n,r,i,s){return Qs(e)&&Qs(t)&&(s.set(t,e),$r(e,t,o,Ko,s),s.delete(t)),e}function Jo(e){return ra(e)?o:e}function Qo(e,t,n,r,i,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:o;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!==o){if(v)continue;d=!1;break}if(h){if(!jt(t,function(e,t){if(!Kt(h,t)&&(g===e||i(g,e,n,r,s)))return h.push(t)})){d=!1;break}}else if(g!==m&&!i(g,m,n,r,s)){d=!1;break}}return s.delete(e),s.delete(t),d}function ei(e){return Ii(Ti(e,o,Hi),e+"")}function ti(e){return wr(e,La,li)}function ni(e){return wr(e,Na,fi)}var ri=On?function(e){return On.get(e)}:au;function oi(e){for(var t=e.name+"",n=In[t],r=ke.call(In,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ii(e){return(ke.call(Mn,"placeholder")?Mn:e).placeholder}function si(){var e=Mn.iteratee||ru;return e=e===ru?kr:e,arguments.length?e(arguments[0],arguments[1]):e}function ai(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ui(e){for(var t=La(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,wi(o)]}return t}function ci(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Cr(n)?n:o}var li=gt?function(e){return null==e?[]:(e=Te(e),Ot(gt(e),function(t){return Ye.call(e,t)}))}:hu,fi=gt?function(e){for(var t=[];e;)Ct(t,li(e)),e=He(e);return t}:hu,pi=Er;function di(e,t,n){for(var r=-1,o=(t=vo(t,e)).length,i=!1;++r<o;){var s=Di(t[r]);if(!(i=null!=e&&n(e,s)))break;e=e[s]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Js(o)&&mi(s,o)&&(Ws(e)||Fs(e))}function hi(e){return"function"!=typeof e.constructor||_i(e)?{}:$n(He(e))}function gi(e){return Ws(e)||Fs(e)||!!(Xe&&e&&e[Xe])}function mi(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 vi(e,t,n){if(!Qs(n))return!1;var r=typeof t;return!!("number"==r?qs(n)&&mi(t,n.length):"string"==r&&t in n)&&$s(n[t],e)}function yi(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 bi(e){var t=oi(e),n=Mn[t];if("function"!=typeof n||!(t in Fn.prototype))return!1;if(e===n)return!0;var r=ri(n);return!!r&&e===r[0]}(wn&&pi(new wn(new ArrayBuffer(1)))!=C||En&&pi(new En)!=w||Tn&&pi(Tn.resolve())!=S||Sn&&pi(new Sn)!=A||Rn&&pi(new Rn)!=L)&&(pi=function(e){var t=Er(e),n=t==T?e.constructor:o,r=n?zi(n):"";if(r)switch(r){case Ln:return C;case Nn:return w;case Cn:return S;case kn:return A;case Pn:return L}return t});var xi=Ne?Zs:gu;function _i(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Le)}function wi(e){return e==e&&!Qs(e)}function Ei(e,t){return function(n){return null!=n&&n[e]===t&&(t!==o||e in Te(n))}}function Ti(e,t,n){return t=mn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,s=mn(o.length-t,0),a=r(s);++i<s;)a[i]=o[t+i];i=-1;for(var u=r(t+1);++i<t;)u[i]=o[i];return u[t]=n(a),Et(e,this,u)}}function Si(e,t){return t.length<2?e:_r(e,eo(t,0,-1))}function Ri(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ai=Ni(Kr),Oi=lt||function(e,t){return ft.setTimeout(e,t)},Ii=Ni(Jr);function Li(e,t,n){var r=t+"";return Ii(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(ie,"{\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 Ni(e){var t=0,n=0;return function(){var r=yn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ci(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var s=qr(n,i),a=e[s];e[s]=e[n],e[n]=a}return e.length=t,e}var ki,Pi,ji=(ki=ks(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,function(e,n,r,o){t.push(r?o.replace(le,"$1"):n||e)}),t},function(e){return 500===Pi.size&&Pi.clear(),e}),Pi=ki.cache,ki);function Di(e){if("string"==typeof e||aa(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function zi(e){if(null!=e){try{return Ce.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Mi(e){if(e instanceof Fn)return e.clone();var t=new Un(e.__wrapped__,e.__chain__);return t.__actions__=Ao(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var $i=Gr(function(e,t){return Ys(e)?cr(e,gr(t,1,Ys,!0)):[]}),Bi=Gr(function(e,t){var n=Vi(t);return Ys(n)&&(n=o),Ys(e)?cr(e,gr(t,1,Ys,!0),si(n,2)):[]}),Ui=Gr(function(e,t){var n=Vi(t);return Ys(n)&&(n=o),Ys(e)?cr(e,gr(t,1,Ys,!0),o,n):[]});function Fi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:da(n);return o<0&&(o=mn(r+o,0)),Mt(e,si(t,3),o)}function Wi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=da(n),i=n<0?mn(r+i,0):vn(i,r-1)),Mt(e,si(t,3),i,!0)}function Hi(e){return null!=e&&e.length?gr(e,1):[]}function qi(e){return e&&e.length?e[0]:o}var Yi=Gr(function(e){var t=Nt(e,go);return t.length&&t[0]===e[0]?Ar(t):[]}),Gi=Gr(function(e){var t=Vi(e),n=Nt(e,go);return t===Vi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Ar(n,si(t,2)):[]}),Xi=Gr(function(e){var t=Vi(e),n=Nt(e,go);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Ar(n,o,t):[]});function Vi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Zi=Gr(Ki);function Ki(e,t){return e&&e.length&&t&&t.length?Wr(e,t):e}var Ji=ei(function(e,t){var n=null==e?0:e.length,r=or(e,t);return Hr(e,Nt(t,function(e){return mi(e,n)?+e:e}).sort(To)),r});function Qi(e){return null==e?e:_n.call(e)}var es=Gr(function(e){return ao(gr(e,1,Ys,!0))}),ts=Gr(function(e){var t=Vi(e);return Ys(t)&&(t=o),ao(gr(e,1,Ys,!0),si(t,2))}),ns=Gr(function(e){var t=Vi(e);return t="function"==typeof t?t:o,ao(gr(e,1,Ys,!0),o,t)});function rs(e){if(!e||!e.length)return[];var t=0;return e=Ot(e,function(e){if(Ys(e))return t=mn(e.length,t),!0}),Gt(t,function(t){return Nt(e,Wt(t))})}function os(e,t){if(!e||!e.length)return[];var n=rs(e);return null==t?n:Nt(n,function(e){return Et(t,o,e)})}var is=Gr(function(e,t){return Ys(e)?cr(e,t):[]}),ss=Gr(function(e){return po(Ot(e,Ys))}),as=Gr(function(e){var t=Vi(e);return Ys(t)&&(t=o),po(Ot(e,Ys),si(t,2))}),us=Gr(function(e){var t=Vi(e);return t="function"==typeof t?t:o,po(Ot(e,Ys),o,t)}),cs=Gr(rs),ls=Gr(function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,os(e,n)});function fs(e){var t=Mn(e);return t.__chain__=!0,t}function ps(e,t){return t(e)}var ds=ei(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return or(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Fn&&mi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ps,args:[i],thisArg:o}),new Un(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(i)}),hs=Io(function(e,t,n){ke.call(e,n)?++e[n]:rr(e,n,1)}),gs=Do(Fi),ms=Do(Wi);function vs(e,t){return(Ws(e)?St:lr)(e,si(t,3))}function ys(e,t){return(Ws(e)?Rt:fr)(e,si(t,3))}var bs=Io(function(e,t,n){ke.call(e,n)?e[n].push(t):rr(e,n,[t])}),xs=Gr(function(e,t,n){var o=-1,i="function"==typeof t,s=qs(e)?r(e.length):[];return lr(e,function(e){s[++o]=i?Et(t,e,n):Or(e,t,n)}),s}),_s=Io(function(e,t,n){rr(e,n,t)});function ws(e,t){return(Ws(e)?Nt:Dr)(e,si(t,3))}var Es=Io(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&&vi(e,t[0],t[1])?t=[]:n>2&&vi(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?o:t,t=e&&null==t?e.length:t,Vo(e,c,o,o,o,o,t)}function As(e,t){var n;if("function"!=typeof t)throw new Ae(i);return e=da(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Os=Gr(function(e,t,n){var r=1;if(n.length){var o=an(n,ii(Os));r|=u}return Vo(e,r,t,n,o)}),Is=Gr(function(e,t,n){var r=3;if(n.length){var o=an(n,ii(Is));r|=u}return Vo(t,r,e,n,o)});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 Ae(i);function g(t){var n=r,i=s;return r=s=o,f=t,u=e.apply(i,n)}function m(e){var n=e-l;return l===o||n>=t||n<0||d&&e-f>=a}function v(){var e=Ss();if(m(e))return y(e);c=Oi(v,function(e){var n=t-(e-l);return d?vn(n,a-(e-f)):n}(e))}function y(e){return c=o,h&&r?g(e):(r=s=o,u)}function b(){var e=Ss(),n=m(e);if(r=arguments,s=this,l=e,n){if(c===o)return function(e){return f=e,c=Oi(v,t),p?g(e):u}(l);if(d)return xo(c),c=Oi(v,t),g(l)}return c===o&&(c=Oi(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!==o&&xo(c),f=0,r=l=s=c=o},b.flush=function(){return c===o?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 Ae(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(ks.Cache||qn),n}function Ps(e){if("function"!=typeof e)throw new Ae(i);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=yo(function(e,t){var n=(t=1==t.length&&Ws(t[0])?Nt(t[0],Vt(si())):Nt(gr(t,1),Vt(si()))).length;return Gr(function(r){for(var o=-1,i=vn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Et(e,this,r)})}),Ds=Gr(function(e,t){var n=an(t,ii(Ds));return Vo(e,u,o,t,n)}),zs=Gr(function(e,t){var n=an(t,ii(zs));return Vo(e,64,o,t,n)}),Ms=ei(function(e,t){return Vo(e,256,o,o,o,t)});function $s(e,t){return e===t||e!=e&&t!=t}var Bs=Ho(Tr),Us=Ho(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?Vt(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,Xs=yt?Vt(yt):function(e){return ea(e)&&Er(e)==y};function Vs(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==x||t==_||"[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?Vt(bt):function(e){return ea(e)&&pi(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 oa=xt?Vt(xt):function(e){return ea(e)&&Er(e)==R},ia=_t?Vt(_t):function(e){return ea(e)&&pi(e)==A};function sa(e){return"string"==typeof e||!Ws(e)&&ea(e)&&Er(e)==O}function aa(e){return"symbol"==typeof e||ea(e)&&Er(e)==I}var ua=wt?Vt(wt):function(e){return ea(e)&&Js(e.length)&&!!ot[Er(e)]},ca=Ho(jr),la=Ho(function(e,t){return e<=t});function fa(e){if(!e)return[];if(qs(e))return sa(e)?fn(e):Ao(e);if(Ve&&e[Ve])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ve]());var t=pi(e);return(t==w?on:t==A?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?ir(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=Xt(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 Oo(e,Na(e))}function va(e){return null==e?"":so(e)}var ya=Lo(function(e,t){if(_i(t)||qs(t))Oo(t,La(t),e);else for(var n in t)ke.call(t,n)&&Qn(e,n,t[n])}),ba=Lo(function(e,t){Oo(t,Na(t),e)}),xa=Lo(function(e,t,n,r){Oo(t,Na(t),e,r)}),_a=Lo(function(e,t,n,r){Oo(t,La(t),e,r)}),wa=ei(or),Ea=Gr(function(e,t){e=Te(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&vi(t[0],t[1],i)&&(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===o||$s(f,Le[l])&&!ke.call(e,l))&&(e[l]=s[l])}return e}),Ta=Gr(function(e){return e.push(o,Ko),Et(ka,o,e)});function Sa(e,t,n){var r=null==e?o:_r(e,t);return r===o?n:r}function Ra(e,t){return null!=e&&di(e,t,Rr)}var Aa=$o(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=De.call(t)),e[t]=n},Qa(nu)),Oa=$o(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]},si),Ia=Gr(Or);function La(e){return qs(e)?Xn(e):Pr(e)}function Na(e){return qs(e)?Xn(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=_i(e),n=[];for(var r in e)("constructor"!=r||!t&&ke.call(e,r))&&n.push(r);return n}(e)}var Ca=Lo(function(e,t,n){$r(e,t,n)}),ka=Lo(function(e,t,n,r){$r(e,t,n,r)}),Pa=ei(function(e,t){var n={};if(null==e)return n;var r=!1;t=Nt(t,function(t){return t=vo(t,e),r||(r=t.length>1),t}),Oo(e,ni(e),n),r&&(n=sr(n,7,Jo));for(var o=t.length;o--;)uo(n,t[o]);return n}),ja=ei(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(ni(e),function(e){return[e]});return t=si(t),Fr(e,n,function(e,n){return t(e,n[0])})}var za=Xo(La),Ma=Xo(Na);function $a(e){return null==e?[]:Zt(e,La(e))}var Ba=Po(function(e,t,n){return t=t.toLowerCase(),e+(n?Ua(t):t)});function Ua(e){return Va(va(e).toLowerCase())}function Fa(e){return(e=va(e))&&e.replace(ye,en).replace(Ke,"")}var Wa=Po(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Ha=Po(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),qa=ko("toLowerCase"),Ya=Po(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Ga=Po(function(e,t,n){return e+(n?" ":"")+Va(t)}),Xa=Po(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Va=ko("toUpperCase");function Za(e,t,n){return e=va(e),(t=n?o:t)===o?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,o,t)}catch(e){return Vs(e)?e:new _e(e)}}),Ja=ei(function(e,t){return St(t,function(t){t=Di(t),rr(e,t,Os(e[t],e))}),e});function Qa(e){return function(){return e}}var eu=zo(),tu=zo(!0);function nu(e){return e}function ru(e){return kr("function"==typeof e?e:sr(e,1))}var ou=Gr(function(e,t){return function(n){return Or(n,e,t)}}),iu=Gr(function(e,t){return function(n){return Or(e,n,t)}});function su(e,t,n){var r=La(t),o=xr(t,r);null!=n||Qs(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=xr(t,La(t)));var i=!(Qs(n)&&"chain"in n&&!n.chain),s=Zs(e);return St(o,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Ao(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=Uo(Nt),cu=Uo(At),lu=Uo(jt);function fu(e){return yi(e)?Wt(Di(e)):function(e){return function(t){return _r(t,e)}}(e)}var pu=Wo(),du=Wo(!0);function hu(){return[]}function gu(){return!1}var mu,vu=Bo(function(e,t){return e+t},0),yu=Yo("ceil"),bu=Bo(function(e,t){return e/t},1),xu=Yo("floor"),_u=Bo(function(e,t){return e*t},1),wu=Yo("round"),Eu=Bo(function(e,t){return e-t},0);return Mn.after=function(e,t){if("function"!=typeof t)throw new Ae(i);return e=da(e),function(){if(--e<1)return t.apply(this,arguments)}},Mn.ary=Rs,Mn.assign=ya,Mn.assignIn=ba,Mn.assignInWith=xa,Mn.assignWith=_a,Mn.at=wa,Mn.before=As,Mn.bind=Os,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?vi(e,t,n):t===o)?1:mn(da(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var s=0,a=0,u=r(pt(i/t));s<i;)u[a++]=eo(e,s,s+=t);return u},Mn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Mn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Ct(Ws(n)?Ao(n):[n],gr(t,1))},Mn.cond=function(e){var t=null==e?0:e.length,n=si();return e=t?Nt(e,function(e){if("function"!=typeof e[1])throw new Ae(i);return[n(e[0]),e[1]]}):[],Gr(function(n){for(var r=-1;++r<t;){var o=e[r];if(Et(o[0],this,n))return Et(o[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 i=Vo(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Mn.curryRight=function e(t,n,r){var i=Vo(t,16,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Mn.debounce=Ls,Mn.defaults=Ea,Mn.defaultsDeep=Ta,Mn.defer=Ns,Mn.delay=Cs,Mn.difference=$i,Mn.differenceBy=Bi,Mn.differenceWith=Ui,Mn.drop=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,(t=n||t===o?1:da(t))<0?0:t,r):[]},Mn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,0,(t=r-(t=n||t===o?1:da(t)))<0?0:t):[]},Mn.dropRightWhile=function(e,t){return e&&e.length?lo(e,si(t,3),!0,!0):[]},Mn.dropWhile=function(e,t){return e&&e.length?lo(e,si(t,3),!0):[]},Mn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&vi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=da(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:da(r))<0&&(r+=i),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)?Ot:hr)(e,si(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===o?1:da(n),gr(ws(e,t),n)},Mn.flatten=Hi,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===o?1:da(t)):[]},Mn.flip=function(e){return Vo(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 o=e[t];r[o[0]]=o[1]}return r},Mn.functions=function(e){return null==e?[]:xr(e,La(e))},Mn.functionsIn=function(e){return null==e?[]:xr(e,Na(e))},Mn.groupBy=bs,Mn.initial=function(e){return null!=e&&e.length?eo(e,0,-1):[]},Mn.intersection=Yi,Mn.intersectionBy=Gi,Mn.intersectionWith=Xi,Mn.invert=Aa,Mn.invertBy=Oa,Mn.invokeMap=xs,Mn.iteratee=ru,Mn.keyBy=_s,Mn.keys=La,Mn.keysIn=Na,Mn.map=ws,Mn.mapKeys=function(e,t){var n={};return t=si(t,3),yr(e,function(e,r,o){rr(n,t(e,r,o),e)}),n},Mn.mapValues=function(e,t){var n={};return t=si(t,3),yr(e,function(e,r,o){rr(n,r,t(e,r,o))}),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=ou,Mn.methodOf=iu,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(si(t)))},Mn.once=function(e){return As(2,e)},Mn.orderBy=function(e,t,n,r){return null==e?[]:(Ws(t)||(t=null==t?[]:[t]),Ws(n=r?o: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?o:_r(e,t)}},Mn.pull=Zi,Mn.pullAll=Ki,Mn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Wr(e,t,si(n,2)):e},Mn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Wr(e,t,o,n):e},Mn.pullAt=Ji,Mn.range=pu,Mn.rangeRight=du,Mn.rearg=Ms,Mn.reject=function(e,t){return(Ws(e)?Ot:hr)(e,Ps(si(t,3)))},Mn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=si(t,3);++r<i;){var s=e[r];t(s,r,e)&&(n.push(s),o.push(r))}return Hr(e,o),n},Mn.rest=function(e,t){if("function"!=typeof e)throw new Ae(i);return Gr(e,t=t===o?t:da(t))},Mn.reverse=Qi,Mn.sampleSize=function(e,t,n){return t=(n?vi(e,t,n):t===o)?1:da(t),(Ws(e)?Zn:Vr)(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:o,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&&vi(e,t,n)?(t=0,n=r):(t=null==t?0:da(t),n=n===o?r:da(n)),eo(e,t,n)):[]},Mn.sortBy=Ts,Mn.sortedUniq=function(e){return e&&e.length?oo(e):[]},Mn.sortedUniqBy=function(e,t){return e&&e.length?oo(e,si(t,2)):[]},Mn.split=function(e,t,n){return n&&"number"!=typeof n&&vi(e,t,n)&&(t=n=o),(n=n===o?d:n>>>0)?(e=va(e))&&("string"==typeof t||null!=t&&!oa(t))&&!(t=so(t))&&rn(e)?bo(fn(e),0,n):e.split(t,n):[]},Mn.spread=function(e,t){if("function"!=typeof e)throw new Ae(i);return t=null==t?0:mn(da(t),0),Gr(function(n){var r=n[t],o=bo(n,0,t);return r&&Ct(o,r),Et(e,this,o)})},Mn.tail=function(e){var t=null==e?0:e.length;return t?eo(e,1,t):[]},Mn.take=function(e,t,n){return e&&e.length?eo(e,0,(t=n||t===o?1:da(t))<0?0:t):[]},Mn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,(t=r-(t=n||t===o?1:da(t)))<0?0:t,r):[]},Mn.takeRightWhile=function(e,t){return e&&e.length?lo(e,si(t,3),!1,!0):[]},Mn.takeWhile=function(e,t){return e&&e.length?lo(e,si(t,3)):[]},Mn.tap=function(e,t){return t(e),e},Mn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ae(i);return Qs(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ls(e,t,{leading:r,maxWait:t,trailing:o})},Mn.thru=ps,Mn.toArray=fa,Mn.toPairs=za,Mn.toPairsIn=Ma,Mn.toPath=function(e){return Ws(e)?Nt(e,Di):aa(e)?[e]:Ao(ji(va(e)))},Mn.toPlainObject=ma,Mn.transform=function(e,t,n){var r=Ws(e),o=r||Gs(e)||ua(e);if(t=si(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Qs(e)&&Zs(i)?$n(He(e)):{}}return(o?St:yr)(e,function(e,r,o){return t(n,e,r,o)}),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?ao(e):[]},Mn.uniqBy=function(e,t){return e&&e.length?ao(e,si(t,2)):[]},Mn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?ao(e,o,t):[]},Mn.unset=function(e,t){return null==e||uo(e,t)},Mn.unzip=rs,Mn.unzipWith=os,Mn.update=function(e,t,n){return null==e?e:co(e,t,mo(n))},Mn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:co(e,t,mo(n),r)},Mn.values=$a,Mn.valuesIn=function(e){return null==e?[]:Zt(e,Na(e))},Mn.without=is,Mn.words=Za,Mn.wrap=function(e,t){return Ds(mo(t),e)},Mn.xor=ss,Mn.xorBy=as,Mn.xorWith=us,Mn.zip=cs,Mn.zipObject=function(e,t){return ho(e||[],t||[],Qn)},Mn.zipObjectDeep=function(e,t){return ho(e||[],t||[],Zr)},Mn.zipWith=ls,Mn.entries=za,Mn.entriesIn=Ma,Mn.extend=ba,Mn.extendWith=xa,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===o&&(n=t,t=o),n!==o&&(n=(n=ga(n))==n?n:0),t!==o&&(t=(t=ga(t))==t?t:0),ir(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:o)},Mn.cloneWith=function(e,t){return sr(e,4,t="function"==typeof t?t:o)},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=so(t);var r=e.length,i=n=n===o?r:ir(da(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Mn.eq=$s,Mn.escape=function(e){return(e=va(e))&&X.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)?At:pr;return n&&vi(e,t,n)&&(t=o),r(e,si(t,3))},Mn.find=gs,Mn.findIndex=Fi,Mn.findKey=function(e,t){return zt(e,si(t,3),yr)},Mn.findLast=ms,Mn.findLastIndex=Wi,Mn.findLastKey=function(e,t){return zt(e,si(t,3),br)},Mn.floor=xu,Mn.forEach=vs,Mn.forEachRight=ys,Mn.forIn=function(e,t){return null==e?e:mr(e,si(t,3),Na)},Mn.forInRight=function(e,t){return null==e?e:vr(e,si(t,3),Na)},Mn.forOwn=function(e,t){return e&&yr(e,si(t,3))},Mn.forOwnRight=function(e,t){return e&&br(e,si(t,3))},Mn.get=Sa,Mn.gt=Bs,Mn.gte=Us,Mn.has=function(e,t){return null!=e&&di(e,t,Sr)},Mn.hasIn=Ra,Mn.head=qi,Mn.identity=nu,Mn.includes=function(e,t,n,r){e=qs(e)?e:$a(e),n=n&&!r?da(n):0;var o=e.length;return n<0&&(n=mn(o+n,0)),sa(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&$t(e,t,n)>-1},Mn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:da(n);return o<0&&(o=mn(r+o,0)),$t(e,t,o)},Mn.inRange=function(e,t,n){return t=pa(t),n===o?(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=Xs,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=pi(e);if(t==w||t==A)return!e.size;if(_i(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:o)?n(e,t):o;return r===o?Lr(e,t,o,n):!!r},Mn.isError=Vs,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,ui(t))},Mn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Nr(e,t,ui(t),n)},Mn.isNaN=function(e){return na(e)&&e!=+e},Mn.isNative=function(e){if(xi(e))throw new _e("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=oa,Mn.isSafeInteger=function(e){return Ks(e)&&e>=-9007199254740991&&e<=f},Mn.isSet=ia,Mn.isString=sa,Mn.isSymbol=aa,Mn.isTypedArray=ua,Mn.isUndefined=function(e){return e===o},Mn.isWeakMap=function(e){return ea(e)&&pi(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=Vi,Mn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=da(n))<0?mn(r+i,0):vn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Mt(e,Ut,i,!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):o},Mn.maxBy=function(e,t){return e&&e.length?dr(e,si(t,2),Tr):o},Mn.mean=function(e){return Ft(e,nu)},Mn.meanBy=function(e,t){return Ft(e,si(t,2))},Mn.min=function(e){return e&&e.length?dr(e,nu,jr):o},Mn.minBy=function(e,t){return e&&e.length?dr(e,si(t,2),jr):o},Mn.stubArray=hu,Mn.stubFalse=gu,Mn.stubObject=function(){return{}},Mn.stubString=function(){return""},Mn.stubTrue=function(){return!0},Mn.multiply=_u,Mn.nth=function(e,t){return e&&e.length?Br(e,da(t)):o},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 o=(t-r)/2;return Fo(dt(o),n)+e+Fo(pt(o),n)},Mn.padEnd=function(e,t,n){e=va(e);var r=(t=da(t))?ln(e):0;return t&&r<t?e+Fo(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?Fo(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&&vi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=pa(e),t===o?(t=e,e=0):t=pa(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=xn();return vn(e+i*(t-e+at("1e-"+((i+"").length-1))),t)}return qr(e,t)},Mn.reduce=function(e,t,n){var r=Ws(e)?kt:qt,o=arguments.length<3;return r(e,si(t,4),n,o,lr)},Mn.reduceRight=function(e,t,n){var r=Ws(e)?Pt:qt,o=arguments.length<3;return r(e,si(t,4),n,o,fr)},Mn.repeat=function(e,t,n){return t=(n?vi(e,t,n):t===o)?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,i=(t=vo(t,e)).length;for(i||(i=1,e=o);++r<i;){var s=null==e?o:e[Di(t[r])];s===o&&(r=i,s=n),e=Zs(s)?s.call(e):s}return e},Mn.round=wu,Mn.runInContext=e,Mn.sample=function(e){return(Ws(e)?Vn:Xr)(e)},Mn.size=function(e){if(null==e)return 0;if(qs(e))return sa(e)?ln(e):e.length;var t=pi(e);return t==w||t==A?e.size:Pr(e).length},Mn.snakeCase=Ya,Mn.some=function(e,t,n){var r=Ws(e)?jt:to;return n&&vi(e,t,n)&&(t=o),r(e,si(t,3))},Mn.sortedIndex=function(e,t){return no(e,t)},Mn.sortedIndexBy=function(e,t,n){return ro(e,t,si(n,2))},Mn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=no(e,t);if(r<n&&$s(e[r],t))return r}return-1},Mn.sortedLastIndex=function(e,t){return no(e,t,!0)},Mn.sortedLastIndexBy=function(e,t,n){return ro(e,t,si(n,2),!0)},Mn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=no(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:ir(da(n),0,e.length),t=so(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,si(t,2)):0},Mn.template=function(e,t,n){var r=Mn.templateSettings;n&&vi(e,t,n)&&(t=o),e=va(e),t=xa({},t,r,Zo);var i,s,a=xa({},t.imports,r.imports,Zo),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,o,a,u){return r||(r=o),p+=e.slice(l,u).replace(xe,nn),n&&(i=!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 _e("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 = ''"+(i?", __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(o,c)});if(m.source=p,Vs(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=si(t),e-=d;for(var o=Gt(r,t);++n<e;)t(n);return o},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?ir(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===o))return Xt(e);if(!e||!(t=so(t)))return e;var r=fn(e),i=fn(t);return bo(r,Jt(r,i),Qt(r,i)+1).join("")},Mn.trimEnd=function(e,t,n){if((e=va(e))&&(n||t===o))return e.slice(0,pn(e)+1);if(!e||!(t=so(t)))return e;var r=fn(e);return bo(r,0,Qt(r,fn(t))+1).join("")},Mn.trimStart=function(e,t,n){if((e=va(e))&&(n||t===o))return e.replace(re,"");if(!e||!(t=so(t)))return e;var r=fn(e);return bo(r,Jt(r,fn(t))).join("")},Mn.truncate=function(e,t){var n=30,r="...";if(Qs(t)){var i="separator"in t?t.separator:i;n="length"in t?da(t.length):n,r="omission"in t?so(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?bo(a,0,u).join(""):e.slice(0,u);if(i===o)return c+r;if(a&&(u+=c.length-u),oa(i)){if(e.slice(u).search(i)){var l,f=c;for(i.global||(i=Se(i.source,va(pe.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var p=l.index;c=c.slice(0,p===o?u:p)}}else if(e.indexOf(so(i),u)!=u){var d=c.lastIndexOf(i);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=Xa,Mn.upperFirst=Va,Mn.each=vs,Mn.eachRight=ys,Mn.first=qi,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===o?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:si(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 Or(n,e,t)})}),Fn.prototype.reject=function(e){return this.filter(Ps(si(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!==o&&(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),i=Mn[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);i&&(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=i.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:o}),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=Oe[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 o=this.value();return t.apply(Ws(o)?o:[],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[Mo(o,2).name]=[{name:"wrapper",func:o}],Fn.prototype.clone=function(){var e=new Fn(this.__wrapped__);return e.__actions__=Ao(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ao(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ao(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,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],s=i.size;switch(i.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,o,this.__views__),s=i.start,a=i.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&&o==u&&d==u)return fo(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,x=y(m);if(2==b)m=x;else if(!x){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__===o&&(this.__values__=fa(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Mn.prototype.plant=function(e){for(var t,n=this;n instanceof Bn;){var r=Mi(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__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:[Qi],thisArg:o}),new Un(t,this.__chain__)}return this.thru(Qi)},Mn.prototype.toJSON=Mn.prototype.valueOf=Mn.prototype.value=function(){return fo(this.__wrapped__,this.__actions__)},Mn.prototype.first=Mn.prototype.head,Ve&&(Mn.prototype[Ve]=function(){return this}),Mn}();ft._=hn,(r=function(){return hn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},592(e,t,n){"use strict";var r=n(516),o=n(522),i=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||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(b+":"+x)}var _=a(e.baseURL,e.url);function w(){if(y){var r="getAllResponseHeaders"in y?u(y.getAllResponseHeaders()):null,i={data:m&&"text"!==m&&"json"!==m?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o(function(e){t(e),v()},function(e){n(e),v()},i),y=null}}if(y.open(e.method.toUpperCase(),s(_,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(_))&&e.xsrfCookieName?i.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)})}},601(e){"use strict";e.exports=function(e){return e[1]}},615(e,t,n){"use strict";var r=n(137),o=n(680);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},631(e,t,n){"use strict";var r=n(516),o=["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,i,s={};return e?(r.forEach(e.split("\n"),function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(s[t]&&o.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"}},659(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},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,o,i){var s=new Error(e);return r(s,t,n,o,i)}},825(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},833(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),s=Object.keys(t);if(i.length!==s.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),u=0;u<i.length;u++){var c=i[u];if(!a(c))return!1;var l=e[c],f=t[c];if(!1===(o=n?n.call(r,l,f,c):void 0)||void 0===o&&l!==f)return!1}return!0}},841(e,t,n){"use strict";var r=n(641).version,o={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var i={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!i[r]&&(i[r]=!0,console.warn(o(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),o=r.length;o-- >0;){var i=r[o],s=t[i];if(s){var a=e[i],u=void 0===a||s(a,i,e);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},864(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},881(e,t,n){"use strict";var r=n(516),o=n(987);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,function(n){e=n.call(i,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,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(i)&&a.push("domain="+i),!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)}}},983(e,t,n){"use strict";n.d(t,{Ay:()=>l,IX:()=>u,Tp:()=>a,zr:()=>c});var r=n(601),o=n.n(r),i=n(314),s=n.n(i)()(o());s.push([e.id,".UuBeegOGBV3_X4prw8pl{position:absolute;background-color:#fff;border:1px solid #999;width:auto;height:auto;min-width:min(100% - 120px,600px);min-height:min(100% - 120px,400px);top:var(--top-value, 50%);left:var(--left-value, 50%);border-radius:14px;box-shadow:0px 5px 25px rgba(0,0,0,.07);transition-delay:150ms;transition:all 300ms;transform:var(--transform-value, translateX(-50%) translateY(-50%) scale(0.9));opacity:var(--opacity-value, 0)}.XpiOnHrggFQPieURIrko{position:absolute;background-color:#fff;border:1px solid #ddd;width:auto;height:auto;border-radius:8px;box-shadow:0px 5px 25px rgba(0,0,0,.07);opacity:0;padding:8px;z-index:100000;box-sizing:border-box}.XpiOnHrggFQPieURIrko:empty{opacity:0}.pTtg4ffSEaTQOBV90PRY{position:absolute;width:100%;height:100%;transition:background-color 150ms;background-color:var(--background-color, rgba(0, 0, 0, 0.4))}",""]);var a="UuBeegOGBV3_X4prw8pl",u="XpiOnHrggFQPieURIrko",c="pTtg4ffSEaTQOBV90PRY";const l=s},987(e,t,n){"use strict";var r=n(516),o=n(18),i=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 o(t,"Accept"),o(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,o=t&&t.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(s){if("SyntaxError"===e.name)throw i(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}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={id:e,loaded:!1,exports:{}};return i[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);a.r(n);var i={};r=r||[null,o({}),o([]),o(o)];for(var s=2&t&&e;("object"==typeof s||"function"==typeof s)&&!~r.indexOf(s);s=o(s))Object.getOwnPropertyNames(s).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,a.d(n,i),n},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.nc=void 0;var u={};return(()=>{"use strict";a.r(u),a.d(u,{api:()=>e,appear:()=>t,blog:()=>n,document:()=>r,operations:()=>o,popup:()=>s,resizeDetecter:()=>l,storage:()=>f,timeline:()=>p,types:()=>d,useResize:()=>c,utils:()=>h});var e={};a.r(e),a.d(e,{ApiLoader:()=>Y,useApi:()=>G});var t={};a.r(t),a.d(t,{onAppear:()=>X});var n={};a.r(n),a.d(n,{BlogItem:()=>Mn,BlogList:()=>$n,BlogSideBar:()=>Bn,Item:()=>zn});var r={};a.r(r),a.d(r,{Body:()=>ui,Code:()=>wi,DocWrapper:()=>Ti,Image:()=>bi,Separator:()=>xi,Text:()=>yi,TextSize:()=>ii,TextStyle:()=>si,YoutubeVideo:()=>Ei,emptyBulletSvg:()=>mi,solidBulletSvg:()=>vi});var o={};a.r(o),a.d(o,{default:()=>Ri});var i={};a.r(i),a.d(i,{background:()=>Bi.Tp,default:()=>Fi,"popup-element":()=>Bi.IX,root:()=>Bi.zr});var s={};a.r(s),a.d(s,{Overlay:()=>Xa,ReactRootElement:()=>Ua,ReactRootElementPopup:()=>Fa,TooltipBoolean:()=>Ga,TooltipClick:()=>Ya,TooltipHover:()=>qa});var c={};a.r(c),a.d(c,{useResizeDetecter:()=>Za});var l={};a.r(l),a.d(l,{ResizeDetecter:()=>Ka});var f={};a.r(f),a.d(f,{Storage:()=>eu,useStates:()=>nu,useStorage:()=>tu});var p={};a.r(p),a.d(p,{ElementEnterLeave:()=>uf,ElementEnterLeaveXValues:()=>df,ElementEnterLeaveYValues:()=>pf,ScrollCoordinateType:()=>of,ScrollDirection:()=>nf,ScrollModel:()=>ef,SyncSmoothness:()=>lf,TimelineAutoPlay:()=>sf,TimelineCommandOption:()=>af,TimelineCommandOptionLabel:()=>cf,TimelineConfigType:()=>rf,TimelineDirection:()=>ff,TimelineDirectionValue:()=>vf,TimelineScreenType:()=>tf,getEnterLeaveConfigValue:()=>hf,getTimelineElements:()=>yf,useTimeline:()=>bf});var d={};a.r(d);var h={};a.r(h),a.d(h,{ScrollElementConfig:()=>gf,ScrollElementOrator:()=>mf,getCount:()=>_f,loopOnArray:()=>Rf,loopOnObject:()=>Sf,loopOnRange:()=>Ef,loopOnString:()=>Tf,prepareFocusEvent:()=>kf,prepareInputChangeEvent:()=>Nf,prepareKeyboardEvent:()=>Cf,prepareMouseEvent:()=>Lf,prepareUIEvent:()=>Pf,scrollTo:()=>If,toStyle:()=>Of,toText:()=>Af,useDidUpdateEffect:()=>wf});var g=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty;function y(e,t){return function(n,r,o){return e(n,r,o)&&t(n,r,o)}}function b(e){return function(t,n,r){if(!t||!n||"object"!=typeof t||"object"!=typeof n)return e(t,n,r);var o=r.cache,i=o.get(t),s=o.get(n);if(i&&s)return i===n&&s===t;o.set(t,n),o.set(n,t);var a=e(t,n,r);return o.delete(t),o.delete(n),a}}function x(e){return g(e).concat(m(e))}var _=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 A(e,t){return w(e.getTime(),t.getTime())}function O(e,t,n){if(e.size!==t.size)return!1;for(var r,o,i={},s=e.entries(),a=0;(r=s.next())&&!r.done;){for(var u=t.entries(),c=!1,l=0;(o=u.next())&&!o.done;){var f=r.value,p=f[0],d=f[1],h=o.value,g=h[0],m=h[1];c||i[l]||!(c=n.equals(p,g,a,l,e,t,n)&&n.equals(d,m,p,g,e,t,n))||(i[l]=!0),l++}if(!c)return!1;a++}return!0}function I(e,t,n){var r,o=S(e),i=o.length;if(S(t).length!==i)return!1;for(;i-- >0;){if((r=o[i])===E&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!_(t,r)||!n.equals(e[r],t[r],r,r,e,t,n))return!1}return!0}function L(e,t,n){var r,o,i,s=x(e),a=s.length;if(x(t).length!==a)return!1;for(;a-- >0;){if((r=s[a])===E&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!_(t,r))return!1;if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;if(o=T(e,r),i=T(t,r),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.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,o,i={},s=e.values();(r=s.next())&&!r.done;){for(var a=t.values(),u=!1,c=0;(o=a.next())&&!o.done;)u||i[c]||!(u=n.equals(r.value,o.value,r.value,o.value,e,t,n))||(i[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,o=e.createInternalComparator,i=e.createState,s=e.strict,a=void 0!==s&&s,u=function(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,o={areArraysEqual:r?L:R,areDatesEqual:A,areMapsEqual:r?y(O,L):O,areObjectsEqual:r?L:I,arePrimitiveWrappersEqual:N,areRegExpsEqual:C,areSetsEqual:r?y(k,L):k,areTypedArraysEqual:r?L:P};if(n&&(o=z({},o,n(o))),t){var i=b(o.areArraysEqual),s=b(o.areMapsEqual),a=b(o.areObjectsEqual),u=b(o.areSetsEqual);o=z({},o,{areArraysEqual:i,areMapsEqual:s,areObjectsEqual:a,areSetsEqual:u})}return o}(e),c=function(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areMapsEqual,o=e.areObjectsEqual,i=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 o(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&&o(e,c,l):"[object Arguments]"===p?o(e,c,l):("[object Boolean]"===p||"[object Number]"===p||"[object String]"===p)&&i(e,c,l)}}(u),l=o?o(c):(t=c,function(e,n,r,o,i,s,a){return t(e,n,a)});return function(e){var t=e.circular,n=e.comparator,r=e.createState,o=e.equals,i=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:o,meta:l,strict:i})};if(t)return function(e,t){return n(e,t,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var s={cache:void 0,equals:o,meta:void 0,strict:i};return function(e,t){return n(e,t,s)}}({circular:r,comparator:c,createState:i,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=a(155),F=a.t(U,2),W=a.n(U),H=a(505),q=a.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,o=e.body,i=Object.entries(e.query||{}).reduce(function(e,t,n){var r=t[0],o=t[1];return 0===n?"?".concat(r,"=").concat(o):"".concat(e,"&").concat(r,"=").concat(o)},"");q()({signal:this.controller.signal,method:"post",url:"".concat(r.host,"/").concat(r.path.startsWith("/")?r.path.slice(1):r.path).concat(i),headers:{"Content-Type":"application/json"},data:o}).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}},X=function(){return function(e){var t=null,n=0,r={};return addEventListener("scroll",function(){var o=e.scrollY||e.pageYOffset;null!=t&&(r.velocity=o-t,r.delta=r.velocity>=0?r.velocity:-1*r.velocity),t=o,n&&clearTimeout(n),n=setTimeout(function(){t=null},30)},!1),function(t){return function(){var t,n,o,i=!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(){o||(s.forEach(function(t,n){var r,o,i;t&&(r=t,o=l.bounds,(i=r.getBoundingClientRect()).top+i.height>=0&&i.left+i.width>=0&&i.bottom-i.height<=(e.innerHeight||document.documentElement.clientHeight)+o&&i.right-i.width<=(e.innerWidth||document.documentElement.clientWidth)+o)?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)||(o=!0,d(),l.done&&l.done()))}function g(){var e;if(!i&&(i=!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)},V=a(85),Z=a(531),K=function(){return K=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},K.apply(this,arguments)};function J(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Q=a(833),ee=a.n(Q),te="-ms-",ne="-moz-",re="-webkit-",oe="comm",ie="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 xe(e,t){return e.filter(function(e){return!pe(e,t)})}var _e=1,we=1,Ee=0,Te=0,Se=0,Re="";function Ae(e,t,n,r,o,i,s,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:_e,column:we,length:s,return:"",siblings:a}}function Oe(e,t){return le(Ae("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Ie(e){for(;e.root;)e=Oe(e.root,{children:[e]});be(e,e.siblings)}function Le(){return Se=Te>0?ge(Re,--Te):0,we--,10===Se&&(we=1,_e--),Se}function Ne(){return Se=Te<Ee?ge(Re,Te++):0,we++,10===Se&&(we=1,_e++),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 oe:return"";case ae:return e.return=e.value+"{"+Fe(e.children,r)+"}";case ie: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,o,i,s,a){return te+n+":"+r+a+(o?te+n+"-span:"+(i?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([Oe(e,{value:de(e.value,"@","@"+re)})],r);case ie: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(Oe(e,{props:[de(t,/:(read-\w+)/,":-moz-$1")]})),Ie(Oe(e,{props:[t]})),le(e,{props:xe(n,r)});break;case"::placeholder":Ie(Oe(e,{props:[de(t,/:(plac\w+)/,":"+re+"input-$1")]})),Ie(Oe(e,{props:[de(t,/:(plac\w+)/,":-moz-$1")]})),Ie(Oe(e,{props:[de(t,/:(plac\w+)/,te+"input-$1")]})),Ie(Oe(e,{props:[t]})),le(e,{props:xe(n,r)})}return""})}}function Ye(e){return function(e){return Re="",e}(Ge("",null,null,null,[""],e=function(e){return _e=we=1,Ee=ve(Re=e),Te=0,[]}(e),0,[0],e))}function Ge(e,t,n,r,o,i,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="",x=o,_=i,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(Ve(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=Xe(E,t,n,c,l,o,a,b,x=[],_=[],f,i),i),123===y)if(0===l)Ge(E,t,w,w,x,i,f,a,_);else switch(99===p&&110===ge(E,3)?100:p){case 100:case 108:case 109:case 115:Ge(e,w,w,r&&be(Xe(e,w,w,0,0,o,a,b,o,x=[],f,_),_),o,_,f,a,r?x:_);break;default:Ge(E,w,w,w,[""],_,0,a,_)}}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 i}function Xe(e,t,n,r,o,i,s,a,u,c,l,f){for(var p=o-1,d=0===o?i:[""],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])),x=e;y<h;++y)(x=fe(m>0?d[y]+" "+b:de(b,/&\f/g,d[y])))&&(u[v++]=x);return Ae(e,t,n,0===o?ie:a,u,c,l,f)}function Ve(e,t,n,r){return Ae(e,t,n,oe,ce(Se),me(e,2,-2),0,r)}function Ze(e,t,n,r,o){return Ae(e,t,n,se,me(e,0,r),me(e,r+1,-1),r,o)}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,ot=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),it=(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,xt=yt?Symbol.for("react.forward_ref"):60112,_t={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={})[xt]={$$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]:_t;var t}var Rt=Object.defineProperty,At=Object.getOwnPropertyNames,Ot=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 o=At(t);Ot&&(o=o.concat(Ot(t)));for(var i=St(e),s=St(t),a=0;a<o.length;++a){var u=o[a];if(!(u in wt||n&&n[u]||s&&u in s||i&&u in i)){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,o=r;e>=o;)if((o<<=1)<0)throw Bt(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var s=this.indexOfGroup(e+1),a=(i=0,t.length);i<a;i++)this.tag.insertRule(s,t[i])&&(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 o=n;o<r;o++)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),o=r+n,i=r;i<o;i++)t+="".concat(this.tag.getRule(i)).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,'"]'),Xt=new RegExp("^".concat(Je,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Vt=function(e,t,n){for(var r,o=n.split(","),i=0,s=o.length;i<s;i++)(r=o[i])&&e.registerName(t,r)},Zt=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(nt),o=[],i=0,s=r.length;i<s;i++){var a=r[i].trim();if(a){var u=a.match(Xt);if(u){var c=0|parseInt(u[1],10),l=u[2];0!==c&&(Yt(l,c),Vt(e,l,u[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(a)}}};function Kt(){return a.nc}var Jt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Je,"]")));return t[t.length-1]}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(Je,Qe),r.setAttribute(et,tt);var s=Kt();return s&&r.setAttribute("nonce",s),n.insertBefore(r,i),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 o=t[n];if(o.ownerNode===e)return o}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:!ot},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 o=t[n];o&&o.getAttribute(Je)!==Qe&&(Zt(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this)),$t(this,function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return Wt.get(e)}(n);if(void 0===o)return"continue";var i=e.names.get(o),s=t.getGroup(n);if(void 0===i||0===s.length)return"continue";var a="".concat(Je,".g").concat(n,'[id="').concat(o,'"]'),u="";void 0!==i&&i.forEach(function(e){e.length>0&&(u+="".concat(e,","))}),r+="".concat(s).concat(a,'{content:"').concat(u,'"}').concat(nt)},i=0;i<n;i++)o(i);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,o=void 0===e?st:e,i=o.options,s=void 0===i?st:i,a=o.plugins,u=void 0===a?it:a,c=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},l=u.slice();l.push(function(e){e.type===ie&&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,o,i,a){void 0===o&&(o=""),void 0===i&&(i=""),void 0===a&&(a="&"),t=a,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var u=e.replace(an,""),c=Ye(i||o?"".concat(i," ").concat(o," { ").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 o="",i=0;i<p;i++)o+=f[i](e,t,n,r)||"";return o})),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],o=hn().styleSheet,i=(0,U.useMemo)(function(){var t=o;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,o]),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:i,stylis:s}},[e.shouldForwardProp,i,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},xn=function(e){var t,n,r=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!bn(i)&&(Array.isArray(i)&&i.isCss||kt(i)?r.push("".concat(yn(o),":"),i,";"):zt(i)?r.push.apply(r,J(J(["".concat(o," {")],xn(i),!1),["}"],!1)):r.push("".concat(yn(o),": ").concat((t=o,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in Ke||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function _n(e,t,n,r){return bn(e)?[]:Pt(e)?[".".concat(e.styledComponentId)]:kt(e)?!kt(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:_n(e(t),t,n,r):e instanceof mn?n?(e.inject(n,r),[e.getName(r)]):[e]:zt(e)?xn(e):Array.isArray(e)?Array.prototype.concat.apply(it,e.map(function(e){return _n(e,t,n,r)})):[e.toString()];var o}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 o=Dt(_n(this.rules,e,t,n)),i=dt(gt(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var s=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,s)}r=jt(r,i),this.staticRulesId=i}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(_n(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 An(e,t,n){var r=Pt(e),o=e,i=!vt(e),s=t.attrs,a=void 0===s?it: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&&o.attrs?o.attrs.concat(a).filter(Boolean):a,h=t.shouldForwardProp;if(r&&o.shouldForwardProp){var g=o.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?o.componentStyle:void 0);function y(e,t){return function(e,t,n){var r=e.attrs,o=e.componentStyle,i=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,i)||st,d=function(e,t,n){for(var r,o=K(K({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var s=kt(r=e[i])?r(o):r;for(var a in s)o[a]="className"===a?jt(o[a],s[a]):"style"===a?K(K({},o[a]),s[a]):s[a]}return t.className&&(o.className=jt(o.className,t.className)),o}(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)}(o,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(o.foldedComponentIds,o.styledComponentId):"",b.styledComponentId=p,b.target=r?o.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,o=t;r<o.length;r++)Mt(e,o[r],!0);return e}({},o.defaultProps,e):e}}),$t(b,function(){return".".concat(b.styledComponentId)}),i&&Ct(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),b}function On(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;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(_n(On(it,J([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?_n(r):In(_n(On(r,t)))}function Nn(e,t,n){if(void 0===n&&(n=st),!t)throw Bt(1,t);var r=function(r){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return e(t,n,Ln.apply(void 0,J([r],o,!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(An,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 o=r(Dt(_n(this.rules,t,n,r)),""),i=this.componentId+e;n.insertRules(i,i,o)},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,o=e.level,i=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,V.jsxs)(V.Fragment,{children:[h?(0,V.jsx)(h,{properties:{title:r.name,isSelected:m},events:{click:function(){i?i(r.pagePath):u.push(r.pagePath)}},style:{paddingLeft:"".concat(15*o,"px")}}):(0,V.jsxs)(zn,{style:{paddingLeft:"".concat(15*o,"px")},children:[(0,V.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,V.jsxs)("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,V.jsx)("path",{d:"M0.0854187 1.36887L0.746734 0.696899L6.09215 5.95757L5.43083 6.62954L0.0854187 1.36887Z",fill:"black"}),(0,V.jsx)("path",{d:"M5.42025 5.29636L6.09215 5.95757L0.831473 11.3032L0.159501 10.6419L5.42025 5.29636Z",fill:"black"})]}):(0,V.jsx)("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,V.jsx)("circle",{cx:"3.44977",cy:"2.93213",r:"2",stroke:"#666666"})})}),(0,V.jsx)("div",{onClick:function(){i?i(r.pagePath):u.push(r.pagePath)},className:"text",children:r.name})]}),!!(null===(n=r.children)||void 0===n?void 0:n.length)&&p&&(0,V.jsx)($n,{onClick:i,list:r.children,level:o+1,itemWrapper:s})]})},$n=function(e){return(0,V.jsx)(V.Fragment,{children:e.list.map(function(t,n){return(0,V.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,V.jsx)(V.Fragment,{children:(0,V.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:()=>Vn});var Xn,Vn,Zn=Fn(()=>{Vn=[{sub:"todo",match:/#.*/g},{type:"str",match:/(["'])((?!\1)[^\r\n\\]|\\[^])*\1?/g,sub:[Xn={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},Xn]}),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:()=>or});var or,ir=Fn(()=>{or=[{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},...Vn]}),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,xr=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}]}),_r={};Wn(_r,{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}]}),Ar={};Wn(Ar,{default:()=>Or});var Or,Ir,Lr,Nr=Fn(()=>{Rr(),Or=[{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,Xr=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"}),Vr={};Wn(Vr,{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:()=>eo,type:()=>to});var eo,to,no=Fn(()=>{Jr(),eo=[{type:"kwd",match:/@\w+/g},{type:"class",match:/{[\w\s|<>,.@\[\]]+}/g},{type:"var",match:/\[[\w\s="']+\]/g},...Zr],to="cmnt"}),ro={};Wn(ro,{default:()=>oo});var oo,io=Fn(()=>{oo=[{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}]}),so={};Wn(so,{default:()=>ao});var ao,uo=Fn(()=>{Cr(),ao=[{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}]}),co={};Wn(co,{default:()=>lo});var lo,fo=Fn(()=>{uo(),Cr(),lo=[{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}]},...ao]}),po={};Wn(po,{default:()=>ho});var ho,go=Fn(()=>{ho=[{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}]}),mo={};Wn(mo,{default:()=>vo});var vo,yo=Fn(()=>{vo=[{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}]}),bo={};Wn(bo,{default:()=>xo});var xo,_o=Fn(()=>{xo=[{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"}]}),wo={};Wn(wo,{default:()=>Eo});var Eo,To=Fn(()=>{Eo=[{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}]}),So={};Wn(So,{default:()=>Ro});var Ro,Ao=Fn(()=>{Ro=[{expand:"strDouble"}]}),Oo={};Wn(Oo,{default:()=>Io});var Io,Lo=Fn(()=>{Io=[{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}]}),No={};Wn(No,{default:()=>Co,type:()=>ko});var Co,ko,Po=Fn(()=>{Co=[{match:/^(?!\/).*/gm,sub:"todo"},{type:"num",match:/\[((?!\])[^\\]|\\.)*\]/g},{type:"kwd",match:/\||\^|\$|\\.|\w+($|\r|\n)/g},{type:"var",match:/\*|\+|\{\d+,\d+\}/g}],ko="oper"}),jo={};Wn(jo,{default:()=>Do});var Do,zo=Fn(()=>{Do=[{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}]}),Mo={};Wn(Mo,{default:()=>$o});var $o,Bo=Fn(()=>{$o=[{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}]}),Uo={};Wn(Uo,{default:()=>Fo});var Fo,Wo=Fn(()=>{Fo=[{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}]}),Ho={};Wn(Ho,{default:()=>qo});var qo,Yo=Fn(()=>{Hr(),qo=[{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]}),Go={};Wn(Go,{default:()=>Xo});var Xo,Vo=Fn(()=>{Xo=[{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}]}),Zo={};Wn(Zo,{default:()=>Ko});var Ko,Jo,Qo=Fn(()=>{Ko=[{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}]}),ei={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}},ti=(Jo={"./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(()=>(ir(),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(()=>(xr(),yr)),"./languages/html.js":()=>Promise.resolve().then(()=>(Nr(),Ar)),"./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(()=>(Xr(),qr)),"./languages/jsdoc.js":()=>Promise.resolve().then(()=>(no(),Qr)),"./languages/json.js":()=>Promise.resolve().then(()=>(io(),ro)),"./languages/leanpub-md.js":()=>Promise.resolve().then(()=>(fo(),co)),"./languages/log.js":()=>Promise.resolve().then(()=>(go(),po)),"./languages/lua.js":()=>Promise.resolve().then(()=>(yo(),mo)),"./languages/make.js":()=>Promise.resolve().then(()=>(_o(),bo)),"./languages/md.js":()=>Promise.resolve().then(()=>(uo(),so)),"./languages/pl.js":()=>Promise.resolve().then(()=>(To(),wo)),"./languages/plain.js":()=>Promise.resolve().then(()=>(Ao(),So)),"./languages/py.js":()=>Promise.resolve().then(()=>(Lo(),Oo)),"./languages/regex.js":()=>Promise.resolve().then(()=>(Po(),No)),"./languages/rs.js":()=>Promise.resolve().then(()=>(zo(),jo)),"./languages/sql.js":()=>Promise.resolve().then(()=>(Bo(),Mo)),"./languages/todo.js":()=>Promise.resolve().then(()=>(Jr(),Vr)),"./languages/toml.js":()=>Promise.resolve().then(()=>(Wo(),Uo)),"./languages/ts.js":()=>Promise.resolve().then(()=>(Yo(),Ho)),"./languages/uri.js":()=>Promise.resolve().then(()=>(Vo(),Go)),"./languages/xml.js":()=>Promise.resolve().then(()=>(Rr(),_r)),"./languages/yaml.js":()=>Promise.resolve().then(()=>(Qo(),Zo))},e=>{var t=Jo[e];if(t)return t();throw new Error("Module not found in bundle: "+e)}),ni={};async function ri(e,t,n){try{let r,o,i,s={},a=[],u=0,c="string"==typeof t?await(ni[t]??(ni[t]=ti(`./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(o=l[r].expand?ei[l[r].expand]:l[r],void 0===a[r]||a[r].match.index<u){if(o.match.lastIndex=u,i=o.match.exec(e),null===i){l.splice(r,1),a.splice(r,1);continue}a[r]={match:i,lastIndex:o.match.lastIndex}}a[r].match[0]&&(a[r].match.index<=s.index||null===s.index)&&(s={part:o,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 ri(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 oi(e,t,n=!0,r={}){let o="";return await ri(e,t,(e,t)=>o+=((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>${o}</div></div>`:o}var ii,si,ai=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},ui=kn.div(ci||(ci=ai(["\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"}(ii||(ii={})),function(e){e[e.BOLD=0]="BOLD",e[e.UNDERLINE=1]="UNDERLINE",e[e.LINE_THRONG=2]="LINE_THRONG",e[e.ITALIC=3]="ITALIC"}(si||(si={}));var ci,li,fi,pi,di,hi,gi,mi=function(){return(0,V.jsx)("svg",{width:"7",height:"7",viewBox:"0 0 7 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,V.jsx)("rect",{x:"0.5",y:"0.5",width:"6",height:"6",rx:"3",fill:"#000000",stroke:"black"})})},vi=(0,V.jsx)("svg",{width:"7",height:"7",viewBox:"0 0 7 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,V.jsx)("rect",{x:"0.5",y:"0.5",width:"6",height:"6",rx:"3",stroke:"black"})}),yi=kn.div(li||(li=ai(["\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"])),ii.HEADLINE_1,ii.HEADLINE_2,ii.HEADLINE_3,ii.HEADLINE_4,ii.HEADLINE_5,ii.HEADLINE_6,ii.BODY_1,ii.BODY_2,si.BOLD,si.ITALIC,si.UNDERLINE,si.LINE_THRONG,si.UNDERLINE,si.LINE_THRONG),bi=kn.div(fi||(fi=ai(["\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"]))),xi=kn.div(pi||(pi=ai(["\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"]))),_i=kn.div(di||(di=ai(["\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"]))),wi=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 o=e.textContent;n??(n=("CODE"==e.tagName?"in":o.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 oi(o,t,"multiline"==n,r)}(e,"js"):e.innerText="Code is not set.")},[t]),(0,V.jsx)(_i,{children:(0,V.jsxs)("div",{children:[(0,V.jsx)("link",{rel:"stylesheet",href:"https://cdn.jsdelivr.net/gh/speed-highlight/core/dist/themes/github-light.css"}),(0,V.jsx)("div",{ref:n,className:"place-holder header shj-lang-js shj-multiline fira",children:!!t&&t})]})})},Ei=kn.div(hi||(hi=ai(["\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"]))),Ti=kn.div(gi||(gi=ai(["\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"]))),Si=function(e,t){};const Ri={canPush:Si,canRemove:Si,canRemoveAll:Si,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}};var Ai=a(514),Oi=a(72),Ii=a.n(Oi),Li=a(825),Ni=a.n(Li),Ci=a(659),ki=a.n(Ci),Pi=a(56),ji=a.n(Pi),Di=a(540),zi=a.n(Di),Mi=a(113),$i=a.n(Mi),Bi=a(983),Ui={};Ui.styleTagTransform=$i(),Ui.setAttributes=ji(),Ui.insert=ki().bind(null,"head"),Ui.domAPI=Ni(),Ui.insertStyleElement=zi(),Ii()(Bi.Ay,Ui);const Fi=Bi.Ay&&Bi.Ay.locals?Bi.Ay.locals:void 0;function Wi(){return"undefined"!=typeof window}function Hi(e){return Gi(e)?(e.nodeName||"").toLowerCase():"#document"}function qi(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Yi(e){var t;return null==(t=(Gi(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Gi(e){return!!Wi()&&(e instanceof Node||e instanceof qi(e).Node)}function Xi(e){return!!Wi()&&(e instanceof Element||e instanceof qi(e).Element)}function Vi(e){return!!Wi()&&(e instanceof HTMLElement||e instanceof qi(e).HTMLElement)}function Zi(e){return!(!Wi()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof qi(e).ShadowRoot)}const Ki=new Set(["inline","contents"]);function Ji(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ls(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Ki.has(o)}const Qi=new Set(["table","td","th"]);function es(e){return Qi.has(Hi(e))}const ts=[":popover-open",":modal"];function ns(e){return ts.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const rs=["transform","translate","scale","rotate","perspective"],os=["transform","translate","scale","rotate","perspective","filter"],is=["paint","layout","strict","content"];function ss(e){const t=as(),n=Xi(e)?ls(e):e;return rs.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||os.some(e=>(n.willChange||"").includes(e))||is.some(e=>(n.contain||"").includes(e))}function as(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const us=new Set(["html","body","#document"]);function cs(e){return us.has(Hi(e))}function ls(e){return qi(e).getComputedStyle(e)}function fs(e){return Xi(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ps(e){if("html"===Hi(e))return e;const t=e.assignedSlot||e.parentNode||Zi(e)&&e.host||Yi(e);return Zi(t)?t.host:t}function ds(e){const t=ps(e);return cs(t)?e.ownerDocument?e.ownerDocument.body:e.body:Vi(t)&&Ji(t)?t:ds(t)}function hs(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=ds(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=qi(o);if(i){const e=gs(s);return t.concat(s,s.visualViewport||[],Ji(o)?o:[],e&&n?hs(e):[])}return t.concat(o,hs(o,[],n))}function gs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ms(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Zi(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function vs(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function ys(e){return(null==e?void 0:e.ownerDocument)||document}function bs(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 xs(e){return"composedPath"in e?e.composedPath()[0]:e.target}const _s=Math.min,ws=Math.max,Es=Math.round,Ts=(Math.floor,e=>({x:e,y:e}));function Ss(e,t,n){return ws(e,_s(t,n))}function Rs(e,t){return"function"==typeof e?e(t):e}function As(e){return e.split("-")[0]}function Os(e){return e.split("-")[1]}function Is(e){return"x"===e?"y":"x"}const Ls=new Set(["top","bottom"]);function Ns(e){return Ls.has(As(e))?"y":"x"}function Cs(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ks(e,t,n){let{reference:r,floating:o}=e;const i=Ns(t),s=function(e){return Is(Ns(e))}(t),a="y"===s?"height":"width",u=As(t),c="y"===i,l=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[a]/2-o[a]/2;let d;switch(u){case"top":d={x:l,y:r.y-o.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-o.width,y:f};break;default:d={x:r.x,y:r.y}}switch(Os(t)){case"start":d[s]-=p*(n&&c?-1:1);break;case"end":d[s]+=p*(n&&c?-1:1)}return d}const Ps=new Set(["left","top"]);function js(e){const t=ls(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Vi(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Es(n)!==i||Es(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Ds(e){return Xi(e)?e:e.contextElement}function zs(e){const t=Ds(e);if(!Vi(t))return Ts(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=js(t);let s=(i?Es(n.width):n.width)/r,a=(i?Es(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Ms=Ts(0);function $s(e){const t=qi(e);return as()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ms}function Bs(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Ds(e);let s=Ts(1);t&&(r?Xi(r)&&(s=zs(r)):s=zs(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==qi(e))&&t}(i,n,r)?$s(i):Ts(0);let u=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,l=o.width/s.x,f=o.height/s.y;if(i){const e=qi(i),t=r&&Xi(r)?qi(r):r;let n=e,o=gs(n);for(;o&&r&&t!==n;){const e=zs(o),t=o.getBoundingClientRect(),r=ls(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,l*=e.x,f*=e.y,u+=i,c+=s,n=qi(o),o=gs(n)}}return Cs({width:l,height:f,x:u,y:c})}function Us(e,t){const n=fs(e).scrollLeft;return t?t.left+n:Bs(Yi(e)).left+n}function Fs(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Us(e,n),y:n.top+t.scrollTop}}const Ws=new Set(["absolute","fixed"]);function Hs(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=qi(e),r=Yi(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,u=0;if(o){i=o.width,s=o.height;const e=as();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,u=o.offsetTop)}const c=Us(r);if(c<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(r.clientWidth-t.clientWidth-o);s<=25&&(i-=s)}else c<=25&&(i+=c);return{width:i,height:s,x:a,y:u}}(e,n);else if("document"===t)r=function(e){const t=Yi(e),n=fs(e),r=e.ownerDocument.body,o=ws(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=ws(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Us(e);const a=-n.scrollTop;return"rtl"===ls(r).direction&&(s+=ws(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}(Yi(e));else if(Xi(t))r=function(e,t){const n=Bs(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Vi(e)?zs(e):Ts(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=$s(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Cs(r)}function qs(e,t){const n=ps(e);return!(n===t||!Xi(n)||cs(n))&&("fixed"===ls(n).position||qs(n,t))}function Ys(e,t,n){const r=Vi(t),o=Yi(t),i="fixed"===n,s=Bs(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const u=Ts(0);function c(){u.x=Us(o)}if(r||!r&&!i)if(("body"!==Hi(t)||Ji(o))&&(a=fs(t)),r){const e=Bs(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&c();i&&!r&&o&&c();const l=!o||r||i?Ts(0):Fs(o,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 Gs(e){return"static"===ls(e).position}function Xs(e,t){if(!Vi(e)||"fixed"===ls(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Yi(e)===n&&(n=n.ownerDocument.body),n}function Vs(e,t){const n=qi(e);if(ns(e))return n;if(!Vi(e)){let t=ps(e);for(;t&&!cs(t);){if(Xi(t)&&!Gs(t))return t;t=ps(t)}return n}let r=Xs(e,t);for(;r&&es(r)&&Gs(r);)r=Xs(r,t);return r&&cs(r)&&Gs(r)&&!ss(r)?n:r||function(e){let t=ps(e);for(;Vi(t)&&!cs(t);){if(ss(t))return t;if(ns(t))return null;t=ps(t)}return null}(e)||n}const Zs={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,s=Yi(r),a=!!t&&ns(t.floating);if(r===s||a&&i)return n;let u={scrollLeft:0,scrollTop:0},c=Ts(1);const l=Ts(0),f=Vi(r);if((f||!f&&!i)&&(("body"!==Hi(r)||Ji(s))&&(u=fs(r)),Vi(r))){const e=Bs(r);c=zs(r),l.x=e.x+r.clientLeft,l.y=e.y+r.clientTop}const p=!s||f||i?Ts(0):Fs(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:Yi,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?ns(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=hs(e,[],!1).filter(e=>Xi(e)&&"body"!==Hi(e)),o=null;const i="fixed"===ls(e).position;let s=i?ps(e):e;for(;Xi(s)&&!cs(s);){const t=ls(s),n=ss(s);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&Ws.has(o.position)||Ji(s)&&!n&&qs(e,s))?r=r.filter(e=>e!==s):o=t,s=ps(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=i[0],a=i.reduce((e,n)=>{const r=Hs(t,n,o);return e.top=ws(r.top,e.top),e.right=_s(r.right,e.right),e.bottom=_s(r.bottom,e.bottom),e.left=ws(r.left,e.left),e},Hs(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Vs,getElementRects:async function(e){const t=this.getOffsetParent||Vs,n=this.getDimensions,r=await n(e.floating);return{reference:Ys(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}=js(e);return{width:t,height:n}},getScale:zs,isElement:Xi,isRTL:function(e){return"rtl"===ls(e).direction}},Ks=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,u=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),s=As(n),a=Os(n),u="y"===Ns(n),c=Ps.has(s)?-1:1,l=i&&u?-1:1,f=Rs(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:o+u.x,y:i+u.y,data:{...u,placement:s}}}}},Js=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=Rs(e,t),c={x:n,y:r},l=await async function(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=Rs(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=Cs(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:l,strategy:u})),v="floating"===f?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},x=Cs(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:u}):v);return{top:(m.top-x.top+h.top)/b.y,bottom:(x.bottom-m.bottom+h.bottom)/b.y,left:(m.left-x.left+h.left)/b.x,right:(x.right-m.right+h.right)/b.x}}(t,u),f=Ns(As(o)),p=Is(f);let d=c[p],h=c[f];if(i){const e="y"===p?"bottom":"right";d=Ss(d+l["y"===p?"top":"left"],d,d-l[e])}if(s){const e="y"===f?"bottom":"right";h=Ss(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]:i,[f]:s}}}}}},Qs=(e,t,n)=>{const r=new Map,o={platform:Zs,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),u=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:l,y:f}=ks(c,r,u),p=r,d={},h=0;for(let n=0;n<a.length;n++){const{name:i,fn:g}=a[n],{x:m,y:v,data:y,reset:b}=await g({x:l,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:d,rects:c,platform:s,elements:{reference:e,floating:t}});l=null!=m?m:l,f=null!=v?v:f,d={...d,[i]:{...d[i],...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:o}):b.rects),({x:l,y:f}=ks(c,p,u))),n=-1)}return{x:l,y:f,placement:p,strategy:o,middlewareData:d}})(e,t,{...o,platform:i})};var ea="undefined"!=typeof document?U.useLayoutEffect:function(){};function ta(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,o;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(!ta(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||ta(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function na(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ra(e,t){const n=na(e);return Math.round(t*n)/n}function oa(e){const t=U.useRef(e);return ea(()=>{t.current=e}),t}const ia=(e,t)=>({...Ks(e),options:[e,t]}),sa=(e,t)=>({...Js(e),options:[e,t]}),aa={...F},ua=aa.useInsertionEffect||(e=>e());function ca(e){const t=U.useRef(()=>{});return ua(()=>{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 la="undefined"!=typeof document?U.useLayoutEffect:U.useEffect;let fa=!1,pa=0;const da=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+pa++,ha=aa.useId||function(){const[e,t]=U.useState(()=>fa?da():void 0);return la(()=>{null==e&&t(da())},[]),U.useEffect(()=>{fa=!0},[]),e};const ga=U.createContext(null),ma=U.createContext(null),va=()=>{var e;return(null==(e=U.useContext(ga))?void 0:e.id)||null},ya=()=>U.useContext(ma);function ba(e){return"data-floating-ui-"+e}function xa(e){const t=(0,U.useRef)(e);return la(()=>{t.current=e}),t}const _a=ba("safe-polygon");function wa(e,t,n){return n&&!vs(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function Ea(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 Ta="data-floating-ui-focusable";function Sa(e){return Vi(e.target)&&"BUTTON"===e.target.tagName}function Ra(e){return function(e){return Vi(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}(e)}const Aa={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Oa={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Ia=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 La(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,elements:o,dataRef:i}=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=ya(),m=ca("function"==typeof u?u:()=>!1),v="function"==typeof u?m:u,y=U.useRef(!1),b=U.useRef(!1),{escapeKey:x,outsidePress:_}=Ia(d),{escapeKey:w,outsidePress:E}=Ia(h),T=U.useRef(!1),S=ca(e=>{var t;if(!n||!s||!a||"Escape"!==e.key)return;if(T.current)return;const o=null==(t=i.current.floatingContext)?void 0:t.nodeId,u=g?Ea(g.nodesRef.current,o):[];if(!x&&(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=ca(e=>{var t;const n=()=>{var t;S(e),null==(t=xs(e))||t.removeEventListener("keydown",n)};null==(t=xs(e))||t.addEventListener("keydown",n)}),A=ca(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=xs(e),u="["+ba("inert")+"]",l=ys(o.floating).querySelectorAll(u);let f=Xi(a)?a:null;for(;f&&!cs(f);){const e=ps(f);if(cs(e)||!Xi(e))break;f=e}if(l.length&&Xi(a)&&!a.matches("html,body")&&!ms(a,o.floating)&&Array.from(l).every(e=>!ms(f,e)))return;if(Vi(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"===ls(a).direction&&(r=e.offsetX<=a.offsetWidth-a.clientWidth),r||t&&e.offsetY>a.clientHeight)return}const p=null==(t=i.current.floatingContext)?void 0:t.nodeId,d=g&&Ea(g.nodesRef.current,p).some(t=>{var n;return bs(e,null==(n=t.context)?void 0:n.elements.floating)});if(bs(e,o.floating)||bs(e,o.domReference)||d)return;const h=g?Ea(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")}),O=ca(e=>{var t;const n=()=>{var t;A(e),null==(t=xs(e))||t.removeEventListener(c,n)};null==(t=xs(e))||t.addEventListener(c,n)});U.useEffect(()=>{if(!n||!s)return;i.current.__escapeKeyBubbles=x,i.current.__outsidePressBubbles=_;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},as()?5:0)}const f=ys(o.floating);a&&(f.addEventListener("keydown",w?R:S,w),f.addEventListener("compositionstart",u),f.addEventListener("compositionend",l)),v&&f.addEventListener(c,E?O:A,E);let d=[];return p&&(Xi(o.domReference)&&(d=hs(o.domReference)),Xi(o.floating)&&(d=d.concat(hs(o.floating))),!Xi(o.reference)&&o.reference&&o.reference.contextElement&&(d=d.concat(hs(o.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?O:A,E),d.forEach(e=>{e.removeEventListener("scroll",t)}),window.clearTimeout(e)}},[i,o,a,v,c,n,r,p,s,x,_,S,w,R,A,E,O]),U.useEffect(()=>{y.current=!1},[v,c]);const I=U.useMemo(()=>({onKeyDown:S,[Aa[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},[Oa[c]]:()=>{y.current=!0}}),[S,c]);return U.useMemo(()=>s?{reference:I,floating:L}:{},[s,I,L])}function Na(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=ha(),i=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!=va(),[u,c]=U.useState(r.reference),l=ca((e,t,r)=>{i.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:i,open:t,onOpenChange:l,elements:p,events:s,floatingId:o,refs:f}),[t,l,p,s,o,f])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,s]=U.useState(null),[a,u]=U.useState(null),c=(null==o?void 0:o.reference)||i,l=U.useRef(null),f=ya();la(()=>{c&&(l.current=c)},[c]);const p=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,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);ta(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))},[]),x=i||h,_=s||m,w=U.useRef(null),E=U.useRef(null),T=U.useRef(l),S=null!=u,R=oa(u),A=oa(o),O=oa(c),I=U.useCallback(()=>{if(!w.current||!E.current)return;const e={placement:t,strategy:n,middleware:p};A.current&&(e.platform=A.current),Qs(w.current,E.current,e).then(e=>{const t={...e,isPositioned:!1!==O.current};L.current&&!ta(T.current,t)&&(T.current=t,Ai.flushSync(()=>{f(t)}))})},[p,t,n,A,O]);ea(()=>{!1===c&&T.current.isPositioned&&(T.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);const L=U.useRef(!1);ea(()=>(L.current=!0,()=>{L.current=!1}),[]),ea(()=>{if(x&&(w.current=x),_&&(E.current=_),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:x,floating:_}),[x,_]),k=U.useMemo(()=>{const e={position:n,left:0,top:0};if(!C.floating)return e;const t=ra(C.floating,l.x),r=ra(C.floating,l.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...na(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:{...o,...a&&{reference:a}}}),d=U.useCallback(e=>{const t=Xi(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;u(t),p.refs.setReference(t)},[p.refs]),h=U.useCallback(e=>{(Xi(e)||null===e)&&(l.current=e,s(e)),(Xi(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!Xi(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 la(()=>{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 Ca="active",ka="selected";function Pa(e,t,n){const r=new Map,o="item"===n;let i=e;if(o&&e){const{[Ca]:t,[ka]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1,[Ta]:""},...i,...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,i]=t;var s;o&&[Ca,ka].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof i&&(null==(s=r.get(n))||s.push(i),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map(e=>e(...o)).find(e=>void 0!==e)})):e[n]=i)}),e):e,{})}}function ja(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),o=U.useCallback(t=>Pa(t,e,"reference"),t),i=U.useCallback(t=>Pa(t,e,"floating"),n),s=U.useCallback(t=>Pa(t,e,"item"),r);return U.useMemo(()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:s}),[o,i,s])}function Da(e,t){const[n,r]=e;let o=!1;const i=t.length;for(let e=0,s=i-1;e<i;s=e++){const[i,a]=t[e]||[0,0],[u,c]=t[s]||[0,0];a>=r!=c>=r&&n<=(u-i)*(r-a)/(c-a)+i&&(o=!o)}return o}function za(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,i=!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(o),p()}if(clearTimeout(o),!f.domReference||!f.floating||null==l||null==n||null==c)return;const{clientX:m,clientY:v}=e,y=[m,v],b=xs(e),x="mouseleave"===e.type,_=ms(f.floating,b),w=ms(f.domReference,b),E=f.domReference.getBoundingClientRect(),T=f.floating.getBoundingClientRect(),S=l.split("-")[0],R=n>T.right-T.width/2,A=c>T.bottom-T.height/2,O=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(_&&(i=!0,!x))return;if(w&&(i=!1),w&&!x)return void(i=!0);if(x&&Xi(e.relatedTarget)&&ms(f.floating,e.relatedTarget))return;if(h&&Ea(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(!Da([m,v],j)){if(i&&!O)return g();if(!x&&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 o=e-s,i=t-a,c=Math.sqrt(o*o+i*i);return s=e,a=t,u=n,c/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return g()}Da([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:A?r+4*t:r-4*t],o=[n+t+1,L?r-t/2:A?r+4*t:r-4*t];return[[A||L?T.right-t:T.left,T.top],[A?L?T.right-t:T.left:T.right-t,T.bottom],e,o]}case"right":return[[n-t,L?r+t/2:A?r+4*t:r-4*t],[n-t,L?r-t/2:A?r+4*t:r-4*t],[A||L?T.left+t:T.right,T.top],[A?L?T.left+t:T.right:T.left+t,T.bottom]]}}([n,c]))?!i&&r&&(o=window.setTimeout(g,40)):g()}}};return c.__options={blockPointerEvents:n},c}var Ma=function(){return Ma=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ma.apply(this,arguments)},$a=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Ba=i,Ua=function(e){var t=e.top,n=e.left,r=e.isVisible,o=void 0!==r&&r,i=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),o?setTimeout(function(){c(!1)},50):(setTimeout(function(){c(!0)},50),setTimeout(function(){p(!1)},300))},[o]),(0,V.jsx)(V.Fragment,{children:f&&(0,Ai.createPortal)((0,V.jsx)("div",{className:Ba.root,style:Ma(Ma({},null==s?void 0:s.root),{"--background-color":u?"rgba(0, 0, 0, 0.0)":"rgba(0, 0, 0, 0.4)"}),children:(0,V.jsx)("div",{className:Ba.background,property:u?"--top-value: 50%":"--top-value: ".concat(t),style:Ma(Ma({},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:i()})}),document.body)})},Fa=function(e){var t=e.children,n=e.parent,r=e.onChange,o=e.popupAlignmentProps,i=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)(i||!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 Ha({popupAlignmentProps:o,element:p.current,parent:l,autoRemove:!i,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!==i&&g(i)},[i]),(0,U.useEffect)(function(){null==r||r(h)},[h]),(0,V.jsxs)(V.Fragment,{children:[m,h&&(0,Ai.createPortal)((0,V.jsx)("div",{className:Ba["popup-element"],style:o.style,ref:p,children:t({remove:function(){return g(!1)},parentRef:l||void 0})}),document.body)]})},Wa=[],Ha=function(){function e(e){var t=this;this.onDown=function(e){var n=parseInt(t.element.style.left),r=parseInt(t.element.style.top),o=function(o){t.element.style.left=n-(e.clientX-o.clientX)+"px",t.element.style.top=r-(e.clientY-o.clientY)+"px"},i=function(){s()},s=function(){window.removeEventListener("mousemove",o),window.addEventListener("mouseup",i)};window.addEventListener("mousemove",o),window.addEventListener("mouseup",i)},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=$a($a([],t.filterElementOnAutoRemove||[],!0),Wa,!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,Wa.push(e.element),Wa.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,o=document.body.offsetHeight-10,i=e.offsetTop,s=e.offsetLeft;if(n.height<o)n.top<10?e.style.top="10px":n.bottom>o&&(e.style.top=i-(n.bottom-o)+"px");else if(n.height>o){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,o=void 0===r?"left-edge":r,i=e.yMargin,s=void 0===i?0:i,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"===o)d.style.left="".concat((h.left<1?0:h.left)-g.width+u,"px");else if("left-edge"===o)d.style.left="".concat((h.left<1?0:h.left)+u,"px");else if("right-edge"===o)d.style.left="".concat((h.left<1?0:h.left)-g.width+h.width+u,"px");else if("center"===o){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;Wa=Wa.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}(),qa=function(e){var t=(0,U.useState)(!1),n=t[0],r=t[1],o=(0,U.useRef)(),i=Na({open:n,onOpenChange:r,middleware:[sa(),ia(e.offset||0)],placement:e.placement}),s=i.refs,a=i.x,u=i.y,c=i.strategy,l=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:i,elements:s}=e,{enabled:a=!0,delay:u=0,handleClose:c=null,mouseOnly:l=!1,restMs:f=0,move:p=!0}=t,d=ya(),h=va(),g=xa(c),m=xa(u),v=xa(n),y=U.useRef(),b=U.useRef(-1),x=U.useRef(),_=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=o.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[o]);U.useEffect(()=>{if(a)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(b.current),clearTimeout(_.current),w.current=!0,S.current=!1)}},[a,i]),U.useEffect(()=>{if(!a)return;if(!g.current)return;if(!n)return;function e(e){R()&&r(!1,e,"hover")}const t=ys(s.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[s.floating,n,r,a,g,R]);const A=U.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const o=wa(m.current,"close",y.current);o&&!x.current?(clearTimeout(b.current),b.current=window.setTimeout(()=>r(!1,e,n),o)):t&&(clearTimeout(b.current),r(!1,e,n))},[m,r]),O=ca(()=>{T.current(),x.current=void 0}),I=ca(()=>{if(E.current){const e=ys(s.floating).body;e.style.pointerEvents="",e.removeAttribute(_a),E.current=!1}});U.useEffect(()=>{if(a&&Xi(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",i,{once:!0}),t.addEventListener("mouseenter",i),t.addEventListener("mouseleave",u),()=>{var e;n&&t.removeEventListener("mouseleave",c),null==(e=s.floating)||e.removeEventListener("mouseleave",c),p&&t.removeEventListener("mousemove",i),t.removeEventListener("mouseenter",i),t.removeEventListener("mouseleave",u)}}function t(){return!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type)}function i(e){if(clearTimeout(b.current),w.current=!1,l&&!vs(y.current)||f>0&&!wa(m.current,"open"))return;const t=wa(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=ys(s.floating);if(clearTimeout(_.current),S.current=!1,g.current&&o.current.floatingContext){n||clearTimeout(b.current),x.current=g.current({...o.current.floatingContext,tree:d,x:e.clientX,y:e.clientY,onClose(){I(),O(),A(e,!0,"safe-polygon")}});const t=x.current;return r.addEventListener("mousemove",t),void(T.current=()=>{r.removeEventListener("mousemove",t)})}("touch"!==y.current||!ms(s.floating,e.relatedTarget))&&A(e)}function c(e){t()||o.current.floatingContext&&(null==g.current||g.current({...o.current.floatingContext,tree:d,x:e.clientX,y:e.clientY,onClose(){I(),O(),A(e)}})(e))}},[s,a,e,l,f,p,A,O,I,r,n,v,d,m,g,o]),la(()=>{var e;if(a&&n&&null!=(e=g.current)&&e.__options.blockPointerEvents&&R()){E.current=!0;const e=s.floating;if(Xi(s.domReference)&&e){var t;const n=ys(s.floating).body;n.setAttribute(_a,"");const r=s.domReference,o=null==d||null==(t=d.nodesRef.current.find(e=>e.id===h))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.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]),la(()=>{n||(y.current=void 0,S.current=!1,O(),I())},[n,O,I]),U.useEffect(()=>()=>{O(),clearTimeout(b.current),clearTimeout(_.current),I()},[a,s.domReference,O,I]);const L=U.useMemo(()=>{function e(e){y.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function o(){w.current||v.current||r(!0,t,"hover")}l&&!vs(y.current)||n||0===f||S.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(_.current),"touch"===y.current?o():(S.current=!0,_.current=window.setTimeout(o,f)))}}},[l,r,n,v,f]),N=U.useMemo(()=>({onMouseEnter(){clearTimeout(b.current)},onMouseLeave(e){A(e.nativeEvent,!1)}}),[A]);return U.useMemo(()=>a?{reference:L,floating:N}:{},[a,L,N])}(i.context,{handleClose:za({requireIntent:!1})}),f=ja([l]),p=f.getReferenceProps,d=f.getFloatingProps,h=p(),g=h.onMouseMove,m=h.onPointerDown,v=h.onPointerEnter,y=o.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,V.jsxs)(V.Fragment,{children:[e.children(function(e){o.current=e,s.setReference(e)}),n&&(0,Ai.createPortal)((0,V.jsx)("div",Ma({ref:s.setFloating,style:{position:c,top:null!=u?u:0,left:null!=a?a:0,zIndex:1e3}},d(),{children:e.element})),document.body)]})},Ya=function(e){var t=(0,U.useState)(!1),n=t[0],r=t[1],o=(0,U.useRef)(),i=Na({open:n,onOpenChange:r,middleware:[sa(),ia(e.offset||0)],placement:e.placement}),s=i.refs,a=i.x,u=i.y,c=i.strategy,l=i.context,f=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:o,elements:{domReference:i}}=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&&(vs(t,!0)&&c||(!n||!u||o.current.openEvent&&"mousedown"!==o.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:vs(t,!0)&&c||(!n||!u||o.current.openEvent&&"click"!==o.current.openEvent.type?r(!0,e.nativeEvent,"click"):r(!1,e.nativeEvent,"click"))},onKeyDown(e){f.current=void 0,e.defaultPrevented||!l||Sa(e)||(" "!==e.key||Ra(i)||(e.preventDefault(),p.current=!0),"Enter"===e.key&&r(!n||!u,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!l||Sa(e)||Ra(i)||" "===e.key&&p.current&&(p.current=!1,r(!n||!u,e.nativeEvent,"click"))}}),[o,i,a,c,l,r,n,u]);return U.useMemo(()=>s?{reference:d}:{},[s,d])}(l),p=ja([f,La(l)]),d=p.getReferenceProps,h=p.getFloatingProps,g=d(),m=g.onPointerDown,v=g.onMouseDown,y=g.onClick,b=g.onKeyDown,x=g.onKeyUp,_=o.current;return(0,U.useLayoutEffect)(function(){return null==_||_.addEventListener("pointerdown",m),null==_||_.addEventListener("click",y),null==_||_.addEventListener("mousedown",v),null==_||_.addEventListener("keydown",b),null==_||_.addEventListener("keyup",x),function(){null==_||_.removeEventListener("pointerdown",m),null==_||_.removeEventListener("click",y),null==_||_.removeEventListener("mousedown",v),null==_||_.removeEventListener("keydown",b),null==_||_.removeEventListener("keyup",x)}},[_,m,v,y,b,x]),(0,V.jsxs)(V.Fragment,{children:[e.children(function(e){o.current=e,s.setReference(e)}),n&&(0,Ai.createPortal)((0,V.jsx)("div",Ma({ref:s.setFloating,style:{position:c,top:null!=u?u:0,left:null!=a?a:0,zIndex:1e3}},h(),{children:e.element})),document.body)]})},Ga=function(e){var t=(0,U.useRef)(),n=Na({open:e.isOpen,middleware:[sa(),ia(e.offset||0)],placement:e.placement,onOpenChange:function(n,r,o){var i;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t.current)}}),r=n.refs,o=n.x,i=n.y,s=n.strategy,a=ja([La(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,V.jsxs)(V.Fragment,{children:[e.children(function(e){t.current=e,r.setReference(e)}),e.isOpen&&(0,Ai.createPortal)((0,V.jsx)("div",Ma({ref:r.setFloating,style:{position:s,top:null!=i?i:0,left:null!=o?o:0,zIndex:1e3}},c(),{children:e.element})),document.body)]})},Xa=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,V.jsx)(V.Fragment,{children:(0,Ai.createPortal)((0,V.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,V.jsx)("div",{style:{top:"0px",left:"0px",width:"".concat(n.clientWidth,"px"),height:"".concat(n.clientHeight,"px"),position:"absolute"},children:t})}),n)})},Va=function(e,t){return"%"===(null==t?void 0:t.unit)?e*((t.value||0)/100):(null==t?void 0:t.value)||0},Za=function(e,t,n){var r=0,o=function(o){var i=e.find(function(e,n,r){var o=t.clientWidth,i=t.computedStyleMap(),s=i.get("padding-left"),a=i.get("padding-left");if(o=o-Va(o,s)-Va(o,a),0===n)return o>=e;if(r.length===n+1)return!0;var u=r[n-1];return o>=e&&o<u||void 0});r!==i&&(n(o,r,i),r=i)},i=new ResizeObserver(function(){o(!1)});return o(!0),i.observe(t),i},Ka=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,o=t[0],i=t[1];if(i.rendered){var s=i.item.ref;s&&(i.size&&s.classList.add("w".concat(i.size,"px")),i.resizeObserver&&i.item.ref===i.element||(null===(r=i.resizeObserver)||void 0===r||r.disconnect(),i.element=s,i.resizeObserver=Za(i.sizes.map(function(e){return e.width}),s,function(t,n,r){window.requestAnimationFrame(function(){var t,o,a=i.sizes.find(function(e){return e.width===n}),u=i.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||(o=s.classList).add.apply(o,null==u?void 0:u.className)),i.size=r,e.onUpdate()})})))}else null===(n=i.resizeObserver)||void 0===n||n.disconnect(),delete e.elements[o];i.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}(),Ja=a(543),Qa=a.n(Ja),eu=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 o=n.getApisRequest(r);Object.entries(t).forEach(function(e){var t=e[0];e[1].load(o[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=Qa().cloneDeep(this.baseState),o=this.getApisRequest(r),i=Object.entries(o).reduce(function(t,r){var o=r[0],i=r[1],s=new Y(function(){n.emit(e)});return s.load(i),t[o]=s,t},{});this.bank[e]={state:r,mutated:r,apiLoaders:i,apis:this.collectResponse(i),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}(),tu=function(e,t){var n=(0,U.useState)({}),r=(n[0],n[1]),o=(0,U.useMemo)(function(){var n=function(){return r({})};return t.mount(e,n),n},[e]);return(0,U.useEffect)(function(){},[o,e]),{state:t.bank[e].mutated,apis:t.bank[e].apis,set:function(n,r){return t.set(e,n,r?o: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}}},nu=function(e){var t=(0,U.useState)({}),n=(t[0],t[1]),r=(0,U.useMemo)(function(){return Qa().cloneDeep(e)},[]);return{state:r,getState:function(){return r},setState:function(e){return n({}),!0}}};const ru="undefined"!=typeof window,ou=ru?window:null,iu=ru?document:null,su={replace:0,none:1,blend:2},au=Symbol(),uu=Symbol(),cu=Symbol(),lu=Symbol(),fu=(Symbol(),Symbol()),pu=1e-11,du=1e12,hu=1e3,gu="",mu=new Map;mu.set("x","translateX"),mu.set("y","translateY"),mu.set("z","translateZ");const vu=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],yu=vu.reduce((e,t)=>({...e,[t]:t+"("}),{}),bu=()=>{},xu=/(^#([\da-f]{3}){1,2}$)|(^#([\da-f]{4}){1,2}$)/i,_u=/rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i,wu=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,Eu=/hsl\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*\)/i,Tu=/hsla\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,Su=/[-+]?\d*\.?\d+(?:e[-+]?\d)?/gi,Ru=/^([-+]?\d*\.?\d+(?:e[-+]?\d+)?)([a-z]+|%)$/i,Au=/([a-z])([A-Z])/g,Ou=/(\w+)(\([^)]+\)+)/g,Iu=/(\*=|\+=|-=)/,Lu={id:null,keyframes:null,playbackEase:null,playbackRate:1,frameRate:120,loop:0,reversed:!1,alternate:!1,autoplay:!0,duration:hu,delay:0,loopDelay:0,ease:"out(2)",composition:su.replace,modifier:e=>e,onBegin:bu,onBeforeUpdate:bu,onUpdate:bu,onLoop:bu,onPause:bu,onComplete:bu,onRender:bu},Nu={defaults:Lu,root:iu,scope:null,precision:4,timeScale:1,tickThreshold:200},Cu={version:"4.0.0",engine:null};ru&&(ou.AnimeJS||(ou.AnimeJS=[]),ou.AnimeJS.push(Cu));const ku=(e,t)=>0===e.indexOf(t),Pu=Date.now,ju=Array.isArray,Du=e=>e&&e.constructor===Object,zu=e=>"number"==typeof e&&!isNaN(e),Mu=e=>"string"==typeof e,$u=e=>"function"==typeof e,Bu=e=>void 0===e,Uu=e=>Bu(e)||null===e,Fu=e=>ru&&e instanceof SVGElement,Wu=e=>xu.test(e),Hu=e=>ku(e,"rgb"),qu=e=>ku(e,"hsl"),Yu=e=>!Nu.defaults.hasOwnProperty(e),Gu=e=>Mu(e)?parseFloat(e):e,Xu=Math.pow,Vu=Math.sqrt,Zu=Math.sin,Ku=Math.cos,Ju=Math.abs,Qu=(Math.exp,Math.ceil),ec=Math.floor,tc=Math.asin,nc=(Math.max,Math.atan2,Math.PI),rc=Math.round,oc=(e,t,n)=>e<t?t:e>n?n:e,ic={},sc=(e,t)=>{if(t<0)return e;if(!t)return rc(e);let n=ic[t];return n||(n=ic[t]=10**t),rc(e*n)/n},ac=(e,t,n)=>e+(t-e)*n,uc=e=>e===1/0?du:e===-1/0?-1e12:e,cc=e=>e<pu?pu:e,lc=e=>ju(e)?[...e]:e,fc=(e,t)=>{const n={...e};for(let r in t){const o=e[r];n[r]=Bu(o)?t[r]:o}return n},pc=(e,t,n,r="_prev",o="_next")=>{let i=e._head,s=o;for(n&&(i=e._tail,s=r);i;){const e=i[s];t(i),i=e}},dc=(e,t,n="_prev",r="_next")=>{const o=t[n],i=t[r];o?o[r]=i:e._head=i,i?i[n]=o:e._tail=o,t[n]=null,t[r]=null},hc=(e,t,n,r="_prev",o="_next")=>{let i=e._tail;for(;i&&n&&n(i,t);)i=i[r];const s=i?i[o]:e._head;i?i[o]=t:e._head=t,s?s[r]=t:e._tail=t,t[r]=i,t[o]=s};class gc{constructor(e=0){this.deltaTime=0,this._currentTime=e,this._elapsedTime=e,this._startTime=e,this._lastTime=e,this._scheduledTime=0,this._frameDuration=sc(hu/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<pu?pu:n,o=sc(hu/r,0);this._fps=r,this._frameDuration=o,this._scheduledTime+=o-t}get speed(){return this._speed}set speed(e){const t=+e;this._speed=t<pu?pu:t}requestTick(e){const t=this._scheduledTime,n=this._elapsedTime;if(this._elapsedTime+=e-n,n<t)return 0;const r=this._frameDuration,o=n-t;return this._scheduledTime+=o<r?r:o,1}computeDeltaTime(e){const t=e-this._lastTime;return this.deltaTime=t,this._lastTime=e,t}}const mc=(e,t,n,r,o)=>{const i=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=oc(m,-g,s),x=oc(y,-g,s),_=y-m,w=x>0,E=x>=s,T=s<=pu,S=2===o;let R=0,A=y,O=0;if(c>1){const t=~~(x/(u+(E?0:f)));e._currentIteration=oc(t,0,c),E&&e._currentIteration--,R=e._currentIteration%2,A=x%(u+f)||0}const I=p^(d&&R),L=e._ease;let N=E?I?0:s:I?u-A:A;L&&(N=u*L(N/u)||0);const C=(i?i.backwards:y<m)?!I:!!I;if(e._currentTime=y,e._iterationTime=N,e.backwards=C,w&&!e.began?(e.began=!0,n||i&&(C||!i.began)||e.onBegin(e)):y<=0&&(e.began=!1),n||h||!w||e._currentIteration===l||e.onLoop(e),S||1===o&&(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*_:_)>=Nu.tickThreshold,o=e._offset+(i?i._offset:0)+g+N;let s,a,u,c,l=e._head,f=0;for(;l;){const e=l._composition,n=l._currentTime,i=l._changeDuration,p=l._absoluteStartTime+l._changeDuration,d=l._nextRep,h=l._prevRep,g=e!==su.none;if((t||(n!==i||o<=p+(d?d._delay:0))&&(0!==n||o>=l._absoluteStartTime))&&(!g||!l._isOverridden&&(!l._isOverlapped||o<=p)&&(!d||d._isOverridden||o<=d._absoluteStartTime)&&(!h||h._isOverridden||o>=h._absoluteStartTime+h._changeDuration+l._delay))){const t=l._currentTime=oc(N-l._startTime,0,i),n=l._ease(t/l._updateDuration),o=l._modifier,p=l._valueType,d=l._tweenType,h=0===d,m=0===p,v=m&&h||0===n||1===n?-1:Nu.precision;let y,b;if(m)y=b=o(sc(ac(l._fromNumber,l._toNumber,n),v));else if(1===p)b=o(sc(ac(l._fromNumber,l._toNumber,n),v)),y=`${b}${l._unit}`;else if(2===p){const e=l._fromNumbers,t=l._toNumbers,r=sc(oc(o(ac(e[0],t[0],n)),0,255),0),i=sc(oc(o(ac(e[1],t[1],n)),0,255),0),s=sc(oc(o(ac(e[2],t[2],n)),0,255),0),a=oc(o(sc(ac(e[3],t[3],n),v)),0,1);if(y=`rgba(${r},${i},${s},${a})`,g){const e=l._numbers;e[0]=r,e[1]=i,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=o(sc(ac(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===su.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[lu]),c[e]=y,f=1):2===d?a[e]=y:4===d&&a.setProperty(e,y)),w&&(O=1)}}if(f&&l._renderTransforms){let e=gu;for(let t in c)e+=`${yu[t]}${c[t]}) `;a.transform=e,f=0}l=l._next}!n&&O&&e.onRender(e)}!n&&w&&e.onUpdate(e)}return i&&T?!n&&(i.began&&!C&&y>=s&&!a||C&&y<=pu&&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||i&&(C||!i.began)||(e.onComplete(e),e._resolve(e)))):e.completed=!1,O},vc=(e,t,n,r,o)=>{const i=e._currentIteration;if(mc(e,t,n,r,o),e._hasChildren){const s=e,a=s.backwards,u=r?t:s._iterationTime,c=Pu();let l=0,f=!0;if(!r&&s._currentIteration!==i){const e=s.iterationDuration;pc(s,t=>{if(a){const r=t.duration,o=t._offset+t._delay;n||!(r<=pu)||o&&o+r!==e||t.onComplete(t)}else!t.completed&&!t.backwards&&t._currentTime<t.iterationDuration&&mc(t,e,n,1,2),t.began=!1,t.completed=!1}),n||s.onLoop(s)}pc(s,e=>{const t=sc((u-e._offset)*e._speed,12),i=e._fps<s._fps?e.requestTick(c):o;l+=mc(e,t,n,r,i),!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))))}},yc={animation:null,update:bu},bc=ru?requestAnimationFrame:setImmediate,xc=ru?cancelAnimationFrame:clearImmediate;class _c extends gc{constructor(e){super(e),this.useDefaultMainLoop=!0,this.pauseOnDocumentHidden=!0,this.defaults=Lu,this.paused=!(!ru||!iu.hidden),this.reqId=null}update(){const e=this._currentTime=Pu();if(this.requestTick(e)){this.computeDeltaTime(e);const t=this._speed,n=this._fps;let r=this._head;for(;r;){const o=r._next;r.paused?(dc(this,r),this._hasChildren=!!this._tail,r._running=!1,r.completed&&!r._cancelled&&r.cancel()):vc(r,(e-r._startTime)*r._speed*t,0,0,r._fps<n?r.requestTick(e):1),r=o}yc.update()}}wake(){return!this.useDefaultMainLoop||this.reqId||this.paused||(this.reqId=bc(Ec)),this}pause(){return this.paused=!0,Tc()}resume(){if(this.paused)return this.paused=!1,pc(this,e=>e.resetTime()),this.wake()}get speed(){return this._speed*(1===Nu.timeScale?1:hu)}set speed(e){this._speed=e*Nu.timeScale,pc(this,e=>e.speed=e._speed)}get timeUnit(){return 1===Nu.timeScale?"ms":"s"}set timeUnit(e){const t="s"===e,n=t?.001:1;if(Nu.timeScale!==n){Nu.timeScale=n,Nu.tickThreshold=200*n;const e=t?.001:hu;this.defaults.duration*=e,this._speed*=e}}get precision(){return Nu.precision}set precision(e){Nu.precision=e}}const wc=(()=>{const e=new _c(Pu());return ru&&(Cu.engine=e,iu.addEventListener("visibilitychange",()=>{e.pauseOnDocumentHidden&&(iu.hidden?e.pause():e.resume())})),e})(),Ec=()=>{wc._head?(wc.reqId=bc(Ec),wc.update()):wc.reqId=0},Tc=()=>(xc(wc.reqId),wc.reqId=0,wc);function Sc(e){const t=Mu(e)?Nu.root.querySelectorAll(e):e;if(t instanceof NodeList||t instanceof HTMLCollection)return t}function Rc(e){if(Uu(e))return[];if(ju(e)){const t=e.flat(1/0),n=[];for(let e=0,r=t.length;e<r;e++){const r=t[e];if(!Uu(r)){const e=Sc(r);if(e)for(let t=0,r=e.length;t<r;t++){const r=e[t];if(!Uu(r)){let e=!1;for(let t=0,o=n.length;t<o;t++)if(n[t]===r){e=!0;break}e||n.push(r)}}else{let e=!1;for(let t=0,o=n.length;t<o;t++)if(n[t]===r){e=!0;break}e||n.push(r)}}}return n}if(!ru)return[e];const t=Sc(e);return t?Array.from(t):[e]}function Ac(e){const t=Rc(e),n=t.length;if(n)for(let e=0;e<n;e++){const n=t[e];if(!n[au]){n[au]=!0;const e=Fu(n);(n.nodeType||e)&&(n[uu]=!0,n[cu]=e,n[lu]={})}}return t}const Oc=["opacity","rotate","overflow","color"],Ic=(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),Lc=(e,t)=>Bu(e)?t:e,Nc=(e,t,n,r,o)=>{if($u(e)){const i=()=>{const o=e(t,n,r);return isNaN(+o)?o||0:+o};return o&&(o.func=i),i()}return e},Cc=(e,t)=>e[uu]?e[cu]&&((e,t)=>{if(Oc.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:vu.includes(t)||mu.get(t)?3:ku(t,"--")?4:t in e.style?2:t in e?0:1:0,kc=(e,t,n)=>{const r=e.style[t];r&&n&&(n[t]=r);const o=r||getComputedStyle(e[fu]||e).getPropertyValue(t);return"auto"===o?"0":o},Pc=(e,t,n,r)=>{const o=Bu(n)?Cc(e,t):n;return 0===o?e[t]||0:1===o?e.getAttribute(t):3===o?((e,t,n)=>{const r=e.style.transform;let o;if(r){const i=e[lu];let s;for(;s=Ou.exec(r);){const e=s[1],r=s[2].slice(1,-1);i[e]=r,e===t&&(o=r,n&&(n[t]=r))}}return r&&!Bu(o)?o:ku(t,"scale")?"1":ku(t,"rotate")||ku(t,"skew")?"0deg":"0px"})(e,t,r):4===o?kc(e,t,r).trimStart():kc(e,t,r)},jc=(e,t,n)=>"-"===n?e-t:"+"===n?e+t:e*t,Dc=(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 o=!n.includes(" ")&&Ru.exec(n);if(o)return t.t=1,t.n=+o[1],t.u=o[2],t;if(t.o)return t.n=+n,t;if((e=>Wu(e)||Hu(e)||qu(e))(n))return t.t=2,t.d=Hu(r=n)?(e=>{const t=_u.exec(e)||wu.exec(e),n=Bu(t[4])?1:+t[4];return[+t[1],+t[2],+t[3],n]})(r):Wu(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):qu(r)?(e=>{const t=Eu.exec(e)||Tu.exec(e),n=+t[1]/360,r=+t[2]/100,o=+t[3]/100,i=Bu(t[4])?1:+t[4];let s,a,u;if(0===r)s=a=u=o;else{const e=o<.5?o*(1+r):o+r-o*r,t=2*o-e;s=sc(255*Ic(t,e,n+1/3),0),a=sc(255*Ic(t,e,n),0),u=sc(255*Ic(t,e,n-1/3),0)}return[s,a,u,i]})(r):[0,0,0,1],t;{const e=n.match(Su);return t.t=3,t.d=e?e.map(Number):[],t.s=n.split(Su)||[],t}}var r;return t.n=n,t},zc=(e,t)=>(t.t=e._valueType,t.n=e._toNumber,t.u=e._unit,t.o=null,t.d=lc(e._toNumbers),t.s=lc(e._strings),t),Mc={t:0,n:0,u:null,o:null,d:null,s:null},$c={_rep:new WeakMap,_add:new Map},Bc=(e,t,n="_rep")=>{const r=$c[n];let o=r.get(e);return o||(o={},r.set(e,o)),o[t]?o[t]:o[t]={_head:null,_tail:null}},Uc=(e,t)=>e._isOverridden||e._absoluteStartTime>t._absoluteStartTime,Fc=e=>{e._isOverlapped=1,e._isOverridden=1,e._changeDuration=pu,e._currentTime=pu},Wc=(e,t)=>{const n=e._composition;if(n===su.replace){const n=e._absoluteStartTime;hc(t,e,Uc,"_prevRep","_nextRep");const r=e._prevRep;if(r){const t=r.parent,o=r._absoluteStartTime+r._changeDuration;if(e.parent.id!==t.id&&t.iterationCount>1&&o+(t.duration-t.iterationDuration)>n){Fc(r);let e=r._prevRep;for(;e&&e.parent.id===t.id;)Fc(e),e=e._prevRep}const i=n-e._delay;if(o>i){const e=r._startTime,t=o-(e+r._updateDuration);r._changeDuration=i-t-e,r._currentTime=r._changeDuration,r._isOverlapped=1,r._changeDuration<pu&&Fc(r)}let s=!0;if(pc(t,e=>{e._isOverlapped||(s=!1)}),s){const e=t.parent;if(e){let n=!0;pc(e,e=>{e!==t&&pc(e,e=>{e._isOverlapped||(n=!1)})}),n&&e.cancel()}else t.cancel()}}}else if(n===su.blend){const t=Bc(e.target,e.property,"_add"),n=(e=>{let t=yc.animation;return t||(t={duration:pu,computeDeltaTime:bu,_offset:0,_delay:0,_head:null,_tail:null},yc.animation=t,yc.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?lc(r._fromNumbers):null;let o=r._fromNumber,i=n._tail;for(;i&&i!==r;){if(t)for(let e=0,n=i._numbers.length;e<n;e++)t[e]+=i._numbers[e];else o+=i._number;i=i._prevAdd}r._toNumber=o,r._toNumbers=t}}}),mc(t,1,1,0,2)}),t})($c._add);let r=t._head;r||(r={...e},r._composition=su.replace,r._updateDuration=pu,r._startTime=0,r._numbers=lc(e._fromNumbers),r._number=0,r._next=null,r._prev=null,hc(t,r),hc(n,r));const o=e._toNumber;if(e._fromNumber=r._fromNumber-o,e._toNumber=0,e._numbers=lc(e._fromNumbers),e._number=0,r._fromNumber=o,e._toNumbers){const t=lc(e._toNumbers);t&&t.forEach((t,n)=>{e._fromNumbers[n]=r._fromNumbers[n]-t,e._toNumbers[n]=0}),r._fromNumbers=t}hc(t,e,null,"_prevAdd","_nextAdd")}return e},Hc=e=>{const t=e._composition;if(t!==su.none){const n=e.target,r=e.property,o=$c._rep.get(n)[r];if(dc(o,e,"_prevRep","_nextRep"),t===su.blend){const t=$c._add,o=t.get(n);if(!o)return;const i=o[r],s=yc.animation;dc(i,e,"_prevAdd","_nextAdd");const a=i._head;if(a&&a===i._tail){dc(i,a,"_prevAdd","_nextAdd"),dc(s,a);let e=!0;for(let t in o)if(o[t]._head){e=!1;break}e&&t.delete(n)}}}return e},qc=e=>(e.paused=!0,e.began=!1,e.completed=!1,e),Yc=e=>e._cancelled?(e._hasChildren?pc(e,Yc):pc(e,e=>{e._composition!==su.none&&Wc(e,Bc(e.target,e.property))}),e._cancelled=0,e):e;let Gc=0;class Xc extends gc{constructor(e={},t=null,n=0){super(0);const{id:r,delay:o,duration:i,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;Nu.scope&&Nu.scope.revertibles.push(this);const b=t?0:wc._elapsedTime,x=t?t.defaults:Nu.defaults,_=$u(o)||Bu(o)?x.delay:+o,w=$u(i)||Bu(i)?1/0:+i,E=Lc(u,x.loop),T=Lc(c,x.loopDelay),S=!0===E||E===1/0||E<0?1/0:E+1;let R=0;if(t)R=n;else{let e=Pu();wc.paused&&(wc.requestTick(e),e=wc._elapsedTime),R=e-wc._startTime}this.id=Bu(r)?++Gc:r,this.parent=t,this.duration=uc((w+T)*S-T)||pu,this.backwards=!1,this.paused=!0,this.began=!1,this.completed=!1,this.onBegin=m||x.onBegin,this.onBeforeUpdate=v||x.onBeforeUpdate,this.onUpdate=y||x.onUpdate,this.onLoop=h||x.onLoop,this.onPause=g||x.onPause,this.onComplete=d||x.onComplete,this.iterationDuration=w,this.iterationCount=S,this._autoplay=!t&&Lc(l,x.autoplay),this._offset=R,this._delay=_,this._loopDelay=T,this._iterationTime=0,this._currentIteration=0,this._resolve=bu,this._running=!1,this._reversed=+Lc(s,x.reversed),this._reverse=this._reversed,this._cancelled=0,this._alternate=Lc(a,x.alternate),this._prev=null,this._next=null,this._elapsedTime=b,this._startTime=b,this._lastTime=b,this._fps=Lc(f,x.frameRate),this._speed=Lc(p,x.playbackRate)}get cancelled(){return!!this._cancelled}set cancelled(e){e?this.cancel():this.reset(1).play()}get currentTime(){return oc(sc(this._currentTime,Nu.precision),-this._delay,this.duration)}set currentTime(e){const t=this.paused;this.pause().seek(+e),t||this.resume()}get iterationCurrentTime(){return sc(this._iterationTime,Nu.precision)}set iterationCurrentTime(e){this.currentTime=this.iterationDuration*this._currentIteration+e}get progress(){return oc(sc(this._currentTime/this.duration,5),0,1)}set progress(e){this.currentTime=this.duration*e}get iterationProgress(){return oc(sc(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*oc(+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 Yc(this),this._reversed&&!this._reverse&&(this.reversed=!1),this._iterationTime=this.iterationDuration,vc(this,0,1,e,2),qc(this),this._hasChildren&&pc(this,qc),this}init(e=0){this.fps=this._fps,this.speed=this._speed,!e&&this._hasChildren&&vc(this,this.duration,1,e,2),this.reset(e);const t=this._autoplay;return!0===t?this.resume():t&&!Bu(t.linked)&&t.link(this),this}resetTime(){const e=1/(this._speed*wc._speed);return this._startTime=Pu()-(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<=pu&&!this._hasChildren?vc(this,pu,0,0,2):(this._running||(hc(wc,this),wc._hasChildren=!0,this._running=!0),this.resetTime(),this._startTime-=12,wc.wake()),this):this}restart(){return this.reset(0).resume()}seek(e,t=0,n=0){Yc(this),this.completed=!1;const r=this.paused;return this.paused=!0,vc(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?ec(du/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?pc(this,e=>e.cancel(),!0):pc(this,Hc),this._cancelled=1,this.pause()}stretch(e){const t=this.duration;if(t===cc(e))return this;const n=e/t,r=e<=pu;return this.duration=r?pu:cc(uc(sc(t*n,12))),this.iterationDuration=r?pu:cc(uc(sc(this.iterationDuration*n,12))),this._offset*=n,this._delay*=n,this._loopDelay*=n,this}revert(){vc(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=bu){const t=this.then,n=()=>{this.then=null,e(this),this.then=t,this._resolve=bu};return new Promise(e=>(this._resolve=()=>e(n()),this.completed&&this._resolve(),this))}}const Vc=e=>e,Zc=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Kc=(e=.5,t=0,n=.5,r=1)=>e===t&&n===r?Vc:o=>0===o||1===o?o:Zc(((e,t,n)=>{let r,o,i=0,s=1,a=0;do{o=i+(s-i)/2,r=Zc(o,t,n)-e,r>0?s=o:i=o}while(Ju(r)>1e-7&&++a<100);return o})(o,e,n),t,r),Jc=(e=10,t)=>{const n=t?Qu:ec;return t=>n(oc(t,0,1)*e)*(1/e)},Qc=(...e)=>{const t=e.length;if(!t)return Vc;const n=t-1,r=e[0],o=e[n],i=[0],s=[Gu(r)];for(let t=1;t<n;t++){const r=e[t],o=Mu(r)?r.trim().split(" "):[r],a=o[0],u=o[1];i.push(Bu(u)?t/n:Gu(u)/100),s.push(Gu(a))}return s.push(Gu(o)),i.push(1),function(e){for(let t=1,n=i.length;t<n;t++){const n=i[t];if(e<=n){const r=i[t-1],o=s[t-1];return o+(s[t]-o)*(e-r)/(n-r)}}return s[s.length-1]}},el=(e=10,t=1)=>{const n=[0],r=e-1;for(let e=1;e<r;e++){const o=n[e-1],i=e/r,s=i*(1-t)+(i+((e+1)/r-i)*Math.random())*t;n.push(oc(s,o,1))}return n.push(1),Qc(...n)},tl=nc/2,nl=2*nc,rl=(e=1.68)=>t=>Xu(t,+e),ol={[gu]:rl,Quad:rl(2),Cubic:rl(3),Quart:rl(4),Quint:rl(5),Sine:e=>1-Ku(e*tl),Circ:e=>1-Vu(1-e*e),Expo:e=>e?Xu(2,10*e-10):0,Bounce:e=>{let t,n=4;for(;e<((t=Xu(2,--n))-1)/11;);return 1/Xu(4,3-n)-7.5625*Xu((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=oc(+e,1,10),r=oc(+t,pu,2),o=r/nl*tc(1/n),i=nl/r;return e=>0===e||1===e?e:-n*Xu(2,-10*(1-e))*Zu((1-e-o)*i)}},il={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},sl=(()=>{const e={linear:Qc,irregular:el,steps:Jc,cubicBezier:Kc};for(let t in il)for(let n in ol){const r=ol[n],o=il[t];e[t+n]=n===gu||"Back"===n||"Elastic"===n?(e,t)=>o(r(e,t)):o(r)}return e})(),al={linear:Vc},ul=e=>$u(e)?e:Mu(e)?((e,t,n)=>{if(n[e])return n[e];if(e.indexOf("(")<=-1){const r=il[e]||e.includes("Back")||e.includes("Elastic")?t[e]():t[e];return r?n[e]=r:Vc}{const r=e.slice(0,-1).split("("),o=t[r[0]];return o?n[e]=o(...r[1].split(",")):Vc}})(e,sl,al):Vc,cl={},ll=(e,t,n)=>{if(3===n){return mu.get(e)||e}if(2===n||1===n&&Fu(t)&&e in t.style){const t=cl[e];if(t)return t;{const t=e?e.replace(Au,"$1-$2").toLowerCase():e;return cl[e]=t,t}}return e},fl={deg:1,rad:180/nc,turn:360},pl={},dl=(e,t,n,r=!1)=>{const o=t.u,i=t.n;if(1===t.t&&o===n)return t;const s=i+o+n,a=pl[s];if(Bu(a)||r){let r;if(o in fl)r=i*fl[o]/fl[n];else{const t=100,s=e.cloneNode(),a=e.parentNode,u=a&&a!==iu?a:iu.body;u.appendChild(s);const c=s.style;c.width=t+o;const l=s.offsetWidth||t;c.width=t+n;const f=l/(s.offsetWidth||t);u.removeChild(s),r=f*i}t.n=r,pl[s]=r}else t.n=a;return t.t,t.u=n,t},hl=e=>{if(e._hasChildren)pc(e,hl,!0);else{const t=e;t.pause(),pc(t,e=>{const n=e.property,r=e.target;if(r[uu]){const o=r.style,i=t._inlineStyles[n];if(3===e._tweenType){const t=r[lu];if(Bu(i)||i===gu?delete t[n]:t[n]=i,e._renderTransforms)if(Object.keys(t).length){let e=gu;for(let n in t)e+=yu[n]+t[n]+") ";o.transform=e}else o.removeProperty("transform")}else Bu(i)||i===gu?o.removeProperty(n):o[n]=i;t._tail===e&&t.targets.forEach(e=>{e.getAttribute&&e.getAttribute("style")===gu&&e.removeAttribute("style")})}})}return e},gl={t:0,n:0,u:null,o:null,d:null,s:null},ml={t:0,n:0,u:null,o:null,d:null,s:null},vl={func:null},yl=[null],bl=[null,null],xl={to:null};let _l,wl,El=0;class Tl extends Xc{constructor(e,t,n,r,o=!1,i=0,s=0){super(t,n,r);const a=Ac(e),u=a.length,c=t.keyframes,l=c?fc(((e,t)=>{const n={};if(ju(e)){const t=[].concat(...e.map(e=>Object.keys(e))).filter(Yu);for(let r=0,o=t.length;r<o;r++){const o=t[r],i=e.map(e=>{const t={};for(let n in e){const r=e[n];Yu(n)?n===o&&(t.to=r):t[n]=r}return t});n[o]=i}}else{const r=Lc(t.duration,Nu.defaults.duration),o=Object.keys(e).map(t=>({o:parseFloat(t)/100,p:e[t]})).sort((e,t)=>e.o-t.o);o.forEach(e=>{const t=e.o,o=e.p;for(let e in o)if(Yu(e)){let i=n[e];i||(i=n[e]=[]);const s=t*r;let a=i.length,u=i[a-1];const c={to:o[e]};let l=0;for(let e=0;e<a;e++)l+=i[e].duration;1===a&&(c.from=u.to),o.ease&&(c.ease=o.ease),c.duration=s-(a?l:0),i.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],o=n.ease;n.ease=r||void 0,r=o}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:Nu.defaults,b=Lc(h,y.playbackEase),x=b?ul(b):null,_=!Bu(d)&&!Bu(d.ease),w=_?d.ease:Lc(d,x?"linear":y.ease),E=_?d.duration:Lc(p,y.duration),T=Lc(f,y.delay),S=g||y.modifier,R=Bu(m)&&u>=hu?su.none:Bu(m)?y.composition:m,A={},O=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=i||e,c=s||u;let f=NaN,p=NaN;for(let e in l)if(Yu(e)){const i=Cc(t,e),s=ll(e,t,i);let a=l[e];const u=ju(a);if(o&&!u&&(bl[0]=a,bl[1]=a,a=bl),u){const e=a.length,t=!Du(a[0]);2===e&&t?(xl.to=a,yl[0]=xl,_l=yl):e>2&&t?(_l=[],a.forEach((e,t)=>{t?1===t?(bl[1]=e,_l.push(bl)):_l.push(e):bl[0]=e})):_l=a}else yl[0]=a,_l=yl;let d=null,h=null,g=NaN,m=0,v=0;for(let e=_l.length;v<e;v++){const o=_l[v];Du(o)?wl=o:(xl.to=o,wl=xl),vl.func=null;const a=Nc(wl.to,t,r,c,vl);let u;Du(a)&&!Bu(a.to)?(wl=a,u=a.to):u=a;const l=Nc(wl.from,t,r,c),f=wl.ease,p=!Bu(f)&&!Bu(f.ease),y=p?f.ease:f||w,b=p?f.duration:Nc(Lc(wl.duration,e>1?Nc(E,t,r,c)/e:E),t,r,c),x=Nc(Lc(wl.delay,v?0:T),t,r,c),_=Nc(Lc(wl.composition,R),t,r,c),I=zu(_)?_:su[_],L=wl.modifier||S,k=!Bu(l),P=!Bu(u),j=ju(u),D=j||k&&P,z=h?m+x:x,M=O+z;C||!k&&!j||(C=1);let $=h;if(I!==su.none){d||(d=Bc(t,s));let e=d._head;for(;e&&!e._isOverridden&&e._absoluteStartTime<=M;)if($=e,e=e._nextRep,e&&e._absoluteStartTime>=M)for(;e;)Fc(e),e=e._nextRep}if(D?(Dc(j?Nc(u[0],t,r,c):l,gl),Dc(j?Nc(u[1],t,r,c,vl):u,ml),0===gl.t&&($?1===$._valueType&&(gl.t=1,gl.u=$._unit):(Dc(Pc(t,s,i,A),Mc),1===Mc.t&&(gl.t=1,gl.u=Mc.u)))):(P?Dc(u,ml):h?zc(h,ml):Dc(n&&$&&$.parent.parent===n?$._value:Pc(t,s,i,A),ml),k?Dc(l,gl):h?zc(h,gl):Dc(n&&$&&$.parent.parent===n?$._value:Pc(t,s,i,A),gl)),gl.o&&(gl.n=jc($?$._toNumber:Dc(Pc(t,s,i,A),Mc).n,gl.n,gl.o)),ml.o&&(ml.n=jc(gl.n,ml.n,ml.o)),gl.t!==ml.t)if(3===gl.t||3===ml.t){const e=3===gl.t?gl:ml,t=3===gl.t?ml:gl;t.t=3,t.s=lc(e.s),t.d=e.d.map(()=>t.n)}else if(1===gl.t||1===ml.t){const e=1===gl.t?gl:ml,t=1===gl.t?ml:gl;t.t=1,t.u=e.u}else if(2===gl.t||2===ml.t){const e=2===gl.t?gl:ml,t=2===gl.t?ml:gl;t.t=2,t.s=e.s,t.d=[0,0,0,1]}if(gl.u!==ml.u){let e=ml.u?gl:ml;e=dl(t,e,ml.u?ml.u:gl.u,!1)}if(ml.d&&gl.d&&ml.d.length!==gl.d.length){const e=gl.d.length>ml.d.length?gl:ml,t=e===gl?ml:gl;t.d=e.d.map((e,n)=>Bu(t.d[n])?0:t.d[n]),t.s=lc(e.s)}const B=sc(+b||pu,12),U={parent:this,id:El++,property:s,target:t,_value:null,_func:vl.func,_ease:ul(y),_fromNumbers:lc(gl.d),_toNumbers:lc(ml.d),_strings:lc(ml.s),_fromNumber:gl.n,_toNumber:ml.n,_numbers:lc(gl.d),_number:gl.n,_unit:ml.u,_modifier:L,_currentTime:0,_startTime:z,_delay:+x,_updateDuration:B,_changeDuration:B,_absoluteStartTime:M,_tweenType:i,_valueType:ml.t,_composition:I,_isOverlapped:0,_isOverridden:0,_renderTransforms:0,_prevRep:null,_nextRep:null,_prevAdd:null,_nextAdd:null,_prev:null,_next:null};I!==su.none&&Wc(U,d),isNaN(g)&&(g=U._startTime),m=sc(z+B,12),h=U,N++,hc(this,U)}(isNaN(L)||g<L)&&(L=g),(isNaN(I)||m>I)&&(I=m),3===i&&(f=N-v,p=N)}if(!isNaN(f)){let e=0;pc(this,t=>{e>=f&&e<p&&(t._renderTransforms=1,t._composition===su.blend&&pc(yc.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?(pc(this,e=>{e._startTime-e._delay||(e._delay-=L),e._startTime-=L}),I-=L):L=0,I||(I=pu,this.iterationCount=0),this.targets=a,this.duration=I===pu?pu:uc((I+this._loopDelay)*this.iterationCount-this._loopDelay)||pu,this.onRender=v||y.onRender,this._ease=x,this._delay=L,this.iterationDuration=I,this._inlineStyles=A,!this._autoplay&&C&&this.onRender(this)}stretch(e){const t=this.duration;if(t===cc(e))return this;const n=e/t;return pc(this,e=>{e._updateDuration=cc(sc(e._updateDuration*n,12)),e._changeDuration=cc(sc(e._changeDuration*n,12)),e._currentTime*=n,e._startTime*=n,e._absoluteStartTime*=n}),super.stretch(e)}refresh(){return pc(this,e=>{const t=Pc(e.target,e.property,e._tweenType);Dc(t,Mc),e._fromNumbers=lc(Mc.d),e._fromNumber=Mc.n,e._func&&(Dc(e._func(),ml),e._toNumbers=lc(ml.d),e._strings=lc(ml.s),e._toNumber=ml.n)}),this}revert(){return super.revert(),hl(this)}then(e){return super.then(e)}}vu.filter(e=>["X","Y","Z"].some(t=>e.endsWith(t))),ru&&(Bu(CSS)||Object.hasOwnProperty.call(CSS,"registerProperty"));const Sl={_head:null,_tail:null},Rl=(e,t,n)=>{let r=Sl._head;for(;r;){const o=r._next,i=r.$el===e,s=!t||r.property===t,a=!n||r.parent===n;if(i&&s&&a){const e=r.animation;try{e.commitStyles()}catch{}e.cancel(),dc(Sl,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=o}},Al=(e=bu)=>new Xc({duration:1*Nu.timeScale,onComplete:e},null,0).resume();function Ol(e,t,n){const r=Ac(e);if(!r.length)return;const[o]=r,i=Cc(o,t),s=ll(t,o,i);let a=Pc(o,s);if(Bu(n))return a;if(Dc(a,Mc),0===Mc.t||1===Mc.t){if(!1===n)return Mc.n;{const e=dl(o,Mc,n,!1);return`${sc(e.n,Nu.precision)}${e.u}`}}}const Il=(e,t)=>{if(!Bu(t))return t.duration=pu,t.composition=Lc(t.composition,su.none),new Tl(e,t,null,0,!0).resume()},Ll=(e,t,n)=>{let r=!1;return pc(t,o=>{const i=o.target;if(e.includes(i)){const e=o.property,s=o._tweenType,a=ll(n,i,s);(!a||a&&a===e)&&(o.parent._tail===o&&3===o._tweenType&&o._prev&&3===o._prev._tweenType&&(o._prev._renderTransforms=1),dc(t,o),Hc(o),r=!0)}},!0),r},Nl=(e,t,n)=>{const r=Rc(e),o=t||wc,i=t&&t.controlAnimation&&t;for(let e=0,t=r.length;e<t;e++){const t=r[e];Rl(t,n,i)}let s;if(o._hasChildren){let t=0;pc(o,i=>{if(!i._hasChildren)if(s=Ll(r,i,n),s&&!i._head)i.cancel(),dc(o,i);else{const e=i._offset+i._delay+i.duration;e>t&&(t=e)}i._head?Nl(e,i,n):i._hasChildren=!1},!0),Bu(o.iterationDuration)||(o.iterationDuration=t)}else s=Ll(r,o,n);return s&&!o._head&&(o._hasChildren=!1,o.cancel&&o.cancel()),r},Cl=(e,t,n)=>{const r=10**(n||0);return ec((Math.random()*(t-e+1/r)+e)*r)/r},kl=(e,t,n,r)=>{let o=hu/Nu.defaults.frameRate;if(!1!==r){const e=r||wc._hasChildren&&wc;e&&e.deltaTime&&(o=e.deltaTime)}const i=1-Math.exp(-n*o*.1);return n?1===n?t:(1-i)*e+i*t:e},Pl=e=>(...t)=>{const n=e(...t);return new Proxy(bu,{apply:(e,t,[r])=>n(r),get:(e,t)=>Pl((...e)=>{const r=Dl[t](...e);return e=>r(n(e))})})},jl=(e,t=0)=>(...n)=>(n.length<e.length?Pl(((e,t=0)=>(...n)=>t?t=>e(...n,t):t=>e(t,...n))(e,t)):e)(...n),Dl={$:Ac,get:Ol,set:Il,remove:Nl,cleanInlineStyles:hl,random:Cl,randomPick:e=>e[Cl(0,e.length-1)],shuffle:e=>{let t,n,r=e.length;for(;r;)n=Cl(0,--r),t=e[r],e[r]=e[n],e[n]=t;return e},lerp:kl,sync:Al,clamp:jl(oc),round:jl(sc),snap:jl((e,t)=>ju(t)?t.reduce((t,n)=>Ju(n-e)<Ju(t-e)?n:t):t?rc(e/t)*t:e),wrap:jl((e,t,n)=>((e-t)%(n-t)+(n-t))%(n-t)+t),interpolate:jl(ac,1),mapRange:jl((e,t,n,r,o)=>r+(e-t)/(n-t)*(o-r)),roundPad:jl((e,t)=>(+e).toFixed(t)),padStart:jl((e,t,n)=>`${e}`.padStart(t,n)),padEnd:jl((e,t,n)=>`${e}`.padEnd(t,n)),degToRad:jl(e=>e*nc/180),radToDeg:jl(e=>180*e/nc)},zl=(e,t)=>{let n=e.iterationDuration;if(n===pu&&(n=0),Bu(t))return n;if(zu(+t))return+t;const r=t,o=e?e.labels:null,i=!Uu(o),s=((e,t)=>{if(ku(t,"<")){const n="<"===t[1],r=e._tail,o=r?r._offset+r._delay:0;return n?o:o+r.duration}})(e,r),a=!Bu(s),u=Iu.exec(r);if(u){const e=u[0],t=r.split(e),c=i&&t[0]?o[t[0]]:n,l=a?s:i?c:n,f=+t[1];return jc(l,f,e[0])}return a?s:i?Bu(o[r])?n:o[r]:n};function Ml(e,t,n,r,o,i){const s=zu(e.duration)&&e.duration<=pu?n-pu:n;vc(t,s,1,1,1);const a=r?new Tl(r,e,t,s,!1,o,i):new Xc(e,t,s);return a.init(1),hc(t,a),pc(t,e=>{const n=e._offset+e._delay+e.duration;n>t.iterationDuration&&(t.iterationDuration=n)}),t.duration=function(e){return uc((e.iterationDuration+e._loopDelay)*e.iterationCount-e._loopDelay)||pu}(t),t}class $l extends Xc{constructor(e={}){super(e,null,0),this.duration=0,this.labels={};const t=e.defaults,n=Nu.defaults;this.defaults=t?fc(t,n):n,this.onRender=e.onRender||n.onRender;const r=Lc(e.playbackEase,n.playbackEase);this._ease=r?ul(r):null,this.iterationDuration=0}add(e,t,n){const r=Du(t),o=Du(e);if(r||o){if(this._hasChildren=!0,r){const r=t;if($u(n)){const t=n,o=Rc(e),i=this.duration,s=this.iterationDuration,a=r.id;let u=0;const c=o.length;o.forEach(e=>{const n={...r};this.duration=i,this.iterationDuration=s,Bu(a)||(n.id=a+"-"+u),Ml(n,this,t(e,u,c,this),e,u,c),u++})}else Ml(r,this,zl(this,n),e)}else Ml(e,this,zl(this,t));return this.init(1)}}sync(e,t){if(Bu(e)||e&&Bu(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 Bu(t)?this:(t.duration=pu,t.composition=su.replace,this.add(e,t,n))}call(e,t){return Bu(e)||e&&!$u(e)?this:this.add({duration:0,onComplete:()=>e(this)},t)}label(e,t){return Bu(e)||e&&!Mu(e)||(this.labels[e]=zl(this,t)),this}remove(e,t){return Nl(e,this,t),this}stretch(e){const t=this.duration;if(t===cc(e))return this;const n=e/t,r=this.labels;pc(this,e=>{e.stretch(e.duration*n)});for(let e in r)r[e]*=n;return super.stretch(e)}refresh(){return pc(this,e=>{e.refresh&&e.refresh()}),this}revert(){return super.revert(),pc(this,e=>e.revert,!0),hl(this)}then(e){return super.then(e)}}const Bl=(e,t)=>e&&$u(e)?e(t):e,Ul=new Map;class Fl{constructor(e){this.element=e,this.useWin=this.element===iu.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 Xc({autoplay:!1,onBegin:()=>this.dataTimer.resume(),onUpdate:()=>{const e=this.backwardX||this.backwardY;pc(this,e=>e.handleScroll(),e)},onComplete:()=>this.dataTimer.pause()}).init(),this.dataTimer=new Xc({autoplay:!1,frameRate:30,onUpdate:e=>{const t=e.deltaTime,n=this.prevScrollX,r=this.prevScrollY,o=this.scrollX,i=this.scrollY,s=n-o,a=r-i;this.prevScrollX=o,this.prevScrollY=i,s&&(this.backwardX=n>o),a&&(this.backwardY=r>i),this.velocity=sc(t>0?Math.sqrt(s*s+a*a)/t:0,5)}}).init(),this.resizeTicker=new Xc({autoplay:!1,duration:250*Nu.timeScale,onComplete:()=>{this.updateWindowBounds(),this.refreshScrollObservers(),this.handleScroll()}}).init(),this.wakeTicker=new Xc({autoplay:!1,duration:500*Nu.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?ou:this.element).addEventListener("scroll",this,!1)}updateScrollCoords(){const e=this.useWin,t=this.element;this.scrollX=sc(e?ou.scrollX:t.scrollLeft,0),this.scrollY=sc(e?ou.scrollY:t.scrollTop,0)}updateWindowBounds(){this.winWidth=ou.innerWidth,this.winHeight=(()=>{const e=document.createElement("div");iu.body.appendChild(e),e.style.height="100lvh";const t=e.offsetHeight;return iu.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(){pc(this,e=>{e._debug&&e.removeDebug()}),this.updateBounds(),pc(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?ou:this.element).removeEventListener("scroll",this),Ul.delete(this.element)}}const Wl=(e,t,n,r,o)=>{const i="min"===t,s="max"===t,a="top"===t||"left"===t||"start"===t||i?0:"bottom"===t||"right"===t||"end"===t||s?"100%":"center"===t?"50%":t,{n:u,u:c}=Dc(a,Mc);let l=u;return"%"===c?l=u/100*n:c&&(l=dl(e,Mc,"px",!0).n),s&&r<0&&(l+=r),i&&o>0&&(l+=o),l},Hl=(e,t,n,r,o)=>{let i;if(Mu(t)){const s=Iu.exec(t);if(s){const a=s[0],u=a[0],c=t.split(a),l="min"===c[0],f="max"===c[0],p=Wl(e,c[0],n,r,o),d=Wl(e,c[1],n,r,o);if(l){const t=jc(Wl(e,"min",n),d,u);i=t<p?p:t}else if(f){const t=jc(Wl(e,"max",n),d,u);i=t>p?p:t}else i=jc(p,d,u)}else i=Wl(e,t,n,r,o)}else i=t;return sc(i,0)},ql=e=>{let t;const n=e.targets;for(let e=0,r=n.length;e<r;e++){const r=n[e];if(r[uu]){t=r;break}}return t};let Yl=0;const Gl=["#FF4B4B","#FF971B","#FFC730","#F9F640","#7AFF5A","#18FF74","#17E09B","#3CFFEC","#05DBE9","#33B3F1","#638CF9","#C563FE","#FF4FCF","#F93F8A"];class Xl{constructor(e={}){Nu.scope&&Nu.scope.revertibles.push(this);const t=Lc(e.sync,"play pause"),n=t?ul(t):null,r=t&&("linear"===t||t===Vc),o=t&&!(n===Vc&&!r),i=t&&(zu(t)||!0===t||r),s=t&&Mu(t)&&!o&&!i,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=Yl++,this.id=Bu(e.id)?this.index:e.id,this.container=(e=>{const t=e&&Rc(e)[0]||iu.body;let n=Ul.get(t);return n||(n=new Fl(t),Ul.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=o||i||!!a,this.syncEase=o?n:null,this.syncSmooth=i?!0===t||r?1:t:null,this.onSyncEnter=a&&!u&&a[0]?a[0]:bu,this.onSyncLeave=a&&!u&&a[1]?a[1]:bu,this.onSyncEnterForward=a&&u&&a[0]?a[0]:bu,this.onSyncLeaveForward=a&&u&&a[1]?a[1]:bu,this.onSyncEnterBackward=a&&u&&a[2]?a[2]:bu,this.onSyncLeaveBackward=a&&u&&a[3]?a[3]:bu,this.onEnter=e.onEnter||bu,this.onLeave=e.onLeave||bu,this.onEnterForward=e.onEnterForward||bu,this.onLeaveForward=e.onLeaveForward||bu,this.onEnterBackward=e.onEnterBackward||bu,this.onLeaveBackward=e.onLeaveBackward||bu,this.onUpdate=e.onUpdate||bu,this.onSyncComplete=e.onSyncComplete||bu,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=Lc(e.debug,!1),this._next=null,this._prev=null,hc(this.container,this),Al(()=>{if(!this.reverted){if(!this.target){const t=Rc(e.target)[0];this.target=t||iu.body,this.refresh()}this._debug&&this.debug()}})}link(e){if(e&&(e.pause(),this.linked=e,!this._params.target)){let t;Bu(e.targets)?pc(e,e=>{e.targets&&!t&&(t=ql(e))}):t=ql(e),this.target=t||iu.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:sc(oc(e,0,1),6)}refresh(){this.reverted=!1;const e=this._params;return this.repeat=Lc(Bl(e.repeat,this),!0),this.horizontal="x"===Lc(Bl(e.axis,this),"y"),this.enter=Lc(Bl(e.enter,this),"end start"),this.leave=Lc(Bl(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=iu.createElement("div"),o=iu.createElement("div"),i=iu.createElement("div"),s=Gl[this.index%Gl.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",x=e=>t?"0px "+e+"px":e+"px 2px",_=e=>`linear-gradient(${t?90:0}deg, ${e} 2px, transparent 1px)`,w=(e,t,n,r,o)=>`position:${e};left:${t}px;top:${n}px;width:${r}px;height:${o}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 `,o.style.cssText=`${w("sticky",0,0,t?u:g,t?g:c)}`,n||(o.style.cssText+=`background:\n ${_("#FFFF")}${x(g-10)} / 100px 100px ${b},\n ${_("#FFF8")}${x(g-10)} / 10px 10px ${b};\n `),i.style.cssText=`${w("relative",0,0,t?l:g,t?g:f)}`,n||(i.style.cssText+=`background:\n ${_("#FFFF")}${x(0)} / ${t?"100px 10px":"10px 100px"} ${b},\n ${_("#FFF8")}${x(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,x=iu.createElement("div"),_=iu.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;_.innerHTML=`${this.id}${E[d]}${this.thresholds[n]}`,x.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 `,_.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 `,x.appendChild(_);let R=a-S+(t?1:0);x.style[t?"left":"top"]=`${R}px`,(r?o:i).appendChild(x)}),r.appendChild(o),r.appendChild(i),e.element.appendChild(r),n||r.classList.add("animejs-onscroll-debug"),this.$debug=r,"static"===Ol(e.element,"position")&&(this.debugStyles=Il(e.element,{position:"relative "}))}updateBounds(){let e;this._debug&&this.removeDebug();const t=this.target,n=this.container,r=this.horizontal,o=this.linked;let i,s=t,a=0,u=0,c=s;o&&(i=o.currentTime,o.seek(0,!0));const l="static"===Ol(n.element,"position")&&Il(n.element,{position:"relative "});for(;s&&s!==n.element&&s!==iu.body;){const t="sticky"===Ol(s,"position")&&Il(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",x="start";if(Mu(g)){const e=g.split(" ");b=e[0],v=e.length>1?e[1]:v}else if(Du(g)){const e=g;Bu(e.container)||(b=e.container),Bu(e.target)||(v=e.target)}else zu(g)&&(b=g);if(Mu(m)){const e=m.split(" ");x=e[0],y=e.length>1?e[1]:y}else if(Du(m)){const e=m;Bu(e.container)||(x=e.container),Bu(e.target)||(y=e.target)}else zu(m)&&(x=m);const _=Hl(t,v,p),w=Hl(t,y,p),E=_+f-d,T=w+f-h,S=Hl(t,b,d,E,T),R=Hl(t,x,d,E,T),A=_+f-S,O=w+f-R,I=O-A;this.offsets[0]=a,this.offsets[1]=u,this.offset=f,this.offsetStart=A,this.offsetEnd=O,this.distance=I<=0?0:I,this.thresholds=[v,y,b,x],this.coords=[_,w,S,R],e&&e.forEach(e=>e.revert()),o&&o.seek(i,!0),this._debug&&this.debug()}handleScroll(){const e=this.linked,t=this.sync,n=this.syncEase,r=this.syncSmooth,o=e&&(n||r),i=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),o){const t=e.progress;if(r&&zu(r)){if(r<1){const e=t<m&&1===m?1e-4:t>m&&!m?-1e-4:0;m=sc(kl(t,m,ac(.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=i?s.scrollY:s.scrollX;d.style[i?"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&&(o&&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 dc(e,this),e._head||e.revert(),this._debug&&this.removeDebug(),this.reverted=!0,this}}const Vl=(e={})=>new Xl(e);var Zl,Kl,Jl,Ql,ef,tf,nf,rf,of,sf,af;!function(e){e[e.XY=1]="XY",e[e.SIZE=2]="SIZE"}(ef||(ef={})),function(e){e[e.ALL=1]="ALL",e[e.SEPARATE=2]="SEPARATE"}(tf||(tf={})),function(e){e[e.X=1]="X",e[e.Y=2]="Y"}(nf||(nf={})),function(e){e[e.AUTOPLAY=1]="AUTOPLAY",e[e.SCROLL_SYNC=2]="SCROLL_SYNC",e[e.STATES=3]="STATES",e[e.NONE=4]="NONE"}(rf||(rf={})),function(e){e[e.FIXED=1]="FIXED",e[e.RELATIVE=2]="RELATIVE"}(of||(of={})),function(e){e[e.APPEAR=1]="APPEAR",e[e.MOUNT=2]="MOUNT"}(sf||(sf={})),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"}(af||(af={}));var uf,cf=((Zl={})[af.PLAY]="play",Zl[af.PAUSE]="pause",Zl[af.REVERSE]="reverse",Zl[af.IGNORE]="ignore",Zl[af.DESTROY]="destroy",Zl[af.INIT]="init",Zl[af.RE_PLAY]="re_play",Zl);!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"}(uf||(uf={}));var lf,ff,pf=((Kl={})[uf.FIXED]="",Kl[uf.PERCENTAGE]="%",Kl[uf.START]="top",Kl[uf.START_PLUS]="+=top",Kl[uf.END]="bottom",Kl[uf.END_PLUS]="+=bottom",Kl),df=((Jl={})[uf.FIXED]="",Jl[uf.PERCENTAGE]="%",Jl[uf.START]="top",Jl[uf.START_PLUS]="+=left",Jl[uf.END]="right",Jl[uf.END_PLUS]="+=right",Jl),hf=function(e,t,n){var r=e===nf.Y?pf:df;return t===uf.START||t===uf.END?"".concat(r[t]):"".concat(null!=n?n:"").concat(r[t])};!function(e){e[e.SMOOTH=0]="SMOOTH",e[e.INSTANT=1]="INSTANT"}(lf||(lf={})),function(e){e[e.NORMAL=1]="NORMAL",e[e.REVERSE=2]="REVERSE",e[e.ALTERNATE=3]="ALTERNATE"}(ff||(ff={}));var gf,mf,vf=((Ql={})[ff.NORMAL]="normal",Ql[ff.REVERSE]="reverse",Ql[ff.ALTERNATE]="alternate",Ql),yf=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})},bf=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]=cf[r],e},{}),o=(0,U.useState)({}),i=(o[0],o[1]),s=(0,U.useMemo)(function(){var t=Object.entries(e).reduce(function(e,t){return e[t[0]]={complete:!1},e},{}),o={},a={},u=function(r,s){var u,c,l,f,p,d,h,g=r.name,m=o[g];if(!m){var v=vf[r.direction||ff.NORMAL];a[g]={direction:v};var y=!1,b=r.config;if(b.type_===rf.SCROLL_SYNC){var x=b.smoothness.type===lf.INSTANT||b.smoothness.value||0,_=(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=hf(b.direction,b.container.enter.type,b.container.enter.value),T=hf(b.direction,b.container.leave.type,b.container.leave.value),S=hf(b.direction,b.target.enter.type,b.target.enter.value),R=hf(b.direction,b.target.leave.type,b.target.leave.value);y=Vl({axis:b.direction===nf.Y?"y":"x",container:_,target:w,sync:x,enter:"".concat(E," ").concat(S),leave:"".concat(T," ").concat(R)})}else b.type_===rf.AUTOPLAY&&b.on.type_===sf.APPEAR?(_=(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=hf(b.on.direction,b.on.container.enter.type,b.on.container.enter.value),T=hf(b.on.direction,b.on.container.leave.type,b.on.container.leave.value),S=hf(b.on.direction,b.on.target.enter.type,b.on.target.enter.value),R=hf(b.on.direction,b.on.target.leave.type,b.on.target.leave.value),y=Vl({axis:b.on.direction===nf.Y?"y":"x",container:_,target:w,sync:!0,enter:"".concat(E," ").concat(S),leave:"".concat(T," ").concat(R)})):b.type_===rf.AUTOPLAY&&b.on.type_===sf.MOUNT&&(y=!0);var A=(h={autoplay:y,loop:!!r.loop,onBegin:function(){t[r.name].begin=!0,t[r.name].complete=!1,r.listener&&i({})},onUpdate:function(e){1===e.progress&&(t[r.name].begin=!0,t[r.name].complete=!0,r.listener&&i({}))},defaults:{duration:1e3*r.seconds}},new $l(h).init());null===(d=Object.values(e).find(function(e){return e.node===r}))||void 0===d||d.data.forEach(function(e){A.add(e.targets,e.params,0)}),m={node:r,instance:A,elements:s},o[g]=m,m.instance.onComplete=function(){a[g].playing=!1}}return m.instance};return{player:r,states:t,list:o,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=o[e.name];t&&(delete a[e.name],delete o[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,o=t[0],i=t[1],a=e[o],u=a?yf(a.data):[];((null===(n=i.elements)||void 0===n?void 0:n.length)!==u.length||(null===(r=i.elements)||void 0===r?void 0:r.map(function(e){return u.includes(e)}).includes(!1)))&&s.destroy(i.node)})}}},[]);return s.player=r,{instances:s,scan:function(){Object.entries(t).forEach(function(t){var n=t[0],r=t[1],o=e[n];if(o&&r!==af.IGNORE)if(r!==af.DESTROY){var i=yf(o.data);i.length?(s.get(o.node,i),r===af.PLAY?o&&s.play(o.node):r===af.PAUSE?o&&s.pause(o.node):r===af.RE_PLAY?o&&s.play(o.node,!0):r===af.REVERSE&&o&&s.reverse(o.node)):s.destroy(o.node)}else s.destroy(o.node)})}}},xf=0,_f=function(){return(0,U.useMemo)(function(){return"C".concat(++xf)},[])},wf=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)},Ef=function(e,t,n){var r=[],o=t<e?t-e:e-t;r.length=o;for(var i=0;i<o;i++)r[i]=n(i);return r},Tf=function(e,t){var n=[],r=e.length;n.length=r;for(var o=0;o<r;o++)n[o]=t(e[o],o);return n},Sf=function(e,t){var n=[],r=Object.entries(e),o=r.length;n.length=o;for(var i=0;i<o;i++)n[i]=t(r[i][0],r[i][1],i);return n},Rf=function(e,t){var n=[],r=e.length;n.length=r;for(var o=0;o<r;o++)n[o]=t(e[o],o,r===o+1);return n},Af=function(e){return"string"==typeof e?e:"number"==typeof e||"boolean"==typeof e?e.toString():void 0},Of=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"}(gf||(gf={})),function(e){e[e.PLUS=1]="PLUS",e[e.MINUS=2]="MINUS"}(mf||(mf={}));var If=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 o=0,i=t.getBoundingClientRect();if(r){var s=r.getBoundingClientRect();e.config===gf.TOP?o=Number(t.scrollTop+(s.top-i.top)):e.config===gf.BOTTOM?o=Number(t.scrollTop+(s.bottom-i.top)):e.config===gf.LEFT?o=Number(t.scrollLeft+(s.left-i.left)):e.config===gf.RIGHT&&(o=Number(t.scrollLeft+(s.right-i.left))),e.operator===mf.PLUS?o+=n:e.operator===mf.MINUS&&(o-=n)}else e.config===gf.TOP?o=0:e.config===gf.BOTTOM?o=-t.scrollHeight:e.config===gf.LEFT?o=0:e.config===gf.RIGHT&&(o=-t.scrollWidth),e.operator===mf.PLUS?o+=n:e.operator===mf.MINUS&&(o-=n);e.config===gf.TOP||e.config===gf.BOTTOM?t.scrollTo({behavior:"instant",top:o}):t.scrollTo({behavior:"instant",left:o})}},Lf=function(e){return{text:e.currentTarget.value||"",element:e.currentTarget}},Nf=function(e){return{text:e.currentTarget.value||"",element:e.currentTarget}},Cf=function(e){return{element:e.currentTarget}},kf=function(e){return{element:e.currentTarget}},Pf=function(e){return{element:e.currentTarget}}})(),u})());