@kintone/rest-api-client 6.1.6 → 6.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/package.json +4 -4
- package/esm/tsconfig.build.esm.tsbuildinfo +1 -1
- package/lib/package.json +4 -4
- package/lib/tsconfig.build.tsbuildinfo +1 -1
- package/lib/tsconfig.typecheck.node.tsbuildinfo +1 -1
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/umd/KintoneRestAPIClient.js +1288 -885
- package/umd/KintoneRestAPIClient.min.js +3 -3
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
*
|
|
138
138
|
*
|
|
139
139
|
* =====
|
|
140
|
-
* axios@1.
|
|
140
|
+
* axios@1.16.1 -- MIT
|
|
141
141
|
* -----
|
|
142
142
|
*
|
|
143
143
|
* # Copyright (c) 2014-present Matt Zabriskie & Collaborators
|
|
@@ -764,6 +764,6 @@
|
|
|
764
764
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
765
765
|
*/
|
|
766
766
|
|
|
767
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).window=e.window||{})}(this,function(e){"use strict";var t={readFileFromPath:function(){throw new Error("not implemented")},getRequestToken:function(){throw new Error("not implemented")},getDefaultAuth:function(){throw new Error("not implemented")},buildPlatformDependentConfig:function(){throw new Error("not implemented")},buildHeaders:function(){throw new Error("not implemented")},buildFormDataValue:function(){throw new Error("not implemented")},buildBaseUrl:function(){throw new Error("not implemented")},getVersion:function(){throw new Error("not implemented")}};function r(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 n(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise(function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,u,"next",e)}function u(e){n(a,o,i,s,u,"throw",e)}s(void 0)})}}function i(e,t,r){return t=l(t),function(e,t){if(t&&("object"==typeof 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||[],l(e).constructor):t.apply(e,r))}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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,
|
|
767
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).window=e.window||{})}(this,function(e){"use strict";var t={readFileFromPath:function(){throw new Error("not implemented")},getRequestToken:function(){throw new Error("not implemented")},getDefaultAuth:function(){throw new Error("not implemented")},buildPlatformDependentConfig:function(){throw new Error("not implemented")},buildHeaders:function(){throw new Error("not implemented")},buildFormDataValue:function(){throw new Error("not implemented")},buildBaseUrl:function(){throw new Error("not implemented")},getVersion:function(){throw new Error("not implemented")}};function r(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 n(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise(function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,u,"next",e)}function u(e){n(a,o,i,s,u,"throw",e)}s(void 0)})}}function i(e,t,r){return t=l(t),function(e,t){if(t&&("object"==typeof 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||[],l(e).constructor):t.apply(e,r))}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 u(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}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 l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(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)}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}function h(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 d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(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 i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(){
|
|
768
768
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
769
|
-
var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var u=n&&n.prototype instanceof s?n:s,c=Object.create(u.prototype);return g(c,"_invoke",function(r,n,o){var i,s,u,c=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,r){return i=t,s=0,u=e,p.n=r,a}};function h(r,n){for(s=r,u=n,t=0;!f&&c&&!o&&t<l.length;t++){var o,i=l[t],h=p.p,d=i[2];r>3?(o=d===n)&&(u=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=h&&((o=r<2&&h<i[1])?(s=0,p.v=n,p.n=i[1]):h<d&&(o=r<3||i[0]>n||n>d)&&(i[4]=r,i[5]=n,p.n=d,s=0))}if(o||r>1)return a;throw f=!0,n}return function(o,l,d){if(c>1)throw TypeError("Generator is already running");for(f&&1===l&&h(l,d),s=l,u=d;(t=s<2?e:u)||!f;){i||(s?s<3?(s>1&&(p.n=-1),h(s,u)):p.n=u:p.v=u);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(f=p.n<0)?u:r.call(n,p))!==a)break}catch(t){i=e,s=1,u=t}finally{c=1}}return{value:t,done:f}}}(r,o,i),!0),c}var a={};function s(){}function u(){}function c(){}t=Object.getPrototypeOf;var l=[][n]?t(t([][n]())):(g(t={},n,function(){return this}),t),f=c.prototype=s.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,g(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=c,g(f,"constructor",c),g(c,"constructor",u),u.displayName="GeneratorFunction",g(c,o,"GeneratorFunction"),g(f),g(f,o,"Generator"),g(f,n,function(){return this}),g(f,"toString",function(){return"[object Generator]"}),(m=function(){return{w:i,m:p}})()}function g(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}g=function(e,t,r,n){function i(t,r){g(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:(i("next",0),i("throw",1),i("return",2))},g(e,t,r,n)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function b(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(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 w(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}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 E(e){var t="function"==typeof Map?new Map:void 0;return E=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(p())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&v(o,r.prototype),o}(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),v(r,e)},E(e)}var x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function A(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function R(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var O=function(e){return e&&e.Math===Math&&e},P=O("object"==typeof globalThis&&globalThis)||O("object"==typeof window&&window)||O("object"==typeof self&&self)||O("object"==typeof x&&x)||O("object"==typeof x&&x)||function(){return this}()||Function("return this")(),k={},j=function(e){try{return!!e()}catch(e){return!0}},T=!j(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}),I=!j(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),_=I,N=Function.prototype.call,C=_?N.bind(N):function(){return N.apply(N,arguments)},U={},L={}.propertyIsEnumerable,D=Object.getOwnPropertyDescriptor,F=D&&!L.call({1:2},1);U.f=F?function(e){var t=D(this,e);return!!t&&t.enumerable}:L;var B,M,q=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},W=I,G=Function.prototype,z=G.call,H=W&&G.bind.bind(z,z),$=W?H:function(e){return function(){return z.apply(e,arguments)}},V=$,K=V({}.toString),Y=V("".slice),J=function(e){return Y(K(e),8,-1)},Q=j,X=J,Z=Object,ee=$("".split),te=Q(function(){return!Z("z").propertyIsEnumerable(0)})?function(e){return"String"===X(e)?ee(e,""):Z(e)}:Z,re=function(e){return null==e},ne=re,oe=TypeError,ie=function(e){if(ne(e))throw new oe("Can't call method on "+e);return e},ae=te,se=ie,ue=function(e){return ae(se(e))},ce="object"==typeof document&&document.all,le=void 0===ce&&void 0!==ce?function(e){return"function"==typeof e||e===ce}:function(e){return"function"==typeof e},fe=le,pe=function(e){return"object"==typeof e?null!==e:fe(e)},he=P,de=le,ye=function(e,t){return arguments.length<2?(r=he[e],de(r)?r:void 0):he[e]&&he[e][t];var r},me=$({}.isPrototypeOf),ge=P.navigator,ve=ge&&ge.userAgent,be=ve?String(ve):"",we=P,Se=be,Ee=we.process,xe=we.Deno,Ae=Ee&&Ee.versions||xe&&xe.version,Re=Ae&&Ae.v8;Re&&(M=(B=Re.split("."))[0]>0&&B[0]<4?1:+(B[0]+B[1])),!M&&Se&&(!(B=Se.match(/Edge\/(\d+)/))||B[1]>=74)&&(B=Se.match(/Chrome\/(\d+)/))&&(M=+B[1]);var Oe=M,Pe=Oe,ke=j,je=P.String,Te=!!Object.getOwnPropertySymbols&&!ke(function(){var e=Symbol("symbol detection");return!je(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Pe&&Pe<41}),Ie=Te&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,_e=ye,Ne=le,Ce=me,Ue=Object,Le=Ie?function(e){return"symbol"==typeof e}:function(e){var t=_e("Symbol");return Ne(t)&&Ce(t.prototype,Ue(e))},De=String,Fe=function(e){try{return De(e)}catch(e){return"Object"}},Be=le,Me=Fe,qe=TypeError,We=function(e){if(Be(e))return e;throw new qe(Me(e)+" is not a function")},Ge=We,ze=re,He=function(e,t){var r=e[t];return ze(r)?void 0:Ge(r)},$e=C,Ve=le,Ke=pe,Ye=TypeError,Je={exports:{}},Qe=P,Xe=Object.defineProperty,Ze=function(e,t){try{Xe(Qe,e,{value:t,configurable:!0,writable:!0})}catch(r){Qe[e]=t}return t},et=P,tt=Ze,rt="__core-js_shared__",nt=Je.exports=et[rt]||tt(rt,{});(nt.versions||(nt.versions=[])).push({version:"3.49.0",mode:"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ot=Je.exports,it=ot,at=function(e,t){return it[e]||(it[e]=t||{})},st=ie,ut=Object,ct=function(e){return ut(st(e))},lt=ct,ft=$({}.hasOwnProperty),pt=Object.hasOwn||function(e,t){return ft(lt(e),t)},ht=$,dt=0,yt=Math.random(),mt=ht(1.1.toString),gt=function(e){return"Symbol("+(void 0===e?"":e)+")_"+mt(++dt+yt,36)},vt=at,bt=pt,wt=gt,St=Te,Et=Ie,xt=P.Symbol,At=vt("wks"),Rt=Et?xt.for||xt:xt&&xt.withoutSetter||wt,Ot=function(e){return bt(At,e)||(At[e]=St&&bt(xt,e)?xt[e]:Rt("Symbol."+e)),At[e]},Pt=C,kt=pe,jt=Le,Tt=He,It=function(e,t){var r,n;if("string"===t&&Ve(r=e.toString)&&!Ke(n=$e(r,e)))return n;if(Ve(r=e.valueOf)&&!Ke(n=$e(r,e)))return n;if("string"!==t&&Ve(r=e.toString)&&!Ke(n=$e(r,e)))return n;throw new Ye("Can't convert object to primitive value")},_t=TypeError,Nt=Ot("toPrimitive"),Ct=function(e,t){if(!kt(e)||jt(e))return e;var r,n=Tt(e,Nt);if(n){if(void 0===t&&(t="default"),r=Pt(n,e,t),!kt(r)||jt(r))return r;throw new _t("Can't convert object to primitive value")}return void 0===t&&(t="number"),It(e,t)},Ut=Ct,Lt=Le,Dt=function(e){var t=Ut(e,"string");return Lt(t)?t:t+""},Ft=pe,Bt=P.document,Mt=Ft(Bt)&&Ft(Bt.createElement),qt=function(e){return Mt?Bt.createElement(e):{}},Wt=qt,Gt=!T&&!j(function(){return 7!==Object.defineProperty(Wt("div"),"a",{get:function(){return 7}}).a}),zt=T,Ht=C,$t=U,Vt=q,Kt=ue,Yt=Dt,Jt=pt,Qt=Gt,Xt=Object.getOwnPropertyDescriptor;k.f=zt?Xt:function(e,t){if(e=Kt(e),t=Yt(t),Qt)try{return Xt(e,t)}catch(e){}if(Jt(e,t))return Vt(!Ht($t.f,e,t),e[t])};var Zt={},er=T&&j(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),tr=pe,rr=String,nr=TypeError,or=function(e){if(tr(e))return e;throw new nr(rr(e)+" is not an object")},ir=T,ar=Gt,sr=er,ur=or,cr=Dt,lr=TypeError,fr=Object.defineProperty,pr=Object.getOwnPropertyDescriptor,hr="enumerable",dr="configurable",yr="writable";Zt.f=ir?sr?function(e,t,r){if(ur(e),t=cr(t),ur(r),"function"==typeof e&&"prototype"===t&&"value"in r&&yr in r&&!r[yr]){var n=pr(e,t);n&&n[yr]&&(e[t]=r.value,r={configurable:dr in r?r[dr]:n[dr],enumerable:hr in r?r[hr]:n[hr],writable:!1})}return fr(e,t,r)}:fr:function(e,t,r){if(ur(e),t=cr(t),ur(r),ar)try{return fr(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new lr("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var mr=Zt,gr=q,vr=T?function(e,t,r){return mr.f(e,t,gr(1,r))}:function(e,t,r){return e[t]=r,e},br={exports:{}},wr=T,Sr=pt,Er=Function.prototype,xr=wr&&Object.getOwnPropertyDescriptor,Ar=Sr(Er,"name"),Rr={EXISTS:Ar,PROPER:Ar&&"something"===function(){}.name,CONFIGURABLE:Ar&&(!wr||wr&&xr(Er,"name").configurable)},Or=le,Pr=ot,kr=$(Function.toString);Or(Pr.inspectSource)||(Pr.inspectSource=function(e){return kr(e)});var jr,Tr,Ir,_r=Pr.inspectSource,Nr=le,Cr=P.WeakMap,Ur=Nr(Cr)&&/native code/.test(String(Cr)),Lr=gt,Dr=at("keys"),Fr=function(e){return Dr[e]||(Dr[e]=Lr(e))},Br={},Mr=Ur,qr=P,Wr=pe,Gr=vr,zr=pt,Hr=ot,$r=Fr,Vr=Br,Kr="Object already initialized",Yr=qr.TypeError,Jr=qr.WeakMap;if(Mr||Hr.state){var Qr=Hr.state||(Hr.state=new Jr);Qr.get=Qr.get,Qr.has=Qr.has,Qr.set=Qr.set,jr=function(e,t){if(Qr.has(e))throw new Yr(Kr);return t.facade=e,Qr.set(e,t),t},Tr=function(e){return Qr.get(e)||{}},Ir=function(e){return Qr.has(e)}}else{var Xr=$r("state");Vr[Xr]=!0,jr=function(e,t){if(zr(e,Xr))throw new Yr(Kr);return t.facade=e,Gr(e,Xr,t),t},Tr=function(e){return zr(e,Xr)?e[Xr]:{}},Ir=function(e){return zr(e,Xr)}}var Zr={set:jr,get:Tr,has:Ir,enforce:function(e){return Ir(e)?Tr(e):jr(e,{})},getterFor:function(e){return function(t){var r;if(!Wr(t)||(r=Tr(t)).type!==e)throw new Yr("Incompatible receiver, "+e+" required");return r}}},en=$,tn=j,rn=le,nn=pt,on=T,an=Rr.CONFIGURABLE,sn=_r,un=Zr.enforce,cn=Zr.get,ln=String,fn=Object.defineProperty,pn=en("".slice),hn=en("".replace),dn=en([].join),yn=on&&!tn(function(){return 8!==fn(function(){},"length",{value:8}).length}),mn=String(String).split("String"),gn=br.exports=function(e,t,r){"Symbol("===pn(ln(t),0,7)&&(t="["+hn(ln(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!nn(e,"name")||an&&e.name!==t)&&(on?fn(e,"name",{value:t,configurable:!0}):e.name=t),yn&&r&&nn(r,"arity")&&e.length!==r.arity&&fn(e,"length",{value:r.arity});try{r&&nn(r,"constructor")&&r.constructor?on&&fn(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=un(e);return nn(n,"source")||(n.source=dn(mn,"string"==typeof t?t:"")),e};Function.prototype.toString=gn(function(){return rn(this)&&cn(this).source||sn(this)},"toString");var vn,bn=br.exports,wn=le,Sn=Zt,En=bn,xn=Ze,An=function(e,t,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if(wn(r)&&En(r,i,n),n.global)o?e[t]=r:xn(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:Sn.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Rn={},On=Math.ceil,Pn=Math.floor,kn=Math.trunc||function(e){var t=+e;return(t>0?Pn:On)(t)},jn=function(e){var t=+e;return t!=t||0===t?0:kn(t)},Tn=jn,In=Math.max,_n=Math.min,Nn=function(e,t){var r=Tn(e);return r<0?In(r+t,0):_n(r,t)},Cn=jn,Un=Math.min,Ln=function(e){var t=Cn(e);return t>0?Un(t,9007199254740991):0},Dn=Ln,Fn=function(e){return Dn(e.length)},Bn=ue,Mn=Nn,qn=Fn,Wn={indexOf:(vn=!1,function(e,t,r){var n=Bn(e),o=qn(n);if(0===o)return!vn&&-1;var i,a=Mn(r,o);if(vn&&t!=t){for(;o>a;)if((i=n[a++])!=i)return!0}else for(;o>a;a++)if((vn||a in n)&&n[a]===t)return vn||a||0;return!vn&&-1})},Gn=pt,zn=ue,Hn=Wn.indexOf,$n=Br,Vn=$([].push),Kn=function(e,t){var r,n=zn(e),o=0,i=[];for(r in n)!Gn($n,r)&&Gn(n,r)&&Vn(i,r);for(;t.length>o;)Gn(n,r=t[o++])&&(~Hn(i,r)||Vn(i,r));return i},Yn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Jn=Kn,Qn=Yn.concat("length","prototype");Rn.f=Object.getOwnPropertyNames||function(e){return Jn(e,Qn)};var Xn={};Xn.f=Object.getOwnPropertySymbols;var Zn=ye,eo=Rn,to=Xn,ro=or,no=$([].concat),oo=Zn("Reflect","ownKeys")||function(e){var t=eo.f(ro(e)),r=to.f;return r?no(t,r(e)):t},io=pt,ao=oo,so=k,uo=Zt,co=j,lo=le,fo=/#|\.prototype\./,po=function(e,t){var r=yo[ho(e)];return r===go||r!==mo&&(lo(t)?co(t):!!t)},ho=po.normalize=function(e){return String(e).replace(fo,".").toLowerCase()},yo=po.data={},mo=po.NATIVE="N",go=po.POLYFILL="P",vo=po,bo=P,wo=k.f,So=vr,Eo=An,xo=Ze,Ao=function(e,t,r){for(var n=ao(t),o=uo.f,i=so.f,a=0;a<n.length;a++){var s=n[a];io(e,s)||r&&io(r,s)||o(e,s,i(t,s))}},Ro=vo,Oo=function(e,t){var r,n,o,i,a,s=e.target,u=e.global,c=e.stat;if(r=u?bo:c?bo[s]||xo(s,{}):bo[s]&&bo[s].prototype)for(n in t){if(i=t[n],o=e.dontCallGetSet?(a=wo(r,n))&&a.value:r[n],!Ro(u?n:s+(c?".":"#")+n,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ao(i,o)}(e.sham||o&&o.sham)&&So(i,"sham",!0),Eo(r,n,i,e)}},Po=J,ko=Array.isArray||function(e){return"Array"===Po(e)},jo=TypeError,To=T,Io=Zt,_o=q,No=function(e,t,r){To?Io.f(e,t,_o(0,r)):e[t]=r},Co=T,Uo=ko,Lo=TypeError,Do=Object.getOwnPropertyDescriptor,Fo=Co&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(Uo(e)&&!Do(e,"length").writable)throw new Lo("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},Bo={};Bo[Ot("toStringTag")]="z";var Mo="[object z]"===String(Bo),qo=Mo,Wo=le,Go=J,zo=Ot("toStringTag"),Ho=Object,$o="Arguments"===Go(function(){return arguments}()),Vo=qo?Go:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Ho(e),zo))?r:$o?Go(t):"Object"===(n=Go(t))&&Wo(t.callee)?"Arguments":n},Ko=$,Yo=j,Jo=le,Qo=Vo,Xo=_r,Zo=function(){},ei=ye("Reflect","construct"),ti=/^\s*(?:class|function)\b/,ri=Ko(ti.exec),ni=!ti.test(Zo),oi=function(e){if(!Jo(e))return!1;try{return ei(Zo,[],e),!0}catch(e){return!1}},ii=function(e){if(!Jo(e))return!1;switch(Qo(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ni||!!ri(ti,Xo(e))}catch(e){return!0}};ii.sham=!0;var ai=!ei||Yo(function(){var e;return oi(oi.call)||!oi(Object)||!oi(function(){e=!0})||e})?ii:oi,si=ko,ui=ai,ci=pe,li=Ot("species"),fi=Array,pi=function(e){var t;return si(e)&&(t=e.constructor,(ui(t)&&(t===fi||si(t.prototype))||ci(t)&&null===(t=t[li]))&&(t=void 0)),void 0===t?fi:t},hi=function(e,t){return new(pi(e))(0===t?0:t)},di=j,yi=Oe,mi=Ot("species"),gi=function(e){return yi>=51||!di(function(){var t=[];return(t.constructor={})[mi]=function(){return{foo:1}},1!==t[e](Boolean).foo})},vi=Oo,bi=j,wi=ko,Si=pe,Ei=ct,xi=Fn,Ai=function(e){if(e>9007199254740991)throw new jo("Maximum allowed index exceeded");return e},Ri=No,Oi=Fo,Pi=hi,ki=gi,ji=Oe,Ti=Ot("isConcatSpreadable"),Ii=ji>=51||!bi(function(){var e=[];return e[Ti]=!1,e.concat()[0]!==e}),_i=function(e){if(!Si(e))return!1;var t=e[Ti];return void 0!==t?!!t:wi(e)};vi({target:"Array",proto:!0,arity:1,forced:!Ii||!ki("concat")},{concat:function(e){var t,r,n,o,i,a=Ei(this),s=Pi(a,0),u=0;for(t=-1,n=arguments.length;t<n;t++)if(_i(i=-1===t?a:arguments[t]))for(o=xi(i),Ai(u+o),r=0;r<o;r++,u++)r in i&&Ri(s,u,i[r]);else Ai(u+1),Ri(s,u++,i);return Oi(s,u),s}});var Ni=bn,Ci=Zt,Ui=function(e,t,r){return r.get&&Ni(r.get,t,{getter:!0}),r.set&&Ni(r.set,t,{setter:!0}),Ci.f(e,t,r)},Li=T,Di=Rr.EXISTS,Fi=$,Bi=Ui,Mi=Function.prototype,qi=Fi(Mi.toString),Wi=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Gi=Fi(Wi.exec);Li&&!Di&&Bi(Mi,"name",{configurable:!0,get:function(){try{return Gi(Wi,qi(this))[1]}catch(e){return""}}});var zi=$,Hi=We,$i=pe,Vi=function(e){return $i(e)||null===e},Ki=String,Yi=TypeError,Ji=function(e,t,r){try{return zi(Hi(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},Qi=pe,Xi=ie,Zi=function(e){if(Vi(e))return e;throw new Yi("Can't set "+Ki(e)+" as a prototype")},ea=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Ji(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return Xi(r),Zi(n),Qi(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0);Oo({target:"Object",stat:!0},{setPrototypeOf:ea});var ta=function(e){function t(e){var r;return a(this,t),r=i(this,t,["This function is not supported in ".concat(e," environment")]),Error.captureStackTrace&&Error.captureStackTrace(r,t),r.name="UnsupportedPlatformError",r.platform=e,Object.setPrototypeOf(r,t.prototype),r}return f(t,e),u(t)}(E(Error));function ra(){this._types=Object.create(null),this._extensions=Object.create(null);for(let e=0;e<arguments.length;e++)this.define(arguments[e]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}ra.prototype.define=function(e,t){for(let r in e){let n=e[r].map(function(e){return e.toLowerCase()});r=r.toLowerCase();for(let e=0;e<n.length;e++){const o=n[e];if("*"!==o[0]){if(!t&&o in this._types)throw new Error('Attempt to change mapping for "'+o+'" extension from "'+this._types[o]+'" to "'+r+'". Pass `force=true` to allow this, otherwise remove "'+o+'" from the list of extensions for "'+r+'".');this._types[o]=r}}if(t||!this._extensions[r]){const e=n[0];this._extensions[r]="*"!==e[0]?e:e.substr(1)}}},ra.prototype.getType=function(e){let t=(e=String(e)).replace(/^.*[/\\]/,"").toLowerCase(),r=t.replace(/^.*\./,"").toLowerCase(),n=t.length<e.length;return(r.length<t.length-1||!n)&&this._types[r]||null},ra.prototype.getExtension=function(e){return(e=/^\s*([^;\s]*)/.test(e)&&RegExp.$1)&&this._extensions[e.toLowerCase()]||null};var na=A(new ra({"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]})),oa="6.1.6",ia=function(){var e=o(m().m(function e(){var t;return m().w(function(e){for(;;)switch(e.n){case 0:if("object"!==("undefined"==typeof kintone?"undefined":S(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){e.n=1;break}return e.a(2,kintone.getRequestToken());case 1:if("object"!==("undefined"==typeof garoon?"undefined":S(garoon))||null===garoon||"function"!=typeof(null===(t=garoon.connect)||void 0===t||null===(t=t.kintone)||void 0===t?void 0:t.getRequestToken)){e.n=2;break}return e.a(2,garoon.connect.kintone.getRequestToken());case 2:throw new Error("session authentication must specify a request token");case 3:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),aa=Object.freeze({__proto__:null,buildBaseUrl:function(e){if(e)return e;if(void 0===location)throw new Error("The baseUrl parameter is required for this environment");var t=location,r=t.host,n=t.protocol;return"".concat(n,"//").concat(r)},buildFormDataValue:function(e,t){var r={};return t&&(r.type=na.getType(t)||void 0),new Blob([e],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:ia,getVersion:function(){return oa},readFileFromPath:function(e){throw new ta("Browser")}}),sa={},ua=Kn,ca=Yn,la=Object.keys||function(e){return ua(e,ca)},fa=T,pa=er,ha=Zt,da=or,ya=ue,ma=la;sa.f=fa&&!pa?Object.defineProperties:function(e,t){da(e);for(var r,n=ya(t),o=ma(t),i=o.length,a=0;i>a;)ha.f(e,r=o[a++],n[r]);return e};var ga,va=ye("document","documentElement"),ba=or,wa=sa,Sa=Yn,Ea=Br,xa=va,Aa=qt,Ra="prototype",Oa="script",Pa=Fr("IE_PROTO"),ka=function(){},ja=function(e){return"<"+Oa+">"+e+"</"+Oa+">"},Ta=function(e){e.write(ja("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ia=function(){try{ga=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Ia="undefined"!=typeof document?document.domain&&ga?Ta(ga):(t=Aa("iframe"),r="java"+Oa+":",t.style.display="none",xa.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(ja("document.F=Object")),e.close(),e.F):Ta(ga);for(var n=Sa.length;n--;)delete Ia[Ra][Sa[n]];return Ia()};Ea[Pa]=!0;var _a=Object.create||function(e,t){var r;return null!==e?(ka[Ra]=ba(e),r=new ka,ka[Ra]=null,r[Pa]=e):r=Ia(),void 0===t?r:wa.f(r,t)},Na=Ot,Ca=_a,Ua=Zt.f,La=Na("unscopables"),Da=Array.prototype;void 0===Da[La]&&Ua(Da,La,{configurable:!0,value:Ca(null)});var Fa,Ba,Ma,qa={},Wa=!j(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Ga=pt,za=le,Ha=ct,$a=Wa,Va=Fr("IE_PROTO"),Ka=Object,Ya=Ka.prototype,Ja=$a?Ka.getPrototypeOf:function(e){var t=Ha(e);if(Ga(t,Va))return t[Va];var r=t.constructor;return za(r)&&t instanceof r?r.prototype:t instanceof Ka?Ya:null},Qa=j,Xa=le,Za=pe,es=Ja,ts=An,rs=Ot("iterator"),ns=!1;[].keys&&("next"in(Ma=[].keys())?(Ba=es(es(Ma)))!==Object.prototype&&(Fa=Ba):ns=!0);var os=!Za(Fa)||Qa(function(){var e={};return Fa[rs].call(e)!==e});os&&(Fa={}),Xa(Fa[rs])||ts(Fa,rs,function(){return this});var is={IteratorPrototype:Fa,BUGGY_SAFARI_ITERATORS:ns},as=Zt.f,ss=pt,us=Ot("toStringTag"),cs=function(e,t,r){e&&!r&&(e=e.prototype),e&&!ss(e,us)&&as(e,us,{configurable:!0,value:t})},ls=is.IteratorPrototype,fs=_a,ps=q,hs=cs,ds=qa,ys=function(){return this},ms=function(e,t,r,n){var o=t+" Iterator";return e.prototype=fs(ls,{next:ps(+!n,r)}),hs(e,o,!1),ds[o]=ys,e},gs=Oo,vs=C,bs=le,ws=ms,Ss=Ja,Es=ea,xs=cs,As=vr,Rs=An,Os=qa,Ps=Rr.PROPER,ks=Rr.CONFIGURABLE,js=is.IteratorPrototype,Ts=is.BUGGY_SAFARI_ITERATORS,Is=Ot("iterator"),_s="keys",Ns="values",Cs="entries",Us=function(){return this},Ls=function(e,t,r,n,o,i,a){ws(r,t,n);var s,u,c,l=function(e){if(e===o&&y)return y;if(!Ts&&e&&e in h)return h[e];switch(e){case _s:case Ns:case Cs:return function(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",p=!1,h=e.prototype,d=h[Is]||h["@@iterator"]||o&&h[o],y=!Ts&&d||l(o),m="Array"===t&&h.entries||d;if(m&&(s=Ss(m.call(new e)))!==Object.prototype&&s.next&&(Ss(s)!==js&&(Es?Es(s,js):bs(s[Is])||Rs(s,Is,Us)),xs(s,f,!0)),Ps&&o===Ns&&d&&d.name!==Ns&&(ks?As(h,"name",Ns):(p=!0,y=function(){return vs(d,this)})),o)if(u={values:l(Ns),keys:i?y:l(_s),entries:l(Cs)},a)for(c in u)(Ts||p||!(c in h))&&Rs(h,c,u[c]);else gs({target:t,proto:!0,forced:Ts||p},u);return h[Is]!==y&&Rs(h,Is,y,{name:o}),Os[t]=y,u},Ds=function(e,t){return{value:e,done:t}},Fs=ue,Bs=function(e){Da[La][e]=!0},Ms=qa,qs=Zr,Ws=Zt.f,Gs=Ls,zs=Ds,Hs=T,$s="Array Iterator",Vs=qs.set,Ks=qs.getterFor($s),Ys=Gs(Array,"Array",function(e,t){Vs(this,{type:$s,target:Fs(e),index:0,kind:t})},function(){var e=Ks(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,zs(void 0,!0);switch(e.kind){case"keys":return zs(r,!1);case"values":return zs(t[r],!1)}return zs([r,t[r]],!1)},"values"),Js=Ms.Arguments=Ms.Array;if(Bs("keys"),Bs("values"),Bs("entries"),Hs&&"values"!==Js.name)try{Ws(Js,"name",{value:"values"})}catch(e){}var Qs=$,Xs=An,Zs=Date.prototype,eu="Invalid Date",tu="toString",ru=Qs(Zs[tu]),nu=Qs(Zs.getTime);String(new Date(NaN))!==eu&&Xs(Zs,tu,function(){var e=nu(this);return e==e?ru(this):eu});var ou=Vo,iu=Mo?{}.toString:function(){return"[object "+ou(this)+"]"};Mo||An(Object.prototype,"toString",iu,{unsafe:!0});var au,su=Vo,uu=String,cu=function(e){if("Symbol"===su(e))throw new TypeError("Cannot convert a Symbol value to a string");return uu(e)},lu="\t\n\v\f\r \u2028\u2029\ufeff",fu=ie,pu=cu,hu=lu,du=$("".replace),yu=RegExp("^["+hu+"]+"),mu=RegExp("(^|[^"+hu+"])["+hu+"]+$"),gu={trim:(au=3,function(e){var t=pu(fu(e));return 1&au&&(t=du(t,yu,"")),2&au&&(t=du(t,mu,"$1")),t})},vu=P,bu=j,wu=cu,Su=gu.trim,Eu=lu,xu=$("".charAt),Au=vu.parseFloat,Ru=vu.Symbol,Ou=Ru&&Ru.iterator,Pu=1/Au(Eu+"-0")!=-1/0||Ou&&!bu(function(){Au(Object(Ou))})?function(e){var t=Su(wu(e)),r=Au(t);return 0===r&&"-"===xu(t,0)?-0:r}:Au;Oo({global:!0,forced:parseFloat!==Pu},{parseFloat:Pu});var ku=or,ju=function(){var e=ku(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},Tu=j,Iu=P.RegExp,_u=Tu(function(){var e=Iu("a","y");return e.lastIndex=2,null!==e.exec("abcd")});_u||Tu(function(){return!Iu("a","y").sticky});var Nu,Cu,Uu={BROKEN_CARET:_u||Tu(function(){var e=Iu("^r","gy");return e.lastIndex=2,null!==e.exec("str")})},Lu=j,Du=P.RegExp,Fu=Lu(function(){var e=Du(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}),Bu=j,Mu=P.RegExp,qu=Bu(function(){var e=Mu("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),Wu=C,Gu=$,zu=cu,Hu=ju,$u=Uu,Vu=_a,Ku=Zr.get,Yu=Fu,Ju=qu,Qu=at("native-string-replace",String.prototype.replace),Xu=RegExp.prototype.exec,Zu=Xu,ec=Gu("".charAt),tc=Gu("".indexOf),rc=Gu("".replace),nc=Gu("".slice),oc=(Cu=/b*/g,Wu(Xu,Nu=/a/,"a"),Wu(Xu,Cu,"a"),0!==Nu.lastIndex||0!==Cu.lastIndex),ic=$u.BROKEN_CARET,ac=void 0!==/()??/.exec("")[1],sc=function(e,t){for(var r=e.groups=Vu(null),n=0;n<t.length;n++){var o=t[n];r[o[0]]=e[o[1]]}};(oc||ac||ic||Yu||Ju)&&(Zu=function(e){var t,r,n,o=this,i=Ku(o),a=zu(e),s=i.raw;if(s)return s.lastIndex=o.lastIndex,t=Wu(Zu,s,a),o.lastIndex=s.lastIndex,t&&i.groups&&sc(t,i.groups),t;var u=i.groups,c=ic&&o.sticky,l=Wu(Hu,o),f=o.source,p=0,h=a;if(c){l=rc(l,"y",""),-1===tc(l,"g")&&(l+="g"),h=nc(a,o.lastIndex);var d=o.lastIndex>0&&ec(a,o.lastIndex-1);o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==d&&"\r"!==d&&"\u2028"!==d&&"\u2029"!==d)&&(f="(?: (?:"+f+"))",h=" "+h,p++),r=new RegExp("^(?:"+f+")",l)}ac&&(r=new RegExp("^"+f+"$(?!\\s)",l)),oc&&(n=o.lastIndex);var y=Wu(Xu,c?r:o,h);return c?y?(y.input=a,y[0]=nc(y[0],p),y.index=o.lastIndex,o.lastIndex+=y[0].length):o.lastIndex=0:oc&&y&&(o.lastIndex=o.global?y.index+y[0].length:n),ac&&y&&y.length>1&&Wu(Qu,y[0],r,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(y[e]=void 0)}),y&&u&&sc(y,u),y});var uc=Zu;Oo({target:"RegExp",proto:!0,forced:/./.exec!==uc},{exec:uc});var cc=j,lc=P.RegExp,fc=!cc(function(){var e=!0;try{lc(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",o=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(lc.prototype,"flags").get.call(t)!==n||r!==n}),pc=C,hc=pt,dc=me,yc={correct:fc},mc=ju,gc=RegExp.prototype,vc=yc.correct?function(e){return e.flags}:function(e){return yc.correct||!dc(gc,e)||hc(e,"flags")?e.flags:pc(mc,e)},bc=Rr.PROPER,wc=An,Sc=or,Ec=cu,xc=j,Ac=vc,Rc="toString",Oc=RegExp.prototype,Pc=Oc[Rc],kc=xc(function(){return"/a/b"!==Pc.call({source:"a",flags:"b"})}),jc=bc&&Pc.name!==Rc;(kc||jc)&&wc(Oc,Rc,function(){var e=Sc(this);return"/"+Ec(e.source)+"/"+Ec(Ac(e))},{unsafe:!0});var Tc=$,Ic=jn,_c=cu,Nc=ie,Cc=Tc("".charAt),Uc=Tc("".charCodeAt),Lc=Tc("".slice),Dc=function(e){return function(t,r){var n,o,i=_c(Nc(t)),a=Ic(r),s=i.length;return a<0||a>=s?e?"":void 0:(n=Uc(i,a))<55296||n>56319||a+1===s||(o=Uc(i,a+1))<56320||o>57343?e?Cc(i,a):n:e?Lc(i,a,a+2):o-56320+(n-55296<<10)+65536}},Fc={codeAt:Dc(!1),charAt:Dc(!0)},Bc=Fc.charAt,Mc=cu,qc=Zr,Wc=Ls,Gc=Ds,zc="String Iterator",Hc=qc.set,$c=qc.getterFor(zc);Wc(String,"String",function(e){Hc(this,{type:zc,string:Mc(e),index:0})},function(){var e,t=$c(this),r=t.string,n=t.index;return n>=r.length?Gc(void 0,!0):(e=Bc(r,n),t.index+=e.length,Gc(e,!1))});var Vc=I,Kc=Function.prototype,Yc=Kc.apply,Jc=Kc.call,Qc="object"==typeof Reflect&&Reflect.apply||(Vc?Jc.bind(Yc):function(){return Jc.apply(Yc,arguments)}),Xc=C,Zc=An,el=uc,tl=j,rl=Ot,nl=vr,ol=rl("species"),il=RegExp.prototype,al=function(e,t,r,n){var o=rl(e),i=!tl(function(){var t={};return t[o]=function(){return 7},7!==""[e](t)}),a=i&&!tl(function(){var t=!1,r=/a/;if("split"===e){var n={};n[ol]=function(){return r},(r={constructor:n,flags:""})[o]=/./[o]}return r.exec=function(){return t=!0,null},r[o](""),!t});if(!i||!a||r){var s=/./[o],u=t(o,""[e],function(e,t,r,n,o){var a=t.exec;return a===el||a===il.exec?i&&!o?{done:!0,value:Xc(s,t,r,n)}:{done:!0,value:Xc(e,r,t,n)}:{done:!1}});Zc(String.prototype,e,u[0]),Zc(il,o,u[1])}n&&nl(il[o],"sham",!0)},sl=Fc.charAt,ul=function(e,t,r){return t+(r&&sl(e,t).length||1)},cl=$,ll=ct,fl=Math.floor,pl=cl("".charAt),hl=cl("".replace),dl=cl("".slice),yl=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ml=/\$([$&'`]|\d{1,2})/g,gl=C,vl=or,bl=le,wl=J,Sl=uc,El=TypeError,xl=function(e,t){var r=e.exec;if(bl(r)){var n=gl(r,e,t);return null!==n&&vl(n),n}if("RegExp"===wl(e))return gl(Sl,e,t);throw new El("RegExp#exec called on incompatible receiver")},Al=Qc,Rl=C,Ol=$,Pl=al,kl=j,jl=or,Tl=le,Il=pe,_l=jn,Nl=Ln,Cl=cu,Ul=ie,Ll=ul,Dl=He,Fl=function(e,t,r,n,o,i){var a=r+e.length,s=n.length,u=ml;return void 0!==o&&(o=ll(o),u=yl),hl(i,u,function(i,u){var c;switch(pl(u,0)){case"$":return"$";case"&":return e;case"`":return dl(t,0,r);case"'":return dl(t,a);case"<":c=o[dl(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var f=fl(l/10);return 0===f?i:f<=s?void 0===n[f-1]?pl(u,1):n[f-1]+pl(u,1):i}c=n[l-1]}return void 0===c?"":c})},Bl=vc,Ml=xl,ql=Ot("replace"),Wl=Math.max,Gl=Math.min,zl=Ol([].concat),Hl=Ol([].push),$l=Ol("".indexOf),Vl=Ol("".slice),Kl=function(e){return void 0===e?e:String(e)},Yl="$0"==="a".replace(/./,"$0"),Jl=!!/./[ql]&&""===/./[ql]("a","$0");Pl("replace",function(e,t,r){var n=Jl?"$":"$0";return[function(e,r){var n=Ul(this),o=Il(e)?Dl(e,ql):void 0;return o?Rl(o,e,n,r):Rl(t,Cl(n),e,r)},function(e,o){var i=jl(this),a=Cl(e),s=Tl(o);s||(o=Cl(o));var u=Cl(Bl(i));if("string"==typeof o&&!~$l(o,n)&&!~$l(o,"$<")&&!~$l(u,"y")){var c=r(t,i,a,o);if(c.done)return c.value}var l,f=!!~$l(u,"g");f&&(l=!!~$l(u,"u")||!!~$l(u,"v"),i.lastIndex=0);for(var p,h=[];null!==(p=Ml(i,a))&&(Hl(h,p),f);){""===Cl(p[0])&&(i.lastIndex=Ll(a,Nl(i.lastIndex),l))}for(var d="",y=0,m=0;m<h.length;m++){for(var g,v=Cl((p=h[m])[0]),b=Wl(Gl(_l(p.index),a.length),0),w=[],S=1;S<p.length;S++)Hl(w,Kl(p[S]));var E=p.groups;if(s){var x=zl([v],w,b,a);void 0!==E&&Hl(x,E),g=Cl(Al(o,void 0,x))}else g=Fl(v,a,b,w,E,o);b>=y&&(d+=Vl(a,y,b)+g,y=b+v.length)}return d+Vl(a,y)}]},!!kl(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!Yl||Jl);var Ql={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Xl=qt("span").classList,Zl=Xl&&Xl.constructor&&Xl.constructor.prototype,ef=Zl===Object.prototype?void 0:Zl,tf=P,rf=Ql,nf=ef,of=Ys,af=vr,sf=cs,uf=Ot("iterator"),cf=of.values,lf=function(e,t){if(e){if(e[uf]!==cf)try{af(e,uf,cf)}catch(t){e[uf]=cf}if(sf(e,t,!0),rf[t])for(var r in of)if(e[r]!==of[r])try{af(e,r,of[r])}catch(t){e[r]=of[r]}}};for(var ff in rf)lf(tf[ff]&&tf[ff].prototype,ff);lf(nf,"DOMTokenList");var pf=j,hf=T,df=Ot("iterator"),yf=!pf(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),r.delete("a",2),r.delete("b",void 0),!t.size&&!hf||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[df]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}),mf=J,gf=$,vf=function(e){if("Function"===mf(e))return gf(e)},bf=We,wf=I,Sf=vf(vf.bind),Ef=function(e,t){return bf(e),void 0===t?e:wf?Sf(e,t):function(){return e.apply(t,arguments)}},xf=me,Af=TypeError,Rf=function(e,t){if(xf(t,e))return e;throw new Af("Incorrect invocation")},Of=T,Pf=$,kf=C,jf=j,Tf=la,If=Xn,_f=U,Nf=ct,Cf=te,Uf=Object.assign,Lf=Object.defineProperty,Df=Pf([].concat),Ff=!Uf||jf(function(){if(Of&&1!==Uf({b:1},Uf(Lf({},"a",{enumerable:!0,get:function(){Lf(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!==Uf({},e)[r]||Tf(Uf({},t)).join("")!==n})?function(e,t){for(var r=Nf(e),n=arguments.length,o=1,i=If.f,a=_f.f;n>o;)for(var s,u=Cf(arguments[o++]),c=i?Df(Tf(u),i(u)):Tf(u),l=c.length,f=0;l>f;)s=c[f++],Of&&!kf(a,u,s)||(r[s]=u[s]);return r}:Uf,Bf=C,Mf=or,qf=He,Wf=function(e,t,r){var n,o;Mf(e);try{if(!(n=qf(e,"return"))){if("throw"===t)throw r;return r}n=Bf(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return Mf(n),r},Gf=or,zf=Wf,Hf=qa,$f=Ot("iterator"),Vf=Array.prototype,Kf=Vo,Yf=He,Jf=re,Qf=qa,Xf=Ot("iterator"),Zf=function(e){if(!Jf(e))return Yf(e,Xf)||Yf(e,"@@iterator")||Qf[Kf(e)]},ep=C,tp=We,rp=or,np=Fe,op=Zf,ip=TypeError,ap=function(e,t){var r=arguments.length<2?op(e):t;if(tp(r))return rp(ep(r,e));throw new ip(np(e)+" is not iterable")},sp=Ef,up=C,cp=ct,lp=function(e,t,r,n){try{return n?t(Gf(r)[0],r[1]):t(r)}catch(t){zf(e,"throw",t)}},fp=function(e){return void 0!==e&&(Hf.Array===e||Vf[$f]===e)},pp=ai,hp=Fn,dp=No,yp=Fo,mp=ap,gp=Zf,vp=Wf,bp=Array,wp=$([].slice),Sp=$,Ep=2147483647,xp=/[^\0-\u007E]/,Ap=/[.\u3002\uFF0E\uFF61]/g,Rp="Overflow: input needs wider integers to process",Op=RangeError,Pp=Sp(Ap.exec),kp=Math.floor,jp=String.fromCharCode,Tp=Sp("".charCodeAt),Ip=Sp([].join),_p=Sp([].push),Np=Sp("".replace),Cp=Sp("".split),Up=Sp("".toLowerCase),Lp=function(e){return e+22+75*(e<26)},Dp=function(e,t,r){var n=0;for(e=r?kp(e/700):e>>1,e+=kp(e/t);e>455;)e=kp(e/35),n+=36;return kp(n+36*e/(e+38))},Fp=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=Tp(e,r++);if(o>=55296&&o<=56319&&r<n){var i=Tp(e,r++);56320==(64512&i)?_p(t,((1023&o)<<10)+(1023&i)+65536):(_p(t,o),r--)}else _p(t,o)}return t}(e);var r,n,o=e.length,i=128,a=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&_p(t,jp(n));var u=t.length,c=u;for(u&&_p(t,"-");c<o;){var l=Ep;for(r=0;r<e.length;r++)(n=e[r])>=i&&n<l&&(l=n);var f=c+1;if(l-i>kp((Ep-a)/f))throw new Op(Rp);for(a+=(l-i)*f,i=l,r=0;r<e.length;r++){if((n=e[r])<i&&++a>Ep)throw new Op(Rp);if(n===i){for(var p=a,h=36;;){var d=h<=s?1:h>=s+26?26:h-s;if(p<d)break;var y=p-d,m=36-d;_p(t,jp(Lp(d+y%m))),p=kp(y/m),h+=36}_p(t,jp(Lp(p))),s=Dp(a,f,c===u),a=0,c++}}a++,i++}return Ip(t,"")},Bp=TypeError,Mp=function(e,t){if(e<t)throw new Bp("Not enough arguments");return e},qp=Oo,Wp=$,Gp=Nn,zp=RangeError,Hp=String.fromCharCode,$p=String.fromCodePoint,Vp=Wp([].join);qp({target:"String",stat:!0,arity:1,forced:!!$p&&1!==$p.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,o=0;n>o;){if(Gp(t=+arguments[o],1114111)!==t)throw new zp(t+" is not a valid code point");r[o++]=t<65536?Hp(t):Hp(55296+((t-=65536)>>10),t%1024+56320)}return Vp(r,"")}});var Kp=P,Yp=T,Jp=Object.getOwnPropertyDescriptor,Qp=An,Xp=wp,Zp=Math.floor,eh=function(e,t){var r=e.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=e[i];o&&t(e[o-1],n)>0;)e[o]=e[--o];o!==i++&&(e[o]=n)}else for(var a=Zp(r/2),s=eh(Xp(e,0,a),t),u=eh(Xp(e,a),t),c=s.length,l=u.length,f=0,p=0;f<c||p<l;)e[f+p]=f<c&&p<l?t(s[f],u[p])<=0?s[f++]:u[p++]:f<c?s[f++]:u[p++];return e},th=Oo,rh=P,nh=function(e){if(!Yp)return Kp[e];var t=Jp(Kp,e);return t&&t.value},oh=ye,ih=C,ah=$,sh=T,uh=yf,ch=An,lh=Ui,fh=function(e,t,r){for(var n in t)Qp(e,n,t[n],r);return e},ph=cs,hh=ms,dh=Zr,yh=Rf,mh=le,gh=pt,vh=Ef,bh=Vo,wh=or,Sh=pe,Eh=cu,xh=_a,Ah=q,Rh=ap,Oh=Zf,Ph=Ds,kh=Mp,jh=eh,Th=Ot("iterator"),Ih="URLSearchParams",_h=Ih+"Iterator",Nh=dh.set,Ch=dh.getterFor(Ih),Uh=dh.getterFor(_h),Lh=nh("fetch"),Dh=nh("Request"),Fh=nh("Headers"),Bh=Dh&&Dh.prototype,Mh=Fh&&Fh.prototype,qh=rh.TypeError,Wh=rh.encodeURIComponent,Gh=String.fromCharCode,zh=oh("String","fromCodePoint"),Hh=parseInt,$h=ah("".charAt),Vh=ah([].join),Kh=ah([].push),Yh=ah("".replace),Jh=ah([].shift),Qh=ah([].splice),Xh=ah("".split),Zh=ah("".slice),ed=ah(/./.exec),td=/\+/g,rd=/^[0-9a-f]+$/i,nd=function(e,t){var r=Zh(e,t,t+2);return ed(rd,r)?Hh(r,16):NaN},od=function(e){for(var t=0,r=128;r>0&&0!==(e&r);r>>=1)t++;return t},id=function(e){var t=null,r=e.length;switch(r){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return null===t||t>1114111||t>=55296&&t<=57343||t<(r>3?65536:r>2?2048:r>1?128:0)?null:t},ad=function(e){for(var t=(e=Yh(e,td," ")).length,r="",n=0;n<t;){var o=$h(e,n);if("%"===o){if("%"===$h(e,n+1)||n+3>t){r+="%",n++;continue}var i=nd(e,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=od(i);if(0===a)o=Gh(i);else{if(1===a||a>4){r+="�",n++;continue}for(var s=[i],u=1;u<a&&!(++n+3>t||"%"!==$h(e,n));){var c=nd(e,n+1);if(c!=c||c>191||c<128)break;if(1===u){if(224===i&&c<160)break;if(237===i&&c>159)break;if(240===i&&c<144)break;if(244===i&&c>143)break}Kh(s,c),n+=2,u++}if(s.length!==a){r+="�";continue}var l=id(s);if(null===l){for(var f=0;f<a;f++)r+="�";n++;continue}o=zh(l)}}r+=o,n++}return r},sd=/[!'()~]|%20/g,ud={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},cd=function(e){return ud[e]},ld=function(e){return Yh(Wh(e),sd,cd)},fd=hh(function(e,t){Nh(this,{type:_h,target:Ch(e).entries,index:0,kind:t})},Ih,function(){var e=Uh(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,Ph(void 0,!0);var n=t[r];switch(e.kind){case"keys":return Ph(n.key,!1);case"values":return Ph(n.value,!1)}return Ph([n.key,n.value],!1)},!0),pd=function(e){this.entries=[],this.url=null,void 0!==e&&(Sh(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===$h(e,0)?Zh(e,1):e:Eh(e)))};pd.prototype={type:Ih,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,a,s,u=this.entries,c=Oh(e);if(c)for(r=(t=Rh(e,c)).next;!(n=ih(r,t)).done;){if(i=(o=Rh(wh(n.value))).next,(a=ih(i,o)).done||(s=ih(i,o)).done||!ih(i,o).done)throw new qh("Expected sequence with length 2");Kh(u,{key:Eh(a.value),value:Eh(s.value)})}else for(var l in e)gh(e,l)&&Kh(u,{key:l,value:Eh(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,o=Xh(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(r=Xh(t,"="),Kh(n,{key:ad(Jh(r)),value:ad(Vh(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Kh(r,ld(e.key)+"="+ld(e.value));return Vh(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var hd=function(){yh(this,dd);var e=Nh(this,new pd(arguments.length>0?arguments[0]:void 0));sh||(this.size=e.entries.length)},dd=hd.prototype;if(fh(dd,{append:function(e,t){var r=Ch(this);kh(arguments.length,2),Kh(r.entries,{key:Eh(e),value:Eh(t)}),sh||this.size++,r.updateURL()},delete:function(e){for(var t=Ch(this),r=kh(arguments.length,1),n=t.entries,o=Eh(e),i=r<2?void 0:arguments[1],a=void 0===i?i:Eh(i),s=0;s<n.length;){var u=n[s];u.key!==o||void 0!==a&&u.value!==a?s++:Qh(n,s,1)}sh||(this.size=n.length),t.updateURL()},get:function(e){var t=Ch(this).entries;kh(arguments.length,1);for(var r=Eh(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=Ch(this).entries;kh(arguments.length,1);for(var r=Eh(e),n=[],o=0;o<t.length;o++)t[o].key===r&&Kh(n,t[o].value);return n},has:function(e){for(var t=Ch(this).entries,r=kh(arguments.length,1),n=Eh(e),o=r<2?void 0:arguments[1],i=void 0===o?o:Eh(o),a=0;a<t.length;){var s=t[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var r=Ch(this);kh(arguments.length,2);for(var n,o=r.entries,i=!1,a=Eh(e),s=Eh(t),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?Qh(o,u--,1):(i=!0,n.value=s));i||Kh(o,{key:a,value:s}),sh||(this.size=o.length),r.updateURL()},sort:function(){var e=Ch(this);jh(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=Ch(this).entries,n=vh(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new fd(this,"keys")},values:function(){return new fd(this,"values")},entries:function(){return new fd(this,"entries")}},{enumerable:!0}),ch(dd,Th,dd.entries,{name:"entries"}),ch(dd,"toString",function(){return Ch(this).serialize()},{enumerable:!0}),sh&&lh(dd,"size",{get:function(){return Ch(this).entries.length},configurable:!0,enumerable:!0}),ph(hd,Ih),th({global:!0,constructor:!0,forced:!uh},{URLSearchParams:hd}),!uh&&mh(Fh)){var yd=ah(Mh.has),md=ah(Mh.set),gd=function(e){if(Sh(e)){var t,r=e.body;if(bh(r)===Ih)return t=e.headers?new Fh(e.headers):new Fh,yd(t,"content-type")||md(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),xh(e,{body:Ah(0,Eh(r)),headers:Ah(0,t)})}return e};if(mh(Lh)&&th({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return Lh(e,arguments.length>1?gd(arguments[1]):{})}}),mh(Dh)){var vd=function(e){return yh(this,Bh),new Dh(e,arguments.length>1?gd(arguments[1]):{})};Bh.constructor=vd,vd.prototype=Bh,th({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:vd})}}var bd,wd=Oo,Sd=T,Ed=yf,xd=P,Ad=Ef,Rd=$,Od=An,Pd=Ui,kd=Rf,jd=pt,Td=Ff,Id=function(e){var t=pp(this),r=arguments.length,n=r>1?arguments[1]:void 0,o=void 0!==n;o&&(n=sp(n,r>2?arguments[2]:void 0));var i,a,s,u,c,l,f=cp(e),p=gp(f),h=0;if(!p||this===bp&&fp(p))for(i=hp(f),a=t?new this(i):bp(i);i>h;h++)l=o?n(f[h],h):f[h],dp(a,h,l);else for(a=t?new this:[],c=(u=mp(f,p)).next;!(s=up(c,u)).done;h++){l=o?lp(u,n,[s.value,h],!0):s.value;try{dp(a,h,l)}catch(e){vp(u,"throw",e)}}return yp(a,h),a},_d=wp,Nd=Fc.codeAt,Cd=function(e){var t,r,n=[],o=Cp(Np(Up(e),Ap,"."),".");for(t=0;t<o.length;t++)r=o[t],_p(n,Pp(xp,r)?"xn--"+Fp(r):r);return Ip(n,".")},Ud=cu,Ld=cs,Dd=Mp,Fd={URLSearchParams:hd,getState:Ch},Bd=Zr,Md=Bd.set,qd=Bd.getterFor("URL"),Wd=Fd.URLSearchParams,Gd=Fd.getState,zd=xd.URL,Hd=xd.TypeError,$d=xd.encodeURIComponent,Vd=xd.parseInt,Kd=Math.floor,Yd=Math.pow,Jd=Rd("".charAt),Qd=Rd(/./.exec),Xd=Rd([].join),Zd=Rd(1.1.toString),ey=Rd([].pop),ty=Rd([].push),ry=Rd("".replace),ny=Rd([].shift),oy=Rd("".split),iy=Rd("".slice),ay=Rd("".toLowerCase),sy=Rd([].unshift),uy="Invalid scheme",cy="Invalid host",ly="Invalid port",fy=/[a-z]/i,py=/[\d+\-.a-z]/i,hy=/\d/,dy=/^0x/i,yy=/^[0-7]+$/,my=/^\d+$/,gy=/^[\da-f]+$/i,vy=/[\0\t\n\r #%/:<>?@[\\\]^|]/,by=/[\0\t\n\r #/:<>?@[\\\]^|]/,wy=/^[\u0000-\u0020]+/,Sy=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ey=/[\t\n\r]/g,xy=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)sy(t,e%256),e=Kd(e/256);return Xd(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r?n:t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=Zd(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Ay={},Ry=Td({},Ay,{" ":1,'"':1,"#":1,"<":1,">":1}),Oy=Td({},Ry,{"'":1}),Py=Td({},Ay,{" ":1,'"':1,"<":1,">":1,"`":1}),ky=Td({},Py,{"#":1,"?":1,"{":1,"}":1,"^":1}),jy=Td({},ky,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ty=function(e,t){var r=Nd(e,0);return r>=32&&r<127&&!jd(t,e)?e:"'"===e&&jd(t,e)?"%27":$d(e)},Iy={ftp:21,file:null,http:80,https:443,ws:80,wss:443},_y=function(e,t){var r;return 2===e.length&&Qd(fy,Jd(e,0))&&(":"===(r=Jd(e,1))||!t&&"|"===r)},Ny=function(e){var t;return e.length>1&&_y(iy(e,0,2))&&(2===e.length||"/"===(t=Jd(e,2))||"\\"===t||"?"===t||"#"===t)},Cy=function(e){return"."===e||"%2e"===ay(e)},Uy=function(e){return".."===(e=ay(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},Ly={},Dy={},Fy={},By={},My={},qy={},Wy={},Gy={},zy={},Hy={},$y={},Vy={},Ky={},Yy={},Jy={},Qy={},Xy={},Zy={},em={},tm={},rm={},nm=function(e,t,r){var n,o,i,a=Ud(e);if(t){if(o=this.parse(a))throw new Hd(o);this.searchParams=null}else{if(void 0!==r&&(n=new nm(r,!0)),o=this.parse(a,null,n))throw new Hd(o);(i=Gd(new Wd)).bindURL(this),this.searchParams=i}};nm.prototype={type:"URL",parse:function(e,t,r){var n,o,i,a,s=this,u=t||Ly,c=0,l="",f=!1,p=!1,h=!1;for(e=Ud(e),t||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,e=ry(e,wy,""),e=ry(e,Sy,"$1")),e=ry(e,Ey,""),n=Id(e);c<=n.length;){switch(o=n[c],u){case Ly:if(!o||!Qd(fy,o)){if(t)return uy;u=Fy;continue}l+=ay(o),u=Dy;break;case Dy:if(o&&Qd(py,o))l+=ay(o);else{if(":"!==o){if(t)return uy;l="",u=Fy,c=0;continue}if(t&&(s.isSpecial()!==jd(Iy,l)||"file"===l&&(s.includesCredentials()||null!==s.port)||"file"===s.scheme&&""===s.host))return;if(s.scheme=l,t)return void(s.isSpecial()&&Iy[s.scheme]===s.port&&(s.port=null));l="","file"===s.scheme?u=Yy:s.isSpecial()&&r&&r.scheme===s.scheme?u=By:s.isSpecial()?u=Gy:"/"===n[c+1]?(u=My,c++):(s.cannotBeABaseURL=!0,ty(s.path,""),u=em)}break;case Fy:if(!r||r.cannotBeABaseURL&&"#"!==o)return uy;if(r.cannotBeABaseURL&&"#"===o){s.scheme=r.scheme,s.path=_d(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,u=rm;break}u="file"===r.scheme?Yy:qy;continue;case By:if("/"!==o||"/"!==n[c+1]){u=qy;continue}u=zy,c++;break;case My:if("/"===o){u=Hy;break}u=Zy;continue;case qy:if(s.scheme=r.scheme,o===bd)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=_d(r.path),s.query=r.query;else if("/"===o||"\\"===o&&s.isSpecial())u=Wy;else if("?"===o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=_d(r.path),s.query="",u=tm;else{if("#"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=_d(r.path),s.path.length&&s.path.length--,u=Zy;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=_d(r.path),s.query=r.query,s.fragment="",u=rm}break;case Wy:if(!s.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,u=Zy;continue}u=Hy}else u=zy;break;case Gy:if(u=zy,"/"!==o||"/"!==n[c+1])continue;c++;break;case zy:if("/"!==o&&"\\"!==o){u=Hy;continue}break;case Hy:if("@"===o){f&&(l="%40"+l),f=!0,i=Id(l);for(var d=0;d<i.length;d++){var y=i[d];if(":"!==y||h){var m=Ty(y,jy);h?s.password+=m:s.username+=m}else h=!0}l=""}else if(o===bd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(f&&""===l)return"Invalid authority";c-=Id(l).length+1,l="",u=$y}else l+=o;break;case $y:case Vy:if(t&&"file"===s.scheme){u=Qy;continue}if(":"!==o||p){if(o===bd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(s.isSpecial()&&""===l)return cy;if(t&&""===l&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(l))return a;if(l="",u=Xy,t)return;continue}"["===o?p=!0:"]"===o&&(p=!1),l+=o}else{if(""===l)return cy;if(t===Vy)return;if(a=s.parseHost(l))return a;l="",u=Ky}break;case Ky:if(!Qd(hy,o)){if(o===bd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()||t){if(""!==l){var g=Vd(l,10);if(g>65535)return ly;s.port=s.isSpecial()&&g===Iy[s.scheme]?null:g,l=""}if(t)return;u=Xy;continue}return ly}l+=o;break;case Yy:if(s.scheme="file",s.host="","/"===o||"\\"===o)u=Jy;else{if(!r||"file"!==r.scheme){u=Zy;continue}switch(o){case bd:s.host=r.host,s.path=_d(r.path),s.query=r.query;break;case"?":s.host=r.host,s.path=_d(r.path),s.query="",u=tm;break;case"#":s.host=r.host,s.path=_d(r.path),s.query=r.query,s.fragment="",u=rm;break;default:s.host=r.host,Ny(Xd(_d(n,c),""))||(s.path=_d(r.path),s.shortenPath()),u=Zy;continue}}break;case Jy:if("/"===o||"\\"===o){u=Qy;break}r&&"file"===r.scheme&&(s.host=r.host,!Ny(Xd(_d(n,c),""))&&_y(r.path[0],!0)&&ty(s.path,r.path[0])),u=Zy;continue;case Qy:if(o===bd||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&_y(l))u=Zy;else if(""===l){if(s.host="",t)return;u=Xy}else{if(a=s.parseHost(l))return a;if("localhost"===s.host&&(s.host=""),t)return;l="",u=Xy}continue}l+=o;break;case Xy:if(s.isSpecial()){if(u=Zy,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==bd&&(u=Zy,"/"!==o))continue}else s.fragment="",u=rm;else s.query="",u=tm;break;case Zy:if(o===bd||"/"===o||"\\"===o&&s.isSpecial()||!t&&("?"===o||"#"===o)){if(Uy(l)?(s.shortenPath(),"/"===o||"\\"===o&&s.isSpecial()||ty(s.path,"")):Cy(l)?"/"===o||"\\"===o&&s.isSpecial()||ty(s.path,""):("file"===s.scheme&&!s.path.length&&_y(l)&&(null!==s.host&&""!==s.host&&(s.host=""),l=Jd(l,0)+":"),ty(s.path,l)),l="","file"===s.scheme&&(o===bd||"?"===o||"#"===o))for(;s.path.length>1&&""===s.path[0];)ny(s.path);"?"===o?(s.query="",u=tm):"#"===o&&(s.fragment="",u=rm)}else l+=Ty(o,ky);break;case em:"?"===o?(s.query="",u=tm):"#"===o?(s.fragment="",u=rm):o!==bd&&(s.path[0]+=Ty(o,Ay));break;case tm:t||"#"!==o?o!==bd&&(s.query+=Ty(o,s.isSpecial()?Oy:Ry)):(s.fragment="",u=rm);break;case rm:o!==bd&&(s.fragment+=Ty(o,Py))}c++}},parseHost:function(e){var t,r,n;if("["===Jd(e,0)){if("]"!==Jd(e,e.length-1))return cy;if(t=function(e){var t,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,p=function(){return Jd(e,f)};if(":"===p()){if(":"!==Jd(e,1))return;f+=2,l=++c}for(;p();){if(8===c)return;if(":"!==p()){for(t=r=0;r<4&&Qd(gy,p());)t=16*t+Vd(p(),16),f++,r++;if("."===p()){if(0===r)return;if(f-=r,c>6)return;for(n=0;p();){if(o=null,n>0){if(!("."===p()&&n<4))return;f++}if(!Qd(hy,p()))return;for(;Qd(hy,p());){if(i=Vd(p(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;f++}u[c]=256*u[c]+o,2!==++n&&4!==n||c++}if(4!==n)return;break}if(":"===p()){if(f++,!p())return}else if(p())return;u[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!==c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!==c)return;return u}(iy(e,1,-1)),!t)return cy;this.host=t}else if(this.isSpecial()){if(e=Cd(e),Qd(vy,e))return cy;if(function(e){var t,r,n=oy(e,".");if(""===n[n.length-1]){if(1===n.length)return!1;n.length--}return t=n[n.length-1],!!Qd(my,t)||!!Qd(dy,t)&&(""===(r=iy(t,2))||!!Qd(gy,r))}(e)){if(t=function(e){var t,r,n,o,i,a,s,u=oy(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return null;for(r=[],n=0;n<t;n++){if(""===(o=u[n]))return null;if(i=10,o.length>1&&"0"===Jd(o,0)&&(i=Qd(dy,o)?16:8,o=iy(o,8===i?1:2)),""===o)a=0;else{if(!Qd(10===i?my:8===i?yy:gy,o))return null;a=Vd(o,i)}ty(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=Yd(256,5-t))return null}else if(a>255)return null;for(s=ey(r),n=0;n<r.length;n++)s+=r[n]*Yd(256,3-n);return s}(e),null===t)return cy;this.host=t}else this.host=e}else{if(Qd(by,e))return cy;for(t="",r=Id(e),n=0;n<r.length;n++)t+=Ty(r[n],Ay);this.host=t}},cannotHaveUsernamePasswordPort:function(){return null===this.host||""===this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return jd(Iy,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&_y(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=xy(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),null===o&&!e.cannotBeABaseURL&&a.length>1&&""===a[0]&&(c+="/."),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+Xd(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw new Hd(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new om(this.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+xy(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Ud(e)+":",Ly)},getUsername:function(){return this.username},setUsername:function(e){var t=Id(Ud(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Ty(t[r],jy)}},getPassword:function(){return this.password},setPassword:function(e){var t=Id(Ud(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Ty(t[r],jy)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?xy(e):xy(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,$y)},getHostname:function(){var e=this.host;return null===e?"":xy(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Vy)},getPort:function(){var e=this.port;return null===e?"":Ud(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=Ud(e))?this.port=null:this.parse(e,Ky))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+Xd(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Xy))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=Ud(e))?this.query=null:("?"===Jd(e,0)&&(e=iy(e,1)),this.query="",this.parse(e,tm)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=Ud(e))?("#"===Jd(e,0)&&(e=iy(e,1)),this.fragment="",this.parse(e,rm)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var om=function(e){var t=kd(this,im),r=Dd(arguments.length,1)>1?arguments[1]:void 0,n=Md(t,new nm(e,!1,r));Sd||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},im=om.prototype,am=function(e,t){return{get:function(){return qd(this)[e]()},set:t&&function(e){return qd(this)[t](e)},configurable:!0,enumerable:!0}};if(Sd&&(Pd(im,"href",am("serialize","setHref")),Pd(im,"origin",am("getOrigin")),Pd(im,"protocol",am("getProtocol","setProtocol")),Pd(im,"username",am("getUsername","setUsername")),Pd(im,"password",am("getPassword","setPassword")),Pd(im,"host",am("getHost","setHost")),Pd(im,"hostname",am("getHostname","setHostname")),Pd(im,"port",am("getPort","setPort")),Pd(im,"pathname",am("getPathname","setPathname")),Pd(im,"search",am("getSearch","setSearch")),Pd(im,"searchParams",am("getSearchParams")),Pd(im,"hash",am("getHash","setHash"))),Od(im,"toJSON",function(){return qd(this).serialize()},{enumerable:!0}),Od(im,"toString",function(){return qd(this).serialize()},{enumerable:!0}),zd){var sm=zd.createObjectURL,um=zd.revokeObjectURL;sm&&Od(om,"createObjectURL",Ad(sm,zd)),um&&Od(om,"revokeObjectURL",Ad(um,zd))}Ld(om,"URL"),wd({global:!0,constructor:!0,forced:!Ed,sham:!Sd},{URL:om});var cm=C;Oo({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return cm(URL.prototype.toString,this)}});var lm=Ef,fm=te,pm=ct,hm=Fn,dm=hi,ym=No,mm=function(e){var t=1===e,r=2===e,n=3===e,o=4===e,i=6===e,a=7===e,s=5===e||i;return function(u,c,l){for(var f,p,h=pm(u),d=fm(h),y=hm(d),m=lm(c,l),g=0,v=0,b=t?dm(u,y):r||a?dm(u,0):void 0;y>g;g++)if((s||g in d)&&(p=m(f=d[g],g,h),e))if(t)ym(b,g,p);else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return g;case 2:ym(b,v++,f)}else switch(e){case 4:return!1;case 7:ym(b,v++,f)}return i?-1:n||o?o:b}},gm={forEach:mm(0),map:mm(1),every:mm(4)},vm=gm.map;Oo({target:"Array",proto:!0,forced:!gi("map")},{map:function(e){return vm(this,e,arguments.length>1?arguments[1]:void 0)}});var bm=function(e){var t=e.endpointName,r=e.guestSpaceId,n=e.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(t,".json")},wm=function(){return u(function e(t,r){a(this,e),this.client=t,this.guestSpaceId=r},[{key:"buildPathWithGuestSpaceId",value:function(e){return bm(d(d({},e),{},{guestSpaceId:this.guestSpaceId}))}},{key:"buildPath",value:function(e){return bm(e)}}])}(),Sm=["endpointName"],Em=function(e){function t(e,r){var n;return a(this,t),(n=i(this,t,[e,r])).REQUESTS_LENGTH_LIMIT=20,n}return f(t,e),u(t,[{key:"send",value:function(e){var t=this,r=e.requests.map(function(e){if("endpointName"in e){var r=e.endpointName,n=y(e,Sm);return d({api:t.buildPathWithGuestSpaceId({endpointName:r})},n)}return e}),n=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(n,{requests:r})}}])}(wm),xm=["preview"],Am=["preview"],Rm=["preview"],Om=["preview"],Pm=["preview"],km=["preview"],jm=["preview"],Tm=["preview"],Im=["preview"],_m=["preview"],Nm=["preview"],Cm=["preview"],Um=["preview"],Lm=["preview"],Dm=["preview"],Fm=["preview"],Bm=function(e){function t(){return a(this,t),i(this,t,arguments)}return f(t,e),u(t,[{key:"getFormFields",value:function(e){var t=e.preview,r=y(e,xm),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:t});return this.client.get(n,d({},r))}},{key:"addFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(t,e)}},{key:"updateFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(t,e)}},{key:"deleteFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(t,e)}},{key:"getFormLayout",value:function(e){var t=e.preview,r=y(e,Am),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:t});return this.client.get(n,d({},r))}},{key:"updateFormLayout",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(t,e)}},{key:"getViews",value:function(e){var t=e.preview,r=y(e,Rm),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:t});return this.client.get(n,r)}},{key:"updateViews",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(t,e)}},{key:"getApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(t,e)}},{key:"getApps",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(t,e)}},{key:"addApp",value:(r=o(m().m(function e(t){var r,n,o,i,a,s;return m().w(function(e){for(;;)switch(e.n){case 0:if(r=t.name,n=t.space,o=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!n){e.n=2;break}return i=this.buildPathWithGuestSpaceId({endpointName:"space"}),e.n=1,this.client.get(i,{id:n});case 1:return a=e.v,s=a.defaultThread,e.a(2,this.client.post(o,d(d({},t),{},{thread:s})));case 2:return e.a(2,this.client.post(o,{name:r}))}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"getAppSettings",value:function(e){var t=e.preview,r=y(e,Om),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:t});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(t,e)}},{key:"getProcessManagement",value:function(e){var t=e.preview,r=y(e,Pm),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:t});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(t,e)}},{key:"getDeployStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(t,e)}},{key:"deployApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(t,e)}},{key:"getFieldAcl",value:function(e){var t=e.preview,r=y(e,km),n=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateFieldAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppAcl",value:function(e){var t=e.preview,r=y(e,jm),n=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateAppAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(t,e)}},{key:"evaluateRecordsAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(t,e)}},{key:"getRecordAcl",value:function(e){var t=e.preview,r=y(e,Tm),n=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateRecordAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppCustomize",value:function(e){var t=e.preview,r=y(e,Im),n=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:t});return this.client.get(n,d({},r))}},{key:"updateAppCustomize",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(t,e)}},{key:"getGeneralNotifications",value:function(e){var t=e.preview,r=y(e,_m),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:t});return this.client.get(n,d({},r))}},{key:"updateGeneralNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(t,e)}},{key:"getPerRecordNotifications",value:function(e){var t=e.preview,r=y(e,Nm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:t});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(t,e)}},{key:"getReminderNotifications",value:function(e){var t=e.preview,r=y(e,Cm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:t});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(t,e)}},{key:"getReports",value:function(e){var t=e.preview,r=y(e,Um),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:t});return this.client.get(n,r)}},{key:"updateReports",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(t,e)}},{key:"getAppActions",value:function(e){var t=e.preview,r=y(e,Lm),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:t});return this.client.get(n,r)}},{key:"updateAppActions",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(t,e)}},{key:"getAdminNotes",value:function(e){var t=e.preview,r=y(e,Dm),n=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:t});return this.client.get(n,r)}},{key:"updateAdminNotes",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:!0});return this.client.put(t,e)}},{key:"move",value:function(e){var t=this.buildPath({endpointName:"app/move"});return this.client.post(t,e)}},{key:"getPlugins",value:function(e){var t=e.preview,r=y(e,Fm),n=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:t});return this.client.get(n,r)}},{key:"addPlugins",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:!0});return this.client.post(t,e)}},{key:"getStatistics",value:function(e){var t=this.buildPath({endpointName:"apps/statistics"});return this.client.get(t,e)}}]);var r}(wm),Mm=j,qm=function(e,t){var r=[][e];return!!r&&Mm(function(){r.call(null,t||function(){return 1},1)})},Wm=gm.every;Oo({target:"Array",proto:!0,forced:!qm("every")},{every:function(e){return Wm(this,e,arguments.length>1?arguments[1]:void 0)}});var Gm=Oo,zm=Wn.indexOf,Hm=qm,$m=vf([].indexOf),Vm=!!$m&&1/$m([1],1,-0)<0;Gm({target:"Array",proto:!0,forced:Vm||!Hm("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Vm?$m(this,e,t)||0:zm(this,e,t)}}),Oo({target:"Array",stat:!0},{isArray:ko});var Km,Ym=We,Jm=ct,Qm=te,Xm=Fn,Zm=TypeError,eg="Reduce of empty array with no initial value",tg={left:(Km=!1,function(e,t,r,n){var o=Jm(e),i=Qm(o),a=Xm(o);if(Ym(t),0===a&&r<2)throw new Zm(eg);var s=Km?a-1:0,u=Km?-1:1;if(r<2)for(;;){if(s in i){n=i[s],s+=u;break}if(s+=u,Km?s<0:a<=s)throw new Zm(eg)}for(;Km?s>=0:a>s;s+=u)s in i&&(n=t(n,i[s],s,o));return n})},rg=P,ng=be,og=J,ig=function(e){return ng.slice(0,e.length)===e},ag=ig("Bun/")?"BUN":ig("Cloudflare-Workers")?"CLOUDFLARE":ig("Deno/")?"DENO":ig("Node.js/")?"NODE":rg.Bun&&"string"==typeof Bun.version?"BUN":rg.Deno&&"object"==typeof Deno.version?"DENO":"process"===og(rg.process)?"NODE":rg.window&&rg.document?"BROWSER":"REST",sg=tg.left;Oo({target:"Array",proto:!0,forced:!("NODE"===ag)&&Oe>79&&Oe<83||!qm("reduce")},{reduce:function(e){var t=arguments.length;return sg(this,e,t,t>1?arguments[1]:void 0)}});var ug=Oo,cg=ko,lg=ai,fg=pe,pg=Nn,hg=Fn,dg=ue,yg=No,mg=Fo,gg=Ot,vg=wp,bg=gi("slice"),wg=gg("species"),Sg=Array,Eg=Math.max;ug({target:"Array",proto:!0,forced:!bg},{slice:function(e,t){var r,n,o,i=dg(this),a=hg(i),s=pg(e,a),u=pg(void 0===t?a:t,a);if(cg(i)&&(r=i.constructor,(lg(r)&&(r===Sg||cg(r.prototype))||fg(r)&&null===(r=r[wg]))&&(r=void 0),r===Sg||void 0===r))return vg(i,s,u);for(n=new(void 0===r?Sg:r)(Eg(u-s,0)),o=0;s<u;s++,o++)s in i&&yg(n,o,i[s]);return mg(n,o),n}});var xg=P,Ag=le,Rg=pe,Og=ea,Pg=$(1.1.valueOf),kg=Oo,jg=T,Tg=P,Ig=xg,_g=$,Ng=vo,Cg=pt,Ug=function(e,t,r){var n,o;return Og&&Ag(n=t.constructor)&&n!==r&&Rg(o=n.prototype)&&o!==r.prototype&&Og(e,o),e},Lg=me,Dg=Le,Fg=Ct,Bg=j,Mg=Rn.f,qg=k.f,Wg=Zt.f,Gg=Pg,zg=gu.trim,Hg="Number",$g=Tg[Hg];Ig[Hg];var Vg=$g.prototype,Kg=Tg.TypeError,Yg=_g("".slice),Jg=_g("".charCodeAt),Qg=function(e){var t,r,n,o,i,a,s,u,c=Fg(e,"number");if(Dg(c))throw new Kg("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=zg(c),43===(t=Jg(c,0))||45===t){if(88===(r=Jg(c,2))||120===r)return NaN}else if(48===t){switch(Jg(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=Yg(c,2)).length,s=0;s<a;s++)if((u=Jg(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},Xg=Ng(Hg,!$g(" 0o1")||!$g("0b1")||$g("+0x1")),Zg=function(e){var t,r=arguments.length<1?0:$g(function(e){var t=Fg(e,"number");return"bigint"==typeof t?t:Qg(t)}(e));return Lg(Vg,t=this)&&Bg(function(){Gg(t)})?Ug(Object(r),this,Zg):r};Zg.prototype=Vg,Xg&&(Vg.constructor=Zg),kg({global:!0,constructor:!0,wrap:!0,forced:Xg},{Number:Zg});Xg&&function(e,t){for(var r,n=jg?Mg(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)Cg(t,r=n[o])&&!Cg(e,r)&&Wg(e,r,qg(t,r))}(Ig[Hg],$g);var ev=Ff;Oo({target:"Object",stat:!0,arity:2,forced:Object.assign!==ev},{assign:ev});var tv=C,rv=al,nv=or,ov=pe,iv=Ln,av=cu,sv=ie,uv=He,cv=ul,lv=vc,fv=xl,pv=$("".indexOf);rv("match",function(e,t,r){return[function(t){var r=sv(this),n=ov(t)?uv(t,e):void 0;return n?tv(n,t,r):new RegExp(t)[e](av(r))},function(e){var n=nv(this),o=av(e),i=r(t,n,o);if(i.done)return i.value;var a=av(lv(n));if(!~pv(a,"g"))return fv(n,o);var s=!!~pv(a,"u")||!!~pv(a,"v");n.lastIndex=0;for(var u,c=[],l=0;null!==(u=fv(n,o));){var f=av(u[0]);c[l]=f,""===f&&(n.lastIndex=cv(o,iv(n.lastIndex),s)),l++}return 0===l?null:c}]});var hv=function(e){function t(e){var r;return a(this,t),(r=i(this,t,[e])).name="KintoneAbortSearchError",r.message=e,Object.setPrototypeOf(r,t.prototype),r}return f(t,e),u(t)}(E(Error)),dv=gm.forEach,yv=qm("forEach")?[].forEach:function(e){return dv(this,e,arguments.length>1?arguments[1]:void 0)};Oo({target:"Array",proto:!0,forced:[].forEach!==yv},{forEach:yv});var mv=ct,gv=la;Oo({target:"Object",stat:!0,forced:j(function(){gv(1)})},{keys:function(e){return gv(mv(e))}});var vv=P,bv=Ql,wv=ef,Sv=yv,Ev=vr,xv=function(e){if(e&&e.forEach!==Sv)try{Ev(e,"forEach",Sv)}catch(t){e.forEach=Sv}};for(var Av in bv)bv[Av]&&xv(vv[Av]&&vv[Av].prototype);xv(wv);var Rv=function(e){function t(e,r,n,o,s){var u;a(this,t);var c=n-r.length,l=t.extractErrorIndex(c,o,s),f=t.buildErrorMessage(c,n,l);return(u=i(this,t,[f])).name="KintoneAllRecordsError",u.processedRecordsResult=e,u.unprocessedRecords=r,u.error=o,u.errorIndex=l,u.message=f,u.numOfProcessedRecords=c,u.numOfAllRecords=n,Object.setPrototypeOf(u,t.prototype),u}return f(t,e),u(t,null,[{key:"parseErrorIndex",value:function(e){var t=[];return Object.keys(e).forEach(function(e){var r=e.match(/records\[(\d+)\]/);r&&t.push(Number(r[1]))}),t.length>0?Math.min.apply(Math,t):null}},{key:"extractErrorIndex",value:function(e,r,n){if(void 0!==r.bulkRequestIndex&&r.errors){var o=t.parseErrorIndex(r.errors);if(null!==o)return e+r.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(e,t,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(e,"/").concat(t," records are processed successfully")}}])}(E(Error)),Ov=function(e){function t(e){var r;a(this,t);var n=t.buildErrorResponseDateWithIndex(e),o=n.data,s=n.bulkRequestIndex;return(r=i(this,t,[o.message])).name="KintoneRestAPIError",r.id=o.id,r.code=o.code,r.errors=o.errors,r.status=e.status,r.bulkRequestIndex=s,r.headers=e.headers,r.message="[".concat(e.status,"] [").concat(r.code,"] ").concat(r.message," (").concat(r.id,")"),Error.captureStackTrace&&Error.captureStackTrace(r,t),Object.setPrototypeOf(r,t.prototype),r}return f(t,e),u(t,null,[{key:"findErrorResponseDataWithIndex",value:function(e){for(var t=0;t<e.length;t++){if(0!==Object.keys(e[t]).length)return{data:e[t],bulkRequestIndex:t}}throw Error("Missing response data in `results`. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.")}},{key:"buildErrorResponseDateWithIndex",value:function(e){return"results"in e.data?t.findErrorResponseDataWithIndex(e.data.results):{data:e.data}}}])}(E(Error)),Pv=["condition","orderBy","withCursor"],kv=["fields","condition"],jv=["condition","orderBy"],Tv=500,Iv=function(e){function t(e,r,n){var o;return a(this,t),(o=i(this,t,[e,n])).bulkRequestClient=r,o.didWarnMaximumOffsetValue=!1,o}return f(t,e),u(t,[{key:"getRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(t,e)}},{key:"addRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(t,e)}},{key:"updateRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(t,e)}},{key:"upsertRecord",value:(O=o(m().m(function e(t){var r,n,o,i,a,s,u;return m().w(function(e){for(;;)switch(e.n){case 0:return r=t.app,n=t.updateKey,o=t.record,e.n=1,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 1:if(i=e.v,!((a=i.records).length>0)){e.n=4;break}if("__ID__"!==a[0].$id.type){e.n=3;break}return e.n=2,this.updateRecord(t);case 2:return s=e.v,u=s.revision,e.a(2,{id:a[0].$id.value,revision:u});case 3:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 4:return e.a(2,this.addRecord({app:r,record:Object.assign({},o,c({},n.field,{value:n.value}))}))}},e,this)})),function(e){return O.apply(this,arguments)})},{key:"getRecords",value:(R=o(m().m(function e(t){var r,n;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.n=1,this.client.get(r,t);case 1:return n=e.v,this.warnMaximumOffsetValueIfNeeded(t.query),e.a(2,n)}},e,this)})),function(e){return R.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(e){if(e){var t=e.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&t&&Number(t[1])>1e4&&(this.didWarnMaximumOffsetValue=!0,console.warn("Warning: The maximum offset value will be limited to 10,000 in the future. Please use `createCursor()` and `getRecordsByCursor()` instead."))}}},{key:"addRecords",value:(A=o(m().m(function e(t){var r,n,o,i;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.n=1,this.client.post(r,t);case 1:return n=e.v,o=n.ids,i=n.revisions,e.a(2,{ids:o,revisions:i,records:o.map(function(e,t){return{id:e,revision:i[t]}})})}},e,this)})),function(e){return A.apply(this,arguments)})},{key:"updateRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(t,e)}},{key:"deleteRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(t,e)}},{key:"createCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(t,e)}},{key:"getRecordsByCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(t,e)}},{key:"deleteCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(t,e)}},{key:"getAllRecords",value:(x=o(m().m(function e(t){var r,n,o,i,a,s,u;return m().w(function(e){for(;;)switch(e.n){case 0:if(r=t.condition,n=t.orderBy,o=t.withCursor,i=void 0===o||o,a=y(t,Pv),n){e.n=1;break}return e.a(2,this.getAllRecordsWithId(d(d({},a),{},{condition:r})));case 1:if(!i){e.n=2;break}return s=r?"".concat(r," "):"",u="".concat(s).concat(n?"order by ".concat(n):""),e.a(2,this.getAllRecordsWithCursor(d(d({},a),{},{query:u})));case 2:return e.a(2,this.getAllRecordsWithOffset(d(d({},a),{},{orderBy:n,condition:r})))}},e,this)})),function(e){return x.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(E=o(m().m(function e(t){var r,n,o,i,a,s,u,c,l,f;return m().w(function(e){for(;;)switch(e.n){case 0:r=t.fields,n=t.condition,o=y(t,kv),(i=r)&&i.length>0&&-1===i.indexOf("$id")&&(i=[].concat(b(i),["$id"])),a=n?"(".concat(n,") and "):"",s=[],u="0";case 1:return c="".concat(a,"$id > ").concat(u," order by $id asc limit ").concat(Tv),e.n=2,this.getRecords(d(d({},o),{},{fields:i,query:c}));case 2:if(l=e.v,s=s.concat(l.records),!(l.records.length<Tv)){e.n=3;break}return e.a(3,6);case 3:if("__ID__"!==(f=l.records[l.records.length-1]).$id.type){e.n=4;break}u=f.$id.value,e.n=5;break;case 4:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 5:e.n=1;break;case 6:return e.a(2,s)}},e,this)})),function(e){return E.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(S=o(m().m(function e(t){var r,n,o,i,a,s,u,c;return m().w(function(e){for(;;)switch(e.n){case 0:r=t.condition,n=t.orderBy,o=y(t,jv),i=r?"".concat(r," "):"",a=[],s=0;case 1:return u="".concat(i).concat(n?"order by ".concat(n," "):"","limit ").concat(Tv," offset ").concat(s),e.n=2,this.getRecords(d(d({},o),{},{query:u}));case 2:if(c=e.v,a=a.concat(c.records),!(c.records.length<Tv)){e.n=3;break}return e.a(3,4);case 3:s+=Tv,e.n=1;break;case 4:return e.a(2,a)}},e,this)})),function(e){return S.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(w=o(m().m(function e(t){var r,n,o,i,a,s;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:return r=d(d({},t),{},{size:Tv}),e.n=1,this.createCursor(r);case 1:n=e.v,o=n.id,e.p=2,i=[];case 3:return e.n=4,this.getRecordsByCursor({id:o});case 4:if(a=e.v,i=i.concat(a.records),a.next){e.n=5;break}return e.a(3,6);case 5:e.n=3;break;case 6:return e.a(2,i);case 7:return e.p=7,s=e.v,e.n=8,this.deleteCursor({id:o});case 8:throw s;case 9:return e.a(2)}},e,this,[[2,7]])})),function(e){return w.apply(this,arguments)})},{key:"addAllRecords",value:(v=o(m().m(function e(t){return m().w(function(e){for(;;)switch(e.n){case 0:if(t.records.every(function(e){return!Array.isArray(e)&&e instanceof Object})){e.n=1;break}throw new Error("the `records` parameter must be an array of object.");case 1:return e.a(2,this.addAllRecordsRecursive(t,t.records.length,[]))}},e,this)})),function(e){return v.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(g=o(m().m(function e(t,r,n){var o,i,a,s,u,c;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.records,0!==(s=a.slice(0,o)).length){e.n=1;break}return e.a(2,{records:n});case 1:return e.p=1,e.n=2,this.addAllRecordsWithBulkRequest({app:i,records:s});case 2:u=e.v,e.n=4;break;case 3:throw e.p=3,c=e.v,new Rv({records:n},a,r,c,100);case 4:return e.a(2,this.addAllRecordsRecursive({app:i,records:a.slice(o)},r,n.concat(u)))}},e,this,[[1,3]])})),function(e,t,r){return g.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(h=o(m().m(function e(t){var r,n,o;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map(function(e){return{method:"POST",endpointName:"records",payload:{app:t.app,records:e}}}),e.n=1,this.bulkRequestClient.send({requests:n});case 1:return o=e.v.results,e.a(2,o.map(function(e){var t=e.ids,r=e.revisions;return t.map(function(e,t){return{id:e,revision:r[t]}})}).reduce(function(e,t){return e.concat(t)},[]))}},e,this)})),function(e){return h.apply(this,arguments)})},{key:"updateAllRecords",value:(p=o(m().m(function e(t){return m().w(function(e){for(;;)if(0===e.n)return e.a(2,this.updateAllRecordsRecursive(t,t.records.length,[]))},e,this)})),function(e){return p.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(l=o(m().m(function e(t,r,n){var o,i,a,s,u,c,l;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.upsert,s=t.records,0!==(u=s.slice(0,o)).length){e.n=1;break}return e.a(2,{records:n});case 1:return e.p=1,e.n=2,this.updateAllRecordsWithBulkRequest({app:i,upsert:a,records:u});case 2:c=e.v,e.n=4;break;case 3:throw e.p=3,l=e.v,new Rv({records:n},s,r,l,100);case 4:return e.a(2,this.updateAllRecordsRecursive({app:i,upsert:a,records:s.slice(o)},r,n.concat(c)))}},e,this,[[1,3]])})),function(e,t,r){return l.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(s=o(m().m(function e(t){var r,n,o;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map(function(e){return{method:"PUT",endpointName:"records",payload:{app:t.app,upsert:t.upsert,records:e}}}),e.n=1,this.bulkRequestClient.send({requests:n});case 1:return o=e.v.results,e.a(2,o.map(function(e){return e.records}).reduce(function(e,t){return e.concat(t)},[]))}},e,this)})),function(e){return s.apply(this,arguments)})},{key:"deleteAllRecords",value:function(e){return this.deleteAllRecordsRecursive(e,e.records.length)}},{key:"deleteAllRecordsRecursive",value:(n=o(m().m(function e(t,r){var n,o,i,a,s;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,o=t.app,i=t.records,0!==(a=i.slice(0,n)).length){e.n=1;break}return e.a(2,{});case 1:return e.p=1,e.n=2,this.deleteAllRecordsWithBulkRequest({app:o,records:a});case 2:e.n=4;break;case 3:throw e.p=3,s=e.v,new Rv({},i,r,s,100);case 4:return e.a(2,this.deleteAllRecordsRecursive({app:o,records:i.slice(n)},r))}},e,this,[[1,3]])})),function(e,t){return n.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(r=o(m().m(function e(t){var r,n;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map(function(e){return{method:"DELETE",endpointName:"records",payload:{app:t.app,ids:e.map(function(e){return e.id}),revisions:e.map(function(e){return e.revision})}}}),e.n=1,this.bulkRequestClient.send({requests:n});case 1:return e.a(2)}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(e,t,r){var n=r.slice(0,e);return 0===n.length?t:this.separateArrayRecursive(e,[].concat(b(t),[n]),r.slice(e))}},{key:"addRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(t,e)}},{key:"deleteRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(t,e)}},{key:"getRecordComments",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(t,e)}},{key:"updateRecordAssignees",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(t,e)}},{key:"updateRecordStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(t,e)}},{key:"updateRecordsStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(t,e)}}]);var r,n,s,l,p,h,g,v,w,S,E,x,A,R,O}(wm),_v=function(e){function t(){return a(this,t),i(this,t,arguments)}return f(t,e),u(t,[{key:"getSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.get(t,e)}},{key:"updateSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.put(t,e)}},{key:"deleteSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.delete(t,e)}},{key:"updateSpaceBody",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/body"});return this.client.put(t,e)}},{key:"getSpaceMembers",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.get(t,e)}},{key:"updateSpaceMembers",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.put(t,e)}},{key:"addThread",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.post(t,e)}},{key:"updateThread",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.put(t,e)}},{key:"addThreadComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread/comment"});return this.client.post(t,e)}},{key:"addGuests",value:function(e){var t=this.buildPath({endpointName:"guests"});return this.client.post(t,e)}},{key:"deleteGuests",value:function(e){var t=this.buildPath({endpointName:"guests"});return this.client.delete(t,e)}},{key:"updateSpaceGuests",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/guests"});return this.client.put(t,e)}},{key:"addSpaceFromTemplate",value:function(e){var t=this.buildPath({endpointName:"template/space"});return this.client.post(t,e)}},{key:"getStatistics",value:function(e){var t=this.buildPath({endpointName:"spaces/statistics"});return this.client.get(t,e)}}])}(wm),Nv=A("object"==typeof self?self.FormData:window.FormData),Cv=function(e){function r(){return a(this,r),i(this,r,arguments)}return f(r,e),u(r,[{key:"uploadFile",value:(n=o(m().m(function e(r){var n,o,i,a,s,u,c,l,f,p;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),o=new Nv,!("path"in r.file)){e.n=6;break}return e.p=1,e.n=2,t.readFileFromPath(r.file.path);case 2:i=e.v,a=i.name,s=i.data,o.append("file",s,a),e.n=5;break;case 3:if(e.p=3,!((p=e.v)instanceof ta)){e.n=4;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(p.platform," environment."));case 4:throw p;case 5:e.n=7;break;case 6:u=r.file,c=u.name,l=u.data,f=t.buildFormDataValue(l,c),o.append("file",f,c);case 7:return e.a(2,this.client.postData(n,o))}},e,this,[[1,3]])})),function(e){return n.apply(this,arguments)})},{key:"downloadFile",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(t,e)}}]);var n}(wm),Uv=function(e){function t(){return a(this,t),i(this,t,arguments)}return f(t,e),u(t,[{key:"getPlugins",value:function(e){var t=this.buildPath({endpointName:"plugins"});return this.client.get(t,e)}},{key:"getRequiredPlugins",value:function(e){var t=this.buildPath({endpointName:"plugins/required"});return this.client.get(t,e)}},{key:"getApps",value:function(e){var t=this.buildPath({endpointName:"plugin/apps"});return this.client.get(t,e)}},{key:"updatePlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.put(t,e)}},{key:"installPlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.post(t,e)}},{key:"uninstallPlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.delete(t,e)}}])}(wm),Lv="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Dv(){throw new Error("setTimeout has not been defined")}function Fv(){throw new Error("clearTimeout has not been defined")}var Bv=Dv,Mv=Fv;function qv(e){if(Bv===setTimeout)return setTimeout(e,0);if((Bv===Dv||!Bv)&&setTimeout)return Bv=setTimeout,setTimeout(e,0);try{return Bv(e,0)}catch(t){try{return Bv.call(null,e,0)}catch(t){return Bv.call(this,e,0)}}}"function"==typeof Lv.setTimeout&&(Bv=setTimeout),"function"==typeof Lv.clearTimeout&&(Mv=clearTimeout);var Wv,Gv=[],zv=!1,Hv=-1;function $v(){zv&&Wv&&(zv=!1,Wv.length?Gv=Wv.concat(Gv):Hv=-1,Gv.length&&Vv())}function Vv(){if(!zv){var e=qv($v);zv=!0;for(var t=Gv.length;t;){for(Wv=Gv,Gv=[];++Hv<t;)Wv&&Wv[Hv].run();Hv=-1,t=Gv.length}Wv=null,zv=!1,function(e){if(Mv===clearTimeout)return clearTimeout(e);if((Mv===Fv||!Mv)&&clearTimeout)return Mv=clearTimeout,clearTimeout(e);try{return Mv(e)}catch(t){try{return Mv.call(null,e)}catch(t){return Mv.call(this,e)}}}(e)}}function Kv(e,t){this.fun=e,this.array=t}Kv.prototype.run=function(){this.fun.apply(null,this.array)};var Yv=Lv.performance||{};Yv.now||Yv.mozNow||Yv.msNow||Yv.oNow||Yv.webkitNow;function Jv(e,t){return function(){return e.apply(t,arguments)}}const{toString:Qv}=Object.prototype,{getPrototypeOf:Xv}=Object,{iterator:Zv,toStringTag:eb}=Symbol,tb=(rb=Object.create(null),e=>{const t=Qv.call(e);return rb[t]||(rb[t]=t.slice(8,-1).toLowerCase())});var rb;const nb=e=>(e=e.toLowerCase(),t=>tb(t)===e),ob=e=>t=>typeof t===e,{isArray:ib}=Array,ab=ob("undefined");function sb(e){return null!==e&&!ab(e)&&null!==e.constructor&&!ab(e.constructor)&&lb(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ub=nb("ArrayBuffer");const cb=ob("string"),lb=ob("function"),fb=ob("number"),pb=e=>null!==e&&"object"==typeof e,hb=e=>{if("object"!==tb(e))return!1;const t=Xv(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||eb in e||Zv in e)},db=nb("Date"),yb=nb("File"),mb=nb("Blob"),gb=nb("FileList");const vb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==Lv?Lv:{},bb=void 0!==vb.FormData?vb.FormData:void 0,wb=nb("URLSearchParams"),[Sb,Eb,xb,Ab]=["ReadableStream","Request","Response","Headers"].map(nb);function Rb(e,t){let r,n,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=e)if("object"!=typeof e&&(e=[e]),ib(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{if(sb(e))return;const n=o?Object.getOwnPropertyNames(e):Object.keys(e),i=n.length;let a;for(r=0;r<i;r++)a=n[r],t.call(null,e[a],a,e)}}function Ob(e,t){if(sb(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 Pb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Lv,kb=e=>!ab(e)&&e!==Pb;const jb=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&Xv(Uint8Array)),Tb=nb("HTMLFormElement"),Ib=(e=>{let{hasOwnProperty:t}=e;return(e,r)=>t.call(e,r)})(Object.prototype),_b=nb("RegExp"),Nb=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Rb(r,(r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)}),Object.defineProperties(e,n)};const Cb=nb("AsyncFunction"),Ub=(Lb="function"==typeof setImmediate,Db=lb(Pb.postMessage),Lb?setImmediate:Db?(Fb=`axios@${Math.random()}`,Bb=[],Pb.addEventListener("message",e=>{let{source:t,data:r}=e;t===Pb&&r===Fb&&Bb.length&&Bb.shift()()},!1),e=>{Bb.push(e),Pb.postMessage(Fb,"*")}):e=>setTimeout(e));var Lb,Db,Fb,Bb;const Mb="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Pb):function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Gv.push(new Kv(e,t)),1!==Gv.length||zv||qv(Vv)}||Ub;var qb={isArray:ib,isArrayBuffer:ub,isBuffer:sb,isFormData:e=>{let t;return e&&(bb&&e instanceof bb||lb(e.append)&&("formdata"===(t=tb(e))||"object"===t&&lb(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ub(e.buffer),t},isString:cb,isNumber:fb,isBoolean:e=>!0===e||!1===e,isObject:pb,isPlainObject:hb,isEmptyObject:e=>{if(!pb(e)||sb(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Sb,isRequest:Eb,isResponse:xb,isHeaders:Ab,isUndefined:ab,isDate:db,isFile:yb,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:mb,isRegExp:_b,isFunction:lb,isStream:e=>pb(e)&&lb(e.pipe),isURLSearchParams:wb,isTypedArray:jb,isFileList:gb,forEach:Rb,merge:function e(){const{caseless:t,skipUndefined:r}=kb(this)&&this||{},n={},o=(o,i)=>{if("__proto__"===i||"constructor"===i||"prototype"===i)return;const a=t&&Ob(n,i)||i;hb(n[a])&&hb(o)?n[a]=e(n[a],o):hb(o)?n[a]=e({},o):ib(o)?n[a]=o.slice():r&&ab(o)||(n[a]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Rb(arguments[e],o);return n},extend:function(e,t,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Rb(t,(t,n)=>{r&&lb(t)?Object.defineProperty(e,n,{value:Jv(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{value:t,writable:!0,enumerable:!0,configurable:!0})},{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),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],n&&!n(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==r&&Xv(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:tb,kindOfTest:nb,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(ib(e))return e;let t=e.length;if(!fb(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Zv]).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:Tb,hasOwnProperty:Ib,hasOwnProp:Ib,reduceDescriptors:Nb,freezeMethods:e=>{Nb(e,(t,r)=>{if(lb(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];lb(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 ib(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:Ob,global:Pb,isContextDefined:kb,isSpecCompliantForm:function(e){return!!(e&&lb(e.append)&&"FormData"===e[eb]&&e[Zv])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(pb(e)){if(t.indexOf(e)>=0)return;if(sb(e))return e;if(!("toJSON"in e)){t[n]=e;const o=ib(e)?[]:{};return Rb(e,(e,t)=>{const i=r(e,n+1);!ab(i)&&(o[t]=i)}),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:Cb,isThenable:e=>e&&(pb(e)||lb(e))&&lb(e.then)&&lb(e.catch),setImmediate:Ub,asap:Mb,isIterable:e=>null!=e&&lb(e[Zv])},Wb=[],Gb=[],zb="undefined"!=typeof Uint8Array?Uint8Array:Array,Hb=!1;function $b(){Hb=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Wb[t]=e[t],Gb[e.charCodeAt(t)]=t;Gb["-".charCodeAt(0)]=62,Gb["_".charCodeAt(0)]=63}function Vb(e){return Wb[e>>18&63]+Wb[e>>12&63]+Wb[e>>6&63]+Wb[63&e]}function Kb(e,t,r){for(var n,o=[],i=t;i<r;i+=3)n=(e[i]<<16)+(e[i+1]<<8)+e[i+2],o.push(Vb(n));return o.join("")}function Yb(e){var t;Hb||$b();for(var r=e.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(Kb(e,s,s+a>u?u:s+a));return 1===n?(t=e[r-1],o+=Wb[t>>2],o+=Wb[t<<4&63],o+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],o+=Wb[t>>10],o+=Wb[t>>4&63],o+=Wb[t<<2&63],o+="="),i.push(o),i.join("")}function Jb(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?o-1:0,p=r?-1:1,h=e[t+f];for(f+=p,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)}function Qb(e,t,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,f=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?p/u:p*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[r+h]=255&a,h+=d,a/=256,c-=8);e[r+h-d]|=128*y}var Xb={}.toString,Zb=Array.isArray||function(e){return"[object Array]"==Xb.call(e)};function ew(){return rw.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function tw(e,t){if(ew()<t)throw new RangeError("Invalid typed array length");return rw.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=rw.prototype:(null===e&&(e=new rw(t)),e.length=t),e}function rw(e,t,r){if(!(rw.TYPED_ARRAY_SUPPORT||this instanceof rw))return new rw(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return iw(this,e)}return nw(this,e,t,r)}function nw(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);rw.TYPED_ARRAY_SUPPORT?(e=t).__proto__=rw.prototype:e=aw(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!rw.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|cw(t,r);e=tw(e,n);var o=e.write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(uw(t)){var r=0|sw(t.length);return 0===(e=tw(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?tw(e,0):aw(e,t);if("Buffer"===t.type&&Zb(t.data))return aw(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function ow(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function iw(e,t){if(ow(t),e=tw(e,t<0?0:0|sw(t)),!rw.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function aw(e,t){var r=t.length<0?0:0|sw(t.length);e=tw(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function sw(e){if(e>=ew())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ew().toString(16)+" bytes");return 0|e}function uw(e){return!(null==e||!e._isBuffer)}function cw(e,t){if(uw(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Lw(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Dw(e).length;default:if(n)return Lw(e).length;t=(""+t).toLowerCase(),n=!0}}function lw(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Rw(this,t,r);case"utf8":case"utf-8":return Sw(this,t,r);case"ascii":return xw(this,t,r);case"latin1":case"binary":return Aw(this,t,r);case"base64":return ww(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ow(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function fw(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function pw(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=rw.from(t,n)),uw(t))return 0===t.length?-1:hw(e,t,r,n,o);if("number"==typeof t)return t&=255,rw.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):hw(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function hw(e,t,r,n,o){var i,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var f=!0,p=0;p<u;p++)if(c(e,i+p)!==c(t,p)){f=!1;break}if(f)return i}return-1}function dw(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function yw(e,t,r,n){return Fw(Lw(t,e.length-r),e,r,n)}function mw(e,t,r,n){return Fw(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function gw(e,t,r,n){return mw(e,t,r,n)}function vw(e,t,r,n){return Fw(Dw(t),e,r,n)}function bw(e,t,r,n){return Fw(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function ww(e,t,r){return 0===t&&r===e.length?Yb(e):Yb(e.slice(t,r))}function Sw(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,u,c=e[o],l=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=Ew)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Ew));return r}(n)}rw.TYPED_ARRAY_SUPPORT=void 0===Lv.TYPED_ARRAY_SUPPORT||Lv.TYPED_ARRAY_SUPPORT,ew(),rw.poolSize=8192,rw._augment=function(e){return e.__proto__=rw.prototype,e},rw.from=function(e,t,r){return nw(null,e,t,r)},rw.TYPED_ARRAY_SUPPORT&&(rw.prototype.__proto__=Uint8Array.prototype,rw.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&rw[Symbol.species]),rw.alloc=function(e,t,r){return function(e,t,r,n){return ow(t),t<=0?tw(e,t):void 0!==r?"string"==typeof n?tw(e,t).fill(r,n):tw(e,t).fill(r):tw(e,t)}(null,e,t,r)},rw.allocUnsafe=function(e){return iw(null,e)},rw.allocUnsafeSlow=function(e){return iw(null,e)},rw.isBuffer=function(e){return null!=e&&(!!e._isBuffer||Bw(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Bw(e.slice(0,0))}(e))},rw.compare=function(e,t){if(!uw(e)||!uw(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},rw.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},rw.concat=function(e,t){if(!Zb(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return rw.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=rw.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!uw(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},rw.byteLength=cw,rw.prototype._isBuffer=!0,rw.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)fw(this,t,t+1);return this},rw.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)fw(this,t,t+3),fw(this,t+1,t+2);return this},rw.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)fw(this,t,t+7),fw(this,t+1,t+6),fw(this,t+2,t+5),fw(this,t+3,t+4);return this},rw.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Sw(this,0,e):lw.apply(this,arguments)},rw.prototype.equals=function(e){if(!uw(e))throw new TypeError("Argument must be a Buffer");return this===e||0===rw.compare(this,e)},rw.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},rw.prototype.compare=function(e,t,r,n,o){if(!uw(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),u=this.slice(n,o),c=e.slice(t,r),l=0;l<s;++l)if(u[l]!==c[l]){i=u[l],a=c[l];break}return i<a?-1:a<i?1:0},rw.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},rw.prototype.indexOf=function(e,t,r){return pw(this,e,t,r,!0)},rw.prototype.lastIndexOf=function(e,t,r){return pw(this,e,t,r,!1)},rw.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return dw(this,e,t,r);case"utf8":case"utf-8":return yw(this,e,t,r);case"ascii":return mw(this,e,t,r);case"latin1":case"binary":return gw(this,e,t,r);case"base64":return vw(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bw(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},rw.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Ew=4096;function xw(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function Aw(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function Rw(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=Uw(e[i]);return o}function Ow(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function Pw(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function kw(e,t,r,n,o,i){if(!uw(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function jw(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function Tw(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function Iw(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _w(e,t,r,n,o){return o||Iw(e,0,r,4),Qb(e,t,r,n,23,4),r+4}function Nw(e,t,r,n,o){return o||Iw(e,0,r,8),Qb(e,t,r,n,52,8),r+8}rw.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),rw.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=rw.prototype;else{var o=t-e;r=new rw(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},rw.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||Pw(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},rw.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||Pw(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},rw.prototype.readUInt8=function(e,t){return t||Pw(e,1,this.length),this[e]},rw.prototype.readUInt16LE=function(e,t){return t||Pw(e,2,this.length),this[e]|this[e+1]<<8},rw.prototype.readUInt16BE=function(e,t){return t||Pw(e,2,this.length),this[e]<<8|this[e+1]},rw.prototype.readUInt32LE=function(e,t){return t||Pw(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},rw.prototype.readUInt32BE=function(e,t){return t||Pw(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},rw.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||Pw(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},rw.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||Pw(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},rw.prototype.readInt8=function(e,t){return t||Pw(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},rw.prototype.readInt16LE=function(e,t){t||Pw(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},rw.prototype.readInt16BE=function(e,t){t||Pw(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},rw.prototype.readInt32LE=function(e,t){return t||Pw(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},rw.prototype.readInt32BE=function(e,t){return t||Pw(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},rw.prototype.readFloatLE=function(e,t){return t||Pw(e,4,this.length),Jb(this,e,!0,23,4)},rw.prototype.readFloatBE=function(e,t){return t||Pw(e,4,this.length),Jb(this,e,!1,23,4)},rw.prototype.readDoubleLE=function(e,t){return t||Pw(e,8,this.length),Jb(this,e,!0,52,8)},rw.prototype.readDoubleBE=function(e,t){return t||Pw(e,8,this.length),Jb(this,e,!1,52,8)},rw.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||kw(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},rw.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||kw(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},rw.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,1,255,0),rw.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},rw.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,2,65535,0),rw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):jw(this,e,t,!0),t+2},rw.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,2,65535,0),rw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):jw(this,e,t,!1),t+2},rw.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,4,4294967295,0),rw.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Tw(this,e,t,!0),t+4},rw.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,4,4294967295,0),rw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Tw(this,e,t,!1),t+4},rw.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);kw(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},rw.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);kw(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},rw.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,1,127,-128),rw.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},rw.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,2,32767,-32768),rw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):jw(this,e,t,!0),t+2},rw.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,2,32767,-32768),rw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):jw(this,e,t,!1),t+2},rw.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,4,2147483647,-2147483648),rw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Tw(this,e,t,!0),t+4},rw.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),rw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Tw(this,e,t,!1),t+4},rw.prototype.writeFloatLE=function(e,t,r){return _w(this,e,t,!0,r)},rw.prototype.writeFloatBE=function(e,t,r){return _w(this,e,t,!1,r)},rw.prototype.writeDoubleLE=function(e,t,r){return Nw(this,e,t,!0,r)},rw.prototype.writeDoubleBE=function(e,t,r){return Nw(this,e,t,!1,r)},rw.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!rw.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},rw.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!rw.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=uw(e)?e:Lw(new rw(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var Cw=/[^+\/0-9A-Za-z-_]/g;function Uw(e){return e<16?"0"+e.toString(16):e.toString(16)}function Lw(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Dw(e){return function(e){var t,r,n,o,i,a;Hb||$b();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[s-2]?2:"="===e[s-1]?1:0,a=new zb(3*s/4-i),n=i>0?s-4:s;var u=0;for(t=0,r=0;t<n;t+=4,r+=3)o=Gb[e.charCodeAt(t)]<<18|Gb[e.charCodeAt(t+1)]<<12|Gb[e.charCodeAt(t+2)]<<6|Gb[e.charCodeAt(t+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=Gb[e.charCodeAt(t)]<<2|Gb[e.charCodeAt(t+1)]>>4,a[u++]=255&o):1===i&&(o=Gb[e.charCodeAt(t)]<<10|Gb[e.charCodeAt(t+1)]<<4|Gb[e.charCodeAt(t+2)]>>2,a[u++]=o>>8&255,a[u++]=255&o),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Cw,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Fw(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function Bw(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}let Mw=class e extends Error{static from(t,r,n,o,i,a){const s=new e(t.message,r||t.code,n,o,i);return s.cause=t,s.name=t.name,null!=t.status&&null==s.status&&(s.status=t.status),a&&Object.assign(s,a),s}constructor(e,t,r,n,o){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status)}toJSON(){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:qb.toJSONObject(this.config),code:this.code,status:this.status}}};Mw.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Mw.ERR_BAD_OPTION="ERR_BAD_OPTION",Mw.ECONNABORTED="ECONNABORTED",Mw.ETIMEDOUT="ETIMEDOUT",Mw.ERR_NETWORK="ERR_NETWORK",Mw.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Mw.ERR_DEPRECATED="ERR_DEPRECATED",Mw.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Mw.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Mw.ERR_CANCELED="ERR_CANCELED",Mw.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Mw.ERR_INVALID_URL="ERR_INVALID_URL";function qw(e){return qb.isPlainObject(e)||qb.isArray(e)}function Ww(e){return qb.endsWith(e,"[]")?e.slice(0,-2):e}function Gw(e,t,r){return e?e.concat(t).map(function(e,t){return e=Ww(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}const zw=qb.toFlatObject(qb,{},null,function(e){return/^is[A-Z]/.test(e)});function Hw(e,t,r){if(!qb.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=qb.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!qb.isUndefined(t[e])})).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&qb.isSpecCompliantForm(t);if(!qb.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(qb.isDate(e))return e.toISOString();if(qb.isBoolean(e))return e.toString();if(!s&&qb.isBlob(e))throw new Mw("Blob is not supported. Use a Buffer instead.");return qb.isArrayBuffer(e)||qb.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):rw.from(e):e}function c(e,r,o){let s=e;if(qb.isReactNative(t)&&qb.isReactNativeBlob(e))return t.append(Gw(o,r,i),u(e)),!1;if(e&&!o&&"object"==typeof e)if(qb.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(qb.isArray(e)&&function(e){return qb.isArray(e)&&!e.some(qw)}(e)||(qb.isFileList(e)||qb.endsWith(r,"[]"))&&(s=qb.toArray(e)))return r=Ww(r),s.forEach(function(e,n){!qb.isUndefined(e)&&null!==e&&t.append(!0===a?Gw([r],n,i):null===a?r:r+"[]",u(e))}),!1;return!!qw(e)||(t.append(Gw(o,r,i),u(e)),!1)}const l=[],f=Object.assign(zw,{defaultVisitor:c,convertValue:u,isVisitable:qw});if(!qb.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!qb.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),qb.forEach(r,function(r,i){!0===(!(qb.isUndefined(r)||null===r)&&o.call(t,r,qb.isString(i)?i.trim():i,n,f))&&e(r,n?n.concat(i):[i])}),l.pop()}}(e),t}function $w(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Vw(e,t){this._pairs=[],e&&Hw(e,this,t)}const Kw=Vw.prototype;function Yw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Jw(e,t,r){if(!t)return e;const n=r&&r.encode||Yw,o=qb.isFunction(r)?{serialize:r}:r,i=o&&o.serialize;let a;if(a=i?i(t,o):qb.isURLSearchParams(t)?t.toString():new Vw(t,o).toString(n),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}Kw.append=function(e,t){this._pairs.push([e,t])},Kw.toString=function(e){const t=e?function(t){return e.call(this,t,$w)}:$w;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class Qw{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){qb.forEach(this.handlers,function(t){null!==t&&e(t)})}}var Xw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Zw={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Vw,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const eS="undefined"!=typeof window&&"undefined"!=typeof document,tS="object"==typeof navigator&&navigator||void 0,rS=eS&&(!tS||["ReactNative","NativeScript","NS"].indexOf(tS.product)<0),nS="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,oS=eS&&window.location.href||"http://localhost";var iS={...Object.freeze({__proto__:null,hasBrowserEnv:eS,hasStandardBrowserEnv:rS,hasStandardBrowserWebWorkerEnv:nS,navigator:tS,origin:oS}),...Zw};function aS(e){function t(e,r,n,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&qb.isArray(n)?n.length:i,s)return qb.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&qb.isObject(n[i])||(n[i]=[]);return t(e,r,n[i],o)&&qb.isArray(n[i])&&(n[i]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}(n[i])),!a}if(qb.isFormData(e)&&qb.isFunction(e.entries)){const r={};return qb.forEachEntry(e,(e,n)=>{t(function(e){return qb.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),n,r,0)}),r}return null}const sS={transitional:Xw,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=qb.isObject(e);o&&qb.isHTMLForm(e)&&(e=new FormData(e));if(qb.isFormData(e))return n?JSON.stringify(aS(e)):e;if(qb.isArrayBuffer(e)||qb.isBuffer(e)||qb.isStream(e)||qb.isFile(e)||qb.isBlob(e)||qb.isReadableStream(e))return e;if(qb.isArrayBufferView(e))return e.buffer;if(qb.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Hw(e,new iS.classes.URLSearchParams,{visitor:function(e,t,r,n){return iS.isNode&&qb.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=qb.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Hw(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(qb.isString(e))try{return(t||JSON.parse)(e),qb.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||sS.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(qb.isResponse(e)||qb.isReadableStream(e))return e;if(e&&qb.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 Mw.from(e,Mw.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:iS.classes.FormData,Blob:iS.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};qb.forEach(["delete","get","head","post","put","patch"],e=>{sS.headers[e]={}});const uS=qb.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"]);const cS=Symbol("internals");function lS(e,t){if(!1!==e&&null!=e)if(qb.isArray(e))e.forEach(e=>lS(e,t));else if(!(e=>!/[\r\n]/.test(e))(String(e)))throw new Error(`Invalid character in header content ["${t}"]`)}function fS(e){return e&&String(e).trim().toLowerCase()}function pS(e){return!1===e||null==e?e:qb.isArray(e)?e.map(pS):function(e){let t=e.length;for(;t>0;){const r=e.charCodeAt(t-1);if(10!==r&&13!==r)break;t-=1}return t===e.length?e:e.slice(0,t)}(String(e))}function hS(e,t,r,n,o){return qb.isFunction(n)?n.call(this,t,r):(o&&(t=r),qb.isString(t)?qb.isString(n)?-1!==t.indexOf(n):qb.isRegExp(n)?n.test(t):void 0:void 0)}let dS=class{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=fS(t);if(!o)throw new Error("header name must be a non-empty string");const i=qb.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(lS(e,t),n[i||t]=pS(e))}const i=(e,t)=>qb.forEach(e,(e,r)=>o(e,r,t));if(qb.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(qb.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((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]&&uS[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(qb.isObject(e)&&qb.isIterable(e)){let r,n,o={};for(const t of e){if(!qb.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[n=t[0]]=(r=o[n])?qb.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,r);return this}get(e,t){if(e=fS(e)){const r=qb.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(qb.isFunction(t))return t.call(this,e,r);if(qb.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=fS(e)){const r=qb.findKey(this,e);return!(!r||void 0===this[r]||t&&!hS(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=fS(e)){const o=qb.findKey(r,e);!o||t&&!hS(0,r[o],o,t)||(delete r[o],n=!0)}}return qb.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&&!hS(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return qb.forEach(this,(n,o)=>{const i=qb.findKey(r,o);if(i)return t[i]=pS(n),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}(o):String(o).trim();a!==o&&delete t[o],t[a]=pS(n),r[a]=!0}),this}concat(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return qb.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&qb.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(e=>{let[t,r]=e;return t+": "+r}).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){const t=new this(e);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach(e=>t.set(e)),t}static accessor(e){const t=(this[cS]=this[cS]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=fS(e);t[n]||(!function(e,t){const r=qb.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 qb.isArray(e)?e.forEach(n):n(e),this}};function yS(e,t){const r=this||sS,n=t||r,o=dS.from(n.headers);let i=n.data;return qb.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function mS(e){return!(!e||!e.__CANCEL__)}dS.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),qb.reduceDescriptors(dS.prototype,(e,t)=>{let{value:r}=e,n=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(e){this[n]=e}}}),qb.freezeMethods(dS);let gS=class extends Mw{constructor(e,t,r){super(null==e?"canceled":e,Mw.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}};function vS(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Mw("Request failed with status code "+r.status,[Mw.ERR_BAD_REQUEST,Mw.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}const bS=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=n[a];o||(o=u),r[i]=s,n[i]=u;let l=a,f=0;for(;l!==i;)f+=r[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const p=c&&u-c;return p?Math.round(1e3*f/p):void 0}}(50,250);return function(e,t){let r,n,o=0,i=1e3/t;const a=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[function(){const e=Date.now(),t=e-o;for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];t>=i?a(u,e):(r=u,n||(n=setTimeout(()=>{n=null,a(r)},i-t)))},()=>r&&a(r)]}(r=>{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,u=o(s);n=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:r,lengthComputable:null!=a,[t?"download":"upload"]:!0})},r)},wS=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},SS=e=>function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return qb.asap(()=>e(...r))};var ES=iS.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,iS.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(iS.origin),iS.navigator&&/(msie|trident)/i.test(iS.navigator.userAgent)):()=>!0,xS=iS.hasStandardBrowserEnv?{write(e,t,r,n,o,i,a){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];qb.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),qb.isString(n)&&s.push(`path=${n}`),qb.isString(o)&&s.push(`domain=${o}`),!0===i&&s.push("secure"),qb.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.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 AS(e,t,r){let n=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(n||0==r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const RS=e=>e instanceof dS?{...e}:e;function OS(e,t){t=t||{};const r={};function n(e,t,r,n){return qb.isPlainObject(e)&&qb.isPlainObject(t)?qb.merge.call({caseless:n},e,t):qb.isPlainObject(t)?qb.merge({},t):qb.isArray(t)?t.slice():t}function o(e,t,r,o){return qb.isUndefined(t)?qb.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!qb.isUndefined(t))return n(void 0,t)}function a(e,t){return qb.isUndefined(t)?qb.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,r)=>o(RS(e),RS(t),0,!0)};return qb.forEach(Object.keys({...e,...t}),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;const i=qb.hasOwnProp(u,n)?u[n]:o,a=i(e[n],t[n],n);qb.isUndefined(a)&&i!==s||(r[n]=a)}),r}var PS=e=>{const t=OS({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;if(t.headers=a=dS.from(a),t.url=Jw(AS(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),qb.isFormData(r))if(iS.hasStandardBrowserEnv||iS.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(qb.isFunction(r.getHeaders)){const e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(e=>{let[r,n]=e;t.includes(r.toLowerCase())&&a.set(r,n)})}if(iS.hasStandardBrowserEnv&&(n&&qb.isFunction(n)&&(n=n(t)),n||!1!==n&&ES(t.url))){const e=o&&i&&xS.read(i);e&&a.set(o,e)}return t};var kS="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){const n=PS(e);let o=n.data;const i=dS.from(n.headers).normalize();let a,s,u,c,l,{responseType:f,onUploadProgress:p,onDownloadProgress:h}=n;function d(){c&&c(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let y=new XMLHttpRequest;function m(){if(!y)return;const n=dS.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());vS(function(e){t(e),d()},function(e){r(e),d()},{data:f&&"text"!==f&&"json"!==f?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=m:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(m)},y.onabort=function(){y&&(r(new Mw("Request aborted",Mw.ECONNABORTED,e,y)),y=null)},y.onerror=function(t){const n=t&&t.message?t.message:"Network Error",o=new Mw(n,Mw.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||Xw;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new Mw(t,o.clarifyTimeoutError?Mw.ETIMEDOUT:Mw.ECONNABORTED,e,y)),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&qb.forEach(i.toJSON(),function(e,t){y.setRequestHeader(t,e)}),qb.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),f&&"json"!==f&&(y.responseType=n.responseType),h&&([u,l]=bS(h,!0),y.addEventListener("progress",u)),p&&y.upload&&([s,c]=bS(p),y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(a=t=>{y&&(r(!t||t.type?new gS(null,e,y):t),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);g&&-1===iS.protocols.indexOf(g)?r(new Mw("Unsupported protocol "+g+":",Mw.ERR_BAD_REQUEST,e)):y.send(o||null)})};const jS=(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,a();const t=e instanceof Error?e:this.reason;n.abort(t instanceof Mw?t:new gS(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new Mw(`timeout of ${t}ms exceeded`,Mw.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=n;return s.unsubscribe=()=>qb.asap(a),s}},TS=function*(e,t){let r=e.byteLength;if(r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},IS=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()}},_S=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of IS(e))yield*TS(r,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await o.next();if(t)return s(),void e.close();let i=n.byteLength;if(r){let e=a+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:NS}=qb,CS=(e=>{let{Request:t,Response:r}=e;return{Request:t,Response:r}})(qb.global),{ReadableStream:US,TextEncoder:LS}=qb.global,DS=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return!!e(...r)}catch(e){return!1}},FS=e=>{e=qb.merge.call({skipUndefined:!0},CS,e);const{fetch:t,Request:r,Response:n}=e,o=t?NS(t):"function"==typeof fetch,i=NS(r),a=NS(n);if(!o)return!1;const s=o&&NS(US),u=o&&("function"==typeof LS?(c=new LS,e=>c.encode(e)):async e=>new Uint8Array(await new r(e).arrayBuffer()));var c;const l=i&&s&&DS(()=>{let e=!1;const t=new US,n=new r(iS.origin,{body:t,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return t.cancel(),e&&!n}),f=a&&s&&DS(()=>qb.isReadableStream(new n("").body)),p={stream:f&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!p[e]&&(p[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new Mw(`Response type '${e}' is not supported`,Mw.ERR_NOT_SUPPORT,r)})});const h=async(e,t)=>{const n=qb.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(qb.isBlob(e))return e.size;if(qb.isSpecCompliantForm(e)){const t=new r(iS.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return qb.isArrayBufferView(e)||qb.isArrayBuffer(e)?e.byteLength:(qb.isURLSearchParams(e)&&(e+=""),qb.isString(e)?(await u(e)).byteLength:void 0)})(t):n};return async e=>{let{url:o,method:a,data:s,signal:u,cancelToken:c,timeout:d,onDownloadProgress:y,onUploadProgress:m,responseType:g,headers:v,withCredentials:b="same-origin",fetchOptions:w}=PS(e),S=t||fetch;g=g?(g+"").toLowerCase():"text";let E=jS([u,c&&c.toAbortSignal()],d),x=null;const A=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let R;try{if(m&&l&&"get"!==a&&"head"!==a&&0!==(R=await h(v,s))){let e,t=new r(o,{method:"POST",body:s,duplex:"half"});if(qb.isFormData(s)&&(e=t.headers.get("content-type"))&&v.setContentType(e),t.body){const[e,r]=wS(R,bS(SS(m)));s=_S(t.body,65536,e,r)}}qb.isString(b)||(b=b?"include":"omit");const t=i&&"credentials"in r.prototype,u={...w,signal:E,method:a.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:"half",credentials:t?b:void 0};x=i&&new r(o,u);let c=await(i?S(x,w):S(o,u));const d=f&&("stream"===g||"response"===g);if(f&&(y||d&&A)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=c[t]});const t=qb.toFiniteNumber(c.headers.get("content-length")),[r,o]=y&&wS(t,bS(SS(y),!0))||[];c=new n(_S(c.body,65536,r,()=>{o&&o(),A&&A()}),e)}g=g||"text";let O=await p[qb.findKey(p,g)||"text"](c,e);return!d&&A&&A(),await new Promise((t,r)=>{vS(t,r,{data:O,headers:dS.from(c.headers),status:c.status,statusText:c.statusText,config:e,request:x})})}catch(t){if(A&&A(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Mw("Network Error",Mw.ERR_NETWORK,e,x,t&&t.response),{cause:t.cause||t});throw Mw.from(t,t&&t.code,e,x,t&&t.response)}}},BS=new Map,MS=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,i=[n,o,r];let a,s,u=i.length,c=BS;for(;u--;)a=i[u],s=c.get(a),void 0===s&&c.set(a,s=u?new Map:FS(t)),c=s;return s};MS();const qS={http:null,xhr:kS,fetch:{get:MS}};qb.forEach(qS,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const WS=e=>`- ${e}`,GS=e=>qb.isFunction(e)||null===e||!1===e;var zS={getAdapter:function(e,t){e=qb.isArray(e)?e:[e];const{length:r}=e;let n,o;const i={};for(let a=0;a<r;a++){let r;if(n=e[a],o=n,!GS(n)&&(o=qS[(r=String(n)).toLowerCase()],void 0===o))throw new Mw(`Unknown adapter '${r}'`);if(o&&(qb.isFunction(o)||(o=o.get(t))))break;i[r||"#"+a]=o}if(!o){const e=Object.entries(i).map(e=>{let[t,r]=e;return`adapter ${t} `+(!1===r?"is not supported by the environment":"is not available in the build")});let t=r?e.length>1?"since :\n"+e.map(WS).join("\n"):" "+WS(e[0]):"as no adapter specified";throw new Mw("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:qS};function HS(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gS(null,e)}function $S(e){HS(e),e.headers=dS.from(e.headers),e.data=yS.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return zS.getAdapter(e.adapter||sS.adapter,e)(e).then(function(t){return HS(e),t.data=yS.call(e,e.transformResponse,t),t.headers=dS.from(t.headers),t},function(t){return mS(t)||(HS(e),t&&t.response&&(t.response.data=yS.call(e,e.transformResponse,t.response),t.response.headers=dS.from(t.response.headers))),Promise.reject(t)})}const VS="1.15.0",KS={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{KS[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const YS={};KS.transitional=function(e,t,r){function n(e,t){return"[Axios v"+VS+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new Mw(n(o," has been removed"+(t?" in "+t:"")),Mw.ERR_DEPRECATED);return t&&!YS[o]&&(YS[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}},KS.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var JS={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Mw("options must be an object",Mw.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],a=t[i];if(a){const t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new Mw("option "+i+" must be "+r,Mw.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Mw("Unknown option "+i,Mw.ERR_BAD_OPTION)}},validators:KS};const QS=JS.validators;let XS=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Qw,response:new Qw}}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=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(r){const t=r.indexOf("\n"),n=-1===t?-1:r.indexOf("\n",t+1),o=-1===n?"":r.slice(n+1);String(e.stack).endsWith(o)||(e.stack+="\n"+r)}}else e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=OS(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&JS.assertOptions(r,{silentJSONParsing:QS.transitional(QS.boolean),forcedJSONParsing:QS.transitional(QS.boolean),clarifyTimeoutError:QS.transitional(QS.boolean),legacyInterceptorReqResOrdering:QS.transitional(QS.boolean)},!1),null!=n&&(qb.isFunction(n)?t.paramsSerializer={serialize:n}:JS.assertOptions(n,{encode:QS.function,serialize:QS.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),JS.assertOptions(t,{baseUrl:QS.spelling("baseURL"),withXsrfToken:QS.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&qb.merge(o.common,o[t.method]);o&&qb.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=dS.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const r=t.transitional||Xw;r&&r.legacyInterceptorReqResOrdering?a.unshift(e.fulfilled,e.rejected):a.push(e.fulfilled,e.rejected)});const u=[];let c;this.interceptors.response.forEach(function(e){u.push(e.fulfilled,e.rejected)});let l,f=0;if(!s){const e=[$S.bind(this),void 0];for(e.unshift(...a),e.push(...u),l=e.length,c=Promise.resolve(t);f<l;)c=c.then(e[f++],e[f++]);return c}l=a.length;let p=t;for(;f<l;){const e=a[f++],t=a[f++];try{p=e(p)}catch(e){t.call(this,e);break}}try{c=$S.call(this,p)}catch(e){return Promise.reject(e)}for(f=0,l=u.length;f<l;)c=c.then(u[f++],u[f++]);return c}getUri(e){return Jw(AS((e=OS(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};qb.forEach(["delete","get","head","options"],function(e){XS.prototype[e]=function(t,r){return this.request(OS(r||{},{method:e,url:t,data:(r||{}).data}))}}),qb.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,o){return this.request(OS(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}XS.prototype[e]=t(),XS.prototype[e+"Form"]=t(!0)});const ZS={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(ZS).forEach(e=>{let[t,r]=e;ZS[r]=t});const eE=function e(t){const r=new XS(t),n=Jv(XS.prototype.request,r);return qb.extend(n,XS.prototype,r,{allOwnKeys:!0}),qb.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(OS(t,r))},n}(sS);eE.Axios=XS,eE.CanceledError=gS,eE.CancelToken=class e{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 gS(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 t;return{token:new e(function(e){t=e}),cancel:t}}},eE.isCancel=mS,eE.VERSION=VS,eE.toFormData=Hw,eE.AxiosError=Mw,eE.Cancel=eE.CanceledError,eE.all=function(e){return Promise.all(e)},eE.spread=function(e){return function(t){return e.apply(null,t)}},eE.isAxiosError=function(e){return qb.isObject(e)&&!0===e.isAxiosError},eE.mergeConfig=OS,eE.AxiosHeaders=dS,eE.formToJSON=e=>aS(qb.isHTMLForm(e)?new FormData(e):e),eE.getAdapter=zS.getAdapter,eE.HttpStatusCode=ZS,eE.default=eE;const{Axios:tE,AxiosError:rE,CanceledError:nE,isCancel:oE,CancelToken:iE,VERSION:aE,all:sE,Cancel:uE,isAxiosError:cE,spread:lE,toFormData:fE,AxiosHeaders:pE,HttpStatusCode:hE,formToJSON:dE,getAdapter:yE,mergeConfig:mE}=eE;var gE=function(){return u(function e(t){var r=t.responseHandler,n=t.requestConfigBuilder;a(this,e),this.responseHandler=r,this.requestConfigBuilder=n},[{key:"get",value:(s=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("get",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return s.apply(this,arguments)})},{key:"getData",value:(i=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("get",t,r,{responseType:"arraybuffer"});case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return i.apply(this,arguments)})},{key:"post",value:(n=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("post",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"postData",value:(r=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("post",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return r.apply(this,arguments)})},{key:"put",value:(t=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("put",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,r){return t.apply(this,arguments)})},{key:"delete",value:(e=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("delete",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(t,r){return e.apply(this,arguments)})},{key:"sendRequest",value:function(e){return this.responseHandler.handle(eE(d(d({},e),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]);var e,t,r,n,i,s}(),vE=Oo,bE=te,wE=ue,SE=qm,EE=$([].join);vE({target:"Array",proto:!0,forced:bE!==Object||!SE("join",",")},{join:function(e){return EE(wE(this),void 0===e?",":e)}});var xE=TypeError,AE=R(Object.freeze({__proto__:null,default:{}})),RE="function"==typeof Map&&Map.prototype,OE=Object.getOwnPropertyDescriptor&&RE?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,PE=RE&&OE&&"function"==typeof OE.get?OE.get:null,kE=RE&&Map.prototype.forEach,jE="function"==typeof Set&&Set.prototype,TE=Object.getOwnPropertyDescriptor&&jE?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,IE=jE&&TE&&"function"==typeof TE.get?TE.get:null,_E=jE&&Set.prototype.forEach,NE="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,CE="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,UE="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,LE=Boolean.prototype.valueOf,DE=Object.prototype.toString,FE=Function.prototype.toString,BE=String.prototype.match,ME=String.prototype.slice,qE=String.prototype.replace,WE=String.prototype.toUpperCase,GE=String.prototype.toLowerCase,zE=RegExp.prototype.test,HE=Array.prototype.concat,$E=Array.prototype.join,VE=Array.prototype.slice,KE=Math.floor,YE="function"==typeof BigInt?BigInt.prototype.valueOf:null,JE=Object.getOwnPropertySymbols,QE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,XE="function"==typeof Symbol&&"object"==typeof Symbol.iterator,ZE="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===XE||"symbol")?Symbol.toStringTag:null,ex=Object.prototype.propertyIsEnumerable,tx=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function rx(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||zE.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-KE(-e):KE(e);if(n!==e){var o=String(n),i=ME.call(t,o.length+1);return qE.call(o,r,"$&_")+"."+qE.call(qE.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return qE.call(t,r,"$&_")}var nx=AE,ox=nx.custom,ix=dx(ox)?ox:null,ax={__proto__:null,double:'"',single:"'"},sx={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},ux=function e(t,r,n,o){var i=r||{};if(mx(i,"quoteStyle")&&!mx(ax,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(mx(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!mx(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(mx(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(mx(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.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 bx(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var u=String(t);return s?rx(t,u):u}if("bigint"==typeof t){var c=String(t)+"n";return s?rx(t,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=l&&l>0&&"object"==typeof t)return px(t)?"[Array]":"[Object]";var f=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=$E.call(Array(e.indent+1)," ")}return{base:r,prev:$E.call(Array(t+1),r)}}(i,n);if(void 0===o)o=[];else if(vx(o,t)>=0)return"[Circular]";function p(t,r,a){if(r&&(o=VE.call(o)).push(r),a){var s={depth:i.depth};return mx(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,n+1,o)}return e(t,i,n+1,o)}if("function"==typeof t&&!hx(t)){var h=function(e){if(e.name)return e.name;var t=BE.call(FE.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),d=Rx(t,p);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+$E.call(d,", ")+" }":"")}if(dx(t)){var y=XE?qE.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):QE.call(t);return"object"!=typeof t||XE?y:Sx(y)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var m="<"+GE.call(String(t.nodeName)),g=t.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+cx(lx(g[v].value),"double",i);return m+=">",t.childNodes&&t.childNodes.length&&(m+="..."),m+="</"+GE.call(String(t.nodeName))+">"}if(px(t)){if(0===t.length)return"[]";var b=Rx(t,p);return f&&!function(e){for(var t=0;t<e.length;t++)if(vx(e[t],"\n")>=0)return!1;return!0}(b)?"["+Ax(b,f)+"]":"[ "+$E.call(b,", ")+" ]"}if(function(e){return"[object Error]"===gx(e)&&fx(e)}(t)){var w=Rx(t,p);return"cause"in Error.prototype||!("cause"in t)||ex.call(t,"cause")?0===w.length?"["+String(t)+"]":"{ ["+String(t)+"] "+$E.call(w,", ")+" }":"{ ["+String(t)+"] "+$E.call(HE.call("[cause]: "+p(t.cause),w),", ")+" }"}if("object"==typeof t&&a){if(ix&&"function"==typeof t[ix]&&nx)return nx(t,{depth:l-n});if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!PE||!e||"object"!=typeof e)return!1;try{PE.call(e);try{IE.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var S=[];return kE&&kE.call(t,function(e,r){S.push(p(r,t,!0)+" => "+p(e,t))}),xx("Map",PE.call(t),S,f)}if(function(e){if(!IE||!e||"object"!=typeof e)return!1;try{IE.call(e);try{PE.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var E=[];return _E&&_E.call(t,function(e){E.push(p(e,t))}),xx("Set",IE.call(t),E,f)}if(function(e){if(!NE||!e||"object"!=typeof e)return!1;try{NE.call(e,NE);try{CE.call(e,CE)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Ex("WeakMap");if(function(e){if(!CE||!e||"object"!=typeof e)return!1;try{CE.call(e,CE);try{NE.call(e,NE)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Ex("WeakSet");if(function(e){if(!UE||!e||"object"!=typeof e)return!1;try{return UE.call(e),!0}catch(e){}return!1}(t))return Ex("WeakRef");if(function(e){return"[object Number]"===gx(e)&&fx(e)}(t))return Sx(p(Number(t)));if(function(e){if(!e||"object"!=typeof e||!YE)return!1;try{return YE.call(e),!0}catch(e){}return!1}(t))return Sx(p(YE.call(t)));if(function(e){return"[object Boolean]"===gx(e)&&fx(e)}(t))return Sx(LE.call(t));if(function(e){return"[object String]"===gx(e)&&fx(e)}(t))return Sx(p(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==x&&t===x)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===gx(e)&&fx(e)}(t)&&!hx(t)){var A=Rx(t,p),R=tx?tx(t)===Object.prototype:t instanceof Object||t.constructor===Object,O=t instanceof Object?"":"null prototype",P=!R&&ZE&&Object(t)===t&&ZE in t?ME.call(gx(t),8,-1):O?"Object":"",k=(R||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(P||O?"["+$E.call(HE.call([],P||[],O||[]),": ")+"] ":"");return 0===A.length?k+"{}":f?k+"{"+Ax(A,f)+"}":k+"{ "+$E.call(A,", ")+" }"}return String(t)};function cx(e,t,r){var n=r.quoteStyle||t,o=ax[n];return o+e+o}function lx(e){return qE.call(String(e),/"/g,""")}function fx(e){return!ZE||!("object"==typeof e&&(ZE in e||void 0!==e[ZE]))}function px(e){return"[object Array]"===gx(e)&&fx(e)}function hx(e){return"[object RegExp]"===gx(e)&&fx(e)}function dx(e){if(XE)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!QE)return!1;try{return QE.call(e),!0}catch(e){}return!1}var yx=Object.prototype.hasOwnProperty||function(e){return e in this};function mx(e,t){return yx.call(e,t)}function gx(e){return DE.call(e)}function vx(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 bx(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return bx(ME.call(e,0,t.maxStringLength),t)+n}var o=sx[t.quoteStyle||"single"];return o.lastIndex=0,cx(qE.call(qE.call(e,o,"\\$1"),/[\x00-\x1f]/g,wx),"single",t)}function wx(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":"")+WE.call(t.toString(16))}function Sx(e){return"Object("+e+")"}function Ex(e){return e+" { ? }"}function xx(e,t,r,n){return e+" ("+t+") {"+(n?Ax(r,n):$E.call(r,", "))+"}"}function Ax(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+$E.call(e,","+r)+"\n"+t.prev}function Rx(e,t){var r=px(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=mx(e,o)?t(e[o],e):""}var i,a="function"==typeof JE?JE(e):[];if(XE){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)mx(e,u)&&(r&&String(Number(u))===u&&u<e.length||XE&&i["$"+u]instanceof Symbol||(zE.call(/[^\w$]/,u)?n.push(t(u,e)+": "+t(e[u],e)):n.push(u+": "+t(e[u],e))));if("function"==typeof JE)for(var c=0;c<a.length;c++)ex.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var Ox=ux,Px=xE,kx=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},jx=Object,Tx=Error,Ix=EvalError,_x=RangeError,Nx=ReferenceError,Cx=SyntaxError,Ux=URIError,Lx=Math.abs,Dx=Math.floor,Fx=Math.max,Bx=Math.min,Mx=Math.pow,qx=Math.round,Wx=Number.isNaN||function(e){return e!=e},Gx=Object.getOwnPropertyDescriptor;if(Gx)try{Gx([],"length")}catch(e){Gx=null}var zx=Gx,Hx=Object.defineProperty||!1;if(Hx)try{Hx({},"a",{value:1})}catch(e){Hx=!1}var $x,Vx,Kx,Yx,Jx,Qx,Xx,Zx,eA,tA,rA,nA,oA,iA,aA,sA,uA=Hx;function cA(){return Qx?Jx:(Qx=1,Jx="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function lA(){return Zx?Xx:(Zx=1,Xx=jx.getPrototypeOf||null)}function fA(){if(tA)return eA;tA=1;var e=Object.prototype.toString,t=Math.max,r=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};return eA=function(n){var o=this;if("function"!=typeof o||"[object Function]"!==e.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(e,t){for(var r=[],n=t,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r}(arguments,1),s=t(0,o.length-a.length),u=[],c=0;c<s;c++)u[c]="$"+c;if(i=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(u,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var e=o.apply(this,r(a,arguments));return Object(e)===e?e:this}return o.apply(n,r(a,arguments))}),o.prototype){var l=function(){};l.prototype=o.prototype,i.prototype=new l,l.prototype=null}return i},eA}function pA(){if(nA)return rA;nA=1;var e=fA();return rA=Function.prototype.bind||e}function hA(){return iA?oA:(iA=1,oA=Function.prototype.call)}function dA(){return sA?aA:(sA=1,aA=Function.prototype.apply)}var yA,mA,gA,vA,bA,wA,SA,EA="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,xA=pA(),AA=dA(),RA=hA(),OA=EA||xA.call(RA,AA),PA=pA(),kA=xE,jA=hA(),TA=OA,IA=function(e){if(e.length<1||"function"!=typeof e[0])throw new kA("a function is required");return TA(PA,jA,e)};var _A=jx,NA=Tx,CA=Ix,UA=_x,LA=Nx,DA=Cx,FA=xE,BA=Ux,MA=Lx,qA=Dx,WA=Fx,GA=Bx,zA=Mx,HA=qx,$A=function(e){return Wx(e)||0===e?e:e<0?-1:1},VA=Function,KA=function(e){try{return VA('"use strict"; return ('+e+").constructor;")()}catch(e){}},YA=zx,JA=uA,QA=function(){throw new FA},XA=YA?function(){try{return QA}catch(e){try{return YA(arguments,"callee").get}catch(e){return QA}}}():QA,ZA=function(){if(Yx)return Kx;Yx=1;var e="undefined"!=typeof Symbol&&Symbol,t=Vx?$x:(Vx=1,$x=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 i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0});return Kx=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&t())))}}()(),eR=function(){if(vA)return gA;vA=1;var e=cA(),t=lA(),r=function(){if(mA)return yA;mA=1;var e,t=IA,r=zx;try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var n=!!e&&r&&r(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return yA=n&&"function"==typeof n.get?t([n.get]):"function"==typeof i&&function(e){return i(null==e?e:o(e))}}();return gA=e?function(t){return e(t)}:t?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:r?function(e){return r(e)}:null}(),tR=lA(),rR=cA(),nR=dA(),oR=hA(),iR={},aR="undefined"!=typeof Uint8Array&&eR?eR(Uint8Array):SA,sR={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?SA:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?SA:ArrayBuffer,"%ArrayIteratorPrototype%":ZA&&eR?eR([][Symbol.iterator]()):SA,"%AsyncFromSyncIteratorPrototype%":SA,"%AsyncFunction%":iR,"%AsyncGenerator%":iR,"%AsyncGeneratorFunction%":iR,"%AsyncIteratorPrototype%":iR,"%Atomics%":"undefined"==typeof Atomics?SA:Atomics,"%BigInt%":"undefined"==typeof BigInt?SA:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?SA:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?SA:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?SA:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":NA,"%eval%":eval,"%EvalError%":CA,"%Float16Array%":"undefined"==typeof Float16Array?SA:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?SA:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?SA:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?SA:FinalizationRegistry,"%Function%":VA,"%GeneratorFunction%":iR,"%Int8Array%":"undefined"==typeof Int8Array?SA:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?SA:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?SA:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ZA&&eR?eR(eR([][Symbol.iterator]())):SA,"%JSON%":"object"==typeof JSON?JSON:SA,"%Map%":"undefined"==typeof Map?SA:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&ZA&&eR?eR((new Map)[Symbol.iterator]()):SA,"%Math%":Math,"%Number%":Number,"%Object%":_A,"%Object.getOwnPropertyDescriptor%":YA,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?SA:Promise,"%Proxy%":"undefined"==typeof Proxy?SA:Proxy,"%RangeError%":UA,"%ReferenceError%":LA,"%Reflect%":"undefined"==typeof Reflect?SA:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?SA:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&ZA&&eR?eR((new Set)[Symbol.iterator]()):SA,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?SA:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ZA&&eR?eR(""[Symbol.iterator]()):SA,"%Symbol%":ZA?Symbol:SA,"%SyntaxError%":DA,"%ThrowTypeError%":XA,"%TypedArray%":aR,"%TypeError%":FA,"%Uint8Array%":"undefined"==typeof Uint8Array?SA:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?SA:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?SA:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?SA:Uint32Array,"%URIError%":BA,"%WeakMap%":"undefined"==typeof WeakMap?SA:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?SA:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?SA:WeakSet,"%Function.prototype.call%":oR,"%Function.prototype.apply%":nR,"%Object.defineProperty%":JA,"%Object.getPrototypeOf%":tR,"%Math.abs%":MA,"%Math.floor%":qA,"%Math.max%":WA,"%Math.min%":GA,"%Math.pow%":zA,"%Math.round%":HA,"%Math.sign%":$A,"%Reflect.getPrototypeOf%":rR};if(eR)try{null.error}catch(e){var uR=eR(eR(e));sR["%Error.prototype%"]=uR}var cR=function e(t){var r;if("%AsyncFunction%"===t)r=KA("async function () {}");else if("%GeneratorFunction%"===t)r=KA("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=KA("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&eR&&(r=eR(o.prototype))}return sR[t]=r,r},lR={__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"]},fR=pA(),pR=function(){if(wA)return bA;wA=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=pA();return bA=r.call(e,t)}(),hR=fR.call(oR,Array.prototype.concat),dR=fR.call(nR,Array.prototype.splice),yR=fR.call(oR,String.prototype.replace),mR=fR.call(oR,String.prototype.slice),gR=fR.call(oR,RegExp.prototype.exec),vR=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,bR=/\\(\\)?/g,wR=function(e,t){var r,n=e;if(pR(lR,n)&&(n="%"+(r=lR[n])[0]+"%"),pR(sR,n)){var o=sR[n];if(o===iR&&(o=cR(n)),void 0===o&&!t)throw new FA("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new DA("intrinsic "+e+" does not exist!")},SR=function(e,t){if("string"!=typeof e||0===e.length)throw new FA("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new FA('"allowMissing" argument must be a boolean');if(null===gR(/^%?[^%]*%?$/,e))throw new DA("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=mR(e,0,1),r=mR(e,-1);if("%"===t&&"%"!==r)throw new DA("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new DA("invalid intrinsic syntax, expected opening `%`");var n=[];return yR(e,vR,function(e,t,r,o){n[n.length]=r?yR(o,bR,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",o=wR("%"+n+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],dR(r,hR([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var f=r[c],p=mR(f,0,1),h=mR(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===h||"'"===h||"`"===h)&&p!==h)throw new DA("property names with quotes must have matching quotes");if("constructor"!==f&&l||(s=!0),pR(sR,i="%"+(n+="."+f)+"%"))a=sR[i];else if(null!=a){if(!(f in a)){if(!t)throw new FA("base intrinsic for "+e+" exists, but the property is not available.");return}if(YA&&c+1>=r.length){var d=YA(a,f);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[f]}else l=pR(a,f),a=a[f];l&&!s&&(sR[i]=a)}}return a},ER=SR,xR=IA,AR=xR([ER("%String.prototype.indexOf%")]),RR=function(e,t){var r=ER(e,!!t);return"function"==typeof r&&AR(e,".prototype.")>-1?xR([r]):r},OR=RR,PR=ux,kR=xE,jR=SR("%Map%",!0),TR=OR("Map.prototype.get",!0),IR=OR("Map.prototype.set",!0),_R=OR("Map.prototype.has",!0),NR=OR("Map.prototype.delete",!0),CR=OR("Map.prototype.size",!0),UR=!!jR&&function(){var e,t={assert:function(e){if(!t.has(e))throw new kR("Side channel does not contain "+PR(e))},delete:function(t){if(e){var r=NR(e,t);return 0===CR(e)&&(e=void 0),r}return!1},get:function(t){if(e)return TR(e,t)},has:function(t){return!!e&&_R(e,t)},set:function(t,r){e||(e=new jR),IR(e,t,r)}};return t},LR=RR,DR=ux,FR=UR,BR=xE,MR=SR("%WeakMap%",!0),qR=LR("WeakMap.prototype.get",!0),WR=LR("WeakMap.prototype.set",!0),GR=LR("WeakMap.prototype.has",!0),zR=LR("WeakMap.prototype.delete",!0),HR=xE,$R=ux,VR=(MR?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new BR("Side channel does not contain "+DR(e))},delete:function(r){if(MR&&r&&("object"==typeof r||"function"==typeof r)){if(e)return zR(e,r)}else if(FR&&t)return t.delete(r);return!1},get:function(r){return MR&&r&&("object"==typeof r||"function"==typeof r)&&e?qR(e,r):t&&t.get(r)},has:function(r){return MR&&r&&("object"==typeof r||"function"==typeof r)&&e?GR(e,r):!!t&&t.has(r)},set:function(r,n){MR&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new MR),WR(e,r,n)):FR&&(t||(t=FR()),t.set(r,n))}};return r}:FR)||UR||function(){var e,t={assert:function(e){if(!t.has(e))throw new Px("Side channel does not contain "+Ox(e))},delete:function(t){var r=e&&e.next,n=function(e,t){if(e)return kx(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=kx(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!kx(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var n=kx(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t},KR=function(){var e,t={assert:function(e){if(!t.has(e))throw new HR("Side channel does not contain "+$R(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=VR()),e.set(t,r)}};return t},YR=String.prototype.replace,JR=/%20/g,QR="RFC3986",XR={default:QR,formatters:{RFC1738:function(e){return YR.call(e,JR,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:QR},ZR=XR,eO=KR,tO=Object.prototype.hasOwnProperty,rO=Array.isArray,nO=eO(),oO=function(e,t){return nO.set(e,t),e},iO=function(e){return nO.has(e)},aO=function(e){return nO.get(e)},sO=function(e,t){nO.set(e,t)},uO=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),cO=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},lO=1024,fO={arrayToObject:cO,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(iO(e)){var o=aO(e)+1;return e[o]=t,sO(e,o),e}var i=[].concat(e,t);return i.length>r?oO(cO(i,{plainObjects:n}),i.length-1):i},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],c=i[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t[t.length]={obj:i,prop:u},r[r.length]=c)}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(rO(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&(n[n.length]=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,n,o){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 a="",s=0;s<i.length;s+=lO){for(var u=i.length>=lO?i.slice(s,s+lO):i,c=[],l=0;l<u.length;++l){var f=u.charCodeAt(l);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===ZR.RFC1738&&(40===f||41===f)?c[c.length]=u.charAt(l):f<128?c[c.length]=uO[f]:f<2048?c[c.length]=uO[192|f>>6]+uO[128|63&f]:f<55296||f>=57344?c[c.length]=uO[224|f>>12]+uO[128|f>>6&63]+uO[128|63&f]:(l+=1,f=65536+((1023&f)<<10|1023&u.charCodeAt(l)),c[c.length]=uO[240|f>>18]+uO[128|f>>12&63]+uO[128|f>>6&63]+uO[128|63&f])}a+=c.join("")}return a},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:iO,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:oO,maybeMap:function(e,t){if(rO(e)){for(var r=[],n=0;n<e.length;n+=1)r[r.length]=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(rO(t)){var o=t.length;if(n&&"number"==typeof n.arrayLimit&&o>n.arrayLimit)return oO(cO(t.concat(r),n),o);t[o]=r}else{if(!t||"object"!=typeof t)return[t,r];if(iO(t)){var i=aO(t)+1;t[i]=r,sO(t,i)}else{if(n&&n.strictMerge)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!tO.call(Object.prototype,r))&&(t[r]=!0)}}return t}if(!t||"object"!=typeof t){if(iO(r)){for(var a=Object.keys(r),s=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},u=0;u<a.length;u++){s[parseInt(a[u],10)+1]=r[a[u]]}return oO(s,aO(r)+1)}var c=[t].concat(r);return n&&"number"==typeof n.arrayLimit&&c.length>n.arrayLimit?oO(cO(c,n),c.length-1):c}var l=t;return rO(t)&&!rO(r)&&(l=cO(t,n)),rO(t)&&rO(r)?(r.forEach(function(r,o){if(tO.call(t,o)){var i=t[o];i&&"object"==typeof i&&r&&"object"==typeof r?t[o]=e(i,r,n):t[t.length]=r}else t[o]=r}),t):Object.keys(r).reduce(function(t,o){var i=r[o];if(tO.call(t,o)?t[o]=e(t[o],i,n):t[o]=i,iO(r)&&!iO(t)&&oO(t,aO(r)),iO(t)){var a=parseInt(o,10);String(a)===o&&a>=0&&a>aO(t)&&sO(t,a)}return t},l)}},pO=KR,hO=fO,dO=XR,yO=Object.prototype.hasOwnProperty,mO={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},gO=Array.isArray,vO=Array.prototype.push,bO=function(e,t){vO.apply(e,gO(t)?t:[t])},wO=Date.prototype.toISOString,SO=dO.default,EO={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:hO.encode,encodeValuesOnly:!1,filter:void 0,format:SO,formatter:dO.formatters[SO],indices:!1,serializeDate:function(e){return wO.call(e)},skipNulls:!1,strictNullHandling:!1},xO={},AO=function e(t,r,n,o,i,a,s,u,c,l,f,p,h,d,y,m,g,v){for(var b,w=t,S=v,E=0,x=!1;void 0!==(S=S.get(xO))&&!x;){var A=S.get(t);if(E+=1,void 0!==A){if(A===E)throw new RangeError("Cyclic object value");x=!0}void 0===S.get(xO)&&(E=0)}if("function"==typeof l?w=l(r,w):w instanceof Date?w=h(w):"comma"===n&&gO(w)&&(w=hO.maybeMap(w,function(e){return e instanceof Date?h(e):e})),null===w){if(a)return c&&!m?c(r,EO.encoder,g,"key",d):r;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||hO.isBuffer(w))return c?[y(m?r:c(r,EO.encoder,g,"key",d))+"="+y(c(w,EO.encoder,g,"value",d))]:[y(r)+"="+y(String(w))];var R,O=[];if(void 0===w)return O;if("comma"===n&&gO(w))m&&c&&(w=hO.maybeMap(w,c)),R=[{value:w.length>0?w.join(",")||null:void 0}];else if(gO(l))R=l;else{var P=Object.keys(w);R=f?P.sort(f):P}var k=u?String(r).replace(/\./g,"%2E"):String(r),j=o&&gO(w)&&1===w.length?k+"[]":k;if(i&&gO(w)&&0===w.length)return j+"[]";for(var T=0;T<R.length;++T){var I=R[T],_="object"==typeof I&&I&&void 0!==I.value?I.value:w[I];if(!s||null!==_){var N=p&&u?String(I).replace(/\./g,"%2E"):String(I),C=gO(w)?"function"==typeof n?n(j,N):j:j+(p?"."+N:"["+N+"]");v.set(t,E);var U=pO();U.set(xO,v),bO(O,e(_,C,n,o,i,a,s,u,"comma"===n&&m&&gO(w)?null:c,l,f,p,h,d,y,m,g,U))}}return O},RO=fO,OO=Object.prototype.hasOwnProperty,PO=Array.isArray,kO={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:RO.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},jO=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},TO=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},IO=function(e,t,r,n){if(e){var o=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&OO.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var n=/(\[[^[\]]*])/g,o=/(\[[^[\]]*])/.exec(r),i=o?r.slice(0,o.index):r,a=[];if(i){if(!t.plainObjects&&OO.call(Object.prototype,i)&&!t.allowPrototypes)return;a[a.length]=i}for(var s=0;null!==(o=n.exec(r))&&s<t.depth;){s+=1;var u=o[1].slice(1,-1);if(!t.plainObjects&&OO.call(Object.prototype,u)&&!t.allowPrototypes)return;a[a.length]=o[1]}if(o){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");a[a.length]="["+r.slice(o.index)+"]"}return a}(e,r);if(o)return function(e,t,r,n){var o=0;if(e.length>0&&"[]"===e[e.length-1]){var i=e.slice(0,-1).join("");o=Array.isArray(t)&&t[i]?t[i].length:0}for(var a=n?t:TO(t,r,o),s=e.length-1;s>=0;--s){var u,c=e[s];if("[]"===c&&r.parseArrays)u=RO.isOverflow(a)?a:r.allowEmptyArrays&&(""===a||r.strictNullHandling&&null===a)?[]:RO.combine([],a,r.arrayLimit,r.plainObjects);else{u=r.plainObjects?{__proto__:null}:{};var l="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,f=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,p=parseInt(f,10),h=!isNaN(p)&&c!==f&&String(p)===f&&p>=0&&r.parseArrays;if(r.parseArrays||""!==f)if(h&&p<r.arrayLimit)(u=[])[p]=a;else{if(h&&r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");h?(u[p]=a,RO.markOverflow(u,p)):"__proto__"!==f&&(u[f]=a)}else u={0:a}}a=u}return a}(o,t,r,n)}},_O=function(e,t){var r,n=e,o=function(e){if(!e)return EO;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||EO.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=dO.default;if(void 0!==e.format){if(!yO.call(dO.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=dO.formatters[r],i=EO.filter;if(("function"==typeof e.filter||gO(e.filter))&&(i=e.filter),n=e.arrayFormat in mO?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":EO.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=void 0===e.allowDots?!0===e.encodeDotInKeys||EO.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:EO.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:EO.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:EO.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?EO.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:EO.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:EO.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:EO.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:EO.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:EO.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:EO.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:EO.strictNullHandling}}(t);"function"==typeof o.filter?n=(0,o.filter)("",n):gO(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var a=mO[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var u=pO(),c=0;c<r.length;++c){var l=r[c],f=n[l];o.skipNulls&&null===f||bO(i,AO(f,l,a,s,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var p=i.join(o.delimiter),h=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),p.length>0?h+p:""},NO=function(e,t){var r=function(e){if(!e)return kO;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?kO.charset:e.charset,r=void 0===e.duplicates?kO.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||kO.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:kO.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:kO.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:kO.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:kO.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:kO.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:kO.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:kO.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:kO.decoder,delimiter:"string"==typeof e.delimiter||RO.isRegExp(e.delimiter)?e.delimiter:kO.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:kO.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:kO.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:kO.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:kO.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:kO.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:kO.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:kO.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var n="string"==typeof e?function(e,t){var r={__proto__:null},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;n=n.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o=t.parameterLimit===1/0?void 0:t.parameterLimit,i=n.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==o?o+1:o);if(t.throwOnLimitExceeded&&void 0!==o&&i.length>o)throw new RangeError("Parameter limit exceeded. Only "+o+" parameter"+(1===o?"":"s")+" allowed.");var a,s=-1,u=t.charset;if(t.charsetSentinel)for(a=0;a<i.length;++a)0===i[a].indexOf("utf8=")&&("utf8=%E2%9C%93"===i[a]?u="utf-8":"utf8=%26%2310003%3B"===i[a]&&(u="iso-8859-1"),s=a,a=i.length);for(a=0;a<i.length;++a)if(a!==s){var c,l,f=i[a],p=f.indexOf("]="),h=-1===p?f.indexOf("="):p+1;if(-1===h?(c=t.decoder(f,kO.decoder,u,"key"),l=t.strictNullHandling?null:""):null!==(c=t.decoder(f.slice(0,h),kO.decoder,u,"key"))&&(l=RO.maybeMap(TO(f.slice(h+1),t,PO(r[c])?r[c].length:0),function(e){return t.decoder(e,kO.decoder,u,"value")})),l&&t.interpretNumericEntities&&"iso-8859-1"===u&&(l=jO(String(l))),f.indexOf("[]=")>-1&&(l=PO(l)?[l]:l),t.comma&&PO(l)&&l.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");l=RO.combine([],l,t.arrayLimit,t.plainObjects)}if(null!==c){var d=OO.call(r,c);d&&("combine"===t.duplicates||f.indexOf("[]=")>-1)?r[c]=RO.combine(r[c],l,t.arrayLimit,t.plainObjects):d&&"last"!==t.duplicates||(r[c]=l)}}return r}(e,r):e,o=r.plainObjects?{__proto__:null}:{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],u=IO(s,n[s],r,"string"==typeof e);o=RO.merge(o,u,r)}return!0===r.allowSparse?o:RO.compact(o)},CO=A({formats:XR,parse:NO,stringify:_O});const UO="function"==typeof Buffer,LO=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),DO=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),FO=(e=>{let t={};return e.forEach((e,r)=>t[e]=r),t})(DO),BO=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,MO=String.fromCharCode.bind(String),qO=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_")),WO=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),GO=e=>{let t,r,n,o,i="";const a=e.length%3;for(let a=0;a<e.length;){if((r=e.charCodeAt(a++))>255||(n=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|o,i+=DO[t>>18&63]+DO[t>>12&63]+DO[t>>6&63]+DO[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},zO="function"==typeof btoa?e=>btoa(e):UO?e=>Buffer.from(e,"binary").toString("base64"):GO,HO=UO?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(MO.apply(null,e.subarray(r,r+4096)));return zO(t.join(""))},$O=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?MO(192|t>>>6)+MO(128|63&t):MO(224|t>>>12&15)+MO(128|t>>>6&63)+MO(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return MO(240|t>>>18&7)+MO(128|t>>>12&63)+MO(128|t>>>6&63)+MO(128|63&t)},VO=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,KO=e=>e.replace(VO,$O),YO=UO?e=>Buffer.from(e,"utf8").toString("base64"):LO?e=>HO(LO.encode(e)):e=>zO(KO(e)),JO=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?qO(YO(e)):YO(e)},QO=e=>{if(e=e.replace(/\s+/g,""),!BO.test(e))throw new TypeError("malformed base64.");let t,r,n;e+="==".slice(2-(3&e.length));let o=[];for(let i=0;i<e.length;)t=FO[e.charAt(i++)]<<18|FO[e.charAt(i++)]<<12|(r=FO[e.charAt(i++)])<<6|(n=FO[e.charAt(i++)]),64===r?o.push(MO(t>>16&255)):64===n?o.push(MO(t>>16&255,t>>8&255)):o.push(MO(t>>16&255,t>>8&255,255&t));return o.join("")},XO=JO;var ZO,eP=function(){return u(function e(t){if(a(this,e),this.baseUrl=t.baseUrl,this.auth=t.auth,this.headers=this.buildHeaders({basicAuth:t.basicAuth,userAgent:t.userAgent}),"httpsAgent"in t){if("clientCertAuth"in t)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=t.httpsAgent}else"clientCertAuth"in t&&(this.clientCertAuth=t.clientCertAuth);this.proxy=t.proxy,this.requestToken=null,this.socketTimeout=t.socketTimeout},[{key:"build",value:(n=o(m().m(function e(r,n,o,i){var a,s,u,c,l,f,p,h,y,g,v,b,w,S,E,x,A,R,O,P;return m().w(function(e){for(;;)switch(e.n){case 0:a=d(d(d({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(n)},i||{}),t.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth,socketTimeout:this.socketTimeout})),{},{proxy:this.buildProxyConfig(this.proxy)}),l=r,e.n="get"===l?1:"post"===l?4:"put"===l?8:"delete"===l?10:12;break;case 1:if(!((s=this.buildRequestUrl(n,o)).length>4096)){e.n=3;break}return f=d,p=d({},a),h={},y=d(d({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),e.n=2,this.buildData(o);case 2:return g=e.v,e.a(2,f(p,h,{method:"post",headers:y,data:g}));case 3:return e.a(2,d(d({},a),{},{url:s}));case 4:if(!(o instanceof Nv)){e.n=6;break}return e.n=5,this.buildData(o);case 5:return u=e.v,e.a(2,d(d({},a),{},{headers:"function"==typeof u.getHeaders?d(d({},this.headers),u.getHeaders()):this.headers,data:u}));case 6:return v=d,b=d({},a),w={},e.n=7,this.buildData(o);case 7:return S=e.v,e.a(2,v(b,w,{data:S}));case 8:return E=d,x=d({},a),A={},e.n=9,this.buildData(o);case 9:return R=e.v,e.a(2,E(x,A,{data:R}));case 10:return O=this,P=n,e.n=11,this.buildData(o);case 11:return c=O.buildRequestUrl.call(O,P,e.v),e.a(2,d(d({},a),{},{url:c}));case 12:throw new Error("".concat(r," method is not supported"));case 13:return e.a(2)}},e,this)})),function(e,t,r,o){return n.apply(this,arguments)})},{key:"buildProxyConfig",value:function(e){var t;if(void 0!==e){if(!1===e)return!1;var r=e;return!r.auth||0!==r.auth.username.length&&0!==r.auth.password.length||(r.auth=void 0),r.protocol=null!==(t=r.protocol)&&void 0!==t?t:"http",r}}},{key:"buildRequestUrl",value:function(e,t){return"".concat(this.baseUrl).concat(e,"?").concat(CO.stringify(t))}},{key:"buildData",value:(r=o(m().m(function e(t){var r;return m().w(function(e){for(;;)switch(e.n){case 0:if("session"!==this.auth.type){e.n=3;break}return e.n=1,this.getRequestToken();case 1:if(r=e.v,!(t instanceof Nv)){e.n=2;break}return t.append("__REQUEST_TOKEN__",r),e.a(2,t);case 2:return e.a(2,d({__REQUEST_TOKEN__:r},t));case 3:return e.a(2,t)}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"buildHeaders",value:function(e){var r=e.basicAuth,n=e.userAgent,o=r?{Authorization:"Basic ".concat(XO("".concat(r.username,":").concat(r.password)))}:{},i=d(d({},t.buildHeaders({userAgent:n})),o);switch(this.auth.type){case"password":return d(d({},i),{},{"X-Cybozu-Authorization":XO("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var a=this.auth.apiToken;return Array.isArray(a)?d(d({},i),{},{"X-Cybozu-API-Token":a.join(",")}):d(d({},i),{},{"X-Cybozu-API-Token":a});case"oAuthToken":return d(d({},i),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return d(d({},i),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(e=o(m().m(function e(){return m().w(function(e){for(;;)switch(e.n){case 0:if(null!==this.requestToken){e.n=2;break}return e.n=1,t.getRequestToken();case 1:this.requestToken=e.v;case 2:return e.a(2,this.requestToken)}},e,this)})),function(){return e.apply(this,arguments)})}]);var e,r,n}(),tP=["data"],rP=function(){return u(function e(t){var r=t.enableAbortSearchError;a(this,e),this.enableAbortSearchError=r},[{key:"handle",value:function(e){var t=this;return e.then(function(e){return t.handleSuccessResponse(e)},function(e){return t.handleErrorResponse(e)})}},{key:"handleSuccessResponse",value:function(e){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(e.headers["x-cybozu-warning"]))throw new hv(e.headers["x-cybozu-warning"]);return e.data}},{key:"handleErrorResponse",value:function(e){if(!e.response){if(/mac verify failure/.test(e.toString()))throw new Error("invalid clientCertAuth setting");throw e}var t=e.response,r=t.data,n=y(t,tP);if("string"==typeof r)throw new Error("".concat(n.status,": ").concat(n.statusText));throw new Ov(d({data:r},n))}}])}(),nP=function(){return u(function e(){var r,n,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a(this,e),oP(i),this.baseUrl=t.buildBaseUrl(i.baseUrl).replace(/\/+$/,"");var s=function(e){if("username"in e)return d({type:"password"},e);if("apiToken"in e)return d({type:"apiToken"},e);if("oAuthToken"in e)return d({type:"oAuthToken"},e);try{return t.getDefaultAuth()}catch(e){if(e instanceof ta)throw new Error("session authentication is not supported in ".concat(e.platform," environment."));throw e}}(null!==(r=i.auth)&&void 0!==r?r:{}),u=new eP(d(d({},i),{},{baseUrl:this.baseUrl,auth:s})),c=new rP({enableAbortSearchError:null!==(n=null===(o=i.featureFlags)||void 0===o?void 0:o.enableAbortSearchError)&&void 0!==n&&n}),l=new gE({responseHandler:c,requestConfigBuilder:u}),f=i.guestSpaceId;this.bulkRequest_=new Em(l,f),this.record=new Iv(l,this.bulkRequest_,f),this.app=new Bm(l,f),this.space=new _v(l,f),this.file=new Cv(l,f),this.plugin=new Uv(l)},[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(e){return this.bulkRequest_.send(e)}}],[{key:"version",get:function(){return t.getVersion()}}])}(),oP=function(e){iP(e.baseUrl),aP(e.guestSpaceId),sP(e.socketTimeout)},iP=function(e){if(void 0!==e){var t=new URL(e);if("localhost"!==t.hostname&&"https:"!==t.protocol)throw new Error('The protocol of baseUrl must be "https".')}},aP=function(e){if(""===e||null===e)throw new Error("invalid guestSpaceId: got [".concat(e,"]"))},sP=function(e){if(void 0!==e){var t=parseFloat(e.toString());if(isNaN(t)||t<0)throw new Error("Invalid socketTimeout. Must be a positive number.")}};(ZO=aa).readFileFromPath&&(t.readFileFromPath=ZO.readFileFromPath),ZO.getRequestToken&&(t.getRequestToken=ZO.getRequestToken),ZO.getDefaultAuth&&(t.getDefaultAuth=ZO.getDefaultAuth),ZO.buildPlatformDependentConfig&&(t.buildPlatformDependentConfig=ZO.buildPlatformDependentConfig),ZO.buildHeaders&&(t.buildHeaders=ZO.buildHeaders),ZO.buildFormDataValue&&(t.buildFormDataValue=ZO.buildFormDataValue),ZO.buildBaseUrl&&(t.buildBaseUrl=ZO.buildBaseUrl),ZO.getVersion&&(t.getVersion=ZO.getVersion),e.KintoneAbortSearchError=hv,e.KintoneAllRecordsError=Rv,e.KintoneRestAPIClient=nP,e.KintoneRestAPIError=Ov});
|
|
769
|
+
var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var u=n&&n.prototype instanceof s?n:s,c=Object.create(u.prototype);return g(c,"_invoke",function(r,n,o){var i,s,u,c=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,r){return i=t,s=0,u=e,p.n=r,a}};function h(r,n){for(s=r,u=n,t=0;!f&&c&&!o&&t<l.length;t++){var o,i=l[t],h=p.p,d=i[2];r>3?(o=d===n)&&(u=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=h&&((o=r<2&&h<i[1])?(s=0,p.v=n,p.n=i[1]):h<d&&(o=r<3||i[0]>n||n>d)&&(i[4]=r,i[5]=n,p.n=d,s=0))}if(o||r>1)return a;throw f=!0,n}return function(o,l,d){if(c>1)throw TypeError("Generator is already running");for(f&&1===l&&h(l,d),s=l,u=d;(t=s<2?e:u)||!f;){i||(s?s<3?(s>1&&(p.n=-1),h(s,u)):p.n=u:p.v=u);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(f=p.n<0)?u:r.call(n,p))!==a)break}catch(t){i=e,s=1,u=t}finally{c=1}}return{value:t,done:f}}}(r,o,i),!0),c}var a={};function s(){}function u(){}function c(){}t=Object.getPrototypeOf;var l=[][n]?t(t([][n]())):(g(t={},n,function(){return this}),t),f=c.prototype=s.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,g(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=c,g(f,"constructor",c),g(c,"constructor",u),u.displayName="GeneratorFunction",g(c,o,"GeneratorFunction"),g(f),g(f,o,"Generator"),g(f,n,function(){return this}),g(f,"toString",function(){return"[object Generator]"}),(m=function(){return{w:i,m:p}})()}function g(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}g=function(e,t,r,n){function i(t,r){g(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:(i("next",0),i("throw",1),i("return",2))},g(e,t,r,n)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function b(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,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||x(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 w(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||x(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 S(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}function x(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function A(e){var t="function"==typeof Map?new Map:void 0;return A=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(p())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&v(o,r.prototype),o}(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),v(r,e)},A(e)}var R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function O(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function P(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var k=function(e){return e&&e.Math===Math&&e},j=k("object"==typeof globalThis&&globalThis)||k("object"==typeof window&&window)||k("object"==typeof self&&self)||k("object"==typeof R&&R)||k("object"==typeof R&&R)||function(){return this}()||Function("return this")(),T={},_=function(e){try{return!!e()}catch(e){return!0}},I=!_(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}),N=!_(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),C=N,U=Function.prototype.call,L=C?U.bind(U):function(){return U.apply(U,arguments)},D={},F={}.propertyIsEnumerable,B=Object.getOwnPropertyDescriptor,M=B&&!F.call({1:2},1);D.f=M?function(e){var t=B(this,e);return!!t&&t.enumerable}:F;var q,W,G=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},z=N,H=Function.prototype,$=H.call,V=z&&H.bind.bind($,$),K=z?V:function(e){return function(){return $.apply(e,arguments)}},Y=K,J=Y({}.toString),Q=Y("".slice),X=function(e){return Q(J(e),8,-1)},Z=_,ee=X,te=Object,re=K("".split),ne=Z(function(){return!te("z").propertyIsEnumerable(0)})?function(e){return"String"===ee(e)?re(e,""):te(e)}:te,oe=function(e){return null==e},ie=oe,ae=TypeError,se=function(e){if(ie(e))throw new ae("Can't call method on "+e);return e},ue=ne,ce=se,le=function(e){return ue(ce(e))},fe="object"==typeof document&&document.all,pe=void 0===fe&&void 0!==fe?function(e){return"function"==typeof e||e===fe}:function(e){return"function"==typeof e},he=pe,de=function(e){return"object"==typeof e?null!==e:he(e)},ye=j,me=pe,ge=function(e,t){return arguments.length<2?(r=ye[e],me(r)?r:void 0):ye[e]&&ye[e][t];var r},ve=K({}.isPrototypeOf),be=j.navigator,we=be&&be.userAgent,Se=we?String(we):"",Ee=j,xe=Se,Ae=Ee.process,Re=Ee.Deno,Oe=Ae&&Ae.versions||Re&&Re.version,Pe=Oe&&Oe.v8;Pe&&(W=(q=Pe.split("."))[0]>0&&q[0]<4?1:+(q[0]+q[1])),!W&&xe&&(!(q=xe.match(/Edge\/(\d+)/))||q[1]>=74)&&(q=xe.match(/Chrome\/(\d+)/))&&(W=+q[1]);var ke=W,je=ke,Te=_,_e=j.String,Ie=!!Object.getOwnPropertySymbols&&!Te(function(){var e=Symbol("symbol detection");return!_e(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&je&&je<41}),Ne=Ie&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ce=ge,Ue=pe,Le=ve,De=Object,Fe=Ne?function(e){return"symbol"==typeof e}:function(e){var t=Ce("Symbol");return Ue(t)&&Le(t.prototype,De(e))},Be=String,Me=function(e){try{return Be(e)}catch(e){return"Object"}},qe=pe,We=Me,Ge=TypeError,ze=function(e){if(qe(e))return e;throw new Ge(We(e)+" is not a function")},He=ze,$e=oe,Ve=function(e,t){var r=e[t];return $e(r)?void 0:He(r)},Ke=L,Ye=pe,Je=de,Qe=TypeError,Xe={exports:{}},Ze=j,et=Object.defineProperty,tt=function(e,t){try{et(Ze,e,{value:t,configurable:!0,writable:!0})}catch(r){Ze[e]=t}return t},rt=j,nt=tt,ot="__core-js_shared__",it=Xe.exports=rt[ot]||nt(ot,{});(it.versions||(it.versions=[])).push({version:"3.49.0",mode:"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"});var at=Xe.exports,st=at,ut=function(e,t){return st[e]||(st[e]=t||{})},ct=se,lt=Object,ft=function(e){return lt(ct(e))},pt=ft,ht=K({}.hasOwnProperty),dt=Object.hasOwn||function(e,t){return ht(pt(e),t)},yt=K,mt=0,gt=Math.random(),vt=yt(1.1.toString),bt=function(e){return"Symbol("+(void 0===e?"":e)+")_"+vt(++mt+gt,36)},wt=ut,St=dt,Et=bt,xt=Ie,At=Ne,Rt=j.Symbol,Ot=wt("wks"),Pt=At?Rt.for||Rt:Rt&&Rt.withoutSetter||Et,kt=function(e){return St(Ot,e)||(Ot[e]=xt&&St(Rt,e)?Rt[e]:Pt("Symbol."+e)),Ot[e]},jt=L,Tt=de,_t=Fe,It=Ve,Nt=function(e,t){var r,n;if("string"===t&&Ye(r=e.toString)&&!Je(n=Ke(r,e)))return n;if(Ye(r=e.valueOf)&&!Je(n=Ke(r,e)))return n;if("string"!==t&&Ye(r=e.toString)&&!Je(n=Ke(r,e)))return n;throw new Qe("Can't convert object to primitive value")},Ct=TypeError,Ut=kt("toPrimitive"),Lt=function(e,t){if(!Tt(e)||_t(e))return e;var r,n=It(e,Ut);if(n){if(void 0===t&&(t="default"),r=jt(n,e,t),!Tt(r)||_t(r))return r;throw new Ct("Can't convert object to primitive value")}return void 0===t&&(t="number"),Nt(e,t)},Dt=Lt,Ft=Fe,Bt=function(e){var t=Dt(e,"string");return Ft(t)?t:t+""},Mt=de,qt=j.document,Wt=Mt(qt)&&Mt(qt.createElement),Gt=function(e){return Wt?qt.createElement(e):{}},zt=Gt,Ht=!I&&!_(function(){return 7!==Object.defineProperty(zt("div"),"a",{get:function(){return 7}}).a}),$t=I,Vt=L,Kt=D,Yt=G,Jt=le,Qt=Bt,Xt=dt,Zt=Ht,er=Object.getOwnPropertyDescriptor;T.f=$t?er:function(e,t){if(e=Jt(e),t=Qt(t),Zt)try{return er(e,t)}catch(e){}if(Xt(e,t))return Yt(!Vt(Kt.f,e,t),e[t])};var tr={},rr=I&&_(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),nr=de,or=String,ir=TypeError,ar=function(e){if(nr(e))return e;throw new ir(or(e)+" is not an object")},sr=I,ur=Ht,cr=rr,lr=ar,fr=Bt,pr=TypeError,hr=Object.defineProperty,dr=Object.getOwnPropertyDescriptor,yr="enumerable",mr="configurable",gr="writable";tr.f=sr?cr?function(e,t,r){if(lr(e),t=fr(t),lr(r),"function"==typeof e&&"prototype"===t&&"value"in r&&gr in r&&!r[gr]){var n=dr(e,t);n&&n[gr]&&(e[t]=r.value,r={configurable:mr in r?r[mr]:n[mr],enumerable:yr in r?r[yr]:n[yr],writable:!1})}return hr(e,t,r)}:hr:function(e,t,r){if(lr(e),t=fr(t),lr(r),ur)try{return hr(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new pr("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var vr=tr,br=G,wr=I?function(e,t,r){return vr.f(e,t,br(1,r))}:function(e,t,r){return e[t]=r,e},Sr={exports:{}},Er=I,xr=dt,Ar=Function.prototype,Rr=Er&&Object.getOwnPropertyDescriptor,Or=xr(Ar,"name"),Pr={EXISTS:Or,PROPER:Or&&"something"===function(){}.name,CONFIGURABLE:Or&&(!Er||Er&&Rr(Ar,"name").configurable)},kr=pe,jr=at,Tr=K(Function.toString);kr(jr.inspectSource)||(jr.inspectSource=function(e){return Tr(e)});var _r,Ir,Nr,Cr=jr.inspectSource,Ur=pe,Lr=j.WeakMap,Dr=Ur(Lr)&&/native code/.test(String(Lr)),Fr=bt,Br=ut("keys"),Mr=function(e){return Br[e]||(Br[e]=Fr(e))},qr={},Wr=Dr,Gr=j,zr=de,Hr=wr,$r=dt,Vr=at,Kr=Mr,Yr=qr,Jr="Object already initialized",Qr=Gr.TypeError,Xr=Gr.WeakMap;if(Wr||Vr.state){var Zr=Vr.state||(Vr.state=new Xr);Zr.get=Zr.get,Zr.has=Zr.has,Zr.set=Zr.set,_r=function(e,t){if(Zr.has(e))throw new Qr(Jr);return t.facade=e,Zr.set(e,t),t},Ir=function(e){return Zr.get(e)||{}},Nr=function(e){return Zr.has(e)}}else{var en=Kr("state");Yr[en]=!0,_r=function(e,t){if($r(e,en))throw new Qr(Jr);return t.facade=e,Hr(e,en,t),t},Ir=function(e){return $r(e,en)?e[en]:{}},Nr=function(e){return $r(e,en)}}var tn={set:_r,get:Ir,has:Nr,enforce:function(e){return Nr(e)?Ir(e):_r(e,{})},getterFor:function(e){return function(t){var r;if(!zr(t)||(r=Ir(t)).type!==e)throw new Qr("Incompatible receiver, "+e+" required");return r}}},rn=K,nn=_,on=pe,an=dt,sn=I,un=Pr.CONFIGURABLE,cn=Cr,ln=tn.enforce,fn=tn.get,pn=String,hn=Object.defineProperty,dn=rn("".slice),yn=rn("".replace),mn=rn([].join),gn=sn&&!nn(function(){return 8!==hn(function(){},"length",{value:8}).length}),vn=String(String).split("String"),bn=Sr.exports=function(e,t,r){"Symbol("===dn(pn(t),0,7)&&(t="["+yn(pn(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!an(e,"name")||un&&e.name!==t)&&(sn?hn(e,"name",{value:t,configurable:!0}):e.name=t),gn&&r&&an(r,"arity")&&e.length!==r.arity&&hn(e,"length",{value:r.arity});try{r&&an(r,"constructor")&&r.constructor?sn&&hn(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=ln(e);return an(n,"source")||(n.source=mn(vn,"string"==typeof t?t:"")),e};Function.prototype.toString=bn(function(){return on(this)&&fn(this).source||cn(this)},"toString");var wn,Sn=Sr.exports,En=pe,xn=tr,An=Sn,Rn=tt,On=function(e,t,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if(En(r)&&An(r,i,n),n.global)o?e[t]=r:Rn(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:xn.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Pn={},kn=Math.ceil,jn=Math.floor,Tn=Math.trunc||function(e){var t=+e;return(t>0?jn:kn)(t)},_n=function(e){var t=+e;return t!=t||0===t?0:Tn(t)},In=_n,Nn=Math.max,Cn=Math.min,Un=function(e,t){var r=In(e);return r<0?Nn(r+t,0):Cn(r,t)},Ln=_n,Dn=Math.min,Fn=function(e){var t=Ln(e);return t>0?Dn(t,9007199254740991):0},Bn=Fn,Mn=function(e){return Bn(e.length)},qn=le,Wn=Un,Gn=Mn,zn={indexOf:(wn=!1,function(e,t,r){var n=qn(e),o=Gn(n);if(0===o)return!wn&&-1;var i,a=Wn(r,o);if(wn&&t!=t){for(;o>a;)if((i=n[a++])!=i)return!0}else for(;o>a;a++)if((wn||a in n)&&n[a]===t)return wn||a||0;return!wn&&-1})},Hn=dt,$n=le,Vn=zn.indexOf,Kn=qr,Yn=K([].push),Jn=function(e,t){var r,n=$n(e),o=0,i=[];for(r in n)!Hn(Kn,r)&&Hn(n,r)&&Yn(i,r);for(;t.length>o;)Hn(n,r=t[o++])&&(~Vn(i,r)||Yn(i,r));return i},Qn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Xn=Jn,Zn=Qn.concat("length","prototype");Pn.f=Object.getOwnPropertyNames||function(e){return Xn(e,Zn)};var eo={};eo.f=Object.getOwnPropertySymbols;var to=ge,ro=Pn,no=eo,oo=ar,io=K([].concat),ao=to("Reflect","ownKeys")||function(e){var t=ro.f(oo(e)),r=no.f;return r?io(t,r(e)):t},so=dt,uo=ao,co=T,lo=tr,fo=_,po=pe,ho=/#|\.prototype\./,yo=function(e,t){var r=go[mo(e)];return r===bo||r!==vo&&(po(t)?fo(t):!!t)},mo=yo.normalize=function(e){return String(e).replace(ho,".").toLowerCase()},go=yo.data={},vo=yo.NATIVE="N",bo=yo.POLYFILL="P",wo=yo,So=j,Eo=T.f,xo=wr,Ao=On,Ro=tt,Oo=function(e,t,r){for(var n=uo(t),o=lo.f,i=co.f,a=0;a<n.length;a++){var s=n[a];so(e,s)||r&&so(r,s)||o(e,s,i(t,s))}},Po=wo,ko=function(e,t){var r,n,o,i,a,s=e.target,u=e.global,c=e.stat;if(r=u?So:c?So[s]||Ro(s,{}):So[s]&&So[s].prototype)for(n in t){if(i=t[n],o=e.dontCallGetSet?(a=Eo(r,n))&&a.value:r[n],!Po(u?n:s+(c?".":"#")+n,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Oo(i,o)}(e.sham||o&&o.sham)&&xo(i,"sham",!0),Ao(r,n,i,e)}},jo=X,To=Array.isArray||function(e){return"Array"===jo(e)},_o=TypeError,Io=I,No=tr,Co=G,Uo=function(e,t,r){Io?No.f(e,t,Co(0,r)):e[t]=r},Lo=I,Do=To,Fo=TypeError,Bo=Object.getOwnPropertyDescriptor,Mo=Lo&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(Do(e)&&!Bo(e,"length").writable)throw new Fo("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},qo={};qo[kt("toStringTag")]="z";var Wo="[object z]"===String(qo),Go=Wo,zo=pe,Ho=X,$o=kt("toStringTag"),Vo=Object,Ko="Arguments"===Ho(function(){return arguments}()),Yo=Go?Ho:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Vo(e),$o))?r:Ko?Ho(t):"Object"===(n=Ho(t))&&zo(t.callee)?"Arguments":n},Jo=K,Qo=_,Xo=pe,Zo=Yo,ei=Cr,ti=function(){},ri=ge("Reflect","construct"),ni=/^\s*(?:class|function)\b/,oi=Jo(ni.exec),ii=!ni.test(ti),ai=function(e){if(!Xo(e))return!1;try{return ri(ti,[],e),!0}catch(e){return!1}},si=function(e){if(!Xo(e))return!1;switch(Zo(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ii||!!oi(ni,ei(e))}catch(e){return!0}};si.sham=!0;var ui=!ri||Qo(function(){var e;return ai(ai.call)||!ai(Object)||!ai(function(){e=!0})||e})?si:ai,ci=To,li=ui,fi=de,pi=kt("species"),hi=Array,di=function(e){var t;return ci(e)&&(t=e.constructor,(li(t)&&(t===hi||ci(t.prototype))||fi(t)&&null===(t=t[pi]))&&(t=void 0)),void 0===t?hi:t},yi=function(e,t){return new(di(e))(0===t?0:t)},mi=_,gi=ke,vi=kt("species"),bi=function(e){return gi>=51||!mi(function(){var t=[];return(t.constructor={})[vi]=function(){return{foo:1}},1!==t[e](Boolean).foo})},wi=ko,Si=_,Ei=To,xi=de,Ai=ft,Ri=Mn,Oi=function(e){if(e>9007199254740991)throw new _o("Maximum allowed index exceeded");return e},Pi=Uo,ki=Mo,ji=yi,Ti=bi,_i=ke,Ii=kt("isConcatSpreadable"),Ni=_i>=51||!Si(function(){var e=[];return e[Ii]=!1,e.concat()[0]!==e}),Ci=function(e){if(!xi(e))return!1;var t=e[Ii];return void 0!==t?!!t:Ei(e)};wi({target:"Array",proto:!0,arity:1,forced:!Ni||!Ti("concat")},{concat:function(e){var t,r,n,o,i,a=Ai(this),s=ji(a,0),u=0;for(t=-1,n=arguments.length;t<n;t++)if(Ci(i=-1===t?a:arguments[t]))for(o=Ri(i),Oi(u+o),r=0;r<o;r++,u++)r in i&&Pi(s,u,i[r]);else Oi(u+1),Pi(s,u++,i);return ki(s,u),s}});var Ui=Sn,Li=tr,Di=function(e,t,r){return r.get&&Ui(r.get,t,{getter:!0}),r.set&&Ui(r.set,t,{setter:!0}),Li.f(e,t,r)},Fi=I,Bi=Pr.EXISTS,Mi=K,qi=Di,Wi=Function.prototype,Gi=Mi(Wi.toString),zi=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Hi=Mi(zi.exec);Fi&&!Bi&&qi(Wi,"name",{configurable:!0,get:function(){try{return Hi(zi,Gi(this))[1]}catch(e){return""}}});var $i=K,Vi=ze,Ki=de,Yi=function(e){return Ki(e)||null===e},Ji=String,Qi=TypeError,Xi=function(e,t,r){try{return $i(Vi(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},Zi=de,ea=se,ta=function(e){if(Yi(e))return e;throw new Qi("Can't set "+Ji(e)+" as a prototype")},ra=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Xi(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return ea(r),ta(n),Zi(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0);ko({target:"Object",stat:!0},{setPrototypeOf:ra});var na=function(e){function t(e){var r;return a(this,t),r=i(this,t,["This function is not supported in ".concat(e," environment")]),Error.captureStackTrace&&Error.captureStackTrace(r,t),r.name="UnsupportedPlatformError",r.platform=e,Object.setPrototypeOf(r,t.prototype),r}return f(t,e),u(t)}(A(Error));function oa(){this._types=Object.create(null),this._extensions=Object.create(null);for(let e=0;e<arguments.length;e++)this.define(arguments[e]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}oa.prototype.define=function(e,t){for(let r in e){let n=e[r].map(function(e){return e.toLowerCase()});r=r.toLowerCase();for(let e=0;e<n.length;e++){const o=n[e];if("*"!==o[0]){if(!t&&o in this._types)throw new Error('Attempt to change mapping for "'+o+'" extension from "'+this._types[o]+'" to "'+r+'". Pass `force=true` to allow this, otherwise remove "'+o+'" from the list of extensions for "'+r+'".');this._types[o]=r}}if(t||!this._extensions[r]){const e=n[0];this._extensions[r]="*"!==e[0]?e:e.substr(1)}}},oa.prototype.getType=function(e){let t=(e=String(e)).replace(/^.*[/\\]/,"").toLowerCase(),r=t.replace(/^.*\./,"").toLowerCase(),n=t.length<e.length;return(r.length<t.length-1||!n)&&this._types[r]||null},oa.prototype.getExtension=function(e){return(e=/^\s*([^;\s]*)/.test(e)&&RegExp.$1)&&this._extensions[e.toLowerCase()]||null};var ia=O(new oa({"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]})),aa="6.1.7",sa=function(){var e=o(m().m(function e(){var t;return m().w(function(e){for(;;)switch(e.n){case 0:if("object"!==("undefined"==typeof kintone?"undefined":E(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){e.n=1;break}return e.a(2,kintone.getRequestToken());case 1:if("object"!==("undefined"==typeof garoon?"undefined":E(garoon))||null===garoon||"function"!=typeof(null===(t=garoon.connect)||void 0===t||null===(t=t.kintone)||void 0===t?void 0:t.getRequestToken)){e.n=2;break}return e.a(2,garoon.connect.kintone.getRequestToken());case 2:throw new Error("session authentication must specify a request token");case 3:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),ua=Object.freeze({__proto__:null,buildBaseUrl:function(e){if(e)return e;if(void 0===location)throw new Error("The baseUrl parameter is required for this environment");var t=location,r=t.host,n=t.protocol;return"".concat(n,"//").concat(r)},buildFormDataValue:function(e,t){var r={};return t&&(r.type=ia.getType(t)||void 0),new Blob([e],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:sa,getVersion:function(){return aa},readFileFromPath:function(e){throw new na("Browser")}}),ca={},la=Jn,fa=Qn,pa=Object.keys||function(e){return la(e,fa)},ha=I,da=rr,ya=tr,ma=ar,ga=le,va=pa;ca.f=ha&&!da?Object.defineProperties:function(e,t){ma(e);for(var r,n=ga(t),o=va(t),i=o.length,a=0;i>a;)ya.f(e,r=o[a++],n[r]);return e};var ba,wa=ge("document","documentElement"),Sa=ar,Ea=ca,xa=Qn,Aa=qr,Ra=wa,Oa=Gt,Pa="prototype",ka="script",ja=Mr("IE_PROTO"),Ta=function(){},_a=function(e){return"<"+ka+">"+e+"</"+ka+">"},Ia=function(e){e.write(_a("")),e.close();var t=e.parentWindow.Object;return e=null,t},Na=function(){try{ba=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Na="undefined"!=typeof document?document.domain&&ba?Ia(ba):(t=Oa("iframe"),r="java"+ka+":",t.style.display="none",Ra.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(_a("document.F=Object")),e.close(),e.F):Ia(ba);for(var n=xa.length;n--;)delete Na[Pa][xa[n]];return Na()};Aa[ja]=!0;var Ca=Object.create||function(e,t){var r;return null!==e?(Ta[Pa]=Sa(e),r=new Ta,Ta[Pa]=null,r[ja]=e):r=Na(),void 0===t?r:Ea.f(r,t)},Ua=kt,La=Ca,Da=tr.f,Fa=Ua("unscopables"),Ba=Array.prototype;void 0===Ba[Fa]&&Da(Ba,Fa,{configurable:!0,value:La(null)});var Ma,qa,Wa,Ga={},za=!_(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Ha=dt,$a=pe,Va=ft,Ka=za,Ya=Mr("IE_PROTO"),Ja=Object,Qa=Ja.prototype,Xa=Ka?Ja.getPrototypeOf:function(e){var t=Va(e);if(Ha(t,Ya))return t[Ya];var r=t.constructor;return $a(r)&&t instanceof r?r.prototype:t instanceof Ja?Qa:null},Za=_,es=pe,ts=de,rs=Xa,ns=On,os=kt("iterator"),is=!1;[].keys&&("next"in(Wa=[].keys())?(qa=rs(rs(Wa)))!==Object.prototype&&(Ma=qa):is=!0);var as=!ts(Ma)||Za(function(){var e={};return Ma[os].call(e)!==e});as&&(Ma={}),es(Ma[os])||ns(Ma,os,function(){return this});var ss={IteratorPrototype:Ma,BUGGY_SAFARI_ITERATORS:is},us=tr.f,cs=dt,ls=kt("toStringTag"),fs=function(e,t,r){e&&!r&&(e=e.prototype),e&&!cs(e,ls)&&us(e,ls,{configurable:!0,value:t})},ps=ss.IteratorPrototype,hs=Ca,ds=G,ys=fs,ms=Ga,gs=function(){return this},vs=function(e,t,r,n){var o=t+" Iterator";return e.prototype=hs(ps,{next:ds(+!n,r)}),ys(e,o,!1),ms[o]=gs,e},bs=ko,ws=L,Ss=pe,Es=vs,xs=Xa,As=ra,Rs=fs,Os=wr,Ps=On,ks=Ga,js=Pr.PROPER,Ts=Pr.CONFIGURABLE,_s=ss.IteratorPrototype,Is=ss.BUGGY_SAFARI_ITERATORS,Ns=kt("iterator"),Cs="keys",Us="values",Ls="entries",Ds=function(){return this},Fs=function(e,t,r,n,o,i,a){Es(r,t,n);var s,u,c,l=function(e){if(e===o&&y)return y;if(!Is&&e&&e in h)return h[e];switch(e){case Cs:case Us:case Ls:return function(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",p=!1,h=e.prototype,d=h[Ns]||h["@@iterator"]||o&&h[o],y=!Is&&d||l(o),m="Array"===t&&h.entries||d;if(m&&(s=xs(m.call(new e)))!==Object.prototype&&s.next&&(xs(s)!==_s&&(As?As(s,_s):Ss(s[Ns])||Ps(s,Ns,Ds)),Rs(s,f,!0)),js&&o===Us&&d&&d.name!==Us&&(Ts?Os(h,"name",Us):(p=!0,y=function(){return ws(d,this)})),o)if(u={values:l(Us),keys:i?y:l(Cs),entries:l(Ls)},a)for(c in u)(Is||p||!(c in h))&&Ps(h,c,u[c]);else bs({target:t,proto:!0,forced:Is||p},u);return h[Ns]!==y&&Ps(h,Ns,y,{name:o}),ks[t]=y,u},Bs=function(e,t){return{value:e,done:t}},Ms=le,qs=function(e){Ba[Fa][e]=!0},Ws=Ga,Gs=tn,zs=tr.f,Hs=Fs,$s=Bs,Vs=I,Ks="Array Iterator",Ys=Gs.set,Js=Gs.getterFor(Ks),Qs=Hs(Array,"Array",function(e,t){Ys(this,{type:Ks,target:Ms(e),index:0,kind:t})},function(){var e=Js(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,$s(void 0,!0);switch(e.kind){case"keys":return $s(r,!1);case"values":return $s(t[r],!1)}return $s([r,t[r]],!1)},"values"),Xs=Ws.Arguments=Ws.Array;if(qs("keys"),qs("values"),qs("entries"),Vs&&"values"!==Xs.name)try{zs(Xs,"name",{value:"values"})}catch(e){}var Zs=K,eu=On,tu=Date.prototype,ru="Invalid Date",nu="toString",ou=Zs(tu[nu]),iu=Zs(tu.getTime);String(new Date(NaN))!==ru&&eu(tu,nu,function(){var e=iu(this);return e==e?ou(this):ru});var au=Yo,su=Wo?{}.toString:function(){return"[object "+au(this)+"]"};Wo||On(Object.prototype,"toString",su,{unsafe:!0});var uu,cu=Yo,lu=String,fu=function(e){if("Symbol"===cu(e))throw new TypeError("Cannot convert a Symbol value to a string");return lu(e)},pu="\t\n\v\f\r \u2028\u2029\ufeff",hu=se,du=fu,yu=pu,mu=K("".replace),gu=RegExp("^["+yu+"]+"),vu=RegExp("(^|[^"+yu+"])["+yu+"]+$"),bu={trim:(uu=3,function(e){var t=du(hu(e));return 1&uu&&(t=mu(t,gu,"")),2&uu&&(t=mu(t,vu,"$1")),t})},wu=j,Su=_,Eu=fu,xu=bu.trim,Au=pu,Ru=K("".charAt),Ou=wu.parseFloat,Pu=wu.Symbol,ku=Pu&&Pu.iterator,ju=1/Ou(Au+"-0")!=-1/0||ku&&!Su(function(){Ou(Object(ku))})?function(e){var t=xu(Eu(e)),r=Ou(t);return 0===r&&"-"===Ru(t,0)?-0:r}:Ou;ko({global:!0,forced:parseFloat!==ju},{parseFloat:ju});var Tu=ar,_u=function(){var e=Tu(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},Iu=_,Nu=j.RegExp,Cu=Iu(function(){var e=Nu("a","y");return e.lastIndex=2,null!==e.exec("abcd")});Cu||Iu(function(){return!Nu("a","y").sticky});var Uu,Lu,Du={BROKEN_CARET:Cu||Iu(function(){var e=Nu("^r","gy");return e.lastIndex=2,null!==e.exec("str")})},Fu=_,Bu=j.RegExp,Mu=Fu(function(){var e=Bu(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}),qu=_,Wu=j.RegExp,Gu=qu(function(){var e=Wu("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),zu=L,Hu=K,$u=fu,Vu=_u,Ku=Du,Yu=Ca,Ju=tn.get,Qu=Mu,Xu=Gu,Zu=ut("native-string-replace",String.prototype.replace),ec=RegExp.prototype.exec,tc=ec,rc=Hu("".charAt),nc=Hu("".indexOf),oc=Hu("".replace),ic=Hu("".slice),ac=(Lu=/b*/g,zu(ec,Uu=/a/,"a"),zu(ec,Lu,"a"),0!==Uu.lastIndex||0!==Lu.lastIndex),sc=Ku.BROKEN_CARET,uc=void 0!==/()??/.exec("")[1],cc=function(e,t){for(var r=e.groups=Yu(null),n=0;n<t.length;n++){var o=t[n];r[o[0]]=e[o[1]]}};(ac||uc||sc||Qu||Xu)&&(tc=function(e){var t,r,n,o=this,i=Ju(o),a=$u(e),s=i.raw;if(s)return s.lastIndex=o.lastIndex,t=zu(tc,s,a),o.lastIndex=s.lastIndex,t&&i.groups&&cc(t,i.groups),t;var u=i.groups,c=sc&&o.sticky,l=zu(Vu,o),f=o.source,p=0,h=a;if(c){l=oc(l,"y",""),-1===nc(l,"g")&&(l+="g"),h=ic(a,o.lastIndex);var d=o.lastIndex>0&&rc(a,o.lastIndex-1);o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==d&&"\r"!==d&&"\u2028"!==d&&"\u2029"!==d)&&(f="(?: (?:"+f+"))",h=" "+h,p++),r=new RegExp("^(?:"+f+")",l)}uc&&(r=new RegExp("^"+f+"$(?!\\s)",l)),ac&&(n=o.lastIndex);var y=zu(ec,c?r:o,h);return c?y?(y.input=a,y[0]=ic(y[0],p),y.index=o.lastIndex,o.lastIndex+=y[0].length):o.lastIndex=0:ac&&y&&(o.lastIndex=o.global?y.index+y[0].length:n),uc&&y&&y.length>1&&zu(Zu,y[0],r,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(y[e]=void 0)}),y&&u&&cc(y,u),y});var lc=tc;ko({target:"RegExp",proto:!0,forced:/./.exec!==lc},{exec:lc});var fc=_,pc=j.RegExp,hc=!fc(function(){var e=!0;try{pc(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",o=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(pc.prototype,"flags").get.call(t)!==n||r!==n}),dc=L,yc=dt,mc=ve,gc={correct:hc},vc=_u,bc=RegExp.prototype,wc=gc.correct?function(e){return e.flags}:function(e){return gc.correct||!mc(bc,e)||yc(e,"flags")?e.flags:dc(vc,e)},Sc=Pr.PROPER,Ec=On,xc=ar,Ac=fu,Rc=_,Oc=wc,Pc="toString",kc=RegExp.prototype,jc=kc[Pc],Tc=Rc(function(){return"/a/b"!==jc.call({source:"a",flags:"b"})}),_c=Sc&&jc.name!==Pc;(Tc||_c)&&Ec(kc,Pc,function(){var e=xc(this);return"/"+Ac(e.source)+"/"+Ac(Oc(e))},{unsafe:!0});var Ic=K,Nc=_n,Cc=fu,Uc=se,Lc=Ic("".charAt),Dc=Ic("".charCodeAt),Fc=Ic("".slice),Bc=function(e){return function(t,r){var n,o,i=Cc(Uc(t)),a=Nc(r),s=i.length;return a<0||a>=s?e?"":void 0:(n=Dc(i,a))<55296||n>56319||a+1===s||(o=Dc(i,a+1))<56320||o>57343?e?Lc(i,a):n:e?Fc(i,a,a+2):o-56320+(n-55296<<10)+65536}},Mc={codeAt:Bc(!1),charAt:Bc(!0)},qc=Mc.charAt,Wc=fu,Gc=tn,zc=Fs,Hc=Bs,$c="String Iterator",Vc=Gc.set,Kc=Gc.getterFor($c);zc(String,"String",function(e){Vc(this,{type:$c,string:Wc(e),index:0})},function(){var e,t=Kc(this),r=t.string,n=t.index;return n>=r.length?Hc(void 0,!0):(e=qc(r,n),t.index+=e.length,Hc(e,!1))});var Yc=N,Jc=Function.prototype,Qc=Jc.apply,Xc=Jc.call,Zc="object"==typeof Reflect&&Reflect.apply||(Yc?Xc.bind(Qc):function(){return Xc.apply(Qc,arguments)}),el=L,tl=On,rl=lc,nl=_,ol=kt,il=wr,al=ol("species"),sl=RegExp.prototype,ul=function(e,t,r,n){var o=ol(e),i=!nl(function(){var t={};return t[o]=function(){return 7},7!==""[e](t)}),a=i&&!nl(function(){var t=!1,r=/a/;if("split"===e){var n={};n[al]=function(){return r},(r={constructor:n,flags:""})[o]=/./[o]}return r.exec=function(){return t=!0,null},r[o](""),!t});if(!i||!a||r){var s=/./[o],u=t(o,""[e],function(e,t,r,n,o){var a=t.exec;return a===rl||a===sl.exec?i&&!o?{done:!0,value:el(s,t,r,n)}:{done:!0,value:el(e,r,t,n)}:{done:!1}});tl(String.prototype,e,u[0]),tl(sl,o,u[1])}n&&il(sl[o],"sham",!0)},cl=Mc.charAt,ll=function(e,t,r){return t+(r&&cl(e,t).length||1)},fl=K,pl=ft,hl=Math.floor,dl=fl("".charAt),yl=fl("".replace),ml=fl("".slice),gl=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,vl=/\$([$&'`]|\d{1,2})/g,bl=L,wl=ar,Sl=pe,El=X,xl=lc,Al=TypeError,Rl=function(e,t){var r=e.exec;if(Sl(r)){var n=bl(r,e,t);return null!==n&&wl(n),n}if("RegExp"===El(e))return bl(xl,e,t);throw new Al("RegExp#exec called on incompatible receiver")},Ol=Zc,Pl=L,kl=K,jl=ul,Tl=_,_l=ar,Il=pe,Nl=de,Cl=_n,Ul=Fn,Ll=fu,Dl=se,Fl=ll,Bl=Ve,Ml=function(e,t,r,n,o,i){var a=r+e.length,s=n.length,u=vl;return void 0!==o&&(o=pl(o),u=gl),yl(i,u,function(i,u){var c;switch(dl(u,0)){case"$":return"$";case"&":return e;case"`":return ml(t,0,r);case"'":return ml(t,a);case"<":c=o[ml(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var f=hl(l/10);return 0===f?i:f<=s?void 0===n[f-1]?dl(u,1):n[f-1]+dl(u,1):i}c=n[l-1]}return void 0===c?"":c})},ql=wc,Wl=Rl,Gl=kt("replace"),zl=Math.max,Hl=Math.min,$l=kl([].concat),Vl=kl([].push),Kl=kl("".indexOf),Yl=kl("".slice),Jl=function(e){return void 0===e?e:String(e)},Ql="$0"==="a".replace(/./,"$0"),Xl=!!/./[Gl]&&""===/./[Gl]("a","$0");jl("replace",function(e,t,r){var n=Xl?"$":"$0";return[function(e,r){var n=Dl(this),o=Nl(e)?Bl(e,Gl):void 0;return o?Pl(o,e,n,r):Pl(t,Ll(n),e,r)},function(e,o){var i=_l(this),a=Ll(e),s=Il(o);s||(o=Ll(o));var u=Ll(ql(i));if("string"==typeof o&&!~Kl(o,n)&&!~Kl(o,"$<")&&!~Kl(u,"y")){var c=r(t,i,a,o);if(c.done)return c.value}var l,f=!!~Kl(u,"g");f&&(l=!!~Kl(u,"u")||!!~Kl(u,"v"),i.lastIndex=0);for(var p,h=[];null!==(p=Wl(i,a))&&(Vl(h,p),f);){""===Ll(p[0])&&(i.lastIndex=Fl(a,Ul(i.lastIndex),l))}for(var d="",y=0,m=0;m<h.length;m++){for(var g,v=Ll((p=h[m])[0]),b=zl(Hl(Cl(p.index),a.length),0),w=[],S=1;S<p.length;S++)Vl(w,Jl(p[S]));var E=p.groups;if(s){var x=$l([v],w,b,a);void 0!==E&&Vl(x,E),g=Ll(Ol(o,void 0,x))}else g=Ml(v,a,b,w,E,o);b>=y&&(d+=Yl(a,y,b)+g,y=b+v.length)}return d+Yl(a,y)}]},!!Tl(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!Ql||Xl);var Zl={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},ef=Gt("span").classList,tf=ef&&ef.constructor&&ef.constructor.prototype,rf=tf===Object.prototype?void 0:tf,nf=j,of=Zl,af=rf,sf=Qs,uf=wr,cf=fs,lf=kt("iterator"),ff=sf.values,pf=function(e,t){if(e){if(e[lf]!==ff)try{uf(e,lf,ff)}catch(t){e[lf]=ff}if(cf(e,t,!0),of[t])for(var r in sf)if(e[r]!==sf[r])try{uf(e,r,sf[r])}catch(t){e[r]=sf[r]}}};for(var hf in of)pf(nf[hf]&&nf[hf].prototype,hf);pf(af,"DOMTokenList");var df=_,yf=I,mf=kt("iterator"),gf=!df(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),r.delete("a",2),r.delete("b",void 0),!t.size&&!yf||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[mf]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}),vf=X,bf=K,wf=function(e){if("Function"===vf(e))return bf(e)},Sf=ze,Ef=N,xf=wf(wf.bind),Af=function(e,t){return Sf(e),void 0===t?e:Ef?xf(e,t):function(){return e.apply(t,arguments)}},Rf=ve,Of=TypeError,Pf=function(e,t){if(Rf(t,e))return e;throw new Of("Incorrect invocation")},kf=I,jf=K,Tf=L,_f=_,If=pa,Nf=eo,Cf=D,Uf=ft,Lf=ne,Df=Object.assign,Ff=Object.defineProperty,Bf=jf([].concat),Mf=!Df||_f(function(){if(kf&&1!==Df({b:1},Df(Ff({},"a",{enumerable:!0,get:function(){Ff(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!==Df({},e)[r]||If(Df({},t)).join("")!==n})?function(e,t){for(var r=Uf(e),n=arguments.length,o=1,i=Nf.f,a=Cf.f;n>o;)for(var s,u=Lf(arguments[o++]),c=i?Bf(If(u),i(u)):If(u),l=c.length,f=0;l>f;)s=c[f++],kf&&!Tf(a,u,s)||(r[s]=u[s]);return r}:Df,qf=L,Wf=ar,Gf=Ve,zf=function(e,t,r){var n,o;Wf(e);try{if(!(n=Gf(e,"return"))){if("throw"===t)throw r;return r}n=qf(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return Wf(n),r},Hf=ar,$f=zf,Vf=Ga,Kf=kt("iterator"),Yf=Array.prototype,Jf=Yo,Qf=Ve,Xf=oe,Zf=Ga,ep=kt("iterator"),tp=function(e){if(!Xf(e))return Qf(e,ep)||Qf(e,"@@iterator")||Zf[Jf(e)]},rp=L,np=ze,op=ar,ip=Me,ap=tp,sp=TypeError,up=function(e,t){var r=arguments.length<2?ap(e):t;if(np(r))return op(rp(r,e));throw new sp(ip(e)+" is not iterable")},cp=Af,lp=L,fp=ft,pp=function(e,t,r,n){try{return n?t(Hf(r)[0],r[1]):t(r)}catch(t){$f(e,"throw",t)}},hp=function(e){return void 0!==e&&(Vf.Array===e||Yf[Kf]===e)},dp=ui,yp=Mn,mp=Uo,gp=Mo,vp=up,bp=tp,wp=zf,Sp=Array,Ep=K([].slice),xp=K,Ap=2147483647,Rp=/[^\0-\u007E]/,Op=/[.\u3002\uFF0E\uFF61]/g,Pp="Overflow: input needs wider integers to process",kp=RangeError,jp=xp(Op.exec),Tp=Math.floor,_p=String.fromCharCode,Ip=xp("".charCodeAt),Np=xp([].join),Cp=xp([].push),Up=xp("".replace),Lp=xp("".split),Dp=xp("".toLowerCase),Fp=function(e){return e+22+75*(e<26)},Bp=function(e,t,r){var n=0;for(e=r?Tp(e/700):e>>1,e+=Tp(e/t);e>455;)e=Tp(e/35),n+=36;return Tp(n+36*e/(e+38))},Mp=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=Ip(e,r++);if(o>=55296&&o<=56319&&r<n){var i=Ip(e,r++);56320==(64512&i)?Cp(t,((1023&o)<<10)+(1023&i)+65536):(Cp(t,o),r--)}else Cp(t,o)}return t}(e);var r,n,o=e.length,i=128,a=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&Cp(t,_p(n));var u=t.length,c=u;for(u&&Cp(t,"-");c<o;){var l=Ap;for(r=0;r<e.length;r++)(n=e[r])>=i&&n<l&&(l=n);var f=c+1;if(l-i>Tp((Ap-a)/f))throw new kp(Pp);for(a+=(l-i)*f,i=l,r=0;r<e.length;r++){if((n=e[r])<i&&++a>Ap)throw new kp(Pp);if(n===i){for(var p=a,h=36;;){var d=h<=s?1:h>=s+26?26:h-s;if(p<d)break;var y=p-d,m=36-d;Cp(t,_p(Fp(d+y%m))),p=Tp(y/m),h+=36}Cp(t,_p(Fp(p))),s=Bp(a,f,c===u),a=0,c++}}a++,i++}return Np(t,"")},qp=TypeError,Wp=function(e,t){if(e<t)throw new qp("Not enough arguments");return e},Gp=ko,zp=K,Hp=Un,$p=RangeError,Vp=String.fromCharCode,Kp=String.fromCodePoint,Yp=zp([].join);Gp({target:"String",stat:!0,arity:1,forced:!!Kp&&1!==Kp.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,o=0;n>o;){if(Hp(t=+arguments[o],1114111)!==t)throw new $p(t+" is not a valid code point");r[o++]=t<65536?Vp(t):Vp(55296+((t-=65536)>>10),t%1024+56320)}return Yp(r,"")}});var Jp=j,Qp=I,Xp=Object.getOwnPropertyDescriptor,Zp=On,eh=Ep,th=Math.floor,rh=function(e,t){var r=e.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=e[i];o&&t(e[o-1],n)>0;)e[o]=e[--o];o!==i++&&(e[o]=n)}else for(var a=th(r/2),s=rh(eh(e,0,a),t),u=rh(eh(e,a),t),c=s.length,l=u.length,f=0,p=0;f<c||p<l;)e[f+p]=f<c&&p<l?t(s[f],u[p])<=0?s[f++]:u[p++]:f<c?s[f++]:u[p++];return e},nh=ko,oh=j,ih=function(e){if(!Qp)return Jp[e];var t=Xp(Jp,e);return t&&t.value},ah=ge,sh=L,uh=K,ch=I,lh=gf,fh=On,ph=Di,hh=function(e,t,r){for(var n in t)Zp(e,n,t[n],r);return e},dh=fs,yh=vs,mh=tn,gh=Pf,vh=pe,bh=dt,wh=Af,Sh=Yo,Eh=ar,xh=de,Ah=fu,Rh=Ca,Oh=G,Ph=up,kh=tp,jh=Bs,Th=Wp,_h=rh,Ih=kt("iterator"),Nh="URLSearchParams",Ch=Nh+"Iterator",Uh=mh.set,Lh=mh.getterFor(Nh),Dh=mh.getterFor(Ch),Fh=ih("fetch"),Bh=ih("Request"),Mh=ih("Headers"),qh=Bh&&Bh.prototype,Wh=Mh&&Mh.prototype,Gh=oh.TypeError,zh=oh.encodeURIComponent,Hh=String.fromCharCode,$h=ah("String","fromCodePoint"),Vh=parseInt,Kh=uh("".charAt),Yh=uh([].join),Jh=uh([].push),Qh=uh("".replace),Xh=uh([].shift),Zh=uh([].splice),ed=uh("".split),td=uh("".slice),rd=uh(/./.exec),nd=/\+/g,od=/^[0-9a-f]+$/i,id=function(e,t){var r=td(e,t,t+2);return rd(od,r)?Vh(r,16):NaN},ad=function(e){for(var t=0,r=128;r>0&&0!==(e&r);r>>=1)t++;return t},sd=function(e){var t=null,r=e.length;switch(r){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return null===t||t>1114111||t>=55296&&t<=57343||t<(r>3?65536:r>2?2048:r>1?128:0)?null:t},ud=function(e){for(var t=(e=Qh(e,nd," ")).length,r="",n=0;n<t;){var o=Kh(e,n);if("%"===o){if("%"===Kh(e,n+1)||n+3>t){r+="%",n++;continue}var i=id(e,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=ad(i);if(0===a)o=Hh(i);else{if(1===a||a>4){r+="�",n++;continue}for(var s=[i],u=1;u<a&&!(++n+3>t||"%"!==Kh(e,n));){var c=id(e,n+1);if(c!=c||c>191||c<128)break;if(1===u){if(224===i&&c<160)break;if(237===i&&c>159)break;if(240===i&&c<144)break;if(244===i&&c>143)break}Jh(s,c),n+=2,u++}if(s.length!==a){r+="�";continue}var l=sd(s);if(null===l){for(var f=0;f<a;f++)r+="�";n++;continue}o=$h(l)}}r+=o,n++}return r},cd=/[!'()~]|%20/g,ld={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},fd=function(e){return ld[e]},pd=function(e){return Qh(zh(e),cd,fd)},hd=yh(function(e,t){Uh(this,{type:Ch,target:Lh(e).entries,index:0,kind:t})},Nh,function(){var e=Dh(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,jh(void 0,!0);var n=t[r];switch(e.kind){case"keys":return jh(n.key,!1);case"values":return jh(n.value,!1)}return jh([n.key,n.value],!1)},!0),dd=function(e){this.entries=[],this.url=null,void 0!==e&&(xh(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Kh(e,0)?td(e,1):e:Ah(e)))};dd.prototype={type:Nh,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,a,s,u=this.entries,c=kh(e);if(c)for(r=(t=Ph(e,c)).next;!(n=sh(r,t)).done;){if(i=(o=Ph(Eh(n.value))).next,(a=sh(i,o)).done||(s=sh(i,o)).done||!sh(i,o).done)throw new Gh("Expected sequence with length 2");Jh(u,{key:Ah(a.value),value:Ah(s.value)})}else for(var l in e)bh(e,l)&&Jh(u,{key:l,value:Ah(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,o=ed(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(r=ed(t,"="),Jh(n,{key:ud(Xh(r)),value:ud(Yh(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Jh(r,pd(e.key)+"="+pd(e.value));return Yh(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var yd=function(){gh(this,md);var e=Uh(this,new dd(arguments.length>0?arguments[0]:void 0));ch||(this.size=e.entries.length)},md=yd.prototype;if(hh(md,{append:function(e,t){var r=Lh(this);Th(arguments.length,2),Jh(r.entries,{key:Ah(e),value:Ah(t)}),ch||this.size++,r.updateURL()},delete:function(e){for(var t=Lh(this),r=Th(arguments.length,1),n=t.entries,o=Ah(e),i=r<2?void 0:arguments[1],a=void 0===i?i:Ah(i),s=0;s<n.length;){var u=n[s];u.key!==o||void 0!==a&&u.value!==a?s++:Zh(n,s,1)}ch||(this.size=n.length),t.updateURL()},get:function(e){var t=Lh(this).entries;Th(arguments.length,1);for(var r=Ah(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=Lh(this).entries;Th(arguments.length,1);for(var r=Ah(e),n=[],o=0;o<t.length;o++)t[o].key===r&&Jh(n,t[o].value);return n},has:function(e){for(var t=Lh(this).entries,r=Th(arguments.length,1),n=Ah(e),o=r<2?void 0:arguments[1],i=void 0===o?o:Ah(o),a=0;a<t.length;){var s=t[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var r=Lh(this);Th(arguments.length,2);for(var n,o=r.entries,i=!1,a=Ah(e),s=Ah(t),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?Zh(o,u--,1):(i=!0,n.value=s));i||Jh(o,{key:a,value:s}),ch||(this.size=o.length),r.updateURL()},sort:function(){var e=Lh(this);_h(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=Lh(this).entries,n=wh(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new hd(this,"keys")},values:function(){return new hd(this,"values")},entries:function(){return new hd(this,"entries")}},{enumerable:!0}),fh(md,Ih,md.entries,{name:"entries"}),fh(md,"toString",function(){return Lh(this).serialize()},{enumerable:!0}),ch&&ph(md,"size",{get:function(){return Lh(this).entries.length},configurable:!0,enumerable:!0}),dh(yd,Nh),nh({global:!0,constructor:!0,forced:!lh},{URLSearchParams:yd}),!lh&&vh(Mh)){var gd=uh(Wh.has),vd=uh(Wh.set),bd=function(e){if(xh(e)){var t,r=e.body;if(Sh(r)===Nh)return t=e.headers?new Mh(e.headers):new Mh,gd(t,"content-type")||vd(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Rh(e,{body:Oh(0,Ah(r)),headers:Oh(0,t)})}return e};if(vh(Fh)&&nh({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return Fh(e,arguments.length>1?bd(arguments[1]):{})}}),vh(Bh)){var wd=function(e){return gh(this,qh),new Bh(e,arguments.length>1?bd(arguments[1]):{})};qh.constructor=wd,wd.prototype=qh,nh({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:wd})}}var Sd,Ed=ko,xd=I,Ad=gf,Rd=j,Od=Af,Pd=K,kd=On,jd=Di,Td=Pf,_d=dt,Id=Mf,Nd=function(e){var t=dp(this),r=arguments.length,n=r>1?arguments[1]:void 0,o=void 0!==n;o&&(n=cp(n,r>2?arguments[2]:void 0));var i,a,s,u,c,l,f=fp(e),p=bp(f),h=0;if(!p||this===Sp&&hp(p))for(i=yp(f),a=t?new this(i):Sp(i);i>h;h++)l=o?n(f[h],h):f[h],mp(a,h,l);else for(a=t?new this:[],c=(u=vp(f,p)).next;!(s=lp(c,u)).done;h++){l=o?pp(u,n,[s.value,h],!0):s.value;try{mp(a,h,l)}catch(e){wp(u,"throw",e)}}return gp(a,h),a},Cd=Ep,Ud=Mc.codeAt,Ld=function(e){var t,r,n=[],o=Lp(Up(Dp(e),Op,"."),".");for(t=0;t<o.length;t++)r=o[t],Cp(n,jp(Rp,r)?"xn--"+Mp(r):r);return Np(n,".")},Dd=fu,Fd=fs,Bd=Wp,Md={URLSearchParams:yd,getState:Lh},qd=tn,Wd=qd.set,Gd=qd.getterFor("URL"),zd=Md.URLSearchParams,Hd=Md.getState,$d=Rd.URL,Vd=Rd.TypeError,Kd=Rd.encodeURIComponent,Yd=Rd.parseInt,Jd=Math.floor,Qd=Math.pow,Xd=Pd("".charAt),Zd=Pd(/./.exec),ey=Pd([].join),ty=Pd(1.1.toString),ry=Pd([].pop),ny=Pd([].push),oy=Pd("".replace),iy=Pd([].shift),ay=Pd("".split),sy=Pd("".slice),uy=Pd("".toLowerCase),cy=Pd([].unshift),ly="Invalid scheme",fy="Invalid host",py="Invalid port",hy=/[a-z]/i,dy=/[\d+\-.a-z]/i,yy=/\d/,my=/^0x/i,gy=/^[0-7]+$/,vy=/^\d+$/,by=/^[\da-f]+$/i,wy=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Sy=/[\0\t\n\r #/:<>?@[\\\]^|]/,Ey=/^[\u0000-\u0020]+/,xy=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ay=/[\t\n\r]/g,Ry=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)cy(t,e%256),e=Jd(e/256);return ey(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r?n:t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=ty(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Oy={},Py=Id({},Oy,{" ":1,'"':1,"#":1,"<":1,">":1}),ky=Id({},Py,{"'":1}),jy=Id({},Oy,{" ":1,'"':1,"<":1,">":1,"`":1}),Ty=Id({},jy,{"#":1,"?":1,"{":1,"}":1,"^":1}),_y=Id({},Ty,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Iy=function(e,t){var r=Ud(e,0);return r>=32&&r<127&&!_d(t,e)?e:"'"===e&&_d(t,e)?"%27":Kd(e)},Ny={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Cy=function(e,t){var r;return 2===e.length&&Zd(hy,Xd(e,0))&&(":"===(r=Xd(e,1))||!t&&"|"===r)},Uy=function(e){var t;return e.length>1&&Cy(sy(e,0,2))&&(2===e.length||"/"===(t=Xd(e,2))||"\\"===t||"?"===t||"#"===t)},Ly=function(e){return"."===e||"%2e"===uy(e)},Dy=function(e){return".."===(e=uy(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},Fy={},By={},My={},qy={},Wy={},Gy={},zy={},Hy={},$y={},Vy={},Ky={},Yy={},Jy={},Qy={},Xy={},Zy={},em={},tm={},rm={},nm={},om={},im=function(e,t,r){var n,o,i,a=Dd(e);if(t){if(o=this.parse(a))throw new Vd(o);this.searchParams=null}else{if(void 0!==r&&(n=new im(r,!0)),o=this.parse(a,null,n))throw new Vd(o);(i=Hd(new zd)).bindURL(this),this.searchParams=i}};im.prototype={type:"URL",parse:function(e,t,r){var n,o,i,a,s=this,u=t||Fy,c=0,l="",f=!1,p=!1,h=!1;for(e=Dd(e),t||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,e=oy(e,Ey,""),e=oy(e,xy,"$1")),e=oy(e,Ay,""),n=Nd(e);c<=n.length;){switch(o=n[c],u){case Fy:if(!o||!Zd(hy,o)){if(t)return ly;u=My;continue}l+=uy(o),u=By;break;case By:if(o&&Zd(dy,o))l+=uy(o);else{if(":"!==o){if(t)return ly;l="",u=My,c=0;continue}if(t&&(s.isSpecial()!==_d(Ny,l)||"file"===l&&(s.includesCredentials()||null!==s.port)||"file"===s.scheme&&""===s.host))return;if(s.scheme=l,t)return void(s.isSpecial()&&Ny[s.scheme]===s.port&&(s.port=null));l="","file"===s.scheme?u=Qy:s.isSpecial()&&r&&r.scheme===s.scheme?u=qy:s.isSpecial()?u=Hy:"/"===n[c+1]?(u=Wy,c++):(s.cannotBeABaseURL=!0,ny(s.path,""),u=rm)}break;case My:if(!r||r.cannotBeABaseURL&&"#"!==o)return ly;if(r.cannotBeABaseURL&&"#"===o){s.scheme=r.scheme,s.path=Cd(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,u=om;break}u="file"===r.scheme?Qy:Gy;continue;case qy:if("/"!==o||"/"!==n[c+1]){u=Gy;continue}u=$y,c++;break;case Wy:if("/"===o){u=Vy;break}u=tm;continue;case Gy:if(s.scheme=r.scheme,o===Sd)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=Cd(r.path),s.query=r.query;else if("/"===o||"\\"===o&&s.isSpecial())u=zy;else if("?"===o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=Cd(r.path),s.query="",u=nm;else{if("#"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=Cd(r.path),s.path.length&&s.path.length--,u=tm;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=Cd(r.path),s.query=r.query,s.fragment="",u=om}break;case zy:if(!s.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,u=tm;continue}u=Vy}else u=$y;break;case Hy:if(u=$y,"/"!==o||"/"!==n[c+1])continue;c++;break;case $y:if("/"!==o&&"\\"!==o){u=Vy;continue}break;case Vy:if("@"===o){f&&(l="%40"+l),f=!0,i=Nd(l);for(var d=0;d<i.length;d++){var y=i[d];if(":"!==y||h){var m=Iy(y,_y);h?s.password+=m:s.username+=m}else h=!0}l=""}else if(o===Sd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(f&&""===l)return"Invalid authority";c-=Nd(l).length+1,l="",u=Ky}else l+=o;break;case Ky:case Yy:if(t&&"file"===s.scheme){u=Zy;continue}if(":"!==o||p){if(o===Sd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(s.isSpecial()&&""===l)return fy;if(t&&""===l&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(l))return a;if(l="",u=em,t)return;continue}"["===o?p=!0:"]"===o&&(p=!1),l+=o}else{if(""===l)return fy;if(t===Yy)return;if(a=s.parseHost(l))return a;l="",u=Jy}break;case Jy:if(!Zd(yy,o)){if(o===Sd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()||t){if(""!==l){var g=Yd(l,10);if(g>65535)return py;s.port=s.isSpecial()&&g===Ny[s.scheme]?null:g,l=""}if(t)return;u=em;continue}return py}l+=o;break;case Qy:if(s.scheme="file",s.host="","/"===o||"\\"===o)u=Xy;else{if(!r||"file"!==r.scheme){u=tm;continue}switch(o){case Sd:s.host=r.host,s.path=Cd(r.path),s.query=r.query;break;case"?":s.host=r.host,s.path=Cd(r.path),s.query="",u=nm;break;case"#":s.host=r.host,s.path=Cd(r.path),s.query=r.query,s.fragment="",u=om;break;default:s.host=r.host,Uy(ey(Cd(n,c),""))||(s.path=Cd(r.path),s.shortenPath()),u=tm;continue}}break;case Xy:if("/"===o||"\\"===o){u=Zy;break}r&&"file"===r.scheme&&(s.host=r.host,!Uy(ey(Cd(n,c),""))&&Cy(r.path[0],!0)&&ny(s.path,r.path[0])),u=tm;continue;case Zy:if(o===Sd||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&Cy(l))u=tm;else if(""===l){if(s.host="",t)return;u=em}else{if(a=s.parseHost(l))return a;if("localhost"===s.host&&(s.host=""),t)return;l="",u=em}continue}l+=o;break;case em:if(s.isSpecial()){if(u=tm,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==Sd&&(u=tm,"/"!==o))continue}else s.fragment="",u=om;else s.query="",u=nm;break;case tm:if(o===Sd||"/"===o||"\\"===o&&s.isSpecial()||!t&&("?"===o||"#"===o)){if(Dy(l)?(s.shortenPath(),"/"===o||"\\"===o&&s.isSpecial()||ny(s.path,"")):Ly(l)?"/"===o||"\\"===o&&s.isSpecial()||ny(s.path,""):("file"===s.scheme&&!s.path.length&&Cy(l)&&(null!==s.host&&""!==s.host&&(s.host=""),l=Xd(l,0)+":"),ny(s.path,l)),l="","file"===s.scheme&&(o===Sd||"?"===o||"#"===o))for(;s.path.length>1&&""===s.path[0];)iy(s.path);"?"===o?(s.query="",u=nm):"#"===o&&(s.fragment="",u=om)}else l+=Iy(o,Ty);break;case rm:"?"===o?(s.query="",u=nm):"#"===o?(s.fragment="",u=om):o!==Sd&&(s.path[0]+=Iy(o,Oy));break;case nm:t||"#"!==o?o!==Sd&&(s.query+=Iy(o,s.isSpecial()?ky:Py)):(s.fragment="",u=om);break;case om:o!==Sd&&(s.fragment+=Iy(o,jy))}c++}},parseHost:function(e){var t,r,n;if("["===Xd(e,0)){if("]"!==Xd(e,e.length-1))return fy;if(t=function(e){var t,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,p=function(){return Xd(e,f)};if(":"===p()){if(":"!==Xd(e,1))return;f+=2,l=++c}for(;p();){if(8===c)return;if(":"!==p()){for(t=r=0;r<4&&Zd(by,p());)t=16*t+Yd(p(),16),f++,r++;if("."===p()){if(0===r)return;if(f-=r,c>6)return;for(n=0;p();){if(o=null,n>0){if(!("."===p()&&n<4))return;f++}if(!Zd(yy,p()))return;for(;Zd(yy,p());){if(i=Yd(p(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;f++}u[c]=256*u[c]+o,2!==++n&&4!==n||c++}if(4!==n)return;break}if(":"===p()){if(f++,!p())return}else if(p())return;u[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!==c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!==c)return;return u}(sy(e,1,-1)),!t)return fy;this.host=t}else if(this.isSpecial()){if(e=Ld(e),Zd(wy,e))return fy;if(function(e){var t,r,n=ay(e,".");if(""===n[n.length-1]){if(1===n.length)return!1;n.length--}return t=n[n.length-1],!!Zd(vy,t)||!!Zd(my,t)&&(""===(r=sy(t,2))||!!Zd(by,r))}(e)){if(t=function(e){var t,r,n,o,i,a,s,u=ay(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return null;for(r=[],n=0;n<t;n++){if(""===(o=u[n]))return null;if(i=10,o.length>1&&"0"===Xd(o,0)&&(i=Zd(my,o)?16:8,o=sy(o,8===i?1:2)),""===o)a=0;else{if(!Zd(10===i?vy:8===i?gy:by,o))return null;a=Yd(o,i)}ny(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=Qd(256,5-t))return null}else if(a>255)return null;for(s=ry(r),n=0;n<r.length;n++)s+=r[n]*Qd(256,3-n);return s}(e),null===t)return fy;this.host=t}else this.host=e}else{if(Zd(Sy,e))return fy;for(t="",r=Nd(e),n=0;n<r.length;n++)t+=Iy(r[n],Oy);this.host=t}},cannotHaveUsernamePasswordPort:function(){return null===this.host||""===this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return _d(Ny,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&Cy(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Ry(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),null===o&&!e.cannotBeABaseURL&&a.length>1&&""===a[0]&&(c+="/."),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+ey(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw new Vd(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new am(this.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+Ry(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Dd(e)+":",Fy)},getUsername:function(){return this.username},setUsername:function(e){var t=Nd(Dd(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Iy(t[r],_y)}},getPassword:function(){return this.password},setPassword:function(e){var t=Nd(Dd(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Iy(t[r],_y)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?Ry(e):Ry(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ky)},getHostname:function(){var e=this.host;return null===e?"":Ry(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Yy)},getPort:function(){var e=this.port;return null===e?"":Dd(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=Dd(e))?this.port=null:this.parse(e,Jy))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+ey(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,em))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=Dd(e))?this.query=null:("?"===Xd(e,0)&&(e=sy(e,1)),this.query="",this.parse(e,nm)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=Dd(e))?("#"===Xd(e,0)&&(e=sy(e,1)),this.fragment="",this.parse(e,om)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var am=function(e){var t=Td(this,sm),r=Bd(arguments.length,1)>1?arguments[1]:void 0,n=Wd(t,new im(e,!1,r));xd||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},sm=am.prototype,um=function(e,t){return{get:function(){return Gd(this)[e]()},set:t&&function(e){return Gd(this)[t](e)},configurable:!0,enumerable:!0}};if(xd&&(jd(sm,"href",um("serialize","setHref")),jd(sm,"origin",um("getOrigin")),jd(sm,"protocol",um("getProtocol","setProtocol")),jd(sm,"username",um("getUsername","setUsername")),jd(sm,"password",um("getPassword","setPassword")),jd(sm,"host",um("getHost","setHost")),jd(sm,"hostname",um("getHostname","setHostname")),jd(sm,"port",um("getPort","setPort")),jd(sm,"pathname",um("getPathname","setPathname")),jd(sm,"search",um("getSearch","setSearch")),jd(sm,"searchParams",um("getSearchParams")),jd(sm,"hash",um("getHash","setHash"))),kd(sm,"toJSON",function(){return Gd(this).serialize()},{enumerable:!0}),kd(sm,"toString",function(){return Gd(this).serialize()},{enumerable:!0}),$d){var cm=$d.createObjectURL,lm=$d.revokeObjectURL;cm&&kd(am,"createObjectURL",Od(cm,$d)),lm&&kd(am,"revokeObjectURL",Od(lm,$d))}Fd(am,"URL"),Ed({global:!0,constructor:!0,forced:!Ad,sham:!xd},{URL:am});var fm=L;ko({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return fm(URL.prototype.toString,this)}});var pm=Af,hm=ne,dm=ft,ym=Mn,mm=yi,gm=Uo,vm=function(e){var t=1===e,r=2===e,n=3===e,o=4===e,i=6===e,a=7===e,s=5===e||i;return function(u,c,l){for(var f,p,h=dm(u),d=hm(h),y=ym(d),m=pm(c,l),g=0,v=0,b=t?mm(u,y):r||a?mm(u,0):void 0;y>g;g++)if((s||g in d)&&(p=m(f=d[g],g,h),e))if(t)gm(b,g,p);else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return g;case 2:gm(b,v++,f)}else switch(e){case 4:return!1;case 7:gm(b,v++,f)}return i?-1:n||o?o:b}},bm={forEach:vm(0),map:vm(1),every:vm(4)},wm=bm.map;ko({target:"Array",proto:!0,forced:!bi("map")},{map:function(e){return wm(this,e,arguments.length>1?arguments[1]:void 0)}});var Sm=function(e){var t=e.endpointName,r=e.guestSpaceId,n=e.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(t,".json")},Em=function(){return u(function e(t,r){a(this,e),this.client=t,this.guestSpaceId=r},[{key:"buildPathWithGuestSpaceId",value:function(e){return Sm(d(d({},e),{},{guestSpaceId:this.guestSpaceId}))}},{key:"buildPath",value:function(e){return Sm(e)}}])}(),xm=["endpointName"],Am=function(e){function t(e,r){var n;return a(this,t),(n=i(this,t,[e,r])).REQUESTS_LENGTH_LIMIT=20,n}return f(t,e),u(t,[{key:"send",value:function(e){var t=this,r=e.requests.map(function(e){if("endpointName"in e){var r=e.endpointName,n=y(e,xm);return d({api:t.buildPathWithGuestSpaceId({endpointName:r})},n)}return e}),n=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(n,{requests:r})}}])}(Em),Rm=["preview"],Om=["preview"],Pm=["preview"],km=["preview"],jm=["preview"],Tm=["preview"],_m=["preview"],Im=["preview"],Nm=["preview"],Cm=["preview"],Um=["preview"],Lm=["preview"],Dm=["preview"],Fm=["preview"],Bm=["preview"],Mm=["preview"],qm=function(e){function t(){return a(this,t),i(this,t,arguments)}return f(t,e),u(t,[{key:"getFormFields",value:function(e){var t=e.preview,r=y(e,Rm),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:t});return this.client.get(n,d({},r))}},{key:"addFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(t,e)}},{key:"updateFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(t,e)}},{key:"deleteFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(t,e)}},{key:"getFormLayout",value:function(e){var t=e.preview,r=y(e,Om),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:t});return this.client.get(n,d({},r))}},{key:"updateFormLayout",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(t,e)}},{key:"getViews",value:function(e){var t=e.preview,r=y(e,Pm),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:t});return this.client.get(n,r)}},{key:"updateViews",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(t,e)}},{key:"getApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(t,e)}},{key:"getApps",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(t,e)}},{key:"addApp",value:(r=o(m().m(function e(t){var r,n,o,i,a,s;return m().w(function(e){for(;;)switch(e.n){case 0:if(r=t.name,n=t.space,o=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!n){e.n=2;break}return i=this.buildPathWithGuestSpaceId({endpointName:"space"}),e.n=1,this.client.get(i,{id:n});case 1:return a=e.v,s=a.defaultThread,e.a(2,this.client.post(o,d(d({},t),{},{thread:s})));case 2:return e.a(2,this.client.post(o,{name:r}))}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"getAppSettings",value:function(e){var t=e.preview,r=y(e,km),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:t});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(t,e)}},{key:"getProcessManagement",value:function(e){var t=e.preview,r=y(e,jm),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:t});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(t,e)}},{key:"getDeployStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(t,e)}},{key:"deployApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(t,e)}},{key:"getFieldAcl",value:function(e){var t=e.preview,r=y(e,Tm),n=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateFieldAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppAcl",value:function(e){var t=e.preview,r=y(e,_m),n=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateAppAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(t,e)}},{key:"evaluateRecordsAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(t,e)}},{key:"getRecordAcl",value:function(e){var t=e.preview,r=y(e,Im),n=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateRecordAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppCustomize",value:function(e){var t=e.preview,r=y(e,Nm),n=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:t});return this.client.get(n,d({},r))}},{key:"updateAppCustomize",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(t,e)}},{key:"getGeneralNotifications",value:function(e){var t=e.preview,r=y(e,Cm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:t});return this.client.get(n,d({},r))}},{key:"updateGeneralNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(t,e)}},{key:"getPerRecordNotifications",value:function(e){var t=e.preview,r=y(e,Um),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:t});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(t,e)}},{key:"getReminderNotifications",value:function(e){var t=e.preview,r=y(e,Lm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:t});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(t,e)}},{key:"getReports",value:function(e){var t=e.preview,r=y(e,Dm),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:t});return this.client.get(n,r)}},{key:"updateReports",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(t,e)}},{key:"getAppActions",value:function(e){var t=e.preview,r=y(e,Fm),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:t});return this.client.get(n,r)}},{key:"updateAppActions",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(t,e)}},{key:"getAdminNotes",value:function(e){var t=e.preview,r=y(e,Bm),n=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:t});return this.client.get(n,r)}},{key:"updateAdminNotes",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:!0});return this.client.put(t,e)}},{key:"move",value:function(e){var t=this.buildPath({endpointName:"app/move"});return this.client.post(t,e)}},{key:"getPlugins",value:function(e){var t=e.preview,r=y(e,Mm),n=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:t});return this.client.get(n,r)}},{key:"addPlugins",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:!0});return this.client.post(t,e)}},{key:"getStatistics",value:function(e){var t=this.buildPath({endpointName:"apps/statistics"});return this.client.get(t,e)}}]);var r}(Em),Wm=_,Gm=function(e,t){var r=[][e];return!!r&&Wm(function(){r.call(null,t||function(){return 1},1)})},zm=bm.every;ko({target:"Array",proto:!0,forced:!Gm("every")},{every:function(e){return zm(this,e,arguments.length>1?arguments[1]:void 0)}});var Hm=ko,$m=zn.indexOf,Vm=Gm,Km=wf([].indexOf),Ym=!!Km&&1/Km([1],1,-0)<0;Hm({target:"Array",proto:!0,forced:Ym||!Vm("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Ym?Km(this,e,t)||0:$m(this,e,t)}}),ko({target:"Array",stat:!0},{isArray:To});var Jm,Qm=ze,Xm=ft,Zm=ne,eg=Mn,tg=TypeError,rg="Reduce of empty array with no initial value",ng={left:(Jm=!1,function(e,t,r,n){var o=Xm(e),i=Zm(o),a=eg(o);if(Qm(t),0===a&&r<2)throw new tg(rg);var s=Jm?a-1:0,u=Jm?-1:1;if(r<2)for(;;){if(s in i){n=i[s],s+=u;break}if(s+=u,Jm?s<0:a<=s)throw new tg(rg)}for(;Jm?s>=0:a>s;s+=u)s in i&&(n=t(n,i[s],s,o));return n})},og=j,ig=Se,ag=X,sg=function(e){return ig.slice(0,e.length)===e},ug=sg("Bun/")?"BUN":sg("Cloudflare-Workers")?"CLOUDFLARE":sg("Deno/")?"DENO":sg("Node.js/")?"NODE":og.Bun&&"string"==typeof Bun.version?"BUN":og.Deno&&"object"==typeof Deno.version?"DENO":"process"===ag(og.process)?"NODE":og.window&&og.document?"BROWSER":"REST",cg=ng.left;ko({target:"Array",proto:!0,forced:!("NODE"===ug)&&ke>79&&ke<83||!Gm("reduce")},{reduce:function(e){var t=arguments.length;return cg(this,e,t,t>1?arguments[1]:void 0)}});var lg=ko,fg=To,pg=ui,hg=de,dg=Un,yg=Mn,mg=le,gg=Uo,vg=Mo,bg=kt,wg=Ep,Sg=bi("slice"),Eg=bg("species"),xg=Array,Ag=Math.max;lg({target:"Array",proto:!0,forced:!Sg},{slice:function(e,t){var r,n,o,i=mg(this),a=yg(i),s=dg(e,a),u=dg(void 0===t?a:t,a);if(fg(i)&&(r=i.constructor,(pg(r)&&(r===xg||fg(r.prototype))||hg(r)&&null===(r=r[Eg]))&&(r=void 0),r===xg||void 0===r))return wg(i,s,u);for(n=new(void 0===r?xg:r)(Ag(u-s,0)),o=0;s<u;s++,o++)s in i&&gg(n,o,i[s]);return vg(n,o),n}});var Rg=j,Og=pe,Pg=de,kg=ra,jg=K(1.1.valueOf),Tg=ko,_g=I,Ig=j,Ng=Rg,Cg=K,Ug=wo,Lg=dt,Dg=function(e,t,r){var n,o;return kg&&Og(n=t.constructor)&&n!==r&&Pg(o=n.prototype)&&o!==r.prototype&&kg(e,o),e},Fg=ve,Bg=Fe,Mg=Lt,qg=_,Wg=Pn.f,Gg=T.f,zg=tr.f,Hg=jg,$g=bu.trim,Vg="Number",Kg=Ig[Vg];Ng[Vg];var Yg=Kg.prototype,Jg=Ig.TypeError,Qg=Cg("".slice),Xg=Cg("".charCodeAt),Zg=function(e){var t,r,n,o,i,a,s,u,c=Mg(e,"number");if(Bg(c))throw new Jg("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=$g(c),43===(t=Xg(c,0))||45===t){if(88===(r=Xg(c,2))||120===r)return NaN}else if(48===t){switch(Xg(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=Qg(c,2)).length,s=0;s<a;s++)if((u=Xg(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},ev=Ug(Vg,!Kg(" 0o1")||!Kg("0b1")||Kg("+0x1")),tv=function(e){var t,r=arguments.length<1?0:Kg(function(e){var t=Mg(e,"number");return"bigint"==typeof t?t:Zg(t)}(e));return Fg(Yg,t=this)&&qg(function(){Hg(t)})?Dg(Object(r),this,tv):r};tv.prototype=Yg,ev&&(Yg.constructor=tv),Tg({global:!0,constructor:!0,wrap:!0,forced:ev},{Number:tv});ev&&function(e,t){for(var r,n=_g?Wg(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)Lg(t,r=n[o])&&!Lg(e,r)&&zg(e,r,Gg(t,r))}(Ng[Vg],Kg);var rv=Mf;ko({target:"Object",stat:!0,arity:2,forced:Object.assign!==rv},{assign:rv});var nv=L,ov=ul,iv=ar,av=de,sv=Fn,uv=fu,cv=se,lv=Ve,fv=ll,pv=wc,hv=Rl,dv=K("".indexOf);ov("match",function(e,t,r){return[function(t){var r=cv(this),n=av(t)?lv(t,e):void 0;return n?nv(n,t,r):new RegExp(t)[e](uv(r))},function(e){var n=iv(this),o=uv(e),i=r(t,n,o);if(i.done)return i.value;var a=uv(pv(n));if(!~dv(a,"g"))return hv(n,o);var s=!!~dv(a,"u")||!!~dv(a,"v");n.lastIndex=0;for(var u,c=[],l=0;null!==(u=hv(n,o));){var f=uv(u[0]);c[l]=f,""===f&&(n.lastIndex=fv(o,sv(n.lastIndex),s)),l++}return 0===l?null:c}]});var yv=function(e){function t(e){var r;return a(this,t),(r=i(this,t,[e])).name="KintoneAbortSearchError",r.message=e,Object.setPrototypeOf(r,t.prototype),r}return f(t,e),u(t)}(A(Error)),mv=bm.forEach,gv=Gm("forEach")?[].forEach:function(e){return mv(this,e,arguments.length>1?arguments[1]:void 0)};ko({target:"Array",proto:!0,forced:[].forEach!==gv},{forEach:gv});var vv=ft,bv=pa;ko({target:"Object",stat:!0,forced:_(function(){bv(1)})},{keys:function(e){return bv(vv(e))}});var wv=j,Sv=Zl,Ev=rf,xv=gv,Av=wr,Rv=function(e){if(e&&e.forEach!==xv)try{Av(e,"forEach",xv)}catch(t){e.forEach=xv}};for(var Ov in Sv)Sv[Ov]&&Rv(wv[Ov]&&wv[Ov].prototype);Rv(Ev);var Pv=function(e){function t(e,r,n,o,s){var u;a(this,t);var c=n-r.length,l=t.extractErrorIndex(c,o,s),f=t.buildErrorMessage(c,n,l);return(u=i(this,t,[f])).name="KintoneAllRecordsError",u.processedRecordsResult=e,u.unprocessedRecords=r,u.error=o,u.errorIndex=l,u.message=f,u.numOfProcessedRecords=c,u.numOfAllRecords=n,Object.setPrototypeOf(u,t.prototype),u}return f(t,e),u(t,null,[{key:"parseErrorIndex",value:function(e){var t=[];return Object.keys(e).forEach(function(e){var r=e.match(/records\[(\d+)\]/);r&&t.push(Number(r[1]))}),t.length>0?Math.min.apply(Math,t):null}},{key:"extractErrorIndex",value:function(e,r,n){if(void 0!==r.bulkRequestIndex&&r.errors){var o=t.parseErrorIndex(r.errors);if(null!==o)return e+r.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(e,t,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(e,"/").concat(t," records are processed successfully")}}])}(A(Error)),kv=function(e){function t(e){var r;a(this,t);var n=t.buildErrorResponseDateWithIndex(e),o=n.data,s=n.bulkRequestIndex;return(r=i(this,t,[o.message])).name="KintoneRestAPIError",r.id=o.id,r.code=o.code,r.errors=o.errors,r.status=e.status,r.bulkRequestIndex=s,r.headers=e.headers,r.message="[".concat(e.status,"] [").concat(r.code,"] ").concat(r.message," (").concat(r.id,")"),Error.captureStackTrace&&Error.captureStackTrace(r,t),Object.setPrototypeOf(r,t.prototype),r}return f(t,e),u(t,null,[{key:"findErrorResponseDataWithIndex",value:function(e){for(var t=0;t<e.length;t++){if(0!==Object.keys(e[t]).length)return{data:e[t],bulkRequestIndex:t}}throw Error("Missing response data in `results`. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.")}},{key:"buildErrorResponseDateWithIndex",value:function(e){return"results"in e.data?t.findErrorResponseDataWithIndex(e.data.results):{data:e.data}}}])}(A(Error)),jv=["condition","orderBy","withCursor"],Tv=["fields","condition"],_v=["condition","orderBy"],Iv=500,Nv=function(e){function t(e,r,n){var o;return a(this,t),(o=i(this,t,[e,n])).bulkRequestClient=r,o.didWarnMaximumOffsetValue=!1,o}return f(t,e),u(t,[{key:"getRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(t,e)}},{key:"addRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(t,e)}},{key:"updateRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(t,e)}},{key:"upsertRecord",value:(O=o(m().m(function e(t){var r,n,o,i,a,s,u;return m().w(function(e){for(;;)switch(e.n){case 0:return r=t.app,n=t.updateKey,o=t.record,e.n=1,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 1:if(i=e.v,!((a=i.records).length>0)){e.n=4;break}if("__ID__"!==a[0].$id.type){e.n=3;break}return e.n=2,this.updateRecord(t);case 2:return s=e.v,u=s.revision,e.a(2,{id:a[0].$id.value,revision:u});case 3:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 4:return e.a(2,this.addRecord({app:r,record:Object.assign({},o,c({},n.field,{value:n.value}))}))}},e,this)})),function(e){return O.apply(this,arguments)})},{key:"getRecords",value:(R=o(m().m(function e(t){var r,n;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.n=1,this.client.get(r,t);case 1:return n=e.v,this.warnMaximumOffsetValueIfNeeded(t.query),e.a(2,n)}},e,this)})),function(e){return R.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(e){if(e){var t=e.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&t&&Number(t[1])>1e4&&(this.didWarnMaximumOffsetValue=!0,console.warn("Warning: The maximum offset value will be limited to 10,000 in the future. Please use `createCursor()` and `getRecordsByCursor()` instead."))}}},{key:"addRecords",value:(A=o(m().m(function e(t){var r,n,o,i;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.n=1,this.client.post(r,t);case 1:return n=e.v,o=n.ids,i=n.revisions,e.a(2,{ids:o,revisions:i,records:o.map(function(e,t){return{id:e,revision:i[t]}})})}},e,this)})),function(e){return A.apply(this,arguments)})},{key:"updateRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(t,e)}},{key:"deleteRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(t,e)}},{key:"createCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(t,e)}},{key:"getRecordsByCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(t,e)}},{key:"deleteCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(t,e)}},{key:"getAllRecords",value:(x=o(m().m(function e(t){var r,n,o,i,a,s,u;return m().w(function(e){for(;;)switch(e.n){case 0:if(r=t.condition,n=t.orderBy,o=t.withCursor,i=void 0===o||o,a=y(t,jv),n){e.n=1;break}return e.a(2,this.getAllRecordsWithId(d(d({},a),{},{condition:r})));case 1:if(!i){e.n=2;break}return s=r?"".concat(r," "):"",u="".concat(s).concat(n?"order by ".concat(n):""),e.a(2,this.getAllRecordsWithCursor(d(d({},a),{},{query:u})));case 2:return e.a(2,this.getAllRecordsWithOffset(d(d({},a),{},{orderBy:n,condition:r})))}},e,this)})),function(e){return x.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(E=o(m().m(function e(t){var r,n,o,i,a,s,u,c,l,f;return m().w(function(e){for(;;)switch(e.n){case 0:r=t.fields,n=t.condition,o=y(t,Tv),(i=r)&&i.length>0&&-1===i.indexOf("$id")&&(i=[].concat(w(i),["$id"])),a=n?"(".concat(n,") and "):"",s=[],u="0";case 1:return c="".concat(a,"$id > ").concat(u," order by $id asc limit ").concat(Iv),e.n=2,this.getRecords(d(d({},o),{},{fields:i,query:c}));case 2:if(l=e.v,s=s.concat(l.records),!(l.records.length<Iv)){e.n=3;break}return e.a(3,6);case 3:if("__ID__"!==(f=l.records[l.records.length-1]).$id.type){e.n=4;break}u=f.$id.value,e.n=5;break;case 4:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 5:e.n=1;break;case 6:return e.a(2,s)}},e,this)})),function(e){return E.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(S=o(m().m(function e(t){var r,n,o,i,a,s,u,c;return m().w(function(e){for(;;)switch(e.n){case 0:r=t.condition,n=t.orderBy,o=y(t,_v),i=r?"".concat(r," "):"",a=[],s=0;case 1:return u="".concat(i).concat(n?"order by ".concat(n," "):"","limit ").concat(Iv," offset ").concat(s),e.n=2,this.getRecords(d(d({},o),{},{query:u}));case 2:if(c=e.v,a=a.concat(c.records),!(c.records.length<Iv)){e.n=3;break}return e.a(3,4);case 3:s+=Iv,e.n=1;break;case 4:return e.a(2,a)}},e,this)})),function(e){return S.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(b=o(m().m(function e(t){var r,n,o,i,a,s;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:return r=d(d({},t),{},{size:Iv}),e.n=1,this.createCursor(r);case 1:n=e.v,o=n.id,e.p=2,i=[];case 3:return e.n=4,this.getRecordsByCursor({id:o});case 4:if(a=e.v,i=i.concat(a.records),a.next){e.n=5;break}return e.a(3,6);case 5:e.n=3;break;case 6:return e.a(2,i);case 7:return e.p=7,s=e.v,e.n=8,this.deleteCursor({id:o});case 8:throw s;case 9:return e.a(2)}},e,this,[[2,7]])})),function(e){return b.apply(this,arguments)})},{key:"addAllRecords",value:(v=o(m().m(function e(t){return m().w(function(e){for(;;)switch(e.n){case 0:if(t.records.every(function(e){return!Array.isArray(e)&&e instanceof Object})){e.n=1;break}throw new Error("the `records` parameter must be an array of object.");case 1:return e.a(2,this.addAllRecordsRecursive(t,t.records.length,[]))}},e,this)})),function(e){return v.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(g=o(m().m(function e(t,r,n){var o,i,a,s,u,c;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.records,0!==(s=a.slice(0,o)).length){e.n=1;break}return e.a(2,{records:n});case 1:return e.p=1,e.n=2,this.addAllRecordsWithBulkRequest({app:i,records:s});case 2:u=e.v,e.n=4;break;case 3:throw e.p=3,c=e.v,new Pv({records:n},a,r,c,100);case 4:return e.a(2,this.addAllRecordsRecursive({app:i,records:a.slice(o)},r,n.concat(u)))}},e,this,[[1,3]])})),function(e,t,r){return g.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(h=o(m().m(function e(t){var r,n,o;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map(function(e){return{method:"POST",endpointName:"records",payload:{app:t.app,records:e}}}),e.n=1,this.bulkRequestClient.send({requests:n});case 1:return o=e.v.results,e.a(2,o.map(function(e){var t=e.ids,r=e.revisions;return t.map(function(e,t){return{id:e,revision:r[t]}})}).reduce(function(e,t){return e.concat(t)},[]))}},e,this)})),function(e){return h.apply(this,arguments)})},{key:"updateAllRecords",value:(p=o(m().m(function e(t){return m().w(function(e){for(;;)if(0===e.n)return e.a(2,this.updateAllRecordsRecursive(t,t.records.length,[]))},e,this)})),function(e){return p.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(l=o(m().m(function e(t,r,n){var o,i,a,s,u,c,l;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.upsert,s=t.records,0!==(u=s.slice(0,o)).length){e.n=1;break}return e.a(2,{records:n});case 1:return e.p=1,e.n=2,this.updateAllRecordsWithBulkRequest({app:i,upsert:a,records:u});case 2:c=e.v,e.n=4;break;case 3:throw e.p=3,l=e.v,new Pv({records:n},s,r,l,100);case 4:return e.a(2,this.updateAllRecordsRecursive({app:i,upsert:a,records:s.slice(o)},r,n.concat(c)))}},e,this,[[1,3]])})),function(e,t,r){return l.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(s=o(m().m(function e(t){var r,n,o;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map(function(e){return{method:"PUT",endpointName:"records",payload:{app:t.app,upsert:t.upsert,records:e}}}),e.n=1,this.bulkRequestClient.send({requests:n});case 1:return o=e.v.results,e.a(2,o.map(function(e){return e.records}).reduce(function(e,t){return e.concat(t)},[]))}},e,this)})),function(e){return s.apply(this,arguments)})},{key:"deleteAllRecords",value:function(e){return this.deleteAllRecordsRecursive(e,e.records.length)}},{key:"deleteAllRecordsRecursive",value:(n=o(m().m(function e(t,r){var n,o,i,a,s;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,o=t.app,i=t.records,0!==(a=i.slice(0,n)).length){e.n=1;break}return e.a(2,{});case 1:return e.p=1,e.n=2,this.deleteAllRecordsWithBulkRequest({app:o,records:a});case 2:e.n=4;break;case 3:throw e.p=3,s=e.v,new Pv({},i,r,s,100);case 4:return e.a(2,this.deleteAllRecordsRecursive({app:o,records:i.slice(n)},r))}},e,this,[[1,3]])})),function(e,t){return n.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(r=o(m().m(function e(t){var r,n;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map(function(e){return{method:"DELETE",endpointName:"records",payload:{app:t.app,ids:e.map(function(e){return e.id}),revisions:e.map(function(e){return e.revision})}}}),e.n=1,this.bulkRequestClient.send({requests:n});case 1:return e.a(2)}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(e,t,r){var n=r.slice(0,e);return 0===n.length?t:this.separateArrayRecursive(e,[].concat(w(t),[n]),r.slice(e))}},{key:"addRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(t,e)}},{key:"deleteRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(t,e)}},{key:"getRecordComments",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(t,e)}},{key:"updateRecordAssignees",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(t,e)}},{key:"updateRecordStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(t,e)}},{key:"updateRecordsStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(t,e)}}]);var r,n,s,l,p,h,g,v,b,S,E,x,A,R,O}(Em),Cv=function(e){function t(){return a(this,t),i(this,t,arguments)}return f(t,e),u(t,[{key:"getSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.get(t,e)}},{key:"updateSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.put(t,e)}},{key:"deleteSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.delete(t,e)}},{key:"updateSpaceBody",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/body"});return this.client.put(t,e)}},{key:"getSpaceMembers",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.get(t,e)}},{key:"updateSpaceMembers",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.put(t,e)}},{key:"addThread",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.post(t,e)}},{key:"updateThread",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.put(t,e)}},{key:"addThreadComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread/comment"});return this.client.post(t,e)}},{key:"addGuests",value:function(e){var t=this.buildPath({endpointName:"guests"});return this.client.post(t,e)}},{key:"deleteGuests",value:function(e){var t=this.buildPath({endpointName:"guests"});return this.client.delete(t,e)}},{key:"updateSpaceGuests",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/guests"});return this.client.put(t,e)}},{key:"addSpaceFromTemplate",value:function(e){var t=this.buildPath({endpointName:"template/space"});return this.client.post(t,e)}},{key:"getStatistics",value:function(e){var t=this.buildPath({endpointName:"spaces/statistics"});return this.client.get(t,e)}}])}(Em),Uv=O("object"==typeof self?self.FormData:window.FormData),Lv=function(e){function r(){return a(this,r),i(this,r,arguments)}return f(r,e),u(r,[{key:"uploadFile",value:(n=o(m().m(function e(r){var n,o,i,a,s,u,c,l,f,p;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),o=new Uv,!("path"in r.file)){e.n=6;break}return e.p=1,e.n=2,t.readFileFromPath(r.file.path);case 2:i=e.v,a=i.name,s=i.data,o.append("file",s,a),e.n=5;break;case 3:if(e.p=3,!((p=e.v)instanceof na)){e.n=4;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(p.platform," environment."));case 4:throw p;case 5:e.n=7;break;case 6:u=r.file,c=u.name,l=u.data,f=t.buildFormDataValue(l,c),o.append("file",f,c);case 7:return e.a(2,this.client.postData(n,o))}},e,this,[[1,3]])})),function(e){return n.apply(this,arguments)})},{key:"downloadFile",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(t,e)}}]);var n}(Em),Dv=function(e){function t(){return a(this,t),i(this,t,arguments)}return f(t,e),u(t,[{key:"getPlugins",value:function(e){var t=this.buildPath({endpointName:"plugins"});return this.client.get(t,e)}},{key:"getRequiredPlugins",value:function(e){var t=this.buildPath({endpointName:"plugins/required"});return this.client.get(t,e)}},{key:"getApps",value:function(e){var t=this.buildPath({endpointName:"plugin/apps"});return this.client.get(t,e)}},{key:"updatePlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.put(t,e)}},{key:"installPlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.post(t,e)}},{key:"uninstallPlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.delete(t,e)}}])}(Em),Fv="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Bv(){throw new Error("setTimeout has not been defined")}function Mv(){throw new Error("clearTimeout has not been defined")}var qv=Bv,Wv=Mv;function Gv(e){if(qv===setTimeout)return setTimeout(e,0);if((qv===Bv||!qv)&&setTimeout)return qv=setTimeout,setTimeout(e,0);try{return qv(e,0)}catch(t){try{return qv.call(null,e,0)}catch(t){return qv.call(this,e,0)}}}"function"==typeof Fv.setTimeout&&(qv=setTimeout),"function"==typeof Fv.clearTimeout&&(Wv=clearTimeout);var zv,Hv=[],$v=!1,Vv=-1;function Kv(){$v&&zv&&($v=!1,zv.length?Hv=zv.concat(Hv):Vv=-1,Hv.length&&Yv())}function Yv(){if(!$v){var e=Gv(Kv);$v=!0;for(var t=Hv.length;t;){for(zv=Hv,Hv=[];++Vv<t;)zv&&zv[Vv].run();Vv=-1,t=Hv.length}zv=null,$v=!1,function(e){if(Wv===clearTimeout)return clearTimeout(e);if((Wv===Mv||!Wv)&&clearTimeout)return Wv=clearTimeout,clearTimeout(e);try{return Wv(e)}catch(t){try{return Wv.call(null,e)}catch(t){return Wv.call(this,e)}}}(e)}}function Jv(e,t){this.fun=e,this.array=t}Jv.prototype.run=function(){this.fun.apply(null,this.array)};var Qv=Fv.performance||{};Qv.now||Qv.mozNow||Qv.msNow||Qv.oNow||Qv.webkitNow;function Xv(e,t){return function(){return e.apply(t,arguments)}}const Zv=Object.prototype.toString,eb=Object.getPrototypeOf,tb=Symbol.iterator,rb=Symbol.toStringTag,nb=(ob=Object.create(null),e=>{const t=Zv.call(e);return ob[t]||(ob[t]=t.slice(8,-1).toLowerCase())});var ob;const ib=e=>(e=e.toLowerCase(),t=>nb(t)===e),ab=e=>t=>typeof t===e,sb=Array.isArray,ub=ab("undefined");function cb(e){return null!==e&&!ub(e)&&null!==e.constructor&&!ub(e.constructor)&&pb(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const lb=ib("ArrayBuffer");const fb=ab("string"),pb=ab("function"),hb=ab("number"),db=e=>null!==e&&"object"==typeof e,yb=e=>{if("object"!==nb(e))return!1;const t=eb(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||rb in e||tb in e)},mb=ib("Date"),gb=ib("File"),vb=ib("Blob"),bb=ib("FileList");const wb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==Fv?Fv:{},Sb=void 0!==wb.FormData?wb.FormData:void 0,Eb=ib("URLSearchParams"),xb=b(["ReadableStream","Request","Response","Headers"].map(ib),4),Ab=xb[0],Rb=xb[1],Ob=xb[2],Pb=xb[3];function kb(e,t){let r,n,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!=e)if("object"!=typeof e&&(e=[e]),sb(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{if(cb(e))return;const n=i?Object.getOwnPropertyNames(e):Object.keys(e),o=n.length;let a;for(r=0;r<o;r++)a=n[r],t.call(null,e[a],a,e)}}function jb(e,t){if(cb(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 Tb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Fv,_b=e=>!ub(e)&&e!==Tb;const Ib=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&eb(Uint8Array)),Nb=ib("HTMLFormElement"),Cb=(()=>{let e=Object.prototype.hasOwnProperty;return(t,r)=>e.call(t,r)})(),Ub=ib("RegExp"),Lb=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};kb(r,(r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)}),Object.defineProperties(e,n)};const Db=ib("AsyncFunction"),Fb=(Bb="function"==typeof setImmediate,Mb=pb(Tb.postMessage),Bb?setImmediate:Mb?(qb=`axios@${Math.random()}`,Wb=[],Tb.addEventListener("message",e=>{let t=e.source,r=e.data;t===Tb&&r===qb&&Wb.length&&Wb.shift()()},!1),e=>{Wb.push(e),Tb.postMessage(qb,"*")}):e=>setTimeout(e));var Bb,Mb,qb,Wb;const Gb="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Tb):function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Hv.push(new Jv(e,t)),1!==Hv.length||$v||Gv(Yv)}||Fb;var zb={isArray:sb,isArrayBuffer:lb,isBuffer:cb,isFormData:e=>{if(!e)return!1;if(Sb&&e instanceof Sb)return!0;const t=eb(e);if(!t||t===Object.prototype)return!1;if(!pb(e.append))return!1;const r=nb(e);return"formdata"===r||"object"===r&&pb(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&lb(e.buffer),t},isString:fb,isNumber:hb,isBoolean:e=>!0===e||!1===e,isObject:db,isPlainObject:yb,isEmptyObject:e=>{if(!db(e)||cb(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Ab,isRequest:Rb,isResponse:Ob,isHeaders:Pb,isUndefined:ub,isDate:mb,isFile:gb,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:vb,isRegExp:Ub,isFunction:pb,isStream:e=>db(e)&&pb(e.pipe),isURLSearchParams:Eb,isTypedArray:Ib,isFileList:bb,forEach:kb,merge:function e(){const t=_b(this)&&this||{},r=t.caseless,n=t.skipUndefined,o={},i=(t,i)=>{if("__proto__"===i||"constructor"===i||"prototype"===i)return;const a=r&&jb(o,i)||i,s=Cb(o,a)?o[a]:void 0;yb(s)&&yb(t)?o[a]=e(s,t):yb(t)?o[a]=e({},t):sb(t)?o[a]=t.slice():n&&ub(t)||(o[a]=t)};for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];for(let e=0,t=s.length;e<t;e++)s[e]&&kb(s[e],i);return o},extend:function(e,t,r){return kb(t,(t,n)=>{r&&pb(t)?Object.defineProperty(e,n,{__proto__:null,value:Xv(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),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),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],n&&!n(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==r&&eb(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:nb,kindOfTest:ib,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(sb(e))return e;let t=e.length;if(!hb(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[tb]).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:Nb,hasOwnProperty:Cb,hasOwnProp:Cb,reduceDescriptors:Lb,freezeMethods:e=>{Lb(e,(t,r)=>{if(pb(e)&&["arguments","caller","callee"].includes(r))return!1;const n=e[r];pb(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 sb(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:jb,global:Tb,isContextDefined:_b,isSpecCompliantForm:function(e){return!!(e&&pb(e.append)&&"FormData"===e[rb]&&e[tb])},toJSONObject:e=>{const t=new WeakSet,r=e=>{if(db(e)){if(t.has(e))return;if(cb(e))return e;if(!("toJSON"in e)){t.add(e);const n=sb(e)?[]:{};return kb(e,(e,t)=>{const o=r(e);!ub(o)&&(n[t]=o)}),t.delete(e),n}}return e};return r(e)},isAsyncFn:Db,isThenable:e=>e&&(db(e)||pb(e))&&pb(e.then)&&pb(e.catch),setImmediate:Fb,asap:Gb,isIterable:e=>null!=e&&pb(e[tb])},Hb=[],$b=[],Vb="undefined"!=typeof Uint8Array?Uint8Array:Array,Kb=!1;function Yb(){Kb=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Hb[t]=e[t],$b[e.charCodeAt(t)]=t;$b["-".charCodeAt(0)]=62,$b["_".charCodeAt(0)]=63}function Jb(e){return Hb[e>>18&63]+Hb[e>>12&63]+Hb[e>>6&63]+Hb[63&e]}function Qb(e,t,r){for(var n,o=[],i=t;i<r;i+=3)n=(e[i]<<16)+(e[i+1]<<8)+e[i+2],o.push(Jb(n));return o.join("")}function Xb(e){var t;Kb||Yb();for(var r=e.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(Qb(e,s,s+a>u?u:s+a));return 1===n?(t=e[r-1],o+=Hb[t>>2],o+=Hb[t<<4&63],o+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],o+=Hb[t>>10],o+=Hb[t>>4&63],o+=Hb[t<<2&63],o+="="),i.push(o),i.join("")}function Zb(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?o-1:0,p=r?-1:1,h=e[t+f];for(f+=p,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)}function ew(e,t,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,f=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?p/u:p*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[r+h]=255&a,h+=d,a/=256,c-=8);e[r+h-d]|=128*y}var tw={}.toString,rw=Array.isArray||function(e){return"[object Array]"==tw.call(e)};function nw(){return iw.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ow(e,t){if(nw()<t)throw new RangeError("Invalid typed array length");return iw.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=iw.prototype:(null===e&&(e=new iw(t)),e.length=t),e}function iw(e,t,r){if(!(iw.TYPED_ARRAY_SUPPORT||this instanceof iw))return new iw(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return uw(this,e)}return aw(this,e,t,r)}function aw(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);iw.TYPED_ARRAY_SUPPORT?(e=t).__proto__=iw.prototype:e=cw(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!iw.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|pw(t,r);e=ow(e,n);var o=e.write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(fw(t)){var r=0|lw(t.length);return 0===(e=ow(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?ow(e,0):cw(e,t);if("Buffer"===t.type&&rw(t.data))return cw(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function sw(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function uw(e,t){if(sw(t),e=ow(e,t<0?0:0|lw(t)),!iw.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function cw(e,t){var r=t.length<0?0:0|lw(t.length);e=ow(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function lw(e){if(e>=nw())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+nw().toString(16)+" bytes");return 0|e}function fw(e){return!(null==e||!e._isBuffer)}function pw(e,t){if(fw(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Bw(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Mw(e).length;default:if(n)return Bw(e).length;t=(""+t).toLowerCase(),n=!0}}function hw(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return kw(this,t,r);case"utf8":case"utf-8":return Aw(this,t,r);case"ascii":return Ow(this,t,r);case"latin1":case"binary":return Pw(this,t,r);case"base64":return xw(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return jw(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function dw(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function yw(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=iw.from(t,n)),fw(t))return 0===t.length?-1:mw(e,t,r,n,o);if("number"==typeof t)return t&=255,iw.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):mw(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function mw(e,t,r,n,o){var i,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var f=!0,p=0;p<u;p++)if(c(e,i+p)!==c(t,p)){f=!1;break}if(f)return i}return-1}function gw(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function vw(e,t,r,n){return qw(Bw(t,e.length-r),e,r,n)}function bw(e,t,r,n){return qw(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function ww(e,t,r,n){return bw(e,t,r,n)}function Sw(e,t,r,n){return qw(Mw(t),e,r,n)}function Ew(e,t,r,n){return qw(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function xw(e,t,r){return 0===t&&r===e.length?Xb(e):Xb(e.slice(t,r))}function Aw(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,u,c=e[o],l=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=Rw)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Rw));return r}(n)}iw.TYPED_ARRAY_SUPPORT=void 0===Fv.TYPED_ARRAY_SUPPORT||Fv.TYPED_ARRAY_SUPPORT,nw(),iw.poolSize=8192,iw._augment=function(e){return e.__proto__=iw.prototype,e},iw.from=function(e,t,r){return aw(null,e,t,r)},iw.TYPED_ARRAY_SUPPORT&&(iw.prototype.__proto__=Uint8Array.prototype,iw.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&iw[Symbol.species]),iw.alloc=function(e,t,r){return function(e,t,r,n){return sw(t),t<=0?ow(e,t):void 0!==r?"string"==typeof n?ow(e,t).fill(r,n):ow(e,t).fill(r):ow(e,t)}(null,e,t,r)},iw.allocUnsafe=function(e){return uw(null,e)},iw.allocUnsafeSlow=function(e){return uw(null,e)},iw.isBuffer=function(e){return null!=e&&(!!e._isBuffer||Ww(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Ww(e.slice(0,0))}(e))},iw.compare=function(e,t){if(!fw(e)||!fw(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},iw.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},iw.concat=function(e,t){if(!rw(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return iw.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=iw.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!fw(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},iw.byteLength=pw,iw.prototype._isBuffer=!0,iw.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)dw(this,t,t+1);return this},iw.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)dw(this,t,t+3),dw(this,t+1,t+2);return this},iw.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)dw(this,t,t+7),dw(this,t+1,t+6),dw(this,t+2,t+5),dw(this,t+3,t+4);return this},iw.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Aw(this,0,e):hw.apply(this,arguments)},iw.prototype.equals=function(e){if(!fw(e))throw new TypeError("Argument must be a Buffer");return this===e||0===iw.compare(this,e)},iw.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},iw.prototype.compare=function(e,t,r,n,o){if(!fw(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),u=this.slice(n,o),c=e.slice(t,r),l=0;l<s;++l)if(u[l]!==c[l]){i=u[l],a=c[l];break}return i<a?-1:a<i?1:0},iw.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},iw.prototype.indexOf=function(e,t,r){return yw(this,e,t,r,!0)},iw.prototype.lastIndexOf=function(e,t,r){return yw(this,e,t,r,!1)},iw.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return gw(this,e,t,r);case"utf8":case"utf-8":return vw(this,e,t,r);case"ascii":return bw(this,e,t,r);case"latin1":case"binary":return ww(this,e,t,r);case"base64":return Sw(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ew(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},iw.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Rw=4096;function Ow(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function Pw(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function kw(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=Fw(e[i]);return o}function jw(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function Tw(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function _w(e,t,r,n,o,i){if(!fw(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function Iw(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function Nw(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function Cw(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Uw(e,t,r,n,o){return o||Cw(e,0,r,4),ew(e,t,r,n,23,4),r+4}function Lw(e,t,r,n,o){return o||Cw(e,0,r,8),ew(e,t,r,n,52,8),r+8}iw.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),iw.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=iw.prototype;else{var o=t-e;r=new iw(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},iw.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||Tw(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},iw.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||Tw(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},iw.prototype.readUInt8=function(e,t){return t||Tw(e,1,this.length),this[e]},iw.prototype.readUInt16LE=function(e,t){return t||Tw(e,2,this.length),this[e]|this[e+1]<<8},iw.prototype.readUInt16BE=function(e,t){return t||Tw(e,2,this.length),this[e]<<8|this[e+1]},iw.prototype.readUInt32LE=function(e,t){return t||Tw(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},iw.prototype.readUInt32BE=function(e,t){return t||Tw(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},iw.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||Tw(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},iw.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||Tw(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},iw.prototype.readInt8=function(e,t){return t||Tw(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},iw.prototype.readInt16LE=function(e,t){t||Tw(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},iw.prototype.readInt16BE=function(e,t){t||Tw(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},iw.prototype.readInt32LE=function(e,t){return t||Tw(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},iw.prototype.readInt32BE=function(e,t){return t||Tw(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},iw.prototype.readFloatLE=function(e,t){return t||Tw(e,4,this.length),Zb(this,e,!0,23,4)},iw.prototype.readFloatBE=function(e,t){return t||Tw(e,4,this.length),Zb(this,e,!1,23,4)},iw.prototype.readDoubleLE=function(e,t){return t||Tw(e,8,this.length),Zb(this,e,!0,52,8)},iw.prototype.readDoubleBE=function(e,t){return t||Tw(e,8,this.length),Zb(this,e,!1,52,8)},iw.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||_w(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},iw.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||_w(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},iw.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||_w(this,e,t,1,255,0),iw.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},iw.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||_w(this,e,t,2,65535,0),iw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Iw(this,e,t,!0),t+2},iw.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||_w(this,e,t,2,65535,0),iw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Iw(this,e,t,!1),t+2},iw.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||_w(this,e,t,4,4294967295,0),iw.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Nw(this,e,t,!0),t+4},iw.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||_w(this,e,t,4,4294967295,0),iw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Nw(this,e,t,!1),t+4},iw.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);_w(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},iw.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);_w(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},iw.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||_w(this,e,t,1,127,-128),iw.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},iw.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||_w(this,e,t,2,32767,-32768),iw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Iw(this,e,t,!0),t+2},iw.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||_w(this,e,t,2,32767,-32768),iw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Iw(this,e,t,!1),t+2},iw.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||_w(this,e,t,4,2147483647,-2147483648),iw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Nw(this,e,t,!0),t+4},iw.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||_w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),iw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Nw(this,e,t,!1),t+4},iw.prototype.writeFloatLE=function(e,t,r){return Uw(this,e,t,!0,r)},iw.prototype.writeFloatBE=function(e,t,r){return Uw(this,e,t,!1,r)},iw.prototype.writeDoubleLE=function(e,t,r){return Lw(this,e,t,!0,r)},iw.prototype.writeDoubleBE=function(e,t,r){return Lw(this,e,t,!1,r)},iw.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!iw.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},iw.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!iw.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=fw(e)?e:Bw(new iw(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var Dw=/[^+\/0-9A-Za-z-_]/g;function Fw(e){return e<16?"0"+e.toString(16):e.toString(16)}function Bw(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Mw(e){return function(e){var t,r,n,o,i,a;Kb||Yb();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[s-2]?2:"="===e[s-1]?1:0,a=new Vb(3*s/4-i),n=i>0?s-4:s;var u=0;for(t=0,r=0;t<n;t+=4,r+=3)o=$b[e.charCodeAt(t)]<<18|$b[e.charCodeAt(t+1)]<<12|$b[e.charCodeAt(t+2)]<<6|$b[e.charCodeAt(t+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=$b[e.charCodeAt(t)]<<2|$b[e.charCodeAt(t+1)]>>4,a[u++]=255&o):1===i&&(o=$b[e.charCodeAt(t)]<<10|$b[e.charCodeAt(t+1)]<<4|$b[e.charCodeAt(t+2)]>>2,a[u++]=o>>8&255,a[u++]=255&o),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Dw,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function qw(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function Ww(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}const Gw=zb.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"]);const zw=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Hw=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function $w(e,t){return zb.isArray(e)?e.map(e=>$w(e,t)):function(e){let t=0,r=e.length;for(;t<r;){const r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){const t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}(String(e).replace(t,""))}function Vw(e){const t=Object.create(null);return zb.forEach(e.toJSON(),(e,r)=>{t[r]=(e=>$w(e,Hw))(e)}),t}const Kw=Symbol("internals");function Yw(e){return e&&String(e).trim().toLowerCase()}function Jw(e){return!1===e||null==e?e:zb.isArray(e)?e.map(Jw):(e=>$w(e,zw))(String(e))}function Qw(e,t,r,n,o){return zb.isFunction(n)?n.call(this,t,r):(o&&(t=r),zb.isString(t)?zb.isString(n)?-1!==t.indexOf(n):zb.isRegExp(n)?n.test(t):void 0:void 0)}class Xw{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=Yw(t);if(!o)throw new Error("header name must be a non-empty string");const i=zb.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=Jw(e))}const i=(e,t)=>zb.forEach(e,(e,r)=>o(e,r,t));if(zb.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(zb.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((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]&&Gw[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(zb.isObject(e)&&zb.isIterable(e)){let r,n,o={};for(const t of e){if(!zb.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[n=t[0]]=(r=o[n])?zb.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,r);return this}get(e,t){if(e=Yw(e)){const r=zb.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(zb.isFunction(t))return t.call(this,e,r);if(zb.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Yw(e)){const r=zb.findKey(this,e);return!(!r||void 0===this[r]||t&&!Qw(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=Yw(e)){const o=zb.findKey(r,e);!o||t&&!Qw(0,r[o],o,t)||(delete r[o],n=!0)}}return zb.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&&!Qw(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return zb.forEach(this,(n,o)=>{const i=zb.findKey(r,o);if(i)return t[i]=Jw(n),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}(o):String(o).trim();a!==o&&delete t[o],t[a]=Jw(n),r[a]=!0}),this}concat(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return zb.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&zb.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(e=>{let t=b(e,2);return t[0]+": "+t[1]}).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){const t=new this(e);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach(e=>t.set(e)),t}static accessor(e){const t=(this[Kw]=this[Kw]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Yw(e);t[n]||(!function(e,t){const r=zb.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{__proto__:null,value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})})}(r,e),t[n]=!0)}return zb.isArray(e)?e.forEach(n):n(e),this}}Xw.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),zb.reduceDescriptors(Xw.prototype,(e,t)=>{let r=e.value,n=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(e){this[n]=e}}}),zb.freezeMethods(Xw);function Zw(e,t){const r=new Set(t.map(e=>String(e).toLowerCase())),n=[],o=e=>{if(null===e||"object"!=typeof e)return e;if(zb.isBuffer(e))return e;if(-1!==n.indexOf(e))return;let t;if(e instanceof Xw&&(e=e.toJSON()),n.push(e),zb.isArray(e))t=[],e.forEach((e,r)=>{const n=o(e);zb.isUndefined(n)||(t[r]=n)});else{if(!zb.isPlainObject(e)&&function(e){if(zb.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(zb.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return n.pop(),e;t=Object.create(null);for(const n of Object.entries(e)){var i=b(n,2);const e=i[0],a=i[1],s=r.has(e.toLowerCase())?"[REDACTED ****]":o(a);zb.isUndefined(s)||(t[e]=s)}}return n.pop(),t};return o(e)}class eS extends Error{static from(e,t,r,n,o,i){const a=new eS(e.message,t||e.code,r,n,o);return a.cause=e,a.name=e.name,null!=e.status&&null==a.status&&(a.status=e.status),i&&Object.assign(a,i),a}constructor(e,t,r,n,o){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status)}toJSON(){const e=this.config,t=e&&zb.hasOwnProp(e,"redact")?e.redact:void 0,r=zb.isArray(t)&&t.length>0?Zw(e,t):zb.toJSONObject(e);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:r,code:this.code,status:this.status}}}eS.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",eS.ERR_BAD_OPTION="ERR_BAD_OPTION",eS.ECONNABORTED="ECONNABORTED",eS.ETIMEDOUT="ETIMEDOUT",eS.ECONNREFUSED="ECONNREFUSED",eS.ERR_NETWORK="ERR_NETWORK",eS.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",eS.ERR_DEPRECATED="ERR_DEPRECATED",eS.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",eS.ERR_BAD_REQUEST="ERR_BAD_REQUEST",eS.ERR_CANCELED="ERR_CANCELED",eS.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",eS.ERR_INVALID_URL="ERR_INVALID_URL",eS.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";function tS(e){return zb.isPlainObject(e)||zb.isArray(e)}function rS(e){return zb.endsWith(e,"[]")?e.slice(0,-2):e}function nS(e,t,r){return e?e.concat(t).map(function(e,t){return e=rS(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}const oS=zb.toFlatObject(zb,{},null,function(e){return/^is[A-Z]/.test(e)});function iS(e,t,r){if(!zb.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=zb.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!zb.isUndefined(t[e])})).metaTokens,o=r.visitor||f,i=r.dots,a=r.indexes,s=r.Blob||"undefined"!=typeof Blob&&Blob,u=void 0===r.maxDepth?100:r.maxDepth,c=s&&zb.isSpecCompliantForm(t);if(!zb.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(zb.isDate(e))return e.toISOString();if(zb.isBoolean(e))return e.toString();if(!c&&zb.isBlob(e))throw new eS("Blob is not supported. Use a Buffer instead.");return zb.isArrayBuffer(e)||zb.isTypedArray(e)?c&&"function"==typeof Blob?new Blob([e]):iw.from(e):e}function f(e,r,o){let s=e;if(zb.isReactNative(t)&&zb.isReactNativeBlob(e))return t.append(nS(o,r,i),l(e)),!1;if(e&&!o&&"object"==typeof e)if(zb.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(zb.isArray(e)&&function(e){return zb.isArray(e)&&!e.some(tS)}(e)||(zb.isFileList(e)||zb.endsWith(r,"[]"))&&(s=zb.toArray(e)))return r=rS(r),s.forEach(function(e,n){!zb.isUndefined(e)&&null!==e&&t.append(!0===a?nS([r],n,i):null===a?r:r+"[]",l(e))}),!1;return!!tS(e)||(t.append(nS(o,r,i),l(e)),!1)}const p=[],h=Object.assign(oS,{defaultVisitor:f,convertValue:l,isVisitable:tS});if(!zb.isObject(e))throw new TypeError("data must be an object");return function e(r,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!zb.isUndefined(r)){if(i>u)throw new eS("Object is too deeply nested ("+i+" levels). Max depth: "+u,eS.ERR_FORM_DATA_DEPTH_EXCEEDED);if(-1!==p.indexOf(r))throw Error("Circular reference detected in "+n.join("."));p.push(r),zb.forEach(r,function(r,a){!0===(!(zb.isUndefined(r)||null===r)&&o.call(t,r,zb.isString(a)?a.trim():a,n,h))&&e(r,n?n.concat(a):[a],i+1)}),p.pop()}}(e),t}function aS(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function sS(e,t){this._pairs=[],e&&iS(e,this,t)}const uS=sS.prototype;function cS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function lS(e,t,r){if(!t)return e;const n=r&&r.encode||cS,o=zb.isFunction(r)?{serialize:r}:r,i=o&&o.serialize;let a;if(a=i?i(t,o):zb.isURLSearchParams(t)?t.toString():new sS(t,o).toString(n),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}uS.append=function(e,t){this._pairs.push([e,t])},uS.toString=function(e){const t=e?function(t){return e.call(this,t,aS)}:aS;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class fS{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){zb.forEach(this.handlers,function(t){null!==t&&e(t)})}}var pS={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},hS={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:sS,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const dS="undefined"!=typeof window&&"undefined"!=typeof document,yS="object"==typeof navigator&&navigator||void 0,mS=dS&&(!yS||["ReactNative","NativeScript","NS"].indexOf(yS.product)<0),gS="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,vS=dS&&window.location.href||"http://localhost";var bS={...Object.freeze({__proto__:null,hasBrowserEnv:dS,hasStandardBrowserEnv:mS,hasStandardBrowserWebWorkerEnv:gS,navigator:yS,origin:vS}),...hS};function wS(e){function t(e,r,n,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&zb.isArray(n)?n.length:i,s)return zb.hasOwnProp(n,i)?n[i]=zb.isArray(n[i])?n[i].concat(r):[n[i],r]:n[i]=r,!a;zb.hasOwnProp(n,i)&&zb.isObject(n[i])||(n[i]=[]);return t(e,r,n[i],o)&&zb.isArray(n[i])&&(n[i]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}(n[i])),!a}if(zb.isFormData(e)&&zb.isFunction(e.entries)){const r={};return zb.forEachEntry(e,(e,n)=>{t(function(e){return zb.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),n,r,0)}),r}return null}const SS=(e,t)=>null!=e&&zb.hasOwnProp(e,t)?e[t]:void 0;const ES={transitional:pS,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=zb.isObject(e);o&&zb.isHTMLForm(e)&&(e=new FormData(e));if(zb.isFormData(e))return n?JSON.stringify(wS(e)):e;if(zb.isArrayBuffer(e)||zb.isBuffer(e)||zb.isStream(e)||zb.isFile(e)||zb.isBlob(e)||zb.isReadableStream(e))return e;if(zb.isArrayBufferView(e))return e.buffer;if(zb.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){const t=SS(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return iS(e,new bS.classes.URLSearchParams,{visitor:function(e,t,r,n){return bS.isNode&&zb.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((i=zb.isFileList(e))||r.indexOf("multipart/form-data")>-1){const r=SS(this,"env"),n=r&&r.FormData;return iS(i?{"files[]":e}:e,n&&new n,t)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(zb.isString(e))try{return(t||JSON.parse)(e),zb.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=SS(this,"transitional")||ES.transitional,r=t&&t.forcedJSONParsing,n=SS(this,"responseType"),o="json"===n;if(zb.isResponse(e)||zb.isReadableStream(e))return e;if(e&&zb.isString(e)&&(r&&!n||o)){const r=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,SS(this,"parseReviver"))}catch(e){if(r){if("SyntaxError"===e.name)throw eS.from(e,eS.ERR_BAD_RESPONSE,this,null,SS(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bS.classes.FormData,Blob:bS.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function xS(e,t){const r=this||ES,n=t||r,o=Xw.from(n.headers);let i=n.data;return zb.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function AS(e){return!(!e||!e.__CANCEL__)}zb.forEach(["delete","get","head","post","put","patch","query"],e=>{ES.headers[e]={}});class RS extends eS{constructor(e,t,r){super(null==e?"canceled":e,eS.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}}function OS(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new eS("Request failed with status code "+r.status,r.status>=400&&r.status<500?eS.ERR_BAD_REQUEST:eS.ERR_BAD_RESPONSE,r.config,r.request,r)):e(r)}const PS=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=n[a];o||(o=u),r[i]=s,n[i]=u;let l=a,f=0;for(;l!==i;)f+=r[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const p=c&&u-c;return p?Math.round(1e3*f/p):void 0}}(50,250);return function(e,t){let r,n,o=0,i=1e3/t;const a=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[function(){const e=Date.now(),t=e-o;for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];t>=i?a(u,e):(r=u,n||(n=setTimeout(()=>{n=null,a(r)},i-t)))},()=>r&&a(r)]}(r=>{if(!r||"number"!=typeof r.loaded)return;const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=null!=a?Math.min(i,a):i,u=Math.max(0,s-n),c=o(u);n=Math.max(n,s);e({loaded:s,total:a,progress:a?s/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a?(a-s)/c:void 0,event:r,lengthComputable:null!=a,[t?"download":"upload"]:!0})},r)},kS=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},jS=e=>function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return zb.asap(()=>e(...r))};var TS=bS.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,bS.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(bS.origin),bS.navigator&&/(msie|trident)/i.test(bS.navigator.userAgent)):()=>!0,_S=bS.hasStandardBrowserEnv?{write(e,t,r,n,o,i,a){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];zb.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),zb.isString(n)&&s.push(`path=${n}`),zb.isString(o)&&s.push(`domain=${o}`),!0===i&&s.push("secure"),zb.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let r=0;r<t.length;r++){const n=t[r].replace(/^\s+/,""),o=n.indexOf("=");if(-1!==o&&n.slice(0,o)===e)return decodeURIComponent(n.slice(o+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function IS(e,t,r){let n=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(n||!1===r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const NS=e=>e instanceof Xw?{...e}:e;function CS(e,t){t=t||{};const r=Object.create(null);function n(e,t,r,n){return zb.isPlainObject(e)&&zb.isPlainObject(t)?zb.merge.call({caseless:n},e,t):zb.isPlainObject(t)?zb.merge({},t):zb.isArray(t)?t.slice():t}function o(e,t,r,o){return zb.isUndefined(t)?zb.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!zb.isUndefined(t))return n(void 0,t)}function a(e,t){return zb.isUndefined(t)?zb.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,o,i){return zb.hasOwnProp(t,i)?n(r,o):zb.hasOwnProp(e,i)?n(void 0,r):void 0}Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:s,headers:(e,t,r)=>o(NS(e),NS(t),0,!0)};return zb.forEach(Object.keys({...e,...t}),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;const i=zb.hasOwnProp(u,n)?u[n]:o,a=i(zb.hasOwnProp(e,n)?e[n]:void 0,zb.hasOwnProp(t,n)?t[n]:void 0,n);zb.isUndefined(a)&&i!==s||(r[n]=a)}),r}const US=["content-type","content-length"];var LS=e=>{const t=CS({},e),r=e=>zb.hasOwnProp(t,e)?t[e]:void 0,n=r("data");let o=r("withXSRFToken");const i=r("xsrfHeaderName"),a=r("xsrfCookieName");let s=r("headers");const u=r("auth"),c=r("baseURL"),l=r("allowAbsoluteUrls"),f=r("url");var p;if(t.headers=s=Xw.from(s),t.url=lS(IS(c,f,l),e.params,e.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?(p=u.password,encodeURIComponent(p).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)))):""))),zb.isFormData(n)&&(bS.hasStandardBrowserEnv||bS.hasStandardBrowserWebWorkerEnv?s.setContentType(void 0):zb.isFunction(n.getHeaders)&&function(e,t,r){"content-only"===r?Object.entries(t).forEach(t=>{let r=b(t,2),n=r[0],o=r[1];US.includes(n.toLowerCase())&&e.set(n,o)}):e.set(t)}(s,n.getHeaders(),r("formDataHeaderPolicy"))),bS.hasStandardBrowserEnv){zb.isFunction(o)&&(o=o(t));if(!0===o||null==o&&TS(t.url)){const e=i&&a&&_S.read(a);e&&s.set(i,e)}}return t};var DS="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){const n=LS(e);let o=n.data;const i=Xw.from(n.headers).normalize();let a,s,u,c,l,f=n.responseType,p=n.onUploadProgress,h=n.onDownloadProgress;function d(){c&&c(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let y=new XMLHttpRequest;function m(){if(!y)return;const n=Xw.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());OS(function(e){t(e),d()},function(e){r(e),d()},{data:f&&"text"!==f&&"json"!==f?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}if(y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout,"onloadend"in y?y.onloadend=m:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&y.responseURL.startsWith("file:"))&&setTimeout(m)},y.onabort=function(){y&&(r(new eS("Request aborted",eS.ECONNABORTED,e,y)),d(),y=null)},y.onerror=function(t){const n=t&&t.message?t.message:"Network Error",o=new eS(n,eS.ERR_NETWORK,e,y);o.event=t||null,r(o),d(),y=null},y.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||pS;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new eS(t,o.clarifyTimeoutError?eS.ETIMEDOUT:eS.ECONNABORTED,e,y)),d(),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&zb.forEach(Vw(i),function(e,t){y.setRequestHeader(t,e)}),zb.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),f&&"json"!==f&&(y.responseType=n.responseType),h){var g=b(PS(h,!0),2);u=g[0],l=g[1],y.addEventListener("progress",u)}if(p&&y.upload){var v=b(PS(p),2);s=v[0],c=v[1],y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",c)}(n.cancelToken||n.signal)&&(a=t=>{y&&(r(!t||t.type?new RS(null,e,y):t),y.abort(),d(),y=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const w=function(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}(n.url);!w||bS.protocols.includes(w)?y.send(o||null):r(new eS("Unsupported protocol "+w+":",eS.ERR_BAD_REQUEST,e))})};const FS=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const r=new AbortController;let n=!1;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof eS?t:new RS(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new eS(`timeout of ${t}ms exceeded`,eS.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const s=r.signal;return s.unsubscribe=()=>zb.asap(a),s},BS=function*(e,t){let r=e.byteLength;if(r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},MS=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const e=await t.read(),r=e.done,n=e.value;if(r)break;yield n}}finally{await t.cancel()}},qS=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of MS(e))yield*BS(r,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const t=await o.next(),n=t.done,i=t.value;if(n)return s(),void e.close();let u=i.byteLength;if(r){let e=a+=u;r(e)}e.enqueue(new Uint8Array(i))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})};const WS="1.16.1",GS=zb.isFunction,zS=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return!!e(...r)}catch(e){return!1}},HS=e=>{const t=void 0!==zb.global&&null!==zb.global?zb.global:globalThis,r=t.ReadableStream,n=t.TextEncoder,o=e=zb.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e),i=o.fetch,a=o.Request,s=o.Response,u=i?GS(i):"function"==typeof fetch,c=GS(a),l=GS(s);if(!u)return!1;const f=u&&GS(r),p=u&&("function"==typeof n?(h=new n,e=>h.encode(e)):async e=>new Uint8Array(await new a(e).arrayBuffer()));var h;const d=c&&f&&zS(()=>{let e=!1;const t=new a(bS.origin,{body:new r,method:"POST",get duplex(){return e=!0,"half"}}),n=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!n}),y=l&&f&&zS(()=>zb.isReadableStream(new s("").body)),m={stream:y&&(e=>e.body)};u&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!m[e]&&(m[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new eS(`Response type '${e}' is not supported`,eS.ERR_NOT_SUPPORT,r)})});const g=async(e,t)=>{const r=zb.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(zb.isBlob(e))return e.size;if(zb.isSpecCompliantForm(e)){const t=new a(bS.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return zb.isArrayBufferView(e)||zb.isArrayBuffer(e)?e.byteLength:(zb.isURLSearchParams(e)&&(e+=""),zb.isString(e)?(await p(e)).byteLength:void 0)})(t):r};return async e=>{let t=LS(e),r=t.url,o=t.method,u=t.data,l=t.signal,f=t.cancelToken,p=t.timeout,h=t.onDownloadProgress,v=t.onUploadProgress,w=t.responseType,S=t.headers,E=t.withCredentials,x=void 0===E?"same-origin":E,A=t.fetchOptions,R=t.maxContentLength,O=t.maxBodyLength;const P=zb.isNumber(R)&&R>-1,k=zb.isNumber(O)&&O>-1;let j=i||fetch;w=w?(w+"").toLowerCase():"text";let T=FS([l,f&&f.toAbortSignal()],p),_=null;const I=T&&T.unsubscribe&&(()=>{T.unsubscribe()});let N;try{if(P&&"string"==typeof r&&r.startsWith("data:")){const t=function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const r=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(r)){let e=n.length;const t=n.length;for(let r=0;r<t;r++)if(37===n.charCodeAt(r)&&r+2<t){const t=n.charCodeAt(r+1),o=n.charCodeAt(r+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102)&&(e-=2,r+=2)}let r=0,o=t-1;const i=e=>e>=2&&37===n.charCodeAt(e-2)&&51===n.charCodeAt(e-1)&&(68===n.charCodeAt(e)||100===n.charCodeAt(e));o>=0&&(61===n.charCodeAt(o)?(r++,o--):i(o)&&(r++,o-=3)),1===r&&o>=0&&(61===n.charCodeAt(o)||i(o))&&r++;const a=3*Math.floor(e/4)-(r||0);return a>0?a:0}if(void 0!==iw&&"function"==typeof iw.byteLength)return iw.byteLength(n,"utf8");let o=0;for(let e=0,t=n.length;e<t;e++){const r=n.charCodeAt(e);if(r<128)o+=1;else if(r<2048)o+=2;else if(r>=55296&&r<=56319&&e+1<t){const t=n.charCodeAt(e+1);t>=56320&&t<=57343?(o+=4,e++):o+=3}else o+=3}return o}(r);if(t>R)throw new eS("maxContentLength size of "+R+" exceeded",eS.ERR_BAD_RESPONSE,e,_)}if(k&&"get"!==o&&"head"!==o){const t=await g(S,u);if("number"==typeof t&&isFinite(t)&&t>O)throw new eS("Request body larger than maxBodyLength limit",eS.ERR_BAD_REQUEST,e,_)}if(v&&d&&"get"!==o&&"head"!==o&&0!==(N=await g(S,u))){let e,t=new a(r,{method:"POST",body:u,duplex:"half"});if(zb.isFormData(u)&&(e=t.headers.get("content-type"))&&S.setContentType(e),t.body){const e=b(kS(N,PS(jS(v))),2),r=e[0],n=e[1];u=qS(t.body,65536,r,n)}}zb.isString(x)||(x=x?"include":"omit");const t=c&&"credentials"in a.prototype;if(zb.isFormData(u)){const e=S.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&S.delete("content-type")}S.set("User-Agent","axios/"+WS,!1);const i={...A,signal:T,method:o.toUpperCase(),headers:Vw(S.normalize()),body:u,duplex:"half",credentials:t?x:void 0};_=c&&new a(r,i);let l=await(c?j(_,A):j(r,i));if(P){const t=zb.toFiniteNumber(l.headers.get("content-length"));if(null!=t&&t>R)throw new eS("maxContentLength size of "+R+" exceeded",eS.ERR_BAD_RESPONSE,e,_)}const f=y&&("stream"===w||"response"===w);if(y&&l.body&&(h||P||f&&I)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=l[e]});const r=zb.toFiniteNumber(l.headers.get("content-length")),n=b(h&&kS(r,PS(jS(h),!0))||[],2),o=n[0],i=n[1];let a=0;const u=t=>{if(P&&(a=t,a>R))throw new eS("maxContentLength size of "+R+" exceeded",eS.ERR_BAD_RESPONSE,e,_);o&&o(t)};l=new s(qS(l.body,65536,u,()=>{i&&i(),I&&I()}),t)}w=w||"text";let p=await m[zb.findKey(m,w)||"text"](l,e);if(P&&!y&&!f){let t;if(null!=p&&("number"==typeof p.byteLength?t=p.byteLength:"number"==typeof p.size?t=p.size:"string"==typeof p&&(t="function"==typeof n?(new n).encode(p).byteLength:p.length)),"number"==typeof t&&t>R)throw new eS("maxContentLength size of "+R+" exceeded",eS.ERR_BAD_RESPONSE,e,_)}return!f&&I&&I(),await new Promise((t,r)=>{OS(t,r,{data:p,headers:Xw.from(l.headers),status:l.status,statusText:l.statusText,config:e,request:_})})}catch(t){if(I&&I(),T&&T.aborted&&T.reason instanceof eS){const r=T.reason;throw r.config=e,_&&(r.request=_),t!==r&&(r.cause=t),r}if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new eS("Network Error",eS.ERR_NETWORK,e,_,t&&t.response),{cause:t.cause||t});throw eS.from(t,t&&t.code,e,_,t&&t.response)}}},$S=new Map,VS=e=>{let t=e&&e.env||{};const r=t.fetch,n=[t.Request,t.Response,r];let o,i,a=n.length,s=$S;for(;a--;)o=n[a],i=s.get(o),void 0===i&&s.set(o,i=a?new Map:HS(t)),s=i;return i};VS();const KS={http:null,xhr:DS,fetch:{get:VS}};zb.forEach(KS,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const YS=e=>`- ${e}`,JS=e=>zb.isFunction(e)||null===e||!1===e;var QS={getAdapter:function(e,t){const r=(e=zb.isArray(e)?e:[e]).length;let n,o;const i={};for(let a=0;a<r;a++){let r;if(n=e[a],o=n,!JS(n)&&(o=KS[(r=String(n)).toLowerCase()],void 0===o))throw new eS(`Unknown adapter '${r}'`);if(o&&(zb.isFunction(o)||(o=o.get(t))))break;i[r||"#"+a]=o}if(!o){const e=Object.entries(i).map(e=>{let t=b(e,2);return`adapter ${t[0]} `+(!1===t[1]?"is not supported by the environment":"is not available in the build")});let t=r?e.length>1?"since :\n"+e.map(YS).join("\n"):" "+YS(e[0]):"as no adapter specified";throw new eS("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:KS};function XS(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new RS(null,e)}function ZS(e){XS(e),e.headers=Xw.from(e.headers),e.data=xS.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return QS.getAdapter(e.adapter||ES.adapter,e)(e).then(function(t){XS(e),e.response=t;try{t.data=xS.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=Xw.from(t.headers),t},function(t){if(!AS(t)&&(XS(e),t&&t.response)){e.response=t.response;try{t.response.data=xS.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=Xw.from(t.response.headers)}return Promise.reject(t)})}const eE={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{eE[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const tE={};eE.transitional=function(e,t,r){function n(e,t){return"[Axios v"+WS+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new eS(n(o," has been removed"+(t?" in "+t:"")),eS.ERR_DEPRECATED);return t&&!tE[o]&&(tE[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}},eE.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var rE={assertOptions:function(e,t,r){if("object"!=typeof e)throw new eS("options must be an object",eS.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],a=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(a){const t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new eS("option "+i+" must be "+r,eS.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new eS("Unknown option "+i,eS.ERR_BAD_OPTION)}},validators:eE};const nE=rE.validators;class oE{constructor(e){this.defaults=e||{},this.interceptors={request:new fS,response:new fS}}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=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(r){const t=r.indexOf("\n"),n=-1===t?-1:r.indexOf("\n",t+1),o=-1===n?"":r.slice(n+1);String(e.stack).endsWith(o)||(e.stack+="\n"+r)}}else e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};const r=t=CS(this.defaults,t),n=r.transitional,o=r.paramsSerializer,i=r.headers;void 0!==n&&rE.assertOptions(n,{silentJSONParsing:nE.transitional(nE.boolean),forcedJSONParsing:nE.transitional(nE.boolean),clarifyTimeoutError:nE.transitional(nE.boolean),legacyInterceptorReqResOrdering:nE.transitional(nE.boolean)},!1),null!=o&&(zb.isFunction(o)?t.paramsSerializer={serialize:o}:rE.assertOptions(o,{encode:nE.function,serialize:nE.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),rE.assertOptions(t,{baseUrl:nE.spelling("baseURL"),withXsrfToken:nE.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&zb.merge(i.common,i[t.method]);i&&zb.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete i[e]}),t.headers=Xw.concat(a,i);const s=[];let u=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;u=u&&e.synchronous;const r=t.transitional||pS;r&&r.legacyInterceptorReqResOrdering?s.unshift(e.fulfilled,e.rejected):s.push(e.fulfilled,e.rejected)});const c=[];let l;this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let f,p=0;if(!u){const e=[ZS.bind(this),void 0];for(e.unshift(...s),e.push(...c),f=e.length,l=Promise.resolve(t);p<f;)l=l.then(e[p++],e[p++]);return l}f=s.length;let h=t;for(;p<f;){const e=s[p++],t=s[p++];try{h=e(h)}catch(e){t.call(this,e);break}}try{l=ZS.call(this,h)}catch(e){return Promise.reject(e)}for(p=0,f=c.length;p<f;)l=l.then(c[p++],c[p++]);return l}getUri(e){return lS(IS((e=CS(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}zb.forEach(["delete","get","head","options"],function(e){oE.prototype[e]=function(t,r){return this.request(CS(r||{},{method:e,url:t,data:(r||{}).data}))}}),zb.forEach(["post","put","patch","query"],function(e){function t(t){return function(r,n,o){return this.request(CS(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}oE.prototype[e]=t(),"query"!==e&&(oE.prototype[e+"Form"]=t(!0))});class iE{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 RS(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 iE(function(t){e=t}),cancel:e}}}const aE={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(aE).forEach(e=>{let t=b(e,2),r=t[0],n=t[1];aE[n]=r});const sE=function e(t){const r=new oE(t),n=Xv(oE.prototype.request,r);return zb.extend(n,oE.prototype,r,{allOwnKeys:!0}),zb.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(CS(t,r))},n}(ES);sE.Axios=oE,sE.CanceledError=RS,sE.CancelToken=iE,sE.isCancel=AS,sE.VERSION=WS,sE.toFormData=iS,sE.AxiosError=eS,sE.Cancel=sE.CanceledError,sE.all=function(e){return Promise.all(e)},sE.spread=function(e){return function(t){return e.apply(null,t)}},sE.isAxiosError=function(e){return zb.isObject(e)&&!0===e.isAxiosError},sE.mergeConfig=CS,sE.AxiosHeaders=Xw,sE.formToJSON=e=>wS(zb.isHTMLForm(e)?new FormData(e):e),sE.getAdapter=QS.getAdapter,sE.HttpStatusCode=aE,sE.default=sE,sE.Axios,sE.AxiosError,sE.CanceledError,sE.isCancel,sE.CancelToken,sE.VERSION,sE.all,sE.Cancel,sE.isAxiosError,sE.spread,sE.toFormData,sE.AxiosHeaders,sE.HttpStatusCode,sE.formToJSON,sE.getAdapter,sE.mergeConfig,sE.create;var uE=function(){return u(function e(t){var r=t.responseHandler,n=t.requestConfigBuilder;a(this,e),this.responseHandler=r,this.requestConfigBuilder=n},[{key:"get",value:(s=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("get",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return s.apply(this,arguments)})},{key:"getData",value:(i=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("get",t,r,{responseType:"arraybuffer"});case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return i.apply(this,arguments)})},{key:"post",value:(n=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("post",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"postData",value:(r=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("post",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return r.apply(this,arguments)})},{key:"put",value:(t=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("put",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,r){return t.apply(this,arguments)})},{key:"delete",value:(e=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("delete",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(t,r){return e.apply(this,arguments)})},{key:"sendRequest",value:function(e){return this.responseHandler.handle(sE(d(d({},e),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]);var e,t,r,n,i,s}(),cE=ko,lE=ne,fE=le,pE=Gm,hE=K([].join);cE({target:"Array",proto:!0,forced:lE!==Object||!pE("join",",")},{join:function(e){return hE(fE(this),void 0===e?",":e)}});var dE=TypeError,yE=P(Object.freeze({__proto__:null,default:{}})),mE="function"==typeof Map&&Map.prototype,gE=Object.getOwnPropertyDescriptor&&mE?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,vE=mE&&gE&&"function"==typeof gE.get?gE.get:null,bE=mE&&Map.prototype.forEach,wE="function"==typeof Set&&Set.prototype,SE=Object.getOwnPropertyDescriptor&&wE?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,EE=wE&&SE&&"function"==typeof SE.get?SE.get:null,xE=wE&&Set.prototype.forEach,AE="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,RE="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,OE="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,PE=Boolean.prototype.valueOf,kE=Object.prototype.toString,jE=Function.prototype.toString,TE=String.prototype.match,_E=String.prototype.slice,IE=String.prototype.replace,NE=String.prototype.toUpperCase,CE=String.prototype.toLowerCase,UE=RegExp.prototype.test,LE=Array.prototype.concat,DE=Array.prototype.join,FE=Array.prototype.slice,BE=Math.floor,ME="function"==typeof BigInt?BigInt.prototype.valueOf:null,qE=Object.getOwnPropertySymbols,WE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,GE="function"==typeof Symbol&&"object"==typeof Symbol.iterator,zE="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===GE||"symbol")?Symbol.toStringTag:null,HE=Object.prototype.propertyIsEnumerable,$E=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function VE(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||UE.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-BE(-e):BE(e);if(n!==e){var o=String(n),i=_E.call(t,o.length+1);return IE.call(o,r,"$&_")+"."+IE.call(IE.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return IE.call(t,r,"$&_")}var KE=yE,YE=KE.custom,JE=ix(YE)?YE:null,QE={__proto__:null,double:'"',single:"'"},XE={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},ZE=function e(t,r,n,o){var i=r||{};if(sx(i,"quoteStyle")&&!sx(QE,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(sx(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!sx(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(sx(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(sx(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.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 lx(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var u=String(t);return s?VE(t,u):u}if("bigint"==typeof t){var c=String(t)+"n";return s?VE(t,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=l&&l>0&&"object"==typeof t)return nx(t)?"[Array]":"[Object]";var f=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=DE.call(Array(e.indent+1)," ")}return{base:r,prev:DE.call(Array(t+1),r)}}(i,n);if(void 0===o)o=[];else if(cx(o,t)>=0)return"[Circular]";function p(t,r,a){if(r&&(o=FE.call(o)).push(r),a){var s={depth:i.depth};return sx(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,n+1,o)}return e(t,i,n+1,o)}if("function"==typeof t&&!ox(t)){var h=function(e){if(e.name)return e.name;var t=TE.call(jE.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),d=mx(t,p);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+DE.call(d,", ")+" }":"")}if(ix(t)){var y=GE?IE.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):WE.call(t);return"object"!=typeof t||GE?y:px(y)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var m="<"+CE.call(String(t.nodeName)),g=t.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+ex(tx(g[v].value),"double",i);return m+=">",t.childNodes&&t.childNodes.length&&(m+="..."),m+="</"+CE.call(String(t.nodeName))+">"}if(nx(t)){if(0===t.length)return"[]";var b=mx(t,p);return f&&!function(e){for(var t=0;t<e.length;t++)if(cx(e[t],"\n")>=0)return!1;return!0}(b)?"["+yx(b,f)+"]":"[ "+DE.call(b,", ")+" ]"}if(function(e){return"[object Error]"===ux(e)&&rx(e)}(t)){var w=mx(t,p);return"cause"in Error.prototype||!("cause"in t)||HE.call(t,"cause")?0===w.length?"["+String(t)+"]":"{ ["+String(t)+"] "+DE.call(w,", ")+" }":"{ ["+String(t)+"] "+DE.call(LE.call("[cause]: "+p(t.cause),w),", ")+" }"}if("object"==typeof t&&a){if(JE&&"function"==typeof t[JE]&&KE)return KE(t,{depth:l-n});if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!vE||!e||"object"!=typeof e)return!1;try{vE.call(e);try{EE.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var S=[];return bE&&bE.call(t,function(e,r){S.push(p(r,t,!0)+" => "+p(e,t))}),dx("Map",vE.call(t),S,f)}if(function(e){if(!EE||!e||"object"!=typeof e)return!1;try{EE.call(e);try{vE.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var E=[];return xE&&xE.call(t,function(e){E.push(p(e,t))}),dx("Set",EE.call(t),E,f)}if(function(e){if(!AE||!e||"object"!=typeof e)return!1;try{AE.call(e,AE);try{RE.call(e,RE)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return hx("WeakMap");if(function(e){if(!RE||!e||"object"!=typeof e)return!1;try{RE.call(e,RE);try{AE.call(e,AE)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return hx("WeakSet");if(function(e){if(!OE||!e||"object"!=typeof e)return!1;try{return OE.call(e),!0}catch(e){}return!1}(t))return hx("WeakRef");if(function(e){return"[object Number]"===ux(e)&&rx(e)}(t))return px(p(Number(t)));if(function(e){if(!e||"object"!=typeof e||!ME)return!1;try{return ME.call(e),!0}catch(e){}return!1}(t))return px(p(ME.call(t)));if(function(e){return"[object Boolean]"===ux(e)&&rx(e)}(t))return px(PE.call(t));if(function(e){return"[object String]"===ux(e)&&rx(e)}(t))return px(p(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==R&&t===R)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===ux(e)&&rx(e)}(t)&&!ox(t)){var x=mx(t,p),A=$E?$E(t)===Object.prototype:t instanceof Object||t.constructor===Object,O=t instanceof Object?"":"null prototype",P=!A&&zE&&Object(t)===t&&zE in t?_E.call(ux(t),8,-1):O?"Object":"",k=(A||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(P||O?"["+DE.call(LE.call([],P||[],O||[]),": ")+"] ":"");return 0===x.length?k+"{}":f?k+"{"+yx(x,f)+"}":k+"{ "+DE.call(x,", ")+" }"}return String(t)};function ex(e,t,r){var n=r.quoteStyle||t,o=QE[n];return o+e+o}function tx(e){return IE.call(String(e),/"/g,""")}function rx(e){return!zE||!("object"==typeof e&&(zE in e||void 0!==e[zE]))}function nx(e){return"[object Array]"===ux(e)&&rx(e)}function ox(e){return"[object RegExp]"===ux(e)&&rx(e)}function ix(e){if(GE)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!WE)return!1;try{return WE.call(e),!0}catch(e){}return!1}var ax=Object.prototype.hasOwnProperty||function(e){return e in this};function sx(e,t){return ax.call(e,t)}function ux(e){return kE.call(e)}function cx(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 lx(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return lx(_E.call(e,0,t.maxStringLength),t)+n}var o=XE[t.quoteStyle||"single"];return o.lastIndex=0,ex(IE.call(IE.call(e,o,"\\$1"),/[\x00-\x1f]/g,fx),"single",t)}function fx(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":"")+NE.call(t.toString(16))}function px(e){return"Object("+e+")"}function hx(e){return e+" { ? }"}function dx(e,t,r,n){return e+" ("+t+") {"+(n?yx(r,n):DE.call(r,", "))+"}"}function yx(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+DE.call(e,","+r)+"\n"+t.prev}function mx(e,t){var r=nx(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=sx(e,o)?t(e[o],e):""}var i,a="function"==typeof qE?qE(e):[];if(GE){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)sx(e,u)&&(r&&String(Number(u))===u&&u<e.length||GE&&i["$"+u]instanceof Symbol||(UE.call(/[^\w$]/,u)?n.push(t(u,e)+": "+t(e[u],e)):n.push(u+": "+t(e[u],e))));if("function"==typeof qE)for(var c=0;c<a.length;c++)HE.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var gx=ZE,vx=dE,bx=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},wx=Object,Sx=Error,Ex=EvalError,xx=RangeError,Ax=ReferenceError,Rx=SyntaxError,Ox=URIError,Px=Math.abs,kx=Math.floor,jx=Math.max,Tx=Math.min,_x=Math.pow,Ix=Math.round,Nx=Number.isNaN||function(e){return e!=e},Cx=Object.getOwnPropertyDescriptor;if(Cx)try{Cx([],"length")}catch(e){Cx=null}var Ux=Cx,Lx=Object.defineProperty||!1;if(Lx)try{Lx({},"a",{value:1})}catch(e){Lx=!1}var Dx,Fx,Bx,Mx,qx,Wx,Gx,zx,Hx,$x,Vx,Kx,Yx,Jx,Qx,Xx,Zx=Lx;function eA(){return Wx?qx:(Wx=1,qx="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function tA(){return zx?Gx:(zx=1,Gx=wx.getPrototypeOf||null)}function rA(){if($x)return Hx;$x=1;var e=Object.prototype.toString,t=Math.max,r=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};return Hx=function(n){var o=this;if("function"!=typeof o||"[object Function]"!==e.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(e,t){for(var r=[],n=t,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r}(arguments,1),s=t(0,o.length-a.length),u=[],c=0;c<s;c++)u[c]="$"+c;if(i=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(u,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var e=o.apply(this,r(a,arguments));return Object(e)===e?e:this}return o.apply(n,r(a,arguments))}),o.prototype){var l=function(){};l.prototype=o.prototype,i.prototype=new l,l.prototype=null}return i},Hx}function nA(){if(Kx)return Vx;Kx=1;var e=rA();return Vx=Function.prototype.bind||e}function oA(){return Jx?Yx:(Jx=1,Yx=Function.prototype.call)}function iA(){return Xx?Qx:(Xx=1,Qx=Function.prototype.apply)}var aA,sA,uA,cA,lA,fA,pA,hA="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,dA=nA(),yA=iA(),mA=oA(),gA=hA||dA.call(mA,yA),vA=nA(),bA=dE,wA=oA(),SA=gA,EA=function(e){if(e.length<1||"function"!=typeof e[0])throw new bA("a function is required");return SA(vA,wA,e)};var xA=wx,AA=Sx,RA=Ex,OA=xx,PA=Ax,kA=Rx,jA=dE,TA=Ox,_A=Px,IA=kx,NA=jx,CA=Tx,UA=_x,LA=Ix,DA=function(e){return Nx(e)||0===e?e:e<0?-1:1},FA=Function,BA=function(e){try{return FA('"use strict"; return ('+e+").constructor;")()}catch(e){}},MA=Ux,qA=Zx,WA=function(){throw new jA},GA=MA?function(){try{return WA}catch(e){try{return MA(arguments,"callee").get}catch(e){return WA}}}():WA,zA=function(){if(Mx)return Bx;Mx=1;var e="undefined"!=typeof Symbol&&Symbol,t=Fx?Dx:(Fx=1,Dx=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 i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0});return Bx=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&t())))}}()(),HA=function(){if(cA)return uA;cA=1;var e=eA(),t=tA(),r=function(){if(sA)return aA;sA=1;var e,t=EA,r=Ux;try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var n=!!e&&r&&r(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return aA=n&&"function"==typeof n.get?t([n.get]):"function"==typeof i&&function(e){return i(null==e?e:o(e))}}();return uA=e?function(t){return e(t)}:t?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:r?function(e){return r(e)}:null}(),$A=tA(),VA=eA(),KA=iA(),YA=oA(),JA={},QA="undefined"!=typeof Uint8Array&&HA?HA(Uint8Array):pA,XA={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?pA:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?pA:ArrayBuffer,"%ArrayIteratorPrototype%":zA&&HA?HA([][Symbol.iterator]()):pA,"%AsyncFromSyncIteratorPrototype%":pA,"%AsyncFunction%":JA,"%AsyncGenerator%":JA,"%AsyncGeneratorFunction%":JA,"%AsyncIteratorPrototype%":JA,"%Atomics%":"undefined"==typeof Atomics?pA:Atomics,"%BigInt%":"undefined"==typeof BigInt?pA:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?pA:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?pA:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?pA:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":AA,"%eval%":eval,"%EvalError%":RA,"%Float16Array%":"undefined"==typeof Float16Array?pA:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?pA:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?pA:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?pA:FinalizationRegistry,"%Function%":FA,"%GeneratorFunction%":JA,"%Int8Array%":"undefined"==typeof Int8Array?pA:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?pA:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?pA:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":zA&&HA?HA(HA([][Symbol.iterator]())):pA,"%JSON%":"object"==typeof JSON?JSON:pA,"%Map%":"undefined"==typeof Map?pA:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&zA&&HA?HA((new Map)[Symbol.iterator]()):pA,"%Math%":Math,"%Number%":Number,"%Object%":xA,"%Object.getOwnPropertyDescriptor%":MA,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?pA:Promise,"%Proxy%":"undefined"==typeof Proxy?pA:Proxy,"%RangeError%":OA,"%ReferenceError%":PA,"%Reflect%":"undefined"==typeof Reflect?pA:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?pA:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&zA&&HA?HA((new Set)[Symbol.iterator]()):pA,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?pA:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":zA&&HA?HA(""[Symbol.iterator]()):pA,"%Symbol%":zA?Symbol:pA,"%SyntaxError%":kA,"%ThrowTypeError%":GA,"%TypedArray%":QA,"%TypeError%":jA,"%Uint8Array%":"undefined"==typeof Uint8Array?pA:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?pA:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?pA:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?pA:Uint32Array,"%URIError%":TA,"%WeakMap%":"undefined"==typeof WeakMap?pA:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?pA:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?pA:WeakSet,"%Function.prototype.call%":YA,"%Function.prototype.apply%":KA,"%Object.defineProperty%":qA,"%Object.getPrototypeOf%":$A,"%Math.abs%":_A,"%Math.floor%":IA,"%Math.max%":NA,"%Math.min%":CA,"%Math.pow%":UA,"%Math.round%":LA,"%Math.sign%":DA,"%Reflect.getPrototypeOf%":VA};if(HA)try{null.error}catch(e){var ZA=HA(HA(e));XA["%Error.prototype%"]=ZA}var eR=function e(t){var r;if("%AsyncFunction%"===t)r=BA("async function () {}");else if("%GeneratorFunction%"===t)r=BA("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=BA("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&HA&&(r=HA(o.prototype))}return XA[t]=r,r},tR={__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"]},rR=nA(),nR=function(){if(fA)return lA;fA=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=nA();return lA=r.call(e,t)}(),oR=rR.call(YA,Array.prototype.concat),iR=rR.call(KA,Array.prototype.splice),aR=rR.call(YA,String.prototype.replace),sR=rR.call(YA,String.prototype.slice),uR=rR.call(YA,RegExp.prototype.exec),cR=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,lR=/\\(\\)?/g,fR=function(e,t){var r,n=e;if(nR(tR,n)&&(n="%"+(r=tR[n])[0]+"%"),nR(XA,n)){var o=XA[n];if(o===JA&&(o=eR(n)),void 0===o&&!t)throw new jA("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new kA("intrinsic "+e+" does not exist!")},pR=function(e,t){if("string"!=typeof e||0===e.length)throw new jA("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new jA('"allowMissing" argument must be a boolean');if(null===uR(/^%?[^%]*%?$/,e))throw new kA("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=sR(e,0,1),r=sR(e,-1);if("%"===t&&"%"!==r)throw new kA("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new kA("invalid intrinsic syntax, expected opening `%`");var n=[];return aR(e,cR,function(e,t,r,o){n[n.length]=r?aR(o,lR,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",o=fR("%"+n+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],iR(r,oR([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var f=r[c],p=sR(f,0,1),h=sR(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===h||"'"===h||"`"===h)&&p!==h)throw new kA("property names with quotes must have matching quotes");if("constructor"!==f&&l||(s=!0),nR(XA,i="%"+(n+="."+f)+"%"))a=XA[i];else if(null!=a){if(!(f in a)){if(!t)throw new jA("base intrinsic for "+e+" exists, but the property is not available.");return}if(MA&&c+1>=r.length){var d=MA(a,f);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[f]}else l=nR(a,f),a=a[f];l&&!s&&(XA[i]=a)}}return a},hR=pR,dR=EA,yR=dR([hR("%String.prototype.indexOf%")]),mR=function(e,t){var r=hR(e,!!t);return"function"==typeof r&&yR(e,".prototype.")>-1?dR([r]):r},gR=mR,vR=ZE,bR=dE,wR=pR("%Map%",!0),SR=gR("Map.prototype.get",!0),ER=gR("Map.prototype.set",!0),xR=gR("Map.prototype.has",!0),AR=gR("Map.prototype.delete",!0),RR=gR("Map.prototype.size",!0),OR=!!wR&&function(){var e,t={assert:function(e){if(!t.has(e))throw new bR("Side channel does not contain "+vR(e))},delete:function(t){if(e){var r=AR(e,t);return 0===RR(e)&&(e=void 0),r}return!1},get:function(t){if(e)return SR(e,t)},has:function(t){return!!e&&xR(e,t)},set:function(t,r){e||(e=new wR),ER(e,t,r)}};return t},PR=mR,kR=ZE,jR=OR,TR=dE,_R=pR("%WeakMap%",!0),IR=PR("WeakMap.prototype.get",!0),NR=PR("WeakMap.prototype.set",!0),CR=PR("WeakMap.prototype.has",!0),UR=PR("WeakMap.prototype.delete",!0),LR=dE,DR=ZE,FR=(_R?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new TR("Side channel does not contain "+kR(e))},delete:function(r){if(_R&&r&&("object"==typeof r||"function"==typeof r)){if(e)return UR(e,r)}else if(jR&&t)return t.delete(r);return!1},get:function(r){return _R&&r&&("object"==typeof r||"function"==typeof r)&&e?IR(e,r):t&&t.get(r)},has:function(r){return _R&&r&&("object"==typeof r||"function"==typeof r)&&e?CR(e,r):!!t&&t.has(r)},set:function(r,n){_R&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new _R),NR(e,r,n)):jR&&(t||(t=jR()),t.set(r,n))}};return r}:jR)||OR||function(){var e,t={assert:function(e){if(!t.has(e))throw new vx("Side channel does not contain "+gx(e))},delete:function(t){var r=e&&e.next,n=function(e,t){if(e)return bx(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=bx(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!bx(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var n=bx(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t},BR=function(){var e,t={assert:function(e){if(!t.has(e))throw new LR("Side channel does not contain "+DR(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=FR()),e.set(t,r)}};return t},MR=String.prototype.replace,qR=/%20/g,WR="RFC3986",GR={default:WR,formatters:{RFC1738:function(e){return MR.call(e,qR,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:WR},zR=GR,HR=BR,$R=Object.prototype.hasOwnProperty,VR=Array.isArray,KR=HR(),YR=function(e,t){return KR.set(e,t),e},JR=function(e){return KR.has(e)},QR=function(e){return KR.get(e)},XR=function(e,t){KR.set(e,t)},ZR=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),eO=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},tO=1024,rO={arrayToObject:eO,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(JR(e)){var o=QR(e)+1;return e[o]=t,XR(e,o),e}var i=[].concat(e,t);return i.length>r?YR(eO(i,{plainObjects:n}),i.length-1):i},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],c=i[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t[t.length]={obj:i,prop:u},r[r.length]=c)}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(VR(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&(n[n.length]=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,n,o){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 a="",s=0;s<i.length;s+=tO){for(var u=i.length>=tO?i.slice(s,s+tO):i,c=[],l=0;l<u.length;++l){var f=u.charCodeAt(l);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===zR.RFC1738&&(40===f||41===f)?c[c.length]=u.charAt(l):f<128?c[c.length]=ZR[f]:f<2048?c[c.length]=ZR[192|f>>6]+ZR[128|63&f]:f<55296||f>=57344?c[c.length]=ZR[224|f>>12]+ZR[128|f>>6&63]+ZR[128|63&f]:(l+=1,f=65536+((1023&f)<<10|1023&u.charCodeAt(l)),c[c.length]=ZR[240|f>>18]+ZR[128|f>>12&63]+ZR[128|f>>6&63]+ZR[128|63&f])}a+=c.join("")}return a},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:JR,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:YR,maybeMap:function(e,t){if(VR(e)){for(var r=[],n=0;n<e.length;n+=1)r[r.length]=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(VR(t)){var o=t.length;if(n&&"number"==typeof n.arrayLimit&&o>n.arrayLimit)return YR(eO(t.concat(r),n),o);t[o]=r}else{if(!t||"object"!=typeof t)return[t,r];if(JR(t)){var i=QR(t)+1;t[i]=r,XR(t,i)}else{if(n&&n.strictMerge)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!$R.call(Object.prototype,r))&&(t[r]=!0)}}return t}if(!t||"object"!=typeof t){if(JR(r)){for(var a=Object.keys(r),s=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},u=0;u<a.length;u++){s[parseInt(a[u],10)+1]=r[a[u]]}return YR(s,QR(r)+1)}var c=[t].concat(r);return n&&"number"==typeof n.arrayLimit&&c.length>n.arrayLimit?YR(eO(c,n),c.length-1):c}var l=t;return VR(t)&&!VR(r)&&(l=eO(t,n)),VR(t)&&VR(r)?(r.forEach(function(r,o){if($R.call(t,o)){var i=t[o];i&&"object"==typeof i&&r&&"object"==typeof r?t[o]=e(i,r,n):t[t.length]=r}else t[o]=r}),t):Object.keys(r).reduce(function(t,o){var i=r[o];if($R.call(t,o)?t[o]=e(t[o],i,n):t[o]=i,JR(r)&&!JR(t)&&YR(t,QR(r)),JR(t)){var a=parseInt(o,10);String(a)===o&&a>=0&&a>QR(t)&&XR(t,a)}return t},l)}},nO=BR,oO=rO,iO=GR,aO=Object.prototype.hasOwnProperty,sO={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},uO=Array.isArray,cO=Array.prototype.push,lO=function(e,t){cO.apply(e,uO(t)?t:[t])},fO=Date.prototype.toISOString,pO=iO.default,hO={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:oO.encode,encodeValuesOnly:!1,filter:void 0,format:pO,formatter:iO.formatters[pO],indices:!1,serializeDate:function(e){return fO.call(e)},skipNulls:!1,strictNullHandling:!1},dO={},yO=function e(t,r,n,o,i,a,s,u,c,l,f,p,h,d,y,m,g,v){for(var b,w=t,S=v,E=0,x=!1;void 0!==(S=S.get(dO))&&!x;){var A=S.get(t);if(E+=1,void 0!==A){if(A===E)throw new RangeError("Cyclic object value");x=!0}void 0===S.get(dO)&&(E=0)}if("function"==typeof l?w=l(r,w):w instanceof Date?w=h(w):"comma"===n&&uO(w)&&(w=oO.maybeMap(w,function(e){return e instanceof Date?h(e):e})),null===w){if(a)return c&&!m?c(r,hO.encoder,g,"key",d):r;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||oO.isBuffer(w))return c?[y(m?r:c(r,hO.encoder,g,"key",d))+"="+y(c(w,hO.encoder,g,"value",d))]:[y(r)+"="+y(String(w))];var R,O=[];if(void 0===w)return O;if("comma"===n&&uO(w))m&&c&&(w=oO.maybeMap(w,c)),R=[{value:w.length>0?w.join(",")||null:void 0}];else if(uO(l))R=l;else{var P=Object.keys(w);R=f?P.sort(f):P}var k=u?String(r).replace(/\./g,"%2E"):String(r),j=o&&uO(w)&&1===w.length?k+"[]":k;if(i&&uO(w)&&0===w.length)return j+"[]";for(var T=0;T<R.length;++T){var _=R[T],I="object"==typeof _&&_&&void 0!==_.value?_.value:w[_];if(!s||null!==I){var N=p&&u?String(_).replace(/\./g,"%2E"):String(_),C=uO(w)?"function"==typeof n?n(j,N):j:j+(p?"."+N:"["+N+"]");v.set(t,E);var U=nO();U.set(dO,v),lO(O,e(I,C,n,o,i,a,s,u,"comma"===n&&m&&uO(w)?null:c,l,f,p,h,d,y,m,g,U))}}return O},mO=rO,gO=Object.prototype.hasOwnProperty,vO=Array.isArray,bO={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:mO.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},wO=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},SO=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},EO=function(e,t,r,n){if(e){var o=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&gO.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var n=/(\[[^[\]]*])/g,o=/(\[[^[\]]*])/.exec(r),i=o?r.slice(0,o.index):r,a=[];if(i){if(!t.plainObjects&&gO.call(Object.prototype,i)&&!t.allowPrototypes)return;a[a.length]=i}for(var s=0;null!==(o=n.exec(r))&&s<t.depth;){s+=1;var u=o[1].slice(1,-1);if(!t.plainObjects&&gO.call(Object.prototype,u)&&!t.allowPrototypes)return;a[a.length]=o[1]}if(o){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");a[a.length]="["+r.slice(o.index)+"]"}return a}(e,r);if(o)return function(e,t,r,n){var o=0;if(e.length>0&&"[]"===e[e.length-1]){var i=e.slice(0,-1).join("");o=Array.isArray(t)&&t[i]?t[i].length:0}for(var a=n?t:SO(t,r,o),s=e.length-1;s>=0;--s){var u,c=e[s];if("[]"===c&&r.parseArrays)u=mO.isOverflow(a)?a:r.allowEmptyArrays&&(""===a||r.strictNullHandling&&null===a)?[]:mO.combine([],a,r.arrayLimit,r.plainObjects);else{u=r.plainObjects?{__proto__:null}:{};var l="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,f=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,p=parseInt(f,10),h=!isNaN(p)&&c!==f&&String(p)===f&&p>=0&&r.parseArrays;if(r.parseArrays||""!==f)if(h&&p<r.arrayLimit)(u=[])[p]=a;else{if(h&&r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");h?(u[p]=a,mO.markOverflow(u,p)):"__proto__"!==f&&(u[f]=a)}else u={0:a}}a=u}return a}(o,t,r,n)}},xO=function(e,t){var r,n=e,o=function(e){if(!e)return hO;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||hO.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=iO.default;if(void 0!==e.format){if(!aO.call(iO.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=iO.formatters[r],i=hO.filter;if(("function"==typeof e.filter||uO(e.filter))&&(i=e.filter),n=e.arrayFormat in sO?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":hO.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=void 0===e.allowDots?!0===e.encodeDotInKeys||hO.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:hO.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:hO.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:hO.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?hO.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:hO.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:hO.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:hO.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:hO.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:hO.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:hO.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:hO.strictNullHandling}}(t);"function"==typeof o.filter?n=(0,o.filter)("",n):uO(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var a=sO[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var u=nO(),c=0;c<r.length;++c){var l=r[c],f=n[l];o.skipNulls&&null===f||lO(i,yO(f,l,a,s,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var p=i.join(o.delimiter),h=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),p.length>0?h+p:""},AO=function(e,t){var r=function(e){if(!e)return bO;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?bO.charset:e.charset,r=void 0===e.duplicates?bO.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||bO.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:bO.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:bO.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:bO.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:bO.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:bO.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:bO.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:bO.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:bO.decoder,delimiter:"string"==typeof e.delimiter||mO.isRegExp(e.delimiter)?e.delimiter:bO.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:bO.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:bO.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:bO.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:bO.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:bO.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:bO.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:bO.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var n="string"==typeof e?function(e,t){var r={__proto__:null},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;n=n.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o=t.parameterLimit===1/0?void 0:t.parameterLimit,i=n.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==o?o+1:o);if(t.throwOnLimitExceeded&&void 0!==o&&i.length>o)throw new RangeError("Parameter limit exceeded. Only "+o+" parameter"+(1===o?"":"s")+" allowed.");var a,s=-1,u=t.charset;if(t.charsetSentinel)for(a=0;a<i.length;++a)0===i[a].indexOf("utf8=")&&("utf8=%E2%9C%93"===i[a]?u="utf-8":"utf8=%26%2310003%3B"===i[a]&&(u="iso-8859-1"),s=a,a=i.length);for(a=0;a<i.length;++a)if(a!==s){var c,l,f=i[a],p=f.indexOf("]="),h=-1===p?f.indexOf("="):p+1;if(-1===h?(c=t.decoder(f,bO.decoder,u,"key"),l=t.strictNullHandling?null:""):null!==(c=t.decoder(f.slice(0,h),bO.decoder,u,"key"))&&(l=mO.maybeMap(SO(f.slice(h+1),t,vO(r[c])?r[c].length:0),function(e){return t.decoder(e,bO.decoder,u,"value")})),l&&t.interpretNumericEntities&&"iso-8859-1"===u&&(l=wO(String(l))),f.indexOf("[]=")>-1&&(l=vO(l)?[l]:l),t.comma&&vO(l)&&l.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");l=mO.combine([],l,t.arrayLimit,t.plainObjects)}if(null!==c){var d=gO.call(r,c);d&&("combine"===t.duplicates||f.indexOf("[]=")>-1)?r[c]=mO.combine(r[c],l,t.arrayLimit,t.plainObjects):d&&"last"!==t.duplicates||(r[c]=l)}}return r}(e,r):e,o=r.plainObjects?{__proto__:null}:{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],u=EO(s,n[s],r,"string"==typeof e);o=mO.merge(o,u,r)}return!0===r.allowSparse?o:mO.compact(o)},RO=O({formats:GR,parse:AO,stringify:xO});const OO="function"==typeof Buffer,PO=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),kO=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),jO=(e=>{let t={};return e.forEach((e,r)=>t[e]=r),t})(kO),TO=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_O=String.fromCharCode.bind(String),IO=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_")),NO=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),CO=e=>{let t,r,n,o,i="";const a=e.length%3;for(let a=0;a<e.length;){if((r=e.charCodeAt(a++))>255||(n=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|o,i+=kO[t>>18&63]+kO[t>>12&63]+kO[t>>6&63]+kO[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},UO="function"==typeof btoa?e=>btoa(e):OO?e=>Buffer.from(e,"binary").toString("base64"):CO,LO=OO?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(_O.apply(null,e.subarray(r,r+4096)));return UO(t.join(""))},DO=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?_O(192|t>>>6)+_O(128|63&t):_O(224|t>>>12&15)+_O(128|t>>>6&63)+_O(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return _O(240|t>>>18&7)+_O(128|t>>>12&63)+_O(128|t>>>6&63)+_O(128|63&t)},FO=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,BO=e=>e.replace(FO,DO),MO=OO?e=>Buffer.from(e,"utf8").toString("base64"):PO?e=>LO(PO.encode(e)):e=>UO(BO(e)),qO=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?IO(MO(e)):MO(e)},WO=e=>{if(e=e.replace(/\s+/g,""),!TO.test(e))throw new TypeError("malformed base64.");let t,r,n;e+="==".slice(2-(3&e.length));let o=[];for(let i=0;i<e.length;)t=jO[e.charAt(i++)]<<18|jO[e.charAt(i++)]<<12|(r=jO[e.charAt(i++)])<<6|(n=jO[e.charAt(i++)]),64===r?o.push(_O(t>>16&255)):64===n?o.push(_O(t>>16&255,t>>8&255)):o.push(_O(t>>16&255,t>>8&255,255&t));return o.join("")},GO=qO;var zO,HO=function(){return u(function e(t){if(a(this,e),this.baseUrl=t.baseUrl,this.auth=t.auth,this.headers=this.buildHeaders({basicAuth:t.basicAuth,userAgent:t.userAgent}),"httpsAgent"in t){if("clientCertAuth"in t)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=t.httpsAgent}else"clientCertAuth"in t&&(this.clientCertAuth=t.clientCertAuth);this.proxy=t.proxy,this.requestToken=null,this.socketTimeout=t.socketTimeout},[{key:"build",value:(n=o(m().m(function e(r,n,o,i){var a,s,u,c,l,f,p,h,y,g,v,b,w,S,E,x,A,R,O,P;return m().w(function(e){for(;;)switch(e.n){case 0:a=d(d(d({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(n)},i||{}),t.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth,socketTimeout:this.socketTimeout})),{},{proxy:this.buildProxyConfig(this.proxy)}),l=r,e.n="get"===l?1:"post"===l?4:"put"===l?8:"delete"===l?10:12;break;case 1:if(!((s=this.buildRequestUrl(n,o)).length>4096)){e.n=3;break}return f=d,p=d({},a),h={},y=d(d({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),e.n=2,this.buildData(o);case 2:return g=e.v,e.a(2,f(p,h,{method:"post",headers:y,data:g}));case 3:return e.a(2,d(d({},a),{},{url:s}));case 4:if(!(o instanceof Uv)){e.n=6;break}return e.n=5,this.buildData(o);case 5:return u=e.v,e.a(2,d(d({},a),{},{headers:"function"==typeof u.getHeaders?d(d({},this.headers),u.getHeaders()):this.headers,data:u}));case 6:return v=d,b=d({},a),w={},e.n=7,this.buildData(o);case 7:return S=e.v,e.a(2,v(b,w,{data:S}));case 8:return E=d,x=d({},a),A={},e.n=9,this.buildData(o);case 9:return R=e.v,e.a(2,E(x,A,{data:R}));case 10:return O=this,P=n,e.n=11,this.buildData(o);case 11:return c=O.buildRequestUrl.call(O,P,e.v),e.a(2,d(d({},a),{},{url:c}));case 12:throw new Error("".concat(r," method is not supported"));case 13:return e.a(2)}},e,this)})),function(e,t,r,o){return n.apply(this,arguments)})},{key:"buildProxyConfig",value:function(e){var t;if(void 0!==e){if(!1===e)return!1;var r=e;return!r.auth||0!==r.auth.username.length&&0!==r.auth.password.length||(r.auth=void 0),r.protocol=null!==(t=r.protocol)&&void 0!==t?t:"http",r}}},{key:"buildRequestUrl",value:function(e,t){return"".concat(this.baseUrl).concat(e,"?").concat(RO.stringify(t))}},{key:"buildData",value:(r=o(m().m(function e(t){var r;return m().w(function(e){for(;;)switch(e.n){case 0:if("session"!==this.auth.type){e.n=3;break}return e.n=1,this.getRequestToken();case 1:if(r=e.v,!(t instanceof Uv)){e.n=2;break}return t.append("__REQUEST_TOKEN__",r),e.a(2,t);case 2:return e.a(2,d({__REQUEST_TOKEN__:r},t));case 3:return e.a(2,t)}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"buildHeaders",value:function(e){var r=e.basicAuth,n=e.userAgent,o=r?{Authorization:"Basic ".concat(GO("".concat(r.username,":").concat(r.password)))}:{},i=d(d({},t.buildHeaders({userAgent:n})),o);switch(this.auth.type){case"password":return d(d({},i),{},{"X-Cybozu-Authorization":GO("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var a=this.auth.apiToken;return Array.isArray(a)?d(d({},i),{},{"X-Cybozu-API-Token":a.join(",")}):d(d({},i),{},{"X-Cybozu-API-Token":a});case"oAuthToken":return d(d({},i),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return d(d({},i),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(e=o(m().m(function e(){return m().w(function(e){for(;;)switch(e.n){case 0:if(null!==this.requestToken){e.n=2;break}return e.n=1,t.getRequestToken();case 1:this.requestToken=e.v;case 2:return e.a(2,this.requestToken)}},e,this)})),function(){return e.apply(this,arguments)})}]);var e,r,n}(),$O=["data"],VO=function(){return u(function e(t){var r=t.enableAbortSearchError;a(this,e),this.enableAbortSearchError=r},[{key:"handle",value:function(e){var t=this;return e.then(function(e){return t.handleSuccessResponse(e)},function(e){return t.handleErrorResponse(e)})}},{key:"handleSuccessResponse",value:function(e){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(e.headers["x-cybozu-warning"]))throw new yv(e.headers["x-cybozu-warning"]);return e.data}},{key:"handleErrorResponse",value:function(e){if(!e.response){if(/mac verify failure/.test(e.toString()))throw new Error("invalid clientCertAuth setting");throw e}var t=e.response,r=t.data,n=y(t,$O);if("string"==typeof r)throw new Error("".concat(n.status,": ").concat(n.statusText));throw new kv(d({data:r},n))}}])}(),KO=function(){return u(function e(){var r,n,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a(this,e),YO(i),this.baseUrl=t.buildBaseUrl(i.baseUrl).replace(/\/+$/,"");var s=function(e){if("username"in e)return d({type:"password"},e);if("apiToken"in e)return d({type:"apiToken"},e);if("oAuthToken"in e)return d({type:"oAuthToken"},e);try{return t.getDefaultAuth()}catch(e){if(e instanceof na)throw new Error("session authentication is not supported in ".concat(e.platform," environment."));throw e}}(null!==(r=i.auth)&&void 0!==r?r:{}),u=new HO(d(d({},i),{},{baseUrl:this.baseUrl,auth:s})),c=new VO({enableAbortSearchError:null!==(n=null===(o=i.featureFlags)||void 0===o?void 0:o.enableAbortSearchError)&&void 0!==n&&n}),l=new uE({responseHandler:c,requestConfigBuilder:u}),f=i.guestSpaceId;this.bulkRequest_=new Am(l,f),this.record=new Nv(l,this.bulkRequest_,f),this.app=new qm(l,f),this.space=new Cv(l,f),this.file=new Lv(l,f),this.plugin=new Dv(l)},[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(e){return this.bulkRequest_.send(e)}}],[{key:"version",get:function(){return t.getVersion()}}])}(),YO=function(e){JO(e.baseUrl),QO(e.guestSpaceId),XO(e.socketTimeout)},JO=function(e){if(void 0!==e){var t=new URL(e);if("localhost"!==t.hostname&&"https:"!==t.protocol)throw new Error('The protocol of baseUrl must be "https".')}},QO=function(e){if(""===e||null===e)throw new Error("invalid guestSpaceId: got [".concat(e,"]"))},XO=function(e){if(void 0!==e){var t=parseFloat(e.toString());if(isNaN(t)||t<0)throw new Error("Invalid socketTimeout. Must be a positive number.")}};(zO=ua).readFileFromPath&&(t.readFileFromPath=zO.readFileFromPath),zO.getRequestToken&&(t.getRequestToken=zO.getRequestToken),zO.getDefaultAuth&&(t.getDefaultAuth=zO.getDefaultAuth),zO.buildPlatformDependentConfig&&(t.buildPlatformDependentConfig=zO.buildPlatformDependentConfig),zO.buildHeaders&&(t.buildHeaders=zO.buildHeaders),zO.buildFormDataValue&&(t.buildFormDataValue=zO.buildFormDataValue),zO.buildBaseUrl&&(t.buildBaseUrl=zO.buildBaseUrl),zO.getVersion&&(t.getVersion=zO.getVersion),e.KintoneAbortSearchError=yv,e.KintoneAllRecordsError=Pv,e.KintoneRestAPIClient=KO,e.KintoneRestAPIError=kv});
|