@kintone/rest-api-client 6.1.1 → 6.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -696,7 +696,7 @@
696
696
  *
697
697
  *
698
698
  * =====
699
- * qs@6.14.1 -- BSD-3-Clause
699
+ * qs@6.14.2 -- BSD-3-Clause
700
700
  * -----
701
701
  *
702
702
  * BSD 3-Clause License
@@ -765,4 +765,4 @@
765
765
 
766
766
  !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,w(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=w(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(){
767
767
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
768
- 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 x(e){var t="function"==typeof Map?new Map:void 0;return x=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)},x(e)}var E="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 E&&E)||O("object"==typeof E&&E)||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")}),N=I,_=Function.prototype.call,C=N?_.bind(_):function(){return _.apply(_,arguments)},U={},L={}.propertyIsEnumerable,F=Object.getOwnPropertyDescriptor,D=F&&!L.call({1:2},1);U.f=D?function(e){var t=F(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,xe=we.process,Ee=we.Deno,Ae=xe&&xe.versions||Ee&&Ee.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,Ne=ye,_e=le,Ce=me,Ue=Object,Le=Ie?function(e){return"symbol"==typeof e}:function(e){var t=Ne("Symbol");return _e(t)&&Ce(t.prototype,Ue(e))},Fe=String,De=function(e){try{return Fe(e)}catch(e){return"Object"}},Be=le,Me=De,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.46.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.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,xt=Ie,Et=P.Symbol,At=vt("wks"),Rt=xt?Et.for||Et:Et&&Et.withoutSetter||wt,Ot=function(e){return bt(At,e)||(At[e]=St&&bt(Et,e)?Et[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")},Nt=TypeError,_t=Ot("toPrimitive"),Ct=function(e,t){if(!kt(e)||jt(e))return e;var r,n=Tt(e,_t);if(n){if(void 0===t&&(t="default"),r=Pt(n,e,t),!kt(r)||jt(r))return r;throw new Nt("Can't convert object to primitive value")}return void 0===t&&(t="number"),It(e,t)},Ut=Ct,Lt=Le,Ft=function(e){var t=Ut(e,"string");return Lt(t)?t:t+""},Dt=pe,Bt=P.document,Mt=Dt(Bt)&&Dt(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=Ft,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=Ft,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,xr=Function.prototype,Er=wr&&Object.getOwnPropertyDescriptor,Ar=Sr(xr,"name"),Rr={EXISTS:Ar,PROPER:Ar&&"something"===function(){}.name,CONFIGURABLE:Ar&&(!wr||wr&&Er(xr,"name").configurable)},Or=le,Pr=ot,kr=$(Function.toString);Or(Pr.inspectSource)||(Pr.inspectSource=function(e){return kr(e)});var jr,Tr,Ir,Nr=Pr.inspectSource,_r=le,Cr=P.WeakMap,Ur=_r(Cr)&&/native code/.test(String(Cr)),Lr=gt,Fr=at("keys"),Dr=function(e){return Fr[e]||(Fr[e]=Lr(e))},Br={},Mr=Ur,qr=P,Wr=pe,Gr=vr,zr=pt,Hr=ot,$r=Dr,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=Nr,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,xn=bn,En=Ze,An=function(e,t,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if(wn(r)&&xn(r,i,n),n.global)o?e[t]=r:En(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,Nn=Math.min,_n=function(e,t){var r=Tn(e);return r<0?In(r+t,0):Nn(r,t)},Cn=jn,Un=Math.min,Ln=function(e){var t=Cn(e);return t>0?Un(t,9007199254740991):0},Fn=Ln,Dn=function(e){return Fn(e.length)},Bn=ue,Mn=_n,qn=Dn,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,xo=An,Eo=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]||Eo(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),xo(r,n,i,e)}},Po=J,ko=Array.isArray||function(e){return"Array"===Po(e)},jo=TypeError,To=T,Io=Zt,No=q,_o=function(e,t,r){To?Io.f(e,t,No(0,r)):e[t]=r},Co={};Co[Ot("toStringTag")]="z";var Uo="[object z]"===String(Co),Lo=Uo,Fo=le,Do=J,Bo=Ot("toStringTag"),Mo=Object,qo="Arguments"===Do(function(){return arguments}()),Wo=Lo?Do: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=Mo(e),Bo))?r:qo?Do(t):"Object"===(n=Do(t))&&Fo(t.callee)?"Arguments":n},Go=$,zo=j,Ho=le,$o=Wo,Vo=Nr,Ko=function(){},Yo=ye("Reflect","construct"),Jo=/^\s*(?:class|function)\b/,Qo=Go(Jo.exec),Xo=!Jo.test(Ko),Zo=function(e){if(!Ho(e))return!1;try{return Yo(Ko,[],e),!0}catch(e){return!1}},ei=function(e){if(!Ho(e))return!1;switch($o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Xo||!!Qo(Jo,Vo(e))}catch(e){return!0}};ei.sham=!0;var ti=!Yo||zo(function(){var e;return Zo(Zo.call)||!Zo(Object)||!Zo(function(){e=!0})||e})?ei:Zo,ri=ko,ni=ti,oi=pe,ii=Ot("species"),ai=Array,si=function(e){var t;return ri(e)&&(t=e.constructor,(ni(t)&&(t===ai||ri(t.prototype))||oi(t)&&null===(t=t[ii]))&&(t=void 0)),void 0===t?ai:t},ui=function(e,t){return new(si(e))(0===t?0:t)},ci=j,li=Oe,fi=Ot("species"),pi=function(e){return li>=51||!ci(function(){var t=[];return(t.constructor={})[fi]=function(){return{foo:1}},1!==t[e](Boolean).foo})},hi=Oo,di=j,yi=ko,mi=pe,gi=ct,vi=Dn,bi=function(e){if(e>9007199254740991)throw jo("Maximum allowed index exceeded");return e},wi=_o,Si=ui,xi=pi,Ei=Oe,Ai=Ot("isConcatSpreadable"),Ri=Ei>=51||!di(function(){var e=[];return e[Ai]=!1,e.concat()[0]!==e}),Oi=function(e){if(!mi(e))return!1;var t=e[Ai];return void 0!==t?!!t:yi(e)};hi({target:"Array",proto:!0,arity:1,forced:!Ri||!xi("concat")},{concat:function(e){var t,r,n,o,i,a=gi(this),s=Si(a,0),u=0;for(t=-1,n=arguments.length;t<n;t++)if(Oi(i=-1===t?a:arguments[t]))for(o=vi(i),bi(u+o),r=0;r<o;r++,u++)r in i&&wi(s,u,i[r]);else bi(u+1),wi(s,u++,i);return s.length=u,s}});var Pi=bn,ki=Zt,ji=function(e,t,r){return r.get&&Pi(r.get,t,{getter:!0}),r.set&&Pi(r.set,t,{setter:!0}),ki.f(e,t,r)},Ti=T,Ii=Rr.EXISTS,Ni=$,_i=ji,Ci=Function.prototype,Ui=Ni(Ci.toString),Li=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Fi=Ni(Li.exec);Ti&&!Ii&&_i(Ci,"name",{configurable:!0,get:function(){try{return Fi(Li,Ui(this))[1]}catch(e){return""}}});var Di=$,Bi=We,Mi=pe,qi=function(e){return Mi(e)||null===e},Wi=String,Gi=TypeError,zi=function(e,t,r){try{return Di(Bi(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},Hi=pe,$i=ie,Vi=function(e){if(qi(e))return e;throw new Gi("Can't set "+Wi(e)+" as a prototype")},Ki=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=zi(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return $i(r),Vi(n),Hi(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0);Oo({target:"Object",stat:!0},{setPrototypeOf:Ki});var Yi=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)}(x(Error));function Ji(){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)}Ji.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)}}},Ji.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},Ji.prototype.getExtension=function(e){return(e=/^\s*([^;\s]*)/.test(e)&&RegExp.$1)&&this._extensions[e.toLowerCase()]||null};var Qi=A(new Ji({"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"]})),Xi="6.1.1",Zi=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)}}(),ea=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=Qi.getType(t)||void 0),new Blob([e],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Zi,getVersion:function(){return Xi},readFileFromPath:function(e){throw new Yi("Browser")}}),ta={},ra=Kn,na=Yn,oa=Object.keys||function(e){return ra(e,na)},ia=T,aa=er,sa=Zt,ua=or,ca=ue,la=oa;ta.f=ia&&!aa?Object.defineProperties:function(e,t){ua(e);for(var r,n=ca(t),o=la(t),i=o.length,a=0;i>a;)sa.f(e,r=o[a++],n[r]);return e};var fa,pa=ye("document","documentElement"),ha=or,da=ta,ya=Yn,ma=Br,ga=pa,va=qt,ba="prototype",wa="script",Sa=Dr("IE_PROTO"),xa=function(){},Ea=function(e){return"<"+wa+">"+e+"</"+wa+">"},Aa=function(e){e.write(Ea("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ra=function(){try{fa=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Ra="undefined"!=typeof document?document.domain&&fa?Aa(fa):(t=va("iframe"),r="java"+wa+":",t.style.display="none",ga.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Ea("document.F=Object")),e.close(),e.F):Aa(fa);for(var n=ya.length;n--;)delete Ra[ba][ya[n]];return Ra()};ma[Sa]=!0;var Oa=Object.create||function(e,t){var r;return null!==e?(xa[ba]=ha(e),r=new xa,xa[ba]=null,r[Sa]=e):r=Ra(),void 0===t?r:da.f(r,t)},Pa=Ot,ka=Oa,ja=Zt.f,Ta=Pa("unscopables"),Ia=Array.prototype;void 0===Ia[Ta]&&ja(Ia,Ta,{configurable:!0,value:ka(null)});var Na,_a,Ca,Ua={},La=!j(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Fa=pt,Da=le,Ba=ct,Ma=La,qa=Dr("IE_PROTO"),Wa=Object,Ga=Wa.prototype,za=Ma?Wa.getPrototypeOf:function(e){var t=Ba(e);if(Fa(t,qa))return t[qa];var r=t.constructor;return Da(r)&&t instanceof r?r.prototype:t instanceof Wa?Ga:null},Ha=j,$a=le,Va=pe,Ka=za,Ya=An,Ja=Ot("iterator"),Qa=!1;[].keys&&("next"in(Ca=[].keys())?(_a=Ka(Ka(Ca)))!==Object.prototype&&(Na=_a):Qa=!0);var Xa=!Va(Na)||Ha(function(){var e={};return Na[Ja].call(e)!==e});Xa&&(Na={}),$a(Na[Ja])||Ya(Na,Ja,function(){return this});var Za={IteratorPrototype:Na,BUGGY_SAFARI_ITERATORS:Qa},es=Zt.f,ts=pt,rs=Ot("toStringTag"),ns=function(e,t,r){e&&!r&&(e=e.prototype),e&&!ts(e,rs)&&es(e,rs,{configurable:!0,value:t})},os=Za.IteratorPrototype,is=Oa,as=q,ss=ns,us=Ua,cs=function(){return this},ls=function(e,t,r,n){var o=t+" Iterator";return e.prototype=is(os,{next:as(+!n,r)}),ss(e,o,!1),us[o]=cs,e},fs=Oo,ps=C,hs=le,ds=ls,ys=za,ms=Ki,gs=ns,vs=vr,bs=An,ws=Ua,Ss=Rr.PROPER,xs=Rr.CONFIGURABLE,Es=Za.IteratorPrototype,As=Za.BUGGY_SAFARI_ITERATORS,Rs=Ot("iterator"),Os="keys",Ps="values",ks="entries",js=function(){return this},Ts=function(e,t,r,n,o,i,a){ds(r,t,n);var s,u,c,l=function(e){if(e===o&&y)return y;if(!As&&e&&e in h)return h[e];switch(e){case Os:case Ps:case ks:return function(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",p=!1,h=e.prototype,d=h[Rs]||h["@@iterator"]||o&&h[o],y=!As&&d||l(o),m="Array"===t&&h.entries||d;if(m&&(s=ys(m.call(new e)))!==Object.prototype&&s.next&&(ys(s)!==Es&&(ms?ms(s,Es):hs(s[Rs])||bs(s,Rs,js)),gs(s,f,!0)),Ss&&o===Ps&&d&&d.name!==Ps&&(xs?vs(h,"name",Ps):(p=!0,y=function(){return ps(d,this)})),o)if(u={values:l(Ps),keys:i?y:l(Os),entries:l(ks)},a)for(c in u)(As||p||!(c in h))&&bs(h,c,u[c]);else fs({target:t,proto:!0,forced:As||p},u);return h[Rs]!==y&&bs(h,Rs,y,{name:o}),ws[t]=y,u},Is=function(e,t){return{value:e,done:t}},Ns=ue,_s=function(e){Ia[Ta][e]=!0},Cs=Ua,Us=Zr,Ls=Zt.f,Fs=Ts,Ds=Is,Bs=T,Ms="Array Iterator",qs=Us.set,Ws=Us.getterFor(Ms),Gs=Fs(Array,"Array",function(e,t){qs(this,{type:Ms,target:Ns(e),index:0,kind:t})},function(){var e=Ws(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,Ds(void 0,!0);switch(e.kind){case"keys":return Ds(r,!1);case"values":return Ds(t[r],!1)}return Ds([r,t[r]],!1)},"values"),zs=Cs.Arguments=Cs.Array;if(_s("keys"),_s("values"),_s("entries"),Bs&&"values"!==zs.name)try{Ls(zs,"name",{value:"values"})}catch(e){}var Hs=$,$s=An,Vs=Date.prototype,Ks="Invalid Date",Ys="toString",Js=Hs(Vs[Ys]),Qs=Hs(Vs.getTime);String(new Date(NaN))!==Ks&&$s(Vs,Ys,function(){var e=Qs(this);return e==e?Js(this):Ks});var Xs=Wo,Zs=Uo?{}.toString:function(){return"[object "+Xs(this)+"]"};Uo||An(Object.prototype,"toString",Zs,{unsafe:!0});var eu,tu=Wo,ru=String,nu=function(e){if("Symbol"===tu(e))throw new TypeError("Cannot convert a Symbol value to a string");return ru(e)},ou="\t\n\v\f\r                 \u2028\u2029\ufeff",iu=ie,au=nu,su=ou,uu=$("".replace),cu=RegExp("^["+su+"]+"),lu=RegExp("(^|[^"+su+"])["+su+"]+$"),fu={trim:(eu=3,function(e){var t=au(iu(e));return 1&eu&&(t=uu(t,cu,"")),2&eu&&(t=uu(t,lu,"$1")),t})},pu=P,hu=j,du=nu,yu=fu.trim,mu=ou,gu=$("".charAt),vu=pu.parseFloat,bu=pu.Symbol,wu=bu&&bu.iterator,Su=1/vu(mu+"-0")!=-1/0||wu&&!hu(function(){vu(Object(wu))})?function(e){var t=yu(du(e)),r=vu(t);return 0===r&&"-"===gu(t,0)?-0:r}:vu;Oo({global:!0,forced:parseFloat!==Su},{parseFloat:Su});var xu=or,Eu=function(){var e=xu(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},Au=j,Ru=P.RegExp,Ou=Au(function(){var e=Ru("a","y");return e.lastIndex=2,null!==e.exec("abcd")});Ou||Au(function(){return!Ru("a","y").sticky});var Pu,ku,ju={BROKEN_CARET:Ou||Au(function(){var e=Ru("^r","gy");return e.lastIndex=2,null!==e.exec("str")})},Tu=j,Iu=P.RegExp,Nu=Tu(function(){var e=Iu(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}),_u=j,Cu=P.RegExp,Uu=_u(function(){var e=Cu("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),Lu=C,Fu=$,Du=nu,Bu=Eu,Mu=ju,qu=Oa,Wu=Zr.get,Gu=Nu,zu=Uu,Hu=at("native-string-replace",String.prototype.replace),$u=RegExp.prototype.exec,Vu=$u,Ku=Fu("".charAt),Yu=Fu("".indexOf),Ju=Fu("".replace),Qu=Fu("".slice),Xu=(ku=/b*/g,Lu($u,Pu=/a/,"a"),Lu($u,ku,"a"),0!==Pu.lastIndex||0!==ku.lastIndex),Zu=Mu.BROKEN_CARET,ec=void 0!==/()??/.exec("")[1];(Xu||ec||Zu||Gu||zu)&&(Vu=function(e){var t,r,n,o,i,a,s,u=this,c=Wu(u),l=Du(e),f=c.raw;if(f)return f.lastIndex=u.lastIndex,t=Lu(Vu,f,l),u.lastIndex=f.lastIndex,t;var p=c.groups,h=Zu&&u.sticky,d=Lu(Bu,u),y=u.source,m=0,g=l;if(h&&(d=Ju(d,"y",""),-1===Yu(d,"g")&&(d+="g"),g=Qu(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==Ku(l,u.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),ec&&(r=new RegExp("^"+y+"$(?!\\s)",d)),Xu&&(n=u.lastIndex),o=Lu($u,h?r:u,g),h?o?(o.input=Qu(o.input,m),o[0]=Qu(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Xu&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),ec&&o&&o.length>1&&Lu(Hu,o[0],r,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&p)for(o.groups=a=qu(null),i=0;i<p.length;i++)a[(s=p[i])[0]]=o[s[1]];return o});var tc=Vu;Oo({target:"RegExp",proto:!0,forced:/./.exec!==tc},{exec:tc});var rc=j,nc=P.RegExp,oc=!rc(function(){var e=!0;try{nc(".","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(nc.prototype,"flags").get.call(t)!==n||r!==n}),ic=C,ac=pt,sc=me,uc={correct:oc},cc=Eu,lc=RegExp.prototype,fc=uc.correct?function(e){return e.flags}:function(e){return uc.correct||!sc(lc,e)||ac(e,"flags")?e.flags:ic(cc,e)},pc=Rr.PROPER,hc=An,dc=or,yc=nu,mc=j,gc=fc,vc="toString",bc=RegExp.prototype,wc=bc[vc],Sc=mc(function(){return"/a/b"!==wc.call({source:"a",flags:"b"})}),xc=pc&&wc.name!==vc;(Sc||xc)&&hc(bc,vc,function(){var e=dc(this);return"/"+yc(e.source)+"/"+yc(gc(e))},{unsafe:!0});var Ec=$,Ac=jn,Rc=nu,Oc=ie,Pc=Ec("".charAt),kc=Ec("".charCodeAt),jc=Ec("".slice),Tc=function(e){return function(t,r){var n,o,i=Rc(Oc(t)),a=Ac(r),s=i.length;return a<0||a>=s?e?"":void 0:(n=kc(i,a))<55296||n>56319||a+1===s||(o=kc(i,a+1))<56320||o>57343?e?Pc(i,a):n:e?jc(i,a,a+2):o-56320+(n-55296<<10)+65536}},Ic={codeAt:Tc(!1),charAt:Tc(!0)},Nc=Ic.charAt,_c=nu,Cc=Zr,Uc=Ts,Lc=Is,Fc="String Iterator",Dc=Cc.set,Bc=Cc.getterFor(Fc);Uc(String,"String",function(e){Dc(this,{type:Fc,string:_c(e),index:0})},function(){var e,t=Bc(this),r=t.string,n=t.index;return n>=r.length?Lc(void 0,!0):(e=Nc(r,n),t.index+=e.length,Lc(e,!1))});var Mc=I,qc=Function.prototype,Wc=qc.apply,Gc=qc.call,zc="object"==typeof Reflect&&Reflect.apply||(Mc?Gc.bind(Wc):function(){return Gc.apply(Wc,arguments)}),Hc=C,$c=An,Vc=tc,Kc=j,Yc=Ot,Jc=vr,Qc=Yc("species"),Xc=RegExp.prototype,Zc=function(e,t,r,n){var o=Yc(e),i=!Kc(function(){var t={};return t[o]=function(){return 7},7!==""[e](t)}),a=i&&!Kc(function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[Qc]=function(){return r},r.flags="",r[o]=/./[o]),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===Vc||a===Xc.exec?i&&!o?{done:!0,value:Hc(s,t,r,n)}:{done:!0,value:Hc(e,r,t,n)}:{done:!1}});$c(String.prototype,e,u[0]),$c(Xc,o,u[1])}n&&Jc(Xc[o],"sham",!0)},el=Ic.charAt,tl=function(e,t,r){return t+(r?el(e,t).length:1)},rl=$,nl=ct,ol=Math.floor,il=rl("".charAt),al=rl("".replace),sl=rl("".slice),ul=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,cl=/\$([$&'`]|\d{1,2})/g,ll=C,fl=or,pl=le,hl=J,dl=tc,yl=TypeError,ml=function(e,t){var r=e.exec;if(pl(r)){var n=ll(r,e,t);return null!==n&&fl(n),n}if("RegExp"===hl(e))return ll(dl,e,t);throw new yl("RegExp#exec called on incompatible receiver")},gl=zc,vl=C,bl=$,wl=Zc,Sl=j,xl=or,El=le,Al=pe,Rl=jn,Ol=Ln,Pl=nu,kl=ie,jl=tl,Tl=He,Il=function(e,t,r,n,o,i){var a=r+e.length,s=n.length,u=cl;return void 0!==o&&(o=nl(o),u=ul),al(i,u,function(i,u){var c;switch(il(u,0)){case"$":return"$";case"&":return e;case"`":return sl(t,0,r);case"'":return sl(t,a);case"<":c=o[sl(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var f=ol(l/10);return 0===f?i:f<=s?void 0===n[f-1]?il(u,1):n[f-1]+il(u,1):i}c=n[l-1]}return void 0===c?"":c})},Nl=fc,_l=ml,Cl=Ot("replace"),Ul=Math.max,Ll=Math.min,Fl=bl([].concat),Dl=bl([].push),Bl=bl("".indexOf),Ml=bl("".slice),ql=function(e){return void 0===e?e:String(e)},Wl="$0"==="a".replace(/./,"$0"),Gl=!!/./[Cl]&&""===/./[Cl]("a","$0");wl("replace",function(e,t,r){var n=Gl?"$":"$0";return[function(e,r){var n=kl(this),o=Al(e)?Tl(e,Cl):void 0;return o?vl(o,e,n,r):vl(t,Pl(n),e,r)},function(e,o){var i=xl(this),a=Pl(e);if("string"==typeof o&&-1===Bl(o,n)&&-1===Bl(o,"$<")){var s=r(t,i,a,o);if(s.done)return s.value}var u=El(o);u||(o=Pl(o));var c,l=Pl(Nl(i)),f=-1!==Bl(l,"g");f&&(c=-1!==Bl(l,"u"),i.lastIndex=0);for(var p,h=[];null!==(p=_l(i,a))&&(Dl(h,p),f);){""===Pl(p[0])&&(i.lastIndex=jl(a,Ol(i.lastIndex),c))}for(var d="",y=0,m=0;m<h.length;m++){for(var g,v=Pl((p=h[m])[0]),b=Ul(Ll(Rl(p.index),a.length),0),w=[],S=1;S<p.length;S++)Dl(w,ql(p[S]));var x=p.groups;if(u){var E=Fl([v],w,b,a);void 0!==x&&Dl(E,x),g=Pl(gl(o,void 0,E))}else g=Il(v,a,b,w,x,o);b>=y&&(d+=Ml(a,y,b)+g,y=b+v.length)}return d+Ml(a,y)}]},!!Sl(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!Wl||Gl);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},Hl=qt("span").classList,$l=Hl&&Hl.constructor&&Hl.constructor.prototype,Vl=$l===Object.prototype?void 0:$l,Kl=P,Yl=zl,Jl=Vl,Ql=Gs,Xl=vr,Zl=ns,ef=Ot("iterator"),tf=Ql.values,rf=function(e,t){if(e){if(e[ef]!==tf)try{Xl(e,ef,tf)}catch(t){e[ef]=tf}if(Zl(e,t,!0),Yl[t])for(var r in Ql)if(e[r]!==Ql[r])try{Xl(e,r,Ql[r])}catch(t){e[r]=Ql[r]}}};for(var nf in Yl)rf(Kl[nf]&&Kl[nf].prototype,nf);rf(Jl,"DOMTokenList");var of=j,af=T,sf=Ot("iterator"),uf=!of(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&&!af||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[sf]||"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}),cf=J,lf=$,ff=function(e){if("Function"===cf(e))return lf(e)},pf=We,hf=I,df=ff(ff.bind),yf=function(e,t){return pf(e),void 0===t?e:hf?df(e,t):function(){return e.apply(t,arguments)}},mf=me,gf=TypeError,vf=function(e,t){if(mf(t,e))return e;throw new gf("Incorrect invocation")},bf=T,wf=$,Sf=C,xf=j,Ef=oa,Af=Xn,Rf=U,Of=ct,Pf=te,kf=Object.assign,jf=Object.defineProperty,Tf=wf([].concat),If=!kf||xf(function(){if(bf&&1!==kf({b:1},kf(jf({},"a",{enumerable:!0,get:function(){jf(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!==kf({},e)[r]||Ef(kf({},t)).join("")!==n})?function(e,t){for(var r=Of(e),n=arguments.length,o=1,i=Af.f,a=Rf.f;n>o;)for(var s,u=Pf(arguments[o++]),c=i?Tf(Ef(u),i(u)):Ef(u),l=c.length,f=0;l>f;)s=c[f++],bf&&!Sf(a,u,s)||(r[s]=u[s]);return r}:kf,Nf=C,_f=or,Cf=He,Uf=or,Lf=function(e,t,r){var n,o;_f(e);try{if(!(n=Cf(e,"return"))){if("throw"===t)throw r;return r}n=Nf(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return _f(n),r},Ff=Ua,Df=Ot("iterator"),Bf=Array.prototype,Mf=Wo,qf=He,Wf=re,Gf=Ua,zf=Ot("iterator"),Hf=function(e){if(!Wf(e))return qf(e,zf)||qf(e,"@@iterator")||Gf[Mf(e)]},$f=C,Vf=We,Kf=or,Yf=De,Jf=Hf,Qf=TypeError,Xf=function(e,t){var r=arguments.length<2?Jf(e):t;if(Vf(r))return Kf($f(r,e));throw new Qf(Yf(e)+" is not iterable")},Zf=yf,ep=C,tp=ct,rp=function(e,t,r,n){try{return n?t(Uf(r)[0],r[1]):t(r)}catch(t){Lf(e,"throw",t)}},np=function(e){return void 0!==e&&(Ff.Array===e||Bf[Df]===e)},op=ti,ip=Dn,ap=_o,sp=Xf,up=Hf,cp=Array,lp=$([].slice),fp=$,pp=2147483647,hp=/[^\0-\u007E]/,dp=/[.\u3002\uFF0E\uFF61]/g,yp="Overflow: input needs wider integers to process",mp=RangeError,gp=fp(dp.exec),vp=Math.floor,bp=String.fromCharCode,wp=fp("".charCodeAt),Sp=fp([].join),xp=fp([].push),Ep=fp("".replace),Ap=fp("".split),Rp=fp("".toLowerCase),Op=function(e){return e+22+75*(e<26)},Pp=function(e,t,r){var n=0;for(e=r?vp(e/700):e>>1,e+=vp(e/t);e>455;)e=vp(e/35),n+=36;return vp(n+36*e/(e+38))},kp=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=wp(e,r++);if(o>=55296&&o<=56319&&r<n){var i=wp(e,r++);56320==(64512&i)?xp(t,((1023&o)<<10)+(1023&i)+65536):(xp(t,o),r--)}else xp(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&&xp(t,bp(n));var u=t.length,c=u;for(u&&xp(t,"-");c<o;){var l=pp;for(r=0;r<e.length;r++)(n=e[r])>=i&&n<l&&(l=n);var f=c+1;if(l-i>vp((pp-a)/f))throw new mp(yp);for(a+=(l-i)*f,i=l,r=0;r<e.length;r++){if((n=e[r])<i&&++a>pp)throw new mp(yp);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;xp(t,bp(Op(d+y%m))),p=vp(y/m),h+=36}xp(t,bp(Op(p))),s=Pp(a,f,c===u),a=0,c++}}a++,i++}return Sp(t,"")},jp=TypeError,Tp=function(e,t){if(e<t)throw new jp("Not enough arguments");return e},Ip=Oo,Np=$,_p=_n,Cp=RangeError,Up=String.fromCharCode,Lp=String.fromCodePoint,Fp=Np([].join);Ip({target:"String",stat:!0,arity:1,forced:!!Lp&&1!==Lp.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,o=0;n>o;){if(t=+arguments[o++],_p(t,1114111)!==t)throw new Cp(t+" is not a valid code point");r[o]=t<65536?Up(t):Up(55296+((t-=65536)>>10),t%1024+56320)}return Fp(r,"")}});var Dp=P,Bp=T,Mp=Object.getOwnPropertyDescriptor,qp=An,Wp=lp,Gp=Math.floor,zp=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=Gp(r/2),s=zp(Wp(e,0,a),t),u=zp(Wp(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},Hp=Oo,$p=P,Vp=function(e){if(!Bp)return Dp[e];var t=Mp(Dp,e);return t&&t.value},Kp=ye,Yp=C,Jp=$,Qp=T,Xp=uf,Zp=An,eh=ji,th=function(e,t,r){for(var n in t)qp(e,n,t[n],r);return e},rh=ns,nh=ls,oh=Zr,ih=vf,ah=le,sh=pt,uh=yf,ch=Wo,lh=or,fh=pe,ph=nu,hh=Oa,dh=q,yh=Xf,mh=Hf,gh=Is,vh=Tp,bh=zp,wh=Ot("iterator"),Sh="URLSearchParams",xh=Sh+"Iterator",Eh=oh.set,Ah=oh.getterFor(Sh),Rh=oh.getterFor(xh),Oh=Vp("fetch"),Ph=Vp("Request"),kh=Vp("Headers"),jh=Ph&&Ph.prototype,Th=kh&&kh.prototype,Ih=$p.TypeError,Nh=$p.encodeURIComponent,_h=String.fromCharCode,Ch=Kp("String","fromCodePoint"),Uh=parseInt,Lh=Jp("".charAt),Fh=Jp([].join),Dh=Jp([].push),Bh=Jp("".replace),Mh=Jp([].shift),qh=Jp([].splice),Wh=Jp("".split),Gh=Jp("".slice),zh=Jp(/./.exec),Hh=/\+/g,$h=/^[0-9a-f]+$/i,Vh=function(e,t){var r=Gh(e,t,t+2);return zh($h,r)?Uh(r,16):NaN},Kh=function(e){for(var t=0,r=128;r>0&&0!==(e&r);r>>=1)t++;return t},Yh=function(e){var t=null;switch(e.length){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 t>1114111?null:t},Jh=function(e){for(var t=(e=Bh(e,Hh," ")).length,r="",n=0;n<t;){var o=Lh(e,n);if("%"===o){if("%"===Lh(e,n+1)||n+3>t){r+="%",n++;continue}var i=Vh(e,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=Kh(i);if(0===a)o=_h(i);else{if(1===a||a>4){r+="�",n++;continue}for(var s=[i],u=1;u<a&&!(++n+3>t||"%"!==Lh(e,n));){var c=Vh(e,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;Dh(s,c),n+=2,u++}if(s.length!==a){r+="�";continue}var l=Yh(s);null===l?r+="�":o=Ch(l)}}r+=o,n++}return r},Qh=/[!'()~]|%20/g,Xh={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Zh=function(e){return Xh[e]},ed=function(e){return Bh(Nh(e),Qh,Zh)},td=nh(function(e,t){Eh(this,{type:xh,target:Ah(e).entries,index:0,kind:t})},Sh,function(){var e=Rh(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,gh(void 0,!0);var n=t[r];switch(e.kind){case"keys":return gh(n.key,!1);case"values":return gh(n.value,!1)}return gh([n.key,n.value],!1)},!0),rd=function(e){this.entries=[],this.url=null,void 0!==e&&(fh(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Lh(e,0)?Gh(e,1):e:ph(e)))};rd.prototype={type:Sh,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,a,s,u=this.entries,c=mh(e);if(c)for(r=(t=yh(e,c)).next;!(n=Yp(r,t)).done;){if(i=(o=yh(lh(n.value))).next,(a=Yp(i,o)).done||(s=Yp(i,o)).done||!Yp(i,o).done)throw new Ih("Expected sequence with length 2");Dh(u,{key:ph(a.value),value:ph(s.value)})}else for(var l in e)sh(e,l)&&Dh(u,{key:l,value:ph(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,o=Wh(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(r=Wh(t,"="),Dh(n,{key:Jh(Mh(r)),value:Jh(Fh(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Dh(r,ed(e.key)+"="+ed(e.value));return Fh(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var nd=function(){ih(this,od);var e=Eh(this,new rd(arguments.length>0?arguments[0]:void 0));Qp||(this.size=e.entries.length)},od=nd.prototype;if(th(od,{append:function(e,t){var r=Ah(this);vh(arguments.length,2),Dh(r.entries,{key:ph(e),value:ph(t)}),Qp||this.length++,r.updateURL()},delete:function(e){for(var t=Ah(this),r=vh(arguments.length,1),n=t.entries,o=ph(e),i=r<2?void 0:arguments[1],a=void 0===i?i:ph(i),s=0;s<n.length;){var u=n[s];if(u.key!==o||void 0!==a&&u.value!==a)s++;else if(qh(n,s,1),void 0!==a)break}Qp||(this.size=n.length),t.updateURL()},get:function(e){var t=Ah(this).entries;vh(arguments.length,1);for(var r=ph(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=Ah(this).entries;vh(arguments.length,1);for(var r=ph(e),n=[],o=0;o<t.length;o++)t[o].key===r&&Dh(n,t[o].value);return n},has:function(e){for(var t=Ah(this).entries,r=vh(arguments.length,1),n=ph(e),o=r<2?void 0:arguments[1],i=void 0===o?o:ph(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=Ah(this);vh(arguments.length,1);for(var n,o=r.entries,i=!1,a=ph(e),s=ph(t),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?qh(o,u--,1):(i=!0,n.value=s));i||Dh(o,{key:a,value:s}),Qp||(this.size=o.length),r.updateURL()},sort:function(){var e=Ah(this);bh(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=Ah(this).entries,n=uh(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 td(this,"keys")},values:function(){return new td(this,"values")},entries:function(){return new td(this,"entries")}},{enumerable:!0}),Zp(od,wh,od.entries,{name:"entries"}),Zp(od,"toString",function(){return Ah(this).serialize()},{enumerable:!0}),Qp&&eh(od,"size",{get:function(){return Ah(this).entries.length},configurable:!0,enumerable:!0}),rh(nd,Sh),Hp({global:!0,constructor:!0,forced:!Xp},{URLSearchParams:nd}),!Xp&&ah(kh)){var id=Jp(Th.has),ad=Jp(Th.set),sd=function(e){if(fh(e)){var t,r=e.body;if(ch(r)===Sh)return t=e.headers?new kh(e.headers):new kh,id(t,"content-type")||ad(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),hh(e,{body:dh(0,ph(r)),headers:dh(0,t)})}return e};if(ah(Oh)&&Hp({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return Oh(e,arguments.length>1?sd(arguments[1]):{})}}),ah(Ph)){var ud=function(e){return ih(this,jh),new Ph(e,arguments.length>1?sd(arguments[1]):{})};jh.constructor=ud,ud.prototype=jh,Hp({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ud})}}var cd,ld=Oo,fd=T,pd=uf,hd=P,dd=yf,yd=$,md=An,gd=ji,vd=vf,bd=pt,wd=If,Sd=function(e){var t=tp(e),r=op(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Zf(o,n>2?arguments[2]:void 0));var a,s,u,c,l,f,p=up(t),h=0;if(!p||this===cp&&np(p))for(a=ip(t),s=r?new this(a):cp(a);a>h;h++)f=i?o(t[h],h):t[h],ap(s,h,f);else for(s=r?new this:[],l=(c=sp(t,p)).next;!(u=ep(l,c)).done;h++)f=i?rp(c,o,[u.value,h],!0):u.value,ap(s,h,f);return s.length=h,s},xd=lp,Ed=Ic.codeAt,Ad=function(e){var t,r,n=[],o=Ap(Ep(Rp(e),dp,"."),".");for(t=0;t<o.length;t++)r=o[t],xp(n,gp(hp,r)?"xn--"+kp(r):r);return Sp(n,".")},Rd=nu,Od=ns,Pd=Tp,kd={URLSearchParams:nd,getState:Ah},jd=Zr,Td=jd.set,Id=jd.getterFor("URL"),Nd=kd.URLSearchParams,_d=kd.getState,Cd=hd.URL,Ud=hd.TypeError,Ld=hd.parseInt,Fd=Math.floor,Dd=Math.pow,Bd=yd("".charAt),Md=yd(/./.exec),qd=yd([].join),Wd=yd(1.1.toString),Gd=yd([].pop),zd=yd([].push),Hd=yd("".replace),$d=yd([].shift),Vd=yd("".split),Kd=yd("".slice),Yd=yd("".toLowerCase),Jd=yd([].unshift),Qd="Invalid scheme",Xd="Invalid host",Zd="Invalid port",ey=/[a-z]/i,ty=/[\d+-.a-z]/i,ry=/\d/,ny=/^0x/i,oy=/^[0-7]+$/,iy=/^\d+$/,ay=/^[\da-f]+$/i,sy=/[\0\t\n\r #%/:<>?@[\\\]^|]/,uy=/[\0\t\n\r #/:<>?@[\\\]^|]/,cy=/^[\u0000-\u0020]+/,ly=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,fy=/[\t\n\r]/g,py=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)Jd(t,e%256),e=Fd(e/256);return qd(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+=Wd(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},hy={},dy=wd({},hy,{" ":1,'"':1,"<":1,">":1,"`":1}),yy=wd({},dy,{"#":1,"?":1,"{":1,"}":1}),my=wd({},yy,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),gy=function(e,t){var r=Ed(e,0);return r>32&&r<127&&!bd(t,e)?e:encodeURIComponent(e)},vy={ftp:21,file:null,http:80,https:443,ws:80,wss:443},by=function(e,t){var r;return 2===e.length&&Md(ey,Bd(e,0))&&(":"===(r=Bd(e,1))||!t&&"|"===r)},wy=function(e){var t;return e.length>1&&by(Kd(e,0,2))&&(2===e.length||"/"===(t=Bd(e,2))||"\\"===t||"?"===t||"#"===t)},Sy=function(e){return"."===e||"%2e"===Yd(e)},xy=function(e){return".."===(e=Yd(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},Ey={},Ay={},Ry={},Oy={},Py={},ky={},jy={},Ty={},Iy={},Ny={},_y={},Cy={},Uy={},Ly={},Fy={},Dy={},By={},My={},qy={},Wy={},Gy={},zy=function(e,t,r){var n,o,i,a=Rd(e);if(t){if(o=this.parse(a))throw new Ud(o);this.searchParams=null}else{if(void 0!==r&&(n=new zy(r,!0)),o=this.parse(a,null,n))throw new Ud(o);(i=_d(new Nd)).bindURL(this),this.searchParams=i}};zy.prototype={type:"URL",parse:function(e,t,r){var n,o,i,a,s=this,u=t||Ey,c=0,l="",f=!1,p=!1,h=!1;for(e=Rd(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=Hd(e,cy,""),e=Hd(e,ly,"$1")),e=Hd(e,fy,""),n=Sd(e);c<=n.length;){switch(o=n[c],u){case Ey:if(!o||!Md(ey,o)){if(t)return Qd;u=Ry;continue}l+=Yd(o),u=Ay;break;case Ay:if(o&&(Md(ty,o)||"+"===o||"-"===o||"."===o))l+=Yd(o);else{if(":"!==o){if(t)return Qd;l="",u=Ry,c=0;continue}if(t&&(s.isSpecial()!==bd(vy,l)||"file"===l&&(s.includesCredentials()||null!==s.port)||"file"===s.scheme&&!s.host))return;if(s.scheme=l,t)return void(s.isSpecial()&&vy[s.scheme]===s.port&&(s.port=null));l="","file"===s.scheme?u=Ly:s.isSpecial()&&r&&r.scheme===s.scheme?u=Oy:s.isSpecial()?u=Ty:"/"===n[c+1]?(u=Py,c++):(s.cannotBeABaseURL=!0,zd(s.path,""),u=qy)}break;case Ry:if(!r||r.cannotBeABaseURL&&"#"!==o)return Qd;if(r.cannotBeABaseURL&&"#"===o){s.scheme=r.scheme,s.path=xd(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,u=Gy;break}u="file"===r.scheme?Ly:ky;continue;case Oy:if("/"!==o||"/"!==n[c+1]){u=ky;continue}u=Iy,c++;break;case Py:if("/"===o){u=Ny;break}u=My;continue;case ky:if(s.scheme=r.scheme,o===cd)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=xd(r.path),s.query=r.query;else if("/"===o||"\\"===o&&s.isSpecial())u=jy;else if("?"===o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=xd(r.path),s.query="",u=Wy;else{if("#"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=xd(r.path),s.path.length--,u=My;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=xd(r.path),s.query=r.query,s.fragment="",u=Gy}break;case jy:if(!s.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,u=My;continue}u=Ny}else u=Iy;break;case Ty:if(u=Iy,"/"!==o||"/"!==Bd(l,c+1))continue;c++;break;case Iy:if("/"!==o&&"\\"!==o){u=Ny;continue}break;case Ny:if("@"===o){f&&(l="%40"+l),f=!0,i=Sd(l);for(var d=0;d<i.length;d++){var y=i[d];if(":"!==y||h){var m=gy(y,my);h?s.password+=m:s.username+=m}else h=!0}l=""}else if(o===cd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(f&&""===l)return"Invalid authority";c-=Sd(l).length+1,l="",u=_y}else l+=o;break;case _y:case Cy:if(t&&"file"===s.scheme){u=Dy;continue}if(":"!==o||p){if(o===cd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(s.isSpecial()&&""===l)return Xd;if(t&&""===l&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(l))return a;if(l="",u=By,t)return;continue}"["===o?p=!0:"]"===o&&(p=!1),l+=o}else{if(""===l)return Xd;if(a=s.parseHost(l))return a;if(l="",u=Uy,t===Cy)return}break;case Uy:if(!Md(ry,o)){if(o===cd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()||t){if(""!==l){var g=Ld(l,10);if(g>65535)return Zd;s.port=s.isSpecial()&&g===vy[s.scheme]?null:g,l=""}if(t)return;u=By;continue}return Zd}l+=o;break;case Ly:if(s.scheme="file","/"===o||"\\"===o)u=Fy;else{if(!r||"file"!==r.scheme){u=My;continue}switch(o){case cd:s.host=r.host,s.path=xd(r.path),s.query=r.query;break;case"?":s.host=r.host,s.path=xd(r.path),s.query="",u=Wy;break;case"#":s.host=r.host,s.path=xd(r.path),s.query=r.query,s.fragment="",u=Gy;break;default:wy(qd(xd(n,c),""))||(s.host=r.host,s.path=xd(r.path),s.shortenPath()),u=My;continue}}break;case Fy:if("/"===o||"\\"===o){u=Dy;break}r&&"file"===r.scheme&&!wy(qd(xd(n,c),""))&&(by(r.path[0],!0)?zd(s.path,r.path[0]):s.host=r.host),u=My;continue;case Dy:if(o===cd||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&by(l))u=My;else if(""===l){if(s.host="",t)return;u=By}else{if(a=s.parseHost(l))return a;if("localhost"===s.host&&(s.host=""),t)return;l="",u=By}continue}l+=o;break;case By:if(s.isSpecial()){if(u=My,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==cd&&(u=My,"/"!==o))continue}else s.fragment="",u=Gy;else s.query="",u=Wy;break;case My:if(o===cd||"/"===o||"\\"===o&&s.isSpecial()||!t&&("?"===o||"#"===o)){if(xy(l)?(s.shortenPath(),"/"===o||"\\"===o&&s.isSpecial()||zd(s.path,"")):Sy(l)?"/"===o||"\\"===o&&s.isSpecial()||zd(s.path,""):("file"===s.scheme&&!s.path.length&&by(l)&&(s.host&&(s.host=""),l=Bd(l,0)+":"),zd(s.path,l)),l="","file"===s.scheme&&(o===cd||"?"===o||"#"===o))for(;s.path.length>1&&""===s.path[0];)$d(s.path);"?"===o?(s.query="",u=Wy):"#"===o&&(s.fragment="",u=Gy)}else l+=gy(o,yy);break;case qy:"?"===o?(s.query="",u=Wy):"#"===o?(s.fragment="",u=Gy):o!==cd&&(s.path[0]+=gy(o,hy));break;case Wy:t||"#"!==o?o!==cd&&("'"===o&&s.isSpecial()?s.query+="%27":s.query+="#"===o?"%23":gy(o,hy)):(s.fragment="",u=Gy);break;case Gy:o!==cd&&(s.fragment+=gy(o,dy))}c++}},parseHost:function(e){var t,r,n;if("["===Bd(e,0)){if("]"!==Bd(e,e.length-1))return Xd;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 Bd(e,f)};if(":"===p()){if(":"!==Bd(e,1))return;f+=2,l=++c}for(;p();){if(8===c)return;if(":"!==p()){for(t=r=0;r<4&&Md(ay,p());)t=16*t+Ld(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(!Md(ry,p()))return;for(;Md(ry,p());){if(i=Ld(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}(Kd(e,1,-1)),!t)return Xd;this.host=t}else if(this.isSpecial()){if(e=Ad(e),Md(sy,e))return Xd;if(t=function(e){var t,r,n,o,i,a,s,u=Vd(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(o=u[n]))return e;if(i=10,o.length>1&&"0"===Bd(o,0)&&(i=Md(ny,o)?16:8,o=Kd(o,8===i?1:2)),""===o)a=0;else{if(!Md(10===i?iy:8===i?oy:ay,o))return e;a=Ld(o,i)}zd(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=Dd(256,5-t))return null}else if(a>255)return null;for(s=Gd(r),n=0;n<r.length;n++)s+=r[n]*Dd(256,3-n);return s}(e),null===t)return Xd;this.host=t}else{if(Md(uy,e))return Xd;for(t="",r=Sd(e),n=0;n<r.length;n++)t+=gy(r[n],hy);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return bd(vy,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&by(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+=py(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+qd(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw new Ud(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Hy(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+py(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Rd(e)+":",Ey)},getUsername:function(){return this.username},setUsername:function(e){var t=Sd(Rd(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=gy(t[r],my)}},getPassword:function(){return this.password},setPassword:function(e){var t=Sd(Rd(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=gy(t[r],my)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?py(e):py(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,_y)},getHostname:function(){var e=this.host;return null===e?"":py(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Cy)},getPort:function(){var e=this.port;return null===e?"":Rd(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=Rd(e))?this.port=null:this.parse(e,Uy))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+qd(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,By))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=Rd(e))?this.query=null:("?"===Bd(e,0)&&(e=Kd(e,1)),this.query="",this.parse(e,Wy)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=Rd(e))?("#"===Bd(e,0)&&(e=Kd(e,1)),this.fragment="",this.parse(e,Gy)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Hy=function(e){var t=vd(this,$y),r=Pd(arguments.length,1)>1?arguments[1]:void 0,n=Td(t,new zy(e,!1,r));fd||(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())},$y=Hy.prototype,Vy=function(e,t){return{get:function(){return Id(this)[e]()},set:t&&function(e){return Id(this)[t](e)},configurable:!0,enumerable:!0}};if(fd&&(gd($y,"href",Vy("serialize","setHref")),gd($y,"origin",Vy("getOrigin")),gd($y,"protocol",Vy("getProtocol","setProtocol")),gd($y,"username",Vy("getUsername","setUsername")),gd($y,"password",Vy("getPassword","setPassword")),gd($y,"host",Vy("getHost","setHost")),gd($y,"hostname",Vy("getHostname","setHostname")),gd($y,"port",Vy("getPort","setPort")),gd($y,"pathname",Vy("getPathname","setPathname")),gd($y,"search",Vy("getSearch","setSearch")),gd($y,"searchParams",Vy("getSearchParams")),gd($y,"hash",Vy("getHash","setHash"))),md($y,"toJSON",function(){return Id(this).serialize()},{enumerable:!0}),md($y,"toString",function(){return Id(this).serialize()},{enumerable:!0}),Cd){var Ky=Cd.createObjectURL,Yy=Cd.revokeObjectURL;Ky&&md(Hy,"createObjectURL",dd(Ky,Cd)),Yy&&md(Hy,"revokeObjectURL",dd(Yy,Cd))}Od(Hy,"URL"),ld({global:!0,constructor:!0,forced:!pd,sham:!fd},{URL:Hy});var Jy=C;Oo({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return Jy(URL.prototype.toString,this)}});var Qy=yf,Xy=te,Zy=ct,em=Dn,tm=ui,rm=$([].push),nm=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,f){for(var p,h,d=Zy(u),y=Xy(d),m=em(y),g=Qy(c,l),v=0,b=f||tm,w=t?b(u,m):r||a?b(u,0):void 0;m>v;v++)if((s||v in y)&&(h=g(p=y[v],v,d),e))if(t)w[v]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return v;case 2:rm(w,p)}else switch(e){case 4:return!1;case 7:rm(w,p)}return i?-1:n||o?o:w}},om={forEach:nm(0),map:nm(1),every:nm(4)},im=om.map;Oo({target:"Array",proto:!0,forced:!pi("map")},{map:function(e){return im(this,e,arguments.length>1?arguments[1]:void 0)}});var am=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")},sm=function(){return u(function e(t,r){a(this,e),this.client=t,this.guestSpaceId=r},[{key:"buildPathWithGuestSpaceId",value:function(e){return am(d(d({},e),{},{guestSpaceId:this.guestSpaceId}))}},{key:"buildPath",value:function(e){return am(e)}}])}(),um=["endpointName"],cm=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,um);return d({api:t.buildPathWithGuestSpaceId({endpointName:r})},n)}return e}),n=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(n,{requests:r})}}])}(sm),lm=["preview"],fm=["preview"],pm=["preview"],hm=["preview"],dm=["preview"],ym=["preview"],mm=["preview"],gm=["preview"],vm=["preview"],bm=["preview"],wm=["preview"],Sm=["preview"],xm=["preview"],Em=["preview"],Am=["preview"],Rm=["preview"],Om=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,lm),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,fm),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,hm),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,dm),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,ym),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,mm),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,gm),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,vm),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,bm),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,wm),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,Sm),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,xm),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,Em),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,Am),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,Rm),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}(sm),Pm=j,km=function(e,t){var r=[][e];return!!r&&Pm(function(){r.call(null,t||function(){return 1},1)})},jm=om.every;Oo({target:"Array",proto:!0,forced:!km("every")},{every:function(e){return jm(this,e,arguments.length>1?arguments[1]:void 0)}});var Tm=Oo,Im=Wn.indexOf,Nm=km,_m=ff([].indexOf),Cm=!!_m&&1/_m([1],1,-0)<0;Tm({target:"Array",proto:!0,forced:Cm||!Nm("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Cm?_m(this,e,t)||0:Im(this,e,t)}}),Oo({target:"Array",stat:!0},{isArray:ko});var Um,Lm=We,Fm=ct,Dm=te,Bm=Dn,Mm=TypeError,qm="Reduce of empty array with no initial value",Wm={left:(Um=!1,function(e,t,r,n){var o=Fm(e),i=Dm(o),a=Bm(o);if(Lm(t),0===a&&r<2)throw new Mm(qm);var s=Um?a-1:0,u=Um?-1:1;if(r<2)for(;;){if(s in i){n=i[s],s+=u;break}if(s+=u,Um?s<0:a<=s)throw new Mm(qm)}for(;Um?s>=0:a>s;s+=u)s in i&&(n=t(n,i[s],s,o));return n})},Gm=P,zm=be,Hm=J,$m=function(e){return zm.slice(0,e.length)===e},Vm=$m("Bun/")?"BUN":$m("Cloudflare-Workers")?"CLOUDFLARE":$m("Deno/")?"DENO":$m("Node.js/")?"NODE":Gm.Bun&&"string"==typeof Bun.version?"BUN":Gm.Deno&&"object"==typeof Deno.version?"DENO":"process"===Hm(Gm.process)?"NODE":Gm.window&&Gm.document?"BROWSER":"REST",Km=Wm.left;Oo({target:"Array",proto:!0,forced:!("NODE"===Vm)&&Oe>79&&Oe<83||!km("reduce")},{reduce:function(e){var t=arguments.length;return Km(this,e,t,t>1?arguments[1]:void 0)}});var Ym=Oo,Jm=ko,Qm=ti,Xm=pe,Zm=_n,eg=Dn,tg=ue,rg=_o,ng=Ot,og=lp,ig=pi("slice"),ag=ng("species"),sg=Array,ug=Math.max;Ym({target:"Array",proto:!0,forced:!ig},{slice:function(e,t){var r,n,o,i=tg(this),a=eg(i),s=Zm(e,a),u=Zm(void 0===t?a:t,a);if(Jm(i)&&(r=i.constructor,(Qm(r)&&(r===sg||Jm(r.prototype))||Xm(r)&&null===(r=r[ag]))&&(r=void 0),r===sg||void 0===r))return og(i,s,u);for(n=new(void 0===r?sg:r)(ug(u-s,0)),o=0;s<u;s++,o++)s in i&&rg(n,o,i[s]);return n.length=o,n}});var cg=P,lg=le,fg=pe,pg=Ki,hg=$(1.1.valueOf),dg=Oo,yg=T,mg=P,gg=cg,vg=$,bg=vo,wg=pt,Sg=function(e,t,r){var n,o;return pg&&lg(n=t.constructor)&&n!==r&&fg(o=n.prototype)&&o!==r.prototype&&pg(e,o),e},xg=me,Eg=Le,Ag=Ct,Rg=j,Og=Rn.f,Pg=k.f,kg=Zt.f,jg=hg,Tg=fu.trim,Ig="Number",Ng=mg[Ig];gg[Ig];var _g=Ng.prototype,Cg=mg.TypeError,Ug=vg("".slice),Lg=vg("".charCodeAt),Fg=function(e){var t,r,n,o,i,a,s,u,c=Ag(e,"number");if(Eg(c))throw new Cg("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=Tg(c),43===(t=Lg(c,0))||45===t){if(88===(r=Lg(c,2))||120===r)return NaN}else if(48===t){switch(Lg(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=Ug(c,2)).length,s=0;s<a;s++)if((u=Lg(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},Dg=bg(Ig,!Ng(" 0o1")||!Ng("0b1")||Ng("+0x1")),Bg=function(e){var t,r=arguments.length<1?0:Ng(function(e){var t=Ag(e,"number");return"bigint"==typeof t?t:Fg(t)}(e));return xg(_g,t=this)&&Rg(function(){jg(t)})?Sg(Object(r),this,Bg):r};Bg.prototype=_g,Dg&&(_g.constructor=Bg),dg({global:!0,constructor:!0,wrap:!0,forced:Dg},{Number:Bg});Dg&&function(e,t){for(var r,n=yg?Og(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++)wg(t,r=n[o])&&!wg(e,r)&&kg(e,r,Pg(t,r))}(gg[Ig],Ng);var Mg=If;Oo({target:"Object",stat:!0,arity:2,forced:Object.assign!==Mg},{assign:Mg});var qg=C,Wg=Zc,Gg=or,zg=pe,Hg=Ln,$g=nu,Vg=ie,Kg=He,Yg=tl,Jg=fc,Qg=ml,Xg=$("".indexOf);Wg("match",function(e,t,r){return[function(t){var r=Vg(this),n=zg(t)?Kg(t,e):void 0;return n?qg(n,t,r):new RegExp(t)[e]($g(r))},function(e){var n=Gg(this),o=$g(e),i=r(t,n,o);if(i.done)return i.value;var a=$g(Jg(n));if(-1===Xg(a,"g"))return Qg(n,o);var s=-1!==Xg(a,"u");n.lastIndex=0;for(var u,c=[],l=0;null!==(u=Qg(n,o));){var f=$g(u[0]);c[l]=f,""===f&&(n.lastIndex=Yg(o,Hg(n.lastIndex),s)),l++}return 0===l?null:c}]});var Zg=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)}(x(Error)),ev=om.forEach,tv=km("forEach")?[].forEach:function(e){return ev(this,e,arguments.length>1?arguments[1]:void 0)};Oo({target:"Array",proto:!0,forced:[].forEach!==tv},{forEach:tv});var rv=ct,nv=oa;Oo({target:"Object",stat:!0,forced:j(function(){nv(1)})},{keys:function(e){return nv(rv(e))}});var ov=P,iv=zl,av=Vl,sv=tv,uv=vr,cv=function(e){if(e&&e.forEach!==sv)try{uv(e,"forEach",sv)}catch(t){e.forEach=sv}};for(var lv in iv)iv[lv]&&cv(ov[lv]&&ov[lv].prototype);cv(av);var fv=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")}}])}(x(Error)),pv=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}}}])}(x(Error)),hv=["condition","orderBy","withCursor"],dv=["fields","condition"],yv=["condition","orderBy"],mv=500,gv=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:(E=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,hv),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 E.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(x=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,dv),(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(mv),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<mv)){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 x.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,yv),i=r?"".concat(r," "):"",a=[],s=0;case 1:return u="".concat(i).concat(n?"order by ".concat(n," "):"","limit ").concat(mv," 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<mv)){e.n=3;break}return e.a(3,4);case 3:s+=mv,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:mv}),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 fv({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 fv({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 fv({},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,x,E,A,R,O}(sm),vv=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)}}])}(sm),bv=A("object"==typeof self?self.FormData:window.FormData),wv=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 bv,!("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 Yi)){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}(sm),Sv=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)}}])}(sm),xv="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Ev(){throw new Error("setTimeout has not been defined")}function Av(){throw new Error("clearTimeout has not been defined")}var Rv=Ev,Ov=Av;function Pv(e){if(Rv===setTimeout)return setTimeout(e,0);if((Rv===Ev||!Rv)&&setTimeout)return Rv=setTimeout,setTimeout(e,0);try{return Rv(e,0)}catch(t){try{return Rv.call(null,e,0)}catch(t){return Rv.call(this,e,0)}}}"function"==typeof xv.setTimeout&&(Rv=setTimeout),"function"==typeof xv.clearTimeout&&(Ov=clearTimeout);var kv,jv=[],Tv=!1,Iv=-1;function Nv(){Tv&&kv&&(Tv=!1,kv.length?jv=kv.concat(jv):Iv=-1,jv.length&&_v())}function _v(){if(!Tv){var e=Pv(Nv);Tv=!0;for(var t=jv.length;t;){for(kv=jv,jv=[];++Iv<t;)kv&&kv[Iv].run();Iv=-1,t=jv.length}kv=null,Tv=!1,function(e){if(Ov===clearTimeout)return clearTimeout(e);if((Ov===Av||!Ov)&&clearTimeout)return Ov=clearTimeout,clearTimeout(e);try{return Ov(e)}catch(t){try{return Ov.call(null,e)}catch(t){return Ov.call(this,e)}}}(e)}}function Cv(e,t){this.fun=e,this.array=t}Cv.prototype.run=function(){this.fun.apply(null,this.array)};var Uv=xv.performance||{};Uv.now||Uv.mozNow||Uv.msNow||Uv.oNow||Uv.webkitNow;function Lv(e,t){return function(){return e.apply(t,arguments)}}const{toString:Fv}=Object.prototype,{getPrototypeOf:Dv}=Object,{iterator:Bv,toStringTag:Mv}=Symbol,qv=(Wv=Object.create(null),e=>{const t=Fv.call(e);return Wv[t]||(Wv[t]=t.slice(8,-1).toLowerCase())});var Wv;const Gv=e=>(e=e.toLowerCase(),t=>qv(t)===e),zv=e=>t=>typeof t===e,{isArray:Hv}=Array,$v=zv("undefined");function Vv(e){return null!==e&&!$v(e)&&null!==e.constructor&&!$v(e.constructor)&&Jv(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Kv=Gv("ArrayBuffer");const Yv=zv("string"),Jv=zv("function"),Qv=zv("number"),Xv=e=>null!==e&&"object"==typeof e,Zv=e=>{if("object"!==qv(e))return!1;const t=Dv(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Mv in e||Bv in e)},eb=Gv("Date"),tb=Gv("File"),rb=Gv("Blob"),nb=Gv("FileList"),ob=Gv("URLSearchParams"),[ib,ab,sb,ub]=["ReadableStream","Request","Response","Headers"].map(Gv);function cb(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]),Hv(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{if(Vv(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 lb(e,t){if(Vv(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 fb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:xv,pb=e=>!$v(e)&&e!==fb;const hb=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&Dv(Uint8Array)),db=Gv("HTMLFormElement"),yb=(e=>{let{hasOwnProperty:t}=e;return(e,r)=>t.call(e,r)})(Object.prototype),mb=Gv("RegExp"),gb=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};cb(r,(r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)}),Object.defineProperties(e,n)};const vb=Gv("AsyncFunction"),bb=(wb="function"==typeof setImmediate,Sb=Jv(fb.postMessage),wb?setImmediate:Sb?(xb=`axios@${Math.random()}`,Eb=[],fb.addEventListener("message",e=>{let{source:t,data:r}=e;t===fb&&r===xb&&Eb.length&&Eb.shift()()},!1),e=>{Eb.push(e),fb.postMessage(xb,"*")}):e=>setTimeout(e));var wb,Sb,xb,Eb;const Ab="undefined"!=typeof queueMicrotask?queueMicrotask.bind(fb):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];jv.push(new Cv(e,t)),1!==jv.length||Tv||Pv(_v)}||bb;var Rb={isArray:Hv,isArrayBuffer:Kv,isBuffer:Vv,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Jv(e.append)&&("formdata"===(t=qv(e))||"object"===t&&Jv(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Kv(e.buffer),t},isString:Yv,isNumber:Qv,isBoolean:e=>!0===e||!1===e,isObject:Xv,isPlainObject:Zv,isEmptyObject:e=>{if(!Xv(e)||Vv(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:ib,isRequest:ab,isResponse:sb,isHeaders:ub,isUndefined:$v,isDate:eb,isFile:tb,isBlob:rb,isRegExp:mb,isFunction:Jv,isStream:e=>Xv(e)&&Jv(e.pipe),isURLSearchParams:ob,isTypedArray:hb,isFileList:nb,forEach:cb,merge:function e(){const{caseless:t,skipUndefined:r}=pb(this)&&this||{},n={},o=(o,i)=>{const a=t&&lb(n,i)||i;Zv(n[a])&&Zv(o)?n[a]=e(n[a],o):Zv(o)?n[a]=e({},o):Hv(o)?n[a]=o.slice():r&&$v(o)||(n[a]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&cb(arguments[e],o);return n},extend:function(e,t,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return cb(t,(t,n)=>{r&&Jv(t)?e[n]=Lv(t,r):e[n]=t},{allOwnKeys:n}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,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&&Dv(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:qv,kindOfTest:Gv,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(Hv(e))return e;let t=e.length;if(!Qv(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Bv]).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:db,hasOwnProperty:yb,hasOwnProp:yb,reduceDescriptors:gb,freezeMethods:e=>{gb(e,(t,r)=>{if(Jv(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];Jv(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 Hv(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:lb,global:fb,isContextDefined:pb,isSpecCompliantForm:function(e){return!!(e&&Jv(e.append)&&"FormData"===e[Mv]&&e[Bv])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(Xv(e)){if(t.indexOf(e)>=0)return;if(Vv(e))return e;if(!("toJSON"in e)){t[n]=e;const o=Hv(e)?[]:{};return cb(e,(e,t)=>{const i=r(e,n+1);!$v(i)&&(o[t]=i)}),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:vb,isThenable:e=>e&&(Xv(e)||Jv(e))&&Jv(e.then)&&Jv(e.catch),setImmediate:bb,asap:Ab,isIterable:e=>null!=e&&Jv(e[Bv])},Ob=[],Pb=[],kb="undefined"!=typeof Uint8Array?Uint8Array:Array,jb=!1;function Tb(){jb=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Ob[t]=e[t],Pb[e.charCodeAt(t)]=t;Pb["-".charCodeAt(0)]=62,Pb["_".charCodeAt(0)]=63}function Ib(e){return Ob[e>>18&63]+Ob[e>>12&63]+Ob[e>>6&63]+Ob[63&e]}function Nb(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(Ib(n));return o.join("")}function _b(e){var t;jb||Tb();for(var r=e.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(Nb(e,s,s+a>u?u:s+a));return 1===n?(t=e[r-1],o+=Ob[t>>2],o+=Ob[t<<4&63],o+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],o+=Ob[t>>10],o+=Ob[t>>4&63],o+=Ob[t<<2&63],o+="="),i.push(o),i.join("")}function Cb(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 Ub(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 Lb={}.toString,Fb=Array.isArray||function(e){return"[object Array]"==Lb.call(e)};function Db(){return Mb.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Bb(e,t){if(Db()<t)throw new RangeError("Invalid typed array length");return Mb.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Mb.prototype:(null===e&&(e=new Mb(t)),e.length=t),e}function Mb(e,t,r){if(!(Mb.TYPED_ARRAY_SUPPORT||this instanceof Mb))return new Mb(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 Gb(this,e)}return qb(this,e,t,r)}function qb(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);Mb.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Mb.prototype:e=zb(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!Mb.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Vb(t,r);e=Bb(e,n);var o=e.write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if($b(t)){var r=0|Hb(t.length);return 0===(e=Bb(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?Bb(e,0):zb(e,t);if("Buffer"===t.type&&Fb(t.data))return zb(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Wb(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 Gb(e,t){if(Wb(t),e=Bb(e,t<0?0:0|Hb(t)),!Mb.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function zb(e,t){var r=t.length<0?0:0|Hb(t.length);e=Bb(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function Hb(e){if(e>=Db())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Db().toString(16)+" bytes");return 0|e}function $b(e){return!(null==e||!e._isBuffer)}function Vb(e,t){if($b(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 ww(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Sw(e).length;default:if(n)return ww(e).length;t=(""+t).toLowerCase(),n=!0}}function Kb(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 cw(this,t,r);case"utf8":case"utf-8":return iw(this,t,r);case"ascii":return sw(this,t,r);case"latin1":case"binary":return uw(this,t,r);case"base64":return ow(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lw(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function Yb(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function Jb(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=Mb.from(t,n)),$b(t))return 0===t.length?-1:Qb(e,t,r,n,o);if("number"==typeof t)return t&=255,Mb.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Qb(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Qb(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 Xb(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 Zb(e,t,r,n){return xw(ww(t,e.length-r),e,r,n)}function ew(e,t,r,n){return xw(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function tw(e,t,r,n){return ew(e,t,r,n)}function rw(e,t,r,n){return xw(Sw(t),e,r,n)}function nw(e,t,r,n){return xw(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 ow(e,t,r){return 0===t&&r===e.length?_b(e):_b(e.slice(t,r))}function iw(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<=aw)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=aw));return r}(n)}Mb.TYPED_ARRAY_SUPPORT=void 0===xv.TYPED_ARRAY_SUPPORT||xv.TYPED_ARRAY_SUPPORT,Db(),Mb.poolSize=8192,Mb._augment=function(e){return e.__proto__=Mb.prototype,e},Mb.from=function(e,t,r){return qb(null,e,t,r)},Mb.TYPED_ARRAY_SUPPORT&&(Mb.prototype.__proto__=Uint8Array.prototype,Mb.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Mb[Symbol.species]),Mb.alloc=function(e,t,r){return function(e,t,r,n){return Wb(t),t<=0?Bb(e,t):void 0!==r?"string"==typeof n?Bb(e,t).fill(r,n):Bb(e,t).fill(r):Bb(e,t)}(null,e,t,r)},Mb.allocUnsafe=function(e){return Gb(null,e)},Mb.allocUnsafeSlow=function(e){return Gb(null,e)},Mb.isBuffer=function(e){return null!=e&&(!!e._isBuffer||Ew(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Ew(e.slice(0,0))}(e))},Mb.compare=function(e,t){if(!$b(e)||!$b(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},Mb.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}},Mb.concat=function(e,t){if(!Fb(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Mb.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=Mb.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!$b(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},Mb.byteLength=Vb,Mb.prototype._isBuffer=!0,Mb.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)Yb(this,t,t+1);return this},Mb.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)Yb(this,t,t+3),Yb(this,t+1,t+2);return this},Mb.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)Yb(this,t,t+7),Yb(this,t+1,t+6),Yb(this,t+2,t+5),Yb(this,t+3,t+4);return this},Mb.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?iw(this,0,e):Kb.apply(this,arguments)},Mb.prototype.equals=function(e){if(!$b(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Mb.compare(this,e)},Mb.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+">"},Mb.prototype.compare=function(e,t,r,n,o){if(!$b(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},Mb.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},Mb.prototype.indexOf=function(e,t,r){return Jb(this,e,t,r,!0)},Mb.prototype.lastIndexOf=function(e,t,r){return Jb(this,e,t,r,!1)},Mb.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 Xb(this,e,t,r);case"utf8":case"utf-8":return Zb(this,e,t,r);case"ascii":return ew(this,e,t,r);case"latin1":case"binary":return tw(this,e,t,r);case"base64":return rw(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nw(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},Mb.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var aw=4096;function sw(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 uw(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 cw(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+=bw(e[i]);return o}function lw(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 fw(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 pw(e,t,r,n,o,i){if(!$b(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 hw(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 dw(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 yw(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 mw(e,t,r,n,o){return o||yw(e,0,r,4),Ub(e,t,r,n,23,4),r+4}function gw(e,t,r,n,o){return o||yw(e,0,r,8),Ub(e,t,r,n,52,8),r+8}Mb.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),Mb.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=Mb.prototype;else{var o=t-e;r=new Mb(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},Mb.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||fw(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},Mb.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||fw(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},Mb.prototype.readUInt8=function(e,t){return t||fw(e,1,this.length),this[e]},Mb.prototype.readUInt16LE=function(e,t){return t||fw(e,2,this.length),this[e]|this[e+1]<<8},Mb.prototype.readUInt16BE=function(e,t){return t||fw(e,2,this.length),this[e]<<8|this[e+1]},Mb.prototype.readUInt32LE=function(e,t){return t||fw(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Mb.prototype.readUInt32BE=function(e,t){return t||fw(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Mb.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||fw(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},Mb.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||fw(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},Mb.prototype.readInt8=function(e,t){return t||fw(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Mb.prototype.readInt16LE=function(e,t){t||fw(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Mb.prototype.readInt16BE=function(e,t){t||fw(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Mb.prototype.readInt32LE=function(e,t){return t||fw(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Mb.prototype.readInt32BE=function(e,t){return t||fw(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Mb.prototype.readFloatLE=function(e,t){return t||fw(e,4,this.length),Cb(this,e,!0,23,4)},Mb.prototype.readFloatBE=function(e,t){return t||fw(e,4,this.length),Cb(this,e,!1,23,4)},Mb.prototype.readDoubleLE=function(e,t){return t||fw(e,8,this.length),Cb(this,e,!0,52,8)},Mb.prototype.readDoubleBE=function(e,t){return t||fw(e,8,this.length),Cb(this,e,!1,52,8)},Mb.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||pw(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},Mb.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||pw(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},Mb.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,1,255,0),Mb.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Mb.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,2,65535,0),Mb.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):hw(this,e,t,!0),t+2},Mb.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,2,65535,0),Mb.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):hw(this,e,t,!1),t+2},Mb.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,4,4294967295,0),Mb.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):dw(this,e,t,!0),t+4},Mb.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,4,4294967295,0),Mb.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):dw(this,e,t,!1),t+4},Mb.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);pw(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},Mb.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);pw(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},Mb.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,1,127,-128),Mb.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Mb.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,2,32767,-32768),Mb.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):hw(this,e,t,!0),t+2},Mb.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,2,32767,-32768),Mb.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):hw(this,e,t,!1),t+2},Mb.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,4,2147483647,-2147483648),Mb.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):dw(this,e,t,!0),t+4},Mb.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Mb.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):dw(this,e,t,!1),t+4},Mb.prototype.writeFloatLE=function(e,t,r){return mw(this,e,t,!0,r)},Mb.prototype.writeFloatBE=function(e,t,r){return mw(this,e,t,!1,r)},Mb.prototype.writeDoubleLE=function(e,t,r){return gw(this,e,t,!0,r)},Mb.prototype.writeDoubleBE=function(e,t,r){return gw(this,e,t,!1,r)},Mb.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||!Mb.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},Mb.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&&!Mb.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=$b(e)?e:ww(new Mb(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var vw=/[^+\/0-9A-Za-z-_]/g;function bw(e){return e<16?"0"+e.toString(16):e.toString(16)}function ww(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 Sw(e){return function(e){var t,r,n,o,i,a;jb||Tb();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 kb(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=Pb[e.charCodeAt(t)]<<18|Pb[e.charCodeAt(t+1)]<<12|Pb[e.charCodeAt(t+2)]<<6|Pb[e.charCodeAt(t+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=Pb[e.charCodeAt(t)]<<2|Pb[e.charCodeAt(t+1)]>>4,a[u++]=255&o):1===i&&(o=Pb[e.charCodeAt(t)]<<10|Pb[e.charCodeAt(t+1)]<<4|Pb[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(vw,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function xw(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 Ew(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function Aw(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}Rb.inherits(Aw,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Rb.toJSONObject(this.config),code:this.code,status:this.status}}});const Rw=Aw.prototype,Ow={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ow[e]={value:e}}),Object.defineProperties(Aw,Ow),Object.defineProperty(Rw,"isAxiosError",{value:!0}),Aw.from=(e,t,r,n,o,i)=>{const a=Object.create(Rw);Rb.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);const s=e&&e.message?e.message:"Error",u=null==t&&e?e.code:t;return Aw.call(a,s,u,r,n,o),e&&null==a.cause&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",i&&Object.assign(a,i),a};function Pw(e){return Rb.isPlainObject(e)||Rb.isArray(e)}function kw(e){return Rb.endsWith(e,"[]")?e.slice(0,-2):e}function jw(e,t,r){return e?e.concat(t).map(function(e,t){return e=kw(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}const Tw=Rb.toFlatObject(Rb,{},null,function(e){return/^is[A-Z]/.test(e)});function Iw(e,t,r){if(!Rb.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=Rb.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Rb.isUndefined(t[e])})).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Rb.isSpecCompliantForm(t);if(!Rb.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(Rb.isDate(e))return e.toISOString();if(Rb.isBoolean(e))return e.toString();if(!s&&Rb.isBlob(e))throw new Aw("Blob is not supported. Use a Buffer instead.");return Rb.isArrayBuffer(e)||Rb.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Mb.from(e):e}function c(e,r,o){let s=e;if(e&&!o&&"object"==typeof e)if(Rb.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(Rb.isArray(e)&&function(e){return Rb.isArray(e)&&!e.some(Pw)}(e)||(Rb.isFileList(e)||Rb.endsWith(r,"[]"))&&(s=Rb.toArray(e)))return r=kw(r),s.forEach(function(e,n){!Rb.isUndefined(e)&&null!==e&&t.append(!0===a?jw([r],n,i):null===a?r:r+"[]",u(e))}),!1;return!!Pw(e)||(t.append(jw(o,r,i),u(e)),!1)}const l=[],f=Object.assign(Tw,{defaultVisitor:c,convertValue:u,isVisitable:Pw});if(!Rb.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!Rb.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),Rb.forEach(r,function(r,i){!0===(!(Rb.isUndefined(r)||null===r)&&o.call(t,r,Rb.isString(i)?i.trim():i,n,f))&&e(r,n?n.concat(i):[i])}),l.pop()}}(e),t}function Nw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function _w(e,t){this._pairs=[],e&&Iw(e,this,t)}const Cw=_w.prototype;function Uw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Lw(e,t,r){if(!t)return e;const n=r&&r.encode||Uw;Rb.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(i=o?o(t,r):Rb.isURLSearchParams(t)?t.toString():new _w(t,r).toString(n),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}Cw.append=function(e,t){this._pairs.push([e,t])},Cw.toString=function(e){const t=e?function(t){return e.call(this,t,Nw)}:Nw;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class Fw{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){Rb.forEach(this.handlers,function(t){null!==t&&e(t)})}}var Dw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Bw={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:_w,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Mw="undefined"!=typeof window&&"undefined"!=typeof document,qw="object"==typeof navigator&&navigator||void 0,Ww=Mw&&(!qw||["ReactNative","NativeScript","NS"].indexOf(qw.product)<0),Gw="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,zw=Mw&&window.location.href||"http://localhost";var Hw={...Object.freeze({__proto__:null,hasBrowserEnv:Mw,hasStandardBrowserEnv:Ww,hasStandardBrowserWebWorkerEnv:Gw,navigator:qw,origin:zw}),...Bw};function $w(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&&Rb.isArray(n)?n.length:i,s)return Rb.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&Rb.isObject(n[i])||(n[i]=[]);return t(e,r,n[i],o)&&Rb.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(Rb.isFormData(e)&&Rb.isFunction(e.entries)){const r={};return Rb.forEachEntry(e,(e,n)=>{t(function(e){return Rb.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),n,r,0)}),r}return null}const Vw={transitional:Dw,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=Rb.isObject(e);o&&Rb.isHTMLForm(e)&&(e=new FormData(e));if(Rb.isFormData(e))return n?JSON.stringify($w(e)):e;if(Rb.isArrayBuffer(e)||Rb.isBuffer(e)||Rb.isStream(e)||Rb.isFile(e)||Rb.isBlob(e)||Rb.isReadableStream(e))return e;if(Rb.isArrayBufferView(e))return e.buffer;if(Rb.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 Iw(e,new Hw.classes.URLSearchParams,{visitor:function(e,t,r,n){return Hw.isNode&&Rb.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=Rb.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Iw(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(Rb.isString(e))try{return(t||JSON.parse)(e),Rb.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Vw.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(Rb.isResponse(e)||Rb.isReadableStream(e))return e;if(e&&Rb.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 Aw.from(e,Aw.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:Hw.classes.FormData,Blob:Hw.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Rb.forEach(["delete","get","head","post","put","patch"],e=>{Vw.headers[e]={}});const Kw=Rb.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 Yw=Symbol("internals");function Jw(e){return e&&String(e).trim().toLowerCase()}function Qw(e){return!1===e||null==e?e:Rb.isArray(e)?e.map(Qw):String(e)}function Xw(e,t,r,n,o){return Rb.isFunction(n)?n.call(this,t,r):(o&&(t=r),Rb.isString(t)?Rb.isString(n)?-1!==t.indexOf(n):Rb.isRegExp(n)?n.test(t):void 0:void 0)}let Zw=class{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=Jw(t);if(!o)throw new Error("header name must be a non-empty string");const i=Rb.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=Qw(e))}const i=(e,t)=>Rb.forEach(e,(e,r)=>o(e,r,t));if(Rb.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Rb.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]&&Kw[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(Rb.isObject(e)&&Rb.isIterable(e)){let r,n,o={};for(const t of e){if(!Rb.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[n=t[0]]=(r=o[n])?Rb.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=Jw(e)){const r=Rb.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(Rb.isFunction(t))return t.call(this,e,r);if(Rb.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Jw(e)){const r=Rb.findKey(this,e);return!(!r||void 0===this[r]||t&&!Xw(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=Jw(e)){const o=Rb.findKey(r,e);!o||t&&!Xw(0,r[o],o,t)||(delete r[o],n=!0)}}return Rb.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&&!Xw(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return Rb.forEach(this,(n,o)=>{const i=Rb.findKey(r,o);if(i)return t[i]=Qw(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]=Qw(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 Rb.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&Rb.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[Yw]=this[Yw]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Jw(e);t[n]||(!function(e,t){const r=Rb.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 Rb.isArray(e)?e.forEach(n):n(e),this}};function eS(e,t){const r=this||Vw,n=t||r,o=Zw.from(n.headers);let i=n.data;return Rb.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function tS(e){return!(!e||!e.__CANCEL__)}function rS(e,t,r){Aw.call(this,null==e?"canceled":e,Aw.ERR_CANCELED,t,r),this.name="CanceledError"}function nS(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Aw("Request failed with status code "+r.status,[Aw.ERR_BAD_REQUEST,Aw.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}Zw.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Rb.reduceDescriptors(Zw.prototype,(e,t)=>{let{value:r}=e,n=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(e){this[n]=e}}}),Rb.freezeMethods(Zw),Rb.inherits(rS,Aw,{__CANCEL__:!0});const oS=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)},iS=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},aS=e=>function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Rb.asap(()=>e(...r))};var sS=Hw.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Hw.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Hw.origin),Hw.navigator&&/(msie|trident)/i.test(Hw.navigator.userAgent)):()=>!0,uS=Hw.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const a=[e+"="+encodeURIComponent(t)];Rb.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),Rb.isString(n)&&a.push("path="+n),Rb.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function cS(e,t,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(n||0==r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const lS=e=>e instanceof Zw?{...e}:e;function fS(e,t){t=t||{};const r={};function n(e,t,r,n){return Rb.isPlainObject(e)&&Rb.isPlainObject(t)?Rb.merge.call({caseless:n},e,t):Rb.isPlainObject(t)?Rb.merge({},t):Rb.isArray(t)?t.slice():t}function o(e,t,r,o){return Rb.isUndefined(t)?Rb.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!Rb.isUndefined(t))return n(void 0,t)}function a(e,t){return Rb.isUndefined(t)?Rb.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(lS(e),lS(t),0,!0)};return Rb.forEach(Object.keys({...e,...t}),function(n){const i=u[n]||o,a=i(e[n],t[n],n);Rb.isUndefined(a)&&i!==s||(r[n]=a)}),r}var pS=e=>{const t=fS({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;if(t.headers=a=Zw.from(a),t.url=Lw(cS(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Rb.isFormData(r))if(Hw.hasStandardBrowserEnv||Hw.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(Rb.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(Hw.hasStandardBrowserEnv&&(n&&Rb.isFunction(n)&&(n=n(t)),n||!1!==n&&sS(t.url))){const e=o&&i&&uS.read(i);e&&a.set(o,e)}return t};var hS="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){const n=pS(e);let o=n.data;const i=Zw.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=Zw.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());nS(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 Aw("Request aborted",Aw.ECONNABORTED,e,y)),y=null)},y.onerror=function(t){const n=new Aw(t&&t.message?t.message:"Network Error",Aw.ERR_NETWORK,e,y);n.event=t||null,r(n),y=null},y.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||Dw;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new Aw(t,o.clarifyTimeoutError?Aw.ETIMEDOUT:Aw.ECONNABORTED,e,y)),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&Rb.forEach(i.toJSON(),function(e,t){y.setRequestHeader(t,e)}),Rb.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),f&&"json"!==f&&(y.responseType=n.responseType),h&&([u,l]=oS(h,!0),y.addEventListener("progress",u)),p&&y.upload&&([s,c]=oS(p),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(),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===Hw.protocols.indexOf(g)?r(new Aw("Unsupported protocol "+g+":",Aw.ERR_BAD_REQUEST,e)):y.send(o||null)})};const dS=(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 Aw?t:new rS(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new Aw(`timeout ${t} of ms exceeded`,Aw.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=()=>Rb.asap(a),s}},yS=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{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},gS=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of mS(e))yield*yS(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:vS}=Rb,bS=(e=>{let{Request:t,Response:r}=e;return{Request:t,Response:r}})(Rb.global),{ReadableStream:wS,TextEncoder:SS}=Rb.global,xS=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}},ES=e=>{e=Rb.merge.call({skipUndefined:!0},bS,e);const{fetch:t,Request:r,Response:n}=e,o=t?vS(t):"function"==typeof fetch,i=vS(r),a=vS(n);if(!o)return!1;const s=o&&vS(wS),u=o&&("function"==typeof SS?(c=new SS,e=>c.encode(e)):async e=>new Uint8Array(await new r(e).arrayBuffer()));var c;const l=i&&s&&xS(()=>{let e=!1;const t=new r(Hw.origin,{body:new wS,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),f=a&&s&&xS(()=>Rb.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 Aw(`Response type '${e}' is not supported`,Aw.ERR_NOT_SUPPORT,r)})});const h=async(e,t)=>{const n=Rb.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Rb.isBlob(e))return e.size;if(Rb.isSpecCompliantForm(e)){const t=new r(Hw.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Rb.isArrayBufferView(e)||Rb.isArrayBuffer(e)?e.byteLength:(Rb.isURLSearchParams(e)&&(e+=""),Rb.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 x=dS([u,c&&c.toAbortSignal()],d),E=null;const A=x&&x.unsubscribe&&(()=>{x.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(Rb.isFormData(s)&&(e=t.headers.get("content-type"))&&v.setContentType(e),t.body){const[e,r]=iS(R,oS(aS(m)));s=gS(t.body,65536,e,r)}}Rb.isString(b)||(b=b?"include":"omit");const t=i&&"credentials"in r.prototype,u={...w,signal:x,method:a.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:"half",credentials:t?b:void 0};E=i&&new r(o,u);let c=await(i?S(E,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=Rb.toFiniteNumber(c.headers.get("content-length")),[r,o]=y&&iS(t,oS(aS(y),!0))||[];c=new n(gS(c.body,65536,r,()=>{o&&o(),A&&A()}),e)}g=g||"text";let O=await p[Rb.findKey(p,g)||"text"](c,e);return!d&&A&&A(),await new Promise((t,r)=>{nS(t,r,{data:O,headers:Zw.from(c.headers),status:c.status,statusText:c.statusText,config:e,request:E})})}catch(t){if(A&&A(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Aw("Network Error",Aw.ERR_NETWORK,e,E),{cause:t.cause||t});throw Aw.from(t,t&&t.code,e,E)}}},AS=new Map,RS=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=AS;for(;u--;)a=i[u],s=c.get(a),void 0===s&&c.set(a,s=u?new Map:ES(t)),c=s;return s};RS();const OS={http:null,xhr:hS,fetch:{get:RS}};Rb.forEach(OS,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const PS=e=>`- ${e}`,kS=e=>Rb.isFunction(e)||null===e||!1===e;var jS=(e,t)=>{e=Rb.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,!kS(n)&&(o=OS[(r=String(n)).toLowerCase()],void 0===o))throw new Aw(`Unknown adapter '${r}'`);if(o&&(Rb.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")});throw new Aw("There is no suitable adapter to dispatch the request "+(r?e.length>1?"since :\n"+e.map(PS).join("\n"):" "+PS(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o};function TS(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new rS(null,e)}function IS(e){TS(e),e.headers=Zw.from(e.headers),e.data=eS.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return jS(e.adapter||Vw.adapter,e)(e).then(function(t){return TS(e),t.data=eS.call(e,e.transformResponse,t),t.headers=Zw.from(t.headers),t},function(t){return tS(t)||(TS(e),t&&t.response&&(t.response.data=eS.call(e,e.transformResponse,t.response),t.response.headers=Zw.from(t.response.headers))),Promise.reject(t)})}const NS="1.12.2",_S={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{_S[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const CS={};_S.transitional=function(e,t,r){function n(e,t){return"[Axios v"+NS+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new Aw(n(o," has been removed"+(t?" in "+t:"")),Aw.ERR_DEPRECATED);return t&&!CS[o]&&(CS[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)}},_S.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var US={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Aw("options must be an object",Aw.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 Aw("option "+i+" must be "+r,Aw.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Aw("Unknown option "+i,Aw.ERR_BAD_OPTION)}},validators:_S};const LS=US.validators;let FS=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Fw,response:new Fw}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=fS(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&US.assertOptions(r,{silentJSONParsing:LS.transitional(LS.boolean),forcedJSONParsing:LS.transitional(LS.boolean),clarifyTimeoutError:LS.transitional(LS.boolean)},!1),null!=n&&(Rb.isFunction(n)?t.paramsSerializer={serialize:n}:US.assertOptions(n,{encode:LS.function,serialize:LS.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),US.assertOptions(t,{baseUrl:LS.spelling("baseURL"),withXsrfToken:LS.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Rb.merge(o.common,o[t.method]);o&&Rb.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=Zw.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(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=[IS.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=IS.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 Lw(cS((e=fS(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};Rb.forEach(["delete","get","head","options"],function(e){FS.prototype[e]=function(t,r){return this.request(fS(r||{},{method:e,url:t,data:(r||{}).data}))}}),Rb.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,o){return this.request(fS(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}FS.prototype[e]=t(),FS.prototype[e+"Form"]=t(!0)});const DS={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};Object.entries(DS).forEach(e=>{let[t,r]=e;DS[r]=t});const BS=function e(t){const r=new FS(t),n=Lv(FS.prototype.request,r);return Rb.extend(n,FS.prototype,r,{allOwnKeys:!0}),Rb.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(fS(t,r))},n}(Vw);BS.Axios=FS,BS.CanceledError=rS,BS.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 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 t;return{token:new e(function(e){t=e}),cancel:t}}},BS.isCancel=tS,BS.VERSION=NS,BS.toFormData=Iw,BS.AxiosError=Aw,BS.Cancel=BS.CanceledError,BS.all=function(e){return Promise.all(e)},BS.spread=function(e){return function(t){return e.apply(null,t)}},BS.isAxiosError=function(e){return Rb.isObject(e)&&!0===e.isAxiosError},BS.mergeConfig=fS,BS.AxiosHeaders=Zw,BS.formToJSON=e=>$w(Rb.isHTMLForm(e)?new FormData(e):e),BS.getAdapter=jS,BS.HttpStatusCode=DS,BS.default=BS;const{Axios:MS,AxiosError:qS,CanceledError:WS,isCancel:GS,CancelToken:zS,VERSION:HS,all:$S,Cancel:VS,isAxiosError:KS,spread:YS,toFormData:JS,AxiosHeaders:QS,HttpStatusCode:XS,formToJSON:ZS,getAdapter:ex,mergeConfig:tx}=BS;var rx=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(BS(d(d({},e),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]);var e,t,r,n,i,s}(),nx=Oo,ox=te,ix=ue,ax=km,sx=$([].join);nx({target:"Array",proto:!0,forced:ox!==Object||!ax("join",",")},{join:function(e){return sx(ix(this),void 0===e?",":e)}});var ux=TypeError,cx=R(Object.freeze({__proto__:null,default:{}})),lx="function"==typeof Map&&Map.prototype,fx=Object.getOwnPropertyDescriptor&&lx?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,px=lx&&fx&&"function"==typeof fx.get?fx.get:null,hx=lx&&Map.prototype.forEach,dx="function"==typeof Set&&Set.prototype,yx=Object.getOwnPropertyDescriptor&&dx?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,mx=dx&&yx&&"function"==typeof yx.get?yx.get:null,gx=dx&&Set.prototype.forEach,vx="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,bx="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,wx="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,Sx=Boolean.prototype.valueOf,xx=Object.prototype.toString,Ex=Function.prototype.toString,Ax=String.prototype.match,Rx=String.prototype.slice,Ox=String.prototype.replace,Px=String.prototype.toUpperCase,kx=String.prototype.toLowerCase,jx=RegExp.prototype.test,Tx=Array.prototype.concat,Ix=Array.prototype.join,Nx=Array.prototype.slice,_x=Math.floor,Cx="function"==typeof BigInt?BigInt.prototype.valueOf:null,Ux=Object.getOwnPropertySymbols,Lx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Fx="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Dx="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Fx||"symbol")?Symbol.toStringTag:null,Bx=Object.prototype.propertyIsEnumerable,Mx=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function qx(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||jx.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-_x(-e):_x(e);if(n!==e){var o=String(n),i=Rx.call(t,o.length+1);return Ox.call(o,r,"$&_")+"."+Ox.call(Ox.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ox.call(t,r,"$&_")}var Wx=cx,Gx=Wx.custom,zx=Zx(Gx)?Gx:null,Hx={__proto__:null,double:'"',single:"'"},$x={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Vx=function e(t,r,n,o){var i=r||{};if(tE(i,"quoteStyle")&&!tE(Hx,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(tE(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=!tE(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(tE(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(tE(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 oE(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var u=String(t);return s?qx(t,u):u}if("bigint"==typeof t){var c=String(t)+"n";return s?qx(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 Qx(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=Ix.call(Array(e.indent+1)," ")}return{base:r,prev:Ix.call(Array(t+1),r)}}(i,n);if(void 0===o)o=[];else if(nE(o,t)>=0)return"[Circular]";function p(t,r,a){if(r&&(o=Nx.call(o)).push(r),a){var s={depth:i.depth};return tE(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,n+1,o)}return e(t,i,n+1,o)}if("function"==typeof t&&!Xx(t)){var h=function(e){if(e.name)return e.name;var t=Ax.call(Ex.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),d=lE(t,p);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+Ix.call(d,", ")+" }":"")}if(Zx(t)){var y=Fx?Ox.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Lx.call(t);return"object"!=typeof t||Fx?y:aE(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="<"+kx.call(String(t.nodeName)),g=t.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+Kx(Yx(g[v].value),"double",i);return m+=">",t.childNodes&&t.childNodes.length&&(m+="..."),m+="</"+kx.call(String(t.nodeName))+">"}if(Qx(t)){if(0===t.length)return"[]";var b=lE(t,p);return f&&!function(e){for(var t=0;t<e.length;t++)if(nE(e[t],"\n")>=0)return!1;return!0}(b)?"["+cE(b,f)+"]":"[ "+Ix.call(b,", ")+" ]"}if(function(e){return"[object Error]"===rE(e)&&Jx(e)}(t)){var w=lE(t,p);return"cause"in Error.prototype||!("cause"in t)||Bx.call(t,"cause")?0===w.length?"["+String(t)+"]":"{ ["+String(t)+"] "+Ix.call(w,", ")+" }":"{ ["+String(t)+"] "+Ix.call(Tx.call("[cause]: "+p(t.cause),w),", ")+" }"}if("object"==typeof t&&a){if(zx&&"function"==typeof t[zx]&&Wx)return Wx(t,{depth:l-n});if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!px||!e||"object"!=typeof e)return!1;try{px.call(e);try{mx.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var S=[];return hx&&hx.call(t,function(e,r){S.push(p(r,t,!0)+" => "+p(e,t))}),uE("Map",px.call(t),S,f)}if(function(e){if(!mx||!e||"object"!=typeof e)return!1;try{mx.call(e);try{px.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var x=[];return gx&&gx.call(t,function(e){x.push(p(e,t))}),uE("Set",mx.call(t),x,f)}if(function(e){if(!vx||!e||"object"!=typeof e)return!1;try{vx.call(e,vx);try{bx.call(e,bx)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return sE("WeakMap");if(function(e){if(!bx||!e||"object"!=typeof e)return!1;try{bx.call(e,bx);try{vx.call(e,vx)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return sE("WeakSet");if(function(e){if(!wx||!e||"object"!=typeof e)return!1;try{return wx.call(e),!0}catch(e){}return!1}(t))return sE("WeakRef");if(function(e){return"[object Number]"===rE(e)&&Jx(e)}(t))return aE(p(Number(t)));if(function(e){if(!e||"object"!=typeof e||!Cx)return!1;try{return Cx.call(e),!0}catch(e){}return!1}(t))return aE(p(Cx.call(t)));if(function(e){return"[object Boolean]"===rE(e)&&Jx(e)}(t))return aE(Sx.call(t));if(function(e){return"[object String]"===rE(e)&&Jx(e)}(t))return aE(p(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==E&&t===E)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===rE(e)&&Jx(e)}(t)&&!Xx(t)){var A=lE(t,p),R=Mx?Mx(t)===Object.prototype:t instanceof Object||t.constructor===Object,O=t instanceof Object?"":"null prototype",P=!R&&Dx&&Object(t)===t&&Dx in t?Rx.call(rE(t),8,-1):O?"Object":"",k=(R||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(P||O?"["+Ix.call(Tx.call([],P||[],O||[]),": ")+"] ":"");return 0===A.length?k+"{}":f?k+"{"+cE(A,f)+"}":k+"{ "+Ix.call(A,", ")+" }"}return String(t)};function Kx(e,t,r){var n=r.quoteStyle||t,o=Hx[n];return o+e+o}function Yx(e){return Ox.call(String(e),/"/g,"&quot;")}function Jx(e){return!Dx||!("object"==typeof e&&(Dx in e||void 0!==e[Dx]))}function Qx(e){return"[object Array]"===rE(e)&&Jx(e)}function Xx(e){return"[object RegExp]"===rE(e)&&Jx(e)}function Zx(e){if(Fx)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!Lx)return!1;try{return Lx.call(e),!0}catch(e){}return!1}var eE=Object.prototype.hasOwnProperty||function(e){return e in this};function tE(e,t){return eE.call(e,t)}function rE(e){return xx.call(e)}function nE(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 oE(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return oE(Rx.call(e,0,t.maxStringLength),t)+n}var o=$x[t.quoteStyle||"single"];return o.lastIndex=0,Kx(Ox.call(Ox.call(e,o,"\\$1"),/[\x00-\x1f]/g,iE),"single",t)}function iE(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":"")+Px.call(t.toString(16))}function aE(e){return"Object("+e+")"}function sE(e){return e+" { ? }"}function uE(e,t,r,n){return e+" ("+t+") {"+(n?cE(r,n):Ix.call(r,", "))+"}"}function cE(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+Ix.call(e,","+r)+"\n"+t.prev}function lE(e,t){var r=Qx(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=tE(e,o)?t(e[o],e):""}var i,a="function"==typeof Ux?Ux(e):[];if(Fx){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)tE(e,u)&&(r&&String(Number(u))===u&&u<e.length||Fx&&i["$"+u]instanceof Symbol||(jx.call(/[^\w$]/,u)?n.push(t(u,e)+": "+t(e[u],e)):n.push(u+": "+t(e[u],e))));if("function"==typeof Ux)for(var c=0;c<a.length;c++)Bx.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var fE=Vx,pE=ux,hE=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},dE=Object,yE=Error,mE=EvalError,gE=RangeError,vE=ReferenceError,bE=SyntaxError,wE=URIError,SE=Math.abs,xE=Math.floor,EE=Math.max,AE=Math.min,RE=Math.pow,OE=Math.round,PE=Number.isNaN||function(e){return e!=e},kE=Object.getOwnPropertyDescriptor;if(kE)try{kE([],"length")}catch(e){kE=null}var jE=kE,TE=Object.defineProperty||!1;if(TE)try{TE({},"a",{value:1})}catch(e){TE=!1}var IE,NE,_E,CE,UE,LE,FE,DE,BE,ME,qE,WE,GE,zE,HE,$E,VE=TE;function KE(){return LE?UE:(LE=1,UE="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function YE(){return DE?FE:(DE=1,FE=dE.getPrototypeOf||null)}function JE(){if(ME)return BE;ME=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 BE=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},BE}function QE(){if(WE)return qE;WE=1;var e=JE();return qE=Function.prototype.bind||e}function XE(){return zE?GE:(zE=1,GE=Function.prototype.call)}function ZE(){return $E?HE:($E=1,HE=Function.prototype.apply)}var eA,tA,rA,nA,oA,iA,aA,sA="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,uA=QE(),cA=ZE(),lA=XE(),fA=sA||uA.call(lA,cA),pA=QE(),hA=ux,dA=XE(),yA=fA,mA=function(e){if(e.length<1||"function"!=typeof e[0])throw new hA("a function is required");return yA(pA,dA,e)};var gA=dE,vA=yE,bA=mE,wA=gE,SA=vE,xA=bE,EA=ux,AA=wE,RA=SE,OA=xE,PA=EE,kA=AE,jA=RE,TA=OE,IA=function(e){return PE(e)||0===e?e:e<0?-1:1},NA=Function,_A=function(e){try{return NA('"use strict"; return ('+e+").constructor;")()}catch(e){}},CA=jE,UA=VE,LA=function(){throw new EA},FA=CA?function(){try{return LA}catch(e){try{return CA(arguments,"callee").get}catch(e){return LA}}}():LA,DA=function(){if(CE)return _E;CE=1;var e="undefined"!=typeof Symbol&&Symbol,t=NE?IE:(NE=1,IE=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 _E=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&t())))}}()(),BA=function(){if(nA)return rA;nA=1;var e=KE(),t=YE(),r=function(){if(tA)return eA;tA=1;var e,t=mA,r=jE;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 eA=n&&"function"==typeof n.get?t([n.get]):"function"==typeof i&&function(e){return i(null==e?e:o(e))}}();return rA=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}(),MA=YE(),qA=KE(),WA=ZE(),GA=XE(),zA={},HA="undefined"!=typeof Uint8Array&&BA?BA(Uint8Array):aA,$A={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?aA:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?aA:ArrayBuffer,"%ArrayIteratorPrototype%":DA&&BA?BA([][Symbol.iterator]()):aA,"%AsyncFromSyncIteratorPrototype%":aA,"%AsyncFunction%":zA,"%AsyncGenerator%":zA,"%AsyncGeneratorFunction%":zA,"%AsyncIteratorPrototype%":zA,"%Atomics%":"undefined"==typeof Atomics?aA:Atomics,"%BigInt%":"undefined"==typeof BigInt?aA:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?aA:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?aA:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?aA:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":vA,"%eval%":eval,"%EvalError%":bA,"%Float16Array%":"undefined"==typeof Float16Array?aA:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?aA:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?aA:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?aA:FinalizationRegistry,"%Function%":NA,"%GeneratorFunction%":zA,"%Int8Array%":"undefined"==typeof Int8Array?aA:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?aA:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?aA:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":DA&&BA?BA(BA([][Symbol.iterator]())):aA,"%JSON%":"object"==typeof JSON?JSON:aA,"%Map%":"undefined"==typeof Map?aA:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&DA&&BA?BA((new Map)[Symbol.iterator]()):aA,"%Math%":Math,"%Number%":Number,"%Object%":gA,"%Object.getOwnPropertyDescriptor%":CA,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?aA:Promise,"%Proxy%":"undefined"==typeof Proxy?aA:Proxy,"%RangeError%":wA,"%ReferenceError%":SA,"%Reflect%":"undefined"==typeof Reflect?aA:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?aA:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&DA&&BA?BA((new Set)[Symbol.iterator]()):aA,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?aA:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":DA&&BA?BA(""[Symbol.iterator]()):aA,"%Symbol%":DA?Symbol:aA,"%SyntaxError%":xA,"%ThrowTypeError%":FA,"%TypedArray%":HA,"%TypeError%":EA,"%Uint8Array%":"undefined"==typeof Uint8Array?aA:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?aA:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?aA:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?aA:Uint32Array,"%URIError%":AA,"%WeakMap%":"undefined"==typeof WeakMap?aA:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?aA:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?aA:WeakSet,"%Function.prototype.call%":GA,"%Function.prototype.apply%":WA,"%Object.defineProperty%":UA,"%Object.getPrototypeOf%":MA,"%Math.abs%":RA,"%Math.floor%":OA,"%Math.max%":PA,"%Math.min%":kA,"%Math.pow%":jA,"%Math.round%":TA,"%Math.sign%":IA,"%Reflect.getPrototypeOf%":qA};if(BA)try{null.error}catch(e){var VA=BA(BA(e));$A["%Error.prototype%"]=VA}var KA=function e(t){var r;if("%AsyncFunction%"===t)r=_A("async function () {}");else if("%GeneratorFunction%"===t)r=_A("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=_A("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&BA&&(r=BA(o.prototype))}return $A[t]=r,r},YA={__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"]},JA=QE(),QA=function(){if(iA)return oA;iA=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=QE();return oA=r.call(e,t)}(),XA=JA.call(GA,Array.prototype.concat),ZA=JA.call(WA,Array.prototype.splice),eR=JA.call(GA,String.prototype.replace),tR=JA.call(GA,String.prototype.slice),rR=JA.call(GA,RegExp.prototype.exec),nR=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,oR=/\\(\\)?/g,iR=function(e,t){var r,n=e;if(QA(YA,n)&&(n="%"+(r=YA[n])[0]+"%"),QA($A,n)){var o=$A[n];if(o===zA&&(o=KA(n)),void 0===o&&!t)throw new EA("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new xA("intrinsic "+e+" does not exist!")},aR=function(e,t){if("string"!=typeof e||0===e.length)throw new EA("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new EA('"allowMissing" argument must be a boolean');if(null===rR(/^%?[^%]*%?$/,e))throw new xA("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=tR(e,0,1),r=tR(e,-1);if("%"===t&&"%"!==r)throw new xA("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new xA("invalid intrinsic syntax, expected opening `%`");var n=[];return eR(e,nR,function(e,t,r,o){n[n.length]=r?eR(o,oR,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",o=iR("%"+n+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],ZA(r,XA([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var f=r[c],p=tR(f,0,1),h=tR(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===h||"'"===h||"`"===h)&&p!==h)throw new xA("property names with quotes must have matching quotes");if("constructor"!==f&&l||(s=!0),QA($A,i="%"+(n+="."+f)+"%"))a=$A[i];else if(null!=a){if(!(f in a)){if(!t)throw new EA("base intrinsic for "+e+" exists, but the property is not available.");return}if(CA&&c+1>=r.length){var d=CA(a,f);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[f]}else l=QA(a,f),a=a[f];l&&!s&&($A[i]=a)}}return a},sR=aR,uR=mA,cR=uR([sR("%String.prototype.indexOf%")]),lR=function(e,t){var r=sR(e,!!t);return"function"==typeof r&&cR(e,".prototype.")>-1?uR([r]):r},fR=lR,pR=Vx,hR=ux,dR=aR("%Map%",!0),yR=fR("Map.prototype.get",!0),mR=fR("Map.prototype.set",!0),gR=fR("Map.prototype.has",!0),vR=fR("Map.prototype.delete",!0),bR=fR("Map.prototype.size",!0),wR=!!dR&&function(){var e,t={assert:function(e){if(!t.has(e))throw new hR("Side channel does not contain "+pR(e))},delete:function(t){if(e){var r=vR(e,t);return 0===bR(e)&&(e=void 0),r}return!1},get:function(t){if(e)return yR(e,t)},has:function(t){return!!e&&gR(e,t)},set:function(t,r){e||(e=new dR),mR(e,t,r)}};return t},SR=lR,xR=Vx,ER=wR,AR=ux,RR=aR("%WeakMap%",!0),OR=SR("WeakMap.prototype.get",!0),PR=SR("WeakMap.prototype.set",!0),kR=SR("WeakMap.prototype.has",!0),jR=SR("WeakMap.prototype.delete",!0),TR=ux,IR=Vx,NR=(RR?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new AR("Side channel does not contain "+xR(e))},delete:function(r){if(RR&&r&&("object"==typeof r||"function"==typeof r)){if(e)return jR(e,r)}else if(ER&&t)return t.delete(r);return!1},get:function(r){return RR&&r&&("object"==typeof r||"function"==typeof r)&&e?OR(e,r):t&&t.get(r)},has:function(r){return RR&&r&&("object"==typeof r||"function"==typeof r)&&e?kR(e,r):!!t&&t.has(r)},set:function(r,n){RR&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new RR),PR(e,r,n)):ER&&(t||(t=ER()),t.set(r,n))}};return r}:ER)||wR||function(){var e,t={assert:function(e){if(!t.has(e))throw new pE("Side channel does not contain "+fE(e))},delete:function(t){var r=e&&e.next,n=function(e,t){if(e)return hE(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=hE(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!hE(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var n=hE(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t},_R=function(){var e,t={assert:function(e){if(!t.has(e))throw new TR("Side channel does not contain "+IR(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=NR()),e.set(t,r)}};return t},CR=String.prototype.replace,UR=/%20/g,LR="RFC3986",FR={default:LR,formatters:{RFC1738:function(e){return CR.call(e,UR,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:LR},DR=FR,BR=_R,MR=Object.prototype.hasOwnProperty,qR=Array.isArray,WR=BR(),GR=function(e,t){return WR.set(e,t),e},zR=function(e){return WR.has(e)},HR=function(e){return WR.get(e)},$R=function(e,t){WR.set(e,t)},VR=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),KR=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},YR=1024,JR={arrayToObject:KR,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(zR(e)){var o=HR(e)+1;return e[o]=t,$R(e,o),e}var i=[].concat(e,t);return i.length>r?GR(KR(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.push({obj:i,prop:u}),r.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(qR(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,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+=YR){for(var u=i.length>=YR?i.slice(s,s+YR):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===DR.RFC1738&&(40===f||41===f)?c[c.length]=u.charAt(l):f<128?c[c.length]=VR[f]:f<2048?c[c.length]=VR[192|f>>6]+VR[128|63&f]:f<55296||f>=57344?c[c.length]=VR[224|f>>12]+VR[128|f>>6&63]+VR[128|63&f]:(l+=1,f=65536+((1023&f)<<10|1023&u.charCodeAt(l)),c[c.length]=VR[240|f>>18]+VR[128|f>>12&63]+VR[128|f>>6&63]+VR[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:zR,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(qR(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(qR(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];if(zR(t)){var o=HR(t)+1;t[o]=r,$R(t,o)}else(n&&(n.plainObjects||n.allowPrototypes)||!MR.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t){if(zR(r)){for(var i=Object.keys(r),a=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},s=0;s<i.length;s++){a[parseInt(i[s],10)+1]=r[i[s]]}return GR(a,HR(r)+1)}return[t].concat(r)}var u=t;return qR(t)&&!qR(r)&&(u=KR(t,n)),qR(t)&&qR(r)?(r.forEach(function(r,o){if(MR.call(t,o)){var i=t[o];i&&"object"==typeof i&&r&&"object"==typeof r?t[o]=e(i,r,n):t.push(r)}else t[o]=r}),t):Object.keys(r).reduce(function(t,o){var i=r[o];return MR.call(t,o)?t[o]=e(t[o],i,n):t[o]=i,t},u)}},QR=_R,XR=JR,ZR=FR,eO=Object.prototype.hasOwnProperty,tO={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},rO=Array.isArray,nO=Array.prototype.push,oO=function(e,t){nO.apply(e,rO(t)?t:[t])},iO=Date.prototype.toISOString,aO=ZR.default,sO={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:XR.encode,encodeValuesOnly:!1,filter:void 0,format:aO,formatter:ZR.formatters[aO],indices:!1,serializeDate:function(e){return iO.call(e)},skipNulls:!1,strictNullHandling:!1},uO={},cO=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,x=0,E=!1;void 0!==(S=S.get(uO))&&!E;){var A=S.get(t);if(x+=1,void 0!==A){if(A===x)throw new RangeError("Cyclic object value");E=!0}void 0===S.get(uO)&&(x=0)}if("function"==typeof l?w=l(r,w):w instanceof Date?w=h(w):"comma"===n&&rO(w)&&(w=XR.maybeMap(w,function(e){return e instanceof Date?h(e):e})),null===w){if(a)return c&&!m?c(r,sO.encoder,g,"key",d):r;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||XR.isBuffer(w))return c?[y(m?r:c(r,sO.encoder,g,"key",d))+"="+y(c(w,sO.encoder,g,"value",d))]:[y(r)+"="+y(String(w))];var R,O=[];if(void 0===w)return O;if("comma"===n&&rO(w))m&&c&&(w=XR.maybeMap(w,c)),R=[{value:w.length>0?w.join(",")||null:void 0}];else if(rO(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&&rO(w)&&1===w.length?k+"[]":k;if(i&&rO(w)&&0===w.length)return j+"[]";for(var T=0;T<R.length;++T){var I=R[T],N="object"==typeof I&&I&&void 0!==I.value?I.value:w[I];if(!s||null!==N){var _=p&&u?String(I).replace(/\./g,"%2E"):String(I),C=rO(w)?"function"==typeof n?n(j,_):j:j+(p?"."+_:"["+_+"]");v.set(t,x);var U=QR();U.set(uO,v),oO(O,e(N,C,n,o,i,a,s,u,"comma"===n&&m&&rO(w)?null:c,l,f,p,h,d,y,m,g,U))}}return O},lO=JR,fO=Object.prototype.hasOwnProperty,pO=Array.isArray,hO={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:lO.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},dO=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},yO=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},mO=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&&fO.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&&fO.call(Object.prototype,i)&&!t.allowPrototypes)return;a.push(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&&fO.call(Object.prototype,u)&&!t.allowPrototypes)return;a.push(o[1])}if(o){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");a.push("["+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:yO(t,r,o),s=e.length-1;s>=0;--s){var u,c=e[s];if("[]"===c&&r.parseArrays)u=lO.isOverflow(a)?a:r.allowEmptyArrays&&(""===a||r.strictNullHandling&&null===a)?[]:lO.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);r.parseArrays||""!==f?!isNaN(p)&&c!==f&&String(p)===f&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(u=[])[p]=a:"__proto__"!==f&&(u[f]=a):u={0:a}}a=u}return a}(o,t,r,n)}},gO=function(e,t){var r,n=e,o=function(e){if(!e)return sO;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||sO.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=ZR.default;if(void 0!==e.format){if(!eO.call(ZR.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=ZR.formatters[r],i=sO.filter;if(("function"==typeof e.filter||rO(e.filter))&&(i=e.filter),n=e.arrayFormat in tO?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":sO.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||sO.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:sO.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:sO.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:sO.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?sO.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:sO.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:sO.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:sO.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:sO.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:sO.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:sO.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:sO.strictNullHandling}}(t);"function"==typeof o.filter?n=(0,o.filter)("",n):rO(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var a=tO[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var u=QR(),c=0;c<r.length;++c){var l=r[c],f=n[l];o.skipNulls&&null===f||oO(i,cO(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:""},vO=function(e,t){var r=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.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?hO.charset:e.charset,r=void 0===e.duplicates?hO.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||hO.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:hO.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:hO.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:hO.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:hO.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:hO.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:hO.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:hO.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:hO.decoder,delimiter:"string"==typeof e.delimiter||lO.isRegExp(e.delimiter)?e.delimiter:hO.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:hO.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:hO.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:hO.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:hO.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:hO.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:hO.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?o+1:o);if(t.throwOnLimitExceeded&&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,hO.decoder,u,"key"),l=t.strictNullHandling?null:""):null!==(c=t.decoder(f.slice(0,h),hO.decoder,u,"key"))&&(l=lO.maybeMap(yO(f.slice(h+1),t,pO(r[c])?r[c].length:0),function(e){return t.decoder(e,hO.decoder,u,"value")})),l&&t.interpretNumericEntities&&"iso-8859-1"===u&&(l=dO(String(l))),f.indexOf("[]=")>-1&&(l=pO(l)?[l]:l),null!==c){var d=fO.call(r,c);d&&"combine"===t.duplicates?r[c]=lO.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=mO(s,n[s],r,"string"==typeof e);o=lO.merge(o,u,r)}return!0===r.allowSparse?o:lO.compact(o)},bO=A({formats:FR,parse:vO,stringify:gO});const wO="function"==typeof Buffer,SO=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),xO=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),EO=(e=>{let t={};return e.forEach((e,r)=>t[e]=r),t})(xO),AO=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,RO=String.fromCharCode.bind(String),OO=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_")),PO=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),kO=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+=xO[t>>18&63]+xO[t>>12&63]+xO[t>>6&63]+xO[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},jO="function"==typeof btoa?e=>btoa(e):wO?e=>Buffer.from(e,"binary").toString("base64"):kO,TO=wO?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(RO.apply(null,e.subarray(r,r+4096)));return jO(t.join(""))},IO=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?RO(192|t>>>6)+RO(128|63&t):RO(224|t>>>12&15)+RO(128|t>>>6&63)+RO(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return RO(240|t>>>18&7)+RO(128|t>>>12&63)+RO(128|t>>>6&63)+RO(128|63&t)},NO=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,_O=e=>e.replace(NO,IO),CO=wO?e=>Buffer.from(e,"utf8").toString("base64"):SO?e=>TO(SO.encode(e)):e=>jO(_O(e)),UO=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?OO(CO(e)):CO(e)},LO=e=>{if(e=e.replace(/\s+/g,""),!AO.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=EO[e.charAt(i++)]<<18|EO[e.charAt(i++)]<<12|(r=EO[e.charAt(i++)])<<6|(n=EO[e.charAt(i++)]),64===r?o.push(RO(t>>16&255)):64===n?o.push(RO(t>>16&255,t>>8&255)):o.push(RO(t>>16&255,t>>8&255,255&t));return o.join("")},FO=UO;var DO,BO=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,x,E,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 bv)){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 x=d,E=d({},a),A={},e.n=9,this.buildData(o);case 9:return R=e.v,e.a(2,x(E,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(bO.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 bv)){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(FO("".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":FO("".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}(),MO=["data"],qO=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 Zg(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,MO);if("string"==typeof r)throw new Error("".concat(n.status,": ").concat(n.statusText));throw new pv(d({data:r},n))}}])}(),WO=function(){return u(function e(){var r,n,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a(this,e),GO(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 Yi)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 BO(d(d({},i),{},{baseUrl:this.baseUrl,auth:s})),c=new qO({enableAbortSearchError:null!==(n=null===(o=i.featureFlags)||void 0===o?void 0:o.enableAbortSearchError)&&void 0!==n&&n}),l=new rx({responseHandler:c,requestConfigBuilder:u}),f=i.guestSpaceId;this.bulkRequest_=new cm(l,f),this.record=new gv(l,this.bulkRequest_,f),this.app=new Om(l,f),this.space=new vv(l,f),this.file=new wv(l,f),this.plugin=new Sv(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()}}])}(),GO=function(e){zO(e.baseUrl),HO(e.guestSpaceId),$O(e.socketTimeout)},zO=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".')}},HO=function(e){if(""===e||null===e)throw new Error("invalid guestSpaceId: got [".concat(e,"]"))},$O=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.")}};(DO=ea).readFileFromPath&&(t.readFileFromPath=DO.readFileFromPath),DO.getRequestToken&&(t.getRequestToken=DO.getRequestToken),DO.getDefaultAuth&&(t.getDefaultAuth=DO.getDefaultAuth),DO.buildPlatformDependentConfig&&(t.buildPlatformDependentConfig=DO.buildPlatformDependentConfig),DO.buildHeaders&&(t.buildHeaders=DO.buildHeaders),DO.buildFormDataValue&&(t.buildFormDataValue=DO.buildFormDataValue),DO.buildBaseUrl&&(t.buildBaseUrl=DO.buildBaseUrl),DO.getVersion&&(t.getVersion=DO.getVersion),e.KintoneAbortSearchError=Zg,e.KintoneAllRecordsError=fv,e.KintoneRestAPIClient=WO,e.KintoneRestAPIError=pv});
768
+ 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 x(e){var t="function"==typeof Map?new Map:void 0;return x=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)},x(e)}var E="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 E&&E)||O("object"==typeof E&&E)||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")}),N=I,_=Function.prototype.call,C=N?_.bind(_):function(){return _.apply(_,arguments)},U={},L={}.propertyIsEnumerable,F=Object.getOwnPropertyDescriptor,D=F&&!L.call({1:2},1);U.f=D?function(e){var t=F(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,xe=we.process,Ee=we.Deno,Ae=xe&&xe.versions||Ee&&Ee.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,Ne=ye,_e=le,Ce=me,Ue=Object,Le=Ie?function(e){return"symbol"==typeof e}:function(e){var t=Ne("Symbol");return _e(t)&&Ce(t.prototype,Ue(e))},Fe=String,De=function(e){try{return Fe(e)}catch(e){return"Object"}},Be=le,Me=De,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.46.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.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,xt=Ie,Et=P.Symbol,At=vt("wks"),Rt=xt?Et.for||Et:Et&&Et.withoutSetter||wt,Ot=function(e){return bt(At,e)||(At[e]=St&&bt(Et,e)?Et[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")},Nt=TypeError,_t=Ot("toPrimitive"),Ct=function(e,t){if(!kt(e)||jt(e))return e;var r,n=Tt(e,_t);if(n){if(void 0===t&&(t="default"),r=Pt(n,e,t),!kt(r)||jt(r))return r;throw new Nt("Can't convert object to primitive value")}return void 0===t&&(t="number"),It(e,t)},Ut=Ct,Lt=Le,Ft=function(e){var t=Ut(e,"string");return Lt(t)?t:t+""},Dt=pe,Bt=P.document,Mt=Dt(Bt)&&Dt(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=Ft,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=Ft,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,xr=Function.prototype,Er=wr&&Object.getOwnPropertyDescriptor,Ar=Sr(xr,"name"),Rr={EXISTS:Ar,PROPER:Ar&&"something"===function(){}.name,CONFIGURABLE:Ar&&(!wr||wr&&Er(xr,"name").configurable)},Or=le,Pr=ot,kr=$(Function.toString);Or(Pr.inspectSource)||(Pr.inspectSource=function(e){return kr(e)});var jr,Tr,Ir,Nr=Pr.inspectSource,_r=le,Cr=P.WeakMap,Ur=_r(Cr)&&/native code/.test(String(Cr)),Lr=gt,Fr=at("keys"),Dr=function(e){return Fr[e]||(Fr[e]=Lr(e))},Br={},Mr=Ur,qr=P,Wr=pe,Gr=vr,zr=pt,Hr=ot,$r=Dr,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=Nr,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,xn=bn,En=Ze,An=function(e,t,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if(wn(r)&&xn(r,i,n),n.global)o?e[t]=r:En(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,Nn=Math.min,_n=function(e,t){var r=Tn(e);return r<0?In(r+t,0):Nn(r,t)},Cn=jn,Un=Math.min,Ln=function(e){var t=Cn(e);return t>0?Un(t,9007199254740991):0},Fn=Ln,Dn=function(e){return Fn(e.length)},Bn=ue,Mn=_n,qn=Dn,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,xo=An,Eo=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]||Eo(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),xo(r,n,i,e)}},Po=J,ko=Array.isArray||function(e){return"Array"===Po(e)},jo=TypeError,To=T,Io=Zt,No=q,_o=function(e,t,r){To?Io.f(e,t,No(0,r)):e[t]=r},Co={};Co[Ot("toStringTag")]="z";var Uo="[object z]"===String(Co),Lo=Uo,Fo=le,Do=J,Bo=Ot("toStringTag"),Mo=Object,qo="Arguments"===Do(function(){return arguments}()),Wo=Lo?Do: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=Mo(e),Bo))?r:qo?Do(t):"Object"===(n=Do(t))&&Fo(t.callee)?"Arguments":n},Go=$,zo=j,Ho=le,$o=Wo,Vo=Nr,Ko=function(){},Yo=ye("Reflect","construct"),Jo=/^\s*(?:class|function)\b/,Qo=Go(Jo.exec),Xo=!Jo.test(Ko),Zo=function(e){if(!Ho(e))return!1;try{return Yo(Ko,[],e),!0}catch(e){return!1}},ei=function(e){if(!Ho(e))return!1;switch($o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Xo||!!Qo(Jo,Vo(e))}catch(e){return!0}};ei.sham=!0;var ti=!Yo||zo(function(){var e;return Zo(Zo.call)||!Zo(Object)||!Zo(function(){e=!0})||e})?ei:Zo,ri=ko,ni=ti,oi=pe,ii=Ot("species"),ai=Array,si=function(e){var t;return ri(e)&&(t=e.constructor,(ni(t)&&(t===ai||ri(t.prototype))||oi(t)&&null===(t=t[ii]))&&(t=void 0)),void 0===t?ai:t},ui=function(e,t){return new(si(e))(0===t?0:t)},ci=j,li=Oe,fi=Ot("species"),pi=function(e){return li>=51||!ci(function(){var t=[];return(t.constructor={})[fi]=function(){return{foo:1}},1!==t[e](Boolean).foo})},hi=Oo,di=j,yi=ko,mi=pe,gi=ct,vi=Dn,bi=function(e){if(e>9007199254740991)throw jo("Maximum allowed index exceeded");return e},wi=_o,Si=ui,xi=pi,Ei=Oe,Ai=Ot("isConcatSpreadable"),Ri=Ei>=51||!di(function(){var e=[];return e[Ai]=!1,e.concat()[0]!==e}),Oi=function(e){if(!mi(e))return!1;var t=e[Ai];return void 0!==t?!!t:yi(e)};hi({target:"Array",proto:!0,arity:1,forced:!Ri||!xi("concat")},{concat:function(e){var t,r,n,o,i,a=gi(this),s=Si(a,0),u=0;for(t=-1,n=arguments.length;t<n;t++)if(Oi(i=-1===t?a:arguments[t]))for(o=vi(i),bi(u+o),r=0;r<o;r++,u++)r in i&&wi(s,u,i[r]);else bi(u+1),wi(s,u++,i);return s.length=u,s}});var Pi=bn,ki=Zt,ji=function(e,t,r){return r.get&&Pi(r.get,t,{getter:!0}),r.set&&Pi(r.set,t,{setter:!0}),ki.f(e,t,r)},Ti=T,Ii=Rr.EXISTS,Ni=$,_i=ji,Ci=Function.prototype,Ui=Ni(Ci.toString),Li=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Fi=Ni(Li.exec);Ti&&!Ii&&_i(Ci,"name",{configurable:!0,get:function(){try{return Fi(Li,Ui(this))[1]}catch(e){return""}}});var Di=$,Bi=We,Mi=pe,qi=function(e){return Mi(e)||null===e},Wi=String,Gi=TypeError,zi=function(e,t,r){try{return Di(Bi(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},Hi=pe,$i=ie,Vi=function(e){if(qi(e))return e;throw new Gi("Can't set "+Wi(e)+" as a prototype")},Ki=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=zi(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return $i(r),Vi(n),Hi(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0);Oo({target:"Object",stat:!0},{setPrototypeOf:Ki});var Yi=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)}(x(Error));function Ji(){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)}Ji.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)}}},Ji.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},Ji.prototype.getExtension=function(e){return(e=/^\s*([^;\s]*)/.test(e)&&RegExp.$1)&&this._extensions[e.toLowerCase()]||null};var Qi=A(new Ji({"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"]})),Xi="6.1.3",Zi=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)}}(),ea=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=Qi.getType(t)||void 0),new Blob([e],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Zi,getVersion:function(){return Xi},readFileFromPath:function(e){throw new Yi("Browser")}}),ta={},ra=Kn,na=Yn,oa=Object.keys||function(e){return ra(e,na)},ia=T,aa=er,sa=Zt,ua=or,ca=ue,la=oa;ta.f=ia&&!aa?Object.defineProperties:function(e,t){ua(e);for(var r,n=ca(t),o=la(t),i=o.length,a=0;i>a;)sa.f(e,r=o[a++],n[r]);return e};var fa,pa=ye("document","documentElement"),ha=or,da=ta,ya=Yn,ma=Br,ga=pa,va=qt,ba="prototype",wa="script",Sa=Dr("IE_PROTO"),xa=function(){},Ea=function(e){return"<"+wa+">"+e+"</"+wa+">"},Aa=function(e){e.write(Ea("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ra=function(){try{fa=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Ra="undefined"!=typeof document?document.domain&&fa?Aa(fa):(t=va("iframe"),r="java"+wa+":",t.style.display="none",ga.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Ea("document.F=Object")),e.close(),e.F):Aa(fa);for(var n=ya.length;n--;)delete Ra[ba][ya[n]];return Ra()};ma[Sa]=!0;var Oa=Object.create||function(e,t){var r;return null!==e?(xa[ba]=ha(e),r=new xa,xa[ba]=null,r[Sa]=e):r=Ra(),void 0===t?r:da.f(r,t)},Pa=Ot,ka=Oa,ja=Zt.f,Ta=Pa("unscopables"),Ia=Array.prototype;void 0===Ia[Ta]&&ja(Ia,Ta,{configurable:!0,value:ka(null)});var Na,_a,Ca,Ua={},La=!j(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Fa=pt,Da=le,Ba=ct,Ma=La,qa=Dr("IE_PROTO"),Wa=Object,Ga=Wa.prototype,za=Ma?Wa.getPrototypeOf:function(e){var t=Ba(e);if(Fa(t,qa))return t[qa];var r=t.constructor;return Da(r)&&t instanceof r?r.prototype:t instanceof Wa?Ga:null},Ha=j,$a=le,Va=pe,Ka=za,Ya=An,Ja=Ot("iterator"),Qa=!1;[].keys&&("next"in(Ca=[].keys())?(_a=Ka(Ka(Ca)))!==Object.prototype&&(Na=_a):Qa=!0);var Xa=!Va(Na)||Ha(function(){var e={};return Na[Ja].call(e)!==e});Xa&&(Na={}),$a(Na[Ja])||Ya(Na,Ja,function(){return this});var Za={IteratorPrototype:Na,BUGGY_SAFARI_ITERATORS:Qa},es=Zt.f,ts=pt,rs=Ot("toStringTag"),ns=function(e,t,r){e&&!r&&(e=e.prototype),e&&!ts(e,rs)&&es(e,rs,{configurable:!0,value:t})},os=Za.IteratorPrototype,is=Oa,as=q,ss=ns,us=Ua,cs=function(){return this},ls=function(e,t,r,n){var o=t+" Iterator";return e.prototype=is(os,{next:as(+!n,r)}),ss(e,o,!1),us[o]=cs,e},fs=Oo,ps=C,hs=le,ds=ls,ys=za,ms=Ki,gs=ns,vs=vr,bs=An,ws=Ua,Ss=Rr.PROPER,xs=Rr.CONFIGURABLE,Es=Za.IteratorPrototype,As=Za.BUGGY_SAFARI_ITERATORS,Rs=Ot("iterator"),Os="keys",Ps="values",ks="entries",js=function(){return this},Ts=function(e,t,r,n,o,i,a){ds(r,t,n);var s,u,c,l=function(e){if(e===o&&y)return y;if(!As&&e&&e in h)return h[e];switch(e){case Os:case Ps:case ks:return function(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",p=!1,h=e.prototype,d=h[Rs]||h["@@iterator"]||o&&h[o],y=!As&&d||l(o),m="Array"===t&&h.entries||d;if(m&&(s=ys(m.call(new e)))!==Object.prototype&&s.next&&(ys(s)!==Es&&(ms?ms(s,Es):hs(s[Rs])||bs(s,Rs,js)),gs(s,f,!0)),Ss&&o===Ps&&d&&d.name!==Ps&&(xs?vs(h,"name",Ps):(p=!0,y=function(){return ps(d,this)})),o)if(u={values:l(Ps),keys:i?y:l(Os),entries:l(ks)},a)for(c in u)(As||p||!(c in h))&&bs(h,c,u[c]);else fs({target:t,proto:!0,forced:As||p},u);return h[Rs]!==y&&bs(h,Rs,y,{name:o}),ws[t]=y,u},Is=function(e,t){return{value:e,done:t}},Ns=ue,_s=function(e){Ia[Ta][e]=!0},Cs=Ua,Us=Zr,Ls=Zt.f,Fs=Ts,Ds=Is,Bs=T,Ms="Array Iterator",qs=Us.set,Ws=Us.getterFor(Ms),Gs=Fs(Array,"Array",function(e,t){qs(this,{type:Ms,target:Ns(e),index:0,kind:t})},function(){var e=Ws(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,Ds(void 0,!0);switch(e.kind){case"keys":return Ds(r,!1);case"values":return Ds(t[r],!1)}return Ds([r,t[r]],!1)},"values"),zs=Cs.Arguments=Cs.Array;if(_s("keys"),_s("values"),_s("entries"),Bs&&"values"!==zs.name)try{Ls(zs,"name",{value:"values"})}catch(e){}var Hs=$,$s=An,Vs=Date.prototype,Ks="Invalid Date",Ys="toString",Js=Hs(Vs[Ys]),Qs=Hs(Vs.getTime);String(new Date(NaN))!==Ks&&$s(Vs,Ys,function(){var e=Qs(this);return e==e?Js(this):Ks});var Xs=Wo,Zs=Uo?{}.toString:function(){return"[object "+Xs(this)+"]"};Uo||An(Object.prototype,"toString",Zs,{unsafe:!0});var eu,tu=Wo,ru=String,nu=function(e){if("Symbol"===tu(e))throw new TypeError("Cannot convert a Symbol value to a string");return ru(e)},ou="\t\n\v\f\r                 \u2028\u2029\ufeff",iu=ie,au=nu,su=ou,uu=$("".replace),cu=RegExp("^["+su+"]+"),lu=RegExp("(^|[^"+su+"])["+su+"]+$"),fu={trim:(eu=3,function(e){var t=au(iu(e));return 1&eu&&(t=uu(t,cu,"")),2&eu&&(t=uu(t,lu,"$1")),t})},pu=P,hu=j,du=nu,yu=fu.trim,mu=ou,gu=$("".charAt),vu=pu.parseFloat,bu=pu.Symbol,wu=bu&&bu.iterator,Su=1/vu(mu+"-0")!=-1/0||wu&&!hu(function(){vu(Object(wu))})?function(e){var t=yu(du(e)),r=vu(t);return 0===r&&"-"===gu(t,0)?-0:r}:vu;Oo({global:!0,forced:parseFloat!==Su},{parseFloat:Su});var xu=or,Eu=function(){var e=xu(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},Au=j,Ru=P.RegExp,Ou=Au(function(){var e=Ru("a","y");return e.lastIndex=2,null!==e.exec("abcd")});Ou||Au(function(){return!Ru("a","y").sticky});var Pu,ku,ju={BROKEN_CARET:Ou||Au(function(){var e=Ru("^r","gy");return e.lastIndex=2,null!==e.exec("str")})},Tu=j,Iu=P.RegExp,Nu=Tu(function(){var e=Iu(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}),_u=j,Cu=P.RegExp,Uu=_u(function(){var e=Cu("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),Lu=C,Fu=$,Du=nu,Bu=Eu,Mu=ju,qu=Oa,Wu=Zr.get,Gu=Nu,zu=Uu,Hu=at("native-string-replace",String.prototype.replace),$u=RegExp.prototype.exec,Vu=$u,Ku=Fu("".charAt),Yu=Fu("".indexOf),Ju=Fu("".replace),Qu=Fu("".slice),Xu=(ku=/b*/g,Lu($u,Pu=/a/,"a"),Lu($u,ku,"a"),0!==Pu.lastIndex||0!==ku.lastIndex),Zu=Mu.BROKEN_CARET,ec=void 0!==/()??/.exec("")[1];(Xu||ec||Zu||Gu||zu)&&(Vu=function(e){var t,r,n,o,i,a,s,u=this,c=Wu(u),l=Du(e),f=c.raw;if(f)return f.lastIndex=u.lastIndex,t=Lu(Vu,f,l),u.lastIndex=f.lastIndex,t;var p=c.groups,h=Zu&&u.sticky,d=Lu(Bu,u),y=u.source,m=0,g=l;if(h&&(d=Ju(d,"y",""),-1===Yu(d,"g")&&(d+="g"),g=Qu(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==Ku(l,u.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),ec&&(r=new RegExp("^"+y+"$(?!\\s)",d)),Xu&&(n=u.lastIndex),o=Lu($u,h?r:u,g),h?o?(o.input=Qu(o.input,m),o[0]=Qu(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Xu&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),ec&&o&&o.length>1&&Lu(Hu,o[0],r,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&p)for(o.groups=a=qu(null),i=0;i<p.length;i++)a[(s=p[i])[0]]=o[s[1]];return o});var tc=Vu;Oo({target:"RegExp",proto:!0,forced:/./.exec!==tc},{exec:tc});var rc=j,nc=P.RegExp,oc=!rc(function(){var e=!0;try{nc(".","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(nc.prototype,"flags").get.call(t)!==n||r!==n}),ic=C,ac=pt,sc=me,uc={correct:oc},cc=Eu,lc=RegExp.prototype,fc=uc.correct?function(e){return e.flags}:function(e){return uc.correct||!sc(lc,e)||ac(e,"flags")?e.flags:ic(cc,e)},pc=Rr.PROPER,hc=An,dc=or,yc=nu,mc=j,gc=fc,vc="toString",bc=RegExp.prototype,wc=bc[vc],Sc=mc(function(){return"/a/b"!==wc.call({source:"a",flags:"b"})}),xc=pc&&wc.name!==vc;(Sc||xc)&&hc(bc,vc,function(){var e=dc(this);return"/"+yc(e.source)+"/"+yc(gc(e))},{unsafe:!0});var Ec=$,Ac=jn,Rc=nu,Oc=ie,Pc=Ec("".charAt),kc=Ec("".charCodeAt),jc=Ec("".slice),Tc=function(e){return function(t,r){var n,o,i=Rc(Oc(t)),a=Ac(r),s=i.length;return a<0||a>=s?e?"":void 0:(n=kc(i,a))<55296||n>56319||a+1===s||(o=kc(i,a+1))<56320||o>57343?e?Pc(i,a):n:e?jc(i,a,a+2):o-56320+(n-55296<<10)+65536}},Ic={codeAt:Tc(!1),charAt:Tc(!0)},Nc=Ic.charAt,_c=nu,Cc=Zr,Uc=Ts,Lc=Is,Fc="String Iterator",Dc=Cc.set,Bc=Cc.getterFor(Fc);Uc(String,"String",function(e){Dc(this,{type:Fc,string:_c(e),index:0})},function(){var e,t=Bc(this),r=t.string,n=t.index;return n>=r.length?Lc(void 0,!0):(e=Nc(r,n),t.index+=e.length,Lc(e,!1))});var Mc=I,qc=Function.prototype,Wc=qc.apply,Gc=qc.call,zc="object"==typeof Reflect&&Reflect.apply||(Mc?Gc.bind(Wc):function(){return Gc.apply(Wc,arguments)}),Hc=C,$c=An,Vc=tc,Kc=j,Yc=Ot,Jc=vr,Qc=Yc("species"),Xc=RegExp.prototype,Zc=function(e,t,r,n){var o=Yc(e),i=!Kc(function(){var t={};return t[o]=function(){return 7},7!==""[e](t)}),a=i&&!Kc(function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[Qc]=function(){return r},r.flags="",r[o]=/./[o]),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===Vc||a===Xc.exec?i&&!o?{done:!0,value:Hc(s,t,r,n)}:{done:!0,value:Hc(e,r,t,n)}:{done:!1}});$c(String.prototype,e,u[0]),$c(Xc,o,u[1])}n&&Jc(Xc[o],"sham",!0)},el=Ic.charAt,tl=function(e,t,r){return t+(r?el(e,t).length:1)},rl=$,nl=ct,ol=Math.floor,il=rl("".charAt),al=rl("".replace),sl=rl("".slice),ul=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,cl=/\$([$&'`]|\d{1,2})/g,ll=C,fl=or,pl=le,hl=J,dl=tc,yl=TypeError,ml=function(e,t){var r=e.exec;if(pl(r)){var n=ll(r,e,t);return null!==n&&fl(n),n}if("RegExp"===hl(e))return ll(dl,e,t);throw new yl("RegExp#exec called on incompatible receiver")},gl=zc,vl=C,bl=$,wl=Zc,Sl=j,xl=or,El=le,Al=pe,Rl=jn,Ol=Ln,Pl=nu,kl=ie,jl=tl,Tl=He,Il=function(e,t,r,n,o,i){var a=r+e.length,s=n.length,u=cl;return void 0!==o&&(o=nl(o),u=ul),al(i,u,function(i,u){var c;switch(il(u,0)){case"$":return"$";case"&":return e;case"`":return sl(t,0,r);case"'":return sl(t,a);case"<":c=o[sl(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var f=ol(l/10);return 0===f?i:f<=s?void 0===n[f-1]?il(u,1):n[f-1]+il(u,1):i}c=n[l-1]}return void 0===c?"":c})},Nl=fc,_l=ml,Cl=Ot("replace"),Ul=Math.max,Ll=Math.min,Fl=bl([].concat),Dl=bl([].push),Bl=bl("".indexOf),Ml=bl("".slice),ql=function(e){return void 0===e?e:String(e)},Wl="$0"==="a".replace(/./,"$0"),Gl=!!/./[Cl]&&""===/./[Cl]("a","$0");wl("replace",function(e,t,r){var n=Gl?"$":"$0";return[function(e,r){var n=kl(this),o=Al(e)?Tl(e,Cl):void 0;return o?vl(o,e,n,r):vl(t,Pl(n),e,r)},function(e,o){var i=xl(this),a=Pl(e);if("string"==typeof o&&-1===Bl(o,n)&&-1===Bl(o,"$<")){var s=r(t,i,a,o);if(s.done)return s.value}var u=El(o);u||(o=Pl(o));var c,l=Pl(Nl(i)),f=-1!==Bl(l,"g");f&&(c=-1!==Bl(l,"u"),i.lastIndex=0);for(var p,h=[];null!==(p=_l(i,a))&&(Dl(h,p),f);){""===Pl(p[0])&&(i.lastIndex=jl(a,Ol(i.lastIndex),c))}for(var d="",y=0,m=0;m<h.length;m++){for(var g,v=Pl((p=h[m])[0]),b=Ul(Ll(Rl(p.index),a.length),0),w=[],S=1;S<p.length;S++)Dl(w,ql(p[S]));var x=p.groups;if(u){var E=Fl([v],w,b,a);void 0!==x&&Dl(E,x),g=Pl(gl(o,void 0,E))}else g=Il(v,a,b,w,x,o);b>=y&&(d+=Ml(a,y,b)+g,y=b+v.length)}return d+Ml(a,y)}]},!!Sl(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!Wl||Gl);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},Hl=qt("span").classList,$l=Hl&&Hl.constructor&&Hl.constructor.prototype,Vl=$l===Object.prototype?void 0:$l,Kl=P,Yl=zl,Jl=Vl,Ql=Gs,Xl=vr,Zl=ns,ef=Ot("iterator"),tf=Ql.values,rf=function(e,t){if(e){if(e[ef]!==tf)try{Xl(e,ef,tf)}catch(t){e[ef]=tf}if(Zl(e,t,!0),Yl[t])for(var r in Ql)if(e[r]!==Ql[r])try{Xl(e,r,Ql[r])}catch(t){e[r]=Ql[r]}}};for(var nf in Yl)rf(Kl[nf]&&Kl[nf].prototype,nf);rf(Jl,"DOMTokenList");var of=j,af=T,sf=Ot("iterator"),uf=!of(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&&!af||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[sf]||"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}),cf=J,lf=$,ff=function(e){if("Function"===cf(e))return lf(e)},pf=We,hf=I,df=ff(ff.bind),yf=function(e,t){return pf(e),void 0===t?e:hf?df(e,t):function(){return e.apply(t,arguments)}},mf=me,gf=TypeError,vf=function(e,t){if(mf(t,e))return e;throw new gf("Incorrect invocation")},bf=T,wf=$,Sf=C,xf=j,Ef=oa,Af=Xn,Rf=U,Of=ct,Pf=te,kf=Object.assign,jf=Object.defineProperty,Tf=wf([].concat),If=!kf||xf(function(){if(bf&&1!==kf({b:1},kf(jf({},"a",{enumerable:!0,get:function(){jf(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!==kf({},e)[r]||Ef(kf({},t)).join("")!==n})?function(e,t){for(var r=Of(e),n=arguments.length,o=1,i=Af.f,a=Rf.f;n>o;)for(var s,u=Pf(arguments[o++]),c=i?Tf(Ef(u),i(u)):Ef(u),l=c.length,f=0;l>f;)s=c[f++],bf&&!Sf(a,u,s)||(r[s]=u[s]);return r}:kf,Nf=C,_f=or,Cf=He,Uf=or,Lf=function(e,t,r){var n,o;_f(e);try{if(!(n=Cf(e,"return"))){if("throw"===t)throw r;return r}n=Nf(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return _f(n),r},Ff=Ua,Df=Ot("iterator"),Bf=Array.prototype,Mf=Wo,qf=He,Wf=re,Gf=Ua,zf=Ot("iterator"),Hf=function(e){if(!Wf(e))return qf(e,zf)||qf(e,"@@iterator")||Gf[Mf(e)]},$f=C,Vf=We,Kf=or,Yf=De,Jf=Hf,Qf=TypeError,Xf=function(e,t){var r=arguments.length<2?Jf(e):t;if(Vf(r))return Kf($f(r,e));throw new Qf(Yf(e)+" is not iterable")},Zf=yf,ep=C,tp=ct,rp=function(e,t,r,n){try{return n?t(Uf(r)[0],r[1]):t(r)}catch(t){Lf(e,"throw",t)}},np=function(e){return void 0!==e&&(Ff.Array===e||Bf[Df]===e)},op=ti,ip=Dn,ap=_o,sp=Xf,up=Hf,cp=Array,lp=$([].slice),fp=$,pp=2147483647,hp=/[^\0-\u007E]/,dp=/[.\u3002\uFF0E\uFF61]/g,yp="Overflow: input needs wider integers to process",mp=RangeError,gp=fp(dp.exec),vp=Math.floor,bp=String.fromCharCode,wp=fp("".charCodeAt),Sp=fp([].join),xp=fp([].push),Ep=fp("".replace),Ap=fp("".split),Rp=fp("".toLowerCase),Op=function(e){return e+22+75*(e<26)},Pp=function(e,t,r){var n=0;for(e=r?vp(e/700):e>>1,e+=vp(e/t);e>455;)e=vp(e/35),n+=36;return vp(n+36*e/(e+38))},kp=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=wp(e,r++);if(o>=55296&&o<=56319&&r<n){var i=wp(e,r++);56320==(64512&i)?xp(t,((1023&o)<<10)+(1023&i)+65536):(xp(t,o),r--)}else xp(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&&xp(t,bp(n));var u=t.length,c=u;for(u&&xp(t,"-");c<o;){var l=pp;for(r=0;r<e.length;r++)(n=e[r])>=i&&n<l&&(l=n);var f=c+1;if(l-i>vp((pp-a)/f))throw new mp(yp);for(a+=(l-i)*f,i=l,r=0;r<e.length;r++){if((n=e[r])<i&&++a>pp)throw new mp(yp);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;xp(t,bp(Op(d+y%m))),p=vp(y/m),h+=36}xp(t,bp(Op(p))),s=Pp(a,f,c===u),a=0,c++}}a++,i++}return Sp(t,"")},jp=TypeError,Tp=function(e,t){if(e<t)throw new jp("Not enough arguments");return e},Ip=Oo,Np=$,_p=_n,Cp=RangeError,Up=String.fromCharCode,Lp=String.fromCodePoint,Fp=Np([].join);Ip({target:"String",stat:!0,arity:1,forced:!!Lp&&1!==Lp.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,o=0;n>o;){if(t=+arguments[o++],_p(t,1114111)!==t)throw new Cp(t+" is not a valid code point");r[o]=t<65536?Up(t):Up(55296+((t-=65536)>>10),t%1024+56320)}return Fp(r,"")}});var Dp=P,Bp=T,Mp=Object.getOwnPropertyDescriptor,qp=An,Wp=lp,Gp=Math.floor,zp=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=Gp(r/2),s=zp(Wp(e,0,a),t),u=zp(Wp(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},Hp=Oo,$p=P,Vp=function(e){if(!Bp)return Dp[e];var t=Mp(Dp,e);return t&&t.value},Kp=ye,Yp=C,Jp=$,Qp=T,Xp=uf,Zp=An,eh=ji,th=function(e,t,r){for(var n in t)qp(e,n,t[n],r);return e},rh=ns,nh=ls,oh=Zr,ih=vf,ah=le,sh=pt,uh=yf,ch=Wo,lh=or,fh=pe,ph=nu,hh=Oa,dh=q,yh=Xf,mh=Hf,gh=Is,vh=Tp,bh=zp,wh=Ot("iterator"),Sh="URLSearchParams",xh=Sh+"Iterator",Eh=oh.set,Ah=oh.getterFor(Sh),Rh=oh.getterFor(xh),Oh=Vp("fetch"),Ph=Vp("Request"),kh=Vp("Headers"),jh=Ph&&Ph.prototype,Th=kh&&kh.prototype,Ih=$p.TypeError,Nh=$p.encodeURIComponent,_h=String.fromCharCode,Ch=Kp("String","fromCodePoint"),Uh=parseInt,Lh=Jp("".charAt),Fh=Jp([].join),Dh=Jp([].push),Bh=Jp("".replace),Mh=Jp([].shift),qh=Jp([].splice),Wh=Jp("".split),Gh=Jp("".slice),zh=Jp(/./.exec),Hh=/\+/g,$h=/^[0-9a-f]+$/i,Vh=function(e,t){var r=Gh(e,t,t+2);return zh($h,r)?Uh(r,16):NaN},Kh=function(e){for(var t=0,r=128;r>0&&0!==(e&r);r>>=1)t++;return t},Yh=function(e){var t=null;switch(e.length){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 t>1114111?null:t},Jh=function(e){for(var t=(e=Bh(e,Hh," ")).length,r="",n=0;n<t;){var o=Lh(e,n);if("%"===o){if("%"===Lh(e,n+1)||n+3>t){r+="%",n++;continue}var i=Vh(e,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=Kh(i);if(0===a)o=_h(i);else{if(1===a||a>4){r+="�",n++;continue}for(var s=[i],u=1;u<a&&!(++n+3>t||"%"!==Lh(e,n));){var c=Vh(e,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;Dh(s,c),n+=2,u++}if(s.length!==a){r+="�";continue}var l=Yh(s);null===l?r+="�":o=Ch(l)}}r+=o,n++}return r},Qh=/[!'()~]|%20/g,Xh={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Zh=function(e){return Xh[e]},ed=function(e){return Bh(Nh(e),Qh,Zh)},td=nh(function(e,t){Eh(this,{type:xh,target:Ah(e).entries,index:0,kind:t})},Sh,function(){var e=Rh(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,gh(void 0,!0);var n=t[r];switch(e.kind){case"keys":return gh(n.key,!1);case"values":return gh(n.value,!1)}return gh([n.key,n.value],!1)},!0),rd=function(e){this.entries=[],this.url=null,void 0!==e&&(fh(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Lh(e,0)?Gh(e,1):e:ph(e)))};rd.prototype={type:Sh,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,a,s,u=this.entries,c=mh(e);if(c)for(r=(t=yh(e,c)).next;!(n=Yp(r,t)).done;){if(i=(o=yh(lh(n.value))).next,(a=Yp(i,o)).done||(s=Yp(i,o)).done||!Yp(i,o).done)throw new Ih("Expected sequence with length 2");Dh(u,{key:ph(a.value),value:ph(s.value)})}else for(var l in e)sh(e,l)&&Dh(u,{key:l,value:ph(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,o=Wh(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(r=Wh(t,"="),Dh(n,{key:Jh(Mh(r)),value:Jh(Fh(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Dh(r,ed(e.key)+"="+ed(e.value));return Fh(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var nd=function(){ih(this,od);var e=Eh(this,new rd(arguments.length>0?arguments[0]:void 0));Qp||(this.size=e.entries.length)},od=nd.prototype;if(th(od,{append:function(e,t){var r=Ah(this);vh(arguments.length,2),Dh(r.entries,{key:ph(e),value:ph(t)}),Qp||this.length++,r.updateURL()},delete:function(e){for(var t=Ah(this),r=vh(arguments.length,1),n=t.entries,o=ph(e),i=r<2?void 0:arguments[1],a=void 0===i?i:ph(i),s=0;s<n.length;){var u=n[s];if(u.key!==o||void 0!==a&&u.value!==a)s++;else if(qh(n,s,1),void 0!==a)break}Qp||(this.size=n.length),t.updateURL()},get:function(e){var t=Ah(this).entries;vh(arguments.length,1);for(var r=ph(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=Ah(this).entries;vh(arguments.length,1);for(var r=ph(e),n=[],o=0;o<t.length;o++)t[o].key===r&&Dh(n,t[o].value);return n},has:function(e){for(var t=Ah(this).entries,r=vh(arguments.length,1),n=ph(e),o=r<2?void 0:arguments[1],i=void 0===o?o:ph(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=Ah(this);vh(arguments.length,1);for(var n,o=r.entries,i=!1,a=ph(e),s=ph(t),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?qh(o,u--,1):(i=!0,n.value=s));i||Dh(o,{key:a,value:s}),Qp||(this.size=o.length),r.updateURL()},sort:function(){var e=Ah(this);bh(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=Ah(this).entries,n=uh(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 td(this,"keys")},values:function(){return new td(this,"values")},entries:function(){return new td(this,"entries")}},{enumerable:!0}),Zp(od,wh,od.entries,{name:"entries"}),Zp(od,"toString",function(){return Ah(this).serialize()},{enumerable:!0}),Qp&&eh(od,"size",{get:function(){return Ah(this).entries.length},configurable:!0,enumerable:!0}),rh(nd,Sh),Hp({global:!0,constructor:!0,forced:!Xp},{URLSearchParams:nd}),!Xp&&ah(kh)){var id=Jp(Th.has),ad=Jp(Th.set),sd=function(e){if(fh(e)){var t,r=e.body;if(ch(r)===Sh)return t=e.headers?new kh(e.headers):new kh,id(t,"content-type")||ad(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),hh(e,{body:dh(0,ph(r)),headers:dh(0,t)})}return e};if(ah(Oh)&&Hp({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return Oh(e,arguments.length>1?sd(arguments[1]):{})}}),ah(Ph)){var ud=function(e){return ih(this,jh),new Ph(e,arguments.length>1?sd(arguments[1]):{})};jh.constructor=ud,ud.prototype=jh,Hp({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ud})}}var cd,ld=Oo,fd=T,pd=uf,hd=P,dd=yf,yd=$,md=An,gd=ji,vd=vf,bd=pt,wd=If,Sd=function(e){var t=tp(e),r=op(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Zf(o,n>2?arguments[2]:void 0));var a,s,u,c,l,f,p=up(t),h=0;if(!p||this===cp&&np(p))for(a=ip(t),s=r?new this(a):cp(a);a>h;h++)f=i?o(t[h],h):t[h],ap(s,h,f);else for(s=r?new this:[],l=(c=sp(t,p)).next;!(u=ep(l,c)).done;h++)f=i?rp(c,o,[u.value,h],!0):u.value,ap(s,h,f);return s.length=h,s},xd=lp,Ed=Ic.codeAt,Ad=function(e){var t,r,n=[],o=Ap(Ep(Rp(e),dp,"."),".");for(t=0;t<o.length;t++)r=o[t],xp(n,gp(hp,r)?"xn--"+kp(r):r);return Sp(n,".")},Rd=nu,Od=ns,Pd=Tp,kd={URLSearchParams:nd,getState:Ah},jd=Zr,Td=jd.set,Id=jd.getterFor("URL"),Nd=kd.URLSearchParams,_d=kd.getState,Cd=hd.URL,Ud=hd.TypeError,Ld=hd.parseInt,Fd=Math.floor,Dd=Math.pow,Bd=yd("".charAt),Md=yd(/./.exec),qd=yd([].join),Wd=yd(1.1.toString),Gd=yd([].pop),zd=yd([].push),Hd=yd("".replace),$d=yd([].shift),Vd=yd("".split),Kd=yd("".slice),Yd=yd("".toLowerCase),Jd=yd([].unshift),Qd="Invalid scheme",Xd="Invalid host",Zd="Invalid port",ey=/[a-z]/i,ty=/[\d+-.a-z]/i,ry=/\d/,ny=/^0x/i,oy=/^[0-7]+$/,iy=/^\d+$/,ay=/^[\da-f]+$/i,sy=/[\0\t\n\r #%/:<>?@[\\\]^|]/,uy=/[\0\t\n\r #/:<>?@[\\\]^|]/,cy=/^[\u0000-\u0020]+/,ly=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,fy=/[\t\n\r]/g,py=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)Jd(t,e%256),e=Fd(e/256);return qd(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+=Wd(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},hy={},dy=wd({},hy,{" ":1,'"':1,"<":1,">":1,"`":1}),yy=wd({},dy,{"#":1,"?":1,"{":1,"}":1}),my=wd({},yy,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),gy=function(e,t){var r=Ed(e,0);return r>32&&r<127&&!bd(t,e)?e:encodeURIComponent(e)},vy={ftp:21,file:null,http:80,https:443,ws:80,wss:443},by=function(e,t){var r;return 2===e.length&&Md(ey,Bd(e,0))&&(":"===(r=Bd(e,1))||!t&&"|"===r)},wy=function(e){var t;return e.length>1&&by(Kd(e,0,2))&&(2===e.length||"/"===(t=Bd(e,2))||"\\"===t||"?"===t||"#"===t)},Sy=function(e){return"."===e||"%2e"===Yd(e)},xy=function(e){return".."===(e=Yd(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},Ey={},Ay={},Ry={},Oy={},Py={},ky={},jy={},Ty={},Iy={},Ny={},_y={},Cy={},Uy={},Ly={},Fy={},Dy={},By={},My={},qy={},Wy={},Gy={},zy=function(e,t,r){var n,o,i,a=Rd(e);if(t){if(o=this.parse(a))throw new Ud(o);this.searchParams=null}else{if(void 0!==r&&(n=new zy(r,!0)),o=this.parse(a,null,n))throw new Ud(o);(i=_d(new Nd)).bindURL(this),this.searchParams=i}};zy.prototype={type:"URL",parse:function(e,t,r){var n,o,i,a,s=this,u=t||Ey,c=0,l="",f=!1,p=!1,h=!1;for(e=Rd(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=Hd(e,cy,""),e=Hd(e,ly,"$1")),e=Hd(e,fy,""),n=Sd(e);c<=n.length;){switch(o=n[c],u){case Ey:if(!o||!Md(ey,o)){if(t)return Qd;u=Ry;continue}l+=Yd(o),u=Ay;break;case Ay:if(o&&(Md(ty,o)||"+"===o||"-"===o||"."===o))l+=Yd(o);else{if(":"!==o){if(t)return Qd;l="",u=Ry,c=0;continue}if(t&&(s.isSpecial()!==bd(vy,l)||"file"===l&&(s.includesCredentials()||null!==s.port)||"file"===s.scheme&&!s.host))return;if(s.scheme=l,t)return void(s.isSpecial()&&vy[s.scheme]===s.port&&(s.port=null));l="","file"===s.scheme?u=Ly:s.isSpecial()&&r&&r.scheme===s.scheme?u=Oy:s.isSpecial()?u=Ty:"/"===n[c+1]?(u=Py,c++):(s.cannotBeABaseURL=!0,zd(s.path,""),u=qy)}break;case Ry:if(!r||r.cannotBeABaseURL&&"#"!==o)return Qd;if(r.cannotBeABaseURL&&"#"===o){s.scheme=r.scheme,s.path=xd(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,u=Gy;break}u="file"===r.scheme?Ly:ky;continue;case Oy:if("/"!==o||"/"!==n[c+1]){u=ky;continue}u=Iy,c++;break;case Py:if("/"===o){u=Ny;break}u=My;continue;case ky:if(s.scheme=r.scheme,o===cd)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=xd(r.path),s.query=r.query;else if("/"===o||"\\"===o&&s.isSpecial())u=jy;else if("?"===o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=xd(r.path),s.query="",u=Wy;else{if("#"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=xd(r.path),s.path.length--,u=My;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=xd(r.path),s.query=r.query,s.fragment="",u=Gy}break;case jy:if(!s.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,u=My;continue}u=Ny}else u=Iy;break;case Ty:if(u=Iy,"/"!==o||"/"!==Bd(l,c+1))continue;c++;break;case Iy:if("/"!==o&&"\\"!==o){u=Ny;continue}break;case Ny:if("@"===o){f&&(l="%40"+l),f=!0,i=Sd(l);for(var d=0;d<i.length;d++){var y=i[d];if(":"!==y||h){var m=gy(y,my);h?s.password+=m:s.username+=m}else h=!0}l=""}else if(o===cd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(f&&""===l)return"Invalid authority";c-=Sd(l).length+1,l="",u=_y}else l+=o;break;case _y:case Cy:if(t&&"file"===s.scheme){u=Dy;continue}if(":"!==o||p){if(o===cd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(s.isSpecial()&&""===l)return Xd;if(t&&""===l&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(l))return a;if(l="",u=By,t)return;continue}"["===o?p=!0:"]"===o&&(p=!1),l+=o}else{if(""===l)return Xd;if(a=s.parseHost(l))return a;if(l="",u=Uy,t===Cy)return}break;case Uy:if(!Md(ry,o)){if(o===cd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()||t){if(""!==l){var g=Ld(l,10);if(g>65535)return Zd;s.port=s.isSpecial()&&g===vy[s.scheme]?null:g,l=""}if(t)return;u=By;continue}return Zd}l+=o;break;case Ly:if(s.scheme="file","/"===o||"\\"===o)u=Fy;else{if(!r||"file"!==r.scheme){u=My;continue}switch(o){case cd:s.host=r.host,s.path=xd(r.path),s.query=r.query;break;case"?":s.host=r.host,s.path=xd(r.path),s.query="",u=Wy;break;case"#":s.host=r.host,s.path=xd(r.path),s.query=r.query,s.fragment="",u=Gy;break;default:wy(qd(xd(n,c),""))||(s.host=r.host,s.path=xd(r.path),s.shortenPath()),u=My;continue}}break;case Fy:if("/"===o||"\\"===o){u=Dy;break}r&&"file"===r.scheme&&!wy(qd(xd(n,c),""))&&(by(r.path[0],!0)?zd(s.path,r.path[0]):s.host=r.host),u=My;continue;case Dy:if(o===cd||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&by(l))u=My;else if(""===l){if(s.host="",t)return;u=By}else{if(a=s.parseHost(l))return a;if("localhost"===s.host&&(s.host=""),t)return;l="",u=By}continue}l+=o;break;case By:if(s.isSpecial()){if(u=My,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==cd&&(u=My,"/"!==o))continue}else s.fragment="",u=Gy;else s.query="",u=Wy;break;case My:if(o===cd||"/"===o||"\\"===o&&s.isSpecial()||!t&&("?"===o||"#"===o)){if(xy(l)?(s.shortenPath(),"/"===o||"\\"===o&&s.isSpecial()||zd(s.path,"")):Sy(l)?"/"===o||"\\"===o&&s.isSpecial()||zd(s.path,""):("file"===s.scheme&&!s.path.length&&by(l)&&(s.host&&(s.host=""),l=Bd(l,0)+":"),zd(s.path,l)),l="","file"===s.scheme&&(o===cd||"?"===o||"#"===o))for(;s.path.length>1&&""===s.path[0];)$d(s.path);"?"===o?(s.query="",u=Wy):"#"===o&&(s.fragment="",u=Gy)}else l+=gy(o,yy);break;case qy:"?"===o?(s.query="",u=Wy):"#"===o?(s.fragment="",u=Gy):o!==cd&&(s.path[0]+=gy(o,hy));break;case Wy:t||"#"!==o?o!==cd&&("'"===o&&s.isSpecial()?s.query+="%27":s.query+="#"===o?"%23":gy(o,hy)):(s.fragment="",u=Gy);break;case Gy:o!==cd&&(s.fragment+=gy(o,dy))}c++}},parseHost:function(e){var t,r,n;if("["===Bd(e,0)){if("]"!==Bd(e,e.length-1))return Xd;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 Bd(e,f)};if(":"===p()){if(":"!==Bd(e,1))return;f+=2,l=++c}for(;p();){if(8===c)return;if(":"!==p()){for(t=r=0;r<4&&Md(ay,p());)t=16*t+Ld(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(!Md(ry,p()))return;for(;Md(ry,p());){if(i=Ld(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}(Kd(e,1,-1)),!t)return Xd;this.host=t}else if(this.isSpecial()){if(e=Ad(e),Md(sy,e))return Xd;if(t=function(e){var t,r,n,o,i,a,s,u=Vd(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(o=u[n]))return e;if(i=10,o.length>1&&"0"===Bd(o,0)&&(i=Md(ny,o)?16:8,o=Kd(o,8===i?1:2)),""===o)a=0;else{if(!Md(10===i?iy:8===i?oy:ay,o))return e;a=Ld(o,i)}zd(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=Dd(256,5-t))return null}else if(a>255)return null;for(s=Gd(r),n=0;n<r.length;n++)s+=r[n]*Dd(256,3-n);return s}(e),null===t)return Xd;this.host=t}else{if(Md(uy,e))return Xd;for(t="",r=Sd(e),n=0;n<r.length;n++)t+=gy(r[n],hy);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return bd(vy,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&by(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+=py(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+qd(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw new Ud(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Hy(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+py(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Rd(e)+":",Ey)},getUsername:function(){return this.username},setUsername:function(e){var t=Sd(Rd(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=gy(t[r],my)}},getPassword:function(){return this.password},setPassword:function(e){var t=Sd(Rd(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=gy(t[r],my)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?py(e):py(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,_y)},getHostname:function(){var e=this.host;return null===e?"":py(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Cy)},getPort:function(){var e=this.port;return null===e?"":Rd(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=Rd(e))?this.port=null:this.parse(e,Uy))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+qd(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,By))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=Rd(e))?this.query=null:("?"===Bd(e,0)&&(e=Kd(e,1)),this.query="",this.parse(e,Wy)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=Rd(e))?("#"===Bd(e,0)&&(e=Kd(e,1)),this.fragment="",this.parse(e,Gy)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Hy=function(e){var t=vd(this,$y),r=Pd(arguments.length,1)>1?arguments[1]:void 0,n=Td(t,new zy(e,!1,r));fd||(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())},$y=Hy.prototype,Vy=function(e,t){return{get:function(){return Id(this)[e]()},set:t&&function(e){return Id(this)[t](e)},configurable:!0,enumerable:!0}};if(fd&&(gd($y,"href",Vy("serialize","setHref")),gd($y,"origin",Vy("getOrigin")),gd($y,"protocol",Vy("getProtocol","setProtocol")),gd($y,"username",Vy("getUsername","setUsername")),gd($y,"password",Vy("getPassword","setPassword")),gd($y,"host",Vy("getHost","setHost")),gd($y,"hostname",Vy("getHostname","setHostname")),gd($y,"port",Vy("getPort","setPort")),gd($y,"pathname",Vy("getPathname","setPathname")),gd($y,"search",Vy("getSearch","setSearch")),gd($y,"searchParams",Vy("getSearchParams")),gd($y,"hash",Vy("getHash","setHash"))),md($y,"toJSON",function(){return Id(this).serialize()},{enumerable:!0}),md($y,"toString",function(){return Id(this).serialize()},{enumerable:!0}),Cd){var Ky=Cd.createObjectURL,Yy=Cd.revokeObjectURL;Ky&&md(Hy,"createObjectURL",dd(Ky,Cd)),Yy&&md(Hy,"revokeObjectURL",dd(Yy,Cd))}Od(Hy,"URL"),ld({global:!0,constructor:!0,forced:!pd,sham:!fd},{URL:Hy});var Jy=C;Oo({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return Jy(URL.prototype.toString,this)}});var Qy=yf,Xy=te,Zy=ct,em=Dn,tm=ui,rm=$([].push),nm=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,f){for(var p,h,d=Zy(u),y=Xy(d),m=em(y),g=Qy(c,l),v=0,b=f||tm,w=t?b(u,m):r||a?b(u,0):void 0;m>v;v++)if((s||v in y)&&(h=g(p=y[v],v,d),e))if(t)w[v]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return v;case 2:rm(w,p)}else switch(e){case 4:return!1;case 7:rm(w,p)}return i?-1:n||o?o:w}},om={forEach:nm(0),map:nm(1),every:nm(4)},im=om.map;Oo({target:"Array",proto:!0,forced:!pi("map")},{map:function(e){return im(this,e,arguments.length>1?arguments[1]:void 0)}});var am=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")},sm=function(){return u(function e(t,r){a(this,e),this.client=t,this.guestSpaceId=r},[{key:"buildPathWithGuestSpaceId",value:function(e){return am(d(d({},e),{},{guestSpaceId:this.guestSpaceId}))}},{key:"buildPath",value:function(e){return am(e)}}])}(),um=["endpointName"],cm=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,um);return d({api:t.buildPathWithGuestSpaceId({endpointName:r})},n)}return e}),n=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(n,{requests:r})}}])}(sm),lm=["preview"],fm=["preview"],pm=["preview"],hm=["preview"],dm=["preview"],ym=["preview"],mm=["preview"],gm=["preview"],vm=["preview"],bm=["preview"],wm=["preview"],Sm=["preview"],xm=["preview"],Em=["preview"],Am=["preview"],Rm=["preview"],Om=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,lm),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,fm),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,hm),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,dm),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,ym),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,mm),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,gm),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,vm),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,bm),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,wm),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,Sm),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,xm),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,Em),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,Am),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,Rm),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}(sm),Pm=j,km=function(e,t){var r=[][e];return!!r&&Pm(function(){r.call(null,t||function(){return 1},1)})},jm=om.every;Oo({target:"Array",proto:!0,forced:!km("every")},{every:function(e){return jm(this,e,arguments.length>1?arguments[1]:void 0)}});var Tm=Oo,Im=Wn.indexOf,Nm=km,_m=ff([].indexOf),Cm=!!_m&&1/_m([1],1,-0)<0;Tm({target:"Array",proto:!0,forced:Cm||!Nm("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Cm?_m(this,e,t)||0:Im(this,e,t)}}),Oo({target:"Array",stat:!0},{isArray:ko});var Um,Lm=We,Fm=ct,Dm=te,Bm=Dn,Mm=TypeError,qm="Reduce of empty array with no initial value",Wm={left:(Um=!1,function(e,t,r,n){var o=Fm(e),i=Dm(o),a=Bm(o);if(Lm(t),0===a&&r<2)throw new Mm(qm);var s=Um?a-1:0,u=Um?-1:1;if(r<2)for(;;){if(s in i){n=i[s],s+=u;break}if(s+=u,Um?s<0:a<=s)throw new Mm(qm)}for(;Um?s>=0:a>s;s+=u)s in i&&(n=t(n,i[s],s,o));return n})},Gm=P,zm=be,Hm=J,$m=function(e){return zm.slice(0,e.length)===e},Vm=$m("Bun/")?"BUN":$m("Cloudflare-Workers")?"CLOUDFLARE":$m("Deno/")?"DENO":$m("Node.js/")?"NODE":Gm.Bun&&"string"==typeof Bun.version?"BUN":Gm.Deno&&"object"==typeof Deno.version?"DENO":"process"===Hm(Gm.process)?"NODE":Gm.window&&Gm.document?"BROWSER":"REST",Km=Wm.left;Oo({target:"Array",proto:!0,forced:!("NODE"===Vm)&&Oe>79&&Oe<83||!km("reduce")},{reduce:function(e){var t=arguments.length;return Km(this,e,t,t>1?arguments[1]:void 0)}});var Ym=Oo,Jm=ko,Qm=ti,Xm=pe,Zm=_n,eg=Dn,tg=ue,rg=_o,ng=Ot,og=lp,ig=pi("slice"),ag=ng("species"),sg=Array,ug=Math.max;Ym({target:"Array",proto:!0,forced:!ig},{slice:function(e,t){var r,n,o,i=tg(this),a=eg(i),s=Zm(e,a),u=Zm(void 0===t?a:t,a);if(Jm(i)&&(r=i.constructor,(Qm(r)&&(r===sg||Jm(r.prototype))||Xm(r)&&null===(r=r[ag]))&&(r=void 0),r===sg||void 0===r))return og(i,s,u);for(n=new(void 0===r?sg:r)(ug(u-s,0)),o=0;s<u;s++,o++)s in i&&rg(n,o,i[s]);return n.length=o,n}});var cg=P,lg=le,fg=pe,pg=Ki,hg=$(1.1.valueOf),dg=Oo,yg=T,mg=P,gg=cg,vg=$,bg=vo,wg=pt,Sg=function(e,t,r){var n,o;return pg&&lg(n=t.constructor)&&n!==r&&fg(o=n.prototype)&&o!==r.prototype&&pg(e,o),e},xg=me,Eg=Le,Ag=Ct,Rg=j,Og=Rn.f,Pg=k.f,kg=Zt.f,jg=hg,Tg=fu.trim,Ig="Number",Ng=mg[Ig];gg[Ig];var _g=Ng.prototype,Cg=mg.TypeError,Ug=vg("".slice),Lg=vg("".charCodeAt),Fg=function(e){var t,r,n,o,i,a,s,u,c=Ag(e,"number");if(Eg(c))throw new Cg("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=Tg(c),43===(t=Lg(c,0))||45===t){if(88===(r=Lg(c,2))||120===r)return NaN}else if(48===t){switch(Lg(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=Ug(c,2)).length,s=0;s<a;s++)if((u=Lg(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},Dg=bg(Ig,!Ng(" 0o1")||!Ng("0b1")||Ng("+0x1")),Bg=function(e){var t,r=arguments.length<1?0:Ng(function(e){var t=Ag(e,"number");return"bigint"==typeof t?t:Fg(t)}(e));return xg(_g,t=this)&&Rg(function(){jg(t)})?Sg(Object(r),this,Bg):r};Bg.prototype=_g,Dg&&(_g.constructor=Bg),dg({global:!0,constructor:!0,wrap:!0,forced:Dg},{Number:Bg});Dg&&function(e,t){for(var r,n=yg?Og(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++)wg(t,r=n[o])&&!wg(e,r)&&kg(e,r,Pg(t,r))}(gg[Ig],Ng);var Mg=If;Oo({target:"Object",stat:!0,arity:2,forced:Object.assign!==Mg},{assign:Mg});var qg=C,Wg=Zc,Gg=or,zg=pe,Hg=Ln,$g=nu,Vg=ie,Kg=He,Yg=tl,Jg=fc,Qg=ml,Xg=$("".indexOf);Wg("match",function(e,t,r){return[function(t){var r=Vg(this),n=zg(t)?Kg(t,e):void 0;return n?qg(n,t,r):new RegExp(t)[e]($g(r))},function(e){var n=Gg(this),o=$g(e),i=r(t,n,o);if(i.done)return i.value;var a=$g(Jg(n));if(-1===Xg(a,"g"))return Qg(n,o);var s=-1!==Xg(a,"u");n.lastIndex=0;for(var u,c=[],l=0;null!==(u=Qg(n,o));){var f=$g(u[0]);c[l]=f,""===f&&(n.lastIndex=Yg(o,Hg(n.lastIndex),s)),l++}return 0===l?null:c}]});var Zg=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)}(x(Error)),ev=om.forEach,tv=km("forEach")?[].forEach:function(e){return ev(this,e,arguments.length>1?arguments[1]:void 0)};Oo({target:"Array",proto:!0,forced:[].forEach!==tv},{forEach:tv});var rv=ct,nv=oa;Oo({target:"Object",stat:!0,forced:j(function(){nv(1)})},{keys:function(e){return nv(rv(e))}});var ov=P,iv=zl,av=Vl,sv=tv,uv=vr,cv=function(e){if(e&&e.forEach!==sv)try{uv(e,"forEach",sv)}catch(t){e.forEach=sv}};for(var lv in iv)iv[lv]&&cv(ov[lv]&&ov[lv].prototype);cv(av);var fv=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")}}])}(x(Error)),pv=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}}}])}(x(Error)),hv=["condition","orderBy","withCursor"],dv=["fields","condition"],yv=["condition","orderBy"],mv=500,gv=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:(E=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,hv),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 E.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(x=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,dv),(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(mv),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<mv)){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 x.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,yv),i=r?"".concat(r," "):"",a=[],s=0;case 1:return u="".concat(i).concat(n?"order by ".concat(n," "):"","limit ").concat(mv," 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<mv)){e.n=3;break}return e.a(3,4);case 3:s+=mv,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:mv}),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 fv({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 fv({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 fv({},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,x,E,A,R,O}(sm),vv=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)}}])}(sm),bv=A("object"==typeof self?self.FormData:window.FormData),wv=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 bv,!("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 Yi)){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}(sm),Sv=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)}}])}(sm),xv="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Ev(){throw new Error("setTimeout has not been defined")}function Av(){throw new Error("clearTimeout has not been defined")}var Rv=Ev,Ov=Av;function Pv(e){if(Rv===setTimeout)return setTimeout(e,0);if((Rv===Ev||!Rv)&&setTimeout)return Rv=setTimeout,setTimeout(e,0);try{return Rv(e,0)}catch(t){try{return Rv.call(null,e,0)}catch(t){return Rv.call(this,e,0)}}}"function"==typeof xv.setTimeout&&(Rv=setTimeout),"function"==typeof xv.clearTimeout&&(Ov=clearTimeout);var kv,jv=[],Tv=!1,Iv=-1;function Nv(){Tv&&kv&&(Tv=!1,kv.length?jv=kv.concat(jv):Iv=-1,jv.length&&_v())}function _v(){if(!Tv){var e=Pv(Nv);Tv=!0;for(var t=jv.length;t;){for(kv=jv,jv=[];++Iv<t;)kv&&kv[Iv].run();Iv=-1,t=jv.length}kv=null,Tv=!1,function(e){if(Ov===clearTimeout)return clearTimeout(e);if((Ov===Av||!Ov)&&clearTimeout)return Ov=clearTimeout,clearTimeout(e);try{return Ov(e)}catch(t){try{return Ov.call(null,e)}catch(t){return Ov.call(this,e)}}}(e)}}function Cv(e,t){this.fun=e,this.array=t}Cv.prototype.run=function(){this.fun.apply(null,this.array)};var Uv=xv.performance||{};Uv.now||Uv.mozNow||Uv.msNow||Uv.oNow||Uv.webkitNow;function Lv(e,t){return function(){return e.apply(t,arguments)}}const{toString:Fv}=Object.prototype,{getPrototypeOf:Dv}=Object,{iterator:Bv,toStringTag:Mv}=Symbol,qv=(Wv=Object.create(null),e=>{const t=Fv.call(e);return Wv[t]||(Wv[t]=t.slice(8,-1).toLowerCase())});var Wv;const Gv=e=>(e=e.toLowerCase(),t=>qv(t)===e),zv=e=>t=>typeof t===e,{isArray:Hv}=Array,$v=zv("undefined");function Vv(e){return null!==e&&!$v(e)&&null!==e.constructor&&!$v(e.constructor)&&Jv(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Kv=Gv("ArrayBuffer");const Yv=zv("string"),Jv=zv("function"),Qv=zv("number"),Xv=e=>null!==e&&"object"==typeof e,Zv=e=>{if("object"!==qv(e))return!1;const t=Dv(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Mv in e||Bv in e)},eb=Gv("Date"),tb=Gv("File"),rb=Gv("Blob"),nb=Gv("FileList"),ob=Gv("URLSearchParams"),[ib,ab,sb,ub]=["ReadableStream","Request","Response","Headers"].map(Gv);function cb(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]),Hv(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{if(Vv(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 lb(e,t){if(Vv(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 fb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:xv,pb=e=>!$v(e)&&e!==fb;const hb=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&Dv(Uint8Array)),db=Gv("HTMLFormElement"),yb=(e=>{let{hasOwnProperty:t}=e;return(e,r)=>t.call(e,r)})(Object.prototype),mb=Gv("RegExp"),gb=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};cb(r,(r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)}),Object.defineProperties(e,n)};const vb=Gv("AsyncFunction"),bb=(wb="function"==typeof setImmediate,Sb=Jv(fb.postMessage),wb?setImmediate:Sb?(xb=`axios@${Math.random()}`,Eb=[],fb.addEventListener("message",e=>{let{source:t,data:r}=e;t===fb&&r===xb&&Eb.length&&Eb.shift()()},!1),e=>{Eb.push(e),fb.postMessage(xb,"*")}):e=>setTimeout(e));var wb,Sb,xb,Eb;const Ab="undefined"!=typeof queueMicrotask?queueMicrotask.bind(fb):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];jv.push(new Cv(e,t)),1!==jv.length||Tv||Pv(_v)}||bb;var Rb={isArray:Hv,isArrayBuffer:Kv,isBuffer:Vv,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Jv(e.append)&&("formdata"===(t=qv(e))||"object"===t&&Jv(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Kv(e.buffer),t},isString:Yv,isNumber:Qv,isBoolean:e=>!0===e||!1===e,isObject:Xv,isPlainObject:Zv,isEmptyObject:e=>{if(!Xv(e)||Vv(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:ib,isRequest:ab,isResponse:sb,isHeaders:ub,isUndefined:$v,isDate:eb,isFile:tb,isBlob:rb,isRegExp:mb,isFunction:Jv,isStream:e=>Xv(e)&&Jv(e.pipe),isURLSearchParams:ob,isTypedArray:hb,isFileList:nb,forEach:cb,merge:function e(){const{caseless:t,skipUndefined:r}=pb(this)&&this||{},n={},o=(o,i)=>{const a=t&&lb(n,i)||i;Zv(n[a])&&Zv(o)?n[a]=e(n[a],o):Zv(o)?n[a]=e({},o):Hv(o)?n[a]=o.slice():r&&$v(o)||(n[a]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&cb(arguments[e],o);return n},extend:function(e,t,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return cb(t,(t,n)=>{r&&Jv(t)?e[n]=Lv(t,r):e[n]=t},{allOwnKeys:n}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,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&&Dv(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:qv,kindOfTest:Gv,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(Hv(e))return e;let t=e.length;if(!Qv(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Bv]).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:db,hasOwnProperty:yb,hasOwnProp:yb,reduceDescriptors:gb,freezeMethods:e=>{gb(e,(t,r)=>{if(Jv(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];Jv(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 Hv(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:lb,global:fb,isContextDefined:pb,isSpecCompliantForm:function(e){return!!(e&&Jv(e.append)&&"FormData"===e[Mv]&&e[Bv])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(Xv(e)){if(t.indexOf(e)>=0)return;if(Vv(e))return e;if(!("toJSON"in e)){t[n]=e;const o=Hv(e)?[]:{};return cb(e,(e,t)=>{const i=r(e,n+1);!$v(i)&&(o[t]=i)}),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:vb,isThenable:e=>e&&(Xv(e)||Jv(e))&&Jv(e.then)&&Jv(e.catch),setImmediate:bb,asap:Ab,isIterable:e=>null!=e&&Jv(e[Bv])},Ob=[],Pb=[],kb="undefined"!=typeof Uint8Array?Uint8Array:Array,jb=!1;function Tb(){jb=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Ob[t]=e[t],Pb[e.charCodeAt(t)]=t;Pb["-".charCodeAt(0)]=62,Pb["_".charCodeAt(0)]=63}function Ib(e){return Ob[e>>18&63]+Ob[e>>12&63]+Ob[e>>6&63]+Ob[63&e]}function Nb(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(Ib(n));return o.join("")}function _b(e){var t;jb||Tb();for(var r=e.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(Nb(e,s,s+a>u?u:s+a));return 1===n?(t=e[r-1],o+=Ob[t>>2],o+=Ob[t<<4&63],o+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],o+=Ob[t>>10],o+=Ob[t>>4&63],o+=Ob[t<<2&63],o+="="),i.push(o),i.join("")}function Cb(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 Ub(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 Lb={}.toString,Fb=Array.isArray||function(e){return"[object Array]"==Lb.call(e)};function Db(){return Mb.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Bb(e,t){if(Db()<t)throw new RangeError("Invalid typed array length");return Mb.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Mb.prototype:(null===e&&(e=new Mb(t)),e.length=t),e}function Mb(e,t,r){if(!(Mb.TYPED_ARRAY_SUPPORT||this instanceof Mb))return new Mb(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 Gb(this,e)}return qb(this,e,t,r)}function qb(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);Mb.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Mb.prototype:e=zb(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!Mb.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Vb(t,r);e=Bb(e,n);var o=e.write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if($b(t)){var r=0|Hb(t.length);return 0===(e=Bb(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?Bb(e,0):zb(e,t);if("Buffer"===t.type&&Fb(t.data))return zb(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Wb(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 Gb(e,t){if(Wb(t),e=Bb(e,t<0?0:0|Hb(t)),!Mb.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function zb(e,t){var r=t.length<0?0:0|Hb(t.length);e=Bb(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function Hb(e){if(e>=Db())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Db().toString(16)+" bytes");return 0|e}function $b(e){return!(null==e||!e._isBuffer)}function Vb(e,t){if($b(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 ww(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Sw(e).length;default:if(n)return ww(e).length;t=(""+t).toLowerCase(),n=!0}}function Kb(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 cw(this,t,r);case"utf8":case"utf-8":return iw(this,t,r);case"ascii":return sw(this,t,r);case"latin1":case"binary":return uw(this,t,r);case"base64":return ow(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lw(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function Yb(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function Jb(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=Mb.from(t,n)),$b(t))return 0===t.length?-1:Qb(e,t,r,n,o);if("number"==typeof t)return t&=255,Mb.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Qb(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Qb(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 Xb(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 Zb(e,t,r,n){return xw(ww(t,e.length-r),e,r,n)}function ew(e,t,r,n){return xw(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function tw(e,t,r,n){return ew(e,t,r,n)}function rw(e,t,r,n){return xw(Sw(t),e,r,n)}function nw(e,t,r,n){return xw(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 ow(e,t,r){return 0===t&&r===e.length?_b(e):_b(e.slice(t,r))}function iw(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<=aw)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=aw));return r}(n)}Mb.TYPED_ARRAY_SUPPORT=void 0===xv.TYPED_ARRAY_SUPPORT||xv.TYPED_ARRAY_SUPPORT,Db(),Mb.poolSize=8192,Mb._augment=function(e){return e.__proto__=Mb.prototype,e},Mb.from=function(e,t,r){return qb(null,e,t,r)},Mb.TYPED_ARRAY_SUPPORT&&(Mb.prototype.__proto__=Uint8Array.prototype,Mb.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Mb[Symbol.species]),Mb.alloc=function(e,t,r){return function(e,t,r,n){return Wb(t),t<=0?Bb(e,t):void 0!==r?"string"==typeof n?Bb(e,t).fill(r,n):Bb(e,t).fill(r):Bb(e,t)}(null,e,t,r)},Mb.allocUnsafe=function(e){return Gb(null,e)},Mb.allocUnsafeSlow=function(e){return Gb(null,e)},Mb.isBuffer=function(e){return null!=e&&(!!e._isBuffer||Ew(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Ew(e.slice(0,0))}(e))},Mb.compare=function(e,t){if(!$b(e)||!$b(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},Mb.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}},Mb.concat=function(e,t){if(!Fb(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Mb.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=Mb.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!$b(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},Mb.byteLength=Vb,Mb.prototype._isBuffer=!0,Mb.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)Yb(this,t,t+1);return this},Mb.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)Yb(this,t,t+3),Yb(this,t+1,t+2);return this},Mb.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)Yb(this,t,t+7),Yb(this,t+1,t+6),Yb(this,t+2,t+5),Yb(this,t+3,t+4);return this},Mb.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?iw(this,0,e):Kb.apply(this,arguments)},Mb.prototype.equals=function(e){if(!$b(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Mb.compare(this,e)},Mb.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+">"},Mb.prototype.compare=function(e,t,r,n,o){if(!$b(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},Mb.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},Mb.prototype.indexOf=function(e,t,r){return Jb(this,e,t,r,!0)},Mb.prototype.lastIndexOf=function(e,t,r){return Jb(this,e,t,r,!1)},Mb.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 Xb(this,e,t,r);case"utf8":case"utf-8":return Zb(this,e,t,r);case"ascii":return ew(this,e,t,r);case"latin1":case"binary":return tw(this,e,t,r);case"base64":return rw(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nw(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},Mb.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var aw=4096;function sw(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 uw(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 cw(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+=bw(e[i]);return o}function lw(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 fw(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 pw(e,t,r,n,o,i){if(!$b(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 hw(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 dw(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 yw(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 mw(e,t,r,n,o){return o||yw(e,0,r,4),Ub(e,t,r,n,23,4),r+4}function gw(e,t,r,n,o){return o||yw(e,0,r,8),Ub(e,t,r,n,52,8),r+8}Mb.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),Mb.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=Mb.prototype;else{var o=t-e;r=new Mb(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},Mb.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||fw(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},Mb.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||fw(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},Mb.prototype.readUInt8=function(e,t){return t||fw(e,1,this.length),this[e]},Mb.prototype.readUInt16LE=function(e,t){return t||fw(e,2,this.length),this[e]|this[e+1]<<8},Mb.prototype.readUInt16BE=function(e,t){return t||fw(e,2,this.length),this[e]<<8|this[e+1]},Mb.prototype.readUInt32LE=function(e,t){return t||fw(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Mb.prototype.readUInt32BE=function(e,t){return t||fw(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Mb.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||fw(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},Mb.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||fw(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},Mb.prototype.readInt8=function(e,t){return t||fw(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Mb.prototype.readInt16LE=function(e,t){t||fw(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Mb.prototype.readInt16BE=function(e,t){t||fw(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Mb.prototype.readInt32LE=function(e,t){return t||fw(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Mb.prototype.readInt32BE=function(e,t){return t||fw(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Mb.prototype.readFloatLE=function(e,t){return t||fw(e,4,this.length),Cb(this,e,!0,23,4)},Mb.prototype.readFloatBE=function(e,t){return t||fw(e,4,this.length),Cb(this,e,!1,23,4)},Mb.prototype.readDoubleLE=function(e,t){return t||fw(e,8,this.length),Cb(this,e,!0,52,8)},Mb.prototype.readDoubleBE=function(e,t){return t||fw(e,8,this.length),Cb(this,e,!1,52,8)},Mb.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||pw(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},Mb.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||pw(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},Mb.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,1,255,0),Mb.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Mb.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,2,65535,0),Mb.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):hw(this,e,t,!0),t+2},Mb.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,2,65535,0),Mb.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):hw(this,e,t,!1),t+2},Mb.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,4,4294967295,0),Mb.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):dw(this,e,t,!0),t+4},Mb.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,4,4294967295,0),Mb.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):dw(this,e,t,!1),t+4},Mb.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);pw(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},Mb.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);pw(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},Mb.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,1,127,-128),Mb.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Mb.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,2,32767,-32768),Mb.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):hw(this,e,t,!0),t+2},Mb.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,2,32767,-32768),Mb.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):hw(this,e,t,!1),t+2},Mb.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,4,2147483647,-2147483648),Mb.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):dw(this,e,t,!0),t+4},Mb.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||pw(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Mb.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):dw(this,e,t,!1),t+4},Mb.prototype.writeFloatLE=function(e,t,r){return mw(this,e,t,!0,r)},Mb.prototype.writeFloatBE=function(e,t,r){return mw(this,e,t,!1,r)},Mb.prototype.writeDoubleLE=function(e,t,r){return gw(this,e,t,!0,r)},Mb.prototype.writeDoubleBE=function(e,t,r){return gw(this,e,t,!1,r)},Mb.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||!Mb.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},Mb.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&&!Mb.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=$b(e)?e:ww(new Mb(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var vw=/[^+\/0-9A-Za-z-_]/g;function bw(e){return e<16?"0"+e.toString(16):e.toString(16)}function ww(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 Sw(e){return function(e){var t,r,n,o,i,a;jb||Tb();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 kb(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=Pb[e.charCodeAt(t)]<<18|Pb[e.charCodeAt(t+1)]<<12|Pb[e.charCodeAt(t+2)]<<6|Pb[e.charCodeAt(t+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=Pb[e.charCodeAt(t)]<<2|Pb[e.charCodeAt(t+1)]>>4,a[u++]=255&o):1===i&&(o=Pb[e.charCodeAt(t)]<<10|Pb[e.charCodeAt(t+1)]<<4|Pb[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(vw,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function xw(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 Ew(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function Aw(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}Rb.inherits(Aw,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Rb.toJSONObject(this.config),code:this.code,status:this.status}}});const Rw=Aw.prototype,Ow={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ow[e]={value:e}}),Object.defineProperties(Aw,Ow),Object.defineProperty(Rw,"isAxiosError",{value:!0}),Aw.from=(e,t,r,n,o,i)=>{const a=Object.create(Rw);Rb.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);const s=e&&e.message?e.message:"Error",u=null==t&&e?e.code:t;return Aw.call(a,s,u,r,n,o),e&&null==a.cause&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",i&&Object.assign(a,i),a};function Pw(e){return Rb.isPlainObject(e)||Rb.isArray(e)}function kw(e){return Rb.endsWith(e,"[]")?e.slice(0,-2):e}function jw(e,t,r){return e?e.concat(t).map(function(e,t){return e=kw(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}const Tw=Rb.toFlatObject(Rb,{},null,function(e){return/^is[A-Z]/.test(e)});function Iw(e,t,r){if(!Rb.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=Rb.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Rb.isUndefined(t[e])})).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Rb.isSpecCompliantForm(t);if(!Rb.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(Rb.isDate(e))return e.toISOString();if(Rb.isBoolean(e))return e.toString();if(!s&&Rb.isBlob(e))throw new Aw("Blob is not supported. Use a Buffer instead.");return Rb.isArrayBuffer(e)||Rb.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Mb.from(e):e}function c(e,r,o){let s=e;if(e&&!o&&"object"==typeof e)if(Rb.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(Rb.isArray(e)&&function(e){return Rb.isArray(e)&&!e.some(Pw)}(e)||(Rb.isFileList(e)||Rb.endsWith(r,"[]"))&&(s=Rb.toArray(e)))return r=kw(r),s.forEach(function(e,n){!Rb.isUndefined(e)&&null!==e&&t.append(!0===a?jw([r],n,i):null===a?r:r+"[]",u(e))}),!1;return!!Pw(e)||(t.append(jw(o,r,i),u(e)),!1)}const l=[],f=Object.assign(Tw,{defaultVisitor:c,convertValue:u,isVisitable:Pw});if(!Rb.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!Rb.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),Rb.forEach(r,function(r,i){!0===(!(Rb.isUndefined(r)||null===r)&&o.call(t,r,Rb.isString(i)?i.trim():i,n,f))&&e(r,n?n.concat(i):[i])}),l.pop()}}(e),t}function Nw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function _w(e,t){this._pairs=[],e&&Iw(e,this,t)}const Cw=_w.prototype;function Uw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Lw(e,t,r){if(!t)return e;const n=r&&r.encode||Uw;Rb.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(i=o?o(t,r):Rb.isURLSearchParams(t)?t.toString():new _w(t,r).toString(n),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}Cw.append=function(e,t){this._pairs.push([e,t])},Cw.toString=function(e){const t=e?function(t){return e.call(this,t,Nw)}:Nw;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class Fw{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){Rb.forEach(this.handlers,function(t){null!==t&&e(t)})}}var Dw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Bw={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:_w,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Mw="undefined"!=typeof window&&"undefined"!=typeof document,qw="object"==typeof navigator&&navigator||void 0,Ww=Mw&&(!qw||["ReactNative","NativeScript","NS"].indexOf(qw.product)<0),Gw="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,zw=Mw&&window.location.href||"http://localhost";var Hw={...Object.freeze({__proto__:null,hasBrowserEnv:Mw,hasStandardBrowserEnv:Ww,hasStandardBrowserWebWorkerEnv:Gw,navigator:qw,origin:zw}),...Bw};function $w(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&&Rb.isArray(n)?n.length:i,s)return Rb.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&Rb.isObject(n[i])||(n[i]=[]);return t(e,r,n[i],o)&&Rb.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(Rb.isFormData(e)&&Rb.isFunction(e.entries)){const r={};return Rb.forEachEntry(e,(e,n)=>{t(function(e){return Rb.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),n,r,0)}),r}return null}const Vw={transitional:Dw,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=Rb.isObject(e);o&&Rb.isHTMLForm(e)&&(e=new FormData(e));if(Rb.isFormData(e))return n?JSON.stringify($w(e)):e;if(Rb.isArrayBuffer(e)||Rb.isBuffer(e)||Rb.isStream(e)||Rb.isFile(e)||Rb.isBlob(e)||Rb.isReadableStream(e))return e;if(Rb.isArrayBufferView(e))return e.buffer;if(Rb.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 Iw(e,new Hw.classes.URLSearchParams,{visitor:function(e,t,r,n){return Hw.isNode&&Rb.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=Rb.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Iw(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(Rb.isString(e))try{return(t||JSON.parse)(e),Rb.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Vw.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(Rb.isResponse(e)||Rb.isReadableStream(e))return e;if(e&&Rb.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 Aw.from(e,Aw.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:Hw.classes.FormData,Blob:Hw.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Rb.forEach(["delete","get","head","post","put","patch"],e=>{Vw.headers[e]={}});const Kw=Rb.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 Yw=Symbol("internals");function Jw(e){return e&&String(e).trim().toLowerCase()}function Qw(e){return!1===e||null==e?e:Rb.isArray(e)?e.map(Qw):String(e)}function Xw(e,t,r,n,o){return Rb.isFunction(n)?n.call(this,t,r):(o&&(t=r),Rb.isString(t)?Rb.isString(n)?-1!==t.indexOf(n):Rb.isRegExp(n)?n.test(t):void 0:void 0)}let Zw=class{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=Jw(t);if(!o)throw new Error("header name must be a non-empty string");const i=Rb.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=Qw(e))}const i=(e,t)=>Rb.forEach(e,(e,r)=>o(e,r,t));if(Rb.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Rb.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]&&Kw[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(Rb.isObject(e)&&Rb.isIterable(e)){let r,n,o={};for(const t of e){if(!Rb.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[n=t[0]]=(r=o[n])?Rb.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=Jw(e)){const r=Rb.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(Rb.isFunction(t))return t.call(this,e,r);if(Rb.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Jw(e)){const r=Rb.findKey(this,e);return!(!r||void 0===this[r]||t&&!Xw(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=Jw(e)){const o=Rb.findKey(r,e);!o||t&&!Xw(0,r[o],o,t)||(delete r[o],n=!0)}}return Rb.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&&!Xw(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return Rb.forEach(this,(n,o)=>{const i=Rb.findKey(r,o);if(i)return t[i]=Qw(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]=Qw(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 Rb.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&Rb.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[Yw]=this[Yw]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Jw(e);t[n]||(!function(e,t){const r=Rb.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 Rb.isArray(e)?e.forEach(n):n(e),this}};function eS(e,t){const r=this||Vw,n=t||r,o=Zw.from(n.headers);let i=n.data;return Rb.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function tS(e){return!(!e||!e.__CANCEL__)}function rS(e,t,r){Aw.call(this,null==e?"canceled":e,Aw.ERR_CANCELED,t,r),this.name="CanceledError"}function nS(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Aw("Request failed with status code "+r.status,[Aw.ERR_BAD_REQUEST,Aw.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}Zw.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Rb.reduceDescriptors(Zw.prototype,(e,t)=>{let{value:r}=e,n=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(e){this[n]=e}}}),Rb.freezeMethods(Zw),Rb.inherits(rS,Aw,{__CANCEL__:!0});const oS=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)},iS=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},aS=e=>function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Rb.asap(()=>e(...r))};var sS=Hw.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Hw.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Hw.origin),Hw.navigator&&/(msie|trident)/i.test(Hw.navigator.userAgent)):()=>!0,uS=Hw.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const a=[e+"="+encodeURIComponent(t)];Rb.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),Rb.isString(n)&&a.push("path="+n),Rb.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function cS(e,t,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(n||0==r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const lS=e=>e instanceof Zw?{...e}:e;function fS(e,t){t=t||{};const r={};function n(e,t,r,n){return Rb.isPlainObject(e)&&Rb.isPlainObject(t)?Rb.merge.call({caseless:n},e,t):Rb.isPlainObject(t)?Rb.merge({},t):Rb.isArray(t)?t.slice():t}function o(e,t,r,o){return Rb.isUndefined(t)?Rb.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!Rb.isUndefined(t))return n(void 0,t)}function a(e,t){return Rb.isUndefined(t)?Rb.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(lS(e),lS(t),0,!0)};return Rb.forEach(Object.keys({...e,...t}),function(n){const i=u[n]||o,a=i(e[n],t[n],n);Rb.isUndefined(a)&&i!==s||(r[n]=a)}),r}var pS=e=>{const t=fS({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;if(t.headers=a=Zw.from(a),t.url=Lw(cS(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Rb.isFormData(r))if(Hw.hasStandardBrowserEnv||Hw.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(Rb.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(Hw.hasStandardBrowserEnv&&(n&&Rb.isFunction(n)&&(n=n(t)),n||!1!==n&&sS(t.url))){const e=o&&i&&uS.read(i);e&&a.set(o,e)}return t};var hS="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){const n=pS(e);let o=n.data;const i=Zw.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=Zw.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());nS(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 Aw("Request aborted",Aw.ECONNABORTED,e,y)),y=null)},y.onerror=function(t){const n=new Aw(t&&t.message?t.message:"Network Error",Aw.ERR_NETWORK,e,y);n.event=t||null,r(n),y=null},y.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||Dw;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new Aw(t,o.clarifyTimeoutError?Aw.ETIMEDOUT:Aw.ECONNABORTED,e,y)),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&Rb.forEach(i.toJSON(),function(e,t){y.setRequestHeader(t,e)}),Rb.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),f&&"json"!==f&&(y.responseType=n.responseType),h&&([u,l]=oS(h,!0),y.addEventListener("progress",u)),p&&y.upload&&([s,c]=oS(p),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(),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===Hw.protocols.indexOf(g)?r(new Aw("Unsupported protocol "+g+":",Aw.ERR_BAD_REQUEST,e)):y.send(o||null)})};const dS=(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 Aw?t:new rS(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new Aw(`timeout ${t} of ms exceeded`,Aw.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=()=>Rb.asap(a),s}},yS=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{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},gS=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of mS(e))yield*yS(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:vS}=Rb,bS=(e=>{let{Request:t,Response:r}=e;return{Request:t,Response:r}})(Rb.global),{ReadableStream:wS,TextEncoder:SS}=Rb.global,xS=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}},ES=e=>{e=Rb.merge.call({skipUndefined:!0},bS,e);const{fetch:t,Request:r,Response:n}=e,o=t?vS(t):"function"==typeof fetch,i=vS(r),a=vS(n);if(!o)return!1;const s=o&&vS(wS),u=o&&("function"==typeof SS?(c=new SS,e=>c.encode(e)):async e=>new Uint8Array(await new r(e).arrayBuffer()));var c;const l=i&&s&&xS(()=>{let e=!1;const t=new r(Hw.origin,{body:new wS,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),f=a&&s&&xS(()=>Rb.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 Aw(`Response type '${e}' is not supported`,Aw.ERR_NOT_SUPPORT,r)})});const h=async(e,t)=>{const n=Rb.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Rb.isBlob(e))return e.size;if(Rb.isSpecCompliantForm(e)){const t=new r(Hw.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Rb.isArrayBufferView(e)||Rb.isArrayBuffer(e)?e.byteLength:(Rb.isURLSearchParams(e)&&(e+=""),Rb.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 x=dS([u,c&&c.toAbortSignal()],d),E=null;const A=x&&x.unsubscribe&&(()=>{x.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(Rb.isFormData(s)&&(e=t.headers.get("content-type"))&&v.setContentType(e),t.body){const[e,r]=iS(R,oS(aS(m)));s=gS(t.body,65536,e,r)}}Rb.isString(b)||(b=b?"include":"omit");const t=i&&"credentials"in r.prototype,u={...w,signal:x,method:a.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:"half",credentials:t?b:void 0};E=i&&new r(o,u);let c=await(i?S(E,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=Rb.toFiniteNumber(c.headers.get("content-length")),[r,o]=y&&iS(t,oS(aS(y),!0))||[];c=new n(gS(c.body,65536,r,()=>{o&&o(),A&&A()}),e)}g=g||"text";let O=await p[Rb.findKey(p,g)||"text"](c,e);return!d&&A&&A(),await new Promise((t,r)=>{nS(t,r,{data:O,headers:Zw.from(c.headers),status:c.status,statusText:c.statusText,config:e,request:E})})}catch(t){if(A&&A(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Aw("Network Error",Aw.ERR_NETWORK,e,E),{cause:t.cause||t});throw Aw.from(t,t&&t.code,e,E)}}},AS=new Map,RS=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=AS;for(;u--;)a=i[u],s=c.get(a),void 0===s&&c.set(a,s=u?new Map:ES(t)),c=s;return s};RS();const OS={http:null,xhr:hS,fetch:{get:RS}};Rb.forEach(OS,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const PS=e=>`- ${e}`,kS=e=>Rb.isFunction(e)||null===e||!1===e;var jS=(e,t)=>{e=Rb.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,!kS(n)&&(o=OS[(r=String(n)).toLowerCase()],void 0===o))throw new Aw(`Unknown adapter '${r}'`);if(o&&(Rb.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")});throw new Aw("There is no suitable adapter to dispatch the request "+(r?e.length>1?"since :\n"+e.map(PS).join("\n"):" "+PS(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o};function TS(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new rS(null,e)}function IS(e){TS(e),e.headers=Zw.from(e.headers),e.data=eS.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return jS(e.adapter||Vw.adapter,e)(e).then(function(t){return TS(e),t.data=eS.call(e,e.transformResponse,t),t.headers=Zw.from(t.headers),t},function(t){return tS(t)||(TS(e),t&&t.response&&(t.response.data=eS.call(e,e.transformResponse,t.response),t.response.headers=Zw.from(t.response.headers))),Promise.reject(t)})}const NS="1.12.2",_S={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{_S[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const CS={};_S.transitional=function(e,t,r){function n(e,t){return"[Axios v"+NS+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new Aw(n(o," has been removed"+(t?" in "+t:"")),Aw.ERR_DEPRECATED);return t&&!CS[o]&&(CS[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)}},_S.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var US={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Aw("options must be an object",Aw.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 Aw("option "+i+" must be "+r,Aw.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Aw("Unknown option "+i,Aw.ERR_BAD_OPTION)}},validators:_S};const LS=US.validators;let FS=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Fw,response:new Fw}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=fS(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&US.assertOptions(r,{silentJSONParsing:LS.transitional(LS.boolean),forcedJSONParsing:LS.transitional(LS.boolean),clarifyTimeoutError:LS.transitional(LS.boolean)},!1),null!=n&&(Rb.isFunction(n)?t.paramsSerializer={serialize:n}:US.assertOptions(n,{encode:LS.function,serialize:LS.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),US.assertOptions(t,{baseUrl:LS.spelling("baseURL"),withXsrfToken:LS.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Rb.merge(o.common,o[t.method]);o&&Rb.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=Zw.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(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=[IS.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=IS.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 Lw(cS((e=fS(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};Rb.forEach(["delete","get","head","options"],function(e){FS.prototype[e]=function(t,r){return this.request(fS(r||{},{method:e,url:t,data:(r||{}).data}))}}),Rb.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,o){return this.request(fS(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}FS.prototype[e]=t(),FS.prototype[e+"Form"]=t(!0)});const DS={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};Object.entries(DS).forEach(e=>{let[t,r]=e;DS[r]=t});const BS=function e(t){const r=new FS(t),n=Lv(FS.prototype.request,r);return Rb.extend(n,FS.prototype,r,{allOwnKeys:!0}),Rb.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(fS(t,r))},n}(Vw);BS.Axios=FS,BS.CanceledError=rS,BS.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 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 t;return{token:new e(function(e){t=e}),cancel:t}}},BS.isCancel=tS,BS.VERSION=NS,BS.toFormData=Iw,BS.AxiosError=Aw,BS.Cancel=BS.CanceledError,BS.all=function(e){return Promise.all(e)},BS.spread=function(e){return function(t){return e.apply(null,t)}},BS.isAxiosError=function(e){return Rb.isObject(e)&&!0===e.isAxiosError},BS.mergeConfig=fS,BS.AxiosHeaders=Zw,BS.formToJSON=e=>$w(Rb.isHTMLForm(e)?new FormData(e):e),BS.getAdapter=jS,BS.HttpStatusCode=DS,BS.default=BS;const{Axios:MS,AxiosError:qS,CanceledError:WS,isCancel:GS,CancelToken:zS,VERSION:HS,all:$S,Cancel:VS,isAxiosError:KS,spread:YS,toFormData:JS,AxiosHeaders:QS,HttpStatusCode:XS,formToJSON:ZS,getAdapter:ex,mergeConfig:tx}=BS;var rx=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(BS(d(d({},e),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]);var e,t,r,n,i,s}(),nx=Oo,ox=te,ix=ue,ax=km,sx=$([].join);nx({target:"Array",proto:!0,forced:ox!==Object||!ax("join",",")},{join:function(e){return sx(ix(this),void 0===e?",":e)}});var ux=TypeError,cx=R(Object.freeze({__proto__:null,default:{}})),lx="function"==typeof Map&&Map.prototype,fx=Object.getOwnPropertyDescriptor&&lx?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,px=lx&&fx&&"function"==typeof fx.get?fx.get:null,hx=lx&&Map.prototype.forEach,dx="function"==typeof Set&&Set.prototype,yx=Object.getOwnPropertyDescriptor&&dx?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,mx=dx&&yx&&"function"==typeof yx.get?yx.get:null,gx=dx&&Set.prototype.forEach,vx="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,bx="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,wx="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,Sx=Boolean.prototype.valueOf,xx=Object.prototype.toString,Ex=Function.prototype.toString,Ax=String.prototype.match,Rx=String.prototype.slice,Ox=String.prototype.replace,Px=String.prototype.toUpperCase,kx=String.prototype.toLowerCase,jx=RegExp.prototype.test,Tx=Array.prototype.concat,Ix=Array.prototype.join,Nx=Array.prototype.slice,_x=Math.floor,Cx="function"==typeof BigInt?BigInt.prototype.valueOf:null,Ux=Object.getOwnPropertySymbols,Lx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Fx="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Dx="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Fx||"symbol")?Symbol.toStringTag:null,Bx=Object.prototype.propertyIsEnumerable,Mx=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function qx(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||jx.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-_x(-e):_x(e);if(n!==e){var o=String(n),i=Rx.call(t,o.length+1);return Ox.call(o,r,"$&_")+"."+Ox.call(Ox.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ox.call(t,r,"$&_")}var Wx=cx,Gx=Wx.custom,zx=Zx(Gx)?Gx:null,Hx={__proto__:null,double:'"',single:"'"},$x={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Vx=function e(t,r,n,o){var i=r||{};if(tE(i,"quoteStyle")&&!tE(Hx,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(tE(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=!tE(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(tE(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(tE(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 oE(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var u=String(t);return s?qx(t,u):u}if("bigint"==typeof t){var c=String(t)+"n";return s?qx(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 Qx(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=Ix.call(Array(e.indent+1)," ")}return{base:r,prev:Ix.call(Array(t+1),r)}}(i,n);if(void 0===o)o=[];else if(nE(o,t)>=0)return"[Circular]";function p(t,r,a){if(r&&(o=Nx.call(o)).push(r),a){var s={depth:i.depth};return tE(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,n+1,o)}return e(t,i,n+1,o)}if("function"==typeof t&&!Xx(t)){var h=function(e){if(e.name)return e.name;var t=Ax.call(Ex.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),d=lE(t,p);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+Ix.call(d,", ")+" }":"")}if(Zx(t)){var y=Fx?Ox.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Lx.call(t);return"object"!=typeof t||Fx?y:aE(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="<"+kx.call(String(t.nodeName)),g=t.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+Kx(Yx(g[v].value),"double",i);return m+=">",t.childNodes&&t.childNodes.length&&(m+="..."),m+="</"+kx.call(String(t.nodeName))+">"}if(Qx(t)){if(0===t.length)return"[]";var b=lE(t,p);return f&&!function(e){for(var t=0;t<e.length;t++)if(nE(e[t],"\n")>=0)return!1;return!0}(b)?"["+cE(b,f)+"]":"[ "+Ix.call(b,", ")+" ]"}if(function(e){return"[object Error]"===rE(e)&&Jx(e)}(t)){var w=lE(t,p);return"cause"in Error.prototype||!("cause"in t)||Bx.call(t,"cause")?0===w.length?"["+String(t)+"]":"{ ["+String(t)+"] "+Ix.call(w,", ")+" }":"{ ["+String(t)+"] "+Ix.call(Tx.call("[cause]: "+p(t.cause),w),", ")+" }"}if("object"==typeof t&&a){if(zx&&"function"==typeof t[zx]&&Wx)return Wx(t,{depth:l-n});if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!px||!e||"object"!=typeof e)return!1;try{px.call(e);try{mx.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var S=[];return hx&&hx.call(t,function(e,r){S.push(p(r,t,!0)+" => "+p(e,t))}),uE("Map",px.call(t),S,f)}if(function(e){if(!mx||!e||"object"!=typeof e)return!1;try{mx.call(e);try{px.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var x=[];return gx&&gx.call(t,function(e){x.push(p(e,t))}),uE("Set",mx.call(t),x,f)}if(function(e){if(!vx||!e||"object"!=typeof e)return!1;try{vx.call(e,vx);try{bx.call(e,bx)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return sE("WeakMap");if(function(e){if(!bx||!e||"object"!=typeof e)return!1;try{bx.call(e,bx);try{vx.call(e,vx)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return sE("WeakSet");if(function(e){if(!wx||!e||"object"!=typeof e)return!1;try{return wx.call(e),!0}catch(e){}return!1}(t))return sE("WeakRef");if(function(e){return"[object Number]"===rE(e)&&Jx(e)}(t))return aE(p(Number(t)));if(function(e){if(!e||"object"!=typeof e||!Cx)return!1;try{return Cx.call(e),!0}catch(e){}return!1}(t))return aE(p(Cx.call(t)));if(function(e){return"[object Boolean]"===rE(e)&&Jx(e)}(t))return aE(Sx.call(t));if(function(e){return"[object String]"===rE(e)&&Jx(e)}(t))return aE(p(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==E&&t===E)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===rE(e)&&Jx(e)}(t)&&!Xx(t)){var A=lE(t,p),R=Mx?Mx(t)===Object.prototype:t instanceof Object||t.constructor===Object,O=t instanceof Object?"":"null prototype",P=!R&&Dx&&Object(t)===t&&Dx in t?Rx.call(rE(t),8,-1):O?"Object":"",k=(R||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(P||O?"["+Ix.call(Tx.call([],P||[],O||[]),": ")+"] ":"");return 0===A.length?k+"{}":f?k+"{"+cE(A,f)+"}":k+"{ "+Ix.call(A,", ")+" }"}return String(t)};function Kx(e,t,r){var n=r.quoteStyle||t,o=Hx[n];return o+e+o}function Yx(e){return Ox.call(String(e),/"/g,"&quot;")}function Jx(e){return!Dx||!("object"==typeof e&&(Dx in e||void 0!==e[Dx]))}function Qx(e){return"[object Array]"===rE(e)&&Jx(e)}function Xx(e){return"[object RegExp]"===rE(e)&&Jx(e)}function Zx(e){if(Fx)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!Lx)return!1;try{return Lx.call(e),!0}catch(e){}return!1}var eE=Object.prototype.hasOwnProperty||function(e){return e in this};function tE(e,t){return eE.call(e,t)}function rE(e){return xx.call(e)}function nE(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 oE(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return oE(Rx.call(e,0,t.maxStringLength),t)+n}var o=$x[t.quoteStyle||"single"];return o.lastIndex=0,Kx(Ox.call(Ox.call(e,o,"\\$1"),/[\x00-\x1f]/g,iE),"single",t)}function iE(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":"")+Px.call(t.toString(16))}function aE(e){return"Object("+e+")"}function sE(e){return e+" { ? }"}function uE(e,t,r,n){return e+" ("+t+") {"+(n?cE(r,n):Ix.call(r,", "))+"}"}function cE(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+Ix.call(e,","+r)+"\n"+t.prev}function lE(e,t){var r=Qx(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=tE(e,o)?t(e[o],e):""}var i,a="function"==typeof Ux?Ux(e):[];if(Fx){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)tE(e,u)&&(r&&String(Number(u))===u&&u<e.length||Fx&&i["$"+u]instanceof Symbol||(jx.call(/[^\w$]/,u)?n.push(t(u,e)+": "+t(e[u],e)):n.push(u+": "+t(e[u],e))));if("function"==typeof Ux)for(var c=0;c<a.length;c++)Bx.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var fE=Vx,pE=ux,hE=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},dE=Object,yE=Error,mE=EvalError,gE=RangeError,vE=ReferenceError,bE=SyntaxError,wE=URIError,SE=Math.abs,xE=Math.floor,EE=Math.max,AE=Math.min,RE=Math.pow,OE=Math.round,PE=Number.isNaN||function(e){return e!=e},kE=Object.getOwnPropertyDescriptor;if(kE)try{kE([],"length")}catch(e){kE=null}var jE=kE,TE=Object.defineProperty||!1;if(TE)try{TE({},"a",{value:1})}catch(e){TE=!1}var IE,NE,_E,CE,UE,LE,FE,DE,BE,ME,qE,WE,GE,zE,HE,$E,VE=TE;function KE(){return LE?UE:(LE=1,UE="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function YE(){return DE?FE:(DE=1,FE=dE.getPrototypeOf||null)}function JE(){if(ME)return BE;ME=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 BE=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},BE}function QE(){if(WE)return qE;WE=1;var e=JE();return qE=Function.prototype.bind||e}function XE(){return zE?GE:(zE=1,GE=Function.prototype.call)}function ZE(){return $E?HE:($E=1,HE=Function.prototype.apply)}var eA,tA,rA,nA,oA,iA,aA,sA="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,uA=QE(),cA=ZE(),lA=XE(),fA=sA||uA.call(lA,cA),pA=QE(),hA=ux,dA=XE(),yA=fA,mA=function(e){if(e.length<1||"function"!=typeof e[0])throw new hA("a function is required");return yA(pA,dA,e)};var gA=dE,vA=yE,bA=mE,wA=gE,SA=vE,xA=bE,EA=ux,AA=wE,RA=SE,OA=xE,PA=EE,kA=AE,jA=RE,TA=OE,IA=function(e){return PE(e)||0===e?e:e<0?-1:1},NA=Function,_A=function(e){try{return NA('"use strict"; return ('+e+").constructor;")()}catch(e){}},CA=jE,UA=VE,LA=function(){throw new EA},FA=CA?function(){try{return LA}catch(e){try{return CA(arguments,"callee").get}catch(e){return LA}}}():LA,DA=function(){if(CE)return _E;CE=1;var e="undefined"!=typeof Symbol&&Symbol,t=NE?IE:(NE=1,IE=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 _E=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&t())))}}()(),BA=function(){if(nA)return rA;nA=1;var e=KE(),t=YE(),r=function(){if(tA)return eA;tA=1;var e,t=mA,r=jE;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 eA=n&&"function"==typeof n.get?t([n.get]):"function"==typeof i&&function(e){return i(null==e?e:o(e))}}();return rA=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}(),MA=YE(),qA=KE(),WA=ZE(),GA=XE(),zA={},HA="undefined"!=typeof Uint8Array&&BA?BA(Uint8Array):aA,$A={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?aA:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?aA:ArrayBuffer,"%ArrayIteratorPrototype%":DA&&BA?BA([][Symbol.iterator]()):aA,"%AsyncFromSyncIteratorPrototype%":aA,"%AsyncFunction%":zA,"%AsyncGenerator%":zA,"%AsyncGeneratorFunction%":zA,"%AsyncIteratorPrototype%":zA,"%Atomics%":"undefined"==typeof Atomics?aA:Atomics,"%BigInt%":"undefined"==typeof BigInt?aA:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?aA:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?aA:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?aA:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":vA,"%eval%":eval,"%EvalError%":bA,"%Float16Array%":"undefined"==typeof Float16Array?aA:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?aA:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?aA:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?aA:FinalizationRegistry,"%Function%":NA,"%GeneratorFunction%":zA,"%Int8Array%":"undefined"==typeof Int8Array?aA:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?aA:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?aA:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":DA&&BA?BA(BA([][Symbol.iterator]())):aA,"%JSON%":"object"==typeof JSON?JSON:aA,"%Map%":"undefined"==typeof Map?aA:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&DA&&BA?BA((new Map)[Symbol.iterator]()):aA,"%Math%":Math,"%Number%":Number,"%Object%":gA,"%Object.getOwnPropertyDescriptor%":CA,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?aA:Promise,"%Proxy%":"undefined"==typeof Proxy?aA:Proxy,"%RangeError%":wA,"%ReferenceError%":SA,"%Reflect%":"undefined"==typeof Reflect?aA:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?aA:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&DA&&BA?BA((new Set)[Symbol.iterator]()):aA,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?aA:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":DA&&BA?BA(""[Symbol.iterator]()):aA,"%Symbol%":DA?Symbol:aA,"%SyntaxError%":xA,"%ThrowTypeError%":FA,"%TypedArray%":HA,"%TypeError%":EA,"%Uint8Array%":"undefined"==typeof Uint8Array?aA:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?aA:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?aA:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?aA:Uint32Array,"%URIError%":AA,"%WeakMap%":"undefined"==typeof WeakMap?aA:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?aA:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?aA:WeakSet,"%Function.prototype.call%":GA,"%Function.prototype.apply%":WA,"%Object.defineProperty%":UA,"%Object.getPrototypeOf%":MA,"%Math.abs%":RA,"%Math.floor%":OA,"%Math.max%":PA,"%Math.min%":kA,"%Math.pow%":jA,"%Math.round%":TA,"%Math.sign%":IA,"%Reflect.getPrototypeOf%":qA};if(BA)try{null.error}catch(e){var VA=BA(BA(e));$A["%Error.prototype%"]=VA}var KA=function e(t){var r;if("%AsyncFunction%"===t)r=_A("async function () {}");else if("%GeneratorFunction%"===t)r=_A("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=_A("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&BA&&(r=BA(o.prototype))}return $A[t]=r,r},YA={__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"]},JA=QE(),QA=function(){if(iA)return oA;iA=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=QE();return oA=r.call(e,t)}(),XA=JA.call(GA,Array.prototype.concat),ZA=JA.call(WA,Array.prototype.splice),eR=JA.call(GA,String.prototype.replace),tR=JA.call(GA,String.prototype.slice),rR=JA.call(GA,RegExp.prototype.exec),nR=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,oR=/\\(\\)?/g,iR=function(e,t){var r,n=e;if(QA(YA,n)&&(n="%"+(r=YA[n])[0]+"%"),QA($A,n)){var o=$A[n];if(o===zA&&(o=KA(n)),void 0===o&&!t)throw new EA("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new xA("intrinsic "+e+" does not exist!")},aR=function(e,t){if("string"!=typeof e||0===e.length)throw new EA("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new EA('"allowMissing" argument must be a boolean');if(null===rR(/^%?[^%]*%?$/,e))throw new xA("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=tR(e,0,1),r=tR(e,-1);if("%"===t&&"%"!==r)throw new xA("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new xA("invalid intrinsic syntax, expected opening `%`");var n=[];return eR(e,nR,function(e,t,r,o){n[n.length]=r?eR(o,oR,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",o=iR("%"+n+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],ZA(r,XA([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var f=r[c],p=tR(f,0,1),h=tR(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===h||"'"===h||"`"===h)&&p!==h)throw new xA("property names with quotes must have matching quotes");if("constructor"!==f&&l||(s=!0),QA($A,i="%"+(n+="."+f)+"%"))a=$A[i];else if(null!=a){if(!(f in a)){if(!t)throw new EA("base intrinsic for "+e+" exists, but the property is not available.");return}if(CA&&c+1>=r.length){var d=CA(a,f);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[f]}else l=QA(a,f),a=a[f];l&&!s&&($A[i]=a)}}return a},sR=aR,uR=mA,cR=uR([sR("%String.prototype.indexOf%")]),lR=function(e,t){var r=sR(e,!!t);return"function"==typeof r&&cR(e,".prototype.")>-1?uR([r]):r},fR=lR,pR=Vx,hR=ux,dR=aR("%Map%",!0),yR=fR("Map.prototype.get",!0),mR=fR("Map.prototype.set",!0),gR=fR("Map.prototype.has",!0),vR=fR("Map.prototype.delete",!0),bR=fR("Map.prototype.size",!0),wR=!!dR&&function(){var e,t={assert:function(e){if(!t.has(e))throw new hR("Side channel does not contain "+pR(e))},delete:function(t){if(e){var r=vR(e,t);return 0===bR(e)&&(e=void 0),r}return!1},get:function(t){if(e)return yR(e,t)},has:function(t){return!!e&&gR(e,t)},set:function(t,r){e||(e=new dR),mR(e,t,r)}};return t},SR=lR,xR=Vx,ER=wR,AR=ux,RR=aR("%WeakMap%",!0),OR=SR("WeakMap.prototype.get",!0),PR=SR("WeakMap.prototype.set",!0),kR=SR("WeakMap.prototype.has",!0),jR=SR("WeakMap.prototype.delete",!0),TR=ux,IR=Vx,NR=(RR?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new AR("Side channel does not contain "+xR(e))},delete:function(r){if(RR&&r&&("object"==typeof r||"function"==typeof r)){if(e)return jR(e,r)}else if(ER&&t)return t.delete(r);return!1},get:function(r){return RR&&r&&("object"==typeof r||"function"==typeof r)&&e?OR(e,r):t&&t.get(r)},has:function(r){return RR&&r&&("object"==typeof r||"function"==typeof r)&&e?kR(e,r):!!t&&t.has(r)},set:function(r,n){RR&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new RR),PR(e,r,n)):ER&&(t||(t=ER()),t.set(r,n))}};return r}:ER)||wR||function(){var e,t={assert:function(e){if(!t.has(e))throw new pE("Side channel does not contain "+fE(e))},delete:function(t){var r=e&&e.next,n=function(e,t){if(e)return hE(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=hE(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!hE(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var n=hE(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t},_R=function(){var e,t={assert:function(e){if(!t.has(e))throw new TR("Side channel does not contain "+IR(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=NR()),e.set(t,r)}};return t},CR=String.prototype.replace,UR=/%20/g,LR="RFC3986",FR={default:LR,formatters:{RFC1738:function(e){return CR.call(e,UR,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:LR},DR=FR,BR=_R,MR=Object.prototype.hasOwnProperty,qR=Array.isArray,WR=BR(),GR=function(e,t){return WR.set(e,t),e},zR=function(e){return WR.has(e)},HR=function(e){return WR.get(e)},$R=function(e,t){WR.set(e,t)},VR=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),KR=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},YR=1024,JR={arrayToObject:KR,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(zR(e)){var o=HR(e)+1;return e[o]=t,$R(e,o),e}var i=[].concat(e,t);return i.length>r?GR(KR(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(qR(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+=YR){for(var u=i.length>=YR?i.slice(s,s+YR):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===DR.RFC1738&&(40===f||41===f)?c[c.length]=u.charAt(l):f<128?c[c.length]=VR[f]:f<2048?c[c.length]=VR[192|f>>6]+VR[128|63&f]:f<55296||f>=57344?c[c.length]=VR[224|f>>12]+VR[128|f>>6&63]+VR[128|63&f]:(l+=1,f=65536+((1023&f)<<10|1023&u.charCodeAt(l)),c[c.length]=VR[240|f>>18]+VR[128|f>>12&63]+VR[128|f>>6&63]+VR[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:zR,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:GR,maybeMap:function(e,t){if(qR(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(qR(t)){var o=t.length;if(n&&"number"==typeof n.arrayLimit&&o>n.arrayLimit)return GR(KR(t.concat(r),n),o);t[o]=r}else{if(!t||"object"!=typeof t)return[t,r];if(zR(t)){var i=HR(t)+1;t[i]=r,$R(t,i)}else(n&&(n.plainObjects||n.allowPrototypes)||!MR.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t){if(zR(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 GR(s,HR(r)+1)}var c=[t].concat(r);return n&&"number"==typeof n.arrayLimit&&c.length>n.arrayLimit?GR(KR(c,n),c.length-1):c}var l=t;return qR(t)&&!qR(r)&&(l=KR(t,n)),qR(t)&&qR(r)?(r.forEach(function(r,o){if(MR.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(MR.call(t,o)?t[o]=e(t[o],i,n):t[o]=i,zR(r)&&!zR(t)&&GR(t,HR(r)),zR(t)){var a=parseInt(o,10);String(a)===o&&a>=0&&a>HR(t)&&$R(t,a)}return t},l)}},QR=_R,XR=JR,ZR=FR,eO=Object.prototype.hasOwnProperty,tO={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},rO=Array.isArray,nO=Array.prototype.push,oO=function(e,t){nO.apply(e,rO(t)?t:[t])},iO=Date.prototype.toISOString,aO=ZR.default,sO={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:XR.encode,encodeValuesOnly:!1,filter:void 0,format:aO,formatter:ZR.formatters[aO],indices:!1,serializeDate:function(e){return iO.call(e)},skipNulls:!1,strictNullHandling:!1},uO={},cO=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,x=0,E=!1;void 0!==(S=S.get(uO))&&!E;){var A=S.get(t);if(x+=1,void 0!==A){if(A===x)throw new RangeError("Cyclic object value");E=!0}void 0===S.get(uO)&&(x=0)}if("function"==typeof l?w=l(r,w):w instanceof Date?w=h(w):"comma"===n&&rO(w)&&(w=XR.maybeMap(w,function(e){return e instanceof Date?h(e):e})),null===w){if(a)return c&&!m?c(r,sO.encoder,g,"key",d):r;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||XR.isBuffer(w))return c?[y(m?r:c(r,sO.encoder,g,"key",d))+"="+y(c(w,sO.encoder,g,"value",d))]:[y(r)+"="+y(String(w))];var R,O=[];if(void 0===w)return O;if("comma"===n&&rO(w))m&&c&&(w=XR.maybeMap(w,c)),R=[{value:w.length>0?w.join(",")||null:void 0}];else if(rO(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&&rO(w)&&1===w.length?k+"[]":k;if(i&&rO(w)&&0===w.length)return j+"[]";for(var T=0;T<R.length;++T){var I=R[T],N="object"==typeof I&&I&&void 0!==I.value?I.value:w[I];if(!s||null!==N){var _=p&&u?String(I).replace(/\./g,"%2E"):String(I),C=rO(w)?"function"==typeof n?n(j,_):j:j+(p?"."+_:"["+_+"]");v.set(t,x);var U=QR();U.set(uO,v),oO(O,e(N,C,n,o,i,a,s,u,"comma"===n&&m&&rO(w)?null:c,l,f,p,h,d,y,m,g,U))}}return O},lO=JR,fO=Object.prototype.hasOwnProperty,pO=Array.isArray,hO={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:lO.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},dO=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},yO=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},mO=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&&fO.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&&fO.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&&fO.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:yO(t,r,o),s=e.length-1;s>=0;--s){var u,c=e[s];if("[]"===c&&r.parseArrays)u=lO.isOverflow(a)?a:r.allowEmptyArrays&&(""===a||r.strictNullHandling&&null===a)?[]:lO.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,lO.markOverflow(u,p)):"__proto__"!==f&&(u[f]=a)}else u={0:a}}a=u}return a}(o,t,r,n)}},gO=function(e,t){var r,n=e,o=function(e){if(!e)return sO;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||sO.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=ZR.default;if(void 0!==e.format){if(!eO.call(ZR.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=ZR.formatters[r],i=sO.filter;if(("function"==typeof e.filter||rO(e.filter))&&(i=e.filter),n=e.arrayFormat in tO?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":sO.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||sO.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:sO.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:sO.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:sO.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?sO.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:sO.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:sO.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:sO.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:sO.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:sO.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:sO.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:sO.strictNullHandling}}(t);"function"==typeof o.filter?n=(0,o.filter)("",n):rO(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var a=tO[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var u=QR(),c=0;c<r.length;++c){var l=r[c],f=n[l];o.skipNulls&&null===f||oO(i,cO(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:""},vO=function(e,t){var r=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.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?hO.charset:e.charset,r=void 0===e.duplicates?hO.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||hO.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:hO.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:hO.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:hO.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:hO.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:hO.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:hO.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:hO.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:hO.decoder,delimiter:"string"==typeof e.delimiter||lO.isRegExp(e.delimiter)?e.delimiter:hO.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:hO.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:hO.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:hO.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:hO.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:hO.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:hO.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?o+1:o);if(t.throwOnLimitExceeded&&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,hO.decoder,u,"key"),l=t.strictNullHandling?null:""):null!==(c=t.decoder(f.slice(0,h),hO.decoder,u,"key"))&&(l=lO.maybeMap(yO(f.slice(h+1),t,pO(r[c])?r[c].length:0),function(e){return t.decoder(e,hO.decoder,u,"value")})),l&&t.interpretNumericEntities&&"iso-8859-1"===u&&(l=dO(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=lO.combine([],l,t.arrayLimit,t.plainObjects)}if(null!==c){var d=fO.call(r,c);d&&"combine"===t.duplicates?r[c]=lO.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=mO(s,n[s],r,"string"==typeof e);o=lO.merge(o,u,r)}return!0===r.allowSparse?o:lO.compact(o)},bO=A({formats:FR,parse:vO,stringify:gO});const wO="function"==typeof Buffer,SO=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),xO=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),EO=(e=>{let t={};return e.forEach((e,r)=>t[e]=r),t})(xO),AO=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,RO=String.fromCharCode.bind(String),OO=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_")),PO=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),kO=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+=xO[t>>18&63]+xO[t>>12&63]+xO[t>>6&63]+xO[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},jO="function"==typeof btoa?e=>btoa(e):wO?e=>Buffer.from(e,"binary").toString("base64"):kO,TO=wO?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(RO.apply(null,e.subarray(r,r+4096)));return jO(t.join(""))},IO=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?RO(192|t>>>6)+RO(128|63&t):RO(224|t>>>12&15)+RO(128|t>>>6&63)+RO(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return RO(240|t>>>18&7)+RO(128|t>>>12&63)+RO(128|t>>>6&63)+RO(128|63&t)},NO=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,_O=e=>e.replace(NO,IO),CO=wO?e=>Buffer.from(e,"utf8").toString("base64"):SO?e=>TO(SO.encode(e)):e=>jO(_O(e)),UO=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?OO(CO(e)):CO(e)},LO=e=>{if(e=e.replace(/\s+/g,""),!AO.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=EO[e.charAt(i++)]<<18|EO[e.charAt(i++)]<<12|(r=EO[e.charAt(i++)])<<6|(n=EO[e.charAt(i++)]),64===r?o.push(RO(t>>16&255)):64===n?o.push(RO(t>>16&255,t>>8&255)):o.push(RO(t>>16&255,t>>8&255,255&t));return o.join("")},FO=UO;var DO,BO=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,x,E,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 bv)){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 x=d,E=d({},a),A={},e.n=9,this.buildData(o);case 9:return R=e.v,e.a(2,x(E,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(bO.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 bv)){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(FO("".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":FO("".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}(),MO=["data"],qO=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 Zg(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,MO);if("string"==typeof r)throw new Error("".concat(n.status,": ").concat(n.statusText));throw new pv(d({data:r},n))}}])}(),WO=function(){return u(function e(){var r,n,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a(this,e),GO(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 Yi)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 BO(d(d({},i),{},{baseUrl:this.baseUrl,auth:s})),c=new qO({enableAbortSearchError:null!==(n=null===(o=i.featureFlags)||void 0===o?void 0:o.enableAbortSearchError)&&void 0!==n&&n}),l=new rx({responseHandler:c,requestConfigBuilder:u}),f=i.guestSpaceId;this.bulkRequest_=new cm(l,f),this.record=new gv(l,this.bulkRequest_,f),this.app=new Om(l,f),this.space=new vv(l,f),this.file=new wv(l,f),this.plugin=new Sv(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()}}])}(),GO=function(e){zO(e.baseUrl),HO(e.guestSpaceId),$O(e.socketTimeout)},zO=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".')}},HO=function(e){if(""===e||null===e)throw new Error("invalid guestSpaceId: got [".concat(e,"]"))},$O=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.")}};(DO=ea).readFileFromPath&&(t.readFileFromPath=DO.readFileFromPath),DO.getRequestToken&&(t.getRequestToken=DO.getRequestToken),DO.getDefaultAuth&&(t.getDefaultAuth=DO.getDefaultAuth),DO.buildPlatformDependentConfig&&(t.buildPlatformDependentConfig=DO.buildPlatformDependentConfig),DO.buildHeaders&&(t.buildHeaders=DO.buildHeaders),DO.buildFormDataValue&&(t.buildFormDataValue=DO.buildFormDataValue),DO.buildBaseUrl&&(t.buildBaseUrl=DO.buildBaseUrl),DO.getVersion&&(t.getVersion=DO.getVersion),e.KintoneAbortSearchError=Zg,e.KintoneAllRecordsError=fv,e.KintoneRestAPIClient=WO,e.KintoneRestAPIError=pv});