Files
server/opt/psa/admin/htdocs/modules/laravel/dist/main.js
2026-01-07 20:52:11 +01:00

3 lines
322 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*! For license information please see main.js.LICENSE.txt */
define(["plesk-ui-library"],e=>(()=>{var t,r,n={297(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},528(e,t,r){"use strict";var n,o=r(9629),a=r(9838),i=r(9110),l=r(1155),c=r(4943),s=r(5731),u=r(3468),p=r(2140),f=r(8479),d=r(8449),m=r(8129),y=r(2387),h=r(5865),g=r(1319),b=r(6882),v=Function,E=function(e){try{return v('"use strict"; return ('+e+").constructor;")()}catch(e){}},w=r(9336),S=r(4940),T=function(){throw new u},O=w?function(){try{return T}catch(e){try{return w(arguments,"callee").get}catch(e){return T}}}():T,x=r(3558)(),P=r(6369),A=r(7345),C=r(7859),R=r(6095),j=r(4531),k={},D="undefined"!=typeof Uint8Array&&P?P(Uint8Array):n,M={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":x&&P?P([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":k,"%AsyncGenerator%":k,"%AsyncGeneratorFunction%":k,"%AsyncIteratorPrototype%":k,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"undefined"==typeof Float16Array?n:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":k,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":x&&P?P(P([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&x&&P?P((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":l,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&x&&P?P((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&P?P(""[Symbol.iterator]()):n,"%Symbol%":x?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":O,"%TypedArray%":D,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet,"%Function.prototype.call%":j,"%Function.prototype.apply%":R,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":A,"%Math.abs%":f,"%Math.floor%":d,"%Math.max%":m,"%Math.min%":y,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":b,"%Reflect.getPrototypeOf%":C};if(P)try{null.error}catch(e){var L=P(P(e));M["%Error.prototype%"]=L}var I=function e(t){var r;if("%AsyncFunction%"===t)r=E("async function () {}");else if("%GeneratorFunction%"===t)r=E("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=E("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&P&&(r=P(o.prototype))}return M[t]=r,r},_={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},N=r(9138),q=r(8554),U=N.call(j,Array.prototype.concat),F=N.call(R,Array.prototype.splice),B=N.call(j,String.prototype.replace),H=N.call(j,String.prototype.slice),W=N.call(j,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,X=/\\(\\)?/g,G=function(e,t){var r,n=e;if(q(_,n)&&(n="%"+(r=_[n])[0]+"%"),q(M,n)){var o=M[n];if(o===k&&(o=I(n)),void 0===o&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,e))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=H(e,0,1),r=H(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return B(e,z,function(e,t,r,o){n[n.length]=r?B(o,X,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",o=G("%"+n+"%",t),a=o.name,i=o.value,l=!1,c=o.alias;c&&(n=c[0],F(r,U([0,1],c)));for(var p=1,f=!0;p<r.length;p+=1){var d=r[p],m=H(d,0,1),y=H(d,-1);if(('"'===m||"'"===m||"`"===m||'"'===y||"'"===y||"`"===y)&&m!==y)throw new s("property names with quotes must have matching quotes");if("constructor"!==d&&f||(l=!0),q(M,a="%"+(n+="."+d)+"%"))i=M[a];else if(null!=i){if(!(d in i)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&p+1>=r.length){var h=w(i,d);i=(f=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:i[d]}else f=q(i,d),i=i[d];f&&!l&&(M[a]=i)}}return i}},550(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(2280),o=r(2517),a=function(e){var t=e.content,r=e.tooltip,a=e.onCopy,i=(0,o.useTranslate)(),l=r||i("CopyBlock.copyClipboard");return(0,n.createElement)(o.Alert,{style:{marginBottom:0}},(0,n.createElement)(o.Grid,null,(0,n.createElement)(o.GridCol,{xs:11},t),(0,n.createElement)(o.GridCol,{xs:1,style:{textAlign:"right",marginBlock:"-3px"}},(0,n.createElement)(o.Button,{ghost:!0,icon:"copy",tooltip:l,tooltipAsLabel:!0,onClick:function(){(0,o.copyToClipboard)(t),a()}}))))};a.defaultProps={onCopy:function(){}},a.propTypes={content:o.PropTypes.string.isRequired,tooltip:o.PropTypes.string,onCopy:o.PropTypes.func};const i=a},877(e,t,r){"use strict";var n=r(2280),o=r(9067),a=r.n(o),i=r(9398),l=r(5838),c=r(4502),s=r(1912),u=["children","config","successUrl","successMessage","cancelUrl","history","onSubmit","cancelButton","onSuccess","api","statusMessages","staticContext"];function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(null,arguments)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){E(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,w(n.key),n)}}function h(e,t,r){return t=b(t),function(e,t){if(t&&("object"==p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,g()?Reflect.construct(t,r||[],b(e).constructor):t.apply(e,r))}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(g=function(){return!!e})()}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function E(e,t,r){return(t=w(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){var t=function(e){if("object"!=p(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==p(t)?t:t+""}var S=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return E(e=h(this,t,[].concat(n)),"state",{state:null,errors:{}}),E(e,"handleCancel",function(){var t=e.props,r=t.cancelUrl,n=t.history,o=t.cancelButton;o&&"function"==typeof o.onClick&&!1===o.onClick()||r&&n.push(r)}),E(e,"handleSubmit",function(t){var r=e.props,n=r.config,o=r.action,a=r.onSubmit,i=r.api,l=r.statusMessages;"function"==typeof a&&!1===a(t)||(e.setState({state:"submit"}),i.post("".concat(n.baseUrl).concat(o),t).then(function(t){var r=t.status,n=t.errors,o=t.data,a={state:null};Array.isArray(n)?n.forEach(function(e){return l.add({intent:"danger",message:e})}):a.errors=n,e.setState(a,function(){if("success"===r){var t=e.props,n=t.successUrl,a=t.successMessage,i=t.history,c=t.onSuccess;if("function"==typeof c&&!1===c(o))return;n&&i.push(n),a&&setTimeout(function(){l.add({intent:"success",message:a})})}})}))}),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(t,e),r=t,o=[{key:"prepareCancelButton",value:function(){var e=this.props,t=e.cancelUrl,r=e.cancelButton;return r?m(m({},r),{},{onClick:this.handleCancel}):null!==t&&{onClick:this.handleCancel}}},{key:"render",value:function(){var e=this.state,t=e.state,r=e.errors,o=this.props,a=o.children,i=(o.config,o.successUrl,o.successMessage,o.cancelUrl,o.history,o.onSubmit,o.cancelButton,o.onSuccess,o.api,o.statusMessages,o.staticContext,function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(o,u));return(0,n.createElement)(n.Form,f({state:t,errors:r},i,{onSubmit:this.handleSubmit,cancelButton:this.prepareCancelButton()}),a)}}],o&&y(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o}(n.Component);E(S,"propTypes",{config:a().shape({baseUrl:a().string.isRequired}).isRequired,action:a().string.isRequired,successUrl:a().string,successMessage:a().string,cancelUrl:a().string,children:a().node,history:a().shape({push:a().func.isRequired}).isRequired,api:a().shape({post:a().func.isRequired}).isRequired,statusMessages:a().shape({add:a().func.isRequired}).isRequired,onSubmit:a().func,onSuccess:a().func,applyButton:a().oneOfType([a().bool,a().object]),cancelButton:a().oneOfType([a().bool,a().object]),staticContext:a().any}),E(S,"defaultProps",{successUrl:null,successMessage:null,cancelUrl:null,children:null,onSubmit:null,onSuccess:null,applyButton:!1,cancelButton:!1,staticContext:null}),(0,s.xZ)((0,i.y)((0,l.Nt)((0,c.N)(S))))},1155(e){"use strict";e.exports=RangeError},1292(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},1319(e){"use strict";e.exports=Math.round},1539(e,t,r){"use strict";var n=r(1830),o=r(7575),a=Object.prototype.hasOwnProperty,i=Array.isArray,l=o(),c=function(e,t){return l.set(e,t),e},s=function(e){return l.has(e)},u=function(e){return l.get(e)},p=function(e,t){l.set(e,t)},f=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),d=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},m=1024;e.exports={arrayToObject:d,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t,r,n){if(s(e)){var o=u(e)+1;return e[o]=t,p(e,o),e}var a=[].concat(e,t);return a.length>r?c(d(a,{plainObjects:n}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],a=o.obj[o.prop],l=Object.keys(a),c=0;c<l.length;++c){var s=l[c],u=a[s];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:a,prop:s}),r.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,o,a){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var l="",c=0;c<i.length;c+=m){for(var s=i.length>=m?i.slice(c,c+m):i,u=[],p=0;p<s.length;++p){var d=s.charCodeAt(p);45===d||46===d||95===d||126===d||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||a===n.RFC1738&&(40===d||41===d)?u[u.length]=s.charAt(p):d<128?u[u.length]=f[d]:d<2048?u[u.length]=f[192|d>>6]+f[128|63&d]:d<55296||d>=57344?u[u.length]=f[224|d>>12]+f[128|d>>6&63]+f[128|63&d]:(p+=1,d=65536+((1023&d)<<10|1023&s.charCodeAt(p)),u[u.length]=f[240|d>>18]+f[128|d>>12&63]+f[128|d>>6&63]+f[128|63&d])}l+=u.join("")}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isOverflow:s,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(i(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];if(s(t)){var o=u(t)+1;t[o]=r,p(t,o)}else(n&&(n.plainObjects||n.allowPrototypes)||!a.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t){if(s(r)){for(var l=Object.keys(r),f=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},m=0;m<l.length;m++)f[parseInt(l[m],10)+1]=r[l[m]];return c(f,u(r)+1)}return[t].concat(r)}var y=t;return i(t)&&!i(r)&&(y=d(t,n)),i(t)&&i(r)?(r.forEach(function(r,o){if(a.call(t,o)){var i=t[o];i&&"object"==typeof i&&r&&"object"==typeof r?t[o]=e(i,r,n):t.push(r)}else t[o]=r}),t):Object.keys(r).reduce(function(t,o){var i=r[o];return a.call(t,o)?t[o]=e(t[o],i,n):t[o]=i,t},y)}}},1790(e,t,r){"use strict";r.d(t,{A:()=>Fr});var n=r(2517),o=r(7033),a=r(2280),i=(0,a.createContext)(),l=i.Provider;const c=function(){return(0,a.useContext)(i)};var s=r(550),u=r(9067),p=r.n(u);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t,r){return(t=function(e){var t=function(e){if("object"!=f(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var b=(0,a.createContext)(),v=function(e){var t=e.domain,r=e.children,n=h((0,a.useState)(function(){return m(m({},t),{},{scheduleEnabled:!!t.scheduleTaskId})}),2),i=n[0],l=n[1],s=h((0,a.useState)(!1),2),u=s[0],p=s[1],f=c().baseUrl,d=function(){p(!0),o.Jt("".concat(f,"/api/deploy-config"),{domainId:t.domainId}).then(function(e){var t=e.deployerConfig;l(function(e){return m(m({},e),{},{deployerConfig:t})})}).finally(function(){return p(!1)})},y=(0,a.useMemo)(function(){return{domain:i,setDomain:l,updateDeployerConfig:d,loadDeployerConfig:u}},[i,u]);return(0,a.createElement)(b.Provider,{value:y},r)};const E=function(){return(0,a.useContext)(b)};function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return S(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}v.propTypes={domain:p().shape({scheduleTaskId:p().number,domainId:p().number}).isRequired};var T=function(e){var t=e.isOpen,r=e.onClose,a=e.showMessage,i=c().baseUrl,l=E().domain.domainId,s=w((0,n.useState)(!1),2),u=s[0],p=s[1],f=w((0,n.useState)(),2),d=f[0],m=f[1],y=w((0,n.useState)(),2),h=y[0],g=y[1],b=w((0,n.useState)(!1),2),v=b[0],S=b[1],T=(0,n.useRef)();(0,n.useEffect)(function(){t&&O()},[t]);var O=function(){p(!0),o.Jt("".concat(i,"/api/env"),{domainId:l}).then(function(e){var t=e.content;m(t),g(t)}).catch(function(e){a(e.message,!0),r()}).finally(function(){return p(!1)})},x=function(){return d!==h},P=function(){x()?S(!0):r()};return(0,n.createElement)(n.Drawer,{"data-type":"env-drawer",isOpen:t,onClose:P,title:(0,n.createElement)(n.Translate,{content:"EnvDrawer.title"})},u?(0,n.createElement)(n.ContentLoader,null):(0,n.createElement)(n.Form,{onSubmit:function(){x()?o.bE("".concat(i,"/api/save-env"),{domainId:l,content:h}).then(function(){return r()}).catch(function(e){a(e.message,!0)}):r()},submitButton:{children:(0,n.createElement)(n.Translate,{content:"EnvDrawer.update"}),"data-id":"envUpdate"},cancelButton:{onClick:P},applyButton:!1},(0,n.createElement)(n.CodeEditor,{ref:T,onChange:function(e){g(e)},onInit:function(e){e&&setTimeout(function(){!function(e){var t=document.querySelector(".pul-drawer__inner-body"),r=document.querySelector(".pul-drawer__body");if(r){var n=document.querySelector(".pul-drawer__subheader"),o=Element.getHeight(r);n&&(o-=Element.getHeight(n)),o-=Element.getHeight(document.querySelector(".pul-form__footer")),o-=parseFloat(Element.getStyle(t,"paddingBottom")),o-=parseFloat(Element.getStyle(t,"paddingTop")),e.style.height="".concat(o>300?o:300,"px"),T.current.codeMirror.refresh()}}(e)},50)}},d)),(0,n.createElement)(n.Dialog,{isOpen:v,onClose:function(){return S(!1)},form:{onSubmit:function(){S(!1),r()},submitButton:{children:(0,n.createElement)(n.Translate,{content:"EnvDrawer.confirm"})}},title:(0,n.createElement)(n.Translate,{content:"EnvDrawer.confirmReason"}),size:"xs"},(0,n.createElement)(n.Translate,{content:"EnvDrawer.confirmAsk"})))};T.propTypes={isOpen:n.PropTypes.bool.isRequired,onClose:n.PropTypes.func.isRequired,showMessage:n.PropTypes.func.isRequired};const O=T;var x=function(e){var t=e.href,r=e.children,o=(0,n.useTranslate)();return(0,n.createElement)(a.Fragment,null,r," ",(0,n.createElement)("sup",null,(0,n.createElement)("a",{href:t,target:"_blank",rel:"noreferrer","aria-label":o("ApplicationCard.learnMore")},(0,n.createElement)(n.Icon,{name:"info-circle-filled",intent:"info",size:"16","aria-hidden":"true"}))))};x.propTypes={href:n.PropTypes.string.isRequired,children:n.PropTypes.node.isRequired};const P=x;function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}function C(e){return function(e){if(Array.isArray(e))return L(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||M(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach(function(t){k(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function k(e,t,r){return(t=function(e){var t=function(e){if("object"!=A(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=A(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==A(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||M(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e,t){if(e){if("string"==typeof e)return L(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(e,t):void 0}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var I=function(e,t){var r=(0,a.useRef)(!1);(0,a.useEffect)(function(){r.current?e():r.current=!0},t)},_=function(e){var t=e.onMessage,r=c().baseUrl,i=E(),l=i.domain,u=i.setDomain,p=l.domainName,f=l.domainId,d=l.domainUrl,m=l.localUrl,y=l.remoteUrl,h=l.lastCommit,g=l.schedulePermission,b=l.isShellAccessAllowed,v=l.isWindows,w=l.maintenanceModeEnabled,S=l.scheduleEnabled,T=l.queueWorkerIsConfigured,x=l.queueWorkerIsEnabled,A=l.queueWorkerIsEditable,R=D((0,a.useState)(!1),2),k=R[0],M=R[1],L=D((0,a.useState)(!1),2),_=L[0],N=L[1],q=D((0,a.useState)(!1),2),U=q[0],F=q[1],B=D((0,a.useState)(!1),2),H=B[0],W=B[1];I(function(){t(S?(0,n.createElement)(n.Translate,{content:"ApplicationCard.scheduleEnabled"}):(0,n.createElement)(n.Translate,{content:"ApplicationCard.scheduleDisabled"}))},[S]),I(function(){t(x?(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueWorkerSwitch.enabledMessage"}):(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueWorkerSwitch.disabledMessage"}))},[x]);var z=(0,a.useMemo)(function(){var e=l.schedulePermission,t=l.isShellAccessAllowed;return!e||!t},[l]),X=(0,a.useMemo)(function(){var e=[].concat(C(g?[]:[(0,n.createElement)(n.Translate,{content:"ApplicationCard.ScheduleTab.requiredSchedulePermission"})]),C(b||v?[]:[(0,n.createElement)(n.Translate,{content:"ApplicationCard.ScheduleTab.requiredSshAccess"})]));return e.length?(0,n.createElement)(a.Fragment,null,e.map(function(e){return(0,n.createElement)("div",{style:{"margin-bottom":"5px"}},e)})):null},[g,b,v]),G=(0,a.useMemo)(function(){return T?x?(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueWorkerSwitch.disableTooltip"}):(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueWorkerSwitch.enableTooltip"}):(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueWorkerSwitch.requirementTooltip"})},[T,x]);return(0,n.createElement)(a.Fragment,null,(0,n.createElement)(n.Section,{title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.sectionApplicationInfo"})},(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.domainUrl"})},(0,n.createElement)(n.Link,{href:d,target:"_blank"},p)),(y||m)&&(0,n.createElement)(a.Fragment,null,(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.repository"})},(0,n.createElement)(s.A,{content:y||m,onCopy:function(){return t((0,n.createElement)(n.Translate,{content:"ApplicationCard.repositoryCopied"}))}})),(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.lastCommit"})},(0,n.createElement)("pre",{tabIndex:0,style:{overflowY:"auto"}},h)))),(0,n.createElement)(n.Section,{title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.sectionConfiguration"})},(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.envConfiguration"})},(0,n.createElement)(n.Button,{onClick:function(){return M(!0)},"data-id":"envDrawer"},(0,n.createElement)(n.Translate,{content:"ApplicationCard.envEdit"}))),(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(P,{href:"https://support.plesk.com/hc/en-us/articles/12377989953303"},(0,n.createElement)(n.Translate,{content:"ApplicationCard.scheduledTasks"}))},(0,n.createElement)(n.Switch,{checked:S,onChange:function(e){N(!0),o.bE("".concat(r,"/scheduling-tasks/switch-schedule-state"),{domainId:f,scheduleEnabled:e}).then(function(t){var r=t.queueWorkerIsEditable,n=t.queueWorkerIsEnabled;u(function(t){return j(j({},t),{},{scheduleEnabled:e,queueWorkerIsEditable:r,queueWorkerIsEnabled:n})})}).catch(function(e){var r=e.message;return t(r,!0)}).finally(function(){return N(!1)})},loading:_,disabled:z,tooltip:X,"data-id":"scheduleSwitch"})," ",S?(0,n.createElement)(n.Translate,{content:"ApplicationCard.scheduledSwitchEnabled"}):(0,n.createElement)(n.Translate,{content:"ApplicationCard.scheduledSwitchDisabled"})),(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(P,{href:"https://support.plesk.com/hc/en-us/articles/12376918716695"},(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueWorkerSwitch.label"}))},(0,n.createElement)(n.Switch,{checked:x,onChange:function(e){W(!0),o.bE("".concat(r,"/queue-worker/set-enabled"),{domainId:f,queueWorkerIsEnabled:e}).then(function(){u(function(t){return j(j({},t),{},{queueWorkerIsEnabled:e})})}).catch(function(e){var r=e.message;return t(r,!0)}).finally(function(){return W(!1)})},loading:H,disabled:!A,tooltip:G,"data-id":"queueWorkerSwitch"})," ",x?(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueWorkerSwitch.enabled"}):(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueWorkerSwitch.disabled"})),(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.MaintenanceMode.label"})},(0,n.createElement)(n.Switch,{checked:w,onChange:function(e){F(!0),o.bE("".concat(r,"/api/set-maintenance-mode"),{domainId:f,maintenanceMode:e}).then(function(){u(function(t){return j(j({},t),{},{maintenanceModeEnabled:e})}),t(e?(0,n.createElement)(n.Translate,{content:"ApplicationCard.MaintenanceMode.enabledMessage"}):(0,n.createElement)(n.Translate,{content:"ApplicationCard.MaintenanceMode.disabledMessage"}))}).catch(function(e){var r=e.message;return t(r,!0)}).finally(function(){return F(!1)})},loading:U,tooltip:w?(0,n.createElement)(n.Translate,{content:"ApplicationCard.MaintenanceMode.disableTooltip"}):(0,n.createElement)(n.Translate,{content:"ApplicationCard.MaintenanceMode.enableTooltip"}),"data-id":"maintenanceMode"})," ",w?(0,n.createElement)(n.Translate,{content:"ApplicationCard.MaintenanceMode.switchEnabled"}):(0,n.createElement)(n.Translate,{content:"ApplicationCard.MaintenanceMode.switchDisabled"}))),(0,n.createElement)(O,{isOpen:k,onClose:function(){return M(!1)},showMessage:t}))};_.propTypes={onMessage:n.PropTypes.func},_.defaultProps={onMessage:function(){}};const N=_;function q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return U(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?U(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var F=function(e){var t=e.isOpen,r=e.onClose,a=e.showMessage,i=c().baseUrl,l=E(),s=l.domain.domainId,u=l.updateDeployerConfig,p=q((0,n.useState)(!1),2),f=p[0],d=p[1],m=q((0,n.useState)(),2),y=m[0],h=m[1],g=q((0,n.useState)(),2),b=g[0],v=g[1],w=q((0,n.useState)(!1),2),S=w[0],T=w[1],O=(0,n.useRef)();(0,n.useEffect)(function(){t&&x()},[t]);var x=function(){d(!0),o.Jt("".concat(i,"/api/deployment-script"),{domainId:s}).then(function(e){var t=e.content;h(t),v(t)}).catch(function(e){a(e.message,!0),r()}).finally(function(){return d(!1)})},P=function(){return y!==b},A=function(){P()?T(!0):r()};return(0,n.createElement)(n.Drawer,{"data-type":"deployment-script-drawer",isOpen:t,onClose:A,title:(0,n.createElement)(n.Translate,{content:"DeploymentScriptDrawer.title"})},f?(0,n.createElement)(n.ContentLoader,null):(0,n.createElement)(n.Form,{onSubmit:function(){P()?o.bE("".concat(i,"/api/save-deployment-script"),{domainId:s,content:b}).then(function(){r(),u()}).catch(function(e){a(e.message,!0)}):r()},submitButton:{children:(0,n.createElement)(n.Translate,{content:"DeploymentScriptDrawer.update"}),"data-id":"deploymentScriptUpdate"},cancelButton:{onClick:A},applyButton:!1},(0,n.createElement)(n.CodeEditor,{ref:O,onChange:function(e){v(e)},onInit:function(e){e&&setTimeout(function(){!function(e){var t=document.querySelector(".pul-drawer__inner-body"),r=document.querySelector(".pul-drawer__body");if(r){var n=document.querySelector(".pul-drawer__subheader"),o=Element.getHeight(r);n&&(o-=Element.getHeight(n)),o-=Element.getHeight(document.querySelector(".pul-form__footer")),o-=parseFloat(Element.getStyle(t,"paddingBottom")),o-=parseFloat(Element.getStyle(t,"paddingTop")),e.style.height="".concat(o>300?o:300,"px"),O.current.codeMirror.refresh()}}(e)},50)}},y)),(0,n.createElement)(n.Dialog,{isOpen:S,onClose:function(){return T(!1)},form:{onSubmit:function(){T(!1),r()},submitButton:{children:(0,n.createElement)(n.Translate,{content:"DeploymentScriptDrawer.confirm"})}},title:(0,n.createElement)(n.Translate,{content:"DeploymentScriptDrawer.confirmReason"}),size:"xs"},(0,n.createElement)(n.Translate,{content:"DeploymentScriptDrawer.confirmAsk"})))};F.propTypes={isOpen:n.PropTypes.bool.isRequired,onClose:n.PropTypes.func.isRequired,showMessage:n.PropTypes.func.isRequired};const B=F;function H(e){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H(e)}function W(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return z(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?z(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function X(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?X(Object(r),!0).forEach(function(t){$(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function $(e,t,r){return(t=function(e){var t=function(e){if("object"!=H(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=H(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==H(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var V=function(e){var t=e.onMessage,r=c().baseUrl,i=E(),l=i.domain,s=i.setDomain,u=i.loadDeployerConfig,p=l.domainId,f=l.maintenanceModeEnabled,d=l.deployerConfig,m=function(e){return e.enable_maintenance_mode.isAllowToModify=!f,f?(e.enable_maintenance_mode.isEnabled=!0,e.disable_maintenance_mode.isEnabled=!1):e.disable_maintenance_mode.isEnabled=e.enable_maintenance_mode.isEnabled,G({},e)},y=W((0,a.useState)(!1),2),h=y[0],g=y[1],b=(0,a.useMemo)(function(){return{install_composer_dependencies:(0,a.createElement)(n.Translate,{content:"DeploymentScenarios.install_composer_dependencies",params:{item:(0,a.createElement)(n.Text,{bold:!0},"composer.json")}}),install_package_dependencies:(0,a.createElement)(n.Translate,{content:"DeploymentScenarios.install_package_dependencies",params:{item:(0,a.createElement)(n.Text,{bold:!0},"package.json")}})}},[]);(0,a.useEffect)(function(){s(function(e){return G(G({},e),{},{deployerConfig:m(d)})})},[f]);var v=(0,a.useMemo)(function(){return Object.entries(d).reduce(function(e,t){var r=W(t,2),n=r[0],o=r[1].isEnabled;return G(G({},e),{},$({},n,o))},{})},[d]),w=(0,a.useMemo)(function(){return Object.entries(d).map(function(e){var t=W(e,2),r=t[0],n=t[1];return{key:r,isEnabled:n.isEnabled,isAllowToModify:n.isAllowToModify}})},[d]);return(0,a.createElement)("div",{className:"deployment-scenario-form"},(0,a.createElement)(n.Form,{values:v,onFieldChange:function(e,n){g(!0);var a=G({},d),i=G(G({},d),{},$({},e,G(G({},d[e]),{},{isEnabled:n})));s(function(e){return G(G({},e),{},{deployerConfig:m(i)})}),o.bE("".concat(r,"/api/set-deployment-step-config"),{domainId:p,stepId:e,isEnabled:n}).catch(function(e){var r=e.message;s(function(e){return G(G({},e),{},{deployerConfig:a})}),t(r,!0)}).finally(function(){return g(!1)})},applyButton:!1,cancelButton:!1,submitButton:!1},(h||u)&&(0,a.createElement)("div",{className:"loader-mask"},(0,a.createElement)(n.ContentLoader,null)),w.map(function(e){return(0,a.createElement)("div",{key:e.key},(0,a.createElement)(n.FormFieldCheckbox,{name:e.key,disabled:!e.isAllowToModify,label:b[e.key]||(0,a.createElement)(n.Translate,{content:"DeploymentScenarios.".concat(e.key)})}))})))};V.propTypes={onMessage:n.PropTypes.func},V.defaultProps={onMessage:function(){}};const J=V;function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Q(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Q(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Y="auto",Z="manual",ee=function(e){var t=e.onMessage,r=e.onUpdateComplete,a=c().baseUrl,i=E().domain,l=i.domainId,u=i.isShellAccessAllowed,p=i.webhookUrl,f=i.deployMode,d=K((0,n.useState)(!1),2),m=d[0],y=d[1],h=K((0,n.useState)(i.deployMode),2),g=h[0],b=h[1],v=K((0,n.useState)(!1),2),w=v[0],S=v[1],T=function(e){var r=g;b(e),S(!0),o.bE("".concat(a,"/api/deploy-mode"),{domainId:l,deployMode:e}).catch(function(e){var n=e.message;b(r),t(n,!0)}).finally(function(){S(!1)})};return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(n.Section,null,p?(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.hookUrl"})},(0,n.createElement)(s.A,{content:p,onCopy:function(){return t((0,n.createElement)(n.Translate,{content:"ApplicationCard.hookUrlCopied"}))}}),(0,n.createElement)(n.Hint,null,(0,n.createElement)(n.Translate,{content:"ApplicationCard.hookDescription"}))):null,f?(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.DeploymentMode.title"})},(0,n.createElement)(n.Columns,{gap:"md"},(0,n.createElement)(n.Column,null,(0,n.createElement)(n.Tooltip,{title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.DeploymentMode.Tooltip.auto"})},(0,n.createElement)(n.Radio,{name:"deployment-mode",checked:g===Y,onChange:function(){return T(Y)},disabled:w},(0,n.createElement)(n.Translate,{content:"ApplicationCard.DeploymentMode.auto"})))),(0,n.createElement)(n.Column,null,(0,n.createElement)(n.Tooltip,{title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.DeploymentMode.Tooltip.manual"})},(0,n.createElement)(n.Radio,{name:"deployment-mode",checked:g===Z,onChange:function(){return T(Z)},disabled:w},(0,n.createElement)(n.Translate,{content:"ApplicationCard.DeploymentMode.manual"}))))),(0,n.createElement)(n.Hint,null,(0,n.createElement)(n.Translate,{content:"ApplicationCard.DeploymentMode.description"}))):null,(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.deploymentScript"})},(0,n.createElement)(n.Button,{onClick:function(){return y(!0)},"data-id":"deploymentScriptDrawer",disabled:!u},(0,n.createElement)(n.Translate,{content:"ApplicationCard.deploymentScriptEdit"})),u?null:(0,n.createElement)("div",null,(0,n.createElement)(n.Hint,null,(0,n.createElement)(n.Translate,{content:"ApplicationCard.deploymentScriptDisabledHint"})))),(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.Translate,{content:"DeploymentScenarios.title"})},(0,n.createElement)(J,{onMessage:t})),(0,n.createElement)(n.SectionItem,{title:" "},(0,n.createElement)(n.Button,{style:{width:"97px"},tooltip:(0,n.createElement)(n.Translate,{content:"ApplicationCard.buttonDeployHint"}),onClick:function(){o.bE("".concat(a,"/api/update"),{domainId:l}).then(function(e){"Jsw.Task.ProgressBar.Item"===e.componentType&&window.Jsw.getComponent("asyncProgressBarWrapper").progressDialog(e,{onComplete:r})}).catch(function(e){var r=e.message;return t(r,!0)})}},(0,n.createElement)(n.Translate,{content:"ApplicationCard.buttonDeploy"})))),(0,n.createElement)(B,{isOpen:m,onClose:function(){return y(!1)},showMessage:t}))};ee.propTypes={onMessage:n.PropTypes.func,onUpdateComplete:n.PropTypes.func},ee.defaultProps={onMessage:function(){},onUpdateComplete:function(){}};const te=ee;var re=function(e){var t=e.heading,r=e.preview,o=e.children;return(0,n.createElement)(n.Panel,{title:t},(0,n.createElement)(n.Grid,{gap:"md"},(0,n.createElement)(n.GridCol,{xs:3},r),(0,n.createElement)(n.GridCol,{xs:9},o)))};re.propTypes={heading:n.PropTypes.node.isRequired,preview:n.PropTypes.node.isRequired,children:n.PropTypes.node.isRequired};const ne=re;function oe(e){return oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oe(e)}function ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(r),!0).forEach(function(t){le(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ae(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function le(e,t,r){return(t=function(e){var t=function(e){if("object"!=oe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=oe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return se(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?se(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function se(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}const ue=function(e){var t=e.commandListUrl,r=e.executeUrl,n=e.onMessage,i=E().domain.domainId,l=c().baseUrl,s=ce((0,a.useState)(),2),u=s[0],p=s[1],f=ce((0,a.useState)(),2),d=f[0],m=f[1],y=ce((0,a.useState)(""),2),h=y[0],g=y[1],b=ce((0,a.useState)(!1),2),v=b[0],w=b[1];return{loading:u,loadCommandList:function(){d||u||(p(!0),o.Jt("".concat(l).concat(t),{domainId:i}).then(function(e){var t=e.data;return m(t)}).catch(function(e){var t=e.message;return n(t,!0)}).finally(function(){return p(!1)}))},purgeCommandList:function(){return m(null)},data:d,content:h,onChangeContent:function(e){return g((h||"")+e)},onUpdateData:function(e){return m(function(t){return ie(ie({},t),e)})},executeUrl:"".concat(l).concat(r),domainId:i,executing:v,onExecuting:w}};var pe=function(e){return 38===e.keyCode},fe=function(e){return 40===e.keyCode};const{entries:de,setPrototypeOf:me,isFrozen:ye,getPrototypeOf:he,getOwnPropertyDescriptor:ge}=Object;let{freeze:be,seal:ve,create:Ee}=Object,{apply:we,construct:Se}="undefined"!=typeof Reflect&&Reflect;be||(be=function(e){return e}),ve||(ve=function(e){return e}),we||(we=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return e.apply(t,n)}),Se||(Se=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});const Te=qe(Array.prototype.forEach),Oe=qe(Array.prototype.lastIndexOf),xe=qe(Array.prototype.pop),Pe=qe(Array.prototype.push),Ae=qe(Array.prototype.splice),Ce=qe(String.prototype.toLowerCase),Re=qe(String.prototype.toString),je=qe(String.prototype.match),ke=qe(String.prototype.replace),De=qe(String.prototype.indexOf),Me=qe(String.prototype.trim),Le=qe(Object.prototype.hasOwnProperty),Ie=qe(RegExp.prototype.test),_e=(Ne=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Se(Ne,t)});var Ne;function qe(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return we(e,t,n)}}function Ue(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ce;me&&me(e,null);let n=t.length;for(;n--;){let o=t[n];if("string"==typeof o){const e=r(o);e!==o&&(ye(t)||(t[n]=e),o=e)}e[o]=!0}return e}function Fe(e){for(let t=0;t<e.length;t++)Le(e,t)||(e[t]=null);return e}function Be(e){const t=Ee(null);for(const[r,n]of de(e))Le(e,r)&&(Array.isArray(n)?t[r]=Fe(n):n&&"object"==typeof n&&n.constructor===Object?t[r]=Be(n):t[r]=n);return t}function He(e,t){for(;null!==e;){const r=ge(e,t);if(r){if(r.get)return qe(r.get);if("function"==typeof r.value)return qe(r.value)}e=he(e)}return function(){return null}}const We=be(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ze=be(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Xe=be(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ge=be(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),$e=be(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Ve=be(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Je=be(["#text"]),Ke=be(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Qe=be(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ye=be(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ze=be(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),et=ve(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tt=ve(/<%[\w\W]*|[\w\W]*%>/gm),rt=ve(/\$\{[\w\W]*/gm),nt=ve(/^data-[\-\w.\u00B7-\uFFFF]+$/),ot=ve(/^aria-[\-\w]+$/),at=ve(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),it=ve(/^(?:\w+script|data):/i),lt=ve(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ct=ve(/^html$/i),st=ve(/^[a-z][.\w]*(-[.\w]+)+$/i);var ut=Object.freeze({__proto__:null,ARIA_ATTR:ot,ATTR_WHITESPACE:lt,CUSTOM_ELEMENT:st,DATA_ATTR:nt,DOCTYPE_NAME:ct,ERB_EXPR:tt,IS_ALLOWED_URI:at,IS_SCRIPT_OR_DATA:it,MUSTACHE_EXPR:et,TMPLIT_EXPR:rt});const pt=function(){return"undefined"==typeof window?null:window};var ft=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pt();const r=t=>e(t);if(r.version="3.3.1",r.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return r.isSupported=!1,r;let{document:n}=t;const o=n,a=o.currentScript,{DocumentFragment:i,HTMLTemplateElement:l,Node:c,Element:s,NodeFilter:u,NamedNodeMap:p=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:d,trustedTypes:m}=t,y=s.prototype,h=He(y,"cloneNode"),g=He(y,"remove"),b=He(y,"nextSibling"),v=He(y,"childNodes"),E=He(y,"parentNode");if("function"==typeof l){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let w,S="";const{implementation:T,createNodeIterator:O,createDocumentFragment:x,getElementsByTagName:P}=n,{importNode:A}=o;let C={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof de&&"function"==typeof E&&T&&void 0!==T.createHTMLDocument;const{MUSTACHE_EXPR:R,ERB_EXPR:j,TMPLIT_EXPR:k,DATA_ATTR:D,ARIA_ATTR:M,IS_SCRIPT_OR_DATA:L,ATTR_WHITESPACE:I,CUSTOM_ELEMENT:_}=ut;let{IS_ALLOWED_URI:N}=ut,q=null;const U=Ue({},[...We,...ze,...Xe,...$e,...Je]);let F=null;const B=Ue({},[...Ke,...Qe,...Ye,...Ze]);let H=Object.seal(Ee(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),W=null,z=null;const X=Object.seal(Ee(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let G=!0,$=!0,V=!1,J=!0,K=!1,Q=!0,Y=!1,Z=!1,ee=!1,te=!1,re=!1,ne=!1,oe=!0,ae=!1,ie=!0,le=!1,ce={},se=null;const ue=Ue({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let pe=null;const fe=Ue({},["audio","video","img","source","image","track"]);let me=null;const ye=Ue({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),he="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml";let we=ve,Se=!1,Ne=null;const qe=Ue({},[he,ge,ve],Re);let Fe=Ue({},["mi","mo","mn","ms","mtext"]),et=Ue({},["annotation-xml"]);const tt=Ue({},["title","style","font","a","script"]);let rt=null;const nt=["application/xhtml+xml","text/html"];let ot=null,it=null;const lt=n.createElement("form"),st=function(e){return e instanceof RegExp||e instanceof Function},ft=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!it||it!==e){if(e&&"object"==typeof e||(e={}),e=Be(e),rt=-1===nt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ot="application/xhtml+xml"===rt?Re:Ce,q=Le(e,"ALLOWED_TAGS")?Ue({},e.ALLOWED_TAGS,ot):U,F=Le(e,"ALLOWED_ATTR")?Ue({},e.ALLOWED_ATTR,ot):B,Ne=Le(e,"ALLOWED_NAMESPACES")?Ue({},e.ALLOWED_NAMESPACES,Re):qe,me=Le(e,"ADD_URI_SAFE_ATTR")?Ue(Be(ye),e.ADD_URI_SAFE_ATTR,ot):ye,pe=Le(e,"ADD_DATA_URI_TAGS")?Ue(Be(fe),e.ADD_DATA_URI_TAGS,ot):fe,se=Le(e,"FORBID_CONTENTS")?Ue({},e.FORBID_CONTENTS,ot):ue,W=Le(e,"FORBID_TAGS")?Ue({},e.FORBID_TAGS,ot):Be({}),z=Le(e,"FORBID_ATTR")?Ue({},e.FORBID_ATTR,ot):Be({}),ce=!!Le(e,"USE_PROFILES")&&e.USE_PROFILES,G=!1!==e.ALLOW_ARIA_ATTR,$=!1!==e.ALLOW_DATA_ATTR,V=e.ALLOW_UNKNOWN_PROTOCOLS||!1,J=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,K=e.SAFE_FOR_TEMPLATES||!1,Q=!1!==e.SAFE_FOR_XML,Y=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,re=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,oe=!1!==e.SANITIZE_DOM,ae=e.SANITIZE_NAMED_PROPS||!1,ie=!1!==e.KEEP_CONTENT,le=e.IN_PLACE||!1,N=e.ALLOWED_URI_REGEXP||at,we=e.NAMESPACE||ve,Fe=e.MATHML_TEXT_INTEGRATION_POINTS||Fe,et=e.HTML_INTEGRATION_POINTS||et,H=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&st(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&st(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),K&&($=!1),re&&(te=!0),ce&&(q=Ue({},Je),F=[],!0===ce.html&&(Ue(q,We),Ue(F,Ke)),!0===ce.svg&&(Ue(q,ze),Ue(F,Qe),Ue(F,Ze)),!0===ce.svgFilters&&(Ue(q,Xe),Ue(F,Qe),Ue(F,Ze)),!0===ce.mathMl&&(Ue(q,$e),Ue(F,Ye),Ue(F,Ze))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?X.tagCheck=e.ADD_TAGS:(q===U&&(q=Be(q)),Ue(q,e.ADD_TAGS,ot))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?X.attributeCheck=e.ADD_ATTR:(F===B&&(F=Be(F)),Ue(F,e.ADD_ATTR,ot))),e.ADD_URI_SAFE_ATTR&&Ue(me,e.ADD_URI_SAFE_ATTR,ot),e.FORBID_CONTENTS&&(se===ue&&(se=Be(se)),Ue(se,e.FORBID_CONTENTS,ot)),e.ADD_FORBID_CONTENTS&&(se===ue&&(se=Be(se)),Ue(se,e.ADD_FORBID_CONTENTS,ot)),ie&&(q["#text"]=!0),Y&&Ue(q,["html","head","body"]),q.table&&(Ue(q,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw _e('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw _e('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,S=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(m,a)),null!==w&&"string"==typeof S&&(S=w.createHTML(""));be&&be(e),it=e}},dt=Ue({},[...ze,...Xe,...Ge]),mt=Ue({},[...$e,...Ve]),yt=function(e){Pe(r.removed,{element:e});try{E(e).removeChild(e)}catch(t){g(e)}},ht=function(e,t){try{Pe(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Pe(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||re)try{yt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},gt=function(e){let t=null,r=null;if(ee)e="<remove></remove>"+e;else{const t=je(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===rt&&we===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=w?w.createHTML(e):e;if(we===ve)try{t=(new d).parseFromString(o,rt)}catch(e){}if(!t||!t.documentElement){t=T.createDocument(we,"template",null);try{t.documentElement.innerHTML=Se?S:o}catch(e){}}const a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),we===ve?P.call(t,Y?"html":"body")[0]:Y?t.documentElement:a},bt=function(e){return O.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},vt=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Et=function(e){return"function"==typeof c&&e instanceof c};function wt(e,t,n){Te(e,e=>{e.call(r,t,n,it)})}const St=function(e){let t=null;if(wt(C.beforeSanitizeElements,e,null),vt(e))return yt(e),!0;const n=ot(e.nodeName);if(wt(C.uponSanitizeElement,e,{tagName:n,allowedTags:q}),Q&&e.hasChildNodes()&&!Et(e.firstElementChild)&&Ie(/<[/\w!]/g,e.innerHTML)&&Ie(/<[/\w!]/g,e.textContent))return yt(e),!0;if(7===e.nodeType)return yt(e),!0;if(Q&&8===e.nodeType&&Ie(/<[/\w]/g,e.data))return yt(e),!0;if(!(X.tagCheck instanceof Function&&X.tagCheck(n))&&(!q[n]||W[n])){if(!W[n]&&Ot(n)){if(H.tagNameCheck instanceof RegExp&&Ie(H.tagNameCheck,n))return!1;if(H.tagNameCheck instanceof Function&&H.tagNameCheck(n))return!1}if(ie&&!se[n]){const t=E(e)||e.parentNode,r=v(e)||e.childNodes;if(r&&t)for(let n=r.length-1;n>=0;--n){const o=h(r[n],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,b(e))}}return yt(e),!0}return e instanceof s&&!function(e){let t=E(e);t&&t.tagName||(t={namespaceURI:we,tagName:"template"});const r=Ce(e.tagName),n=Ce(t.tagName);return!!Ne[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===ve?"svg"===r:t.namespaceURI===he?"svg"===r&&("annotation-xml"===n||Fe[n]):Boolean(dt[r]):e.namespaceURI===he?t.namespaceURI===ve?"math"===r:t.namespaceURI===ge?"math"===r&&et[n]:Boolean(mt[r]):e.namespaceURI===ve?!(t.namespaceURI===ge&&!et[n])&&!(t.namespaceURI===he&&!Fe[n])&&!mt[r]&&(tt[r]||!dt[r]):!("application/xhtml+xml"!==rt||!Ne[e.namespaceURI]))}(e)?(yt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!Ie(/<\/no(script|embed|frames)/i,e.innerHTML)?(K&&3===e.nodeType&&(t=e.textContent,Te([R,j,k],e=>{t=ke(t,e," ")}),e.textContent!==t&&(Pe(r.removed,{element:e.cloneNode()}),e.textContent=t)),wt(C.afterSanitizeElements,e,null),!1):(yt(e),!0)},Tt=function(e,t,r){if(oe&&("id"===t||"name"===t)&&(r in n||r in lt))return!1;if($&&!z[t]&&Ie(D,t));else if(G&&Ie(M,t));else if(X.attributeCheck instanceof Function&&X.attributeCheck(t,e));else if(!F[t]||z[t]){if(!(Ot(e)&&(H.tagNameCheck instanceof RegExp&&Ie(H.tagNameCheck,e)||H.tagNameCheck instanceof Function&&H.tagNameCheck(e))&&(H.attributeNameCheck instanceof RegExp&&Ie(H.attributeNameCheck,t)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(t,e))||"is"===t&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&Ie(H.tagNameCheck,r)||H.tagNameCheck instanceof Function&&H.tagNameCheck(r))))return!1}else if(me[t]);else if(Ie(N,ke(r,I,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==De(r,"data:")||!pe[e])if(V&&!Ie(L,ke(r,I,"")));else if(r)return!1;return!0},Ot=function(e){return"annotation-xml"!==e&&je(e,_)},xt=function(e){wt(C.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||vt(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F,forceKeepAttr:void 0};let o=t.length;for(;o--;){const a=t[o],{name:i,namespaceURI:l,value:c}=a,s=ot(i),u=c;let p="value"===i?u:Me(u);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,wt(C.uponSanitizeAttribute,e,n),p=n.attrValue,!ae||"id"!==s&&"name"!==s||(ht(i,e),p="user-content-"+p),Q&&Ie(/((--!?|])>)|<\/(style|title|textarea)/i,p)){ht(i,e);continue}if("attributename"===s&&je(p,"href")){ht(i,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){ht(i,e);continue}if(!J&&Ie(/\/>/i,p)){ht(i,e);continue}K&&Te([R,j,k],e=>{p=ke(p,e," ")});const f=ot(e.nodeName);if(Tt(f,s,p)){if(w&&"object"==typeof m&&"function"==typeof m.getAttributeType)if(l);else switch(m.getAttributeType(f,s)){case"TrustedHTML":p=w.createHTML(p);break;case"TrustedScriptURL":p=w.createScriptURL(p)}if(p!==u)try{l?e.setAttributeNS(l,i,p):e.setAttribute(i,p),vt(e)?yt(e):xe(r.removed)}catch(t){ht(i,e)}}else ht(i,e)}wt(C.afterSanitizeAttributes,e,null)},Pt=function e(t){let r=null;const n=bt(t);for(wt(C.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)wt(C.uponSanitizeShadowNode,r,null),St(r),xt(r),r.content instanceof i&&e(r.content);wt(C.afterSanitizeShadowDOM,t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,a=null,l=null,s=null;if(Se=!e,Se&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Et(e)){if("function"!=typeof e.toString)throw _e("toString is not a function");if("string"!=typeof(e=e.toString()))throw _e("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Z||ft(t),r.removed=[],"string"==typeof e&&(le=!1),le){if(e.nodeName){const t=ot(e.nodeName);if(!q[t]||W[t])throw _e("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof c)n=gt("\x3c!----\x3e"),a=n.ownerDocument.importNode(e,!0),1===a.nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?n=a:n.appendChild(a);else{if(!te&&!K&&!Y&&-1===e.indexOf("<"))return w&&ne?w.createHTML(e):e;if(n=gt(e),!n)return te?null:ne?S:""}n&&ee&&yt(n.firstChild);const u=bt(le?e:n);for(;l=u.nextNode();)St(l),xt(l),l.content instanceof i&&Pt(l.content);if(le)return e;if(te){if(re)for(s=x.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(F.shadowroot||F.shadowrootmode)&&(s=A.call(o,s,!0)),s}let p=Y?n.outerHTML:n.innerHTML;return Y&&q["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&Ie(ct,n.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+p),K&&Te([R,j,k],e=>{p=ke(p,e," ")}),w&&ne?w.createHTML(p):p},r.setConfig=function(){ft(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Z=!0},r.clearConfig=function(){it=null,Z=!1},r.isValidAttribute=function(e,t,r){it||ft({});const n=ot(e),o=ot(t);return Tt(n,o,r)},r.addHook=function(e,t){"function"==typeof t&&Pe(C[e],t)},r.removeHook=function(e,t){if(void 0!==t){const r=Oe(C[e],t);return-1===r?void 0:Ae(C[e],r,1)[0]}return xe(C[e])},r.removeHooks=function(e){C[e]=[]},r.removeAllHooks=function(){C={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}();const dt=function(){return(0,a.createElement)(n.Grid,{gap:"xs"},(0,a.createElement)(n.GridCol,null,(0,a.createElement)(n.Media,{imageAlign:"center",image:(0,a.createElement)(n.SkeletonText,{lines:1,lineProps:{width:"80px"}})},(0,a.createElement)(n.Skeleton,{maxWidth:"350px",height:"28px"}))),(0,a.createElement)(n.GridCol,null,(0,a.createElement)(n.Skeleton,{height:"200px"})))};function mt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return yt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var ht=function(e){var t=e.commands,r=e.disabled,o=e.onExecute,i=(0,n.useTranslate)(),l=mt((0,a.useState)(!1),2),c=l[0],s=l[1],u=mt((0,a.useState)(""),2),p=u[0],f=u[1],d=mt((0,a.useState)(!1),2),m=d[0],y=d[1],h=mt((0,a.useState)(0),2),g=h[0],b=h[1],v=(0,a.useRef)(),E=(0,a.useRef)();(0,a.useEffect)(function(){var e=function(e){E.current&&!E.current.contains(e.target)&&s(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var w=(0,a.useMemo)(function(){return t.filter(function(e){return-1!==e.name.indexOf(p)}).slice(0,15)},[p,t]),S=function(){var e=p.trim();f(""),e.length&&o(p)};return(0,n.createElement)(a.Fragment,null,(0,n.createElement)(n.Input,{innerRef:v,size:"lg",value:p,onChange:function(e){f(e.target.value)},onKeyDown:function(e){if(fe(e)||pe(e))!function(e){var t;pe(e)&&(t=g-1),fe(e)&&(t=g+1),t<0&&(t=0),t>w.length-1&&(t=w.length-1),b(t)}(e);else if(27!==e.keyCode)if(function(e){return 13===e.keyCode}(e)){if(c){var t=w[g];t&&f(t.name)}else S();s(!1)}else s(!0);else s(!1)},disabled:r,suffix:(0,n.createElement)(n.Button,{onClick:S,icon:"start",ghost:!0,disabled:r,"aria-label":i("CommandLine.executeButton")}),onFocus:function(){return s(!0)},onBlur:function(){m||s(!1)}}),c&&w.length?(0,n.createElement)(n.Menu,{onMouseOver:function(){return y(!0)},onMouseOut:function(){return y(!1)},style:{position:"absolute"},ref:E},w.map(function(e,t){var r=e.name,o=e.description;return(0,n.createElement)(n.MenuItem,{key:r,onClick:function(){return f(r),v.current.focus(),void s(!1)},active:g===t},(0,n.createElement)(n.Text,{intent:"success",bold:!0},r),o?" - ".concat(o):null)})):null)};ht.defaultProps={commands:[],disabled:!1},ht.propTypes={onExecute:n.PropTypes.func.isRequired,commands:n.PropTypes.array,disabled:n.PropTypes.bool};const gt=ht;var bt=r(2574);function vt(e){return vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vt(e)}function Et(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function wt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Et(Object(r),!0).forEach(function(t){St(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Et(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function St(e,t,r){return(t=function(e){var t=function(e){if("object"!=vt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=vt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==vt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Tt=new(r.n(bt)())({fg:"#000",bg:"#f5f5f5"}),Ot=function(e){var t=e.loading,r=e.prefix,i=e.data,l=e.content,c=e.onChangeContent,s=e.executeUrl,u=e.executing,p=e.onExecuting,f=e.showMessage,d=e.menuPrefix,m=e.disabled,y=e.executingParams,h=E().domain.domainId,g=(0,a.useRef)(),b=(null!=i?i:{}).commands;return t?(0,a.createElement)(dt,null):(0,a.createElement)(n.Grid,{gap:"xs"},(0,a.createElement)(n.GridCol,null,(0,a.createElement)(n.Columns,{gap:"xs"},(0,a.createElement)(n.Column,null,d||r),(0,a.createElement)(n.Column,null,(0,a.createElement)(gt,{onExecute:function(e){g.current.autoscrollCancelled=!1;var t="# ".concat(r," ").concat(e.toString().replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#39;").replace(/"/g,"&#34;"),"\n");c(t),p(!0);var n="function"==typeof y?y():{};o.bE(s,wt(wt({},n),{},{domainId:h,command:e})).then(function(e){var r=e.console;c("".concat(t).concat(r,"\n"))}).catch(function(e){var t=e.message;f(t,!0)}).finally(function(){return p(!1)})},commands:b,disabled:m||u})))),(0,a.createElement)(n.GridCol,null,(0,a.createElement)(n.ConsoleOutput,{wide:!0,cursor:u,ref:g},(0,a.createElement)("div",{dangerouslySetInnerHTML:{__html:ft.sanitize(Tt.toHtml(l))}}))))};Ot.defaultProps={prefix:"",content:"",menuPrefix:null,data:{},disabled:!1,executingParams:null},Ot.propTypes={loading:n.PropTypes.bool.isRequired,prefix:n.PropTypes.string,data:n.PropTypes.shape({commands:n.PropTypes.array}),content:n.PropTypes.string,menuPrefix:n.PropTypes.node,onChangeContent:n.PropTypes.func.isRequired,executeUrl:n.PropTypes.string.isRequired,executing:n.PropTypes.bool.isRequired,onExecuting:n.PropTypes.func.isRequired,showMessage:n.PropTypes.func.isRequired,disabled:n.PropTypes.bool,executingParams:n.PropTypes.func};const xt=Ot;function Pt(e){return Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pt(e)}var At=["onUpdateData","showMessage","hasNodeJsExtension","canInstallExtensions","data"];function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ct.apply(null,arguments)}function Rt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function jt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(r),!0).forEach(function(t){kt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function kt(e,t,r){return(t=function(e){var t=function(e){if("object"!=Pt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Pt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Pt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Mt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Mt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Lt=function(e){var t=e.onChange,r=e.value,o=e.options,i=e.title,l=e.loading,c=(0,a.useMemo)(function(){return(0,n.createElement)(n.Menu,null,o&&o.map(function(e){var o=e.value,a=e.displayValue,i=e.disabled,c=e.title,s=r===o;return(0,n.createElement)(n.MenuItem,{disabled:l||i,key:o,active:s,onClick:function(){return!s&&t(o)},title:c},a||o)}))},[o,l,r,t]),s=(0,a.useMemo)(function(){return"function"==typeof i?i(r):r},[i,r]);return(0,n.createElement)(n.Dropdown,{menu:c},s)},It=function(e){var t=e.onUpdateData,r=e.showMessage,i=e.hasNodeJsExtension,l=e.canInstallExtensions,s=e.data,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,At),p=c().baseUrl,f=E(),d=f.domain.domainId,m=f.updateDeployerConfig,y="".concat(p,"/nodejs"),h=null!=s?s:{packageManagers:[],nodeVersions:[]},g=h.packageManagers,b=h.nodeVersions,v=h.current,w=Dt((0,a.useState)(null==v?void 0:v.node),2),S=w[0],T=w[1],O=Dt((0,a.useState)(null==v?void 0:v.manager),2),x=O[0],P=O[1],A=Dt((0,a.useState)(!1),2),C=A[0],R=A[1],j=(0,n.useTranslate)("NodeJsCommandLine");(0,a.useEffect)(function(){v&&(T(v.node),P(v.manager))},[v]);var k=(0,a.useMemo)(function(){return b.map(function(e){var t=e.version,r=e.path;return{value:t,displayValue:e.recommended?t:"".concat(t," (").concat(j("notRecommend"),")"),disabled:!r,title:r?null:j("versionNotInstalled")}})},[b,j]),D=(0,a.useMemo)(function(){return g.map(function(e){return{value:e}})},[g]);return i?(0,n.createElement)(xt,Ct({},u,{prefix:x,executingParams:function(){return{manager:x,node:S}},menuPrefix:(0,n.createElement)(n.Columns,{gap:"xs"},(0,n.createElement)(n.Column,null,(0,n.createElement)(Lt,{loading:C,title:function(e){return e?"Node ".concat(e):j("unavailable")},value:null==S?void 0:S.version,onChange:function(e){var n=S;T({version:e}),R(!0),o.bE("".concat(y,"/set-node-version"),{node:e,domainId:d}).then(function(e){var r=e.data.version;T(r),t({current:jt(jt({},s.current),{},{node:r})})}).catch(function(e){var t=e.message;T(n),r(t,!0)}).finally(function(){return R(!1)})},options:k})),(0,n.createElement)(n.Column,null,(0,n.createElement)(Lt,{loading:C,value:x,onChange:function(e){var n=x;P(e),R(!0),o.bE("".concat(y,"/set-package-manager"),{manager:e,domainId:d}).then(function(r){var n=r.data.commands;return t({commands:n,current:jt(jt({},s.current),{},{manager:e})})}).catch(function(e){var t=e.message;P(n),r(t,!0)}).finally(function(){return R(!1)})},options:D}))),data:s,showMessage:r,disabled:C})):(0,n.createElement)(n.ExtendedStatusMessage,{intent:"danger"},(0,n.createElement)(n.ExtendedStatusMessageTitle,null,(0,n.createElement)(n.Translate,{content:"NodeJsCommandLine.notSupported"})),(0,n.createElement)(n.ExtendedStatusMessageSeparator,null),l?(0,n.createElement)(a.Fragment,null,(0,n.createElement)(n.ExtendedStatusMessageDescription,null,(0,n.createElement)(n.Translate,{content:"NodeJsCommandLine.installExtension"})),(0,n.createElement)(n.ExtendedStatusMessageActions,null,(0,n.createElement)(n.Button,{intent:"primary",icon:"puzzle",onClick:function(){var e=function(e){"ext-laravel-task\\installnodeextensiontask"===e.type&&(m(),t())},t=function(){Jsw.Observer.remove(e,"plesk:taskComplete")};Jsw.Observer.append(e,"plesk:taskComplete"),o.bE("".concat(y,"/install-extension")).catch(function(e){var t=e.message;return r(t,!0)})}},(0,n.createElement)(n.Translate,{content:"NodeJsCommandLine.installButton"})))):(0,n.createElement)(n.ExtendedStatusMessageDescription,null,(0,n.createElement)(n.Translate,{content:"NodeJsCommandLine.askToInstallExtension"})))};It.propTypes={showMessage:n.PropTypes.func.isRequired,onExecuting:n.PropTypes.func.isRequired,onUpdateData:n.PropTypes.func.isRequired,hasNodeJsExtension:n.PropTypes.bool.isRequired,canInstallExtensions:n.PropTypes.bool.isRequired,data:n.PropTypes.shape({commands:n.PropTypes.arrayOf(n.PropTypes.shape({name:n.PropTypes.string.isRequired,description:n.PropTypes.string,hasArguments:n.PropTypes.bool,isCustom:n.PropTypes.bool})),packageManagers:n.PropTypes.array,nodeVersions:n.PropTypes.arrayOf(n.PropTypes.shape({version:n.PropTypes.string.isRequired,path:n.PropTypes.string.isRequired,recommended:n.PropTypes.bool.isRequired})),current:n.PropTypes.shape({node:n.PropTypes.shape({version:n.PropTypes.string.isRequired,path:n.PropTypes.string.isRequired,recommended:n.PropTypes.bool.isRequired}),manager:n.PropTypes.string})})};const _t=It;function Nt(e){return Nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nt(e)}function qt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(r),!0).forEach(function(t){Ft(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ft(e,t,r){return(t=function(e){var t=function(e){if("object"!=Nt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Nt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Nt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bt=function(e){var t=e.columns,r=e.lines,o=e.toolbar,i=new Array(r).fill({});return t=t.filter(function(e){return"actions"!==e.type}).map(function(e){return Ut(Ut({},e),{},{truncate:!1,render:function(){return(0,a.createElement)(n.Skeleton,null)}})}),(0,a.createElement)(n.List,{data:i,columns:t,toolbar:o})};Bt.propTypes={columns:n.PropTypes.array.isRequired,lines:n.PropTypes.number,toolbar:n.PropTypes.object},Bt.defaultProps={lines:3,toolbar:null};const Ht=Bt;var Wt=r(7021),zt=r.n(Wt);function Xt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Gt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Gt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var $t=function(e){var t=e.onMessage,r=e.scheduleEnabled,i=(0,n.useTranslate)(),l=c().baseUrl,s=E().domain,u=Xt((0,n.useState)(!0),2),p=u[0],f=u[1],d=Xt((0,n.useState)(),2),m=d[0],y=d[1],h=Xt((0,n.useState)(),2),g=h[0],b=h[1];(0,n.useEffect)(function(){v()},[]);var v=function(){f(!0),o.Jt("".concat(l,"/scheduling-tasks/list"),{domainId:s.domainId}).then(function(e){var t=e.list,r=e.notSupported;y(t),b(r)}).catch(function(e){var r=e.message;return t(r,!0)}).finally(function(){return f(!1)})},w=[{key:"command",truncate:!0,title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.ScheduleTab.table.command"}),render:function(e){var t=e.command;return(0,n.createElement)(n.Text,{title:t},t)}},{key:"interval",title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.ScheduleTab.table.interval"}),cellProps:{style:{"white-space":"pre"}},render:function(e){var t=e.interval;return(0,n.createElement)(n.Popover,{target:(0,n.createElement)("button",{type:"button",className:"pul-link","aria-label":i("ApplicationCard.ScheduleTab.intervalDescription",{interval:t})},t),placement:"top",intent:"info"},zt().toString(t))}},{key:"description",truncate:!0,cellProps:{style:{minWidth:200,maxWidth:300}},title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.ScheduleTab.table.description"}),render:function(e){var t=e.description;return(0,n.createElement)(n.Text,{title:t},t)}},{key:"next",cellProps:{style:{"white-space":"pre"}},title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.ScheduleTab.table.next"})}];return(0,n.createElement)(a.Fragment,null,r?null:(0,n.createElement)(n.StatusMessage,{intent:"warning"},(0,n.createElement)(n.Translate,{content:"ApplicationCard.ScheduleTab.switchDisabledWarning"})),s.schedulePermission?null:(0,n.createElement)(n.StatusMessage,{intent:"warning"},(0,n.createElement)(n.Translate,{content:"ApplicationCard.ScheduleTab.requiredSchedulePermission"})),s.isShellAccessAllowed||s.isWindows?null:(0,n.createElement)(n.StatusMessage,{intent:"warning"},(0,n.createElement)(n.Translate,{content:"ApplicationCard.ScheduleTab.requiredSshAccess"})),p?(0,n.createElement)(Ht,{columns:w}):g?(0,n.createElement)(n.StatusMessage,{intent:"warning"},g):(0,n.createElement)(n.List,{data:m,columns:w,emptyView:(0,n.createElement)(n.ListEmptyView,{title:(0,n.createElement)(n.Translate,{content:"ApplicationCard.ScheduleTab.table.emptyViewTitle"}),description:(0,n.createElement)(n.Link,{href:"https://laravel.com/docs/master/scheduling",target:"_blank"},(0,n.createElement)(n.Translate,{content:"ApplicationCard.ScheduleTab.table.emptyLinkTitle"}))})}))};$t.propTypes={onMessage:n.PropTypes.func.isRequired,scheduleEnabled:n.PropTypes.bool.isRequired};const Vt=$t,Jt=function(){return(0,n.createElement)(a.Fragment,null,(0,n.createElement)(n.Skeleton,{maxWidth:"20px",height:"20px"})," ",(0,n.createElement)(n.Skeleton,{maxWidth:"100px",height:"20px"}),(0,n.createElement)(n.Paragraph,null,(0,n.createElement)(n.SkeletonText,{lines:1,lineProps:{style:{"margin-left":25},width:290}})),(0,n.createElement)(n.FormField,{label:(0,n.createElement)(n.Skeleton,{maxWidth:"100px"}),description:(0,n.createElement)(n.SkeletonText,{lines:1,maxWidth:"50px",height:"28px"})},(0,n.createElement)(n.Skeleton,{maxWidth:"100px",height:"28px"})),(0,n.createElement)(n.FormField,{label:(0,n.createElement)(n.Skeleton,{maxWidth:"100px"}),description:(0,n.createElement)(n.SkeletonText,{lines:1,maxWidth:"50px",height:"28px"})},(0,n.createElement)(n.Skeleton,{maxWidth:"100px",height:"28px"})),(0,n.createElement)(n.FormField,{label:(0,n.createElement)(n.Skeleton,{maxWidth:"100px"}),description:(0,n.createElement)(n.SkeletonText,{lines:1,maxWidth:"50px",height:"28px"})},(0,n.createElement)(n.Skeleton,{maxWidth:"100px",height:"28px"})),(0,n.createElement)(n.Section,null,(0,n.createElement)(n.SectionItem,{title:""},(0,n.createElement)(n.Skeleton,{maxWidth:"100px",height:"28px"}))))};var Kt=function(e){var t=e.columns;return(0,n.createElement)(Ht,{columns:t,toolbar:(0,n.createElement)(a.Fragment,null,(0,n.createElement)(n.Toolbar,null,(0,n.createElement)(n.ToolbarGroup,null,(0,n.createElement)(n.SkeletonText,{lines:1,lineProps:{width:85}})),(0,n.createElement)(n.ToolbarGroup,null,(0,n.createElement)(n.SkeletonText,{lines:1,lineProps:{width:85}})),(0,n.createElement)(n.ToolbarExpander,null),(0,n.createElement)(n.ToolbarGroup,null,(0,n.createElement)(n.SkeletonText,{lines:1,lineProps:{width:85}}))),(0,n.createElement)(n.Toolbar,null,(0,n.createElement)(n.ToolbarGroup,null,(0,n.createElement)(n.Skeleton,{width:80,height:28}),(0,n.createElement)(n.Skeleton,{width:80,height:28})),(0,n.createElement)(n.ToolbarGroup,null,(0,n.createElement)(n.Skeleton,{width:80,height:28}))))})};Kt.propTypes={columns:n.PropTypes.array.isRequired};const Qt=Kt;var Yt=["children","question","answer","onConfirm"],Zt=["onMessage","isOpen"];function er(){return er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},er.apply(null,arguments)}function tr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nr(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var or=[10,25,100,"all"],ar=function(e){var t=e.children,r=e.question,o=e.answer,i=e.onConfirm,l=nr(e,Yt),c=tr((0,a.useState)(!1),2),s=c[0],u=c[1];return(0,a.createElement)(n.Popover,{target:(0,a.createElement)(n.Button,er({},l,{onClick:function(){return u(!0)}}),t),placement:"bottom",visible:s,onClose:function(){return u(!1)}},(0,a.createElement)(n.Paragraph,null,r),(0,a.createElement)(n.Button,{intent:"danger",onClick:function(){u(!1),i()}},o))};ar.propTypes={children:n.PropTypes.node.isRequired,question:n.PropTypes.node,answer:n.PropTypes.node,onConfirm:n.PropTypes.func},ar.defaultProps={question:"",answer:"",onConfirm:function(){}};var ir=function(e){var t=e.onMessage,r=e.isOpen,i=nr(e,Zt),l=tr((0,a.useState)(),2),s=l[0],u=l[1],p=tr((0,a.useState)(0),2),f=p[0],d=p[1],m=tr((0,a.useState)(!1),2),y=m[0],h=m[1],g=tr((0,a.useState)([]),2),b=g[0],v=g[1],w=tr((0,a.useState)(1),2),S=w[0],T=w[1],O=tr((0,a.useState)(or[0]),2),x=O[0],P=O[1],A=c().baseUrl,C=E().domain.domainId;(0,a.useEffect)(function(){r?R():(v([]),T(1))},[r,S,x]);var R=(0,a.useCallback)(function(){v([]),h(!0),o.Jt("".concat(A,"/queue-worker/get-failed-jobs"),{domainId:C,page:S,itemsPerPage:x}).then(function(e){var t=e.data,r=e.total;!t.length&&r&&S>1?T(1):(u(t),d(r))}).catch(function(e){var r=e.message;return t(r,!0)}).finally(function(){return h(!1)})},[A,C,S,x,t]),j=[{key:"date",type:"title",width:140,title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.date"})},{key:"job",title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.job"}),truncate:!0}],k=(0,a.useCallback)(function(){o.bE("".concat(A,"/queue-worker/retry"),{domainId:C,ids:b}).then(R).catch(function(e){var r=e.message;return t(r,!0)})},[A,C,b,R,t]),D=(0,a.useCallback)(function(){o.bE("".concat(A,"/queue-worker/delete"),{domainId:C,ids:b}).then(R).catch(function(e){var r=e.message;return t(r,!0)})},[A,C,b,R,t]),M=(0,a.useCallback)(function(){o.bE("".concat(A,"/queue-worker/flush"),{domainId:C}).then(R).catch(function(e){var r=e.message;return t(r,!0)})},[A,C,R,t]),L="all"===x?1:Math.ceil(f/x);return(0,a.createElement)(n.Drawer,er({},i,{isOpen:r,title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.drawerTitle"}),"data-type":"queue-failed-drawer"}),!s&&y?(0,a.createElement)(Qt,{columns:j}):(0,a.createElement)(n.List,{data:s,columns:j,loading:y,renderRowBody:function(e){var t=e.date,r=e.uuid,o=e.connection,i=e.queue,l=e.job;return(0,a.createElement)(n.Section,{title:"Detail information"},(0,a.createElement)(n.SectionItem,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.date"})},t),(0,a.createElement)(n.SectionItem,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.uuid"})},r),(0,a.createElement)(n.SectionItem,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.connection"})},o),(0,a.createElement)(n.SectionItem,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.queue"})},i),(0,a.createElement)(n.SectionItem,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.job"})},l))},rowKey:"uuid",onSelectionChange:v,toolbar:(0,a.createElement)(n.Toolbar,null,(0,a.createElement)(n.ToolbarGroup,null,(0,a.createElement)(ar,{icon:"reload",disabled:!b.length,question:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.retryAskConfirm"}),answer:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.retryConfirmAnswer"}),onConfirm:k,tooltip:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.retryTooltip"})},(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.retry"})),(0,a.createElement)(ar,{icon:"recycle",intent:"danger",disabled:!b.length,question:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.deleteAskConfirm"}),answer:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.deleteConfirmAnswer"}),onConfirm:D,tooltip:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.deleteTooltip"})},(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.delete"}))),(0,a.createElement)(n.ToolbarGroup,null,(0,a.createElement)(ar,{icon:"clean",question:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.flushAskConfirm"}),answer:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.flushConfirmAnswer"}),onConfirm:M,tooltip:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.flushTooltip"})},(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.flush"})))),totalRows:f,pagination:(0,a.createElement)(n.Pagination,{current:S,total:L,itemsPerPage:x,onSelect:T,itemsPerPageOptions:or,onItemsPerPageChange:function(e){P(e),T(1)}}),emptyView:(0,a.createElement)(n.ListEmptyView,{title:(0,a.createElement)(n.Translate,{namespace:"ApplicationCard.QueueTab",content:"emptyFailedJobListTitle"})})}))};ir.propTypes={onMessage:n.PropTypes.func,isOpen:n.PropTypes.bool},ir.defaultProps={onMessage:function(){},isOpen:!1};const lr=ir;function cr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var sr=function(e){var t,r,o=e.onMessage,i=e.loading,l=e.value,c=e.saving,s=e.onFieldChange,u=e.queueWorkerIsEditable,p=(t=(0,a.useState)(!1),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return cr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cr(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=p[0],d=p[1];return i?(0,n.createElement)(Jt,null):(0,n.createElement)(a.Fragment,null,(0,n.createElement)("div",{className:"deployment-scenario-form"},(0,n.createElement)(n.Form,{onFieldChange:s,submitButton:!1,applyButton:!1,cancelButton:!1,values:l},c&&(0,n.createElement)("div",{className:"loader-mask"},(0,n.createElement)(n.ContentLoader,null)),(0,n.createElement)(n.FormFieldCheckbox,{name:"stopWhenEmpty",label:(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.StopWhenEmpty.label"}),description:(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.StopWhenEmpty.description"}),disabled:!u}),(0,n.createElement)(n.FormField,{name:"timeout",label:(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.Timeout.label"}),description:(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.Timeout.description"}),disabled:!u},function(e){var t=e.getValue,r=e.setValue,o=e.isDisabled;return(0,n.createElement)(n.InputNumber,{value:t(),min:0,max:99999,maxlength:5,onChange:r,disabled:o()})}),(0,n.createElement)(n.FormField,{name:"maxJobs",label:(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.MaxJobs.label"}),description:(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.MaxJobs.description"}),disabled:!u},function(e){var t=e.getValue,r=e.setValue,o=e.isDisabled;return(0,n.createElement)(n.InputNumber,{value:t(),min:0,max:99999,maxlength:5,onChange:r,disabled:o()})}),(0,n.createElement)(n.FormField,{name:"maxTime",label:(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.MaxTime.label"}),description:(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.MaxTime.description"}),disabled:!u},function(e){var t=e.getValue,r=e.setValue,o=e.isDisabled;return(0,n.createElement)(n.InputNumber,{value:t(),min:0,max:99999,maxlength:5,onChange:r,disabled:o()})}))),(0,n.createElement)(n.Section,null,(0,n.createElement)(n.SectionItem,{title:""},(0,n.createElement)(n.Button,{onClick:function(){return d(!0)},"data-id":"failedJobDrawer"},(0,n.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedJobsButton"})))),(0,n.createElement)(lr,{onMessage:o,isOpen:f,onClose:function(){return d(!1)}}))};sr.propTypes={onMessage:n.PropTypes.func,loading:n.PropTypes.bool,value:n.PropTypes.shape({stopWhenEmpty:n.PropTypes.bool,maxJobs:n.PropTypes.number,maxTime:n.PropTypes.number,timeout:n.PropTypes.number}),saving:n.PropTypes.bool,onFieldChange:n.PropTypes.func,queueWorkerIsEditable:n.PropTypes.bool},sr.defaultProps={onMessage:function(){},loading:!0,value:null,saving:!1,onFieldChange:function(){},queueWorkerIsEditable:!1};const ur=sr;function pr(e){return pr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pr(e)}function fr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function dr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fr(Object(r),!0).forEach(function(t){mr(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function mr(e,t,r){return(t=function(e){var t=function(e){if("object"!=pr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=pr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==pr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return hr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?hr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var gr=["loadQueueSettings"],br=["loadCommandList","purgeCommandList"],vr=["loadCommandList","purgeCommandList"],Er=["loadCommandList","purgeCommandList"];function wr(){return wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wr.apply(null,arguments)}function Sr(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function Tr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Or=function(e){var t,r,i,l,s=e.onMessage,u=e.onUpdate,p=(0,n.useTranslate)(),f=c().baseUrl,d=E().domain,m=d.scheduleEnabled,y=(i=(0,a.useState)(d.img),l=2,function(e){if(Array.isArray(e))return e}(i)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(i,l)||function(e,t){if(e){if("string"==typeof e)return Tr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tr(e,t):void 0}}(i,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=y[0],g=y[1],b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onMessage,r=e.excludeDebounceFields,n=void 0===r?["stopWhenEmpty"]:r,i=e.savingDelay,l=void 0===i?400:i,s=c().baseUrl,u=E().domain.domainId,p=yr((0,a.useState)(!1),2),f=p[0],d=p[1],m=yr((0,a.useState)(),2),y=m[0],h=m[1],g=yr((0,a.useState)(!1),2),b=g[0],v=g[1],w=yr((0,a.useState)(),2),S=w[0],T=w[1],O=(0,a.useCallback)(function(e){v(!0),o.bE("".concat(s,"/queue-worker/set-params"),{domainId:u,content:e}).then(function(){h(e)}).catch(function(e){var r=e.message;t(r,!0)}).finally(function(){return v(!1)})},[u,s,t]);return{value:y,loading:f,saving:b,onFieldChange:function(e,t){clearTimeout(S);var r=dr(dr({},y),{},mr({},e,t));if(n.includes(e))O(r);else{var o=setTimeout(function(){return O(r)},l);T(o)}},loadQueueSettings:function(){y||f||(d(!0),o.Jt("".concat(s,"/queue-worker/get-params"),{domainId:u}).then(function(e){h(e)}).catch(function(e){var r=e.message;t(r,!0)}).finally(function(){return d(!1)}))}}}({onMessage:s}),v=b.loadQueueSettings,w=Sr(b,gr),S=ue({onMessage:s,commandListUrl:"/api/artisan-command-list",executeUrl:"/api/artisan"}),T=S.loadCommandList,O=S.purgeCommandList,x=Sr(S,br),P=ue({onMessage:s,commandListUrl:"/api/composer-command-list",executeUrl:"/api/composer"}),A=P.loadCommandList,C=P.purgeCommandList,R=Sr(P,vr),j=ue({onMessage:s,commandListUrl:"/nodejs/command-list",executeUrl:"/nodejs/execute"}),k=j.loadCommandList,D=j.purgeCommandList,M=Sr(j,Er),L=(0,a.useMemo)(function(){var e=d.isScheduleSupported,t=d.schedulePermission,r=d.hasScheduledTasks;return e&&(m||t&&r)},[d,m]);return(0,a.createElement)(ne,{heading:(0,a.createElement)(n.Translate,{content:"ApplicationCard.title",params:{domain:(0,a.createElement)(n.Link,{href:d.domainManageUrl},d.name)}}),preview:(t=d.domainId,r=d.isSshTerminalEnabled,(0,a.createElement)(n.Section,null,(0,a.createElement)(n.SectionItem,null,(0,a.createElement)(n.PreviewPanel,{style:{"max-width":"100%","min-height":"205px"},alt:p("ApplicationCard.imgPreview",{domain:d.name}),image:h})),(0,a.createElement)(n.SectionItem,null,(0,a.createElement)(n.Action,{href:d.domainManageUrl,icon:"web"},(0,a.createElement)(n.Translate,{content:"ApplicationCard.domainManage"}))),(0,a.createElement)(n.SectionItem,null,(0,a.createElement)(n.Action,{href:d.logBrowserUrl,icon:"list","data-id":"logButton"},(0,a.createElement)(n.Translate,{content:"ApplicationCard.logBrowser"}))),r?(0,a.createElement)(n.SectionItem,null,(0,a.createElement)(n.Action,{href:"/modules/".concat(d.terminalExtName,"?site_id=").concat(t),icon:"console","data-id":"terminalButton"},(0,a.createElement)(n.Translate,{content:"ApplicationCard.terminal"}))):null))},(0,a.createElement)(n.Tabs,null,(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.tabDashboard"})},(0,a.createElement)(N,{onMessage:s})),(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.tabArtisan"}),onActivate:T,"data-id":"artisanTab"},(0,a.createElement)(xt,wr({prefix:"php artisan",showMessage:s},x))),(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.tabComposer"}),onActivate:A,"data-id":"composerTab"},(0,a.createElement)(xt,wr({prefix:"composer",showMessage:s},R))),(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.tabNodejs"}),onActivate:d.hasNodeJsExtension?k:null,"data-id":"nodejsTab"},(0,a.createElement)(_t,wr({showMessage:s,hasNodeJsExtension:!!d.hasNodeJsExtension,canInstallExtensions:!!d.canInstallExtensions},M))),(d.remoteUrl||d.localUrl)&&(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.tabDeployment"}),"data-id":"deploymentTab"},(0,a.createElement)(te,{onMessage:s,onUpdateComplete:function(){u(!1),function(){if(d.img){var e=new URL(d.img);e.searchParams.set("time",+new Date),g(e.toString())}}(),O(),D(),C()}})),L?(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.ScheduleTab.name"})},(0,a.createElement)(Vt,{baseUrl:f,onMessage:s,domain:d,scheduleEnabled:m})):null,(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.title"}),onActivate:v,"data-id":"queueTab"},(0,a.createElement)(ur,wr({onMessage:s,queueWorkerIsEditable:d.queueWorkerIsEditable},w)))))};Or.propTypes={onMessage:n.PropTypes.func,onUpdate:n.PropTypes.func},Or.defaultProps={onMessage:function(){},onUpdate:function(){}};const xr=Or;var Pr=r(3018),Ar=function(e){var t=e.domainId,r=e.onMessage,i=e.navigate,l=e.location,s=(0,n.useTranslate)("ApplicationsList"),u=new URLSearchParams(l.search),p=c().baseUrl,f=(0,n.createElement)(n.Button,{intent:"primary",onClick:function(){var e=new URLSearchParams(l.search);e.set("install",""),i("".concat(l.pathname,"?").concat(e.toString()))}},(0,n.createElement)(n.Translate,{namespace:"ApplicationsList",content:"installButton"})),d=(0,n.createElement)(n.Button,{icon:"eye",onClick:function(){o.bE("".concat(p,"/api/scan"),{domainId:t}).then(function(e){"Jsw.Task.ProgressBar.Item"===e.componentType&&window.Jsw.getComponent("asyncProgressBarWrapper").progressDialog(e)}).catch(function(e){var t=e.message;return r(t,!0)})},tooltip:(0,n.createElement)(n.Translate,{namespace:"ApplicationsList",content:"scanButtonTooltip"})},(0,n.createElement)(n.Translate,{namespace:"ApplicationsList",content:"scanButton"}));return(0,n.createElement)(a.Fragment,null,(0,n.createElement)(Pr.A,{baseUrl:p,isOpen:u.has("install"),onClose:function(){var e=new URLSearchParams(l.search);e.delete("install"),i("".concat(l.pathname,"?").concat(e.toString()))},showMessage:r,install:t}),(0,n.createElement)(n.ListEmptyView,{title:(0,n.createElement)(n.Translate,{namespace:"ApplicationsList",content:"emptyListTitle"}),description:(0,n.createElement)("span",{dangerouslySetInnerHTML:{__html:s("emptyListDescription")}}),actions:[f,d]}))};Ar.propTypes={domainId:n.PropTypes.number.isRequired,navigate:n.PropTypes.func.isRequired,location:n.PropTypes.object.isRequired,onMessage:n.PropTypes.func},Ar.defaultProps={onMessage:function(){}};const Cr=Ar;var Rr=function(){return(0,n.createElement)(n.Section,null,(0,n.createElement)(n.SectionItem,null,(0,n.createElement)(n.Skeleton,{height:"205px"})),Array.from({length:2}).map(function(e,t){return(0,n.createElement)(n.SectionItem,{key:t},(0,n.createElement)(n.Media,{image:(0,n.createElement)(n.Skeleton,{width:"16px",height:"16px"})},(0,n.createElement)(n.SkeletonText,{lines:1,lineProps:{width:"60%"}})))}))};const jr=function(){return(0,n.createElement)(ne,{preview:(0,n.createElement)(Rr,null),heading:(0,n.createElement)(n.SkeletonText,{lines:1,lineProps:{width:"60%"}})},(0,n.createElement)(a.Fragment,null,(0,n.createElement)(n.SkeletonTabs,{count:5}),(0,n.createElement)(n.Section,{title:(0,n.createElement)(n.SkeletonText,{lines:1,lineProps:{width:"200px"}})},(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.SkeletonText,{lines:1})},(0,n.createElement)(n.SkeletonText,{lines:1})),(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.SkeletonText,{lines:1})},(0,n.createElement)(n.Skeleton,{height:"40px"})),(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.SkeletonText,{lines:1})},(0,n.createElement)(n.Skeleton,{height:"130px"}))),(0,n.createElement)(n.Section,{title:(0,n.createElement)(n.SkeletonText,{lines:1,lineProps:{width:"200px"}})},(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.SkeletonText,{lines:1})},(0,n.createElement)(n.Skeleton,{height:"30px",width:"70px"})))))};function kr(e){return kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kr(e)}function Dr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,qr(n.key),n)}}function Mr(e,t,r){return t=Ir(t),function(e,t){if(t&&("object"==kr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Lr()?Reflect.construct(t,r||[],Ir(e).constructor):t.apply(e,r))}function Lr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lr=function(){return!!e})()}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ir(e)}function _r(e,t){return _r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_r(e,t)}function Nr(e,t,r){return(t=qr(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qr(e){var t=function(e){if("object"!=kr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=kr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kr(t)?t:t+""}var Ur=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Nr(r=Mr(this,t,[e]),"state",{load:!0,domain:null}),Nr(r,"getDomain",function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=r.props.baseUrl;e&&r.setState({load:!0}),o.Jt("".concat(t,"/api/domain"),{id:r.domainId}).then(function(e){var t=e.domain;r.setState({domain:t})}).catch(function(e){e instanceof o.AI||r.showMessage(e.message,!0)}).finally(function(){return e&&r.setState({load:!1})})}),Nr(r,"showMessage",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.toasterRef.current.add({intent:t?"danger":"success",message:e})}),r.domainId=null,r.toasterRef=(0,n.createRef)(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_r(e,t)}(t,e),r=t,(a=[{key:"componentDidMount",value:function(){var e=this.props.location,t=new URLSearchParams(e.search);this.domainId=t.get("site_id"),this.getDomain()}},{key:"render",value:function(){var e=this.props,t=e.baseUrl,r=e.location,o=e.navigate,a=this.state,i=a.load,c=a.domain;return i?(0,n.createElement)(jr,null):(0,n.createElement)(l,{value:{baseUrl:t}},c?(0,n.createElement)(v,{domain:c},(0,n.createElement)(xr,{onMessage:this.showMessage,onUpdate:this.getDomain})):(0,n.createElement)(Cr,{navigate:o,location:r,domainId:this.domainId,onMessage:this.showMessage}),(0,n.createElement)(n.Toaster,{ref:this.toasterRef}))}}])&&Dr(r.prototype,a),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,a}(n.Component);Ur.propTypes={baseUrl:n.PropTypes.string.isRequired,location:n.PropTypes.object.isRequired,navigate:n.PropTypes.func.isRequired};const Fr=(0,n.withRouter)(Ur)},1830(e){"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},1912(e,t,r){"use strict";r.d(t,{Ay:()=>O,xZ:()=>P});var n=r(2280),o=r(9067),a=r.n(o);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function c(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=function(e){if("object"!=i(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}var u=function(){return e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,"toaster",null),c(this,"setToaster",function(e){t.toaster=e})},t=[{key:"add",value:function(){var e;return!!this.toaster&&(e=this.toaster).add.apply(e,arguments)}},{key:"update",value:function(){var e;return!!this.toaster&&(e=this.toaster).update.apply(e,arguments)}},{key:"remove",value:function(){var e;this.toaster&&(e=this.toaster).remove.apply(e,arguments)}},{key:"clear",value:function(){this.toaster&&this.toaster.clear()}}],t&&l(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),p=(0,n.createContext)(),f=function(e){var t=e.children,r=e.value;return(0,n.createElement)(p.Provider,{value:r},t)};f.propTypes={children:a().node.isRequired,value:a().object},f.defaultProps={value:new u};const d=f;var m=r(9398);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,S(n.key),n)}}function g(e,t,r){return t=v(t),function(e,t){if(t&&("object"==y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,b()?Reflect.construct(t,r||[],v(e).constructor):t.apply(e,r))}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b=function(){return!!e})()}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function E(e,t){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},E(e,t)}function w(e,t,r){return(t=S(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e){var t=function(e){if("object"!=y(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==y(t)?t:t+""}var T=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),g(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}(t,e),r=t,(o=[{key:"componentDidUpdate",value:function(e){e.location.pathname!==this.props.location.pathname&&this.props.statusMessages.clear()}},{key:"render",value:function(){return(0,n.createElement)(d,{value:this.props.statusMessages},this.props.children,(0,n.createElement)(n.Toaster,{ref:this.props.statusMessages.setToaster}))}}])&&h(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o}(n.PureComponent);w(T,"propTypes",{children:a().node.isRequired,location:a().shape({pathname:a().string.isRequired}).isRequired,statusMessages:a().shape({clear:a().func.isRequired,setToaster:a().func.isRequired})}),w(T,"defaultProps",{statusMessages:new u});const O=(0,m.y)(T);function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},x.apply(null,arguments)}const P=function(e){var t=function(t){return(0,n.createElement)(p.Consumer,null,function(r){return(0,n.createElement)(e,x({statusMessages:r},t))})};return t.displayName="withStatusMessages(".concat(e.displayName||e.name,")"),t.WrappedComponent=e,t}},2140(e){"use strict";e.exports=URIError},2280(t){"use strict";t.exports=e},2305(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(3379),o=r(3231);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?o.encodeXML:o.encodeHTML)(e)};var a=r(3231);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return a.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return a.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return a.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return a.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return a.encodeHTML}});var i=r(3379);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return i.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return i.decodeXML}})},2387(e){"use strict";e.exports=Math.min},2422(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},2517(e,t,r){"use strict";r.d(t,{Component:()=>n.Component,PropTypes:()=>a.a,createElement:()=>n.createElement,withRouter:()=>i.y});var n=r(2280);r.o(n,"Action")&&r.d(t,{Action:function(){return n.Action}}),r.o(n,"Alert")&&r.d(t,{Alert:function(){return n.Alert}}),r.o(n,"Button")&&r.d(t,{Button:function(){return n.Button}}),r.o(n,"CodeEditor")&&r.d(t,{CodeEditor:function(){return n.CodeEditor}}),r.o(n,"Column")&&r.d(t,{Column:function(){return n.Column}}),r.o(n,"Columns")&&r.d(t,{Columns:function(){return n.Columns}}),r.o(n,"ConsoleOutput")&&r.d(t,{ConsoleOutput:function(){return n.ConsoleOutput}}),r.o(n,"ContentLoader")&&r.d(t,{ContentLoader:function(){return n.ContentLoader}}),r.o(n,"Dialog")&&r.d(t,{Dialog:function(){return n.Dialog}}),r.o(n,"Drawer")&&r.d(t,{Drawer:function(){return n.Drawer}}),r.o(n,"Dropdown")&&r.d(t,{Dropdown:function(){return n.Dropdown}}),r.o(n,"ExtendedStatusMessage")&&r.d(t,{ExtendedStatusMessage:function(){return n.ExtendedStatusMessage}}),r.o(n,"ExtendedStatusMessageActions")&&r.d(t,{ExtendedStatusMessageActions:function(){return n.ExtendedStatusMessageActions}}),r.o(n,"ExtendedStatusMessageDescription")&&r.d(t,{ExtendedStatusMessageDescription:function(){return n.ExtendedStatusMessageDescription}}),r.o(n,"ExtendedStatusMessageSeparator")&&r.d(t,{ExtendedStatusMessageSeparator:function(){return n.ExtendedStatusMessageSeparator}}),r.o(n,"ExtendedStatusMessageTitle")&&r.d(t,{ExtendedStatusMessageTitle:function(){return n.ExtendedStatusMessageTitle}}),r.o(n,"Form")&&r.d(t,{Form:function(){return n.Form}}),r.o(n,"FormField")&&r.d(t,{FormField:function(){return n.FormField}}),r.o(n,"FormFieldCheckbox")&&r.d(t,{FormFieldCheckbox:function(){return n.FormFieldCheckbox}}),r.o(n,"FormFieldSelect")&&r.d(t,{FormFieldSelect:function(){return n.FormFieldSelect}}),r.o(n,"FormFieldText")&&r.d(t,{FormFieldText:function(){return n.FormFieldText}}),r.o(n,"Fragment")&&r.d(t,{Fragment:function(){return n.Fragment}}),r.o(n,"Grid")&&r.d(t,{Grid:function(){return n.Grid}}),r.o(n,"GridCol")&&r.d(t,{GridCol:function(){return n.GridCol}}),r.o(n,"Hint")&&r.d(t,{Hint:function(){return n.Hint}}),r.o(n,"Icon")&&r.d(t,{Icon:function(){return n.Icon}}),r.o(n,"Input")&&r.d(t,{Input:function(){return n.Input}}),r.o(n,"InputNumber")&&r.d(t,{InputNumber:function(){return n.InputNumber}}),r.o(n,"Link")&&r.d(t,{Link:function(){return n.Link}}),r.o(n,"List")&&r.d(t,{List:function(){return n.List}}),r.o(n,"ListEmptyView")&&r.d(t,{ListEmptyView:function(){return n.ListEmptyView}}),r.o(n,"Media")&&r.d(t,{Media:function(){return n.Media}}),r.o(n,"Menu")&&r.d(t,{Menu:function(){return n.Menu}}),r.o(n,"MenuItem")&&r.d(t,{MenuItem:function(){return n.MenuItem}}),r.o(n,"Pagination")&&r.d(t,{Pagination:function(){return n.Pagination}}),r.o(n,"Panel")&&r.d(t,{Panel:function(){return n.Panel}}),r.o(n,"Paragraph")&&r.d(t,{Paragraph:function(){return n.Paragraph}}),r.o(n,"Popover")&&r.d(t,{Popover:function(){return n.Popover}}),r.o(n,"PreviewPanel")&&r.d(t,{PreviewPanel:function(){return n.PreviewPanel}}),r.o(n,"Radio")&&r.d(t,{Radio:function(){return n.Radio}}),r.o(n,"SearchBar")&&r.d(t,{SearchBar:function(){return n.SearchBar}}),r.o(n,"Section")&&r.d(t,{Section:function(){return n.Section}}),r.o(n,"SectionItem")&&r.d(t,{SectionItem:function(){return n.SectionItem}}),r.o(n,"SelectOption")&&r.d(t,{SelectOption:function(){return n.SelectOption}}),r.o(n,"Skeleton")&&r.d(t,{Skeleton:function(){return n.Skeleton}}),r.o(n,"SkeletonTabs")&&r.d(t,{SkeletonTabs:function(){return n.SkeletonTabs}}),r.o(n,"SkeletonText")&&r.d(t,{SkeletonText:function(){return n.SkeletonText}}),r.o(n,"StatusMessage")&&r.d(t,{StatusMessage:function(){return n.StatusMessage}}),r.o(n,"Switch")&&r.d(t,{Switch:function(){return n.Switch}}),r.o(n,"Tab")&&r.d(t,{Tab:function(){return n.Tab}}),r.o(n,"Tabs")&&r.d(t,{Tabs:function(){return n.Tabs}}),r.o(n,"Text")&&r.d(t,{Text:function(){return n.Text}}),r.o(n,"Toaster")&&r.d(t,{Toaster:function(){return n.Toaster}}),r.o(n,"Toolbar")&&r.d(t,{Toolbar:function(){return n.Toolbar}}),r.o(n,"ToolbarExpander")&&r.d(t,{ToolbarExpander:function(){return n.ToolbarExpander}}),r.o(n,"ToolbarGroup")&&r.d(t,{ToolbarGroup:function(){return n.ToolbarGroup}}),r.o(n,"Tooltip")&&r.d(t,{Tooltip:function(){return n.Tooltip}}),r.o(n,"Translate")&&r.d(t,{Translate:function(){return n.Translate}}),r.o(n,"copyToClipboard")&&r.d(t,{copyToClipboard:function(){return n.copyToClipboard}}),r.o(n,"createRef")&&r.d(t,{createRef:function(){return n.createRef}}),r.o(n,"useEffect")&&r.d(t,{useEffect:function(){return n.useEffect}}),r.o(n,"useRef")&&r.d(t,{useRef:function(){return n.useRef}}),r.o(n,"useState")&&r.d(t,{useState:function(){return n.useState}}),r.o(n,"useTranslate")&&r.d(t,{useTranslate:function(){return n.useTranslate}});var o=r(9067),a=r.n(o),i=(r(877),r(6214),r(4502),r(1912),r(9398))},2574(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){c=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var i,l=r(2305),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:(i={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"},f(0,5).forEach(function(e){f(0,5).forEach(function(t){f(0,5).forEach(function(r){return function(e,t,r,n){var a=e>0?40*e+55:0,i=t>0?40*t+55:0,l=r>0?40*r+55:0;n[16+36*e+6*t+r]=function(e){var t,r=[],n=o(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;r.push(s(a))}}catch(e){n.e(e)}finally{n.f()}return"#"+r.join("")}([a,i,l])}(e,t,r,i)})})}),f(0,23).forEach(function(e){var t=e+232,r=s(10*e+8);i[t]="#"+r+r+r}),i)};function s(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function u(e,t,r,n){var o;return"text"===t?o=function(e,t){return t.escapeXML?l.encodeXML(e):e}(r,n):"display"===t?o=function(e,t,r){var n,o={"-1":function(){return"<br/>"},0:function(){return e.length&&p(e)},1:function(){return m(e,"b")},3:function(){return m(e,"i")},4:function(){return m(e,"u")},8:function(){return y(e,"display:none")},9:function(){return m(e,"strike")},22:function(){return y(e,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return b(e,"i")},24:function(){return b(e,"u")},39:function(){return h(e,r.fg)},49:function(){return g(e,r.bg)},53:function(){return y(e,"text-decoration:overline")}};return o[t=parseInt(t,10)]?n=o[t]():4<t&&t<7?n=m(e,"blink"):29<t&&t<38?n=h(e,r.colors[t-30]):39<t&&t<48?n=g(e,r.colors[t-40]):89<t&&t<98?n=h(e,r.colors[t-90+8]):99<t&&t<108&&(n=g(e,r.colors[t-100+8])),n}(e,r,n):"xterm256Foreground"===t?o=h(e,n.colors[r]):"xterm256Background"===t?o=g(e,n.colors[r]):"rgb"===t&&(o=function(e,t){return y(e,(38===+(t=t.substring(2).slice(0,-1)).substr(0,2)?"color:#":"background-color:#")+t.substring(5).split(";").map(function(e){return("0"+Number(e).toString(16)).substr(-2)}).join(""))}(e,r)),o}function p(e){var t=e.slice(0);return e.length=0,t.reverse().map(function(e){return"</"+e+">"}).join("")}function f(e,t){for(var r=[],n=e;n<=t;n++)r.push(n);return r}function d(e){var t=null;return 0===(e=parseInt(e,10))?t="all":1===e?t="bold":2<e&&e<5?t="underline":4<e&&e<7?t="blink":8===e?t="hide":9===e?t="strike":29<e&&e<38||39===e||89<e&&e<98?t="foreground-color":(39<e&&e<48||49===e||99<e&&e<108)&&(t="background-color"),t}function m(e,t,r){return r||(r=""),e.push(t),"<".concat(t).concat(r?' style="'.concat(r,'"'):"",">")}function y(e,t){return m(e,"span",t)}function h(e,t){return m(e,"span","color:"+t)}function g(e,t){return m(e,"span","background-color:"+t)}function b(e,t){var r;if(e.slice(-1)[0]===t&&(r=e.pop()),r)return"</"+t+">"}var v=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(t=t||{}).colors&&(t.colors=Object.assign({},c.colors,t.colors)),this.options=Object.assign({},c,t),this.stack=[],this.stickyStack=[]}var t,r;return t=e,(r=[{key:"toHtml",value:function(e){var t=this;e="string"==typeof e?[e]:e;var r=this.stack,n=this.options,a=[];return this.stickyStack.forEach(function(e){var t=u(r,e.token,e.data,n);t&&a.push(t)}),function(e,t,r){var n=!1;function a(){return""}function i(e){return t.newline?r("display",-1):r("text",e),""}var l=[{pattern:/^\x08+/,sub:a},{pattern:/^\x1b\[[012]?K/,sub:a},{pattern:/^\x1b\[\(B/,sub:a},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:function(e){return r("rgb",e),""}},{pattern:/^\x1b\[38;5;(\d+)m/,sub:function(e,t){return r("xterm256Foreground",t),""}},{pattern:/^\x1b\[48;5;(\d+)m/,sub:function(e,t){return r("xterm256Background",t),""}},{pattern:/^\n/,sub:i},{pattern:/^\r+\n/,sub:i},{pattern:/^\r/,sub:i},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:function(e,t){n=!0,0===t.trim().length&&(t="0");var a,i=o(t=t.trimRight(";").split(";"));try{for(i.s();!(a=i.n()).done;){var l=a.value;r("display",l)}}catch(e){i.e(e)}finally{i.f()}return""}},{pattern:/^\x1b\[\d?J/,sub:a},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:a},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:a},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:function(e){return r("text",e),""}}];function c(t,r){r>3&&n||(n=!1,e=e.replace(t.pattern,t.sub))}var s=[],u=e.length;e:for(;u>0;){for(var p=0,f=0,d=l.length;f<d;p=++f)if(c(l[p],p),e.length!==u){u=e.length;continue e}if(e.length===u)break;s.push(0),u=e.length}}(e.join(""),n,function(e,o){var i=u(r,e,o,n);i&&a.push(i),n.stream&&(t.stickyStack=function(e,t,r){var n;return"text"!==t&&(e=e.filter((n=d(r),function(e){return(null===n||e.category!==n)&&"all"!==n}))).push({token:t,data:r,category:d(r)}),e}(t.stickyStack,e,o))}),r.length&&a.push(p(r)),a.join("")}}])&&n(t.prototype,r),e}();e.exports=v},2809(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(6040)),a=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"<22>":(e in o.default&&(e=o.default[e]),a(e))}},2908(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},3018(e,t,r){"use strict";r.d(t,{A:()=>S});var n=r(2280),o=r(2517),a=r(7033),i=r(550),l=r(9067),c=r.n(l),s="skeleton",u="remote",p=function(e){var t=e.value,r=e.onSelect,o=[{key:s,icon:(0,n.createElement)(n.Icon,{name:"rocket",size:"48","aria-hidden":"true"}),title:(0,n.createElement)(n.Heading,{level:"6"},(0,n.createElement)(n.Translate,{content:"InstallTypeSelector.type.skeleton.title"})),description:(0,n.createElement)(n.Translate,{content:"InstallTypeSelector.type.skeleton.description"})},{key:u,icon:(0,n.createElement)(n.Icon,{name:"cloud",size:"48","aria-hidden":"true"}),title:(0,n.createElement)(n.Heading,{level:"6"},(0,n.createElement)(n.Translate,{content:"InstallTypeSelector.type.remote.title"})),description:(0,n.createElement)(n.Translate,{content:"InstallTypeSelector.type.remote.description"})}];return(0,n.createElement)(n.ItemList,{minColumnWidth:300,gap:"md",stretchable:!0,selectable:!0,value:t,onSelect:r},o.map(function(e){var t=e.key,r=e.icon,o=e.title,a=e.description,i=e.content;return(0,n.createElement)(n.Item,{id:"type-".concat(t),key:t,value:t,icon:r,title:o,description:a},(0,n.createElement)("div",null,i))}))};p.propTypes={value:c().string.isRequired,onSelect:c().func.isRequired};const f=p;function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,E(n.key),n)}}function y(e,t,r){return t=g(t),function(e,t){if(t&&("object"==d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,h()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function v(e,t,r){return(t=E(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){var t=function(e){if("object"!=d(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:t+""}var w=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),v(r=y(this,t,[e]),"state",{domains:[],load:!0,domain:parseInt(r.props.install),repo:"",formState:null,publicKey:"",errors:[],gitError:null,phpWarning:!1,composerError:null,installType:s,domainInfoError:null}),v(r,"init",function(){var e=r.props,t=e.baseUrl,n=e.showMessage;a.Jt("".concat(t,"/api/get-install-init")).then(function(e){var t=e.domains,n=e.gitError,o=e.composerError;return r.setState({domains:t,gitError:n,composerError:o},r.domainInfo)}).catch(function(e){var t=e.message;return n(t,!0)}).finally(function(){return r.setState({load:!1})})}),v(r,"domainInfo",function(){var e=r.props.baseUrl,t=r.state,n=t.domain;!t.gitError&&n&&(r.setState({formState:"apply"}),a.Jt("".concat(e,"/api/get-domain-info"),{domain:n}).then(function(e){var t=e.publicKey,n=e.phpWarning;r.setState({publicKey:t,phpWarning:n})}).catch(function(e){var t=e.message;r.setState({domainInfoError:t})}).finally(function(){return r.setState({formState:null})}))}),v(r,"renderSshKeyTitle",function(){return(0,o.createElement)(n.Fragment,null,(0,o.createElement)(o.Translate,{content:"InstallDrawer.sshPublicKey"}),(0,o.createElement)(o.Alert,{intent:"warning"},(0,o.createElement)(o.Translate,{content:"InstallDrawer.sshPublicKeyHint"})))}),v(r,"renderFormFields",function(){return(0,o.createElement)("div",null,r.state.gitError?(0,o.createElement)(o.StatusMessage,{intent:r.state.gitError.level},r.state.gitError.msg):null,r.state.composerError?(0,o.createElement)(o.StatusMessage,{intent:r.state.composerError.level},r.state.composerError.msg):null,r.state.phpWarning?(0,o.createElement)(o.StatusMessage,{intent:"warning"},r.state.phpWarning):null,r.state.domainInfoError?(0,o.createElement)(o.StatusMessage,{intent:"danger","data-cy":"php-disabled"},(0,o.createElement)("span",{dangerouslySetInnerHTML:{__html:r.state.domainInfoError}})):null,(0,o.createElement)(o.FormFieldSelect,{name:"domain",size:"xl",label:(0,o.createElement)(o.Translate,{content:"InstallDrawer.chooseDomain"}),required:!0,"data-id":"domainSelect"},r.state.domains.map(function(e){var t=e.id,r=e.name;return(0,o.createElement)(o.SelectOption,{key:t,value:t},r)})),(0,o.createElement)(f,{value:r.state.installType,onSelect:function(e){r.setState({errors:[],installType:e})}}),r.state.installType===u?(0,o.createElement)("div",null,(0,o.createElement)(o.FormFieldText,{name:"repo",size:"xl",label:(0,o.createElement)(o.Translate,{content:"InstallDrawer.repository"}),required:!0}),r.state.publicKey?(0,o.createElement)(o.SectionItem,{title:r.renderSshKeyTitle()},(0,o.createElement)(i.A,{content:r.state.publicKey,onCopy:function(){return r.props.showMessage((0,o.createElement)(o.Translate,{content:"InstallDrawer.publicKeyCopied"}))}})):null):null)}),v(r,"handleInstall",function(e){var t=r.props,n=t.baseUrl,o=t.showMessage;r.setState({errors:[]}),e.type=r.state.installType,a.bE("".concat(n,"/api/install"),e).then(function(e){"Jsw.Task.ProgressBar.Item"===e.componentType&&window.Jsw.getComponent("asyncProgressBarWrapper").progressDialog(e),r.props.onClose()}).catch(function(e){e instanceof a.y6?r.setState({errors:e.errors}):o(e.message,!0)})}),v(r,"handleCopy",function(e){(0,o.copyToClipboard)(e),r.props.showMessage((0,o.createElement)(o.Translate,{content:"InstallDrawer.publicKeyCopied"}))}),e.isOpen&&r.init(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(t,e),r=t,(l=[{key:"componentDidUpdate",value:function(e,t){e.isOpen!==this.props.isOpen&&(this.props.isOpen?(this.setState({load:!0}),this.init()):this.setState({domain:null,repo:"",publicKey:"",errors:[]})),this.state.domain&&t.domain!==this.state.domain&&this.domainInfo()}},{key:"render",value:function(){var e=this,t=this.props,r=t.isOpen,n=t.onClose,a=this.state.load;return(0,o.createElement)(o.Drawer,{"data-type":"install-drawer",title:(0,o.createElement)(o.Translate,{content:"InstallDrawer.title"}),isOpen:r,onClose:n,form:{onSubmit:this.handleInstall,cancelButton:{onClick:this.props.onClose},applyButton:!1,submitButton:{disabled:this.state.domainInfoError,children:(0,o.createElement)(o.Translate,{content:"InstallDrawer.install"}),"data-id":"installButton"},values:{domain:this.state.domain,repo:this.state.repo},onFieldChange:function(t,r){e.setState(v({},t,r))},state:this.state.formState,errors:this.state.errors}},a?(0,o.createElement)(o.ContentLoader,null):this.renderFormFields())}}])&&m(r.prototype,l),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,l}(n.Component);w.defaultProps={install:void 0},w.propTypes={baseUrl:o.PropTypes.string.isRequired,isOpen:o.PropTypes.bool.isRequired,onClose:o.PropTypes.func.isRequired,showMessage:o.PropTypes.func.isRequired,install:o.PropTypes.string};const S=w},3141(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"","backsim":"∽","backsimeq":"⋍","Backslash":"","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"","Bernoullis":"","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"","caps":"∩︀","caret":"","caron":"ˇ","Cayleys":"","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"","dd":"","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":"","emsp14":"","emsp":"","ENG":"Ŋ","eng":"ŋ","ensp":"","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"","Escr":"","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"","exponentiale":"","ExponentialE":"","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"","frown":"⌢","fscr":"𝒻","Fscr":"","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":"","half":"½","hamilt":"","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"","HilbertSpace":"","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"","hyphen":"","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"","Igrave":"Ì","igrave":"ì","ii":"","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"","ImaginaryI":"","imagline":"","imagpart":"","imath":"ı","Im":"","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"","lscr":"𝓁","Lscr":"","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"","lsquor":"","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":"","Mellintrf":"","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"","middot":"·","minusb":"⊟","minus":"","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":"","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"","ord":"⩝","order":"","orderof":"","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"","pointint":"⨕","popf":"𝕡","Popf":"","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"","Prime":"″","primes":"","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":"","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"","rationals":"","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"","realine":"","realpart":"","reals":"","Re":"","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"","rscr":"𝓇","Rscr":"","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"","rsquor":"","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"","setmn":"","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"","smashp":"⨳","smeparsl":"⧤","smid":"","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"","ThickSpace":"","ThinSpace":"","thinsp":"","thkap":"≈","thksim":"","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"","Vee":"","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":"","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},3231(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var o=u(n(r(7299)).default),a=p(o);t.encodeXML=h(o);var i,l,c=u(n(r(3141)).default),s=p(c);function u(e){return Object.keys(e).sort().reduce(function(t,r){return t[e[r]]="&"+r+";",t},{})}function p(e){for(var t=[],r=[],n=0,o=Object.keys(e);n<o.length;n++){var a=o[n];1===a.length?t.push("\\"+a):r.push(a)}t.sort();for(var i=0;i<t.length-1;i++){for(var l=i;l<t.length-1&&t[l].charCodeAt(1)+1===t[l+1].charCodeAt(1);)l+=1;var c=1+l-i;c<3||t.splice(i,c,t[i]+"-"+t[l])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(i=c,l=s,function(e){return e.replace(l,function(e){return i[e]}).replace(f,m)}),t.encodeNonAsciiHTML=h(c);var f=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function m(e){return"&#x"+(e.length>1?d(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var y=new RegExp(a.source+"|"+f.source,"g");function h(e){return function(t){return t.replace(y,function(t){return e[t]||m(t)})}}t.escape=function(e){return e.replace(y,m)},t.escapeUTF8=function(e){return e.replace(a,m)}},3346(e,t,r){"use strict";var n=r(8660),o=r(3468),a=function(e,t,r){for(var n,o=e;null!=(n=o.next);o=n)if(n.key===t)return o.next=n.next,r||(n.next=e.next,e.next=n),n};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+n(e))},delete:function(t){var r=e&&e.next,n=function(e,t){if(e)return a(e,t,!0)}(e,t);return n&&r&&r===n&&(e=void 0),!!n},get:function(t){return function(e,t){if(e){var r=a(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!a(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var n=a(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t}},3379(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var o=n(r(3141)),a=n(r(297)),i=n(r(7299)),l=n(r(2809)),c=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function s(e){var t=p(e);return function(e){return String(e).replace(c,t)}}t.decodeXML=s(i.default),t.decodeHTMLStrict=s(o.default);var u=function(e,t){return e<t?1:-1};function p(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?l.default(parseInt(t.substr(3),16)):l.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(a.default).sort(u),t=Object.keys(o.default).sort(u),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var i=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),l=p(o.default);function c(e){return";"!==e.substr(-1)&&(e+=";"),l(e)}return function(e){return String(e).replace(i,c)}}()},3468(e){"use strict";e.exports=TypeError},3558(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(2908);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},4502(e,t,r){"use strict";r.d(t,{s:()=>c,N:()=>u});var n=r(2280),o=r(9067),a=r.n(o),i=(0,n.createContext)(),l=function(e){var t=e.children,r=e.value;return(0,n.createElement)(i.Provider,{value:r},t)};l.propTypes={children:a().node.isRequired,value:a().object.isRequired};const c=l;function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(null,arguments)}const u=function(e){var t=function(t){return(0,n.createElement)(i.Consumer,null,function(r){return(0,n.createElement)(e,s({config:r},t))})};return t.displayName="withConfig(".concat(e.displayName||e.name,")"),t.WrappedComponent=e,t}},4531(e){"use strict";e.exports=Function.prototype.call},4607(e,t,r){"use strict";var n=r(528),o=r(9903),a=o([n("%String.prototype.indexOf%")]);e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&a(e,".prototype.")>-1?o([r]):r}},4940(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},4943(e){"use strict";e.exports=ReferenceError},5023(e,t,r){"use strict";var n;r.d(t,{BV:()=>me,Kd:()=>_e,N_:()=>qe,Zp:()=>Y,g:()=>Z,qh:()=>fe,zy:()=>J});var o=r(2280),a="popstate";function i(e={}){return function(e,t,r,n={}){let{window:o=document.defaultView,v5Compat:i=!1}=n,c=o.history,f="POP",d=null,m=y();function y(){return(c.state||{idx:null}).idx}function h(){f="POP";let e=y(),t=null==e?null:e-m;m=e,d&&d({action:f,location:b.location,delta:t})}function g(e){return function(e,t=!1){let r="http://localhost";"undefined"!=typeof window&&(r="null"!==window.location.origin?window.location.origin:window.location.href),l(r,"No window.location.(origin|href) available to create URL");let n="string"==typeof e?e:p(e);return n=n.replace(/ $/,"%20"),!t&&n.startsWith("//")&&(n=r+n),new URL(n,r)}(e)}null==m&&(m=0,c.replaceState({...c.state,idx:m},""));let b={get action(){return f},get location(){return e(o,c)},listen(e){if(d)throw new Error("A history only accepts one active listener");return o.addEventListener(a,h),d=e,()=>{o.removeEventListener(a,h),d=null}},createHref:e=>t(o,e),createURL:g,encodeLocation(e){let t=g(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){f="PUSH";let n=u(b.location,e,t);r&&r(n,e),m=y()+1;let a=s(n,m),l=b.createHref(n);try{c.pushState(a,"",l)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(l)}i&&d&&d({action:f,location:b.location,delta:1})},replace:function(e,t){f="REPLACE";let n=u(b.location,e,t);r&&r(n,e),m=y();let o=s(n,m),a=b.createHref(n);c.replaceState(o,"",a),i&&d&&d({action:f,location:b.location,delta:0})},go:e=>c.go(e)};return b}(function(e,t){let{pathname:r,search:n,hash:o}=e.location;return u("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:p(t)},null,e)}function l(e,t){if(!1===e||null==e)throw new Error(t)}function c(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function s(e,t){return{usr:e.state,key:e.key,idx:t}}function u(e,t,r=null,n){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?f(t):t,state:r,key:t&&t.key||n||Math.random().toString(36).substring(2,10)}}function p({pathname:e="/",search:t="",hash:r=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),r&&"#"!==r&&(e+="#"===r.charAt(0)?r:"#"+r),e}function f(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function d(e,t,r="/"){return function(e,t,r,n){let o=S(("string"==typeof t?f(t):t).pathname||"/",r);if(null==o)return null;let a=m(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,r)=>e===t[r])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(a);let i=null;for(let e=0;null==i&&e<a.length;++e){let t=w(o);i=v(a[e],t,n)}return i}(e,t,r,!1)}function m(e,t=[],r=[],n="",o=!1){let a=(e,a,i=o,c)=>{let s={relativePath:void 0===c?e.path||"":c,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};if(s.relativePath.startsWith("/")){if(!s.relativePath.startsWith(n)&&i)return;l(s.relativePath.startsWith(n),`Absolute route path "${s.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),s.relativePath=s.relativePath.slice(n.length)}let u=C([n,s.relativePath]),p=r.concat(s);e.children&&e.children.length>0&&(l(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),m(e.children,t,p,u,i)),(null!=e.path||e.index)&&t.push({path:u,score:b(u,e.index),routesMeta:p})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let r of y(e.path))a(e,t,!0,r);else a(e,t)}),t}function y(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===n.length)return o?[a,""]:[a];let i=y(n.join("/")),l=[];return l.push(...i.map(e=>""===e?a:[a,e].join("/"))),o&&l.push(...i),l.map(t=>e.startsWith("/")&&""===t?"/":t)}new WeakMap;var h=/^:[\w-]+$/,g=e=>"*"===e;function b(e,t){let r=e.split("/"),n=r.length;return r.some(g)&&(n+=-2),t&&(n+=2),r.filter(e=>!g(e)).reduce((e,t)=>e+(h.test(t)?3:""===t?1:10),n)}function v(e,t,r=!1){let{routesMeta:n}=e,o={},a="/",i=[];for(let e=0;e<n.length;++e){let l=n[e],c=e===n.length-1,s="/"===a?t:t.slice(a.length)||"/",u=E({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},s),p=l.route;if(!u&&c&&r&&!n[n.length-1].route.index&&(u=E({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},s)),!u)return null;Object.assign(o,u.params),i.push({params:o,pathname:C([a,u.pathname]),pathnameBase:R(C([a,u.pathnameBase])),route:p}),"/"!==u.pathnameBase&&(a=C([a,u.pathnameBase]))}return i}function E(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t=!1,r=!0){c("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(n.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:n.reduce((e,{paramName:t,isOptional:r},n)=>{if("*"===t){let e=l[n]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const o=l[n];return e[t]=r&&!o?void 0:(o||"").replace(/%2F/g,"/"),e},{}),pathname:a,pathnameBase:i,pattern:e}}function w(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return c(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function S(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}var T=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function O(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}function x(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function P(e){let t=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t.map((e,r)=>r===t.length-1?e.pathname:e.pathnameBase)}function A(e,t,r,n=!1){let o;"string"==typeof e?o=f(e):(o={...e},l(!o.pathname||!o.pathname.includes("?"),x("?","pathname","search",o)),l(!o.pathname||!o.pathname.includes("#"),x("#","pathname","hash",o)),l(!o.search||!o.search.includes("#"),x("#","search","hash",o)));let a,i=""===e||""===o.pathname,s=i?"/":o.pathname;if(null==s)a=r;else{let e=t.length-1;if(!n&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let u=function(e,t="/"){let r,{pathname:n,search:o="",hash:a=""}="string"==typeof e?f(e):e;if(n)if(i=n,T.test(i))r=n;else{if(n.includes("//")){let e=n;n=n.replace(/\/\/+/g,"/"),c(!1,`Pathnames cannot have embedded double slashes - normalizing ${e} -> ${n}`)}r=n.startsWith("/")?O(n.substring(1),"/"):O(n,t)}else r=t;var i;return{pathname:r,search:j(o),hash:k(a)}}(o,a),p=s&&"/"!==s&&s.endsWith("/"),d=(i||"."===s)&&r.endsWith("/");return u.pathname.endsWith("/")||!p&&!d||(u.pathname+="/"),u}var C=e=>e.join("/").replace(/\/\/+/g,"/"),R=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),j=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",k=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",D=class{constructor(e,t,r,n=!1){this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function M(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}function L(e){return e.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var I="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function _(e,t){let r=e;if("string"!=typeof r||!T.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,o=!1;if(I)try{let e=new URL(window.location.href),n=r.startsWith("//")?new URL(e.protocol+r):new URL(r),a=S(n.pathname,t);n.origin===e.origin&&null!=a?r=a+n.search+n.hash:o=!0}catch(e){c(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:o,to:r}}Symbol("Uninstrumented"),Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var N=["POST","PUT","PATCH","DELETE"],q=(new Set(N),["GET",...N]);new Set(q),Symbol("ResetLoaderData");var U=o.createContext(null);U.displayName="DataRouter";var F=o.createContext(null);F.displayName="DataRouterState";var B=o.createContext(!1);var H=o.createContext({isTransitioning:!1});H.displayName="ViewTransition",o.createContext(new Map).displayName="Fetchers",o.createContext(null).displayName="Await";var W=o.createContext(null);W.displayName="Navigation";var z=o.createContext(null);z.displayName="Location";var X=o.createContext({outlet:null,matches:[],isDataRoute:!1});X.displayName="Route";var G=o.createContext(null);G.displayName="RouteError";var $="REACT_ROUTER_ERROR";function V(){return null!=o.useContext(z)}function J(){return l(V(),"useLocation() may be used only in the context of a <Router> component."),o.useContext(z).location}var K="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Q(e){o.useContext(W).static||o.useLayoutEffect(e)}function Y(){let{isDataRoute:e}=o.useContext(X);return e?function(){let{router:e}=function(e){let t=o.useContext(U);return l(t,ce(e)),t}("useNavigate"),t=se("useNavigate"),r=o.useRef(!1);return Q(()=>{r.current=!0}),o.useCallback(async(n,o={})=>{c(r.current,K),r.current&&("number"==typeof n?await e.navigate(n):await e.navigate(n,{fromRouteId:t,...o}))},[e,t])}():function(){l(V(),"useNavigate() may be used only in the context of a <Router> component.");let e=o.useContext(U),{basename:t,navigator:r}=o.useContext(W),{matches:n}=o.useContext(X),{pathname:a}=J(),i=JSON.stringify(P(n)),s=o.useRef(!1);return Q(()=>{s.current=!0}),o.useCallback((n,o={})=>{if(c(s.current,K),!s.current)return;if("number"==typeof n)return void r.go(n);let l=A(n,JSON.parse(i),a,"path"===o.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:C([t,l.pathname])),(o.replace?r.replace:r.push)(l,o.state,o)},[t,r,i,a,e])}()}function Z(){let{matches:e}=o.useContext(X),t=e[e.length-1];return t?t.params:{}}function ee(e,{relative:t}={}){let{matches:r}=o.useContext(X),{pathname:n}=J(),a=JSON.stringify(P(r));return o.useMemo(()=>A(e,JSON.parse(a),n,"path"===t),[e,a,n,t])}function te(e,t,r,n,a){l(V(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=o.useContext(W),{matches:s}=o.useContext(X),u=s[s.length-1],p=u?u.params:{},m=u?u.pathname:"/",y=u?u.pathnameBase:"/",h=u&&u.route;{let e=h&&h.path||"";pe(m,!h||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let g,b=J();if(t){let e="string"==typeof t?f(t):t;l("/"===y||e.pathname?.startsWith(y),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${y}" but pathname "${e.pathname}" was given in the \`location\` prop.`),g=e}else g=b;let v=g.pathname||"/",E=v;if("/"!==y){let e=y.replace(/^\//,"").split("/");E="/"+v.replace(/^\//,"").split("/").slice(e.length).join("/")}let w=d(e,{pathname:E});c(h||null!=w,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),c(null==w||void 0!==w[w.length-1].route.element||void 0!==w[w.length-1].route.Component||void 0!==w[w.length-1].route.lazy,`Matched leaf route at location "${g.pathname}${g.search}${g.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let S=function(e,t=[],r=null,n=null){if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let a=e,i=r?.errors;if(null!=i){let e=a.findIndex(e=>e.route.id&&void 0!==i?.[e.route.id]);l(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),a=a.slice(0,Math.min(a.length,e+1))}let c=!1,s=-1;if(r)for(let e=0;e<a.length;e++){let t=a[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:n}=r,o=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!n||void 0===n[t.route.id]);if(t.route.lazy||o){c=!0,a=s>=0?a.slice(0,s+1):[a[0]];break}}}let u=r&&n?(e,t)=>{n(e,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:L(r.matches),errorInfo:t})}:void 0;return a.reduceRight((e,n,l)=>{let p,f=!1,d=null,m=null;r&&(p=i&&n.route.id?i[n.route.id]:void 0,d=n.route.errorElement||ne,c&&(s<0&&0===l?(pe("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),f=!0,m=null):s===l&&(f=!0,m=n.route.hydrateFallbackElement||null)));let y=t.concat(a.slice(0,l+1)),h=()=>{let t;return t=p?d:f?m:n.route.Component?o.createElement(n.route.Component,null):n.route.element?n.route.element:e,o.createElement(le,{match:n,routeContext:{outlet:e,matches:y,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===l)?o.createElement(oe,{location:r.location,revalidation:r.revalidation,component:d,error:p,children:h(),routeContext:{outlet:null,matches:y,isDataRoute:!0},onError:u}):h()},null)}(w&&w.map(e=>Object.assign({},e,{params:Object.assign({},p,e.params),pathname:C([y,i.encodeLocation?i.encodeLocation(e.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?y:C([y,i.encodeLocation?i.encodeLocation(e.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),s,r,n,a);return t&&S?o.createElement(z.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...g},navigationType:"POP"}},S):S}function re(){let e=function(){let e=o.useContext(G),t=function(e){let t=o.useContext(F);return l(t,ce(e)),t}("useRouteError"),r=se("useRouteError");return void 0!==e?e:t.errors?.[r]}(),t=M(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:n},i={padding:"2px 4px",backgroundColor:n},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=o.createElement(o.Fragment,null,o.createElement("p",null,"💿 Hey developer 👋"),o.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",o.createElement("code",{style:i},"ErrorBoundary")," or"," ",o.createElement("code",{style:i},"errorElement")," prop on your route.")),o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),r?o.createElement("pre",{style:a},r):null,c)}o.createContext(null);var ne=o.createElement(re,null),oe=class extends o.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&"object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){const t=function(e){if(e.startsWith(`${$}:ROUTE_ERROR_RESPONSE:{`))try{let t=JSON.parse(e.slice(40));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText)return new D(t.status,t.statusText,t.data)}catch{}}(e.digest);t&&(e=t)}let t=void 0!==e?o.createElement(X.Provider,{value:this.props.routeContext},o.createElement(G.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?o.createElement(ie,{error:e},t):t}};oe.contextType=B;var ae=new WeakMap;function ie({children:e,error:t}){let{basename:r}=o.useContext(W);if("object"==typeof t&&t&&"digest"in t&&"string"==typeof t.digest){let e=function(e){if(e.startsWith(`${$}:REDIRECT:{`))try{let t=JSON.parse(e.slice(28));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"string"==typeof t.location&&"boolean"==typeof t.reloadDocument&&"boolean"==typeof t.replace)return t}catch{}}(t.digest);if(e){let n=ae.get(t);if(n)throw n;let a=_(e.location,r);if(I&&!ae.get(t)){if(!a.isExternal&&!e.reloadDocument){const r=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw ae.set(t,r),r}window.location.href=a.absoluteURL||a.to}return o.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a.absoluteURL||a.to}`})}}return e}function le({routeContext:e,match:t,children:r}){let n=o.useContext(U);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),o.createElement(X.Provider,{value:e},r)}function ce(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function se(e){let t=function(e){let t=o.useContext(X);return l(t,ce(e)),t}(e),r=t.matches[t.matches.length-1];return l(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}var ue={};function pe(e,t,r){t||ue[e]||(ue[e]=!0,c(!1,r))}function fe(e){l(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function de({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:a,static:i=!1,unstable_useTransitions:s}){l(!V(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let u=e.replace(/^\/*/,"/"),p=o.useMemo(()=>({basename:u,navigator:a,static:i,unstable_useTransitions:s,future:{}}),[u,a,i,s]);"string"==typeof r&&(r=f(r));let{pathname:d="/",search:m="",hash:y="",state:h=null,key:g="default"}=r,b=o.useMemo(()=>{let e=S(d,u);return null==e?null:{location:{pathname:e,search:m,hash:y,state:h,key:g},navigationType:n}},[u,d,m,y,h,g,n]);return c(null!=b,`<Router basename="${u}"> is not able to match the URL "${d}${m}${y}" because it does not start with the basename, so the <Router> won't render anything.`),null==b?null:o.createElement(W.Provider,{value:p},o.createElement(z.Provider,{children:t,value:b}))}function me({children:e,location:t}){return te(ye(e),t)}function ye(e,t=[]){let r=[];return o.Children.forEach(e,(e,n)=>{if(!o.isValidElement(e))return;let a=[...t,n];if(e.type===o.Fragment)return void r.push.apply(r,ye(e.props.children,a));l(e.type===fe,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),l(!e.props.index||!e.props.children,"An index route cannot have child routes.");let i={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=ye(e.props.children,a)),r.push(i)}),r}(n||(n=r.t(o,2))).useOptimistic,o.memo(function({routes:e,future:t,state:r,onError:n}){return te(e,void 0,r,n,t)}),o.Component;var he="get",ge="application/x-www-form-urlencoded";function be(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}var ve=null,Ee=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function we(e){return null==e||Ee.has(e)?e:(c(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ge}"`),null)}function Se(e,t){if(!1===e||null==e)throw new Error(t)}function Te(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function Oe(e,t,r,n,o,a){let i=(e,t)=>!r[t]||e.route.id!==r[t].route.id,l=(e,t)=>r[t].pathname!==e.pathname||r[t].route.path?.endsWith("*")&&r[t].params["*"]!==e.params["*"];return"assets"===a?t.filter((e,t)=>i(e,t)||l(e,t)):"data"===a?t.filter((t,a)=>{let c=n.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(i(t,a)||l(t,a))return!0;if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof n)return n}return!0}):[]}function xe(e,t,{includeHydrateFallback:r}={}){return n=e.map(e=>{let n=t.routes[e.route.id];if(!n)return[];let o=[n.module];return n.clientActionModule&&(o=o.concat(n.clientActionModule)),n.clientLoaderModule&&(o=o.concat(n.clientLoaderModule)),r&&n.hydrateFallbackModule&&(o=o.concat(n.hydrateFallbackModule)),n.imports&&(o=o.concat(n.imports)),o}).flat(1),[...new Set(n)];var n}function Pe(){let e=o.useContext(U);return Se(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Ae(){let e=o.useContext(F);return Se(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0"),"undefined"!=typeof window?window:"undefined"!=typeof globalThis&&globalThis,Symbol("SingleFetchRedirect");var Ce=o.createContext(void 0);function Re(){let e=o.useContext(Ce);return Se(e,"You must render this element inside a <HydratedRouter> element"),e}function je(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function ke({page:e,...t}){let{router:r}=Pe(),n=o.useMemo(()=>d(r.routes,e,r.basename),[r.routes,e,r.basename]);return n?o.createElement(Me,{page:e,matches:n,...t}):null}function De(e){let{manifest:t,routeModules:r}=Re(),[n,a]=o.useState([]);return o.useEffect(()=>{let n=!1;return async function(e,t,r){return function(e,t){let r=new Set,n=new Set(t);return e.reduce((e,o)=>{if(t&&(null==(a=o)||"string"!=typeof a.page)&&"script"===o.as&&o.href&&n.has(o.href))return e;var a;let i=JSON.stringify(function(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}(o));return r.has(i)||(r.add(i),e.push({key:i,link:o})),e},[])}((await Promise.all(e.map(async e=>{let n=t.routes[e.route.id];if(n){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}(n,r);return e.links?e.links():[]}return[]}))).flat(1).filter(Te).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}(e,t,r).then(e=>{n||a(e)}),()=>{n=!0}},[e,t,r]),n}function Me({page:e,matches:t,...r}){let n=J(),{manifest:a,routeModules:i}=Re(),{basename:l}=Pe(),{loaderData:c,matches:s}=Ae(),u=o.useMemo(()=>Oe(e,t,s,a,n,"data"),[e,t,s,a,n]),p=o.useMemo(()=>Oe(e,t,s,a,n,"assets"),[e,t,s,a,n]),f=o.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let r=new Set,o=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];t&&t.hasLoader&&(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&i[e.route.id]?.shouldRevalidate||t.hasClientLoader?o=!0:r.add(e.route.id))}),0===r.size)return[];let s=function(e,t,r){let n="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===n.pathname?n.pathname=`_root.${r}`:t&&"/"===S(n.pathname,t)?n.pathname=`${t.replace(/\/$/,"")}/_root.${r}`:n.pathname=`${n.pathname.replace(/\/$/,"")}.${r}`,n}(e,l,"data");return o&&r.size>0&&s.searchParams.set("_routes",t.filter(e=>r.has(e.route.id)).map(e=>e.route.id).join(",")),[s.pathname+s.search]},[l,c,n,a,u,t,e,i]),d=o.useMemo(()=>xe(p,a),[p,a]),m=De(p);return o.createElement(o.Fragment,null,f.map(e=>o.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...r})),d.map(e=>o.createElement("link",{key:e,rel:"modulepreload",href:e,...r})),m.map(({key:e,link:t})=>o.createElement("link",{key:e,nonce:r.nonce,...t})))}Ce.displayName="FrameworkContext";function Le(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}o.Component;var Ie="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Ie&&(window.__reactRouterVersion="7.11.0")}catch(e){}function _e({basename:e,children:t,unstable_useTransitions:r,window:n}){let a=o.useRef();null==a.current&&(a.current=i({window:n,v5Compat:!0}));let l=a.current,[c,s]=o.useState({action:l.action,location:l.location}),u=o.useCallback(e=>{!1===r?s(e):o.startTransition(()=>s(e))},[r]);return o.useLayoutEffect(()=>l.listen(u),[l,u]),o.createElement(de,{basename:e,children:t,location:c.location,navigationType:c.action,navigator:l,unstable_useTransitions:r})}var Ne=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qe=o.forwardRef(function({onClick:e,discover:t="render",prefetch:r="none",relative:n,reloadDocument:a,replace:i,state:c,target:s,to:u,preventScrollReset:f,viewTransition:d,unstable_defaultShouldRevalidate:m,...y},h){let{basename:g,unstable_useTransitions:b}=o.useContext(W),v="string"==typeof u&&Ne.test(u),E=_(u,g),w=function(e,{relative:t}={}){l(V(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=o.useContext(W),{hash:a,pathname:i,search:c}=ee(e,{relative:t}),s=i;return"/"!==r&&(s="/"===i?r:C([r,i])),n.createHref({pathname:s,search:c,hash:a})}(u=E.to,{relative:n}),[S,T,O]=function(e,t){let r=o.useContext(Ce),[n,a]=o.useState(!1),[i,l]=o.useState(!1),{onFocus:c,onBlur:s,onMouseEnter:u,onMouseLeave:p,onTouchStart:f}=t,d=o.useRef(null);o.useEffect(()=>{if("render"===e&&l(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{l(e.isIntersecting)})},{threshold:.5});return d.current&&e.observe(d.current),()=>{e.disconnect()}}},[e]),o.useEffect(()=>{if(n){let e=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(e)}}},[n]);let m=()=>{a(!0)},y=()=>{a(!1),l(!1)};return r?"intent"!==e?[i,d,{}]:[i,d,{onFocus:je(c,m),onBlur:je(s,y),onMouseEnter:je(u,m),onMouseLeave:je(p,y),onTouchStart:je(f,m)}]:[!1,d,{}]}(r,y),x=function(e,{target:t,replace:r,state:n,preventScrollReset:a,relative:i,viewTransition:l,unstable_defaultShouldRevalidate:c,unstable_useTransitions:s}={}){let u=Y(),f=J(),d=ee(e,{relative:i});return o.useCallback(m=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(m,t)){m.preventDefault();let t=void 0!==r?r:p(f)===p(d),y=()=>u(e,{replace:t,state:n,preventScrollReset:a,relative:i,viewTransition:l,unstable_defaultShouldRevalidate:c});s?o.startTransition(()=>y()):y()}},[f,u,d,r,n,t,e,a,i,l,c,s])}(u,{replace:i,state:c,target:s,preventScrollReset:f,relative:n,viewTransition:d,unstable_defaultShouldRevalidate:m,unstable_useTransitions:b}),P=o.createElement("a",{...y,...O,href:E.absoluteURL||w,onClick:E.isExternal||a?e:function(t){e&&e(t),t.defaultPrevented||x(t)},ref:Le(h,T),target:s,"data-discover":v||"render"!==t?void 0:"true"});return S&&!v?o.createElement(o.Fragment,null,P,o.createElement(ke,{page:w})):P});function Ue(e){let t=o.useContext(U);return l(t,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}qe.displayName="Link",o.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:r="",end:n=!1,style:a,to:i,viewTransition:c,children:s,...u},p){let f=ee(i,{relative:u.relative}),d=J(),m=o.useContext(F),{navigator:y,basename:h}=o.useContext(W),g=null!=m&&function(e,{relative:t}={}){let r=o.useContext(H);l(null!=r,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=Ue("useViewTransitionState"),a=ee(e,{relative:t});if(!r.isTransitioning)return!1;let i=S(r.currentLocation.pathname,n)||r.currentLocation.pathname,c=S(r.nextLocation.pathname,n)||r.nextLocation.pathname;return null!=E(a.pathname,c)||null!=E(a.pathname,i)}(f)&&!0===c,b=y.encodeLocation?y.encodeLocation(f).pathname:f.pathname,v=d.pathname,w=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;t||(v=v.toLowerCase(),w=w?w.toLowerCase():null,b=b.toLowerCase()),w&&h&&(w=S(w,h)||w);const T="/"!==b&&b.endsWith("/")?b.length-1:b.length;let O,x=v===b||!n&&v.startsWith(b)&&"/"===v.charAt(T),P=null!=w&&(w===b||!n&&w.startsWith(b)&&"/"===w.charAt(b.length)),A={isActive:x,isPending:P,isTransitioning:g},C=x?e:void 0;O="function"==typeof r?r(A):[r,x?"active":null,P?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let R="function"==typeof a?a(A):a;return o.createElement(qe,{...u,"aria-current":C,className:O,ref:p,style:R,to:i,viewTransition:c},"function"==typeof s?s(A):s)}).displayName="NavLink",o.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:a,state:i,method:c=he,action:s,onSubmit:u,relative:f,preventScrollReset:d,viewTransition:m,unstable_defaultShouldRevalidate:y,...h},g)=>{let{unstable_useTransitions:b}=o.useContext(W),v=function(){let{router:e}=Ue("useSubmit"),{basename:t}=o.useContext(W),r=se("useRouteId"),n=e.fetch,a=e.navigate;return o.useCallback(async(e,o={})=>{let{action:i,method:l,encType:c,formData:s,body:u}=function(e,t){let r,n,o,a,i;if(be(l=e)&&"form"===l.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?S(i,t):null,r=e.getAttribute("method")||he,o=we(e.getAttribute("enctype"))||ge,a=new FormData(e)}else if(function(e){return be(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return be(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||i.getAttribute("action");if(n=l?S(l,t):null,r=e.getAttribute("formmethod")||i.getAttribute("method")||he,o=we(e.getAttribute("formenctype"))||we(i.getAttribute("enctype"))||ge,a=new FormData(i,e),!function(){if(null===ve)try{new FormData(document.createElement("form"),0),ve=!1}catch(e){ve=!0}return ve}()){let{name:t,type:r,value:n}=e;if("image"===r){let e=t?`${t}.`:"";a.append(`${e}x`,"0"),a.append(`${e}y`,"0")}else t&&a.append(t,n)}}else{if(be(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=he,n=null,o=ge,i=e}var l;return a&&"text/plain"===o&&(i=a,a=void 0),{action:n,method:r.toLowerCase(),encType:o,formData:a,body:i}}(e,t);if(!1===o.navigate){let e=o.fetcherKey||`__${String(++Fe)}__`;await n(e,r,o.action||i,{unstable_defaultShouldRevalidate:o.unstable_defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:s,body:u,formMethod:o.method||l,formEncType:o.encType||c,flushSync:o.flushSync})}else await a(o.action||i,{unstable_defaultShouldRevalidate:o.unstable_defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:s,body:u,formMethod:o.method||l,formEncType:o.encType||c,replace:o.replace,state:o.state,fromRouteId:r,flushSync:o.flushSync,viewTransition:o.viewTransition})},[n,a,t,r])}(),E=function(e,{relative:t}={}){let{basename:r}=o.useContext(W),n=o.useContext(X);l(n,"useFormAction must be used inside a RouteContext");let[a]=n.matches.slice(-1),i={...ee(e||".",{relative:t})},c=J();if(null==e){i.search=c.search;let e=new URLSearchParams(i.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let r=e.toString();i.search=r?`?${r}`:""}}return e&&"."!==e||!a.route.index||(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),"/"!==r&&(i.pathname="/"===i.pathname?r:C([r,i.pathname])),p(i)}(s,{relative:f}),w="get"===c.toLowerCase()?"get":"post",T="string"==typeof s&&Ne.test(s);return o.createElement("form",{ref:g,method:w,action:E,onSubmit:n?u:e=>{if(u&&u(e),e.defaultPrevented)return;e.preventDefault();let n=e.nativeEvent.submitter,l=n?.getAttribute("formmethod")||c,s=()=>v(n||e.currentTarget,{fetcherKey:t,method:l,navigate:r,replace:a,state:i,relative:f,preventScrollReset:d,viewTransition:m,unstable_defaultShouldRevalidate:y});b&&!1!==r?o.startTransition(()=>s()):s()},...h,"data-discover":T||"render"!==e?void 0:"true"})}).displayName="Form";var Fe=0},5731(e){"use strict";e.exports=SyntaxError},5810(e,t,r){"use strict";var n=r(6623),o=r(6193),a=r(1830);e.exports={formats:a,parse:o,stringify:n}},5838(e,t,r){"use strict";r.d(t,{Kv:()=>y,Nt:()=>g});var n=r(5810);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=function(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};window.Ajax&&window.Ajax.activeRequestCount++;var r=document.getElementById("forgery_protection_token");return t=i(i({credentials:"same-origin"},t),{},{headers:i({"X-Forgery-Protection-Token":r?r.content:null,"X-Requested-With":"XMLHttpRequest"},t.headers)}),fetch(e,t).then(function(e){return e.json().then(function(t){return t.response=e,t})}).finally(function(){window.Ajax&&window.Ajax.activeRequestCount--})};const s={get:function(e){return c(function(e,t){return(t=(0,n.stringify)(t))&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{method:"GET"})},post:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c(e,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(t)})}};var u=r(2280),p=r(9067),f=r.n(p),d=(0,u.createContext)(),m=function(e){var t=e.children,r=e.value,n=void 0===r?s:r;return(0,u.createElement)(d.Provider,{value:n},t)};m.propTypes={children:f().node.isRequired,value:f().object};const y=m;function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h.apply(null,arguments)}const g=function(e){var t=function(t){return(0,u.createElement)(d.Consumer,null,function(r){return(0,u.createElement)(e,h({api:r},t))})};return t.displayName="withApi(".concat(e.displayName||e.name,")"),t.WrappedComponent=e,t}},5865(e){"use strict";e.exports=Math.pow},6040(e){"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},6095(e){"use strict";e.exports=Function.prototype.apply},6193(e,t,r){"use strict";var n=r(1539),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},l=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},c=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},s=function(e,t,r,a){if(e){var i=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&o.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var n=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),i=a?r.slice(0,a.index):r,l=[];if(i){if(!t.plainObjects&&o.call(Object.prototype,i)&&!t.allowPrototypes)return;l.push(i)}for(var c=0;null!==(a=n.exec(r))&&c<t.depth;){c+=1;var s=a[1].slice(1,-1);if(!t.plainObjects&&o.call(Object.prototype,s)&&!t.allowPrototypes)return;l.push(a[1])}if(a){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");l.push("["+r.slice(a.index)+"]")}return l}(e,r);if(i)return function(e,t,r,o){var a=0;if(e.length>0&&"[]"===e[e.length-1]){var i=e.slice(0,-1).join("");a=Array.isArray(t)&&t[i]?t[i].length:0}for(var l=o?t:c(t,r,a),s=e.length-1;s>=0;--s){var u,p=e[s];if("[]"===p&&r.parseArrays)u=n.isOverflow(l)?l:r.allowEmptyArrays&&(""===l||r.strictNullHandling&&null===l)?[]:n.combine([],l,r.arrayLimit,r.plainObjects);else{u=r.plainObjects?{__proto__:null}:{};var f="["===p.charAt(0)&&"]"===p.charAt(p.length-1)?p.slice(1,-1):p,d=r.decodeDotInKeys?f.replace(/%2E/g,"."):f,m=parseInt(d,10);r.parseArrays||""!==d?!isNaN(m)&&p!==d&&String(m)===d&&m>=0&&r.parseArrays&&m<=r.arrayLimit?(u=[])[m]=l:"__proto__"!==d&&(u[d]=l):u={0:l}}l=u}return l}(i,t,r,a)}};e.exports=function(e,t){var r=function(e){if(!e)return i;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?i.charset:e.charset,r=void 0===e.duplicates?i.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||i.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:i.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:i.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:i.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var u="string"==typeof e?function(e,t){var r={__proto__:null},s=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;s=s.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=t.parameterLimit===1/0?void 0:t.parameterLimit,p=s.split(t.delimiter,t.throwOnLimitExceeded?u+1:u);if(t.throwOnLimitExceeded&&p.length>u)throw new RangeError("Parameter limit exceeded. Only "+u+" parameter"+(1===u?"":"s")+" allowed.");var f,d=-1,m=t.charset;if(t.charsetSentinel)for(f=0;f<p.length;++f)0===p[f].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[f]?m="utf-8":"utf8=%26%2310003%3B"===p[f]&&(m="iso-8859-1"),d=f,f=p.length);for(f=0;f<p.length;++f)if(f!==d){var y,h,g=p[f],b=g.indexOf("]="),v=-1===b?g.indexOf("="):b+1;if(-1===v?(y=t.decoder(g,i.decoder,m,"key"),h=t.strictNullHandling?null:""):null!==(y=t.decoder(g.slice(0,v),i.decoder,m,"key"))&&(h=n.maybeMap(c(g.slice(v+1),t,a(r[y])?r[y].length:0),function(e){return t.decoder(e,i.decoder,m,"value")})),h&&t.interpretNumericEntities&&"iso-8859-1"===m&&(h=l(String(h))),g.indexOf("[]=")>-1&&(h=a(h)?[h]:h),null!==y){var E=o.call(r,y);E&&"combine"===t.duplicates?r[y]=n.combine(r[y],h,t.arrayLimit,t.plainObjects):E&&"last"!==t.duplicates||(r[y]=h)}}return r}(e,r):e,p=r.plainObjects?{__proto__:null}:{},f=Object.keys(u),d=0;d<f.length;++d){var m=f[d],y=s(m,u[m],r,"string"==typeof e);p=n.merge(p,y,r)}return!0===r.allowSparse?p:n.compact(p)}},6214(e,t,r){"use strict";var n=r(2280),o=r(9067),a=r.n(o),i=r(5838),l=r(4502),c=r(1912),s=["config","action","api","statusMessages","columns","defaultPageSize","defaultSortColumn","defaultSortDirection","listProps","paginationProps"];function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(null,arguments)}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function d(e,t,r){return t=y(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,m()?Reflect.construct(t,r||[],y(e).constructor):t.apply(e,r))}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(m=function(){return!!e})()}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function g(e,t,r){return(t=b(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}var v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return g(e=d(this,t,[].concat(o)),"state",{pageSize:e.props.defaultPageSize,pageNumber:1,totalPages:0,sortColumn:e.props.defaultSortColumn,sortDirection:e.props.defaultSortDirection,data:[]}),g(e,"fetchItems",function(){var t=e.props,r=t.config,n=t.action,o=t.api,a=t.statusMessages,i=e.state,l=i.pageSize,c=i.pageNumber,s=i.sortColumn,u=i.sortDirection,p={pageSize:l,pageNumber:c};s&&(p.sortColumn=s,p.sortDirection=u),o.get("".concat(r.baseUrl).concat(n),p).then(function(t){var r=t.status,n=t.data,o=t.totalItems,i=t.errors;"error"===r?(i.forEach(function(e){return a.add({intent:"danger",message:e})}),e.setState({pageNumber:1,totalPages:0})):e.setState({data:n,totalPages:Math.ceil(o/l)})})}),g(e,"handleSelectPage",function(t){var r=e.props.paginationProps.onSelect;"function"==typeof r&&!1===r(t)||e.setState({pageNumber:t},function(){e.fetchItems()})}),g(e,"handleSortChange",function(t){var r=e.props.listProps.onSortChange;"function"==typeof r&&!1===r(t)||e.setState(t,function(){return e.fetchItems()})}),g(e,"renderPagination",function(){var t=e.props.paginationProps,r=e.state,o=r.totalPages,a=r.pageNumber;return o<2?null:(0,n.createElement)(n.Pagination,p({},t,{total:o,current:a,onSelect:e.handleSelectPage}))}),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(t,e),r=t,o=[{key:"componentDidMount",value:function(){this.fetchItems()}},{key:"render",value:function(){var e=this.props,t=(e.config,e.action,e.api,e.statusMessages,e.columns),r=(e.defaultPageSize,e.defaultSortColumn,e.defaultSortDirection,e.listProps),o=(e.paginationProps,function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,s)),a=this.state,i=a.data,l=a.sortColumn,c=a.sortDirection;return(0,n.createElement)("div",o,(0,n.createElement)(n.List,p({},r,{columns:t,sortColumn:l,sortDirection:c,onSortChange:this.handleSortChange,data:i})),this.renderPagination())}}],o&&f(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o}(n.Component);g(v,"propTypes",{config:a().shape({baseUrl:a().string.isRequired}).isRequired,api:a().shape({get:a().func.isRequired}).isRequired,statusMessages:a().shape({add:a().func.isRequired}).isRequired,action:a().string.isRequired,columns:a().arrayOf(a().shape({key:a().string.isRequired,title:a().node,render:a().func,sortable:a().bool})).isRequired,defaultPageSize:a().number,defaultSortColumn:a().string,defaultSortDirection:a().oneOf(["ASC","DESC"]),listProps:a().shape(),paginationProps:a().shape()}),g(v,"defaultProps",{listProps:{},paginationProps:{},defaultPageSize:25,defaultSortColumn:null,defaultSortDirection:"ASC"}),(0,c.xZ)((0,i.Nt)((0,l.N)(v)))},6348(e,t,r){"use strict";var n=r(528),o=r(4607),a=r(8660),i=r(7004),l=r(3468),c=n("%WeakMap%",!0),s=o("WeakMap.prototype.get",!0),u=o("WeakMap.prototype.set",!0),p=o("WeakMap.prototype.has",!0),f=o("WeakMap.prototype.delete",!0);e.exports=c?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new l("Side channel does not contain "+a(e))},delete:function(r){if(c&&r&&("object"==typeof r||"function"==typeof r)){if(e)return f(e,r)}else if(i&&t)return t.delete(r);return!1},get:function(r){return c&&r&&("object"==typeof r||"function"==typeof r)&&e?s(e,r):t&&t.get(r)},has:function(r){return c&&r&&("object"==typeof r||"function"==typeof r)&&e?p(e,r):!!t&&t.has(r)},set:function(r,n){c&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new c),u(e,r,n)):i&&(t||(t=i()),t.set(r,n))}};return r}:i},6369(e,t,r){"use strict";var n=r(7859),o=r(7345),a=r(6423);e.exports=n?function(e){return n(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return o(e)}:a?function(e){return a(e)}:null},6423(e,t,r){"use strict";var n,o=r(9903),a=r(9336);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var i=!!n&&a&&a(Object.prototype,"__proto__"),l=Object,c=l.getPrototypeOf;e.exports=i&&"function"==typeof i.get?o([i.get]):"function"==typeof c&&function(e){return c(null==e?e:l(e))}},6623(e,t,r){"use strict";var n=r(7575),o=r(1539),a=r(1830),i=Object.prototype.hasOwnProperty,l={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,s=Array.prototype.push,u=function(e,t){s.apply(e,c(t)?t:[t])},p=Date.prototype.toISOString,f=a.default,d={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,filter:void 0,format:f,formatter:a.formatters[f],indices:!1,serializeDate:function(e){return p.call(e)},skipNulls:!1,strictNullHandling:!1},m={},y=function e(t,r,a,i,l,s,p,f,y,h,g,b,v,E,w,S,T,O){for(var x,P=t,A=O,C=0,R=!1;void 0!==(A=A.get(m))&&!R;){var j=A.get(t);if(C+=1,void 0!==j){if(j===C)throw new RangeError("Cyclic object value");R=!0}void 0===A.get(m)&&(C=0)}if("function"==typeof h?P=h(r,P):P instanceof Date?P=v(P):"comma"===a&&c(P)&&(P=o.maybeMap(P,function(e){return e instanceof Date?v(e):e})),null===P){if(s)return y&&!S?y(r,d.encoder,T,"key",E):r;P=""}if("string"==typeof(x=P)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||o.isBuffer(P))return y?[w(S?r:y(r,d.encoder,T,"key",E))+"="+w(y(P,d.encoder,T,"value",E))]:[w(r)+"="+w(String(P))];var k,D=[];if(void 0===P)return D;if("comma"===a&&c(P))S&&y&&(P=o.maybeMap(P,y)),k=[{value:P.length>0?P.join(",")||null:void 0}];else if(c(h))k=h;else{var M=Object.keys(P);k=g?M.sort(g):M}var L=f?String(r).replace(/\./g,"%2E"):String(r),I=i&&c(P)&&1===P.length?L+"[]":L;if(l&&c(P)&&0===P.length)return I+"[]";for(var _=0;_<k.length;++_){var N=k[_],q="object"==typeof N&&N&&void 0!==N.value?N.value:P[N];if(!p||null!==q){var U=b&&f?String(N).replace(/\./g,"%2E"):String(N),F=c(P)?"function"==typeof a?a(I,U):I:I+(b?"."+U:"["+U+"]");O.set(t,C);var B=n();B.set(m,O),u(D,e(q,F,a,i,l,s,p,f,"comma"===a&&S&&c(P)?null:y,h,g,b,v,E,w,S,T,B))}}return D};e.exports=function(e,t){var r,o=e,s=function(e){if(!e)return d;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=a.default;if(void 0!==e.format){if(!i.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=a.formatters[r],s=d.filter;if(("function"==typeof e.filter||c(e.filter))&&(s=e.filter),n=e.arrayFormat in l?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":d.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||d.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:d.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:d.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:s,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof s.filter?o=(0,s.filter)("",o):c(s.filter)&&(r=s.filter);var p=[];if("object"!=typeof o||null===o)return"";var f=l[s.arrayFormat],m="comma"===f&&s.commaRoundTrip;r||(r=Object.keys(o)),s.sort&&r.sort(s.sort);for(var h=n(),g=0;g<r.length;++g){var b=r[g],v=o[b];s.skipNulls&&null===v||u(p,y(v,b,f,m,s.allowEmptyArrays,s.strictNullHandling,s.skipNulls,s.encodeDotInKeys,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,h))}var E=p.join(s.delimiter),w=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),E.length>0?w+E:""}},6848(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6882(e,t,r){"use strict";var n=r(2422);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},6947(e,t,r){"use strict";r.d(t,{A:()=>E});var n=r(2280),o=r(2517),a=r(3018),i=r(7033);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var s=[10,25,100,"all"],u=function(e){var t=e.baseUrl,r=e.showMessage,a=e.onInstall,c=(0,o.useTranslate)("ApplicationsList"),u=l((0,n.useState)(null),2),p=u[0],f=u[1],d=l((0,n.useState)(1),2),m=d[0],y=d[1],h=l((0,n.useState)(s[0]),2),g=h[0],b=h[1],v=l((0,n.useState)(""),2),E=v[0],w=v[1],S=l((0,n.useState)(""!==E),2),T=S[0],O=S[1],x=l((0,n.useState)(!1),2),P=x[0],A=x[1];if((0,n.useEffect)(function(){A(!0),i.Jt("".concat(t,"/api/domain-list"),{page:m,itemsPerPage:g,filter:E}).then(function(e){var t=e.data;f(t),O(""!==E)}).catch(function(e){var t=e.message;r(t,!0)}).finally(function(){A(!1)})},[m,g,E]),!p)return(0,n.createElement)(o.ContentLoader,null);var C=(0,n.createElement)(o.Button,{intent:"primary",onClick:a,"data-id":"installDrawer"},(0,n.createElement)(o.Translate,{namespace:"ApplicationsList",content:"installButton"})),R=(0,n.createElement)(o.Button,{icon:"eye",onClick:function(){i.bE("".concat(t,"/api/scan")).then(function(e){"Jsw.Task.ProgressBar.Item"===e.componentType&&window.Jsw.getComponent("asyncProgressBarWrapper").progressDialog(e)}).catch(function(e){var t=e.message;r(t,!0)})},tooltip:(0,n.createElement)(o.Translate,{namespace:"ApplicationsList",content:"scanButtonTooltip"}),"data-id":"scanButton"},(0,n.createElement)(o.Translate,{namespace:"ApplicationsList",content:"scanButton"})),j="all"===g?1:Math.ceil(p.total/g);return(0,n.createElement)(o.List,{columns:[{key:"name",title:"Domain",render:function(e){var t=e.domainId,r=e.name;return(0,n.createElement)(o.Link,{href:"domain?site_id=".concat(t)},(0,n.createElement)("b",null,r))}}],toolbar:(0,n.createElement)(o.Toolbar,null,(0,n.createElement)(o.ToolbarGroup,{title:"Install"},C),(0,n.createElement)(o.ToolbarGroup,{title:"Actions"},R),(0,n.createElement)(o.ToolbarExpander,null),(0,n.createElement)(o.ToolbarGroup,{title:"Filters",groupable:!1},(0,n.createElement)(o.SearchBar,{value:E,onSearch:function(e){w(e),y(1)},inputProps:{placeholder:c("searchPlaceholder")}}))),data:p.data,totalRows:p.total,loading:P,pagination:(0,n.createElement)(o.Pagination,{current:m,total:j,itemsPerPage:g,onSelect:y,itemsPerPageOptions:s,onItemsPerPageChange:function(e){b(e),y(1)}}),filtered:T,emptyView:T?void 0:(0,n.createElement)(o.ListEmptyView,{title:(0,n.createElement)(o.Translate,{namespace:"ApplicationsList",content:"emptyListTitle"}),description:(0,n.createElement)("span",{dangerouslySetInnerHTML:{__html:c("emptyListDescription")}}),actions:[C,R]})})};u.propTypes={baseUrl:o.PropTypes.string.isRequired,showMessage:o.PropTypes.func.isRequired,onInstall:o.PropTypes.func.isRequired};const p=u;function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function m(e,t,r){return t=h(t),function(e,t){if(t&&("object"==f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,y()?Reflect.construct(t,r||[],h(e).constructor):t.apply(e,r))}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(y=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function b(e){var t=function(e){if("object"!=f(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:t+""}var v=function(e){function t(e){var r,o,a,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=r=m(this,t,[e]),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.toasterRef.current.add({intent:t?"danger":"success",message:e})},(a=b(a="showMessage"))in o?Object.defineProperty(o,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[a]=i;var l=r.getInstallId();return r.state={installId:l,installOpen:!!l},r.toasterRef=(0,n.createRef)(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(t,e),r=t,(i=[{key:"getInstallId",value:function(){var e=this.props.location;return new URLSearchParams(e.search).get("install")}},{key:"render",value:function(){var e=this,t=this.props.baseUrl,r=this.state,i=r.installOpen,l=r.installId;return(0,o.createElement)(n.Fragment,null,(0,o.createElement)(a.A,{baseUrl:t,isOpen:i,onClose:function(){return e.setState({installOpen:!1,installId:null})},showMessage:this.showMessage,install:l}),(0,o.createElement)(o.Toaster,{ref:this.toasterRef}),(0,o.createElement)(p,{baseUrl:t,showMessage:this.showMessage,onInstall:function(){return e.setState({installOpen:!0})}}))}}])&&d(r.prototype,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,i}(n.Component);v.propTypes={baseUrl:o.PropTypes.string.isRequired,location:o.PropTypes.object.isRequired};const E=(0,o.withRouter)(v)},6973(){},6999(e,t,r){"use strict";var n=r(6848);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},7004(e,t,r){"use strict";var n=r(528),o=r(4607),a=r(8660),i=r(3468),l=n("%Map%",!0),c=o("Map.prototype.get",!0),s=o("Map.prototype.set",!0),u=o("Map.prototype.has",!0),p=o("Map.prototype.delete",!0),f=o("Map.prototype.size",!0);e.exports=!!l&&function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+a(e))},delete:function(t){if(e){var r=p(e,t);return 0===f(e)&&(e=void 0),r}return!1},get:function(t){if(e)return c(e,t)},has:function(t){return!!e&&u(e,t)},set:function(t,r){e||(e=new l),s(e,t,r)}};return t}},7021(e){var t;globalThis,t=()=>(()=>{"use strict";var e={949:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CronParser=void 0;var n=r(515),o=function(){function e(e,t,r){void 0===t&&(t=!0),void 0===r&&(r=!1),this.expression=e,this.dayOfWeekStartIndexZero=t,this.monthStartIndexZero=r}return e.prototype.parse=function(){var e,t,r=null!==(e=this.expression)&&void 0!==e?e:"";if("@reboot"===r)return["@reboot","","","","","",""];if(r.startsWith("@")){var n=this.parseSpecial(this.expression);t=this.extractParts(n)}else t=this.extractParts(this.expression);return this.normalize(t),this.validate(t),t},e.prototype.parseSpecial=function(e){var t={"@yearly":"0 0 1 1 *","@annually":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@midnight":"0 0 * * *","@hourly":"0 * * * *","@reboot":"@reboot"}[e];if(!t)throw new Error("Unknown special expression.");return t},e.prototype.extractParts=function(e){if(!this.expression)throw new Error("cron expression is empty");for(var t=e.trim().split(/[ ]+/),r=0;r<t.length;r++)if(t[r].includes(",")){var n=t[r].split(",").map(function(e){return e.trim()}).filter(function(e){return""!==e}).map(function(e){return isNaN(Number(e))?e:Number(e)}).filter(function(e){return null!==e&&""!==e});0===n.length&&n.push("*"),n.sort(function(e,t){return null!==e&&null!==t?e-t:0}),t[r]=n.map(function(e){return null!==e?e.toString():""}).join(",")}if(t.length<5)throw new Error("Expression has only ".concat(t.length," part").concat(1==t.length?"":"s",". At least 5 parts are required."));if(5==t.length)t.unshift(""),t.push("");else if(6==t.length)/\d{4}$/.test(t[5])||"?"==t[4]||"?"==t[2]?t.unshift(""):t.push("");else if(t.length>7)throw new Error("Expression has ".concat(t.length," parts; too many!"));return t},e.prototype.normalize=function(e){var t=this;if(e[3]=e[3].replace("?","*"),e[5]=e[5].replace("?","*"),e[2]=e[2].replace("?","*"),0==e[0].indexOf("0/")&&(e[0]=e[0].replace("0/","*/")),0==e[1].indexOf("0/")&&(e[1]=e[1].replace("0/","*/")),0==e[2].indexOf("0/")&&(e[2]=e[2].replace("0/","*/")),0==e[3].indexOf("1/")&&(e[3]=e[3].replace("1/","*/")),0==e[4].indexOf("1/")&&(e[4]=e[4].replace("1/","*/")),0==e[6].indexOf("1/")&&(e[6]=e[6].replace("1/","*/")),e[5]=e[5].replace(/(^\d)|([^#/\s]\d)/g,function(e){var r=e.replace(/\D/,""),n=r;return t.dayOfWeekStartIndexZero?"7"==r&&(n="0"):n=(parseInt(r)-1).toString(),e.replace(r,n)}),"L"==e[5]&&(e[5]="6"),"?"==e[3]&&(e[3]="*"),e[3].indexOf("W")>-1&&(e[3].indexOf(",")>-1||e[3].indexOf("-")>-1))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var r={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var n in r)e[5]=e[5].replace(new RegExp(n,"gi"),r[n].toString());e[4]=e[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,function(e){var r=e.replace(/\D/,""),n=r;return t.monthStartIndexZero&&(n=(parseInt(r)+1).toString()),e.replace(r,n)});var o={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var a in o)e[4]=e[4].replace(new RegExp(a,"gi"),o[a].toString());"0"==e[0]&&(e[0]=""),/\*|\-|\,|\//.test(e[2])||!/\*|\//.test(e[1])&&!/\*|\//.test(e[0])||(e[2]+="-".concat(e[2]));for(var i=0;i<e.length;i++)if(-1!=e[i].indexOf(",")&&(e[i]=e[i].split(",").filter(function(e){return""!==e}).join(",")||"*"),"*/1"==e[i]&&(e[i]="*"),e[i].indexOf("/")>-1&&!/^\*|\-|\,/.test(e[i])){var l=null;switch(i){case 4:l="12";break;case 5:l="6";break;case 6:l="9999";break;default:l=null}if(null!==l){var c=e[i].split("/");e[i]="".concat(c[0],"-").concat(l,"/").concat(c[1])}}},e.prototype.validate=function(e){var t="0-9,\\-*/";this.validateOnlyExpectedCharactersFound(e[0],t),this.validateOnlyExpectedCharactersFound(e[1],t),this.validateOnlyExpectedCharactersFound(e[2],t),this.validateOnlyExpectedCharactersFound(e[3],"0-9,\\-*/LW"),this.validateOnlyExpectedCharactersFound(e[4],t),this.validateOnlyExpectedCharactersFound(e[5],"0-9,\\-*/L#"),this.validateOnlyExpectedCharactersFound(e[6],t),this.validateAnyRanges(e)},e.prototype.validateAnyRanges=function(e){n.default.secondRange(e[0]),n.default.minuteRange(e[1]),n.default.hourRange(e[2]),n.default.dayOfMonthRange(e[3]),n.default.monthRange(e[4],this.monthStartIndexZero),n.default.dayOfWeekRange(e[5],this.dayOfWeekStartIndexZero)},e.prototype.validateOnlyExpectedCharactersFound=function(e,t){var r=e.match(new RegExp("[^".concat(t,"]+"),"gi"));if(r&&r.length)throw new Error("Expression contains invalid values: '".concat(r.toString(),"'"))},e}();t.CronParser=o},333:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExpressionDescriptor=void 0;var n=r(823),o=r(949),a=function(){function e(t,r){if(this.expression=t,this.options=r,this.expressionParts=new Array(5),!this.options.locale&&e.defaultLocale&&(this.options.locale=e.defaultLocale),!e.locales[this.options.locale]){var n=Object.keys(e.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(n,"'.")),this.options.locale=n}this.i18n=e.locales[this.options.locale],void 0===r.use24HourTimeFormat&&(r.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return e.toString=function(t,r){var n=void 0===r?{}:r,o=n.throwExceptionOnParseError,a=void 0===o||o,i=n.verbose,l=void 0!==i&&i,c=n.dayOfWeekStartIndexZero,s=void 0===c||c,u=n.monthStartIndexZero,p=void 0!==u&&u,f=n.use24HourTimeFormat,d=n.locale,m=void 0===d?null:d,y=n.logicalAndDayFields,h={throwExceptionOnParseError:a,verbose:l,dayOfWeekStartIndexZero:s,monthStartIndexZero:p,use24HourTimeFormat:f,locale:m,logicalAndDayFields:void 0!==y&&y};return h.tzOffset&&console.warn("'tzOffset' option has been deprecated and is no longer supported."),new e(t,h).getFullDescription()},e.initialize=function(t,r){void 0===r&&(r="en"),e.specialCharacters=["/","-",",","*"],e.defaultLocale=r,t.load(e.locales)},e.prototype.getFullDescription=function(){var e,t,r="";try{var n=new o.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);if(this.expressionParts=n.parse(),"@reboot"===this.expressionParts[0])return(null===(t=(e=this.i18n).atReboot)||void 0===t?void 0:t.call(e))||"Run once, at startup";var a=this.getTimeOfDayDescription(),i=this.getDayOfMonthDescription(),l=this.getMonthDescription();r+=a+i+this.getDayOfWeekDescription()+l+this.getYearDescription(),r=(r=this.transformVerbosity(r,!!this.options.verbose)).charAt(0).toLocaleUpperCase()+r.substr(1)}catch(e){if(this.options.throwExceptionOnParseError)throw"".concat(e);r=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD()}return r},e.prototype.getTimeOfDayDescription=function(){var t=this.expressionParts[0],r=this.expressionParts[1],o=this.expressionParts[2],a="";if(n.StringUtilities.containsAny(r,e.specialCharacters)||n.StringUtilities.containsAny(o,e.specialCharacters)||n.StringUtilities.containsAny(t,e.specialCharacters))if(t||!(r.indexOf("-")>-1)||r.indexOf(",")>-1||r.indexOf("/")>-1||n.StringUtilities.containsAny(o,e.specialCharacters))if(!t&&o.indexOf(",")>-1&&-1==o.indexOf("-")&&-1==o.indexOf("/")&&!n.StringUtilities.containsAny(r,e.specialCharacters)){var i=o.split(",");a+=this.i18n.at();for(var l=0;l<i.length;l++)a+=" ",a+=this.formatTime(i[l],r,""),l<i.length-2&&(a+=","),l==i.length-2&&(a+=this.i18n.spaceAnd())}else{var c=this.getSecondsDescription(),s=this.getMinutesDescription(),u=this.getHoursDescription();if((a+=c)&&s&&(a+=", "),a+=s,s===u)return a;a&&u&&(a+=", "),a+=u}else{var p=r.split("-");a+=n.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(o,p[0],""),this.formatTime(o,p[1],""))}else a+=this.i18n.atSpace()+this.formatTime(o,r,t);return a},e.prototype.getSecondsDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),function(e){return e},function(t){return n.StringUtilities.format(e.i18n.everyX0Seconds(t),t)},function(t){return e.i18n.secondsX0ThroughX1PastTheMinute()},function(t){return"0"==t?"":parseInt(t)<20?e.i18n.atX0SecondsPastTheMinute(t):e.i18n.atX0SecondsPastTheMinuteGt20()||e.i18n.atX0SecondsPastTheMinute(t)})},e.prototype.getMinutesDescription=function(){var e=this,t=this.expressionParts[0],r=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),function(e){return e},function(t){return n.StringUtilities.format(e.i18n.everyX0Minutes(t),t)},function(t){return e.i18n.minutesX0ThroughX1PastTheHour()},function(n){try{return"0"==n&&-1==r.indexOf("/")&&""==t?e.i18n.everyHour():parseInt(n)<20?e.i18n.atX0MinutesPastTheHour(n):e.i18n.atX0MinutesPastTheHourGt20()||e.i18n.atX0MinutesPastTheHour(n)}catch(t){return e.i18n.atX0MinutesPastTheHour(n)}})},e.prototype.getHoursDescription=function(){var e=this,t=this.expressionParts[2],r=0,o=[];t.split("/")[0].split(",").forEach(function(e){var t=e.split("-");2===t.length&&o.push({value:t[1],index:r+1}),r+=t.length});var a=0;return this.getSegmentDescription(t,this.i18n.everyHour(),function(t){var r=o.find(function(e){return e.value===t&&e.index===a})&&"0"!==e.expressionParts[1];return a++,r?e.formatTime(t,"59",""):e.formatTime(t,"0","")},function(t){return n.StringUtilities.format(e.i18n.everyX0Hours(t),t)},function(t){return e.i18n.betweenX0AndX1()},function(t){return e.i18n.atX0()})},e.prototype.getDayOfWeekDescription=function(){var e=this,t=this.i18n.daysOfTheWeek();return"*"==this.expressionParts[5]?"":this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(r,n){var o=r;r.indexOf("#")>-1?o=r.substring(0,r.indexOf("#")):r.indexOf("L")>-1&&(o=o.replace("L",""));var a=parseInt(o),i=e.i18n.daysOfTheWeekInCase?e.i18n.daysOfTheWeekInCase(n)[a]:t[a];if(r.indexOf("#")>-1){var l=null,c=r.substring(r.indexOf("#")+1),s=r.substring(0,r.indexOf("#"));switch(c){case"1":l=e.i18n.first(s);break;case"2":l=e.i18n.second(s);break;case"3":l=e.i18n.third(s);break;case"4":l=e.i18n.fourth(s);break;case"5":l=e.i18n.fifth(s)}i=l+" "+i}return i},function(t){return 1==parseInt(t)?"":n.StringUtilities.format(e.i18n.commaEveryX0DaysOfTheWeek(t),t)},function(t){var r=t.substring(0,t.indexOf("-"));return"*"!=e.expressionParts[3]?e.i18n.commaAndX0ThroughX1(r):e.i18n.commaX0ThroughX1(r)},function(t){var r=null;if(t.indexOf("#")>-1){var n=t.substring(t.indexOf("#")+1),o=t.substring(0,t.indexOf("#"));r=e.i18n.commaOnThe(n,o).trim()+e.i18n.spaceX0OfTheMonth()}else r=t.indexOf("L")>-1?e.i18n.commaOnTheLastX0OfTheMonth(t.replace("L","")):"*"!=e.expressionParts[3]?e.options.logicalAndDayFields?e.i18n.commaOnlyOnX0(t):e.i18n.commaAndOnX0():e.i18n.commaOnlyOnX0(t);return r})},e.prototype.getMonthDescription=function(){var e=this,t=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],"",function(r,n){return n&&e.i18n.monthsOfTheYearInCase?e.i18n.monthsOfTheYearInCase(n)[parseInt(r)-1]:t[parseInt(r)-1]},function(t){return 1==parseInt(t)?"":n.StringUtilities.format(e.i18n.commaEveryX0Months(t),t)},function(t){return e.i18n.commaMonthX0ThroughMonthX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInMonthX0?e.i18n.commaOnlyInMonthX0():e.i18n.commaOnlyInX0()})},e.prototype.getDayOfMonthDescription=function(){var e=this,t=null,r=this.expressionParts[3];switch(r){case"L":t=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":t=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var o=r.match(/(\d{1,2}W)|(W\d{1,2})/);if(o){var a=parseInt(o[0].replace("W","")),i=1==a?this.i18n.firstWeekday():n.StringUtilities.format(this.i18n.weekdayNearestDayX0(),a.toString());t=n.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),i);break}var l=r.match(/L-(\d{1,2})/);if(l){var c=l[1];t=n.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(c),c);break}if("*"==r&&"*"!=this.expressionParts[5])return"";t=this.getSegmentDescription(r,this.i18n.commaEveryDay(),function(t){return"L"==t?e.i18n.lastDay():e.i18n.dayX0?n.StringUtilities.format(e.i18n.dayX0(),t):t},function(t){return"1"==t?e.i18n.commaEveryDay():e.i18n.commaEveryX0Days(t)},function(t){return e.i18n.commaBetweenDayX0AndX1OfTheMonth(t)},function(t){return e.i18n.commaOnDayX0OfTheMonth(t)})}return t},e.prototype.getYearDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[6],"",function(e){return/^\d+$/.test(e)?new Date(parseInt(e),1).getFullYear().toString():e},function(t){return n.StringUtilities.format(e.i18n.commaEveryX0Years(t),t)},function(t){return e.i18n.commaYearX0ThroughYearX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInYearX0?e.i18n.commaOnlyInYearX0():e.i18n.commaOnlyInX0()})},e.prototype.getSegmentDescription=function(e,t,r,o,a,i){var l=null,c=e.indexOf("/")>-1,s=e.indexOf("-")>-1,u=e.indexOf(",")>-1;if(e)if("*"===e)l=t;else if(c||s||u)if(u){for(var p=e.split(","),f="",d=0;d<p.length;d++)if(d>0&&p.length>2&&(f+=",",d<p.length-1&&(f+=" ")),d>0&&p.length>1&&(d==p.length-1||2==p.length)&&(f+="".concat(this.i18n.spaceAnd()," ")),p[d].indexOf("/")>-1||p[d].indexOf("-")>-1){var m=p[d].indexOf("-")>-1&&-1==p[d].indexOf("/"),y=this.getSegmentDescription(p[d],t,r,o,m?this.i18n.commaX0ThroughX1:a,i);m&&(y=y.replace(", ","")),f+=y}else f+=c?this.getSegmentDescription(p[d],t,r,o,a,i):r(p[d]);l=c?f:n.StringUtilities.format(i(e),f)}else if(c){if(p=e.split("/"),l=n.StringUtilities.format(o(p[1]),p[1]),p[0].indexOf("-")>-1){var h=this.generateRangeSegmentDescription(p[0],a,r);0!=h.indexOf(", ")&&(l+=", "),l+=h}else if(-1==p[0].indexOf("*")){var g=n.StringUtilities.format(i(p[0]),r(p[0]));g=g.replace(", ",""),l+=n.StringUtilities.format(this.i18n.commaStartingX0(),g)}}else s&&(l=this.generateRangeSegmentDescription(e,a,r));else l=n.StringUtilities.format(i(e),r(e));else l="";return l},e.prototype.generateRangeSegmentDescription=function(e,t,r){var o="",a=e.split("-"),i=r(a[0],1),l=r(a[1],2),c=t(e);return o+n.StringUtilities.format(c,i,l)},e.prototype.formatTime=function(e,t,r){var n=parseInt(e)+0,o=parseInt(t)+0;o>=60?(o-=60,n+=1):o<0&&(o+=60,n-=1),n>=24?n-=24:n<0&&(n=24+n);var a="",i=!1;this.options.use24HourTimeFormat||(a=(i=!(!this.i18n.setPeriodBeforeTime||!this.i18n.setPeriodBeforeTime()))?"".concat(this.getPeriod(n)," "):" ".concat(this.getPeriod(n)),n>12&&(n-=12),0===n&&(n=12));var l="";return r&&(l=":".concat(("00"+r).substring(r.length))),"".concat(i?a:"").concat(("00"+n.toString()).substring(n.toString().length),":").concat(("00"+o.toString()).substring(o.toString().length)).concat(l).concat(i?"":a)},e.prototype.transformVerbosity=function(e,t){if(!t&&(e=(e=(e=(e=e.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),"")).replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),"")).replace(new RegExp(this.i18n.commaEveryDay(),"g"),"")).replace(/\, ?$/,""),this.i18n.conciseVerbosityReplacements))for(var r=0,n=Object.entries(this.i18n.conciseVerbosityReplacements());r<n.length;r++){var o=n[r],a=o[0],i=o[1];e=e.replace(new RegExp(a,"g"),i)}return e},e.prototype.getPeriod=function(e){return e>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},e.locales={},e}();t.ExpressionDescriptor=a},747:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.enLocaleLoader=void 0;var n=r(486),o=function(){function e(){}return e.prototype.load=function(e){e.en=new n.en},e}();t.enLocaleLoader=o},486:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.en=void 0;var r=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occurred when generating the expression description. Check the cron expression syntax."},e.prototype.everyMinute=function(){return"every minute"},e.prototype.everyHour=function(){return"every hour"},e.prototype.atSpace=function(){return"At "},e.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},e.prototype.at=function(){return"At"},e.prototype.spaceAnd=function(){return" and"},e.prototype.everySecond=function(){return"every second"},e.prototype.everyX0Seconds=function(){return"every %s seconds"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},e.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"},e.prototype.everyX0Minutes=function(){return"every %s minutes"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},e.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},e.prototype.everyX0Hours=function(){return"every %s hours"},e.prototype.betweenX0AndX1=function(){return"between %s and %s"},e.prototype.atX0=function(){return"at %s"},e.prototype.commaEveryDay=function(){return", every day"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},e.prototype.commaX0ThroughX1=function(){return", %s through %s"},e.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},e.prototype.first=function(){return"first"},e.prototype.second=function(){return"second"},e.prototype.third=function(){return"third"},e.prototype.fourth=function(){return"fourth"},e.prototype.fifth=function(){return"fifth"},e.prototype.commaOnThe=function(){return", on the "},e.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},e.prototype.lastDay=function(){return"the last day"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},e.prototype.commaOnlyOnX0=function(){return", only on %s"},e.prototype.commaAndOnX0=function(){return", and on %s"},e.prototype.commaEveryX0Months=function(){return", every %s months"},e.prototype.commaOnlyInX0=function(){return", only in %s"},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"},e.prototype.firstWeekday=function(){return"first weekday"},e.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},e.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},e.prototype.commaEveryX0Days=function(){return", every %s days"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},e.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},e.prototype.commaEveryHour=function(){return", every hour"},e.prototype.commaEveryX0Years=function(){return", every %s years"},e.prototype.commaStartingX0=function(){return", starting %s"},e.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},e.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},e.prototype.atReboot=function(){return"Run once, at startup"},e}();t.en=r},515:(e,t)=>{function r(e,t){if(!e)throw new Error(t)}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.secondRange=function(e){for(var t=e.split(","),n=0;n<t.length;n++)if(!isNaN(parseInt(t[n],10))){var o=parseInt(t[n],10);r(o>=0&&o<=59,"seconds part must be >= 0 and <= 59")}},e.minuteRange=function(e){for(var t=e.split(","),n=0;n<t.length;n++)if(!isNaN(parseInt(t[n],10))){var o=parseInt(t[n],10);r(o>=0&&o<=59,"minutes part must be >= 0 and <= 59")}},e.hourRange=function(e){for(var t=e.split(","),n=0;n<t.length;n++)if(!isNaN(parseInt(t[n],10))){var o=parseInt(t[n],10);r(o>=0&&o<=23,"hours part must be >= 0 and <= 23")}},e.dayOfMonthRange=function(e){for(var t=e.split(","),n=0;n<t.length;n++)if(!isNaN(parseInt(t[n],10))){var o=parseInt(t[n],10);r(o>=1&&o<=31,"DOM part must be >= 1 and <= 31")}},e.monthRange=function(e,t){for(var n=e.split(","),o=0;o<n.length;o++)if(!isNaN(parseInt(n[o],10))){var a=parseInt(n[o],10);r(a>=1&&a<=12,t?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},e.dayOfWeekRange=function(e,t){for(var n=e.split(","),o=0;o<n.length;o++)if(!isNaN(parseInt(n[o],10))){var a=parseInt(n[o],10);r(a>=0&&a<=6,t?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}},e}();t.default=n},823:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StringUtilities=void 0;var r=function(){function e(){}return e.format=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return e.replace(/%s/g,function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return t.shift()})},e.containsAny=function(e,t){return t.some(function(t){return e.indexOf(t)>-1})},e}();t.StringUtilities=r}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}var n={};return(()=>{var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.toString=void 0;var t=r(333),o=r(747);t.ExpressionDescriptor.initialize(new o.enLocaleLoader),e.default=t.ExpressionDescriptor;var a=t.ExpressionDescriptor.toString;e.toString=a})(),n})(),e.exports=t()},7033(e,t,r){"use strict";r.d(t,{y6:()=>Mt,AI:()=>Lt,Jt:()=>It,bE:()=>_t});var n={};function o(e,t){return function(){return e.apply(t,arguments)}}r.r(n),r.d(n,{hasBrowserEnv:()=>de,hasStandardBrowserEnv:()=>ye,hasStandardBrowserWebWorkerEnv:()=>he,navigator:()=>me,origin:()=>ge});const{toString:a}=Object.prototype,{getPrototypeOf:i}=Object,{iterator:l,toStringTag:c}=Symbol,s=(u=Object.create(null),e=>{const t=a.call(e);return u[t]||(u[t]=t.slice(8,-1).toLowerCase())});var u;const p=e=>(e=e.toLowerCase(),t=>s(t)===e),f=e=>t=>typeof t===e,{isArray:d}=Array,m=f("undefined");function y(e){return null!==e&&!m(e)&&null!==e.constructor&&!m(e.constructor)&&b(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const h=p("ArrayBuffer"),g=f("string"),b=f("function"),v=f("number"),E=e=>null!==e&&"object"==typeof e,w=e=>{if("object"!==s(e))return!1;const t=i(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||c in e||l in e)},S=p("Date"),T=p("File"),O=p("Blob"),x=p("FileList"),P=p("URLSearchParams"),[A,C,R,j]=["ReadableStream","Request","Response","Headers"].map(p);function k(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,o;if("object"!=typeof e&&(e=[e]),d(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{if(y(e))return;const o=r?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let i;for(n=0;n<a;n++)i=o[n],t.call(null,e[i],i,e)}}function D(e,t){if(y(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const M="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:r.g,L=e=>!m(e)&&e!==M,I=(_="undefined"!=typeof Uint8Array&&i(Uint8Array),e=>_&&e instanceof _);var _;const N=p("HTMLFormElement"),q=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),U=p("RegExp"),F=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};k(r,(r,o)=>{let a;!1!==(a=t(r,o,e))&&(n[o]=a||r)}),Object.defineProperties(e,n)},B=p("AsyncFunction"),H=(W="function"==typeof setImmediate,z=b(M.postMessage),W?setImmediate:z?(X=`axios@${Math.random()}`,G=[],M.addEventListener("message",({source:e,data:t})=>{e===M&&t===X&&G.length&&G.shift()()},!1),e=>{G.push(e),M.postMessage(X,"*")}):e=>setTimeout(e));var W,z,X,G;const $="undefined"!=typeof queueMicrotask?queueMicrotask.bind(M):"undefined"!=typeof process&&process.nextTick||H,V={isArray:d,isArrayBuffer:h,isBuffer:y,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||b(e.append)&&("formdata"===(t=s(e))||"object"===t&&b(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer),t},isString:g,isNumber:v,isBoolean:e=>!0===e||!1===e,isObject:E,isPlainObject:w,isEmptyObject:e=>{if(!E(e)||y(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:A,isRequest:C,isResponse:R,isHeaders:j,isUndefined:m,isDate:S,isFile:T,isBlob:O,isRegExp:U,isFunction:b,isStream:e=>E(e)&&b(e.pipe),isURLSearchParams:P,isTypedArray:I,isFileList:x,forEach:k,merge:function e(){const{caseless:t,skipUndefined:r}=L(this)&&this||{},n={},o=(o,a)=>{const i=t&&D(n,a)||a;w(n[i])&&w(o)?n[i]=e(n[i],o):w(o)?n[i]=e({},o):d(o)?n[i]=o.slice():r&&m(o)||(n[i]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&k(arguments[e],o);return n},extend:(e,t,r,{allOwnKeys:n}={})=>(k(t,(t,n)=>{r&&b(t)?e[n]=o(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,a,l;const c={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)l=o[a],n&&!n(l,e,t)||c[l]||(t[l]=e[l],c[l]=!0);e=!1!==r&&i(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:p,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!v(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[l]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:N,hasOwnProperty:q,hasOwnProp:q,reduceDescriptors:F,freezeMethods:e=>{F(e,(t,r)=>{if(b(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];b(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach(e=>{r[e]=!0})};return d(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:D,global:M,isContextDefined:L,isSpecCompliantForm:function(e){return!!(e&&b(e.append)&&"FormData"===e[c]&&e[l])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(E(e)){if(t.indexOf(e)>=0)return;if(y(e))return e;if(!("toJSON"in e)){t[n]=e;const o=d(e)?[]:{};return k(e,(e,t)=>{const a=r(e,n+1);!m(a)&&(o[t]=a)}),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:B,isThenable:e=>e&&(E(e)||b(e))&&b(e.then)&&b(e.catch),setImmediate:H,asap:$,isIterable:e=>null!=e&&b(e[l])};function J(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}V.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:V.toJSONObject(this.config),code:this.code,status:this.status}}});const K=J.prototype,Q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Q[e]={value:e}}),Object.defineProperties(J,Q),Object.defineProperty(K,"isAxiosError",{value:!0}),J.from=(e,t,r,n,o,a)=>{const i=Object.create(K);V.toFlatObject(e,i,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);const l=e&&e.message?e.message:"Error",c=null==t&&e?e.code:t;return J.call(i,l,c,r,n,o),e&&null==i.cause&&Object.defineProperty(i,"cause",{value:e,configurable:!0}),i.name=e&&e.name||"Error",a&&Object.assign(i,a),i};const Y=J;function Z(e){return V.isPlainObject(e)||V.isArray(e)}function ee(e){return V.endsWith(e,"[]")?e.slice(0,-2):e}function te(e,t,r){return e?e.concat(t).map(function(e,t){return e=ee(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}const re=V.toFlatObject(V,{},null,function(e){return/^is[A-Z]/.test(e)}),ne=function(e,t,r){if(!V.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=V.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!V.isUndefined(t[e])})).metaTokens,o=r.visitor||s,a=r.dots,i=r.indexes,l=(r.Blob||"undefined"!=typeof Blob&&Blob)&&V.isSpecCompliantForm(t);if(!V.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(V.isDate(e))return e.toISOString();if(V.isBoolean(e))return e.toString();if(!l&&V.isBlob(e))throw new Y("Blob is not supported. Use a Buffer instead.");return V.isArrayBuffer(e)||V.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function s(e,r,o){let l=e;if(e&&!o&&"object"==typeof e)if(V.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(V.isArray(e)&&function(e){return V.isArray(e)&&!e.some(Z)}(e)||(V.isFileList(e)||V.endsWith(r,"[]"))&&(l=V.toArray(e)))return r=ee(r),l.forEach(function(e,n){!V.isUndefined(e)&&null!==e&&t.append(!0===i?te([r],n,a):null===i?r:r+"[]",c(e))}),!1;return!!Z(e)||(t.append(te(o,r,a),c(e)),!1)}const u=[],p=Object.assign(re,{defaultVisitor:s,convertValue:c,isVisitable:Z});if(!V.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!V.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+n.join("."));u.push(r),V.forEach(r,function(r,a){!0===(!(V.isUndefined(r)||null===r)&&o.call(t,r,V.isString(a)?a.trim():a,n,p))&&e(r,n?n.concat(a):[a])}),u.pop()}}(e),t};function oe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function ae(e,t){this._pairs=[],e&&ne(e,this,t)}const ie=ae.prototype;ie.append=function(e,t){this._pairs.push([e,t])},ie.toString=function(e){const t=e?function(t){return e.call(this,t,oe)}:oe;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};const le=ae;function ce(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function se(e,t,r){if(!t)return e;const n=r&&r.encode||ce;V.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let a;if(a=o?o(t,r):V.isURLSearchParams(t)?t.toString():new le(t,r).toString(n),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}const ue=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){V.forEach(this.handlers,function(t){null!==t&&e(t)})}},pe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fe={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:le,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},de="undefined"!=typeof window&&"undefined"!=typeof document,me="object"==typeof navigator&&navigator||void 0,ye=de&&(!me||["ReactNative","NativeScript","NS"].indexOf(me.product)<0),he="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ge=de&&window.location.href||"http://localhost",be={...n,...fe},ve=function(e){function t(e,r,n,o){let a=e[o++];if("__proto__"===a)return!0;const i=Number.isFinite(+a),l=o>=e.length;return a=!a&&V.isArray(n)?n.length:a,l?(V.hasOwnProp(n,a)?n[a]=[n[a],r]:n[a]=r,!i):(n[a]&&V.isObject(n[a])||(n[a]=[]),t(e,r,n[a],o)&&V.isArray(n[a])&&(n[a]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let a;for(n=0;n<o;n++)a=r[n],t[a]=e[a];return t}(n[a])),!i)}if(V.isFormData(e)&&V.isFunction(e.entries)){const r={};return V.forEachEntry(e,(e,n)=>{t(function(e){return V.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),n,r,0)}),r}return null},Ee={transitional:pe,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=V.isObject(e);if(o&&V.isHTMLForm(e)&&(e=new FormData(e)),V.isFormData(e))return n?JSON.stringify(ve(e)):e;if(V.isArrayBuffer(e)||V.isBuffer(e)||V.isStream(e)||V.isFile(e)||V.isBlob(e)||V.isReadableStream(e))return e;if(V.isArrayBufferView(e))return e.buffer;if(V.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ne(e,new be.classes.URLSearchParams,{visitor:function(e,t,r,n){return be.isNode&&V.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((a=V.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ne(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),function(e){if(V.isString(e))try{return(0,JSON.parse)(e),V.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ee.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(V.isResponse(e)||V.isReadableStream(e))return e;if(e&&V.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e,this.parseReviver)}catch(e){if(r){if("SyntaxError"===e.name)throw Y.from(e,Y.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:be.classes.FormData,Blob:be.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};V.forEach(["delete","get","head","post","put","patch"],e=>{Ee.headers[e]={}});const we=Ee,Se=V.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Te=Symbol("internals");function Oe(e){return e&&String(e).trim().toLowerCase()}function xe(e){return!1===e||null==e?e:V.isArray(e)?e.map(xe):String(e)}function Pe(e,t,r,n,o){return V.isFunction(n)?n.call(this,t,r):(o&&(t=r),V.isString(t)?V.isString(n)?-1!==t.indexOf(n):V.isRegExp(n)?n.test(t):void 0:void 0)}class Ae{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=Oe(t);if(!o)throw new Error("header name must be a non-empty string");const a=V.findKey(n,o);(!a||void 0===n[a]||!0===r||void 0===r&&!1!==n[a])&&(n[a||t]=xe(e))}const a=(e,t)=>V.forEach(e,(e,r)=>o(e,r,t));if(V.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(V.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let r,n,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&Se[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t})(e),t);else if(V.isObject(e)&&V.isIterable(e)){let r,n,o={};for(const t of e){if(!V.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[n=t[0]]=(r=o[n])?V.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}a(o,t)}else null!=e&&o(t,e,r);return this}get(e,t){if(e=Oe(e)){const r=V.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(V.isFunction(t))return t.call(this,e,r);if(V.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Oe(e)){const r=V.findKey(this,e);return!(!r||void 0===this[r]||t&&!Pe(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=Oe(e)){const o=V.findKey(r,e);!o||t&&!Pe(0,r[o],o,t)||(delete r[o],n=!0)}}return V.isArray(e)?e.forEach(o):o(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const o=t[r];e&&!Pe(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return V.forEach(this,(n,o)=>{const a=V.findKey(r,o);if(a)return t[a]=xe(n),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}(o):String(o).trim();i!==o&&delete t[o],t[i]=xe(n),r[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return V.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&V.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){const t=(this[Te]=this[Te]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Oe(e);t[n]||(function(e,t){const r=V.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})})}(r,e),t[n]=!0)}return V.isArray(e)?e.forEach(n):n(e),this}}Ae.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),V.reduceDescriptors(Ae.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),V.freezeMethods(Ae);const Ce=Ae;function Re(e,t){const r=this||we,n=t||r,o=Ce.from(n.headers);let a=n.data;return V.forEach(e,function(e){a=e.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function je(e){return!(!e||!e.__CANCEL__)}function ke(e,t,r){Y.call(this,null==e?"canceled":e,Y.ERR_CANCELED,t,r),this.name="CanceledError"}V.inherits(ke,Y,{__CANCEL__:!0});const De=ke;function Me(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Y("Request failed with status code "+r.status,[Y.ERR_BAD_REQUEST,Y.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}const Le=(e,t,r=3)=>{let n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,a=0,i=0;return t=void 0!==t?t:1e3,function(l){const c=Date.now(),s=n[i];o||(o=c),r[a]=l,n[a]=c;let u=i,p=0;for(;u!==a;)p+=r[u++],u%=e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),c-o<t)return;const f=s&&c-s;return f?Math.round(1e3*p/f):void 0}}(50,250);return function(e,t){let r,n,o=0,a=1e3/t;const i=(t,a=Date.now())=>{o=a,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{const t=Date.now(),l=t-o;l>=a?i(e,t):(r=e,n||(n=setTimeout(()=>{n=null,i(r)},a-l)))},()=>r&&i(r)]}(r=>{const a=r.loaded,i=r.lengthComputable?r.total:void 0,l=a-n,c=o(l);n=a,e({loaded:a,total:i,progress:i?a/i:void 0,bytes:l,rate:c||void 0,estimated:c&&i&&a<=i?(i-a)/c:void 0,event:r,lengthComputable:null!=i,[t?"download":"upload"]:!0})},r)},Ie=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},_e=e=>(...t)=>V.asap(()=>e(...t)),Ne=be.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,be.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(be.origin),be.navigator&&/(msie|trident)/i.test(be.navigator.userAgent)):()=>!0,qe=be.hasStandardBrowserEnv?{write(e,t,r,n,o,a,i){if("undefined"==typeof document)return;const l=[`${e}=${encodeURIComponent(t)}`];V.isNumber(r)&&l.push(`expires=${new Date(r).toUTCString()}`),V.isString(n)&&l.push(`path=${n}`),V.isString(o)&&l.push(`domain=${o}`),!0===a&&l.push("secure"),V.isString(i)&&l.push(`SameSite=${i}`),document.cookie=l.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function Ue(e,t,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(n||0==r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Fe=e=>e instanceof Ce?{...e}:e;function Be(e,t){t=t||{};const r={};function n(e,t,r,n){return V.isPlainObject(e)&&V.isPlainObject(t)?V.merge.call({caseless:n},e,t):V.isPlainObject(t)?V.merge({},t):V.isArray(t)?t.slice():t}function o(e,t,r,o){return V.isUndefined(t)?V.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function a(e,t){if(!V.isUndefined(t))return n(void 0,t)}function i(e,t){return V.isUndefined(t)?V.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function l(r,o,a){return a in t?n(r,o):a in e?n(void 0,r):void 0}const c={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(e,t,r)=>o(Fe(e),Fe(t),0,!0)};return V.forEach(Object.keys({...e,...t}),function(n){const a=c[n]||o,i=a(e[n],t[n],n);V.isUndefined(i)&&a!==l||(r[n]=i)}),r}const He=e=>{const t=Be({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:a,headers:i,auth:l}=t;if(t.headers=i=Ce.from(i),t.url=se(Ue(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),V.isFormData(r))if(be.hasStandardBrowserEnv||be.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(V.isFunction(r.getHeaders)){const e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,r])=>{t.includes(e.toLowerCase())&&i.set(e,r)})}if(be.hasStandardBrowserEnv&&(n&&V.isFunction(n)&&(n=n(t)),n||!1!==n&&Ne(t.url))){const e=o&&a&&qe.read(a);e&&i.set(o,e)}return t},We="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){const n=He(e);let o=n.data;const a=Ce.from(n.headers).normalize();let i,l,c,s,u,{responseType:p,onUploadProgress:f,onDownloadProgress:d}=n;function m(){s&&s(),u&&u(),n.cancelToken&&n.cancelToken.unsubscribe(i),n.signal&&n.signal.removeEventListener("abort",i)}let y=new XMLHttpRequest;function h(){if(!y)return;const n=Ce.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());Me(function(e){t(e),m()},function(e){r(e),m()},{data:p&&"text"!==p&&"json"!==p?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout,"onloadend"in y?y.onloadend=h:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(h)},y.onabort=function(){y&&(r(new Y("Request aborted",Y.ECONNABORTED,e,y)),y=null)},y.onerror=function(t){const n=t&&t.message?t.message:"Network Error",o=new Y(n,Y.ERR_NETWORK,e,y);o.event=t||null,r(o),y=null},y.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||pe;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new Y(t,o.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,e,y)),y=null},void 0===o&&a.setContentType(null),"setRequestHeader"in y&&V.forEach(a.toJSON(),function(e,t){y.setRequestHeader(t,e)}),V.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),p&&"json"!==p&&(y.responseType=n.responseType),d&&([c,u]=Le(d,!0),y.addEventListener("progress",c)),f&&y.upload&&([l,s]=Le(f),y.upload.addEventListener("progress",l),y.upload.addEventListener("loadend",s)),(n.cancelToken||n.signal)&&(i=t=>{y&&(r(!t||t.type?new De(null,e,y):t),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(i),n.signal&&(n.signal.aborted?i():n.signal.addEventListener("abort",i)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);g&&-1===be.protocols.indexOf(g)?r(new Y("Unsupported protocol "+g+":",Y.ERR_BAD_REQUEST,e)):y.send(o||null)})},ze=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController;const o=function(e){if(!r){r=!0,i();const t=e instanceof Error?e:this.reason;n.abort(t instanceof Y?t:new De(t instanceof Error?t.message:t))}};let a=t&&setTimeout(()=>{a=null,o(new Y(`timeout ${t} of ms exceeded`,Y.ETIMEDOUT))},t);const i=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:l}=n;return l.unsubscribe=()=>V.asap(i),l}},Xe=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},Ge=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}}(e))yield*Xe(r,t)}(e,t);let a,i=0,l=e=>{a||(a=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await o.next();if(t)return l(),void e.close();let a=n.byteLength;if(r){let e=i+=a;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw l(e),e}},cancel:e=>(l(e),o.return())},{highWaterMark:2})},{isFunction:$e}=V,Ve=(({Request:e,Response:t})=>({Request:e,Response:t}))(V.global),{ReadableStream:Je,TextEncoder:Ke}=V.global,Qe=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Ye=e=>{e=V.merge.call({skipUndefined:!0},Ve,e);const{fetch:t,Request:r,Response:n}=e,o=t?$e(t):"function"==typeof fetch,a=$e(r),i=$e(n);if(!o)return!1;const l=o&&$e(Je),c=o&&("function"==typeof Ke?(s=new Ke,e=>s.encode(e)):async e=>new Uint8Array(await new r(e).arrayBuffer()));var s;const u=a&&l&&Qe(()=>{let e=!1;const t=new r(be.origin,{body:new Je,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),p=i&&l&&Qe(()=>V.isReadableStream(new n("").body)),f={stream:p&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!f[e]&&(f[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new Y(`Response type '${e}' is not supported`,Y.ERR_NOT_SUPPORT,r)})});return async e=>{let{url:o,method:i,data:l,signal:s,cancelToken:d,timeout:m,onDownloadProgress:y,onUploadProgress:h,responseType:g,headers:b,withCredentials:v="same-origin",fetchOptions:E}=He(e),w=t||fetch;g=g?(g+"").toLowerCase():"text";let S=ze([s,d&&d.toAbortSignal()],m),T=null;const O=S&&S.unsubscribe&&(()=>{S.unsubscribe()});let x;try{if(h&&u&&"get"!==i&&"head"!==i&&0!==(x=await(async(e,t)=>{const n=V.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(V.isBlob(e))return e.size;if(V.isSpecCompliantForm(e)){const t=new r(be.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return V.isArrayBufferView(e)||V.isArrayBuffer(e)?e.byteLength:(V.isURLSearchParams(e)&&(e+=""),V.isString(e)?(await c(e)).byteLength:void 0)})(t):n})(b,l))){let e,t=new r(o,{method:"POST",body:l,duplex:"half"});if(V.isFormData(l)&&(e=t.headers.get("content-type"))&&b.setContentType(e),t.body){const[e,r]=Ie(x,Le(_e(h)));l=Ge(t.body,65536,e,r)}}V.isString(v)||(v=v?"include":"omit");const t=a&&"credentials"in r.prototype,s={...E,signal:S,method:i.toUpperCase(),headers:b.normalize().toJSON(),body:l,duplex:"half",credentials:t?v:void 0};T=a&&new r(o,s);let d=await(a?w(T,E):w(o,s));const m=p&&("stream"===g||"response"===g);if(p&&(y||m&&O)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=d[t]});const t=V.toFiniteNumber(d.headers.get("content-length")),[r,o]=y&&Ie(t,Le(_e(y),!0))||[];d=new n(Ge(d.body,65536,r,()=>{o&&o(),O&&O()}),e)}g=g||"text";let P=await f[V.findKey(f,g)||"text"](d,e);return!m&&O&&O(),await new Promise((t,r)=>{Me(t,r,{data:P,headers:Ce.from(d.headers),status:d.status,statusText:d.statusText,config:e,request:T})})}catch(t){if(O&&O(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Y("Network Error",Y.ERR_NETWORK,e,T),{cause:t.cause||t});throw Y.from(t,t&&t.code,e,T)}}},Ze=new Map,et=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,a=[n,o,r];let i,l,c=a.length,s=Ze;for(;c--;)i=a[c],l=s.get(i),void 0===l&&s.set(i,l=c?new Map:Ye(t)),s=l;return l},tt=(et(),{http:null,xhr:We,fetch:{get:et}});V.forEach(tt,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const rt=e=>`- ${e}`,nt=e=>V.isFunction(e)||null===e||!1===e,ot=function(e,t){e=V.isArray(e)?e:[e];const{length:r}=e;let n,o;const a={};for(let i=0;i<r;i++){let r;if(n=e[i],o=n,!nt(n)&&(o=tt[(r=String(n)).toLowerCase()],void 0===o))throw new Y(`Unknown adapter '${r}'`);if(o&&(V.isFunction(o)||(o=o.get(t))))break;a[r||"#"+i]=o}if(!o){const e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=r?e.length>1?"since :\n"+e.map(rt).join("\n"):" "+rt(e[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o};function at(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new De(null,e)}function it(e){return at(e),e.headers=Ce.from(e.headers),e.data=Re.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ot(e.adapter||we.adapter,e)(e).then(function(t){return at(e),t.data=Re.call(e,e.transformResponse,t),t.headers=Ce.from(t.headers),t},function(t){return je(t)||(at(e),t&&t.response&&(t.response.data=Re.call(e,e.transformResponse,t.response),t.response.headers=Ce.from(t.response.headers))),Promise.reject(t)})}const lt="1.13.2",ct={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ct[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const st={};ct.transitional=function(e,t,r){function n(e,t){return"[Axios v"+lt+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,a)=>{if(!1===e)throw new Y(n(o," has been removed"+(t?" in "+t:"")),Y.ERR_DEPRECATED);return t&&!st[o]&&(st[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,a)}},ct.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};const ut={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=t[a];if(i){const t=e[a],r=void 0===t||i(t,a,e);if(!0!==r)throw new Y("option "+a+" must be "+r,Y.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Y("Unknown option "+a,Y.ERR_BAD_OPTION)}},validators:ct},pt=ut.validators;class ft{constructor(e){this.defaults=e||{},this.interceptors={request:new ue,response:new ue}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Be(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&ut.assertOptions(r,{silentJSONParsing:pt.transitional(pt.boolean),forcedJSONParsing:pt.transitional(pt.boolean),clarifyTimeoutError:pt.transitional(pt.boolean)},!1),null!=n&&(V.isFunction(n)?t.paramsSerializer={serialize:n}:ut.assertOptions(n,{encode:pt.function,serialize:pt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ut.assertOptions(t,{baseUrl:pt.spelling("baseURL"),withXsrfToken:pt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=o&&V.merge(o.common,o[t.method]);o&&V.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=Ce.concat(a,o);const i=[];let l=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,i.unshift(e.fulfilled,e.rejected))});const c=[];let s;this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let u,p=0;if(!l){const e=[it.bind(this),void 0];for(e.unshift(...i),e.push(...c),u=e.length,s=Promise.resolve(t);p<u;)s=s.then(e[p++],e[p++]);return s}u=i.length;let f=t;for(;p<u;){const e=i[p++],t=i[p++];try{f=e(f)}catch(e){t.call(this,e);break}}try{s=it.call(this,f)}catch(e){return Promise.reject(e)}for(p=0,u=c.length;p<u;)s=s.then(c[p++],c[p++]);return s}getUri(e){return se(Ue((e=Be(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}V.forEach(["delete","get","head","options"],function(e){ft.prototype[e]=function(t,r){return this.request(Be(r||{},{method:e,url:t,data:(r||{}).data}))}}),V.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,o){return this.request(Be(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}ft.prototype[e]=t(),ft.prototype[e+"Form"]=t(!0)});const dt=ft;class mt{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;const n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new De(e,n,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new mt(function(t){e=t}),cancel:e}}}const yt=mt,ht={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ht).forEach(([e,t])=>{ht[t]=e});const gt=ht,bt=function e(t){const r=new dt(t),n=o(dt.prototype.request,r);return V.extend(n,dt.prototype,r,{allOwnKeys:!0}),V.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(Be(t,r))},n}(we);bt.Axios=dt,bt.CanceledError=De,bt.CancelToken=yt,bt.isCancel=je,bt.VERSION=lt,bt.toFormData=ne,bt.AxiosError=Y,bt.Cancel=bt.CanceledError,bt.all=function(e){return Promise.all(e)},bt.spread=function(e){return function(t){return e.apply(null,t)}},bt.isAxiosError=function(e){return V.isObject(e)&&!0===e.isAxiosError},bt.mergeConfig=Be,bt.AxiosHeaders=Ce,bt.formToJSON=e=>ve(V.isHTMLForm(e)?new FormData(e):e),bt.getAdapter=ot,bt.HttpStatusCode=gt,bt.default=bt;const vt=bt;function Et(e){return Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Et(e)}var wt=["status","formErrors"];function St(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function a(r,n,o,a){var c=n&&n.prototype instanceof l?n:l,s=Object.create(c.prototype);return Tt(s,"_invoke",function(r,n,o){var a,l,c,s=0,u=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,r){return a=t,l=0,c=e,f.n=r,i}};function d(r,n){for(l=r,c=n,t=0;!p&&s&&!o&&t<u.length;t++){var o,a=u[t],d=f.p,m=a[2];r>3?(o=m===n)&&(c=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=d&&((o=r<2&&d<a[1])?(l=0,f.v=n,f.n=a[1]):d<m&&(o=r<3||a[0]>n||n>m)&&(a[4]=r,a[5]=n,f.n=m,l=0))}if(o||r>1)return i;throw p=!0,n}return function(o,u,m){if(s>1)throw TypeError("Generator is already running");for(p&&1===u&&d(u,m),l=u,c=m;(t=l<2?e:c)||!p;){a||(l?l<3?(l>1&&(f.n=-1),d(l,c)):f.n=c:f.v=c);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(p=f.n<0)?c:r.call(n,f))!==i)break}catch(t){a=e,l=1,c=t}finally{s=1}}return{value:t,done:p}}}(r,o,a),!0),s}var i={};function l(){}function c(){}function s(){}t=Object.getPrototypeOf;var u=[][n]?t(t([][n]())):(Tt(t={},n,function(){return this}),t),p=s.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,Tt(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,Tt(p,"constructor",s),Tt(s,"constructor",c),c.displayName="GeneratorFunction",Tt(s,o,"GeneratorFunction"),Tt(p),Tt(p,o,"Generator"),Tt(p,n,function(){return this}),Tt(p,"toString",function(){return"[object Generator]"}),(St=function(){return{w:a,m:f}})()}function Tt(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Tt=function(e,t,r,n){function a(t,r){Tt(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(a("next",0),a("throw",1),a("return",2))},Tt(e,t,r,n)}function Ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function xt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(r),!0).forEach(function(t){Pt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ot(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Pt(e,t,r){return(t=kt(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function At(e,t,r,n,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function Ct(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var a=e.apply(t,r);function i(e){At(a,n,o,i,l,"next",e)}function l(e){At(a,n,o,i,l,"throw",e)}i(void 0)})}}function Rt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,kt(n.key),n)}}function jt(e,t,r){return t&&Rt(e.prototype,t),r&&Rt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function kt(e){var t=function(e){if("object"!=Et(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Et(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Et(t)?t:t+""}function Dt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Mt=jt(function e(t){Dt(this,e),this.errors=t,this.name="FormErrors"}),Lt=jt(function e(){Dt(this,e),this.name="RedirectErrors"}),It=function(){var e=Ct(St().m(function e(t,r){var n,o;return St().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,vt.get(t,{params:xt({},r)});case 1:return n=e.v,o=n.data,e.a(2,Nt(o))}},e)}));return function(t,r){return e.apply(this,arguments)}}(),_t=function(){var e=Ct(St().m(function e(t,r){var n,o;return St().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,vt.post(t,r);case 1:return n=e.v,o=n.data,e.a(2,Nt(o))}},e)}));return function(t,r){return e.apply(this,arguments)}}(),Nt=function(e){var t=e.status,r=e.formErrors,n=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,wt);if("error"===t){if(r)throw new Mt(r);throw new Error(n.msg)}if("redirect"===t)throw new Lt;return n}},7196(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},7299(e){"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},7345(e,t,r){"use strict";var n=r(9629);e.exports=n.getPrototypeOf||null},7575(e,t,r){"use strict";var n=r(3468),o=r(8660),a=r(3346),i=r(7004),l=r(6348)||i||a;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n("Side channel does not contain "+o(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=l()),e.set(t,r)}};return t}},7859(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},8129(e){"use strict";e.exports=Math.max},8165(e,t,r){"use strict";var n=r(9138),o=r(6095),a=r(4531),i=r(7196);e.exports=i||n.call(a,o)},8449(e){"use strict";e.exports=Math.floor},8479(e){"use strict";e.exports=Math.abs},8554(e,t,r){"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,a=r(9138);e.exports=a.call(n,o)},8660(e,t,r){var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=n&&o&&"function"==typeof o.get?o.get:null,i=n&&Map.prototype.forEach,l="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=l&&c&&"function"==typeof c.get?c.get:null,u=l&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,y=Object.prototype.toString,h=Function.prototype.toString,g=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,E=String.prototype.toUpperCase,w=String.prototype.toLowerCase,S=RegExp.prototype.test,T=Array.prototype.concat,O=Array.prototype.join,x=Array.prototype.slice,P=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,C=Object.getOwnPropertySymbols,R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,j="function"==typeof Symbol&&"object"==typeof Symbol.iterator,k="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,D=Object.prototype.propertyIsEnumerable,M=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function L(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-P(-e):P(e);if(n!==e){var o=String(n),a=b.call(t,o.length+1);return v.call(o,r,"$&_")+"."+v.call(v.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,r,"$&_")}var I=r(6973),_=I.custom,N=X(_)?_:null,q={__proto__:null,double:'"',single:"'"},U={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function F(e,t,r){var n=r.quoteStyle||t,o=q[n];return o+e+o}function B(e){return v.call(String(e),/"/g,"&quot;")}function H(e){return!k||!("object"==typeof e&&(k in e||void 0!==e[k]))}function W(e){return"[object Array]"===V(e)&&H(e)}function z(e){return"[object RegExp]"===V(e)&&H(e)}function X(e){if(j)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!R)return!1;try{return R.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,o,l){var c=n||{};if($(c,"quoteStyle")&&!$(q,c.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if($(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var y=!$(c,"customInspect")||c.customInspect;if("boolean"!=typeof y&&"symbol"!==y)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var E=c.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return K(t,c);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var S=String(t);return E?L(t,S):S}if("bigint"==typeof t){var P=String(t)+"n";return E?L(t,P):P}var C=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=C&&C>0&&"object"==typeof t)return W(t)?"[Array]":"[Object]";var _,U=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=O.call(Array(e.indent+1)," ")}return{base:r,prev:O.call(Array(t+1),r)}}(c,o);if(void 0===l)l=[];else if(J(l,t)>=0)return"[Circular]";function G(t,r,n){if(r&&(l=x.call(l)).push(r),n){var a={depth:c.depth};return $(c,"quoteStyle")&&(a.quoteStyle=c.quoteStyle),e(t,a,o+1,l)}return e(t,c,o+1,l)}if("function"==typeof t&&!z(t)){var Q=function(e){if(e.name)return e.name;var t=g.call(h.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ne=re(t,G);return"[Function"+(Q?": "+Q:" (anonymous)")+"]"+(ne.length>0?" { "+O.call(ne,", ")+" }":"")}if(X(t)){var oe=j?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):R.call(t);return"object"!=typeof t||j?oe:Y(oe)}if((_=t)&&"object"==typeof _&&("undefined"!=typeof HTMLElement&&_ instanceof HTMLElement||"string"==typeof _.nodeName&&"function"==typeof _.getAttribute)){for(var ae="<"+w.call(String(t.nodeName)),ie=t.attributes||[],le=0;le<ie.length;le++)ae+=" "+ie[le].name+"="+F(B(ie[le].value),"double",c);return ae+=">",t.childNodes&&t.childNodes.length&&(ae+="..."),ae+"</"+w.call(String(t.nodeName))+">"}if(W(t)){if(0===t.length)return"[]";var ce=re(t,G);return U&&!function(e){for(var t=0;t<e.length;t++)if(J(e[t],"\n")>=0)return!1;return!0}(ce)?"["+te(ce,U)+"]":"[ "+O.call(ce,", ")+" ]"}if(function(e){return"[object Error]"===V(e)&&H(e)}(t)){var se=re(t,G);return"cause"in Error.prototype||!("cause"in t)||D.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+O.call(se,", ")+" }":"{ ["+String(t)+"] "+O.call(T.call("[cause]: "+G(t.cause),se),", ")+" }"}if("object"==typeof t&&y){if(N&&"function"==typeof t[N]&&I)return I(t,{depth:C-o});if("symbol"!==y&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{s.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ue=[];return i&&i.call(t,function(e,r){ue.push(G(r,t,!0)+" => "+G(e,t))}),ee("Map",a.call(t),ue,U)}if(function(e){if(!s||!e||"object"!=typeof e)return!1;try{s.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var pe=[];return u&&u.call(t,function(e){pe.push(G(e,t))}),ee("Set",s.call(t),pe,U)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Z("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Z("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(t))return Z("WeakRef");if(function(e){return"[object Number]"===V(e)&&H(e)}(t))return Y(G(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return Y(G(A.call(t)));if(function(e){return"[object Boolean]"===V(e)&&H(e)}(t))return Y(m.call(t));if(function(e){return"[object String]"===V(e)&&H(e)}(t))return Y(G(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==r.g&&t===r.g)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===V(e)&&H(e)}(t)&&!z(t)){var fe=re(t,G),de=M?M(t)===Object.prototype:t instanceof Object||t.constructor===Object,me=t instanceof Object?"":"null prototype",ye=!de&&k&&Object(t)===t&&k in t?b.call(V(t),8,-1):me?"Object":"",he=(de||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ye||me?"["+O.call(T.call([],ye||[],me||[]),": ")+"] ":"");return 0===fe.length?he+"{}":U?he+"{"+te(fe,U)+"}":he+"{ "+O.call(fe,", ")+" }"}return String(t)};var G=Object.prototype.hasOwnProperty||function(e){return e in this};function $(e,t){return G.call(e,t)}function V(e){return y.call(e)}function J(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function K(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return K(b.call(e,0,t.maxStringLength),t)+n}var o=U[t.quoteStyle||"single"];return o.lastIndex=0,F(v.call(v.call(e,o,"\\$1"),/[\x00-\x1f]/g,Q),"single",t)}function Q(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+E.call(t.toString(16))}function Y(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function ee(e,t,r,n){return e+" ("+t+") {"+(n?te(r,n):O.call(r,", "))+"}"}function te(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+O.call(e,","+r)+"\n"+t.prev}function re(e,t){var r=W(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=$(e,o)?t(e[o],e):""}var a,i="function"==typeof C?C(e):[];if(j){a={};for(var l=0;l<i.length;l++)a["$"+i[l]]=i[l]}for(var c in e)$(e,c)&&(r&&String(Number(c))===c&&c<e.length||j&&a["$"+c]instanceof Symbol||(S.call(/[^\w$]/,c)?n.push(t(c,e)+": "+t(e[c],e)):n.push(c+": "+t(e[c],e))));if("function"==typeof C)for(var s=0;s<i.length;s++)D.call(e,i[s])&&n.push("["+t(i[s])+"]: "+t(e[i[s]],e));return n}},8794(e){"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r};e.exports=function(e){var o=this;if("function"!=typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var a,i=function(e){for(var t=[],r=1,n=0;r<e.length;r+=1,n+=1)t[n]=e[r];return t}(arguments),l=r(0,o.length-i.length),c=[],s=0;s<l;s++)c[s]="$"+s;if(a=Function("binder","return function ("+function(e){for(var t="",r=0;r<e.length;r+=1)t+=e[r],r+1<e.length&&(t+=",");return t}(c)+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var t=o.apply(this,n(i,arguments));return Object(t)===t?t:this}return o.apply(e,n(i,arguments))}),o.prototype){var u=function(){};u.prototype=o.prototype,a.prototype=new u,u.prototype=null}return a}},9067(e,t,r){e.exports=r(6999)()},9110(e){"use strict";e.exports=EvalError},9138(e,t,r){"use strict";var n=r(8794);e.exports=Function.prototype.bind||n},9336(e,t,r){"use strict";var n=r(1292);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},9398(e,t,r){"use strict";r.d(t,{y:()=>i});var n=r(2280),o=r(5023);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(null,arguments)}var i=function(e){return function(t){var r=(0,o.zy)(),i=(0,o.Zp)(),l=(0,o.g)();return(0,n.createElement)(e,a({},t,{location:r,navigate:i,params:l}))}}},9629(e){"use strict";e.exports=Object},9838(e){"use strict";e.exports=Error},9903(e,t,r){"use strict";var n=r(9138),o=r(3468),a=r(4531),i=r(8165);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return i(n,a,e)}}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e].call(r.exports,r,r.exports,a),r.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,n){if(1&n&&(e=this(e)),8&n)return e;if("object"==typeof e&&e){if(4&n&&e.__esModule)return e;if(16&n&&"function"==typeof e.then)return e}var o=Object.create(null);a.r(o);var i={};t=t||[null,r({}),r([]),r(r)];for(var l=2&n&&e;("object"==typeof l||"function"==typeof l)&&!~t.indexOf(l);l=r(l))Object.getOwnPropertyNames(l).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";a.r(i),a.d(i,{default:()=>A});var e=a(2280),t=a(9067),r=a.n(t),n=a(5023),o=a(4502),l=a(5838),c=a(1912);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function m(e,t,r){return(t=y(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){var t=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}var h=function(e){var t=e.route,r=e.locale;if(!t)return null;var n="".concat(t.componentPath.replace(/\//g,"."),".title");return r.lmsg(n,{},t.title||null)},g=function(t){function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),function(e,t,r){return t=f(t),function(e,t){if(t&&("object"==s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,p()?Reflect.construct(t,r||[],f(e).constructor):t.apply(e,r))}(this,r,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(r,t),o=r,a=[{key:"componentDidMount",value:function(){var e=this.context.locale;!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";e=(e||"").replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?(\/)?>|<\/\w+>/gi,"");var t=document.title.split(" - "),r=document.querySelector("title");r&&(r.innerHTML=e?"".concat(e," - ").concat(t[t.length-1]):"".concat(t[t.length-1]));var n=document.querySelector(".heading-area");if(n)n.innerHTML="<h2><span>".concat(e,"</span></h2>");else{var o=document.querySelector(".page-content-header__title");o&&(o.textContent=e)}}(h({route:this.getCurrentRoute(),locale:e}))}},{key:"findRouteByPath",value:function(e){return this.props.routes.filter(function(t){return t.path===e})[0]}},{key:"getCurrentRoute",value:function(){var e=this.props.path;return this.findRouteByPath(e)}},{key:"renderPathbar",value:function(){var t=document.getElementById("pathbar-content-area");if(t||(t=document.querySelector(".pul-breadcrumbs__list")),!t)return null;for(var r=this.context.locale,o=this.getCurrentRoute(),a=[];o.parent&&(o=this.findRouteByPath(o.parent));)a.unshift({path:o.path,title:h({route:o,locale:r})});return a.length?(0,e.createPortal)(a.map(function(t){var r=t.path,o=t.title;return(0,e.createElement)("li",{key:r},(0,e.createElement)(n.N_,{to:r},o))}),t):null}},{key:"render",value:function(){return(0,e.createElement)(e.Fragment,null,this.renderPathbar(),this.props.children)}}],a&&u(o.prototype,a),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,a}(e.Component);m(g,"propTypes",{path:r().string.isRequired,routes:r().array.isRequired,children:r().node.isRequired}),m(g,"contextTypes",{locale:r().object});const b=g;var v=["locale","routes"],E=["path","component"];function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(null,arguments)}function S(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var T=function(t){var r=t.locale,a=t.routes,i=S(t,v);return(0,e.createElement)(o.s,{value:{baseUrl:i.baseUrl}},(0,e.createElement)(e.LocaleProvider,{messages:r},(0,e.createElement)(l.Kv,null,(0,e.createElement)(n.Kd,{basename:i.baseUrl},(0,e.createElement)(c.Ay,null,(0,e.createElement)(n.BV,null,a.map(function(t){var r=t.path,o=t.component,l=S(t,E);return(0,e.createElement)(n.qh,w({key:r,path:r,element:(0,e.createElement)(b,{path:r,routes:a},(0,e.createElement)(o,i))},l))})))))))};T.propTypes={routes:r().array.isRequired,locale:r().object.isRequired,baseUrl:r().string.isRequired};const O=T,x=[{exact:!0,path:"/index/home",parent:"",componentPath:"Home",component:a(6947).A},{exact:!0,path:"/index/domain",parent:"/index/home",componentPath:"Domain",component:a(1790).A}];function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},P.apply(null,arguments)}const A=function(t){var r=document.getElementById(t.moduleId);(0,e.createRoot)(r).render((0,e.createElement)(O,P({routes:x},t)))}})(),i})());
//# sourceMappingURL=main.js.map