@kintone/rest-api-client 5.5.0 → 5.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -8
- package/esm/package.json +5 -5
- package/esm/src/platform/node.d.ts +4 -4
- package/esm/src/url.d.ts +2 -2
- package/esm/tsconfig.build.esm.tsbuildinfo +1 -1
- package/lib/package.json +5 -5
- package/lib/src/platform/node.d.ts +4 -4
- package/lib/src/url.d.ts +2 -2
- package/lib/tsconfig.build.tsbuildinfo +1 -1
- package/lib/tsconfig.typecheck.node.tsbuildinfo +1 -1
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/umd/KintoneRestAPIClient.js +45 -37
- package/umd/KintoneRestAPIClient.min.js +2 -2
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
*
|
|
561
561
|
*
|
|
562
562
|
* =====
|
|
563
|
-
* qs@6.12.
|
|
563
|
+
* qs@6.12.1 -- BSD-3-Clause
|
|
564
564
|
* -----
|
|
565
565
|
*
|
|
566
566
|
* BSD 3-Clause License
|
|
@@ -627,4 +627,4 @@
|
|
|
627
627
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
628
628
|
*/
|
|
629
629
|
|
|
630
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).window=t.window||{})}(this,(function(t){"use strict";var e={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(t,e,r){return e=m(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,n()?Reflect.construct(e,r||[],m(t).constructor):e.apply(t,r))}function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(n=function(){return!!t})()}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(){a=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),s=new I(n||[]);return o(a,"_invoke",{value:k(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",d="suspendedYield",y="executing",m="completed",g={};function v(){}function b(){}function w(){}var x={};l(x,s,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(_([])));E&&E!==r&&n.call(E,s)&&(x=E);var A=w.prototype=v.prototype=Object.create(x);function R(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,s){var u=f(t[o],t,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=P(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=f(e,r,n);if("normal"===c.type){if(o=n.done?m:d,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=w,o(A,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,c,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},R(O.prototype),l(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new O(p(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},R(A),l(A,c,"Generator"),l(A,s,(function(){return this})),l(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function s(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function c(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){c(i,n,o,a,s,"next",t)}function s(t){c(i,n,o,a,s,"throw",t)}a(void 0)}))}}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,s(n.key),n)}}function h(t,e,r){return e&&f(t.prototype,e),r&&f(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function d(t,e,r){return(e=s(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function g(t,e){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},g(t,e)}function v(t){var e="function"==typeof Map?new Map:void 0;return v=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(n())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var i=new(t.bind.apply(t,o));return r&&g(i,r.prototype),i}(t,arguments,m(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,t)},v(t)}function b(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function w(t){return function(t){if(Array.isArray(t))return x(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}(t)||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 x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function E(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function A(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var r=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),r}var R=function(t){return t&&t.Math===Math&&t},O=R("object"==typeof globalThis&&globalThis)||R("object"==typeof window&&window)||R("object"==typeof self&&self)||R("object"==typeof S&&S)||R("object"==typeof S&&S)||function(){return this}()||Function("return this")(),k={},P=function(t){try{return!!t()}catch(t){return!0}},j=!P((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),T=!P((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),I=T,_=Function.prototype.call,N=I?_.bind(_):function(){return _.apply(_,arguments)},U={},C={}.propertyIsEnumerable,L=Object.getOwnPropertyDescriptor,F=L&&!C.call({1:2},1);U.f=F?function(t){var e=L(this,t);return!!e&&e.enumerable}:C;var B,D,q=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},M=T,W=Function.prototype,G=W.call,z=M&&W.bind.bind(G,G),H=M?z:function(t){return function(){return G.apply(t,arguments)}},$=H,V=$({}.toString),Y=$("".slice),K=function(t){return Y(V(t),8,-1)},J=P,Q=K,X=Object,Z=H("".split),tt=J((function(){return!X("z").propertyIsEnumerable(0)}))?function(t){return"String"===Q(t)?Z(t,""):X(t)}:X,et=function(t){return null==t},rt=et,nt=TypeError,ot=function(t){if(rt(t))throw new nt("Can't call method on "+t);return t},it=tt,at=ot,st=function(t){return it(at(t))},ut="object"==typeof document&&document.all,ct=void 0===ut&&void 0!==ut?function(t){return"function"==typeof t||t===ut}:function(t){return"function"==typeof t},lt=ct,pt=function(t){return"object"==typeof t?null!==t:lt(t)},ft=O,ht=ct,dt=function(t,e){return arguments.length<2?(r=ft[t],ht(r)?r:void 0):ft[t]&&ft[t][e];var r},yt=H({}.isPrototypeOf),mt=O,gt="undefined"!=typeof navigator&&String(navigator.userAgent)||"",vt=mt.process,bt=mt.Deno,wt=vt&&vt.versions||bt&&bt.version,xt=wt&&wt.v8;xt&&(D=(B=xt.split("."))[0]>0&&B[0]<4?1:+(B[0]+B[1])),!D&>&&(!(B=gt.match(/Edge\/(\d+)/))||B[1]>=74)&&(B=gt.match(/Chrome\/(\d+)/))&&(D=+B[1]);var St=D,Et=St,At=P,Rt=O.String,Ot=!!Object.getOwnPropertySymbols&&!At((function(){var t=Symbol("symbol detection");return!Rt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Et&&Et<41})),kt=Ot&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Pt=dt,jt=ct,Tt=yt,It=Object,_t=kt?function(t){return"symbol"==typeof t}:function(t){var e=Pt("Symbol");return jt(e)&&Tt(e.prototype,It(t))},Nt=String,Ut=function(t){try{return Nt(t)}catch(t){return"Object"}},Ct=ct,Lt=Ut,Ft=TypeError,Bt=function(t){if(Ct(t))return t;throw new Ft(Lt(t)+" is not a function")},Dt=Bt,qt=et,Mt=function(t,e){var r=t[e];return qt(r)?void 0:Dt(r)},Wt=N,Gt=ct,zt=pt,Ht=TypeError,$t={exports:{}},Vt=O,Yt=Object.defineProperty,Kt=function(t,e){try{Yt(Vt,t,{value:e,configurable:!0,writable:!0})}catch(r){Vt[t]=e}return e},Jt=O,Qt=Kt,Xt="__core-js_shared__",Zt=$t.exports=Jt[Xt]||Qt(Xt,{});(Zt.versions||(Zt.versions=[])).push({version:"3.36.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"});var te=$t.exports,ee=te,re=function(t,e){return ee[t]||(ee[t]=e||{})},ne=ot,oe=Object,ie=function(t){return oe(ne(t))},ae=ie,se=H({}.hasOwnProperty),ue=Object.hasOwn||function(t,e){return se(ae(t),e)},ce=H,le=0,pe=Math.random(),fe=ce(1..toString),he=function(t){return"Symbol("+(void 0===t?"":t)+")_"+fe(++le+pe,36)},de=re,ye=ue,me=he,ge=Ot,ve=kt,be=O.Symbol,we=de("wks"),xe=ve?be.for||be:be&&be.withoutSetter||me,Se=function(t){return ye(we,t)||(we[t]=ge&&ye(be,t)?be[t]:xe("Symbol."+t)),we[t]},Ee=N,Ae=pt,Re=_t,Oe=Mt,ke=function(t,e){var r,n;if("string"===e&&Gt(r=t.toString)&&!zt(n=Wt(r,t)))return n;if(Gt(r=t.valueOf)&&!zt(n=Wt(r,t)))return n;if("string"!==e&&Gt(r=t.toString)&&!zt(n=Wt(r,t)))return n;throw new Ht("Can't convert object to primitive value")},Pe=TypeError,je=Se("toPrimitive"),Te=function(t,e){if(!Ae(t)||Re(t))return t;var r,n=Oe(t,je);if(n){if(void 0===e&&(e="default"),r=Ee(n,t,e),!Ae(r)||Re(r))return r;throw new Pe("Can't convert object to primitive value")}return void 0===e&&(e="number"),ke(t,e)},Ie=Te,_e=_t,Ne=function(t){var e=Ie(t,"string");return _e(e)?e:e+""},Ue=pt,Ce=O.document,Le=Ue(Ce)&&Ue(Ce.createElement),Fe=function(t){return Le?Ce.createElement(t):{}},Be=Fe,De=!j&&!P((function(){return 7!==Object.defineProperty(Be("div"),"a",{get:function(){return 7}}).a})),qe=j,Me=N,We=U,Ge=q,ze=st,He=Ne,$e=ue,Ve=De,Ye=Object.getOwnPropertyDescriptor;k.f=qe?Ye:function(t,e){if(t=ze(t),e=He(e),Ve)try{return Ye(t,e)}catch(t){}if($e(t,e))return Ge(!Me(We.f,t,e),t[e])};var Ke={},Je=j&&P((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Qe=pt,Xe=String,Ze=TypeError,tr=function(t){if(Qe(t))return t;throw new Ze(Xe(t)+" is not an object")},er=j,rr=De,nr=Je,or=tr,ir=Ne,ar=TypeError,sr=Object.defineProperty,ur=Object.getOwnPropertyDescriptor,cr="enumerable",lr="configurable",pr="writable";Ke.f=er?nr?function(t,e,r){if(or(t),e=ir(e),or(r),"function"==typeof t&&"prototype"===e&&"value"in r&&pr in r&&!r[pr]){var n=ur(t,e);n&&n[pr]&&(t[e]=r.value,r={configurable:lr in r?r[lr]:n[lr],enumerable:cr in r?r[cr]:n[cr],writable:!1})}return sr(t,e,r)}:sr:function(t,e,r){if(or(t),e=ir(e),or(r),rr)try{return sr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new ar("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var fr=Ke,hr=q,dr=j?function(t,e,r){return fr.f(t,e,hr(1,r))}:function(t,e,r){return t[e]=r,t},yr={exports:{}},mr=j,gr=ue,vr=Function.prototype,br=mr&&Object.getOwnPropertyDescriptor,wr=gr(vr,"name"),xr={EXISTS:wr,PROPER:wr&&"something"===function(){}.name,CONFIGURABLE:wr&&(!mr||mr&&br(vr,"name").configurable)},Sr=ct,Er=te,Ar=H(Function.toString);Sr(Er.inspectSource)||(Er.inspectSource=function(t){return Ar(t)});var Rr,Or,kr,Pr=Er.inspectSource,jr=ct,Tr=O.WeakMap,Ir=jr(Tr)&&/native code/.test(String(Tr)),_r=he,Nr=re("keys"),Ur=function(t){return Nr[t]||(Nr[t]=_r(t))},Cr={},Lr=Ir,Fr=O,Br=pt,Dr=dr,qr=ue,Mr=te,Wr=Ur,Gr=Cr,zr="Object already initialized",Hr=Fr.TypeError,$r=Fr.WeakMap;if(Lr||Mr.state){var Vr=Mr.state||(Mr.state=new $r);Vr.get=Vr.get,Vr.has=Vr.has,Vr.set=Vr.set,Rr=function(t,e){if(Vr.has(t))throw new Hr(zr);return e.facade=t,Vr.set(t,e),e},Or=function(t){return Vr.get(t)||{}},kr=function(t){return Vr.has(t)}}else{var Yr=Wr("state");Gr[Yr]=!0,Rr=function(t,e){if(qr(t,Yr))throw new Hr(zr);return e.facade=t,Dr(t,Yr,e),e},Or=function(t){return qr(t,Yr)?t[Yr]:{}},kr=function(t){return qr(t,Yr)}}var Kr={set:Rr,get:Or,has:kr,enforce:function(t){return kr(t)?Or(t):Rr(t,{})},getterFor:function(t){return function(e){var r;if(!Br(e)||(r=Or(e)).type!==t)throw new Hr("Incompatible receiver, "+t+" required");return r}}},Jr=H,Qr=P,Xr=ct,Zr=ue,tn=j,en=xr.CONFIGURABLE,rn=Pr,nn=Kr.enforce,on=Kr.get,an=String,sn=Object.defineProperty,un=Jr("".slice),cn=Jr("".replace),ln=Jr([].join),pn=tn&&!Qr((function(){return 8!==sn((function(){}),"length",{value:8}).length})),fn=String(String).split("String"),hn=yr.exports=function(t,e,r){"Symbol("===un(an(e),0,7)&&(e="["+cn(an(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Zr(t,"name")||en&&t.name!==e)&&(tn?sn(t,"name",{value:e,configurable:!0}):t.name=e),pn&&r&&Zr(r,"arity")&&t.length!==r.arity&&sn(t,"length",{value:r.arity});try{r&&Zr(r,"constructor")&&r.constructor?tn&&sn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=nn(t);return Zr(n,"source")||(n.source=ln(fn,"string"==typeof e?e:"")),t};Function.prototype.toString=hn((function(){return Xr(this)&&on(this).source||rn(this)}),"toString");var dn=yr.exports,yn=ct,mn=Ke,gn=dn,vn=Kt,bn=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(yn(r)&&gn(r,i,n),n.global)o?t[e]=r:vn(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:mn.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},wn={},xn=Math.ceil,Sn=Math.floor,En=Math.trunc||function(t){var e=+t;return(e>0?Sn:xn)(e)},An=function(t){var e=+t;return e!=e||0===e?0:En(e)},Rn=An,On=Math.max,kn=Math.min,Pn=function(t,e){var r=Rn(t);return r<0?On(r+e,0):kn(r,e)},jn=An,Tn=Math.min,In=function(t){var e=jn(t);return e>0?Tn(e,9007199254740991):0},_n=In,Nn=function(t){return _n(t.length)},Un=st,Cn=Pn,Ln=Nn,Fn=function(t){return function(e,r,n){var o=Un(e),i=Ln(o);if(0===i)return!t&&-1;var a,s=Cn(n,i);if(t&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((t||s in o)&&o[s]===r)return t||s||0;return!t&&-1}},Bn={includes:Fn(!0),indexOf:Fn(!1)},Dn=ue,qn=st,Mn=Bn.indexOf,Wn=Cr,Gn=H([].push),zn=function(t,e){var r,n=qn(t),o=0,i=[];for(r in n)!Dn(Wn,r)&&Dn(n,r)&&Gn(i,r);for(;e.length>o;)Dn(n,r=e[o++])&&(~Mn(i,r)||Gn(i,r));return i},Hn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$n=zn,Vn=Hn.concat("length","prototype");wn.f=Object.getOwnPropertyNames||function(t){return $n(t,Vn)};var Yn={};Yn.f=Object.getOwnPropertySymbols;var Kn=dt,Jn=wn,Qn=Yn,Xn=tr,Zn=H([].concat),to=Kn("Reflect","ownKeys")||function(t){var e=Jn.f(Xn(t)),r=Qn.f;return r?Zn(e,r(t)):e},eo=ue,ro=to,no=k,oo=Ke,io=P,ao=ct,so=/#|\.prototype\./,uo=function(t,e){var r=lo[co(t)];return r===fo||r!==po&&(ao(e)?io(e):!!e)},co=uo.normalize=function(t){return String(t).replace(so,".").toLowerCase()},lo=uo.data={},po=uo.NATIVE="N",fo=uo.POLYFILL="P",ho=uo,yo=O,mo=k.f,go=dr,vo=bn,bo=Kt,wo=function(t,e,r){for(var n=ro(e),o=oo.f,i=no.f,a=0;a<n.length;a++){var s=n[a];eo(t,s)||r&&eo(r,s)||o(t,s,i(e,s))}},xo=ho,So=function(t,e){var r,n,o,i,a,s=t.target,u=t.global,c=t.stat;if(r=u?yo:c?yo[s]||bo(s,{}):yo[s]&&yo[s].prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=mo(r,n))&&a.value:r[n],!xo(u?n:s+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;wo(i,o)}(t.sham||o&&o.sham)&&go(i,"sham",!0),vo(r,n,i,t)}},Eo=K,Ao=Array.isArray||function(t){return"Array"===Eo(t)},Ro=TypeError,Oo=j,ko=Ke,Po=q,jo=function(t,e,r){Oo?ko.f(t,e,Po(0,r)):t[e]=r},To={};To[Se("toStringTag")]="z";var Io="[object z]"===String(To),_o=Io,No=ct,Uo=K,Co=Se("toStringTag"),Lo=Object,Fo="Arguments"===Uo(function(){return arguments}()),Bo=_o?Uo:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Lo(t),Co))?r:Fo?Uo(e):"Object"===(n=Uo(e))&&No(e.callee)?"Arguments":n},Do=H,qo=P,Mo=ct,Wo=Bo,Go=Pr,zo=function(){},Ho=dt("Reflect","construct"),$o=/^\s*(?:class|function)\b/,Vo=Do($o.exec),Yo=!$o.test(zo),Ko=function(t){if(!Mo(t))return!1;try{return Ho(zo,[],t),!0}catch(t){return!1}},Jo=function(t){if(!Mo(t))return!1;switch(Wo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Yo||!!Vo($o,Go(t))}catch(t){return!0}};Jo.sham=!0;var Qo=!Ho||qo((function(){var t;return Ko(Ko.call)||!Ko(Object)||!Ko((function(){t=!0}))||t}))?Jo:Ko,Xo=Ao,Zo=Qo,ti=pt,ei=Se("species"),ri=Array,ni=function(t){var e;return Xo(t)&&(e=t.constructor,(Zo(e)&&(e===ri||Xo(e.prototype))||ti(e)&&null===(e=e[ei]))&&(e=void 0)),void 0===e?ri:e},oi=function(t,e){return new(ni(t))(0===e?0:e)},ii=P,ai=St,si=Se("species"),ui=function(t){return ai>=51||!ii((function(){var e=[];return(e.constructor={})[si]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},ci=So,li=P,pi=Ao,fi=pt,hi=ie,di=Nn,yi=function(t){if(t>9007199254740991)throw Ro("Maximum allowed index exceeded");return t},mi=jo,gi=oi,vi=ui,bi=St,wi=Se("isConcatSpreadable"),xi=bi>=51||!li((function(){var t=[];return t[wi]=!1,t.concat()[0]!==t})),Si=function(t){if(!fi(t))return!1;var e=t[wi];return void 0!==e?!!e:pi(t)};ci({target:"Array",proto:!0,arity:1,forced:!xi||!vi("concat")},{concat:function(t){var e,r,n,o,i,a=hi(this),s=gi(a,0),u=0;for(e=-1,n=arguments.length;e<n;e++)if(Si(i=-1===e?a:arguments[e]))for(o=di(i),yi(u+o),r=0;r<o;r++,u++)r in i&&mi(s,u,i[r]);else yi(u+1),mi(s,u++,i);return s.length=u,s}});var Ei=dn,Ai=Ke,Ri=function(t,e,r){return r.get&&Ei(r.get,e,{getter:!0}),r.set&&Ei(r.set,e,{setter:!0}),Ai.f(t,e,r)},Oi=j,ki=xr.EXISTS,Pi=H,ji=Ri,Ti=Function.prototype,Ii=Pi(Ti.toString),_i=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Ni=Pi(_i.exec);Oi&&!ki&&ji(Ti,"name",{configurable:!0,get:function(){try{return Ni(_i,Ii(this))[1]}catch(t){return""}}});var Ui=H,Ci=Bt,Li=pt,Fi=function(t){return Li(t)||null===t},Bi=String,Di=TypeError,qi=function(t,e,r){try{return Ui(Ci(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},Mi=pt,Wi=ot,Gi=function(t){if(Fi(t))return t;throw new Di("Can't set "+Bi(t)+" as a prototype")},zi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=qi(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return Wi(r),Gi(n),Mi(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0);So({target:"Object",stat:!0},{setPrototypeOf:zi});var Hi=function(t){function e(t){var n;return p(this,e),n=r(this,e,["This function is not supported in ".concat(t," environment")]),Error.captureStackTrace&&Error.captureStackTrace(n,e),n.name="UnsupportedPlatformError",n.platform=t,Object.setPrototypeOf(n,e.prototype),n}return y(e,t),h(e)}(v(Error));function $i(){this._types=Object.create(null),this._extensions=Object.create(null);for(let t=0;t<arguments.length;t++)this.define(arguments[t]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}$i.prototype.define=function(t,e){for(let r in t){let n=t[r].map((function(t){return t.toLowerCase()}));r=r.toLowerCase();for(let t=0;t<n.length;t++){const o=n[t];if("*"!==o[0]){if(!e&&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(e||!this._extensions[r]){const t=n[0];this._extensions[r]="*"!==t[0]?t:t.substr(1)}}},$i.prototype.getType=function(t){let e=(t=String(t)).replace(/^.*[/\\]/,"").toLowerCase(),r=e.replace(/^.*\./,"").toLowerCase(),n=e.length<t.length;return(r.length<e.length-1||!n)&&this._types[r]||null},$i.prototype.getExtension=function(t){return(t=/^\s*([^;\s]*)/.test(t)&&RegExp.$1)&&this._extensions[t.toLowerCase()]||null};var Vi=E(new $i({"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"]})),Yi="5.5.0",Ki=function(){var t=l(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":u(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){t.next=2;break}return t.abrupt("return",kintone.getRequestToken());case 2:if("object"!==("undefined"==typeof garoon?"undefined":u(garoon))||null===garoon||"function"!=typeof(null===(e=garoon.connect)||void 0===e||null===(e=e.kintone)||void 0===e?void 0:e.getRequestToken)){t.next=4;break}return t.abrupt("return",garoon.connect.kintone.getRequestToken());case 4:throw new Error("session authentication must specify a request token");case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Ji=Object.freeze({__proto__:null,buildBaseUrl:function(t){if(t)return t;if(void 0===location)throw new Error("The baseUrl parameter is required for this environment");var e=location,r=e.host,n=e.protocol;return"".concat(n,"//").concat(r)},buildFormDataValue:function(t,e){var r={};return e&&(r.type=Vi.getType(e)||void 0),new Blob([t],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Ki,getVersion:function(){return Yi},readFileFromPath:function(t){throw new Hi("Browser")}}),Qi={},Xi=zn,Zi=Hn,ta=Object.keys||function(t){return Xi(t,Zi)},ea=j,ra=Je,na=Ke,oa=tr,ia=st,aa=ta;Qi.f=ea&&!ra?Object.defineProperties:function(t,e){oa(t);for(var r,n=ia(e),o=aa(e),i=o.length,a=0;i>a;)na.f(t,r=o[a++],n[r]);return t};var sa,ua=dt("document","documentElement"),ca=tr,la=Qi,pa=Hn,fa=Cr,ha=ua,da=Fe,ya="prototype",ma="script",ga=Ur("IE_PROTO"),va=function(){},ba=function(t){return"<"+ma+">"+t+"</"+ma+">"},wa=function(t){t.write(ba("")),t.close();var e=t.parentWindow.Object;return t=null,e},xa=function(){try{sa=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;xa="undefined"!=typeof document?document.domain&&sa?wa(sa):(e=da("iframe"),r="java"+ma+":",e.style.display="none",ha.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(ba("document.F=Object")),t.close(),t.F):wa(sa);for(var n=pa.length;n--;)delete xa[ya][pa[n]];return xa()};fa[ga]=!0;var Sa=Object.create||function(t,e){var r;return null!==t?(va[ya]=ca(t),r=new va,va[ya]=null,r[ga]=t):r=xa(),void 0===e?r:la.f(r,e)},Ea=Se,Aa=Sa,Ra=Ke.f,Oa=Ea("unscopables"),ka=Array.prototype;void 0===ka[Oa]&&Ra(ka,Oa,{configurable:!0,value:Aa(null)});var Pa,ja,Ta,Ia={},_a=!P((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Na=ue,Ua=ct,Ca=ie,La=_a,Fa=Ur("IE_PROTO"),Ba=Object,Da=Ba.prototype,qa=La?Ba.getPrototypeOf:function(t){var e=Ca(t);if(Na(e,Fa))return e[Fa];var r=e.constructor;return Ua(r)&&e instanceof r?r.prototype:e instanceof Ba?Da:null},Ma=P,Wa=ct,Ga=pt,za=qa,Ha=bn,$a=Se("iterator"),Va=!1;[].keys&&("next"in(Ta=[].keys())?(ja=za(za(Ta)))!==Object.prototype&&(Pa=ja):Va=!0);var Ya=!Ga(Pa)||Ma((function(){var t={};return Pa[$a].call(t)!==t}));Ya&&(Pa={}),Wa(Pa[$a])||Ha(Pa,$a,(function(){return this}));var Ka={IteratorPrototype:Pa,BUGGY_SAFARI_ITERATORS:Va},Ja=Ke.f,Qa=ue,Xa=Se("toStringTag"),Za=function(t,e,r){t&&!r&&(t=t.prototype),t&&!Qa(t,Xa)&&Ja(t,Xa,{configurable:!0,value:e})},ts=Ka.IteratorPrototype,es=Sa,rs=q,ns=Za,os=Ia,is=function(){return this},as=function(t,e,r,n){var o=e+" Iterator";return t.prototype=es(ts,{next:rs(+!n,r)}),ns(t,o,!1),os[o]=is,t},ss=So,us=N,cs=ct,ls=as,ps=qa,fs=zi,hs=Za,ds=dr,ys=bn,ms=Ia,gs=xr.PROPER,vs=xr.CONFIGURABLE,bs=Ka.IteratorPrototype,ws=Ka.BUGGY_SAFARI_ITERATORS,xs=Se("iterator"),Ss="keys",Es="values",As="entries",Rs=function(){return this},Os=function(t,e,r,n,o,i,a){ls(r,e,n);var s,u,c,l=function(t){if(t===o&&y)return y;if(!ws&&t&&t in h)return h[t];switch(t){case Ss:case Es:case As:return function(){return new r(this,t)}}return function(){return new r(this)}},p=e+" Iterator",f=!1,h=t.prototype,d=h[xs]||h["@@iterator"]||o&&h[o],y=!ws&&d||l(o),m="Array"===e&&h.entries||d;if(m&&(s=ps(m.call(new t)))!==Object.prototype&&s.next&&(ps(s)!==bs&&(fs?fs(s,bs):cs(s[xs])||ys(s,xs,Rs)),hs(s,p,!0)),gs&&o===Es&&d&&d.name!==Es&&(vs?ds(h,"name",Es):(f=!0,y=function(){return us(d,this)})),o)if(u={values:l(Es),keys:i?y:l(Ss),entries:l(As)},a)for(c in u)(ws||f||!(c in h))&&ys(h,c,u[c]);else ss({target:e,proto:!0,forced:ws||f},u);return h[xs]!==y&&ys(h,xs,y,{name:o}),ms[e]=y,u},ks=function(t,e){return{value:t,done:e}},Ps=st,js=function(t){ka[Oa][t]=!0},Ts=Ia,Is=Kr,_s=Ke.f,Ns=Os,Us=ks,Cs=j,Ls="Array Iterator",Fs=Is.set,Bs=Is.getterFor(Ls),Ds=Ns(Array,"Array",(function(t,e){Fs(this,{type:Ls,target:Ps(t),index:0,kind:e})}),(function(){var t=Bs(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,Us(void 0,!0);switch(t.kind){case"keys":return Us(r,!1);case"values":return Us(e[r],!1)}return Us([r,e[r]],!1)}),"values"),qs=Ts.Arguments=Ts.Array;if(js("keys"),js("values"),js("entries"),Cs&&"values"!==qs.name)try{_s(qs,"name",{value:"values"})}catch(t){}var Ms=H,Ws=bn,Gs=Date.prototype,zs="Invalid Date",Hs="toString",$s=Ms(Gs[Hs]),Vs=Ms(Gs.getTime);String(new Date(NaN))!==zs&&Ws(Gs,Hs,(function(){var t=Vs(this);return t==t?$s(this):zs}));var Ys=Bo,Ks=Io?{}.toString:function(){return"[object "+Ys(this)+"]"};Io||bn(Object.prototype,"toString",Ks,{unsafe:!0});var Js=Bo,Qs=String,Xs=function(t){if("Symbol"===Js(t))throw new TypeError("Cannot convert a Symbol value to a string");return Qs(t)},Zs="\t\n\v\f\r \u2028\u2029\ufeff",tu=ot,eu=Xs,ru=Zs,nu=H("".replace),ou=RegExp("^["+ru+"]+"),iu=RegExp("(^|[^"+ru+"])["+ru+"]+$"),au=function(t){return function(e){var r=eu(tu(e));return 1&t&&(r=nu(r,ou,"")),2&t&&(r=nu(r,iu,"$1")),r}},su={start:au(1),end:au(2),trim:au(3)},uu=O,cu=P,lu=Xs,pu=su.trim,fu=Zs,hu=H("".charAt),du=uu.parseFloat,yu=uu.Symbol,mu=yu&&yu.iterator,gu=1/du(fu+"-0")!=-1/0||mu&&!cu((function(){du(Object(mu))}))?function(t){var e=pu(lu(t)),r=du(e);return 0===r&&"-"===hu(e,0)?-0:r}:du;So({global:!0,forced:parseFloat!==gu},{parseFloat:gu});var vu,bu,wu=tr,xu=function(){var t=wu(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},Su=P,Eu=O.RegExp,Au=Su((function(){var t=Eu("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Ru=Au||Su((function(){return!Eu("a","y").sticky})),Ou={BROKEN_CARET:Au||Su((function(){var t=Eu("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Ru,UNSUPPORTED_Y:Au},ku=P,Pu=O.RegExp,ju=ku((function(){var t=Pu(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),Tu=P,Iu=O.RegExp,_u=Tu((function(){var t=Iu("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Nu=N,Uu=H,Cu=Xs,Lu=xu,Fu=Ou,Bu=Sa,Du=Kr.get,qu=ju,Mu=_u,Wu=re("native-string-replace",String.prototype.replace),Gu=RegExp.prototype.exec,zu=Gu,Hu=Uu("".charAt),$u=Uu("".indexOf),Vu=Uu("".replace),Yu=Uu("".slice),Ku=(bu=/b*/g,Nu(Gu,vu=/a/,"a"),Nu(Gu,bu,"a"),0!==vu.lastIndex||0!==bu.lastIndex),Ju=Fu.BROKEN_CARET,Qu=void 0!==/()??/.exec("")[1];(Ku||Qu||Ju||qu||Mu)&&(zu=function(t){var e,r,n,o,i,a,s,u=this,c=Du(u),l=Cu(t),p=c.raw;if(p)return p.lastIndex=u.lastIndex,e=Nu(zu,p,l),u.lastIndex=p.lastIndex,e;var f=c.groups,h=Ju&&u.sticky,d=Nu(Lu,u),y=u.source,m=0,g=l;if(h&&(d=Vu(d,"y",""),-1===$u(d,"g")&&(d+="g"),g=Yu(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==Hu(l,u.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),Qu&&(r=new RegExp("^"+y+"$(?!\\s)",d)),Ku&&(n=u.lastIndex),o=Nu(Gu,h?r:u,g),h?o?(o.input=Yu(o.input,m),o[0]=Yu(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Ku&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),Qu&&o&&o.length>1&&Nu(Wu,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&f)for(o.groups=a=Bu(null),i=0;i<f.length;i++)a[(s=f[i])[0]]=o[s[1]];return o});var Xu=zu;So({target:"RegExp",proto:!0,forced:/./.exec!==Xu},{exec:Xu});var Zu=N,tc=ue,ec=yt,rc=xu,nc=RegExp.prototype,oc=xr.PROPER,ic=bn,ac=tr,sc=Xs,uc=P,cc=function(t){var e=t.flags;return void 0!==e||"flags"in nc||tc(t,"flags")||!ec(nc,t)?e:Zu(rc,t)},lc="toString",pc=RegExp.prototype,fc=pc[lc],hc=uc((function(){return"/a/b"!==fc.call({source:"a",flags:"b"})})),dc=oc&&fc.name!==lc;(hc||dc)&&ic(pc,lc,(function(){var t=ac(this);return"/"+sc(t.source)+"/"+sc(cc(t))}),{unsafe:!0});var yc=H,mc=An,gc=Xs,vc=ot,bc=yc("".charAt),wc=yc("".charCodeAt),xc=yc("".slice),Sc=function(t){return function(e,r){var n,o,i=gc(vc(e)),a=mc(r),s=i.length;return a<0||a>=s?t?"":void 0:(n=wc(i,a))<55296||n>56319||a+1===s||(o=wc(i,a+1))<56320||o>57343?t?bc(i,a):n:t?xc(i,a,a+2):o-56320+(n-55296<<10)+65536}},Ec={codeAt:Sc(!1),charAt:Sc(!0)},Ac=Ec.charAt,Rc=Xs,Oc=Kr,kc=Os,Pc=ks,jc="String Iterator",Tc=Oc.set,Ic=Oc.getterFor(jc);kc(String,"String",(function(t){Tc(this,{type:jc,string:Rc(t),index:0})}),(function(){var t,e=Ic(this),r=e.string,n=e.index;return n>=r.length?Pc(void 0,!0):(t=Ac(r,n),e.index+=t.length,Pc(t,!1))}));var _c=T,Nc=Function.prototype,Uc=Nc.apply,Cc=Nc.call,Lc="object"==typeof Reflect&&Reflect.apply||(_c?Cc.bind(Uc):function(){return Cc.apply(Uc,arguments)}),Fc=N,Bc=bn,Dc=Xu,qc=P,Mc=Se,Wc=dr,Gc=Mc("species"),zc=RegExp.prototype,Hc=function(t,e,r,n){var o=Mc(t),i=!qc((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),a=i&&!qc((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Gc]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var s=/./[o],u=e(o,""[t],(function(t,e,r,n,o){var a=e.exec;return a===Dc||a===zc.exec?i&&!o?{done:!0,value:Fc(s,e,r,n)}:{done:!0,value:Fc(t,r,e,n)}:{done:!1}}));Bc(String.prototype,t,u[0]),Bc(zc,o,u[1])}n&&Wc(zc[o],"sham",!0)},$c=Ec.charAt,Vc=function(t,e,r){return e+(r?$c(t,e).length:1)},Yc=H,Kc=ie,Jc=Math.floor,Qc=Yc("".charAt),Xc=Yc("".replace),Zc=Yc("".slice),tl=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,el=/\$([$&'`]|\d{1,2})/g,rl=N,nl=tr,ol=ct,il=K,al=Xu,sl=TypeError,ul=function(t,e){var r=t.exec;if(ol(r)){var n=rl(r,t,e);return null!==n&&nl(n),n}if("RegExp"===il(t))return rl(al,t,e);throw new sl("RegExp#exec called on incompatible receiver")},cl=Lc,ll=N,pl=H,fl=Hc,hl=P,dl=tr,yl=ct,ml=et,gl=An,vl=In,bl=Xs,wl=ot,xl=Vc,Sl=Mt,El=function(t,e,r,n,o,i){var a=r+t.length,s=n.length,u=el;return void 0!==o&&(o=Kc(o),u=tl),Xc(i,u,(function(i,u){var c;switch(Qc(u,0)){case"$":return"$";case"&":return t;case"`":return Zc(e,0,r);case"'":return Zc(e,a);case"<":c=o[Zc(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var p=Jc(l/10);return 0===p?i:p<=s?void 0===n[p-1]?Qc(u,1):n[p-1]+Qc(u,1):i}c=n[l-1]}return void 0===c?"":c}))},Al=ul,Rl=Se("replace"),Ol=Math.max,kl=Math.min,Pl=pl([].concat),jl=pl([].push),Tl=pl("".indexOf),Il=pl("".slice),_l="$0"==="a".replace(/./,"$0"),Nl=!!/./[Rl]&&""===/./[Rl]("a","$0");fl("replace",(function(t,e,r){var n=Nl?"$":"$0";return[function(t,r){var n=wl(this),o=ml(t)?void 0:Sl(t,Rl);return o?ll(o,t,n,r):ll(e,bl(n),t,r)},function(t,o){var i=dl(this),a=bl(t);if("string"==typeof o&&-1===Tl(o,n)&&-1===Tl(o,"$<")){var s=r(e,i,a,o);if(s.done)return s.value}var u=yl(o);u||(o=bl(o));var c,l=i.global;l&&(c=i.unicode,i.lastIndex=0);for(var p,f=[];null!==(p=Al(i,a))&&(jl(f,p),l);){""===bl(p[0])&&(i.lastIndex=xl(a,vl(i.lastIndex),c))}for(var h,d="",y=0,m=0;m<f.length;m++){for(var g,v=bl((p=f[m])[0]),b=Ol(kl(gl(p.index),a.length),0),w=[],x=1;x<p.length;x++)jl(w,void 0===(h=p[x])?h:String(h));var S=p.groups;if(u){var E=Pl([v],w,b,a);void 0!==S&&jl(E,S),g=bl(cl(o,void 0,E))}else g=El(v,a,b,w,S,o);b>=y&&(d+=Il(a,y,b)+g,y=b+v.length)}return d+Il(a,y)}]}),!!hl((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!_l||Nl);var Ul={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},Cl=Fe("span").classList,Ll=Cl&&Cl.constructor&&Cl.constructor.prototype,Fl=Ll===Object.prototype?void 0:Ll,Bl=O,Dl=Ul,ql=Fl,Ml=Ds,Wl=dr,Gl=Za,zl=Se("iterator"),Hl=Ml.values,$l=function(t,e){if(t){if(t[zl]!==Hl)try{Wl(t,zl,Hl)}catch(e){t[zl]=Hl}if(Gl(t,e,!0),Dl[e])for(var r in Ml)if(t[r]!==Ml[r])try{Wl(t,r,Ml[r])}catch(e){t[r]=Ml[r]}}};for(var Vl in Dl)$l(Bl[Vl]&&Bl[Vl].prototype,Vl);$l(ql,"DOMTokenList");var Yl=P,Kl=j,Jl=Se("iterator"),Ql=!Yl((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),r.delete("a",2),r.delete("b",void 0),!e.size&&!Kl||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Jl]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),Xl=K,Zl=H,tp=function(t){if("Function"===Xl(t))return Zl(t)},ep=Bt,rp=T,np=tp(tp.bind),op=function(t,e){return ep(t),void 0===e?t:rp?np(t,e):function(){return t.apply(e,arguments)}},ip=yt,ap=TypeError,sp=function(t,e){if(ip(e,t))return t;throw new ap("Incorrect invocation")},up=j,cp=H,lp=N,pp=P,fp=ta,hp=Yn,dp=U,yp=ie,mp=tt,gp=Object.assign,vp=Object.defineProperty,bp=cp([].concat),wp=!gp||pp((function(){if(up&&1!==gp({b:1},gp(vp({},"a",{enumerable:!0,get:function(){vp(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!==gp({},t)[r]||fp(gp({},e)).join("")!==n}))?function(t,e){for(var r=yp(t),n=arguments.length,o=1,i=hp.f,a=dp.f;n>o;)for(var s,u=mp(arguments[o++]),c=i?bp(fp(u),i(u)):fp(u),l=c.length,p=0;l>p;)s=c[p++],up&&!lp(a,u,s)||(r[s]=u[s]);return r}:gp,xp=N,Sp=tr,Ep=Mt,Ap=tr,Rp=function(t,e,r){var n,o;Sp(t);try{if(!(n=Ep(t,"return"))){if("throw"===e)throw r;return r}n=xp(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return Sp(n),r},Op=Ia,kp=Se("iterator"),Pp=Array.prototype,jp=Bo,Tp=Mt,Ip=et,_p=Ia,Np=Se("iterator"),Up=function(t){if(!Ip(t))return Tp(t,Np)||Tp(t,"@@iterator")||_p[jp(t)]},Cp=N,Lp=Bt,Fp=tr,Bp=Ut,Dp=Up,qp=TypeError,Mp=function(t,e){var r=arguments.length<2?Dp(t):e;if(Lp(r))return Fp(Cp(r,t));throw new qp(Bp(t)+" is not iterable")},Wp=op,Gp=N,zp=ie,Hp=function(t,e,r,n){try{return n?e(Ap(r)[0],r[1]):e(r)}catch(e){Rp(t,"throw",e)}},$p=function(t){return void 0!==t&&(Op.Array===t||Pp[kp]===t)},Vp=Qo,Yp=Nn,Kp=jo,Jp=Mp,Qp=Up,Xp=Array,Zp=H([].slice),tf=H,ef=2147483647,rf=/[^\0-\u007E]/,nf=/[.\u3002\uFF0E\uFF61]/g,of="Overflow: input needs wider integers to process",af=RangeError,sf=tf(nf.exec),uf=Math.floor,cf=String.fromCharCode,lf=tf("".charCodeAt),pf=tf([].join),ff=tf([].push),hf=tf("".replace),df=tf("".split),yf=tf("".toLowerCase),mf=function(t){return t+22+75*(t<26)},gf=function(t,e,r){var n=0;for(t=r?uf(t/700):t>>1,t+=uf(t/e);t>455;)t=uf(t/35),n+=36;return uf(n+36*t/(t+38))},vf=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=lf(t,r++);if(o>=55296&&o<=56319&&r<n){var i=lf(t,r++);56320==(64512&i)?ff(e,((1023&o)<<10)+(1023&i)+65536):(ff(e,o),r--)}else ff(e,o)}return e}(t);var r,n,o=t.length,i=128,a=0,s=72;for(r=0;r<t.length;r++)(n=t[r])<128&&ff(e,cf(n));var u=e.length,c=u;for(u&&ff(e,"-");c<o;){var l=ef;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<l&&(l=n);var p=c+1;if(l-i>uf((ef-a)/p))throw new af(of);for(a+=(l-i)*p,i=l,r=0;r<t.length;r++){if((n=t[r])<i&&++a>ef)throw new af(of);if(n===i){for(var f=a,h=36;;){var d=h<=s?1:h>=s+26?26:h-s;if(f<d)break;var y=f-d,m=36-d;ff(e,cf(mf(d+y%m))),f=uf(y/m),h+=36}ff(e,cf(mf(f))),s=gf(a,p,c===u),a=0,c++}}a++,i++}return pf(e,"")},bf=TypeError,wf=function(t,e){if(t<e)throw new bf("Not enough arguments");return t},xf=O,Sf=j,Ef=Object.getOwnPropertyDescriptor,Af=bn,Rf=Zp,Of=Math.floor,kf=function(t,e){var r=t.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=t[i];o&&e(t[o-1],n)>0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var a=Of(r/2),s=kf(Rf(t,0,a),e),u=kf(Rf(t,a),e),c=s.length,l=u.length,p=0,f=0;p<c||f<l;)t[p+f]=p<c&&f<l?e(s[p],u[f])<=0?s[p++]:u[f++]:p<c?s[p++]:u[f++];return t},Pf=So,jf=O,Tf=function(t){if(!Sf)return xf[t];var e=Ef(xf,t);return e&&e.value},If=N,_f=H,Nf=j,Uf=Ql,Cf=bn,Lf=Ri,Ff=function(t,e,r){for(var n in e)Af(t,n,e[n],r);return t},Bf=Za,Df=as,qf=Kr,Mf=sp,Wf=ct,Gf=ue,zf=op,Hf=Bo,$f=tr,Vf=pt,Yf=Xs,Kf=Sa,Jf=q,Qf=Mp,Xf=Up,Zf=ks,th=wf,eh=kf,rh=Se("iterator"),nh="URLSearchParams",oh=nh+"Iterator",ih=qf.set,ah=qf.getterFor(nh),sh=qf.getterFor(oh),uh=Tf("fetch"),ch=Tf("Request"),lh=Tf("Headers"),ph=ch&&ch.prototype,fh=lh&&lh.prototype,hh=jf.RegExp,dh=jf.TypeError,yh=jf.decodeURIComponent,mh=jf.encodeURIComponent,gh=_f("".charAt),vh=_f([].join),bh=_f([].push),wh=_f("".replace),xh=_f([].shift),Sh=_f([].splice),Eh=_f("".split),Ah=_f("".slice),Rh=/\+/g,Oh=Array(4),kh=function(t){return Oh[t-1]||(Oh[t-1]=hh("((?:%[\\da-f]{2}){"+t+"})","gi"))},Ph=function(t){try{return yh(t)}catch(e){return t}},jh=function(t){var e=wh(t,Rh," "),r=4;try{return yh(e)}catch(t){for(;r;)e=wh(e,kh(r--),Ph);return e}},Th=/[!'()~]|%20/g,Ih={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},_h=function(t){return Ih[t]},Nh=function(t){return wh(mh(t),Th,_h)},Uh=Df((function(t,e){ih(this,{type:oh,target:ah(t).entries,index:0,kind:e})}),nh,(function(){var t=sh(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,Zf(void 0,!0);var n=e[r];switch(t.kind){case"keys":return Zf(n.key,!1);case"values":return Zf(n.value,!1)}return Zf([n.key,n.value],!1)}),!0),Ch=function(t){this.entries=[],this.url=null,void 0!==t&&(Vf(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===gh(t,0)?Ah(t,1):t:Yf(t)))};Ch.prototype={type:nh,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,s,u=this.entries,c=Xf(t);if(c)for(r=(e=Qf(t,c)).next;!(n=If(r,e)).done;){if(i=(o=Qf($f(n.value))).next,(a=If(i,o)).done||(s=If(i,o)).done||!If(i,o).done)throw new dh("Expected sequence with length 2");bh(u,{key:Yf(a.value),value:Yf(s.value)})}else for(var l in t)Gf(t,l)&&bh(u,{key:l,value:Yf(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,o=Eh(t,"&"),i=0;i<o.length;)(e=o[i++]).length&&(r=Eh(e,"="),bh(n,{key:jh(xh(r)),value:jh(vh(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],bh(r,Nh(t.key)+"="+Nh(t.value));return vh(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Lh=function(){Mf(this,Fh);var t=ih(this,new Ch(arguments.length>0?arguments[0]:void 0));Nf||(this.size=t.entries.length)},Fh=Lh.prototype;if(Ff(Fh,{append:function(t,e){var r=ah(this);th(arguments.length,2),bh(r.entries,{key:Yf(t),value:Yf(e)}),Nf||this.length++,r.updateURL()},delete:function(t){for(var e=ah(this),r=th(arguments.length,1),n=e.entries,o=Yf(t),i=r<2?void 0:arguments[1],a=void 0===i?i:Yf(i),s=0;s<n.length;){var u=n[s];if(u.key!==o||void 0!==a&&u.value!==a)s++;else if(Sh(n,s,1),void 0!==a)break}Nf||(this.size=n.length),e.updateURL()},get:function(t){var e=ah(this).entries;th(arguments.length,1);for(var r=Yf(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=ah(this).entries;th(arguments.length,1);for(var r=Yf(t),n=[],o=0;o<e.length;o++)e[o].key===r&&bh(n,e[o].value);return n},has:function(t){for(var e=ah(this).entries,r=th(arguments.length,1),n=Yf(t),o=r<2?void 0:arguments[1],i=void 0===o?o:Yf(o),a=0;a<e.length;){var s=e[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(t,e){var r=ah(this);th(arguments.length,1);for(var n,o=r.entries,i=!1,a=Yf(t),s=Yf(e),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?Sh(o,u--,1):(i=!0,n.value=s));i||bh(o,{key:a,value:s}),Nf||(this.size=o.length),r.updateURL()},sort:function(){var t=ah(this);eh(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=ah(this).entries,n=zf(t,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new Uh(this,"keys")},values:function(){return new Uh(this,"values")},entries:function(){return new Uh(this,"entries")}},{enumerable:!0}),Cf(Fh,rh,Fh.entries,{name:"entries"}),Cf(Fh,"toString",(function(){return ah(this).serialize()}),{enumerable:!0}),Nf&&Lf(Fh,"size",{get:function(){return ah(this).entries.length},configurable:!0,enumerable:!0}),Bf(Lh,nh),Pf({global:!0,constructor:!0,forced:!Uf},{URLSearchParams:Lh}),!Uf&&Wf(lh)){var Bh=_f(fh.has),Dh=_f(fh.set),qh=function(t){if(Vf(t)){var e,r=t.body;if(Hf(r)===nh)return e=t.headers?new lh(t.headers):new lh,Bh(e,"content-type")||Dh(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Kf(t,{body:Jf(0,Yf(r)),headers:Jf(0,e)})}return t};if(Wf(uh)&&Pf({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return uh(t,arguments.length>1?qh(arguments[1]):{})}}),Wf(ch)){var Mh=function(t){return Mf(this,ph),new ch(t,arguments.length>1?qh(arguments[1]):{})};ph.constructor=Mh,Mh.prototype=ph,Pf({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Mh})}}var Wh,Gh=So,zh=j,Hh=Ql,$h=O,Vh=op,Yh=H,Kh=bn,Jh=Ri,Qh=sp,Xh=ue,Zh=wp,td=function(t){var e=zp(t),r=Vp(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Wp(o,n>2?arguments[2]:void 0));var a,s,u,c,l,p,f=Qp(e),h=0;if(!f||this===Xp&&$p(f))for(a=Yp(e),s=r?new this(a):Xp(a);a>h;h++)p=i?o(e[h],h):e[h],Kp(s,h,p);else for(s=r?new this:[],l=(c=Jp(e,f)).next;!(u=Gp(l,c)).done;h++)p=i?Hp(c,o,[u.value,h],!0):u.value,Kp(s,h,p);return s.length=h,s},ed=Zp,rd=Ec.codeAt,nd=function(t){var e,r,n=[],o=df(hf(yf(t),nf,"."),".");for(e=0;e<o.length;e++)r=o[e],ff(n,sf(rf,r)?"xn--"+vf(r):r);return pf(n,".")},od=Xs,id=Za,ad=wf,sd={URLSearchParams:Lh,getState:ah},ud=Kr,cd=ud.set,ld=ud.getterFor("URL"),pd=sd.URLSearchParams,fd=sd.getState,hd=$h.URL,dd=$h.TypeError,yd=$h.parseInt,md=Math.floor,gd=Math.pow,vd=Yh("".charAt),bd=Yh(/./.exec),wd=Yh([].join),xd=Yh(1..toString),Sd=Yh([].pop),Ed=Yh([].push),Ad=Yh("".replace),Rd=Yh([].shift),Od=Yh("".split),kd=Yh("".slice),Pd=Yh("".toLowerCase),jd=Yh([].unshift),Td="Invalid scheme",Id="Invalid host",_d="Invalid port",Nd=/[a-z]/i,Ud=/[\d+-.a-z]/i,Cd=/\d/,Ld=/^0x/i,Fd=/^[0-7]+$/,Bd=/^\d+$/,Dd=/^[\da-f]+$/i,qd=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Md=/[\0\t\n\r #/:<>?@[\\\]^|]/,Wd=/^[\u0000-\u0020]+/,Gd=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,zd=/[\t\n\r]/g,Hd=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)jd(e,t%256),t=md(t/256);return wd(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=xd(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},$d={},Vd=Zh({},$d,{" ":1,'"':1,"<":1,">":1,"`":1}),Yd=Zh({},Vd,{"#":1,"?":1,"{":1,"}":1}),Kd=Zh({},Yd,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Jd=function(t,e){var r=rd(t,0);return r>32&&r<127&&!Xh(e,t)?t:encodeURIComponent(t)},Qd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Xd=function(t,e){var r;return 2===t.length&&bd(Nd,vd(t,0))&&(":"===(r=vd(t,1))||!e&&"|"===r)},Zd=function(t){var e;return t.length>1&&Xd(kd(t,0,2))&&(2===t.length||"/"===(e=vd(t,2))||"\\"===e||"?"===e||"#"===e)},ty=function(t){return"."===t||"%2e"===Pd(t)},ey={},ry={},ny={},oy={},iy={},ay={},sy={},uy={},cy={},ly={},py={},fy={},hy={},dy={},yy={},my={},gy={},vy={},by={},wy={},xy={},Sy=function(t,e,r){var n,o,i,a=od(t);if(e){if(o=this.parse(a))throw new dd(o);this.searchParams=null}else{if(void 0!==r&&(n=new Sy(r,!0)),o=this.parse(a,null,n))throw new dd(o);(i=fd(new pd)).bindURL(this),this.searchParams=i}};Sy.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,s,u=this,c=e||ey,l=0,p="",f=!1,h=!1,d=!1;for(t=od(t),e||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,t=Ad(t,Wd,""),t=Ad(t,Gd,"$1")),t=Ad(t,zd,""),n=td(t);l<=n.length;){switch(o=n[l],c){case ey:if(!o||!bd(Nd,o)){if(e)return Td;c=ny;continue}p+=Pd(o),c=ry;break;case ry:if(o&&(bd(Ud,o)||"+"===o||"-"===o||"."===o))p+=Pd(o);else{if(":"!==o){if(e)return Td;p="",c=ny,l=0;continue}if(e&&(u.isSpecial()!==Xh(Qd,p)||"file"===p&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=p,e)return void(u.isSpecial()&&Qd[u.scheme]===u.port&&(u.port=null));p="","file"===u.scheme?c=dy:u.isSpecial()&&r&&r.scheme===u.scheme?c=oy:u.isSpecial()?c=uy:"/"===n[l+1]?(c=iy,l++):(u.cannotBeABaseURL=!0,Ed(u.path,""),c=by)}break;case ny:if(!r||r.cannotBeABaseURL&&"#"!==o)return Td;if(r.cannotBeABaseURL&&"#"===o){u.scheme=r.scheme,u.path=ed(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,c=xy;break}c="file"===r.scheme?dy:ay;continue;case oy:if("/"!==o||"/"!==n[l+1]){c=ay;continue}c=cy,l++;break;case iy:if("/"===o){c=ly;break}c=vy;continue;case ay:if(u.scheme=r.scheme,o===Wh)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=ed(r.path),u.query=r.query;else if("/"===o||"\\"===o&&u.isSpecial())c=sy;else if("?"===o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=ed(r.path),u.query="",c=wy;else{if("#"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=ed(r.path),u.path.length--,c=vy;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=ed(r.path),u.query=r.query,u.fragment="",c=xy}break;case sy:if(!u.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,c=vy;continue}c=ly}else c=cy;break;case uy:if(c=cy,"/"!==o||"/"!==vd(p,l+1))continue;l++;break;case cy:if("/"!==o&&"\\"!==o){c=ly;continue}break;case ly:if("@"===o){f&&(p="%40"+p),f=!0,i=td(p);for(var y=0;y<i.length;y++){var m=i[y];if(":"!==m||d){var g=Jd(m,Kd);d?u.password+=g:u.username+=g}else d=!0}p=""}else if(o===Wh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(f&&""===p)return"Invalid authority";l-=td(p).length+1,p="",c=py}else p+=o;break;case py:case fy:if(e&&"file"===u.scheme){c=my;continue}if(":"!==o||h){if(o===Wh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(u.isSpecial()&&""===p)return Id;if(e&&""===p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",c=gy,e)return;continue}"["===o?h=!0:"]"===o&&(h=!1),p+=o}else{if(""===p)return Id;if(a=u.parseHost(p))return a;if(p="",c=hy,e===fy)return}break;case hy:if(!bd(Cd,o)){if(o===Wh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()||e){if(""!==p){var v=yd(p,10);if(v>65535)return _d;u.port=u.isSpecial()&&v===Qd[u.scheme]?null:v,p=""}if(e)return;c=gy;continue}return _d}p+=o;break;case dy:if(u.scheme="file","/"===o||"\\"===o)c=yy;else{if(!r||"file"!==r.scheme){c=vy;continue}switch(o){case Wh:u.host=r.host,u.path=ed(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=ed(r.path),u.query="",c=wy;break;case"#":u.host=r.host,u.path=ed(r.path),u.query=r.query,u.fragment="",c=xy;break;default:Zd(wd(ed(n,l),""))||(u.host=r.host,u.path=ed(r.path),u.shortenPath()),c=vy;continue}}break;case yy:if("/"===o||"\\"===o){c=my;break}r&&"file"===r.scheme&&!Zd(wd(ed(n,l),""))&&(Xd(r.path[0],!0)?Ed(u.path,r.path[0]):u.host=r.host),c=vy;continue;case my:if(o===Wh||"/"===o||"\\"===o||"?"===o||"#"===o){if(!e&&Xd(p))c=vy;else if(""===p){if(u.host="",e)return;c=gy}else{if(a=u.parseHost(p))return a;if("localhost"===u.host&&(u.host=""),e)return;p="",c=gy}continue}p+=o;break;case gy:if(u.isSpecial()){if(c=vy,"/"!==o&&"\\"!==o)continue}else if(e||"?"!==o)if(e||"#"!==o){if(o!==Wh&&(c=vy,"/"!==o))continue}else u.fragment="",c=xy;else u.query="",c=wy;break;case vy:if(o===Wh||"/"===o||"\\"===o&&u.isSpecial()||!e&&("?"===o||"#"===o)){if(".."===(s=Pd(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(u.shortenPath(),"/"===o||"\\"===o&&u.isSpecial()||Ed(u.path,"")):ty(p)?"/"===o||"\\"===o&&u.isSpecial()||Ed(u.path,""):("file"===u.scheme&&!u.path.length&&Xd(p)&&(u.host&&(u.host=""),p=vd(p,0)+":"),Ed(u.path,p)),p="","file"===u.scheme&&(o===Wh||"?"===o||"#"===o))for(;u.path.length>1&&""===u.path[0];)Rd(u.path);"?"===o?(u.query="",c=wy):"#"===o&&(u.fragment="",c=xy)}else p+=Jd(o,Yd);break;case by:"?"===o?(u.query="",c=wy):"#"===o?(u.fragment="",c=xy):o!==Wh&&(u.path[0]+=Jd(o,$d));break;case wy:e||"#"!==o?o!==Wh&&("'"===o&&u.isSpecial()?u.query+="%27":u.query+="#"===o?"%23":Jd(o,$d)):(u.fragment="",c=xy);break;case xy:o!==Wh&&(u.fragment+=Jd(o,Vd))}l++}},parseHost:function(t){var e,r,n;if("["===vd(t,0)){if("]"!==vd(t,t.length-1))return Id;if(e=function(t){var e,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,p=0,f=function(){return vd(t,p)};if(":"===f()){if(":"!==vd(t,1))return;p+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(e=r=0;r<4&&bd(Dd,f());)e=16*e+yd(f(),16),p++,r++;if("."===f()){if(0===r)return;if(p-=r,c>6)return;for(n=0;f();){if(o=null,n>0){if(!("."===f()&&n<4))return;p++}if(!bd(Cd,f()))return;for(;bd(Cd,f());){if(i=yd(f(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;p++}u[c]=256*u[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===f()){if(p++,!f())return}else if(f())return;u[c++]=e}else{if(null!==l)return;p++,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(t,1,-1)),!e)return Id;this.host=e}else if(this.isSpecial()){if(t=nd(t),bd(qd,t))return Id;if(e=function(t){var e,r,n,o,i,a,s,u=Od(t,".");if(u.length&&""===u[u.length-1]&&u.length--,(e=u.length)>4)return t;for(r=[],n=0;n<e;n++){if(""===(o=u[n]))return t;if(i=10,o.length>1&&"0"===vd(o,0)&&(i=bd(Ld,o)?16:8,o=kd(o,8===i?1:2)),""===o)a=0;else{if(!bd(10===i?Bd:8===i?Fd:Dd,o))return t;a=yd(o,i)}Ed(r,a)}for(n=0;n<e;n++)if(a=r[n],n===e-1){if(a>=gd(256,5-e))return null}else if(a>255)return null;for(s=Sd(r),n=0;n<r.length;n++)s+=r[n]*gd(256,3-n);return s}(t),null===e)return Id;this.host=e}else{if(bd(Md,t))return Id;for(e="",r=td(t),n=0;n<r.length;n++)e+=Jd(r[n],$d);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return Xh(Qd,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&Xd(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,s=t.query,u=t.fragment,c=e+":";return null!==o?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Hd(o),null!==i&&(c+=":"+i)):"file"===e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+wd(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(t){var e=this.parse(t);if(e)throw new dd(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Ey(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+Hd(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(od(t)+":",ey)},getUsername:function(){return this.username},setUsername:function(t){var e=td(od(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=Jd(e[r],Kd)}},getPassword:function(){return this.password},setPassword:function(t){var e=td(od(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=Jd(e[r],Kd)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?Hd(t):Hd(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,py)},getHostname:function(){var t=this.host;return null===t?"":Hd(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,fy)},getPort:function(){var t=this.port;return null===t?"":od(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=od(t))?this.port=null:this.parse(t,hy))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+wd(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,gy))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=od(t))?this.query=null:("?"===vd(t,0)&&(t=kd(t,1)),this.query="",this.parse(t,wy)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=od(t))?("#"===vd(t,0)&&(t=kd(t,1)),this.fragment="",this.parse(t,xy)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ey=function(t){var e=Qh(this,Ay),r=ad(arguments.length,1)>1?arguments[1]:void 0,n=cd(e,new Sy(t,!1,r));zh||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Ay=Ey.prototype,Ry=function(t,e){return{get:function(){return ld(this)[t]()},set:e&&function(t){return ld(this)[e](t)},configurable:!0,enumerable:!0}};if(zh&&(Jh(Ay,"href",Ry("serialize","setHref")),Jh(Ay,"origin",Ry("getOrigin")),Jh(Ay,"protocol",Ry("getProtocol","setProtocol")),Jh(Ay,"username",Ry("getUsername","setUsername")),Jh(Ay,"password",Ry("getPassword","setPassword")),Jh(Ay,"host",Ry("getHost","setHost")),Jh(Ay,"hostname",Ry("getHostname","setHostname")),Jh(Ay,"port",Ry("getPort","setPort")),Jh(Ay,"pathname",Ry("getPathname","setPathname")),Jh(Ay,"search",Ry("getSearch","setSearch")),Jh(Ay,"searchParams",Ry("getSearchParams")),Jh(Ay,"hash",Ry("getHash","setHash"))),Kh(Ay,"toJSON",(function(){return ld(this).serialize()}),{enumerable:!0}),Kh(Ay,"toString",(function(){return ld(this).serialize()}),{enumerable:!0}),hd){var Oy=hd.createObjectURL,ky=hd.revokeObjectURL;Oy&&Kh(Ey,"createObjectURL",Vh(Oy,hd)),ky&&Kh(Ey,"revokeObjectURL",Vh(ky,hd))}id(Ey,"URL"),Gh({global:!0,constructor:!0,forced:!Hh,sham:!zh},{URL:Ey});var Py=N;So({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return Py(URL.prototype.toString,this)}});var jy=op,Ty=tt,Iy=ie,_y=Nn,Ny=oi,Uy=H([].push),Cy=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,s=5===t||i;return function(u,c,l,p){for(var f,h,d=Iy(u),y=Ty(d),m=_y(y),g=jy(c,l),v=0,b=p||Ny,w=e?b(u,m):r||a?b(u,0):void 0;m>v;v++)if((s||v in y)&&(h=g(f=y[v],v,d),t))if(e)w[v]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return v;case 2:Uy(w,f)}else switch(t){case 4:return!1;case 7:Uy(w,f)}return i?-1:n||o?o:w}},Ly={forEach:Cy(0),map:Cy(1),filter:Cy(2),some:Cy(3),every:Cy(4),find:Cy(5),findIndex:Cy(6),filterReject:Cy(7)},Fy=Ly.map;So({target:"Array",proto:!0,forced:!ui("map")},{map:function(t){return Fy(this,t,arguments.length>1?arguments[1]:void 0)}});var By=function(t){var e=t.endpointName,r=t.guestSpaceId,n=t.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(e,".json")},Dy=function(){return h((function t(e,r){p(this,t),this.client=e,this.guestSpaceId=r}),[{key:"buildPathWithGuestSpaceId",value:function(t){return By(i(i({},t),{},{guestSpaceId:this.guestSpaceId}))}},{key:"buildPath",value:function(t){return By(t)}}])}(),qy=["endpointName"],My=function(t){function e(t,n){var o;return p(this,e),(o=r(this,e,[t,n])).REQUESTS_LENGTH_LIMIT=20,o}return y(e,t),h(e,[{key:"send",value:function(t){var e=this,r=t.requests.map((function(t){if("endpointName"in t){var r=t.endpointName,n=b(t,qy);return i({api:e.buildPathWithGuestSpaceId({endpointName:r})},n)}return t})),n=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(n,{requests:r})}}])}(Dy),Wy=["preview"],Gy=["preview"],zy=["preview"],Hy=["preview"],$y=["preview"],Vy=["preview"],Yy=["preview"],Ky=["preview"],Jy=["preview"],Qy=["preview"],Xy=["preview"],Zy=["preview"],tm=["preview"],em=["preview"],rm=function(t){function e(){return p(this,e),r(this,e,arguments)}return y(e,t),h(e,[{key:"getFormFields",value:function(t){var e=t.preview,r=b(t,Wy),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:e});return this.client.get(n,i({},r))}},{key:"addFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(e,t)}},{key:"updateFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(e,t)}},{key:"deleteFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(e,t)}},{key:"getFormLayout",value:function(t){var e=t.preview,r=b(t,Gy),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:e});return this.client.get(n,i({},r))}},{key:"updateFormLayout",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(e,t)}},{key:"getViews",value:function(t){var e=t.preview,r=b(t,zy),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:e});return this.client.get(n,r)}},{key:"updateViews",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(e,t)}},{key:"getApp",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(e,t)}},{key:"getApps",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(e,t)}},{key:"addApp",value:(n=l(a().mark((function t(e){var r,n,o,s,u,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.name,n=e.space,o=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!n){t.next=9;break}return s=this.buildPathWithGuestSpaceId({endpointName:"space"}),t.next=6,this.client.get(s,{id:n});case 6:return u=t.sent,c=u.defaultThread,t.abrupt("return",this.client.post(o,i(i({},e),{},{thread:c})));case 9:return t.abrupt("return",this.client.post(o,{name:r}));case 10:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"getAppSettings",value:function(t){var e=t.preview,r=b(t,Hy),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:e});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(e,t)}},{key:"getProcessManagement",value:function(t){var e=t.preview,r=b(t,$y),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:e});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(e,t)}},{key:"getDeployStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(e,t)}},{key:"deployApp",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(e,t)}},{key:"getFieldAcl",value:function(t){var e=t.preview,r=b(t,Vy),n=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:e});return this.client.get(n,i({},r))}},{key:"updateFieldAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(e,t)}},{key:"getAppAcl",value:function(t){var e=t.preview,r=b(t,Yy),n=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:e});return this.client.get(n,i({},r))}},{key:"updateAppAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(e,t)}},{key:"evaluateRecordsAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(e,t)}},{key:"getRecordAcl",value:function(t){var e=t.preview,r=b(t,Ky),n=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:e});return this.client.get(n,i({},r))}},{key:"updateRecordAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(e,t)}},{key:"getAppCustomize",value:function(t){var e=t.preview,r=b(t,Jy),n=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:e});return this.client.get(n,i({},r))}},{key:"updateAppCustomize",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(e,t)}},{key:"getGeneralNotifications",value:function(t){var e=t.preview,r=b(t,Qy),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:e});return this.client.get(n,i({},r))}},{key:"updateGeneralNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(e,t)}},{key:"getPerRecordNotifications",value:function(t){var e=t.preview,r=b(t,Xy),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:e});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(e,t)}},{key:"getReminderNotifications",value:function(t){var e=t.preview,r=b(t,Zy),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:e});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(e,t)}},{key:"getReports",value:function(t){var e=t.preview,r=b(t,tm),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:e});return this.client.get(n,r)}},{key:"updateReports",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(e,t)}},{key:"getAppActions",value:function(t){var e=t.preview,r=b(t,em),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:e});return this.client.get(n,r)}},{key:"updateAppActions",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(e,t)}}]);var n}(Dy),nm=P,om=function(t,e){var r=[][t];return!!r&&nm((function(){r.call(null,e||function(){return 1},1)}))},im=Ly.every;So({target:"Array",proto:!0,forced:!om("every")},{every:function(t){return im(this,t,arguments.length>1?arguments[1]:void 0)}});var am=So,sm=Bn.indexOf,um=om,cm=tp([].indexOf),lm=!!cm&&1/cm([1],1,-0)<0;am({target:"Array",proto:!0,forced:lm||!um("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return lm?cm(this,t,e)||0:sm(this,t,e)}}),So({target:"Array",stat:!0},{isArray:Ao});var pm=Bt,fm=ie,hm=tt,dm=Nn,ym=TypeError,mm="Reduce of empty array with no initial value",gm=function(t){return function(e,r,n,o){var i=fm(e),a=hm(i),s=dm(i);if(pm(r),0===s&&n<2)throw new ym(mm);var u=t?s-1:0,c=t?-1:1;if(n<2)for(;;){if(u in a){o=a[u],u+=c;break}if(u+=c,t?u<0:s<=u)throw new ym(mm)}for(;t?u>=0:s>u;u+=c)u in a&&(o=r(o,a[u],u,i));return o}},vm={left:gm(!1),right:gm(!0)},bm="process"===K(O.process),wm=vm.left;So({target:"Array",proto:!0,forced:!bm&&St>79&&St<83||!om("reduce")},{reduce:function(t){var e=arguments.length;return wm(this,t,e,e>1?arguments[1]:void 0)}});var xm=So,Sm=Ao,Em=Qo,Am=pt,Rm=Pn,Om=Nn,km=st,Pm=jo,jm=Se,Tm=Zp,Im=ui("slice"),_m=jm("species"),Nm=Array,Um=Math.max;xm({target:"Array",proto:!0,forced:!Im},{slice:function(t,e){var r,n,o,i=km(this),a=Om(i),s=Rm(t,a),u=Rm(void 0===e?a:e,a);if(Sm(i)&&(r=i.constructor,(Em(r)&&(r===Nm||Sm(r.prototype))||Am(r)&&null===(r=r[_m]))&&(r=void 0),r===Nm||void 0===r))return Tm(i,s,u);for(n=new(void 0===r?Nm:r)(Um(u-s,0)),o=0;s<u;s++,o++)s in i&&Pm(n,o,i[s]);return n.length=o,n}});var Cm=O,Lm=ct,Fm=pt,Bm=zi,Dm=H(1..valueOf),qm=So,Mm=j,Wm=O,Gm=Cm,zm=H,Hm=ho,$m=ue,Vm=function(t,e,r){var n,o;return Bm&&Lm(n=e.constructor)&&n!==r&&Fm(o=n.prototype)&&o!==r.prototype&&Bm(t,o),t},Ym=yt,Km=_t,Jm=Te,Qm=P,Xm=wn.f,Zm=k.f,tg=Ke.f,eg=Dm,rg=su.trim,ng="Number",og=Wm[ng];Gm[ng];var ig=og.prototype,ag=Wm.TypeError,sg=zm("".slice),ug=zm("".charCodeAt),cg=function(t){var e,r,n,o,i,a,s,u,c=Jm(t,"number");if(Km(c))throw new ag("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=rg(c),43===(e=ug(c,0))||45===e){if(88===(r=ug(c,2))||120===r)return NaN}else if(48===e){switch(ug(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=sg(c,2)).length,s=0;s<a;s++)if((u=ug(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},lg=Hm(ng,!og(" 0o1")||!og("0b1")||og("+0x1")),pg=function(t){var e,r=arguments.length<1?0:og(function(t){var e=Jm(t,"number");return"bigint"==typeof e?e:cg(e)}(t));return Ym(ig,e=this)&&Qm((function(){eg(e)}))?Vm(Object(r),this,pg):r};pg.prototype=ig,lg&&(ig.constructor=pg),qm({global:!0,constructor:!0,wrap:!0,forced:lg},{Number:pg});lg&&function(t,e){for(var r,n=Mm?Xm(e):"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++)$m(e,r=n[o])&&!$m(t,r)&&tg(t,r,Zm(e,r))}(Gm[ng],og);var fg=wp;So({target:"Object",stat:!0,arity:2,forced:Object.assign!==fg},{assign:fg});var hg=N,dg=tr,yg=et,mg=In,gg=Xs,vg=ot,bg=Mt,wg=Vc,xg=ul;Hc("match",(function(t,e,r){return[function(e){var r=vg(this),n=yg(e)?void 0:bg(e,t);return n?hg(n,e,r):new RegExp(e)[t](gg(r))},function(t){var n=dg(this),o=gg(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return xg(n,o);var a=n.unicode;n.lastIndex=0;for(var s,u=[],c=0;null!==(s=xg(n,o));){var l=gg(s[0]);u[c]=l,""===l&&(n.lastIndex=wg(o,mg(n.lastIndex),a)),c++}return 0===c?null:u}]}));var Sg=function(t){function e(t){var n;return p(this,e),(n=r(this,e,[t])).name="KintoneAbortSearchError",n.message=t,Object.setPrototypeOf(n,e.prototype),n}return y(e,t),h(e)}(v(Error)),Eg=Ly.forEach,Ag=om("forEach")?[].forEach:function(t){return Eg(this,t,arguments.length>1?arguments[1]:void 0)};So({target:"Array",proto:!0,forced:[].forEach!==Ag},{forEach:Ag});var Rg=ie,Og=ta;So({target:"Object",stat:!0,forced:P((function(){Og(1)}))},{keys:function(t){return Og(Rg(t))}});var kg=O,Pg=Ul,jg=Fl,Tg=Ag,Ig=dr,_g=function(t){if(t&&t.forEach!==Tg)try{Ig(t,"forEach",Tg)}catch(e){t.forEach=Tg}};for(var Ng in Pg)Pg[Ng]&&_g(kg[Ng]&&kg[Ng].prototype);_g(jg);var Ug=function(t){function e(t,n,o,i,a){var s;p(this,e);var u=o-n.length,c=e.extractErrorIndex(u,i,a),l=e.buildErrorMessage(u,o,c);return(s=r(this,e,[l])).name="KintoneAllRecordsError",s.processedRecordsResult=t,s.unprocessedRecords=n,s.error=i,s.errorIndex=c,s.message=l,s.numOfProcessedRecords=u,s.numOfAllRecords=o,Object.setPrototypeOf(s,e.prototype),s}return y(e,t),h(e,null,[{key:"parseErrorIndex",value:function(t){var e=[];return Object.keys(t).forEach((function(t){var r=t.match(/records\[(\d+)\]/);r&&e.push(Number(r[1]))})),e.length>0?Math.min.apply(Math,e):null}},{key:"extractErrorIndex",value:function(t,r,n){if(void 0!==r.bulkRequestIndex&&r.errors){var o=e.parseErrorIndex(r.errors);if(null!==o)return t+r.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(t,e,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(t,"/").concat(e," records are processed successfully")}}])}(v(Error)),Cg=function(t){function e(t){var n;p(this,e);var o=e.buildErrorResponseDateWithIndex(t),i=o.data,a=o.bulkRequestIndex;return(n=r(this,e,[i.message])).name="KintoneRestAPIError",n.id=i.id,n.code=i.code,n.errors=i.errors,n.status=t.status,n.bulkRequestIndex=a,n.headers=t.headers,n.message="[".concat(t.status,"] [").concat(n.code,"] ").concat(n.message," (").concat(n.id,")"),Error.captureStackTrace&&Error.captureStackTrace(n,e),Object.setPrototypeOf(n,e.prototype),n}return y(e,t),h(e,null,[{key:"findErrorResponseDataWithIndex",value:function(t){for(var e=0;e<t.length;e++){if(0!==Object.keys(t[e]).length)return{data:t[e],bulkRequestIndex:e}}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(t){return"results"in t.data?e.findErrorResponseDataWithIndex(t.data.results):{data:t.data}}}])}(v(Error)),Lg=["condition","orderBy","withCursor"],Fg=["fields","condition"],Bg=["condition","orderBy"],Dg=500,qg=function(t){function e(t,n,o){var i;return p(this,e),(i=r(this,e,[t,o])).bulkRequestClient=n,i.didWarnMaximumOffsetValue=!1,i}return y(e,t),h(e,[{key:"getRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(e,t)}},{key:"addRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(e,t)}},{key:"updateRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(e,t)}},{key:"upsertRecord",value:(O=l(a().mark((function t(e){var r,n,o,i,s,u,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.app,n=e.updateKey,o=e.record,t.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(i=t.sent,!((s=i.records).length>0)){t.next=13;break}if("__ID__"!==s[0].$id.type){t.next=12;break}return t.next=9,this.updateRecord(e);case 9:return u=t.sent,c=u.revision,t.abrupt("return",{id:s[0].$id.value,revision:c});case 12: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 13:return t.abrupt("return",this.addRecord({app:r,record:Object.assign({},o,d({},n.field,{value:n.value}))}));case 14:case"end":return t.stop()}}),t,this)}))),function(t){return O.apply(this,arguments)})},{key:"getRecords",value:(R=l(a().mark((function t(e){var r,n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.get(r,e);case 3:return n=t.sent,this.warnMaximumOffsetValueIfNeeded(e.query),t.abrupt("return",n);case 6:case"end":return t.stop()}}),t,this)}))),function(t){return R.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(t){if(t){var e=t.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&e&&Number(e[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=l(a().mark((function t(e){var r,n,o,i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.post(r,e);case 3:return n=t.sent,o=n.ids,i=n.revisions,t.abrupt("return",{ids:o,revisions:i,records:o.map((function(t,e){return{id:t,revision:i[e]}}))});case 7:case"end":return t.stop()}}),t,this)}))),function(t){return A.apply(this,arguments)})},{key:"updateRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(e,t)}},{key:"deleteRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(e,t)}},{key:"createCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(e,t)}},{key:"getRecordsByCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(e,t)}},{key:"deleteCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(e,t)}},{key:"getAllRecords",value:(E=l(a().mark((function t(e){var r,n,o,s,u,c,l;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.condition,n=e.orderBy,o=e.withCursor,s=void 0===o||o,u=b(e,Lg),n){t.next=3;break}return t.abrupt("return",this.getAllRecordsWithId(i(i({},u),{},{condition:r})));case 3:if(!s){t.next=7;break}return c=r?"".concat(r," "):"",l="".concat(c).concat(n?"order by ".concat(n):""),t.abrupt("return",this.getAllRecordsWithCursor(i(i({},u),{},{query:l})));case 7:return t.abrupt("return",this.getAllRecordsWithOffset(i(i({},u),{},{orderBy:n,condition:r})));case 8:case"end":return t.stop()}}),t,this)}))),function(t){return E.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(S=l(a().mark((function t(e){var r,n,o,s,u,c,l,p,f,h;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.fields,n=e.condition,o=b(e,Fg),(s=r)&&s.length>0&&-1===s.indexOf("$id")&&(s=[].concat(w(s),["$id"])),u=n?"(".concat(n,") and "):"",c=[],l="0";case 6:return p="".concat(u,"$id > ").concat(l," order by $id asc limit ").concat(Dg),t.next=10,this.getRecords(i(i({},o),{},{fields:s,query:p}));case 10:if(f=t.sent,c=c.concat(f.records),!(f.records.length<Dg)){t.next=14;break}return t.abrupt("break",22);case 14:if("__ID__"!==(h=f.records[f.records.length-1]).$id.type){t.next=19;break}l=h.$id.value,t.next=20;break;case 19: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 20:t.next=6;break;case 22:return t.abrupt("return",c);case 23:case"end":return t.stop()}}),t,this)}))),function(t){return S.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(x=l(a().mark((function t(e){var r,n,o,s,u,c,l,p;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.condition,n=e.orderBy,o=b(e,Bg),s=r?"".concat(r," "):"",u=[],c=0;case 4:return l="".concat(s).concat(n?"order by ".concat(n," "):"","limit ").concat(Dg," offset ").concat(c),t.next=8,this.getRecords(i(i({},o),{},{query:l}));case 8:if(p=t.sent,u=u.concat(p.records),!(p.records.length<Dg)){t.next=12;break}return t.abrupt("break",15);case 12:c+=Dg,t.next=4;break;case 15:return t.abrupt("return",u);case 16:case"end":return t.stop()}}),t,this)}))),function(t){return x.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(v=l(a().mark((function t(e){var r,n,o,i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.createCursor(e);case 2:r=t.sent,n=r.id,t.prev=4,o=[];case 6:return t.next=9,this.getRecordsByCursor({id:n});case 9:if(i=t.sent,o=o.concat(i.records),i.next){t.next=13;break}return t.abrupt("break",15);case 13:t.next=6;break;case 15:return t.abrupt("return",o);case 18:return t.prev=18,t.t0=t.catch(4),t.next=22,this.deleteCursor({id:n});case 22:throw t.t0;case 23:case"end":return t.stop()}}),t,this,[[4,18]])}))),function(t){return v.apply(this,arguments)})},{key:"addAllRecords",value:(g=l(a().mark((function t(e){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.records.every((function(t){return!Array.isArray(t)&&t instanceof Object}))){t.next=2;break}throw new Error("the `records` parameter must be an array of object.");case 2:return t.abrupt("return",this.addAllRecordsRecursive(e,e.records.length,[]));case 3:case"end":return t.stop()}}),t,this)}))),function(t){return g.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(m=l(a().mark((function t(e,r,n){var o,i,s,u,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,s=e.records,0!==(u=s.slice(0,o)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.addAllRecordsWithBulkRequest({app:i,records:u});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Ug({records:n},s,r,t.t0,100);case 14:return t.abrupt("return",this.addAllRecordsRecursive({app:i,records:s.slice(o)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return m.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(f=l(a().mark((function t(e){var r,n,o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"POST",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=t.sent.results,t.abrupt("return",o.map((function(t){var e=t.ids,r=t.revisions;return e.map((function(t,e){return{id:t,revision:r[e]}}))})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return f.apply(this,arguments)})},{key:"updateAllRecords",value:(c=l(a().mark((function t(e){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.updateAllRecordsRecursive(e,e.records.length,[]));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return c.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(u=l(a().mark((function t(e,r,n){var o,i,s,u,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,s=e.records,0!==(u=s.slice(0,o)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.updateAllRecordsWithBulkRequest({app:i,records:u});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Ug({records:n},s,r,t.t0,100);case 14:return t.abrupt("return",this.updateAllRecordsRecursive({app:i,records:s.slice(o)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return u.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(s=l(a().mark((function t(e){var r,n,o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"PUT",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=t.sent.results,t.abrupt("return",o.map((function(t){return t.records})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return s.apply(this,arguments)})},{key:"deleteAllRecords",value:function(t){return this.deleteAllRecordsRecursive(t,t.records.length)}},{key:"deleteAllRecordsRecursive",value:(o=l(a().mark((function t(e,r){var n,o,i,s;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,o=e.app,i=e.records,0!==(s=i.slice(0,n)).length){t.next=5;break}return t.abrupt("return",{});case 5:return t.prev=5,t.next=8,this.deleteAllRecordsWithBulkRequest({app:o,records:s});case 8:t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(5),new Ug({},i,r,t.t0,100);case 13:return t.abrupt("return",this.deleteAllRecordsRecursive({app:o,records:i.slice(n)},r));case 14:case"end":return t.stop()}}),t,this,[[5,10]])}))),function(t,e){return o.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(n=l(a().mark((function t(e){var r,n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"DELETE",endpointName:"records",payload:{app:e.app,ids:t.map((function(t){return t.id})),revisions:t.map((function(t){return t.revision}))}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(t,e,r){var n=r.slice(0,t);return 0===n.length?e:this.separateArrayRecursive(t,[].concat(w(e),[n]),r.slice(t))}},{key:"addRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(e,t)}},{key:"deleteRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(e,t)}},{key:"getRecordComments",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(e,t)}},{key:"updateRecordAssignees",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(e,t)}},{key:"updateRecordStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(e,t)}},{key:"updateRecordsStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(e,t)}}]);var n,o,s,u,c,f,m,g,v,x,S,E,A,R,O}(Dy),Mg=function(t){function e(){return p(this,e),r(this,e,arguments)}return y(e,t),h(e,[{key:"getSpace",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.get(e,t)}},{key:"deleteSpace",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.delete(e,t)}},{key:"updateSpaceBody",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/body"});return this.client.put(e,t)}},{key:"getSpaceMembers",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.get(e,t)}},{key:"updateSpaceMembers",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.put(e,t)}},{key:"updateThread",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.put(e,t)}},{key:"addThreadComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/thread/comment"});return this.client.post(e,t)}},{key:"addGuests",value:function(t){var e=this.buildPath({endpointName:"guests"});return this.client.post(e,t)}},{key:"deleteGuests",value:function(t){var e=this.buildPath({endpointName:"guests"});return this.client.delete(e,t)}},{key:"updateSpaceGuests",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/guests"});return this.client.put(e,t)}},{key:"addSpaceFromTemplate",value:function(t){var e=this.buildPath({endpointName:"template/space"});return this.client.post(e,t)}}])}(Dy),Wg=E("object"==typeof self?self.FormData:window.FormData),Gg=function(t){function n(){return p(this,n),r(this,n,arguments)}return y(n,t),h(n,[{key:"uploadFile",value:(o=l(a().mark((function t(r){var n,o,i,s,u,c,l,p,f;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),o=new Wg,!("path"in r.file)){t.next=19;break}return t.prev=3,t.next=6,e.readFileFromPath(r.file.path);case 6:i=t.sent,s=i.name,u=i.data,o.append("file",u,s),t.next=17;break;case 12:if(t.prev=12,t.t0=t.catch(3),!(t.t0 instanceof Hi)){t.next=16;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(t.t0.platform," environment."));case 16:throw t.t0;case 17:t.next=22;break;case 19:c=r.file,l=c.name,p=c.data,f=e.buildFormDataValue(p,l),o.append("file",f,l);case 22:return t.abrupt("return",this.client.postData(n,o));case 23:case"end":return t.stop()}}),t,this,[[3,12]])}))),function(t){return o.apply(this,arguments)})},{key:"downloadFile",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(e,t)}}]);var o}(Dy),zg="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Hg(t,e){return function(){return t.apply(e,arguments)}}const{toString:$g}=Object.prototype,{getPrototypeOf:Vg}=Object,Yg=(Kg=Object.create(null),t=>{const e=$g.call(t);return Kg[e]||(Kg[e]=e.slice(8,-1).toLowerCase())});var Kg;const Jg=t=>(t=t.toLowerCase(),e=>Yg(e)===t),Qg=t=>e=>typeof e===t,{isArray:Xg}=Array,Zg=Qg("undefined");const tv=Jg("ArrayBuffer");const ev=Qg("string"),rv=Qg("function"),nv=Qg("number"),ov=t=>null!==t&&"object"==typeof t,iv=t=>{if("object"!==Yg(t))return!1;const e=Vg(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},av=Jg("Date"),sv=Jg("File"),uv=Jg("Blob"),cv=Jg("FileList"),lv=Jg("URLSearchParams");function pv(t,e){let r,n,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=t)if("object"!=typeof t&&(t=[t]),Xg(t))for(r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else{const n=o?Object.getOwnPropertyNames(t):Object.keys(t),i=n.length;let a;for(r=0;r<i;r++)a=n[r],e.call(null,t[a],a,t)}}function fv(t,e){e=e.toLowerCase();const r=Object.keys(t);let n,o=r.length;for(;o-- >0;)if(n=r[o],e===n.toLowerCase())return n;return null}const hv="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:zg,dv=t=>!Zg(t)&&t!==hv;const yv=(t=>e=>t&&e instanceof t)("undefined"!=typeof Uint8Array&&Vg(Uint8Array)),mv=Jg("HTMLFormElement"),gv=(t=>{let{hasOwnProperty:e}=t;return(t,r)=>e.call(t,r)})(Object.prototype),vv=Jg("RegExp"),bv=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};pv(r,((r,o)=>{let i;!1!==(i=e(r,o,t))&&(n[o]=i||r)})),Object.defineProperties(t,n)},wv="abcdefghijklmnopqrstuvwxyz",xv="0123456789",Sv={DIGIT:xv,ALPHA:wv,ALPHA_DIGIT:wv+wv.toUpperCase()+xv};const Ev=Jg("AsyncFunction");var Av={isArray:Xg,isArrayBuffer:tv,isBuffer:function(t){return null!==t&&!Zg(t)&&null!==t.constructor&&!Zg(t.constructor)&&rv(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||rv(t.append)&&("formdata"===(e=Yg(t))||"object"===e&&rv(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&tv(t.buffer),e},isString:ev,isNumber:nv,isBoolean:t=>!0===t||!1===t,isObject:ov,isPlainObject:iv,isUndefined:Zg,isDate:av,isFile:sv,isBlob:uv,isRegExp:vv,isFunction:rv,isStream:t=>ov(t)&&rv(t.pipe),isURLSearchParams:lv,isTypedArray:yv,isFileList:cv,forEach:pv,merge:function t(){const{caseless:e}=dv(this)&&this||{},r={},n=(n,o)=>{const i=e&&fv(r,o)||o;iv(r[i])&&iv(n)?r[i]=t(r[i],n):iv(n)?r[i]=t({},n):Xg(n)?r[i]=n.slice():r[i]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&pv(arguments[t],n);return r},extend:function(t,e,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return pv(e,((e,n)=>{r&&rv(e)?t[n]=Hg(e,r):t[n]=e}),{allOwnKeys:n}),t},trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let o,i,a;const s={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],n&&!n(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==r&&Vg(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:Yg,kindOfTest:Jg,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(Xg(t))return t;let e=t.length;if(!nv(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:mv,hasOwnProperty:gv,hasOwnProp:gv,reduceDescriptors:bv,freezeMethods:t=>{bv(t,((e,r)=>{if(rv(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];rv(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach((t=>{r[t]=!0}))};return Xg(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:fv,global:hv,isContextDefined:dv,ALPHABET:Sv,generateString:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Sv.ALPHA_DIGIT,r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&rv(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(ov(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const o=Xg(t)?[]:{};return pv(t,((t,e)=>{const i=r(t,n+1);!Zg(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:Ev,isThenable:t=>t&&(ov(t)||rv(t))&&rv(t.then)&&rv(t.catch)},Rv=[],Ov=[],kv="undefined"!=typeof Uint8Array?Uint8Array:Array,Pv=!1;function jv(){Pv=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0;e<64;++e)Rv[e]=t[e],Ov[t.charCodeAt(e)]=e;Ov["-".charCodeAt(0)]=62,Ov["_".charCodeAt(0)]=63}function Tv(t,e,r){for(var n,o,i=[],a=e;a<r;a+=3)n=(t[a]<<16)+(t[a+1]<<8)+t[a+2],i.push(Rv[(o=n)>>18&63]+Rv[o>>12&63]+Rv[o>>6&63]+Rv[63&o]);return i.join("")}function Iv(t){var e;Pv||jv();for(var r=t.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(Tv(t,s,s+a>u?u:s+a));return 1===n?(e=t[r-1],o+=Rv[e>>2],o+=Rv[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=Rv[e>>10],o+=Rv[e>>4&63],o+=Rv[e<<2&63],o+="="),i.push(o),i.join("")}function _v(t,e,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,p=r?o-1:0,f=r?-1:1,h=t[e+p];for(p+=f,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+t[e+p],p+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+t[e+p],p+=f,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 Nv(t,e,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,p=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(a++,u/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(e*u-1)*Math.pow(2,o),a+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*y}var Uv={}.toString,Cv=Array.isArray||function(t){return"[object Array]"==Uv.call(t)};function Lv(){return Bv.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Fv(t,e){if(Lv()<e)throw new RangeError("Invalid typed array length");return Bv.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=Bv.prototype:(null===t&&(t=new Bv(e)),t.length=e),t}function Bv(t,e,r){if(!(Bv.TYPED_ARRAY_SUPPORT||this instanceof Bv))return new Bv(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return Mv(this,t)}return Dv(this,t,e,r)}function Dv(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);Bv.TYPED_ARRAY_SUPPORT?(t=e).__proto__=Bv.prototype:t=Wv(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!Bv.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Hv(e,r);t=Fv(t,n);var o=t.write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(zv(e)){var r=0|Gv(e.length);return 0===(t=Fv(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?Fv(t,0):Wv(t,e);if("Buffer"===e.type&&Cv(e.data))return Wv(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function qv(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function Mv(t,e){if(qv(e),t=Fv(t,e<0?0:0|Gv(e)),!Bv.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function Wv(t,e){var r=e.length<0?0:0|Gv(e.length);t=Fv(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function Gv(t){if(t>=Lv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Lv().toString(16)+" bytes");return 0|t}function zv(t){return!(null==t||!t._isBuffer)}function Hv(t,e){if(zv(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return vb(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return bb(t).length;default:if(n)return vb(t).length;e=(""+e).toLowerCase(),n=!0}}function $v(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return sb(this,e,r);case"utf8":case"utf-8":return nb(this,e,r);case"ascii":return ib(this,e,r);case"latin1":case"binary":return ab(this,e,r);case"base64":return rb(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ub(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function Vv(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Yv(t,e,r,n,o){if(0===t.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:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=Bv.from(e,n)),zv(e))return 0===e.length?-1:Kv(t,e,r,n,o);if("number"==typeof e)return e&=255,Bv.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Kv(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Kv(t,e,r,n,o){var i,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(t,i)===c(e,-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 p=!0,f=0;f<u;f++)if(c(t,i+f)!==c(e,f)){p=!1;break}if(p)return i}return-1}function Jv(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.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(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function Qv(t,e,r,n){return wb(vb(e,t.length-r),t,r,n)}function Xv(t,e,r,n){return wb(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function Zv(t,e,r,n){return Xv(t,e,r,n)}function tb(t,e,r,n){return wb(bb(e),t,r,n)}function eb(t,e,r,n){return wb(function(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function rb(t,e,r){return 0===e&&r===t.length?Iv(t):Iv(t.slice(e,r))}function nb(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,s,u,c=t[o],l=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=r)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(i=t[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=t[o+1],a=t[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=t[o+1],a=t[o+2],s=t[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,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=p}return function(t){var e=t.length;if(e<=ob)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ob));return r}(n)}Bv.TYPED_ARRAY_SUPPORT=void 0===zg.TYPED_ARRAY_SUPPORT||zg.TYPED_ARRAY_SUPPORT,Lv(),Bv.poolSize=8192,Bv._augment=function(t){return t.__proto__=Bv.prototype,t},Bv.from=function(t,e,r){return Dv(null,t,e,r)},Bv.TYPED_ARRAY_SUPPORT&&(Bv.prototype.__proto__=Uint8Array.prototype,Bv.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Bv[Symbol.species]),Bv.alloc=function(t,e,r){return function(t,e,r,n){return qv(e),e<=0?Fv(t,e):void 0!==r?"string"==typeof n?Fv(t,e).fill(r,n):Fv(t,e).fill(r):Fv(t,e)}(null,t,e,r)},Bv.allocUnsafe=function(t){return Mv(null,t)},Bv.allocUnsafeSlow=function(t){return Mv(null,t)},Bv.isBuffer=function(t){return null!=t&&(!!t._isBuffer||xb(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&xb(t.slice(0,0))}(t))},Bv.compare=function(t,e){if(!zv(t)||!zv(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},Bv.isEncoding=function(t){switch(String(t).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}},Bv.concat=function(t,e){if(!Cv(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return Bv.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=Bv.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!zv(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},Bv.byteLength=Hv,Bv.prototype._isBuffer=!0,Bv.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)Vv(this,e,e+1);return this},Bv.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)Vv(this,e,e+3),Vv(this,e+1,e+2);return this},Bv.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)Vv(this,e,e+7),Vv(this,e+1,e+6),Vv(this,e+2,e+5),Vv(this,e+3,e+4);return this},Bv.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?nb(this,0,t):$v.apply(this,arguments)},Bv.prototype.equals=function(t){if(!zv(t))throw new TypeError("Argument must be a Buffer");return this===t||0===Bv.compare(this,t)},Bv.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},Bv.prototype.compare=function(t,e,r,n,o){if(!zv(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(i,a),u=this.slice(n,o),c=t.slice(e,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},Bv.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},Bv.prototype.indexOf=function(t,e,r){return Yv(this,t,e,r,!0)},Bv.prototype.lastIndexOf=function(t,e,r){return Yv(this,t,e,r,!1)},Bv.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return Jv(this,t,e,r);case"utf8":case"utf-8":return Qv(this,t,e,r);case"ascii":return Xv(this,t,e,r);case"latin1":case"binary":return Zv(this,t,e,r);case"base64":return tb(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return eb(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},Bv.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ob=4096;function ib(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function ab(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function sb(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=gb(t[i]);return o}function ub(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function cb(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function lb(t,e,r,n,o,i){if(!zv(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function pb(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function fb(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function hb(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function db(t,e,r,n,o){return o||hb(t,0,r,4),Nv(t,e,r,n,23,4),r+4}function yb(t,e,r,n,o){return o||hb(t,0,r,8),Nv(t,e,r,n,52,8),r+8}Bv.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),Bv.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=Bv.prototype;else{var o=e-t;r=new Bv(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},Bv.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||cb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},Bv.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||cb(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},Bv.prototype.readUInt8=function(t,e){return e||cb(t,1,this.length),this[t]},Bv.prototype.readUInt16LE=function(t,e){return e||cb(t,2,this.length),this[t]|this[t+1]<<8},Bv.prototype.readUInt16BE=function(t,e){return e||cb(t,2,this.length),this[t]<<8|this[t+1]},Bv.prototype.readUInt32LE=function(t,e){return e||cb(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Bv.prototype.readUInt32BE=function(t,e){return e||cb(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Bv.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||cb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},Bv.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||cb(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},Bv.prototype.readInt8=function(t,e){return e||cb(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Bv.prototype.readInt16LE=function(t,e){e||cb(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},Bv.prototype.readInt16BE=function(t,e){e||cb(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},Bv.prototype.readInt32LE=function(t,e){return e||cb(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Bv.prototype.readInt32BE=function(t,e){return e||cb(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Bv.prototype.readFloatLE=function(t,e){return e||cb(t,4,this.length),_v(this,t,!0,23,4)},Bv.prototype.readFloatBE=function(t,e){return e||cb(t,4,this.length),_v(this,t,!1,23,4)},Bv.prototype.readDoubleLE=function(t,e){return e||cb(t,8,this.length),_v(this,t,!0,52,8)},Bv.prototype.readDoubleBE=function(t,e){return e||cb(t,8,this.length),_v(this,t,!1,52,8)},Bv.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||lb(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},Bv.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||lb(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},Bv.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,1,255,0),Bv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},Bv.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,2,65535,0),Bv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):pb(this,t,e,!0),e+2},Bv.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,2,65535,0),Bv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):pb(this,t,e,!1),e+2},Bv.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,4,4294967295,0),Bv.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):fb(this,t,e,!0),e+4},Bv.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,4,4294967295,0),Bv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):fb(this,t,e,!1),e+4},Bv.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);lb(this,t,e,r,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},Bv.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);lb(this,t,e,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},Bv.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,1,127,-128),Bv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},Bv.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,2,32767,-32768),Bv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):pb(this,t,e,!0),e+2},Bv.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,2,32767,-32768),Bv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):pb(this,t,e,!1),e+2},Bv.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,4,2147483647,-2147483648),Bv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):fb(this,t,e,!0),e+4},Bv.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),Bv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):fb(this,t,e,!1),e+4},Bv.prototype.writeFloatLE=function(t,e,r){return db(this,t,e,!0,r)},Bv.prototype.writeFloatBE=function(t,e,r){return db(this,t,e,!1,r)},Bv.prototype.writeDoubleLE=function(t,e,r){return yb(this,t,e,!0,r)},Bv.prototype.writeDoubleBE=function(t,e,r){return yb(this,t,e,!1,r)},Bv.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<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),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!Bv.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},Bv.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!Bv.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=zv(t)?t:vb(new Bv(t,n).toString()),s=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%s]}return this};var mb=/[^+\/0-9A-Za-z-_]/g;function gb(t){return t<16?"0"+t.toString(16):t.toString(16)}function vb(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=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((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function bb(t){return function(t){var e,r,n,o,i,a;Pv||jv();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===t[s-2]?2:"="===t[s-1]?1:0,a=new kv(3*s/4-i),n=i>0?s-4:s;var u=0;for(e=0,r=0;e<n;e+=4,r+=3)o=Ov[t.charCodeAt(e)]<<18|Ov[t.charCodeAt(e+1)]<<12|Ov[t.charCodeAt(e+2)]<<6|Ov[t.charCodeAt(e+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=Ov[t.charCodeAt(e)]<<2|Ov[t.charCodeAt(e+1)]>>4,a[u++]=255&o):1===i&&(o=Ov[t.charCodeAt(e)]<<10|Ov[t.charCodeAt(e+1)]<<4|Ov[t.charCodeAt(e+2)]>>2,a[u++]=o>>8&255,a[u++]=255&o),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(mb,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function wb(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function xb(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function Sb(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}Av.inherits(Sb,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:Av.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Eb=Sb.prototype,Ab={};["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((t=>{Ab[t]={value:t}})),Object.defineProperties(Sb,Ab),Object.defineProperty(Eb,"isAxiosError",{value:!0}),Sb.from=(t,e,r,n,o,i)=>{const a=Object.create(Eb);return Av.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),Sb.call(a,t.message,e,r,n,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};function Rb(t){return Av.isPlainObject(t)||Av.isArray(t)}function Ob(t){return Av.endsWith(t,"[]")?t.slice(0,-2):t}function kb(t,e,r){return t?t.concat(e).map((function(t,e){return t=Ob(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const Pb=Av.toFlatObject(Av,{},null,(function(t){return/^is[A-Z]/.test(t)}));function jb(t,e,r){if(!Av.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=Av.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!Av.isUndefined(e[t])}))).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Av.isSpecCompliantForm(e);if(!Av.isFunction(o))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(Av.isDate(t))return t.toISOString();if(!s&&Av.isBlob(t))throw new Sb("Blob is not supported. Use a Buffer instead.");return Av.isArrayBuffer(t)||Av.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Bv.from(t):t}function c(t,r,o){let s=t;if(t&&!o&&"object"==typeof t)if(Av.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(Av.isArray(t)&&function(t){return Av.isArray(t)&&!t.some(Rb)}(t)||(Av.isFileList(t)||Av.endsWith(r,"[]"))&&(s=Av.toArray(t)))return r=Ob(r),s.forEach((function(t,n){!Av.isUndefined(t)&&null!==t&&e.append(!0===a?kb([r],n,i):null===a?r:r+"[]",u(t))})),!1;return!!Rb(t)||(e.append(kb(o,r,i),u(t)),!1)}const l=[],p=Object.assign(Pb,{defaultVisitor:c,convertValue:u,isVisitable:Rb});if(!Av.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!Av.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),Av.forEach(r,(function(r,i){!0===(!(Av.isUndefined(r)||null===r)&&o.call(e,r,Av.isString(i)?i.trim():i,n,p))&&t(r,n?n.concat(i):[i])})),l.pop()}}(t),e}function Tb(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function Ib(t,e){this._pairs=[],t&&jb(t,this,e)}const _b=Ib.prototype;function Nb(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ub(t,e,r){if(!e)return t;const n=r&&r.encode||Nb,o=r&&r.serialize;let i;if(i=o?o(e,r):Av.isURLSearchParams(e)?e.toString():new Ib(e,r).toString(n),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}_b.append=function(t,e){this._pairs.push([t,e])},_b.toString=function(t){const e=t?function(e){return t.call(this,e,Tb)}:Tb;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};class Cb{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Av.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}var Lb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Fb={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ib,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Bb="undefined"!=typeof window&&"undefined"!=typeof document,Db=(qb="undefined"!=typeof navigator&&navigator.product,Bb&&["ReactNative","NativeScript","NS"].indexOf(qb)<0);var qb;const Mb="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var Wb={...Object.freeze({__proto__:null,hasBrowserEnv:Bb,hasStandardBrowserEnv:Db,hasStandardBrowserWebWorkerEnv:Mb}),...Fb};function Gb(t){function e(t,r,n,o){let i=t[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&Av.isArray(n)?n.length:i,s)return Av.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&Av.isObject(n[i])||(n[i]=[]);return e(t,r,n[i],o)&&Av.isArray(n[i])&&(n[i]=function(t){const e={},r=Object.keys(t);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],e[i]=t[i];return e}(n[i])),!a}if(Av.isFormData(t)&&Av.isFunction(t.entries)){const r={};return Av.forEachEntry(t,((t,n)=>{e(function(t){return Av.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null}const zb={transitional:Lb,adapter:["xhr","http"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=Av.isObject(t);o&&Av.isHTMLForm(t)&&(t=new FormData(t));if(Av.isFormData(t))return n?JSON.stringify(Gb(t)):t;if(Av.isArrayBuffer(t)||Av.isBuffer(t)||Av.isStream(t)||Av.isFile(t)||Av.isBlob(t))return t;if(Av.isArrayBufferView(t))return t.buffer;if(Av.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return jb(t,new Wb.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return Wb.isNode&&Av.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=Av.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return jb(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),function(t,e,r){if(Av.isString(t))try{return(e||JSON.parse)(t),Av.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||zb.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(t&&Av.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw Sb.from(t,Sb.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Wb.classes.FormData,Blob:Wb.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Av.forEach(["delete","get","head","post","put","patch"],(t=>{zb.headers[t]={}}));var Hb=zb;const $b=Av.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 Vb=Symbol("internals");function Yb(t){return t&&String(t).trim().toLowerCase()}function Kb(t){return!1===t||null==t?t:Av.isArray(t)?t.map(Kb):String(t)}function Jb(t,e,r,n,o){return Av.isFunction(n)?n.call(this,e,r):(o&&(e=r),Av.isString(e)?Av.isString(n)?-1!==e.indexOf(n):Av.isRegExp(n)?n.test(e):void 0:void 0)}class Qb{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=Yb(e);if(!o)throw new Error("header name must be a non-empty string");const i=Av.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=Kb(t))}const i=(t,e)=>Av.forEach(t,((t,r)=>o(t,r,e)));return Av.isPlainObject(t)||t instanceof this.constructor?i(t,e):Av.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?i((t=>{const e={};let r,n,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),r=t.substring(0,o).trim().toLowerCase(),n=t.substring(o+1).trim(),!r||e[r]&&$b[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e):null!=t&&o(e,t,r),this}get(t,e){if(t=Yb(t)){const r=Av.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(Av.isFunction(e))return e.call(this,t,r);if(Av.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Yb(t)){const r=Av.findKey(this,t);return!(!r||void 0===this[r]||e&&!Jb(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=Yb(t)){const o=Av.findKey(r,t);!o||e&&!Jb(0,r[o],o,e)||(delete r[o],n=!0)}}return Av.isArray(t)?t.forEach(o):o(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const o=e[r];t&&!Jb(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return Av.forEach(this,((n,o)=>{const i=Av.findKey(r,o);if(i)return e[i]=Kb(n),void delete e[o];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,r)=>e.toUpperCase()+r))}(o):String(o).trim();a!==o&&delete e[o],e[a]=Kb(n),r[a]=!0})),this}concat(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.constructor.concat(this,...e)}toJSON(t){const e=Object.create(null);return Av.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&Av.isArray(r)?r.join(", "):r)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((t=>{let[e,r]=t;return e+": "+r})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t){const e=new this(t);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((t=>e.set(t))),e}static accessor(t){const e=(this[Vb]=this[Vb]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=Yb(t);e[n]||(!function(t,e){const r=Av.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})}))}(r,t),e[n]=!0)}return Av.isArray(t)?t.forEach(n):n(t),this}}Qb.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Av.reduceDescriptors(Qb.prototype,((t,e)=>{let{value:r}=t,n=e[0].toUpperCase()+e.slice(1);return{get:()=>r,set(t){this[n]=t}}})),Av.freezeMethods(Qb);var Xb=Qb;function Zb(t,e){const r=this||Hb,n=e||r,o=Xb.from(n.headers);let i=n.data;return Av.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function tw(t){return!(!t||!t.__CANCEL__)}function ew(t,e,r){Sb.call(this,null==t?"canceled":t,Sb.ERR_CANCELED,e,r),this.name="CanceledError"}Av.inherits(ew,Sb,{__CANCEL__:!0});var rw=Wb.hasStandardBrowserEnv?{write(t,e,r,n,o,i){const a=[t+"="+encodeURIComponent(e)];Av.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),Av.isString(n)&&a.push("path="+n),Av.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function nw(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}var ow=Wb.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let r;function n(r){let n=r;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(t){const e=Av.isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return!0};function iw(t,e){let r=0;const n=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const u=Date.now(),c=n[a];o||(o=u),r[i]=s,n[i]=u;let l=a,p=0;for(;l!==i;)p+=r[l++],l%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),u-o<e)return;const f=c&&u-c;return f?Math.round(1e3*p/f):void 0}}(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-r,u=n(s);r=i;const c={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:o};c[e?"download":"upload"]=!0,t(c)}}var aw="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){let n=t.data;const o=Xb.from(t.headers).normalize();let i,a,{responseType:s,withXSRFToken:u}=t;function c(){t.cancelToken&&t.cancelToken.unsubscribe(i),t.signal&&t.signal.removeEventListener("abort",i)}if(Av.isFormData(n))if(Wb.hasStandardBrowserEnv||Wb.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(a=o.getContentType())){const[t,...e]=a?a.split(";").map((t=>t.trim())).filter(Boolean):[];o.setContentType([t||"multipart/form-data",...e].join("; "))}let l=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",r=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+r))}const p=nw(t.baseURL,t.url);function f(){if(!l)return;const n=Xb.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new Sb("Request failed with status code "+r.status,[Sb.ERR_BAD_REQUEST,Sb.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}((function(t){e(t),c()}),(function(t){r(t),c()}),{data:s&&"text"!==s&&"json"!==s?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:n,config:t,request:l}),l=null}if(l.open(t.method.toUpperCase(),Ub(p,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=f:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(f)},l.onabort=function(){l&&(r(new Sb("Request aborted",Sb.ECONNABORTED,t,l)),l=null)},l.onerror=function(){r(new Sb("Network Error",Sb.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const n=t.transitional||Lb;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(new Sb(e,n.clarifyTimeoutError?Sb.ETIMEDOUT:Sb.ECONNABORTED,t,l)),l=null},Wb.hasStandardBrowserEnv&&(u&&Av.isFunction(u)&&(u=u(t)),u||!1!==u&&ow(p))){const e=t.xsrfHeaderName&&t.xsrfCookieName&&rw.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===n&&o.setContentType(null),"setRequestHeader"in l&&Av.forEach(o.toJSON(),(function(t,e){l.setRequestHeader(e,t)})),Av.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),s&&"json"!==s&&(l.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&l.addEventListener("progress",iw(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",iw(t.onUploadProgress)),(t.cancelToken||t.signal)&&(i=e=>{l&&(r(!e||e.type?new ew(null,t,l):e),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(i),t.signal&&(t.signal.aborted?i():t.signal.addEventListener("abort",i)));const h=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(p);h&&-1===Wb.protocols.indexOf(h)?r(new Sb("Unsupported protocol "+h+":",Sb.ERR_BAD_REQUEST,t)):l.send(n||null)}))};const sw={http:null,xhr:aw};Av.forEach(sw,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const uw=t=>`- ${t}`,cw=t=>Av.isFunction(t)||null===t||!1===t;var lw=t=>{t=Av.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let i=0;i<e;i++){let e;if(r=t[i],n=r,!cw(r)&&(n=sw[(e=String(r)).toLowerCase()],void 0===n))throw new Sb(`Unknown adapter '${e}'`);if(n)break;o[e||"#"+i]=n}if(!n){const t=Object.entries(o).map((t=>{let[e,r]=t;return`adapter ${e} `+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new Sb("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(uw).join("\n"):" "+uw(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function pw(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ew(null,t)}function fw(t){pw(t),t.headers=Xb.from(t.headers),t.data=Zb.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return lw(t.adapter||Hb.adapter)(t).then((function(e){return pw(t),e.data=Zb.call(t,t.transformResponse,e),e.headers=Xb.from(e.headers),e}),(function(e){return tw(e)||(pw(t),e&&e.response&&(e.response.data=Zb.call(t,t.transformResponse,e.response),e.response.headers=Xb.from(e.response.headers))),Promise.reject(e)}))}const hw=t=>t instanceof Xb?{...t}:t;function dw(t,e){e=e||{};const r={};function n(t,e,r){return Av.isPlainObject(t)&&Av.isPlainObject(e)?Av.merge.call({caseless:r},t,e):Av.isPlainObject(e)?Av.merge({},e):Av.isArray(e)?e.slice():e}function o(t,e,r){return Av.isUndefined(e)?Av.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!Av.isUndefined(e))return n(void 0,e)}function a(t,e){return Av.isUndefined(e)?Av.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function s(r,o,i){return i in e?n(r,o):i in t?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:(t,e)=>o(hw(t),hw(e),!0)};return Av.forEach(Object.keys(Object.assign({},t,e)),(function(n){const i=u[n]||o,a=i(t[n],e[n],n);Av.isUndefined(a)&&i!==s||(r[n]=a)})),r}const yw="1.6.8",mw={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{mw[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const gw={};mw.transitional=function(t,e,r){function n(t,e){return"[Axios v1.6.8] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,i)=>{if(!1===t)throw new Sb(n(o," has been removed"+(e?" in "+e:"")),Sb.ERR_DEPRECATED);return e&&!gw[o]&&(gw[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};var vw={assertOptions:function(t,e,r){if("object"!=typeof t)throw new Sb("options must be an object",Sb.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;for(;o-- >0;){const i=n[o],a=e[i];if(a){const e=t[i],r=void 0===e||a(e,i,t);if(!0!==r)throw new Sb("option "+i+" must be "+r,Sb.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Sb("Unknown option "+i,Sb.ERR_BAD_OPTION)}},validators:mw};const bw=vw.validators;class ww{constructor(t){this.defaults=t,this.interceptors={request:new Cb,response:new Cb}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const r=e.stack?e.stack.replace(/^.+\n/,""):"";t.stack?r&&!String(t.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+r):t.stack=r}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=dw(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;void 0!==r&&vw.assertOptions(r,{silentJSONParsing:bw.transitional(bw.boolean),forcedJSONParsing:bw.transitional(bw.boolean),clarifyTimeoutError:bw.transitional(bw.boolean)},!1),null!=n&&(Av.isFunction(n)?e.paramsSerializer={serialize:n}:vw.assertOptions(n,{encode:bw.function,serialize:bw.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&Av.merge(o.common,o[e.method]);o&&Av.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=Xb.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)}));let l,p=0;if(!s){const t=[fw.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,u),l=t.length,c=Promise.resolve(e);p<l;)c=c.then(t[p++],t[p++]);return c}l=a.length;let f=e;for(p=0;p<l;){const t=a[p++],e=a[p++];try{f=t(f)}catch(t){e.call(this,t);break}}try{c=fw.call(this,f)}catch(t){return Promise.reject(t)}for(p=0,l=u.length;p<l;)c=c.then(u[p++],u[p++]);return c}getUri(t){return Ub(nw((t=dw(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}Av.forEach(["delete","get","head","options"],(function(t){ww.prototype[t]=function(e,r){return this.request(dw(r||{},{method:t,url:e,data:(r||{}).data}))}})),Av.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(dw(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}ww.prototype[t]=e(),ww.prototype[t+"Form"]=e(!0)}));var xw=ww;class Sw{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const r=this;this.promise.then((t=>{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,o){r.reason||(r.reason=new ew(t,n,o),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new Sw((function(e){t=e})),cancel:t}}}var Ew=Sw;const Aw={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(Aw).forEach((t=>{let[e,r]=t;Aw[r]=e}));var Rw=Aw;const Ow=function t(e){const r=new xw(e),n=Hg(xw.prototype.request,r);return Av.extend(n,xw.prototype,r,{allOwnKeys:!0}),Av.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(dw(e,r))},n}(Hb);Ow.Axios=xw,Ow.CanceledError=ew,Ow.CancelToken=Ew,Ow.isCancel=tw,Ow.VERSION=yw,Ow.toFormData=jb,Ow.AxiosError=Sb,Ow.Cancel=Ow.CanceledError,Ow.all=function(t){return Promise.all(t)},Ow.spread=function(t){return function(e){return t.apply(null,e)}},Ow.isAxiosError=function(t){return Av.isObject(t)&&!0===t.isAxiosError},Ow.mergeConfig=dw,Ow.AxiosHeaders=Xb,Ow.formToJSON=t=>Gb(Av.isHTMLForm(t)?new FormData(t):t),Ow.getAdapter=lw,Ow.HttpStatusCode=Rw,Ow.default=Ow;var kw=function(){return h((function t(e){var r=e.responseHandler,n=e.requestConfigBuilder;p(this,t),this.responseHandler=r,this.requestConfigBuilder=n}),[{key:"get",value:(s=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return s.apply(this,arguments)})},{key:"getData",value:(o=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r,{responseType:"arraybuffer"});case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return o.apply(this,arguments)})},{key:"post",value:(n=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return n.apply(this,arguments)})},{key:"postData",value:(r=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},{key:"put",value:(e=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("put",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,r){return e.apply(this,arguments)})},{key:"delete",value:(t=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("delete",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(e,r){return t.apply(this,arguments)})},{key:"sendRequest",value:function(t){return this.responseHandler.handle(Ow(i(i({},t),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]);var t,e,r,n,o,s}(),Pw=So,jw=tt,Tw=st,Iw=om,_w=H([].join);Pw({target:"Array",proto:!0,forced:jw!==Object||!Iw("join",",")},{join:function(t){return _w(Tw(this),void 0===t?",":t)}});var Nw,Uw=Error,Cw=EvalError,Lw=RangeError,Fw=ReferenceError,Bw=SyntaxError,Dw=TypeError,qw=URIError,Mw="undefined"!=typeof Symbol&&Symbol,Ww=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0},Gw={foo:{}},zw=Object,Hw=Object.prototype.toString,$w=Math.max,Vw=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var o=0;o<e.length;o+=1)r[o+t.length]=e[o];return r},Yw=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==Hw.apply(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var r,n=function(t,e){for(var r=[],n=e||0,o=0;n<t.length;n+=1,o+=1)r[o]=t[n];return r}(arguments,1),o=$w(0,e.length-n.length),i=[],a=0;a<o;a++)i[a]="$"+a;if(r=Function("binder","return function ("+function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r}(i,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var o=e.apply(this,Vw(n,arguments));return Object(o)===o?o:this}return e.apply(t,Vw(n,arguments))})),e.prototype){var s=function(){};s.prototype=e.prototype,r.prototype=new s,s.prototype=null}return r},Kw=Function.prototype.bind||Yw,Jw=Function.prototype.call,Qw=Object.prototype.hasOwnProperty,Xw=Kw.call(Jw,Qw),Zw=Uw,tx=Cw,ex=Lw,rx=Fw,nx=Bw,ox=Dw,ix=qw,ax=Function,sx=function(t){try{return ax('"use strict"; return ('+t+").constructor;")()}catch(t){}},ux=Object.getOwnPropertyDescriptor;if(ux)try{ux({},"")}catch(t){ux=null}var cx=function(){throw new ox},lx=ux?function(){try{return cx}catch(t){try{return ux(arguments,"callee").get}catch(t){return cx}}}():cx,px="function"==typeof Mw&&"function"==typeof Symbol&&"symbol"==typeof Mw("foo")&&"symbol"==typeof Symbol("bar")&&Ww(),fx={__proto__:Gw}.foo===Gw.foo&&!({__proto__:null}instanceof zw),hx=Object.getPrototypeOf||(fx?function(t){return t.__proto__}:null),dx={},yx="undefined"!=typeof Uint8Array&&hx?hx(Uint8Array):Nw,mx={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?Nw:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Nw:ArrayBuffer,"%ArrayIteratorPrototype%":px&&hx?hx([][Symbol.iterator]()):Nw,"%AsyncFromSyncIteratorPrototype%":Nw,"%AsyncFunction%":dx,"%AsyncGenerator%":dx,"%AsyncGeneratorFunction%":dx,"%AsyncIteratorPrototype%":dx,"%Atomics%":"undefined"==typeof Atomics?Nw:Atomics,"%BigInt%":"undefined"==typeof BigInt?Nw:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?Nw:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?Nw:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Nw:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Zw,"%eval%":eval,"%EvalError%":tx,"%Float32Array%":"undefined"==typeof Float32Array?Nw:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Nw:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Nw:FinalizationRegistry,"%Function%":ax,"%GeneratorFunction%":dx,"%Int8Array%":"undefined"==typeof Int8Array?Nw:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Nw:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Nw:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":px&&hx?hx(hx([][Symbol.iterator]())):Nw,"%JSON%":"object"==typeof JSON?JSON:Nw,"%Map%":"undefined"==typeof Map?Nw:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&px&&hx?hx((new Map)[Symbol.iterator]()):Nw,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Nw:Promise,"%Proxy%":"undefined"==typeof Proxy?Nw:Proxy,"%RangeError%":ex,"%ReferenceError%":rx,"%Reflect%":"undefined"==typeof Reflect?Nw:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Nw:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&px&&hx?hx((new Set)[Symbol.iterator]()):Nw,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Nw:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":px&&hx?hx(""[Symbol.iterator]()):Nw,"%Symbol%":px?Symbol:Nw,"%SyntaxError%":nx,"%ThrowTypeError%":lx,"%TypedArray%":yx,"%TypeError%":ox,"%Uint8Array%":"undefined"==typeof Uint8Array?Nw:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Nw:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Nw:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Nw:Uint32Array,"%URIError%":ix,"%WeakMap%":"undefined"==typeof WeakMap?Nw:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Nw:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Nw:WeakSet};if(hx)try{null.error}catch(t){var gx=hx(hx(t));mx["%Error.prototype%"]=gx}var vx,bx,wx=function t(e){var r;if("%AsyncFunction%"===e)r=sx("async function () {}");else if("%GeneratorFunction%"===e)r=sx("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=sx("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&hx&&(r=hx(o.prototype))}return mx[e]=r,r},xx={__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"]},Sx=Kw,Ex=Xw,Ax=Sx.call(Function.call,Array.prototype.concat),Rx=Sx.call(Function.apply,Array.prototype.splice),Ox=Sx.call(Function.call,String.prototype.replace),kx=Sx.call(Function.call,String.prototype.slice),Px=Sx.call(Function.call,RegExp.prototype.exec),jx=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Tx=/\\(\\)?/g,Ix=function(t,e){var r,n=t;if(Ex(xx,n)&&(n="%"+(r=xx[n])[0]+"%"),Ex(mx,n)){var o=mx[n];if(o===dx&&(o=wx(n)),void 0===o&&!e)throw new ox("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new nx("intrinsic "+t+" does not exist!")},_x=function(t,e){if("string"!=typeof t||0===t.length)throw new ox("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new ox('"allowMissing" argument must be a boolean');if(null===Px(/^%?[^%]*%?$/,t))throw new nx("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=kx(t,0,1),r=kx(t,-1);if("%"===e&&"%"!==r)throw new nx("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new nx("invalid intrinsic syntax, expected opening `%`");var n=[];return Ox(t,jx,(function(t,e,r,o){n[n.length]=r?Ox(o,Tx,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=Ix("%"+n+"%",e),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],Rx(r,Ax([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c],f=kx(p,0,1),h=kx(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new nx("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),Ex(mx,i="%"+(n+="."+p)+"%"))a=mx[i];else if(null!=a){if(!(p in a)){if(!e)throw new ox("base intrinsic for "+t+" exists, but the property is not available.");return}if(ux&&c+1>=r.length){var d=ux(a,p);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[p]}else l=Ex(a,p),a=a[p];l&&!s&&(mx[i]=a)}}return a},Nx={exports:{}};function Ux(){if(bx)return vx;bx=1;var t=_x("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}return vx=t}var Cx=_x("%Object.getOwnPropertyDescriptor%",!0);if(Cx)try{Cx([],"length")}catch(t){Cx=null}var Lx=Cx,Fx=Ux(),Bx=Bw,Dx=Dw,qx=Lx,Mx=Ux(),Wx=function(){return!!Mx};Wx.hasArrayLengthDefineBug=function(){if(!Mx)return null;try{return 1!==Mx([],"length",{value:1}).length}catch(t){return!0}};var Gx=_x,zx=function(t,e,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new Dx("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new Dx("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new Dx("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new Dx("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new Dx("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new Dx("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,a=arguments.length>6&&arguments[6],s=!!qx&&qx(t,e);if(Fx)Fx(t,e,{configurable:null===i&&s?s.configurable:!i,enumerable:null===n&&s?s.enumerable:!n,value:r,writable:null===o&&s?s.writable:!o});else{if(!a&&(n||o||i))throw new Bx("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=r}},Hx=Wx(),$x=Lx,Vx=Dw,Yx=Gx("%Math.floor%"),Kx=function(t,e){if("function"!=typeof t)throw new Vx("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||Yx(e)!==e)throw new Vx("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,o=!0;if("length"in t&&$x){var i=$x(t,"length");i&&!i.configurable&&(n=!1),i&&!i.writable&&(o=!1)}return(n||o||!r)&&(Hx?zx(t,"length",e,!0,!0):zx(t,"length",e)),t};!function(t){var e=Kw,r=_x,n=Kx,o=Dw,i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||e.call(a,i),u=Ux(),c=r("%Math.max%");t.exports=function(t){if("function"!=typeof t)throw new o("a function is required");var r=s(e,a,arguments);return n(r,1+c(0,t.length-(arguments.length-1)),!0)};var l=function(){return s(e,i,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l}(Nx);var Jx=_x,Qx=Nx.exports,Xx=Qx(Jx("String.prototype.indexOf")),Zx=A(Object.freeze({__proto__:null,default:{}})),tS="function"==typeof Map&&Map.prototype,eS=Object.getOwnPropertyDescriptor&&tS?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,rS=tS&&eS&&"function"==typeof eS.get?eS.get:null,nS=tS&&Map.prototype.forEach,oS="function"==typeof Set&&Set.prototype,iS=Object.getOwnPropertyDescriptor&&oS?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,aS=oS&&iS&&"function"==typeof iS.get?iS.get:null,sS=oS&&Set.prototype.forEach,uS="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,cS="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,lS="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,pS=Boolean.prototype.valueOf,fS=Object.prototype.toString,hS=Function.prototype.toString,dS=String.prototype.match,yS=String.prototype.slice,mS=String.prototype.replace,gS=String.prototype.toUpperCase,vS=String.prototype.toLowerCase,bS=RegExp.prototype.test,wS=Array.prototype.concat,xS=Array.prototype.join,SS=Array.prototype.slice,ES=Math.floor,AS="function"==typeof BigInt?BigInt.prototype.valueOf:null,RS=Object.getOwnPropertySymbols,OS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,kS="function"==typeof Symbol&&"object"==typeof Symbol.iterator,PS="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===kS||"symbol")?Symbol.toStringTag:null,jS=Object.prototype.propertyIsEnumerable,TS=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function IS(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||bS.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-ES(-t):ES(t);if(n!==t){var o=String(n),i=yS.call(e,o.length+1);return mS.call(o,r,"$&_")+"."+mS.call(mS.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return mS.call(e,r,"$&_")}var _S=Zx,NS=_S.custom,US=DS(NS)?NS:null;function CS(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function LS(t){return mS.call(String(t),/"/g,""")}function FS(t){return!("[object Array]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}function BS(t){return!("[object RegExp]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}function DS(t){if(kS)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!OS)return!1;try{return OS.call(t),!0}catch(t){}return!1}var qS=Object.prototype.hasOwnProperty||function(t){return t in this};function MS(t,e){return qS.call(t,e)}function WS(t){return fS.call(t)}function GS(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function zS(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return zS(yS.call(t,0,e.maxStringLength),e)+n}return CS(mS.call(mS.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,HS),"single",e)}function HS(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+gS.call(e.toString(16))}function $S(t){return"Object("+t+")"}function VS(t){return t+" { ? }"}function YS(t,e,r,n){return t+" ("+e+") {"+(n?KS(r,n):xS.call(r,", "))+"}"}function KS(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+xS.call(t,","+r)+"\n"+e.prev}function JS(t,e){var r=FS(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=MS(t,o)?e(t[o],t):""}var i,a="function"==typeof RS?RS(t):[];if(kS){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in t)MS(t,u)&&(r&&String(Number(u))===u&&u<t.length||kS&&i["$"+u]instanceof Symbol||(bS.call(/[^\w$]/,u)?n.push(e(u,t)+": "+e(t[u],t)):n.push(u+": "+e(t[u],t))));if("function"==typeof RS)for(var c=0;c<a.length;c++)jS.call(t,a[c])&&n.push("["+e(a[c])+"]: "+e(t[a[c]],t));return n}var QS=_x,XS=function(t,e){var r=Jx(t,!!e);return"function"==typeof r&&Xx(t,".prototype.")>-1?Qx(r):r},ZS=function t(e,r,n,o){var i=r||{};if(MS(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(MS(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=!MS(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(MS(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(MS(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===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return zS(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var u=String(e);return s?IS(e,u):u}if("bigint"==typeof e){var c=String(e)+"n";return s?IS(e,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=l&&l>0&&"object"==typeof e)return FS(e)?"[Array]":"[Object]";var p=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=xS.call(Array(t.indent+1)," ")}return{base:r,prev:xS.call(Array(e+1),r)}}(i,n);if(void 0===o)o=[];else if(GS(o,e)>=0)return"[Circular]";function f(e,r,a){if(r&&(o=SS.call(o)).push(r),a){var s={depth:i.depth};return MS(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),t(e,s,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e&&!BS(e)){var h=function(t){if(t.name)return t.name;var e=dS.call(hS.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),d=JS(e,f);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+xS.call(d,", ")+" }":"")}if(DS(e)){var y=kS?mS.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):OS.call(e);return"object"!=typeof e||kS?y:$S(y)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var m="<"+vS.call(String(e.nodeName)),g=e.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+CS(LS(g[v].value),"double",i);return m+=">",e.childNodes&&e.childNodes.length&&(m+="..."),m+="</"+vS.call(String(e.nodeName))+">"}if(FS(e)){if(0===e.length)return"[]";var b=JS(e,f);return p&&!function(t){for(var e=0;e<t.length;e++)if(GS(t[e],"\n")>=0)return!1;return!0}(b)?"["+KS(b,p)+"]":"[ "+xS.call(b,", ")+" ]"}if(function(t){return!("[object Error]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}(e)){var w=JS(e,f);return"cause"in Error.prototype||!("cause"in e)||jS.call(e,"cause")?0===w.length?"["+String(e)+"]":"{ ["+String(e)+"] "+xS.call(w,", ")+" }":"{ ["+String(e)+"] "+xS.call(wS.call("[cause]: "+f(e.cause),w),", ")+" }"}if("object"==typeof e&&a){if(US&&"function"==typeof e[US]&&_S)return _S(e,{depth:l-n});if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!rS||!t||"object"!=typeof t)return!1;try{rS.call(t);try{aS.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var x=[];return nS&&nS.call(e,(function(t,r){x.push(f(r,e,!0)+" => "+f(t,e))})),YS("Map",rS.call(e),x,p)}if(function(t){if(!aS||!t||"object"!=typeof t)return!1;try{aS.call(t);try{rS.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var E=[];return sS&&sS.call(e,(function(t){E.push(f(t,e))})),YS("Set",aS.call(e),E,p)}if(function(t){if(!uS||!t||"object"!=typeof t)return!1;try{uS.call(t,uS);try{cS.call(t,cS)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return VS("WeakMap");if(function(t){if(!cS||!t||"object"!=typeof t)return!1;try{cS.call(t,cS);try{uS.call(t,uS)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return VS("WeakSet");if(function(t){if(!lS||!t||"object"!=typeof t)return!1;try{return lS.call(t),!0}catch(t){}return!1}(e))return VS("WeakRef");if(function(t){return!("[object Number]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}(e))return $S(f(Number(e)));if(function(t){if(!t||"object"!=typeof t||!AS)return!1;try{return AS.call(t),!0}catch(t){}return!1}(e))return $S(f(AS.call(e)));if(function(t){return!("[object Boolean]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}(e))return $S(pS.call(e));if(function(t){return!("[object String]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}(e))return $S(f(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if(e===S)return"{ [object globalThis] }";if(!function(t){return!("[object Date]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}(e)&&!BS(e)){var A=JS(e,f),R=TS?TS(e)===Object.prototype:e instanceof Object||e.constructor===Object,O=e instanceof Object?"":"null prototype",k=!R&&PS&&Object(e)===e&&PS in e?yS.call(WS(e),8,-1):O?"Object":"",P=(R||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(k||O?"["+xS.call(wS.call([],k||[],O||[]),": ")+"] ":"");return 0===A.length?P+"{}":p?P+"{"+KS(A,p)+"}":P+"{ "+xS.call(A,", ")+" }"}return String(e)},tE=Dw,eE=QS("%WeakMap%",!0),rE=QS("%Map%",!0),nE=XS("WeakMap.prototype.get",!0),oE=XS("WeakMap.prototype.set",!0),iE=XS("WeakMap.prototype.has",!0),aE=XS("Map.prototype.get",!0),sE=XS("Map.prototype.set",!0),uE=XS("Map.prototype.has",!0),cE=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r},lE=String.prototype.replace,pE=/%20/g,fE="RFC3986",hE={default:fE,formatters:{RFC1738:function(t){return lE.call(t,pE,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:fE},dE=hE,yE=Object.prototype.hasOwnProperty,mE=Array.isArray,gE=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),vE=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},bE={arrayToObject:vE,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[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)&&(e.push({obj:i,prop:u}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(mE(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,n,o){if(0===t.length)return t;var i=t;if("symbol"==typeof t?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",s=0;s<i.length;++s){var u=i.charCodeAt(s);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===dE.RFC1738&&(40===u||41===u)?a+=i.charAt(s):u<128?a+=gE[u]:u<2048?a+=gE[192|u>>6]+gE[128|63&u]:u<55296||u>=57344?a+=gE[224|u>>12]+gE[128|u>>6&63]+gE[128|63&u]:(s+=1,u=65536+((1023&u)<<10|1023&i.charCodeAt(s)),a+=gE[240|u>>18]+gE[128|u>>12&63]+gE[128|u>>6&63]+gE[128|63&u])}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(mE(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r){if(mE(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!yE.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return mE(e)&&!mE(r)&&(o=vE(e,n)),mE(e)&&mE(r)?(r.forEach((function(r,o){if(yE.call(e,o)){var i=e[o];i&&"object"==typeof i&&r&&"object"==typeof r?e[o]=t(i,r,n):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var i=r[o];return yE.call(e,o)?e[o]=t(e[o],i,n):e[o]=i,e}),o)}},wE=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new tE("Side channel does not contain "+ZS(t))},get:function(n){if(eE&&n&&("object"==typeof n||"function"==typeof n)){if(t)return nE(t,n)}else if(rE){if(e)return aE(e,n)}else if(r)return function(t,e){var r=cE(t,e);return r&&r.value}(r,n)},has:function(n){if(eE&&n&&("object"==typeof n||"function"==typeof n)){if(t)return iE(t,n)}else if(rE){if(e)return uE(e,n)}else if(r)return function(t,e){return!!cE(t,e)}(r,n);return!1},set:function(n,o){eE&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new eE),oE(t,n,o)):rE?(e||(e=new rE),sE(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=cE(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},xE=bE,SE=hE,EE=Object.prototype.hasOwnProperty,AE={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},RE=Array.isArray,OE=Array.prototype.push,kE=function(t,e){OE.apply(t,RE(e)?e:[e])},PE=Date.prototype.toISOString,jE=SE.default,TE={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:xE.encode,encodeValuesOnly:!1,format:jE,formatter:SE.formatters[jE],indices:!1,serializeDate:function(t){return PE.call(t)},skipNulls:!1,strictNullHandling:!1},IE={},_E=function t(e,r,n,o,i,a,s,u,c,l,p,f,h,d,y,m,g,v){for(var b,w=e,x=v,S=0,E=!1;void 0!==(x=x.get(IE))&&!E;){var A=x.get(e);if(S+=1,void 0!==A){if(A===S)throw new RangeError("Cyclic object value");E=!0}void 0===x.get(IE)&&(S=0)}if("function"==typeof l?w=l(r,w):w instanceof Date?w=h(w):"comma"===n&&RE(w)&&(w=xE.maybeMap(w,(function(t){return t instanceof Date?h(t):t}))),null===w){if(a)return c&&!m?c(r,TE.encoder,g,"key",d):r;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||xE.isBuffer(w))return c?[y(m?r:c(r,TE.encoder,g,"key",d))+"="+y(c(w,TE.encoder,g,"value",d))]:[y(r)+"="+y(String(w))];var R,O=[];if(void 0===w)return O;if("comma"===n&&RE(w))m&&c&&(w=xE.maybeMap(w,c)),R=[{value:w.length>0?w.join(",")||null:void 0}];else if(RE(l))R=l;else{var k=Object.keys(w);R=p?k.sort(p):k}var P=u?r.replace(/\./g,"%2E"):r,j=o&&RE(w)&&1===w.length?P+"[]":P;if(i&&RE(w)&&0===w.length)return j+"[]";for(var T=0;T<R.length;++T){var I=R[T],_="object"==typeof I&&void 0!==I.value?I.value:w[I];if(!s||null!==_){var N=f&&u?I.replace(/\./g,"%2E"):I,U=RE(w)?"function"==typeof n?n(j,N):j:j+(f?"."+N:"["+N+"]");v.set(e,S);var C=wE();C.set(IE,v),kE(O,t(_,U,n,o,i,a,s,u,"comma"===n&&m&&RE(w)?null:c,l,p,f,h,d,y,m,g,C))}}return O},NE=bE,UE=Object.prototype.hasOwnProperty,CE=Array.isArray,LE={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:NE.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},FE=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},BE=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},DE=function(t,e,r,n){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),s=a?o.slice(0,a.index):o,u=[];if(s){if(!r.plainObjects&&UE.call(Object.prototype,s)&&!r.allowPrototypes)return;u.push(s)}for(var c=0;r.depth>0&&null!==(a=i.exec(o))&&c<r.depth;){if(c+=1,!r.plainObjects&&UE.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+o.slice(a.index)+"]"),function(t,e,r,n){for(var o=n?e:BE(e,r),i=t.length-1;i>=0;--i){var a,s=t[i];if("[]"===s&&r.parseArrays)a=r.allowEmptyArrays&&""===o?[]:[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=r.decodeDotInKeys?u.replace(/%2E/g,"."):u,l=parseInt(c,10);r.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:"__proto__"!==c&&(a[c]=o):a={0:o}}o=a}return o}(u,e,r,n)}},qE=function(t,e){var r,n=t,o=function(t){if(!t)return TE;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.encodeDotInKeys&&"boolean"!=typeof t.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||TE.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=SE.default;if(void 0!==t.format){if(!EE.call(SE.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n,o=SE.formatters[r],i=TE.filter;if(("function"==typeof t.filter||RE(t.filter))&&(i=t.filter),n=t.arrayFormat in AE?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":TE.arrayFormat,"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=void 0===t.allowDots?!0===t.encodeDotInKeys||TE.allowDots:!!t.allowDots;return{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:TE.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:TE.allowEmptyArrays,arrayFormat:n,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:TE.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:void 0===t.delimiter?TE.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:TE.encode,encodeDotInKeys:"boolean"==typeof t.encodeDotInKeys?t.encodeDotInKeys:TE.encodeDotInKeys,encoder:"function"==typeof t.encoder?t.encoder:TE.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:TE.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:TE.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:TE.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:TE.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):RE(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var a=AE[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var u=wE(),c=0;c<r.length;++c){var l=r[c];o.skipNulls&&null===n[l]||kE(i,_E(n[l],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),f=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),p.length>0?f+p:""},ME=function(t,e){var r=function(t){if(!t)return LE;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?LE.charset:t.charset,r=void 0===t.duplicates?LE.duplicates:t.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===t.allowDots?!0===t.decodeDotInKeys||LE.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:LE.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:LE.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:LE.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:LE.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:LE.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:LE.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:LE.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:LE.decoder,delimiter:"string"==typeof t.delimiter||NE.isRegExp(t.delimiter)?t.delimiter:LE.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:LE.depth,duplicates:r,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:LE.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:LE.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:LE.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:LE.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,e){var r,n={__proto__:null},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=o.split(e.delimiter,i),s=-1,u=e.charset;if(e.charsetSentinel)for(r=0;r<a.length;++r)0===a[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[r]?u="utf-8":"utf8=%26%2310003%3B"===a[r]&&(u="iso-8859-1"),s=r,r=a.length);for(r=0;r<a.length;++r)if(r!==s){var c,l,p=a[r],f=p.indexOf("]="),h=-1===f?p.indexOf("="):f+1;-1===h?(c=e.decoder(p,LE.decoder,u,"key"),l=e.strictNullHandling?null:""):(c=e.decoder(p.slice(0,h),LE.decoder,u,"key"),l=NE.maybeMap(BE(p.slice(h+1),e),(function(t){return e.decoder(t,LE.decoder,u,"value")}))),l&&e.interpretNumericEntities&&"iso-8859-1"===u&&(l=FE(l)),p.indexOf("[]=")>-1&&(l=CE(l)?[l]:l);var d=UE.call(n,c);d&&"combine"===e.duplicates?n[c]=NE.combine(n[c],l):d&&"last"!==e.duplicates||(n[c]=l)}return n}(t,r):t,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],u=DE(s,n[s],r,"string"==typeof t);o=NE.merge(o,u,r)}return!0===r.allowSparse?o:NE.compact(o)},WE=E({formats:hE,parse:ME,stringify:qE});const GE="function"==typeof Buffer,zE=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),HE=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),$E=(t=>{let e={};return t.forEach(((t,r)=>e[t]=r)),e})(HE),VE=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,YE=String.fromCharCode.bind(String),KE=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_"))),JE=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),QE=t=>{let e,r,n,o,i="";const a=t.length%3;for(let a=0;a<t.length;){if((r=t.charCodeAt(a++))>255||(n=t.charCodeAt(a++))>255||(o=t.charCodeAt(a++))>255)throw new TypeError("invalid character found");e=r<<16|n<<8|o,i+=HE[e>>18&63]+HE[e>>12&63]+HE[e>>6&63]+HE[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},XE="function"==typeof btoa?t=>btoa(t):GE?t=>Buffer.from(t,"binary").toString("base64"):QE,ZE=GE?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(YE.apply(null,t.subarray(r,r+4096)));return XE(e.join(""))},tA=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?YE(192|e>>>6)+YE(128|63&e):YE(224|e>>>12&15)+YE(128|e>>>6&63)+YE(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return YE(240|e>>>18&7)+YE(128|e>>>12&63)+YE(128|e>>>6&63)+YE(128|63&e)},eA=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,rA=t=>t.replace(eA,tA),nA=GE?t=>Buffer.from(t,"utf8").toString("base64"):zE?t=>ZE(zE.encode(t)):t=>XE(rA(t)),oA=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?KE(nA(t)):nA(t)},iA=t=>{if(t=t.replace(/\s+/g,""),!VE.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));let e,r,n,o="";for(let i=0;i<t.length;)e=$E[t.charAt(i++)]<<18|$E[t.charAt(i++)]<<12|(r=$E[t.charAt(i++)])<<6|(n=$E[t.charAt(i++)]),o+=64===r?YE(e>>16&255):64===n?YE(e>>16&255,e>>8&255):YE(e>>16&255,e>>8&255,255&e);return o},aA=oA;var sA,uA=function(){return h((function t(e){if(p(this,t),this.baseUrl=e.baseUrl,this.auth=e.auth,this.headers=this.buildHeaders({basicAuth:e.basicAuth,userAgent:e.userAgent}),"httpsAgent"in e){if("clientCertAuth"in e)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=e.httpsAgent}else"clientCertAuth"in e&&(this.clientCertAuth=e.clientCertAuth);this.proxy=e.proxy,this.requestToken=null,this.socketTimeout=e.socketTimeout}),[{key:"build",value:(n=l(a().mark((function t(r,n,o,s){var u,c,l,p;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:u=i(i(i({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(n)},s||{}),e.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth,socketTimeout:this.socketTimeout})),{},{proxy:this.buildProxyConfig(this.proxy)}),t.t0=r,t.next="get"===t.t0?4:"post"===t.t0?16:"put"===t.t0?29:"delete"===t.t0?37:44;break;case 4:if(!((c=this.buildRequestUrl(n,o)).length>4096)){t.next=15;break}return t.t1=i,t.t2=i({},u),t.t3={},t.t4=i(i({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),t.next=12,this.buildData(o);case 12:return t.t5=t.sent,t.t6={method:"post",headers:t.t4,data:t.t5},t.abrupt("return",(0,t.t1)(t.t2,t.t3,t.t6));case 15:return t.abrupt("return",i(i({},u),{},{url:c}));case 16:if(!(o instanceof Wg)){t.next=21;break}return t.next=19,this.buildData(o);case 19:return l=t.sent,t.abrupt("return",i(i({},u),{},{headers:"function"==typeof l.getHeaders?i(i({},this.headers),l.getHeaders()):this.headers,data:l}));case 21:return t.t7=i,t.t8=i({},u),t.t9={},t.next=26,this.buildData(o);case 26:return t.t10=t.sent,t.t11={data:t.t10},t.abrupt("return",(0,t.t7)(t.t8,t.t9,t.t11));case 29:return t.t12=i,t.t13=i({},u),t.t14={},t.next=34,this.buildData(o);case 34:return t.t15=t.sent,t.t16={data:t.t15},t.abrupt("return",(0,t.t12)(t.t13,t.t14,t.t16));case 37:return t.t17=this,t.t18=n,t.next=41,this.buildData(o);case 41:return t.t19=t.sent,p=t.t17.buildRequestUrl.call(t.t17,t.t18,t.t19),t.abrupt("return",i(i({},u),{},{url:p}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return t.stop()}}),t,this)}))),function(t,e,r,o){return n.apply(this,arguments)})},{key:"buildProxyConfig",value:function(t){var e;if(void 0!==t){if(!1===t)return!1;var r=t;return!r.auth||0!==r.auth.username.length&&0!==r.auth.password.length||(r.auth=void 0),r.protocol=null!==(e=r.protocol)&&void 0!==e?e:"http",r}}},{key:"buildRequestUrl",value:function(t,e){return"".concat(this.baseUrl).concat(t,"?").concat(WE.stringify(e))}},{key:"buildData",value:(r=l(a().mark((function t(e){var r;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("session"!==this.auth.type){t.next=8;break}return t.next=3,this.getRequestToken();case 3:if(r=t.sent,!(e instanceof Wg)){t.next=7;break}return e.append("__REQUEST_TOKEN__",r),t.abrupt("return",e);case 7:return t.abrupt("return",i({__REQUEST_TOKEN__:r},e));case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"buildHeaders",value:function(t){var r=t.basicAuth,n=t.userAgent,o=r?{Authorization:"Basic ".concat(aA("".concat(r.username,":").concat(r.password)))}:{},a=i(i({},e.buildHeaders({userAgent:n})),o);switch(this.auth.type){case"password":return i(i({},a),{},{"X-Cybozu-Authorization":aA("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var s=this.auth.apiToken;return Array.isArray(s)?i(i({},a),{},{"X-Cybozu-API-Token":s.join(",")}):i(i({},a),{},{"X-Cybozu-API-Token":s});case"oAuthToken":return i(i({},a),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return i(i({},a),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(t=l(a().mark((function t(){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==this.requestToken){t.next=4;break}return t.next=3,e.getRequestToken();case 3:this.requestToken=t.sent;case 4:return t.abrupt("return",this.requestToken);case 5:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})}]);var t,r,n}(),cA=["data"],lA=function(){return h((function t(e){var r=e.enableAbortSearchError;p(this,t),this.enableAbortSearchError=r}),[{key:"handle",value:function(t){var e=this;return t.then((function(t){return e.handleSuccessResponse(t)}),(function(t){return e.handleErrorResponse(t)}))}},{key:"handleSuccessResponse",value:function(t){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(t.headers["x-cybozu-warning"]))throw new Sg(t.headers["x-cybozu-warning"]);return t.data}},{key:"handleErrorResponse",value:function(t){if(!t.response){if(/mac verify failure/.test(t.toString()))throw new Error("invalid clientCertAuth setting");throw t}var e=t.response,r=e.data,n=b(e,cA);if("string"==typeof r)throw new Error("".concat(n.status,": ").concat(n.statusText));throw new Cg(i({data:r},n))}}])}(),pA=function(){return h((function t(){var r,n,o,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p(this,t),fA(a),this.baseUrl=e.buildBaseUrl(a.baseUrl).replace(/\/+$/,"");var s=function(t){if("username"in t)return i({type:"password"},t);if("apiToken"in t)return i({type:"apiToken"},t);if("oAuthToken"in t)return i({type:"oAuthToken"},t);try{return e.getDefaultAuth()}catch(t){if(t instanceof Hi)throw new Error("session authentication is not supported in ".concat(t.platform," environment."));throw t}}(null!==(r=a.auth)&&void 0!==r?r:{}),u=new uA(i(i({},a),{},{baseUrl:this.baseUrl,auth:s})),c=new lA({enableAbortSearchError:null!==(n=null===(o=a.featureFlags)||void 0===o?void 0:o.enableAbortSearchError)&&void 0!==n&&n}),l=new kw({responseHandler:c,requestConfigBuilder:u}),f=a.guestSpaceId;this.bulkRequest_=new My(l,f),this.record=new qg(l,this.bulkRequest_,f),this.app=new rm(l,f),this.space=new Mg(l,f),this.file=new Gg(l,f)}),[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(t){return this.bulkRequest_.send(t)}}],[{key:"version",get:function(){return e.getVersion()}}])}(),fA=function(t){hA(t.baseUrl),dA(t.guestSpaceId),yA(t.socketTimeout)},hA=function(t){if(void 0!==t){var e=new URL(t);if("localhost"!==e.hostname&&"https:"!==e.protocol)throw new Error('The protocol of baseUrl must be "https".')}},dA=function(t){if(""===t||null===t)throw new Error("invalid guestSpaceId: got [".concat(t,"]"))},yA=function(t){if(void 0!==t){var e=parseFloat(t.toString());if(isNaN(e)||e<0)throw new Error("Invalid socketTimeout. Must be a positive number.")}};(sA=Ji).readFileFromPath&&(e.readFileFromPath=sA.readFileFromPath),sA.getRequestToken&&(e.getRequestToken=sA.getRequestToken),sA.getDefaultAuth&&(e.getDefaultAuth=sA.getDefaultAuth),sA.buildPlatformDependentConfig&&(e.buildPlatformDependentConfig=sA.buildPlatformDependentConfig),sA.buildHeaders&&(e.buildHeaders=sA.buildHeaders),sA.buildFormDataValue&&(e.buildFormDataValue=sA.buildFormDataValue),sA.buildBaseUrl&&(e.buildBaseUrl=sA.buildBaseUrl),sA.getVersion&&(e.getVersion=sA.getVersion),t.KintoneAbortSearchError=Sg,t.KintoneAllRecordsError=Ug,t.KintoneRestAPIClient=pA,t.KintoneRestAPIError=Cg}));
|
|
630
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).window=t.window||{})}(this,(function(t){"use strict";var e={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(t,e,r){return e=m(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,n()?Reflect.construct(e,r||[],m(t).constructor):e.apply(t,r))}function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(n=function(){return!!t})()}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(){a=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),s=new I(n||[]);return o(a,"_invoke",{value:k(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",d="suspendedYield",y="executing",m="completed",g={};function v(){}function b(){}function w(){}var x={};l(x,s,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(_([])));E&&E!==r&&n.call(E,s)&&(x=E);var A=w.prototype=v.prototype=Object.create(x);function R(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,s){var u=f(t[o],t,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=P(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=f(e,r,n);if("normal"===c.type){if(o=n.done?m:d,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=w,o(A,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,c,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},R(O.prototype),l(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new O(p(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},R(A),l(A,c,"Generator"),l(A,s,(function(){return this})),l(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function s(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function c(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){c(i,n,o,a,s,"next",t)}function s(t){c(i,n,o,a,s,"throw",t)}a(void 0)}))}}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,s(n.key),n)}}function h(t,e,r){return e&&f(t.prototype,e),r&&f(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function d(t,e,r){return(e=s(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function g(t,e){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},g(t,e)}function v(t){var e="function"==typeof Map?new Map:void 0;return v=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(n())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var i=new(t.bind.apply(t,o));return r&&g(i,r.prototype),i}(t,arguments,m(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,t)},v(t)}function b(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function w(t){return function(t){if(Array.isArray(t))return x(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}(t)||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 x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function E(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function A(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var r=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),r}var R=function(t){return t&&t.Math===Math&&t},O=R("object"==typeof globalThis&&globalThis)||R("object"==typeof window&&window)||R("object"==typeof self&&self)||R("object"==typeof S&&S)||R("object"==typeof S&&S)||function(){return this}()||Function("return this")(),k={},P=function(t){try{return!!t()}catch(t){return!0}},j=!P((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),T=!P((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),I=T,_=Function.prototype.call,N=I?_.bind(_):function(){return _.apply(_,arguments)},U={},C={}.propertyIsEnumerable,L=Object.getOwnPropertyDescriptor,F=L&&!C.call({1:2},1);U.f=F?function(t){var e=L(this,t);return!!e&&e.enumerable}:C;var B,D,q=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},M=T,W=Function.prototype,G=W.call,z=M&&W.bind.bind(G,G),H=M?z:function(t){return function(){return G.apply(t,arguments)}},$=H,V=$({}.toString),Y=$("".slice),K=function(t){return Y(V(t),8,-1)},J=P,Q=K,X=Object,Z=H("".split),tt=J((function(){return!X("z").propertyIsEnumerable(0)}))?function(t){return"String"===Q(t)?Z(t,""):X(t)}:X,et=function(t){return null==t},rt=et,nt=TypeError,ot=function(t){if(rt(t))throw new nt("Can't call method on "+t);return t},it=tt,at=ot,st=function(t){return it(at(t))},ut="object"==typeof document&&document.all,ct=void 0===ut&&void 0!==ut?function(t){return"function"==typeof t||t===ut}:function(t){return"function"==typeof t},lt=ct,pt=function(t){return"object"==typeof t?null!==t:lt(t)},ft=O,ht=ct,dt=function(t,e){return arguments.length<2?(r=ft[t],ht(r)?r:void 0):ft[t]&&ft[t][e];var r},yt=H({}.isPrototypeOf),mt=O,gt="undefined"!=typeof navigator&&String(navigator.userAgent)||"",vt=mt.process,bt=mt.Deno,wt=vt&&vt.versions||bt&&bt.version,xt=wt&&wt.v8;xt&&(D=(B=xt.split("."))[0]>0&&B[0]<4?1:+(B[0]+B[1])),!D&>&&(!(B=gt.match(/Edge\/(\d+)/))||B[1]>=74)&&(B=gt.match(/Chrome\/(\d+)/))&&(D=+B[1]);var St=D,Et=St,At=P,Rt=O.String,Ot=!!Object.getOwnPropertySymbols&&!At((function(){var t=Symbol("symbol detection");return!Rt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Et&&Et<41})),kt=Ot&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Pt=dt,jt=ct,Tt=yt,It=Object,_t=kt?function(t){return"symbol"==typeof t}:function(t){var e=Pt("Symbol");return jt(e)&&Tt(e.prototype,It(t))},Nt=String,Ut=function(t){try{return Nt(t)}catch(t){return"Object"}},Ct=ct,Lt=Ut,Ft=TypeError,Bt=function(t){if(Ct(t))return t;throw new Ft(Lt(t)+" is not a function")},Dt=Bt,qt=et,Mt=function(t,e){var r=t[e];return qt(r)?void 0:Dt(r)},Wt=N,Gt=ct,zt=pt,Ht=TypeError,$t={exports:{}},Vt=O,Yt=Object.defineProperty,Kt=function(t,e){try{Yt(Vt,t,{value:e,configurable:!0,writable:!0})}catch(r){Vt[t]=e}return e},Jt=O,Qt=Kt,Xt="__core-js_shared__",Zt=$t.exports=Jt[Xt]||Qt(Xt,{});(Zt.versions||(Zt.versions=[])).push({version:"3.36.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"});var te=$t.exports,ee=te,re=function(t,e){return ee[t]||(ee[t]=e||{})},ne=ot,oe=Object,ie=function(t){return oe(ne(t))},ae=ie,se=H({}.hasOwnProperty),ue=Object.hasOwn||function(t,e){return se(ae(t),e)},ce=H,le=0,pe=Math.random(),fe=ce(1..toString),he=function(t){return"Symbol("+(void 0===t?"":t)+")_"+fe(++le+pe,36)},de=re,ye=ue,me=he,ge=Ot,ve=kt,be=O.Symbol,we=de("wks"),xe=ve?be.for||be:be&&be.withoutSetter||me,Se=function(t){return ye(we,t)||(we[t]=ge&&ye(be,t)?be[t]:xe("Symbol."+t)),we[t]},Ee=N,Ae=pt,Re=_t,Oe=Mt,ke=function(t,e){var r,n;if("string"===e&&Gt(r=t.toString)&&!zt(n=Wt(r,t)))return n;if(Gt(r=t.valueOf)&&!zt(n=Wt(r,t)))return n;if("string"!==e&&Gt(r=t.toString)&&!zt(n=Wt(r,t)))return n;throw new Ht("Can't convert object to primitive value")},Pe=TypeError,je=Se("toPrimitive"),Te=function(t,e){if(!Ae(t)||Re(t))return t;var r,n=Oe(t,je);if(n){if(void 0===e&&(e="default"),r=Ee(n,t,e),!Ae(r)||Re(r))return r;throw new Pe("Can't convert object to primitive value")}return void 0===e&&(e="number"),ke(t,e)},Ie=Te,_e=_t,Ne=function(t){var e=Ie(t,"string");return _e(e)?e:e+""},Ue=pt,Ce=O.document,Le=Ue(Ce)&&Ue(Ce.createElement),Fe=function(t){return Le?Ce.createElement(t):{}},Be=Fe,De=!j&&!P((function(){return 7!==Object.defineProperty(Be("div"),"a",{get:function(){return 7}}).a})),qe=j,Me=N,We=U,Ge=q,ze=st,He=Ne,$e=ue,Ve=De,Ye=Object.getOwnPropertyDescriptor;k.f=qe?Ye:function(t,e){if(t=ze(t),e=He(e),Ve)try{return Ye(t,e)}catch(t){}if($e(t,e))return Ge(!Me(We.f,t,e),t[e])};var Ke={},Je=j&&P((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Qe=pt,Xe=String,Ze=TypeError,tr=function(t){if(Qe(t))return t;throw new Ze(Xe(t)+" is not an object")},er=j,rr=De,nr=Je,or=tr,ir=Ne,ar=TypeError,sr=Object.defineProperty,ur=Object.getOwnPropertyDescriptor,cr="enumerable",lr="configurable",pr="writable";Ke.f=er?nr?function(t,e,r){if(or(t),e=ir(e),or(r),"function"==typeof t&&"prototype"===e&&"value"in r&&pr in r&&!r[pr]){var n=ur(t,e);n&&n[pr]&&(t[e]=r.value,r={configurable:lr in r?r[lr]:n[lr],enumerable:cr in r?r[cr]:n[cr],writable:!1})}return sr(t,e,r)}:sr:function(t,e,r){if(or(t),e=ir(e),or(r),rr)try{return sr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new ar("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var fr=Ke,hr=q,dr=j?function(t,e,r){return fr.f(t,e,hr(1,r))}:function(t,e,r){return t[e]=r,t},yr={exports:{}},mr=j,gr=ue,vr=Function.prototype,br=mr&&Object.getOwnPropertyDescriptor,wr=gr(vr,"name"),xr={EXISTS:wr,PROPER:wr&&"something"===function(){}.name,CONFIGURABLE:wr&&(!mr||mr&&br(vr,"name").configurable)},Sr=ct,Er=te,Ar=H(Function.toString);Sr(Er.inspectSource)||(Er.inspectSource=function(t){return Ar(t)});var Rr,Or,kr,Pr=Er.inspectSource,jr=ct,Tr=O.WeakMap,Ir=jr(Tr)&&/native code/.test(String(Tr)),_r=he,Nr=re("keys"),Ur=function(t){return Nr[t]||(Nr[t]=_r(t))},Cr={},Lr=Ir,Fr=O,Br=pt,Dr=dr,qr=ue,Mr=te,Wr=Ur,Gr=Cr,zr="Object already initialized",Hr=Fr.TypeError,$r=Fr.WeakMap;if(Lr||Mr.state){var Vr=Mr.state||(Mr.state=new $r);Vr.get=Vr.get,Vr.has=Vr.has,Vr.set=Vr.set,Rr=function(t,e){if(Vr.has(t))throw new Hr(zr);return e.facade=t,Vr.set(t,e),e},Or=function(t){return Vr.get(t)||{}},kr=function(t){return Vr.has(t)}}else{var Yr=Wr("state");Gr[Yr]=!0,Rr=function(t,e){if(qr(t,Yr))throw new Hr(zr);return e.facade=t,Dr(t,Yr,e),e},Or=function(t){return qr(t,Yr)?t[Yr]:{}},kr=function(t){return qr(t,Yr)}}var Kr={set:Rr,get:Or,has:kr,enforce:function(t){return kr(t)?Or(t):Rr(t,{})},getterFor:function(t){return function(e){var r;if(!Br(e)||(r=Or(e)).type!==t)throw new Hr("Incompatible receiver, "+t+" required");return r}}},Jr=H,Qr=P,Xr=ct,Zr=ue,tn=j,en=xr.CONFIGURABLE,rn=Pr,nn=Kr.enforce,on=Kr.get,an=String,sn=Object.defineProperty,un=Jr("".slice),cn=Jr("".replace),ln=Jr([].join),pn=tn&&!Qr((function(){return 8!==sn((function(){}),"length",{value:8}).length})),fn=String(String).split("String"),hn=yr.exports=function(t,e,r){"Symbol("===un(an(e),0,7)&&(e="["+cn(an(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Zr(t,"name")||en&&t.name!==e)&&(tn?sn(t,"name",{value:e,configurable:!0}):t.name=e),pn&&r&&Zr(r,"arity")&&t.length!==r.arity&&sn(t,"length",{value:r.arity});try{r&&Zr(r,"constructor")&&r.constructor?tn&&sn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=nn(t);return Zr(n,"source")||(n.source=ln(fn,"string"==typeof e?e:"")),t};Function.prototype.toString=hn((function(){return Xr(this)&&on(this).source||rn(this)}),"toString");var dn=yr.exports,yn=ct,mn=Ke,gn=dn,vn=Kt,bn=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(yn(r)&&gn(r,i,n),n.global)o?t[e]=r:vn(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:mn.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},wn={},xn=Math.ceil,Sn=Math.floor,En=Math.trunc||function(t){var e=+t;return(e>0?Sn:xn)(e)},An=function(t){var e=+t;return e!=e||0===e?0:En(e)},Rn=An,On=Math.max,kn=Math.min,Pn=function(t,e){var r=Rn(t);return r<0?On(r+e,0):kn(r,e)},jn=An,Tn=Math.min,In=function(t){var e=jn(t);return e>0?Tn(e,9007199254740991):0},_n=In,Nn=function(t){return _n(t.length)},Un=st,Cn=Pn,Ln=Nn,Fn=function(t){return function(e,r,n){var o=Un(e),i=Ln(o);if(0===i)return!t&&-1;var a,s=Cn(n,i);if(t&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((t||s in o)&&o[s]===r)return t||s||0;return!t&&-1}},Bn={includes:Fn(!0),indexOf:Fn(!1)},Dn=ue,qn=st,Mn=Bn.indexOf,Wn=Cr,Gn=H([].push),zn=function(t,e){var r,n=qn(t),o=0,i=[];for(r in n)!Dn(Wn,r)&&Dn(n,r)&&Gn(i,r);for(;e.length>o;)Dn(n,r=e[o++])&&(~Mn(i,r)||Gn(i,r));return i},Hn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$n=zn,Vn=Hn.concat("length","prototype");wn.f=Object.getOwnPropertyNames||function(t){return $n(t,Vn)};var Yn={};Yn.f=Object.getOwnPropertySymbols;var Kn=dt,Jn=wn,Qn=Yn,Xn=tr,Zn=H([].concat),to=Kn("Reflect","ownKeys")||function(t){var e=Jn.f(Xn(t)),r=Qn.f;return r?Zn(e,r(t)):e},eo=ue,ro=to,no=k,oo=Ke,io=P,ao=ct,so=/#|\.prototype\./,uo=function(t,e){var r=lo[co(t)];return r===fo||r!==po&&(ao(e)?io(e):!!e)},co=uo.normalize=function(t){return String(t).replace(so,".").toLowerCase()},lo=uo.data={},po=uo.NATIVE="N",fo=uo.POLYFILL="P",ho=uo,yo=O,mo=k.f,go=dr,vo=bn,bo=Kt,wo=function(t,e,r){for(var n=ro(e),o=oo.f,i=no.f,a=0;a<n.length;a++){var s=n[a];eo(t,s)||r&&eo(r,s)||o(t,s,i(e,s))}},xo=ho,So=function(t,e){var r,n,o,i,a,s=t.target,u=t.global,c=t.stat;if(r=u?yo:c?yo[s]||bo(s,{}):yo[s]&&yo[s].prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=mo(r,n))&&a.value:r[n],!xo(u?n:s+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;wo(i,o)}(t.sham||o&&o.sham)&&go(i,"sham",!0),vo(r,n,i,t)}},Eo=K,Ao=Array.isArray||function(t){return"Array"===Eo(t)},Ro=TypeError,Oo=j,ko=Ke,Po=q,jo=function(t,e,r){Oo?ko.f(t,e,Po(0,r)):t[e]=r},To={};To[Se("toStringTag")]="z";var Io="[object z]"===String(To),_o=Io,No=ct,Uo=K,Co=Se("toStringTag"),Lo=Object,Fo="Arguments"===Uo(function(){return arguments}()),Bo=_o?Uo:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Lo(t),Co))?r:Fo?Uo(e):"Object"===(n=Uo(e))&&No(e.callee)?"Arguments":n},Do=H,qo=P,Mo=ct,Wo=Bo,Go=Pr,zo=function(){},Ho=dt("Reflect","construct"),$o=/^\s*(?:class|function)\b/,Vo=Do($o.exec),Yo=!$o.test(zo),Ko=function(t){if(!Mo(t))return!1;try{return Ho(zo,[],t),!0}catch(t){return!1}},Jo=function(t){if(!Mo(t))return!1;switch(Wo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Yo||!!Vo($o,Go(t))}catch(t){return!0}};Jo.sham=!0;var Qo=!Ho||qo((function(){var t;return Ko(Ko.call)||!Ko(Object)||!Ko((function(){t=!0}))||t}))?Jo:Ko,Xo=Ao,Zo=Qo,ti=pt,ei=Se("species"),ri=Array,ni=function(t){var e;return Xo(t)&&(e=t.constructor,(Zo(e)&&(e===ri||Xo(e.prototype))||ti(e)&&null===(e=e[ei]))&&(e=void 0)),void 0===e?ri:e},oi=function(t,e){return new(ni(t))(0===e?0:e)},ii=P,ai=St,si=Se("species"),ui=function(t){return ai>=51||!ii((function(){var e=[];return(e.constructor={})[si]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},ci=So,li=P,pi=Ao,fi=pt,hi=ie,di=Nn,yi=function(t){if(t>9007199254740991)throw Ro("Maximum allowed index exceeded");return t},mi=jo,gi=oi,vi=ui,bi=St,wi=Se("isConcatSpreadable"),xi=bi>=51||!li((function(){var t=[];return t[wi]=!1,t.concat()[0]!==t})),Si=function(t){if(!fi(t))return!1;var e=t[wi];return void 0!==e?!!e:pi(t)};ci({target:"Array",proto:!0,arity:1,forced:!xi||!vi("concat")},{concat:function(t){var e,r,n,o,i,a=hi(this),s=gi(a,0),u=0;for(e=-1,n=arguments.length;e<n;e++)if(Si(i=-1===e?a:arguments[e]))for(o=di(i),yi(u+o),r=0;r<o;r++,u++)r in i&&mi(s,u,i[r]);else yi(u+1),mi(s,u++,i);return s.length=u,s}});var Ei=dn,Ai=Ke,Ri=function(t,e,r){return r.get&&Ei(r.get,e,{getter:!0}),r.set&&Ei(r.set,e,{setter:!0}),Ai.f(t,e,r)},Oi=j,ki=xr.EXISTS,Pi=H,ji=Ri,Ti=Function.prototype,Ii=Pi(Ti.toString),_i=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Ni=Pi(_i.exec);Oi&&!ki&&ji(Ti,"name",{configurable:!0,get:function(){try{return Ni(_i,Ii(this))[1]}catch(t){return""}}});var Ui=H,Ci=Bt,Li=pt,Fi=function(t){return Li(t)||null===t},Bi=String,Di=TypeError,qi=function(t,e,r){try{return Ui(Ci(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},Mi=pt,Wi=ot,Gi=function(t){if(Fi(t))return t;throw new Di("Can't set "+Bi(t)+" as a prototype")},zi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=qi(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return Wi(r),Gi(n),Mi(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0);So({target:"Object",stat:!0},{setPrototypeOf:zi});var Hi=function(t){function e(t){var n;return p(this,e),n=r(this,e,["This function is not supported in ".concat(t," environment")]),Error.captureStackTrace&&Error.captureStackTrace(n,e),n.name="UnsupportedPlatformError",n.platform=t,Object.setPrototypeOf(n,e.prototype),n}return y(e,t),h(e)}(v(Error));function $i(){this._types=Object.create(null),this._extensions=Object.create(null);for(let t=0;t<arguments.length;t++)this.define(arguments[t]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}$i.prototype.define=function(t,e){for(let r in t){let n=t[r].map((function(t){return t.toLowerCase()}));r=r.toLowerCase();for(let t=0;t<n.length;t++){const o=n[t];if("*"!==o[0]){if(!e&&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(e||!this._extensions[r]){const t=n[0];this._extensions[r]="*"!==t[0]?t:t.substr(1)}}},$i.prototype.getType=function(t){let e=(t=String(t)).replace(/^.*[/\\]/,"").toLowerCase(),r=e.replace(/^.*\./,"").toLowerCase(),n=e.length<t.length;return(r.length<e.length-1||!n)&&this._types[r]||null},$i.prototype.getExtension=function(t){return(t=/^\s*([^;\s]*)/.test(t)&&RegExp.$1)&&this._extensions[t.toLowerCase()]||null};var Vi=E(new $i({"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"]})),Yi="5.5.1",Ki=function(){var t=l(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":u(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){t.next=2;break}return t.abrupt("return",kintone.getRequestToken());case 2:if("object"!==("undefined"==typeof garoon?"undefined":u(garoon))||null===garoon||"function"!=typeof(null===(e=garoon.connect)||void 0===e||null===(e=e.kintone)||void 0===e?void 0:e.getRequestToken)){t.next=4;break}return t.abrupt("return",garoon.connect.kintone.getRequestToken());case 4:throw new Error("session authentication must specify a request token");case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Ji=Object.freeze({__proto__:null,buildBaseUrl:function(t){if(t)return t;if(void 0===location)throw new Error("The baseUrl parameter is required for this environment");var e=location,r=e.host,n=e.protocol;return"".concat(n,"//").concat(r)},buildFormDataValue:function(t,e){var r={};return e&&(r.type=Vi.getType(e)||void 0),new Blob([t],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Ki,getVersion:function(){return Yi},readFileFromPath:function(t){throw new Hi("Browser")}}),Qi={},Xi=zn,Zi=Hn,ta=Object.keys||function(t){return Xi(t,Zi)},ea=j,ra=Je,na=Ke,oa=tr,ia=st,aa=ta;Qi.f=ea&&!ra?Object.defineProperties:function(t,e){oa(t);for(var r,n=ia(e),o=aa(e),i=o.length,a=0;i>a;)na.f(t,r=o[a++],n[r]);return t};var sa,ua=dt("document","documentElement"),ca=tr,la=Qi,pa=Hn,fa=Cr,ha=ua,da=Fe,ya="prototype",ma="script",ga=Ur("IE_PROTO"),va=function(){},ba=function(t){return"<"+ma+">"+t+"</"+ma+">"},wa=function(t){t.write(ba("")),t.close();var e=t.parentWindow.Object;return t=null,e},xa=function(){try{sa=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;xa="undefined"!=typeof document?document.domain&&sa?wa(sa):(e=da("iframe"),r="java"+ma+":",e.style.display="none",ha.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(ba("document.F=Object")),t.close(),t.F):wa(sa);for(var n=pa.length;n--;)delete xa[ya][pa[n]];return xa()};fa[ga]=!0;var Sa=Object.create||function(t,e){var r;return null!==t?(va[ya]=ca(t),r=new va,va[ya]=null,r[ga]=t):r=xa(),void 0===e?r:la.f(r,e)},Ea=Se,Aa=Sa,Ra=Ke.f,Oa=Ea("unscopables"),ka=Array.prototype;void 0===ka[Oa]&&Ra(ka,Oa,{configurable:!0,value:Aa(null)});var Pa,ja,Ta,Ia={},_a=!P((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Na=ue,Ua=ct,Ca=ie,La=_a,Fa=Ur("IE_PROTO"),Ba=Object,Da=Ba.prototype,qa=La?Ba.getPrototypeOf:function(t){var e=Ca(t);if(Na(e,Fa))return e[Fa];var r=e.constructor;return Ua(r)&&e instanceof r?r.prototype:e instanceof Ba?Da:null},Ma=P,Wa=ct,Ga=pt,za=qa,Ha=bn,$a=Se("iterator"),Va=!1;[].keys&&("next"in(Ta=[].keys())?(ja=za(za(Ta)))!==Object.prototype&&(Pa=ja):Va=!0);var Ya=!Ga(Pa)||Ma((function(){var t={};return Pa[$a].call(t)!==t}));Ya&&(Pa={}),Wa(Pa[$a])||Ha(Pa,$a,(function(){return this}));var Ka={IteratorPrototype:Pa,BUGGY_SAFARI_ITERATORS:Va},Ja=Ke.f,Qa=ue,Xa=Se("toStringTag"),Za=function(t,e,r){t&&!r&&(t=t.prototype),t&&!Qa(t,Xa)&&Ja(t,Xa,{configurable:!0,value:e})},ts=Ka.IteratorPrototype,es=Sa,rs=q,ns=Za,os=Ia,is=function(){return this},as=function(t,e,r,n){var o=e+" Iterator";return t.prototype=es(ts,{next:rs(+!n,r)}),ns(t,o,!1),os[o]=is,t},ss=So,us=N,cs=ct,ls=as,ps=qa,fs=zi,hs=Za,ds=dr,ys=bn,ms=Ia,gs=xr.PROPER,vs=xr.CONFIGURABLE,bs=Ka.IteratorPrototype,ws=Ka.BUGGY_SAFARI_ITERATORS,xs=Se("iterator"),Ss="keys",Es="values",As="entries",Rs=function(){return this},Os=function(t,e,r,n,o,i,a){ls(r,e,n);var s,u,c,l=function(t){if(t===o&&y)return y;if(!ws&&t&&t in h)return h[t];switch(t){case Ss:case Es:case As:return function(){return new r(this,t)}}return function(){return new r(this)}},p=e+" Iterator",f=!1,h=t.prototype,d=h[xs]||h["@@iterator"]||o&&h[o],y=!ws&&d||l(o),m="Array"===e&&h.entries||d;if(m&&(s=ps(m.call(new t)))!==Object.prototype&&s.next&&(ps(s)!==bs&&(fs?fs(s,bs):cs(s[xs])||ys(s,xs,Rs)),hs(s,p,!0)),gs&&o===Es&&d&&d.name!==Es&&(vs?ds(h,"name",Es):(f=!0,y=function(){return us(d,this)})),o)if(u={values:l(Es),keys:i?y:l(Ss),entries:l(As)},a)for(c in u)(ws||f||!(c in h))&&ys(h,c,u[c]);else ss({target:e,proto:!0,forced:ws||f},u);return h[xs]!==y&&ys(h,xs,y,{name:o}),ms[e]=y,u},ks=function(t,e){return{value:t,done:e}},Ps=st,js=function(t){ka[Oa][t]=!0},Ts=Ia,Is=Kr,_s=Ke.f,Ns=Os,Us=ks,Cs=j,Ls="Array Iterator",Fs=Is.set,Bs=Is.getterFor(Ls),Ds=Ns(Array,"Array",(function(t,e){Fs(this,{type:Ls,target:Ps(t),index:0,kind:e})}),(function(){var t=Bs(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,Us(void 0,!0);switch(t.kind){case"keys":return Us(r,!1);case"values":return Us(e[r],!1)}return Us([r,e[r]],!1)}),"values"),qs=Ts.Arguments=Ts.Array;if(js("keys"),js("values"),js("entries"),Cs&&"values"!==qs.name)try{_s(qs,"name",{value:"values"})}catch(t){}var Ms=H,Ws=bn,Gs=Date.prototype,zs="Invalid Date",Hs="toString",$s=Ms(Gs[Hs]),Vs=Ms(Gs.getTime);String(new Date(NaN))!==zs&&Ws(Gs,Hs,(function(){var t=Vs(this);return t==t?$s(this):zs}));var Ys=Bo,Ks=Io?{}.toString:function(){return"[object "+Ys(this)+"]"};Io||bn(Object.prototype,"toString",Ks,{unsafe:!0});var Js=Bo,Qs=String,Xs=function(t){if("Symbol"===Js(t))throw new TypeError("Cannot convert a Symbol value to a string");return Qs(t)},Zs="\t\n\v\f\r \u2028\u2029\ufeff",tu=ot,eu=Xs,ru=Zs,nu=H("".replace),ou=RegExp("^["+ru+"]+"),iu=RegExp("(^|[^"+ru+"])["+ru+"]+$"),au=function(t){return function(e){var r=eu(tu(e));return 1&t&&(r=nu(r,ou,"")),2&t&&(r=nu(r,iu,"$1")),r}},su={start:au(1),end:au(2),trim:au(3)},uu=O,cu=P,lu=Xs,pu=su.trim,fu=Zs,hu=H("".charAt),du=uu.parseFloat,yu=uu.Symbol,mu=yu&&yu.iterator,gu=1/du(fu+"-0")!=-1/0||mu&&!cu((function(){du(Object(mu))}))?function(t){var e=pu(lu(t)),r=du(e);return 0===r&&"-"===hu(e,0)?-0:r}:du;So({global:!0,forced:parseFloat!==gu},{parseFloat:gu});var vu,bu,wu=tr,xu=function(){var t=wu(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},Su=P,Eu=O.RegExp,Au=Su((function(){var t=Eu("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Ru=Au||Su((function(){return!Eu("a","y").sticky})),Ou={BROKEN_CARET:Au||Su((function(){var t=Eu("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Ru,UNSUPPORTED_Y:Au},ku=P,Pu=O.RegExp,ju=ku((function(){var t=Pu(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),Tu=P,Iu=O.RegExp,_u=Tu((function(){var t=Iu("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Nu=N,Uu=H,Cu=Xs,Lu=xu,Fu=Ou,Bu=Sa,Du=Kr.get,qu=ju,Mu=_u,Wu=re("native-string-replace",String.prototype.replace),Gu=RegExp.prototype.exec,zu=Gu,Hu=Uu("".charAt),$u=Uu("".indexOf),Vu=Uu("".replace),Yu=Uu("".slice),Ku=(bu=/b*/g,Nu(Gu,vu=/a/,"a"),Nu(Gu,bu,"a"),0!==vu.lastIndex||0!==bu.lastIndex),Ju=Fu.BROKEN_CARET,Qu=void 0!==/()??/.exec("")[1];(Ku||Qu||Ju||qu||Mu)&&(zu=function(t){var e,r,n,o,i,a,s,u=this,c=Du(u),l=Cu(t),p=c.raw;if(p)return p.lastIndex=u.lastIndex,e=Nu(zu,p,l),u.lastIndex=p.lastIndex,e;var f=c.groups,h=Ju&&u.sticky,d=Nu(Lu,u),y=u.source,m=0,g=l;if(h&&(d=Vu(d,"y",""),-1===$u(d,"g")&&(d+="g"),g=Yu(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==Hu(l,u.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),Qu&&(r=new RegExp("^"+y+"$(?!\\s)",d)),Ku&&(n=u.lastIndex),o=Nu(Gu,h?r:u,g),h?o?(o.input=Yu(o.input,m),o[0]=Yu(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Ku&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),Qu&&o&&o.length>1&&Nu(Wu,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&f)for(o.groups=a=Bu(null),i=0;i<f.length;i++)a[(s=f[i])[0]]=o[s[1]];return o});var Xu=zu;So({target:"RegExp",proto:!0,forced:/./.exec!==Xu},{exec:Xu});var Zu=N,tc=ue,ec=yt,rc=xu,nc=RegExp.prototype,oc=xr.PROPER,ic=bn,ac=tr,sc=Xs,uc=P,cc=function(t){var e=t.flags;return void 0!==e||"flags"in nc||tc(t,"flags")||!ec(nc,t)?e:Zu(rc,t)},lc="toString",pc=RegExp.prototype,fc=pc[lc],hc=uc((function(){return"/a/b"!==fc.call({source:"a",flags:"b"})})),dc=oc&&fc.name!==lc;(hc||dc)&&ic(pc,lc,(function(){var t=ac(this);return"/"+sc(t.source)+"/"+sc(cc(t))}),{unsafe:!0});var yc=H,mc=An,gc=Xs,vc=ot,bc=yc("".charAt),wc=yc("".charCodeAt),xc=yc("".slice),Sc=function(t){return function(e,r){var n,o,i=gc(vc(e)),a=mc(r),s=i.length;return a<0||a>=s?t?"":void 0:(n=wc(i,a))<55296||n>56319||a+1===s||(o=wc(i,a+1))<56320||o>57343?t?bc(i,a):n:t?xc(i,a,a+2):o-56320+(n-55296<<10)+65536}},Ec={codeAt:Sc(!1),charAt:Sc(!0)},Ac=Ec.charAt,Rc=Xs,Oc=Kr,kc=Os,Pc=ks,jc="String Iterator",Tc=Oc.set,Ic=Oc.getterFor(jc);kc(String,"String",(function(t){Tc(this,{type:jc,string:Rc(t),index:0})}),(function(){var t,e=Ic(this),r=e.string,n=e.index;return n>=r.length?Pc(void 0,!0):(t=Ac(r,n),e.index+=t.length,Pc(t,!1))}));var _c=T,Nc=Function.prototype,Uc=Nc.apply,Cc=Nc.call,Lc="object"==typeof Reflect&&Reflect.apply||(_c?Cc.bind(Uc):function(){return Cc.apply(Uc,arguments)}),Fc=N,Bc=bn,Dc=Xu,qc=P,Mc=Se,Wc=dr,Gc=Mc("species"),zc=RegExp.prototype,Hc=function(t,e,r,n){var o=Mc(t),i=!qc((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),a=i&&!qc((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Gc]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var s=/./[o],u=e(o,""[t],(function(t,e,r,n,o){var a=e.exec;return a===Dc||a===zc.exec?i&&!o?{done:!0,value:Fc(s,e,r,n)}:{done:!0,value:Fc(t,r,e,n)}:{done:!1}}));Bc(String.prototype,t,u[0]),Bc(zc,o,u[1])}n&&Wc(zc[o],"sham",!0)},$c=Ec.charAt,Vc=function(t,e,r){return e+(r?$c(t,e).length:1)},Yc=H,Kc=ie,Jc=Math.floor,Qc=Yc("".charAt),Xc=Yc("".replace),Zc=Yc("".slice),tl=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,el=/\$([$&'`]|\d{1,2})/g,rl=N,nl=tr,ol=ct,il=K,al=Xu,sl=TypeError,ul=function(t,e){var r=t.exec;if(ol(r)){var n=rl(r,t,e);return null!==n&&nl(n),n}if("RegExp"===il(t))return rl(al,t,e);throw new sl("RegExp#exec called on incompatible receiver")},cl=Lc,ll=N,pl=H,fl=Hc,hl=P,dl=tr,yl=ct,ml=et,gl=An,vl=In,bl=Xs,wl=ot,xl=Vc,Sl=Mt,El=function(t,e,r,n,o,i){var a=r+t.length,s=n.length,u=el;return void 0!==o&&(o=Kc(o),u=tl),Xc(i,u,(function(i,u){var c;switch(Qc(u,0)){case"$":return"$";case"&":return t;case"`":return Zc(e,0,r);case"'":return Zc(e,a);case"<":c=o[Zc(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var p=Jc(l/10);return 0===p?i:p<=s?void 0===n[p-1]?Qc(u,1):n[p-1]+Qc(u,1):i}c=n[l-1]}return void 0===c?"":c}))},Al=ul,Rl=Se("replace"),Ol=Math.max,kl=Math.min,Pl=pl([].concat),jl=pl([].push),Tl=pl("".indexOf),Il=pl("".slice),_l="$0"==="a".replace(/./,"$0"),Nl=!!/./[Rl]&&""===/./[Rl]("a","$0");fl("replace",(function(t,e,r){var n=Nl?"$":"$0";return[function(t,r){var n=wl(this),o=ml(t)?void 0:Sl(t,Rl);return o?ll(o,t,n,r):ll(e,bl(n),t,r)},function(t,o){var i=dl(this),a=bl(t);if("string"==typeof o&&-1===Tl(o,n)&&-1===Tl(o,"$<")){var s=r(e,i,a,o);if(s.done)return s.value}var u=yl(o);u||(o=bl(o));var c,l=i.global;l&&(c=i.unicode,i.lastIndex=0);for(var p,f=[];null!==(p=Al(i,a))&&(jl(f,p),l);){""===bl(p[0])&&(i.lastIndex=xl(a,vl(i.lastIndex),c))}for(var h,d="",y=0,m=0;m<f.length;m++){for(var g,v=bl((p=f[m])[0]),b=Ol(kl(gl(p.index),a.length),0),w=[],x=1;x<p.length;x++)jl(w,void 0===(h=p[x])?h:String(h));var S=p.groups;if(u){var E=Pl([v],w,b,a);void 0!==S&&jl(E,S),g=bl(cl(o,void 0,E))}else g=El(v,a,b,w,S,o);b>=y&&(d+=Il(a,y,b)+g,y=b+v.length)}return d+Il(a,y)}]}),!!hl((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!_l||Nl);var Ul={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},Cl=Fe("span").classList,Ll=Cl&&Cl.constructor&&Cl.constructor.prototype,Fl=Ll===Object.prototype?void 0:Ll,Bl=O,Dl=Ul,ql=Fl,Ml=Ds,Wl=dr,Gl=Za,zl=Se("iterator"),Hl=Ml.values,$l=function(t,e){if(t){if(t[zl]!==Hl)try{Wl(t,zl,Hl)}catch(e){t[zl]=Hl}if(Gl(t,e,!0),Dl[e])for(var r in Ml)if(t[r]!==Ml[r])try{Wl(t,r,Ml[r])}catch(e){t[r]=Ml[r]}}};for(var Vl in Dl)$l(Bl[Vl]&&Bl[Vl].prototype,Vl);$l(ql,"DOMTokenList");var Yl=P,Kl=j,Jl=Se("iterator"),Ql=!Yl((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),r.delete("a",2),r.delete("b",void 0),!e.size&&!Kl||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Jl]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),Xl=K,Zl=H,tp=function(t){if("Function"===Xl(t))return Zl(t)},ep=Bt,rp=T,np=tp(tp.bind),op=function(t,e){return ep(t),void 0===e?t:rp?np(t,e):function(){return t.apply(e,arguments)}},ip=yt,ap=TypeError,sp=function(t,e){if(ip(e,t))return t;throw new ap("Incorrect invocation")},up=j,cp=H,lp=N,pp=P,fp=ta,hp=Yn,dp=U,yp=ie,mp=tt,gp=Object.assign,vp=Object.defineProperty,bp=cp([].concat),wp=!gp||pp((function(){if(up&&1!==gp({b:1},gp(vp({},"a",{enumerable:!0,get:function(){vp(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!==gp({},t)[r]||fp(gp({},e)).join("")!==n}))?function(t,e){for(var r=yp(t),n=arguments.length,o=1,i=hp.f,a=dp.f;n>o;)for(var s,u=mp(arguments[o++]),c=i?bp(fp(u),i(u)):fp(u),l=c.length,p=0;l>p;)s=c[p++],up&&!lp(a,u,s)||(r[s]=u[s]);return r}:gp,xp=N,Sp=tr,Ep=Mt,Ap=tr,Rp=function(t,e,r){var n,o;Sp(t);try{if(!(n=Ep(t,"return"))){if("throw"===e)throw r;return r}n=xp(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return Sp(n),r},Op=Ia,kp=Se("iterator"),Pp=Array.prototype,jp=Bo,Tp=Mt,Ip=et,_p=Ia,Np=Se("iterator"),Up=function(t){if(!Ip(t))return Tp(t,Np)||Tp(t,"@@iterator")||_p[jp(t)]},Cp=N,Lp=Bt,Fp=tr,Bp=Ut,Dp=Up,qp=TypeError,Mp=function(t,e){var r=arguments.length<2?Dp(t):e;if(Lp(r))return Fp(Cp(r,t));throw new qp(Bp(t)+" is not iterable")},Wp=op,Gp=N,zp=ie,Hp=function(t,e,r,n){try{return n?e(Ap(r)[0],r[1]):e(r)}catch(e){Rp(t,"throw",e)}},$p=function(t){return void 0!==t&&(Op.Array===t||Pp[kp]===t)},Vp=Qo,Yp=Nn,Kp=jo,Jp=Mp,Qp=Up,Xp=Array,Zp=H([].slice),tf=H,ef=2147483647,rf=/[^\0-\u007E]/,nf=/[.\u3002\uFF0E\uFF61]/g,of="Overflow: input needs wider integers to process",af=RangeError,sf=tf(nf.exec),uf=Math.floor,cf=String.fromCharCode,lf=tf("".charCodeAt),pf=tf([].join),ff=tf([].push),hf=tf("".replace),df=tf("".split),yf=tf("".toLowerCase),mf=function(t){return t+22+75*(t<26)},gf=function(t,e,r){var n=0;for(t=r?uf(t/700):t>>1,t+=uf(t/e);t>455;)t=uf(t/35),n+=36;return uf(n+36*t/(t+38))},vf=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=lf(t,r++);if(o>=55296&&o<=56319&&r<n){var i=lf(t,r++);56320==(64512&i)?ff(e,((1023&o)<<10)+(1023&i)+65536):(ff(e,o),r--)}else ff(e,o)}return e}(t);var r,n,o=t.length,i=128,a=0,s=72;for(r=0;r<t.length;r++)(n=t[r])<128&&ff(e,cf(n));var u=e.length,c=u;for(u&&ff(e,"-");c<o;){var l=ef;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<l&&(l=n);var p=c+1;if(l-i>uf((ef-a)/p))throw new af(of);for(a+=(l-i)*p,i=l,r=0;r<t.length;r++){if((n=t[r])<i&&++a>ef)throw new af(of);if(n===i){for(var f=a,h=36;;){var d=h<=s?1:h>=s+26?26:h-s;if(f<d)break;var y=f-d,m=36-d;ff(e,cf(mf(d+y%m))),f=uf(y/m),h+=36}ff(e,cf(mf(f))),s=gf(a,p,c===u),a=0,c++}}a++,i++}return pf(e,"")},bf=TypeError,wf=function(t,e){if(t<e)throw new bf("Not enough arguments");return t},xf=O,Sf=j,Ef=Object.getOwnPropertyDescriptor,Af=bn,Rf=Zp,Of=Math.floor,kf=function(t,e){var r=t.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=t[i];o&&e(t[o-1],n)>0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var a=Of(r/2),s=kf(Rf(t,0,a),e),u=kf(Rf(t,a),e),c=s.length,l=u.length,p=0,f=0;p<c||f<l;)t[p+f]=p<c&&f<l?e(s[p],u[f])<=0?s[p++]:u[f++]:p<c?s[p++]:u[f++];return t},Pf=So,jf=O,Tf=function(t){if(!Sf)return xf[t];var e=Ef(xf,t);return e&&e.value},If=N,_f=H,Nf=j,Uf=Ql,Cf=bn,Lf=Ri,Ff=function(t,e,r){for(var n in e)Af(t,n,e[n],r);return t},Bf=Za,Df=as,qf=Kr,Mf=sp,Wf=ct,Gf=ue,zf=op,Hf=Bo,$f=tr,Vf=pt,Yf=Xs,Kf=Sa,Jf=q,Qf=Mp,Xf=Up,Zf=ks,th=wf,eh=kf,rh=Se("iterator"),nh="URLSearchParams",oh=nh+"Iterator",ih=qf.set,ah=qf.getterFor(nh),sh=qf.getterFor(oh),uh=Tf("fetch"),ch=Tf("Request"),lh=Tf("Headers"),ph=ch&&ch.prototype,fh=lh&&lh.prototype,hh=jf.RegExp,dh=jf.TypeError,yh=jf.decodeURIComponent,mh=jf.encodeURIComponent,gh=_f("".charAt),vh=_f([].join),bh=_f([].push),wh=_f("".replace),xh=_f([].shift),Sh=_f([].splice),Eh=_f("".split),Ah=_f("".slice),Rh=/\+/g,Oh=Array(4),kh=function(t){return Oh[t-1]||(Oh[t-1]=hh("((?:%[\\da-f]{2}){"+t+"})","gi"))},Ph=function(t){try{return yh(t)}catch(e){return t}},jh=function(t){var e=wh(t,Rh," "),r=4;try{return yh(e)}catch(t){for(;r;)e=wh(e,kh(r--),Ph);return e}},Th=/[!'()~]|%20/g,Ih={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},_h=function(t){return Ih[t]},Nh=function(t){return wh(mh(t),Th,_h)},Uh=Df((function(t,e){ih(this,{type:oh,target:ah(t).entries,index:0,kind:e})}),nh,(function(){var t=sh(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,Zf(void 0,!0);var n=e[r];switch(t.kind){case"keys":return Zf(n.key,!1);case"values":return Zf(n.value,!1)}return Zf([n.key,n.value],!1)}),!0),Ch=function(t){this.entries=[],this.url=null,void 0!==t&&(Vf(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===gh(t,0)?Ah(t,1):t:Yf(t)))};Ch.prototype={type:nh,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,s,u=this.entries,c=Xf(t);if(c)for(r=(e=Qf(t,c)).next;!(n=If(r,e)).done;){if(i=(o=Qf($f(n.value))).next,(a=If(i,o)).done||(s=If(i,o)).done||!If(i,o).done)throw new dh("Expected sequence with length 2");bh(u,{key:Yf(a.value),value:Yf(s.value)})}else for(var l in t)Gf(t,l)&&bh(u,{key:l,value:Yf(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,o=Eh(t,"&"),i=0;i<o.length;)(e=o[i++]).length&&(r=Eh(e,"="),bh(n,{key:jh(xh(r)),value:jh(vh(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],bh(r,Nh(t.key)+"="+Nh(t.value));return vh(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Lh=function(){Mf(this,Fh);var t=ih(this,new Ch(arguments.length>0?arguments[0]:void 0));Nf||(this.size=t.entries.length)},Fh=Lh.prototype;if(Ff(Fh,{append:function(t,e){var r=ah(this);th(arguments.length,2),bh(r.entries,{key:Yf(t),value:Yf(e)}),Nf||this.length++,r.updateURL()},delete:function(t){for(var e=ah(this),r=th(arguments.length,1),n=e.entries,o=Yf(t),i=r<2?void 0:arguments[1],a=void 0===i?i:Yf(i),s=0;s<n.length;){var u=n[s];if(u.key!==o||void 0!==a&&u.value!==a)s++;else if(Sh(n,s,1),void 0!==a)break}Nf||(this.size=n.length),e.updateURL()},get:function(t){var e=ah(this).entries;th(arguments.length,1);for(var r=Yf(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=ah(this).entries;th(arguments.length,1);for(var r=Yf(t),n=[],o=0;o<e.length;o++)e[o].key===r&&bh(n,e[o].value);return n},has:function(t){for(var e=ah(this).entries,r=th(arguments.length,1),n=Yf(t),o=r<2?void 0:arguments[1],i=void 0===o?o:Yf(o),a=0;a<e.length;){var s=e[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(t,e){var r=ah(this);th(arguments.length,1);for(var n,o=r.entries,i=!1,a=Yf(t),s=Yf(e),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?Sh(o,u--,1):(i=!0,n.value=s));i||bh(o,{key:a,value:s}),Nf||(this.size=o.length),r.updateURL()},sort:function(){var t=ah(this);eh(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=ah(this).entries,n=zf(t,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new Uh(this,"keys")},values:function(){return new Uh(this,"values")},entries:function(){return new Uh(this,"entries")}},{enumerable:!0}),Cf(Fh,rh,Fh.entries,{name:"entries"}),Cf(Fh,"toString",(function(){return ah(this).serialize()}),{enumerable:!0}),Nf&&Lf(Fh,"size",{get:function(){return ah(this).entries.length},configurable:!0,enumerable:!0}),Bf(Lh,nh),Pf({global:!0,constructor:!0,forced:!Uf},{URLSearchParams:Lh}),!Uf&&Wf(lh)){var Bh=_f(fh.has),Dh=_f(fh.set),qh=function(t){if(Vf(t)){var e,r=t.body;if(Hf(r)===nh)return e=t.headers?new lh(t.headers):new lh,Bh(e,"content-type")||Dh(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Kf(t,{body:Jf(0,Yf(r)),headers:Jf(0,e)})}return t};if(Wf(uh)&&Pf({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return uh(t,arguments.length>1?qh(arguments[1]):{})}}),Wf(ch)){var Mh=function(t){return Mf(this,ph),new ch(t,arguments.length>1?qh(arguments[1]):{})};ph.constructor=Mh,Mh.prototype=ph,Pf({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Mh})}}var Wh,Gh=So,zh=j,Hh=Ql,$h=O,Vh=op,Yh=H,Kh=bn,Jh=Ri,Qh=sp,Xh=ue,Zh=wp,td=function(t){var e=zp(t),r=Vp(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Wp(o,n>2?arguments[2]:void 0));var a,s,u,c,l,p,f=Qp(e),h=0;if(!f||this===Xp&&$p(f))for(a=Yp(e),s=r?new this(a):Xp(a);a>h;h++)p=i?o(e[h],h):e[h],Kp(s,h,p);else for(s=r?new this:[],l=(c=Jp(e,f)).next;!(u=Gp(l,c)).done;h++)p=i?Hp(c,o,[u.value,h],!0):u.value,Kp(s,h,p);return s.length=h,s},ed=Zp,rd=Ec.codeAt,nd=function(t){var e,r,n=[],o=df(hf(yf(t),nf,"."),".");for(e=0;e<o.length;e++)r=o[e],ff(n,sf(rf,r)?"xn--"+vf(r):r);return pf(n,".")},od=Xs,id=Za,ad=wf,sd={URLSearchParams:Lh,getState:ah},ud=Kr,cd=ud.set,ld=ud.getterFor("URL"),pd=sd.URLSearchParams,fd=sd.getState,hd=$h.URL,dd=$h.TypeError,yd=$h.parseInt,md=Math.floor,gd=Math.pow,vd=Yh("".charAt),bd=Yh(/./.exec),wd=Yh([].join),xd=Yh(1..toString),Sd=Yh([].pop),Ed=Yh([].push),Ad=Yh("".replace),Rd=Yh([].shift),Od=Yh("".split),kd=Yh("".slice),Pd=Yh("".toLowerCase),jd=Yh([].unshift),Td="Invalid scheme",Id="Invalid host",_d="Invalid port",Nd=/[a-z]/i,Ud=/[\d+-.a-z]/i,Cd=/\d/,Ld=/^0x/i,Fd=/^[0-7]+$/,Bd=/^\d+$/,Dd=/^[\da-f]+$/i,qd=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Md=/[\0\t\n\r #/:<>?@[\\\]^|]/,Wd=/^[\u0000-\u0020]+/,Gd=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,zd=/[\t\n\r]/g,Hd=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)jd(e,t%256),t=md(t/256);return wd(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=xd(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},$d={},Vd=Zh({},$d,{" ":1,'"':1,"<":1,">":1,"`":1}),Yd=Zh({},Vd,{"#":1,"?":1,"{":1,"}":1}),Kd=Zh({},Yd,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Jd=function(t,e){var r=rd(t,0);return r>32&&r<127&&!Xh(e,t)?t:encodeURIComponent(t)},Qd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Xd=function(t,e){var r;return 2===t.length&&bd(Nd,vd(t,0))&&(":"===(r=vd(t,1))||!e&&"|"===r)},Zd=function(t){var e;return t.length>1&&Xd(kd(t,0,2))&&(2===t.length||"/"===(e=vd(t,2))||"\\"===e||"?"===e||"#"===e)},ty=function(t){return"."===t||"%2e"===Pd(t)},ey={},ry={},ny={},oy={},iy={},ay={},sy={},uy={},cy={},ly={},py={},fy={},hy={},dy={},yy={},my={},gy={},vy={},by={},wy={},xy={},Sy=function(t,e,r){var n,o,i,a=od(t);if(e){if(o=this.parse(a))throw new dd(o);this.searchParams=null}else{if(void 0!==r&&(n=new Sy(r,!0)),o=this.parse(a,null,n))throw new dd(o);(i=fd(new pd)).bindURL(this),this.searchParams=i}};Sy.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,s,u=this,c=e||ey,l=0,p="",f=!1,h=!1,d=!1;for(t=od(t),e||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,t=Ad(t,Wd,""),t=Ad(t,Gd,"$1")),t=Ad(t,zd,""),n=td(t);l<=n.length;){switch(o=n[l],c){case ey:if(!o||!bd(Nd,o)){if(e)return Td;c=ny;continue}p+=Pd(o),c=ry;break;case ry:if(o&&(bd(Ud,o)||"+"===o||"-"===o||"."===o))p+=Pd(o);else{if(":"!==o){if(e)return Td;p="",c=ny,l=0;continue}if(e&&(u.isSpecial()!==Xh(Qd,p)||"file"===p&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=p,e)return void(u.isSpecial()&&Qd[u.scheme]===u.port&&(u.port=null));p="","file"===u.scheme?c=dy:u.isSpecial()&&r&&r.scheme===u.scheme?c=oy:u.isSpecial()?c=uy:"/"===n[l+1]?(c=iy,l++):(u.cannotBeABaseURL=!0,Ed(u.path,""),c=by)}break;case ny:if(!r||r.cannotBeABaseURL&&"#"!==o)return Td;if(r.cannotBeABaseURL&&"#"===o){u.scheme=r.scheme,u.path=ed(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,c=xy;break}c="file"===r.scheme?dy:ay;continue;case oy:if("/"!==o||"/"!==n[l+1]){c=ay;continue}c=cy,l++;break;case iy:if("/"===o){c=ly;break}c=vy;continue;case ay:if(u.scheme=r.scheme,o===Wh)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=ed(r.path),u.query=r.query;else if("/"===o||"\\"===o&&u.isSpecial())c=sy;else if("?"===o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=ed(r.path),u.query="",c=wy;else{if("#"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=ed(r.path),u.path.length--,c=vy;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=ed(r.path),u.query=r.query,u.fragment="",c=xy}break;case sy:if(!u.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,c=vy;continue}c=ly}else c=cy;break;case uy:if(c=cy,"/"!==o||"/"!==vd(p,l+1))continue;l++;break;case cy:if("/"!==o&&"\\"!==o){c=ly;continue}break;case ly:if("@"===o){f&&(p="%40"+p),f=!0,i=td(p);for(var y=0;y<i.length;y++){var m=i[y];if(":"!==m||d){var g=Jd(m,Kd);d?u.password+=g:u.username+=g}else d=!0}p=""}else if(o===Wh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(f&&""===p)return"Invalid authority";l-=td(p).length+1,p="",c=py}else p+=o;break;case py:case fy:if(e&&"file"===u.scheme){c=my;continue}if(":"!==o||h){if(o===Wh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(u.isSpecial()&&""===p)return Id;if(e&&""===p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",c=gy,e)return;continue}"["===o?h=!0:"]"===o&&(h=!1),p+=o}else{if(""===p)return Id;if(a=u.parseHost(p))return a;if(p="",c=hy,e===fy)return}break;case hy:if(!bd(Cd,o)){if(o===Wh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()||e){if(""!==p){var v=yd(p,10);if(v>65535)return _d;u.port=u.isSpecial()&&v===Qd[u.scheme]?null:v,p=""}if(e)return;c=gy;continue}return _d}p+=o;break;case dy:if(u.scheme="file","/"===o||"\\"===o)c=yy;else{if(!r||"file"!==r.scheme){c=vy;continue}switch(o){case Wh:u.host=r.host,u.path=ed(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=ed(r.path),u.query="",c=wy;break;case"#":u.host=r.host,u.path=ed(r.path),u.query=r.query,u.fragment="",c=xy;break;default:Zd(wd(ed(n,l),""))||(u.host=r.host,u.path=ed(r.path),u.shortenPath()),c=vy;continue}}break;case yy:if("/"===o||"\\"===o){c=my;break}r&&"file"===r.scheme&&!Zd(wd(ed(n,l),""))&&(Xd(r.path[0],!0)?Ed(u.path,r.path[0]):u.host=r.host),c=vy;continue;case my:if(o===Wh||"/"===o||"\\"===o||"?"===o||"#"===o){if(!e&&Xd(p))c=vy;else if(""===p){if(u.host="",e)return;c=gy}else{if(a=u.parseHost(p))return a;if("localhost"===u.host&&(u.host=""),e)return;p="",c=gy}continue}p+=o;break;case gy:if(u.isSpecial()){if(c=vy,"/"!==o&&"\\"!==o)continue}else if(e||"?"!==o)if(e||"#"!==o){if(o!==Wh&&(c=vy,"/"!==o))continue}else u.fragment="",c=xy;else u.query="",c=wy;break;case vy:if(o===Wh||"/"===o||"\\"===o&&u.isSpecial()||!e&&("?"===o||"#"===o)){if(".."===(s=Pd(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(u.shortenPath(),"/"===o||"\\"===o&&u.isSpecial()||Ed(u.path,"")):ty(p)?"/"===o||"\\"===o&&u.isSpecial()||Ed(u.path,""):("file"===u.scheme&&!u.path.length&&Xd(p)&&(u.host&&(u.host=""),p=vd(p,0)+":"),Ed(u.path,p)),p="","file"===u.scheme&&(o===Wh||"?"===o||"#"===o))for(;u.path.length>1&&""===u.path[0];)Rd(u.path);"?"===o?(u.query="",c=wy):"#"===o&&(u.fragment="",c=xy)}else p+=Jd(o,Yd);break;case by:"?"===o?(u.query="",c=wy):"#"===o?(u.fragment="",c=xy):o!==Wh&&(u.path[0]+=Jd(o,$d));break;case wy:e||"#"!==o?o!==Wh&&("'"===o&&u.isSpecial()?u.query+="%27":u.query+="#"===o?"%23":Jd(o,$d)):(u.fragment="",c=xy);break;case xy:o!==Wh&&(u.fragment+=Jd(o,Vd))}l++}},parseHost:function(t){var e,r,n;if("["===vd(t,0)){if("]"!==vd(t,t.length-1))return Id;if(e=function(t){var e,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,p=0,f=function(){return vd(t,p)};if(":"===f()){if(":"!==vd(t,1))return;p+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(e=r=0;r<4&&bd(Dd,f());)e=16*e+yd(f(),16),p++,r++;if("."===f()){if(0===r)return;if(p-=r,c>6)return;for(n=0;f();){if(o=null,n>0){if(!("."===f()&&n<4))return;p++}if(!bd(Cd,f()))return;for(;bd(Cd,f());){if(i=yd(f(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;p++}u[c]=256*u[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===f()){if(p++,!f())return}else if(f())return;u[c++]=e}else{if(null!==l)return;p++,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(t,1,-1)),!e)return Id;this.host=e}else if(this.isSpecial()){if(t=nd(t),bd(qd,t))return Id;if(e=function(t){var e,r,n,o,i,a,s,u=Od(t,".");if(u.length&&""===u[u.length-1]&&u.length--,(e=u.length)>4)return t;for(r=[],n=0;n<e;n++){if(""===(o=u[n]))return t;if(i=10,o.length>1&&"0"===vd(o,0)&&(i=bd(Ld,o)?16:8,o=kd(o,8===i?1:2)),""===o)a=0;else{if(!bd(10===i?Bd:8===i?Fd:Dd,o))return t;a=yd(o,i)}Ed(r,a)}for(n=0;n<e;n++)if(a=r[n],n===e-1){if(a>=gd(256,5-e))return null}else if(a>255)return null;for(s=Sd(r),n=0;n<r.length;n++)s+=r[n]*gd(256,3-n);return s}(t),null===e)return Id;this.host=e}else{if(bd(Md,t))return Id;for(e="",r=td(t),n=0;n<r.length;n++)e+=Jd(r[n],$d);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return Xh(Qd,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&Xd(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,s=t.query,u=t.fragment,c=e+":";return null!==o?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Hd(o),null!==i&&(c+=":"+i)):"file"===e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+wd(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(t){var e=this.parse(t);if(e)throw new dd(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Ey(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+Hd(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(od(t)+":",ey)},getUsername:function(){return this.username},setUsername:function(t){var e=td(od(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=Jd(e[r],Kd)}},getPassword:function(){return this.password},setPassword:function(t){var e=td(od(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=Jd(e[r],Kd)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?Hd(t):Hd(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,py)},getHostname:function(){var t=this.host;return null===t?"":Hd(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,fy)},getPort:function(){var t=this.port;return null===t?"":od(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=od(t))?this.port=null:this.parse(t,hy))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+wd(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,gy))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=od(t))?this.query=null:("?"===vd(t,0)&&(t=kd(t,1)),this.query="",this.parse(t,wy)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=od(t))?("#"===vd(t,0)&&(t=kd(t,1)),this.fragment="",this.parse(t,xy)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ey=function(t){var e=Qh(this,Ay),r=ad(arguments.length,1)>1?arguments[1]:void 0,n=cd(e,new Sy(t,!1,r));zh||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Ay=Ey.prototype,Ry=function(t,e){return{get:function(){return ld(this)[t]()},set:e&&function(t){return ld(this)[e](t)},configurable:!0,enumerable:!0}};if(zh&&(Jh(Ay,"href",Ry("serialize","setHref")),Jh(Ay,"origin",Ry("getOrigin")),Jh(Ay,"protocol",Ry("getProtocol","setProtocol")),Jh(Ay,"username",Ry("getUsername","setUsername")),Jh(Ay,"password",Ry("getPassword","setPassword")),Jh(Ay,"host",Ry("getHost","setHost")),Jh(Ay,"hostname",Ry("getHostname","setHostname")),Jh(Ay,"port",Ry("getPort","setPort")),Jh(Ay,"pathname",Ry("getPathname","setPathname")),Jh(Ay,"search",Ry("getSearch","setSearch")),Jh(Ay,"searchParams",Ry("getSearchParams")),Jh(Ay,"hash",Ry("getHash","setHash"))),Kh(Ay,"toJSON",(function(){return ld(this).serialize()}),{enumerable:!0}),Kh(Ay,"toString",(function(){return ld(this).serialize()}),{enumerable:!0}),hd){var Oy=hd.createObjectURL,ky=hd.revokeObjectURL;Oy&&Kh(Ey,"createObjectURL",Vh(Oy,hd)),ky&&Kh(Ey,"revokeObjectURL",Vh(ky,hd))}id(Ey,"URL"),Gh({global:!0,constructor:!0,forced:!Hh,sham:!zh},{URL:Ey});var Py=N;So({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return Py(URL.prototype.toString,this)}});var jy=op,Ty=tt,Iy=ie,_y=Nn,Ny=oi,Uy=H([].push),Cy=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,s=5===t||i;return function(u,c,l,p){for(var f,h,d=Iy(u),y=Ty(d),m=_y(y),g=jy(c,l),v=0,b=p||Ny,w=e?b(u,m):r||a?b(u,0):void 0;m>v;v++)if((s||v in y)&&(h=g(f=y[v],v,d),t))if(e)w[v]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return v;case 2:Uy(w,f)}else switch(t){case 4:return!1;case 7:Uy(w,f)}return i?-1:n||o?o:w}},Ly={forEach:Cy(0),map:Cy(1),filter:Cy(2),some:Cy(3),every:Cy(4),find:Cy(5),findIndex:Cy(6),filterReject:Cy(7)},Fy=Ly.map;So({target:"Array",proto:!0,forced:!ui("map")},{map:function(t){return Fy(this,t,arguments.length>1?arguments[1]:void 0)}});var By=function(t){var e=t.endpointName,r=t.guestSpaceId,n=t.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(e,".json")},Dy=function(){return h((function t(e,r){p(this,t),this.client=e,this.guestSpaceId=r}),[{key:"buildPathWithGuestSpaceId",value:function(t){return By(i(i({},t),{},{guestSpaceId:this.guestSpaceId}))}},{key:"buildPath",value:function(t){return By(t)}}])}(),qy=["endpointName"],My=function(t){function e(t,n){var o;return p(this,e),(o=r(this,e,[t,n])).REQUESTS_LENGTH_LIMIT=20,o}return y(e,t),h(e,[{key:"send",value:function(t){var e=this,r=t.requests.map((function(t){if("endpointName"in t){var r=t.endpointName,n=b(t,qy);return i({api:e.buildPathWithGuestSpaceId({endpointName:r})},n)}return t})),n=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(n,{requests:r})}}])}(Dy),Wy=["preview"],Gy=["preview"],zy=["preview"],Hy=["preview"],$y=["preview"],Vy=["preview"],Yy=["preview"],Ky=["preview"],Jy=["preview"],Qy=["preview"],Xy=["preview"],Zy=["preview"],tm=["preview"],em=["preview"],rm=function(t){function e(){return p(this,e),r(this,e,arguments)}return y(e,t),h(e,[{key:"getFormFields",value:function(t){var e=t.preview,r=b(t,Wy),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:e});return this.client.get(n,i({},r))}},{key:"addFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(e,t)}},{key:"updateFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(e,t)}},{key:"deleteFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(e,t)}},{key:"getFormLayout",value:function(t){var e=t.preview,r=b(t,Gy),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:e});return this.client.get(n,i({},r))}},{key:"updateFormLayout",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(e,t)}},{key:"getViews",value:function(t){var e=t.preview,r=b(t,zy),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:e});return this.client.get(n,r)}},{key:"updateViews",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(e,t)}},{key:"getApp",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(e,t)}},{key:"getApps",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(e,t)}},{key:"addApp",value:(n=l(a().mark((function t(e){var r,n,o,s,u,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.name,n=e.space,o=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!n){t.next=9;break}return s=this.buildPathWithGuestSpaceId({endpointName:"space"}),t.next=6,this.client.get(s,{id:n});case 6:return u=t.sent,c=u.defaultThread,t.abrupt("return",this.client.post(o,i(i({},e),{},{thread:c})));case 9:return t.abrupt("return",this.client.post(o,{name:r}));case 10:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"getAppSettings",value:function(t){var e=t.preview,r=b(t,Hy),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:e});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(e,t)}},{key:"getProcessManagement",value:function(t){var e=t.preview,r=b(t,$y),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:e});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(e,t)}},{key:"getDeployStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(e,t)}},{key:"deployApp",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(e,t)}},{key:"getFieldAcl",value:function(t){var e=t.preview,r=b(t,Vy),n=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:e});return this.client.get(n,i({},r))}},{key:"updateFieldAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(e,t)}},{key:"getAppAcl",value:function(t){var e=t.preview,r=b(t,Yy),n=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:e});return this.client.get(n,i({},r))}},{key:"updateAppAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(e,t)}},{key:"evaluateRecordsAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(e,t)}},{key:"getRecordAcl",value:function(t){var e=t.preview,r=b(t,Ky),n=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:e});return this.client.get(n,i({},r))}},{key:"updateRecordAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(e,t)}},{key:"getAppCustomize",value:function(t){var e=t.preview,r=b(t,Jy),n=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:e});return this.client.get(n,i({},r))}},{key:"updateAppCustomize",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(e,t)}},{key:"getGeneralNotifications",value:function(t){var e=t.preview,r=b(t,Qy),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:e});return this.client.get(n,i({},r))}},{key:"updateGeneralNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(e,t)}},{key:"getPerRecordNotifications",value:function(t){var e=t.preview,r=b(t,Xy),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:e});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(e,t)}},{key:"getReminderNotifications",value:function(t){var e=t.preview,r=b(t,Zy),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:e});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(e,t)}},{key:"getReports",value:function(t){var e=t.preview,r=b(t,tm),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:e});return this.client.get(n,r)}},{key:"updateReports",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(e,t)}},{key:"getAppActions",value:function(t){var e=t.preview,r=b(t,em),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:e});return this.client.get(n,r)}},{key:"updateAppActions",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(e,t)}}]);var n}(Dy),nm=P,om=function(t,e){var r=[][t];return!!r&&nm((function(){r.call(null,e||function(){return 1},1)}))},im=Ly.every;So({target:"Array",proto:!0,forced:!om("every")},{every:function(t){return im(this,t,arguments.length>1?arguments[1]:void 0)}});var am=So,sm=Bn.indexOf,um=om,cm=tp([].indexOf),lm=!!cm&&1/cm([1],1,-0)<0;am({target:"Array",proto:!0,forced:lm||!um("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return lm?cm(this,t,e)||0:sm(this,t,e)}}),So({target:"Array",stat:!0},{isArray:Ao});var pm=Bt,fm=ie,hm=tt,dm=Nn,ym=TypeError,mm="Reduce of empty array with no initial value",gm=function(t){return function(e,r,n,o){var i=fm(e),a=hm(i),s=dm(i);if(pm(r),0===s&&n<2)throw new ym(mm);var u=t?s-1:0,c=t?-1:1;if(n<2)for(;;){if(u in a){o=a[u],u+=c;break}if(u+=c,t?u<0:s<=u)throw new ym(mm)}for(;t?u>=0:s>u;u+=c)u in a&&(o=r(o,a[u],u,i));return o}},vm={left:gm(!1),right:gm(!0)},bm="process"===K(O.process),wm=vm.left;So({target:"Array",proto:!0,forced:!bm&&St>79&&St<83||!om("reduce")},{reduce:function(t){var e=arguments.length;return wm(this,t,e,e>1?arguments[1]:void 0)}});var xm=So,Sm=Ao,Em=Qo,Am=pt,Rm=Pn,Om=Nn,km=st,Pm=jo,jm=Se,Tm=Zp,Im=ui("slice"),_m=jm("species"),Nm=Array,Um=Math.max;xm({target:"Array",proto:!0,forced:!Im},{slice:function(t,e){var r,n,o,i=km(this),a=Om(i),s=Rm(t,a),u=Rm(void 0===e?a:e,a);if(Sm(i)&&(r=i.constructor,(Em(r)&&(r===Nm||Sm(r.prototype))||Am(r)&&null===(r=r[_m]))&&(r=void 0),r===Nm||void 0===r))return Tm(i,s,u);for(n=new(void 0===r?Nm:r)(Um(u-s,0)),o=0;s<u;s++,o++)s in i&&Pm(n,o,i[s]);return n.length=o,n}});var Cm=O,Lm=ct,Fm=pt,Bm=zi,Dm=H(1..valueOf),qm=So,Mm=j,Wm=O,Gm=Cm,zm=H,Hm=ho,$m=ue,Vm=function(t,e,r){var n,o;return Bm&&Lm(n=e.constructor)&&n!==r&&Fm(o=n.prototype)&&o!==r.prototype&&Bm(t,o),t},Ym=yt,Km=_t,Jm=Te,Qm=P,Xm=wn.f,Zm=k.f,tg=Ke.f,eg=Dm,rg=su.trim,ng="Number",og=Wm[ng];Gm[ng];var ig=og.prototype,ag=Wm.TypeError,sg=zm("".slice),ug=zm("".charCodeAt),cg=function(t){var e,r,n,o,i,a,s,u,c=Jm(t,"number");if(Km(c))throw new ag("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=rg(c),43===(e=ug(c,0))||45===e){if(88===(r=ug(c,2))||120===r)return NaN}else if(48===e){switch(ug(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=sg(c,2)).length,s=0;s<a;s++)if((u=ug(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},lg=Hm(ng,!og(" 0o1")||!og("0b1")||og("+0x1")),pg=function(t){var e,r=arguments.length<1?0:og(function(t){var e=Jm(t,"number");return"bigint"==typeof e?e:cg(e)}(t));return Ym(ig,e=this)&&Qm((function(){eg(e)}))?Vm(Object(r),this,pg):r};pg.prototype=ig,lg&&(ig.constructor=pg),qm({global:!0,constructor:!0,wrap:!0,forced:lg},{Number:pg});lg&&function(t,e){for(var r,n=Mm?Xm(e):"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++)$m(e,r=n[o])&&!$m(t,r)&&tg(t,r,Zm(e,r))}(Gm[ng],og);var fg=wp;So({target:"Object",stat:!0,arity:2,forced:Object.assign!==fg},{assign:fg});var hg=N,dg=tr,yg=et,mg=In,gg=Xs,vg=ot,bg=Mt,wg=Vc,xg=ul;Hc("match",(function(t,e,r){return[function(e){var r=vg(this),n=yg(e)?void 0:bg(e,t);return n?hg(n,e,r):new RegExp(e)[t](gg(r))},function(t){var n=dg(this),o=gg(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return xg(n,o);var a=n.unicode;n.lastIndex=0;for(var s,u=[],c=0;null!==(s=xg(n,o));){var l=gg(s[0]);u[c]=l,""===l&&(n.lastIndex=wg(o,mg(n.lastIndex),a)),c++}return 0===c?null:u}]}));var Sg=function(t){function e(t){var n;return p(this,e),(n=r(this,e,[t])).name="KintoneAbortSearchError",n.message=t,Object.setPrototypeOf(n,e.prototype),n}return y(e,t),h(e)}(v(Error)),Eg=Ly.forEach,Ag=om("forEach")?[].forEach:function(t){return Eg(this,t,arguments.length>1?arguments[1]:void 0)};So({target:"Array",proto:!0,forced:[].forEach!==Ag},{forEach:Ag});var Rg=ie,Og=ta;So({target:"Object",stat:!0,forced:P((function(){Og(1)}))},{keys:function(t){return Og(Rg(t))}});var kg=O,Pg=Ul,jg=Fl,Tg=Ag,Ig=dr,_g=function(t){if(t&&t.forEach!==Tg)try{Ig(t,"forEach",Tg)}catch(e){t.forEach=Tg}};for(var Ng in Pg)Pg[Ng]&&_g(kg[Ng]&&kg[Ng].prototype);_g(jg);var Ug=function(t){function e(t,n,o,i,a){var s;p(this,e);var u=o-n.length,c=e.extractErrorIndex(u,i,a),l=e.buildErrorMessage(u,o,c);return(s=r(this,e,[l])).name="KintoneAllRecordsError",s.processedRecordsResult=t,s.unprocessedRecords=n,s.error=i,s.errorIndex=c,s.message=l,s.numOfProcessedRecords=u,s.numOfAllRecords=o,Object.setPrototypeOf(s,e.prototype),s}return y(e,t),h(e,null,[{key:"parseErrorIndex",value:function(t){var e=[];return Object.keys(t).forEach((function(t){var r=t.match(/records\[(\d+)\]/);r&&e.push(Number(r[1]))})),e.length>0?Math.min.apply(Math,e):null}},{key:"extractErrorIndex",value:function(t,r,n){if(void 0!==r.bulkRequestIndex&&r.errors){var o=e.parseErrorIndex(r.errors);if(null!==o)return t+r.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(t,e,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(t,"/").concat(e," records are processed successfully")}}])}(v(Error)),Cg=function(t){function e(t){var n;p(this,e);var o=e.buildErrorResponseDateWithIndex(t),i=o.data,a=o.bulkRequestIndex;return(n=r(this,e,[i.message])).name="KintoneRestAPIError",n.id=i.id,n.code=i.code,n.errors=i.errors,n.status=t.status,n.bulkRequestIndex=a,n.headers=t.headers,n.message="[".concat(t.status,"] [").concat(n.code,"] ").concat(n.message," (").concat(n.id,")"),Error.captureStackTrace&&Error.captureStackTrace(n,e),Object.setPrototypeOf(n,e.prototype),n}return y(e,t),h(e,null,[{key:"findErrorResponseDataWithIndex",value:function(t){for(var e=0;e<t.length;e++){if(0!==Object.keys(t[e]).length)return{data:t[e],bulkRequestIndex:e}}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(t){return"results"in t.data?e.findErrorResponseDataWithIndex(t.data.results):{data:t.data}}}])}(v(Error)),Lg=["condition","orderBy","withCursor"],Fg=["fields","condition"],Bg=["condition","orderBy"],Dg=500,qg=function(t){function e(t,n,o){var i;return p(this,e),(i=r(this,e,[t,o])).bulkRequestClient=n,i.didWarnMaximumOffsetValue=!1,i}return y(e,t),h(e,[{key:"getRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(e,t)}},{key:"addRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(e,t)}},{key:"updateRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(e,t)}},{key:"upsertRecord",value:(O=l(a().mark((function t(e){var r,n,o,i,s,u,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.app,n=e.updateKey,o=e.record,t.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(i=t.sent,!((s=i.records).length>0)){t.next=13;break}if("__ID__"!==s[0].$id.type){t.next=12;break}return t.next=9,this.updateRecord(e);case 9:return u=t.sent,c=u.revision,t.abrupt("return",{id:s[0].$id.value,revision:c});case 12: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 13:return t.abrupt("return",this.addRecord({app:r,record:Object.assign({},o,d({},n.field,{value:n.value}))}));case 14:case"end":return t.stop()}}),t,this)}))),function(t){return O.apply(this,arguments)})},{key:"getRecords",value:(R=l(a().mark((function t(e){var r,n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.get(r,e);case 3:return n=t.sent,this.warnMaximumOffsetValueIfNeeded(e.query),t.abrupt("return",n);case 6:case"end":return t.stop()}}),t,this)}))),function(t){return R.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(t){if(t){var e=t.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&e&&Number(e[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=l(a().mark((function t(e){var r,n,o,i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.post(r,e);case 3:return n=t.sent,o=n.ids,i=n.revisions,t.abrupt("return",{ids:o,revisions:i,records:o.map((function(t,e){return{id:t,revision:i[e]}}))});case 7:case"end":return t.stop()}}),t,this)}))),function(t){return A.apply(this,arguments)})},{key:"updateRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(e,t)}},{key:"deleteRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(e,t)}},{key:"createCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(e,t)}},{key:"getRecordsByCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(e,t)}},{key:"deleteCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(e,t)}},{key:"getAllRecords",value:(E=l(a().mark((function t(e){var r,n,o,s,u,c,l;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.condition,n=e.orderBy,o=e.withCursor,s=void 0===o||o,u=b(e,Lg),n){t.next=3;break}return t.abrupt("return",this.getAllRecordsWithId(i(i({},u),{},{condition:r})));case 3:if(!s){t.next=7;break}return c=r?"".concat(r," "):"",l="".concat(c).concat(n?"order by ".concat(n):""),t.abrupt("return",this.getAllRecordsWithCursor(i(i({},u),{},{query:l})));case 7:return t.abrupt("return",this.getAllRecordsWithOffset(i(i({},u),{},{orderBy:n,condition:r})));case 8:case"end":return t.stop()}}),t,this)}))),function(t){return E.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(S=l(a().mark((function t(e){var r,n,o,s,u,c,l,p,f,h;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.fields,n=e.condition,o=b(e,Fg),(s=r)&&s.length>0&&-1===s.indexOf("$id")&&(s=[].concat(w(s),["$id"])),u=n?"(".concat(n,") and "):"",c=[],l="0";case 6:return p="".concat(u,"$id > ").concat(l," order by $id asc limit ").concat(Dg),t.next=10,this.getRecords(i(i({},o),{},{fields:s,query:p}));case 10:if(f=t.sent,c=c.concat(f.records),!(f.records.length<Dg)){t.next=14;break}return t.abrupt("break",22);case 14:if("__ID__"!==(h=f.records[f.records.length-1]).$id.type){t.next=19;break}l=h.$id.value,t.next=20;break;case 19: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 20:t.next=6;break;case 22:return t.abrupt("return",c);case 23:case"end":return t.stop()}}),t,this)}))),function(t){return S.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(x=l(a().mark((function t(e){var r,n,o,s,u,c,l,p;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.condition,n=e.orderBy,o=b(e,Bg),s=r?"".concat(r," "):"",u=[],c=0;case 4:return l="".concat(s).concat(n?"order by ".concat(n," "):"","limit ").concat(Dg," offset ").concat(c),t.next=8,this.getRecords(i(i({},o),{},{query:l}));case 8:if(p=t.sent,u=u.concat(p.records),!(p.records.length<Dg)){t.next=12;break}return t.abrupt("break",15);case 12:c+=Dg,t.next=4;break;case 15:return t.abrupt("return",u);case 16:case"end":return t.stop()}}),t,this)}))),function(t){return x.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(v=l(a().mark((function t(e){var r,n,o,i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.createCursor(e);case 2:r=t.sent,n=r.id,t.prev=4,o=[];case 6:return t.next=9,this.getRecordsByCursor({id:n});case 9:if(i=t.sent,o=o.concat(i.records),i.next){t.next=13;break}return t.abrupt("break",15);case 13:t.next=6;break;case 15:return t.abrupt("return",o);case 18:return t.prev=18,t.t0=t.catch(4),t.next=22,this.deleteCursor({id:n});case 22:throw t.t0;case 23:case"end":return t.stop()}}),t,this,[[4,18]])}))),function(t){return v.apply(this,arguments)})},{key:"addAllRecords",value:(g=l(a().mark((function t(e){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.records.every((function(t){return!Array.isArray(t)&&t instanceof Object}))){t.next=2;break}throw new Error("the `records` parameter must be an array of object.");case 2:return t.abrupt("return",this.addAllRecordsRecursive(e,e.records.length,[]));case 3:case"end":return t.stop()}}),t,this)}))),function(t){return g.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(m=l(a().mark((function t(e,r,n){var o,i,s,u,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,s=e.records,0!==(u=s.slice(0,o)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.addAllRecordsWithBulkRequest({app:i,records:u});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Ug({records:n},s,r,t.t0,100);case 14:return t.abrupt("return",this.addAllRecordsRecursive({app:i,records:s.slice(o)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return m.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(f=l(a().mark((function t(e){var r,n,o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"POST",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=t.sent.results,t.abrupt("return",o.map((function(t){var e=t.ids,r=t.revisions;return e.map((function(t,e){return{id:t,revision:r[e]}}))})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return f.apply(this,arguments)})},{key:"updateAllRecords",value:(c=l(a().mark((function t(e){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.updateAllRecordsRecursive(e,e.records.length,[]));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return c.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(u=l(a().mark((function t(e,r,n){var o,i,s,u,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,s=e.records,0!==(u=s.slice(0,o)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.updateAllRecordsWithBulkRequest({app:i,records:u});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Ug({records:n},s,r,t.t0,100);case 14:return t.abrupt("return",this.updateAllRecordsRecursive({app:i,records:s.slice(o)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return u.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(s=l(a().mark((function t(e){var r,n,o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"PUT",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=t.sent.results,t.abrupt("return",o.map((function(t){return t.records})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return s.apply(this,arguments)})},{key:"deleteAllRecords",value:function(t){return this.deleteAllRecordsRecursive(t,t.records.length)}},{key:"deleteAllRecordsRecursive",value:(o=l(a().mark((function t(e,r){var n,o,i,s;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,o=e.app,i=e.records,0!==(s=i.slice(0,n)).length){t.next=5;break}return t.abrupt("return",{});case 5:return t.prev=5,t.next=8,this.deleteAllRecordsWithBulkRequest({app:o,records:s});case 8:t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(5),new Ug({},i,r,t.t0,100);case 13:return t.abrupt("return",this.deleteAllRecordsRecursive({app:o,records:i.slice(n)},r));case 14:case"end":return t.stop()}}),t,this,[[5,10]])}))),function(t,e){return o.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(n=l(a().mark((function t(e){var r,n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"DELETE",endpointName:"records",payload:{app:e.app,ids:t.map((function(t){return t.id})),revisions:t.map((function(t){return t.revision}))}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(t,e,r){var n=r.slice(0,t);return 0===n.length?e:this.separateArrayRecursive(t,[].concat(w(e),[n]),r.slice(t))}},{key:"addRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(e,t)}},{key:"deleteRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(e,t)}},{key:"getRecordComments",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(e,t)}},{key:"updateRecordAssignees",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(e,t)}},{key:"updateRecordStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(e,t)}},{key:"updateRecordsStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(e,t)}}]);var n,o,s,u,c,f,m,g,v,x,S,E,A,R,O}(Dy),Mg=function(t){function e(){return p(this,e),r(this,e,arguments)}return y(e,t),h(e,[{key:"getSpace",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.get(e,t)}},{key:"deleteSpace",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.delete(e,t)}},{key:"updateSpaceBody",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/body"});return this.client.put(e,t)}},{key:"getSpaceMembers",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.get(e,t)}},{key:"updateSpaceMembers",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.put(e,t)}},{key:"updateThread",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.put(e,t)}},{key:"addThreadComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/thread/comment"});return this.client.post(e,t)}},{key:"addGuests",value:function(t){var e=this.buildPath({endpointName:"guests"});return this.client.post(e,t)}},{key:"deleteGuests",value:function(t){var e=this.buildPath({endpointName:"guests"});return this.client.delete(e,t)}},{key:"updateSpaceGuests",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/guests"});return this.client.put(e,t)}},{key:"addSpaceFromTemplate",value:function(t){var e=this.buildPath({endpointName:"template/space"});return this.client.post(e,t)}}])}(Dy),Wg=E("object"==typeof self?self.FormData:window.FormData),Gg=function(t){function n(){return p(this,n),r(this,n,arguments)}return y(n,t),h(n,[{key:"uploadFile",value:(o=l(a().mark((function t(r){var n,o,i,s,u,c,l,p,f;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),o=new Wg,!("path"in r.file)){t.next=19;break}return t.prev=3,t.next=6,e.readFileFromPath(r.file.path);case 6:i=t.sent,s=i.name,u=i.data,o.append("file",u,s),t.next=17;break;case 12:if(t.prev=12,t.t0=t.catch(3),!(t.t0 instanceof Hi)){t.next=16;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(t.t0.platform," environment."));case 16:throw t.t0;case 17:t.next=22;break;case 19:c=r.file,l=c.name,p=c.data,f=e.buildFormDataValue(p,l),o.append("file",f,l);case 22:return t.abrupt("return",this.client.postData(n,o));case 23:case"end":return t.stop()}}),t,this,[[3,12]])}))),function(t){return o.apply(this,arguments)})},{key:"downloadFile",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(e,t)}}]);var o}(Dy),zg="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Hg(t,e){return function(){return t.apply(e,arguments)}}const{toString:$g}=Object.prototype,{getPrototypeOf:Vg}=Object,Yg=(Kg=Object.create(null),t=>{const e=$g.call(t);return Kg[e]||(Kg[e]=e.slice(8,-1).toLowerCase())});var Kg;const Jg=t=>(t=t.toLowerCase(),e=>Yg(e)===t),Qg=t=>e=>typeof e===t,{isArray:Xg}=Array,Zg=Qg("undefined");const tv=Jg("ArrayBuffer");const ev=Qg("string"),rv=Qg("function"),nv=Qg("number"),ov=t=>null!==t&&"object"==typeof t,iv=t=>{if("object"!==Yg(t))return!1;const e=Vg(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},av=Jg("Date"),sv=Jg("File"),uv=Jg("Blob"),cv=Jg("FileList"),lv=Jg("URLSearchParams");function pv(t,e){let r,n,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=t)if("object"!=typeof t&&(t=[t]),Xg(t))for(r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else{const n=o?Object.getOwnPropertyNames(t):Object.keys(t),i=n.length;let a;for(r=0;r<i;r++)a=n[r],e.call(null,t[a],a,t)}}function fv(t,e){e=e.toLowerCase();const r=Object.keys(t);let n,o=r.length;for(;o-- >0;)if(n=r[o],e===n.toLowerCase())return n;return null}const hv="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:zg,dv=t=>!Zg(t)&&t!==hv;const yv=(t=>e=>t&&e instanceof t)("undefined"!=typeof Uint8Array&&Vg(Uint8Array)),mv=Jg("HTMLFormElement"),gv=(t=>{let{hasOwnProperty:e}=t;return(t,r)=>e.call(t,r)})(Object.prototype),vv=Jg("RegExp"),bv=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};pv(r,((r,o)=>{let i;!1!==(i=e(r,o,t))&&(n[o]=i||r)})),Object.defineProperties(t,n)},wv="abcdefghijklmnopqrstuvwxyz",xv="0123456789",Sv={DIGIT:xv,ALPHA:wv,ALPHA_DIGIT:wv+wv.toUpperCase()+xv};const Ev=Jg("AsyncFunction");var Av={isArray:Xg,isArrayBuffer:tv,isBuffer:function(t){return null!==t&&!Zg(t)&&null!==t.constructor&&!Zg(t.constructor)&&rv(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||rv(t.append)&&("formdata"===(e=Yg(t))||"object"===e&&rv(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&tv(t.buffer),e},isString:ev,isNumber:nv,isBoolean:t=>!0===t||!1===t,isObject:ov,isPlainObject:iv,isUndefined:Zg,isDate:av,isFile:sv,isBlob:uv,isRegExp:vv,isFunction:rv,isStream:t=>ov(t)&&rv(t.pipe),isURLSearchParams:lv,isTypedArray:yv,isFileList:cv,forEach:pv,merge:function t(){const{caseless:e}=dv(this)&&this||{},r={},n=(n,o)=>{const i=e&&fv(r,o)||o;iv(r[i])&&iv(n)?r[i]=t(r[i],n):iv(n)?r[i]=t({},n):Xg(n)?r[i]=n.slice():r[i]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&pv(arguments[t],n);return r},extend:function(t,e,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return pv(e,((e,n)=>{r&&rv(e)?t[n]=Hg(e,r):t[n]=e}),{allOwnKeys:n}),t},trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let o,i,a;const s={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],n&&!n(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==r&&Vg(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:Yg,kindOfTest:Jg,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(Xg(t))return t;let e=t.length;if(!nv(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:mv,hasOwnProperty:gv,hasOwnProp:gv,reduceDescriptors:bv,freezeMethods:t=>{bv(t,((e,r)=>{if(rv(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];rv(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach((t=>{r[t]=!0}))};return Xg(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:fv,global:hv,isContextDefined:dv,ALPHABET:Sv,generateString:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Sv.ALPHA_DIGIT,r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&rv(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(ov(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const o=Xg(t)?[]:{};return pv(t,((t,e)=>{const i=r(t,n+1);!Zg(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:Ev,isThenable:t=>t&&(ov(t)||rv(t))&&rv(t.then)&&rv(t.catch)},Rv=[],Ov=[],kv="undefined"!=typeof Uint8Array?Uint8Array:Array,Pv=!1;function jv(){Pv=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0;e<64;++e)Rv[e]=t[e],Ov[t.charCodeAt(e)]=e;Ov["-".charCodeAt(0)]=62,Ov["_".charCodeAt(0)]=63}function Tv(t,e,r){for(var n,o,i=[],a=e;a<r;a+=3)n=(t[a]<<16)+(t[a+1]<<8)+t[a+2],i.push(Rv[(o=n)>>18&63]+Rv[o>>12&63]+Rv[o>>6&63]+Rv[63&o]);return i.join("")}function Iv(t){var e;Pv||jv();for(var r=t.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(Tv(t,s,s+a>u?u:s+a));return 1===n?(e=t[r-1],o+=Rv[e>>2],o+=Rv[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=Rv[e>>10],o+=Rv[e>>4&63],o+=Rv[e<<2&63],o+="="),i.push(o),i.join("")}function _v(t,e,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,p=r?o-1:0,f=r?-1:1,h=t[e+p];for(p+=f,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+t[e+p],p+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+t[e+p],p+=f,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 Nv(t,e,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,p=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(a++,u/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(e*u-1)*Math.pow(2,o),a+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*y}var Uv={}.toString,Cv=Array.isArray||function(t){return"[object Array]"==Uv.call(t)};function Lv(){return Bv.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Fv(t,e){if(Lv()<e)throw new RangeError("Invalid typed array length");return Bv.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=Bv.prototype:(null===t&&(t=new Bv(e)),t.length=e),t}function Bv(t,e,r){if(!(Bv.TYPED_ARRAY_SUPPORT||this instanceof Bv))return new Bv(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return Mv(this,t)}return Dv(this,t,e,r)}function Dv(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);Bv.TYPED_ARRAY_SUPPORT?(t=e).__proto__=Bv.prototype:t=Wv(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!Bv.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Hv(e,r);t=Fv(t,n);var o=t.write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(zv(e)){var r=0|Gv(e.length);return 0===(t=Fv(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?Fv(t,0):Wv(t,e);if("Buffer"===e.type&&Cv(e.data))return Wv(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function qv(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function Mv(t,e){if(qv(e),t=Fv(t,e<0?0:0|Gv(e)),!Bv.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function Wv(t,e){var r=e.length<0?0:0|Gv(e.length);t=Fv(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function Gv(t){if(t>=Lv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Lv().toString(16)+" bytes");return 0|t}function zv(t){return!(null==t||!t._isBuffer)}function Hv(t,e){if(zv(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return vb(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return bb(t).length;default:if(n)return vb(t).length;e=(""+e).toLowerCase(),n=!0}}function $v(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return sb(this,e,r);case"utf8":case"utf-8":return nb(this,e,r);case"ascii":return ib(this,e,r);case"latin1":case"binary":return ab(this,e,r);case"base64":return rb(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ub(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function Vv(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Yv(t,e,r,n,o){if(0===t.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:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=Bv.from(e,n)),zv(e))return 0===e.length?-1:Kv(t,e,r,n,o);if("number"==typeof e)return e&=255,Bv.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Kv(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Kv(t,e,r,n,o){var i,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(t,i)===c(e,-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 p=!0,f=0;f<u;f++)if(c(t,i+f)!==c(e,f)){p=!1;break}if(p)return i}return-1}function Jv(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.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(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function Qv(t,e,r,n){return wb(vb(e,t.length-r),t,r,n)}function Xv(t,e,r,n){return wb(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function Zv(t,e,r,n){return Xv(t,e,r,n)}function tb(t,e,r,n){return wb(bb(e),t,r,n)}function eb(t,e,r,n){return wb(function(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function rb(t,e,r){return 0===e&&r===t.length?Iv(t):Iv(t.slice(e,r))}function nb(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,s,u,c=t[o],l=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=r)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(i=t[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=t[o+1],a=t[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=t[o+1],a=t[o+2],s=t[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,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=p}return function(t){var e=t.length;if(e<=ob)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ob));return r}(n)}Bv.TYPED_ARRAY_SUPPORT=void 0===zg.TYPED_ARRAY_SUPPORT||zg.TYPED_ARRAY_SUPPORT,Lv(),Bv.poolSize=8192,Bv._augment=function(t){return t.__proto__=Bv.prototype,t},Bv.from=function(t,e,r){return Dv(null,t,e,r)},Bv.TYPED_ARRAY_SUPPORT&&(Bv.prototype.__proto__=Uint8Array.prototype,Bv.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Bv[Symbol.species]),Bv.alloc=function(t,e,r){return function(t,e,r,n){return qv(e),e<=0?Fv(t,e):void 0!==r?"string"==typeof n?Fv(t,e).fill(r,n):Fv(t,e).fill(r):Fv(t,e)}(null,t,e,r)},Bv.allocUnsafe=function(t){return Mv(null,t)},Bv.allocUnsafeSlow=function(t){return Mv(null,t)},Bv.isBuffer=function(t){return null!=t&&(!!t._isBuffer||xb(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&xb(t.slice(0,0))}(t))},Bv.compare=function(t,e){if(!zv(t)||!zv(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},Bv.isEncoding=function(t){switch(String(t).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}},Bv.concat=function(t,e){if(!Cv(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return Bv.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=Bv.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!zv(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},Bv.byteLength=Hv,Bv.prototype._isBuffer=!0,Bv.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)Vv(this,e,e+1);return this},Bv.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)Vv(this,e,e+3),Vv(this,e+1,e+2);return this},Bv.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)Vv(this,e,e+7),Vv(this,e+1,e+6),Vv(this,e+2,e+5),Vv(this,e+3,e+4);return this},Bv.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?nb(this,0,t):$v.apply(this,arguments)},Bv.prototype.equals=function(t){if(!zv(t))throw new TypeError("Argument must be a Buffer");return this===t||0===Bv.compare(this,t)},Bv.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},Bv.prototype.compare=function(t,e,r,n,o){if(!zv(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(i,a),u=this.slice(n,o),c=t.slice(e,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},Bv.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},Bv.prototype.indexOf=function(t,e,r){return Yv(this,t,e,r,!0)},Bv.prototype.lastIndexOf=function(t,e,r){return Yv(this,t,e,r,!1)},Bv.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return Jv(this,t,e,r);case"utf8":case"utf-8":return Qv(this,t,e,r);case"ascii":return Xv(this,t,e,r);case"latin1":case"binary":return Zv(this,t,e,r);case"base64":return tb(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return eb(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},Bv.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ob=4096;function ib(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function ab(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function sb(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=gb(t[i]);return o}function ub(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function cb(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function lb(t,e,r,n,o,i){if(!zv(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function pb(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function fb(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function hb(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function db(t,e,r,n,o){return o||hb(t,0,r,4),Nv(t,e,r,n,23,4),r+4}function yb(t,e,r,n,o){return o||hb(t,0,r,8),Nv(t,e,r,n,52,8),r+8}Bv.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),Bv.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=Bv.prototype;else{var o=e-t;r=new Bv(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},Bv.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||cb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},Bv.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||cb(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},Bv.prototype.readUInt8=function(t,e){return e||cb(t,1,this.length),this[t]},Bv.prototype.readUInt16LE=function(t,e){return e||cb(t,2,this.length),this[t]|this[t+1]<<8},Bv.prototype.readUInt16BE=function(t,e){return e||cb(t,2,this.length),this[t]<<8|this[t+1]},Bv.prototype.readUInt32LE=function(t,e){return e||cb(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Bv.prototype.readUInt32BE=function(t,e){return e||cb(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Bv.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||cb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},Bv.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||cb(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},Bv.prototype.readInt8=function(t,e){return e||cb(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Bv.prototype.readInt16LE=function(t,e){e||cb(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},Bv.prototype.readInt16BE=function(t,e){e||cb(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},Bv.prototype.readInt32LE=function(t,e){return e||cb(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Bv.prototype.readInt32BE=function(t,e){return e||cb(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Bv.prototype.readFloatLE=function(t,e){return e||cb(t,4,this.length),_v(this,t,!0,23,4)},Bv.prototype.readFloatBE=function(t,e){return e||cb(t,4,this.length),_v(this,t,!1,23,4)},Bv.prototype.readDoubleLE=function(t,e){return e||cb(t,8,this.length),_v(this,t,!0,52,8)},Bv.prototype.readDoubleBE=function(t,e){return e||cb(t,8,this.length),_v(this,t,!1,52,8)},Bv.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||lb(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},Bv.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||lb(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},Bv.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,1,255,0),Bv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},Bv.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,2,65535,0),Bv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):pb(this,t,e,!0),e+2},Bv.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,2,65535,0),Bv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):pb(this,t,e,!1),e+2},Bv.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,4,4294967295,0),Bv.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):fb(this,t,e,!0),e+4},Bv.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,4,4294967295,0),Bv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):fb(this,t,e,!1),e+4},Bv.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);lb(this,t,e,r,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},Bv.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);lb(this,t,e,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},Bv.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,1,127,-128),Bv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},Bv.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,2,32767,-32768),Bv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):pb(this,t,e,!0),e+2},Bv.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,2,32767,-32768),Bv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):pb(this,t,e,!1),e+2},Bv.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,4,2147483647,-2147483648),Bv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):fb(this,t,e,!0),e+4},Bv.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||lb(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),Bv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):fb(this,t,e,!1),e+4},Bv.prototype.writeFloatLE=function(t,e,r){return db(this,t,e,!0,r)},Bv.prototype.writeFloatBE=function(t,e,r){return db(this,t,e,!1,r)},Bv.prototype.writeDoubleLE=function(t,e,r){return yb(this,t,e,!0,r)},Bv.prototype.writeDoubleBE=function(t,e,r){return yb(this,t,e,!1,r)},Bv.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<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),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!Bv.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},Bv.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!Bv.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=zv(t)?t:vb(new Bv(t,n).toString()),s=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%s]}return this};var mb=/[^+\/0-9A-Za-z-_]/g;function gb(t){return t<16?"0"+t.toString(16):t.toString(16)}function vb(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=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((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function bb(t){return function(t){var e,r,n,o,i,a;Pv||jv();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===t[s-2]?2:"="===t[s-1]?1:0,a=new kv(3*s/4-i),n=i>0?s-4:s;var u=0;for(e=0,r=0;e<n;e+=4,r+=3)o=Ov[t.charCodeAt(e)]<<18|Ov[t.charCodeAt(e+1)]<<12|Ov[t.charCodeAt(e+2)]<<6|Ov[t.charCodeAt(e+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=Ov[t.charCodeAt(e)]<<2|Ov[t.charCodeAt(e+1)]>>4,a[u++]=255&o):1===i&&(o=Ov[t.charCodeAt(e)]<<10|Ov[t.charCodeAt(e+1)]<<4|Ov[t.charCodeAt(e+2)]>>2,a[u++]=o>>8&255,a[u++]=255&o),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(mb,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function wb(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function xb(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function Sb(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}Av.inherits(Sb,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:Av.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Eb=Sb.prototype,Ab={};["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((t=>{Ab[t]={value:t}})),Object.defineProperties(Sb,Ab),Object.defineProperty(Eb,"isAxiosError",{value:!0}),Sb.from=(t,e,r,n,o,i)=>{const a=Object.create(Eb);return Av.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),Sb.call(a,t.message,e,r,n,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};function Rb(t){return Av.isPlainObject(t)||Av.isArray(t)}function Ob(t){return Av.endsWith(t,"[]")?t.slice(0,-2):t}function kb(t,e,r){return t?t.concat(e).map((function(t,e){return t=Ob(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const Pb=Av.toFlatObject(Av,{},null,(function(t){return/^is[A-Z]/.test(t)}));function jb(t,e,r){if(!Av.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=Av.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!Av.isUndefined(e[t])}))).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Av.isSpecCompliantForm(e);if(!Av.isFunction(o))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(Av.isDate(t))return t.toISOString();if(!s&&Av.isBlob(t))throw new Sb("Blob is not supported. Use a Buffer instead.");return Av.isArrayBuffer(t)||Av.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Bv.from(t):t}function c(t,r,o){let s=t;if(t&&!o&&"object"==typeof t)if(Av.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(Av.isArray(t)&&function(t){return Av.isArray(t)&&!t.some(Rb)}(t)||(Av.isFileList(t)||Av.endsWith(r,"[]"))&&(s=Av.toArray(t)))return r=Ob(r),s.forEach((function(t,n){!Av.isUndefined(t)&&null!==t&&e.append(!0===a?kb([r],n,i):null===a?r:r+"[]",u(t))})),!1;return!!Rb(t)||(e.append(kb(o,r,i),u(t)),!1)}const l=[],p=Object.assign(Pb,{defaultVisitor:c,convertValue:u,isVisitable:Rb});if(!Av.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!Av.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),Av.forEach(r,(function(r,i){!0===(!(Av.isUndefined(r)||null===r)&&o.call(e,r,Av.isString(i)?i.trim():i,n,p))&&t(r,n?n.concat(i):[i])})),l.pop()}}(t),e}function Tb(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function Ib(t,e){this._pairs=[],t&&jb(t,this,e)}const _b=Ib.prototype;function Nb(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ub(t,e,r){if(!e)return t;const n=r&&r.encode||Nb,o=r&&r.serialize;let i;if(i=o?o(e,r):Av.isURLSearchParams(e)?e.toString():new Ib(e,r).toString(n),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}_b.append=function(t,e){this._pairs.push([t,e])},_b.toString=function(t){const e=t?function(e){return t.call(this,e,Tb)}:Tb;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};class Cb{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Av.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}var Lb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Fb={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ib,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Bb="undefined"!=typeof window&&"undefined"!=typeof document,Db=(qb="undefined"!=typeof navigator&&navigator.product,Bb&&["ReactNative","NativeScript","NS"].indexOf(qb)<0);var qb;const Mb="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var Wb={...Object.freeze({__proto__:null,hasBrowserEnv:Bb,hasStandardBrowserEnv:Db,hasStandardBrowserWebWorkerEnv:Mb}),...Fb};function Gb(t){function e(t,r,n,o){let i=t[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&Av.isArray(n)?n.length:i,s)return Av.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&Av.isObject(n[i])||(n[i]=[]);return e(t,r,n[i],o)&&Av.isArray(n[i])&&(n[i]=function(t){const e={},r=Object.keys(t);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],e[i]=t[i];return e}(n[i])),!a}if(Av.isFormData(t)&&Av.isFunction(t.entries)){const r={};return Av.forEachEntry(t,((t,n)=>{e(function(t){return Av.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null}const zb={transitional:Lb,adapter:["xhr","http"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=Av.isObject(t);o&&Av.isHTMLForm(t)&&(t=new FormData(t));if(Av.isFormData(t))return n?JSON.stringify(Gb(t)):t;if(Av.isArrayBuffer(t)||Av.isBuffer(t)||Av.isStream(t)||Av.isFile(t)||Av.isBlob(t))return t;if(Av.isArrayBufferView(t))return t.buffer;if(Av.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return jb(t,new Wb.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return Wb.isNode&&Av.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=Av.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return jb(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),function(t,e,r){if(Av.isString(t))try{return(e||JSON.parse)(t),Av.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||zb.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(t&&Av.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw Sb.from(t,Sb.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Wb.classes.FormData,Blob:Wb.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Av.forEach(["delete","get","head","post","put","patch"],(t=>{zb.headers[t]={}}));var Hb=zb;const $b=Av.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 Vb=Symbol("internals");function Yb(t){return t&&String(t).trim().toLowerCase()}function Kb(t){return!1===t||null==t?t:Av.isArray(t)?t.map(Kb):String(t)}function Jb(t,e,r,n,o){return Av.isFunction(n)?n.call(this,e,r):(o&&(e=r),Av.isString(e)?Av.isString(n)?-1!==e.indexOf(n):Av.isRegExp(n)?n.test(e):void 0:void 0)}class Qb{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=Yb(e);if(!o)throw new Error("header name must be a non-empty string");const i=Av.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=Kb(t))}const i=(t,e)=>Av.forEach(t,((t,r)=>o(t,r,e)));return Av.isPlainObject(t)||t instanceof this.constructor?i(t,e):Av.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?i((t=>{const e={};let r,n,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),r=t.substring(0,o).trim().toLowerCase(),n=t.substring(o+1).trim(),!r||e[r]&&$b[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e):null!=t&&o(e,t,r),this}get(t,e){if(t=Yb(t)){const r=Av.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(Av.isFunction(e))return e.call(this,t,r);if(Av.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Yb(t)){const r=Av.findKey(this,t);return!(!r||void 0===this[r]||e&&!Jb(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=Yb(t)){const o=Av.findKey(r,t);!o||e&&!Jb(0,r[o],o,e)||(delete r[o],n=!0)}}return Av.isArray(t)?t.forEach(o):o(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const o=e[r];t&&!Jb(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return Av.forEach(this,((n,o)=>{const i=Av.findKey(r,o);if(i)return e[i]=Kb(n),void delete e[o];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,r)=>e.toUpperCase()+r))}(o):String(o).trim();a!==o&&delete e[o],e[a]=Kb(n),r[a]=!0})),this}concat(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.constructor.concat(this,...e)}toJSON(t){const e=Object.create(null);return Av.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&Av.isArray(r)?r.join(", "):r)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((t=>{let[e,r]=t;return e+": "+r})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t){const e=new this(t);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((t=>e.set(t))),e}static accessor(t){const e=(this[Vb]=this[Vb]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=Yb(t);e[n]||(!function(t,e){const r=Av.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})}))}(r,t),e[n]=!0)}return Av.isArray(t)?t.forEach(n):n(t),this}}Qb.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Av.reduceDescriptors(Qb.prototype,((t,e)=>{let{value:r}=t,n=e[0].toUpperCase()+e.slice(1);return{get:()=>r,set(t){this[n]=t}}})),Av.freezeMethods(Qb);var Xb=Qb;function Zb(t,e){const r=this||Hb,n=e||r,o=Xb.from(n.headers);let i=n.data;return Av.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function tw(t){return!(!t||!t.__CANCEL__)}function ew(t,e,r){Sb.call(this,null==t?"canceled":t,Sb.ERR_CANCELED,e,r),this.name="CanceledError"}Av.inherits(ew,Sb,{__CANCEL__:!0});var rw=Wb.hasStandardBrowserEnv?{write(t,e,r,n,o,i){const a=[t+"="+encodeURIComponent(e)];Av.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),Av.isString(n)&&a.push("path="+n),Av.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function nw(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}var ow=Wb.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let r;function n(r){let n=r;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(t){const e=Av.isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return!0};function iw(t,e){let r=0;const n=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const u=Date.now(),c=n[a];o||(o=u),r[i]=s,n[i]=u;let l=a,p=0;for(;l!==i;)p+=r[l++],l%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),u-o<e)return;const f=c&&u-c;return f?Math.round(1e3*p/f):void 0}}(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-r,u=n(s);r=i;const c={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:o};c[e?"download":"upload"]=!0,t(c)}}var aw="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){let n=t.data;const o=Xb.from(t.headers).normalize();let i,a,{responseType:s,withXSRFToken:u}=t;function c(){t.cancelToken&&t.cancelToken.unsubscribe(i),t.signal&&t.signal.removeEventListener("abort",i)}if(Av.isFormData(n))if(Wb.hasStandardBrowserEnv||Wb.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(a=o.getContentType())){const[t,...e]=a?a.split(";").map((t=>t.trim())).filter(Boolean):[];o.setContentType([t||"multipart/form-data",...e].join("; "))}let l=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",r=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+r))}const p=nw(t.baseURL,t.url);function f(){if(!l)return;const n=Xb.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new Sb("Request failed with status code "+r.status,[Sb.ERR_BAD_REQUEST,Sb.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}((function(t){e(t),c()}),(function(t){r(t),c()}),{data:s&&"text"!==s&&"json"!==s?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:n,config:t,request:l}),l=null}if(l.open(t.method.toUpperCase(),Ub(p,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=f:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(f)},l.onabort=function(){l&&(r(new Sb("Request aborted",Sb.ECONNABORTED,t,l)),l=null)},l.onerror=function(){r(new Sb("Network Error",Sb.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const n=t.transitional||Lb;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(new Sb(e,n.clarifyTimeoutError?Sb.ETIMEDOUT:Sb.ECONNABORTED,t,l)),l=null},Wb.hasStandardBrowserEnv&&(u&&Av.isFunction(u)&&(u=u(t)),u||!1!==u&&ow(p))){const e=t.xsrfHeaderName&&t.xsrfCookieName&&rw.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===n&&o.setContentType(null),"setRequestHeader"in l&&Av.forEach(o.toJSON(),(function(t,e){l.setRequestHeader(e,t)})),Av.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),s&&"json"!==s&&(l.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&l.addEventListener("progress",iw(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",iw(t.onUploadProgress)),(t.cancelToken||t.signal)&&(i=e=>{l&&(r(!e||e.type?new ew(null,t,l):e),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(i),t.signal&&(t.signal.aborted?i():t.signal.addEventListener("abort",i)));const h=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(p);h&&-1===Wb.protocols.indexOf(h)?r(new Sb("Unsupported protocol "+h+":",Sb.ERR_BAD_REQUEST,t)):l.send(n||null)}))};const sw={http:null,xhr:aw};Av.forEach(sw,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const uw=t=>`- ${t}`,cw=t=>Av.isFunction(t)||null===t||!1===t;var lw=t=>{t=Av.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let i=0;i<e;i++){let e;if(r=t[i],n=r,!cw(r)&&(n=sw[(e=String(r)).toLowerCase()],void 0===n))throw new Sb(`Unknown adapter '${e}'`);if(n)break;o[e||"#"+i]=n}if(!n){const t=Object.entries(o).map((t=>{let[e,r]=t;return`adapter ${e} `+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new Sb("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(uw).join("\n"):" "+uw(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function pw(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ew(null,t)}function fw(t){pw(t),t.headers=Xb.from(t.headers),t.data=Zb.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return lw(t.adapter||Hb.adapter)(t).then((function(e){return pw(t),e.data=Zb.call(t,t.transformResponse,e),e.headers=Xb.from(e.headers),e}),(function(e){return tw(e)||(pw(t),e&&e.response&&(e.response.data=Zb.call(t,t.transformResponse,e.response),e.response.headers=Xb.from(e.response.headers))),Promise.reject(e)}))}const hw=t=>t instanceof Xb?{...t}:t;function dw(t,e){e=e||{};const r={};function n(t,e,r){return Av.isPlainObject(t)&&Av.isPlainObject(e)?Av.merge.call({caseless:r},t,e):Av.isPlainObject(e)?Av.merge({},e):Av.isArray(e)?e.slice():e}function o(t,e,r){return Av.isUndefined(e)?Av.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!Av.isUndefined(e))return n(void 0,e)}function a(t,e){return Av.isUndefined(e)?Av.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function s(r,o,i){return i in e?n(r,o):i in t?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:(t,e)=>o(hw(t),hw(e),!0)};return Av.forEach(Object.keys(Object.assign({},t,e)),(function(n){const i=u[n]||o,a=i(t[n],e[n],n);Av.isUndefined(a)&&i!==s||(r[n]=a)})),r}const yw="1.6.8",mw={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{mw[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const gw={};mw.transitional=function(t,e,r){function n(t,e){return"[Axios v1.6.8] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,i)=>{if(!1===t)throw new Sb(n(o," has been removed"+(e?" in "+e:"")),Sb.ERR_DEPRECATED);return e&&!gw[o]&&(gw[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};var vw={assertOptions:function(t,e,r){if("object"!=typeof t)throw new Sb("options must be an object",Sb.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;for(;o-- >0;){const i=n[o],a=e[i];if(a){const e=t[i],r=void 0===e||a(e,i,t);if(!0!==r)throw new Sb("option "+i+" must be "+r,Sb.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Sb("Unknown option "+i,Sb.ERR_BAD_OPTION)}},validators:mw};const bw=vw.validators;class ww{constructor(t){this.defaults=t,this.interceptors={request:new Cb,response:new Cb}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const r=e.stack?e.stack.replace(/^.+\n/,""):"";t.stack?r&&!String(t.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+r):t.stack=r}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=dw(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;void 0!==r&&vw.assertOptions(r,{silentJSONParsing:bw.transitional(bw.boolean),forcedJSONParsing:bw.transitional(bw.boolean),clarifyTimeoutError:bw.transitional(bw.boolean)},!1),null!=n&&(Av.isFunction(n)?e.paramsSerializer={serialize:n}:vw.assertOptions(n,{encode:bw.function,serialize:bw.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&Av.merge(o.common,o[e.method]);o&&Av.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=Xb.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)}));let l,p=0;if(!s){const t=[fw.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,u),l=t.length,c=Promise.resolve(e);p<l;)c=c.then(t[p++],t[p++]);return c}l=a.length;let f=e;for(p=0;p<l;){const t=a[p++],e=a[p++];try{f=t(f)}catch(t){e.call(this,t);break}}try{c=fw.call(this,f)}catch(t){return Promise.reject(t)}for(p=0,l=u.length;p<l;)c=c.then(u[p++],u[p++]);return c}getUri(t){return Ub(nw((t=dw(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}Av.forEach(["delete","get","head","options"],(function(t){ww.prototype[t]=function(e,r){return this.request(dw(r||{},{method:t,url:e,data:(r||{}).data}))}})),Av.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(dw(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}ww.prototype[t]=e(),ww.prototype[t+"Form"]=e(!0)}));var xw=ww;class Sw{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const r=this;this.promise.then((t=>{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,o){r.reason||(r.reason=new ew(t,n,o),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new Sw((function(e){t=e})),cancel:t}}}var Ew=Sw;const Aw={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(Aw).forEach((t=>{let[e,r]=t;Aw[r]=e}));var Rw=Aw;const Ow=function t(e){const r=new xw(e),n=Hg(xw.prototype.request,r);return Av.extend(n,xw.prototype,r,{allOwnKeys:!0}),Av.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(dw(e,r))},n}(Hb);Ow.Axios=xw,Ow.CanceledError=ew,Ow.CancelToken=Ew,Ow.isCancel=tw,Ow.VERSION=yw,Ow.toFormData=jb,Ow.AxiosError=Sb,Ow.Cancel=Ow.CanceledError,Ow.all=function(t){return Promise.all(t)},Ow.spread=function(t){return function(e){return t.apply(null,e)}},Ow.isAxiosError=function(t){return Av.isObject(t)&&!0===t.isAxiosError},Ow.mergeConfig=dw,Ow.AxiosHeaders=Xb,Ow.formToJSON=t=>Gb(Av.isHTMLForm(t)?new FormData(t):t),Ow.getAdapter=lw,Ow.HttpStatusCode=Rw,Ow.default=Ow;var kw=function(){return h((function t(e){var r=e.responseHandler,n=e.requestConfigBuilder;p(this,t),this.responseHandler=r,this.requestConfigBuilder=n}),[{key:"get",value:(s=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return s.apply(this,arguments)})},{key:"getData",value:(o=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r,{responseType:"arraybuffer"});case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return o.apply(this,arguments)})},{key:"post",value:(n=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return n.apply(this,arguments)})},{key:"postData",value:(r=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},{key:"put",value:(e=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("put",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,r){return e.apply(this,arguments)})},{key:"delete",value:(t=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("delete",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(e,r){return t.apply(this,arguments)})},{key:"sendRequest",value:function(t){return this.responseHandler.handle(Ow(i(i({},t),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]);var t,e,r,n,o,s}(),Pw=So,jw=tt,Tw=st,Iw=om,_w=H([].join);Pw({target:"Array",proto:!0,forced:jw!==Object||!Iw("join",",")},{join:function(t){return _w(Tw(this),void 0===t?",":t)}});var Nw,Uw=Error,Cw=EvalError,Lw=RangeError,Fw=ReferenceError,Bw=SyntaxError,Dw=TypeError,qw=URIError,Mw="undefined"!=typeof Symbol&&Symbol,Ww=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0},Gw={foo:{}},zw=Object,Hw=Object.prototype.toString,$w=Math.max,Vw=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var o=0;o<e.length;o+=1)r[o+t.length]=e[o];return r},Yw=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==Hw.apply(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var r,n=function(t,e){for(var r=[],n=e||0,o=0;n<t.length;n+=1,o+=1)r[o]=t[n];return r}(arguments,1),o=$w(0,e.length-n.length),i=[],a=0;a<o;a++)i[a]="$"+a;if(r=Function("binder","return function ("+function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r}(i,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var o=e.apply(this,Vw(n,arguments));return Object(o)===o?o:this}return e.apply(t,Vw(n,arguments))})),e.prototype){var s=function(){};s.prototype=e.prototype,r.prototype=new s,s.prototype=null}return r},Kw=Function.prototype.bind||Yw,Jw=Function.prototype.call,Qw=Object.prototype.hasOwnProperty,Xw=Kw.call(Jw,Qw),Zw=Uw,tx=Cw,ex=Lw,rx=Fw,nx=Bw,ox=Dw,ix=qw,ax=Function,sx=function(t){try{return ax('"use strict"; return ('+t+").constructor;")()}catch(t){}},ux=Object.getOwnPropertyDescriptor;if(ux)try{ux({},"")}catch(t){ux=null}var cx=function(){throw new ox},lx=ux?function(){try{return cx}catch(t){try{return ux(arguments,"callee").get}catch(t){return cx}}}():cx,px="function"==typeof Mw&&"function"==typeof Symbol&&"symbol"==typeof Mw("foo")&&"symbol"==typeof Symbol("bar")&&Ww(),fx={__proto__:Gw}.foo===Gw.foo&&!({__proto__:null}instanceof zw),hx=Object.getPrototypeOf||(fx?function(t){return t.__proto__}:null),dx={},yx="undefined"!=typeof Uint8Array&&hx?hx(Uint8Array):Nw,mx={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?Nw:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Nw:ArrayBuffer,"%ArrayIteratorPrototype%":px&&hx?hx([][Symbol.iterator]()):Nw,"%AsyncFromSyncIteratorPrototype%":Nw,"%AsyncFunction%":dx,"%AsyncGenerator%":dx,"%AsyncGeneratorFunction%":dx,"%AsyncIteratorPrototype%":dx,"%Atomics%":"undefined"==typeof Atomics?Nw:Atomics,"%BigInt%":"undefined"==typeof BigInt?Nw:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?Nw:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?Nw:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Nw:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Zw,"%eval%":eval,"%EvalError%":tx,"%Float32Array%":"undefined"==typeof Float32Array?Nw:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Nw:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Nw:FinalizationRegistry,"%Function%":ax,"%GeneratorFunction%":dx,"%Int8Array%":"undefined"==typeof Int8Array?Nw:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Nw:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Nw:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":px&&hx?hx(hx([][Symbol.iterator]())):Nw,"%JSON%":"object"==typeof JSON?JSON:Nw,"%Map%":"undefined"==typeof Map?Nw:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&px&&hx?hx((new Map)[Symbol.iterator]()):Nw,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Nw:Promise,"%Proxy%":"undefined"==typeof Proxy?Nw:Proxy,"%RangeError%":ex,"%ReferenceError%":rx,"%Reflect%":"undefined"==typeof Reflect?Nw:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Nw:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&px&&hx?hx((new Set)[Symbol.iterator]()):Nw,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Nw:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":px&&hx?hx(""[Symbol.iterator]()):Nw,"%Symbol%":px?Symbol:Nw,"%SyntaxError%":nx,"%ThrowTypeError%":lx,"%TypedArray%":yx,"%TypeError%":ox,"%Uint8Array%":"undefined"==typeof Uint8Array?Nw:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Nw:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Nw:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Nw:Uint32Array,"%URIError%":ix,"%WeakMap%":"undefined"==typeof WeakMap?Nw:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Nw:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Nw:WeakSet};if(hx)try{null.error}catch(t){var gx=hx(hx(t));mx["%Error.prototype%"]=gx}var vx,bx,wx=function t(e){var r;if("%AsyncFunction%"===e)r=sx("async function () {}");else if("%GeneratorFunction%"===e)r=sx("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=sx("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&hx&&(r=hx(o.prototype))}return mx[e]=r,r},xx={__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"]},Sx=Kw,Ex=Xw,Ax=Sx.call(Function.call,Array.prototype.concat),Rx=Sx.call(Function.apply,Array.prototype.splice),Ox=Sx.call(Function.call,String.prototype.replace),kx=Sx.call(Function.call,String.prototype.slice),Px=Sx.call(Function.call,RegExp.prototype.exec),jx=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Tx=/\\(\\)?/g,Ix=function(t,e){var r,n=t;if(Ex(xx,n)&&(n="%"+(r=xx[n])[0]+"%"),Ex(mx,n)){var o=mx[n];if(o===dx&&(o=wx(n)),void 0===o&&!e)throw new ox("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new nx("intrinsic "+t+" does not exist!")},_x=function(t,e){if("string"!=typeof t||0===t.length)throw new ox("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new ox('"allowMissing" argument must be a boolean');if(null===Px(/^%?[^%]*%?$/,t))throw new nx("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=kx(t,0,1),r=kx(t,-1);if("%"===e&&"%"!==r)throw new nx("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new nx("invalid intrinsic syntax, expected opening `%`");var n=[];return Ox(t,jx,(function(t,e,r,o){n[n.length]=r?Ox(o,Tx,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=Ix("%"+n+"%",e),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],Rx(r,Ax([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c],f=kx(p,0,1),h=kx(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new nx("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),Ex(mx,i="%"+(n+="."+p)+"%"))a=mx[i];else if(null!=a){if(!(p in a)){if(!e)throw new ox("base intrinsic for "+t+" exists, but the property is not available.");return}if(ux&&c+1>=r.length){var d=ux(a,p);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[p]}else l=Ex(a,p),a=a[p];l&&!s&&(mx[i]=a)}}return a},Nx={exports:{}};function Ux(){if(bx)return vx;bx=1;var t=_x("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}return vx=t}var Cx=_x("%Object.getOwnPropertyDescriptor%",!0);if(Cx)try{Cx([],"length")}catch(t){Cx=null}var Lx=Cx,Fx=Ux(),Bx=Bw,Dx=Dw,qx=Lx,Mx=Ux(),Wx=function(){return!!Mx};Wx.hasArrayLengthDefineBug=function(){if(!Mx)return null;try{return 1!==Mx([],"length",{value:1}).length}catch(t){return!0}};var Gx=_x,zx=function(t,e,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new Dx("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new Dx("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new Dx("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new Dx("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new Dx("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new Dx("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,a=arguments.length>6&&arguments[6],s=!!qx&&qx(t,e);if(Fx)Fx(t,e,{configurable:null===i&&s?s.configurable:!i,enumerable:null===n&&s?s.enumerable:!n,value:r,writable:null===o&&s?s.writable:!o});else{if(!a&&(n||o||i))throw new Bx("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=r}},Hx=Wx(),$x=Lx,Vx=Dw,Yx=Gx("%Math.floor%"),Kx=function(t,e){if("function"!=typeof t)throw new Vx("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||Yx(e)!==e)throw new Vx("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,o=!0;if("length"in t&&$x){var i=$x(t,"length");i&&!i.configurable&&(n=!1),i&&!i.writable&&(o=!1)}return(n||o||!r)&&(Hx?zx(t,"length",e,!0,!0):zx(t,"length",e)),t};!function(t){var e=Kw,r=_x,n=Kx,o=Dw,i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||e.call(a,i),u=Ux(),c=r("%Math.max%");t.exports=function(t){if("function"!=typeof t)throw new o("a function is required");var r=s(e,a,arguments);return n(r,1+c(0,t.length-(arguments.length-1)),!0)};var l=function(){return s(e,i,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l}(Nx);var Jx=_x,Qx=Nx.exports,Xx=Qx(Jx("String.prototype.indexOf")),Zx=A(Object.freeze({__proto__:null,default:{}})),tS="function"==typeof Map&&Map.prototype,eS=Object.getOwnPropertyDescriptor&&tS?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,rS=tS&&eS&&"function"==typeof eS.get?eS.get:null,nS=tS&&Map.prototype.forEach,oS="function"==typeof Set&&Set.prototype,iS=Object.getOwnPropertyDescriptor&&oS?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,aS=oS&&iS&&"function"==typeof iS.get?iS.get:null,sS=oS&&Set.prototype.forEach,uS="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,cS="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,lS="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,pS=Boolean.prototype.valueOf,fS=Object.prototype.toString,hS=Function.prototype.toString,dS=String.prototype.match,yS=String.prototype.slice,mS=String.prototype.replace,gS=String.prototype.toUpperCase,vS=String.prototype.toLowerCase,bS=RegExp.prototype.test,wS=Array.prototype.concat,xS=Array.prototype.join,SS=Array.prototype.slice,ES=Math.floor,AS="function"==typeof BigInt?BigInt.prototype.valueOf:null,RS=Object.getOwnPropertySymbols,OS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,kS="function"==typeof Symbol&&"object"==typeof Symbol.iterator,PS="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===kS||"symbol")?Symbol.toStringTag:null,jS=Object.prototype.propertyIsEnumerable,TS=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function IS(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||bS.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-ES(-t):ES(t);if(n!==t){var o=String(n),i=yS.call(e,o.length+1);return mS.call(o,r,"$&_")+"."+mS.call(mS.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return mS.call(e,r,"$&_")}var _S=Zx,NS=_S.custom,US=DS(NS)?NS:null;function CS(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function LS(t){return mS.call(String(t),/"/g,""")}function FS(t){return!("[object Array]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}function BS(t){return!("[object RegExp]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}function DS(t){if(kS)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!OS)return!1;try{return OS.call(t),!0}catch(t){}return!1}var qS=Object.prototype.hasOwnProperty||function(t){return t in this};function MS(t,e){return qS.call(t,e)}function WS(t){return fS.call(t)}function GS(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function zS(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return zS(yS.call(t,0,e.maxStringLength),e)+n}return CS(mS.call(mS.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,HS),"single",e)}function HS(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+gS.call(e.toString(16))}function $S(t){return"Object("+t+")"}function VS(t){return t+" { ? }"}function YS(t,e,r,n){return t+" ("+e+") {"+(n?KS(r,n):xS.call(r,", "))+"}"}function KS(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+xS.call(t,","+r)+"\n"+e.prev}function JS(t,e){var r=FS(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=MS(t,o)?e(t[o],t):""}var i,a="function"==typeof RS?RS(t):[];if(kS){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in t)MS(t,u)&&(r&&String(Number(u))===u&&u<t.length||kS&&i["$"+u]instanceof Symbol||(bS.call(/[^\w$]/,u)?n.push(e(u,t)+": "+e(t[u],t)):n.push(u+": "+e(t[u],t))));if("function"==typeof RS)for(var c=0;c<a.length;c++)jS.call(t,a[c])&&n.push("["+e(a[c])+"]: "+e(t[a[c]],t));return n}var QS=_x,XS=function(t,e){var r=Jx(t,!!e);return"function"==typeof r&&Xx(t,".prototype.")>-1?Qx(r):r},ZS=function t(e,r,n,o){var i=r||{};if(MS(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(MS(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=!MS(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(MS(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(MS(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===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return zS(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var u=String(e);return s?IS(e,u):u}if("bigint"==typeof e){var c=String(e)+"n";return s?IS(e,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=l&&l>0&&"object"==typeof e)return FS(e)?"[Array]":"[Object]";var p=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=xS.call(Array(t.indent+1)," ")}return{base:r,prev:xS.call(Array(e+1),r)}}(i,n);if(void 0===o)o=[];else if(GS(o,e)>=0)return"[Circular]";function f(e,r,a){if(r&&(o=SS.call(o)).push(r),a){var s={depth:i.depth};return MS(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),t(e,s,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e&&!BS(e)){var h=function(t){if(t.name)return t.name;var e=dS.call(hS.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),d=JS(e,f);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+xS.call(d,", ")+" }":"")}if(DS(e)){var y=kS?mS.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):OS.call(e);return"object"!=typeof e||kS?y:$S(y)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var m="<"+vS.call(String(e.nodeName)),g=e.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+CS(LS(g[v].value),"double",i);return m+=">",e.childNodes&&e.childNodes.length&&(m+="..."),m+="</"+vS.call(String(e.nodeName))+">"}if(FS(e)){if(0===e.length)return"[]";var b=JS(e,f);return p&&!function(t){for(var e=0;e<t.length;e++)if(GS(t[e],"\n")>=0)return!1;return!0}(b)?"["+KS(b,p)+"]":"[ "+xS.call(b,", ")+" ]"}if(function(t){return!("[object Error]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}(e)){var w=JS(e,f);return"cause"in Error.prototype||!("cause"in e)||jS.call(e,"cause")?0===w.length?"["+String(e)+"]":"{ ["+String(e)+"] "+xS.call(w,", ")+" }":"{ ["+String(e)+"] "+xS.call(wS.call("[cause]: "+f(e.cause),w),", ")+" }"}if("object"==typeof e&&a){if(US&&"function"==typeof e[US]&&_S)return _S(e,{depth:l-n});if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!rS||!t||"object"!=typeof t)return!1;try{rS.call(t);try{aS.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var x=[];return nS&&nS.call(e,(function(t,r){x.push(f(r,e,!0)+" => "+f(t,e))})),YS("Map",rS.call(e),x,p)}if(function(t){if(!aS||!t||"object"!=typeof t)return!1;try{aS.call(t);try{rS.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var E=[];return sS&&sS.call(e,(function(t){E.push(f(t,e))})),YS("Set",aS.call(e),E,p)}if(function(t){if(!uS||!t||"object"!=typeof t)return!1;try{uS.call(t,uS);try{cS.call(t,cS)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return VS("WeakMap");if(function(t){if(!cS||!t||"object"!=typeof t)return!1;try{cS.call(t,cS);try{uS.call(t,uS)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return VS("WeakSet");if(function(t){if(!lS||!t||"object"!=typeof t)return!1;try{return lS.call(t),!0}catch(t){}return!1}(e))return VS("WeakRef");if(function(t){return!("[object Number]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}(e))return $S(f(Number(e)));if(function(t){if(!t||"object"!=typeof t||!AS)return!1;try{return AS.call(t),!0}catch(t){}return!1}(e))return $S(f(AS.call(e)));if(function(t){return!("[object Boolean]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}(e))return $S(pS.call(e));if(function(t){return!("[object String]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}(e))return $S(f(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if(e===S)return"{ [object globalThis] }";if(!function(t){return!("[object Date]"!==WS(t)||PS&&"object"==typeof t&&PS in t)}(e)&&!BS(e)){var A=JS(e,f),R=TS?TS(e)===Object.prototype:e instanceof Object||e.constructor===Object,O=e instanceof Object?"":"null prototype",k=!R&&PS&&Object(e)===e&&PS in e?yS.call(WS(e),8,-1):O?"Object":"",P=(R||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(k||O?"["+xS.call(wS.call([],k||[],O||[]),": ")+"] ":"");return 0===A.length?P+"{}":p?P+"{"+KS(A,p)+"}":P+"{ "+xS.call(A,", ")+" }"}return String(e)},tE=Dw,eE=QS("%WeakMap%",!0),rE=QS("%Map%",!0),nE=XS("WeakMap.prototype.get",!0),oE=XS("WeakMap.prototype.set",!0),iE=XS("WeakMap.prototype.has",!0),aE=XS("Map.prototype.get",!0),sE=XS("Map.prototype.set",!0),uE=XS("Map.prototype.has",!0),cE=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r},lE=String.prototype.replace,pE=/%20/g,fE="RFC3986",hE={default:fE,formatters:{RFC1738:function(t){return lE.call(t,pE,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:fE},dE=hE,yE=Object.prototype.hasOwnProperty,mE=Array.isArray,gE=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),vE=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},bE=1024,wE={arrayToObject:vE,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[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)&&(e.push({obj:i,prop:u}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(mE(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,n,o){if(0===t.length)return t;var i=t;if("symbol"==typeof t?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",s=0;s<i.length;s+=bE){for(var u=i.length>=bE?i.slice(s,s+bE):i,c=[],l=0;l<u.length;++l){var p=u.charCodeAt(l);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===dE.RFC1738&&(40===p||41===p)?c[c.length]=u.charAt(l):p<128?c[c.length]=gE[p]:p<2048?c[c.length]=gE[192|p>>6]+gE[128|63&p]:p<55296||p>=57344?c[c.length]=gE[224|p>>12]+gE[128|p>>6&63]+gE[128|63&p]:(l+=1,p=65536+((1023&p)<<10|1023&u.charCodeAt(l)),c[c.length]=gE[240|p>>18]+gE[128|p>>12&63]+gE[128|p>>6&63]+gE[128|63&p])}a+=c.join("")}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(mE(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r){if(mE(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!yE.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return mE(e)&&!mE(r)&&(o=vE(e,n)),mE(e)&&mE(r)?(r.forEach((function(r,o){if(yE.call(e,o)){var i=e[o];i&&"object"==typeof i&&r&&"object"==typeof r?e[o]=t(i,r,n):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var i=r[o];return yE.call(e,o)?e[o]=t(e[o],i,n):e[o]=i,e}),o)}},xE=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new tE("Side channel does not contain "+ZS(t))},get:function(n){if(eE&&n&&("object"==typeof n||"function"==typeof n)){if(t)return nE(t,n)}else if(rE){if(e)return aE(e,n)}else if(r)return function(t,e){var r=cE(t,e);return r&&r.value}(r,n)},has:function(n){if(eE&&n&&("object"==typeof n||"function"==typeof n)){if(t)return iE(t,n)}else if(rE){if(e)return uE(e,n)}else if(r)return function(t,e){return!!cE(t,e)}(r,n);return!1},set:function(n,o){eE&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new eE),oE(t,n,o)):rE?(e||(e=new rE),sE(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=cE(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},SE=wE,EE=hE,AE=Object.prototype.hasOwnProperty,RE={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},OE=Array.isArray,kE=Array.prototype.push,PE=function(t,e){kE.apply(t,OE(e)?e:[e])},jE=Date.prototype.toISOString,TE=EE.default,IE={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:SE.encode,encodeValuesOnly:!1,format:TE,formatter:EE.formatters[TE],indices:!1,serializeDate:function(t){return jE.call(t)},skipNulls:!1,strictNullHandling:!1},_E={},NE=function t(e,r,n,o,i,a,s,u,c,l,p,f,h,d,y,m,g,v){for(var b,w=e,x=v,S=0,E=!1;void 0!==(x=x.get(_E))&&!E;){var A=x.get(e);if(S+=1,void 0!==A){if(A===S)throw new RangeError("Cyclic object value");E=!0}void 0===x.get(_E)&&(S=0)}if("function"==typeof l?w=l(r,w):w instanceof Date?w=h(w):"comma"===n&&OE(w)&&(w=SE.maybeMap(w,(function(t){return t instanceof Date?h(t):t}))),null===w){if(a)return c&&!m?c(r,IE.encoder,g,"key",d):r;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||SE.isBuffer(w))return c?[y(m?r:c(r,IE.encoder,g,"key",d))+"="+y(c(w,IE.encoder,g,"value",d))]:[y(r)+"="+y(String(w))];var R,O=[];if(void 0===w)return O;if("comma"===n&&OE(w))m&&c&&(w=SE.maybeMap(w,c)),R=[{value:w.length>0?w.join(",")||null:void 0}];else if(OE(l))R=l;else{var k=Object.keys(w);R=p?k.sort(p):k}var P=u?r.replace(/\./g,"%2E"):r,j=o&&OE(w)&&1===w.length?P+"[]":P;if(i&&OE(w)&&0===w.length)return j+"[]";for(var T=0;T<R.length;++T){var I=R[T],_="object"==typeof I&&void 0!==I.value?I.value:w[I];if(!s||null!==_){var N=f&&u?I.replace(/\./g,"%2E"):I,U=OE(w)?"function"==typeof n?n(j,N):j:j+(f?"."+N:"["+N+"]");v.set(e,S);var C=xE();C.set(_E,v),PE(O,t(_,U,n,o,i,a,s,u,"comma"===n&&m&&OE(w)?null:c,l,p,f,h,d,y,m,g,C))}}return O},UE=wE,CE=Object.prototype.hasOwnProperty,LE=Array.isArray,FE={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:UE.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},BE=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},DE=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},qE=function(t,e,r,n){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),s=a?o.slice(0,a.index):o,u=[];if(s){if(!r.plainObjects&&CE.call(Object.prototype,s)&&!r.allowPrototypes)return;u.push(s)}for(var c=0;r.depth>0&&null!==(a=i.exec(o))&&c<r.depth;){if(c+=1,!r.plainObjects&&CE.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+o.slice(a.index)+"]"),function(t,e,r,n){for(var o=n?e:DE(e,r),i=t.length-1;i>=0;--i){var a,s=t[i];if("[]"===s&&r.parseArrays)a=r.allowEmptyArrays&&""===o?[]:[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=r.decodeDotInKeys?u.replace(/%2E/g,"."):u,l=parseInt(c,10);r.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:"__proto__"!==c&&(a[c]=o):a={0:o}}o=a}return o}(u,e,r,n)}},ME=function(t,e){var r,n=t,o=function(t){if(!t)return IE;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.encodeDotInKeys&&"boolean"!=typeof t.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||IE.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=EE.default;if(void 0!==t.format){if(!AE.call(EE.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n,o=EE.formatters[r],i=IE.filter;if(("function"==typeof t.filter||OE(t.filter))&&(i=t.filter),n=t.arrayFormat in RE?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":IE.arrayFormat,"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=void 0===t.allowDots?!0===t.encodeDotInKeys||IE.allowDots:!!t.allowDots;return{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:IE.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:IE.allowEmptyArrays,arrayFormat:n,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:IE.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:void 0===t.delimiter?IE.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:IE.encode,encodeDotInKeys:"boolean"==typeof t.encodeDotInKeys?t.encodeDotInKeys:IE.encodeDotInKeys,encoder:"function"==typeof t.encoder?t.encoder:IE.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:IE.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:IE.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:IE.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:IE.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):OE(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var a=RE[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var u=xE(),c=0;c<r.length;++c){var l=r[c];o.skipNulls&&null===n[l]||PE(i,NE(n[l],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),f=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),p.length>0?f+p:""},WE=function(t,e){var r=function(t){if(!t)return FE;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?FE.charset:t.charset,r=void 0===t.duplicates?FE.duplicates:t.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===t.allowDots?!0===t.decodeDotInKeys||FE.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:FE.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:FE.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:FE.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:FE.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:FE.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:FE.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:FE.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:FE.decoder,delimiter:"string"==typeof t.delimiter||UE.isRegExp(t.delimiter)?t.delimiter:FE.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:FE.depth,duplicates:r,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:FE.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:FE.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:FE.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:FE.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,e){var r,n={__proto__:null},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=o.split(e.delimiter,i),s=-1,u=e.charset;if(e.charsetSentinel)for(r=0;r<a.length;++r)0===a[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[r]?u="utf-8":"utf8=%26%2310003%3B"===a[r]&&(u="iso-8859-1"),s=r,r=a.length);for(r=0;r<a.length;++r)if(r!==s){var c,l,p=a[r],f=p.indexOf("]="),h=-1===f?p.indexOf("="):f+1;-1===h?(c=e.decoder(p,FE.decoder,u,"key"),l=e.strictNullHandling?null:""):(c=e.decoder(p.slice(0,h),FE.decoder,u,"key"),l=UE.maybeMap(DE(p.slice(h+1),e),(function(t){return e.decoder(t,FE.decoder,u,"value")}))),l&&e.interpretNumericEntities&&"iso-8859-1"===u&&(l=BE(l)),p.indexOf("[]=")>-1&&(l=LE(l)?[l]:l);var d=CE.call(n,c);d&&"combine"===e.duplicates?n[c]=UE.combine(n[c],l):d&&"last"!==e.duplicates||(n[c]=l)}return n}(t,r):t,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],u=qE(s,n[s],r,"string"==typeof t);o=UE.merge(o,u,r)}return!0===r.allowSparse?o:UE.compact(o)},GE=E({formats:hE,parse:WE,stringify:ME});const zE="function"==typeof Buffer,HE=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),$E=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),VE=(t=>{let e={};return t.forEach(((t,r)=>e[t]=r)),e})($E),YE=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,KE=String.fromCharCode.bind(String),JE=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_"))),QE=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),XE=t=>{let e,r,n,o,i="";const a=t.length%3;for(let a=0;a<t.length;){if((r=t.charCodeAt(a++))>255||(n=t.charCodeAt(a++))>255||(o=t.charCodeAt(a++))>255)throw new TypeError("invalid character found");e=r<<16|n<<8|o,i+=$E[e>>18&63]+$E[e>>12&63]+$E[e>>6&63]+$E[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},ZE="function"==typeof btoa?t=>btoa(t):zE?t=>Buffer.from(t,"binary").toString("base64"):XE,tA=zE?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(KE.apply(null,t.subarray(r,r+4096)));return ZE(e.join(""))},eA=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?KE(192|e>>>6)+KE(128|63&e):KE(224|e>>>12&15)+KE(128|e>>>6&63)+KE(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return KE(240|e>>>18&7)+KE(128|e>>>12&63)+KE(128|e>>>6&63)+KE(128|63&e)},rA=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,nA=t=>t.replace(rA,eA),oA=zE?t=>Buffer.from(t,"utf8").toString("base64"):HE?t=>tA(HE.encode(t)):t=>ZE(nA(t)),iA=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?JE(oA(t)):oA(t)},aA=t=>{if(t=t.replace(/\s+/g,""),!YE.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));let e,r,n,o="";for(let i=0;i<t.length;)e=VE[t.charAt(i++)]<<18|VE[t.charAt(i++)]<<12|(r=VE[t.charAt(i++)])<<6|(n=VE[t.charAt(i++)]),o+=64===r?KE(e>>16&255):64===n?KE(e>>16&255,e>>8&255):KE(e>>16&255,e>>8&255,255&e);return o},sA=iA;var uA,cA=function(){return h((function t(e){if(p(this,t),this.baseUrl=e.baseUrl,this.auth=e.auth,this.headers=this.buildHeaders({basicAuth:e.basicAuth,userAgent:e.userAgent}),"httpsAgent"in e){if("clientCertAuth"in e)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=e.httpsAgent}else"clientCertAuth"in e&&(this.clientCertAuth=e.clientCertAuth);this.proxy=e.proxy,this.requestToken=null,this.socketTimeout=e.socketTimeout}),[{key:"build",value:(n=l(a().mark((function t(r,n,o,s){var u,c,l,p;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:u=i(i(i({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(n)},s||{}),e.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth,socketTimeout:this.socketTimeout})),{},{proxy:this.buildProxyConfig(this.proxy)}),t.t0=r,t.next="get"===t.t0?4:"post"===t.t0?16:"put"===t.t0?29:"delete"===t.t0?37:44;break;case 4:if(!((c=this.buildRequestUrl(n,o)).length>4096)){t.next=15;break}return t.t1=i,t.t2=i({},u),t.t3={},t.t4=i(i({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),t.next=12,this.buildData(o);case 12:return t.t5=t.sent,t.t6={method:"post",headers:t.t4,data:t.t5},t.abrupt("return",(0,t.t1)(t.t2,t.t3,t.t6));case 15:return t.abrupt("return",i(i({},u),{},{url:c}));case 16:if(!(o instanceof Wg)){t.next=21;break}return t.next=19,this.buildData(o);case 19:return l=t.sent,t.abrupt("return",i(i({},u),{},{headers:"function"==typeof l.getHeaders?i(i({},this.headers),l.getHeaders()):this.headers,data:l}));case 21:return t.t7=i,t.t8=i({},u),t.t9={},t.next=26,this.buildData(o);case 26:return t.t10=t.sent,t.t11={data:t.t10},t.abrupt("return",(0,t.t7)(t.t8,t.t9,t.t11));case 29:return t.t12=i,t.t13=i({},u),t.t14={},t.next=34,this.buildData(o);case 34:return t.t15=t.sent,t.t16={data:t.t15},t.abrupt("return",(0,t.t12)(t.t13,t.t14,t.t16));case 37:return t.t17=this,t.t18=n,t.next=41,this.buildData(o);case 41:return t.t19=t.sent,p=t.t17.buildRequestUrl.call(t.t17,t.t18,t.t19),t.abrupt("return",i(i({},u),{},{url:p}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return t.stop()}}),t,this)}))),function(t,e,r,o){return n.apply(this,arguments)})},{key:"buildProxyConfig",value:function(t){var e;if(void 0!==t){if(!1===t)return!1;var r=t;return!r.auth||0!==r.auth.username.length&&0!==r.auth.password.length||(r.auth=void 0),r.protocol=null!==(e=r.protocol)&&void 0!==e?e:"http",r}}},{key:"buildRequestUrl",value:function(t,e){return"".concat(this.baseUrl).concat(t,"?").concat(GE.stringify(e))}},{key:"buildData",value:(r=l(a().mark((function t(e){var r;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("session"!==this.auth.type){t.next=8;break}return t.next=3,this.getRequestToken();case 3:if(r=t.sent,!(e instanceof Wg)){t.next=7;break}return e.append("__REQUEST_TOKEN__",r),t.abrupt("return",e);case 7:return t.abrupt("return",i({__REQUEST_TOKEN__:r},e));case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"buildHeaders",value:function(t){var r=t.basicAuth,n=t.userAgent,o=r?{Authorization:"Basic ".concat(sA("".concat(r.username,":").concat(r.password)))}:{},a=i(i({},e.buildHeaders({userAgent:n})),o);switch(this.auth.type){case"password":return i(i({},a),{},{"X-Cybozu-Authorization":sA("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var s=this.auth.apiToken;return Array.isArray(s)?i(i({},a),{},{"X-Cybozu-API-Token":s.join(",")}):i(i({},a),{},{"X-Cybozu-API-Token":s});case"oAuthToken":return i(i({},a),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return i(i({},a),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(t=l(a().mark((function t(){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==this.requestToken){t.next=4;break}return t.next=3,e.getRequestToken();case 3:this.requestToken=t.sent;case 4:return t.abrupt("return",this.requestToken);case 5:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})}]);var t,r,n}(),lA=["data"],pA=function(){return h((function t(e){var r=e.enableAbortSearchError;p(this,t),this.enableAbortSearchError=r}),[{key:"handle",value:function(t){var e=this;return t.then((function(t){return e.handleSuccessResponse(t)}),(function(t){return e.handleErrorResponse(t)}))}},{key:"handleSuccessResponse",value:function(t){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(t.headers["x-cybozu-warning"]))throw new Sg(t.headers["x-cybozu-warning"]);return t.data}},{key:"handleErrorResponse",value:function(t){if(!t.response){if(/mac verify failure/.test(t.toString()))throw new Error("invalid clientCertAuth setting");throw t}var e=t.response,r=e.data,n=b(e,lA);if("string"==typeof r)throw new Error("".concat(n.status,": ").concat(n.statusText));throw new Cg(i({data:r},n))}}])}(),fA=function(){return h((function t(){var r,n,o,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p(this,t),hA(a),this.baseUrl=e.buildBaseUrl(a.baseUrl).replace(/\/+$/,"");var s=function(t){if("username"in t)return i({type:"password"},t);if("apiToken"in t)return i({type:"apiToken"},t);if("oAuthToken"in t)return i({type:"oAuthToken"},t);try{return e.getDefaultAuth()}catch(t){if(t instanceof Hi)throw new Error("session authentication is not supported in ".concat(t.platform," environment."));throw t}}(null!==(r=a.auth)&&void 0!==r?r:{}),u=new cA(i(i({},a),{},{baseUrl:this.baseUrl,auth:s})),c=new pA({enableAbortSearchError:null!==(n=null===(o=a.featureFlags)||void 0===o?void 0:o.enableAbortSearchError)&&void 0!==n&&n}),l=new kw({responseHandler:c,requestConfigBuilder:u}),f=a.guestSpaceId;this.bulkRequest_=new My(l,f),this.record=new qg(l,this.bulkRequest_,f),this.app=new rm(l,f),this.space=new Mg(l,f),this.file=new Gg(l,f)}),[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(t){return this.bulkRequest_.send(t)}}],[{key:"version",get:function(){return e.getVersion()}}])}(),hA=function(t){dA(t.baseUrl),yA(t.guestSpaceId),mA(t.socketTimeout)},dA=function(t){if(void 0!==t){var e=new URL(t);if("localhost"!==e.hostname&&"https:"!==e.protocol)throw new Error('The protocol of baseUrl must be "https".')}},yA=function(t){if(""===t||null===t)throw new Error("invalid guestSpaceId: got [".concat(t,"]"))},mA=function(t){if(void 0!==t){var e=parseFloat(t.toString());if(isNaN(e)||e<0)throw new Error("Invalid socketTimeout. Must be a positive number.")}};(uA=Ji).readFileFromPath&&(e.readFileFromPath=uA.readFileFromPath),uA.getRequestToken&&(e.getRequestToken=uA.getRequestToken),uA.getDefaultAuth&&(e.getDefaultAuth=uA.getDefaultAuth),uA.buildPlatformDependentConfig&&(e.buildPlatformDependentConfig=uA.buildPlatformDependentConfig),uA.buildHeaders&&(e.buildHeaders=uA.buildHeaders),uA.buildFormDataValue&&(e.buildFormDataValue=uA.buildFormDataValue),uA.buildBaseUrl&&(e.buildBaseUrl=uA.buildBaseUrl),uA.getVersion&&(e.getVersion=uA.getVersion),t.KintoneAbortSearchError=Sg,t.KintoneAllRecordsError=Ug,t.KintoneRestAPIClient=fA,t.KintoneRestAPIError=Cg}));
|