@kintone/rest-api-client 2.0.34 → 2.0.35
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 2.0.35 (2022-02-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** update dependency @kintone/rest-api-client to ^2.0.34 ([#1341](https://github.com/kintone/js-sdk/issues/1341)) ([0e01847](https://github.com/kintone/js-sdk/commit/0e018475d77c68f42d414d563377aef56a7a1d41))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 2.0.34 (2022-02-04)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @kintone/rest-api-client
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kintone/rest-api-client",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.35",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@types/core-js": "^2.5.5",
|
|
65
65
|
"@types/js-base64": "^3.0.0",
|
|
66
66
|
"@types/qs": "^6.9.7",
|
|
67
|
-
"rollup": "^2.
|
|
67
|
+
"rollup": "^2.67.1",
|
|
68
68
|
"rollup-plugin-ecma-version-validator": "^0.1.6",
|
|
69
69
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
70
70
|
"rollup-plugin-node-globals": "^1.4.0",
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
},
|
|
90
90
|
"./package.json": "./package.json"
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "fef8a97ab193034f00aeb89338b80311478c19a1"
|
|
93
93
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).window=e.window||{})}(this,(function(e){"use strict";var t={readFileFromPath:function(){throw new Error("not implemented")},getRequestToken:function(){throw new Error("not implemented")},getDefaultAuth:function(){throw new Error("not implemented")},buildPlatformDependentConfig:function(){throw new Error("not implemented")},buildHeaders:function(){throw new Error("not implemented")},buildFormDataValue:function(){throw new Error("not implemented")},buildBaseUrl:function(){throw new Error("not implemented")},getVersion:function(){throw new Error("not implemented")}};function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function u(e){i(a,n,o,u,c,"next",e)}function c(e){i(a,n,o,u,c,"throw",e)}u(void 0)}))}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(e){return!1}}function h(e,t,r){return(h=y()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&d(o,r.prototype),o}).apply(null,arguments)}function v(e){var t="function"==typeof Map?new Map:void 0;return(v=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return h(e,arguments,f(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,e)})(e)}function g(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function w(e){var t=y();return function(){var r,n=f(e);if(t){var o=f(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function S(e){return function(e){if(Array.isArray(e))return A(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return A(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return A(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function R(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}var P=function(e){return e&&e.Math==Math&&e},E=P("object"==("undefined"==typeof globalThis?"undefined":o(globalThis))&&globalThis)||P("object"==("undefined"==typeof window?"undefined":o(window))&&window)||P("object"==("undefined"==typeof self?"undefined":o(self))&&self)||P("object"==o(x)&&x)||function(){return this}()||Function("return this")(),k={},O=function(e){try{return!!e()}catch(e){return!0}},j=!O((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),I=!O((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),N=I,T=Function.prototype.call,F=N?T.bind(T):function(){return T.apply(T,arguments)},C={},_={}.propertyIsEnumerable,U=Object.getOwnPropertyDescriptor,W=U&&!_.call({1:2},1);C.f=W?function(e){var t=U(this,e);return!!t&&t.enumerable}:_;var D,B,G=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},M=I,L=Function.prototype,q=L.bind,z=L.call,V=M&&q.bind(z,z),H=M?function(e){return e&&V(e)}:function(e){return e&&function(){return z.apply(e,arguments)}},J=H,$=J({}.toString),K=J("".slice),Q=function(e){return K($(e),8,-1)},X=H,Y=O,Z=Q,ee=E.Object,te=X("".split),re=Y((function(){return!ee("z").propertyIsEnumerable(0)}))?function(e){return"String"==Z(e)?te(e,""):ee(e)}:ee,ne=E.TypeError,oe=function(e){if(null==e)throw ne("Can't call method on "+e);return e},ie=re,ae=oe,ue=function(e){return ie(ae(e))},ce=function(e){return"function"==typeof e},se=ce,pe=function(e){return"object"==o(e)?null!==e:se(e)},le=E,fe=ce,de=function(e){return fe(e)?e:void 0},ye=function(e,t){return arguments.length<2?de(le[e]):le[e]&&le[e][t]},he=H({}.isPrototypeOf),ve=E,ge=ye("navigator","userAgent")||"",me=ve.process,be=ve.Deno,we=me&&me.versions||be&&be.version,Se=we&&we.v8;Se&&(B=(D=Se.split("."))[0]>0&&D[0]<4?1:+(D[0]+D[1])),!B&&ge&&(!(D=ge.match(/Edge\/(\d+)/))||D[1]>=74)&&(D=ge.match(/Chrome\/(\d+)/))&&(B=+D[1]);var Ae=B,xe=Ae,Re=O,Pe=!!Object.getOwnPropertySymbols&&!Re((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&xe&&xe<41})),Ee=Pe&&!Symbol.sham&&"symbol"==o(Symbol.iterator),ke=ye,Oe=ce,je=he,Ie=Ee,Ne=E.Object,Te=Ie?function(e){return"symbol"==o(e)}:function(e){var t=ke("Symbol");return Oe(t)&&je(t.prototype,Ne(e))},Fe=E.String,Ce=ce,_e=function(e){try{return Fe(e)}catch(e){return"Object"}},Ue=E.TypeError,We=function(e){if(Ce(e))return e;throw Ue(_e(e)+" is not a function")},De=We,Be=function(e,t){var r=e[t];return null==r?void 0:De(r)},Ge=F,Me=ce,Le=pe,qe=E.TypeError,ze={exports:{}},Ve=E,He=Object.defineProperty,Je=function(e,t){try{He(Ve,e,{value:t,configurable:!0,writable:!0})}catch(r){Ve[e]=t}return t},$e=Je,Ke="__core-js_shared__",Qe=E[Ke]||$e(Ke,{}),Xe=Qe;(ze.exports=function(e,t){return Xe[e]||(Xe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.0",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ye=oe,Ze=E.Object,et=function(e){return Ze(Ye(e))},tt=et,rt=H({}.hasOwnProperty),nt=Object.hasOwn||function(e,t){return rt(tt(e),t)},ot=H,it=0,at=Math.random(),ut=ot(1..toString),ct=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ut(++it+at,36)},st=E,pt=ze.exports,lt=nt,ft=ct,dt=Pe,yt=Ee,ht=pt("wks"),vt=st.Symbol,gt=vt&&vt.for,mt=yt?vt:vt&&vt.withoutSetter||ft,bt=function(e){if(!lt(ht,e)||!dt&&"string"!=typeof ht[e]){var t="Symbol."+e;dt&<(vt,e)?ht[e]=vt[e]:ht[e]=yt&>?gt(t):mt(t)}return ht[e]},wt=F,St=pe,At=Te,xt=Be,Rt=function(e,t){var r,n;if("string"===t&&Me(r=e.toString)&&!Le(n=Ge(r,e)))return n;if(Me(r=e.valueOf)&&!Le(n=Ge(r,e)))return n;if("string"!==t&&Me(r=e.toString)&&!Le(n=Ge(r,e)))return n;throw qe("Can't convert object to primitive value")},Pt=bt,Et=E.TypeError,kt=Pt("toPrimitive"),Ot=function(e,t){if(!St(e)||At(e))return e;var r,n=xt(e,kt);if(n){if(void 0===t&&(t="default"),r=wt(n,e,t),!St(r)||At(r))return r;throw Et("Can't convert object to primitive value")}return void 0===t&&(t="number"),Rt(e,t)},jt=Ot,It=Te,Nt=function(e){var t=jt(e,"string");return It(t)?t:t+""},Tt=pe,Ft=E.document,Ct=Tt(Ft)&&Tt(Ft.createElement),_t=function(e){return Ct?Ft.createElement(e):{}},Ut=_t,Wt=!j&&!O((function(){return 7!=Object.defineProperty(Ut("div"),"a",{get:function(){return 7}}).a})),Dt=j,Bt=F,Gt=C,Mt=G,Lt=ue,qt=Nt,zt=nt,Vt=Wt,Ht=Object.getOwnPropertyDescriptor;k.f=Dt?Ht:function(e,t){if(e=Lt(e),t=qt(t),Vt)try{return Ht(e,t)}catch(e){}if(zt(e,t))return Mt(!Bt(Gt.f,e,t),e[t])};var Jt={},$t=j&&O((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Kt=E,Qt=pe,Xt=Kt.String,Yt=Kt.TypeError,Zt=function(e){if(Qt(e))return e;throw Yt(Xt(e)+" is not an object")},er=j,tr=Wt,rr=$t,nr=Zt,or=Nt,ir=E.TypeError,ar=Object.defineProperty,ur=Object.getOwnPropertyDescriptor,cr="enumerable",sr="configurable",pr="writable";Jt.f=er?rr?function(e,t,r){if(nr(e),t=or(t),nr(r),"function"==typeof e&&"prototype"===t&&"value"in r&&pr in r&&!r.writable){var n=ur(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:sr in r?r.configurable:n.configurable,enumerable:cr in r?r.enumerable:n.enumerable,writable:!1})}return ar(e,t,r)}:ar:function(e,t,r){if(nr(e),t=or(t),nr(r),tr)try{return ar(e,t,r)}catch(e){}if("get"in r||"set"in r)throw ir("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var lr=Jt,fr=G,dr=j?function(e,t,r){return lr.f(e,t,fr(1,r))}:function(e,t,r){return e[t]=r,e},yr={exports:{}},hr=ce,vr=Qe,gr=H(Function.toString);hr(vr.inspectSource)||(vr.inspectSource=function(e){return gr(e)});var mr,br,wr,Sr=vr.inspectSource,Ar=ce,xr=Sr,Rr=E.WeakMap,Pr=Ar(Rr)&&/native code/.test(xr(Rr)),Er=ze.exports,kr=ct,Or=Er("keys"),jr=function(e){return Or[e]||(Or[e]=kr(e))},Ir={},Nr=Pr,Tr=E,Fr=H,Cr=pe,_r=dr,Ur=nt,Wr=Qe,Dr=jr,Br=Ir,Gr="Object already initialized",Mr=Tr.TypeError,Lr=Tr.WeakMap;if(Nr||Wr.state){var qr=Wr.state||(Wr.state=new Lr),zr=Fr(qr.get),Vr=Fr(qr.has),Hr=Fr(qr.set);mr=function(e,t){if(Vr(qr,e))throw new Mr(Gr);return t.facade=e,Hr(qr,e,t),t},br=function(e){return zr(qr,e)||{}},wr=function(e){return Vr(qr,e)}}else{var Jr=Dr("state");Br[Jr]=!0,mr=function(e,t){if(Ur(e,Jr))throw new Mr(Gr);return t.facade=e,_r(e,Jr,t),t},br=function(e){return Ur(e,Jr)?e[Jr]:{}},wr=function(e){return Ur(e,Jr)}}var $r={set:mr,get:br,has:wr,enforce:function(e){return wr(e)?br(e):mr(e,{})},getterFor:function(e){return function(t){var r;if(!Cr(t)||(r=br(t)).type!==e)throw Mr("Incompatible receiver, "+e+" required");return r}}},Kr=j,Qr=nt,Xr=Function.prototype,Yr=Kr&&Object.getOwnPropertyDescriptor,Zr=Qr(Xr,"name"),en={EXISTS:Zr,PROPER:Zr&&"something"===function(){}.name,CONFIGURABLE:Zr&&(!Kr||Kr&&Yr(Xr,"name").configurable)},tn=E,rn=ce,nn=nt,on=dr,an=Je,un=Sr,cn=en.CONFIGURABLE,sn=$r.get,pn=$r.enforce,ln=String(String).split("String");(yr.exports=function(e,t,r,n){var o,i=!!n&&!!n.unsafe,a=!!n&&!!n.enumerable,u=!!n&&!!n.noTargetGet,c=n&&void 0!==n.name?n.name:t;rn(r)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!nn(r,"name")||cn&&r.name!==c)&&on(r,"name",c),(o=pn(r)).source||(o.source=ln.join("string"==typeof c?c:""))),e!==tn?(i?!u&&e[t]&&(a=!0):delete e[t],a?e[t]=r:on(e,t,r)):a?e[t]=r:an(t,r)})(Function.prototype,"toString",(function(){return rn(this)&&sn(this).source||un(this)}));var fn={},dn=Math.ceil,yn=Math.floor,hn=function(e){var t=+e;return t!=t||0===t?0:(t>0?yn:dn)(t)},vn=hn,gn=Math.max,mn=Math.min,bn=function(e,t){var r=vn(e);return r<0?gn(r+t,0):mn(r,t)},wn=hn,Sn=Math.min,An=function(e){return e>0?Sn(wn(e),9007199254740991):0},xn=An,Rn=function(e){return xn(e.length)},Pn=ue,En=bn,kn=Rn,On=function(e){return function(t,r,n){var o,i=Pn(t),a=kn(i),u=En(n,a);if(e&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===r)return e||u||0;return!e&&-1}},jn={includes:On(!0),indexOf:On(!1)},In=nt,Nn=ue,Tn=jn.indexOf,Fn=Ir,Cn=H([].push),_n=function(e,t){var r,n=Nn(e),o=0,i=[];for(r in n)!In(Fn,r)&&In(n,r)&&Cn(i,r);for(;t.length>o;)In(n,r=t[o++])&&(~Tn(i,r)||Cn(i,r));return i},Un=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Wn=_n,Dn=Un.concat("length","prototype");fn.f=Object.getOwnPropertyNames||function(e){return Wn(e,Dn)};var Bn={};Bn.f=Object.getOwnPropertySymbols;var Gn=ye,Mn=fn,Ln=Bn,qn=Zt,zn=H([].concat),Vn=Gn("Reflect","ownKeys")||function(e){var t=Mn.f(qn(e)),r=Ln.f;return r?zn(t,r(e)):t},Hn=nt,Jn=Vn,$n=k,Kn=Jt,Qn=O,Xn=ce,Yn=/#|\.prototype\./,Zn=function(e,t){var r=to[eo(e)];return r==no||r!=ro&&(Xn(t)?Qn(t):!!t)},eo=Zn.normalize=function(e){return String(e).replace(Yn,".").toLowerCase()},to=Zn.data={},ro=Zn.NATIVE="N",no=Zn.POLYFILL="P",oo=Zn,io=E,ao=k.f,uo=dr,co=yr.exports,so=Je,po=function(e,t,r){for(var n=Jn(t),o=Kn.f,i=$n.f,a=0;a<n.length;a++){var u=n[a];Hn(e,u)||r&&Hn(r,u)||o(e,u,i(t,u))}},lo=oo,fo=function(e,t){var r,n,i,a,u,c=e.target,s=e.global,p=e.stat;if(r=s?io:p?io[c]||so(c,{}):(io[c]||{}).prototype)for(n in t){if(a=t[n],i=e.noTargetGet?(u=ao(r,n))&&u.value:r[n],!lo(s?n:c+(p?".":"#")+n,e.forced)&&void 0!==i){if(o(a)==o(i))continue;po(a,i)}(e.sham||i&&i.sham)&&uo(a,"sham",!0),co(r,n,a,e)}},yo=Q,ho=Array.isArray||function(e){return"Array"==yo(e)},vo=Nt,go=Jt,mo=G,bo=function(e,t,r){var n=vo(t);n in e?go.f(e,n,mo(0,r)):e[n]=r},wo={};wo[bt("toStringTag")]="z";var So="[object z]"===String(wo),Ao=E,xo=So,Ro=ce,Po=Q,Eo=bt("toStringTag"),ko=Ao.Object,Oo="Arguments"==Po(function(){return arguments}()),jo=xo?Po:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=ko(e),Eo))?r:Oo?Po(t):"Object"==(n=Po(t))&&Ro(t.callee)?"Arguments":n},Io=H,No=O,To=ce,Fo=jo,Co=Sr,_o=function(){},Uo=[],Wo=ye("Reflect","construct"),Do=/^\s*(?:class|function)\b/,Bo=Io(Do.exec),Go=!Do.exec(_o),Mo=function(e){if(!To(e))return!1;try{return Wo(_o,Uo,e),!0}catch(e){return!1}},Lo=function(e){if(!To(e))return!1;switch(Fo(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Go||!!Bo(Do,Co(e))}catch(e){return!0}};Lo.sham=!0;var qo=!Wo||No((function(){var e;return Mo(Mo.call)||!Mo(Object)||!Mo((function(){e=!0}))||e}))?Lo:Mo,zo=E,Vo=ho,Ho=qo,Jo=pe,$o=bt("species"),Ko=zo.Array,Qo=function(e){var t;return Vo(e)&&(t=e.constructor,(Ho(t)&&(t===Ko||Vo(t.prototype))||Jo(t)&&null===(t=t[$o]))&&(t=void 0)),void 0===t?Ko:t},Xo=function(e,t){return new(Qo(e))(0===t?0:t)},Yo=O,Zo=Ae,ei=bt("species"),ti=function(e){return Zo>=51||!Yo((function(){var t=[];return(t.constructor={})[ei]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},ri=fo,ni=E,oi=O,ii=ho,ai=pe,ui=et,ci=Rn,si=bo,pi=Xo,li=ti,fi=Ae,di=bt("isConcatSpreadable"),yi=9007199254740991,hi="Maximum allowed index exceeded",vi=ni.TypeError,gi=fi>=51||!oi((function(){var e=[];return e[di]=!1,e.concat()[0]!==e})),mi=li("concat"),bi=function(e){if(!ai(e))return!1;var t=e[di];return void 0!==t?!!t:ii(e)};ri({target:"Array",proto:!0,forced:!gi||!mi},{concat:function(e){var t,r,n,o,i,a=ui(this),u=pi(a,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(bi(i=-1===t?a:arguments[t])){if(c+(o=ci(i))>yi)throw vi(hi);for(r=0;r<o;r++,c++)r in i&&si(u,c,i[r])}else{if(c>=yi)throw vi(hi);si(u,c++,i)}return u.length=c,u}});!function(e){var t=function(e){var t,r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new j(n||[]);return i._invoke=function(e,t,r){var n=f;return function(o,i){if(n===y)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return N()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=E(a,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=y;var c=l(e,t,r);if("normal"===c.type){if(n=r.done?h:d,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=h,r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=p;var f="suspendedStart",d="suspendedYield",y="executing",h="completed",v={};function g(){}function m(){}function b(){}var w={};w[a]=function(){return this};var S=Object.getPrototypeOf,A=S&&S(S(I([])));A&&A!==r&&n.call(A,a)&&(w=A);var x=b.prototype=g.prototype=Object.create(w);function R(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=l(e[i],e,a);if("throw"!==s.type){var p=s.arg,f=p.value;return f&&"object"===o(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){p.value=e,u(p)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var i;this._invoke=function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}}function E(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function I(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:N}}function N(){return{value:t,done:!0}}return m.prototype=x.constructor=b,b.constructor=m,m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},R(P.prototype),P.prototype[u]=function(){return this},e.AsyncIterator=P,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},R(x),s(x,c,"Generator"),x[a]=function(){return this},x.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=I,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var wi=j,Si=en.EXISTS,Ai=H,xi=Jt.f,Ri=Function.prototype,Pi=Ai(Ri.toString),Ei=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ki=Ai(Ei.exec);wi&&!Si&&xi(Ri,"name",{configurable:!0,get:function(){try{return ki(Ei,Pi(this))[1]}catch(e){return""}}});var Oi=E,ji=ce,Ii=Oi.String,Ni=Oi.TypeError,Ti=H,Fi=Zt,Ci=function(e){if("object"==o(e)||ji(e))return e;throw Ni("Can't set "+Ii(e)+" as a prototype")},_i=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Ti(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return Fi(r),Ci(n),t?e(r,n):r.__proto__=n,r}}():void 0);fo({target:"Object",stat:!0},{setPrototypeOf:_i});var Ui=function(e){l(r,e);var t=w(r);function r(e){var n;u(this,r);var o="This function is not supported in ".concat(e," environment");return n=t.call(this,o),Error.captureStackTrace&&Error.captureStackTrace(m(n),r),n.name="UnsupportedPlatformError",n.platform=e,Object.setPrototypeOf(m(n),r.prototype),n}return s(r)}(v(Error)),Wi=function(){var e=a(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":o(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){e.next=2;break}return e.abrupt("return",kintone.getRequestToken());case 2:if("object"!==("undefined"==typeof garoon?"undefined":o(garoon))||null===garoon||"function"!=typeof(null===(t=garoon.connect)||void 0===t||null===(r=t.kintone)||void 0===r?void 0:r.getRequestToken)){e.next=4;break}return e.abrupt("return",garoon.connect.kintone.getRequestToken());case 4:throw new Error("session authentication must specify a request token");case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Di=Object.freeze({__proto__:null,readFileFromPath:function(e){throw new Ui("Browser")},getRequestToken:Wi,getDefaultAuth:function(){return{type:"session"}},buildPlatformDependentConfig:function(){return{}},buildHeaders:function(){return{}},buildFormDataValue:function(e){return new Blob([e])},buildBaseUrl:function(e){if(e)return e;var t=location,r=t.host,n=t.protocol;return"".concat(n,"//").concat(r)},getVersion:function(){return"2.0.34"}}),Bi=We,Gi=I,Mi=H(H.bind),Li=function(e,t){return Bi(e),void 0===t?e:Gi?Mi(e,t):function(){return e.apply(t,arguments)}},qi=re,zi=et,Vi=Rn,Hi=Xo,Ji=H([].push),$i=function(e){var t=1==e,r=2==e,n=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(c,s,p,l){for(var f,d,y=zi(c),h=qi(y),v=Li(s,p),g=Vi(h),m=0,b=l||Hi,w=t?b(c,g):r||a?b(c,0):void 0;g>m;m++)if((u||m in h)&&(d=v(f=h[m],m,y),e))if(t)w[m]=d;else if(d)switch(e){case 3:return!0;case 5:return f;case 6:return m;case 2:Ji(w,f)}else switch(e){case 4:return!1;case 7:Ji(w,f)}return i?-1:n||o?o:w}},Ki={forEach:$i(0),map:$i(1),filter:$i(2),some:$i(3),every:$i(4),find:$i(5),findIndex:$i(6),filterReject:$i(7)},Qi=Ki.map;fo({target:"Array",proto:!0,forced:!ti("map")},{map:function(e){return Qi(this,e,arguments.length>1?arguments[1]:void 0)}});var Xi=function(e){var t=e.endpointName,r=e.guestSpaceId,n=e.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(t,".json")},Yi=["endpointName"],Zi=function(){function e(t,r){u(this,e),this.client=t,this.guestSpaceId=r,this.REQUESTS_LENGTH_LIMIT=20}return s(e,[{key:"send",value:function(e){var t=this,r=e.requests.map((function(e){if("endpointName"in e){var r=e.endpointName,o=g(e,Yi);return n({api:t.buildPathWithGuestSpaceId({endpointName:r})},o)}return e})),o=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(o,{requests:r})}},{key:"buildPathWithGuestSpaceId",value:function(e){return Xi(n(n({},e),{},{guestSpaceId:this.guestSpaceId}))}}]),e}(),ea=["preview"],ta=["preview"],ra=["preview"],na=["preview"],oa=["preview"],ia=["preview"],aa=["preview"],ua=["preview"],ca=["preview"],sa=["preview"],pa=["preview"],la=["preview"],fa=["preview"],da=["preview"],ya=function(){function e(t,r){u(this,e),this.client=t,this.guestSpaceId=r}var t;return s(e,[{key:"getFormFields",value:function(e){var t=e.preview,r=g(e,ea),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:t});return this.client.get(o,n({},r))}},{key:"addFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(t,e)}},{key:"updateFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(t,e)}},{key:"deleteFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(t,e)}},{key:"getFormLayout",value:function(e){var t=e.preview,r=g(e,ta),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:t});return this.client.get(o,n({},r))}},{key:"updateFormLayout",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(t,e)}},{key:"getViews",value:function(e){var t=e.preview,r=g(e,ra),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:t});return this.client.get(n,r)}},{key:"updateViews",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(t,e)}},{key:"getApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(t,e)}},{key:"getApps",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(t,e)}},{key:"addApp",value:(t=a(regeneratorRuntime.mark((function e(t){var r,o,i,a,u,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.name,o=t.space,i=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!o){e.next=9;break}return a=this.buildPathWithGuestSpaceId({endpointName:"space"}),e.next=6,this.client.get(a,{id:o});case 6:return u=e.sent,c=u.defaultThread,e.abrupt("return",this.client.post(i,n(n({},t),{},{thread:c})));case 9:return e.abrupt("return",this.client.post(i,{name:r}));case 10:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"getAppSettings",value:function(e){var t=e.preview,r=g(e,na),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:t});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(t,e)}},{key:"getProcessManagement",value:function(e){var t=e.preview,r=g(e,oa),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:t});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(t,e)}},{key:"getDeployStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(t,e)}},{key:"deployApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(t,e)}},{key:"getFieldAcl",value:function(e){var t=e.preview,r=g(e,ia),o=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:t});return this.client.get(o,n({},r))}},{key:"updateFieldAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppAcl",value:function(e){var t=e.preview,r=g(e,aa),o=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:t});return this.client.get(o,n({},r))}},{key:"updateAppAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(t,e)}},{key:"evaluateRecordsAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(t,e)}},{key:"getRecordAcl",value:function(e){var t=e.preview,r=g(e,ua),o=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:t});return this.client.get(o,n({},r))}},{key:"updateRecordAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppCustomize",value:function(e){var t=e.preview,r=g(e,ca),o=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:t});return this.client.get(o,n({},r))}},{key:"updateAppCustomize",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(t,e)}},{key:"getGeneralNotifications",value:function(e){var t=e.preview,r=g(e,sa),o=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:t});return this.client.get(o,n({},r))}},{key:"updateGeneralNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(t,e)}},{key:"getPerRecordNotifications",value:function(e){var t=e.preview,r=g(e,pa),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:t});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(t,e)}},{key:"getReminderNotifications",value:function(e){var t=e.preview,r=g(e,la),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:t});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(t,e)}},{key:"getReports",value:function(e){var t=e.preview,r=g(e,fa),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:t});return this.client.get(n,r)}},{key:"updateReports",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(t,e)}},{key:"getAppActions",value:function(e){var t=e.preview,r=g(e,da),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:t});return this.client.get(n,r)}},{key:"updateAppActions",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(t,e)}},{key:"buildPathWithGuestSpaceId",value:function(e){return Xi(n(n({},e),{},{guestSpaceId:this.guestSpaceId}))}}]),e}(),ha=_n,va=Un,ga=Object.keys||function(e){return ha(e,va)},ma=j,ba=H,wa=F,Sa=O,Aa=ga,xa=Bn,Ra=C,Pa=et,Ea=re,ka=Object.assign,Oa=Object.defineProperty,ja=ba([].concat),Ia=!ka||Sa((function(){if(ma&&1!==ka({b:1},ka(Oa({},"a",{enumerable:!0,get:function(){Oa(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=ka({},e)[r]||Aa(ka({},t)).join("")!=n}))?function(e,t){for(var r=Pa(e),n=arguments.length,o=1,i=xa.f,a=Ra.f;n>o;)for(var u,c=Ea(arguments[o++]),s=i?ja(Aa(c),i(c)):Aa(c),p=s.length,l=0;p>l;)u=s[l++],ma&&!wa(a,c,u)||(r[u]=c[u]);return r}:ka;fo({target:"Object",stat:!0,forced:Object.assign!==Ia},{assign:Ia});var Na=jo,Ta=E.String,Fa=function(e){if("Symbol"===Na(e))throw TypeError("Cannot convert a Symbol value to a string");return Ta(e)},Ca=Zt,_a=function(){var e=Ca(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Ua=O,Wa=E.RegExp,Da=Ua((function(){var e=Wa("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Ba=Da||Ua((function(){return!Wa("a","y").sticky})),Ga={BROKEN_CARET:Da||Ua((function(){var e=Wa("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:Ba,UNSUPPORTED_Y:Da},Ma={},La=j,qa=$t,za=Jt,Va=Zt,Ha=ue,Ja=ga;Ma.f=La&&!qa?Object.defineProperties:function(e,t){Va(e);for(var r,n=Ha(t),o=Ja(t),i=o.length,a=0;i>a;)za.f(e,r=o[a++],n[r]);return e};var $a,Ka=ye("document","documentElement"),Qa=Zt,Xa=Ma,Ya=Un,Za=Ir,eu=Ka,tu=_t,ru=jr("IE_PROTO"),nu=function(){},ou=function(e){return"<script>"+e+"</"+"script>"},iu=function(e){e.write(ou("")),e.close();var t=e.parentWindow.Object;return e=null,t},au=function(){try{$a=new ActiveXObject("htmlfile")}catch(e){}var e,t;au="undefined"!=typeof document?document.domain&&$a?iu($a):((t=tu("iframe")).style.display="none",eu.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ou("document.F=Object")),e.close(),e.F):iu($a);for(var r=Ya.length;r--;)delete au.prototype[Ya[r]];return au()};Za[ru]=!0;var uu,cu,su=Object.create||function(e,t){var r;return null!==e?(nu.prototype=Qa(e),r=new nu,nu.prototype=null,r[ru]=e):r=au(),void 0===t?r:Xa.f(r,t)},pu=O,lu=E.RegExp,fu=pu((function(){var e=lu(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),du=O,yu=E.RegExp,hu=du((function(){var e=yu("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),vu=F,gu=H,mu=Fa,bu=_a,wu=Ga,Su=ze.exports,Au=su,xu=$r.get,Ru=fu,Pu=hu,Eu=Su("native-string-replace",String.prototype.replace),ku=RegExp.prototype.exec,Ou=ku,ju=gu("".charAt),Iu=gu("".indexOf),Nu=gu("".replace),Tu=gu("".slice),Fu=(cu=/b*/g,vu(ku,uu=/a/,"a"),vu(ku,cu,"a"),0!==uu.lastIndex||0!==cu.lastIndex),Cu=wu.BROKEN_CARET,_u=void 0!==/()??/.exec("")[1];(Fu||_u||Cu||Ru||Pu)&&(Ou=function(e){var t,r,n,o,i,a,u,c=this,s=xu(c),p=mu(e),l=s.raw;if(l)return l.lastIndex=c.lastIndex,t=vu(Ou,l,p),c.lastIndex=l.lastIndex,t;var f=s.groups,d=Cu&&c.sticky,y=vu(bu,c),h=c.source,v=0,g=p;if(d&&(y=Nu(y,"y",""),-1===Iu(y,"g")&&(y+="g"),g=Tu(p,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==ju(p,c.lastIndex-1))&&(h="(?: "+h+")",g=" "+g,v++),r=new RegExp("^(?:"+h+")",y)),_u&&(r=new RegExp("^"+h+"$(?!\\s)",y)),Fu&&(n=c.lastIndex),o=vu(ku,d?r:c,g),d?o?(o.input=Tu(o.input,v),o[0]=Tu(o[0],v),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:Fu&&o&&(c.lastIndex=c.global?o.index+o[0].length:n),_u&&o&&o.length>1&&vu(Eu,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=Au(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var Uu=Ou;fo({target:"RegExp",proto:!0,forced:/./.exec!==Uu},{exec:Uu});var Wu=H,Du=yr.exports,Bu=Uu,Gu=O,Mu=bt,Lu=dr,qu=Mu("species"),zu=RegExp.prototype,Vu=H,Hu=hn,Ju=Fa,$u=oe,Ku=Vu("".charAt),Qu=Vu("".charCodeAt),Xu=Vu("".slice),Yu=function(e){return function(t,r){var n,o,i=Ju($u(t)),a=Hu(r),u=i.length;return a<0||a>=u?e?"":void 0:(n=Qu(i,a))<55296||n>56319||a+1===u||(o=Qu(i,a+1))<56320||o>57343?e?Ku(i,a):n:e?Xu(i,a,a+2):o-56320+(n-55296<<10)+65536}},Zu={codeAt:Yu(!1),charAt:Yu(!0)}.charAt,ec=F,tc=Zt,rc=ce,nc=Q,oc=Uu,ic=E.TypeError,ac=F,uc=Zt,cc=An,sc=Fa,pc=oe,lc=Be,fc=function(e,t,r){return t+(r?Zu(e,t).length:1)},dc=function(e,t){var r=e.exec;if(rc(r)){var n=ec(r,e,t);return null!==n&&tc(n),n}if("RegExp"===nc(e))return ec(oc,e,t);throw ic("RegExp#exec called on incompatible receiver")};(function(e,t,r,n){var o=Mu(e),i=!Gu((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!Gu((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[qu]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return t=!0,null},r[o](""),!t}));if(!i||!a||r){var u=Wu(/./[o]),c=t(o,""[e],(function(e,t,r,n,o){var a=Wu(e),c=t.exec;return c===Bu||c===zu.exec?i&&!o?{done:!0,value:u(t,r,n)}:{done:!0,value:a(r,t,n)}:{done:!1}}));Du(String.prototype,e,c[0]),Du(zu,o,c[1])}n&&Lu(zu[o],"sham",!0)})("match",(function(e,t,r){return[function(t){var r=pc(this),n=null==t?void 0:lc(t,e);return n?ac(n,t,r):new RegExp(t)[e](sc(r))},function(e){var n=uc(this),o=sc(e),i=r(t,n,o);if(i.done)return i.value;if(!n.global)return dc(n,o);var a=n.unicode;n.lastIndex=0;for(var u,c=[],s=0;null!==(u=dc(n,o));){var p=sc(u[0]);c[s]=p,""===p&&(n.lastIndex=fc(o,cc(n.lastIndex),a)),s++}return 0===s?null:c}]}));var yc=ce,hc=pe,vc=_i,gc=H(1..valueOf),mc=oe,bc=Fa,wc=H("".replace),Sc="[\t\n\v\f\r \u2028\u2029\ufeff]",Ac=RegExp("^"+Sc+Sc+"*"),xc=RegExp(Sc+Sc+"*$"),Rc=function(e){return function(t){var r=bc(mc(t));return 1&e&&(r=wc(r,Ac,"")),2&e&&(r=wc(r,xc,"")),r}},Pc={start:Rc(1),end:Rc(2),trim:Rc(3)},Ec=j,kc=E,Oc=H,jc=oo,Ic=yr.exports,Nc=nt,Tc=function(e,t,r){var n,o;return vc&&yc(n=t.constructor)&&n!==r&&hc(o=n.prototype)&&o!==r.prototype&&vc(e,o),e},Fc=he,Cc=Te,_c=Ot,Uc=O,Wc=fn.f,Dc=k.f,Bc=Jt.f,Gc=gc,Mc=Pc.trim,Lc="Number",qc=kc.Number,zc=qc.prototype,Vc=kc.TypeError,Hc=Oc("".slice),Jc=Oc("".charCodeAt),$c=function(e){var t=_c(e,"number");return"bigint"==typeof t?t:Kc(t)},Kc=function(e){var t,r,n,o,i,a,u,c,s=_c(e,"number");if(Cc(s))throw Vc("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=Mc(s),43===(t=Jc(s,0))||45===t){if(88===(r=Jc(s,2))||120===r)return NaN}else if(48===t){switch(Jc(s,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(a=(i=Hc(s,2)).length,u=0;u<a;u++)if((c=Jc(i,u))<48||c>o)return NaN;return parseInt(i,n)}return+s};if(jc(Lc,!qc(" 0o1")||!qc("0b1")||qc("+0x1"))){for(var Qc,Xc=function(e){var t=arguments.length<1?0:qc($c(e)),r=this;return Fc(zc,r)&&Uc((function(){Gc(r)}))?Tc(Object(t),r,Xc):t},Yc=Ec?Wc(qc):"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(","),Zc=0;Yc.length>Zc;Zc++)Nc(qc,Qc=Yc[Zc])&&!Nc(Xc,Qc)&&Bc(Xc,Qc,Dc(qc,Qc));Xc.prototype=zc,zc.constructor=Xc,Ic(kc,Lc,Xc)}var es=O,ts=function(e,t){var r=[][e];return!!r&&es((function(){r.call(null,t||function(){throw 1},1)}))},rs=fo,ns=jn.indexOf,os=ts,is=H([].indexOf),as=!!is&&1/is([1],1,-0)<0,us=os("indexOf");rs({target:"Array",proto:!0,forced:as||!us},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return as?is(this,e,t)||0:ns(this,e,t)}});var cs=Ki.every;fo({target:"Array",proto:!0,forced:!ts("every")},{every:function(e){return cs(this,e,arguments.length>1?arguments[1]:void 0)}});var ss=jo,ps=So?{}.toString:function(){return"[object "+ss(this)+"]"},ls=So,fs=yr.exports,ds=ps;ls||fs(Object.prototype,"toString",ds,{unsafe:!0}),fo({target:"Array",stat:!0},{isArray:ho});var ys=H([].slice),hs=fo,vs=E,gs=ho,ms=qo,bs=pe,ws=bn,Ss=Rn,As=ue,xs=bo,Rs=bt,Ps=ys,Es=ti("slice"),ks=Rs("species"),Os=vs.Array,js=Math.max;hs({target:"Array",proto:!0,forced:!Es},{slice:function(e,t){var r,n,o,i=As(this),a=Ss(i),u=ws(e,a),c=ws(void 0===t?a:t,a);if(gs(i)&&(r=i.constructor,(ms(r)&&(r===Os||gs(r.prototype))||bs(r)&&null===(r=r[ks]))&&(r=void 0),r===Os||void 0===r))return Ps(i,u,c);for(n=new(void 0===r?Os:r)(js(c-u,0)),o=0;u<c;u++,o++)u in i&&xs(n,o,i[u]);return n.length=o,n}});var Is=We,Ns=et,Ts=re,Fs=Rn,Cs=E.TypeError,_s=function(e){return function(t,r,n,o){Is(r);var i=Ns(t),a=Ts(i),u=Fs(i),c=e?u-1:0,s=e?-1:1;if(n<2)for(;;){if(c in a){o=a[c],c+=s;break}if(c+=s,e?c<0:u<=c)throw Cs("Reduce of empty array with no initial value")}for(;e?c>=0:u>c;c+=s)c in a&&(o=r(o,a[c],c,i));return o}},Us={left:_s(!1),right:_s(!0)},Ws="process"==Q(E.process),Ds=Us.left,Bs=Ae,Gs=Ws;fo({target:"Array",proto:!0,forced:!ts("reduce")||!Gs&&Bs>79&&Bs<83},{reduce:function(e){var t=arguments.length;return Ds(this,e,t,t>1?arguments[1]:void 0)}});var Ms=et,Ls=ga;fo({target:"Object",stat:!0,forced:O((function(){Ls(1)}))},{keys:function(e){return Ls(Ms(e))}});var qs=function(e){l(r,e);var t=w(r);function r(e,n,o,i,a){var c;u(this,r);var s=o-n.length,p=r.extractErrorIndex(s,i,a),l=r.buildErrorMessage(s,o,p);return(c=t.call(this,l)).name="KintoneAllRecordsError",c.processedRecordsResult=e,c.unprocessedRecords=n,c.error=i,c.errorIndex=p,c.message=l,Object.setPrototypeOf(m(c),r.prototype),c}return s(r,null,[{key:"parseErrorIndex",value:function(e){var t=Object.keys(e)[0].match(/records\[(\d+)\]/);return t?Number(t[1]):null}},{key:"extractErrorIndex",value:function(e,t,n){if(void 0!==t.bulkRequestIndex&&t.errors){var o=r.parseErrorIndex(t.errors);if(null!==o)return e+t.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(e,t,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(e,"/").concat(t," records are processed successfully")}}]),r}(v(Error)),zs=["condition","orderBy","withCursor"],Vs=["fields"],Hs=["condition"],Js=["condition","orderBy"],$s=function(){function e(t,r,n){u(this,e),this.client=t,this.bulkRequestClient=r,this.guestSpaceId=n,this.didWarnMaximumOffsetValue=!1}var t,r,o,i,c,l,f,d,y,h,v,m,b,w,A,x,R,P;return s(e,[{key:"getRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(t,e)}},{key:"addRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(t,e)}},{key:"updateRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(t,e)}},{key:"upsertRecord",value:(P=a(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,u,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.app,n=t.updateKey,o=t.record,e.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(i=e.sent,!((a=i.records).length>0)){e.next=13;break}if("__ID__"!==a[0].$id.type){e.next=12;break}return e.next=9,this.updateRecord(t);case 9:return u=e.sent,c=u.revision,e.abrupt("return",{id:a[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 e.abrupt("return",this.addRecord({app:r,record:Object.assign({},o,p({},n.field,{value:n.value}))}));case 14:case"end":return e.stop()}}),e,this)}))),function(e){return P.apply(this,arguments)})},{key:"getRecords",value:(R=a(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.next=3,this.client.get(r,t);case 3:return n=e.sent,this.warnMaximumOffsetValueIfNeeded(t.query),e.abrupt("return",n);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return R.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(e){if(e){var t=e.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&t&&Number(t[1])>1e4&&(this.didWarnMaximumOffsetValue=!0,console.warn("Warning: The maximum offset value will be limited to 10,000 in the future. Please use `createCursor()` and `getRecordsByCursor()` instead."))}}},{key:"addRecords",value:(x=a(regeneratorRuntime.mark((function e(t){var r,n,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.next=3,this.client.post(r,t);case 3:return n=e.sent,o=n.ids,i=n.revisions,e.abrupt("return",{ids:o,revisions:i,records:o.map((function(e,t){return{id:e,revision:i[t]}}))});case 7:case"end":return e.stop()}}),e,this)}))),function(e){return x.apply(this,arguments)})},{key:"updateRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(t,e)}},{key:"deleteRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(t,e)}},{key:"createCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(t,e)}},{key:"getRecordsByCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(t,e)}},{key:"deleteCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(t,e)}},{key:"getAllRecords",value:(A=a(regeneratorRuntime.mark((function e(t){var r,o,i,a,u,c,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.condition,o=t.orderBy,i=t.withCursor,a=void 0===i||i,u=g(t,zs),o){e.next=3;break}return e.abrupt("return",this.getAllRecordsWithId(n(n({},u),{},{condition:r})));case 3:if(!a){e.next=7;break}return c=r?"".concat(r," "):"",s="".concat(c).concat(o?"order by ".concat(o):""),e.abrupt("return",this.getAllRecordsWithCursor(n(n({},u),{},{query:s})));case 7:return e.abrupt("return",this.getAllRecordsWithOffset(n(n({},u),{},{orderBy:o,condition:r})));case 8:case"end":return e.stop()}}),e,this)}))),function(e){return A.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(w=a(regeneratorRuntime.mark((function e(t){var r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.fields,o=g(t,Vs),(i=r)&&i.length>0&&-1===i.indexOf("$id")&&(i=[].concat(S(i),["$id"])),e.abrupt("return",this.getAllRecordsRecursiveWithId(n(n({},o),{},{fields:i}),"0",[]));case 4:case"end":return e.stop()}}),e,this)}))),function(e){return w.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithId",value:(b=a(regeneratorRuntime.mark((function e(t,r,o){var i,a,u,c,s,p,l,f,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=500,a=t.condition,u=g(t,Hs),c=a?"(".concat(a,") and "):"",s="".concat(c,"$id > ").concat(r," order by $id asc limit ").concat(i),e.next=6,this.getRecords(n(n({},u),{},{query:s}));case 6:if(p=e.sent,l=o.concat(p.records),!(p.records.length<i)){e.next=10;break}return e.abrupt("return",l);case 10:if("__ID__"!==(f=p.records[p.records.length-1]).$id.type){e.next=14;break}return d=f.$id.value,e.abrupt("return",this.getAllRecordsRecursiveWithId(t,d,l));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 e.stop()}}),e,this)}))),function(e,t,r){return b.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(m=a(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.getAllRecordsRecursiveWithOffset(t,0,[]));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return m.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithOffset",value:(v=a(regeneratorRuntime.mark((function e(t,r,o){var i,a,u,c,s,p,l,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=500,a=t.condition,u=t.orderBy,c=g(t,Js),s=a?"".concat(a," "):"",p="".concat(s).concat(u?"order by ".concat(u," "):"","limit ").concat(i," offset ").concat(r),e.next=6,this.getRecords(n(n({},c),{},{query:p}));case 6:if(l=e.sent,f=o.concat(l.records),!(l.records.length<i)){e.next=10;break}return e.abrupt("return",f);case 10:return e.abrupt("return",this.getAllRecordsRecursiveWithOffset(t,r+i,f));case 11:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return v.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(h=a(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.createCursor(t);case 2:return r=e.sent,n=r.id,e.prev=4,e.next=7,this.getAllRecordsRecursiveByCursor(n,[]);case 7:return e.abrupt("return",e.sent);case 10:return e.prev=10,e.t0=e.catch(4),e.next=14,this.deleteCursor({id:n});case 14:throw e.t0;case 15:case"end":return e.stop()}}),e,this,[[4,10]])}))),function(e){return h.apply(this,arguments)})},{key:"getAllRecordsRecursiveByCursor",value:(y=a(regeneratorRuntime.mark((function e(t,r){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getRecordsByCursor({id:t});case 2:if(n=e.sent,o=r.concat(n.records),!n.next){e.next=6;break}return e.abrupt("return",this.getAllRecordsRecursiveByCursor(t,o));case 6:return e.abrupt("return",o);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t){return y.apply(this,arguments)})},{key:"addAllRecords",value:(d=a(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.records.every((function(e){return!Array.isArray(e)&&e instanceof Object}))){e.next=2;break}throw new Error("the `records` parameter must be an array of object.");case 2:return e.abrupt("return",this.addAllRecordsRecursive(t,t.records.length,[]));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return d.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(f=a(regeneratorRuntime.mark((function e(t,r,n){var o,i,a,u,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.records,0!==(u=a.slice(0,o)).length){e.next=5;break}return e.abrupt("return",{records:n});case 5:return e.prev=5,e.next=8,this.addAllRecordsWithBulkRequest({app:i,records:u});case 8:c=e.sent,e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(5),new qs({records:n},a,r,e.t0,100);case 14:return e.abrupt("return",this.addAllRecordsRecursive({app:i,records:a.slice(o)},r,n.concat(c)));case 15:case"end":return e.stop()}}),e,this,[[5,11]])}))),function(e,t,r){return f.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(l=a(regeneratorRuntime.mark((function e(t){var r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map((function(e){return{method:"POST",endpointName:"records",payload:{app:t.app,records:e}}})),e.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=e.sent.results,e.abrupt("return",o.map((function(e){var t=e.ids,r=e.revisions;return t.map((function(e,t){return{id:e,revision:r[t]}}))})).reduce((function(e,t){return e.concat(t)}),[]));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return l.apply(this,arguments)})},{key:"updateAllRecords",value:(c=a(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.updateAllRecordsRecursive(t,t.records.length,[]));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(i=a(regeneratorRuntime.mark((function e(t,r,n){var o,i,a,u,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.records,0!==(u=a.slice(0,o)).length){e.next=5;break}return e.abrupt("return",{records:n});case 5:return e.prev=5,e.next=8,this.updateAllRecordsWithBulkRequest({app:i,records:u});case 8:c=e.sent,e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(5),new qs({records:n},a,r,e.t0,100);case 14:return e.abrupt("return",this.updateAllRecordsRecursive({app:i,records:a.slice(o)},r,n.concat(c)));case 15:case"end":return e.stop()}}),e,this,[[5,11]])}))),function(e,t,r){return i.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(o=a(regeneratorRuntime.mark((function e(t){var r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map((function(e){return{method:"PUT",endpointName:"records",payload:{app:t.app,records:e}}})),e.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=e.sent.results,e.abrupt("return",o.map((function(e){return e.records})).reduce((function(e,t){return e.concat(t)}),[]));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"deleteAllRecords",value:function(e){return this.deleteAllRecordsRecursive(e,e.records.length)}},{key:"deleteAllRecordsRecursive",value:(r=a(regeneratorRuntime.mark((function e(t,r){var n,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,o=t.app,i=t.records,0!==(a=i.slice(0,n)).length){e.next=5;break}return e.abrupt("return",{});case 5:return e.prev=5,e.next=8,this.deleteAllRecordsWithBulkRequest({app:o,records:a});case 8:e.next=13;break;case 10:throw e.prev=10,e.t0=e.catch(5),new qs({},i,r,e.t0,100);case 13:return e.abrupt("return",this.deleteAllRecordsRecursive({app:o,records:i.slice(n)},r));case 14:case"end":return e.stop()}}),e,this,[[5,10]])}))),function(e,t){return r.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(t=a(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map((function(e){return{method:"DELETE",endpointName:"records",payload:{app:t.app,ids:e.map((function(e){return e.id})),revisions:e.map((function(e){return e.revision}))}}})),e.next=4,this.bulkRequestClient.send({requests:n});case 4:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(e,t,r){var n=r.slice(0,e);return 0===n.length?t:this.separateArrayRecursive(e,[].concat(S(t),[n]),r.slice(e))}},{key:"addRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(t,e)}},{key:"deleteRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(t,e)}},{key:"getRecordComments",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(t,e)}},{key:"updateRecordAssignees",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(t,e)}},{key:"updateRecordStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(t,e)}},{key:"updateRecordsStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(t,e)}},{key:"buildPathWithGuestSpaceId",value:function(e){return Xi(n(n({},e),{},{guestSpaceId:this.guestSpaceId}))}}]),e}(),Ks="object"==("undefined"==typeof self?"undefined":o(self))?self.FormData:window.FormData,Qs=function(){function e(t,r){u(this,e),this.client=t,this.guestSpaceId=r}var r;return s(e,[{key:"uploadFile",value:(r=a(regeneratorRuntime.mark((function e(r){var n,o,i,a,u,c,s,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),o=new Ks,!("path"in r.file)){e.next=19;break}return e.prev=3,e.next=6,t.readFileFromPath(r.file.path);case 6:i=e.sent,a=i.name,u=i.data,o.append("file",u,a),e.next=17;break;case 12:if(e.prev=12,e.t0=e.catch(3),!(e.t0 instanceof Ui)){e.next=16;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(e.t0.platform," environment."));case 16:throw e.t0;case 17:e.next=21;break;case 19:c=r.file,s=c.name,p=c.data,o.append("file",t.buildFormDataValue(p),s);case 21:return e.abrupt("return",this.client.postData(n,o));case 22:case"end":return e.stop()}}),e,this,[[3,12]])}))),function(e){return r.apply(this,arguments)})},{key:"downloadFile",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(t,e)}},{key:"buildPathWithGuestSpaceId",value:function(e){return Xi(n(n({},e),{},{guestSpaceId:this.guestSpaceId}))}}]),e}(),Xs={exports:{}},Ys=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}},Zs=Ys,ep=Object.prototype.toString;function tp(e){return"[object Array]"===ep.call(e)}function rp(e){return void 0===e}function np(e){return null!==e&&"object"===o(e)}function op(e){if("[object Object]"!==ep.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function ip(e){return"[object Function]"===ep.call(e)}function ap(e,t){if(null!=e)if("object"!==o(e)&&(e=[e]),tp(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var up={isArray:tp,isArrayBuffer:function(e){return"[object ArrayBuffer]"===ep.call(e)},isBuffer:function(e){return null!==e&&!rp(e)&&null!==e.constructor&&!rp(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:np,isPlainObject:op,isUndefined:rp,isDate:function(e){return"[object Date]"===ep.call(e)},isFile:function(e){return"[object File]"===ep.call(e)},isBlob:function(e){return"[object Blob]"===ep.call(e)},isFunction:ip,isStream:function(e){return np(e)&&ip(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:ap,merge:function e(){var t={};function r(r,n){op(t[n])&&op(r)?t[n]=e(t[n],r):op(r)?t[n]=e({},r):tp(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)ap(arguments[n],r);return t},extend:function(e,t,r){return ap(t,(function(t,n){e[n]=r&&"function"==typeof t?Zs(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}},cp=up;function sp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var pp=function(e,t,r){if(!t)return e;var n;if(r)n=r(t);else if(cp.isURLSearchParams(t))n=t.toString();else{var o=[];cp.forEach(t,(function(e,t){null!=e&&(cp.isArray(e)?t+="[]":e=[e],cp.forEach(e,(function(e){cp.isDate(e)?e=e.toISOString():cp.isObject(e)&&(e=JSON.stringify(e)),o.push(sp(t)+"="+sp(e))})))})),n=o.join("&")}if(n){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e},lp=up;function fp(){this.handlers=[]}fp.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},fp.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},fp.prototype.forEach=function(e){lp.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var dp=fp,yp="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function hp(){throw new Error("setTimeout has not been defined")}function vp(){throw new Error("clearTimeout has not been defined")}var gp=hp,mp=vp;function bp(e){if(gp===setTimeout)return setTimeout(e,0);if((gp===hp||!gp)&&setTimeout)return gp=setTimeout,setTimeout(e,0);try{return gp(e,0)}catch(t){try{return gp.call(null,e,0)}catch(t){return gp.call(this,e,0)}}}"function"==typeof yp.setTimeout&&(gp=setTimeout),"function"==typeof yp.clearTimeout&&(mp=clearTimeout);var wp,Sp=[],Ap=!1,xp=-1;function Rp(){Ap&&wp&&(Ap=!1,wp.length?Sp=wp.concat(Sp):xp=-1,Sp.length&&Pp())}function Pp(){if(!Ap){var e=bp(Rp);Ap=!0;for(var t=Sp.length;t;){for(wp=Sp,Sp=[];++xp<t;)wp&&wp[xp].run();xp=-1,t=Sp.length}wp=null,Ap=!1,function(e){if(mp===clearTimeout)return clearTimeout(e);if((mp===vp||!mp)&&clearTimeout)return mp=clearTimeout,clearTimeout(e);try{mp(e)}catch(t){try{return mp.call(null,e)}catch(t){return mp.call(this,e)}}}(e)}}function Ep(e,t){this.fun=e,this.array=t}Ep.prototype.run=function(){this.fun.apply(null,this.array)};function kp(){}var Op=kp,jp=kp,Ip=kp,Np=kp,Tp=kp,Fp=kp,Cp=kp;var _p=yp.performance||{},Up=_p.now||_p.mozNow||_p.msNow||_p.oNow||_p.webkitNow||function(){return(new Date).getTime()};var Wp=new Date;var Dp={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Sp.push(new Ep(e,t)),1!==Sp.length||Ap||bp(Pp)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Op,addListener:jp,once:Ip,off:Np,removeListener:Tp,removeAllListeners:Fp,emit:Cp,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Up.call(_p),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Wp)/1e3}},Bp=up,Gp=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.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}},e},Mp=Gp,Lp=function(e,t,r,n,o){var i=new Error(e);return Mp(i,t,r,n,o)},qp=Lp,zp=up,Vp=zp.isStandardBrowserEnv()?{write:function(e,t,r,n,o,i){var a=[];a.push(e+"="+encodeURIComponent(t)),zp.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),zp.isString(n)&&a.push("path="+n),zp.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},Hp=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)},Jp=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e},$p=up,Kp=["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"],Qp=up,Xp=Qp.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){var r=Qp.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0};function Yp(e){this.message=e}Yp.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},Yp.prototype.__CANCEL__=!0;var Zp=Yp,el=up,tl=function(e,t,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(qp("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)},rl=Vp,nl=pp,ol=function(e,t){return e&&!Hp(t)?Jp(e,t):t},il=function(e){var t,r,n,o={};return e?($p.forEach(e.split("\n"),(function(e){if(n=e.indexOf(":"),t=$p.trim(e.substr(0,n)).toLowerCase(),r=$p.trim(e.substr(n+1)),t){if(o[t]&&Kp.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([r]):o[t]?o[t]+", "+r:r}})),o):o},al=Xp,ul=Lp,cl=ml,sl=Zp,pl=function(e){return new Promise((function(t,r){var n,o=e.data,i=e.headers,a=e.responseType;function u(){e.cancelToken&&e.cancelToken.unsubscribe(n),e.signal&&e.signal.removeEventListener("abort",n)}el.isFormData(o)&&delete i["Content-Type"];var c=new XMLHttpRequest;if(e.auth){var s=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.Authorization="Basic "+btoa(s+":"+p)}var l=ol(e.baseURL,e.url);function f(){if(c){var n="getAllResponseHeaders"in c?il(c.getAllResponseHeaders()):null,o={data:a&&"text"!==a&&"json"!==a?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:n,config:e,request:c};tl((function(e){t(e),u()}),(function(e){r(e),u()}),o),c=null}}if(c.open(e.method.toUpperCase(),nl(l,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(f)},c.onabort=function(){c&&(r(ul("Request aborted",e,"ECONNABORTED",c)),c=null)},c.onerror=function(){r(ul("Network Error",e,null,c)),c=null},c.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||cl.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(ul(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",c)),c=null},el.isStandardBrowserEnv()){var d=(e.withCredentials||al(l))&&e.xsrfCookieName?rl.read(e.xsrfCookieName):void 0;d&&(i[e.xsrfHeaderName]=d)}"setRequestHeader"in c&&el.forEach(i,(function(e,t){void 0===o&&"content-type"===t.toLowerCase()?delete i[t]:c.setRequestHeader(t,e)})),el.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),a&&"json"!==a&&(c.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&c.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(n=function(e){c&&(r(!e||e&&e.type?new sl("canceled"):e),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(n),e.signal&&(e.signal.aborted?n():e.signal.addEventListener("abort",n))),o||(o=null),c.send(o)}))},ll=up,fl=function(e,t){Bp.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))},dl=Gp,yl={"Content-Type":"application/x-www-form-urlencoded"};function hl(e,t){!ll.isUndefined(e)&&ll.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var vl,gl={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==Dp&&"[object process]"===Object.prototype.toString.call(Dp))&&(vl=pl),vl),transformRequest:[function(e,t){return fl(t,"Accept"),fl(t,"Content-Type"),ll.isFormData(e)||ll.isArrayBuffer(e)||ll.isBuffer(e)||ll.isStream(e)||ll.isFile(e)||ll.isBlob(e)?e:ll.isArrayBufferView(e)?e.buffer:ll.isURLSearchParams(e)?(hl(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):ll.isObject(e)||t&&"application/json"===t["Content-Type"]?(hl(t,"application/json"),function(e,t,r){if(ll.isString(e))try{return(t||JSON.parse)(e),ll.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||gl.transitional,r=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,o=!r&&"json"===this.responseType;if(o||n&&ll.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw dl(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ll.forEach(["delete","get","head"],(function(e){gl.headers[e]={}})),ll.forEach(["post","put","patch"],(function(e){gl.headers[e]=ll.merge(yl)}));var ml=gl,bl=up,wl=ml,Sl=function(e){return!(!e||!e.__CANCEL__)},Al=up,xl=function(e,t,r){var n=this||wl;return bl.forEach(r,(function(r){e=r.call(n,e,t)})),e},Rl=Sl,Pl=ml,El=Zp;function kl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new El("canceled")}var Ol=up,jl=function(e,t){t=t||{};var r={};function n(e,t){return Ol.isPlainObject(e)&&Ol.isPlainObject(t)?Ol.merge(e,t):Ol.isPlainObject(t)?Ol.merge({},t):Ol.isArray(t)?t.slice():t}function o(r){return Ol.isUndefined(t[r])?Ol.isUndefined(e[r])?void 0:n(void 0,e[r]):n(e[r],t[r])}function i(e){if(!Ol.isUndefined(t[e]))return n(void 0,t[e])}function a(r){return Ol.isUndefined(t[r])?Ol.isUndefined(e[r])?void 0:n(void 0,e[r]):n(void 0,t[r])}function u(r){return r in t?n(e[r],t[r]):r in e?n(void 0,e[r]):void 0}var c={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,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return Ol.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,n=t(e);Ol.isUndefined(n)&&t!==u||(r[e]=n)})),r},Il="0.24.0",Nl=Il,Tl={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Tl[e]=function(r){return o(r)===e||"a"+(t<1?"n ":" ")+e}}));var Fl={};Tl.transitional=function(e,t,r){function n(e,t){return"[Axios v"+Nl+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,o,i){if(!1===e)throw new Error(n(o," has been removed"+(t?" in "+t:"")));return t&&!Fl[o]&&(Fl[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}};var Cl=up,_l=pp,Ul=dp,Wl=function(e){return kl(e),e.headers=e.headers||{},e.data=xl.call(e,e.data,e.headers,e.transformRequest),e.headers=Al.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Al.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||Pl.adapter)(e).then((function(t){return kl(e),t.data=xl.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return Rl(t)||(kl(e),t&&t.response&&(t.response.data=xl.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},Dl=jl,Bl={assertOptions:function(e,t,r){if("object"!==o(e))throw new TypeError("options must be an object");for(var n=Object.keys(e),i=n.length;i-- >0;){var a=n[i],u=t[a];if(u){var c=e[a],s=void 0===c||u(c,a,e);if(!0!==s)throw new TypeError("option "+a+" must be "+s)}else if(!0!==r)throw Error("Unknown option "+a)}},validators:Tl},Gl=Bl.validators;function Ml(e){this.defaults=e,this.interceptors={request:new Ul,response:new Ul}}Ml.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=Dl(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&Bl.assertOptions(t,{silentJSONParsing:Gl.transitional(Gl.boolean),forcedJSONParsing:Gl.transitional(Gl.boolean),clarifyTimeoutError:Gl.transitional(Gl.boolean)},!1);var r=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!n){var a=[Wl,void 0];for(Array.prototype.unshift.apply(a,r),a=a.concat(i),o=Promise.resolve(e);a.length;)o=o.then(a.shift(),a.shift());return o}for(var u=e;r.length;){var c=r.shift(),s=r.shift();try{u=c(u)}catch(e){s(e);break}}try{o=Wl(u)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},Ml.prototype.getUri=function(e){return e=Dl(this.defaults,e),_l(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},Cl.forEach(["delete","get","head","options"],(function(e){Ml.prototype[e]=function(t,r){return this.request(Dl(r||{},{method:e,url:t,data:(r||{}).data}))}})),Cl.forEach(["post","put","patch"],(function(e){Ml.prototype[e]=function(t,r,n){return this.request(Dl(n||{},{method:e,url:t,data:r}))}}));var Ll=Ml,ql=Zp;function zl(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new ql(e),t(r.reason))}))}zl.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},zl.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},zl.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},zl.source=function(){var e;return{token:new zl((function(t){e=t})),cancel:e}};var Vl=zl,Hl=up,Jl=Ys,$l=Ll,Kl=jl;var Ql=function e(t){var r=new $l(t),n=Jl($l.prototype.request,r);return Hl.extend(n,$l.prototype,r),Hl.extend(n,r),n.create=function(r){return e(Kl(t,r))},n}(ml);Ql.Axios=$l,Ql.Cancel=Zp,Ql.CancelToken=Vl,Ql.isCancel=Sl,Ql.VERSION=Il,Ql.all=function(e){return Promise.all(e)},Ql.spread=function(e){return function(t){return e.apply(null,t)}},Ql.isAxiosError=function(e){return"object"===o(e)&&!0===e.isAxiosError},Xs.exports=Ql,Xs.exports.default=Ql;var Xl=Xs.exports,Yl=function(){function e(t){var r=t.responseHandler,n=t.requestConfigBuilder;u(this,e),this.responseHandler=r,this.requestConfigBuilder=n}var t,r,o,i,c,p;return s(e,[{key:"get",value:(p=a(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("get",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return p.apply(this,arguments)})},{key:"getData",value:(c=a(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("get",t,r,{responseType:"arraybuffer"});case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return c.apply(this,arguments)})},{key:"post",value:(i=a(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("post",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"postData",value:(o=a(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("post",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return o.apply(this,arguments)})},{key:"put",value:(r=a(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("put",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"delete",value:(t=a(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("delete",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})},{key:"sendRequest",value:function(e){return this.responseHandler.handle(Xl(n(n({},e),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]),e}(),Zl=fo,ef=re,tf=ue,rf=ts,nf=H([].join),of=ef!=Object,af=rf("join",",");Zl({target:"Array",proto:!0,forced:of||!af},{join:function(e){return nf(tf(this),void 0===e?",":e)}});var uf,cf=x.Symbol,sf=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===o(Symbol.iterator))return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0},pf=function(){return"function"==typeof cf&&("function"==typeof Symbol&&("symbol"===o(cf("foo"))&&("symbol"===o(Symbol("bar"))&&sf())))},lf="Function.prototype.bind called on incompatible ",ff=Array.prototype.slice,df=Object.prototype.toString,yf="[object Function]",hf=function(e){var t=this;if("function"!=typeof t||df.call(t)!==yf)throw new TypeError(lf+t);for(var r,n=ff.call(arguments,1),o=function(){if(this instanceof r){var o=t.apply(this,n.concat(ff.call(arguments)));return Object(o)===o?o:this}return t.apply(e,n.concat(ff.call(arguments)))},i=Math.max(0,t.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),t.prototype){var c=function(){};c.prototype=t.prototype,r.prototype=new c,c.prototype=null}return r},vf=Function.prototype.bind||hf,gf=vf.call(Function.call,Object.prototype.hasOwnProperty),mf=SyntaxError,bf=Function,wf=TypeError,Sf=function(e){try{return bf('"use strict"; return ('+e+").constructor;")()}catch(e){}},Af=Object.getOwnPropertyDescriptor;if(Af)try{Af({},"")}catch(e){Af=null}var xf,Rf=function(){throw new wf},Pf=Af?function(){try{return Rf}catch(e){try{return Af(arguments,"callee").get}catch(e){return Rf}}}():Rf,Ef=pf(),kf=Object.getPrototypeOf||function(e){return e.__proto__},Of={},jf="undefined"==typeof Uint8Array?uf:kf(Uint8Array),If={"%AggregateError%":"undefined"==typeof AggregateError?uf:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?uf:ArrayBuffer,"%ArrayIteratorPrototype%":Ef?kf([][Symbol.iterator]()):uf,"%AsyncFromSyncIteratorPrototype%":uf,"%AsyncFunction%":Of,"%AsyncGenerator%":Of,"%AsyncGeneratorFunction%":Of,"%AsyncIteratorPrototype%":Of,"%Atomics%":"undefined"==typeof Atomics?uf:Atomics,"%BigInt%":"undefined"==typeof BigInt?uf:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?uf:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?uf:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?uf:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?uf:FinalizationRegistry,"%Function%":bf,"%GeneratorFunction%":Of,"%Int8Array%":"undefined"==typeof Int8Array?uf:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?uf:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?uf:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ef?kf(kf([][Symbol.iterator]())):uf,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":o(JSON))?JSON:uf,"%Map%":"undefined"==typeof Map?uf:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Ef?kf((new Map)[Symbol.iterator]()):uf,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?uf:Promise,"%Proxy%":"undefined"==typeof Proxy?uf:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?uf:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?uf:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Ef?kf((new Set)[Symbol.iterator]()):uf,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?uf:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ef?kf(""[Symbol.iterator]()):uf,"%Symbol%":Ef?Symbol:uf,"%SyntaxError%":mf,"%ThrowTypeError%":Pf,"%TypedArray%":jf,"%TypeError%":wf,"%Uint8Array%":"undefined"==typeof Uint8Array?uf:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?uf:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?uf:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?uf:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?uf:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?uf:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?uf:WeakSet},Nf=function e(t){var r;if("%AsyncFunction%"===t)r=Sf("async function () {}");else if("%GeneratorFunction%"===t)r=Sf("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=Sf("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(r=kf(o.prototype))}return If[t]=r,r},Tf={"%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"]},Ff=vf,Cf=gf,_f=Ff.call(Function.call,Array.prototype.concat),Uf=Ff.call(Function.apply,Array.prototype.splice),Wf=Ff.call(Function.call,String.prototype.replace),Df=Ff.call(Function.call,String.prototype.slice),Bf=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Gf=/\\(\\)?/g,Mf=function(e){var t=Df(e,0,1),r=Df(e,-1);if("%"===t&&"%"!==r)throw new mf("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new mf("invalid intrinsic syntax, expected opening `%`");var n=[];return Wf(e,Bf,(function(e,t,r,o){n[n.length]=r?Wf(o,Gf,"$1"):t||e})),n},Lf=function(e,t){var r,n=e;if(Cf(Tf,n)&&(n="%"+(r=Tf[n])[0]+"%"),Cf(If,n)){var o=If[n];if(o===Of&&(o=Nf(n)),void 0===o&&!t)throw new wf("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new mf("intrinsic "+e+" does not exist!")},qf=SyntaxError,zf=Function,Vf=TypeError,Hf=function(e){try{return Function('"use strict"; return ('+e+").constructor;")()}catch(e){}},Jf=Object.getOwnPropertyDescriptor;if(Jf)try{Jf({},"")}catch(e){Jf=null}var $f=function(){throw new Vf},Kf=Jf?function(){try{return $f}catch(e){try{return Jf(arguments,"callee").get}catch(e){return $f}}}():$f,Qf=pf(),Xf=Object.getPrototypeOf||function(e){return e.__proto__},Yf=Hf("async function* () {}"),Zf=Yf?Yf.prototype:xf,ed=Zf?Zf.prototype:xf,td="undefined"==typeof Uint8Array?xf:Xf(Uint8Array),rd={"%AggregateError%":"undefined"==typeof AggregateError?xf:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?xf:ArrayBuffer,"%ArrayIteratorPrototype%":Qf?Xf([][Symbol.iterator]()):xf,"%AsyncFromSyncIteratorPrototype%":xf,"%AsyncFunction%":Hf("async function () {}"),"%AsyncGenerator%":Zf,"%AsyncGeneratorFunction%":Yf,"%AsyncIteratorPrototype%":ed?Xf(ed):xf,"%Atomics%":"undefined"==typeof Atomics?xf:Atomics,"%BigInt%":"undefined"==typeof BigInt?xf:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?xf:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?xf:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?xf:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?xf:FinalizationRegistry,"%Function%":zf,"%GeneratorFunction%":Hf("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?xf:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?xf:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?xf:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Qf?Xf(Xf([][Symbol.iterator]())):xf,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":o(JSON))?JSON:xf,"%Map%":"undefined"==typeof Map?xf:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Qf?Xf((new Map)[Symbol.iterator]()):xf,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?xf:Promise,"%Proxy%":"undefined"==typeof Proxy?xf:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?xf:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?xf:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Qf?Xf((new Set)[Symbol.iterator]()):xf,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?xf:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Qf?Xf(""[Symbol.iterator]()):xf,"%Symbol%":Qf?Symbol:xf,"%SyntaxError%":qf,"%ThrowTypeError%":Kf,"%TypedArray%":td,"%TypeError%":Vf,"%Uint8Array%":"undefined"==typeof Uint8Array?xf:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?xf:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?xf:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?xf:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?xf:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?xf:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?xf:WeakSet},nd={"%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"]},od=vf,id=gf,ad=od.call(Function.call,Array.prototype.concat),ud=od.call(Function.apply,Array.prototype.splice),cd=od.call(Function.call,String.prototype.replace),sd=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,pd=/\\(\\)?/g,ld=function(e){var t=[];return cd(e,sd,(function(e,r,n,o){t[t.length]=n?cd(o,pd,"$1"):r||e})),t},fd=function(e,t){var r,n=e;if(id(nd,n)&&(n="%"+(r=nd[n])[0]+"%"),id(rd,n)){var o=rd[n];if(void 0===o&&!t)throw new Vf("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new qf("intrinsic "+e+" does not exist!")},dd=function(e,t){if("string"!=typeof e||0===e.length)throw new Vf("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new Vf('"allowMissing" argument must be a boolean');var r=ld(e),n=r.length>0?r[0]:"",o=fd("%"+n+"%",t),i=o.name,a=o.value,u=!1,c=o.alias;c&&(n=c[0],ud(r,ad([0,1],c)));for(var s=1,p=!0;s<r.length;s+=1){var l=r[s];if("constructor"!==l&&p||(u=!0),id(rd,i="%"+(n+="."+l)+"%"))a=rd[i];else if(null!=a){if(Jf&&s+1>=r.length){var f=Jf(a,l);if(p=!!f,!t&&!(l in a))throw new Vf("base intrinsic for "+e+" exists, but the property is not available.");a=p&&"get"in f&&!("originalValue"in f.get)?f.get:a[l]}else p=id(a,l),a=a[l];p&&!u&&(rd[i]=a)}}return a},yd={exports:{}};!function(e){var t=vf,r=dd,n=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||t.call(o,n),a=r("%Object.defineProperty%",!0);if(a)try{a({},"a",{value:1})}catch(e){a=null}e.exports=function(){return i(t,o,arguments)};var u=function(){return i(t,n,arguments)};a?a(e.exports,"apply",{value:u}):e.exports.apply=u}(yd);var hd=dd,vd=yd.exports,gd=vd(hd("String.prototype.indexOf")),md=R(Object.freeze({__proto__:null,default:{}})),bd="function"==typeof Map&&Map.prototype,wd=Object.getOwnPropertyDescriptor&&bd?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Sd=bd&&wd&&"function"==typeof wd.get?wd.get:null,Ad=bd&&Map.prototype.forEach,xd="function"==typeof Set&&Set.prototype,Rd=Object.getOwnPropertyDescriptor&&xd?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Pd=xd&&Rd&&"function"==typeof Rd.get?Rd.get:null,Ed=xd&&Set.prototype.forEach,kd="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Od="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,jd=Boolean.prototype.valueOf,Id=Object.prototype.toString,Nd=Function.prototype.toString,Td=String.prototype.match,Fd="function"==typeof BigInt?BigInt.prototype.valueOf:null,Cd=Object.getOwnPropertySymbols,_d="function"==typeof Symbol?Symbol.prototype.toString:null,Ud=Object.prototype.propertyIsEnumerable,Wd=md.custom,Dd=Wd&&Ld(Wd)?Wd:null;function Bd(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function Gd(e){return String(e).replace(/"/g,""")}function Md(e){return"[object Array]"===Vd(e)}function Ld(e){return"[object Symbol]"===Vd(e)}var qd=Object.prototype.hasOwnProperty||function(e){return e in this};function zd(e,t){return qd.call(e,t)}function Vd(e){return Id.call(e)}function Hd(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function Jd(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Jd(e.slice(0,t.maxStringLength),t)+n}return Bd(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,$d),"single",t)}function $d(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function Kd(e){return"Object("+e+")"}function Qd(e){return e+" { ? }"}function Xd(e,t,r,n){return e+" ("+t+") {"+(n?Yd(r,n):r.join(", "))+"}"}function Yd(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+e.join(","+r)+"\n"+t.prev}function Zd(e,t){var r=Md(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=zd(e,o)?t(e[o],e):""}for(var i in e)zd(e,i)&&(r&&String(Number(i))===i&&i<e.length||(/[^\w$]/.test(i)?n.push(t(i,e)+": "+t(e[i],e)):n.push(i+": "+t(e[i],e))));if("function"==typeof Cd)for(var a=Cd(e),u=0;u<a.length;u++)Ud.call(e,a[u])&&n.push("["+t(a[u])+"]: "+t(e[a[u]],e));return n}var ey,ty=function(e,t){if("string"!=typeof e||0===e.length)throw new wf("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new wf('"allowMissing" argument must be a boolean');var r=Mf(e),n=r.length>0?r[0]:"",o=Lf("%"+n+"%",t),i=o.name,a=o.value,u=!1,c=o.alias;c&&(n=c[0],Uf(r,_f([0,1],c)));for(var s=1,p=!0;s<r.length;s+=1){var l=r[s],f=Df(l,0,1),d=Df(l,-1);if(('"'===f||"'"===f||"`"===f||'"'===d||"'"===d||"`"===d)&&f!==d)throw new mf("property names with quotes must have matching quotes");if("constructor"!==l&&p||(u=!0),Cf(If,i="%"+(n+="."+l)+"%"))a=If[i];else if(null!=a){if(!(l in a)){if(!t)throw new wf("base intrinsic for "+e+" exists, but the property is not available.");return}if(Af&&s+1>=r.length){var y=Af(a,l);a=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[l]}else p=Cf(a,l),a=a[l];p&&!u&&(If[i]=a)}}return a},ry=function(e,t){var r=hd(e,!!t);return"function"==typeof r&&gd(e,".prototype.")>-1?vd(r):r},ny=function e(t,r,n,i){var a=r||{};if(zd(a,"quoteStyle")&&"single"!==a.quoteStyle&&"double"!==a.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(zd(a,"maxStringLength")&&("number"==typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!zd(a,"customInspect")||a.customInspect;if("boolean"!=typeof u)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(zd(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return Jd(t,a);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var c=void 0===a.depth?5:a.depth;if(void 0===n&&(n=0),n>=c&&c>0&&"object"===o(t))return Md(t)?"[Array]":"[Object]";var s=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=Array(e.indent+1).join(" ")}return{base:r,prev:Array(t+1).join(r)}}(a,n);if(void 0===i)i=[];else if(Hd(i,t)>=0)return"[Circular]";function p(t,r,o){if(r&&(i=i.slice()).push(r),o){var u={depth:a.depth};return zd(a,"quoteStyle")&&(u.quoteStyle=a.quoteStyle),e(t,u,n+1,i)}return e(t,a,n+1,i)}if("function"==typeof t){var l=function(e){if(e.name)return e.name;var t=Td.call(Nd.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),f=Zd(t,p);return"[Function"+(l?": "+l:" (anonymous)")+"]"+(f.length>0?" { "+f.join(", ")+" }":"")}if(Ld(t)){var d=_d.call(t);return"object"===o(t)?Kd(d):d}if(function(e){if(!e||"object"!==o(e))return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var y="<"+String(t.nodeName).toLowerCase(),h=t.attributes||[],v=0;v<h.length;v++)y+=" "+h[v].name+"="+Bd(Gd(h[v].value),"double",a);return y+=">",t.childNodes&&t.childNodes.length&&(y+="..."),y+="</"+String(t.nodeName).toLowerCase()+">"}if(Md(t)){if(0===t.length)return"[]";var g=Zd(t,p);return s&&!function(e){for(var t=0;t<e.length;t++)if(Hd(e[t],"\n")>=0)return!1;return!0}(g)?"["+Yd(g,s)+"]":"[ "+g.join(", ")+" ]"}if(function(e){return"[object Error]"===Vd(e)}(t)){var m=Zd(t,p);return 0===m.length?"["+String(t)+"]":"{ ["+String(t)+"] "+m.join(", ")+" }"}if("object"===o(t)&&u){if(Dd&&"function"==typeof t[Dd])return t[Dd]();if("function"==typeof t.inspect)return t.inspect()}if(function(e){if(!Sd||!e||"object"!==o(e))return!1;try{Sd.call(e);try{Pd.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var b=[];return Ad.call(t,(function(e,r){b.push(p(r,t,!0)+" => "+p(e,t))})),Xd("Map",Sd.call(t),b,s)}if(function(e){if(!Pd||!e||"object"!==o(e))return!1;try{Pd.call(e);try{Sd.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var w=[];return Ed.call(t,(function(e){w.push(p(e,t))})),Xd("Set",Pd.call(t),w,s)}if(function(e){if(!kd||!e||"object"!==o(e))return!1;try{kd.call(e,kd);try{Od.call(e,Od)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Qd("WeakMap");if(function(e){if(!Od||!e||"object"!==o(e))return!1;try{Od.call(e,Od);try{kd.call(e,kd)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Qd("WeakSet");if(function(e){return"[object Number]"===Vd(e)}(t))return Kd(p(Number(t)));if(function(e){return"[object BigInt]"===Vd(e)}(t))return Kd(p(Fd.call(t)));if(function(e){return"[object Boolean]"===Vd(e)}(t))return Kd(jd.call(t));if(function(e){return"[object String]"===Vd(e)}(t))return Kd(p(String(t)));if(!function(e){return"[object Date]"===Vd(e)}(t)&&!function(e){return"[object RegExp]"===Vd(e)}(t)){var S=Zd(t,p);return 0===S.length?"{}":s?"{"+Yd(S,s)+"}":"{ "+S.join(", ")+" }"}return String(t)},oy=ty("%TypeError%"),iy=ty("%WeakMap%",!0),ay=ty("%Map%",!0),uy=ry("WeakMap.prototype.get",!0),cy=ry("WeakMap.prototype.set",!0),sy=ry("WeakMap.prototype.has",!0),py=ry("Map.prototype.get",!0),ly=ry("Map.prototype.set",!0),fy=ry("Map.prototype.has",!0),dy=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},yy=String.prototype.replace,hy=/%20/g,vy="RFC3986",gy={default:vy,formatters:{RFC1738:function(e){return yy.call(e,hy,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:vy},my=gy,by=Object.prototype.hasOwnProperty,wy=Array.isArray,Sy=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Ay=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},xy={arrayToObject:Ay,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var i=t[n],a=i.obj[i.prop],u=Object.keys(a),c=0;c<u.length;++c){var s=u[c],p=a[s];"object"===o(p)&&null!==p&&-1===r.indexOf(p)&&(t.push({obj:a,prop:s}),r.push(p))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(wy(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,n,i){if(0===e.length)return e;var a=e;if("symbol"===o(e)?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===r)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",c=0;c<a.length;++c){var s=a.charCodeAt(c);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||i===my.RFC1738&&(40===s||41===s)?u+=a.charAt(c):s<128?u+=Sy[s]:s<2048?u+=Sy[192|s>>6]+Sy[128|63&s]:s<55296||s>=57344?u+=Sy[224|s>>12]+Sy[128|s>>6&63]+Sy[128|63&s]:(c+=1,s=65536+((1023&s)<<10|1023&a.charCodeAt(c)),u+=Sy[240|s>>18]+Sy[128|s>>12&63]+Sy[128|s>>6&63]+Sy[128|63&s])}return u},isBuffer:function(e){return!(!e||"object"!==o(e))&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(wy(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!==o(r)){if(wy(t))t.push(r);else{if(!t||"object"!==o(t))return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!by.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!==o(t))return[t].concat(r);var i=t;return wy(t)&&!wy(r)&&(i=Ay(t,n)),wy(t)&&wy(r)?(r.forEach((function(r,i){if(by.call(t,i)){var a=t[i];a&&"object"===o(a)&&r&&"object"===o(r)?t[i]=e(a,r,n):t.push(r)}else t[i]=r})),t):Object.keys(r).reduce((function(t,o){var i=r[o];return by.call(t,o)?t[o]=e(t[o],i,n):t[o]=i,t}),i)}},Ry=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new oy("Side channel does not contain "+ny(e))},get:function(n){if(iy&&n&&("object"===o(n)||"function"==typeof n)){if(e)return uy(e,n)}else if(ay){if(t)return py(t,n)}else if(r)return function(e,t){var r=dy(e,t);return r&&r.value}(r,n)},has:function(n){if(iy&&n&&("object"===o(n)||"function"==typeof n)){if(e)return sy(e,n)}else if(ay){if(t)return fy(t,n)}else if(r)return function(e,t){return!!dy(e,t)}(r,n);return!1},set:function(n,i){iy&&n&&("object"===o(n)||"function"==typeof n)?(e||(e=new iy),cy(e,n,i)):ay?(t||(t=new ay),ly(t,n,i)):(r||(r={key:{},next:null}),function(e,t,r){var n=dy(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,i))}};return n},Py=xy,Ey=gy,ky=Object.prototype.hasOwnProperty,Oy={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},jy=Array.isArray,Iy=String.prototype.split,Ny=Array.prototype.push,Ty=function(e,t){Ny.apply(e,jy(t)?t:[t])},Fy=Date.prototype.toISOString,Cy=Ey.default,_y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Py.encode,encodeValuesOnly:!1,format:Cy,formatter:Ey.formatters[Cy],indices:!1,serializeDate:function(e){return Fy.call(e)},skipNulls:!1,strictNullHandling:!1},Uy={},Wy=function e(t,r,n,i,a,u,c,s,p,l,f,d,y,h,v){for(var g,m=t,b=v,w=0,S=!1;void 0!==(b=b.get(Uy))&&!S;){var A=b.get(t);if(w+=1,void 0!==A){if(A===w)throw new RangeError("Cyclic object value");S=!0}void 0===b.get(Uy)&&(w=0)}if("function"==typeof c?m=c(r,m):m instanceof Date?m=l(m):"comma"===n&&jy(m)&&(m=Py.maybeMap(m,(function(e){return e instanceof Date?l(e):e}))),null===m){if(i)return u&&!y?u(r,_y.encoder,h,"key",f):r;m=""}if("string"==typeof(g=m)||"number"==typeof g||"boolean"==typeof g||"symbol"===o(g)||"bigint"==typeof g||Py.isBuffer(m)){if(u){var x=y?r:u(r,_y.encoder,h,"key",f);if("comma"===n&&y){for(var R=Iy.call(String(m),","),P="",E=0;E<R.length;++E)P+=(0===E?"":",")+d(u(R[E],_y.encoder,h,"value",f));return[d(x)+"="+P]}return[d(x)+"="+d(u(m,_y.encoder,h,"value",f))]}return[d(r)+"="+d(String(m))]}var k,O=[];if(void 0===m)return O;if("comma"===n&&jy(m))k=[{value:m.length>0?m.join(",")||null:void 0}];else if(jy(c))k=c;else{var j=Object.keys(m);k=s?j.sort(s):j}for(var I=0;I<k.length;++I){var N=k[I],T="object"===o(N)&&void 0!==N.value?N.value:m[N];if(!a||null!==T){var F=jy(m)?"function"==typeof n?n(r,N):r:r+(p?"."+N:"["+N+"]");v.set(t,w);var C=Ry();C.set(Uy,v),Ty(O,e(T,F,n,i,a,u,c,s,p,l,f,d,y,h,C))}}return O},Dy=xy,By=Object.prototype.hasOwnProperty,Gy=Array.isArray,My={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Dy.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Ly=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},qy=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},zy=function(e,t,r,n){if(e){var o=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),u=a?o.slice(0,a.index):o,c=[];if(u){if(!r.plainObjects&&By.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var s=0;r.depth>0&&null!==(a=i.exec(o))&&s<r.depth;){if(s+=1,!r.plainObjects&&By.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+o.slice(a.index)+"]"),function(e,t,r,n){for(var o=n?t:qy(t,r),i=e.length-1;i>=0;--i){var a,u=e[i];if("[]"===u&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var c="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,s=parseInt(c,10);r.parseArrays||""!==c?!isNaN(s)&&u!==c&&String(s)===c&&s>=0&&r.parseArrays&&s<=r.arrayLimit?(a=[])[s]=o:"__proto__"!==c&&(a[c]=o):a={0:o}}o=a}return o}(c,t,r,n)}},Vy={formats:gy,parse:function(e,t){var r=function(e){if(!e)return My;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?My.charset:e.charset;return{allowDots:void 0===e.allowDots?My.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:My.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:My.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:My.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:My.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:My.comma,decoder:"function"==typeof e.decoder?e.decoder:My.decoder,delimiter:"string"==typeof e.delimiter||Dy.isRegExp(e.delimiter)?e.delimiter:My.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:My.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:My.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:My.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:My.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:My.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof e?function(e,t){var r,n={},o=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=t.parameterLimit===1/0?void 0:t.parameterLimit,a=o.split(t.delimiter,i),u=-1,c=t.charset;if(t.charsetSentinel)for(r=0;r<a.length;++r)0===a[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[r]?c="utf-8":"utf8=%26%2310003%3B"===a[r]&&(c="iso-8859-1"),u=r,r=a.length);for(r=0;r<a.length;++r)if(r!==u){var s,p,l=a[r],f=l.indexOf("]="),d=-1===f?l.indexOf("="):f+1;-1===d?(s=t.decoder(l,My.decoder,c,"key"),p=t.strictNullHandling?null:""):(s=t.decoder(l.slice(0,d),My.decoder,c,"key"),p=Dy.maybeMap(qy(l.slice(d+1),t),(function(e){return t.decoder(e,My.decoder,c,"value")}))),p&&t.interpretNumericEntities&&"iso-8859-1"===c&&(p=Ly(p)),l.indexOf("[]=")>-1&&(p=Gy(p)?[p]:p),By.call(n,s)?n[s]=Dy.combine(n[s],p):n[s]=p}return n}(e,r):e,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var u=i[a],c=zy(u,n[u],r,"string"==typeof e);o=Dy.merge(o,c,r)}return!0===r.allowSparse?o:Dy.compact(o)},stringify:function(e,t){var r,n=e,i=function(e){if(!e)return _y;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||_y.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=Ey.default;if(void 0!==e.format){if(!ky.call(Ey.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=Ey.formatters[r],o=_y.filter;return("function"==typeof e.filter||jy(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:_y.addQueryPrefix,allowDots:void 0===e.allowDots?_y.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:_y.charsetSentinel,delimiter:void 0===e.delimiter?_y.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:_y.encode,encoder:"function"==typeof e.encoder?e.encoder:_y.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:_y.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:_y.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:_y.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:_y.strictNullHandling}}(t);"function"==typeof i.filter?n=(0,i.filter)("",n):jy(i.filter)&&(r=i.filter);var a,u=[];if("object"!==o(n)||null===n)return"";a=t&&t.arrayFormat in Oy?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var c=Oy[a];r||(r=Object.keys(n)),i.sort&&r.sort(i.sort);for(var s=Ry(),p=0;p<r.length;++p){var l=r[p];i.skipNulls&&null===n[l]||Ty(u,Wy(n[l],l,c,i.strictNullHandling,i.skipNulls,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,s))}var f=u.join(i.delimiter),d=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?d+="utf8=%26%2310003%3B&":d+="utf8=%E2%9C%93&"),f.length>0?d+f:""}},Hy="function"==typeof btoa,Jy="function"==typeof Buffer,$y=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),Ky=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Qy=(ey={},Ky.forEach((function(e,t){return ey[e]=t})),String.fromCharCode.bind(String)),Xy=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),function(e){return e.replace(/=/g,"").replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"}))}),Yy=function(e){for(var t,r,n,o,i="",a=e.length%3,u=0;u<e.length;){if((r=e.charCodeAt(u++))>255||(n=e.charCodeAt(u++))>255||(o=e.charCodeAt(u++))>255)throw new TypeError("invalid character found");i+=Ky[(t=r<<16|n<<8|o)>>18&63]+Ky[t>>12&63]+Ky[t>>6&63]+Ky[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},Zy=Hy?function(e){return btoa(e)}:Jy?function(e){return Buffer.from(e,"binary").toString("base64")}:Yy,eh=Jy?function(e){return Buffer.from(e).toString("base64")}:function(e){for(var t=[],r=0,n=e.length;r<n;r+=4096)t.push(Qy.apply(null,e.subarray(r,r+4096)));return Zy(t.join(""))},th=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Qy(192|t>>>6)+Qy(128|63&t):Qy(224|t>>>12&15)+Qy(128|t>>>6&63)+Qy(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Qy(240|t>>>18&7)+Qy(128|t>>>12&63)+Qy(128|t>>>6&63)+Qy(128|63&t)},rh=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,nh=function(e){return e.replace(rh,th)},oh=Jy?function(e){return Buffer.from(e,"utf8").toString("base64")}:$y?function(e){return eh($y.encode(e))}:function(e){return Zy(nh(e))},ih=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?Xy(oh(e)):oh(e)},ah=ih,uh=function(){function e(t){var r=t.baseUrl,n=t.auth,o=t.basicAuth,i=t.clientCertAuth,a=t.proxy,c=t.userAgent;u(this,e),this.baseUrl=r,this.auth=n,this.headers=this.buildHeaders({basicAuth:o,userAgent:c}),this.clientCertAuth=i,this.proxy=a,this.requestToken=null}var r,o,i;return s(e,[{key:"build",value:(i=a(regeneratorRuntime.mark((function e(r,o,i,a){var u,c,s,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:u=n(n(n({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(o)},a||{}),t.buildPlatformDependentConfig({clientCertAuth:this.clientCertAuth})),{},{proxy:this.proxy}),e.t0=r,e.next="get"===e.t0?4:"post"===e.t0?16:"put"===e.t0?29:"delete"===e.t0?37:44;break;case 4:if(!((c=this.buildRequestUrl(o,i)).length>4096)){e.next=15;break}return e.t1=n,e.t2=n({},u),e.t3={},e.t4=n(n({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),e.next=12,this.buildData(i);case 12:return e.t5=e.sent,e.t6={method:"post",headers:e.t4,data:e.t5},e.abrupt("return",(0,e.t1)(e.t2,e.t3,e.t6));case 15:return e.abrupt("return",n(n({},u),{},{url:c}));case 16:if(!(i instanceof Ks)){e.next=21;break}return e.next=19,this.buildData(i);case 19:return s=e.sent,e.abrupt("return",n(n({},u),{},{headers:"function"==typeof s.getHeaders?n(n({},this.headers),s.getHeaders()):this.headers,data:s}));case 21:return e.t7=n,e.t8=n({},u),e.t9={},e.next=26,this.buildData(i);case 26:return e.t10=e.sent,e.t11={data:e.t10},e.abrupt("return",(0,e.t7)(e.t8,e.t9,e.t11));case 29:return e.t12=n,e.t13=n({},u),e.t14={},e.next=34,this.buildData(i);case 34:return e.t15=e.sent,e.t16={data:e.t15},e.abrupt("return",(0,e.t12)(e.t13,e.t14,e.t16));case 37:return e.t17=this,e.t18=o,e.next=41,this.buildData(i);case 41:return e.t19=e.sent,p=e.t17.buildRequestUrl.call(e.t17,e.t18,e.t19),e.abrupt("return",n(n({},u),{},{url:p}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n){return i.apply(this,arguments)})},{key:"buildRequestUrl",value:function(e,t){return"".concat(this.baseUrl).concat(e,"?").concat(Vy.stringify(t))}},{key:"buildData",value:(o=a(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("session"!==this.auth.type){e.next=8;break}return e.next=3,this.getRequestToken();case 3:if(r=e.sent,!(t instanceof Ks)){e.next=7;break}return t.append("__REQUEST_TOKEN__",r),e.abrupt("return",t);case 7:return e.abrupt("return",n({__REQUEST_TOKEN__:r},t));case 8:return e.abrupt("return",t);case 9:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"buildHeaders",value:function(e){var r=e.basicAuth,o=e.userAgent,i=r?{Authorization:"Basic ".concat(ah("".concat(r.username,":").concat(r.password)))}:{},a=n(n({},t.buildHeaders({userAgent:o})),i);switch(this.auth.type){case"password":return n(n({},a),{},{"X-Cybozu-Authorization":ah("".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=a(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==this.requestToken){e.next=4;break}return e.next=3,t.getRequestToken();case 3:this.requestToken=e.sent;case 4:return e.abrupt("return",this.requestToken);case 5:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})}]),e}(),ch=H,sh=yr.exports,ph=Date.prototype,lh="Invalid Date",fh="toString",dh=ch(ph.toString),yh=ch(ph.getTime);String(new Date(NaN))!=lh&&sh(ph,fh,(function(){var e=yh(this);return e==e?dh(this):lh}));var hh=H,vh=en.PROPER,gh=yr.exports,mh=Zt,bh=he,wh=Fa,Sh=O,Ah=_a,xh="toString",Rh=RegExp.prototype,Ph=Rh.toString,Eh=hh(Ah),kh=Sh((function(){return"/a/b"!=Ph.call({source:"a",flags:"b"})})),Oh=vh&&Ph.name!=xh;(kh||Oh)&&gh(RegExp.prototype,xh,(function(){var e=mh(this),t=wh(e.source),r=e.flags;return"/"+t+"/"+wh(void 0===r&&bh(Rh,e)&&!("flags"in Rh)?Eh(e):r)}),{unsafe:!0});var jh,Ih=function(e){l(r,e);var t=w(r);function r(e){var n;return u(this,r),(n=t.call(this,e)).name="KintoneAbortSearchError",n.message=e,Object.setPrototypeOf(m(n),r.prototype),n}return s(r)}(v(Error)),Nh=function(e){l(r,e);var t=w(r);function r(e){var n;u(this,r);var o=r.buildErrorResponseDateWithIndex(e),i=o.data,a=o.bulkRequestIndex;return(n=t.call(this,i.message)).name="KintoneRestAPIError",n.id=i.id,n.code=i.code,n.errors=i.errors,n.status=e.status,n.bulkRequestIndex=a,n.headers=e.headers,n.message="[".concat(e.status,"] [").concat(n.code,"] ").concat(n.message," (").concat(n.id,")"),Error.captureStackTrace&&Error.captureStackTrace(m(n),r),Object.setPrototypeOf(m(n),r.prototype),n}return s(r,null,[{key:"findErrorResponseDataWithIndex",value:function(e){for(var t=0;t<e.length;t++){if(0!==Object.keys(e[t]).length)return{data:e[t],bulkRequestIndex:t}}throw Error("Missing response data in `results`. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.")}},{key:"buildErrorResponseDateWithIndex",value:function(e){return"results"in e.data?r.findErrorResponseDataWithIndex(e.data.results):{data:e.data}}}]),r}(v(Error)),Th=["data"],Fh=function(){function e(t){var r=t.enableAbortSearchError;u(this,e),this.enableAbortSearchError=r}return s(e,[{key:"handle",value:function(e){var t=this;return e.then((function(e){return t.handleSuccessResponse(e)}),(function(e){return t.handleErrorResponse(e)}))}},{key:"handleSuccessResponse",value:function(e){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(e.headers["x-cybozu-warning"]))throw new Ih(e.headers["x-cybozu-warning"]);return e.data}},{key:"handleErrorResponse",value:function(e){if(!e.response){if(/mac verify failure/.test(e.toString()))throw new Error("invalid clientCertAuth setting");throw e}var t=e.response,r=t.data,o=g(t,Th);if("string"==typeof r)throw new Error("".concat(o.status,": ").concat(o.statusText));throw new Nh(n({data:r},o))}}]),e}(),Ch=function(e){if("username"in e)return n({type:"password"},e);if("apiToken"in e)return n({type:"apiToken"},e);if("oAuthToken"in e)return n({type:"oAuthToken"},e);try{return t.getDefaultAuth()}catch(e){if(e instanceof Ui)throw new Error("session authentication is not supported in ".concat(e.platform," environment."));throw e}},_h=function(){function e(){var r,o,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),Uh(a),this.baseUrl=t.buildBaseUrl(a.baseUrl);var c=Ch(null!==(r=a.auth)&&void 0!==r?r:{}),s=new uh(n(n({},a),{},{baseUrl:this.baseUrl,auth:c})),p=new Fh({enableAbortSearchError:null!==(o=null===(i=a.featureFlags)||void 0===i?void 0:i.enableAbortSearchError)&&void 0!==o&&o}),l=new Yl({responseHandler:p,requestConfigBuilder:s}),f=a.guestSpaceId;this.bulkRequest_=new Zi(l,f),this.record=new $s(l,this.bulkRequest_,f),this.app=new ya(l,f),this.file=new Qs(l,f)}return s(e,[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(e){return this.bulkRequest_.send(e)}}],[{key:"version",get:function(){return t.getVersion()}}]),e}(),Uh=function(e){Wh(e.guestSpaceId)},Wh=function(e){if(""===e||null===e)throw new Error("invalid guestSpaceId: got [".concat(e,"]"))};jh=Di,t.readFileFromPath=jh.readFileFromPath,t.getRequestToken=jh.getRequestToken,t.getDefaultAuth=jh.getDefaultAuth,t.buildPlatformDependentConfig=jh.buildPlatformDependentConfig,t.buildHeaders=jh.buildHeaders,t.buildFormDataValue=jh.buildFormDataValue,t.buildBaseUrl=jh.buildBaseUrl,t.getVersion=jh.getVersion,e.KintoneAbortSearchError=Ih,e.KintoneAllRecordsError=qs,e.KintoneRestAPIClient=_h,e.KintoneRestAPIError=Nh,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).window=e.window||{})}(this,(function(e){"use strict";var t={readFileFromPath:function(){throw new Error("not implemented")},getRequestToken:function(){throw new Error("not implemented")},getDefaultAuth:function(){throw new Error("not implemented")},buildPlatformDependentConfig:function(){throw new Error("not implemented")},buildHeaders:function(){throw new Error("not implemented")},buildFormDataValue:function(){throw new Error("not implemented")},buildBaseUrl:function(){throw new Error("not implemented")},getVersion:function(){throw new Error("not implemented")}};function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function u(e){i(a,n,o,u,c,"next",e)}function c(e){i(a,n,o,u,c,"throw",e)}u(void 0)}))}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(e){return!1}}function h(e,t,r){return(h=y()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&d(o,r.prototype),o}).apply(null,arguments)}function v(e){var t="function"==typeof Map?new Map:void 0;return(v=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return h(e,arguments,f(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,e)})(e)}function g(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function w(e){var t=y();return function(){var r,n=f(e);if(t){var o=f(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function S(e){return function(e){if(Array.isArray(e))return A(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return A(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return A(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function R(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}var P=function(e){return e&&e.Math==Math&&e},E=P("object"==("undefined"==typeof globalThis?"undefined":o(globalThis))&&globalThis)||P("object"==("undefined"==typeof window?"undefined":o(window))&&window)||P("object"==("undefined"==typeof self?"undefined":o(self))&&self)||P("object"==o(x)&&x)||function(){return this}()||Function("return this")(),k={},O=function(e){try{return!!e()}catch(e){return!0}},j=!O((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),I=!O((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),N=I,T=Function.prototype.call,F=N?T.bind(T):function(){return T.apply(T,arguments)},C={},_={}.propertyIsEnumerable,U=Object.getOwnPropertyDescriptor,W=U&&!_.call({1:2},1);C.f=W?function(e){var t=U(this,e);return!!t&&t.enumerable}:_;var D,B,G=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},M=I,L=Function.prototype,q=L.bind,z=L.call,V=M&&q.bind(z,z),H=M?function(e){return e&&V(e)}:function(e){return e&&function(){return z.apply(e,arguments)}},J=H,$=J({}.toString),K=J("".slice),Q=function(e){return K($(e),8,-1)},X=H,Y=O,Z=Q,ee=E.Object,te=X("".split),re=Y((function(){return!ee("z").propertyIsEnumerable(0)}))?function(e){return"String"==Z(e)?te(e,""):ee(e)}:ee,ne=E.TypeError,oe=function(e){if(null==e)throw ne("Can't call method on "+e);return e},ie=re,ae=oe,ue=function(e){return ie(ae(e))},ce=function(e){return"function"==typeof e},se=ce,pe=function(e){return"object"==o(e)?null!==e:se(e)},le=E,fe=ce,de=function(e){return fe(e)?e:void 0},ye=function(e,t){return arguments.length<2?de(le[e]):le[e]&&le[e][t]},he=H({}.isPrototypeOf),ve=E,ge=ye("navigator","userAgent")||"",me=ve.process,be=ve.Deno,we=me&&me.versions||be&&be.version,Se=we&&we.v8;Se&&(B=(D=Se.split("."))[0]>0&&D[0]<4?1:+(D[0]+D[1])),!B&&ge&&(!(D=ge.match(/Edge\/(\d+)/))||D[1]>=74)&&(D=ge.match(/Chrome\/(\d+)/))&&(B=+D[1]);var Ae=B,xe=Ae,Re=O,Pe=!!Object.getOwnPropertySymbols&&!Re((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&xe&&xe<41})),Ee=Pe&&!Symbol.sham&&"symbol"==o(Symbol.iterator),ke=ye,Oe=ce,je=he,Ie=Ee,Ne=E.Object,Te=Ie?function(e){return"symbol"==o(e)}:function(e){var t=ke("Symbol");return Oe(t)&&je(t.prototype,Ne(e))},Fe=E.String,Ce=ce,_e=function(e){try{return Fe(e)}catch(e){return"Object"}},Ue=E.TypeError,We=function(e){if(Ce(e))return e;throw Ue(_e(e)+" is not a function")},De=We,Be=function(e,t){var r=e[t];return null==r?void 0:De(r)},Ge=F,Me=ce,Le=pe,qe=E.TypeError,ze={exports:{}},Ve=E,He=Object.defineProperty,Je=function(e,t){try{He(Ve,e,{value:t,configurable:!0,writable:!0})}catch(r){Ve[e]=t}return t},$e=Je,Ke="__core-js_shared__",Qe=E[Ke]||$e(Ke,{}),Xe=Qe;(ze.exports=function(e,t){return Xe[e]||(Xe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.0",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ye=oe,Ze=E.Object,et=function(e){return Ze(Ye(e))},tt=et,rt=H({}.hasOwnProperty),nt=Object.hasOwn||function(e,t){return rt(tt(e),t)},ot=H,it=0,at=Math.random(),ut=ot(1..toString),ct=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ut(++it+at,36)},st=E,pt=ze.exports,lt=nt,ft=ct,dt=Pe,yt=Ee,ht=pt("wks"),vt=st.Symbol,gt=vt&&vt.for,mt=yt?vt:vt&&vt.withoutSetter||ft,bt=function(e){if(!lt(ht,e)||!dt&&"string"!=typeof ht[e]){var t="Symbol."+e;dt&<(vt,e)?ht[e]=vt[e]:ht[e]=yt&>?gt(t):mt(t)}return ht[e]},wt=F,St=pe,At=Te,xt=Be,Rt=function(e,t){var r,n;if("string"===t&&Me(r=e.toString)&&!Le(n=Ge(r,e)))return n;if(Me(r=e.valueOf)&&!Le(n=Ge(r,e)))return n;if("string"!==t&&Me(r=e.toString)&&!Le(n=Ge(r,e)))return n;throw qe("Can't convert object to primitive value")},Pt=bt,Et=E.TypeError,kt=Pt("toPrimitive"),Ot=function(e,t){if(!St(e)||At(e))return e;var r,n=xt(e,kt);if(n){if(void 0===t&&(t="default"),r=wt(n,e,t),!St(r)||At(r))return r;throw Et("Can't convert object to primitive value")}return void 0===t&&(t="number"),Rt(e,t)},jt=Ot,It=Te,Nt=function(e){var t=jt(e,"string");return It(t)?t:t+""},Tt=pe,Ft=E.document,Ct=Tt(Ft)&&Tt(Ft.createElement),_t=function(e){return Ct?Ft.createElement(e):{}},Ut=_t,Wt=!j&&!O((function(){return 7!=Object.defineProperty(Ut("div"),"a",{get:function(){return 7}}).a})),Dt=j,Bt=F,Gt=C,Mt=G,Lt=ue,qt=Nt,zt=nt,Vt=Wt,Ht=Object.getOwnPropertyDescriptor;k.f=Dt?Ht:function(e,t){if(e=Lt(e),t=qt(t),Vt)try{return Ht(e,t)}catch(e){}if(zt(e,t))return Mt(!Bt(Gt.f,e,t),e[t])};var Jt={},$t=j&&O((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Kt=E,Qt=pe,Xt=Kt.String,Yt=Kt.TypeError,Zt=function(e){if(Qt(e))return e;throw Yt(Xt(e)+" is not an object")},er=j,tr=Wt,rr=$t,nr=Zt,or=Nt,ir=E.TypeError,ar=Object.defineProperty,ur=Object.getOwnPropertyDescriptor,cr="enumerable",sr="configurable",pr="writable";Jt.f=er?rr?function(e,t,r){if(nr(e),t=or(t),nr(r),"function"==typeof e&&"prototype"===t&&"value"in r&&pr in r&&!r.writable){var n=ur(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:sr in r?r.configurable:n.configurable,enumerable:cr in r?r.enumerable:n.enumerable,writable:!1})}return ar(e,t,r)}:ar:function(e,t,r){if(nr(e),t=or(t),nr(r),tr)try{return ar(e,t,r)}catch(e){}if("get"in r||"set"in r)throw ir("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var lr=Jt,fr=G,dr=j?function(e,t,r){return lr.f(e,t,fr(1,r))}:function(e,t,r){return e[t]=r,e},yr={exports:{}},hr=ce,vr=Qe,gr=H(Function.toString);hr(vr.inspectSource)||(vr.inspectSource=function(e){return gr(e)});var mr,br,wr,Sr=vr.inspectSource,Ar=ce,xr=Sr,Rr=E.WeakMap,Pr=Ar(Rr)&&/native code/.test(xr(Rr)),Er=ze.exports,kr=ct,Or=Er("keys"),jr=function(e){return Or[e]||(Or[e]=kr(e))},Ir={},Nr=Pr,Tr=E,Fr=H,Cr=pe,_r=dr,Ur=nt,Wr=Qe,Dr=jr,Br=Ir,Gr="Object already initialized",Mr=Tr.TypeError,Lr=Tr.WeakMap;if(Nr||Wr.state){var qr=Wr.state||(Wr.state=new Lr),zr=Fr(qr.get),Vr=Fr(qr.has),Hr=Fr(qr.set);mr=function(e,t){if(Vr(qr,e))throw new Mr(Gr);return t.facade=e,Hr(qr,e,t),t},br=function(e){return zr(qr,e)||{}},wr=function(e){return Vr(qr,e)}}else{var Jr=Dr("state");Br[Jr]=!0,mr=function(e,t){if(Ur(e,Jr))throw new Mr(Gr);return t.facade=e,_r(e,Jr,t),t},br=function(e){return Ur(e,Jr)?e[Jr]:{}},wr=function(e){return Ur(e,Jr)}}var $r={set:mr,get:br,has:wr,enforce:function(e){return wr(e)?br(e):mr(e,{})},getterFor:function(e){return function(t){var r;if(!Cr(t)||(r=br(t)).type!==e)throw Mr("Incompatible receiver, "+e+" required");return r}}},Kr=j,Qr=nt,Xr=Function.prototype,Yr=Kr&&Object.getOwnPropertyDescriptor,Zr=Qr(Xr,"name"),en={EXISTS:Zr,PROPER:Zr&&"something"===function(){}.name,CONFIGURABLE:Zr&&(!Kr||Kr&&Yr(Xr,"name").configurable)},tn=E,rn=ce,nn=nt,on=dr,an=Je,un=Sr,cn=en.CONFIGURABLE,sn=$r.get,pn=$r.enforce,ln=String(String).split("String");(yr.exports=function(e,t,r,n){var o,i=!!n&&!!n.unsafe,a=!!n&&!!n.enumerable,u=!!n&&!!n.noTargetGet,c=n&&void 0!==n.name?n.name:t;rn(r)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!nn(r,"name")||cn&&r.name!==c)&&on(r,"name",c),(o=pn(r)).source||(o.source=ln.join("string"==typeof c?c:""))),e!==tn?(i?!u&&e[t]&&(a=!0):delete e[t],a?e[t]=r:on(e,t,r)):a?e[t]=r:an(t,r)})(Function.prototype,"toString",(function(){return rn(this)&&sn(this).source||un(this)}));var fn={},dn=Math.ceil,yn=Math.floor,hn=function(e){var t=+e;return t!=t||0===t?0:(t>0?yn:dn)(t)},vn=hn,gn=Math.max,mn=Math.min,bn=function(e,t){var r=vn(e);return r<0?gn(r+t,0):mn(r,t)},wn=hn,Sn=Math.min,An=function(e){return e>0?Sn(wn(e),9007199254740991):0},xn=An,Rn=function(e){return xn(e.length)},Pn=ue,En=bn,kn=Rn,On=function(e){return function(t,r,n){var o,i=Pn(t),a=kn(i),u=En(n,a);if(e&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===r)return e||u||0;return!e&&-1}},jn={includes:On(!0),indexOf:On(!1)},In=nt,Nn=ue,Tn=jn.indexOf,Fn=Ir,Cn=H([].push),_n=function(e,t){var r,n=Nn(e),o=0,i=[];for(r in n)!In(Fn,r)&&In(n,r)&&Cn(i,r);for(;t.length>o;)In(n,r=t[o++])&&(~Tn(i,r)||Cn(i,r));return i},Un=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Wn=_n,Dn=Un.concat("length","prototype");fn.f=Object.getOwnPropertyNames||function(e){return Wn(e,Dn)};var Bn={};Bn.f=Object.getOwnPropertySymbols;var Gn=ye,Mn=fn,Ln=Bn,qn=Zt,zn=H([].concat),Vn=Gn("Reflect","ownKeys")||function(e){var t=Mn.f(qn(e)),r=Ln.f;return r?zn(t,r(e)):t},Hn=nt,Jn=Vn,$n=k,Kn=Jt,Qn=O,Xn=ce,Yn=/#|\.prototype\./,Zn=function(e,t){var r=to[eo(e)];return r==no||r!=ro&&(Xn(t)?Qn(t):!!t)},eo=Zn.normalize=function(e){return String(e).replace(Yn,".").toLowerCase()},to=Zn.data={},ro=Zn.NATIVE="N",no=Zn.POLYFILL="P",oo=Zn,io=E,ao=k.f,uo=dr,co=yr.exports,so=Je,po=function(e,t,r){for(var n=Jn(t),o=Kn.f,i=$n.f,a=0;a<n.length;a++){var u=n[a];Hn(e,u)||r&&Hn(r,u)||o(e,u,i(t,u))}},lo=oo,fo=function(e,t){var r,n,i,a,u,c=e.target,s=e.global,p=e.stat;if(r=s?io:p?io[c]||so(c,{}):(io[c]||{}).prototype)for(n in t){if(a=t[n],i=e.noTargetGet?(u=ao(r,n))&&u.value:r[n],!lo(s?n:c+(p?".":"#")+n,e.forced)&&void 0!==i){if(o(a)==o(i))continue;po(a,i)}(e.sham||i&&i.sham)&&uo(a,"sham",!0),co(r,n,a,e)}},yo=Q,ho=Array.isArray||function(e){return"Array"==yo(e)},vo=Nt,go=Jt,mo=G,bo=function(e,t,r){var n=vo(t);n in e?go.f(e,n,mo(0,r)):e[n]=r},wo={};wo[bt("toStringTag")]="z";var So="[object z]"===String(wo),Ao=E,xo=So,Ro=ce,Po=Q,Eo=bt("toStringTag"),ko=Ao.Object,Oo="Arguments"==Po(function(){return arguments}()),jo=xo?Po:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=ko(e),Eo))?r:Oo?Po(t):"Object"==(n=Po(t))&&Ro(t.callee)?"Arguments":n},Io=H,No=O,To=ce,Fo=jo,Co=Sr,_o=function(){},Uo=[],Wo=ye("Reflect","construct"),Do=/^\s*(?:class|function)\b/,Bo=Io(Do.exec),Go=!Do.exec(_o),Mo=function(e){if(!To(e))return!1;try{return Wo(_o,Uo,e),!0}catch(e){return!1}},Lo=function(e){if(!To(e))return!1;switch(Fo(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Go||!!Bo(Do,Co(e))}catch(e){return!0}};Lo.sham=!0;var qo=!Wo||No((function(){var e;return Mo(Mo.call)||!Mo(Object)||!Mo((function(){e=!0}))||e}))?Lo:Mo,zo=E,Vo=ho,Ho=qo,Jo=pe,$o=bt("species"),Ko=zo.Array,Qo=function(e){var t;return Vo(e)&&(t=e.constructor,(Ho(t)&&(t===Ko||Vo(t.prototype))||Jo(t)&&null===(t=t[$o]))&&(t=void 0)),void 0===t?Ko:t},Xo=function(e,t){return new(Qo(e))(0===t?0:t)},Yo=O,Zo=Ae,ei=bt("species"),ti=function(e){return Zo>=51||!Yo((function(){var t=[];return(t.constructor={})[ei]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},ri=fo,ni=E,oi=O,ii=ho,ai=pe,ui=et,ci=Rn,si=bo,pi=Xo,li=ti,fi=Ae,di=bt("isConcatSpreadable"),yi=9007199254740991,hi="Maximum allowed index exceeded",vi=ni.TypeError,gi=fi>=51||!oi((function(){var e=[];return e[di]=!1,e.concat()[0]!==e})),mi=li("concat"),bi=function(e){if(!ai(e))return!1;var t=e[di];return void 0!==t?!!t:ii(e)};ri({target:"Array",proto:!0,forced:!gi||!mi},{concat:function(e){var t,r,n,o,i,a=ui(this),u=pi(a,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(bi(i=-1===t?a:arguments[t])){if(c+(o=ci(i))>yi)throw vi(hi);for(r=0;r<o;r++,c++)r in i&&si(u,c,i[r])}else{if(c>=yi)throw vi(hi);si(u,c++,i)}return u.length=c,u}});!function(e){var t=function(e){var t,r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new j(n||[]);return i._invoke=function(e,t,r){var n=f;return function(o,i){if(n===y)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return N()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=E(a,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=y;var c=l(e,t,r);if("normal"===c.type){if(n=r.done?h:d,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=h,r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=p;var f="suspendedStart",d="suspendedYield",y="executing",h="completed",v={};function g(){}function m(){}function b(){}var w={};w[a]=function(){return this};var S=Object.getPrototypeOf,A=S&&S(S(I([])));A&&A!==r&&n.call(A,a)&&(w=A);var x=b.prototype=g.prototype=Object.create(w);function R(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=l(e[i],e,a);if("throw"!==s.type){var p=s.arg,f=p.value;return f&&"object"===o(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){p.value=e,u(p)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var i;this._invoke=function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}}function E(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function I(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:N}}function N(){return{value:t,done:!0}}return m.prototype=x.constructor=b,b.constructor=m,m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},R(P.prototype),P.prototype[u]=function(){return this},e.AsyncIterator=P,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},R(x),s(x,c,"Generator"),x[a]=function(){return this},x.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=I,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var wi=j,Si=en.EXISTS,Ai=H,xi=Jt.f,Ri=Function.prototype,Pi=Ai(Ri.toString),Ei=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ki=Ai(Ei.exec);wi&&!Si&&xi(Ri,"name",{configurable:!0,get:function(){try{return ki(Ei,Pi(this))[1]}catch(e){return""}}});var Oi=E,ji=ce,Ii=Oi.String,Ni=Oi.TypeError,Ti=H,Fi=Zt,Ci=function(e){if("object"==o(e)||ji(e))return e;throw Ni("Can't set "+Ii(e)+" as a prototype")},_i=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Ti(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return Fi(r),Ci(n),t?e(r,n):r.__proto__=n,r}}():void 0);fo({target:"Object",stat:!0},{setPrototypeOf:_i});var Ui=function(e){l(r,e);var t=w(r);function r(e){var n;u(this,r);var o="This function is not supported in ".concat(e," environment");return n=t.call(this,o),Error.captureStackTrace&&Error.captureStackTrace(m(n),r),n.name="UnsupportedPlatformError",n.platform=e,Object.setPrototypeOf(m(n),r.prototype),n}return s(r)}(v(Error)),Wi=function(){var e=a(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":o(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){e.next=2;break}return e.abrupt("return",kintone.getRequestToken());case 2:if("object"!==("undefined"==typeof garoon?"undefined":o(garoon))||null===garoon||"function"!=typeof(null===(t=garoon.connect)||void 0===t||null===(r=t.kintone)||void 0===r?void 0:r.getRequestToken)){e.next=4;break}return e.abrupt("return",garoon.connect.kintone.getRequestToken());case 4:throw new Error("session authentication must specify a request token");case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Di=Object.freeze({__proto__:null,readFileFromPath:function(e){throw new Ui("Browser")},getRequestToken:Wi,getDefaultAuth:function(){return{type:"session"}},buildPlatformDependentConfig:function(){return{}},buildHeaders:function(){return{}},buildFormDataValue:function(e){return new Blob([e])},buildBaseUrl:function(e){if(e)return e;var t=location,r=t.host,n=t.protocol;return"".concat(n,"//").concat(r)},getVersion:function(){return"2.0.35"}}),Bi=We,Gi=I,Mi=H(H.bind),Li=function(e,t){return Bi(e),void 0===t?e:Gi?Mi(e,t):function(){return e.apply(t,arguments)}},qi=re,zi=et,Vi=Rn,Hi=Xo,Ji=H([].push),$i=function(e){var t=1==e,r=2==e,n=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(c,s,p,l){for(var f,d,y=zi(c),h=qi(y),v=Li(s,p),g=Vi(h),m=0,b=l||Hi,w=t?b(c,g):r||a?b(c,0):void 0;g>m;m++)if((u||m in h)&&(d=v(f=h[m],m,y),e))if(t)w[m]=d;else if(d)switch(e){case 3:return!0;case 5:return f;case 6:return m;case 2:Ji(w,f)}else switch(e){case 4:return!1;case 7:Ji(w,f)}return i?-1:n||o?o:w}},Ki={forEach:$i(0),map:$i(1),filter:$i(2),some:$i(3),every:$i(4),find:$i(5),findIndex:$i(6),filterReject:$i(7)},Qi=Ki.map;fo({target:"Array",proto:!0,forced:!ti("map")},{map:function(e){return Qi(this,e,arguments.length>1?arguments[1]:void 0)}});var Xi=function(e){var t=e.endpointName,r=e.guestSpaceId,n=e.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(t,".json")},Yi=["endpointName"],Zi=function(){function e(t,r){u(this,e),this.client=t,this.guestSpaceId=r,this.REQUESTS_LENGTH_LIMIT=20}return s(e,[{key:"send",value:function(e){var t=this,r=e.requests.map((function(e){if("endpointName"in e){var r=e.endpointName,o=g(e,Yi);return n({api:t.buildPathWithGuestSpaceId({endpointName:r})},o)}return e})),o=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(o,{requests:r})}},{key:"buildPathWithGuestSpaceId",value:function(e){return Xi(n(n({},e),{},{guestSpaceId:this.guestSpaceId}))}}]),e}(),ea=["preview"],ta=["preview"],ra=["preview"],na=["preview"],oa=["preview"],ia=["preview"],aa=["preview"],ua=["preview"],ca=["preview"],sa=["preview"],pa=["preview"],la=["preview"],fa=["preview"],da=["preview"],ya=function(){function e(t,r){u(this,e),this.client=t,this.guestSpaceId=r}var t;return s(e,[{key:"getFormFields",value:function(e){var t=e.preview,r=g(e,ea),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:t});return this.client.get(o,n({},r))}},{key:"addFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(t,e)}},{key:"updateFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(t,e)}},{key:"deleteFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(t,e)}},{key:"getFormLayout",value:function(e){var t=e.preview,r=g(e,ta),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:t});return this.client.get(o,n({},r))}},{key:"updateFormLayout",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(t,e)}},{key:"getViews",value:function(e){var t=e.preview,r=g(e,ra),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:t});return this.client.get(n,r)}},{key:"updateViews",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(t,e)}},{key:"getApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(t,e)}},{key:"getApps",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(t,e)}},{key:"addApp",value:(t=a(regeneratorRuntime.mark((function e(t){var r,o,i,a,u,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.name,o=t.space,i=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!o){e.next=9;break}return a=this.buildPathWithGuestSpaceId({endpointName:"space"}),e.next=6,this.client.get(a,{id:o});case 6:return u=e.sent,c=u.defaultThread,e.abrupt("return",this.client.post(i,n(n({},t),{},{thread:c})));case 9:return e.abrupt("return",this.client.post(i,{name:r}));case 10:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"getAppSettings",value:function(e){var t=e.preview,r=g(e,na),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:t});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(t,e)}},{key:"getProcessManagement",value:function(e){var t=e.preview,r=g(e,oa),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:t});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(t,e)}},{key:"getDeployStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(t,e)}},{key:"deployApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(t,e)}},{key:"getFieldAcl",value:function(e){var t=e.preview,r=g(e,ia),o=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:t});return this.client.get(o,n({},r))}},{key:"updateFieldAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppAcl",value:function(e){var t=e.preview,r=g(e,aa),o=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:t});return this.client.get(o,n({},r))}},{key:"updateAppAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(t,e)}},{key:"evaluateRecordsAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(t,e)}},{key:"getRecordAcl",value:function(e){var t=e.preview,r=g(e,ua),o=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:t});return this.client.get(o,n({},r))}},{key:"updateRecordAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppCustomize",value:function(e){var t=e.preview,r=g(e,ca),o=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:t});return this.client.get(o,n({},r))}},{key:"updateAppCustomize",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(t,e)}},{key:"getGeneralNotifications",value:function(e){var t=e.preview,r=g(e,sa),o=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:t});return this.client.get(o,n({},r))}},{key:"updateGeneralNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(t,e)}},{key:"getPerRecordNotifications",value:function(e){var t=e.preview,r=g(e,pa),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:t});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(t,e)}},{key:"getReminderNotifications",value:function(e){var t=e.preview,r=g(e,la),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:t});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(t,e)}},{key:"getReports",value:function(e){var t=e.preview,r=g(e,fa),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:t});return this.client.get(n,r)}},{key:"updateReports",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(t,e)}},{key:"getAppActions",value:function(e){var t=e.preview,r=g(e,da),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:t});return this.client.get(n,r)}},{key:"updateAppActions",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(t,e)}},{key:"buildPathWithGuestSpaceId",value:function(e){return Xi(n(n({},e),{},{guestSpaceId:this.guestSpaceId}))}}]),e}(),ha=_n,va=Un,ga=Object.keys||function(e){return ha(e,va)},ma=j,ba=H,wa=F,Sa=O,Aa=ga,xa=Bn,Ra=C,Pa=et,Ea=re,ka=Object.assign,Oa=Object.defineProperty,ja=ba([].concat),Ia=!ka||Sa((function(){if(ma&&1!==ka({b:1},ka(Oa({},"a",{enumerable:!0,get:function(){Oa(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=ka({},e)[r]||Aa(ka({},t)).join("")!=n}))?function(e,t){for(var r=Pa(e),n=arguments.length,o=1,i=xa.f,a=Ra.f;n>o;)for(var u,c=Ea(arguments[o++]),s=i?ja(Aa(c),i(c)):Aa(c),p=s.length,l=0;p>l;)u=s[l++],ma&&!wa(a,c,u)||(r[u]=c[u]);return r}:ka;fo({target:"Object",stat:!0,forced:Object.assign!==Ia},{assign:Ia});var Na=jo,Ta=E.String,Fa=function(e){if("Symbol"===Na(e))throw TypeError("Cannot convert a Symbol value to a string");return Ta(e)},Ca=Zt,_a=function(){var e=Ca(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Ua=O,Wa=E.RegExp,Da=Ua((function(){var e=Wa("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Ba=Da||Ua((function(){return!Wa("a","y").sticky})),Ga={BROKEN_CARET:Da||Ua((function(){var e=Wa("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:Ba,UNSUPPORTED_Y:Da},Ma={},La=j,qa=$t,za=Jt,Va=Zt,Ha=ue,Ja=ga;Ma.f=La&&!qa?Object.defineProperties:function(e,t){Va(e);for(var r,n=Ha(t),o=Ja(t),i=o.length,a=0;i>a;)za.f(e,r=o[a++],n[r]);return e};var $a,Ka=ye("document","documentElement"),Qa=Zt,Xa=Ma,Ya=Un,Za=Ir,eu=Ka,tu=_t,ru=jr("IE_PROTO"),nu=function(){},ou=function(e){return"<script>"+e+"</"+"script>"},iu=function(e){e.write(ou("")),e.close();var t=e.parentWindow.Object;return e=null,t},au=function(){try{$a=new ActiveXObject("htmlfile")}catch(e){}var e,t;au="undefined"!=typeof document?document.domain&&$a?iu($a):((t=tu("iframe")).style.display="none",eu.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ou("document.F=Object")),e.close(),e.F):iu($a);for(var r=Ya.length;r--;)delete au.prototype[Ya[r]];return au()};Za[ru]=!0;var uu,cu,su=Object.create||function(e,t){var r;return null!==e?(nu.prototype=Qa(e),r=new nu,nu.prototype=null,r[ru]=e):r=au(),void 0===t?r:Xa.f(r,t)},pu=O,lu=E.RegExp,fu=pu((function(){var e=lu(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),du=O,yu=E.RegExp,hu=du((function(){var e=yu("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),vu=F,gu=H,mu=Fa,bu=_a,wu=Ga,Su=ze.exports,Au=su,xu=$r.get,Ru=fu,Pu=hu,Eu=Su("native-string-replace",String.prototype.replace),ku=RegExp.prototype.exec,Ou=ku,ju=gu("".charAt),Iu=gu("".indexOf),Nu=gu("".replace),Tu=gu("".slice),Fu=(cu=/b*/g,vu(ku,uu=/a/,"a"),vu(ku,cu,"a"),0!==uu.lastIndex||0!==cu.lastIndex),Cu=wu.BROKEN_CARET,_u=void 0!==/()??/.exec("")[1];(Fu||_u||Cu||Ru||Pu)&&(Ou=function(e){var t,r,n,o,i,a,u,c=this,s=xu(c),p=mu(e),l=s.raw;if(l)return l.lastIndex=c.lastIndex,t=vu(Ou,l,p),c.lastIndex=l.lastIndex,t;var f=s.groups,d=Cu&&c.sticky,y=vu(bu,c),h=c.source,v=0,g=p;if(d&&(y=Nu(y,"y",""),-1===Iu(y,"g")&&(y+="g"),g=Tu(p,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==ju(p,c.lastIndex-1))&&(h="(?: "+h+")",g=" "+g,v++),r=new RegExp("^(?:"+h+")",y)),_u&&(r=new RegExp("^"+h+"$(?!\\s)",y)),Fu&&(n=c.lastIndex),o=vu(ku,d?r:c,g),d?o?(o.input=Tu(o.input,v),o[0]=Tu(o[0],v),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:Fu&&o&&(c.lastIndex=c.global?o.index+o[0].length:n),_u&&o&&o.length>1&&vu(Eu,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=Au(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var Uu=Ou;fo({target:"RegExp",proto:!0,forced:/./.exec!==Uu},{exec:Uu});var Wu=H,Du=yr.exports,Bu=Uu,Gu=O,Mu=bt,Lu=dr,qu=Mu("species"),zu=RegExp.prototype,Vu=H,Hu=hn,Ju=Fa,$u=oe,Ku=Vu("".charAt),Qu=Vu("".charCodeAt),Xu=Vu("".slice),Yu=function(e){return function(t,r){var n,o,i=Ju($u(t)),a=Hu(r),u=i.length;return a<0||a>=u?e?"":void 0:(n=Qu(i,a))<55296||n>56319||a+1===u||(o=Qu(i,a+1))<56320||o>57343?e?Ku(i,a):n:e?Xu(i,a,a+2):o-56320+(n-55296<<10)+65536}},Zu={codeAt:Yu(!1),charAt:Yu(!0)}.charAt,ec=F,tc=Zt,rc=ce,nc=Q,oc=Uu,ic=E.TypeError,ac=F,uc=Zt,cc=An,sc=Fa,pc=oe,lc=Be,fc=function(e,t,r){return t+(r?Zu(e,t).length:1)},dc=function(e,t){var r=e.exec;if(rc(r)){var n=ec(r,e,t);return null!==n&&tc(n),n}if("RegExp"===nc(e))return ec(oc,e,t);throw ic("RegExp#exec called on incompatible receiver")};(function(e,t,r,n){var o=Mu(e),i=!Gu((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!Gu((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[qu]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return t=!0,null},r[o](""),!t}));if(!i||!a||r){var u=Wu(/./[o]),c=t(o,""[e],(function(e,t,r,n,o){var a=Wu(e),c=t.exec;return c===Bu||c===zu.exec?i&&!o?{done:!0,value:u(t,r,n)}:{done:!0,value:a(r,t,n)}:{done:!1}}));Du(String.prototype,e,c[0]),Du(zu,o,c[1])}n&&Lu(zu[o],"sham",!0)})("match",(function(e,t,r){return[function(t){var r=pc(this),n=null==t?void 0:lc(t,e);return n?ac(n,t,r):new RegExp(t)[e](sc(r))},function(e){var n=uc(this),o=sc(e),i=r(t,n,o);if(i.done)return i.value;if(!n.global)return dc(n,o);var a=n.unicode;n.lastIndex=0;for(var u,c=[],s=0;null!==(u=dc(n,o));){var p=sc(u[0]);c[s]=p,""===p&&(n.lastIndex=fc(o,cc(n.lastIndex),a)),s++}return 0===s?null:c}]}));var yc=ce,hc=pe,vc=_i,gc=H(1..valueOf),mc=oe,bc=Fa,wc=H("".replace),Sc="[\t\n\v\f\r \u2028\u2029\ufeff]",Ac=RegExp("^"+Sc+Sc+"*"),xc=RegExp(Sc+Sc+"*$"),Rc=function(e){return function(t){var r=bc(mc(t));return 1&e&&(r=wc(r,Ac,"")),2&e&&(r=wc(r,xc,"")),r}},Pc={start:Rc(1),end:Rc(2),trim:Rc(3)},Ec=j,kc=E,Oc=H,jc=oo,Ic=yr.exports,Nc=nt,Tc=function(e,t,r){var n,o;return vc&&yc(n=t.constructor)&&n!==r&&hc(o=n.prototype)&&o!==r.prototype&&vc(e,o),e},Fc=he,Cc=Te,_c=Ot,Uc=O,Wc=fn.f,Dc=k.f,Bc=Jt.f,Gc=gc,Mc=Pc.trim,Lc="Number",qc=kc.Number,zc=qc.prototype,Vc=kc.TypeError,Hc=Oc("".slice),Jc=Oc("".charCodeAt),$c=function(e){var t=_c(e,"number");return"bigint"==typeof t?t:Kc(t)},Kc=function(e){var t,r,n,o,i,a,u,c,s=_c(e,"number");if(Cc(s))throw Vc("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=Mc(s),43===(t=Jc(s,0))||45===t){if(88===(r=Jc(s,2))||120===r)return NaN}else if(48===t){switch(Jc(s,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(a=(i=Hc(s,2)).length,u=0;u<a;u++)if((c=Jc(i,u))<48||c>o)return NaN;return parseInt(i,n)}return+s};if(jc(Lc,!qc(" 0o1")||!qc("0b1")||qc("+0x1"))){for(var Qc,Xc=function(e){var t=arguments.length<1?0:qc($c(e)),r=this;return Fc(zc,r)&&Uc((function(){Gc(r)}))?Tc(Object(t),r,Xc):t},Yc=Ec?Wc(qc):"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(","),Zc=0;Yc.length>Zc;Zc++)Nc(qc,Qc=Yc[Zc])&&!Nc(Xc,Qc)&&Bc(Xc,Qc,Dc(qc,Qc));Xc.prototype=zc,zc.constructor=Xc,Ic(kc,Lc,Xc)}var es=O,ts=function(e,t){var r=[][e];return!!r&&es((function(){r.call(null,t||function(){throw 1},1)}))},rs=fo,ns=jn.indexOf,os=ts,is=H([].indexOf),as=!!is&&1/is([1],1,-0)<0,us=os("indexOf");rs({target:"Array",proto:!0,forced:as||!us},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return as?is(this,e,t)||0:ns(this,e,t)}});var cs=Ki.every;fo({target:"Array",proto:!0,forced:!ts("every")},{every:function(e){return cs(this,e,arguments.length>1?arguments[1]:void 0)}});var ss=jo,ps=So?{}.toString:function(){return"[object "+ss(this)+"]"},ls=So,fs=yr.exports,ds=ps;ls||fs(Object.prototype,"toString",ds,{unsafe:!0}),fo({target:"Array",stat:!0},{isArray:ho});var ys=H([].slice),hs=fo,vs=E,gs=ho,ms=qo,bs=pe,ws=bn,Ss=Rn,As=ue,xs=bo,Rs=bt,Ps=ys,Es=ti("slice"),ks=Rs("species"),Os=vs.Array,js=Math.max;hs({target:"Array",proto:!0,forced:!Es},{slice:function(e,t){var r,n,o,i=As(this),a=Ss(i),u=ws(e,a),c=ws(void 0===t?a:t,a);if(gs(i)&&(r=i.constructor,(ms(r)&&(r===Os||gs(r.prototype))||bs(r)&&null===(r=r[ks]))&&(r=void 0),r===Os||void 0===r))return Ps(i,u,c);for(n=new(void 0===r?Os:r)(js(c-u,0)),o=0;u<c;u++,o++)u in i&&xs(n,o,i[u]);return n.length=o,n}});var Is=We,Ns=et,Ts=re,Fs=Rn,Cs=E.TypeError,_s=function(e){return function(t,r,n,o){Is(r);var i=Ns(t),a=Ts(i),u=Fs(i),c=e?u-1:0,s=e?-1:1;if(n<2)for(;;){if(c in a){o=a[c],c+=s;break}if(c+=s,e?c<0:u<=c)throw Cs("Reduce of empty array with no initial value")}for(;e?c>=0:u>c;c+=s)c in a&&(o=r(o,a[c],c,i));return o}},Us={left:_s(!1),right:_s(!0)},Ws="process"==Q(E.process),Ds=Us.left,Bs=Ae,Gs=Ws;fo({target:"Array",proto:!0,forced:!ts("reduce")||!Gs&&Bs>79&&Bs<83},{reduce:function(e){var t=arguments.length;return Ds(this,e,t,t>1?arguments[1]:void 0)}});var Ms=et,Ls=ga;fo({target:"Object",stat:!0,forced:O((function(){Ls(1)}))},{keys:function(e){return Ls(Ms(e))}});var qs=function(e){l(r,e);var t=w(r);function r(e,n,o,i,a){var c;u(this,r);var s=o-n.length,p=r.extractErrorIndex(s,i,a),l=r.buildErrorMessage(s,o,p);return(c=t.call(this,l)).name="KintoneAllRecordsError",c.processedRecordsResult=e,c.unprocessedRecords=n,c.error=i,c.errorIndex=p,c.message=l,Object.setPrototypeOf(m(c),r.prototype),c}return s(r,null,[{key:"parseErrorIndex",value:function(e){var t=Object.keys(e)[0].match(/records\[(\d+)\]/);return t?Number(t[1]):null}},{key:"extractErrorIndex",value:function(e,t,n){if(void 0!==t.bulkRequestIndex&&t.errors){var o=r.parseErrorIndex(t.errors);if(null!==o)return e+t.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(e,t,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(e,"/").concat(t," records are processed successfully")}}]),r}(v(Error)),zs=["condition","orderBy","withCursor"],Vs=["fields"],Hs=["condition"],Js=["condition","orderBy"],$s=function(){function e(t,r,n){u(this,e),this.client=t,this.bulkRequestClient=r,this.guestSpaceId=n,this.didWarnMaximumOffsetValue=!1}var t,r,o,i,c,l,f,d,y,h,v,m,b,w,A,x,R,P;return s(e,[{key:"getRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(t,e)}},{key:"addRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(t,e)}},{key:"updateRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(t,e)}},{key:"upsertRecord",value:(P=a(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,u,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.app,n=t.updateKey,o=t.record,e.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(i=e.sent,!((a=i.records).length>0)){e.next=13;break}if("__ID__"!==a[0].$id.type){e.next=12;break}return e.next=9,this.updateRecord(t);case 9:return u=e.sent,c=u.revision,e.abrupt("return",{id:a[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 e.abrupt("return",this.addRecord({app:r,record:Object.assign({},o,p({},n.field,{value:n.value}))}));case 14:case"end":return e.stop()}}),e,this)}))),function(e){return P.apply(this,arguments)})},{key:"getRecords",value:(R=a(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.next=3,this.client.get(r,t);case 3:return n=e.sent,this.warnMaximumOffsetValueIfNeeded(t.query),e.abrupt("return",n);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return R.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(e){if(e){var t=e.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&t&&Number(t[1])>1e4&&(this.didWarnMaximumOffsetValue=!0,console.warn("Warning: The maximum offset value will be limited to 10,000 in the future. Please use `createCursor()` and `getRecordsByCursor()` instead."))}}},{key:"addRecords",value:(x=a(regeneratorRuntime.mark((function e(t){var r,n,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.next=3,this.client.post(r,t);case 3:return n=e.sent,o=n.ids,i=n.revisions,e.abrupt("return",{ids:o,revisions:i,records:o.map((function(e,t){return{id:e,revision:i[t]}}))});case 7:case"end":return e.stop()}}),e,this)}))),function(e){return x.apply(this,arguments)})},{key:"updateRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(t,e)}},{key:"deleteRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(t,e)}},{key:"createCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(t,e)}},{key:"getRecordsByCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(t,e)}},{key:"deleteCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(t,e)}},{key:"getAllRecords",value:(A=a(regeneratorRuntime.mark((function e(t){var r,o,i,a,u,c,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.condition,o=t.orderBy,i=t.withCursor,a=void 0===i||i,u=g(t,zs),o){e.next=3;break}return e.abrupt("return",this.getAllRecordsWithId(n(n({},u),{},{condition:r})));case 3:if(!a){e.next=7;break}return c=r?"".concat(r," "):"",s="".concat(c).concat(o?"order by ".concat(o):""),e.abrupt("return",this.getAllRecordsWithCursor(n(n({},u),{},{query:s})));case 7:return e.abrupt("return",this.getAllRecordsWithOffset(n(n({},u),{},{orderBy:o,condition:r})));case 8:case"end":return e.stop()}}),e,this)}))),function(e){return A.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(w=a(regeneratorRuntime.mark((function e(t){var r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.fields,o=g(t,Vs),(i=r)&&i.length>0&&-1===i.indexOf("$id")&&(i=[].concat(S(i),["$id"])),e.abrupt("return",this.getAllRecordsRecursiveWithId(n(n({},o),{},{fields:i}),"0",[]));case 4:case"end":return e.stop()}}),e,this)}))),function(e){return w.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithId",value:(b=a(regeneratorRuntime.mark((function e(t,r,o){var i,a,u,c,s,p,l,f,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=500,a=t.condition,u=g(t,Hs),c=a?"(".concat(a,") and "):"",s="".concat(c,"$id > ").concat(r," order by $id asc limit ").concat(i),e.next=6,this.getRecords(n(n({},u),{},{query:s}));case 6:if(p=e.sent,l=o.concat(p.records),!(p.records.length<i)){e.next=10;break}return e.abrupt("return",l);case 10:if("__ID__"!==(f=p.records[p.records.length-1]).$id.type){e.next=14;break}return d=f.$id.value,e.abrupt("return",this.getAllRecordsRecursiveWithId(t,d,l));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 e.stop()}}),e,this)}))),function(e,t,r){return b.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(m=a(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.getAllRecordsRecursiveWithOffset(t,0,[]));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return m.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithOffset",value:(v=a(regeneratorRuntime.mark((function e(t,r,o){var i,a,u,c,s,p,l,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=500,a=t.condition,u=t.orderBy,c=g(t,Js),s=a?"".concat(a," "):"",p="".concat(s).concat(u?"order by ".concat(u," "):"","limit ").concat(i," offset ").concat(r),e.next=6,this.getRecords(n(n({},c),{},{query:p}));case 6:if(l=e.sent,f=o.concat(l.records),!(l.records.length<i)){e.next=10;break}return e.abrupt("return",f);case 10:return e.abrupt("return",this.getAllRecordsRecursiveWithOffset(t,r+i,f));case 11:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return v.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(h=a(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.createCursor(t);case 2:return r=e.sent,n=r.id,e.prev=4,e.next=7,this.getAllRecordsRecursiveByCursor(n,[]);case 7:return e.abrupt("return",e.sent);case 10:return e.prev=10,e.t0=e.catch(4),e.next=14,this.deleteCursor({id:n});case 14:throw e.t0;case 15:case"end":return e.stop()}}),e,this,[[4,10]])}))),function(e){return h.apply(this,arguments)})},{key:"getAllRecordsRecursiveByCursor",value:(y=a(regeneratorRuntime.mark((function e(t,r){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getRecordsByCursor({id:t});case 2:if(n=e.sent,o=r.concat(n.records),!n.next){e.next=6;break}return e.abrupt("return",this.getAllRecordsRecursiveByCursor(t,o));case 6:return e.abrupt("return",o);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t){return y.apply(this,arguments)})},{key:"addAllRecords",value:(d=a(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.records.every((function(e){return!Array.isArray(e)&&e instanceof Object}))){e.next=2;break}throw new Error("the `records` parameter must be an array of object.");case 2:return e.abrupt("return",this.addAllRecordsRecursive(t,t.records.length,[]));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return d.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(f=a(regeneratorRuntime.mark((function e(t,r,n){var o,i,a,u,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.records,0!==(u=a.slice(0,o)).length){e.next=5;break}return e.abrupt("return",{records:n});case 5:return e.prev=5,e.next=8,this.addAllRecordsWithBulkRequest({app:i,records:u});case 8:c=e.sent,e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(5),new qs({records:n},a,r,e.t0,100);case 14:return e.abrupt("return",this.addAllRecordsRecursive({app:i,records:a.slice(o)},r,n.concat(c)));case 15:case"end":return e.stop()}}),e,this,[[5,11]])}))),function(e,t,r){return f.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(l=a(regeneratorRuntime.mark((function e(t){var r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map((function(e){return{method:"POST",endpointName:"records",payload:{app:t.app,records:e}}})),e.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=e.sent.results,e.abrupt("return",o.map((function(e){var t=e.ids,r=e.revisions;return t.map((function(e,t){return{id:e,revision:r[t]}}))})).reduce((function(e,t){return e.concat(t)}),[]));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return l.apply(this,arguments)})},{key:"updateAllRecords",value:(c=a(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.updateAllRecordsRecursive(t,t.records.length,[]));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(i=a(regeneratorRuntime.mark((function e(t,r,n){var o,i,a,u,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.records,0!==(u=a.slice(0,o)).length){e.next=5;break}return e.abrupt("return",{records:n});case 5:return e.prev=5,e.next=8,this.updateAllRecordsWithBulkRequest({app:i,records:u});case 8:c=e.sent,e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(5),new qs({records:n},a,r,e.t0,100);case 14:return e.abrupt("return",this.updateAllRecordsRecursive({app:i,records:a.slice(o)},r,n.concat(c)));case 15:case"end":return e.stop()}}),e,this,[[5,11]])}))),function(e,t,r){return i.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(o=a(regeneratorRuntime.mark((function e(t){var r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map((function(e){return{method:"PUT",endpointName:"records",payload:{app:t.app,records:e}}})),e.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=e.sent.results,e.abrupt("return",o.map((function(e){return e.records})).reduce((function(e,t){return e.concat(t)}),[]));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"deleteAllRecords",value:function(e){return this.deleteAllRecordsRecursive(e,e.records.length)}},{key:"deleteAllRecordsRecursive",value:(r=a(regeneratorRuntime.mark((function e(t,r){var n,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,o=t.app,i=t.records,0!==(a=i.slice(0,n)).length){e.next=5;break}return e.abrupt("return",{});case 5:return e.prev=5,e.next=8,this.deleteAllRecordsWithBulkRequest({app:o,records:a});case 8:e.next=13;break;case 10:throw e.prev=10,e.t0=e.catch(5),new qs({},i,r,e.t0,100);case 13:return e.abrupt("return",this.deleteAllRecordsRecursive({app:o,records:i.slice(n)},r));case 14:case"end":return e.stop()}}),e,this,[[5,10]])}))),function(e,t){return r.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(t=a(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map((function(e){return{method:"DELETE",endpointName:"records",payload:{app:t.app,ids:e.map((function(e){return e.id})),revisions:e.map((function(e){return e.revision}))}}})),e.next=4,this.bulkRequestClient.send({requests:n});case 4:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(e,t,r){var n=r.slice(0,e);return 0===n.length?t:this.separateArrayRecursive(e,[].concat(S(t),[n]),r.slice(e))}},{key:"addRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(t,e)}},{key:"deleteRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(t,e)}},{key:"getRecordComments",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(t,e)}},{key:"updateRecordAssignees",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(t,e)}},{key:"updateRecordStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(t,e)}},{key:"updateRecordsStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(t,e)}},{key:"buildPathWithGuestSpaceId",value:function(e){return Xi(n(n({},e),{},{guestSpaceId:this.guestSpaceId}))}}]),e}(),Ks="object"==("undefined"==typeof self?"undefined":o(self))?self.FormData:window.FormData,Qs=function(){function e(t,r){u(this,e),this.client=t,this.guestSpaceId=r}var r;return s(e,[{key:"uploadFile",value:(r=a(regeneratorRuntime.mark((function e(r){var n,o,i,a,u,c,s,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),o=new Ks,!("path"in r.file)){e.next=19;break}return e.prev=3,e.next=6,t.readFileFromPath(r.file.path);case 6:i=e.sent,a=i.name,u=i.data,o.append("file",u,a),e.next=17;break;case 12:if(e.prev=12,e.t0=e.catch(3),!(e.t0 instanceof Ui)){e.next=16;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(e.t0.platform," environment."));case 16:throw e.t0;case 17:e.next=21;break;case 19:c=r.file,s=c.name,p=c.data,o.append("file",t.buildFormDataValue(p),s);case 21:return e.abrupt("return",this.client.postData(n,o));case 22:case"end":return e.stop()}}),e,this,[[3,12]])}))),function(e){return r.apply(this,arguments)})},{key:"downloadFile",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(t,e)}},{key:"buildPathWithGuestSpaceId",value:function(e){return Xi(n(n({},e),{},{guestSpaceId:this.guestSpaceId}))}}]),e}(),Xs={exports:{}},Ys=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}},Zs=Ys,ep=Object.prototype.toString;function tp(e){return"[object Array]"===ep.call(e)}function rp(e){return void 0===e}function np(e){return null!==e&&"object"===o(e)}function op(e){if("[object Object]"!==ep.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function ip(e){return"[object Function]"===ep.call(e)}function ap(e,t){if(null!=e)if("object"!==o(e)&&(e=[e]),tp(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var up={isArray:tp,isArrayBuffer:function(e){return"[object ArrayBuffer]"===ep.call(e)},isBuffer:function(e){return null!==e&&!rp(e)&&null!==e.constructor&&!rp(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:np,isPlainObject:op,isUndefined:rp,isDate:function(e){return"[object Date]"===ep.call(e)},isFile:function(e){return"[object File]"===ep.call(e)},isBlob:function(e){return"[object Blob]"===ep.call(e)},isFunction:ip,isStream:function(e){return np(e)&&ip(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:ap,merge:function e(){var t={};function r(r,n){op(t[n])&&op(r)?t[n]=e(t[n],r):op(r)?t[n]=e({},r):tp(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)ap(arguments[n],r);return t},extend:function(e,t,r){return ap(t,(function(t,n){e[n]=r&&"function"==typeof t?Zs(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}},cp=up;function sp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var pp=function(e,t,r){if(!t)return e;var n;if(r)n=r(t);else if(cp.isURLSearchParams(t))n=t.toString();else{var o=[];cp.forEach(t,(function(e,t){null!=e&&(cp.isArray(e)?t+="[]":e=[e],cp.forEach(e,(function(e){cp.isDate(e)?e=e.toISOString():cp.isObject(e)&&(e=JSON.stringify(e)),o.push(sp(t)+"="+sp(e))})))})),n=o.join("&")}if(n){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e},lp=up;function fp(){this.handlers=[]}fp.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},fp.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},fp.prototype.forEach=function(e){lp.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var dp=fp,yp="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function hp(){throw new Error("setTimeout has not been defined")}function vp(){throw new Error("clearTimeout has not been defined")}var gp=hp,mp=vp;function bp(e){if(gp===setTimeout)return setTimeout(e,0);if((gp===hp||!gp)&&setTimeout)return gp=setTimeout,setTimeout(e,0);try{return gp(e,0)}catch(t){try{return gp.call(null,e,0)}catch(t){return gp.call(this,e,0)}}}"function"==typeof yp.setTimeout&&(gp=setTimeout),"function"==typeof yp.clearTimeout&&(mp=clearTimeout);var wp,Sp=[],Ap=!1,xp=-1;function Rp(){Ap&&wp&&(Ap=!1,wp.length?Sp=wp.concat(Sp):xp=-1,Sp.length&&Pp())}function Pp(){if(!Ap){var e=bp(Rp);Ap=!0;for(var t=Sp.length;t;){for(wp=Sp,Sp=[];++xp<t;)wp&&wp[xp].run();xp=-1,t=Sp.length}wp=null,Ap=!1,function(e){if(mp===clearTimeout)return clearTimeout(e);if((mp===vp||!mp)&&clearTimeout)return mp=clearTimeout,clearTimeout(e);try{mp(e)}catch(t){try{return mp.call(null,e)}catch(t){return mp.call(this,e)}}}(e)}}function Ep(e,t){this.fun=e,this.array=t}Ep.prototype.run=function(){this.fun.apply(null,this.array)};function kp(){}var Op=kp,jp=kp,Ip=kp,Np=kp,Tp=kp,Fp=kp,Cp=kp;var _p=yp.performance||{},Up=_p.now||_p.mozNow||_p.msNow||_p.oNow||_p.webkitNow||function(){return(new Date).getTime()};var Wp=new Date;var Dp={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Sp.push(new Ep(e,t)),1!==Sp.length||Ap||bp(Pp)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Op,addListener:jp,once:Ip,off:Np,removeListener:Tp,removeAllListeners:Fp,emit:Cp,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Up.call(_p),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Wp)/1e3}},Bp=up,Gp=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.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}},e},Mp=Gp,Lp=function(e,t,r,n,o){var i=new Error(e);return Mp(i,t,r,n,o)},qp=Lp,zp=up,Vp=zp.isStandardBrowserEnv()?{write:function(e,t,r,n,o,i){var a=[];a.push(e+"="+encodeURIComponent(t)),zp.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),zp.isString(n)&&a.push("path="+n),zp.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},Hp=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)},Jp=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e},$p=up,Kp=["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"],Qp=up,Xp=Qp.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){var r=Qp.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0};function Yp(e){this.message=e}Yp.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},Yp.prototype.__CANCEL__=!0;var Zp=Yp,el=up,tl=function(e,t,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(qp("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)},rl=Vp,nl=pp,ol=function(e,t){return e&&!Hp(t)?Jp(e,t):t},il=function(e){var t,r,n,o={};return e?($p.forEach(e.split("\n"),(function(e){if(n=e.indexOf(":"),t=$p.trim(e.substr(0,n)).toLowerCase(),r=$p.trim(e.substr(n+1)),t){if(o[t]&&Kp.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([r]):o[t]?o[t]+", "+r:r}})),o):o},al=Xp,ul=Lp,cl=ml,sl=Zp,pl=function(e){return new Promise((function(t,r){var n,o=e.data,i=e.headers,a=e.responseType;function u(){e.cancelToken&&e.cancelToken.unsubscribe(n),e.signal&&e.signal.removeEventListener("abort",n)}el.isFormData(o)&&delete i["Content-Type"];var c=new XMLHttpRequest;if(e.auth){var s=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.Authorization="Basic "+btoa(s+":"+p)}var l=ol(e.baseURL,e.url);function f(){if(c){var n="getAllResponseHeaders"in c?il(c.getAllResponseHeaders()):null,o={data:a&&"text"!==a&&"json"!==a?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:n,config:e,request:c};tl((function(e){t(e),u()}),(function(e){r(e),u()}),o),c=null}}if(c.open(e.method.toUpperCase(),nl(l,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(f)},c.onabort=function(){c&&(r(ul("Request aborted",e,"ECONNABORTED",c)),c=null)},c.onerror=function(){r(ul("Network Error",e,null,c)),c=null},c.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||cl.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(ul(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",c)),c=null},el.isStandardBrowserEnv()){var d=(e.withCredentials||al(l))&&e.xsrfCookieName?rl.read(e.xsrfCookieName):void 0;d&&(i[e.xsrfHeaderName]=d)}"setRequestHeader"in c&&el.forEach(i,(function(e,t){void 0===o&&"content-type"===t.toLowerCase()?delete i[t]:c.setRequestHeader(t,e)})),el.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),a&&"json"!==a&&(c.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&c.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(n=function(e){c&&(r(!e||e&&e.type?new sl("canceled"):e),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(n),e.signal&&(e.signal.aborted?n():e.signal.addEventListener("abort",n))),o||(o=null),c.send(o)}))},ll=up,fl=function(e,t){Bp.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))},dl=Gp,yl={"Content-Type":"application/x-www-form-urlencoded"};function hl(e,t){!ll.isUndefined(e)&&ll.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var vl,gl={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==Dp&&"[object process]"===Object.prototype.toString.call(Dp))&&(vl=pl),vl),transformRequest:[function(e,t){return fl(t,"Accept"),fl(t,"Content-Type"),ll.isFormData(e)||ll.isArrayBuffer(e)||ll.isBuffer(e)||ll.isStream(e)||ll.isFile(e)||ll.isBlob(e)?e:ll.isArrayBufferView(e)?e.buffer:ll.isURLSearchParams(e)?(hl(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):ll.isObject(e)||t&&"application/json"===t["Content-Type"]?(hl(t,"application/json"),function(e,t,r){if(ll.isString(e))try{return(t||JSON.parse)(e),ll.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||gl.transitional,r=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,o=!r&&"json"===this.responseType;if(o||n&&ll.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw dl(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ll.forEach(["delete","get","head"],(function(e){gl.headers[e]={}})),ll.forEach(["post","put","patch"],(function(e){gl.headers[e]=ll.merge(yl)}));var ml=gl,bl=up,wl=ml,Sl=function(e){return!(!e||!e.__CANCEL__)},Al=up,xl=function(e,t,r){var n=this||wl;return bl.forEach(r,(function(r){e=r.call(n,e,t)})),e},Rl=Sl,Pl=ml,El=Zp;function kl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new El("canceled")}var Ol=up,jl=function(e,t){t=t||{};var r={};function n(e,t){return Ol.isPlainObject(e)&&Ol.isPlainObject(t)?Ol.merge(e,t):Ol.isPlainObject(t)?Ol.merge({},t):Ol.isArray(t)?t.slice():t}function o(r){return Ol.isUndefined(t[r])?Ol.isUndefined(e[r])?void 0:n(void 0,e[r]):n(e[r],t[r])}function i(e){if(!Ol.isUndefined(t[e]))return n(void 0,t[e])}function a(r){return Ol.isUndefined(t[r])?Ol.isUndefined(e[r])?void 0:n(void 0,e[r]):n(void 0,t[r])}function u(r){return r in t?n(e[r],t[r]):r in e?n(void 0,e[r]):void 0}var c={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,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return Ol.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,n=t(e);Ol.isUndefined(n)&&t!==u||(r[e]=n)})),r},Il="0.24.0",Nl=Il,Tl={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Tl[e]=function(r){return o(r)===e||"a"+(t<1?"n ":" ")+e}}));var Fl={};Tl.transitional=function(e,t,r){function n(e,t){return"[Axios v"+Nl+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,o,i){if(!1===e)throw new Error(n(o," has been removed"+(t?" in "+t:"")));return t&&!Fl[o]&&(Fl[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}};var Cl=up,_l=pp,Ul=dp,Wl=function(e){return kl(e),e.headers=e.headers||{},e.data=xl.call(e,e.data,e.headers,e.transformRequest),e.headers=Al.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Al.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||Pl.adapter)(e).then((function(t){return kl(e),t.data=xl.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return Rl(t)||(kl(e),t&&t.response&&(t.response.data=xl.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},Dl=jl,Bl={assertOptions:function(e,t,r){if("object"!==o(e))throw new TypeError("options must be an object");for(var n=Object.keys(e),i=n.length;i-- >0;){var a=n[i],u=t[a];if(u){var c=e[a],s=void 0===c||u(c,a,e);if(!0!==s)throw new TypeError("option "+a+" must be "+s)}else if(!0!==r)throw Error("Unknown option "+a)}},validators:Tl},Gl=Bl.validators;function Ml(e){this.defaults=e,this.interceptors={request:new Ul,response:new Ul}}Ml.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=Dl(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&Bl.assertOptions(t,{silentJSONParsing:Gl.transitional(Gl.boolean),forcedJSONParsing:Gl.transitional(Gl.boolean),clarifyTimeoutError:Gl.transitional(Gl.boolean)},!1);var r=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!n){var a=[Wl,void 0];for(Array.prototype.unshift.apply(a,r),a=a.concat(i),o=Promise.resolve(e);a.length;)o=o.then(a.shift(),a.shift());return o}for(var u=e;r.length;){var c=r.shift(),s=r.shift();try{u=c(u)}catch(e){s(e);break}}try{o=Wl(u)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},Ml.prototype.getUri=function(e){return e=Dl(this.defaults,e),_l(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},Cl.forEach(["delete","get","head","options"],(function(e){Ml.prototype[e]=function(t,r){return this.request(Dl(r||{},{method:e,url:t,data:(r||{}).data}))}})),Cl.forEach(["post","put","patch"],(function(e){Ml.prototype[e]=function(t,r,n){return this.request(Dl(n||{},{method:e,url:t,data:r}))}}));var Ll=Ml,ql=Zp;function zl(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new ql(e),t(r.reason))}))}zl.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},zl.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},zl.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},zl.source=function(){var e;return{token:new zl((function(t){e=t})),cancel:e}};var Vl=zl,Hl=up,Jl=Ys,$l=Ll,Kl=jl;var Ql=function e(t){var r=new $l(t),n=Jl($l.prototype.request,r);return Hl.extend(n,$l.prototype,r),Hl.extend(n,r),n.create=function(r){return e(Kl(t,r))},n}(ml);Ql.Axios=$l,Ql.Cancel=Zp,Ql.CancelToken=Vl,Ql.isCancel=Sl,Ql.VERSION=Il,Ql.all=function(e){return Promise.all(e)},Ql.spread=function(e){return function(t){return e.apply(null,t)}},Ql.isAxiosError=function(e){return"object"===o(e)&&!0===e.isAxiosError},Xs.exports=Ql,Xs.exports.default=Ql;var Xl=Xs.exports,Yl=function(){function e(t){var r=t.responseHandler,n=t.requestConfigBuilder;u(this,e),this.responseHandler=r,this.requestConfigBuilder=n}var t,r,o,i,c,p;return s(e,[{key:"get",value:(p=a(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("get",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return p.apply(this,arguments)})},{key:"getData",value:(c=a(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("get",t,r,{responseType:"arraybuffer"});case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return c.apply(this,arguments)})},{key:"post",value:(i=a(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("post",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"postData",value:(o=a(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("post",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return o.apply(this,arguments)})},{key:"put",value:(r=a(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("put",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"delete",value:(t=a(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("delete",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})},{key:"sendRequest",value:function(e){return this.responseHandler.handle(Xl(n(n({},e),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]),e}(),Zl=fo,ef=re,tf=ue,rf=ts,nf=H([].join),of=ef!=Object,af=rf("join",",");Zl({target:"Array",proto:!0,forced:of||!af},{join:function(e){return nf(tf(this),void 0===e?",":e)}});var uf,cf=x.Symbol,sf=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===o(Symbol.iterator))return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0},pf=function(){return"function"==typeof cf&&("function"==typeof Symbol&&("symbol"===o(cf("foo"))&&("symbol"===o(Symbol("bar"))&&sf())))},lf="Function.prototype.bind called on incompatible ",ff=Array.prototype.slice,df=Object.prototype.toString,yf="[object Function]",hf=function(e){var t=this;if("function"!=typeof t||df.call(t)!==yf)throw new TypeError(lf+t);for(var r,n=ff.call(arguments,1),o=function(){if(this instanceof r){var o=t.apply(this,n.concat(ff.call(arguments)));return Object(o)===o?o:this}return t.apply(e,n.concat(ff.call(arguments)))},i=Math.max(0,t.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),t.prototype){var c=function(){};c.prototype=t.prototype,r.prototype=new c,c.prototype=null}return r},vf=Function.prototype.bind||hf,gf=vf.call(Function.call,Object.prototype.hasOwnProperty),mf=SyntaxError,bf=Function,wf=TypeError,Sf=function(e){try{return bf('"use strict"; return ('+e+").constructor;")()}catch(e){}},Af=Object.getOwnPropertyDescriptor;if(Af)try{Af({},"")}catch(e){Af=null}var xf,Rf=function(){throw new wf},Pf=Af?function(){try{return Rf}catch(e){try{return Af(arguments,"callee").get}catch(e){return Rf}}}():Rf,Ef=pf(),kf=Object.getPrototypeOf||function(e){return e.__proto__},Of={},jf="undefined"==typeof Uint8Array?uf:kf(Uint8Array),If={"%AggregateError%":"undefined"==typeof AggregateError?uf:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?uf:ArrayBuffer,"%ArrayIteratorPrototype%":Ef?kf([][Symbol.iterator]()):uf,"%AsyncFromSyncIteratorPrototype%":uf,"%AsyncFunction%":Of,"%AsyncGenerator%":Of,"%AsyncGeneratorFunction%":Of,"%AsyncIteratorPrototype%":Of,"%Atomics%":"undefined"==typeof Atomics?uf:Atomics,"%BigInt%":"undefined"==typeof BigInt?uf:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?uf:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?uf:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?uf:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?uf:FinalizationRegistry,"%Function%":bf,"%GeneratorFunction%":Of,"%Int8Array%":"undefined"==typeof Int8Array?uf:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?uf:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?uf:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ef?kf(kf([][Symbol.iterator]())):uf,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":o(JSON))?JSON:uf,"%Map%":"undefined"==typeof Map?uf:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Ef?kf((new Map)[Symbol.iterator]()):uf,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?uf:Promise,"%Proxy%":"undefined"==typeof Proxy?uf:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?uf:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?uf:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Ef?kf((new Set)[Symbol.iterator]()):uf,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?uf:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ef?kf(""[Symbol.iterator]()):uf,"%Symbol%":Ef?Symbol:uf,"%SyntaxError%":mf,"%ThrowTypeError%":Pf,"%TypedArray%":jf,"%TypeError%":wf,"%Uint8Array%":"undefined"==typeof Uint8Array?uf:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?uf:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?uf:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?uf:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?uf:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?uf:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?uf:WeakSet},Nf=function e(t){var r;if("%AsyncFunction%"===t)r=Sf("async function () {}");else if("%GeneratorFunction%"===t)r=Sf("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=Sf("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(r=kf(o.prototype))}return If[t]=r,r},Tf={"%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"]},Ff=vf,Cf=gf,_f=Ff.call(Function.call,Array.prototype.concat),Uf=Ff.call(Function.apply,Array.prototype.splice),Wf=Ff.call(Function.call,String.prototype.replace),Df=Ff.call(Function.call,String.prototype.slice),Bf=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Gf=/\\(\\)?/g,Mf=function(e){var t=Df(e,0,1),r=Df(e,-1);if("%"===t&&"%"!==r)throw new mf("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new mf("invalid intrinsic syntax, expected opening `%`");var n=[];return Wf(e,Bf,(function(e,t,r,o){n[n.length]=r?Wf(o,Gf,"$1"):t||e})),n},Lf=function(e,t){var r,n=e;if(Cf(Tf,n)&&(n="%"+(r=Tf[n])[0]+"%"),Cf(If,n)){var o=If[n];if(o===Of&&(o=Nf(n)),void 0===o&&!t)throw new wf("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new mf("intrinsic "+e+" does not exist!")},qf=SyntaxError,zf=Function,Vf=TypeError,Hf=function(e){try{return Function('"use strict"; return ('+e+").constructor;")()}catch(e){}},Jf=Object.getOwnPropertyDescriptor;if(Jf)try{Jf({},"")}catch(e){Jf=null}var $f=function(){throw new Vf},Kf=Jf?function(){try{return $f}catch(e){try{return Jf(arguments,"callee").get}catch(e){return $f}}}():$f,Qf=pf(),Xf=Object.getPrototypeOf||function(e){return e.__proto__},Yf=Hf("async function* () {}"),Zf=Yf?Yf.prototype:xf,ed=Zf?Zf.prototype:xf,td="undefined"==typeof Uint8Array?xf:Xf(Uint8Array),rd={"%AggregateError%":"undefined"==typeof AggregateError?xf:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?xf:ArrayBuffer,"%ArrayIteratorPrototype%":Qf?Xf([][Symbol.iterator]()):xf,"%AsyncFromSyncIteratorPrototype%":xf,"%AsyncFunction%":Hf("async function () {}"),"%AsyncGenerator%":Zf,"%AsyncGeneratorFunction%":Yf,"%AsyncIteratorPrototype%":ed?Xf(ed):xf,"%Atomics%":"undefined"==typeof Atomics?xf:Atomics,"%BigInt%":"undefined"==typeof BigInt?xf:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?xf:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?xf:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?xf:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?xf:FinalizationRegistry,"%Function%":zf,"%GeneratorFunction%":Hf("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?xf:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?xf:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?xf:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Qf?Xf(Xf([][Symbol.iterator]())):xf,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":o(JSON))?JSON:xf,"%Map%":"undefined"==typeof Map?xf:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Qf?Xf((new Map)[Symbol.iterator]()):xf,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?xf:Promise,"%Proxy%":"undefined"==typeof Proxy?xf:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?xf:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?xf:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Qf?Xf((new Set)[Symbol.iterator]()):xf,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?xf:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Qf?Xf(""[Symbol.iterator]()):xf,"%Symbol%":Qf?Symbol:xf,"%SyntaxError%":qf,"%ThrowTypeError%":Kf,"%TypedArray%":td,"%TypeError%":Vf,"%Uint8Array%":"undefined"==typeof Uint8Array?xf:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?xf:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?xf:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?xf:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?xf:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?xf:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?xf:WeakSet},nd={"%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"]},od=vf,id=gf,ad=od.call(Function.call,Array.prototype.concat),ud=od.call(Function.apply,Array.prototype.splice),cd=od.call(Function.call,String.prototype.replace),sd=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,pd=/\\(\\)?/g,ld=function(e){var t=[];return cd(e,sd,(function(e,r,n,o){t[t.length]=n?cd(o,pd,"$1"):r||e})),t},fd=function(e,t){var r,n=e;if(id(nd,n)&&(n="%"+(r=nd[n])[0]+"%"),id(rd,n)){var o=rd[n];if(void 0===o&&!t)throw new Vf("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new qf("intrinsic "+e+" does not exist!")},dd=function(e,t){if("string"!=typeof e||0===e.length)throw new Vf("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new Vf('"allowMissing" argument must be a boolean');var r=ld(e),n=r.length>0?r[0]:"",o=fd("%"+n+"%",t),i=o.name,a=o.value,u=!1,c=o.alias;c&&(n=c[0],ud(r,ad([0,1],c)));for(var s=1,p=!0;s<r.length;s+=1){var l=r[s];if("constructor"!==l&&p||(u=!0),id(rd,i="%"+(n+="."+l)+"%"))a=rd[i];else if(null!=a){if(Jf&&s+1>=r.length){var f=Jf(a,l);if(p=!!f,!t&&!(l in a))throw new Vf("base intrinsic for "+e+" exists, but the property is not available.");a=p&&"get"in f&&!("originalValue"in f.get)?f.get:a[l]}else p=id(a,l),a=a[l];p&&!u&&(rd[i]=a)}}return a},yd={exports:{}};!function(e){var t=vf,r=dd,n=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||t.call(o,n),a=r("%Object.defineProperty%",!0);if(a)try{a({},"a",{value:1})}catch(e){a=null}e.exports=function(){return i(t,o,arguments)};var u=function(){return i(t,n,arguments)};a?a(e.exports,"apply",{value:u}):e.exports.apply=u}(yd);var hd=dd,vd=yd.exports,gd=vd(hd("String.prototype.indexOf")),md=R(Object.freeze({__proto__:null,default:{}})),bd="function"==typeof Map&&Map.prototype,wd=Object.getOwnPropertyDescriptor&&bd?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Sd=bd&&wd&&"function"==typeof wd.get?wd.get:null,Ad=bd&&Map.prototype.forEach,xd="function"==typeof Set&&Set.prototype,Rd=Object.getOwnPropertyDescriptor&&xd?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Pd=xd&&Rd&&"function"==typeof Rd.get?Rd.get:null,Ed=xd&&Set.prototype.forEach,kd="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Od="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,jd=Boolean.prototype.valueOf,Id=Object.prototype.toString,Nd=Function.prototype.toString,Td=String.prototype.match,Fd="function"==typeof BigInt?BigInt.prototype.valueOf:null,Cd=Object.getOwnPropertySymbols,_d="function"==typeof Symbol?Symbol.prototype.toString:null,Ud=Object.prototype.propertyIsEnumerable,Wd=md.custom,Dd=Wd&&Ld(Wd)?Wd:null;function Bd(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function Gd(e){return String(e).replace(/"/g,""")}function Md(e){return"[object Array]"===Vd(e)}function Ld(e){return"[object Symbol]"===Vd(e)}var qd=Object.prototype.hasOwnProperty||function(e){return e in this};function zd(e,t){return qd.call(e,t)}function Vd(e){return Id.call(e)}function Hd(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function Jd(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Jd(e.slice(0,t.maxStringLength),t)+n}return Bd(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,$d),"single",t)}function $d(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function Kd(e){return"Object("+e+")"}function Qd(e){return e+" { ? }"}function Xd(e,t,r,n){return e+" ("+t+") {"+(n?Yd(r,n):r.join(", "))+"}"}function Yd(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+e.join(","+r)+"\n"+t.prev}function Zd(e,t){var r=Md(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=zd(e,o)?t(e[o],e):""}for(var i in e)zd(e,i)&&(r&&String(Number(i))===i&&i<e.length||(/[^\w$]/.test(i)?n.push(t(i,e)+": "+t(e[i],e)):n.push(i+": "+t(e[i],e))));if("function"==typeof Cd)for(var a=Cd(e),u=0;u<a.length;u++)Ud.call(e,a[u])&&n.push("["+t(a[u])+"]: "+t(e[a[u]],e));return n}var ey,ty=function(e,t){if("string"!=typeof e||0===e.length)throw new wf("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new wf('"allowMissing" argument must be a boolean');var r=Mf(e),n=r.length>0?r[0]:"",o=Lf("%"+n+"%",t),i=o.name,a=o.value,u=!1,c=o.alias;c&&(n=c[0],Uf(r,_f([0,1],c)));for(var s=1,p=!0;s<r.length;s+=1){var l=r[s],f=Df(l,0,1),d=Df(l,-1);if(('"'===f||"'"===f||"`"===f||'"'===d||"'"===d||"`"===d)&&f!==d)throw new mf("property names with quotes must have matching quotes");if("constructor"!==l&&p||(u=!0),Cf(If,i="%"+(n+="."+l)+"%"))a=If[i];else if(null!=a){if(!(l in a)){if(!t)throw new wf("base intrinsic for "+e+" exists, but the property is not available.");return}if(Af&&s+1>=r.length){var y=Af(a,l);a=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[l]}else p=Cf(a,l),a=a[l];p&&!u&&(If[i]=a)}}return a},ry=function(e,t){var r=hd(e,!!t);return"function"==typeof r&&gd(e,".prototype.")>-1?vd(r):r},ny=function e(t,r,n,i){var a=r||{};if(zd(a,"quoteStyle")&&"single"!==a.quoteStyle&&"double"!==a.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(zd(a,"maxStringLength")&&("number"==typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!zd(a,"customInspect")||a.customInspect;if("boolean"!=typeof u)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(zd(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return Jd(t,a);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var c=void 0===a.depth?5:a.depth;if(void 0===n&&(n=0),n>=c&&c>0&&"object"===o(t))return Md(t)?"[Array]":"[Object]";var s=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=Array(e.indent+1).join(" ")}return{base:r,prev:Array(t+1).join(r)}}(a,n);if(void 0===i)i=[];else if(Hd(i,t)>=0)return"[Circular]";function p(t,r,o){if(r&&(i=i.slice()).push(r),o){var u={depth:a.depth};return zd(a,"quoteStyle")&&(u.quoteStyle=a.quoteStyle),e(t,u,n+1,i)}return e(t,a,n+1,i)}if("function"==typeof t){var l=function(e){if(e.name)return e.name;var t=Td.call(Nd.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),f=Zd(t,p);return"[Function"+(l?": "+l:" (anonymous)")+"]"+(f.length>0?" { "+f.join(", ")+" }":"")}if(Ld(t)){var d=_d.call(t);return"object"===o(t)?Kd(d):d}if(function(e){if(!e||"object"!==o(e))return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var y="<"+String(t.nodeName).toLowerCase(),h=t.attributes||[],v=0;v<h.length;v++)y+=" "+h[v].name+"="+Bd(Gd(h[v].value),"double",a);return y+=">",t.childNodes&&t.childNodes.length&&(y+="..."),y+="</"+String(t.nodeName).toLowerCase()+">"}if(Md(t)){if(0===t.length)return"[]";var g=Zd(t,p);return s&&!function(e){for(var t=0;t<e.length;t++)if(Hd(e[t],"\n")>=0)return!1;return!0}(g)?"["+Yd(g,s)+"]":"[ "+g.join(", ")+" ]"}if(function(e){return"[object Error]"===Vd(e)}(t)){var m=Zd(t,p);return 0===m.length?"["+String(t)+"]":"{ ["+String(t)+"] "+m.join(", ")+" }"}if("object"===o(t)&&u){if(Dd&&"function"==typeof t[Dd])return t[Dd]();if("function"==typeof t.inspect)return t.inspect()}if(function(e){if(!Sd||!e||"object"!==o(e))return!1;try{Sd.call(e);try{Pd.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var b=[];return Ad.call(t,(function(e,r){b.push(p(r,t,!0)+" => "+p(e,t))})),Xd("Map",Sd.call(t),b,s)}if(function(e){if(!Pd||!e||"object"!==o(e))return!1;try{Pd.call(e);try{Sd.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var w=[];return Ed.call(t,(function(e){w.push(p(e,t))})),Xd("Set",Pd.call(t),w,s)}if(function(e){if(!kd||!e||"object"!==o(e))return!1;try{kd.call(e,kd);try{Od.call(e,Od)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Qd("WeakMap");if(function(e){if(!Od||!e||"object"!==o(e))return!1;try{Od.call(e,Od);try{kd.call(e,kd)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Qd("WeakSet");if(function(e){return"[object Number]"===Vd(e)}(t))return Kd(p(Number(t)));if(function(e){return"[object BigInt]"===Vd(e)}(t))return Kd(p(Fd.call(t)));if(function(e){return"[object Boolean]"===Vd(e)}(t))return Kd(jd.call(t));if(function(e){return"[object String]"===Vd(e)}(t))return Kd(p(String(t)));if(!function(e){return"[object Date]"===Vd(e)}(t)&&!function(e){return"[object RegExp]"===Vd(e)}(t)){var S=Zd(t,p);return 0===S.length?"{}":s?"{"+Yd(S,s)+"}":"{ "+S.join(", ")+" }"}return String(t)},oy=ty("%TypeError%"),iy=ty("%WeakMap%",!0),ay=ty("%Map%",!0),uy=ry("WeakMap.prototype.get",!0),cy=ry("WeakMap.prototype.set",!0),sy=ry("WeakMap.prototype.has",!0),py=ry("Map.prototype.get",!0),ly=ry("Map.prototype.set",!0),fy=ry("Map.prototype.has",!0),dy=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},yy=String.prototype.replace,hy=/%20/g,vy="RFC3986",gy={default:vy,formatters:{RFC1738:function(e){return yy.call(e,hy,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:vy},my=gy,by=Object.prototype.hasOwnProperty,wy=Array.isArray,Sy=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Ay=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},xy={arrayToObject:Ay,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var i=t[n],a=i.obj[i.prop],u=Object.keys(a),c=0;c<u.length;++c){var s=u[c],p=a[s];"object"===o(p)&&null!==p&&-1===r.indexOf(p)&&(t.push({obj:a,prop:s}),r.push(p))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(wy(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,n,i){if(0===e.length)return e;var a=e;if("symbol"===o(e)?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===r)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",c=0;c<a.length;++c){var s=a.charCodeAt(c);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||i===my.RFC1738&&(40===s||41===s)?u+=a.charAt(c):s<128?u+=Sy[s]:s<2048?u+=Sy[192|s>>6]+Sy[128|63&s]:s<55296||s>=57344?u+=Sy[224|s>>12]+Sy[128|s>>6&63]+Sy[128|63&s]:(c+=1,s=65536+((1023&s)<<10|1023&a.charCodeAt(c)),u+=Sy[240|s>>18]+Sy[128|s>>12&63]+Sy[128|s>>6&63]+Sy[128|63&s])}return u},isBuffer:function(e){return!(!e||"object"!==o(e))&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(wy(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!==o(r)){if(wy(t))t.push(r);else{if(!t||"object"!==o(t))return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!by.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!==o(t))return[t].concat(r);var i=t;return wy(t)&&!wy(r)&&(i=Ay(t,n)),wy(t)&&wy(r)?(r.forEach((function(r,i){if(by.call(t,i)){var a=t[i];a&&"object"===o(a)&&r&&"object"===o(r)?t[i]=e(a,r,n):t.push(r)}else t[i]=r})),t):Object.keys(r).reduce((function(t,o){var i=r[o];return by.call(t,o)?t[o]=e(t[o],i,n):t[o]=i,t}),i)}},Ry=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new oy("Side channel does not contain "+ny(e))},get:function(n){if(iy&&n&&("object"===o(n)||"function"==typeof n)){if(e)return uy(e,n)}else if(ay){if(t)return py(t,n)}else if(r)return function(e,t){var r=dy(e,t);return r&&r.value}(r,n)},has:function(n){if(iy&&n&&("object"===o(n)||"function"==typeof n)){if(e)return sy(e,n)}else if(ay){if(t)return fy(t,n)}else if(r)return function(e,t){return!!dy(e,t)}(r,n);return!1},set:function(n,i){iy&&n&&("object"===o(n)||"function"==typeof n)?(e||(e=new iy),cy(e,n,i)):ay?(t||(t=new ay),ly(t,n,i)):(r||(r={key:{},next:null}),function(e,t,r){var n=dy(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,i))}};return n},Py=xy,Ey=gy,ky=Object.prototype.hasOwnProperty,Oy={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},jy=Array.isArray,Iy=String.prototype.split,Ny=Array.prototype.push,Ty=function(e,t){Ny.apply(e,jy(t)?t:[t])},Fy=Date.prototype.toISOString,Cy=Ey.default,_y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Py.encode,encodeValuesOnly:!1,format:Cy,formatter:Ey.formatters[Cy],indices:!1,serializeDate:function(e){return Fy.call(e)},skipNulls:!1,strictNullHandling:!1},Uy={},Wy=function e(t,r,n,i,a,u,c,s,p,l,f,d,y,h,v){for(var g,m=t,b=v,w=0,S=!1;void 0!==(b=b.get(Uy))&&!S;){var A=b.get(t);if(w+=1,void 0!==A){if(A===w)throw new RangeError("Cyclic object value");S=!0}void 0===b.get(Uy)&&(w=0)}if("function"==typeof c?m=c(r,m):m instanceof Date?m=l(m):"comma"===n&&jy(m)&&(m=Py.maybeMap(m,(function(e){return e instanceof Date?l(e):e}))),null===m){if(i)return u&&!y?u(r,_y.encoder,h,"key",f):r;m=""}if("string"==typeof(g=m)||"number"==typeof g||"boolean"==typeof g||"symbol"===o(g)||"bigint"==typeof g||Py.isBuffer(m)){if(u){var x=y?r:u(r,_y.encoder,h,"key",f);if("comma"===n&&y){for(var R=Iy.call(String(m),","),P="",E=0;E<R.length;++E)P+=(0===E?"":",")+d(u(R[E],_y.encoder,h,"value",f));return[d(x)+"="+P]}return[d(x)+"="+d(u(m,_y.encoder,h,"value",f))]}return[d(r)+"="+d(String(m))]}var k,O=[];if(void 0===m)return O;if("comma"===n&&jy(m))k=[{value:m.length>0?m.join(",")||null:void 0}];else if(jy(c))k=c;else{var j=Object.keys(m);k=s?j.sort(s):j}for(var I=0;I<k.length;++I){var N=k[I],T="object"===o(N)&&void 0!==N.value?N.value:m[N];if(!a||null!==T){var F=jy(m)?"function"==typeof n?n(r,N):r:r+(p?"."+N:"["+N+"]");v.set(t,w);var C=Ry();C.set(Uy,v),Ty(O,e(T,F,n,i,a,u,c,s,p,l,f,d,y,h,C))}}return O},Dy=xy,By=Object.prototype.hasOwnProperty,Gy=Array.isArray,My={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Dy.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Ly=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},qy=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},zy=function(e,t,r,n){if(e){var o=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),u=a?o.slice(0,a.index):o,c=[];if(u){if(!r.plainObjects&&By.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var s=0;r.depth>0&&null!==(a=i.exec(o))&&s<r.depth;){if(s+=1,!r.plainObjects&&By.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+o.slice(a.index)+"]"),function(e,t,r,n){for(var o=n?t:qy(t,r),i=e.length-1;i>=0;--i){var a,u=e[i];if("[]"===u&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var c="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,s=parseInt(c,10);r.parseArrays||""!==c?!isNaN(s)&&u!==c&&String(s)===c&&s>=0&&r.parseArrays&&s<=r.arrayLimit?(a=[])[s]=o:"__proto__"!==c&&(a[c]=o):a={0:o}}o=a}return o}(c,t,r,n)}},Vy={formats:gy,parse:function(e,t){var r=function(e){if(!e)return My;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?My.charset:e.charset;return{allowDots:void 0===e.allowDots?My.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:My.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:My.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:My.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:My.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:My.comma,decoder:"function"==typeof e.decoder?e.decoder:My.decoder,delimiter:"string"==typeof e.delimiter||Dy.isRegExp(e.delimiter)?e.delimiter:My.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:My.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:My.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:My.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:My.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:My.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof e?function(e,t){var r,n={},o=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=t.parameterLimit===1/0?void 0:t.parameterLimit,a=o.split(t.delimiter,i),u=-1,c=t.charset;if(t.charsetSentinel)for(r=0;r<a.length;++r)0===a[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[r]?c="utf-8":"utf8=%26%2310003%3B"===a[r]&&(c="iso-8859-1"),u=r,r=a.length);for(r=0;r<a.length;++r)if(r!==u){var s,p,l=a[r],f=l.indexOf("]="),d=-1===f?l.indexOf("="):f+1;-1===d?(s=t.decoder(l,My.decoder,c,"key"),p=t.strictNullHandling?null:""):(s=t.decoder(l.slice(0,d),My.decoder,c,"key"),p=Dy.maybeMap(qy(l.slice(d+1),t),(function(e){return t.decoder(e,My.decoder,c,"value")}))),p&&t.interpretNumericEntities&&"iso-8859-1"===c&&(p=Ly(p)),l.indexOf("[]=")>-1&&(p=Gy(p)?[p]:p),By.call(n,s)?n[s]=Dy.combine(n[s],p):n[s]=p}return n}(e,r):e,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var u=i[a],c=zy(u,n[u],r,"string"==typeof e);o=Dy.merge(o,c,r)}return!0===r.allowSparse?o:Dy.compact(o)},stringify:function(e,t){var r,n=e,i=function(e){if(!e)return _y;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||_y.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=Ey.default;if(void 0!==e.format){if(!ky.call(Ey.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=Ey.formatters[r],o=_y.filter;return("function"==typeof e.filter||jy(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:_y.addQueryPrefix,allowDots:void 0===e.allowDots?_y.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:_y.charsetSentinel,delimiter:void 0===e.delimiter?_y.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:_y.encode,encoder:"function"==typeof e.encoder?e.encoder:_y.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:_y.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:_y.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:_y.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:_y.strictNullHandling}}(t);"function"==typeof i.filter?n=(0,i.filter)("",n):jy(i.filter)&&(r=i.filter);var a,u=[];if("object"!==o(n)||null===n)return"";a=t&&t.arrayFormat in Oy?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var c=Oy[a];r||(r=Object.keys(n)),i.sort&&r.sort(i.sort);for(var s=Ry(),p=0;p<r.length;++p){var l=r[p];i.skipNulls&&null===n[l]||Ty(u,Wy(n[l],l,c,i.strictNullHandling,i.skipNulls,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,s))}var f=u.join(i.delimiter),d=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?d+="utf8=%26%2310003%3B&":d+="utf8=%E2%9C%93&"),f.length>0?d+f:""}},Hy="function"==typeof btoa,Jy="function"==typeof Buffer,$y=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),Ky=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Qy=(ey={},Ky.forEach((function(e,t){return ey[e]=t})),String.fromCharCode.bind(String)),Xy=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),function(e){return e.replace(/=/g,"").replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"}))}),Yy=function(e){for(var t,r,n,o,i="",a=e.length%3,u=0;u<e.length;){if((r=e.charCodeAt(u++))>255||(n=e.charCodeAt(u++))>255||(o=e.charCodeAt(u++))>255)throw new TypeError("invalid character found");i+=Ky[(t=r<<16|n<<8|o)>>18&63]+Ky[t>>12&63]+Ky[t>>6&63]+Ky[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},Zy=Hy?function(e){return btoa(e)}:Jy?function(e){return Buffer.from(e,"binary").toString("base64")}:Yy,eh=Jy?function(e){return Buffer.from(e).toString("base64")}:function(e){for(var t=[],r=0,n=e.length;r<n;r+=4096)t.push(Qy.apply(null,e.subarray(r,r+4096)));return Zy(t.join(""))},th=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Qy(192|t>>>6)+Qy(128|63&t):Qy(224|t>>>12&15)+Qy(128|t>>>6&63)+Qy(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Qy(240|t>>>18&7)+Qy(128|t>>>12&63)+Qy(128|t>>>6&63)+Qy(128|63&t)},rh=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,nh=function(e){return e.replace(rh,th)},oh=Jy?function(e){return Buffer.from(e,"utf8").toString("base64")}:$y?function(e){return eh($y.encode(e))}:function(e){return Zy(nh(e))},ih=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?Xy(oh(e)):oh(e)},ah=ih,uh=function(){function e(t){var r=t.baseUrl,n=t.auth,o=t.basicAuth,i=t.clientCertAuth,a=t.proxy,c=t.userAgent;u(this,e),this.baseUrl=r,this.auth=n,this.headers=this.buildHeaders({basicAuth:o,userAgent:c}),this.clientCertAuth=i,this.proxy=a,this.requestToken=null}var r,o,i;return s(e,[{key:"build",value:(i=a(regeneratorRuntime.mark((function e(r,o,i,a){var u,c,s,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:u=n(n(n({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(o)},a||{}),t.buildPlatformDependentConfig({clientCertAuth:this.clientCertAuth})),{},{proxy:this.proxy}),e.t0=r,e.next="get"===e.t0?4:"post"===e.t0?16:"put"===e.t0?29:"delete"===e.t0?37:44;break;case 4:if(!((c=this.buildRequestUrl(o,i)).length>4096)){e.next=15;break}return e.t1=n,e.t2=n({},u),e.t3={},e.t4=n(n({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),e.next=12,this.buildData(i);case 12:return e.t5=e.sent,e.t6={method:"post",headers:e.t4,data:e.t5},e.abrupt("return",(0,e.t1)(e.t2,e.t3,e.t6));case 15:return e.abrupt("return",n(n({},u),{},{url:c}));case 16:if(!(i instanceof Ks)){e.next=21;break}return e.next=19,this.buildData(i);case 19:return s=e.sent,e.abrupt("return",n(n({},u),{},{headers:"function"==typeof s.getHeaders?n(n({},this.headers),s.getHeaders()):this.headers,data:s}));case 21:return e.t7=n,e.t8=n({},u),e.t9={},e.next=26,this.buildData(i);case 26:return e.t10=e.sent,e.t11={data:e.t10},e.abrupt("return",(0,e.t7)(e.t8,e.t9,e.t11));case 29:return e.t12=n,e.t13=n({},u),e.t14={},e.next=34,this.buildData(i);case 34:return e.t15=e.sent,e.t16={data:e.t15},e.abrupt("return",(0,e.t12)(e.t13,e.t14,e.t16));case 37:return e.t17=this,e.t18=o,e.next=41,this.buildData(i);case 41:return e.t19=e.sent,p=e.t17.buildRequestUrl.call(e.t17,e.t18,e.t19),e.abrupt("return",n(n({},u),{},{url:p}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n){return i.apply(this,arguments)})},{key:"buildRequestUrl",value:function(e,t){return"".concat(this.baseUrl).concat(e,"?").concat(Vy.stringify(t))}},{key:"buildData",value:(o=a(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("session"!==this.auth.type){e.next=8;break}return e.next=3,this.getRequestToken();case 3:if(r=e.sent,!(t instanceof Ks)){e.next=7;break}return t.append("__REQUEST_TOKEN__",r),e.abrupt("return",t);case 7:return e.abrupt("return",n({__REQUEST_TOKEN__:r},t));case 8:return e.abrupt("return",t);case 9:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"buildHeaders",value:function(e){var r=e.basicAuth,o=e.userAgent,i=r?{Authorization:"Basic ".concat(ah("".concat(r.username,":").concat(r.password)))}:{},a=n(n({},t.buildHeaders({userAgent:o})),i);switch(this.auth.type){case"password":return n(n({},a),{},{"X-Cybozu-Authorization":ah("".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=a(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==this.requestToken){e.next=4;break}return e.next=3,t.getRequestToken();case 3:this.requestToken=e.sent;case 4:return e.abrupt("return",this.requestToken);case 5:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})}]),e}(),ch=H,sh=yr.exports,ph=Date.prototype,lh="Invalid Date",fh="toString",dh=ch(ph.toString),yh=ch(ph.getTime);String(new Date(NaN))!=lh&&sh(ph,fh,(function(){var e=yh(this);return e==e?dh(this):lh}));var hh=H,vh=en.PROPER,gh=yr.exports,mh=Zt,bh=he,wh=Fa,Sh=O,Ah=_a,xh="toString",Rh=RegExp.prototype,Ph=Rh.toString,Eh=hh(Ah),kh=Sh((function(){return"/a/b"!=Ph.call({source:"a",flags:"b"})})),Oh=vh&&Ph.name!=xh;(kh||Oh)&&gh(RegExp.prototype,xh,(function(){var e=mh(this),t=wh(e.source),r=e.flags;return"/"+t+"/"+wh(void 0===r&&bh(Rh,e)&&!("flags"in Rh)?Eh(e):r)}),{unsafe:!0});var jh,Ih=function(e){l(r,e);var t=w(r);function r(e){var n;return u(this,r),(n=t.call(this,e)).name="KintoneAbortSearchError",n.message=e,Object.setPrototypeOf(m(n),r.prototype),n}return s(r)}(v(Error)),Nh=function(e){l(r,e);var t=w(r);function r(e){var n;u(this,r);var o=r.buildErrorResponseDateWithIndex(e),i=o.data,a=o.bulkRequestIndex;return(n=t.call(this,i.message)).name="KintoneRestAPIError",n.id=i.id,n.code=i.code,n.errors=i.errors,n.status=e.status,n.bulkRequestIndex=a,n.headers=e.headers,n.message="[".concat(e.status,"] [").concat(n.code,"] ").concat(n.message," (").concat(n.id,")"),Error.captureStackTrace&&Error.captureStackTrace(m(n),r),Object.setPrototypeOf(m(n),r.prototype),n}return s(r,null,[{key:"findErrorResponseDataWithIndex",value:function(e){for(var t=0;t<e.length;t++){if(0!==Object.keys(e[t]).length)return{data:e[t],bulkRequestIndex:t}}throw Error("Missing response data in `results`. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.")}},{key:"buildErrorResponseDateWithIndex",value:function(e){return"results"in e.data?r.findErrorResponseDataWithIndex(e.data.results):{data:e.data}}}]),r}(v(Error)),Th=["data"],Fh=function(){function e(t){var r=t.enableAbortSearchError;u(this,e),this.enableAbortSearchError=r}return s(e,[{key:"handle",value:function(e){var t=this;return e.then((function(e){return t.handleSuccessResponse(e)}),(function(e){return t.handleErrorResponse(e)}))}},{key:"handleSuccessResponse",value:function(e){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(e.headers["x-cybozu-warning"]))throw new Ih(e.headers["x-cybozu-warning"]);return e.data}},{key:"handleErrorResponse",value:function(e){if(!e.response){if(/mac verify failure/.test(e.toString()))throw new Error("invalid clientCertAuth setting");throw e}var t=e.response,r=t.data,o=g(t,Th);if("string"==typeof r)throw new Error("".concat(o.status,": ").concat(o.statusText));throw new Nh(n({data:r},o))}}]),e}(),Ch=function(e){if("username"in e)return n({type:"password"},e);if("apiToken"in e)return n({type:"apiToken"},e);if("oAuthToken"in e)return n({type:"oAuthToken"},e);try{return t.getDefaultAuth()}catch(e){if(e instanceof Ui)throw new Error("session authentication is not supported in ".concat(e.platform," environment."));throw e}},_h=function(){function e(){var r,o,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),Uh(a),this.baseUrl=t.buildBaseUrl(a.baseUrl);var c=Ch(null!==(r=a.auth)&&void 0!==r?r:{}),s=new uh(n(n({},a),{},{baseUrl:this.baseUrl,auth:c})),p=new Fh({enableAbortSearchError:null!==(o=null===(i=a.featureFlags)||void 0===i?void 0:i.enableAbortSearchError)&&void 0!==o&&o}),l=new Yl({responseHandler:p,requestConfigBuilder:s}),f=a.guestSpaceId;this.bulkRequest_=new Zi(l,f),this.record=new $s(l,this.bulkRequest_,f),this.app=new ya(l,f),this.file=new Qs(l,f)}return s(e,[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(e){return this.bulkRequest_.send(e)}}],[{key:"version",get:function(){return t.getVersion()}}]),e}(),Uh=function(e){Wh(e.guestSpaceId)},Wh=function(e){if(""===e||null===e)throw new Error("invalid guestSpaceId: got [".concat(e,"]"))};jh=Di,t.readFileFromPath=jh.readFileFromPath,t.getRequestToken=jh.getRequestToken,t.getDefaultAuth=jh.getDefaultAuth,t.buildPlatformDependentConfig=jh.buildPlatformDependentConfig,t.buildHeaders=jh.buildHeaders,t.buildFormDataValue=jh.buildFormDataValue,t.buildBaseUrl=jh.buildBaseUrl,t.getVersion=jh.getVersion,e.KintoneAbortSearchError=Ih,e.KintoneAllRecordsError=qs,e.KintoneRestAPIClient=_h,e.KintoneRestAPIError=Nh,Object.defineProperty(e,"__esModule",{value:!0})}));
|