@kintone/rest-api-client 4.0.2 → 4.1.0
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 +1 -0
- package/esm/package.json +2 -2
- package/esm/src/KintoneRequestConfigBuilder.d.ts +18 -15
- package/esm/src/KintoneRequestConfigBuilder.js +2 -0
- package/esm/src/KintoneRequestConfigBuilder.js.map +1 -1
- package/esm/src/KintoneRestAPIClient.d.ts +1 -0
- package/esm/src/KintoneRestAPIClient.js +10 -0
- package/esm/src/KintoneRestAPIClient.js.map +1 -1
- package/esm/src/__tests__/KintoneRequestConfigBuilder.test.js +1 -1
- package/esm/src/__tests__/KintoneRequestConfigBuilder.test.js.map +1 -1
- package/esm/src/__tests__/KintoneRestAPIClient.test.js +26 -0
- package/esm/src/__tests__/KintoneRestAPIClient.test.js.map +1 -1
- package/esm/src/platform/node.d.ts +19 -8
- package/esm/src/platform/node.js +21 -0
- package/esm/src/platform/node.js.map +1 -1
- package/lib/package.json +2 -2
- package/lib/src/KintoneRequestConfigBuilder.d.ts +18 -15
- package/lib/src/KintoneRequestConfigBuilder.js +2 -0
- package/lib/src/KintoneRequestConfigBuilder.js.map +1 -1
- package/lib/src/KintoneRestAPIClient.d.ts +1 -0
- package/lib/src/KintoneRestAPIClient.js +10 -0
- package/lib/src/KintoneRestAPIClient.js.map +1 -1
- package/lib/src/__tests__/KintoneRequestConfigBuilder.test.js +1 -1
- package/lib/src/__tests__/KintoneRequestConfigBuilder.test.js.map +1 -1
- package/lib/src/__tests__/KintoneRestAPIClient.test.js +26 -0
- package/lib/src/__tests__/KintoneRestAPIClient.test.js.map +1 -1
- package/lib/src/platform/node.d.ts +19 -8
- package/lib/src/platform/node.js +22 -1
- package/lib/src/platform/node.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/umd/KintoneRestAPIClient.js +456 -408
- package/umd/KintoneRestAPIClient.min.js +1 -1
|
@@ -479,4 +479,4 @@
|
|
|
479
479
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
480
480
|
*/
|
|
481
481
|
|
|
482
|
-
!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){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 n(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(){o=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function p(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),u=new P(o||[]);return n(a,"_invoke",{value:A(t,r,u)}),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f={};function h(){}function d(){}function y(){}var m={};c(m,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(k([])));v&&v!==e&&r.call(v,a)&&(m=v);var b=y.prototype=h.prototype=Object.create(m);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function o(n,i,a,u){var s=l(t[n],t,i);if("throw"!==s.type){var c=s.arg,p=c.value;return p&&"object"==typeof p&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){o("next",t,a,u)}),(function(t){o("throw",t,a,u)})):e.resolve(p).then((function(t){c.value=t,a(c)}),(function(t){return o("throw",t,a,u)}))}u(s.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function A(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(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 R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function k(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=y,n(b,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:d,configurable:!0}),d.displayName=c(y,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(x.prototype),c(x.prototype,u,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(b),c(b,s,"Generator"),c(b,a,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),t.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}},t.values=k,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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,f):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),f},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),R(r),f}},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;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function i(t){return i="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},i(t)}function a(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void r(t)}u.done?e(s):Promise.resolve(s).then(n,o)}function u(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function u(t){a(i,n,o,u,s,"next",t)}function s(t){a(i,n,o,u,s,"throw",t)}u(void 0)}))}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(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,E(n.key),n)}}function p(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function l(t,e,r){return(e=E(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(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&&d(t,e)}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}function d(t,e){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},d(t,e)}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function m(t,e,r){return m=y()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&d(o,r.prototype),o},m.apply(null,arguments)}function g(t){var e="function"==typeof Map?new Map:void 0;return g=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;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,n)}function n(){return m(t,arguments,h(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,t)},g(t)}function v(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 b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w(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 b(t)}function x(t){var e=y();return function(){var r,n=h(t);if(e){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w(this,r)}}function A(t){return function(t){if(Array.isArray(t))return S(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 S(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 S(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 S(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}function E(t){var e=function(t,e){if("object"!=typeof t||null===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:String(e)}var R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function P(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function k(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var r=function t(){if(this instanceof t){var r=[null];r.push.apply(r,arguments);var n=Function.bind.apply(e,r);return new n}return 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 O=function(t){return t&&t.Math==Math&&t},j=O("object"==typeof globalThis&&globalThis)||O("object"==typeof window&&window)||O("object"==typeof self&&self)||O("object"==typeof R&&R)||function(){return this}()||Function("return this")(),I={},T=function(t){try{return!!t()}catch(t){return!0}},_=!T((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),N=!T((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),U=N,C=Function.prototype.call,L=U?C.bind(C):function(){return C.apply(C,arguments)},F={},B={}.propertyIsEnumerable,D=Object.getOwnPropertyDescriptor,M=D&&!B.call({1:2},1);F.f=M?function(t){var e=D(this,t);return!!e&&e.enumerable}:B;var q,W,G=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},z=N,H=Function.prototype,V=H.call,Y=z&&H.bind.bind(V,V),$=z?Y:function(t){return function(){return V.apply(t,arguments)}},J=$,Q=J({}.toString),K=J("".slice),X=function(t){return K(Q(t),8,-1)},Z=T,tt=X,et=Object,rt=$("".split),nt=Z((function(){return!et("z").propertyIsEnumerable(0)}))?function(t){return"String"==tt(t)?rt(t,""):et(t)}:et,ot=function(t){return null==t},it=ot,at=TypeError,ut=function(t){if(it(t))throw at("Can't call method on "+t);return t},st=nt,ct=ut,pt=function(t){return st(ct(t))},lt="object"==typeof document&&document.all,ft={all:lt,IS_HTMLDDA:void 0===lt&&void 0!==lt},ht=ft.all,dt=ft.IS_HTMLDDA?function(t){return"function"==typeof t||t===ht}:function(t){return"function"==typeof t},yt=dt,mt=ft.all,gt=ft.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:yt(t)||t===mt}:function(t){return"object"==typeof t?null!==t:yt(t)},vt=j,bt=dt,wt=function(t){return bt(t)?t:void 0},xt=function(t,e){return arguments.length<2?wt(vt[t]):vt[t]&&vt[t][e]},At=$({}.isPrototypeOf),St=j,Et="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Rt=St.process,Pt=St.Deno,kt=Rt&&Rt.versions||Pt&&Pt.version,Ot=kt&&kt.v8;Ot&&(W=(q=Ot.split("."))[0]>0&&q[0]<4?1:+(q[0]+q[1])),!W&&Et&&(!(q=Et.match(/Edge\/(\d+)/))||q[1]>=74)&&(q=Et.match(/Chrome\/(\d+)/))&&(W=+q[1]);var jt=W,It=jt,Tt=T,_t=!!Object.getOwnPropertySymbols&&!Tt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&It&&It<41})),Nt=_t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ut=xt,Ct=dt,Lt=At,Ft=Object,Bt=Nt?function(t){return"symbol"==typeof t}:function(t){var e=Ut("Symbol");return Ct(e)&&Lt(e.prototype,Ft(t))},Dt=String,Mt=function(t){try{return Dt(t)}catch(t){return"Object"}},qt=dt,Wt=Mt,Gt=TypeError,zt=function(t){if(qt(t))return t;throw Gt(Wt(t)+" is not a function")},Ht=zt,Vt=ot,Yt=function(t,e){var r=t[e];return Vt(r)?void 0:Ht(r)},$t=L,Jt=dt,Qt=gt,Kt=TypeError,Xt={exports:{}},Zt=j,te=Object.defineProperty,ee=function(t,e){try{te(Zt,t,{value:e,configurable:!0,writable:!0})}catch(r){Zt[t]=e}return e},re=ee,ne="__core-js_shared__",oe=j[ne]||re(ne,{}),ie=oe;(Xt.exports=function(t,e){return ie[t]||(ie[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"});var ae=Xt.exports,ue=ut,se=Object,ce=function(t){return se(ue(t))},pe=ce,le=$({}.hasOwnProperty),fe=Object.hasOwn||function(t,e){return le(pe(t),e)},he=$,de=0,ye=Math.random(),me=he(1..toString),ge=function(t){return"Symbol("+(void 0===t?"":t)+")_"+me(++de+ye,36)},ve=ae,be=fe,we=ge,xe=_t,Ae=Nt,Se=j.Symbol,Ee=ve("wks"),Re=Ae?Se.for||Se:Se&&Se.withoutSetter||we,Pe=function(t){return be(Ee,t)||(Ee[t]=xe&&be(Se,t)?Se[t]:Re("Symbol."+t)),Ee[t]},ke=L,Oe=gt,je=Bt,Ie=Yt,Te=function(t,e){var r,n;if("string"===e&&Jt(r=t.toString)&&!Qt(n=$t(r,t)))return n;if(Jt(r=t.valueOf)&&!Qt(n=$t(r,t)))return n;if("string"!==e&&Jt(r=t.toString)&&!Qt(n=$t(r,t)))return n;throw Kt("Can't convert object to primitive value")},_e=TypeError,Ne=Pe("toPrimitive"),Ue=function(t,e){if(!Oe(t)||je(t))return t;var r,n=Ie(t,Ne);if(n){if(void 0===e&&(e="default"),r=ke(n,t,e),!Oe(r)||je(r))return r;throw _e("Can't convert object to primitive value")}return void 0===e&&(e="number"),Te(t,e)},Ce=Ue,Le=Bt,Fe=function(t){var e=Ce(t,"string");return Le(e)?e:e+""},Be=gt,De=j.document,Me=Be(De)&&Be(De.createElement),qe=function(t){return Me?De.createElement(t):{}},We=qe,Ge=!_&&!T((function(){return 7!=Object.defineProperty(We("div"),"a",{get:function(){return 7}}).a})),ze=_,He=L,Ve=F,Ye=G,$e=pt,Je=Fe,Qe=fe,Ke=Ge,Xe=Object.getOwnPropertyDescriptor;I.f=ze?Xe:function(t,e){if(t=$e(t),e=Je(e),Ke)try{return Xe(t,e)}catch(t){}if(Qe(t,e))return Ye(!He(Ve.f,t,e),t[e])};var Ze={},tr=_&&T((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),er=gt,rr=String,nr=TypeError,or=function(t){if(er(t))return t;throw nr(rr(t)+" is not an object")},ir=_,ar=Ge,ur=tr,sr=or,cr=Fe,pr=TypeError,lr=Object.defineProperty,fr=Object.getOwnPropertyDescriptor,hr="enumerable",dr="configurable",yr="writable";Ze.f=ir?ur?function(t,e,r){if(sr(t),e=cr(e),sr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&yr in r&&!r.writable){var n=fr(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:dr in r?r.configurable:n.configurable,enumerable:hr in r?r.enumerable:n.enumerable,writable:!1})}return lr(t,e,r)}:lr:function(t,e,r){if(sr(t),e=cr(e),sr(r),ar)try{return lr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw pr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var mr=Ze,gr=G,vr=_?function(t,e,r){return mr.f(t,e,gr(1,r))}:function(t,e,r){return t[e]=r,t},br={exports:{}},wr=_,xr=fe,Ar=Function.prototype,Sr=wr&&Object.getOwnPropertyDescriptor,Er=xr(Ar,"name"),Rr={EXISTS:Er,PROPER:Er&&"something"===function(){}.name,CONFIGURABLE:Er&&(!wr||wr&&Sr(Ar,"name").configurable)},Pr=dt,kr=oe,Or=$(Function.toString);Pr(kr.inspectSource)||(kr.inspectSource=function(t){return Or(t)});var jr,Ir,Tr,_r=kr.inspectSource,Nr=dt,Ur=j.WeakMap,Cr=Nr(Ur)&&/native code/.test(String(Ur)),Lr=ge,Fr=ae("keys"),Br=function(t){return Fr[t]||(Fr[t]=Lr(t))},Dr={},Mr=Cr,qr=j,Wr=gt,Gr=vr,zr=fe,Hr=oe,Vr=Br,Yr=Dr,$r="Object already initialized",Jr=qr.TypeError,Qr=qr.WeakMap;if(Mr||Hr.state){var Kr=Hr.state||(Hr.state=new Qr);Kr.get=Kr.get,Kr.has=Kr.has,Kr.set=Kr.set,jr=function(t,e){if(Kr.has(t))throw Jr($r);return e.facade=t,Kr.set(t,e),e},Ir=function(t){return Kr.get(t)||{}},Tr=function(t){return Kr.has(t)}}else{var Xr=Vr("state");Yr[Xr]=!0,jr=function(t,e){if(zr(t,Xr))throw Jr($r);return e.facade=t,Gr(t,Xr,e),e},Ir=function(t){return zr(t,Xr)?t[Xr]:{}},Tr=function(t){return zr(t,Xr)}}var Zr={set:jr,get:Ir,has:Tr,enforce:function(t){return Tr(t)?Ir(t):jr(t,{})},getterFor:function(t){return function(e){var r;if(!Wr(e)||(r=Ir(e)).type!==t)throw Jr("Incompatible receiver, "+t+" required");return r}}},tn=$,en=T,rn=dt,nn=fe,on=_,an=Rr.CONFIGURABLE,un=_r,sn=Zr.enforce,cn=Zr.get,pn=String,ln=Object.defineProperty,fn=tn("".slice),hn=tn("".replace),dn=tn([].join),yn=on&&!en((function(){return 8!==ln((function(){}),"length",{value:8}).length})),mn=String(String).split("String"),gn=br.exports=function(t,e,r){"Symbol("===fn(pn(e),0,7)&&(e="["+hn(pn(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!nn(t,"name")||an&&t.name!==e)&&(on?ln(t,"name",{value:e,configurable:!0}):t.name=e),yn&&r&&nn(r,"arity")&&t.length!==r.arity&&ln(t,"length",{value:r.arity});try{r&&nn(r,"constructor")&&r.constructor?on&&ln(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=sn(t);return nn(n,"source")||(n.source=dn(mn,"string"==typeof e?e:"")),t};Function.prototype.toString=gn((function(){return rn(this)&&cn(this).source||un(this)}),"toString");var vn=br.exports,bn=dt,wn=Ze,xn=vn,An=ee,Sn=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(bn(r)&&xn(r,i,n),n.global)o?t[e]=r:An(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:wn.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},En={},Rn=Math.ceil,Pn=Math.floor,kn=Math.trunc||function(t){var e=+t;return(e>0?Pn:Rn)(e)},On=function(t){var e=+t;return e!=e||0===e?0:kn(e)},jn=On,In=Math.max,Tn=Math.min,_n=function(t,e){var r=jn(t);return r<0?In(r+e,0):Tn(r,e)},Nn=On,Un=Math.min,Cn=function(t){return t>0?Un(Nn(t),9007199254740991):0},Ln=Cn,Fn=function(t){return Ln(t.length)},Bn=pt,Dn=_n,Mn=Fn,qn=function(t){return function(e,r,n){var o,i=Bn(e),a=Mn(i),u=Dn(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},Wn={includes:qn(!0),indexOf:qn(!1)},Gn=fe,zn=pt,Hn=Wn.indexOf,Vn=Dr,Yn=$([].push),$n=function(t,e){var r,n=zn(t),o=0,i=[];for(r in n)!Gn(Vn,r)&&Gn(n,r)&&Yn(i,r);for(;e.length>o;)Gn(n,r=e[o++])&&(~Hn(i,r)||Yn(i,r));return i},Jn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Qn=$n,Kn=Jn.concat("length","prototype");En.f=Object.getOwnPropertyNames||function(t){return Qn(t,Kn)};var Xn={};Xn.f=Object.getOwnPropertySymbols;var Zn=xt,to=En,eo=Xn,ro=or,no=$([].concat),oo=Zn("Reflect","ownKeys")||function(t){var e=to.f(ro(t)),r=eo.f;return r?no(e,r(t)):e},io=fe,ao=oo,uo=I,so=Ze,co=T,po=dt,lo=/#|\.prototype\./,fo=function(t,e){var r=yo[ho(t)];return r==go||r!=mo&&(po(e)?co(e):!!e)},ho=fo.normalize=function(t){return String(t).replace(lo,".").toLowerCase()},yo=fo.data={},mo=fo.NATIVE="N",go=fo.POLYFILL="P",vo=fo,bo=j,wo=I.f,xo=vr,Ao=Sn,So=ee,Eo=function(t,e,r){for(var n=ao(e),o=so.f,i=uo.f,a=0;a<n.length;a++){var u=n[a];io(t,u)||r&&io(r,u)||o(t,u,i(e,u))}},Ro=vo,Po=function(t,e){var r,n,o,i,a,u=t.target,s=t.global,c=t.stat;if(r=s?bo:c?bo[u]||So(u,{}):(bo[u]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=wo(r,n))&&a.value:r[n],!Ro(s?n:u+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Eo(i,o)}(t.sham||o&&o.sham)&&xo(i,"sham",!0),Ao(r,n,i,t)}},ko=X,Oo=Array.isArray||function(t){return"Array"==ko(t)},jo=TypeError,Io=Fe,To=Ze,_o=G,No=function(t,e,r){var n=Io(e);n in t?To.f(t,n,_o(0,r)):t[n]=r},Uo={};Uo[Pe("toStringTag")]="z";var Co="[object z]"===String(Uo),Lo=Co,Fo=dt,Bo=X,Do=Pe("toStringTag"),Mo=Object,qo="Arguments"==Bo(function(){return arguments}()),Wo=Lo?Bo: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=Mo(t),Do))?r:qo?Bo(e):"Object"==(n=Bo(e))&&Fo(e.callee)?"Arguments":n},Go=$,zo=T,Ho=dt,Vo=Wo,Yo=_r,$o=function(){},Jo=[],Qo=xt("Reflect","construct"),Ko=/^\s*(?:class|function)\b/,Xo=Go(Ko.exec),Zo=!Ko.exec($o),ti=function(t){if(!Ho(t))return!1;try{return Qo($o,Jo,t),!0}catch(t){return!1}},ei=function(t){if(!Ho(t))return!1;switch(Vo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Zo||!!Xo(Ko,Yo(t))}catch(t){return!0}};ei.sham=!0;var ri=!Qo||zo((function(){var t;return ti(ti.call)||!ti(Object)||!ti((function(){t=!0}))||t}))?ei:ti,ni=Oo,oi=ri,ii=gt,ai=Pe("species"),ui=Array,si=function(t){var e;return ni(t)&&(e=t.constructor,(oi(e)&&(e===ui||ni(e.prototype))||ii(e)&&null===(e=e[ai]))&&(e=void 0)),void 0===e?ui:e},ci=function(t,e){return new(si(t))(0===e?0:e)},pi=T,li=jt,fi=Pe("species"),hi=function(t){return li>=51||!pi((function(){var e=[];return(e.constructor={})[fi]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},di=Po,yi=T,mi=Oo,gi=gt,vi=ce,bi=Fn,wi=function(t){if(t>9007199254740991)throw jo("Maximum allowed index exceeded");return t},xi=No,Ai=ci,Si=hi,Ei=jt,Ri=Pe("isConcatSpreadable"),Pi=Ei>=51||!yi((function(){var t=[];return t[Ri]=!1,t.concat()[0]!==t})),ki=function(t){if(!gi(t))return!1;var e=t[Ri];return void 0!==e?!!e:mi(t)};di({target:"Array",proto:!0,arity:1,forced:!Pi||!Si("concat")},{concat:function(t){var e,r,n,o,i,a=vi(this),u=Ai(a,0),s=0;for(e=-1,n=arguments.length;e<n;e++)if(ki(i=-1===e?a:arguments[e]))for(o=bi(i),wi(s+o),r=0;r<o;r++,s++)r in i&&xi(u,s,i[r]);else wi(s+1),xi(u,s++,i);return u.length=s,u}});var Oi=vn,ji=Ze,Ii=function(t,e,r){return r.get&&Oi(r.get,e,{getter:!0}),r.set&&Oi(r.set,e,{setter:!0}),ji.f(t,e,r)},Ti=_,_i=Rr.EXISTS,Ni=$,Ui=Ii,Ci=Function.prototype,Li=Ni(Ci.toString),Fi=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Bi=Ni(Fi.exec);Ti&&!_i&&Ui(Ci,"name",{configurable:!0,get:function(){try{return Bi(Fi,Li(this))[1]}catch(t){return""}}});var Di=$,Mi=zt,qi=dt,Wi=String,Gi=TypeError,zi=function(t,e,r){try{return Di(Mi(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},Hi=or,Vi=function(t){if("object"==typeof t||qi(t))return t;throw Gi("Can't set "+Wi(t)+" as a prototype")},Yi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=zi(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return Hi(r),Vi(n),e?t(r,n):r.__proto__=n,r}}():void 0);Po({target:"Object",stat:!0},{setPrototypeOf:Yi});var $i=function(t){f(r,t);var e=x(r);function r(t){var n;s(this,r);var o="This function is not supported in ".concat(t," environment");return n=e.call(this,o),Error.captureStackTrace&&Error.captureStackTrace(b(n),r),n.name="UnsupportedPlatformError",n.platform=t,Object.setPrototypeOf(b(n),r.prototype),n}return p(r)}(g(Error));function Ji(){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)}Ji.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)}}},Ji.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},Ji.prototype.getExtension=function(t){return(t=/^\s*([^;\s]*)/.test(t)&&RegExp.$1)&&this._extensions[t.toLowerCase()]||null};var Qi=P(new Ji({"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]})),Ki="4.0.2",Xi=function(){var t=u(o().mark((function t(){var e,r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":i(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":i(garoon))||null===garoon||"function"!=typeof(null===(e=garoon.connect)||void 0===e||null===(r=e.kintone)||void 0===r?void 0:r.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)}}(),Zi=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=Qi.getType(e)||void 0),new Blob([t],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Xi,getVersion:function(){return Ki},readFileFromPath:function(t){throw new $i("Browser")}}),ta=Wo,ea=String,ra=function(t){if("Symbol"===ta(t))throw TypeError("Cannot convert a Symbol value to a string");return ea(t)},na=or,oa=function(){var t=na(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},ia=T,aa=j.RegExp,ua=ia((function(){var t=aa("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),sa=ua||ia((function(){return!aa("a","y").sticky})),ca={BROKEN_CARET:ua||ia((function(){var t=aa("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:sa,UNSUPPORTED_Y:ua},pa={},la=$n,fa=Jn,ha=Object.keys||function(t){return la(t,fa)},da=_,ya=tr,ma=Ze,ga=or,va=pt,ba=ha;pa.f=da&&!ya?Object.defineProperties:function(t,e){ga(t);for(var r,n=va(e),o=ba(e),i=o.length,a=0;i>a;)ma.f(t,r=o[a++],n[r]);return t};var wa,xa=xt("document","documentElement"),Aa=or,Sa=pa,Ea=Jn,Ra=Dr,Pa=xa,ka=qe,Oa=Br("IE_PROTO"),ja=function(){},Ia=function(t){return"<script>"+t+"</"+"script>"},Ta=function(t){t.write(Ia("")),t.close();var e=t.parentWindow.Object;return t=null,e},_a=function(){try{wa=new ActiveXObject("htmlfile")}catch(t){}var t,e;_a="undefined"!=typeof document?document.domain&&wa?Ta(wa):((e=ka("iframe")).style.display="none",Pa.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Ia("document.F=Object")),t.close(),t.F):Ta(wa);for(var r=Ea.length;r--;)delete _a.prototype[Ea[r]];return _a()};Ra[Oa]=!0;var Na,Ua,Ca=Object.create||function(t,e){var r;return null!==t?(ja.prototype=Aa(t),r=new ja,ja.prototype=null,r[Oa]=t):r=_a(),void 0===e?r:Sa.f(r,e)},La=T,Fa=j.RegExp,Ba=La((function(){var t=Fa(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Da=T,Ma=j.RegExp,qa=Da((function(){var t=Ma("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Wa=L,Ga=$,za=ra,Ha=oa,Va=ca,Ya=Ca,$a=Zr.get,Ja=Ba,Qa=qa,Ka=ae("native-string-replace",String.prototype.replace),Xa=RegExp.prototype.exec,Za=Xa,tu=Ga("".charAt),eu=Ga("".indexOf),ru=Ga("".replace),nu=Ga("".slice),ou=(Ua=/b*/g,Wa(Xa,Na=/a/,"a"),Wa(Xa,Ua,"a"),0!==Na.lastIndex||0!==Ua.lastIndex),iu=Va.BROKEN_CARET,au=void 0!==/()??/.exec("")[1];(ou||au||iu||Ja||Qa)&&(Za=function(t){var e,r,n,o,i,a,u,s=this,c=$a(s),p=za(t),l=c.raw;if(l)return l.lastIndex=s.lastIndex,e=Wa(Za,l,p),s.lastIndex=l.lastIndex,e;var f=c.groups,h=iu&&s.sticky,d=Wa(Ha,s),y=s.source,m=0,g=p;if(h&&(d=ru(d,"y",""),-1===eu(d,"g")&&(d+="g"),g=nu(p,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==tu(p,s.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),au&&(r=new RegExp("^"+y+"$(?!\\s)",d)),ou&&(n=s.lastIndex),o=Wa(Xa,h?r:s,g),h?o?(o.input=nu(o.input,m),o[0]=nu(o[0],m),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:ou&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),au&&o&&o.length>1&&Wa(Ka,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=Ya(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var uu=Za;Po({target:"RegExp",proto:!0,forced:/./.exec!==uu},{exec:uu});var su=N,cu=Function.prototype,pu=cu.apply,lu=cu.call,fu="object"==typeof Reflect&&Reflect.apply||(su?lu.bind(pu):function(){return lu.apply(pu,arguments)}),hu=X,du=$,yu=function(t){if("Function"===hu(t))return du(t)},mu=yu,gu=Sn,vu=uu,bu=T,wu=Pe,xu=vr,Au=wu("species"),Su=RegExp.prototype,Eu=function(t,e,r,n){var o=wu(t),i=!bu((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!bu((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Au]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var u=mu(/./[o]),s=e(o,""[t],(function(t,e,r,n,o){var a=mu(t),s=e.exec;return s===vu||s===Su.exec?i&&!o?{done:!0,value:u(e,r,n)}:{done:!0,value:a(r,e,n)}:{done:!1}}));gu(String.prototype,t,s[0]),gu(Su,o,s[1])}n&&xu(Su[o],"sham",!0)},Ru=$,Pu=On,ku=ra,Ou=ut,ju=Ru("".charAt),Iu=Ru("".charCodeAt),Tu=Ru("".slice),_u=function(t){return function(e,r){var n,o,i=ku(Ou(e)),a=Pu(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=Iu(i,a))<55296||n>56319||a+1===u||(o=Iu(i,a+1))<56320||o>57343?t?ju(i,a):n:t?Tu(i,a,a+2):o-56320+(n-55296<<10)+65536}},Nu={codeAt:_u(!1),charAt:_u(!0)},Uu=Nu.charAt,Cu=function(t,e,r){return e+(r?Uu(t,e).length:1)},Lu=$,Fu=ce,Bu=Math.floor,Du=Lu("".charAt),Mu=Lu("".replace),qu=Lu("".slice),Wu=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Gu=/\$([$&'`]|\d{1,2})/g,zu=L,Hu=or,Vu=dt,Yu=X,$u=uu,Ju=TypeError,Qu=function(t,e){var r=t.exec;if(Vu(r)){var n=zu(r,t,e);return null!==n&&Hu(n),n}if("RegExp"===Yu(t))return zu($u,t,e);throw Ju("RegExp#exec called on incompatible receiver")},Ku=fu,Xu=L,Zu=$,ts=Eu,es=T,rs=or,ns=dt,os=ot,is=On,as=Cn,us=ra,ss=ut,cs=Cu,ps=Yt,ls=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=Gu;return void 0!==o&&(o=Fu(o),s=Wu),Mu(i,s,(function(i,s){var c;switch(Du(s,0)){case"$":return"$";case"&":return t;case"`":return qu(e,0,r);case"'":return qu(e,a);case"<":c=o[qu(s,1,-1)];break;default:var p=+s;if(0===p)return i;if(p>u){var l=Bu(p/10);return 0===l?i:l<=u?void 0===n[l-1]?Du(s,1):n[l-1]+Du(s,1):i}c=n[p-1]}return void 0===c?"":c}))},fs=Qu,hs=Pe("replace"),ds=Math.max,ys=Math.min,ms=Zu([].concat),gs=Zu([].push),vs=Zu("".indexOf),bs=Zu("".slice),ws="$0"==="a".replace(/./,"$0"),xs=!!/./[hs]&&""===/./[hs]("a","$0");ts("replace",(function(t,e,r){var n=xs?"$":"$0";return[function(t,r){var n=ss(this),o=os(t)?void 0:ps(t,hs);return o?Xu(o,t,n,r):Xu(e,us(n),t,r)},function(t,o){var i=rs(this),a=us(t);if("string"==typeof o&&-1===vs(o,n)&&-1===vs(o,"$<")){var u=r(e,i,a,o);if(u.done)return u.value}var s=ns(o);s||(o=us(o));var c=i.global;if(c){var p=i.unicode;i.lastIndex=0}for(var l=[];;){var f=fs(i,a);if(null===f)break;if(gs(l,f),!c)break;""===us(f[0])&&(i.lastIndex=cs(a,as(i.lastIndex),p))}for(var h,d="",y=0,m=0;m<l.length;m++){for(var g=us((f=l[m])[0]),v=ds(ys(is(f.index),a.length),0),b=[],w=1;w<f.length;w++)gs(b,void 0===(h=f[w])?h:String(h));var x=f.groups;if(s){var A=ms([g],b,v,a);void 0!==x&&gs(A,x);var S=us(Ku(o,void 0,A))}else S=ls(g,a,v,b,x,o);v>=y&&(d+=bs(a,y,v)+S,y=v+g.length)}return d+bs(a,y)}]}),!!es((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!ws||xs);var As=Pe,Ss=Ca,Es=Ze.f,Rs=As("unscopables"),Ps=Array.prototype;null==Ps[Rs]&&Es(Ps,Rs,{configurable:!0,value:Ss(null)});var ks,Os,js,Is={},Ts=!T((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),_s=fe,Ns=dt,Us=ce,Cs=Ts,Ls=Br("IE_PROTO"),Fs=Object,Bs=Fs.prototype,Ds=Cs?Fs.getPrototypeOf:function(t){var e=Us(t);if(_s(e,Ls))return e[Ls];var r=e.constructor;return Ns(r)&&e instanceof r?r.prototype:e instanceof Fs?Bs:null},Ms=T,qs=dt,Ws=gt,Gs=Ds,zs=Sn,Hs=Pe("iterator"),Vs=!1;[].keys&&("next"in(js=[].keys())?(Os=Gs(Gs(js)))!==Object.prototype&&(ks=Os):Vs=!0);var Ys=!Ws(ks)||Ms((function(){var t={};return ks[Hs].call(t)!==t}));Ys&&(ks={}),qs(ks[Hs])||zs(ks,Hs,(function(){return this}));var $s={IteratorPrototype:ks,BUGGY_SAFARI_ITERATORS:Vs},Js=Ze.f,Qs=fe,Ks=Pe("toStringTag"),Xs=function(t,e,r){t&&!r&&(t=t.prototype),t&&!Qs(t,Ks)&&Js(t,Ks,{configurable:!0,value:e})},Zs=$s.IteratorPrototype,tc=Ca,ec=G,rc=Xs,nc=Is,oc=function(){return this},ic=function(t,e,r,n){var o=e+" Iterator";return t.prototype=tc(Zs,{next:ec(+!n,r)}),rc(t,o,!1),nc[o]=oc,t},ac=Po,uc=L,sc=dt,cc=ic,pc=Ds,lc=Yi,fc=Xs,hc=vr,dc=Sn,yc=Is,mc=Rr.PROPER,gc=Rr.CONFIGURABLE,vc=$s.IteratorPrototype,bc=$s.BUGGY_SAFARI_ITERATORS,wc=Pe("iterator"),xc="keys",Ac="values",Sc="entries",Ec=function(){return this},Rc=function(t,e,r,n,o,i,a){cc(r,e,n);var u,s,c,p=function(t){if(t===o&&y)return y;if(!bc&&t in h)return h[t];switch(t){case xc:case Ac:case Sc:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",f=!1,h=t.prototype,d=h[wc]||h["@@iterator"]||o&&h[o],y=!bc&&d||p(o),m="Array"==e&&h.entries||d;if(m&&(u=pc(m.call(new t)))!==Object.prototype&&u.next&&(pc(u)!==vc&&(lc?lc(u,vc):sc(u[wc])||dc(u,wc,Ec)),fc(u,l,!0)),mc&&o==Ac&&d&&d.name!==Ac&&(gc?hc(h,"name",Ac):(f=!0,y=function(){return uc(d,this)})),o)if(s={values:p(Ac),keys:i?y:p(xc),entries:p(Sc)},a)for(c in s)(bc||f||!(c in h))&&dc(h,c,s[c]);else ac({target:e,proto:!0,forced:bc||f},s);return h[wc]!==y&&dc(h,wc,y,{name:o}),yc[e]=y,s},Pc=function(t,e){return{value:t,done:e}},kc=pt,Oc=function(t){Ps[Rs][t]=!0},jc=Is,Ic=Zr,Tc=Ze.f,_c=Rc,Nc=Pc,Uc=_,Cc="Array Iterator",Lc=Ic.set,Fc=Ic.getterFor(Cc),Bc=_c(Array,"Array",(function(t,e){Lc(this,{type:Cc,target:kc(t),index:0,kind:e})}),(function(){var t=Fc(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,Nc(void 0,!0)):Nc("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),Dc=jc.Arguments=jc.Array;if(Oc("keys"),Oc("values"),Oc("entries"),Uc&&"values"!==Dc.name)try{Tc(Dc,"name",{value:"values"})}catch(t){}var Mc=Wo,qc=Co?{}.toString:function(){return"[object "+Mc(this)+"]"};Co||Sn(Object.prototype,"toString",qc,{unsafe:!0});var Wc=Nu.charAt,Gc=ra,zc=Zr,Hc=Rc,Vc=Pc,Yc="String Iterator",$c=zc.set,Jc=zc.getterFor(Yc);Hc(String,"String",(function(t){$c(this,{type:Yc,string:Gc(t),index:0})}),(function(){var t,e=Jc(this),r=e.string,n=e.index;return n>=r.length?Vc(void 0,!0):(t=Wc(r,n),e.index+=t.length,Vc(t,!1))}));var Qc={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},Kc=qe("span").classList,Xc=Kc&&Kc.constructor&&Kc.constructor.prototype,Zc=Xc===Object.prototype?void 0:Xc,tp=j,ep=Qc,rp=Zc,np=Bc,op=vr,ip=Pe,ap=ip("iterator"),up=ip("toStringTag"),sp=np.values,cp=function(t,e){if(t){if(t[ap]!==sp)try{op(t,ap,sp)}catch(e){t[ap]=sp}if(t[up]||op(t,up,e),ep[e])for(var r in np)if(t[r]!==np[r])try{op(t,r,np[r])}catch(e){t[r]=np[r]}}};for(var pp in ep)cp(tp[pp]&&tp[pp].prototype,pp);cp(rp,"DOMTokenList");var lp=T,fp=_,hp=Pe("iterator"),dp=!lp((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),!e.size&&!fp||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[hp]||"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"!==r||"x"!==new URL("http://x",void 0).host})),yp=zt,mp=N,gp=yu(yu.bind),vp=function(t,e){return yp(t),void 0===e?t:mp?gp(t,e):function(){return t.apply(e,arguments)}},bp=At,wp=TypeError,xp=function(t,e){if(bp(e,t))return t;throw wp("Incorrect invocation")},Ap=_,Sp=$,Ep=L,Rp=T,Pp=ha,kp=Xn,Op=F,jp=ce,Ip=nt,Tp=Object.assign,_p=Object.defineProperty,Np=Sp([].concat),Up=!Tp||Rp((function(){if(Ap&&1!==Tp({b:1},Tp(_p({},"a",{enumerable:!0,get:function(){_p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=Tp({},t)[r]||Pp(Tp({},e)).join("")!=n}))?function(t,e){for(var r=jp(t),n=arguments.length,o=1,i=kp.f,a=Op.f;n>o;)for(var u,s=Ip(arguments[o++]),c=i?Np(Pp(s),i(s)):Pp(s),p=c.length,l=0;p>l;)u=c[l++],Ap&&!Ep(a,s,u)||(r[u]=s[u]);return r}:Tp,Cp=L,Lp=or,Fp=Yt,Bp=or,Dp=function(t,e,r){var n,o;Lp(t);try{if(!(n=Fp(t,"return"))){if("throw"===e)throw r;return r}n=Cp(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return Lp(n),r},Mp=Is,qp=Pe("iterator"),Wp=Array.prototype,Gp=Wo,zp=Yt,Hp=ot,Vp=Is,Yp=Pe("iterator"),$p=function(t){if(!Hp(t))return zp(t,Yp)||zp(t,"@@iterator")||Vp[Gp(t)]},Jp=L,Qp=zt,Kp=or,Xp=Mt,Zp=$p,tl=TypeError,el=function(t,e){var r=arguments.length<2?Zp(t):e;if(Qp(r))return Kp(Jp(r,t));throw tl(Xp(t)+" is not iterable")},rl=vp,nl=L,ol=ce,il=function(t,e,r,n){try{return n?e(Bp(r)[0],r[1]):e(r)}catch(e){Dp(t,"throw",e)}},al=function(t){return void 0!==t&&(Mp.Array===t||Wp[qp]===t)},ul=ri,sl=Fn,cl=No,pl=el,ll=$p,fl=Array,hl=_n,dl=Fn,yl=No,ml=Array,gl=Math.max,vl=function(t,e,r){for(var n=dl(t),o=hl(e,n),i=hl(void 0===r?n:r,n),a=ml(gl(i-o,0)),u=0;o<i;o++,u++)yl(a,u,t[o]);return a.length=u,a},bl=$,wl=2147483647,xl=/[^\0-\u007E]/,Al=/[.\u3002\uFF0E\uFF61]/g,Sl="Overflow: input needs wider integers to process",El=RangeError,Rl=bl(Al.exec),Pl=Math.floor,kl=String.fromCharCode,Ol=bl("".charCodeAt),jl=bl([].join),Il=bl([].push),Tl=bl("".replace),_l=bl("".split),Nl=bl("".toLowerCase),Ul=function(t){return t+22+75*(t<26)},Cl=function(t,e,r){var n=0;for(t=r?Pl(t/700):t>>1,t+=Pl(t/e);t>455;)t=Pl(t/35),n+=36;return Pl(n+36*t/(t+38))},Ll=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=Ol(t,r++);if(o>=55296&&o<=56319&&r<n){var i=Ol(t,r++);56320==(64512&i)?Il(e,((1023&o)<<10)+(1023&i)+65536):(Il(e,o),r--)}else Il(e,o)}return e}(t);var r,n,o=t.length,i=128,a=0,u=72;for(r=0;r<t.length;r++)(n=t[r])<128&&Il(e,kl(n));var s=e.length,c=s;for(s&&Il(e,"-");c<o;){var p=wl;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<p&&(p=n);var l=c+1;if(p-i>Pl((wl-a)/l))throw El(Sl);for(a+=(p-i)*l,i=p,r=0;r<t.length;r++){if((n=t[r])<i&&++a>wl)throw El(Sl);if(n==i){for(var f=a,h=36;;){var d=h<=u?1:h>=u+26?26:h-u;if(f<d)break;var y=f-d,m=36-d;Il(e,kl(Ul(d+y%m))),f=Pl(y/m),h+=36}Il(e,kl(Ul(f))),u=Cl(a,l,c==s),a=0,c++}}a++,i++}return jl(e,"")},Fl=TypeError,Bl=function(t,e){if(t<e)throw Fl("Not enough arguments");return t},Dl=Sn,Ml=vl,ql=Math.floor,Wl=function(t,e){var r=t.length,n=ql(r/2);return r<8?Gl(t,e):zl(t,Wl(Ml(t,0,n),e),Wl(Ml(t,n),e),e)},Gl=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},zl=function(t,e,r,n){for(var o=e.length,i=r.length,a=0,u=0;a<o||u<i;)t[a+u]=a<o&&u<i?n(e[a],r[u])<=0?e[a++]:r[u++]:a<o?e[a++]:r[u++];return t},Hl=Po,Vl=j,Yl=L,$l=$,Jl=_,Ql=dp,Kl=Sn,Xl=Ii,Zl=function(t,e,r){for(var n in e)Dl(t,n,e[n],r);return t},tf=Xs,ef=ic,rf=Zr,nf=xp,of=dt,af=fe,uf=vp,sf=Wo,cf=or,pf=gt,lf=ra,ff=Ca,hf=G,df=el,yf=$p,mf=Bl,gf=Wl,vf=Pe("iterator"),bf="URLSearchParams",wf="URLSearchParamsIterator",xf=rf.set,Af=rf.getterFor(bf),Sf=rf.getterFor(wf),Ef=Object.getOwnPropertyDescriptor,Rf=function(t){if(!Jl)return Vl[t];var e=Ef(Vl,t);return e&&e.value},Pf=Rf("fetch"),kf=Rf("Request"),Of=Rf("Headers"),jf=kf&&kf.prototype,If=Of&&Of.prototype,Tf=Vl.RegExp,_f=Vl.TypeError,Nf=Vl.decodeURIComponent,Uf=Vl.encodeURIComponent,Cf=$l("".charAt),Lf=$l([].join),Ff=$l([].push),Bf=$l("".replace),Df=$l([].shift),Mf=$l([].splice),qf=$l("".split),Wf=$l("".slice),Gf=/\+/g,zf=Array(4),Hf=function(t){return zf[t-1]||(zf[t-1]=Tf("((?:%[\\da-f]{2}){"+t+"})","gi"))},Vf=function(t){try{return Nf(t)}catch(e){return t}},Yf=function(t){var e=Bf(t,Gf," "),r=4;try{return Nf(e)}catch(t){for(;r;)e=Bf(e,Hf(r--),Vf);return e}},$f=/[!'()~]|%20/g,Jf={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Qf=function(t){return Jf[t]},Kf=function(t){return Bf(Uf(t),$f,Qf)},Xf=ef((function(t,e){xf(this,{type:wf,iterator:df(Af(t).entries),kind:e})}),"Iterator",(function(){var t=Sf(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r}),!0),Zf=function(t){this.entries=[],this.url=null,void 0!==t&&(pf(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===Cf(t,0)?Wf(t,1):t:lf(t)))};Zf.prototype={type:bf,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,u,s=yf(t);if(s)for(r=(e=df(t,s)).next;!(n=Yl(r,e)).done;){if(i=(o=df(cf(n.value))).next,(a=Yl(i,o)).done||(u=Yl(i,o)).done||!Yl(i,o).done)throw _f("Expected sequence with length 2");Ff(this.entries,{key:lf(a.value),value:lf(u.value)})}else for(var c in t)af(t,c)&&Ff(this.entries,{key:c,value:lf(t[c])})},parseQuery:function(t){if(t)for(var e,r,n=qf(t,"&"),o=0;o<n.length;)(e=n[o++]).length&&(r=qf(e,"="),Ff(this.entries,{key:Yf(Df(r)),value:Yf(Lf(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],Ff(r,Kf(t.key)+"="+Kf(t.value));return Lf(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var th=function(){nf(this,eh);var t=arguments.length>0?arguments[0]:void 0,e=xf(this,new Zf(t));Jl||(this.length=e.entries.length)},eh=th.prototype;if(Zl(eh,{append:function(t,e){mf(arguments.length,2);var r=Af(this);Ff(r.entries,{key:lf(t),value:lf(e)}),Jl||this.length++,r.updateURL()},delete:function(t){mf(arguments.length,1);for(var e=Af(this),r=e.entries,n=lf(t),o=0;o<r.length;)r[o].key===n?Mf(r,o,1):o++;Jl||(this.length=r.length),e.updateURL()},get:function(t){mf(arguments.length,1);for(var e=Af(this).entries,r=lf(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){mf(arguments.length,1);for(var e=Af(this).entries,r=lf(t),n=[],o=0;o<e.length;o++)e[o].key===r&&Ff(n,e[o].value);return n},has:function(t){mf(arguments.length,1);for(var e=Af(this).entries,r=lf(t),n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){mf(arguments.length,1);for(var r,n=Af(this),o=n.entries,i=!1,a=lf(t),u=lf(e),s=0;s<o.length;s++)(r=o[s]).key===a&&(i?Mf(o,s--,1):(i=!0,r.value=u));i||Ff(o,{key:a,value:u}),Jl||(this.length=o.length),n.updateURL()},sort:function(){var t=Af(this);gf(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=Af(this).entries,n=uf(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 Xf(this,"keys")},values:function(){return new Xf(this,"values")},entries:function(){return new Xf(this,"entries")}},{enumerable:!0}),Kl(eh,vf,eh.entries,{name:"entries"}),Kl(eh,"toString",(function(){return Af(this).serialize()}),{enumerable:!0}),Jl&&Xl(eh,"size",{get:function(){return Af(this).entries.length},configurable:!0,enumerable:!0}),tf(th,bf),Hl({global:!0,constructor:!0,forced:!Ql},{URLSearchParams:th}),!Ql&&of(Of)){var rh=$l(If.has),nh=$l(If.set),oh=function(t){if(pf(t)){var e,r=t.body;if(sf(r)===bf)return e=t.headers?new Of(t.headers):new Of,rh(e,"content-type")||nh(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),ff(t,{body:hf(0,lf(r)),headers:hf(0,e)})}return t};if(of(Pf)&&Hl({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return Pf(t,arguments.length>1?oh(arguments[1]):{})}}),of(kf)){var ih=function(t){return nf(this,jf),new kf(t,arguments.length>1?oh(arguments[1]):{})};jf.constructor=ih,ih.prototype=jf,Hl({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ih})}}var ah,uh=Po,sh=_,ch=dp,ph=j,lh=vp,fh=$,hh=Sn,dh=Ii,yh=xp,mh=fe,gh=Up,vh=function(t){var e=ol(t),r=ul(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=rl(o,n>2?arguments[2]:void 0));var a,u,s,c,p,l,f=ll(e),h=0;if(!f||this===fl&&al(f))for(a=sl(e),u=r?new this(a):fl(a);a>h;h++)l=i?o(e[h],h):e[h],cl(u,h,l);else for(p=(c=pl(e,f)).next,u=r?new this:[];!(s=nl(p,c)).done;h++)l=i?il(c,o,[s.value,h],!0):s.value,cl(u,h,l);return u.length=h,u},bh=vl,wh=Nu.codeAt,xh=function(t){var e,r,n=[],o=_l(Tl(Nl(t),Al,"."),".");for(e=0;e<o.length;e++)r=o[e],Il(n,Rl(xl,r)?"xn--"+Ll(r):r);return jl(n,".")},Ah=ra,Sh=Xs,Eh=Bl,Rh={URLSearchParams:th,getState:Af},Ph=Zr,kh=Ph.set,Oh=Ph.getterFor("URL"),jh=Rh.URLSearchParams,Ih=Rh.getState,Th=ph.URL,_h=ph.TypeError,Nh=ph.parseInt,Uh=Math.floor,Ch=Math.pow,Lh=fh("".charAt),Fh=fh(/./.exec),Bh=fh([].join),Dh=fh(1..toString),Mh=fh([].pop),qh=fh([].push),Wh=fh("".replace),Gh=fh([].shift),zh=fh("".split),Hh=fh("".slice),Vh=fh("".toLowerCase),Yh=fh([].unshift),$h="Invalid scheme",Jh="Invalid host",Qh="Invalid port",Kh=/[a-z]/i,Xh=/[\d+-.a-z]/i,Zh=/\d/,td=/^0x/i,ed=/^[0-7]+$/,rd=/^\d+$/,nd=/^[\da-f]+$/i,od=/[\0\t\n\r #%/:<>?@[\\\]^|]/,id=/[\0\t\n\r #/:<>?@[\\\]^|]/,ad=/^[\u0000-\u0020]+/,ud=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,sd=/[\t\n\r]/g,cd=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)Yh(e,t%256),t=Uh(t/256);return Bh(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+=Dh(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},pd={},ld=gh({},pd,{" ":1,'"':1,"<":1,">":1,"`":1}),fd=gh({},ld,{"#":1,"?":1,"{":1,"}":1}),hd=gh({},fd,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),dd=function(t,e){var r=wh(t,0);return r>32&&r<127&&!mh(e,t)?t:encodeURIComponent(t)},yd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},md=function(t,e){var r;return 2==t.length&&Fh(Kh,Lh(t,0))&&(":"==(r=Lh(t,1))||!e&&"|"==r)},gd=function(t){var e;return t.length>1&&md(Hh(t,0,2))&&(2==t.length||"/"===(e=Lh(t,2))||"\\"===e||"?"===e||"#"===e)},vd=function(t){return"."===t||"%2e"===Vh(t)},bd={},wd={},xd={},Ad={},Sd={},Ed={},Rd={},Pd={},kd={},Od={},jd={},Id={},Td={},_d={},Nd={},Ud={},Cd={},Ld={},Fd={},Bd={},Dd={},Md=function(t,e,r){var n,o,i,a=Ah(t);if(e){if(o=this.parse(a))throw _h(o);this.searchParams=null}else{if(void 0!==r&&(n=new Md(r,!0)),o=this.parse(a,null,n))throw _h(o);(i=Ih(new jh)).bindURL(this),this.searchParams=i}};Md.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,u,s=this,c=e||bd,p=0,l="",f=!1,h=!1,d=!1;for(t=Ah(t),e||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,t=Wh(t,ad,""),t=Wh(t,ud,"$1")),t=Wh(t,sd,""),n=vh(t);p<=n.length;){switch(o=n[p],c){case bd:if(!o||!Fh(Kh,o)){if(e)return $h;c=xd;continue}l+=Vh(o),c=wd;break;case wd:if(o&&(Fh(Xh,o)||"+"==o||"-"==o||"."==o))l+=Vh(o);else{if(":"!=o){if(e)return $h;l="",c=xd,p=0;continue}if(e&&(s.isSpecial()!=mh(yd,l)||"file"==l&&(s.includesCredentials()||null!==s.port)||"file"==s.scheme&&!s.host))return;if(s.scheme=l,e)return void(s.isSpecial()&&yd[s.scheme]==s.port&&(s.port=null));l="","file"==s.scheme?c=_d:s.isSpecial()&&r&&r.scheme==s.scheme?c=Ad:s.isSpecial()?c=Pd:"/"==n[p+1]?(c=Sd,p++):(s.cannotBeABaseURL=!0,qh(s.path,""),c=Fd)}break;case xd:if(!r||r.cannotBeABaseURL&&"#"!=o)return $h;if(r.cannotBeABaseURL&&"#"==o){s.scheme=r.scheme,s.path=bh(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,c=Dd;break}c="file"==r.scheme?_d:Ed;continue;case Ad:if("/"!=o||"/"!=n[p+1]){c=Ed;continue}c=kd,p++;break;case Sd:if("/"==o){c=Od;break}c=Ld;continue;case Ed:if(s.scheme=r.scheme,o==ah)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bh(r.path),s.query=r.query;else if("/"==o||"\\"==o&&s.isSpecial())c=Rd;else if("?"==o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bh(r.path),s.query="",c=Bd;else{if("#"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bh(r.path),s.path.length--,c=Ld;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bh(r.path),s.query=r.query,s.fragment="",c=Dd}break;case Rd:if(!s.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,c=Ld;continue}c=Od}else c=kd;break;case Pd:if(c=kd,"/"!=o||"/"!=Lh(l,p+1))continue;p++;break;case kd:if("/"!=o&&"\\"!=o){c=Od;continue}break;case Od:if("@"==o){f&&(l="%40"+l),f=!0,i=vh(l);for(var y=0;y<i.length;y++){var m=i[y];if(":"!=m||d){var g=dd(m,hd);d?s.password+=g:s.username+=g}else d=!0}l=""}else if(o==ah||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(f&&""==l)return"Invalid authority";p-=vh(l).length+1,l="",c=jd}else l+=o;break;case jd:case Id:if(e&&"file"==s.scheme){c=Ud;continue}if(":"!=o||h){if(o==ah||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(s.isSpecial()&&""==l)return Jh;if(e&&""==l&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(l))return a;if(l="",c=Cd,e)return;continue}"["==o?h=!0:"]"==o&&(h=!1),l+=o}else{if(""==l)return Jh;if(a=s.parseHost(l))return a;if(l="",c=Td,e==Id)return}break;case Td:if(!Fh(Zh,o)){if(o==ah||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()||e){if(""!=l){var v=Nh(l,10);if(v>65535)return Qh;s.port=s.isSpecial()&&v===yd[s.scheme]?null:v,l=""}if(e)return;c=Cd;continue}return Qh}l+=o;break;case _d:if(s.scheme="file","/"==o||"\\"==o)c=Nd;else{if(!r||"file"!=r.scheme){c=Ld;continue}if(o==ah)s.host=r.host,s.path=bh(r.path),s.query=r.query;else if("?"==o)s.host=r.host,s.path=bh(r.path),s.query="",c=Bd;else{if("#"!=o){gd(Bh(bh(n,p),""))||(s.host=r.host,s.path=bh(r.path),s.shortenPath()),c=Ld;continue}s.host=r.host,s.path=bh(r.path),s.query=r.query,s.fragment="",c=Dd}}break;case Nd:if("/"==o||"\\"==o){c=Ud;break}r&&"file"==r.scheme&&!gd(Bh(bh(n,p),""))&&(md(r.path[0],!0)?qh(s.path,r.path[0]):s.host=r.host),c=Ld;continue;case Ud:if(o==ah||"/"==o||"\\"==o||"?"==o||"#"==o){if(!e&&md(l))c=Ld;else if(""==l){if(s.host="",e)return;c=Cd}else{if(a=s.parseHost(l))return a;if("localhost"==s.host&&(s.host=""),e)return;l="",c=Cd}continue}l+=o;break;case Cd:if(s.isSpecial()){if(c=Ld,"/"!=o&&"\\"!=o)continue}else if(e||"?"!=o)if(e||"#"!=o){if(o!=ah&&(c=Ld,"/"!=o))continue}else s.fragment="",c=Dd;else s.query="",c=Bd;break;case Ld:if(o==ah||"/"==o||"\\"==o&&s.isSpecial()||!e&&("?"==o||"#"==o)){if(".."===(u=Vh(u=l))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(s.shortenPath(),"/"==o||"\\"==o&&s.isSpecial()||qh(s.path,"")):vd(l)?"/"==o||"\\"==o&&s.isSpecial()||qh(s.path,""):("file"==s.scheme&&!s.path.length&&md(l)&&(s.host&&(s.host=""),l=Lh(l,0)+":"),qh(s.path,l)),l="","file"==s.scheme&&(o==ah||"?"==o||"#"==o))for(;s.path.length>1&&""===s.path[0];)Gh(s.path);"?"==o?(s.query="",c=Bd):"#"==o&&(s.fragment="",c=Dd)}else l+=dd(o,fd);break;case Fd:"?"==o?(s.query="",c=Bd):"#"==o?(s.fragment="",c=Dd):o!=ah&&(s.path[0]+=dd(o,pd));break;case Bd:e||"#"!=o?o!=ah&&("'"==o&&s.isSpecial()?s.query+="%27":s.query+="#"==o?"%23":dd(o,pd)):(s.fragment="",c=Dd);break;case Dd:o!=ah&&(s.fragment+=dd(o,ld))}p++}},parseHost:function(t){var e,r,n;if("["==Lh(t,0)){if("]"!=Lh(t,t.length-1))return Jh;if(e=function(t){var e,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,p=null,l=0,f=function(){return Lh(t,l)};if(":"==f()){if(":"!=Lh(t,1))return;l+=2,p=++c}for(;f();){if(8==c)return;if(":"!=f()){for(e=r=0;r<4&&Fh(nd,f());)e=16*e+Nh(f(),16),l++,r++;if("."==f()){if(0==r)return;if(l-=r,c>6)return;for(n=0;f();){if(o=null,n>0){if(!("."==f()&&n<4))return;l++}if(!Fh(Zh,f()))return;for(;Fh(Zh,f());){if(i=Nh(f(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(l++,!f())return}else if(f())return;s[c++]=e}else{if(null!==p)return;l++,p=++c}}if(null!==p)for(a=c-p,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[p+a-1],s[p+--a]=u;else if(8!=c)return;return s}(Hh(t,1,-1)),!e)return Jh;this.host=e}else if(this.isSpecial()){if(t=xh(t),Fh(od,t))return Jh;if(e=function(t){var e,r,n,o,i,a,u,s=zh(t,".");if(s.length&&""==s[s.length-1]&&s.length--,(e=s.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=s[n]))return t;if(i=10,o.length>1&&"0"==Lh(o,0)&&(i=Fh(td,o)?16:8,o=Hh(o,8==i?1:2)),""===o)a=0;else{if(!Fh(10==i?rd:8==i?ed:nd,o))return t;a=Nh(o,i)}qh(r,a)}for(n=0;n<e;n++)if(a=r[n],n==e-1){if(a>=Ch(256,5-e))return null}else if(a>255)return null;for(u=Mh(r),n=0;n<r.length;n++)u+=r[n]*Ch(256,3-n);return u}(t),null===e)return Jh;this.host=e}else{if(Fh(id,t))return Jh;for(e="",r=vh(t),n=0;n<r.length;n++)e+=dd(r[n],pd);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return mh(yd,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"==this.scheme&&1==e&&md(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,u=t.query,s=t.fragment,c=e+":";return null!==o?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=cd(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+Bh(a,"/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},setHref:function(t){var e=this.parse(t);if(e)throw _h(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"==t)try{return new qd(t.path[0]).origin}catch(t){return"null"}return"file"!=t&&this.isSpecial()?t+"://"+cd(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(Ah(t)+":",bd)},getUsername:function(){return this.username},setUsername:function(t){var e=vh(Ah(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=dd(e[r],hd)}},getPassword:function(){return this.password},setPassword:function(t){var e=vh(Ah(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=dd(e[r],hd)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?cd(t):cd(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,jd)},getHostname:function(){var t=this.host;return null===t?"":cd(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Id)},getPort:function(){var t=this.port;return null===t?"":Ah(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""==(t=Ah(t))?this.port=null:this.parse(t,Td))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+Bh(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Cd))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""==(t=Ah(t))?this.query=null:("?"==Lh(t,0)&&(t=Hh(t,1)),this.query="",this.parse(t,Bd)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!=(t=Ah(t))?("#"==Lh(t,0)&&(t=Hh(t,1)),this.fragment="",this.parse(t,Dd)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var qd=function(t){var e=yh(this,Wd),r=Eh(arguments.length,1)>1?arguments[1]:void 0,n=kh(e,new Md(t,!1,r));sh||(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())},Wd=qd.prototype,Gd=function(t,e){return{get:function(){return Oh(this)[t]()},set:e&&function(t){return Oh(this)[e](t)},configurable:!0,enumerable:!0}};if(sh&&(dh(Wd,"href",Gd("serialize","setHref")),dh(Wd,"origin",Gd("getOrigin")),dh(Wd,"protocol",Gd("getProtocol","setProtocol")),dh(Wd,"username",Gd("getUsername","setUsername")),dh(Wd,"password",Gd("getPassword","setPassword")),dh(Wd,"host",Gd("getHost","setHost")),dh(Wd,"hostname",Gd("getHostname","setHostname")),dh(Wd,"port",Gd("getPort","setPort")),dh(Wd,"pathname",Gd("getPathname","setPathname")),dh(Wd,"search",Gd("getSearch","setSearch")),dh(Wd,"searchParams",Gd("getSearchParams")),dh(Wd,"hash",Gd("getHash","setHash"))),hh(Wd,"toJSON",(function(){return Oh(this).serialize()}),{enumerable:!0}),hh(Wd,"toString",(function(){return Oh(this).serialize()}),{enumerable:!0}),Th){var zd=Th.createObjectURL,Hd=Th.revokeObjectURL;zd&&hh(qd,"createObjectURL",lh(zd,Th)),Hd&&hh(qd,"revokeObjectURL",lh(Hd,Th))}Sh(qd,"URL"),uh({global:!0,constructor:!0,forced:!ch,sham:!sh},{URL:qd});var Vd=vp,Yd=nt,$d=ce,Jd=Fn,Qd=ci,Kd=$([].push),Xd=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(s,c,p,l){for(var f,h,d=$d(s),y=Yd(d),m=Vd(c,p),g=Jd(y),v=0,b=l||Qd,w=e?b(s,g):r||a?b(s,0):void 0;g>v;v++)if((u||v in y)&&(h=m(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:Kd(w,f)}else switch(t){case 4:return!1;case 7:Kd(w,f)}return i?-1:n||o?o:w}},Zd={forEach:Xd(0),map:Xd(1),filter:Xd(2),some:Xd(3),every:Xd(4),find:Xd(5),findIndex:Xd(6),filterReject:Xd(7)},ty=Zd.map;Po({target:"Array",proto:!0,forced:!hi("map")},{map:function(t){return ty(this,t,arguments.length>1?arguments[1]:void 0)}});var ey=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")},ry=["endpointName"],ny=function(){function t(e,r){s(this,t),this.client=e,this.guestSpaceId=r,this.REQUESTS_LENGTH_LIMIT=20}return p(t,[{key:"send",value:function(t){var e=this,r=t.requests.map((function(t){if("endpointName"in t){var r=t.endpointName,o=v(t,ry);return n({api:e.buildPathWithGuestSpaceId({endpointName:r})},o)}return t})),o=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(o,{requests:r})}},{key:"buildPathWithGuestSpaceId",value:function(t){return ey(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),oy=["preview"],iy=["preview"],ay=["preview"],uy=["preview"],sy=["preview"],cy=["preview"],py=["preview"],ly=["preview"],fy=["preview"],hy=["preview"],dy=["preview"],yy=["preview"],my=["preview"],gy=["preview"],vy=function(){function t(e,r){s(this,t),this.client=e,this.guestSpaceId=r}var e;return p(t,[{key:"getFormFields",value:function(t){var e=t.preview,r=v(t,oy),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:e});return this.client.get(o,n({},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=v(t,iy),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:e});return this.client.get(o,n({},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=v(t,ay),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:(e=u(o().mark((function t(e){var r,i,a,u,s,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.name,i=e.space,a=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!i){t.next=9;break}return u=this.buildPathWithGuestSpaceId({endpointName:"space"}),t.next=6,this.client.get(u,{id:i});case 6:return s=t.sent,c=s.defaultThread,t.abrupt("return",this.client.post(a,n(n({},e),{},{thread:c})));case 9:return t.abrupt("return",this.client.post(a,{name:r}));case 10:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"getAppSettings",value:function(t){var e=t.preview,r=v(t,uy),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=v(t,sy),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=v(t,cy),o=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:e});return this.client.get(o,n({},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=v(t,py),o=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:e});return this.client.get(o,n({},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=v(t,ly),o=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:e});return this.client.get(o,n({},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=v(t,fy),o=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:e});return this.client.get(o,n({},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=v(t,hy),o=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:e});return this.client.get(o,n({},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=v(t,dy),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=v(t,yy),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=v(t,my),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=v(t,gy),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)}},{key:"buildPathWithGuestSpaceId",value:function(t){return ey(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),by=Up;Po({target:"Object",stat:!0,arity:2,forced:Object.assign!==by},{assign:by});var wy=L,xy=or,Ay=ot,Sy=Cn,Ey=ra,Ry=ut,Py=Yt,ky=Cu,Oy=Qu;Eu("match",(function(t,e,r){return[function(e){var r=Ry(this),n=Ay(e)?void 0:Py(e,t);return n?wy(n,e,r):new RegExp(e)[t](Ey(r))},function(t){var n=xy(this),o=Ey(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return Oy(n,o);var a=n.unicode;n.lastIndex=0;for(var u,s=[],c=0;null!==(u=Oy(n,o));){var p=Ey(u[0]);s[c]=p,""===p&&(n.lastIndex=ky(o,Sy(n.lastIndex),a)),c++}return 0===c?null:s}]}));var jy=j,Iy=dt,Ty=gt,_y=Yi,Ny=$(1..valueOf),Uy=ut,Cy=ra,Ly="\t\n\v\f\r \u2028\u2029\ufeff",Fy=$("".replace),By=RegExp("^["+Ly+"]+"),Dy=RegExp("(^|[^"+Ly+"])["+Ly+"]+$"),My=function(t){return function(e){var r=Cy(Uy(e));return 1&t&&(r=Fy(r,By,"")),2&t&&(r=Fy(r,Dy,"$1")),r}},qy={start:My(1),end:My(2),trim:My(3)},Wy=Po,Gy=_,zy=j,Hy=jy,Vy=$,Yy=vo,$y=fe,Jy=function(t,e,r){var n,o;return _y&&Iy(n=e.constructor)&&n!==r&&Ty(o=n.prototype)&&o!==r.prototype&&_y(t,o),t},Qy=At,Ky=Bt,Xy=Ue,Zy=T,tm=En.f,em=I.f,rm=Ze.f,nm=Ny,om=qy.trim,im="Number",am=zy.Number;Hy.Number;var um=am.prototype,sm=zy.TypeError,cm=Vy("".slice),pm=Vy("".charCodeAt),lm=function(t){var e=Xy(t,"number");return"bigint"==typeof e?e:fm(e)},fm=function(t){var e,r,n,o,i,a,u,s,c=Xy(t,"number");if(Ky(c))throw sm("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=om(c),43===(e=pm(c,0))||45===e){if(88===(r=pm(c,2))||120===r)return NaN}else if(48===e){switch(pm(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=cm(c,2)).length,u=0;u<a;u++)if((s=pm(i,u))<48||s>o)return NaN;return parseInt(i,n)}return+c},hm=Yy(im,!am(" 0o1")||!am("0b1")||am("+0x1")),dm=function(t){return Qy(um,t)&&Zy((function(){nm(t)}))},ym=function(t){var e=arguments.length<1?0:am(lm(t));return dm(this)?Jy(Object(e),this,ym):e};ym.prototype=um,hm&&(um.constructor=ym),Wy({global:!0,constructor:!0,wrap:!0,forced:hm},{Number:ym});hm&&function(t,e){for(var r,n=Gy?tm(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++)$y(e,r=n[o])&&!$y(t,r)&&rm(t,r,em(e,r))}(Hy.Number,am);var mm=T,gm=function(t,e){var r=[][t];return!!r&&mm((function(){r.call(null,e||function(){return 1},1)}))},vm=Po,bm=Wn.indexOf,wm=gm,xm=yu([].indexOf),Am=!!xm&&1/xm([1],1,-0)<0;vm({target:"Array",proto:!0,forced:Am||!wm("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Am?xm(this,t,e)||0:bm(this,t,e)}});var Sm=Zd.every;Po({target:"Array",proto:!0,forced:!gm("every")},{every:function(t){return Sm(this,t,arguments.length>1?arguments[1]:void 0)}}),Po({target:"Array",stat:!0},{isArray:Oo});var Em=$([].slice),Rm=Po,Pm=Oo,km=ri,Om=gt,jm=_n,Im=Fn,Tm=pt,_m=No,Nm=Pe,Um=Em,Cm=hi("slice"),Lm=Nm("species"),Fm=Array,Bm=Math.max;Rm({target:"Array",proto:!0,forced:!Cm},{slice:function(t,e){var r,n,o,i=Tm(this),a=Im(i),u=jm(t,a),s=jm(void 0===e?a:e,a);if(Pm(i)&&(r=i.constructor,(km(r)&&(r===Fm||Pm(r.prototype))||Om(r)&&null===(r=r[Lm]))&&(r=void 0),r===Fm||void 0===r))return Um(i,u,s);for(n=new(void 0===r?Fm:r)(Bm(s-u,0)),o=0;u<s;u++,o++)u in i&&_m(n,o,i[u]);return n.length=o,n}});var Dm=zt,Mm=ce,qm=nt,Wm=Fn,Gm=TypeError,zm=function(t){return function(e,r,n,o){Dm(r);var i=Mm(e),a=qm(i),u=Wm(i),s=t?u-1:0,c=t?-1:1;if(n<2)for(;;){if(s in a){o=a[s],s+=c;break}if(s+=c,t?s<0:u<=s)throw Gm("Reduce of empty array with no initial value")}for(;t?s>=0:u>s;s+=c)s in a&&(o=r(o,a[s],s,i));return o}},Hm={left:zm(!1),right:zm(!0)},Vm="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Ym(){throw new Error("setTimeout has not been defined")}function $m(){throw new Error("clearTimeout has not been defined")}var Jm=Ym,Qm=$m;function Km(t){if(Jm===setTimeout)return setTimeout(t,0);if((Jm===Ym||!Jm)&&setTimeout)return Jm=setTimeout,setTimeout(t,0);try{return Jm(t,0)}catch(e){try{return Jm.call(null,t,0)}catch(e){return Jm.call(this,t,0)}}}"function"==typeof Vm.setTimeout&&(Jm=setTimeout),"function"==typeof Vm.clearTimeout&&(Qm=clearTimeout);var Xm,Zm=[],tg=!1,eg=-1;function rg(){tg&&Xm&&(tg=!1,Xm.length?Zm=Xm.concat(Zm):eg=-1,Zm.length&&ng())}function ng(){if(!tg){var t=Km(rg);tg=!0;for(var e=Zm.length;e;){for(Xm=Zm,Zm=[];++eg<e;)Xm&&Xm[eg].run();eg=-1,e=Zm.length}Xm=null,tg=!1,function(t){if(Qm===clearTimeout)return clearTimeout(t);if((Qm===$m||!Qm)&&clearTimeout)return Qm=clearTimeout,clearTimeout(t);try{Qm(t)}catch(e){try{return Qm.call(null,t)}catch(e){return Qm.call(this,t)}}}(t)}}function og(t,e){this.fun=t,this.array=e}og.prototype.run=function(){this.fun.apply(null,this.array)};function ig(){}var ag=ig,ug=ig,sg=ig,cg=ig,pg=ig,lg=ig,fg=ig;var hg=Vm.performance||{},dg=hg.now||hg.mozNow||hg.msNow||hg.oNow||hg.webkitNow||function(){return(new Date).getTime()};var yg=new Date;var mg={nextTick:function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Zm.push(new og(t,e)),1!==Zm.length||tg||Km(ng)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:ag,addListener:ug,once:sg,off:cg,removeListener:pg,removeAllListeners:lg,emit:fg,binding:function(t){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(t){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(t){var e=.001*dg.call(hg),r=Math.floor(e),n=Math.floor(e%1*1e9);return t&&(r-=t[0],(n-=t[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-yg)/1e3}},gg=void 0!==mg&&"process"==X(mg),vg=Hm.left;Po({target:"Array",proto:!0,forced:!gg&&jt>79&&jt<83||!gm("reduce")},{reduce:function(t){var e=arguments.length;return vg(this,t,e,e>1?arguments[1]:void 0)}});var bg=Zd.forEach,wg=gm("forEach")?[].forEach:function(t){return bg(this,t,arguments.length>1?arguments[1]:void 0)};Po({target:"Array",proto:!0,forced:[].forEach!=wg},{forEach:wg});var xg=j,Ag=Qc,Sg=Zc,Eg=wg,Rg=vr,Pg=function(t){if(t&&t.forEach!==Eg)try{Rg(t,"forEach",Eg)}catch(e){t.forEach=Eg}};for(var kg in Ag)Ag[kg]&&Pg(xg[kg]&&xg[kg].prototype);Pg(Sg);var Og=ce,jg=ha;Po({target:"Object",stat:!0,forced:T((function(){jg(1)}))},{keys:function(t){return jg(Og(t))}});var Ig,Tg=function(t){f(r,t);var e=x(r);function r(t,n,o,i,a){var u;s(this,r);var c=o-n.length,p=r.extractErrorIndex(c,i,a),l=r.buildErrorMessage(c,o,p);return(u=e.call(this,l)).name="KintoneAllRecordsError",u.processedRecordsResult=t,u.unprocessedRecords=n,u.error=i,u.errorIndex=p,u.message=l,u.numOfProcessedRecords=c,u.numOfAllRecords=o,Object.setPrototypeOf(b(u),r.prototype),u}return p(r,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,e,n){if(void 0!==e.bulkRequestIndex&&e.errors){var o=r.parseErrorIndex(e.errors);if(null!==o)return t+e.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")}}]),r}(g(Error)),_g=["condition","orderBy","withCursor"],Ng=["fields"],Ug=["condition"],Cg=["condition","orderBy"],Lg=function(){function t(e,r,n){s(this,t),this.client=e,this.bulkRequestClient=r,this.guestSpaceId=n,this.didWarnMaximumOffsetValue=!1}var e,r,i,a,c,f,h,d,y,m,g,b,w,x,S,E,R,P;return p(t,[{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:(P=u(o().mark((function t(e){var r,n,i,a,u,s,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.app,n=e.updateKey,i=e.record,t.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(a=t.sent,!((u=a.records).length>0)){t.next=13;break}if("__ID__"!==u[0].$id.type){t.next=12;break}return t.next=9,this.updateRecord(e);case 9:return s=t.sent,c=s.revision,t.abrupt("return",{id:u[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({},i,l({},n.field,{value:n.value}))}));case 14:case"end":return t.stop()}}),t,this)}))),function(t){return P.apply(this,arguments)})},{key:"getRecords",value:(R=u(o().mark((function t(e){var r,n;return o().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:(E=u(o().mark((function t(e){var r,n,i,a;return o().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,i=n.ids,a=n.revisions,t.abrupt("return",{ids:i,revisions:a,records:i.map((function(t,e){return{id:t,revision:a[e]}}))});case 7:case"end":return t.stop()}}),t,this)}))),function(t){return E.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:(S=u(o().mark((function t(e){var r,i,a,u,s,c,p;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.condition,i=e.orderBy,a=e.withCursor,u=void 0===a||a,s=v(e,_g),i){t.next=3;break}return t.abrupt("return",this.getAllRecordsWithId(n(n({},s),{},{condition:r})));case 3:if(!u){t.next=7;break}return c=r?"".concat(r," "):"",p="".concat(c).concat(i?"order by ".concat(i):""),t.abrupt("return",this.getAllRecordsWithCursor(n(n({},s),{},{query:p})));case 7:return t.abrupt("return",this.getAllRecordsWithOffset(n(n({},s),{},{orderBy:i,condition:r})));case 8:case"end":return t.stop()}}),t,this)}))),function(t){return S.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(x=u(o().mark((function t(e){var r,i,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.fields,i=v(e,Ng),(a=r)&&a.length>0&&-1===a.indexOf("$id")&&(a=[].concat(A(a),["$id"])),t.abrupt("return",this.getAllRecordsRecursiveWithId(n(n({},i),{},{fields:a}),"0",[]));case 4:case"end":return t.stop()}}),t,this)}))),function(t){return x.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithId",value:(w=u(o().mark((function t(e,r,i){var a,u,s,c,p,l,f,h,d;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=500,u=e.condition,s=v(e,Ug),c=u?"(".concat(u,") and "):"",p="".concat(c,"$id > ").concat(r," order by $id asc limit ").concat(a),t.next=6,this.getRecords(n(n({},s),{},{query:p}));case 6:if(l=t.sent,f=i.concat(l.records),!(l.records.length<a)){t.next=10;break}return t.abrupt("return",f);case 10:if("__ID__"!==(h=l.records[l.records.length-1]).$id.type){t.next=14;break}return d=h.$id.value,t.abrupt("return",this.getAllRecordsRecursiveWithId(e,d,f));case 14: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 15:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return w.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(b=u(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.getAllRecordsRecursiveWithOffset(e,0,[]));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return b.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithOffset",value:(g=u(o().mark((function t(e,r,i){var a,u,s,c,p,l,f,h;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=500,u=e.condition,s=e.orderBy,c=v(e,Cg),p=u?"".concat(u," "):"",l="".concat(p).concat(s?"order by ".concat(s," "):"","limit ").concat(a," offset ").concat(r),t.next=6,this.getRecords(n(n({},c),{},{query:l}));case 6:if(f=t.sent,h=i.concat(f.records),!(f.records.length<a)){t.next=10;break}return t.abrupt("return",h);case 10:return t.abrupt("return",this.getAllRecordsRecursiveWithOffset(e,r+a,h));case 11:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return g.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(m=u(o().mark((function t(e){var r,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.createCursor(e);case 2:return r=t.sent,n=r.id,t.prev=4,t.next=7,this.getAllRecordsRecursiveByCursor(n,[]);case 7:return t.abrupt("return",t.sent);case 10:return t.prev=10,t.t0=t.catch(4),t.next=14,this.deleteCursor({id:n});case 14:throw t.t0;case 15:case"end":return t.stop()}}),t,this,[[4,10]])}))),function(t){return m.apply(this,arguments)})},{key:"getAllRecordsRecursiveByCursor",value:(y=u(o().mark((function t(e,r){var n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getRecordsByCursor({id:e});case 2:if(n=t.sent,i=r.concat(n.records),!n.next){t.next=6;break}return t.abrupt("return",this.getAllRecordsRecursiveByCursor(e,i));case 6:return t.abrupt("return",i);case 7:case"end":return t.stop()}}),t,this)}))),function(t,e){return y.apply(this,arguments)})},{key:"addAllRecords",value:(d=u(o().mark((function t(e){return o().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 d.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(h=u(o().mark((function t(e,r,n){var i,a,u,s,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,a=e.app,u=e.records,0!==(s=u.slice(0,i)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.addAllRecordsWithBulkRequest({app:a,records:s});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Tg({records:n},u,r,t.t0,100);case 14:return t.abrupt("return",this.addAllRecordsRecursive({app:a,records:u.slice(i)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return h.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(f=u(o().mark((function t(e){var r,n,i;return o().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 i=t.sent.results,t.abrupt("return",i.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=u(o().mark((function t(e){return o().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:(a=u(o().mark((function t(e,r,n){var i,a,u,s,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,a=e.app,u=e.records,0!==(s=u.slice(0,i)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.updateAllRecordsWithBulkRequest({app:a,records:s});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Tg({records:n},u,r,t.t0,100);case 14:return t.abrupt("return",this.updateAllRecordsRecursive({app:a,records:u.slice(i)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return a.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(i=u(o().mark((function t(e){var r,n,i;return o().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 i=t.sent.results,t.abrupt("return",i.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 i.apply(this,arguments)})},{key:"deleteAllRecords",value:function(t){return this.deleteAllRecordsRecursive(t,t.records.length)}},{key:"deleteAllRecordsRecursive",value:(r=u(o().mark((function t(e,r){var n,i,a,u;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,a=e.records,0!==(u=a.slice(0,n)).length){t.next=5;break}return t.abrupt("return",{});case 5:return t.prev=5,t.next=8,this.deleteAllRecordsWithBulkRequest({app:i,records:u});case 8:t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(5),new Tg({},a,r,t.t0,100);case 13:return t.abrupt("return",this.deleteAllRecordsRecursive({app:i,records:a.slice(n)},r));case 14:case"end":return t.stop()}}),t,this,[[5,10]])}))),function(t,e){return r.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(e=u(o().mark((function t(e){var r,n;return o().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 e.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(A(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)}},{key:"buildPathWithGuestSpaceId",value:function(t){return ey(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),Fg=P("object"==typeof self?self.FormData:window.FormData),Bg=function(){function t(e,r){s(this,t),this.client=e,this.guestSpaceId=r}var r;return p(t,[{key:"uploadFile",value:(r=u(o().mark((function t(r){var n,i,a,u,s,c,p,l,f;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),i=new Fg,!("path"in r.file)){t.next=19;break}return t.prev=3,t.next=6,e.readFileFromPath(r.file.path);case 6:a=t.sent,u=a.name,s=a.data,i.append("file",s,u),t.next=17;break;case 12:if(t.prev=12,t.t0=t.catch(3),!(t.t0 instanceof $i)){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,p=c.name,l=c.data,f=e.buildFormDataValue(l,p),i.append("file",f,p);case 22:return t.abrupt("return",this.client.postData(n,i));case 23:case"end":return t.stop()}}),t,this,[[3,12]])}))),function(t){return r.apply(this,arguments)})},{key:"downloadFile",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return ey(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),Dg={exports:{}},Mg=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}},qg=Mg,Wg=Object.prototype.toString,Gg=(Ig=Object.create(null),function(t){var e=Wg.call(t);return Ig[e]||(Ig[e]=e.slice(8,-1).toLowerCase())});function zg(t){return t=t.toLowerCase(),function(e){return Gg(e)===t}}function Hg(t){return Array.isArray(t)}function Vg(t){return void 0===t}var Yg=zg("ArrayBuffer");function $g(t){return null!==t&&"object"==typeof t}function Jg(t){if("object"!==Gg(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var Qg=zg("Date"),Kg=zg("File"),Xg=zg("Blob"),Zg=zg("FileList");function tv(t){return"[object Function]"===Wg.call(t)}var ev=zg("URLSearchParams");function rv(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),Hg(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}var nv=function(t){return function(e){return t&&e instanceof t}}("undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array)),ov={isArray:Hg,isArrayBuffer:Yg,isBuffer:function(t){return null!==t&&!Vg(t)&&null!==t.constructor&&!Vg(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){var e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||Wg.call(t)===e||tv(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Yg(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:$g,isPlainObject:Jg,isUndefined:Vg,isDate:Qg,isFile:Kg,isBlob:Xg,isFunction:tv,isStream:function(t){return $g(t)&&tv(t.pipe)},isURLSearchParams:ev,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:rv,merge:function t(){var e={};function r(r,n){Jg(e[n])&&Jg(r)?e[n]=t(e[n],r):Jg(r)?e[n]=t({},r):Hg(r)?e[n]=r.slice():e[n]=r}for(var n=0,o=arguments.length;n<o;n++)rv(arguments[n],r);return e},extend:function(t,e,r){return rv(e,(function(e,n){t[n]=r&&"function"==typeof e?qg(e,r):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,e,r,n){t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,r&&Object.assign(t.prototype,r)},toFlatObject:function(t,e,r){var n,o,i,a={};e=e||{};do{for(o=(n=Object.getOwnPropertyNames(t)).length;o-- >0;)a[i=n[o]]||(e[i]=t[i],a[i]=!0);t=Object.getPrototypeOf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:Gg,kindOfTest:zg,endsWith:function(t,e,r){t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;var n=t.indexOf(e,r);return-1!==n&&n===r},toArray:function(t){if(!t)return null;var e=t.length;if(Vg(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r},isTypedArray:nv,isFileList:Zg},iv=ov;function av(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var uv=function(t,e,r){if(!e)return t;var n;if(r)n=r(e);else if(iv.isURLSearchParams(e))n=e.toString();else{var o=[];iv.forEach(e,(function(t,e){null!=t&&(iv.isArray(t)?e+="[]":t=[t],iv.forEach(t,(function(t){iv.isDate(t)?t=t.toISOString():iv.isObject(t)&&(t=JSON.stringify(t)),o.push(av(e)+"="+av(t))})))})),n=o.join("&")}if(n){var i=t.indexOf("#");-1!==i&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t},sv=ov;function cv(){this.handlers=[]}cv.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},cv.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},cv.prototype.forEach=function(t){sv.forEach(this.handlers,(function(e){null!==e&&t(e)}))};var pv,lv,fv=cv,hv=ov;function dv(){if(lv)return pv;lv=1;var t=ov;function e(t,e,r,n,o){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}t.inherits(e,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var r=e.prototype,n={};return["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"].forEach((function(t){n[t]={value:t}})),Object.defineProperties(e,n),Object.defineProperty(r,"isAxiosError",{value:!0}),e.from=function(n,o,i,a,u,s){var c=Object.create(r);return t.toFlatObject(n,c,(function(t){return t!==Error.prototype})),e.call(c,n.message,o,i,a,u),c.name=n.name,s&&Object.assign(c,s),c},pv=e}var yv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},mv=[],gv=[],vv="undefined"!=typeof Uint8Array?Uint8Array:Array,bv=!1;function wv(){bv=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)mv[e]=t[e],gv[t.charCodeAt(e)]=e;gv["-".charCodeAt(0)]=62,gv["_".charCodeAt(0)]=63}function xv(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(mv[(o=n)>>18&63]+mv[o>>12&63]+mv[o>>6&63]+mv[63&o]);return i.join("")}function Av(t){var e;bv||wv();for(var r=t.length,n=r%3,o="",i=[],a=16383,u=0,s=r-n;u<s;u+=a)i.push(xv(t,u,u+a>s?s:u+a));return 1===n?(e=t[r-1],o+=mv[e>>2],o+=mv[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=mv[e>>10],o+=mv[e>>4&63],o+=mv[e<<2&63],o+="="),i.push(o),i.join("")}function Sv(t,e,r,n,o){var i,a,u=8*o-n-1,s=(1<<u)-1,c=s>>1,p=-7,l=r?o-1:0,f=r?-1:1,h=t[e+l];for(l+=f,i=h&(1<<-p)-1,h>>=-p,p+=u;p>0;i=256*i+t[e+l],l+=f,p-=8);for(a=i&(1<<-p)-1,i>>=-p,p+=n;p>0;a=256*a+t[e+l],l+=f,p-=8);if(0===i)i=1-c;else{if(i===s)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 Ev(t,e,r,n,o,i){var a,u,s,c=8*i-o-1,p=(1<<c)-1,l=p>>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?(u=isNaN(e)?1:0,a=p):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),(e+=a+l>=1?f/s:f*Math.pow(2,1-l))*s>=2&&(a++,s/=2),a+l>=p?(u=0,a=p):a+l>=1?(u=(e*s-1)*Math.pow(2,o),a+=l):(u=e*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&u,h+=d,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*y}var Rv={}.toString,Pv=Array.isArray||function(t){return"[object Array]"==Rv.call(t)};function kv(){return jv.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Ov(t,e){if(kv()<e)throw new RangeError("Invalid typed array length");return jv.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=jv.prototype:(null===t&&(t=new jv(e)),t.length=e),t}function jv(t,e,r){if(!(jv.TYPED_ARRAY_SUPPORT||this instanceof jv))return new jv(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 _v(this,t)}return Iv(this,t,e,r)}function Iv(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);jv.TYPED_ARRAY_SUPPORT?(t=e).__proto__=jv.prototype:t=Nv(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!jv.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Lv(e,r),o=(t=Ov(t,n)).write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(Cv(e)){var r=0|Uv(e.length);return 0===(t=Ov(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?Ov(t,0):Nv(t,e);if("Buffer"===e.type&&Pv(e.data))return Nv(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function Tv(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 _v(t,e){if(Tv(e),t=Ov(t,e<0?0:0|Uv(e)),!jv.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function Nv(t,e){var r=e.length<0?0:0|Uv(e.length);t=Ov(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function Uv(t){if(t>=kv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kv().toString(16)+" bytes");return 0|t}function Cv(t){return!(null==t||!t._isBuffer)}function Lv(t,e){if(Cv(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 yb(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return mb(t).length;default:if(n)return yb(t).length;e=(""+e).toLowerCase(),n=!0}}function Fv(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 Xv(this,e,r);case"utf8":case"utf-8":return $v(this,e,r);case"ascii":return Qv(this,e,r);case"latin1":case"binary":return Kv(this,e,r);case"base64":return Yv(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zv(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function Bv(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Dv(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=jv.from(e,n)),Cv(e))return 0===e.length?-1:Mv(t,e,r,n,o);if("number"==typeof e)return e&=255,jv.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Mv(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Mv(t,e,r,n,o){var i,a=1,u=t.length,s=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,u/=2,s/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var p=-1;for(i=r;i<u;i++)if(c(t,i)===c(e,-1===p?0:i-p)){if(-1===p&&(p=i),i-p+1===s)return p*a}else-1!==p&&(i-=i-p),p=-1}else for(r+s>u&&(r=u-s),i=r;i>=0;i--){for(var l=!0,f=0;f<s;f++)if(c(t,i+f)!==c(e,f)){l=!1;break}if(l)return i}return-1}function qv(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 u=parseInt(e.substr(2*a,2),16);if(isNaN(u))return a;t[r+a]=u}return a}function Wv(t,e,r,n){return gb(yb(e,t.length-r),t,r,n)}function Gv(t,e,r,n){return gb(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 Gv(t,e,r,n)}function Hv(t,e,r,n){return gb(mb(e),t,r,n)}function Vv(t,e,r,n){return gb(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 Yv(t,e,r){return 0===e&&r===t.length?Av(t):Av(t.slice(e,r))}function $v(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,u,s,c=t[o],p=null,l=c>239?4:c>223?3:c>191?2:1;if(o+l<=r)switch(l){case 1:c<128&&(p=c);break;case 2:128==(192&(i=t[o+1]))&&(s=(31&c)<<6|63&i)>127&&(p=s);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(s=(15&c)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(p=s);break;case 4:i=t[o+1],a=t[o+2],u=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&u)&&(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(p=s)}null===p?(p=65533,l=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|1023&p),n.push(p),o+=l}return function(t){var e=t.length;if(e<=Jv)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Jv));return r}(n)}jv.TYPED_ARRAY_SUPPORT=void 0===Vm.TYPED_ARRAY_SUPPORT||Vm.TYPED_ARRAY_SUPPORT,kv(),jv.poolSize=8192,jv._augment=function(t){return t.__proto__=jv.prototype,t},jv.from=function(t,e,r){return Iv(null,t,e,r)},jv.TYPED_ARRAY_SUPPORT&&(jv.prototype.__proto__=Uint8Array.prototype,jv.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&jv[Symbol.species]),jv.alloc=function(t,e,r){return function(t,e,r,n){return Tv(e),e<=0?Ov(t,e):void 0!==r?"string"==typeof n?Ov(t,e).fill(r,n):Ov(t,e).fill(r):Ov(t,e)}(null,t,e,r)},jv.allocUnsafe=function(t){return _v(null,t)},jv.allocUnsafeSlow=function(t){return _v(null,t)},jv.isBuffer=function(t){return null!=t&&(!!t._isBuffer||vb(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&vb(t.slice(0,0))}(t))},jv.compare=function(t,e){if(!Cv(t)||!Cv(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},jv.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}},jv.concat=function(t,e){if(!Pv(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return jv.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=jv.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!Cv(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},jv.byteLength=Lv,jv.prototype._isBuffer=!0,jv.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)Bv(this,e,e+1);return this},jv.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)Bv(this,e,e+3),Bv(this,e+1,e+2);return this},jv.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)Bv(this,e,e+7),Bv(this,e+1,e+6),Bv(this,e+2,e+5),Bv(this,e+3,e+4);return this},jv.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?$v(this,0,t):Fv.apply(this,arguments)},jv.prototype.equals=function(t){if(!Cv(t))throw new TypeError("Argument must be a Buffer");return this===t||0===jv.compare(this,t)},jv.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+">"},jv.prototype.compare=function(t,e,r,n,o){if(!Cv(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),u=Math.min(i,a),s=this.slice(n,o),c=t.slice(e,r),p=0;p<u;++p)if(s[p]!==c[p]){i=s[p],a=c[p];break}return i<a?-1:a<i?1:0},jv.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},jv.prototype.indexOf=function(t,e,r){return Dv(this,t,e,r,!0)},jv.prototype.lastIndexOf=function(t,e,r){return Dv(this,t,e,r,!1)},jv.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 qv(this,t,e,r);case"utf8":case"utf-8":return Wv(this,t,e,r);case"ascii":return Gv(this,t,e,r);case"latin1":case"binary":return zv(this,t,e,r);case"base64":return Hv(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vv(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},jv.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Jv=4096;function Qv(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 Kv(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 Xv(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+=db(t[i]);return o}function Zv(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 tb(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 eb(t,e,r,n,o,i){if(!Cv(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 rb(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 nb(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 ob(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 ib(t,e,r,n,o){return o||ob(t,0,r,4),Ev(t,e,r,n,23,4),r+4}function ab(t,e,r,n,o){return o||ob(t,0,r,8),Ev(t,e,r,n,52,8),r+8}jv.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),jv.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=jv.prototype;else{var o=e-t;r=new jv(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},jv.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||tb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},jv.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||tb(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},jv.prototype.readUInt8=function(t,e){return e||tb(t,1,this.length),this[t]},jv.prototype.readUInt16LE=function(t,e){return e||tb(t,2,this.length),this[t]|this[t+1]<<8},jv.prototype.readUInt16BE=function(t,e){return e||tb(t,2,this.length),this[t]<<8|this[t+1]},jv.prototype.readUInt32LE=function(t,e){return e||tb(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},jv.prototype.readUInt32BE=function(t,e){return e||tb(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},jv.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||tb(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},jv.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||tb(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},jv.prototype.readInt8=function(t,e){return e||tb(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},jv.prototype.readInt16LE=function(t,e){e||tb(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},jv.prototype.readInt16BE=function(t,e){e||tb(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},jv.prototype.readInt32LE=function(t,e){return e||tb(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},jv.prototype.readInt32BE=function(t,e){return e||tb(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},jv.prototype.readFloatLE=function(t,e){return e||tb(t,4,this.length),Sv(this,t,!0,23,4)},jv.prototype.readFloatBE=function(t,e){return e||tb(t,4,this.length),Sv(this,t,!1,23,4)},jv.prototype.readDoubleLE=function(t,e){return e||tb(t,8,this.length),Sv(this,t,!0,52,8)},jv.prototype.readDoubleBE=function(t,e){return e||tb(t,8,this.length),Sv(this,t,!1,52,8)},jv.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||eb(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},jv.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||eb(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},jv.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,1,255,0),jv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},jv.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,2,65535,0),jv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):rb(this,t,e,!0),e+2},jv.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,2,65535,0),jv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):rb(this,t,e,!1),e+2},jv.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,4,4294967295,0),jv.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):nb(this,t,e,!0),e+4},jv.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,4,4294967295,0),jv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):nb(this,t,e,!1),e+4},jv.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);eb(this,t,e,r,o-1,-o)}var i=0,a=1,u=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===u&&0!==this[e+i-1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+r},jv.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);eb(this,t,e,r,o-1,-o)}var i=r-1,a=1,u=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===u&&0!==this[e+i+1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+r},jv.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,1,127,-128),jv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},jv.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,2,32767,-32768),jv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):rb(this,t,e,!0),e+2},jv.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,2,32767,-32768),jv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):rb(this,t,e,!1),e+2},jv.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,4,2147483647,-2147483648),jv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):nb(this,t,e,!0),e+4},jv.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),jv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):nb(this,t,e,!1),e+4},jv.prototype.writeFloatLE=function(t,e,r){return ib(this,t,e,!0,r)},jv.prototype.writeFloatBE=function(t,e,r){return ib(this,t,e,!1,r)},jv.prototype.writeDoubleLE=function(t,e,r){return ab(this,t,e,!0,r)},jv.prototype.writeDoubleBE=function(t,e,r){return ab(this,t,e,!1,r)},jv.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||!jv.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},jv.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&&!jv.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=Cv(t)?t:yb(new jv(t,n).toString()),u=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%u]}return this};var ub,sb,cb,pb,lb,fb,hb=/[^+\/0-9A-Za-z-_]/g;function db(t){return t<16?"0"+t.toString(16):t.toString(16)}function yb(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 mb(t){return function(t){var e,r,n,o,i,a;bv||wv();var u=t.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===t[u-2]?2:"="===t[u-1]?1:0,a=new vv(3*u/4-i),n=i>0?u-4:u;var s=0;for(e=0,r=0;e<n;e+=4,r+=3)o=gv[t.charCodeAt(e)]<<18|gv[t.charCodeAt(e+1)]<<12|gv[t.charCodeAt(e+2)]<<6|gv[t.charCodeAt(e+3)],a[s++]=o>>16&255,a[s++]=o>>8&255,a[s++]=255&o;return 2===i?(o=gv[t.charCodeAt(e)]<<2|gv[t.charCodeAt(e+1)]>>4,a[s++]=255&o):1===i&&(o=gv[t.charCodeAt(e)]<<10|gv[t.charCodeAt(e+1)]<<4|gv[t.charCodeAt(e+2)]>>2,a[s++]=o>>8&255,a[s++]=255&o),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(hb,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function gb(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 vb(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function bb(){if(sb)return ub;sb=1;var t=ov;return ub=function(e,r){r=r||new FormData;var n=[];function o(e){return null===e?"":t.isDate(e)?e.toISOString():t.isArrayBuffer(e)||t.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):jv.from(e):e}return function e(i,a){if(t.isPlainObject(i)||t.isArray(i)){if(-1!==n.indexOf(i))throw Error("Circular reference detected in "+a);n.push(i),t.forEach(i,(function(n,i){if(!t.isUndefined(n)){var u,s=a?a+"."+i:i;if(n&&!a&&"object"==typeof n)if(t.endsWith(i,"{}"))n=JSON.stringify(n);else if(t.endsWith(i,"[]")&&(u=t.toArray(n)))return void u.forEach((function(e){!t.isUndefined(e)&&r.append(s,o(e))}));e(n,s)}})),n.pop()}else r.append(a,o(i))}(e),r},ub}function wb(){if(pb)return cb;pb=1;var t=dv();return cb=function(e,r,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?r(new t("Request failed with status code "+n.status,[t.ERR_BAD_REQUEST,t.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}}function xb(){if(fb)return lb;fb=1;var t=ov;return lb=t.isStandardBrowserEnv()?{write:function(e,r,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(r)),t.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),t.isString(o)&&u.push("path="+o),t.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},lb}var Ab,Sb,Eb,Rb,Pb,kb,Ob,jb,Ib,Tb,_b,Nb,Ub=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},Cb=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t},Lb=function(t,e){return t&&!Ub(e)?Cb(t,e):e};function Fb(){if(Sb)return Ab;Sb=1;var t=ov,e=["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"];return Ab=function(r){var n,o,i,a={};return r?(t.forEach(r.split("\n"),(function(r){if(i=r.indexOf(":"),n=t.trim(r.substr(0,i)).toLowerCase(),o=t.trim(r.substr(i+1)),n){if(a[n]&&e.indexOf(n)>=0)return;a[n]="set-cookie"===n?(a[n]?a[n]:[]).concat([o]):a[n]?a[n]+", "+o:o}})),a):a}}function Bb(){if(Rb)return Eb;Rb=1;var t=ov;return Eb=t.isStandardBrowserEnv()?function(){var e,r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var e=t;return r&&(n.setAttribute("href",e),e=n.href),n.setAttribute("href",e),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(r){var n=t.isString(r)?o(r):r;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}}function Db(){if(kb)return Pb;kb=1;var t=dv();function e(e){t.call(this,null==e?"canceled":e,t.ERR_CANCELED),this.name="CanceledError"}return ov.inherits(e,t,{__CANCEL__:!0}),Pb=e}function Mb(){return jb||(jb=1,Ob=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}),Ob}function qb(){if(Tb)return Ib;Tb=1;var t=ov,e=wb(),r=xb(),n=uv,o=Lb,i=Fb(),a=Bb(),u=yv,s=dv(),c=Db(),p=Mb();return Ib=function(l){return new Promise((function(f,h){var d,y=l.data,m=l.headers,g=l.responseType;function v(){l.cancelToken&&l.cancelToken.unsubscribe(d),l.signal&&l.signal.removeEventListener("abort",d)}t.isFormData(y)&&t.isStandardBrowserEnv()&&delete m["Content-Type"];var b=new XMLHttpRequest;if(l.auth){var w=l.auth.username||"",x=l.auth.password?unescape(encodeURIComponent(l.auth.password)):"";m.Authorization="Basic "+btoa(w+":"+x)}var A=o(l.baseURL,l.url);function S(){if(b){var t="getAllResponseHeaders"in b?i(b.getAllResponseHeaders()):null,r={data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:t,config:l,request:b};e((function(t){f(t),v()}),(function(t){h(t),v()}),r),b=null}}if(b.open(l.method.toUpperCase(),n(A,l.params,l.paramsSerializer),!0),b.timeout=l.timeout,"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(S)},b.onabort=function(){b&&(h(new s("Request aborted",s.ECONNABORTED,l,b)),b=null)},b.onerror=function(){h(new s("Network Error",s.ERR_NETWORK,l,b,b)),b=null},b.ontimeout=function(){var t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",e=l.transitional||u;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),h(new s(t,e.clarifyTimeoutError?s.ETIMEDOUT:s.ECONNABORTED,l,b)),b=null},t.isStandardBrowserEnv()){var E=(l.withCredentials||a(A))&&l.xsrfCookieName?r.read(l.xsrfCookieName):void 0;E&&(m[l.xsrfHeaderName]=E)}"setRequestHeader"in b&&t.forEach(m,(function(t,e){void 0===y&&"content-type"===e.toLowerCase()?delete m[e]:b.setRequestHeader(e,t)})),t.isUndefined(l.withCredentials)||(b.withCredentials=!!l.withCredentials),g&&"json"!==g&&(b.responseType=l.responseType),"function"==typeof l.onDownloadProgress&&b.addEventListener("progress",l.onDownloadProgress),"function"==typeof l.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",l.onUploadProgress),(l.cancelToken||l.signal)&&(d=function(t){b&&(h(!t||t&&t.type?new c:t),b.abort(),b=null)},l.cancelToken&&l.cancelToken.subscribe(d),l.signal&&(l.signal.aborted?d():l.signal.addEventListener("abort",d))),y||(y=null);var R=p(A);R&&-1===["http","https","file"].indexOf(R)?h(new s("Unsupported protocol "+R+":",s.ERR_BAD_REQUEST,l)):b.send(y)}))},Ib}var Wb=ov,Gb=function(t,e){hv.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))},zb=dv(),Hb=yv,Vb=bb(),Yb={"Content-Type":"application/x-www-form-urlencoded"};function $b(t,e){!Wb.isUndefined(t)&&Wb.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var Jb,Qb={transitional:Hb,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==mg&&"[object process]"===Object.prototype.toString.call(mg))&&(Jb=qb()),Jb),transformRequest:[function(t,e){if(Gb(e,"Accept"),Gb(e,"Content-Type"),Wb.isFormData(t)||Wb.isArrayBuffer(t)||Wb.isBuffer(t)||Wb.isStream(t)||Wb.isFile(t)||Wb.isBlob(t))return t;if(Wb.isArrayBufferView(t))return t.buffer;if(Wb.isURLSearchParams(t))return $b(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r,n=Wb.isObject(t),o=e&&e["Content-Type"];if((r=Wb.isFileList(t))||n&&"multipart/form-data"===o){var i=this.env&&this.env.FormData;return Vb(r?{"files[]":t}:t,i&&new i)}return n||"application/json"===o?($b(e,"application/json"),function(t,e,r){if(Wb.isString(t))try{return(e||JSON.parse)(t),Wb.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||Qb.transitional,r=e&&e.silentJSONParsing,n=e&&e.forcedJSONParsing,o=!r&&"json"===this.responseType;if(o||n&&Wb.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(o){if("SyntaxError"===t.name)throw zb.from(t,zb.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:Nb?_b:(Nb=1,_b=null)},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Wb.forEach(["delete","get","head"],(function(t){Qb.headers[t]={}})),Wb.forEach(["post","put","patch"],(function(t){Qb.headers[t]=Wb.merge(Yb)}));var Kb,Xb,Zb=Qb,tw=ov,ew=Zb;function rw(){return Xb?Kb:(Xb=1,Kb=function(t){return!(!t||!t.__CANCEL__)})}var nw=ov,ow=function(t,e,r){var n=this||ew;return tw.forEach(r,(function(r){t=r.call(n,t,e)})),t},iw=rw(),aw=Zb,uw=Db();function sw(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new uw}var cw,pw,lw=ov,fw=function(t,e){e=e||{};var r={};function n(t,e){return lw.isPlainObject(t)&&lw.isPlainObject(e)?lw.merge(t,e):lw.isPlainObject(e)?lw.merge({},e):lw.isArray(e)?e.slice():e}function o(r){return lw.isUndefined(e[r])?lw.isUndefined(t[r])?void 0:n(void 0,t[r]):n(t[r],e[r])}function i(t){if(!lw.isUndefined(e[t]))return n(void 0,e[t])}function a(r){return lw.isUndefined(e[r])?lw.isUndefined(t[r])?void 0:n(void 0,t[r]):n(void 0,e[r])}function u(r){return r in e?n(t[r],e[r]):r in t?n(void 0,t[r]):void 0}var s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials: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:u};return lw.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=s[t]||o,n=e(t);lw.isUndefined(n)&&e!==u||(r[t]=n)})),r};function hw(){return pw?cw:(pw=1,cw={version:"0.27.2"})}var dw=hw().version,yw=dv(),mw={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){mw[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var gw={};mw.transitional=function(t,e,r){function n(t,e){return"[Axios v"+dw+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,o,i){if(!1===t)throw new yw(n(o," has been removed"+(e?" in "+e:"")),yw.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,bw,ww,xw,Aw,Sw,Ew={assertOptions:function(t,e,r){if("object"!=typeof t)throw new yw("options must be an object",yw.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],a=e[i];if(a){var u=t[i],s=void 0===u||a(u,i,t);if(!0!==s)throw new yw("option "+i+" must be "+s,yw.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new yw("Unknown option "+i,yw.ERR_BAD_OPTION)}},validators:mw},Rw=ov,Pw=uv,kw=fv,Ow=function(t){return sw(t),t.headers=t.headers||{},t.data=ow.call(t,t.data,t.headers,t.transformRequest),t.headers=nw.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),nw.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||aw.adapter)(t).then((function(e){return sw(t),e.data=ow.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return iw(e)||(sw(t),e&&e.response&&(e.response.data=ow.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},jw=fw,Iw=Lb,Tw=Ew,_w=Tw.validators;function Nw(t){this.defaults=t,this.interceptors={request:new kw,response:new kw}}Nw.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=jw(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;void 0!==r&&Tw.assertOptions(r,{silentJSONParsing:_w.transitional(_w.boolean),forcedJSONParsing:_w.transitional(_w.boolean),clarifyTimeoutError:_w.transitional(_w.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!o){var u=[Ow,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(a),i=Promise.resolve(e);u.length;)i=i.then(u.shift(),u.shift());return i}for(var s=e;n.length;){var c=n.shift(),p=n.shift();try{s=c(s)}catch(t){p(t);break}}try{i=Ow(s)}catch(t){return Promise.reject(t)}for(;a.length;)i=i.then(a.shift(),a.shift());return i},Nw.prototype.getUri=function(t){t=jw(this.defaults,t);var e=Iw(t.baseURL,t.url);return Pw(e,t.params,t.paramsSerializer)},Rw.forEach(["delete","get","head","options"],(function(t){Nw.prototype[t]=function(e,r){return this.request(jw(r||{},{method:t,url:e,data:(r||{}).data}))}})),Rw.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(jw(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Nw.prototype[t]=e(),Nw.prototype[t+"Form"]=e(!0)}));var Uw=ov,Cw=Mg,Lw=Nw,Fw=fw;var Bw=function t(e){var r=new Lw(e),n=Cw(Lw.prototype.request,r);return Uw.extend(n,Lw.prototype,r),Uw.extend(n,r),n.create=function(r){return t(Fw(e,r))},n}(Zb);Bw.Axios=Lw,Bw.CanceledError=Db(),Bw.CancelToken=function(){if(bw)return vw;bw=1;var t=Db();function e(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function(t){r=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},e((function(e){n.reason||(n.reason=new t(e),r(n.reason))}))}return e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},e.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},e.source=function(){var t;return{token:new e((function(e){t=e})),cancel:t}},vw=e}(),Bw.isCancel=rw(),Bw.VERSION=hw().version,Bw.toFormData=bb(),Bw.AxiosError=dv(),Bw.Cancel=Bw.CanceledError,Bw.all=function(t){return Promise.all(t)},Bw.spread=xw?ww:(xw=1,ww=function(t){return function(e){return t.apply(null,e)}}),Bw.isAxiosError=function(){if(Sw)return Aw;Sw=1;var t=ov;return Aw=function(e){return t.isObject(e)&&!0===e.isAxiosError}}(),Dg.exports=Bw,Dg.exports.default=Bw;var Dw=P(Dg.exports),Mw=function(){function t(e){var r=e.responseHandler,n=e.requestConfigBuilder;s(this,t),this.responseHandler=r,this.requestConfigBuilder=n}var e,r,i,a,c,l;return p(t,[{key:"get",value:(l=u(o().mark((function t(e,r){var n;return o().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 l.apply(this,arguments)})},{key:"getData",value:(c=u(o().mark((function t(e,r){var n;return o().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 c.apply(this,arguments)})},{key:"post",value:(a=u(o().mark((function t(e,r){var n;return o().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 a.apply(this,arguments)})},{key:"postData",value:(i=u(o().mark((function t(e,r){var n;return o().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 i.apply(this,arguments)})},{key:"put",value:(r=u(o().mark((function t(e,r){var n;return o().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,e){return r.apply(this,arguments)})},{key:"delete",value:(e=u(o().mark((function t(e,r){var n;return o().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(t,r){return e.apply(this,arguments)})},{key:"sendRequest",value:function(t){return this.responseHandler.handle(Dw(n(n({},t),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]),t}(),qw=Po,Ww=nt,Gw=pt,zw=gm,Hw=$([].join);qw({target:"Array",proto:!0,forced:Ww!=Object||!zw("join",",")},{join:function(t){return Hw(Gw(this),void 0===t?",":t)}});var Vw,Yw=R.Symbol,$w=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},Jw=function(){return"function"==typeof Yw&&("function"==typeof Symbol&&("symbol"==typeof Yw("foo")&&("symbol"==typeof Symbol("bar")&&$w())))},Qw="Function.prototype.bind called on incompatible ",Kw=Array.prototype.slice,Xw=Object.prototype.toString,Zw="[object Function]",tx=function(t){var e=this;if("function"!=typeof e||Xw.call(e)!==Zw)throw new TypeError(Qw+e);for(var r,n=Kw.call(arguments,1),o=function(){if(this instanceof r){var o=e.apply(this,n.concat(Kw.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(Kw.call(arguments)))},i=Math.max(0,e.length-n.length),a=[],u=0;u<i;u++)a.push("$"+u);if(r=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(o),e.prototype){var s=function(){};s.prototype=e.prototype,r.prototype=new s,s.prototype=null}return r},ex=Function.prototype.bind||tx,rx=ex.call(Function.call,Object.prototype.hasOwnProperty),nx=SyntaxError,ox=Function,ix=TypeError,ax=function(t){try{return ox('"use strict"; return ('+t+").constructor;")()}catch(t){}},ux=Object.getOwnPropertyDescriptor;if(ux)try{ux({},"")}catch(t){ux=null}var sx,cx=function(){throw new ix},px=ux?function(){try{return cx}catch(t){try{return ux(arguments,"callee").get}catch(t){return cx}}}():cx,lx=Jw(),fx=Object.getPrototypeOf||function(t){return t.__proto__},hx={},dx="undefined"==typeof Uint8Array?Vw:fx(Uint8Array),yx={"%AggregateError%":"undefined"==typeof AggregateError?Vw:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Vw:ArrayBuffer,"%ArrayIteratorPrototype%":lx?fx([][Symbol.iterator]()):Vw,"%AsyncFromSyncIteratorPrototype%":Vw,"%AsyncFunction%":hx,"%AsyncGenerator%":hx,"%AsyncGeneratorFunction%":hx,"%AsyncIteratorPrototype%":hx,"%Atomics%":"undefined"==typeof Atomics?Vw:Atomics,"%BigInt%":"undefined"==typeof BigInt?Vw:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Vw:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?Vw:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Vw:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Vw:FinalizationRegistry,"%Function%":ox,"%GeneratorFunction%":hx,"%Int8Array%":"undefined"==typeof Int8Array?Vw:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Vw:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Vw:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":lx?fx(fx([][Symbol.iterator]())):Vw,"%JSON%":"object"==typeof JSON?JSON:Vw,"%Map%":"undefined"==typeof Map?Vw:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&lx?fx((new Map)[Symbol.iterator]()):Vw,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Vw:Promise,"%Proxy%":"undefined"==typeof Proxy?Vw:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?Vw:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Vw:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&lx?fx((new Set)[Symbol.iterator]()):Vw,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Vw:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":lx?fx(""[Symbol.iterator]()):Vw,"%Symbol%":lx?Symbol:Vw,"%SyntaxError%":nx,"%ThrowTypeError%":px,"%TypedArray%":dx,"%TypeError%":ix,"%Uint8Array%":"undefined"==typeof Uint8Array?Vw:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Vw:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Vw:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Vw:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?Vw:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Vw:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Vw:WeakSet},mx=function t(e){var r;if("%AsyncFunction%"===e)r=ax("async function () {}");else if("%GeneratorFunction%"===e)r=ax("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=ax("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=fx(o.prototype))}return yx[e]=r,r},gx={"%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"]},vx=ex,bx=rx,wx=vx.call(Function.call,Array.prototype.concat),xx=vx.call(Function.apply,Array.prototype.splice),Ax=vx.call(Function.call,String.prototype.replace),Sx=vx.call(Function.call,String.prototype.slice),Ex=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Rx=/\\(\\)?/g,Px=function(t){var e=Sx(t,0,1),r=Sx(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 Ax(t,Ex,(function(t,e,r,o){n[n.length]=r?Ax(o,Rx,"$1"):e||t})),n},kx=function(t,e){var r,n=t;if(bx(gx,n)&&(n="%"+(r=gx[n])[0]+"%"),bx(yx,n)){var o=yx[n];if(o===hx&&(o=mx(n)),void 0===o&&!e)throw new ix("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!")},Ox=SyntaxError,jx=Function,Ix=TypeError,Tx=function(t){try{return Function('"use strict"; return ('+t+").constructor;")()}catch(t){}},_x=Object.getOwnPropertyDescriptor;if(_x)try{_x({},"")}catch(t){_x=null}var Nx=function(){throw new Ix},Ux=_x?function(){try{return Nx}catch(t){try{return _x(arguments,"callee").get}catch(t){return Nx}}}():Nx,Cx=Jw(),Lx=Object.getPrototypeOf||function(t){return t.__proto__},Fx=Tx("async function* () {}"),Bx=Fx?Fx.prototype:sx,Dx=Bx?Bx.prototype:sx,Mx="undefined"==typeof Uint8Array?sx:Lx(Uint8Array),qx={"%AggregateError%":"undefined"==typeof AggregateError?sx:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?sx:ArrayBuffer,"%ArrayIteratorPrototype%":Cx?Lx([][Symbol.iterator]()):sx,"%AsyncFromSyncIteratorPrototype%":sx,"%AsyncFunction%":Tx("async function () {}"),"%AsyncGenerator%":Bx,"%AsyncGeneratorFunction%":Fx,"%AsyncIteratorPrototype%":Dx?Lx(Dx):sx,"%Atomics%":"undefined"==typeof Atomics?sx:Atomics,"%BigInt%":"undefined"==typeof BigInt?sx:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?sx:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?sx:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?sx:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?sx:FinalizationRegistry,"%Function%":jx,"%GeneratorFunction%":Tx("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?sx:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?sx:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?sx:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Cx?Lx(Lx([][Symbol.iterator]())):sx,"%JSON%":"object"==typeof JSON?JSON:sx,"%Map%":"undefined"==typeof Map?sx:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Cx?Lx((new Map)[Symbol.iterator]()):sx,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?sx:Promise,"%Proxy%":"undefined"==typeof Proxy?sx:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?sx:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?sx:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Cx?Lx((new Set)[Symbol.iterator]()):sx,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?sx:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Cx?Lx(""[Symbol.iterator]()):sx,"%Symbol%":Cx?Symbol:sx,"%SyntaxError%":Ox,"%ThrowTypeError%":Ux,"%TypedArray%":Mx,"%TypeError%":Ix,"%Uint8Array%":"undefined"==typeof Uint8Array?sx:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?sx:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?sx:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?sx:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?sx:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?sx:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?sx:WeakSet},Wx={"%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"]},Gx=ex,zx=rx,Hx=Gx.call(Function.call,Array.prototype.concat),Vx=Gx.call(Function.apply,Array.prototype.splice),Yx=Gx.call(Function.call,String.prototype.replace),$x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Jx=/\\(\\)?/g,Qx=function(t){var e=[];return Yx(t,$x,(function(t,r,n,o){e[e.length]=n?Yx(o,Jx,"$1"):r||t})),e},Kx=function(t,e){var r,n=t;if(zx(Wx,n)&&(n="%"+(r=Wx[n])[0]+"%"),zx(qx,n)){var o=qx[n];if(void 0===o&&!e)throw new Ix("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Ox("intrinsic "+t+" does not exist!")},Xx=function(t,e){if("string"!=typeof t||0===t.length)throw new Ix("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new Ix('"allowMissing" argument must be a boolean');var r=Qx(t),n=r.length>0?r[0]:"",o=Kx("%"+n+"%",e),i=o.name,a=o.value,u=!1,s=o.alias;s&&(n=s[0],Vx(r,Hx([0,1],s)));for(var c=1,p=!0;c<r.length;c+=1){var l=r[c];if("constructor"!==l&&p||(u=!0),zx(qx,i="%"+(n+="."+l)+"%"))a=qx[i];else if(null!=a){if(_x&&c+1>=r.length){var f=_x(a,l);if(p=!!f,!e&&!(l in a))throw new Ix("base intrinsic for "+t+" exists, but the property is not available.");a=p&&"get"in f&&!("originalValue"in f.get)?f.get:a[l]}else p=zx(a,l),a=a[l];p&&!u&&(qx[i]=a)}}return a},Zx={exports:{}};!function(t){var e=ex,r=Xx,n=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||e.call(o,n),a=r("%Object.defineProperty%",!0);if(a)try{a({},"a",{value:1})}catch(t){a=null}t.exports=function(){return i(e,o,arguments)};var u=function(){return i(e,n,arguments)};a?a(t.exports,"apply",{value:u}):t.exports.apply=u}(Zx);var tA=Xx,eA=Zx.exports,rA=eA(tA("String.prototype.indexOf")),nA=k(Object.freeze({__proto__:null,default:{}})),oA="function"==typeof Map&&Map.prototype,iA=Object.getOwnPropertyDescriptor&&oA?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,aA=oA&&iA&&"function"==typeof iA.get?iA.get:null,uA=oA&&Map.prototype.forEach,sA="function"==typeof Set&&Set.prototype,cA=Object.getOwnPropertyDescriptor&&sA?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,pA=sA&&cA&&"function"==typeof cA.get?cA.get:null,lA=sA&&Set.prototype.forEach,fA="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,hA="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,dA=Boolean.prototype.valueOf,yA=Object.prototype.toString,mA=Function.prototype.toString,gA=String.prototype.match,vA="function"==typeof BigInt?BigInt.prototype.valueOf:null,bA=Object.getOwnPropertySymbols,wA="function"==typeof Symbol?Symbol.prototype.toString:null,xA=Object.prototype.propertyIsEnumerable,AA=nA.custom,SA=AA&&kA(AA)?AA:null;function EA(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function RA(t){return String(t).replace(/"/g,""")}function PA(t){return"[object Array]"===IA(t)}function kA(t){return"[object Symbol]"===IA(t)}var OA=Object.prototype.hasOwnProperty||function(t){return t in this};function jA(t,e){return OA.call(t,e)}function IA(t){return yA.call(t)}function TA(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 _A(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return _A(t.slice(0,e.maxStringLength),e)+n}return EA(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,NA),"single",e)}function NA(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":"")+e.toString(16).toUpperCase()}function UA(t){return"Object("+t+")"}function CA(t){return t+" { ? }"}function LA(t,e,r,n){return t+" ("+e+") {"+(n?FA(r,n):r.join(", "))+"}"}function FA(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function BA(t,e){var r=PA(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=jA(t,o)?e(t[o],t):""}for(var i in t)jA(t,i)&&(r&&String(Number(i))===i&&i<t.length||(/[^\w$]/.test(i)?n.push(e(i,t)+": "+e(t[i],t)):n.push(i+": "+e(t[i],t))));if("function"==typeof bA)for(var a=bA(t),u=0;u<a.length;u++)xA.call(t,a[u])&&n.push("["+e(a[u])+"]: "+e(t[a[u]],t));return n}var DA=function(t,e){if("string"!=typeof t||0===t.length)throw new ix("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new ix('"allowMissing" argument must be a boolean');var r=Px(t),n=r.length>0?r[0]:"",o=kx("%"+n+"%",e),i=o.name,a=o.value,u=!1,s=o.alias;s&&(n=s[0],xx(r,wx([0,1],s)));for(var c=1,p=!0;c<r.length;c+=1){var l=r[c],f=Sx(l,0,1),h=Sx(l,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new nx("property names with quotes must have matching quotes");if("constructor"!==l&&p||(u=!0),bx(yx,i="%"+(n+="."+l)+"%"))a=yx[i];else if(null!=a){if(!(l in a)){if(!e)throw new ix("base intrinsic for "+t+" exists, but the property is not available.");return}if(ux&&c+1>=r.length){var d=ux(a,l);a=(p=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[l]}else p=bx(a,l),a=a[l];p&&!u&&(yx[i]=a)}}return a},MA=function(t,e){var r=tA(t,!!e);return"function"==typeof r&&rA(t,".prototype.")>-1?eA(r):r},qA=function t(e,r,n,o){var i=r||{};if(jA(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(jA(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=!jA(i,"customInspect")||i.customInspect;if("boolean"!=typeof a)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(jA(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return _A(e,i);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var u=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=u&&u>0&&"object"==typeof e)return PA(e)?"[Array]":"[Object]";var s=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(i,n);if(void 0===o)o=[];else if(TA(o,e)>=0)return"[Circular]";function c(e,r,a){if(r&&(o=o.slice()).push(r),a){var u={depth:i.depth};return jA(i,"quoteStyle")&&(u.quoteStyle=i.quoteStyle),t(e,u,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e){var p=function(t){if(t.name)return t.name;var e=gA.call(mA.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),l=BA(e,c);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(l.length>0?" { "+l.join(", ")+" }":"")}if(kA(e)){var f=wA.call(e);return"object"==typeof e?UA(f):f}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 h="<"+String(e.nodeName).toLowerCase(),d=e.attributes||[],y=0;y<d.length;y++)h+=" "+d[y].name+"="+EA(RA(d[y].value),"double",i);return h+=">",e.childNodes&&e.childNodes.length&&(h+="..."),h+="</"+String(e.nodeName).toLowerCase()+">"}if(PA(e)){if(0===e.length)return"[]";var m=BA(e,c);return s&&!function(t){for(var e=0;e<t.length;e++)if(TA(t[e],"\n")>=0)return!1;return!0}(m)?"["+FA(m,s)+"]":"[ "+m.join(", ")+" ]"}if(function(t){return"[object Error]"===IA(t)}(e)){var g=BA(e,c);return 0===g.length?"["+String(e)+"]":"{ ["+String(e)+"] "+g.join(", ")+" }"}if("object"==typeof e&&a){if(SA&&"function"==typeof e[SA])return e[SA]();if("function"==typeof e.inspect)return e.inspect()}if(function(t){if(!aA||!t||"object"!=typeof t)return!1;try{aA.call(t);try{pA.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var v=[];return uA.call(e,(function(t,r){v.push(c(r,e,!0)+" => "+c(t,e))})),LA("Map",aA.call(e),v,s)}if(function(t){if(!pA||!t||"object"!=typeof t)return!1;try{pA.call(t);try{aA.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var b=[];return lA.call(e,(function(t){b.push(c(t,e))})),LA("Set",pA.call(e),b,s)}if(function(t){if(!fA||!t||"object"!=typeof t)return!1;try{fA.call(t,fA);try{hA.call(t,hA)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return CA("WeakMap");if(function(t){if(!hA||!t||"object"!=typeof t)return!1;try{hA.call(t,hA);try{fA.call(t,fA)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return CA("WeakSet");if(function(t){return"[object Number]"===IA(t)}(e))return UA(c(Number(e)));if(function(t){return"[object BigInt]"===IA(t)}(e))return UA(c(vA.call(e)));if(function(t){return"[object Boolean]"===IA(t)}(e))return UA(dA.call(e));if(function(t){return"[object String]"===IA(t)}(e))return UA(c(String(e)));if(!function(t){return"[object Date]"===IA(t)}(e)&&!function(t){return"[object RegExp]"===IA(t)}(e)){var w=BA(e,c);return 0===w.length?"{}":s?"{"+FA(w,s)+"}":"{ "+w.join(", ")+" }"}return String(e)},WA=DA("%TypeError%"),GA=DA("%WeakMap%",!0),zA=DA("%Map%",!0),HA=MA("WeakMap.prototype.get",!0),VA=MA("WeakMap.prototype.set",!0),YA=MA("WeakMap.prototype.has",!0),$A=MA("Map.prototype.get",!0),JA=MA("Map.prototype.set",!0),QA=MA("Map.prototype.has",!0),KA=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},XA=String.prototype.replace,ZA=/%20/g,tS="RFC3986",eS={default:tS,formatters:{RFC1738:function(t){return XA.call(t,ZA,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:tS},rS=eS,nS=Object.prototype.hasOwnProperty,oS=Array.isArray,iS=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),aS=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},uS={arrayToObject:aS,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),u=0;u<a.length;++u){var s=a[u],c=i[s];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(e.push({obj:i,prop:s}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(oS(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="",u=0;u<i.length;++u){var s=i.charCodeAt(u);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||o===rS.RFC1738&&(40===s||41===s)?a+=i.charAt(u):s<128?a+=iS[s]:s<2048?a+=iS[192|s>>6]+iS[128|63&s]:s<55296||s>=57344?a+=iS[224|s>>12]+iS[128|s>>6&63]+iS[128|63&s]:(u+=1,s=65536+((1023&s)<<10|1023&i.charCodeAt(u)),a+=iS[240|s>>18]+iS[128|s>>12&63]+iS[128|s>>6&63]+iS[128|63&s])}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(oS(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(oS(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!nS.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return oS(e)&&!oS(r)&&(o=aS(e,n)),oS(e)&&oS(r)?(r.forEach((function(r,o){if(nS.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 nS.call(e,o)?e[o]=t(e[o],i,n):e[o]=i,e}),o)}},sS=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new WA("Side channel does not contain "+qA(t))},get:function(n){if(GA&&n&&("object"==typeof n||"function"==typeof n)){if(t)return HA(t,n)}else if(zA){if(e)return $A(e,n)}else if(r)return function(t,e){var r=KA(t,e);return r&&r.value}(r,n)},has:function(n){if(GA&&n&&("object"==typeof n||"function"==typeof n)){if(t)return YA(t,n)}else if(zA){if(e)return QA(e,n)}else if(r)return function(t,e){return!!KA(t,e)}(r,n);return!1},set:function(n,o){GA&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new GA),VA(t,n,o)):zA?(e||(e=new zA),JA(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=KA(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},cS=uS,pS=eS,lS=Object.prototype.hasOwnProperty,fS={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},hS=Array.isArray,dS=String.prototype.split,yS=Array.prototype.push,mS=function(t,e){yS.apply(t,hS(e)?e:[e])},gS=Date.prototype.toISOString,vS=pS.default,bS={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:cS.encode,encodeValuesOnly:!1,format:vS,formatter:pS.formatters[vS],indices:!1,serializeDate:function(t){return gS.call(t)},skipNulls:!1,strictNullHandling:!1},wS={},xS=function t(e,r,n,o,i,a,u,s,c,p,l,f,h,d,y){for(var m,g=e,v=y,b=0,w=!1;void 0!==(v=v.get(wS))&&!w;){var x=v.get(e);if(b+=1,void 0!==x){if(x===b)throw new RangeError("Cyclic object value");w=!0}void 0===v.get(wS)&&(b=0)}if("function"==typeof u?g=u(r,g):g instanceof Date?g=p(g):"comma"===n&&hS(g)&&(g=cS.maybeMap(g,(function(t){return t instanceof Date?p(t):t}))),null===g){if(o)return a&&!h?a(r,bS.encoder,d,"key",l):r;g=""}if("string"==typeof(m=g)||"number"==typeof m||"boolean"==typeof m||"symbol"==typeof m||"bigint"==typeof m||cS.isBuffer(g)){if(a){var A=h?r:a(r,bS.encoder,d,"key",l);if("comma"===n&&h){for(var S=dS.call(String(g),","),E="",R=0;R<S.length;++R)E+=(0===R?"":",")+f(a(S[R],bS.encoder,d,"value",l));return[f(A)+(hS(g)&&1===S.length?"[]":"")+"="+E]}return[f(A)+"="+f(a(g,bS.encoder,d,"value",l))]}return[f(r)+"="+f(String(g))]}var P,k=[];if(void 0===g)return k;if("comma"===n&&hS(g))P=[{value:g.length>0?g.join(",")||null:void 0}];else if(hS(u))P=u;else{var O=Object.keys(g);P=s?O.sort(s):O}for(var j="comma"===n&&hS(g)&&1===g.length?r+"[]":r,I=0;I<P.length;++I){var T=P[I],_="object"==typeof T&&void 0!==T.value?T.value:g[T];if(!i||null!==_){var N=hS(g)?"function"==typeof n?n(j,T):j:j+(c?"."+T:"["+T+"]");y.set(e,b);var U=sS();U.set(wS,y),mS(k,t(_,N,n,o,i,a,u,s,c,p,l,f,h,d,U))}}return k},AS=uS,SS=Object.prototype.hasOwnProperty,ES=Array.isArray,RS={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:AS.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},PS=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},kS=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},OS=function(t,e,r,n){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),u=a?o.slice(0,a.index):o,s=[];if(u){if(!r.plainObjects&&SS.call(Object.prototype,u)&&!r.allowPrototypes)return;s.push(u)}for(var c=0;r.depth>0&&null!==(a=i.exec(o))&&c<r.depth;){if(c+=1,!r.plainObjects&&SS.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;s.push(a[1])}return a&&s.push("["+o.slice(a.index)+"]"),function(t,e,r,n){for(var o=n?e:kS(e,r),i=t.length-1;i>=0;--i){var a,u=t[i];if("[]"===u&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var s="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,c=parseInt(s,10);r.parseArrays||""!==s?!isNaN(c)&&u!==s&&String(c)===s&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=o:"__proto__"!==s&&(a[s]=o):a={0:o}}o=a}return o}(s,e,r,n)}},jS=function(t,e){var r,n=t,o=function(t){if(!t)return bS;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||bS.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=pS.default;if(void 0!==t.format){if(!lS.call(pS.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=pS.formatters[r],o=bS.filter;return("function"==typeof t.filter||hS(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:bS.addQueryPrefix,allowDots:void 0===t.allowDots?bS.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:bS.charsetSentinel,delimiter:void 0===t.delimiter?bS.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:bS.encode,encoder:"function"==typeof t.encoder?t.encoder:bS.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:bS.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:bS.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:bS.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:bS.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):hS(o.filter)&&(r=o.filter);var i,a=[];if("object"!=typeof n||null===n)return"";i=e&&e.arrayFormat in fS?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var u=fS[i];r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var s=sS(),c=0;c<r.length;++c){var p=r[c];o.skipNulls&&null===n[p]||mS(a,xS(n[p],p,u,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,s))}var l=a.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&"),l.length>0?f+l:""},IS=function(t,e){var r=function(t){if(!t)return RS;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?RS.charset:t.charset;return{allowDots:void 0===t.allowDots?RS.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:RS.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:RS.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:RS.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:RS.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:RS.comma,decoder:"function"==typeof t.decoder?t.decoder:RS.decoder,delimiter:"string"==typeof t.delimiter||AS.isRegExp(t.delimiter)?t.delimiter:RS.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:RS.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:RS.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:RS.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:RS.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:RS.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,e){var r,n={},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=o.split(e.delimiter,i),u=-1,s=e.charset;if(e.charsetSentinel)for(r=0;r<a.length;++r)0===a[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[r]?s="utf-8":"utf8=%26%2310003%3B"===a[r]&&(s="iso-8859-1"),u=r,r=a.length);for(r=0;r<a.length;++r)if(r!==u){var c,p,l=a[r],f=l.indexOf("]="),h=-1===f?l.indexOf("="):f+1;-1===h?(c=e.decoder(l,RS.decoder,s,"key"),p=e.strictNullHandling?null:""):(c=e.decoder(l.slice(0,h),RS.decoder,s,"key"),p=AS.maybeMap(kS(l.slice(h+1),e),(function(t){return e.decoder(t,RS.decoder,s,"value")}))),p&&e.interpretNumericEntities&&"iso-8859-1"===s&&(p=PS(p)),l.indexOf("[]=")>-1&&(p=ES(p)?[p]:p),SS.call(n,c)?n[c]=AS.combine(n[c],p):n[c]=p}return n}(t,r):t,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var u=i[a],s=OS(u,n[u],r,"string"==typeof t);o=AS.merge(o,s,r)}return!0===r.allowSparse?o:AS.compact(o)},TS=P({formats:eS,parse:IS,stringify:jS});const _S="function"==typeof btoa,NS="function"==typeof Buffer,US=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),CS=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),LS=((t=>{let e={};t.forEach(((t,r)=>e[t]=r))})(CS),String.fromCharCode.bind(String)),FS=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_"))),BS=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+=CS[e>>18&63]+CS[e>>12&63]+CS[e>>6&63]+CS[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},DS=_S?t=>btoa(t):NS?t=>Buffer.from(t,"binary").toString("base64"):BS,MS=NS?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(LS.apply(null,t.subarray(r,r+4096)));return DS(e.join(""))},qS=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?LS(192|e>>>6)+LS(128|63&e):LS(224|e>>>12&15)+LS(128|e>>>6&63)+LS(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return LS(240|e>>>18&7)+LS(128|e>>>12&63)+LS(128|e>>>6&63)+LS(128|63&e)},WS=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,GS=t=>t.replace(WS,qS),zS=NS?t=>Buffer.from(t,"utf8").toString("base64"):US?t=>MS(US.encode(t)):t=>DS(GS(t)),HS=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?FS(zS(t)):zS(t)},VS=HS;var YS=function(){function t(e){if(s(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}var r,i,a;return p(t,[{key:"build",value:(a=u(o().mark((function t(r,i,a,u){var s,c,p,l;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:s=n(n(n({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(i)},u||{}),e.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth})),{},{proxy: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(i,a)).length>4096)){t.next=15;break}return t.t1=n,t.t2=n({},s),t.t3={},t.t4=n(n({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),t.next=12,this.buildData(a);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",n(n({},s),{},{url:c}));case 16:if(!(a instanceof Fg)){t.next=21;break}return t.next=19,this.buildData(a);case 19:return p=t.sent,t.abrupt("return",n(n({},s),{},{headers:"function"==typeof p.getHeaders?n(n({},this.headers),p.getHeaders()):this.headers,data:p}));case 21:return t.t7=n,t.t8=n({},s),t.t9={},t.next=26,this.buildData(a);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=n,t.t13=n({},s),t.t14={},t.next=34,this.buildData(a);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=i,t.next=41,this.buildData(a);case 41:return t.t19=t.sent,l=t.t17.buildRequestUrl.call(t.t17,t.t18,t.t19),t.abrupt("return",n(n({},s),{},{url:l}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return t.stop()}}),t,this)}))),function(t,e,r,n){return a.apply(this,arguments)})},{key:"buildRequestUrl",value:function(t,e){return"".concat(this.baseUrl).concat(t,"?").concat(TS.stringify(e))}},{key:"buildData",value:(i=u(o().mark((function t(e){var r;return o().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 Fg)){t.next=7;break}return e.append("__REQUEST_TOKEN__",r),t.abrupt("return",e);case 7:return t.abrupt("return",n({__REQUEST_TOKEN__:r},e));case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return i.apply(this,arguments)})},{key:"buildHeaders",value:function(t){var r=t.basicAuth,o=t.userAgent,i=r?{Authorization:"Basic ".concat(VS("".concat(r.username,":").concat(r.password)))}:{},a=n(n({},e.buildHeaders({userAgent:o})),i);switch(this.auth.type){case"password":return n(n({},a),{},{"X-Cybozu-Authorization":VS("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var u=this.auth.apiToken;return Array.isArray(u)?n(n({},a),{},{"X-Cybozu-API-Token":u.join(",")}):n(n({},a),{},{"X-Cybozu-API-Token":u});case"oAuthToken":return n(n({},a),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return n(n({},a),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(r=u(o().mark((function t(){return o().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 r.apply(this,arguments)})}]),t}(),$S=$,JS=Sn,QS=Date.prototype,KS="Invalid Date",XS="toString",ZS=$S(QS.toString),tE=$S(QS.getTime);String(new Date(NaN))!=KS&&JS(QS,XS,(function(){var t=tE(this);return t==t?ZS(this):KS}));var eE=L,rE=fe,nE=At,oE=oa,iE=RegExp.prototype,aE=Rr.PROPER,uE=Sn,sE=or,cE=ra,pE=T,lE=function(t){var e=t.flags;return void 0!==e||"flags"in iE||rE(t,"flags")||!nE(iE,t)?e:eE(oE,t)},fE="toString",hE=RegExp.prototype.toString,dE=pE((function(){return"/a/b"!=hE.call({source:"a",flags:"b"})})),yE=aE&&hE.name!=fE;(dE||yE)&&uE(RegExp.prototype,fE,(function(){var t=sE(this);return"/"+cE(t.source)+"/"+cE(lE(t))}),{unsafe:!0});var mE,gE=function(t){f(r,t);var e=x(r);function r(t){var n;return s(this,r),(n=e.call(this,t)).name="KintoneAbortSearchError",n.message=t,Object.setPrototypeOf(b(n),r.prototype),n}return p(r)}(g(Error)),vE=function(t){f(r,t);var e=x(r);function r(t){var n;s(this,r);var o=r.buildErrorResponseDateWithIndex(t),i=o.data,a=o.bulkRequestIndex;return(n=e.call(this,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(b(n),r),Object.setPrototypeOf(b(n),r.prototype),n}return p(r,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?r.findErrorResponseDataWithIndex(t.data.results):{data:t.data}}}]),r}(g(Error)),bE=["data"],wE=function(){function t(e){var r=e.enableAbortSearchError;s(this,t),this.enableAbortSearchError=r}return p(t,[{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 gE(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,o=v(e,bE);if("string"==typeof r)throw new Error("".concat(o.status,": ").concat(o.statusText));throw new vE(n({data:r},o))}}]),t}(),xE=function(t){if("username"in t)return n({type:"password"},t);if("apiToken"in t)return n({type:"apiToken"},t);if("oAuthToken"in t)return n({type:"oAuthToken"},t);try{return e.getDefaultAuth()}catch(t){if(t instanceof $i)throw new Error("session authentication is not supported in ".concat(t.platform," environment."));throw t}},AE=function(){function t(){var r,o,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,t),SE(a),this.baseUrl=e.buildBaseUrl(a.baseUrl).replace(/\/+$/,"");var u=xE(null!==(r=a.auth)&&void 0!==r?r:{}),c=new YS(n(n({},a),{},{baseUrl:this.baseUrl,auth:u})),p=new wE({enableAbortSearchError:null!==(o=null===(i=a.featureFlags)||void 0===i?void 0:i.enableAbortSearchError)&&void 0!==o&&o}),l=new Mw({responseHandler:p,requestConfigBuilder:c}),f=a.guestSpaceId;this.bulkRequest_=new ny(l,f),this.record=new Lg(l,this.bulkRequest_,f),this.app=new vy(l,f),this.file=new Bg(l,f)}return p(t,[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(t){return this.bulkRequest_.send(t)}}],[{key:"version",get:function(){return e.getVersion()}}]),t}(),SE=function(t){EE(t.baseUrl),RE(t.guestSpaceId)},EE=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".')}},RE=function(t){if(""===t||null===t)throw new Error("invalid guestSpaceId: got [".concat(t,"]"))};(mE=Zi).readFileFromPath&&(e.readFileFromPath=mE.readFileFromPath),mE.getRequestToken&&(e.getRequestToken=mE.getRequestToken),mE.getDefaultAuth&&(e.getDefaultAuth=mE.getDefaultAuth),mE.buildPlatformDependentConfig&&(e.buildPlatformDependentConfig=mE.buildPlatformDependentConfig),mE.buildHeaders&&(e.buildHeaders=mE.buildHeaders),mE.buildFormDataValue&&(e.buildFormDataValue=mE.buildFormDataValue),mE.buildBaseUrl&&(e.buildBaseUrl=mE.buildBaseUrl),mE.getVersion&&(e.getVersion=mE.getVersion),t.KintoneAbortSearchError=gE,t.KintoneAllRecordsError=Tg,t.KintoneRestAPIClient=AE,t.KintoneRestAPIError=vE}));
|
|
482
|
+
!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){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 n(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(){o=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function p(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),u=new P(o||[]);return n(a,"_invoke",{value:A(t,r,u)}),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f={};function h(){}function d(){}function y(){}var m={};c(m,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(k([])));v&&v!==e&&r.call(v,a)&&(m=v);var b=y.prototype=h.prototype=Object.create(m);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function o(n,i,a,u){var s=l(t[n],t,i);if("throw"!==s.type){var c=s.arg,p=c.value;return p&&"object"==typeof p&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){o("next",t,a,u)}),(function(t){o("throw",t,a,u)})):e.resolve(p).then((function(t){c.value=t,a(c)}),(function(t){return o("throw",t,a,u)}))}u(s.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function A(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(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 R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function k(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=y,n(b,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:d,configurable:!0}),d.displayName=c(y,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(x.prototype),c(x.prototype,u,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(b),c(b,s,"Generator"),c(b,a,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),t.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}},t.values=k,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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,f):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),f},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),R(r),f}},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;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function i(t){return i="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},i(t)}function a(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void r(t)}u.done?e(s):Promise.resolve(s).then(n,o)}function u(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function u(t){a(i,n,o,u,s,"next",t)}function s(t){a(i,n,o,u,s,"throw",t)}u(void 0)}))}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(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,E(n.key),n)}}function p(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function l(t,e,r){return(e=E(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(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&&d(t,e)}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}function d(t,e){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},d(t,e)}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function m(t,e,r){return m=y()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&d(o,r.prototype),o},m.apply(null,arguments)}function g(t){var e="function"==typeof Map?new Map:void 0;return g=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;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,n)}function n(){return m(t,arguments,h(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,t)},g(t)}function v(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 b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w(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 b(t)}function x(t){var e=y();return function(){var r,n=h(t);if(e){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w(this,r)}}function A(t){return function(t){if(Array.isArray(t))return S(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 S(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 S(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 S(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}function E(t){var e=function(t,e){if("object"!=typeof t||null===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:String(e)}var R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function P(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function k(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var r=function t(){if(this instanceof t){var r=[null];r.push.apply(r,arguments);var n=Function.bind.apply(e,r);return new n}return 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 O=function(t){return t&&t.Math==Math&&t},j=O("object"==typeof globalThis&&globalThis)||O("object"==typeof window&&window)||O("object"==typeof self&&self)||O("object"==typeof R&&R)||function(){return this}()||Function("return this")(),I={},T=function(t){try{return!!t()}catch(t){return!0}},N=!T((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),_=!T((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),U=_,C=Function.prototype.call,L=U?C.bind(C):function(){return C.apply(C,arguments)},F={},B={}.propertyIsEnumerable,D=Object.getOwnPropertyDescriptor,M=D&&!B.call({1:2},1);F.f=M?function(t){var e=D(this,t);return!!e&&e.enumerable}:B;var q,W,G=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},z=_,H=Function.prototype,V=H.call,Y=z&&H.bind.bind(V,V),$=z?Y:function(t){return function(){return V.apply(t,arguments)}},J=$,Q=J({}.toString),K=J("".slice),X=function(t){return K(Q(t),8,-1)},Z=T,tt=X,et=Object,rt=$("".split),nt=Z((function(){return!et("z").propertyIsEnumerable(0)}))?function(t){return"String"==tt(t)?rt(t,""):et(t)}:et,ot=function(t){return null==t},it=ot,at=TypeError,ut=function(t){if(it(t))throw at("Can't call method on "+t);return t},st=nt,ct=ut,pt=function(t){return st(ct(t))},lt="object"==typeof document&&document.all,ft={all:lt,IS_HTMLDDA:void 0===lt&&void 0!==lt},ht=ft.all,dt=ft.IS_HTMLDDA?function(t){return"function"==typeof t||t===ht}:function(t){return"function"==typeof t},yt=dt,mt=ft.all,gt=ft.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:yt(t)||t===mt}:function(t){return"object"==typeof t?null!==t:yt(t)},vt=j,bt=dt,wt=function(t){return bt(t)?t:void 0},xt=function(t,e){return arguments.length<2?wt(vt[t]):vt[t]&&vt[t][e]},At=$({}.isPrototypeOf),St=j,Et="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Rt=St.process,Pt=St.Deno,kt=Rt&&Rt.versions||Pt&&Pt.version,Ot=kt&&kt.v8;Ot&&(W=(q=Ot.split("."))[0]>0&&q[0]<4?1:+(q[0]+q[1])),!W&&Et&&(!(q=Et.match(/Edge\/(\d+)/))||q[1]>=74)&&(q=Et.match(/Chrome\/(\d+)/))&&(W=+q[1]);var jt=W,It=jt,Tt=T,Nt=!!Object.getOwnPropertySymbols&&!Tt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&It&&It<41})),_t=Nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ut=xt,Ct=dt,Lt=At,Ft=Object,Bt=_t?function(t){return"symbol"==typeof t}:function(t){var e=Ut("Symbol");return Ct(e)&&Lt(e.prototype,Ft(t))},Dt=String,Mt=function(t){try{return Dt(t)}catch(t){return"Object"}},qt=dt,Wt=Mt,Gt=TypeError,zt=function(t){if(qt(t))return t;throw Gt(Wt(t)+" is not a function")},Ht=zt,Vt=ot,Yt=function(t,e){var r=t[e];return Vt(r)?void 0:Ht(r)},$t=L,Jt=dt,Qt=gt,Kt=TypeError,Xt={exports:{}},Zt=j,te=Object.defineProperty,ee=function(t,e){try{te(Zt,t,{value:e,configurable:!0,writable:!0})}catch(r){Zt[t]=e}return e},re=ee,ne="__core-js_shared__",oe=j[ne]||re(ne,{}),ie=oe;(Xt.exports=function(t,e){return ie[t]||(ie[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"});var ae=Xt.exports,ue=ut,se=Object,ce=function(t){return se(ue(t))},pe=ce,le=$({}.hasOwnProperty),fe=Object.hasOwn||function(t,e){return le(pe(t),e)},he=$,de=0,ye=Math.random(),me=he(1..toString),ge=function(t){return"Symbol("+(void 0===t?"":t)+")_"+me(++de+ye,36)},ve=ae,be=fe,we=ge,xe=Nt,Ae=_t,Se=j.Symbol,Ee=ve("wks"),Re=Ae?Se.for||Se:Se&&Se.withoutSetter||we,Pe=function(t){return be(Ee,t)||(Ee[t]=xe&&be(Se,t)?Se[t]:Re("Symbol."+t)),Ee[t]},ke=L,Oe=gt,je=Bt,Ie=Yt,Te=function(t,e){var r,n;if("string"===e&&Jt(r=t.toString)&&!Qt(n=$t(r,t)))return n;if(Jt(r=t.valueOf)&&!Qt(n=$t(r,t)))return n;if("string"!==e&&Jt(r=t.toString)&&!Qt(n=$t(r,t)))return n;throw Kt("Can't convert object to primitive value")},Ne=TypeError,_e=Pe("toPrimitive"),Ue=function(t,e){if(!Oe(t)||je(t))return t;var r,n=Ie(t,_e);if(n){if(void 0===e&&(e="default"),r=ke(n,t,e),!Oe(r)||je(r))return r;throw Ne("Can't convert object to primitive value")}return void 0===e&&(e="number"),Te(t,e)},Ce=Ue,Le=Bt,Fe=function(t){var e=Ce(t,"string");return Le(e)?e:e+""},Be=gt,De=j.document,Me=Be(De)&&Be(De.createElement),qe=function(t){return Me?De.createElement(t):{}},We=qe,Ge=!N&&!T((function(){return 7!=Object.defineProperty(We("div"),"a",{get:function(){return 7}}).a})),ze=N,He=L,Ve=F,Ye=G,$e=pt,Je=Fe,Qe=fe,Ke=Ge,Xe=Object.getOwnPropertyDescriptor;I.f=ze?Xe:function(t,e){if(t=$e(t),e=Je(e),Ke)try{return Xe(t,e)}catch(t){}if(Qe(t,e))return Ye(!He(Ve.f,t,e),t[e])};var Ze={},tr=N&&T((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),er=gt,rr=String,nr=TypeError,or=function(t){if(er(t))return t;throw nr(rr(t)+" is not an object")},ir=N,ar=Ge,ur=tr,sr=or,cr=Fe,pr=TypeError,lr=Object.defineProperty,fr=Object.getOwnPropertyDescriptor,hr="enumerable",dr="configurable",yr="writable";Ze.f=ir?ur?function(t,e,r){if(sr(t),e=cr(e),sr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&yr in r&&!r.writable){var n=fr(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:dr in r?r.configurable:n.configurable,enumerable:hr in r?r.enumerable:n.enumerable,writable:!1})}return lr(t,e,r)}:lr:function(t,e,r){if(sr(t),e=cr(e),sr(r),ar)try{return lr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw pr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var mr=Ze,gr=G,vr=N?function(t,e,r){return mr.f(t,e,gr(1,r))}:function(t,e,r){return t[e]=r,t},br={exports:{}},wr=N,xr=fe,Ar=Function.prototype,Sr=wr&&Object.getOwnPropertyDescriptor,Er=xr(Ar,"name"),Rr={EXISTS:Er,PROPER:Er&&"something"===function(){}.name,CONFIGURABLE:Er&&(!wr||wr&&Sr(Ar,"name").configurable)},Pr=dt,kr=oe,Or=$(Function.toString);Pr(kr.inspectSource)||(kr.inspectSource=function(t){return Or(t)});var jr,Ir,Tr,Nr=kr.inspectSource,_r=dt,Ur=j.WeakMap,Cr=_r(Ur)&&/native code/.test(String(Ur)),Lr=ge,Fr=ae("keys"),Br=function(t){return Fr[t]||(Fr[t]=Lr(t))},Dr={},Mr=Cr,qr=j,Wr=gt,Gr=vr,zr=fe,Hr=oe,Vr=Br,Yr=Dr,$r="Object already initialized",Jr=qr.TypeError,Qr=qr.WeakMap;if(Mr||Hr.state){var Kr=Hr.state||(Hr.state=new Qr);Kr.get=Kr.get,Kr.has=Kr.has,Kr.set=Kr.set,jr=function(t,e){if(Kr.has(t))throw Jr($r);return e.facade=t,Kr.set(t,e),e},Ir=function(t){return Kr.get(t)||{}},Tr=function(t){return Kr.has(t)}}else{var Xr=Vr("state");Yr[Xr]=!0,jr=function(t,e){if(zr(t,Xr))throw Jr($r);return e.facade=t,Gr(t,Xr,e),e},Ir=function(t){return zr(t,Xr)?t[Xr]:{}},Tr=function(t){return zr(t,Xr)}}var Zr={set:jr,get:Ir,has:Tr,enforce:function(t){return Tr(t)?Ir(t):jr(t,{})},getterFor:function(t){return function(e){var r;if(!Wr(e)||(r=Ir(e)).type!==t)throw Jr("Incompatible receiver, "+t+" required");return r}}},tn=$,en=T,rn=dt,nn=fe,on=N,an=Rr.CONFIGURABLE,un=Nr,sn=Zr.enforce,cn=Zr.get,pn=String,ln=Object.defineProperty,fn=tn("".slice),hn=tn("".replace),dn=tn([].join),yn=on&&!en((function(){return 8!==ln((function(){}),"length",{value:8}).length})),mn=String(String).split("String"),gn=br.exports=function(t,e,r){"Symbol("===fn(pn(e),0,7)&&(e="["+hn(pn(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!nn(t,"name")||an&&t.name!==e)&&(on?ln(t,"name",{value:e,configurable:!0}):t.name=e),yn&&r&&nn(r,"arity")&&t.length!==r.arity&&ln(t,"length",{value:r.arity});try{r&&nn(r,"constructor")&&r.constructor?on&&ln(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=sn(t);return nn(n,"source")||(n.source=dn(mn,"string"==typeof e?e:"")),t};Function.prototype.toString=gn((function(){return rn(this)&&cn(this).source||un(this)}),"toString");var vn=br.exports,bn=dt,wn=Ze,xn=vn,An=ee,Sn=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(bn(r)&&xn(r,i,n),n.global)o?t[e]=r:An(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:wn.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},En={},Rn=Math.ceil,Pn=Math.floor,kn=Math.trunc||function(t){var e=+t;return(e>0?Pn:Rn)(e)},On=function(t){var e=+t;return e!=e||0===e?0:kn(e)},jn=On,In=Math.max,Tn=Math.min,Nn=function(t,e){var r=jn(t);return r<0?In(r+e,0):Tn(r,e)},_n=On,Un=Math.min,Cn=function(t){return t>0?Un(_n(t),9007199254740991):0},Ln=Cn,Fn=function(t){return Ln(t.length)},Bn=pt,Dn=Nn,Mn=Fn,qn=function(t){return function(e,r,n){var o,i=Bn(e),a=Mn(i),u=Dn(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},Wn={includes:qn(!0),indexOf:qn(!1)},Gn=fe,zn=pt,Hn=Wn.indexOf,Vn=Dr,Yn=$([].push),$n=function(t,e){var r,n=zn(t),o=0,i=[];for(r in n)!Gn(Vn,r)&&Gn(n,r)&&Yn(i,r);for(;e.length>o;)Gn(n,r=e[o++])&&(~Hn(i,r)||Yn(i,r));return i},Jn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Qn=$n,Kn=Jn.concat("length","prototype");En.f=Object.getOwnPropertyNames||function(t){return Qn(t,Kn)};var Xn={};Xn.f=Object.getOwnPropertySymbols;var Zn=xt,to=En,eo=Xn,ro=or,no=$([].concat),oo=Zn("Reflect","ownKeys")||function(t){var e=to.f(ro(t)),r=eo.f;return r?no(e,r(t)):e},io=fe,ao=oo,uo=I,so=Ze,co=T,po=dt,lo=/#|\.prototype\./,fo=function(t,e){var r=yo[ho(t)];return r==go||r!=mo&&(po(e)?co(e):!!e)},ho=fo.normalize=function(t){return String(t).replace(lo,".").toLowerCase()},yo=fo.data={},mo=fo.NATIVE="N",go=fo.POLYFILL="P",vo=fo,bo=j,wo=I.f,xo=vr,Ao=Sn,So=ee,Eo=function(t,e,r){for(var n=ao(e),o=so.f,i=uo.f,a=0;a<n.length;a++){var u=n[a];io(t,u)||r&&io(r,u)||o(t,u,i(e,u))}},Ro=vo,Po=function(t,e){var r,n,o,i,a,u=t.target,s=t.global,c=t.stat;if(r=s?bo:c?bo[u]||So(u,{}):(bo[u]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=wo(r,n))&&a.value:r[n],!Ro(s?n:u+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Eo(i,o)}(t.sham||o&&o.sham)&&xo(i,"sham",!0),Ao(r,n,i,t)}},ko=X,Oo=Array.isArray||function(t){return"Array"==ko(t)},jo=TypeError,Io=Fe,To=Ze,No=G,_o=function(t,e,r){var n=Io(e);n in t?To.f(t,n,No(0,r)):t[n]=r},Uo={};Uo[Pe("toStringTag")]="z";var Co="[object z]"===String(Uo),Lo=Co,Fo=dt,Bo=X,Do=Pe("toStringTag"),Mo=Object,qo="Arguments"==Bo(function(){return arguments}()),Wo=Lo?Bo: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=Mo(t),Do))?r:qo?Bo(e):"Object"==(n=Bo(e))&&Fo(e.callee)?"Arguments":n},Go=$,zo=T,Ho=dt,Vo=Wo,Yo=Nr,$o=function(){},Jo=[],Qo=xt("Reflect","construct"),Ko=/^\s*(?:class|function)\b/,Xo=Go(Ko.exec),Zo=!Ko.exec($o),ti=function(t){if(!Ho(t))return!1;try{return Qo($o,Jo,t),!0}catch(t){return!1}},ei=function(t){if(!Ho(t))return!1;switch(Vo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Zo||!!Xo(Ko,Yo(t))}catch(t){return!0}};ei.sham=!0;var ri=!Qo||zo((function(){var t;return ti(ti.call)||!ti(Object)||!ti((function(){t=!0}))||t}))?ei:ti,ni=Oo,oi=ri,ii=gt,ai=Pe("species"),ui=Array,si=function(t){var e;return ni(t)&&(e=t.constructor,(oi(e)&&(e===ui||ni(e.prototype))||ii(e)&&null===(e=e[ai]))&&(e=void 0)),void 0===e?ui:e},ci=function(t,e){return new(si(t))(0===e?0:e)},pi=T,li=jt,fi=Pe("species"),hi=function(t){return li>=51||!pi((function(){var e=[];return(e.constructor={})[fi]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},di=Po,yi=T,mi=Oo,gi=gt,vi=ce,bi=Fn,wi=function(t){if(t>9007199254740991)throw jo("Maximum allowed index exceeded");return t},xi=_o,Ai=ci,Si=hi,Ei=jt,Ri=Pe("isConcatSpreadable"),Pi=Ei>=51||!yi((function(){var t=[];return t[Ri]=!1,t.concat()[0]!==t})),ki=function(t){if(!gi(t))return!1;var e=t[Ri];return void 0!==e?!!e:mi(t)};di({target:"Array",proto:!0,arity:1,forced:!Pi||!Si("concat")},{concat:function(t){var e,r,n,o,i,a=vi(this),u=Ai(a,0),s=0;for(e=-1,n=arguments.length;e<n;e++)if(ki(i=-1===e?a:arguments[e]))for(o=bi(i),wi(s+o),r=0;r<o;r++,s++)r in i&&xi(u,s,i[r]);else wi(s+1),xi(u,s++,i);return u.length=s,u}});var Oi=vn,ji=Ze,Ii=function(t,e,r){return r.get&&Oi(r.get,e,{getter:!0}),r.set&&Oi(r.set,e,{setter:!0}),ji.f(t,e,r)},Ti=N,Ni=Rr.EXISTS,_i=$,Ui=Ii,Ci=Function.prototype,Li=_i(Ci.toString),Fi=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Bi=_i(Fi.exec);Ti&&!Ni&&Ui(Ci,"name",{configurable:!0,get:function(){try{return Bi(Fi,Li(this))[1]}catch(t){return""}}});var Di=$,Mi=zt,qi=dt,Wi=String,Gi=TypeError,zi=function(t,e,r){try{return Di(Mi(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},Hi=or,Vi=function(t){if("object"==typeof t||qi(t))return t;throw Gi("Can't set "+Wi(t)+" as a prototype")},Yi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=zi(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return Hi(r),Vi(n),e?t(r,n):r.__proto__=n,r}}():void 0);Po({target:"Object",stat:!0},{setPrototypeOf:Yi});var $i=function(t){f(r,t);var e=x(r);function r(t){var n;s(this,r);var o="This function is not supported in ".concat(t," environment");return n=e.call(this,o),Error.captureStackTrace&&Error.captureStackTrace(b(n),r),n.name="UnsupportedPlatformError",n.platform=t,Object.setPrototypeOf(b(n),r.prototype),n}return p(r)}(g(Error));function Ji(){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)}Ji.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)}}},Ji.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},Ji.prototype.getExtension=function(t){return(t=/^\s*([^;\s]*)/.test(t)&&RegExp.$1)&&this._extensions[t.toLowerCase()]||null};var Qi=P(new Ji({"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]})),Ki="4.1.0",Xi=function(){var t=u(o().mark((function t(){var e;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":i(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":i(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)}}(),Zi=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=Qi.getType(e)||void 0),new Blob([t],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Xi,getVersion:function(){return Ki},readFileFromPath:function(t){throw new $i("Browser")}}),ta=Wo,ea=String,ra=function(t){if("Symbol"===ta(t))throw TypeError("Cannot convert a Symbol value to a string");return ea(t)},na=or,oa=function(){var t=na(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},ia=T,aa=j.RegExp,ua=ia((function(){var t=aa("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),sa=ua||ia((function(){return!aa("a","y").sticky})),ca={BROKEN_CARET:ua||ia((function(){var t=aa("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:sa,UNSUPPORTED_Y:ua},pa={},la=$n,fa=Jn,ha=Object.keys||function(t){return la(t,fa)},da=N,ya=tr,ma=Ze,ga=or,va=pt,ba=ha;pa.f=da&&!ya?Object.defineProperties:function(t,e){ga(t);for(var r,n=va(e),o=ba(e),i=o.length,a=0;i>a;)ma.f(t,r=o[a++],n[r]);return t};var wa,xa=xt("document","documentElement"),Aa=or,Sa=pa,Ea=Jn,Ra=Dr,Pa=xa,ka=qe,Oa=Br("IE_PROTO"),ja=function(){},Ia=function(t){return"<script>"+t+"</"+"script>"},Ta=function(t){t.write(Ia("")),t.close();var e=t.parentWindow.Object;return t=null,e},Na=function(){try{wa=new ActiveXObject("htmlfile")}catch(t){}var t,e;Na="undefined"!=typeof document?document.domain&&wa?Ta(wa):((e=ka("iframe")).style.display="none",Pa.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Ia("document.F=Object")),t.close(),t.F):Ta(wa);for(var r=Ea.length;r--;)delete Na.prototype[Ea[r]];return Na()};Ra[Oa]=!0;var _a,Ua,Ca=Object.create||function(t,e){var r;return null!==t?(ja.prototype=Aa(t),r=new ja,ja.prototype=null,r[Oa]=t):r=Na(),void 0===e?r:Sa.f(r,e)},La=T,Fa=j.RegExp,Ba=La((function(){var t=Fa(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Da=T,Ma=j.RegExp,qa=Da((function(){var t=Ma("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Wa=L,Ga=$,za=ra,Ha=oa,Va=ca,Ya=Ca,$a=Zr.get,Ja=Ba,Qa=qa,Ka=ae("native-string-replace",String.prototype.replace),Xa=RegExp.prototype.exec,Za=Xa,tu=Ga("".charAt),eu=Ga("".indexOf),ru=Ga("".replace),nu=Ga("".slice),ou=(Ua=/b*/g,Wa(Xa,_a=/a/,"a"),Wa(Xa,Ua,"a"),0!==_a.lastIndex||0!==Ua.lastIndex),iu=Va.BROKEN_CARET,au=void 0!==/()??/.exec("")[1];(ou||au||iu||Ja||Qa)&&(Za=function(t){var e,r,n,o,i,a,u,s=this,c=$a(s),p=za(t),l=c.raw;if(l)return l.lastIndex=s.lastIndex,e=Wa(Za,l,p),s.lastIndex=l.lastIndex,e;var f=c.groups,h=iu&&s.sticky,d=Wa(Ha,s),y=s.source,m=0,g=p;if(h&&(d=ru(d,"y",""),-1===eu(d,"g")&&(d+="g"),g=nu(p,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==tu(p,s.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),au&&(r=new RegExp("^"+y+"$(?!\\s)",d)),ou&&(n=s.lastIndex),o=Wa(Xa,h?r:s,g),h?o?(o.input=nu(o.input,m),o[0]=nu(o[0],m),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:ou&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),au&&o&&o.length>1&&Wa(Ka,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=Ya(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var uu=Za;Po({target:"RegExp",proto:!0,forced:/./.exec!==uu},{exec:uu});var su=_,cu=Function.prototype,pu=cu.apply,lu=cu.call,fu="object"==typeof Reflect&&Reflect.apply||(su?lu.bind(pu):function(){return lu.apply(pu,arguments)}),hu=X,du=$,yu=function(t){if("Function"===hu(t))return du(t)},mu=yu,gu=Sn,vu=uu,bu=T,wu=Pe,xu=vr,Au=wu("species"),Su=RegExp.prototype,Eu=function(t,e,r,n){var o=wu(t),i=!bu((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!bu((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Au]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var u=mu(/./[o]),s=e(o,""[t],(function(t,e,r,n,o){var a=mu(t),s=e.exec;return s===vu||s===Su.exec?i&&!o?{done:!0,value:u(e,r,n)}:{done:!0,value:a(r,e,n)}:{done:!1}}));gu(String.prototype,t,s[0]),gu(Su,o,s[1])}n&&xu(Su[o],"sham",!0)},Ru=$,Pu=On,ku=ra,Ou=ut,ju=Ru("".charAt),Iu=Ru("".charCodeAt),Tu=Ru("".slice),Nu=function(t){return function(e,r){var n,o,i=ku(Ou(e)),a=Pu(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=Iu(i,a))<55296||n>56319||a+1===u||(o=Iu(i,a+1))<56320||o>57343?t?ju(i,a):n:t?Tu(i,a,a+2):o-56320+(n-55296<<10)+65536}},_u={codeAt:Nu(!1),charAt:Nu(!0)},Uu=_u.charAt,Cu=function(t,e,r){return e+(r?Uu(t,e).length:1)},Lu=$,Fu=ce,Bu=Math.floor,Du=Lu("".charAt),Mu=Lu("".replace),qu=Lu("".slice),Wu=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Gu=/\$([$&'`]|\d{1,2})/g,zu=L,Hu=or,Vu=dt,Yu=X,$u=uu,Ju=TypeError,Qu=function(t,e){var r=t.exec;if(Vu(r)){var n=zu(r,t,e);return null!==n&&Hu(n),n}if("RegExp"===Yu(t))return zu($u,t,e);throw Ju("RegExp#exec called on incompatible receiver")},Ku=fu,Xu=L,Zu=$,ts=Eu,es=T,rs=or,ns=dt,os=ot,is=On,as=Cn,us=ra,ss=ut,cs=Cu,ps=Yt,ls=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=Gu;return void 0!==o&&(o=Fu(o),s=Wu),Mu(i,s,(function(i,s){var c;switch(Du(s,0)){case"$":return"$";case"&":return t;case"`":return qu(e,0,r);case"'":return qu(e,a);case"<":c=o[qu(s,1,-1)];break;default:var p=+s;if(0===p)return i;if(p>u){var l=Bu(p/10);return 0===l?i:l<=u?void 0===n[l-1]?Du(s,1):n[l-1]+Du(s,1):i}c=n[p-1]}return void 0===c?"":c}))},fs=Qu,hs=Pe("replace"),ds=Math.max,ys=Math.min,ms=Zu([].concat),gs=Zu([].push),vs=Zu("".indexOf),bs=Zu("".slice),ws="$0"==="a".replace(/./,"$0"),xs=!!/./[hs]&&""===/./[hs]("a","$0");ts("replace",(function(t,e,r){var n=xs?"$":"$0";return[function(t,r){var n=ss(this),o=os(t)?void 0:ps(t,hs);return o?Xu(o,t,n,r):Xu(e,us(n),t,r)},function(t,o){var i=rs(this),a=us(t);if("string"==typeof o&&-1===vs(o,n)&&-1===vs(o,"$<")){var u=r(e,i,a,o);if(u.done)return u.value}var s=ns(o);s||(o=us(o));var c=i.global;if(c){var p=i.unicode;i.lastIndex=0}for(var l=[];;){var f=fs(i,a);if(null===f)break;if(gs(l,f),!c)break;""===us(f[0])&&(i.lastIndex=cs(a,as(i.lastIndex),p))}for(var h,d="",y=0,m=0;m<l.length;m++){for(var g=us((f=l[m])[0]),v=ds(ys(is(f.index),a.length),0),b=[],w=1;w<f.length;w++)gs(b,void 0===(h=f[w])?h:String(h));var x=f.groups;if(s){var A=ms([g],b,v,a);void 0!==x&&gs(A,x);var S=us(Ku(o,void 0,A))}else S=ls(g,a,v,b,x,o);v>=y&&(d+=bs(a,y,v)+S,y=v+g.length)}return d+bs(a,y)}]}),!!es((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!ws||xs);var As=Pe,Ss=Ca,Es=Ze.f,Rs=As("unscopables"),Ps=Array.prototype;null==Ps[Rs]&&Es(Ps,Rs,{configurable:!0,value:Ss(null)});var ks,Os,js,Is={},Ts=!T((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Ns=fe,_s=dt,Us=ce,Cs=Ts,Ls=Br("IE_PROTO"),Fs=Object,Bs=Fs.prototype,Ds=Cs?Fs.getPrototypeOf:function(t){var e=Us(t);if(Ns(e,Ls))return e[Ls];var r=e.constructor;return _s(r)&&e instanceof r?r.prototype:e instanceof Fs?Bs:null},Ms=T,qs=dt,Ws=gt,Gs=Ds,zs=Sn,Hs=Pe("iterator"),Vs=!1;[].keys&&("next"in(js=[].keys())?(Os=Gs(Gs(js)))!==Object.prototype&&(ks=Os):Vs=!0);var Ys=!Ws(ks)||Ms((function(){var t={};return ks[Hs].call(t)!==t}));Ys&&(ks={}),qs(ks[Hs])||zs(ks,Hs,(function(){return this}));var $s={IteratorPrototype:ks,BUGGY_SAFARI_ITERATORS:Vs},Js=Ze.f,Qs=fe,Ks=Pe("toStringTag"),Xs=function(t,e,r){t&&!r&&(t=t.prototype),t&&!Qs(t,Ks)&&Js(t,Ks,{configurable:!0,value:e})},Zs=$s.IteratorPrototype,tc=Ca,ec=G,rc=Xs,nc=Is,oc=function(){return this},ic=function(t,e,r,n){var o=e+" Iterator";return t.prototype=tc(Zs,{next:ec(+!n,r)}),rc(t,o,!1),nc[o]=oc,t},ac=Po,uc=L,sc=dt,cc=ic,pc=Ds,lc=Yi,fc=Xs,hc=vr,dc=Sn,yc=Is,mc=Rr.PROPER,gc=Rr.CONFIGURABLE,vc=$s.IteratorPrototype,bc=$s.BUGGY_SAFARI_ITERATORS,wc=Pe("iterator"),xc="keys",Ac="values",Sc="entries",Ec=function(){return this},Rc=function(t,e,r,n,o,i,a){cc(r,e,n);var u,s,c,p=function(t){if(t===o&&y)return y;if(!bc&&t in h)return h[t];switch(t){case xc:case Ac:case Sc:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",f=!1,h=t.prototype,d=h[wc]||h["@@iterator"]||o&&h[o],y=!bc&&d||p(o),m="Array"==e&&h.entries||d;if(m&&(u=pc(m.call(new t)))!==Object.prototype&&u.next&&(pc(u)!==vc&&(lc?lc(u,vc):sc(u[wc])||dc(u,wc,Ec)),fc(u,l,!0)),mc&&o==Ac&&d&&d.name!==Ac&&(gc?hc(h,"name",Ac):(f=!0,y=function(){return uc(d,this)})),o)if(s={values:p(Ac),keys:i?y:p(xc),entries:p(Sc)},a)for(c in s)(bc||f||!(c in h))&&dc(h,c,s[c]);else ac({target:e,proto:!0,forced:bc||f},s);return h[wc]!==y&&dc(h,wc,y,{name:o}),yc[e]=y,s},Pc=function(t,e){return{value:t,done:e}},kc=pt,Oc=function(t){Ps[Rs][t]=!0},jc=Is,Ic=Zr,Tc=Ze.f,Nc=Rc,_c=Pc,Uc=N,Cc="Array Iterator",Lc=Ic.set,Fc=Ic.getterFor(Cc),Bc=Nc(Array,"Array",(function(t,e){Lc(this,{type:Cc,target:kc(t),index:0,kind:e})}),(function(){var t=Fc(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,_c(void 0,!0)):_c("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),Dc=jc.Arguments=jc.Array;if(Oc("keys"),Oc("values"),Oc("entries"),Uc&&"values"!==Dc.name)try{Tc(Dc,"name",{value:"values"})}catch(t){}var Mc=Wo,qc=Co?{}.toString:function(){return"[object "+Mc(this)+"]"};Co||Sn(Object.prototype,"toString",qc,{unsafe:!0});var Wc=_u.charAt,Gc=ra,zc=Zr,Hc=Rc,Vc=Pc,Yc="String Iterator",$c=zc.set,Jc=zc.getterFor(Yc);Hc(String,"String",(function(t){$c(this,{type:Yc,string:Gc(t),index:0})}),(function(){var t,e=Jc(this),r=e.string,n=e.index;return n>=r.length?Vc(void 0,!0):(t=Wc(r,n),e.index+=t.length,Vc(t,!1))}));var Qc={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},Kc=qe("span").classList,Xc=Kc&&Kc.constructor&&Kc.constructor.prototype,Zc=Xc===Object.prototype?void 0:Xc,tp=j,ep=Qc,rp=Zc,np=Bc,op=vr,ip=Pe,ap=ip("iterator"),up=ip("toStringTag"),sp=np.values,cp=function(t,e){if(t){if(t[ap]!==sp)try{op(t,ap,sp)}catch(e){t[ap]=sp}if(t[up]||op(t,up,e),ep[e])for(var r in np)if(t[r]!==np[r])try{op(t,r,np[r])}catch(e){t[r]=np[r]}}};for(var pp in ep)cp(tp[pp]&&tp[pp].prototype,pp);cp(rp,"DOMTokenList");var lp=T,fp=N,hp=Pe("iterator"),dp=!lp((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),!e.size&&!fp||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[hp]||"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"!==r||"x"!==new URL("http://x",void 0).host})),yp=zt,mp=_,gp=yu(yu.bind),vp=function(t,e){return yp(t),void 0===e?t:mp?gp(t,e):function(){return t.apply(e,arguments)}},bp=At,wp=TypeError,xp=function(t,e){if(bp(e,t))return t;throw wp("Incorrect invocation")},Ap=N,Sp=$,Ep=L,Rp=T,Pp=ha,kp=Xn,Op=F,jp=ce,Ip=nt,Tp=Object.assign,Np=Object.defineProperty,_p=Sp([].concat),Up=!Tp||Rp((function(){if(Ap&&1!==Tp({b:1},Tp(Np({},"a",{enumerable:!0,get:function(){Np(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=Tp({},t)[r]||Pp(Tp({},e)).join("")!=n}))?function(t,e){for(var r=jp(t),n=arguments.length,o=1,i=kp.f,a=Op.f;n>o;)for(var u,s=Ip(arguments[o++]),c=i?_p(Pp(s),i(s)):Pp(s),p=c.length,l=0;p>l;)u=c[l++],Ap&&!Ep(a,s,u)||(r[u]=s[u]);return r}:Tp,Cp=L,Lp=or,Fp=Yt,Bp=or,Dp=function(t,e,r){var n,o;Lp(t);try{if(!(n=Fp(t,"return"))){if("throw"===e)throw r;return r}n=Cp(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return Lp(n),r},Mp=Is,qp=Pe("iterator"),Wp=Array.prototype,Gp=Wo,zp=Yt,Hp=ot,Vp=Is,Yp=Pe("iterator"),$p=function(t){if(!Hp(t))return zp(t,Yp)||zp(t,"@@iterator")||Vp[Gp(t)]},Jp=L,Qp=zt,Kp=or,Xp=Mt,Zp=$p,tl=TypeError,el=function(t,e){var r=arguments.length<2?Zp(t):e;if(Qp(r))return Kp(Jp(r,t));throw tl(Xp(t)+" is not iterable")},rl=vp,nl=L,ol=ce,il=function(t,e,r,n){try{return n?e(Bp(r)[0],r[1]):e(r)}catch(e){Dp(t,"throw",e)}},al=function(t){return void 0!==t&&(Mp.Array===t||Wp[qp]===t)},ul=ri,sl=Fn,cl=_o,pl=el,ll=$p,fl=Array,hl=Nn,dl=Fn,yl=_o,ml=Array,gl=Math.max,vl=function(t,e,r){for(var n=dl(t),o=hl(e,n),i=hl(void 0===r?n:r,n),a=ml(gl(i-o,0)),u=0;o<i;o++,u++)yl(a,u,t[o]);return a.length=u,a},bl=$,wl=2147483647,xl=/[^\0-\u007E]/,Al=/[.\u3002\uFF0E\uFF61]/g,Sl="Overflow: input needs wider integers to process",El=RangeError,Rl=bl(Al.exec),Pl=Math.floor,kl=String.fromCharCode,Ol=bl("".charCodeAt),jl=bl([].join),Il=bl([].push),Tl=bl("".replace),Nl=bl("".split),_l=bl("".toLowerCase),Ul=function(t){return t+22+75*(t<26)},Cl=function(t,e,r){var n=0;for(t=r?Pl(t/700):t>>1,t+=Pl(t/e);t>455;)t=Pl(t/35),n+=36;return Pl(n+36*t/(t+38))},Ll=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=Ol(t,r++);if(o>=55296&&o<=56319&&r<n){var i=Ol(t,r++);56320==(64512&i)?Il(e,((1023&o)<<10)+(1023&i)+65536):(Il(e,o),r--)}else Il(e,o)}return e}(t);var r,n,o=t.length,i=128,a=0,u=72;for(r=0;r<t.length;r++)(n=t[r])<128&&Il(e,kl(n));var s=e.length,c=s;for(s&&Il(e,"-");c<o;){var p=wl;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<p&&(p=n);var l=c+1;if(p-i>Pl((wl-a)/l))throw El(Sl);for(a+=(p-i)*l,i=p,r=0;r<t.length;r++){if((n=t[r])<i&&++a>wl)throw El(Sl);if(n==i){for(var f=a,h=36;;){var d=h<=u?1:h>=u+26?26:h-u;if(f<d)break;var y=f-d,m=36-d;Il(e,kl(Ul(d+y%m))),f=Pl(y/m),h+=36}Il(e,kl(Ul(f))),u=Cl(a,l,c==s),a=0,c++}}a++,i++}return jl(e,"")},Fl=TypeError,Bl=function(t,e){if(t<e)throw Fl("Not enough arguments");return t},Dl=Sn,Ml=vl,ql=Math.floor,Wl=function(t,e){var r=t.length,n=ql(r/2);return r<8?Gl(t,e):zl(t,Wl(Ml(t,0,n),e),Wl(Ml(t,n),e),e)},Gl=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},zl=function(t,e,r,n){for(var o=e.length,i=r.length,a=0,u=0;a<o||u<i;)t[a+u]=a<o&&u<i?n(e[a],r[u])<=0?e[a++]:r[u++]:a<o?e[a++]:r[u++];return t},Hl=Po,Vl=j,Yl=L,$l=$,Jl=N,Ql=dp,Kl=Sn,Xl=Ii,Zl=function(t,e,r){for(var n in e)Dl(t,n,e[n],r);return t},tf=Xs,ef=ic,rf=Zr,nf=xp,of=dt,af=fe,uf=vp,sf=Wo,cf=or,pf=gt,lf=ra,ff=Ca,hf=G,df=el,yf=$p,mf=Bl,gf=Wl,vf=Pe("iterator"),bf="URLSearchParams",wf="URLSearchParamsIterator",xf=rf.set,Af=rf.getterFor(bf),Sf=rf.getterFor(wf),Ef=Object.getOwnPropertyDescriptor,Rf=function(t){if(!Jl)return Vl[t];var e=Ef(Vl,t);return e&&e.value},Pf=Rf("fetch"),kf=Rf("Request"),Of=Rf("Headers"),jf=kf&&kf.prototype,If=Of&&Of.prototype,Tf=Vl.RegExp,Nf=Vl.TypeError,_f=Vl.decodeURIComponent,Uf=Vl.encodeURIComponent,Cf=$l("".charAt),Lf=$l([].join),Ff=$l([].push),Bf=$l("".replace),Df=$l([].shift),Mf=$l([].splice),qf=$l("".split),Wf=$l("".slice),Gf=/\+/g,zf=Array(4),Hf=function(t){return zf[t-1]||(zf[t-1]=Tf("((?:%[\\da-f]{2}){"+t+"})","gi"))},Vf=function(t){try{return _f(t)}catch(e){return t}},Yf=function(t){var e=Bf(t,Gf," "),r=4;try{return _f(e)}catch(t){for(;r;)e=Bf(e,Hf(r--),Vf);return e}},$f=/[!'()~]|%20/g,Jf={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Qf=function(t){return Jf[t]},Kf=function(t){return Bf(Uf(t),$f,Qf)},Xf=ef((function(t,e){xf(this,{type:wf,iterator:df(Af(t).entries),kind:e})}),"Iterator",(function(){var t=Sf(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r}),!0),Zf=function(t){this.entries=[],this.url=null,void 0!==t&&(pf(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===Cf(t,0)?Wf(t,1):t:lf(t)))};Zf.prototype={type:bf,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,u,s=yf(t);if(s)for(r=(e=df(t,s)).next;!(n=Yl(r,e)).done;){if(i=(o=df(cf(n.value))).next,(a=Yl(i,o)).done||(u=Yl(i,o)).done||!Yl(i,o).done)throw Nf("Expected sequence with length 2");Ff(this.entries,{key:lf(a.value),value:lf(u.value)})}else for(var c in t)af(t,c)&&Ff(this.entries,{key:c,value:lf(t[c])})},parseQuery:function(t){if(t)for(var e,r,n=qf(t,"&"),o=0;o<n.length;)(e=n[o++]).length&&(r=qf(e,"="),Ff(this.entries,{key:Yf(Df(r)),value:Yf(Lf(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],Ff(r,Kf(t.key)+"="+Kf(t.value));return Lf(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var th=function(){nf(this,eh);var t=arguments.length>0?arguments[0]:void 0,e=xf(this,new Zf(t));Jl||(this.length=e.entries.length)},eh=th.prototype;if(Zl(eh,{append:function(t,e){mf(arguments.length,2);var r=Af(this);Ff(r.entries,{key:lf(t),value:lf(e)}),Jl||this.length++,r.updateURL()},delete:function(t){mf(arguments.length,1);for(var e=Af(this),r=e.entries,n=lf(t),o=0;o<r.length;)r[o].key===n?Mf(r,o,1):o++;Jl||(this.length=r.length),e.updateURL()},get:function(t){mf(arguments.length,1);for(var e=Af(this).entries,r=lf(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){mf(arguments.length,1);for(var e=Af(this).entries,r=lf(t),n=[],o=0;o<e.length;o++)e[o].key===r&&Ff(n,e[o].value);return n},has:function(t){mf(arguments.length,1);for(var e=Af(this).entries,r=lf(t),n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){mf(arguments.length,1);for(var r,n=Af(this),o=n.entries,i=!1,a=lf(t),u=lf(e),s=0;s<o.length;s++)(r=o[s]).key===a&&(i?Mf(o,s--,1):(i=!0,r.value=u));i||Ff(o,{key:a,value:u}),Jl||(this.length=o.length),n.updateURL()},sort:function(){var t=Af(this);gf(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=Af(this).entries,n=uf(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 Xf(this,"keys")},values:function(){return new Xf(this,"values")},entries:function(){return new Xf(this,"entries")}},{enumerable:!0}),Kl(eh,vf,eh.entries,{name:"entries"}),Kl(eh,"toString",(function(){return Af(this).serialize()}),{enumerable:!0}),Jl&&Xl(eh,"size",{get:function(){return Af(this).entries.length},configurable:!0,enumerable:!0}),tf(th,bf),Hl({global:!0,constructor:!0,forced:!Ql},{URLSearchParams:th}),!Ql&&of(Of)){var rh=$l(If.has),nh=$l(If.set),oh=function(t){if(pf(t)){var e,r=t.body;if(sf(r)===bf)return e=t.headers?new Of(t.headers):new Of,rh(e,"content-type")||nh(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),ff(t,{body:hf(0,lf(r)),headers:hf(0,e)})}return t};if(of(Pf)&&Hl({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return Pf(t,arguments.length>1?oh(arguments[1]):{})}}),of(kf)){var ih=function(t){return nf(this,jf),new kf(t,arguments.length>1?oh(arguments[1]):{})};jf.constructor=ih,ih.prototype=jf,Hl({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ih})}}var ah,uh=Po,sh=N,ch=dp,ph=j,lh=vp,fh=$,hh=Sn,dh=Ii,yh=xp,mh=fe,gh=Up,vh=function(t){var e=ol(t),r=ul(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=rl(o,n>2?arguments[2]:void 0));var a,u,s,c,p,l,f=ll(e),h=0;if(!f||this===fl&&al(f))for(a=sl(e),u=r?new this(a):fl(a);a>h;h++)l=i?o(e[h],h):e[h],cl(u,h,l);else for(p=(c=pl(e,f)).next,u=r?new this:[];!(s=nl(p,c)).done;h++)l=i?il(c,o,[s.value,h],!0):s.value,cl(u,h,l);return u.length=h,u},bh=vl,wh=_u.codeAt,xh=function(t){var e,r,n=[],o=Nl(Tl(_l(t),Al,"."),".");for(e=0;e<o.length;e++)r=o[e],Il(n,Rl(xl,r)?"xn--"+Ll(r):r);return jl(n,".")},Ah=ra,Sh=Xs,Eh=Bl,Rh={URLSearchParams:th,getState:Af},Ph=Zr,kh=Ph.set,Oh=Ph.getterFor("URL"),jh=Rh.URLSearchParams,Ih=Rh.getState,Th=ph.URL,Nh=ph.TypeError,_h=ph.parseInt,Uh=Math.floor,Ch=Math.pow,Lh=fh("".charAt),Fh=fh(/./.exec),Bh=fh([].join),Dh=fh(1..toString),Mh=fh([].pop),qh=fh([].push),Wh=fh("".replace),Gh=fh([].shift),zh=fh("".split),Hh=fh("".slice),Vh=fh("".toLowerCase),Yh=fh([].unshift),$h="Invalid scheme",Jh="Invalid host",Qh="Invalid port",Kh=/[a-z]/i,Xh=/[\d+-.a-z]/i,Zh=/\d/,td=/^0x/i,ed=/^[0-7]+$/,rd=/^\d+$/,nd=/^[\da-f]+$/i,od=/[\0\t\n\r #%/:<>?@[\\\]^|]/,id=/[\0\t\n\r #/:<>?@[\\\]^|]/,ad=/^[\u0000-\u0020]+/,ud=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,sd=/[\t\n\r]/g,cd=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)Yh(e,t%256),t=Uh(t/256);return Bh(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+=Dh(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},pd={},ld=gh({},pd,{" ":1,'"':1,"<":1,">":1,"`":1}),fd=gh({},ld,{"#":1,"?":1,"{":1,"}":1}),hd=gh({},fd,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),dd=function(t,e){var r=wh(t,0);return r>32&&r<127&&!mh(e,t)?t:encodeURIComponent(t)},yd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},md=function(t,e){var r;return 2==t.length&&Fh(Kh,Lh(t,0))&&(":"==(r=Lh(t,1))||!e&&"|"==r)},gd=function(t){var e;return t.length>1&&md(Hh(t,0,2))&&(2==t.length||"/"===(e=Lh(t,2))||"\\"===e||"?"===e||"#"===e)},vd=function(t){return"."===t||"%2e"===Vh(t)},bd={},wd={},xd={},Ad={},Sd={},Ed={},Rd={},Pd={},kd={},Od={},jd={},Id={},Td={},Nd={},_d={},Ud={},Cd={},Ld={},Fd={},Bd={},Dd={},Md=function(t,e,r){var n,o,i,a=Ah(t);if(e){if(o=this.parse(a))throw Nh(o);this.searchParams=null}else{if(void 0!==r&&(n=new Md(r,!0)),o=this.parse(a,null,n))throw Nh(o);(i=Ih(new jh)).bindURL(this),this.searchParams=i}};Md.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,u,s=this,c=e||bd,p=0,l="",f=!1,h=!1,d=!1;for(t=Ah(t),e||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,t=Wh(t,ad,""),t=Wh(t,ud,"$1")),t=Wh(t,sd,""),n=vh(t);p<=n.length;){switch(o=n[p],c){case bd:if(!o||!Fh(Kh,o)){if(e)return $h;c=xd;continue}l+=Vh(o),c=wd;break;case wd:if(o&&(Fh(Xh,o)||"+"==o||"-"==o||"."==o))l+=Vh(o);else{if(":"!=o){if(e)return $h;l="",c=xd,p=0;continue}if(e&&(s.isSpecial()!=mh(yd,l)||"file"==l&&(s.includesCredentials()||null!==s.port)||"file"==s.scheme&&!s.host))return;if(s.scheme=l,e)return void(s.isSpecial()&&yd[s.scheme]==s.port&&(s.port=null));l="","file"==s.scheme?c=Nd:s.isSpecial()&&r&&r.scheme==s.scheme?c=Ad:s.isSpecial()?c=Pd:"/"==n[p+1]?(c=Sd,p++):(s.cannotBeABaseURL=!0,qh(s.path,""),c=Fd)}break;case xd:if(!r||r.cannotBeABaseURL&&"#"!=o)return $h;if(r.cannotBeABaseURL&&"#"==o){s.scheme=r.scheme,s.path=bh(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,c=Dd;break}c="file"==r.scheme?Nd:Ed;continue;case Ad:if("/"!=o||"/"!=n[p+1]){c=Ed;continue}c=kd,p++;break;case Sd:if("/"==o){c=Od;break}c=Ld;continue;case Ed:if(s.scheme=r.scheme,o==ah)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bh(r.path),s.query=r.query;else if("/"==o||"\\"==o&&s.isSpecial())c=Rd;else if("?"==o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bh(r.path),s.query="",c=Bd;else{if("#"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bh(r.path),s.path.length--,c=Ld;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bh(r.path),s.query=r.query,s.fragment="",c=Dd}break;case Rd:if(!s.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,c=Ld;continue}c=Od}else c=kd;break;case Pd:if(c=kd,"/"!=o||"/"!=Lh(l,p+1))continue;p++;break;case kd:if("/"!=o&&"\\"!=o){c=Od;continue}break;case Od:if("@"==o){f&&(l="%40"+l),f=!0,i=vh(l);for(var y=0;y<i.length;y++){var m=i[y];if(":"!=m||d){var g=dd(m,hd);d?s.password+=g:s.username+=g}else d=!0}l=""}else if(o==ah||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(f&&""==l)return"Invalid authority";p-=vh(l).length+1,l="",c=jd}else l+=o;break;case jd:case Id:if(e&&"file"==s.scheme){c=Ud;continue}if(":"!=o||h){if(o==ah||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(s.isSpecial()&&""==l)return Jh;if(e&&""==l&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(l))return a;if(l="",c=Cd,e)return;continue}"["==o?h=!0:"]"==o&&(h=!1),l+=o}else{if(""==l)return Jh;if(a=s.parseHost(l))return a;if(l="",c=Td,e==Id)return}break;case Td:if(!Fh(Zh,o)){if(o==ah||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()||e){if(""!=l){var v=_h(l,10);if(v>65535)return Qh;s.port=s.isSpecial()&&v===yd[s.scheme]?null:v,l=""}if(e)return;c=Cd;continue}return Qh}l+=o;break;case Nd:if(s.scheme="file","/"==o||"\\"==o)c=_d;else{if(!r||"file"!=r.scheme){c=Ld;continue}if(o==ah)s.host=r.host,s.path=bh(r.path),s.query=r.query;else if("?"==o)s.host=r.host,s.path=bh(r.path),s.query="",c=Bd;else{if("#"!=o){gd(Bh(bh(n,p),""))||(s.host=r.host,s.path=bh(r.path),s.shortenPath()),c=Ld;continue}s.host=r.host,s.path=bh(r.path),s.query=r.query,s.fragment="",c=Dd}}break;case _d:if("/"==o||"\\"==o){c=Ud;break}r&&"file"==r.scheme&&!gd(Bh(bh(n,p),""))&&(md(r.path[0],!0)?qh(s.path,r.path[0]):s.host=r.host),c=Ld;continue;case Ud:if(o==ah||"/"==o||"\\"==o||"?"==o||"#"==o){if(!e&&md(l))c=Ld;else if(""==l){if(s.host="",e)return;c=Cd}else{if(a=s.parseHost(l))return a;if("localhost"==s.host&&(s.host=""),e)return;l="",c=Cd}continue}l+=o;break;case Cd:if(s.isSpecial()){if(c=Ld,"/"!=o&&"\\"!=o)continue}else if(e||"?"!=o)if(e||"#"!=o){if(o!=ah&&(c=Ld,"/"!=o))continue}else s.fragment="",c=Dd;else s.query="",c=Bd;break;case Ld:if(o==ah||"/"==o||"\\"==o&&s.isSpecial()||!e&&("?"==o||"#"==o)){if(".."===(u=Vh(u=l))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(s.shortenPath(),"/"==o||"\\"==o&&s.isSpecial()||qh(s.path,"")):vd(l)?"/"==o||"\\"==o&&s.isSpecial()||qh(s.path,""):("file"==s.scheme&&!s.path.length&&md(l)&&(s.host&&(s.host=""),l=Lh(l,0)+":"),qh(s.path,l)),l="","file"==s.scheme&&(o==ah||"?"==o||"#"==o))for(;s.path.length>1&&""===s.path[0];)Gh(s.path);"?"==o?(s.query="",c=Bd):"#"==o&&(s.fragment="",c=Dd)}else l+=dd(o,fd);break;case Fd:"?"==o?(s.query="",c=Bd):"#"==o?(s.fragment="",c=Dd):o!=ah&&(s.path[0]+=dd(o,pd));break;case Bd:e||"#"!=o?o!=ah&&("'"==o&&s.isSpecial()?s.query+="%27":s.query+="#"==o?"%23":dd(o,pd)):(s.fragment="",c=Dd);break;case Dd:o!=ah&&(s.fragment+=dd(o,ld))}p++}},parseHost:function(t){var e,r,n;if("["==Lh(t,0)){if("]"!=Lh(t,t.length-1))return Jh;if(e=function(t){var e,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,p=null,l=0,f=function(){return Lh(t,l)};if(":"==f()){if(":"!=Lh(t,1))return;l+=2,p=++c}for(;f();){if(8==c)return;if(":"!=f()){for(e=r=0;r<4&&Fh(nd,f());)e=16*e+_h(f(),16),l++,r++;if("."==f()){if(0==r)return;if(l-=r,c>6)return;for(n=0;f();){if(o=null,n>0){if(!("."==f()&&n<4))return;l++}if(!Fh(Zh,f()))return;for(;Fh(Zh,f());){if(i=_h(f(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(l++,!f())return}else if(f())return;s[c++]=e}else{if(null!==p)return;l++,p=++c}}if(null!==p)for(a=c-p,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[p+a-1],s[p+--a]=u;else if(8!=c)return;return s}(Hh(t,1,-1)),!e)return Jh;this.host=e}else if(this.isSpecial()){if(t=xh(t),Fh(od,t))return Jh;if(e=function(t){var e,r,n,o,i,a,u,s=zh(t,".");if(s.length&&""==s[s.length-1]&&s.length--,(e=s.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=s[n]))return t;if(i=10,o.length>1&&"0"==Lh(o,0)&&(i=Fh(td,o)?16:8,o=Hh(o,8==i?1:2)),""===o)a=0;else{if(!Fh(10==i?rd:8==i?ed:nd,o))return t;a=_h(o,i)}qh(r,a)}for(n=0;n<e;n++)if(a=r[n],n==e-1){if(a>=Ch(256,5-e))return null}else if(a>255)return null;for(u=Mh(r),n=0;n<r.length;n++)u+=r[n]*Ch(256,3-n);return u}(t),null===e)return Jh;this.host=e}else{if(Fh(id,t))return Jh;for(e="",r=vh(t),n=0;n<r.length;n++)e+=dd(r[n],pd);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return mh(yd,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"==this.scheme&&1==e&&md(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,u=t.query,s=t.fragment,c=e+":";return null!==o?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=cd(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+Bh(a,"/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},setHref:function(t){var e=this.parse(t);if(e)throw Nh(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"==t)try{return new qd(t.path[0]).origin}catch(t){return"null"}return"file"!=t&&this.isSpecial()?t+"://"+cd(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(Ah(t)+":",bd)},getUsername:function(){return this.username},setUsername:function(t){var e=vh(Ah(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=dd(e[r],hd)}},getPassword:function(){return this.password},setPassword:function(t){var e=vh(Ah(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=dd(e[r],hd)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?cd(t):cd(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,jd)},getHostname:function(){var t=this.host;return null===t?"":cd(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Id)},getPort:function(){var t=this.port;return null===t?"":Ah(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""==(t=Ah(t))?this.port=null:this.parse(t,Td))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+Bh(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Cd))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""==(t=Ah(t))?this.query=null:("?"==Lh(t,0)&&(t=Hh(t,1)),this.query="",this.parse(t,Bd)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!=(t=Ah(t))?("#"==Lh(t,0)&&(t=Hh(t,1)),this.fragment="",this.parse(t,Dd)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var qd=function(t){var e=yh(this,Wd),r=Eh(arguments.length,1)>1?arguments[1]:void 0,n=kh(e,new Md(t,!1,r));sh||(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())},Wd=qd.prototype,Gd=function(t,e){return{get:function(){return Oh(this)[t]()},set:e&&function(t){return Oh(this)[e](t)},configurable:!0,enumerable:!0}};if(sh&&(dh(Wd,"href",Gd("serialize","setHref")),dh(Wd,"origin",Gd("getOrigin")),dh(Wd,"protocol",Gd("getProtocol","setProtocol")),dh(Wd,"username",Gd("getUsername","setUsername")),dh(Wd,"password",Gd("getPassword","setPassword")),dh(Wd,"host",Gd("getHost","setHost")),dh(Wd,"hostname",Gd("getHostname","setHostname")),dh(Wd,"port",Gd("getPort","setPort")),dh(Wd,"pathname",Gd("getPathname","setPathname")),dh(Wd,"search",Gd("getSearch","setSearch")),dh(Wd,"searchParams",Gd("getSearchParams")),dh(Wd,"hash",Gd("getHash","setHash"))),hh(Wd,"toJSON",(function(){return Oh(this).serialize()}),{enumerable:!0}),hh(Wd,"toString",(function(){return Oh(this).serialize()}),{enumerable:!0}),Th){var zd=Th.createObjectURL,Hd=Th.revokeObjectURL;zd&&hh(qd,"createObjectURL",lh(zd,Th)),Hd&&hh(qd,"revokeObjectURL",lh(Hd,Th))}Sh(qd,"URL"),uh({global:!0,constructor:!0,forced:!ch,sham:!sh},{URL:qd});var Vd="\t\n\v\f\r \u2028\u2029\ufeff",Yd=ut,$d=ra,Jd=Vd,Qd=$("".replace),Kd=RegExp("^["+Jd+"]+"),Xd=RegExp("(^|[^"+Jd+"])["+Jd+"]+$"),Zd=function(t){return function(e){var r=$d(Yd(e));return 1&t&&(r=Qd(r,Kd,"")),2&t&&(r=Qd(r,Xd,"$1")),r}},ty={start:Zd(1),end:Zd(2),trim:Zd(3)},ey=j,ry=T,ny=ra,oy=ty.trim,iy=$("".charAt),ay=ey.parseFloat,uy=ey.Symbol,sy=uy&&uy.iterator,cy=1/ay("\t\n\v\f\r \u2028\u2029\ufeff-0")!=-1/0||sy&&!ry((function(){ay(Object(sy))}))?function(t){var e=oy(ny(t)),r=ay(e);return 0===r&&"-"==iy(e,0)?-0:r}:ay;Po({global:!0,forced:parseFloat!=cy},{parseFloat:cy});var py=$,ly=Sn,fy=Date.prototype,hy="Invalid Date",dy="toString",yy=py(fy.toString),my=py(fy.getTime);String(new Date(NaN))!=hy&&ly(fy,dy,(function(){var t=my(this);return t==t?yy(this):hy}));var gy=L,vy=fe,by=At,wy=oa,xy=RegExp.prototype,Ay=Rr.PROPER,Sy=Sn,Ey=or,Ry=ra,Py=T,ky=function(t){var e=t.flags;return void 0!==e||"flags"in xy||vy(t,"flags")||!by(xy,t)?e:gy(wy,t)},Oy="toString",jy=RegExp.prototype.toString,Iy=Py((function(){return"/a/b"!=jy.call({source:"a",flags:"b"})})),Ty=Ay&&jy.name!=Oy;(Iy||Ty)&&Sy(RegExp.prototype,Oy,(function(){var t=Ey(this);return"/"+Ry(t.source)+"/"+Ry(ky(t))}),{unsafe:!0});var Ny=vp,_y=nt,Uy=ce,Cy=Fn,Ly=ci,Fy=$([].push),By=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(s,c,p,l){for(var f,h,d=Uy(s),y=_y(d),m=Ny(c,p),g=Cy(y),v=0,b=l||Ly,w=e?b(s,g):r||a?b(s,0):void 0;g>v;v++)if((u||v in y)&&(h=m(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:Fy(w,f)}else switch(t){case 4:return!1;case 7:Fy(w,f)}return i?-1:n||o?o:w}},Dy={forEach:By(0),map:By(1),filter:By(2),some:By(3),every:By(4),find:By(5),findIndex:By(6),filterReject:By(7)},My=Dy.map;Po({target:"Array",proto:!0,forced:!hi("map")},{map:function(t){return My(this,t,arguments.length>1?arguments[1]:void 0)}});var qy=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")},Wy=["endpointName"],Gy=function(){function t(e,r){s(this,t),this.client=e,this.guestSpaceId=r,this.REQUESTS_LENGTH_LIMIT=20}return p(t,[{key:"send",value:function(t){var e=this,r=t.requests.map((function(t){if("endpointName"in t){var r=t.endpointName,o=v(t,Wy);return n({api:e.buildPathWithGuestSpaceId({endpointName:r})},o)}return t})),o=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(o,{requests:r})}},{key:"buildPathWithGuestSpaceId",value:function(t){return qy(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),zy=["preview"],Hy=["preview"],Vy=["preview"],Yy=["preview"],$y=["preview"],Jy=["preview"],Qy=["preview"],Ky=["preview"],Xy=["preview"],Zy=["preview"],tm=["preview"],em=["preview"],rm=["preview"],nm=["preview"],om=function(){function t(e,r){s(this,t),this.client=e,this.guestSpaceId=r}var e;return p(t,[{key:"getFormFields",value:function(t){var e=t.preview,r=v(t,zy),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:e});return this.client.get(o,n({},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=v(t,Hy),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:e});return this.client.get(o,n({},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=v(t,Vy),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:(e=u(o().mark((function t(e){var r,i,a,u,s,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.name,i=e.space,a=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!i){t.next=9;break}return u=this.buildPathWithGuestSpaceId({endpointName:"space"}),t.next=6,this.client.get(u,{id:i});case 6:return s=t.sent,c=s.defaultThread,t.abrupt("return",this.client.post(a,n(n({},e),{},{thread:c})));case 9:return t.abrupt("return",this.client.post(a,{name:r}));case 10:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"getAppSettings",value:function(t){var e=t.preview,r=v(t,Yy),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=v(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=v(t,Jy),o=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:e});return this.client.get(o,n({},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=v(t,Qy),o=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:e});return this.client.get(o,n({},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=v(t,Ky),o=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:e});return this.client.get(o,n({},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=v(t,Xy),o=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:e});return this.client.get(o,n({},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=v(t,Zy),o=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:e});return this.client.get(o,n({},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=v(t,tm),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=v(t,em),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=v(t,rm),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=v(t,nm),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)}},{key:"buildPathWithGuestSpaceId",value:function(t){return qy(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),im=Up;Po({target:"Object",stat:!0,arity:2,forced:Object.assign!==im},{assign:im});var am=L,um=or,sm=ot,cm=Cn,pm=ra,lm=ut,fm=Yt,hm=Cu,dm=Qu;Eu("match",(function(t,e,r){return[function(e){var r=lm(this),n=sm(e)?void 0:fm(e,t);return n?am(n,e,r):new RegExp(e)[t](pm(r))},function(t){var n=um(this),o=pm(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return dm(n,o);var a=n.unicode;n.lastIndex=0;for(var u,s=[],c=0;null!==(u=dm(n,o));){var p=pm(u[0]);s[c]=p,""===p&&(n.lastIndex=hm(o,cm(n.lastIndex),a)),c++}return 0===c?null:s}]}));var ym=j,mm=dt,gm=gt,vm=Yi,bm=$(1..valueOf),wm=Po,xm=N,Am=j,Sm=ym,Em=$,Rm=vo,Pm=fe,km=function(t,e,r){var n,o;return vm&&mm(n=e.constructor)&&n!==r&&gm(o=n.prototype)&&o!==r.prototype&&vm(t,o),t},Om=At,jm=Bt,Im=Ue,Tm=T,Nm=En.f,_m=I.f,Um=Ze.f,Cm=bm,Lm=ty.trim,Fm="Number",Bm=Am.Number;Sm.Number;var Dm=Bm.prototype,Mm=Am.TypeError,qm=Em("".slice),Wm=Em("".charCodeAt),Gm=function(t){var e=Im(t,"number");return"bigint"==typeof e?e:zm(e)},zm=function(t){var e,r,n,o,i,a,u,s,c=Im(t,"number");if(jm(c))throw Mm("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=Lm(c),43===(e=Wm(c,0))||45===e){if(88===(r=Wm(c,2))||120===r)return NaN}else if(48===e){switch(Wm(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=qm(c,2)).length,u=0;u<a;u++)if((s=Wm(i,u))<48||s>o)return NaN;return parseInt(i,n)}return+c},Hm=Rm(Fm,!Bm(" 0o1")||!Bm("0b1")||Bm("+0x1")),Vm=function(t){return Om(Dm,t)&&Tm((function(){Cm(t)}))},Ym=function(t){var e=arguments.length<1?0:Bm(Gm(t));return Vm(this)?km(Object(e),this,Ym):e};Ym.prototype=Dm,Hm&&(Dm.constructor=Ym),wm({global:!0,constructor:!0,wrap:!0,forced:Hm},{Number:Ym});Hm&&function(t,e){for(var r,n=xm?Nm(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++)Pm(e,r=n[o])&&!Pm(t,r)&&Um(t,r,_m(e,r))}(Sm.Number,Bm);var $m=T,Jm=function(t,e){var r=[][t];return!!r&&$m((function(){r.call(null,e||function(){return 1},1)}))},Qm=Po,Km=Wn.indexOf,Xm=Jm,Zm=yu([].indexOf),tg=!!Zm&&1/Zm([1],1,-0)<0;Qm({target:"Array",proto:!0,forced:tg||!Xm("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return tg?Zm(this,t,e)||0:Km(this,t,e)}});var eg=Dy.every;Po({target:"Array",proto:!0,forced:!Jm("every")},{every:function(t){return eg(this,t,arguments.length>1?arguments[1]:void 0)}}),Po({target:"Array",stat:!0},{isArray:Oo});var rg=$([].slice),ng=Po,og=Oo,ig=ri,ag=gt,ug=Nn,sg=Fn,cg=pt,pg=_o,lg=Pe,fg=rg,hg=hi("slice"),dg=lg("species"),yg=Array,mg=Math.max;ng({target:"Array",proto:!0,forced:!hg},{slice:function(t,e){var r,n,o,i=cg(this),a=sg(i),u=ug(t,a),s=ug(void 0===e?a:e,a);if(og(i)&&(r=i.constructor,(ig(r)&&(r===yg||og(r.prototype))||ag(r)&&null===(r=r[dg]))&&(r=void 0),r===yg||void 0===r))return fg(i,u,s);for(n=new(void 0===r?yg:r)(mg(s-u,0)),o=0;u<s;u++,o++)u in i&&pg(n,o,i[u]);return n.length=o,n}});var gg=zt,vg=ce,bg=nt,wg=Fn,xg=TypeError,Ag=function(t){return function(e,r,n,o){gg(r);var i=vg(e),a=bg(i),u=wg(i),s=t?u-1:0,c=t?-1:1;if(n<2)for(;;){if(s in a){o=a[s],s+=c;break}if(s+=c,t?s<0:u<=s)throw xg("Reduce of empty array with no initial value")}for(;t?s>=0:u>s;s+=c)s in a&&(o=r(o,a[s],s,i));return o}},Sg={left:Ag(!1),right:Ag(!0)},Eg="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Rg(){throw new Error("setTimeout has not been defined")}function Pg(){throw new Error("clearTimeout has not been defined")}var kg=Rg,Og=Pg;function jg(t){if(kg===setTimeout)return setTimeout(t,0);if((kg===Rg||!kg)&&setTimeout)return kg=setTimeout,setTimeout(t,0);try{return kg(t,0)}catch(e){try{return kg.call(null,t,0)}catch(e){return kg.call(this,t,0)}}}"function"==typeof Eg.setTimeout&&(kg=setTimeout),"function"==typeof Eg.clearTimeout&&(Og=clearTimeout);var Ig,Tg=[],Ng=!1,_g=-1;function Ug(){Ng&&Ig&&(Ng=!1,Ig.length?Tg=Ig.concat(Tg):_g=-1,Tg.length&&Cg())}function Cg(){if(!Ng){var t=jg(Ug);Ng=!0;for(var e=Tg.length;e;){for(Ig=Tg,Tg=[];++_g<e;)Ig&&Ig[_g].run();_g=-1,e=Tg.length}Ig=null,Ng=!1,function(t){if(Og===clearTimeout)return clearTimeout(t);if((Og===Pg||!Og)&&clearTimeout)return Og=clearTimeout,clearTimeout(t);try{Og(t)}catch(e){try{return Og.call(null,t)}catch(e){return Og.call(this,t)}}}(t)}}function Lg(t,e){this.fun=t,this.array=e}Lg.prototype.run=function(){this.fun.apply(null,this.array)};function Fg(){}var Bg=Fg,Dg=Fg,Mg=Fg,qg=Fg,Wg=Fg,Gg=Fg,zg=Fg;var Hg=Eg.performance||{},Vg=Hg.now||Hg.mozNow||Hg.msNow||Hg.oNow||Hg.webkitNow||function(){return(new Date).getTime()};var Yg=new Date;var $g={nextTick:function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Tg.push(new Lg(t,e)),1!==Tg.length||Ng||jg(Cg)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Bg,addListener:Dg,once:Mg,off:qg,removeListener:Wg,removeAllListeners:Gg,emit:zg,binding:function(t){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(t){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(t){var e=.001*Vg.call(Hg),r=Math.floor(e),n=Math.floor(e%1*1e9);return t&&(r-=t[0],(n-=t[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Yg)/1e3}},Jg=void 0!==$g&&"process"==X($g),Qg=Sg.left;Po({target:"Array",proto:!0,forced:!Jg&&jt>79&&jt<83||!Jm("reduce")},{reduce:function(t){var e=arguments.length;return Qg(this,t,e,e>1?arguments[1]:void 0)}});var Kg=Dy.forEach,Xg=Jm("forEach")?[].forEach:function(t){return Kg(this,t,arguments.length>1?arguments[1]:void 0)};Po({target:"Array",proto:!0,forced:[].forEach!=Xg},{forEach:Xg});var Zg=j,tv=Qc,ev=Zc,rv=Xg,nv=vr,ov=function(t){if(t&&t.forEach!==rv)try{nv(t,"forEach",rv)}catch(e){t.forEach=rv}};for(var iv in tv)tv[iv]&&ov(Zg[iv]&&Zg[iv].prototype);ov(ev);var av=ce,uv=ha;Po({target:"Object",stat:!0,forced:T((function(){uv(1)}))},{keys:function(t){return uv(av(t))}});var sv,cv=function(t){f(r,t);var e=x(r);function r(t,n,o,i,a){var u;s(this,r);var c=o-n.length,p=r.extractErrorIndex(c,i,a),l=r.buildErrorMessage(c,o,p);return(u=e.call(this,l)).name="KintoneAllRecordsError",u.processedRecordsResult=t,u.unprocessedRecords=n,u.error=i,u.errorIndex=p,u.message=l,u.numOfProcessedRecords=c,u.numOfAllRecords=o,Object.setPrototypeOf(b(u),r.prototype),u}return p(r,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,e,n){if(void 0!==e.bulkRequestIndex&&e.errors){var o=r.parseErrorIndex(e.errors);if(null!==o)return t+e.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")}}]),r}(g(Error)),pv=["condition","orderBy","withCursor"],lv=["fields"],fv=["condition"],hv=["condition","orderBy"],dv=function(){function t(e,r,n){s(this,t),this.client=e,this.bulkRequestClient=r,this.guestSpaceId=n,this.didWarnMaximumOffsetValue=!1}var e,r,i,a,c,f,h,d,y,m,g,b,w,x,S,E,R,P;return p(t,[{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:(P=u(o().mark((function t(e){var r,n,i,a,u,s,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.app,n=e.updateKey,i=e.record,t.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(a=t.sent,!((u=a.records).length>0)){t.next=13;break}if("__ID__"!==u[0].$id.type){t.next=12;break}return t.next=9,this.updateRecord(e);case 9:return s=t.sent,c=s.revision,t.abrupt("return",{id:u[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({},i,l({},n.field,{value:n.value}))}));case 14:case"end":return t.stop()}}),t,this)}))),function(t){return P.apply(this,arguments)})},{key:"getRecords",value:(R=u(o().mark((function t(e){var r,n;return o().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:(E=u(o().mark((function t(e){var r,n,i,a;return o().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,i=n.ids,a=n.revisions,t.abrupt("return",{ids:i,revisions:a,records:i.map((function(t,e){return{id:t,revision:a[e]}}))});case 7:case"end":return t.stop()}}),t,this)}))),function(t){return E.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:(S=u(o().mark((function t(e){var r,i,a,u,s,c,p;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.condition,i=e.orderBy,a=e.withCursor,u=void 0===a||a,s=v(e,pv),i){t.next=3;break}return t.abrupt("return",this.getAllRecordsWithId(n(n({},s),{},{condition:r})));case 3:if(!u){t.next=7;break}return c=r?"".concat(r," "):"",p="".concat(c).concat(i?"order by ".concat(i):""),t.abrupt("return",this.getAllRecordsWithCursor(n(n({},s),{},{query:p})));case 7:return t.abrupt("return",this.getAllRecordsWithOffset(n(n({},s),{},{orderBy:i,condition:r})));case 8:case"end":return t.stop()}}),t,this)}))),function(t){return S.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(x=u(o().mark((function t(e){var r,i,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.fields,i=v(e,lv),(a=r)&&a.length>0&&-1===a.indexOf("$id")&&(a=[].concat(A(a),["$id"])),t.abrupt("return",this.getAllRecordsRecursiveWithId(n(n({},i),{},{fields:a}),"0",[]));case 4:case"end":return t.stop()}}),t,this)}))),function(t){return x.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithId",value:(w=u(o().mark((function t(e,r,i){var a,u,s,c,p,l,f,h,d;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=500,u=e.condition,s=v(e,fv),c=u?"(".concat(u,") and "):"",p="".concat(c,"$id > ").concat(r," order by $id asc limit ").concat(a),t.next=6,this.getRecords(n(n({},s),{},{query:p}));case 6:if(l=t.sent,f=i.concat(l.records),!(l.records.length<a)){t.next=10;break}return t.abrupt("return",f);case 10:if("__ID__"!==(h=l.records[l.records.length-1]).$id.type){t.next=14;break}return d=h.$id.value,t.abrupt("return",this.getAllRecordsRecursiveWithId(e,d,f));case 14: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 15:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return w.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(b=u(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.getAllRecordsRecursiveWithOffset(e,0,[]));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return b.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithOffset",value:(g=u(o().mark((function t(e,r,i){var a,u,s,c,p,l,f,h;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=500,u=e.condition,s=e.orderBy,c=v(e,hv),p=u?"".concat(u," "):"",l="".concat(p).concat(s?"order by ".concat(s," "):"","limit ").concat(a," offset ").concat(r),t.next=6,this.getRecords(n(n({},c),{},{query:l}));case 6:if(f=t.sent,h=i.concat(f.records),!(f.records.length<a)){t.next=10;break}return t.abrupt("return",h);case 10:return t.abrupt("return",this.getAllRecordsRecursiveWithOffset(e,r+a,h));case 11:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return g.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(m=u(o().mark((function t(e){var r,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.createCursor(e);case 2:return r=t.sent,n=r.id,t.prev=4,t.next=7,this.getAllRecordsRecursiveByCursor(n,[]);case 7:return t.abrupt("return",t.sent);case 10:return t.prev=10,t.t0=t.catch(4),t.next=14,this.deleteCursor({id:n});case 14:throw t.t0;case 15:case"end":return t.stop()}}),t,this,[[4,10]])}))),function(t){return m.apply(this,arguments)})},{key:"getAllRecordsRecursiveByCursor",value:(y=u(o().mark((function t(e,r){var n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getRecordsByCursor({id:e});case 2:if(n=t.sent,i=r.concat(n.records),!n.next){t.next=6;break}return t.abrupt("return",this.getAllRecordsRecursiveByCursor(e,i));case 6:return t.abrupt("return",i);case 7:case"end":return t.stop()}}),t,this)}))),function(t,e){return y.apply(this,arguments)})},{key:"addAllRecords",value:(d=u(o().mark((function t(e){return o().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 d.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(h=u(o().mark((function t(e,r,n){var i,a,u,s,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,a=e.app,u=e.records,0!==(s=u.slice(0,i)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.addAllRecordsWithBulkRequest({app:a,records:s});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new cv({records:n},u,r,t.t0,100);case 14:return t.abrupt("return",this.addAllRecordsRecursive({app:a,records:u.slice(i)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return h.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(f=u(o().mark((function t(e){var r,n,i;return o().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 i=t.sent.results,t.abrupt("return",i.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=u(o().mark((function t(e){return o().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:(a=u(o().mark((function t(e,r,n){var i,a,u,s,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,a=e.app,u=e.records,0!==(s=u.slice(0,i)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.updateAllRecordsWithBulkRequest({app:a,records:s});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new cv({records:n},u,r,t.t0,100);case 14:return t.abrupt("return",this.updateAllRecordsRecursive({app:a,records:u.slice(i)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return a.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(i=u(o().mark((function t(e){var r,n,i;return o().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 i=t.sent.results,t.abrupt("return",i.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 i.apply(this,arguments)})},{key:"deleteAllRecords",value:function(t){return this.deleteAllRecordsRecursive(t,t.records.length)}},{key:"deleteAllRecordsRecursive",value:(r=u(o().mark((function t(e,r){var n,i,a,u;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,a=e.records,0!==(u=a.slice(0,n)).length){t.next=5;break}return t.abrupt("return",{});case 5:return t.prev=5,t.next=8,this.deleteAllRecordsWithBulkRequest({app:i,records:u});case 8:t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(5),new cv({},a,r,t.t0,100);case 13:return t.abrupt("return",this.deleteAllRecordsRecursive({app:i,records:a.slice(n)},r));case 14:case"end":return t.stop()}}),t,this,[[5,10]])}))),function(t,e){return r.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(e=u(o().mark((function t(e){var r,n;return o().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 e.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(A(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)}},{key:"buildPathWithGuestSpaceId",value:function(t){return qy(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),yv=P("object"==typeof self?self.FormData:window.FormData),mv=function(){function t(e,r){s(this,t),this.client=e,this.guestSpaceId=r}var r;return p(t,[{key:"uploadFile",value:(r=u(o().mark((function t(r){var n,i,a,u,s,c,p,l,f;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),i=new yv,!("path"in r.file)){t.next=19;break}return t.prev=3,t.next=6,e.readFileFromPath(r.file.path);case 6:a=t.sent,u=a.name,s=a.data,i.append("file",s,u),t.next=17;break;case 12:if(t.prev=12,t.t0=t.catch(3),!(t.t0 instanceof $i)){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,p=c.name,l=c.data,f=e.buildFormDataValue(l,p),i.append("file",f,p);case 22:return t.abrupt("return",this.client.postData(n,i));case 23:case"end":return t.stop()}}),t,this,[[3,12]])}))),function(t){return r.apply(this,arguments)})},{key:"downloadFile",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return qy(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),gv={exports:{}},vv=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}},bv=vv,wv=Object.prototype.toString,xv=(sv=Object.create(null),function(t){var e=wv.call(t);return sv[e]||(sv[e]=e.slice(8,-1).toLowerCase())});function Av(t){return t=t.toLowerCase(),function(e){return xv(e)===t}}function Sv(t){return Array.isArray(t)}function Ev(t){return void 0===t}var Rv=Av("ArrayBuffer");function Pv(t){return null!==t&&"object"==typeof t}function kv(t){if("object"!==xv(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var Ov=Av("Date"),jv=Av("File"),Iv=Av("Blob"),Tv=Av("FileList");function Nv(t){return"[object Function]"===wv.call(t)}var _v=Av("URLSearchParams");function Uv(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),Sv(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}var Cv=function(t){return function(e){return t&&e instanceof t}}("undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array)),Lv={isArray:Sv,isArrayBuffer:Rv,isBuffer:function(t){return null!==t&&!Ev(t)&&null!==t.constructor&&!Ev(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){var e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||wv.call(t)===e||Nv(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Rv(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:Pv,isPlainObject:kv,isUndefined:Ev,isDate:Ov,isFile:jv,isBlob:Iv,isFunction:Nv,isStream:function(t){return Pv(t)&&Nv(t.pipe)},isURLSearchParams:_v,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:Uv,merge:function t(){var e={};function r(r,n){kv(e[n])&&kv(r)?e[n]=t(e[n],r):kv(r)?e[n]=t({},r):Sv(r)?e[n]=r.slice():e[n]=r}for(var n=0,o=arguments.length;n<o;n++)Uv(arguments[n],r);return e},extend:function(t,e,r){return Uv(e,(function(e,n){t[n]=r&&"function"==typeof e?bv(e,r):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,e,r,n){t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,r&&Object.assign(t.prototype,r)},toFlatObject:function(t,e,r){var n,o,i,a={};e=e||{};do{for(o=(n=Object.getOwnPropertyNames(t)).length;o-- >0;)a[i=n[o]]||(e[i]=t[i],a[i]=!0);t=Object.getPrototypeOf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:xv,kindOfTest:Av,endsWith:function(t,e,r){t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;var n=t.indexOf(e,r);return-1!==n&&n===r},toArray:function(t){if(!t)return null;var e=t.length;if(Ev(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r},isTypedArray:Cv,isFileList:Tv},Fv=Lv;function Bv(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Dv=function(t,e,r){if(!e)return t;var n;if(r)n=r(e);else if(Fv.isURLSearchParams(e))n=e.toString();else{var o=[];Fv.forEach(e,(function(t,e){null!=t&&(Fv.isArray(t)?e+="[]":t=[t],Fv.forEach(t,(function(t){Fv.isDate(t)?t=t.toISOString():Fv.isObject(t)&&(t=JSON.stringify(t)),o.push(Bv(e)+"="+Bv(t))})))})),n=o.join("&")}if(n){var i=t.indexOf("#");-1!==i&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t},Mv=Lv;function qv(){this.handlers=[]}qv.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},qv.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},qv.prototype.forEach=function(t){Mv.forEach(this.handlers,(function(e){null!==e&&t(e)}))};var Wv,Gv,zv=qv,Hv=Lv;function Vv(){if(Gv)return Wv;Gv=1;var t=Lv;function e(t,e,r,n,o){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}t.inherits(e,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var r=e.prototype,n={};return["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"].forEach((function(t){n[t]={value:t}})),Object.defineProperties(e,n),Object.defineProperty(r,"isAxiosError",{value:!0}),e.from=function(n,o,i,a,u,s){var c=Object.create(r);return t.toFlatObject(n,c,(function(t){return t!==Error.prototype})),e.call(c,n.message,o,i,a,u),c.name=n.name,s&&Object.assign(c,s),c},Wv=e}var Yv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$v=[],Jv=[],Qv="undefined"!=typeof Uint8Array?Uint8Array:Array,Kv=!1;function Xv(){Kv=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)$v[e]=t[e],Jv[t.charCodeAt(e)]=e;Jv["-".charCodeAt(0)]=62,Jv["_".charCodeAt(0)]=63}function Zv(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($v[(o=n)>>18&63]+$v[o>>12&63]+$v[o>>6&63]+$v[63&o]);return i.join("")}function tb(t){var e;Kv||Xv();for(var r=t.length,n=r%3,o="",i=[],a=16383,u=0,s=r-n;u<s;u+=a)i.push(Zv(t,u,u+a>s?s:u+a));return 1===n?(e=t[r-1],o+=$v[e>>2],o+=$v[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=$v[e>>10],o+=$v[e>>4&63],o+=$v[e<<2&63],o+="="),i.push(o),i.join("")}function eb(t,e,r,n,o){var i,a,u=8*o-n-1,s=(1<<u)-1,c=s>>1,p=-7,l=r?o-1:0,f=r?-1:1,h=t[e+l];for(l+=f,i=h&(1<<-p)-1,h>>=-p,p+=u;p>0;i=256*i+t[e+l],l+=f,p-=8);for(a=i&(1<<-p)-1,i>>=-p,p+=n;p>0;a=256*a+t[e+l],l+=f,p-=8);if(0===i)i=1-c;else{if(i===s)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 rb(t,e,r,n,o,i){var a,u,s,c=8*i-o-1,p=(1<<c)-1,l=p>>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?(u=isNaN(e)?1:0,a=p):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),(e+=a+l>=1?f/s:f*Math.pow(2,1-l))*s>=2&&(a++,s/=2),a+l>=p?(u=0,a=p):a+l>=1?(u=(e*s-1)*Math.pow(2,o),a+=l):(u=e*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&u,h+=d,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*y}var nb={}.toString,ob=Array.isArray||function(t){return"[object Array]"==nb.call(t)};function ib(){return ub.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ab(t,e){if(ib()<e)throw new RangeError("Invalid typed array length");return ub.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=ub.prototype:(null===t&&(t=new ub(e)),t.length=e),t}function ub(t,e,r){if(!(ub.TYPED_ARRAY_SUPPORT||this instanceof ub))return new ub(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 pb(this,t)}return sb(this,t,e,r)}function sb(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);ub.TYPED_ARRAY_SUPPORT?(t=e).__proto__=ub.prototype:t=lb(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!ub.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|db(e,r),o=(t=ab(t,n)).write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(hb(e)){var r=0|fb(e.length);return 0===(t=ab(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?ab(t,0):lb(t,e);if("Buffer"===e.type&&ob(e.data))return lb(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function cb(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 pb(t,e){if(cb(e),t=ab(t,e<0?0:0|fb(e)),!ub.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function lb(t,e){var r=e.length<0?0:0|fb(e.length);t=ab(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function fb(t){if(t>=ib())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ib().toString(16)+" bytes");return 0|t}function hb(t){return!(null==t||!t._isBuffer)}function db(t,e){if(hb(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 Yb(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return $b(t).length;default:if(n)return Yb(t).length;e=(""+e).toLowerCase(),n=!0}}function yb(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 Ib(this,e,r);case"utf8":case"utf-8":return Pb(this,e,r);case"ascii":return Ob(this,e,r);case"latin1":case"binary":return jb(this,e,r);case"base64":return Rb(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tb(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function mb(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function gb(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=ub.from(e,n)),hb(e))return 0===e.length?-1:vb(t,e,r,n,o);if("number"==typeof e)return e&=255,ub.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):vb(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function vb(t,e,r,n,o){var i,a=1,u=t.length,s=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,u/=2,s/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var p=-1;for(i=r;i<u;i++)if(c(t,i)===c(e,-1===p?0:i-p)){if(-1===p&&(p=i),i-p+1===s)return p*a}else-1!==p&&(i-=i-p),p=-1}else for(r+s>u&&(r=u-s),i=r;i>=0;i--){for(var l=!0,f=0;f<s;f++)if(c(t,i+f)!==c(e,f)){l=!1;break}if(l)return i}return-1}function bb(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 u=parseInt(e.substr(2*a,2),16);if(isNaN(u))return a;t[r+a]=u}return a}function wb(t,e,r,n){return Jb(Yb(e,t.length-r),t,r,n)}function xb(t,e,r,n){return Jb(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function Ab(t,e,r,n){return xb(t,e,r,n)}function Sb(t,e,r,n){return Jb($b(e),t,r,n)}function Eb(t,e,r,n){return Jb(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?tb(t):tb(t.slice(e,r))}function Pb(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,u,s,c=t[o],p=null,l=c>239?4:c>223?3:c>191?2:1;if(o+l<=r)switch(l){case 1:c<128&&(p=c);break;case 2:128==(192&(i=t[o+1]))&&(s=(31&c)<<6|63&i)>127&&(p=s);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(s=(15&c)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(p=s);break;case 4:i=t[o+1],a=t[o+2],u=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&u)&&(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(p=s)}null===p?(p=65533,l=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|1023&p),n.push(p),o+=l}return function(t){var e=t.length;if(e<=kb)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=kb));return r}(n)}ub.TYPED_ARRAY_SUPPORT=void 0===Eg.TYPED_ARRAY_SUPPORT||Eg.TYPED_ARRAY_SUPPORT,ib(),ub.poolSize=8192,ub._augment=function(t){return t.__proto__=ub.prototype,t},ub.from=function(t,e,r){return sb(null,t,e,r)},ub.TYPED_ARRAY_SUPPORT&&(ub.prototype.__proto__=Uint8Array.prototype,ub.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&ub[Symbol.species]),ub.alloc=function(t,e,r){return function(t,e,r,n){return cb(e),e<=0?ab(t,e):void 0!==r?"string"==typeof n?ab(t,e).fill(r,n):ab(t,e).fill(r):ab(t,e)}(null,t,e,r)},ub.allocUnsafe=function(t){return pb(null,t)},ub.allocUnsafeSlow=function(t){return pb(null,t)},ub.isBuffer=function(t){return null!=t&&(!!t._isBuffer||Qb(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&Qb(t.slice(0,0))}(t))},ub.compare=function(t,e){if(!hb(t)||!hb(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},ub.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}},ub.concat=function(t,e){if(!ob(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return ub.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=ub.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!hb(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},ub.byteLength=db,ub.prototype._isBuffer=!0,ub.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)mb(this,e,e+1);return this},ub.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)mb(this,e,e+3),mb(this,e+1,e+2);return this},ub.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)mb(this,e,e+7),mb(this,e+1,e+6),mb(this,e+2,e+5),mb(this,e+3,e+4);return this},ub.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?Pb(this,0,t):yb.apply(this,arguments)},ub.prototype.equals=function(t){if(!hb(t))throw new TypeError("Argument must be a Buffer");return this===t||0===ub.compare(this,t)},ub.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+">"},ub.prototype.compare=function(t,e,r,n,o){if(!hb(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),u=Math.min(i,a),s=this.slice(n,o),c=t.slice(e,r),p=0;p<u;++p)if(s[p]!==c[p]){i=s[p],a=c[p];break}return i<a?-1:a<i?1:0},ub.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},ub.prototype.indexOf=function(t,e,r){return gb(this,t,e,r,!0)},ub.prototype.lastIndexOf=function(t,e,r){return gb(this,t,e,r,!1)},ub.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 bb(this,t,e,r);case"utf8":case"utf-8":return wb(this,t,e,r);case"ascii":return xb(this,t,e,r);case"latin1":case"binary":return Ab(this,t,e,r);case"base64":return Sb(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}},ub.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var kb=4096;function Ob(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 jb(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 Ib(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+=Vb(t[i]);return o}function Tb(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 Nb(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 _b(t,e,r,n,o,i){if(!hb(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 Ub(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 Cb(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 Lb(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 Fb(t,e,r,n,o){return o||Lb(t,0,r,4),rb(t,e,r,n,23,4),r+4}function Bb(t,e,r,n,o){return o||Lb(t,0,r,8),rb(t,e,r,n,52,8),r+8}ub.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),ub.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=ub.prototype;else{var o=e-t;r=new ub(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},ub.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||Nb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},ub.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||Nb(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},ub.prototype.readUInt8=function(t,e){return e||Nb(t,1,this.length),this[t]},ub.prototype.readUInt16LE=function(t,e){return e||Nb(t,2,this.length),this[t]|this[t+1]<<8},ub.prototype.readUInt16BE=function(t,e){return e||Nb(t,2,this.length),this[t]<<8|this[t+1]},ub.prototype.readUInt32LE=function(t,e){return e||Nb(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},ub.prototype.readUInt32BE=function(t,e){return e||Nb(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},ub.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||Nb(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},ub.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||Nb(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},ub.prototype.readInt8=function(t,e){return e||Nb(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},ub.prototype.readInt16LE=function(t,e){e||Nb(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},ub.prototype.readInt16BE=function(t,e){e||Nb(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},ub.prototype.readInt32LE=function(t,e){return e||Nb(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},ub.prototype.readInt32BE=function(t,e){return e||Nb(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},ub.prototype.readFloatLE=function(t,e){return e||Nb(t,4,this.length),eb(this,t,!0,23,4)},ub.prototype.readFloatBE=function(t,e){return e||Nb(t,4,this.length),eb(this,t,!1,23,4)},ub.prototype.readDoubleLE=function(t,e){return e||Nb(t,8,this.length),eb(this,t,!0,52,8)},ub.prototype.readDoubleBE=function(t,e){return e||Nb(t,8,this.length),eb(this,t,!1,52,8)},ub.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||_b(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},ub.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||_b(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},ub.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||_b(this,t,e,1,255,0),ub.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},ub.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||_b(this,t,e,2,65535,0),ub.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Ub(this,t,e,!0),e+2},ub.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||_b(this,t,e,2,65535,0),ub.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Ub(this,t,e,!1),e+2},ub.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||_b(this,t,e,4,4294967295,0),ub.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Cb(this,t,e,!0),e+4},ub.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||_b(this,t,e,4,4294967295,0),ub.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Cb(this,t,e,!1),e+4},ub.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);_b(this,t,e,r,o-1,-o)}var i=0,a=1,u=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===u&&0!==this[e+i-1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+r},ub.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);_b(this,t,e,r,o-1,-o)}var i=r-1,a=1,u=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===u&&0!==this[e+i+1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+r},ub.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||_b(this,t,e,1,127,-128),ub.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},ub.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||_b(this,t,e,2,32767,-32768),ub.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Ub(this,t,e,!0),e+2},ub.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||_b(this,t,e,2,32767,-32768),ub.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Ub(this,t,e,!1),e+2},ub.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||_b(this,t,e,4,2147483647,-2147483648),ub.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Cb(this,t,e,!0),e+4},ub.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||_b(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),ub.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Cb(this,t,e,!1),e+4},ub.prototype.writeFloatLE=function(t,e,r){return Fb(this,t,e,!0,r)},ub.prototype.writeFloatBE=function(t,e,r){return Fb(this,t,e,!1,r)},ub.prototype.writeDoubleLE=function(t,e,r){return Bb(this,t,e,!0,r)},ub.prototype.writeDoubleBE=function(t,e,r){return Bb(this,t,e,!1,r)},ub.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||!ub.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},ub.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&&!ub.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=hb(t)?t:Yb(new ub(t,n).toString()),u=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%u]}return this};var Db,Mb,qb,Wb,Gb,zb,Hb=/[^+\/0-9A-Za-z-_]/g;function Vb(t){return t<16?"0"+t.toString(16):t.toString(16)}function Yb(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 $b(t){return function(t){var e,r,n,o,i,a;Kv||Xv();var u=t.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===t[u-2]?2:"="===t[u-1]?1:0,a=new Qv(3*u/4-i),n=i>0?u-4:u;var s=0;for(e=0,r=0;e<n;e+=4,r+=3)o=Jv[t.charCodeAt(e)]<<18|Jv[t.charCodeAt(e+1)]<<12|Jv[t.charCodeAt(e+2)]<<6|Jv[t.charCodeAt(e+3)],a[s++]=o>>16&255,a[s++]=o>>8&255,a[s++]=255&o;return 2===i?(o=Jv[t.charCodeAt(e)]<<2|Jv[t.charCodeAt(e+1)]>>4,a[s++]=255&o):1===i&&(o=Jv[t.charCodeAt(e)]<<10|Jv[t.charCodeAt(e+1)]<<4|Jv[t.charCodeAt(e+2)]>>2,a[s++]=o>>8&255,a[s++]=255&o),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(Hb,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Jb(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 Qb(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function Kb(){if(Mb)return Db;Mb=1;var t=Lv;return Db=function(e,r){r=r||new FormData;var n=[];function o(e){return null===e?"":t.isDate(e)?e.toISOString():t.isArrayBuffer(e)||t.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):ub.from(e):e}return function e(i,a){if(t.isPlainObject(i)||t.isArray(i)){if(-1!==n.indexOf(i))throw Error("Circular reference detected in "+a);n.push(i),t.forEach(i,(function(n,i){if(!t.isUndefined(n)){var u,s=a?a+"."+i:i;if(n&&!a&&"object"==typeof n)if(t.endsWith(i,"{}"))n=JSON.stringify(n);else if(t.endsWith(i,"[]")&&(u=t.toArray(n)))return void u.forEach((function(e){!t.isUndefined(e)&&r.append(s,o(e))}));e(n,s)}})),n.pop()}else r.append(a,o(i))}(e),r},Db}function Xb(){if(Wb)return qb;Wb=1;var t=Vv();return qb=function(e,r,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?r(new t("Request failed with status code "+n.status,[t.ERR_BAD_REQUEST,t.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}}function Zb(){if(zb)return Gb;zb=1;var t=Lv;return Gb=t.isStandardBrowserEnv()?{write:function(e,r,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(r)),t.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),t.isString(o)&&u.push("path="+o),t.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},Gb}var tw,ew,rw,nw,ow,iw,aw,uw,sw,cw,pw,lw,fw=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},hw=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t},dw=function(t,e){return t&&!fw(e)?hw(t,e):e};function yw(){if(ew)return tw;ew=1;var t=Lv,e=["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"];return tw=function(r){var n,o,i,a={};return r?(t.forEach(r.split("\n"),(function(r){if(i=r.indexOf(":"),n=t.trim(r.substr(0,i)).toLowerCase(),o=t.trim(r.substr(i+1)),n){if(a[n]&&e.indexOf(n)>=0)return;a[n]="set-cookie"===n?(a[n]?a[n]:[]).concat([o]):a[n]?a[n]+", "+o:o}})),a):a}}function mw(){if(nw)return rw;nw=1;var t=Lv;return rw=t.isStandardBrowserEnv()?function(){var e,r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var e=t;return r&&(n.setAttribute("href",e),e=n.href),n.setAttribute("href",e),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(r){var n=t.isString(r)?o(r):r;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}}function gw(){if(iw)return ow;iw=1;var t=Vv();function e(e){t.call(this,null==e?"canceled":e,t.ERR_CANCELED),this.name="CanceledError"}return Lv.inherits(e,t,{__CANCEL__:!0}),ow=e}function vw(){return uw||(uw=1,aw=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}),aw}function bw(){if(cw)return sw;cw=1;var t=Lv,e=Xb(),r=Zb(),n=Dv,o=dw,i=yw(),a=mw(),u=Yv,s=Vv(),c=gw(),p=vw();return sw=function(l){return new Promise((function(f,h){var d,y=l.data,m=l.headers,g=l.responseType;function v(){l.cancelToken&&l.cancelToken.unsubscribe(d),l.signal&&l.signal.removeEventListener("abort",d)}t.isFormData(y)&&t.isStandardBrowserEnv()&&delete m["Content-Type"];var b=new XMLHttpRequest;if(l.auth){var w=l.auth.username||"",x=l.auth.password?unescape(encodeURIComponent(l.auth.password)):"";m.Authorization="Basic "+btoa(w+":"+x)}var A=o(l.baseURL,l.url);function S(){if(b){var t="getAllResponseHeaders"in b?i(b.getAllResponseHeaders()):null,r={data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:t,config:l,request:b};e((function(t){f(t),v()}),(function(t){h(t),v()}),r),b=null}}if(b.open(l.method.toUpperCase(),n(A,l.params,l.paramsSerializer),!0),b.timeout=l.timeout,"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(S)},b.onabort=function(){b&&(h(new s("Request aborted",s.ECONNABORTED,l,b)),b=null)},b.onerror=function(){h(new s("Network Error",s.ERR_NETWORK,l,b,b)),b=null},b.ontimeout=function(){var t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",e=l.transitional||u;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),h(new s(t,e.clarifyTimeoutError?s.ETIMEDOUT:s.ECONNABORTED,l,b)),b=null},t.isStandardBrowserEnv()){var E=(l.withCredentials||a(A))&&l.xsrfCookieName?r.read(l.xsrfCookieName):void 0;E&&(m[l.xsrfHeaderName]=E)}"setRequestHeader"in b&&t.forEach(m,(function(t,e){void 0===y&&"content-type"===e.toLowerCase()?delete m[e]:b.setRequestHeader(e,t)})),t.isUndefined(l.withCredentials)||(b.withCredentials=!!l.withCredentials),g&&"json"!==g&&(b.responseType=l.responseType),"function"==typeof l.onDownloadProgress&&b.addEventListener("progress",l.onDownloadProgress),"function"==typeof l.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",l.onUploadProgress),(l.cancelToken||l.signal)&&(d=function(t){b&&(h(!t||t&&t.type?new c:t),b.abort(),b=null)},l.cancelToken&&l.cancelToken.subscribe(d),l.signal&&(l.signal.aborted?d():l.signal.addEventListener("abort",d))),y||(y=null);var R=p(A);R&&-1===["http","https","file"].indexOf(R)?h(new s("Unsupported protocol "+R+":",s.ERR_BAD_REQUEST,l)):b.send(y)}))},sw}var ww=Lv,xw=function(t,e){Hv.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))},Aw=Vv(),Sw=Yv,Ew=Kb(),Rw={"Content-Type":"application/x-www-form-urlencoded"};function Pw(t,e){!ww.isUndefined(t)&&ww.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var kw,Ow={transitional:Sw,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==$g&&"[object process]"===Object.prototype.toString.call($g))&&(kw=bw()),kw),transformRequest:[function(t,e){if(xw(e,"Accept"),xw(e,"Content-Type"),ww.isFormData(t)||ww.isArrayBuffer(t)||ww.isBuffer(t)||ww.isStream(t)||ww.isFile(t)||ww.isBlob(t))return t;if(ww.isArrayBufferView(t))return t.buffer;if(ww.isURLSearchParams(t))return Pw(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r,n=ww.isObject(t),o=e&&e["Content-Type"];if((r=ww.isFileList(t))||n&&"multipart/form-data"===o){var i=this.env&&this.env.FormData;return Ew(r?{"files[]":t}:t,i&&new i)}return n||"application/json"===o?(Pw(e,"application/json"),function(t,e,r){if(ww.isString(t))try{return(e||JSON.parse)(t),ww.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||Ow.transitional,r=e&&e.silentJSONParsing,n=e&&e.forcedJSONParsing,o=!r&&"json"===this.responseType;if(o||n&&ww.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(o){if("SyntaxError"===t.name)throw Aw.from(t,Aw.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:lw?pw:(lw=1,pw=null)},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ww.forEach(["delete","get","head"],(function(t){Ow.headers[t]={}})),ww.forEach(["post","put","patch"],(function(t){Ow.headers[t]=ww.merge(Rw)}));var jw,Iw,Tw=Ow,Nw=Lv,_w=Tw;function Uw(){return Iw?jw:(Iw=1,jw=function(t){return!(!t||!t.__CANCEL__)})}var Cw=Lv,Lw=function(t,e,r){var n=this||_w;return Nw.forEach(r,(function(r){t=r.call(n,t,e)})),t},Fw=Uw(),Bw=Tw,Dw=gw();function Mw(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Dw}var qw,Ww,Gw=Lv,zw=function(t,e){e=e||{};var r={};function n(t,e){return Gw.isPlainObject(t)&&Gw.isPlainObject(e)?Gw.merge(t,e):Gw.isPlainObject(e)?Gw.merge({},e):Gw.isArray(e)?e.slice():e}function o(r){return Gw.isUndefined(e[r])?Gw.isUndefined(t[r])?void 0:n(void 0,t[r]):n(t[r],e[r])}function i(t){if(!Gw.isUndefined(e[t]))return n(void 0,e[t])}function a(r){return Gw.isUndefined(e[r])?Gw.isUndefined(t[r])?void 0:n(void 0,t[r]):n(void 0,e[r])}function u(r){return r in e?n(t[r],e[r]):r in t?n(void 0,t[r]):void 0}var s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials: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:u};return Gw.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=s[t]||o,n=e(t);Gw.isUndefined(n)&&e!==u||(r[t]=n)})),r};function Hw(){return Ww?qw:(Ww=1,qw={version:"0.27.2"})}var Vw=Hw().version,Yw=Vv(),$w={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){$w[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var Jw={};$w.transitional=function(t,e,r){function n(t,e){return"[Axios v"+Vw+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,o,i){if(!1===t)throw new Yw(n(o," has been removed"+(e?" in "+e:"")),Yw.ERR_DEPRECATED);return e&&!Jw[o]&&(Jw[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 Qw,Kw,Xw,Zw,tx,ex,rx={assertOptions:function(t,e,r){if("object"!=typeof t)throw new Yw("options must be an object",Yw.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],a=e[i];if(a){var u=t[i],s=void 0===u||a(u,i,t);if(!0!==s)throw new Yw("option "+i+" must be "+s,Yw.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Yw("Unknown option "+i,Yw.ERR_BAD_OPTION)}},validators:$w},nx=Lv,ox=Dv,ix=zv,ax=function(t){return Mw(t),t.headers=t.headers||{},t.data=Lw.call(t,t.data,t.headers,t.transformRequest),t.headers=Cw.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Cw.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||Bw.adapter)(t).then((function(e){return Mw(t),e.data=Lw.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return Fw(e)||(Mw(t),e&&e.response&&(e.response.data=Lw.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},ux=zw,sx=dw,cx=rx,px=cx.validators;function lx(t){this.defaults=t,this.interceptors={request:new ix,response:new ix}}lx.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=ux(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;void 0!==r&&cx.assertOptions(r,{silentJSONParsing:px.transitional(px.boolean),forcedJSONParsing:px.transitional(px.boolean),clarifyTimeoutError:px.transitional(px.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!o){var u=[ax,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(a),i=Promise.resolve(e);u.length;)i=i.then(u.shift(),u.shift());return i}for(var s=e;n.length;){var c=n.shift(),p=n.shift();try{s=c(s)}catch(t){p(t);break}}try{i=ax(s)}catch(t){return Promise.reject(t)}for(;a.length;)i=i.then(a.shift(),a.shift());return i},lx.prototype.getUri=function(t){t=ux(this.defaults,t);var e=sx(t.baseURL,t.url);return ox(e,t.params,t.paramsSerializer)},nx.forEach(["delete","get","head","options"],(function(t){lx.prototype[t]=function(e,r){return this.request(ux(r||{},{method:t,url:e,data:(r||{}).data}))}})),nx.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(ux(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}lx.prototype[t]=e(),lx.prototype[t+"Form"]=e(!0)}));var fx=Lv,hx=vv,dx=lx,yx=zw;var mx=function t(e){var r=new dx(e),n=hx(dx.prototype.request,r);return fx.extend(n,dx.prototype,r),fx.extend(n,r),n.create=function(r){return t(yx(e,r))},n}(Tw);mx.Axios=dx,mx.CanceledError=gw(),mx.CancelToken=function(){if(Kw)return Qw;Kw=1;var t=gw();function e(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function(t){r=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},e((function(e){n.reason||(n.reason=new t(e),r(n.reason))}))}return e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},e.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},e.source=function(){var t;return{token:new e((function(e){t=e})),cancel:t}},Qw=e}(),mx.isCancel=Uw(),mx.VERSION=Hw().version,mx.toFormData=Kb(),mx.AxiosError=Vv(),mx.Cancel=mx.CanceledError,mx.all=function(t){return Promise.all(t)},mx.spread=Zw?Xw:(Zw=1,Xw=function(t){return function(e){return t.apply(null,e)}}),mx.isAxiosError=function(){if(ex)return tx;ex=1;var t=Lv;return tx=function(e){return t.isObject(e)&&!0===e.isAxiosError}}(),gv.exports=mx,gv.exports.default=mx;var gx=P(gv.exports),vx=function(){function t(e){var r=e.responseHandler,n=e.requestConfigBuilder;s(this,t),this.responseHandler=r,this.requestConfigBuilder=n}var e,r,i,a,c,l;return p(t,[{key:"get",value:(l=u(o().mark((function t(e,r){var n;return o().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 l.apply(this,arguments)})},{key:"getData",value:(c=u(o().mark((function t(e,r){var n;return o().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 c.apply(this,arguments)})},{key:"post",value:(a=u(o().mark((function t(e,r){var n;return o().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 a.apply(this,arguments)})},{key:"postData",value:(i=u(o().mark((function t(e,r){var n;return o().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 i.apply(this,arguments)})},{key:"put",value:(r=u(o().mark((function t(e,r){var n;return o().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,e){return r.apply(this,arguments)})},{key:"delete",value:(e=u(o().mark((function t(e,r){var n;return o().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(t,r){return e.apply(this,arguments)})},{key:"sendRequest",value:function(t){return this.responseHandler.handle(gx(n(n({},t),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]),t}(),bx=Po,wx=nt,xx=pt,Ax=Jm,Sx=$([].join);bx({target:"Array",proto:!0,forced:wx!=Object||!Ax("join",",")},{join:function(t){return Sx(xx(this),void 0===t?",":t)}});var Ex,Rx=R.Symbol,Px=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},kx=function(){return"function"==typeof Rx&&("function"==typeof Symbol&&("symbol"==typeof Rx("foo")&&("symbol"==typeof Symbol("bar")&&Px())))},Ox="Function.prototype.bind called on incompatible ",jx=Array.prototype.slice,Ix=Object.prototype.toString,Tx="[object Function]",Nx=function(t){var e=this;if("function"!=typeof e||Ix.call(e)!==Tx)throw new TypeError(Ox+e);for(var r,n=jx.call(arguments,1),o=function(){if(this instanceof r){var o=e.apply(this,n.concat(jx.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(jx.call(arguments)))},i=Math.max(0,e.length-n.length),a=[],u=0;u<i;u++)a.push("$"+u);if(r=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(o),e.prototype){var s=function(){};s.prototype=e.prototype,r.prototype=new s,s.prototype=null}return r},_x=Function.prototype.bind||Nx,Ux=_x.call(Function.call,Object.prototype.hasOwnProperty),Cx=SyntaxError,Lx=Function,Fx=TypeError,Bx=function(t){try{return Lx('"use strict"; return ('+t+").constructor;")()}catch(t){}},Dx=Object.getOwnPropertyDescriptor;if(Dx)try{Dx({},"")}catch(t){Dx=null}var Mx,qx=function(){throw new Fx},Wx=Dx?function(){try{return qx}catch(t){try{return Dx(arguments,"callee").get}catch(t){return qx}}}():qx,Gx=kx(),zx=Object.getPrototypeOf||function(t){return t.__proto__},Hx={},Vx="undefined"==typeof Uint8Array?Ex:zx(Uint8Array),Yx={"%AggregateError%":"undefined"==typeof AggregateError?Ex:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Ex:ArrayBuffer,"%ArrayIteratorPrototype%":Gx?zx([][Symbol.iterator]()):Ex,"%AsyncFromSyncIteratorPrototype%":Ex,"%AsyncFunction%":Hx,"%AsyncGenerator%":Hx,"%AsyncGeneratorFunction%":Hx,"%AsyncIteratorPrototype%":Hx,"%Atomics%":"undefined"==typeof Atomics?Ex:Atomics,"%BigInt%":"undefined"==typeof BigInt?Ex:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Ex:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?Ex:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Ex:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Ex:FinalizationRegistry,"%Function%":Lx,"%GeneratorFunction%":Hx,"%Int8Array%":"undefined"==typeof Int8Array?Ex:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Ex:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Ex:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Gx?zx(zx([][Symbol.iterator]())):Ex,"%JSON%":"object"==typeof JSON?JSON:Ex,"%Map%":"undefined"==typeof Map?Ex:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Gx?zx((new Map)[Symbol.iterator]()):Ex,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Ex:Promise,"%Proxy%":"undefined"==typeof Proxy?Ex:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?Ex:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Ex:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Gx?zx((new Set)[Symbol.iterator]()):Ex,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Ex:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Gx?zx(""[Symbol.iterator]()):Ex,"%Symbol%":Gx?Symbol:Ex,"%SyntaxError%":Cx,"%ThrowTypeError%":Wx,"%TypedArray%":Vx,"%TypeError%":Fx,"%Uint8Array%":"undefined"==typeof Uint8Array?Ex:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Ex:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Ex:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Ex:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?Ex:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Ex:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Ex:WeakSet},$x=function t(e){var r;if("%AsyncFunction%"===e)r=Bx("async function () {}");else if("%GeneratorFunction%"===e)r=Bx("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=Bx("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=zx(o.prototype))}return Yx[e]=r,r},Jx={"%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"]},Qx=_x,Kx=Ux,Xx=Qx.call(Function.call,Array.prototype.concat),Zx=Qx.call(Function.apply,Array.prototype.splice),tA=Qx.call(Function.call,String.prototype.replace),eA=Qx.call(Function.call,String.prototype.slice),rA=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,nA=/\\(\\)?/g,oA=function(t){var e=eA(t,0,1),r=eA(t,-1);if("%"===e&&"%"!==r)throw new Cx("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new Cx("invalid intrinsic syntax, expected opening `%`");var n=[];return tA(t,rA,(function(t,e,r,o){n[n.length]=r?tA(o,nA,"$1"):e||t})),n},iA=function(t,e){var r,n=t;if(Kx(Jx,n)&&(n="%"+(r=Jx[n])[0]+"%"),Kx(Yx,n)){var o=Yx[n];if(o===Hx&&(o=$x(n)),void 0===o&&!e)throw new Fx("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Cx("intrinsic "+t+" does not exist!")},aA=SyntaxError,uA=Function,sA=TypeError,cA=function(t){try{return Function('"use strict"; return ('+t+").constructor;")()}catch(t){}},pA=Object.getOwnPropertyDescriptor;if(pA)try{pA({},"")}catch(t){pA=null}var lA=function(){throw new sA},fA=pA?function(){try{return lA}catch(t){try{return pA(arguments,"callee").get}catch(t){return lA}}}():lA,hA=kx(),dA=Object.getPrototypeOf||function(t){return t.__proto__},yA=cA("async function* () {}"),mA=yA?yA.prototype:Mx,gA=mA?mA.prototype:Mx,vA="undefined"==typeof Uint8Array?Mx:dA(Uint8Array),bA={"%AggregateError%":"undefined"==typeof AggregateError?Mx:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Mx:ArrayBuffer,"%ArrayIteratorPrototype%":hA?dA([][Symbol.iterator]()):Mx,"%AsyncFromSyncIteratorPrototype%":Mx,"%AsyncFunction%":cA("async function () {}"),"%AsyncGenerator%":mA,"%AsyncGeneratorFunction%":yA,"%AsyncIteratorPrototype%":gA?dA(gA):Mx,"%Atomics%":"undefined"==typeof Atomics?Mx:Atomics,"%BigInt%":"undefined"==typeof BigInt?Mx:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Mx:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?Mx:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Mx:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Mx:FinalizationRegistry,"%Function%":uA,"%GeneratorFunction%":cA("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?Mx:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Mx:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Mx:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hA?dA(dA([][Symbol.iterator]())):Mx,"%JSON%":"object"==typeof JSON?JSON:Mx,"%Map%":"undefined"==typeof Map?Mx:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hA?dA((new Map)[Symbol.iterator]()):Mx,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Mx:Promise,"%Proxy%":"undefined"==typeof Proxy?Mx:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?Mx:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Mx:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hA?dA((new Set)[Symbol.iterator]()):Mx,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Mx:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hA?dA(""[Symbol.iterator]()):Mx,"%Symbol%":hA?Symbol:Mx,"%SyntaxError%":aA,"%ThrowTypeError%":fA,"%TypedArray%":vA,"%TypeError%":sA,"%Uint8Array%":"undefined"==typeof Uint8Array?Mx:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Mx:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Mx:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Mx:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?Mx:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Mx:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Mx:WeakSet},wA={"%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"]},xA=_x,AA=Ux,SA=xA.call(Function.call,Array.prototype.concat),EA=xA.call(Function.apply,Array.prototype.splice),RA=xA.call(Function.call,String.prototype.replace),PA=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,kA=/\\(\\)?/g,OA=function(t){var e=[];return RA(t,PA,(function(t,r,n,o){e[e.length]=n?RA(o,kA,"$1"):r||t})),e},jA=function(t,e){var r,n=t;if(AA(wA,n)&&(n="%"+(r=wA[n])[0]+"%"),AA(bA,n)){var o=bA[n];if(void 0===o&&!e)throw new sA("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new aA("intrinsic "+t+" does not exist!")},IA=function(t,e){if("string"!=typeof t||0===t.length)throw new sA("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new sA('"allowMissing" argument must be a boolean');var r=OA(t),n=r.length>0?r[0]:"",o=jA("%"+n+"%",e),i=o.name,a=o.value,u=!1,s=o.alias;s&&(n=s[0],EA(r,SA([0,1],s)));for(var c=1,p=!0;c<r.length;c+=1){var l=r[c];if("constructor"!==l&&p||(u=!0),AA(bA,i="%"+(n+="."+l)+"%"))a=bA[i];else if(null!=a){if(pA&&c+1>=r.length){var f=pA(a,l);if(p=!!f,!e&&!(l in a))throw new sA("base intrinsic for "+t+" exists, but the property is not available.");a=p&&"get"in f&&!("originalValue"in f.get)?f.get:a[l]}else p=AA(a,l),a=a[l];p&&!u&&(bA[i]=a)}}return a},TA={exports:{}};!function(t){var e=_x,r=IA,n=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||e.call(o,n),a=r("%Object.defineProperty%",!0);if(a)try{a({},"a",{value:1})}catch(t){a=null}t.exports=function(){return i(e,o,arguments)};var u=function(){return i(e,n,arguments)};a?a(t.exports,"apply",{value:u}):t.exports.apply=u}(TA);var NA=IA,_A=TA.exports,UA=_A(NA("String.prototype.indexOf")),CA=k(Object.freeze({__proto__:null,default:{}})),LA="function"==typeof Map&&Map.prototype,FA=Object.getOwnPropertyDescriptor&&LA?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,BA=LA&&FA&&"function"==typeof FA.get?FA.get:null,DA=LA&&Map.prototype.forEach,MA="function"==typeof Set&&Set.prototype,qA=Object.getOwnPropertyDescriptor&&MA?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,WA=MA&&qA&&"function"==typeof qA.get?qA.get:null,GA=MA&&Set.prototype.forEach,zA="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,HA="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,VA=Boolean.prototype.valueOf,YA=Object.prototype.toString,$A=Function.prototype.toString,JA=String.prototype.match,QA="function"==typeof BigInt?BigInt.prototype.valueOf:null,KA=Object.getOwnPropertySymbols,XA="function"==typeof Symbol?Symbol.prototype.toString:null,ZA=Object.prototype.propertyIsEnumerable,tS=CA.custom,eS=tS&&iS(tS)?tS:null;function rS(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function nS(t){return String(t).replace(/"/g,""")}function oS(t){return"[object Array]"===sS(t)}function iS(t){return"[object Symbol]"===sS(t)}var aS=Object.prototype.hasOwnProperty||function(t){return t in this};function uS(t,e){return aS.call(t,e)}function sS(t){return YA.call(t)}function cS(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 pS(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return pS(t.slice(0,e.maxStringLength),e)+n}return rS(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,lS),"single",e)}function lS(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":"")+e.toString(16).toUpperCase()}function fS(t){return"Object("+t+")"}function hS(t){return t+" { ? }"}function dS(t,e,r,n){return t+" ("+e+") {"+(n?yS(r,n):r.join(", "))+"}"}function yS(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function mS(t,e){var r=oS(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=uS(t,o)?e(t[o],t):""}for(var i in t)uS(t,i)&&(r&&String(Number(i))===i&&i<t.length||(/[^\w$]/.test(i)?n.push(e(i,t)+": "+e(t[i],t)):n.push(i+": "+e(t[i],t))));if("function"==typeof KA)for(var a=KA(t),u=0;u<a.length;u++)ZA.call(t,a[u])&&n.push("["+e(a[u])+"]: "+e(t[a[u]],t));return n}var gS=function(t,e){if("string"!=typeof t||0===t.length)throw new Fx("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new Fx('"allowMissing" argument must be a boolean');var r=oA(t),n=r.length>0?r[0]:"",o=iA("%"+n+"%",e),i=o.name,a=o.value,u=!1,s=o.alias;s&&(n=s[0],Zx(r,Xx([0,1],s)));for(var c=1,p=!0;c<r.length;c+=1){var l=r[c],f=eA(l,0,1),h=eA(l,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new Cx("property names with quotes must have matching quotes");if("constructor"!==l&&p||(u=!0),Kx(Yx,i="%"+(n+="."+l)+"%"))a=Yx[i];else if(null!=a){if(!(l in a)){if(!e)throw new Fx("base intrinsic for "+t+" exists, but the property is not available.");return}if(Dx&&c+1>=r.length){var d=Dx(a,l);a=(p=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[l]}else p=Kx(a,l),a=a[l];p&&!u&&(Yx[i]=a)}}return a},vS=function(t,e){var r=NA(t,!!e);return"function"==typeof r&&UA(t,".prototype.")>-1?_A(r):r},bS=function t(e,r,n,o){var i=r||{};if(uS(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(uS(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=!uS(i,"customInspect")||i.customInspect;if("boolean"!=typeof a)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(uS(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return pS(e,i);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var u=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=u&&u>0&&"object"==typeof e)return oS(e)?"[Array]":"[Object]";var s=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(i,n);if(void 0===o)o=[];else if(cS(o,e)>=0)return"[Circular]";function c(e,r,a){if(r&&(o=o.slice()).push(r),a){var u={depth:i.depth};return uS(i,"quoteStyle")&&(u.quoteStyle=i.quoteStyle),t(e,u,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e){var p=function(t){if(t.name)return t.name;var e=JA.call($A.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),l=mS(e,c);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(l.length>0?" { "+l.join(", ")+" }":"")}if(iS(e)){var f=XA.call(e);return"object"==typeof e?fS(f):f}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 h="<"+String(e.nodeName).toLowerCase(),d=e.attributes||[],y=0;y<d.length;y++)h+=" "+d[y].name+"="+rS(nS(d[y].value),"double",i);return h+=">",e.childNodes&&e.childNodes.length&&(h+="..."),h+="</"+String(e.nodeName).toLowerCase()+">"}if(oS(e)){if(0===e.length)return"[]";var m=mS(e,c);return s&&!function(t){for(var e=0;e<t.length;e++)if(cS(t[e],"\n")>=0)return!1;return!0}(m)?"["+yS(m,s)+"]":"[ "+m.join(", ")+" ]"}if(function(t){return"[object Error]"===sS(t)}(e)){var g=mS(e,c);return 0===g.length?"["+String(e)+"]":"{ ["+String(e)+"] "+g.join(", ")+" }"}if("object"==typeof e&&a){if(eS&&"function"==typeof e[eS])return e[eS]();if("function"==typeof e.inspect)return e.inspect()}if(function(t){if(!BA||!t||"object"!=typeof t)return!1;try{BA.call(t);try{WA.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var v=[];return DA.call(e,(function(t,r){v.push(c(r,e,!0)+" => "+c(t,e))})),dS("Map",BA.call(e),v,s)}if(function(t){if(!WA||!t||"object"!=typeof t)return!1;try{WA.call(t);try{BA.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var b=[];return GA.call(e,(function(t){b.push(c(t,e))})),dS("Set",WA.call(e),b,s)}if(function(t){if(!zA||!t||"object"!=typeof t)return!1;try{zA.call(t,zA);try{HA.call(t,HA)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return hS("WeakMap");if(function(t){if(!HA||!t||"object"!=typeof t)return!1;try{HA.call(t,HA);try{zA.call(t,zA)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return hS("WeakSet");if(function(t){return"[object Number]"===sS(t)}(e))return fS(c(Number(e)));if(function(t){return"[object BigInt]"===sS(t)}(e))return fS(c(QA.call(e)));if(function(t){return"[object Boolean]"===sS(t)}(e))return fS(VA.call(e));if(function(t){return"[object String]"===sS(t)}(e))return fS(c(String(e)));if(!function(t){return"[object Date]"===sS(t)}(e)&&!function(t){return"[object RegExp]"===sS(t)}(e)){var w=mS(e,c);return 0===w.length?"{}":s?"{"+yS(w,s)+"}":"{ "+w.join(", ")+" }"}return String(e)},wS=gS("%TypeError%"),xS=gS("%WeakMap%",!0),AS=gS("%Map%",!0),SS=vS("WeakMap.prototype.get",!0),ES=vS("WeakMap.prototype.set",!0),RS=vS("WeakMap.prototype.has",!0),PS=vS("Map.prototype.get",!0),kS=vS("Map.prototype.set",!0),OS=vS("Map.prototype.has",!0),jS=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},IS=String.prototype.replace,TS=/%20/g,NS="RFC3986",_S={default:NS,formatters:{RFC1738:function(t){return IS.call(t,TS,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:NS},US=_S,CS=Object.prototype.hasOwnProperty,LS=Array.isArray,FS=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),BS=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},DS={arrayToObject:BS,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),u=0;u<a.length;++u){var s=a[u],c=i[s];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(e.push({obj:i,prop:s}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(LS(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="",u=0;u<i.length;++u){var s=i.charCodeAt(u);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||o===US.RFC1738&&(40===s||41===s)?a+=i.charAt(u):s<128?a+=FS[s]:s<2048?a+=FS[192|s>>6]+FS[128|63&s]:s<55296||s>=57344?a+=FS[224|s>>12]+FS[128|s>>6&63]+FS[128|63&s]:(u+=1,s=65536+((1023&s)<<10|1023&i.charCodeAt(u)),a+=FS[240|s>>18]+FS[128|s>>12&63]+FS[128|s>>6&63]+FS[128|63&s])}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(LS(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(LS(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!CS.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return LS(e)&&!LS(r)&&(o=BS(e,n)),LS(e)&&LS(r)?(r.forEach((function(r,o){if(CS.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 CS.call(e,o)?e[o]=t(e[o],i,n):e[o]=i,e}),o)}},MS=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new wS("Side channel does not contain "+bS(t))},get:function(n){if(xS&&n&&("object"==typeof n||"function"==typeof n)){if(t)return SS(t,n)}else if(AS){if(e)return PS(e,n)}else if(r)return function(t,e){var r=jS(t,e);return r&&r.value}(r,n)},has:function(n){if(xS&&n&&("object"==typeof n||"function"==typeof n)){if(t)return RS(t,n)}else if(AS){if(e)return OS(e,n)}else if(r)return function(t,e){return!!jS(t,e)}(r,n);return!1},set:function(n,o){xS&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new xS),ES(t,n,o)):AS?(e||(e=new AS),kS(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=jS(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},qS=DS,WS=_S,GS=Object.prototype.hasOwnProperty,zS={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},HS=Array.isArray,VS=String.prototype.split,YS=Array.prototype.push,$S=function(t,e){YS.apply(t,HS(e)?e:[e])},JS=Date.prototype.toISOString,QS=WS.default,KS={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:qS.encode,encodeValuesOnly:!1,format:QS,formatter:WS.formatters[QS],indices:!1,serializeDate:function(t){return JS.call(t)},skipNulls:!1,strictNullHandling:!1},XS={},ZS=function t(e,r,n,o,i,a,u,s,c,p,l,f,h,d,y){for(var m,g=e,v=y,b=0,w=!1;void 0!==(v=v.get(XS))&&!w;){var x=v.get(e);if(b+=1,void 0!==x){if(x===b)throw new RangeError("Cyclic object value");w=!0}void 0===v.get(XS)&&(b=0)}if("function"==typeof u?g=u(r,g):g instanceof Date?g=p(g):"comma"===n&&HS(g)&&(g=qS.maybeMap(g,(function(t){return t instanceof Date?p(t):t}))),null===g){if(o)return a&&!h?a(r,KS.encoder,d,"key",l):r;g=""}if("string"==typeof(m=g)||"number"==typeof m||"boolean"==typeof m||"symbol"==typeof m||"bigint"==typeof m||qS.isBuffer(g)){if(a){var A=h?r:a(r,KS.encoder,d,"key",l);if("comma"===n&&h){for(var S=VS.call(String(g),","),E="",R=0;R<S.length;++R)E+=(0===R?"":",")+f(a(S[R],KS.encoder,d,"value",l));return[f(A)+(HS(g)&&1===S.length?"[]":"")+"="+E]}return[f(A)+"="+f(a(g,KS.encoder,d,"value",l))]}return[f(r)+"="+f(String(g))]}var P,k=[];if(void 0===g)return k;if("comma"===n&&HS(g))P=[{value:g.length>0?g.join(",")||null:void 0}];else if(HS(u))P=u;else{var O=Object.keys(g);P=s?O.sort(s):O}for(var j="comma"===n&&HS(g)&&1===g.length?r+"[]":r,I=0;I<P.length;++I){var T=P[I],N="object"==typeof T&&void 0!==T.value?T.value:g[T];if(!i||null!==N){var _=HS(g)?"function"==typeof n?n(j,T):j:j+(c?"."+T:"["+T+"]");y.set(e,b);var U=MS();U.set(XS,y),$S(k,t(N,_,n,o,i,a,u,s,c,p,l,f,h,d,U))}}return k},tE=DS,eE=Object.prototype.hasOwnProperty,rE=Array.isArray,nE={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:tE.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},oE=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},iE=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},aE=function(t,e,r,n){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),u=a?o.slice(0,a.index):o,s=[];if(u){if(!r.plainObjects&&eE.call(Object.prototype,u)&&!r.allowPrototypes)return;s.push(u)}for(var c=0;r.depth>0&&null!==(a=i.exec(o))&&c<r.depth;){if(c+=1,!r.plainObjects&&eE.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;s.push(a[1])}return a&&s.push("["+o.slice(a.index)+"]"),function(t,e,r,n){for(var o=n?e:iE(e,r),i=t.length-1;i>=0;--i){var a,u=t[i];if("[]"===u&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var s="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,c=parseInt(s,10);r.parseArrays||""!==s?!isNaN(c)&&u!==s&&String(c)===s&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=o:"__proto__"!==s&&(a[s]=o):a={0:o}}o=a}return o}(s,e,r,n)}},uE=function(t,e){var r,n=t,o=function(t){if(!t)return KS;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||KS.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=WS.default;if(void 0!==t.format){if(!GS.call(WS.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=WS.formatters[r],o=KS.filter;return("function"==typeof t.filter||HS(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:KS.addQueryPrefix,allowDots:void 0===t.allowDots?KS.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:KS.charsetSentinel,delimiter:void 0===t.delimiter?KS.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:KS.encode,encoder:"function"==typeof t.encoder?t.encoder:KS.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:KS.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:KS.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:KS.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:KS.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):HS(o.filter)&&(r=o.filter);var i,a=[];if("object"!=typeof n||null===n)return"";i=e&&e.arrayFormat in zS?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var u=zS[i];r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var s=MS(),c=0;c<r.length;++c){var p=r[c];o.skipNulls&&null===n[p]||$S(a,ZS(n[p],p,u,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,s))}var l=a.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&"),l.length>0?f+l:""},sE=function(t,e){var r=function(t){if(!t)return nE;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?nE.charset:t.charset;return{allowDots:void 0===t.allowDots?nE.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:nE.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:nE.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:nE.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:nE.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:nE.comma,decoder:"function"==typeof t.decoder?t.decoder:nE.decoder,delimiter:"string"==typeof t.delimiter||tE.isRegExp(t.delimiter)?t.delimiter:nE.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:nE.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:nE.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:nE.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:nE.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:nE.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,e){var r,n={},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=o.split(e.delimiter,i),u=-1,s=e.charset;if(e.charsetSentinel)for(r=0;r<a.length;++r)0===a[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[r]?s="utf-8":"utf8=%26%2310003%3B"===a[r]&&(s="iso-8859-1"),u=r,r=a.length);for(r=0;r<a.length;++r)if(r!==u){var c,p,l=a[r],f=l.indexOf("]="),h=-1===f?l.indexOf("="):f+1;-1===h?(c=e.decoder(l,nE.decoder,s,"key"),p=e.strictNullHandling?null:""):(c=e.decoder(l.slice(0,h),nE.decoder,s,"key"),p=tE.maybeMap(iE(l.slice(h+1),e),(function(t){return e.decoder(t,nE.decoder,s,"value")}))),p&&e.interpretNumericEntities&&"iso-8859-1"===s&&(p=oE(p)),l.indexOf("[]=")>-1&&(p=rE(p)?[p]:p),eE.call(n,c)?n[c]=tE.combine(n[c],p):n[c]=p}return n}(t,r):t,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var u=i[a],s=aE(u,n[u],r,"string"==typeof t);o=tE.merge(o,s,r)}return!0===r.allowSparse?o:tE.compact(o)},cE=P({formats:_S,parse:sE,stringify:uE});const pE="function"==typeof btoa,lE="function"==typeof Buffer,fE=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),hE=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),dE=((t=>{let e={};t.forEach(((t,r)=>e[t]=r))})(hE),String.fromCharCode.bind(String)),yE=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_"))),mE=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},gE=pE?t=>btoa(t):lE?t=>Buffer.from(t,"binary").toString("base64"):mE,vE=lE?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(dE.apply(null,t.subarray(r,r+4096)));return gE(e.join(""))},bE=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?dE(192|e>>>6)+dE(128|63&e):dE(224|e>>>12&15)+dE(128|e>>>6&63)+dE(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return dE(240|e>>>18&7)+dE(128|e>>>12&63)+dE(128|e>>>6&63)+dE(128|63&e)},wE=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,xE=t=>t.replace(wE,bE),AE=lE?t=>Buffer.from(t,"utf8").toString("base64"):fE?t=>vE(fE.encode(t)):t=>gE(xE(t)),SE=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?yE(AE(t)):AE(t)},EE=SE;var RE,PE=function(){function t(e){if(s(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}var r,i,a;return p(t,[{key:"build",value:(a=u(o().mark((function t(r,i,a,u){var s,c,p,l;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:s=n(n(n({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(i)},u||{}),e.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth,socketTimeout:this.socketTimeout})),{},{proxy: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(i,a)).length>4096)){t.next=15;break}return t.t1=n,t.t2=n({},s),t.t3={},t.t4=n(n({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),t.next=12,this.buildData(a);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",n(n({},s),{},{url:c}));case 16:if(!(a instanceof yv)){t.next=21;break}return t.next=19,this.buildData(a);case 19:return p=t.sent,t.abrupt("return",n(n({},s),{},{headers:"function"==typeof p.getHeaders?n(n({},this.headers),p.getHeaders()):this.headers,data:p}));case 21:return t.t7=n,t.t8=n({},s),t.t9={},t.next=26,this.buildData(a);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=n,t.t13=n({},s),t.t14={},t.next=34,this.buildData(a);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=i,t.next=41,this.buildData(a);case 41:return t.t19=t.sent,l=t.t17.buildRequestUrl.call(t.t17,t.t18,t.t19),t.abrupt("return",n(n({},s),{},{url:l}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return t.stop()}}),t,this)}))),function(t,e,r,n){return a.apply(this,arguments)})},{key:"buildRequestUrl",value:function(t,e){return"".concat(this.baseUrl).concat(t,"?").concat(cE.stringify(e))}},{key:"buildData",value:(i=u(o().mark((function t(e){var r;return o().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 yv)){t.next=7;break}return e.append("__REQUEST_TOKEN__",r),t.abrupt("return",e);case 7:return t.abrupt("return",n({__REQUEST_TOKEN__:r},e));case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return i.apply(this,arguments)})},{key:"buildHeaders",value:function(t){var r=t.basicAuth,o=t.userAgent,i=r?{Authorization:"Basic ".concat(EE("".concat(r.username,":").concat(r.password)))}:{},a=n(n({},e.buildHeaders({userAgent:o})),i);switch(this.auth.type){case"password":return n(n({},a),{},{"X-Cybozu-Authorization":EE("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var u=this.auth.apiToken;return Array.isArray(u)?n(n({},a),{},{"X-Cybozu-API-Token":u.join(",")}):n(n({},a),{},{"X-Cybozu-API-Token":u});case"oAuthToken":return n(n({},a),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return n(n({},a),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(r=u(o().mark((function t(){return o().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 r.apply(this,arguments)})}]),t}(),kE=function(t){f(r,t);var e=x(r);function r(t){var n;return s(this,r),(n=e.call(this,t)).name="KintoneAbortSearchError",n.message=t,Object.setPrototypeOf(b(n),r.prototype),n}return p(r)}(g(Error)),OE=function(t){f(r,t);var e=x(r);function r(t){var n;s(this,r);var o=r.buildErrorResponseDateWithIndex(t),i=o.data,a=o.bulkRequestIndex;return(n=e.call(this,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(b(n),r),Object.setPrototypeOf(b(n),r.prototype),n}return p(r,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?r.findErrorResponseDataWithIndex(t.data.results):{data:t.data}}}]),r}(g(Error)),jE=["data"],IE=function(){function t(e){var r=e.enableAbortSearchError;s(this,t),this.enableAbortSearchError=r}return p(t,[{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 kE(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,o=v(e,jE);if("string"==typeof r)throw new Error("".concat(o.status,": ").concat(o.statusText));throw new OE(n({data:r},o))}}]),t}(),TE=function(t){if("username"in t)return n({type:"password"},t);if("apiToken"in t)return n({type:"apiToken"},t);if("oAuthToken"in t)return n({type:"oAuthToken"},t);try{return e.getDefaultAuth()}catch(t){if(t instanceof $i)throw new Error("session authentication is not supported in ".concat(t.platform," environment."));throw t}},NE=function(){function t(){var r,o,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,t),_E(a),this.baseUrl=e.buildBaseUrl(a.baseUrl).replace(/\/+$/,"");var u=TE(null!==(r=a.auth)&&void 0!==r?r:{}),c=new PE(n(n({},a),{},{baseUrl:this.baseUrl,auth:u})),p=new IE({enableAbortSearchError:null!==(o=null===(i=a.featureFlags)||void 0===i?void 0:i.enableAbortSearchError)&&void 0!==o&&o}),l=new vx({responseHandler:p,requestConfigBuilder:c}),f=a.guestSpaceId;this.bulkRequest_=new Gy(l,f),this.record=new dv(l,this.bulkRequest_,f),this.app=new om(l,f),this.file=new mv(l,f)}return p(t,[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(t){return this.bulkRequest_.send(t)}}],[{key:"version",get:function(){return e.getVersion()}}]),t}(),_E=function(t){UE(t.baseUrl),CE(t.guestSpaceId),LE(t.socketTimeout)},UE=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".')}},CE=function(t){if(""===t||null===t)throw new Error("invalid guestSpaceId: got [".concat(t,"]"))},LE=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.")}};(RE=Zi).readFileFromPath&&(e.readFileFromPath=RE.readFileFromPath),RE.getRequestToken&&(e.getRequestToken=RE.getRequestToken),RE.getDefaultAuth&&(e.getDefaultAuth=RE.getDefaultAuth),RE.buildPlatformDependentConfig&&(e.buildPlatformDependentConfig=RE.buildPlatformDependentConfig),RE.buildHeaders&&(e.buildHeaders=RE.buildHeaders),RE.buildFormDataValue&&(e.buildFormDataValue=RE.buildFormDataValue),RE.buildBaseUrl&&(e.buildBaseUrl=RE.buildBaseUrl),RE.getVersion&&(e.getVersion=RE.getVersion),t.KintoneAbortSearchError=kE,t.KintoneAllRecordsError=cv,t.KintoneRestAPIClient=NE,t.KintoneRestAPIError=OE}));
|