@ukpc-lib/react 0.16.1-sandbox.saas-9201.patch-2 → 0.16.1-sandbox.saas-9356.patch-3
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/components/index.cjs +2 -2
- package/dist/components/index.js +149 -149
- package/dist/{index.esm2017-BAlbA558.cjs → index.esm2017-DiiccWsU.cjs} +31 -31
- package/dist/{index.esm2017-BHCx23KT.js → index.esm2017-Dr43AK5C.js} +813 -812
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +1 -1
- package/package.json +1 -1
- package/web-components-bundle/access-denied/index.js +2 -1
- package/web-components-bundle/base-breadcrumbs/index.js +1 -1
- package/web-components-bundle/favorite-menu/index.js +2 -2
- package/web-components-bundle/global-menu/index.js +2 -2
- package/web-components-bundle/global-topbar/index.js +4 -5
- package/web-components-bundle/has-permission/index.js +2 -2
- package/web-components-bundle/{index-BU5SX9Tl.js → index-UUkm_4Gc.js} +662 -651
- package/web-components-bundle/{index-D-_9krW7.js → index-q7jH66pT.js} +21468 -17946
- package/web-components-bundle/page-not-found/index.js +1 -1
- package/web-components-bundle/index-Ch-015PG.js +0 -3528
- package/web-components-bundle/setPrototypeOf-CP0c5ut2.js +0 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var OY=require("./index.css");const Pe=require("react/jsx-runtime"),X=require("react"),fI=require("axios"),Pd=require("react-query"),aa=require("@mui/material"),Tp=require("react-router-dom");require("@r2wc/react-to-web-component");const Om=require("moment"),jv=require("react-dom");function dI(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}function hI(t,e){for(var n=0;n<e.length;n++){const r=e[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in t)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(t,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const kn=dI(X);function Jo(t){"@babel/helpers - typeof";return Jo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jo(t)}function ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pI(t,e){if(Jo(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(Jo(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Z1(t){var e=pI(t,"string");return Jo(e)=="symbol"?e:e+""}function c0(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Z1(r.key),r)}}function ns(t,e,n){return e&&c0(t.prototype,e),n&&c0(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Sl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xh(t,e){return Xh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Xh(t,e)}function Cp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Xh(t,e)}function Wd(t,e){if(e&&(Jo(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Sl(t)}function Ha(t){return Ha=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ha(t)}function Ua(t,e,n){return(e=Z1(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function J1(t){if(Array.isArray(t))return t}function gI(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function f0(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Q1(t,e){if(t){if(typeof t=="string")return f0(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f0(t,e):void 0}}function eT(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mI(t){return J1(t)||gI(t)||Q1(t)||eT()}function d0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function h0(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?d0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var vI={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,n){console&&console[e]&&console[e].apply(console,n)}},yI=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ts(this,t),this.init(e,n)}return ns(t,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||vI,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"log","",!0)}},{key:"warn",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","",!0)}},{key:"error",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"error","")}},{key:"deprecate",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(n,r,i,o){return o&&!this.debug?null:(typeof n[0]=="string"&&(n[0]="".concat(i).concat(this.prefix," ").concat(n[0])),this.logger[r](n))}},{key:"create",value:function(n){return new t(this.logger,h0(h0({},{prefix:"".concat(this.prefix,":").concat(n,":")}),this.options))}},{key:"clone",value:function(n){return n=n||this.options,n.prefix=n.prefix||this.prefix,new t(this.logger,n)}}]),t}(),Na=new yI,vu=function(){function t(){ts(this,t),this.observers={}}return ns(t,[{key:"on",value:function(n,r){var i=this;return n.split(" ").forEach(function(o){i.observers[o]=i.observers[o]||[],i.observers[o].push(r)}),this}},{key:"off",value:function(n,r){if(this.observers[n]){if(!r){delete this.observers[n];return}this.observers[n]=this.observers[n].filter(function(i){return i!==r})}}},{key:"emit",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(this.observers[n]){var a=[].concat(this.observers[n]);a.forEach(function(f){f.apply(void 0,i)})}if(this.observers["*"]){var c=[].concat(this.observers["*"]);c.forEach(function(f){f.apply(f,[n].concat(i))})}}}]),t}();function ed(){var t,e,n=new Promise(function(r,i){t=r,e=i});return n.resolve=t,n.reject=e,n}function p0(t){return t==null?"":""+t}function bI(t,e,n){t.forEach(function(r){e[r]&&(n[r]=e[r])})}function Bv(t,e,n){function r(c){return c&&c.indexOf("###")>-1?c.replace(/###/g,"."):c}function i(){return!t||typeof t=="string"}for(var o=typeof e!="string"?[].concat(e):e.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!t[a]&&n&&(t[a]=new n),Object.prototype.hasOwnProperty.call(t,a)?t=t[a]:t={}}return i()?{}:{obj:t,k:r(o.shift())}}function g0(t,e,n){var r=Bv(t,e,Object),i=r.obj,o=r.k;i[o]=n}function wI(t,e,n,r){var i=Bv(t,e,Object),o=i.obj,a=i.k;o[a]=o[a]||[],o[a].push(n)}function Kh(t,e){var n=Bv(t,e),r=n.obj,i=n.k;if(r)return r[i]}function xI(t,e,n){var r=Kh(t,n);return r!==void 0?r:Kh(e,n)}function tT(t,e,n){for(var r in e)r!=="__proto__"&&r!=="constructor"&&(r in t?typeof t[r]=="string"||t[r]instanceof String||typeof e[r]=="string"||e[r]instanceof String?n&&(t[r]=e[r]):tT(t[r],e[r],n):t[r]=e[r]);return t}function lf(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var SI={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function TI(t){return typeof t=="string"?t.replace(/[&<>"'\/]/g,function(e){return SI[e]}):t}var Ep=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,CI=[" ",",","?","!",";"];function EI(t,e,n){e=e||"",n=n||"";var r=CI.filter(function(c){return e.indexOf(c)<0&&n.indexOf(c)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(c){return c==="?"?"\\?":c}).join("|"),")")),o=!i.test(t);if(!o){var a=t.indexOf(n);a>0&&!i.test(t.substring(0,a))&&(o=!0)}return o}function Zh(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(t){if(t[e])return t[e];for(var r=e.split(n),i=t,o=0;o<r.length;++o){if(!i||typeof i[r[o]]=="string"&&o+1<r.length)return;if(i[r[o]]===void 0){for(var a=2,c=r.slice(o,o+a).join(n),f=i[c];f===void 0&&r.length>o+a;)a++,c=r.slice(o,o+a).join(n),f=i[c];if(f===void 0)return;if(f===null)return null;if(e.endsWith(c)){if(typeof f=="string")return f;if(c&&typeof f[c]=="string")return f[c]}var p=r.slice(o+a).join(n);return p?Zh(f,p,n):void 0}i=i[r[o]]}return i}}function m0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function hh(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?m0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function kI(t){var e=DI();return function(){var r=Ha(t),i;if(e){var o=Ha(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Wd(this,i)}}function DI(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var PI=function(t){Cp(n,t);var e=kI(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return ts(this,n),i=e.call(this),Ep&&vu.call(Sl(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return ns(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,a){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=c.keySeparator!==void 0?c.keySeparator:this.options.keySeparator,p=c.ignoreJSONStructure!==void 0?c.ignoreJSONStructure:this.options.ignoreJSONStructure,y=[i,o];a&&typeof a!="string"&&(y=y.concat(a)),a&&typeof a=="string"&&(y=y.concat(f?a.split(f):a)),i.indexOf(".")>-1&&(y=i.split("."));var g=Kh(this.data,y);return g||!p||typeof a!="string"?g:Zh(this.data&&this.data[i]&&this.data[i][o],a,f)}},{key:"addResource",value:function(i,o,a,c){var f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},p=f.keySeparator!==void 0?f.keySeparator:this.options.keySeparator,y=[i,o];a&&(y=y.concat(p?a.split(p):a)),i.indexOf(".")>-1&&(y=i.split("."),c=o,o=y[1]),this.addNamespaces(o),g0(this.data,y,c),f.silent||this.emit("added",i,o,a,c)}},{key:"addResources",value:function(i,o,a){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var f in a)(typeof a[f]=="string"||Object.prototype.toString.apply(a[f])==="[object Array]")&&this.addResource(i,o,f,a[f],{silent:!0});c.silent||this.emit("added",i,o,a)}},{key:"addResourceBundle",value:function(i,o,a,c,f){var p=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},y=[i,o];i.indexOf(".")>-1&&(y=i.split("."),c=a,a=o,o=y[1]),this.addNamespaces(o);var g=Kh(this.data,y)||{};c?tT(g,a,f):g=hh(hh({},g),a),g0(this.data,y,g),p.silent||this.emit("added",i,o,a)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?hh(hh({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),a=o&&Object.keys(o)||[];return!!a.find(function(c){return o[c]&&Object.keys(o[c]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(vu),nT={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,n,r,i,o){var a=this;return e.forEach(function(c){a.processors[c]&&(n=a.processors[c].process(n,r,i,o))}),n}};function v0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Li(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?v0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function OI(t){var e=_I();return function(){var r=Ha(t),i;if(e){var o=Ha(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Wd(this,i)}}function _I(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var y0={},b0=function(t){Cp(n,t);var e=OI(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ts(this,n),i=e.call(this),Ep&&vu.call(Sl(i)),bI(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,Sl(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=Na.create("translator"),i}return ns(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var a=this.resolve(i,o);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(i,o){var a=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var c=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,f=o.ns||this.options.defaultNS||[],p=a&&i.indexOf(a)>-1,y=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!EI(i,a,c);if(p&&!y){var g=i.match(this.interpolator.nestingRegexp);if(g&&g.length>0)return{key:i,namespaces:f};var T=i.split(a);(a!==c||a===c&&this.options.ns.indexOf(T[0])>-1)&&(f=T.shift()),i=T.join(c)}return typeof f=="string"&&(f=[f]),{key:i,namespaces:f}}},{key:"translate",value:function(i,o,a){var c=this;if(Jo(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),Jo(o)==="object"&&(o=Li({},o)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var f=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,p=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,y=this.extractFromKey(i[i.length-1],o),g=y.key,T=y.namespaces,E=T[T.length-1],A=o.lng||this.language,I=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(A&&A.toLowerCase()==="cimode"){if(I){var j=o.nsSeparator||this.options.nsSeparator;return f?{res:"".concat(E).concat(j).concat(g),usedKey:g,exactUsedKey:g,usedLng:A,usedNS:E}:"".concat(E).concat(j).concat(g)}return f?{res:g,usedKey:g,exactUsedKey:g,usedLng:A,usedNS:E}:g}var R=this.resolve(i,o),U=R&&R.res,H=R&&R.usedKey||g,ne=R&&R.exactUsedKey||g,q=Object.prototype.toString.apply(U),ie=["[object Number]","[object Function]","[object RegExp]"],x=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,le=!this.i18nFormat||this.i18nFormat.handleAsObject,ae=typeof U!="string"&&typeof U!="boolean"&&typeof U!="number";if(le&&U&&ae&&ie.indexOf(q)<0&&!(typeof x=="string"&&q==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var Ve=this.options.returnedObjectHandler?this.options.returnedObjectHandler(H,U,Li(Li({},o),{},{ns:T})):"key '".concat(g," (").concat(this.language,")' returned an object instead of string.");return f?(R.res=Ve,R):Ve}if(p){var tt=q==="[object Array]",Qe=tt?[]:{},qe=tt?ne:H;for(var Oe in U)if(Object.prototype.hasOwnProperty.call(U,Oe)){var ue="".concat(qe).concat(p).concat(Oe);Qe[Oe]=this.translate(ue,Li(Li({},o),{joinArrays:!1,ns:T})),Qe[Oe]===ue&&(Qe[Oe]=U[Oe])}U=Qe}}else if(le&&typeof x=="string"&&q==="[object Array]")U=U.join(x),U&&(U=this.extendTranslation(U,i,o,a));else{var ve=!1,ke=!1,Le=o.count!==void 0&&typeof o.count!="string",et=n.hasDefaultValue(o),ge=Le?this.pluralResolver.getSuffix(A,o.count,o):"",Se=o["defaultValue".concat(ge)]||o.defaultValue;!this.isValidLookup(U)&&et&&(ve=!0,U=Se),this.isValidLookup(U)||(ke=!0,U=g);var Ne=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,We=Ne&&ke?void 0:U,Be=et&&Se!==U&&this.options.updateMissing;if(ke||ve||Be){if(this.logger.log(Be?"updateKey":"missingKey",A,E,g,Be?Se:U),p){var ze=this.resolve(g,Li(Li({},o),{},{keySeparator:!1}));ze&&ze.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var Ke=[],ot=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ot&&ot[0])for(var ct=0;ct<ot.length;ct++)Ke.push(ot[ct]);else this.options.saveMissingTo==="all"?Ke=this.languageUtils.toResolveHierarchy(o.lng||this.language):Ke.push(o.lng||this.language);var pt=function(yt,Je,At){var Mt=et&&At!==U?At:We;c.options.missingKeyHandler?c.options.missingKeyHandler(yt,E,Je,Mt,Be,o):c.backendConnector&&c.backendConnector.saveMissing&&c.backendConnector.saveMissing(yt,E,Je,Mt,Be,o),c.emit("missingKey",yt,E,Je,U)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Le?Ke.forEach(function(ft){c.pluralResolver.getSuffixes(ft,o).forEach(function(yt){pt([ft],g+yt,o["defaultValue".concat(yt)]||Se)})}):pt(Ke,g,Se))}U=this.extendTranslation(U,i,o,R,a),ke&&U===g&&this.options.appendNamespaceToMissingKey&&(U="".concat(E,":").concat(g)),(ke||ve)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?U=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(E,":").concat(g):g,ve?U:void 0):U=this.options.parseMissingKeyHandler(U))}return f?(R.res=U,R):U}},{key:"extendTranslation",value:function(i,o,a,c,f){var p=this;if(this.i18nFormat&&this.i18nFormat.parse)i=this.i18nFormat.parse(i,Li(Li({},this.options.interpolation.defaultVariables),a),c.usedLng,c.usedNS,c.usedKey,{resolved:c});else if(!a.skipInterpolation){a.interpolation&&this.interpolator.init(Li(Li({},a),{interpolation:Li(Li({},this.options.interpolation),a.interpolation)}));var y=typeof i=="string"&&(a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),g;if(y){var T=i.match(this.interpolator.nestingRegexp);g=T&&T.length}var E=a.replace&&typeof a.replace!="string"?a.replace:a;if(this.options.interpolation.defaultVariables&&(E=Li(Li({},this.options.interpolation.defaultVariables),E)),i=this.interpolator.interpolate(i,E,a.lng||this.language,a),y){var A=i.match(this.interpolator.nestingRegexp),I=A&&A.length;g<I&&(a.nest=!1)}!a.lng&&this.options.compatibilityAPI!=="v1"&&c&&c.res&&(a.lng=c.usedLng),a.nest!==!1&&(i=this.interpolator.nest(i,function(){for(var U=arguments.length,H=new Array(U),ne=0;ne<U;ne++)H[ne]=arguments[ne];return f&&f[0]===H[0]&&!a.context?(p.logger.warn("It seems you are nesting recursively key: ".concat(H[0]," in key: ").concat(o[0])),null):p.translate.apply(p,H.concat([o]))},a)),a.interpolation&&this.interpolator.reset()}var j=a.postProcess||this.options.postProcess,R=typeof j=="string"?[j]:j;return i!=null&&R&&R.length&&a.applyPostProcessor!==!1&&(i=nT.handle(R,i,o,this.options&&this.options.postProcessPassResolved?Li({i18nResolved:c},a):a,this)),i}},{key:"resolve",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c,f,p,y,g;return typeof i=="string"&&(i=[i]),i.forEach(function(T){if(!o.isValidLookup(c)){var E=o.extractFromKey(T,a),A=E.key;f=A;var I=E.namespaces;o.options.fallbackNS&&(I=I.concat(o.options.fallbackNS));var j=a.count!==void 0&&typeof a.count!="string",R=j&&!a.ordinal&&a.count===0&&o.pluralResolver.shouldUseIntlApi(),U=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",H=a.lngs?a.lngs:o.languageUtils.toResolveHierarchy(a.lng||o.language,a.fallbackLng);I.forEach(function(ne){o.isValidLookup(c)||(g=ne,!y0["".concat(H[0],"-").concat(ne)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(g)&&(y0["".concat(H[0],"-").concat(ne)]=!0,o.logger.warn('key "'.concat(f,'" for languages "').concat(H.join(", "),`" won't get resolved as namespace "`).concat(g,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),H.forEach(function(q){if(!o.isValidLookup(c)){y=q;var ie=[A];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(ie,A,q,ne,a);else{var x;j&&(x=o.pluralResolver.getSuffix(q,a.count,a));var le="".concat(o.options.pluralSeparator,"zero");if(j&&(ie.push(A+x),R&&ie.push(A+le)),U){var ae="".concat(A).concat(o.options.contextSeparator).concat(a.context);ie.push(ae),j&&(ie.push(ae+x),R&&ie.push(ae+le))}}for(var Ve;Ve=ie.pop();)o.isValidLookup(c)||(p=Ve,c=o.getResource(q,ne,Ve,a))}}))})}}),{res:c,usedKey:f,exactUsedKey:p,usedLng:y,usedNS:g}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,a){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,a,c):this.resourceStore.getResource(i,o,a,c)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)&&o===a.substring(0,o.length)&&i[a]!==void 0)return!0;return!1}}]),n}(vu);function Tg(t){return t.charAt(0).toUpperCase()+t.slice(1)}var w0=function(){function t(e){ts(this,t),this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Na.create("languageUtils")}return ns(t,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Tg(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Tg(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=Tg(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var a=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(a))&&(i=a)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var a=r.getLanguagePartFromCode(o);if(r.isSupportedCode(a))return i=a;i=r.options.supportedLngs.find(function(c){if(c===a)return c;if(!(c.indexOf("-")<0&&a.indexOf("-")<0)&&c.indexOf(a)===0)return c})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),a=[],c=function(p){p&&(i.isSupportedCode(p)?a.push(p):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(p)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&c(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&c(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&c(this.getLanguagePartFromCode(n))):typeof n=="string"&&c(this.formatLanguageCode(n)),o.forEach(function(f){a.indexOf(f)<0&&c(i.formatLanguageCode(f))}),a}}]),t}(),RI=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],AI={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}},II=["v1","v2","v3"],x0={zero:0,one:1,two:2,few:3,many:4,other:5};function MI(){var t={};return RI.forEach(function(e){e.lngs.forEach(function(n){t[n]={numbers:e.nr,plurals:AI[e.fc]}})}),t}var LI=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ts(this,t),this.languageUtils=e,this.options=n,this.logger=Na.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=MI()}return ns(t,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(a,c){return x0[a]-x0[c]}).map(function(a){return"".concat(r.options.prepend).concat(a)}):o.numbers.map(function(a){return r.getSuffix(n,a,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),a=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var c=function(){return i.options.prepend&&a.toString()?i.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):c():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?c():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!II.includes(this.options.compatibilityJSON)}}]),t}();function S0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function oa(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?S0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function T0(t,e,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=xI(t,e,n);return!o&&i&&typeof n=="string"&&(o=Zh(t,n,r),o===void 0&&(o=Zh(e,n,r))),o}var FI=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ts(this,t),this.logger=Na.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||function(n){return n},this.init(e)}return ns(t,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:TI,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?lf(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?lf(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?lf(r.nestingPrefix):r.nestingPrefixEscaped||lf("$t("),this.nestingSuffix=r.nestingSuffix?lf(r.nestingSuffix):r.nestingSuffixEscaped||lf(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var a=this,c,f,p,y=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function g(j){return j.replace(/\$/g,"$$$$")}var T=function(R){if(R.indexOf(a.formatSeparator)<0){var U=T0(r,y,R,a.options.keySeparator,a.options.ignoreJSONStructure);return a.alwaysFormat?a.format(U,void 0,i,oa(oa(oa({},o),r),{},{interpolationkey:R})):U}var H=R.split(a.formatSeparator),ne=H.shift().trim(),q=H.join(a.formatSeparator).trim();return a.format(T0(r,y,ne,a.options.keySeparator,a.options.ignoreJSONStructure),q,i,oa(oa(oa({},o),r),{},{interpolationkey:ne}))};this.resetRegExp();var E=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,A=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,I=[{regex:this.regexpUnescape,safeValue:function(R){return g(R)}},{regex:this.regexp,safeValue:function(R){return a.escapeValue?g(a.escape(R)):g(R)}}];return I.forEach(function(j){for(p=0;c=j.regex.exec(n);){var R=c[1].trim();if(f=T(R),f===void 0)if(typeof E=="function"){var U=E(n,c,o);f=typeof U=="string"?U:""}else if(o&&Object.prototype.hasOwnProperty.call(o,R))f="";else if(A){f=c[0];continue}else a.logger.warn("missed to pass in variable ".concat(R," for interpolating ").concat(n)),f="";else typeof f!="string"&&!a.useRawValueToEscape&&(f=p0(f));var H=j.safeValue(f);if(n=n.replace(c[0],H),A?(j.regex.lastIndex+=f.length,j.regex.lastIndex-=c[0].length):j.regex.lastIndex=0,p++,p>=a.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,c,f;function p(E,A){var I=this.nestingOptionsSeparator;if(E.indexOf(I)<0)return E;var j=E.split(new RegExp("".concat(I,"[ ]*{"))),R="{".concat(j[1]);E=j[0],R=this.interpolate(R,f);var U=R.match(/'/g),H=R.match(/"/g);(U&&U.length%2===0&&!H||H.length%2!==0)&&(R=R.replace(/'/g,'"'));try{f=JSON.parse(R),A&&(f=oa(oa({},A),f))}catch(ne){return this.logger.warn("failed parsing options string in nesting for key ".concat(E),ne),"".concat(E).concat(I).concat(R)}return delete f.defaultValue,E}for(;a=this.nestingRegexp.exec(n);){var y=[];f=oa({},o),f=f.replace&&typeof f.replace!="string"?f.replace:f,f.applyPostProcessor=!1,delete f.defaultValue;var g=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var T=a[1].split(this.formatSeparator).map(function(E){return E.trim()});a[1]=T.shift(),y=T,g=!0}if(c=r(p.call(this,a[1].trim(),f),f),c&&a[0]===n&&typeof c!="string")return c;typeof c!="string"&&(c=p0(c)),c||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),c=""),g&&(c=y.reduce(function(E,A){return i.format(E,A,o.lng,oa(oa({},o),{},{interpolationkey:a[1].trim()}))},c.trim())),n=n.replace(a[0],c),this.regexp.lastIndex=0}return n}}]),t}();function C0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function vl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?C0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function NI(t){var e=t.toLowerCase().trim(),n={};if(t.indexOf("(")>-1){var r=t.split("(");e=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(e==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(e==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(a){if(a){var c=a.split(":"),f=mI(c),p=f[0],y=f.slice(1),g=y.join(":").trim().replace(/^'+|'+$/g,"");n[p.trim()]||(n[p.trim()]=g),g==="false"&&(n[p.trim()]=!1),g==="true"&&(n[p.trim()]=!0),isNaN(g)||(n[p.trim()]=parseInt(g,10))}})}}return{formatName:e,formatOptions:n}}function uf(t){var e={};return function(r,i,o){var a=i+JSON.stringify(o),c=e[a];return c||(c=t(i,o),e[a]=c),c(r)}}var jI=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ts(this,t),this.logger=Na.create("formatter"),this.options=e,this.formats={number:uf(function(n,r){var i=new Intl.NumberFormat(n,vl({},r));return function(o){return i.format(o)}}),currency:uf(function(n,r){var i=new Intl.NumberFormat(n,vl(vl({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:uf(function(n,r){var i=new Intl.DateTimeFormat(n,vl({},r));return function(o){return i.format(o)}}),relativetime:uf(function(n,r){var i=new Intl.RelativeTimeFormat(n,vl({},r));return function(o){return i.format(o,r.range||"day")}}),list:uf(function(n,r){var i=new Intl.ListFormat(n,vl({},r));return function(o){return i.format(o)}})},this.init(e)}return ns(t,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=uf(r)}},{key:"format",value:function(n,r,i){var o=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},c=r.split(this.formatSeparator),f=c.reduce(function(p,y){var g=NI(y),T=g.formatName,E=g.formatOptions;if(o.formats[T]){var A=p;try{var I=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},j=I.locale||I.lng||a.locale||a.lng||i;A=o.formats[T](p,j,vl(vl(vl({},E),a),I))}catch(R){o.logger.warn(R)}return A}else o.logger.warn("there was no format function for ".concat(T));return p},n);return f}}]),t}();function E0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function k0(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?E0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function BI(t){var e=$I();return function(){var r=Ha(t),i;if(e){var o=Ha(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Wd(this,i)}}function $I(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function VI(t,e){t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)}var HI=function(t){Cp(n,t);var e=BI(n);function n(r,i,o){var a,c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return ts(this,n),a=e.call(this),Ep&&vu.call(Sl(a)),a.backend=r,a.store=i,a.services=o,a.languageUtils=o.languageUtils,a.options=c,a.logger=Na.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=c.maxParallelReads||10,a.readingCalls=0,a.maxRetries=c.maxRetries>=0?c.maxRetries:5,a.retryTimeout=c.retryTimeout>=1?c.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,c.backend,c),a}return ns(n,[{key:"queueLoad",value:function(i,o,a,c){var f=this,p={},y={},g={},T={};return i.forEach(function(E){var A=!0;o.forEach(function(I){var j="".concat(E,"|").concat(I);!a.reload&&f.store.hasResourceBundle(E,I)?f.state[j]=2:f.state[j]<0||(f.state[j]===1?y[j]===void 0&&(y[j]=!0):(f.state[j]=1,A=!1,y[j]===void 0&&(y[j]=!0),p[j]===void 0&&(p[j]=!0),T[I]===void 0&&(T[I]=!0)))}),A||(g[E]=!0)}),(Object.keys(p).length||Object.keys(y).length)&&this.queue.push({pending:y,pendingCount:Object.keys(y).length,loaded:{},errors:[],callback:c}),{toLoad:Object.keys(p),pending:Object.keys(y),toLoadLanguages:Object.keys(g),toLoadNamespaces:Object.keys(T)}}},{key:"loaded",value:function(i,o,a){var c=i.split("|"),f=c[0],p=c[1];o&&this.emit("failedLoading",f,p,o),a&&this.store.addResourceBundle(f,p,a),this.state[i]=o?-1:2;var y={};this.queue.forEach(function(g){wI(g.loaded,[f],p),VI(g,i),o&&g.errors.push(o),g.pendingCount===0&&!g.done&&(Object.keys(g.loaded).forEach(function(T){y[T]||(y[T]={});var E=g.loaded[T];E.length&&E.forEach(function(A){y[T][A]===void 0&&(y[T][A]=!0)})}),g.done=!0,g.errors.length?g.callback(g.errors):g.callback())}),this.emit("loaded",y),this.queue=this.queue.filter(function(g){return!g.done})}},{key:"read",value:function(i,o,a){var c=this,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,y=arguments.length>5?arguments[5]:void 0;if(!i.length)return y(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:a,tried:f,wait:p,callback:y});return}this.readingCalls++;var g=function(I,j){if(c.readingCalls--,c.waitingReads.length>0){var R=c.waitingReads.shift();c.read(R.lng,R.ns,R.fcName,R.tried,R.wait,R.callback)}if(I&&j&&f<c.maxRetries){setTimeout(function(){c.read.call(c,i,o,a,f+1,p*2,y)},p);return}y(I,j)},T=this.backend[a].bind(this.backend);if(T.length===2){try{var E=T(i,o);E&&typeof E.then=="function"?E.then(function(A){return g(null,A)}).catch(g):g(null,E)}catch(A){g(A)}return}return T(i,o,g)}},{key:"prepareLoading",value:function(i,o){var a=this,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),f&&f();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var p=this.queueLoad(i,o,c,f);if(!p.toLoad.length)return p.pending.length||f(),null;p.toLoad.forEach(function(y){a.loadOne(y)})}},{key:"load",value:function(i,o,a){this.prepareLoading(i,o,{},a)}},{key:"reload",value:function(i,o,a){this.prepareLoading(i,o,{reload:!0},a)}},{key:"loadOne",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",c=i.split("|"),f=c[0],p=c[1];this.read(f,p,"read",void 0,void 0,function(y,g){y&&o.logger.warn("".concat(a,"loading namespace ").concat(p," for language ").concat(f," failed"),y),!y&&g&&o.logger.log("".concat(a,"loaded namespace ").concat(p," for language ").concat(f),g),o.loaded(i,y,g)})}},{key:"saveMissing",value:function(i,o,a,c,f){var p=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},y=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){var g=k0(k0({},p),{},{isUpdate:f}),T=this.backend.create.bind(this.backend);if(T.length<6)try{var E;T.length===5?E=T(i,o,a,c,g):E=T(i,o,a,c),E&&typeof E.then=="function"?E.then(function(A){return y(null,A)}).catch(y):y(null,E)}catch(A){y(A)}else T(i,o,a,c,y,g)}!i||!i[0]||this.store.addResource(i[0],o,a,c)}}}]),n}(vu);function D0(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var n={};if(Jo(e[1])==="object"&&(n=e[1]),typeof e[1]=="string"&&(n.defaultValue=e[1]),typeof e[2]=="string"&&(n.tDescription=e[2]),Jo(e[2])==="object"||Jo(e[3])==="object"){var r=e[3]||e[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(e,n,r,i){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function P0(t){return typeof t.ns=="string"&&(t.ns=[t.ns]),typeof t.fallbackLng=="string"&&(t.fallbackLng=[t.fallbackLng]),typeof t.fallbackNS=="string"&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function O0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Ma(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?O0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function UI(t){var e=WI();return function(){var r=Ha(t),i;if(e){var o=Ha(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Wd(this,i)}}function WI(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ph(){}function zI(t){var e=Object.getOwnPropertyNames(Object.getPrototypeOf(t));e.forEach(function(n){typeof t[n]=="function"&&(t[n]=t[n].bind(t))})}var Jh=function(t){Cp(n,t);var e=UI(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(ts(this,n),r=e.call(this),Ep&&vu.call(Sl(r)),r.options=P0(i),r.services={},r.logger=Na,r.modules={external:[]},zI(Sl(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),Wd(r,Sl(r));setTimeout(function(){r.init(i,o)},0)}return r}return ns(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(a=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var c=D0();this.options=Ma(Ma(Ma({},c),this.options),P0(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Ma(Ma({},c.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function f(R){return R?typeof R=="function"?new R:R:null}if(!this.options.isClone){this.modules.logger?Na.init(f(this.modules.logger),this.options):Na.init(null,this.options);var p;this.modules.formatter?p=this.modules.formatter:typeof Intl<"u"&&(p=jI);var y=new w0(this.options);this.store=new PI(this.options.resources,this.options);var g=this.services;g.logger=Na,g.resourceStore=this.store,g.languageUtils=y,g.pluralResolver=new LI(y,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===c.interpolation.format)&&(g.formatter=f(p),g.formatter.init(g,this.options),this.options.interpolation.format=g.formatter.format.bind(g.formatter)),g.interpolator=new FI(this.options),g.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},g.backendConnector=new HI(f(this.modules.backend),g.resourceStore,g,this.options),g.backendConnector.on("*",function(R){for(var U=arguments.length,H=new Array(U>1?U-1:0),ne=1;ne<U;ne++)H[ne-1]=arguments[ne];i.emit.apply(i,[R].concat(H))}),this.modules.languageDetector&&(g.languageDetector=f(this.modules.languageDetector),g.languageDetector.init&&g.languageDetector.init(g,this.options.detection,this.options)),this.modules.i18nFormat&&(g.i18nFormat=f(this.modules.i18nFormat),g.i18nFormat.init&&g.i18nFormat.init(this)),this.translator=new b0(this.services,this.options),this.translator.on("*",function(R){for(var U=arguments.length,H=new Array(U>1?U-1:0),ne=1;ne<U;ne++)H[ne-1]=arguments[ne];i.emit.apply(i,[R].concat(H))}),this.modules.external.forEach(function(R){R.init&&R.init(i)})}if(this.format=this.options.interpolation.format,a||(a=ph),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var T=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);T.length>0&&T[0]!=="dev"&&(this.options.lng=T[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var E=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];E.forEach(function(R){i[R]=function(){var U;return(U=i.store)[R].apply(U,arguments)}});var A=["addResource","addResources","addResourceBundle","removeResourceBundle"];A.forEach(function(R){i[R]=function(){var U;return(U=i.store)[R].apply(U,arguments),i}});var I=ed(),j=function(){var U=function(ne,q){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),I.resolve(q),a(ne,q)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return U(null,i.t.bind(i));i.changeLanguage(i.options.lng,U)};return this.options.resources||!this.options.initImmediate?j():setTimeout(j,0),I}},{key:"loadResources",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ph,c=a,f=typeof i=="string"?i:this.language;if(typeof i=="function"&&(c=i),!this.options.resources||this.options.partialBundledLanguages){if(f&&f.toLowerCase()==="cimode")return c();var p=[],y=function(E){if(E){var A=o.services.languageUtils.toResolveHierarchy(E);A.forEach(function(I){p.indexOf(I)<0&&p.push(I)})}};if(f)y(f);else{var g=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);g.forEach(function(T){return y(T)})}this.options.preload&&this.options.preload.forEach(function(T){return y(T)}),this.services.backendConnector.load(p,this.options.ns,function(T){!T&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),c(T)})}else c(null)}},{key:"reloadResources",value:function(i,o,a){var c=ed();return i||(i=this.languages),o||(o=this.options.ns),a||(a=ph),this.services.backendConnector.reload(i,o,function(f){c.resolve(),a(f)}),c}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&nT.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o<this.languages.length;o++){var a=this.languages[o];if(!(["cimode","dev"].indexOf(a)>-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(i,o){var a=this;this.isLanguageChangingTo=i;var c=ed();this.emit("languageChanging",i);var f=function(T){a.language=T,a.languages=a.services.languageUtils.toResolveHierarchy(T),a.resolvedLanguage=void 0,a.setResolvedLanguage(T)},p=function(T,E){E?(f(E),a.translator.changeLanguage(E),a.isLanguageChangingTo=void 0,a.emit("languageChanged",E),a.logger.log("languageChanged",E)):a.isLanguageChangingTo=void 0,c.resolve(function(){return a.t.apply(a,arguments)}),o&&o(T,function(){return a.t.apply(a,arguments)})},y=function(T){!i&&!T&&a.services.languageDetector&&(T=[]);var E=typeof T=="string"?T:a.services.languageUtils.getBestMatchFromCodes(T);E&&(a.language||f(E),a.translator.language||a.translator.changeLanguage(E),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(E)),a.loadResources(E,function(A){p(A,E)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?y(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(y):this.services.languageDetector.detect(y):y(i),c}},{key:"getFixedT",value:function(i,o,a){var c=this,f=function p(y,g){var T;if(Jo(g)!=="object"){for(var E=arguments.length,A=new Array(E>2?E-2:0),I=2;I<E;I++)A[I-2]=arguments[I];T=c.options.overloadTranslationOptionHandler([y,g].concat(A))}else T=Ma({},g);T.lng=T.lng||p.lng,T.lngs=T.lngs||p.lngs,T.ns=T.ns||p.ns,T.keyPrefix=T.keyPrefix||a||p.keyPrefix;var j=c.options.keySeparator||".",R;return T.keyPrefix&&Array.isArray(y)?R=y.map(function(U){return"".concat(T.keyPrefix).concat(j).concat(U)}):R=T.keyPrefix?"".concat(T.keyPrefix).concat(j).concat(y):y,c.t(R,T)};return typeof i=="string"?f.lng=i:f.lngs=i,f.ns=o,f.keyPrefix=a,f}},{key:"t",value:function(){var i;return this.translator&&(i=this.translator).translate.apply(i,arguments)}},{key:"exists",value:function(){var i;return this.translator&&(i=this.translator).exists.apply(i,arguments)}},{key:"setDefaultNamespace",value:function(i){this.options.defaultNS=i}},{key:"hasLoadedNamespace",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var c=a.lng||this.resolvedLanguage||this.languages[0],f=this.options?this.options.fallbackLng:!1,p=this.languages[this.languages.length-1];if(c.toLowerCase()==="cimode")return!0;var y=function(E,A){var I=o.services.backendConnector.state["".concat(E,"|").concat(A)];return I===-1||I===2};if(a.precheck){var g=a.precheck(this,y);if(g!==void 0)return g}return!!(this.hasResourceBundle(c,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||y(c,i)&&(!f||y(p,i)))}},{key:"loadNamespaces",value:function(i,o){var a=this,c=ed();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(f){a.options.ns.indexOf(f)<0&&a.options.ns.push(f)}),this.loadResources(function(f){c.resolve(),o&&o(f)}),c):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var a=ed();typeof i=="string"&&(i=[i]);var c=this.options.preload||[],f=i.filter(function(p){return c.indexOf(p)<0});return f.length?(this.options.preload=c.concat(f),this.loadResources(function(p){a.resolve(),o&&o(p)}),a):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new w0(D0());return o.indexOf(a.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ph,c=Ma(Ma(Ma({},this.options),o),{isClone:!0}),f=new n(c);(o.debug!==void 0||o.prefix!==void 0)&&(f.logger=f.logger.clone(o));var p=["store","services","language"];return p.forEach(function(y){f[y]=i[y]}),f.services=Ma({},this.services),f.services.utils={hasLoadedNamespace:f.hasLoadedNamespace.bind(f)},f.translator=new b0(f.services,f.options),f.translator.on("*",function(y){for(var g=arguments.length,T=new Array(g>1?g-1:0),E=1;E<g;E++)T[E-1]=arguments[E];f.emit.apply(f,[y].concat(T))}),f.init(c,a),f.translator.options=f.options,f.translator.backendConnector.services.utils={hasLoadedNamespace:f.hasLoadedNamespace.bind(f)},f}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(vu);Ua(Jh,"createInstance",function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return new Jh(t,e)});var oi=Jh.createInstance();oi.createInstance=Jh.createInstance;oi.createInstance;oi.dir;oi.init;oi.loadResources;oi.reloadResources;oi.use;oi.changeLanguage;oi.getFixedT;var rT=oi.t;oi.exists;oi.setDefaultNamespace;oi.hasLoadedNamespace;oi.loadNamespaces;oi.loadLanguages;const iT={TOKEN_MALFORMED:"token_malformed",TOKEN_EXPIRED:"token_expired"},oT=t=>{window.location.href=`${t}/authentication/login`},sT=t=>{window.location.href=`${t}/authentication/logout`},Is=fI.create({withCredentials:!0});let Cg=!1,_m=[];const _0=t=>{_m.forEach(e=>{t?e.reject(t):e.resolve()}),_m=[]};function YI(t){try{const e=t==null?void 0:t.url,n=(t==null?void 0:t.baseURL)||window.location.origin,i=new URL(e,n).pathname.split("/").filter(Boolean);return i.length<=3?`/${i.join("/")}`||"/":`/${i[0]}/.../${i[i.length-1]}`}catch{return(t==null?void 0:t.url)||""}}function GI(t,e){var a,c,f,p,y,g,T,E;const n=(a=t.response)==null?void 0:a.status,r=(c=e==null?void 0:e.method)==null?void 0:c.toUpperCase(),i=YI(e),o=((p=(f=t.response)==null?void 0:f.data)==null?void 0:p.errorMessage)||((g=(y=t.response)==null?void 0:y.data)==null?void 0:g.message)||((E=(T=t.response)==null?void 0:T.data)==null?void 0:E.title)||t.message||"Unexpected error";if(typeof n=="number"&&n>=500){const A=[n?`HTTP ${n}`:null,r,i].filter(Boolean);return`${A.join(" ")}${A.length?" - ":""}${o}`}return`${o}`}function aT(t,e){var o,a,c,f,p,y,g,T,E;const n=t.config,r=((a=(o=t.response)==null?void 0:o.data)==null?void 0:a.errorMessage)||((f=(c=t.response)==null?void 0:c.data)==null?void 0:f.message),i=r===iT.TOKEN_EXPIRED;if(((p=t.response)==null?void 0:p.status)===401&&i&&!n._retry)return Cg?new Promise((A,I)=>{_m.push({resolve:A,reject:I})}).then(()=>Is(n)).catch(A=>Promise.reject(A)):(n._retry=!0,Cg=!0,Is.post("/authentication/api/v1/auth/refresh-token",void 0,{baseURL:window.env.AUTHEN_DOMAIN}).then(()=>(_0(null),Is(n))).catch(A=>(_0(A),Promise.reject(A))).finally(()=>{Cg=!1}));if(((y=t.response)==null?void 0:y.status)===401&&!i){if(window.self!==window.top&&window.top){console.log("401 - IFRAME");const A=`${window.env.AUTHEN_DOMAIN||window.top.origin}/authentication/login`;window.top.location.href=A;return}return oT(window.env.AUTHEN_DOMAIN)}if(((g=t.response)==null?void 0:g.status)===403)(T=e==null?void 0:e.handle403)==null||T.call(e,t);else{const A=GI(t,n);!(e!=null&&e.disabledPushNotify)&&zd(rT(`${A}`)),(E=e==null?void 0:e.handleOtherError)==null||E.call(e,t)}return r&&t.response&&t.response.data&&(t.response.data.message=r),Promise.reject(t)}const qI=Is.interceptors.response.use(t=>t,async t=>aT(t)),XI=t=>{const e=Pd.useQueryClient(),n=X.useMemo(()=>t.axiosInstance||Is,[t.axiosInstance]);window.env||(window.env={}),window.env.AUTHEN_DOMAIN=new URL(t.baseUrl).origin;const r=Pd.useQuery({queryKey:["user"],refetchOnWindowFocus:!1,retry:!1,queryFn:()=>n.get(t.baseUrl+"/user-management/api/v1/users/my-account").then(i=>(window.user=i.data,i.data))});return X.useEffect(()=>{window.onpageshow=function(i){i.persisted&&e.invalidateQueries(["user"])}},[e]),r},KI=t=>{const e=Pd.useQueryClient(),n=X.useMemo(()=>t.axiosInstance||Is,[t.axiosInstance]);window.env||(window.env={}),window.env.AUTHEN_DOMAIN=new URL(t.baseUrl).origin;const r=Pd.useQuery({queryKey:["user-permissions"],refetchOnWindowFocus:!1,retry:!1,queryFn:()=>n.get(t.baseUrl+"/user-management/api/v1/users/my-account/permissions").then(i=>i.data)});return X.useEffect(()=>{window.onpageshow=function(i){i.persisted&&e.invalidateQueries(["user-permissions"])}},[e]),r},$v=X.createContext({}),ZI=t=>{const{children:e,baseUrl:n,axiosInstance:r}=t,i=new URL(n).origin,o=XI({axiosInstance:r,baseUrl:n}),a=KI({axiosInstance:r,baseUrl:n});function c(){window.location.href=`${i}/authentication/login`}function f(){window.location.href=`${i}/authentication/logout`}return o!=null&&o.isFetching?Pe.jsx(aa.Grid,{container:!0,justifyContent:"center",alignItems:"center",sx:{minHeight:"100vh"},children:Pe.jsx(aa.CircularProgress,{})}):Pe.jsx($v.Provider,{value:{user:o==null?void 0:o.data,login:c,logout:f,isFetching:o.isFetching,permissions:a==null?void 0:a.data},children:e})},JI=()=>X.useContext($v);function QI(t,e,n){return n.some(r=>{const i=t[r];return String(i).toLowerCase().includes(e.toLowerCase())})}function eM(t){var e,n;(n=(e=window.top)==null?void 0:e.HostBridge)==null||n.openBackdrop(t)}var lT=[],tM=lT.forEach,nM=lT.slice;function rM(t){return tM.call(nM.call(arguments,1),function(e){if(e)for(var n in e)t[n]===void 0&&(t[n]=e[n])}),t}var R0=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,iM=function(e,n,r){var i=r||{};i.path=i.path||"/";var o=encodeURIComponent(n),a="".concat(e,"=").concat(o);if(i.maxAge>0){var c=i.maxAge-0;if(Number.isNaN(c))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(c))}if(i.domain){if(!R0.test(i.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(i.domain)}if(i.path){if(!R0.test(i.path))throw new TypeError("option path is invalid");a+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(a+="; HttpOnly"),i.secure&&(a+="; Secure"),i.sameSite){var f=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(f){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},A0={create:function(e,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=iM(e,encodeURIComponent(n),o)},read:function(e){for(var n="".concat(e,"="),r=document.cookie.split(";"),i=0;i<r.length;i++){for(var o=r[i];o.charAt(0)===" ";)o=o.substring(1,o.length);if(o.indexOf(n)===0)return o.substring(n.length,o.length)}return null},remove:function(e){this.create(e,"",-1)}},oM={name:"cookie",lookup:function(e){var n;if(e.lookupCookie&&typeof document<"u"){var r=A0.read(e.lookupCookie);r&&(n=r)}return n},cacheUserLanguage:function(e,n){n.lookupCookie&&typeof document<"u"&&A0.create(n.lookupCookie,e,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},sM={name:"querystring",lookup:function(e){var n;if(typeof window<"u"){var r=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),a=0;a<o.length;a++){var c=o[a].indexOf("=");if(c>0){var f=o[a].substring(0,c);f===e.lookupQuerystring&&(n=o[a].substring(c+1))}}}return n}},td=null,I0=function(){if(td!==null)return td;try{td=window!=="undefined"&&window.localStorage!==null;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{td=!1}return td},aM={name:"localStorage",lookup:function(e){var n;if(e.lookupLocalStorage&&I0()){var r=window.localStorage.getItem(e.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(e,n){n.lookupLocalStorage&&I0()&&window.localStorage.setItem(n.lookupLocalStorage,e)}},nd=null,M0=function(){if(nd!==null)return nd;try{nd=window!=="undefined"&&window.sessionStorage!==null;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{nd=!1}return nd},lM={name:"sessionStorage",lookup:function(e){var n;if(e.lookupSessionStorage&&M0()){var r=window.sessionStorage.getItem(e.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(e,n){n.lookupSessionStorage&&M0()&&window.sessionStorage.setItem(n.lookupSessionStorage,e)}},uM={name:"navigator",lookup:function(e){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r<navigator.languages.length;r++)n.push(navigator.languages[r]);navigator.userLanguage&&n.push(navigator.userLanguage),navigator.language&&n.push(navigator.language)}return n.length>0?n:void 0}},cM={name:"htmlTag",lookup:function(e){var n,r=e.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},fM={name:"path",lookup:function(e){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof e.lookupFromPathIndex=="number"){if(typeof r[e.lookupFromPathIndex]!="string")return;n=r[e.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},dM={name:"subdomain",lookup:function(e){var n=typeof e.lookupFromSubdomainIndex=="number"?e.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}},uT=!1;try{document.cookie,uT=!0}catch{}var cT=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];uT||cT.splice(1,1);function hM(){return{order:cT,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}}var fT=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ts(this,t),this.type="languageDetector",this.detectors={},this.init(e,n)}return ns(t,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n||{languageUtils:{}},this.options=rM(r,this.options||{},hM()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(o){return o.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(oM),this.addDetector(sM),this.addDetector(aM),this.addDetector(lM),this.addDetector(uM),this.addDetector(cM),this.addDetector(fM),this.addDetector(dM)}},{key:"addDetector",value:function(n){return this.detectors[n.name]=n,this}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var a=r.detectors[o].lookup(r.options);a&&typeof a=="string"&&(a=[a]),a&&(i=i.concat(a))}}),i=i.map(function(o){return r.options.convertDetectedLanguage(o)}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}])}();fT.type="languageDetector";function Vv(t,e){if(t==null)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.includes(r))continue;n[r]=t[r]}return n}const pM=Object.freeze(Object.defineProperty({__proto__:null,default:Vv},Symbol.toStringTag,{value:"Module"}));var ki=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Eu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function gM(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}function mM(){if(console&&console.warn){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];typeof n[0]=="string"&&(n[0]="react-i18next:: ".concat(n[0])),(t=console).warn.apply(t,n)}}var L0={};function Rm(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];typeof e[0]=="string"&&L0[e[0]]||(typeof e[0]=="string"&&(L0[e[0]]=new Date),mM.apply(void 0,e))}var dT=function(e,n){return function(){if(e.isInitialized)n();else{var r=function i(){setTimeout(function(){e.off("initialized",i)},0),n()};e.on("initialized",r)}}};function F0(t,e,n){t.loadNamespaces(e,dT(t,n))}function N0(t,e,n,r){typeof n=="string"&&(n=[n]),n.forEach(function(i){t.options.ns.indexOf(i)<0&&t.options.ns.push(i)}),t.loadLanguages(e,dT(t,r))}function vM(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=e.languages[0],i=e.options?e.options.fallbackLng:!1,o=e.languages[e.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var a=function(f,p){var y=e.services.backendConnector.state["".concat(f,"|").concat(p)];return y===-1||y===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!a(e.isLanguageChangingTo,t)?!1:!!(e.hasResourceBundle(r,t)||!e.services.backendConnector.backend||e.options.resources&&!e.options.partialBundledLanguages||a(r,t)&&(!i||a(o,t)))}function yM(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e.languages||!e.languages.length)return Rm("i18n.languages were undefined or empty",e.languages),!0;var r=e.options.ignoreJSONStructure!==void 0;return r?e.hasLoadedNamespace(t,{lng:n.lng,precheck:function(o,a){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!a(o.isLanguageChangingTo,t))return!1}}):vM(t,e,n)}var bM=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,wM={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},xM=function(e){return wM[e]},SM=function(e){return e.replace(bM,xM)};function j0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function B0(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?j0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var Am={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:SM};function TM(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Am=B0(B0({},Am),t)}function CM(){return Am}var hT;function EM(t){hT=t}function kM(){return hT}var DM={type:"3rdParty",init:function(e){TM(e.options.react),EM(e)}},pT=X.createContext(),PM=function(){function t(){ts(this,t),this.usedNamespaces={}}return ns(t,[{key:"addUsedNamespaces",value:function(n){var r=this;n.forEach(function(i){r.usedNamespaces[i]||(r.usedNamespaces[i]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),t}();function OM(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,i,o,a,c=[],f=!0,p=!1;try{if(o=(n=n.call(t)).next,e!==0)for(;!(f=(r=o.call(n)).done)&&(c.push(r.value),c.length!==e);f=!0);}catch(y){p=!0,i=y}finally{try{if(!f&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(p)throw i}}return c}}function _M(t,e){return J1(t)||OM(t,e)||Q1(t,e)||eT()}function $0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Eg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?$0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var RM=function(e,n){var r=X.useRef();return X.useEffect(function(){r.current=e},[e,n]),r.current};function gT(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.i18n,r=X.useContext(pT)||{},i=r.i18n,o=r.defaultNS,a=n||i||kM();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new PM),!a){Rm("You will need to pass in an i18next instance by using initReactI18next");var c=function(ae,Ve){return typeof Ve=="string"?Ve:Ve&&Jo(Ve)==="object"&&typeof Ve.defaultValue=="string"?Ve.defaultValue:Array.isArray(ae)?ae[ae.length-1]:ae},f=[c,{},!1];return f.t=c,f.i18n={},f.ready=!1,f}a.options.react&&a.options.react.wait!==void 0&&Rm("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var p=Eg(Eg(Eg({},CM()),a.options.react),e),y=p.useSuspense,g=p.keyPrefix,T=t||o||a.options&&a.options.defaultNS;T=typeof T=="string"?[T]:T||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(T);var E=(a.isInitialized||a.initializedStoreOnce)&&T.every(function(le){return yM(le,a,p)});function A(){return a.getFixedT(e.lng||null,p.nsMode==="fallback"?T:T[0],g)}var I=X.useState(A),j=_M(I,2),R=j[0],U=j[1],H=T.join();e.lng&&(H="".concat(e.lng).concat(H));var ne=RM(H),q=X.useRef(!0);X.useEffect(function(){var le=p.bindI18n,ae=p.bindI18nStore;q.current=!0,!E&&!y&&(e.lng?N0(a,e.lng,T,function(){q.current&&U(A)}):F0(a,T,function(){q.current&&U(A)})),E&&ne&&ne!==H&&q.current&&U(A);function Ve(){q.current&&U(A)}return le&&a&&a.on(le,Ve),ae&&a&&a.store.on(ae,Ve),function(){q.current=!1,le&&a&&le.split(" ").forEach(function(tt){return a.off(tt,Ve)}),ae&&a&&ae.split(" ").forEach(function(tt){return a.store.off(tt,Ve)})}},[a,H]);var ie=X.useRef(!0);X.useEffect(function(){q.current&&!ie.current&&U(A),ie.current=!1},[a,g]);var x=[R,a,E];if(x.t=R,x.i18n=a,x.ready=E,E||!E&&!y)return x;throw new Promise(function(le){e.lng?N0(a,e.lng,T,function(){return le()}):F0(a,T,function(){return le()})})}function AM(t){var e=t.i18n,n=t.defaultNS,r=t.children,i=X.useMemo(function(){return{i18n:e,defaultNS:n}},[e,n]);return X.createElement(pT.Provider,{value:i},r)}var mT=[],IM=mT.forEach,MM=mT.slice;function LM(t){return IM.call(MM.call(arguments,1),function(e){if(e)for(var n in e)t[n]===void 0&&(t[n]=e[n])}),t}function FM(t){return t?typeof t=="function"?new t:t:null}function NM(){return{handleEmptyResourcesAsFailed:!0,cacheHitMode:"none"}}function V0(t,e,n,r){var i=t.read.bind(t);if(i.length===2){try{var o=i(e,n);o&&typeof o.then=="function"?o.then(function(a){return r(null,a)}).catch(r):r(null,o)}catch(a){r(a)}return}i(e,n,r)}var vT=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ts(this,t),this.backends=[],this.type="backend",this.allOptions=r,this.init(e,n)}return ns(t,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=LM(i,this.options||{},NM()),this.allOptions=o,this.options.backends&&this.options.backends.forEach(function(a,c){r.backends[c]=r.backends[c]||FM(a),r.backends[c].init(n,r.options.backendOptions&&r.options.backendOptions[c]||{},o)}),this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"read",value:function(n,r,i){var o=this,a=this.backends.length,c=function p(y){if(y>=a)return i(new Error("non of the backend loaded data",!0));var g=y===a-1,T=o.options.handleEmptyResourcesAsFailed&&!g?0:-1,E=o.backends[y];E.read?V0(E,n,r,function(A,I,j){if(!A&&I&&Object.keys(I).length>T){if(i(null,I,y),f(y-1,I),E.save&&o.options.cacheHitMode&&["refresh","refreshAndUpdateStore"].indexOf(o.options.cacheHitMode)>-1){if(j&&o.options.refreshExpirationTime&&j+o.options.refreshExpirationTime>Date.now())return;var R=o.backends[y+1];R&&R.read&&V0(R,n,r,function(U,H){U||H&&(Object.keys(H).length<=T||(f(y,H),o.options.cacheHitMode==="refreshAndUpdateStore"&&o.services&&o.services.resourceStore&&o.services.resourceStore.addResourceBundle(n,r,H)))})}}else p(y+1)}):p(y+1)},f=function p(y,g){if(!(y<0)){var T=o.backends[y];T.save&&T.save(n,r,g),p(y-1,g)}};c(0)}},{key:"create",value:function(n,r,i,o){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){},c=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.backends.forEach(function(f){if(f.create){var p=f.create.bind(f);if(p.length<6){try{var y;p.length===5?y=p(n,r,i,o,c):y=p(n,r,i,o),y&&typeof y.then=="function"?y.then(function(g){return a(null,g)}).catch(a):a(null,y)}catch(g){a(g)}return}p(n,r,i,o,a,c)}})}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,a=r.logger,c=i.language;if(!(c&&c.toLowerCase()==="cimode")){var f=[],p=function(g){var T=o.toResolveHierarchy(g);T.forEach(function(E){f.indexOf(E)<0&&f.push(E)})};p(c),this.allOptions.preload&&this.allOptions.preload.forEach(function(y){return p(y)}),f.forEach(function(y){n.allOptions.ns.forEach(function(g){i.read(y,g,"read",null,null,function(T,E){T&&a.warn("loading namespace ".concat(g," for language ").concat(y," failed"),T),!T&&E&&a.log("loaded namespace ".concat(g," for language ").concat(y),E),i.loaded("".concat(y,"|").concat(g),T,E)})})})}}}]),t}();vT.type="backend";function Im(t){"@babel/helpers - typeof";return Im=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Im(t)}function yT(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":Im(XMLHttpRequest))==="object"}function jM(t){return!!t&&typeof t.then=="function"}function BM(t){return jM(t)?t:Promise.resolve(t)}function $M(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Mm={exports:{}},gh={exports:{}},H0;function VM(){return H0||(H0=1,function(t,e){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof ki<"u"&&ki,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(a){var c=typeof o<"u"&&o||typeof self<"u"&&self||typeof c<"u"&&c,f={searchParams:"URLSearchParams"in c,iterable:"Symbol"in c&&"iterator"in Symbol,blob:"FileReader"in c&&"Blob"in c&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in c,arrayBuffer:"ArrayBuffer"in c};function p(ue){return ue&&DataView.prototype.isPrototypeOf(ue)}if(f.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],g=ArrayBuffer.isView||function(ue){return ue&&y.indexOf(Object.prototype.toString.call(ue))>-1};function T(ue){if(typeof ue!="string"&&(ue=String(ue)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(ue)||ue==="")throw new TypeError('Invalid character in header field name: "'+ue+'"');return ue.toLowerCase()}function E(ue){return typeof ue!="string"&&(ue=String(ue)),ue}function A(ue){var ve={next:function(){var ke=ue.shift();return{done:ke===void 0,value:ke}}};return f.iterable&&(ve[Symbol.iterator]=function(){return ve}),ve}function I(ue){this.map={},ue instanceof I?ue.forEach(function(ve,ke){this.append(ke,ve)},this):Array.isArray(ue)?ue.forEach(function(ve){this.append(ve[0],ve[1])},this):ue&&Object.getOwnPropertyNames(ue).forEach(function(ve){this.append(ve,ue[ve])},this)}I.prototype.append=function(ue,ve){ue=T(ue),ve=E(ve);var ke=this.map[ue];this.map[ue]=ke?ke+", "+ve:ve},I.prototype.delete=function(ue){delete this.map[T(ue)]},I.prototype.get=function(ue){return ue=T(ue),this.has(ue)?this.map[ue]:null},I.prototype.has=function(ue){return this.map.hasOwnProperty(T(ue))},I.prototype.set=function(ue,ve){this.map[T(ue)]=E(ve)},I.prototype.forEach=function(ue,ve){for(var ke in this.map)this.map.hasOwnProperty(ke)&&ue.call(ve,this.map[ke],ke,this)},I.prototype.keys=function(){var ue=[];return this.forEach(function(ve,ke){ue.push(ke)}),A(ue)},I.prototype.values=function(){var ue=[];return this.forEach(function(ve){ue.push(ve)}),A(ue)},I.prototype.entries=function(){var ue=[];return this.forEach(function(ve,ke){ue.push([ke,ve])}),A(ue)},f.iterable&&(I.prototype[Symbol.iterator]=I.prototype.entries);function j(ue){if(ue.bodyUsed)return Promise.reject(new TypeError("Already read"));ue.bodyUsed=!0}function R(ue){return new Promise(function(ve,ke){ue.onload=function(){ve(ue.result)},ue.onerror=function(){ke(ue.error)}})}function U(ue){var ve=new FileReader,ke=R(ve);return ve.readAsArrayBuffer(ue),ke}function H(ue){var ve=new FileReader,ke=R(ve);return ve.readAsText(ue),ke}function ne(ue){for(var ve=new Uint8Array(ue),ke=new Array(ve.length),Le=0;Le<ve.length;Le++)ke[Le]=String.fromCharCode(ve[Le]);return ke.join("")}function q(ue){if(ue.slice)return ue.slice(0);var ve=new Uint8Array(ue.byteLength);return ve.set(new Uint8Array(ue)),ve.buffer}function ie(){return this.bodyUsed=!1,this._initBody=function(ue){this.bodyUsed=this.bodyUsed,this._bodyInit=ue,ue?typeof ue=="string"?this._bodyText=ue:f.blob&&Blob.prototype.isPrototypeOf(ue)?this._bodyBlob=ue:f.formData&&FormData.prototype.isPrototypeOf(ue)?this._bodyFormData=ue:f.searchParams&&URLSearchParams.prototype.isPrototypeOf(ue)?this._bodyText=ue.toString():f.arrayBuffer&&f.blob&&p(ue)?(this._bodyArrayBuffer=q(ue.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):f.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(ue)||g(ue))?this._bodyArrayBuffer=q(ue):this._bodyText=ue=Object.prototype.toString.call(ue):this._bodyText="",this.headers.get("content-type")||(typeof ue=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):f.searchParams&&URLSearchParams.prototype.isPrototypeOf(ue)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},f.blob&&(this.blob=function(){var ue=j(this);if(ue)return ue;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var ue=j(this);return ue||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(U)}),this.text=function(){var ue=j(this);if(ue)return ue;if(this._bodyBlob)return H(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(ne(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},f.formData&&(this.formData=function(){return this.text().then(Ve)}),this.json=function(){return this.text().then(JSON.parse)},this}var x=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function le(ue){var ve=ue.toUpperCase();return x.indexOf(ve)>-1?ve:ue}function ae(ue,ve){if(!(this instanceof ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');ve=ve||{};var ke=ve.body;if(ue instanceof ae){if(ue.bodyUsed)throw new TypeError("Already read");this.url=ue.url,this.credentials=ue.credentials,ve.headers||(this.headers=new I(ue.headers)),this.method=ue.method,this.mode=ue.mode,this.signal=ue.signal,!ke&&ue._bodyInit!=null&&(ke=ue._bodyInit,ue.bodyUsed=!0)}else this.url=String(ue);if(this.credentials=ve.credentials||this.credentials||"same-origin",(ve.headers||!this.headers)&&(this.headers=new I(ve.headers)),this.method=le(ve.method||this.method||"GET"),this.mode=ve.mode||this.mode||null,this.signal=ve.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&ke)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(ke),(this.method==="GET"||this.method==="HEAD")&&(ve.cache==="no-store"||ve.cache==="no-cache")){var Le=/([?&])_=[^&]*/;if(Le.test(this.url))this.url=this.url.replace(Le,"$1_="+new Date().getTime());else{var et=/\?/;this.url+=(et.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}ae.prototype.clone=function(){return new ae(this,{body:this._bodyInit})};function Ve(ue){var ve=new FormData;return ue.trim().split("&").forEach(function(ke){if(ke){var Le=ke.split("="),et=Le.shift().replace(/\+/g," "),ge=Le.join("=").replace(/\+/g," ");ve.append(decodeURIComponent(et),decodeURIComponent(ge))}}),ve}function tt(ue){var ve=new I,ke=ue.replace(/\r?\n[\t ]+/g," ");return ke.split("\r").map(function(Le){return Le.indexOf(`
|
|
3
|
-
`)===0?Le.substr(1,Le.length):Le}).forEach(function(Le){var et=Le.split(":"),ge=et.shift().trim();if(ge){var Se=et.join(":").trim();ve.append(ge,Se)}}),ve}ie.call(ae.prototype);function Qe(ue,ve){if(!(this instanceof Qe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');ve||(ve={}),this.type="default",this.status=ve.status===void 0?200:ve.status,this.ok=this.status>=200&&this.status<300,this.statusText=ve.statusText===void 0?"":""+ve.statusText,this.headers=new I(ve.headers),this.url=ve.url||"",this._initBody(ue)}ie.call(Qe.prototype),Qe.prototype.clone=function(){return new Qe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new I(this.headers),url:this.url})},Qe.error=function(){var ue=new Qe(null,{status:0,statusText:""});return ue.type="error",ue};var qe=[301,302,303,307,308];Qe.redirect=function(ue,ve){if(qe.indexOf(ve)===-1)throw new RangeError("Invalid status code");return new Qe(null,{status:ve,headers:{location:ue}})},a.DOMException=c.DOMException;try{new a.DOMException}catch{a.DOMException=function(ve,ke){this.message=ve,this.name=ke;var Le=Error(ve);this.stack=Le.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function Oe(ue,ve){return new Promise(function(ke,Le){var et=new ae(ue,ve);if(et.signal&&et.signal.aborted)return Le(new a.DOMException("Aborted","AbortError"));var ge=new XMLHttpRequest;function Se(){ge.abort()}ge.onload=function(){var We={status:ge.status,statusText:ge.statusText,headers:tt(ge.getAllResponseHeaders()||"")};We.url="responseURL"in ge?ge.responseURL:We.headers.get("X-Request-URL");var Be="response"in ge?ge.response:ge.responseText;setTimeout(function(){ke(new Qe(Be,We))},0)},ge.onerror=function(){setTimeout(function(){Le(new TypeError("Network request failed"))},0)},ge.ontimeout=function(){setTimeout(function(){Le(new TypeError("Network request failed"))},0)},ge.onabort=function(){setTimeout(function(){Le(new a.DOMException("Aborted","AbortError"))},0)};function Ne(We){try{return We===""&&c.location.href?c.location.href:We}catch{return We}}ge.open(et.method,Ne(et.url),!0),et.credentials==="include"?ge.withCredentials=!0:et.credentials==="omit"&&(ge.withCredentials=!1),"responseType"in ge&&(f.blob?ge.responseType="blob":f.arrayBuffer&&et.headers.get("Content-Type")&&et.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(ge.responseType="arraybuffer")),ve&&typeof ve.headers=="object"&&!(ve.headers instanceof I)?Object.getOwnPropertyNames(ve.headers).forEach(function(We){ge.setRequestHeader(We,E(ve.headers[We]))}):et.headers.forEach(function(We,Be){ge.setRequestHeader(Be,We)}),et.signal&&(et.signal.addEventListener("abort",Se),ge.onreadystatechange=function(){ge.readyState===4&&et.signal.removeEventListener("abort",Se)}),ge.send(typeof et._bodyInit>"u"?null:et._bodyInit)})}return Oe.polyfill=!0,c.fetch||(c.fetch=Oe,c.Headers=I,c.Request=ae,c.Response=Qe),a.Headers=I,a.Request=ae,a.Response=Qe,a.fetch=Oe,a})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=n.fetch?n:r;e=i.fetch,e.default=i.fetch,e.fetch=i.fetch,e.Headers=i.Headers,e.Request=i.Request,e.Response=i.Response,t.exports=e}(gh,gh.exports)),gh.exports}(function(t,e){var n;if(typeof fetch=="function"&&(typeof ki<"u"&&ki.fetch?n=ki.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof $M<"u"&&typeof window>"u"){var r=n||VM();r.default&&(r=r.default),e.default=r,t.exports=e.default}})(Mm,Mm.exports);var bT=Mm.exports;const wT=Eu(bT),U0=hI({__proto__:null,default:wT},[bT]);function W0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function z0(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?W0(Object(n),!0).forEach(function(r){HM(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):W0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function HM(t,e,n){return(e=UM(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function UM(t){var e=WM(t,"string");return Ec(e)=="symbol"?e:e+""}function WM(t,e){if(Ec(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(Ec(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ec(t){"@babel/helpers - typeof";return Ec=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ec(t)}var Tl;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?Tl=global.fetch:typeof window<"u"&&window.fetch?Tl=window.fetch:Tl=fetch);var Od;yT()&&(typeof global<"u"&&global.XMLHttpRequest?Od=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(Od=window.XMLHttpRequest));var Qh;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?Qh=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(Qh=window.ActiveXObject));!Tl&&U0&&!Od&&!Qh&&(Tl=wT||U0);typeof Tl!="function"&&(Tl=void 0);var Lm=function(e,n){if(n&&Ec(n)==="object"){var r="";for(var i in n)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]);if(!r)return e;e=e+(e.indexOf("?")!==-1?"&":"?")+r.slice(1)}return e},Y0=function(e,n,r,i){var o=function(f){if(!f.ok)return r(f.statusText||"Error",{status:f.status});f.text().then(function(p){r(null,{status:f.status,data:p})}).catch(r)};if(i){var a=i(e,n);if(a instanceof Promise){a.then(o).catch(r);return}}typeof fetch=="function"?fetch(e,n).then(o).catch(r):Tl(e,n).then(o).catch(r)},G0=!1,zM=function(e,n,r,i){e.queryStringParams&&(n=Lm(n,e.queryStringParams));var o=z0({},typeof e.customHeaders=="function"?e.customHeaders():e.customHeaders);typeof window>"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(o["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(o["Content-Type"]="application/json");var a=typeof e.requestOptions=="function"?e.requestOptions(r):e.requestOptions,c=z0({method:r?"POST":"GET",body:r?e.stringify(r):void 0,headers:o},G0?{}:a),f=typeof e.alternateFetch=="function"&&e.alternateFetch.length>=1?e.alternateFetch:void 0;try{Y0(n,c,i,f)}catch(p){if(!a||Object.keys(a).length===0||!p.message||p.message.indexOf("not implemented")<0)return i(p);try{Object.keys(a).forEach(function(y){delete c[y]}),Y0(n,c,i,f),G0=!0}catch(y){i(y)}}},YM=function(e,n,r,i){r&&Ec(r)==="object"&&(r=Lm("",r).slice(1)),e.queryStringParams&&(n=Lm(n,e.queryStringParams));try{var o;Od?o=new Od:o=new Qh("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),e.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!e.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var a=e.customHeaders;if(a=typeof a=="function"?a():a,a)for(var c in a)o.setRequestHeader(c,a[c]);o.onreadystatechange=function(){o.readyState>3&&i(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(f){console&&console.log(f)}},GM=function(e,n,r,i){if(typeof r=="function"&&(i=r,r=void 0),i=i||function(){},Tl&&n.indexOf("file:")!==0)return zM(e,n,r,i);if(yT()||typeof ActiveXObject=="function")return YM(e,n,r,i);i(new Error("No fetch and no xhr implementation found!"))};function kf(t){"@babel/helpers - typeof";return kf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kf(t)}function q0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function kg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?q0(Object(n),!0).forEach(function(r){xT(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):q0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function qM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XM(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ST(r.key),r)}}function KM(t,e,n){return e&&XM(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function xT(t,e,n){return(e=ST(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ST(t){var e=ZM(t,"string");return kf(e)=="symbol"?e:e+""}function ZM(t,e){if(kf(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(kf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var JM=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(n){return JSON.parse(n)},stringify:JSON.stringify,parsePayload:function(n,r,i){return xT({},r,i||"")},parseLoadPayload:function(n,r){},request:GM,reloadInterval:typeof window<"u"?!1:60*60*1e3,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},TT=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};qM(this,t),this.services=e,this.options=n,this.allOptions=r,this.type="backend",this.init(e,n,r)}return KM(t,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=kg(kg(kg({},JM()),this.options||{}),i),this.allOptions=o,this.services&&this.options.reloadInterval){var a=setInterval(function(){return r.reload()},this.options.reloadInterval);kf(a)==="object"&&typeof a.unref=="function"&&a.unref()}}},{key:"readMulti",value:function(n,r,i){this._readAny(n,n,r,r,i)}},{key:"read",value:function(n,r,i){this._readAny([n],n,[r],r,i)}},{key:"_readAny",value:function(n,r,i,o,a){var c=this,f=this.options.loadPath;typeof this.options.loadPath=="function"&&(f=this.options.loadPath(n,i)),f=BM(f),f.then(function(p){if(!p)return a(null,{});var y=c.services.interpolator.interpolate(p,{lng:n.join("+"),ns:i.join("+")});c.loadUrl(y,a,r,o)})}},{key:"loadUrl",value:function(n,r,i,o){var a=this,c=typeof i=="string"?[i]:i,f=typeof o=="string"?[o]:o,p=this.options.parseLoadPayload(c,f);this.options.request(this.options,n,p,function(y,g){if(g&&(g.status>=500&&g.status<600||!g.status))return r("failed loading "+n+"; status code: "+g.status,!0);if(g&&g.status>=400&&g.status<500)return r("failed loading "+n+"; status code: "+g.status,!1);if(!g&&y&&y.message){var T=y.message.toLowerCase(),E=["failed","fetch","network","load"].find(function(j){return T.indexOf(j)>-1});if(E)return r("failed loading "+n+": "+y.message,!0)}if(y)return r(y,!1);var A,I;try{typeof g.data=="string"?A=a.options.parse(g.data,i,o):A=g.data}catch{I="failed parsing "+n+" to json"}if(I)return r(I,!1);r(null,A)})}},{key:"create",value:function(n,r,i,o,a){var c=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var f=this.options.parsePayload(r,i,o),p=0,y=[],g=[];n.forEach(function(T){var E=c.options.addPath;typeof c.options.addPath=="function"&&(E=c.options.addPath(T,r));var A=c.services.interpolator.interpolate(E,{lng:T,ns:r});c.options.request(c.options,A,f,function(I,j){p+=1,y.push(I),g.push(j),p===n.length&&typeof a=="function"&&a(y,g)})})}}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,a=r.logger,c=i.language;if(!(c&&c.toLowerCase()==="cimode")){var f=[],p=function(g){var T=o.toResolveHierarchy(g);T.forEach(function(E){f.indexOf(E)<0&&f.push(E)})};p(c),this.allOptions.preload&&this.allOptions.preload.forEach(function(y){return p(y)}),f.forEach(function(y){n.allOptions.ns.forEach(function(g){i.read(y,g,"read",null,null,function(T,E){T&&a.warn("loading namespace ".concat(g," for language ").concat(y," failed"),T),!T&&E&&a.log("loaded namespace ".concat(g," for language ").concat(y),E),i.loaded("".concat(y,"|").concat(g),T,E)})})})}}}])}();TT.type="backend";var Hv=(t=>(t.en="en",t.de="de",t))(Hv||{});oi.use(fT).use(vT).use(DM).init({initImmediate:!0,supportedLngs:["en","de"],fallbackLng:"en",nonExplicitSupportedLngs:!0,load:"languageOnly",ns:["translation"],fallbackNS:"translation",partialBundledLanguages:!0,resources:{},interpolation:{escapeValue:!1},detection:{order:["querystring","localStorage","navigator"],caches:["localStorage"],convertDetectedLanguage:t=>t==null?void 0:t.split("-")[0]},backend:{backends:[TT],backendOptions:[{loadPath:t=>{var i,o,a;const n=(Array.isArray(t)?t[0]:t||"en").split("-")[0];return`${((i=window==null?void 0:window.env)==null?void 0:i.TRANSLATION_URL)??((o=window==null?void 0:window.env)==null?void 0:o.VITE_BASE_URL)??((a=window==null?void 0:window.env)==null?void 0:a.REACT_APP_BASE_URL)??`${location.protocol}//${location.host}`}/translations/${n}`},crossDomain:!0,cacheHitMode:"refresh"}]}});function QM(){const[t,e]=X.useState();return X.useEffect(()=>{const n=localStorage.getItem("language");e(n||Hv.en)},[]),{language:t,setLanguage:e}}const CT=X.createContext({}),eL=()=>X.useContext(CT),tL=oi,Os=rT,nL=()=>gT(),rL=({children:t})=>{const e=QM();return Pe.jsx(CT.Provider,{value:e,children:Pe.jsx(AM,{i18n:oi,children:t})})},mr={primary:"#93D500",primary100:"#F0F6E1",primary200:"#E5F5ED",primary300:"#93D500",primary400:"#009D4F",primary500:"#2E7D32",secondary:"#CC0066",secondaryDark:"#AE1857",textPrimary:"#292929",white:"#FFFFFF",grey100:"#FAFAFA",grey200:"#EEEEEE",grey300:"#DDDDDD",grey400:"#C5C5C5",grey500:"#BFBFBF",grey600:"#85858A",success:"#009D4F",successLight:"#E5F5ED",warning:"#FFB600",warningLight:"#FFF8E5",danger:"#E01B00",dangerLight:"#FCE8E5",dangerDark:"#BE1700",linkPrimary:"#007BFF",linkLight:"#007BFF10",headerBgColor:"#292929",headerTextColor:"#FFF",buttonText:"#292929",buttonHover:"#2E7D32"};var ET={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},X0=X.createContext&&X.createContext(ET),iL=["attr","size","title"];function oL(t,e){if(t==null)return{};var n=sL(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)r=o[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function sL(t,e){if(t==null)return{};var n={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;n[r]=t[r]}return n}function ep(){return ep=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ep.apply(this,arguments)}function K0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function tp(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?K0(Object(n),!0).forEach(function(r){aL(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):K0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function aL(t,e,n){return e=lL(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lL(t){var e=uL(t,"string");return typeof e=="symbol"?e:e+""}function uL(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function kT(t){return t&&t.map((e,n)=>X.createElement(e.tag,tp({key:n},e.attr),kT(e.child)))}function kp(t){return e=>X.createElement(cL,ep({attr:tp({},t.attr)},e),kT(t.child))}function cL(t){var e=n=>{var{attr:r,size:i,title:o}=t,a=oL(t,iL),c=i||n.size||"1em",f;return n.className&&(f=n.className),t.className&&(f=(f?f+" ":"")+t.className),X.createElement("svg",ep({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,a,{className:f,style:tp(tp({color:t.color||n.color},n.style),t.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),o&&X.createElement("title",null,o),t.children)};return X0!==void 0?X.createElement(X0.Consumer,null,n=>e(n)):e(ET)}function fL(t){return kp({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"},child:[]}]})(t)}function dL(t){return kp({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"},child:[]}]})(t)}const DT={allVariants:{lineHeight:"inherit"},fontFamily:"'SpecialAmpersand', 'TT Firs Neue Trl'",button:{textTransform:"none",fontSize:"0.875rem",fontWeight:400,boxShadow:"none"},body1:{fontSize:"0.875rem",fontWeight:400},body2:{fontSize:"0.75rem"},h6:{fontSize:"0.875rem",fontWeight:500},h5:{fontSize:"1rem",fontWeight:500},h4:{fontSize:"1.25rem",fontWeight:500},h3:{fontSize:"1.5rem",fontWeight:500},h2:{fontSize:"2rem",fontWeight:500},h1:{fontSize:"2.5rem",fontWeight:500},subtitle1:{fontSize:"0.75rem"},subtitle2:{fontSize:"0.625rem"}};function Dg(t){return t+" !important"}const PT=t=>{const e={...t.colors};return aa.createTheme({palette:{primary:{main:e.primary300,contrastText:e.textPrimary},secondary:{main:e.secondary,contrastText:e.textPrimary},warning:{main:e.warning,contrastText:e.textPrimary},error:{main:e.danger,contrastText:e.textPrimary}},typography:DT,components:{MuiIconButton:{styleOverrides:{root:{},sizeSmall:{}}},MuiButton:{styleOverrides:{root:{boxShadow:"none !important",padding:"8px 32px",borderWidth:1,borderRadius:3,fontWeight:400}},variants:[{props:{variant:"primary"},style:{backgroundColor:e.primary300,color:e.buttonText,"&:hover":{backgroundColor:e.buttonHover||e.primary300},"&.Mui-disabled":{backgroundColor:e.grey200}}},{props:{variant:"contained",color:"error"},style:{color:e.white}},{props:{variant:"confirm"},style:{backgroundColor:e.danger,color:e.white,"&:hover":{backgroundColor:e.dangerDark},"&.Mui-disabled":{backgroundColor:e.grey200}}},{props:{variant:"cancel"},style:{backgroundColor:e.grey300,color:e.textPrimary,"&:hover":{backgroundColor:e.grey400}}},{props:{variant:"outlinedPrimary"},style:{color:e.primary500,border:"1px solid",borderColor:e.primary500,"&:hover":{backgroundColor:"inherit"}}},{props:{variant:"outLinedDanger"},style:{color:e.danger,border:"1px solid",borderColor:e.danger,"&:hover":{backgroundColor:"inherit"}}},{props:{size:"small"},style:{fontSize:"12px",lineHeight:"normal",borderRadius:"3px",padding:"4px 16px"}}]},MuiAppBar:{styleOverrides:{root:{backgroundColor:e.appBarBgColor,color:e.appBarColor}}},MuiSelect:{defaultProps:{MenuProps:{PaperProps:{sx:{boxShadow:"none",border:1,borderStyle:"solid",borderColor:e.grey300,mt:"5px"}},MenuListProps:{sx:{padding:"5px","& .MuiMenuItem-root":{fontWeight:400,minHeight:0,borderRadius:"5px","&:hover":{backgroundColor:e.grey100},"&.Mui-selected":{backgroundColor:e.primary200}}}}}},styleOverrides:{select:{padding:"9.94px 5px 9.94px 15px"}}},MuiMenuItem:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:Dg(e.primary200),"&:hover":{backgroundColor:Dg(e.primary200)}}}}},MuiPaginationItem:{defaultProps:{components:{previous:fL,next:dL}},styleOverrides:{root:{"& svg":{width:"10px"},border:"none",fontSize:"14px",lineHeight:"1.5rem",borderRadius:"7px","&.Mui-selected":{backgroundColor:Dg(e.primary300+"1a")},"&.MuiPaginationItem-previousNext":{backgroundColor:e.grey200}}}},MuiChip:{styleOverrides:{root:{borderRadius:"5px",fontSize:"14px","& .MuiChip-label":{lineHeight:"normal"}},avatar:{width:"10px"},colorSuccess:{color:e.success,backgroundColor:e.successLight},colorWarning:{color:e.warning,backgroundColor:e.warningLight},colorError:{color:e.danger,backgroundColor:e.dangerLight},colorSecondary:{color:e.linkPrimary,backgroundColor:e.linkLight}}},MuiTab:{styleOverrides:{root:{flexDirection:"row",alignContent:"center",gap:"8px",textTransform:"capitalize",fontSize:"14px",borderRadius:0,marginRight:0,height:"48px",minWidth:"100px",padding:"12px 16px",fontWeight:"500","& svg":{mb:"0 !important"},minHeight:"auto","& .chart-icon":{fill:e.grey600},"& .detail-icon":{stroke:e.grey600},color:e.grey400,"&.Mui-selected":{color:e.primary400}}}},MuiTabs:{styleOverrides:{indicator:{backgroundColor:e.primary400}}},MuiDrawer:{defaultProps:{},styleOverrides:{root:{"&.MuiDrawer-paper":{overflowY:"unset"},"& .MuiDrawer-paper":{zIndex:9},"&.MuiPaper-root":{border:"none",background:e.grey100,pt:12,zIndex:9}}}},MuiTextField:{defaultProps:{InputProps:{sx:{"& .Mui-disabled":{background:e.grey200}}},InputLabelProps:{shrink:!0}},styleOverrides:{root:{backgroundColor:e.white,"& .MuiOutlinedInput-input":{padding:"0px 16px 0px 12px",fontWeight:400,height:40,fontSize:"14px",border:1,borderRadius:4,"&::placeholder":{color:e.grey600}},"& .MuiFormLabel-asterisk":{color:e.danger}}}},MuiFormGroup:{styleOverrides:{root:{}}},MuiFormHelperText:{defaultProps:{sx:{fontSize:12}},styleOverrides:{}},MuiAutocomplete:{defaultProps:{sx:{"& .MuiPaper-root":{padding:"5px"}}},styleOverrides:{root:{"& .MuiSvgIcon-root":{width:"20px",height:"20px"},"& .MuiAutocomplete-tag":{margin:0},"& .MuiButtonBase-root":{marginRight:"2px !important",height:"max-content",padding:"2px"},"& .MuiOutlinedInput-root":{padding:"7.45px 55px 7.45px 10px !important"},"& svg":{},"& #checkboxes-tags-demo":{padding:"6px 4px"},"& .MuiAutocomplete-endAdornment":{top:"calc(50% - 12px)"}}}},MuiTableHead:{styleOverrides:{root:{"& th":{fontSize:"14px",padding:"8px 16px"}}}},MuiTableBody:{styleOverrides:{root:{"& th,td":{fontSize:"14px",padding:"8px 16px",height:"45px"},"& .MuiTableCell-root":{borderBottom:`1px solid ${e.grey300}`}}}},MuiRadio:{defaultProps:{sx:{"&.MuiButtonBase-root":{padding:"5px"}}},styleOverrides:{root:{"& .MuiSvgIcon-root":{fontSize:16},color:e.grey600,"&.Mui-checked":{color:e.success},"&.Mui-disabled":{color:e.grey600}}}},MuiTooltip:{defaultProps:{placement:"top"},styleOverrides:{tooltip:{fontSize:"10px",backgroundColor:e.grey600,color:e.white,"& .MuiTooltip-arrow":{color:e.grey600}}}}}})};function Z0(t,e){const n={...t};return e==null||e.forEach(r=>{r.children&&r.children.forEach(({key:i,color:o})=>{n[i]=o.trim()||mr[i]})}),n}function OT(t){if(!t)return;let e=document.querySelector("link[rel*='icon']");e||(e=document.createElement("link"),e.rel="icon",document.head.appendChild(e)),e.href=t}function hL(t){var c,f,p;const{data:e,isFetching:n}=Pd.useQuery(["customTheme"],()=>t!=null&&t.url?fetch(t.url).then(y=>y.json()).then(y=>(["image","favicon","icon"].forEach(g=>{var T;(T=y==null?void 0:y.theme)!=null&&T[g]&&(y.theme[g]+=`?v=${Date.now()}`)}),y)):void 0,{enabled:!!(t!=null&&t.url)&&(t==null?void 0:t.enabled),refetchOnWindowFocus:!1,cacheTime:0,onSuccess(y){var T,E;OT((T=y==null?void 0:y.theme)==null?void 0:T.favicon);const g=Z0(mr,(E=y==null?void 0:y.theme)==null?void 0:E.keyColor);Object.keys(g).forEach(A=>{document.documentElement.style.setProperty(`--${A}`,g[A])}),document.documentElement.style.setProperty("font-family",DT.fontFamily)}}),r=Z0(mr,(c=e==null?void 0:e.theme)==null?void 0:c.keyColor),i=PT({colors:r}),o=(f=e==null?void 0:e.theme)==null?void 0:f.image,a=(p=e==null?void 0:e.theme)==null?void 0:p.icon;return{colors:r,theme:i,logo:o,icon:a,isFetching:n,themeDto:e==null?void 0:e.theme}}const _T=X.createContext({}),pL=()=>X.useContext(_T),gL=t=>{var o;const{children:e,brandTheme:n}=t,r=hL(n),i=((o=t.customTheme)==null?void 0:o.call(t,r.colors))||r.theme;return Pe.jsx(_T.Provider,{value:r,children:Pe.jsx(aa.ThemeProvider,{theme:i,children:e})})},mL=".modal-overlay{z-index:1300;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000041;--tw-backdrop-blur: blur(4px);justify-content:center;align-items:center;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.modal-title{font-size:1.25rem;line-height:1.75rem;color:#e01b00;font-weight:500}.modal-footer{display:flex;justify-content:space-between;width:80%}.modal-container{background:#fff;-webkit-backdrop-filter:blur(4.5px);backdrop-filter:blur(4.5px);display:flex;padding:32px 24px 40px;flex-direction:column;align-items:center;gap:24px;align-self:stretch;width:500px;height:204px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:.5rem}.modal-button{border-radius:3px;border:1px solid #ddd;background:#ddd;padding:8px 32px;font-size:14px;transition:background-color .25s cubic-bezier(.4,0,.2,1) 0ms,box-shadow .25s cubic-bezier(.4,0,.2,1) 0ms,border-color .25s cubic-bezier(.4,0,.2,1) 0ms,color .25s cubic-bezier(.4,0,.2,1) 0ms}.cancel-btn:hover{background:#c5c5c5}.confirm-btn{background:#e01b00!important}.confirm-btn:hover{background:#be1700!important}.text-white{color:#fff}.text-sm{font-size:.875rem;line-height:1.25rem}";function RT({isOpen:t,onClose:e,onConfirm:n}){if(!t)return null;function r(i){var o;((o=i.target)==null?void 0:o.id)==="modal-wrapper"&&e()}return Pe.jsxs(Pe.Fragment,{children:[Pe.jsx("style",{type:"text/css",children:mL}),Pe.jsx("div",{onClick:r,className:"modal-overlay",id:"modal-wrapper",children:Pe.jsxs("div",{className:"modal-container",children:[Pe.jsx("h3",{className:"modal-title",children:Os("components.logoutPage.title",{defaultValue:"Log out"})}),Pe.jsxs("p",{className:"text-sm",children:[" ",Os("components.logoutPage.confirmLogOut",{defaultValue:"Are you sure you want to log out?"})]}),Pe.jsxs("div",{className:"modal-footer",children:[Pe.jsx("button",{className:"modal-button cancel-btn",onClick:e,children:Os("commonElement.button.cancel",{defaultValue:"Cancel"})}),Pe.jsx("button",{onClick:n,className:"text-white confirm-btn modal-button",children:Os("commonElement.button.confirm",{defaultValue:"Comfirm"})})]})]})})]})}const vL=X.memo(({notification:t,notiPath:e,markAllAsReadState:n,brandColors:r,onMark:i,showDetail:o,onToggleDetail:a})=>{var R,U;const[c,f]=X.useState({id:t.id,isRead:t.isRead}),p=c.isRead===!1?"unread":"read",y={borderColor:c.isRead?"#c5c5c5":(r==null?void 0:r.primary500)||mr.primary500,backgroundColor:c.isRead?"#c5c5c5":(r==null?void 0:r.primary500)||mr.primary500},g=()=>{const H=!t.isRead;i&&i(t.id,H,e)};X.useEffect(()=>{f(n?H=>({...H,isRead:!0}):{id:t.id,isRead:t.isRead})},[n,t.id,t.isRead]);const T=()=>{typeof a=="function"&&a()},E=H=>{const ne=Om(),q=Om(H),ie=ne.diff(q,"days"),x=ne.diff(q,"minutes"),le=ne.diff(q,"months"),ae=ne.diff(q,"years");if(console.log("diffInMonths",le),x<1)return"Just now";if(ie===0){if(x<=60)return`${x} minute${x>1?"s":""} ago`;const Ve=Math.floor(x/60);return console.log("diffIhours",Ve),`${Ve} hour${Ve>1?"s":""} ago`}if(ie===1)return"Yesterday";if(ie>=2&&ie<7)return`${ie} days ago`;if(ie<30){const Ve=Math.floor(ie/7);return`${Ve} week${Ve>1?"s":""} ago`}return le===0||le===1?"1 month ago":le<12?`${le} months ago`:ae===0||ae===1?"1 year ago":"Over 1 year ago"},A=t!=null&&t.data?(R=t==null?void 0:t.data)==null?void 0:R.length:0,I=t!=null&&t.contextUrl?"a":"p",j=(H,ne)=>{var q,ie;if((H==null?void 0:H.actionKey)!=null){if((q=H==null?void 0:H.data)!=null&&q.brandName)return Os(`notificationAdmin.notify.actionKey.${H==null?void 0:H.actionKey}`,{defaultValue:`${H==null?void 0:H.message}`,brandName:H.data.brandName});switch(H==null?void 0:H.notificationType){case"deleteMultiple":return H!=null&&H.data&&((ie=H==null?void 0:H.data)==null?void 0:ie.length)>1?Os(`notificationAdmin.notify.actionKey.${H==null?void 0:H.actionKey}_multiple`,{defaultValue:`${H==null?void 0:H.actionKey}`,count:ne}):Os(`notificationAdmin.notify.actionKey.${H==null?void 0:H.actionKey}_single`,{defaultValue:`${H==null?void 0:H.actionKey}`});default:return Os(`notificationAdmin.notify.actionKey.${H==null?void 0:H.actionKey}`,{defaultValue:`${H==null?void 0:H.message}`})}}return H.message};return Pe.jsx(Pe.Fragment,{children:Pe.jsxs("div",{className:"notitification-item__container",children:[Pe.jsx("div",{className:"notification-item__image-container",children:Pe.jsx("img",{src:!t.actorAvatarUrl||t.actorName==="System"?"https://ukpcsaprod.blob.core.windows.net/account/logo.png":t.actorAvatarUrl,onError:({currentTarget:H})=>{console.log("img on error",H),H.onerror=null,H.src="https://ukpcsaprod.blob.core.windows.net/account/logo.png"},alt:t.actorName})}),Pe.jsxs("div",{style:{width:"calc(100% - 56px)"},children:[Pe.jsxs("div",{className:"notification-item__content-wrapper",children:[Pe.jsxs("div",{className:"notification-item__content",children:[Pe.jsx("p",{className:"notification-item__user-name",children:t.actorName}),Pe.jsxs(I,{href:t.contextUrl,style:{cursor:t!=null&&t.contextUrl?"pointer":"unset",textDecoration:"none",color:"inherit"},children:[j(t,A),Pe.jsx("span",{style:{color:t.contextUrl?"#007BFF":"#292929"},children:` ${t!=null&&t.context?t.context:""}`})]}),(t==null?void 0:t.notificationType)==="deleteMultiple"&&Pe.jsxs("button",{style:{color:mr.primary400,textDecoration:"underline"},onClick:T,children:[o?`${Os("notificationAdmin.notify.hideText",{defaultValue:"Hide"})} `:`${Os("notificationAdmin.notify.showText",{defaultValue:"Show"})} `,Os("notificationAdmin.notify.detailText",{defaultValue:"details"})]})]}),Pe.jsx("div",{className:"notification-item__time",children:Pe.jsx("p",{children:E(t.createdAt)})}),Pe.jsx("button",{className:`${p} notification-item__read-at`,"aria-label":"Mark as read",style:y,onClick:g})]}),o&&Pe.jsx("div",{style:{background:"#fff",width:"100%",padding:"8px",fontSize:"12px",marginTop:"8px"},children:Pe.jsx("ul",{children:(U=t==null?void 0:t.data)==null?void 0:U.map((H,ne)=>Pe.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:"4px"},children:[Pe.jsx("span",{style:{backgroundColor:mr.primary400},className:"list-dot"}),Pe.jsx("span",{style:{width:"calc(100% - 12px)"},children:H.name})]},ne))})})]})]})})}),AT=X.createContext({}),yL=({children:t})=>{const[e,n]=X.useState(!1),[r,i]=X.useState({all:{total:0},unread:{total:0}}),o=()=>{n(!e)},a=()=>{n(!1)};return Pe.jsx(AT.Provider,{value:{isOpen:e,toggleOpen:o,setShowModalFalse:a,notidata:r,setNotiData:i},children:t})};function J0(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}function bL(t){var e=t.lastRenderedStartIndex,n=t.lastRenderedStopIndex,r=t.startIndex,i=t.stopIndex;return!(r>n||i<e)}function wL(t){for(var e=t.isItemLoaded,n=t.itemCount,r=t.minimumBatchSize,i=t.startIndex,o=t.stopIndex,a=[],c=null,f=null,p=i;p<=o;p++){var y=e(p);y?f!==null&&(a.push(c,f),c=f=null):(f=p,c===null&&(c=p))}if(f!==null){for(var g=Math.min(Math.max(f,c+r-1),n-1),T=f+1;T<=g&&!e(T);T++)f=T;a.push(c,f)}if(a.length)for(;a[1]-a[0]+1<r&&a[0]>0;){var E=a[0]-1;if(!e(E))a[0]=E;else break}return a}var xL=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},SL=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),TL=function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},Q0=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t},CL=function(t){TL(e,t);function e(){var n,r,i,o;xL(this,e);for(var a=arguments.length,c=Array(a),f=0;f<a;f++)c[f]=arguments[f];return o=(r=(i=Q0(this,(n=e.__proto__||Object.getPrototypeOf(e)).call.apply(n,[this].concat(c))),i),i._lastRenderedStartIndex=-1,i._lastRenderedStopIndex=-1,i._memoizedUnloadedRanges=[],i._onItemsRendered=function(p){var y=p.visibleStartIndex,g=p.visibleStopIndex;process.env.NODE_ENV!=="production"&&((!J0(y)||!J0(g))&&console.warn("Invalid onItemsRendered signature; please refer to InfiniteLoader documentation."),typeof i.props.loadMoreRows=="function"&&console.warn('InfiniteLoader "loadMoreRows" prop has been renamed to "loadMoreItems".')),i._lastRenderedStartIndex=y,i._lastRenderedStopIndex=g,i._ensureRowsLoaded(y,g)},i._setRef=function(p){i._listRef=p},r),Q0(i,o)}return SL(e,[{key:"resetloadMoreItemsCache",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],r&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){process.env.NODE_ENV!=="production"&&this._listRef==null&&console.warn("Invalid list ref; please refer to InfiniteLoader documentation.")}},{key:"render",value:function(){var r=this.props.children;return r({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(r,i){var o=this.props,a=o.isItemLoaded,c=o.itemCount,f=o.minimumBatchSize,p=f===void 0?10:f,y=o.threshold,g=y===void 0?15:y,T=wL({isItemLoaded:a,itemCount:c,minimumBatchSize:p,startIndex:Math.max(0,r-g),stopIndex:Math.min(c-1,i+g)});(this._memoizedUnloadedRanges.length!==T.length||this._memoizedUnloadedRanges.some(function(E,A){return T[A]!==E}))&&(this._memoizedUnloadedRanges=T,this._loadUnloadedRanges(T))}},{key:"_loadUnloadedRanges",value:function(r){for(var i=this,o=this.props.loadMoreItems||this.props.loadMoreRows,a=function(p){var y=r[p],g=r[p+1],T=o(y,g);T!=null&&T.then(function(){if(bL({lastRenderedStartIndex:i._lastRenderedStartIndex,lastRenderedStopIndex:i._lastRenderedStopIndex,startIndex:y,stopIndex:g})){if(i._listRef==null)return;typeof i._listRef.resetAfterIndex=="function"?i._listRef.resetAfterIndex(y,!0):(typeof i._listRef._getItemStyleCache=="function"&&i._listRef._getItemStyleCache(-1),i._listRef.forceUpdate())}})},c=0;c<r.length;c+=2)a(c)}}]),e}(X.PureComponent);function Df(){return Df=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Df.apply(null,arguments)}const EL=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Df}},Symbol.toStringTag,{value:"Module"}));function IT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Xh(t,e)}const kL="*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}";function Uv({children:t,styles:e=[],...n}){return Pe.jsxs("div",{...n,children:[[kL,...e].map((r,i)=>Pe.jsx("style",{type:"text/css",children:r},i)),t]})}function DL(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Wv=DL,PL=typeof ki=="object"&&ki&&ki.Object===Object&&ki,OL=PL,_L=OL,RL=typeof self=="object"&&self&&self.Object===Object&&self,AL=_L||RL||Function("return this")(),MT=AL,IL=MT,ML=function(){return IL.Date.now()},LL=ML,FL=/\s/;function NL(t){for(var e=t.length;e--&&FL.test(t.charAt(e)););return e}var jL=NL,BL=jL,$L=/^\s+/;function VL(t){return t&&t.slice(0,BL(t)+1).replace($L,"")}var HL=VL,UL=MT,WL=UL.Symbol,LT=WL,ew=LT,FT=Object.prototype,zL=FT.hasOwnProperty,YL=FT.toString,rd=ew?ew.toStringTag:void 0;function GL(t){var e=zL.call(t,rd),n=t[rd];try{t[rd]=void 0;var r=!0}catch{}var i=YL.call(t);return r&&(e?t[rd]=n:delete t[rd]),i}var qL=GL,XL=Object.prototype,KL=XL.toString;function ZL(t){return KL.call(t)}var JL=ZL,tw=LT,QL=qL,e2=JL,t2="[object Null]",n2="[object Undefined]",nw=tw?tw.toStringTag:void 0;function r2(t){return t==null?t===void 0?n2:t2:nw&&nw in Object(t)?QL(t):e2(t)}var i2=r2;function o2(t){return t!=null&&typeof t=="object"}var s2=o2,a2=i2,l2=s2,u2="[object Symbol]";function c2(t){return typeof t=="symbol"||l2(t)&&a2(t)==u2}var f2=c2,d2=HL,rw=Wv,h2=f2,iw=NaN,p2=/^[-+]0x[0-9a-f]+$/i,g2=/^0b[01]+$/i,m2=/^0o[0-7]+$/i,v2=parseInt;function y2(t){if(typeof t=="number")return t;if(h2(t))return iw;if(rw(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=rw(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=d2(t);var n=g2.test(t);return n||m2.test(t)?v2(t.slice(2),n?2:8):p2.test(t)?iw:+t}var b2=y2,w2=Wv,Pg=LL,ow=b2,x2="Expected a function",S2=Math.max,T2=Math.min;function C2(t,e,n){var r,i,o,a,c,f,p=0,y=!1,g=!1,T=!0;if(typeof t!="function")throw new TypeError(x2);e=ow(e)||0,w2(n)&&(y=!!n.leading,g="maxWait"in n,o=g?S2(ow(n.maxWait)||0,e):o,T="trailing"in n?!!n.trailing:T);function E(ie){var x=r,le=i;return r=i=void 0,p=ie,a=t.apply(le,x),a}function A(ie){return p=ie,c=setTimeout(R,e),y?E(ie):a}function I(ie){var x=ie-f,le=ie-p,ae=e-x;return g?T2(ae,o-le):ae}function j(ie){var x=ie-f,le=ie-p;return f===void 0||x>=e||x<0||g&&le>=o}function R(){var ie=Pg();if(j(ie))return U(ie);c=setTimeout(R,I(ie))}function U(ie){return c=void 0,T&&r?E(ie):(r=i=void 0,a)}function H(){c!==void 0&&clearTimeout(c),p=0,r=f=i=c=void 0}function ne(){return c===void 0?a:U(Pg())}function q(){var ie=Pg(),x=j(ie);if(r=arguments,i=this,f=ie,x){if(c===void 0)return A(f);if(g)return clearTimeout(c),c=setTimeout(R,e),E(f)}return c===void 0&&(c=setTimeout(R,e)),a}return q.cancel=H,q.flush=ne,q}var NT=C2;const Og=Eu(NT);var E2=NT,k2=Wv,D2="Expected a function";function P2(t,e,n){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(D2);return k2(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),E2(t,e,{leading:r,maxWait:e,trailing:i})}var O2=P2;const _2=Eu(O2);var pf=function(){return pf=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},pf.apply(this,arguments)};function jT(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function BT(t){return!t||!t.ownerDocument?document:t.ownerDocument}var $T=function(t){var e={},n=Array.prototype.reduce.call(t,function(r,i){var o=i.name.match(/data-simplebar-(.+)/);if(o){var a=o[1].replace(/\W+(.)/g,function(c,f){return f.toUpperCase()});switch(i.value){case"true":r[a]=!0;break;case"false":r[a]=!1;break;case void 0:r[a]=!0;break;default:r[a]=i.value}}return r},e);return n};function VT(t,e){var n;t&&(n=t.classList).add.apply(n,e.split(" "))}function HT(t,e){t&&e.split(" ").forEach(function(n){t.classList.remove(n)})}function UT(t){return".".concat(t.split(" ").join("."))}var zv=!!(typeof window<"u"&&window.document&&window.document.createElement),R2=Object.freeze({__proto__:null,addClasses:VT,canUseDOM:zv,classNamesToQuery:UT,getElementDocument:BT,getElementWindow:jT,getOptions:$T,removeClasses:HT}),df=null,sw=null;zv&&window.addEventListener("resize",function(){sw!==window.devicePixelRatio&&(sw=window.devicePixelRatio,df=null)});function aw(){if(df===null){if(typeof document>"u")return df=0,df;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var n=e.getBoundingClientRect().right;t.removeChild(e),df=n}return df}var iu=jT,_g=BT,A2=$T,ou=VT,su=HT,Oo=UT,id=function(){function t(e,n){n===void 0&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var i=iu(r.el);r.scrollXTicking||(i.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(i.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,ou(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){su(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(ou(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){su(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(i){r.mouseX=i.clientX,r.mouseY=i.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(i){if(!(!r.axis.x.track.el||!r.axis.y.track.el||!r.axis.x.scrollbar.el||!r.axis.y.scrollbar.el)){var o,a;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(o=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(a=r.isWithinBounds(r.axis.y.track.rect)),(o||a)&&(i.stopPropagation(),i.type==="pointerdown"&&i.pointerType!=="touch"&&(o&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(i,"x"):r.onTrackClick(i,"x")),a&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(i,"y"):r.onTrackClick(i,"y"))))}},this.drag=function(i){var o,a,c,f,p,y,g,T,E,A,I;if(!(!r.draggedAxis||!r.contentWrapperEl)){var j,R=r.axis[r.draggedAxis].track,U=(a=(o=R.rect)===null||o===void 0?void 0:o[r.axis[r.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,H=r.axis[r.draggedAxis].scrollbar,ne=(f=(c=r.contentWrapperEl)===null||c===void 0?void 0:c[r.axis[r.draggedAxis].scrollSizeAttr])!==null&&f!==void 0?f:0,q=parseInt((y=(p=r.elStyles)===null||p===void 0?void 0:p[r.axis[r.draggedAxis].sizeAttr])!==null&&y!==void 0?y:"0px",10);i.preventDefault(),i.stopPropagation(),r.draggedAxis==="y"?j=i.pageY:j=i.pageX;var ie=j-((T=(g=R.rect)===null||g===void 0?void 0:g[r.axis[r.draggedAxis].offsetAttr])!==null&&T!==void 0?T:0)-r.axis[r.draggedAxis].dragOffset;ie=r.draggedAxis==="x"&&r.isRtl?((A=(E=R.rect)===null||E===void 0?void 0:E[r.axis[r.draggedAxis].sizeAttr])!==null&&A!==void 0?A:0)-H.size-ie:ie;var x=ie/(U-H.size),le=x*(ne-q);r.draggedAxis==="x"&&r.isRtl&&(le=!((I=t.getRtlHelpers())===null||I===void 0)&&I.isScrollingToNegative?-le:le),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=le}},this.onEndDrag=function(i){r.isDragging=!1;var o=_g(r.el),a=iu(r.el);i.preventDefault(),i.stopPropagation(),su(r.el,r.classNames.dragging),r.onStopScrolling(),o.removeEventListener("mousemove",r.drag,!0),o.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=a.setTimeout(function(){o.removeEventListener("click",r.preventClick,!0),o.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(i){i.preventDefault(),i.stopPropagation()},this.el=e,this.options=pf(pf({},t.defaultOptions),n),this.classNames=pf(pf({},t.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=_2(this._onMouseMove,64),this.onWindowResize=Og(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Og(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Og(this._onMouseEntered,this.stopScrollDelay),this.init()}return t.getRtlHelpers=function(){if(t.rtlHelpers)return t.rtlHelpers;var e=document.createElement("div");e.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=e.firstElementChild,r=n==null?void 0:n.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var i=t.getOffset(n),o=t.getOffset(r);n.scrollLeft=-999;var a=t.getOffset(r);return document.body.removeChild(n),t.rtlHelpers={isScrollOriginAtZero:i.left!==o.left,isScrollingToNegative:o.left!==a.left},t.rtlHelpers},t.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:aw()}catch{return aw()}},t.getOffset=function(e){var n=e.getBoundingClientRect(),r=_g(e),i=iu(e);return{top:n.top+(i.pageYOffset||r.documentElement.scrollTop),left:n.left+(i.pageXOffset||r.documentElement.scrollLeft)}},t.prototype.init=function(){zv&&(this.initDOM(),this.rtlHelpers=t.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.prototype.initDOM=function(){var e,n;this.wrapperEl=this.el.querySelector(Oo(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Oo(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Oo(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Oo(this.classNames.offset)),this.maskEl=this.el.querySelector(Oo(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Oo(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Oo(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Oo(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Oo(this.classNames.track)).concat(Oo(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Oo(this.classNames.track)).concat(Oo(this.classNames.vertical))),this.axis.x.scrollbar.el=((e=this.axis.x.track.el)===null||e===void 0?void 0:e.querySelector(Oo(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(Oo(this.classNames.scrollbar)))||null,this.options.autoHide||(ou(this.axis.x.scrollbar.el,this.classNames.visible),ou(this.axis.y.scrollbar.el,this.classNames.visible))},t.prototype.initListeners=function(){var e=this,n,r=iu(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),r.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var i=!1,o=r.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){i&&r.requestAnimationFrame(function(){e.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),r.requestAnimationFrame(function(){i=!0})}this.mutationObserver=new r.MutationObserver(function(){r.requestAnimationFrame(function(){e.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},t.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var e=iu(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,r=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1||n>0,o=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var f=this.contentEl.scrollHeight,p=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=r?"auto":"100%",this.placeholderEl.style.width=i?"".concat(n||p,"px"):"auto",this.placeholderEl.style.height="".concat(f,"px");var y=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&p>n,this.axis.y.isOverflowing=f>y,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,T=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&p>o-T,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&f>y-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},t.prototype.getScrollbarSize=function(e){var n,r;if(e===void 0&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var i=this.contentEl[this.axis[e].scrollSizeAttr],o=(r=(n=this.axis[e].track.el)===null||n===void 0?void 0:n[this.axis[e].offsetSizeAttr])!==null&&r!==void 0?r:0,a=o/i,c;return c=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},t.prototype.positionScrollbar=function(e){var n,r,i;e===void 0&&(e="y");var o=this.axis[e].scrollbar;if(!(!this.axis[e].isOverflowing||!this.contentWrapperEl||!o.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[e].scrollSizeAttr],c=((n=this.axis[e].track.el)===null||n===void 0?void 0:n[this.axis[e].offsetSizeAttr])||0,f=parseInt(this.elStyles[this.axis[e].sizeAttr],10),p=this.contentWrapperEl[this.axis[e].scrollOffsetAttr];p=e==="x"&&this.isRtl&&(!((r=t.getRtlHelpers())===null||r===void 0)&&r.isScrollOriginAtZero)?-p:p,e==="x"&&this.isRtl&&(p=!((i=t.getRtlHelpers())===null||i===void 0)&&i.isScrollingToNegative?p:-p);var y=p/(a-f),g=~~((c-o.size)*y);g=e==="x"&&this.isRtl?-g+(c-o.size):g,o.el.style.transform=e==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},t.prototype.toggleTrackVisibility=function(e){e===void 0&&(e="y");var n=this.axis[e].track.el,r=this.axis[e].scrollbar.el;!n||!r||!this.contentWrapperEl||(this.axis[e].isOverflowing||this.axis[e].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?r.style.display="block":r.style.display="none")},t.prototype.showScrollbar=function(e){e===void 0&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(ou(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},t.prototype.hideScrollbar=function(e){e===void 0&&(e="y"),!this.isDragging&&this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(su(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},t.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},t.prototype.onMouseMoveForAxis=function(e){e===void 0&&(e="y");var n=this.axis[e];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(e),ou(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?ou(n.scrollbar.el,this.classNames.hover):su(n.scrollbar.el,this.classNames.hover)):(su(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},t.prototype.onMouseLeaveForAxis=function(e){e===void 0&&(e="y"),su(this.axis[e].track.el,this.classNames.hover),su(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},t.prototype.onDragStart=function(e,n){var r;n===void 0&&(n="y"),this.isDragging=!0;var i=_g(this.el),o=iu(this.el),a=this.axis[n].scrollbar,c=n==="y"?e.pageY:e.pageX;this.axis[n].dragOffset=c-(((r=a.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])||0),this.draggedAxis=n,ou(this.el,this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.prototype.onTrackClick=function(e,n){var r=this,i,o,a,c;n===void 0&&(n="y");var f=this.axis[n];if(!(!this.options.clickOnTrack||!f.scrollbar.el||!this.contentWrapperEl)){e.preventDefault();var p=iu(this.el);this.axis[n].scrollbar.rect=f.scrollbar.el.getBoundingClientRect();var y=this.axis[n].scrollbar,g=(o=(i=y.rect)===null||i===void 0?void 0:i[this.axis[n].offsetAttr])!==null&&o!==void 0?o:0,T=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),E=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],A=n==="y"?this.mouseY-g:this.mouseX-g,I=A<0?-1:1,j=I===-1?E-T:E+T,R=40,U=function(){r.contentWrapperEl&&(I===-1?E>j&&(E-=R,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=E,p.requestAnimationFrame(U)):E<j&&(E+=R,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=E,p.requestAnimationFrame(U)))};U()}},t.prototype.getContentElement=function(){return this.contentEl},t.prototype.getScrollElement=function(){return this.contentWrapperEl},t.prototype.removeListeners=function(){var e=iu(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},t.prototype.unMount=function(){this.removeListeners()},t.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.prototype.findChild=function(e,n){var r=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(i){return r.call(i,n)})[0]},t.rtlHelpers=null,t.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},t.getOptions=A2,t.helpers=R2,t}(),Ko=function(){return Ko=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ko.apply(this,arguments)};function I2(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}var Yv=kn.forwardRef(function(t,e){var n=t.children,r=t.scrollableNodeProps,i=r===void 0?{}:r,o=I2(t,["children","scrollableNodeProps"]),a=kn.useRef(),c=kn.useRef(),f=kn.useRef(),p={},y={};Object.keys(o).forEach(function(E){Object.prototype.hasOwnProperty.call(id.defaultOptions,E)?p[E]=o[E]:y[E]=o[E]});var g=Ko(Ko({},id.defaultOptions.classNames),p.classNames),T=Ko(Ko({},i),{className:"".concat(g.contentWrapper).concat(i.className?" ".concat(i.className):""),tabIndex:p.tabIndex||id.defaultOptions.tabIndex,role:"region","aria-label":p.ariaLabel||id.defaultOptions.ariaLabel});return kn.useEffect(function(){var E;return c.current=T.ref?T.ref.current:c.current,a.current&&(E=new id(a.current,Ko(Ko(Ko({},p),c.current&&{scrollableNode:c.current}),f.current&&{contentNode:f.current})),typeof e=="function"?e(E):e&&(e.current=E)),function(){E==null||E.unMount(),E=null,typeof e=="function"&&e(null)}},[]),kn.createElement("div",Ko({"data-simplebar":"init",ref:a},y),kn.createElement("div",{className:g.wrapper},kn.createElement("div",{className:g.heightAutoObserverWrapperEl},kn.createElement("div",{className:g.heightAutoObserverEl})),kn.createElement("div",{className:g.mask},kn.createElement("div",{className:g.offset},typeof n=="function"?n({scrollableNodeRef:c,scrollableNodeProps:Ko(Ko({},T),{ref:c}),contentNodeRef:f,contentNodeProps:{className:g.contentEl,ref:f}}):kn.createElement("div",Ko({},T),kn.createElement("div",{className:g.contentEl},n)))),kn.createElement("div",{className:g.placeholder})),kn.createElement("div",{className:"".concat(g.track," simplebar-horizontal")},kn.createElement("div",{className:g.scrollbar})),kn.createElement("div",{className:"".concat(g.track," simplebar-vertical")},kn.createElement("div",{className:g.scrollbar})))});Yv.displayName="SimpleBar";const WT='[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}';function zT(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(n=zT(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function wl(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=zT(t))&&(r&&(r+=" "),r+=e);return r}const _d=t=>typeof t=="number"&&!isNaN(t),xc=t=>typeof t=="string",Zo=t=>typeof t=="function",Fh=t=>xc(t)||Zo(t)?t:null,Fm=t=>X.isValidElement(t)||xc(t)||Zo(t)||_d(t);function M2(t,e,n){n===void 0&&(n=300);const{scrollHeight:r,style:i}=t;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(e,n)})})}function Dp(t){let{enter:e,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:o=300}=t;return function(a){let{children:c,position:f,preventExitTransition:p,done:y,nodeRef:g,isIn:T,playToast:E}=a;const A=r?`${e}--${f}`:e,I=r?`${n}--${f}`:n,j=X.useRef(0);return X.useLayoutEffect(()=>{const R=g.current,U=A.split(" "),H=ne=>{ne.target===g.current&&(E(),R.removeEventListener("animationend",H),R.removeEventListener("animationcancel",H),j.current===0&&ne.type!=="animationcancel"&&R.classList.remove(...U))};R.classList.add(...U),R.addEventListener("animationend",H),R.addEventListener("animationcancel",H)},[]),X.useEffect(()=>{const R=g.current,U=()=>{R.removeEventListener("animationend",U),i?M2(R,y,o):y()};T||(p?U():(j.current=1,R.className+=` ${I}`,R.addEventListener("animationend",U)))},[T]),X.createElement(X.Fragment,null,c)}}function lw(t,e){return t!=null?{content:t.content,containerId:t.props.containerId,id:t.props.toastId,theme:t.props.theme,type:t.props.type,data:t.props.data||{},isLoading:t.props.isLoading,icon:t.props.icon,status:e}:{}}const oo=new Map;let Rd=[];const Nm=new Set,L2=t=>Nm.forEach(e=>e(t)),YT=()=>oo.size>0;function GT(t,e){var n;if(e)return!((n=oo.get(e))==null||!n.isToastActive(t));let r=!1;return oo.forEach(i=>{i.isToastActive(t)&&(r=!0)}),r}function qT(t,e){Fm(t)&&(YT()||Rd.push({content:t,options:e}),oo.forEach(n=>{n.buildToast(t,e)}))}function uw(t,e){oo.forEach(n=>{e!=null&&e!=null&&e.containerId?(e==null?void 0:e.containerId)===n.id&&n.toggle(t,e==null?void 0:e.id):n.toggle(t,e==null?void 0:e.id)})}function F2(t){const{subscribe:e,getSnapshot:n,setProps:r}=X.useRef(function(o){const a=o.containerId||1;return{subscribe(c){const f=function(y,g,T){let E=1,A=0,I=[],j=[],R=[],U=g;const H=new Map,ne=new Set,q=()=>{R=Array.from(H.values()),ne.forEach(le=>le())},ie=le=>{j=le==null?[]:j.filter(ae=>ae!==le),q()},x=le=>{const{toastId:ae,onOpen:Ve,updateId:tt,children:Qe}=le.props,qe=tt==null;le.staleId&&H.delete(le.staleId),H.set(ae,le),j=[...j,le.props.toastId].filter(Oe=>Oe!==le.staleId),q(),T(lw(le,qe?"added":"updated")),qe&&Zo(Ve)&&Ve(X.isValidElement(Qe)&&Qe.props)};return{id:y,props:U,observe:le=>(ne.add(le),()=>ne.delete(le)),toggle:(le,ae)=>{H.forEach(Ve=>{ae!=null&&ae!==Ve.props.toastId||Zo(Ve.toggle)&&Ve.toggle(le)})},removeToast:ie,toasts:H,clearQueue:()=>{A-=I.length,I=[]},buildToast:(le,ae)=>{if((Ne=>{let{containerId:We,toastId:Be,updateId:ze}=Ne;const Ke=We?We!==y:y!==1,ot=H.has(Be)&&ze==null;return Ke||ot})(ae))return;const{toastId:Ve,updateId:tt,data:Qe,staleId:qe,delay:Oe}=ae,ue=()=>{ie(Ve)},ve=tt==null;ve&&A++;const ke={...U,style:U.toastStyle,key:E++,...Object.fromEntries(Object.entries(ae).filter(Ne=>{let[We,Be]=Ne;return Be!=null})),toastId:Ve,updateId:tt,data:Qe,closeToast:ue,isIn:!1,className:Fh(ae.className||U.toastClassName),bodyClassName:Fh(ae.bodyClassName||U.bodyClassName),progressClassName:Fh(ae.progressClassName||U.progressClassName),autoClose:!ae.isLoading&&(Le=ae.autoClose,et=U.autoClose,Le===!1||_d(Le)&&Le>0?Le:et),deleteToast(){const Ne=H.get(Ve),{onClose:We,children:Be}=Ne.props;Zo(We)&&We(X.isValidElement(Be)&&Be.props),T(lw(Ne,"removed")),H.delete(Ve),A--,A<0&&(A=0),I.length>0?x(I.shift()):q()}};var Le,et;ke.closeButton=U.closeButton,ae.closeButton===!1||Fm(ae.closeButton)?ke.closeButton=ae.closeButton:ae.closeButton===!0&&(ke.closeButton=!Fm(U.closeButton)||U.closeButton);let ge=le;X.isValidElement(le)&&!xc(le.type)?ge=X.cloneElement(le,{closeToast:ue,toastProps:ke,data:Qe}):Zo(le)&&(ge=le({closeToast:ue,toastProps:ke,data:Qe}));const Se={content:ge,props:ke,staleId:qe};U.limit&&U.limit>0&&A>U.limit&&ve?I.push(Se):_d(Oe)?setTimeout(()=>{x(Se)},Oe):x(Se)},setProps(le){U=le},setToggle:(le,ae)=>{H.get(le).toggle=ae},isToastActive:le=>j.some(ae=>ae===le),getSnapshot:()=>R}}(a,o,L2);oo.set(a,f);const p=f.observe(c);return Rd.forEach(y=>qT(y.content,y.options)),Rd=[],()=>{p(),oo.delete(a)}},setProps(c){var f;(f=oo.get(a))==null||f.setProps(c)},getSnapshot(){var c;return(c=oo.get(a))==null?void 0:c.getSnapshot()}}}(t)).current;r(t);const i=X.useSyncExternalStore(e,n,n);return{getToastToRender:function(o){if(!i)return[];const a=new Map;return t.newestOnTop&&i.reverse(),i.forEach(c=>{const{position:f}=c.props;a.has(f)||a.set(f,[]),a.get(f).push(c)}),Array.from(a,c=>o(c[0],c[1]))},isToastActive:GT,count:i==null?void 0:i.length}}function N2(t){const[e,n]=X.useState(!1),[r,i]=X.useState(!1),o=X.useRef(null),a=X.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:c,pauseOnHover:f,closeToast:p,onClick:y,closeOnClick:g}=t;var T,E;function A(){n(!0)}function I(){n(!1)}function j(H){const ne=o.current;a.canDrag&&ne&&(a.didMove=!0,e&&I(),a.delta=t.draggableDirection==="x"?H.clientX-a.start:H.clientY-a.start,a.start!==H.clientX&&(a.canCloseOnClick=!1),ne.style.transform=`translate3d(${t.draggableDirection==="x"?`${a.delta}px, var(--y)`:`0, calc(${a.delta}px + var(--y))`},0)`,ne.style.opacity=""+(1-Math.abs(a.delta/a.removalDistance)))}function R(){document.removeEventListener("pointermove",j),document.removeEventListener("pointerup",R);const H=o.current;if(a.canDrag&&a.didMove&&H){if(a.canDrag=!1,Math.abs(a.delta)>a.removalDistance)return i(!0),t.closeToast(),void t.collapseAll();H.style.transition="transform 0.2s, opacity 0.2s",H.style.removeProperty("transform"),H.style.removeProperty("opacity")}}(E=oo.get((T={id:t.toastId,containerId:t.containerId,fn:n}).containerId||1))==null||E.setToggle(T.id,T.fn),X.useEffect(()=>{if(t.pauseOnFocusLoss)return document.hasFocus()||I(),window.addEventListener("focus",A),window.addEventListener("blur",I),()=>{window.removeEventListener("focus",A),window.removeEventListener("blur",I)}},[t.pauseOnFocusLoss]);const U={onPointerDown:function(H){if(t.draggable===!0||t.draggable===H.pointerType){a.didMove=!1,document.addEventListener("pointermove",j),document.addEventListener("pointerup",R);const ne=o.current;a.canCloseOnClick=!0,a.canDrag=!0,ne.style.transition="none",t.draggableDirection==="x"?(a.start=H.clientX,a.removalDistance=ne.offsetWidth*(t.draggablePercent/100)):(a.start=H.clientY,a.removalDistance=ne.offsetHeight*(t.draggablePercent===80?1.5*t.draggablePercent:t.draggablePercent)/100)}},onPointerUp:function(H){const{top:ne,bottom:q,left:ie,right:x}=o.current.getBoundingClientRect();H.nativeEvent.type!=="touchend"&&t.pauseOnHover&&H.clientX>=ie&&H.clientX<=x&&H.clientY>=ne&&H.clientY<=q?I():A()}};return c&&f&&(U.onMouseEnter=I,t.stacked||(U.onMouseLeave=A)),g&&(U.onClick=H=>{y&&y(H),a.canCloseOnClick&&p()}),{playToast:A,pauseToast:I,isRunning:e,preventExitTransition:r,toastRef:o,eventHandlers:U}}function j2(t){let{delay:e,isRunning:n,closeToast:r,type:i="default",hide:o,className:a,style:c,controlledProgress:f,progress:p,rtl:y,isIn:g,theme:T}=t;const E=o||f&&p===0,A={...c,animationDuration:`${e}ms`,animationPlayState:n?"running":"paused"};f&&(A.transform=`scaleX(${p})`);const I=wl("Toastify__progress-bar",f?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${T}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":y}),j=Zo(a)?a({rtl:y,type:i,defaultClassName:I}):wl(I,a),R={[f&&p>=1?"onTransitionEnd":"onAnimationEnd"]:f&&p<1?null:()=>{g&&r()}};return X.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":E},X.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${T} Toastify__progress-bar--${i}`}),X.createElement("div",{role:"progressbar","aria-hidden":E?"true":"false","aria-label":"notification timer",className:j,style:A,...R}))}let B2=1;const XT=()=>""+B2++;function $2(t){return t&&(xc(t.toastId)||_d(t.toastId))?t.toastId:XT()}function md(t,e){return qT(t,e),e.toastId}function np(t,e){return{...e,type:e&&e.type||t,toastId:$2(e)}}function mh(t){return(e,n)=>md(e,np(t,n))}function xn(t,e){return md(t,np("default",e))}xn.loading=(t,e)=>md(t,np("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...e})),xn.promise=function(t,e,n){let r,{pending:i,error:o,success:a}=e;i&&(r=xc(i)?xn.loading(i,n):xn.loading(i.render,{...n,...i}));const c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},f=(y,g,T)=>{if(g==null)return void xn.dismiss(r);const E={type:y,...c,...n,data:T},A=xc(g)?{render:g}:g;return r?xn.update(r,{...E,...A}):xn(A.render,{...E,...A}),T},p=Zo(t)?t():t;return p.then(y=>f("success",a,y)).catch(y=>f("error",o,y)),p},xn.success=mh("success"),xn.info=mh("info"),xn.error=mh("error"),xn.warning=mh("warning"),xn.warn=xn.warning,xn.dark=(t,e)=>md(t,np("default",{theme:"dark",...e})),xn.dismiss=function(t){(function(e){var n;if(YT()){if(e==null||xc(n=e)||_d(n))oo.forEach(r=>{r.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){const r=oo.get(e.containerId);r?r.removeToast(e.id):oo.forEach(i=>{i.removeToast(e.id)})}}else Rd=Rd.filter(r=>e!=null&&r.options.toastId!==e)})(t)},xn.clearWaitingQueue=function(t){t===void 0&&(t={}),oo.forEach(e=>{!e.props.limit||t.containerId&&e.id!==t.containerId||e.clearQueue()})},xn.isActive=GT,xn.update=function(t,e){e===void 0&&(e={});const n=((r,i)=>{var o;let{containerId:a}=i;return(o=oo.get(a||1))==null?void 0:o.toasts.get(r)})(t,e);if(n){const{props:r,content:i}=n,o={delay:100,...r,...e,toastId:e.toastId||t,updateId:XT()};o.toastId!==t&&(o.staleId=t);const a=o.render||i;delete o.render,md(a,o)}},xn.done=t=>{xn.update(t,{progress:1})},xn.onChange=function(t){return Nm.add(t),()=>{Nm.delete(t)}},xn.play=t=>uw(!0,t),xn.pause=t=>uw(!1,t);const V2=typeof window<"u"?X.useLayoutEffect:X.useEffect,vh=t=>{let{theme:e,type:n,isLoading:r,...i}=t;return X.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...i})},Rg={info:function(t){return X.createElement(vh,{...t},X.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return X.createElement(vh,{...t},X.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return X.createElement(vh,{...t},X.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return X.createElement(vh,{...t},X.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return X.createElement("div",{className:"Toastify__spinner"})}},H2=t=>{const{isRunning:e,preventExitTransition:n,toastRef:r,eventHandlers:i,playToast:o}=N2(t),{closeButton:a,children:c,autoClose:f,onClick:p,type:y,hideProgressBar:g,closeToast:T,transition:E,position:A,className:I,style:j,bodyClassName:R,bodyStyle:U,progressClassName:H,progressStyle:ne,updateId:q,role:ie,progress:x,rtl:le,toastId:ae,deleteToast:Ve,isIn:tt,isLoading:Qe,closeOnClick:qe,theme:Oe}=t,ue=wl("Toastify__toast",`Toastify__toast-theme--${Oe}`,`Toastify__toast--${y}`,{"Toastify__toast--rtl":le},{"Toastify__toast--close-on-click":qe}),ve=Zo(I)?I({rtl:le,position:A,type:y,defaultClassName:ue}):wl(ue,I),ke=function(Se){let{theme:Ne,type:We,isLoading:Be,icon:ze}=Se,Ke=null;const ot={theme:Ne,type:We};return ze===!1||(Zo(ze)?Ke=ze({...ot,isLoading:Be}):X.isValidElement(ze)?Ke=X.cloneElement(ze,ot):Be?Ke=Rg.spinner():(ct=>ct in Rg)(We)&&(Ke=Rg[We](ot))),Ke}(t),Le=!!x||!f,et={closeToast:T,type:y,theme:Oe};let ge=null;return a===!1||(ge=Zo(a)?a(et):X.isValidElement(a)?X.cloneElement(a,et):function(Se){let{closeToast:Ne,theme:We,ariaLabel:Be="close"}=Se;return X.createElement("button",{className:`Toastify__close-button Toastify__close-button--${We}`,type:"button",onClick:ze=>{ze.stopPropagation(),Ne(ze)},"aria-label":Be},X.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},X.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(et)),X.createElement(E,{isIn:tt,done:Ve,position:A,preventExitTransition:n,nodeRef:r,playToast:o},X.createElement("div",{id:ae,onClick:p,"data-in":tt,className:ve,...i,style:j,ref:r},X.createElement("div",{...tt&&{role:ie},className:Zo(R)?R({type:y}):wl("Toastify__toast-body",R),style:U},ke!=null&&X.createElement("div",{className:wl("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!Qe})},ke),X.createElement("div",null,c)),ge,X.createElement(j2,{...q&&!Le?{key:`pb-${q}`}:{},rtl:le,theme:Oe,delay:f,isRunning:e,isIn:tt,closeToast:T,hide:g,type:y,style:ne,className:H,controlledProgress:Le,progress:x||0})))},Pp=function(t,e){return e===void 0&&(e=!1),{enter:`Toastify--animate Toastify__${t}-enter`,exit:`Toastify--animate Toastify__${t}-exit`,appendPosition:e}},U2=Dp(Pp("bounce",!0));Dp(Pp("slide",!0));Dp(Pp("zoom"));Dp(Pp("flip"));const W2={position:"top-right",transition:U2,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function z2(t){let e={...W2,...t};const n=t.stacked,[r,i]=X.useState(!0),o=X.useRef(null),{getToastToRender:a,isToastActive:c,count:f}=F2(e),{className:p,style:y,rtl:g,containerId:T}=e;function E(I){const j=wl("Toastify__toast-container",`Toastify__toast-container--${I}`,{"Toastify__toast-container--rtl":g});return Zo(p)?p({position:I,rtl:g,defaultClassName:j}):wl(j,Fh(p))}function A(){n&&(i(!0),xn.play())}return V2(()=>{if(n){var I;const j=o.current.querySelectorAll('[data-in="true"]'),R=12,U=(I=e.position)==null?void 0:I.includes("top");let H=0,ne=0;Array.from(j).reverse().forEach((q,ie)=>{const x=q;x.classList.add("Toastify__toast--stacked"),ie>0&&(x.dataset.collapsed=`${r}`),x.dataset.pos||(x.dataset.pos=U?"top":"bot");const le=H*(r?.2:1)+(r?0:R*ie);x.style.setProperty("--y",`${U?le:-1*le}px`),x.style.setProperty("--g",`${R}`),x.style.setProperty("--s",""+(1-(r?ne:0))),H+=x.offsetHeight,ne+=.025})}},[r,f,n]),X.createElement("div",{ref:o,className:"Toastify",id:T,onMouseEnter:()=>{n&&(i(!1),xn.pause())},onMouseLeave:A},a((I,j)=>{const R=j.length?{...y}:{...y,pointerEvents:"none"};return X.createElement("div",{className:E(I),style:R,key:`container-${I}`},j.map(U=>{let{content:H,props:ne}=U;return X.createElement(H2,{...ne,stacked:n,collapseAll:A,isIn:c(ne.toastId,ne.containerId),style:ne.style,key:`toast-${ne.key}`},H)}))}))}function Y2(){return Pe.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Pe.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 1C16.5222 1 21 5.47676 21 11C21 16.5222 16.5222 21 11 21C5.47676 21 1 16.5222 1 11C1 5.47676 5.47676 1 11 1Z",stroke:"#E01B00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Pe.jsx("path",{d:"M10.9942 6.89636V11.6737",stroke:"#E01B00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Pe.jsx("path",{d:"M10.9941 15.1038H11.0049",stroke:"#E01B00",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function G2(){return Pe.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Pe.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#009D4F"}),Pe.jsx("path",{d:"M7.25244 12L10.4174 15.165L16.7474 8.83496",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function q2(){return Pe.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Pe.jsx("path",{d:"M12 7.73684V13.4211M12 21C7.69215 21 5.53823 21 4.29308 20.0953C3.20701 19.3063 2.50676 18.0934 2.36643 16.7583C2.20555 15.2276 3.28252 13.3623 5.43644 9.63158C7.59036 5.90088 8.66732 4.03553 10.0734 3.40952C11.2998 2.86349 12.7002 2.86349 13.9266 3.40952C15.3327 4.03553 16.4096 5.90088 18.5636 9.63158C20.7175 13.3623 21.7944 15.2276 21.6336 16.7583C21.4932 18.0934 20.793 19.3063 19.7069 20.0953C18.4618 21 16.3078 21 12 21Z",stroke:"#FFB600","stroke-width":"1.5","stroke-linecap":"round"}),Pe.jsx("path",{d:"M12.9473 16.263C12.9473 16.7863 12.5232 17.2104 12 17.2104C11.4768 17.2104 11.0526 16.7863 11.0526 16.263C11.0526 15.7398 11.4768 15.3157 12 15.3157C12.5232 15.3157 12.9473 15.7398 12.9473 16.263Z",fill:"#FFB600"})]})}const Gv={paddingLeft:"16px",borderLeft:"2px solid",boxShadow:"none",fontFamily:"inherit"},X2=({closeToast:t})=>Pe.jsx("i",{className:"material-icons",onClick:t,style:{cursor:"pointer"},children:Pe.jsx("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Pe.jsx("path",{d:"M7.05086 6.13616C6.66033 5.74563 6.02717 5.74563 5.63664 6.13616C5.24612 6.52668 5.24612 7.15984 5.63664 7.55037L10.5864 12.5001L5.63664 17.4499C5.24612 17.8404 5.24612 18.4736 5.63664 18.8641C6.02717 19.2546 6.66033 19.2546 7.05086 18.8641L12.0006 13.9143L16.9504 18.8641C17.3409 19.2546 17.974 19.2546 18.3646 18.8641C18.7551 18.4736 18.7551 17.8404 18.3646 17.4499L13.4148 12.5001L18.3646 7.55037C18.7551 7.15984 18.7551 6.52668 18.3646 6.13616C17.974 5.74563 17.3409 5.74563 16.9504 6.13616L12.0006 11.0859L7.05086 6.13616Z",fill:"#85858A"})})}),qv=(t,e)=>{xn.success(t,{icon:Pe.jsx(G2,{}),bodyStyle:{},style:{...Gv,background:mr.successLight,borderColor:mr.success,color:mr.success},...e})},zd=(t,e)=>{xn.error(t,{icon:Pe.jsx(Y2,{}),style:{...Gv,background:mr.dangerLight,borderColor:mr.danger,color:mr.danger},...e})},K2=(t,e)=>{xn.error(t,{icon:Pe.jsx(q2,{}),style:{...Gv,background:mr.warningLight,borderColor:mr.warning,color:mr.warning},...e})},Z2=t=>{xn(t,{closeButton:X2,toastId:"notify",position:"top-right",hideProgressBar:!0,containerId:"toastifyNotification",style:{padding:"12px 24px 12px 0",paddingLeft:"16px",fontFamily:"inherit",width:"610px",minHeight:"72px",color:mr.textPrimary}})};function KT(t){let e=null;return()=>(e==null&&(e=t()),e)}function J2(t,e){return t.filter(n=>n!==e)}function Q2(t,e){const n=new Set,r=o=>n.add(o);t.forEach(r),e.forEach(r);const i=[];return n.forEach(o=>i.push(o)),i}class eF{enter(e){const n=this.entered.length,r=i=>this.isNodeInDocument(i)&&(!i.contains||i.contains(e));return this.entered=Q2(this.entered.filter(r),[e]),n===0&&this.entered.length>0}leave(e){const n=this.entered.length;return this.entered=J2(this.entered.filter(this.isNodeInDocument),e),n>0&&this.entered.length===0}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class tF{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get(){return console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null}})})}loadDataTransfer(e){if(e){const n={};Object.keys(this.config.exposeProperties).forEach(r=>{const i=this.config.exposeProperties[r];i!=null&&(n[r]={value:i(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,n)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,n){return n===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}const ZT="__NATIVE_FILE__",JT="__NATIVE_URL__",QT="__NATIVE_TEXT__",eC="__NATIVE_HTML__",cw=Object.freeze(Object.defineProperty({__proto__:null,FILE:ZT,HTML:eC,TEXT:QT,URL:JT},Symbol.toStringTag,{value:"Module"}));function Ag(t,e,n){const r=e.reduce((i,o)=>i||t.getData(o),"");return r??n}const jm={[ZT]:{exposeProperties:{files:t=>Array.prototype.slice.call(t.files),items:t=>t.items,dataTransfer:t=>t},matchesTypes:["Files"]},[eC]:{exposeProperties:{html:(t,e)=>Ag(t,e,""),dataTransfer:t=>t},matchesTypes:["Html","text/html"]},[JT]:{exposeProperties:{urls:(t,e)=>Ag(t,e,"").split(`
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mI(t){return J1(t)||gI(t)||Q1(t)||eT()}function d0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function h0(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?d0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var vI={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,n){console&&console[e]&&console[e].apply(console,n)}},yI=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ts(this,t),this.init(e,n)}return ns(t,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||vI,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"log","",!0)}},{key:"warn",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","",!0)}},{key:"error",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"error","")}},{key:"deprecate",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(n,r,i,o){return o&&!this.debug?null:(typeof n[0]=="string"&&(n[0]="".concat(i).concat(this.prefix," ").concat(n[0])),this.logger[r](n))}},{key:"create",value:function(n){return new t(this.logger,h0(h0({},{prefix:"".concat(this.prefix,":").concat(n,":")}),this.options))}},{key:"clone",value:function(n){return n=n||this.options,n.prefix=n.prefix||this.prefix,new t(this.logger,n)}}]),t}(),Na=new yI,vu=function(){function t(){ts(this,t),this.observers={}}return ns(t,[{key:"on",value:function(n,r){var i=this;return n.split(" ").forEach(function(o){i.observers[o]=i.observers[o]||[],i.observers[o].push(r)}),this}},{key:"off",value:function(n,r){if(this.observers[n]){if(!r){delete this.observers[n];return}this.observers[n]=this.observers[n].filter(function(i){return i!==r})}}},{key:"emit",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(this.observers[n]){var a=[].concat(this.observers[n]);a.forEach(function(f){f.apply(void 0,i)})}if(this.observers["*"]){var c=[].concat(this.observers["*"]);c.forEach(function(f){f.apply(f,[n].concat(i))})}}}]),t}();function ed(){var t,e,n=new Promise(function(r,i){t=r,e=i});return n.resolve=t,n.reject=e,n}function p0(t){return t==null?"":""+t}function bI(t,e,n){t.forEach(function(r){e[r]&&(n[r]=e[r])})}function Bv(t,e,n){function r(c){return c&&c.indexOf("###")>-1?c.replace(/###/g,"."):c}function i(){return!t||typeof t=="string"}for(var o=typeof e!="string"?[].concat(e):e.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!t[a]&&n&&(t[a]=new n),Object.prototype.hasOwnProperty.call(t,a)?t=t[a]:t={}}return i()?{}:{obj:t,k:r(o.shift())}}function g0(t,e,n){var r=Bv(t,e,Object),i=r.obj,o=r.k;i[o]=n}function wI(t,e,n,r){var i=Bv(t,e,Object),o=i.obj,a=i.k;o[a]=o[a]||[],o[a].push(n)}function Kh(t,e){var n=Bv(t,e),r=n.obj,i=n.k;if(r)return r[i]}function xI(t,e,n){var r=Kh(t,n);return r!==void 0?r:Kh(e,n)}function tT(t,e,n){for(var r in e)r!=="__proto__"&&r!=="constructor"&&(r in t?typeof t[r]=="string"||t[r]instanceof String||typeof e[r]=="string"||e[r]instanceof String?n&&(t[r]=e[r]):tT(t[r],e[r],n):t[r]=e[r]);return t}function lf(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var SI={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function TI(t){return typeof t=="string"?t.replace(/[&<>"'\/]/g,function(e){return SI[e]}):t}var Ep=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,CI=[" ",",","?","!",";"];function EI(t,e,n){e=e||"",n=n||"";var r=CI.filter(function(c){return e.indexOf(c)<0&&n.indexOf(c)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(c){return c==="?"?"\\?":c}).join("|"),")")),o=!i.test(t);if(!o){var a=t.indexOf(n);a>0&&!i.test(t.substring(0,a))&&(o=!0)}return o}function Zh(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(t){if(t[e])return t[e];for(var r=e.split(n),i=t,o=0;o<r.length;++o){if(!i||typeof i[r[o]]=="string"&&o+1<r.length)return;if(i[r[o]]===void 0){for(var a=2,c=r.slice(o,o+a).join(n),f=i[c];f===void 0&&r.length>o+a;)a++,c=r.slice(o,o+a).join(n),f=i[c];if(f===void 0)return;if(f===null)return null;if(e.endsWith(c)){if(typeof f=="string")return f;if(c&&typeof f[c]=="string")return f[c]}var p=r.slice(o+a).join(n);return p?Zh(f,p,n):void 0}i=i[r[o]]}return i}}function m0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function hh(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?m0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function kI(t){var e=DI();return function(){var r=Ha(t),i;if(e){var o=Ha(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Wd(this,i)}}function DI(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var PI=function(t){Cp(n,t);var e=kI(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return ts(this,n),i=e.call(this),Ep&&vu.call(Sl(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return ns(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,a){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=c.keySeparator!==void 0?c.keySeparator:this.options.keySeparator,p=c.ignoreJSONStructure!==void 0?c.ignoreJSONStructure:this.options.ignoreJSONStructure,y=[i,o];a&&typeof a!="string"&&(y=y.concat(a)),a&&typeof a=="string"&&(y=y.concat(f?a.split(f):a)),i.indexOf(".")>-1&&(y=i.split("."));var g=Kh(this.data,y);return g||!p||typeof a!="string"?g:Zh(this.data&&this.data[i]&&this.data[i][o],a,f)}},{key:"addResource",value:function(i,o,a,c){var f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},p=f.keySeparator!==void 0?f.keySeparator:this.options.keySeparator,y=[i,o];a&&(y=y.concat(p?a.split(p):a)),i.indexOf(".")>-1&&(y=i.split("."),c=o,o=y[1]),this.addNamespaces(o),g0(this.data,y,c),f.silent||this.emit("added",i,o,a,c)}},{key:"addResources",value:function(i,o,a){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var f in a)(typeof a[f]=="string"||Object.prototype.toString.apply(a[f])==="[object Array]")&&this.addResource(i,o,f,a[f],{silent:!0});c.silent||this.emit("added",i,o,a)}},{key:"addResourceBundle",value:function(i,o,a,c,f){var p=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},y=[i,o];i.indexOf(".")>-1&&(y=i.split("."),c=a,a=o,o=y[1]),this.addNamespaces(o);var g=Kh(this.data,y)||{};c?tT(g,a,f):g=hh(hh({},g),a),g0(this.data,y,g),p.silent||this.emit("added",i,o,a)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?hh(hh({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),a=o&&Object.keys(o)||[];return!!a.find(function(c){return o[c]&&Object.keys(o[c]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(vu),nT={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,n,r,i,o){var a=this;return e.forEach(function(c){a.processors[c]&&(n=a.processors[c].process(n,r,i,o))}),n}};function v0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Li(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?v0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function OI(t){var e=_I();return function(){var r=Ha(t),i;if(e){var o=Ha(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Wd(this,i)}}function _I(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var y0={},b0=function(t){Cp(n,t);var e=OI(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ts(this,n),i=e.call(this),Ep&&vu.call(Sl(i)),bI(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,Sl(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=Na.create("translator"),i}return ns(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var a=this.resolve(i,o);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(i,o){var a=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var c=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,f=o.ns||this.options.defaultNS||[],p=a&&i.indexOf(a)>-1,y=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!EI(i,a,c);if(p&&!y){var g=i.match(this.interpolator.nestingRegexp);if(g&&g.length>0)return{key:i,namespaces:f};var T=i.split(a);(a!==c||a===c&&this.options.ns.indexOf(T[0])>-1)&&(f=T.shift()),i=T.join(c)}return typeof f=="string"&&(f=[f]),{key:i,namespaces:f}}},{key:"translate",value:function(i,o,a){var c=this;if(Jo(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),Jo(o)==="object"&&(o=Li({},o)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var f=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,p=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,y=this.extractFromKey(i[i.length-1],o),g=y.key,T=y.namespaces,E=T[T.length-1],A=o.lng||this.language,I=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(A&&A.toLowerCase()==="cimode"){if(I){var j=o.nsSeparator||this.options.nsSeparator;return f?{res:"".concat(E).concat(j).concat(g),usedKey:g,exactUsedKey:g,usedLng:A,usedNS:E}:"".concat(E).concat(j).concat(g)}return f?{res:g,usedKey:g,exactUsedKey:g,usedLng:A,usedNS:E}:g}var R=this.resolve(i,o),U=R&&R.res,H=R&&R.usedKey||g,ne=R&&R.exactUsedKey||g,q=Object.prototype.toString.apply(U),ie=["[object Number]","[object Function]","[object RegExp]"],x=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,le=!this.i18nFormat||this.i18nFormat.handleAsObject,ae=typeof U!="string"&&typeof U!="boolean"&&typeof U!="number";if(le&&U&&ae&&ie.indexOf(q)<0&&!(typeof x=="string"&&q==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var Ve=this.options.returnedObjectHandler?this.options.returnedObjectHandler(H,U,Li(Li({},o),{},{ns:T})):"key '".concat(g," (").concat(this.language,")' returned an object instead of string.");return f?(R.res=Ve,R):Ve}if(p){var tt=q==="[object Array]",Qe=tt?[]:{},qe=tt?ne:H;for(var Oe in U)if(Object.prototype.hasOwnProperty.call(U,Oe)){var ue="".concat(qe).concat(p).concat(Oe);Qe[Oe]=this.translate(ue,Li(Li({},o),{joinArrays:!1,ns:T})),Qe[Oe]===ue&&(Qe[Oe]=U[Oe])}U=Qe}}else if(le&&typeof x=="string"&&q==="[object Array]")U=U.join(x),U&&(U=this.extendTranslation(U,i,o,a));else{var ve=!1,ke=!1,Le=o.count!==void 0&&typeof o.count!="string",et=n.hasDefaultValue(o),ge=Le?this.pluralResolver.getSuffix(A,o.count,o):"",Se=o["defaultValue".concat(ge)]||o.defaultValue;!this.isValidLookup(U)&&et&&(ve=!0,U=Se),this.isValidLookup(U)||(ke=!0,U=g);var Ne=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,We=Ne&&ke?void 0:U,Be=et&&Se!==U&&this.options.updateMissing;if(ke||ve||Be){if(this.logger.log(Be?"updateKey":"missingKey",A,E,g,Be?Se:U),p){var ze=this.resolve(g,Li(Li({},o),{},{keySeparator:!1}));ze&&ze.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var Ke=[],ot=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ot&&ot[0])for(var ct=0;ct<ot.length;ct++)Ke.push(ot[ct]);else this.options.saveMissingTo==="all"?Ke=this.languageUtils.toResolveHierarchy(o.lng||this.language):Ke.push(o.lng||this.language);var pt=function(yt,Je,At){var Mt=et&&At!==U?At:We;c.options.missingKeyHandler?c.options.missingKeyHandler(yt,E,Je,Mt,Be,o):c.backendConnector&&c.backendConnector.saveMissing&&c.backendConnector.saveMissing(yt,E,Je,Mt,Be,o),c.emit("missingKey",yt,E,Je,U)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Le?Ke.forEach(function(ft){c.pluralResolver.getSuffixes(ft,o).forEach(function(yt){pt([ft],g+yt,o["defaultValue".concat(yt)]||Se)})}):pt(Ke,g,Se))}U=this.extendTranslation(U,i,o,R,a),ke&&U===g&&this.options.appendNamespaceToMissingKey&&(U="".concat(E,":").concat(g)),(ke||ve)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?U=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(E,":").concat(g):g,ve?U:void 0):U=this.options.parseMissingKeyHandler(U))}return f?(R.res=U,R):U}},{key:"extendTranslation",value:function(i,o,a,c,f){var p=this;if(this.i18nFormat&&this.i18nFormat.parse)i=this.i18nFormat.parse(i,Li(Li({},this.options.interpolation.defaultVariables),a),c.usedLng,c.usedNS,c.usedKey,{resolved:c});else if(!a.skipInterpolation){a.interpolation&&this.interpolator.init(Li(Li({},a),{interpolation:Li(Li({},this.options.interpolation),a.interpolation)}));var y=typeof i=="string"&&(a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),g;if(y){var T=i.match(this.interpolator.nestingRegexp);g=T&&T.length}var E=a.replace&&typeof a.replace!="string"?a.replace:a;if(this.options.interpolation.defaultVariables&&(E=Li(Li({},this.options.interpolation.defaultVariables),E)),i=this.interpolator.interpolate(i,E,a.lng||this.language,a),y){var A=i.match(this.interpolator.nestingRegexp),I=A&&A.length;g<I&&(a.nest=!1)}!a.lng&&this.options.compatibilityAPI!=="v1"&&c&&c.res&&(a.lng=c.usedLng),a.nest!==!1&&(i=this.interpolator.nest(i,function(){for(var U=arguments.length,H=new Array(U),ne=0;ne<U;ne++)H[ne]=arguments[ne];return f&&f[0]===H[0]&&!a.context?(p.logger.warn("It seems you are nesting recursively key: ".concat(H[0]," in key: ").concat(o[0])),null):p.translate.apply(p,H.concat([o]))},a)),a.interpolation&&this.interpolator.reset()}var j=a.postProcess||this.options.postProcess,R=typeof j=="string"?[j]:j;return i!=null&&R&&R.length&&a.applyPostProcessor!==!1&&(i=nT.handle(R,i,o,this.options&&this.options.postProcessPassResolved?Li({i18nResolved:c},a):a,this)),i}},{key:"resolve",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c,f,p,y,g;return typeof i=="string"&&(i=[i]),i.forEach(function(T){if(!o.isValidLookup(c)){var E=o.extractFromKey(T,a),A=E.key;f=A;var I=E.namespaces;o.options.fallbackNS&&(I=I.concat(o.options.fallbackNS));var j=a.count!==void 0&&typeof a.count!="string",R=j&&!a.ordinal&&a.count===0&&o.pluralResolver.shouldUseIntlApi(),U=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",H=a.lngs?a.lngs:o.languageUtils.toResolveHierarchy(a.lng||o.language,a.fallbackLng);I.forEach(function(ne){o.isValidLookup(c)||(g=ne,!y0["".concat(H[0],"-").concat(ne)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(g)&&(y0["".concat(H[0],"-").concat(ne)]=!0,o.logger.warn('key "'.concat(f,'" for languages "').concat(H.join(", "),`" won't get resolved as namespace "`).concat(g,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),H.forEach(function(q){if(!o.isValidLookup(c)){y=q;var ie=[A];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(ie,A,q,ne,a);else{var x;j&&(x=o.pluralResolver.getSuffix(q,a.count,a));var le="".concat(o.options.pluralSeparator,"zero");if(j&&(ie.push(A+x),R&&ie.push(A+le)),U){var ae="".concat(A).concat(o.options.contextSeparator).concat(a.context);ie.push(ae),j&&(ie.push(ae+x),R&&ie.push(ae+le))}}for(var Ve;Ve=ie.pop();)o.isValidLookup(c)||(p=Ve,c=o.getResource(q,ne,Ve,a))}}))})}}),{res:c,usedKey:f,exactUsedKey:p,usedLng:y,usedNS:g}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,a){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,a,c):this.resourceStore.getResource(i,o,a,c)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)&&o===a.substring(0,o.length)&&i[a]!==void 0)return!0;return!1}}]),n}(vu);function Tg(t){return t.charAt(0).toUpperCase()+t.slice(1)}var w0=function(){function t(e){ts(this,t),this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Na.create("languageUtils")}return ns(t,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Tg(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Tg(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=Tg(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var a=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(a))&&(i=a)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var a=r.getLanguagePartFromCode(o);if(r.isSupportedCode(a))return i=a;i=r.options.supportedLngs.find(function(c){if(c===a)return c;if(!(c.indexOf("-")<0&&a.indexOf("-")<0)&&c.indexOf(a)===0)return c})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),a=[],c=function(p){p&&(i.isSupportedCode(p)?a.push(p):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(p)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&c(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&c(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&c(this.getLanguagePartFromCode(n))):typeof n=="string"&&c(this.formatLanguageCode(n)),o.forEach(function(f){a.indexOf(f)<0&&c(i.formatLanguageCode(f))}),a}}]),t}(),RI=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],AI={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}},II=["v1","v2","v3"],x0={zero:0,one:1,two:2,few:3,many:4,other:5};function MI(){var t={};return RI.forEach(function(e){e.lngs.forEach(function(n){t[n]={numbers:e.nr,plurals:AI[e.fc]}})}),t}var LI=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ts(this,t),this.languageUtils=e,this.options=n,this.logger=Na.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=MI()}return ns(t,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(a,c){return x0[a]-x0[c]}).map(function(a){return"".concat(r.options.prepend).concat(a)}):o.numbers.map(function(a){return r.getSuffix(n,a,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),a=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var c=function(){return i.options.prepend&&a.toString()?i.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):c():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?c():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!II.includes(this.options.compatibilityJSON)}}]),t}();function S0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function oa(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?S0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function T0(t,e,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=xI(t,e,n);return!o&&i&&typeof n=="string"&&(o=Zh(t,n,r),o===void 0&&(o=Zh(e,n,r))),o}var FI=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ts(this,t),this.logger=Na.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||function(n){return n},this.init(e)}return ns(t,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:TI,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?lf(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?lf(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?lf(r.nestingPrefix):r.nestingPrefixEscaped||lf("$t("),this.nestingSuffix=r.nestingSuffix?lf(r.nestingSuffix):r.nestingSuffixEscaped||lf(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var a=this,c,f,p,y=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function g(j){return j.replace(/\$/g,"$$$$")}var T=function(R){if(R.indexOf(a.formatSeparator)<0){var U=T0(r,y,R,a.options.keySeparator,a.options.ignoreJSONStructure);return a.alwaysFormat?a.format(U,void 0,i,oa(oa(oa({},o),r),{},{interpolationkey:R})):U}var H=R.split(a.formatSeparator),ne=H.shift().trim(),q=H.join(a.formatSeparator).trim();return a.format(T0(r,y,ne,a.options.keySeparator,a.options.ignoreJSONStructure),q,i,oa(oa(oa({},o),r),{},{interpolationkey:ne}))};this.resetRegExp();var E=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,A=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,I=[{regex:this.regexpUnescape,safeValue:function(R){return g(R)}},{regex:this.regexp,safeValue:function(R){return a.escapeValue?g(a.escape(R)):g(R)}}];return I.forEach(function(j){for(p=0;c=j.regex.exec(n);){var R=c[1].trim();if(f=T(R),f===void 0)if(typeof E=="function"){var U=E(n,c,o);f=typeof U=="string"?U:""}else if(o&&Object.prototype.hasOwnProperty.call(o,R))f="";else if(A){f=c[0];continue}else a.logger.warn("missed to pass in variable ".concat(R," for interpolating ").concat(n)),f="";else typeof f!="string"&&!a.useRawValueToEscape&&(f=p0(f));var H=j.safeValue(f);if(n=n.replace(c[0],H),A?(j.regex.lastIndex+=f.length,j.regex.lastIndex-=c[0].length):j.regex.lastIndex=0,p++,p>=a.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,c,f;function p(E,A){var I=this.nestingOptionsSeparator;if(E.indexOf(I)<0)return E;var j=E.split(new RegExp("".concat(I,"[ ]*{"))),R="{".concat(j[1]);E=j[0],R=this.interpolate(R,f);var U=R.match(/'/g),H=R.match(/"/g);(U&&U.length%2===0&&!H||H.length%2!==0)&&(R=R.replace(/'/g,'"'));try{f=JSON.parse(R),A&&(f=oa(oa({},A),f))}catch(ne){return this.logger.warn("failed parsing options string in nesting for key ".concat(E),ne),"".concat(E).concat(I).concat(R)}return delete f.defaultValue,E}for(;a=this.nestingRegexp.exec(n);){var y=[];f=oa({},o),f=f.replace&&typeof f.replace!="string"?f.replace:f,f.applyPostProcessor=!1,delete f.defaultValue;var g=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var T=a[1].split(this.formatSeparator).map(function(E){return E.trim()});a[1]=T.shift(),y=T,g=!0}if(c=r(p.call(this,a[1].trim(),f),f),c&&a[0]===n&&typeof c!="string")return c;typeof c!="string"&&(c=p0(c)),c||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),c=""),g&&(c=y.reduce(function(E,A){return i.format(E,A,o.lng,oa(oa({},o),{},{interpolationkey:a[1].trim()}))},c.trim())),n=n.replace(a[0],c),this.regexp.lastIndex=0}return n}}]),t}();function C0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function vl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?C0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function NI(t){var e=t.toLowerCase().trim(),n={};if(t.indexOf("(")>-1){var r=t.split("(");e=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(e==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(e==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(a){if(a){var c=a.split(":"),f=mI(c),p=f[0],y=f.slice(1),g=y.join(":").trim().replace(/^'+|'+$/g,"");n[p.trim()]||(n[p.trim()]=g),g==="false"&&(n[p.trim()]=!1),g==="true"&&(n[p.trim()]=!0),isNaN(g)||(n[p.trim()]=parseInt(g,10))}})}}return{formatName:e,formatOptions:n}}function uf(t){var e={};return function(r,i,o){var a=i+JSON.stringify(o),c=e[a];return c||(c=t(i,o),e[a]=c),c(r)}}var jI=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ts(this,t),this.logger=Na.create("formatter"),this.options=e,this.formats={number:uf(function(n,r){var i=new Intl.NumberFormat(n,vl({},r));return function(o){return i.format(o)}}),currency:uf(function(n,r){var i=new Intl.NumberFormat(n,vl(vl({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:uf(function(n,r){var i=new Intl.DateTimeFormat(n,vl({},r));return function(o){return i.format(o)}}),relativetime:uf(function(n,r){var i=new Intl.RelativeTimeFormat(n,vl({},r));return function(o){return i.format(o,r.range||"day")}}),list:uf(function(n,r){var i=new Intl.ListFormat(n,vl({},r));return function(o){return i.format(o)}})},this.init(e)}return ns(t,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=uf(r)}},{key:"format",value:function(n,r,i){var o=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},c=r.split(this.formatSeparator),f=c.reduce(function(p,y){var g=NI(y),T=g.formatName,E=g.formatOptions;if(o.formats[T]){var A=p;try{var I=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},j=I.locale||I.lng||a.locale||a.lng||i;A=o.formats[T](p,j,vl(vl(vl({},E),a),I))}catch(R){o.logger.warn(R)}return A}else o.logger.warn("there was no format function for ".concat(T));return p},n);return f}}]),t}();function E0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function k0(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?E0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function BI(t){var e=$I();return function(){var r=Ha(t),i;if(e){var o=Ha(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Wd(this,i)}}function $I(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function VI(t,e){t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)}var HI=function(t){Cp(n,t);var e=BI(n);function n(r,i,o){var a,c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return ts(this,n),a=e.call(this),Ep&&vu.call(Sl(a)),a.backend=r,a.store=i,a.services=o,a.languageUtils=o.languageUtils,a.options=c,a.logger=Na.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=c.maxParallelReads||10,a.readingCalls=0,a.maxRetries=c.maxRetries>=0?c.maxRetries:5,a.retryTimeout=c.retryTimeout>=1?c.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,c.backend,c),a}return ns(n,[{key:"queueLoad",value:function(i,o,a,c){var f=this,p={},y={},g={},T={};return i.forEach(function(E){var A=!0;o.forEach(function(I){var j="".concat(E,"|").concat(I);!a.reload&&f.store.hasResourceBundle(E,I)?f.state[j]=2:f.state[j]<0||(f.state[j]===1?y[j]===void 0&&(y[j]=!0):(f.state[j]=1,A=!1,y[j]===void 0&&(y[j]=!0),p[j]===void 0&&(p[j]=!0),T[I]===void 0&&(T[I]=!0)))}),A||(g[E]=!0)}),(Object.keys(p).length||Object.keys(y).length)&&this.queue.push({pending:y,pendingCount:Object.keys(y).length,loaded:{},errors:[],callback:c}),{toLoad:Object.keys(p),pending:Object.keys(y),toLoadLanguages:Object.keys(g),toLoadNamespaces:Object.keys(T)}}},{key:"loaded",value:function(i,o,a){var c=i.split("|"),f=c[0],p=c[1];o&&this.emit("failedLoading",f,p,o),a&&this.store.addResourceBundle(f,p,a),this.state[i]=o?-1:2;var y={};this.queue.forEach(function(g){wI(g.loaded,[f],p),VI(g,i),o&&g.errors.push(o),g.pendingCount===0&&!g.done&&(Object.keys(g.loaded).forEach(function(T){y[T]||(y[T]={});var E=g.loaded[T];E.length&&E.forEach(function(A){y[T][A]===void 0&&(y[T][A]=!0)})}),g.done=!0,g.errors.length?g.callback(g.errors):g.callback())}),this.emit("loaded",y),this.queue=this.queue.filter(function(g){return!g.done})}},{key:"read",value:function(i,o,a){var c=this,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,y=arguments.length>5?arguments[5]:void 0;if(!i.length)return y(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:a,tried:f,wait:p,callback:y});return}this.readingCalls++;var g=function(I,j){if(c.readingCalls--,c.waitingReads.length>0){var R=c.waitingReads.shift();c.read(R.lng,R.ns,R.fcName,R.tried,R.wait,R.callback)}if(I&&j&&f<c.maxRetries){setTimeout(function(){c.read.call(c,i,o,a,f+1,p*2,y)},p);return}y(I,j)},T=this.backend[a].bind(this.backend);if(T.length===2){try{var E=T(i,o);E&&typeof E.then=="function"?E.then(function(A){return g(null,A)}).catch(g):g(null,E)}catch(A){g(A)}return}return T(i,o,g)}},{key:"prepareLoading",value:function(i,o){var a=this,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),f&&f();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var p=this.queueLoad(i,o,c,f);if(!p.toLoad.length)return p.pending.length||f(),null;p.toLoad.forEach(function(y){a.loadOne(y)})}},{key:"load",value:function(i,o,a){this.prepareLoading(i,o,{},a)}},{key:"reload",value:function(i,o,a){this.prepareLoading(i,o,{reload:!0},a)}},{key:"loadOne",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",c=i.split("|"),f=c[0],p=c[1];this.read(f,p,"read",void 0,void 0,function(y,g){y&&o.logger.warn("".concat(a,"loading namespace ").concat(p," for language ").concat(f," failed"),y),!y&&g&&o.logger.log("".concat(a,"loaded namespace ").concat(p," for language ").concat(f),g),o.loaded(i,y,g)})}},{key:"saveMissing",value:function(i,o,a,c,f){var p=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},y=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){var g=k0(k0({},p),{},{isUpdate:f}),T=this.backend.create.bind(this.backend);if(T.length<6)try{var E;T.length===5?E=T(i,o,a,c,g):E=T(i,o,a,c),E&&typeof E.then=="function"?E.then(function(A){return y(null,A)}).catch(y):y(null,E)}catch(A){y(A)}else T(i,o,a,c,y,g)}!i||!i[0]||this.store.addResource(i[0],o,a,c)}}}]),n}(vu);function D0(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var n={};if(Jo(e[1])==="object"&&(n=e[1]),typeof e[1]=="string"&&(n.defaultValue=e[1]),typeof e[2]=="string"&&(n.tDescription=e[2]),Jo(e[2])==="object"||Jo(e[3])==="object"){var r=e[3]||e[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(e,n,r,i){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function P0(t){return typeof t.ns=="string"&&(t.ns=[t.ns]),typeof t.fallbackLng=="string"&&(t.fallbackLng=[t.fallbackLng]),typeof t.fallbackNS=="string"&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function O0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Ma(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?O0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function UI(t){var e=WI();return function(){var r=Ha(t),i;if(e){var o=Ha(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Wd(this,i)}}function WI(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ph(){}function zI(t){var e=Object.getOwnPropertyNames(Object.getPrototypeOf(t));e.forEach(function(n){typeof t[n]=="function"&&(t[n]=t[n].bind(t))})}var Jh=function(t){Cp(n,t);var e=UI(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(ts(this,n),r=e.call(this),Ep&&vu.call(Sl(r)),r.options=P0(i),r.services={},r.logger=Na,r.modules={external:[]},zI(Sl(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),Wd(r,Sl(r));setTimeout(function(){r.init(i,o)},0)}return r}return ns(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(a=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var c=D0();this.options=Ma(Ma(Ma({},c),this.options),P0(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Ma(Ma({},c.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function f(R){return R?typeof R=="function"?new R:R:null}if(!this.options.isClone){this.modules.logger?Na.init(f(this.modules.logger),this.options):Na.init(null,this.options);var p;this.modules.formatter?p=this.modules.formatter:typeof Intl<"u"&&(p=jI);var y=new w0(this.options);this.store=new PI(this.options.resources,this.options);var g=this.services;g.logger=Na,g.resourceStore=this.store,g.languageUtils=y,g.pluralResolver=new LI(y,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===c.interpolation.format)&&(g.formatter=f(p),g.formatter.init(g,this.options),this.options.interpolation.format=g.formatter.format.bind(g.formatter)),g.interpolator=new FI(this.options),g.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},g.backendConnector=new HI(f(this.modules.backend),g.resourceStore,g,this.options),g.backendConnector.on("*",function(R){for(var U=arguments.length,H=new Array(U>1?U-1:0),ne=1;ne<U;ne++)H[ne-1]=arguments[ne];i.emit.apply(i,[R].concat(H))}),this.modules.languageDetector&&(g.languageDetector=f(this.modules.languageDetector),g.languageDetector.init&&g.languageDetector.init(g,this.options.detection,this.options)),this.modules.i18nFormat&&(g.i18nFormat=f(this.modules.i18nFormat),g.i18nFormat.init&&g.i18nFormat.init(this)),this.translator=new b0(this.services,this.options),this.translator.on("*",function(R){for(var U=arguments.length,H=new Array(U>1?U-1:0),ne=1;ne<U;ne++)H[ne-1]=arguments[ne];i.emit.apply(i,[R].concat(H))}),this.modules.external.forEach(function(R){R.init&&R.init(i)})}if(this.format=this.options.interpolation.format,a||(a=ph),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var T=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);T.length>0&&T[0]!=="dev"&&(this.options.lng=T[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var E=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];E.forEach(function(R){i[R]=function(){var U;return(U=i.store)[R].apply(U,arguments)}});var A=["addResource","addResources","addResourceBundle","removeResourceBundle"];A.forEach(function(R){i[R]=function(){var U;return(U=i.store)[R].apply(U,arguments),i}});var I=ed(),j=function(){var U=function(ne,q){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),I.resolve(q),a(ne,q)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return U(null,i.t.bind(i));i.changeLanguage(i.options.lng,U)};return this.options.resources||!this.options.initImmediate?j():setTimeout(j,0),I}},{key:"loadResources",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ph,c=a,f=typeof i=="string"?i:this.language;if(typeof i=="function"&&(c=i),!this.options.resources||this.options.partialBundledLanguages){if(f&&f.toLowerCase()==="cimode")return c();var p=[],y=function(E){if(E){var A=o.services.languageUtils.toResolveHierarchy(E);A.forEach(function(I){p.indexOf(I)<0&&p.push(I)})}};if(f)y(f);else{var g=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);g.forEach(function(T){return y(T)})}this.options.preload&&this.options.preload.forEach(function(T){return y(T)}),this.services.backendConnector.load(p,this.options.ns,function(T){!T&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),c(T)})}else c(null)}},{key:"reloadResources",value:function(i,o,a){var c=ed();return i||(i=this.languages),o||(o=this.options.ns),a||(a=ph),this.services.backendConnector.reload(i,o,function(f){c.resolve(),a(f)}),c}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&nT.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o<this.languages.length;o++){var a=this.languages[o];if(!(["cimode","dev"].indexOf(a)>-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(i,o){var a=this;this.isLanguageChangingTo=i;var c=ed();this.emit("languageChanging",i);var f=function(T){a.language=T,a.languages=a.services.languageUtils.toResolveHierarchy(T),a.resolvedLanguage=void 0,a.setResolvedLanguage(T)},p=function(T,E){E?(f(E),a.translator.changeLanguage(E),a.isLanguageChangingTo=void 0,a.emit("languageChanged",E),a.logger.log("languageChanged",E)):a.isLanguageChangingTo=void 0,c.resolve(function(){return a.t.apply(a,arguments)}),o&&o(T,function(){return a.t.apply(a,arguments)})},y=function(T){!i&&!T&&a.services.languageDetector&&(T=[]);var E=typeof T=="string"?T:a.services.languageUtils.getBestMatchFromCodes(T);E&&(a.language||f(E),a.translator.language||a.translator.changeLanguage(E),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(E)),a.loadResources(E,function(A){p(A,E)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?y(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(y):this.services.languageDetector.detect(y):y(i),c}},{key:"getFixedT",value:function(i,o,a){var c=this,f=function p(y,g){var T;if(Jo(g)!=="object"){for(var E=arguments.length,A=new Array(E>2?E-2:0),I=2;I<E;I++)A[I-2]=arguments[I];T=c.options.overloadTranslationOptionHandler([y,g].concat(A))}else T=Ma({},g);T.lng=T.lng||p.lng,T.lngs=T.lngs||p.lngs,T.ns=T.ns||p.ns,T.keyPrefix=T.keyPrefix||a||p.keyPrefix;var j=c.options.keySeparator||".",R;return T.keyPrefix&&Array.isArray(y)?R=y.map(function(U){return"".concat(T.keyPrefix).concat(j).concat(U)}):R=T.keyPrefix?"".concat(T.keyPrefix).concat(j).concat(y):y,c.t(R,T)};return typeof i=="string"?f.lng=i:f.lngs=i,f.ns=o,f.keyPrefix=a,f}},{key:"t",value:function(){var i;return this.translator&&(i=this.translator).translate.apply(i,arguments)}},{key:"exists",value:function(){var i;return this.translator&&(i=this.translator).exists.apply(i,arguments)}},{key:"setDefaultNamespace",value:function(i){this.options.defaultNS=i}},{key:"hasLoadedNamespace",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var c=a.lng||this.resolvedLanguage||this.languages[0],f=this.options?this.options.fallbackLng:!1,p=this.languages[this.languages.length-1];if(c.toLowerCase()==="cimode")return!0;var y=function(E,A){var I=o.services.backendConnector.state["".concat(E,"|").concat(A)];return I===-1||I===2};if(a.precheck){var g=a.precheck(this,y);if(g!==void 0)return g}return!!(this.hasResourceBundle(c,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||y(c,i)&&(!f||y(p,i)))}},{key:"loadNamespaces",value:function(i,o){var a=this,c=ed();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(f){a.options.ns.indexOf(f)<0&&a.options.ns.push(f)}),this.loadResources(function(f){c.resolve(),o&&o(f)}),c):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var a=ed();typeof i=="string"&&(i=[i]);var c=this.options.preload||[],f=i.filter(function(p){return c.indexOf(p)<0});return f.length?(this.options.preload=c.concat(f),this.loadResources(function(p){a.resolve(),o&&o(p)}),a):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new w0(D0());return o.indexOf(a.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ph,c=Ma(Ma(Ma({},this.options),o),{isClone:!0}),f=new n(c);(o.debug!==void 0||o.prefix!==void 0)&&(f.logger=f.logger.clone(o));var p=["store","services","language"];return p.forEach(function(y){f[y]=i[y]}),f.services=Ma({},this.services),f.services.utils={hasLoadedNamespace:f.hasLoadedNamespace.bind(f)},f.translator=new b0(f.services,f.options),f.translator.on("*",function(y){for(var g=arguments.length,T=new Array(g>1?g-1:0),E=1;E<g;E++)T[E-1]=arguments[E];f.emit.apply(f,[y].concat(T))}),f.init(c,a),f.translator.options=f.options,f.translator.backendConnector.services.utils={hasLoadedNamespace:f.hasLoadedNamespace.bind(f)},f}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(vu);Ua(Jh,"createInstance",function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return new Jh(t,e)});var Dr=Jh.createInstance();Dr.createInstance=Jh.createInstance;Dr.createInstance;Dr.dir;Dr.init;Dr.loadResources;Dr.reloadResources;Dr.use;Dr.changeLanguage;Dr.getFixedT;var rT=Dr.t;Dr.exists;Dr.setDefaultNamespace;Dr.hasLoadedNamespace;Dr.loadNamespaces;Dr.loadLanguages;const iT={TOKEN_MALFORMED:"token_malformed",TOKEN_EXPIRED:"token_expired"},oT=t=>{window.location.href=`${t}/authentication/login`},sT=t=>{window.location.href=`${t}/authentication/logout`},Is=fI.create({withCredentials:!0});let Cg=!1,_m=[];const _0=t=>{_m.forEach(e=>{t?e.reject(t):e.resolve()}),_m=[]};function YI(t){try{const e=t==null?void 0:t.url,n=(t==null?void 0:t.baseURL)||window.location.origin,i=new URL(e,n).pathname.split("/").filter(Boolean);return i.length<=3?`/${i.join("/")}`||"/":`/${i[0]}/.../${i[i.length-1]}`}catch{return(t==null?void 0:t.url)||""}}function GI(t,e){var a,c,f,p,y,g,T,E;const n=(a=t.response)==null?void 0:a.status,r=(c=e==null?void 0:e.method)==null?void 0:c.toUpperCase(),i=YI(e),o=((p=(f=t.response)==null?void 0:f.data)==null?void 0:p.errorMessage)||((g=(y=t.response)==null?void 0:y.data)==null?void 0:g.message)||((E=(T=t.response)==null?void 0:T.data)==null?void 0:E.title)||t.message||"Unexpected error";if(typeof n=="number"&&n>=500){const A=[n?`HTTP ${n}`:null,r,i].filter(Boolean);return`${A.join(" ")}${A.length?" - ":""}${o}`}return`${o}`}function aT(t,e){var o,a,c,f,p,y,g,T,E;const n=t.config,r=((a=(o=t.response)==null?void 0:o.data)==null?void 0:a.errorMessage)||((f=(c=t.response)==null?void 0:c.data)==null?void 0:f.message),i=r===iT.TOKEN_EXPIRED;if(((p=t.response)==null?void 0:p.status)===401&&i&&!n._retry)return Cg?new Promise((A,I)=>{_m.push({resolve:A,reject:I})}).then(()=>Is(n)).catch(A=>Promise.reject(A)):(n._retry=!0,Cg=!0,Is.post("/authentication/api/v1/auth/refresh-token",void 0,{baseURL:window.env.AUTHEN_DOMAIN}).then(()=>(_0(null),Is(n))).catch(A=>(_0(A),Promise.reject(A))).finally(()=>{Cg=!1}));if(((y=t.response)==null?void 0:y.status)===401&&!i){if(window.self!==window.top&&window.top){console.log("401 - IFRAME");const A=`${window.env.AUTHEN_DOMAIN||window.top.origin}/authentication/login`;window.top.location.href=A;return}return oT(window.env.AUTHEN_DOMAIN)}if(((g=t.response)==null?void 0:g.status)===403)(T=e==null?void 0:e.handle403)==null||T.call(e,t);else{const A=GI(t,n);!(e!=null&&e.disabledPushNotify)&&zd(rT(`${A}`)),(E=e==null?void 0:e.handleOtherError)==null||E.call(e,t)}return r&&t.response&&t.response.data&&(t.response.data.message=r),Promise.reject(t)}const qI=Is.interceptors.response.use(t=>t,async t=>aT(t)),XI=t=>{const e=Pd.useQueryClient(),n=X.useMemo(()=>t.axiosInstance||Is,[t.axiosInstance]);window.env||(window.env={}),window.env.AUTHEN_DOMAIN=new URL(t.baseUrl).origin;const r=Pd.useQuery({queryKey:["user"],refetchOnWindowFocus:!1,retry:!1,queryFn:()=>n.get(t.baseUrl+"/user-management/api/v1/users/my-account").then(i=>(window.user=i.data,i.data))});return X.useEffect(()=>{window.onpageshow=function(i){i.persisted&&e.invalidateQueries(["user"])}},[e]),r},KI=t=>{const e=Pd.useQueryClient(),n=X.useMemo(()=>t.axiosInstance||Is,[t.axiosInstance]);window.env||(window.env={}),window.env.AUTHEN_DOMAIN=new URL(t.baseUrl).origin;const r=Pd.useQuery({queryKey:["user-permissions"],refetchOnWindowFocus:!1,retry:!1,queryFn:()=>n.get(t.baseUrl+"/user-management/api/v1/users/my-account/permissions").then(i=>i.data)});return X.useEffect(()=>{window.onpageshow=function(i){i.persisted&&e.invalidateQueries(["user-permissions"])}},[e]),r},$v=X.createContext({}),ZI=t=>{const{children:e,baseUrl:n,axiosInstance:r}=t,i=new URL(n).origin,o=XI({axiosInstance:r,baseUrl:n}),a=KI({axiosInstance:r,baseUrl:n});function c(){window.location.href=`${i}/authentication/login`}function f(){window.location.href=`${i}/authentication/logout`}return o!=null&&o.isFetching?Pe.jsx(aa.Grid,{container:!0,justifyContent:"center",alignItems:"center",sx:{minHeight:"100vh"},children:Pe.jsx(aa.CircularProgress,{})}):Pe.jsx($v.Provider,{value:{user:o==null?void 0:o.data,login:c,logout:f,isFetching:o.isFetching,permissions:a==null?void 0:a.data},children:e})},JI=()=>X.useContext($v);function QI(t,e,n){return n.some(r=>{const i=t[r];return String(i).toLowerCase().includes(e.toLowerCase())})}function eM(t){var e,n;(n=(e=window.top)==null?void 0:e.HostBridge)==null||n.openBackdrop(t)}var lT=[],tM=lT.forEach,nM=lT.slice;function rM(t){return tM.call(nM.call(arguments,1),function(e){if(e)for(var n in e)t[n]===void 0&&(t[n]=e[n])}),t}var R0=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,iM=function(e,n,r){var i=r||{};i.path=i.path||"/";var o=encodeURIComponent(n),a="".concat(e,"=").concat(o);if(i.maxAge>0){var c=i.maxAge-0;if(Number.isNaN(c))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(c))}if(i.domain){if(!R0.test(i.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(i.domain)}if(i.path){if(!R0.test(i.path))throw new TypeError("option path is invalid");a+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(a+="; HttpOnly"),i.secure&&(a+="; Secure"),i.sameSite){var f=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(f){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},A0={create:function(e,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=iM(e,encodeURIComponent(n),o)},read:function(e){for(var n="".concat(e,"="),r=document.cookie.split(";"),i=0;i<r.length;i++){for(var o=r[i];o.charAt(0)===" ";)o=o.substring(1,o.length);if(o.indexOf(n)===0)return o.substring(n.length,o.length)}return null},remove:function(e){this.create(e,"",-1)}},oM={name:"cookie",lookup:function(e){var n;if(e.lookupCookie&&typeof document<"u"){var r=A0.read(e.lookupCookie);r&&(n=r)}return n},cacheUserLanguage:function(e,n){n.lookupCookie&&typeof document<"u"&&A0.create(n.lookupCookie,e,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},sM={name:"querystring",lookup:function(e){var n;if(typeof window<"u"){var r=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),a=0;a<o.length;a++){var c=o[a].indexOf("=");if(c>0){var f=o[a].substring(0,c);f===e.lookupQuerystring&&(n=o[a].substring(c+1))}}}return n}},td=null,I0=function(){if(td!==null)return td;try{td=window!=="undefined"&&window.localStorage!==null;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{td=!1}return td},aM={name:"localStorage",lookup:function(e){var n;if(e.lookupLocalStorage&&I0()){var r=window.localStorage.getItem(e.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(e,n){n.lookupLocalStorage&&I0()&&window.localStorage.setItem(n.lookupLocalStorage,e)}},nd=null,M0=function(){if(nd!==null)return nd;try{nd=window!=="undefined"&&window.sessionStorage!==null;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{nd=!1}return nd},lM={name:"sessionStorage",lookup:function(e){var n;if(e.lookupSessionStorage&&M0()){var r=window.sessionStorage.getItem(e.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(e,n){n.lookupSessionStorage&&M0()&&window.sessionStorage.setItem(n.lookupSessionStorage,e)}},uM={name:"navigator",lookup:function(e){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r<navigator.languages.length;r++)n.push(navigator.languages[r]);navigator.userLanguage&&n.push(navigator.userLanguage),navigator.language&&n.push(navigator.language)}return n.length>0?n:void 0}},cM={name:"htmlTag",lookup:function(e){var n,r=e.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},fM={name:"path",lookup:function(e){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof e.lookupFromPathIndex=="number"){if(typeof r[e.lookupFromPathIndex]!="string")return;n=r[e.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},dM={name:"subdomain",lookup:function(e){var n=typeof e.lookupFromSubdomainIndex=="number"?e.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}},uT=!1;try{document.cookie,uT=!0}catch{}var cT=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];uT||cT.splice(1,1);function hM(){return{order:cT,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}}var fT=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ts(this,t),this.type="languageDetector",this.detectors={},this.init(e,n)}return ns(t,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n||{languageUtils:{}},this.options=rM(r,this.options||{},hM()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(o){return o.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(oM),this.addDetector(sM),this.addDetector(aM),this.addDetector(lM),this.addDetector(uM),this.addDetector(cM),this.addDetector(fM),this.addDetector(dM)}},{key:"addDetector",value:function(n){return this.detectors[n.name]=n,this}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var a=r.detectors[o].lookup(r.options);a&&typeof a=="string"&&(a=[a]),a&&(i=i.concat(a))}}),i=i.map(function(o){return r.options.convertDetectedLanguage(o)}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}])}();fT.type="languageDetector";function Vv(t,e){if(t==null)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.includes(r))continue;n[r]=t[r]}return n}const pM=Object.freeze(Object.defineProperty({__proto__:null,default:Vv},Symbol.toStringTag,{value:"Module"}));var ki=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Eu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function gM(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}function mM(){if(console&&console.warn){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];typeof n[0]=="string"&&(n[0]="react-i18next:: ".concat(n[0])),(t=console).warn.apply(t,n)}}var L0={};function Rm(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];typeof e[0]=="string"&&L0[e[0]]||(typeof e[0]=="string"&&(L0[e[0]]=new Date),mM.apply(void 0,e))}var dT=function(e,n){return function(){if(e.isInitialized)n();else{var r=function i(){setTimeout(function(){e.off("initialized",i)},0),n()};e.on("initialized",r)}}};function F0(t,e,n){t.loadNamespaces(e,dT(t,n))}function N0(t,e,n,r){typeof n=="string"&&(n=[n]),n.forEach(function(i){t.options.ns.indexOf(i)<0&&t.options.ns.push(i)}),t.loadLanguages(e,dT(t,r))}function vM(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=e.languages[0],i=e.options?e.options.fallbackLng:!1,o=e.languages[e.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var a=function(f,p){var y=e.services.backendConnector.state["".concat(f,"|").concat(p)];return y===-1||y===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!a(e.isLanguageChangingTo,t)?!1:!!(e.hasResourceBundle(r,t)||!e.services.backendConnector.backend||e.options.resources&&!e.options.partialBundledLanguages||a(r,t)&&(!i||a(o,t)))}function yM(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e.languages||!e.languages.length)return Rm("i18n.languages were undefined or empty",e.languages),!0;var r=e.options.ignoreJSONStructure!==void 0;return r?e.hasLoadedNamespace(t,{lng:n.lng,precheck:function(o,a){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!a(o.isLanguageChangingTo,t))return!1}}):vM(t,e,n)}var bM=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,wM={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},xM=function(e){return wM[e]},SM=function(e){return e.replace(bM,xM)};function j0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function B0(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?j0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var Am={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:SM};function TM(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Am=B0(B0({},Am),t)}function CM(){return Am}var hT;function EM(t){hT=t}function kM(){return hT}var DM={type:"3rdParty",init:function(e){TM(e.options.react),EM(e)}},pT=X.createContext(),PM=function(){function t(){ts(this,t),this.usedNamespaces={}}return ns(t,[{key:"addUsedNamespaces",value:function(n){var r=this;n.forEach(function(i){r.usedNamespaces[i]||(r.usedNamespaces[i]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),t}();function OM(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,i,o,a,c=[],f=!0,p=!1;try{if(o=(n=n.call(t)).next,e!==0)for(;!(f=(r=o.call(n)).done)&&(c.push(r.value),c.length!==e);f=!0);}catch(y){p=!0,i=y}finally{try{if(!f&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(p)throw i}}return c}}function _M(t,e){return J1(t)||OM(t,e)||Q1(t,e)||eT()}function $0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Eg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?$0(Object(n),!0).forEach(function(r){Ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var RM=function(e,n){var r=X.useRef();return X.useEffect(function(){r.current=e},[e,n]),r.current};function gT(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.i18n,r=X.useContext(pT)||{},i=r.i18n,o=r.defaultNS,a=n||i||kM();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new PM),!a){Rm("You will need to pass in an i18next instance by using initReactI18next");var c=function(ae,Ve){return typeof Ve=="string"?Ve:Ve&&Jo(Ve)==="object"&&typeof Ve.defaultValue=="string"?Ve.defaultValue:Array.isArray(ae)?ae[ae.length-1]:ae},f=[c,{},!1];return f.t=c,f.i18n={},f.ready=!1,f}a.options.react&&a.options.react.wait!==void 0&&Rm("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var p=Eg(Eg(Eg({},CM()),a.options.react),e),y=p.useSuspense,g=p.keyPrefix,T=t||o||a.options&&a.options.defaultNS;T=typeof T=="string"?[T]:T||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(T);var E=(a.isInitialized||a.initializedStoreOnce)&&T.every(function(le){return yM(le,a,p)});function A(){return a.getFixedT(e.lng||null,p.nsMode==="fallback"?T:T[0],g)}var I=X.useState(A),j=_M(I,2),R=j[0],U=j[1],H=T.join();e.lng&&(H="".concat(e.lng).concat(H));var ne=RM(H),q=X.useRef(!0);X.useEffect(function(){var le=p.bindI18n,ae=p.bindI18nStore;q.current=!0,!E&&!y&&(e.lng?N0(a,e.lng,T,function(){q.current&&U(A)}):F0(a,T,function(){q.current&&U(A)})),E&&ne&&ne!==H&&q.current&&U(A);function Ve(){q.current&&U(A)}return le&&a&&a.on(le,Ve),ae&&a&&a.store.on(ae,Ve),function(){q.current=!1,le&&a&&le.split(" ").forEach(function(tt){return a.off(tt,Ve)}),ae&&a&&ae.split(" ").forEach(function(tt){return a.store.off(tt,Ve)})}},[a,H]);var ie=X.useRef(!0);X.useEffect(function(){q.current&&!ie.current&&U(A),ie.current=!1},[a,g]);var x=[R,a,E];if(x.t=R,x.i18n=a,x.ready=E,E||!E&&!y)return x;throw new Promise(function(le){e.lng?N0(a,e.lng,T,function(){return le()}):F0(a,T,function(){return le()})})}function AM(t){var e=t.i18n,n=t.defaultNS,r=t.children,i=X.useMemo(function(){return{i18n:e,defaultNS:n}},[e,n]);return X.createElement(pT.Provider,{value:i},r)}var mT=[],IM=mT.forEach,MM=mT.slice;function LM(t){return IM.call(MM.call(arguments,1),function(e){if(e)for(var n in e)t[n]===void 0&&(t[n]=e[n])}),t}function FM(t){return t?typeof t=="function"?new t:t:null}function NM(){return{handleEmptyResourcesAsFailed:!0,cacheHitMode:"none"}}function V0(t,e,n,r){var i=t.read.bind(t);if(i.length===2){try{var o=i(e,n);o&&typeof o.then=="function"?o.then(function(a){return r(null,a)}).catch(r):r(null,o)}catch(a){r(a)}return}i(e,n,r)}var vT=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ts(this,t),this.backends=[],this.type="backend",this.allOptions=r,this.init(e,n)}return ns(t,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=LM(i,this.options||{},NM()),this.allOptions=o,this.options.backends&&this.options.backends.forEach(function(a,c){r.backends[c]=r.backends[c]||FM(a),r.backends[c].init(n,r.options.backendOptions&&r.options.backendOptions[c]||{},o)}),this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"read",value:function(n,r,i){var o=this,a=this.backends.length,c=function p(y){if(y>=a)return i(new Error("non of the backend loaded data",!0));var g=y===a-1,T=o.options.handleEmptyResourcesAsFailed&&!g?0:-1,E=o.backends[y];E.read?V0(E,n,r,function(A,I,j){if(!A&&I&&Object.keys(I).length>T){if(i(null,I,y),f(y-1,I),E.save&&o.options.cacheHitMode&&["refresh","refreshAndUpdateStore"].indexOf(o.options.cacheHitMode)>-1){if(j&&o.options.refreshExpirationTime&&j+o.options.refreshExpirationTime>Date.now())return;var R=o.backends[y+1];R&&R.read&&V0(R,n,r,function(U,H){U||H&&(Object.keys(H).length<=T||(f(y,H),o.options.cacheHitMode==="refreshAndUpdateStore"&&o.services&&o.services.resourceStore&&o.services.resourceStore.addResourceBundle(n,r,H)))})}}else p(y+1)}):p(y+1)},f=function p(y,g){if(!(y<0)){var T=o.backends[y];T.save&&T.save(n,r,g),p(y-1,g)}};c(0)}},{key:"create",value:function(n,r,i,o){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){},c=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.backends.forEach(function(f){if(f.create){var p=f.create.bind(f);if(p.length<6){try{var y;p.length===5?y=p(n,r,i,o,c):y=p(n,r,i,o),y&&typeof y.then=="function"?y.then(function(g){return a(null,g)}).catch(a):a(null,y)}catch(g){a(g)}return}p(n,r,i,o,a,c)}})}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,a=r.logger,c=i.language;if(!(c&&c.toLowerCase()==="cimode")){var f=[],p=function(g){var T=o.toResolveHierarchy(g);T.forEach(function(E){f.indexOf(E)<0&&f.push(E)})};p(c),this.allOptions.preload&&this.allOptions.preload.forEach(function(y){return p(y)}),f.forEach(function(y){n.allOptions.ns.forEach(function(g){i.read(y,g,"read",null,null,function(T,E){T&&a.warn("loading namespace ".concat(g," for language ").concat(y," failed"),T),!T&&E&&a.log("loaded namespace ".concat(g," for language ").concat(y),E),i.loaded("".concat(y,"|").concat(g),T,E)})})})}}}]),t}();vT.type="backend";function Im(t){"@babel/helpers - typeof";return Im=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Im(t)}function yT(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":Im(XMLHttpRequest))==="object"}function jM(t){return!!t&&typeof t.then=="function"}function BM(t){return jM(t)?t:Promise.resolve(t)}function $M(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Mm={exports:{}},gh={exports:{}},H0;function VM(){return H0||(H0=1,function(t,e){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof ki<"u"&&ki,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(a){var c=typeof o<"u"&&o||typeof self<"u"&&self||typeof c<"u"&&c,f={searchParams:"URLSearchParams"in c,iterable:"Symbol"in c&&"iterator"in Symbol,blob:"FileReader"in c&&"Blob"in c&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in c,arrayBuffer:"ArrayBuffer"in c};function p(ue){return ue&&DataView.prototype.isPrototypeOf(ue)}if(f.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],g=ArrayBuffer.isView||function(ue){return ue&&y.indexOf(Object.prototype.toString.call(ue))>-1};function T(ue){if(typeof ue!="string"&&(ue=String(ue)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(ue)||ue==="")throw new TypeError('Invalid character in header field name: "'+ue+'"');return ue.toLowerCase()}function E(ue){return typeof ue!="string"&&(ue=String(ue)),ue}function A(ue){var ve={next:function(){var ke=ue.shift();return{done:ke===void 0,value:ke}}};return f.iterable&&(ve[Symbol.iterator]=function(){return ve}),ve}function I(ue){this.map={},ue instanceof I?ue.forEach(function(ve,ke){this.append(ke,ve)},this):Array.isArray(ue)?ue.forEach(function(ve){this.append(ve[0],ve[1])},this):ue&&Object.getOwnPropertyNames(ue).forEach(function(ve){this.append(ve,ue[ve])},this)}I.prototype.append=function(ue,ve){ue=T(ue),ve=E(ve);var ke=this.map[ue];this.map[ue]=ke?ke+", "+ve:ve},I.prototype.delete=function(ue){delete this.map[T(ue)]},I.prototype.get=function(ue){return ue=T(ue),this.has(ue)?this.map[ue]:null},I.prototype.has=function(ue){return this.map.hasOwnProperty(T(ue))},I.prototype.set=function(ue,ve){this.map[T(ue)]=E(ve)},I.prototype.forEach=function(ue,ve){for(var ke in this.map)this.map.hasOwnProperty(ke)&&ue.call(ve,this.map[ke],ke,this)},I.prototype.keys=function(){var ue=[];return this.forEach(function(ve,ke){ue.push(ke)}),A(ue)},I.prototype.values=function(){var ue=[];return this.forEach(function(ve){ue.push(ve)}),A(ue)},I.prototype.entries=function(){var ue=[];return this.forEach(function(ve,ke){ue.push([ke,ve])}),A(ue)},f.iterable&&(I.prototype[Symbol.iterator]=I.prototype.entries);function j(ue){if(ue.bodyUsed)return Promise.reject(new TypeError("Already read"));ue.bodyUsed=!0}function R(ue){return new Promise(function(ve,ke){ue.onload=function(){ve(ue.result)},ue.onerror=function(){ke(ue.error)}})}function U(ue){var ve=new FileReader,ke=R(ve);return ve.readAsArrayBuffer(ue),ke}function H(ue){var ve=new FileReader,ke=R(ve);return ve.readAsText(ue),ke}function ne(ue){for(var ve=new Uint8Array(ue),ke=new Array(ve.length),Le=0;Le<ve.length;Le++)ke[Le]=String.fromCharCode(ve[Le]);return ke.join("")}function q(ue){if(ue.slice)return ue.slice(0);var ve=new Uint8Array(ue.byteLength);return ve.set(new Uint8Array(ue)),ve.buffer}function ie(){return this.bodyUsed=!1,this._initBody=function(ue){this.bodyUsed=this.bodyUsed,this._bodyInit=ue,ue?typeof ue=="string"?this._bodyText=ue:f.blob&&Blob.prototype.isPrototypeOf(ue)?this._bodyBlob=ue:f.formData&&FormData.prototype.isPrototypeOf(ue)?this._bodyFormData=ue:f.searchParams&&URLSearchParams.prototype.isPrototypeOf(ue)?this._bodyText=ue.toString():f.arrayBuffer&&f.blob&&p(ue)?(this._bodyArrayBuffer=q(ue.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):f.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(ue)||g(ue))?this._bodyArrayBuffer=q(ue):this._bodyText=ue=Object.prototype.toString.call(ue):this._bodyText="",this.headers.get("content-type")||(typeof ue=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):f.searchParams&&URLSearchParams.prototype.isPrototypeOf(ue)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},f.blob&&(this.blob=function(){var ue=j(this);if(ue)return ue;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var ue=j(this);return ue||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(U)}),this.text=function(){var ue=j(this);if(ue)return ue;if(this._bodyBlob)return H(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(ne(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},f.formData&&(this.formData=function(){return this.text().then(Ve)}),this.json=function(){return this.text().then(JSON.parse)},this}var x=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function le(ue){var ve=ue.toUpperCase();return x.indexOf(ve)>-1?ve:ue}function ae(ue,ve){if(!(this instanceof ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');ve=ve||{};var ke=ve.body;if(ue instanceof ae){if(ue.bodyUsed)throw new TypeError("Already read");this.url=ue.url,this.credentials=ue.credentials,ve.headers||(this.headers=new I(ue.headers)),this.method=ue.method,this.mode=ue.mode,this.signal=ue.signal,!ke&&ue._bodyInit!=null&&(ke=ue._bodyInit,ue.bodyUsed=!0)}else this.url=String(ue);if(this.credentials=ve.credentials||this.credentials||"same-origin",(ve.headers||!this.headers)&&(this.headers=new I(ve.headers)),this.method=le(ve.method||this.method||"GET"),this.mode=ve.mode||this.mode||null,this.signal=ve.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&ke)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(ke),(this.method==="GET"||this.method==="HEAD")&&(ve.cache==="no-store"||ve.cache==="no-cache")){var Le=/([?&])_=[^&]*/;if(Le.test(this.url))this.url=this.url.replace(Le,"$1_="+new Date().getTime());else{var et=/\?/;this.url+=(et.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}ae.prototype.clone=function(){return new ae(this,{body:this._bodyInit})};function Ve(ue){var ve=new FormData;return ue.trim().split("&").forEach(function(ke){if(ke){var Le=ke.split("="),et=Le.shift().replace(/\+/g," "),ge=Le.join("=").replace(/\+/g," ");ve.append(decodeURIComponent(et),decodeURIComponent(ge))}}),ve}function tt(ue){var ve=new I,ke=ue.replace(/\r?\n[\t ]+/g," ");return ke.split("\r").map(function(Le){return Le.indexOf(`
|
|
3
|
+
`)===0?Le.substr(1,Le.length):Le}).forEach(function(Le){var et=Le.split(":"),ge=et.shift().trim();if(ge){var Se=et.join(":").trim();ve.append(ge,Se)}}),ve}ie.call(ae.prototype);function Qe(ue,ve){if(!(this instanceof Qe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');ve||(ve={}),this.type="default",this.status=ve.status===void 0?200:ve.status,this.ok=this.status>=200&&this.status<300,this.statusText=ve.statusText===void 0?"":""+ve.statusText,this.headers=new I(ve.headers),this.url=ve.url||"",this._initBody(ue)}ie.call(Qe.prototype),Qe.prototype.clone=function(){return new Qe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new I(this.headers),url:this.url})},Qe.error=function(){var ue=new Qe(null,{status:0,statusText:""});return ue.type="error",ue};var qe=[301,302,303,307,308];Qe.redirect=function(ue,ve){if(qe.indexOf(ve)===-1)throw new RangeError("Invalid status code");return new Qe(null,{status:ve,headers:{location:ue}})},a.DOMException=c.DOMException;try{new a.DOMException}catch{a.DOMException=function(ve,ke){this.message=ve,this.name=ke;var Le=Error(ve);this.stack=Le.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function Oe(ue,ve){return new Promise(function(ke,Le){var et=new ae(ue,ve);if(et.signal&&et.signal.aborted)return Le(new a.DOMException("Aborted","AbortError"));var ge=new XMLHttpRequest;function Se(){ge.abort()}ge.onload=function(){var We={status:ge.status,statusText:ge.statusText,headers:tt(ge.getAllResponseHeaders()||"")};We.url="responseURL"in ge?ge.responseURL:We.headers.get("X-Request-URL");var Be="response"in ge?ge.response:ge.responseText;setTimeout(function(){ke(new Qe(Be,We))},0)},ge.onerror=function(){setTimeout(function(){Le(new TypeError("Network request failed"))},0)},ge.ontimeout=function(){setTimeout(function(){Le(new TypeError("Network request failed"))},0)},ge.onabort=function(){setTimeout(function(){Le(new a.DOMException("Aborted","AbortError"))},0)};function Ne(We){try{return We===""&&c.location.href?c.location.href:We}catch{return We}}ge.open(et.method,Ne(et.url),!0),et.credentials==="include"?ge.withCredentials=!0:et.credentials==="omit"&&(ge.withCredentials=!1),"responseType"in ge&&(f.blob?ge.responseType="blob":f.arrayBuffer&&et.headers.get("Content-Type")&&et.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(ge.responseType="arraybuffer")),ve&&typeof ve.headers=="object"&&!(ve.headers instanceof I)?Object.getOwnPropertyNames(ve.headers).forEach(function(We){ge.setRequestHeader(We,E(ve.headers[We]))}):et.headers.forEach(function(We,Be){ge.setRequestHeader(Be,We)}),et.signal&&(et.signal.addEventListener("abort",Se),ge.onreadystatechange=function(){ge.readyState===4&&et.signal.removeEventListener("abort",Se)}),ge.send(typeof et._bodyInit>"u"?null:et._bodyInit)})}return Oe.polyfill=!0,c.fetch||(c.fetch=Oe,c.Headers=I,c.Request=ae,c.Response=Qe),a.Headers=I,a.Request=ae,a.Response=Qe,a.fetch=Oe,a})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=n.fetch?n:r;e=i.fetch,e.default=i.fetch,e.fetch=i.fetch,e.Headers=i.Headers,e.Request=i.Request,e.Response=i.Response,t.exports=e}(gh,gh.exports)),gh.exports}(function(t,e){var n;if(typeof fetch=="function"&&(typeof ki<"u"&&ki.fetch?n=ki.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof $M<"u"&&typeof window>"u"){var r=n||VM();r.default&&(r=r.default),e.default=r,t.exports=e.default}})(Mm,Mm.exports);var bT=Mm.exports;const wT=Eu(bT),U0=hI({__proto__:null,default:wT},[bT]);function W0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function z0(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?W0(Object(n),!0).forEach(function(r){HM(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):W0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function HM(t,e,n){return(e=UM(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function UM(t){var e=WM(t,"string");return Ec(e)=="symbol"?e:e+""}function WM(t,e){if(Ec(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(Ec(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ec(t){"@babel/helpers - typeof";return Ec=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ec(t)}var Tl;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?Tl=global.fetch:typeof window<"u"&&window.fetch?Tl=window.fetch:Tl=fetch);var Od;yT()&&(typeof global<"u"&&global.XMLHttpRequest?Od=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(Od=window.XMLHttpRequest));var Qh;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?Qh=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(Qh=window.ActiveXObject));!Tl&&U0&&!Od&&!Qh&&(Tl=wT||U0);typeof Tl!="function"&&(Tl=void 0);var Lm=function(e,n){if(n&&Ec(n)==="object"){var r="";for(var i in n)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]);if(!r)return e;e=e+(e.indexOf("?")!==-1?"&":"?")+r.slice(1)}return e},Y0=function(e,n,r,i){var o=function(f){if(!f.ok)return r(f.statusText||"Error",{status:f.status});f.text().then(function(p){r(null,{status:f.status,data:p})}).catch(r)};if(i){var a=i(e,n);if(a instanceof Promise){a.then(o).catch(r);return}}typeof fetch=="function"?fetch(e,n).then(o).catch(r):Tl(e,n).then(o).catch(r)},G0=!1,zM=function(e,n,r,i){e.queryStringParams&&(n=Lm(n,e.queryStringParams));var o=z0({},typeof e.customHeaders=="function"?e.customHeaders():e.customHeaders);typeof window>"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(o["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(o["Content-Type"]="application/json");var a=typeof e.requestOptions=="function"?e.requestOptions(r):e.requestOptions,c=z0({method:r?"POST":"GET",body:r?e.stringify(r):void 0,headers:o},G0?{}:a),f=typeof e.alternateFetch=="function"&&e.alternateFetch.length>=1?e.alternateFetch:void 0;try{Y0(n,c,i,f)}catch(p){if(!a||Object.keys(a).length===0||!p.message||p.message.indexOf("not implemented")<0)return i(p);try{Object.keys(a).forEach(function(y){delete c[y]}),Y0(n,c,i,f),G0=!0}catch(y){i(y)}}},YM=function(e,n,r,i){r&&Ec(r)==="object"&&(r=Lm("",r).slice(1)),e.queryStringParams&&(n=Lm(n,e.queryStringParams));try{var o;Od?o=new Od:o=new Qh("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),e.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!e.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var a=e.customHeaders;if(a=typeof a=="function"?a():a,a)for(var c in a)o.setRequestHeader(c,a[c]);o.onreadystatechange=function(){o.readyState>3&&i(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(f){console&&console.log(f)}},GM=function(e,n,r,i){if(typeof r=="function"&&(i=r,r=void 0),i=i||function(){},Tl&&n.indexOf("file:")!==0)return zM(e,n,r,i);if(yT()||typeof ActiveXObject=="function")return YM(e,n,r,i);i(new Error("No fetch and no xhr implementation found!"))};function kf(t){"@babel/helpers - typeof";return kf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kf(t)}function q0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function kg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?q0(Object(n),!0).forEach(function(r){xT(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):q0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function qM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XM(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ST(r.key),r)}}function KM(t,e,n){return e&&XM(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function xT(t,e,n){return(e=ST(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ST(t){var e=ZM(t,"string");return kf(e)=="symbol"?e:e+""}function ZM(t,e){if(kf(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(kf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var JM=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(n){return JSON.parse(n)},stringify:JSON.stringify,parsePayload:function(n,r,i){return xT({},r,i||"")},parseLoadPayload:function(n,r){},request:GM,reloadInterval:typeof window<"u"?!1:60*60*1e3,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},TT=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};qM(this,t),this.services=e,this.options=n,this.allOptions=r,this.type="backend",this.init(e,n,r)}return KM(t,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=kg(kg(kg({},JM()),this.options||{}),i),this.allOptions=o,this.services&&this.options.reloadInterval){var a=setInterval(function(){return r.reload()},this.options.reloadInterval);kf(a)==="object"&&typeof a.unref=="function"&&a.unref()}}},{key:"readMulti",value:function(n,r,i){this._readAny(n,n,r,r,i)}},{key:"read",value:function(n,r,i){this._readAny([n],n,[r],r,i)}},{key:"_readAny",value:function(n,r,i,o,a){var c=this,f=this.options.loadPath;typeof this.options.loadPath=="function"&&(f=this.options.loadPath(n,i)),f=BM(f),f.then(function(p){if(!p)return a(null,{});var y=c.services.interpolator.interpolate(p,{lng:n.join("+"),ns:i.join("+")});c.loadUrl(y,a,r,o)})}},{key:"loadUrl",value:function(n,r,i,o){var a=this,c=typeof i=="string"?[i]:i,f=typeof o=="string"?[o]:o,p=this.options.parseLoadPayload(c,f);this.options.request(this.options,n,p,function(y,g){if(g&&(g.status>=500&&g.status<600||!g.status))return r("failed loading "+n+"; status code: "+g.status,!0);if(g&&g.status>=400&&g.status<500)return r("failed loading "+n+"; status code: "+g.status,!1);if(!g&&y&&y.message){var T=y.message.toLowerCase(),E=["failed","fetch","network","load"].find(function(j){return T.indexOf(j)>-1});if(E)return r("failed loading "+n+": "+y.message,!0)}if(y)return r(y,!1);var A,I;try{typeof g.data=="string"?A=a.options.parse(g.data,i,o):A=g.data}catch{I="failed parsing "+n+" to json"}if(I)return r(I,!1);r(null,A)})}},{key:"create",value:function(n,r,i,o,a){var c=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var f=this.options.parsePayload(r,i,o),p=0,y=[],g=[];n.forEach(function(T){var E=c.options.addPath;typeof c.options.addPath=="function"&&(E=c.options.addPath(T,r));var A=c.services.interpolator.interpolate(E,{lng:T,ns:r});c.options.request(c.options,A,f,function(I,j){p+=1,y.push(I),g.push(j),p===n.length&&typeof a=="function"&&a(y,g)})})}}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,a=r.logger,c=i.language;if(!(c&&c.toLowerCase()==="cimode")){var f=[],p=function(g){var T=o.toResolveHierarchy(g);T.forEach(function(E){f.indexOf(E)<0&&f.push(E)})};p(c),this.allOptions.preload&&this.allOptions.preload.forEach(function(y){return p(y)}),f.forEach(function(y){n.allOptions.ns.forEach(function(g){i.read(y,g,"read",null,null,function(T,E){T&&a.warn("loading namespace ".concat(g," for language ").concat(y," failed"),T),!T&&E&&a.log("loaded namespace ".concat(g," for language ").concat(y),E),i.loaded("".concat(y,"|").concat(g),T,E)})})})}}}])}();TT.type="backend";var Hv=(t=>(t.en="en",t.de="de",t))(Hv||{});Dr.use(fT).use(vT).use(DM).init({initImmediate:!0,supportedLngs:["en","de"],fallbackLng:"en",nonExplicitSupportedLngs:!0,load:"languageOnly",ns:["translation"],fallbackNS:"translation",partialBundledLanguages:!0,resources:{},interpolation:{escapeValue:!1},detection:{order:["querystring","localStorage","navigator"],caches:["localStorage"],convertDetectedLanguage:t=>t==null?void 0:t.split("-")[0]},backend:{backends:[TT],backendOptions:[{prefix:"i18next_res_",expirationTime:7*24*60*60*1e3,versions:{en:"v1.0",de:"v1.0"}},{loadPath:t=>{var i,o,a;const n=(Array.isArray(t)?t[0]:t||"en").split("-")[0];return`${((i=window==null?void 0:window.env)==null?void 0:i.TRANSLATION_URL)??((o=window==null?void 0:window.env)==null?void 0:o.VITE_BASE_URL)??((a=window==null?void 0:window.env)==null?void 0:a.REACT_APP_BASE_URL)??`${location.protocol}//${location.host}`}/translations/${n}`},crossDomain:!0,cacheHitMode:"refresh"}]}});function QM(){const[t,e]=X.useState();return X.useEffect(()=>{const n=localStorage.getItem("language");e(n||Hv.en)},[]),{language:t,setLanguage:e}}const CT=X.createContext({}),eL=()=>X.useContext(CT),tL=Dr,Os=rT,nL=()=>gT(),rL=({children:t})=>{const e=QM();return X.useEffect(()=>{Dr.on("backendConnectorReady",()=>{console.log("🔍 Backend connector ready")}),Dr.on("loaded",(n,r)=>{console.log(`📥 Translation loaded: ${n}/${r}`);const i=`i18next_res_${n}`,o=localStorage.getItem(i);console.log(o?"💾 Loaded from cache":"🌐 Loaded from API")})},[]),Pe.jsx(CT.Provider,{value:e,children:Pe.jsx(AM,{i18n:Dr,children:t})})},mr={primary:"#93D500",primary100:"#F0F6E1",primary200:"#E5F5ED",primary300:"#93D500",primary400:"#009D4F",primary500:"#2E7D32",secondary:"#CC0066",secondaryDark:"#AE1857",textPrimary:"#292929",white:"#FFFFFF",grey100:"#FAFAFA",grey200:"#EEEEEE",grey300:"#DDDDDD",grey400:"#C5C5C5",grey500:"#BFBFBF",grey600:"#85858A",success:"#009D4F",successLight:"#E5F5ED",warning:"#FFB600",warningLight:"#FFF8E5",danger:"#E01B00",dangerLight:"#FCE8E5",dangerDark:"#BE1700",linkPrimary:"#007BFF",linkLight:"#007BFF10",headerBgColor:"#292929",headerTextColor:"#FFF",buttonText:"#292929",buttonHover:"#2E7D32"};var ET={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},X0=X.createContext&&X.createContext(ET),iL=["attr","size","title"];function oL(t,e){if(t==null)return{};var n=sL(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)r=o[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function sL(t,e){if(t==null)return{};var n={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;n[r]=t[r]}return n}function ep(){return ep=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ep.apply(this,arguments)}function K0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function tp(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?K0(Object(n),!0).forEach(function(r){aL(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):K0(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function aL(t,e,n){return e=lL(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lL(t){var e=uL(t,"string");return typeof e=="symbol"?e:e+""}function uL(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function kT(t){return t&&t.map((e,n)=>X.createElement(e.tag,tp({key:n},e.attr),kT(e.child)))}function kp(t){return e=>X.createElement(cL,ep({attr:tp({},t.attr)},e),kT(t.child))}function cL(t){var e=n=>{var{attr:r,size:i,title:o}=t,a=oL(t,iL),c=i||n.size||"1em",f;return n.className&&(f=n.className),t.className&&(f=(f?f+" ":"")+t.className),X.createElement("svg",ep({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,a,{className:f,style:tp(tp({color:t.color||n.color},n.style),t.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),o&&X.createElement("title",null,o),t.children)};return X0!==void 0?X.createElement(X0.Consumer,null,n=>e(n)):e(ET)}function fL(t){return kp({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"},child:[]}]})(t)}function dL(t){return kp({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"},child:[]}]})(t)}const DT={allVariants:{lineHeight:"inherit"},fontFamily:"'SpecialAmpersand', 'TT Firs Neue Trl'",button:{textTransform:"none",fontSize:"0.875rem",fontWeight:400,boxShadow:"none"},body1:{fontSize:"0.875rem",fontWeight:400},body2:{fontSize:"0.75rem"},h6:{fontSize:"0.875rem",fontWeight:500},h5:{fontSize:"1rem",fontWeight:500},h4:{fontSize:"1.25rem",fontWeight:500},h3:{fontSize:"1.5rem",fontWeight:500},h2:{fontSize:"2rem",fontWeight:500},h1:{fontSize:"2.5rem",fontWeight:500},subtitle1:{fontSize:"0.75rem"},subtitle2:{fontSize:"0.625rem"}};function Dg(t){return t+" !important"}const PT=t=>{const e={...t.colors};return aa.createTheme({palette:{primary:{main:e.primary300,contrastText:e.textPrimary},secondary:{main:e.secondary,contrastText:e.textPrimary},warning:{main:e.warning,contrastText:e.textPrimary},error:{main:e.danger,contrastText:e.textPrimary}},typography:DT,components:{MuiIconButton:{styleOverrides:{root:{},sizeSmall:{}}},MuiButton:{styleOverrides:{root:{boxShadow:"none !important",padding:"8px 32px",borderWidth:1,borderRadius:3,fontWeight:400}},variants:[{props:{variant:"primary"},style:{backgroundColor:e.primary300,color:e.buttonText,"&:hover":{backgroundColor:e.buttonHover||e.primary300},"&.Mui-disabled":{backgroundColor:e.grey200}}},{props:{variant:"contained",color:"error"},style:{color:e.white}},{props:{variant:"confirm"},style:{backgroundColor:e.danger,color:e.white,"&:hover":{backgroundColor:e.dangerDark},"&.Mui-disabled":{backgroundColor:e.grey200}}},{props:{variant:"cancel"},style:{backgroundColor:e.grey300,color:e.textPrimary,"&:hover":{backgroundColor:e.grey400}}},{props:{variant:"outlinedPrimary"},style:{color:e.primary500,border:"1px solid",borderColor:e.primary500,"&:hover":{backgroundColor:"inherit"}}},{props:{variant:"outLinedDanger"},style:{color:e.danger,border:"1px solid",borderColor:e.danger,"&:hover":{backgroundColor:"inherit"}}},{props:{size:"small"},style:{fontSize:"12px",lineHeight:"normal",borderRadius:"3px",padding:"4px 16px"}}]},MuiAppBar:{styleOverrides:{root:{backgroundColor:e.appBarBgColor,color:e.appBarColor}}},MuiSelect:{defaultProps:{MenuProps:{PaperProps:{sx:{boxShadow:"none",border:1,borderStyle:"solid",borderColor:e.grey300,mt:"5px"}},MenuListProps:{sx:{padding:"5px","& .MuiMenuItem-root":{fontWeight:400,minHeight:0,borderRadius:"5px","&:hover":{backgroundColor:e.grey100},"&.Mui-selected":{backgroundColor:e.primary200}}}}}},styleOverrides:{select:{padding:"9.94px 5px 9.94px 15px"}}},MuiMenuItem:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:Dg(e.primary200),"&:hover":{backgroundColor:Dg(e.primary200)}}}}},MuiPaginationItem:{defaultProps:{components:{previous:fL,next:dL}},styleOverrides:{root:{"& svg":{width:"10px"},border:"none",fontSize:"14px",lineHeight:"1.5rem",borderRadius:"7px","&.Mui-selected":{backgroundColor:Dg(e.primary300+"1a")},"&.MuiPaginationItem-previousNext":{backgroundColor:e.grey200}}}},MuiChip:{styleOverrides:{root:{borderRadius:"5px",fontSize:"14px","& .MuiChip-label":{lineHeight:"normal"}},avatar:{width:"10px"},colorSuccess:{color:e.success,backgroundColor:e.successLight},colorWarning:{color:e.warning,backgroundColor:e.warningLight},colorError:{color:e.danger,backgroundColor:e.dangerLight},colorSecondary:{color:e.linkPrimary,backgroundColor:e.linkLight}}},MuiTab:{styleOverrides:{root:{flexDirection:"row",alignContent:"center",gap:"8px",textTransform:"capitalize",fontSize:"14px",borderRadius:0,marginRight:0,height:"48px",minWidth:"100px",padding:"12px 16px",fontWeight:"500","& svg":{mb:"0 !important"},minHeight:"auto","& .chart-icon":{fill:e.grey600},"& .detail-icon":{stroke:e.grey600},color:e.grey400,"&.Mui-selected":{color:e.primary400}}}},MuiTabs:{styleOverrides:{indicator:{backgroundColor:e.primary400}}},MuiDrawer:{defaultProps:{},styleOverrides:{root:{"&.MuiDrawer-paper":{overflowY:"unset"},"& .MuiDrawer-paper":{zIndex:9},"&.MuiPaper-root":{border:"none",background:e.grey100,pt:12,zIndex:9}}}},MuiTextField:{defaultProps:{InputProps:{sx:{"& .Mui-disabled":{background:e.grey200}}},InputLabelProps:{shrink:!0}},styleOverrides:{root:{backgroundColor:e.white,"& .MuiOutlinedInput-input":{padding:"0px 16px 0px 12px",fontWeight:400,height:40,fontSize:"14px",border:1,borderRadius:4,"&::placeholder":{color:e.grey600}},"& .MuiFormLabel-asterisk":{color:e.danger}}}},MuiFormGroup:{styleOverrides:{root:{}}},MuiFormHelperText:{defaultProps:{sx:{fontSize:12}},styleOverrides:{}},MuiAutocomplete:{defaultProps:{sx:{"& .MuiPaper-root":{padding:"5px"}}},styleOverrides:{root:{"& .MuiSvgIcon-root":{width:"20px",height:"20px"},"& .MuiAutocomplete-tag":{margin:0},"& .MuiButtonBase-root":{marginRight:"2px !important",height:"max-content",padding:"2px"},"& .MuiOutlinedInput-root":{padding:"7.45px 55px 7.45px 10px !important"},"& svg":{},"& #checkboxes-tags-demo":{padding:"6px 4px"},"& .MuiAutocomplete-endAdornment":{top:"calc(50% - 12px)"}}}},MuiTableHead:{styleOverrides:{root:{"& th":{fontSize:"14px",padding:"8px 16px"}}}},MuiTableBody:{styleOverrides:{root:{"& th,td":{fontSize:"14px",padding:"8px 16px",height:"45px"},"& .MuiTableCell-root":{borderBottom:`1px solid ${e.grey300}`}}}},MuiRadio:{defaultProps:{sx:{"&.MuiButtonBase-root":{padding:"5px"}}},styleOverrides:{root:{"& .MuiSvgIcon-root":{fontSize:16},color:e.grey600,"&.Mui-checked":{color:e.success},"&.Mui-disabled":{color:e.grey600}}}},MuiTooltip:{defaultProps:{placement:"top"},styleOverrides:{tooltip:{fontSize:"10px",backgroundColor:e.grey600,color:e.white,"& .MuiTooltip-arrow":{color:e.grey600}}}}}})};function Z0(t,e){const n={...t};return e==null||e.forEach(r=>{r.children&&r.children.forEach(({key:i,color:o})=>{n[i]=o.trim()||mr[i]})}),n}function OT(t){if(!t)return;let e=document.querySelector("link[rel*='icon']");e||(e=document.createElement("link"),e.rel="icon",document.head.appendChild(e)),e.href=t}function hL(t){var c,f,p;const{data:e,isFetching:n}=Pd.useQuery(["customTheme"],()=>t!=null&&t.url?fetch(t.url).then(y=>y.json()).then(y=>(["image","favicon","icon"].forEach(g=>{var T;(T=y==null?void 0:y.theme)!=null&&T[g]&&(y.theme[g]+=`?v=${Date.now()}`)}),y)):void 0,{enabled:!!(t!=null&&t.url)&&(t==null?void 0:t.enabled),refetchOnWindowFocus:!1,cacheTime:0,onSuccess(y){var T,E;OT((T=y==null?void 0:y.theme)==null?void 0:T.favicon);const g=Z0(mr,(E=y==null?void 0:y.theme)==null?void 0:E.keyColor);Object.keys(g).forEach(A=>{document.documentElement.style.setProperty(`--${A}`,g[A])}),document.documentElement.style.setProperty("font-family",DT.fontFamily)}}),r=Z0(mr,(c=e==null?void 0:e.theme)==null?void 0:c.keyColor),i=PT({colors:r}),o=(f=e==null?void 0:e.theme)==null?void 0:f.image,a=(p=e==null?void 0:e.theme)==null?void 0:p.icon;return{colors:r,theme:i,logo:o,icon:a,isFetching:n,themeDto:e==null?void 0:e.theme}}const _T=X.createContext({}),pL=()=>X.useContext(_T),gL=t=>{var o;const{children:e,brandTheme:n}=t,r=hL(n),i=((o=t.customTheme)==null?void 0:o.call(t,r.colors))||r.theme;return Pe.jsx(_T.Provider,{value:r,children:Pe.jsx(aa.ThemeProvider,{theme:i,children:e})})},mL=".modal-overlay{z-index:1300;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000041;--tw-backdrop-blur: blur(4px);justify-content:center;align-items:center;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.modal-title{font-size:1.25rem;line-height:1.75rem;color:#e01b00;font-weight:500}.modal-footer{display:flex;justify-content:space-between;width:80%}.modal-container{background:#fff;-webkit-backdrop-filter:blur(4.5px);backdrop-filter:blur(4.5px);display:flex;padding:32px 24px 40px;flex-direction:column;align-items:center;gap:24px;align-self:stretch;width:500px;height:204px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:.5rem}.modal-button{border-radius:3px;border:1px solid #ddd;background:#ddd;padding:8px 32px;font-size:14px;transition:background-color .25s cubic-bezier(.4,0,.2,1) 0ms,box-shadow .25s cubic-bezier(.4,0,.2,1) 0ms,border-color .25s cubic-bezier(.4,0,.2,1) 0ms,color .25s cubic-bezier(.4,0,.2,1) 0ms}.cancel-btn:hover{background:#c5c5c5}.confirm-btn{background:#e01b00!important}.confirm-btn:hover{background:#be1700!important}.text-white{color:#fff}.text-sm{font-size:.875rem;line-height:1.25rem}";function RT({isOpen:t,onClose:e,onConfirm:n}){if(!t)return null;function r(i){var o;((o=i.target)==null?void 0:o.id)==="modal-wrapper"&&e()}return Pe.jsxs(Pe.Fragment,{children:[Pe.jsx("style",{type:"text/css",children:mL}),Pe.jsx("div",{onClick:r,className:"modal-overlay",id:"modal-wrapper",children:Pe.jsxs("div",{className:"modal-container",children:[Pe.jsx("h3",{className:"modal-title",children:Os("components.logoutPage.title",{defaultValue:"Log out"})}),Pe.jsxs("p",{className:"text-sm",children:[" ",Os("components.logoutPage.confirmLogOut",{defaultValue:"Are you sure you want to log out?"})]}),Pe.jsxs("div",{className:"modal-footer",children:[Pe.jsx("button",{className:"modal-button cancel-btn",onClick:e,children:Os("commonElement.button.cancel",{defaultValue:"Cancel"})}),Pe.jsx("button",{onClick:n,className:"text-white confirm-btn modal-button",children:Os("commonElement.button.confirm",{defaultValue:"Comfirm"})})]})]})})]})}const vL=X.memo(({notification:t,notiPath:e,markAllAsReadState:n,brandColors:r,onMark:i,showDetail:o,onToggleDetail:a})=>{var R,U;const[c,f]=X.useState({id:t.id,isRead:t.isRead}),p=c.isRead===!1?"unread":"read",y={borderColor:c.isRead?"#c5c5c5":(r==null?void 0:r.primary500)||mr.primary500,backgroundColor:c.isRead?"#c5c5c5":(r==null?void 0:r.primary500)||mr.primary500},g=()=>{const H=!t.isRead;i&&i(t.id,H,e)};X.useEffect(()=>{f(n?H=>({...H,isRead:!0}):{id:t.id,isRead:t.isRead})},[n,t.id,t.isRead]);const T=()=>{typeof a=="function"&&a()},E=H=>{const ne=Om(),q=Om(H),ie=ne.diff(q,"days"),x=ne.diff(q,"minutes"),le=ne.diff(q,"months"),ae=ne.diff(q,"years");if(console.log("diffInMonths",le),x<1)return"Just now";if(ie===0){if(x<=60)return`${x} minute${x>1?"s":""} ago`;const Ve=Math.floor(x/60);return console.log("diffIhours",Ve),`${Ve} hour${Ve>1?"s":""} ago`}if(ie===1)return"Yesterday";if(ie>=2&&ie<7)return`${ie} days ago`;if(ie<30){const Ve=Math.floor(ie/7);return`${Ve} week${Ve>1?"s":""} ago`}return le===0||le===1?"1 month ago":le<12?`${le} months ago`:ae===0||ae===1?"1 year ago":"Over 1 year ago"},A=t!=null&&t.data?(R=t==null?void 0:t.data)==null?void 0:R.length:0,I=t!=null&&t.contextUrl?"a":"p",j=(H,ne)=>{var q,ie;if((H==null?void 0:H.actionKey)!=null){if((q=H==null?void 0:H.data)!=null&&q.brandName)return Os(`notificationAdmin.notify.actionKey.${H==null?void 0:H.actionKey}`,{defaultValue:`${H==null?void 0:H.message}`,brandName:H.data.brandName});switch(H==null?void 0:H.notificationType){case"deleteMultiple":return H!=null&&H.data&&((ie=H==null?void 0:H.data)==null?void 0:ie.length)>1?Os(`notificationAdmin.notify.actionKey.${H==null?void 0:H.actionKey}_multiple`,{defaultValue:`${H==null?void 0:H.actionKey}`,count:ne}):Os(`notificationAdmin.notify.actionKey.${H==null?void 0:H.actionKey}_single`,{defaultValue:`${H==null?void 0:H.actionKey}`});default:return Os(`notificationAdmin.notify.actionKey.${H==null?void 0:H.actionKey}`,{defaultValue:`${H==null?void 0:H.message}`})}}return H.message};return Pe.jsx(Pe.Fragment,{children:Pe.jsxs("div",{className:"notitification-item__container",children:[Pe.jsx("div",{className:"notification-item__image-container",children:Pe.jsx("img",{src:!t.actorAvatarUrl||t.actorName==="System"?"https://ukpcsaprod.blob.core.windows.net/account/logo.png":t.actorAvatarUrl,onError:({currentTarget:H})=>{console.log("img on error",H),H.onerror=null,H.src="https://ukpcsaprod.blob.core.windows.net/account/logo.png"},alt:t.actorName})}),Pe.jsxs("div",{style:{width:"calc(100% - 56px)"},children:[Pe.jsxs("div",{className:"notification-item__content-wrapper",children:[Pe.jsxs("div",{className:"notification-item__content",children:[Pe.jsx("p",{className:"notification-item__user-name",children:t.actorName}),Pe.jsxs(I,{href:t.contextUrl,style:{cursor:t!=null&&t.contextUrl?"pointer":"unset",textDecoration:"none",color:"inherit"},children:[j(t,A),Pe.jsx("span",{style:{color:t.contextUrl?"#007BFF":"#292929"},children:` ${t!=null&&t.context?t.context:""}`})]}),(t==null?void 0:t.notificationType)==="deleteMultiple"&&Pe.jsxs("button",{style:{color:mr.primary400,textDecoration:"underline"},onClick:T,children:[o?`${Os("notificationAdmin.notify.hideText",{defaultValue:"Hide"})} `:`${Os("notificationAdmin.notify.showText",{defaultValue:"Show"})} `,Os("notificationAdmin.notify.detailText",{defaultValue:"details"})]})]}),Pe.jsx("div",{className:"notification-item__time",children:Pe.jsx("p",{children:E(t.createdAt)})}),Pe.jsx("button",{className:`${p} notification-item__read-at`,"aria-label":"Mark as read",style:y,onClick:g})]}),o&&Pe.jsx("div",{style:{background:"#fff",width:"100%",padding:"8px",fontSize:"12px",marginTop:"8px"},children:Pe.jsx("ul",{children:(U=t==null?void 0:t.data)==null?void 0:U.map((H,ne)=>Pe.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:"4px"},children:[Pe.jsx("span",{style:{backgroundColor:mr.primary400},className:"list-dot"}),Pe.jsx("span",{style:{width:"calc(100% - 12px)"},children:H.name})]},ne))})})]})]})})}),AT=X.createContext({}),yL=({children:t})=>{const[e,n]=X.useState(!1),[r,i]=X.useState({all:{total:0},unread:{total:0}}),o=()=>{n(!e)},a=()=>{n(!1)};return Pe.jsx(AT.Provider,{value:{isOpen:e,toggleOpen:o,setShowModalFalse:a,notidata:r,setNotiData:i},children:t})};function J0(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}function bL(t){var e=t.lastRenderedStartIndex,n=t.lastRenderedStopIndex,r=t.startIndex,i=t.stopIndex;return!(r>n||i<e)}function wL(t){for(var e=t.isItemLoaded,n=t.itemCount,r=t.minimumBatchSize,i=t.startIndex,o=t.stopIndex,a=[],c=null,f=null,p=i;p<=o;p++){var y=e(p);y?f!==null&&(a.push(c,f),c=f=null):(f=p,c===null&&(c=p))}if(f!==null){for(var g=Math.min(Math.max(f,c+r-1),n-1),T=f+1;T<=g&&!e(T);T++)f=T;a.push(c,f)}if(a.length)for(;a[1]-a[0]+1<r&&a[0]>0;){var E=a[0]-1;if(!e(E))a[0]=E;else break}return a}var xL=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},SL=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),TL=function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},Q0=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t},CL=function(t){TL(e,t);function e(){var n,r,i,o;xL(this,e);for(var a=arguments.length,c=Array(a),f=0;f<a;f++)c[f]=arguments[f];return o=(r=(i=Q0(this,(n=e.__proto__||Object.getPrototypeOf(e)).call.apply(n,[this].concat(c))),i),i._lastRenderedStartIndex=-1,i._lastRenderedStopIndex=-1,i._memoizedUnloadedRanges=[],i._onItemsRendered=function(p){var y=p.visibleStartIndex,g=p.visibleStopIndex;process.env.NODE_ENV!=="production"&&((!J0(y)||!J0(g))&&console.warn("Invalid onItemsRendered signature; please refer to InfiniteLoader documentation."),typeof i.props.loadMoreRows=="function"&&console.warn('InfiniteLoader "loadMoreRows" prop has been renamed to "loadMoreItems".')),i._lastRenderedStartIndex=y,i._lastRenderedStopIndex=g,i._ensureRowsLoaded(y,g)},i._setRef=function(p){i._listRef=p},r),Q0(i,o)}return SL(e,[{key:"resetloadMoreItemsCache",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],r&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){process.env.NODE_ENV!=="production"&&this._listRef==null&&console.warn("Invalid list ref; please refer to InfiniteLoader documentation.")}},{key:"render",value:function(){var r=this.props.children;return r({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(r,i){var o=this.props,a=o.isItemLoaded,c=o.itemCount,f=o.minimumBatchSize,p=f===void 0?10:f,y=o.threshold,g=y===void 0?15:y,T=wL({isItemLoaded:a,itemCount:c,minimumBatchSize:p,startIndex:Math.max(0,r-g),stopIndex:Math.min(c-1,i+g)});(this._memoizedUnloadedRanges.length!==T.length||this._memoizedUnloadedRanges.some(function(E,A){return T[A]!==E}))&&(this._memoizedUnloadedRanges=T,this._loadUnloadedRanges(T))}},{key:"_loadUnloadedRanges",value:function(r){for(var i=this,o=this.props.loadMoreItems||this.props.loadMoreRows,a=function(p){var y=r[p],g=r[p+1],T=o(y,g);T!=null&&T.then(function(){if(bL({lastRenderedStartIndex:i._lastRenderedStartIndex,lastRenderedStopIndex:i._lastRenderedStopIndex,startIndex:y,stopIndex:g})){if(i._listRef==null)return;typeof i._listRef.resetAfterIndex=="function"?i._listRef.resetAfterIndex(y,!0):(typeof i._listRef._getItemStyleCache=="function"&&i._listRef._getItemStyleCache(-1),i._listRef.forceUpdate())}})},c=0;c<r.length;c+=2)a(c)}}]),e}(X.PureComponent);function Df(){return Df=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Df.apply(null,arguments)}const EL=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Df}},Symbol.toStringTag,{value:"Module"}));function IT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Xh(t,e)}const kL="*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}";function Uv({children:t,styles:e=[],...n}){return Pe.jsxs("div",{...n,children:[[kL,...e].map((r,i)=>Pe.jsx("style",{type:"text/css",children:r},i)),t]})}function DL(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Wv=DL,PL=typeof ki=="object"&&ki&&ki.Object===Object&&ki,OL=PL,_L=OL,RL=typeof self=="object"&&self&&self.Object===Object&&self,AL=_L||RL||Function("return this")(),MT=AL,IL=MT,ML=function(){return IL.Date.now()},LL=ML,FL=/\s/;function NL(t){for(var e=t.length;e--&&FL.test(t.charAt(e)););return e}var jL=NL,BL=jL,$L=/^\s+/;function VL(t){return t&&t.slice(0,BL(t)+1).replace($L,"")}var HL=VL,UL=MT,WL=UL.Symbol,LT=WL,ew=LT,FT=Object.prototype,zL=FT.hasOwnProperty,YL=FT.toString,rd=ew?ew.toStringTag:void 0;function GL(t){var e=zL.call(t,rd),n=t[rd];try{t[rd]=void 0;var r=!0}catch{}var i=YL.call(t);return r&&(e?t[rd]=n:delete t[rd]),i}var qL=GL,XL=Object.prototype,KL=XL.toString;function ZL(t){return KL.call(t)}var JL=ZL,tw=LT,QL=qL,e2=JL,t2="[object Null]",n2="[object Undefined]",nw=tw?tw.toStringTag:void 0;function r2(t){return t==null?t===void 0?n2:t2:nw&&nw in Object(t)?QL(t):e2(t)}var i2=r2;function o2(t){return t!=null&&typeof t=="object"}var s2=o2,a2=i2,l2=s2,u2="[object Symbol]";function c2(t){return typeof t=="symbol"||l2(t)&&a2(t)==u2}var f2=c2,d2=HL,rw=Wv,h2=f2,iw=NaN,p2=/^[-+]0x[0-9a-f]+$/i,g2=/^0b[01]+$/i,m2=/^0o[0-7]+$/i,v2=parseInt;function y2(t){if(typeof t=="number")return t;if(h2(t))return iw;if(rw(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=rw(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=d2(t);var n=g2.test(t);return n||m2.test(t)?v2(t.slice(2),n?2:8):p2.test(t)?iw:+t}var b2=y2,w2=Wv,Pg=LL,ow=b2,x2="Expected a function",S2=Math.max,T2=Math.min;function C2(t,e,n){var r,i,o,a,c,f,p=0,y=!1,g=!1,T=!0;if(typeof t!="function")throw new TypeError(x2);e=ow(e)||0,w2(n)&&(y=!!n.leading,g="maxWait"in n,o=g?S2(ow(n.maxWait)||0,e):o,T="trailing"in n?!!n.trailing:T);function E(ie){var x=r,le=i;return r=i=void 0,p=ie,a=t.apply(le,x),a}function A(ie){return p=ie,c=setTimeout(R,e),y?E(ie):a}function I(ie){var x=ie-f,le=ie-p,ae=e-x;return g?T2(ae,o-le):ae}function j(ie){var x=ie-f,le=ie-p;return f===void 0||x>=e||x<0||g&&le>=o}function R(){var ie=Pg();if(j(ie))return U(ie);c=setTimeout(R,I(ie))}function U(ie){return c=void 0,T&&r?E(ie):(r=i=void 0,a)}function H(){c!==void 0&&clearTimeout(c),p=0,r=f=i=c=void 0}function ne(){return c===void 0?a:U(Pg())}function q(){var ie=Pg(),x=j(ie);if(r=arguments,i=this,f=ie,x){if(c===void 0)return A(f);if(g)return clearTimeout(c),c=setTimeout(R,e),E(f)}return c===void 0&&(c=setTimeout(R,e)),a}return q.cancel=H,q.flush=ne,q}var NT=C2;const Og=Eu(NT);var E2=NT,k2=Wv,D2="Expected a function";function P2(t,e,n){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(D2);return k2(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),E2(t,e,{leading:r,maxWait:e,trailing:i})}var O2=P2;const _2=Eu(O2);var pf=function(){return pf=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},pf.apply(this,arguments)};function jT(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function BT(t){return!t||!t.ownerDocument?document:t.ownerDocument}var $T=function(t){var e={},n=Array.prototype.reduce.call(t,function(r,i){var o=i.name.match(/data-simplebar-(.+)/);if(o){var a=o[1].replace(/\W+(.)/g,function(c,f){return f.toUpperCase()});switch(i.value){case"true":r[a]=!0;break;case"false":r[a]=!1;break;case void 0:r[a]=!0;break;default:r[a]=i.value}}return r},e);return n};function VT(t,e){var n;t&&(n=t.classList).add.apply(n,e.split(" "))}function HT(t,e){t&&e.split(" ").forEach(function(n){t.classList.remove(n)})}function UT(t){return".".concat(t.split(" ").join("."))}var zv=!!(typeof window<"u"&&window.document&&window.document.createElement),R2=Object.freeze({__proto__:null,addClasses:VT,canUseDOM:zv,classNamesToQuery:UT,getElementDocument:BT,getElementWindow:jT,getOptions:$T,removeClasses:HT}),df=null,sw=null;zv&&window.addEventListener("resize",function(){sw!==window.devicePixelRatio&&(sw=window.devicePixelRatio,df=null)});function aw(){if(df===null){if(typeof document>"u")return df=0,df;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var n=e.getBoundingClientRect().right;t.removeChild(e),df=n}return df}var iu=jT,_g=BT,A2=$T,ou=VT,su=HT,Oo=UT,id=function(){function t(e,n){n===void 0&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var i=iu(r.el);r.scrollXTicking||(i.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(i.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,ou(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){su(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(ou(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){su(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(i){r.mouseX=i.clientX,r.mouseY=i.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(i){if(!(!r.axis.x.track.el||!r.axis.y.track.el||!r.axis.x.scrollbar.el||!r.axis.y.scrollbar.el)){var o,a;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(o=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(a=r.isWithinBounds(r.axis.y.track.rect)),(o||a)&&(i.stopPropagation(),i.type==="pointerdown"&&i.pointerType!=="touch"&&(o&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(i,"x"):r.onTrackClick(i,"x")),a&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(i,"y"):r.onTrackClick(i,"y"))))}},this.drag=function(i){var o,a,c,f,p,y,g,T,E,A,I;if(!(!r.draggedAxis||!r.contentWrapperEl)){var j,R=r.axis[r.draggedAxis].track,U=(a=(o=R.rect)===null||o===void 0?void 0:o[r.axis[r.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,H=r.axis[r.draggedAxis].scrollbar,ne=(f=(c=r.contentWrapperEl)===null||c===void 0?void 0:c[r.axis[r.draggedAxis].scrollSizeAttr])!==null&&f!==void 0?f:0,q=parseInt((y=(p=r.elStyles)===null||p===void 0?void 0:p[r.axis[r.draggedAxis].sizeAttr])!==null&&y!==void 0?y:"0px",10);i.preventDefault(),i.stopPropagation(),r.draggedAxis==="y"?j=i.pageY:j=i.pageX;var ie=j-((T=(g=R.rect)===null||g===void 0?void 0:g[r.axis[r.draggedAxis].offsetAttr])!==null&&T!==void 0?T:0)-r.axis[r.draggedAxis].dragOffset;ie=r.draggedAxis==="x"&&r.isRtl?((A=(E=R.rect)===null||E===void 0?void 0:E[r.axis[r.draggedAxis].sizeAttr])!==null&&A!==void 0?A:0)-H.size-ie:ie;var x=ie/(U-H.size),le=x*(ne-q);r.draggedAxis==="x"&&r.isRtl&&(le=!((I=t.getRtlHelpers())===null||I===void 0)&&I.isScrollingToNegative?-le:le),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=le}},this.onEndDrag=function(i){r.isDragging=!1;var o=_g(r.el),a=iu(r.el);i.preventDefault(),i.stopPropagation(),su(r.el,r.classNames.dragging),r.onStopScrolling(),o.removeEventListener("mousemove",r.drag,!0),o.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=a.setTimeout(function(){o.removeEventListener("click",r.preventClick,!0),o.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(i){i.preventDefault(),i.stopPropagation()},this.el=e,this.options=pf(pf({},t.defaultOptions),n),this.classNames=pf(pf({},t.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=_2(this._onMouseMove,64),this.onWindowResize=Og(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Og(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Og(this._onMouseEntered,this.stopScrollDelay),this.init()}return t.getRtlHelpers=function(){if(t.rtlHelpers)return t.rtlHelpers;var e=document.createElement("div");e.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=e.firstElementChild,r=n==null?void 0:n.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var i=t.getOffset(n),o=t.getOffset(r);n.scrollLeft=-999;var a=t.getOffset(r);return document.body.removeChild(n),t.rtlHelpers={isScrollOriginAtZero:i.left!==o.left,isScrollingToNegative:o.left!==a.left},t.rtlHelpers},t.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:aw()}catch{return aw()}},t.getOffset=function(e){var n=e.getBoundingClientRect(),r=_g(e),i=iu(e);return{top:n.top+(i.pageYOffset||r.documentElement.scrollTop),left:n.left+(i.pageXOffset||r.documentElement.scrollLeft)}},t.prototype.init=function(){zv&&(this.initDOM(),this.rtlHelpers=t.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.prototype.initDOM=function(){var e,n;this.wrapperEl=this.el.querySelector(Oo(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Oo(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Oo(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Oo(this.classNames.offset)),this.maskEl=this.el.querySelector(Oo(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Oo(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Oo(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Oo(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Oo(this.classNames.track)).concat(Oo(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Oo(this.classNames.track)).concat(Oo(this.classNames.vertical))),this.axis.x.scrollbar.el=((e=this.axis.x.track.el)===null||e===void 0?void 0:e.querySelector(Oo(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(Oo(this.classNames.scrollbar)))||null,this.options.autoHide||(ou(this.axis.x.scrollbar.el,this.classNames.visible),ou(this.axis.y.scrollbar.el,this.classNames.visible))},t.prototype.initListeners=function(){var e=this,n,r=iu(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),r.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var i=!1,o=r.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){i&&r.requestAnimationFrame(function(){e.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),r.requestAnimationFrame(function(){i=!0})}this.mutationObserver=new r.MutationObserver(function(){r.requestAnimationFrame(function(){e.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},t.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var e=iu(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,r=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1||n>0,o=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var f=this.contentEl.scrollHeight,p=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=r?"auto":"100%",this.placeholderEl.style.width=i?"".concat(n||p,"px"):"auto",this.placeholderEl.style.height="".concat(f,"px");var y=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&p>n,this.axis.y.isOverflowing=f>y,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,T=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&p>o-T,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&f>y-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},t.prototype.getScrollbarSize=function(e){var n,r;if(e===void 0&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var i=this.contentEl[this.axis[e].scrollSizeAttr],o=(r=(n=this.axis[e].track.el)===null||n===void 0?void 0:n[this.axis[e].offsetSizeAttr])!==null&&r!==void 0?r:0,a=o/i,c;return c=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},t.prototype.positionScrollbar=function(e){var n,r,i;e===void 0&&(e="y");var o=this.axis[e].scrollbar;if(!(!this.axis[e].isOverflowing||!this.contentWrapperEl||!o.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[e].scrollSizeAttr],c=((n=this.axis[e].track.el)===null||n===void 0?void 0:n[this.axis[e].offsetSizeAttr])||0,f=parseInt(this.elStyles[this.axis[e].sizeAttr],10),p=this.contentWrapperEl[this.axis[e].scrollOffsetAttr];p=e==="x"&&this.isRtl&&(!((r=t.getRtlHelpers())===null||r===void 0)&&r.isScrollOriginAtZero)?-p:p,e==="x"&&this.isRtl&&(p=!((i=t.getRtlHelpers())===null||i===void 0)&&i.isScrollingToNegative?p:-p);var y=p/(a-f),g=~~((c-o.size)*y);g=e==="x"&&this.isRtl?-g+(c-o.size):g,o.el.style.transform=e==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},t.prototype.toggleTrackVisibility=function(e){e===void 0&&(e="y");var n=this.axis[e].track.el,r=this.axis[e].scrollbar.el;!n||!r||!this.contentWrapperEl||(this.axis[e].isOverflowing||this.axis[e].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?r.style.display="block":r.style.display="none")},t.prototype.showScrollbar=function(e){e===void 0&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(ou(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},t.prototype.hideScrollbar=function(e){e===void 0&&(e="y"),!this.isDragging&&this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(su(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},t.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},t.prototype.onMouseMoveForAxis=function(e){e===void 0&&(e="y");var n=this.axis[e];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(e),ou(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?ou(n.scrollbar.el,this.classNames.hover):su(n.scrollbar.el,this.classNames.hover)):(su(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},t.prototype.onMouseLeaveForAxis=function(e){e===void 0&&(e="y"),su(this.axis[e].track.el,this.classNames.hover),su(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},t.prototype.onDragStart=function(e,n){var r;n===void 0&&(n="y"),this.isDragging=!0;var i=_g(this.el),o=iu(this.el),a=this.axis[n].scrollbar,c=n==="y"?e.pageY:e.pageX;this.axis[n].dragOffset=c-(((r=a.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])||0),this.draggedAxis=n,ou(this.el,this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.prototype.onTrackClick=function(e,n){var r=this,i,o,a,c;n===void 0&&(n="y");var f=this.axis[n];if(!(!this.options.clickOnTrack||!f.scrollbar.el||!this.contentWrapperEl)){e.preventDefault();var p=iu(this.el);this.axis[n].scrollbar.rect=f.scrollbar.el.getBoundingClientRect();var y=this.axis[n].scrollbar,g=(o=(i=y.rect)===null||i===void 0?void 0:i[this.axis[n].offsetAttr])!==null&&o!==void 0?o:0,T=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),E=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],A=n==="y"?this.mouseY-g:this.mouseX-g,I=A<0?-1:1,j=I===-1?E-T:E+T,R=40,U=function(){r.contentWrapperEl&&(I===-1?E>j&&(E-=R,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=E,p.requestAnimationFrame(U)):E<j&&(E+=R,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=E,p.requestAnimationFrame(U)))};U()}},t.prototype.getContentElement=function(){return this.contentEl},t.prototype.getScrollElement=function(){return this.contentWrapperEl},t.prototype.removeListeners=function(){var e=iu(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},t.prototype.unMount=function(){this.removeListeners()},t.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.prototype.findChild=function(e,n){var r=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(i){return r.call(i,n)})[0]},t.rtlHelpers=null,t.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},t.getOptions=A2,t.helpers=R2,t}(),Ko=function(){return Ko=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ko.apply(this,arguments)};function I2(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}var Yv=kn.forwardRef(function(t,e){var n=t.children,r=t.scrollableNodeProps,i=r===void 0?{}:r,o=I2(t,["children","scrollableNodeProps"]),a=kn.useRef(),c=kn.useRef(),f=kn.useRef(),p={},y={};Object.keys(o).forEach(function(E){Object.prototype.hasOwnProperty.call(id.defaultOptions,E)?p[E]=o[E]:y[E]=o[E]});var g=Ko(Ko({},id.defaultOptions.classNames),p.classNames),T=Ko(Ko({},i),{className:"".concat(g.contentWrapper).concat(i.className?" ".concat(i.className):""),tabIndex:p.tabIndex||id.defaultOptions.tabIndex,role:"region","aria-label":p.ariaLabel||id.defaultOptions.ariaLabel});return kn.useEffect(function(){var E;return c.current=T.ref?T.ref.current:c.current,a.current&&(E=new id(a.current,Ko(Ko(Ko({},p),c.current&&{scrollableNode:c.current}),f.current&&{contentNode:f.current})),typeof e=="function"?e(E):e&&(e.current=E)),function(){E==null||E.unMount(),E=null,typeof e=="function"&&e(null)}},[]),kn.createElement("div",Ko({"data-simplebar":"init",ref:a},y),kn.createElement("div",{className:g.wrapper},kn.createElement("div",{className:g.heightAutoObserverWrapperEl},kn.createElement("div",{className:g.heightAutoObserverEl})),kn.createElement("div",{className:g.mask},kn.createElement("div",{className:g.offset},typeof n=="function"?n({scrollableNodeRef:c,scrollableNodeProps:Ko(Ko({},T),{ref:c}),contentNodeRef:f,contentNodeProps:{className:g.contentEl,ref:f}}):kn.createElement("div",Ko({},T),kn.createElement("div",{className:g.contentEl},n)))),kn.createElement("div",{className:g.placeholder})),kn.createElement("div",{className:"".concat(g.track," simplebar-horizontal")},kn.createElement("div",{className:g.scrollbar})),kn.createElement("div",{className:"".concat(g.track," simplebar-vertical")},kn.createElement("div",{className:g.scrollbar})))});Yv.displayName="SimpleBar";const WT='[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}';function zT(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(n=zT(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function wl(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=zT(t))&&(r&&(r+=" "),r+=e);return r}const _d=t=>typeof t=="number"&&!isNaN(t),xc=t=>typeof t=="string",Zo=t=>typeof t=="function",Fh=t=>xc(t)||Zo(t)?t:null,Fm=t=>X.isValidElement(t)||xc(t)||Zo(t)||_d(t);function M2(t,e,n){n===void 0&&(n=300);const{scrollHeight:r,style:i}=t;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(e,n)})})}function Dp(t){let{enter:e,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:o=300}=t;return function(a){let{children:c,position:f,preventExitTransition:p,done:y,nodeRef:g,isIn:T,playToast:E}=a;const A=r?`${e}--${f}`:e,I=r?`${n}--${f}`:n,j=X.useRef(0);return X.useLayoutEffect(()=>{const R=g.current,U=A.split(" "),H=ne=>{ne.target===g.current&&(E(),R.removeEventListener("animationend",H),R.removeEventListener("animationcancel",H),j.current===0&&ne.type!=="animationcancel"&&R.classList.remove(...U))};R.classList.add(...U),R.addEventListener("animationend",H),R.addEventListener("animationcancel",H)},[]),X.useEffect(()=>{const R=g.current,U=()=>{R.removeEventListener("animationend",U),i?M2(R,y,o):y()};T||(p?U():(j.current=1,R.className+=` ${I}`,R.addEventListener("animationend",U)))},[T]),X.createElement(X.Fragment,null,c)}}function lw(t,e){return t!=null?{content:t.content,containerId:t.props.containerId,id:t.props.toastId,theme:t.props.theme,type:t.props.type,data:t.props.data||{},isLoading:t.props.isLoading,icon:t.props.icon,status:e}:{}}const oo=new Map;let Rd=[];const Nm=new Set,L2=t=>Nm.forEach(e=>e(t)),YT=()=>oo.size>0;function GT(t,e){var n;if(e)return!((n=oo.get(e))==null||!n.isToastActive(t));let r=!1;return oo.forEach(i=>{i.isToastActive(t)&&(r=!0)}),r}function qT(t,e){Fm(t)&&(YT()||Rd.push({content:t,options:e}),oo.forEach(n=>{n.buildToast(t,e)}))}function uw(t,e){oo.forEach(n=>{e!=null&&e!=null&&e.containerId?(e==null?void 0:e.containerId)===n.id&&n.toggle(t,e==null?void 0:e.id):n.toggle(t,e==null?void 0:e.id)})}function F2(t){const{subscribe:e,getSnapshot:n,setProps:r}=X.useRef(function(o){const a=o.containerId||1;return{subscribe(c){const f=function(y,g,T){let E=1,A=0,I=[],j=[],R=[],U=g;const H=new Map,ne=new Set,q=()=>{R=Array.from(H.values()),ne.forEach(le=>le())},ie=le=>{j=le==null?[]:j.filter(ae=>ae!==le),q()},x=le=>{const{toastId:ae,onOpen:Ve,updateId:tt,children:Qe}=le.props,qe=tt==null;le.staleId&&H.delete(le.staleId),H.set(ae,le),j=[...j,le.props.toastId].filter(Oe=>Oe!==le.staleId),q(),T(lw(le,qe?"added":"updated")),qe&&Zo(Ve)&&Ve(X.isValidElement(Qe)&&Qe.props)};return{id:y,props:U,observe:le=>(ne.add(le),()=>ne.delete(le)),toggle:(le,ae)=>{H.forEach(Ve=>{ae!=null&&ae!==Ve.props.toastId||Zo(Ve.toggle)&&Ve.toggle(le)})},removeToast:ie,toasts:H,clearQueue:()=>{A-=I.length,I=[]},buildToast:(le,ae)=>{if((Ne=>{let{containerId:We,toastId:Be,updateId:ze}=Ne;const Ke=We?We!==y:y!==1,ot=H.has(Be)&&ze==null;return Ke||ot})(ae))return;const{toastId:Ve,updateId:tt,data:Qe,staleId:qe,delay:Oe}=ae,ue=()=>{ie(Ve)},ve=tt==null;ve&&A++;const ke={...U,style:U.toastStyle,key:E++,...Object.fromEntries(Object.entries(ae).filter(Ne=>{let[We,Be]=Ne;return Be!=null})),toastId:Ve,updateId:tt,data:Qe,closeToast:ue,isIn:!1,className:Fh(ae.className||U.toastClassName),bodyClassName:Fh(ae.bodyClassName||U.bodyClassName),progressClassName:Fh(ae.progressClassName||U.progressClassName),autoClose:!ae.isLoading&&(Le=ae.autoClose,et=U.autoClose,Le===!1||_d(Le)&&Le>0?Le:et),deleteToast(){const Ne=H.get(Ve),{onClose:We,children:Be}=Ne.props;Zo(We)&&We(X.isValidElement(Be)&&Be.props),T(lw(Ne,"removed")),H.delete(Ve),A--,A<0&&(A=0),I.length>0?x(I.shift()):q()}};var Le,et;ke.closeButton=U.closeButton,ae.closeButton===!1||Fm(ae.closeButton)?ke.closeButton=ae.closeButton:ae.closeButton===!0&&(ke.closeButton=!Fm(U.closeButton)||U.closeButton);let ge=le;X.isValidElement(le)&&!xc(le.type)?ge=X.cloneElement(le,{closeToast:ue,toastProps:ke,data:Qe}):Zo(le)&&(ge=le({closeToast:ue,toastProps:ke,data:Qe}));const Se={content:ge,props:ke,staleId:qe};U.limit&&U.limit>0&&A>U.limit&&ve?I.push(Se):_d(Oe)?setTimeout(()=>{x(Se)},Oe):x(Se)},setProps(le){U=le},setToggle:(le,ae)=>{H.get(le).toggle=ae},isToastActive:le=>j.some(ae=>ae===le),getSnapshot:()=>R}}(a,o,L2);oo.set(a,f);const p=f.observe(c);return Rd.forEach(y=>qT(y.content,y.options)),Rd=[],()=>{p(),oo.delete(a)}},setProps(c){var f;(f=oo.get(a))==null||f.setProps(c)},getSnapshot(){var c;return(c=oo.get(a))==null?void 0:c.getSnapshot()}}}(t)).current;r(t);const i=X.useSyncExternalStore(e,n,n);return{getToastToRender:function(o){if(!i)return[];const a=new Map;return t.newestOnTop&&i.reverse(),i.forEach(c=>{const{position:f}=c.props;a.has(f)||a.set(f,[]),a.get(f).push(c)}),Array.from(a,c=>o(c[0],c[1]))},isToastActive:GT,count:i==null?void 0:i.length}}function N2(t){const[e,n]=X.useState(!1),[r,i]=X.useState(!1),o=X.useRef(null),a=X.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:c,pauseOnHover:f,closeToast:p,onClick:y,closeOnClick:g}=t;var T,E;function A(){n(!0)}function I(){n(!1)}function j(H){const ne=o.current;a.canDrag&&ne&&(a.didMove=!0,e&&I(),a.delta=t.draggableDirection==="x"?H.clientX-a.start:H.clientY-a.start,a.start!==H.clientX&&(a.canCloseOnClick=!1),ne.style.transform=`translate3d(${t.draggableDirection==="x"?`${a.delta}px, var(--y)`:`0, calc(${a.delta}px + var(--y))`},0)`,ne.style.opacity=""+(1-Math.abs(a.delta/a.removalDistance)))}function R(){document.removeEventListener("pointermove",j),document.removeEventListener("pointerup",R);const H=o.current;if(a.canDrag&&a.didMove&&H){if(a.canDrag=!1,Math.abs(a.delta)>a.removalDistance)return i(!0),t.closeToast(),void t.collapseAll();H.style.transition="transform 0.2s, opacity 0.2s",H.style.removeProperty("transform"),H.style.removeProperty("opacity")}}(E=oo.get((T={id:t.toastId,containerId:t.containerId,fn:n}).containerId||1))==null||E.setToggle(T.id,T.fn),X.useEffect(()=>{if(t.pauseOnFocusLoss)return document.hasFocus()||I(),window.addEventListener("focus",A),window.addEventListener("blur",I),()=>{window.removeEventListener("focus",A),window.removeEventListener("blur",I)}},[t.pauseOnFocusLoss]);const U={onPointerDown:function(H){if(t.draggable===!0||t.draggable===H.pointerType){a.didMove=!1,document.addEventListener("pointermove",j),document.addEventListener("pointerup",R);const ne=o.current;a.canCloseOnClick=!0,a.canDrag=!0,ne.style.transition="none",t.draggableDirection==="x"?(a.start=H.clientX,a.removalDistance=ne.offsetWidth*(t.draggablePercent/100)):(a.start=H.clientY,a.removalDistance=ne.offsetHeight*(t.draggablePercent===80?1.5*t.draggablePercent:t.draggablePercent)/100)}},onPointerUp:function(H){const{top:ne,bottom:q,left:ie,right:x}=o.current.getBoundingClientRect();H.nativeEvent.type!=="touchend"&&t.pauseOnHover&&H.clientX>=ie&&H.clientX<=x&&H.clientY>=ne&&H.clientY<=q?I():A()}};return c&&f&&(U.onMouseEnter=I,t.stacked||(U.onMouseLeave=A)),g&&(U.onClick=H=>{y&&y(H),a.canCloseOnClick&&p()}),{playToast:A,pauseToast:I,isRunning:e,preventExitTransition:r,toastRef:o,eventHandlers:U}}function j2(t){let{delay:e,isRunning:n,closeToast:r,type:i="default",hide:o,className:a,style:c,controlledProgress:f,progress:p,rtl:y,isIn:g,theme:T}=t;const E=o||f&&p===0,A={...c,animationDuration:`${e}ms`,animationPlayState:n?"running":"paused"};f&&(A.transform=`scaleX(${p})`);const I=wl("Toastify__progress-bar",f?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${T}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":y}),j=Zo(a)?a({rtl:y,type:i,defaultClassName:I}):wl(I,a),R={[f&&p>=1?"onTransitionEnd":"onAnimationEnd"]:f&&p<1?null:()=>{g&&r()}};return X.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":E},X.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${T} Toastify__progress-bar--${i}`}),X.createElement("div",{role:"progressbar","aria-hidden":E?"true":"false","aria-label":"notification timer",className:j,style:A,...R}))}let B2=1;const XT=()=>""+B2++;function $2(t){return t&&(xc(t.toastId)||_d(t.toastId))?t.toastId:XT()}function md(t,e){return qT(t,e),e.toastId}function np(t,e){return{...e,type:e&&e.type||t,toastId:$2(e)}}function mh(t){return(e,n)=>md(e,np(t,n))}function xn(t,e){return md(t,np("default",e))}xn.loading=(t,e)=>md(t,np("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...e})),xn.promise=function(t,e,n){let r,{pending:i,error:o,success:a}=e;i&&(r=xc(i)?xn.loading(i,n):xn.loading(i.render,{...n,...i}));const c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},f=(y,g,T)=>{if(g==null)return void xn.dismiss(r);const E={type:y,...c,...n,data:T},A=xc(g)?{render:g}:g;return r?xn.update(r,{...E,...A}):xn(A.render,{...E,...A}),T},p=Zo(t)?t():t;return p.then(y=>f("success",a,y)).catch(y=>f("error",o,y)),p},xn.success=mh("success"),xn.info=mh("info"),xn.error=mh("error"),xn.warning=mh("warning"),xn.warn=xn.warning,xn.dark=(t,e)=>md(t,np("default",{theme:"dark",...e})),xn.dismiss=function(t){(function(e){var n;if(YT()){if(e==null||xc(n=e)||_d(n))oo.forEach(r=>{r.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){const r=oo.get(e.containerId);r?r.removeToast(e.id):oo.forEach(i=>{i.removeToast(e.id)})}}else Rd=Rd.filter(r=>e!=null&&r.options.toastId!==e)})(t)},xn.clearWaitingQueue=function(t){t===void 0&&(t={}),oo.forEach(e=>{!e.props.limit||t.containerId&&e.id!==t.containerId||e.clearQueue()})},xn.isActive=GT,xn.update=function(t,e){e===void 0&&(e={});const n=((r,i)=>{var o;let{containerId:a}=i;return(o=oo.get(a||1))==null?void 0:o.toasts.get(r)})(t,e);if(n){const{props:r,content:i}=n,o={delay:100,...r,...e,toastId:e.toastId||t,updateId:XT()};o.toastId!==t&&(o.staleId=t);const a=o.render||i;delete o.render,md(a,o)}},xn.done=t=>{xn.update(t,{progress:1})},xn.onChange=function(t){return Nm.add(t),()=>{Nm.delete(t)}},xn.play=t=>uw(!0,t),xn.pause=t=>uw(!1,t);const V2=typeof window<"u"?X.useLayoutEffect:X.useEffect,vh=t=>{let{theme:e,type:n,isLoading:r,...i}=t;return X.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...i})},Rg={info:function(t){return X.createElement(vh,{...t},X.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return X.createElement(vh,{...t},X.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return X.createElement(vh,{...t},X.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return X.createElement(vh,{...t},X.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return X.createElement("div",{className:"Toastify__spinner"})}},H2=t=>{const{isRunning:e,preventExitTransition:n,toastRef:r,eventHandlers:i,playToast:o}=N2(t),{closeButton:a,children:c,autoClose:f,onClick:p,type:y,hideProgressBar:g,closeToast:T,transition:E,position:A,className:I,style:j,bodyClassName:R,bodyStyle:U,progressClassName:H,progressStyle:ne,updateId:q,role:ie,progress:x,rtl:le,toastId:ae,deleteToast:Ve,isIn:tt,isLoading:Qe,closeOnClick:qe,theme:Oe}=t,ue=wl("Toastify__toast",`Toastify__toast-theme--${Oe}`,`Toastify__toast--${y}`,{"Toastify__toast--rtl":le},{"Toastify__toast--close-on-click":qe}),ve=Zo(I)?I({rtl:le,position:A,type:y,defaultClassName:ue}):wl(ue,I),ke=function(Se){let{theme:Ne,type:We,isLoading:Be,icon:ze}=Se,Ke=null;const ot={theme:Ne,type:We};return ze===!1||(Zo(ze)?Ke=ze({...ot,isLoading:Be}):X.isValidElement(ze)?Ke=X.cloneElement(ze,ot):Be?Ke=Rg.spinner():(ct=>ct in Rg)(We)&&(Ke=Rg[We](ot))),Ke}(t),Le=!!x||!f,et={closeToast:T,type:y,theme:Oe};let ge=null;return a===!1||(ge=Zo(a)?a(et):X.isValidElement(a)?X.cloneElement(a,et):function(Se){let{closeToast:Ne,theme:We,ariaLabel:Be="close"}=Se;return X.createElement("button",{className:`Toastify__close-button Toastify__close-button--${We}`,type:"button",onClick:ze=>{ze.stopPropagation(),Ne(ze)},"aria-label":Be},X.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},X.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(et)),X.createElement(E,{isIn:tt,done:Ve,position:A,preventExitTransition:n,nodeRef:r,playToast:o},X.createElement("div",{id:ae,onClick:p,"data-in":tt,className:ve,...i,style:j,ref:r},X.createElement("div",{...tt&&{role:ie},className:Zo(R)?R({type:y}):wl("Toastify__toast-body",R),style:U},ke!=null&&X.createElement("div",{className:wl("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!Qe})},ke),X.createElement("div",null,c)),ge,X.createElement(j2,{...q&&!Le?{key:`pb-${q}`}:{},rtl:le,theme:Oe,delay:f,isRunning:e,isIn:tt,closeToast:T,hide:g,type:y,style:ne,className:H,controlledProgress:Le,progress:x||0})))},Pp=function(t,e){return e===void 0&&(e=!1),{enter:`Toastify--animate Toastify__${t}-enter`,exit:`Toastify--animate Toastify__${t}-exit`,appendPosition:e}},U2=Dp(Pp("bounce",!0));Dp(Pp("slide",!0));Dp(Pp("zoom"));Dp(Pp("flip"));const W2={position:"top-right",transition:U2,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function z2(t){let e={...W2,...t};const n=t.stacked,[r,i]=X.useState(!0),o=X.useRef(null),{getToastToRender:a,isToastActive:c,count:f}=F2(e),{className:p,style:y,rtl:g,containerId:T}=e;function E(I){const j=wl("Toastify__toast-container",`Toastify__toast-container--${I}`,{"Toastify__toast-container--rtl":g});return Zo(p)?p({position:I,rtl:g,defaultClassName:j}):wl(j,Fh(p))}function A(){n&&(i(!0),xn.play())}return V2(()=>{if(n){var I;const j=o.current.querySelectorAll('[data-in="true"]'),R=12,U=(I=e.position)==null?void 0:I.includes("top");let H=0,ne=0;Array.from(j).reverse().forEach((q,ie)=>{const x=q;x.classList.add("Toastify__toast--stacked"),ie>0&&(x.dataset.collapsed=`${r}`),x.dataset.pos||(x.dataset.pos=U?"top":"bot");const le=H*(r?.2:1)+(r?0:R*ie);x.style.setProperty("--y",`${U?le:-1*le}px`),x.style.setProperty("--g",`${R}`),x.style.setProperty("--s",""+(1-(r?ne:0))),H+=x.offsetHeight,ne+=.025})}},[r,f,n]),X.createElement("div",{ref:o,className:"Toastify",id:T,onMouseEnter:()=>{n&&(i(!1),xn.pause())},onMouseLeave:A},a((I,j)=>{const R=j.length?{...y}:{...y,pointerEvents:"none"};return X.createElement("div",{className:E(I),style:R,key:`container-${I}`},j.map(U=>{let{content:H,props:ne}=U;return X.createElement(H2,{...ne,stacked:n,collapseAll:A,isIn:c(ne.toastId,ne.containerId),style:ne.style,key:`toast-${ne.key}`},H)}))}))}function Y2(){return Pe.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Pe.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 1C16.5222 1 21 5.47676 21 11C21 16.5222 16.5222 21 11 21C5.47676 21 1 16.5222 1 11C1 5.47676 5.47676 1 11 1Z",stroke:"#E01B00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Pe.jsx("path",{d:"M10.9942 6.89636V11.6737",stroke:"#E01B00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Pe.jsx("path",{d:"M10.9941 15.1038H11.0049",stroke:"#E01B00",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function G2(){return Pe.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Pe.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#009D4F"}),Pe.jsx("path",{d:"M7.25244 12L10.4174 15.165L16.7474 8.83496",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function q2(){return Pe.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Pe.jsx("path",{d:"M12 7.73684V13.4211M12 21C7.69215 21 5.53823 21 4.29308 20.0953C3.20701 19.3063 2.50676 18.0934 2.36643 16.7583C2.20555 15.2276 3.28252 13.3623 5.43644 9.63158C7.59036 5.90088 8.66732 4.03553 10.0734 3.40952C11.2998 2.86349 12.7002 2.86349 13.9266 3.40952C15.3327 4.03553 16.4096 5.90088 18.5636 9.63158C20.7175 13.3623 21.7944 15.2276 21.6336 16.7583C21.4932 18.0934 20.793 19.3063 19.7069 20.0953C18.4618 21 16.3078 21 12 21Z",stroke:"#FFB600","stroke-width":"1.5","stroke-linecap":"round"}),Pe.jsx("path",{d:"M12.9473 16.263C12.9473 16.7863 12.5232 17.2104 12 17.2104C11.4768 17.2104 11.0526 16.7863 11.0526 16.263C11.0526 15.7398 11.4768 15.3157 12 15.3157C12.5232 15.3157 12.9473 15.7398 12.9473 16.263Z",fill:"#FFB600"})]})}const Gv={paddingLeft:"16px",borderLeft:"2px solid",boxShadow:"none",fontFamily:"inherit"},X2=({closeToast:t})=>Pe.jsx("i",{className:"material-icons",onClick:t,style:{cursor:"pointer"},children:Pe.jsx("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Pe.jsx("path",{d:"M7.05086 6.13616C6.66033 5.74563 6.02717 5.74563 5.63664 6.13616C5.24612 6.52668 5.24612 7.15984 5.63664 7.55037L10.5864 12.5001L5.63664 17.4499C5.24612 17.8404 5.24612 18.4736 5.63664 18.8641C6.02717 19.2546 6.66033 19.2546 7.05086 18.8641L12.0006 13.9143L16.9504 18.8641C17.3409 19.2546 17.974 19.2546 18.3646 18.8641C18.7551 18.4736 18.7551 17.8404 18.3646 17.4499L13.4148 12.5001L18.3646 7.55037C18.7551 7.15984 18.7551 6.52668 18.3646 6.13616C17.974 5.74563 17.3409 5.74563 16.9504 6.13616L12.0006 11.0859L7.05086 6.13616Z",fill:"#85858A"})})}),qv=(t,e)=>{xn.success(t,{icon:Pe.jsx(G2,{}),bodyStyle:{},style:{...Gv,background:mr.successLight,borderColor:mr.success,color:mr.success},...e})},zd=(t,e)=>{xn.error(t,{icon:Pe.jsx(Y2,{}),style:{...Gv,background:mr.dangerLight,borderColor:mr.danger,color:mr.danger},...e})},K2=(t,e)=>{xn.error(t,{icon:Pe.jsx(q2,{}),style:{...Gv,background:mr.warningLight,borderColor:mr.warning,color:mr.warning},...e})},Z2=t=>{xn(t,{closeButton:X2,toastId:"notify",position:"top-right",hideProgressBar:!0,containerId:"toastifyNotification",style:{padding:"12px 24px 12px 0",paddingLeft:"16px",fontFamily:"inherit",width:"610px",minHeight:"72px",color:mr.textPrimary}})};function KT(t){let e=null;return()=>(e==null&&(e=t()),e)}function J2(t,e){return t.filter(n=>n!==e)}function Q2(t,e){const n=new Set,r=o=>n.add(o);t.forEach(r),e.forEach(r);const i=[];return n.forEach(o=>i.push(o)),i}class eF{enter(e){const n=this.entered.length,r=i=>this.isNodeInDocument(i)&&(!i.contains||i.contains(e));return this.entered=Q2(this.entered.filter(r),[e]),n===0&&this.entered.length>0}leave(e){const n=this.entered.length;return this.entered=J2(this.entered.filter(this.isNodeInDocument),e),n>0&&this.entered.length===0}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class tF{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get(){return console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null}})})}loadDataTransfer(e){if(e){const n={};Object.keys(this.config.exposeProperties).forEach(r=>{const i=this.config.exposeProperties[r];i!=null&&(n[r]={value:i(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,n)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,n){return n===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}const ZT="__NATIVE_FILE__",JT="__NATIVE_URL__",QT="__NATIVE_TEXT__",eC="__NATIVE_HTML__",cw=Object.freeze(Object.defineProperty({__proto__:null,FILE:ZT,HTML:eC,TEXT:QT,URL:JT},Symbol.toStringTag,{value:"Module"}));function Ag(t,e,n){const r=e.reduce((i,o)=>i||t.getData(o),"");return r??n}const jm={[ZT]:{exposeProperties:{files:t=>Array.prototype.slice.call(t.files),items:t=>t.items,dataTransfer:t=>t},matchesTypes:["Files"]},[eC]:{exposeProperties:{html:(t,e)=>Ag(t,e,""),dataTransfer:t=>t},matchesTypes:["Html","text/html"]},[JT]:{exposeProperties:{urls:(t,e)=>Ag(t,e,"").split(`
|
|
4
4
|
`),dataTransfer:t=>t},matchesTypes:["Url","text/uri-list"]},[QT]:{exposeProperties:{text:(t,e)=>Ag(t,e,""),dataTransfer:t=>t},matchesTypes:["Text","text/plain"]}};function nF(t,e){const n=jm[t];if(!n)throw new Error(`native type ${t} has no configuration`);const r=new tF(n);return r.loadDataTransfer(e),r}function Ig(t){if(!t)return null;const e=Array.prototype.slice.call(t.types||[]);return Object.keys(jm).filter(n=>{const r=jm[n];return r!=null&&r.matchesTypes?r.matchesTypes.some(i=>e.indexOf(i)>-1):!1})[0]||null}const rF=KT(()=>/firefox/i.test(navigator.userAgent)),tC=KT(()=>!!window.safari);class fw{interpolate(e){const{xs:n,ys:r,c1s:i,c2s:o,c3s:a}=this;let c=n.length-1;if(e===n[c])return r[c];let f=0,p=a.length-1,y;for(;f<=p;){y=Math.floor(.5*(f+p));const E=n[y];if(E<e)f=y+1;else if(E>e)p=y-1;else return r[y]}c=Math.max(0,p);const g=e-n[c],T=g*g;return r[c]+i[c]*g+o[c]*T+a[c]*g*T}constructor(e,n){const{length:r}=e,i=[];for(let E=0;E<r;E++)i.push(E);i.sort((E,A)=>e[E]<e[A]?-1:1);const o=[],a=[];let c,f;for(let E=0;E<r-1;E++)c=e[E+1]-e[E],f=n[E+1]-n[E],o.push(c),a.push(f/c);const p=[a[0]];for(let E=0;E<o.length-1;E++){const A=a[E],I=a[E+1];if(A*I<=0)p.push(0);else{c=o[E];const j=o[E+1],R=c+j;p.push(3*R/((R+j)/A+(R+c)/I))}}p.push(a[a.length-1]);const y=[],g=[];let T;for(let E=0;E<p.length-1;E++){T=a[E];const A=p[E],I=1/o[E],j=A+p[E+1]-T-T;y.push((T-A-j)*I),g.push(j*I*I)}this.xs=e,this.ys=n,this.c1s=p,this.c2s=y,this.c3s=g}}const iF=1;function nC(t){const e=t.nodeType===iF?t:t.parentElement;if(!e)return null;const{top:n,left:r}=e.getBoundingClientRect();return{x:r,y:n}}function yh(t){return{x:t.clientX,y:t.clientY}}function oF(t){var e;return t.nodeName==="IMG"&&(rF()||!(!((e=document.documentElement)===null||e===void 0)&&e.contains(t)))}function sF(t,e,n,r){let i=t?e.width:n,o=t?e.height:r;return tC()&&t&&(o/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:o}}function aF(t,e,n,r,i){const o=oF(e),c=nC(o?t:e),f={x:n.x-c.x,y:n.y-c.y},{offsetWidth:p,offsetHeight:y}=t,{anchorX:g,anchorY:T}=r,{dragPreviewWidth:E,dragPreviewHeight:A}=sF(o,e,p,y),I=()=>{let ie=new fw([0,.5,1],[f.y,f.y/y*A,f.y+A-y]).interpolate(T);return tC()&&o&&(ie+=(window.devicePixelRatio-1)*A),ie},j=()=>new fw([0,.5,1],[f.x,f.x/p*E,f.x+E-p]).interpolate(g),{offsetX:R,offsetY:U}=i,H=R===0||R,ne=U===0||U;return{x:H?R:j(),y:ne?U:I()}}let lF=class{get window(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}get document(){var e;return!((e=this.globalContext)===null||e===void 0)&&e.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return((e=this.optionsArgs)===null||e===void 0?void 0:e.rootElement)||this.window}constructor(e,n){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=n}};function uF(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dw(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){uF(t,i,n[i])})}return t}class cF{profile(){var e,n;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((e=this.dragStartSourceIds)===null||e===void 0?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((n=this.dragOverTargetIds)===null||n===void 0?void 0:n.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const e=this.rootElement;if(e!==void 0){if(e.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){const e=this.rootElement;if(e!==void 0&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var n;(n=this.window)===null||n===void 0||n.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(e,n,r){return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,n),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,n,r){this.sourceNodes.set(e,n),this.sourceNodeOptions.set(e,r);const i=a=>this.handleDragStart(a,e),o=a=>this.handleSelectStart(a);return n.setAttribute("draggable","true"),n.addEventListener("dragstart",i),n.addEventListener("selectstart",o),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),n.removeEventListener("dragstart",i),n.removeEventListener("selectstart",o),n.setAttribute("draggable","false")}}connectDropTarget(e,n){const r=a=>this.handleDragEnter(a,e),i=a=>this.handleDragOver(a,e),o=a=>this.handleDrop(a,e);return n.addEventListener("dragenter",r),n.addEventListener("dragover",i),n.addEventListener("drop",o),()=>{n.removeEventListener("dragenter",r),n.removeEventListener("dragover",i),n.removeEventListener("drop",o)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const e=this.monitor.getSourceId(),n=this.sourceNodeOptions.get(e);return dw({dropEffect:this.altKeyPressed?"copy":"move"},n||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const e=this.monitor.getSourceId(),n=this.sourcePreviewNodeOptions.get(e);return dw({anchorX:.5,anchorY:.5,captureDraggingState:!1},n||{})}isDraggingNativeItem(){const e=this.monitor.getItemType();return Object.keys(cw).some(n=>cw[n]===e)}beginDragNativeItem(e,n){this.clearCurrentDragSourceNode(),this.currentNativeSource=nF(e,n),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e;const n=1e3;this.mouseMoveTimeoutTimer=setTimeout(()=>{var r;return(r=this.rootElement)===null||r===void 0?void 0:r.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},n)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;(e=this.window)===null||e===void 0||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,n){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(n))}handleDragEnter(e,n){this.dragEnterTargetIds.unshift(n)}handleDragOver(e,n){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(n)}handleDrop(e,n){this.dropTargetIds.unshift(n)}constructor(e,n,r){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=i=>{const o=this.sourceNodes.get(i);return o&&nC(o)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=i=>!!(i&&this.document&&this.document.body&&this.document.body.contains(i)),this.endDragIfSourceWasRemovedFromDOM=()=>{const i=this.currentDragSourceNode;i==null||this.isNodeInDocument(i)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=i=>{this.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(i||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame<"u"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=i=>{if(i.defaultPrevented)return;const{dragStartSourceIds:o}=this;this.dragStartSourceIds=null;const a=yh(i);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(o||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:a});const{dataTransfer:c}=i,f=Ig(c);if(this.monitor.isDragging()){if(c&&typeof c.setDragImage=="function"){const y=this.monitor.getSourceId(),g=this.sourceNodes.get(y),T=this.sourcePreviewNodes.get(y)||g;if(T){const{anchorX:E,anchorY:A,offsetX:I,offsetY:j}=this.getCurrentSourcePreviewNodeOptions(),H=aF(g,T,a,{anchorX:E,anchorY:A},{offsetX:I,offsetY:j});c.setDragImage(T,H.x,H.y)}}try{c==null||c.setData("application/json",{})}catch{}this.setCurrentDragSourceNode(i.target);const{captureDraggingState:p}=this.getCurrentSourcePreviewNodeOptions();p?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(f)this.beginDragNativeItem(f);else{if(c&&!c.types&&(i.target&&!i.target.hasAttribute||!i.target.hasAttribute("draggable")))return;i.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=i=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var o;(o=this.currentNativeSource)===null||o===void 0||o.loadDataTransfer(i.dataTransfer)}if(!this.enterLeaveCounter.enter(i.target)||this.monitor.isDragging())return;const{dataTransfer:c}=i,f=Ig(c);f&&this.beginDragNativeItem(f,c)},this.handleTopDragEnter=i=>{const{dragEnterTargetIds:o}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=i.altKey,o.length>0&&this.actions.hover(o,{clientOffset:yh(i)}),o.some(c=>this.monitor.canDropOnTarget(c))&&(i.preventDefault(),i.dataTransfer&&(i.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=i=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var o;(o=this.currentNativeSource)===null||o===void 0||o.loadDataTransfer(i.dataTransfer)}},this.handleTopDragOver=i=>{const{dragOverTargetIds:o}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){i.preventDefault(),i.dataTransfer&&(i.dataTransfer.dropEffect="none");return}this.altKeyPressed=i.altKey,this.lastClientOffset=yh(i),this.scheduleHover(o),(o||[]).some(c=>this.monitor.canDropOnTarget(c))?(i.preventDefault(),i.dataTransfer&&(i.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?i.preventDefault():(i.preventDefault(),i.dataTransfer&&(i.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=i=>{this.isDraggingNativeItem()&&i.preventDefault(),this.enterLeaveCounter.leave(i.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=i=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var o;i.preventDefault(),(o=this.currentNativeSource)===null||o===void 0||o.loadDataTransfer(i.dataTransfer)}else Ig(i.dataTransfer)&&i.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=i=>{const{dropTargetIds:o}=this;this.dropTargetIds=[],this.actions.hover(o,{clientOffset:yh(i)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=i=>{const o=i.target;typeof o.dragDrop=="function"&&(o.tagName==="INPUT"||o.tagName==="SELECT"||o.tagName==="TEXTAREA"||o.isContentEditable||(i.preventDefault(),o.dragDrop()))},this.options=new lF(n,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new eF(this.isNodeInDocument)}}let bh;function fF(){return bh||(bh=new Image,bh.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),bh}const rC=function(e,n,r){return new cF(e,n,r)};var Sc=[],dF=function(){return Sc.some(function(t){return t.activeTargets.length>0})},hF=function(){return Sc.some(function(t){return t.skippedTargets.length>0})},hw="ResizeObserver loop completed with undelivered notifications.",pF=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:hw}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=hw),window.dispatchEvent(t)},Ad;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ad||(Ad={}));var Tc=function(t){return Object.freeze(t)},gF=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,Tc(this)}return t}(),iC=function(){function t(e,n,r,i){return this.x=e,this.y=n,this.width=r,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Tc(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,r=e.y,i=e.top,o=e.right,a=e.bottom,c=e.left,f=e.width,p=e.height;return{x:n,y:r,top:i,right:o,bottom:a,left:c,width:f,height:p}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),Xv=function(t){return t instanceof SVGElement&&"getBBox"in t},oC=function(t){if(Xv(t)){var e=t.getBBox(),n=e.width,r=e.height;return!n&&!r}var i=t,o=i.offsetWidth,a=i.offsetHeight;return!(o||a||t.getClientRects().length)},pw=function(t){var e;if(t instanceof Element)return!0;var n=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},mF=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},vd=typeof window<"u"?window:{},wh=new WeakMap,gw=/auto|scroll/,vF=/^tb|vertical/,yF=/msie|trident/i.test(vd.navigator&&vd.navigator.userAgent),La=function(t){return parseFloat(t||"0")},Ef=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new gF((n?e:t)||0,(n?t:e)||0)},mw=Tc({devicePixelContentBoxSize:Ef(),borderBoxSize:Ef(),contentBoxSize:Ef(),contentRect:new iC(0,0,0,0)}),sC=function(t,e){if(e===void 0&&(e=!1),wh.has(t)&&!e)return wh.get(t);if(oC(t))return wh.set(t,mw),mw;var n=getComputedStyle(t),r=Xv(t)&&t.ownerSVGElement&&t.getBBox(),i=!yF&&n.boxSizing==="border-box",o=vF.test(n.writingMode||""),a=!r&&gw.test(n.overflowY||""),c=!r&&gw.test(n.overflowX||""),f=r?0:La(n.paddingTop),p=r?0:La(n.paddingRight),y=r?0:La(n.paddingBottom),g=r?0:La(n.paddingLeft),T=r?0:La(n.borderTopWidth),E=r?0:La(n.borderRightWidth),A=r?0:La(n.borderBottomWidth),I=r?0:La(n.borderLeftWidth),j=g+p,R=f+y,U=I+E,H=T+A,ne=c?t.offsetHeight-H-t.clientHeight:0,q=a?t.offsetWidth-U-t.clientWidth:0,ie=i?j+U:0,x=i?R+H:0,le=r?r.width:La(n.width)-ie-q,ae=r?r.height:La(n.height)-x-ne,Ve=le+j+q+U,tt=ae+R+ne+H,Qe=Tc({devicePixelContentBoxSize:Ef(Math.round(le*devicePixelRatio),Math.round(ae*devicePixelRatio),o),borderBoxSize:Ef(Ve,tt,o),contentBoxSize:Ef(le,ae,o),contentRect:new iC(g,f,le,ae)});return wh.set(t,Qe),Qe},aC=function(t,e,n){var r=sC(t,n),i=r.borderBoxSize,o=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(e){case Ad.DEVICE_PIXEL_CONTENT_BOX:return a;case Ad.BORDER_BOX:return i;default:return o}},bF=function(){function t(e){var n=sC(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=Tc([n.borderBoxSize]),this.contentBoxSize=Tc([n.contentBoxSize]),this.devicePixelContentBoxSize=Tc([n.devicePixelContentBoxSize])}return t}(),lC=function(t){if(oC(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},wF=function(){var t=1/0,e=[];Sc.forEach(function(a){if(a.activeTargets.length!==0){var c=[];a.activeTargets.forEach(function(p){var y=new bF(p.target),g=lC(p.target);c.push(y),p.lastReportedSize=aC(p.target,p.observedBox),g<t&&(t=g)}),e.push(function(){a.callback.call(a.observer,c,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var n=0,r=e;n<r.length;n++){var i=r[n];i()}return t},vw=function(t){Sc.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(i){i.isActive()&&(lC(i.target)>t?n.activeTargets.push(i):n.skippedTargets.push(i))})})},xF=function(){var t=0;for(vw(t);dF();)t=wF(),vw(t);return hF()&&pF(),t>0},Mg,uC=[],SF=function(){return uC.splice(0).forEach(function(t){return t()})},TF=function(t){if(!Mg){var e=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return SF()}).observe(n,r),Mg=function(){n.textContent="".concat(e?e--:e++)}}uC.push(t),Mg()},CF=function(t){TF(function(){requestAnimationFrame(t)})},Nh=0,EF=function(){return!!Nh},kF=250,DF={attributes:!0,characterData:!0,childList:!0,subtree:!0},yw=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],bw=function(t){return t===void 0&&(t=0),Date.now()+t},Lg=!1,PF=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=kF),!Lg){Lg=!0;var r=bw(e);CF(function(){var i=!1;try{i=xF()}finally{if(Lg=!1,e=r-bw(),!EF())return;i?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,DF)};document.body?n():vd.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),yw.forEach(function(n){return vd.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),yw.forEach(function(n){return vd.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),Bm=new PF,ww=function(t){!Nh&&t>0&&Bm.start(),Nh+=t,!Nh&&Bm.stop()},OF=function(t){return!Xv(t)&&!mF(t)&&getComputedStyle(t).display==="inline"},_F=function(){function t(e,n){this.target=e,this.observedBox=n||Ad.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=aC(this.target,this.observedBox,!0);return OF(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),RF=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),xh=new WeakMap,xw=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},Sh=function(){function t(){}return t.connect=function(e,n){var r=new RF(e,n);xh.set(e,r)},t.observe=function(e,n,r){var i=xh.get(e),o=i.observationTargets.length===0;xw(i.observationTargets,n)<0&&(o&&Sc.push(i),i.observationTargets.push(new _F(n,r&&r.box)),ww(1),Bm.schedule())},t.unobserve=function(e,n){var r=xh.get(e),i=xw(r.observationTargets,n),o=r.observationTargets.length===1;i>=0&&(o&&Sc.splice(Sc.indexOf(r),1),r.observationTargets.splice(i,1),ww(-1))},t.disconnect=function(e){var n=this,r=xh.get(e);r.observationTargets.slice().forEach(function(i){return n.unobserve(e,i.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t}(),AF=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Sh.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!pw(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Sh.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!pw(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Sh.unobserve(this,e)},t.prototype.disconnect=function(){Sh.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();const cC=X.createContext({});function IF(t){const e=X.useRef(null);return e.current===null&&(e.current=t()),e.current}const Kv=X.createContext(null),fC=X.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function MF(t=!0){const e=X.useContext(Kv);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=e,o=X.useId();X.useEffect(()=>{t&&i(o)},[t]);const a=X.useCallback(()=>t&&r&&r(o),[o,r,t]);return!n&&r?[!1,a]:[!0]}const Zv=typeof window<"u",LF=Zv?X.useLayoutEffect:X.useEffect,_o=t=>t;let Lf=_o,yu=_o;process.env.NODE_ENV!=="production"&&(Lf=(t,e)=>{!t&&typeof console<"u"&&console.warn(e)},yu=(t,e)=>{if(!t)throw new Error(e)});function Jv(t){let e;return()=>(e===void 0&&(e=t()),e)}const Pf=(t,e,n)=>{const r=e-t;return r===0?1:(n-t)/r},ja=t=>t*1e3,Cl=t=>t/1e3,FF={useManualTiming:!1};function NF(t){let e=new Set,n=new Set,r=!1,i=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function c(p){o.has(p)&&(f.schedule(p),t()),p(a)}const f={schedule:(p,y=!1,g=!1)=>{const E=g&&r?e:n;return y&&o.add(p),E.has(p)||E.add(p),p},cancel:p=>{n.delete(p),o.delete(p)},process:p=>{if(a=p,r){i=!0;return}r=!0,[e,n]=[n,e],e.forEach(c),e.clear(),r=!1,i&&(i=!1,f.process(p))}};return f}const Th=["read","resolveKeyframes","update","preRender","render","postRender"],jF=40;function dC(t,e){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=Th.reduce((R,U)=>(R[U]=NF(o),R),{}),{read:c,resolveKeyframes:f,update:p,preRender:y,render:g,postRender:T}=a,E=()=>{const R=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(R-i.timestamp,jF),1),i.timestamp=R,i.isProcessing=!0,c.process(i),f.process(i),p.process(i),y.process(i),g.process(i),T.process(i),i.isProcessing=!1,n&&e&&(r=!1,t(E))},A=()=>{n=!0,r=!0,i.isProcessing||t(E)};return{schedule:Th.reduce((R,U)=>{const H=a[U];return R[U]=(ne,q=!1,ie=!1)=>(n||A(),H.schedule(ne,q,ie)),R},{}),cancel:R=>{for(let U=0;U<Th.length;U++)a[Th[U]].cancel(R)},state:i,steps:a}}const{schedule:Fn,cancel:bu,state:Ei,steps:Fg}=dC(typeof requestAnimationFrame<"u"?requestAnimationFrame:_o,!0),hC=X.createContext({strict:!1}),Sw={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Of={};for(const t in Sw)Of[t]={isEnabled:e=>Sw[t].some(n=>!!e[n])};function BF(t){for(const e in t)Of[e]={...Of[e],...t[e]}}const $F=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function rp(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||$F.has(t)}let pC=t=>!rp(t);function VF(t){t&&(pC=e=>e.startsWith("on")?!rp(e):t(e))}try{VF(require("@emotion/is-prop-valid").default)}catch{}function HF(t,e,n){const r={};for(const i in t)i==="values"&&typeof t.values=="object"||(pC(i)||n===!0&&rp(i)||!e&&!rp(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}const Tw=new Set;function Op(t,e,n){t||Tw.has(e)||(console.warn(e),Tw.add(e))}function UF(t){if(typeof Proxy>"u")return t;const e=new Map,n=(...r)=>(process.env.NODE_ENV!=="production"&&Op(!1,"motion() is deprecated. Use motion.create() instead."),t(...r));return new Proxy(n,{get:(r,i)=>i==="create"?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}const _p=X.createContext({});function Id(t){return typeof t=="string"||Array.isArray(t)}function Rp(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Qv=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ey=["initial",...Qv];function Ap(t){return Rp(t.animate)||ey.some(e=>Id(t[e]))}function gC(t){return!!(Ap(t)||t.variants)}function WF(t,e){if(Ap(t)){const{initial:n,animate:r}=t;return{initial:n===!1||Id(n)?n:void 0,animate:Id(r)?r:void 0}}return t.inherit!==!1?e:{}}function zF(t){const{initial:e,animate:n}=WF(t,X.useContext(_p));return X.useMemo(()=>({initial:e,animate:n}),[Cw(e),Cw(n)])}function Cw(t){return Array.isArray(t)?t.join(" "):t}const YF=Symbol.for("motionComponentSymbol");function gf(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function GF(t,e,n){return X.useCallback(r=>{r&&t.onMount&&t.onMount(r),e&&(r?e.mount(r):e.unmount()),n&&(typeof n=="function"?n(r):gf(n)&&(n.current=r))},[e])}const ty=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),qF="framerAppearId",mC="data-"+ty(qF),{schedule:ny}=dC(queueMicrotask,!1),vC=X.createContext({});function XF(t,e,n,r,i){var o,a;const{visualElement:c}=X.useContext(_p),f=X.useContext(hC),p=X.useContext(Kv),y=X.useContext(fC).reducedMotion,g=X.useRef(null);r=r||f.renderer,!g.current&&r&&(g.current=r(t,{visualState:e,parent:c,props:n,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:y}));const T=g.current,E=X.useContext(vC);T&&!T.projection&&i&&(T.type==="html"||T.type==="svg")&&KF(g.current,n,i,E);const A=X.useRef(!1);X.useInsertionEffect(()=>{T&&A.current&&T.update(n,p)});const I=n[mC],j=X.useRef(!!I&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,I))&&((a=window.MotionHasOptimisedAnimation)===null||a===void 0?void 0:a.call(window,I)));return LF(()=>{T&&(A.current=!0,window.MotionIsMounted=!0,T.updateFeatures(),ny.render(T.render),j.current&&T.animationState&&T.animationState.animateChanges())}),X.useEffect(()=>{T&&(!j.current&&T.animationState&&T.animationState.animateChanges(),j.current&&(queueMicrotask(()=>{var R;(R=window.MotionHandoffMarkAsComplete)===null||R===void 0||R.call(window,I)}),j.current=!1))}),T}function KF(t,e,n,r){const{layoutId:i,layout:o,drag:a,dragConstraints:c,layoutScroll:f,layoutRoot:p}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:yC(t.parent)),t.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!a||c&&gf(c),visualElement:t,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:f,layoutRoot:p})}function yC(t){if(t)return t.options.allowProjection!==!1?t.projection:yC(t.parent)}function ZF({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:i}){var o,a;t&&BF(t);function c(p,y){let g;const T={...X.useContext(fC),...p,layoutId:JF(p)},{isStatic:E}=T,A=zF(p),I=r(p,E);if(!E&&Zv){QF(T,t);const j=eN(T);g=j.MeasureLayout,A.visualElement=XF(i,I,T,e,j.ProjectionNode)}return Pe.jsxs(_p.Provider,{value:A,children:[g&&A.visualElement?Pe.jsx(g,{visualElement:A.visualElement,...T}):null,n(i,p,GF(I,A.visualElement,y),I,E,A.visualElement)]})}c.displayName=`motion.${typeof i=="string"?i:`create(${(a=(o=i.displayName)!==null&&o!==void 0?o:i.name)!==null&&a!==void 0?a:""})`}`;const f=X.forwardRef(c);return f[YF]=i,f}function JF({layoutId:t}){const e=X.useContext(cC).id;return e&&t!==void 0?e+"-"+t:t}function QF(t,e){const n=X.useContext(hC).strict;if(process.env.NODE_ENV!=="production"&&e&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Lf(!1,r):yu(!1,r)}}function eN(t){const{drag:e,layout:n}=Of;if(!e&&!n)return{};const r={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const tN=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ry(t){return typeof t!="string"||t.includes("-")?!1:!!(tN.indexOf(t)>-1||/[A-Z]/u.test(t))}function Ew(t){const e=[{},{}];return t==null||t.values.forEach((n,r)=>{e[0][r]=n.get(),e[1][r]=n.getVelocity()}),e}function iy(t,e,n,r){if(typeof e=="function"){const[i,o]=Ew(r);e=e(n!==void 0?n:t.custom,i,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,o]=Ew(r);e=e(n!==void 0?n:t.custom,i,o)}return e}const $m=t=>Array.isArray(t),nN=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),rN=t=>$m(t)?t[t.length-1]||0:t,ji=t=>!!(t&&t.getVelocity);function jh(t){const e=ji(t)?t.get():t;return nN(e)?e.toValue():e}function iN({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:n},r,i,o){const a={latestValues:oN(r,i,o,t),renderState:e()};return n&&(a.onMount=c=>n({props:r,current:c,...a}),a.onUpdate=c=>n(c)),a}const bC=t=>(e,n)=>{const r=X.useContext(_p),i=X.useContext(Kv),o=()=>iN(t,e,r,i);return n?o():IF(o)};function oN(t,e,n,r){const i={},o=r(t,{});for(const T in o)i[T]=jh(o[T]);let{initial:a,animate:c}=t;const f=Ap(t),p=gC(t);e&&p&&!f&&t.inherit!==!1&&(a===void 0&&(a=e.initial),c===void 0&&(c=e.animate));let y=n?n.initial===!1:!1;y=y||a===!1;const g=y?c:a;if(g&&typeof g!="boolean"&&!Rp(g)){const T=Array.isArray(g)?g:[g];for(let E=0;E<T.length;E++){const A=iy(t,T[E]);if(A){const{transitionEnd:I,transition:j,...R}=A;for(const U in R){let H=R[U];if(Array.isArray(H)){const ne=y?H.length-1:0;H=H[ne]}H!==null&&(i[U]=H)}for(const U in I)i[U]=I[U]}}}return i}const Ff=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Rc=new Set(Ff),wC=t=>e=>typeof e=="string"&&e.startsWith(t),xC=wC("--"),sN=wC("var(--"),oy=t=>sN(t)?aN.test(t.split("/*")[0].trim()):!1,aN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,SC=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Pl=(t,e,n)=>n>e?e:n<t?t:n,Nf={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Md={...Nf,transform:t=>Pl(0,1,t)},Ch={...Nf,default:1},Yd=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),au=Yd("deg"),Ba=Yd("%"),Ot=Yd("px"),lN=Yd("vh"),uN=Yd("vw"),kw={...Ba,parse:t=>Ba.parse(t)/100,transform:t=>Ba.transform(t*100)},cN={borderWidth:Ot,borderTopWidth:Ot,borderRightWidth:Ot,borderBottomWidth:Ot,borderLeftWidth:Ot,borderRadius:Ot,radius:Ot,borderTopLeftRadius:Ot,borderTopRightRadius:Ot,borderBottomRightRadius:Ot,borderBottomLeftRadius:Ot,width:Ot,maxWidth:Ot,height:Ot,maxHeight:Ot,top:Ot,right:Ot,bottom:Ot,left:Ot,padding:Ot,paddingTop:Ot,paddingRight:Ot,paddingBottom:Ot,paddingLeft:Ot,margin:Ot,marginTop:Ot,marginRight:Ot,marginBottom:Ot,marginLeft:Ot,backgroundPositionX:Ot,backgroundPositionY:Ot},fN={rotate:au,rotateX:au,rotateY:au,rotateZ:au,scale:Ch,scaleX:Ch,scaleY:Ch,scaleZ:Ch,skew:au,skewX:au,skewY:au,distance:Ot,translateX:Ot,translateY:Ot,translateZ:Ot,x:Ot,y:Ot,z:Ot,perspective:Ot,transformPerspective:Ot,opacity:Md,originX:kw,originY:kw,originZ:Ot},Dw={...Nf,transform:Math.round},sy={...cN,...fN,zIndex:Dw,size:Ot,fillOpacity:Md,strokeOpacity:Md,numOctaves:Dw},dN={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},hN=Ff.length;function pN(t,e,n){let r="",i=!0;for(let o=0;o<hN;o++){const a=Ff[o],c=t[a];if(c===void 0)continue;let f=!0;if(typeof c=="number"?f=c===(a.startsWith("scale")?1:0):f=parseFloat(c)===0,!f||n){const p=SC(c,sy[a]);if(!f){i=!1;const y=dN[a]||a;r+=`${y}(${p}) `}n&&(e[a]=p)}}return r=r.trim(),n?r=n(e,i?"":r):i&&(r="none"),r}function ay(t,e,n){const{style:r,vars:i,transformOrigin:o}=t;let a=!1,c=!1;for(const f in e){const p=e[f];if(Rc.has(f)){a=!0;continue}else if(xC(f)){i[f]=p;continue}else{const y=SC(p,sy[f]);f.startsWith("origin")?(c=!0,o[f]=y):r[f]=y}}if(e.transform||(a||n?r.transform=pN(e,t.transform,n):r.transform&&(r.transform="none")),c){const{originX:f="50%",originY:p="50%",originZ:y=0}=o;r.transformOrigin=`${f} ${p} ${y}`}}const gN={offset:"stroke-dashoffset",array:"stroke-dasharray"},mN={offset:"strokeDashoffset",array:"strokeDasharray"};function vN(t,e,n=1,r=0,i=!0){t.pathLength=1;const o=i?gN:mN;t[o.offset]=Ot.transform(-r);const a=Ot.transform(e),c=Ot.transform(n);t[o.array]=`${a} ${c}`}function Pw(t,e,n){return typeof t=="string"?t:Ot.transform(e+n*t)}function yN(t,e,n){const r=Pw(e,t.x,t.width),i=Pw(n,t.y,t.height);return`${r} ${i}`}function ly(t,{attrX:e,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:c=1,pathOffset:f=0,...p},y,g){if(ay(t,p,g),y){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:T,style:E,dimensions:A}=t;T.transform&&(A&&(E.transform=T.transform),delete T.transform),A&&(i!==void 0||o!==void 0||E.transform)&&(E.transformOrigin=yN(A,i!==void 0?i:.5,o!==void 0?o:.5)),e!==void 0&&(T.x=e),n!==void 0&&(T.y=n),r!==void 0&&(T.scale=r),a!==void 0&&vN(T,a,c,f,!1)}const uy=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),TC=()=>({...uy(),attrs:{}}),cy=t=>typeof t=="string"&&t.toLowerCase()==="svg";function CC(t,{style:e,vars:n},r,i){Object.assign(t.style,e,i&&i.getProjectionStyles(r));for(const o in n)t.style.setProperty(o,n[o])}const EC=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function kC(t,e,n,r){CC(t,e,void 0,r);for(const i in e.attrs)t.setAttribute(EC.has(i)?i:ty(i),e.attrs[i])}const ip={};function bN(t){Object.assign(ip,t)}function DC(t,{layout:e,layoutId:n}){return Rc.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!ip[t]||t==="opacity")}function fy(t,e,n){var r;const{style:i}=t,o={};for(const a in i)(ji(i[a])||e.style&&ji(e.style[a])||DC(a,t)||((r=n==null?void 0:n.getValue(a))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[a]=i[a]);return o}function PC(t,e,n){const r=fy(t,e,n);for(const i in t)if(ji(t[i])||ji(e[i])){const o=Ff.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=t[i]}return r}function wN(t,e){try{e.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{e.dimensions={x:0,y:0,width:0,height:0}}}const Ow=["x","y","width","height","cx","cy","r"],xN={useVisualState:bC({scrapeMotionValuesFromProps:PC,createRenderState:TC,onUpdate:({props:t,prevProps:e,current:n,renderState:r,latestValues:i})=>{if(!n)return;let o=!!t.drag;if(!o){for(const c in i)if(Rc.has(c)){o=!0;break}}if(!o)return;let a=!e;if(e)for(let c=0;c<Ow.length;c++){const f=Ow[c];t[f]!==e[f]&&(a=!0)}a&&Fn.read(()=>{wN(n,r),Fn.render(()=>{ly(r,i,cy(n.tagName),t.transformTemplate),kC(n,r)})})}})},SN={useVisualState:bC({scrapeMotionValuesFromProps:fy,createRenderState:uy})};function OC(t,e,n){for(const r in e)!ji(e[r])&&!DC(r,n)&&(t[r]=e[r])}function TN({transformTemplate:t},e){return X.useMemo(()=>{const n=uy();return ay(n,e,t),Object.assign({},n.vars,n.style)},[e])}function CN(t,e){const n=t.style||{},r={};return OC(r,n,t),Object.assign(r,TN(t,e)),r}function EN(t,e){const n={},r=CN(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=r,n}function kN(t,e,n,r){const i=X.useMemo(()=>{const o=TC();return ly(o,e,cy(r),t.transformTemplate),{...o.attrs,style:{...o.style}}},[e]);if(t.style){const o={};OC(o,t.style,t),i.style={...o,...i.style}}return i}function DN(t=!1){return(n,r,i,{latestValues:o},a)=>{const f=(ry(n)?kN:EN)(r,o,a,n),p=HF(r,typeof n=="string",t),y=n!==X.Fragment?{...p,...f,ref:i}:{},{children:g}=r,T=X.useMemo(()=>ji(g)?g.get():g,[g]);return X.createElement(n,{...y,children:T})}}function PN(t,e){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const a={...ry(r)?xN:SN,preloadedFeatures:t,useRender:DN(i),createVisualElement:e,Component:r};return ZF(a)}}function _C(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function Ip(t,e,n){const r=t.getProps();return iy(r,e,n!==void 0?n:r.custom,t)}const ON=Jv(()=>window.ScrollTimeline!==void 0);class _N{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,n){for(let r=0;r<this.animations.length;r++)this.animations[r][e]=n}attachTimeline(e,n){const r=this.animations.map(i=>{if(ON()&&i.attachTimeline)return i.attachTimeline(e);if(typeof n=="function")return n(i)});return()=>{r.forEach((i,o)=>{i&&i(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let n=0;n<this.animations.length;n++)e=Math.max(e,this.animations[n].duration);return e}runAll(e){this.animations.forEach(n=>n[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class RN extends _N{then(e,n){return Promise.all(this.animations).then(e).catch(n)}}function dy(t,e){return t?t[e]||t.default||t:void 0}const Vm=2e4;function RC(t){let e=0;const n=50;let r=t.next(e);for(;!r.done&&e<Vm;)e+=n,r=t.next(e);return e>=Vm?1/0:e}function hy(t){return typeof t=="function"}function _w(t,e){t.timeline=e,t.onfinish=null}const py=t=>Array.isArray(t)&&typeof t[0]=="number",AN={linearEasing:void 0};function IN(t,e){const n=Jv(t);return()=>{var r;return(r=AN[e])!==null&&r!==void 0?r:n()}}const op=IN(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),AC=(t,e,n=10)=>{let r="";const i=Math.max(Math.round(e/n),2);for(let o=0;o<i;o++)r+=t(Pf(0,i-1,o))+", ";return`linear(${r.substring(0,r.length-2)})`};function IC(t){return!!(typeof t=="function"&&op()||!t||typeof t=="string"&&(t in Hm||op())||py(t)||Array.isArray(t)&&t.every(IC))}const cd=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,Hm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cd([0,.65,.55,1]),circOut:cd([.55,0,1,.45]),backIn:cd([.31,.01,.66,-.59]),backOut:cd([.33,1.53,.69,.99])};function MC(t,e){if(t)return typeof t=="function"&&op()?AC(t,e):py(t)?cd(t):Array.isArray(t)?t.map(n=>MC(n,e)||Hm.easeOut):Hm[t]}const sa={x:!1,y:!1};function LC(){return sa.x||sa.y}function MN(t,e,n){var r;if(t instanceof Element)return[t];if(typeof t=="string"){let i=document;const o=(r=void 0)!==null&&r!==void 0?r:i.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t)}function FC(t,e){const n=MN(t),r=new AbortController,i={passive:!0,...e,signal:r.signal};return[n,i,()=>r.abort()]}function Rw(t){return e=>{e.pointerType==="touch"||LC()||t(e)}}function LN(t,e,n={}){const[r,i,o]=FC(t,n),a=Rw(c=>{const{target:f}=c,p=e(c);if(typeof p!="function"||!f)return;const y=Rw(g=>{p(g),f.removeEventListener("pointerleave",y)});f.addEventListener("pointerleave",y,i)});return r.forEach(c=>{c.addEventListener("pointerenter",a,i)}),o}const NC=(t,e)=>e?t===e?!0:NC(t,e.parentElement):!1,gy=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,FN=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function NN(t){return FN.has(t.tagName)||t.tabIndex!==-1}const fd=new WeakSet;function Aw(t){return e=>{e.key==="Enter"&&t(e)}}function Ng(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const jN=(t,e)=>{const n=t.currentTarget;if(!n)return;const r=Aw(()=>{if(fd.has(n))return;Ng(n,"down");const i=Aw(()=>{Ng(n,"up")}),o=()=>Ng(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",o,e)});n.addEventListener("keydown",r,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),e)};function Iw(t){return gy(t)&&!LC()}function BN(t,e,n={}){const[r,i,o]=FC(t,n),a=c=>{const f=c.currentTarget;if(!Iw(c)||fd.has(f))return;fd.add(f);const p=e(c),y=(E,A)=>{window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",T),!(!Iw(E)||!fd.has(f))&&(fd.delete(f),typeof p=="function"&&p(E,{success:A}))},g=E=>{y(E,n.useGlobalTarget||NC(f,E.target))},T=E=>{y(E,!1)};window.addEventListener("pointerup",g,i),window.addEventListener("pointercancel",T,i)};return r.forEach(c=>{!NN(c)&&c.getAttribute("tabindex")===null&&(c.tabIndex=0),(n.useGlobalTarget?window:c).addEventListener("pointerdown",a,i),c.addEventListener("focus",p=>jN(p,i),i)}),o}function $N(t){return t==="x"||t==="y"?sa[t]?null:(sa[t]=!0,()=>{sa[t]=!1}):sa.x||sa.y?null:(sa.x=sa.y=!0,()=>{sa.x=sa.y=!1})}const jC=new Set(["width","height","top","left","right","bottom",...Ff]);let Bh;function VN(){Bh=void 0}const $a={now:()=>(Bh===void 0&&$a.set(Ei.isProcessing||FF.useManualTiming?Ei.timestamp:performance.now()),Bh),set:t=>{Bh=t,queueMicrotask(VN)}};function my(t,e){t.indexOf(e)===-1&&t.push(e)}function vy(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}let yy=class{constructor(){this.subscriptions=[]}add(e){return my(this.subscriptions,e),()=>vy(this.subscriptions,e)}notify(e,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,r);else for(let o=0;o<i;o++){const a=this.subscriptions[o];a&&a(e,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};function BC(t,e){return e?t*(1e3/e):0}const Mw=30,HN=t=>!isNaN(parseFloat(t));let UN=class{constructor(e,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=$a.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=$a.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=HN(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return process.env.NODE_ENV!=="production"&&Op(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new yy);const r=this.events[e].add(n);return e==="change"?()=>{r(),Fn.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=$a.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Mw)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Mw);return BC(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Ld(t,e){return new UN(t,e)}function WN(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Ld(n))}function zN(t,e){const n=Ip(t,e);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const a in o){const c=rN(o[a]);WN(t,a,c)}}function YN(t){return!!(ji(t)&&t.add)}function Um(t,e){const n=t.getValue("willChange");if(YN(n))return n.add(e)}function $C(t){return t.props[mC]}const VC=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,GN=1e-7,qN=12;function XN(t,e,n,r,i){let o,a,c=0;do a=e+(n-e)/2,o=VC(a,r,i)-t,o>0?n=a:e=a;while(Math.abs(o)>GN&&++c<qN);return a}function Gd(t,e,n,r){if(t===e&&n===r)return _o;const i=o=>XN(o,0,1,t,n);return o=>o===0||o===1?o:VC(i(o),e,r)}const HC=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,UC=t=>e=>1-t(1-e),WC=Gd(.33,1.53,.69,.99),by=UC(WC),zC=HC(by),YC=t=>(t*=2)<1?.5*by(t):.5*(2-Math.pow(2,-10*(t-1))),wy=t=>1-Math.sin(Math.acos(t)),GC=UC(wy),qC=HC(wy),XC=t=>/^0[^.\s]+$/u.test(t);function KN(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||XC(t):!0}const yd=t=>Math.round(t*1e5)/1e5,xy=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function ZN(t){return t==null}const JN=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Sy=(t,e)=>n=>!!(typeof n=="string"&&JN.test(n)&&n.startsWith(t)||e&&!ZN(n)&&Object.prototype.hasOwnProperty.call(n,e)),KC=(t,e,n)=>r=>{if(typeof r!="string")return r;const[i,o,a,c]=r.match(xy);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(a),alpha:c!==void 0?parseFloat(c):1}},QN=t=>Pl(0,255,t),jg={...Nf,transform:t=>Math.round(QN(t))},yc={test:Sy("rgb","red"),parse:KC("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+jg.transform(t)+", "+jg.transform(e)+", "+jg.transform(n)+", "+yd(Md.transform(r))+")"};function ej(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Wm={test:Sy("#"),parse:ej,transform:yc.transform},mf={test:Sy("hsl","hue"),parse:KC("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+Ba.transform(yd(e))+", "+Ba.transform(yd(n))+", "+yd(Md.transform(r))+")"},Ni={test:t=>yc.test(t)||Wm.test(t)||mf.test(t),parse:t=>yc.test(t)?yc.parse(t):mf.test(t)?mf.parse(t):Wm.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?yc.transform(t):mf.transform(t)},tj=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function nj(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(xy))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(tj))===null||n===void 0?void 0:n.length)||0)>0}const ZC="number",JC="color",rj="var",ij="var(",Lw="${}",oj=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Fd(t){const e=t.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const c=e.replace(oj,f=>(Ni.test(f)?(r.color.push(o),i.push(JC),n.push(Ni.parse(f))):f.startsWith(ij)?(r.var.push(o),i.push(rj),n.push(f)):(r.number.push(o),i.push(ZC),n.push(parseFloat(f))),++o,Lw)).split(Lw);return{values:n,split:c,indexes:r,types:i}}function QC(t){return Fd(t).values}function eE(t){const{split:e,types:n}=Fd(t),r=e.length;return i=>{let o="";for(let a=0;a<r;a++)if(o+=e[a],i[a]!==void 0){const c=n[a];c===ZC?o+=yd(i[a]):c===JC?o+=Ni.transform(i[a]):o+=i[a]}return o}}const sj=t=>typeof t=="number"?0:t;function aj(t){const e=QC(t);return eE(t)(e.map(sj))}const wu={test:nj,parse:QC,createTransformer:eE,getAnimatableNone:aj},lj=new Set(["brightness","contrast","saturate","opacity"]);function uj(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[r]=n.match(xy)||[];if(!r)return t;const i=n.replace(r,"");let o=lj.has(e)?1:0;return r!==n&&(o*=100),e+"("+o+i+")"}const cj=/\b([a-z-]*)\(.*?\)/gu,zm={...wu,getAnimatableNone:t=>{const e=t.match(cj);return e?e.map(uj).join(" "):t}},fj={...sy,color:Ni,backgroundColor:Ni,outlineColor:Ni,fill:Ni,stroke:Ni,borderColor:Ni,borderTopColor:Ni,borderRightColor:Ni,borderBottomColor:Ni,borderLeftColor:Ni,filter:zm,WebkitFilter:zm},Ty=t=>fj[t];function tE(t,e){let n=Ty(t);return n!==zm&&(n=wu),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const dj=new Set(["auto","none","0"]);function hj(t,e,n){let r=0,i;for(;r<t.length&&!i;){const o=t[r];typeof o=="string"&&!dj.has(o)&&Fd(o).values.length&&(i=t[r]),r++}if(i&&n)for(const o of e)t[o]=tE(n,i)}const Fw=t=>t===Nf||t===Ot,Nw=(t,e)=>parseFloat(t.split(", ")[e]),jw=(t,e)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Nw(i[1],e);{const o=r.match(/^matrix\((.+)\)$/u);return o?Nw(o[1],t):0}},pj=new Set(["x","y","z"]),gj=Ff.filter(t=>!pj.has(t));function mj(t){const e=[];return gj.forEach(n=>{const r=t.getValue(n);r!==void 0&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e}const _f={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:jw(4,13),y:jw(5,14)};_f.translateX=_f.x;_f.translateY=_f.y;const Cc=new Set;let Ym=!1,Gm=!1;function nE(){if(Gm){const t=Array.from(Cc).filter(r=>r.needsMeasurement),e=new Set(t.map(r=>r.element)),n=new Map;e.forEach(r=>{const i=mj(r);i.length&&(n.set(r,i),r.render())}),t.forEach(r=>r.measureInitialState()),e.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,a])=>{var c;(c=r.getValue(o))===null||c===void 0||c.set(a)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Gm=!1,Ym=!1,Cc.forEach(t=>t.complete()),Cc.clear()}function rE(){Cc.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Gm=!0)})}function vj(){rE(),nE()}class Cy{constructor(e,n,r,i,o,a=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Cc.add(this),Ym||(Ym=!0,Fn.read(rE),Fn.resolveKeyframes(nE))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:r,motionValue:i}=this;for(let o=0;o<e.length;o++)if(e[o]===null)if(o===0){const a=i==null?void 0:i.get(),c=e[e.length-1];if(a!==void 0)e[0]=a;else if(r&&n){const f=r.readValue(n,c);f!=null&&(e[0]=f)}e[0]===void 0&&(e[0]=c),i&&a===void 0&&i.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Cc.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Cc.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const iE=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),yj=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function bj(t){const e=yj.exec(t);if(!e)return[,];const[,n,r,i]=e;return[`--${n??r}`,i]}const wj=4;function oE(t,e,n=1){yu(n<=wj,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[r,i]=bj(t);if(!r)return;const o=window.getComputedStyle(e).getPropertyValue(r);if(o){const a=o.trim();return iE(a)?parseFloat(a):a}return oy(i)?oE(i,e,n+1):i}const sE=t=>e=>e.test(t),xj={test:t=>t==="auto",parse:t=>t},aE=[Nf,Ot,Ba,au,uN,lN,xj],Bw=t=>aE.find(sE(t));class lE extends Cy{constructor(e,n,r,i,o){super(e,n,r,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let f=0;f<e.length;f++){let p=e[f];if(typeof p=="string"&&(p=p.trim(),oy(p))){const y=oE(p,n.current);y!==void 0&&(e[f]=y),f===e.length-1&&(this.finalKeyframe=p)}}if(this.resolveNoneKeyframes(),!jC.has(r)||e.length!==2)return;const[i,o]=e,a=Bw(i),c=Bw(o);if(a!==c)if(Fw(a)&&Fw(c))for(let f=0;f<e.length;f++){const p=e[f];typeof p=="string"&&(e[f]=parseFloat(p))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,r=[];for(let i=0;i<e.length;i++)KN(e[i])&&r.push(i);r.length&&hj(e,r,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:r}=this;if(!e||!e.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=_f[r](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&e.getValue(r,i).jump(i,!1)}measureEndState(){var e;const{element:n,name:r,unresolvedKeyframes:i}=this;if(!n||!n.current)return;const o=n.getValue(r);o&&o.jump(this.measuredOrigin,!1);const a=i.length-1,c=i[a];i[a]=_f[r](n.measureViewportBox(),window.getComputedStyle(n.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([f,p])=>{n.getValue(f).set(p)}),this.resolveNoneKeyframes()}}const $w=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(wu.test(t)||t==="0")&&!t.startsWith("url("));function Sj(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function Tj(t,e,n,r){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const o=t[t.length-1],a=$w(i,e),c=$w(o,e);return Lf(a===c,`You are trying to animate ${e} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!a||!c?!1:Sj(t)||(n==="spring"||hy(n))&&r}const Cj=t=>t!==null;function Mp(t,{repeat:e,repeatType:n="loop"},r){const i=t.filter(Cj),o=e&&n!=="loop"&&e%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}const Ej=40;class uE{constructor({autoplay:e=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:a="loop",...c}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=$a.now(),this.options={autoplay:e,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:a,...c},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Ej?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&vj(),this._resolved}onKeyframesResolved(e,n){this.resolvedAt=$a.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:o,delay:a,onComplete:c,onUpdate:f,isGenerator:p}=this.options;if(!p&&!Tj(e,r,i,o))if(a)this.options.duration=0;else{f&&f(Mp(e,this.options,n)),c&&c(),this.resolveFinishedPromise();return}const y=this.initPlayback(e,n);y!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...y},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}const Kn=(t,e,n)=>t+(e-t)*n;function Bg(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function kj({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,e/=100,n/=100;let i=0,o=0,a=0;if(!e)i=o=a=n;else{const c=n<.5?n*(1+e):n+e-n*e,f=2*n-c;i=Bg(f,c,t+1/3),o=Bg(f,c,t),a=Bg(f,c,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}function sp(t,e){return n=>n>0?e:t}const $g=(t,e,n)=>{const r=t*t,i=n*(e*e-r)+r;return i<0?0:Math.sqrt(i)},Dj=[Wm,yc,mf],Pj=t=>Dj.find(e=>e.test(t));function Vw(t){const e=Pj(t);if(Lf(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let n=e.parse(t);return e===mf&&(n=kj(n)),n}const Hw=(t,e)=>{const n=Vw(t),r=Vw(e);if(!n||!r)return sp(t,e);const i={...n};return o=>(i.red=$g(n.red,r.red,o),i.green=$g(n.green,r.green,o),i.blue=$g(n.blue,r.blue,o),i.alpha=Kn(n.alpha,r.alpha,o),yc.transform(i))},Oj=(t,e)=>n=>e(t(n)),qd=(...t)=>t.reduce(Oj),qm=new Set(["none","hidden"]);function _j(t,e){return qm.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function Rj(t,e){return n=>Kn(t,e,n)}function Ey(t){return typeof t=="number"?Rj:typeof t=="string"?oy(t)?sp:Ni.test(t)?Hw:Mj:Array.isArray(t)?cE:typeof t=="object"?Ni.test(t)?Hw:Aj:sp}function cE(t,e){const n=[...t],r=n.length,i=t.map((o,a)=>Ey(o)(o,e[a]));return o=>{for(let a=0;a<r;a++)n[a]=i[a](o);return n}}function Aj(t,e){const n={...t,...e},r={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(r[i]=Ey(t[i])(t[i],e[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function Ij(t,e){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o<e.values.length;o++){const a=e.types[o],c=t.indexes[a][i[a]],f=(n=t.values[c])!==null&&n!==void 0?n:0;r[o]=f,i[a]++}return r}const Mj=(t,e)=>{const n=wu.createTransformer(e),r=Fd(t),i=Fd(e);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?qm.has(t)&&!i.values.length||qm.has(e)&&!r.values.length?_j(t,e):qd(cE(Ij(r,i),i.values),n):(Lf(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),sp(t,e))};function fE(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?Kn(t,e,n):Ey(t)(t,e)}const Lj=5;function dE(t,e,n){const r=Math.max(e-Lj,0);return BC(n-t(r),e-r)}const Xn={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Uw=.001;function Fj({duration:t=Xn.duration,bounce:e=Xn.bounce,velocity:n=Xn.velocity,mass:r=Xn.mass}){let i,o;Lf(t<=ja(Xn.maxDuration),"Spring duration must be 10 seconds or less");let a=1-e;a=Pl(Xn.minDamping,Xn.maxDamping,a),t=Pl(Xn.minDuration,Xn.maxDuration,Cl(t)),a<1?(i=p=>{const y=p*a,g=y*t,T=y-n,E=Xm(p,a),A=Math.exp(-g);return Uw-T/E*A},o=p=>{const g=p*a*t,T=g*n+n,E=Math.pow(a,2)*Math.pow(p,2)*t,A=Math.exp(-g),I=Xm(Math.pow(p,2),a);return(-i(p)+Uw>0?-1:1)*((T-E)*A)/I}):(i=p=>{const y=Math.exp(-p*t),g=(p-n)*t+1;return-.001+y*g},o=p=>{const y=Math.exp(-p*t),g=(n-p)*(t*t);return y*g});const c=5/t,f=jj(i,o,c);if(t=ja(t),isNaN(f))return{stiffness:Xn.stiffness,damping:Xn.damping,duration:t};{const p=Math.pow(f,2)*r;return{stiffness:p,damping:a*2*Math.sqrt(r*p),duration:t}}}const Nj=12;function jj(t,e,n){let r=n;for(let i=1;i<Nj;i++)r=r-t(r)/e(r);return r}function Xm(t,e){return t*Math.sqrt(1-e*e)}const Bj=["duration","bounce"],$j=["stiffness","damping","mass"];function Ww(t,e){return e.some(n=>t[n]!==void 0)}function Vj(t){let e={velocity:Xn.velocity,stiffness:Xn.stiffness,damping:Xn.damping,mass:Xn.mass,isResolvedFromDuration:!1,...t};if(!Ww(t,$j)&&Ww(t,Bj))if(t.visualDuration){const n=t.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*Pl(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:Xn.mass,stiffness:i,damping:o}}else{const n=Fj(t);e={...e,...n,mass:Xn.mass},e.isResolvedFromDuration=!0}return e}function hE(t=Xn.visualDuration,e=Xn.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],c={done:!1,value:o},{stiffness:f,damping:p,mass:y,duration:g,velocity:T,isResolvedFromDuration:E}=Vj({...n,velocity:-Cl(n.velocity||0)}),A=T||0,I=p/(2*Math.sqrt(f*y)),j=a-o,R=Cl(Math.sqrt(f/y)),U=Math.abs(j)<5;r||(r=U?Xn.restSpeed.granular:Xn.restSpeed.default),i||(i=U?Xn.restDelta.granular:Xn.restDelta.default);let H;if(I<1){const q=Xm(R,I);H=ie=>{const x=Math.exp(-I*R*ie);return a-x*((A+I*R*j)/q*Math.sin(q*ie)+j*Math.cos(q*ie))}}else if(I===1)H=q=>a-Math.exp(-R*q)*(j+(A+R*j)*q);else{const q=R*Math.sqrt(I*I-1);H=ie=>{const x=Math.exp(-I*R*ie),le=Math.min(q*ie,300);return a-x*((A+I*R*j)*Math.sinh(le)+q*j*Math.cosh(le))/q}}const ne={calculatedDuration:E&&g||null,next:q=>{const ie=H(q);if(E)c.done=q>=g;else{let x=0;I<1&&(x=q===0?ja(A):dE(H,q,ie));const le=Math.abs(x)<=r,ae=Math.abs(a-ie)<=i;c.done=le&&ae}return c.value=c.done?a:ie,c},toString:()=>{const q=Math.min(RC(ne),Vm),ie=AC(x=>ne.next(q*x).value,q,30);return q+"ms "+ie}};return ne}function zw({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:c,max:f,restDelta:p=.5,restSpeed:y}){const g=t[0],T={done:!1,value:g},E=le=>c!==void 0&&le<c||f!==void 0&&le>f,A=le=>c===void 0?f:f===void 0||Math.abs(c-le)<Math.abs(f-le)?c:f;let I=n*e;const j=g+I,R=a===void 0?j:a(j);R!==j&&(I=R-g);const U=le=>-I*Math.exp(-le/r),H=le=>R+U(le),ne=le=>{const ae=U(le),Ve=H(le);T.done=Math.abs(ae)<=p,T.value=T.done?R:Ve};let q,ie;const x=le=>{E(T.value)&&(q=le,ie=hE({keyframes:[T.value,A(T.value)],velocity:dE(H,le,T.value),damping:i,stiffness:o,restDelta:p,restSpeed:y}))};return x(0),{calculatedDuration:null,next:le=>{let ae=!1;return!ie&&q===void 0&&(ae=!0,ne(le),x(le)),q!==void 0&&le>=q?ie.next(le-q):(!ae&&ne(le),T)}}}const Hj=Gd(.42,0,1,1),Uj=Gd(0,0,.58,1),pE=Gd(.42,0,.58,1),Wj=t=>Array.isArray(t)&&typeof t[0]!="number",Yw={linear:_o,easeIn:Hj,easeInOut:pE,easeOut:Uj,circIn:wy,circInOut:qC,circOut:GC,backIn:by,backInOut:zC,backOut:WC,anticipate:YC},Gw=t=>{if(py(t)){yu(t.length===4,"Cubic bezier arrays must contain four numerical values.");const[e,n,r,i]=t;return Gd(e,n,r,i)}else if(typeof t=="string")return yu(Yw[t]!==void 0,`Invalid easing type '${t}'`),Yw[t];return t};function zj(t,e,n){const r=[],i=n||fE,o=t.length-1;for(let a=0;a<o;a++){let c=i(t[a],t[a+1]);if(e){const f=Array.isArray(e)?e[a]||_o:e;c=qd(f,c)}r.push(c)}return r}function Yj(t,e,{clamp:n=!0,ease:r,mixer:i}={}){const o=t.length;if(yu(o===e.length,"Both input and output ranges must be the same length"),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];const a=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const c=zj(e,r,i),f=c.length,p=y=>{if(a&&y<t[0])return e[0];let g=0;if(f>1)for(;g<t.length-2&&!(y<t[g+1]);g++);const T=Pf(t[g],t[g+1],y);return c[g](T)};return n?y=>p(Pl(t[0],t[o-1],y)):p}function Gj(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const i=Pf(0,e,r);t.push(Kn(n,1,i))}}function qj(t){const e=[0];return Gj(e,t.length-1),e}function Xj(t,e){return t.map(n=>n*e)}function Kj(t,e){return t.map(()=>e||pE).splice(0,t.length-1)}function ap({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){const i=Wj(r)?r.map(Gw):Gw(r),o={done:!1,value:e[0]},a=Xj(n&&n.length===e.length?n:qj(e),t),c=Yj(a,e,{ease:Array.isArray(i)?i:Kj(e,i)});return{calculatedDuration:t,next:f=>(o.value=c(f),o.done=f>=t,o)}}const Zj=t=>{const e=({timestamp:n})=>t(n);return{start:()=>Fn.update(e,!0),stop:()=>bu(e),now:()=>Ei.isProcessing?Ei.timestamp:$a.now()}},Jj={decay:zw,inertia:zw,tween:ap,keyframes:ap,spring:hE},Qj=t=>t/100;class ky extends uE{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:f}=this.options;f&&f()};const{name:n,motionValue:r,element:i,keyframes:o}=this.options,a=(i==null?void 0:i.KeyframeResolver)||Cy,c=(f,p)=>this.onKeyframesResolved(f,p);this.resolver=new a(o,c,n,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:a=0}=this.options,c=hy(n)?n:Jj[n]||ap;let f,p;c!==ap&&typeof e[0]!="number"&&(process.env.NODE_ENV!=="production"&&yu(e.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`),f=qd(Qj,fE(e[0],e[1])),e=[0,100]);const y=c({...this.options,keyframes:e});o==="mirror"&&(p=c({...this.options,keyframes:[...e].reverse(),velocity:-a})),y.calculatedDuration===null&&(y.calculatedDuration=RC(y));const{calculatedDuration:g}=y,T=g+i,E=T*(r+1)-i;return{generator:y,mirroredGenerator:p,mapPercentToKeyframes:f,calculatedDuration:g,resolvedDuration:T,totalDuration:E}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:r}=this;if(!r){const{keyframes:le}=this.options;return{done:!0,value:le[le.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:a,mapPercentToKeyframes:c,keyframes:f,calculatedDuration:p,totalDuration:y,resolvedDuration:g}=r;if(this.startTime===null)return o.next(0);const{delay:T,repeat:E,repeatType:A,repeatDelay:I,onUpdate:j}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-y/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const R=this.currentTime-T*(this.speed>=0?1:-1),U=this.speed>=0?R<0:R>y;this.currentTime=Math.max(R,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=y);let H=this.currentTime,ne=o;if(E){const le=Math.min(this.currentTime,y)/g;let ae=Math.floor(le),Ve=le%1;!Ve&&le>=1&&(Ve=1),Ve===1&&ae--,ae=Math.min(ae,E+1),!!(ae%2)&&(A==="reverse"?(Ve=1-Ve,I&&(Ve-=I/g)):A==="mirror"&&(ne=a)),H=Pl(0,1,Ve)*g}const q=U?{done:!1,value:f[0]}:ne.next(H);c&&(q.value=c(q.value));let{done:ie}=q;!U&&p!==null&&(ie=this.speed>=0?this.currentTime>=y:this.currentTime<=0);const x=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&ie);return x&&i!==void 0&&(q.value=Mp(f,this.options,i)),j&&j(q.value),x&&this.finish(),q}get duration(){const{resolved:e}=this;return e?Cl(e.calculatedDuration):0}get time(){return Cl(this.currentTime)}set time(e){e=ja(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=Cl(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=Zj,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=e(o=>this.tick(o))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const eB=new Set(["opacity","clipPath","filter","transform"]);function tB(t,e,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:c="easeInOut",times:f}={}){const p={[e]:n};f&&(p.offset=f);const y=MC(c,i);return Array.isArray(y)&&(p.easing=y),t.animate(p,{delay:r,duration:i,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"})}const nB=Jv(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),lp=10,rB=2e4;function iB(t){return hy(t.type)||t.type==="spring"||!IC(t.ease)}function oB(t,e){const n=new ky({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:t[0]};const i=[];let o=0;for(;!r.done&&o<rB;)r=n.sample(o),i.push(r.value),o+=lp;return{times:void 0,keyframes:i,duration:o-lp,ease:"linear"}}const gE={anticipate:YC,backInOut:zC,circInOut:qC};function sB(t){return t in gE}class qw extends uE{constructor(e){super(e);const{name:n,motionValue:r,element:i,keyframes:o}=this.options;this.resolver=new lE(o,(a,c)=>this.onKeyframesResolved(a,c),n,r,i),this.resolver.scheduleResolve()}initPlayback(e,n){let{duration:r=300,times:i,ease:o,type:a,motionValue:c,name:f,startTime:p}=this.options;if(!c.owner||!c.owner.current)return!1;if(typeof o=="string"&&op()&&sB(o)&&(o=gE[o]),iB(this.options)){const{onComplete:g,onUpdate:T,motionValue:E,element:A,...I}=this.options,j=oB(e,I);e=j.keyframes,e.length===1&&(e[1]=e[0]),r=j.duration,i=j.times,o=j.ease,a="keyframes"}const y=tB(c.owner.current,f,e,{...this.options,duration:r,times:i,ease:o});return y.startTime=p??this.calcStartTime(),this.pendingTimeline?(_w(y,this.pendingTimeline),this.pendingTimeline=void 0):y.onfinish=()=>{const{onComplete:g}=this.options;c.set(Mp(e,this.options,n)),g&&g(),this.cancel(),this.resolveFinishedPromise()},{animation:y,duration:r,times:i,type:a,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return Cl(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return Cl(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=ja(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:n}=e;return n.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return _o;const{animation:r}=n;_w(r,e)}return _o}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:r,duration:i,type:o,ease:a,times:c}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:p,onUpdate:y,onComplete:g,element:T,...E}=this.options,A=new ky({...E,keyframes:r,duration:i,type:o,ease:a,times:c,isGenerator:!0}),I=ja(this.time);p.setWithVelocity(A.sample(I-lp).value,A.sample(I).value,lp)}const{onStop:f}=this.options;f&&f(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:r,repeatDelay:i,repeatType:o,damping:a,type:c}=e;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:p}=n.owner.getProps();return nB()&&r&&eB.has(r)&&!f&&!p&&!i&&o!=="mirror"&&a!==0&&c!=="inertia"}}const aB={type:"spring",stiffness:500,damping:25,restSpeed:10},lB=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),uB={type:"keyframes",duration:.8},cB={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},fB=(t,{keyframes:e})=>e.length>2?uB:Rc.has(t)?t.startsWith("scale")?lB(e[1]):aB:cB;function dB({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:c,from:f,elapsed:p,...y}){return!!Object.keys(y).length}const Dy=(t,e,n,r={},i,o)=>a=>{const c=dy(r,t)||{},f=c.delay||r.delay||0;let{elapsed:p=0}=r;p=p-ja(f);let y={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...c,delay:-p,onUpdate:T=>{e.set(T),c.onUpdate&&c.onUpdate(T)},onComplete:()=>{a(),c.onComplete&&c.onComplete()},name:t,motionValue:e,element:o?void 0:i};dB(c)||(y={...y,...fB(t,y)}),y.duration&&(y.duration=ja(y.duration)),y.repeatDelay&&(y.repeatDelay=ja(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let g=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(y.duration=0,y.delay===0&&(g=!0)),g&&!o&&e.get()!==void 0){const T=Mp(y.keyframes,c);if(T!==void 0)return Fn.update(()=>{y.onUpdate(T),y.onComplete()}),new RN([])}return!o&&qw.supports(y)?new qw(y):new ky(y)};function hB({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,r}function mE(t,e,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=t.getDefaultTransition(),transitionEnd:c,...f}=e;r&&(a=r);const p=[],y=i&&t.animationState&&t.animationState.getState()[i];for(const g in f){const T=t.getValue(g,(o=t.latestValues[g])!==null&&o!==void 0?o:null),E=f[g];if(E===void 0||y&&hB(y,g))continue;const A={delay:n,...dy(a||{},g)};let I=!1;if(window.MotionHandoffAnimation){const R=$C(t);if(R){const U=window.MotionHandoffAnimation(R,g,Fn);U!==null&&(A.startTime=U,I=!0)}}Um(t,g),T.start(Dy(g,T,E,t.shouldReduceMotion&&jC.has(g)?{type:!1}:A,t,I));const j=T.animation;j&&p.push(j)}return c&&Promise.all(p).then(()=>{Fn.update(()=>{c&&zN(t,c)})}),p}function Km(t,e,n={}){var r;const i=Ip(t,e,n.type==="exit"?(r=t.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>Promise.all(mE(t,i,n)):()=>Promise.resolve(),c=t.variantChildren&&t.variantChildren.size?(p=0)=>{const{delayChildren:y=0,staggerChildren:g,staggerDirection:T}=o;return pB(t,e,y+p,g,T,n)}:()=>Promise.resolve(),{when:f}=o;if(f){const[p,y]=f==="beforeChildren"?[a,c]:[c,a];return p().then(()=>y())}else return Promise.all([a(),c(n.delay)])}function pB(t,e,n=0,r=0,i=1,o){const a=[],c=(t.variantChildren.size-1)*r,f=i===1?(p=0)=>p*r:(p=0)=>c-p*r;return Array.from(t.variantChildren).sort(gB).forEach((p,y)=>{p.notify("AnimationStart",e),a.push(Km(p,e,{...o,delay:n+f(y)}).then(()=>p.notify("AnimationComplete",e)))}),Promise.all(a)}function gB(t,e){return t.sortNodePosition(e)}function mB(t,e,n={}){t.notify("AnimationStart",e);let r;if(Array.isArray(e)){const i=e.map(o=>Km(t,o,n));r=Promise.all(i)}else if(typeof e=="string")r=Km(t,e,n);else{const i=typeof e=="function"?Ip(t,e,n.custom):e;r=Promise.all(mE(t,i,n))}return r.then(()=>{t.notify("AnimationComplete",e)})}const vB=ey.length;function vE(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?vE(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<vB;n++){const r=ey[n],i=t.props[r];(Id(i)||i===!1)&&(e[r]=i)}return e}const yB=[...Qv].reverse(),bB=Qv.length;function wB(t){return e=>Promise.all(e.map(({animation:n,options:r})=>mB(t,n,r)))}function xB(t){let e=wB(t),n=Xw(),r=!0;const i=f=>(p,y)=>{var g;const T=Ip(t,y,f==="exit"?(g=t.presenceContext)===null||g===void 0?void 0:g.custom:void 0);if(T){const{transition:E,transitionEnd:A,...I}=T;p={...p,...I,...A}}return p};function o(f){e=f(t)}function a(f){const{props:p}=t,y=vE(t.parent)||{},g=[],T=new Set;let E={},A=1/0;for(let j=0;j<bB;j++){const R=yB[j],U=n[R],H=p[R]!==void 0?p[R]:y[R],ne=Id(H),q=R===f?U.isActive:null;q===!1&&(A=j);let ie=H===y[R]&&H!==p[R]&≠if(ie&&r&&t.manuallyAnimateOnMount&&(ie=!1),U.protectedKeys={...E},!U.isActive&&q===null||!H&&!U.prevProp||Rp(H)||typeof H=="boolean")continue;const x=SB(U.prevProp,H);let le=x||R===f&&U.isActive&&!ie&&ne||j>A&&ne,ae=!1;const Ve=Array.isArray(H)?H:[H];let tt=Ve.reduce(i(R),{});q===!1&&(tt={});const{prevResolvedValues:Qe={}}=U,qe={...Qe,...tt},Oe=ke=>{le=!0,T.has(ke)&&(ae=!0,T.delete(ke)),U.needsAnimating[ke]=!0;const Le=t.getValue(ke);Le&&(Le.liveStyle=!1)};for(const ke in qe){const Le=tt[ke],et=Qe[ke];if(E.hasOwnProperty(ke))continue;let ge=!1;$m(Le)&&$m(et)?ge=!_C(Le,et):ge=Le!==et,ge?Le!=null?Oe(ke):T.add(ke):Le!==void 0&&T.has(ke)?Oe(ke):U.protectedKeys[ke]=!0}U.prevProp=H,U.prevResolvedValues=tt,U.isActive&&(E={...E,...tt}),r&&t.blockInitialAnimation&&(le=!1),le&&(!(ie&&x)||ae)&&g.push(...Ve.map(ke=>({animation:ke,options:{type:R}})))}if(T.size){const j={};T.forEach(R=>{const U=t.getBaseTarget(R),H=t.getValue(R);H&&(H.liveStyle=!0),j[R]=U??null}),g.push({animation:j})}let I=!!g.length;return r&&(p.initial===!1||p.initial===p.animate)&&!t.manuallyAnimateOnMount&&(I=!1),r=!1,I?e(g):Promise.resolve()}function c(f,p){var y;if(n[f].isActive===p)return Promise.resolve();(y=t.variantChildren)===null||y===void 0||y.forEach(T=>{var E;return(E=T.animationState)===null||E===void 0?void 0:E.setActive(f,p)}),n[f].isActive=p;const g=a(f);for(const T in n)n[T].protectedKeys={};return g}return{animateChanges:a,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Xw(),r=!0}}}function SB(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!_C(e,t):!1}function ac(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Xw(){return{animate:ac(!0),whileInView:ac(),whileHover:ac(),whileTap:ac(),whileDrag:ac(),whileFocus:ac(),exit:ac()}}let ku=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},TB=class extends ku{constructor(e){super(e),e.animationState||(e.animationState=xB(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Rp(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}},CB=0,EB=class extends ku{constructor(){super(...arguments),this.id=CB++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}};const kB={animation:{Feature:TB},exit:{Feature:EB}};function Nd(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}function Xd(t){return{point:{x:t.pageX,y:t.pageY}}}const DB=t=>e=>gy(e)&&t(e,Xd(e));function bd(t,e,n,r){return Nd(t,e,DB(n),r)}const Kw=(t,e)=>Math.abs(t-e);function PB(t,e){const n=Kw(t.x,e.x),r=Kw(t.y,e.y);return Math.sqrt(n**2+r**2)}let yE=class{constructor(e,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Hg(this.lastMoveEventInfo,this.history),T=this.startEvent!==null,E=PB(g.offset,{x:0,y:0})>=3;if(!T&&!E)return;const{point:A}=g,{timestamp:I}=Ei;this.history.push({...A,timestamp:I});const{onStart:j,onMove:R}=this.handlers;T||(j&&j(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),R&&R(this.lastMoveEvent,g)},this.handlePointerMove=(g,T)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=Vg(T,this.transformPagePoint),Fn.update(this.updatePoint,!0)},this.handlePointerUp=(g,T)=>{this.end();const{onEnd:E,onSessionEnd:A,resumeAnimation:I}=this.handlers;if(this.dragSnapToOrigin&&I&&I(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=Hg(g.type==="pointercancel"?this.lastMoveEventInfo:Vg(T,this.transformPagePoint),this.history);this.startEvent&&E&&E(g,j),A&&A(g,j)},!gy(e))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const a=Xd(e),c=Vg(a,this.transformPagePoint),{point:f}=c,{timestamp:p}=Ei;this.history=[{...f,timestamp:p}];const{onSessionStart:y}=n;y&&y(e,Hg(c,this.history)),this.removeListeners=qd(bd(this.contextWindow,"pointermove",this.handlePointerMove),bd(this.contextWindow,"pointerup",this.handlePointerUp),bd(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),bu(this.updatePoint)}};function Vg(t,e){return e?{point:e(t.point)}:t}function Zw(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Hg({point:t},e){return{point:t,delta:Zw(t,bE(e)),offset:Zw(t,OB(e)),velocity:_B(e,.1)}}function OB(t){return t[0]}function bE(t){return t[t.length-1]}function _B(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const i=bE(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>ja(e)));)n--;if(!r)return{x:0,y:0};const o=Cl(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}const wE=1e-4,RB=1-wE,AB=1+wE,xE=.01,IB=0-xE,MB=0+xE;function Qo(t){return t.max-t.min}function LB(t,e,n){return Math.abs(t-e)<=n}function Jw(t,e,n,r=.5){t.origin=r,t.originPoint=Kn(e.min,e.max,t.origin),t.scale=Qo(n)/Qo(e),t.translate=Kn(n.min,n.max,t.origin)-t.originPoint,(t.scale>=RB&&t.scale<=AB||isNaN(t.scale))&&(t.scale=1),(t.translate>=IB&&t.translate<=MB||isNaN(t.translate))&&(t.translate=0)}function wd(t,e,n,r){Jw(t.x,e.x,n.x,r?r.originX:void 0),Jw(t.y,e.y,n.y,r?r.originY:void 0)}function Qw(t,e,n){t.min=n.min+e.min,t.max=t.min+Qo(e)}function FB(t,e,n){Qw(t.x,e.x,n.x),Qw(t.y,e.y,n.y)}function ex(t,e,n){t.min=e.min-n.min,t.max=t.min+Qo(e)}function xd(t,e,n){ex(t.x,e.x,n.x),ex(t.y,e.y,n.y)}function NB(t,{min:e,max:n},r){return e!==void 0&&t<e?t=r?Kn(e,t,r.min):Math.max(t,e):n!==void 0&&t>n&&(t=r?Kn(n,t,r.max):Math.min(t,n)),t}function tx(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function jB(t,{top:e,left:n,bottom:r,right:i}){return{x:tx(t.x,n,i),y:tx(t.y,e,r)}}function nx(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,r]=[r,n]),{min:n,max:r}}function BB(t,e){return{x:nx(t.x,e.x),y:nx(t.y,e.y)}}function $B(t,e){let n=.5;const r=Qo(t),i=Qo(e);return i>r?n=Pf(e.min,e.max-r,t.min):r>i&&(n=Pf(t.min,t.max-i,e.min)),Pl(0,1,n)}function VB(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const Zm=.35;function HB(t=Zm){return t===!1?t=0:t===!0&&(t=Zm),{x:rx(t,"left","right"),y:rx(t,"top","bottom")}}function rx(t,e,n){return{min:ix(t,e),max:ix(t,n)}}function ix(t,e){return typeof t=="number"?t:t[e]||0}const ox=()=>({translate:0,scale:1,origin:0,originPoint:0}),vf=()=>({x:ox(),y:ox()}),sx=()=>({min:0,max:0}),gr=()=>({x:sx(),y:sx()});function Ds(t){return[t("x"),t("y")]}function SE({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function UB({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function WB(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Ug(t){return t===void 0||t===1}function Jm({scale:t,scaleX:e,scaleY:n}){return!Ug(t)||!Ug(e)||!Ug(n)}function fc(t){return Jm(t)||TE(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function TE(t){return ax(t.x)||ax(t.y)}function ax(t){return t&&t!=="0%"}function up(t,e,n){const r=t-n,i=e*r;return n+i}function lx(t,e,n,r,i){return i!==void 0&&(t=up(t,i,r)),up(t,n,r)+e}function Qm(t,e=0,n=1,r,i){t.min=lx(t.min,e,n,r,i),t.max=lx(t.max,e,n,r,i)}function CE(t,{x:e,y:n}){Qm(t.x,e.translate,e.scale,e.originPoint),Qm(t.y,n.translate,n.scale,n.originPoint)}const ux=.999999999999,cx=1.0000000000001;function zB(t,e,n,r=!1){const i=n.length;if(!i)return;e.x=e.y=1;let o,a;for(let c=0;c<i;c++){o=n[c],a=o.projectionDelta;const{visualElement:f}=o.options;f&&f.props.style&&f.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&bf(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,CE(t,a)),r&&fc(o.latestValues)&&bf(t,o.latestValues))}e.x<cx&&e.x>ux&&(e.x=1),e.y<cx&&e.y>ux&&(e.y=1)}function yf(t,e){t.min=t.min+e,t.max=t.max+e}function fx(t,e,n,r,i=.5){const o=Kn(t.min,t.max,i);Qm(t,e,n,o,r)}function bf(t,e){fx(t.x,e.x,e.scaleX,e.scale,e.originX),fx(t.y,e.y,e.scaleY,e.scale,e.originY)}function EE(t,e){return SE(WB(t.getBoundingClientRect(),e))}function YB(t,e,n){const r=EE(t,n),{scroll:i}=e;return i&&(yf(r.x,i.offset.x),yf(r.y,i.offset.y)),r}const kE=({current:t})=>t?t.ownerDocument.defaultView:null,GB=new WeakMap;let qB=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=gr(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=y=>{const{dragSnapToOrigin:g}=this.getProps();g?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Xd(y).point)},o=(y,g)=>{const{drag:T,dragPropagation:E,onDragStart:A}=this.getProps();if(T&&!E&&(this.openDragLock&&this.openDragLock(),this.openDragLock=$N(T),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ds(j=>{let R=this.getAxisMotionValue(j).get()||0;if(Ba.test(R)){const{projection:U}=this.visualElement;if(U&&U.layout){const H=U.layout.layoutBox[j];H&&(R=Qo(H)*(parseFloat(R)/100))}}this.originPoint[j]=R}),A&&Fn.postRender(()=>A(y,g)),Um(this.visualElement,"transform");const{animationState:I}=this.visualElement;I&&I.setActive("whileDrag",!0)},a=(y,g)=>{const{dragPropagation:T,dragDirectionLock:E,onDirectionLock:A,onDrag:I}=this.getProps();if(!T&&!this.openDragLock)return;const{offset:j}=g;if(E&&this.currentDirection===null){this.currentDirection=XB(j),this.currentDirection!==null&&A&&A(this.currentDirection);return}this.updateAxis("x",g.point,j),this.updateAxis("y",g.point,j),this.visualElement.render(),I&&I(y,g)},c=(y,g)=>this.stop(y,g),f=()=>Ds(y=>{var g;return this.getAnimationState(y)==="paused"&&((g=this.getAxisMotionValue(y).animation)===null||g===void 0?void 0:g.play())}),{dragSnapToOrigin:p}=this.getProps();this.panSession=new yE(e,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:c,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,contextWindow:kE(this.visualElement)})}stop(e,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&Fn.postRender(()=>o(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,r){const{drag:i}=this.getProps();if(!r||!Eh(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let a=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(a=NB(a,this.constraints[e],this.elastic[e])),o.set(a)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,o=this.constraints;n&&gf(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=jB(i.layoutBox,n):this.constraints=!1,this.elastic=HB(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Ds(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=VB(i.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!gf(e))return!1;const r=e.current;yu(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=YB(r,i.root,this.visualElement.getTransformPagePoint());let a=BB(i.layout.layoutBox,o);if(n){const c=n(UB(a));this.hasMutatedConstraints=!!c,c&&(a=SE(c))}return a}startAnimation(e){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:c}=this.getProps(),f=this.constraints||{},p=Ds(y=>{if(!Eh(y,n,this.currentDirection))return;let g=f&&f[y]||{};a&&(g={min:0,max:0});const T=i?200:1e6,E=i?40:1e7,A={type:"inertia",velocity:r?e[y]:0,bounceStiffness:T,bounceDamping:E,timeConstant:750,restDelta:1,restSpeed:10,...o,...g};return this.startAxisValueAnimation(y,A)});return Promise.all(p).then(c)}startAxisValueAnimation(e,n){const r=this.getAxisMotionValue(e);return Um(this.visualElement,e),r.start(Dy(e,r,0,n,this.visualElement,!1))}stopAnimation(){Ds(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Ds(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Ds(n=>{const{drag:r}=this.getProps();if(!Eh(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:c}=i.layout.layoutBox[n];o.set(e[n]-Kn(a,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!gf(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ds(a=>{const c=this.getAxisMotionValue(a);if(c&&this.constraints!==!1){const f=c.get();i[a]=$B({min:f,max:f},this.constraints[a])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Ds(a=>{if(!Eh(a,e,null))return;const c=this.getAxisMotionValue(a),{min:f,max:p}=this.constraints[a];c.set(Kn(f,p,i[a]))})}addListeners(){if(!this.visualElement.current)return;GB.set(this.visualElement,this);const e=this.visualElement.current,n=bd(e,"pointerdown",f=>{const{drag:p,dragListener:y=!0}=this.getProps();p&&y&&this.start(f)}),r=()=>{const{dragConstraints:f}=this.getProps();gf(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),Fn.read(r);const a=Nd(window,"resize",()=>this.scalePositionWithinConstraints()),c=i.addEventListener("didUpdate",({delta:f,hasLayoutChanged:p})=>{this.isDragging&&p&&(Ds(y=>{const g=this.getAxisMotionValue(y);g&&(this.originPoint[y]+=f[y].translate,g.set(g.get()+f[y].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),c&&c()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=Zm,dragMomentum:c=!0}=e;return{...e,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:c}}};function Eh(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function XB(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}let KB=class extends ku{constructor(e){super(e),this.removeGroupControls=_o,this.removeListeners=_o,this.controls=new qB(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||_o}unmount(){this.removeGroupControls(),this.removeListeners()}};const dx=t=>(e,n)=>{t&&Fn.postRender(()=>t(e,n))};let ZB=class extends ku{constructor(){super(...arguments),this.removePointerDownListener=_o}onPointerDown(e){this.session=new yE(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:kE(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:dx(e),onStart:dx(n),onMove:r,onEnd:(o,a)=>{delete this.session,i&&Fn.postRender(()=>i(o,a))}}}mount(){this.removePointerDownListener=bd(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};const $h={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function hx(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const od={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(Ot.test(t))t=parseFloat(t);else return t;const n=hx(t,e.target.x),r=hx(t,e.target.y);return`${n}% ${r}%`}},JB={correct:(t,{treeScale:e,projectionDelta:n})=>{const r=t,i=wu.parse(t);if(i.length>5)return r;const o=wu.createTransformer(t),a=typeof i[0]!="number"?1:0,c=n.x.scale*e.x,f=n.y.scale*e.y;i[0+a]/=c,i[1+a]/=f;const p=Kn(c,f,.5);return typeof i[2+a]=="number"&&(i[2+a]/=p),typeof i[3+a]=="number"&&(i[3+a]/=p),o(i)}};let QB=class extends X.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=e;bN(e$),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),$h.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,a=r.projection;return a&&(a.isPresent=o,i||e.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?a.promote():a.relegate()||Fn.postRender(()=>{const c=a.getStack();(!c||!c.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),ny.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}};function DE(t){const[e,n]=MF(),r=X.useContext(cC);return Pe.jsx(QB,{...t,layoutGroup:r,switchLayoutGroup:X.useContext(vC),isPresent:e,safeToRemove:n})}const e$={borderRadius:{...od,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:od,borderTopRightRadius:od,borderBottomLeftRadius:od,borderBottomRightRadius:od,boxShadow:JB};function t$(t,e,n){const r=ji(t)?t:Ld(t);return r.start(Dy("",r,e,n)),r.animation}function n$(t){return t instanceof SVGElement&&t.tagName!=="svg"}const r$=(t,e)=>t.depth-e.depth;let i$=class{constructor(){this.children=[],this.isDirty=!1}add(e){my(this.children,e),this.isDirty=!0}remove(e){vy(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(r$),this.isDirty=!1,this.children.forEach(e)}};function o$(t,e){const n=$a.now(),r=({timestamp:i})=>{const o=i-n;o>=e&&(bu(r),t(o-e))};return Fn.read(r,!0),()=>bu(r)}const PE=["TopLeft","TopRight","BottomLeft","BottomRight"],s$=PE.length,px=t=>typeof t=="string"?parseFloat(t):t,gx=t=>typeof t=="number"||Ot.test(t);function a$(t,e,n,r,i,o){i?(t.opacity=Kn(0,n.opacity!==void 0?n.opacity:1,l$(r)),t.opacityExit=Kn(e.opacity!==void 0?e.opacity:1,0,u$(r))):o&&(t.opacity=Kn(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a<s$;a++){const c=`border${PE[a]}Radius`;let f=mx(e,c),p=mx(n,c);if(f===void 0&&p===void 0)continue;f||(f=0),p||(p=0),f===0||p===0||gx(f)===gx(p)?(t[c]=Math.max(Kn(px(f),px(p),r),0),(Ba.test(p)||Ba.test(f))&&(t[c]+="%")):t[c]=p}(e.rotate||n.rotate)&&(t.rotate=Kn(e.rotate||0,n.rotate||0,r))}function mx(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const l$=OE(0,.5,GC),u$=OE(.5,.95,_o);function OE(t,e,n){return r=>r<t?0:r>e?1:n(Pf(t,e,r))}function vx(t,e){t.min=e.min,t.max=e.max}function Ts(t,e){vx(t.x,e.x),vx(t.y,e.y)}function yx(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function bx(t,e,n,r,i){return t-=e,t=up(t,1/n,r),i!==void 0&&(t=up(t,1/i,r)),t}function c$(t,e=0,n=1,r=.5,i,o=t,a=t){if(Ba.test(e)&&(e=parseFloat(e),e=Kn(a.min,a.max,e/100)-a.min),typeof e!="number")return;let c=Kn(o.min,o.max,r);t===o&&(c-=e),t.min=bx(t.min,e,n,c,i),t.max=bx(t.max,e,n,c,i)}function wx(t,e,[n,r,i],o,a){c$(t,e[n],e[r],e[i],e.scale,o,a)}const f$=["x","scaleX","originX"],d$=["y","scaleY","originY"];function xx(t,e,n,r){wx(t.x,e,f$,n?n.x:void 0,r?r.x:void 0),wx(t.y,e,d$,n?n.y:void 0,r?r.y:void 0)}function Sx(t){return t.translate===0&&t.scale===1}function _E(t){return Sx(t.x)&&Sx(t.y)}function Tx(t,e){return t.min===e.min&&t.max===e.max}function h$(t,e){return Tx(t.x,e.x)&&Tx(t.y,e.y)}function Cx(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function RE(t,e){return Cx(t.x,e.x)&&Cx(t.y,e.y)}function Ex(t){return Qo(t.x)/Qo(t.y)}function kx(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}let p$=class{constructor(){this.members=[]}add(e){my(this.members,e),e.scheduleRender()}remove(e){if(vy(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(e,n){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,n&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:r}=e;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function g$(t,e,n){let r="";const i=t.x.translate/e.x,o=t.y.translate/e.y,a=(n==null?void 0:n.z)||0;if((i||o||a)&&(r=`translate3d(${i}px, ${o}px, ${a}px) `),(e.x!==1||e.y!==1)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:p,rotate:y,rotateX:g,rotateY:T,skewX:E,skewY:A}=n;p&&(r=`perspective(${p}px) ${r}`),y&&(r+=`rotate(${y}deg) `),g&&(r+=`rotateX(${g}deg) `),T&&(r+=`rotateY(${T}deg) `),E&&(r+=`skewX(${E}deg) `),A&&(r+=`skewY(${A}deg) `)}const c=t.x.scale*e.x,f=t.y.scale*e.y;return(c!==1||f!==1)&&(r+=`scale(${c}, ${f})`),r||"none"}const dc={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},dd=typeof window<"u"&&window.MotionDebug!==void 0,Wg=["","X","Y","Z"],m$={visibility:"hidden"},Dx=1e3;let v$=0;function zg(t,e,n,r){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),r&&(r[t]=0))}function AE(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=$C(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",Fn,!(i||o))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&AE(r)}function IE({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a={},c=e==null?void 0:e()){this.id=v$++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,dd&&(dc.totalNodes=dc.resolvedTargetDeltas=dc.recalculatedProjection=0),this.nodes.forEach(w$),this.nodes.forEach(E$),this.nodes.forEach(k$),this.nodes.forEach(x$),dd&&window.MotionDebug.record(dc)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new i$)}addEventListener(a,c){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new yy),this.eventHandlers.get(a).add(c)}notifyListeners(a,...c){const f=this.eventHandlers.get(a);f&&f.notify(...c)}hasListeners(a){return this.eventHandlers.has(a)}mount(a,c=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=n$(a),this.instance=a;const{layoutId:f,layout:p,visualElement:y}=this.options;if(y&&!y.current&&y.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),c&&(p||f)&&(this.isLayoutDirty=!0),t){let g;const T=()=>this.root.updateBlockedByResize=!1;t(a,()=>{this.root.updateBlockedByResize=!0,g&&g(),g=o$(T,250),$h.hasAnimatedSinceResize&&($h.hasAnimatedSinceResize=!1,this.nodes.forEach(Ox))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&y&&(f||p)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:T,hasRelativeTargetChanged:E,layout:A})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const I=this.options.transition||y.getDefaultTransition()||R$,{onLayoutAnimationStart:j,onLayoutAnimationComplete:R}=y.getProps(),U=!this.targetLayout||!RE(this.targetLayout,A)||E,H=!T&&E;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||H||T&&(U||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(g,H);const ne={...dy(I,"layout"),onPlay:j,onComplete:R};(y.shouldReduceMotion||this.options.layoutRoot)&&(ne.delay=0,ne.type=!1),this.startAnimation(ne)}else T||Ox(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=A})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,bu(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(D$),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&AE(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const g=this.path[y];g.shouldResetTransform=!0,g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}const{layoutId:c,layout:f}=this.options;if(c===void 0&&!f)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Px);return}this.isUpdating||this.nodes.forEach(T$),this.isUpdating=!1,this.nodes.forEach(C$),this.nodes.forEach(y$),this.nodes.forEach(b$),this.clearAllSnapshots();const c=$a.now();Ei.delta=Pl(0,1e3/60,c-Ei.timestamp),Ei.timestamp=c,Ei.isProcessing=!0,Fg.update.process(Ei),Fg.preRender.process(Ei),Fg.render.process(Ei),Ei.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ny.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(S$),this.sharedNodes.forEach(P$)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Fn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Fn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=gr(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:c}=this.options;c&&c.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let c=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(c=!1),c){const f=r(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!i)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,c=this.projectionDelta&&!_E(this.projectionDelta),f=this.getTransformTemplate(),p=f?f(this.latestValues,""):void 0,y=p!==this.prevTransformTemplateValue;a&&(c||fc(this.latestValues)||y)&&(i(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const c=this.measurePageBox();let f=this.removeElementScroll(c);return a&&(f=this.removeTransform(f)),A$(f),{animationId:this.root.animationId,measuredBox:c,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var a;const{visualElement:c}=this.options;if(!c)return gr();const f=c.measureViewportBox();if(!(((a=this.scroll)===null||a===void 0?void 0:a.wasRoot)||this.path.some(I$))){const{scroll:y}=this.root;y&&(yf(f.x,y.offset.x),yf(f.y,y.offset.y))}return f}removeElementScroll(a){var c;const f=gr();if(Ts(f,a),!((c=this.scroll)===null||c===void 0)&&c.wasRoot)return f;for(let p=0;p<this.path.length;p++){const y=this.path[p],{scroll:g,options:T}=y;y!==this.root&&g&&T.layoutScroll&&(g.wasRoot&&Ts(f,a),yf(f.x,g.offset.x),yf(f.y,g.offset.y))}return f}applyTransform(a,c=!1){const f=gr();Ts(f,a);for(let p=0;p<this.path.length;p++){const y=this.path[p];!c&&y.options.layoutScroll&&y.scroll&&y!==y.root&&bf(f,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),fc(y.latestValues)&&bf(f,y.latestValues)}return fc(this.latestValues)&&bf(f,this.latestValues),f}removeTransform(a){const c=gr();Ts(c,a);for(let f=0;f<this.path.length;f++){const p=this.path[f];if(!p.instance||!fc(p.latestValues))continue;Jm(p.latestValues)&&p.updateSnapshot();const y=gr(),g=p.measurePageBox();Ts(y,g),xx(c,p.latestValues,p.snapshot?p.snapshot.layoutBox:void 0,y)}return fc(this.latestValues)&&xx(c,this.latestValues),c}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ei.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var c;const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==f;if(!(a||p&&this.isSharedProjectionDirty||this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:T}=this.options;if(!(!this.layout||!(g||T))){if(this.resolvedRelativeTargetAt=Ei.timestamp,!this.targetDelta&&!this.relativeTarget){const E=this.getClosestProjectingParent();E&&E.layout&&this.animationProgress!==1?(this.relativeParent=E,this.forceRelativeParentToResolveTarget(),this.relativeTarget=gr(),this.relativeTargetOrigin=gr(),xd(this.relativeTargetOrigin,this.layout.layoutBox,E.layout.layoutBox),Ts(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=gr(),this.targetWithTransforms=gr()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),FB(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ts(this.target,this.layout.layoutBox),CE(this.target,this.targetDelta)):Ts(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const E=this.getClosestProjectingParent();E&&!!E.resumingFrom==!!this.resumingFrom&&!E.options.layoutScroll&&E.target&&this.animationProgress!==1?(this.relativeParent=E,this.forceRelativeParentToResolveTarget(),this.relativeTarget=gr(),this.relativeTargetOrigin=gr(),xd(this.relativeTargetOrigin,this.target,E.target),Ts(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}dd&&dc.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Jm(this.parent.latestValues)||TE(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var a;const c=this.getLead(),f=!!this.resumingFrom||this!==c;let p=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(p=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===Ei.timestamp&&(p=!1),p)return;const{layout:y,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||g))return;Ts(this.layoutCorrected,this.layout.layoutBox);const T=this.treeScale.x,E=this.treeScale.y;zB(this.layoutCorrected,this.treeScale,this.path,f),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=gr());const{target:A}=c;if(!A){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(yx(this.prevProjectionDelta.x,this.projectionDelta.x),yx(this.prevProjectionDelta.y,this.projectionDelta.y)),wd(this.projectionDelta,this.layoutCorrected,A,this.latestValues),(this.treeScale.x!==T||this.treeScale.y!==E||!kx(this.projectionDelta.x,this.prevProjectionDelta.x)||!kx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",A)),dd&&dc.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){var c;if((c=this.options.visualElement)===null||c===void 0||c.scheduleRender(),a){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=vf(),this.projectionDelta=vf(),this.projectionDeltaWithTransform=vf()}setAnimationOrigin(a,c=!1){const f=this.snapshot,p=f?f.latestValues:{},y={...this.latestValues},g=vf();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!c;const T=gr(),E=f?f.source:void 0,A=this.layout?this.layout.source:void 0,I=E!==A,j=this.getStack(),R=!j||j.members.length<=1,U=!!(I&&!R&&this.options.crossfade===!0&&!this.path.some(_$));this.animationProgress=0;let H;this.mixTargetDelta=ne=>{const q=ne/1e3;_x(g.x,a.x,q),_x(g.y,a.y,q),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(xd(T,this.layout.layoutBox,this.relativeParent.layout.layoutBox),O$(this.relativeTarget,this.relativeTargetOrigin,T,q),H&&h$(this.relativeTarget,H)&&(this.isProjectionDirty=!1),H||(H=gr()),Ts(H,this.relativeTarget)),I&&(this.animationValues=y,a$(y,p,this.latestValues,q,U,R)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=q},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(bu(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Fn.update(()=>{$h.hasAnimatedSinceResize=!0,this.currentAnimation=t$(0,Dx,{...a,onUpdate:c=>{this.mixTargetDelta(c),a.onUpdate&&a.onUpdate(c)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Dx),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:c,target:f,layout:p,latestValues:y}=a;if(!(!c||!f||!p)){if(this!==a&&this.layout&&p&&ME(this.options.animationType,this.layout.layoutBox,p.layoutBox)){f=this.target||gr();const g=Qo(this.layout.layoutBox.x);f.x.min=a.target.x.min,f.x.max=f.x.min+g;const T=Qo(this.layout.layoutBox.y);f.y.min=a.target.y.min,f.y.max=f.y.min+T}Ts(c,f),bf(c,y),wd(this.projectionDeltaWithTransform,this.layoutCorrected,c,y)}}registerSharedNode(a,c){this.sharedNodes.has(a)||this.sharedNodes.set(a,new p$),this.sharedNodes.get(a).add(c);const p=c.options.initialPromotionConfig;c.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(c):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:c}=this.options;return c?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:c}=this.options;return c?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:c,preserveFollowOpacity:f}={}){const p=this.getStack();p&&p.promote(this,f),a&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let c=!1;const{latestValues:f}=a;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(c=!0),!c)return;const p={};f.z&&zg("z",a,p,this.animationValues);for(let y=0;y<Wg.length;y++)zg(`rotate${Wg[y]}`,a,p,this.animationValues),zg(`skew${Wg[y]}`,a,p,this.animationValues);a.render();for(const y in p)a.setStaticValue(y,p[y]),this.animationValues&&(this.animationValues[y]=p[y]);a.scheduleRender()}getProjectionStyles(a){var c,f;if(!this.instance||this.isSVG)return;if(!this.isVisible)return m$;const p={visibility:""},y=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,p.opacity="",p.pointerEvents=jh(a==null?void 0:a.pointerEvents)||"",p.transform=y?y(this.latestValues,""):"none",p;const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){const I={};return this.options.layoutId&&(I.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,I.pointerEvents=jh(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!fc(this.latestValues)&&(I.transform=y?y({},""):"none",this.hasProjected=!1),I}const T=g.animationValues||g.latestValues;this.applyTransformsToTarget(),p.transform=g$(this.projectionDeltaWithTransform,this.treeScale,T),y&&(p.transform=y(T,p.transform));const{x:E,y:A}=this.projectionDelta;p.transformOrigin=`${E.origin*100}% ${A.origin*100}% 0`,g.animationValues?p.opacity=g===this?(f=(c=T.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:T.opacityExit:p.opacity=g===this?T.opacity!==void 0?T.opacity:"":T.opacityExit!==void 0?T.opacityExit:0;for(const I in ip){if(T[I]===void 0)continue;const{correct:j,applyTo:R}=ip[I],U=p.transform==="none"?T[I]:j(T[I],g);if(R){const H=R.length;for(let ne=0;ne<H;ne++)p[R[ne]]=U}else p[I]=U}return this.options.layoutId&&(p.pointerEvents=g===this?jh(a==null?void 0:a.pointerEvents)||"":"none"),p}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var c;return(c=a.currentAnimation)===null||c===void 0?void 0:c.stop()}),this.root.nodes.forEach(Px),this.root.sharedNodes.clear()}}}function y$(t){t.updateLayout()}function b$(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=t.layout,{animationType:o}=t.options,a=n.source!==t.layout.source;o==="size"?Ds(g=>{const T=a?n.measuredBox[g]:n.layoutBox[g],E=Qo(T);T.min=r[g].min,T.max=T.min+E}):ME(o,n.layoutBox,r)&&Ds(g=>{const T=a?n.measuredBox[g]:n.layoutBox[g],E=Qo(r[g]);T.max=T.min+E,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[g].max=t.relativeTarget[g].min+E)});const c=vf();wd(c,r,n.layoutBox);const f=vf();a?wd(f,t.applyTransform(i,!0),n.measuredBox):wd(f,r,n.layoutBox);const p=!_E(c);let y=!1;if(!t.resumeFrom){const g=t.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:T,layout:E}=g;if(T&&E){const A=gr();xd(A,n.layoutBox,T.layoutBox);const I=gr();xd(I,r,E.layoutBox),RE(A,I)||(y=!0),g.options.layoutRoot&&(t.relativeTarget=I,t.relativeTargetOrigin=A,t.relativeParent=g)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:f,layoutDelta:c,hasLayoutChanged:p,hasRelativeTargetChanged:y})}else if(t.isLead()){const{onExitComplete:r}=t.options;r&&r()}t.options.transition=void 0}function w$(t){dd&&dc.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function x$(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function S$(t){t.clearSnapshot()}function Px(t){t.clearMeasurements()}function T$(t){t.isLayoutDirty=!1}function C$(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Ox(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function E$(t){t.resolveTargetDelta()}function k$(t){t.calcProjection()}function D$(t){t.resetSkewAndRotation()}function P$(t){t.removeLeadSnapshot()}function _x(t,e,n){t.translate=Kn(e.translate,0,n),t.scale=Kn(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Rx(t,e,n,r){t.min=Kn(e.min,n.min,r),t.max=Kn(e.max,n.max,r)}function O$(t,e,n,r){Rx(t.x,e.x,n.x,r),Rx(t.y,e.y,n.y,r)}function _$(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const R$={duration:.45,ease:[.4,0,.1,1]},Ax=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Ix=Ax("applewebkit/")&&!Ax("chrome/")?Math.round:_o;function Mx(t){t.min=Ix(t.min),t.max=Ix(t.max)}function A$(t){Mx(t.x),Mx(t.y)}function ME(t,e,n){return t==="position"||t==="preserve-aspect"&&!LB(Ex(e),Ex(n),.2)}function I$(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const M$=IE({attachResizeListener:(t,e)=>Nd(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Yg={current:void 0},LE=IE({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Yg.current){const t=new M$({});t.mount(window),t.setOptions({layoutScroll:!0}),Yg.current=t}return Yg.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),L$={pan:{Feature:ZB},drag:{Feature:KB,ProjectionNode:LE,MeasureLayout:DE}};function Lx(t,e,n){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&Fn.postRender(()=>o(e,Xd(e)))}let F$=class extends ku{mount(){const{current:e}=this.node;e&&(this.unmount=LN(e,n=>(Lx(this.node,n,"Start"),r=>Lx(this.node,r,"End"))))}unmount(){}},N$=class extends ku{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=qd(Nd(this.node.current,"focus",()=>this.onFocus()),Nd(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function Fx(t,e,n){const{props:r}=t;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&Fn.postRender(()=>o(e,Xd(e)))}let j$=class extends ku{mount(){const{current:e}=this.node;e&&(this.unmount=BN(e,n=>(Fx(this.node,n,"Start"),(r,{success:i})=>Fx(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};const ev=new WeakMap,Gg=new WeakMap,B$=t=>{const e=ev.get(t.target);e&&e(t)},$$=t=>{t.forEach(B$)};function V$({root:t,...e}){const n=t||document;Gg.has(n)||Gg.set(n,{});const r=Gg.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver($$,{root:t,...e})),r[i]}function H$(t,e,n){const r=V$(e);return ev.set(t,n),r.observe(t),()=>{ev.delete(t),r.unobserve(t)}}const U$={some:0,all:1};let W$=class extends ku{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=e,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:U$[i]},c=f=>{const{isIntersecting:p}=f;if(this.isInView===p||(this.isInView=p,o&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:y,onViewportLeave:g}=this.node.getProps(),T=p?y:g;T&&T(f)};return H$(this.node.current,a,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(z$(e,n))&&this.startObserver()}unmount(){}};function z$({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const Y$={inView:{Feature:W$},tap:{Feature:j$},focus:{Feature:N$},hover:{Feature:F$}},G$={layout:{ProjectionNode:LE,MeasureLayout:DE}},tv={current:null},FE={current:!1};function q$(){if(FE.current=!0,!!Zv)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tv.current=t.matches;t.addListener(e),e()}else tv.current=!1}const X$=[...aE,Ni,wu],K$=t=>X$.find(sE(t)),Nx=new WeakMap;function Z$(t,e,n){for(const r in e){const i=e[r],o=n[r];if(ji(i))t.addValue(r,i),process.env.NODE_ENV==="development"&&Op(i.version==="11.18.2",`Attempting to mix Motion versions ${i.version} with 11.18.2 may not work as expected.`);else if(ji(o))t.addValue(r,Ld(i,{owner:t}));else if(o!==i)if(t.hasValue(r)){const a=t.getValue(r);a.liveStyle===!0?a.jump(i):a.hasAnimated||a.set(i)}else{const a=t.getStaticValue(r);t.addValue(r,Ld(a!==void 0?a:i,{owner:t}))}}for(const r in n)e[r]===void 0&&t.removeValue(r);return e}const jx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let J$=class{scrapeMotionValuesFromProps(e,n,r){return{}}constructor({parent:e,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:a},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Cy,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const E=$a.now();this.renderScheduledAt<E&&(this.renderScheduledAt=E,Fn.render(this.render,!1,!0))};const{latestValues:f,renderState:p,onUpdate:y}=a;this.onUpdate=y,this.latestValues=f,this.baseTarget={...f},this.initialValues=n.initial?{...f}:{},this.renderState=p,this.parent=e,this.props=n,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=c,this.blockInitialAnimation=!!o,this.isControllingVariants=Ap(n),this.isVariantNode=gC(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:g,...T}=this.scrapeMotionValuesFromProps(n,{},this);for(const E in T){const A=T[E];f[E]!==void 0&&ji(A)&&A.set(f[E],!1)}}mount(e){this.current=e,Nx.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),FE.current||q$(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:tv.current,process.env.NODE_ENV!=="production"&&Op(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Nx.delete(this.current),this.projection&&this.projection.unmount(),bu(this.notifyUpdate),bu(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const r=Rc.has(e),i=n.on("change",c=>{this.latestValues[e]=c,this.props.onUpdate&&Fn.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),o(),a&&a(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Of){const n=Of[e];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[e]&&i&&r(this.props)&&(this.features[e]=new i(this)),this.features[e]){const o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):gr()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<jx.length;r++){const i=jx[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,a=e[o];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=Z$(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const r=this.values.get(e);n!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return r===void 0&&n!==void 0&&(r=Ld(n===null?void 0:n,{owner:this}),this.addValue(e,r)),r}readValue(e,n){var r;let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(r=this.getBaseTargetFromProps(this.props,e))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(iE(i)||XC(i))?i=parseFloat(i):!K$(i)&&wu.test(n)&&(i=tE(e,n)),this.setBaseTarget(e,ji(i)?i.get():i)),ji(i)?i.get():i}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const a=iy(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);a&&(i=a[e])}if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,e);return o!==void 0&&!ji(o)?o:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new yy),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}},NE=class extends J${constructor(){super(...arguments),this.KeyframeResolver=lE}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:r}){delete n[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;ji(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}};function Q$(t){return window.getComputedStyle(t)}let eV=class extends NE{constructor(){super(...arguments),this.type="html",this.renderInstance=CC}readValueFromInstance(e,n){if(Rc.has(n)){const r=Ty(n);return r&&r.default||0}else{const r=Q$(e),i=(xC(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return EE(e,n)}build(e,n,r){ay(e,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,n,r){return fy(e,n,r)}},tV=class extends NE{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=gr}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(Rc.has(n)){const r=Ty(n);return r&&r.default||0}return n=EC.has(n)?n:ty(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,r){return PC(e,n,r)}build(e,n,r){ly(e,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,n,r,i){kC(e,n,r,i)}mount(e){this.isSVGTag=cy(e.tagName),super.mount(e)}};const nV=(t,e)=>ry(t)?new tV(e):new eV(e,{allowProjection:t!==X.Fragment}),rV=PN({...kB,...Y$,...L$,...G$},nV),iV=UF(rV);function nv(t,e,n){var r,i,o,a,c;e==null&&(e=100);function f(){var y=Date.now()-a;y<e&&y>=0?r=setTimeout(f,e-y):(r=null,n||(c=t.apply(o,i),o=i=null))}var p=function(){o=this,i=arguments,a=Date.now();var y=n&&!r;return r||(r=setTimeout(f,e)),y&&(c=t.apply(o,i),o=i=null),c};return p.clear=function(){r&&(clearTimeout(r),r=null)},p.flush=function(){r&&(c=t.apply(o,i),o=i=null,clearTimeout(r),r=null)},p}nv.debounce=nv;var oV=nv;const Bx=Eu(oV);function sV(t){let{debounce:e,scroll:n,polyfill:r,offsetSize:i}=t===void 0?{debounce:0,scroll:!1,offsetSize:!1}:t;const o=r||(typeof window>"u"?class{}:window.ResizeObserver);if(!o)throw new Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");const[a,c]=X.useState({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),f=X.useRef({element:null,scrollContainers:null,resizeObserver:null,lastBounds:a}),p=e?typeof e=="number"?e:e.scroll:null,y=e?typeof e=="number"?e:e.resize:null,g=X.useRef(!1);X.useEffect(()=>(g.current=!0,()=>void(g.current=!1)));const[T,E,A]=X.useMemo(()=>{const U=()=>{if(!f.current.element)return;const{left:H,top:ne,width:q,height:ie,bottom:x,right:le,x:ae,y:Ve}=f.current.element.getBoundingClientRect(),tt={left:H,top:ne,width:q,height:ie,bottom:x,right:le,x:ae,y:Ve};f.current.element instanceof HTMLElement&&i&&(tt.height=f.current.element.offsetHeight,tt.width=f.current.element.offsetWidth),Object.freeze(tt),g.current&&!cV(f.current.lastBounds,tt)&&c(f.current.lastBounds=tt)};return[U,y?Bx(U,y):U,p?Bx(U,p):U]},[c,i,p,y]);function I(){f.current.scrollContainers&&(f.current.scrollContainers.forEach(U=>U.removeEventListener("scroll",A,!0)),f.current.scrollContainers=null),f.current.resizeObserver&&(f.current.resizeObserver.disconnect(),f.current.resizeObserver=null)}function j(){f.current.element&&(f.current.resizeObserver=new o(A),f.current.resizeObserver.observe(f.current.element),n&&f.current.scrollContainers&&f.current.scrollContainers.forEach(U=>U.addEventListener("scroll",A,{capture:!0,passive:!0})))}const R=U=>{!U||U===f.current.element||(I(),f.current.element=U,f.current.scrollContainers=jE(U),j())};return lV(A,!!n),aV(E),X.useEffect(()=>{I(),j()},[n,A,E]),X.useEffect(()=>I,[]),[R,a,T]}function aV(t){X.useEffect(()=>{const e=t;return window.addEventListener("resize",e),()=>void window.removeEventListener("resize",e)},[t])}function lV(t,e){X.useEffect(()=>{if(e){const n=t;return window.addEventListener("scroll",n,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",n,!0)}},[t,e])}function jE(t){const e=[];if(!t||t===document.body)return e;const{overflow:n,overflowX:r,overflowY:i}=window.getComputedStyle(t);return[n,r,i].some(o=>o==="auto"||o==="scroll")&&e.push(t),[...e,...jE(t.parentElement)]}const uV=["x","y","top","bottom","left","right","width","height"],cV=(t,e)=>uV.every(n=>t[n]===e[n]),BE=X.createContext({dragDropManager:void 0});function Cs(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var $x=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Vx=function(){return Math.random().toString(36).substring(7).split("").join(".")},Hx={INIT:"@@redux/INIT"+Vx(),REPLACE:"@@redux/REPLACE"+Vx()};function fV(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function dV(t){if(t===void 0)return"undefined";if(t===null)return"null";var e=typeof t;switch(e){case"boolean":case"string":case"number":case"symbol":case"function":return e}if(Array.isArray(t))return"array";if(gV(t))return"date";if(pV(t))return"error";var n=hV(t);switch(n){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return n}return e.slice(8,-1).toLowerCase().replace(/\s/g,"")}function hV(t){return typeof t.constructor=="function"?t.constructor.name:null}function pV(t){return t instanceof Error||typeof t.message=="string"&&t.constructor&&typeof t.constructor.stackTraceLimit=="number"}function gV(t){return t instanceof Date?!0:typeof t.toDateString=="function"&&typeof t.getDate=="function"&&typeof t.setDate=="function"}function cf(t){var e=typeof t;return process.env.NODE_ENV!=="production"&&(e=dV(t)),e}function $E(t,e,n){var r;if(typeof e=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Cs(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof e=="function"&&typeof n>"u"&&(n=e,e=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?Cs(1):"Expected the enhancer to be a function. Instead, received: '"+cf(n)+"'");return n($E)(t,e)}if(typeof t!="function")throw new Error(process.env.NODE_ENV==="production"?Cs(2):"Expected the root reducer to be a function. Instead, received: '"+cf(t)+"'");var i=t,o=e,a=[],c=a,f=!1;function p(){c===a&&(c=a.slice())}function y(){if(f)throw new Error(process.env.NODE_ENV==="production"?Cs(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function g(I){if(typeof I!="function")throw new Error(process.env.NODE_ENV==="production"?Cs(4):"Expected the listener to be a function. Instead, received: '"+cf(I)+"'");if(f)throw new Error(process.env.NODE_ENV==="production"?Cs(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var j=!0;return p(),c.push(I),function(){if(j){if(f)throw new Error(process.env.NODE_ENV==="production"?Cs(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");j=!1,p();var U=c.indexOf(I);c.splice(U,1),a=null}}}function T(I){if(!fV(I))throw new Error(process.env.NODE_ENV==="production"?Cs(7):"Actions must be plain objects. Instead, the actual type was: '"+cf(I)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof I.type>"u")throw new Error(process.env.NODE_ENV==="production"?Cs(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(f)throw new Error(process.env.NODE_ENV==="production"?Cs(9):"Reducers may not dispatch actions.");try{f=!0,o=i(o,I)}finally{f=!1}for(var j=a=c,R=0;R<j.length;R++){var U=j[R];U()}return I}function E(I){if(typeof I!="function")throw new Error(process.env.NODE_ENV==="production"?Cs(10):"Expected the nextReducer to be a function. Instead, received: '"+cf(I));i=I,T({type:Hx.REPLACE})}function A(){var I,j=g;return I={subscribe:function(U){if(typeof U!="object"||U===null)throw new Error(process.env.NODE_ENV==="production"?Cs(11):"Expected the observer to be an object. Instead, received: '"+cf(U)+"'");function H(){U.next&&U.next(y())}H();var ne=j(H);return{unsubscribe:ne}}},I[$x]=function(){return this},I}return T({type:Hx.INIT}),r={dispatch:T,subscribe:g,getState:y,replaceReducer:E},r[$x]=A,r}function Ut(t,e,...n){if(mV()&&e===void 0)throw new Error("invariant requires an error message argument");if(!t){let r;if(e===void 0)r=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let i=0;r=new Error(e.replace(/%s/g,function(){return n[i++]})),r.name="Invariant Violation"}throw r.framesToPop=1,r}}function mV(){return typeof process<"u"&&process.env.NODE_ENV==="production"}function vV(t,e,n){return e.split(".").reduce((r,i)=>r&&r[i]?r[i]:n||null,t)}function yV(t,e){return t.filter(n=>n!==e)}function VE(t){return typeof t=="object"}function bV(t,e){const n=new Map,r=o=>{n.set(o,n.has(o)?n.get(o)+1:1)};t.forEach(r),e.forEach(r);const i=[];return n.forEach((o,a)=>{o===1&&i.push(a)}),i}function wV(t,e){return t.filter(n=>e.indexOf(n)>-1)}const Py="dnd-core/INIT_COORDS",Lp="dnd-core/BEGIN_DRAG",Oy="dnd-core/PUBLISH_DRAG_SOURCE",Fp="dnd-core/HOVER",Np="dnd-core/DROP",jp="dnd-core/END_DRAG";function Ux(t,e){return{type:Py,payload:{sourceClientOffset:e||null,clientOffset:t||null}}}const xV={type:Py,payload:{clientOffset:null,sourceClientOffset:null}};function SV(t){return function(n=[],r={publishSource:!0}){const{publishSource:i=!0,clientOffset:o,getSourceClientOffset:a}=r,c=t.getMonitor(),f=t.getRegistry();t.dispatch(Ux(o)),TV(n,c,f);const p=kV(n,c);if(p==null){t.dispatch(xV);return}let y=null;if(o){if(!a)throw new Error("getSourceClientOffset must be defined");CV(a),y=a(p)}t.dispatch(Ux(o,y));const T=f.getSource(p).beginDrag(c,p);if(T==null)return;EV(T),f.pinSource(p);const E=f.getSourceType(p);return{type:Lp,payload:{itemType:E,item:T,sourceId:p,clientOffset:o||null,sourceClientOffset:y||null,isSourcePublic:!!i}}}}function TV(t,e,n){Ut(!e.isDragging(),"Cannot call beginDrag while dragging."),t.forEach(function(r){Ut(n.getSource(r),"Expected sourceIds to be registered.")})}function CV(t){Ut(typeof t=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function EV(t){Ut(VE(t),"Item must be an object.")}function kV(t,e){let n=null;for(let r=t.length-1;r>=0;r--)if(e.canDragSource(t[r])){n=t[r];break}return n}function DV(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function PV(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){DV(t,i,n[i])})}return t}function OV(t){return function(n={}){const r=t.getMonitor(),i=t.getRegistry();_V(r),IV(r).forEach((a,c)=>{const f=RV(a,c,i,r),p={type:Np,payload:{dropResult:PV({},n,f)}};t.dispatch(p)})}}function _V(t){Ut(t.isDragging(),"Cannot call drop while not dragging."),Ut(!t.didDrop(),"Cannot call drop twice during one drag operation.")}function RV(t,e,n,r){const i=n.getTarget(t);let o=i?i.drop(r,t):void 0;return AV(o),typeof o>"u"&&(o=e===0?{}:r.getDropResult()),o}function AV(t){Ut(typeof t>"u"||VE(t),"Drop result must either be an object or undefined.")}function IV(t){const e=t.getTargetIds().filter(t.canDropOnTarget,t);return e.reverse(),e}function MV(t){return function(){const n=t.getMonitor(),r=t.getRegistry();LV(n);const i=n.getSourceId();return i!=null&&(r.getSource(i,!0).endDrag(n,i),r.unpinSource()),{type:jp}}}function LV(t){Ut(t.isDragging(),"Cannot call endDrag while not dragging.")}function rv(t,e){return e===null?t===null:Array.isArray(t)?t.some(n=>n===e):t===e}function FV(t){return function(n,{clientOffset:r}={}){NV(n);const i=n.slice(0),o=t.getMonitor(),a=t.getRegistry(),c=o.getItemType();return BV(i,a,c),jV(i,o,a),$V(i,o,a),{type:Fp,payload:{targetIds:i,clientOffset:r||null}}}}function NV(t){Ut(Array.isArray(t),"Expected targetIds to be an array.")}function jV(t,e,n){Ut(e.isDragging(),"Cannot call hover while not dragging."),Ut(!e.didDrop(),"Cannot call hover after drop.");for(let r=0;r<t.length;r++){const i=t[r];Ut(t.lastIndexOf(i)===r,"Expected targetIds to be unique in the passed array.");const o=n.getTarget(i);Ut(o,"Expected targetIds to be registered.")}}function BV(t,e,n){for(let r=t.length-1;r>=0;r--){const i=t[r],o=e.getTargetType(i);rv(o,n)||t.splice(r,1)}}function $V(t,e,n){t.forEach(function(r){n.getTarget(r).hover(e,r)})}function VV(t){return function(){if(t.getMonitor().isDragging())return{type:Oy}}}function HV(t){return{beginDrag:SV(t),publishDragSource:VV(t),hover:FV(t),drop:OV(t),endDrag:MV(t)}}class UV{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const e=this,{dispatch:n}=this.store;function r(o){return(...a)=>{const c=o.apply(e,a);typeof c<"u"&&n(c)}}const i=HV(this);return Object.keys(i).reduce((o,a)=>{const c=i[a];return o[a]=r(c),o},{})}dispatch(e){this.store.dispatch(e)}constructor(e,n){this.isSetUp=!1,this.handleRefCountChange=()=>{const r=this.store.getState().refCount>0;this.backend&&(r&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!r&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=n,e.subscribe(this.handleRefCountChange)}}function WV(t,e){return{x:t.x+e.x,y:t.y+e.y}}function HE(t,e){return{x:t.x-e.x,y:t.y-e.y}}function zV(t){const{clientOffset:e,initialClientOffset:n,initialSourceClientOffset:r}=t;return!e||!n||!r?null:HE(WV(e,r),n)}function YV(t){const{clientOffset:e,initialClientOffset:n}=t;return!e||!n?null:HE(e,n)}const Sd=[],_y=[];Sd.__IS_NONE__=!0;_y.__IS_ALL__=!0;function GV(t,e){return t===Sd?!1:t===_y||typeof e>"u"?!0:wV(e,t).length>0}class qV{subscribeToStateChange(e,n={}){const{handlerIds:r}=n;Ut(typeof e=="function","listener must be a function."),Ut(typeof r>"u"||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let i=this.store.getState().stateId;const o=()=>{const a=this.store.getState(),c=a.stateId;try{c===i||c===i+1&&!GV(a.dirtyHandlerIds,r)||e()}finally{i=c}};return this.store.subscribe(o)}subscribeToOffsetChange(e){Ut(typeof e=="function","listener must be a function.");let n=this.store.getState().dragOffset;const r=()=>{const i=this.store.getState().dragOffset;i!==n&&(n=i,e())};return this.store.subscribe(r)}canDragSource(e){if(!e)return!1;const n=this.registry.getSource(e);return Ut(n,`Expected to find a valid source. sourceId=${e}`),this.isDragging()?!1:n.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;const n=this.registry.getTarget(e);if(Ut(n,`Expected to find a valid target. targetId=${e}`),!this.isDragging()||this.didDrop())return!1;const r=this.registry.getTargetType(e),i=this.getItemType();return rv(r,i)&&n.canDrop(this,e)}isDragging(){return!!this.getItemType()}isDraggingSource(e){if(!e)return!1;const n=this.registry.getSource(e,!0);if(Ut(n,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()||!this.isSourcePublic())return!1;const r=this.registry.getSourceType(e),i=this.getItemType();return r!==i?!1:n.isDragging(this,e)}isOverTarget(e,n={shallow:!1}){if(!e)return!1;const{shallow:r}=n;if(!this.isDragging())return!1;const i=this.registry.getTargetType(e),o=this.getItemType();if(o&&!rv(i,o))return!1;const a=this.getTargetIds();if(!a.length)return!1;const c=a.indexOf(e);return r?c===a.length-1:c>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return zV(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return YV(this.store.getState().dragOffset)}constructor(e,n){this.store=e,this.registry=n}}const Wx=typeof global<"u"?global:self,UE=Wx.MutationObserver||Wx.WebKitMutationObserver;function WE(t){return function(){const n=setTimeout(i,0),r=setInterval(i,50);function i(){clearTimeout(n),clearInterval(r),t()}}}function XV(t){let e=1;const n=new UE(t),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){e=-e,r.data=e}}const KV=typeof UE=="function"?XV:WE;class ZV{enqueueTask(e){const{queue:n,requestFlush:r}=this;n.length||(r(),this.flushing=!0),n[n.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const n=this.index;if(this.index++,e[n].call(),this.index>this.capacity){for(let r=0,i=e.length-this.index;r<i;r++)e[r]=e[r+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=KV(this.flush),this.requestErrorThrow=WE(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class JV{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,n){this.onError=e,this.release=n,this.task=null}}class QV{create(e){const n=this.freeTasks,r=n.length?n.pop():new JV(this.onError,i=>n[n.length]=i);return r.task=e,r}constructor(e){this.onError=e,this.freeTasks=[]}}const zE=new ZV,e3=new QV(zE.registerPendingError);function t3(t){zE.enqueueTask(e3.create(t))}const Ry="dnd-core/ADD_SOURCE",Ay="dnd-core/ADD_TARGET",Iy="dnd-core/REMOVE_SOURCE",Bp="dnd-core/REMOVE_TARGET";function n3(t){return{type:Ry,payload:{sourceId:t}}}function r3(t){return{type:Ay,payload:{targetId:t}}}function i3(t){return{type:Iy,payload:{sourceId:t}}}function o3(t){return{type:Bp,payload:{targetId:t}}}function s3(t){Ut(typeof t.canDrag=="function","Expected canDrag to be a function."),Ut(typeof t.beginDrag=="function","Expected beginDrag to be a function."),Ut(typeof t.endDrag=="function","Expected endDrag to be a function.")}function a3(t){Ut(typeof t.canDrop=="function","Expected canDrop to be a function."),Ut(typeof t.hover=="function","Expected hover to be a function."),Ut(typeof t.drop=="function","Expected beginDrag to be a function.")}function iv(t,e){if(e&&Array.isArray(t)){t.forEach(n=>iv(n,!1));return}Ut(typeof t=="string"||typeof t=="symbol",e?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var _s;(function(t){t.SOURCE="SOURCE",t.TARGET="TARGET"})(_s||(_s={}));let l3=0;function u3(){return l3++}function c3(t){const e=u3().toString();switch(t){case _s.SOURCE:return`S${e}`;case _s.TARGET:return`T${e}`;default:throw new Error(`Unknown Handler Role: ${t}`)}}function zx(t){switch(t[0]){case"S":return _s.SOURCE;case"T":return _s.TARGET;default:throw new Error(`Cannot parse handler ID: ${t}`)}}function Yx(t,e){const n=t.entries();let r=!1;do{const{done:i,value:[,o]}=n.next();if(o===e)return!0;r=!!i}while(!r);return!1}class f3{addSource(e,n){iv(e),s3(n);const r=this.addHandler(_s.SOURCE,e,n);return this.store.dispatch(n3(r)),r}addTarget(e,n){iv(e,!0),a3(n);const r=this.addHandler(_s.TARGET,e,n);return this.store.dispatch(r3(r)),r}containsHandler(e){return Yx(this.dragSources,e)||Yx(this.dropTargets,e)}getSource(e,n=!1){return Ut(this.isSourceId(e),"Expected a valid source ID."),n&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return Ut(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return Ut(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return Ut(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return zx(e)===_s.SOURCE}isTargetId(e){return zx(e)===_s.TARGET}removeSource(e){Ut(this.getSource(e),"Expected an existing source."),this.store.dispatch(i3(e)),t3(()=>{this.dragSources.delete(e),this.types.delete(e)})}removeTarget(e){Ut(this.getTarget(e),"Expected an existing target."),this.store.dispatch(o3(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){const n=this.getSource(e);Ut(n,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=n}unpinSource(){Ut(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,n,r){const i=c3(e);return this.types.set(i,n),e===_s.SOURCE?this.dragSources.set(i,r):e===_s.TARGET&&this.dropTargets.set(i,r),i}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}const d3=(t,e)=>t===e;function h3(t,e){return!t&&!e?!0:!t||!e?!1:t.x===e.x&&t.y===e.y}function p3(t,e,n=d3){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!n(t[r],e[r]))return!1;return!0}function g3(t=Sd,e){switch(e.type){case Fp:break;case Ry:case Ay:case Bp:case Iy:return Sd;case Lp:case Oy:case jp:case Np:default:return _y}const{targetIds:n=[],prevTargetIds:r=[]}=e.payload,i=bV(n,r);if(!(i.length>0||!p3(n,r)))return Sd;const a=r[r.length-1],c=n[n.length-1];return a!==c&&(a&&i.push(a),c&&i.push(c)),i}function m3(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function v3(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){m3(t,i,n[i])})}return t}const Gx={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function y3(t=Gx,e){const{payload:n}=e;switch(e.type){case Py:case Lp:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case Fp:return h3(t.clientOffset,n.clientOffset)?t:v3({},t,{clientOffset:n.clientOffset});case jp:case Np:return Gx;default:return t}}function b3(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ff(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){b3(t,i,n[i])})}return t}const w3={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function x3(t=w3,e){const{payload:n}=e;switch(e.type){case Lp:return ff({},t,{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case Oy:return ff({},t,{isSourcePublic:!0});case Fp:return ff({},t,{targetIds:n.targetIds});case Bp:return t.targetIds.indexOf(n.targetId)===-1?t:ff({},t,{targetIds:yV(t.targetIds,n.targetId)});case Np:return ff({},t,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case jp:return ff({},t,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return t}}function S3(t=0,e){switch(e.type){case Ry:case Ay:return t+1;case Iy:case Bp:return t-1;default:return t}}function T3(t=0){return t+1}function C3(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E3(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){C3(t,i,n[i])})}return t}function k3(t={},e){return{dirtyHandlerIds:g3(t.dirtyHandlerIds,{type:e.type,payload:E3({},e.payload,{prevTargetIds:vV(t,"dragOperation.targetIds",[])})}),dragOffset:y3(t.dragOffset,e),refCount:S3(t.refCount,e),dragOperation:x3(t.dragOperation,e),stateId:T3(t.stateId)}}function D3(t,e=void 0,n={},r=!1){const i=P3(r),o=new qV(i,new f3(i)),a=new UV(i,o),c=t(a,e,n);return a.receiveBackend(c),a}function P3(t){const e=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return $E(k3,t&&e&&e({name:"dnd-core",instanceId:"dnd-core"}))}function O3(t,e){if(t==null)return{};var n=_3(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)r=o[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function _3(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o<r.length;o++)i=r[o],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}let qx=0;const Vh=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var YE=X.memo(function(e){var{children:n}=e,r=O3(e,["children"]);const[i,o]=R3(r);return X.useEffect(()=>{if(o){const a=GE();return++qx,()=>{--qx===0&&(a[Vh]=null)}}},[]),Pe.jsx(BE.Provider,{value:i,children:n})});function R3(t){if("manager"in t)return[{dragDropManager:t.manager},!1];const e=A3(t.backend,t.context,t.options,t.debugMode),n=!t.context;return[e,n]}function A3(t,e=GE(),n,r){const i=e;return i[Vh]||(i[Vh]={dragDropManager:D3(t,e,n,r)}),i[Vh]}function GE(){return typeof global<"u"?global:window}var I3=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;i--!==0;){var a=o[i];if(!t(e[a],n[a]))return!1}return!0}return e!==e&&n!==n};const M3=Eu(I3),kc=typeof window<"u"?X.useLayoutEffect:X.useEffect;function qE(t,e,n){const[r,i]=X.useState(()=>e(t)),o=X.useCallback(()=>{const a=e(t);M3(r,a)||(i(a),n&&n())},[r,t,n]);return kc(o),[r,o]}function L3(t,e,n){const[r,i]=qE(t,e,n);return kc(function(){const a=t.getHandlerId();if(a!=null)return t.subscribeToStateChange(i,{handlerIds:[a]})},[t,i]),r}function XE(t,e,n){return L3(e,t||(()=>({})),()=>n.reconnect())}function KE(t,e){const n=[...e||[]];return e==null&&typeof t!="function"&&n.push(t),X.useMemo(()=>typeof t=="function"?t():t,n)}function F3(t){return X.useMemo(()=>t.hooks.dragSource(),[t])}function N3(t){return X.useMemo(()=>t.hooks.dragPreview(),[t])}let qg=!1,Xg=!1;class j3{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){Ut(!qg,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return qg=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{qg=!1}}isDragging(){if(!this.sourceId)return!1;Ut(!Xg,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return Xg=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{Xg=!1}}subscribeToStateChange(e,n){return this.internalMonitor.subscribeToStateChange(e,n)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,n){return this.internalMonitor.isOverTarget(e,n)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}let Kg=!1;class B3{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,n){return this.internalMonitor.subscribeToStateChange(e,n)}canDrop(){if(!this.targetId)return!1;Ut(!Kg,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return Kg=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{Kg=!1}}isOver(e){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,e):!1}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}function $3(t,e,n){const r=n.getRegistry(),i=r.addTarget(t,e);return[i,()=>r.removeTarget(i)]}function V3(t,e,n){const r=n.getRegistry(),i=r.addSource(t,e);return[i,()=>r.removeSource(i)]}function ov(t,e,n,r){let i;if(i!==void 0)return!!i;if(t===e)return!0;if(typeof t!="object"||!t||typeof e!="object"||!e)return!1;const o=Object.keys(t),a=Object.keys(e);if(o.length!==a.length)return!1;const c=Object.prototype.hasOwnProperty.bind(e);for(let f=0;f<o.length;f++){const p=o[f];if(!c(p))return!1;const y=t[p],g=e[p];if(i=void 0,i===!1||i===void 0&&y!==g)return!1}return!0}function sv(t){return t!==null&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function H3(t){if(typeof t.type=="string")return;const e=t.type.displayName||t.type.name||"the component";throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${e} into a <div>, or turn it into a drag source or a drop target itself.`)}function U3(t){return(e=null,n=null)=>{if(!X.isValidElement(e)){const o=e;return t(o,n),o}const r=e;return H3(r),W3(r,n?o=>t(o,n):t)}}function ZE(t){const e={};return Object.keys(t).forEach(n=>{const r=t[n];if(n.endsWith("Ref"))e[n]=t[n];else{const i=U3(r);e[n]=()=>i}}),e}function Xx(t,e){typeof t=="function"?t(e):t.current=e}function W3(t,e){const n=t.ref;return Ut(typeof n!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),n?X.cloneElement(t,{ref:r=>{Xx(n,r),Xx(e,r)}}):X.cloneElement(t,{ref:e})}class z3{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){const e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){const e=this.dragSource,n=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return n&&this.disconnectDragSource(),this.handlerId?e?(n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)),n):(this.lastConnectedDragSource=e,n):n}reconnectDragPreview(e=!1){const n=this.dragPreview,r=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(r&&this.disconnectDragPreview(),!!this.handlerId){if(!n){this.lastConnectedDragPreview=n;return}r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=n,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,n,this.dragPreviewOptions))}}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!ov(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!ov(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=ZE({dragSource:(n,r)=>{this.clearDragSource(),this.dragSourceOptions=r||null,sv(n)?this.dragSourceRef=n:this.dragSourceNode=n,this.reconnectDragSource()},dragPreview:(n,r)=>{this.clearDragPreview(),this.dragPreviewOptions=r||null,sv(n)?this.dragPreviewRef=n:this.dragPreviewNode=n,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}class Y3{get connectTarget(){return this.dropTarget}reconnect(){const e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();const n=this.dropTarget;if(this.handlerId){if(!n){this.lastConnectedDropTarget=n;return}e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=n,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,n,this.dropTargetOptions))}}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!ov(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=ZE({dropTarget:(n,r)=>{this.clearDropTarget(),this.dropTargetOptions=r,sv(n)?this.dropTargetRef=n:this.dropTargetNode=n,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}function Rl(){const{dragDropManager:t}=X.useContext(BE);return Ut(t!=null,"Expected drag drop context"),t}function G3(t,e){const n=Rl(),r=X.useMemo(()=>new z3(n.getBackend()),[n]);return kc(()=>(r.dragSourceOptions=t||null,r.reconnect(),()=>r.disconnectDragSource()),[r,t]),kc(()=>(r.dragPreviewOptions=e||null,r.reconnect(),()=>r.disconnectDragPreview()),[r,e]),r}function q3(){const t=Rl();return X.useMemo(()=>new j3(t),[t])}class X3{beginDrag(){const e=this.spec,n=this.monitor;let r=null;return typeof e.item=="object"?r=e.item:typeof e.item=="function"?r=e.item(n):r={},r??null}canDrag(){const e=this.spec,n=this.monitor;return typeof e.canDrag=="boolean"?e.canDrag:typeof e.canDrag=="function"?e.canDrag(n):!0}isDragging(e,n){const r=this.spec,i=this.monitor,{isDragging:o}=r;return o?o(i):n===e.getSourceId()}endDrag(){const e=this.spec,n=this.monitor,r=this.connector,{end:i}=e;i&&i(n.getItem(),n),r.reconnect()}constructor(e,n,r){this.spec=e,this.monitor=n,this.connector=r}}function K3(t,e,n){const r=X.useMemo(()=>new X3(t,e,n),[e,n]);return X.useEffect(()=>{r.spec=t},[t]),r}function Z3(t){return X.useMemo(()=>{const e=t.type;return Ut(e!=null,"spec.type must be defined"),e},[t])}function J3(t,e,n){const r=Rl(),i=K3(t,e,n),o=Z3(t);kc(function(){if(o!=null){const[c,f]=V3(o,i,r);return e.receiveHandlerId(c),n.receiveHandlerId(c),f}},[r,e,n,i,o])}function JE(t,e){const n=KE(t,e);Ut(!n.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const r=q3(),i=G3(n.options,n.previewOptions);return J3(n,r,i),[XE(n.collect,r,i),F3(i),N3(i)]}function Q3(t){const n=Rl().getMonitor(),[r,i]=qE(n,t);return X.useEffect(()=>n.subscribeToOffsetChange(i)),X.useEffect(()=>n.subscribeToStateChange(i)),r}function eH(t){return X.useMemo(()=>t.hooks.dropTarget(),[t])}function tH(t){const e=Rl(),n=X.useMemo(()=>new Y3(e.getBackend()),[e]);return kc(()=>(n.dropTargetOptions=t||null,n.reconnect(),()=>n.disconnectDropTarget()),[t]),n}function nH(){const t=Rl();return X.useMemo(()=>new B3(t),[t])}function rH(t){const{accept:e}=t;return X.useMemo(()=>(Ut(t.accept!=null,"accept must be defined"),Array.isArray(e)?e:[e]),[e])}class iH{canDrop(){const e=this.spec,n=this.monitor;return e.canDrop?e.canDrop(n.getItem(),n):!0}hover(){const e=this.spec,n=this.monitor;e.hover&&e.hover(n.getItem(),n)}drop(){const e=this.spec,n=this.monitor;if(e.drop)return e.drop(n.getItem(),n)}constructor(e,n){this.spec=e,this.monitor=n}}function oH(t,e){const n=X.useMemo(()=>new iH(t,e),[e]);return X.useEffect(()=>{n.spec=t},[t]),n}function sH(t,e,n){const r=Rl(),i=oH(t,e),o=rH(t);kc(function(){const[c,f]=$3(o,i,r);return e.receiveHandlerId(c),n.receiveHandlerId(c),f},[r,e,i,n,o.map(a=>a.toString()).join("|")])}function cp(t,e){const n=KE(t,e),r=nH(),i=tH(n.options);return sH(n,r,i),[XE(n.collect,r,i),eH(i)]}var QE=t=>{throw TypeError(t)},ek=(t,e,n)=>e.has(t)||QE("Cannot "+n),Nt=(t,e,n)=>(ek(t,e,"read from private field"),n?n.call(t):e.get(t)),ks=(t,e,n)=>e.has(t)?QE("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),hc=(t,e,n,r)=>(ek(t,e,"write to private field"),e.set(t,n),n),lu,aH=class{constructor(){ks(this,lu),this.register=t=>{Nt(this,lu).push(t)},this.unregister=t=>{for(;Nt(this,lu).indexOf(t)!==-1;)Nt(this,lu).splice(Nt(this,lu).indexOf(t),1)},this.backendChanged=t=>{for(let e of Nt(this,lu))e.backendChanged(t)},hc(this,lu,[])}};lu=new WeakMap;var qo,hd,Xo,yl,pc,av,lv,uv,Hh,Uh,pd,tk=class Wh{constructor(e,n,r){if(ks(this,qo),ks(this,hd),ks(this,Xo),ks(this,yl),ks(this,pc),ks(this,av,(i,o,a)=>{if(!a.backend)throw new Error(`You must specify a 'backend' property in your Backend entry: ${JSON.stringify(a)}`);let c=a.backend(i,o,a.options),f=a.id,p=!a.id&&c&&c.constructor;if(p&&(f=c.constructor.name),!f)throw new Error(`You must specify an 'id' property in your Backend entry: ${JSON.stringify(a)}
|
|
5
5
|
see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-5xx`);if(p&&console.warn(`Deprecation notice: You are using a pipeline which doesn't include backends' 'id'.
|
|
6
6
|
This might be unsupported in the future, please specify 'id' explicitely for every backend.`),Nt(this,Xo)[f])throw new Error(`You must specify a unique 'id' property in your Backend entry:
|
|
@@ -42,7 +42,7 @@ Valid keys: `+JSON.stringify(Object.keys(ge),null," "));var Je=yt(ot,ft,Be,ze,K
|
|
|
42
42
|
`?k.push(`
|
|
43
43
|
`,G):k.push(""+G))}return typeof me=="string"&&me[0]===`
|
|
44
44
|
`&&k.push(`
|
|
45
|
-
`),me;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":k.push(Qe(F));for(var zn in G)if(n.call(G,zn)&&(me=G[zn],me!=null))switch(zn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,F));default:ie(k,ee,zn,me)}return k.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ae(k,G,F,ee);case"html":return Ee.insertionMode===0&&k.push("<!DOCTYPE html>"),ae(k,G,F,ee);default:if(F.indexOf("-")===-1&&typeof G.is!="string")return ae(k,G,F,ee);k.push(Qe(F)),Re=me=null;for(mt in G)if(n.call(G,mt)&&(Xe=G[mt],Xe!=null))switch(mt){case"children":me=Xe;break;case"dangerouslySetInnerHTML":Re=Xe;break;case"style":q(k,ee,Xe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:a(mt)&&typeof Xe!="function"&&typeof Xe!="symbol"&&k.push(" ",mt,'="',A(Xe),'"')}return k.push(">"),x(k,Re,me),me}}function Oe(k,F,G){if(k.push('<!--$?--><template id="'),G===null)throw Error(e(395));return k.push(G),k.push('"></template>')}function ue(k,F,G,ee){switch(G.insertionMode){case 0:case 1:return k.push('<div hidden id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');case 2:return k.push('<svg aria-hidden="true" style="display:none" id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');case 3:return k.push('<math aria-hidden="true" style="display:none" id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');case 4:return k.push('<table hidden id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');case 5:return k.push('<table hidden><tbody id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');case 6:return k.push('<table hidden><tr id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');case 7:return k.push('<table hidden><colgroup id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');default:throw Error(e(397))}}function ve(k,F){switch(F.insertionMode){case 0:case 1:return k.push("</div>");case 2:return k.push("</svg>");case 3:return k.push("</math>");case 4:return k.push("</table>");case 5:return k.push("</tbody></table>");case 6:return k.push("</tr></table>");case 7:return k.push("</colgroup></table>");default:throw Error(e(397))}}var ke=/[<\u2028\u2029]/g;function Le(k){return JSON.stringify(k).replace(ke,function(F){switch(F){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function et(k,F){return F=F===void 0?"":F,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:F+"P:",segmentPrefix:F+"S:",boundaryPrefix:F+"B:",idPrefix:F,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:k}}function ge(k,F,G,ee){return G.generateStaticMarkup?(k.push(A(F)),!1):(F===""?k=ee:(ee&&k.push("<!-- -->"),k.push(A(F)),k=!0),k)}var Se=Object.assign,Ne=Symbol.for("react.element"),We=Symbol.for("react.portal"),Be=Symbol.for("react.fragment"),ze=Symbol.for("react.strict_mode"),Ke=Symbol.for("react.profiler"),ot=Symbol.for("react.provider"),ct=Symbol.for("react.context"),pt=Symbol.for("react.forward_ref"),ft=Symbol.for("react.suspense"),yt=Symbol.for("react.suspense_list"),Je=Symbol.for("react.memo"),At=Symbol.for("react.lazy"),Mt=Symbol.for("react.scope"),Vn=Symbol.for("react.debug_trace_mode"),vr=Symbol.for("react.legacy_hidden"),Hn=Symbol.for("react.default_value"),Sn=Symbol.iterator;function $i(k){if(k==null)return null;if(typeof k=="function")return k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case Be:return"Fragment";case We:return"Portal";case Ke:return"Profiler";case ze:return"StrictMode";case ft:return"Suspense";case yt:return"SuspenseList"}if(typeof k=="object")switch(k.$$typeof){case ct:return(k.displayName||"Context")+".Consumer";case ot:return(k._context.displayName||"Context")+".Provider";case pt:var F=k.render;return k=k.displayName,k||(k=F.displayName||F.name||"",k=k!==""?"ForwardRef("+k+")":"ForwardRef"),k;case Je:return F=k.displayName||null,F!==null?F:$i(k.type)||"Memo";case At:F=k._payload,k=k._init;try{return $i(k(F))}catch{}}return null}var Dr={};function Jn(k,F){if(k=k.contextTypes,!k)return Dr;var G={},ee;for(ee in k)G[ee]=F[ee];return G}var sn=null;function fn(k,F){if(k!==F){k.context._currentValue2=k.parentValue,k=k.parent;var G=F.parent;if(k===null){if(G!==null)throw Error(e(401))}else{if(G===null)throw Error(e(401));fn(k,G)}F.context._currentValue2=F.value}}function dn(k){k.context._currentValue2=k.parentValue,k=k.parent,k!==null&&dn(k)}function ut(k){var F=k.parent;F!==null&&ut(F),k.context._currentValue2=k.value}function Dn(k,F){if(k.context._currentValue2=k.parentValue,k=k.parent,k===null)throw Error(e(402));k.depth===F.depth?fn(k,F):Dn(k,F)}function si(k,F){var G=F.parent;if(G===null)throw Error(e(402));k.depth===G.depth?fn(k,G):si(k,G),F.context._currentValue2=F.value}function on(k){var F=sn;F!==k&&(F===null?ut(k):k===null?dn(F):F.depth===k.depth?fn(F,k):F.depth>k.depth?Dn(F,k):si(F,k),sn=k)}var Vi={isMounted:function(){return!1},enqueueSetState:function(k,F){k=k._reactInternals,k.queue!==null&&k.queue.push(F)},enqueueReplaceState:function(k,F){k=k._reactInternals,k.replace=!0,k.queue=[F]},enqueueForceUpdate:function(){}};function Hi(k,F,G,ee){var Ee=k.state!==void 0?k.state:null;k.updater=Vi,k.props=G,k.state=Ee;var me={queue:[],replace:!1};k._reactInternals=me;var Re=F.contextType;if(k.context=typeof Re=="object"&&Re!==null?Re._currentValue2:ee,Re=F.getDerivedStateFromProps,typeof Re=="function"&&(Re=Re(G,Ee),Ee=Re==null?Ee:Se({},Ee,Re),k.state=Ee),typeof F.getDerivedStateFromProps!="function"&&typeof k.getSnapshotBeforeUpdate!="function"&&(typeof k.UNSAFE_componentWillMount=="function"||typeof k.componentWillMount=="function"))if(F=k.state,typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount(),F!==k.state&&Vi.enqueueReplaceState(k,k.state,null),me.queue!==null&&0<me.queue.length)if(F=me.queue,Re=me.replace,me.queue=null,me.replace=!1,Re&&F.length===1)k.state=F[0];else{for(me=Re?F[0]:k.state,Ee=!0,Re=Re?1:0;Re<F.length;Re++){var Xe=F[Re];Xe=typeof Xe=="function"?Xe.call(k,me,G,ee):Xe,Xe!=null&&(Ee?(Ee=!1,me=Se({},me,Xe)):Se(me,Xe))}k.state=me}else me.queue=null}var Ui={id:1,overflow:""};function Pr(k,F,G){var ee=k.id;k=k.overflow;var Ee=32-Nn(ee)-1;ee&=~(1<<Ee),G+=1;var me=32-Nn(F)+Ee;if(30<me){var Re=Ee-Ee%5;return me=(ee&(1<<Re)-1).toString(32),ee>>=Re,Ee-=Re,{id:1<<32-Nn(F)+Ee|G<<Ee|ee,overflow:me+k}}return{id:1<<me|G<<Ee|ee,overflow:k}}var Nn=Math.clz32?Math.clz32:Yr,Or=Math.log,yr=Math.LN2;function Yr(k){return k>>>=0,k===0?32:31-(Or(k)/yr|0)|0}function Gr(k,F){return k===F&&(k!==0||1/k===1/F)||k!==k&&F!==F}var Ao=typeof Object.is=="function"?Object.is:Gr,Un=null,qr=null,Qn=null,Wt=null,ai=!1,Wi=!1,Pn=0,hn=null,li=0;function ui(){if(Un===null)throw Error(e(321));return Un}function Tn(){if(0<li)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function so(){return Wt===null?Qn===null?(ai=!1,Qn=Wt=Tn()):(ai=!0,Wt=Qn):Wt.next===null?(ai=!1,Wt=Wt.next=Tn()):(ai=!0,Wt=Wt.next),Wt}function br(){qr=Un=null,Wi=!1,Qn=null,li=0,Wt=hn=null}function ci(k,F){return typeof F=="function"?F(k):F}function an(k,F,G){if(Un=ui(),Wt=so(),ai){var ee=Wt.queue;if(F=ee.dispatch,hn!==null&&(G=hn.get(ee),G!==void 0)){hn.delete(ee),ee=Wt.memoizedState;do ee=k(ee,G.action),G=G.next;while(G!==null);return Wt.memoizedState=ee,[ee,F]}return[Wt.memoizedState,F]}return k=k===ci?typeof F=="function"?F():F:G!==void 0?G(F):F,Wt.memoizedState=k,k=Wt.queue={last:null,dispatch:null},k=k.dispatch=Ls.bind(null,Un,k),[Wt.memoizedState,k]}function Di(k,F){if(Un=ui(),Wt=so(),F=F===void 0?null:F,Wt!==null){var G=Wt.memoizedState;if(G!==null&&F!==null){var ee=G[1];e:if(ee===null)ee=!1;else{for(var Ee=0;Ee<ee.length&&Ee<F.length;Ee++)if(!Ao(F[Ee],ee[Ee])){ee=!1;break e}ee=!0}if(ee)return G[0]}}return k=k(),Wt.memoizedState=[k,F],k}function Ls(k,F,G){if(25<=li)throw Error(e(301));if(k===Un)if(Wi=!0,k={action:G,next:null},hn===null&&(hn=new Map),G=hn.get(F),G===void 0)hn.set(F,k);else{for(F=G;F.next!==null;)F=F.next;F.next=k}}function Fs(){throw Error(e(394))}function Xr(){}var ao={readContext:function(k){return k._currentValue2},useContext:function(k){return ui(),k._currentValue2},useMemo:Di,useReducer:an,useRef:function(k){Un=ui(),Wt=so();var F=Wt.memoizedState;return F===null?(k={current:k},Wt.memoizedState=k):F},useState:function(k){return an(ci,k)},useInsertionEffect:Xr,useLayoutEffect:function(){},useCallback:function(k,F){return Di(function(){return k},F)},useImperativeHandle:Xr,useEffect:Xr,useDebugValue:Xr,useDeferredValue:function(k){return ui(),k},useTransition:function(){return ui(),[!1,Fs]},useId:function(){var k=qr.treeContext,F=k.overflow;k=k.id,k=(k&~(1<<32-Nn(k)-1)).toString(32)+F;var G=lo;if(G===null)throw Error(e(404));return F=Pn++,k=":"+G.idPrefix+"R"+k,0<F&&(k+="H"+F.toString(32)),k+":"},useMutableSource:function(k,F){return ui(),F(k._source)},useSyncExternalStore:function(k,F,G){if(G===void 0)throw Error(e(407));return G()}},lo=null,Pi=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function er(k){return console.error(k),null}function _r(){}function Rr(k,F,G,ee,Ee,me,Re,Xe,gt){var mt=[],dt=new Set;return F={destination:null,responseState:F,progressiveChunkSize:ee===void 0?12800:ee,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:dt,pingedTasks:mt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Ee===void 0?er:Ee,onAllReady:_r,onShellReady:Re===void 0?_r:Re,onShellError:_r,onFatalError:_r},G=Kr(F,0,null,G,!1,!1),G.parentFlushed=!0,k=fi(F,k,null,G,dt,Dr,null,Ui),mt.push(k),F}function fi(k,F,G,ee,Ee,me,Re,Xe){k.allPendingTasks++,G===null?k.pendingRootTasks++:G.pendingTasks++;var gt={node:F,ping:function(){var mt=k.pingedTasks;mt.push(gt),mt.length===1&&Wn(k)},blockedBoundary:G,blockedSegment:ee,abortSet:Ee,legacyContext:me,context:Re,treeContext:Xe};return Ee.add(gt),gt}function Kr(k,F,G,ee,Ee,me){return{status:0,id:-1,index:F,parentFlushed:!1,chunks:[],children:[],formatContext:ee,boundary:G,lastPushedText:Ee,textEmbedded:me}}function wr(k,F){if(k=k.onError(F),k!=null&&typeof k!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof k+'" instead');return k}function Ar(k,F){var G=k.onShellError;G(F),G=k.onFatalError,G(F),k.destination!==null?(k.status=2,k.destination.destroy(F)):(k.status=1,k.fatalError=F)}function tr(k,F,G,ee,Ee){for(Un={},qr=F,Pn=0,k=G(ee,Ee);Wi;)Wi=!1,Pn=0,li+=1,Wt=null,k=G(ee,Ee);return br(),k}function zi(k,F,G,ee){var Ee=G.render(),me=ee.childContextTypes;if(me!=null){var Re=F.legacyContext;if(typeof G.getChildContext!="function")ee=Re;else{G=G.getChildContext();for(var Xe in G)if(!(Xe in me))throw Error(e(108,$i(ee)||"Unknown",Xe));ee=Se({},Re,G)}F.legacyContext=ee,yn(k,F,Ee),F.legacyContext=Re}else yn(k,F,Ee)}function Oi(k,F){if(k&&k.defaultProps){F=Se({},F),k=k.defaultProps;for(var G in k)F[G]===void 0&&(F[G]=k[G]);return F}return F}function ar(k,F,G,ee,Ee){if(typeof G=="function")if(G.prototype&&G.prototype.isReactComponent){Ee=Jn(G,F.legacyContext);var me=G.contextType;me=new G(ee,typeof me=="object"&&me!==null?me._currentValue2:Ee),Hi(me,G,ee,Ee),zi(k,F,me,G)}else{me=Jn(G,F.legacyContext),Ee=tr(k,F,G,ee,me);var Re=Pn!==0;if(typeof Ee=="object"&&Ee!==null&&typeof Ee.render=="function"&&Ee.$$typeof===void 0)Hi(Ee,G,ee,me),zi(k,F,Ee,G);else if(Re){ee=F.treeContext,F.treeContext=Pr(ee,1,0);try{yn(k,F,Ee)}finally{F.treeContext=ee}}else yn(k,F,Ee)}else if(typeof G=="string"){switch(Ee=F.blockedSegment,me=qe(Ee.chunks,G,ee,k.responseState,Ee.formatContext),Ee.lastPushedText=!1,Re=Ee.formatContext,Ee.formatContext=H(Re,G,ee),Mr(k,F,me),Ee.formatContext=Re,G){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Ee.chunks.push("</",G,">")}Ee.lastPushedText=!1}else{switch(G){case vr:case Vn:case ze:case Ke:case Be:yn(k,F,ee.children);return;case yt:yn(k,F,ee.children);return;case Mt:throw Error(e(343));case ft:e:{G=F.blockedBoundary,Ee=F.blockedSegment,me=ee.fallback,ee=ee.children,Re=new Set;var Xe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Re,errorDigest:null},gt=Kr(k,Ee.chunks.length,Xe,Ee.formatContext,!1,!1);Ee.children.push(gt),Ee.lastPushedText=!1;var mt=Kr(k,0,null,Ee.formatContext,!1,!1);mt.parentFlushed=!0,F.blockedBoundary=Xe,F.blockedSegment=mt;try{if(Mr(k,F,ee),k.responseState.generateStaticMarkup||mt.lastPushedText&&mt.textEmbedded&&mt.chunks.push("<!-- -->"),mt.status=1,xr(Xe,mt),Xe.pendingTasks===0)break e}catch(dt){mt.status=4,Xe.forceClientRender=!0,Xe.errorDigest=wr(k,dt)}finally{F.blockedBoundary=G,F.blockedSegment=Ee}F=fi(k,me,G,gt,Re,F.legacyContext,F.context,F.treeContext),k.pingedTasks.push(F)}return}if(typeof G=="object"&&G!==null)switch(G.$$typeof){case pt:if(ee=tr(k,F,G.render,ee,Ee),Pn!==0){G=F.treeContext,F.treeContext=Pr(G,1,0);try{yn(k,F,ee)}finally{F.treeContext=G}}else yn(k,F,ee);return;case Je:G=G.type,ee=Oi(G,ee),ar(k,F,G,ee,Ee);return;case ot:if(Ee=ee.children,G=G._context,ee=ee.value,me=G._currentValue2,G._currentValue2=ee,Re=sn,sn=ee={parent:Re,depth:Re===null?0:Re.depth+1,context:G,parentValue:me,value:ee},F.context=ee,yn(k,F,Ee),k=sn,k===null)throw Error(e(403));ee=k.parentValue,k.context._currentValue2=ee===Hn?k.context._defaultValue:ee,k=sn=k.parent,F.context=k;return;case ct:ee=ee.children,ee=ee(G._currentValue2),yn(k,F,ee);return;case At:Ee=G._init,G=Ee(G._payload),ee=Oi(G,ee),ar(k,F,G,ee,void 0);return}throw Error(e(130,G==null?G:typeof G,""))}}function yn(k,F,G){if(F.node=G,typeof G=="object"&&G!==null){switch(G.$$typeof){case Ne:ar(k,F,G.type,G.props,G.ref);return;case We:throw Error(e(257));case At:var ee=G._init;G=ee(G._payload),yn(k,F,G);return}if(R(G)){Ir(k,F,G);return}if(G===null||typeof G!="object"?ee=null:(ee=Sn&&G[Sn]||G["@@iterator"],ee=typeof ee=="function"?ee:null),ee&&(ee=ee.call(G))){if(G=ee.next(),!G.done){var Ee=[];do Ee.push(G.value),G=ee.next();while(!G.done);Ir(k,F,Ee)}return}throw k=Object.prototype.toString.call(G),Error(e(31,k==="[object Object]"?"object with keys {"+Object.keys(G).join(", ")+"}":k))}typeof G=="string"?(ee=F.blockedSegment,ee.lastPushedText=ge(F.blockedSegment.chunks,G,k.responseState,ee.lastPushedText)):typeof G=="number"&&(ee=F.blockedSegment,ee.lastPushedText=ge(F.blockedSegment.chunks,""+G,k.responseState,ee.lastPushedText))}function Ir(k,F,G){for(var ee=G.length,Ee=0;Ee<ee;Ee++){var me=F.treeContext;F.treeContext=Pr(me,ee,Ee);try{Mr(k,F,G[Ee])}finally{F.treeContext=me}}}function Mr(k,F,G){var ee=F.blockedSegment.formatContext,Ee=F.legacyContext,me=F.context;try{return yn(k,F,G)}catch(gt){if(br(),typeof gt=="object"&>!==null&&typeof gt.then=="function"){G=gt;var Re=F.blockedSegment,Xe=Kr(k,Re.chunks.length,null,Re.formatContext,Re.lastPushedText,!0);Re.children.push(Xe),Re.lastPushedText=!1,k=fi(k,F.node,F.blockedBoundary,Xe,F.abortSet,F.legacyContext,F.context,F.treeContext).ping,G.then(k,k),F.blockedSegment.formatContext=ee,F.legacyContext=Ee,F.context=me,on(me)}else throw F.blockedSegment.formatContext=ee,F.legacyContext=Ee,F.context=me,on(me),gt}}function di(k){var F=k.blockedBoundary;k=k.blockedSegment,k.status=3,Zr(this,F,k)}function hi(k,F,G){var ee=k.blockedBoundary;k.blockedSegment.status=3,ee===null?(F.allPendingTasks--,F.status!==2&&(F.status=2,F.destination!==null&&F.destination.push(null))):(ee.pendingTasks--,ee.forceClientRender||(ee.forceClientRender=!0,k=G===void 0?Error(e(432)):G,ee.errorDigest=F.onError(k),ee.parentFlushed&&F.clientRenderedBoundaries.push(ee)),ee.fallbackAbortableTasks.forEach(function(Ee){return hi(Ee,F,G)}),ee.fallbackAbortableTasks.clear(),F.allPendingTasks--,F.allPendingTasks===0&&(ee=F.onAllReady,ee()))}function xr(k,F){if(F.chunks.length===0&&F.children.length===1&&F.children[0].boundary===null){var G=F.children[0];G.id=F.id,G.parentFlushed=!0,G.status===1&&xr(k,G)}else k.completedSegments.push(F)}function Zr(k,F,G){if(F===null){if(G.parentFlushed){if(k.completedRootSegment!==null)throw Error(e(389));k.completedRootSegment=G}k.pendingRootTasks--,k.pendingRootTasks===0&&(k.onShellError=_r,F=k.onShellReady,F())}else F.pendingTasks--,F.forceClientRender||(F.pendingTasks===0?(G.parentFlushed&&G.status===1&&xr(F,G),F.parentFlushed&&k.completedBoundaries.push(F),F.fallbackAbortableTasks.forEach(di,k),F.fallbackAbortableTasks.clear()):G.parentFlushed&&G.status===1&&(xr(F,G),F.completedSegments.length===1&&F.parentFlushed&&k.partialBoundaries.push(F)));k.allPendingTasks--,k.allPendingTasks===0&&(k=k.onAllReady,k())}function Wn(k){if(k.status!==2){var F=sn,G=Pi.current;Pi.current=ao;var ee=lo;lo=k.responseState;try{var Ee=k.pingedTasks,me;for(me=0;me<Ee.length;me++){var Re=Ee[me],Xe=k,gt=Re.blockedSegment;if(gt.status===0){on(Re.context);try{yn(Xe,Re,Re.node),Xe.responseState.generateStaticMarkup||gt.lastPushedText&>.textEmbedded&>.chunks.push("<!-- -->"),Re.abortSet.delete(Re),gt.status=1,Zr(Xe,Re.blockedBoundary,gt)}catch(En){if(br(),typeof En=="object"&&En!==null&&typeof En.then=="function"){var mt=Re.ping;En.then(mt,mt)}else{Re.abortSet.delete(Re),gt.status=4;var dt=Re.blockedBoundary,Ft=En,Bn=wr(Xe,Ft);if(dt===null?Ar(Xe,Ft):(dt.pendingTasks--,dt.forceClientRender||(dt.forceClientRender=!0,dt.errorDigest=Bn,dt.parentFlushed&&Xe.clientRenderedBoundaries.push(dt))),Xe.allPendingTasks--,Xe.allPendingTasks===0){var zn=Xe.onAllReady;zn()}}}finally{}}}Ee.splice(0,me),k.destination!==null&&Cn(k,k.destination)}catch(En){wr(k,En),Ar(k,En)}finally{lo=ee,Pi.current=G,G===ao&&on(F)}}}function pi(k,F,G){switch(G.parentFlushed=!0,G.status){case 0:var ee=G.id=k.nextSegmentId++;return G.lastPushedText=!1,G.textEmbedded=!1,k=k.responseState,F.push('<template id="'),F.push(k.placeholderPrefix),k=ee.toString(16),F.push(k),F.push('"></template>');case 1:G.status=2;var Ee=!0;ee=G.chunks;var me=0;G=G.children;for(var Re=0;Re<G.length;Re++){for(Ee=G[Re];me<Ee.index;me++)F.push(ee[me]);Ee=gi(k,F,Ee)}for(;me<ee.length-1;me++)F.push(ee[me]);return me<ee.length&&(Ee=F.push(ee[me])),Ee;default:throw Error(e(390))}}function gi(k,F,G){var ee=G.boundary;if(ee===null)return pi(k,F,G);if(ee.parentFlushed=!0,ee.forceClientRender)return k.responseState.generateStaticMarkup||(ee=ee.errorDigest,F.push("<!--$!-->"),F.push("<template"),ee&&(F.push(' data-dgst="'),ee=A(ee),F.push(ee),F.push('"')),F.push("></template>")),pi(k,F,G),k=k.responseState.generateStaticMarkup?!0:F.push("<!--/$-->"),k;if(0<ee.pendingTasks){ee.rootSegmentID=k.nextSegmentId++,0<ee.completedSegments.length&&k.partialBoundaries.push(ee);var Ee=k.responseState,me=Ee.nextSuspenseID++;return Ee=Ee.boundaryPrefix+me.toString(16),ee=ee.id=Ee,Oe(F,k.responseState,ee),pi(k,F,G),F.push("<!--/$-->")}if(ee.byteSize>k.progressiveChunkSize)return ee.rootSegmentID=k.nextSegmentId++,k.completedBoundaries.push(ee),Oe(F,k.responseState,ee.id),pi(k,F,G),F.push("<!--/$-->");if(k.responseState.generateStaticMarkup||F.push("<!--$-->"),G=ee.completedSegments,G.length!==1)throw Error(e(391));return gi(k,F,G[0]),k=k.responseState.generateStaticMarkup?!0:F.push("<!--/$-->"),k}function _i(k,F,G){return ue(F,k.responseState,G.formatContext,G.id),gi(k,F,G),ve(F,G.formatContext)}function nn(k,F,G){for(var ee=G.completedSegments,Ee=0;Ee<ee.length;Ee++)jn(k,F,G,ee[Ee]);if(ee.length=0,k=k.responseState,ee=G.id,G=G.rootSegmentID,F.push(k.startInlineScript),k.sentCompleteBoundaryFunction?F.push('$RC("'):(k.sentCompleteBoundaryFunction=!0,F.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),ee===null)throw Error(e(395));return G=G.toString(16),F.push(ee),F.push('","'),F.push(k.segmentPrefix),F.push(G),F.push('")<\/script>')}function jn(k,F,G,ee){if(ee.status===2)return!0;var Ee=ee.id;if(Ee===-1){if((ee.id=G.rootSegmentID)===-1)throw Error(e(392));return _i(k,F,ee)}return _i(k,F,ee),k=k.responseState,F.push(k.startInlineScript),k.sentCompleteSegmentFunction?F.push('$RS("'):(k.sentCompleteSegmentFunction=!0,F.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),F.push(k.segmentPrefix),Ee=Ee.toString(16),F.push(Ee),F.push('","'),F.push(k.placeholderPrefix),F.push(Ee),F.push('")<\/script>')}function Cn(k,F){try{var G=k.completedRootSegment;if(G!==null&&k.pendingRootTasks===0){gi(k,F,G),k.completedRootSegment=null;var ee=k.responseState.bootstrapChunks;for(G=0;G<ee.length-1;G++)F.push(ee[G]);G<ee.length&&F.push(ee[G])}var Ee=k.clientRenderedBoundaries,me;for(me=0;me<Ee.length;me++){var Re=Ee[me];ee=F;var Xe=k.responseState,gt=Re.id,mt=Re.errorDigest,dt=Re.errorMessage,Ft=Re.errorComponentStack;if(ee.push(Xe.startInlineScript),Xe.sentClientRenderFunction?ee.push('$RX("'):(Xe.sentClientRenderFunction=!0,ee.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),gt===null)throw Error(e(395));if(ee.push(gt),ee.push('"'),mt||dt||Ft){ee.push(",");var Bn=Le(mt||"");ee.push(Bn)}if(dt||Ft){ee.push(",");var zn=Le(dt||"");ee.push(zn)}if(Ft){ee.push(",");var En=Le(Ft);ee.push(En)}if(!ee.push(")<\/script>")){k.destination=null,me++,Ee.splice(0,me);return}}Ee.splice(0,me);var Jr=k.completedBoundaries;for(me=0;me<Jr.length;me++)if(!nn(k,F,Jr[me])){k.destination=null,me++,Jr.splice(0,me);return}Jr.splice(0,me);var lr=k.partialBoundaries;for(me=0;me<lr.length;me++){var Yi=lr[me];e:{Ee=k,Re=F;var mi=Yi.completedSegments;for(Xe=0;Xe<mi.length;Xe++)if(!jn(Ee,Re,Yi,mi[Xe])){Xe++,mi.splice(0,Xe);var Gi=!1;break e}mi.splice(0,Xe),Gi=!0}if(!Gi){k.destination=null,me++,lr.splice(0,me);return}}lr.splice(0,me);var Lr=k.completedBoundaries;for(me=0;me<Lr.length;me++)if(!nn(k,F,Lr[me])){k.destination=null,me++,Lr.splice(0,me);return}Lr.splice(0,me)}finally{k.allPendingTasks===0&&k.pingedTasks.length===0&&k.clientRenderedBoundaries.length===0&&k.completedBoundaries.length===0&&F.push(null)}}function uo(k,F){try{var G=k.abortableTasks;G.forEach(function(ee){return hi(ee,k,F)}),G.clear(),k.destination!==null&&Cn(k,k.destination)}catch(ee){wr(k,ee),Ar(k,ee)}}function On(){}function _n(k,F,G,ee){var Ee=!1,me=null,Re="",Xe={push:function(mt){return mt!==null&&(Re+=mt),!0},destroy:function(mt){Ee=!0,me=mt}},gt=!1;if(k=Rr(k,et(G,F?F.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,On,void 0,function(){gt=!0}),Wn(k),uo(k,ee),k.status===1)k.status=2,Xe.destroy(k.fatalError);else if(k.status!==2&&k.destination===null){k.destination=Xe;try{Cn(k,Xe)}catch(mt){wr(k,mt),Ar(k,mt)}}if(Ee)throw me;if(!gt)throw Error(e(426));return Re}return uc.renderToNodeStream=function(){throw Error(e(207))},uc.renderToStaticMarkup=function(k,F){return _n(k,F,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},uc.renderToStaticNodeStream=function(){throw Error(e(208))},uc.renderToString=function(k,F){return _n(k,F,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},uc.version="18.3.1",uc}var Mh={};/**
|
|
45
|
+
`),me;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":k.push(Qe(F));for(var zn in G)if(n.call(G,zn)&&(me=G[zn],me!=null))switch(zn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,F));default:ie(k,ee,zn,me)}return k.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ae(k,G,F,ee);case"html":return Ee.insertionMode===0&&k.push("<!DOCTYPE html>"),ae(k,G,F,ee);default:if(F.indexOf("-")===-1&&typeof G.is!="string")return ae(k,G,F,ee);k.push(Qe(F)),Re=me=null;for(mt in G)if(n.call(G,mt)&&(Xe=G[mt],Xe!=null))switch(mt){case"children":me=Xe;break;case"dangerouslySetInnerHTML":Re=Xe;break;case"style":q(k,ee,Xe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:a(mt)&&typeof Xe!="function"&&typeof Xe!="symbol"&&k.push(" ",mt,'="',A(Xe),'"')}return k.push(">"),x(k,Re,me),me}}function Oe(k,F,G){if(k.push('<!--$?--><template id="'),G===null)throw Error(e(395));return k.push(G),k.push('"></template>')}function ue(k,F,G,ee){switch(G.insertionMode){case 0:case 1:return k.push('<div hidden id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');case 2:return k.push('<svg aria-hidden="true" style="display:none" id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');case 3:return k.push('<math aria-hidden="true" style="display:none" id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');case 4:return k.push('<table hidden id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');case 5:return k.push('<table hidden><tbody id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');case 6:return k.push('<table hidden><tr id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');case 7:return k.push('<table hidden><colgroup id="'),k.push(F.segmentPrefix),F=ee.toString(16),k.push(F),k.push('">');default:throw Error(e(397))}}function ve(k,F){switch(F.insertionMode){case 0:case 1:return k.push("</div>");case 2:return k.push("</svg>");case 3:return k.push("</math>");case 4:return k.push("</table>");case 5:return k.push("</tbody></table>");case 6:return k.push("</tr></table>");case 7:return k.push("</colgroup></table>");default:throw Error(e(397))}}var ke=/[<\u2028\u2029]/g;function Le(k){return JSON.stringify(k).replace(ke,function(F){switch(F){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function et(k,F){return F=F===void 0?"":F,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:F+"P:",segmentPrefix:F+"S:",boundaryPrefix:F+"B:",idPrefix:F,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:k}}function ge(k,F,G,ee){return G.generateStaticMarkup?(k.push(A(F)),!1):(F===""?k=ee:(ee&&k.push("<!-- -->"),k.push(A(F)),k=!0),k)}var Se=Object.assign,Ne=Symbol.for("react.element"),We=Symbol.for("react.portal"),Be=Symbol.for("react.fragment"),ze=Symbol.for("react.strict_mode"),Ke=Symbol.for("react.profiler"),ot=Symbol.for("react.provider"),ct=Symbol.for("react.context"),pt=Symbol.for("react.forward_ref"),ft=Symbol.for("react.suspense"),yt=Symbol.for("react.suspense_list"),Je=Symbol.for("react.memo"),At=Symbol.for("react.lazy"),Mt=Symbol.for("react.scope"),Vn=Symbol.for("react.debug_trace_mode"),vr=Symbol.for("react.legacy_hidden"),Hn=Symbol.for("react.default_value"),Sn=Symbol.iterator;function $i(k){if(k==null)return null;if(typeof k=="function")return k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case Be:return"Fragment";case We:return"Portal";case Ke:return"Profiler";case ze:return"StrictMode";case ft:return"Suspense";case yt:return"SuspenseList"}if(typeof k=="object")switch(k.$$typeof){case ct:return(k.displayName||"Context")+".Consumer";case ot:return(k._context.displayName||"Context")+".Provider";case pt:var F=k.render;return k=k.displayName,k||(k=F.displayName||F.name||"",k=k!==""?"ForwardRef("+k+")":"ForwardRef"),k;case Je:return F=k.displayName||null,F!==null?F:$i(k.type)||"Memo";case At:F=k._payload,k=k._init;try{return $i(k(F))}catch{}}return null}var Pr={};function Jn(k,F){if(k=k.contextTypes,!k)return Pr;var G={},ee;for(ee in k)G[ee]=F[ee];return G}var sn=null;function fn(k,F){if(k!==F){k.context._currentValue2=k.parentValue,k=k.parent;var G=F.parent;if(k===null){if(G!==null)throw Error(e(401))}else{if(G===null)throw Error(e(401));fn(k,G)}F.context._currentValue2=F.value}}function dn(k){k.context._currentValue2=k.parentValue,k=k.parent,k!==null&&dn(k)}function ut(k){var F=k.parent;F!==null&&ut(F),k.context._currentValue2=k.value}function Dn(k,F){if(k.context._currentValue2=k.parentValue,k=k.parent,k===null)throw Error(e(402));k.depth===F.depth?fn(k,F):Dn(k,F)}function si(k,F){var G=F.parent;if(G===null)throw Error(e(402));k.depth===G.depth?fn(k,G):si(k,G),F.context._currentValue2=F.value}function on(k){var F=sn;F!==k&&(F===null?ut(k):k===null?dn(F):F.depth===k.depth?fn(F,k):F.depth>k.depth?Dn(F,k):si(F,k),sn=k)}var Vi={isMounted:function(){return!1},enqueueSetState:function(k,F){k=k._reactInternals,k.queue!==null&&k.queue.push(F)},enqueueReplaceState:function(k,F){k=k._reactInternals,k.replace=!0,k.queue=[F]},enqueueForceUpdate:function(){}};function Hi(k,F,G,ee){var Ee=k.state!==void 0?k.state:null;k.updater=Vi,k.props=G,k.state=Ee;var me={queue:[],replace:!1};k._reactInternals=me;var Re=F.contextType;if(k.context=typeof Re=="object"&&Re!==null?Re._currentValue2:ee,Re=F.getDerivedStateFromProps,typeof Re=="function"&&(Re=Re(G,Ee),Ee=Re==null?Ee:Se({},Ee,Re),k.state=Ee),typeof F.getDerivedStateFromProps!="function"&&typeof k.getSnapshotBeforeUpdate!="function"&&(typeof k.UNSAFE_componentWillMount=="function"||typeof k.componentWillMount=="function"))if(F=k.state,typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount(),F!==k.state&&Vi.enqueueReplaceState(k,k.state,null),me.queue!==null&&0<me.queue.length)if(F=me.queue,Re=me.replace,me.queue=null,me.replace=!1,Re&&F.length===1)k.state=F[0];else{for(me=Re?F[0]:k.state,Ee=!0,Re=Re?1:0;Re<F.length;Re++){var Xe=F[Re];Xe=typeof Xe=="function"?Xe.call(k,me,G,ee):Xe,Xe!=null&&(Ee?(Ee=!1,me=Se({},me,Xe)):Se(me,Xe))}k.state=me}else me.queue=null}var Ui={id:1,overflow:""};function Or(k,F,G){var ee=k.id;k=k.overflow;var Ee=32-Nn(ee)-1;ee&=~(1<<Ee),G+=1;var me=32-Nn(F)+Ee;if(30<me){var Re=Ee-Ee%5;return me=(ee&(1<<Re)-1).toString(32),ee>>=Re,Ee-=Re,{id:1<<32-Nn(F)+Ee|G<<Ee|ee,overflow:me+k}}return{id:1<<me|G<<Ee|ee,overflow:k}}var Nn=Math.clz32?Math.clz32:Gr,_r=Math.log,yr=Math.LN2;function Gr(k){return k>>>=0,k===0?32:31-(_r(k)/yr|0)|0}function qr(k,F){return k===F&&(k!==0||1/k===1/F)||k!==k&&F!==F}var Ao=typeof Object.is=="function"?Object.is:qr,Un=null,Xr=null,Qn=null,Wt=null,ai=!1,Wi=!1,Pn=0,hn=null,li=0;function ui(){if(Un===null)throw Error(e(321));return Un}function Tn(){if(0<li)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function so(){return Wt===null?Qn===null?(ai=!1,Qn=Wt=Tn()):(ai=!0,Wt=Qn):Wt.next===null?(ai=!1,Wt=Wt.next=Tn()):(ai=!0,Wt=Wt.next),Wt}function br(){Xr=Un=null,Wi=!1,Qn=null,li=0,Wt=hn=null}function ci(k,F){return typeof F=="function"?F(k):F}function an(k,F,G){if(Un=ui(),Wt=so(),ai){var ee=Wt.queue;if(F=ee.dispatch,hn!==null&&(G=hn.get(ee),G!==void 0)){hn.delete(ee),ee=Wt.memoizedState;do ee=k(ee,G.action),G=G.next;while(G!==null);return Wt.memoizedState=ee,[ee,F]}return[Wt.memoizedState,F]}return k=k===ci?typeof F=="function"?F():F:G!==void 0?G(F):F,Wt.memoizedState=k,k=Wt.queue={last:null,dispatch:null},k=k.dispatch=Ls.bind(null,Un,k),[Wt.memoizedState,k]}function Di(k,F){if(Un=ui(),Wt=so(),F=F===void 0?null:F,Wt!==null){var G=Wt.memoizedState;if(G!==null&&F!==null){var ee=G[1];e:if(ee===null)ee=!1;else{for(var Ee=0;Ee<ee.length&&Ee<F.length;Ee++)if(!Ao(F[Ee],ee[Ee])){ee=!1;break e}ee=!0}if(ee)return G[0]}}return k=k(),Wt.memoizedState=[k,F],k}function Ls(k,F,G){if(25<=li)throw Error(e(301));if(k===Un)if(Wi=!0,k={action:G,next:null},hn===null&&(hn=new Map),G=hn.get(F),G===void 0)hn.set(F,k);else{for(F=G;F.next!==null;)F=F.next;F.next=k}}function Fs(){throw Error(e(394))}function Kr(){}var ao={readContext:function(k){return k._currentValue2},useContext:function(k){return ui(),k._currentValue2},useMemo:Di,useReducer:an,useRef:function(k){Un=ui(),Wt=so();var F=Wt.memoizedState;return F===null?(k={current:k},Wt.memoizedState=k):F},useState:function(k){return an(ci,k)},useInsertionEffect:Kr,useLayoutEffect:function(){},useCallback:function(k,F){return Di(function(){return k},F)},useImperativeHandle:Kr,useEffect:Kr,useDebugValue:Kr,useDeferredValue:function(k){return ui(),k},useTransition:function(){return ui(),[!1,Fs]},useId:function(){var k=Xr.treeContext,F=k.overflow;k=k.id,k=(k&~(1<<32-Nn(k)-1)).toString(32)+F;var G=lo;if(G===null)throw Error(e(404));return F=Pn++,k=":"+G.idPrefix+"R"+k,0<F&&(k+="H"+F.toString(32)),k+":"},useMutableSource:function(k,F){return ui(),F(k._source)},useSyncExternalStore:function(k,F,G){if(G===void 0)throw Error(e(407));return G()}},lo=null,Pi=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function er(k){return console.error(k),null}function Rr(){}function Ar(k,F,G,ee,Ee,me,Re,Xe,gt){var mt=[],dt=new Set;return F={destination:null,responseState:F,progressiveChunkSize:ee===void 0?12800:ee,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:dt,pingedTasks:mt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Ee===void 0?er:Ee,onAllReady:Rr,onShellReady:Re===void 0?Rr:Re,onShellError:Rr,onFatalError:Rr},G=Zr(F,0,null,G,!1,!1),G.parentFlushed=!0,k=fi(F,k,null,G,dt,Pr,null,Ui),mt.push(k),F}function fi(k,F,G,ee,Ee,me,Re,Xe){k.allPendingTasks++,G===null?k.pendingRootTasks++:G.pendingTasks++;var gt={node:F,ping:function(){var mt=k.pingedTasks;mt.push(gt),mt.length===1&&Wn(k)},blockedBoundary:G,blockedSegment:ee,abortSet:Ee,legacyContext:me,context:Re,treeContext:Xe};return Ee.add(gt),gt}function Zr(k,F,G,ee,Ee,me){return{status:0,id:-1,index:F,parentFlushed:!1,chunks:[],children:[],formatContext:ee,boundary:G,lastPushedText:Ee,textEmbedded:me}}function wr(k,F){if(k=k.onError(F),k!=null&&typeof k!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof k+'" instead');return k}function Ir(k,F){var G=k.onShellError;G(F),G=k.onFatalError,G(F),k.destination!==null?(k.status=2,k.destination.destroy(F)):(k.status=1,k.fatalError=F)}function tr(k,F,G,ee,Ee){for(Un={},Xr=F,Pn=0,k=G(ee,Ee);Wi;)Wi=!1,Pn=0,li+=1,Wt=null,k=G(ee,Ee);return br(),k}function zi(k,F,G,ee){var Ee=G.render(),me=ee.childContextTypes;if(me!=null){var Re=F.legacyContext;if(typeof G.getChildContext!="function")ee=Re;else{G=G.getChildContext();for(var Xe in G)if(!(Xe in me))throw Error(e(108,$i(ee)||"Unknown",Xe));ee=Se({},Re,G)}F.legacyContext=ee,yn(k,F,Ee),F.legacyContext=Re}else yn(k,F,Ee)}function Oi(k,F){if(k&&k.defaultProps){F=Se({},F),k=k.defaultProps;for(var G in k)F[G]===void 0&&(F[G]=k[G]);return F}return F}function ar(k,F,G,ee,Ee){if(typeof G=="function")if(G.prototype&&G.prototype.isReactComponent){Ee=Jn(G,F.legacyContext);var me=G.contextType;me=new G(ee,typeof me=="object"&&me!==null?me._currentValue2:Ee),Hi(me,G,ee,Ee),zi(k,F,me,G)}else{me=Jn(G,F.legacyContext),Ee=tr(k,F,G,ee,me);var Re=Pn!==0;if(typeof Ee=="object"&&Ee!==null&&typeof Ee.render=="function"&&Ee.$$typeof===void 0)Hi(Ee,G,ee,me),zi(k,F,Ee,G);else if(Re){ee=F.treeContext,F.treeContext=Or(ee,1,0);try{yn(k,F,Ee)}finally{F.treeContext=ee}}else yn(k,F,Ee)}else if(typeof G=="string"){switch(Ee=F.blockedSegment,me=qe(Ee.chunks,G,ee,k.responseState,Ee.formatContext),Ee.lastPushedText=!1,Re=Ee.formatContext,Ee.formatContext=H(Re,G,ee),Lr(k,F,me),Ee.formatContext=Re,G){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Ee.chunks.push("</",G,">")}Ee.lastPushedText=!1}else{switch(G){case vr:case Vn:case ze:case Ke:case Be:yn(k,F,ee.children);return;case yt:yn(k,F,ee.children);return;case Mt:throw Error(e(343));case ft:e:{G=F.blockedBoundary,Ee=F.blockedSegment,me=ee.fallback,ee=ee.children,Re=new Set;var Xe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Re,errorDigest:null},gt=Zr(k,Ee.chunks.length,Xe,Ee.formatContext,!1,!1);Ee.children.push(gt),Ee.lastPushedText=!1;var mt=Zr(k,0,null,Ee.formatContext,!1,!1);mt.parentFlushed=!0,F.blockedBoundary=Xe,F.blockedSegment=mt;try{if(Lr(k,F,ee),k.responseState.generateStaticMarkup||mt.lastPushedText&&mt.textEmbedded&&mt.chunks.push("<!-- -->"),mt.status=1,xr(Xe,mt),Xe.pendingTasks===0)break e}catch(dt){mt.status=4,Xe.forceClientRender=!0,Xe.errorDigest=wr(k,dt)}finally{F.blockedBoundary=G,F.blockedSegment=Ee}F=fi(k,me,G,gt,Re,F.legacyContext,F.context,F.treeContext),k.pingedTasks.push(F)}return}if(typeof G=="object"&&G!==null)switch(G.$$typeof){case pt:if(ee=tr(k,F,G.render,ee,Ee),Pn!==0){G=F.treeContext,F.treeContext=Or(G,1,0);try{yn(k,F,ee)}finally{F.treeContext=G}}else yn(k,F,ee);return;case Je:G=G.type,ee=Oi(G,ee),ar(k,F,G,ee,Ee);return;case ot:if(Ee=ee.children,G=G._context,ee=ee.value,me=G._currentValue2,G._currentValue2=ee,Re=sn,sn=ee={parent:Re,depth:Re===null?0:Re.depth+1,context:G,parentValue:me,value:ee},F.context=ee,yn(k,F,Ee),k=sn,k===null)throw Error(e(403));ee=k.parentValue,k.context._currentValue2=ee===Hn?k.context._defaultValue:ee,k=sn=k.parent,F.context=k;return;case ct:ee=ee.children,ee=ee(G._currentValue2),yn(k,F,ee);return;case At:Ee=G._init,G=Ee(G._payload),ee=Oi(G,ee),ar(k,F,G,ee,void 0);return}throw Error(e(130,G==null?G:typeof G,""))}}function yn(k,F,G){if(F.node=G,typeof G=="object"&&G!==null){switch(G.$$typeof){case Ne:ar(k,F,G.type,G.props,G.ref);return;case We:throw Error(e(257));case At:var ee=G._init;G=ee(G._payload),yn(k,F,G);return}if(R(G)){Mr(k,F,G);return}if(G===null||typeof G!="object"?ee=null:(ee=Sn&&G[Sn]||G["@@iterator"],ee=typeof ee=="function"?ee:null),ee&&(ee=ee.call(G))){if(G=ee.next(),!G.done){var Ee=[];do Ee.push(G.value),G=ee.next();while(!G.done);Mr(k,F,Ee)}return}throw k=Object.prototype.toString.call(G),Error(e(31,k==="[object Object]"?"object with keys {"+Object.keys(G).join(", ")+"}":k))}typeof G=="string"?(ee=F.blockedSegment,ee.lastPushedText=ge(F.blockedSegment.chunks,G,k.responseState,ee.lastPushedText)):typeof G=="number"&&(ee=F.blockedSegment,ee.lastPushedText=ge(F.blockedSegment.chunks,""+G,k.responseState,ee.lastPushedText))}function Mr(k,F,G){for(var ee=G.length,Ee=0;Ee<ee;Ee++){var me=F.treeContext;F.treeContext=Or(me,ee,Ee);try{Lr(k,F,G[Ee])}finally{F.treeContext=me}}}function Lr(k,F,G){var ee=F.blockedSegment.formatContext,Ee=F.legacyContext,me=F.context;try{return yn(k,F,G)}catch(gt){if(br(),typeof gt=="object"&>!==null&&typeof gt.then=="function"){G=gt;var Re=F.blockedSegment,Xe=Zr(k,Re.chunks.length,null,Re.formatContext,Re.lastPushedText,!0);Re.children.push(Xe),Re.lastPushedText=!1,k=fi(k,F.node,F.blockedBoundary,Xe,F.abortSet,F.legacyContext,F.context,F.treeContext).ping,G.then(k,k),F.blockedSegment.formatContext=ee,F.legacyContext=Ee,F.context=me,on(me)}else throw F.blockedSegment.formatContext=ee,F.legacyContext=Ee,F.context=me,on(me),gt}}function di(k){var F=k.blockedBoundary;k=k.blockedSegment,k.status=3,Jr(this,F,k)}function hi(k,F,G){var ee=k.blockedBoundary;k.blockedSegment.status=3,ee===null?(F.allPendingTasks--,F.status!==2&&(F.status=2,F.destination!==null&&F.destination.push(null))):(ee.pendingTasks--,ee.forceClientRender||(ee.forceClientRender=!0,k=G===void 0?Error(e(432)):G,ee.errorDigest=F.onError(k),ee.parentFlushed&&F.clientRenderedBoundaries.push(ee)),ee.fallbackAbortableTasks.forEach(function(Ee){return hi(Ee,F,G)}),ee.fallbackAbortableTasks.clear(),F.allPendingTasks--,F.allPendingTasks===0&&(ee=F.onAllReady,ee()))}function xr(k,F){if(F.chunks.length===0&&F.children.length===1&&F.children[0].boundary===null){var G=F.children[0];G.id=F.id,G.parentFlushed=!0,G.status===1&&xr(k,G)}else k.completedSegments.push(F)}function Jr(k,F,G){if(F===null){if(G.parentFlushed){if(k.completedRootSegment!==null)throw Error(e(389));k.completedRootSegment=G}k.pendingRootTasks--,k.pendingRootTasks===0&&(k.onShellError=Rr,F=k.onShellReady,F())}else F.pendingTasks--,F.forceClientRender||(F.pendingTasks===0?(G.parentFlushed&&G.status===1&&xr(F,G),F.parentFlushed&&k.completedBoundaries.push(F),F.fallbackAbortableTasks.forEach(di,k),F.fallbackAbortableTasks.clear()):G.parentFlushed&&G.status===1&&(xr(F,G),F.completedSegments.length===1&&F.parentFlushed&&k.partialBoundaries.push(F)));k.allPendingTasks--,k.allPendingTasks===0&&(k=k.onAllReady,k())}function Wn(k){if(k.status!==2){var F=sn,G=Pi.current;Pi.current=ao;var ee=lo;lo=k.responseState;try{var Ee=k.pingedTasks,me;for(me=0;me<Ee.length;me++){var Re=Ee[me],Xe=k,gt=Re.blockedSegment;if(gt.status===0){on(Re.context);try{yn(Xe,Re,Re.node),Xe.responseState.generateStaticMarkup||gt.lastPushedText&>.textEmbedded&>.chunks.push("<!-- -->"),Re.abortSet.delete(Re),gt.status=1,Jr(Xe,Re.blockedBoundary,gt)}catch(En){if(br(),typeof En=="object"&&En!==null&&typeof En.then=="function"){var mt=Re.ping;En.then(mt,mt)}else{Re.abortSet.delete(Re),gt.status=4;var dt=Re.blockedBoundary,Ft=En,Bn=wr(Xe,Ft);if(dt===null?Ir(Xe,Ft):(dt.pendingTasks--,dt.forceClientRender||(dt.forceClientRender=!0,dt.errorDigest=Bn,dt.parentFlushed&&Xe.clientRenderedBoundaries.push(dt))),Xe.allPendingTasks--,Xe.allPendingTasks===0){var zn=Xe.onAllReady;zn()}}}finally{}}}Ee.splice(0,me),k.destination!==null&&Cn(k,k.destination)}catch(En){wr(k,En),Ir(k,En)}finally{lo=ee,Pi.current=G,G===ao&&on(F)}}}function pi(k,F,G){switch(G.parentFlushed=!0,G.status){case 0:var ee=G.id=k.nextSegmentId++;return G.lastPushedText=!1,G.textEmbedded=!1,k=k.responseState,F.push('<template id="'),F.push(k.placeholderPrefix),k=ee.toString(16),F.push(k),F.push('"></template>');case 1:G.status=2;var Ee=!0;ee=G.chunks;var me=0;G=G.children;for(var Re=0;Re<G.length;Re++){for(Ee=G[Re];me<Ee.index;me++)F.push(ee[me]);Ee=gi(k,F,Ee)}for(;me<ee.length-1;me++)F.push(ee[me]);return me<ee.length&&(Ee=F.push(ee[me])),Ee;default:throw Error(e(390))}}function gi(k,F,G){var ee=G.boundary;if(ee===null)return pi(k,F,G);if(ee.parentFlushed=!0,ee.forceClientRender)return k.responseState.generateStaticMarkup||(ee=ee.errorDigest,F.push("<!--$!-->"),F.push("<template"),ee&&(F.push(' data-dgst="'),ee=A(ee),F.push(ee),F.push('"')),F.push("></template>")),pi(k,F,G),k=k.responseState.generateStaticMarkup?!0:F.push("<!--/$-->"),k;if(0<ee.pendingTasks){ee.rootSegmentID=k.nextSegmentId++,0<ee.completedSegments.length&&k.partialBoundaries.push(ee);var Ee=k.responseState,me=Ee.nextSuspenseID++;return Ee=Ee.boundaryPrefix+me.toString(16),ee=ee.id=Ee,Oe(F,k.responseState,ee),pi(k,F,G),F.push("<!--/$-->")}if(ee.byteSize>k.progressiveChunkSize)return ee.rootSegmentID=k.nextSegmentId++,k.completedBoundaries.push(ee),Oe(F,k.responseState,ee.id),pi(k,F,G),F.push("<!--/$-->");if(k.responseState.generateStaticMarkup||F.push("<!--$-->"),G=ee.completedSegments,G.length!==1)throw Error(e(391));return gi(k,F,G[0]),k=k.responseState.generateStaticMarkup?!0:F.push("<!--/$-->"),k}function _i(k,F,G){return ue(F,k.responseState,G.formatContext,G.id),gi(k,F,G),ve(F,G.formatContext)}function nn(k,F,G){for(var ee=G.completedSegments,Ee=0;Ee<ee.length;Ee++)jn(k,F,G,ee[Ee]);if(ee.length=0,k=k.responseState,ee=G.id,G=G.rootSegmentID,F.push(k.startInlineScript),k.sentCompleteBoundaryFunction?F.push('$RC("'):(k.sentCompleteBoundaryFunction=!0,F.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),ee===null)throw Error(e(395));return G=G.toString(16),F.push(ee),F.push('","'),F.push(k.segmentPrefix),F.push(G),F.push('")<\/script>')}function jn(k,F,G,ee){if(ee.status===2)return!0;var Ee=ee.id;if(Ee===-1){if((ee.id=G.rootSegmentID)===-1)throw Error(e(392));return _i(k,F,ee)}return _i(k,F,ee),k=k.responseState,F.push(k.startInlineScript),k.sentCompleteSegmentFunction?F.push('$RS("'):(k.sentCompleteSegmentFunction=!0,F.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),F.push(k.segmentPrefix),Ee=Ee.toString(16),F.push(Ee),F.push('","'),F.push(k.placeholderPrefix),F.push(Ee),F.push('")<\/script>')}function Cn(k,F){try{var G=k.completedRootSegment;if(G!==null&&k.pendingRootTasks===0){gi(k,F,G),k.completedRootSegment=null;var ee=k.responseState.bootstrapChunks;for(G=0;G<ee.length-1;G++)F.push(ee[G]);G<ee.length&&F.push(ee[G])}var Ee=k.clientRenderedBoundaries,me;for(me=0;me<Ee.length;me++){var Re=Ee[me];ee=F;var Xe=k.responseState,gt=Re.id,mt=Re.errorDigest,dt=Re.errorMessage,Ft=Re.errorComponentStack;if(ee.push(Xe.startInlineScript),Xe.sentClientRenderFunction?ee.push('$RX("'):(Xe.sentClientRenderFunction=!0,ee.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),gt===null)throw Error(e(395));if(ee.push(gt),ee.push('"'),mt||dt||Ft){ee.push(",");var Bn=Le(mt||"");ee.push(Bn)}if(dt||Ft){ee.push(",");var zn=Le(dt||"");ee.push(zn)}if(Ft){ee.push(",");var En=Le(Ft);ee.push(En)}if(!ee.push(")<\/script>")){k.destination=null,me++,Ee.splice(0,me);return}}Ee.splice(0,me);var Qr=k.completedBoundaries;for(me=0;me<Qr.length;me++)if(!nn(k,F,Qr[me])){k.destination=null,me++,Qr.splice(0,me);return}Qr.splice(0,me);var lr=k.partialBoundaries;for(me=0;me<lr.length;me++){var Yi=lr[me];e:{Ee=k,Re=F;var mi=Yi.completedSegments;for(Xe=0;Xe<mi.length;Xe++)if(!jn(Ee,Re,Yi,mi[Xe])){Xe++,mi.splice(0,Xe);var Gi=!1;break e}mi.splice(0,Xe),Gi=!0}if(!Gi){k.destination=null,me++,lr.splice(0,me);return}}lr.splice(0,me);var Fr=k.completedBoundaries;for(me=0;me<Fr.length;me++)if(!nn(k,F,Fr[me])){k.destination=null,me++,Fr.splice(0,me);return}Fr.splice(0,me)}finally{k.allPendingTasks===0&&k.pingedTasks.length===0&&k.clientRenderedBoundaries.length===0&&k.completedBoundaries.length===0&&F.push(null)}}function uo(k,F){try{var G=k.abortableTasks;G.forEach(function(ee){return hi(ee,k,F)}),G.clear(),k.destination!==null&&Cn(k,k.destination)}catch(ee){wr(k,ee),Ir(k,ee)}}function On(){}function _n(k,F,G,ee){var Ee=!1,me=null,Re="",Xe={push:function(mt){return mt!==null&&(Re+=mt),!0},destroy:function(mt){Ee=!0,me=mt}},gt=!1;if(k=Ar(k,et(G,F?F.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,On,void 0,function(){gt=!0}),Wn(k),uo(k,ee),k.status===1)k.status=2,Xe.destroy(k.fatalError);else if(k.status!==2&&k.destination===null){k.destination=Xe;try{Cn(k,Xe)}catch(mt){wr(k,mt),Ir(k,mt)}}if(Ee)throw me;if(!gt)throw Error(e(426));return Re}return uc.renderToNodeStream=function(){throw Error(e(207))},uc.renderToStaticMarkup=function(k,F){return _n(k,F,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},uc.renderToStaticNodeStream=function(){throw Error(e(208))},uc.renderToString=function(k,F){return _n(k,F,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},uc.version="18.3.1",uc}var Mh={};/**
|
|
46
46
|
* @license React
|
|
47
47
|
* react-dom-server.browser.production.min.js
|
|
48
48
|
*
|
|
@@ -50,11 +50,11 @@ Valid keys: `+JSON.stringify(Object.keys(ge),null," "));var Je=yt(ot,ft,Be,ze,K
|
|
|
50
50
|
*
|
|
51
51
|
* This source code is licensed under the MIT license found in the
|
|
52
52
|
* LICENSE file in the root directory of this source tree.
|
|
53
|
-
*/var T1;function U4(){if(T1)return Mh;T1=1;var t=X;function e(D){for(var M="https://reactjs.org/docs/error-decoder.html?invariant="+D,W=1;W<arguments.length;W++)M+="&args[]="+encodeURIComponent(arguments[W]);return"Minified React error #"+D+"; visit "+M+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,r=0;function i(D,M){if(M.length!==0)if(512<M.length)0<r&&(D.enqueue(new Uint8Array(n.buffer,0,r)),n=new Uint8Array(512),r=0),D.enqueue(M);else{var W=n.length-r;W<M.length&&(W===0?D.enqueue(n):(n.set(M.subarray(0,W),r),D.enqueue(n),M=M.subarray(W)),n=new Uint8Array(512),r=0),n.set(M,r),r+=M.length}}function o(D,M){return i(D,M),!0}function a(D){n&&0<r&&(D.enqueue(new Uint8Array(n.buffer,0,r)),n=null,r=0)}var c=new TextEncoder;function f(D){return c.encode(D)}function p(D){return c.encode(D)}function y(D,M){typeof D.error=="function"?D.error(M):D.close()}var g=Object.prototype.hasOwnProperty,T=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,E={},A={};function I(D){return g.call(A,D)?!0:g.call(E,D)?!1:T.test(D)?A[D]=!0:(E[D]=!0,!1)}function j(D,M,W,Q,be,we,Me){this.acceptsBooleans=M===2||M===3||M===4,this.attributeName=Q,this.attributeNamespace=be,this.mustUseProperty=W,this.propertyName=D,this.type=M,this.sanitizeURL=we,this.removeEmptyString=Me}var R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(D){R[D]=new j(D,0,!1,D,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(D){var M=D[0];R[M]=new j(M,1,!1,D[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(D){R[D]=new j(D,2,!1,D.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(D){R[D]=new j(D,2,!1,D,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(D){R[D]=new j(D,3,!1,D.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(D){R[D]=new j(D,3,!0,D,null,!1,!1)}),["capture","download"].forEach(function(D){R[D]=new j(D,4,!1,D,null,!1,!1)}),["cols","rows","size","span"].forEach(function(D){R[D]=new j(D,6,!1,D,null,!1,!1)}),["rowSpan","start"].forEach(function(D){R[D]=new j(D,5,!1,D.toLowerCase(),null,!1,!1)});var U=/[\-:]([a-z])/g;function H(D){return D[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(D){var M=D.replace(U,H);R[M]=new j(M,1,!1,D,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(D){var M=D.replace(U,H);R[M]=new j(M,1,!1,D,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(D){var M=D.replace(U,H);R[M]=new j(M,1,!1,D,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(D){R[D]=new j(D,1,!1,D.toLowerCase(),null,!1,!1)}),R.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(D){R[D]=new j(D,1,!1,D.toLowerCase(),null,!0,!0)});var ne={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},q=["Webkit","ms","Moz","O"];Object.keys(ne).forEach(function(D){q.forEach(function(M){M=M+D.charAt(0).toUpperCase()+D.substring(1),ne[M]=ne[D]})});var ie=/["'&<>]/;function x(D){if(typeof D=="boolean"||typeof D=="number")return""+D;D=""+D;var M=ie.exec(D);if(M){var W="",Q,be=0;for(Q=M.index;Q<D.length;Q++){switch(D.charCodeAt(Q)){case 34:M=""";break;case 38:M="&";break;case 39:M="'";break;case 60:M="<";break;case 62:M=">";break;default:continue}be!==Q&&(W+=D.substring(be,Q)),be=Q+1,W+=M}D=be!==Q?W+D.substring(be,Q):W}return D}var le=/([A-Z])/g,ae=/^ms-/,Ve=Array.isArray,tt=p("<script>"),Qe=p("<\/script>"),qe=p('<script src="'),Oe=p('<script type="module" src="'),ue=p('" async=""><\/script>'),ve=/(<\/|<)(s)(cript)/gi;function ke(D,M,W,Q){return""+M+(W==="s"?"\\u0073":"\\u0053")+Q}function Le(D,M,W,Q,be){D=D===void 0?"":D,M=M===void 0?tt:p('<script nonce="'+x(M)+'">');var we=[];if(W!==void 0&&we.push(M,f((""+W).replace(ve,ke)),Qe),Q!==void 0)for(W=0;W<Q.length;W++)we.push(qe,f(x(Q[W])),ue);if(be!==void 0)for(Q=0;Q<be.length;Q++)we.push(Oe,f(x(be[Q])),ue);return{bootstrapChunks:we,startInlineScript:M,placeholderPrefix:p(D+"P:"),segmentPrefix:p(D+"S:"),boundaryPrefix:D+"B:",idPrefix:D,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function et(D,M){return{insertionMode:D,selectedValue:M}}function ge(D){return et(D==="http://www.w3.org/2000/svg"?2:D==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Se(D,M,W){switch(M){case"select":return et(1,W.value!=null?W.value:W.defaultValue);case"svg":return et(2,null);case"math":return et(3,null);case"foreignObject":return et(1,null);case"table":return et(4,null);case"thead":case"tbody":case"tfoot":return et(5,null);case"colgroup":return et(7,null);case"tr":return et(6,null)}return 4<=D.insertionMode||D.insertionMode===0?et(1,null):D}var Ne=p("<!-- -->");function We(D,M,W,Q){return M===""?Q:(Q&&D.push(Ne),D.push(f(x(M))),!0)}var Be=new Map,ze=p(' style="'),Ke=p(":"),ot=p(";");function ct(D,M,W){if(typeof W!="object")throw Error(e(62));M=!0;for(var Q in W)if(g.call(W,Q)){var be=W[Q];if(be!=null&&typeof be!="boolean"&&be!==""){if(Q.indexOf("--")===0){var we=f(x(Q));be=f(x((""+be).trim()))}else{we=Q;var Me=Be.get(we);Me!==void 0||(Me=p(x(we.replace(le,"-$1").toLowerCase().replace(ae,"-ms-"))),Be.set(we,Me)),we=Me,be=typeof be=="number"?be===0||g.call(ne,Q)?f(""+be):f(be+"px"):f(x((""+be).trim()))}M?(M=!1,D.push(ze,we,Ke,be)):D.push(ot,we,Ke,be)}}M||D.push(yt)}var pt=p(" "),ft=p('="'),yt=p('"'),Je=p('=""');function At(D,M,W,Q){switch(W){case"style":ct(D,M,Q);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<W.length)||W[0]!=="o"&&W[0]!=="O"||W[1]!=="n"&&W[1]!=="N"){if(M=R.hasOwnProperty(W)?R[W]:null,M!==null){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(!M.acceptsBooleans)return}switch(W=f(M.attributeName),M.type){case 3:Q&&D.push(pt,W,Je);break;case 4:Q===!0?D.push(pt,W,Je):Q!==!1&&D.push(pt,W,ft,f(x(Q)),yt);break;case 5:isNaN(Q)||D.push(pt,W,ft,f(x(Q)),yt);break;case 6:!isNaN(Q)&&1<=Q&&D.push(pt,W,ft,f(x(Q)),yt);break;default:M.sanitizeURL&&(Q=""+Q),D.push(pt,W,ft,f(x(Q)),yt)}}else if(I(W)){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(M=W.toLowerCase().slice(0,5),M!=="data-"&&M!=="aria-")return}D.push(pt,f(W),ft,f(x(Q)),yt)}}}var Mt=p(">"),Vn=p("/>");function vr(D,M,W){if(M!=null){if(W!=null)throw Error(e(60));if(typeof M!="object"||!("__html"in M))throw Error(e(61));M=M.__html,M!=null&&D.push(f(""+M))}}function Hn(D){var M="";return t.Children.forEach(D,function(W){W!=null&&(M+=W)}),M}var Sn=p(' selected=""');function $i(D,M,W,Q){D.push(fn(W));var be=W=null,we;for(we in M)if(g.call(M,we)){var Me=M[we];if(Me!=null)switch(we){case"children":W=Me;break;case"dangerouslySetInnerHTML":be=Me;break;default:At(D,Q,we,Me)}}return D.push(Mt),vr(D,be,W),typeof W=="string"?(D.push(f(x(W))),null):W}var
|
|
53
|
+
*/var T1;function U4(){if(T1)return Mh;T1=1;var t=X;function e(D){for(var M="https://reactjs.org/docs/error-decoder.html?invariant="+D,W=1;W<arguments.length;W++)M+="&args[]="+encodeURIComponent(arguments[W]);return"Minified React error #"+D+"; visit "+M+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,r=0;function i(D,M){if(M.length!==0)if(512<M.length)0<r&&(D.enqueue(new Uint8Array(n.buffer,0,r)),n=new Uint8Array(512),r=0),D.enqueue(M);else{var W=n.length-r;W<M.length&&(W===0?D.enqueue(n):(n.set(M.subarray(0,W),r),D.enqueue(n),M=M.subarray(W)),n=new Uint8Array(512),r=0),n.set(M,r),r+=M.length}}function o(D,M){return i(D,M),!0}function a(D){n&&0<r&&(D.enqueue(new Uint8Array(n.buffer,0,r)),n=null,r=0)}var c=new TextEncoder;function f(D){return c.encode(D)}function p(D){return c.encode(D)}function y(D,M){typeof D.error=="function"?D.error(M):D.close()}var g=Object.prototype.hasOwnProperty,T=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,E={},A={};function I(D){return g.call(A,D)?!0:g.call(E,D)?!1:T.test(D)?A[D]=!0:(E[D]=!0,!1)}function j(D,M,W,Q,be,we,Me){this.acceptsBooleans=M===2||M===3||M===4,this.attributeName=Q,this.attributeNamespace=be,this.mustUseProperty=W,this.propertyName=D,this.type=M,this.sanitizeURL=we,this.removeEmptyString=Me}var R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(D){R[D]=new j(D,0,!1,D,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(D){var M=D[0];R[M]=new j(M,1,!1,D[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(D){R[D]=new j(D,2,!1,D.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(D){R[D]=new j(D,2,!1,D,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(D){R[D]=new j(D,3,!1,D.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(D){R[D]=new j(D,3,!0,D,null,!1,!1)}),["capture","download"].forEach(function(D){R[D]=new j(D,4,!1,D,null,!1,!1)}),["cols","rows","size","span"].forEach(function(D){R[D]=new j(D,6,!1,D,null,!1,!1)}),["rowSpan","start"].forEach(function(D){R[D]=new j(D,5,!1,D.toLowerCase(),null,!1,!1)});var U=/[\-:]([a-z])/g;function H(D){return D[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(D){var M=D.replace(U,H);R[M]=new j(M,1,!1,D,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(D){var M=D.replace(U,H);R[M]=new j(M,1,!1,D,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(D){var M=D.replace(U,H);R[M]=new j(M,1,!1,D,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(D){R[D]=new j(D,1,!1,D.toLowerCase(),null,!1,!1)}),R.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(D){R[D]=new j(D,1,!1,D.toLowerCase(),null,!0,!0)});var ne={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},q=["Webkit","ms","Moz","O"];Object.keys(ne).forEach(function(D){q.forEach(function(M){M=M+D.charAt(0).toUpperCase()+D.substring(1),ne[M]=ne[D]})});var ie=/["'&<>]/;function x(D){if(typeof D=="boolean"||typeof D=="number")return""+D;D=""+D;var M=ie.exec(D);if(M){var W="",Q,be=0;for(Q=M.index;Q<D.length;Q++){switch(D.charCodeAt(Q)){case 34:M=""";break;case 38:M="&";break;case 39:M="'";break;case 60:M="<";break;case 62:M=">";break;default:continue}be!==Q&&(W+=D.substring(be,Q)),be=Q+1,W+=M}D=be!==Q?W+D.substring(be,Q):W}return D}var le=/([A-Z])/g,ae=/^ms-/,Ve=Array.isArray,tt=p("<script>"),Qe=p("<\/script>"),qe=p('<script src="'),Oe=p('<script type="module" src="'),ue=p('" async=""><\/script>'),ve=/(<\/|<)(s)(cript)/gi;function ke(D,M,W,Q){return""+M+(W==="s"?"\\u0073":"\\u0053")+Q}function Le(D,M,W,Q,be){D=D===void 0?"":D,M=M===void 0?tt:p('<script nonce="'+x(M)+'">');var we=[];if(W!==void 0&&we.push(M,f((""+W).replace(ve,ke)),Qe),Q!==void 0)for(W=0;W<Q.length;W++)we.push(qe,f(x(Q[W])),ue);if(be!==void 0)for(Q=0;Q<be.length;Q++)we.push(Oe,f(x(be[Q])),ue);return{bootstrapChunks:we,startInlineScript:M,placeholderPrefix:p(D+"P:"),segmentPrefix:p(D+"S:"),boundaryPrefix:D+"B:",idPrefix:D,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function et(D,M){return{insertionMode:D,selectedValue:M}}function ge(D){return et(D==="http://www.w3.org/2000/svg"?2:D==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Se(D,M,W){switch(M){case"select":return et(1,W.value!=null?W.value:W.defaultValue);case"svg":return et(2,null);case"math":return et(3,null);case"foreignObject":return et(1,null);case"table":return et(4,null);case"thead":case"tbody":case"tfoot":return et(5,null);case"colgroup":return et(7,null);case"tr":return et(6,null)}return 4<=D.insertionMode||D.insertionMode===0?et(1,null):D}var Ne=p("<!-- -->");function We(D,M,W,Q){return M===""?Q:(Q&&D.push(Ne),D.push(f(x(M))),!0)}var Be=new Map,ze=p(' style="'),Ke=p(":"),ot=p(";");function ct(D,M,W){if(typeof W!="object")throw Error(e(62));M=!0;for(var Q in W)if(g.call(W,Q)){var be=W[Q];if(be!=null&&typeof be!="boolean"&&be!==""){if(Q.indexOf("--")===0){var we=f(x(Q));be=f(x((""+be).trim()))}else{we=Q;var Me=Be.get(we);Me!==void 0||(Me=p(x(we.replace(le,"-$1").toLowerCase().replace(ae,"-ms-"))),Be.set(we,Me)),we=Me,be=typeof be=="number"?be===0||g.call(ne,Q)?f(""+be):f(be+"px"):f(x((""+be).trim()))}M?(M=!1,D.push(ze,we,Ke,be)):D.push(ot,we,Ke,be)}}M||D.push(yt)}var pt=p(" "),ft=p('="'),yt=p('"'),Je=p('=""');function At(D,M,W,Q){switch(W){case"style":ct(D,M,Q);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<W.length)||W[0]!=="o"&&W[0]!=="O"||W[1]!=="n"&&W[1]!=="N"){if(M=R.hasOwnProperty(W)?R[W]:null,M!==null){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(!M.acceptsBooleans)return}switch(W=f(M.attributeName),M.type){case 3:Q&&D.push(pt,W,Je);break;case 4:Q===!0?D.push(pt,W,Je):Q!==!1&&D.push(pt,W,ft,f(x(Q)),yt);break;case 5:isNaN(Q)||D.push(pt,W,ft,f(x(Q)),yt);break;case 6:!isNaN(Q)&&1<=Q&&D.push(pt,W,ft,f(x(Q)),yt);break;default:M.sanitizeURL&&(Q=""+Q),D.push(pt,W,ft,f(x(Q)),yt)}}else if(I(W)){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(M=W.toLowerCase().slice(0,5),M!=="data-"&&M!=="aria-")return}D.push(pt,f(W),ft,f(x(Q)),yt)}}}var Mt=p(">"),Vn=p("/>");function vr(D,M,W){if(M!=null){if(W!=null)throw Error(e(60));if(typeof M!="object"||!("__html"in M))throw Error(e(61));M=M.__html,M!=null&&D.push(f(""+M))}}function Hn(D){var M="";return t.Children.forEach(D,function(W){W!=null&&(M+=W)}),M}var Sn=p(' selected=""');function $i(D,M,W,Q){D.push(fn(W));var be=W=null,we;for(we in M)if(g.call(M,we)){var Me=M[we];if(Me!=null)switch(we){case"children":W=Me;break;case"dangerouslySetInnerHTML":be=Me;break;default:At(D,Q,we,Me)}}return D.push(Mt),vr(D,be,W),typeof W=="string"?(D.push(f(x(W))),null):W}var Pr=p(`
|
|
54
54
|
`),Jn=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,sn=new Map;function fn(D){var M=sn.get(D);if(M===void 0){if(!Jn.test(D))throw Error(e(65,D));M=p("<"+D),sn.set(D,M)}return M}var dn=p("<!DOCTYPE html>");function ut(D,M,W,Q,be){switch(M){case"select":D.push(fn("select"));var we=null,Me=null;for(St in W)if(g.call(W,St)){var Ye=W[St];if(Ye!=null)switch(St){case"children":we=Ye;break;case"dangerouslySetInnerHTML":Me=Ye;break;case"defaultValue":case"value":break;default:At(D,Q,St,Ye)}}return D.push(Mt),vr(D,Me,we),we;case"option":Me=be.selectedValue,D.push(fn("option"));var ht=Ye=null,_t=null,St=null;for(we in W)if(g.call(W,we)){var vt=W[we];if(vt!=null)switch(we){case"children":Ye=vt;break;case"selected":_t=vt;break;case"dangerouslySetInnerHTML":St=vt;break;case"value":ht=vt;default:At(D,Q,we,vt)}}if(Me!=null)if(W=ht!==null?""+ht:Hn(Ye),Ve(Me)){for(Q=0;Q<Me.length;Q++)if(""+Me[Q]===W){D.push(Sn);break}}else""+Me===W&&D.push(Sn);else _t&&D.push(Sn);return D.push(Mt),vr(D,St,Ye),Ye;case"textarea":D.push(fn("textarea")),St=Me=we=null;for(Ye in W)if(g.call(W,Ye)&&(ht=W[Ye],ht!=null))switch(Ye){case"children":St=ht;break;case"value":we=ht;break;case"defaultValue":Me=ht;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:At(D,Q,Ye,ht)}if(we===null&&Me!==null&&(we=Me),D.push(Mt),St!=null){if(we!=null)throw Error(e(92));if(Ve(St)&&1<St.length)throw Error(e(93));we=""+St}return typeof we=="string"&&we[0]===`
|
|
55
|
-
`&&D.push(
|
|
56
|
-
`?D.push(
|
|
57
|
-
`&&D.push(Dr),we;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":D.push(fn(M));for(var bn in W)if(g.call(W,bn)&&(we=W[bn],we!=null))switch(bn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,M));default:At(D,Q,bn,we)}return D.push(Vn),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return $i(D,W,M,Q);case"html":return be.insertionMode===0&&D.push(dn),$i(D,W,M,Q);default:if(M.indexOf("-")===-1&&typeof W.is!="string")return $i(D,W,M,Q);D.push(fn(M)),Me=we=null;for(_t in W)if(g.call(W,_t)&&(Ye=W[_t],Ye!=null))switch(_t){case"children":we=Ye;break;case"dangerouslySetInnerHTML":Me=Ye;break;case"style":ct(D,Q,Ye);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:I(_t)&&typeof Ye!="function"&&typeof Ye!="symbol"&&D.push(pt,f(_t),ft,f(x(Ye)),yt)}return D.push(Mt),vr(D,Me,we),we}}var Dn=p("</"),si=p(">"),on=p('<template id="'),Vi=p('"></template>'),Hi=p("<!--$-->"),Ui=p('<!--$?--><template id="'),Pr=p('"></template>'),Nn=p("<!--$!-->"),Or=p("<!--/$-->"),yr=p("<template"),Yr=p('"'),Gr=p(' data-dgst="');p(' data-msg="'),p(' data-stck="');var Ao=p("></template>");function Un(D,M,W){if(i(D,Ui),W===null)throw Error(e(395));return i(D,W),o(D,Pr)}var qr=p('<div hidden id="'),Qn=p('">'),Wt=p("</div>"),ai=p('<svg aria-hidden="true" style="display:none" id="'),Wi=p('">'),Pn=p("</svg>"),hn=p('<math aria-hidden="true" style="display:none" id="'),li=p('">'),ui=p("</math>"),Tn=p('<table hidden id="'),so=p('">'),br=p("</table>"),ci=p('<table hidden><tbody id="'),an=p('">'),Di=p("</tbody></table>"),Ls=p('<table hidden><tr id="'),Fs=p('">'),Xr=p("</tr></table>"),ao=p('<table hidden><colgroup id="'),lo=p('">'),Pi=p("</colgroup></table>");function er(D,M,W,Q){switch(W.insertionMode){case 0:case 1:return i(D,qr),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,Qn);case 2:return i(D,ai),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,Wi);case 3:return i(D,hn),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,li);case 4:return i(D,Tn),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,so);case 5:return i(D,ci),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,an);case 6:return i(D,Ls),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,Fs);case 7:return i(D,ao),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,lo);default:throw Error(e(397))}}function _r(D,M){switch(M.insertionMode){case 0:case 1:return o(D,Wt);case 2:return o(D,Pn);case 3:return o(D,ui);case 4:return o(D,br);case 5:return o(D,Di);case 6:return o(D,Xr);case 7:return o(D,Pi);default:throw Error(e(397))}}var Rr=p('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),fi=p('$RS("'),Kr=p('","'),wr=p('")<\/script>'),Ar=p('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),tr=p('$RC("'),zi=p('","'),Oi=p('")<\/script>'),ar=p('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),yn=p('$RX("'),Ir=p('"'),Mr=p(")<\/script>"),di=p(","),hi=/[<\u2028\u2029]/g;function xr(D){return JSON.stringify(D).replace(hi,function(M){switch(M){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Zr=Object.assign,Wn=Symbol.for("react.element"),pi=Symbol.for("react.portal"),gi=Symbol.for("react.fragment"),_i=Symbol.for("react.strict_mode"),nn=Symbol.for("react.profiler"),jn=Symbol.for("react.provider"),Cn=Symbol.for("react.context"),uo=Symbol.for("react.forward_ref"),On=Symbol.for("react.suspense"),_n=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),G=Symbol.for("react.scope"),ee=Symbol.for("react.debug_trace_mode"),Ee=Symbol.for("react.legacy_hidden"),me=Symbol.for("react.default_value"),Re=Symbol.iterator;function Xe(D){if(D==null)return null;if(typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case gi:return"Fragment";case pi:return"Portal";case nn:return"Profiler";case _i:return"StrictMode";case On:return"Suspense";case _n:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case Cn:return(D.displayName||"Context")+".Consumer";case jn:return(D._context.displayName||"Context")+".Provider";case uo:var M=D.render;return D=D.displayName,D||(D=M.displayName||M.name||"",D=D!==""?"ForwardRef("+D+")":"ForwardRef"),D;case k:return M=D.displayName||null,M!==null?M:Xe(D.type)||"Memo";case F:M=D._payload,D=D._init;try{return Xe(D(M))}catch{}}return null}var gt={};function mt(D,M){if(D=D.contextTypes,!D)return gt;var W={},Q;for(Q in D)W[Q]=M[Q];return W}var dt=null;function Ft(D,M){if(D!==M){D.context._currentValue=D.parentValue,D=D.parent;var W=M.parent;if(D===null){if(W!==null)throw Error(e(401))}else{if(W===null)throw Error(e(401));Ft(D,W)}M.context._currentValue=M.value}}function Bn(D){D.context._currentValue=D.parentValue,D=D.parent,D!==null&&Bn(D)}function zn(D){var M=D.parent;M!==null&&zn(M),D.context._currentValue=D.value}function En(D,M){if(D.context._currentValue=D.parentValue,D=D.parent,D===null)throw Error(e(402));D.depth===M.depth?Ft(D,M):En(D,M)}function Jr(D,M){var W=M.parent;if(W===null)throw Error(e(402));D.depth===W.depth?Ft(D,W):Jr(D,W),M.context._currentValue=M.value}function lr(D){var M=dt;M!==D&&(M===null?zn(D):D===null?Bn(M):M.depth===D.depth?Ft(M,D):M.depth>D.depth?En(M,D):Jr(M,D),dt=D)}var Yi={isMounted:function(){return!1},enqueueSetState:function(D,M){D=D._reactInternals,D.queue!==null&&D.queue.push(M)},enqueueReplaceState:function(D,M){D=D._reactInternals,D.replace=!0,D.queue=[M]},enqueueForceUpdate:function(){}};function mi(D,M,W,Q){var be=D.state!==void 0?D.state:null;D.updater=Yi,D.props=W,D.state=be;var we={queue:[],replace:!1};D._reactInternals=we;var Me=M.contextType;if(D.context=typeof Me=="object"&&Me!==null?Me._currentValue:Q,Me=M.getDerivedStateFromProps,typeof Me=="function"&&(Me=Me(W,be),be=Me==null?be:Zr({},be,Me),D.state=be),typeof M.getDerivedStateFromProps!="function"&&typeof D.getSnapshotBeforeUpdate!="function"&&(typeof D.UNSAFE_componentWillMount=="function"||typeof D.componentWillMount=="function"))if(M=D.state,typeof D.componentWillMount=="function"&&D.componentWillMount(),typeof D.UNSAFE_componentWillMount=="function"&&D.UNSAFE_componentWillMount(),M!==D.state&&Yi.enqueueReplaceState(D,D.state,null),we.queue!==null&&0<we.queue.length)if(M=we.queue,Me=we.replace,we.queue=null,we.replace=!1,Me&&M.length===1)D.state=M[0];else{for(we=Me?M[0]:D.state,be=!0,Me=Me?1:0;Me<M.length;Me++){var Ye=M[Me];Ye=typeof Ye=="function"?Ye.call(D,we,W,Q):Ye,Ye!=null&&(be?(be=!1,we=Zr({},we,Ye)):Zr(we,Ye))}D.state=we}else we.queue=null}var Gi={id:1,overflow:""};function Lr(D,M,W){var Q=D.id;D=D.overflow;var be=32-qi(Q)-1;Q&=~(1<<be),W+=1;var we=32-qi(M)+be;if(30<we){var Me=be-be%5;return we=(Q&(1<<Me)-1).toString(32),Q>>=Me,be-=Me,{id:1<<32-qi(M)+be|W<<be|Q,overflow:we+D}}return{id:1<<we|W<<be|Q,overflow:D}}var qi=Math.clz32?Math.clz32:rs,Wa=Math.log,Ns=Math.LN2;function rs(D){return D>>>=0,D===0?32:31-(Wa(D)/Ns|0)|0}function Sr(D,M){return D===M&&(D!==0||1/D===1/M)||D!==D&&M!==M}var za=typeof Object.is=="function"?Object.is:Sr,vi=null,js=null,is=null,rn=null,Gt=!1,Kt=!1,Ri=0,Qr=null,Io=0;function yi(){if(vi===null)throw Error(e(321));return vi}function ur(){if(0<Io)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Bs(){return rn===null?is===null?(Gt=!1,is=rn=ur()):(Gt=!0,rn=is):rn.next===null?(Gt=!1,rn=rn.next=ur()):(Gt=!0,rn=rn.next),rn}function co(){js=vi=null,Kt=!1,is=null,Io=0,rn=Qr=null}function ua(D,M){return typeof M=="function"?M(D):M}function ln(D,M,W){if(vi=yi(),rn=Bs(),Gt){var Q=rn.queue;if(M=Q.dispatch,Qr!==null&&(W=Qr.get(Q),W!==void 0)){Qr.delete(Q),Q=rn.memoizedState;do Q=D(Q,W.action),W=W.next;while(W!==null);return rn.memoizedState=Q,[Q,M]}return[rn.memoizedState,M]}return D=D===ua?typeof M=="function"?M():M:W!==void 0?W(M):M,rn.memoizedState=D,D=rn.queue={last:null,dispatch:null},D=D.dispatch=bi.bind(null,vi,D),[rn.memoizedState,D]}function Mo(D,M){if(vi=yi(),rn=Bs(),M=M===void 0?null:M,rn!==null){var W=rn.memoizedState;if(W!==null&&M!==null){var Q=W[1];e:if(Q===null)Q=!1;else{for(var be=0;be<Q.length&&be<M.length;be++)if(!za(M[be],Q[be])){Q=!1;break e}Q=!0}if(Q)return W[0]}}return D=D(),rn.memoizedState=[D,M],D}function bi(D,M,W){if(25<=Io)throw Error(e(301));if(D===vi)if(Kt=!0,D={action:W,next:null},Qr===null&&(Qr=new Map),W=Qr.get(M),W===void 0)Qr.set(M,D);else{for(M=W;M.next!==null;)M=M.next;M.next=D}}function ca(){throw Error(e(394))}function fo(){}var cr={readContext:function(D){return D._currentValue},useContext:function(D){return yi(),D._currentValue},useMemo:Mo,useReducer:ln,useRef:function(D){vi=yi(),rn=Bs();var M=rn.memoizedState;return M===null?(D={current:D},rn.memoizedState=D):M},useState:function(D){return ln(ua,D)},useInsertionEffect:fo,useLayoutEffect:function(){},useCallback:function(D,M){return Mo(function(){return D},M)},useImperativeHandle:fo,useEffect:fo,useDebugValue:fo,useDeferredValue:function(D){return yi(),D},useTransition:function(){return yi(),[!1,ca]},useId:function(){var D=js.treeContext,M=D.overflow;D=D.id,D=(D&~(1<<32-qi(D)-1)).toString(32)+M;var W=h;if(W===null)throw Error(e(404));return M=Ri++,D=":"+W.idPrefix+"R"+D,0<M&&(D+="H"+M.toString(32)),D+":"},useMutableSource:function(D,M){return yi(),M(D._source)},useSyncExternalStore:function(D,M,W){if(W===void 0)throw Error(e(407));return W()}},h=null,b=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function C(D){return console.error(D),null}function P(){}function L(D,M,W,Q,be,we,Me,Ye,ht){var _t=[],St=new Set;return M={destination:null,responseState:M,progressiveChunkSize:Q===void 0?12800:Q,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:St,pingedTasks:_t,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:be===void 0?C:be,onAllReady:we===void 0?P:we,onShellReady:Me===void 0?P:Me,onShellError:Ye===void 0?P:Ye,onFatalError:ht===void 0?P:ht},W=V(M,0,null,W,!1,!1),W.parentFlushed=!0,D=N(M,D,null,W,St,gt,null,Gi),_t.push(D),M}function N(D,M,W,Q,be,we,Me,Ye){D.allPendingTasks++,W===null?D.pendingRootTasks++:W.pendingTasks++;var ht={node:M,ping:function(){var _t=D.pingedTasks;_t.push(ht),_t.length===1&&Nr(D)},blockedBoundary:W,blockedSegment:Q,abortSet:be,legacyContext:we,context:Me,treeContext:Ye};return be.add(ht),ht}function V(D,M,W,Q,be,we){return{status:0,id:-1,index:M,parentFlushed:!1,chunks:[],children:[],formatContext:Q,boundary:W,lastPushedText:be,textEmbedded:we}}function se(D,M){if(D=D.onError(M),D!=null&&typeof D!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof D+'" instead');return D}function te(D,M){var W=D.onShellError;W(M),W=D.onFatalError,W(M),D.destination!==null?(D.status=2,y(D.destination,M)):(D.status=1,D.fatalError=M)}function pe(D,M,W,Q,be){for(vi={},js=M,Ri=0,D=W(Q,be);Kt;)Kt=!1,Ri=0,Io+=1,rn=null,D=W(Q,be);return co(),D}function _e(D,M,W,Q){var be=W.render(),we=Q.childContextTypes;if(we!=null){var Me=M.legacyContext;if(typeof W.getChildContext!="function")Q=Me;else{W=W.getChildContext();for(var Ye in W)if(!(Ye in we))throw Error(e(108,Xe(Q)||"Unknown",Ye));Q=Zr({},Me,W)}M.legacyContext=Q,$e(D,M,be),M.legacyContext=Me}else $e(D,M,be)}function Ae(D,M){if(D&&D.defaultProps){M=Zr({},M),D=D.defaultProps;for(var W in D)M[W]===void 0&&(M[W]=D[W]);return M}return M}function Te(D,M,W,Q,be){if(typeof W=="function")if(W.prototype&&W.prototype.isReactComponent){be=mt(W,M.legacyContext);var we=W.contextType;we=new W(Q,typeof we=="object"&&we!==null?we._currentValue:be),mi(we,W,Q,be),_e(D,M,we,W)}else{we=mt(W,M.legacyContext),be=pe(D,M,W,Q,we);var Me=Ri!==0;if(typeof be=="object"&&be!==null&&typeof be.render=="function"&&be.$$typeof===void 0)mi(be,W,Q,we),_e(D,M,be,W);else if(Me){Q=M.treeContext,M.treeContext=Lr(Q,1,0);try{$e(D,M,be)}finally{M.treeContext=Q}}else $e(D,M,be)}else if(typeof W=="string"){switch(be=M.blockedSegment,we=ut(be.chunks,W,Q,D.responseState,be.formatContext),be.lastPushedText=!1,Me=be.formatContext,be.formatContext=Se(Me,W,Q),Tt(D,M,we),be.formatContext=Me,W){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:be.chunks.push(Dn,f(W),si)}be.lastPushedText=!1}else{switch(W){case Ee:case ee:case _i:case nn:case gi:$e(D,M,Q.children);return;case _n:$e(D,M,Q.children);return;case G:throw Error(e(343));case On:e:{W=M.blockedBoundary,be=M.blockedSegment,we=Q.fallback,Q=Q.children,Me=new Set;var Ye={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Me,errorDigest:null},ht=V(D,be.chunks.length,Ye,be.formatContext,!1,!1);be.children.push(ht),be.lastPushedText=!1;var _t=V(D,0,null,be.formatContext,!1,!1);_t.parentFlushed=!0,M.blockedBoundary=Ye,M.blockedSegment=_t;try{if(Tt(D,M,Q),_t.lastPushedText&&_t.textEmbedded&&_t.chunks.push(Ne),_t.status=1,un(Ye,_t),Ye.pendingTasks===0)break e}catch(St){_t.status=4,Ye.forceClientRender=!0,Ye.errorDigest=se(D,St)}finally{M.blockedBoundary=W,M.blockedSegment=be}M=N(D,we,W,ht,Me,M.legacyContext,M.context,M.treeContext),D.pingedTasks.push(M)}return}if(typeof W=="object"&&W!==null)switch(W.$$typeof){case uo:if(Q=pe(D,M,W.render,Q,be),Ri!==0){W=M.treeContext,M.treeContext=Lr(W,1,0);try{$e(D,M,Q)}finally{M.treeContext=W}}else $e(D,M,Q);return;case k:W=W.type,Q=Ae(W,Q),Te(D,M,W,Q,be);return;case jn:if(be=Q.children,W=W._context,Q=Q.value,we=W._currentValue,W._currentValue=Q,Me=dt,dt=Q={parent:Me,depth:Me===null?0:Me.depth+1,context:W,parentValue:we,value:Q},M.context=Q,$e(D,M,be),D=dt,D===null)throw Error(e(403));Q=D.parentValue,D.context._currentValue=Q===me?D.context._defaultValue:Q,D=dt=D.parent,M.context=D;return;case Cn:Q=Q.children,Q=Q(W._currentValue),$e(D,M,Q);return;case F:be=W._init,W=be(W._payload),Q=Ae(W,Q),Te(D,M,W,Q,void 0);return}throw Error(e(130,W==null?W:typeof W,""))}}function $e(D,M,W){if(M.node=W,typeof W=="object"&&W!==null){switch(W.$$typeof){case Wn:Te(D,M,W.type,W.props,W.ref);return;case pi:throw Error(e(257));case F:var Q=W._init;W=Q(W._payload),$e(D,M,W);return}if(Ve(W)){it(D,M,W);return}if(W===null||typeof W!="object"?Q=null:(Q=Re&&W[Re]||W["@@iterator"],Q=typeof Q=="function"?Q:null),Q&&(Q=Q.call(W))){if(W=Q.next(),!W.done){var be=[];do be.push(W.value),W=Q.next();while(!W.done);it(D,M,be)}return}throw D=Object.prototype.toString.call(W),Error(e(31,D==="[object Object]"?"object with keys {"+Object.keys(W).join(", ")+"}":D))}typeof W=="string"?(Q=M.blockedSegment,Q.lastPushedText=We(M.blockedSegment.chunks,W,D.responseState,Q.lastPushedText)):typeof W=="number"&&(Q=M.blockedSegment,Q.lastPushedText=We(M.blockedSegment.chunks,""+W,D.responseState,Q.lastPushedText))}function it(D,M,W){for(var Q=W.length,be=0;be<Q;be++){var we=M.treeContext;M.treeContext=Lr(we,Q,be);try{Tt(D,M,W[be])}finally{M.treeContext=we}}}function Tt(D,M,W){var Q=M.blockedSegment.formatContext,be=M.legacyContext,we=M.context;try{return $e(D,M,W)}catch(ht){if(co(),typeof ht=="object"&&ht!==null&&typeof ht.then=="function"){W=ht;var Me=M.blockedSegment,Ye=V(D,Me.chunks.length,null,Me.formatContext,Me.lastPushedText,!0);Me.children.push(Ye),Me.lastPushedText=!1,D=N(D,M.node,M.blockedBoundary,Ye,M.abortSet,M.legacyContext,M.context,M.treeContext).ping,W.then(D,D),M.blockedSegment.formatContext=Q,M.legacyContext=be,M.context=we,lr(we)}else throw M.blockedSegment.formatContext=Q,M.legacyContext=be,M.context=we,lr(we),ht}}function Et(D){var M=D.blockedBoundary;D=D.blockedSegment,D.status=3,Fr(this,M,D)}function Rn(D,M,W){var Q=D.blockedBoundary;D.blockedSegment.status=3,Q===null?(M.allPendingTasks--,M.status!==2&&(M.status=2,M.destination!==null&&M.destination.close())):(Q.pendingTasks--,Q.forceClientRender||(Q.forceClientRender=!0,D=W===void 0?Error(e(432)):W,Q.errorDigest=M.onError(D),Q.parentFlushed&&M.clientRenderedBoundaries.push(Q)),Q.fallbackAbortableTasks.forEach(function(be){return Rn(be,M,W)}),Q.fallbackAbortableTasks.clear(),M.allPendingTasks--,M.allPendingTasks===0&&(Q=M.onAllReady,Q()))}function un(D,M){if(M.chunks.length===0&&M.children.length===1&&M.children[0].boundary===null){var W=M.children[0];W.id=M.id,W.parentFlushed=!0,W.status===1&&un(D,W)}else D.completedSegments.push(M)}function Fr(D,M,W){if(M===null){if(W.parentFlushed){if(D.completedRootSegment!==null)throw Error(e(389));D.completedRootSegment=W}D.pendingRootTasks--,D.pendingRootTasks===0&&(D.onShellError=P,M=D.onShellReady,M())}else M.pendingTasks--,M.forceClientRender||(M.pendingTasks===0?(W.parentFlushed&&W.status===1&&un(M,W),M.parentFlushed&&D.completedBoundaries.push(M),M.fallbackAbortableTasks.forEach(Et,D),M.fallbackAbortableTasks.clear()):W.parentFlushed&&W.status===1&&(un(M,W),M.completedSegments.length===1&&M.parentFlushed&&D.partialBoundaries.push(M)));D.allPendingTasks--,D.allPendingTasks===0&&(D=D.onAllReady,D())}function Nr(D){if(D.status!==2){var M=dt,W=b.current;b.current=cr;var Q=h;h=D.responseState;try{var be=D.pingedTasks,we;for(we=0;we<be.length;we++){var Me=be[we],Ye=D,ht=Me.blockedSegment;if(ht.status===0){lr(Me.context);try{$e(Ye,Me,Me.node),ht.lastPushedText&&ht.textEmbedded&&ht.chunks.push(Ne),Me.abortSet.delete(Me),ht.status=1,Fr(Ye,Me.blockedBoundary,ht)}catch($n){if(co(),typeof $n=="object"&&$n!==null&&typeof $n.then=="function"){var _t=Me.ping;$n.then(_t,_t)}else{Me.abortSet.delete(Me),ht.status=4;var St=Me.blockedBoundary,vt=$n,An=se(Ye,vt);if(St===null?te(Ye,vt):(St.pendingTasks--,St.forceClientRender||(St.forceClientRender=!0,St.errorDigest=An,St.parentFlushed&&Ye.clientRenderedBoundaries.push(St))),Ye.allPendingTasks--,Ye.allPendingTasks===0){var bn=Ye.onAllReady;bn()}}}finally{}}}be.splice(0,we),D.destination!==null&&po(D,D.destination)}catch($n){se(D,$n),te(D,$n)}finally{h=Q,b.current=W,W===cr&&lr(M)}}}function Lt(D,M,W){switch(W.parentFlushed=!0,W.status){case 0:var Q=W.id=D.nextSegmentId++;return W.lastPushedText=!1,W.textEmbedded=!1,D=D.responseState,i(M,on),i(M,D.placeholderPrefix),D=f(Q.toString(16)),i(M,D),o(M,Vi);case 1:W.status=2;var be=!0;Q=W.chunks;var we=0;W=W.children;for(var Me=0;Me<W.length;Me++){for(be=W[Me];we<be.index;we++)i(M,Q[we]);be=jr(D,M,be)}for(;we<Q.length-1;we++)i(M,Q[we]);return we<Q.length&&(be=o(M,Q[we])),be;default:throw Error(e(390))}}function jr(D,M,W){var Q=W.boundary;if(Q===null)return Lt(D,M,W);if(Q.parentFlushed=!0,Q.forceClientRender)Q=Q.errorDigest,o(M,Nn),i(M,yr),Q&&(i(M,Gr),i(M,f(x(Q))),i(M,Yr)),o(M,Ao),Lt(D,M,W);else if(0<Q.pendingTasks){Q.rootSegmentID=D.nextSegmentId++,0<Q.completedSegments.length&&D.partialBoundaries.push(Q);var be=D.responseState,we=be.nextSuspenseID++;be=p(be.boundaryPrefix+we.toString(16)),Q=Q.id=be,Un(M,D.responseState,Q),Lt(D,M,W)}else if(Q.byteSize>D.progressiveChunkSize)Q.rootSegmentID=D.nextSegmentId++,D.completedBoundaries.push(Q),Un(M,D.responseState,Q.id),Lt(D,M,W);else{if(o(M,Hi),W=Q.completedSegments,W.length!==1)throw Error(e(391));jr(D,M,W[0])}return o(M,Or)}function jt(D,M,W){return er(M,D.responseState,W.formatContext,W.id),jr(D,M,W),_r(M,W.formatContext)}function Qt(D,M,W){for(var Q=W.completedSegments,be=0;be<Q.length;be++)ho(D,M,W,Q[be]);if(Q.length=0,D=D.responseState,Q=W.id,W=W.rootSegmentID,i(M,D.startInlineScript),D.sentCompleteBoundaryFunction?i(M,tr):(D.sentCompleteBoundaryFunction=!0,i(M,Ar)),Q===null)throw Error(e(395));return W=f(W.toString(16)),i(M,Q),i(M,zi),i(M,D.segmentPrefix),i(M,W),o(M,Oi)}function ho(D,M,W,Q){if(Q.status===2)return!0;var be=Q.id;if(be===-1){if((Q.id=W.rootSegmentID)===-1)throw Error(e(392));return jt(D,M,Q)}return jt(D,M,Q),D=D.responseState,i(M,D.startInlineScript),D.sentCompleteSegmentFunction?i(M,fi):(D.sentCompleteSegmentFunction=!0,i(M,Rr)),i(M,D.segmentPrefix),be=f(be.toString(16)),i(M,be),i(M,Kr),i(M,D.placeholderPrefix),i(M,be),o(M,wr)}function po(D,M){n=new Uint8Array(512),r=0;try{var W=D.completedRootSegment;if(W!==null&&D.pendingRootTasks===0){jr(D,M,W),D.completedRootSegment=null;var Q=D.responseState.bootstrapChunks;for(W=0;W<Q.length-1;W++)i(M,Q[W]);W<Q.length&&o(M,Q[W])}var be=D.clientRenderedBoundaries,we;for(we=0;we<be.length;we++){var Me=be[we];Q=M;var Ye=D.responseState,ht=Me.id,_t=Me.errorDigest,St=Me.errorMessage,vt=Me.errorComponentStack;if(i(Q,Ye.startInlineScript),Ye.sentClientRenderFunction?i(Q,yn):(Ye.sentClientRenderFunction=!0,i(Q,ar)),ht===null)throw Error(e(395));i(Q,ht),i(Q,Ir),(_t||St||vt)&&(i(Q,di),i(Q,f(xr(_t||"")))),(St||vt)&&(i(Q,di),i(Q,f(xr(St||"")))),vt&&(i(Q,di),i(Q,f(xr(vt)))),o(Q,Mr)}be.splice(0,we);var An=D.completedBoundaries;for(we=0;we<An.length;we++)Qt(D,M,An[we]);An.splice(0,we),a(M),n=new Uint8Array(512),r=0;var bn=D.partialBoundaries;for(we=0;we<bn.length;we++){var $n=bn[we];e:{be=D,Me=M;var os=$n.completedSegments;for(Ye=0;Ye<os.length;Ye++)if(!ho(be,Me,$n,os[Ye])){Ye++,os.splice(0,Ye);var fa=!1;break e}os.splice(0,Ye),fa=!0}if(!fa){D.destination=null,we++,bn.splice(0,we);return}}bn.splice(0,we);var go=D.completedBoundaries;for(we=0;we<go.length;we++)Qt(D,M,go[we]);go.splice(0,we)}finally{a(M),D.allPendingTasks===0&&D.pingedTasks.length===0&&D.clientRenderedBoundaries.length===0&&D.completedBoundaries.length===0&&M.close()}}function Tr(D,M){try{var W=D.abortableTasks;W.forEach(function(Q){return Rn(Q,D,M)}),W.clear(),D.destination!==null&&po(D,D.destination)}catch(Q){se(D,Q),te(D,Q)}}return Mh.renderToReadableStream=function(D,M){return new Promise(function(W,Q){var be,we,Me=new Promise(function(St,vt){we=St,be=vt}),Ye=L(D,Le(M?M.identifierPrefix:void 0,M?M.nonce:void 0,M?M.bootstrapScriptContent:void 0,M?M.bootstrapScripts:void 0,M?M.bootstrapModules:void 0),ge(M?M.namespaceURI:void 0),M?M.progressiveChunkSize:void 0,M?M.onError:void 0,we,function(){var St=new ReadableStream({type:"bytes",pull:function(vt){if(Ye.status===1)Ye.status=2,y(vt,Ye.fatalError);else if(Ye.status!==2&&Ye.destination===null){Ye.destination=vt;try{po(Ye,vt)}catch(An){se(Ye,An),te(Ye,An)}}},cancel:function(){Tr(Ye)}},{highWaterMark:0});St.allReady=Me,W(St)},function(St){Me.catch(function(){}),Q(St)},be);if(M&&M.signal){var ht=M.signal,_t=function(){Tr(Ye,ht.reason),ht.removeEventListener("abort",_t)};ht.addEventListener("abort",_t)}Nr(Ye)})},Mh.version="18.3.1",Mh}var cc={};/**
|
|
55
|
+
`&&D.push(Pr),we!==null&&D.push(f(x(""+we))),null;case"input":D.push(fn("input")),ht=St=Ye=we=null;for(Me in W)if(g.call(W,Me)&&(_t=W[Me],_t!=null))switch(Me){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":ht=_t;break;case"defaultValue":Ye=_t;break;case"checked":St=_t;break;case"value":we=_t;break;default:At(D,Q,Me,_t)}return St!==null?At(D,Q,"checked",St):ht!==null&&At(D,Q,"checked",ht),we!==null?At(D,Q,"value",we):Ye!==null&&At(D,Q,"value",Ye),D.push(Vn),null;case"menuitem":D.push(fn("menuitem"));for(var An in W)if(g.call(W,An)&&(we=W[An],we!=null))switch(An){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:At(D,Q,An,we)}return D.push(Mt),null;case"title":D.push(fn("title")),we=null;for(vt in W)if(g.call(W,vt)&&(Me=W[vt],Me!=null))switch(vt){case"children":we=Me;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:At(D,Q,vt,Me)}return D.push(Mt),we;case"listing":case"pre":D.push(fn(M)),Me=we=null;for(ht in W)if(g.call(W,ht)&&(Ye=W[ht],Ye!=null))switch(ht){case"children":we=Ye;break;case"dangerouslySetInnerHTML":Me=Ye;break;default:At(D,Q,ht,Ye)}if(D.push(Mt),Me!=null){if(we!=null)throw Error(e(60));if(typeof Me!="object"||!("__html"in Me))throw Error(e(61));W=Me.__html,W!=null&&(typeof W=="string"&&0<W.length&&W[0]===`
|
|
56
|
+
`?D.push(Pr,f(W)):D.push(f(""+W)))}return typeof we=="string"&&we[0]===`
|
|
57
|
+
`&&D.push(Pr),we;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":D.push(fn(M));for(var bn in W)if(g.call(W,bn)&&(we=W[bn],we!=null))switch(bn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,M));default:At(D,Q,bn,we)}return D.push(Vn),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return $i(D,W,M,Q);case"html":return be.insertionMode===0&&D.push(dn),$i(D,W,M,Q);default:if(M.indexOf("-")===-1&&typeof W.is!="string")return $i(D,W,M,Q);D.push(fn(M)),Me=we=null;for(_t in W)if(g.call(W,_t)&&(Ye=W[_t],Ye!=null))switch(_t){case"children":we=Ye;break;case"dangerouslySetInnerHTML":Me=Ye;break;case"style":ct(D,Q,Ye);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:I(_t)&&typeof Ye!="function"&&typeof Ye!="symbol"&&D.push(pt,f(_t),ft,f(x(Ye)),yt)}return D.push(Mt),vr(D,Me,we),we}}var Dn=p("</"),si=p(">"),on=p('<template id="'),Vi=p('"></template>'),Hi=p("<!--$-->"),Ui=p('<!--$?--><template id="'),Or=p('"></template>'),Nn=p("<!--$!-->"),_r=p("<!--/$-->"),yr=p("<template"),Gr=p('"'),qr=p(' data-dgst="');p(' data-msg="'),p(' data-stck="');var Ao=p("></template>");function Un(D,M,W){if(i(D,Ui),W===null)throw Error(e(395));return i(D,W),o(D,Or)}var Xr=p('<div hidden id="'),Qn=p('">'),Wt=p("</div>"),ai=p('<svg aria-hidden="true" style="display:none" id="'),Wi=p('">'),Pn=p("</svg>"),hn=p('<math aria-hidden="true" style="display:none" id="'),li=p('">'),ui=p("</math>"),Tn=p('<table hidden id="'),so=p('">'),br=p("</table>"),ci=p('<table hidden><tbody id="'),an=p('">'),Di=p("</tbody></table>"),Ls=p('<table hidden><tr id="'),Fs=p('">'),Kr=p("</tr></table>"),ao=p('<table hidden><colgroup id="'),lo=p('">'),Pi=p("</colgroup></table>");function er(D,M,W,Q){switch(W.insertionMode){case 0:case 1:return i(D,Xr),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,Qn);case 2:return i(D,ai),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,Wi);case 3:return i(D,hn),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,li);case 4:return i(D,Tn),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,so);case 5:return i(D,ci),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,an);case 6:return i(D,Ls),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,Fs);case 7:return i(D,ao),i(D,M.segmentPrefix),i(D,f(Q.toString(16))),o(D,lo);default:throw Error(e(397))}}function Rr(D,M){switch(M.insertionMode){case 0:case 1:return o(D,Wt);case 2:return o(D,Pn);case 3:return o(D,ui);case 4:return o(D,br);case 5:return o(D,Di);case 6:return o(D,Kr);case 7:return o(D,Pi);default:throw Error(e(397))}}var Ar=p('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),fi=p('$RS("'),Zr=p('","'),wr=p('")<\/script>'),Ir=p('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),tr=p('$RC("'),zi=p('","'),Oi=p('")<\/script>'),ar=p('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),yn=p('$RX("'),Mr=p('"'),Lr=p(")<\/script>"),di=p(","),hi=/[<\u2028\u2029]/g;function xr(D){return JSON.stringify(D).replace(hi,function(M){switch(M){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Jr=Object.assign,Wn=Symbol.for("react.element"),pi=Symbol.for("react.portal"),gi=Symbol.for("react.fragment"),_i=Symbol.for("react.strict_mode"),nn=Symbol.for("react.profiler"),jn=Symbol.for("react.provider"),Cn=Symbol.for("react.context"),uo=Symbol.for("react.forward_ref"),On=Symbol.for("react.suspense"),_n=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),G=Symbol.for("react.scope"),ee=Symbol.for("react.debug_trace_mode"),Ee=Symbol.for("react.legacy_hidden"),me=Symbol.for("react.default_value"),Re=Symbol.iterator;function Xe(D){if(D==null)return null;if(typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case gi:return"Fragment";case pi:return"Portal";case nn:return"Profiler";case _i:return"StrictMode";case On:return"Suspense";case _n:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case Cn:return(D.displayName||"Context")+".Consumer";case jn:return(D._context.displayName||"Context")+".Provider";case uo:var M=D.render;return D=D.displayName,D||(D=M.displayName||M.name||"",D=D!==""?"ForwardRef("+D+")":"ForwardRef"),D;case k:return M=D.displayName||null,M!==null?M:Xe(D.type)||"Memo";case F:M=D._payload,D=D._init;try{return Xe(D(M))}catch{}}return null}var gt={};function mt(D,M){if(D=D.contextTypes,!D)return gt;var W={},Q;for(Q in D)W[Q]=M[Q];return W}var dt=null;function Ft(D,M){if(D!==M){D.context._currentValue=D.parentValue,D=D.parent;var W=M.parent;if(D===null){if(W!==null)throw Error(e(401))}else{if(W===null)throw Error(e(401));Ft(D,W)}M.context._currentValue=M.value}}function Bn(D){D.context._currentValue=D.parentValue,D=D.parent,D!==null&&Bn(D)}function zn(D){var M=D.parent;M!==null&&zn(M),D.context._currentValue=D.value}function En(D,M){if(D.context._currentValue=D.parentValue,D=D.parent,D===null)throw Error(e(402));D.depth===M.depth?Ft(D,M):En(D,M)}function Qr(D,M){var W=M.parent;if(W===null)throw Error(e(402));D.depth===W.depth?Ft(D,W):Qr(D,W),M.context._currentValue=M.value}function lr(D){var M=dt;M!==D&&(M===null?zn(D):D===null?Bn(M):M.depth===D.depth?Ft(M,D):M.depth>D.depth?En(M,D):Qr(M,D),dt=D)}var Yi={isMounted:function(){return!1},enqueueSetState:function(D,M){D=D._reactInternals,D.queue!==null&&D.queue.push(M)},enqueueReplaceState:function(D,M){D=D._reactInternals,D.replace=!0,D.queue=[M]},enqueueForceUpdate:function(){}};function mi(D,M,W,Q){var be=D.state!==void 0?D.state:null;D.updater=Yi,D.props=W,D.state=be;var we={queue:[],replace:!1};D._reactInternals=we;var Me=M.contextType;if(D.context=typeof Me=="object"&&Me!==null?Me._currentValue:Q,Me=M.getDerivedStateFromProps,typeof Me=="function"&&(Me=Me(W,be),be=Me==null?be:Jr({},be,Me),D.state=be),typeof M.getDerivedStateFromProps!="function"&&typeof D.getSnapshotBeforeUpdate!="function"&&(typeof D.UNSAFE_componentWillMount=="function"||typeof D.componentWillMount=="function"))if(M=D.state,typeof D.componentWillMount=="function"&&D.componentWillMount(),typeof D.UNSAFE_componentWillMount=="function"&&D.UNSAFE_componentWillMount(),M!==D.state&&Yi.enqueueReplaceState(D,D.state,null),we.queue!==null&&0<we.queue.length)if(M=we.queue,Me=we.replace,we.queue=null,we.replace=!1,Me&&M.length===1)D.state=M[0];else{for(we=Me?M[0]:D.state,be=!0,Me=Me?1:0;Me<M.length;Me++){var Ye=M[Me];Ye=typeof Ye=="function"?Ye.call(D,we,W,Q):Ye,Ye!=null&&(be?(be=!1,we=Jr({},we,Ye)):Jr(we,Ye))}D.state=we}else we.queue=null}var Gi={id:1,overflow:""};function Fr(D,M,W){var Q=D.id;D=D.overflow;var be=32-qi(Q)-1;Q&=~(1<<be),W+=1;var we=32-qi(M)+be;if(30<we){var Me=be-be%5;return we=(Q&(1<<Me)-1).toString(32),Q>>=Me,be-=Me,{id:1<<32-qi(M)+be|W<<be|Q,overflow:we+D}}return{id:1<<we|W<<be|Q,overflow:D}}var qi=Math.clz32?Math.clz32:rs,Wa=Math.log,Ns=Math.LN2;function rs(D){return D>>>=0,D===0?32:31-(Wa(D)/Ns|0)|0}function Sr(D,M){return D===M&&(D!==0||1/D===1/M)||D!==D&&M!==M}var za=typeof Object.is=="function"?Object.is:Sr,vi=null,js=null,is=null,rn=null,Gt=!1,Kt=!1,Ri=0,ei=null,Io=0;function yi(){if(vi===null)throw Error(e(321));return vi}function ur(){if(0<Io)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Bs(){return rn===null?is===null?(Gt=!1,is=rn=ur()):(Gt=!0,rn=is):rn.next===null?(Gt=!1,rn=rn.next=ur()):(Gt=!0,rn=rn.next),rn}function co(){js=vi=null,Kt=!1,is=null,Io=0,rn=ei=null}function ua(D,M){return typeof M=="function"?M(D):M}function ln(D,M,W){if(vi=yi(),rn=Bs(),Gt){var Q=rn.queue;if(M=Q.dispatch,ei!==null&&(W=ei.get(Q),W!==void 0)){ei.delete(Q),Q=rn.memoizedState;do Q=D(Q,W.action),W=W.next;while(W!==null);return rn.memoizedState=Q,[Q,M]}return[rn.memoizedState,M]}return D=D===ua?typeof M=="function"?M():M:W!==void 0?W(M):M,rn.memoizedState=D,D=rn.queue={last:null,dispatch:null},D=D.dispatch=bi.bind(null,vi,D),[rn.memoizedState,D]}function Mo(D,M){if(vi=yi(),rn=Bs(),M=M===void 0?null:M,rn!==null){var W=rn.memoizedState;if(W!==null&&M!==null){var Q=W[1];e:if(Q===null)Q=!1;else{for(var be=0;be<Q.length&&be<M.length;be++)if(!za(M[be],Q[be])){Q=!1;break e}Q=!0}if(Q)return W[0]}}return D=D(),rn.memoizedState=[D,M],D}function bi(D,M,W){if(25<=Io)throw Error(e(301));if(D===vi)if(Kt=!0,D={action:W,next:null},ei===null&&(ei=new Map),W=ei.get(M),W===void 0)ei.set(M,D);else{for(M=W;M.next!==null;)M=M.next;M.next=D}}function ca(){throw Error(e(394))}function fo(){}var cr={readContext:function(D){return D._currentValue},useContext:function(D){return yi(),D._currentValue},useMemo:Mo,useReducer:ln,useRef:function(D){vi=yi(),rn=Bs();var M=rn.memoizedState;return M===null?(D={current:D},rn.memoizedState=D):M},useState:function(D){return ln(ua,D)},useInsertionEffect:fo,useLayoutEffect:function(){},useCallback:function(D,M){return Mo(function(){return D},M)},useImperativeHandle:fo,useEffect:fo,useDebugValue:fo,useDeferredValue:function(D){return yi(),D},useTransition:function(){return yi(),[!1,ca]},useId:function(){var D=js.treeContext,M=D.overflow;D=D.id,D=(D&~(1<<32-qi(D)-1)).toString(32)+M;var W=h;if(W===null)throw Error(e(404));return M=Ri++,D=":"+W.idPrefix+"R"+D,0<M&&(D+="H"+M.toString(32)),D+":"},useMutableSource:function(D,M){return yi(),M(D._source)},useSyncExternalStore:function(D,M,W){if(W===void 0)throw Error(e(407));return W()}},h=null,b=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function C(D){return console.error(D),null}function P(){}function L(D,M,W,Q,be,we,Me,Ye,ht){var _t=[],St=new Set;return M={destination:null,responseState:M,progressiveChunkSize:Q===void 0?12800:Q,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:St,pingedTasks:_t,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:be===void 0?C:be,onAllReady:we===void 0?P:we,onShellReady:Me===void 0?P:Me,onShellError:Ye===void 0?P:Ye,onFatalError:ht===void 0?P:ht},W=V(M,0,null,W,!1,!1),W.parentFlushed=!0,D=N(M,D,null,W,St,gt,null,Gi),_t.push(D),M}function N(D,M,W,Q,be,we,Me,Ye){D.allPendingTasks++,W===null?D.pendingRootTasks++:W.pendingTasks++;var ht={node:M,ping:function(){var _t=D.pingedTasks;_t.push(ht),_t.length===1&&jr(D)},blockedBoundary:W,blockedSegment:Q,abortSet:be,legacyContext:we,context:Me,treeContext:Ye};return be.add(ht),ht}function V(D,M,W,Q,be,we){return{status:0,id:-1,index:M,parentFlushed:!1,chunks:[],children:[],formatContext:Q,boundary:W,lastPushedText:be,textEmbedded:we}}function se(D,M){if(D=D.onError(M),D!=null&&typeof D!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof D+'" instead');return D}function te(D,M){var W=D.onShellError;W(M),W=D.onFatalError,W(M),D.destination!==null?(D.status=2,y(D.destination,M)):(D.status=1,D.fatalError=M)}function pe(D,M,W,Q,be){for(vi={},js=M,Ri=0,D=W(Q,be);Kt;)Kt=!1,Ri=0,Io+=1,rn=null,D=W(Q,be);return co(),D}function _e(D,M,W,Q){var be=W.render(),we=Q.childContextTypes;if(we!=null){var Me=M.legacyContext;if(typeof W.getChildContext!="function")Q=Me;else{W=W.getChildContext();for(var Ye in W)if(!(Ye in we))throw Error(e(108,Xe(Q)||"Unknown",Ye));Q=Jr({},Me,W)}M.legacyContext=Q,$e(D,M,be),M.legacyContext=Me}else $e(D,M,be)}function Ae(D,M){if(D&&D.defaultProps){M=Jr({},M),D=D.defaultProps;for(var W in D)M[W]===void 0&&(M[W]=D[W]);return M}return M}function Te(D,M,W,Q,be){if(typeof W=="function")if(W.prototype&&W.prototype.isReactComponent){be=mt(W,M.legacyContext);var we=W.contextType;we=new W(Q,typeof we=="object"&&we!==null?we._currentValue:be),mi(we,W,Q,be),_e(D,M,we,W)}else{we=mt(W,M.legacyContext),be=pe(D,M,W,Q,we);var Me=Ri!==0;if(typeof be=="object"&&be!==null&&typeof be.render=="function"&&be.$$typeof===void 0)mi(be,W,Q,we),_e(D,M,be,W);else if(Me){Q=M.treeContext,M.treeContext=Fr(Q,1,0);try{$e(D,M,be)}finally{M.treeContext=Q}}else $e(D,M,be)}else if(typeof W=="string"){switch(be=M.blockedSegment,we=ut(be.chunks,W,Q,D.responseState,be.formatContext),be.lastPushedText=!1,Me=be.formatContext,be.formatContext=Se(Me,W,Q),Tt(D,M,we),be.formatContext=Me,W){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:be.chunks.push(Dn,f(W),si)}be.lastPushedText=!1}else{switch(W){case Ee:case ee:case _i:case nn:case gi:$e(D,M,Q.children);return;case _n:$e(D,M,Q.children);return;case G:throw Error(e(343));case On:e:{W=M.blockedBoundary,be=M.blockedSegment,we=Q.fallback,Q=Q.children,Me=new Set;var Ye={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Me,errorDigest:null},ht=V(D,be.chunks.length,Ye,be.formatContext,!1,!1);be.children.push(ht),be.lastPushedText=!1;var _t=V(D,0,null,be.formatContext,!1,!1);_t.parentFlushed=!0,M.blockedBoundary=Ye,M.blockedSegment=_t;try{if(Tt(D,M,Q),_t.lastPushedText&&_t.textEmbedded&&_t.chunks.push(Ne),_t.status=1,un(Ye,_t),Ye.pendingTasks===0)break e}catch(St){_t.status=4,Ye.forceClientRender=!0,Ye.errorDigest=se(D,St)}finally{M.blockedBoundary=W,M.blockedSegment=be}M=N(D,we,W,ht,Me,M.legacyContext,M.context,M.treeContext),D.pingedTasks.push(M)}return}if(typeof W=="object"&&W!==null)switch(W.$$typeof){case uo:if(Q=pe(D,M,W.render,Q,be),Ri!==0){W=M.treeContext,M.treeContext=Fr(W,1,0);try{$e(D,M,Q)}finally{M.treeContext=W}}else $e(D,M,Q);return;case k:W=W.type,Q=Ae(W,Q),Te(D,M,W,Q,be);return;case jn:if(be=Q.children,W=W._context,Q=Q.value,we=W._currentValue,W._currentValue=Q,Me=dt,dt=Q={parent:Me,depth:Me===null?0:Me.depth+1,context:W,parentValue:we,value:Q},M.context=Q,$e(D,M,be),D=dt,D===null)throw Error(e(403));Q=D.parentValue,D.context._currentValue=Q===me?D.context._defaultValue:Q,D=dt=D.parent,M.context=D;return;case Cn:Q=Q.children,Q=Q(W._currentValue),$e(D,M,Q);return;case F:be=W._init,W=be(W._payload),Q=Ae(W,Q),Te(D,M,W,Q,void 0);return}throw Error(e(130,W==null?W:typeof W,""))}}function $e(D,M,W){if(M.node=W,typeof W=="object"&&W!==null){switch(W.$$typeof){case Wn:Te(D,M,W.type,W.props,W.ref);return;case pi:throw Error(e(257));case F:var Q=W._init;W=Q(W._payload),$e(D,M,W);return}if(Ve(W)){it(D,M,W);return}if(W===null||typeof W!="object"?Q=null:(Q=Re&&W[Re]||W["@@iterator"],Q=typeof Q=="function"?Q:null),Q&&(Q=Q.call(W))){if(W=Q.next(),!W.done){var be=[];do be.push(W.value),W=Q.next();while(!W.done);it(D,M,be)}return}throw D=Object.prototype.toString.call(W),Error(e(31,D==="[object Object]"?"object with keys {"+Object.keys(W).join(", ")+"}":D))}typeof W=="string"?(Q=M.blockedSegment,Q.lastPushedText=We(M.blockedSegment.chunks,W,D.responseState,Q.lastPushedText)):typeof W=="number"&&(Q=M.blockedSegment,Q.lastPushedText=We(M.blockedSegment.chunks,""+W,D.responseState,Q.lastPushedText))}function it(D,M,W){for(var Q=W.length,be=0;be<Q;be++){var we=M.treeContext;M.treeContext=Fr(we,Q,be);try{Tt(D,M,W[be])}finally{M.treeContext=we}}}function Tt(D,M,W){var Q=M.blockedSegment.formatContext,be=M.legacyContext,we=M.context;try{return $e(D,M,W)}catch(ht){if(co(),typeof ht=="object"&&ht!==null&&typeof ht.then=="function"){W=ht;var Me=M.blockedSegment,Ye=V(D,Me.chunks.length,null,Me.formatContext,Me.lastPushedText,!0);Me.children.push(Ye),Me.lastPushedText=!1,D=N(D,M.node,M.blockedBoundary,Ye,M.abortSet,M.legacyContext,M.context,M.treeContext).ping,W.then(D,D),M.blockedSegment.formatContext=Q,M.legacyContext=be,M.context=we,lr(we)}else throw M.blockedSegment.formatContext=Q,M.legacyContext=be,M.context=we,lr(we),ht}}function Et(D){var M=D.blockedBoundary;D=D.blockedSegment,D.status=3,Nr(this,M,D)}function Rn(D,M,W){var Q=D.blockedBoundary;D.blockedSegment.status=3,Q===null?(M.allPendingTasks--,M.status!==2&&(M.status=2,M.destination!==null&&M.destination.close())):(Q.pendingTasks--,Q.forceClientRender||(Q.forceClientRender=!0,D=W===void 0?Error(e(432)):W,Q.errorDigest=M.onError(D),Q.parentFlushed&&M.clientRenderedBoundaries.push(Q)),Q.fallbackAbortableTasks.forEach(function(be){return Rn(be,M,W)}),Q.fallbackAbortableTasks.clear(),M.allPendingTasks--,M.allPendingTasks===0&&(Q=M.onAllReady,Q()))}function un(D,M){if(M.chunks.length===0&&M.children.length===1&&M.children[0].boundary===null){var W=M.children[0];W.id=M.id,W.parentFlushed=!0,W.status===1&&un(D,W)}else D.completedSegments.push(M)}function Nr(D,M,W){if(M===null){if(W.parentFlushed){if(D.completedRootSegment!==null)throw Error(e(389));D.completedRootSegment=W}D.pendingRootTasks--,D.pendingRootTasks===0&&(D.onShellError=P,M=D.onShellReady,M())}else M.pendingTasks--,M.forceClientRender||(M.pendingTasks===0?(W.parentFlushed&&W.status===1&&un(M,W),M.parentFlushed&&D.completedBoundaries.push(M),M.fallbackAbortableTasks.forEach(Et,D),M.fallbackAbortableTasks.clear()):W.parentFlushed&&W.status===1&&(un(M,W),M.completedSegments.length===1&&M.parentFlushed&&D.partialBoundaries.push(M)));D.allPendingTasks--,D.allPendingTasks===0&&(D=D.onAllReady,D())}function jr(D){if(D.status!==2){var M=dt,W=b.current;b.current=cr;var Q=h;h=D.responseState;try{var be=D.pingedTasks,we;for(we=0;we<be.length;we++){var Me=be[we],Ye=D,ht=Me.blockedSegment;if(ht.status===0){lr(Me.context);try{$e(Ye,Me,Me.node),ht.lastPushedText&&ht.textEmbedded&&ht.chunks.push(Ne),Me.abortSet.delete(Me),ht.status=1,Nr(Ye,Me.blockedBoundary,ht)}catch($n){if(co(),typeof $n=="object"&&$n!==null&&typeof $n.then=="function"){var _t=Me.ping;$n.then(_t,_t)}else{Me.abortSet.delete(Me),ht.status=4;var St=Me.blockedBoundary,vt=$n,An=se(Ye,vt);if(St===null?te(Ye,vt):(St.pendingTasks--,St.forceClientRender||(St.forceClientRender=!0,St.errorDigest=An,St.parentFlushed&&Ye.clientRenderedBoundaries.push(St))),Ye.allPendingTasks--,Ye.allPendingTasks===0){var bn=Ye.onAllReady;bn()}}}finally{}}}be.splice(0,we),D.destination!==null&&po(D,D.destination)}catch($n){se(D,$n),te(D,$n)}finally{h=Q,b.current=W,W===cr&&lr(M)}}}function Lt(D,M,W){switch(W.parentFlushed=!0,W.status){case 0:var Q=W.id=D.nextSegmentId++;return W.lastPushedText=!1,W.textEmbedded=!1,D=D.responseState,i(M,on),i(M,D.placeholderPrefix),D=f(Q.toString(16)),i(M,D),o(M,Vi);case 1:W.status=2;var be=!0;Q=W.chunks;var we=0;W=W.children;for(var Me=0;Me<W.length;Me++){for(be=W[Me];we<be.index;we++)i(M,Q[we]);be=Br(D,M,be)}for(;we<Q.length-1;we++)i(M,Q[we]);return we<Q.length&&(be=o(M,Q[we])),be;default:throw Error(e(390))}}function Br(D,M,W){var Q=W.boundary;if(Q===null)return Lt(D,M,W);if(Q.parentFlushed=!0,Q.forceClientRender)Q=Q.errorDigest,o(M,Nn),i(M,yr),Q&&(i(M,qr),i(M,f(x(Q))),i(M,Gr)),o(M,Ao),Lt(D,M,W);else if(0<Q.pendingTasks){Q.rootSegmentID=D.nextSegmentId++,0<Q.completedSegments.length&&D.partialBoundaries.push(Q);var be=D.responseState,we=be.nextSuspenseID++;be=p(be.boundaryPrefix+we.toString(16)),Q=Q.id=be,Un(M,D.responseState,Q),Lt(D,M,W)}else if(Q.byteSize>D.progressiveChunkSize)Q.rootSegmentID=D.nextSegmentId++,D.completedBoundaries.push(Q),Un(M,D.responseState,Q.id),Lt(D,M,W);else{if(o(M,Hi),W=Q.completedSegments,W.length!==1)throw Error(e(391));Br(D,M,W[0])}return o(M,_r)}function jt(D,M,W){return er(M,D.responseState,W.formatContext,W.id),Br(D,M,W),Rr(M,W.formatContext)}function Qt(D,M,W){for(var Q=W.completedSegments,be=0;be<Q.length;be++)ho(D,M,W,Q[be]);if(Q.length=0,D=D.responseState,Q=W.id,W=W.rootSegmentID,i(M,D.startInlineScript),D.sentCompleteBoundaryFunction?i(M,tr):(D.sentCompleteBoundaryFunction=!0,i(M,Ir)),Q===null)throw Error(e(395));return W=f(W.toString(16)),i(M,Q),i(M,zi),i(M,D.segmentPrefix),i(M,W),o(M,Oi)}function ho(D,M,W,Q){if(Q.status===2)return!0;var be=Q.id;if(be===-1){if((Q.id=W.rootSegmentID)===-1)throw Error(e(392));return jt(D,M,Q)}return jt(D,M,Q),D=D.responseState,i(M,D.startInlineScript),D.sentCompleteSegmentFunction?i(M,fi):(D.sentCompleteSegmentFunction=!0,i(M,Ar)),i(M,D.segmentPrefix),be=f(be.toString(16)),i(M,be),i(M,Zr),i(M,D.placeholderPrefix),i(M,be),o(M,wr)}function po(D,M){n=new Uint8Array(512),r=0;try{var W=D.completedRootSegment;if(W!==null&&D.pendingRootTasks===0){Br(D,M,W),D.completedRootSegment=null;var Q=D.responseState.bootstrapChunks;for(W=0;W<Q.length-1;W++)i(M,Q[W]);W<Q.length&&o(M,Q[W])}var be=D.clientRenderedBoundaries,we;for(we=0;we<be.length;we++){var Me=be[we];Q=M;var Ye=D.responseState,ht=Me.id,_t=Me.errorDigest,St=Me.errorMessage,vt=Me.errorComponentStack;if(i(Q,Ye.startInlineScript),Ye.sentClientRenderFunction?i(Q,yn):(Ye.sentClientRenderFunction=!0,i(Q,ar)),ht===null)throw Error(e(395));i(Q,ht),i(Q,Mr),(_t||St||vt)&&(i(Q,di),i(Q,f(xr(_t||"")))),(St||vt)&&(i(Q,di),i(Q,f(xr(St||"")))),vt&&(i(Q,di),i(Q,f(xr(vt)))),o(Q,Lr)}be.splice(0,we);var An=D.completedBoundaries;for(we=0;we<An.length;we++)Qt(D,M,An[we]);An.splice(0,we),a(M),n=new Uint8Array(512),r=0;var bn=D.partialBoundaries;for(we=0;we<bn.length;we++){var $n=bn[we];e:{be=D,Me=M;var os=$n.completedSegments;for(Ye=0;Ye<os.length;Ye++)if(!ho(be,Me,$n,os[Ye])){Ye++,os.splice(0,Ye);var fa=!1;break e}os.splice(0,Ye),fa=!0}if(!fa){D.destination=null,we++,bn.splice(0,we);return}}bn.splice(0,we);var go=D.completedBoundaries;for(we=0;we<go.length;we++)Qt(D,M,go[we]);go.splice(0,we)}finally{a(M),D.allPendingTasks===0&&D.pingedTasks.length===0&&D.clientRenderedBoundaries.length===0&&D.completedBoundaries.length===0&&M.close()}}function Tr(D,M){try{var W=D.abortableTasks;W.forEach(function(Q){return Rn(Q,D,M)}),W.clear(),D.destination!==null&&po(D,D.destination)}catch(Q){se(D,Q),te(D,Q)}}return Mh.renderToReadableStream=function(D,M){return new Promise(function(W,Q){var be,we,Me=new Promise(function(St,vt){we=St,be=vt}),Ye=L(D,Le(M?M.identifierPrefix:void 0,M?M.nonce:void 0,M?M.bootstrapScriptContent:void 0,M?M.bootstrapScripts:void 0,M?M.bootstrapModules:void 0),ge(M?M.namespaceURI:void 0),M?M.progressiveChunkSize:void 0,M?M.onError:void 0,we,function(){var St=new ReadableStream({type:"bytes",pull:function(vt){if(Ye.status===1)Ye.status=2,y(vt,Ye.fatalError);else if(Ye.status!==2&&Ye.destination===null){Ye.destination=vt;try{po(Ye,vt)}catch(An){se(Ye,An),te(Ye,An)}}},cancel:function(){Tr(Ye)}},{highWaterMark:0});St.allReady=Me,W(St)},function(St){Me.catch(function(){}),Q(St)},be);if(M&&M.signal){var ht=M.signal,_t=function(){Tr(Ye,ht.reason),ht.removeEventListener("abort",_t)};ht.addEventListener("abort",_t)}jr(Ye)})},Mh.version="18.3.1",Mh}var cc={};/**
|
|
58
58
|
* @license React
|
|
59
59
|
* react-dom-server-legacy.browser.development.js
|
|
60
60
|
*
|
|
@@ -62,11 +62,11 @@ Valid keys: `+JSON.stringify(Object.keys(ge),null," "));var Je=yt(ot,ft,Be,ze,K
|
|
|
62
62
|
*
|
|
63
63
|
* This source code is licensed under the MIT license found in the
|
|
64
64
|
* LICENSE file in the root directory of this source tree.
|
|
65
|
-
*/var C1;function W4(){return C1||(C1=1,process.env.NODE_ENV!=="production"&&function(){var t=X,e="18.3.1",n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(l){{for(var d=arguments.length,m=new Array(d>1?d-1:0),S=1;S<d;S++)m[S-1]=arguments[S];o("warn",l,m)}}function i(l){{for(var d=arguments.length,m=new Array(d>1?d-1:0),S=1;S<d;S++)m[S-1]=arguments[S];o("error",l,m)}}function o(l,d,m){{var S=n.ReactDebugCurrentFrame,_=S.getStackAddendum();_!==""&&(d+="%s",m=m.concat([_]));var B=m.map(function(Y){return String(Y)});B.unshift("Warning: "+d),Function.prototype.apply.call(console[l],console,B)}}function a(l){l()}function c(l){}function f(l,d){p(l,d)}function p(l,d){return l.push(d)}function y(l){}function g(l){l.push(null)}function T(l){return l}function E(l){return l}function A(l,d){l.destroy(d)}function I(l){{var d=typeof Symbol=="function"&&Symbol.toStringTag,m=d&&l[Symbol.toStringTag]||l.constructor.name||"Object";return m}}function j(l){try{return R(l),!1}catch{return!0}}function R(l){return""+l}function U(l,d){if(j(l))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",d,I(l)),R(l)}function H(l,d){if(j(l))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",d,I(l)),R(l)}function ne(l){if(j(l))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",I(l)),R(l)}var q=Object.prototype.hasOwnProperty,ie=0,x=1,le=2,ae=3,Ve=4,tt=5,Qe=6,qe=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Oe=qe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ue=new RegExp("^["+qe+"]["+Oe+"]*$"),ve={},ke={};function Le(l){return q.call(ke,l)?!0:q.call(ve,l)?!1:ue.test(l)?(ke[l]=!0,!0):(ve[l]=!0,i("Invalid attribute name: `%s`",l),!1)}function et(l,d,m,S){if(m!==null&&m.type===ie)return!1;switch(typeof d){case"function":case"symbol":return!0;case"boolean":{if(m!==null)return!m.acceptsBooleans;var _=l.toLowerCase().slice(0,5);return _!=="data-"&&_!=="aria-"}default:return!1}}function ge(l){return Ne.hasOwnProperty(l)?Ne[l]:null}function Se(l,d,m,S,_,B,Y){this.acceptsBooleans=d===le||d===ae||d===Ve,this.attributeName=S,this.attributeNamespace=_,this.mustUseProperty=m,this.propertyName=l,this.type=d,this.sanitizeURL=B,this.removeEmptyString=Y}var Ne={},We=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];We.forEach(function(l){Ne[l]=new Se(l,ie,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var d=l[0],m=l[1];Ne[d]=new Se(d,x,!1,m,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){Ne[l]=new Se(l,le,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){Ne[l]=new Se(l,le,!1,l,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(l){Ne[l]=new Se(l,ae,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){Ne[l]=new Se(l,ae,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){Ne[l]=new Se(l,Ve,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){Ne[l]=new Se(l,Qe,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){Ne[l]=new Se(l,tt,!1,l.toLowerCase(),null,!1,!1)});var Be=/[\-\:]([a-z])/g,ze=function(l){return l[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(l){var d=l.replace(Be,ze);Ne[d]=new Se(d,x,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var d=l.replace(Be,ze);Ne[d]=new Se(d,x,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var d=l.replace(Be,ze);Ne[d]=new Se(d,x,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){Ne[l]=new Se(l,x,!1,l.toLowerCase(),null,!1,!1)});var Ke="xlinkHref";Ne[Ke]=new Se("xlinkHref",x,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){Ne[l]=new Se(l,x,!1,l.toLowerCase(),null,!0,!0)});var ot={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function ct(l,d){return l+d.charAt(0).toUpperCase()+d.substring(1)}var pt=["Webkit","ms","Moz","O"];Object.keys(ot).forEach(function(l){pt.forEach(function(d){ot[ct(d,l)]=ot[l]})});var ft={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function yt(l,d){ft[d.type]||d.onChange||d.onInput||d.readOnly||d.disabled||d.value==null||i("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),d.onChange||d.readOnly||d.disabled||d.checked==null||i("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Je(l,d){if(l.indexOf("-")===-1)return typeof d.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var At={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Mt={},Vn=new RegExp("^(aria)-["+Oe+"]*$"),vr=new RegExp("^(aria)[A-Z]["+Oe+"]*$");function Hn(l,d){{if(q.call(Mt,d)&&Mt[d])return!0;if(vr.test(d)){var m="aria-"+d.slice(4).toLowerCase(),S=At.hasOwnProperty(m)?m:null;if(S==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",d),Mt[d]=!0,!0;if(d!==S)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",d,S),Mt[d]=!0,!0}if(Vn.test(d)){var _=d.toLowerCase(),B=At.hasOwnProperty(_)?_:null;if(B==null)return Mt[d]=!0,!1;if(d!==B)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",d,B),Mt[d]=!0,!0}}return!0}function Sn(l,d){{var m=[];for(var S in d){var _=Hn(l,S);_||m.push(S)}var B=m.map(function(Y){return"`"+Y+"`"}).join(", ");m.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",B,l):m.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",B,l)}}function $i(l,d){Je(l,d)||Sn(l,d)}var Dr=!1;function Jn(l,d){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;d!=null&&d.value===null&&!Dr&&(Dr=!0,l==="select"&&d.multiple?i("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var sn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},fn=function(){};{var dn={},ut=/^on./,Dn=/^on[^A-Z]/,si=new RegExp("^(aria)-["+Oe+"]*$"),on=new RegExp("^(aria)[A-Z]["+Oe+"]*$");fn=function(l,d,m,S){if(q.call(dn,d)&&dn[d])return!0;var _=d.toLowerCase();if(_==="onfocusin"||_==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),dn[d]=!0,!0;if(S!=null){var B=S.registrationNameDependencies,Y=S.possibleRegistrationNames;if(B.hasOwnProperty(d))return!0;var re=Y.hasOwnProperty(_)?Y[_]:null;if(re!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",d,re),dn[d]=!0,!0;if(ut.test(d))return i("Unknown event handler property `%s`. It will be ignored.",d),dn[d]=!0,!0}else if(ut.test(d))return Dn.test(d)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",d),dn[d]=!0,!0;if(si.test(d)||on.test(d))return!0;if(_==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),dn[d]=!0,!0;if(_==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),dn[d]=!0,!0;if(_==="is"&&m!==null&&m!==void 0&&typeof m!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof m),dn[d]=!0,!0;if(typeof m=="number"&&isNaN(m))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",d),dn[d]=!0,!0;var xe=ge(d),je=xe!==null&&xe.type===ie;if(sn.hasOwnProperty(_)){var Ge=sn[_];if(Ge!==d)return i("Invalid DOM property `%s`. Did you mean `%s`?",d,Ge),dn[d]=!0,!0}else if(!je&&d!==_)return i("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",d,_),dn[d]=!0,!0;return typeof m=="boolean"&&et(d,m,xe)?(m?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',m,d,d,m,d):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',m,d,d,m,d,d,d),dn[d]=!0,!0):je?!0:et(d,m,xe)?(dn[d]=!0,!1):((m==="false"||m==="true")&&xe!==null&&xe.type===ae&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",m,d,m==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',d,m),dn[d]=!0),!0)}}var Vi=function(l,d,m){{var S=[];for(var _ in d){var B=fn(l,_,d[_],m);B||S.push(_)}var Y=S.map(function(re){return"`"+re+"`"}).join(", ");S.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",Y,l):S.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",Y,l)}};function Hi(l,d,m){Je(l,d)||Vi(l,d,m)}var Ui=function(){};{var Pr=/^(?:webkit|moz|o)[A-Z]/,Nn=/^-ms-/,Or=/-(.)/g,yr=/;\s*$/,Yr={},Gr={},Ao=!1,Un=!1,qr=function(l){return l.replace(Or,function(d,m){return m.toUpperCase()})},Qn=function(l){Yr.hasOwnProperty(l)&&Yr[l]||(Yr[l]=!0,i("Unsupported style property %s. Did you mean %s?",l,qr(l.replace(Nn,"ms-"))))},Wt=function(l){Yr.hasOwnProperty(l)&&Yr[l]||(Yr[l]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},ai=function(l,d){Gr.hasOwnProperty(d)&&Gr[d]||(Gr[d]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,d.replace(yr,"")))},Wi=function(l,d){Ao||(Ao=!0,i("`NaN` is an invalid value for the `%s` css style property.",l))},Pn=function(l,d){Un||(Un=!0,i("`Infinity` is an invalid value for the `%s` css style property.",l))};Ui=function(l,d){l.indexOf("-")>-1?Qn(l):Pr.test(l)?Wt(l):yr.test(d)&&ai(l,d),typeof d=="number"&&(isNaN(d)?Wi(l,d):isFinite(d)||Pn(l,d))}}var hn=Ui,li=/["'&<>]/;function ui(l){ne(l);var d=""+l,m=li.exec(d);if(!m)return d;var S,_="",B,Y=0;for(B=m.index;B<d.length;B++){switch(d.charCodeAt(B)){case 34:S=""";break;case 38:S="&";break;case 39:S="'";break;case 60:S="<";break;case 62:S=">";break;default:continue}Y!==B&&(_+=d.substring(Y,B)),Y=B+1,_+=S}return Y!==B?_+d.substring(Y,B):_}function Tn(l){return typeof l=="boolean"||typeof l=="number"?""+l:ui(l)}var so=/([A-Z])/g,br=/^ms-/;function ci(l){return l.replace(so,"-$1").toLowerCase().replace(br,"-ms-")}var an=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Di=!1;function Ls(l){!Di&&an.test(l)&&(Di=!0,i("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var Fs=Array.isArray;function Xr(l){return Fs(l)}var ao="<script>";function lo(l,d,m,S,_){var B=l===void 0?"":l,Y=ao,re=[];return{bootstrapChunks:re,startInlineScript:Y,placeholderPrefix:B+"P:",segmentPrefix:B+"S:",boundaryPrefix:B+"B:",idPrefix:B,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Pi=0,er=1,_r=2,Rr=3,fi=4,Kr=5,wr=6,Ar=7;function tr(l,d){return{insertionMode:l,selectedValue:d}}function zi(l,d,m){switch(d){case"select":return tr(er,m.value!=null?m.value:m.defaultValue);case"svg":return tr(_r,null);case"math":return tr(Rr,null);case"foreignObject":return tr(er,null);case"table":return tr(fi,null);case"thead":case"tbody":case"tfoot":return tr(Kr,null);case"colgroup":return tr(Ar,null);case"tr":return tr(wr,null)}return l.insertionMode>=fi||l.insertionMode===Pi?tr(er,null):l}var Oi=null;function ar(l){var d=l.nextSuspenseID++;return l.boundaryPrefix+d.toString(16)}function yn(l,d,m){var S=l.idPrefix,_=":"+S+"R"+d;return m>0&&(_+="H"+m.toString(32)),_+":"}function Ir(l){return Tn(l)}var Mr="<!-- -->";function di(l,d,m,S){return d===""?S:(S&&l.push(Mr),l.push(Ir(d)),!0)}function hi(l,d,m,S){m&&S&&l.push(Mr)}var xr=new Map;function Zr(l){var d=xr.get(l);if(d!==void 0)return d;var m=Tn(ci(l));return xr.set(l,m),m}var Wn=' style="',pi=":",gi=";";function _i(l,d,m){if(typeof m!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var S=!0;for(var _ in m)if(q.call(m,_)){var B=m[_];if(!(B==null||typeof B=="boolean"||B==="")){var Y=void 0,re=void 0,xe=_.indexOf("--")===0;xe?(Y=Tn(_),H(B,_),re=Tn((""+B).trim())):(hn(_,B),Y=Zr(_),typeof B=="number"?B!==0&&!q.call(ot,_)?re=B+"px":re=""+B:(H(B,_),re=Tn((""+B).trim()))),S?(S=!1,l.push(Wn,Y,pi,re)):l.push(gi,Y,pi,re)}}S||l.push(Cn)}var nn=" ",jn='="',Cn='"',uo='=""';function On(l,d,m,S){switch(m){case"style":{_i(l,d,S);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(m.length>2&&(m[0]==="o"||m[0]==="O")&&(m[1]==="n"||m[1]==="N"))){var _=ge(m);if(_!==null){switch(typeof S){case"function":case"symbol":return;case"boolean":if(!_.acceptsBooleans)return}var B=_.attributeName,Y=B;switch(_.type){case ae:S&&l.push(nn,Y,uo);return;case Ve:S===!0?l.push(nn,Y,uo):S===!1||l.push(nn,Y,jn,Tn(S),Cn);return;case tt:isNaN(S)||l.push(nn,Y,jn,Tn(S),Cn);break;case Qe:!isNaN(S)&&S>=1&&l.push(nn,Y,jn,Tn(S),Cn);break;default:_.sanitizeURL&&(U(S,B),S=""+S,Ls(S)),l.push(nn,Y,jn,Tn(S),Cn)}}else if(Le(m)){switch(typeof S){case"function":case"symbol":return;case"boolean":{var re=m.toLowerCase().slice(0,5);if(re!=="data-"&&re!=="aria-")return}}l.push(nn,m,jn,Tn(S),Cn)}}}var _n=">",k="/>";function F(l,d,m){if(d!=null){if(m!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof d!="object"||!("__html"in d))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var S=d.__html;S!=null&&(ne(S),l.push(""+S))}}var G=!1,ee=!1,Ee=!1,me=!1,Re=!1,Xe=!1,gt=!1;function mt(l,d){{var m=l[d];if(m!=null){var S=Xr(m);l.multiple&&!S?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",d):!l.multiple&&S&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",d)}}}function dt(l,d,m){yt("select",d),mt(d,"value"),mt(d,"defaultValue"),d.value!==void 0&&d.defaultValue!==void 0&&!Ee&&(i("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ee=!0),l.push(Sr("select"));var S=null,_=null;for(var B in d)if(q.call(d,B)){var Y=d[B];if(Y==null)continue;switch(B){case"children":S=Y;break;case"dangerouslySetInnerHTML":_=Y;break;case"defaultValue":case"value":break;default:On(l,m,B,Y);break}}return l.push(_n),F(l,_,S),S}function Ft(l){var d="";return t.Children.forEach(l,function(m){m!=null&&(d+=m,!Re&&typeof m!="string"&&typeof m!="number"&&(Re=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),d}var Bn=' selected=""';function zn(l,d,m,S){var _=S.selectedValue;l.push(Sr("option"));var B=null,Y=null,re=null,xe=null;for(var je in d)if(q.call(d,je)){var Ge=d[je];if(Ge==null)continue;switch(je){case"children":B=Ge;break;case"selected":re=Ge,gt||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),gt=!0);break;case"dangerouslySetInnerHTML":xe=Ge;break;case"value":Y=Ge;default:On(l,m,je,Ge);break}}if(_!=null){var nt;if(Y!==null?(U(Y,"value"),nt=""+Y):(xe!==null&&(Xe||(Xe=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),nt=Ft(B)),Xr(_))for(var xt=0;xt<_.length;xt++){U(_[xt],"value");var en=""+_[xt];if(en===nt){l.push(Bn);break}}else U(_,"select.value"),""+_===nt&&l.push(Bn)}else re&&l.push(Bn);return l.push(_n),F(l,xe,B),B}function En(l,d,m){yt("input",d),d.checked!==void 0&&d.defaultChecked!==void 0&&!ee&&(i("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",d.type),ee=!0),d.value!==void 0&&d.defaultValue!==void 0&&!G&&(i("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",d.type),G=!0),l.push(Sr("input"));var S=null,_=null,B=null,Y=null;for(var re in d)if(q.call(d,re)){var xe=d[re];if(xe==null)continue;switch(re){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":Y=xe;break;case"defaultValue":_=xe;break;case"checked":B=xe;break;case"value":S=xe;break;default:On(l,m,re,xe);break}}return B!==null?On(l,m,"checked",B):Y!==null&&On(l,m,"checked",Y),S!==null?On(l,m,"value",S):_!==null&&On(l,m,"value",_),l.push(k),null}function Jr(l,d,m){yt("textarea",d),d.value!==void 0&&d.defaultValue!==void 0&&!me&&(i("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),me=!0),l.push(Sr("textarea"));var S=null,_=null,B=null;for(var Y in d)if(q.call(d,Y)){var re=d[Y];if(re==null)continue;switch(Y){case"children":B=re;break;case"value":S=re;break;case"defaultValue":_=re;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:On(l,m,Y,re);break}}if(S===null&&_!==null&&(S=_),l.push(_n),B!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),S!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Xr(B)){if(B.length>1)throw new Error("<textarea> can only have at most one child.");ne(B[0]),S=""+B[0]}ne(B),S=""+B}return typeof S=="string"&&S[0]===`
|
|
66
|
-
`&&l.push(qi),S!==null&&(U(S,"value"),l.push(
|
|
65
|
+
*/var C1;function W4(){return C1||(C1=1,process.env.NODE_ENV!=="production"&&function(){var t=X,e="18.3.1",n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(l){{for(var d=arguments.length,m=new Array(d>1?d-1:0),S=1;S<d;S++)m[S-1]=arguments[S];o("warn",l,m)}}function i(l){{for(var d=arguments.length,m=new Array(d>1?d-1:0),S=1;S<d;S++)m[S-1]=arguments[S];o("error",l,m)}}function o(l,d,m){{var S=n.ReactDebugCurrentFrame,_=S.getStackAddendum();_!==""&&(d+="%s",m=m.concat([_]));var B=m.map(function(Y){return String(Y)});B.unshift("Warning: "+d),Function.prototype.apply.call(console[l],console,B)}}function a(l){l()}function c(l){}function f(l,d){p(l,d)}function p(l,d){return l.push(d)}function y(l){}function g(l){l.push(null)}function T(l){return l}function E(l){return l}function A(l,d){l.destroy(d)}function I(l){{var d=typeof Symbol=="function"&&Symbol.toStringTag,m=d&&l[Symbol.toStringTag]||l.constructor.name||"Object";return m}}function j(l){try{return R(l),!1}catch{return!0}}function R(l){return""+l}function U(l,d){if(j(l))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",d,I(l)),R(l)}function H(l,d){if(j(l))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",d,I(l)),R(l)}function ne(l){if(j(l))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",I(l)),R(l)}var q=Object.prototype.hasOwnProperty,ie=0,x=1,le=2,ae=3,Ve=4,tt=5,Qe=6,qe=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Oe=qe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ue=new RegExp("^["+qe+"]["+Oe+"]*$"),ve={},ke={};function Le(l){return q.call(ke,l)?!0:q.call(ve,l)?!1:ue.test(l)?(ke[l]=!0,!0):(ve[l]=!0,i("Invalid attribute name: `%s`",l),!1)}function et(l,d,m,S){if(m!==null&&m.type===ie)return!1;switch(typeof d){case"function":case"symbol":return!0;case"boolean":{if(m!==null)return!m.acceptsBooleans;var _=l.toLowerCase().slice(0,5);return _!=="data-"&&_!=="aria-"}default:return!1}}function ge(l){return Ne.hasOwnProperty(l)?Ne[l]:null}function Se(l,d,m,S,_,B,Y){this.acceptsBooleans=d===le||d===ae||d===Ve,this.attributeName=S,this.attributeNamespace=_,this.mustUseProperty=m,this.propertyName=l,this.type=d,this.sanitizeURL=B,this.removeEmptyString=Y}var Ne={},We=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];We.forEach(function(l){Ne[l]=new Se(l,ie,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var d=l[0],m=l[1];Ne[d]=new Se(d,x,!1,m,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){Ne[l]=new Se(l,le,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){Ne[l]=new Se(l,le,!1,l,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(l){Ne[l]=new Se(l,ae,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){Ne[l]=new Se(l,ae,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){Ne[l]=new Se(l,Ve,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){Ne[l]=new Se(l,Qe,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){Ne[l]=new Se(l,tt,!1,l.toLowerCase(),null,!1,!1)});var Be=/[\-\:]([a-z])/g,ze=function(l){return l[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(l){var d=l.replace(Be,ze);Ne[d]=new Se(d,x,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var d=l.replace(Be,ze);Ne[d]=new Se(d,x,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var d=l.replace(Be,ze);Ne[d]=new Se(d,x,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){Ne[l]=new Se(l,x,!1,l.toLowerCase(),null,!1,!1)});var Ke="xlinkHref";Ne[Ke]=new Se("xlinkHref",x,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){Ne[l]=new Se(l,x,!1,l.toLowerCase(),null,!0,!0)});var ot={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function ct(l,d){return l+d.charAt(0).toUpperCase()+d.substring(1)}var pt=["Webkit","ms","Moz","O"];Object.keys(ot).forEach(function(l){pt.forEach(function(d){ot[ct(d,l)]=ot[l]})});var ft={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function yt(l,d){ft[d.type]||d.onChange||d.onInput||d.readOnly||d.disabled||d.value==null||i("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),d.onChange||d.readOnly||d.disabled||d.checked==null||i("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Je(l,d){if(l.indexOf("-")===-1)return typeof d.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var At={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Mt={},Vn=new RegExp("^(aria)-["+Oe+"]*$"),vr=new RegExp("^(aria)[A-Z]["+Oe+"]*$");function Hn(l,d){{if(q.call(Mt,d)&&Mt[d])return!0;if(vr.test(d)){var m="aria-"+d.slice(4).toLowerCase(),S=At.hasOwnProperty(m)?m:null;if(S==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",d),Mt[d]=!0,!0;if(d!==S)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",d,S),Mt[d]=!0,!0}if(Vn.test(d)){var _=d.toLowerCase(),B=At.hasOwnProperty(_)?_:null;if(B==null)return Mt[d]=!0,!1;if(d!==B)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",d,B),Mt[d]=!0,!0}}return!0}function Sn(l,d){{var m=[];for(var S in d){var _=Hn(l,S);_||m.push(S)}var B=m.map(function(Y){return"`"+Y+"`"}).join(", ");m.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",B,l):m.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",B,l)}}function $i(l,d){Je(l,d)||Sn(l,d)}var Pr=!1;function Jn(l,d){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;d!=null&&d.value===null&&!Pr&&(Pr=!0,l==="select"&&d.multiple?i("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var sn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},fn=function(){};{var dn={},ut=/^on./,Dn=/^on[^A-Z]/,si=new RegExp("^(aria)-["+Oe+"]*$"),on=new RegExp("^(aria)[A-Z]["+Oe+"]*$");fn=function(l,d,m,S){if(q.call(dn,d)&&dn[d])return!0;var _=d.toLowerCase();if(_==="onfocusin"||_==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),dn[d]=!0,!0;if(S!=null){var B=S.registrationNameDependencies,Y=S.possibleRegistrationNames;if(B.hasOwnProperty(d))return!0;var re=Y.hasOwnProperty(_)?Y[_]:null;if(re!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",d,re),dn[d]=!0,!0;if(ut.test(d))return i("Unknown event handler property `%s`. It will be ignored.",d),dn[d]=!0,!0}else if(ut.test(d))return Dn.test(d)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",d),dn[d]=!0,!0;if(si.test(d)||on.test(d))return!0;if(_==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),dn[d]=!0,!0;if(_==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),dn[d]=!0,!0;if(_==="is"&&m!==null&&m!==void 0&&typeof m!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof m),dn[d]=!0,!0;if(typeof m=="number"&&isNaN(m))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",d),dn[d]=!0,!0;var xe=ge(d),je=xe!==null&&xe.type===ie;if(sn.hasOwnProperty(_)){var Ge=sn[_];if(Ge!==d)return i("Invalid DOM property `%s`. Did you mean `%s`?",d,Ge),dn[d]=!0,!0}else if(!je&&d!==_)return i("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",d,_),dn[d]=!0,!0;return typeof m=="boolean"&&et(d,m,xe)?(m?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',m,d,d,m,d):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',m,d,d,m,d,d,d),dn[d]=!0,!0):je?!0:et(d,m,xe)?(dn[d]=!0,!1):((m==="false"||m==="true")&&xe!==null&&xe.type===ae&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",m,d,m==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',d,m),dn[d]=!0),!0)}}var Vi=function(l,d,m){{var S=[];for(var _ in d){var B=fn(l,_,d[_],m);B||S.push(_)}var Y=S.map(function(re){return"`"+re+"`"}).join(", ");S.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",Y,l):S.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",Y,l)}};function Hi(l,d,m){Je(l,d)||Vi(l,d,m)}var Ui=function(){};{var Or=/^(?:webkit|moz|o)[A-Z]/,Nn=/^-ms-/,_r=/-(.)/g,yr=/;\s*$/,Gr={},qr={},Ao=!1,Un=!1,Xr=function(l){return l.replace(_r,function(d,m){return m.toUpperCase()})},Qn=function(l){Gr.hasOwnProperty(l)&&Gr[l]||(Gr[l]=!0,i("Unsupported style property %s. Did you mean %s?",l,Xr(l.replace(Nn,"ms-"))))},Wt=function(l){Gr.hasOwnProperty(l)&&Gr[l]||(Gr[l]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},ai=function(l,d){qr.hasOwnProperty(d)&&qr[d]||(qr[d]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,d.replace(yr,"")))},Wi=function(l,d){Ao||(Ao=!0,i("`NaN` is an invalid value for the `%s` css style property.",l))},Pn=function(l,d){Un||(Un=!0,i("`Infinity` is an invalid value for the `%s` css style property.",l))};Ui=function(l,d){l.indexOf("-")>-1?Qn(l):Or.test(l)?Wt(l):yr.test(d)&&ai(l,d),typeof d=="number"&&(isNaN(d)?Wi(l,d):isFinite(d)||Pn(l,d))}}var hn=Ui,li=/["'&<>]/;function ui(l){ne(l);var d=""+l,m=li.exec(d);if(!m)return d;var S,_="",B,Y=0;for(B=m.index;B<d.length;B++){switch(d.charCodeAt(B)){case 34:S=""";break;case 38:S="&";break;case 39:S="'";break;case 60:S="<";break;case 62:S=">";break;default:continue}Y!==B&&(_+=d.substring(Y,B)),Y=B+1,_+=S}return Y!==B?_+d.substring(Y,B):_}function Tn(l){return typeof l=="boolean"||typeof l=="number"?""+l:ui(l)}var so=/([A-Z])/g,br=/^ms-/;function ci(l){return l.replace(so,"-$1").toLowerCase().replace(br,"-ms-")}var an=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Di=!1;function Ls(l){!Di&&an.test(l)&&(Di=!0,i("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var Fs=Array.isArray;function Kr(l){return Fs(l)}var ao="<script>";function lo(l,d,m,S,_){var B=l===void 0?"":l,Y=ao,re=[];return{bootstrapChunks:re,startInlineScript:Y,placeholderPrefix:B+"P:",segmentPrefix:B+"S:",boundaryPrefix:B+"B:",idPrefix:B,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Pi=0,er=1,Rr=2,Ar=3,fi=4,Zr=5,wr=6,Ir=7;function tr(l,d){return{insertionMode:l,selectedValue:d}}function zi(l,d,m){switch(d){case"select":return tr(er,m.value!=null?m.value:m.defaultValue);case"svg":return tr(Rr,null);case"math":return tr(Ar,null);case"foreignObject":return tr(er,null);case"table":return tr(fi,null);case"thead":case"tbody":case"tfoot":return tr(Zr,null);case"colgroup":return tr(Ir,null);case"tr":return tr(wr,null)}return l.insertionMode>=fi||l.insertionMode===Pi?tr(er,null):l}var Oi=null;function ar(l){var d=l.nextSuspenseID++;return l.boundaryPrefix+d.toString(16)}function yn(l,d,m){var S=l.idPrefix,_=":"+S+"R"+d;return m>0&&(_+="H"+m.toString(32)),_+":"}function Mr(l){return Tn(l)}var Lr="<!-- -->";function di(l,d,m,S){return d===""?S:(S&&l.push(Lr),l.push(Mr(d)),!0)}function hi(l,d,m,S){m&&S&&l.push(Lr)}var xr=new Map;function Jr(l){var d=xr.get(l);if(d!==void 0)return d;var m=Tn(ci(l));return xr.set(l,m),m}var Wn=' style="',pi=":",gi=";";function _i(l,d,m){if(typeof m!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var S=!0;for(var _ in m)if(q.call(m,_)){var B=m[_];if(!(B==null||typeof B=="boolean"||B==="")){var Y=void 0,re=void 0,xe=_.indexOf("--")===0;xe?(Y=Tn(_),H(B,_),re=Tn((""+B).trim())):(hn(_,B),Y=Jr(_),typeof B=="number"?B!==0&&!q.call(ot,_)?re=B+"px":re=""+B:(H(B,_),re=Tn((""+B).trim()))),S?(S=!1,l.push(Wn,Y,pi,re)):l.push(gi,Y,pi,re)}}S||l.push(Cn)}var nn=" ",jn='="',Cn='"',uo='=""';function On(l,d,m,S){switch(m){case"style":{_i(l,d,S);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(m.length>2&&(m[0]==="o"||m[0]==="O")&&(m[1]==="n"||m[1]==="N"))){var _=ge(m);if(_!==null){switch(typeof S){case"function":case"symbol":return;case"boolean":if(!_.acceptsBooleans)return}var B=_.attributeName,Y=B;switch(_.type){case ae:S&&l.push(nn,Y,uo);return;case Ve:S===!0?l.push(nn,Y,uo):S===!1||l.push(nn,Y,jn,Tn(S),Cn);return;case tt:isNaN(S)||l.push(nn,Y,jn,Tn(S),Cn);break;case Qe:!isNaN(S)&&S>=1&&l.push(nn,Y,jn,Tn(S),Cn);break;default:_.sanitizeURL&&(U(S,B),S=""+S,Ls(S)),l.push(nn,Y,jn,Tn(S),Cn)}}else if(Le(m)){switch(typeof S){case"function":case"symbol":return;case"boolean":{var re=m.toLowerCase().slice(0,5);if(re!=="data-"&&re!=="aria-")return}}l.push(nn,m,jn,Tn(S),Cn)}}}var _n=">",k="/>";function F(l,d,m){if(d!=null){if(m!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof d!="object"||!("__html"in d))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var S=d.__html;S!=null&&(ne(S),l.push(""+S))}}var G=!1,ee=!1,Ee=!1,me=!1,Re=!1,Xe=!1,gt=!1;function mt(l,d){{var m=l[d];if(m!=null){var S=Kr(m);l.multiple&&!S?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",d):!l.multiple&&S&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",d)}}}function dt(l,d,m){yt("select",d),mt(d,"value"),mt(d,"defaultValue"),d.value!==void 0&&d.defaultValue!==void 0&&!Ee&&(i("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ee=!0),l.push(Sr("select"));var S=null,_=null;for(var B in d)if(q.call(d,B)){var Y=d[B];if(Y==null)continue;switch(B){case"children":S=Y;break;case"dangerouslySetInnerHTML":_=Y;break;case"defaultValue":case"value":break;default:On(l,m,B,Y);break}}return l.push(_n),F(l,_,S),S}function Ft(l){var d="";return t.Children.forEach(l,function(m){m!=null&&(d+=m,!Re&&typeof m!="string"&&typeof m!="number"&&(Re=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),d}var Bn=' selected=""';function zn(l,d,m,S){var _=S.selectedValue;l.push(Sr("option"));var B=null,Y=null,re=null,xe=null;for(var je in d)if(q.call(d,je)){var Ge=d[je];if(Ge==null)continue;switch(je){case"children":B=Ge;break;case"selected":re=Ge,gt||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),gt=!0);break;case"dangerouslySetInnerHTML":xe=Ge;break;case"value":Y=Ge;default:On(l,m,je,Ge);break}}if(_!=null){var nt;if(Y!==null?(U(Y,"value"),nt=""+Y):(xe!==null&&(Xe||(Xe=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),nt=Ft(B)),Kr(_))for(var xt=0;xt<_.length;xt++){U(_[xt],"value");var en=""+_[xt];if(en===nt){l.push(Bn);break}}else U(_,"select.value"),""+_===nt&&l.push(Bn)}else re&&l.push(Bn);return l.push(_n),F(l,xe,B),B}function En(l,d,m){yt("input",d),d.checked!==void 0&&d.defaultChecked!==void 0&&!ee&&(i("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",d.type),ee=!0),d.value!==void 0&&d.defaultValue!==void 0&&!G&&(i("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",d.type),G=!0),l.push(Sr("input"));var S=null,_=null,B=null,Y=null;for(var re in d)if(q.call(d,re)){var xe=d[re];if(xe==null)continue;switch(re){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":Y=xe;break;case"defaultValue":_=xe;break;case"checked":B=xe;break;case"value":S=xe;break;default:On(l,m,re,xe);break}}return B!==null?On(l,m,"checked",B):Y!==null&&On(l,m,"checked",Y),S!==null?On(l,m,"value",S):_!==null&&On(l,m,"value",_),l.push(k),null}function Qr(l,d,m){yt("textarea",d),d.value!==void 0&&d.defaultValue!==void 0&&!me&&(i("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),me=!0),l.push(Sr("textarea"));var S=null,_=null,B=null;for(var Y in d)if(q.call(d,Y)){var re=d[Y];if(re==null)continue;switch(Y){case"children":B=re;break;case"value":S=re;break;case"defaultValue":_=re;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:On(l,m,Y,re);break}}if(S===null&&_!==null&&(S=_),l.push(_n),B!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),S!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Kr(B)){if(B.length>1)throw new Error("<textarea> can only have at most one child.");ne(B[0]),S=""+B[0]}ne(B),S=""+B}return typeof S=="string"&&S[0]===`
|
|
66
|
+
`&&l.push(qi),S!==null&&(U(S,"value"),l.push(Mr(""+S))),null}function lr(l,d,m,S){l.push(Sr(m));for(var _ in d)if(q.call(d,_)){var B=d[_];if(B==null)continue;switch(_){case"children":case"dangerouslySetInnerHTML":throw new Error(m+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:On(l,S,_,B);break}}return l.push(k),null}function Yi(l,d,m){l.push(Sr("menuitem"));for(var S in d)if(q.call(d,S)){var _=d[S];if(_==null)continue;switch(S){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:On(l,m,S,_);break}}return l.push(_n),null}function mi(l,d,m){l.push(Sr("title"));var S=null;for(var _ in d)if(q.call(d,_)){var B=d[_];if(B==null)continue;switch(_){case"children":S=B;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:On(l,m,_,B);break}}l.push(_n);{var Y=Array.isArray(S)&&S.length<2?S[0]||null:S;Array.isArray(S)&&S.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):Y!=null&&Y.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):Y!=null&&typeof Y!="string"&&typeof Y!="number"&&i("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return S}function Gi(l,d,m,S){l.push(Sr(m));var _=null,B=null;for(var Y in d)if(q.call(d,Y)){var re=d[Y];if(re==null)continue;switch(Y){case"children":_=re;break;case"dangerouslySetInnerHTML":B=re;break;default:On(l,S,Y,re);break}}return l.push(_n),F(l,B,_),typeof _=="string"?(l.push(Mr(_)),null):_}function Fr(l,d,m,S){l.push(Sr(m));var _=null,B=null;for(var Y in d)if(q.call(d,Y)){var re=d[Y];if(re==null)continue;switch(Y){case"children":_=re;break;case"dangerouslySetInnerHTML":B=re;break;case"style":_i(l,S,re);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Le(Y)&&typeof re!="function"&&typeof re!="symbol"&&l.push(nn,Y,jn,Tn(re),Cn);break}}return l.push(_n),F(l,B,_),_}var qi=`
|
|
67
67
|
`;function Wa(l,d,m,S){l.push(Sr(m));var _=null,B=null;for(var Y in d)if(q.call(d,Y)){var re=d[Y];if(re==null)continue;switch(Y){case"children":_=re;break;case"dangerouslySetInnerHTML":B=re;break;default:On(l,S,Y,re);break}}if(l.push(_n),B!=null){if(_!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof B!="object"||!("__html"in B))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var xe=B.__html;xe!=null&&(typeof xe=="string"&&xe.length>0&&xe[0]===`
|
|
68
68
|
`?l.push(qi,xe):(ne(xe),l.push(""+xe)))}return typeof _=="string"&&_[0]===`
|
|
69
|
-
`&&l.push(qi),_}var Ns=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,rs=new Map;function Sr(l){var d=rs.get(l);if(d===void 0){if(!Ns.test(l))throw new Error("Invalid tag: "+l);d="<"+l,rs.set(l,d)}return d}var za="<!DOCTYPE html>";function vi(l,d,m,S,_){switch($i(d,m),Jn(d,m),Hi(d,m,null),!m.suppressContentEditableWarning&&m.contentEditable&&m.children!=null&&i("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),_.insertionMode!==
|
|
69
|
+
`&&l.push(qi),_}var Ns=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,rs=new Map;function Sr(l){var d=rs.get(l);if(d===void 0){if(!Ns.test(l))throw new Error("Invalid tag: "+l);d="<"+l,rs.set(l,d)}return d}var za="<!DOCTYPE html>";function vi(l,d,m,S,_){switch($i(d,m),Jn(d,m),Hi(d,m,null),!m.suppressContentEditableWarning&&m.contentEditable&&m.children!=null&&i("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),_.insertionMode!==Rr&&_.insertionMode!==Ar&&d.indexOf("-")===-1&&typeof m.is!="string"&&d.toLowerCase()!==d&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",d),d){case"select":return dt(l,m,S);case"option":return zn(l,m,S,_);case"textarea":return Qr(l,m,S);case"input":return En(l,m,S);case"menuitem":return Yi(l,m,S);case"title":return mi(l,m,S);case"listing":case"pre":return Wa(l,m,d,S);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return lr(l,m,d,S);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Gi(l,m,d,S);case"html":return _.insertionMode===Pi&&l.push(za),Gi(l,m,d,S);default:return d.indexOf("-")===-1&&typeof m.is!="string"?Gi(l,m,d,S):Fr(l,m,d,S)}}var js="</",is=">";function rn(l,d,m){switch(d){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:l.push(js,d,is)}}function Gt(l,d){for(var m=d.bootstrapChunks,S=0;S<m.length-1;S++)f(l,m[S]);return S<m.length?p(l,m[S]):!0}var Kt='<template id="',Ri='"></template>';function ei(l,d,m){f(l,Kt),f(l,d.placeholderPrefix);var S=m.toString(16);return f(l,S),p(l,Ri)}var Io="<!--$-->",yi='<!--$?--><template id="',ur='"></template>',Bs="<!--$!-->",co="<!--/$-->",ua="<template",ln='"',Mo=' data-dgst="',bi=' data-msg="',ca=' data-stck="',fo="></template>";function cr(l,d){return p(l,Io)}function h(l,d,m){if(f(l,yi),m===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return f(l,m),p(l,ur)}function b(l,d,m,S,_){var B;return B=p(l,Bs),f(l,ua),m&&(f(l,Mo),f(l,Tn(m)),f(l,ln)),S&&(f(l,bi),f(l,Tn(S)),f(l,ln)),_&&(f(l,ca),f(l,Tn(_)),f(l,ln)),B=p(l,fo),B}function C(l,d){return p(l,co)}function P(l,d){return p(l,co)}function L(l,d){return p(l,co)}var N='<div hidden id="',V='">',se="</div>",te='<svg aria-hidden="true" style="display:none" id="',pe='">',_e="</svg>",Ae='<math aria-hidden="true" style="display:none" id="',Te='">',$e="</math>",it='<table hidden id="',Tt='">',Et="</table>",Rn='<table hidden><tbody id="',un='">',Nr="</tbody></table>",jr='<table hidden><tr id="',Lt='">',Br="</tr></table>",jt='<table hidden><colgroup id="',Qt='">',ho="</colgroup></table>";function po(l,d,m,S){switch(m.insertionMode){case Pi:case er:return f(l,N),f(l,d.segmentPrefix),f(l,S.toString(16)),p(l,V);case Rr:return f(l,te),f(l,d.segmentPrefix),f(l,S.toString(16)),p(l,pe);case Ar:return f(l,Ae),f(l,d.segmentPrefix),f(l,S.toString(16)),p(l,Te);case fi:return f(l,it),f(l,d.segmentPrefix),f(l,S.toString(16)),p(l,Tt);case Zr:return f(l,Rn),f(l,d.segmentPrefix),f(l,S.toString(16)),p(l,un);case wr:return f(l,jr),f(l,d.segmentPrefix),f(l,S.toString(16)),p(l,Lt);case Ir:return f(l,jt),f(l,d.segmentPrefix),f(l,S.toString(16)),p(l,Qt);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Tr(l,d){switch(d.insertionMode){case Pi:case er:return p(l,se);case Rr:return p(l,_e);case Ar:return p(l,$e);case fi:return p(l,Et);case Zr:return p(l,Nr);case wr:return p(l,Br);case Ir:return p(l,ho);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var D="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",M='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',W='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Q=D+';$RS("',be='$RS("',we='","',Me='")<\/script>';function Ye(l,d,m){f(l,d.startInlineScript),d.sentCompleteSegmentFunction?f(l,be):(d.sentCompleteSegmentFunction=!0,f(l,Q)),f(l,d.segmentPrefix);var S=m.toString(16);return f(l,S),f(l,we),f(l,d.placeholderPrefix),f(l,S),p(l,Me)}var ht=M+';$RC("',_t='$RC("',St='","',vt='")<\/script>';function An(l,d,m,S){if(f(l,d.startInlineScript),d.sentCompleteBoundaryFunction?f(l,_t):(d.sentCompleteBoundaryFunction=!0,f(l,ht)),m===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var _=S.toString(16);return f(l,m),f(l,St),f(l,d.segmentPrefix),f(l,_),p(l,vt)}var bn=W+';$RX("',$n='$RX("',os='"',fa=")<\/script>",go=",";function ti(l,d,m,S,_,B){if(f(l,d.startInlineScript),d.sentClientRenderFunction?f(l,$n):(d.sentClientRenderFunction=!0,f(l,bn)),m===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return f(l,m),f(l,os),(S||_||B)&&(f(l,go),f(l,Ai(S||""))),(_||B)&&(f(l,go),f(l,Ai(_||""))),B&&(f(l,go),f(l,Ai(B))),p(l,fa)}var Ya=/[<\u2028\u2029]/g;function Ai(l){var d=JSON.stringify(l);return d.replace(Ya,function(m){switch(m){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function da(l,d){var m=lo(d);return{bootstrapChunks:m.bootstrapChunks,startInlineScript:m.startInlineScript,placeholderPrefix:m.placeholderPrefix,segmentPrefix:m.segmentPrefix,boundaryPrefix:m.boundaryPrefix,idPrefix:m.idPrefix,nextSuspenseID:m.nextSuspenseID,sentCompleteSegmentFunction:m.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:m.sentCompleteBoundaryFunction,sentClientRenderFunction:m.sentClientRenderFunction,generateStaticMarkup:l}}function ss(){return{insertionMode:er,selectedValue:null}}function ni(l,d,m,S){return m.generateStaticMarkup?(l.push(Tn(d)),!1):di(l,d,m,S)}function mo(l,d,m,S){if(!d.generateStaticMarkup)return hi(l,d,m,S)}function Ga(l,d){return d.generateStaticMarkup?!0:cr(l)}function Ou(l,d,m,S,_){return d.generateStaticMarkup?!0:b(l,d,m,S,_)}function ha(l,d){return d.generateStaticMarkup?!0:C(l)}function vo(l,d){return d.generateStaticMarkup?!0:L(l)}var cn=Object.assign,Al=Symbol.for("react.element"),pa=Symbol.for("react.portal"),$s=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),Ce=Symbol.for("react.provider"),De=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),fe=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),Fe=Symbol.for("react.lazy"),st=Symbol.for("react.scope"),lt=Symbol.for("react.debug_trace_mode"),rt=Symbol.for("react.legacy_hidden"),It=Symbol.for("react.default_value"),wt=Symbol.iterator,Vt="@@iterator";function Yn(l){if(l===null||typeof l!="object")return null;var d=wt&&l[wt]||l[Vt];return typeof d=="function"?d:null}function nr(l,d,m){var S=l.displayName;if(S)return S;var _=d.displayName||d.name||"";return _!==""?m+"("+_+")":m}function In(l){return l.displayName||"Context"}function zt(l){if(l==null)return null;if(typeof l.tag=="number"&&i("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case $s:return"Fragment";case pa:return"Portal";case de:return"Profiler";case J:return"StrictMode";case fe:return"Suspense";case ce:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case De:var d=l;return In(d)+".Consumer";case Ce:var m=l;return In(m._context)+".Provider";case Z:return nr(l,l.render,"ForwardRef");case Ie:var S=l.displayName||null;return S!==null?S:zt(l.type)||"Memo";case Fe:{var _=l,B=_._payload,Y=_._init;try{return zt(Y(B))}catch{return null}}}return null}var $r=0,kt,_u,pn,Lo,Ru,Au,Iu;function ga(){}ga.__reactDisabledLog=!0;function Fo(){{if($r===0){kt=console.log,_u=console.info,pn=console.warn,Lo=console.error,Ru=console.group,Au=console.groupCollapsed,Iu=console.groupEnd;var l={configurable:!0,enumerable:!0,value:ga,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}$r++}}function qa(){{if($r--,$r===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:cn({},l,{value:kt}),info:cn({},l,{value:_u}),warn:cn({},l,{value:pn}),error:cn({},l,{value:Lo}),group:cn({},l,{value:Ru}),groupCollapsed:cn({},l,{value:Au}),groupEnd:cn({},l,{value:Iu})})}$r<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Xa=n.ReactCurrentDispatcher,Vs;function ma(l,d,m){{if(Vs===void 0)try{throw Error()}catch(_){var S=_.stack.trim().match(/\n( *(at )?)/);Vs=S&&S[1]||""}return`
|
|
70
70
|
`+Vs+l}}var Il=!1,No;{var Ml=typeof WeakMap=="function"?WeakMap:Map;No=new Ml}function Xi(l,d){if(!l||Il)return"";{var m=No.get(l);if(m!==void 0)return m}var S;Il=!0;var _=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var B;B=Xa.current,Xa.current=null,Fo();try{if(d){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(ir){S=ir}Reflect.construct(l,[],Y)}else{try{Y.call()}catch(ir){S=ir}l.call(Y.prototype)}}else{try{throw Error()}catch(ir){S=ir}l()}}catch(ir){if(ir&&S&&typeof ir.stack=="string"){for(var re=ir.stack.split(`
|
|
71
71
|
`),xe=S.stack.split(`
|
|
72
72
|
`),je=re.length-1,Ge=xe.length-1;je>=1&&Ge>=0&&re[je]!==xe[Ge];)Ge--;for(;je>=1&&Ge>=0;je--,Ge--)if(re[je]!==xe[Ge]){if(je!==1||Ge!==1)do if(je--,Ge--,Ge<0||re[je]!==xe[Ge]){var nt=`
|
|
@@ -80,20 +80,20 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
80
80
|
https://reactjs.org/link/unsafe-component-lifecycles`,xt,en,je!==null?`
|
|
81
81
|
`+je:"",Ge!==null?`
|
|
82
82
|
`+Ge:"",nt!==null?`
|
|
83
|
-
`+nt:""))}}}return re}function jc(l,d,m){{var S=zt(d)||"Component",_=l.render;_||(d.prototype&&typeof d.prototype.render=="function"?i("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",S):i("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",S)),l.getInitialState&&!l.getInitialState.isReactClassApproved&&!l.state&&i("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",S),l.getDefaultProps&&!l.getDefaultProps.isReactClassApproved&&i("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",S),l.propTypes&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",S),l.contextType&&i("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",S),l.contextTypes&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",S),d.contextType&&d.contextTypes&&!$t.has(d)&&($t.add(d),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",S)),typeof l.componentShouldUpdate=="function"&&i("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",S),d.prototype&&d.prototype.isPureReactComponent&&typeof l.shouldComponentUpdate<"u"&&i("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",zt(d)||"A pure component"),typeof l.componentDidUnmount=="function"&&i("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",S),typeof l.componentDidReceiveProps=="function"&&i("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",S),typeof l.componentWillRecieveProps=="function"&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",S),typeof l.UNSAFE_componentWillRecieveProps=="function"&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",S);var B=l.props!==m;l.props!==void 0&&B&&i("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",S,S),l.defaultProps&&i("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",S,S),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!Ws.has(d)&&(Ws.add(d),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",zt(d))),typeof l.getDerivedStateFromProps=="function"&&i("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof l.getDerivedStateFromError=="function"&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof d.getSnapshotBeforeUpdate=="function"&&i("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",S);var Y=l.state;Y&&(typeof Y!="object"||
|
|
83
|
+
`+nt:""))}}}return re}function jc(l,d,m){{var S=zt(d)||"Component",_=l.render;_||(d.prototype&&typeof d.prototype.render=="function"?i("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",S):i("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",S)),l.getInitialState&&!l.getInitialState.isReactClassApproved&&!l.state&&i("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",S),l.getDefaultProps&&!l.getDefaultProps.isReactClassApproved&&i("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",S),l.propTypes&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",S),l.contextType&&i("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",S),l.contextTypes&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",S),d.contextType&&d.contextTypes&&!$t.has(d)&&($t.add(d),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",S)),typeof l.componentShouldUpdate=="function"&&i("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",S),d.prototype&&d.prototype.isPureReactComponent&&typeof l.shouldComponentUpdate<"u"&&i("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",zt(d)||"A pure component"),typeof l.componentDidUnmount=="function"&&i("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",S),typeof l.componentDidReceiveProps=="function"&&i("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",S),typeof l.componentWillRecieveProps=="function"&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",S),typeof l.UNSAFE_componentWillRecieveProps=="function"&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",S);var B=l.props!==m;l.props!==void 0&&B&&i("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",S,S),l.defaultProps&&i("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",S,S),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!Ws.has(d)&&(Ws.add(d),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",zt(d))),typeof l.getDerivedStateFromProps=="function"&&i("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof l.getDerivedStateFromError=="function"&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof d.getSnapshotBeforeUpdate=="function"&&i("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",S);var Y=l.state;Y&&(typeof Y!="object"||Kr(Y))&&i("%s.state: must be set to an object or null",S),typeof l.getChildContext=="function"&&typeof d.childContextTypes!="object"&&i("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",S)}}function Bc(l,d){var m=d.state;if(typeof d.componentWillMount=="function"){if(d.componentWillMount.__suppressDeprecationWarning!==!0){var S=zt(l)||"Unknown";Sa[S]||(r(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
84
84
|
|
|
85
85
|
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
86
86
|
|
|
87
|
-
Please update the following components: %s`,S),Sa[S]=!0)}d.componentWillMount()}typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),m!==d.state&&(i("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",zt(l)||"Component"),wo.enqueueReplaceState(d,d.state,null))}function Vf(l,d,m,S){if(l.queue!==null&&l.queue.length>0){var _=l.queue,B=l.replace;if(l.queue=null,l.replace=!1,B&&_.length===1)d.state=_[0];else{for(var Y=B?_[0]:d.state,re=!0,xe=B?1:0;xe<_.length;xe++){var je=_[xe],Ge=typeof je=="function"?je.call(d,Y,m,S):je;Ge!=null&&(re?(re=!1,Y=cn({},Y,Ge)):cn(Y,Ge))}d.state=Y}}else l.queue=null}function xo(l,d,m,S){jc(l,d,m);var _=l.state!==void 0?l.state:null;l.updater=wo,l.props=m,l.state=_;var B={queue:[],replace:!1};$f(l,B);var Y=d.contextType;if(typeof Y=="object"&&Y!==null?l.context=fs(Y):l.context=S,l.state===m){var re=zt(d)||"Component";Cr.has(re)||(Cr.add(re),i("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",re))}var xe=d.getDerivedStateFromProps;typeof xe=="function"&&(l.state=Fu(l,d,xe,_,m)),typeof d.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(Bc(d,l),Vf(B,l,m,S))}var Hf={id:1,overflow:""};function Uf(l){var d=l.overflow,m=l.id,S=m&~Wf(m);return S.toString(32)+d}function Nu(l,d,m){var S=l.id,_=l.overflow,B=tl(S)-1,Y=S&~(1<<B),re=m+1,xe=tl(d)+B;if(xe>30){var je=B-B%5,Ge=(1<<je)-1,nt=(Y&Ge).toString(32),xt=Y>>je,en=B-je,ir=tl(d)+en,Eo=re<<en,ws=Eo|xt,eo=nt+_;return{id:1<<ir|ws,overflow:eo}}else{var Aa=re<<B,rf=Aa|Y,na=_;return{id:1<<xe|rf,overflow:na}}}function tl(l){return 32-Ho(l)}function Wf(l){return 1<<tl(l)-1}var Ho=Math.clz32?Math.clz32:zf,ju=Math.log,Bl=Math.LN2;function zf(l){var d=l>>>0;return d===0?32:31-(ju(d)/Bl|0)|0}function Yf(l,d){return l===d&&(l!==0||1/l===1/d)||l!==l&&d!==d}var Gf=typeof Object.is=="function"?Object.is:Yf
|
|
87
|
+
Please update the following components: %s`,S),Sa[S]=!0)}d.componentWillMount()}typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),m!==d.state&&(i("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",zt(l)||"Component"),wo.enqueueReplaceState(d,d.state,null))}function Vf(l,d,m,S){if(l.queue!==null&&l.queue.length>0){var _=l.queue,B=l.replace;if(l.queue=null,l.replace=!1,B&&_.length===1)d.state=_[0];else{for(var Y=B?_[0]:d.state,re=!0,xe=B?1:0;xe<_.length;xe++){var je=_[xe],Ge=typeof je=="function"?je.call(d,Y,m,S):je;Ge!=null&&(re?(re=!1,Y=cn({},Y,Ge)):cn(Y,Ge))}d.state=Y}}else l.queue=null}function xo(l,d,m,S){jc(l,d,m);var _=l.state!==void 0?l.state:null;l.updater=wo,l.props=m,l.state=_;var B={queue:[],replace:!1};$f(l,B);var Y=d.contextType;if(typeof Y=="object"&&Y!==null?l.context=fs(Y):l.context=S,l.state===m){var re=zt(d)||"Component";Cr.has(re)||(Cr.add(re),i("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",re))}var xe=d.getDerivedStateFromProps;typeof xe=="function"&&(l.state=Fu(l,d,xe,_,m)),typeof d.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(Bc(d,l),Vf(B,l,m,S))}var Hf={id:1,overflow:""};function Uf(l){var d=l.overflow,m=l.id,S=m&~Wf(m);return S.toString(32)+d}function Nu(l,d,m){var S=l.id,_=l.overflow,B=tl(S)-1,Y=S&~(1<<B),re=m+1,xe=tl(d)+B;if(xe>30){var je=B-B%5,Ge=(1<<je)-1,nt=(Y&Ge).toString(32),xt=Y>>je,en=B-je,ir=tl(d)+en,Eo=re<<en,ws=Eo|xt,eo=nt+_;return{id:1<<ir|ws,overflow:eo}}else{var Aa=re<<B,rf=Aa|Y,na=_;return{id:1<<xe|rf,overflow:na}}}function tl(l){return 32-Ho(l)}function Wf(l){return 1<<tl(l)-1}var Ho=Math.clz32?Math.clz32:zf,ju=Math.log,Bl=Math.LN2;function zf(l){var d=l>>>0;return d===0?32:31-(ju(d)/Bl|0)|0}function Yf(l,d){return l===d&&(l!==0||1/l===1/d)||l!==l&&d!==d}var Gf=typeof Object.is=="function"?Object.is:Yf,Vr=null,Bu=null,$l=null,qt=null,wi=!1,Ta=!1,zs=0,Zt=null,hs=0,nl=25,ri=!1,xi;function So(){if(Vr===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
88
88
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
89
89
|
2. You might be breaking the Rules of Hooks
|
|
90
90
|
3. You might have more than one copy of React in the same app
|
|
91
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return
|
|
91
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return ri&&i("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Vr}function $u(l,d){if(d===null)return i("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",xi),!1;l.length!==d.length&&i(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
92
92
|
|
|
93
93
|
Previous: %s
|
|
94
|
-
Incoming: %s`,xi,"["+l.join(", ")+"]","["+d.join(", ")+"]");for(var m=0;m<d.length&&m<l.length;m++)if(!Gf(l[m],d[m]))return!1;return!0}function
|
|
94
|
+
Incoming: %s`,xi,"["+l.join(", ")+"]","["+d.join(", ")+"]");for(var m=0;m<d.length&&m<l.length;m++)if(!Gf(l[m],d[m]))return!1;return!0}function Hr(){if(hs>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Ki(){return qt===null?$l===null?(wi=!1,$l=qt=Hr()):(wi=!0,qt=$l):qt.next===null?(wi=!1,qt=qt.next=Hr()):(wi=!0,qt=qt.next),qt}function Ys(l,d){Vr=d,Bu=l,ri=!1,zs=0}function $c(l,d,m,S){for(;Ta;)Ta=!1,zs=0,hs+=1,qt=null,m=l(d,S);return Si(),m}function Vu(){var l=zs!==0;return l}function Si(){ri=!1,Vr=null,Bu=null,Ta=!1,$l=null,hs=0,Zt=null,qt=null}function Hu(l){return ri&&i("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),fs(l)}function Gs(l){return xi="useContext",So(),fs(l)}function Ur(l,d){return typeof d=="function"?d(l):d}function Uu(l){return xi="useState",Wu(Ur,l)}function Wu(l,d,m){if(l!==Ur&&(xi="useReducer"),Vr=So(),qt=Ki(),wi){var S=qt.queue,_=S.dispatch;if(Zt!==null){var B=Zt.get(S);if(B!==void 0){Zt.delete(S);var Y=qt.memoizedState,re=B;do{var xe=re.action;ri=!0,Y=l(Y,xe),ri=!1,re=re.next}while(re!==null);return qt.memoizedState=Y,[Y,_]}}return[qt.memoizedState,_]}else{ri=!0;var je;l===Ur?je=typeof d=="function"?d():d:je=m!==void 0?m(d):d,ri=!1,qt.memoizedState=je;var Ge=qt.queue={last:null,dispatch:null},nt=Ge.dispatch=Yu.bind(null,Vr,Ge);return[qt.memoizedState,nt]}}function zu(l,d){Vr=So(),qt=Ki();var m=d===void 0?null:d;if(qt!==null){var S=qt.memoizedState;if(S!==null&&m!==null){var _=S[1];if($u(m,_))return S[0]}}ri=!0;var B=l();return ri=!1,qt.memoizedState=[B,m],B}function qs(l){Vr=So(),qt=Ki();var d=qt.memoizedState;if(d===null){var m={current:l};return Object.seal(m),qt.memoizedState=m,m}else return d}function ps(l,d){xi="useLayoutEffect",i("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Yu(l,d,m){if(hs>=nl)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l===Vr){Ta=!0;var S={action:m,next:null};Zt===null&&(Zt=new Map);var _=Zt.get(d);if(_===void 0)Zt.set(d,S);else{for(var B=_;B.next!==null;)B=B.next;B.next=S}}}function Vc(l,d){return zu(function(){return l},d)}function Vl(l,d,m){return So(),d(l._source)}function qf(l,d,m){if(m===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return m()}function Hc(l){return So(),l}function fr(){throw new Error("startTransition cannot be called during server rendering.")}function Gu(){return So(),[!1,fr]}function Uc(){var l=Bu,d=Uf(l.treeContext),m=Ca;if(m===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var S=zs++;return yn(m,d,S)}function Ti(){}var Hl={readContext:Hu,useContext:Gs,useMemo:zu,useReducer:Wu,useRef:qs,useState:Uu,useInsertionEffect:Ti,useLayoutEffect:ps,useCallback:Vc,useImperativeHandle:Ti,useEffect:Ti,useDebugValue:Ti,useDeferredValue:Hc,useTransition:Gu,useId:Uc,useMutableSource:Vl,useSyncExternalStore:qf},Ca=null;function gs(l){Ca=l}function rl(l){try{var d="",m=l;do{switch(m.tag){case 0:d+=ma(m.type,null,null);break;case 1:d+=as(m.type,null,null);break;case 2:d+=jo(m.type,null,null);break}m=m.parent}while(m);return d}catch(S){return`
|
|
95
95
|
Error generating stack: `+S.message+`
|
|
96
|
-
`+S.stack}}var rr=n.ReactCurrentDispatcher,Xs=n.ReactDebugCurrentFrame,Ul=0,Ea=1,Wl=2,ka=3,zl=4,To=0,Yl=1,Ks=2,Wc=12800;function il(l){return console.error(l),null}function Da(){}function Pa(l,d,m,S,_,B,Y,re,xe){var je=[],Ge=new Set,nt={destination:null,responseState:d,progressiveChunkSize:S===void 0?Wc:S,status:To,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ge,pingedTasks:je,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:_===void 0?il:_,onAllReady:Da,onShellReady:Y===void 0?Da:Y,onShellError:Da,onFatalError:Da},xt=Gl(nt,0,null,m,!1,!1);xt.parentFlushed=!0;var en=Zs(nt,l,null,xt,Ge,ba,Gn,Hf);return je.push(en),nt}function qu(l,d){var m=l.pingedTasks;m.push(d),m.length===1&&a(function(){return tu(l)})}function zc(l,d){return{id:Oi,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:d,errorDigest:null}}function Zs(l,d,m,S,_,B,Y,re){l.allPendingTasks++,m===null?l.pendingRootTasks++:m.pendingTasks++;var xe={node:d,ping:function(){return qu(l,xe)},blockedBoundary:m,blockedSegment:S,abortSet:_,legacyContext:B,context:Y,treeContext:re};return xe.componentStack=null,_.add(xe),xe}function Gl(l,d,m,S,_,B){return{status:Ul,id:-1,index:d,parentFlushed:!1,chunks:[],children:[],formatContext:S,boundary:m,lastPushedText:_,textEmbedded:B}}var Uo=null;function ql(){return Uo===null||Uo.componentStack===null?"":rl(Uo.componentStack)}function Wo(l,d){l.componentStack={tag:0,parent:l.componentStack,type:d}}function ol(l,d){l.componentStack={tag:1,parent:l.componentStack,type:d}}function Zi(l,d){l.componentStack={tag:2,parent:l.componentStack,type:d}}function Ji(l){l.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var Co=null;function sl(l,d){{var m;typeof d=="string"?m=d:d&&typeof d.message=="string"?m=d.message:m=String(d);var S=Co||ql();Co=null,l.errorMessage=m,l.errorComponentStack=S}}function ms(l,d){var m=l.onError(d);if(m!=null&&typeof m!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof m+'" instead');return m}function Qi(l,d){var m=l.onShellError;m(d);var S=l.onFatalError;S(d),l.destination!==null?(l.status=Ks,A(l.destination,d)):(l.status=Yl,l.fatalError=d)}function Oa(l,d,m){Wo(d,"Suspense");var S=d.blockedBoundary,_=d.blockedSegment,B=m.fallback,Y=m.children,re=new Set,xe=zc(l,re),je=_.chunks.length,Ge=Gl(l,je,xe,_.formatContext,!1,!1);_.children.push(Ge),_.lastPushedText=!1;var nt=Gl(l,0,null,_.formatContext,!1,!1);nt.parentFlushed=!0,d.blockedBoundary=xe,d.blockedSegment=nt;try{if(dr(l,d,Y),mo(nt.chunks,l.responseState,nt.lastPushedText,nt.textEmbedded),nt.status=Ea,Ci(xe,nt),xe.pendingTasks===0){Ji(d);return}}catch(en){nt.status=zl,xe.forceClientRender=!0,xe.errorDigest=ms(l,en),sl(xe,en)}finally{d.blockedBoundary=S,d.blockedSegment=_}var xt=Zs(l,B,S,Ge,re,d.legacyContext,d.context,d.treeContext);xt.componentStack=d.componentStack,l.pingedTasks.push(xt),Ji(d)}function Xl(l,d,m,S){Wo(d,m);var _=d.blockedSegment,B=vi(_.chunks,m,S,l.responseState,_.formatContext);_.lastPushedText=!1;var Y=_.formatContext;_.formatContext=zi(Y,m,S),dr(l,d,B),_.formatContext=Y,rn(_.chunks,m),_.lastPushedText=!1,Ji(d)}function al(l){return l.prototype&&l.prototype.isReactComponent}function _a(l,d,m,S,_){var B={};Ys(d,B);var Y=m(S,_);return $c(m,S,Y,_)}function Yc(l,d,m,S,_){var B=m.render();m.props!==_&&(Bt||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",zt(S)||"a component"),Bt=!0);{var Y=S.childContextTypes;if(Y!=null){var re=d.legacyContext,xe=Lc(m,S,re,Y);d.legacyContext=xe,Wr(l,d,B),d.legacyContext=re;return}}Wr(l,d,B)}function Xu(l,d,m,S){Zi(d,m);var _=Za(m,d.legacyContext),B=Nc(m,S,_);xo(B,m,S,_),Yc(l,d,B,m,S),Ji(d)}var Ku={},Js={},Zu={},Kl={},Bt=!1,ll={},Ju=!1,Qs=!1,Zl=!1;function Gc(l,d,m,S){var _;if(_=Za(m,d.legacyContext),ol(d,m),m.prototype&&typeof m.prototype.render=="function"){var B=zt(m)||"Unknown";Ku[B]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",B,B),Ku[B]=!0)}var Y=_a(l,d,m,S,_),re=Vu();if(typeof Y=="object"&&Y!==null&&typeof Y.render=="function"&&Y.$$typeof===void 0){var xe=zt(m)||"Unknown";Js[xe]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",xe,xe,xe),Js[xe]=!0)}if(typeof Y=="object"&&Y!==null&&typeof Y.render=="function"&&Y.$$typeof===void 0){{var je=zt(m)||"Unknown";Js[je]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",je,je,je),Js[je]=!0)}xo(Y,m,S,_),Yc(l,d,Y,m,S)}else if(qc(m),re){var Ge=d.treeContext,nt=1,xt=0;d.treeContext=Nu(Ge,nt,xt);try{Wr(l,d,Y)}finally{d.treeContext=Ge}}else Wr(l,d,Y);Ji(d)}function qc(l){{if(l&&l.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),l.defaultProps!==void 0){var d=zt(l)||"Unknown";ll[d]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",d),ll[d]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var m=zt(l)||"Unknown";Kl[m]||(i("%s: Function components do not support getDerivedStateFromProps.",m),Kl[m]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var S=zt(l)||"Unknown";Zu[S]||(i("%s: Function components do not support contextType.",S),Zu[S]=!0)}}}function ri(l,d){if(l&&l.defaultProps){var m=cn({},d),S=l.defaultProps;for(var _ in S)m[_]===void 0&&(m[_]=S[_]);return m}return d}function Xc(l,d,m,S,_){ol(d,m.render);var B=_a(l,d,m.render,S,_),Y=Vu();if(Y){var re=d.treeContext,xe=1,je=0;d.treeContext=Nu(re,xe,je);try{Wr(l,d,B)}finally{d.treeContext=re}}else Wr(l,d,B);Ji(d)}function Jl(l,d,m,S,_){var B=m.type,Y=ri(B,S);Ur(l,d,B,Y,_)}function Qu(l,d,m,S){m._context===void 0?m!==m.Consumer&&(Zl||(Zl=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):m=m._context;var _=S.children;typeof _!="function"&&i("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var B=fs(m),Y=_(B);Wr(l,d,Y)}function ec(l,d,m,S){var _=m._context,B=S.value,Y=S.children,re;re=d.context,d.context=xa(_,B),Wr(l,d,Y),d.context=Ja(_),re!==d.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Kc(l,d,m,S,_){Wo(d,"Lazy");var B=m._payload,Y=m._init,re=Y(B),xe=ri(re,S);Ur(l,d,re,xe,_),Ji(d)}function Ur(l,d,m,S,_){if(typeof m=="function")if(al(m)){Xu(l,d,m,S);return}else{Gc(l,d,m,S);return}if(typeof m=="string"){Xl(l,d,m,S);return}switch(m){case rt:case lt:case J:case de:case $s:{Wr(l,d,S.children);return}case ce:{Wo(d,"SuspenseList"),Wr(l,d,S.children),Ji(d);return}case st:throw new Error("ReactDOMServer does not yet support scope components.");case fe:{Oa(l,d,S);return}}if(typeof m=="object"&&m!==null)switch(m.$$typeof){case Z:{Xc(l,d,m,S,_);return}case Ie:{Jl(l,d,m,S,_);return}case Ce:{ec(l,d,m,S);return}case De:{Qu(l,d,m,S);return}case Fe:{Kc(l,d,m,S);return}}var B="";throw(m===void 0||typeof m=="object"&&m!==null&&Object.keys(m).length===0)&&(B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(m==null?m:typeof m)+"."+B))}function vs(l,d){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(Ju||i("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Ju=!0),l.entries===d&&(Qs||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Qs=!0)}function Wr(l,d,m){try{return Zc(l,d,m)}catch(S){throw typeof S=="object"&&S!==null&&typeof S.then=="function"||(Co=Co!==null?Co:ql()),S}}function Zc(l,d,m){if(d.node=m,typeof m=="object"&&m!==null){switch(m.$$typeof){case Al:{var S=m,_=S.type,B=S.props,Y=S.ref;Ur(l,d,_,B,Y);return}case pa:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Fe:{var re=m,xe=re._payload,je=re._init,Ge;try{Ge=je(xe)}catch(Aa){throw typeof Aa=="object"&&Aa!==null&&typeof Aa.then=="function"&&Wo(d,"Lazy"),Aa}Wr(l,d,Ge);return}}if(Xr(m)){ea(l,d,m);return}var nt=Yn(m);if(nt){vs(m,nt);var xt=nt.call(m);if(xt){var en=xt.next();if(!en.done){var ir=[];do ir.push(en.value),en=xt.next();while(!en.done);ea(l,d,ir);return}return}}var Eo=Object.prototype.toString.call(m);throw new Error("Objects are not valid as a React child (found: "+(Eo==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":Eo)+"). If you meant to render a collection of children, use an array instead.")}if(typeof m=="string"){var ws=d.blockedSegment;ws.lastPushedText=ti(d.blockedSegment.chunks,m,l.responseState,ws.lastPushedText);return}if(typeof m=="number"){var eo=d.blockedSegment;eo.lastPushedText=ti(d.blockedSegment.chunks,""+m,l.responseState,eo.lastPushedText);return}typeof m=="function"&&i("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function ea(l,d,m){for(var S=m.length,_=0;_<S;_++){var B=d.treeContext;d.treeContext=Nu(B,S,_);try{dr(l,d,m[_])}finally{d.treeContext=B}}}function Jc(l,d,m){var S=d.blockedSegment,_=S.chunks.length,B=Gl(l,_,null,S.formatContext,S.lastPushedText,!0);S.children.push(B),S.lastPushedText=!1;var Y=Zs(l,d.node,d.blockedBoundary,B,d.abortSet,d.legacyContext,d.context,d.treeContext);d.componentStack!==null&&(Y.componentStack=d.componentStack.parent);var re=Y.ping;m.then(re,re)}function dr(l,d,m){var S=d.blockedSegment.formatContext,_=d.legacyContext,B=d.context,Y=null;Y=d.componentStack;try{return Wr(l,d,m)}catch(re){if(Si(),typeof re=="object"&&re!==null&&typeof re.then=="function"){Jc(l,d,re),d.blockedSegment.formatContext=S,d.legacyContext=_,d.context=B,Bo(B),d.componentStack=Y;return}else throw d.blockedSegment.formatContext=S,d.legacyContext=_,d.context=B,Bo(B),d.componentStack=Y,re}}function Qc(l,d,m,S){var _=ms(l,S);if(d===null?Qi(l,S):(d.pendingTasks--,d.forceClientRender||(d.forceClientRender=!0,d.errorDigest=_,sl(d,S),d.parentFlushed&&l.clientRenderedBoundaries.push(d))),l.allPendingTasks--,l.allPendingTasks===0){var B=l.onAllReady;B()}}function Ql(l){var d=this,m=l.blockedBoundary,S=l.blockedSegment;S.status=ka,ef(d,m,S)}function eu(l,d,m){var S=l.blockedBoundary,_=l.blockedSegment;if(_.status=ka,S===null)d.allPendingTasks--,d.status!==Ks&&(d.status=Ks,d.destination!==null&&g(d.destination));else{if(S.pendingTasks--,!S.forceClientRender){S.forceClientRender=!0;var B=m===void 0?new Error("The render was aborted by the server without a reason."):m;S.errorDigest=d.onError(B);{var Y="The server did not finish this Suspense boundary: ";B&&typeof B.message=="string"?B=Y+B.message:B=Y+String(B);var re=Uo;Uo=l;try{sl(S,B)}finally{Uo=re}}S.parentFlushed&&d.clientRenderedBoundaries.push(S)}if(S.fallbackAbortableTasks.forEach(function(je){return eu(je,d,m)}),S.fallbackAbortableTasks.clear(),d.allPendingTasks--,d.allPendingTasks===0){var xe=d.onAllReady;xe()}}}function Ci(l,d){if(d.chunks.length===0&&d.children.length===1&&d.children[0].boundary===null){var m=d.children[0];m.id=d.id,m.parentFlushed=!0,m.status===Ea&&Ci(l,m)}else{var S=l.completedSegments;S.push(d)}}function ef(l,d,m){if(d===null){if(m.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=m}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Da;var S=l.onShellReady;S()}}else if(d.pendingTasks--,!d.forceClientRender){if(d.pendingTasks===0)m.parentFlushed&&m.status===Ea&&Ci(d,m),d.parentFlushed&&l.completedBoundaries.push(d),d.fallbackAbortableTasks.forEach(Ql,l),d.fallbackAbortableTasks.clear();else if(m.parentFlushed&&m.status===Ea){Ci(d,m);var _=d.completedSegments;_.length===1&&d.parentFlushed&&l.partialBoundaries.push(d)}}if(l.allPendingTasks--,l.allPendingTasks===0){var B=l.onAllReady;B()}}function ys(l,d){var m=d.blockedSegment;if(m.status===Ul){Bo(d.context);var S=null;S=Uo,Uo=d;try{Wr(l,d,d.node),mo(m.chunks,l.responseState,m.lastPushedText,m.textEmbedded),d.abortSet.delete(d),m.status=Ea,ef(l,d.blockedBoundary,m)}catch(B){if(Si(),typeof B=="object"&&B!==null&&typeof B.then=="function"){var _=d.ping;B.then(_,_)}else d.abortSet.delete(d),m.status=zl,Qc(l,d.blockedBoundary,m,B)}finally{Uo=S}}}function tu(l){if(l.status!==Ks){var d=Us(),m=rr.current;rr.current=Hl;var S;S=Xs.getCurrentStack,Xs.getCurrentStack=ql;var _=Ca;gs(l.responseState);try{var B=l.pingedTasks,Y;for(Y=0;Y<B.length;Y++){var re=B[Y];ys(l,re)}B.splice(0,Y),l.destination!==null&&nu(l,l.destination)}catch(xe){ms(l,xe),Qi(l,xe)}finally{gs(_),rr.current=m,Xs.getCurrentStack=S,m===Hl&&Bo(d)}}}function bs(l,d,m){switch(m.parentFlushed=!0,m.status){case Ul:{var S=m.id=l.nextSegmentId++;return m.lastPushedText=!1,m.textEmbedded=!1,Qr(d,l.responseState,S)}case Ea:{m.status=Wl;for(var _=!0,B=m.chunks,Y=0,re=m.children,xe=0;xe<re.length;xe++){for(var je=re[xe];Y<je.index;Y++)f(d,B[Y]);_=ta(l,d,je)}for(;Y<B.length-1;Y++)f(d,B[Y]);return Y<B.length&&(_=p(d,B[Y])),_}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ta(l,d,m){var S=m.boundary;if(S===null)return bs(l,d,m);if(S.parentFlushed=!0,S.forceClientRender)return Ou(d,l.responseState,S.errorDigest,S.errorMessage,S.errorComponentStack),bs(l,d,m),vo(d,l.responseState);if(S.pendingTasks>0){S.rootSegmentID=l.nextSegmentId++,S.completedSegments.length>0&&l.partialBoundaries.push(S);var _=S.id=ar(l.responseState);return h(d,l.responseState,_),bs(l,d,m),P(d,l.responseState)}else{if(S.byteSize>l.progressiveChunkSize)return S.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(S),h(d,l.responseState,S.id),bs(l,d,m),P(d,l.responseState);Ga(d,l.responseState);var B=S.completedSegments;if(B.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var Y=B[0];return ta(l,d,Y),ha(d,l.responseState)}}function Xf(l,d,m){return ei(d,l.responseState,m.id,m.errorDigest,m.errorMessage,m.errorComponentStack)}function tc(l,d,m){return po(d,l.responseState,m.formatContext,m.id),ta(l,d,m),Tr(d,m.formatContext)}function ul(l,d,m){for(var S=m.completedSegments,_=0;_<S.length;_++){var B=S[_];nc(l,d,m,B)}return S.length=0,An(d,l.responseState,m.id,m.rootSegmentID)}function cl(l,d,m){for(var S=m.completedSegments,_=0;_<S.length;_++){var B=S[_];if(!nc(l,d,m,B))return _++,S.splice(0,_),!1}return S.splice(0,_),!0}function nc(l,d,m,S){if(S.status===Wl)return!0;var _=S.id;if(_===-1){var B=S.id=m.rootSegmentID;if(B===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return tc(l,d,S)}else return tc(l,d,S),Ye(d,l.responseState,_)}function nu(l,d){try{var m=l.completedRootSegment;m!==null&&l.pendingRootTasks===0&&(ta(l,d,m),l.completedRootSegment=null,Gt(d,l.responseState));var S=l.clientRenderedBoundaries,_;for(_=0;_<S.length;_++){var B=S[_];if(!Xf(l,d,B)){l.destination=null,_++,S.splice(0,_);return}}S.splice(0,_);var Y=l.completedBoundaries;for(_=0;_<Y.length;_++){var re=Y[_];if(!ul(l,d,re)){l.destination=null,_++,Y.splice(0,_);return}}Y.splice(0,_);var xe=l.partialBoundaries;for(_=0;_<xe.length;_++){var je=xe[_];if(!cl(l,d,je)){l.destination=null,_++,xe.splice(0,_);return}}xe.splice(0,_);var Ge=l.completedBoundaries;for(_=0;_<Ge.length;_++){var nt=Ge[_];if(!ul(l,d,nt)){l.destination=null,_++,Ge.splice(0,_);return}}Ge.splice(0,_)}finally{l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),g(d))}}function rc(l){a(function(){return tu(l)})}function tf(l,d){if(l.status===Yl){l.status=Ks,A(d,l.fatalError);return}if(l.status!==Ks&&l.destination===null){l.destination=d;try{nu(l,d)}catch(m){ms(l,m),Qi(l,m)}}}function zr(l,d){try{var m=l.abortableTasks;m.forEach(function(S){return eu(S,l,d)}),m.clear(),l.destination!==null&&nu(l,l.destination)}catch(S){ms(l,S),Qi(l,S)}}function Ii(){}function nf(l,d,m,S){var _=!1,B=null,Y="",re={push:function(nt){return nt!==null&&(Y+=nt),!0},destroy:function(nt){_=!0,B=nt}},xe=!1;function je(){xe=!0}var Ge=Pa(l,da(m,d?d.identifierPrefix:void 0),ss(),1/0,Ii,void 0,je);if(rc(Ge),zr(Ge,S),tf(Ge,re),_)throw B;if(!xe)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return Y}function Kf(l,d){return nf(l,d,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function fl(l,d){return nf(l,d,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function Ra(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function v(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}cc.renderToNodeStream=Ra,cc.renderToStaticMarkup=fl,cc.renderToStaticNodeStream=v,cc.renderToString=Kf,cc.version=e}()),cc}var Lh={};/**
|
|
96
|
+
`+S.stack}}var rr=n.ReactCurrentDispatcher,Xs=n.ReactDebugCurrentFrame,Ul=0,Ea=1,Wl=2,ka=3,zl=4,To=0,Yl=1,Ks=2,Wc=12800;function il(l){return console.error(l),null}function Da(){}function Pa(l,d,m,S,_,B,Y,re,xe){var je=[],Ge=new Set,nt={destination:null,responseState:d,progressiveChunkSize:S===void 0?Wc:S,status:To,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ge,pingedTasks:je,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:_===void 0?il:_,onAllReady:Da,onShellReady:Y===void 0?Da:Y,onShellError:Da,onFatalError:Da},xt=Gl(nt,0,null,m,!1,!1);xt.parentFlushed=!0;var en=Zs(nt,l,null,xt,Ge,ba,Gn,Hf);return je.push(en),nt}function qu(l,d){var m=l.pingedTasks;m.push(d),m.length===1&&a(function(){return tu(l)})}function zc(l,d){return{id:Oi,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:d,errorDigest:null}}function Zs(l,d,m,S,_,B,Y,re){l.allPendingTasks++,m===null?l.pendingRootTasks++:m.pendingTasks++;var xe={node:d,ping:function(){return qu(l,xe)},blockedBoundary:m,blockedSegment:S,abortSet:_,legacyContext:B,context:Y,treeContext:re};return xe.componentStack=null,_.add(xe),xe}function Gl(l,d,m,S,_,B){return{status:Ul,id:-1,index:d,parentFlushed:!1,chunks:[],children:[],formatContext:S,boundary:m,lastPushedText:_,textEmbedded:B}}var Uo=null;function ql(){return Uo===null||Uo.componentStack===null?"":rl(Uo.componentStack)}function Wo(l,d){l.componentStack={tag:0,parent:l.componentStack,type:d}}function ol(l,d){l.componentStack={tag:1,parent:l.componentStack,type:d}}function Zi(l,d){l.componentStack={tag:2,parent:l.componentStack,type:d}}function Ji(l){l.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var Co=null;function sl(l,d){{var m;typeof d=="string"?m=d:d&&typeof d.message=="string"?m=d.message:m=String(d);var S=Co||ql();Co=null,l.errorMessage=m,l.errorComponentStack=S}}function ms(l,d){var m=l.onError(d);if(m!=null&&typeof m!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof m+'" instead');return m}function Qi(l,d){var m=l.onShellError;m(d);var S=l.onFatalError;S(d),l.destination!==null?(l.status=Ks,A(l.destination,d)):(l.status=Yl,l.fatalError=d)}function Oa(l,d,m){Wo(d,"Suspense");var S=d.blockedBoundary,_=d.blockedSegment,B=m.fallback,Y=m.children,re=new Set,xe=zc(l,re),je=_.chunks.length,Ge=Gl(l,je,xe,_.formatContext,!1,!1);_.children.push(Ge),_.lastPushedText=!1;var nt=Gl(l,0,null,_.formatContext,!1,!1);nt.parentFlushed=!0,d.blockedBoundary=xe,d.blockedSegment=nt;try{if(dr(l,d,Y),mo(nt.chunks,l.responseState,nt.lastPushedText,nt.textEmbedded),nt.status=Ea,Ci(xe,nt),xe.pendingTasks===0){Ji(d);return}}catch(en){nt.status=zl,xe.forceClientRender=!0,xe.errorDigest=ms(l,en),sl(xe,en)}finally{d.blockedBoundary=S,d.blockedSegment=_}var xt=Zs(l,B,S,Ge,re,d.legacyContext,d.context,d.treeContext);xt.componentStack=d.componentStack,l.pingedTasks.push(xt),Ji(d)}function Xl(l,d,m,S){Wo(d,m);var _=d.blockedSegment,B=vi(_.chunks,m,S,l.responseState,_.formatContext);_.lastPushedText=!1;var Y=_.formatContext;_.formatContext=zi(Y,m,S),dr(l,d,B),_.formatContext=Y,rn(_.chunks,m),_.lastPushedText=!1,Ji(d)}function al(l){return l.prototype&&l.prototype.isReactComponent}function _a(l,d,m,S,_){var B={};Ys(d,B);var Y=m(S,_);return $c(m,S,Y,_)}function Yc(l,d,m,S,_){var B=m.render();m.props!==_&&(Bt||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",zt(S)||"a component"),Bt=!0);{var Y=S.childContextTypes;if(Y!=null){var re=d.legacyContext,xe=Lc(m,S,re,Y);d.legacyContext=xe,zr(l,d,B),d.legacyContext=re;return}}zr(l,d,B)}function Xu(l,d,m,S){Zi(d,m);var _=Za(m,d.legacyContext),B=Nc(m,S,_);xo(B,m,S,_),Yc(l,d,B,m,S),Ji(d)}var Ku={},Js={},Zu={},Kl={},Bt=!1,ll={},Ju=!1,Qs=!1,Zl=!1;function Gc(l,d,m,S){var _;if(_=Za(m,d.legacyContext),ol(d,m),m.prototype&&typeof m.prototype.render=="function"){var B=zt(m)||"Unknown";Ku[B]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",B,B),Ku[B]=!0)}var Y=_a(l,d,m,S,_),re=Vu();if(typeof Y=="object"&&Y!==null&&typeof Y.render=="function"&&Y.$$typeof===void 0){var xe=zt(m)||"Unknown";Js[xe]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",xe,xe,xe),Js[xe]=!0)}if(typeof Y=="object"&&Y!==null&&typeof Y.render=="function"&&Y.$$typeof===void 0){{var je=zt(m)||"Unknown";Js[je]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",je,je,je),Js[je]=!0)}xo(Y,m,S,_),Yc(l,d,Y,m,S)}else if(qc(m),re){var Ge=d.treeContext,nt=1,xt=0;d.treeContext=Nu(Ge,nt,xt);try{zr(l,d,Y)}finally{d.treeContext=Ge}}else zr(l,d,Y);Ji(d)}function qc(l){{if(l&&l.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),l.defaultProps!==void 0){var d=zt(l)||"Unknown";ll[d]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",d),ll[d]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var m=zt(l)||"Unknown";Kl[m]||(i("%s: Function components do not support getDerivedStateFromProps.",m),Kl[m]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var S=zt(l)||"Unknown";Zu[S]||(i("%s: Function components do not support contextType.",S),Zu[S]=!0)}}}function ii(l,d){if(l&&l.defaultProps){var m=cn({},d),S=l.defaultProps;for(var _ in S)m[_]===void 0&&(m[_]=S[_]);return m}return d}function Xc(l,d,m,S,_){ol(d,m.render);var B=_a(l,d,m.render,S,_),Y=Vu();if(Y){var re=d.treeContext,xe=1,je=0;d.treeContext=Nu(re,xe,je);try{zr(l,d,B)}finally{d.treeContext=re}}else zr(l,d,B);Ji(d)}function Jl(l,d,m,S,_){var B=m.type,Y=ii(B,S);Wr(l,d,B,Y,_)}function Qu(l,d,m,S){m._context===void 0?m!==m.Consumer&&(Zl||(Zl=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):m=m._context;var _=S.children;typeof _!="function"&&i("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var B=fs(m),Y=_(B);zr(l,d,Y)}function ec(l,d,m,S){var _=m._context,B=S.value,Y=S.children,re;re=d.context,d.context=xa(_,B),zr(l,d,Y),d.context=Ja(_),re!==d.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Kc(l,d,m,S,_){Wo(d,"Lazy");var B=m._payload,Y=m._init,re=Y(B),xe=ii(re,S);Wr(l,d,re,xe,_),Ji(d)}function Wr(l,d,m,S,_){if(typeof m=="function")if(al(m)){Xu(l,d,m,S);return}else{Gc(l,d,m,S);return}if(typeof m=="string"){Xl(l,d,m,S);return}switch(m){case rt:case lt:case J:case de:case $s:{zr(l,d,S.children);return}case ce:{Wo(d,"SuspenseList"),zr(l,d,S.children),Ji(d);return}case st:throw new Error("ReactDOMServer does not yet support scope components.");case fe:{Oa(l,d,S);return}}if(typeof m=="object"&&m!==null)switch(m.$$typeof){case Z:{Xc(l,d,m,S,_);return}case Ie:{Jl(l,d,m,S,_);return}case Ce:{ec(l,d,m,S);return}case De:{Qu(l,d,m,S);return}case Fe:{Kc(l,d,m,S);return}}var B="";throw(m===void 0||typeof m=="object"&&m!==null&&Object.keys(m).length===0)&&(B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(m==null?m:typeof m)+"."+B))}function vs(l,d){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(Ju||i("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Ju=!0),l.entries===d&&(Qs||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Qs=!0)}function zr(l,d,m){try{return Zc(l,d,m)}catch(S){throw typeof S=="object"&&S!==null&&typeof S.then=="function"||(Co=Co!==null?Co:ql()),S}}function Zc(l,d,m){if(d.node=m,typeof m=="object"&&m!==null){switch(m.$$typeof){case Al:{var S=m,_=S.type,B=S.props,Y=S.ref;Wr(l,d,_,B,Y);return}case pa:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Fe:{var re=m,xe=re._payload,je=re._init,Ge;try{Ge=je(xe)}catch(Aa){throw typeof Aa=="object"&&Aa!==null&&typeof Aa.then=="function"&&Wo(d,"Lazy"),Aa}zr(l,d,Ge);return}}if(Kr(m)){ea(l,d,m);return}var nt=Yn(m);if(nt){vs(m,nt);var xt=nt.call(m);if(xt){var en=xt.next();if(!en.done){var ir=[];do ir.push(en.value),en=xt.next();while(!en.done);ea(l,d,ir);return}return}}var Eo=Object.prototype.toString.call(m);throw new Error("Objects are not valid as a React child (found: "+(Eo==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":Eo)+"). If you meant to render a collection of children, use an array instead.")}if(typeof m=="string"){var ws=d.blockedSegment;ws.lastPushedText=ni(d.blockedSegment.chunks,m,l.responseState,ws.lastPushedText);return}if(typeof m=="number"){var eo=d.blockedSegment;eo.lastPushedText=ni(d.blockedSegment.chunks,""+m,l.responseState,eo.lastPushedText);return}typeof m=="function"&&i("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function ea(l,d,m){for(var S=m.length,_=0;_<S;_++){var B=d.treeContext;d.treeContext=Nu(B,S,_);try{dr(l,d,m[_])}finally{d.treeContext=B}}}function Jc(l,d,m){var S=d.blockedSegment,_=S.chunks.length,B=Gl(l,_,null,S.formatContext,S.lastPushedText,!0);S.children.push(B),S.lastPushedText=!1;var Y=Zs(l,d.node,d.blockedBoundary,B,d.abortSet,d.legacyContext,d.context,d.treeContext);d.componentStack!==null&&(Y.componentStack=d.componentStack.parent);var re=Y.ping;m.then(re,re)}function dr(l,d,m){var S=d.blockedSegment.formatContext,_=d.legacyContext,B=d.context,Y=null;Y=d.componentStack;try{return zr(l,d,m)}catch(re){if(Si(),typeof re=="object"&&re!==null&&typeof re.then=="function"){Jc(l,d,re),d.blockedSegment.formatContext=S,d.legacyContext=_,d.context=B,Bo(B),d.componentStack=Y;return}else throw d.blockedSegment.formatContext=S,d.legacyContext=_,d.context=B,Bo(B),d.componentStack=Y,re}}function Qc(l,d,m,S){var _=ms(l,S);if(d===null?Qi(l,S):(d.pendingTasks--,d.forceClientRender||(d.forceClientRender=!0,d.errorDigest=_,sl(d,S),d.parentFlushed&&l.clientRenderedBoundaries.push(d))),l.allPendingTasks--,l.allPendingTasks===0){var B=l.onAllReady;B()}}function Ql(l){var d=this,m=l.blockedBoundary,S=l.blockedSegment;S.status=ka,ef(d,m,S)}function eu(l,d,m){var S=l.blockedBoundary,_=l.blockedSegment;if(_.status=ka,S===null)d.allPendingTasks--,d.status!==Ks&&(d.status=Ks,d.destination!==null&&g(d.destination));else{if(S.pendingTasks--,!S.forceClientRender){S.forceClientRender=!0;var B=m===void 0?new Error("The render was aborted by the server without a reason."):m;S.errorDigest=d.onError(B);{var Y="The server did not finish this Suspense boundary: ";B&&typeof B.message=="string"?B=Y+B.message:B=Y+String(B);var re=Uo;Uo=l;try{sl(S,B)}finally{Uo=re}}S.parentFlushed&&d.clientRenderedBoundaries.push(S)}if(S.fallbackAbortableTasks.forEach(function(je){return eu(je,d,m)}),S.fallbackAbortableTasks.clear(),d.allPendingTasks--,d.allPendingTasks===0){var xe=d.onAllReady;xe()}}}function Ci(l,d){if(d.chunks.length===0&&d.children.length===1&&d.children[0].boundary===null){var m=d.children[0];m.id=d.id,m.parentFlushed=!0,m.status===Ea&&Ci(l,m)}else{var S=l.completedSegments;S.push(d)}}function ef(l,d,m){if(d===null){if(m.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=m}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Da;var S=l.onShellReady;S()}}else if(d.pendingTasks--,!d.forceClientRender){if(d.pendingTasks===0)m.parentFlushed&&m.status===Ea&&Ci(d,m),d.parentFlushed&&l.completedBoundaries.push(d),d.fallbackAbortableTasks.forEach(Ql,l),d.fallbackAbortableTasks.clear();else if(m.parentFlushed&&m.status===Ea){Ci(d,m);var _=d.completedSegments;_.length===1&&d.parentFlushed&&l.partialBoundaries.push(d)}}if(l.allPendingTasks--,l.allPendingTasks===0){var B=l.onAllReady;B()}}function ys(l,d){var m=d.blockedSegment;if(m.status===Ul){Bo(d.context);var S=null;S=Uo,Uo=d;try{zr(l,d,d.node),mo(m.chunks,l.responseState,m.lastPushedText,m.textEmbedded),d.abortSet.delete(d),m.status=Ea,ef(l,d.blockedBoundary,m)}catch(B){if(Si(),typeof B=="object"&&B!==null&&typeof B.then=="function"){var _=d.ping;B.then(_,_)}else d.abortSet.delete(d),m.status=zl,Qc(l,d.blockedBoundary,m,B)}finally{Uo=S}}}function tu(l){if(l.status!==Ks){var d=Us(),m=rr.current;rr.current=Hl;var S;S=Xs.getCurrentStack,Xs.getCurrentStack=ql;var _=Ca;gs(l.responseState);try{var B=l.pingedTasks,Y;for(Y=0;Y<B.length;Y++){var re=B[Y];ys(l,re)}B.splice(0,Y),l.destination!==null&&nu(l,l.destination)}catch(xe){ms(l,xe),Qi(l,xe)}finally{gs(_),rr.current=m,Xs.getCurrentStack=S,m===Hl&&Bo(d)}}}function bs(l,d,m){switch(m.parentFlushed=!0,m.status){case Ul:{var S=m.id=l.nextSegmentId++;return m.lastPushedText=!1,m.textEmbedded=!1,ei(d,l.responseState,S)}case Ea:{m.status=Wl;for(var _=!0,B=m.chunks,Y=0,re=m.children,xe=0;xe<re.length;xe++){for(var je=re[xe];Y<je.index;Y++)f(d,B[Y]);_=ta(l,d,je)}for(;Y<B.length-1;Y++)f(d,B[Y]);return Y<B.length&&(_=p(d,B[Y])),_}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ta(l,d,m){var S=m.boundary;if(S===null)return bs(l,d,m);if(S.parentFlushed=!0,S.forceClientRender)return Ou(d,l.responseState,S.errorDigest,S.errorMessage,S.errorComponentStack),bs(l,d,m),vo(d,l.responseState);if(S.pendingTasks>0){S.rootSegmentID=l.nextSegmentId++,S.completedSegments.length>0&&l.partialBoundaries.push(S);var _=S.id=ar(l.responseState);return h(d,l.responseState,_),bs(l,d,m),P(d,l.responseState)}else{if(S.byteSize>l.progressiveChunkSize)return S.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(S),h(d,l.responseState,S.id),bs(l,d,m),P(d,l.responseState);Ga(d,l.responseState);var B=S.completedSegments;if(B.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var Y=B[0];return ta(l,d,Y),ha(d,l.responseState)}}function Xf(l,d,m){return ti(d,l.responseState,m.id,m.errorDigest,m.errorMessage,m.errorComponentStack)}function tc(l,d,m){return po(d,l.responseState,m.formatContext,m.id),ta(l,d,m),Tr(d,m.formatContext)}function ul(l,d,m){for(var S=m.completedSegments,_=0;_<S.length;_++){var B=S[_];nc(l,d,m,B)}return S.length=0,An(d,l.responseState,m.id,m.rootSegmentID)}function cl(l,d,m){for(var S=m.completedSegments,_=0;_<S.length;_++){var B=S[_];if(!nc(l,d,m,B))return _++,S.splice(0,_),!1}return S.splice(0,_),!0}function nc(l,d,m,S){if(S.status===Wl)return!0;var _=S.id;if(_===-1){var B=S.id=m.rootSegmentID;if(B===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return tc(l,d,S)}else return tc(l,d,S),Ye(d,l.responseState,_)}function nu(l,d){try{var m=l.completedRootSegment;m!==null&&l.pendingRootTasks===0&&(ta(l,d,m),l.completedRootSegment=null,Gt(d,l.responseState));var S=l.clientRenderedBoundaries,_;for(_=0;_<S.length;_++){var B=S[_];if(!Xf(l,d,B)){l.destination=null,_++,S.splice(0,_);return}}S.splice(0,_);var Y=l.completedBoundaries;for(_=0;_<Y.length;_++){var re=Y[_];if(!ul(l,d,re)){l.destination=null,_++,Y.splice(0,_);return}}Y.splice(0,_);var xe=l.partialBoundaries;for(_=0;_<xe.length;_++){var je=xe[_];if(!cl(l,d,je)){l.destination=null,_++,xe.splice(0,_);return}}xe.splice(0,_);var Ge=l.completedBoundaries;for(_=0;_<Ge.length;_++){var nt=Ge[_];if(!ul(l,d,nt)){l.destination=null,_++,Ge.splice(0,_);return}}Ge.splice(0,_)}finally{l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),g(d))}}function rc(l){a(function(){return tu(l)})}function tf(l,d){if(l.status===Yl){l.status=Ks,A(d,l.fatalError);return}if(l.status!==Ks&&l.destination===null){l.destination=d;try{nu(l,d)}catch(m){ms(l,m),Qi(l,m)}}}function Yr(l,d){try{var m=l.abortableTasks;m.forEach(function(S){return eu(S,l,d)}),m.clear(),l.destination!==null&&nu(l,l.destination)}catch(S){ms(l,S),Qi(l,S)}}function Ii(){}function nf(l,d,m,S){var _=!1,B=null,Y="",re={push:function(nt){return nt!==null&&(Y+=nt),!0},destroy:function(nt){_=!0,B=nt}},xe=!1;function je(){xe=!0}var Ge=Pa(l,da(m,d?d.identifierPrefix:void 0),ss(),1/0,Ii,void 0,je);if(rc(Ge),Yr(Ge,S),tf(Ge,re),_)throw B;if(!xe)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return Y}function Kf(l,d){return nf(l,d,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function fl(l,d){return nf(l,d,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function Ra(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function v(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}cc.renderToNodeStream=Ra,cc.renderToStaticMarkup=fl,cc.renderToStaticNodeStream=v,cc.renderToString=Kf,cc.version=e}()),cc}var Lh={};/**
|
|
97
97
|
* @license React
|
|
98
98
|
* react-dom-server.browser.development.js
|
|
99
99
|
*
|
|
@@ -101,11 +101,11 @@ Error generating stack: `+S.message+`
|
|
|
101
101
|
*
|
|
102
102
|
* This source code is licensed under the MIT license found in the
|
|
103
103
|
* LICENSE file in the root directory of this source tree.
|
|
104
|
-
*/var E1;function z4(){return E1||(E1=1,process.env.NODE_ENV!=="production"&&function(){var t=X,e="18.3.1",n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(v){{for(var l=arguments.length,d=new Array(l>1?l-1:0),m=1;m<l;m++)d[m-1]=arguments[m];o("warn",v,d)}}function i(v){{for(var l=arguments.length,d=new Array(l>1?l-1:0),m=1;m<l;m++)d[m-1]=arguments[m];o("error",v,d)}}function o(v,l,d){{var m=n.ReactDebugCurrentFrame,S=m.getStackAddendum();S!==""&&(l+="%s",d=d.concat([S]));var _=d.map(function(B){return String(B)});_.unshift("Warning: "+l),Function.prototype.apply.call(console[v],console,_)}}function a(v){v()}var c=512,f=null,p=0;function y(v){f=new Uint8Array(c),p=0}function g(v,l){if(l.length!==0){if(l.length>c){p>0&&(v.enqueue(new Uint8Array(f.buffer,0,p)),f=new Uint8Array(c),p=0),v.enqueue(l);return}var d=l,m=f.length-p;m<d.length&&(m===0?v.enqueue(f):(f.set(d.subarray(0,m),p),v.enqueue(f),d=d.subarray(m)),f=new Uint8Array(c),p=0),f.set(d,p),p+=d.length}}function T(v,l){return g(v,l),!0}function E(v){f&&p>0&&(v.enqueue(new Uint8Array(f.buffer,0,p)),f=null,p=0)}function A(v){v.close()}var I=new TextEncoder;function j(v){return I.encode(v)}function R(v){return I.encode(v)}function U(v,l){typeof v.error=="function"?v.error(l):v.close()}function H(v){{var l=typeof Symbol=="function"&&Symbol.toStringTag,d=l&&v[Symbol.toStringTag]||v.constructor.name||"Object";return d}}function ne(v){try{return q(v),!1}catch{return!0}}function q(v){return""+v}function ie(v,l){if(ne(v))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",l,H(v)),q(v)}function x(v,l){if(ne(v))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",l,H(v)),q(v)}function le(v){if(ne(v))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",H(v)),q(v)}var ae=Object.prototype.hasOwnProperty,Ve=0,tt=1,Qe=2,qe=3,Oe=4,ue=5,ve=6,ke=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Le=ke+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",et=new RegExp("^["+ke+"]["+Le+"]*$"),ge={},Se={};function Ne(v){return ae.call(Se,v)?!0:ae.call(ge,v)?!1:et.test(v)?(Se[v]=!0,!0):(ge[v]=!0,i("Invalid attribute name: `%s`",v),!1)}function We(v,l,d,m){if(d!==null&&d.type===Ve)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":{if(d!==null)return!d.acceptsBooleans;var S=v.toLowerCase().slice(0,5);return S!=="data-"&&S!=="aria-"}default:return!1}}function Be(v){return Ke.hasOwnProperty(v)?Ke[v]:null}function ze(v,l,d,m,S,_,B){this.acceptsBooleans=l===Qe||l===qe||l===Oe,this.attributeName=m,this.attributeNamespace=S,this.mustUseProperty=d,this.propertyName=v,this.type=l,this.sanitizeURL=_,this.removeEmptyString=B}var Ke={},ot=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ot.forEach(function(v){Ke[v]=new ze(v,Ve,!1,v,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(v){var l=v[0],d=v[1];Ke[l]=new ze(l,tt,!1,d,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(v){Ke[v]=new ze(v,Qe,!1,v.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(v){Ke[v]=new ze(v,Qe,!1,v,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(v){Ke[v]=new ze(v,qe,!1,v.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(v){Ke[v]=new ze(v,qe,!0,v,null,!1,!1)}),["capture","download"].forEach(function(v){Ke[v]=new ze(v,Oe,!1,v,null,!1,!1)}),["cols","rows","size","span"].forEach(function(v){Ke[v]=new ze(v,ve,!1,v,null,!1,!1)}),["rowSpan","start"].forEach(function(v){Ke[v]=new ze(v,ue,!1,v.toLowerCase(),null,!1,!1)});var ct=/[\-\:]([a-z])/g,pt=function(v){return v[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(v){var l=v.replace(ct,pt);Ke[l]=new ze(l,tt,!1,v,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(v){var l=v.replace(ct,pt);Ke[l]=new ze(l,tt,!1,v,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(v){var l=v.replace(ct,pt);Ke[l]=new ze(l,tt,!1,v,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(v){Ke[v]=new ze(v,tt,!1,v.toLowerCase(),null,!1,!1)});var ft="xlinkHref";Ke[ft]=new ze("xlinkHref",tt,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(v){Ke[v]=new ze(v,tt,!1,v.toLowerCase(),null,!0,!0)});var yt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Je(v,l){return v+l.charAt(0).toUpperCase()+l.substring(1)}var At=["Webkit","ms","Moz","O"];Object.keys(yt).forEach(function(v){At.forEach(function(l){yt[Je(l,v)]=yt[v]})});var Mt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Vn(v,l){Mt[l.type]||l.onChange||l.onInput||l.readOnly||l.disabled||l.value==null||i("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),l.onChange||l.readOnly||l.disabled||l.checked==null||i("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function vr(v,l){if(v.indexOf("-")===-1)return typeof l.is=="string";switch(v){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Hn={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Sn={},$i=new RegExp("^(aria)-["+Le+"]*$"),Dr=new RegExp("^(aria)[A-Z]["+Le+"]*$");function Jn(v,l){{if(ae.call(Sn,l)&&Sn[l])return!0;if(Dr.test(l)){var d="aria-"+l.slice(4).toLowerCase(),m=Hn.hasOwnProperty(d)?d:null;if(m==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",l),Sn[l]=!0,!0;if(l!==m)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",l,m),Sn[l]=!0,!0}if($i.test(l)){var S=l.toLowerCase(),_=Hn.hasOwnProperty(S)?S:null;if(_==null)return Sn[l]=!0,!1;if(l!==_)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",l,_),Sn[l]=!0,!0}}return!0}function sn(v,l){{var d=[];for(var m in l){var S=Jn(v,m);S||d.push(m)}var _=d.map(function(B){return"`"+B+"`"}).join(", ");d.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",_,v):d.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",_,v)}}function fn(v,l){vr(v,l)||sn(v,l)}var dn=!1;function ut(v,l){{if(v!=="input"&&v!=="textarea"&&v!=="select")return;l!=null&&l.value===null&&!dn&&(dn=!0,v==="select"&&l.multiple?i("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",v):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",v))}}var Dn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},si=function(){};{var on={},Vi=/^on./,Hi=/^on[^A-Z]/,Ui=new RegExp("^(aria)-["+Le+"]*$"),Pr=new RegExp("^(aria)[A-Z]["+Le+"]*$");si=function(v,l,d,m){if(ae.call(on,l)&&on[l])return!0;var S=l.toLowerCase();if(S==="onfocusin"||S==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),on[l]=!0,!0;if(m!=null){var _=m.registrationNameDependencies,B=m.possibleRegistrationNames;if(_.hasOwnProperty(l))return!0;var Y=B.hasOwnProperty(S)?B[S]:null;if(Y!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",l,Y),on[l]=!0,!0;if(Vi.test(l))return i("Unknown event handler property `%s`. It will be ignored.",l),on[l]=!0,!0}else if(Vi.test(l))return Hi.test(l)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",l),on[l]=!0,!0;if(Ui.test(l)||Pr.test(l))return!0;if(S==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),on[l]=!0,!0;if(S==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),on[l]=!0,!0;if(S==="is"&&d!==null&&d!==void 0&&typeof d!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof d),on[l]=!0,!0;if(typeof d=="number"&&isNaN(d))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",l),on[l]=!0,!0;var re=Be(l),xe=re!==null&&re.type===Ve;if(Dn.hasOwnProperty(S)){var je=Dn[S];if(je!==l)return i("Invalid DOM property `%s`. Did you mean `%s`?",l,je),on[l]=!0,!0}else if(!xe&&l!==S)return i("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",l,S),on[l]=!0,!0;return typeof d=="boolean"&&We(l,d,re)?(d?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',d,l,l,d,l):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',d,l,l,d,l,l,l),on[l]=!0,!0):xe?!0:We(l,d,re)?(on[l]=!0,!1):((d==="false"||d==="true")&&re!==null&&re.type===qe&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",d,l,d==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',l,d),on[l]=!0),!0)}}var Nn=function(v,l,d){{var m=[];for(var S in l){var _=si(v,S,l[S],d);_||m.push(S)}var B=m.map(function(Y){return"`"+Y+"`"}).join(", ");m.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",B,v):m.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",B,v)}};function Or(v,l,d){vr(v,l)||Nn(v,l,d)}var yr=function(){};{var Yr=/^(?:webkit|moz|o)[A-Z]/,Gr=/^-ms-/,Ao=/-(.)/g,Un=/;\s*$/,qr={},Qn={},Wt=!1,ai=!1,Wi=function(v){return v.replace(Ao,function(l,d){return d.toUpperCase()})},Pn=function(v){qr.hasOwnProperty(v)&&qr[v]||(qr[v]=!0,i("Unsupported style property %s. Did you mean %s?",v,Wi(v.replace(Gr,"ms-"))))},hn=function(v){qr.hasOwnProperty(v)&&qr[v]||(qr[v]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",v,v.charAt(0).toUpperCase()+v.slice(1)))},li=function(v,l){Qn.hasOwnProperty(l)&&Qn[l]||(Qn[l]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,v,l.replace(Un,"")))},ui=function(v,l){Wt||(Wt=!0,i("`NaN` is an invalid value for the `%s` css style property.",v))},Tn=function(v,l){ai||(ai=!0,i("`Infinity` is an invalid value for the `%s` css style property.",v))};yr=function(v,l){v.indexOf("-")>-1?Pn(v):Yr.test(v)?hn(v):Un.test(l)&&li(v,l),typeof l=="number"&&(isNaN(l)?ui(v,l):isFinite(l)||Tn(v,l))}}var so=yr,br=/["'&<>]/;function ci(v){le(v);var l=""+v,d=br.exec(l);if(!d)return l;var m,S="",_,B=0;for(_=d.index;_<l.length;_++){switch(l.charCodeAt(_)){case 34:m=""";break;case 38:m="&";break;case 39:m="'";break;case 60:m="<";break;case 62:m=">";break;default:continue}B!==_&&(S+=l.substring(B,_)),B=_+1,S+=m}return B!==_?S+l.substring(B,_):S}function an(v){return typeof v=="boolean"||typeof v=="number"?""+v:ci(v)}var Di=/([A-Z])/g,Ls=/^ms-/;function Fs(v){return v.replace(Di,"-$1").toLowerCase().replace(Ls,"-ms-")}var Xr=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ao=!1;function lo(v){!ao&&Xr.test(v)&&(ao=!0,i("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(v)))}var Pi=Array.isArray;function er(v){return Pi(v)}var _r=R("<script>"),Rr=R("<\/script>"),fi=R('<script src="'),Kr=R('<script type="module" src="'),wr=R('" async=""><\/script>');function Ar(v){return le(v),(""+v).replace(tr,zi)}var tr=/(<\/|<)(s)(cript)/gi,zi=function(v,l,d,m){return""+l+(d==="s"?"\\u0073":"\\u0053")+m};function Oi(v,l,d,m,S){var _=v===void 0?"":v,B=l===void 0?_r:R('<script nonce="'+an(l)+'">'),Y=[];if(d!==void 0&&Y.push(B,j(Ar(d)),Rr),m!==void 0)for(var re=0;re<m.length;re++)Y.push(fi,j(an(m[re])),wr);if(S!==void 0)for(var xe=0;xe<S.length;xe++)Y.push(Kr,j(an(S[xe])),wr);return{bootstrapChunks:Y,startInlineScript:B,placeholderPrefix:R(_+"P:"),segmentPrefix:R(_+"S:"),boundaryPrefix:_+"B:",idPrefix:_,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var ar=0,yn=1,Ir=2,Mr=3,di=4,hi=5,xr=6,Zr=7;function Wn(v,l){return{insertionMode:v,selectedValue:l}}function pi(v){var l=v==="http://www.w3.org/2000/svg"?Ir:v==="http://www.w3.org/1998/Math/MathML"?Mr:ar;return Wn(l,null)}function gi(v,l,d){switch(l){case"select":return Wn(yn,d.value!=null?d.value:d.defaultValue);case"svg":return Wn(Ir,null);case"math":return Wn(Mr,null);case"foreignObject":return Wn(yn,null);case"table":return Wn(di,null);case"thead":case"tbody":case"tfoot":return Wn(hi,null);case"colgroup":return Wn(Zr,null);case"tr":return Wn(xr,null)}return v.insertionMode>=di||v.insertionMode===ar?Wn(yn,null):v}var _i=null;function nn(v){var l=v.nextSuspenseID++;return R(v.boundaryPrefix+l.toString(16))}function jn(v,l,d){var m=v.idPrefix,S=":"+m+"R"+l;return d>0&&(S+="H"+d.toString(32)),S+":"}function Cn(v){return an(v)}var uo=R("<!-- -->");function On(v,l,d,m){return l===""?m:(m&&v.push(uo),v.push(j(Cn(l))),!0)}function _n(v,l,d,m){d&&m&&v.push(uo)}var k=new Map;function F(v){var l=k.get(v);if(l!==void 0)return l;var d=R(an(Fs(v)));return k.set(v,d),d}var G=R(' style="'),ee=R(":"),Ee=R(";");function me(v,l,d){if(typeof d!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var m=!0;for(var S in d)if(ae.call(d,S)){var _=d[S];if(!(_==null||typeof _=="boolean"||_==="")){var B=void 0,Y=void 0,re=S.indexOf("--")===0;re?(B=j(an(S)),x(_,S),Y=j(an((""+_).trim()))):(so(S,_),B=F(S),typeof _=="number"?_!==0&&!ae.call(yt,S)?Y=j(_+"px"):Y=j(""+_):(x(_,S),Y=j(an((""+_).trim())))),m?(m=!1,v.push(G,B,ee,Y)):v.push(Ee,B,ee,Y)}}m||v.push(gt)}var Re=R(" "),Xe=R('="'),gt=R('"'),mt=R('=""');function dt(v,l,d,m){switch(d){case"style":{me(v,l,m);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(d.length>2&&(d[0]==="o"||d[0]==="O")&&(d[1]==="n"||d[1]==="N"))){var S=Be(d);if(S!==null){switch(typeof m){case"function":case"symbol":return;case"boolean":if(!S.acceptsBooleans)return}var _=S.attributeName,B=j(_);switch(S.type){case qe:m&&v.push(Re,B,mt);return;case Oe:m===!0?v.push(Re,B,mt):m===!1||v.push(Re,B,Xe,j(an(m)),gt);return;case ue:isNaN(m)||v.push(Re,B,Xe,j(an(m)),gt);break;case ve:!isNaN(m)&&m>=1&&v.push(Re,B,Xe,j(an(m)),gt);break;default:S.sanitizeURL&&(ie(m,_),m=""+m,lo(m)),v.push(Re,B,Xe,j(an(m)),gt)}}else if(Ne(d)){switch(typeof m){case"function":case"symbol":return;case"boolean":{var Y=d.toLowerCase().slice(0,5);if(Y!=="data-"&&Y!=="aria-")return}}v.push(Re,j(d),Xe,j(an(m)),gt)}}}var Ft=R(">"),Bn=R("/>");function zn(v,l,d){if(l!=null){if(d!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof l!="object"||!("__html"in l))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var m=l.__html;m!=null&&(le(m),v.push(j(""+m)))}}var En=!1,Jr=!1,lr=!1,Yi=!1,mi=!1,Gi=!1,Lr=!1;function qi(v,l){{var d=v[l];if(d!=null){var m=er(d);v.multiple&&!m?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",l):!v.multiple&&m&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",l)}}}function Wa(v,l,d){Vn("select",l),qi(l,"value"),qi(l,"defaultValue"),l.value!==void 0&&l.defaultValue!==void 0&&!lr&&(i("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),lr=!0),v.push(ur("select"));var m=null,S=null;for(var _ in l)if(ae.call(l,_)){var B=l[_];if(B==null)continue;switch(_){case"children":m=B;break;case"dangerouslySetInnerHTML":S=B;break;case"defaultValue":case"value":break;default:dt(v,d,_,B);break}}return v.push(Ft),zn(v,S,m),m}function Ns(v){var l="";return t.Children.forEach(v,function(d){d!=null&&(l+=d,!mi&&typeof d!="string"&&typeof d!="number"&&(mi=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),l}var rs=R(' selected=""');function Sr(v,l,d,m){var S=m.selectedValue;v.push(ur("option"));var _=null,B=null,Y=null,re=null;for(var xe in l)if(ae.call(l,xe)){var je=l[xe];if(je==null)continue;switch(xe){case"children":_=je;break;case"selected":Y=je,Lr||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Lr=!0);break;case"dangerouslySetInnerHTML":re=je;break;case"value":B=je;default:dt(v,d,xe,je);break}}if(S!=null){var Ge;if(B!==null?(ie(B,"value"),Ge=""+B):(re!==null&&(Gi||(Gi=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Ge=Ns(_)),er(S))for(var nt=0;nt<S.length;nt++){ie(S[nt],"value");var xt=""+S[nt];if(xt===Ge){v.push(rs);break}}else ie(S,"select.value"),""+S===Ge&&v.push(rs)}else Y&&v.push(rs);return v.push(Ft),zn(v,re,_),_}function za(v,l,d){Vn("input",l),l.checked!==void 0&&l.defaultChecked!==void 0&&!Jr&&(i("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),Jr=!0),l.value!==void 0&&l.defaultValue!==void 0&&!En&&(i("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),En=!0),v.push(ur("input"));var m=null,S=null,_=null,B=null;for(var Y in l)if(ae.call(l,Y)){var re=l[Y];if(re==null)continue;switch(Y){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":B=re;break;case"defaultValue":S=re;break;case"checked":_=re;break;case"value":m=re;break;default:dt(v,d,Y,re);break}}return _!==null?dt(v,d,"checked",_):B!==null&&dt(v,d,"checked",B),m!==null?dt(v,d,"value",m):S!==null&&dt(v,d,"value",S),v.push(Bn),null}function vi(v,l,d){Vn("textarea",l),l.value!==void 0&&l.defaultValue!==void 0&&!Yi&&(i("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Yi=!0),v.push(ur("textarea"));var m=null,S=null,_=null;for(var B in l)if(ae.call(l,B)){var Y=l[B];if(Y==null)continue;switch(B){case"children":_=Y;break;case"value":m=Y;break;case"defaultValue":S=Y;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:dt(v,d,B,Y);break}}if(m===null&&S!==null&&(m=S),v.push(Ft),_!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),m!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(er(_)){if(_.length>1)throw new Error("<textarea> can only have at most one child.");le(_[0]),m=""+_[0]}le(_),m=""+_}return typeof m=="string"&&m[0]===`
|
|
104
|
+
*/var E1;function z4(){return E1||(E1=1,process.env.NODE_ENV!=="production"&&function(){var t=X,e="18.3.1",n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(v){{for(var l=arguments.length,d=new Array(l>1?l-1:0),m=1;m<l;m++)d[m-1]=arguments[m];o("warn",v,d)}}function i(v){{for(var l=arguments.length,d=new Array(l>1?l-1:0),m=1;m<l;m++)d[m-1]=arguments[m];o("error",v,d)}}function o(v,l,d){{var m=n.ReactDebugCurrentFrame,S=m.getStackAddendum();S!==""&&(l+="%s",d=d.concat([S]));var _=d.map(function(B){return String(B)});_.unshift("Warning: "+l),Function.prototype.apply.call(console[v],console,_)}}function a(v){v()}var c=512,f=null,p=0;function y(v){f=new Uint8Array(c),p=0}function g(v,l){if(l.length!==0){if(l.length>c){p>0&&(v.enqueue(new Uint8Array(f.buffer,0,p)),f=new Uint8Array(c),p=0),v.enqueue(l);return}var d=l,m=f.length-p;m<d.length&&(m===0?v.enqueue(f):(f.set(d.subarray(0,m),p),v.enqueue(f),d=d.subarray(m)),f=new Uint8Array(c),p=0),f.set(d,p),p+=d.length}}function T(v,l){return g(v,l),!0}function E(v){f&&p>0&&(v.enqueue(new Uint8Array(f.buffer,0,p)),f=null,p=0)}function A(v){v.close()}var I=new TextEncoder;function j(v){return I.encode(v)}function R(v){return I.encode(v)}function U(v,l){typeof v.error=="function"?v.error(l):v.close()}function H(v){{var l=typeof Symbol=="function"&&Symbol.toStringTag,d=l&&v[Symbol.toStringTag]||v.constructor.name||"Object";return d}}function ne(v){try{return q(v),!1}catch{return!0}}function q(v){return""+v}function ie(v,l){if(ne(v))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",l,H(v)),q(v)}function x(v,l){if(ne(v))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",l,H(v)),q(v)}function le(v){if(ne(v))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",H(v)),q(v)}var ae=Object.prototype.hasOwnProperty,Ve=0,tt=1,Qe=2,qe=3,Oe=4,ue=5,ve=6,ke=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Le=ke+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",et=new RegExp("^["+ke+"]["+Le+"]*$"),ge={},Se={};function Ne(v){return ae.call(Se,v)?!0:ae.call(ge,v)?!1:et.test(v)?(Se[v]=!0,!0):(ge[v]=!0,i("Invalid attribute name: `%s`",v),!1)}function We(v,l,d,m){if(d!==null&&d.type===Ve)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":{if(d!==null)return!d.acceptsBooleans;var S=v.toLowerCase().slice(0,5);return S!=="data-"&&S!=="aria-"}default:return!1}}function Be(v){return Ke.hasOwnProperty(v)?Ke[v]:null}function ze(v,l,d,m,S,_,B){this.acceptsBooleans=l===Qe||l===qe||l===Oe,this.attributeName=m,this.attributeNamespace=S,this.mustUseProperty=d,this.propertyName=v,this.type=l,this.sanitizeURL=_,this.removeEmptyString=B}var Ke={},ot=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ot.forEach(function(v){Ke[v]=new ze(v,Ve,!1,v,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(v){var l=v[0],d=v[1];Ke[l]=new ze(l,tt,!1,d,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(v){Ke[v]=new ze(v,Qe,!1,v.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(v){Ke[v]=new ze(v,Qe,!1,v,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(v){Ke[v]=new ze(v,qe,!1,v.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(v){Ke[v]=new ze(v,qe,!0,v,null,!1,!1)}),["capture","download"].forEach(function(v){Ke[v]=new ze(v,Oe,!1,v,null,!1,!1)}),["cols","rows","size","span"].forEach(function(v){Ke[v]=new ze(v,ve,!1,v,null,!1,!1)}),["rowSpan","start"].forEach(function(v){Ke[v]=new ze(v,ue,!1,v.toLowerCase(),null,!1,!1)});var ct=/[\-\:]([a-z])/g,pt=function(v){return v[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(v){var l=v.replace(ct,pt);Ke[l]=new ze(l,tt,!1,v,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(v){var l=v.replace(ct,pt);Ke[l]=new ze(l,tt,!1,v,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(v){var l=v.replace(ct,pt);Ke[l]=new ze(l,tt,!1,v,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(v){Ke[v]=new ze(v,tt,!1,v.toLowerCase(),null,!1,!1)});var ft="xlinkHref";Ke[ft]=new ze("xlinkHref",tt,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(v){Ke[v]=new ze(v,tt,!1,v.toLowerCase(),null,!0,!0)});var yt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Je(v,l){return v+l.charAt(0).toUpperCase()+l.substring(1)}var At=["Webkit","ms","Moz","O"];Object.keys(yt).forEach(function(v){At.forEach(function(l){yt[Je(l,v)]=yt[v]})});var Mt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Vn(v,l){Mt[l.type]||l.onChange||l.onInput||l.readOnly||l.disabled||l.value==null||i("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),l.onChange||l.readOnly||l.disabled||l.checked==null||i("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function vr(v,l){if(v.indexOf("-")===-1)return typeof l.is=="string";switch(v){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Hn={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Sn={},$i=new RegExp("^(aria)-["+Le+"]*$"),Pr=new RegExp("^(aria)[A-Z]["+Le+"]*$");function Jn(v,l){{if(ae.call(Sn,l)&&Sn[l])return!0;if(Pr.test(l)){var d="aria-"+l.slice(4).toLowerCase(),m=Hn.hasOwnProperty(d)?d:null;if(m==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",l),Sn[l]=!0,!0;if(l!==m)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",l,m),Sn[l]=!0,!0}if($i.test(l)){var S=l.toLowerCase(),_=Hn.hasOwnProperty(S)?S:null;if(_==null)return Sn[l]=!0,!1;if(l!==_)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",l,_),Sn[l]=!0,!0}}return!0}function sn(v,l){{var d=[];for(var m in l){var S=Jn(v,m);S||d.push(m)}var _=d.map(function(B){return"`"+B+"`"}).join(", ");d.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",_,v):d.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",_,v)}}function fn(v,l){vr(v,l)||sn(v,l)}var dn=!1;function ut(v,l){{if(v!=="input"&&v!=="textarea"&&v!=="select")return;l!=null&&l.value===null&&!dn&&(dn=!0,v==="select"&&l.multiple?i("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",v):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",v))}}var Dn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},si=function(){};{var on={},Vi=/^on./,Hi=/^on[^A-Z]/,Ui=new RegExp("^(aria)-["+Le+"]*$"),Or=new RegExp("^(aria)[A-Z]["+Le+"]*$");si=function(v,l,d,m){if(ae.call(on,l)&&on[l])return!0;var S=l.toLowerCase();if(S==="onfocusin"||S==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),on[l]=!0,!0;if(m!=null){var _=m.registrationNameDependencies,B=m.possibleRegistrationNames;if(_.hasOwnProperty(l))return!0;var Y=B.hasOwnProperty(S)?B[S]:null;if(Y!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",l,Y),on[l]=!0,!0;if(Vi.test(l))return i("Unknown event handler property `%s`. It will be ignored.",l),on[l]=!0,!0}else if(Vi.test(l))return Hi.test(l)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",l),on[l]=!0,!0;if(Ui.test(l)||Or.test(l))return!0;if(S==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),on[l]=!0,!0;if(S==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),on[l]=!0,!0;if(S==="is"&&d!==null&&d!==void 0&&typeof d!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof d),on[l]=!0,!0;if(typeof d=="number"&&isNaN(d))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",l),on[l]=!0,!0;var re=Be(l),xe=re!==null&&re.type===Ve;if(Dn.hasOwnProperty(S)){var je=Dn[S];if(je!==l)return i("Invalid DOM property `%s`. Did you mean `%s`?",l,je),on[l]=!0,!0}else if(!xe&&l!==S)return i("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",l,S),on[l]=!0,!0;return typeof d=="boolean"&&We(l,d,re)?(d?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',d,l,l,d,l):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',d,l,l,d,l,l,l),on[l]=!0,!0):xe?!0:We(l,d,re)?(on[l]=!0,!1):((d==="false"||d==="true")&&re!==null&&re.type===qe&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",d,l,d==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',l,d),on[l]=!0),!0)}}var Nn=function(v,l,d){{var m=[];for(var S in l){var _=si(v,S,l[S],d);_||m.push(S)}var B=m.map(function(Y){return"`"+Y+"`"}).join(", ");m.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",B,v):m.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",B,v)}};function _r(v,l,d){vr(v,l)||Nn(v,l,d)}var yr=function(){};{var Gr=/^(?:webkit|moz|o)[A-Z]/,qr=/^-ms-/,Ao=/-(.)/g,Un=/;\s*$/,Xr={},Qn={},Wt=!1,ai=!1,Wi=function(v){return v.replace(Ao,function(l,d){return d.toUpperCase()})},Pn=function(v){Xr.hasOwnProperty(v)&&Xr[v]||(Xr[v]=!0,i("Unsupported style property %s. Did you mean %s?",v,Wi(v.replace(qr,"ms-"))))},hn=function(v){Xr.hasOwnProperty(v)&&Xr[v]||(Xr[v]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",v,v.charAt(0).toUpperCase()+v.slice(1)))},li=function(v,l){Qn.hasOwnProperty(l)&&Qn[l]||(Qn[l]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,v,l.replace(Un,"")))},ui=function(v,l){Wt||(Wt=!0,i("`NaN` is an invalid value for the `%s` css style property.",v))},Tn=function(v,l){ai||(ai=!0,i("`Infinity` is an invalid value for the `%s` css style property.",v))};yr=function(v,l){v.indexOf("-")>-1?Pn(v):Gr.test(v)?hn(v):Un.test(l)&&li(v,l),typeof l=="number"&&(isNaN(l)?ui(v,l):isFinite(l)||Tn(v,l))}}var so=yr,br=/["'&<>]/;function ci(v){le(v);var l=""+v,d=br.exec(l);if(!d)return l;var m,S="",_,B=0;for(_=d.index;_<l.length;_++){switch(l.charCodeAt(_)){case 34:m=""";break;case 38:m="&";break;case 39:m="'";break;case 60:m="<";break;case 62:m=">";break;default:continue}B!==_&&(S+=l.substring(B,_)),B=_+1,S+=m}return B!==_?S+l.substring(B,_):S}function an(v){return typeof v=="boolean"||typeof v=="number"?""+v:ci(v)}var Di=/([A-Z])/g,Ls=/^ms-/;function Fs(v){return v.replace(Di,"-$1").toLowerCase().replace(Ls,"-ms-")}var Kr=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ao=!1;function lo(v){!ao&&Kr.test(v)&&(ao=!0,i("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(v)))}var Pi=Array.isArray;function er(v){return Pi(v)}var Rr=R("<script>"),Ar=R("<\/script>"),fi=R('<script src="'),Zr=R('<script type="module" src="'),wr=R('" async=""><\/script>');function Ir(v){return le(v),(""+v).replace(tr,zi)}var tr=/(<\/|<)(s)(cript)/gi,zi=function(v,l,d,m){return""+l+(d==="s"?"\\u0073":"\\u0053")+m};function Oi(v,l,d,m,S){var _=v===void 0?"":v,B=l===void 0?Rr:R('<script nonce="'+an(l)+'">'),Y=[];if(d!==void 0&&Y.push(B,j(Ir(d)),Ar),m!==void 0)for(var re=0;re<m.length;re++)Y.push(fi,j(an(m[re])),wr);if(S!==void 0)for(var xe=0;xe<S.length;xe++)Y.push(Zr,j(an(S[xe])),wr);return{bootstrapChunks:Y,startInlineScript:B,placeholderPrefix:R(_+"P:"),segmentPrefix:R(_+"S:"),boundaryPrefix:_+"B:",idPrefix:_,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var ar=0,yn=1,Mr=2,Lr=3,di=4,hi=5,xr=6,Jr=7;function Wn(v,l){return{insertionMode:v,selectedValue:l}}function pi(v){var l=v==="http://www.w3.org/2000/svg"?Mr:v==="http://www.w3.org/1998/Math/MathML"?Lr:ar;return Wn(l,null)}function gi(v,l,d){switch(l){case"select":return Wn(yn,d.value!=null?d.value:d.defaultValue);case"svg":return Wn(Mr,null);case"math":return Wn(Lr,null);case"foreignObject":return Wn(yn,null);case"table":return Wn(di,null);case"thead":case"tbody":case"tfoot":return Wn(hi,null);case"colgroup":return Wn(Jr,null);case"tr":return Wn(xr,null)}return v.insertionMode>=di||v.insertionMode===ar?Wn(yn,null):v}var _i=null;function nn(v){var l=v.nextSuspenseID++;return R(v.boundaryPrefix+l.toString(16))}function jn(v,l,d){var m=v.idPrefix,S=":"+m+"R"+l;return d>0&&(S+="H"+d.toString(32)),S+":"}function Cn(v){return an(v)}var uo=R("<!-- -->");function On(v,l,d,m){return l===""?m:(m&&v.push(uo),v.push(j(Cn(l))),!0)}function _n(v,l,d,m){d&&m&&v.push(uo)}var k=new Map;function F(v){var l=k.get(v);if(l!==void 0)return l;var d=R(an(Fs(v)));return k.set(v,d),d}var G=R(' style="'),ee=R(":"),Ee=R(";");function me(v,l,d){if(typeof d!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var m=!0;for(var S in d)if(ae.call(d,S)){var _=d[S];if(!(_==null||typeof _=="boolean"||_==="")){var B=void 0,Y=void 0,re=S.indexOf("--")===0;re?(B=j(an(S)),x(_,S),Y=j(an((""+_).trim()))):(so(S,_),B=F(S),typeof _=="number"?_!==0&&!ae.call(yt,S)?Y=j(_+"px"):Y=j(""+_):(x(_,S),Y=j(an((""+_).trim())))),m?(m=!1,v.push(G,B,ee,Y)):v.push(Ee,B,ee,Y)}}m||v.push(gt)}var Re=R(" "),Xe=R('="'),gt=R('"'),mt=R('=""');function dt(v,l,d,m){switch(d){case"style":{me(v,l,m);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(d.length>2&&(d[0]==="o"||d[0]==="O")&&(d[1]==="n"||d[1]==="N"))){var S=Be(d);if(S!==null){switch(typeof m){case"function":case"symbol":return;case"boolean":if(!S.acceptsBooleans)return}var _=S.attributeName,B=j(_);switch(S.type){case qe:m&&v.push(Re,B,mt);return;case Oe:m===!0?v.push(Re,B,mt):m===!1||v.push(Re,B,Xe,j(an(m)),gt);return;case ue:isNaN(m)||v.push(Re,B,Xe,j(an(m)),gt);break;case ve:!isNaN(m)&&m>=1&&v.push(Re,B,Xe,j(an(m)),gt);break;default:S.sanitizeURL&&(ie(m,_),m=""+m,lo(m)),v.push(Re,B,Xe,j(an(m)),gt)}}else if(Ne(d)){switch(typeof m){case"function":case"symbol":return;case"boolean":{var Y=d.toLowerCase().slice(0,5);if(Y!=="data-"&&Y!=="aria-")return}}v.push(Re,j(d),Xe,j(an(m)),gt)}}}var Ft=R(">"),Bn=R("/>");function zn(v,l,d){if(l!=null){if(d!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof l!="object"||!("__html"in l))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var m=l.__html;m!=null&&(le(m),v.push(j(""+m)))}}var En=!1,Qr=!1,lr=!1,Yi=!1,mi=!1,Gi=!1,Fr=!1;function qi(v,l){{var d=v[l];if(d!=null){var m=er(d);v.multiple&&!m?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",l):!v.multiple&&m&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",l)}}}function Wa(v,l,d){Vn("select",l),qi(l,"value"),qi(l,"defaultValue"),l.value!==void 0&&l.defaultValue!==void 0&&!lr&&(i("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),lr=!0),v.push(ur("select"));var m=null,S=null;for(var _ in l)if(ae.call(l,_)){var B=l[_];if(B==null)continue;switch(_){case"children":m=B;break;case"dangerouslySetInnerHTML":S=B;break;case"defaultValue":case"value":break;default:dt(v,d,_,B);break}}return v.push(Ft),zn(v,S,m),m}function Ns(v){var l="";return t.Children.forEach(v,function(d){d!=null&&(l+=d,!mi&&typeof d!="string"&&typeof d!="number"&&(mi=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),l}var rs=R(' selected=""');function Sr(v,l,d,m){var S=m.selectedValue;v.push(ur("option"));var _=null,B=null,Y=null,re=null;for(var xe in l)if(ae.call(l,xe)){var je=l[xe];if(je==null)continue;switch(xe){case"children":_=je;break;case"selected":Y=je,Fr||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Fr=!0);break;case"dangerouslySetInnerHTML":re=je;break;case"value":B=je;default:dt(v,d,xe,je);break}}if(S!=null){var Ge;if(B!==null?(ie(B,"value"),Ge=""+B):(re!==null&&(Gi||(Gi=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Ge=Ns(_)),er(S))for(var nt=0;nt<S.length;nt++){ie(S[nt],"value");var xt=""+S[nt];if(xt===Ge){v.push(rs);break}}else ie(S,"select.value"),""+S===Ge&&v.push(rs)}else Y&&v.push(rs);return v.push(Ft),zn(v,re,_),_}function za(v,l,d){Vn("input",l),l.checked!==void 0&&l.defaultChecked!==void 0&&!Qr&&(i("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),Qr=!0),l.value!==void 0&&l.defaultValue!==void 0&&!En&&(i("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),En=!0),v.push(ur("input"));var m=null,S=null,_=null,B=null;for(var Y in l)if(ae.call(l,Y)){var re=l[Y];if(re==null)continue;switch(Y){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":B=re;break;case"defaultValue":S=re;break;case"checked":_=re;break;case"value":m=re;break;default:dt(v,d,Y,re);break}}return _!==null?dt(v,d,"checked",_):B!==null&&dt(v,d,"checked",B),m!==null?dt(v,d,"value",m):S!==null&&dt(v,d,"value",S),v.push(Bn),null}function vi(v,l,d){Vn("textarea",l),l.value!==void 0&&l.defaultValue!==void 0&&!Yi&&(i("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Yi=!0),v.push(ur("textarea"));var m=null,S=null,_=null;for(var B in l)if(ae.call(l,B)){var Y=l[B];if(Y==null)continue;switch(B){case"children":_=Y;break;case"value":m=Y;break;case"defaultValue":S=Y;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:dt(v,d,B,Y);break}}if(m===null&&S!==null&&(m=S),v.push(Ft),_!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),m!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(er(_)){if(_.length>1)throw new Error("<textarea> can only have at most one child.");le(_[0]),m=""+_[0]}le(_),m=""+_}return typeof m=="string"&&m[0]===`
|
|
105
105
|
`&&v.push(Ri),m!==null&&(ie(m,"value"),v.push(j(Cn(""+m)))),null}function js(v,l,d,m){v.push(ur(d));for(var S in l)if(ae.call(l,S)){var _=l[S];if(_==null)continue;switch(S){case"children":case"dangerouslySetInnerHTML":throw new Error(d+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:dt(v,m,S,_);break}}return v.push(Bn),null}function is(v,l,d){v.push(ur("menuitem"));for(var m in l)if(ae.call(l,m)){var S=l[m];if(S==null)continue;switch(m){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:dt(v,d,m,S);break}}return v.push(Ft),null}function rn(v,l,d){v.push(ur("title"));var m=null;for(var S in l)if(ae.call(l,S)){var _=l[S];if(_==null)continue;switch(S){case"children":m=_;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:dt(v,d,S,_);break}}v.push(Ft);{var B=Array.isArray(m)&&m.length<2?m[0]||null:m;Array.isArray(m)&&m.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):B!=null&&B.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):B!=null&&typeof B!="string"&&typeof B!="number"&&i("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return m}function Gt(v,l,d,m){v.push(ur(d));var S=null,_=null;for(var B in l)if(ae.call(l,B)){var Y=l[B];if(Y==null)continue;switch(B){case"children":S=Y;break;case"dangerouslySetInnerHTML":_=Y;break;default:dt(v,m,B,Y);break}}return v.push(Ft),zn(v,_,S),typeof S=="string"?(v.push(j(Cn(S))),null):S}function Kt(v,l,d,m){v.push(ur(d));var S=null,_=null;for(var B in l)if(ae.call(l,B)){var Y=l[B];if(Y==null)continue;switch(B){case"children":S=Y;break;case"dangerouslySetInnerHTML":_=Y;break;case"style":me(v,m,Y);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Ne(B)&&typeof Y!="function"&&typeof Y!="symbol"&&v.push(Re,j(B),Xe,j(an(Y)),gt);break}}return v.push(Ft),zn(v,_,S),S}var Ri=R(`
|
|
106
|
-
`);function
|
|
106
|
+
`);function ei(v,l,d,m){v.push(ur(d));var S=null,_=null;for(var B in l)if(ae.call(l,B)){var Y=l[B];if(Y==null)continue;switch(B){case"children":S=Y;break;case"dangerouslySetInnerHTML":_=Y;break;default:dt(v,m,B,Y);break}}if(v.push(Ft),_!=null){if(S!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof _!="object"||!("__html"in _))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var re=_.__html;re!=null&&(typeof re=="string"&&re.length>0&&re[0]===`
|
|
107
107
|
`?v.push(Ri,j(re)):(le(re),v.push(j(""+re))))}return typeof S=="string"&&S[0]===`
|
|
108
|
-
`&&v.push(Ri),S}var Io=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yi=new Map;function ur(v){var l=yi.get(v);if(l===void 0){if(!Io.test(v))throw new Error("Invalid tag: "+v);l=R("<"+v),yi.set(v,l)}return l}var Bs=R("<!DOCTYPE html>");function co(v,l,d,m,S){switch(fn(l,d),ut(l,d),
|
|
108
|
+
`&&v.push(Ri),S}var Io=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yi=new Map;function ur(v){var l=yi.get(v);if(l===void 0){if(!Io.test(v))throw new Error("Invalid tag: "+v);l=R("<"+v),yi.set(v,l)}return l}var Bs=R("<!DOCTYPE html>");function co(v,l,d,m,S){switch(fn(l,d),ut(l,d),_r(l,d,null),!d.suppressContentEditableWarning&&d.contentEditable&&d.children!=null&&i("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),S.insertionMode!==Mr&&S.insertionMode!==Lr&&l.indexOf("-")===-1&&typeof d.is!="string"&&l.toLowerCase()!==l&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),l){case"select":return Wa(v,d,m);case"option":return Sr(v,d,m,S);case"textarea":return vi(v,d,m);case"input":return za(v,d,m);case"menuitem":return is(v,d,m);case"title":return rn(v,d,m);case"listing":case"pre":return ei(v,d,l,m);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return js(v,d,l,m);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Gt(v,d,l,m);case"html":return S.insertionMode===ar&&v.push(Bs),Gt(v,d,l,m);default:return l.indexOf("-")===-1&&typeof d.is!="string"?Gt(v,d,l,m):Kt(v,d,l,m)}}var ua=R("</"),ln=R(">");function Mo(v,l,d){switch(l){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:v.push(ua,j(l),ln)}}function bi(v,l){for(var d=l.bootstrapChunks,m=0;m<d.length-1;m++)g(v,d[m]);return m<d.length?T(v,d[m]):!0}var ca=R('<template id="'),fo=R('"></template>');function cr(v,l,d){g(v,ca),g(v,l.placeholderPrefix);var m=j(d.toString(16));return g(v,m),T(v,fo)}var h=R("<!--$-->"),b=R('<!--$?--><template id="'),C=R('"></template>'),P=R("<!--$!-->"),L=R("<!--/$-->"),N=R("<template"),V=R('"'),se=R(' data-dgst="'),te=R(' data-msg="'),pe=R(' data-stck="'),_e=R("></template>");function Ae(v,l){return T(v,h)}function Te(v,l,d){if(g(v,b),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return g(v,d),T(v,C)}function $e(v,l,d,m,S){var _;return _=T(v,P),g(v,N),d&&(g(v,se),g(v,j(an(d))),g(v,V)),m&&(g(v,te),g(v,j(an(m))),g(v,V)),S&&(g(v,pe),g(v,j(an(S))),g(v,V)),_=T(v,_e),_}function it(v,l){return T(v,L)}function Tt(v,l){return T(v,L)}function Et(v,l){return T(v,L)}var Rn=R('<div hidden id="'),un=R('">'),Nr=R("</div>"),jr=R('<svg aria-hidden="true" style="display:none" id="'),Lt=R('">'),Br=R("</svg>"),jt=R('<math aria-hidden="true" style="display:none" id="'),Qt=R('">'),ho=R("</math>"),po=R('<table hidden id="'),Tr=R('">'),D=R("</table>"),M=R('<table hidden><tbody id="'),W=R('">'),Q=R("</tbody></table>"),be=R('<table hidden><tr id="'),we=R('">'),Me=R("</tr></table>"),Ye=R('<table hidden><colgroup id="'),ht=R('">'),_t=R("</colgroup></table>");function St(v,l,d,m){switch(d.insertionMode){case ar:case yn:return g(v,Rn),g(v,l.segmentPrefix),g(v,j(m.toString(16))),T(v,un);case Mr:return g(v,jr),g(v,l.segmentPrefix),g(v,j(m.toString(16))),T(v,Lt);case Lr:return g(v,jt),g(v,l.segmentPrefix),g(v,j(m.toString(16))),T(v,Qt);case di:return g(v,po),g(v,l.segmentPrefix),g(v,j(m.toString(16))),T(v,Tr);case hi:return g(v,M),g(v,l.segmentPrefix),g(v,j(m.toString(16))),T(v,W);case xr:return g(v,be),g(v,l.segmentPrefix),g(v,j(m.toString(16))),T(v,we);case Jr:return g(v,Ye),g(v,l.segmentPrefix),g(v,j(m.toString(16))),T(v,ht);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function vt(v,l){switch(l.insertionMode){case ar:case yn:return T(v,Nr);case Mr:return T(v,Br);case Lr:return T(v,ho);case di:return T(v,D);case hi:return T(v,Q);case xr:return T(v,Me);case Jr:return T(v,_t);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var An="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",bn='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',$n='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',os=R(An+';$RS("'),fa=R('$RS("'),go=R('","'),ti=R('")<\/script>');function Ya(v,l,d){g(v,l.startInlineScript),l.sentCompleteSegmentFunction?g(v,fa):(l.sentCompleteSegmentFunction=!0,g(v,os)),g(v,l.segmentPrefix);var m=j(d.toString(16));return g(v,m),g(v,go),g(v,l.placeholderPrefix),g(v,m),T(v,ti)}var Ai=R(bn+';$RC("'),da=R('$RC("'),ss=R('","'),ni=R('")<\/script>');function mo(v,l,d,m){if(g(v,l.startInlineScript),l.sentCompleteBoundaryFunction?g(v,da):(l.sentCompleteBoundaryFunction=!0,g(v,Ai)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var S=j(m.toString(16));return g(v,d),g(v,ss),g(v,l.segmentPrefix),g(v,S),T(v,ni)}var Ga=R($n+';$RX("'),Ou=R('$RX("'),ha=R('"'),vo=R(")<\/script>"),cn=R(",");function Al(v,l,d,m,S,_){if(g(v,l.startInlineScript),l.sentClientRenderFunction?g(v,Ou):(l.sentClientRenderFunction=!0,g(v,Ga)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return g(v,d),g(v,ha),(m||S||_)&&(g(v,cn),g(v,j($s(m||"")))),(S||_)&&(g(v,cn),g(v,j($s(S||"")))),_&&(g(v,cn),g(v,j($s(_)))),T(v,vo)}var pa=/[<\u2028\u2029]/g;function $s(v){var l=JSON.stringify(v);return l.replace(pa,function(d){switch(d){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var J=Object.assign,de=Symbol.for("react.element"),Ce=Symbol.for("react.portal"),De=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),fe=Symbol.for("react.profiler"),ce=Symbol.for("react.provider"),Ie=Symbol.for("react.context"),Fe=Symbol.for("react.forward_ref"),st=Symbol.for("react.suspense"),lt=Symbol.for("react.suspense_list"),rt=Symbol.for("react.memo"),It=Symbol.for("react.lazy"),wt=Symbol.for("react.scope"),Vt=Symbol.for("react.debug_trace_mode"),Yn=Symbol.for("react.legacy_hidden"),nr=Symbol.for("react.default_value"),In=Symbol.iterator,zt="@@iterator";function $r(v){if(v===null||typeof v!="object")return null;var l=In&&v[In]||v[zt];return typeof l=="function"?l:null}function kt(v,l,d){var m=v.displayName;if(m)return m;var S=l.displayName||l.name||"";return S!==""?d+"("+S+")":d}function _u(v){return v.displayName||"Context"}function pn(v){if(v==null)return null;if(typeof v.tag=="number"&&i("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case De:return"Fragment";case Ce:return"Portal";case fe:return"Profiler";case Z:return"StrictMode";case st:return"Suspense";case lt:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case Ie:var l=v;return _u(l)+".Consumer";case ce:var d=v;return _u(d._context)+".Provider";case Fe:return kt(v,v.render,"ForwardRef");case rt:var m=v.displayName||null;return m!==null?m:pn(v.type)||"Memo";case It:{var S=v,_=S._payload,B=S._init;try{return pn(B(_))}catch{return null}}}return null}var Lo=0,Ru,Au,Iu,ga,Fo,qa,Xa;function Vs(){}Vs.__reactDisabledLog=!0;function ma(){{if(Lo===0){Ru=console.log,Au=console.info,Iu=console.warn,ga=console.error,Fo=console.group,qa=console.groupCollapsed,Xa=console.groupEnd;var v={configurable:!0,enumerable:!0,value:Vs,writable:!0};Object.defineProperties(console,{info:v,log:v,warn:v,error:v,group:v,groupCollapsed:v,groupEnd:v})}Lo++}}function Il(){{if(Lo--,Lo===0){var v={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:J({},v,{value:Ru}),info:J({},v,{value:Au}),warn:J({},v,{value:Iu}),error:J({},v,{value:ga}),group:J({},v,{value:Fo}),groupCollapsed:J({},v,{value:qa}),groupEnd:J({},v,{value:Xa})})}Lo<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var No=n.ReactCurrentDispatcher,Ml;function Xi(v,l,d){{if(Ml===void 0)try{throw Error()}catch(S){var m=S.stack.trim().match(/\n( *(at )?)/);Ml=m&&m[1]||""}return`
|
|
109
109
|
`+Ml+v}}var jo=!1,as;{var Bf=typeof WeakMap=="function"?WeakMap:Map;as=new Bf}function Ka(v,l){if(!v||jo)return"";{var d=as.get(v);if(d!==void 0)return d}var m;jo=!0;var S=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var _;_=No.current,No.current=null,ma();try{if(l){var B=function(){throw Error()};if(Object.defineProperty(B.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(B,[])}catch(en){m=en}Reflect.construct(v,[],B)}else{try{B.call()}catch(en){m=en}v.call(B.prototype)}}else{try{throw Error()}catch(en){m=en}v()}}catch(en){if(en&&m&&typeof en.stack=="string"){for(var Y=en.stack.split(`
|
|
110
110
|
`),re=m.stack.split(`
|
|
111
111
|
`),xe=Y.length-1,je=re.length-1;xe>=1&&je>=0&&Y[xe]!==re[je];)je--;for(;xe>=1&&je>=0;xe--,je--)if(Y[xe]!==re[je]){if(xe!==1||je!==1)do if(xe--,je--,je<0||Y[xe]!==re[je]){var Ge=`
|
|
@@ -123,26 +123,26 @@ https://reactjs.org/link/unsafe-component-lifecycles`,nt,xt,xe!==null?`
|
|
|
123
123
|
|
|
124
124
|
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
125
125
|
|
|
126
|
-
Please update the following components: %s`,m),z[m]=!0)}l.componentWillMount()}typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),d!==l.state&&(i("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",pn(v)||"Component"),Bc.enqueueReplaceState(l,l.state,null))}function Nu(v,l,d,m){if(v.queue!==null&&v.queue.length>0){var S=v.queue,_=v.replace;if(v.queue=null,v.replace=!1,_&&S.length===1)l.state=S[0];else{for(var B=_?S[0]:l.state,Y=!0,re=_?1:0;re<S.length;re++){var xe=S[re],je=typeof xe=="function"?xe.call(l,B,d,m):xe;je!=null&&(Y?(Y=!1,B=J({},B,je)):J(B,je))}l.state=B}}else v.queue=null}function tl(v,l,d,m){Hf(v,l,d);var S=v.state!==void 0?v.state:null;v.updater=Bc,v.props=d,v.state=S;var _={queue:[],replace:!1};Ws(v,_);var B=l.contextType;if(typeof B=="object"&&B!==null?v.context=Sa(B):v.context=m,v.state===d){var Y=pn(l)||"Component";jl.has(Y)||(jl.add(Y),i("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",Y))}var re=l.getDerivedStateFromProps;typeof re=="function"&&(v.state=Vf(v,l,re,S,d)),typeof l.getDerivedStateFromProps!="function"&&typeof v.getSnapshotBeforeUpdate!="function"&&(typeof v.UNSAFE_componentWillMount=="function"||typeof v.componentWillMount=="function")&&(Uf(l,v),Nu(_,v,d,m))}var Wf={id:1,overflow:""};function Ho(v){var l=v.overflow,d=v.id,m=d&~zf(d);return m.toString(32)+l}function ju(v,l,d){var m=v.id,S=v.overflow,_=Bl(m)-1,B=m&~(1<<_),Y=d+1,re=Bl(l)+_;if(re>30){var xe=_-_%5,je=(1<<xe)-1,Ge=(B&je).toString(32),nt=B>>xe,xt=_-xe,en=Bl(l)+xt,ir=Y<<xt,Eo=ir|nt,ws=Ge+S;return{id:1<<en|Eo,overflow:ws}}else{var eo=Y<<_,Aa=eo|B,rf=S;return{id:1<<re|Aa,overflow:rf}}}function Bl(v){return 32-Yf(v)}function zf(v){return 1<<Bl(v)-1}var Yf=Math.clz32?Math.clz32:Bu,Gf=Math.log
|
|
126
|
+
Please update the following components: %s`,m),z[m]=!0)}l.componentWillMount()}typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),d!==l.state&&(i("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",pn(v)||"Component"),Bc.enqueueReplaceState(l,l.state,null))}function Nu(v,l,d,m){if(v.queue!==null&&v.queue.length>0){var S=v.queue,_=v.replace;if(v.queue=null,v.replace=!1,_&&S.length===1)l.state=S[0];else{for(var B=_?S[0]:l.state,Y=!0,re=_?1:0;re<S.length;re++){var xe=S[re],je=typeof xe=="function"?xe.call(l,B,d,m):xe;je!=null&&(Y?(Y=!1,B=J({},B,je)):J(B,je))}l.state=B}}else v.queue=null}function tl(v,l,d,m){Hf(v,l,d);var S=v.state!==void 0?v.state:null;v.updater=Bc,v.props=d,v.state=S;var _={queue:[],replace:!1};Ws(v,_);var B=l.contextType;if(typeof B=="object"&&B!==null?v.context=Sa(B):v.context=m,v.state===d){var Y=pn(l)||"Component";jl.has(Y)||(jl.add(Y),i("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",Y))}var re=l.getDerivedStateFromProps;typeof re=="function"&&(v.state=Vf(v,l,re,S,d)),typeof l.getDerivedStateFromProps!="function"&&typeof v.getSnapshotBeforeUpdate!="function"&&(typeof v.UNSAFE_componentWillMount=="function"||typeof v.componentWillMount=="function")&&(Uf(l,v),Nu(_,v,d,m))}var Wf={id:1,overflow:""};function Ho(v){var l=v.overflow,d=v.id,m=d&~zf(d);return m.toString(32)+l}function ju(v,l,d){var m=v.id,S=v.overflow,_=Bl(m)-1,B=m&~(1<<_),Y=d+1,re=Bl(l)+_;if(re>30){var xe=_-_%5,je=(1<<xe)-1,Ge=(B&je).toString(32),nt=B>>xe,xt=_-xe,en=Bl(l)+xt,ir=Y<<xt,Eo=ir|nt,ws=Ge+S;return{id:1<<en|Eo,overflow:ws}}else{var eo=Y<<_,Aa=eo|B,rf=S;return{id:1<<re|Aa,overflow:rf}}}function Bl(v){return 32-Yf(v)}function zf(v){return 1<<Bl(v)-1}var Yf=Math.clz32?Math.clz32:Bu,Gf=Math.log,Vr=Math.LN2;function Bu(v){var l=v>>>0;return l===0?32:31-(Gf(l)/Vr|0)|0}function $l(v,l){return v===l&&(v!==0||1/v===1/l)||v!==v&&l!==l}var qt=typeof Object.is=="function"?Object.is:$l,wi=null,Ta=null,zs=null,Zt=null,hs=!1,nl=!1,ri=0,xi=null,So=0,$u=25,Hr=!1,Ki;function Ys(){if(wi===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
127
127
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
128
128
|
2. You might be breaking the Rules of Hooks
|
|
129
129
|
3. You might have more than one copy of React in the same app
|
|
130
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return
|
|
130
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Hr&&i("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),wi}function $c(v,l){if(l===null)return i("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Ki),!1;v.length!==l.length&&i(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
131
131
|
|
|
132
132
|
Previous: %s
|
|
133
|
-
Incoming: %s`,Ki,"["+v.join(", ")+"]","["+l.join(", ")+"]");for(var d=0;d<l.length&&d<v.length;d++)if(!qt(v[d],l[d]))return!1;return!0}function Vu(){if(So>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Si(){return Zt===null?zs===null?(hs=!1,zs=Zt=Vu()):(hs=!0,Zt=zs):Zt.next===null?(hs=!1,Zt=Zt.next=Vu()):(hs=!0,Zt=Zt.next),Zt}function Hu(v,l){wi=l,Ta=v,
|
|
133
|
+
Incoming: %s`,Ki,"["+v.join(", ")+"]","["+l.join(", ")+"]");for(var d=0;d<l.length&&d<v.length;d++)if(!qt(v[d],l[d]))return!1;return!0}function Vu(){if(So>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Si(){return Zt===null?zs===null?(hs=!1,zs=Zt=Vu()):(hs=!0,Zt=zs):Zt.next===null?(hs=!1,Zt=Zt.next=Vu()):(hs=!0,Zt=Zt.next),Zt}function Hu(v,l){wi=l,Ta=v,Hr=!1,ri=0}function Gs(v,l,d,m){for(;nl;)nl=!1,ri=0,So+=1,Zt=null,d=v(l,m);return Uu(),d}function Ur(){var v=ri!==0;return v}function Uu(){Hr=!1,wi=null,Ta=null,nl=!1,zs=null,So=0,xi=null,Zt=null}function Wu(v){return Hr&&i("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Sa(v)}function zu(v){return Ki="useContext",Ys(),Sa(v)}function qs(v,l){return typeof l=="function"?l(v):l}function ps(v){return Ki="useState",Yu(qs,v)}function Yu(v,l,d){if(v!==qs&&(Ki="useReducer"),wi=Ys(),Zt=Si(),hs){var m=Zt.queue,S=m.dispatch;if(xi!==null){var _=xi.get(m);if(_!==void 0){xi.delete(m);var B=Zt.memoizedState,Y=_;do{var re=Y.action;Hr=!0,B=v(B,re),Hr=!1,Y=Y.next}while(Y!==null);return Zt.memoizedState=B,[B,S]}}return[Zt.memoizedState,S]}else{Hr=!0;var xe;v===qs?xe=typeof l=="function"?l():l:xe=d!==void 0?d(l):l,Hr=!1,Zt.memoizedState=xe;var je=Zt.queue={last:null,dispatch:null},Ge=je.dispatch=Hc.bind(null,wi,je);return[Zt.memoizedState,Ge]}}function Vc(v,l){wi=Ys(),Zt=Si();var d=l===void 0?null:l;if(Zt!==null){var m=Zt.memoizedState;if(m!==null&&d!==null){var S=m[1];if($c(d,S))return m[0]}}Hr=!0;var _=v();return Hr=!1,Zt.memoizedState=[_,d],_}function Vl(v){wi=Ys(),Zt=Si();var l=Zt.memoizedState;if(l===null){var d={current:v};return Object.seal(d),Zt.memoizedState=d,d}else return l}function qf(v,l){Ki="useLayoutEffect",i("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Hc(v,l,d){if(So>=$u)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(v===wi){nl=!0;var m={action:d,next:null};xi===null&&(xi=new Map);var S=xi.get(l);if(S===void 0)xi.set(l,m);else{for(var _=S;_.next!==null;)_=_.next;_.next=m}}}function fr(v,l){return Vc(function(){return v},l)}function Gu(v,l,d){return Ys(),l(v._source)}function Uc(v,l,d){if(d===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return d()}function Ti(v){return Ys(),v}function Hl(){throw new Error("startTransition cannot be called during server rendering.")}function Ca(){return Ys(),[!1,Hl]}function gs(){var v=Ta,l=Ho(v.treeContext),d=Xs;if(d===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var m=ri++;return jn(d,l,m)}function rl(){}var rr={readContext:Wu,useContext:zu,useMemo:Vc,useReducer:Yu,useRef:Vl,useState:ps,useInsertionEffect:rl,useLayoutEffect:qf,useCallback:fr,useImperativeHandle:rl,useEffect:rl,useDebugValue:rl,useDeferredValue:Ti,useTransition:Ca,useId:gs,useMutableSource:Gu,useSyncExternalStore:Uc},Xs=null;function Ul(v){Xs=v}function Ea(v){try{var l="",d=v;do{switch(d.tag){case 0:l+=Xi(d.type,null,null);break;case 1:l+=va(d.type,null,null);break;case 2:l+=Mc(d.type,null,null);break}d=d.parent}while(d);return l}catch(m){return`
|
|
134
134
|
Error generating stack: `+m.message+`
|
|
135
|
-
`+m.stack}}var Wl=n.ReactCurrentDispatcher,ka=n.ReactDebugCurrentFrame,zl=0,To=1,Yl=2,Ks=3,Wc=4,il=0,Da=1,Pa=2,qu=12800;function zc(v){return console.error(v),null}function Zs(){}function Gl(v,l,d,m,S,_,B,Y,re){var xe=[],je=new Set,Ge={destination:null,responseState:l,progressiveChunkSize:m===void 0?qu:m,status:il,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:je,pingedTasks:xe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:S===void 0?zc:S,onAllReady:_===void 0?Zs:_,onShellReady:B===void 0?Zs:B,onShellError:Y===void 0?Zs:Y,onFatalError:re===void 0?Zs:re},nt=ol(Ge,0,null,d,!1,!1);nt.parentFlushed=!0;var xt=Wo(Ge,v,null,nt,je,Gn,Fl,Wf);return xe.push(xt),Ge}function Uo(v,l){var d=v.pingedTasks;d.push(l),d.length===1&&a(function(){return tc(v)})}function ql(v,l){return{id:_i,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l,errorDigest:null}}function Wo(v,l,d,m,S,_,B,Y){v.allPendingTasks++,d===null?v.pendingRootTasks++:d.pendingTasks++;var re={node:l,ping:function(){return Uo(v,re)},blockedBoundary:d,blockedSegment:m,abortSet:S,legacyContext:_,context:B,treeContext:Y};return re.componentStack=null,S.add(re),re}function ol(v,l,d,m,S,_){return{status:zl,id:-1,index:l,parentFlushed:!1,chunks:[],children:[],formatContext:m,boundary:d,lastPushedText:S,textEmbedded:_}}var Zi=null;function Ji(){return Zi===null||Zi.componentStack===null?"":Ea(Zi.componentStack)}function Co(v,l){v.componentStack={tag:0,parent:v.componentStack,type:l}}function sl(v,l){v.componentStack={tag:1,parent:v.componentStack,type:l}}function ms(v,l){v.componentStack={tag:2,parent:v.componentStack,type:l}}function Qi(v){v.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):v.componentStack=v.componentStack.parent}var Oa=null;function Xl(v,l){{var d;typeof l=="string"?d=l:l&&typeof l.message=="string"?d=l.message:d=String(l);var m=Oa||Ji();Oa=null,v.errorMessage=d,v.errorComponentStack=m}}function al(v,l){var d=v.onError(l);if(d!=null&&typeof d!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function _a(v,l){var d=v.onShellError;d(l);var m=v.onFatalError;m(l),v.destination!==null?(v.status=Pa,U(v.destination,l)):(v.status=Da,v.fatalError=l)}function Yc(v,l,d){Co(l,"Suspense");var m=l.blockedBoundary,S=l.blockedSegment,_=d.fallback,B=d.children,Y=new Set,re=ql(v,Y),xe=S.chunks.length,je=ol(v,xe,re,S.formatContext,!1,!1);S.children.push(je),S.lastPushedText=!1;var Ge=ol(v,0,null,S.formatContext,!1,!1);Ge.parentFlushed=!0,l.blockedBoundary=re,l.blockedSegment=Ge;try{if(Ci(v,l,B),_n(Ge.chunks,v.responseState,Ge.lastPushedText,Ge.textEmbedded),Ge.status=To,bs(re,Ge),re.pendingTasks===0){Qi(l);return}}catch(xt){Ge.status=Wc,re.forceClientRender=!0,re.errorDigest=al(v,xt),Xl(re,xt)}finally{l.blockedBoundary=m,l.blockedSegment=S}var nt=Wo(v,_,m,je,Y,l.legacyContext,l.context,l.treeContext);nt.componentStack=l.componentStack,v.pingedTasks.push(nt),Qi(l)}function Xu(v,l,d,m){Co(l,d);var S=l.blockedSegment,_=co(S.chunks,d,m,v.responseState,S.formatContext);S.lastPushedText=!1;var B=S.formatContext;S.formatContext=gi(B,d,m),Ci(v,l,_),S.formatContext=B,Mo(S.chunks,d),S.lastPushedText=!1,Qi(l)}function Ku(v){return v.prototype&&v.prototype.isReactComponent}function Js(v,l,d,m,S){var _={};Hu(l,_);var B=d(m,S);return Gs(d,m,B,S)}function Zu(v,l,d,m,S){var _=d.render();d.props!==S&&(Zl||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",pn(m)||"a component"),Zl=!0);{var B=m.childContextTypes;if(B!=null){var Y=l.legacyContext,re=Mu(d,m,Y,B);l.legacyContext=re,dr(v,l,_),l.legacyContext=Y;return}}dr(v,l,_)}function Kl(v,l,d,m){ms(l,d);var S=ls(d,l.legacyContext),_=xo(d,m,S);tl(_,d,m,S),Zu(v,l,_,d,m),Qi(l)}var Bt={},ll={},Ju={},Qs={},Zl=!1,Gc={},qc=!1,ri=!1,Xc=!1;function Jl(v,l,d,m){var S;if(S=ls(d,l.legacyContext),sl(l,d),d.prototype&&typeof d.prototype.render=="function"){var _=pn(d)||"Unknown";Bt[_]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",_,_),Bt[_]=!0)}var B=Js(v,l,d,m,S),Y=Hr();if(typeof B=="object"&&B!==null&&typeof B.render=="function"&&B.$$typeof===void 0){var re=pn(d)||"Unknown";ll[re]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",re,re,re),ll[re]=!0)}if(typeof B=="object"&&B!==null&&typeof B.render=="function"&&B.$$typeof===void 0){{var xe=pn(d)||"Unknown";ll[xe]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",xe,xe,xe),ll[xe]=!0)}tl(B,d,m,S),Zu(v,l,B,d,m)}else if(Qu(d),Y){var je=l.treeContext,Ge=1,nt=0;l.treeContext=ju(je,Ge,nt);try{dr(v,l,B)}finally{l.treeContext=je}}else dr(v,l,B);Qi(l)}function Qu(v){{if(v&&v.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",v.displayName||v.name||"Component"),v.defaultProps!==void 0){var l=pn(v)||"Unknown";Gc[l]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",l),Gc[l]=!0)}if(typeof v.getDerivedStateFromProps=="function"){var d=pn(v)||"Unknown";Qs[d]||(i("%s: Function components do not support getDerivedStateFromProps.",d),Qs[d]=!0)}if(typeof v.contextType=="object"&&v.contextType!==null){var m=pn(v)||"Unknown";Ju[m]||(i("%s: Function components do not support contextType.",m),Ju[m]=!0)}}}function ec(v,l){if(v&&v.defaultProps){var d=J({},l),m=v.defaultProps;for(var S in m)d[S]===void 0&&(d[S]=m[S]);return d}return l}function Kc(v,l,d,m,S){sl(l,d.render);var _=Js(v,l,d.render,m,S),B=Hr();if(B){var Y=l.treeContext,re=1,xe=0;l.treeContext=ju(Y,re,xe);try{dr(v,l,_)}finally{l.treeContext=Y}}else dr(v,l,_);Qi(l)}function Ur(v,l,d,m,S){var _=d.type,B=ec(_,m);ea(v,l,_,B,S)}function vs(v,l,d,m){d._context===void 0?d!==d.Consumer&&(Xc||(Xc=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):d=d._context;var S=m.children;typeof S!="function"&&i("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var _=Sa(d),B=S(_);dr(v,l,B)}function Wr(v,l,d,m){var S=d._context,_=m.value,B=m.children,Y;Y=l.context,l.context=Lu(S,_),dr(v,l,B),l.context=$f(S),Y!==l.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Zc(v,l,d,m,S){Co(l,"Lazy");var _=d._payload,B=d._init,Y=B(_),re=ec(Y,m);ea(v,l,Y,re,S),Qi(l)}function ea(v,l,d,m,S){if(typeof d=="function")if(Ku(d)){Kl(v,l,d,m);return}else{Jl(v,l,d,m);return}if(typeof d=="string"){Xu(v,l,d,m);return}switch(d){case Yn:case Vt:case Z:case fe:case De:{dr(v,l,m.children);return}case lt:{Co(l,"SuspenseList"),dr(v,l,m.children),Qi(l);return}case wt:throw new Error("ReactDOMServer does not yet support scope components.");case st:{Yc(v,l,m);return}}if(typeof d=="object"&&d!==null)switch(d.$$typeof){case Fe:{Kc(v,l,d,m,S);return}case rt:{Ur(v,l,d,m,S);return}case ce:{Wr(v,l,d,m);return}case Ie:{vs(v,l,d,m);return}case It:{Zc(v,l,d,m);return}}var _="";throw(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(d==null?d:typeof d)+"."+_))}function Jc(v,l){typeof Symbol=="function"&&v[Symbol.toStringTag]==="Generator"&&(qc||i("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),qc=!0),v.entries===l&&(ri||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ri=!0)}function dr(v,l,d){try{return Qc(v,l,d)}catch(m){throw typeof m=="object"&&m!==null&&typeof m.then=="function"||(Oa=Oa!==null?Oa:Ji()),m}}function Qc(v,l,d){if(l.node=d,typeof d=="object"&&d!==null){switch(d.$$typeof){case de:{var m=d,S=m.type,_=m.props,B=m.ref;ea(v,l,S,_,B);return}case Ce:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case It:{var Y=d,re=Y._payload,xe=Y._init,je;try{je=xe(re)}catch(eo){throw typeof eo=="object"&&eo!==null&&typeof eo.then=="function"&&Co(l,"Lazy"),eo}dr(v,l,je);return}}if(er(d)){Ql(v,l,d);return}var Ge=Br(d);if(Ge){Jc(d,Ge);var nt=Ge.call(d);if(nt){var xt=nt.next();if(!xt.done){var en=[];do en.push(xt.value),xt=nt.next();while(!xt.done);Ql(v,l,en);return}return}}var ir=Object.prototype.toString.call(d);throw new Error("Objects are not valid as a React child (found: "+(ir==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":ir)+"). If you meant to render a collection of children, use an array instead.")}if(typeof d=="string"){var Eo=l.blockedSegment;Eo.lastPushedText=On(l.blockedSegment.chunks,d,v.responseState,Eo.lastPushedText);return}if(typeof d=="number"){var ws=l.blockedSegment;ws.lastPushedText=On(l.blockedSegment.chunks,""+d,v.responseState,ws.lastPushedText);return}typeof d=="function"&&i("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Ql(v,l,d){for(var m=d.length,S=0;S<m;S++){var _=l.treeContext;l.treeContext=ju(_,m,S);try{Ci(v,l,d[S])}finally{l.treeContext=_}}}function eu(v,l,d){var m=l.blockedSegment,S=m.chunks.length,_=ol(v,S,null,m.formatContext,m.lastPushedText,!0);m.children.push(_),m.lastPushedText=!1;var B=Wo(v,l.node,l.blockedBoundary,_,l.abortSet,l.legacyContext,l.context,l.treeContext);l.componentStack!==null&&(B.componentStack=l.componentStack.parent);var Y=B.ping;d.then(Y,Y)}function Ci(v,l,d){var m=l.blockedSegment.formatContext,S=l.legacyContext,_=l.context,B=null;B=l.componentStack;try{return dr(v,l,d)}catch(Y){if(Uu(),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"){eu(v,l,Y),l.blockedSegment.formatContext=m,l.legacyContext=S,l.context=_,fs(_),l.componentStack=B;return}else throw l.blockedSegment.formatContext=m,l.legacyContext=S,l.context=_,fs(_),l.componentStack=B,Y}}function ef(v,l,d,m){var S=al(v,m);if(l===null?_a(v,m):(l.pendingTasks--,l.forceClientRender||(l.forceClientRender=!0,l.errorDigest=S,Xl(l,m),l.parentFlushed&&v.clientRenderedBoundaries.push(l))),v.allPendingTasks--,v.allPendingTasks===0){var _=v.onAllReady;_()}}function ys(v){var l=this,d=v.blockedBoundary,m=v.blockedSegment;m.status=Ks,ta(l,d,m)}function tu(v,l,d){var m=v.blockedBoundary,S=v.blockedSegment;if(S.status=Ks,m===null)l.allPendingTasks--,l.status!==Pa&&(l.status=Pa,l.destination!==null&&A(l.destination));else{if(m.pendingTasks--,!m.forceClientRender){m.forceClientRender=!0;var _=d===void 0?new Error("The render was aborted by the server without a reason."):d;m.errorDigest=l.onError(_);{var B="The server did not finish this Suspense boundary: ";_&&typeof _.message=="string"?_=B+_.message:_=B+String(_);var Y=Zi;Zi=v;try{Xl(m,_)}finally{Zi=Y}}m.parentFlushed&&l.clientRenderedBoundaries.push(m)}if(m.fallbackAbortableTasks.forEach(function(xe){return tu(xe,l,d)}),m.fallbackAbortableTasks.clear(),l.allPendingTasks--,l.allPendingTasks===0){var re=l.onAllReady;re()}}}function bs(v,l){if(l.chunks.length===0&&l.children.length===1&&l.children[0].boundary===null){var d=l.children[0];d.id=l.id,d.parentFlushed=!0,d.status===To&&bs(v,d)}else{var m=v.completedSegments;m.push(l)}}function ta(v,l,d){if(l===null){if(d.parentFlushed){if(v.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");v.completedRootSegment=d}if(v.pendingRootTasks--,v.pendingRootTasks===0){v.onShellError=Zs;var m=v.onShellReady;m()}}else if(l.pendingTasks--,!l.forceClientRender){if(l.pendingTasks===0)d.parentFlushed&&d.status===To&&bs(l,d),l.parentFlushed&&v.completedBoundaries.push(l),l.fallbackAbortableTasks.forEach(ys,v),l.fallbackAbortableTasks.clear();else if(d.parentFlushed&&d.status===To){bs(l,d);var S=l.completedSegments;S.length===1&&l.parentFlushed&&v.partialBoundaries.push(l)}}if(v.allPendingTasks--,v.allPendingTasks===0){var _=v.onAllReady;_()}}function Xf(v,l){var d=l.blockedSegment;if(d.status===zl){fs(l.context);var m=null;m=Zi,Zi=l;try{dr(v,l,l.node),_n(d.chunks,v.responseState,d.lastPushedText,d.textEmbedded),l.abortSet.delete(l),d.status=To,ta(v,l.blockedBoundary,d)}catch(_){if(Uu(),typeof _=="object"&&_!==null&&typeof _.then=="function"){var S=l.ping;_.then(S,S)}else l.abortSet.delete(l),d.status=Wc,ef(v,l.blockedBoundary,d,_)}finally{Zi=m}}}function tc(v){if(v.status!==Pa){var l=Fc(),d=Wl.current;Wl.current=rr;var m;m=ka.getCurrentStack,ka.getCurrentStack=Ji;var S=Xs;Ul(v.responseState);try{var _=v.pingedTasks,B;for(B=0;B<_.length;B++){var Y=_[B];Xf(v,Y)}_.splice(0,B),v.destination!==null&&Ii(v,v.destination)}catch(re){al(v,re),_a(v,re)}finally{Ul(S),Wl.current=d,ka.getCurrentStack=m,d===rr&&fs(l)}}}function ul(v,l,d){switch(d.parentFlushed=!0,d.status){case zl:{var m=d.id=v.nextSegmentId++;return d.lastPushedText=!1,d.textEmbedded=!1,cr(l,v.responseState,m)}case To:{d.status=Yl;for(var S=!0,_=d.chunks,B=0,Y=d.children,re=0;re<Y.length;re++){for(var xe=Y[re];B<xe.index;B++)g(l,_[B]);S=cl(v,l,xe)}for(;B<_.length-1;B++)g(l,_[B]);return B<_.length&&(S=T(l,_[B])),S}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function cl(v,l,d){var m=d.boundary;if(m===null)return ul(v,l,d);if(m.parentFlushed=!0,m.forceClientRender)return $e(l,v.responseState,m.errorDigest,m.errorMessage,m.errorComponentStack),ul(v,l,d),Et(l,v.responseState);if(m.pendingTasks>0){m.rootSegmentID=v.nextSegmentId++,m.completedSegments.length>0&&v.partialBoundaries.push(m);var S=m.id=nn(v.responseState);return Te(l,v.responseState,S),ul(v,l,d),Tt(l,v.responseState)}else{if(m.byteSize>v.progressiveChunkSize)return m.rootSegmentID=v.nextSegmentId++,v.completedBoundaries.push(m),Te(l,v.responseState,m.id),ul(v,l,d),Tt(l,v.responseState);Ae(l,v.responseState);var _=m.completedSegments;if(_.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var B=_[0];return cl(v,l,B),it(l,v.responseState)}}function nc(v,l,d){return Al(l,v.responseState,d.id,d.errorDigest,d.errorMessage,d.errorComponentStack)}function nu(v,l,d){return St(l,v.responseState,d.formatContext,d.id),cl(v,l,d),vt(l,d.formatContext)}function rc(v,l,d){for(var m=d.completedSegments,S=0;S<m.length;S++){var _=m[S];zr(v,l,d,_)}return m.length=0,mo(l,v.responseState,d.id,d.rootSegmentID)}function tf(v,l,d){for(var m=d.completedSegments,S=0;S<m.length;S++){var _=m[S];if(!zr(v,l,d,_))return S++,m.splice(0,S),!1}return m.splice(0,S),!0}function zr(v,l,d,m){if(m.status===Yl)return!0;var S=m.id;if(S===-1){var _=m.id=d.rootSegmentID;if(_===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return nu(v,l,m)}else return nu(v,l,m),Ya(l,v.responseState,S)}function Ii(v,l){y();try{var d=v.completedRootSegment;d!==null&&v.pendingRootTasks===0&&(cl(v,l,d),v.completedRootSegment=null,bi(l,v.responseState));var m=v.clientRenderedBoundaries,S;for(S=0;S<m.length;S++){var _=m[S];nc(v,l,_)}m.splice(0,S);var B=v.completedBoundaries;for(S=0;S<B.length;S++){var Y=B[S];rc(v,l,Y)}B.splice(0,S),E(l),y(l);var re=v.partialBoundaries;for(S=0;S<re.length;S++){var xe=re[S];if(!tf(v,l,xe)){v.destination=null,S++,re.splice(0,S);return}}re.splice(0,S);var je=v.completedBoundaries;for(S=0;S<je.length;S++){var Ge=je[S];rc(v,l,Ge)}je.splice(0,S)}finally{E(l),v.allPendingTasks===0&&v.pingedTasks.length===0&&v.clientRenderedBoundaries.length===0&&v.completedBoundaries.length===0&&(v.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),A(l))}}function nf(v){a(function(){return tc(v)})}function Kf(v,l){if(v.status===Da){v.status=Pa,U(l,v.fatalError);return}if(v.status!==Pa&&v.destination===null){v.destination=l;try{Ii(v,l)}catch(d){al(v,d),_a(v,d)}}}function fl(v,l){try{var d=v.abortableTasks;d.forEach(function(m){return tu(m,v,l)}),d.clear(),v.destination!==null&&Ii(v,v.destination)}catch(m){al(v,m),_a(v,m)}}function Ra(v,l){return new Promise(function(d,m){var S,_,B=new Promise(function(nt,xt){_=nt,S=xt});function Y(){var nt=new ReadableStream({type:"bytes",pull:function(xt){Kf(xe,xt)},cancel:function(xt){fl(xe)}},{highWaterMark:0});nt.allReady=B,d(nt)}function re(nt){B.catch(function(){}),m(nt)}var xe=Gl(v,Oi(l?l.identifierPrefix:void 0,l?l.nonce:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),pi(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,_,Y,re,S);if(l&&l.signal){var je=l.signal,Ge=function(){fl(xe,je.reason),je.removeEventListener("abort",Ge)};je.addEventListener("abort",Ge)}nf(xe)})}Lh.renderToReadableStream=Ra,Lh.version=e}()),Lh}var Dc,Dv;process.env.NODE_ENV==="production"?(Dc=H4(),Dv=U4()):(Dc=W4(),Dv=z4());Dc.version;var Y4=Dc.renderToString;Dc.renderToStaticMarkup;Dc.renderToNodeStream;Dc.renderToStaticNodeStream;Dv.renderToReadableStream;var G4=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function VD(t,e){return t(e={exports:{}},e.exports),e.exports}var q4=VD(function(t){(function(e){var n=function(j,R,U){if(!f(R)||y(R)||g(R)||T(R)||c(R))return R;var H,ne=0,q=0;if(p(R))for(H=[],q=R.length;ne<q;ne++)H.push(n(j,R[ne],U));else for(var ie in H={},R)Object.prototype.hasOwnProperty.call(R,ie)&&(H[j(ie,U)]=n(j,R[ie],U));return H},r=function(j){return E(j)?j:(j=j.replace(/[\-_\s]+(.)?/g,function(R,U){return U?U.toUpperCase():""})).substr(0,1).toLowerCase()+j.substr(1)},i=function(j){var R=r(j);return R.substr(0,1).toUpperCase()+R.substr(1)},o=function(j,R){return function(U,H){var ne=(H=H||{}).separator||"_",q=H.split||/(?=[A-Z])/;return U.split(q).join(ne)}(j,R).toLowerCase()},a=Object.prototype.toString,c=function(j){return typeof j=="function"},f=function(j){return j===Object(j)},p=function(j){return a.call(j)=="[object Array]"},y=function(j){return a.call(j)=="[object Date]"},g=function(j){return a.call(j)=="[object RegExp]"},T=function(j){return a.call(j)=="[object Boolean]"},E=function(j){return(j-=0)==j},A=function(j,R){var U=R&&"process"in R?R.process:R;return typeof U!="function"?j:function(H,ne){return U(H,j,ne)}},I={camelize:r,decamelize:o,pascalize:i,depascalize:o,camelizeKeys:function(j,R){return n(A(r,R),j)},decamelizeKeys:function(j,R){return n(A(o,R),j,R)},pascalizeKeys:function(j,R){return n(A(i,R),j)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(G4)}).decamelize,X4=function(t){if(Array.isArray(t))return t},K4=function(t,e){if(typeof Symbol<"u"&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(f){i=!0,o=f}finally{try{r||c.return==null||c.return()}finally{if(i)throw o}}return n}},k1=function(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r},Z4=function(t,e){if(t){if(typeof t=="string")return k1(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k1(t,e):void 0}},J4=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
136
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Q4=function(t,e){return X4(t)||K4(t,e)||Z4(t,e)||J4()},HD=VD(function(t){function e(){return t.exports=e=Object.assign||function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])}return n},e.apply(this,arguments)}t.exports=e}),e6=function(t,e){if(t==null)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i},UD=function(t,e){if(t==null)return{};var n,r,i=e6(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i},t6=X.createContext(null);function WD(t){var e=t.children,n=e===void 0?"":e,r=UD(t,["children"]);return typeof n!="string"&&(n=Y4(n)),X.createElement("template",HD({},r,{dangerouslySetInnerHTML:{__html:n}}))}function zD(t){var e=t.root,n=t.children;return jv.createPortal(n===void 0?null:n,e)}function n6(t){var e=X.forwardRef(function(n,r){var i,o,a=n.mode,c=a===void 0?"open":a,f=n.delegatesFocus,p=f!==void 0&&f,y=n.styleSheets,g=y===void 0?[]:y,T=n.ssr,E=T!==void 0&&T,A=n.children,I=UD(n,["mode","delegatesFocus","styleSheets","ssr","children"]),j=(o=X.useRef((i=r)&&i.current),X.useEffect(function(){i&&(i.current=o.current)},[i]),o),R=X.useState(null),U=Q4(R,2),H=U[0],ne=U[1],q="node_".concat(c).concat(p);return X.useLayoutEffect(function(){if(j.current)try{if(typeof r=="function"&&r(j.current),E){var ie=j.current.shadowRoot;return void ne(ie)}var x=j.current.attachShadow({mode:c,delegatesFocus:p});g.length>0&&(x.adoptedStyleSheets=g),ne(x)}catch(le){(function(ae){var Ve=ae.error,tt=ae.styleSheets,Qe=ae.root;switch(Ve.name){case"NotSupportedError":tt.length>0&&(Qe.adoptedStyleSheets=tt);break;default:throw Ve}})({error:le,styleSheets:g,root:H})}},[r,j,g]),X.createElement(X.Fragment,null,X.createElement(t.tag,HD({key:q,ref:j},I),(H||E)&&X.createElement(t6.Provider,{value:H},E?X.createElement(WD,{shadowroot:c,shadowrootmode:c},t.render({root:H,ssr:E,children:A})):X.createElement(zD,{root:H},t.render({root:H,ssr:E,children:A})))))});return e.propTypes={mode:Rs.oneOf(["open","closed"]),delegatesFocus:Rs.bool,styleSheets:Rs.arrayOf(Rs.instanceOf(globalThis.CSSStyleSheet)),ssr:Rs.bool,children:Rs.node},e}WD.propTypes={children:Rs.oneOfType([Rs.string,Rs.node])},zD.propTypes={root:Rs.object.isRequired,children:Rs.node};var vm=new Map;function r6(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(r){return r.children};return new Proxy(t,{get:function(r,i){var o=q4(i,{separator:"-"}),a="".concat(e,"-").concat(o);return vm.has(a)||vm.set(a,n6({tag:o,render:n})),vm.get(a)}})}var i6=r6();const o6=".app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}",s6=".favorite-bar{position:sticky;top:64px;z-index:var(--menu-z-index);border-bottom:1px solid #ddd}.favorite-bar--hidden{transform:translateY(-100%);opacity:0;height:0}.favorite-bar--visible{transform:translateY(0);opacity:1}";var D1;(function(t){t.DragStart="dragStart",t.DragMove="dragMove",t.DragEnd="dragEnd",t.DragCancel="dragCancel",t.DragOver="dragOver",t.RegisterDroppable="registerDroppable",t.SetDroppableDisabled="setDroppableDisabled",t.UnregisterDroppable="unregisterDroppable"})(D1||(D1={}));const a6=Object.freeze({x:0,y:0});var Cf;(function(t){t[t.Forward=1]="Forward",t[t.Backward=-1]="Backward"})(Cf||(Cf={}));var P1;(function(t){t.Click="click",t.DragStart="dragstart",t.Keydown="keydown",t.ContextMenu="contextmenu",t.Resize="resize",t.SelectionChange="selectionchange",t.VisibilityChange="visibilitychange"})(P1||(P1={}));var As;(function(t){t.Space="Space",t.Down="ArrowDown",t.Right="ArrowRight",t.Left="ArrowLeft",t.Up="ArrowUp",t.Esc="Escape",t.Enter="Enter",t.Tab="Tab"})(As||(As={}));As.Space,As.Enter,As.Esc,As.Space,As.Enter,As.Tab;var O1;(function(t){t[t.RightClick=2]="RightClick"})(O1||(O1={}));var _1;(function(t){t[t.Pointer=0]="Pointer",t[t.DraggableRect=1]="DraggableRect"})(_1||(_1={}));var R1;(function(t){t[t.TreeOrder=0]="TreeOrder",t[t.ReversedTreeOrder=1]="ReversedTreeOrder"})(R1||(R1={}));Cf.Backward+"",Cf.Forward+"",Cf.Backward+"",Cf.Forward+"";var Pv;(function(t){t[t.Always=0]="Always",t[t.BeforeDragging=1]="BeforeDragging",t[t.WhileDragging=2]="WhileDragging"})(Pv||(Pv={}));var Ov;(function(t){t.Optimized="optimized"})(Ov||(Ov={}));Pv.WhileDragging,Ov.Optimized;({...a6});var A1;(function(t){t[t.Uninitialized=0]="Uninitialized",t[t.Initializing=1]="Initializing",t[t.Initialized=2]="Initialized"})(A1||(A1={}));function l6(t,e,n){const r=t.slice();return r.splice(n<0?r.length+n:n,0,r.splice(e,1)[0]),r}As.Down,As.Right,As.Up,As.Left;function u6(t){const e=new CustomEvent("updateFavoriteMenu",{detail:{menuItem:t}});window.dispatchEvent(e)}const ym="MENU_ITEM";function c6(t){const e=Tp.useLocation(),[n,r]=X.useState([]),[i,o]=X.useState([]),[a,c]=X.useState(!1);console.log("isSubmit",a);const f=X.useRef(null),[p,y]=X.useState(window.location.href);X.useEffect(()=>{y(window.location.href)},[e]);const g=q=>`${q}`;function T(q,ie){for(const x of q){if(x.id===ie)return x;if(x.children){const le=T(x.children,ie);if(le)return le}}return null}function E(q,ie){const x=T(n,q);x?(x.isFavorite=ie,u6(x),ib(q,ie)):console.error(`Item with id ${q} not found`)}const A=q=>{console.log("Favorite menus changed",q);const ie=q.detail.favoriteMenus||[];r(ie)},[I,j]=X.useState(!1);X.useEffect(()=>{const q=ie=>{j(ie.detail.isLoading)};return window.addEventListener("favoriteLoadingChange",q),()=>{window.removeEventListener("favoriteLoadingChange",q)}},[]),X.useEffect(()=>(window.addEventListener("favoriteMenusChange",A),()=>{window.removeEventListener("favoriteMenusChange",A)}),[]);const R=(q,ie)=>{n[q];const x=l6(n,q,ie);r(x),c(!0);const le={menuItemIds:x.map(ae=>ae.id)};Is.post("global-menu-config/api/v1/menu-items/user/order-favorites",le,{baseURL:t.baseUrl}).then(()=>{window.dispatchEvent(new CustomEvent("favoriteOrderUpdated",{detail:{favoriteMenuId:x.map(ae=>ae.id)}}))}).catch(ae=>{console.error(ae),r(n)}).finally(()=>{c(!1)})};console.log("favoriteItems",n);const U=Object.entries(t.brandColors||{}).reduce((q,[ie,x])=>(x&&(q[`--${ie}`]=x),q),{}),H=({item:q,index:ie})=>{const x=X.useRef(null),[{isDragging:le},ae]=JE({type:ym,item:()=>({id:q.id,index:ie}),collect:Oe=>({isDragging:Oe.isDragging()})}),[{isOver:Ve,isOverCurrent:tt},Qe]=cp(()=>({accept:ym,collect:Oe=>({isOver:Oe.isOver(),isOverCurrent:Oe.isOver({shallow:!0})}),drop:Oe=>{Oe.index!==ie&&(Oe.index<ie?(R(Oe.index,ie-1),Oe.index=ie-1):(R(Oe.index,ie),Oe.index=ie))}}),[]);let qe="hover-off";return(tt||Ve)&&(qe="hover-on"),ae(Qe(x)),Pe.jsx("div",{ref:x,style:{opacity:le?.7:1,boxShadow:le?"0 4px 8px rgba(0, 0, 0, 0.2)":"none",cursor:"move",display:"inline-block",marginRight:"8px",position:"relative",transition:"transform 0.3s ease-in-out",...U},className:`item ${qe}`,children:Pe.jsx($D,{replacePath:t.replacePath,ssr:t.ssr,brandColors:t.brandColors,baseUrl:t.baseUrl,item:q,level:1,onSetFavoriteSuccess:E,isDrop:a})})},ne=()=>{const q=X.useRef(null),[{isOver:ie,canDrop:x},le]=cp(()=>({accept:ym,drop:ae=>{R(ae.index,n.length-1),ae.index=n.length-1},collect:ae=>({isOver:ae.isOver(),canDrop:ae.canDrop()})}),[n]);return le(q),Pe.jsx("div",{ref:q,style:{height:48,width:150,display:"flex",alignItems:"center",justifyContent:"center",borderLeft:ie&&x?"2px solid var(--primary300)":"transparent",...U}})};return console.log("isLoading fav",I),Pe.jsx(Pe.Fragment,{children:Pe.jsx("div",{className:g(`favorite-menu${n.length===0?" favorite-menu--empty":""}`),style:{width:"100%",display:"flex"},children:n.length>0&&Pe.jsx(Yv,{ref:f,className:g("wrap-section favorite-menu__menu"),style:{marginTop:4,flex:1,height:"100%"},children:Pe.jsx(YE,{backend:rC,children:Pe.jsxs("div",{style:{display:"inline-flex"},children:[n.map((q,ie)=>Pe.jsx(H,{item:q,index:ie},q.id)),Pe.jsx(ne,{})]})})})})})}function f6(t=32){const[e,n]=X.useState(!0),r=X.useRef(0),i=()=>{const o=document.getElementById("app-iframe");if(o&&o.contentWindow){const a=o.contentWindow.scrollY;a>r.current&&a>t?n(!1):a<r.current&&n(!0),r.current=a}};return X.useEffect(()=>{const o=document.getElementById("app-iframe");if(!o)return;const a=()=>{const c=o.contentWindow;c&&c.addEventListener("scroll",i)};return o.addEventListener("load",a),()=>{o.removeEventListener("load",a);const c=o.contentWindow;c&&c.removeEventListener("scroll",i)}},[]),{isFavoriteBarVisible:e}}function d6(t){const{isFavoriteBarVisible:e}=f6();return Pe.jsxs(Pe.Fragment,{children:[Pe.jsx("style",{children:s6}),Pe.jsx("div",{className:`favorite-bar backdrop-delay-transition ${e?"favorite-bar--visible":"favorite-bar--hidden"}`,children:Pe.jsx(i6.div,{children:Pe.jsx(Uv,{styles:[WT,V4,o6],children:Pe.jsx(c6,{...t})})})})]})}function ib(t,e){const n=JSON.parse(localStorage.getItem("favoriteItems")||"[]");if(e)n.includes(t)||n.push(t);else{const r=n.indexOf(t);r>-1&&n.splice(r,1)}localStorage.setItem("favoriteItems",JSON.stringify(n))}function YD({...t}){var Se,Ne,We;const e=t.item,n=t.level||0,r=!!((Se=t.item.children)!=null&&Se.length),{isActive:i,isCollapsed:o}=t,a=`level-${n}`,c=o?"collapsed":"expanded",f=i(e.id)?"active":"",p=r?"parent":"child",y=t.params.isOpen?"isOpen":"isClose",g=t.isInternalApp?"isInternalApp":"",T=(Be,ze=a)=>`${Be} ${ze} ${c} ${f} ${p} ${y} ${g}`,[E,A]=X.useState(!1),[I,j]=X.useState(e.isFavorite||!1);X.useEffect(()=>{j(!!t.item.isFavorite)},[t.item.isFavorite]);const R=X.useRef(),U=X.useRef();U!=null&&U.current&&((Ne=U==null?void 0:U.current)==null?void 0:Ne.scrollWidth)>((We=U==null?void 0:U.current)==null?void 0:We.clientWidth);const H=window.location.origin,ne=e.path&&e.path.includes("http")?new URL(e.path):{origin:"",pathname:""},q=window.location.pathname.split("/")[1],ie=ne.pathname.split("/")[1],x=t.item.redirectUrl||t.ssr||!H.includes("local")&&H!==ne.origin||ie!==q,le=r?"div":!t.isInternalApp&&x?"a":Tp.Link,ae=e.redirectUrl||e.path||"#",Ve=n+1,tt=r&&o&&E,Qe=o||n===0?void 0:`${n+.25}rem`,qe=()=>{A(!0)},Oe=()=>{A(!1)},ue="/global-menu-config/api/v1/menu-items/user/set-favorite",ve=e.serviceKey==="mn_poms";t.params.depth*20,t.params.depth,BH(e.id,t.params.isOpen,t.params.onToggle);const Le=ve||o&&n===0?e.name==="POMs"?"Parking Operations Management":e.description||e.name:null,et=Object.entries(t.brandColors||{}).reduce((Be,[ze,Ke])=>(Ke&&(Be[`--${ze}`]=Ke),Be),{}),ge=H!==ne.origin||t.item.redirectUrl?"_blank":"_self";return Pe.jsxs("div",{ref:R,className:T("menu-item__wrapper tree-node"),style:{borderRadius:"8px",transition:"all 0.3s",...et},onMouseOver:qe,onMouseOut:Oe,onDragStart:Be=>{o&&n>1&&Be.preventDefault()},children:[Pe.jsx(aa.Tooltip,{placement:"top",title:Le,disableInteractive:!0,children:Pe.jsxs(le,{target:ge,to:ae,href:ae,draggable:"true",className:T("menu-item__link"),style:{paddingLeft:Qe},onClick:Be=>{le==="a"&&ge==="_blank"||(!r&&e.path&&localStorage.setItem("latestClickMenuPath",(e.path||"").replace(window.location.origin,"")),!o&&t.toggleExpand(Be))},children:[Pe.jsx(h6,{cls:T,item:e}),Pe.jsx("span",{className:T("menu-item__label"),ref:U,children:e.name}),Pe.jsx(p6,{tooltipPosition:Le?"right":"top",menuLevel:n,hasChildren:r,isHovered:E,isFavorite:I,onClick:Be=>{const ze={menuConfigId:e.id,isFavorite:Be},Ke=t.baseUrl+ue;Is.post(Ke,ze).then(ot=>{var ct;j(Be),qv("Set favorite menu item successfully"),(ct=t.onSetFavoriteSuccess)==null||ct.call(t,t.item.id,Be),ib(t.item.id,Be)}).catch(ot=>{var ct,pt;zd(((pt=(ct=ot.response)==null?void 0:ct.data)==null?void 0:pt.errorMessage)||"Have error when set favorite menu item")})}}),r&&Pe.jsx("div",{className:T("menu-item__icon-arrow__wrapper"),children:Pe.jsx(l4,{className:T(`menu-item__icon-arrow__icon ${t.params.isOpen?"open":"close"}`)})})]})}),tt&&Pe.jsx(u4,{parentRef:R,onlyChild:!o,renderChildren:({maxHeight:Be})=>{var ze;return Pe.jsx(AD.div,{className:T(`menu-item__dropdown ${t.params.isOpen?"menu-item__dropdown--open":"menu-item__dropdown--close"}`,`level-${Ve}`),style:nb({maxHeight:Be,overflowY:"auto",paddingRight:3},Be!=="auto"&&!!Ve),children:(ze=e.children)==null?void 0:ze.map(Ke=>X.createElement(YD,{...t,key:Ke.id,item:Ke,level:Ve}))})}})]})}function h6({item:t,cls:e}){return Pe.jsx("div",{className:e("menu-item__icon"),children:Pe.jsx(BD,{item:t})})}function p6(t){const e={marginRight:t.hasChildren?10:0,fontSize:18,fill:mr.warning};return Pe.jsxs(Pe.Fragment,{children:[t.isHovered&&!t.isFavorite&&Pe.jsx(aa.Tooltip,{placement:t.tooltipPosition||"top",title:"Add to favorites",disableInteractive:!0,children:Pe.jsx("div",{children:Pe.jsx(ID,{style:e,onClick:n=>{var r;n.preventDefault(),n.stopPropagation(),(r=t.onClick)==null||r.call(t,!0)}})})}),t.isFavorite&&Pe.jsx(aa.Tooltip,{placement:t.tooltipPosition||"top",title:"Remove from favorites",disableInteractive:!0,children:Pe.jsx("div",{children:Pe.jsx(MD,{style:e,onClick:n=>{var r;n.preventDefault(),n.stopPropagation(),(r=t.onClick)==null||r.call(t,!1)}})})})]})}function g6(){return Pe.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",children:Pe.jsx("path",{d:"M21 18v2H3v-2h18zM6.596 3.903L8.01 5.318 4.828 8.5 8.01 11.68l-1.414 1.415L2 8.5l4.596-4.597zM21 11v2h-9v-2h9zm0-7v2h-9V4h9z"})})}function m6(){return Pe.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",children:Pe.jsx("path",{d:"M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z"})})}function v6(t){return Pe.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",...t,children:Pe.jsx("path",{fill:"#E01B00",fillRule:"evenodd",d:"M.179 2.875A2.375 2.375 0 012.554.5h3.393a1.018 1.018 0 010 2.036H2.554a.34.34 0 00-.34.339v14.25c0 .187.152.34.34.34h3.393a1.018 1.018 0 110 2.035H2.554a2.375 2.375 0 01-2.375-2.375V2.875zm14.167 6.107h-7.72a1.018 1.018 0 000 2.036h7.72l-2.673 2.673a1.018 1.018 0 101.44 1.44l4.41-4.411a1.018 1.018 0 000-1.44l-4.41-4.41a1.018 1.018 0 10-1.44 1.439l2.673 2.673z",clipRule:"evenodd"})})}const y6=".flex-col-center{display:flex;flex-direction:column;justify-content:center}.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{position:fixed;top:64px;left:0;height:calc(100vh - 64px);max-width:18rem;display:flex;flex-direction:column;border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:5px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out;background-color:initial}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;color:#292929}.menu-item__wrapper.collapsed.active,.menu-item__wrapper.expanded.active.parent.isClose,.menu-item__wrapper.expanded.active.child{color:var(--primary400);background-color:var(--primary200)}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer}.menu-item__link.expanded.level-0{padding:.5rem 10px}.isHome{position:sticky;top:0;background-color:#fafafa;z-index:10}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-0{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.menu-item__link.active.level-0,.menu-item__link.active.level-1,.menu-item__link.active.level-2,.menu-item__link.active.level-3,.menu-item__link.active.level-4,.menu-item__link.active.level-5,.menu-item__link.active.level-6,.menu-item__link.active.level-7,.menu-item__link.active.level-8,.menu-item__link.active.level-9{background-color:inherit;color:inherit}.menu-item__link.active.level-1:hover,.menu-item__link.active.level-2:hover,.menu-item__link.active.level-3:hover,.menu-item__link.active.level-4:hover,.menu-item__link.active.level-5:hover,.menu-item__link.active.level-6:hover,.menu-item__link.active.level-7:hover,.menu-item__link.active.level-8:hover,.menu-item__link.active.level-9:hover,.menu-item__link.active.level-0:hover{background-color:#919eab14}.menu-item__link.level-0{transition:padding .2s}.menu-item__link.menu-item__link.collapsed.level-0{padding:0}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center;color:#85858a}.menu-item__icon.collapsed.active,.menu-item__icon.expanded.active.parent.isClose,.menu-item__icon.expanded.active.child{color:inherit}.menu-item__icon.collapsed.level-0>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;opacity:1}.menu-item__label.level-0.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{margin-left:8px;font-weight:500;font-size:.951rem}.menu-item__label.level-0.isInternalApp{font-weight:unset!important}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__icon{transition:transform .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:210px;max-width:210px;padding:4px;z-index:1200}.menu-item__dropdown::-webkit-scrollbar{width:4px}.menu-item__dropdown::-webkit-scrollbar-thumb{background-color:#9b9b9b99;border-radius:2px}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown.expanded.menu-item__dropdown--close{margin-top:0;transition:margin-top .3s}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-0{height:48px}.menu-item__dropdown.collapsed.level-0{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}",b6=t=>{const e=t.isCollapsed?0:t.depth*16;return Pe.jsx("div",{style:{backgroundColor:t.color||"#93D500",height:"2px",position:"absolute",right:"0",top:"0",left:e}})},w6=".app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}",x6=t=>{const[e,n]=X.useState(()=>{const r=localStorage.getItem("openingMenuIds");return r&&r!=="[]"?JSON.parse(r):(t==null?void 0:t.initOpenIds)||[]});return X.useEffect(()=>{localStorage.setItem("openingMenuIds",JSON.stringify(e))},[e]),[e,n]};function GD(t){const e=!t||t==="true"?"64px":"17rem";document.documentElement.style.setProperty("--global-menu-width",e);const n=new CustomEvent("menuWidthChange",{detail:{menuWidth:e}});window.dispatchEvent(n)}const qh=localStorage.getItem("isCollapsed");GD(qh);function S6(t){const e=new CustomEvent("favoriteMenusChange",{detail:{favoriteMenus:t}});window.dispatchEvent(e)}function T6(t){const e=Tp.useLocation(),[n,r]=X.useState([]),i=n.map(Oe=>Oe.data),[o,a]=X.useState(!1),[c,f]=X.useState([]),[p,y]=X.useState(qh===null?!0:qh==="true"),[g,T]=X.useState(window.location.href),E=X.useRef(null);X.useEffect(()=>{var Oe;(Oe=t.handleCallback)==null||Oe.call(t,i)},[i,t.handleCallback]),X.useEffect(()=>{T(window.location.href)},[e]);const A=E6(i,g),[I,j]=x6({initOpenIds:t.initOpenIds}),R=()=>{var Oe,ue;if(y(!p),localStorage.setItem("isCollapsed",JSON.stringify(!p)),GD(p),p)I&&((Oe=E.current)==null||Oe.open(I));else{const ve=n.filter(ke=>ke.parent===0).map(ke=>ke.id);console.log("closeIds:",ve),(ue=E.current)==null||ue.close(ve)}},[U,H]=X.useState(!1),ne=p?"collapsed":"expanded",q=Oe=>`${Oe} ${ne}`,ie=X.useRef(null);X.useLayoutEffect(()=>{(async()=>{var ue,ve;try{const ke=t.menuPath||"/global-menu-config/api/v1/menu-items/user",Le=t.baseUrl+ke,{data:et}=await Is.get(Le);let ge=et.map(Ne=>({...Ne,parentKey:Ne.parentKey||0}));ge=XD(ge),t.replacePath&&(ge=qD(ge,t.replacePath));const Se=ge.map(Ne=>({id:Ne.id,parent:Ne.parentKey,text:Ne.name,data:Ne}));r(Se)}catch(ke){console.error("Global menu",ke),zd(((ve=(ue=ke.response)==null?void 0:ue.data)==null?void 0:ve.errorMessage)||ke.message||"Have error when get menu items")}})()},[t.baseUrl,t.menuPath,t.replacePath]);const[x,le]=X.useState(!1),ae=async()=>{le(!0),window.dispatchEvent(new CustomEvent("favoriteLoadingChange",{detail:{isLoading:!0}}));try{const Oe=await fetch(`${t.baseUrl}/global-menu-config/api/v1/menu-items/user/get-favorites`);if(!Oe.ok)throw new Error("Failed to fetch favorite items");const ue=await Oe.json();f(ue),document.documentElement.style.setProperty("--favorite-menu-height",`${ue.length?57:0}px`)}catch(Oe){document.documentElement.style.setProperty("--favorite-menu-height","0px"),console.error("Error fetching favorite items:",Oe)}finally{le(!1),window.dispatchEvent(new CustomEvent("favoriteLoadingChange",{detail:{isLoading:!1}}))}};X.useEffect(()=>{ae()},[t.baseUrl,e]),X.useEffect(()=>{const Oe=ue=>{f(ue.detail.favoriteMenuId)};return window.addEventListener("favoriteOrderUpdated",Oe),()=>{window.removeEventListener("favoriteOrderUpdated",Oe)}},[]),console.log("favoriteMenuId",c),X.useEffect(()=>{let Oe=[];c.forEach(ke=>{const Le=i.find(et=>et.id===ke&&et.isFavorite===!0);Le&&(Oe=[...Oe,Le])}),console.log(Oe);function ue(ke){return i.every(Le=>Le.parentKey!==ke.id)?ke:{...ke,children:i.filter(Le=>Le.parentKey===ke.id).map(Le=>ue(Le))}}const ve=Oe.map(ke=>ue(ke));S6(ve)},[i]);function Ve(Oe){const ue=Oe.detail.menuItem;r(ve=>ve.map(ke=>ke.id!==ue.id?ke:{...ke,data:ue})),ae()}X.useEffect(()=>(window.addEventListener("updateFavoriteMenu",Ve),()=>{window.removeEventListener("updateFavoriteMenu",Ve)}),[]),X.useLayoutEffect(()=>{var ke;const Oe=localStorage.getItem("scrollPos");Oe&&ie.current&&setTimeout(()=>{const Le=ie.current.getScrollElement();Le.scrollTop=parseInt(Oe)},0);const ue=()=>{if(ie.current){const Le=ie.current.getScrollElement();localStorage.setItem("scrollPos",Le.scrollTop.toString())}},ve=(ke=ie.current)==null?void 0:ke.getScrollElement();return ve==null||ve.addEventListener("scroll",ue),()=>{ve==null||ve.removeEventListener("scroll",ue)}},[i]);function tt(Oe){a(!0);const ue=[...n],ve=[...Oe],ke=ve.filter(Be=>Be.parent===0),Le=ve.filter(Be=>Be.parent!==0),et=ke.find(Be=>{var ze;return((ze=Be.data)==null?void 0:ze.name)==="Home"}),ge=ke.filter(Be=>{var ze;return((ze=Be.data)==null?void 0:ze.name)!=="Home"}),Ne=[...et?[et,...ge]:ge,...Le];r(Ne);const We=Ne.map((Be,ze)=>({menuItemId:Be.id,order:ze}));Is.post("/global-menu-config/api/v1/menu-items/user",We,{baseURL:t.baseUrl}).then(()=>{}).catch(Be=>{console.error(Be),r(ue)}).finally(()=>{a(!1)})}const Qe=X.useMemo(()=>qh==="false"?I:[],[]),qe=document.getElementById("global-menu-container");return Pe.jsxs("div",{className:q("side-bar"),children:[Pe.jsx("div",{className:q("wrap-section side-bar__wrapper-toggle-btn"),children:Pe.jsx("button",{className:"icon-btn side-bar__toggle-btn",onClick:R,children:p?Pe.jsx(m6,{}):Pe.jsx(g6,{})})}),Pe.jsx(Yv,{ref:ie,className:q("wrap-section side-bar__menu"),style:{marginTop:24,flex:1,overflow:"auto",height:"100%",overflowX:"hidden"},children:Pe.jsx(YE,{backend:uH,options:MH(),children:Pe.jsx(ZH,{ref:E,classes:{root:"treeRoot",draggingSource:"draggingSource",placeholder:"placeholderContainer",listItem:Oe=>{var ue;return((ue=Oe.data)==null?void 0:ue.name)==="Home"?"isHome":""}},tree:n,rootId:0,sort:!1,insertDroppableFirst:!1,enableAnimateExpand:!0,dropTargetOffset:10,onDrop:tt,render:(Oe,ue)=>{function ve(ge){return n.every(Se=>Se.parent!==ge.id)?ge:{...ge,children:n.filter(Se=>Se.parent===ge.id).map(Se=>ve(Se.data))}}const ke=ve(Oe.data),Le=ge=>A.some(Se=>Se.id===ge);function et(ge,Se){r(Ne=>Ne.map(We=>We.id===ge?{...We,data:{...We.data,isFavorite:Se}}:We)),ae()}return Pe.jsx(YD,{isInternalApp:t.isInternalApp,isActive:Le,isCollapsed:p,replacePath:t.replacePath,ssr:t.ssr,brandColors:t.brandColors,baseUrl:t.baseUrl,node:Oe,params:ue,nodes:n,item:ke,expanded:()=>!1,toggleExpand:ge=>{var Se;if(ge.stopPropagation(),ue.isOpen)console.log("open toggleExpand"),ue.onToggle();else{console.log("close toggleExpand");const Ne=n.filter(We=>We.parent===Oe.parent&&We.id!==Oe.id).map(We=>We.id);console.log(" closeIds:",Ne),(Se=E.current)==null||Se.open(Oe.id),setTimeout(()=>{var We;(We=E.current)==null||We.close(Ne)},0)}},level:ue.depth,onSetFavoriteSuccess:et})},placeholderRender:(Oe,{depth:ue})=>{var ve;return Pe.jsx(b6,{node:Oe,depth:ue,color:(ve=t.brandColors)==null?void 0:ve.primary300,isCollapsed:p})},canDrag:Oe=>{var ue;return!o&&((ue=Oe==null?void 0:Oe.data)==null?void 0:ue.name)!=="Home"},canDrop:(Oe,{dragSource:ue,dropTargetId:ve})=>(ue==null?void 0:ue.parent)===ve,onDragStart:Oe=>{console.log("onDragStart",Oe)},onChangeOpen:Oe=>{localStorage.getItem("isCollapsed")==="false"&&(console.log("onChangeOpen:",Oe),j(Oe))},initialOpen:Qe})})}),Pe.jsxs("div",{className:q("wrap-section side-bar__wrap-btn-logout"),children:[Pe.jsxs("button",{className:q("side-bar__logout-btn"),onClick:()=>{qe.style.setProperty("z-index","1304"),qe.classList.remove("backdrop-delay-transition"),H(!0)},children:[Pe.jsx(v6,{className:q("side-bar__icon-logout")}),Pe.jsx("span",{className:q("side-bar__logout-btn__text"),children:"Logout"})]}),Pe.jsx(RT,{isOpen:U,onClose:()=>{qe.style.setProperty("z-index","var(--menu-z-index)"),qe.classList.add("backdrop-delay-transition"),H(!1)},onConfirm:()=>t.logout?t.logout():sT(t.baseUrl)})]})]})}const I1={"/stella/page/SiteManagement/Company/List?tenantId=1":["/stella/page/SiteManagement/Company","/stella/page/SiteManagement/Region","/stella/page/SiteManagement/Location","/stella/page/SiteManagement/Zone","/stella/page/SiteManagement/Service","/stella/page/SiteManagement/Sign"],"/stella/page/SiteManagement/Portfolio/List":["/stella/page/SiteManagement/Portfolio"],"/stella/page/SiteManagement/CountryRegion/List":["/stella/page/SiteManagement/CountryRegion"],"/stella/page/SiteManagement/VehicleListController/List":["/stella/page/SiteManagement/VehicleListController"],"/stella/page/ContraventionManagement/CorrespondenceTemplate/List":["/stella/page/ContraventionManagement/CorrespondenceTemplate"],"/stella/page/ContraventionManagement/VerificationsAudit/List":["/stella/page/ContraventionManagement/VerificationsAudit"],"/stella/page/ContraventionManagement/PendingWardenVerification/List":["/stella/page/ContraventionManagement/PendingWardenVerification"],"/stella/page/ContraventionManagement/Appeal/Search":["/stella/page/ContraventionManagement/Appeal"],"/stella/page/ContraventionManagement/Contravention/Search":["/stella/page/ContraventionManagement/Contravention"],"/stella/page/ContraventionManagement/Tag/Search":["/stella/page/ContraventionManagement/Tag"],"/stella/page/ContraventionManagement/WorkflowMapping/List":["/stella/page/ContraventionManagement/WorkflowMapping"],"/stella/page/ContraventionManagement/WorkflowLetterTemplateMapping/List":["/stella/page/ContraventionManagement/WorkflowLetterTemplateMapping"],"/stella/page/ContraventionManagement/ScannedAppeal/Summary":["/stella/page/ContraventionManagement/ScannedAppeal"],"/stella/page/ContraventionManagement/PendingAppealWorkQueue/List":["/stella/page/ContraventionManagement/PendingAppeal"],"/stella/page/ContraventionManagement/NoDecisionAIAppeal/List":["/stella/page/ContraventionManagement/NoDecisionAIAppeal"],"/stella/page/ContraventionManagement/VerifyAIAppeal/List":["/stella/page/ContraventionManagement/VerifyAIAppeal"],"/anpr/page/LocationDisableReasons/Index":["/anpr/page/LocationDisableReasons"],"/anpr/page/Tags/Index":["/anpr/page/Tags"],"/anpr/page/VendorLocations/Index":["/anpr/page/VendorLocations"],"/anpr/page/Cameras/Index":["/anpr/page/Cameras"],"/anpr/page/Locations/Index":["/anpr/page/Locations"],"/anpr/page/Devices/Index":["/anpr/page/Devices","/anpr/page/Locations"],"/anpr/page/Technical/Overview":["/anpr/page/Technical"],"/anpr/page/Technical/Index":["/anpr/page/Technical"],"/anpr/page/Technical/Index?priority=P1":["/anpr/page/Technical"],"/anpr/page/Technical/Index?priority=P2":["/anpr/page/Technical"],"/anpr/page/Technical/Index?priority=P3":["/anpr/page/Technical"],"/anpr/page/Technical/Index?priority=P4":["/anpr/page/Technical"],"/anpr/page/CustomVerifications/Overview":["/anpr/page/CustomVerifications/Overview"],"/anpr/page/CustomVerifications/WipByLocation":["/anpr/page/CustomVerifications"],"/anpr/page/Issues/Create":["/anpr/page/Issues/Create"],"/anpr/page/Issues/ExportAsCsv":["/anpr/page/Issues/ExportAsCsv"],"/anpr/page/Issues/Overview":["/anpr/page/Issues/Overview"],"/anpr/page/Issues/Index?status=Closed":["/anpr/page/Issues"],"/anpr/page/Issues/Index":["/anpr/page/Issues"]};function C6(t,e){const r=t.replace(window.origin,"").replace("/app",""),i=new URL(r,window.location.origin),o=new URL(e.replace("/app",""),window.origin),a=(localStorage.getItem("latestClickMenuPath")||"").replace("/app","");return r&&I1[r]&&I1[r].some(c=>e.replace("/app","").includes(c))?a===r?5:4:i.pathname===o.pathname&&i.search===o.search?3:i.pathname===o.pathname?2:o.pathname.startsWith(i.pathname)?1:0}function E6(t,e){const n=t.map(a=>({item:a,priority:a.path?C6(a.path,e):0})).filter(a=>a.priority>0);console.log(" index.tsx ~ matchedItems:",n);const r=n.length>0?n.reduce((a,c)=>c.priority>a.priority?c:a).item:null,i=[];let o=r;for(;o;)i.unshift(o),o=t.find(a=>a.id===(o==null?void 0:o.parentKey))||null;return i}function qD(t,e){return t.map(n=>{var r;return(r=n.children)!=null&&r.length?(n.path="",n.children=qD(n.children,e)):n.path=e(n.path),n})}function XD(t){return t.map(n=>n.path&&!n.path.includes("http")&&n.path.includes("/")?{...n,path:window.location.origin+"/app"+n.path}:(n.children&&(n.children=XD(n.children)),n))}function k6(t){return Pe.jsx(Uv,{id:"global-menu-container",styles:[WT,y6,w6],style:{zIndex:"var(--menu-z-index)",position:"relative"},className:"backdrop-delay-transition",children:Pe.jsx(T6,{...t})})}const D6={"page-container":"_page-container_1pwo1_1","page-main-content":"_page-main-content_1pwo1_8","page-title":"_page-title_1pwo1_19","text-base":"_text-base_1pwo1_26","mt-4":"_mt-4_1pwo1_33"};var wp={exports:{}};/**
|
|
135
|
+
`+m.stack}}var Wl=n.ReactCurrentDispatcher,ka=n.ReactDebugCurrentFrame,zl=0,To=1,Yl=2,Ks=3,Wc=4,il=0,Da=1,Pa=2,qu=12800;function zc(v){return console.error(v),null}function Zs(){}function Gl(v,l,d,m,S,_,B,Y,re){var xe=[],je=new Set,Ge={destination:null,responseState:l,progressiveChunkSize:m===void 0?qu:m,status:il,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:je,pingedTasks:xe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:S===void 0?zc:S,onAllReady:_===void 0?Zs:_,onShellReady:B===void 0?Zs:B,onShellError:Y===void 0?Zs:Y,onFatalError:re===void 0?Zs:re},nt=ol(Ge,0,null,d,!1,!1);nt.parentFlushed=!0;var xt=Wo(Ge,v,null,nt,je,Gn,Fl,Wf);return xe.push(xt),Ge}function Uo(v,l){var d=v.pingedTasks;d.push(l),d.length===1&&a(function(){return tc(v)})}function ql(v,l){return{id:_i,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l,errorDigest:null}}function Wo(v,l,d,m,S,_,B,Y){v.allPendingTasks++,d===null?v.pendingRootTasks++:d.pendingTasks++;var re={node:l,ping:function(){return Uo(v,re)},blockedBoundary:d,blockedSegment:m,abortSet:S,legacyContext:_,context:B,treeContext:Y};return re.componentStack=null,S.add(re),re}function ol(v,l,d,m,S,_){return{status:zl,id:-1,index:l,parentFlushed:!1,chunks:[],children:[],formatContext:m,boundary:d,lastPushedText:S,textEmbedded:_}}var Zi=null;function Ji(){return Zi===null||Zi.componentStack===null?"":Ea(Zi.componentStack)}function Co(v,l){v.componentStack={tag:0,parent:v.componentStack,type:l}}function sl(v,l){v.componentStack={tag:1,parent:v.componentStack,type:l}}function ms(v,l){v.componentStack={tag:2,parent:v.componentStack,type:l}}function Qi(v){v.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):v.componentStack=v.componentStack.parent}var Oa=null;function Xl(v,l){{var d;typeof l=="string"?d=l:l&&typeof l.message=="string"?d=l.message:d=String(l);var m=Oa||Ji();Oa=null,v.errorMessage=d,v.errorComponentStack=m}}function al(v,l){var d=v.onError(l);if(d!=null&&typeof d!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function _a(v,l){var d=v.onShellError;d(l);var m=v.onFatalError;m(l),v.destination!==null?(v.status=Pa,U(v.destination,l)):(v.status=Da,v.fatalError=l)}function Yc(v,l,d){Co(l,"Suspense");var m=l.blockedBoundary,S=l.blockedSegment,_=d.fallback,B=d.children,Y=new Set,re=ql(v,Y),xe=S.chunks.length,je=ol(v,xe,re,S.formatContext,!1,!1);S.children.push(je),S.lastPushedText=!1;var Ge=ol(v,0,null,S.formatContext,!1,!1);Ge.parentFlushed=!0,l.blockedBoundary=re,l.blockedSegment=Ge;try{if(Ci(v,l,B),_n(Ge.chunks,v.responseState,Ge.lastPushedText,Ge.textEmbedded),Ge.status=To,bs(re,Ge),re.pendingTasks===0){Qi(l);return}}catch(xt){Ge.status=Wc,re.forceClientRender=!0,re.errorDigest=al(v,xt),Xl(re,xt)}finally{l.blockedBoundary=m,l.blockedSegment=S}var nt=Wo(v,_,m,je,Y,l.legacyContext,l.context,l.treeContext);nt.componentStack=l.componentStack,v.pingedTasks.push(nt),Qi(l)}function Xu(v,l,d,m){Co(l,d);var S=l.blockedSegment,_=co(S.chunks,d,m,v.responseState,S.formatContext);S.lastPushedText=!1;var B=S.formatContext;S.formatContext=gi(B,d,m),Ci(v,l,_),S.formatContext=B,Mo(S.chunks,d),S.lastPushedText=!1,Qi(l)}function Ku(v){return v.prototype&&v.prototype.isReactComponent}function Js(v,l,d,m,S){var _={};Hu(l,_);var B=d(m,S);return Gs(d,m,B,S)}function Zu(v,l,d,m,S){var _=d.render();d.props!==S&&(Zl||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",pn(m)||"a component"),Zl=!0);{var B=m.childContextTypes;if(B!=null){var Y=l.legacyContext,re=Mu(d,m,Y,B);l.legacyContext=re,dr(v,l,_),l.legacyContext=Y;return}}dr(v,l,_)}function Kl(v,l,d,m){ms(l,d);var S=ls(d,l.legacyContext),_=xo(d,m,S);tl(_,d,m,S),Zu(v,l,_,d,m),Qi(l)}var Bt={},ll={},Ju={},Qs={},Zl=!1,Gc={},qc=!1,ii=!1,Xc=!1;function Jl(v,l,d,m){var S;if(S=ls(d,l.legacyContext),sl(l,d),d.prototype&&typeof d.prototype.render=="function"){var _=pn(d)||"Unknown";Bt[_]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",_,_),Bt[_]=!0)}var B=Js(v,l,d,m,S),Y=Ur();if(typeof B=="object"&&B!==null&&typeof B.render=="function"&&B.$$typeof===void 0){var re=pn(d)||"Unknown";ll[re]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",re,re,re),ll[re]=!0)}if(typeof B=="object"&&B!==null&&typeof B.render=="function"&&B.$$typeof===void 0){{var xe=pn(d)||"Unknown";ll[xe]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",xe,xe,xe),ll[xe]=!0)}tl(B,d,m,S),Zu(v,l,B,d,m)}else if(Qu(d),Y){var je=l.treeContext,Ge=1,nt=0;l.treeContext=ju(je,Ge,nt);try{dr(v,l,B)}finally{l.treeContext=je}}else dr(v,l,B);Qi(l)}function Qu(v){{if(v&&v.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",v.displayName||v.name||"Component"),v.defaultProps!==void 0){var l=pn(v)||"Unknown";Gc[l]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",l),Gc[l]=!0)}if(typeof v.getDerivedStateFromProps=="function"){var d=pn(v)||"Unknown";Qs[d]||(i("%s: Function components do not support getDerivedStateFromProps.",d),Qs[d]=!0)}if(typeof v.contextType=="object"&&v.contextType!==null){var m=pn(v)||"Unknown";Ju[m]||(i("%s: Function components do not support contextType.",m),Ju[m]=!0)}}}function ec(v,l){if(v&&v.defaultProps){var d=J({},l),m=v.defaultProps;for(var S in m)d[S]===void 0&&(d[S]=m[S]);return d}return l}function Kc(v,l,d,m,S){sl(l,d.render);var _=Js(v,l,d.render,m,S),B=Ur();if(B){var Y=l.treeContext,re=1,xe=0;l.treeContext=ju(Y,re,xe);try{dr(v,l,_)}finally{l.treeContext=Y}}else dr(v,l,_);Qi(l)}function Wr(v,l,d,m,S){var _=d.type,B=ec(_,m);ea(v,l,_,B,S)}function vs(v,l,d,m){d._context===void 0?d!==d.Consumer&&(Xc||(Xc=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):d=d._context;var S=m.children;typeof S!="function"&&i("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var _=Sa(d),B=S(_);dr(v,l,B)}function zr(v,l,d,m){var S=d._context,_=m.value,B=m.children,Y;Y=l.context,l.context=Lu(S,_),dr(v,l,B),l.context=$f(S),Y!==l.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Zc(v,l,d,m,S){Co(l,"Lazy");var _=d._payload,B=d._init,Y=B(_),re=ec(Y,m);ea(v,l,Y,re,S),Qi(l)}function ea(v,l,d,m,S){if(typeof d=="function")if(Ku(d)){Kl(v,l,d,m);return}else{Jl(v,l,d,m);return}if(typeof d=="string"){Xu(v,l,d,m);return}switch(d){case Yn:case Vt:case Z:case fe:case De:{dr(v,l,m.children);return}case lt:{Co(l,"SuspenseList"),dr(v,l,m.children),Qi(l);return}case wt:throw new Error("ReactDOMServer does not yet support scope components.");case st:{Yc(v,l,m);return}}if(typeof d=="object"&&d!==null)switch(d.$$typeof){case Fe:{Kc(v,l,d,m,S);return}case rt:{Wr(v,l,d,m,S);return}case ce:{zr(v,l,d,m);return}case Ie:{vs(v,l,d,m);return}case It:{Zc(v,l,d,m);return}}var _="";throw(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(d==null?d:typeof d)+"."+_))}function Jc(v,l){typeof Symbol=="function"&&v[Symbol.toStringTag]==="Generator"&&(qc||i("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),qc=!0),v.entries===l&&(ii||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ii=!0)}function dr(v,l,d){try{return Qc(v,l,d)}catch(m){throw typeof m=="object"&&m!==null&&typeof m.then=="function"||(Oa=Oa!==null?Oa:Ji()),m}}function Qc(v,l,d){if(l.node=d,typeof d=="object"&&d!==null){switch(d.$$typeof){case de:{var m=d,S=m.type,_=m.props,B=m.ref;ea(v,l,S,_,B);return}case Ce:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case It:{var Y=d,re=Y._payload,xe=Y._init,je;try{je=xe(re)}catch(eo){throw typeof eo=="object"&&eo!==null&&typeof eo.then=="function"&&Co(l,"Lazy"),eo}dr(v,l,je);return}}if(er(d)){Ql(v,l,d);return}var Ge=$r(d);if(Ge){Jc(d,Ge);var nt=Ge.call(d);if(nt){var xt=nt.next();if(!xt.done){var en=[];do en.push(xt.value),xt=nt.next();while(!xt.done);Ql(v,l,en);return}return}}var ir=Object.prototype.toString.call(d);throw new Error("Objects are not valid as a React child (found: "+(ir==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":ir)+"). If you meant to render a collection of children, use an array instead.")}if(typeof d=="string"){var Eo=l.blockedSegment;Eo.lastPushedText=On(l.blockedSegment.chunks,d,v.responseState,Eo.lastPushedText);return}if(typeof d=="number"){var ws=l.blockedSegment;ws.lastPushedText=On(l.blockedSegment.chunks,""+d,v.responseState,ws.lastPushedText);return}typeof d=="function"&&i("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Ql(v,l,d){for(var m=d.length,S=0;S<m;S++){var _=l.treeContext;l.treeContext=ju(_,m,S);try{Ci(v,l,d[S])}finally{l.treeContext=_}}}function eu(v,l,d){var m=l.blockedSegment,S=m.chunks.length,_=ol(v,S,null,m.formatContext,m.lastPushedText,!0);m.children.push(_),m.lastPushedText=!1;var B=Wo(v,l.node,l.blockedBoundary,_,l.abortSet,l.legacyContext,l.context,l.treeContext);l.componentStack!==null&&(B.componentStack=l.componentStack.parent);var Y=B.ping;d.then(Y,Y)}function Ci(v,l,d){var m=l.blockedSegment.formatContext,S=l.legacyContext,_=l.context,B=null;B=l.componentStack;try{return dr(v,l,d)}catch(Y){if(Uu(),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"){eu(v,l,Y),l.blockedSegment.formatContext=m,l.legacyContext=S,l.context=_,fs(_),l.componentStack=B;return}else throw l.blockedSegment.formatContext=m,l.legacyContext=S,l.context=_,fs(_),l.componentStack=B,Y}}function ef(v,l,d,m){var S=al(v,m);if(l===null?_a(v,m):(l.pendingTasks--,l.forceClientRender||(l.forceClientRender=!0,l.errorDigest=S,Xl(l,m),l.parentFlushed&&v.clientRenderedBoundaries.push(l))),v.allPendingTasks--,v.allPendingTasks===0){var _=v.onAllReady;_()}}function ys(v){var l=this,d=v.blockedBoundary,m=v.blockedSegment;m.status=Ks,ta(l,d,m)}function tu(v,l,d){var m=v.blockedBoundary,S=v.blockedSegment;if(S.status=Ks,m===null)l.allPendingTasks--,l.status!==Pa&&(l.status=Pa,l.destination!==null&&A(l.destination));else{if(m.pendingTasks--,!m.forceClientRender){m.forceClientRender=!0;var _=d===void 0?new Error("The render was aborted by the server without a reason."):d;m.errorDigest=l.onError(_);{var B="The server did not finish this Suspense boundary: ";_&&typeof _.message=="string"?_=B+_.message:_=B+String(_);var Y=Zi;Zi=v;try{Xl(m,_)}finally{Zi=Y}}m.parentFlushed&&l.clientRenderedBoundaries.push(m)}if(m.fallbackAbortableTasks.forEach(function(xe){return tu(xe,l,d)}),m.fallbackAbortableTasks.clear(),l.allPendingTasks--,l.allPendingTasks===0){var re=l.onAllReady;re()}}}function bs(v,l){if(l.chunks.length===0&&l.children.length===1&&l.children[0].boundary===null){var d=l.children[0];d.id=l.id,d.parentFlushed=!0,d.status===To&&bs(v,d)}else{var m=v.completedSegments;m.push(l)}}function ta(v,l,d){if(l===null){if(d.parentFlushed){if(v.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");v.completedRootSegment=d}if(v.pendingRootTasks--,v.pendingRootTasks===0){v.onShellError=Zs;var m=v.onShellReady;m()}}else if(l.pendingTasks--,!l.forceClientRender){if(l.pendingTasks===0)d.parentFlushed&&d.status===To&&bs(l,d),l.parentFlushed&&v.completedBoundaries.push(l),l.fallbackAbortableTasks.forEach(ys,v),l.fallbackAbortableTasks.clear();else if(d.parentFlushed&&d.status===To){bs(l,d);var S=l.completedSegments;S.length===1&&l.parentFlushed&&v.partialBoundaries.push(l)}}if(v.allPendingTasks--,v.allPendingTasks===0){var _=v.onAllReady;_()}}function Xf(v,l){var d=l.blockedSegment;if(d.status===zl){fs(l.context);var m=null;m=Zi,Zi=l;try{dr(v,l,l.node),_n(d.chunks,v.responseState,d.lastPushedText,d.textEmbedded),l.abortSet.delete(l),d.status=To,ta(v,l.blockedBoundary,d)}catch(_){if(Uu(),typeof _=="object"&&_!==null&&typeof _.then=="function"){var S=l.ping;_.then(S,S)}else l.abortSet.delete(l),d.status=Wc,ef(v,l.blockedBoundary,d,_)}finally{Zi=m}}}function tc(v){if(v.status!==Pa){var l=Fc(),d=Wl.current;Wl.current=rr;var m;m=ka.getCurrentStack,ka.getCurrentStack=Ji;var S=Xs;Ul(v.responseState);try{var _=v.pingedTasks,B;for(B=0;B<_.length;B++){var Y=_[B];Xf(v,Y)}_.splice(0,B),v.destination!==null&&Ii(v,v.destination)}catch(re){al(v,re),_a(v,re)}finally{Ul(S),Wl.current=d,ka.getCurrentStack=m,d===rr&&fs(l)}}}function ul(v,l,d){switch(d.parentFlushed=!0,d.status){case zl:{var m=d.id=v.nextSegmentId++;return d.lastPushedText=!1,d.textEmbedded=!1,cr(l,v.responseState,m)}case To:{d.status=Yl;for(var S=!0,_=d.chunks,B=0,Y=d.children,re=0;re<Y.length;re++){for(var xe=Y[re];B<xe.index;B++)g(l,_[B]);S=cl(v,l,xe)}for(;B<_.length-1;B++)g(l,_[B]);return B<_.length&&(S=T(l,_[B])),S}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function cl(v,l,d){var m=d.boundary;if(m===null)return ul(v,l,d);if(m.parentFlushed=!0,m.forceClientRender)return $e(l,v.responseState,m.errorDigest,m.errorMessage,m.errorComponentStack),ul(v,l,d),Et(l,v.responseState);if(m.pendingTasks>0){m.rootSegmentID=v.nextSegmentId++,m.completedSegments.length>0&&v.partialBoundaries.push(m);var S=m.id=nn(v.responseState);return Te(l,v.responseState,S),ul(v,l,d),Tt(l,v.responseState)}else{if(m.byteSize>v.progressiveChunkSize)return m.rootSegmentID=v.nextSegmentId++,v.completedBoundaries.push(m),Te(l,v.responseState,m.id),ul(v,l,d),Tt(l,v.responseState);Ae(l,v.responseState);var _=m.completedSegments;if(_.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var B=_[0];return cl(v,l,B),it(l,v.responseState)}}function nc(v,l,d){return Al(l,v.responseState,d.id,d.errorDigest,d.errorMessage,d.errorComponentStack)}function nu(v,l,d){return St(l,v.responseState,d.formatContext,d.id),cl(v,l,d),vt(l,d.formatContext)}function rc(v,l,d){for(var m=d.completedSegments,S=0;S<m.length;S++){var _=m[S];Yr(v,l,d,_)}return m.length=0,mo(l,v.responseState,d.id,d.rootSegmentID)}function tf(v,l,d){for(var m=d.completedSegments,S=0;S<m.length;S++){var _=m[S];if(!Yr(v,l,d,_))return S++,m.splice(0,S),!1}return m.splice(0,S),!0}function Yr(v,l,d,m){if(m.status===Yl)return!0;var S=m.id;if(S===-1){var _=m.id=d.rootSegmentID;if(_===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return nu(v,l,m)}else return nu(v,l,m),Ya(l,v.responseState,S)}function Ii(v,l){y();try{var d=v.completedRootSegment;d!==null&&v.pendingRootTasks===0&&(cl(v,l,d),v.completedRootSegment=null,bi(l,v.responseState));var m=v.clientRenderedBoundaries,S;for(S=0;S<m.length;S++){var _=m[S];nc(v,l,_)}m.splice(0,S);var B=v.completedBoundaries;for(S=0;S<B.length;S++){var Y=B[S];rc(v,l,Y)}B.splice(0,S),E(l),y(l);var re=v.partialBoundaries;for(S=0;S<re.length;S++){var xe=re[S];if(!tf(v,l,xe)){v.destination=null,S++,re.splice(0,S);return}}re.splice(0,S);var je=v.completedBoundaries;for(S=0;S<je.length;S++){var Ge=je[S];rc(v,l,Ge)}je.splice(0,S)}finally{E(l),v.allPendingTasks===0&&v.pingedTasks.length===0&&v.clientRenderedBoundaries.length===0&&v.completedBoundaries.length===0&&(v.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),A(l))}}function nf(v){a(function(){return tc(v)})}function Kf(v,l){if(v.status===Da){v.status=Pa,U(l,v.fatalError);return}if(v.status!==Pa&&v.destination===null){v.destination=l;try{Ii(v,l)}catch(d){al(v,d),_a(v,d)}}}function fl(v,l){try{var d=v.abortableTasks;d.forEach(function(m){return tu(m,v,l)}),d.clear(),v.destination!==null&&Ii(v,v.destination)}catch(m){al(v,m),_a(v,m)}}function Ra(v,l){return new Promise(function(d,m){var S,_,B=new Promise(function(nt,xt){_=nt,S=xt});function Y(){var nt=new ReadableStream({type:"bytes",pull:function(xt){Kf(xe,xt)},cancel:function(xt){fl(xe)}},{highWaterMark:0});nt.allReady=B,d(nt)}function re(nt){B.catch(function(){}),m(nt)}var xe=Gl(v,Oi(l?l.identifierPrefix:void 0,l?l.nonce:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),pi(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,_,Y,re,S);if(l&&l.signal){var je=l.signal,Ge=function(){fl(xe,je.reason),je.removeEventListener("abort",Ge)};je.addEventListener("abort",Ge)}nf(xe)})}Lh.renderToReadableStream=Ra,Lh.version=e}()),Lh}var Dc,Dv;process.env.NODE_ENV==="production"?(Dc=H4(),Dv=U4()):(Dc=W4(),Dv=z4());Dc.version;var Y4=Dc.renderToString;Dc.renderToStaticMarkup;Dc.renderToNodeStream;Dc.renderToStaticNodeStream;Dv.renderToReadableStream;var G4=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function VD(t,e){return t(e={exports:{}},e.exports),e.exports}var q4=VD(function(t){(function(e){var n=function(j,R,U){if(!f(R)||y(R)||g(R)||T(R)||c(R))return R;var H,ne=0,q=0;if(p(R))for(H=[],q=R.length;ne<q;ne++)H.push(n(j,R[ne],U));else for(var ie in H={},R)Object.prototype.hasOwnProperty.call(R,ie)&&(H[j(ie,U)]=n(j,R[ie],U));return H},r=function(j){return E(j)?j:(j=j.replace(/[\-_\s]+(.)?/g,function(R,U){return U?U.toUpperCase():""})).substr(0,1).toLowerCase()+j.substr(1)},i=function(j){var R=r(j);return R.substr(0,1).toUpperCase()+R.substr(1)},o=function(j,R){return function(U,H){var ne=(H=H||{}).separator||"_",q=H.split||/(?=[A-Z])/;return U.split(q).join(ne)}(j,R).toLowerCase()},a=Object.prototype.toString,c=function(j){return typeof j=="function"},f=function(j){return j===Object(j)},p=function(j){return a.call(j)=="[object Array]"},y=function(j){return a.call(j)=="[object Date]"},g=function(j){return a.call(j)=="[object RegExp]"},T=function(j){return a.call(j)=="[object Boolean]"},E=function(j){return(j-=0)==j},A=function(j,R){var U=R&&"process"in R?R.process:R;return typeof U!="function"?j:function(H,ne){return U(H,j,ne)}},I={camelize:r,decamelize:o,pascalize:i,depascalize:o,camelizeKeys:function(j,R){return n(A(r,R),j)},decamelizeKeys:function(j,R){return n(A(o,R),j,R)},pascalizeKeys:function(j,R){return n(A(i,R),j)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(G4)}).decamelize,X4=function(t){if(Array.isArray(t))return t},K4=function(t,e){if(typeof Symbol<"u"&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(f){i=!0,o=f}finally{try{r||c.return==null||c.return()}finally{if(i)throw o}}return n}},k1=function(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r},Z4=function(t,e){if(t){if(typeof t=="string")return k1(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k1(t,e):void 0}},J4=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
136
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Q4=function(t,e){return X4(t)||K4(t,e)||Z4(t,e)||J4()},HD=VD(function(t){function e(){return t.exports=e=Object.assign||function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])}return n},e.apply(this,arguments)}t.exports=e}),e6=function(t,e){if(t==null)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i},UD=function(t,e){if(t==null)return{};var n,r,i=e6(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i},t6=X.createContext(null);function WD(t){var e=t.children,n=e===void 0?"":e,r=UD(t,["children"]);return typeof n!="string"&&(n=Y4(n)),X.createElement("template",HD({},r,{dangerouslySetInnerHTML:{__html:n}}))}function zD(t){var e=t.root,n=t.children;return jv.createPortal(n===void 0?null:n,e)}function n6(t){var e=X.forwardRef(function(n,r){var i,o,a=n.mode,c=a===void 0?"open":a,f=n.delegatesFocus,p=f!==void 0&&f,y=n.styleSheets,g=y===void 0?[]:y,T=n.ssr,E=T!==void 0&&T,A=n.children,I=UD(n,["mode","delegatesFocus","styleSheets","ssr","children"]),j=(o=X.useRef((i=r)&&i.current),X.useEffect(function(){i&&(i.current=o.current)},[i]),o),R=X.useState(null),U=Q4(R,2),H=U[0],ne=U[1],q="node_".concat(c).concat(p);return X.useLayoutEffect(function(){if(j.current)try{if(typeof r=="function"&&r(j.current),E){var ie=j.current.shadowRoot;return void ne(ie)}var x=j.current.attachShadow({mode:c,delegatesFocus:p});g.length>0&&(x.adoptedStyleSheets=g),ne(x)}catch(le){(function(ae){var Ve=ae.error,tt=ae.styleSheets,Qe=ae.root;switch(Ve.name){case"NotSupportedError":tt.length>0&&(Qe.adoptedStyleSheets=tt);break;default:throw Ve}})({error:le,styleSheets:g,root:H})}},[r,j,g]),X.createElement(X.Fragment,null,X.createElement(t.tag,HD({key:q,ref:j},I),(H||E)&&X.createElement(t6.Provider,{value:H},E?X.createElement(WD,{shadowroot:c,shadowrootmode:c},t.render({root:H,ssr:E,children:A})):X.createElement(zD,{root:H},t.render({root:H,ssr:E,children:A})))))});return e.propTypes={mode:Rs.oneOf(["open","closed"]),delegatesFocus:Rs.bool,styleSheets:Rs.arrayOf(Rs.instanceOf(globalThis.CSSStyleSheet)),ssr:Rs.bool,children:Rs.node},e}WD.propTypes={children:Rs.oneOfType([Rs.string,Rs.node])},zD.propTypes={root:Rs.object.isRequired,children:Rs.node};var vm=new Map;function r6(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(r){return r.children};return new Proxy(t,{get:function(r,i){var o=q4(i,{separator:"-"}),a="".concat(e,"-").concat(o);return vm.has(a)||vm.set(a,n6({tag:o,render:n})),vm.get(a)}})}var i6=r6();const o6=".app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}",s6=".favorite-bar{position:sticky;top:64px;z-index:var(--menu-z-index);border-bottom:1px solid #ddd}.favorite-bar--hidden{transform:translateY(-100%);opacity:0}.favorite-bar--visible{transform:translateY(0);opacity:1}";var D1;(function(t){t.DragStart="dragStart",t.DragMove="dragMove",t.DragEnd="dragEnd",t.DragCancel="dragCancel",t.DragOver="dragOver",t.RegisterDroppable="registerDroppable",t.SetDroppableDisabled="setDroppableDisabled",t.UnregisterDroppable="unregisterDroppable"})(D1||(D1={}));const a6=Object.freeze({x:0,y:0});var Cf;(function(t){t[t.Forward=1]="Forward",t[t.Backward=-1]="Backward"})(Cf||(Cf={}));var P1;(function(t){t.Click="click",t.DragStart="dragstart",t.Keydown="keydown",t.ContextMenu="contextmenu",t.Resize="resize",t.SelectionChange="selectionchange",t.VisibilityChange="visibilitychange"})(P1||(P1={}));var As;(function(t){t.Space="Space",t.Down="ArrowDown",t.Right="ArrowRight",t.Left="ArrowLeft",t.Up="ArrowUp",t.Esc="Escape",t.Enter="Enter",t.Tab="Tab"})(As||(As={}));As.Space,As.Enter,As.Esc,As.Space,As.Enter,As.Tab;var O1;(function(t){t[t.RightClick=2]="RightClick"})(O1||(O1={}));var _1;(function(t){t[t.Pointer=0]="Pointer",t[t.DraggableRect=1]="DraggableRect"})(_1||(_1={}));var R1;(function(t){t[t.TreeOrder=0]="TreeOrder",t[t.ReversedTreeOrder=1]="ReversedTreeOrder"})(R1||(R1={}));Cf.Backward+"",Cf.Forward+"",Cf.Backward+"",Cf.Forward+"";var Pv;(function(t){t[t.Always=0]="Always",t[t.BeforeDragging=1]="BeforeDragging",t[t.WhileDragging=2]="WhileDragging"})(Pv||(Pv={}));var Ov;(function(t){t.Optimized="optimized"})(Ov||(Ov={}));Pv.WhileDragging,Ov.Optimized;({...a6});var A1;(function(t){t[t.Uninitialized=0]="Uninitialized",t[t.Initializing=1]="Initializing",t[t.Initialized=2]="Initialized"})(A1||(A1={}));function l6(t,e,n){const r=t.slice();return r.splice(n<0?r.length+n:n,0,r.splice(e,1)[0]),r}As.Down,As.Right,As.Up,As.Left;function u6(t){const e=new CustomEvent("updateFavoriteMenu",{detail:{menuItem:t}});window.dispatchEvent(e)}const ym="MENU_ITEM";function c6(t){const e=Tp.useLocation(),[n,r]=X.useState([]),[i,o]=X.useState([]),[a,c]=X.useState(!1);console.log("isSubmit",a);const f=X.useRef(null),[p,y]=X.useState(window.location.href);X.useEffect(()=>{y(window.location.href)},[e]);const g=q=>`${q}`;function T(q,ie){for(const x of q){if(x.id===ie)return x;if(x.children){const le=T(x.children,ie);if(le)return le}}return null}function E(q,ie){const x=T(n,q);x?(x.isFavorite=ie,u6(x),ib(q,ie)):console.error(`Item with id ${q} not found`)}const A=q=>{console.log("Favorite menus changed",q);const ie=q.detail.favoriteMenus||[];r(ie)},[I,j]=X.useState(!1);X.useEffect(()=>{const q=ie=>{j(ie.detail.isLoading)};return window.addEventListener("favoriteLoadingChange",q),()=>{window.removeEventListener("favoriteLoadingChange",q)}},[]),X.useEffect(()=>(window.addEventListener("favoriteMenusChange",A),()=>{window.removeEventListener("favoriteMenusChange",A)}),[]);const R=(q,ie)=>{n[q];const x=l6(n,q,ie);r(x),c(!0);const le={menuItemIds:x.map(ae=>ae.id)};Is.post("global-menu-config/api/v1/menu-items/user/order-favorites",le,{baseURL:t.baseUrl}).then(()=>{window.dispatchEvent(new CustomEvent("favoriteOrderUpdated",{detail:{favoriteMenuId:x.map(ae=>ae.id)}}))}).catch(ae=>{console.error(ae),r(n)}).finally(()=>{c(!1)})};console.log("favoriteItems",n);const U=Object.entries(t.brandColors||{}).reduce((q,[ie,x])=>(x&&(q[`--${ie}`]=x),q),{}),H=({item:q,index:ie})=>{const x=X.useRef(null),[{isDragging:le},ae]=JE({type:ym,item:()=>({id:q.id,index:ie}),collect:Oe=>({isDragging:Oe.isDragging()})}),[{isOver:Ve,isOverCurrent:tt},Qe]=cp(()=>({accept:ym,collect:Oe=>({isOver:Oe.isOver(),isOverCurrent:Oe.isOver({shallow:!0})}),drop:Oe=>{Oe.index!==ie&&(Oe.index<ie?(R(Oe.index,ie-1),Oe.index=ie-1):(R(Oe.index,ie),Oe.index=ie))}}),[]);let qe="hover-off";return(tt||Ve)&&(qe="hover-on"),ae(Qe(x)),Pe.jsx("div",{ref:x,style:{opacity:le?.7:1,boxShadow:le?"0 4px 8px rgba(0, 0, 0, 0.2)":"none",cursor:"move",display:"inline-block",marginRight:"8px",position:"relative",transition:"transform 0.3s ease-in-out",...U},className:`item ${qe}`,children:Pe.jsx($D,{replacePath:t.replacePath,ssr:t.ssr,brandColors:t.brandColors,baseUrl:t.baseUrl,item:q,level:1,onSetFavoriteSuccess:E,isDrop:a})})},ne=()=>{const q=X.useRef(null),[{isOver:ie,canDrop:x},le]=cp(()=>({accept:ym,drop:ae=>{R(ae.index,n.length-1),ae.index=n.length-1},collect:ae=>({isOver:ae.isOver(),canDrop:ae.canDrop()})}),[n]);return le(q),Pe.jsx("div",{ref:q,style:{height:48,width:150,display:"flex",alignItems:"center",justifyContent:"center",borderLeft:ie&&x?"2px solid var(--primary300)":"transparent",...U}})};return console.log("isLoading fav",I),Pe.jsx(Pe.Fragment,{children:Pe.jsx("div",{className:g(`favorite-menu${n.length===0?" favorite-menu--empty":""}`),style:{width:"100%",display:"flex"},children:n.length>0&&Pe.jsx(Yv,{ref:f,className:g("wrap-section favorite-menu__menu"),style:{marginTop:4,flex:1,height:"100%"},children:Pe.jsx(YE,{backend:rC,children:Pe.jsxs("div",{style:{display:"inline-flex"},children:[n.map((q,ie)=>Pe.jsx(H,{item:q,index:ie},q.id)),Pe.jsx(ne,{})]})})})})})}function f6(t=32){const[e,n]=X.useState(!0),[r,i]=X.useState(0),o=()=>{const a=window.scrollY;a>r&&a>t?n(!1):a<r&&n(!0),i(a)};return X.useEffect(()=>(window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)),[r]),{isFavoriteBarVisible:e}}function d6(t){const{isFavoriteBarVisible:e}=f6();return Pe.jsxs(Pe.Fragment,{children:[Pe.jsx("style",{children:s6}),Pe.jsx("div",{className:`favorite-bar backdrop-delay-transition ${e?"favorite-bar--visible":"favorite-bar--hidden"}`,children:Pe.jsx(i6.div,{children:Pe.jsx(Uv,{styles:[WT,V4,o6],children:Pe.jsx(c6,{...t})})})})]})}function ib(t,e){const n=JSON.parse(localStorage.getItem("favoriteItems")||"[]");if(e)n.includes(t)||n.push(t);else{const r=n.indexOf(t);r>-1&&n.splice(r,1)}localStorage.setItem("favoriteItems",JSON.stringify(n))}function YD({...t}){var Se,Ne,We;const e=t.item,n=t.level||0,r=!!((Se=t.item.children)!=null&&Se.length),{isActive:i,isCollapsed:o}=t,a=`level-${n}`,c=o?"collapsed":"expanded",f=i(e.id)?"active":"",p=r?"parent":"child",y=t.params.isOpen?"isOpen":"isClose",g=t.isInternalApp?"isInternalApp":"",T=(Be,ze=a)=>`${Be} ${ze} ${c} ${f} ${p} ${y} ${g}`,[E,A]=X.useState(!1),[I,j]=X.useState(e.isFavorite||!1);X.useEffect(()=>{j(!!t.item.isFavorite)},[t.item.isFavorite]);const R=X.useRef(),U=X.useRef();U!=null&&U.current&&((Ne=U==null?void 0:U.current)==null?void 0:Ne.scrollWidth)>((We=U==null?void 0:U.current)==null?void 0:We.clientWidth);const H=window.location.origin,ne=e.path&&e.path.includes("http")?new URL(e.path):{origin:"",pathname:""},q=window.location.pathname.split("/")[1],ie=ne.pathname.split("/")[1],x=t.item.redirectUrl||t.ssr||!H.includes("local")&&H!==ne.origin||ie!==q,le=r?"div":!t.isInternalApp&&x?"a":Tp.Link,ae=e.redirectUrl||e.path||"#",Ve=n+1,tt=r&&o&&E,Qe=o||n===0?void 0:`${n+.25}rem`,qe=()=>{A(!0)},Oe=()=>{A(!1)},ue="/global-menu-config/api/v1/menu-items/user/set-favorite",ve=e.serviceKey==="mn_poms";t.params.depth*20,t.params.depth,BH(e.id,t.params.isOpen,t.params.onToggle);const Le=ve||o&&n===0?e.name==="POMs"?"Parking Operations Management":e.description||e.name:null,et=Object.entries(t.brandColors||{}).reduce((Be,[ze,Ke])=>(Ke&&(Be[`--${ze}`]=Ke),Be),{}),ge=H!==ne.origin||t.item.redirectUrl?"_blank":"_self";return Pe.jsxs("div",{ref:R,className:T("menu-item__wrapper tree-node"),style:{borderRadius:"8px",transition:"all 0.3s",...et},onMouseOver:qe,onMouseOut:Oe,onDragStart:Be=>{o&&n>1&&Be.preventDefault()},children:[Pe.jsx(aa.Tooltip,{placement:"top",title:Le,disableInteractive:!0,children:Pe.jsxs(le,{target:ge,to:ae,href:ae,draggable:"true",className:T("menu-item__link"),style:{paddingLeft:Qe},onClick:Be=>{le==="a"&&ge==="_blank"||(!r&&e.path&&localStorage.setItem("latestClickMenuPath",(e.path||"").replace(window.location.origin,"")),!o&&t.toggleExpand(Be))},children:[Pe.jsx(h6,{cls:T,item:e}),Pe.jsx("span",{className:T("menu-item__label"),ref:U,children:e.name}),Pe.jsx(p6,{tooltipPosition:Le?"right":"top",menuLevel:n,hasChildren:r,isHovered:E,isFavorite:I,onClick:Be=>{const ze={menuConfigId:e.id,isFavorite:Be},Ke=t.baseUrl+ue;Is.post(Ke,ze).then(ot=>{var ct;j(Be),qv("Set favorite menu item successfully"),(ct=t.onSetFavoriteSuccess)==null||ct.call(t,t.item.id,Be),ib(t.item.id,Be)}).catch(ot=>{var ct,pt;zd(((pt=(ct=ot.response)==null?void 0:ct.data)==null?void 0:pt.errorMessage)||"Have error when set favorite menu item")})}}),r&&Pe.jsx("div",{className:T("menu-item__icon-arrow__wrapper"),children:Pe.jsx(l4,{className:T(`menu-item__icon-arrow__icon ${t.params.isOpen?"open":"close"}`)})})]})}),tt&&Pe.jsx(u4,{parentRef:R,onlyChild:!o,renderChildren:({maxHeight:Be})=>{var ze;return Pe.jsx(AD.div,{className:T(`menu-item__dropdown ${t.params.isOpen?"menu-item__dropdown--open":"menu-item__dropdown--close"}`,`level-${Ve}`),style:nb({maxHeight:Be,overflowY:"auto",paddingRight:3},Be!=="auto"&&!!Ve),children:(ze=e.children)==null?void 0:ze.map(Ke=>X.createElement(YD,{...t,key:Ke.id,item:Ke,level:Ve}))})}})]})}function h6({item:t,cls:e}){return Pe.jsx("div",{className:e("menu-item__icon"),children:Pe.jsx(BD,{item:t})})}function p6(t){const e={marginRight:t.hasChildren?10:0,fontSize:18,fill:mr.warning};return Pe.jsxs(Pe.Fragment,{children:[t.isHovered&&!t.isFavorite&&Pe.jsx(aa.Tooltip,{placement:t.tooltipPosition||"top",title:"Add to favorites",disableInteractive:!0,children:Pe.jsx("div",{children:Pe.jsx(ID,{style:e,onClick:n=>{var r;n.preventDefault(),n.stopPropagation(),(r=t.onClick)==null||r.call(t,!0)}})})}),t.isFavorite&&Pe.jsx(aa.Tooltip,{placement:t.tooltipPosition||"top",title:"Remove from favorites",disableInteractive:!0,children:Pe.jsx("div",{children:Pe.jsx(MD,{style:e,onClick:n=>{var r;n.preventDefault(),n.stopPropagation(),(r=t.onClick)==null||r.call(t,!1)}})})})]})}function g6(){return Pe.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",children:Pe.jsx("path",{d:"M21 18v2H3v-2h18zM6.596 3.903L8.01 5.318 4.828 8.5 8.01 11.68l-1.414 1.415L2 8.5l4.596-4.597zM21 11v2h-9v-2h9zm0-7v2h-9V4h9z"})})}function m6(){return Pe.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",children:Pe.jsx("path",{d:"M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z"})})}function v6(t){return Pe.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",...t,children:Pe.jsx("path",{fill:"#E01B00",fillRule:"evenodd",d:"M.179 2.875A2.375 2.375 0 012.554.5h3.393a1.018 1.018 0 010 2.036H2.554a.34.34 0 00-.34.339v14.25c0 .187.152.34.34.34h3.393a1.018 1.018 0 110 2.035H2.554a2.375 2.375 0 01-2.375-2.375V2.875zm14.167 6.107h-7.72a1.018 1.018 0 000 2.036h7.72l-2.673 2.673a1.018 1.018 0 101.44 1.44l4.41-4.411a1.018 1.018 0 000-1.44l-4.41-4.41a1.018 1.018 0 10-1.44 1.439l2.673 2.673z",clipRule:"evenodd"})})}const y6=".flex-col-center{display:flex;flex-direction:column;justify-content:center}.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{position:fixed;top:64px;left:0;height:calc(100vh - 64px);max-width:18rem;display:flex;flex-direction:column;border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:5px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out;background-color:initial}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;color:#292929}.menu-item__wrapper.collapsed.active,.menu-item__wrapper.expanded.active.parent.isClose,.menu-item__wrapper.expanded.active.child{color:var(--primary400);background-color:var(--primary200)}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer}.menu-item__link.expanded.level-0{padding:.5rem 10px}.isHome{position:sticky;top:0;background-color:#fafafa;z-index:10}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-0{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.menu-item__link.active.level-0,.menu-item__link.active.level-1,.menu-item__link.active.level-2,.menu-item__link.active.level-3,.menu-item__link.active.level-4,.menu-item__link.active.level-5,.menu-item__link.active.level-6,.menu-item__link.active.level-7,.menu-item__link.active.level-8,.menu-item__link.active.level-9{background-color:inherit;color:inherit}.menu-item__link.active.level-1:hover,.menu-item__link.active.level-2:hover,.menu-item__link.active.level-3:hover,.menu-item__link.active.level-4:hover,.menu-item__link.active.level-5:hover,.menu-item__link.active.level-6:hover,.menu-item__link.active.level-7:hover,.menu-item__link.active.level-8:hover,.menu-item__link.active.level-9:hover,.menu-item__link.active.level-0:hover{background-color:#919eab14}.menu-item__link.level-0{transition:padding .2s}.menu-item__link.menu-item__link.collapsed.level-0{padding:0}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center;color:#85858a}.menu-item__icon.collapsed.active,.menu-item__icon.expanded.active.parent.isClose,.menu-item__icon.expanded.active.child{color:inherit}.menu-item__icon.collapsed.level-0>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;opacity:1}.menu-item__label.level-0.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{margin-left:8px;font-weight:500;font-size:.951rem}.menu-item__label.level-0.isInternalApp{font-weight:unset!important}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__icon{transition:transform .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:210px;max-width:210px;padding:4px;z-index:1200}.menu-item__dropdown::-webkit-scrollbar{width:4px}.menu-item__dropdown::-webkit-scrollbar-thumb{background-color:#9b9b9b99;border-radius:2px}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown.expanded.menu-item__dropdown--close{margin-top:0;transition:margin-top .3s}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-0{height:48px}.menu-item__dropdown.collapsed.level-0{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}",b6=t=>{const e=t.isCollapsed?0:t.depth*16;return Pe.jsx("div",{style:{backgroundColor:t.color||"#93D500",height:"2px",position:"absolute",right:"0",top:"0",left:e}})},w6=".app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}",x6=t=>{const[e,n]=X.useState(()=>{const r=localStorage.getItem("openingMenuIds");return r&&r!=="[]"?JSON.parse(r):(t==null?void 0:t.initOpenIds)||[]});return X.useEffect(()=>{localStorage.setItem("openingMenuIds",JSON.stringify(e))},[e]),[e,n]};function GD(t){const e=!t||t==="true"?"64px":"17rem";document.documentElement.style.setProperty("--global-menu-width",e);const n=new CustomEvent("menuWidthChange",{detail:{menuWidth:e}});window.dispatchEvent(n)}const qh=localStorage.getItem("isCollapsed");GD(qh);function S6(t){const e=new CustomEvent("favoriteMenusChange",{detail:{favoriteMenus:t}});window.dispatchEvent(e)}function T6(t){const e=Tp.useLocation(),[n,r]=X.useState([]),i=n.map(Oe=>Oe.data),[o,a]=X.useState(!1),[c,f]=X.useState([]),[p,y]=X.useState(qh===null?!0:qh==="true"),[g,T]=X.useState(window.location.href),E=X.useRef(null);X.useEffect(()=>{var Oe;(Oe=t.handleCallback)==null||Oe.call(t,i)},[i,t.handleCallback]),X.useEffect(()=>{T(window.location.href)},[e]);const A=E6(i,g),[I,j]=x6({initOpenIds:t.initOpenIds}),R=()=>{var Oe,ue;if(y(!p),localStorage.setItem("isCollapsed",JSON.stringify(!p)),GD(p),p)I&&((Oe=E.current)==null||Oe.open(I));else{const ve=n.filter(ke=>ke.parent===0).map(ke=>ke.id);console.log("closeIds:",ve),(ue=E.current)==null||ue.close(ve)}},[U,H]=X.useState(!1),ne=p?"collapsed":"expanded",q=Oe=>`${Oe} ${ne}`,ie=X.useRef(null);X.useLayoutEffect(()=>{(async()=>{var ue,ve;try{const ke=t.menuPath||"/global-menu-config/api/v1/menu-items/user",Le=t.baseUrl+ke,{data:et}=await Is.get(Le);let ge=et.map(Ne=>({...Ne,parentKey:Ne.parentKey||0}));ge=XD(ge),t.replacePath&&(ge=qD(ge,t.replacePath));const Se=ge.map(Ne=>({id:Ne.id,parent:Ne.parentKey,text:Ne.name,data:Ne}));r(Se)}catch(ke){console.error("Global menu",ke),zd(((ve=(ue=ke.response)==null?void 0:ue.data)==null?void 0:ve.errorMessage)||ke.message||"Have error when get menu items")}})()},[t.baseUrl,t.menuPath,t.replacePath]);const[x,le]=X.useState(!1),ae=async()=>{le(!0),window.dispatchEvent(new CustomEvent("favoriteLoadingChange",{detail:{isLoading:!0}}));try{const Oe=await fetch(`${t.baseUrl}/global-menu-config/api/v1/menu-items/user/get-favorites`);if(!Oe.ok)throw new Error("Failed to fetch favorite items");const ue=await Oe.json();f(ue),document.documentElement.style.setProperty("--favorite-menu-height",`${ue.length?57:0}px`)}catch(Oe){document.documentElement.style.setProperty("--favorite-menu-height","0px"),console.error("Error fetching favorite items:",Oe)}finally{le(!1),window.dispatchEvent(new CustomEvent("favoriteLoadingChange",{detail:{isLoading:!1}}))}};X.useEffect(()=>{ae()},[t.baseUrl,e]),X.useEffect(()=>{const Oe=ue=>{f(ue.detail.favoriteMenuId)};return window.addEventListener("favoriteOrderUpdated",Oe),()=>{window.removeEventListener("favoriteOrderUpdated",Oe)}},[]),console.log("favoriteMenuId",c),X.useEffect(()=>{let Oe=[];c.forEach(ke=>{const Le=i.find(et=>et.id===ke&&et.isFavorite===!0);Le&&(Oe=[...Oe,Le])}),console.log(Oe);function ue(ke){return i.every(Le=>Le.parentKey!==ke.id)?ke:{...ke,children:i.filter(Le=>Le.parentKey===ke.id).map(Le=>ue(Le))}}const ve=Oe.map(ke=>ue(ke));S6(ve)},[i]);function Ve(Oe){const ue=Oe.detail.menuItem;r(ve=>ve.map(ke=>ke.id!==ue.id?ke:{...ke,data:ue})),ae()}X.useEffect(()=>(window.addEventListener("updateFavoriteMenu",Ve),()=>{window.removeEventListener("updateFavoriteMenu",Ve)}),[]),X.useLayoutEffect(()=>{var ke;const Oe=localStorage.getItem("scrollPos");Oe&&ie.current&&setTimeout(()=>{const Le=ie.current.getScrollElement();Le.scrollTop=parseInt(Oe)},0);const ue=()=>{if(ie.current){const Le=ie.current.getScrollElement();localStorage.setItem("scrollPos",Le.scrollTop.toString())}},ve=(ke=ie.current)==null?void 0:ke.getScrollElement();return ve==null||ve.addEventListener("scroll",ue),()=>{ve==null||ve.removeEventListener("scroll",ue)}},[i]);function tt(Oe){a(!0);const ue=[...n],ve=[...Oe],ke=ve.filter(Be=>Be.parent===0),Le=ve.filter(Be=>Be.parent!==0),et=ke.find(Be=>{var ze;return((ze=Be.data)==null?void 0:ze.name)==="Home"}),ge=ke.filter(Be=>{var ze;return((ze=Be.data)==null?void 0:ze.name)!=="Home"}),Ne=[...et?[et,...ge]:ge,...Le];r(Ne);const We=Ne.map((Be,ze)=>({menuItemId:Be.id,order:ze}));Is.post("/global-menu-config/api/v1/menu-items/user",We,{baseURL:t.baseUrl}).then(()=>{}).catch(Be=>{console.error(Be),r(ue)}).finally(()=>{a(!1)})}const Qe=X.useMemo(()=>qh==="false"?I:[],[]),qe=document.getElementById("global-menu-container");return Pe.jsxs("div",{className:q("side-bar"),children:[Pe.jsx("div",{className:q("wrap-section side-bar__wrapper-toggle-btn"),children:Pe.jsx("button",{className:"icon-btn side-bar__toggle-btn",onClick:R,children:p?Pe.jsx(m6,{}):Pe.jsx(g6,{})})}),Pe.jsx(Yv,{ref:ie,className:q("wrap-section side-bar__menu"),style:{marginTop:24,flex:1,overflow:"auto",height:"100%",overflowX:"hidden"},children:Pe.jsx(YE,{backend:uH,options:MH(),children:Pe.jsx(ZH,{ref:E,classes:{root:"treeRoot",draggingSource:"draggingSource",placeholder:"placeholderContainer",listItem:Oe=>{var ue;return((ue=Oe.data)==null?void 0:ue.name)==="Home"?"isHome":""}},tree:n,rootId:0,sort:!1,insertDroppableFirst:!1,enableAnimateExpand:!0,dropTargetOffset:10,onDrop:tt,render:(Oe,ue)=>{function ve(ge){return n.every(Se=>Se.parent!==ge.id)?ge:{...ge,children:n.filter(Se=>Se.parent===ge.id).map(Se=>ve(Se.data))}}const ke=ve(Oe.data),Le=ge=>A.some(Se=>Se.id===ge);function et(ge,Se){r(Ne=>Ne.map(We=>We.id===ge?{...We,data:{...We.data,isFavorite:Se}}:We)),ae()}return Pe.jsx(YD,{isInternalApp:t.isInternalApp,isActive:Le,isCollapsed:p,replacePath:t.replacePath,ssr:t.ssr,brandColors:t.brandColors,baseUrl:t.baseUrl,node:Oe,params:ue,nodes:n,item:ke,expanded:()=>!1,toggleExpand:ge=>{var Se;if(ge.stopPropagation(),ue.isOpen)console.log("open toggleExpand"),ue.onToggle();else{console.log("close toggleExpand");const Ne=n.filter(We=>We.parent===Oe.parent&&We.id!==Oe.id).map(We=>We.id);console.log(" closeIds:",Ne),(Se=E.current)==null||Se.open(Oe.id),setTimeout(()=>{var We;(We=E.current)==null||We.close(Ne)},0)}},level:ue.depth,onSetFavoriteSuccess:et})},placeholderRender:(Oe,{depth:ue})=>{var ve;return Pe.jsx(b6,{node:Oe,depth:ue,color:(ve=t.brandColors)==null?void 0:ve.primary300,isCollapsed:p})},canDrag:Oe=>{var ue;return!o&&((ue=Oe==null?void 0:Oe.data)==null?void 0:ue.name)!=="Home"},canDrop:(Oe,{dragSource:ue,dropTargetId:ve})=>(ue==null?void 0:ue.parent)===ve,onDragStart:Oe=>{console.log("onDragStart",Oe)},onChangeOpen:Oe=>{localStorage.getItem("isCollapsed")==="false"&&(console.log("onChangeOpen:",Oe),j(Oe))},initialOpen:Qe})})}),Pe.jsxs("div",{className:q("wrap-section side-bar__wrap-btn-logout"),children:[Pe.jsxs("button",{className:q("side-bar__logout-btn"),onClick:()=>{qe.style.setProperty("z-index","1304"),qe.classList.remove("backdrop-delay-transition"),H(!0)},children:[Pe.jsx(v6,{className:q("side-bar__icon-logout")}),Pe.jsx("span",{className:q("side-bar__logout-btn__text"),children:"Logout"})]}),Pe.jsx(RT,{isOpen:U,onClose:()=>{qe.style.setProperty("z-index","var(--menu-z-index)"),qe.classList.add("backdrop-delay-transition"),H(!1)},onConfirm:()=>t.logout?t.logout():sT(t.baseUrl)})]})]})}const I1={"/stella/page/SiteManagement/Company/List?tenantId=1":["/stella/page/SiteManagement/Company","/stella/page/SiteManagement/Region","/stella/page/SiteManagement/Location","/stella/page/SiteManagement/Zone","/stella/page/SiteManagement/Service","/stella/page/SiteManagement/Sign"],"/stella/page/SiteManagement/Portfolio/List":["/stella/page/SiteManagement/Portfolio"],"/stella/page/SiteManagement/CountryRegion/List":["/stella/page/SiteManagement/CountryRegion"],"/stella/page/SiteManagement/VehicleListController/List":["/stella/page/SiteManagement/VehicleListController"],"/stella/page/ContraventionManagement/CorrespondenceTemplate/List":["/stella/page/ContraventionManagement/CorrespondenceTemplate"],"/stella/page/ContraventionManagement/VerificationsAudit/List":["/stella/page/ContraventionManagement/VerificationsAudit"],"/stella/page/ContraventionManagement/PendingWardenVerification/List":["/stella/page/ContraventionManagement/PendingWardenVerification"],"/stella/page/ContraventionManagement/Appeal/Search":["/stella/page/ContraventionManagement/Appeal"],"/stella/page/ContraventionManagement/Contravention/Search":["/stella/page/ContraventionManagement/Contravention"],"/stella/page/ContraventionManagement/Tag/Search":["/stella/page/ContraventionManagement/Tag"],"/stella/page/ContraventionManagement/WorkflowMapping/List":["/stella/page/ContraventionManagement/WorkflowMapping"],"/stella/page/ContraventionManagement/WorkflowLetterTemplateMapping/List":["/stella/page/ContraventionManagement/WorkflowLetterTemplateMapping"],"/stella/page/ContraventionManagement/ScannedAppeal/Summary":["/stella/page/ContraventionManagement/ScannedAppeal"],"/stella/page/ContraventionManagement/PendingAppealWorkQueue/List":["/stella/page/ContraventionManagement/PendingAppeal"],"/stella/page/ContraventionManagement/NoDecisionAIAppeal/List":["/stella/page/ContraventionManagement/NoDecisionAIAppeal"],"/stella/page/ContraventionManagement/VerifyAIAppeal/List":["/stella/page/ContraventionManagement/VerifyAIAppeal"],"/anpr/page/LocationDisableReasons/Index":["/anpr/page/LocationDisableReasons"],"/anpr/page/Tags/Index":["/anpr/page/Tags"],"/anpr/page/VendorLocations/Index":["/anpr/page/VendorLocations"],"/anpr/page/Cameras/Index":["/anpr/page/Cameras"],"/anpr/page/Locations/Index":["/anpr/page/Locations"],"/anpr/page/Devices/Index":["/anpr/page/Devices","/anpr/page/Locations"],"/anpr/page/Technical/Overview":["/anpr/page/Technical"],"/anpr/page/Technical/Index":["/anpr/page/Technical"],"/anpr/page/Technical/Index?priority=P1":["/anpr/page/Technical"],"/anpr/page/Technical/Index?priority=P2":["/anpr/page/Technical"],"/anpr/page/Technical/Index?priority=P3":["/anpr/page/Technical"],"/anpr/page/Technical/Index?priority=P4":["/anpr/page/Technical"],"/anpr/page/CustomVerifications/Overview":["/anpr/page/CustomVerifications/Overview"],"/anpr/page/CustomVerifications/WipByLocation":["/anpr/page/CustomVerifications"],"/anpr/page/Issues/Create":["/anpr/page/Issues/Create"],"/anpr/page/Issues/ExportAsCsv":["/anpr/page/Issues/ExportAsCsv"],"/anpr/page/Issues/Overview":["/anpr/page/Issues/Overview"],"/anpr/page/Issues/Index?status=Closed":["/anpr/page/Issues"],"/anpr/page/Issues/Index":["/anpr/page/Issues"]};function C6(t,e){const r=t.replace(window.origin,"").replace("/app",""),i=new URL(r,window.location.origin),o=new URL(e.replace("/app",""),window.origin),a=(localStorage.getItem("latestClickMenuPath")||"").replace("/app","");return r&&I1[r]&&I1[r].some(c=>e.replace("/app","").includes(c))?a===r?5:4:i.pathname===o.pathname&&i.search===o.search?3:i.pathname===o.pathname?2:o.pathname.startsWith(i.pathname)?1:0}function E6(t,e){const n=t.map(a=>({item:a,priority:a.path?C6(a.path,e):0})).filter(a=>a.priority>0);console.log(" index.tsx ~ matchedItems:",n);const r=n.length>0?n.reduce((a,c)=>c.priority>a.priority?c:a).item:null,i=[];let o=r;for(;o;)i.unshift(o),o=t.find(a=>a.id===(o==null?void 0:o.parentKey))||null;return i}function qD(t,e){return t.map(n=>{var r;return(r=n.children)!=null&&r.length?(n.path="",n.children=qD(n.children,e)):n.path=e(n.path),n})}function XD(t){return t.map(n=>n.path&&!n.path.includes("http")&&n.path.includes("/")?{...n,path:window.location.origin+"/app"+n.path}:(n.children&&(n.children=XD(n.children)),n))}function k6(t){return Pe.jsx(Uv,{id:"global-menu-container",styles:[WT,y6,w6],style:{zIndex:"var(--menu-z-index)",position:"relative"},className:"backdrop-delay-transition",children:Pe.jsx(T6,{...t})})}const D6={"page-container":"_page-container_1pwo1_1","page-main-content":"_page-main-content_1pwo1_8","page-title":"_page-title_1pwo1_19","text-base":"_text-base_1pwo1_26","mt-4":"_mt-4_1pwo1_33"};var wp={exports:{}};/**
|
|
137
137
|
* @license
|
|
138
138
|
* Lodash <https://lodash.com/>
|
|
139
139
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
140
140
|
* Released under MIT license <https://lodash.com/license>
|
|
141
141
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
142
142
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
143
|
-
*/wp.exports;(function(t,e){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",p=500,y="__lodash_placeholder__",g=1,T=2,E=4,A=1,I=2,j=1,R=2,U=4,H=8,ne=16,q=32,ie=64,x=128,le=256,ae=512,Ve=30,tt="...",Qe=800,qe=16,Oe=1,ue=2,ve=3,ke=1/0,Le=9007199254740991,et=17976931348623157e292,ge=NaN,Se=4294967295,Ne=Se-1,We=Se>>>1,Be=[["ary",x],["bind",j],["bindKey",R],["curry",H],["curryRight",ne],["flip",ae],["partial",q],["partialRight",ie],["rearg",le]],ze="[object Arguments]",Ke="[object Array]",ot="[object AsyncFunction]",ct="[object Boolean]",pt="[object Date]",ft="[object DOMException]",yt="[object Error]",Je="[object Function]",At="[object GeneratorFunction]",Mt="[object Map]",Vn="[object Number]",vr="[object Null]",Hn="[object Object]",Sn="[object Promise]",$i="[object Proxy]",Dr="[object RegExp]",Jn="[object Set]",sn="[object String]",fn="[object Symbol]",dn="[object Undefined]",ut="[object WeakMap]",Dn="[object WeakSet]",si="[object ArrayBuffer]",on="[object DataView]",Vi="[object Float32Array]",Hi="[object Float64Array]",Ui="[object Int8Array]",Pr="[object Int16Array]",Nn="[object Int32Array]",Or="[object Uint8Array]",yr="[object Uint8ClampedArray]",Yr="[object Uint16Array]",Gr="[object Uint32Array]",Ao=/\b__p \+= '';/g,Un=/\b(__p \+=) '' \+/g,qr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Qn=/&(?:amp|lt|gt|quot|#39);/g,Wt=/[&<>"']/g,ai=RegExp(Qn.source),Wi=RegExp(Wt.source),Pn=/<%-([\s\S]+?)%>/g,hn=/<%([\s\S]+?)%>/g,li=/<%=([\s\S]+?)%>/g,ui=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tn=/^\w*$/,so=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,br=/[\\^$.*+?()[\]{}|]/g,ci=RegExp(br.source),an=/^\s+/,Di=/\s/,Ls=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fs=/\{\n\/\* \[wrapped with (.+)\] \*/,Xr=/,? & /,ao=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,lo=/[()=,{}\[\]\/\s]/,Pi=/\\(\\)?/g,er=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_r=/\w*$/,Rr=/^[-+]0x[0-9a-f]+$/i,fi=/^0b[01]+$/i,Kr=/^\[object .+?Constructor\]$/,wr=/^0o[0-7]+$/i,Ar=/^(?:0|[1-9]\d*)$/,tr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,zi=/($^)/,Oi=/['\n\r\u2028\u2029\\]/g,ar="\\ud800-\\udfff",yn="\\u0300-\\u036f",Ir="\\ufe20-\\ufe2f",Mr="\\u20d0-\\u20ff",di=yn+Ir+Mr,hi="\\u2700-\\u27bf",xr="a-z\\xdf-\\xf6\\xf8-\\xff",Zr="\\xac\\xb1\\xd7\\xf7",Wn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",pi="\\u2000-\\u206f",gi=" \\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",_i="A-Z\\xc0-\\xd6\\xd8-\\xde",nn="\\ufe0e\\ufe0f",jn=Zr+Wn+pi+gi,Cn="['’]",uo="["+ar+"]",On="["+jn+"]",_n="["+di+"]",k="\\d+",F="["+hi+"]",G="["+xr+"]",ee="[^"+ar+jn+k+hi+xr+_i+"]",Ee="\\ud83c[\\udffb-\\udfff]",me="(?:"+_n+"|"+Ee+")",Re="[^"+ar+"]",Xe="(?:\\ud83c[\\udde6-\\uddff]){2}",gt="[\\ud800-\\udbff][\\udc00-\\udfff]",mt="["+_i+"]",dt="\\u200d",Ft="(?:"+G+"|"+ee+")",Bn="(?:"+mt+"|"+ee+")",zn="(?:"+Cn+"(?:d|ll|m|re|s|t|ve))?",En="(?:"+Cn+"(?:D|LL|M|RE|S|T|VE))?",Jr=me+"?",lr="["+nn+"]?",Yi="(?:"+dt+"(?:"+[Re,Xe,gt].join("|")+")"+lr+Jr+")*",mi="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Gi="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Lr=lr+Jr+Yi,qi="(?:"+[F,Xe,gt].join("|")+")"+Lr,Wa="(?:"+[Re+_n+"?",_n,Xe,gt,uo].join("|")+")",Ns=RegExp(Cn,"g"),rs=RegExp(_n,"g"),Sr=RegExp(Ee+"(?="+Ee+")|"+Wa+Lr,"g"),za=RegExp([mt+"?"+G+"+"+zn+"(?="+[On,mt,"$"].join("|")+")",Bn+"+"+En+"(?="+[On,mt+Ft,"$"].join("|")+")",mt+"?"+Ft+"+"+zn,mt+"+"+En,Gi,mi,k,qi].join("|"),"g"),vi=RegExp("["+dt+ar+di+nn+"]"),js=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,is=["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"],rn=-1,Gt={};Gt[Vi]=Gt[Hi]=Gt[Ui]=Gt[Pr]=Gt[Nn]=Gt[Or]=Gt[yr]=Gt[Yr]=Gt[Gr]=!0,Gt[ze]=Gt[Ke]=Gt[si]=Gt[ct]=Gt[on]=Gt[pt]=Gt[yt]=Gt[Je]=Gt[Mt]=Gt[Vn]=Gt[Hn]=Gt[Dr]=Gt[Jn]=Gt[sn]=Gt[ut]=!1;var Kt={};Kt[ze]=Kt[Ke]=Kt[si]=Kt[on]=Kt[ct]=Kt[pt]=Kt[Vi]=Kt[Hi]=Kt[Ui]=Kt[Pr]=Kt[Nn]=Kt[Mt]=Kt[Vn]=Kt[Hn]=Kt[Dr]=Kt[Jn]=Kt[sn]=Kt[fn]=Kt[Or]=Kt[yr]=Kt[Yr]=Kt[Gr]=!0,Kt[yt]=Kt[Je]=Kt[ut]=!1;var Ri={À:"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"},Qr={"&":"&","<":"<",">":">",'"':""","'":"'"},Io={"&":"&","<":"<",">":">",""":'"',"'":"'"},yi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ur=parseFloat,Bs=parseInt,co=typeof ki=="object"&&ki&&ki.Object===Object&&ki,ua=typeof self=="object"&&self&&self.Object===Object&&self,ln=co||ua||Function("return this")(),Mo=e&&!e.nodeType&&e,bi=Mo&&!0&&t&&!t.nodeType&&t,ca=bi&&bi.exports===Mo,fo=ca&&co.process,cr=function(){try{var Z=bi&&bi.require&&bi.require("util").types;return Z||fo&&fo.binding&&fo.binding("util")}catch{}}(),h=cr&&cr.isArrayBuffer,b=cr&&cr.isDate,C=cr&&cr.isMap,P=cr&&cr.isRegExp,L=cr&&cr.isSet,N=cr&&cr.isTypedArray;function V(Z,fe,ce){switch(ce.length){case 0:return Z.call(fe);case 1:return Z.call(fe,ce[0]);case 2:return Z.call(fe,ce[0],ce[1]);case 3:return Z.call(fe,ce[0],ce[1],ce[2])}return Z.apply(fe,ce)}function se(Z,fe,ce,Ie){for(var Fe=-1,st=Z==null?0:Z.length;++Fe<st;){var lt=Z[Fe];fe(Ie,lt,ce(lt),Z)}return Ie}function te(Z,fe){for(var ce=-1,Ie=Z==null?0:Z.length;++ce<Ie&&fe(Z[ce],ce,Z)!==!1;);return Z}function pe(Z,fe){for(var ce=Z==null?0:Z.length;ce--&&fe(Z[ce],ce,Z)!==!1;);return Z}function _e(Z,fe){for(var ce=-1,Ie=Z==null?0:Z.length;++ce<Ie;)if(!fe(Z[ce],ce,Z))return!1;return!0}function Ae(Z,fe){for(var ce=-1,Ie=Z==null?0:Z.length,Fe=0,st=[];++ce<Ie;){var lt=Z[ce];fe(lt,ce,Z)&&(st[Fe++]=lt)}return st}function Te(Z,fe){var ce=Z==null?0:Z.length;return!!ce&&Qt(Z,fe,0)>-1}function $e(Z,fe,ce){for(var Ie=-1,Fe=Z==null?0:Z.length;++Ie<Fe;)if(ce(fe,Z[Ie]))return!0;return!1}function it(Z,fe){for(var ce=-1,Ie=Z==null?0:Z.length,Fe=Array(Ie);++ce<Ie;)Fe[ce]=fe(Z[ce],ce,Z);return Fe}function Tt(Z,fe){for(var ce=-1,Ie=fe.length,Fe=Z.length;++ce<Ie;)Z[Fe+ce]=fe[ce];return Z}function Et(Z,fe,ce,Ie){var Fe=-1,st=Z==null?0:Z.length;for(Ie&&st&&(ce=Z[++Fe]);++Fe<st;)ce=fe(ce,Z[Fe],Fe,Z);return ce}function Rn(Z,fe,ce,Ie){var Fe=Z==null?0:Z.length;for(Ie&&Fe&&(ce=Z[--Fe]);Fe--;)ce=fe(ce,Z[Fe],Fe,Z);return ce}function un(Z,fe){for(var ce=-1,Ie=Z==null?0:Z.length;++ce<Ie;)if(fe(Z[ce],ce,Z))return!0;return!1}var Fr=D("length");function Nr(Z){return Z.split("")}function Lt(Z){return Z.match(ao)||[]}function jr(Z,fe,ce){var Ie;return ce(Z,function(Fe,st,lt){if(fe(Fe,st,lt))return Ie=st,!1}),Ie}function jt(Z,fe,ce,Ie){for(var Fe=Z.length,st=ce+(Ie?1:-1);Ie?st--:++st<Fe;)if(fe(Z[st],st,Z))return st;return-1}function Qt(Z,fe,ce){return fe===fe?Ou(Z,fe,ce):jt(Z,po,ce)}function ho(Z,fe,ce,Ie){for(var Fe=ce-1,st=Z.length;++Fe<st;)if(Ie(Z[Fe],fe))return Fe;return-1}function po(Z){return Z!==Z}function Tr(Z,fe){var ce=Z==null?0:Z.length;return ce?be(Z,fe)/ce:ge}function D(Z){return function(fe){return fe==null?n:fe[Z]}}function M(Z){return function(fe){return Z==null?n:Z[fe]}}function W(Z,fe,ce,Ie,Fe){return Fe(Z,function(st,lt,rt){ce=Ie?(Ie=!1,st):fe(ce,st,lt,rt)}),ce}function Q(Z,fe){var ce=Z.length;for(Z.sort(fe);ce--;)Z[ce]=Z[ce].value;return Z}function be(Z,fe){for(var ce,Ie=-1,Fe=Z.length;++Ie<Fe;){var st=fe(Z[Ie]);st!==n&&(ce=ce===n?st:ce+st)}return ce}function we(Z,fe){for(var ce=-1,Ie=Array(Z);++ce<Z;)Ie[ce]=fe(ce);return Ie}function Me(Z,fe){return it(fe,function(ce){return[ce,Z[ce]]})}function Ye(Z){return Z&&Z.slice(0,Al(Z)+1).replace(an,"")}function ht(Z){return function(fe){return Z(fe)}}function _t(Z,fe){return it(fe,function(ce){return Z[ce]})}function St(Z,fe){return Z.has(fe)}function vt(Z,fe){for(var ce=-1,Ie=Z.length;++ce<Ie&&Qt(fe,Z[ce],0)>-1;);return ce}function An(Z,fe){for(var ce=Z.length;ce--&&Qt(fe,Z[ce],0)>-1;);return ce}function bn(Z,fe){for(var ce=Z.length,Ie=0;ce--;)Z[ce]===fe&&++Ie;return Ie}var $n=M(Ri),os=M(Qr);function fa(Z){return"\\"+yi[Z]}function go(Z,fe){return Z==null?n:Z[fe]}function ei(Z){return vi.test(Z)}function Ya(Z){return js.test(Z)}function Ai(Z){for(var fe,ce=[];!(fe=Z.next()).done;)ce.push(fe.value);return ce}function da(Z){var fe=-1,ce=Array(Z.size);return Z.forEach(function(Ie,Fe){ce[++fe]=[Fe,Ie]}),ce}function ss(Z,fe){return function(ce){return Z(fe(ce))}}function ti(Z,fe){for(var ce=-1,Ie=Z.length,Fe=0,st=[];++ce<Ie;){var lt=Z[ce];(lt===fe||lt===y)&&(Z[ce]=y,st[Fe++]=ce)}return st}function mo(Z){var fe=-1,ce=Array(Z.size);return Z.forEach(function(Ie){ce[++fe]=Ie}),ce}function Ga(Z){var fe=-1,ce=Array(Z.size);return Z.forEach(function(Ie){ce[++fe]=[Ie,Ie]}),ce}function Ou(Z,fe,ce){for(var Ie=ce-1,Fe=Z.length;++Ie<Fe;)if(Z[Ie]===fe)return Ie;return-1}function ha(Z,fe,ce){for(var Ie=ce+1;Ie--;)if(Z[Ie]===fe)return Ie;return Ie}function vo(Z){return ei(Z)?$s(Z):Fr(Z)}function cn(Z){return ei(Z)?J(Z):Nr(Z)}function Al(Z){for(var fe=Z.length;fe--&&Di.test(Z.charAt(fe)););return fe}var pa=M(Io);function $s(Z){for(var fe=Sr.lastIndex=0;Sr.test(Z);)++fe;return fe}function J(Z){return Z.match(Sr)||[]}function de(Z){return Z.match(za)||[]}var Ce=function Z(fe){fe=fe==null?ln:De.defaults(ln.Object(),fe,De.pick(ln,is));var ce=fe.Array,Ie=fe.Date,Fe=fe.Error,st=fe.Function,lt=fe.Math,rt=fe.Object,It=fe.RegExp,wt=fe.String,Vt=fe.TypeError,Yn=ce.prototype,nr=st.prototype,In=rt.prototype,zt=fe["__core-js_shared__"],Br=nr.toString,kt=In.hasOwnProperty,_u=0,pn=function(){var s=/[^.]+$/.exec(zt&&zt.keys&&zt.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),Lo=In.toString,Ru=Br.call(rt),Au=ln._,Iu=It("^"+Br.call(kt).replace(br,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ga=ca?fe.Buffer:n,Fo=fe.Symbol,qa=fe.Uint8Array,Xa=ga?ga.allocUnsafe:n,Vs=ss(rt.getPrototypeOf,rt),ma=rt.create,Il=In.propertyIsEnumerable,No=Yn.splice,Ml=Fo?Fo.isConcatSpreadable:n,Xi=Fo?Fo.iterator:n,jo=Fo?Fo.toStringTag:n,as=function(){try{var s=ic(rt,"defineProperty");return s({},"",{}),s}catch{}}(),Bf=fe.clearTimeout!==ln.clearTimeout&&fe.clearTimeout,Ka=Ie&&Ie.now!==ln.Date.now&&Ie.now,Mc=fe.setTimeout!==ln.setTimeout&&fe.setTimeout,va=lt.ceil,Hs=lt.floor,ya=rt.getOwnPropertySymbols,Ll=ga?ga.isBuffer:n,ba=fe.isFinite,Za=Yn.join,Lc=ss(rt.keys,rt),wn=lt.max,Gn=lt.min,ls=Ie.now,Mu=fe.parseInt,us=lt.random,Fl=Yn.reverse,yo=ic(fe,"DataView"),cs=ic(fe,"Map"),wa=ic(fe,"Promise"),bo=ic(fe,"Set"),Bo=ic(fe,"WeakMap"),xa=ic(rt,"create"),Ja=Bo&&new Bo,Us={},fs=oc(yo),Lu=oc(cs),$f=oc(wa),Fc=oc(bo),Sa=oc(Bo),ds=Fo?Fo.prototype:n,Ws=ds?ds.valueOf:n,Qa=ds?ds.toString:n;function z(s){if(or(s)&&!Ht(s)&&!(s instanceof $t)){if(s instanceof Cr)return s;if(kt.call(s,"__wrapped__"))return Ob(s)}return new Cr(s)}var $o=function(){function s(){}return function(u){if(!qn(u))return{};if(ma)return ma(u);s.prototype=u;var w=new s;return s.prototype=n,w}}();function Vo(){}function Cr(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=n}z.templateSettings={escape:Pn,evaluate:hn,interpolate:li,variable:"",imports:{_:z}},z.prototype=Vo.prototype,z.prototype.constructor=z,Cr.prototype=$o(Vo.prototype),Cr.prototype.constructor=Cr;function $t(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Se,this.__views__=[]}function Nl(){var s=new $t(this.__wrapped__);return s.__actions__=zr(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=zr(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=zr(this.__views__),s}function el(){if(this.__filtered__){var s=new $t(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function jl(){var s=this.__wrapped__.value(),u=this.__dir__,w=Ht(s),O=u<0,$=w?s.length:0,K=jP(0,$,this.__views__),oe=K.start,he=K.end,ye=he-oe,He=O?he:oe-1,Ue=this.__iteratees__,Ze=Ue.length,at=0,bt=Gn(ye,this.__takeCount__);if(!w||!O&&$==ye&&bt==ye)return Jc(s,this.__actions__);var Dt=[];e:for(;ye--&&at<bt;){He+=u;for(var Xt=-1,Pt=s[He];++Xt<Ze;){var Jt=Ue[Xt],tn=Jt.iteratee,Yo=Jt.type,no=tn(Pt);if(Yo==ue)Pt=no;else if(!no){if(Yo==Oe)continue e;break e}}Dt[at++]=Pt}return Dt}$t.prototype=$o(Vo.prototype),$t.prototype.constructor=$t;function wo(s){var u=-1,w=s==null?0:s.length;for(this.clear();++u<w;){var O=s[u];this.set(O[0],O[1])}}function Fu(){this.__data__=xa?xa(null):{},this.size=0}function Nc(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function jc(s){var u=this.__data__;if(xa){var w=u[s];return w===f?n:w}return kt.call(u,s)?u[s]:n}function Bc(s){var u=this.__data__;return xa?u[s]!==n:kt.call(u,s)}function Vf(s,u){var w=this.__data__;return this.size+=this.has(s)?0:1,w[s]=xa&&u===n?f:u,this}wo.prototype.clear=Fu,wo.prototype.delete=Nc,wo.prototype.get=jc,wo.prototype.has=Bc,wo.prototype.set=Vf;function xo(s){var u=-1,w=s==null?0:s.length;for(this.clear();++u<w;){var O=s[u];this.set(O[0],O[1])}}function Hf(){this.__data__=[],this.size=0}function Uf(s){var u=this.__data__,w=Ki(u,s);if(w<0)return!1;var O=u.length-1;return w==O?u.pop():No.call(u,w,1),--this.size,!0}function Nu(s){var u=this.__data__,w=Ki(u,s);return w<0?n:u[w][1]}function tl(s){return Ki(this.__data__,s)>-1}function Wf(s,u){var w=this.__data__,O=Ki(w,s);return O<0?(++this.size,w.push([s,u])):w[O][1]=u,this}xo.prototype.clear=Hf,xo.prototype.delete=Uf,xo.prototype.get=Nu,xo.prototype.has=tl,xo.prototype.set=Wf;function Ho(s){var u=-1,w=s==null?0:s.length;for(this.clear();++u<w;){var O=s[u];this.set(O[0],O[1])}}function ju(){this.size=0,this.__data__={hash:new wo,map:new(cs||xo),string:new wo}}function Bl(s){var u=rh(this,s).delete(s);return this.size-=u?1:0,u}function zf(s){return rh(this,s).get(s)}function Yf(s){return rh(this,s).has(s)}function Gf(s,u){var w=rh(this,s),O=w.size;return w.set(s,u),this.size+=w.size==O?0:1,this}Ho.prototype.clear=ju,Ho.prototype.delete=Bl,Ho.prototype.get=zf,Ho.prototype.has=Yf,Ho.prototype.set=Gf;function $r(s){var u=-1,w=s==null?0:s.length;for(this.__data__=new Ho;++u<w;)this.add(s[u])}function Bu(s){return this.__data__.set(s,f),this}function $l(s){return this.__data__.has(s)}$r.prototype.add=$r.prototype.push=Bu,$r.prototype.has=$l;function qt(s){var u=this.__data__=new xo(s);this.size=u.size}function wi(){this.__data__=new xo,this.size=0}function Ta(s){var u=this.__data__,w=u.delete(s);return this.size=u.size,w}function zs(s){return this.__data__.get(s)}function Zt(s){return this.__data__.has(s)}function hs(s,u){var w=this.__data__;if(w instanceof xo){var O=w.__data__;if(!cs||O.length<i-1)return O.push([s,u]),this.size=++w.size,this;w=this.__data__=new Ho(O)}return w.set(s,u),this.size=w.size,this}qt.prototype.clear=wi,qt.prototype.delete=Ta,qt.prototype.get=zs,qt.prototype.has=Zt,qt.prototype.set=hs;function nl(s,u){var w=Ht(s),O=!w&&sc(s),$=!w&&!O&&ru(s),K=!w&&!O&&!$&&sf(s),oe=w||O||$||K,he=oe?we(s.length,wt):[],ye=he.length;for(var He in s)(u||kt.call(s,He))&&!(oe&&(He=="length"||$&&(He=="offset"||He=="parent")||K&&(He=="buffer"||He=="byteLength"||He=="byteOffset")||hl(He,ye)))&&he.push(He);return he}function ni(s){var u=s.length;return u?s[Js(0,u-1)]:n}function xi(s,u){return ih(zr(s),Gs(u,0,s.length))}function So(s){return ih(zr(s))}function $u(s,u,w){(w!==n&&!ra(s[u],w)||w===n&&!(u in s))&&Si(s,u,w)}function Vr(s,u,w){var O=s[u];(!(kt.call(s,u)&&ra(O,w))||w===n&&!(u in s))&&Si(s,u,w)}function Ki(s,u){for(var w=s.length;w--;)if(ra(s[w][0],u))return w;return-1}function Ys(s,u,w,O){return ps(s,function($,K,oe){u(O,$,w($),oe)}),O}function $c(s,u){return s&&Ii(u,ii(u),s)}function Vu(s,u){return s&&Ii(u,Do(u),s)}function Si(s,u,w){u=="__proto__"&&as?as(s,u,{configurable:!0,enumerable:!0,value:w,writable:!0}):s[u]=w}function Hu(s,u){for(var w=-1,O=u.length,$=ce(O),K=s==null;++w<O;)$[w]=K?n:pg(s,u[w]);return $}function Gs(s,u,w){return s===s&&(w!==n&&(s=s<=w?s:w),u!==n&&(s=s>=u?s:u)),s}function Hr(s,u,w,O,$,K){var oe,he=u&g,ye=u&T,He=u&E;if(w&&(oe=$?w(s,O,$,K):w(s)),oe!==n)return oe;if(!qn(s))return s;var Ue=Ht(s);if(Ue){if(oe=$P(s),!he)return zr(s,oe)}else{var Ze=Mi(s),at=Ze==Je||Ze==At;if(ru(s))return bs(s,he);if(Ze==Hn||Ze==ze||at&&!$){if(oe=ye||at?{}:wb(s),!he)return ye?Kf(s,Vu(oe,s)):nf(s,$c(oe,s))}else{if(!Kt[Ze])return $?s:{};oe=VP(s,Ze,he)}}K||(K=new qt);var bt=K.get(s);if(bt)return bt;K.set(s,oe),Xb(s)?s.forEach(function(Pt){oe.add(Hr(Pt,u,w,Pt,s,K))}):Gb(s)&&s.forEach(function(Pt,Jt){oe.set(Jt,Hr(Pt,u,w,Jt,s,K))});var Dt=He?ye?eg:Qp:ye?Do:ii,Xt=Ue?n:Dt(s);return te(Xt||s,function(Pt,Jt){Xt&&(Jt=Pt,Pt=s[Jt]),Vr(oe,Jt,Hr(Pt,u,w,Jt,s,K))}),oe}function Uu(s){var u=ii(s);return function(w){return Wu(w,s,u)}}function Wu(s,u,w){var O=w.length;if(s==null)return!O;for(s=rt(s);O--;){var $=w[O],K=u[$],oe=s[$];if(oe===n&&!($ in s)||!K(oe))return!1}return!0}function zu(s,u,w){if(typeof s!="function")throw new Vt(a);return Jf(function(){s.apply(n,w)},u)}function qs(s,u,w,O){var $=-1,K=Te,oe=!0,he=s.length,ye=[],He=u.length;if(!he)return ye;w&&(u=it(u,ht(w))),O?(K=$e,oe=!1):u.length>=i&&(K=St,oe=!1,u=new $r(u));e:for(;++$<he;){var Ue=s[$],Ze=w==null?Ue:w(Ue);if(Ue=O||Ue!==0?Ue:0,oe&&Ze===Ze){for(var at=He;at--;)if(u[at]===Ze)continue e;ye.push(Ue)}else K(u,Ze,O)||ye.push(Ue)}return ye}var ps=v(Ti),Yu=v(Hl,!0);function Vc(s,u){var w=!0;return ps(s,function(O,$,K){return w=!!u(O,$,K),w}),w}function Vl(s,u,w){for(var O=-1,$=s.length;++O<$;){var K=s[O],oe=u(K);if(oe!=null&&(he===n?oe===oe&&!zo(oe):w(oe,he)))var he=oe,ye=K}return ye}function qf(s,u,w,O){var $=s.length;for(w=Yt(w),w<0&&(w=-w>$?0:$+w),O=O===n||O>$?$:Yt(O),O<0&&(O+=$),O=w>O?0:Zb(O);w<O;)s[w++]=u;return s}function Hc(s,u){var w=[];return ps(s,function(O,$,K){u(O,$,K)&&w.push(O)}),w}function fr(s,u,w,O,$){var K=-1,oe=s.length;for(w||(w=UP),$||($=[]);++K<oe;){var he=s[K];u>0&&w(he)?u>1?fr(he,u-1,w,O,$):Tt($,he):O||($[$.length]=he)}return $}var Gu=l(),Uc=l(!0);function Ti(s,u){return s&&Gu(s,u,ii)}function Hl(s,u){return s&&Uc(s,u,ii)}function Ca(s,u){return Ae(u,function(w){return pl(s[w])})}function gs(s,u){u=Ci(u,s);for(var w=0,O=u.length;s!=null&&w<O;)s=s[Ia(u[w++])];return w&&w==O?s:n}function rl(s,u,w){var O=u(s);return Ht(s)?O:Tt(O,w(s))}function rr(s){return s==null?s===n?dn:vr:jo&&jo in rt(s)?NP(s):KP(s)}function Xs(s,u){return s>u}function Ul(s,u){return s!=null&&kt.call(s,u)}function Ea(s,u){return s!=null&&u in rt(s)}function Wl(s,u,w){return s>=Gn(u,w)&&s<wn(u,w)}function ka(s,u,w){for(var O=w?$e:Te,$=s[0].length,K=s.length,oe=K,he=ce(K),ye=1/0,He=[];oe--;){var Ue=s[oe];oe&&u&&(Ue=it(Ue,ht(u))),ye=Gn(Ue.length,ye),he[oe]=!w&&(u||$>=120&&Ue.length>=120)?new $r(oe&&Ue):n}Ue=s[0];var Ze=-1,at=he[0];e:for(;++Ze<$&&He.length<ye;){var bt=Ue[Ze],Dt=u?u(bt):bt;if(bt=w||bt!==0?bt:0,!(at?St(at,Dt):O(He,Dt,w))){for(oe=K;--oe;){var Xt=he[oe];if(!(Xt?St(Xt,Dt):O(s[oe],Dt,w)))continue e}at&&at.push(Dt),He.push(bt)}}return He}function zl(s,u,w,O){return Ti(s,function($,K,oe){u(O,w($),K,oe)}),O}function To(s,u,w){u=Ci(u,s),s=Cb(s,u);var O=s==null?s:s[Ia(xs(u))];return O==null?n:V(O,s,w)}function Yl(s){return or(s)&&rr(s)==ze}function Ks(s){return or(s)&&rr(s)==si}function Wc(s){return or(s)&&rr(s)==pt}function il(s,u,w,O,$){return s===u?!0:s==null||u==null||!or(s)&&!or(u)?s!==s&&u!==u:Da(s,u,w,O,il,$)}function Da(s,u,w,O,$,K){var oe=Ht(s),he=Ht(u),ye=oe?Ke:Mi(s),He=he?Ke:Mi(u);ye=ye==ze?Hn:ye,He=He==ze?Hn:He;var Ue=ye==Hn,Ze=He==Hn,at=ye==He;if(at&&ru(s)){if(!ru(u))return!1;oe=!0,Ue=!1}if(at&&!Ue)return K||(K=new qt),oe||sf(s)?vb(s,u,w,O,$,K):LP(s,u,ye,w,O,$,K);if(!(w&A)){var bt=Ue&&kt.call(s,"__wrapped__"),Dt=Ze&&kt.call(u,"__wrapped__");if(bt||Dt){var Xt=bt?s.value():s,Pt=Dt?u.value():u;return K||(K=new qt),$(Xt,Pt,w,O,K)}}return at?(K||(K=new qt),FP(s,u,w,O,$,K)):!1}function Pa(s){return or(s)&&Mi(s)==Mt}function qu(s,u,w,O){var $=w.length,K=$,oe=!O;if(s==null)return!K;for(s=rt(s);$--;){var he=w[$];if(oe&&he[2]?he[1]!==s[he[0]]:!(he[0]in s))return!1}for(;++$<K;){he=w[$];var ye=he[0],He=s[ye],Ue=he[1];if(oe&&he[2]){if(He===n&&!(ye in s))return!1}else{var Ze=new qt;if(O)var at=O(He,Ue,ye,s,u,Ze);if(!(at===n?il(Ue,He,A|I,O,Ze):at))return!1}}return!0}function zc(s){if(!qn(s)||zP(s))return!1;var u=pl(s)?Iu:Kr;return u.test(oc(s))}function Zs(s){return or(s)&&rr(s)==Dr}function Gl(s){return or(s)&&Mi(s)==Jn}function Uo(s){return or(s)&&ch(s.length)&&!!Gt[rr(s)]}function ql(s){return typeof s=="function"?s:s==null?Po:typeof s=="object"?Ht(s)?sl(s[0],s[1]):Co(s):l0(s)}function Wo(s){if(!Zf(s))return Lc(s);var u=[];for(var w in rt(s))kt.call(s,w)&&w!="constructor"&&u.push(w);return u}function ol(s){if(!qn(s))return XP(s);var u=Zf(s),w=[];for(var O in s)O=="constructor"&&(u||!kt.call(s,O))||w.push(O);return w}function Zi(s,u){return s<u}function Ji(s,u){var w=-1,O=ko(s)?ce(s.length):[];return ps(s,function($,K,oe){O[++w]=u($,K,oe)}),O}function Co(s){var u=ng(s);return u.length==1&&u[0][2]?Sb(u[0][0],u[0][1]):function(w){return w===s||qu(w,s,u)}}function sl(s,u){return ig(s)&&xb(u)?Sb(Ia(s),u):function(w){var O=pg(w,s);return O===n&&O===u?gg(w,s):il(u,O,A|I)}}function ms(s,u,w,O,$){s!==u&&Gu(u,function(K,oe){if($||($=new qt),qn(K))Qi(s,u,oe,w,ms,O,$);else{var he=O?O(sg(s,oe),K,oe+"",s,u,$):n;he===n&&(he=K),$u(s,oe,he)}},Do)}function Qi(s,u,w,O,$,K,oe){var he=sg(s,w),ye=sg(u,w),He=oe.get(ye);if(He){$u(s,w,He);return}var Ue=K?K(he,ye,w+"",s,u,oe):n,Ze=Ue===n;if(Ze){var at=Ht(ye),bt=!at&&ru(ye),Dt=!at&&!bt&&sf(ye);Ue=ye,at||bt||Dt?Ht(he)?Ue=he:hr(he)?Ue=zr(he):bt?(Ze=!1,Ue=bs(ye,!0)):Dt?(Ze=!1,Ue=cl(ye,!0)):Ue=[]:Qf(ye)||sc(ye)?(Ue=he,sc(he)?Ue=Jb(he):(!qn(he)||pl(he))&&(Ue=wb(ye))):Ze=!1}Ze&&(oe.set(ye,Ue),$(Ue,ye,O,K,oe),oe.delete(ye)),$u(s,w,Ue)}function Oa(s,u){var w=s.length;if(w)return u+=u<0?w:0,hl(u,w)?s[u]:n}function Xl(s,u,w){u.length?u=it(u,function(K){return Ht(K)?function(oe){return gs(oe,K.length===1?K[0]:K)}:K}):u=[Po];var O=-1;u=it(u,ht(Ct()));var $=Ji(s,function(K,oe,he){var ye=it(u,function(He){return He(K)});return{criteria:ye,index:++O,value:K}});return Q($,function(K,oe){return nu(K,oe,w)})}function al(s,u){return _a(s,u,function(w,O){return gg(s,O)})}function _a(s,u,w){for(var O=-1,$=u.length,K={};++O<$;){var oe=u[O],he=gs(s,oe);w(he,oe)&&Qs(K,Ci(oe,s),he)}return K}function Yc(s){return function(u){return gs(u,s)}}function Xu(s,u,w,O){var $=O?ho:Qt,K=-1,oe=u.length,he=s;for(s===u&&(u=zr(u)),w&&(he=it(s,ht(w)));++K<oe;)for(var ye=0,He=u[K],Ue=w?w(He):He;(ye=$(he,Ue,ye,O))>-1;)he!==s&&No.call(he,ye,1),No.call(s,ye,1);return s}function Ku(s,u){for(var w=s?u.length:0,O=w-1;w--;){var $=u[w];if(w==O||$!==K){var K=$;hl($)?No.call(s,$,1):Wr(s,$)}}return s}function Js(s,u){return s+Hs(us()*(u-s+1))}function Zu(s,u,w,O){for(var $=-1,K=wn(va((u-s)/(w||1)),0),oe=ce(K);K--;)oe[O?K:++$]=s,s+=w;return oe}function Kl(s,u){var w="";if(!s||u<1||u>Le)return w;do u%2&&(w+=s),u=Hs(u/2),u&&(s+=s);while(u);return w}function Bt(s,u){return ag(Tb(s,u,Po),s+"")}function ll(s){return ni(af(s))}function Ju(s,u){var w=af(s);return ih(w,Gs(u,0,w.length))}function Qs(s,u,w,O){if(!qn(s))return s;u=Ci(u,s);for(var $=-1,K=u.length,oe=K-1,he=s;he!=null&&++$<K;){var ye=Ia(u[$]),He=w;if(ye==="__proto__"||ye==="constructor"||ye==="prototype")return s;if($!=oe){var Ue=he[ye];He=O?O(Ue,ye,he):n,He===n&&(He=qn(Ue)?Ue:hl(u[$+1])?[]:{})}Vr(he,ye,He),he=he[ye]}return s}var Zl=Ja?function(s,u){return Ja.set(s,u),s}:Po,Gc=as?function(s,u){return as(s,"toString",{configurable:!0,enumerable:!1,value:vg(u),writable:!0})}:Po;function qc(s){return ih(af(s))}function ri(s,u,w){var O=-1,$=s.length;u<0&&(u=-u>$?0:$+u),w=w>$?$:w,w<0&&(w+=$),$=u>w?0:w-u>>>0,u>>>=0;for(var K=ce($);++O<$;)K[O]=s[O+u];return K}function Xc(s,u){var w;return ps(s,function(O,$,K){return w=u(O,$,K),!w}),!!w}function Jl(s,u,w){var O=0,$=s==null?O:s.length;if(typeof u=="number"&&u===u&&$<=We){for(;O<$;){var K=O+$>>>1,oe=s[K];oe!==null&&!zo(oe)&&(w?oe<=u:oe<u)?O=K+1:$=K}return $}return Qu(s,u,Po,w)}function Qu(s,u,w,O){var $=0,K=s==null?0:s.length;if(K===0)return 0;u=w(u);for(var oe=u!==u,he=u===null,ye=zo(u),He=u===n;$<K;){var Ue=Hs(($+K)/2),Ze=w(s[Ue]),at=Ze!==n,bt=Ze===null,Dt=Ze===Ze,Xt=zo(Ze);if(oe)var Pt=O||Dt;else He?Pt=Dt&&(O||at):he?Pt=Dt&&at&&(O||!bt):ye?Pt=Dt&&at&&!bt&&(O||!Xt):bt||Xt?Pt=!1:Pt=O?Ze<=u:Ze<u;Pt?$=Ue+1:K=Ue}return Gn(K,Ne)}function ec(s,u){for(var w=-1,O=s.length,$=0,K=[];++w<O;){var oe=s[w],he=u?u(oe):oe;if(!w||!ra(he,ye)){var ye=he;K[$++]=oe===0?0:oe}}return K}function Kc(s){return typeof s=="number"?s:zo(s)?ge:+s}function Ur(s){if(typeof s=="string")return s;if(Ht(s))return it(s,Ur)+"";if(zo(s))return Qa?Qa.call(s):"";var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function vs(s,u,w){var O=-1,$=Te,K=s.length,oe=!0,he=[],ye=he;if(w)oe=!1,$=$e;else if(K>=i){var He=u?null:Aa(s);if(He)return mo(He);oe=!1,$=St,ye=new $r}else ye=u?[]:he;e:for(;++O<K;){var Ue=s[O],Ze=u?u(Ue):Ue;if(Ue=w||Ue!==0?Ue:0,oe&&Ze===Ze){for(var at=ye.length;at--;)if(ye[at]===Ze)continue e;u&&ye.push(Ze),he.push(Ue)}else $(ye,Ze,w)||(ye!==he&&ye.push(Ze),he.push(Ue))}return he}function Wr(s,u){return u=Ci(u,s),s=Cb(s,u),s==null||delete s[Ia(xs(u))]}function Zc(s,u,w,O){return Qs(s,u,w(gs(s,u)),O)}function ea(s,u,w,O){for(var $=s.length,K=O?$:-1;(O?K--:++K<$)&&u(s[K],K,s););return w?ri(s,O?0:K,O?K+1:$):ri(s,O?K+1:0,O?$:K)}function Jc(s,u){var w=s;return w instanceof $t&&(w=w.value()),Et(u,function(O,$){return $.func.apply($.thisArg,Tt([O],$.args))},w)}function dr(s,u,w){var O=s.length;if(O<2)return O?vs(s[0]):[];for(var $=-1,K=ce(O);++$<O;)for(var oe=s[$],he=-1;++he<O;)he!=$&&(K[$]=qs(K[$]||oe,s[he],u,w));return vs(fr(K,1),u,w)}function Qc(s,u,w){for(var O=-1,$=s.length,K=u.length,oe={};++O<$;){var he=O<K?u[O]:n;w(oe,s[O],he)}return oe}function Ql(s){return hr(s)?s:[]}function eu(s){return typeof s=="function"?s:Po}function Ci(s,u){return Ht(s)?s:ig(s,u)?[s]:Pb(gn(s))}var ef=Bt;function ys(s,u,w){var O=s.length;return w=w===n?O:w,!u&&w>=O?s:ri(s,u,w)}var tu=Bf||function(s){return ln.clearTimeout(s)};function bs(s,u){if(u)return s.slice();var w=s.length,O=Xa?Xa(w):new s.constructor(w);return s.copy(O),O}function ta(s){var u=new s.constructor(s.byteLength);return new qa(u).set(new qa(s)),u}function Xf(s,u){var w=u?ta(s.buffer):s.buffer;return new s.constructor(w,s.byteOffset,s.byteLength)}function tc(s){var u=new s.constructor(s.source,_r.exec(s));return u.lastIndex=s.lastIndex,u}function ul(s){return Ws?rt(Ws.call(s)):{}}function cl(s,u){var w=u?ta(s.buffer):s.buffer;return new s.constructor(w,s.byteOffset,s.length)}function nc(s,u){if(s!==u){var w=s!==n,O=s===null,$=s===s,K=zo(s),oe=u!==n,he=u===null,ye=u===u,He=zo(u);if(!he&&!He&&!K&&s>u||K&&oe&&ye&&!he&&!He||O&&oe&&ye||!w&&ye||!$)return 1;if(!O&&!K&&!He&&s<u||He&&w&&$&&!O&&!K||he&&w&&$||!oe&&$||!ye)return-1}return 0}function nu(s,u,w){for(var O=-1,$=s.criteria,K=u.criteria,oe=$.length,he=w.length;++O<oe;){var ye=nc($[O],K[O]);if(ye){if(O>=he)return ye;var He=w[O];return ye*(He=="desc"?-1:1)}}return s.index-u.index}function rc(s,u,w,O){for(var $=-1,K=s.length,oe=w.length,he=-1,ye=u.length,He=wn(K-oe,0),Ue=ce(ye+He),Ze=!O;++he<ye;)Ue[he]=u[he];for(;++$<oe;)(Ze||$<K)&&(Ue[w[$]]=s[$]);for(;He--;)Ue[he++]=s[$++];return Ue}function tf(s,u,w,O){for(var $=-1,K=s.length,oe=-1,he=w.length,ye=-1,He=u.length,Ue=wn(K-he,0),Ze=ce(Ue+He),at=!O;++$<Ue;)Ze[$]=s[$];for(var bt=$;++ye<He;)Ze[bt+ye]=u[ye];for(;++oe<he;)(at||$<K)&&(Ze[bt+w[oe]]=s[$++]);return Ze}function zr(s,u){var w=-1,O=s.length;for(u||(u=ce(O));++w<O;)u[w]=s[w];return u}function Ii(s,u,w,O){var $=!w;w||(w={});for(var K=-1,oe=u.length;++K<oe;){var he=u[K],ye=O?O(w[he],s[he],he,w,s):n;ye===n&&(ye=s[he]),$?Si(w,he,ye):Vr(w,he,ye)}return w}function nf(s,u){return Ii(s,rg(s),u)}function Kf(s,u){return Ii(s,yb(s),u)}function fl(s,u){return function(w,O){var $=Ht(w)?se:Ys,K=u?u():{};return $(w,s,Ct(O,2),K)}}function Ra(s){return Bt(function(u,w){var O=-1,$=w.length,K=$>1?w[$-1]:n,oe=$>2?w[2]:n;for(K=s.length>3&&typeof K=="function"?($--,K):n,oe&&to(w[0],w[1],oe)&&(K=$<3?n:K,$=1),u=rt(u);++O<$;){var he=w[O];he&&s(u,he,O,K)}return u})}function v(s,u){return function(w,O){if(w==null)return w;if(!ko(w))return s(w,O);for(var $=w.length,K=u?$:-1,oe=rt(w);(u?K--:++K<$)&&O(oe[K],K,oe)!==!1;);return w}}function l(s){return function(u,w,O){for(var $=-1,K=rt(u),oe=O(u),he=oe.length;he--;){var ye=oe[s?he:++$];if(w(K[ye],ye,K)===!1)break}return u}}function d(s,u,w){var O=u&j,$=_(s);function K(){var oe=this&&this!==ln&&this instanceof K?$:s;return oe.apply(O?w:this,arguments)}return K}function m(s){return function(u){u=gn(u);var w=ei(u)?cn(u):n,O=w?w[0]:u.charAt(0),$=w?ys(w,1).join(""):u.slice(1);return O[s]()+$}}function S(s){return function(u){return Et(s0(o0(u).replace(Ns,"")),s,"")}}function _(s){return function(){var u=arguments;switch(u.length){case 0:return new s;case 1:return new s(u[0]);case 2:return new s(u[0],u[1]);case 3:return new s(u[0],u[1],u[2]);case 4:return new s(u[0],u[1],u[2],u[3]);case 5:return new s(u[0],u[1],u[2],u[3],u[4]);case 6:return new s(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new s(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var w=$o(s.prototype),O=s.apply(w,u);return qn(O)?O:w}}function B(s,u,w){var O=_(s);function $(){for(var K=arguments.length,oe=ce(K),he=K,ye=of($);he--;)oe[he]=arguments[he];var He=K<3&&oe[0]!==ye&&oe[K-1]!==ye?[]:ti(oe,ye);if(K-=He.length,K<w)return ws(s,u,xe,$.placeholder,n,oe,He,n,n,w-K);var Ue=this&&this!==ln&&this instanceof $?O:s;return V(Ue,this,oe)}return $}function Y(s){return function(u,w,O){var $=rt(u);if(!ko(u)){var K=Ct(w,3);u=ii(u),w=function(he){return K($[he],he,$)}}var oe=s(u,w,O);return oe>-1?$[K?u[oe]:oe]:n}}function re(s){return dl(function(u){var w=u.length,O=w,$=Cr.prototype.thru;for(s&&u.reverse();O--;){var K=u[O];if(typeof K!="function")throw new Vt(a);if($&&!oe&&nh(K)=="wrapper")var oe=new Cr([],!0)}for(O=oe?O:w;++O<w;){K=u[O];var he=nh(K),ye=he=="wrapper"?tg(K):n;ye&&og(ye[0])&&ye[1]==(x|H|q|le)&&!ye[4].length&&ye[9]==1?oe=oe[nh(ye[0])].apply(oe,ye[3]):oe=K.length==1&&og(K)?oe[he]():oe.thru(K)}return function(){var He=arguments,Ue=He[0];if(oe&&He.length==1&&Ht(Ue))return oe.plant(Ue).value();for(var Ze=0,at=w?u[Ze].apply(this,He):Ue;++Ze<w;)at=u[Ze].call(this,at);return at}})}function xe(s,u,w,O,$,K,oe,he,ye,He){var Ue=u&x,Ze=u&j,at=u&R,bt=u&(H|ne),Dt=u&ae,Xt=at?n:_(s);function Pt(){for(var Jt=arguments.length,tn=ce(Jt),Yo=Jt;Yo--;)tn[Yo]=arguments[Yo];if(bt)var no=of(Pt),Go=bn(tn,no);if(O&&(tn=rc(tn,O,$,bt)),K&&(tn=tf(tn,K,oe,bt)),Jt-=Go,bt&&Jt<He){var pr=ti(tn,no);return ws(s,u,xe,Pt.placeholder,w,tn,pr,he,ye,He-Jt)}var ia=Ze?w:this,ml=at?ia[s]:s;return Jt=tn.length,he?tn=ZP(tn,he):Dt&&Jt>1&&tn.reverse(),Ue&&ye<Jt&&(tn.length=ye),this&&this!==ln&&this instanceof Pt&&(ml=Xt||_(ml)),ml.apply(ia,tn)}return Pt}function je(s,u){return function(w,O){return zl(w,s,u(O),{})}}function Ge(s,u){return function(w,O){var $;if(w===n&&O===n)return u;if(w!==n&&($=w),O!==n){if($===n)return O;typeof w=="string"||typeof O=="string"?(w=Ur(w),O=Ur(O)):(w=Kc(w),O=Kc(O)),$=s(w,O)}return $}}function nt(s){return dl(function(u){return u=it(u,ht(Ct())),Bt(function(w){var O=this;return s(u,function($){return V($,O,w)})})})}function xt(s,u){u=u===n?" ":Ur(u);var w=u.length;if(w<2)return w?Kl(u,s):u;var O=Kl(u,va(s/vo(u)));return ei(u)?ys(cn(O),0,s).join(""):O.slice(0,s)}function en(s,u,w,O){var $=u&j,K=_(s);function oe(){for(var he=-1,ye=arguments.length,He=-1,Ue=O.length,Ze=ce(Ue+ye),at=this&&this!==ln&&this instanceof oe?K:s;++He<Ue;)Ze[He]=O[He];for(;ye--;)Ze[He++]=arguments[++he];return V(at,$?w:this,Ze)}return oe}function ir(s){return function(u,w,O){return O&&typeof O!="number"&&to(u,w,O)&&(w=O=n),u=gl(u),w===n?(w=u,u=0):w=gl(w),O=O===n?u<w?1:-1:gl(O),Zu(u,w,O,s)}}function Eo(s){return function(u,w){return typeof u=="string"&&typeof w=="string"||(u=Ss(u),w=Ss(w)),s(u,w)}}function ws(s,u,w,O,$,K,oe,he,ye,He){var Ue=u&H,Ze=Ue?oe:n,at=Ue?n:oe,bt=Ue?K:n,Dt=Ue?n:K;u|=Ue?q:ie,u&=~(Ue?ie:q),u&U||(u&=-4);var Xt=[s,u,$,bt,Ze,Dt,at,he,ye,He],Pt=w.apply(n,Xt);return og(s)&&Eb(Pt,Xt),Pt.placeholder=O,kb(Pt,s,u)}function eo(s){var u=lt[s];return function(w,O){if(w=Ss(w),O=O==null?0:Gn(Yt(O),292),O&&ba(w)){var $=(gn(w)+"e").split("e"),K=u($[0]+"e"+(+$[1]+O));return $=(gn(K)+"e").split("e"),+($[0]+"e"+(+$[1]-O))}return u(w)}}var Aa=bo&&1/mo(new bo([,-0]))[1]==ke?function(s){return new bo(s)}:wg;function rf(s){return function(u){var w=Mi(u);return w==Mt?da(u):w==Jn?Ga(u):Me(u,s(u))}}function na(s,u,w,O,$,K,oe,he){var ye=u&R;if(!ye&&typeof s!="function")throw new Vt(a);var He=O?O.length:0;if(He||(u&=-97,O=$=n),oe=oe===n?oe:wn(Yt(oe),0),he=he===n?he:Yt(he),He-=$?$.length:0,u&ie){var Ue=O,Ze=$;O=$=n}var at=ye?n:tg(s),bt=[s,u,w,O,$,Ue,Ze,K,oe,he];if(at&&qP(bt,at),s=bt[0],u=bt[1],w=bt[2],O=bt[3],$=bt[4],he=bt[9]=bt[9]===n?ye?0:s.length:wn(bt[9]-He,0),!he&&u&(H|ne)&&(u&=-25),!u||u==j)var Dt=d(s,u,w);else u==H||u==ne?Dt=B(s,u,he):(u==q||u==(j|q))&&!$.length?Dt=en(s,u,w,O):Dt=xe.apply(n,bt);var Xt=at?Zl:Eb;return kb(Xt(Dt,bt),s,u)}function gb(s,u,w,O){return s===n||ra(s,In[w])&&!kt.call(O,w)?u:s}function mb(s,u,w,O,$,K){return qn(s)&&qn(u)&&(K.set(u,s),ms(s,u,n,mb,K),K.delete(u)),s}function MP(s){return Qf(s)?n:s}function vb(s,u,w,O,$,K){var oe=w&A,he=s.length,ye=u.length;if(he!=ye&&!(oe&&ye>he))return!1;var He=K.get(s),Ue=K.get(u);if(He&&Ue)return He==u&&Ue==s;var Ze=-1,at=!0,bt=w&I?new $r:n;for(K.set(s,u),K.set(u,s);++Ze<he;){var Dt=s[Ze],Xt=u[Ze];if(O)var Pt=oe?O(Xt,Dt,Ze,u,s,K):O(Dt,Xt,Ze,s,u,K);if(Pt!==n){if(Pt)continue;at=!1;break}if(bt){if(!un(u,function(Jt,tn){if(!St(bt,tn)&&(Dt===Jt||$(Dt,Jt,w,O,K)))return bt.push(tn)})){at=!1;break}}else if(!(Dt===Xt||$(Dt,Xt,w,O,K))){at=!1;break}}return K.delete(s),K.delete(u),at}function LP(s,u,w,O,$,K,oe){switch(w){case on:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case si:return!(s.byteLength!=u.byteLength||!K(new qa(s),new qa(u)));case ct:case pt:case Vn:return ra(+s,+u);case yt:return s.name==u.name&&s.message==u.message;case Dr:case sn:return s==u+"";case Mt:var he=da;case Jn:var ye=O&A;if(he||(he=mo),s.size!=u.size&&!ye)return!1;var He=oe.get(s);if(He)return He==u;O|=I,oe.set(s,u);var Ue=vb(he(s),he(u),O,$,K,oe);return oe.delete(s),Ue;case fn:if(Ws)return Ws.call(s)==Ws.call(u)}return!1}function FP(s,u,w,O,$,K){var oe=w&A,he=Qp(s),ye=he.length,He=Qp(u),Ue=He.length;if(ye!=Ue&&!oe)return!1;for(var Ze=ye;Ze--;){var at=he[Ze];if(!(oe?at in u:kt.call(u,at)))return!1}var bt=K.get(s),Dt=K.get(u);if(bt&&Dt)return bt==u&&Dt==s;var Xt=!0;K.set(s,u),K.set(u,s);for(var Pt=oe;++Ze<ye;){at=he[Ze];var Jt=s[at],tn=u[at];if(O)var Yo=oe?O(tn,Jt,at,u,s,K):O(Jt,tn,at,s,u,K);if(!(Yo===n?Jt===tn||$(Jt,tn,w,O,K):Yo)){Xt=!1;break}Pt||(Pt=at=="constructor")}if(Xt&&!Pt){var no=s.constructor,Go=u.constructor;no!=Go&&"constructor"in s&&"constructor"in u&&!(typeof no=="function"&&no instanceof no&&typeof Go=="function"&&Go instanceof Go)&&(Xt=!1)}return K.delete(s),K.delete(u),Xt}function dl(s){return ag(Tb(s,n,Ab),s+"")}function Qp(s){return rl(s,ii,rg)}function eg(s){return rl(s,Do,yb)}var tg=Ja?function(s){return Ja.get(s)}:wg;function nh(s){for(var u=s.name+"",w=Us[u],O=kt.call(Us,u)?w.length:0;O--;){var $=w[O],K=$.func;if(K==null||K==s)return $.name}return u}function of(s){var u=kt.call(z,"placeholder")?z:s;return u.placeholder}function Ct(){var s=z.iteratee||yg;return s=s===yg?ql:s,arguments.length?s(arguments[0],arguments[1]):s}function rh(s,u){var w=s.__data__;return WP(u)?w[typeof u=="string"?"string":"hash"]:w.map}function ng(s){for(var u=ii(s),w=u.length;w--;){var O=u[w],$=s[O];u[w]=[O,$,xb($)]}return u}function ic(s,u){var w=go(s,u);return zc(w)?w:n}function NP(s){var u=kt.call(s,jo),w=s[jo];try{s[jo]=n;var O=!0}catch{}var $=Lo.call(s);return O&&(u?s[jo]=w:delete s[jo]),$}var rg=ya?function(s){return s==null?[]:(s=rt(s),Ae(ya(s),function(u){return Il.call(s,u)}))}:xg,yb=ya?function(s){for(var u=[];s;)Tt(u,rg(s)),s=Vs(s);return u}:xg,Mi=rr;(yo&&Mi(new yo(new ArrayBuffer(1)))!=on||cs&&Mi(new cs)!=Mt||wa&&Mi(wa.resolve())!=Sn||bo&&Mi(new bo)!=Jn||Bo&&Mi(new Bo)!=ut)&&(Mi=function(s){var u=rr(s),w=u==Hn?s.constructor:n,O=w?oc(w):"";if(O)switch(O){case fs:return on;case Lu:return Mt;case $f:return Sn;case Fc:return Jn;case Sa:return ut}return u});function jP(s,u,w){for(var O=-1,$=w.length;++O<$;){var K=w[O],oe=K.size;switch(K.type){case"drop":s+=oe;break;case"dropRight":u-=oe;break;case"take":u=Gn(u,s+oe);break;case"takeRight":s=wn(s,u-oe);break}}return{start:s,end:u}}function BP(s){var u=s.match(Fs);return u?u[1].split(Xr):[]}function bb(s,u,w){u=Ci(u,s);for(var O=-1,$=u.length,K=!1;++O<$;){var oe=Ia(u[O]);if(!(K=s!=null&&w(s,oe)))break;s=s[oe]}return K||++O!=$?K:($=s==null?0:s.length,!!$&&ch($)&&hl(oe,$)&&(Ht(s)||sc(s)))}function $P(s){var u=s.length,w=new s.constructor(u);return u&&typeof s[0]=="string"&&kt.call(s,"index")&&(w.index=s.index,w.input=s.input),w}function wb(s){return typeof s.constructor=="function"&&!Zf(s)?$o(Vs(s)):{}}function VP(s,u,w){var O=s.constructor;switch(u){case si:return ta(s);case ct:case pt:return new O(+s);case on:return Xf(s,w);case Vi:case Hi:case Ui:case Pr:case Nn:case Or:case yr:case Yr:case Gr:return cl(s,w);case Mt:return new O;case Vn:case sn:return new O(s);case Dr:return tc(s);case Jn:return new O;case fn:return ul(s)}}function HP(s,u){var w=u.length;if(!w)return s;var O=w-1;return u[O]=(w>1?"& ":"")+u[O],u=u.join(w>2?", ":" "),s.replace(Ls,`{
|
|
143
|
+
*/wp.exports;(function(t,e){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",p=500,y="__lodash_placeholder__",g=1,T=2,E=4,A=1,I=2,j=1,R=2,U=4,H=8,ne=16,q=32,ie=64,x=128,le=256,ae=512,Ve=30,tt="...",Qe=800,qe=16,Oe=1,ue=2,ve=3,ke=1/0,Le=9007199254740991,et=17976931348623157e292,ge=NaN,Se=4294967295,Ne=Se-1,We=Se>>>1,Be=[["ary",x],["bind",j],["bindKey",R],["curry",H],["curryRight",ne],["flip",ae],["partial",q],["partialRight",ie],["rearg",le]],ze="[object Arguments]",Ke="[object Array]",ot="[object AsyncFunction]",ct="[object Boolean]",pt="[object Date]",ft="[object DOMException]",yt="[object Error]",Je="[object Function]",At="[object GeneratorFunction]",Mt="[object Map]",Vn="[object Number]",vr="[object Null]",Hn="[object Object]",Sn="[object Promise]",$i="[object Proxy]",Pr="[object RegExp]",Jn="[object Set]",sn="[object String]",fn="[object Symbol]",dn="[object Undefined]",ut="[object WeakMap]",Dn="[object WeakSet]",si="[object ArrayBuffer]",on="[object DataView]",Vi="[object Float32Array]",Hi="[object Float64Array]",Ui="[object Int8Array]",Or="[object Int16Array]",Nn="[object Int32Array]",_r="[object Uint8Array]",yr="[object Uint8ClampedArray]",Gr="[object Uint16Array]",qr="[object Uint32Array]",Ao=/\b__p \+= '';/g,Un=/\b(__p \+=) '' \+/g,Xr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Qn=/&(?:amp|lt|gt|quot|#39);/g,Wt=/[&<>"']/g,ai=RegExp(Qn.source),Wi=RegExp(Wt.source),Pn=/<%-([\s\S]+?)%>/g,hn=/<%([\s\S]+?)%>/g,li=/<%=([\s\S]+?)%>/g,ui=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tn=/^\w*$/,so=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,br=/[\\^$.*+?()[\]{}|]/g,ci=RegExp(br.source),an=/^\s+/,Di=/\s/,Ls=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fs=/\{\n\/\* \[wrapped with (.+)\] \*/,Kr=/,? & /,ao=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,lo=/[()=,{}\[\]\/\s]/,Pi=/\\(\\)?/g,er=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Rr=/\w*$/,Ar=/^[-+]0x[0-9a-f]+$/i,fi=/^0b[01]+$/i,Zr=/^\[object .+?Constructor\]$/,wr=/^0o[0-7]+$/i,Ir=/^(?:0|[1-9]\d*)$/,tr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,zi=/($^)/,Oi=/['\n\r\u2028\u2029\\]/g,ar="\\ud800-\\udfff",yn="\\u0300-\\u036f",Mr="\\ufe20-\\ufe2f",Lr="\\u20d0-\\u20ff",di=yn+Mr+Lr,hi="\\u2700-\\u27bf",xr="a-z\\xdf-\\xf6\\xf8-\\xff",Jr="\\xac\\xb1\\xd7\\xf7",Wn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",pi="\\u2000-\\u206f",gi=" \\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",_i="A-Z\\xc0-\\xd6\\xd8-\\xde",nn="\\ufe0e\\ufe0f",jn=Jr+Wn+pi+gi,Cn="['’]",uo="["+ar+"]",On="["+jn+"]",_n="["+di+"]",k="\\d+",F="["+hi+"]",G="["+xr+"]",ee="[^"+ar+jn+k+hi+xr+_i+"]",Ee="\\ud83c[\\udffb-\\udfff]",me="(?:"+_n+"|"+Ee+")",Re="[^"+ar+"]",Xe="(?:\\ud83c[\\udde6-\\uddff]){2}",gt="[\\ud800-\\udbff][\\udc00-\\udfff]",mt="["+_i+"]",dt="\\u200d",Ft="(?:"+G+"|"+ee+")",Bn="(?:"+mt+"|"+ee+")",zn="(?:"+Cn+"(?:d|ll|m|re|s|t|ve))?",En="(?:"+Cn+"(?:D|LL|M|RE|S|T|VE))?",Qr=me+"?",lr="["+nn+"]?",Yi="(?:"+dt+"(?:"+[Re,Xe,gt].join("|")+")"+lr+Qr+")*",mi="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Gi="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Fr=lr+Qr+Yi,qi="(?:"+[F,Xe,gt].join("|")+")"+Fr,Wa="(?:"+[Re+_n+"?",_n,Xe,gt,uo].join("|")+")",Ns=RegExp(Cn,"g"),rs=RegExp(_n,"g"),Sr=RegExp(Ee+"(?="+Ee+")|"+Wa+Fr,"g"),za=RegExp([mt+"?"+G+"+"+zn+"(?="+[On,mt,"$"].join("|")+")",Bn+"+"+En+"(?="+[On,mt+Ft,"$"].join("|")+")",mt+"?"+Ft+"+"+zn,mt+"+"+En,Gi,mi,k,qi].join("|"),"g"),vi=RegExp("["+dt+ar+di+nn+"]"),js=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,is=["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"],rn=-1,Gt={};Gt[Vi]=Gt[Hi]=Gt[Ui]=Gt[Or]=Gt[Nn]=Gt[_r]=Gt[yr]=Gt[Gr]=Gt[qr]=!0,Gt[ze]=Gt[Ke]=Gt[si]=Gt[ct]=Gt[on]=Gt[pt]=Gt[yt]=Gt[Je]=Gt[Mt]=Gt[Vn]=Gt[Hn]=Gt[Pr]=Gt[Jn]=Gt[sn]=Gt[ut]=!1;var Kt={};Kt[ze]=Kt[Ke]=Kt[si]=Kt[on]=Kt[ct]=Kt[pt]=Kt[Vi]=Kt[Hi]=Kt[Ui]=Kt[Or]=Kt[Nn]=Kt[Mt]=Kt[Vn]=Kt[Hn]=Kt[Pr]=Kt[Jn]=Kt[sn]=Kt[fn]=Kt[_r]=Kt[yr]=Kt[Gr]=Kt[qr]=!0,Kt[yt]=Kt[Je]=Kt[ut]=!1;var Ri={À:"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"},ei={"&":"&","<":"<",">":">",'"':""","'":"'"},Io={"&":"&","<":"<",">":">",""":'"',"'":"'"},yi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ur=parseFloat,Bs=parseInt,co=typeof ki=="object"&&ki&&ki.Object===Object&&ki,ua=typeof self=="object"&&self&&self.Object===Object&&self,ln=co||ua||Function("return this")(),Mo=e&&!e.nodeType&&e,bi=Mo&&!0&&t&&!t.nodeType&&t,ca=bi&&bi.exports===Mo,fo=ca&&co.process,cr=function(){try{var Z=bi&&bi.require&&bi.require("util").types;return Z||fo&&fo.binding&&fo.binding("util")}catch{}}(),h=cr&&cr.isArrayBuffer,b=cr&&cr.isDate,C=cr&&cr.isMap,P=cr&&cr.isRegExp,L=cr&&cr.isSet,N=cr&&cr.isTypedArray;function V(Z,fe,ce){switch(ce.length){case 0:return Z.call(fe);case 1:return Z.call(fe,ce[0]);case 2:return Z.call(fe,ce[0],ce[1]);case 3:return Z.call(fe,ce[0],ce[1],ce[2])}return Z.apply(fe,ce)}function se(Z,fe,ce,Ie){for(var Fe=-1,st=Z==null?0:Z.length;++Fe<st;){var lt=Z[Fe];fe(Ie,lt,ce(lt),Z)}return Ie}function te(Z,fe){for(var ce=-1,Ie=Z==null?0:Z.length;++ce<Ie&&fe(Z[ce],ce,Z)!==!1;);return Z}function pe(Z,fe){for(var ce=Z==null?0:Z.length;ce--&&fe(Z[ce],ce,Z)!==!1;);return Z}function _e(Z,fe){for(var ce=-1,Ie=Z==null?0:Z.length;++ce<Ie;)if(!fe(Z[ce],ce,Z))return!1;return!0}function Ae(Z,fe){for(var ce=-1,Ie=Z==null?0:Z.length,Fe=0,st=[];++ce<Ie;){var lt=Z[ce];fe(lt,ce,Z)&&(st[Fe++]=lt)}return st}function Te(Z,fe){var ce=Z==null?0:Z.length;return!!ce&&Qt(Z,fe,0)>-1}function $e(Z,fe,ce){for(var Ie=-1,Fe=Z==null?0:Z.length;++Ie<Fe;)if(ce(fe,Z[Ie]))return!0;return!1}function it(Z,fe){for(var ce=-1,Ie=Z==null?0:Z.length,Fe=Array(Ie);++ce<Ie;)Fe[ce]=fe(Z[ce],ce,Z);return Fe}function Tt(Z,fe){for(var ce=-1,Ie=fe.length,Fe=Z.length;++ce<Ie;)Z[Fe+ce]=fe[ce];return Z}function Et(Z,fe,ce,Ie){var Fe=-1,st=Z==null?0:Z.length;for(Ie&&st&&(ce=Z[++Fe]);++Fe<st;)ce=fe(ce,Z[Fe],Fe,Z);return ce}function Rn(Z,fe,ce,Ie){var Fe=Z==null?0:Z.length;for(Ie&&Fe&&(ce=Z[--Fe]);Fe--;)ce=fe(ce,Z[Fe],Fe,Z);return ce}function un(Z,fe){for(var ce=-1,Ie=Z==null?0:Z.length;++ce<Ie;)if(fe(Z[ce],ce,Z))return!0;return!1}var Nr=D("length");function jr(Z){return Z.split("")}function Lt(Z){return Z.match(ao)||[]}function Br(Z,fe,ce){var Ie;return ce(Z,function(Fe,st,lt){if(fe(Fe,st,lt))return Ie=st,!1}),Ie}function jt(Z,fe,ce,Ie){for(var Fe=Z.length,st=ce+(Ie?1:-1);Ie?st--:++st<Fe;)if(fe(Z[st],st,Z))return st;return-1}function Qt(Z,fe,ce){return fe===fe?Ou(Z,fe,ce):jt(Z,po,ce)}function ho(Z,fe,ce,Ie){for(var Fe=ce-1,st=Z.length;++Fe<st;)if(Ie(Z[Fe],fe))return Fe;return-1}function po(Z){return Z!==Z}function Tr(Z,fe){var ce=Z==null?0:Z.length;return ce?be(Z,fe)/ce:ge}function D(Z){return function(fe){return fe==null?n:fe[Z]}}function M(Z){return function(fe){return Z==null?n:Z[fe]}}function W(Z,fe,ce,Ie,Fe){return Fe(Z,function(st,lt,rt){ce=Ie?(Ie=!1,st):fe(ce,st,lt,rt)}),ce}function Q(Z,fe){var ce=Z.length;for(Z.sort(fe);ce--;)Z[ce]=Z[ce].value;return Z}function be(Z,fe){for(var ce,Ie=-1,Fe=Z.length;++Ie<Fe;){var st=fe(Z[Ie]);st!==n&&(ce=ce===n?st:ce+st)}return ce}function we(Z,fe){for(var ce=-1,Ie=Array(Z);++ce<Z;)Ie[ce]=fe(ce);return Ie}function Me(Z,fe){return it(fe,function(ce){return[ce,Z[ce]]})}function Ye(Z){return Z&&Z.slice(0,Al(Z)+1).replace(an,"")}function ht(Z){return function(fe){return Z(fe)}}function _t(Z,fe){return it(fe,function(ce){return Z[ce]})}function St(Z,fe){return Z.has(fe)}function vt(Z,fe){for(var ce=-1,Ie=Z.length;++ce<Ie&&Qt(fe,Z[ce],0)>-1;);return ce}function An(Z,fe){for(var ce=Z.length;ce--&&Qt(fe,Z[ce],0)>-1;);return ce}function bn(Z,fe){for(var ce=Z.length,Ie=0;ce--;)Z[ce]===fe&&++Ie;return Ie}var $n=M(Ri),os=M(ei);function fa(Z){return"\\"+yi[Z]}function go(Z,fe){return Z==null?n:Z[fe]}function ti(Z){return vi.test(Z)}function Ya(Z){return js.test(Z)}function Ai(Z){for(var fe,ce=[];!(fe=Z.next()).done;)ce.push(fe.value);return ce}function da(Z){var fe=-1,ce=Array(Z.size);return Z.forEach(function(Ie,Fe){ce[++fe]=[Fe,Ie]}),ce}function ss(Z,fe){return function(ce){return Z(fe(ce))}}function ni(Z,fe){for(var ce=-1,Ie=Z.length,Fe=0,st=[];++ce<Ie;){var lt=Z[ce];(lt===fe||lt===y)&&(Z[ce]=y,st[Fe++]=ce)}return st}function mo(Z){var fe=-1,ce=Array(Z.size);return Z.forEach(function(Ie){ce[++fe]=Ie}),ce}function Ga(Z){var fe=-1,ce=Array(Z.size);return Z.forEach(function(Ie){ce[++fe]=[Ie,Ie]}),ce}function Ou(Z,fe,ce){for(var Ie=ce-1,Fe=Z.length;++Ie<Fe;)if(Z[Ie]===fe)return Ie;return-1}function ha(Z,fe,ce){for(var Ie=ce+1;Ie--;)if(Z[Ie]===fe)return Ie;return Ie}function vo(Z){return ti(Z)?$s(Z):Nr(Z)}function cn(Z){return ti(Z)?J(Z):jr(Z)}function Al(Z){for(var fe=Z.length;fe--&&Di.test(Z.charAt(fe)););return fe}var pa=M(Io);function $s(Z){for(var fe=Sr.lastIndex=0;Sr.test(Z);)++fe;return fe}function J(Z){return Z.match(Sr)||[]}function de(Z){return Z.match(za)||[]}var Ce=function Z(fe){fe=fe==null?ln:De.defaults(ln.Object(),fe,De.pick(ln,is));var ce=fe.Array,Ie=fe.Date,Fe=fe.Error,st=fe.Function,lt=fe.Math,rt=fe.Object,It=fe.RegExp,wt=fe.String,Vt=fe.TypeError,Yn=ce.prototype,nr=st.prototype,In=rt.prototype,zt=fe["__core-js_shared__"],$r=nr.toString,kt=In.hasOwnProperty,_u=0,pn=function(){var s=/[^.]+$/.exec(zt&&zt.keys&&zt.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),Lo=In.toString,Ru=$r.call(rt),Au=ln._,Iu=It("^"+$r.call(kt).replace(br,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ga=ca?fe.Buffer:n,Fo=fe.Symbol,qa=fe.Uint8Array,Xa=ga?ga.allocUnsafe:n,Vs=ss(rt.getPrototypeOf,rt),ma=rt.create,Il=In.propertyIsEnumerable,No=Yn.splice,Ml=Fo?Fo.isConcatSpreadable:n,Xi=Fo?Fo.iterator:n,jo=Fo?Fo.toStringTag:n,as=function(){try{var s=ic(rt,"defineProperty");return s({},"",{}),s}catch{}}(),Bf=fe.clearTimeout!==ln.clearTimeout&&fe.clearTimeout,Ka=Ie&&Ie.now!==ln.Date.now&&Ie.now,Mc=fe.setTimeout!==ln.setTimeout&&fe.setTimeout,va=lt.ceil,Hs=lt.floor,ya=rt.getOwnPropertySymbols,Ll=ga?ga.isBuffer:n,ba=fe.isFinite,Za=Yn.join,Lc=ss(rt.keys,rt),wn=lt.max,Gn=lt.min,ls=Ie.now,Mu=fe.parseInt,us=lt.random,Fl=Yn.reverse,yo=ic(fe,"DataView"),cs=ic(fe,"Map"),wa=ic(fe,"Promise"),bo=ic(fe,"Set"),Bo=ic(fe,"WeakMap"),xa=ic(rt,"create"),Ja=Bo&&new Bo,Us={},fs=oc(yo),Lu=oc(cs),$f=oc(wa),Fc=oc(bo),Sa=oc(Bo),ds=Fo?Fo.prototype:n,Ws=ds?ds.valueOf:n,Qa=ds?ds.toString:n;function z(s){if(or(s)&&!Ht(s)&&!(s instanceof $t)){if(s instanceof Cr)return s;if(kt.call(s,"__wrapped__"))return Ob(s)}return new Cr(s)}var $o=function(){function s(){}return function(u){if(!qn(u))return{};if(ma)return ma(u);s.prototype=u;var w=new s;return s.prototype=n,w}}();function Vo(){}function Cr(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=n}z.templateSettings={escape:Pn,evaluate:hn,interpolate:li,variable:"",imports:{_:z}},z.prototype=Vo.prototype,z.prototype.constructor=z,Cr.prototype=$o(Vo.prototype),Cr.prototype.constructor=Cr;function $t(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Se,this.__views__=[]}function Nl(){var s=new $t(this.__wrapped__);return s.__actions__=Yr(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Yr(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Yr(this.__views__),s}function el(){if(this.__filtered__){var s=new $t(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function jl(){var s=this.__wrapped__.value(),u=this.__dir__,w=Ht(s),O=u<0,$=w?s.length:0,K=jP(0,$,this.__views__),oe=K.start,he=K.end,ye=he-oe,He=O?he:oe-1,Ue=this.__iteratees__,Ze=Ue.length,at=0,bt=Gn(ye,this.__takeCount__);if(!w||!O&&$==ye&&bt==ye)return Jc(s,this.__actions__);var Dt=[];e:for(;ye--&&at<bt;){He+=u;for(var Xt=-1,Pt=s[He];++Xt<Ze;){var Jt=Ue[Xt],tn=Jt.iteratee,Yo=Jt.type,no=tn(Pt);if(Yo==ue)Pt=no;else if(!no){if(Yo==Oe)continue e;break e}}Dt[at++]=Pt}return Dt}$t.prototype=$o(Vo.prototype),$t.prototype.constructor=$t;function wo(s){var u=-1,w=s==null?0:s.length;for(this.clear();++u<w;){var O=s[u];this.set(O[0],O[1])}}function Fu(){this.__data__=xa?xa(null):{},this.size=0}function Nc(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function jc(s){var u=this.__data__;if(xa){var w=u[s];return w===f?n:w}return kt.call(u,s)?u[s]:n}function Bc(s){var u=this.__data__;return xa?u[s]!==n:kt.call(u,s)}function Vf(s,u){var w=this.__data__;return this.size+=this.has(s)?0:1,w[s]=xa&&u===n?f:u,this}wo.prototype.clear=Fu,wo.prototype.delete=Nc,wo.prototype.get=jc,wo.prototype.has=Bc,wo.prototype.set=Vf;function xo(s){var u=-1,w=s==null?0:s.length;for(this.clear();++u<w;){var O=s[u];this.set(O[0],O[1])}}function Hf(){this.__data__=[],this.size=0}function Uf(s){var u=this.__data__,w=Ki(u,s);if(w<0)return!1;var O=u.length-1;return w==O?u.pop():No.call(u,w,1),--this.size,!0}function Nu(s){var u=this.__data__,w=Ki(u,s);return w<0?n:u[w][1]}function tl(s){return Ki(this.__data__,s)>-1}function Wf(s,u){var w=this.__data__,O=Ki(w,s);return O<0?(++this.size,w.push([s,u])):w[O][1]=u,this}xo.prototype.clear=Hf,xo.prototype.delete=Uf,xo.prototype.get=Nu,xo.prototype.has=tl,xo.prototype.set=Wf;function Ho(s){var u=-1,w=s==null?0:s.length;for(this.clear();++u<w;){var O=s[u];this.set(O[0],O[1])}}function ju(){this.size=0,this.__data__={hash:new wo,map:new(cs||xo),string:new wo}}function Bl(s){var u=rh(this,s).delete(s);return this.size-=u?1:0,u}function zf(s){return rh(this,s).get(s)}function Yf(s){return rh(this,s).has(s)}function Gf(s,u){var w=rh(this,s),O=w.size;return w.set(s,u),this.size+=w.size==O?0:1,this}Ho.prototype.clear=ju,Ho.prototype.delete=Bl,Ho.prototype.get=zf,Ho.prototype.has=Yf,Ho.prototype.set=Gf;function Vr(s){var u=-1,w=s==null?0:s.length;for(this.__data__=new Ho;++u<w;)this.add(s[u])}function Bu(s){return this.__data__.set(s,f),this}function $l(s){return this.__data__.has(s)}Vr.prototype.add=Vr.prototype.push=Bu,Vr.prototype.has=$l;function qt(s){var u=this.__data__=new xo(s);this.size=u.size}function wi(){this.__data__=new xo,this.size=0}function Ta(s){var u=this.__data__,w=u.delete(s);return this.size=u.size,w}function zs(s){return this.__data__.get(s)}function Zt(s){return this.__data__.has(s)}function hs(s,u){var w=this.__data__;if(w instanceof xo){var O=w.__data__;if(!cs||O.length<i-1)return O.push([s,u]),this.size=++w.size,this;w=this.__data__=new Ho(O)}return w.set(s,u),this.size=w.size,this}qt.prototype.clear=wi,qt.prototype.delete=Ta,qt.prototype.get=zs,qt.prototype.has=Zt,qt.prototype.set=hs;function nl(s,u){var w=Ht(s),O=!w&&sc(s),$=!w&&!O&&ru(s),K=!w&&!O&&!$&&sf(s),oe=w||O||$||K,he=oe?we(s.length,wt):[],ye=he.length;for(var He in s)(u||kt.call(s,He))&&!(oe&&(He=="length"||$&&(He=="offset"||He=="parent")||K&&(He=="buffer"||He=="byteLength"||He=="byteOffset")||hl(He,ye)))&&he.push(He);return he}function ri(s){var u=s.length;return u?s[Js(0,u-1)]:n}function xi(s,u){return ih(Yr(s),Gs(u,0,s.length))}function So(s){return ih(Yr(s))}function $u(s,u,w){(w!==n&&!ra(s[u],w)||w===n&&!(u in s))&&Si(s,u,w)}function Hr(s,u,w){var O=s[u];(!(kt.call(s,u)&&ra(O,w))||w===n&&!(u in s))&&Si(s,u,w)}function Ki(s,u){for(var w=s.length;w--;)if(ra(s[w][0],u))return w;return-1}function Ys(s,u,w,O){return ps(s,function($,K,oe){u(O,$,w($),oe)}),O}function $c(s,u){return s&&Ii(u,oi(u),s)}function Vu(s,u){return s&&Ii(u,Do(u),s)}function Si(s,u,w){u=="__proto__"&&as?as(s,u,{configurable:!0,enumerable:!0,value:w,writable:!0}):s[u]=w}function Hu(s,u){for(var w=-1,O=u.length,$=ce(O),K=s==null;++w<O;)$[w]=K?n:pg(s,u[w]);return $}function Gs(s,u,w){return s===s&&(w!==n&&(s=s<=w?s:w),u!==n&&(s=s>=u?s:u)),s}function Ur(s,u,w,O,$,K){var oe,he=u&g,ye=u&T,He=u&E;if(w&&(oe=$?w(s,O,$,K):w(s)),oe!==n)return oe;if(!qn(s))return s;var Ue=Ht(s);if(Ue){if(oe=$P(s),!he)return Yr(s,oe)}else{var Ze=Mi(s),at=Ze==Je||Ze==At;if(ru(s))return bs(s,he);if(Ze==Hn||Ze==ze||at&&!$){if(oe=ye||at?{}:wb(s),!he)return ye?Kf(s,Vu(oe,s)):nf(s,$c(oe,s))}else{if(!Kt[Ze])return $?s:{};oe=VP(s,Ze,he)}}K||(K=new qt);var bt=K.get(s);if(bt)return bt;K.set(s,oe),Xb(s)?s.forEach(function(Pt){oe.add(Ur(Pt,u,w,Pt,s,K))}):Gb(s)&&s.forEach(function(Pt,Jt){oe.set(Jt,Ur(Pt,u,w,Jt,s,K))});var Dt=He?ye?eg:Qp:ye?Do:oi,Xt=Ue?n:Dt(s);return te(Xt||s,function(Pt,Jt){Xt&&(Jt=Pt,Pt=s[Jt]),Hr(oe,Jt,Ur(Pt,u,w,Jt,s,K))}),oe}function Uu(s){var u=oi(s);return function(w){return Wu(w,s,u)}}function Wu(s,u,w){var O=w.length;if(s==null)return!O;for(s=rt(s);O--;){var $=w[O],K=u[$],oe=s[$];if(oe===n&&!($ in s)||!K(oe))return!1}return!0}function zu(s,u,w){if(typeof s!="function")throw new Vt(a);return Jf(function(){s.apply(n,w)},u)}function qs(s,u,w,O){var $=-1,K=Te,oe=!0,he=s.length,ye=[],He=u.length;if(!he)return ye;w&&(u=it(u,ht(w))),O?(K=$e,oe=!1):u.length>=i&&(K=St,oe=!1,u=new Vr(u));e:for(;++$<he;){var Ue=s[$],Ze=w==null?Ue:w(Ue);if(Ue=O||Ue!==0?Ue:0,oe&&Ze===Ze){for(var at=He;at--;)if(u[at]===Ze)continue e;ye.push(Ue)}else K(u,Ze,O)||ye.push(Ue)}return ye}var ps=v(Ti),Yu=v(Hl,!0);function Vc(s,u){var w=!0;return ps(s,function(O,$,K){return w=!!u(O,$,K),w}),w}function Vl(s,u,w){for(var O=-1,$=s.length;++O<$;){var K=s[O],oe=u(K);if(oe!=null&&(he===n?oe===oe&&!zo(oe):w(oe,he)))var he=oe,ye=K}return ye}function qf(s,u,w,O){var $=s.length;for(w=Yt(w),w<0&&(w=-w>$?0:$+w),O=O===n||O>$?$:Yt(O),O<0&&(O+=$),O=w>O?0:Zb(O);w<O;)s[w++]=u;return s}function Hc(s,u){var w=[];return ps(s,function(O,$,K){u(O,$,K)&&w.push(O)}),w}function fr(s,u,w,O,$){var K=-1,oe=s.length;for(w||(w=UP),$||($=[]);++K<oe;){var he=s[K];u>0&&w(he)?u>1?fr(he,u-1,w,O,$):Tt($,he):O||($[$.length]=he)}return $}var Gu=l(),Uc=l(!0);function Ti(s,u){return s&&Gu(s,u,oi)}function Hl(s,u){return s&&Uc(s,u,oi)}function Ca(s,u){return Ae(u,function(w){return pl(s[w])})}function gs(s,u){u=Ci(u,s);for(var w=0,O=u.length;s!=null&&w<O;)s=s[Ia(u[w++])];return w&&w==O?s:n}function rl(s,u,w){var O=u(s);return Ht(s)?O:Tt(O,w(s))}function rr(s){return s==null?s===n?dn:vr:jo&&jo in rt(s)?NP(s):KP(s)}function Xs(s,u){return s>u}function Ul(s,u){return s!=null&&kt.call(s,u)}function Ea(s,u){return s!=null&&u in rt(s)}function Wl(s,u,w){return s>=Gn(u,w)&&s<wn(u,w)}function ka(s,u,w){for(var O=w?$e:Te,$=s[0].length,K=s.length,oe=K,he=ce(K),ye=1/0,He=[];oe--;){var Ue=s[oe];oe&&u&&(Ue=it(Ue,ht(u))),ye=Gn(Ue.length,ye),he[oe]=!w&&(u||$>=120&&Ue.length>=120)?new Vr(oe&&Ue):n}Ue=s[0];var Ze=-1,at=he[0];e:for(;++Ze<$&&He.length<ye;){var bt=Ue[Ze],Dt=u?u(bt):bt;if(bt=w||bt!==0?bt:0,!(at?St(at,Dt):O(He,Dt,w))){for(oe=K;--oe;){var Xt=he[oe];if(!(Xt?St(Xt,Dt):O(s[oe],Dt,w)))continue e}at&&at.push(Dt),He.push(bt)}}return He}function zl(s,u,w,O){return Ti(s,function($,K,oe){u(O,w($),K,oe)}),O}function To(s,u,w){u=Ci(u,s),s=Cb(s,u);var O=s==null?s:s[Ia(xs(u))];return O==null?n:V(O,s,w)}function Yl(s){return or(s)&&rr(s)==ze}function Ks(s){return or(s)&&rr(s)==si}function Wc(s){return or(s)&&rr(s)==pt}function il(s,u,w,O,$){return s===u?!0:s==null||u==null||!or(s)&&!or(u)?s!==s&&u!==u:Da(s,u,w,O,il,$)}function Da(s,u,w,O,$,K){var oe=Ht(s),he=Ht(u),ye=oe?Ke:Mi(s),He=he?Ke:Mi(u);ye=ye==ze?Hn:ye,He=He==ze?Hn:He;var Ue=ye==Hn,Ze=He==Hn,at=ye==He;if(at&&ru(s)){if(!ru(u))return!1;oe=!0,Ue=!1}if(at&&!Ue)return K||(K=new qt),oe||sf(s)?vb(s,u,w,O,$,K):LP(s,u,ye,w,O,$,K);if(!(w&A)){var bt=Ue&&kt.call(s,"__wrapped__"),Dt=Ze&&kt.call(u,"__wrapped__");if(bt||Dt){var Xt=bt?s.value():s,Pt=Dt?u.value():u;return K||(K=new qt),$(Xt,Pt,w,O,K)}}return at?(K||(K=new qt),FP(s,u,w,O,$,K)):!1}function Pa(s){return or(s)&&Mi(s)==Mt}function qu(s,u,w,O){var $=w.length,K=$,oe=!O;if(s==null)return!K;for(s=rt(s);$--;){var he=w[$];if(oe&&he[2]?he[1]!==s[he[0]]:!(he[0]in s))return!1}for(;++$<K;){he=w[$];var ye=he[0],He=s[ye],Ue=he[1];if(oe&&he[2]){if(He===n&&!(ye in s))return!1}else{var Ze=new qt;if(O)var at=O(He,Ue,ye,s,u,Ze);if(!(at===n?il(Ue,He,A|I,O,Ze):at))return!1}}return!0}function zc(s){if(!qn(s)||zP(s))return!1;var u=pl(s)?Iu:Zr;return u.test(oc(s))}function Zs(s){return or(s)&&rr(s)==Pr}function Gl(s){return or(s)&&Mi(s)==Jn}function Uo(s){return or(s)&&ch(s.length)&&!!Gt[rr(s)]}function ql(s){return typeof s=="function"?s:s==null?Po:typeof s=="object"?Ht(s)?sl(s[0],s[1]):Co(s):l0(s)}function Wo(s){if(!Zf(s))return Lc(s);var u=[];for(var w in rt(s))kt.call(s,w)&&w!="constructor"&&u.push(w);return u}function ol(s){if(!qn(s))return XP(s);var u=Zf(s),w=[];for(var O in s)O=="constructor"&&(u||!kt.call(s,O))||w.push(O);return w}function Zi(s,u){return s<u}function Ji(s,u){var w=-1,O=ko(s)?ce(s.length):[];return ps(s,function($,K,oe){O[++w]=u($,K,oe)}),O}function Co(s){var u=ng(s);return u.length==1&&u[0][2]?Sb(u[0][0],u[0][1]):function(w){return w===s||qu(w,s,u)}}function sl(s,u){return ig(s)&&xb(u)?Sb(Ia(s),u):function(w){var O=pg(w,s);return O===n&&O===u?gg(w,s):il(u,O,A|I)}}function ms(s,u,w,O,$){s!==u&&Gu(u,function(K,oe){if($||($=new qt),qn(K))Qi(s,u,oe,w,ms,O,$);else{var he=O?O(sg(s,oe),K,oe+"",s,u,$):n;he===n&&(he=K),$u(s,oe,he)}},Do)}function Qi(s,u,w,O,$,K,oe){var he=sg(s,w),ye=sg(u,w),He=oe.get(ye);if(He){$u(s,w,He);return}var Ue=K?K(he,ye,w+"",s,u,oe):n,Ze=Ue===n;if(Ze){var at=Ht(ye),bt=!at&&ru(ye),Dt=!at&&!bt&&sf(ye);Ue=ye,at||bt||Dt?Ht(he)?Ue=he:hr(he)?Ue=Yr(he):bt?(Ze=!1,Ue=bs(ye,!0)):Dt?(Ze=!1,Ue=cl(ye,!0)):Ue=[]:Qf(ye)||sc(ye)?(Ue=he,sc(he)?Ue=Jb(he):(!qn(he)||pl(he))&&(Ue=wb(ye))):Ze=!1}Ze&&(oe.set(ye,Ue),$(Ue,ye,O,K,oe),oe.delete(ye)),$u(s,w,Ue)}function Oa(s,u){var w=s.length;if(w)return u+=u<0?w:0,hl(u,w)?s[u]:n}function Xl(s,u,w){u.length?u=it(u,function(K){return Ht(K)?function(oe){return gs(oe,K.length===1?K[0]:K)}:K}):u=[Po];var O=-1;u=it(u,ht(Ct()));var $=Ji(s,function(K,oe,he){var ye=it(u,function(He){return He(K)});return{criteria:ye,index:++O,value:K}});return Q($,function(K,oe){return nu(K,oe,w)})}function al(s,u){return _a(s,u,function(w,O){return gg(s,O)})}function _a(s,u,w){for(var O=-1,$=u.length,K={};++O<$;){var oe=u[O],he=gs(s,oe);w(he,oe)&&Qs(K,Ci(oe,s),he)}return K}function Yc(s){return function(u){return gs(u,s)}}function Xu(s,u,w,O){var $=O?ho:Qt,K=-1,oe=u.length,he=s;for(s===u&&(u=Yr(u)),w&&(he=it(s,ht(w)));++K<oe;)for(var ye=0,He=u[K],Ue=w?w(He):He;(ye=$(he,Ue,ye,O))>-1;)he!==s&&No.call(he,ye,1),No.call(s,ye,1);return s}function Ku(s,u){for(var w=s?u.length:0,O=w-1;w--;){var $=u[w];if(w==O||$!==K){var K=$;hl($)?No.call(s,$,1):zr(s,$)}}return s}function Js(s,u){return s+Hs(us()*(u-s+1))}function Zu(s,u,w,O){for(var $=-1,K=wn(va((u-s)/(w||1)),0),oe=ce(K);K--;)oe[O?K:++$]=s,s+=w;return oe}function Kl(s,u){var w="";if(!s||u<1||u>Le)return w;do u%2&&(w+=s),u=Hs(u/2),u&&(s+=s);while(u);return w}function Bt(s,u){return ag(Tb(s,u,Po),s+"")}function ll(s){return ri(af(s))}function Ju(s,u){var w=af(s);return ih(w,Gs(u,0,w.length))}function Qs(s,u,w,O){if(!qn(s))return s;u=Ci(u,s);for(var $=-1,K=u.length,oe=K-1,he=s;he!=null&&++$<K;){var ye=Ia(u[$]),He=w;if(ye==="__proto__"||ye==="constructor"||ye==="prototype")return s;if($!=oe){var Ue=he[ye];He=O?O(Ue,ye,he):n,He===n&&(He=qn(Ue)?Ue:hl(u[$+1])?[]:{})}Hr(he,ye,He),he=he[ye]}return s}var Zl=Ja?function(s,u){return Ja.set(s,u),s}:Po,Gc=as?function(s,u){return as(s,"toString",{configurable:!0,enumerable:!1,value:vg(u),writable:!0})}:Po;function qc(s){return ih(af(s))}function ii(s,u,w){var O=-1,$=s.length;u<0&&(u=-u>$?0:$+u),w=w>$?$:w,w<0&&(w+=$),$=u>w?0:w-u>>>0,u>>>=0;for(var K=ce($);++O<$;)K[O]=s[O+u];return K}function Xc(s,u){var w;return ps(s,function(O,$,K){return w=u(O,$,K),!w}),!!w}function Jl(s,u,w){var O=0,$=s==null?O:s.length;if(typeof u=="number"&&u===u&&$<=We){for(;O<$;){var K=O+$>>>1,oe=s[K];oe!==null&&!zo(oe)&&(w?oe<=u:oe<u)?O=K+1:$=K}return $}return Qu(s,u,Po,w)}function Qu(s,u,w,O){var $=0,K=s==null?0:s.length;if(K===0)return 0;u=w(u);for(var oe=u!==u,he=u===null,ye=zo(u),He=u===n;$<K;){var Ue=Hs(($+K)/2),Ze=w(s[Ue]),at=Ze!==n,bt=Ze===null,Dt=Ze===Ze,Xt=zo(Ze);if(oe)var Pt=O||Dt;else He?Pt=Dt&&(O||at):he?Pt=Dt&&at&&(O||!bt):ye?Pt=Dt&&at&&!bt&&(O||!Xt):bt||Xt?Pt=!1:Pt=O?Ze<=u:Ze<u;Pt?$=Ue+1:K=Ue}return Gn(K,Ne)}function ec(s,u){for(var w=-1,O=s.length,$=0,K=[];++w<O;){var oe=s[w],he=u?u(oe):oe;if(!w||!ra(he,ye)){var ye=he;K[$++]=oe===0?0:oe}}return K}function Kc(s){return typeof s=="number"?s:zo(s)?ge:+s}function Wr(s){if(typeof s=="string")return s;if(Ht(s))return it(s,Wr)+"";if(zo(s))return Qa?Qa.call(s):"";var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function vs(s,u,w){var O=-1,$=Te,K=s.length,oe=!0,he=[],ye=he;if(w)oe=!1,$=$e;else if(K>=i){var He=u?null:Aa(s);if(He)return mo(He);oe=!1,$=St,ye=new Vr}else ye=u?[]:he;e:for(;++O<K;){var Ue=s[O],Ze=u?u(Ue):Ue;if(Ue=w||Ue!==0?Ue:0,oe&&Ze===Ze){for(var at=ye.length;at--;)if(ye[at]===Ze)continue e;u&&ye.push(Ze),he.push(Ue)}else $(ye,Ze,w)||(ye!==he&&ye.push(Ze),he.push(Ue))}return he}function zr(s,u){return u=Ci(u,s),s=Cb(s,u),s==null||delete s[Ia(xs(u))]}function Zc(s,u,w,O){return Qs(s,u,w(gs(s,u)),O)}function ea(s,u,w,O){for(var $=s.length,K=O?$:-1;(O?K--:++K<$)&&u(s[K],K,s););return w?ii(s,O?0:K,O?K+1:$):ii(s,O?K+1:0,O?$:K)}function Jc(s,u){var w=s;return w instanceof $t&&(w=w.value()),Et(u,function(O,$){return $.func.apply($.thisArg,Tt([O],$.args))},w)}function dr(s,u,w){var O=s.length;if(O<2)return O?vs(s[0]):[];for(var $=-1,K=ce(O);++$<O;)for(var oe=s[$],he=-1;++he<O;)he!=$&&(K[$]=qs(K[$]||oe,s[he],u,w));return vs(fr(K,1),u,w)}function Qc(s,u,w){for(var O=-1,$=s.length,K=u.length,oe={};++O<$;){var he=O<K?u[O]:n;w(oe,s[O],he)}return oe}function Ql(s){return hr(s)?s:[]}function eu(s){return typeof s=="function"?s:Po}function Ci(s,u){return Ht(s)?s:ig(s,u)?[s]:Pb(gn(s))}var ef=Bt;function ys(s,u,w){var O=s.length;return w=w===n?O:w,!u&&w>=O?s:ii(s,u,w)}var tu=Bf||function(s){return ln.clearTimeout(s)};function bs(s,u){if(u)return s.slice();var w=s.length,O=Xa?Xa(w):new s.constructor(w);return s.copy(O),O}function ta(s){var u=new s.constructor(s.byteLength);return new qa(u).set(new qa(s)),u}function Xf(s,u){var w=u?ta(s.buffer):s.buffer;return new s.constructor(w,s.byteOffset,s.byteLength)}function tc(s){var u=new s.constructor(s.source,Rr.exec(s));return u.lastIndex=s.lastIndex,u}function ul(s){return Ws?rt(Ws.call(s)):{}}function cl(s,u){var w=u?ta(s.buffer):s.buffer;return new s.constructor(w,s.byteOffset,s.length)}function nc(s,u){if(s!==u){var w=s!==n,O=s===null,$=s===s,K=zo(s),oe=u!==n,he=u===null,ye=u===u,He=zo(u);if(!he&&!He&&!K&&s>u||K&&oe&&ye&&!he&&!He||O&&oe&&ye||!w&&ye||!$)return 1;if(!O&&!K&&!He&&s<u||He&&w&&$&&!O&&!K||he&&w&&$||!oe&&$||!ye)return-1}return 0}function nu(s,u,w){for(var O=-1,$=s.criteria,K=u.criteria,oe=$.length,he=w.length;++O<oe;){var ye=nc($[O],K[O]);if(ye){if(O>=he)return ye;var He=w[O];return ye*(He=="desc"?-1:1)}}return s.index-u.index}function rc(s,u,w,O){for(var $=-1,K=s.length,oe=w.length,he=-1,ye=u.length,He=wn(K-oe,0),Ue=ce(ye+He),Ze=!O;++he<ye;)Ue[he]=u[he];for(;++$<oe;)(Ze||$<K)&&(Ue[w[$]]=s[$]);for(;He--;)Ue[he++]=s[$++];return Ue}function tf(s,u,w,O){for(var $=-1,K=s.length,oe=-1,he=w.length,ye=-1,He=u.length,Ue=wn(K-he,0),Ze=ce(Ue+He),at=!O;++$<Ue;)Ze[$]=s[$];for(var bt=$;++ye<He;)Ze[bt+ye]=u[ye];for(;++oe<he;)(at||$<K)&&(Ze[bt+w[oe]]=s[$++]);return Ze}function Yr(s,u){var w=-1,O=s.length;for(u||(u=ce(O));++w<O;)u[w]=s[w];return u}function Ii(s,u,w,O){var $=!w;w||(w={});for(var K=-1,oe=u.length;++K<oe;){var he=u[K],ye=O?O(w[he],s[he],he,w,s):n;ye===n&&(ye=s[he]),$?Si(w,he,ye):Hr(w,he,ye)}return w}function nf(s,u){return Ii(s,rg(s),u)}function Kf(s,u){return Ii(s,yb(s),u)}function fl(s,u){return function(w,O){var $=Ht(w)?se:Ys,K=u?u():{};return $(w,s,Ct(O,2),K)}}function Ra(s){return Bt(function(u,w){var O=-1,$=w.length,K=$>1?w[$-1]:n,oe=$>2?w[2]:n;for(K=s.length>3&&typeof K=="function"?($--,K):n,oe&&to(w[0],w[1],oe)&&(K=$<3?n:K,$=1),u=rt(u);++O<$;){var he=w[O];he&&s(u,he,O,K)}return u})}function v(s,u){return function(w,O){if(w==null)return w;if(!ko(w))return s(w,O);for(var $=w.length,K=u?$:-1,oe=rt(w);(u?K--:++K<$)&&O(oe[K],K,oe)!==!1;);return w}}function l(s){return function(u,w,O){for(var $=-1,K=rt(u),oe=O(u),he=oe.length;he--;){var ye=oe[s?he:++$];if(w(K[ye],ye,K)===!1)break}return u}}function d(s,u,w){var O=u&j,$=_(s);function K(){var oe=this&&this!==ln&&this instanceof K?$:s;return oe.apply(O?w:this,arguments)}return K}function m(s){return function(u){u=gn(u);var w=ti(u)?cn(u):n,O=w?w[0]:u.charAt(0),$=w?ys(w,1).join(""):u.slice(1);return O[s]()+$}}function S(s){return function(u){return Et(s0(o0(u).replace(Ns,"")),s,"")}}function _(s){return function(){var u=arguments;switch(u.length){case 0:return new s;case 1:return new s(u[0]);case 2:return new s(u[0],u[1]);case 3:return new s(u[0],u[1],u[2]);case 4:return new s(u[0],u[1],u[2],u[3]);case 5:return new s(u[0],u[1],u[2],u[3],u[4]);case 6:return new s(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new s(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var w=$o(s.prototype),O=s.apply(w,u);return qn(O)?O:w}}function B(s,u,w){var O=_(s);function $(){for(var K=arguments.length,oe=ce(K),he=K,ye=of($);he--;)oe[he]=arguments[he];var He=K<3&&oe[0]!==ye&&oe[K-1]!==ye?[]:ni(oe,ye);if(K-=He.length,K<w)return ws(s,u,xe,$.placeholder,n,oe,He,n,n,w-K);var Ue=this&&this!==ln&&this instanceof $?O:s;return V(Ue,this,oe)}return $}function Y(s){return function(u,w,O){var $=rt(u);if(!ko(u)){var K=Ct(w,3);u=oi(u),w=function(he){return K($[he],he,$)}}var oe=s(u,w,O);return oe>-1?$[K?u[oe]:oe]:n}}function re(s){return dl(function(u){var w=u.length,O=w,$=Cr.prototype.thru;for(s&&u.reverse();O--;){var K=u[O];if(typeof K!="function")throw new Vt(a);if($&&!oe&&nh(K)=="wrapper")var oe=new Cr([],!0)}for(O=oe?O:w;++O<w;){K=u[O];var he=nh(K),ye=he=="wrapper"?tg(K):n;ye&&og(ye[0])&&ye[1]==(x|H|q|le)&&!ye[4].length&&ye[9]==1?oe=oe[nh(ye[0])].apply(oe,ye[3]):oe=K.length==1&&og(K)?oe[he]():oe.thru(K)}return function(){var He=arguments,Ue=He[0];if(oe&&He.length==1&&Ht(Ue))return oe.plant(Ue).value();for(var Ze=0,at=w?u[Ze].apply(this,He):Ue;++Ze<w;)at=u[Ze].call(this,at);return at}})}function xe(s,u,w,O,$,K,oe,he,ye,He){var Ue=u&x,Ze=u&j,at=u&R,bt=u&(H|ne),Dt=u&ae,Xt=at?n:_(s);function Pt(){for(var Jt=arguments.length,tn=ce(Jt),Yo=Jt;Yo--;)tn[Yo]=arguments[Yo];if(bt)var no=of(Pt),Go=bn(tn,no);if(O&&(tn=rc(tn,O,$,bt)),K&&(tn=tf(tn,K,oe,bt)),Jt-=Go,bt&&Jt<He){var pr=ni(tn,no);return ws(s,u,xe,Pt.placeholder,w,tn,pr,he,ye,He-Jt)}var ia=Ze?w:this,ml=at?ia[s]:s;return Jt=tn.length,he?tn=ZP(tn,he):Dt&&Jt>1&&tn.reverse(),Ue&&ye<Jt&&(tn.length=ye),this&&this!==ln&&this instanceof Pt&&(ml=Xt||_(ml)),ml.apply(ia,tn)}return Pt}function je(s,u){return function(w,O){return zl(w,s,u(O),{})}}function Ge(s,u){return function(w,O){var $;if(w===n&&O===n)return u;if(w!==n&&($=w),O!==n){if($===n)return O;typeof w=="string"||typeof O=="string"?(w=Wr(w),O=Wr(O)):(w=Kc(w),O=Kc(O)),$=s(w,O)}return $}}function nt(s){return dl(function(u){return u=it(u,ht(Ct())),Bt(function(w){var O=this;return s(u,function($){return V($,O,w)})})})}function xt(s,u){u=u===n?" ":Wr(u);var w=u.length;if(w<2)return w?Kl(u,s):u;var O=Kl(u,va(s/vo(u)));return ti(u)?ys(cn(O),0,s).join(""):O.slice(0,s)}function en(s,u,w,O){var $=u&j,K=_(s);function oe(){for(var he=-1,ye=arguments.length,He=-1,Ue=O.length,Ze=ce(Ue+ye),at=this&&this!==ln&&this instanceof oe?K:s;++He<Ue;)Ze[He]=O[He];for(;ye--;)Ze[He++]=arguments[++he];return V(at,$?w:this,Ze)}return oe}function ir(s){return function(u,w,O){return O&&typeof O!="number"&&to(u,w,O)&&(w=O=n),u=gl(u),w===n?(w=u,u=0):w=gl(w),O=O===n?u<w?1:-1:gl(O),Zu(u,w,O,s)}}function Eo(s){return function(u,w){return typeof u=="string"&&typeof w=="string"||(u=Ss(u),w=Ss(w)),s(u,w)}}function ws(s,u,w,O,$,K,oe,he,ye,He){var Ue=u&H,Ze=Ue?oe:n,at=Ue?n:oe,bt=Ue?K:n,Dt=Ue?n:K;u|=Ue?q:ie,u&=~(Ue?ie:q),u&U||(u&=-4);var Xt=[s,u,$,bt,Ze,Dt,at,he,ye,He],Pt=w.apply(n,Xt);return og(s)&&Eb(Pt,Xt),Pt.placeholder=O,kb(Pt,s,u)}function eo(s){var u=lt[s];return function(w,O){if(w=Ss(w),O=O==null?0:Gn(Yt(O),292),O&&ba(w)){var $=(gn(w)+"e").split("e"),K=u($[0]+"e"+(+$[1]+O));return $=(gn(K)+"e").split("e"),+($[0]+"e"+(+$[1]-O))}return u(w)}}var Aa=bo&&1/mo(new bo([,-0]))[1]==ke?function(s){return new bo(s)}:wg;function rf(s){return function(u){var w=Mi(u);return w==Mt?da(u):w==Jn?Ga(u):Me(u,s(u))}}function na(s,u,w,O,$,K,oe,he){var ye=u&R;if(!ye&&typeof s!="function")throw new Vt(a);var He=O?O.length:0;if(He||(u&=-97,O=$=n),oe=oe===n?oe:wn(Yt(oe),0),he=he===n?he:Yt(he),He-=$?$.length:0,u&ie){var Ue=O,Ze=$;O=$=n}var at=ye?n:tg(s),bt=[s,u,w,O,$,Ue,Ze,K,oe,he];if(at&&qP(bt,at),s=bt[0],u=bt[1],w=bt[2],O=bt[3],$=bt[4],he=bt[9]=bt[9]===n?ye?0:s.length:wn(bt[9]-He,0),!he&&u&(H|ne)&&(u&=-25),!u||u==j)var Dt=d(s,u,w);else u==H||u==ne?Dt=B(s,u,he):(u==q||u==(j|q))&&!$.length?Dt=en(s,u,w,O):Dt=xe.apply(n,bt);var Xt=at?Zl:Eb;return kb(Xt(Dt,bt),s,u)}function gb(s,u,w,O){return s===n||ra(s,In[w])&&!kt.call(O,w)?u:s}function mb(s,u,w,O,$,K){return qn(s)&&qn(u)&&(K.set(u,s),ms(s,u,n,mb,K),K.delete(u)),s}function MP(s){return Qf(s)?n:s}function vb(s,u,w,O,$,K){var oe=w&A,he=s.length,ye=u.length;if(he!=ye&&!(oe&&ye>he))return!1;var He=K.get(s),Ue=K.get(u);if(He&&Ue)return He==u&&Ue==s;var Ze=-1,at=!0,bt=w&I?new Vr:n;for(K.set(s,u),K.set(u,s);++Ze<he;){var Dt=s[Ze],Xt=u[Ze];if(O)var Pt=oe?O(Xt,Dt,Ze,u,s,K):O(Dt,Xt,Ze,s,u,K);if(Pt!==n){if(Pt)continue;at=!1;break}if(bt){if(!un(u,function(Jt,tn){if(!St(bt,tn)&&(Dt===Jt||$(Dt,Jt,w,O,K)))return bt.push(tn)})){at=!1;break}}else if(!(Dt===Xt||$(Dt,Xt,w,O,K))){at=!1;break}}return K.delete(s),K.delete(u),at}function LP(s,u,w,O,$,K,oe){switch(w){case on:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case si:return!(s.byteLength!=u.byteLength||!K(new qa(s),new qa(u)));case ct:case pt:case Vn:return ra(+s,+u);case yt:return s.name==u.name&&s.message==u.message;case Pr:case sn:return s==u+"";case Mt:var he=da;case Jn:var ye=O&A;if(he||(he=mo),s.size!=u.size&&!ye)return!1;var He=oe.get(s);if(He)return He==u;O|=I,oe.set(s,u);var Ue=vb(he(s),he(u),O,$,K,oe);return oe.delete(s),Ue;case fn:if(Ws)return Ws.call(s)==Ws.call(u)}return!1}function FP(s,u,w,O,$,K){var oe=w&A,he=Qp(s),ye=he.length,He=Qp(u),Ue=He.length;if(ye!=Ue&&!oe)return!1;for(var Ze=ye;Ze--;){var at=he[Ze];if(!(oe?at in u:kt.call(u,at)))return!1}var bt=K.get(s),Dt=K.get(u);if(bt&&Dt)return bt==u&&Dt==s;var Xt=!0;K.set(s,u),K.set(u,s);for(var Pt=oe;++Ze<ye;){at=he[Ze];var Jt=s[at],tn=u[at];if(O)var Yo=oe?O(tn,Jt,at,u,s,K):O(Jt,tn,at,s,u,K);if(!(Yo===n?Jt===tn||$(Jt,tn,w,O,K):Yo)){Xt=!1;break}Pt||(Pt=at=="constructor")}if(Xt&&!Pt){var no=s.constructor,Go=u.constructor;no!=Go&&"constructor"in s&&"constructor"in u&&!(typeof no=="function"&&no instanceof no&&typeof Go=="function"&&Go instanceof Go)&&(Xt=!1)}return K.delete(s),K.delete(u),Xt}function dl(s){return ag(Tb(s,n,Ab),s+"")}function Qp(s){return rl(s,oi,rg)}function eg(s){return rl(s,Do,yb)}var tg=Ja?function(s){return Ja.get(s)}:wg;function nh(s){for(var u=s.name+"",w=Us[u],O=kt.call(Us,u)?w.length:0;O--;){var $=w[O],K=$.func;if(K==null||K==s)return $.name}return u}function of(s){var u=kt.call(z,"placeholder")?z:s;return u.placeholder}function Ct(){var s=z.iteratee||yg;return s=s===yg?ql:s,arguments.length?s(arguments[0],arguments[1]):s}function rh(s,u){var w=s.__data__;return WP(u)?w[typeof u=="string"?"string":"hash"]:w.map}function ng(s){for(var u=oi(s),w=u.length;w--;){var O=u[w],$=s[O];u[w]=[O,$,xb($)]}return u}function ic(s,u){var w=go(s,u);return zc(w)?w:n}function NP(s){var u=kt.call(s,jo),w=s[jo];try{s[jo]=n;var O=!0}catch{}var $=Lo.call(s);return O&&(u?s[jo]=w:delete s[jo]),$}var rg=ya?function(s){return s==null?[]:(s=rt(s),Ae(ya(s),function(u){return Il.call(s,u)}))}:xg,yb=ya?function(s){for(var u=[];s;)Tt(u,rg(s)),s=Vs(s);return u}:xg,Mi=rr;(yo&&Mi(new yo(new ArrayBuffer(1)))!=on||cs&&Mi(new cs)!=Mt||wa&&Mi(wa.resolve())!=Sn||bo&&Mi(new bo)!=Jn||Bo&&Mi(new Bo)!=ut)&&(Mi=function(s){var u=rr(s),w=u==Hn?s.constructor:n,O=w?oc(w):"";if(O)switch(O){case fs:return on;case Lu:return Mt;case $f:return Sn;case Fc:return Jn;case Sa:return ut}return u});function jP(s,u,w){for(var O=-1,$=w.length;++O<$;){var K=w[O],oe=K.size;switch(K.type){case"drop":s+=oe;break;case"dropRight":u-=oe;break;case"take":u=Gn(u,s+oe);break;case"takeRight":s=wn(s,u-oe);break}}return{start:s,end:u}}function BP(s){var u=s.match(Fs);return u?u[1].split(Kr):[]}function bb(s,u,w){u=Ci(u,s);for(var O=-1,$=u.length,K=!1;++O<$;){var oe=Ia(u[O]);if(!(K=s!=null&&w(s,oe)))break;s=s[oe]}return K||++O!=$?K:($=s==null?0:s.length,!!$&&ch($)&&hl(oe,$)&&(Ht(s)||sc(s)))}function $P(s){var u=s.length,w=new s.constructor(u);return u&&typeof s[0]=="string"&&kt.call(s,"index")&&(w.index=s.index,w.input=s.input),w}function wb(s){return typeof s.constructor=="function"&&!Zf(s)?$o(Vs(s)):{}}function VP(s,u,w){var O=s.constructor;switch(u){case si:return ta(s);case ct:case pt:return new O(+s);case on:return Xf(s,w);case Vi:case Hi:case Ui:case Or:case Nn:case _r:case yr:case Gr:case qr:return cl(s,w);case Mt:return new O;case Vn:case sn:return new O(s);case Pr:return tc(s);case Jn:return new O;case fn:return ul(s)}}function HP(s,u){var w=u.length;if(!w)return s;var O=w-1;return u[O]=(w>1?"& ":"")+u[O],u=u.join(w>2?", ":" "),s.replace(Ls,`{
|
|
144
144
|
/* [wrapped with `+u+`] */
|
|
145
|
-
`)}function UP(s){return Ht(s)||sc(s)||!!(Ml&&s&&s[Ml])}function hl(s,u){var w=typeof s;return u=u??Le,!!u&&(w=="number"||w!="symbol"&&Ar.test(s))&&s>-1&&s%1==0&&s<u}function to(s,u,w){if(!qn(w))return!1;var O=typeof u;return(O=="number"?ko(w)&&hl(u,w.length):O=="string"&&u in w)?ra(w[u],s):!1}function ig(s,u){if(Ht(s))return!1;var w=typeof s;return w=="number"||w=="symbol"||w=="boolean"||s==null||zo(s)?!0:Tn.test(s)||!ui.test(s)||u!=null&&s in rt(u)}function WP(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function og(s){var u=nh(s),w=z[u];if(typeof w!="function"||!(u in $t.prototype))return!1;if(s===w)return!0;var O=tg(w);return!!O&&s===O[0]}function zP(s){return!!pn&&pn in s}var YP=zt?pl:Sg;function Zf(s){var u=s&&s.constructor,w=typeof u=="function"&&u.prototype||In;return s===w}function xb(s){return s===s&&!qn(s)}function Sb(s,u){return function(w){return w==null?!1:w[s]===u&&(u!==n||s in rt(w))}}function GP(s){var u=lh(s,function(O){return w.size===p&&w.clear(),O}),w=u.cache;return u}function qP(s,u){var w=s[1],O=u[1],$=w|O,K=$<(j|R|x),oe=O==x&&w==H||O==x&&w==le&&s[7].length<=u[8]||O==(x|le)&&u[7].length<=u[8]&&w==H;if(!(K||oe))return s;O&j&&(s[2]=u[2],$|=w&j?0:U);var he=u[3];if(he){var ye=s[3];s[3]=ye?rc(ye,he,u[4]):he,s[4]=ye?ti(s[3],y):u[4]}return he=u[5],he&&(ye=s[5],s[5]=ye?tf(ye,he,u[6]):he,s[6]=ye?ti(s[5],y):u[6]),he=u[7],he&&(s[7]=he),O&x&&(s[8]=s[8]==null?u[8]:Gn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=$,s}function XP(s){var u=[];if(s!=null)for(var w in rt(s))u.push(w);return u}function KP(s){return Lo.call(s)}function Tb(s,u,w){return u=wn(u===n?s.length-1:u,0),function(){for(var O=arguments,$=-1,K=wn(O.length-u,0),oe=ce(K);++$<K;)oe[$]=O[u+$];$=-1;for(var he=ce(u+1);++$<u;)he[$]=O[$];return he[u]=w(oe),V(s,this,he)}}function Cb(s,u){return u.length<2?s:gs(s,ri(u,0,-1))}function ZP(s,u){for(var w=s.length,O=Gn(u.length,w),$=zr(s);O--;){var K=u[O];s[O]=hl(K,w)?$[K]:n}return s}function sg(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var Eb=Db(Zl),Jf=Mc||function(s,u){return ln.setTimeout(s,u)},ag=Db(Gc);function kb(s,u,w){var O=u+"";return ag(s,HP(O,JP(BP(O),w)))}function Db(s){var u=0,w=0;return function(){var O=ls(),$=qe-(O-w);if(w=O,$>0){if(++u>=Qe)return arguments[0]}else u=0;return s.apply(n,arguments)}}function ih(s,u){var w=-1,O=s.length,$=O-1;for(u=u===n?O:u;++w<u;){var K=Js(w,$),oe=s[K];s[K]=s[w],s[w]=oe}return s.length=u,s}var Pb=GP(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(so,function(w,O,$,K){u.push($?K.replace(Pi,"$1"):O||w)}),u});function Ia(s){if(typeof s=="string"||zo(s))return s;var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function oc(s){if(s!=null){try{return Br.call(s)}catch{}try{return s+""}catch{}}return""}function JP(s,u){return te(Be,function(w){var O="_."+w[0];u&w[1]&&!Te(s,O)&&s.push(O)}),s.sort()}function Ob(s){if(s instanceof $t)return s.clone();var u=new Cr(s.__wrapped__,s.__chain__);return u.__actions__=zr(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function QP(s,u,w){(w?to(s,u,w):u===n)?u=1:u=wn(Yt(u),0);var O=s==null?0:s.length;if(!O||u<1)return[];for(var $=0,K=0,oe=ce(va(O/u));$<O;)oe[K++]=ri(s,$,$+=u);return oe}function eO(s){for(var u=-1,w=s==null?0:s.length,O=0,$=[];++u<w;){var K=s[u];K&&($[O++]=K)}return $}function tO(){var s=arguments.length;if(!s)return[];for(var u=ce(s-1),w=arguments[0],O=s;O--;)u[O-1]=arguments[O];return Tt(Ht(w)?zr(w):[w],fr(u,1))}var nO=Bt(function(s,u){return hr(s)?qs(s,fr(u,1,hr,!0)):[]}),rO=Bt(function(s,u){var w=xs(u);return hr(w)&&(w=n),hr(s)?qs(s,fr(u,1,hr,!0),Ct(w,2)):[]}),iO=Bt(function(s,u){var w=xs(u);return hr(w)&&(w=n),hr(s)?qs(s,fr(u,1,hr,!0),n,w):[]});function oO(s,u,w){var O=s==null?0:s.length;return O?(u=w||u===n?1:Yt(u),ri(s,u<0?0:u,O)):[]}function sO(s,u,w){var O=s==null?0:s.length;return O?(u=w||u===n?1:Yt(u),u=O-u,ri(s,0,u<0?0:u)):[]}function aO(s,u){return s&&s.length?ea(s,Ct(u,3),!0,!0):[]}function lO(s,u){return s&&s.length?ea(s,Ct(u,3),!0):[]}function uO(s,u,w,O){var $=s==null?0:s.length;return $?(w&&typeof w!="number"&&to(s,u,w)&&(w=0,O=$),qf(s,u,w,O)):[]}function _b(s,u,w){var O=s==null?0:s.length;if(!O)return-1;var $=w==null?0:Yt(w);return $<0&&($=wn(O+$,0)),jt(s,Ct(u,3),$)}function Rb(s,u,w){var O=s==null?0:s.length;if(!O)return-1;var $=O-1;return w!==n&&($=Yt(w),$=w<0?wn(O+$,0):Gn($,O-1)),jt(s,Ct(u,3),$,!0)}function Ab(s){var u=s==null?0:s.length;return u?fr(s,1):[]}function cO(s){var u=s==null?0:s.length;return u?fr(s,ke):[]}function fO(s,u){var w=s==null?0:s.length;return w?(u=u===n?1:Yt(u),fr(s,u)):[]}function dO(s){for(var u=-1,w=s==null?0:s.length,O={};++u<w;){var $=s[u];O[$[0]]=$[1]}return O}function Ib(s){return s&&s.length?s[0]:n}function hO(s,u,w){var O=s==null?0:s.length;if(!O)return-1;var $=w==null?0:Yt(w);return $<0&&($=wn(O+$,0)),Qt(s,u,$)}function pO(s){var u=s==null?0:s.length;return u?ri(s,0,-1):[]}var gO=Bt(function(s){var u=it(s,Ql);return u.length&&u[0]===s[0]?ka(u):[]}),mO=Bt(function(s){var u=xs(s),w=it(s,Ql);return u===xs(w)?u=n:w.pop(),w.length&&w[0]===s[0]?ka(w,Ct(u,2)):[]}),vO=Bt(function(s){var u=xs(s),w=it(s,Ql);return u=typeof u=="function"?u:n,u&&w.pop(),w.length&&w[0]===s[0]?ka(w,n,u):[]});function yO(s,u){return s==null?"":Za.call(s,u)}function xs(s){var u=s==null?0:s.length;return u?s[u-1]:n}function bO(s,u,w){var O=s==null?0:s.length;if(!O)return-1;var $=O;return w!==n&&($=Yt(w),$=$<0?wn(O+$,0):Gn($,O-1)),u===u?ha(s,u,$):jt(s,po,$,!0)}function wO(s,u){return s&&s.length?Oa(s,Yt(u)):n}var xO=Bt(Mb);function Mb(s,u){return s&&s.length&&u&&u.length?Xu(s,u):s}function SO(s,u,w){return s&&s.length&&u&&u.length?Xu(s,u,Ct(w,2)):s}function TO(s,u,w){return s&&s.length&&u&&u.length?Xu(s,u,n,w):s}var CO=dl(function(s,u){var w=s==null?0:s.length,O=Hu(s,u);return Ku(s,it(u,function($){return hl($,w)?+$:$}).sort(nc)),O});function EO(s,u){var w=[];if(!(s&&s.length))return w;var O=-1,$=[],K=s.length;for(u=Ct(u,3);++O<K;){var oe=s[O];u(oe,O,s)&&(w.push(oe),$.push(O))}return Ku(s,$),w}function lg(s){return s==null?s:Fl.call(s)}function kO(s,u,w){var O=s==null?0:s.length;return O?(w&&typeof w!="number"&&to(s,u,w)?(u=0,w=O):(u=u==null?0:Yt(u),w=w===n?O:Yt(w)),ri(s,u,w)):[]}function DO(s,u){return Jl(s,u)}function PO(s,u,w){return Qu(s,u,Ct(w,2))}function OO(s,u){var w=s==null?0:s.length;if(w){var O=Jl(s,u);if(O<w&&ra(s[O],u))return O}return-1}function _O(s,u){return Jl(s,u,!0)}function RO(s,u,w){return Qu(s,u,Ct(w,2),!0)}function AO(s,u){var w=s==null?0:s.length;if(w){var O=Jl(s,u,!0)-1;if(ra(s[O],u))return O}return-1}function IO(s){return s&&s.length?ec(s):[]}function MO(s,u){return s&&s.length?ec(s,Ct(u,2)):[]}function LO(s){var u=s==null?0:s.length;return u?ri(s,1,u):[]}function FO(s,u,w){return s&&s.length?(u=w||u===n?1:Yt(u),ri(s,0,u<0?0:u)):[]}function NO(s,u,w){var O=s==null?0:s.length;return O?(u=w||u===n?1:Yt(u),u=O-u,ri(s,u<0?0:u,O)):[]}function jO(s,u){return s&&s.length?ea(s,Ct(u,3),!1,!0):[]}function BO(s,u){return s&&s.length?ea(s,Ct(u,3)):[]}var $O=Bt(function(s){return vs(fr(s,1,hr,!0))}),VO=Bt(function(s){var u=xs(s);return hr(u)&&(u=n),vs(fr(s,1,hr,!0),Ct(u,2))}),HO=Bt(function(s){var u=xs(s);return u=typeof u=="function"?u:n,vs(fr(s,1,hr,!0),n,u)});function UO(s){return s&&s.length?vs(s):[]}function WO(s,u){return s&&s.length?vs(s,Ct(u,2)):[]}function zO(s,u){return u=typeof u=="function"?u:n,s&&s.length?vs(s,n,u):[]}function ug(s){if(!(s&&s.length))return[];var u=0;return s=Ae(s,function(w){if(hr(w))return u=wn(w.length,u),!0}),we(u,function(w){return it(s,D(w))})}function Lb(s,u){if(!(s&&s.length))return[];var w=ug(s);return u==null?w:it(w,function(O){return V(u,n,O)})}var YO=Bt(function(s,u){return hr(s)?qs(s,u):[]}),GO=Bt(function(s){return dr(Ae(s,hr))}),qO=Bt(function(s){var u=xs(s);return hr(u)&&(u=n),dr(Ae(s,hr),Ct(u,2))}),XO=Bt(function(s){var u=xs(s);return u=typeof u=="function"?u:n,dr(Ae(s,hr),n,u)}),KO=Bt(ug);function ZO(s,u){return Qc(s||[],u||[],Vr)}function JO(s,u){return Qc(s||[],u||[],Qs)}var QO=Bt(function(s){var u=s.length,w=u>1?s[u-1]:n;return w=typeof w=="function"?(s.pop(),w):n,Lb(s,w)});function Fb(s){var u=z(s);return u.__chain__=!0,u}function e_(s,u){return u(s),s}function oh(s,u){return u(s)}var t_=dl(function(s){var u=s.length,w=u?s[0]:0,O=this.__wrapped__,$=function(K){return Hu(K,s)};return u>1||this.__actions__.length||!(O instanceof $t)||!hl(w)?this.thru($):(O=O.slice(w,+w+(u?1:0)),O.__actions__.push({func:oh,args:[$],thisArg:n}),new Cr(O,this.__chain__).thru(function(K){return u&&!K.length&&K.push(n),K}))});function n_(){return Fb(this)}function r_(){return new Cr(this.value(),this.__chain__)}function i_(){this.__values__===n&&(this.__values__=Kb(this.value()));var s=this.__index__>=this.__values__.length,u=s?n:this.__values__[this.__index__++];return{done:s,value:u}}function o_(){return this}function s_(s){for(var u,w=this;w instanceof Vo;){var O=Ob(w);O.__index__=0,O.__values__=n,u?$.__wrapped__=O:u=O;var $=O;w=w.__wrapped__}return $.__wrapped__=s,u}function a_(){var s=this.__wrapped__;if(s instanceof $t){var u=s;return this.__actions__.length&&(u=new $t(this)),u=u.reverse(),u.__actions__.push({func:oh,args:[lg],thisArg:n}),new Cr(u,this.__chain__)}return this.thru(lg)}function l_(){return Jc(this.__wrapped__,this.__actions__)}var u_=fl(function(s,u,w){kt.call(s,w)?++s[w]:Si(s,w,1)});function c_(s,u,w){var O=Ht(s)?_e:Vc;return w&&to(s,u,w)&&(u=n),O(s,Ct(u,3))}function f_(s,u){var w=Ht(s)?Ae:Hc;return w(s,Ct(u,3))}var d_=Y(_b),h_=Y(Rb);function p_(s,u){return fr(sh(s,u),1)}function g_(s,u){return fr(sh(s,u),ke)}function m_(s,u,w){return w=w===n?1:Yt(w),fr(sh(s,u),w)}function Nb(s,u){var w=Ht(s)?te:ps;return w(s,Ct(u,3))}function jb(s,u){var w=Ht(s)?pe:Yu;return w(s,Ct(u,3))}var v_=fl(function(s,u,w){kt.call(s,w)?s[w].push(u):Si(s,w,[u])});function y_(s,u,w,O){s=ko(s)?s:af(s),w=w&&!O?Yt(w):0;var $=s.length;return w<0&&(w=wn($+w,0)),fh(s)?w<=$&&s.indexOf(u,w)>-1:!!$&&Qt(s,u,w)>-1}var b_=Bt(function(s,u,w){var O=-1,$=typeof u=="function",K=ko(s)?ce(s.length):[];return ps(s,function(oe){K[++O]=$?V(u,oe,w):To(oe,u,w)}),K}),w_=fl(function(s,u,w){Si(s,w,u)});function sh(s,u){var w=Ht(s)?it:Ji;return w(s,Ct(u,3))}function x_(s,u,w,O){return s==null?[]:(Ht(u)||(u=u==null?[]:[u]),w=O?n:w,Ht(w)||(w=w==null?[]:[w]),Xl(s,u,w))}var S_=fl(function(s,u,w){s[w?0:1].push(u)},function(){return[[],[]]});function T_(s,u,w){var O=Ht(s)?Et:W,$=arguments.length<3;return O(s,Ct(u,4),w,$,ps)}function C_(s,u,w){var O=Ht(s)?Rn:W,$=arguments.length<3;return O(s,Ct(u,4),w,$,Yu)}function E_(s,u){var w=Ht(s)?Ae:Hc;return w(s,uh(Ct(u,3)))}function k_(s){var u=Ht(s)?ni:ll;return u(s)}function D_(s,u,w){(w?to(s,u,w):u===n)?u=1:u=Yt(u);var O=Ht(s)?xi:Ju;return O(s,u)}function P_(s){var u=Ht(s)?So:qc;return u(s)}function O_(s){if(s==null)return 0;if(ko(s))return fh(s)?vo(s):s.length;var u=Mi(s);return u==Mt||u==Jn?s.size:Wo(s).length}function __(s,u,w){var O=Ht(s)?un:Xc;return w&&to(s,u,w)&&(u=n),O(s,Ct(u,3))}var R_=Bt(function(s,u){if(s==null)return[];var w=u.length;return w>1&&to(s,u[0],u[1])?u=[]:w>2&&to(u[0],u[1],u[2])&&(u=[u[0]]),Xl(s,fr(u,1),[])}),ah=Ka||function(){return ln.Date.now()};function A_(s,u){if(typeof u!="function")throw new Vt(a);return s=Yt(s),function(){if(--s<1)return u.apply(this,arguments)}}function Bb(s,u,w){return u=w?n:u,u=s&&u==null?s.length:u,na(s,x,n,n,n,n,u)}function $b(s,u){var w;if(typeof u!="function")throw new Vt(a);return s=Yt(s),function(){return--s>0&&(w=u.apply(this,arguments)),s<=1&&(u=n),w}}var cg=Bt(function(s,u,w){var O=j;if(w.length){var $=ti(w,of(cg));O|=q}return na(s,O,u,w,$)}),Vb=Bt(function(s,u,w){var O=j|R;if(w.length){var $=ti(w,of(Vb));O|=q}return na(u,O,s,w,$)});function Hb(s,u,w){u=w?n:u;var O=na(s,H,n,n,n,n,n,u);return O.placeholder=Hb.placeholder,O}function Ub(s,u,w){u=w?n:u;var O=na(s,ne,n,n,n,n,n,u);return O.placeholder=Ub.placeholder,O}function Wb(s,u,w){var O,$,K,oe,he,ye,He=0,Ue=!1,Ze=!1,at=!0;if(typeof s!="function")throw new Vt(a);u=Ss(u)||0,qn(w)&&(Ue=!!w.leading,Ze="maxWait"in w,K=Ze?wn(Ss(w.maxWait)||0,u):K,at="trailing"in w?!!w.trailing:at);function bt(pr){var ia=O,ml=$;return O=$=n,He=pr,oe=s.apply(ml,ia),oe}function Dt(pr){return He=pr,he=Jf(Jt,u),Ue?bt(pr):oe}function Xt(pr){var ia=pr-ye,ml=pr-He,u0=u-ia;return Ze?Gn(u0,K-ml):u0}function Pt(pr){var ia=pr-ye,ml=pr-He;return ye===n||ia>=u||ia<0||Ze&&ml>=K}function Jt(){var pr=ah();if(Pt(pr))return tn(pr);he=Jf(Jt,Xt(pr))}function tn(pr){return he=n,at&&O?bt(pr):(O=$=n,oe)}function Yo(){he!==n&&tu(he),He=0,O=ye=$=he=n}function no(){return he===n?oe:tn(ah())}function Go(){var pr=ah(),ia=Pt(pr);if(O=arguments,$=this,ye=pr,ia){if(he===n)return Dt(ye);if(Ze)return tu(he),he=Jf(Jt,u),bt(ye)}return he===n&&(he=Jf(Jt,u)),oe}return Go.cancel=Yo,Go.flush=no,Go}var I_=Bt(function(s,u){return zu(s,1,u)}),M_=Bt(function(s,u,w){return zu(s,Ss(u)||0,w)});function L_(s){return na(s,ae)}function lh(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Vt(a);var w=function(){var O=arguments,$=u?u.apply(this,O):O[0],K=w.cache;if(K.has($))return K.get($);var oe=s.apply(this,O);return w.cache=K.set($,oe)||K,oe};return w.cache=new(lh.Cache||Ho),w}lh.Cache=Ho;function uh(s){if(typeof s!="function")throw new Vt(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function F_(s){return $b(2,s)}var N_=ef(function(s,u){u=u.length==1&&Ht(u[0])?it(u[0],ht(Ct())):it(fr(u,1),ht(Ct()));var w=u.length;return Bt(function(O){for(var $=-1,K=Gn(O.length,w);++$<K;)O[$]=u[$].call(this,O[$]);return V(s,this,O)})}),fg=Bt(function(s,u){var w=ti(u,of(fg));return na(s,q,n,u,w)}),zb=Bt(function(s,u){var w=ti(u,of(zb));return na(s,ie,n,u,w)}),j_=dl(function(s,u){return na(s,le,n,n,n,u)});function B_(s,u){if(typeof s!="function")throw new Vt(a);return u=u===n?u:Yt(u),Bt(s,u)}function $_(s,u){if(typeof s!="function")throw new Vt(a);return u=u==null?0:wn(Yt(u),0),Bt(function(w){var O=w[u],$=ys(w,0,u);return O&&Tt($,O),V(s,this,$)})}function V_(s,u,w){var O=!0,$=!0;if(typeof s!="function")throw new Vt(a);return qn(w)&&(O="leading"in w?!!w.leading:O,$="trailing"in w?!!w.trailing:$),Wb(s,u,{leading:O,maxWait:u,trailing:$})}function H_(s){return Bb(s,1)}function U_(s,u){return fg(eu(u),s)}function W_(){if(!arguments.length)return[];var s=arguments[0];return Ht(s)?s:[s]}function z_(s){return Hr(s,E)}function Y_(s,u){return u=typeof u=="function"?u:n,Hr(s,E,u)}function G_(s){return Hr(s,g|E)}function q_(s,u){return u=typeof u=="function"?u:n,Hr(s,g|E,u)}function X_(s,u){return u==null||Wu(s,u,ii(u))}function ra(s,u){return s===u||s!==s&&u!==u}var K_=Eo(Xs),Z_=Eo(function(s,u){return s>=u}),sc=Yl(function(){return arguments}())?Yl:function(s){return or(s)&&kt.call(s,"callee")&&!Il.call(s,"callee")},Ht=ce.isArray,J_=h?ht(h):Ks;function ko(s){return s!=null&&ch(s.length)&&!pl(s)}function hr(s){return or(s)&&ko(s)}function Q_(s){return s===!0||s===!1||or(s)&&rr(s)==ct}var ru=Ll||Sg,eR=b?ht(b):Wc;function tR(s){return or(s)&&s.nodeType===1&&!Qf(s)}function nR(s){if(s==null)return!0;if(ko(s)&&(Ht(s)||typeof s=="string"||typeof s.splice=="function"||ru(s)||sf(s)||sc(s)))return!s.length;var u=Mi(s);if(u==Mt||u==Jn)return!s.size;if(Zf(s))return!Wo(s).length;for(var w in s)if(kt.call(s,w))return!1;return!0}function rR(s,u){return il(s,u)}function iR(s,u,w){w=typeof w=="function"?w:n;var O=w?w(s,u):n;return O===n?il(s,u,n,w):!!O}function dg(s){if(!or(s))return!1;var u=rr(s);return u==yt||u==ft||typeof s.message=="string"&&typeof s.name=="string"&&!Qf(s)}function oR(s){return typeof s=="number"&&ba(s)}function pl(s){if(!qn(s))return!1;var u=rr(s);return u==Je||u==At||u==ot||u==$i}function Yb(s){return typeof s=="number"&&s==Yt(s)}function ch(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=Le}function qn(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function or(s){return s!=null&&typeof s=="object"}var Gb=C?ht(C):Pa;function sR(s,u){return s===u||qu(s,u,ng(u))}function aR(s,u,w){return w=typeof w=="function"?w:n,qu(s,u,ng(u),w)}function lR(s){return qb(s)&&s!=+s}function uR(s){if(YP(s))throw new Fe(o);return zc(s)}function cR(s){return s===null}function fR(s){return s==null}function qb(s){return typeof s=="number"||or(s)&&rr(s)==Vn}function Qf(s){if(!or(s)||rr(s)!=Hn)return!1;var u=Vs(s);if(u===null)return!0;var w=kt.call(u,"constructor")&&u.constructor;return typeof w=="function"&&w instanceof w&&Br.call(w)==Ru}var hg=P?ht(P):Zs;function dR(s){return Yb(s)&&s>=-9007199254740991&&s<=Le}var Xb=L?ht(L):Gl;function fh(s){return typeof s=="string"||!Ht(s)&&or(s)&&rr(s)==sn}function zo(s){return typeof s=="symbol"||or(s)&&rr(s)==fn}var sf=N?ht(N):Uo;function hR(s){return s===n}function pR(s){return or(s)&&Mi(s)==ut}function gR(s){return or(s)&&rr(s)==Dn}var mR=Eo(Zi),vR=Eo(function(s,u){return s<=u});function Kb(s){if(!s)return[];if(ko(s))return fh(s)?cn(s):zr(s);if(Xi&&s[Xi])return Ai(s[Xi]());var u=Mi(s),w=u==Mt?da:u==Jn?mo:af;return w(s)}function gl(s){if(!s)return s===0?s:0;if(s=Ss(s),s===ke||s===-1/0){var u=s<0?-1:1;return u*et}return s===s?s:0}function Yt(s){var u=gl(s),w=u%1;return u===u?w?u-w:u:0}function Zb(s){return s?Gs(Yt(s),0,Se):0}function Ss(s){if(typeof s=="number")return s;if(zo(s))return ge;if(qn(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=qn(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Ye(s);var w=fi.test(s);return w||wr.test(s)?Bs(s.slice(2),w?2:8):Rr.test(s)?ge:+s}function Jb(s){return Ii(s,Do(s))}function yR(s){return s?Gs(Yt(s),-9007199254740991,Le):s===0?s:0}function gn(s){return s==null?"":Ur(s)}var bR=Ra(function(s,u){if(Zf(u)||ko(u)){Ii(u,ii(u),s);return}for(var w in u)kt.call(u,w)&&Vr(s,w,u[w])}),Qb=Ra(function(s,u){Ii(u,Do(u),s)}),dh=Ra(function(s,u,w,O){Ii(u,Do(u),s,O)}),wR=Ra(function(s,u,w,O){Ii(u,ii(u),s,O)}),xR=dl(Hu);function SR(s,u){var w=$o(s);return u==null?w:$c(w,u)}var TR=Bt(function(s,u){s=rt(s);var w=-1,O=u.length,$=O>2?u[2]:n;for($&&to(u[0],u[1],$)&&(O=1);++w<O;)for(var K=u[w],oe=Do(K),he=-1,ye=oe.length;++he<ye;){var He=oe[he],Ue=s[He];(Ue===n||ra(Ue,In[He])&&!kt.call(s,He))&&(s[He]=K[He])}return s}),CR=Bt(function(s){return s.push(n,mb),V(e0,n,s)});function ER(s,u){return jr(s,Ct(u,3),Ti)}function kR(s,u){return jr(s,Ct(u,3),Hl)}function DR(s,u){return s==null?s:Gu(s,Ct(u,3),Do)}function PR(s,u){return s==null?s:Uc(s,Ct(u,3),Do)}function OR(s,u){return s&&Ti(s,Ct(u,3))}function _R(s,u){return s&&Hl(s,Ct(u,3))}function RR(s){return s==null?[]:Ca(s,ii(s))}function AR(s){return s==null?[]:Ca(s,Do(s))}function pg(s,u,w){var O=s==null?n:gs(s,u);return O===n?w:O}function IR(s,u){return s!=null&&bb(s,u,Ul)}function gg(s,u){return s!=null&&bb(s,u,Ea)}var MR=je(function(s,u,w){u!=null&&typeof u.toString!="function"&&(u=Lo.call(u)),s[u]=w},vg(Po)),LR=je(function(s,u,w){u!=null&&typeof u.toString!="function"&&(u=Lo.call(u)),kt.call(s,u)?s[u].push(w):s[u]=[w]},Ct),FR=Bt(To);function ii(s){return ko(s)?nl(s):Wo(s)}function Do(s){return ko(s)?nl(s,!0):ol(s)}function NR(s,u){var w={};return u=Ct(u,3),Ti(s,function(O,$,K){Si(w,u(O,$,K),O)}),w}function jR(s,u){var w={};return u=Ct(u,3),Ti(s,function(O,$,K){Si(w,$,u(O,$,K))}),w}var BR=Ra(function(s,u,w){ms(s,u,w)}),e0=Ra(function(s,u,w,O){ms(s,u,w,O)}),$R=dl(function(s,u){var w={};if(s==null)return w;var O=!1;u=it(u,function(K){return K=Ci(K,s),O||(O=K.length>1),K}),Ii(s,eg(s),w),O&&(w=Hr(w,g|T|E,MP));for(var $=u.length;$--;)Wr(w,u[$]);return w});function VR(s,u){return t0(s,uh(Ct(u)))}var HR=dl(function(s,u){return s==null?{}:al(s,u)});function t0(s,u){if(s==null)return{};var w=it(eg(s),function(O){return[O]});return u=Ct(u),_a(s,w,function(O,$){return u(O,$[0])})}function UR(s,u,w){u=Ci(u,s);var O=-1,$=u.length;for($||($=1,s=n);++O<$;){var K=s==null?n:s[Ia(u[O])];K===n&&(O=$,K=w),s=pl(K)?K.call(s):K}return s}function WR(s,u,w){return s==null?s:Qs(s,u,w)}function zR(s,u,w,O){return O=typeof O=="function"?O:n,s==null?s:Qs(s,u,w,O)}var n0=rf(ii),r0=rf(Do);function YR(s,u,w){var O=Ht(s),$=O||ru(s)||sf(s);if(u=Ct(u,4),w==null){var K=s&&s.constructor;$?w=O?new K:[]:qn(s)?w=pl(K)?$o(Vs(s)):{}:w={}}return($?te:Ti)(s,function(oe,he,ye){return u(w,oe,he,ye)}),w}function GR(s,u){return s==null?!0:Wr(s,u)}function qR(s,u,w){return s==null?s:Zc(s,u,eu(w))}function XR(s,u,w,O){return O=typeof O=="function"?O:n,s==null?s:Zc(s,u,eu(w),O)}function af(s){return s==null?[]:_t(s,ii(s))}function KR(s){return s==null?[]:_t(s,Do(s))}function ZR(s,u,w){return w===n&&(w=u,u=n),w!==n&&(w=Ss(w),w=w===w?w:0),u!==n&&(u=Ss(u),u=u===u?u:0),Gs(Ss(s),u,w)}function JR(s,u,w){return u=gl(u),w===n?(w=u,u=0):w=gl(w),s=Ss(s),Wl(s,u,w)}function QR(s,u,w){if(w&&typeof w!="boolean"&&to(s,u,w)&&(u=w=n),w===n&&(typeof u=="boolean"?(w=u,u=n):typeof s=="boolean"&&(w=s,s=n)),s===n&&u===n?(s=0,u=1):(s=gl(s),u===n?(u=s,s=0):u=gl(u)),s>u){var O=s;s=u,u=O}if(w||s%1||u%1){var $=us();return Gn(s+$*(u-s+ur("1e-"+(($+"").length-1))),u)}return Js(s,u)}var eA=S(function(s,u,w){return u=u.toLowerCase(),s+(w?i0(u):u)});function i0(s){return mg(gn(s).toLowerCase())}function o0(s){return s=gn(s),s&&s.replace(tr,$n).replace(rs,"")}function tA(s,u,w){s=gn(s),u=Ur(u);var O=s.length;w=w===n?O:Gs(Yt(w),0,O);var $=w;return w-=u.length,w>=0&&s.slice(w,$)==u}function nA(s){return s=gn(s),s&&Wi.test(s)?s.replace(Wt,os):s}function rA(s){return s=gn(s),s&&ci.test(s)?s.replace(br,"\\$&"):s}var iA=S(function(s,u,w){return s+(w?"-":"")+u.toLowerCase()}),oA=S(function(s,u,w){return s+(w?" ":"")+u.toLowerCase()}),sA=m("toLowerCase");function aA(s,u,w){s=gn(s),u=Yt(u);var O=u?vo(s):0;if(!u||O>=u)return s;var $=(u-O)/2;return xt(Hs($),w)+s+xt(va($),w)}function lA(s,u,w){s=gn(s),u=Yt(u);var O=u?vo(s):0;return u&&O<u?s+xt(u-O,w):s}function uA(s,u,w){s=gn(s),u=Yt(u);var O=u?vo(s):0;return u&&O<u?xt(u-O,w)+s:s}function cA(s,u,w){return w||u==null?u=0:u&&(u=+u),Mu(gn(s).replace(an,""),u||0)}function fA(s,u,w){return(w?to(s,u,w):u===n)?u=1:u=Yt(u),Kl(gn(s),u)}function dA(){var s=arguments,u=gn(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var hA=S(function(s,u,w){return s+(w?"_":"")+u.toLowerCase()});function pA(s,u,w){return w&&typeof w!="number"&&to(s,u,w)&&(u=w=n),w=w===n?Se:w>>>0,w?(s=gn(s),s&&(typeof u=="string"||u!=null&&!hg(u))&&(u=Ur(u),!u&&ei(s))?ys(cn(s),0,w):s.split(u,w)):[]}var gA=S(function(s,u,w){return s+(w?" ":"")+mg(u)});function mA(s,u,w){return s=gn(s),w=w==null?0:Gs(Yt(w),0,s.length),u=Ur(u),s.slice(w,w+u.length)==u}function vA(s,u,w){var O=z.templateSettings;w&&to(s,u,w)&&(u=n),s=gn(s),u=dh({},u,O,gb);var $=dh({},u.imports,O.imports,gb),K=ii($),oe=_t($,K),he,ye,He=0,Ue=u.interpolate||zi,Ze="__p += '",at=It((u.escape||zi).source+"|"+Ue.source+"|"+(Ue===li?er:zi).source+"|"+(u.evaluate||zi).source+"|$","g"),bt="//# sourceURL="+(kt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rn+"]")+`
|
|
145
|
+
`)}function UP(s){return Ht(s)||sc(s)||!!(Ml&&s&&s[Ml])}function hl(s,u){var w=typeof s;return u=u??Le,!!u&&(w=="number"||w!="symbol"&&Ir.test(s))&&s>-1&&s%1==0&&s<u}function to(s,u,w){if(!qn(w))return!1;var O=typeof u;return(O=="number"?ko(w)&&hl(u,w.length):O=="string"&&u in w)?ra(w[u],s):!1}function ig(s,u){if(Ht(s))return!1;var w=typeof s;return w=="number"||w=="symbol"||w=="boolean"||s==null||zo(s)?!0:Tn.test(s)||!ui.test(s)||u!=null&&s in rt(u)}function WP(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function og(s){var u=nh(s),w=z[u];if(typeof w!="function"||!(u in $t.prototype))return!1;if(s===w)return!0;var O=tg(w);return!!O&&s===O[0]}function zP(s){return!!pn&&pn in s}var YP=zt?pl:Sg;function Zf(s){var u=s&&s.constructor,w=typeof u=="function"&&u.prototype||In;return s===w}function xb(s){return s===s&&!qn(s)}function Sb(s,u){return function(w){return w==null?!1:w[s]===u&&(u!==n||s in rt(w))}}function GP(s){var u=lh(s,function(O){return w.size===p&&w.clear(),O}),w=u.cache;return u}function qP(s,u){var w=s[1],O=u[1],$=w|O,K=$<(j|R|x),oe=O==x&&w==H||O==x&&w==le&&s[7].length<=u[8]||O==(x|le)&&u[7].length<=u[8]&&w==H;if(!(K||oe))return s;O&j&&(s[2]=u[2],$|=w&j?0:U);var he=u[3];if(he){var ye=s[3];s[3]=ye?rc(ye,he,u[4]):he,s[4]=ye?ni(s[3],y):u[4]}return he=u[5],he&&(ye=s[5],s[5]=ye?tf(ye,he,u[6]):he,s[6]=ye?ni(s[5],y):u[6]),he=u[7],he&&(s[7]=he),O&x&&(s[8]=s[8]==null?u[8]:Gn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=$,s}function XP(s){var u=[];if(s!=null)for(var w in rt(s))u.push(w);return u}function KP(s){return Lo.call(s)}function Tb(s,u,w){return u=wn(u===n?s.length-1:u,0),function(){for(var O=arguments,$=-1,K=wn(O.length-u,0),oe=ce(K);++$<K;)oe[$]=O[u+$];$=-1;for(var he=ce(u+1);++$<u;)he[$]=O[$];return he[u]=w(oe),V(s,this,he)}}function Cb(s,u){return u.length<2?s:gs(s,ii(u,0,-1))}function ZP(s,u){for(var w=s.length,O=Gn(u.length,w),$=Yr(s);O--;){var K=u[O];s[O]=hl(K,w)?$[K]:n}return s}function sg(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var Eb=Db(Zl),Jf=Mc||function(s,u){return ln.setTimeout(s,u)},ag=Db(Gc);function kb(s,u,w){var O=u+"";return ag(s,HP(O,JP(BP(O),w)))}function Db(s){var u=0,w=0;return function(){var O=ls(),$=qe-(O-w);if(w=O,$>0){if(++u>=Qe)return arguments[0]}else u=0;return s.apply(n,arguments)}}function ih(s,u){var w=-1,O=s.length,$=O-1;for(u=u===n?O:u;++w<u;){var K=Js(w,$),oe=s[K];s[K]=s[w],s[w]=oe}return s.length=u,s}var Pb=GP(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(so,function(w,O,$,K){u.push($?K.replace(Pi,"$1"):O||w)}),u});function Ia(s){if(typeof s=="string"||zo(s))return s;var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function oc(s){if(s!=null){try{return $r.call(s)}catch{}try{return s+""}catch{}}return""}function JP(s,u){return te(Be,function(w){var O="_."+w[0];u&w[1]&&!Te(s,O)&&s.push(O)}),s.sort()}function Ob(s){if(s instanceof $t)return s.clone();var u=new Cr(s.__wrapped__,s.__chain__);return u.__actions__=Yr(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function QP(s,u,w){(w?to(s,u,w):u===n)?u=1:u=wn(Yt(u),0);var O=s==null?0:s.length;if(!O||u<1)return[];for(var $=0,K=0,oe=ce(va(O/u));$<O;)oe[K++]=ii(s,$,$+=u);return oe}function eO(s){for(var u=-1,w=s==null?0:s.length,O=0,$=[];++u<w;){var K=s[u];K&&($[O++]=K)}return $}function tO(){var s=arguments.length;if(!s)return[];for(var u=ce(s-1),w=arguments[0],O=s;O--;)u[O-1]=arguments[O];return Tt(Ht(w)?Yr(w):[w],fr(u,1))}var nO=Bt(function(s,u){return hr(s)?qs(s,fr(u,1,hr,!0)):[]}),rO=Bt(function(s,u){var w=xs(u);return hr(w)&&(w=n),hr(s)?qs(s,fr(u,1,hr,!0),Ct(w,2)):[]}),iO=Bt(function(s,u){var w=xs(u);return hr(w)&&(w=n),hr(s)?qs(s,fr(u,1,hr,!0),n,w):[]});function oO(s,u,w){var O=s==null?0:s.length;return O?(u=w||u===n?1:Yt(u),ii(s,u<0?0:u,O)):[]}function sO(s,u,w){var O=s==null?0:s.length;return O?(u=w||u===n?1:Yt(u),u=O-u,ii(s,0,u<0?0:u)):[]}function aO(s,u){return s&&s.length?ea(s,Ct(u,3),!0,!0):[]}function lO(s,u){return s&&s.length?ea(s,Ct(u,3),!0):[]}function uO(s,u,w,O){var $=s==null?0:s.length;return $?(w&&typeof w!="number"&&to(s,u,w)&&(w=0,O=$),qf(s,u,w,O)):[]}function _b(s,u,w){var O=s==null?0:s.length;if(!O)return-1;var $=w==null?0:Yt(w);return $<0&&($=wn(O+$,0)),jt(s,Ct(u,3),$)}function Rb(s,u,w){var O=s==null?0:s.length;if(!O)return-1;var $=O-1;return w!==n&&($=Yt(w),$=w<0?wn(O+$,0):Gn($,O-1)),jt(s,Ct(u,3),$,!0)}function Ab(s){var u=s==null?0:s.length;return u?fr(s,1):[]}function cO(s){var u=s==null?0:s.length;return u?fr(s,ke):[]}function fO(s,u){var w=s==null?0:s.length;return w?(u=u===n?1:Yt(u),fr(s,u)):[]}function dO(s){for(var u=-1,w=s==null?0:s.length,O={};++u<w;){var $=s[u];O[$[0]]=$[1]}return O}function Ib(s){return s&&s.length?s[0]:n}function hO(s,u,w){var O=s==null?0:s.length;if(!O)return-1;var $=w==null?0:Yt(w);return $<0&&($=wn(O+$,0)),Qt(s,u,$)}function pO(s){var u=s==null?0:s.length;return u?ii(s,0,-1):[]}var gO=Bt(function(s){var u=it(s,Ql);return u.length&&u[0]===s[0]?ka(u):[]}),mO=Bt(function(s){var u=xs(s),w=it(s,Ql);return u===xs(w)?u=n:w.pop(),w.length&&w[0]===s[0]?ka(w,Ct(u,2)):[]}),vO=Bt(function(s){var u=xs(s),w=it(s,Ql);return u=typeof u=="function"?u:n,u&&w.pop(),w.length&&w[0]===s[0]?ka(w,n,u):[]});function yO(s,u){return s==null?"":Za.call(s,u)}function xs(s){var u=s==null?0:s.length;return u?s[u-1]:n}function bO(s,u,w){var O=s==null?0:s.length;if(!O)return-1;var $=O;return w!==n&&($=Yt(w),$=$<0?wn(O+$,0):Gn($,O-1)),u===u?ha(s,u,$):jt(s,po,$,!0)}function wO(s,u){return s&&s.length?Oa(s,Yt(u)):n}var xO=Bt(Mb);function Mb(s,u){return s&&s.length&&u&&u.length?Xu(s,u):s}function SO(s,u,w){return s&&s.length&&u&&u.length?Xu(s,u,Ct(w,2)):s}function TO(s,u,w){return s&&s.length&&u&&u.length?Xu(s,u,n,w):s}var CO=dl(function(s,u){var w=s==null?0:s.length,O=Hu(s,u);return Ku(s,it(u,function($){return hl($,w)?+$:$}).sort(nc)),O});function EO(s,u){var w=[];if(!(s&&s.length))return w;var O=-1,$=[],K=s.length;for(u=Ct(u,3);++O<K;){var oe=s[O];u(oe,O,s)&&(w.push(oe),$.push(O))}return Ku(s,$),w}function lg(s){return s==null?s:Fl.call(s)}function kO(s,u,w){var O=s==null?0:s.length;return O?(w&&typeof w!="number"&&to(s,u,w)?(u=0,w=O):(u=u==null?0:Yt(u),w=w===n?O:Yt(w)),ii(s,u,w)):[]}function DO(s,u){return Jl(s,u)}function PO(s,u,w){return Qu(s,u,Ct(w,2))}function OO(s,u){var w=s==null?0:s.length;if(w){var O=Jl(s,u);if(O<w&&ra(s[O],u))return O}return-1}function _O(s,u){return Jl(s,u,!0)}function RO(s,u,w){return Qu(s,u,Ct(w,2),!0)}function AO(s,u){var w=s==null?0:s.length;if(w){var O=Jl(s,u,!0)-1;if(ra(s[O],u))return O}return-1}function IO(s){return s&&s.length?ec(s):[]}function MO(s,u){return s&&s.length?ec(s,Ct(u,2)):[]}function LO(s){var u=s==null?0:s.length;return u?ii(s,1,u):[]}function FO(s,u,w){return s&&s.length?(u=w||u===n?1:Yt(u),ii(s,0,u<0?0:u)):[]}function NO(s,u,w){var O=s==null?0:s.length;return O?(u=w||u===n?1:Yt(u),u=O-u,ii(s,u<0?0:u,O)):[]}function jO(s,u){return s&&s.length?ea(s,Ct(u,3),!1,!0):[]}function BO(s,u){return s&&s.length?ea(s,Ct(u,3)):[]}var $O=Bt(function(s){return vs(fr(s,1,hr,!0))}),VO=Bt(function(s){var u=xs(s);return hr(u)&&(u=n),vs(fr(s,1,hr,!0),Ct(u,2))}),HO=Bt(function(s){var u=xs(s);return u=typeof u=="function"?u:n,vs(fr(s,1,hr,!0),n,u)});function UO(s){return s&&s.length?vs(s):[]}function WO(s,u){return s&&s.length?vs(s,Ct(u,2)):[]}function zO(s,u){return u=typeof u=="function"?u:n,s&&s.length?vs(s,n,u):[]}function ug(s){if(!(s&&s.length))return[];var u=0;return s=Ae(s,function(w){if(hr(w))return u=wn(w.length,u),!0}),we(u,function(w){return it(s,D(w))})}function Lb(s,u){if(!(s&&s.length))return[];var w=ug(s);return u==null?w:it(w,function(O){return V(u,n,O)})}var YO=Bt(function(s,u){return hr(s)?qs(s,u):[]}),GO=Bt(function(s){return dr(Ae(s,hr))}),qO=Bt(function(s){var u=xs(s);return hr(u)&&(u=n),dr(Ae(s,hr),Ct(u,2))}),XO=Bt(function(s){var u=xs(s);return u=typeof u=="function"?u:n,dr(Ae(s,hr),n,u)}),KO=Bt(ug);function ZO(s,u){return Qc(s||[],u||[],Hr)}function JO(s,u){return Qc(s||[],u||[],Qs)}var QO=Bt(function(s){var u=s.length,w=u>1?s[u-1]:n;return w=typeof w=="function"?(s.pop(),w):n,Lb(s,w)});function Fb(s){var u=z(s);return u.__chain__=!0,u}function e_(s,u){return u(s),s}function oh(s,u){return u(s)}var t_=dl(function(s){var u=s.length,w=u?s[0]:0,O=this.__wrapped__,$=function(K){return Hu(K,s)};return u>1||this.__actions__.length||!(O instanceof $t)||!hl(w)?this.thru($):(O=O.slice(w,+w+(u?1:0)),O.__actions__.push({func:oh,args:[$],thisArg:n}),new Cr(O,this.__chain__).thru(function(K){return u&&!K.length&&K.push(n),K}))});function n_(){return Fb(this)}function r_(){return new Cr(this.value(),this.__chain__)}function i_(){this.__values__===n&&(this.__values__=Kb(this.value()));var s=this.__index__>=this.__values__.length,u=s?n:this.__values__[this.__index__++];return{done:s,value:u}}function o_(){return this}function s_(s){for(var u,w=this;w instanceof Vo;){var O=Ob(w);O.__index__=0,O.__values__=n,u?$.__wrapped__=O:u=O;var $=O;w=w.__wrapped__}return $.__wrapped__=s,u}function a_(){var s=this.__wrapped__;if(s instanceof $t){var u=s;return this.__actions__.length&&(u=new $t(this)),u=u.reverse(),u.__actions__.push({func:oh,args:[lg],thisArg:n}),new Cr(u,this.__chain__)}return this.thru(lg)}function l_(){return Jc(this.__wrapped__,this.__actions__)}var u_=fl(function(s,u,w){kt.call(s,w)?++s[w]:Si(s,w,1)});function c_(s,u,w){var O=Ht(s)?_e:Vc;return w&&to(s,u,w)&&(u=n),O(s,Ct(u,3))}function f_(s,u){var w=Ht(s)?Ae:Hc;return w(s,Ct(u,3))}var d_=Y(_b),h_=Y(Rb);function p_(s,u){return fr(sh(s,u),1)}function g_(s,u){return fr(sh(s,u),ke)}function m_(s,u,w){return w=w===n?1:Yt(w),fr(sh(s,u),w)}function Nb(s,u){var w=Ht(s)?te:ps;return w(s,Ct(u,3))}function jb(s,u){var w=Ht(s)?pe:Yu;return w(s,Ct(u,3))}var v_=fl(function(s,u,w){kt.call(s,w)?s[w].push(u):Si(s,w,[u])});function y_(s,u,w,O){s=ko(s)?s:af(s),w=w&&!O?Yt(w):0;var $=s.length;return w<0&&(w=wn($+w,0)),fh(s)?w<=$&&s.indexOf(u,w)>-1:!!$&&Qt(s,u,w)>-1}var b_=Bt(function(s,u,w){var O=-1,$=typeof u=="function",K=ko(s)?ce(s.length):[];return ps(s,function(oe){K[++O]=$?V(u,oe,w):To(oe,u,w)}),K}),w_=fl(function(s,u,w){Si(s,w,u)});function sh(s,u){var w=Ht(s)?it:Ji;return w(s,Ct(u,3))}function x_(s,u,w,O){return s==null?[]:(Ht(u)||(u=u==null?[]:[u]),w=O?n:w,Ht(w)||(w=w==null?[]:[w]),Xl(s,u,w))}var S_=fl(function(s,u,w){s[w?0:1].push(u)},function(){return[[],[]]});function T_(s,u,w){var O=Ht(s)?Et:W,$=arguments.length<3;return O(s,Ct(u,4),w,$,ps)}function C_(s,u,w){var O=Ht(s)?Rn:W,$=arguments.length<3;return O(s,Ct(u,4),w,$,Yu)}function E_(s,u){var w=Ht(s)?Ae:Hc;return w(s,uh(Ct(u,3)))}function k_(s){var u=Ht(s)?ri:ll;return u(s)}function D_(s,u,w){(w?to(s,u,w):u===n)?u=1:u=Yt(u);var O=Ht(s)?xi:Ju;return O(s,u)}function P_(s){var u=Ht(s)?So:qc;return u(s)}function O_(s){if(s==null)return 0;if(ko(s))return fh(s)?vo(s):s.length;var u=Mi(s);return u==Mt||u==Jn?s.size:Wo(s).length}function __(s,u,w){var O=Ht(s)?un:Xc;return w&&to(s,u,w)&&(u=n),O(s,Ct(u,3))}var R_=Bt(function(s,u){if(s==null)return[];var w=u.length;return w>1&&to(s,u[0],u[1])?u=[]:w>2&&to(u[0],u[1],u[2])&&(u=[u[0]]),Xl(s,fr(u,1),[])}),ah=Ka||function(){return ln.Date.now()};function A_(s,u){if(typeof u!="function")throw new Vt(a);return s=Yt(s),function(){if(--s<1)return u.apply(this,arguments)}}function Bb(s,u,w){return u=w?n:u,u=s&&u==null?s.length:u,na(s,x,n,n,n,n,u)}function $b(s,u){var w;if(typeof u!="function")throw new Vt(a);return s=Yt(s),function(){return--s>0&&(w=u.apply(this,arguments)),s<=1&&(u=n),w}}var cg=Bt(function(s,u,w){var O=j;if(w.length){var $=ni(w,of(cg));O|=q}return na(s,O,u,w,$)}),Vb=Bt(function(s,u,w){var O=j|R;if(w.length){var $=ni(w,of(Vb));O|=q}return na(u,O,s,w,$)});function Hb(s,u,w){u=w?n:u;var O=na(s,H,n,n,n,n,n,u);return O.placeholder=Hb.placeholder,O}function Ub(s,u,w){u=w?n:u;var O=na(s,ne,n,n,n,n,n,u);return O.placeholder=Ub.placeholder,O}function Wb(s,u,w){var O,$,K,oe,he,ye,He=0,Ue=!1,Ze=!1,at=!0;if(typeof s!="function")throw new Vt(a);u=Ss(u)||0,qn(w)&&(Ue=!!w.leading,Ze="maxWait"in w,K=Ze?wn(Ss(w.maxWait)||0,u):K,at="trailing"in w?!!w.trailing:at);function bt(pr){var ia=O,ml=$;return O=$=n,He=pr,oe=s.apply(ml,ia),oe}function Dt(pr){return He=pr,he=Jf(Jt,u),Ue?bt(pr):oe}function Xt(pr){var ia=pr-ye,ml=pr-He,u0=u-ia;return Ze?Gn(u0,K-ml):u0}function Pt(pr){var ia=pr-ye,ml=pr-He;return ye===n||ia>=u||ia<0||Ze&&ml>=K}function Jt(){var pr=ah();if(Pt(pr))return tn(pr);he=Jf(Jt,Xt(pr))}function tn(pr){return he=n,at&&O?bt(pr):(O=$=n,oe)}function Yo(){he!==n&&tu(he),He=0,O=ye=$=he=n}function no(){return he===n?oe:tn(ah())}function Go(){var pr=ah(),ia=Pt(pr);if(O=arguments,$=this,ye=pr,ia){if(he===n)return Dt(ye);if(Ze)return tu(he),he=Jf(Jt,u),bt(ye)}return he===n&&(he=Jf(Jt,u)),oe}return Go.cancel=Yo,Go.flush=no,Go}var I_=Bt(function(s,u){return zu(s,1,u)}),M_=Bt(function(s,u,w){return zu(s,Ss(u)||0,w)});function L_(s){return na(s,ae)}function lh(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Vt(a);var w=function(){var O=arguments,$=u?u.apply(this,O):O[0],K=w.cache;if(K.has($))return K.get($);var oe=s.apply(this,O);return w.cache=K.set($,oe)||K,oe};return w.cache=new(lh.Cache||Ho),w}lh.Cache=Ho;function uh(s){if(typeof s!="function")throw new Vt(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function F_(s){return $b(2,s)}var N_=ef(function(s,u){u=u.length==1&&Ht(u[0])?it(u[0],ht(Ct())):it(fr(u,1),ht(Ct()));var w=u.length;return Bt(function(O){for(var $=-1,K=Gn(O.length,w);++$<K;)O[$]=u[$].call(this,O[$]);return V(s,this,O)})}),fg=Bt(function(s,u){var w=ni(u,of(fg));return na(s,q,n,u,w)}),zb=Bt(function(s,u){var w=ni(u,of(zb));return na(s,ie,n,u,w)}),j_=dl(function(s,u){return na(s,le,n,n,n,u)});function B_(s,u){if(typeof s!="function")throw new Vt(a);return u=u===n?u:Yt(u),Bt(s,u)}function $_(s,u){if(typeof s!="function")throw new Vt(a);return u=u==null?0:wn(Yt(u),0),Bt(function(w){var O=w[u],$=ys(w,0,u);return O&&Tt($,O),V(s,this,$)})}function V_(s,u,w){var O=!0,$=!0;if(typeof s!="function")throw new Vt(a);return qn(w)&&(O="leading"in w?!!w.leading:O,$="trailing"in w?!!w.trailing:$),Wb(s,u,{leading:O,maxWait:u,trailing:$})}function H_(s){return Bb(s,1)}function U_(s,u){return fg(eu(u),s)}function W_(){if(!arguments.length)return[];var s=arguments[0];return Ht(s)?s:[s]}function z_(s){return Ur(s,E)}function Y_(s,u){return u=typeof u=="function"?u:n,Ur(s,E,u)}function G_(s){return Ur(s,g|E)}function q_(s,u){return u=typeof u=="function"?u:n,Ur(s,g|E,u)}function X_(s,u){return u==null||Wu(s,u,oi(u))}function ra(s,u){return s===u||s!==s&&u!==u}var K_=Eo(Xs),Z_=Eo(function(s,u){return s>=u}),sc=Yl(function(){return arguments}())?Yl:function(s){return or(s)&&kt.call(s,"callee")&&!Il.call(s,"callee")},Ht=ce.isArray,J_=h?ht(h):Ks;function ko(s){return s!=null&&ch(s.length)&&!pl(s)}function hr(s){return or(s)&&ko(s)}function Q_(s){return s===!0||s===!1||or(s)&&rr(s)==ct}var ru=Ll||Sg,eR=b?ht(b):Wc;function tR(s){return or(s)&&s.nodeType===1&&!Qf(s)}function nR(s){if(s==null)return!0;if(ko(s)&&(Ht(s)||typeof s=="string"||typeof s.splice=="function"||ru(s)||sf(s)||sc(s)))return!s.length;var u=Mi(s);if(u==Mt||u==Jn)return!s.size;if(Zf(s))return!Wo(s).length;for(var w in s)if(kt.call(s,w))return!1;return!0}function rR(s,u){return il(s,u)}function iR(s,u,w){w=typeof w=="function"?w:n;var O=w?w(s,u):n;return O===n?il(s,u,n,w):!!O}function dg(s){if(!or(s))return!1;var u=rr(s);return u==yt||u==ft||typeof s.message=="string"&&typeof s.name=="string"&&!Qf(s)}function oR(s){return typeof s=="number"&&ba(s)}function pl(s){if(!qn(s))return!1;var u=rr(s);return u==Je||u==At||u==ot||u==$i}function Yb(s){return typeof s=="number"&&s==Yt(s)}function ch(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=Le}function qn(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function or(s){return s!=null&&typeof s=="object"}var Gb=C?ht(C):Pa;function sR(s,u){return s===u||qu(s,u,ng(u))}function aR(s,u,w){return w=typeof w=="function"?w:n,qu(s,u,ng(u),w)}function lR(s){return qb(s)&&s!=+s}function uR(s){if(YP(s))throw new Fe(o);return zc(s)}function cR(s){return s===null}function fR(s){return s==null}function qb(s){return typeof s=="number"||or(s)&&rr(s)==Vn}function Qf(s){if(!or(s)||rr(s)!=Hn)return!1;var u=Vs(s);if(u===null)return!0;var w=kt.call(u,"constructor")&&u.constructor;return typeof w=="function"&&w instanceof w&&$r.call(w)==Ru}var hg=P?ht(P):Zs;function dR(s){return Yb(s)&&s>=-9007199254740991&&s<=Le}var Xb=L?ht(L):Gl;function fh(s){return typeof s=="string"||!Ht(s)&&or(s)&&rr(s)==sn}function zo(s){return typeof s=="symbol"||or(s)&&rr(s)==fn}var sf=N?ht(N):Uo;function hR(s){return s===n}function pR(s){return or(s)&&Mi(s)==ut}function gR(s){return or(s)&&rr(s)==Dn}var mR=Eo(Zi),vR=Eo(function(s,u){return s<=u});function Kb(s){if(!s)return[];if(ko(s))return fh(s)?cn(s):Yr(s);if(Xi&&s[Xi])return Ai(s[Xi]());var u=Mi(s),w=u==Mt?da:u==Jn?mo:af;return w(s)}function gl(s){if(!s)return s===0?s:0;if(s=Ss(s),s===ke||s===-1/0){var u=s<0?-1:1;return u*et}return s===s?s:0}function Yt(s){var u=gl(s),w=u%1;return u===u?w?u-w:u:0}function Zb(s){return s?Gs(Yt(s),0,Se):0}function Ss(s){if(typeof s=="number")return s;if(zo(s))return ge;if(qn(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=qn(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Ye(s);var w=fi.test(s);return w||wr.test(s)?Bs(s.slice(2),w?2:8):Ar.test(s)?ge:+s}function Jb(s){return Ii(s,Do(s))}function yR(s){return s?Gs(Yt(s),-9007199254740991,Le):s===0?s:0}function gn(s){return s==null?"":Wr(s)}var bR=Ra(function(s,u){if(Zf(u)||ko(u)){Ii(u,oi(u),s);return}for(var w in u)kt.call(u,w)&&Hr(s,w,u[w])}),Qb=Ra(function(s,u){Ii(u,Do(u),s)}),dh=Ra(function(s,u,w,O){Ii(u,Do(u),s,O)}),wR=Ra(function(s,u,w,O){Ii(u,oi(u),s,O)}),xR=dl(Hu);function SR(s,u){var w=$o(s);return u==null?w:$c(w,u)}var TR=Bt(function(s,u){s=rt(s);var w=-1,O=u.length,$=O>2?u[2]:n;for($&&to(u[0],u[1],$)&&(O=1);++w<O;)for(var K=u[w],oe=Do(K),he=-1,ye=oe.length;++he<ye;){var He=oe[he],Ue=s[He];(Ue===n||ra(Ue,In[He])&&!kt.call(s,He))&&(s[He]=K[He])}return s}),CR=Bt(function(s){return s.push(n,mb),V(e0,n,s)});function ER(s,u){return Br(s,Ct(u,3),Ti)}function kR(s,u){return Br(s,Ct(u,3),Hl)}function DR(s,u){return s==null?s:Gu(s,Ct(u,3),Do)}function PR(s,u){return s==null?s:Uc(s,Ct(u,3),Do)}function OR(s,u){return s&&Ti(s,Ct(u,3))}function _R(s,u){return s&&Hl(s,Ct(u,3))}function RR(s){return s==null?[]:Ca(s,oi(s))}function AR(s){return s==null?[]:Ca(s,Do(s))}function pg(s,u,w){var O=s==null?n:gs(s,u);return O===n?w:O}function IR(s,u){return s!=null&&bb(s,u,Ul)}function gg(s,u){return s!=null&&bb(s,u,Ea)}var MR=je(function(s,u,w){u!=null&&typeof u.toString!="function"&&(u=Lo.call(u)),s[u]=w},vg(Po)),LR=je(function(s,u,w){u!=null&&typeof u.toString!="function"&&(u=Lo.call(u)),kt.call(s,u)?s[u].push(w):s[u]=[w]},Ct),FR=Bt(To);function oi(s){return ko(s)?nl(s):Wo(s)}function Do(s){return ko(s)?nl(s,!0):ol(s)}function NR(s,u){var w={};return u=Ct(u,3),Ti(s,function(O,$,K){Si(w,u(O,$,K),O)}),w}function jR(s,u){var w={};return u=Ct(u,3),Ti(s,function(O,$,K){Si(w,$,u(O,$,K))}),w}var BR=Ra(function(s,u,w){ms(s,u,w)}),e0=Ra(function(s,u,w,O){ms(s,u,w,O)}),$R=dl(function(s,u){var w={};if(s==null)return w;var O=!1;u=it(u,function(K){return K=Ci(K,s),O||(O=K.length>1),K}),Ii(s,eg(s),w),O&&(w=Ur(w,g|T|E,MP));for(var $=u.length;$--;)zr(w,u[$]);return w});function VR(s,u){return t0(s,uh(Ct(u)))}var HR=dl(function(s,u){return s==null?{}:al(s,u)});function t0(s,u){if(s==null)return{};var w=it(eg(s),function(O){return[O]});return u=Ct(u),_a(s,w,function(O,$){return u(O,$[0])})}function UR(s,u,w){u=Ci(u,s);var O=-1,$=u.length;for($||($=1,s=n);++O<$;){var K=s==null?n:s[Ia(u[O])];K===n&&(O=$,K=w),s=pl(K)?K.call(s):K}return s}function WR(s,u,w){return s==null?s:Qs(s,u,w)}function zR(s,u,w,O){return O=typeof O=="function"?O:n,s==null?s:Qs(s,u,w,O)}var n0=rf(oi),r0=rf(Do);function YR(s,u,w){var O=Ht(s),$=O||ru(s)||sf(s);if(u=Ct(u,4),w==null){var K=s&&s.constructor;$?w=O?new K:[]:qn(s)?w=pl(K)?$o(Vs(s)):{}:w={}}return($?te:Ti)(s,function(oe,he,ye){return u(w,oe,he,ye)}),w}function GR(s,u){return s==null?!0:zr(s,u)}function qR(s,u,w){return s==null?s:Zc(s,u,eu(w))}function XR(s,u,w,O){return O=typeof O=="function"?O:n,s==null?s:Zc(s,u,eu(w),O)}function af(s){return s==null?[]:_t(s,oi(s))}function KR(s){return s==null?[]:_t(s,Do(s))}function ZR(s,u,w){return w===n&&(w=u,u=n),w!==n&&(w=Ss(w),w=w===w?w:0),u!==n&&(u=Ss(u),u=u===u?u:0),Gs(Ss(s),u,w)}function JR(s,u,w){return u=gl(u),w===n?(w=u,u=0):w=gl(w),s=Ss(s),Wl(s,u,w)}function QR(s,u,w){if(w&&typeof w!="boolean"&&to(s,u,w)&&(u=w=n),w===n&&(typeof u=="boolean"?(w=u,u=n):typeof s=="boolean"&&(w=s,s=n)),s===n&&u===n?(s=0,u=1):(s=gl(s),u===n?(u=s,s=0):u=gl(u)),s>u){var O=s;s=u,u=O}if(w||s%1||u%1){var $=us();return Gn(s+$*(u-s+ur("1e-"+(($+"").length-1))),u)}return Js(s,u)}var eA=S(function(s,u,w){return u=u.toLowerCase(),s+(w?i0(u):u)});function i0(s){return mg(gn(s).toLowerCase())}function o0(s){return s=gn(s),s&&s.replace(tr,$n).replace(rs,"")}function tA(s,u,w){s=gn(s),u=Wr(u);var O=s.length;w=w===n?O:Gs(Yt(w),0,O);var $=w;return w-=u.length,w>=0&&s.slice(w,$)==u}function nA(s){return s=gn(s),s&&Wi.test(s)?s.replace(Wt,os):s}function rA(s){return s=gn(s),s&&ci.test(s)?s.replace(br,"\\$&"):s}var iA=S(function(s,u,w){return s+(w?"-":"")+u.toLowerCase()}),oA=S(function(s,u,w){return s+(w?" ":"")+u.toLowerCase()}),sA=m("toLowerCase");function aA(s,u,w){s=gn(s),u=Yt(u);var O=u?vo(s):0;if(!u||O>=u)return s;var $=(u-O)/2;return xt(Hs($),w)+s+xt(va($),w)}function lA(s,u,w){s=gn(s),u=Yt(u);var O=u?vo(s):0;return u&&O<u?s+xt(u-O,w):s}function uA(s,u,w){s=gn(s),u=Yt(u);var O=u?vo(s):0;return u&&O<u?xt(u-O,w)+s:s}function cA(s,u,w){return w||u==null?u=0:u&&(u=+u),Mu(gn(s).replace(an,""),u||0)}function fA(s,u,w){return(w?to(s,u,w):u===n)?u=1:u=Yt(u),Kl(gn(s),u)}function dA(){var s=arguments,u=gn(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var hA=S(function(s,u,w){return s+(w?"_":"")+u.toLowerCase()});function pA(s,u,w){return w&&typeof w!="number"&&to(s,u,w)&&(u=w=n),w=w===n?Se:w>>>0,w?(s=gn(s),s&&(typeof u=="string"||u!=null&&!hg(u))&&(u=Wr(u),!u&&ti(s))?ys(cn(s),0,w):s.split(u,w)):[]}var gA=S(function(s,u,w){return s+(w?" ":"")+mg(u)});function mA(s,u,w){return s=gn(s),w=w==null?0:Gs(Yt(w),0,s.length),u=Wr(u),s.slice(w,w+u.length)==u}function vA(s,u,w){var O=z.templateSettings;w&&to(s,u,w)&&(u=n),s=gn(s),u=dh({},u,O,gb);var $=dh({},u.imports,O.imports,gb),K=oi($),oe=_t($,K),he,ye,He=0,Ue=u.interpolate||zi,Ze="__p += '",at=It((u.escape||zi).source+"|"+Ue.source+"|"+(Ue===li?er:zi).source+"|"+(u.evaluate||zi).source+"|$","g"),bt="//# sourceURL="+(kt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rn+"]")+`
|
|
146
146
|
`;s.replace(at,function(Pt,Jt,tn,Yo,no,Go){return tn||(tn=Yo),Ze+=s.slice(He,Go).replace(Oi,fa),Jt&&(he=!0,Ze+=`' +
|
|
147
147
|
__e(`+Jt+`) +
|
|
148
148
|
'`),no&&(ye=!0,Ze+=`';
|
|
@@ -153,13 +153,13 @@ __p += '`),tn&&(Ze+=`' +
|
|
|
153
153
|
`;var Dt=kt.call(u,"variable")&&u.variable;if(!Dt)Ze=`with (obj) {
|
|
154
154
|
`+Ze+`
|
|
155
155
|
}
|
|
156
|
-
`;else if(lo.test(Dt))throw new Fe(c);Ze=(ye?Ze.replace(Ao,""):Ze).replace(Un,"$1").replace(
|
|
156
|
+
`;else if(lo.test(Dt))throw new Fe(c);Ze=(ye?Ze.replace(Ao,""):Ze).replace(Un,"$1").replace(Xr,"$1;"),Ze="function("+(Dt||"obj")+`) {
|
|
157
157
|
`+(Dt?"":`obj || (obj = {});
|
|
158
158
|
`)+"var __t, __p = ''"+(he?", __e = _.escape":"")+(ye?`, __j = Array.prototype.join;
|
|
159
159
|
function print() { __p += __j.call(arguments, '') }
|
|
160
160
|
`:`;
|
|
161
161
|
`)+Ze+`return __p
|
|
162
|
-
}`;var Xt=a0(function(){return st(K,bt+"return "+Ze).apply(n,oe)});if(Xt.source=Ze,dg(Xt))throw Xt;return Xt}function yA(s){return gn(s).toLowerCase()}function bA(s){return gn(s).toUpperCase()}function wA(s,u,w){if(s=gn(s),s&&(w||u===n))return Ye(s);if(!s||!(u=Ur(u)))return s;var O=cn(s),$=cn(u),K=vt(O,$),oe=An(O,$)+1;return ys(O,K,oe).join("")}function xA(s,u,w){if(s=gn(s),s&&(w||u===n))return s.slice(0,Al(s)+1);if(!s||!(u=Ur(u)))return s;var O=cn(s),$=An(O,cn(u))+1;return ys(O,0,$).join("")}function SA(s,u,w){if(s=gn(s),s&&(w||u===n))return s.replace(an,"");if(!s||!(u=Ur(u)))return s;var O=cn(s),$=vt(O,cn(u));return ys(O,$).join("")}function TA(s,u){var w=Ve,O=tt;if(qn(u)){var $="separator"in u?u.separator:$;w="length"in u?Yt(u.length):w,O="omission"in u?Ur(u.omission):O}s=gn(s);var K=s.length;if(ei(s)){var oe=cn(s);K=oe.length}if(w>=K)return s;var he=w-vo(O);if(he<1)return O;var ye=oe?ys(oe,0,he).join(""):s.slice(0,he);if($===n)return ye+O;if(oe&&(he+=ye.length-he),hg($)){if(s.slice(he).search($)){var He,Ue=ye;for($.global||($=It($.source,gn(_r.exec($))+"g")),$.lastIndex=0;He=$.exec(Ue);)var Ze=He.index;ye=ye.slice(0,Ze===n?he:Ze)}}else if(s.indexOf(Ur($),he)!=he){var at=ye.lastIndexOf($);at>-1&&(ye=ye.slice(0,at))}return ye+O}function CA(s){return s=gn(s),s&&ai.test(s)?s.replace(Qn,pa):s}var EA=S(function(s,u,w){return s+(w?" ":"")+u.toUpperCase()}),mg=m("toUpperCase");function s0(s,u,w){return s=gn(s),u=w?n:u,u===n?Ya(s)?de(s):Lt(s):s.match(u)||[]}var a0=Bt(function(s,u){try{return V(s,n,u)}catch(w){return dg(w)?w:new Fe(w)}}),kA=dl(function(s,u){return te(u,function(w){w=Ia(w),Si(s,w,cg(s[w],s))}),s});function DA(s){var u=s==null?0:s.length,w=Ct();return s=u?it(s,function(O){if(typeof O[1]!="function")throw new Vt(a);return[w(O[0]),O[1]]}):[],Bt(function(O){for(var $=-1;++$<u;){var K=s[$];if(V(K[0],this,O))return V(K[1],this,O)}})}function PA(s){return Uu(Hr(s,g))}function vg(s){return function(){return s}}function OA(s,u){return s==null||s!==s?u:s}var _A=re(),RA=re(!0);function Po(s){return s}function yg(s){return ql(typeof s=="function"?s:Hr(s,g))}function AA(s){return Co(Hr(s,g))}function IA(s,u){return sl(s,Hr(u,g))}var MA=Bt(function(s,u){return function(w){return To(w,s,u)}}),LA=Bt(function(s,u){return function(w){return To(s,w,u)}});function bg(s,u,w){var O=ii(u),$=Ca(u,O);w==null&&!(qn(u)&&($.length||!O.length))&&(w=u,u=s,s=this,$=Ca(u,ii(u)));var K=!(qn(w)&&"chain"in w)||!!w.chain,oe=pl(s);return te($,function(he){var ye=u[he];s[he]=ye,oe&&(s.prototype[he]=function(){var He=this.__chain__;if(K||He){var Ue=s(this.__wrapped__),Ze=Ue.__actions__=zr(this.__actions__);return Ze.push({func:ye,args:arguments,thisArg:s}),Ue.__chain__=He,Ue}return ye.apply(s,Tt([this.value()],arguments))})}),s}function FA(){return ln._===this&&(ln._=Au),this}function wg(){}function NA(s){return s=Yt(s),Bt(function(u){return Oa(u,s)})}var jA=nt(it),BA=nt(_e),$A=nt(un);function l0(s){return ig(s)?D(Ia(s)):Yc(s)}function VA(s){return function(u){return s==null?n:gs(s,u)}}var HA=ir(),UA=ir(!0);function xg(){return[]}function Sg(){return!1}function WA(){return{}}function zA(){return""}function YA(){return!0}function GA(s,u){if(s=Yt(s),s<1||s>Le)return[];var w=Se,O=Gn(s,Se);u=Ct(u),s-=Se;for(var $=we(O,u);++w<s;)u(w);return $}function qA(s){return Ht(s)?it(s,Ia):zo(s)?[s]:zr(Pb(gn(s)))}function XA(s){var u=++_u;return gn(s)+u}var KA=Ge(function(s,u){return s+u},0),ZA=eo("ceil"),JA=Ge(function(s,u){return s/u},1),QA=eo("floor");function eI(s){return s&&s.length?Vl(s,Po,Xs):n}function tI(s,u){return s&&s.length?Vl(s,Ct(u,2),Xs):n}function nI(s){return Tr(s,Po)}function rI(s,u){return Tr(s,Ct(u,2))}function iI(s){return s&&s.length?Vl(s,Po,Zi):n}function oI(s,u){return s&&s.length?Vl(s,Ct(u,2),Zi):n}var sI=Ge(function(s,u){return s*u},1),aI=eo("round"),lI=Ge(function(s,u){return s-u},0);function uI(s){return s&&s.length?be(s,Po):0}function cI(s,u){return s&&s.length?be(s,Ct(u,2)):0}return z.after=A_,z.ary=Bb,z.assign=bR,z.assignIn=Qb,z.assignInWith=dh,z.assignWith=wR,z.at=xR,z.before=$b,z.bind=cg,z.bindAll=kA,z.bindKey=Vb,z.castArray=W_,z.chain=Fb,z.chunk=QP,z.compact=eO,z.concat=tO,z.cond=DA,z.conforms=PA,z.constant=vg,z.countBy=u_,z.create=SR,z.curry=Hb,z.curryRight=Ub,z.debounce=Wb,z.defaults=TR,z.defaultsDeep=CR,z.defer=I_,z.delay=M_,z.difference=nO,z.differenceBy=rO,z.differenceWith=iO,z.drop=oO,z.dropRight=sO,z.dropRightWhile=aO,z.dropWhile=lO,z.fill=uO,z.filter=f_,z.flatMap=p_,z.flatMapDeep=g_,z.flatMapDepth=m_,z.flatten=Ab,z.flattenDeep=cO,z.flattenDepth=fO,z.flip=L_,z.flow=_A,z.flowRight=RA,z.fromPairs=dO,z.functions=RR,z.functionsIn=AR,z.groupBy=v_,z.initial=pO,z.intersection=gO,z.intersectionBy=mO,z.intersectionWith=vO,z.invert=MR,z.invertBy=LR,z.invokeMap=b_,z.iteratee=yg,z.keyBy=w_,z.keys=ii,z.keysIn=Do,z.map=sh,z.mapKeys=NR,z.mapValues=jR,z.matches=AA,z.matchesProperty=IA,z.memoize=lh,z.merge=BR,z.mergeWith=e0,z.method=MA,z.methodOf=LA,z.mixin=bg,z.negate=uh,z.nthArg=NA,z.omit=$R,z.omitBy=VR,z.once=F_,z.orderBy=x_,z.over=jA,z.overArgs=N_,z.overEvery=BA,z.overSome=$A,z.partial=fg,z.partialRight=zb,z.partition=S_,z.pick=HR,z.pickBy=t0,z.property=l0,z.propertyOf=VA,z.pull=xO,z.pullAll=Mb,z.pullAllBy=SO,z.pullAllWith=TO,z.pullAt=CO,z.range=HA,z.rangeRight=UA,z.rearg=j_,z.reject=E_,z.remove=EO,z.rest=B_,z.reverse=lg,z.sampleSize=D_,z.set=WR,z.setWith=zR,z.shuffle=P_,z.slice=kO,z.sortBy=R_,z.sortedUniq=IO,z.sortedUniqBy=MO,z.split=pA,z.spread=$_,z.tail=LO,z.take=FO,z.takeRight=NO,z.takeRightWhile=jO,z.takeWhile=BO,z.tap=e_,z.throttle=V_,z.thru=oh,z.toArray=Kb,z.toPairs=n0,z.toPairsIn=r0,z.toPath=qA,z.toPlainObject=Jb,z.transform=YR,z.unary=H_,z.union=$O,z.unionBy=VO,z.unionWith=HO,z.uniq=UO,z.uniqBy=WO,z.uniqWith=zO,z.unset=GR,z.unzip=ug,z.unzipWith=Lb,z.update=qR,z.updateWith=XR,z.values=af,z.valuesIn=KR,z.without=YO,z.words=s0,z.wrap=U_,z.xor=GO,z.xorBy=qO,z.xorWith=XO,z.zip=KO,z.zipObject=ZO,z.zipObjectDeep=JO,z.zipWith=QO,z.entries=n0,z.entriesIn=r0,z.extend=Qb,z.extendWith=dh,bg(z,z),z.add=KA,z.attempt=a0,z.camelCase=eA,z.capitalize=i0,z.ceil=ZA,z.clamp=ZR,z.clone=z_,z.cloneDeep=G_,z.cloneDeepWith=q_,z.cloneWith=Y_,z.conformsTo=X_,z.deburr=o0,z.defaultTo=OA,z.divide=JA,z.endsWith=tA,z.eq=ra,z.escape=nA,z.escapeRegExp=rA,z.every=c_,z.find=d_,z.findIndex=_b,z.findKey=ER,z.findLast=h_,z.findLastIndex=Rb,z.findLastKey=kR,z.floor=QA,z.forEach=Nb,z.forEachRight=jb,z.forIn=DR,z.forInRight=PR,z.forOwn=OR,z.forOwnRight=_R,z.get=pg,z.gt=K_,z.gte=Z_,z.has=IR,z.hasIn=gg,z.head=Ib,z.identity=Po,z.includes=y_,z.indexOf=hO,z.inRange=JR,z.invoke=FR,z.isArguments=sc,z.isArray=Ht,z.isArrayBuffer=J_,z.isArrayLike=ko,z.isArrayLikeObject=hr,z.isBoolean=Q_,z.isBuffer=ru,z.isDate=eR,z.isElement=tR,z.isEmpty=nR,z.isEqual=rR,z.isEqualWith=iR,z.isError=dg,z.isFinite=oR,z.isFunction=pl,z.isInteger=Yb,z.isLength=ch,z.isMap=Gb,z.isMatch=sR,z.isMatchWith=aR,z.isNaN=lR,z.isNative=uR,z.isNil=fR,z.isNull=cR,z.isNumber=qb,z.isObject=qn,z.isObjectLike=or,z.isPlainObject=Qf,z.isRegExp=hg,z.isSafeInteger=dR,z.isSet=Xb,z.isString=fh,z.isSymbol=zo,z.isTypedArray=sf,z.isUndefined=hR,z.isWeakMap=pR,z.isWeakSet=gR,z.join=yO,z.kebabCase=iA,z.last=xs,z.lastIndexOf=bO,z.lowerCase=oA,z.lowerFirst=sA,z.lt=mR,z.lte=vR,z.max=eI,z.maxBy=tI,z.mean=nI,z.meanBy=rI,z.min=iI,z.minBy=oI,z.stubArray=xg,z.stubFalse=Sg,z.stubObject=WA,z.stubString=zA,z.stubTrue=YA,z.multiply=sI,z.nth=wO,z.noConflict=FA,z.noop=wg,z.now=ah,z.pad=aA,z.padEnd=lA,z.padStart=uA,z.parseInt=cA,z.random=QR,z.reduce=T_,z.reduceRight=C_,z.repeat=fA,z.replace=dA,z.result=UR,z.round=aI,z.runInContext=Z,z.sample=k_,z.size=O_,z.snakeCase=hA,z.some=__,z.sortedIndex=DO,z.sortedIndexBy=PO,z.sortedIndexOf=OO,z.sortedLastIndex=_O,z.sortedLastIndexBy=RO,z.sortedLastIndexOf=AO,z.startCase=gA,z.startsWith=mA,z.subtract=lI,z.sum=uI,z.sumBy=cI,z.template=vA,z.times=GA,z.toFinite=gl,z.toInteger=Yt,z.toLength=Zb,z.toLower=yA,z.toNumber=Ss,z.toSafeInteger=yR,z.toString=gn,z.toUpper=bA,z.trim=wA,z.trimEnd=xA,z.trimStart=SA,z.truncate=TA,z.unescape=CA,z.uniqueId=XA,z.upperCase=EA,z.upperFirst=mg,z.each=Nb,z.eachRight=jb,z.first=Ib,bg(z,function(){var s={};return Ti(z,function(u,w){kt.call(z.prototype,w)||(s[w]=u)}),s}(),{chain:!1}),z.VERSION=r,te(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){z[s].placeholder=z}),te(["drop","take"],function(s,u){$t.prototype[s]=function(w){w=w===n?1:wn(Yt(w),0);var O=this.__filtered__&&!u?new $t(this):this.clone();return O.__filtered__?O.__takeCount__=Gn(w,O.__takeCount__):O.__views__.push({size:Gn(w,Se),type:s+(O.__dir__<0?"Right":"")}),O},$t.prototype[s+"Right"]=function(w){return this.reverse()[s](w).reverse()}}),te(["filter","map","takeWhile"],function(s,u){var w=u+1,O=w==Oe||w==ve;$t.prototype[s]=function($){var K=this.clone();return K.__iteratees__.push({iteratee:Ct($,3),type:w}),K.__filtered__=K.__filtered__||O,K}}),te(["head","last"],function(s,u){var w="take"+(u?"Right":"");$t.prototype[s]=function(){return this[w](1).value()[0]}}),te(["initial","tail"],function(s,u){var w="drop"+(u?"":"Right");$t.prototype[s]=function(){return this.__filtered__?new $t(this):this[w](1)}}),$t.prototype.compact=function(){return this.filter(Po)},$t.prototype.find=function(s){return this.filter(s).head()},$t.prototype.findLast=function(s){return this.reverse().find(s)},$t.prototype.invokeMap=Bt(function(s,u){return typeof s=="function"?new $t(this):this.map(function(w){return To(w,s,u)})}),$t.prototype.reject=function(s){return this.filter(uh(Ct(s)))},$t.prototype.slice=function(s,u){s=Yt(s);var w=this;return w.__filtered__&&(s>0||u<0)?new $t(w):(s<0?w=w.takeRight(-s):s&&(w=w.drop(s)),u!==n&&(u=Yt(u),w=u<0?w.dropRight(-u):w.take(u-s)),w)},$t.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},$t.prototype.toArray=function(){return this.take(Se)},Ti($t.prototype,function(s,u){var w=/^(?:filter|find|map|reject)|While$/.test(u),O=/^(?:head|last)$/.test(u),$=z[O?"take"+(u=="last"?"Right":""):u],K=O||/^find/.test(u);$&&(z.prototype[u]=function(){var oe=this.__wrapped__,he=O?[1]:arguments,ye=oe instanceof $t,He=he[0],Ue=ye||Ht(oe),Ze=function(Jt){var tn=$.apply(z,Tt([Jt],he));return O&&at?tn[0]:tn};Ue&&w&&typeof He=="function"&&He.length!=1&&(ye=Ue=!1);var at=this.__chain__,bt=!!this.__actions__.length,Dt=K&&!at,Xt=ye&&!bt;if(!K&&Ue){oe=Xt?oe:new $t(this);var Pt=s.apply(oe,he);return Pt.__actions__.push({func:oh,args:[Ze],thisArg:n}),new Cr(Pt,at)}return Dt&&Xt?s.apply(this,he):(Pt=this.thru(Ze),Dt?O?Pt.value()[0]:Pt.value():Pt)})}),te(["pop","push","shift","sort","splice","unshift"],function(s){var u=Yn[s],w=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",O=/^(?:pop|shift)$/.test(s);z.prototype[s]=function(){var $=arguments;if(O&&!this.__chain__){var K=this.value();return u.apply(Ht(K)?K:[],$)}return this[w](function(oe){return u.apply(Ht(oe)?oe:[],$)})}}),Ti($t.prototype,function(s,u){var w=z[u];if(w){var O=w.name+"";kt.call(Us,O)||(Us[O]=[]),Us[O].push({name:u,func:w})}}),Us[xe(n,R).name]=[{name:"wrapper",func:n}],$t.prototype.clone=Nl,$t.prototype.reverse=el,$t.prototype.value=jl,z.prototype.at=t_,z.prototype.chain=n_,z.prototype.commit=r_,z.prototype.next=i_,z.prototype.plant=s_,z.prototype.reverse=a_,z.prototype.toJSON=z.prototype.valueOf=z.prototype.value=l_,z.prototype.first=z.prototype.head,Xi&&(z.prototype[Xi]=o_),z},De=Ce();bi?((bi.exports=De)._=De,Mo._=De):ln._=De}).call(ki)})(wp,wp.exports);var KD=wp.exports;const P6=Eu(KD);var ZD={exports:{}};/*!
|
|
162
|
+
}`;var Xt=a0(function(){return st(K,bt+"return "+Ze).apply(n,oe)});if(Xt.source=Ze,dg(Xt))throw Xt;return Xt}function yA(s){return gn(s).toLowerCase()}function bA(s){return gn(s).toUpperCase()}function wA(s,u,w){if(s=gn(s),s&&(w||u===n))return Ye(s);if(!s||!(u=Wr(u)))return s;var O=cn(s),$=cn(u),K=vt(O,$),oe=An(O,$)+1;return ys(O,K,oe).join("")}function xA(s,u,w){if(s=gn(s),s&&(w||u===n))return s.slice(0,Al(s)+1);if(!s||!(u=Wr(u)))return s;var O=cn(s),$=An(O,cn(u))+1;return ys(O,0,$).join("")}function SA(s,u,w){if(s=gn(s),s&&(w||u===n))return s.replace(an,"");if(!s||!(u=Wr(u)))return s;var O=cn(s),$=vt(O,cn(u));return ys(O,$).join("")}function TA(s,u){var w=Ve,O=tt;if(qn(u)){var $="separator"in u?u.separator:$;w="length"in u?Yt(u.length):w,O="omission"in u?Wr(u.omission):O}s=gn(s);var K=s.length;if(ti(s)){var oe=cn(s);K=oe.length}if(w>=K)return s;var he=w-vo(O);if(he<1)return O;var ye=oe?ys(oe,0,he).join(""):s.slice(0,he);if($===n)return ye+O;if(oe&&(he+=ye.length-he),hg($)){if(s.slice(he).search($)){var He,Ue=ye;for($.global||($=It($.source,gn(Rr.exec($))+"g")),$.lastIndex=0;He=$.exec(Ue);)var Ze=He.index;ye=ye.slice(0,Ze===n?he:Ze)}}else if(s.indexOf(Wr($),he)!=he){var at=ye.lastIndexOf($);at>-1&&(ye=ye.slice(0,at))}return ye+O}function CA(s){return s=gn(s),s&&ai.test(s)?s.replace(Qn,pa):s}var EA=S(function(s,u,w){return s+(w?" ":"")+u.toUpperCase()}),mg=m("toUpperCase");function s0(s,u,w){return s=gn(s),u=w?n:u,u===n?Ya(s)?de(s):Lt(s):s.match(u)||[]}var a0=Bt(function(s,u){try{return V(s,n,u)}catch(w){return dg(w)?w:new Fe(w)}}),kA=dl(function(s,u){return te(u,function(w){w=Ia(w),Si(s,w,cg(s[w],s))}),s});function DA(s){var u=s==null?0:s.length,w=Ct();return s=u?it(s,function(O){if(typeof O[1]!="function")throw new Vt(a);return[w(O[0]),O[1]]}):[],Bt(function(O){for(var $=-1;++$<u;){var K=s[$];if(V(K[0],this,O))return V(K[1],this,O)}})}function PA(s){return Uu(Ur(s,g))}function vg(s){return function(){return s}}function OA(s,u){return s==null||s!==s?u:s}var _A=re(),RA=re(!0);function Po(s){return s}function yg(s){return ql(typeof s=="function"?s:Ur(s,g))}function AA(s){return Co(Ur(s,g))}function IA(s,u){return sl(s,Ur(u,g))}var MA=Bt(function(s,u){return function(w){return To(w,s,u)}}),LA=Bt(function(s,u){return function(w){return To(s,w,u)}});function bg(s,u,w){var O=oi(u),$=Ca(u,O);w==null&&!(qn(u)&&($.length||!O.length))&&(w=u,u=s,s=this,$=Ca(u,oi(u)));var K=!(qn(w)&&"chain"in w)||!!w.chain,oe=pl(s);return te($,function(he){var ye=u[he];s[he]=ye,oe&&(s.prototype[he]=function(){var He=this.__chain__;if(K||He){var Ue=s(this.__wrapped__),Ze=Ue.__actions__=Yr(this.__actions__);return Ze.push({func:ye,args:arguments,thisArg:s}),Ue.__chain__=He,Ue}return ye.apply(s,Tt([this.value()],arguments))})}),s}function FA(){return ln._===this&&(ln._=Au),this}function wg(){}function NA(s){return s=Yt(s),Bt(function(u){return Oa(u,s)})}var jA=nt(it),BA=nt(_e),$A=nt(un);function l0(s){return ig(s)?D(Ia(s)):Yc(s)}function VA(s){return function(u){return s==null?n:gs(s,u)}}var HA=ir(),UA=ir(!0);function xg(){return[]}function Sg(){return!1}function WA(){return{}}function zA(){return""}function YA(){return!0}function GA(s,u){if(s=Yt(s),s<1||s>Le)return[];var w=Se,O=Gn(s,Se);u=Ct(u),s-=Se;for(var $=we(O,u);++w<s;)u(w);return $}function qA(s){return Ht(s)?it(s,Ia):zo(s)?[s]:Yr(Pb(gn(s)))}function XA(s){var u=++_u;return gn(s)+u}var KA=Ge(function(s,u){return s+u},0),ZA=eo("ceil"),JA=Ge(function(s,u){return s/u},1),QA=eo("floor");function eI(s){return s&&s.length?Vl(s,Po,Xs):n}function tI(s,u){return s&&s.length?Vl(s,Ct(u,2),Xs):n}function nI(s){return Tr(s,Po)}function rI(s,u){return Tr(s,Ct(u,2))}function iI(s){return s&&s.length?Vl(s,Po,Zi):n}function oI(s,u){return s&&s.length?Vl(s,Ct(u,2),Zi):n}var sI=Ge(function(s,u){return s*u},1),aI=eo("round"),lI=Ge(function(s,u){return s-u},0);function uI(s){return s&&s.length?be(s,Po):0}function cI(s,u){return s&&s.length?be(s,Ct(u,2)):0}return z.after=A_,z.ary=Bb,z.assign=bR,z.assignIn=Qb,z.assignInWith=dh,z.assignWith=wR,z.at=xR,z.before=$b,z.bind=cg,z.bindAll=kA,z.bindKey=Vb,z.castArray=W_,z.chain=Fb,z.chunk=QP,z.compact=eO,z.concat=tO,z.cond=DA,z.conforms=PA,z.constant=vg,z.countBy=u_,z.create=SR,z.curry=Hb,z.curryRight=Ub,z.debounce=Wb,z.defaults=TR,z.defaultsDeep=CR,z.defer=I_,z.delay=M_,z.difference=nO,z.differenceBy=rO,z.differenceWith=iO,z.drop=oO,z.dropRight=sO,z.dropRightWhile=aO,z.dropWhile=lO,z.fill=uO,z.filter=f_,z.flatMap=p_,z.flatMapDeep=g_,z.flatMapDepth=m_,z.flatten=Ab,z.flattenDeep=cO,z.flattenDepth=fO,z.flip=L_,z.flow=_A,z.flowRight=RA,z.fromPairs=dO,z.functions=RR,z.functionsIn=AR,z.groupBy=v_,z.initial=pO,z.intersection=gO,z.intersectionBy=mO,z.intersectionWith=vO,z.invert=MR,z.invertBy=LR,z.invokeMap=b_,z.iteratee=yg,z.keyBy=w_,z.keys=oi,z.keysIn=Do,z.map=sh,z.mapKeys=NR,z.mapValues=jR,z.matches=AA,z.matchesProperty=IA,z.memoize=lh,z.merge=BR,z.mergeWith=e0,z.method=MA,z.methodOf=LA,z.mixin=bg,z.negate=uh,z.nthArg=NA,z.omit=$R,z.omitBy=VR,z.once=F_,z.orderBy=x_,z.over=jA,z.overArgs=N_,z.overEvery=BA,z.overSome=$A,z.partial=fg,z.partialRight=zb,z.partition=S_,z.pick=HR,z.pickBy=t0,z.property=l0,z.propertyOf=VA,z.pull=xO,z.pullAll=Mb,z.pullAllBy=SO,z.pullAllWith=TO,z.pullAt=CO,z.range=HA,z.rangeRight=UA,z.rearg=j_,z.reject=E_,z.remove=EO,z.rest=B_,z.reverse=lg,z.sampleSize=D_,z.set=WR,z.setWith=zR,z.shuffle=P_,z.slice=kO,z.sortBy=R_,z.sortedUniq=IO,z.sortedUniqBy=MO,z.split=pA,z.spread=$_,z.tail=LO,z.take=FO,z.takeRight=NO,z.takeRightWhile=jO,z.takeWhile=BO,z.tap=e_,z.throttle=V_,z.thru=oh,z.toArray=Kb,z.toPairs=n0,z.toPairsIn=r0,z.toPath=qA,z.toPlainObject=Jb,z.transform=YR,z.unary=H_,z.union=$O,z.unionBy=VO,z.unionWith=HO,z.uniq=UO,z.uniqBy=WO,z.uniqWith=zO,z.unset=GR,z.unzip=ug,z.unzipWith=Lb,z.update=qR,z.updateWith=XR,z.values=af,z.valuesIn=KR,z.without=YO,z.words=s0,z.wrap=U_,z.xor=GO,z.xorBy=qO,z.xorWith=XO,z.zip=KO,z.zipObject=ZO,z.zipObjectDeep=JO,z.zipWith=QO,z.entries=n0,z.entriesIn=r0,z.extend=Qb,z.extendWith=dh,bg(z,z),z.add=KA,z.attempt=a0,z.camelCase=eA,z.capitalize=i0,z.ceil=ZA,z.clamp=ZR,z.clone=z_,z.cloneDeep=G_,z.cloneDeepWith=q_,z.cloneWith=Y_,z.conformsTo=X_,z.deburr=o0,z.defaultTo=OA,z.divide=JA,z.endsWith=tA,z.eq=ra,z.escape=nA,z.escapeRegExp=rA,z.every=c_,z.find=d_,z.findIndex=_b,z.findKey=ER,z.findLast=h_,z.findLastIndex=Rb,z.findLastKey=kR,z.floor=QA,z.forEach=Nb,z.forEachRight=jb,z.forIn=DR,z.forInRight=PR,z.forOwn=OR,z.forOwnRight=_R,z.get=pg,z.gt=K_,z.gte=Z_,z.has=IR,z.hasIn=gg,z.head=Ib,z.identity=Po,z.includes=y_,z.indexOf=hO,z.inRange=JR,z.invoke=FR,z.isArguments=sc,z.isArray=Ht,z.isArrayBuffer=J_,z.isArrayLike=ko,z.isArrayLikeObject=hr,z.isBoolean=Q_,z.isBuffer=ru,z.isDate=eR,z.isElement=tR,z.isEmpty=nR,z.isEqual=rR,z.isEqualWith=iR,z.isError=dg,z.isFinite=oR,z.isFunction=pl,z.isInteger=Yb,z.isLength=ch,z.isMap=Gb,z.isMatch=sR,z.isMatchWith=aR,z.isNaN=lR,z.isNative=uR,z.isNil=fR,z.isNull=cR,z.isNumber=qb,z.isObject=qn,z.isObjectLike=or,z.isPlainObject=Qf,z.isRegExp=hg,z.isSafeInteger=dR,z.isSet=Xb,z.isString=fh,z.isSymbol=zo,z.isTypedArray=sf,z.isUndefined=hR,z.isWeakMap=pR,z.isWeakSet=gR,z.join=yO,z.kebabCase=iA,z.last=xs,z.lastIndexOf=bO,z.lowerCase=oA,z.lowerFirst=sA,z.lt=mR,z.lte=vR,z.max=eI,z.maxBy=tI,z.mean=nI,z.meanBy=rI,z.min=iI,z.minBy=oI,z.stubArray=xg,z.stubFalse=Sg,z.stubObject=WA,z.stubString=zA,z.stubTrue=YA,z.multiply=sI,z.nth=wO,z.noConflict=FA,z.noop=wg,z.now=ah,z.pad=aA,z.padEnd=lA,z.padStart=uA,z.parseInt=cA,z.random=QR,z.reduce=T_,z.reduceRight=C_,z.repeat=fA,z.replace=dA,z.result=UR,z.round=aI,z.runInContext=Z,z.sample=k_,z.size=O_,z.snakeCase=hA,z.some=__,z.sortedIndex=DO,z.sortedIndexBy=PO,z.sortedIndexOf=OO,z.sortedLastIndex=_O,z.sortedLastIndexBy=RO,z.sortedLastIndexOf=AO,z.startCase=gA,z.startsWith=mA,z.subtract=lI,z.sum=uI,z.sumBy=cI,z.template=vA,z.times=GA,z.toFinite=gl,z.toInteger=Yt,z.toLength=Zb,z.toLower=yA,z.toNumber=Ss,z.toSafeInteger=yR,z.toString=gn,z.toUpper=bA,z.trim=wA,z.trimEnd=xA,z.trimStart=SA,z.truncate=TA,z.unescape=CA,z.uniqueId=XA,z.upperCase=EA,z.upperFirst=mg,z.each=Nb,z.eachRight=jb,z.first=Ib,bg(z,function(){var s={};return Ti(z,function(u,w){kt.call(z.prototype,w)||(s[w]=u)}),s}(),{chain:!1}),z.VERSION=r,te(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){z[s].placeholder=z}),te(["drop","take"],function(s,u){$t.prototype[s]=function(w){w=w===n?1:wn(Yt(w),0);var O=this.__filtered__&&!u?new $t(this):this.clone();return O.__filtered__?O.__takeCount__=Gn(w,O.__takeCount__):O.__views__.push({size:Gn(w,Se),type:s+(O.__dir__<0?"Right":"")}),O},$t.prototype[s+"Right"]=function(w){return this.reverse()[s](w).reverse()}}),te(["filter","map","takeWhile"],function(s,u){var w=u+1,O=w==Oe||w==ve;$t.prototype[s]=function($){var K=this.clone();return K.__iteratees__.push({iteratee:Ct($,3),type:w}),K.__filtered__=K.__filtered__||O,K}}),te(["head","last"],function(s,u){var w="take"+(u?"Right":"");$t.prototype[s]=function(){return this[w](1).value()[0]}}),te(["initial","tail"],function(s,u){var w="drop"+(u?"":"Right");$t.prototype[s]=function(){return this.__filtered__?new $t(this):this[w](1)}}),$t.prototype.compact=function(){return this.filter(Po)},$t.prototype.find=function(s){return this.filter(s).head()},$t.prototype.findLast=function(s){return this.reverse().find(s)},$t.prototype.invokeMap=Bt(function(s,u){return typeof s=="function"?new $t(this):this.map(function(w){return To(w,s,u)})}),$t.prototype.reject=function(s){return this.filter(uh(Ct(s)))},$t.prototype.slice=function(s,u){s=Yt(s);var w=this;return w.__filtered__&&(s>0||u<0)?new $t(w):(s<0?w=w.takeRight(-s):s&&(w=w.drop(s)),u!==n&&(u=Yt(u),w=u<0?w.dropRight(-u):w.take(u-s)),w)},$t.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},$t.prototype.toArray=function(){return this.take(Se)},Ti($t.prototype,function(s,u){var w=/^(?:filter|find|map|reject)|While$/.test(u),O=/^(?:head|last)$/.test(u),$=z[O?"take"+(u=="last"?"Right":""):u],K=O||/^find/.test(u);$&&(z.prototype[u]=function(){var oe=this.__wrapped__,he=O?[1]:arguments,ye=oe instanceof $t,He=he[0],Ue=ye||Ht(oe),Ze=function(Jt){var tn=$.apply(z,Tt([Jt],he));return O&&at?tn[0]:tn};Ue&&w&&typeof He=="function"&&He.length!=1&&(ye=Ue=!1);var at=this.__chain__,bt=!!this.__actions__.length,Dt=K&&!at,Xt=ye&&!bt;if(!K&&Ue){oe=Xt?oe:new $t(this);var Pt=s.apply(oe,he);return Pt.__actions__.push({func:oh,args:[Ze],thisArg:n}),new Cr(Pt,at)}return Dt&&Xt?s.apply(this,he):(Pt=this.thru(Ze),Dt?O?Pt.value()[0]:Pt.value():Pt)})}),te(["pop","push","shift","sort","splice","unshift"],function(s){var u=Yn[s],w=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",O=/^(?:pop|shift)$/.test(s);z.prototype[s]=function(){var $=arguments;if(O&&!this.__chain__){var K=this.value();return u.apply(Ht(K)?K:[],$)}return this[w](function(oe){return u.apply(Ht(oe)?oe:[],$)})}}),Ti($t.prototype,function(s,u){var w=z[u];if(w){var O=w.name+"";kt.call(Us,O)||(Us[O]=[]),Us[O].push({name:u,func:w})}}),Us[xe(n,R).name]=[{name:"wrapper",func:n}],$t.prototype.clone=Nl,$t.prototype.reverse=el,$t.prototype.value=jl,z.prototype.at=t_,z.prototype.chain=n_,z.prototype.commit=r_,z.prototype.next=i_,z.prototype.plant=s_,z.prototype.reverse=a_,z.prototype.toJSON=z.prototype.valueOf=z.prototype.value=l_,z.prototype.first=z.prototype.head,Xi&&(z.prototype[Xi]=o_),z},De=Ce();bi?((bi.exports=De)._=De,Mo._=De):ln._=De}).call(ki)})(wp,wp.exports);var KD=wp.exports;const P6=Eu(KD);var ZD={exports:{}};/*!
|
|
163
163
|
* jQuery JavaScript Library v3.7.1
|
|
164
164
|
* https://jquery.com/
|
|
165
165
|
*
|
|
@@ -168,10 +168,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
168
168
|
* https://jquery.org/license
|
|
169
169
|
*
|
|
170
170
|
* Date: 2023-08-28T13:37Z
|
|
171
|
-
*/(function(t){(function(e,n){t.exports=e.document?n(e,!0):function(r){if(!r.document)throw new Error("jQuery requires a window with a document");return n(r)}})(typeof window<"u"?window:ki,function(e,n){var r=[],i=Object.getPrototypeOf,o=r.slice,a=r.flat?function(h){return r.flat.call(h)}:function(h){return r.concat.apply([],h)},c=r.push,f=r.indexOf,p={},y=p.toString,g=p.hasOwnProperty,T=g.toString,E=T.call(Object),A={},I=function(b){return typeof b=="function"&&typeof b.nodeType!="number"&&typeof b.item!="function"},j=function(b){return b!=null&&b===b.window},R=e.document,U={type:!0,src:!0,nonce:!0,noModule:!0};function H(h,b,C){C=C||R;var P,L,N=C.createElement("script");if(N.text=h,b)for(P in U)L=b[P]||b.getAttribute&&b.getAttribute(P),L&&N.setAttribute(P,L);C.head.appendChild(N).parentNode.removeChild(N)}function ne(h){return h==null?h+"":typeof h=="object"||typeof h=="function"?p[y.call(h)]||"object":typeof h}var q="3.7.1",ie=/HTML$/i,x=function(h,b){return new x.fn.init(h,b)};x.fn=x.prototype={jquery:q,constructor:x,length:0,toArray:function(){return o.call(this)},get:function(h){return h==null?o.call(this):h<0?this[h+this.length]:this[h]},pushStack:function(h){var b=x.merge(this.constructor(),h);return b.prevObject=this,b},each:function(h){return x.each(this,h)},map:function(h){return this.pushStack(x.map(this,function(b,C){return h.call(b,C,b)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,function(h,b){return(b+1)%2}))},odd:function(){return this.pushStack(x.grep(this,function(h,b){return b%2}))},eq:function(h){var b=this.length,C=+h+(h<0?b:0);return this.pushStack(C>=0&&C<b?[this[C]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:r.sort,splice:r.splice},x.extend=x.fn.extend=function(){var h,b,C,P,L,N,V=arguments[0]||{},se=1,te=arguments.length,pe=!1;for(typeof V=="boolean"&&(pe=V,V=arguments[se]||{},se++),typeof V!="object"&&!I(V)&&(V={}),se===te&&(V=this,se--);se<te;se++)if((h=arguments[se])!=null)for(b in h)P=h[b],!(b==="__proto__"||V===P)&&(pe&&P&&(x.isPlainObject(P)||(L=Array.isArray(P)))?(C=V[b],L&&!Array.isArray(C)?N=[]:!L&&!x.isPlainObject(C)?N={}:N=C,L=!1,V[b]=x.extend(pe,N,P)):P!==void 0&&(V[b]=P));return V},x.extend({expando:"jQuery"+(q+Math.random()).replace(/\D/g,""),isReady:!0,error:function(h){throw new Error(h)},noop:function(){},isPlainObject:function(h){var b,C;return!h||y.call(h)!=="[object Object]"?!1:(b=i(h),b?(C=g.call(b,"constructor")&&b.constructor,typeof C=="function"&&T.call(C)===E):!0)},isEmptyObject:function(h){var b;for(b in h)return!1;return!0},globalEval:function(h,b,C){H(h,{nonce:b&&b.nonce},C)},each:function(h,b){var C,P=0;if(le(h))for(C=h.length;P<C&&b.call(h[P],P,h[P])!==!1;P++);else for(P in h)if(b.call(h[P],P,h[P])===!1)break;return h},text:function(h){var b,C="",P=0,L=h.nodeType;if(!L)for(;b=h[P++];)C+=x.text(b);return L===1||L===11?h.textContent:L===9?h.documentElement.textContent:L===3||L===4?h.nodeValue:C},makeArray:function(h,b){var C=b||[];return h!=null&&(le(Object(h))?x.merge(C,typeof h=="string"?[h]:h):c.call(C,h)),C},inArray:function(h,b,C){return b==null?-1:f.call(b,h,C)},isXMLDoc:function(h){var b=h&&h.namespaceURI,C=h&&(h.ownerDocument||h).documentElement;return!ie.test(b||C&&C.nodeName||"HTML")},merge:function(h,b){for(var C=+b.length,P=0,L=h.length;P<C;P++)h[L++]=b[P];return h.length=L,h},grep:function(h,b,C){for(var P,L=[],N=0,V=h.length,se=!C;N<V;N++)P=!b(h[N],N),P!==se&&L.push(h[N]);return L},map:function(h,b,C){var P,L,N=0,V=[];if(le(h))for(P=h.length;N<P;N++)L=b(h[N],N,C),L!=null&&V.push(L);else for(N in h)L=b(h[N],N,C),L!=null&&V.push(L);return a(V)},guid:1,support:A}),typeof Symbol=="function"&&(x.fn[Symbol.iterator]=r[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(h,b){p["[object "+b+"]"]=b.toLowerCase()});function le(h){var b=!!h&&"length"in h&&h.length,C=ne(h);return I(h)||j(h)?!1:C==="array"||b===0||typeof b=="number"&&b>0&&b-1 in h}function ae(h,b){return h.nodeName&&h.nodeName.toLowerCase()===b.toLowerCase()}var Ve=r.pop,tt=r.sort,Qe=r.splice,qe="[\\x20\\t\\r\\n\\f]",Oe=new RegExp("^"+qe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+qe+"+$","g");x.contains=function(h,b){var C=b&&b.parentNode;return h===C||!!(C&&C.nodeType===1&&(h.contains?h.contains(C):h.compareDocumentPosition&&h.compareDocumentPosition(C)&16))};var ue=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function ve(h,b){return b?h==="\0"?"�":h.slice(0,-1)+"\\"+h.charCodeAt(h.length-1).toString(16)+" ":"\\"+h}x.escapeSelector=function(h){return(h+"").replace(ue,ve)};var ke=R,Le=c;(function(){var h,b,C,P,L,N=Le,V,se,te,pe,_e,Ae=x.expando,Te=0,$e=0,it=An(),Tt=An(),Et=An(),Rn=An(),un=function(J,de){return J===de&&(L=!0),0},Fr="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Nr="(?:\\\\[\\da-fA-F]{1,6}"+qe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Lt="\\["+qe+"*("+Nr+")(?:"+qe+"*([*^$|!~]?=)"+qe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Nr+"))|)"+qe+"*\\]",jr=":("+Nr+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Lt+")*)|.*)\\)|)",jt=new RegExp(qe+"+","g"),Qt=new RegExp("^"+qe+"*,"+qe+"*"),ho=new RegExp("^"+qe+"*([>+~]|"+qe+")"+qe+"*"),po=new RegExp(qe+"|>"),Tr=new RegExp(jr),D=new RegExp("^"+Nr+"$"),M={ID:new RegExp("^#("+Nr+")"),CLASS:new RegExp("^\\.("+Nr+")"),TAG:new RegExp("^("+Nr+"|[*])"),ATTR:new RegExp("^"+Lt),PSEUDO:new RegExp("^"+jr),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+qe+"*(even|odd|(([+-]|)(\\d*)n|)"+qe+"*(?:([+-]|)"+qe+"*(\\d+)|))"+qe+"*\\)|)","i"),bool:new RegExp("^(?:"+Fr+")$","i"),needsContext:new RegExp("^"+qe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+qe+"*((?:-\\d)?\\d*)"+qe+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,be=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,we=/[+~]/,Me=new RegExp("\\\\[\\da-fA-F]{1,6}"+qe+"?|\\\\([^\\r\\n\\f])","g"),Ye=function(J,de){var Ce="0x"+J.slice(1)-65536;return de||(Ce<0?String.fromCharCode(Ce+65536):String.fromCharCode(Ce>>10|55296,Ce&1023|56320))},ht=function(){Ai()},_t=mo(function(J){return J.disabled===!0&&ae(J,"fieldset")},{dir:"parentNode",next:"legend"});function St(){try{return V.activeElement}catch{}}try{N.apply(r=o.call(ke.childNodes),ke.childNodes),r[ke.childNodes.length].nodeType}catch{N={apply:function(de,Ce){Le.apply(de,o.call(Ce))},call:function(de){Le.apply(de,o.call(arguments,1))}}}function vt(J,de,Ce,De){var Z,fe,ce,Ie,Fe,st,lt,rt=de&&de.ownerDocument,It=de?de.nodeType:9;if(Ce=Ce||[],typeof J!="string"||!J||It!==1&&It!==9&&It!==11)return Ce;if(!De&&(Ai(de),de=de||V,te)){if(It!==11&&(Fe=be.exec(J)))if(Z=Fe[1]){if(It===9)if(ce=de.getElementById(Z)){if(ce.id===Z)return N.call(Ce,ce),Ce}else return Ce;else if(rt&&(ce=rt.getElementById(Z))&&vt.contains(de,ce)&&ce.id===Z)return N.call(Ce,ce),Ce}else{if(Fe[2])return N.apply(Ce,de.getElementsByTagName(J)),Ce;if((Z=Fe[3])&&de.getElementsByClassName)return N.apply(Ce,de.getElementsByClassName(Z)),Ce}if(!Rn[J+" "]&&(!pe||!pe.test(J))){if(lt=J,rt=de,It===1&&(po.test(J)||ho.test(J))){for(rt=we.test(J)&&Ya(de.parentNode)||de,(rt!=de||!A.scope)&&((Ie=de.getAttribute("id"))?Ie=x.escapeSelector(Ie):de.setAttribute("id",Ie=Ae)),st=ss(J),fe=st.length;fe--;)st[fe]=(Ie?"#"+Ie:":scope")+" "+ti(st[fe]);lt=st.join(",")}try{return N.apply(Ce,rt.querySelectorAll(lt)),Ce}catch{Rn(J,!0)}finally{Ie===Ae&&de.removeAttribute("id")}}}return $s(J.replace(Oe,"$1"),de,Ce,De)}function An(){var J=[];function de(Ce,De){return J.push(Ce+" ")>b.cacheLength&&delete de[J.shift()],de[Ce+" "]=De}return de}function bn(J){return J[Ae]=!0,J}function $n(J){var de=V.createElement("fieldset");try{return!!J(de)}catch{return!1}finally{de.parentNode&&de.parentNode.removeChild(de),de=null}}function os(J){return function(de){return ae(de,"input")&&de.type===J}}function fa(J){return function(de){return(ae(de,"input")||ae(de,"button"))&&de.type===J}}function go(J){return function(de){return"form"in de?de.parentNode&&de.disabled===!1?"label"in de?"label"in de.parentNode?de.parentNode.disabled===J:de.disabled===J:de.isDisabled===J||de.isDisabled!==!J&&_t(de)===J:de.disabled===J:"label"in de?de.disabled===J:!1}}function ei(J){return bn(function(de){return de=+de,bn(function(Ce,De){for(var Z,fe=J([],Ce.length,de),ce=fe.length;ce--;)Ce[Z=fe[ce]]&&(Ce[Z]=!(De[Z]=Ce[Z]))})})}function Ya(J){return J&&typeof J.getElementsByTagName<"u"&&J}function Ai(J){var de,Ce=J?J.ownerDocument||J:ke;return Ce==V||Ce.nodeType!==9||!Ce.documentElement||(V=Ce,se=V.documentElement,te=!x.isXMLDoc(V),_e=se.matches||se.webkitMatchesSelector||se.msMatchesSelector,se.msMatchesSelector&&ke!=V&&(de=V.defaultView)&&de.top!==de&&de.addEventListener("unload",ht),A.getById=$n(function(De){return se.appendChild(De).id=x.expando,!V.getElementsByName||!V.getElementsByName(x.expando).length}),A.disconnectedMatch=$n(function(De){return _e.call(De,"*")}),A.scope=$n(function(){return V.querySelectorAll(":scope")}),A.cssHas=$n(function(){try{return V.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),A.getById?(b.filter.ID=function(De){var Z=De.replace(Me,Ye);return function(fe){return fe.getAttribute("id")===Z}},b.find.ID=function(De,Z){if(typeof Z.getElementById<"u"&&te){var fe=Z.getElementById(De);return fe?[fe]:[]}}):(b.filter.ID=function(De){var Z=De.replace(Me,Ye);return function(fe){var ce=typeof fe.getAttributeNode<"u"&&fe.getAttributeNode("id");return ce&&ce.value===Z}},b.find.ID=function(De,Z){if(typeof Z.getElementById<"u"&&te){var fe,ce,Ie,Fe=Z.getElementById(De);if(Fe){if(fe=Fe.getAttributeNode("id"),fe&&fe.value===De)return[Fe];for(Ie=Z.getElementsByName(De),ce=0;Fe=Ie[ce++];)if(fe=Fe.getAttributeNode("id"),fe&&fe.value===De)return[Fe]}return[]}}),b.find.TAG=function(De,Z){return typeof Z.getElementsByTagName<"u"?Z.getElementsByTagName(De):Z.querySelectorAll(De)},b.find.CLASS=function(De,Z){if(typeof Z.getElementsByClassName<"u"&&te)return Z.getElementsByClassName(De)},pe=[],$n(function(De){var Z;se.appendChild(De).innerHTML="<a id='"+Ae+"' href='' disabled='disabled'></a><select id='"+Ae+"-\r\\' disabled='disabled'><option selected=''></option></select>",De.querySelectorAll("[selected]").length||pe.push("\\["+qe+"*(?:value|"+Fr+")"),De.querySelectorAll("[id~="+Ae+"-]").length||pe.push("~="),De.querySelectorAll("a#"+Ae+"+*").length||pe.push(".#.+[+~]"),De.querySelectorAll(":checked").length||pe.push(":checked"),Z=V.createElement("input"),Z.setAttribute("type","hidden"),De.appendChild(Z).setAttribute("name","D"),se.appendChild(De).disabled=!0,De.querySelectorAll(":disabled").length!==2&&pe.push(":enabled",":disabled"),Z=V.createElement("input"),Z.setAttribute("name",""),De.appendChild(Z),De.querySelectorAll("[name='']").length||pe.push("\\["+qe+"*name"+qe+"*="+qe+`*(?:''|"")`)}),A.cssHas||pe.push(":has"),pe=pe.length&&new RegExp(pe.join("|")),un=function(De,Z){if(De===Z)return L=!0,0;var fe=!De.compareDocumentPosition-!Z.compareDocumentPosition;return fe||(fe=(De.ownerDocument||De)==(Z.ownerDocument||Z)?De.compareDocumentPosition(Z):1,fe&1||!A.sortDetached&&Z.compareDocumentPosition(De)===fe?De===V||De.ownerDocument==ke&&vt.contains(ke,De)?-1:Z===V||Z.ownerDocument==ke&&vt.contains(ke,Z)?1:P?f.call(P,De)-f.call(P,Z):0:fe&4?-1:1)}),V}vt.matches=function(J,de){return vt(J,null,null,de)},vt.matchesSelector=function(J,de){if(Ai(J),te&&!Rn[de+" "]&&(!pe||!pe.test(de)))try{var Ce=_e.call(J,de);if(Ce||A.disconnectedMatch||J.document&&J.document.nodeType!==11)return Ce}catch{Rn(de,!0)}return vt(de,V,null,[J]).length>0},vt.contains=function(J,de){return(J.ownerDocument||J)!=V&&Ai(J),x.contains(J,de)},vt.attr=function(J,de){(J.ownerDocument||J)!=V&&Ai(J);var Ce=b.attrHandle[de.toLowerCase()],De=Ce&&g.call(b.attrHandle,de.toLowerCase())?Ce(J,de,!te):void 0;return De!==void 0?De:J.getAttribute(de)},vt.error=function(J){throw new Error("Syntax error, unrecognized expression: "+J)},x.uniqueSort=function(J){var de,Ce=[],De=0,Z=0;if(L=!A.sortStable,P=!A.sortStable&&o.call(J,0),tt.call(J,un),L){for(;de=J[Z++];)de===J[Z]&&(De=Ce.push(Z));for(;De--;)Qe.call(J,Ce[De],1)}return P=null,J},x.fn.uniqueSort=function(){return this.pushStack(x.uniqueSort(o.apply(this)))},b=x.expr={cacheLength:50,createPseudo:bn,match:M,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(J){return J[1]=J[1].replace(Me,Ye),J[3]=(J[3]||J[4]||J[5]||"").replace(Me,Ye),J[2]==="~="&&(J[3]=" "+J[3]+" "),J.slice(0,4)},CHILD:function(J){return J[1]=J[1].toLowerCase(),J[1].slice(0,3)==="nth"?(J[3]||vt.error(J[0]),J[4]=+(J[4]?J[5]+(J[6]||1):2*(J[3]==="even"||J[3]==="odd")),J[5]=+(J[7]+J[8]||J[3]==="odd")):J[3]&&vt.error(J[0]),J},PSEUDO:function(J){var de,Ce=!J[6]&&J[2];return M.CHILD.test(J[0])?null:(J[3]?J[2]=J[4]||J[5]||"":Ce&&Tr.test(Ce)&&(de=ss(Ce,!0))&&(de=Ce.indexOf(")",Ce.length-de)-Ce.length)&&(J[0]=J[0].slice(0,de),J[2]=Ce.slice(0,de)),J.slice(0,3))}},filter:{TAG:function(J){var de=J.replace(Me,Ye).toLowerCase();return J==="*"?function(){return!0}:function(Ce){return ae(Ce,de)}},CLASS:function(J){var de=it[J+" "];return de||(de=new RegExp("(^|"+qe+")"+J+"("+qe+"|$)"))&&it(J,function(Ce){return de.test(typeof Ce.className=="string"&&Ce.className||typeof Ce.getAttribute<"u"&&Ce.getAttribute("class")||"")})},ATTR:function(J,de,Ce){return function(De){var Z=vt.attr(De,J);return Z==null?de==="!=":de?(Z+="",de==="="?Z===Ce:de==="!="?Z!==Ce:de==="^="?Ce&&Z.indexOf(Ce)===0:de==="*="?Ce&&Z.indexOf(Ce)>-1:de==="$="?Ce&&Z.slice(-Ce.length)===Ce:de==="~="?(" "+Z.replace(jt," ")+" ").indexOf(Ce)>-1:de==="|="?Z===Ce||Z.slice(0,Ce.length+1)===Ce+"-":!1):!0}},CHILD:function(J,de,Ce,De,Z){var fe=J.slice(0,3)!=="nth",ce=J.slice(-4)!=="last",Ie=de==="of-type";return De===1&&Z===0?function(Fe){return!!Fe.parentNode}:function(Fe,st,lt){var rt,It,wt,Vt,Yn,nr=fe!==ce?"nextSibling":"previousSibling",In=Fe.parentNode,zt=Ie&&Fe.nodeName.toLowerCase(),Br=!lt&&!Ie,kt=!1;if(In){if(fe){for(;nr;){for(wt=Fe;wt=wt[nr];)if(Ie?ae(wt,zt):wt.nodeType===1)return!1;Yn=nr=J==="only"&&!Yn&&"nextSibling"}return!0}if(Yn=[ce?In.firstChild:In.lastChild],ce&&Br){for(It=In[Ae]||(In[Ae]={}),rt=It[J]||[],Vt=rt[0]===Te&&rt[1],kt=Vt&&rt[2],wt=Vt&&In.childNodes[Vt];wt=++Vt&&wt&&wt[nr]||(kt=Vt=0)||Yn.pop();)if(wt.nodeType===1&&++kt&&wt===Fe){It[J]=[Te,Vt,kt];break}}else if(Br&&(It=Fe[Ae]||(Fe[Ae]={}),rt=It[J]||[],Vt=rt[0]===Te&&rt[1],kt=Vt),kt===!1)for(;(wt=++Vt&&wt&&wt[nr]||(kt=Vt=0)||Yn.pop())&&!((Ie?ae(wt,zt):wt.nodeType===1)&&++kt&&(Br&&(It=wt[Ae]||(wt[Ae]={}),It[J]=[Te,kt]),wt===Fe)););return kt-=Z,kt===De||kt%De===0&&kt/De>=0}}},PSEUDO:function(J,de){var Ce,De=b.pseudos[J]||b.setFilters[J.toLowerCase()]||vt.error("unsupported pseudo: "+J);return De[Ae]?De(de):De.length>1?(Ce=[J,J,"",de],b.setFilters.hasOwnProperty(J.toLowerCase())?bn(function(Z,fe){for(var ce,Ie=De(Z,de),Fe=Ie.length;Fe--;)ce=f.call(Z,Ie[Fe]),Z[ce]=!(fe[ce]=Ie[Fe])}):function(Z){return De(Z,0,Ce)}):De}},pseudos:{not:bn(function(J){var de=[],Ce=[],De=pa(J.replace(Oe,"$1"));return De[Ae]?bn(function(Z,fe,ce,Ie){for(var Fe,st=De(Z,null,Ie,[]),lt=Z.length;lt--;)(Fe=st[lt])&&(Z[lt]=!(fe[lt]=Fe))}):function(Z,fe,ce){return de[0]=Z,De(de,null,ce,Ce),de[0]=null,!Ce.pop()}}),has:bn(function(J){return function(de){return vt(J,de).length>0}}),contains:bn(function(J){return J=J.replace(Me,Ye),function(de){return(de.textContent||x.text(de)).indexOf(J)>-1}}),lang:bn(function(J){return D.test(J||"")||vt.error("unsupported lang: "+J),J=J.replace(Me,Ye).toLowerCase(),function(de){var Ce;do if(Ce=te?de.lang:de.getAttribute("xml:lang")||de.getAttribute("lang"))return Ce=Ce.toLowerCase(),Ce===J||Ce.indexOf(J+"-")===0;while((de=de.parentNode)&&de.nodeType===1);return!1}}),target:function(J){var de=e.location&&e.location.hash;return de&&de.slice(1)===J.id},root:function(J){return J===se},focus:function(J){return J===St()&&V.hasFocus()&&!!(J.type||J.href||~J.tabIndex)},enabled:go(!1),disabled:go(!0),checked:function(J){return ae(J,"input")&&!!J.checked||ae(J,"option")&&!!J.selected},selected:function(J){return J.parentNode&&J.parentNode.selectedIndex,J.selected===!0},empty:function(J){for(J=J.firstChild;J;J=J.nextSibling)if(J.nodeType<6)return!1;return!0},parent:function(J){return!b.pseudos.empty(J)},header:function(J){return Q.test(J.nodeName)},input:function(J){return W.test(J.nodeName)},button:function(J){return ae(J,"input")&&J.type==="button"||ae(J,"button")},text:function(J){var de;return ae(J,"input")&&J.type==="text"&&((de=J.getAttribute("type"))==null||de.toLowerCase()==="text")},first:ei(function(){return[0]}),last:ei(function(J,de){return[de-1]}),eq:ei(function(J,de,Ce){return[Ce<0?Ce+de:Ce]}),even:ei(function(J,de){for(var Ce=0;Ce<de;Ce+=2)J.push(Ce);return J}),odd:ei(function(J,de){for(var Ce=1;Ce<de;Ce+=2)J.push(Ce);return J}),lt:ei(function(J,de,Ce){var De;for(Ce<0?De=Ce+de:Ce>de?De=de:De=Ce;--De>=0;)J.push(De);return J}),gt:ei(function(J,de,Ce){for(var De=Ce<0?Ce+de:Ce;++De<de;)J.push(De);return J})}},b.pseudos.nth=b.pseudos.eq;for(h in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[h]=os(h);for(h in{submit:!0,reset:!0})b.pseudos[h]=fa(h);function da(){}da.prototype=b.filters=b.pseudos,b.setFilters=new da;function ss(J,de){var Ce,De,Z,fe,ce,Ie,Fe,st=Tt[J+" "];if(st)return de?0:st.slice(0);for(ce=J,Ie=[],Fe=b.preFilter;ce;){(!Ce||(De=Qt.exec(ce)))&&(De&&(ce=ce.slice(De[0].length)||ce),Ie.push(Z=[])),Ce=!1,(De=ho.exec(ce))&&(Ce=De.shift(),Z.push({value:Ce,type:De[0].replace(Oe," ")}),ce=ce.slice(Ce.length));for(fe in b.filter)(De=M[fe].exec(ce))&&(!Fe[fe]||(De=Fe[fe](De)))&&(Ce=De.shift(),Z.push({value:Ce,type:fe,matches:De}),ce=ce.slice(Ce.length));if(!Ce)break}return de?ce.length:ce?vt.error(J):Tt(J,Ie).slice(0)}function ti(J){for(var de=0,Ce=J.length,De="";de<Ce;de++)De+=J[de].value;return De}function mo(J,de,Ce){var De=de.dir,Z=de.next,fe=Z||De,ce=Ce&&fe==="parentNode",Ie=$e++;return de.first?function(Fe,st,lt){for(;Fe=Fe[De];)if(Fe.nodeType===1||ce)return J(Fe,st,lt);return!1}:function(Fe,st,lt){var rt,It,wt=[Te,Ie];if(lt){for(;Fe=Fe[De];)if((Fe.nodeType===1||ce)&&J(Fe,st,lt))return!0}else for(;Fe=Fe[De];)if(Fe.nodeType===1||ce)if(It=Fe[Ae]||(Fe[Ae]={}),Z&&ae(Fe,Z))Fe=Fe[De]||Fe;else{if((rt=It[fe])&&rt[0]===Te&&rt[1]===Ie)return wt[2]=rt[2];if(It[fe]=wt,wt[2]=J(Fe,st,lt))return!0}return!1}}function Ga(J){return J.length>1?function(de,Ce,De){for(var Z=J.length;Z--;)if(!J[Z](de,Ce,De))return!1;return!0}:J[0]}function Ou(J,de,Ce){for(var De=0,Z=de.length;De<Z;De++)vt(J,de[De],Ce);return Ce}function ha(J,de,Ce,De,Z){for(var fe,ce=[],Ie=0,Fe=J.length,st=de!=null;Ie<Fe;Ie++)(fe=J[Ie])&&(!Ce||Ce(fe,De,Z))&&(ce.push(fe),st&&de.push(Ie));return ce}function vo(J,de,Ce,De,Z,fe){return De&&!De[Ae]&&(De=vo(De)),Z&&!Z[Ae]&&(Z=vo(Z,fe)),bn(function(ce,Ie,Fe,st){var lt,rt,It,wt,Vt=[],Yn=[],nr=Ie.length,In=ce||Ou(de||"*",Fe.nodeType?[Fe]:Fe,[]),zt=J&&(ce||!de)?ha(In,Vt,J,Fe,st):In;if(Ce?(wt=Z||(ce?J:nr||De)?[]:Ie,Ce(zt,wt,Fe,st)):wt=zt,De)for(lt=ha(wt,Yn),De(lt,[],Fe,st),rt=lt.length;rt--;)(It=lt[rt])&&(wt[Yn[rt]]=!(zt[Yn[rt]]=It));if(ce){if(Z||J){if(Z){for(lt=[],rt=wt.length;rt--;)(It=wt[rt])&<.push(zt[rt]=It);Z(null,wt=[],lt,st)}for(rt=wt.length;rt--;)(It=wt[rt])&&(lt=Z?f.call(ce,It):Vt[rt])>-1&&(ce[lt]=!(Ie[lt]=It))}}else wt=ha(wt===Ie?wt.splice(nr,wt.length):wt),Z?Z(null,Ie,wt,st):N.apply(Ie,wt)})}function cn(J){for(var de,Ce,De,Z=J.length,fe=b.relative[J[0].type],ce=fe||b.relative[" "],Ie=fe?1:0,Fe=mo(function(rt){return rt===de},ce,!0),st=mo(function(rt){return f.call(de,rt)>-1},ce,!0),lt=[function(rt,It,wt){var Vt=!fe&&(wt||It!=C)||((de=It).nodeType?Fe(rt,It,wt):st(rt,It,wt));return de=null,Vt}];Ie<Z;Ie++)if(Ce=b.relative[J[Ie].type])lt=[mo(Ga(lt),Ce)];else{if(Ce=b.filter[J[Ie].type].apply(null,J[Ie].matches),Ce[Ae]){for(De=++Ie;De<Z&&!b.relative[J[De].type];De++);return vo(Ie>1&&Ga(lt),Ie>1&&ti(J.slice(0,Ie-1).concat({value:J[Ie-2].type===" "?"*":""})).replace(Oe,"$1"),Ce,Ie<De&&cn(J.slice(Ie,De)),De<Z&&cn(J=J.slice(De)),De<Z&&ti(J))}lt.push(Ce)}return Ga(lt)}function Al(J,de){var Ce=de.length>0,De=J.length>0,Z=function(fe,ce,Ie,Fe,st){var lt,rt,It,wt=0,Vt="0",Yn=fe&&[],nr=[],In=C,zt=fe||De&&b.find.TAG("*",st),Br=Te+=In==null?1:Math.random()||.1,kt=zt.length;for(st&&(C=ce==V||ce||st);Vt!==kt&&(lt=zt[Vt])!=null;Vt++){if(De&<){for(rt=0,!ce&<.ownerDocument!=V&&(Ai(lt),Ie=!te);It=J[rt++];)if(It(lt,ce||V,Ie)){N.call(Fe,lt);break}st&&(Te=Br)}Ce&&((lt=!It&<)&&wt--,fe&&Yn.push(lt))}if(wt+=Vt,Ce&&Vt!==wt){for(rt=0;It=de[rt++];)It(Yn,nr,ce,Ie);if(fe){if(wt>0)for(;Vt--;)Yn[Vt]||nr[Vt]||(nr[Vt]=Ve.call(Fe));nr=ha(nr)}N.apply(Fe,nr),st&&!fe&&nr.length>0&&wt+de.length>1&&x.uniqueSort(Fe)}return st&&(Te=Br,C=In),Yn};return Ce?bn(Z):Z}function pa(J,de){var Ce,De=[],Z=[],fe=Et[J+" "];if(!fe){for(de||(de=ss(J)),Ce=de.length;Ce--;)fe=cn(de[Ce]),fe[Ae]?De.push(fe):Z.push(fe);fe=Et(J,Al(Z,De)),fe.selector=J}return fe}function $s(J,de,Ce,De){var Z,fe,ce,Ie,Fe,st=typeof J=="function"&&J,lt=!De&&ss(J=st.selector||J);if(Ce=Ce||[],lt.length===1){if(fe=lt[0]=lt[0].slice(0),fe.length>2&&(ce=fe[0]).type==="ID"&&de.nodeType===9&&te&&b.relative[fe[1].type]){if(de=(b.find.ID(ce.matches[0].replace(Me,Ye),de)||[])[0],de)st&&(de=de.parentNode);else return Ce;J=J.slice(fe.shift().value.length)}for(Z=M.needsContext.test(J)?0:fe.length;Z--&&(ce=fe[Z],!b.relative[Ie=ce.type]);)if((Fe=b.find[Ie])&&(De=Fe(ce.matches[0].replace(Me,Ye),we.test(fe[0].type)&&Ya(de.parentNode)||de))){if(fe.splice(Z,1),J=De.length&&ti(fe),!J)return N.apply(Ce,De),Ce;break}}return(st||pa(J,lt))(De,de,!te,Ce,!de||we.test(J)&&Ya(de.parentNode)||de),Ce}A.sortStable=Ae.split("").sort(un).join("")===Ae,Ai(),A.sortDetached=$n(function(J){return J.compareDocumentPosition(V.createElement("fieldset"))&1}),x.find=vt,x.expr[":"]=x.expr.pseudos,x.unique=x.uniqueSort,vt.compile=pa,vt.select=$s,vt.setDocument=Ai,vt.tokenize=ss,vt.escape=x.escapeSelector,vt.getText=x.text,vt.isXML=x.isXMLDoc,vt.selectors=x.expr,vt.support=x.support,vt.uniqueSort=x.uniqueSort})();var et=function(h,b,C){for(var P=[],L=C!==void 0;(h=h[b])&&h.nodeType!==9;)if(h.nodeType===1){if(L&&x(h).is(C))break;P.push(h)}return P},ge=function(h,b){for(var C=[];h;h=h.nextSibling)h.nodeType===1&&h!==b&&C.push(h);return C},Se=x.expr.match.needsContext,Ne=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function We(h,b,C){return I(b)?x.grep(h,function(P,L){return!!b.call(P,L,P)!==C}):b.nodeType?x.grep(h,function(P){return P===b!==C}):typeof b!="string"?x.grep(h,function(P){return f.call(b,P)>-1!==C}):x.filter(b,h,C)}x.filter=function(h,b,C){var P=b[0];return C&&(h=":not("+h+")"),b.length===1&&P.nodeType===1?x.find.matchesSelector(P,h)?[P]:[]:x.find.matches(h,x.grep(b,function(L){return L.nodeType===1}))},x.fn.extend({find:function(h){var b,C,P=this.length,L=this;if(typeof h!="string")return this.pushStack(x(h).filter(function(){for(b=0;b<P;b++)if(x.contains(L[b],this))return!0}));for(C=this.pushStack([]),b=0;b<P;b++)x.find(h,L[b],C);return P>1?x.uniqueSort(C):C},filter:function(h){return this.pushStack(We(this,h||[],!1))},not:function(h){return this.pushStack(We(this,h||[],!0))},is:function(h){return!!We(this,typeof h=="string"&&Se.test(h)?x(h):h||[],!1).length}});var Be,ze=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ke=x.fn.init=function(h,b,C){var P,L;if(!h)return this;if(C=C||Be,typeof h=="string")if(h[0]==="<"&&h[h.length-1]===">"&&h.length>=3?P=[null,h,null]:P=ze.exec(h),P&&(P[1]||!b))if(P[1]){if(b=b instanceof x?b[0]:b,x.merge(this,x.parseHTML(P[1],b&&b.nodeType?b.ownerDocument||b:R,!0)),Ne.test(P[1])&&x.isPlainObject(b))for(P in b)I(this[P])?this[P](b[P]):this.attr(P,b[P]);return this}else return L=R.getElementById(P[2]),L&&(this[0]=L,this.length=1),this;else return!b||b.jquery?(b||C).find(h):this.constructor(b).find(h);else{if(h.nodeType)return this[0]=h,this.length=1,this;if(I(h))return C.ready!==void 0?C.ready(h):h(x)}return x.makeArray(h,this)};Ke.prototype=x.fn,Be=x(R);var ot=/^(?:parents|prev(?:Until|All))/,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({has:function(h){var b=x(h,this),C=b.length;return this.filter(function(){for(var P=0;P<C;P++)if(x.contains(this,b[P]))return!0})},closest:function(h,b){var C,P=0,L=this.length,N=[],V=typeof h!="string"&&x(h);if(!Se.test(h)){for(;P<L;P++)for(C=this[P];C&&C!==b;C=C.parentNode)if(C.nodeType<11&&(V?V.index(C)>-1:C.nodeType===1&&x.find.matchesSelector(C,h))){N.push(C);break}}return this.pushStack(N.length>1?x.uniqueSort(N):N)},index:function(h){return h?typeof h=="string"?f.call(x(h),this[0]):f.call(this,h.jquery?h[0]:h):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(h,b){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(h,b))))},addBack:function(h){return this.add(h==null?this.prevObject:this.prevObject.filter(h))}});function pt(h,b){for(;(h=h[b])&&h.nodeType!==1;);return h}x.each({parent:function(h){var b=h.parentNode;return b&&b.nodeType!==11?b:null},parents:function(h){return et(h,"parentNode")},parentsUntil:function(h,b,C){return et(h,"parentNode",C)},next:function(h){return pt(h,"nextSibling")},prev:function(h){return pt(h,"previousSibling")},nextAll:function(h){return et(h,"nextSibling")},prevAll:function(h){return et(h,"previousSibling")},nextUntil:function(h,b,C){return et(h,"nextSibling",C)},prevUntil:function(h,b,C){return et(h,"previousSibling",C)},siblings:function(h){return ge((h.parentNode||{}).firstChild,h)},children:function(h){return ge(h.firstChild)},contents:function(h){return h.contentDocument!=null&&i(h.contentDocument)?h.contentDocument:(ae(h,"template")&&(h=h.content||h),x.merge([],h.childNodes))}},function(h,b){x.fn[h]=function(C,P){var L=x.map(this,b,C);return h.slice(-5)!=="Until"&&(P=C),P&&typeof P=="string"&&(L=x.filter(P,L)),this.length>1&&(ct[h]||x.uniqueSort(L),ot.test(h)&&L.reverse()),this.pushStack(L)}});var ft=/[^\x20\t\r\n\f]+/g;function yt(h){var b={};return x.each(h.match(ft)||[],function(C,P){b[P]=!0}),b}x.Callbacks=function(h){h=typeof h=="string"?yt(h):x.extend({},h);var b,C,P,L,N=[],V=[],se=-1,te=function(){for(L=L||h.once,P=b=!0;V.length;se=-1)for(C=V.shift();++se<N.length;)N[se].apply(C[0],C[1])===!1&&h.stopOnFalse&&(se=N.length,C=!1);h.memory||(C=!1),b=!1,L&&(C?N=[]:N="")},pe={add:function(){return N&&(C&&!b&&(se=N.length-1,V.push(C)),function _e(Ae){x.each(Ae,function(Te,$e){I($e)?(!h.unique||!pe.has($e))&&N.push($e):$e&&$e.length&&ne($e)!=="string"&&_e($e)})}(arguments),C&&!b&&te()),this},remove:function(){return x.each(arguments,function(_e,Ae){for(var Te;(Te=x.inArray(Ae,N,Te))>-1;)N.splice(Te,1),Te<=se&&se--}),this},has:function(_e){return _e?x.inArray(_e,N)>-1:N.length>0},empty:function(){return N&&(N=[]),this},disable:function(){return L=V=[],N=C="",this},disabled:function(){return!N},lock:function(){return L=V=[],!C&&!b&&(N=C=""),this},locked:function(){return!!L},fireWith:function(_e,Ae){return L||(Ae=Ae||[],Ae=[_e,Ae.slice?Ae.slice():Ae],V.push(Ae),b||te()),this},fire:function(){return pe.fireWith(this,arguments),this},fired:function(){return!!P}};return pe};function Je(h){return h}function At(h){throw h}function Mt(h,b,C,P){var L;try{h&&I(L=h.promise)?L.call(h).done(b).fail(C):h&&I(L=h.then)?L.call(h,b,C):b.apply(void 0,[h].slice(P))}catch(N){C.apply(void 0,[N])}}x.extend({Deferred:function(h){var b=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],C="pending",P={state:function(){return C},always:function(){return L.done(arguments).fail(arguments),this},catch:function(N){return P.then(null,N)},pipe:function(){var N=arguments;return x.Deferred(function(V){x.each(b,function(se,te){var pe=I(N[te[4]])&&N[te[4]];L[te[1]](function(){var _e=pe&&pe.apply(this,arguments);_e&&I(_e.promise)?_e.promise().progress(V.notify).done(V.resolve).fail(V.reject):V[te[0]+"With"](this,pe?[_e]:arguments)})}),N=null}).promise()},then:function(N,V,se){var te=0;function pe(_e,Ae,Te,$e){return function(){var it=this,Tt=arguments,Et=function(){var un,Fr;if(!(_e<te)){if(un=Te.apply(it,Tt),un===Ae.promise())throw new TypeError("Thenable self-resolution");Fr=un&&(typeof un=="object"||typeof un=="function")&&un.then,I(Fr)?$e?Fr.call(un,pe(te,Ae,Je,$e),pe(te,Ae,At,$e)):(te++,Fr.call(un,pe(te,Ae,Je,$e),pe(te,Ae,At,$e),pe(te,Ae,Je,Ae.notifyWith))):(Te!==Je&&(it=void 0,Tt=[un]),($e||Ae.resolveWith)(it,Tt))}},Rn=$e?Et:function(){try{Et()}catch(un){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(un,Rn.error),_e+1>=te&&(Te!==At&&(it=void 0,Tt=[un]),Ae.rejectWith(it,Tt))}};_e?Rn():(x.Deferred.getErrorHook?Rn.error=x.Deferred.getErrorHook():x.Deferred.getStackHook&&(Rn.error=x.Deferred.getStackHook()),e.setTimeout(Rn))}}return x.Deferred(function(_e){b[0][3].add(pe(0,_e,I(se)?se:Je,_e.notifyWith)),b[1][3].add(pe(0,_e,I(N)?N:Je)),b[2][3].add(pe(0,_e,I(V)?V:At))}).promise()},promise:function(N){return N!=null?x.extend(N,P):P}},L={};return x.each(b,function(N,V){var se=V[2],te=V[5];P[V[1]]=se.add,te&&se.add(function(){C=te},b[3-N][2].disable,b[3-N][3].disable,b[0][2].lock,b[0][3].lock),se.add(V[3].fire),L[V[0]]=function(){return L[V[0]+"With"](this===L?void 0:this,arguments),this},L[V[0]+"With"]=se.fireWith}),P.promise(L),h&&h.call(L,L),L},when:function(h){var b=arguments.length,C=b,P=Array(C),L=o.call(arguments),N=x.Deferred(),V=function(se){return function(te){P[se]=this,L[se]=arguments.length>1?o.call(arguments):te,--b||N.resolveWith(P,L)}};if(b<=1&&(Mt(h,N.done(V(C)).resolve,N.reject,!b),N.state()==="pending"||I(L[C]&&L[C].then)))return N.then();for(;C--;)Mt(L[C],V(C),N.reject);return N.promise()}});var Vn=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(h,b){e.console&&e.console.warn&&h&&Vn.test(h.name)&&e.console.warn("jQuery.Deferred exception: "+h.message,h.stack,b)},x.readyException=function(h){e.setTimeout(function(){throw h})};var vr=x.Deferred();x.fn.ready=function(h){return vr.then(h).catch(function(b){x.readyException(b)}),this},x.extend({isReady:!1,readyWait:1,ready:function(h){(h===!0?--x.readyWait:x.isReady)||(x.isReady=!0,!(h!==!0&&--x.readyWait>0)&&vr.resolveWith(R,[x]))}}),x.ready.then=vr.then;function Hn(){R.removeEventListener("DOMContentLoaded",Hn),e.removeEventListener("load",Hn),x.ready()}R.readyState==="complete"||R.readyState!=="loading"&&!R.documentElement.doScroll?e.setTimeout(x.ready):(R.addEventListener("DOMContentLoaded",Hn),e.addEventListener("load",Hn));var Sn=function(h,b,C,P,L,N,V){var se=0,te=h.length,pe=C==null;if(ne(C)==="object"){L=!0;for(se in C)Sn(h,b,se,C[se],!0,N,V)}else if(P!==void 0&&(L=!0,I(P)||(V=!0),pe&&(V?(b.call(h,P),b=null):(pe=b,b=function(_e,Ae,Te){return pe.call(x(_e),Te)})),b))for(;se<te;se++)b(h[se],C,V?P:P.call(h[se],se,b(h[se],C)));return L?h:pe?b.call(h):te?b(h[0],C):N},$i=/^-ms-/,Dr=/-([a-z])/g;function Jn(h,b){return b.toUpperCase()}function sn(h){return h.replace($i,"ms-").replace(Dr,Jn)}var fn=function(h){return h.nodeType===1||h.nodeType===9||!+h.nodeType};function dn(){this.expando=x.expando+dn.uid++}dn.uid=1,dn.prototype={cache:function(h){var b=h[this.expando];return b||(b={},fn(h)&&(h.nodeType?h[this.expando]=b:Object.defineProperty(h,this.expando,{value:b,configurable:!0}))),b},set:function(h,b,C){var P,L=this.cache(h);if(typeof b=="string")L[sn(b)]=C;else for(P in b)L[sn(P)]=b[P];return L},get:function(h,b){return b===void 0?this.cache(h):h[this.expando]&&h[this.expando][sn(b)]},access:function(h,b,C){return b===void 0||b&&typeof b=="string"&&C===void 0?this.get(h,b):(this.set(h,b,C),C!==void 0?C:b)},remove:function(h,b){var C,P=h[this.expando];if(P!==void 0){if(b!==void 0)for(Array.isArray(b)?b=b.map(sn):(b=sn(b),b=b in P?[b]:b.match(ft)||[]),C=b.length;C--;)delete P[b[C]];(b===void 0||x.isEmptyObject(P))&&(h.nodeType?h[this.expando]=void 0:delete h[this.expando])}},hasData:function(h){var b=h[this.expando];return b!==void 0&&!x.isEmptyObject(b)}};var ut=new dn,Dn=new dn,si=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,on=/[A-Z]/g;function Vi(h){return h==="true"?!0:h==="false"?!1:h==="null"?null:h===+h+""?+h:si.test(h)?JSON.parse(h):h}function Hi(h,b,C){var P;if(C===void 0&&h.nodeType===1)if(P="data-"+b.replace(on,"-$&").toLowerCase(),C=h.getAttribute(P),typeof C=="string"){try{C=Vi(C)}catch{}Dn.set(h,b,C)}else C=void 0;return C}x.extend({hasData:function(h){return Dn.hasData(h)||ut.hasData(h)},data:function(h,b,C){return Dn.access(h,b,C)},removeData:function(h,b){Dn.remove(h,b)},_data:function(h,b,C){return ut.access(h,b,C)},_removeData:function(h,b){ut.remove(h,b)}}),x.fn.extend({data:function(h,b){var C,P,L,N=this[0],V=N&&N.attributes;if(h===void 0){if(this.length&&(L=Dn.get(N),N.nodeType===1&&!ut.get(N,"hasDataAttrs"))){for(C=V.length;C--;)V[C]&&(P=V[C].name,P.indexOf("data-")===0&&(P=sn(P.slice(5)),Hi(N,P,L[P])));ut.set(N,"hasDataAttrs",!0)}return L}return typeof h=="object"?this.each(function(){Dn.set(this,h)}):Sn(this,function(se){var te;if(N&&se===void 0)return te=Dn.get(N,h),te!==void 0||(te=Hi(N,h),te!==void 0)?te:void 0;this.each(function(){Dn.set(this,h,se)})},null,b,arguments.length>1,null,!0)},removeData:function(h){return this.each(function(){Dn.remove(this,h)})}}),x.extend({queue:function(h,b,C){var P;if(h)return b=(b||"fx")+"queue",P=ut.get(h,b),C&&(!P||Array.isArray(C)?P=ut.access(h,b,x.makeArray(C)):P.push(C)),P||[]},dequeue:function(h,b){b=b||"fx";var C=x.queue(h,b),P=C.length,L=C.shift(),N=x._queueHooks(h,b),V=function(){x.dequeue(h,b)};L==="inprogress"&&(L=C.shift(),P--),L&&(b==="fx"&&C.unshift("inprogress"),delete N.stop,L.call(h,V,N)),!P&&N&&N.empty.fire()},_queueHooks:function(h,b){var C=b+"queueHooks";return ut.get(h,C)||ut.access(h,C,{empty:x.Callbacks("once memory").add(function(){ut.remove(h,[b+"queue",C])})})}}),x.fn.extend({queue:function(h,b){var C=2;return typeof h!="string"&&(b=h,h="fx",C--),arguments.length<C?x.queue(this[0],h):b===void 0?this:this.each(function(){var P=x.queue(this,h,b);x._queueHooks(this,h),h==="fx"&&P[0]!=="inprogress"&&x.dequeue(this,h)})},dequeue:function(h){return this.each(function(){x.dequeue(this,h)})},clearQueue:function(h){return this.queue(h||"fx",[])},promise:function(h,b){var C,P=1,L=x.Deferred(),N=this,V=this.length,se=function(){--P||L.resolveWith(N,[N])};for(typeof h!="string"&&(b=h,h=void 0),h=h||"fx";V--;)C=ut.get(N[V],h+"queueHooks"),C&&C.empty&&(P++,C.empty.add(se));return se(),L.promise(b)}});var Ui=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Pr=new RegExp("^(?:([+-])=|)("+Ui+")([a-z%]*)$","i"),Nn=["Top","Right","Bottom","Left"],Or=R.documentElement,yr=function(h){return x.contains(h.ownerDocument,h)},Yr={composed:!0};Or.getRootNode&&(yr=function(h){return x.contains(h.ownerDocument,h)||h.getRootNode(Yr)===h.ownerDocument});var Gr=function(h,b){return h=b||h,h.style.display==="none"||h.style.display===""&&yr(h)&&x.css(h,"display")==="none"};function Ao(h,b,C,P){var L,N,V=20,se=P?function(){return P.cur()}:function(){return x.css(h,b,"")},te=se(),pe=C&&C[3]||(x.cssNumber[b]?"":"px"),_e=h.nodeType&&(x.cssNumber[b]||pe!=="px"&&+te)&&Pr.exec(x.css(h,b));if(_e&&_e[3]!==pe){for(te=te/2,pe=pe||_e[3],_e=+te||1;V--;)x.style(h,b,_e+pe),(1-N)*(1-(N=se()/te||.5))<=0&&(V=0),_e=_e/N;_e=_e*2,x.style(h,b,_e+pe),C=C||[]}return C&&(_e=+_e||+te||0,L=C[1]?_e+(C[1]+1)*C[2]:+C[2],P&&(P.unit=pe,P.start=_e,P.end=L)),L}var Un={};function qr(h){var b,C=h.ownerDocument,P=h.nodeName,L=Un[P];return L||(b=C.body.appendChild(C.createElement(P)),L=x.css(b,"display"),b.parentNode.removeChild(b),L==="none"&&(L="block"),Un[P]=L,L)}function Qn(h,b){for(var C,P,L=[],N=0,V=h.length;N<V;N++)P=h[N],P.style&&(C=P.style.display,b?(C==="none"&&(L[N]=ut.get(P,"display")||null,L[N]||(P.style.display="")),P.style.display===""&&Gr(P)&&(L[N]=qr(P))):C!=="none"&&(L[N]="none",ut.set(P,"display",C)));for(N=0;N<V;N++)L[N]!=null&&(h[N].style.display=L[N]);return h}x.fn.extend({show:function(){return Qn(this,!0)},hide:function(){return Qn(this)},toggle:function(h){return typeof h=="boolean"?h?this.show():this.hide():this.each(function(){Gr(this)?x(this).show():x(this).hide()})}});var Wt=/^(?:checkbox|radio)$/i,ai=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Wi=/^$|^module$|\/(?:java|ecma)script/i;(function(){var h=R.createDocumentFragment(),b=h.appendChild(R.createElement("div")),C=R.createElement("input");C.setAttribute("type","radio"),C.setAttribute("checked","checked"),C.setAttribute("name","t"),b.appendChild(C),A.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",A.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,b.innerHTML="<option></option>",A.option=!!b.lastChild})();var Pn={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Pn.tbody=Pn.tfoot=Pn.colgroup=Pn.caption=Pn.thead,Pn.th=Pn.td,A.option||(Pn.optgroup=Pn.option=[1,"<select multiple='multiple'>","</select>"]);function hn(h,b){var C;return typeof h.getElementsByTagName<"u"?C=h.getElementsByTagName(b||"*"):typeof h.querySelectorAll<"u"?C=h.querySelectorAll(b||"*"):C=[],b===void 0||b&&ae(h,b)?x.merge([h],C):C}function li(h,b){for(var C=0,P=h.length;C<P;C++)ut.set(h[C],"globalEval",!b||ut.get(b[C],"globalEval"))}var ui=/<|&#?\w+;/;function Tn(h,b,C,P,L){for(var N,V,se,te,pe,_e,Ae=b.createDocumentFragment(),Te=[],$e=0,it=h.length;$e<it;$e++)if(N=h[$e],N||N===0)if(ne(N)==="object")x.merge(Te,N.nodeType?[N]:N);else if(!ui.test(N))Te.push(b.createTextNode(N));else{for(V=V||Ae.appendChild(b.createElement("div")),se=(ai.exec(N)||["",""])[1].toLowerCase(),te=Pn[se]||Pn._default,V.innerHTML=te[1]+x.htmlPrefilter(N)+te[2],_e=te[0];_e--;)V=V.lastChild;x.merge(Te,V.childNodes),V=Ae.firstChild,V.textContent=""}for(Ae.textContent="",$e=0;N=Te[$e++];){if(P&&x.inArray(N,P)>-1){L&&L.push(N);continue}if(pe=yr(N),V=hn(Ae.appendChild(N),"script"),pe&&li(V),C)for(_e=0;N=V[_e++];)Wi.test(N.type||"")&&C.push(N)}return Ae}var so=/^([^.]*)(?:\.(.+)|)/;function br(){return!0}function ci(){return!1}function an(h,b,C,P,L,N){var V,se;if(typeof b=="object"){typeof C!="string"&&(P=P||C,C=void 0);for(se in b)an(h,se,C,P,b[se],N);return h}if(P==null&&L==null?(L=C,P=C=void 0):L==null&&(typeof C=="string"?(L=P,P=void 0):(L=P,P=C,C=void 0)),L===!1)L=ci;else if(!L)return h;return N===1&&(V=L,L=function(te){return x().off(te),V.apply(this,arguments)},L.guid=V.guid||(V.guid=x.guid++)),h.each(function(){x.event.add(this,b,L,P,C)})}x.event={global:{},add:function(h,b,C,P,L){var N,V,se,te,pe,_e,Ae,Te,$e,it,Tt,Et=ut.get(h);if(fn(h))for(C.handler&&(N=C,C=N.handler,L=N.selector),L&&x.find.matchesSelector(Or,L),C.guid||(C.guid=x.guid++),(te=Et.events)||(te=Et.events=Object.create(null)),(V=Et.handle)||(V=Et.handle=function(Rn){return typeof x<"u"&&x.event.triggered!==Rn.type?x.event.dispatch.apply(h,arguments):void 0}),b=(b||"").match(ft)||[""],pe=b.length;pe--;)se=so.exec(b[pe])||[],$e=Tt=se[1],it=(se[2]||"").split(".").sort(),$e&&(Ae=x.event.special[$e]||{},$e=(L?Ae.delegateType:Ae.bindType)||$e,Ae=x.event.special[$e]||{},_e=x.extend({type:$e,origType:Tt,data:P,handler:C,guid:C.guid,selector:L,needsContext:L&&x.expr.match.needsContext.test(L),namespace:it.join(".")},N),(Te=te[$e])||(Te=te[$e]=[],Te.delegateCount=0,(!Ae.setup||Ae.setup.call(h,P,it,V)===!1)&&h.addEventListener&&h.addEventListener($e,V)),Ae.add&&(Ae.add.call(h,_e),_e.handler.guid||(_e.handler.guid=C.guid)),L?Te.splice(Te.delegateCount++,0,_e):Te.push(_e),x.event.global[$e]=!0)},remove:function(h,b,C,P,L){var N,V,se,te,pe,_e,Ae,Te,$e,it,Tt,Et=ut.hasData(h)&&ut.get(h);if(!(!Et||!(te=Et.events))){for(b=(b||"").match(ft)||[""],pe=b.length;pe--;){if(se=so.exec(b[pe])||[],$e=Tt=se[1],it=(se[2]||"").split(".").sort(),!$e){for($e in te)x.event.remove(h,$e+b[pe],C,P,!0);continue}for(Ae=x.event.special[$e]||{},$e=(P?Ae.delegateType:Ae.bindType)||$e,Te=te[$e]||[],se=se[2]&&new RegExp("(^|\\.)"+it.join("\\.(?:.*\\.|)")+"(\\.|$)"),V=N=Te.length;N--;)_e=Te[N],(L||Tt===_e.origType)&&(!C||C.guid===_e.guid)&&(!se||se.test(_e.namespace))&&(!P||P===_e.selector||P==="**"&&_e.selector)&&(Te.splice(N,1),_e.selector&&Te.delegateCount--,Ae.remove&&Ae.remove.call(h,_e));V&&!Te.length&&((!Ae.teardown||Ae.teardown.call(h,it,Et.handle)===!1)&&x.removeEvent(h,$e,Et.handle),delete te[$e])}x.isEmptyObject(te)&&ut.remove(h,"handle events")}},dispatch:function(h){var b,C,P,L,N,V,se=new Array(arguments.length),te=x.event.fix(h),pe=(ut.get(this,"events")||Object.create(null))[te.type]||[],_e=x.event.special[te.type]||{};for(se[0]=te,b=1;b<arguments.length;b++)se[b]=arguments[b];if(te.delegateTarget=this,!(_e.preDispatch&&_e.preDispatch.call(this,te)===!1)){for(V=x.event.handlers.call(this,te,pe),b=0;(L=V[b++])&&!te.isPropagationStopped();)for(te.currentTarget=L.elem,C=0;(N=L.handlers[C++])&&!te.isImmediatePropagationStopped();)(!te.rnamespace||N.namespace===!1||te.rnamespace.test(N.namespace))&&(te.handleObj=N,te.data=N.data,P=((x.event.special[N.origType]||{}).handle||N.handler).apply(L.elem,se),P!==void 0&&(te.result=P)===!1&&(te.preventDefault(),te.stopPropagation()));return _e.postDispatch&&_e.postDispatch.call(this,te),te.result}},handlers:function(h,b){var C,P,L,N,V,se=[],te=b.delegateCount,pe=h.target;if(te&&pe.nodeType&&!(h.type==="click"&&h.button>=1)){for(;pe!==this;pe=pe.parentNode||this)if(pe.nodeType===1&&!(h.type==="click"&&pe.disabled===!0)){for(N=[],V={},C=0;C<te;C++)P=b[C],L=P.selector+" ",V[L]===void 0&&(V[L]=P.needsContext?x(L,this).index(pe)>-1:x.find(L,this,null,[pe]).length),V[L]&&N.push(P);N.length&&se.push({elem:pe,handlers:N})}}return pe=this,te<b.length&&se.push({elem:pe,handlers:b.slice(te)}),se},addProp:function(h,b){Object.defineProperty(x.Event.prototype,h,{enumerable:!0,configurable:!0,get:I(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[h]},set:function(C){Object.defineProperty(this,h,{enumerable:!0,configurable:!0,writable:!0,value:C})}})},fix:function(h){return h[x.expando]?h:new x.Event(h)},special:{load:{noBubble:!0},click:{setup:function(h){var b=this||h;return Wt.test(b.type)&&b.click&&ae(b,"input")&&Di(b,"click",!0),!1},trigger:function(h){var b=this||h;return Wt.test(b.type)&&b.click&&ae(b,"input")&&Di(b,"click"),!0},_default:function(h){var b=h.target;return Wt.test(b.type)&&b.click&&ae(b,"input")&&ut.get(b,"click")||ae(b,"a")}},beforeunload:{postDispatch:function(h){h.result!==void 0&&h.originalEvent&&(h.originalEvent.returnValue=h.result)}}}};function Di(h,b,C){if(!C){ut.get(h,b)===void 0&&x.event.add(h,b,br);return}ut.set(h,b,!1),x.event.add(h,b,{namespace:!1,handler:function(P){var L,N=ut.get(this,b);if(P.isTrigger&1&&this[b]){if(N)(x.event.special[b]||{}).delegateType&&P.stopPropagation();else if(N=o.call(arguments),ut.set(this,b,N),this[b](),L=ut.get(this,b),ut.set(this,b,!1),N!==L)return P.stopImmediatePropagation(),P.preventDefault(),L}else N&&(ut.set(this,b,x.event.trigger(N[0],N.slice(1),this)),P.stopPropagation(),P.isImmediatePropagationStopped=br)}})}x.removeEvent=function(h,b,C){h.removeEventListener&&h.removeEventListener(b,C)},x.Event=function(h,b){if(!(this instanceof x.Event))return new x.Event(h,b);h&&h.type?(this.originalEvent=h,this.type=h.type,this.isDefaultPrevented=h.defaultPrevented||h.defaultPrevented===void 0&&h.returnValue===!1?br:ci,this.target=h.target&&h.target.nodeType===3?h.target.parentNode:h.target,this.currentTarget=h.currentTarget,this.relatedTarget=h.relatedTarget):this.type=h,b&&x.extend(this,b),this.timeStamp=h&&h.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:ci,isPropagationStopped:ci,isImmediatePropagationStopped:ci,isSimulated:!1,preventDefault:function(){var h=this.originalEvent;this.isDefaultPrevented=br,h&&!this.isSimulated&&h.preventDefault()},stopPropagation:function(){var h=this.originalEvent;this.isPropagationStopped=br,h&&!this.isSimulated&&h.stopPropagation()},stopImmediatePropagation:function(){var h=this.originalEvent;this.isImmediatePropagationStopped=br,h&&!this.isSimulated&&h.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},function(h,b){function C(P){if(R.documentMode){var L=ut.get(this,"handle"),N=x.event.fix(P);N.type=P.type==="focusin"?"focus":"blur",N.isSimulated=!0,L(P),N.target===N.currentTarget&&L(N)}else x.event.simulate(b,P.target,x.event.fix(P))}x.event.special[h]={setup:function(){var P;if(Di(this,h,!0),R.documentMode)P=ut.get(this,b),P||this.addEventListener(b,C),ut.set(this,b,(P||0)+1);else return!1},trigger:function(){return Di(this,h),!0},teardown:function(){var P;if(R.documentMode)P=ut.get(this,b)-1,P?ut.set(this,b,P):(this.removeEventListener(b,C),ut.remove(this,b));else return!1},_default:function(P){return ut.get(P.target,h)},delegateType:b},x.event.special[b]={setup:function(){var P=this.ownerDocument||this.document||this,L=R.documentMode?this:P,N=ut.get(L,b);N||(R.documentMode?this.addEventListener(b,C):P.addEventListener(h,C,!0)),ut.set(L,b,(N||0)+1)},teardown:function(){var P=this.ownerDocument||this.document||this,L=R.documentMode?this:P,N=ut.get(L,b)-1;N?ut.set(L,b,N):(R.documentMode?this.removeEventListener(b,C):P.removeEventListener(h,C,!0),ut.remove(L,b))}}}),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(h,b){x.event.special[h]={delegateType:b,bindType:b,handle:function(C){var P,L=this,N=C.relatedTarget,V=C.handleObj;return(!N||N!==L&&!x.contains(L,N))&&(C.type=V.origType,P=V.handler.apply(this,arguments),C.type=b),P}}}),x.fn.extend({on:function(h,b,C,P){return an(this,h,b,C,P)},one:function(h,b,C,P){return an(this,h,b,C,P,1)},off:function(h,b,C){var P,L;if(h&&h.preventDefault&&h.handleObj)return P=h.handleObj,x(h.delegateTarget).off(P.namespace?P.origType+"."+P.namespace:P.origType,P.selector,P.handler),this;if(typeof h=="object"){for(L in h)this.off(L,b,h[L]);return this}return(b===!1||typeof b=="function")&&(C=b,b=void 0),C===!1&&(C=ci),this.each(function(){x.event.remove(this,h,C,b)})}});var Ls=/<script|<style|<link/i,Fs=/checked\s*(?:[^=]|=\s*.checked.)/i,Xr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ao(h,b){return ae(h,"table")&&ae(b.nodeType!==11?b:b.firstChild,"tr")&&x(h).children("tbody")[0]||h}function lo(h){return h.type=(h.getAttribute("type")!==null)+"/"+h.type,h}function Pi(h){return(h.type||"").slice(0,5)==="true/"?h.type=h.type.slice(5):h.removeAttribute("type"),h}function er(h,b){var C,P,L,N,V,se,te;if(b.nodeType===1){if(ut.hasData(h)&&(N=ut.get(h),te=N.events,te)){ut.remove(b,"handle events");for(L in te)for(C=0,P=te[L].length;C<P;C++)x.event.add(b,L,te[L][C])}Dn.hasData(h)&&(V=Dn.access(h),se=x.extend({},V),Dn.set(b,se))}}function _r(h,b){var C=b.nodeName.toLowerCase();C==="input"&&Wt.test(h.type)?b.checked=h.checked:(C==="input"||C==="textarea")&&(b.defaultValue=h.defaultValue)}function Rr(h,b,C,P){b=a(b);var L,N,V,se,te,pe,_e=0,Ae=h.length,Te=Ae-1,$e=b[0],it=I($e);if(it||Ae>1&&typeof $e=="string"&&!A.checkClone&&Fs.test($e))return h.each(function(Tt){var Et=h.eq(Tt);it&&(b[0]=$e.call(this,Tt,Et.html())),Rr(Et,b,C,P)});if(Ae&&(L=Tn(b,h[0].ownerDocument,!1,h,P),N=L.firstChild,L.childNodes.length===1&&(L=N),N||P)){for(V=x.map(hn(L,"script"),lo),se=V.length;_e<Ae;_e++)te=L,_e!==Te&&(te=x.clone(te,!0,!0),se&&x.merge(V,hn(te,"script"))),C.call(h[_e],te,_e);if(se)for(pe=V[V.length-1].ownerDocument,x.map(V,Pi),_e=0;_e<se;_e++)te=V[_e],Wi.test(te.type||"")&&!ut.access(te,"globalEval")&&x.contains(pe,te)&&(te.src&&(te.type||"").toLowerCase()!=="module"?x._evalUrl&&!te.noModule&&x._evalUrl(te.src,{nonce:te.nonce||te.getAttribute("nonce")},pe):H(te.textContent.replace(Xr,""),te,pe))}return h}function fi(h,b,C){for(var P,L=b?x.filter(b,h):h,N=0;(P=L[N])!=null;N++)!C&&P.nodeType===1&&x.cleanData(hn(P)),P.parentNode&&(C&&yr(P)&&li(hn(P,"script")),P.parentNode.removeChild(P));return h}x.extend({htmlPrefilter:function(h){return h},clone:function(h,b,C){var P,L,N,V,se=h.cloneNode(!0),te=yr(h);if(!A.noCloneChecked&&(h.nodeType===1||h.nodeType===11)&&!x.isXMLDoc(h))for(V=hn(se),N=hn(h),P=0,L=N.length;P<L;P++)_r(N[P],V[P]);if(b)if(C)for(N=N||hn(h),V=V||hn(se),P=0,L=N.length;P<L;P++)er(N[P],V[P]);else er(h,se);return V=hn(se,"script"),V.length>0&&li(V,!te&&hn(h,"script")),se},cleanData:function(h){for(var b,C,P,L=x.event.special,N=0;(C=h[N])!==void 0;N++)if(fn(C)){if(b=C[ut.expando]){if(b.events)for(P in b.events)L[P]?x.event.remove(C,P):x.removeEvent(C,P,b.handle);C[ut.expando]=void 0}C[Dn.expando]&&(C[Dn.expando]=void 0)}}}),x.fn.extend({detach:function(h){return fi(this,h,!0)},remove:function(h){return fi(this,h)},text:function(h){return Sn(this,function(b){return b===void 0?x.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=b)})},null,h,arguments.length)},append:function(){return Rr(this,arguments,function(h){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var b=ao(this,h);b.appendChild(h)}})},prepend:function(){return Rr(this,arguments,function(h){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var b=ao(this,h);b.insertBefore(h,b.firstChild)}})},before:function(){return Rr(this,arguments,function(h){this.parentNode&&this.parentNode.insertBefore(h,this)})},after:function(){return Rr(this,arguments,function(h){this.parentNode&&this.parentNode.insertBefore(h,this.nextSibling)})},empty:function(){for(var h,b=0;(h=this[b])!=null;b++)h.nodeType===1&&(x.cleanData(hn(h,!1)),h.textContent="");return this},clone:function(h,b){return h=h??!1,b=b??h,this.map(function(){return x.clone(this,h,b)})},html:function(h){return Sn(this,function(b){var C=this[0]||{},P=0,L=this.length;if(b===void 0&&C.nodeType===1)return C.innerHTML;if(typeof b=="string"&&!Ls.test(b)&&!Pn[(ai.exec(b)||["",""])[1].toLowerCase()]){b=x.htmlPrefilter(b);try{for(;P<L;P++)C=this[P]||{},C.nodeType===1&&(x.cleanData(hn(C,!1)),C.innerHTML=b);C=0}catch{}}C&&this.empty().append(b)},null,h,arguments.length)},replaceWith:function(){var h=[];return Rr(this,arguments,function(b){var C=this.parentNode;x.inArray(this,h)<0&&(x.cleanData(hn(this)),C&&C.replaceChild(b,this))},h)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(h,b){x.fn[h]=function(C){for(var P,L=[],N=x(C),V=N.length-1,se=0;se<=V;se++)P=se===V?this:this.clone(!0),x(N[se])[b](P),c.apply(L,P.get());return this.pushStack(L)}});var Kr=new RegExp("^("+Ui+")(?!px)[a-z%]+$","i"),wr=/^--/,Ar=function(h){var b=h.ownerDocument.defaultView;return(!b||!b.opener)&&(b=e),b.getComputedStyle(h)},tr=function(h,b,C){var P,L,N={};for(L in b)N[L]=h.style[L],h.style[L]=b[L];P=C.call(h);for(L in b)h.style[L]=N[L];return P},zi=new RegExp(Nn.join("|"),"i");(function(){function h(){if(pe){te.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",pe.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Or.appendChild(te).appendChild(pe);var _e=e.getComputedStyle(pe);C=_e.top!=="1%",se=b(_e.marginLeft)===12,pe.style.right="60%",N=b(_e.right)===36,P=b(_e.width)===36,pe.style.position="absolute",L=b(pe.offsetWidth/3)===12,Or.removeChild(te),pe=null}}function b(_e){return Math.round(parseFloat(_e))}var C,P,L,N,V,se,te=R.createElement("div"),pe=R.createElement("div");pe.style&&(pe.style.backgroundClip="content-box",pe.cloneNode(!0).style.backgroundClip="",A.clearCloneStyle=pe.style.backgroundClip==="content-box",x.extend(A,{boxSizingReliable:function(){return h(),P},pixelBoxStyles:function(){return h(),N},pixelPosition:function(){return h(),C},reliableMarginLeft:function(){return h(),se},scrollboxSize:function(){return h(),L},reliableTrDimensions:function(){var _e,Ae,Te,$e;return V==null&&(_e=R.createElement("table"),Ae=R.createElement("tr"),Te=R.createElement("div"),_e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Ae.style.cssText="box-sizing:content-box;border:1px solid",Ae.style.height="1px",Te.style.height="9px",Te.style.display="block",Or.appendChild(_e).appendChild(Ae).appendChild(Te),$e=e.getComputedStyle(Ae),V=parseInt($e.height,10)+parseInt($e.borderTopWidth,10)+parseInt($e.borderBottomWidth,10)===Ae.offsetHeight,Or.removeChild(_e)),V}}))})();function Oi(h,b,C){var P,L,N,V,se=wr.test(b),te=h.style;return C=C||Ar(h),C&&(V=C.getPropertyValue(b)||C[b],se&&V&&(V=V.replace(Oe,"$1")||void 0),V===""&&!yr(h)&&(V=x.style(h,b)),!A.pixelBoxStyles()&&Kr.test(V)&&zi.test(b)&&(P=te.width,L=te.minWidth,N=te.maxWidth,te.minWidth=te.maxWidth=te.width=V,V=C.width,te.width=P,te.minWidth=L,te.maxWidth=N)),V!==void 0?V+"":V}function ar(h,b){return{get:function(){if(h()){delete this.get;return}return(this.get=b).apply(this,arguments)}}}var yn=["Webkit","Moz","ms"],Ir=R.createElement("div").style,Mr={};function di(h){for(var b=h[0].toUpperCase()+h.slice(1),C=yn.length;C--;)if(h=yn[C]+b,h in Ir)return h}function hi(h){var b=x.cssProps[h]||Mr[h];return b||(h in Ir?h:Mr[h]=di(h)||h)}var xr=/^(none|table(?!-c[ea]).+)/,Zr={position:"absolute",visibility:"hidden",display:"block"},Wn={letterSpacing:"0",fontWeight:"400"};function pi(h,b,C){var P=Pr.exec(b);return P?Math.max(0,P[2]-(C||0))+(P[3]||"px"):b}function gi(h,b,C,P,L,N){var V=b==="width"?1:0,se=0,te=0,pe=0;if(C===(P?"border":"content"))return 0;for(;V<4;V+=2)C==="margin"&&(pe+=x.css(h,C+Nn[V],!0,L)),P?(C==="content"&&(te-=x.css(h,"padding"+Nn[V],!0,L)),C!=="margin"&&(te-=x.css(h,"border"+Nn[V]+"Width",!0,L))):(te+=x.css(h,"padding"+Nn[V],!0,L),C!=="padding"?te+=x.css(h,"border"+Nn[V]+"Width",!0,L):se+=x.css(h,"border"+Nn[V]+"Width",!0,L));return!P&&N>=0&&(te+=Math.max(0,Math.ceil(h["offset"+b[0].toUpperCase()+b.slice(1)]-N-te-se-.5))||0),te+pe}function _i(h,b,C){var P=Ar(h),L=!A.boxSizingReliable()||C,N=L&&x.css(h,"boxSizing",!1,P)==="border-box",V=N,se=Oi(h,b,P),te="offset"+b[0].toUpperCase()+b.slice(1);if(Kr.test(se)){if(!C)return se;se="auto"}return(!A.boxSizingReliable()&&N||!A.reliableTrDimensions()&&ae(h,"tr")||se==="auto"||!parseFloat(se)&&x.css(h,"display",!1,P)==="inline")&&h.getClientRects().length&&(N=x.css(h,"boxSizing",!1,P)==="border-box",V=te in h,V&&(se=h[te])),se=parseFloat(se)||0,se+gi(h,b,C||(N?"border":"content"),V,P,se)+"px"}x.extend({cssHooks:{opacity:{get:function(h,b){if(b){var C=Oi(h,"opacity");return C===""?"1":C}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(h,b,C,P){if(!(!h||h.nodeType===3||h.nodeType===8||!h.style)){var L,N,V,se=sn(b),te=wr.test(b),pe=h.style;if(te||(b=hi(se)),V=x.cssHooks[b]||x.cssHooks[se],C!==void 0){if(N=typeof C,N==="string"&&(L=Pr.exec(C))&&L[1]&&(C=Ao(h,b,L),N="number"),C==null||C!==C)return;N==="number"&&!te&&(C+=L&&L[3]||(x.cssNumber[se]?"":"px")),!A.clearCloneStyle&&C===""&&b.indexOf("background")===0&&(pe[b]="inherit"),(!V||!("set"in V)||(C=V.set(h,C,P))!==void 0)&&(te?pe.setProperty(b,C):pe[b]=C)}else return V&&"get"in V&&(L=V.get(h,!1,P))!==void 0?L:pe[b]}},css:function(h,b,C,P){var L,N,V,se=sn(b),te=wr.test(b);return te||(b=hi(se)),V=x.cssHooks[b]||x.cssHooks[se],V&&"get"in V&&(L=V.get(h,!0,C)),L===void 0&&(L=Oi(h,b,P)),L==="normal"&&b in Wn&&(L=Wn[b]),C===""||C?(N=parseFloat(L),C===!0||isFinite(N)?N||0:L):L}}),x.each(["height","width"],function(h,b){x.cssHooks[b]={get:function(C,P,L){if(P)return xr.test(x.css(C,"display"))&&(!C.getClientRects().length||!C.getBoundingClientRect().width)?tr(C,Zr,function(){return _i(C,b,L)}):_i(C,b,L)},set:function(C,P,L){var N,V=Ar(C),se=!A.scrollboxSize()&&V.position==="absolute",te=se||L,pe=te&&x.css(C,"boxSizing",!1,V)==="border-box",_e=L?gi(C,b,L,pe,V):0;return pe&&se&&(_e-=Math.ceil(C["offset"+b[0].toUpperCase()+b.slice(1)]-parseFloat(V[b])-gi(C,b,"border",!1,V)-.5)),_e&&(N=Pr.exec(P))&&(N[3]||"px")!=="px"&&(C.style[b]=P,P=x.css(C,b)),pi(C,P,_e)}}}),x.cssHooks.marginLeft=ar(A.reliableMarginLeft,function(h,b){if(b)return(parseFloat(Oi(h,"marginLeft"))||h.getBoundingClientRect().left-tr(h,{marginLeft:0},function(){return h.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(h,b){x.cssHooks[h+b]={expand:function(C){for(var P=0,L={},N=typeof C=="string"?C.split(" "):[C];P<4;P++)L[h+Nn[P]+b]=N[P]||N[P-2]||N[0];return L}},h!=="margin"&&(x.cssHooks[h+b].set=pi)}),x.fn.extend({css:function(h,b){return Sn(this,function(C,P,L){var N,V,se={},te=0;if(Array.isArray(P)){for(N=Ar(C),V=P.length;te<V;te++)se[P[te]]=x.css(C,P[te],!1,N);return se}return L!==void 0?x.style(C,P,L):x.css(C,P)},h,b,arguments.length>1)}});function nn(h,b,C,P,L){return new nn.prototype.init(h,b,C,P,L)}x.Tween=nn,nn.prototype={constructor:nn,init:function(h,b,C,P,L,N){this.elem=h,this.prop=C,this.easing=L||x.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=P,this.unit=N||(x.cssNumber[C]?"":"px")},cur:function(){var h=nn.propHooks[this.prop];return h&&h.get?h.get(this):nn.propHooks._default.get(this)},run:function(h){var b,C=nn.propHooks[this.prop];return this.options.duration?this.pos=b=x.easing[this.easing](h,this.options.duration*h,0,1,this.options.duration):this.pos=b=h,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),C&&C.set?C.set(this):nn.propHooks._default.set(this),this}},nn.prototype.init.prototype=nn.prototype,nn.propHooks={_default:{get:function(h){var b;return h.elem.nodeType!==1||h.elem[h.prop]!=null&&h.elem.style[h.prop]==null?h.elem[h.prop]:(b=x.css(h.elem,h.prop,""),!b||b==="auto"?0:b)},set:function(h){x.fx.step[h.prop]?x.fx.step[h.prop](h):h.elem.nodeType===1&&(x.cssHooks[h.prop]||h.elem.style[hi(h.prop)]!=null)?x.style(h.elem,h.prop,h.now+h.unit):h.elem[h.prop]=h.now}}},nn.propHooks.scrollTop=nn.propHooks.scrollLeft={set:function(h){h.elem.nodeType&&h.elem.parentNode&&(h.elem[h.prop]=h.now)}},x.easing={linear:function(h){return h},swing:function(h){return .5-Math.cos(h*Math.PI)/2},_default:"swing"},x.fx=nn.prototype.init,x.fx.step={};var jn,Cn,uo=/^(?:toggle|show|hide)$/,On=/queueHooks$/;function _n(){Cn&&(R.hidden===!1&&e.requestAnimationFrame?e.requestAnimationFrame(_n):e.setTimeout(_n,x.fx.interval),x.fx.tick())}function k(){return e.setTimeout(function(){jn=void 0}),jn=Date.now()}function F(h,b){var C,P=0,L={height:h};for(b=b?1:0;P<4;P+=2-b)C=Nn[P],L["margin"+C]=L["padding"+C]=h;return b&&(L.opacity=L.width=h),L}function G(h,b,C){for(var P,L=(me.tweeners[b]||[]).concat(me.tweeners["*"]),N=0,V=L.length;N<V;N++)if(P=L[N].call(C,b,h))return P}function ee(h,b,C){var P,L,N,V,se,te,pe,_e,Ae="width"in b||"height"in b,Te=this,$e={},it=h.style,Tt=h.nodeType&&Gr(h),Et=ut.get(h,"fxshow");C.queue||(V=x._queueHooks(h,"fx"),V.unqueued==null&&(V.unqueued=0,se=V.empty.fire,V.empty.fire=function(){V.unqueued||se()}),V.unqueued++,Te.always(function(){Te.always(function(){V.unqueued--,x.queue(h,"fx").length||V.empty.fire()})}));for(P in b)if(L=b[P],uo.test(L)){if(delete b[P],N=N||L==="toggle",L===(Tt?"hide":"show"))if(L==="show"&&Et&&Et[P]!==void 0)Tt=!0;else continue;$e[P]=Et&&Et[P]||x.style(h,P)}if(te=!x.isEmptyObject(b),!(!te&&x.isEmptyObject($e))){Ae&&h.nodeType===1&&(C.overflow=[it.overflow,it.overflowX,it.overflowY],pe=Et&&Et.display,pe==null&&(pe=ut.get(h,"display")),_e=x.css(h,"display"),_e==="none"&&(pe?_e=pe:(Qn([h],!0),pe=h.style.display||pe,_e=x.css(h,"display"),Qn([h]))),(_e==="inline"||_e==="inline-block"&&pe!=null)&&x.css(h,"float")==="none"&&(te||(Te.done(function(){it.display=pe}),pe==null&&(_e=it.display,pe=_e==="none"?"":_e)),it.display="inline-block")),C.overflow&&(it.overflow="hidden",Te.always(function(){it.overflow=C.overflow[0],it.overflowX=C.overflow[1],it.overflowY=C.overflow[2]})),te=!1;for(P in $e)te||(Et?"hidden"in Et&&(Tt=Et.hidden):Et=ut.access(h,"fxshow",{display:pe}),N&&(Et.hidden=!Tt),Tt&&Qn([h],!0),Te.done(function(){Tt||Qn([h]),ut.remove(h,"fxshow");for(P in $e)x.style(h,P,$e[P])})),te=G(Tt?Et[P]:0,P,Te),P in Et||(Et[P]=te.start,Tt&&(te.end=te.start,te.start=0))}}function Ee(h,b){var C,P,L,N,V;for(C in h)if(P=sn(C),L=b[P],N=h[C],Array.isArray(N)&&(L=N[1],N=h[C]=N[0]),C!==P&&(h[P]=N,delete h[C]),V=x.cssHooks[P],V&&"expand"in V){N=V.expand(N),delete h[P];for(C in N)C in h||(h[C]=N[C],b[C]=L)}else b[P]=L}function me(h,b,C){var P,L,N=0,V=me.prefilters.length,se=x.Deferred().always(function(){delete te.elem}),te=function(){if(L)return!1;for(var Ae=jn||k(),Te=Math.max(0,pe.startTime+pe.duration-Ae),$e=Te/pe.duration||0,it=1-$e,Tt=0,Et=pe.tweens.length;Tt<Et;Tt++)pe.tweens[Tt].run(it);return se.notifyWith(h,[pe,it,Te]),it<1&&Et?Te:(Et||se.notifyWith(h,[pe,1,0]),se.resolveWith(h,[pe]),!1)},pe=se.promise({elem:h,props:x.extend({},b),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},C),originalProperties:b,originalOptions:C,startTime:jn||k(),duration:C.duration,tweens:[],createTween:function(Ae,Te){var $e=x.Tween(h,pe.opts,Ae,Te,pe.opts.specialEasing[Ae]||pe.opts.easing);return pe.tweens.push($e),$e},stop:function(Ae){var Te=0,$e=Ae?pe.tweens.length:0;if(L)return this;for(L=!0;Te<$e;Te++)pe.tweens[Te].run(1);return Ae?(se.notifyWith(h,[pe,1,0]),se.resolveWith(h,[pe,Ae])):se.rejectWith(h,[pe,Ae]),this}}),_e=pe.props;for(Ee(_e,pe.opts.specialEasing);N<V;N++)if(P=me.prefilters[N].call(pe,h,_e,pe.opts),P)return I(P.stop)&&(x._queueHooks(pe.elem,pe.opts.queue).stop=P.stop.bind(P)),P;return x.map(_e,G,pe),I(pe.opts.start)&&pe.opts.start.call(h,pe),pe.progress(pe.opts.progress).done(pe.opts.done,pe.opts.complete).fail(pe.opts.fail).always(pe.opts.always),x.fx.timer(x.extend(te,{elem:h,anim:pe,queue:pe.opts.queue})),pe}x.Animation=x.extend(me,{tweeners:{"*":[function(h,b){var C=this.createTween(h,b);return Ao(C.elem,h,Pr.exec(b),C),C}]},tweener:function(h,b){I(h)?(b=h,h=["*"]):h=h.match(ft);for(var C,P=0,L=h.length;P<L;P++)C=h[P],me.tweeners[C]=me.tweeners[C]||[],me.tweeners[C].unshift(b)},prefilters:[ee],prefilter:function(h,b){b?me.prefilters.unshift(h):me.prefilters.push(h)}}),x.speed=function(h,b,C){var P=h&&typeof h=="object"?x.extend({},h):{complete:C||!C&&b||I(h)&&h,duration:h,easing:C&&b||b&&!I(b)&&b};return x.fx.off?P.duration=0:typeof P.duration!="number"&&(P.duration in x.fx.speeds?P.duration=x.fx.speeds[P.duration]:P.duration=x.fx.speeds._default),(P.queue==null||P.queue===!0)&&(P.queue="fx"),P.old=P.complete,P.complete=function(){I(P.old)&&P.old.call(this),P.queue&&x.dequeue(this,P.queue)},P},x.fn.extend({fadeTo:function(h,b,C,P){return this.filter(Gr).css("opacity",0).show().end().animate({opacity:b},h,C,P)},animate:function(h,b,C,P){var L=x.isEmptyObject(h),N=x.speed(b,C,P),V=function(){var se=me(this,x.extend({},h),N);(L||ut.get(this,"finish"))&&se.stop(!0)};return V.finish=V,L||N.queue===!1?this.each(V):this.queue(N.queue,V)},stop:function(h,b,C){var P=function(L){var N=L.stop;delete L.stop,N(C)};return typeof h!="string"&&(C=b,b=h,h=void 0),b&&this.queue(h||"fx",[]),this.each(function(){var L=!0,N=h!=null&&h+"queueHooks",V=x.timers,se=ut.get(this);if(N)se[N]&&se[N].stop&&P(se[N]);else for(N in se)se[N]&&se[N].stop&&On.test(N)&&P(se[N]);for(N=V.length;N--;)V[N].elem===this&&(h==null||V[N].queue===h)&&(V[N].anim.stop(C),L=!1,V.splice(N,1));(L||!C)&&x.dequeue(this,h)})},finish:function(h){return h!==!1&&(h=h||"fx"),this.each(function(){var b,C=ut.get(this),P=C[h+"queue"],L=C[h+"queueHooks"],N=x.timers,V=P?P.length:0;for(C.finish=!0,x.queue(this,h,[]),L&&L.stop&&L.stop.call(this,!0),b=N.length;b--;)N[b].elem===this&&N[b].queue===h&&(N[b].anim.stop(!0),N.splice(b,1));for(b=0;b<V;b++)P[b]&&P[b].finish&&P[b].finish.call(this);delete C.finish})}}),x.each(["toggle","show","hide"],function(h,b){var C=x.fn[b];x.fn[b]=function(P,L,N){return P==null||typeof P=="boolean"?C.apply(this,arguments):this.animate(F(b,!0),P,L,N)}}),x.each({slideDown:F("show"),slideUp:F("hide"),slideToggle:F("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(h,b){x.fn[h]=function(C,P,L){return this.animate(b,C,P,L)}}),x.timers=[],x.fx.tick=function(){var h,b=0,C=x.timers;for(jn=Date.now();b<C.length;b++)h=C[b],!h()&&C[b]===h&&C.splice(b--,1);C.length||x.fx.stop(),jn=void 0},x.fx.timer=function(h){x.timers.push(h),x.fx.start()},x.fx.interval=13,x.fx.start=function(){Cn||(Cn=!0,_n())},x.fx.stop=function(){Cn=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(h,b){return h=x.fx&&x.fx.speeds[h]||h,b=b||"fx",this.queue(b,function(C,P){var L=e.setTimeout(C,h);P.stop=function(){e.clearTimeout(L)}})},function(){var h=R.createElement("input"),b=R.createElement("select"),C=b.appendChild(R.createElement("option"));h.type="checkbox",A.checkOn=h.value!=="",A.optSelected=C.selected,h=R.createElement("input"),h.value="t",h.type="radio",A.radioValue=h.value==="t"}();var Re,Xe=x.expr.attrHandle;x.fn.extend({attr:function(h,b){return Sn(this,x.attr,h,b,arguments.length>1)},removeAttr:function(h){return this.each(function(){x.removeAttr(this,h)})}}),x.extend({attr:function(h,b,C){var P,L,N=h.nodeType;if(!(N===3||N===8||N===2)){if(typeof h.getAttribute>"u")return x.prop(h,b,C);if((N!==1||!x.isXMLDoc(h))&&(L=x.attrHooks[b.toLowerCase()]||(x.expr.match.bool.test(b)?Re:void 0)),C!==void 0){if(C===null){x.removeAttr(h,b);return}return L&&"set"in L&&(P=L.set(h,C,b))!==void 0?P:(h.setAttribute(b,C+""),C)}return L&&"get"in L&&(P=L.get(h,b))!==null?P:(P=x.find.attr(h,b),P??void 0)}},attrHooks:{type:{set:function(h,b){if(!A.radioValue&&b==="radio"&&ae(h,"input")){var C=h.value;return h.setAttribute("type",b),C&&(h.value=C),b}}}},removeAttr:function(h,b){var C,P=0,L=b&&b.match(ft);if(L&&h.nodeType===1)for(;C=L[P++];)h.removeAttribute(C)}}),Re={set:function(h,b,C){return b===!1?x.removeAttr(h,C):h.setAttribute(C,C),C}},x.each(x.expr.match.bool.source.match(/\w+/g),function(h,b){var C=Xe[b]||x.find.attr;Xe[b]=function(P,L,N){var V,se,te=L.toLowerCase();return N||(se=Xe[te],Xe[te]=V,V=C(P,L,N)!=null?te:null,Xe[te]=se),V}});var gt=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;x.fn.extend({prop:function(h,b){return Sn(this,x.prop,h,b,arguments.length>1)},removeProp:function(h){return this.each(function(){delete this[x.propFix[h]||h]})}}),x.extend({prop:function(h,b,C){var P,L,N=h.nodeType;if(!(N===3||N===8||N===2))return(N!==1||!x.isXMLDoc(h))&&(b=x.propFix[b]||b,L=x.propHooks[b]),C!==void 0?L&&"set"in L&&(P=L.set(h,C,b))!==void 0?P:h[b]=C:L&&"get"in L&&(P=L.get(h,b))!==null?P:h[b]},propHooks:{tabIndex:{get:function(h){var b=x.find.attr(h,"tabindex");return b?parseInt(b,10):gt.test(h.nodeName)||mt.test(h.nodeName)&&h.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),A.optSelected||(x.propHooks.selected={get:function(h){var b=h.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(h){var b=h.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this});function dt(h){var b=h.match(ft)||[];return b.join(" ")}function Ft(h){return h.getAttribute&&h.getAttribute("class")||""}function Bn(h){return Array.isArray(h)?h:typeof h=="string"?h.match(ft)||[]:[]}x.fn.extend({addClass:function(h){var b,C,P,L,N,V;return I(h)?this.each(function(se){x(this).addClass(h.call(this,se,Ft(this)))}):(b=Bn(h),b.length?this.each(function(){if(P=Ft(this),C=this.nodeType===1&&" "+dt(P)+" ",C){for(N=0;N<b.length;N++)L=b[N],C.indexOf(" "+L+" ")<0&&(C+=L+" ");V=dt(C),P!==V&&this.setAttribute("class",V)}}):this)},removeClass:function(h){var b,C,P,L,N,V;return I(h)?this.each(function(se){x(this).removeClass(h.call(this,se,Ft(this)))}):arguments.length?(b=Bn(h),b.length?this.each(function(){if(P=Ft(this),C=this.nodeType===1&&" "+dt(P)+" ",C){for(N=0;N<b.length;N++)for(L=b[N];C.indexOf(" "+L+" ")>-1;)C=C.replace(" "+L+" "," ");V=dt(C),P!==V&&this.setAttribute("class",V)}}):this):this.attr("class","")},toggleClass:function(h,b){var C,P,L,N,V=typeof h,se=V==="string"||Array.isArray(h);return I(h)?this.each(function(te){x(this).toggleClass(h.call(this,te,Ft(this),b),b)}):typeof b=="boolean"&&se?b?this.addClass(h):this.removeClass(h):(C=Bn(h),this.each(function(){if(se)for(N=x(this),L=0;L<C.length;L++)P=C[L],N.hasClass(P)?N.removeClass(P):N.addClass(P);else(h===void 0||V==="boolean")&&(P=Ft(this),P&&ut.set(this,"__className__",P),this.setAttribute&&this.setAttribute("class",P||h===!1?"":ut.get(this,"__className__")||""))}))},hasClass:function(h){var b,C,P=0;for(b=" "+h+" ";C=this[P++];)if(C.nodeType===1&&(" "+dt(Ft(C))+" ").indexOf(b)>-1)return!0;return!1}});var zn=/\r/g;x.fn.extend({val:function(h){var b,C,P,L=this[0];return arguments.length?(P=I(h),this.each(function(N){var V;this.nodeType===1&&(P?V=h.call(this,N,x(this).val()):V=h,V==null?V="":typeof V=="number"?V+="":Array.isArray(V)&&(V=x.map(V,function(se){return se==null?"":se+""})),b=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],(!b||!("set"in b)||b.set(this,V,"value")===void 0)&&(this.value=V))})):L?(b=x.valHooks[L.type]||x.valHooks[L.nodeName.toLowerCase()],b&&"get"in b&&(C=b.get(L,"value"))!==void 0?C:(C=L.value,typeof C=="string"?C.replace(zn,""):C??"")):void 0}}),x.extend({valHooks:{option:{get:function(h){var b=x.find.attr(h,"value");return b??dt(x.text(h))}},select:{get:function(h){var b,C,P,L=h.options,N=h.selectedIndex,V=h.type==="select-one",se=V?null:[],te=V?N+1:L.length;for(N<0?P=te:P=V?N:0;P<te;P++)if(C=L[P],(C.selected||P===N)&&!C.disabled&&(!C.parentNode.disabled||!ae(C.parentNode,"optgroup"))){if(b=x(C).val(),V)return b;se.push(b)}return se},set:function(h,b){for(var C,P,L=h.options,N=x.makeArray(b),V=L.length;V--;)P=L[V],(P.selected=x.inArray(x.valHooks.option.get(P),N)>-1)&&(C=!0);return C||(h.selectedIndex=-1),N}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(h,b){if(Array.isArray(b))return h.checked=x.inArray(x(h).val(),b)>-1}},A.checkOn||(x.valHooks[this].get=function(h){return h.getAttribute("value")===null?"on":h.value})});var En=e.location,Jr={guid:Date.now()},lr=/\?/;x.parseXML=function(h){var b,C;if(!h||typeof h!="string")return null;try{b=new e.DOMParser().parseFromString(h,"text/xml")}catch{}return C=b&&b.getElementsByTagName("parsererror")[0],(!b||C)&&x.error("Invalid XML: "+(C?x.map(C.childNodes,function(P){return P.textContent}).join(`
|
|
172
|
-
`):h)),b};var Yi=/^(?:focusinfocus|focusoutblur)$/,mi=function(h){h.stopPropagation()};x.extend(x.event,{trigger:function(h,b,C,P){var L,N,V,se,te,pe,_e,Ae,Te=[C||R],$e=g.call(h,"type")?h.type:h,it=g.call(h,"namespace")?h.namespace.split("."):[];if(N=Ae=V=C=C||R,!(C.nodeType===3||C.nodeType===8)&&!Yi.test($e+x.event.triggered)&&($e.indexOf(".")>-1&&(it=$e.split("."),$e=it.shift(),it.sort()),te=$e.indexOf(":")<0&&"on"+$e,h=h[x.expando]?h:new x.Event($e,typeof h=="object"&&h),h.isTrigger=P?2:3,h.namespace=it.join("."),h.rnamespace=h.namespace?new RegExp("(^|\\.)"+it.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h.result=void 0,h.target||(h.target=C),b=b==null?[h]:x.makeArray(b,[h]),_e=x.event.special[$e]||{},!(!P&&_e.trigger&&_e.trigger.apply(C,b)===!1))){if(!P&&!_e.noBubble&&!j(C)){for(se=_e.delegateType||$e,Yi.test(se+$e)||(N=N.parentNode);N;N=N.parentNode)Te.push(N),V=N;V===(C.ownerDocument||R)&&Te.push(V.defaultView||V.parentWindow||e)}for(L=0;(N=Te[L++])&&!h.isPropagationStopped();)Ae=N,h.type=L>1?se:_e.bindType||$e,pe=(ut.get(N,"events")||Object.create(null))[h.type]&&ut.get(N,"handle"),pe&&pe.apply(N,b),pe=te&&N[te],pe&&pe.apply&&fn(N)&&(h.result=pe.apply(N,b),h.result===!1&&h.preventDefault());return h.type=$e,!P&&!h.isDefaultPrevented()&&(!_e._default||_e._default.apply(Te.pop(),b)===!1)&&fn(C)&&te&&I(C[$e])&&!j(C)&&(V=C[te],V&&(C[te]=null),x.event.triggered=$e,h.isPropagationStopped()&&Ae.addEventListener($e,mi),C[$e](),h.isPropagationStopped()&&Ae.removeEventListener($e,mi),x.event.triggered=void 0,V&&(C[te]=V)),h.result}},simulate:function(h,b,C){var P=x.extend(new x.Event,C,{type:h,isSimulated:!0});x.event.trigger(P,null,b)}}),x.fn.extend({trigger:function(h,b){return this.each(function(){x.event.trigger(h,b,this)})},triggerHandler:function(h,b){var C=this[0];if(C)return x.event.trigger(h,b,C,!0)}});var Gi=/\[\]$/,
|
|
173
|
-
`)}}):{name:b.name,value:C.replace(
|
|
174
|
-
`)}}).get()}});var rs=/%20/g,Sr=/#.*$/,za=/([?&])_=[^&]*/,vi=/^(.*?):[ \t]*([^\r\n]*)$/mg,js=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,is=/^(?:GET|HEAD)$/,rn=/^\/\//,Gt={},Kt={},Ri="*/".concat("*"),Qr=R.createElement("a");Qr.href=En.href;function Io(h){return function(b,C){typeof b!="string"&&(C=b,b="*");var P,L=0,N=b.toLowerCase().match(ft)||[];if(I(C))for(;P=N[L++];)P[0]==="+"?(P=P.slice(1)||"*",(h[P]=h[P]||[]).unshift(C)):(h[P]=h[P]||[]).push(C)}}function yi(h,b,C,P){var L={},N=h===Kt;function V(se){var te;return L[se]=!0,x.each(h[se]||[],function(pe,_e){var Ae=_e(b,C,P);if(typeof Ae=="string"&&!N&&!L[Ae])return b.dataTypes.unshift(Ae),V(Ae),!1;if(N)return!(te=Ae)}),te}return V(b.dataTypes[0])||!L["*"]&&V("*")}function ur(h,b){var C,P,L=x.ajaxSettings.flatOptions||{};for(C in b)b[C]!==void 0&&((L[C]?h:P||(P={}))[C]=b[C]);return P&&x.extend(!0,h,P),h}function Bs(h,b,C){for(var P,L,N,V,se=h.contents,te=h.dataTypes;te[0]==="*";)te.shift(),P===void 0&&(P=h.mimeType||b.getResponseHeader("Content-Type"));if(P){for(L in se)if(se[L]&&se[L].test(P)){te.unshift(L);break}}if(te[0]in C)N=te[0];else{for(L in C){if(!te[0]||h.converters[L+" "+te[0]]){N=L;break}V||(V=L)}N=N||V}if(N)return N!==te[0]&&te.unshift(N),C[N]}function co(h,b,C,P){var L,N,V,se,te,pe={},_e=h.dataTypes.slice();if(_e[1])for(V in h.converters)pe[V.toLowerCase()]=h.converters[V];for(N=_e.shift();N;)if(h.responseFields[N]&&(C[h.responseFields[N]]=b),!te&&P&&h.dataFilter&&(b=h.dataFilter(b,h.dataType)),te=N,N=_e.shift(),N){if(N==="*")N=te;else if(te!=="*"&&te!==N){if(V=pe[te+" "+N]||pe["* "+N],!V){for(L in pe)if(se=L.split(" "),se[1]===N&&(V=pe[te+" "+se[0]]||pe["* "+se[0]],V)){V===!0?V=pe[L]:pe[L]!==!0&&(N=se[0],_e.unshift(se[1]));break}}if(V!==!0)if(V&&h.throws)b=V(b);else try{b=V(b)}catch(Ae){return{state:"parsererror",error:V?Ae:"No conversion from "+te+" to "+N}}}}return{state:"success",data:b}}x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:En.href,type:"GET",isLocal:js.test(En.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ri,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(h,b){return b?ur(ur(h,x.ajaxSettings),b):ur(x.ajaxSettings,h)},ajaxPrefilter:Io(Gt),ajaxTransport:Io(Kt),ajax:function(h,b){typeof h=="object"&&(b=h,h=void 0),b=b||{};var C,P,L,N,V,se,te,pe,_e,Ae,Te=x.ajaxSetup({},b),$e=Te.context||Te,it=Te.context&&($e.nodeType||$e.jquery)?x($e):x.event,Tt=x.Deferred(),Et=x.Callbacks("once memory"),Rn=Te.statusCode||{},un={},Fr={},Nr="canceled",Lt={readyState:0,getResponseHeader:function(jt){var Qt;if(te){if(!N)for(N={};Qt=vi.exec(L);)N[Qt[1].toLowerCase()+" "]=(N[Qt[1].toLowerCase()+" "]||[]).concat(Qt[2]);Qt=N[jt.toLowerCase()+" "]}return Qt==null?null:Qt.join(", ")},getAllResponseHeaders:function(){return te?L:null},setRequestHeader:function(jt,Qt){return te==null&&(jt=Fr[jt.toLowerCase()]=Fr[jt.toLowerCase()]||jt,un[jt]=Qt),this},overrideMimeType:function(jt){return te==null&&(Te.mimeType=jt),this},statusCode:function(jt){var Qt;if(jt)if(te)Lt.always(jt[Lt.status]);else for(Qt in jt)Rn[Qt]=[Rn[Qt],jt[Qt]];return this},abort:function(jt){var Qt=jt||Nr;return C&&C.abort(Qt),jr(0,Qt),this}};if(Tt.promise(Lt),Te.url=((h||Te.url||En.href)+"").replace(rn,En.protocol+"//"),Te.type=b.method||b.type||Te.method||Te.type,Te.dataTypes=(Te.dataType||"*").toLowerCase().match(ft)||[""],Te.crossDomain==null){se=R.createElement("a");try{se.href=Te.url,se.href=se.href,Te.crossDomain=Qr.protocol+"//"+Qr.host!=se.protocol+"//"+se.host}catch{Te.crossDomain=!0}}if(Te.data&&Te.processData&&typeof Te.data!="string"&&(Te.data=x.param(Te.data,Te.traditional)),yi(Gt,Te,b,Lt),te)return Lt;pe=x.event&&Te.global,pe&&x.active++===0&&x.event.trigger("ajaxStart"),Te.type=Te.type.toUpperCase(),Te.hasContent=!is.test(Te.type),P=Te.url.replace(Sr,""),Te.hasContent?Te.data&&Te.processData&&(Te.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Te.data=Te.data.replace(rs,"+")):(Ae=Te.url.slice(P.length),Te.data&&(Te.processData||typeof Te.data=="string")&&(P+=(lr.test(P)?"&":"?")+Te.data,delete Te.data),Te.cache===!1&&(P=P.replace(za,"$1"),Ae=(lr.test(P)?"&":"?")+"_="+Jr.guid+++Ae),Te.url=P+Ae),Te.ifModified&&(x.lastModified[P]&&Lt.setRequestHeader("If-Modified-Since",x.lastModified[P]),x.etag[P]&&Lt.setRequestHeader("If-None-Match",x.etag[P])),(Te.data&&Te.hasContent&&Te.contentType!==!1||b.contentType)&&Lt.setRequestHeader("Content-Type",Te.contentType),Lt.setRequestHeader("Accept",Te.dataTypes[0]&&Te.accepts[Te.dataTypes[0]]?Te.accepts[Te.dataTypes[0]]+(Te.dataTypes[0]!=="*"?", "+Ri+"; q=0.01":""):Te.accepts["*"]);for(_e in Te.headers)Lt.setRequestHeader(_e,Te.headers[_e]);if(Te.beforeSend&&(Te.beforeSend.call($e,Lt,Te)===!1||te))return Lt.abort();if(Nr="abort",Et.add(Te.complete),Lt.done(Te.success),Lt.fail(Te.error),C=yi(Kt,Te,b,Lt),!C)jr(-1,"No Transport");else{if(Lt.readyState=1,pe&&it.trigger("ajaxSend",[Lt,Te]),te)return Lt;Te.async&&Te.timeout>0&&(V=e.setTimeout(function(){Lt.abort("timeout")},Te.timeout));try{te=!1,C.send(un,jr)}catch(jt){if(te)throw jt;jr(-1,jt)}}function jr(jt,Qt,ho,po){var Tr,D,M,W,Q,be=Qt;te||(te=!0,V&&e.clearTimeout(V),C=void 0,L=po||"",Lt.readyState=jt>0?4:0,Tr=jt>=200&&jt<300||jt===304,ho&&(W=Bs(Te,Lt,ho)),!Tr&&x.inArray("script",Te.dataTypes)>-1&&x.inArray("json",Te.dataTypes)<0&&(Te.converters["text script"]=function(){}),W=co(Te,W,Lt,Tr),Tr?(Te.ifModified&&(Q=Lt.getResponseHeader("Last-Modified"),Q&&(x.lastModified[P]=Q),Q=Lt.getResponseHeader("etag"),Q&&(x.etag[P]=Q)),jt===204||Te.type==="HEAD"?be="nocontent":jt===304?be="notmodified":(be=W.state,D=W.data,M=W.error,Tr=!M)):(M=be,(jt||!be)&&(be="error",jt<0&&(jt=0))),Lt.status=jt,Lt.statusText=(Qt||be)+"",Tr?Tt.resolveWith($e,[D,be,Lt]):Tt.rejectWith($e,[Lt,be,M]),Lt.statusCode(Rn),Rn=void 0,pe&&it.trigger(Tr?"ajaxSuccess":"ajaxError",[Lt,Te,Tr?D:M]),Et.fireWith($e,[Lt,be]),pe&&(it.trigger("ajaxComplete",[Lt,Te]),--x.active||x.event.trigger("ajaxStop")))}return Lt},getJSON:function(h,b,C){return x.get(h,b,C,"json")},getScript:function(h,b){return x.get(h,void 0,b,"script")}}),x.each(["get","post"],function(h,b){x[b]=function(C,P,L,N){return I(P)&&(N=N||L,L=P,P=void 0),x.ajax(x.extend({url:C,type:b,dataType:N,data:P,success:L},x.isPlainObject(C)&&C))}}),x.ajaxPrefilter(function(h){var b;for(b in h.headers)b.toLowerCase()==="content-type"&&(h.contentType=h.headers[b]||"")}),x._evalUrl=function(h,b,C){return x.ajax({url:h,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(P){x.globalEval(P,b,C)}})},x.fn.extend({wrapAll:function(h){var b;return this[0]&&(I(h)&&(h=h.call(this[0])),b=x(h,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){for(var C=this;C.firstElementChild;)C=C.firstElementChild;return C}).append(this)),this},wrapInner:function(h){return I(h)?this.each(function(b){x(this).wrapInner(h.call(this,b))}):this.each(function(){var b=x(this),C=b.contents();C.length?C.wrapAll(h):b.append(h)})},wrap:function(h){var b=I(h);return this.each(function(C){x(this).wrapAll(b?h.call(this,C):h)})},unwrap:function(h){return this.parent(h).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(h){return!x.expr.pseudos.visible(h)},x.expr.pseudos.visible=function(h){return!!(h.offsetWidth||h.offsetHeight||h.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch{}};var ua={0:200,1223:204},ln=x.ajaxSettings.xhr();A.cors=!!ln&&"withCredentials"in ln,A.ajax=ln=!!ln,x.ajaxTransport(function(h){var b,C;if(A.cors||ln&&!h.crossDomain)return{send:function(P,L){var N,V=h.xhr();if(V.open(h.type,h.url,h.async,h.username,h.password),h.xhrFields)for(N in h.xhrFields)V[N]=h.xhrFields[N];h.mimeType&&V.overrideMimeType&&V.overrideMimeType(h.mimeType),!h.crossDomain&&!P["X-Requested-With"]&&(P["X-Requested-With"]="XMLHttpRequest");for(N in P)V.setRequestHeader(N,P[N]);b=function(se){return function(){b&&(b=C=V.onload=V.onerror=V.onabort=V.ontimeout=V.onreadystatechange=null,se==="abort"?V.abort():se==="error"?typeof V.status!="number"?L(0,"error"):L(V.status,V.statusText):L(ua[V.status]||V.status,V.statusText,(V.responseType||"text")!=="text"||typeof V.responseText!="string"?{binary:V.response}:{text:V.responseText},V.getAllResponseHeaders()))}},V.onload=b(),C=V.onerror=V.ontimeout=b("error"),V.onabort!==void 0?V.onabort=C:V.onreadystatechange=function(){V.readyState===4&&e.setTimeout(function(){b&&C()})},b=b("abort");try{V.send(h.hasContent&&h.data||null)}catch(se){if(b)throw se}},abort:function(){b&&b()}}}),x.ajaxPrefilter(function(h){h.crossDomain&&(h.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(h){return x.globalEval(h),h}}}),x.ajaxPrefilter("script",function(h){h.cache===void 0&&(h.cache=!1),h.crossDomain&&(h.type="GET")}),x.ajaxTransport("script",function(h){if(h.crossDomain||h.scriptAttrs){var b,C;return{send:function(P,L){b=x("<script>").attr(h.scriptAttrs||{}).prop({charset:h.scriptCharset,src:h.url}).on("load error",C=function(N){b.remove(),C=null,N&&L(N.type==="error"?404:200,N.type)}),R.head.appendChild(b[0])},abort:function(){C&&C()}}}});var Mo=[],bi=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var h=Mo.pop()||x.expando+"_"+Jr.guid++;return this[h]=!0,h}}),x.ajaxPrefilter("json jsonp",function(h,b,C){var P,L,N,V=h.jsonp!==!1&&(bi.test(h.url)?"url":typeof h.data=="string"&&(h.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&bi.test(h.data)&&"data");if(V||h.dataTypes[0]==="jsonp")return P=h.jsonpCallback=I(h.jsonpCallback)?h.jsonpCallback():h.jsonpCallback,V?h[V]=h[V].replace(bi,"$1"+P):h.jsonp!==!1&&(h.url+=(lr.test(h.url)?"&":"?")+h.jsonp+"="+P),h.converters["script json"]=function(){return N||x.error(P+" was not called"),N[0]},h.dataTypes[0]="json",L=e[P],e[P]=function(){N=arguments},C.always(function(){L===void 0?x(e).removeProp(P):e[P]=L,h[P]&&(h.jsonpCallback=b.jsonpCallback,Mo.push(P)),N&&I(L)&&L(N[0]),N=L=void 0}),"script"}),A.createHTMLDocument=function(){var h=R.implementation.createHTMLDocument("").body;return h.innerHTML="<form></form><form></form>",h.childNodes.length===2}(),x.parseHTML=function(h,b,C){if(typeof h!="string")return[];typeof b=="boolean"&&(C=b,b=!1);var P,L,N;return b||(A.createHTMLDocument?(b=R.implementation.createHTMLDocument(""),P=b.createElement("base"),P.href=R.location.href,b.head.appendChild(P)):b=R),L=Ne.exec(h),N=!C&&[],L?[b.createElement(L[1])]:(L=Tn([h],b,N),N&&N.length&&x(N).remove(),x.merge([],L.childNodes))},x.fn.load=function(h,b,C){var P,L,N,V=this,se=h.indexOf(" ");return se>-1&&(P=dt(h.slice(se)),h=h.slice(0,se)),I(b)?(C=b,b=void 0):b&&typeof b=="object"&&(L="POST"),V.length>0&&x.ajax({url:h,type:L||"GET",dataType:"html",data:b}).done(function(te){N=arguments,V.html(P?x("<div>").append(x.parseHTML(te)).find(P):te)}).always(C&&function(te,pe){V.each(function(){C.apply(this,N||[te.responseText,pe,te])})}),this},x.expr.pseudos.animated=function(h){return x.grep(x.timers,function(b){return h===b.elem}).length},x.offset={setOffset:function(h,b,C){var P,L,N,V,se,te,pe,_e=x.css(h,"position"),Ae=x(h),Te={};_e==="static"&&(h.style.position="relative"),se=Ae.offset(),N=x.css(h,"top"),te=x.css(h,"left"),pe=(_e==="absolute"||_e==="fixed")&&(N+te).indexOf("auto")>-1,pe?(P=Ae.position(),V=P.top,L=P.left):(V=parseFloat(N)||0,L=parseFloat(te)||0),I(b)&&(b=b.call(h,C,x.extend({},se))),b.top!=null&&(Te.top=b.top-se.top+V),b.left!=null&&(Te.left=b.left-se.left+L),"using"in b?b.using.call(h,Te):Ae.css(Te)}},x.fn.extend({offset:function(h){if(arguments.length)return h===void 0?this:this.each(function(L){x.offset.setOffset(this,h,L)});var b,C,P=this[0];if(P)return P.getClientRects().length?(b=P.getBoundingClientRect(),C=P.ownerDocument.defaultView,{top:b.top+C.pageYOffset,left:b.left+C.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var h,b,C,P=this[0],L={top:0,left:0};if(x.css(P,"position")==="fixed")b=P.getBoundingClientRect();else{for(b=this.offset(),C=P.ownerDocument,h=P.offsetParent||C.documentElement;h&&(h===C.body||h===C.documentElement)&&x.css(h,"position")==="static";)h=h.parentNode;h&&h!==P&&h.nodeType===1&&(L=x(h).offset(),L.top+=x.css(h,"borderTopWidth",!0),L.left+=x.css(h,"borderLeftWidth",!0))}return{top:b.top-L.top-x.css(P,"marginTop",!0),left:b.left-L.left-x.css(P,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var h=this.offsetParent;h&&x.css(h,"position")==="static";)h=h.offsetParent;return h||Or})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(h,b){var C=b==="pageYOffset";x.fn[h]=function(P){return Sn(this,function(L,N,V){var se;if(j(L)?se=L:L.nodeType===9&&(se=L.defaultView),V===void 0)return se?se[b]:L[N];se?se.scrollTo(C?se.pageXOffset:V,C?V:se.pageYOffset):L[N]=V},h,P,arguments.length)}}),x.each(["top","left"],function(h,b){x.cssHooks[b]=ar(A.pixelPosition,function(C,P){if(P)return P=Oi(C,b),Kr.test(P)?x(C).position()[b]+"px":P})}),x.each({Height:"height",Width:"width"},function(h,b){x.each({padding:"inner"+h,content:b,"":"outer"+h},function(C,P){x.fn[P]=function(L,N){var V=arguments.length&&(C||typeof L!="boolean"),se=C||(L===!0||N===!0?"margin":"border");return Sn(this,function(te,pe,_e){var Ae;return j(te)?P.indexOf("outer")===0?te["inner"+h]:te.document.documentElement["client"+h]:te.nodeType===9?(Ae=te.documentElement,Math.max(te.body["scroll"+h],Ae["scroll"+h],te.body["offset"+h],Ae["offset"+h],Ae["client"+h])):_e===void 0?x.css(te,pe,se):x.style(te,pe,_e,se)},b,V?L:void 0,V)}})}),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(h,b){x.fn[b]=function(C){return this.on(b,C)}}),x.fn.extend({bind:function(h,b,C){return this.on(h,null,b,C)},unbind:function(h,b){return this.off(h,null,b)},delegate:function(h,b,C,P){return this.on(b,h,C,P)},undelegate:function(h,b,C){return arguments.length===1?this.off(h,"**"):this.off(b,h||"**",C)},hover:function(h,b){return this.on("mouseenter",h).on("mouseleave",b||h)}}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(h,b){x.fn[b]=function(C,P){return arguments.length>0?this.on(b,null,C,P):this.trigger(b)}});var ca=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;x.proxy=function(h,b){var C,P,L;if(typeof b=="string"&&(C=h[b],b=h,h=C),!!I(h))return P=o.call(arguments,2),L=function(){return h.apply(b||this,P.concat(o.call(arguments)))},L.guid=h.guid=h.guid||x.guid++,L},x.holdReady=function(h){h?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=ae,x.isFunction=I,x.isWindow=j,x.camelCase=sn,x.type=ne,x.now=Date.now,x.isNumeric=function(h){var b=x.type(h);return(b==="number"||b==="string")&&!isNaN(h-parseFloat(h))},x.trim=function(h){return h==null?"":(h+"").replace(ca,"$1")};var fo=e.jQuery,cr=e.$;return x.noConflict=function(h){return e.$===x&&(e.$=cr),h&&e.jQuery===x&&(e.jQuery=fo),x},typeof n>"u"&&(e.jQuery=e.$=x),x})})(ZD);var JD=ZD.exports;const O6=Eu(JD);var _6={exports:{}};/**
|
|
171
|
+
*/(function(t){(function(e,n){t.exports=e.document?n(e,!0):function(r){if(!r.document)throw new Error("jQuery requires a window with a document");return n(r)}})(typeof window<"u"?window:ki,function(e,n){var r=[],i=Object.getPrototypeOf,o=r.slice,a=r.flat?function(h){return r.flat.call(h)}:function(h){return r.concat.apply([],h)},c=r.push,f=r.indexOf,p={},y=p.toString,g=p.hasOwnProperty,T=g.toString,E=T.call(Object),A={},I=function(b){return typeof b=="function"&&typeof b.nodeType!="number"&&typeof b.item!="function"},j=function(b){return b!=null&&b===b.window},R=e.document,U={type:!0,src:!0,nonce:!0,noModule:!0};function H(h,b,C){C=C||R;var P,L,N=C.createElement("script");if(N.text=h,b)for(P in U)L=b[P]||b.getAttribute&&b.getAttribute(P),L&&N.setAttribute(P,L);C.head.appendChild(N).parentNode.removeChild(N)}function ne(h){return h==null?h+"":typeof h=="object"||typeof h=="function"?p[y.call(h)]||"object":typeof h}var q="3.7.1",ie=/HTML$/i,x=function(h,b){return new x.fn.init(h,b)};x.fn=x.prototype={jquery:q,constructor:x,length:0,toArray:function(){return o.call(this)},get:function(h){return h==null?o.call(this):h<0?this[h+this.length]:this[h]},pushStack:function(h){var b=x.merge(this.constructor(),h);return b.prevObject=this,b},each:function(h){return x.each(this,h)},map:function(h){return this.pushStack(x.map(this,function(b,C){return h.call(b,C,b)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,function(h,b){return(b+1)%2}))},odd:function(){return this.pushStack(x.grep(this,function(h,b){return b%2}))},eq:function(h){var b=this.length,C=+h+(h<0?b:0);return this.pushStack(C>=0&&C<b?[this[C]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:r.sort,splice:r.splice},x.extend=x.fn.extend=function(){var h,b,C,P,L,N,V=arguments[0]||{},se=1,te=arguments.length,pe=!1;for(typeof V=="boolean"&&(pe=V,V=arguments[se]||{},se++),typeof V!="object"&&!I(V)&&(V={}),se===te&&(V=this,se--);se<te;se++)if((h=arguments[se])!=null)for(b in h)P=h[b],!(b==="__proto__"||V===P)&&(pe&&P&&(x.isPlainObject(P)||(L=Array.isArray(P)))?(C=V[b],L&&!Array.isArray(C)?N=[]:!L&&!x.isPlainObject(C)?N={}:N=C,L=!1,V[b]=x.extend(pe,N,P)):P!==void 0&&(V[b]=P));return V},x.extend({expando:"jQuery"+(q+Math.random()).replace(/\D/g,""),isReady:!0,error:function(h){throw new Error(h)},noop:function(){},isPlainObject:function(h){var b,C;return!h||y.call(h)!=="[object Object]"?!1:(b=i(h),b?(C=g.call(b,"constructor")&&b.constructor,typeof C=="function"&&T.call(C)===E):!0)},isEmptyObject:function(h){var b;for(b in h)return!1;return!0},globalEval:function(h,b,C){H(h,{nonce:b&&b.nonce},C)},each:function(h,b){var C,P=0;if(le(h))for(C=h.length;P<C&&b.call(h[P],P,h[P])!==!1;P++);else for(P in h)if(b.call(h[P],P,h[P])===!1)break;return h},text:function(h){var b,C="",P=0,L=h.nodeType;if(!L)for(;b=h[P++];)C+=x.text(b);return L===1||L===11?h.textContent:L===9?h.documentElement.textContent:L===3||L===4?h.nodeValue:C},makeArray:function(h,b){var C=b||[];return h!=null&&(le(Object(h))?x.merge(C,typeof h=="string"?[h]:h):c.call(C,h)),C},inArray:function(h,b,C){return b==null?-1:f.call(b,h,C)},isXMLDoc:function(h){var b=h&&h.namespaceURI,C=h&&(h.ownerDocument||h).documentElement;return!ie.test(b||C&&C.nodeName||"HTML")},merge:function(h,b){for(var C=+b.length,P=0,L=h.length;P<C;P++)h[L++]=b[P];return h.length=L,h},grep:function(h,b,C){for(var P,L=[],N=0,V=h.length,se=!C;N<V;N++)P=!b(h[N],N),P!==se&&L.push(h[N]);return L},map:function(h,b,C){var P,L,N=0,V=[];if(le(h))for(P=h.length;N<P;N++)L=b(h[N],N,C),L!=null&&V.push(L);else for(N in h)L=b(h[N],N,C),L!=null&&V.push(L);return a(V)},guid:1,support:A}),typeof Symbol=="function"&&(x.fn[Symbol.iterator]=r[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(h,b){p["[object "+b+"]"]=b.toLowerCase()});function le(h){var b=!!h&&"length"in h&&h.length,C=ne(h);return I(h)||j(h)?!1:C==="array"||b===0||typeof b=="number"&&b>0&&b-1 in h}function ae(h,b){return h.nodeName&&h.nodeName.toLowerCase()===b.toLowerCase()}var Ve=r.pop,tt=r.sort,Qe=r.splice,qe="[\\x20\\t\\r\\n\\f]",Oe=new RegExp("^"+qe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+qe+"+$","g");x.contains=function(h,b){var C=b&&b.parentNode;return h===C||!!(C&&C.nodeType===1&&(h.contains?h.contains(C):h.compareDocumentPosition&&h.compareDocumentPosition(C)&16))};var ue=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function ve(h,b){return b?h==="\0"?"�":h.slice(0,-1)+"\\"+h.charCodeAt(h.length-1).toString(16)+" ":"\\"+h}x.escapeSelector=function(h){return(h+"").replace(ue,ve)};var ke=R,Le=c;(function(){var h,b,C,P,L,N=Le,V,se,te,pe,_e,Ae=x.expando,Te=0,$e=0,it=An(),Tt=An(),Et=An(),Rn=An(),un=function(J,de){return J===de&&(L=!0),0},Nr="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",jr="(?:\\\\[\\da-fA-F]{1,6}"+qe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Lt="\\["+qe+"*("+jr+")(?:"+qe+"*([*^$|!~]?=)"+qe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+jr+"))|)"+qe+"*\\]",Br=":("+jr+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Lt+")*)|.*)\\)|)",jt=new RegExp(qe+"+","g"),Qt=new RegExp("^"+qe+"*,"+qe+"*"),ho=new RegExp("^"+qe+"*([>+~]|"+qe+")"+qe+"*"),po=new RegExp(qe+"|>"),Tr=new RegExp(Br),D=new RegExp("^"+jr+"$"),M={ID:new RegExp("^#("+jr+")"),CLASS:new RegExp("^\\.("+jr+")"),TAG:new RegExp("^("+jr+"|[*])"),ATTR:new RegExp("^"+Lt),PSEUDO:new RegExp("^"+Br),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+qe+"*(even|odd|(([+-]|)(\\d*)n|)"+qe+"*(?:([+-]|)"+qe+"*(\\d+)|))"+qe+"*\\)|)","i"),bool:new RegExp("^(?:"+Nr+")$","i"),needsContext:new RegExp("^"+qe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+qe+"*((?:-\\d)?\\d*)"+qe+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,be=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,we=/[+~]/,Me=new RegExp("\\\\[\\da-fA-F]{1,6}"+qe+"?|\\\\([^\\r\\n\\f])","g"),Ye=function(J,de){var Ce="0x"+J.slice(1)-65536;return de||(Ce<0?String.fromCharCode(Ce+65536):String.fromCharCode(Ce>>10|55296,Ce&1023|56320))},ht=function(){Ai()},_t=mo(function(J){return J.disabled===!0&&ae(J,"fieldset")},{dir:"parentNode",next:"legend"});function St(){try{return V.activeElement}catch{}}try{N.apply(r=o.call(ke.childNodes),ke.childNodes),r[ke.childNodes.length].nodeType}catch{N={apply:function(de,Ce){Le.apply(de,o.call(Ce))},call:function(de){Le.apply(de,o.call(arguments,1))}}}function vt(J,de,Ce,De){var Z,fe,ce,Ie,Fe,st,lt,rt=de&&de.ownerDocument,It=de?de.nodeType:9;if(Ce=Ce||[],typeof J!="string"||!J||It!==1&&It!==9&&It!==11)return Ce;if(!De&&(Ai(de),de=de||V,te)){if(It!==11&&(Fe=be.exec(J)))if(Z=Fe[1]){if(It===9)if(ce=de.getElementById(Z)){if(ce.id===Z)return N.call(Ce,ce),Ce}else return Ce;else if(rt&&(ce=rt.getElementById(Z))&&vt.contains(de,ce)&&ce.id===Z)return N.call(Ce,ce),Ce}else{if(Fe[2])return N.apply(Ce,de.getElementsByTagName(J)),Ce;if((Z=Fe[3])&&de.getElementsByClassName)return N.apply(Ce,de.getElementsByClassName(Z)),Ce}if(!Rn[J+" "]&&(!pe||!pe.test(J))){if(lt=J,rt=de,It===1&&(po.test(J)||ho.test(J))){for(rt=we.test(J)&&Ya(de.parentNode)||de,(rt!=de||!A.scope)&&((Ie=de.getAttribute("id"))?Ie=x.escapeSelector(Ie):de.setAttribute("id",Ie=Ae)),st=ss(J),fe=st.length;fe--;)st[fe]=(Ie?"#"+Ie:":scope")+" "+ni(st[fe]);lt=st.join(",")}try{return N.apply(Ce,rt.querySelectorAll(lt)),Ce}catch{Rn(J,!0)}finally{Ie===Ae&&de.removeAttribute("id")}}}return $s(J.replace(Oe,"$1"),de,Ce,De)}function An(){var J=[];function de(Ce,De){return J.push(Ce+" ")>b.cacheLength&&delete de[J.shift()],de[Ce+" "]=De}return de}function bn(J){return J[Ae]=!0,J}function $n(J){var de=V.createElement("fieldset");try{return!!J(de)}catch{return!1}finally{de.parentNode&&de.parentNode.removeChild(de),de=null}}function os(J){return function(de){return ae(de,"input")&&de.type===J}}function fa(J){return function(de){return(ae(de,"input")||ae(de,"button"))&&de.type===J}}function go(J){return function(de){return"form"in de?de.parentNode&&de.disabled===!1?"label"in de?"label"in de.parentNode?de.parentNode.disabled===J:de.disabled===J:de.isDisabled===J||de.isDisabled!==!J&&_t(de)===J:de.disabled===J:"label"in de?de.disabled===J:!1}}function ti(J){return bn(function(de){return de=+de,bn(function(Ce,De){for(var Z,fe=J([],Ce.length,de),ce=fe.length;ce--;)Ce[Z=fe[ce]]&&(Ce[Z]=!(De[Z]=Ce[Z]))})})}function Ya(J){return J&&typeof J.getElementsByTagName<"u"&&J}function Ai(J){var de,Ce=J?J.ownerDocument||J:ke;return Ce==V||Ce.nodeType!==9||!Ce.documentElement||(V=Ce,se=V.documentElement,te=!x.isXMLDoc(V),_e=se.matches||se.webkitMatchesSelector||se.msMatchesSelector,se.msMatchesSelector&&ke!=V&&(de=V.defaultView)&&de.top!==de&&de.addEventListener("unload",ht),A.getById=$n(function(De){return se.appendChild(De).id=x.expando,!V.getElementsByName||!V.getElementsByName(x.expando).length}),A.disconnectedMatch=$n(function(De){return _e.call(De,"*")}),A.scope=$n(function(){return V.querySelectorAll(":scope")}),A.cssHas=$n(function(){try{return V.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),A.getById?(b.filter.ID=function(De){var Z=De.replace(Me,Ye);return function(fe){return fe.getAttribute("id")===Z}},b.find.ID=function(De,Z){if(typeof Z.getElementById<"u"&&te){var fe=Z.getElementById(De);return fe?[fe]:[]}}):(b.filter.ID=function(De){var Z=De.replace(Me,Ye);return function(fe){var ce=typeof fe.getAttributeNode<"u"&&fe.getAttributeNode("id");return ce&&ce.value===Z}},b.find.ID=function(De,Z){if(typeof Z.getElementById<"u"&&te){var fe,ce,Ie,Fe=Z.getElementById(De);if(Fe){if(fe=Fe.getAttributeNode("id"),fe&&fe.value===De)return[Fe];for(Ie=Z.getElementsByName(De),ce=0;Fe=Ie[ce++];)if(fe=Fe.getAttributeNode("id"),fe&&fe.value===De)return[Fe]}return[]}}),b.find.TAG=function(De,Z){return typeof Z.getElementsByTagName<"u"?Z.getElementsByTagName(De):Z.querySelectorAll(De)},b.find.CLASS=function(De,Z){if(typeof Z.getElementsByClassName<"u"&&te)return Z.getElementsByClassName(De)},pe=[],$n(function(De){var Z;se.appendChild(De).innerHTML="<a id='"+Ae+"' href='' disabled='disabled'></a><select id='"+Ae+"-\r\\' disabled='disabled'><option selected=''></option></select>",De.querySelectorAll("[selected]").length||pe.push("\\["+qe+"*(?:value|"+Nr+")"),De.querySelectorAll("[id~="+Ae+"-]").length||pe.push("~="),De.querySelectorAll("a#"+Ae+"+*").length||pe.push(".#.+[+~]"),De.querySelectorAll(":checked").length||pe.push(":checked"),Z=V.createElement("input"),Z.setAttribute("type","hidden"),De.appendChild(Z).setAttribute("name","D"),se.appendChild(De).disabled=!0,De.querySelectorAll(":disabled").length!==2&&pe.push(":enabled",":disabled"),Z=V.createElement("input"),Z.setAttribute("name",""),De.appendChild(Z),De.querySelectorAll("[name='']").length||pe.push("\\["+qe+"*name"+qe+"*="+qe+`*(?:''|"")`)}),A.cssHas||pe.push(":has"),pe=pe.length&&new RegExp(pe.join("|")),un=function(De,Z){if(De===Z)return L=!0,0;var fe=!De.compareDocumentPosition-!Z.compareDocumentPosition;return fe||(fe=(De.ownerDocument||De)==(Z.ownerDocument||Z)?De.compareDocumentPosition(Z):1,fe&1||!A.sortDetached&&Z.compareDocumentPosition(De)===fe?De===V||De.ownerDocument==ke&&vt.contains(ke,De)?-1:Z===V||Z.ownerDocument==ke&&vt.contains(ke,Z)?1:P?f.call(P,De)-f.call(P,Z):0:fe&4?-1:1)}),V}vt.matches=function(J,de){return vt(J,null,null,de)},vt.matchesSelector=function(J,de){if(Ai(J),te&&!Rn[de+" "]&&(!pe||!pe.test(de)))try{var Ce=_e.call(J,de);if(Ce||A.disconnectedMatch||J.document&&J.document.nodeType!==11)return Ce}catch{Rn(de,!0)}return vt(de,V,null,[J]).length>0},vt.contains=function(J,de){return(J.ownerDocument||J)!=V&&Ai(J),x.contains(J,de)},vt.attr=function(J,de){(J.ownerDocument||J)!=V&&Ai(J);var Ce=b.attrHandle[de.toLowerCase()],De=Ce&&g.call(b.attrHandle,de.toLowerCase())?Ce(J,de,!te):void 0;return De!==void 0?De:J.getAttribute(de)},vt.error=function(J){throw new Error("Syntax error, unrecognized expression: "+J)},x.uniqueSort=function(J){var de,Ce=[],De=0,Z=0;if(L=!A.sortStable,P=!A.sortStable&&o.call(J,0),tt.call(J,un),L){for(;de=J[Z++];)de===J[Z]&&(De=Ce.push(Z));for(;De--;)Qe.call(J,Ce[De],1)}return P=null,J},x.fn.uniqueSort=function(){return this.pushStack(x.uniqueSort(o.apply(this)))},b=x.expr={cacheLength:50,createPseudo:bn,match:M,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(J){return J[1]=J[1].replace(Me,Ye),J[3]=(J[3]||J[4]||J[5]||"").replace(Me,Ye),J[2]==="~="&&(J[3]=" "+J[3]+" "),J.slice(0,4)},CHILD:function(J){return J[1]=J[1].toLowerCase(),J[1].slice(0,3)==="nth"?(J[3]||vt.error(J[0]),J[4]=+(J[4]?J[5]+(J[6]||1):2*(J[3]==="even"||J[3]==="odd")),J[5]=+(J[7]+J[8]||J[3]==="odd")):J[3]&&vt.error(J[0]),J},PSEUDO:function(J){var de,Ce=!J[6]&&J[2];return M.CHILD.test(J[0])?null:(J[3]?J[2]=J[4]||J[5]||"":Ce&&Tr.test(Ce)&&(de=ss(Ce,!0))&&(de=Ce.indexOf(")",Ce.length-de)-Ce.length)&&(J[0]=J[0].slice(0,de),J[2]=Ce.slice(0,de)),J.slice(0,3))}},filter:{TAG:function(J){var de=J.replace(Me,Ye).toLowerCase();return J==="*"?function(){return!0}:function(Ce){return ae(Ce,de)}},CLASS:function(J){var de=it[J+" "];return de||(de=new RegExp("(^|"+qe+")"+J+"("+qe+"|$)"))&&it(J,function(Ce){return de.test(typeof Ce.className=="string"&&Ce.className||typeof Ce.getAttribute<"u"&&Ce.getAttribute("class")||"")})},ATTR:function(J,de,Ce){return function(De){var Z=vt.attr(De,J);return Z==null?de==="!=":de?(Z+="",de==="="?Z===Ce:de==="!="?Z!==Ce:de==="^="?Ce&&Z.indexOf(Ce)===0:de==="*="?Ce&&Z.indexOf(Ce)>-1:de==="$="?Ce&&Z.slice(-Ce.length)===Ce:de==="~="?(" "+Z.replace(jt," ")+" ").indexOf(Ce)>-1:de==="|="?Z===Ce||Z.slice(0,Ce.length+1)===Ce+"-":!1):!0}},CHILD:function(J,de,Ce,De,Z){var fe=J.slice(0,3)!=="nth",ce=J.slice(-4)!=="last",Ie=de==="of-type";return De===1&&Z===0?function(Fe){return!!Fe.parentNode}:function(Fe,st,lt){var rt,It,wt,Vt,Yn,nr=fe!==ce?"nextSibling":"previousSibling",In=Fe.parentNode,zt=Ie&&Fe.nodeName.toLowerCase(),$r=!lt&&!Ie,kt=!1;if(In){if(fe){for(;nr;){for(wt=Fe;wt=wt[nr];)if(Ie?ae(wt,zt):wt.nodeType===1)return!1;Yn=nr=J==="only"&&!Yn&&"nextSibling"}return!0}if(Yn=[ce?In.firstChild:In.lastChild],ce&&$r){for(It=In[Ae]||(In[Ae]={}),rt=It[J]||[],Vt=rt[0]===Te&&rt[1],kt=Vt&&rt[2],wt=Vt&&In.childNodes[Vt];wt=++Vt&&wt&&wt[nr]||(kt=Vt=0)||Yn.pop();)if(wt.nodeType===1&&++kt&&wt===Fe){It[J]=[Te,Vt,kt];break}}else if($r&&(It=Fe[Ae]||(Fe[Ae]={}),rt=It[J]||[],Vt=rt[0]===Te&&rt[1],kt=Vt),kt===!1)for(;(wt=++Vt&&wt&&wt[nr]||(kt=Vt=0)||Yn.pop())&&!((Ie?ae(wt,zt):wt.nodeType===1)&&++kt&&($r&&(It=wt[Ae]||(wt[Ae]={}),It[J]=[Te,kt]),wt===Fe)););return kt-=Z,kt===De||kt%De===0&&kt/De>=0}}},PSEUDO:function(J,de){var Ce,De=b.pseudos[J]||b.setFilters[J.toLowerCase()]||vt.error("unsupported pseudo: "+J);return De[Ae]?De(de):De.length>1?(Ce=[J,J,"",de],b.setFilters.hasOwnProperty(J.toLowerCase())?bn(function(Z,fe){for(var ce,Ie=De(Z,de),Fe=Ie.length;Fe--;)ce=f.call(Z,Ie[Fe]),Z[ce]=!(fe[ce]=Ie[Fe])}):function(Z){return De(Z,0,Ce)}):De}},pseudos:{not:bn(function(J){var de=[],Ce=[],De=pa(J.replace(Oe,"$1"));return De[Ae]?bn(function(Z,fe,ce,Ie){for(var Fe,st=De(Z,null,Ie,[]),lt=Z.length;lt--;)(Fe=st[lt])&&(Z[lt]=!(fe[lt]=Fe))}):function(Z,fe,ce){return de[0]=Z,De(de,null,ce,Ce),de[0]=null,!Ce.pop()}}),has:bn(function(J){return function(de){return vt(J,de).length>0}}),contains:bn(function(J){return J=J.replace(Me,Ye),function(de){return(de.textContent||x.text(de)).indexOf(J)>-1}}),lang:bn(function(J){return D.test(J||"")||vt.error("unsupported lang: "+J),J=J.replace(Me,Ye).toLowerCase(),function(de){var Ce;do if(Ce=te?de.lang:de.getAttribute("xml:lang")||de.getAttribute("lang"))return Ce=Ce.toLowerCase(),Ce===J||Ce.indexOf(J+"-")===0;while((de=de.parentNode)&&de.nodeType===1);return!1}}),target:function(J){var de=e.location&&e.location.hash;return de&&de.slice(1)===J.id},root:function(J){return J===se},focus:function(J){return J===St()&&V.hasFocus()&&!!(J.type||J.href||~J.tabIndex)},enabled:go(!1),disabled:go(!0),checked:function(J){return ae(J,"input")&&!!J.checked||ae(J,"option")&&!!J.selected},selected:function(J){return J.parentNode&&J.parentNode.selectedIndex,J.selected===!0},empty:function(J){for(J=J.firstChild;J;J=J.nextSibling)if(J.nodeType<6)return!1;return!0},parent:function(J){return!b.pseudos.empty(J)},header:function(J){return Q.test(J.nodeName)},input:function(J){return W.test(J.nodeName)},button:function(J){return ae(J,"input")&&J.type==="button"||ae(J,"button")},text:function(J){var de;return ae(J,"input")&&J.type==="text"&&((de=J.getAttribute("type"))==null||de.toLowerCase()==="text")},first:ti(function(){return[0]}),last:ti(function(J,de){return[de-1]}),eq:ti(function(J,de,Ce){return[Ce<0?Ce+de:Ce]}),even:ti(function(J,de){for(var Ce=0;Ce<de;Ce+=2)J.push(Ce);return J}),odd:ti(function(J,de){for(var Ce=1;Ce<de;Ce+=2)J.push(Ce);return J}),lt:ti(function(J,de,Ce){var De;for(Ce<0?De=Ce+de:Ce>de?De=de:De=Ce;--De>=0;)J.push(De);return J}),gt:ti(function(J,de,Ce){for(var De=Ce<0?Ce+de:Ce;++De<de;)J.push(De);return J})}},b.pseudos.nth=b.pseudos.eq;for(h in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[h]=os(h);for(h in{submit:!0,reset:!0})b.pseudos[h]=fa(h);function da(){}da.prototype=b.filters=b.pseudos,b.setFilters=new da;function ss(J,de){var Ce,De,Z,fe,ce,Ie,Fe,st=Tt[J+" "];if(st)return de?0:st.slice(0);for(ce=J,Ie=[],Fe=b.preFilter;ce;){(!Ce||(De=Qt.exec(ce)))&&(De&&(ce=ce.slice(De[0].length)||ce),Ie.push(Z=[])),Ce=!1,(De=ho.exec(ce))&&(Ce=De.shift(),Z.push({value:Ce,type:De[0].replace(Oe," ")}),ce=ce.slice(Ce.length));for(fe in b.filter)(De=M[fe].exec(ce))&&(!Fe[fe]||(De=Fe[fe](De)))&&(Ce=De.shift(),Z.push({value:Ce,type:fe,matches:De}),ce=ce.slice(Ce.length));if(!Ce)break}return de?ce.length:ce?vt.error(J):Tt(J,Ie).slice(0)}function ni(J){for(var de=0,Ce=J.length,De="";de<Ce;de++)De+=J[de].value;return De}function mo(J,de,Ce){var De=de.dir,Z=de.next,fe=Z||De,ce=Ce&&fe==="parentNode",Ie=$e++;return de.first?function(Fe,st,lt){for(;Fe=Fe[De];)if(Fe.nodeType===1||ce)return J(Fe,st,lt);return!1}:function(Fe,st,lt){var rt,It,wt=[Te,Ie];if(lt){for(;Fe=Fe[De];)if((Fe.nodeType===1||ce)&&J(Fe,st,lt))return!0}else for(;Fe=Fe[De];)if(Fe.nodeType===1||ce)if(It=Fe[Ae]||(Fe[Ae]={}),Z&&ae(Fe,Z))Fe=Fe[De]||Fe;else{if((rt=It[fe])&&rt[0]===Te&&rt[1]===Ie)return wt[2]=rt[2];if(It[fe]=wt,wt[2]=J(Fe,st,lt))return!0}return!1}}function Ga(J){return J.length>1?function(de,Ce,De){for(var Z=J.length;Z--;)if(!J[Z](de,Ce,De))return!1;return!0}:J[0]}function Ou(J,de,Ce){for(var De=0,Z=de.length;De<Z;De++)vt(J,de[De],Ce);return Ce}function ha(J,de,Ce,De,Z){for(var fe,ce=[],Ie=0,Fe=J.length,st=de!=null;Ie<Fe;Ie++)(fe=J[Ie])&&(!Ce||Ce(fe,De,Z))&&(ce.push(fe),st&&de.push(Ie));return ce}function vo(J,de,Ce,De,Z,fe){return De&&!De[Ae]&&(De=vo(De)),Z&&!Z[Ae]&&(Z=vo(Z,fe)),bn(function(ce,Ie,Fe,st){var lt,rt,It,wt,Vt=[],Yn=[],nr=Ie.length,In=ce||Ou(de||"*",Fe.nodeType?[Fe]:Fe,[]),zt=J&&(ce||!de)?ha(In,Vt,J,Fe,st):In;if(Ce?(wt=Z||(ce?J:nr||De)?[]:Ie,Ce(zt,wt,Fe,st)):wt=zt,De)for(lt=ha(wt,Yn),De(lt,[],Fe,st),rt=lt.length;rt--;)(It=lt[rt])&&(wt[Yn[rt]]=!(zt[Yn[rt]]=It));if(ce){if(Z||J){if(Z){for(lt=[],rt=wt.length;rt--;)(It=wt[rt])&<.push(zt[rt]=It);Z(null,wt=[],lt,st)}for(rt=wt.length;rt--;)(It=wt[rt])&&(lt=Z?f.call(ce,It):Vt[rt])>-1&&(ce[lt]=!(Ie[lt]=It))}}else wt=ha(wt===Ie?wt.splice(nr,wt.length):wt),Z?Z(null,Ie,wt,st):N.apply(Ie,wt)})}function cn(J){for(var de,Ce,De,Z=J.length,fe=b.relative[J[0].type],ce=fe||b.relative[" "],Ie=fe?1:0,Fe=mo(function(rt){return rt===de},ce,!0),st=mo(function(rt){return f.call(de,rt)>-1},ce,!0),lt=[function(rt,It,wt){var Vt=!fe&&(wt||It!=C)||((de=It).nodeType?Fe(rt,It,wt):st(rt,It,wt));return de=null,Vt}];Ie<Z;Ie++)if(Ce=b.relative[J[Ie].type])lt=[mo(Ga(lt),Ce)];else{if(Ce=b.filter[J[Ie].type].apply(null,J[Ie].matches),Ce[Ae]){for(De=++Ie;De<Z&&!b.relative[J[De].type];De++);return vo(Ie>1&&Ga(lt),Ie>1&&ni(J.slice(0,Ie-1).concat({value:J[Ie-2].type===" "?"*":""})).replace(Oe,"$1"),Ce,Ie<De&&cn(J.slice(Ie,De)),De<Z&&cn(J=J.slice(De)),De<Z&&ni(J))}lt.push(Ce)}return Ga(lt)}function Al(J,de){var Ce=de.length>0,De=J.length>0,Z=function(fe,ce,Ie,Fe,st){var lt,rt,It,wt=0,Vt="0",Yn=fe&&[],nr=[],In=C,zt=fe||De&&b.find.TAG("*",st),$r=Te+=In==null?1:Math.random()||.1,kt=zt.length;for(st&&(C=ce==V||ce||st);Vt!==kt&&(lt=zt[Vt])!=null;Vt++){if(De&<){for(rt=0,!ce&<.ownerDocument!=V&&(Ai(lt),Ie=!te);It=J[rt++];)if(It(lt,ce||V,Ie)){N.call(Fe,lt);break}st&&(Te=$r)}Ce&&((lt=!It&<)&&wt--,fe&&Yn.push(lt))}if(wt+=Vt,Ce&&Vt!==wt){for(rt=0;It=de[rt++];)It(Yn,nr,ce,Ie);if(fe){if(wt>0)for(;Vt--;)Yn[Vt]||nr[Vt]||(nr[Vt]=Ve.call(Fe));nr=ha(nr)}N.apply(Fe,nr),st&&!fe&&nr.length>0&&wt+de.length>1&&x.uniqueSort(Fe)}return st&&(Te=$r,C=In),Yn};return Ce?bn(Z):Z}function pa(J,de){var Ce,De=[],Z=[],fe=Et[J+" "];if(!fe){for(de||(de=ss(J)),Ce=de.length;Ce--;)fe=cn(de[Ce]),fe[Ae]?De.push(fe):Z.push(fe);fe=Et(J,Al(Z,De)),fe.selector=J}return fe}function $s(J,de,Ce,De){var Z,fe,ce,Ie,Fe,st=typeof J=="function"&&J,lt=!De&&ss(J=st.selector||J);if(Ce=Ce||[],lt.length===1){if(fe=lt[0]=lt[0].slice(0),fe.length>2&&(ce=fe[0]).type==="ID"&&de.nodeType===9&&te&&b.relative[fe[1].type]){if(de=(b.find.ID(ce.matches[0].replace(Me,Ye),de)||[])[0],de)st&&(de=de.parentNode);else return Ce;J=J.slice(fe.shift().value.length)}for(Z=M.needsContext.test(J)?0:fe.length;Z--&&(ce=fe[Z],!b.relative[Ie=ce.type]);)if((Fe=b.find[Ie])&&(De=Fe(ce.matches[0].replace(Me,Ye),we.test(fe[0].type)&&Ya(de.parentNode)||de))){if(fe.splice(Z,1),J=De.length&&ni(fe),!J)return N.apply(Ce,De),Ce;break}}return(st||pa(J,lt))(De,de,!te,Ce,!de||we.test(J)&&Ya(de.parentNode)||de),Ce}A.sortStable=Ae.split("").sort(un).join("")===Ae,Ai(),A.sortDetached=$n(function(J){return J.compareDocumentPosition(V.createElement("fieldset"))&1}),x.find=vt,x.expr[":"]=x.expr.pseudos,x.unique=x.uniqueSort,vt.compile=pa,vt.select=$s,vt.setDocument=Ai,vt.tokenize=ss,vt.escape=x.escapeSelector,vt.getText=x.text,vt.isXML=x.isXMLDoc,vt.selectors=x.expr,vt.support=x.support,vt.uniqueSort=x.uniqueSort})();var et=function(h,b,C){for(var P=[],L=C!==void 0;(h=h[b])&&h.nodeType!==9;)if(h.nodeType===1){if(L&&x(h).is(C))break;P.push(h)}return P},ge=function(h,b){for(var C=[];h;h=h.nextSibling)h.nodeType===1&&h!==b&&C.push(h);return C},Se=x.expr.match.needsContext,Ne=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function We(h,b,C){return I(b)?x.grep(h,function(P,L){return!!b.call(P,L,P)!==C}):b.nodeType?x.grep(h,function(P){return P===b!==C}):typeof b!="string"?x.grep(h,function(P){return f.call(b,P)>-1!==C}):x.filter(b,h,C)}x.filter=function(h,b,C){var P=b[0];return C&&(h=":not("+h+")"),b.length===1&&P.nodeType===1?x.find.matchesSelector(P,h)?[P]:[]:x.find.matches(h,x.grep(b,function(L){return L.nodeType===1}))},x.fn.extend({find:function(h){var b,C,P=this.length,L=this;if(typeof h!="string")return this.pushStack(x(h).filter(function(){for(b=0;b<P;b++)if(x.contains(L[b],this))return!0}));for(C=this.pushStack([]),b=0;b<P;b++)x.find(h,L[b],C);return P>1?x.uniqueSort(C):C},filter:function(h){return this.pushStack(We(this,h||[],!1))},not:function(h){return this.pushStack(We(this,h||[],!0))},is:function(h){return!!We(this,typeof h=="string"&&Se.test(h)?x(h):h||[],!1).length}});var Be,ze=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ke=x.fn.init=function(h,b,C){var P,L;if(!h)return this;if(C=C||Be,typeof h=="string")if(h[0]==="<"&&h[h.length-1]===">"&&h.length>=3?P=[null,h,null]:P=ze.exec(h),P&&(P[1]||!b))if(P[1]){if(b=b instanceof x?b[0]:b,x.merge(this,x.parseHTML(P[1],b&&b.nodeType?b.ownerDocument||b:R,!0)),Ne.test(P[1])&&x.isPlainObject(b))for(P in b)I(this[P])?this[P](b[P]):this.attr(P,b[P]);return this}else return L=R.getElementById(P[2]),L&&(this[0]=L,this.length=1),this;else return!b||b.jquery?(b||C).find(h):this.constructor(b).find(h);else{if(h.nodeType)return this[0]=h,this.length=1,this;if(I(h))return C.ready!==void 0?C.ready(h):h(x)}return x.makeArray(h,this)};Ke.prototype=x.fn,Be=x(R);var ot=/^(?:parents|prev(?:Until|All))/,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({has:function(h){var b=x(h,this),C=b.length;return this.filter(function(){for(var P=0;P<C;P++)if(x.contains(this,b[P]))return!0})},closest:function(h,b){var C,P=0,L=this.length,N=[],V=typeof h!="string"&&x(h);if(!Se.test(h)){for(;P<L;P++)for(C=this[P];C&&C!==b;C=C.parentNode)if(C.nodeType<11&&(V?V.index(C)>-1:C.nodeType===1&&x.find.matchesSelector(C,h))){N.push(C);break}}return this.pushStack(N.length>1?x.uniqueSort(N):N)},index:function(h){return h?typeof h=="string"?f.call(x(h),this[0]):f.call(this,h.jquery?h[0]:h):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(h,b){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(h,b))))},addBack:function(h){return this.add(h==null?this.prevObject:this.prevObject.filter(h))}});function pt(h,b){for(;(h=h[b])&&h.nodeType!==1;);return h}x.each({parent:function(h){var b=h.parentNode;return b&&b.nodeType!==11?b:null},parents:function(h){return et(h,"parentNode")},parentsUntil:function(h,b,C){return et(h,"parentNode",C)},next:function(h){return pt(h,"nextSibling")},prev:function(h){return pt(h,"previousSibling")},nextAll:function(h){return et(h,"nextSibling")},prevAll:function(h){return et(h,"previousSibling")},nextUntil:function(h,b,C){return et(h,"nextSibling",C)},prevUntil:function(h,b,C){return et(h,"previousSibling",C)},siblings:function(h){return ge((h.parentNode||{}).firstChild,h)},children:function(h){return ge(h.firstChild)},contents:function(h){return h.contentDocument!=null&&i(h.contentDocument)?h.contentDocument:(ae(h,"template")&&(h=h.content||h),x.merge([],h.childNodes))}},function(h,b){x.fn[h]=function(C,P){var L=x.map(this,b,C);return h.slice(-5)!=="Until"&&(P=C),P&&typeof P=="string"&&(L=x.filter(P,L)),this.length>1&&(ct[h]||x.uniqueSort(L),ot.test(h)&&L.reverse()),this.pushStack(L)}});var ft=/[^\x20\t\r\n\f]+/g;function yt(h){var b={};return x.each(h.match(ft)||[],function(C,P){b[P]=!0}),b}x.Callbacks=function(h){h=typeof h=="string"?yt(h):x.extend({},h);var b,C,P,L,N=[],V=[],se=-1,te=function(){for(L=L||h.once,P=b=!0;V.length;se=-1)for(C=V.shift();++se<N.length;)N[se].apply(C[0],C[1])===!1&&h.stopOnFalse&&(se=N.length,C=!1);h.memory||(C=!1),b=!1,L&&(C?N=[]:N="")},pe={add:function(){return N&&(C&&!b&&(se=N.length-1,V.push(C)),function _e(Ae){x.each(Ae,function(Te,$e){I($e)?(!h.unique||!pe.has($e))&&N.push($e):$e&&$e.length&&ne($e)!=="string"&&_e($e)})}(arguments),C&&!b&&te()),this},remove:function(){return x.each(arguments,function(_e,Ae){for(var Te;(Te=x.inArray(Ae,N,Te))>-1;)N.splice(Te,1),Te<=se&&se--}),this},has:function(_e){return _e?x.inArray(_e,N)>-1:N.length>0},empty:function(){return N&&(N=[]),this},disable:function(){return L=V=[],N=C="",this},disabled:function(){return!N},lock:function(){return L=V=[],!C&&!b&&(N=C=""),this},locked:function(){return!!L},fireWith:function(_e,Ae){return L||(Ae=Ae||[],Ae=[_e,Ae.slice?Ae.slice():Ae],V.push(Ae),b||te()),this},fire:function(){return pe.fireWith(this,arguments),this},fired:function(){return!!P}};return pe};function Je(h){return h}function At(h){throw h}function Mt(h,b,C,P){var L;try{h&&I(L=h.promise)?L.call(h).done(b).fail(C):h&&I(L=h.then)?L.call(h,b,C):b.apply(void 0,[h].slice(P))}catch(N){C.apply(void 0,[N])}}x.extend({Deferred:function(h){var b=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],C="pending",P={state:function(){return C},always:function(){return L.done(arguments).fail(arguments),this},catch:function(N){return P.then(null,N)},pipe:function(){var N=arguments;return x.Deferred(function(V){x.each(b,function(se,te){var pe=I(N[te[4]])&&N[te[4]];L[te[1]](function(){var _e=pe&&pe.apply(this,arguments);_e&&I(_e.promise)?_e.promise().progress(V.notify).done(V.resolve).fail(V.reject):V[te[0]+"With"](this,pe?[_e]:arguments)})}),N=null}).promise()},then:function(N,V,se){var te=0;function pe(_e,Ae,Te,$e){return function(){var it=this,Tt=arguments,Et=function(){var un,Nr;if(!(_e<te)){if(un=Te.apply(it,Tt),un===Ae.promise())throw new TypeError("Thenable self-resolution");Nr=un&&(typeof un=="object"||typeof un=="function")&&un.then,I(Nr)?$e?Nr.call(un,pe(te,Ae,Je,$e),pe(te,Ae,At,$e)):(te++,Nr.call(un,pe(te,Ae,Je,$e),pe(te,Ae,At,$e),pe(te,Ae,Je,Ae.notifyWith))):(Te!==Je&&(it=void 0,Tt=[un]),($e||Ae.resolveWith)(it,Tt))}},Rn=$e?Et:function(){try{Et()}catch(un){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(un,Rn.error),_e+1>=te&&(Te!==At&&(it=void 0,Tt=[un]),Ae.rejectWith(it,Tt))}};_e?Rn():(x.Deferred.getErrorHook?Rn.error=x.Deferred.getErrorHook():x.Deferred.getStackHook&&(Rn.error=x.Deferred.getStackHook()),e.setTimeout(Rn))}}return x.Deferred(function(_e){b[0][3].add(pe(0,_e,I(se)?se:Je,_e.notifyWith)),b[1][3].add(pe(0,_e,I(N)?N:Je)),b[2][3].add(pe(0,_e,I(V)?V:At))}).promise()},promise:function(N){return N!=null?x.extend(N,P):P}},L={};return x.each(b,function(N,V){var se=V[2],te=V[5];P[V[1]]=se.add,te&&se.add(function(){C=te},b[3-N][2].disable,b[3-N][3].disable,b[0][2].lock,b[0][3].lock),se.add(V[3].fire),L[V[0]]=function(){return L[V[0]+"With"](this===L?void 0:this,arguments),this},L[V[0]+"With"]=se.fireWith}),P.promise(L),h&&h.call(L,L),L},when:function(h){var b=arguments.length,C=b,P=Array(C),L=o.call(arguments),N=x.Deferred(),V=function(se){return function(te){P[se]=this,L[se]=arguments.length>1?o.call(arguments):te,--b||N.resolveWith(P,L)}};if(b<=1&&(Mt(h,N.done(V(C)).resolve,N.reject,!b),N.state()==="pending"||I(L[C]&&L[C].then)))return N.then();for(;C--;)Mt(L[C],V(C),N.reject);return N.promise()}});var Vn=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(h,b){e.console&&e.console.warn&&h&&Vn.test(h.name)&&e.console.warn("jQuery.Deferred exception: "+h.message,h.stack,b)},x.readyException=function(h){e.setTimeout(function(){throw h})};var vr=x.Deferred();x.fn.ready=function(h){return vr.then(h).catch(function(b){x.readyException(b)}),this},x.extend({isReady:!1,readyWait:1,ready:function(h){(h===!0?--x.readyWait:x.isReady)||(x.isReady=!0,!(h!==!0&&--x.readyWait>0)&&vr.resolveWith(R,[x]))}}),x.ready.then=vr.then;function Hn(){R.removeEventListener("DOMContentLoaded",Hn),e.removeEventListener("load",Hn),x.ready()}R.readyState==="complete"||R.readyState!=="loading"&&!R.documentElement.doScroll?e.setTimeout(x.ready):(R.addEventListener("DOMContentLoaded",Hn),e.addEventListener("load",Hn));var Sn=function(h,b,C,P,L,N,V){var se=0,te=h.length,pe=C==null;if(ne(C)==="object"){L=!0;for(se in C)Sn(h,b,se,C[se],!0,N,V)}else if(P!==void 0&&(L=!0,I(P)||(V=!0),pe&&(V?(b.call(h,P),b=null):(pe=b,b=function(_e,Ae,Te){return pe.call(x(_e),Te)})),b))for(;se<te;se++)b(h[se],C,V?P:P.call(h[se],se,b(h[se],C)));return L?h:pe?b.call(h):te?b(h[0],C):N},$i=/^-ms-/,Pr=/-([a-z])/g;function Jn(h,b){return b.toUpperCase()}function sn(h){return h.replace($i,"ms-").replace(Pr,Jn)}var fn=function(h){return h.nodeType===1||h.nodeType===9||!+h.nodeType};function dn(){this.expando=x.expando+dn.uid++}dn.uid=1,dn.prototype={cache:function(h){var b=h[this.expando];return b||(b={},fn(h)&&(h.nodeType?h[this.expando]=b:Object.defineProperty(h,this.expando,{value:b,configurable:!0}))),b},set:function(h,b,C){var P,L=this.cache(h);if(typeof b=="string")L[sn(b)]=C;else for(P in b)L[sn(P)]=b[P];return L},get:function(h,b){return b===void 0?this.cache(h):h[this.expando]&&h[this.expando][sn(b)]},access:function(h,b,C){return b===void 0||b&&typeof b=="string"&&C===void 0?this.get(h,b):(this.set(h,b,C),C!==void 0?C:b)},remove:function(h,b){var C,P=h[this.expando];if(P!==void 0){if(b!==void 0)for(Array.isArray(b)?b=b.map(sn):(b=sn(b),b=b in P?[b]:b.match(ft)||[]),C=b.length;C--;)delete P[b[C]];(b===void 0||x.isEmptyObject(P))&&(h.nodeType?h[this.expando]=void 0:delete h[this.expando])}},hasData:function(h){var b=h[this.expando];return b!==void 0&&!x.isEmptyObject(b)}};var ut=new dn,Dn=new dn,si=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,on=/[A-Z]/g;function Vi(h){return h==="true"?!0:h==="false"?!1:h==="null"?null:h===+h+""?+h:si.test(h)?JSON.parse(h):h}function Hi(h,b,C){var P;if(C===void 0&&h.nodeType===1)if(P="data-"+b.replace(on,"-$&").toLowerCase(),C=h.getAttribute(P),typeof C=="string"){try{C=Vi(C)}catch{}Dn.set(h,b,C)}else C=void 0;return C}x.extend({hasData:function(h){return Dn.hasData(h)||ut.hasData(h)},data:function(h,b,C){return Dn.access(h,b,C)},removeData:function(h,b){Dn.remove(h,b)},_data:function(h,b,C){return ut.access(h,b,C)},_removeData:function(h,b){ut.remove(h,b)}}),x.fn.extend({data:function(h,b){var C,P,L,N=this[0],V=N&&N.attributes;if(h===void 0){if(this.length&&(L=Dn.get(N),N.nodeType===1&&!ut.get(N,"hasDataAttrs"))){for(C=V.length;C--;)V[C]&&(P=V[C].name,P.indexOf("data-")===0&&(P=sn(P.slice(5)),Hi(N,P,L[P])));ut.set(N,"hasDataAttrs",!0)}return L}return typeof h=="object"?this.each(function(){Dn.set(this,h)}):Sn(this,function(se){var te;if(N&&se===void 0)return te=Dn.get(N,h),te!==void 0||(te=Hi(N,h),te!==void 0)?te:void 0;this.each(function(){Dn.set(this,h,se)})},null,b,arguments.length>1,null,!0)},removeData:function(h){return this.each(function(){Dn.remove(this,h)})}}),x.extend({queue:function(h,b,C){var P;if(h)return b=(b||"fx")+"queue",P=ut.get(h,b),C&&(!P||Array.isArray(C)?P=ut.access(h,b,x.makeArray(C)):P.push(C)),P||[]},dequeue:function(h,b){b=b||"fx";var C=x.queue(h,b),P=C.length,L=C.shift(),N=x._queueHooks(h,b),V=function(){x.dequeue(h,b)};L==="inprogress"&&(L=C.shift(),P--),L&&(b==="fx"&&C.unshift("inprogress"),delete N.stop,L.call(h,V,N)),!P&&N&&N.empty.fire()},_queueHooks:function(h,b){var C=b+"queueHooks";return ut.get(h,C)||ut.access(h,C,{empty:x.Callbacks("once memory").add(function(){ut.remove(h,[b+"queue",C])})})}}),x.fn.extend({queue:function(h,b){var C=2;return typeof h!="string"&&(b=h,h="fx",C--),arguments.length<C?x.queue(this[0],h):b===void 0?this:this.each(function(){var P=x.queue(this,h,b);x._queueHooks(this,h),h==="fx"&&P[0]!=="inprogress"&&x.dequeue(this,h)})},dequeue:function(h){return this.each(function(){x.dequeue(this,h)})},clearQueue:function(h){return this.queue(h||"fx",[])},promise:function(h,b){var C,P=1,L=x.Deferred(),N=this,V=this.length,se=function(){--P||L.resolveWith(N,[N])};for(typeof h!="string"&&(b=h,h=void 0),h=h||"fx";V--;)C=ut.get(N[V],h+"queueHooks"),C&&C.empty&&(P++,C.empty.add(se));return se(),L.promise(b)}});var Ui=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Or=new RegExp("^(?:([+-])=|)("+Ui+")([a-z%]*)$","i"),Nn=["Top","Right","Bottom","Left"],_r=R.documentElement,yr=function(h){return x.contains(h.ownerDocument,h)},Gr={composed:!0};_r.getRootNode&&(yr=function(h){return x.contains(h.ownerDocument,h)||h.getRootNode(Gr)===h.ownerDocument});var qr=function(h,b){return h=b||h,h.style.display==="none"||h.style.display===""&&yr(h)&&x.css(h,"display")==="none"};function Ao(h,b,C,P){var L,N,V=20,se=P?function(){return P.cur()}:function(){return x.css(h,b,"")},te=se(),pe=C&&C[3]||(x.cssNumber[b]?"":"px"),_e=h.nodeType&&(x.cssNumber[b]||pe!=="px"&&+te)&&Or.exec(x.css(h,b));if(_e&&_e[3]!==pe){for(te=te/2,pe=pe||_e[3],_e=+te||1;V--;)x.style(h,b,_e+pe),(1-N)*(1-(N=se()/te||.5))<=0&&(V=0),_e=_e/N;_e=_e*2,x.style(h,b,_e+pe),C=C||[]}return C&&(_e=+_e||+te||0,L=C[1]?_e+(C[1]+1)*C[2]:+C[2],P&&(P.unit=pe,P.start=_e,P.end=L)),L}var Un={};function Xr(h){var b,C=h.ownerDocument,P=h.nodeName,L=Un[P];return L||(b=C.body.appendChild(C.createElement(P)),L=x.css(b,"display"),b.parentNode.removeChild(b),L==="none"&&(L="block"),Un[P]=L,L)}function Qn(h,b){for(var C,P,L=[],N=0,V=h.length;N<V;N++)P=h[N],P.style&&(C=P.style.display,b?(C==="none"&&(L[N]=ut.get(P,"display")||null,L[N]||(P.style.display="")),P.style.display===""&&qr(P)&&(L[N]=Xr(P))):C!=="none"&&(L[N]="none",ut.set(P,"display",C)));for(N=0;N<V;N++)L[N]!=null&&(h[N].style.display=L[N]);return h}x.fn.extend({show:function(){return Qn(this,!0)},hide:function(){return Qn(this)},toggle:function(h){return typeof h=="boolean"?h?this.show():this.hide():this.each(function(){qr(this)?x(this).show():x(this).hide()})}});var Wt=/^(?:checkbox|radio)$/i,ai=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Wi=/^$|^module$|\/(?:java|ecma)script/i;(function(){var h=R.createDocumentFragment(),b=h.appendChild(R.createElement("div")),C=R.createElement("input");C.setAttribute("type","radio"),C.setAttribute("checked","checked"),C.setAttribute("name","t"),b.appendChild(C),A.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",A.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,b.innerHTML="<option></option>",A.option=!!b.lastChild})();var Pn={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Pn.tbody=Pn.tfoot=Pn.colgroup=Pn.caption=Pn.thead,Pn.th=Pn.td,A.option||(Pn.optgroup=Pn.option=[1,"<select multiple='multiple'>","</select>"]);function hn(h,b){var C;return typeof h.getElementsByTagName<"u"?C=h.getElementsByTagName(b||"*"):typeof h.querySelectorAll<"u"?C=h.querySelectorAll(b||"*"):C=[],b===void 0||b&&ae(h,b)?x.merge([h],C):C}function li(h,b){for(var C=0,P=h.length;C<P;C++)ut.set(h[C],"globalEval",!b||ut.get(b[C],"globalEval"))}var ui=/<|&#?\w+;/;function Tn(h,b,C,P,L){for(var N,V,se,te,pe,_e,Ae=b.createDocumentFragment(),Te=[],$e=0,it=h.length;$e<it;$e++)if(N=h[$e],N||N===0)if(ne(N)==="object")x.merge(Te,N.nodeType?[N]:N);else if(!ui.test(N))Te.push(b.createTextNode(N));else{for(V=V||Ae.appendChild(b.createElement("div")),se=(ai.exec(N)||["",""])[1].toLowerCase(),te=Pn[se]||Pn._default,V.innerHTML=te[1]+x.htmlPrefilter(N)+te[2],_e=te[0];_e--;)V=V.lastChild;x.merge(Te,V.childNodes),V=Ae.firstChild,V.textContent=""}for(Ae.textContent="",$e=0;N=Te[$e++];){if(P&&x.inArray(N,P)>-1){L&&L.push(N);continue}if(pe=yr(N),V=hn(Ae.appendChild(N),"script"),pe&&li(V),C)for(_e=0;N=V[_e++];)Wi.test(N.type||"")&&C.push(N)}return Ae}var so=/^([^.]*)(?:\.(.+)|)/;function br(){return!0}function ci(){return!1}function an(h,b,C,P,L,N){var V,se;if(typeof b=="object"){typeof C!="string"&&(P=P||C,C=void 0);for(se in b)an(h,se,C,P,b[se],N);return h}if(P==null&&L==null?(L=C,P=C=void 0):L==null&&(typeof C=="string"?(L=P,P=void 0):(L=P,P=C,C=void 0)),L===!1)L=ci;else if(!L)return h;return N===1&&(V=L,L=function(te){return x().off(te),V.apply(this,arguments)},L.guid=V.guid||(V.guid=x.guid++)),h.each(function(){x.event.add(this,b,L,P,C)})}x.event={global:{},add:function(h,b,C,P,L){var N,V,se,te,pe,_e,Ae,Te,$e,it,Tt,Et=ut.get(h);if(fn(h))for(C.handler&&(N=C,C=N.handler,L=N.selector),L&&x.find.matchesSelector(_r,L),C.guid||(C.guid=x.guid++),(te=Et.events)||(te=Et.events=Object.create(null)),(V=Et.handle)||(V=Et.handle=function(Rn){return typeof x<"u"&&x.event.triggered!==Rn.type?x.event.dispatch.apply(h,arguments):void 0}),b=(b||"").match(ft)||[""],pe=b.length;pe--;)se=so.exec(b[pe])||[],$e=Tt=se[1],it=(se[2]||"").split(".").sort(),$e&&(Ae=x.event.special[$e]||{},$e=(L?Ae.delegateType:Ae.bindType)||$e,Ae=x.event.special[$e]||{},_e=x.extend({type:$e,origType:Tt,data:P,handler:C,guid:C.guid,selector:L,needsContext:L&&x.expr.match.needsContext.test(L),namespace:it.join(".")},N),(Te=te[$e])||(Te=te[$e]=[],Te.delegateCount=0,(!Ae.setup||Ae.setup.call(h,P,it,V)===!1)&&h.addEventListener&&h.addEventListener($e,V)),Ae.add&&(Ae.add.call(h,_e),_e.handler.guid||(_e.handler.guid=C.guid)),L?Te.splice(Te.delegateCount++,0,_e):Te.push(_e),x.event.global[$e]=!0)},remove:function(h,b,C,P,L){var N,V,se,te,pe,_e,Ae,Te,$e,it,Tt,Et=ut.hasData(h)&&ut.get(h);if(!(!Et||!(te=Et.events))){for(b=(b||"").match(ft)||[""],pe=b.length;pe--;){if(se=so.exec(b[pe])||[],$e=Tt=se[1],it=(se[2]||"").split(".").sort(),!$e){for($e in te)x.event.remove(h,$e+b[pe],C,P,!0);continue}for(Ae=x.event.special[$e]||{},$e=(P?Ae.delegateType:Ae.bindType)||$e,Te=te[$e]||[],se=se[2]&&new RegExp("(^|\\.)"+it.join("\\.(?:.*\\.|)")+"(\\.|$)"),V=N=Te.length;N--;)_e=Te[N],(L||Tt===_e.origType)&&(!C||C.guid===_e.guid)&&(!se||se.test(_e.namespace))&&(!P||P===_e.selector||P==="**"&&_e.selector)&&(Te.splice(N,1),_e.selector&&Te.delegateCount--,Ae.remove&&Ae.remove.call(h,_e));V&&!Te.length&&((!Ae.teardown||Ae.teardown.call(h,it,Et.handle)===!1)&&x.removeEvent(h,$e,Et.handle),delete te[$e])}x.isEmptyObject(te)&&ut.remove(h,"handle events")}},dispatch:function(h){var b,C,P,L,N,V,se=new Array(arguments.length),te=x.event.fix(h),pe=(ut.get(this,"events")||Object.create(null))[te.type]||[],_e=x.event.special[te.type]||{};for(se[0]=te,b=1;b<arguments.length;b++)se[b]=arguments[b];if(te.delegateTarget=this,!(_e.preDispatch&&_e.preDispatch.call(this,te)===!1)){for(V=x.event.handlers.call(this,te,pe),b=0;(L=V[b++])&&!te.isPropagationStopped();)for(te.currentTarget=L.elem,C=0;(N=L.handlers[C++])&&!te.isImmediatePropagationStopped();)(!te.rnamespace||N.namespace===!1||te.rnamespace.test(N.namespace))&&(te.handleObj=N,te.data=N.data,P=((x.event.special[N.origType]||{}).handle||N.handler).apply(L.elem,se),P!==void 0&&(te.result=P)===!1&&(te.preventDefault(),te.stopPropagation()));return _e.postDispatch&&_e.postDispatch.call(this,te),te.result}},handlers:function(h,b){var C,P,L,N,V,se=[],te=b.delegateCount,pe=h.target;if(te&&pe.nodeType&&!(h.type==="click"&&h.button>=1)){for(;pe!==this;pe=pe.parentNode||this)if(pe.nodeType===1&&!(h.type==="click"&&pe.disabled===!0)){for(N=[],V={},C=0;C<te;C++)P=b[C],L=P.selector+" ",V[L]===void 0&&(V[L]=P.needsContext?x(L,this).index(pe)>-1:x.find(L,this,null,[pe]).length),V[L]&&N.push(P);N.length&&se.push({elem:pe,handlers:N})}}return pe=this,te<b.length&&se.push({elem:pe,handlers:b.slice(te)}),se},addProp:function(h,b){Object.defineProperty(x.Event.prototype,h,{enumerable:!0,configurable:!0,get:I(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[h]},set:function(C){Object.defineProperty(this,h,{enumerable:!0,configurable:!0,writable:!0,value:C})}})},fix:function(h){return h[x.expando]?h:new x.Event(h)},special:{load:{noBubble:!0},click:{setup:function(h){var b=this||h;return Wt.test(b.type)&&b.click&&ae(b,"input")&&Di(b,"click",!0),!1},trigger:function(h){var b=this||h;return Wt.test(b.type)&&b.click&&ae(b,"input")&&Di(b,"click"),!0},_default:function(h){var b=h.target;return Wt.test(b.type)&&b.click&&ae(b,"input")&&ut.get(b,"click")||ae(b,"a")}},beforeunload:{postDispatch:function(h){h.result!==void 0&&h.originalEvent&&(h.originalEvent.returnValue=h.result)}}}};function Di(h,b,C){if(!C){ut.get(h,b)===void 0&&x.event.add(h,b,br);return}ut.set(h,b,!1),x.event.add(h,b,{namespace:!1,handler:function(P){var L,N=ut.get(this,b);if(P.isTrigger&1&&this[b]){if(N)(x.event.special[b]||{}).delegateType&&P.stopPropagation();else if(N=o.call(arguments),ut.set(this,b,N),this[b](),L=ut.get(this,b),ut.set(this,b,!1),N!==L)return P.stopImmediatePropagation(),P.preventDefault(),L}else N&&(ut.set(this,b,x.event.trigger(N[0],N.slice(1),this)),P.stopPropagation(),P.isImmediatePropagationStopped=br)}})}x.removeEvent=function(h,b,C){h.removeEventListener&&h.removeEventListener(b,C)},x.Event=function(h,b){if(!(this instanceof x.Event))return new x.Event(h,b);h&&h.type?(this.originalEvent=h,this.type=h.type,this.isDefaultPrevented=h.defaultPrevented||h.defaultPrevented===void 0&&h.returnValue===!1?br:ci,this.target=h.target&&h.target.nodeType===3?h.target.parentNode:h.target,this.currentTarget=h.currentTarget,this.relatedTarget=h.relatedTarget):this.type=h,b&&x.extend(this,b),this.timeStamp=h&&h.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:ci,isPropagationStopped:ci,isImmediatePropagationStopped:ci,isSimulated:!1,preventDefault:function(){var h=this.originalEvent;this.isDefaultPrevented=br,h&&!this.isSimulated&&h.preventDefault()},stopPropagation:function(){var h=this.originalEvent;this.isPropagationStopped=br,h&&!this.isSimulated&&h.stopPropagation()},stopImmediatePropagation:function(){var h=this.originalEvent;this.isImmediatePropagationStopped=br,h&&!this.isSimulated&&h.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},function(h,b){function C(P){if(R.documentMode){var L=ut.get(this,"handle"),N=x.event.fix(P);N.type=P.type==="focusin"?"focus":"blur",N.isSimulated=!0,L(P),N.target===N.currentTarget&&L(N)}else x.event.simulate(b,P.target,x.event.fix(P))}x.event.special[h]={setup:function(){var P;if(Di(this,h,!0),R.documentMode)P=ut.get(this,b),P||this.addEventListener(b,C),ut.set(this,b,(P||0)+1);else return!1},trigger:function(){return Di(this,h),!0},teardown:function(){var P;if(R.documentMode)P=ut.get(this,b)-1,P?ut.set(this,b,P):(this.removeEventListener(b,C),ut.remove(this,b));else return!1},_default:function(P){return ut.get(P.target,h)},delegateType:b},x.event.special[b]={setup:function(){var P=this.ownerDocument||this.document||this,L=R.documentMode?this:P,N=ut.get(L,b);N||(R.documentMode?this.addEventListener(b,C):P.addEventListener(h,C,!0)),ut.set(L,b,(N||0)+1)},teardown:function(){var P=this.ownerDocument||this.document||this,L=R.documentMode?this:P,N=ut.get(L,b)-1;N?ut.set(L,b,N):(R.documentMode?this.removeEventListener(b,C):P.removeEventListener(h,C,!0),ut.remove(L,b))}}}),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(h,b){x.event.special[h]={delegateType:b,bindType:b,handle:function(C){var P,L=this,N=C.relatedTarget,V=C.handleObj;return(!N||N!==L&&!x.contains(L,N))&&(C.type=V.origType,P=V.handler.apply(this,arguments),C.type=b),P}}}),x.fn.extend({on:function(h,b,C,P){return an(this,h,b,C,P)},one:function(h,b,C,P){return an(this,h,b,C,P,1)},off:function(h,b,C){var P,L;if(h&&h.preventDefault&&h.handleObj)return P=h.handleObj,x(h.delegateTarget).off(P.namespace?P.origType+"."+P.namespace:P.origType,P.selector,P.handler),this;if(typeof h=="object"){for(L in h)this.off(L,b,h[L]);return this}return(b===!1||typeof b=="function")&&(C=b,b=void 0),C===!1&&(C=ci),this.each(function(){x.event.remove(this,h,C,b)})}});var Ls=/<script|<style|<link/i,Fs=/checked\s*(?:[^=]|=\s*.checked.)/i,Kr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ao(h,b){return ae(h,"table")&&ae(b.nodeType!==11?b:b.firstChild,"tr")&&x(h).children("tbody")[0]||h}function lo(h){return h.type=(h.getAttribute("type")!==null)+"/"+h.type,h}function Pi(h){return(h.type||"").slice(0,5)==="true/"?h.type=h.type.slice(5):h.removeAttribute("type"),h}function er(h,b){var C,P,L,N,V,se,te;if(b.nodeType===1){if(ut.hasData(h)&&(N=ut.get(h),te=N.events,te)){ut.remove(b,"handle events");for(L in te)for(C=0,P=te[L].length;C<P;C++)x.event.add(b,L,te[L][C])}Dn.hasData(h)&&(V=Dn.access(h),se=x.extend({},V),Dn.set(b,se))}}function Rr(h,b){var C=b.nodeName.toLowerCase();C==="input"&&Wt.test(h.type)?b.checked=h.checked:(C==="input"||C==="textarea")&&(b.defaultValue=h.defaultValue)}function Ar(h,b,C,P){b=a(b);var L,N,V,se,te,pe,_e=0,Ae=h.length,Te=Ae-1,$e=b[0],it=I($e);if(it||Ae>1&&typeof $e=="string"&&!A.checkClone&&Fs.test($e))return h.each(function(Tt){var Et=h.eq(Tt);it&&(b[0]=$e.call(this,Tt,Et.html())),Ar(Et,b,C,P)});if(Ae&&(L=Tn(b,h[0].ownerDocument,!1,h,P),N=L.firstChild,L.childNodes.length===1&&(L=N),N||P)){for(V=x.map(hn(L,"script"),lo),se=V.length;_e<Ae;_e++)te=L,_e!==Te&&(te=x.clone(te,!0,!0),se&&x.merge(V,hn(te,"script"))),C.call(h[_e],te,_e);if(se)for(pe=V[V.length-1].ownerDocument,x.map(V,Pi),_e=0;_e<se;_e++)te=V[_e],Wi.test(te.type||"")&&!ut.access(te,"globalEval")&&x.contains(pe,te)&&(te.src&&(te.type||"").toLowerCase()!=="module"?x._evalUrl&&!te.noModule&&x._evalUrl(te.src,{nonce:te.nonce||te.getAttribute("nonce")},pe):H(te.textContent.replace(Kr,""),te,pe))}return h}function fi(h,b,C){for(var P,L=b?x.filter(b,h):h,N=0;(P=L[N])!=null;N++)!C&&P.nodeType===1&&x.cleanData(hn(P)),P.parentNode&&(C&&yr(P)&&li(hn(P,"script")),P.parentNode.removeChild(P));return h}x.extend({htmlPrefilter:function(h){return h},clone:function(h,b,C){var P,L,N,V,se=h.cloneNode(!0),te=yr(h);if(!A.noCloneChecked&&(h.nodeType===1||h.nodeType===11)&&!x.isXMLDoc(h))for(V=hn(se),N=hn(h),P=0,L=N.length;P<L;P++)Rr(N[P],V[P]);if(b)if(C)for(N=N||hn(h),V=V||hn(se),P=0,L=N.length;P<L;P++)er(N[P],V[P]);else er(h,se);return V=hn(se,"script"),V.length>0&&li(V,!te&&hn(h,"script")),se},cleanData:function(h){for(var b,C,P,L=x.event.special,N=0;(C=h[N])!==void 0;N++)if(fn(C)){if(b=C[ut.expando]){if(b.events)for(P in b.events)L[P]?x.event.remove(C,P):x.removeEvent(C,P,b.handle);C[ut.expando]=void 0}C[Dn.expando]&&(C[Dn.expando]=void 0)}}}),x.fn.extend({detach:function(h){return fi(this,h,!0)},remove:function(h){return fi(this,h)},text:function(h){return Sn(this,function(b){return b===void 0?x.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=b)})},null,h,arguments.length)},append:function(){return Ar(this,arguments,function(h){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var b=ao(this,h);b.appendChild(h)}})},prepend:function(){return Ar(this,arguments,function(h){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var b=ao(this,h);b.insertBefore(h,b.firstChild)}})},before:function(){return Ar(this,arguments,function(h){this.parentNode&&this.parentNode.insertBefore(h,this)})},after:function(){return Ar(this,arguments,function(h){this.parentNode&&this.parentNode.insertBefore(h,this.nextSibling)})},empty:function(){for(var h,b=0;(h=this[b])!=null;b++)h.nodeType===1&&(x.cleanData(hn(h,!1)),h.textContent="");return this},clone:function(h,b){return h=h??!1,b=b??h,this.map(function(){return x.clone(this,h,b)})},html:function(h){return Sn(this,function(b){var C=this[0]||{},P=0,L=this.length;if(b===void 0&&C.nodeType===1)return C.innerHTML;if(typeof b=="string"&&!Ls.test(b)&&!Pn[(ai.exec(b)||["",""])[1].toLowerCase()]){b=x.htmlPrefilter(b);try{for(;P<L;P++)C=this[P]||{},C.nodeType===1&&(x.cleanData(hn(C,!1)),C.innerHTML=b);C=0}catch{}}C&&this.empty().append(b)},null,h,arguments.length)},replaceWith:function(){var h=[];return Ar(this,arguments,function(b){var C=this.parentNode;x.inArray(this,h)<0&&(x.cleanData(hn(this)),C&&C.replaceChild(b,this))},h)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(h,b){x.fn[h]=function(C){for(var P,L=[],N=x(C),V=N.length-1,se=0;se<=V;se++)P=se===V?this:this.clone(!0),x(N[se])[b](P),c.apply(L,P.get());return this.pushStack(L)}});var Zr=new RegExp("^("+Ui+")(?!px)[a-z%]+$","i"),wr=/^--/,Ir=function(h){var b=h.ownerDocument.defaultView;return(!b||!b.opener)&&(b=e),b.getComputedStyle(h)},tr=function(h,b,C){var P,L,N={};for(L in b)N[L]=h.style[L],h.style[L]=b[L];P=C.call(h);for(L in b)h.style[L]=N[L];return P},zi=new RegExp(Nn.join("|"),"i");(function(){function h(){if(pe){te.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",pe.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",_r.appendChild(te).appendChild(pe);var _e=e.getComputedStyle(pe);C=_e.top!=="1%",se=b(_e.marginLeft)===12,pe.style.right="60%",N=b(_e.right)===36,P=b(_e.width)===36,pe.style.position="absolute",L=b(pe.offsetWidth/3)===12,_r.removeChild(te),pe=null}}function b(_e){return Math.round(parseFloat(_e))}var C,P,L,N,V,se,te=R.createElement("div"),pe=R.createElement("div");pe.style&&(pe.style.backgroundClip="content-box",pe.cloneNode(!0).style.backgroundClip="",A.clearCloneStyle=pe.style.backgroundClip==="content-box",x.extend(A,{boxSizingReliable:function(){return h(),P},pixelBoxStyles:function(){return h(),N},pixelPosition:function(){return h(),C},reliableMarginLeft:function(){return h(),se},scrollboxSize:function(){return h(),L},reliableTrDimensions:function(){var _e,Ae,Te,$e;return V==null&&(_e=R.createElement("table"),Ae=R.createElement("tr"),Te=R.createElement("div"),_e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Ae.style.cssText="box-sizing:content-box;border:1px solid",Ae.style.height="1px",Te.style.height="9px",Te.style.display="block",_r.appendChild(_e).appendChild(Ae).appendChild(Te),$e=e.getComputedStyle(Ae),V=parseInt($e.height,10)+parseInt($e.borderTopWidth,10)+parseInt($e.borderBottomWidth,10)===Ae.offsetHeight,_r.removeChild(_e)),V}}))})();function Oi(h,b,C){var P,L,N,V,se=wr.test(b),te=h.style;return C=C||Ir(h),C&&(V=C.getPropertyValue(b)||C[b],se&&V&&(V=V.replace(Oe,"$1")||void 0),V===""&&!yr(h)&&(V=x.style(h,b)),!A.pixelBoxStyles()&&Zr.test(V)&&zi.test(b)&&(P=te.width,L=te.minWidth,N=te.maxWidth,te.minWidth=te.maxWidth=te.width=V,V=C.width,te.width=P,te.minWidth=L,te.maxWidth=N)),V!==void 0?V+"":V}function ar(h,b){return{get:function(){if(h()){delete this.get;return}return(this.get=b).apply(this,arguments)}}}var yn=["Webkit","Moz","ms"],Mr=R.createElement("div").style,Lr={};function di(h){for(var b=h[0].toUpperCase()+h.slice(1),C=yn.length;C--;)if(h=yn[C]+b,h in Mr)return h}function hi(h){var b=x.cssProps[h]||Lr[h];return b||(h in Mr?h:Lr[h]=di(h)||h)}var xr=/^(none|table(?!-c[ea]).+)/,Jr={position:"absolute",visibility:"hidden",display:"block"},Wn={letterSpacing:"0",fontWeight:"400"};function pi(h,b,C){var P=Or.exec(b);return P?Math.max(0,P[2]-(C||0))+(P[3]||"px"):b}function gi(h,b,C,P,L,N){var V=b==="width"?1:0,se=0,te=0,pe=0;if(C===(P?"border":"content"))return 0;for(;V<4;V+=2)C==="margin"&&(pe+=x.css(h,C+Nn[V],!0,L)),P?(C==="content"&&(te-=x.css(h,"padding"+Nn[V],!0,L)),C!=="margin"&&(te-=x.css(h,"border"+Nn[V]+"Width",!0,L))):(te+=x.css(h,"padding"+Nn[V],!0,L),C!=="padding"?te+=x.css(h,"border"+Nn[V]+"Width",!0,L):se+=x.css(h,"border"+Nn[V]+"Width",!0,L));return!P&&N>=0&&(te+=Math.max(0,Math.ceil(h["offset"+b[0].toUpperCase()+b.slice(1)]-N-te-se-.5))||0),te+pe}function _i(h,b,C){var P=Ir(h),L=!A.boxSizingReliable()||C,N=L&&x.css(h,"boxSizing",!1,P)==="border-box",V=N,se=Oi(h,b,P),te="offset"+b[0].toUpperCase()+b.slice(1);if(Zr.test(se)){if(!C)return se;se="auto"}return(!A.boxSizingReliable()&&N||!A.reliableTrDimensions()&&ae(h,"tr")||se==="auto"||!parseFloat(se)&&x.css(h,"display",!1,P)==="inline")&&h.getClientRects().length&&(N=x.css(h,"boxSizing",!1,P)==="border-box",V=te in h,V&&(se=h[te])),se=parseFloat(se)||0,se+gi(h,b,C||(N?"border":"content"),V,P,se)+"px"}x.extend({cssHooks:{opacity:{get:function(h,b){if(b){var C=Oi(h,"opacity");return C===""?"1":C}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(h,b,C,P){if(!(!h||h.nodeType===3||h.nodeType===8||!h.style)){var L,N,V,se=sn(b),te=wr.test(b),pe=h.style;if(te||(b=hi(se)),V=x.cssHooks[b]||x.cssHooks[se],C!==void 0){if(N=typeof C,N==="string"&&(L=Or.exec(C))&&L[1]&&(C=Ao(h,b,L),N="number"),C==null||C!==C)return;N==="number"&&!te&&(C+=L&&L[3]||(x.cssNumber[se]?"":"px")),!A.clearCloneStyle&&C===""&&b.indexOf("background")===0&&(pe[b]="inherit"),(!V||!("set"in V)||(C=V.set(h,C,P))!==void 0)&&(te?pe.setProperty(b,C):pe[b]=C)}else return V&&"get"in V&&(L=V.get(h,!1,P))!==void 0?L:pe[b]}},css:function(h,b,C,P){var L,N,V,se=sn(b),te=wr.test(b);return te||(b=hi(se)),V=x.cssHooks[b]||x.cssHooks[se],V&&"get"in V&&(L=V.get(h,!0,C)),L===void 0&&(L=Oi(h,b,P)),L==="normal"&&b in Wn&&(L=Wn[b]),C===""||C?(N=parseFloat(L),C===!0||isFinite(N)?N||0:L):L}}),x.each(["height","width"],function(h,b){x.cssHooks[b]={get:function(C,P,L){if(P)return xr.test(x.css(C,"display"))&&(!C.getClientRects().length||!C.getBoundingClientRect().width)?tr(C,Jr,function(){return _i(C,b,L)}):_i(C,b,L)},set:function(C,P,L){var N,V=Ir(C),se=!A.scrollboxSize()&&V.position==="absolute",te=se||L,pe=te&&x.css(C,"boxSizing",!1,V)==="border-box",_e=L?gi(C,b,L,pe,V):0;return pe&&se&&(_e-=Math.ceil(C["offset"+b[0].toUpperCase()+b.slice(1)]-parseFloat(V[b])-gi(C,b,"border",!1,V)-.5)),_e&&(N=Or.exec(P))&&(N[3]||"px")!=="px"&&(C.style[b]=P,P=x.css(C,b)),pi(C,P,_e)}}}),x.cssHooks.marginLeft=ar(A.reliableMarginLeft,function(h,b){if(b)return(parseFloat(Oi(h,"marginLeft"))||h.getBoundingClientRect().left-tr(h,{marginLeft:0},function(){return h.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(h,b){x.cssHooks[h+b]={expand:function(C){for(var P=0,L={},N=typeof C=="string"?C.split(" "):[C];P<4;P++)L[h+Nn[P]+b]=N[P]||N[P-2]||N[0];return L}},h!=="margin"&&(x.cssHooks[h+b].set=pi)}),x.fn.extend({css:function(h,b){return Sn(this,function(C,P,L){var N,V,se={},te=0;if(Array.isArray(P)){for(N=Ir(C),V=P.length;te<V;te++)se[P[te]]=x.css(C,P[te],!1,N);return se}return L!==void 0?x.style(C,P,L):x.css(C,P)},h,b,arguments.length>1)}});function nn(h,b,C,P,L){return new nn.prototype.init(h,b,C,P,L)}x.Tween=nn,nn.prototype={constructor:nn,init:function(h,b,C,P,L,N){this.elem=h,this.prop=C,this.easing=L||x.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=P,this.unit=N||(x.cssNumber[C]?"":"px")},cur:function(){var h=nn.propHooks[this.prop];return h&&h.get?h.get(this):nn.propHooks._default.get(this)},run:function(h){var b,C=nn.propHooks[this.prop];return this.options.duration?this.pos=b=x.easing[this.easing](h,this.options.duration*h,0,1,this.options.duration):this.pos=b=h,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),C&&C.set?C.set(this):nn.propHooks._default.set(this),this}},nn.prototype.init.prototype=nn.prototype,nn.propHooks={_default:{get:function(h){var b;return h.elem.nodeType!==1||h.elem[h.prop]!=null&&h.elem.style[h.prop]==null?h.elem[h.prop]:(b=x.css(h.elem,h.prop,""),!b||b==="auto"?0:b)},set:function(h){x.fx.step[h.prop]?x.fx.step[h.prop](h):h.elem.nodeType===1&&(x.cssHooks[h.prop]||h.elem.style[hi(h.prop)]!=null)?x.style(h.elem,h.prop,h.now+h.unit):h.elem[h.prop]=h.now}}},nn.propHooks.scrollTop=nn.propHooks.scrollLeft={set:function(h){h.elem.nodeType&&h.elem.parentNode&&(h.elem[h.prop]=h.now)}},x.easing={linear:function(h){return h},swing:function(h){return .5-Math.cos(h*Math.PI)/2},_default:"swing"},x.fx=nn.prototype.init,x.fx.step={};var jn,Cn,uo=/^(?:toggle|show|hide)$/,On=/queueHooks$/;function _n(){Cn&&(R.hidden===!1&&e.requestAnimationFrame?e.requestAnimationFrame(_n):e.setTimeout(_n,x.fx.interval),x.fx.tick())}function k(){return e.setTimeout(function(){jn=void 0}),jn=Date.now()}function F(h,b){var C,P=0,L={height:h};for(b=b?1:0;P<4;P+=2-b)C=Nn[P],L["margin"+C]=L["padding"+C]=h;return b&&(L.opacity=L.width=h),L}function G(h,b,C){for(var P,L=(me.tweeners[b]||[]).concat(me.tweeners["*"]),N=0,V=L.length;N<V;N++)if(P=L[N].call(C,b,h))return P}function ee(h,b,C){var P,L,N,V,se,te,pe,_e,Ae="width"in b||"height"in b,Te=this,$e={},it=h.style,Tt=h.nodeType&&qr(h),Et=ut.get(h,"fxshow");C.queue||(V=x._queueHooks(h,"fx"),V.unqueued==null&&(V.unqueued=0,se=V.empty.fire,V.empty.fire=function(){V.unqueued||se()}),V.unqueued++,Te.always(function(){Te.always(function(){V.unqueued--,x.queue(h,"fx").length||V.empty.fire()})}));for(P in b)if(L=b[P],uo.test(L)){if(delete b[P],N=N||L==="toggle",L===(Tt?"hide":"show"))if(L==="show"&&Et&&Et[P]!==void 0)Tt=!0;else continue;$e[P]=Et&&Et[P]||x.style(h,P)}if(te=!x.isEmptyObject(b),!(!te&&x.isEmptyObject($e))){Ae&&h.nodeType===1&&(C.overflow=[it.overflow,it.overflowX,it.overflowY],pe=Et&&Et.display,pe==null&&(pe=ut.get(h,"display")),_e=x.css(h,"display"),_e==="none"&&(pe?_e=pe:(Qn([h],!0),pe=h.style.display||pe,_e=x.css(h,"display"),Qn([h]))),(_e==="inline"||_e==="inline-block"&&pe!=null)&&x.css(h,"float")==="none"&&(te||(Te.done(function(){it.display=pe}),pe==null&&(_e=it.display,pe=_e==="none"?"":_e)),it.display="inline-block")),C.overflow&&(it.overflow="hidden",Te.always(function(){it.overflow=C.overflow[0],it.overflowX=C.overflow[1],it.overflowY=C.overflow[2]})),te=!1;for(P in $e)te||(Et?"hidden"in Et&&(Tt=Et.hidden):Et=ut.access(h,"fxshow",{display:pe}),N&&(Et.hidden=!Tt),Tt&&Qn([h],!0),Te.done(function(){Tt||Qn([h]),ut.remove(h,"fxshow");for(P in $e)x.style(h,P,$e[P])})),te=G(Tt?Et[P]:0,P,Te),P in Et||(Et[P]=te.start,Tt&&(te.end=te.start,te.start=0))}}function Ee(h,b){var C,P,L,N,V;for(C in h)if(P=sn(C),L=b[P],N=h[C],Array.isArray(N)&&(L=N[1],N=h[C]=N[0]),C!==P&&(h[P]=N,delete h[C]),V=x.cssHooks[P],V&&"expand"in V){N=V.expand(N),delete h[P];for(C in N)C in h||(h[C]=N[C],b[C]=L)}else b[P]=L}function me(h,b,C){var P,L,N=0,V=me.prefilters.length,se=x.Deferred().always(function(){delete te.elem}),te=function(){if(L)return!1;for(var Ae=jn||k(),Te=Math.max(0,pe.startTime+pe.duration-Ae),$e=Te/pe.duration||0,it=1-$e,Tt=0,Et=pe.tweens.length;Tt<Et;Tt++)pe.tweens[Tt].run(it);return se.notifyWith(h,[pe,it,Te]),it<1&&Et?Te:(Et||se.notifyWith(h,[pe,1,0]),se.resolveWith(h,[pe]),!1)},pe=se.promise({elem:h,props:x.extend({},b),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},C),originalProperties:b,originalOptions:C,startTime:jn||k(),duration:C.duration,tweens:[],createTween:function(Ae,Te){var $e=x.Tween(h,pe.opts,Ae,Te,pe.opts.specialEasing[Ae]||pe.opts.easing);return pe.tweens.push($e),$e},stop:function(Ae){var Te=0,$e=Ae?pe.tweens.length:0;if(L)return this;for(L=!0;Te<$e;Te++)pe.tweens[Te].run(1);return Ae?(se.notifyWith(h,[pe,1,0]),se.resolveWith(h,[pe,Ae])):se.rejectWith(h,[pe,Ae]),this}}),_e=pe.props;for(Ee(_e,pe.opts.specialEasing);N<V;N++)if(P=me.prefilters[N].call(pe,h,_e,pe.opts),P)return I(P.stop)&&(x._queueHooks(pe.elem,pe.opts.queue).stop=P.stop.bind(P)),P;return x.map(_e,G,pe),I(pe.opts.start)&&pe.opts.start.call(h,pe),pe.progress(pe.opts.progress).done(pe.opts.done,pe.opts.complete).fail(pe.opts.fail).always(pe.opts.always),x.fx.timer(x.extend(te,{elem:h,anim:pe,queue:pe.opts.queue})),pe}x.Animation=x.extend(me,{tweeners:{"*":[function(h,b){var C=this.createTween(h,b);return Ao(C.elem,h,Or.exec(b),C),C}]},tweener:function(h,b){I(h)?(b=h,h=["*"]):h=h.match(ft);for(var C,P=0,L=h.length;P<L;P++)C=h[P],me.tweeners[C]=me.tweeners[C]||[],me.tweeners[C].unshift(b)},prefilters:[ee],prefilter:function(h,b){b?me.prefilters.unshift(h):me.prefilters.push(h)}}),x.speed=function(h,b,C){var P=h&&typeof h=="object"?x.extend({},h):{complete:C||!C&&b||I(h)&&h,duration:h,easing:C&&b||b&&!I(b)&&b};return x.fx.off?P.duration=0:typeof P.duration!="number"&&(P.duration in x.fx.speeds?P.duration=x.fx.speeds[P.duration]:P.duration=x.fx.speeds._default),(P.queue==null||P.queue===!0)&&(P.queue="fx"),P.old=P.complete,P.complete=function(){I(P.old)&&P.old.call(this),P.queue&&x.dequeue(this,P.queue)},P},x.fn.extend({fadeTo:function(h,b,C,P){return this.filter(qr).css("opacity",0).show().end().animate({opacity:b},h,C,P)},animate:function(h,b,C,P){var L=x.isEmptyObject(h),N=x.speed(b,C,P),V=function(){var se=me(this,x.extend({},h),N);(L||ut.get(this,"finish"))&&se.stop(!0)};return V.finish=V,L||N.queue===!1?this.each(V):this.queue(N.queue,V)},stop:function(h,b,C){var P=function(L){var N=L.stop;delete L.stop,N(C)};return typeof h!="string"&&(C=b,b=h,h=void 0),b&&this.queue(h||"fx",[]),this.each(function(){var L=!0,N=h!=null&&h+"queueHooks",V=x.timers,se=ut.get(this);if(N)se[N]&&se[N].stop&&P(se[N]);else for(N in se)se[N]&&se[N].stop&&On.test(N)&&P(se[N]);for(N=V.length;N--;)V[N].elem===this&&(h==null||V[N].queue===h)&&(V[N].anim.stop(C),L=!1,V.splice(N,1));(L||!C)&&x.dequeue(this,h)})},finish:function(h){return h!==!1&&(h=h||"fx"),this.each(function(){var b,C=ut.get(this),P=C[h+"queue"],L=C[h+"queueHooks"],N=x.timers,V=P?P.length:0;for(C.finish=!0,x.queue(this,h,[]),L&&L.stop&&L.stop.call(this,!0),b=N.length;b--;)N[b].elem===this&&N[b].queue===h&&(N[b].anim.stop(!0),N.splice(b,1));for(b=0;b<V;b++)P[b]&&P[b].finish&&P[b].finish.call(this);delete C.finish})}}),x.each(["toggle","show","hide"],function(h,b){var C=x.fn[b];x.fn[b]=function(P,L,N){return P==null||typeof P=="boolean"?C.apply(this,arguments):this.animate(F(b,!0),P,L,N)}}),x.each({slideDown:F("show"),slideUp:F("hide"),slideToggle:F("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(h,b){x.fn[h]=function(C,P,L){return this.animate(b,C,P,L)}}),x.timers=[],x.fx.tick=function(){var h,b=0,C=x.timers;for(jn=Date.now();b<C.length;b++)h=C[b],!h()&&C[b]===h&&C.splice(b--,1);C.length||x.fx.stop(),jn=void 0},x.fx.timer=function(h){x.timers.push(h),x.fx.start()},x.fx.interval=13,x.fx.start=function(){Cn||(Cn=!0,_n())},x.fx.stop=function(){Cn=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(h,b){return h=x.fx&&x.fx.speeds[h]||h,b=b||"fx",this.queue(b,function(C,P){var L=e.setTimeout(C,h);P.stop=function(){e.clearTimeout(L)}})},function(){var h=R.createElement("input"),b=R.createElement("select"),C=b.appendChild(R.createElement("option"));h.type="checkbox",A.checkOn=h.value!=="",A.optSelected=C.selected,h=R.createElement("input"),h.value="t",h.type="radio",A.radioValue=h.value==="t"}();var Re,Xe=x.expr.attrHandle;x.fn.extend({attr:function(h,b){return Sn(this,x.attr,h,b,arguments.length>1)},removeAttr:function(h){return this.each(function(){x.removeAttr(this,h)})}}),x.extend({attr:function(h,b,C){var P,L,N=h.nodeType;if(!(N===3||N===8||N===2)){if(typeof h.getAttribute>"u")return x.prop(h,b,C);if((N!==1||!x.isXMLDoc(h))&&(L=x.attrHooks[b.toLowerCase()]||(x.expr.match.bool.test(b)?Re:void 0)),C!==void 0){if(C===null){x.removeAttr(h,b);return}return L&&"set"in L&&(P=L.set(h,C,b))!==void 0?P:(h.setAttribute(b,C+""),C)}return L&&"get"in L&&(P=L.get(h,b))!==null?P:(P=x.find.attr(h,b),P??void 0)}},attrHooks:{type:{set:function(h,b){if(!A.radioValue&&b==="radio"&&ae(h,"input")){var C=h.value;return h.setAttribute("type",b),C&&(h.value=C),b}}}},removeAttr:function(h,b){var C,P=0,L=b&&b.match(ft);if(L&&h.nodeType===1)for(;C=L[P++];)h.removeAttribute(C)}}),Re={set:function(h,b,C){return b===!1?x.removeAttr(h,C):h.setAttribute(C,C),C}},x.each(x.expr.match.bool.source.match(/\w+/g),function(h,b){var C=Xe[b]||x.find.attr;Xe[b]=function(P,L,N){var V,se,te=L.toLowerCase();return N||(se=Xe[te],Xe[te]=V,V=C(P,L,N)!=null?te:null,Xe[te]=se),V}});var gt=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;x.fn.extend({prop:function(h,b){return Sn(this,x.prop,h,b,arguments.length>1)},removeProp:function(h){return this.each(function(){delete this[x.propFix[h]||h]})}}),x.extend({prop:function(h,b,C){var P,L,N=h.nodeType;if(!(N===3||N===8||N===2))return(N!==1||!x.isXMLDoc(h))&&(b=x.propFix[b]||b,L=x.propHooks[b]),C!==void 0?L&&"set"in L&&(P=L.set(h,C,b))!==void 0?P:h[b]=C:L&&"get"in L&&(P=L.get(h,b))!==null?P:h[b]},propHooks:{tabIndex:{get:function(h){var b=x.find.attr(h,"tabindex");return b?parseInt(b,10):gt.test(h.nodeName)||mt.test(h.nodeName)&&h.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),A.optSelected||(x.propHooks.selected={get:function(h){var b=h.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(h){var b=h.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this});function dt(h){var b=h.match(ft)||[];return b.join(" ")}function Ft(h){return h.getAttribute&&h.getAttribute("class")||""}function Bn(h){return Array.isArray(h)?h:typeof h=="string"?h.match(ft)||[]:[]}x.fn.extend({addClass:function(h){var b,C,P,L,N,V;return I(h)?this.each(function(se){x(this).addClass(h.call(this,se,Ft(this)))}):(b=Bn(h),b.length?this.each(function(){if(P=Ft(this),C=this.nodeType===1&&" "+dt(P)+" ",C){for(N=0;N<b.length;N++)L=b[N],C.indexOf(" "+L+" ")<0&&(C+=L+" ");V=dt(C),P!==V&&this.setAttribute("class",V)}}):this)},removeClass:function(h){var b,C,P,L,N,V;return I(h)?this.each(function(se){x(this).removeClass(h.call(this,se,Ft(this)))}):arguments.length?(b=Bn(h),b.length?this.each(function(){if(P=Ft(this),C=this.nodeType===1&&" "+dt(P)+" ",C){for(N=0;N<b.length;N++)for(L=b[N];C.indexOf(" "+L+" ")>-1;)C=C.replace(" "+L+" "," ");V=dt(C),P!==V&&this.setAttribute("class",V)}}):this):this.attr("class","")},toggleClass:function(h,b){var C,P,L,N,V=typeof h,se=V==="string"||Array.isArray(h);return I(h)?this.each(function(te){x(this).toggleClass(h.call(this,te,Ft(this),b),b)}):typeof b=="boolean"&&se?b?this.addClass(h):this.removeClass(h):(C=Bn(h),this.each(function(){if(se)for(N=x(this),L=0;L<C.length;L++)P=C[L],N.hasClass(P)?N.removeClass(P):N.addClass(P);else(h===void 0||V==="boolean")&&(P=Ft(this),P&&ut.set(this,"__className__",P),this.setAttribute&&this.setAttribute("class",P||h===!1?"":ut.get(this,"__className__")||""))}))},hasClass:function(h){var b,C,P=0;for(b=" "+h+" ";C=this[P++];)if(C.nodeType===1&&(" "+dt(Ft(C))+" ").indexOf(b)>-1)return!0;return!1}});var zn=/\r/g;x.fn.extend({val:function(h){var b,C,P,L=this[0];return arguments.length?(P=I(h),this.each(function(N){var V;this.nodeType===1&&(P?V=h.call(this,N,x(this).val()):V=h,V==null?V="":typeof V=="number"?V+="":Array.isArray(V)&&(V=x.map(V,function(se){return se==null?"":se+""})),b=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],(!b||!("set"in b)||b.set(this,V,"value")===void 0)&&(this.value=V))})):L?(b=x.valHooks[L.type]||x.valHooks[L.nodeName.toLowerCase()],b&&"get"in b&&(C=b.get(L,"value"))!==void 0?C:(C=L.value,typeof C=="string"?C.replace(zn,""):C??"")):void 0}}),x.extend({valHooks:{option:{get:function(h){var b=x.find.attr(h,"value");return b??dt(x.text(h))}},select:{get:function(h){var b,C,P,L=h.options,N=h.selectedIndex,V=h.type==="select-one",se=V?null:[],te=V?N+1:L.length;for(N<0?P=te:P=V?N:0;P<te;P++)if(C=L[P],(C.selected||P===N)&&!C.disabled&&(!C.parentNode.disabled||!ae(C.parentNode,"optgroup"))){if(b=x(C).val(),V)return b;se.push(b)}return se},set:function(h,b){for(var C,P,L=h.options,N=x.makeArray(b),V=L.length;V--;)P=L[V],(P.selected=x.inArray(x.valHooks.option.get(P),N)>-1)&&(C=!0);return C||(h.selectedIndex=-1),N}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(h,b){if(Array.isArray(b))return h.checked=x.inArray(x(h).val(),b)>-1}},A.checkOn||(x.valHooks[this].get=function(h){return h.getAttribute("value")===null?"on":h.value})});var En=e.location,Qr={guid:Date.now()},lr=/\?/;x.parseXML=function(h){var b,C;if(!h||typeof h!="string")return null;try{b=new e.DOMParser().parseFromString(h,"text/xml")}catch{}return C=b&&b.getElementsByTagName("parsererror")[0],(!b||C)&&x.error("Invalid XML: "+(C?x.map(C.childNodes,function(P){return P.textContent}).join(`
|
|
172
|
+
`):h)),b};var Yi=/^(?:focusinfocus|focusoutblur)$/,mi=function(h){h.stopPropagation()};x.extend(x.event,{trigger:function(h,b,C,P){var L,N,V,se,te,pe,_e,Ae,Te=[C||R],$e=g.call(h,"type")?h.type:h,it=g.call(h,"namespace")?h.namespace.split("."):[];if(N=Ae=V=C=C||R,!(C.nodeType===3||C.nodeType===8)&&!Yi.test($e+x.event.triggered)&&($e.indexOf(".")>-1&&(it=$e.split("."),$e=it.shift(),it.sort()),te=$e.indexOf(":")<0&&"on"+$e,h=h[x.expando]?h:new x.Event($e,typeof h=="object"&&h),h.isTrigger=P?2:3,h.namespace=it.join("."),h.rnamespace=h.namespace?new RegExp("(^|\\.)"+it.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h.result=void 0,h.target||(h.target=C),b=b==null?[h]:x.makeArray(b,[h]),_e=x.event.special[$e]||{},!(!P&&_e.trigger&&_e.trigger.apply(C,b)===!1))){if(!P&&!_e.noBubble&&!j(C)){for(se=_e.delegateType||$e,Yi.test(se+$e)||(N=N.parentNode);N;N=N.parentNode)Te.push(N),V=N;V===(C.ownerDocument||R)&&Te.push(V.defaultView||V.parentWindow||e)}for(L=0;(N=Te[L++])&&!h.isPropagationStopped();)Ae=N,h.type=L>1?se:_e.bindType||$e,pe=(ut.get(N,"events")||Object.create(null))[h.type]&&ut.get(N,"handle"),pe&&pe.apply(N,b),pe=te&&N[te],pe&&pe.apply&&fn(N)&&(h.result=pe.apply(N,b),h.result===!1&&h.preventDefault());return h.type=$e,!P&&!h.isDefaultPrevented()&&(!_e._default||_e._default.apply(Te.pop(),b)===!1)&&fn(C)&&te&&I(C[$e])&&!j(C)&&(V=C[te],V&&(C[te]=null),x.event.triggered=$e,h.isPropagationStopped()&&Ae.addEventListener($e,mi),C[$e](),h.isPropagationStopped()&&Ae.removeEventListener($e,mi),x.event.triggered=void 0,V&&(C[te]=V)),h.result}},simulate:function(h,b,C){var P=x.extend(new x.Event,C,{type:h,isSimulated:!0});x.event.trigger(P,null,b)}}),x.fn.extend({trigger:function(h,b){return this.each(function(){x.event.trigger(h,b,this)})},triggerHandler:function(h,b){var C=this[0];if(C)return x.event.trigger(h,b,C,!0)}});var Gi=/\[\]$/,Fr=/\r?\n/g,qi=/^(?:submit|button|image|reset|file)$/i,Wa=/^(?:input|select|textarea|keygen)/i;function Ns(h,b,C,P){var L;if(Array.isArray(b))x.each(b,function(N,V){C||Gi.test(h)?P(h,V):Ns(h+"["+(typeof V=="object"&&V!=null?N:"")+"]",V,C,P)});else if(!C&&ne(b)==="object")for(L in b)Ns(h+"["+L+"]",b[L],C,P);else P(h,b)}x.param=function(h,b){var C,P=[],L=function(N,V){var se=I(V)?V():V;P[P.length]=encodeURIComponent(N)+"="+encodeURIComponent(se??"")};if(h==null)return"";if(Array.isArray(h)||h.jquery&&!x.isPlainObject(h))x.each(h,function(){L(this.name,this.value)});else for(C in h)Ns(C,h[C],b,L);return P.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var h=x.prop(this,"elements");return h?x.makeArray(h):this}).filter(function(){var h=this.type;return this.name&&!x(this).is(":disabled")&&Wa.test(this.nodeName)&&!qi.test(h)&&(this.checked||!Wt.test(h))}).map(function(h,b){var C=x(this).val();return C==null?null:Array.isArray(C)?x.map(C,function(P){return{name:b.name,value:P.replace(Fr,`\r
|
|
173
|
+
`)}}):{name:b.name,value:C.replace(Fr,`\r
|
|
174
|
+
`)}}).get()}});var rs=/%20/g,Sr=/#.*$/,za=/([?&])_=[^&]*/,vi=/^(.*?):[ \t]*([^\r\n]*)$/mg,js=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,is=/^(?:GET|HEAD)$/,rn=/^\/\//,Gt={},Kt={},Ri="*/".concat("*"),ei=R.createElement("a");ei.href=En.href;function Io(h){return function(b,C){typeof b!="string"&&(C=b,b="*");var P,L=0,N=b.toLowerCase().match(ft)||[];if(I(C))for(;P=N[L++];)P[0]==="+"?(P=P.slice(1)||"*",(h[P]=h[P]||[]).unshift(C)):(h[P]=h[P]||[]).push(C)}}function yi(h,b,C,P){var L={},N=h===Kt;function V(se){var te;return L[se]=!0,x.each(h[se]||[],function(pe,_e){var Ae=_e(b,C,P);if(typeof Ae=="string"&&!N&&!L[Ae])return b.dataTypes.unshift(Ae),V(Ae),!1;if(N)return!(te=Ae)}),te}return V(b.dataTypes[0])||!L["*"]&&V("*")}function ur(h,b){var C,P,L=x.ajaxSettings.flatOptions||{};for(C in b)b[C]!==void 0&&((L[C]?h:P||(P={}))[C]=b[C]);return P&&x.extend(!0,h,P),h}function Bs(h,b,C){for(var P,L,N,V,se=h.contents,te=h.dataTypes;te[0]==="*";)te.shift(),P===void 0&&(P=h.mimeType||b.getResponseHeader("Content-Type"));if(P){for(L in se)if(se[L]&&se[L].test(P)){te.unshift(L);break}}if(te[0]in C)N=te[0];else{for(L in C){if(!te[0]||h.converters[L+" "+te[0]]){N=L;break}V||(V=L)}N=N||V}if(N)return N!==te[0]&&te.unshift(N),C[N]}function co(h,b,C,P){var L,N,V,se,te,pe={},_e=h.dataTypes.slice();if(_e[1])for(V in h.converters)pe[V.toLowerCase()]=h.converters[V];for(N=_e.shift();N;)if(h.responseFields[N]&&(C[h.responseFields[N]]=b),!te&&P&&h.dataFilter&&(b=h.dataFilter(b,h.dataType)),te=N,N=_e.shift(),N){if(N==="*")N=te;else if(te!=="*"&&te!==N){if(V=pe[te+" "+N]||pe["* "+N],!V){for(L in pe)if(se=L.split(" "),se[1]===N&&(V=pe[te+" "+se[0]]||pe["* "+se[0]],V)){V===!0?V=pe[L]:pe[L]!==!0&&(N=se[0],_e.unshift(se[1]));break}}if(V!==!0)if(V&&h.throws)b=V(b);else try{b=V(b)}catch(Ae){return{state:"parsererror",error:V?Ae:"No conversion from "+te+" to "+N}}}}return{state:"success",data:b}}x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:En.href,type:"GET",isLocal:js.test(En.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ri,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(h,b){return b?ur(ur(h,x.ajaxSettings),b):ur(x.ajaxSettings,h)},ajaxPrefilter:Io(Gt),ajaxTransport:Io(Kt),ajax:function(h,b){typeof h=="object"&&(b=h,h=void 0),b=b||{};var C,P,L,N,V,se,te,pe,_e,Ae,Te=x.ajaxSetup({},b),$e=Te.context||Te,it=Te.context&&($e.nodeType||$e.jquery)?x($e):x.event,Tt=x.Deferred(),Et=x.Callbacks("once memory"),Rn=Te.statusCode||{},un={},Nr={},jr="canceled",Lt={readyState:0,getResponseHeader:function(jt){var Qt;if(te){if(!N)for(N={};Qt=vi.exec(L);)N[Qt[1].toLowerCase()+" "]=(N[Qt[1].toLowerCase()+" "]||[]).concat(Qt[2]);Qt=N[jt.toLowerCase()+" "]}return Qt==null?null:Qt.join(", ")},getAllResponseHeaders:function(){return te?L:null},setRequestHeader:function(jt,Qt){return te==null&&(jt=Nr[jt.toLowerCase()]=Nr[jt.toLowerCase()]||jt,un[jt]=Qt),this},overrideMimeType:function(jt){return te==null&&(Te.mimeType=jt),this},statusCode:function(jt){var Qt;if(jt)if(te)Lt.always(jt[Lt.status]);else for(Qt in jt)Rn[Qt]=[Rn[Qt],jt[Qt]];return this},abort:function(jt){var Qt=jt||jr;return C&&C.abort(Qt),Br(0,Qt),this}};if(Tt.promise(Lt),Te.url=((h||Te.url||En.href)+"").replace(rn,En.protocol+"//"),Te.type=b.method||b.type||Te.method||Te.type,Te.dataTypes=(Te.dataType||"*").toLowerCase().match(ft)||[""],Te.crossDomain==null){se=R.createElement("a");try{se.href=Te.url,se.href=se.href,Te.crossDomain=ei.protocol+"//"+ei.host!=se.protocol+"//"+se.host}catch{Te.crossDomain=!0}}if(Te.data&&Te.processData&&typeof Te.data!="string"&&(Te.data=x.param(Te.data,Te.traditional)),yi(Gt,Te,b,Lt),te)return Lt;pe=x.event&&Te.global,pe&&x.active++===0&&x.event.trigger("ajaxStart"),Te.type=Te.type.toUpperCase(),Te.hasContent=!is.test(Te.type),P=Te.url.replace(Sr,""),Te.hasContent?Te.data&&Te.processData&&(Te.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Te.data=Te.data.replace(rs,"+")):(Ae=Te.url.slice(P.length),Te.data&&(Te.processData||typeof Te.data=="string")&&(P+=(lr.test(P)?"&":"?")+Te.data,delete Te.data),Te.cache===!1&&(P=P.replace(za,"$1"),Ae=(lr.test(P)?"&":"?")+"_="+Qr.guid+++Ae),Te.url=P+Ae),Te.ifModified&&(x.lastModified[P]&&Lt.setRequestHeader("If-Modified-Since",x.lastModified[P]),x.etag[P]&&Lt.setRequestHeader("If-None-Match",x.etag[P])),(Te.data&&Te.hasContent&&Te.contentType!==!1||b.contentType)&&Lt.setRequestHeader("Content-Type",Te.contentType),Lt.setRequestHeader("Accept",Te.dataTypes[0]&&Te.accepts[Te.dataTypes[0]]?Te.accepts[Te.dataTypes[0]]+(Te.dataTypes[0]!=="*"?", "+Ri+"; q=0.01":""):Te.accepts["*"]);for(_e in Te.headers)Lt.setRequestHeader(_e,Te.headers[_e]);if(Te.beforeSend&&(Te.beforeSend.call($e,Lt,Te)===!1||te))return Lt.abort();if(jr="abort",Et.add(Te.complete),Lt.done(Te.success),Lt.fail(Te.error),C=yi(Kt,Te,b,Lt),!C)Br(-1,"No Transport");else{if(Lt.readyState=1,pe&&it.trigger("ajaxSend",[Lt,Te]),te)return Lt;Te.async&&Te.timeout>0&&(V=e.setTimeout(function(){Lt.abort("timeout")},Te.timeout));try{te=!1,C.send(un,Br)}catch(jt){if(te)throw jt;Br(-1,jt)}}function Br(jt,Qt,ho,po){var Tr,D,M,W,Q,be=Qt;te||(te=!0,V&&e.clearTimeout(V),C=void 0,L=po||"",Lt.readyState=jt>0?4:0,Tr=jt>=200&&jt<300||jt===304,ho&&(W=Bs(Te,Lt,ho)),!Tr&&x.inArray("script",Te.dataTypes)>-1&&x.inArray("json",Te.dataTypes)<0&&(Te.converters["text script"]=function(){}),W=co(Te,W,Lt,Tr),Tr?(Te.ifModified&&(Q=Lt.getResponseHeader("Last-Modified"),Q&&(x.lastModified[P]=Q),Q=Lt.getResponseHeader("etag"),Q&&(x.etag[P]=Q)),jt===204||Te.type==="HEAD"?be="nocontent":jt===304?be="notmodified":(be=W.state,D=W.data,M=W.error,Tr=!M)):(M=be,(jt||!be)&&(be="error",jt<0&&(jt=0))),Lt.status=jt,Lt.statusText=(Qt||be)+"",Tr?Tt.resolveWith($e,[D,be,Lt]):Tt.rejectWith($e,[Lt,be,M]),Lt.statusCode(Rn),Rn=void 0,pe&&it.trigger(Tr?"ajaxSuccess":"ajaxError",[Lt,Te,Tr?D:M]),Et.fireWith($e,[Lt,be]),pe&&(it.trigger("ajaxComplete",[Lt,Te]),--x.active||x.event.trigger("ajaxStop")))}return Lt},getJSON:function(h,b,C){return x.get(h,b,C,"json")},getScript:function(h,b){return x.get(h,void 0,b,"script")}}),x.each(["get","post"],function(h,b){x[b]=function(C,P,L,N){return I(P)&&(N=N||L,L=P,P=void 0),x.ajax(x.extend({url:C,type:b,dataType:N,data:P,success:L},x.isPlainObject(C)&&C))}}),x.ajaxPrefilter(function(h){var b;for(b in h.headers)b.toLowerCase()==="content-type"&&(h.contentType=h.headers[b]||"")}),x._evalUrl=function(h,b,C){return x.ajax({url:h,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(P){x.globalEval(P,b,C)}})},x.fn.extend({wrapAll:function(h){var b;return this[0]&&(I(h)&&(h=h.call(this[0])),b=x(h,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){for(var C=this;C.firstElementChild;)C=C.firstElementChild;return C}).append(this)),this},wrapInner:function(h){return I(h)?this.each(function(b){x(this).wrapInner(h.call(this,b))}):this.each(function(){var b=x(this),C=b.contents();C.length?C.wrapAll(h):b.append(h)})},wrap:function(h){var b=I(h);return this.each(function(C){x(this).wrapAll(b?h.call(this,C):h)})},unwrap:function(h){return this.parent(h).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(h){return!x.expr.pseudos.visible(h)},x.expr.pseudos.visible=function(h){return!!(h.offsetWidth||h.offsetHeight||h.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch{}};var ua={0:200,1223:204},ln=x.ajaxSettings.xhr();A.cors=!!ln&&"withCredentials"in ln,A.ajax=ln=!!ln,x.ajaxTransport(function(h){var b,C;if(A.cors||ln&&!h.crossDomain)return{send:function(P,L){var N,V=h.xhr();if(V.open(h.type,h.url,h.async,h.username,h.password),h.xhrFields)for(N in h.xhrFields)V[N]=h.xhrFields[N];h.mimeType&&V.overrideMimeType&&V.overrideMimeType(h.mimeType),!h.crossDomain&&!P["X-Requested-With"]&&(P["X-Requested-With"]="XMLHttpRequest");for(N in P)V.setRequestHeader(N,P[N]);b=function(se){return function(){b&&(b=C=V.onload=V.onerror=V.onabort=V.ontimeout=V.onreadystatechange=null,se==="abort"?V.abort():se==="error"?typeof V.status!="number"?L(0,"error"):L(V.status,V.statusText):L(ua[V.status]||V.status,V.statusText,(V.responseType||"text")!=="text"||typeof V.responseText!="string"?{binary:V.response}:{text:V.responseText},V.getAllResponseHeaders()))}},V.onload=b(),C=V.onerror=V.ontimeout=b("error"),V.onabort!==void 0?V.onabort=C:V.onreadystatechange=function(){V.readyState===4&&e.setTimeout(function(){b&&C()})},b=b("abort");try{V.send(h.hasContent&&h.data||null)}catch(se){if(b)throw se}},abort:function(){b&&b()}}}),x.ajaxPrefilter(function(h){h.crossDomain&&(h.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(h){return x.globalEval(h),h}}}),x.ajaxPrefilter("script",function(h){h.cache===void 0&&(h.cache=!1),h.crossDomain&&(h.type="GET")}),x.ajaxTransport("script",function(h){if(h.crossDomain||h.scriptAttrs){var b,C;return{send:function(P,L){b=x("<script>").attr(h.scriptAttrs||{}).prop({charset:h.scriptCharset,src:h.url}).on("load error",C=function(N){b.remove(),C=null,N&&L(N.type==="error"?404:200,N.type)}),R.head.appendChild(b[0])},abort:function(){C&&C()}}}});var Mo=[],bi=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var h=Mo.pop()||x.expando+"_"+Qr.guid++;return this[h]=!0,h}}),x.ajaxPrefilter("json jsonp",function(h,b,C){var P,L,N,V=h.jsonp!==!1&&(bi.test(h.url)?"url":typeof h.data=="string"&&(h.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&bi.test(h.data)&&"data");if(V||h.dataTypes[0]==="jsonp")return P=h.jsonpCallback=I(h.jsonpCallback)?h.jsonpCallback():h.jsonpCallback,V?h[V]=h[V].replace(bi,"$1"+P):h.jsonp!==!1&&(h.url+=(lr.test(h.url)?"&":"?")+h.jsonp+"="+P),h.converters["script json"]=function(){return N||x.error(P+" was not called"),N[0]},h.dataTypes[0]="json",L=e[P],e[P]=function(){N=arguments},C.always(function(){L===void 0?x(e).removeProp(P):e[P]=L,h[P]&&(h.jsonpCallback=b.jsonpCallback,Mo.push(P)),N&&I(L)&&L(N[0]),N=L=void 0}),"script"}),A.createHTMLDocument=function(){var h=R.implementation.createHTMLDocument("").body;return h.innerHTML="<form></form><form></form>",h.childNodes.length===2}(),x.parseHTML=function(h,b,C){if(typeof h!="string")return[];typeof b=="boolean"&&(C=b,b=!1);var P,L,N;return b||(A.createHTMLDocument?(b=R.implementation.createHTMLDocument(""),P=b.createElement("base"),P.href=R.location.href,b.head.appendChild(P)):b=R),L=Ne.exec(h),N=!C&&[],L?[b.createElement(L[1])]:(L=Tn([h],b,N),N&&N.length&&x(N).remove(),x.merge([],L.childNodes))},x.fn.load=function(h,b,C){var P,L,N,V=this,se=h.indexOf(" ");return se>-1&&(P=dt(h.slice(se)),h=h.slice(0,se)),I(b)?(C=b,b=void 0):b&&typeof b=="object"&&(L="POST"),V.length>0&&x.ajax({url:h,type:L||"GET",dataType:"html",data:b}).done(function(te){N=arguments,V.html(P?x("<div>").append(x.parseHTML(te)).find(P):te)}).always(C&&function(te,pe){V.each(function(){C.apply(this,N||[te.responseText,pe,te])})}),this},x.expr.pseudos.animated=function(h){return x.grep(x.timers,function(b){return h===b.elem}).length},x.offset={setOffset:function(h,b,C){var P,L,N,V,se,te,pe,_e=x.css(h,"position"),Ae=x(h),Te={};_e==="static"&&(h.style.position="relative"),se=Ae.offset(),N=x.css(h,"top"),te=x.css(h,"left"),pe=(_e==="absolute"||_e==="fixed")&&(N+te).indexOf("auto")>-1,pe?(P=Ae.position(),V=P.top,L=P.left):(V=parseFloat(N)||0,L=parseFloat(te)||0),I(b)&&(b=b.call(h,C,x.extend({},se))),b.top!=null&&(Te.top=b.top-se.top+V),b.left!=null&&(Te.left=b.left-se.left+L),"using"in b?b.using.call(h,Te):Ae.css(Te)}},x.fn.extend({offset:function(h){if(arguments.length)return h===void 0?this:this.each(function(L){x.offset.setOffset(this,h,L)});var b,C,P=this[0];if(P)return P.getClientRects().length?(b=P.getBoundingClientRect(),C=P.ownerDocument.defaultView,{top:b.top+C.pageYOffset,left:b.left+C.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var h,b,C,P=this[0],L={top:0,left:0};if(x.css(P,"position")==="fixed")b=P.getBoundingClientRect();else{for(b=this.offset(),C=P.ownerDocument,h=P.offsetParent||C.documentElement;h&&(h===C.body||h===C.documentElement)&&x.css(h,"position")==="static";)h=h.parentNode;h&&h!==P&&h.nodeType===1&&(L=x(h).offset(),L.top+=x.css(h,"borderTopWidth",!0),L.left+=x.css(h,"borderLeftWidth",!0))}return{top:b.top-L.top-x.css(P,"marginTop",!0),left:b.left-L.left-x.css(P,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var h=this.offsetParent;h&&x.css(h,"position")==="static";)h=h.offsetParent;return h||_r})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(h,b){var C=b==="pageYOffset";x.fn[h]=function(P){return Sn(this,function(L,N,V){var se;if(j(L)?se=L:L.nodeType===9&&(se=L.defaultView),V===void 0)return se?se[b]:L[N];se?se.scrollTo(C?se.pageXOffset:V,C?V:se.pageYOffset):L[N]=V},h,P,arguments.length)}}),x.each(["top","left"],function(h,b){x.cssHooks[b]=ar(A.pixelPosition,function(C,P){if(P)return P=Oi(C,b),Zr.test(P)?x(C).position()[b]+"px":P})}),x.each({Height:"height",Width:"width"},function(h,b){x.each({padding:"inner"+h,content:b,"":"outer"+h},function(C,P){x.fn[P]=function(L,N){var V=arguments.length&&(C||typeof L!="boolean"),se=C||(L===!0||N===!0?"margin":"border");return Sn(this,function(te,pe,_e){var Ae;return j(te)?P.indexOf("outer")===0?te["inner"+h]:te.document.documentElement["client"+h]:te.nodeType===9?(Ae=te.documentElement,Math.max(te.body["scroll"+h],Ae["scroll"+h],te.body["offset"+h],Ae["offset"+h],Ae["client"+h])):_e===void 0?x.css(te,pe,se):x.style(te,pe,_e,se)},b,V?L:void 0,V)}})}),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(h,b){x.fn[b]=function(C){return this.on(b,C)}}),x.fn.extend({bind:function(h,b,C){return this.on(h,null,b,C)},unbind:function(h,b){return this.off(h,null,b)},delegate:function(h,b,C,P){return this.on(b,h,C,P)},undelegate:function(h,b,C){return arguments.length===1?this.off(h,"**"):this.off(b,h||"**",C)},hover:function(h,b){return this.on("mouseenter",h).on("mouseleave",b||h)}}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(h,b){x.fn[b]=function(C,P){return arguments.length>0?this.on(b,null,C,P):this.trigger(b)}});var ca=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;x.proxy=function(h,b){var C,P,L;if(typeof b=="string"&&(C=h[b],b=h,h=C),!!I(h))return P=o.call(arguments,2),L=function(){return h.apply(b||this,P.concat(o.call(arguments)))},L.guid=h.guid=h.guid||x.guid++,L},x.holdReady=function(h){h?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=ae,x.isFunction=I,x.isWindow=j,x.camelCase=sn,x.type=ne,x.now=Date.now,x.isNumeric=function(h){var b=x.type(h);return(b==="number"||b==="string")&&!isNaN(h-parseFloat(h))},x.trim=function(h){return h==null?"":(h+"").replace(ca,"$1")};var fo=e.jQuery,cr=e.$;return x.noConflict=function(h){return e.$===x&&(e.$=cr),h&&e.jQuery===x&&(e.jQuery=fo),x},typeof n>"u"&&(e.jQuery=e.$=x),x})})(ZD);var JD=ZD.exports;const O6=Eu(JD);var _6={exports:{}};/**
|
|
175
175
|
* @version: 3.1
|
|
176
176
|
* @author: Dan Grossman http://www.dangrossman.info/
|
|
177
177
|
* @copyright: Copyright (c) 2012-2019 Dan Grossman. All rights reserved.
|