@kintone/rest-api-client 4.0.3 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/README.md +2 -0
  2. package/esm/package.json +17 -21
  3. package/esm/src/KintoneRequestConfigBuilder.d.ts +19 -15
  4. package/esm/src/KintoneRequestConfigBuilder.js +20 -1
  5. package/esm/src/KintoneRequestConfigBuilder.js.map +1 -1
  6. package/esm/src/KintoneRestAPIClient.d.ts +1 -0
  7. package/esm/src/KintoneRestAPIClient.js +10 -0
  8. package/esm/src/KintoneRestAPIClient.js.map +1 -1
  9. package/esm/src/__tests__/KintoneRequestConfigBuilder.test.js +5 -3
  10. package/esm/src/__tests__/KintoneRequestConfigBuilder.test.js.map +1 -1
  11. package/esm/src/__tests__/KintoneRestAPIClient.test.js +26 -0
  12. package/esm/src/__tests__/KintoneRestAPIClient.test.js.map +1 -1
  13. package/esm/src/http/HttpClientInterface.d.ts +1 -0
  14. package/esm/src/platform/node.d.ts +19 -8
  15. package/esm/src/platform/node.js +21 -0
  16. package/esm/src/platform/node.js.map +1 -1
  17. package/lib/package.json +17 -21
  18. package/lib/src/KintoneRequestConfigBuilder.d.ts +19 -15
  19. package/lib/src/KintoneRequestConfigBuilder.js +20 -1
  20. package/lib/src/KintoneRequestConfigBuilder.js.map +1 -1
  21. package/lib/src/KintoneRestAPIClient.d.ts +1 -0
  22. package/lib/src/KintoneRestAPIClient.js +10 -0
  23. package/lib/src/KintoneRestAPIClient.js.map +1 -1
  24. package/lib/src/__tests__/KintoneRequestConfigBuilder.test.js +5 -3
  25. package/lib/src/__tests__/KintoneRequestConfigBuilder.test.js.map +1 -1
  26. package/lib/src/__tests__/KintoneRestAPIClient.test.js +26 -0
  27. package/lib/src/__tests__/KintoneRestAPIClient.test.js.map +1 -1
  28. package/lib/src/http/HttpClientInterface.d.ts +1 -0
  29. package/lib/src/platform/node.d.ts +19 -8
  30. package/lib/src/platform/node.js +22 -1
  31. package/lib/src/platform/node.js.map +1 -1
  32. package/lib/tsconfig.tsbuildinfo +1 -1
  33. package/package.json +28 -34
  34. package/umd/KintoneRestAPIClient.js +3637 -3047
  35. package/umd/KintoneRestAPIClient.min.js +45 -58
@@ -25,7 +25,7 @@
25
25
  * This bundle includes the following third-party libraries:
26
26
  *
27
27
  * =====
28
- * core-js@3.29.1 -- MIT
28
+ * core-js@3.32.2 -- MIT
29
29
  * -----
30
30
  *
31
31
  * Copyright (c) 2014-2023 Denis Pushkarev
@@ -77,40 +77,6 @@
77
77
  *
78
78
  *
79
79
  * =====
80
- * rollup-plugin-node-globals@1.4.0 -- MIT
81
- * -----
82
- *
83
- *
84
- *
85
- * =====
86
- * process-es6@0.11.6 -- MIT
87
- * -----
88
- *
89
- * (The MIT License)
90
- *
91
- * Copyright (c) 2013 Roman Shtylman <shtylman@gmail.com>
92
- *
93
- * Permission is hereby granted, free of charge, to any person obtaining
94
- * a copy of this software and associated documentation files (the
95
- * 'Software'), to deal in the Software without restriction, including
96
- * without limitation the rights to use, copy, modify, merge, publish,
97
- * distribute, sublicense, and/or sell copies of the Software, and to
98
- * permit persons to whom the Software is furnished to do so, subject to
99
- * the following conditions:
100
- *
101
- * The above copyright notice and this permission notice shall be
102
- * included in all copies or substantial portions of the Software.
103
- *
104
- * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
105
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
106
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
107
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
108
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
109
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
110
- * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
111
- *
112
- *
113
- * =====
114
80
  * form-data@4.0.0 -- MIT
115
81
  * -----
116
82
  *
@@ -136,28 +102,22 @@
136
102
  *
137
103
  *
138
104
  * =====
139
- * axios@0.27.2 -- MIT
105
+ * rollup-plugin-node-globals@1.4.0 -- MIT
140
106
  * -----
141
107
  *
142
- * Copyright (c) 2014-present Matt Zabriskie
108
+ *
143
109
  *
144
- * Permission is hereby granted, free of charge, to any person obtaining a copy
145
- * of this software and associated documentation files (the "Software"), to deal
146
- * in the Software without restriction, including without limitation the rights
147
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
148
- * copies of the Software, and to permit persons to whom the Software is
149
- * furnished to do so, subject to the following conditions:
110
+ * =====
111
+ * axios@1.4.0 -- MIT
112
+ * -----
150
113
  *
151
- * The above copyright notice and this permission notice shall be included in
152
- * all copies or substantial portions of the Software.
114
+ * # Copyright (c) 2014-present Matt Zabriskie & Collaborators
153
115
  *
154
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
155
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
156
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
157
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
158
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
159
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
160
- * THE SOFTWARE.
116
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
117
+ *
118
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
119
+ *
120
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
161
121
  *
162
122
  *
163
123
  * =====
@@ -223,7 +183,7 @@
223
183
  *
224
184
  *
225
185
  * =====
226
- * has-symbols@1.0.1 -- MIT
186
+ * has-symbols@1.0.3 -- MIT
227
187
  * -----
228
188
  *
229
189
  * MIT License
@@ -250,6 +210,33 @@
250
210
  *
251
211
  *
252
212
  * =====
213
+ * has-proto@1.0.1 -- MIT
214
+ * -----
215
+ *
216
+ * MIT License
217
+ *
218
+ * Copyright (c) 2022 Inspect JS
219
+ *
220
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
221
+ * of this software and associated documentation files (the "Software"), to deal
222
+ * in the Software without restriction, including without limitation the rights
223
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
224
+ * copies of the Software, and to permit persons to whom the Software is
225
+ * furnished to do so, subject to the following conditions:
226
+ *
227
+ * The above copyright notice and this permission notice shall be included in all
228
+ * copies or substantial portions of the Software.
229
+ *
230
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
231
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
232
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
233
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
234
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
235
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
236
+ * SOFTWARE.
237
+ *
238
+ *
239
+ * =====
253
240
  * function-bind@1.1.1 -- MIT
254
241
  * -----
255
242
  *
@@ -304,7 +291,7 @@
304
291
  *
305
292
  *
306
293
  * =====
307
- * get-intrinsic@1.1.1 -- MIT
294
+ * get-intrinsic@1.2.1 -- MIT
308
295
  * -----
309
296
  *
310
297
  * MIT License
@@ -331,7 +318,7 @@
331
318
  *
332
319
  *
333
320
  * =====
334
- * call-bind@1.0.0 -- MIT
321
+ * call-bind@1.0.2 -- MIT
335
322
  * -----
336
323
  *
337
324
  * MIT License
@@ -358,7 +345,7 @@
358
345
  *
359
346
  *
360
347
  * =====
361
- * object-inspect@1.9.0 -- MIT
348
+ * object-inspect@1.12.3 -- MIT
362
349
  * -----
363
350
  *
364
351
  * MIT License
@@ -412,7 +399,7 @@
412
399
  *
413
400
  *
414
401
  * =====
415
- * qs@6.10.5 -- BSD-3-Clause
402
+ * qs@6.11.2 -- BSD-3-Clause
416
403
  * -----
417
404
  *
418
405
  * BSD 3-Clause License
@@ -479,4 +466,4 @@
479
466
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
480
467
  */
481
468
 
482
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).window=t.window||{})}(this,(function(t){"use strict";var e={readFileFromPath:function(){throw new Error("not implemented")},getRequestToken:function(){throw new Error("not implemented")},getDefaultAuth:function(){throw new Error("not implemented")},buildPlatformDependentConfig:function(){throw new Error("not implemented")},buildHeaders:function(){throw new Error("not implemented")},buildFormDataValue:function(){throw new Error("not implemented")},buildBaseUrl:function(){throw new Error("not implemented")},getVersion:function(){throw new Error("not implemented")}};function r(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function n(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(){o=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function p(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),u=new P(o||[]);return n(a,"_invoke",{value:A(t,r,u)}),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f={};function h(){}function d(){}function y(){}var m={};c(m,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(k([])));v&&v!==e&&r.call(v,a)&&(m=v);var b=y.prototype=h.prototype=Object.create(m);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function o(n,i,a,u){var s=l(t[n],t,i);if("throw"!==s.type){var c=s.arg,p=c.value;return p&&"object"==typeof p&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){o("next",t,a,u)}),(function(t){o("throw",t,a,u)})):e.resolve(p).then((function(t){c.value=t,a(c)}),(function(t){return o("throw",t,a,u)}))}u(s.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function A(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function k(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=y,n(b,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:d,configurable:!0}),d.displayName=c(y,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(x.prototype),c(x.prototype,u,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(b),c(b,s,"Generator"),c(b,a,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=k,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void r(t)}u.done?e(s):Promise.resolve(s).then(n,o)}function u(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function u(t){a(i,n,o,u,s,"next",t)}function s(t){a(i,n,o,u,s,"throw",t)}u(void 0)}))}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,E(n.key),n)}}function p(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function l(t,e,r){return(e=E(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}function d(t,e){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},d(t,e)}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function m(t,e,r){return m=y()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&d(o,r.prototype),o},m.apply(null,arguments)}function g(t){var e="function"==typeof Map?new Map:void 0;return g=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return m(t,arguments,h(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,t)},g(t)}function v(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return b(t)}function x(t){var e=y();return function(){var r,n=h(t);if(e){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w(this,r)}}function A(t){return function(t){if(Array.isArray(t))return S(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return S(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function E(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}var R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function P(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function k(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var r=function t(){if(this instanceof t){var r=[null];r.push.apply(r,arguments);var n=Function.bind.apply(e,r);return new n}return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),r}var O=function(t){return t&&t.Math==Math&&t},j=O("object"==typeof globalThis&&globalThis)||O("object"==typeof window&&window)||O("object"==typeof self&&self)||O("object"==typeof R&&R)||function(){return this}()||Function("return this")(),I={},T=function(t){try{return!!t()}catch(t){return!0}},_=!T((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),N=!T((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),U=N,C=Function.prototype.call,L=U?C.bind(C):function(){return C.apply(C,arguments)},F={},B={}.propertyIsEnumerable,D=Object.getOwnPropertyDescriptor,M=D&&!B.call({1:2},1);F.f=M?function(t){var e=D(this,t);return!!e&&e.enumerable}:B;var q,W,G=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},z=N,H=Function.prototype,V=H.call,Y=z&&H.bind.bind(V,V),$=z?Y:function(t){return function(){return V.apply(t,arguments)}},J=$,Q=J({}.toString),K=J("".slice),X=function(t){return K(Q(t),8,-1)},Z=T,tt=X,et=Object,rt=$("".split),nt=Z((function(){return!et("z").propertyIsEnumerable(0)}))?function(t){return"String"==tt(t)?rt(t,""):et(t)}:et,ot=function(t){return null==t},it=ot,at=TypeError,ut=function(t){if(it(t))throw at("Can't call method on "+t);return t},st=nt,ct=ut,pt=function(t){return st(ct(t))},lt="object"==typeof document&&document.all,ft={all:lt,IS_HTMLDDA:void 0===lt&&void 0!==lt},ht=ft.all,dt=ft.IS_HTMLDDA?function(t){return"function"==typeof t||t===ht}:function(t){return"function"==typeof t},yt=dt,mt=ft.all,gt=ft.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:yt(t)||t===mt}:function(t){return"object"==typeof t?null!==t:yt(t)},vt=j,bt=dt,wt=function(t){return bt(t)?t:void 0},xt=function(t,e){return arguments.length<2?wt(vt[t]):vt[t]&&vt[t][e]},At=$({}.isPrototypeOf),St=j,Et="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Rt=St.process,Pt=St.Deno,kt=Rt&&Rt.versions||Pt&&Pt.version,Ot=kt&&kt.v8;Ot&&(W=(q=Ot.split("."))[0]>0&&q[0]<4?1:+(q[0]+q[1])),!W&&Et&&(!(q=Et.match(/Edge\/(\d+)/))||q[1]>=74)&&(q=Et.match(/Chrome\/(\d+)/))&&(W=+q[1]);var jt=W,It=jt,Tt=T,_t=!!Object.getOwnPropertySymbols&&!Tt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&It&&It<41})),Nt=_t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ut=xt,Ct=dt,Lt=At,Ft=Object,Bt=Nt?function(t){return"symbol"==typeof t}:function(t){var e=Ut("Symbol");return Ct(e)&&Lt(e.prototype,Ft(t))},Dt=String,Mt=function(t){try{return Dt(t)}catch(t){return"Object"}},qt=dt,Wt=Mt,Gt=TypeError,zt=function(t){if(qt(t))return t;throw Gt(Wt(t)+" is not a function")},Ht=zt,Vt=ot,Yt=function(t,e){var r=t[e];return Vt(r)?void 0:Ht(r)},$t=L,Jt=dt,Qt=gt,Kt=TypeError,Xt={exports:{}},Zt=j,te=Object.defineProperty,ee=function(t,e){try{te(Zt,t,{value:e,configurable:!0,writable:!0})}catch(r){Zt[t]=e}return e},re=ee,ne="__core-js_shared__",oe=j[ne]||re(ne,{}),ie=oe;(Xt.exports=function(t,e){return ie[t]||(ie[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"});var ae=Xt.exports,ue=ut,se=Object,ce=function(t){return se(ue(t))},pe=ce,le=$({}.hasOwnProperty),fe=Object.hasOwn||function(t,e){return le(pe(t),e)},he=$,de=0,ye=Math.random(),me=he(1..toString),ge=function(t){return"Symbol("+(void 0===t?"":t)+")_"+me(++de+ye,36)},ve=ae,be=fe,we=ge,xe=_t,Ae=Nt,Se=j.Symbol,Ee=ve("wks"),Re=Ae?Se.for||Se:Se&&Se.withoutSetter||we,Pe=function(t){return be(Ee,t)||(Ee[t]=xe&&be(Se,t)?Se[t]:Re("Symbol."+t)),Ee[t]},ke=L,Oe=gt,je=Bt,Ie=Yt,Te=function(t,e){var r,n;if("string"===e&&Jt(r=t.toString)&&!Qt(n=$t(r,t)))return n;if(Jt(r=t.valueOf)&&!Qt(n=$t(r,t)))return n;if("string"!==e&&Jt(r=t.toString)&&!Qt(n=$t(r,t)))return n;throw Kt("Can't convert object to primitive value")},_e=TypeError,Ne=Pe("toPrimitive"),Ue=function(t,e){if(!Oe(t)||je(t))return t;var r,n=Ie(t,Ne);if(n){if(void 0===e&&(e="default"),r=ke(n,t,e),!Oe(r)||je(r))return r;throw _e("Can't convert object to primitive value")}return void 0===e&&(e="number"),Te(t,e)},Ce=Ue,Le=Bt,Fe=function(t){var e=Ce(t,"string");return Le(e)?e:e+""},Be=gt,De=j.document,Me=Be(De)&&Be(De.createElement),qe=function(t){return Me?De.createElement(t):{}},We=qe,Ge=!_&&!T((function(){return 7!=Object.defineProperty(We("div"),"a",{get:function(){return 7}}).a})),ze=_,He=L,Ve=F,Ye=G,$e=pt,Je=Fe,Qe=fe,Ke=Ge,Xe=Object.getOwnPropertyDescriptor;I.f=ze?Xe:function(t,e){if(t=$e(t),e=Je(e),Ke)try{return Xe(t,e)}catch(t){}if(Qe(t,e))return Ye(!He(Ve.f,t,e),t[e])};var Ze={},tr=_&&T((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),er=gt,rr=String,nr=TypeError,or=function(t){if(er(t))return t;throw nr(rr(t)+" is not an object")},ir=_,ar=Ge,ur=tr,sr=or,cr=Fe,pr=TypeError,lr=Object.defineProperty,fr=Object.getOwnPropertyDescriptor,hr="enumerable",dr="configurable",yr="writable";Ze.f=ir?ur?function(t,e,r){if(sr(t),e=cr(e),sr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&yr in r&&!r.writable){var n=fr(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:dr in r?r.configurable:n.configurable,enumerable:hr in r?r.enumerable:n.enumerable,writable:!1})}return lr(t,e,r)}:lr:function(t,e,r){if(sr(t),e=cr(e),sr(r),ar)try{return lr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw pr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var mr=Ze,gr=G,vr=_?function(t,e,r){return mr.f(t,e,gr(1,r))}:function(t,e,r){return t[e]=r,t},br={exports:{}},wr=_,xr=fe,Ar=Function.prototype,Sr=wr&&Object.getOwnPropertyDescriptor,Er=xr(Ar,"name"),Rr={EXISTS:Er,PROPER:Er&&"something"===function(){}.name,CONFIGURABLE:Er&&(!wr||wr&&Sr(Ar,"name").configurable)},Pr=dt,kr=oe,Or=$(Function.toString);Pr(kr.inspectSource)||(kr.inspectSource=function(t){return Or(t)});var jr,Ir,Tr,_r=kr.inspectSource,Nr=dt,Ur=j.WeakMap,Cr=Nr(Ur)&&/native code/.test(String(Ur)),Lr=ge,Fr=ae("keys"),Br=function(t){return Fr[t]||(Fr[t]=Lr(t))},Dr={},Mr=Cr,qr=j,Wr=gt,Gr=vr,zr=fe,Hr=oe,Vr=Br,Yr=Dr,$r="Object already initialized",Jr=qr.TypeError,Qr=qr.WeakMap;if(Mr||Hr.state){var Kr=Hr.state||(Hr.state=new Qr);Kr.get=Kr.get,Kr.has=Kr.has,Kr.set=Kr.set,jr=function(t,e){if(Kr.has(t))throw Jr($r);return e.facade=t,Kr.set(t,e),e},Ir=function(t){return Kr.get(t)||{}},Tr=function(t){return Kr.has(t)}}else{var Xr=Vr("state");Yr[Xr]=!0,jr=function(t,e){if(zr(t,Xr))throw Jr($r);return e.facade=t,Gr(t,Xr,e),e},Ir=function(t){return zr(t,Xr)?t[Xr]:{}},Tr=function(t){return zr(t,Xr)}}var Zr={set:jr,get:Ir,has:Tr,enforce:function(t){return Tr(t)?Ir(t):jr(t,{})},getterFor:function(t){return function(e){var r;if(!Wr(e)||(r=Ir(e)).type!==t)throw Jr("Incompatible receiver, "+t+" required");return r}}},tn=$,en=T,rn=dt,nn=fe,on=_,an=Rr.CONFIGURABLE,un=_r,sn=Zr.enforce,cn=Zr.get,pn=String,ln=Object.defineProperty,fn=tn("".slice),hn=tn("".replace),dn=tn([].join),yn=on&&!en((function(){return 8!==ln((function(){}),"length",{value:8}).length})),mn=String(String).split("String"),gn=br.exports=function(t,e,r){"Symbol("===fn(pn(e),0,7)&&(e="["+hn(pn(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!nn(t,"name")||an&&t.name!==e)&&(on?ln(t,"name",{value:e,configurable:!0}):t.name=e),yn&&r&&nn(r,"arity")&&t.length!==r.arity&&ln(t,"length",{value:r.arity});try{r&&nn(r,"constructor")&&r.constructor?on&&ln(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=sn(t);return nn(n,"source")||(n.source=dn(mn,"string"==typeof e?e:"")),t};Function.prototype.toString=gn((function(){return rn(this)&&cn(this).source||un(this)}),"toString");var vn=br.exports,bn=dt,wn=Ze,xn=vn,An=ee,Sn=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(bn(r)&&xn(r,i,n),n.global)o?t[e]=r:An(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:wn.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},En={},Rn=Math.ceil,Pn=Math.floor,kn=Math.trunc||function(t){var e=+t;return(e>0?Pn:Rn)(e)},On=function(t){var e=+t;return e!=e||0===e?0:kn(e)},jn=On,In=Math.max,Tn=Math.min,_n=function(t,e){var r=jn(t);return r<0?In(r+e,0):Tn(r,e)},Nn=On,Un=Math.min,Cn=function(t){return t>0?Un(Nn(t),9007199254740991):0},Ln=Cn,Fn=function(t){return Ln(t.length)},Bn=pt,Dn=_n,Mn=Fn,qn=function(t){return function(e,r,n){var o,i=Bn(e),a=Mn(i),u=Dn(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},Wn={includes:qn(!0),indexOf:qn(!1)},Gn=fe,zn=pt,Hn=Wn.indexOf,Vn=Dr,Yn=$([].push),$n=function(t,e){var r,n=zn(t),o=0,i=[];for(r in n)!Gn(Vn,r)&&Gn(n,r)&&Yn(i,r);for(;e.length>o;)Gn(n,r=e[o++])&&(~Hn(i,r)||Yn(i,r));return i},Jn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Qn=$n,Kn=Jn.concat("length","prototype");En.f=Object.getOwnPropertyNames||function(t){return Qn(t,Kn)};var Xn={};Xn.f=Object.getOwnPropertySymbols;var Zn=xt,to=En,eo=Xn,ro=or,no=$([].concat),oo=Zn("Reflect","ownKeys")||function(t){var e=to.f(ro(t)),r=eo.f;return r?no(e,r(t)):e},io=fe,ao=oo,uo=I,so=Ze,co=T,po=dt,lo=/#|\.prototype\./,fo=function(t,e){var r=yo[ho(t)];return r==go||r!=mo&&(po(e)?co(e):!!e)},ho=fo.normalize=function(t){return String(t).replace(lo,".").toLowerCase()},yo=fo.data={},mo=fo.NATIVE="N",go=fo.POLYFILL="P",vo=fo,bo=j,wo=I.f,xo=vr,Ao=Sn,So=ee,Eo=function(t,e,r){for(var n=ao(e),o=so.f,i=uo.f,a=0;a<n.length;a++){var u=n[a];io(t,u)||r&&io(r,u)||o(t,u,i(e,u))}},Ro=vo,Po=function(t,e){var r,n,o,i,a,u=t.target,s=t.global,c=t.stat;if(r=s?bo:c?bo[u]||So(u,{}):(bo[u]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=wo(r,n))&&a.value:r[n],!Ro(s?n:u+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Eo(i,o)}(t.sham||o&&o.sham)&&xo(i,"sham",!0),Ao(r,n,i,t)}},ko=X,Oo=Array.isArray||function(t){return"Array"==ko(t)},jo=TypeError,Io=Fe,To=Ze,_o=G,No=function(t,e,r){var n=Io(e);n in t?To.f(t,n,_o(0,r)):t[n]=r},Uo={};Uo[Pe("toStringTag")]="z";var Co="[object z]"===String(Uo),Lo=Co,Fo=dt,Bo=X,Do=Pe("toStringTag"),Mo=Object,qo="Arguments"==Bo(function(){return arguments}()),Wo=Lo?Bo:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Mo(t),Do))?r:qo?Bo(e):"Object"==(n=Bo(e))&&Fo(e.callee)?"Arguments":n},Go=$,zo=T,Ho=dt,Vo=Wo,Yo=_r,$o=function(){},Jo=[],Qo=xt("Reflect","construct"),Ko=/^\s*(?:class|function)\b/,Xo=Go(Ko.exec),Zo=!Ko.exec($o),ti=function(t){if(!Ho(t))return!1;try{return Qo($o,Jo,t),!0}catch(t){return!1}},ei=function(t){if(!Ho(t))return!1;switch(Vo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Zo||!!Xo(Ko,Yo(t))}catch(t){return!0}};ei.sham=!0;var ri=!Qo||zo((function(){var t;return ti(ti.call)||!ti(Object)||!ti((function(){t=!0}))||t}))?ei:ti,ni=Oo,oi=ri,ii=gt,ai=Pe("species"),ui=Array,si=function(t){var e;return ni(t)&&(e=t.constructor,(oi(e)&&(e===ui||ni(e.prototype))||ii(e)&&null===(e=e[ai]))&&(e=void 0)),void 0===e?ui:e},ci=function(t,e){return new(si(t))(0===e?0:e)},pi=T,li=jt,fi=Pe("species"),hi=function(t){return li>=51||!pi((function(){var e=[];return(e.constructor={})[fi]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},di=Po,yi=T,mi=Oo,gi=gt,vi=ce,bi=Fn,wi=function(t){if(t>9007199254740991)throw jo("Maximum allowed index exceeded");return t},xi=No,Ai=ci,Si=hi,Ei=jt,Ri=Pe("isConcatSpreadable"),Pi=Ei>=51||!yi((function(){var t=[];return t[Ri]=!1,t.concat()[0]!==t})),ki=function(t){if(!gi(t))return!1;var e=t[Ri];return void 0!==e?!!e:mi(t)};di({target:"Array",proto:!0,arity:1,forced:!Pi||!Si("concat")},{concat:function(t){var e,r,n,o,i,a=vi(this),u=Ai(a,0),s=0;for(e=-1,n=arguments.length;e<n;e++)if(ki(i=-1===e?a:arguments[e]))for(o=bi(i),wi(s+o),r=0;r<o;r++,s++)r in i&&xi(u,s,i[r]);else wi(s+1),xi(u,s++,i);return u.length=s,u}});var Oi=vn,ji=Ze,Ii=function(t,e,r){return r.get&&Oi(r.get,e,{getter:!0}),r.set&&Oi(r.set,e,{setter:!0}),ji.f(t,e,r)},Ti=_,_i=Rr.EXISTS,Ni=$,Ui=Ii,Ci=Function.prototype,Li=Ni(Ci.toString),Fi=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Bi=Ni(Fi.exec);Ti&&!_i&&Ui(Ci,"name",{configurable:!0,get:function(){try{return Bi(Fi,Li(this))[1]}catch(t){return""}}});var Di=$,Mi=zt,qi=dt,Wi=String,Gi=TypeError,zi=function(t,e,r){try{return Di(Mi(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},Hi=or,Vi=function(t){if("object"==typeof t||qi(t))return t;throw Gi("Can't set "+Wi(t)+" as a prototype")},Yi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=zi(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return Hi(r),Vi(n),e?t(r,n):r.__proto__=n,r}}():void 0);Po({target:"Object",stat:!0},{setPrototypeOf:Yi});var $i=function(t){f(r,t);var e=x(r);function r(t){var n;s(this,r);var o="This function is not supported in ".concat(t," environment");return n=e.call(this,o),Error.captureStackTrace&&Error.captureStackTrace(b(n),r),n.name="UnsupportedPlatformError",n.platform=t,Object.setPrototypeOf(b(n),r.prototype),n}return p(r)}(g(Error));function Ji(){this._types=Object.create(null),this._extensions=Object.create(null);for(let t=0;t<arguments.length;t++)this.define(arguments[t]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}Ji.prototype.define=function(t,e){for(let r in t){let n=t[r].map((function(t){return t.toLowerCase()}));r=r.toLowerCase();for(let t=0;t<n.length;t++){const o=n[t];if("*"!==o[0]){if(!e&&o in this._types)throw new Error('Attempt to change mapping for "'+o+'" extension from "'+this._types[o]+'" to "'+r+'". Pass `force=true` to allow this, otherwise remove "'+o+'" from the list of extensions for "'+r+'".');this._types[o]=r}}if(e||!this._extensions[r]){const t=n[0];this._extensions[r]="*"!==t[0]?t:t.substr(1)}}},Ji.prototype.getType=function(t){let e=(t=String(t)).replace(/^.*[/\\]/,"").toLowerCase(),r=e.replace(/^.*\./,"").toLowerCase(),n=e.length<t.length;return(r.length<e.length-1||!n)&&this._types[r]||null},Ji.prototype.getExtension=function(t){return(t=/^\s*([^;\s]*)/.test(t)&&RegExp.$1)&&this._extensions[t.toLowerCase()]||null};var Qi=P(new Ji({"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]})),Ki="4.0.3",Xi=function(){var t=u(o().mark((function t(){var e;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":i(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){t.next=2;break}return t.abrupt("return",kintone.getRequestToken());case 2:if("object"!==("undefined"==typeof garoon?"undefined":i(garoon))||null===garoon||"function"!=typeof(null===(e=garoon.connect)||void 0===e||null===(e=e.kintone)||void 0===e?void 0:e.getRequestToken)){t.next=4;break}return t.abrupt("return",garoon.connect.kintone.getRequestToken());case 4:throw new Error("session authentication must specify a request token");case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Zi=Object.freeze({__proto__:null,buildBaseUrl:function(t){if(t)return t;if(void 0===location)throw new Error("The baseUrl parameter is required for this environment");var e=location,r=e.host,n=e.protocol;return"".concat(n,"//").concat(r)},buildFormDataValue:function(t,e){var r={};return e&&(r.type=Qi.getType(e)||void 0),new Blob([t],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Xi,getVersion:function(){return Ki},readFileFromPath:function(t){throw new $i("Browser")}}),ta=Wo,ea=String,ra=function(t){if("Symbol"===ta(t))throw TypeError("Cannot convert a Symbol value to a string");return ea(t)},na=or,oa=function(){var t=na(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},ia=T,aa=j.RegExp,ua=ia((function(){var t=aa("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),sa=ua||ia((function(){return!aa("a","y").sticky})),ca={BROKEN_CARET:ua||ia((function(){var t=aa("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:sa,UNSUPPORTED_Y:ua},pa={},la=$n,fa=Jn,ha=Object.keys||function(t){return la(t,fa)},da=_,ya=tr,ma=Ze,ga=or,va=pt,ba=ha;pa.f=da&&!ya?Object.defineProperties:function(t,e){ga(t);for(var r,n=va(e),o=ba(e),i=o.length,a=0;i>a;)ma.f(t,r=o[a++],n[r]);return t};var wa,xa=xt("document","documentElement"),Aa=or,Sa=pa,Ea=Jn,Ra=Dr,Pa=xa,ka=qe,Oa=Br("IE_PROTO"),ja=function(){},Ia=function(t){return"<script>"+t+"</"+"script>"},Ta=function(t){t.write(Ia("")),t.close();var e=t.parentWindow.Object;return t=null,e},_a=function(){try{wa=new ActiveXObject("htmlfile")}catch(t){}var t,e;_a="undefined"!=typeof document?document.domain&&wa?Ta(wa):((e=ka("iframe")).style.display="none",Pa.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Ia("document.F=Object")),t.close(),t.F):Ta(wa);for(var r=Ea.length;r--;)delete _a.prototype[Ea[r]];return _a()};Ra[Oa]=!0;var Na,Ua,Ca=Object.create||function(t,e){var r;return null!==t?(ja.prototype=Aa(t),r=new ja,ja.prototype=null,r[Oa]=t):r=_a(),void 0===e?r:Sa.f(r,e)},La=T,Fa=j.RegExp,Ba=La((function(){var t=Fa(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Da=T,Ma=j.RegExp,qa=Da((function(){var t=Ma("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Wa=L,Ga=$,za=ra,Ha=oa,Va=ca,Ya=Ca,$a=Zr.get,Ja=Ba,Qa=qa,Ka=ae("native-string-replace",String.prototype.replace),Xa=RegExp.prototype.exec,Za=Xa,tu=Ga("".charAt),eu=Ga("".indexOf),ru=Ga("".replace),nu=Ga("".slice),ou=(Ua=/b*/g,Wa(Xa,Na=/a/,"a"),Wa(Xa,Ua,"a"),0!==Na.lastIndex||0!==Ua.lastIndex),iu=Va.BROKEN_CARET,au=void 0!==/()??/.exec("")[1];(ou||au||iu||Ja||Qa)&&(Za=function(t){var e,r,n,o,i,a,u,s=this,c=$a(s),p=za(t),l=c.raw;if(l)return l.lastIndex=s.lastIndex,e=Wa(Za,l,p),s.lastIndex=l.lastIndex,e;var f=c.groups,h=iu&&s.sticky,d=Wa(Ha,s),y=s.source,m=0,g=p;if(h&&(d=ru(d,"y",""),-1===eu(d,"g")&&(d+="g"),g=nu(p,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==tu(p,s.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),au&&(r=new RegExp("^"+y+"$(?!\\s)",d)),ou&&(n=s.lastIndex),o=Wa(Xa,h?r:s,g),h?o?(o.input=nu(o.input,m),o[0]=nu(o[0],m),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:ou&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),au&&o&&o.length>1&&Wa(Ka,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&f)for(o.groups=a=Ya(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var uu=Za;Po({target:"RegExp",proto:!0,forced:/./.exec!==uu},{exec:uu});var su=N,cu=Function.prototype,pu=cu.apply,lu=cu.call,fu="object"==typeof Reflect&&Reflect.apply||(su?lu.bind(pu):function(){return lu.apply(pu,arguments)}),hu=X,du=$,yu=function(t){if("Function"===hu(t))return du(t)},mu=yu,gu=Sn,vu=uu,bu=T,wu=Pe,xu=vr,Au=wu("species"),Su=RegExp.prototype,Eu=function(t,e,r,n){var o=wu(t),i=!bu((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!bu((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Au]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var u=mu(/./[o]),s=e(o,""[t],(function(t,e,r,n,o){var a=mu(t),s=e.exec;return s===vu||s===Su.exec?i&&!o?{done:!0,value:u(e,r,n)}:{done:!0,value:a(r,e,n)}:{done:!1}}));gu(String.prototype,t,s[0]),gu(Su,o,s[1])}n&&xu(Su[o],"sham",!0)},Ru=$,Pu=On,ku=ra,Ou=ut,ju=Ru("".charAt),Iu=Ru("".charCodeAt),Tu=Ru("".slice),_u=function(t){return function(e,r){var n,o,i=ku(Ou(e)),a=Pu(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=Iu(i,a))<55296||n>56319||a+1===u||(o=Iu(i,a+1))<56320||o>57343?t?ju(i,a):n:t?Tu(i,a,a+2):o-56320+(n-55296<<10)+65536}},Nu={codeAt:_u(!1),charAt:_u(!0)},Uu=Nu.charAt,Cu=function(t,e,r){return e+(r?Uu(t,e).length:1)},Lu=$,Fu=ce,Bu=Math.floor,Du=Lu("".charAt),Mu=Lu("".replace),qu=Lu("".slice),Wu=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Gu=/\$([$&'`]|\d{1,2})/g,zu=L,Hu=or,Vu=dt,Yu=X,$u=uu,Ju=TypeError,Qu=function(t,e){var r=t.exec;if(Vu(r)){var n=zu(r,t,e);return null!==n&&Hu(n),n}if("RegExp"===Yu(t))return zu($u,t,e);throw Ju("RegExp#exec called on incompatible receiver")},Ku=fu,Xu=L,Zu=$,ts=Eu,es=T,rs=or,ns=dt,os=ot,is=On,as=Cn,us=ra,ss=ut,cs=Cu,ps=Yt,ls=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=Gu;return void 0!==o&&(o=Fu(o),s=Wu),Mu(i,s,(function(i,s){var c;switch(Du(s,0)){case"$":return"$";case"&":return t;case"`":return qu(e,0,r);case"'":return qu(e,a);case"<":c=o[qu(s,1,-1)];break;default:var p=+s;if(0===p)return i;if(p>u){var l=Bu(p/10);return 0===l?i:l<=u?void 0===n[l-1]?Du(s,1):n[l-1]+Du(s,1):i}c=n[p-1]}return void 0===c?"":c}))},fs=Qu,hs=Pe("replace"),ds=Math.max,ys=Math.min,ms=Zu([].concat),gs=Zu([].push),vs=Zu("".indexOf),bs=Zu("".slice),ws="$0"==="a".replace(/./,"$0"),xs=!!/./[hs]&&""===/./[hs]("a","$0");ts("replace",(function(t,e,r){var n=xs?"$":"$0";return[function(t,r){var n=ss(this),o=os(t)?void 0:ps(t,hs);return o?Xu(o,t,n,r):Xu(e,us(n),t,r)},function(t,o){var i=rs(this),a=us(t);if("string"==typeof o&&-1===vs(o,n)&&-1===vs(o,"$<")){var u=r(e,i,a,o);if(u.done)return u.value}var s=ns(o);s||(o=us(o));var c=i.global;if(c){var p=i.unicode;i.lastIndex=0}for(var l=[];;){var f=fs(i,a);if(null===f)break;if(gs(l,f),!c)break;""===us(f[0])&&(i.lastIndex=cs(a,as(i.lastIndex),p))}for(var h,d="",y=0,m=0;m<l.length;m++){for(var g=us((f=l[m])[0]),v=ds(ys(is(f.index),a.length),0),b=[],w=1;w<f.length;w++)gs(b,void 0===(h=f[w])?h:String(h));var x=f.groups;if(s){var A=ms([g],b,v,a);void 0!==x&&gs(A,x);var S=us(Ku(o,void 0,A))}else S=ls(g,a,v,b,x,o);v>=y&&(d+=bs(a,y,v)+S,y=v+g.length)}return d+bs(a,y)}]}),!!es((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!ws||xs);var As=Pe,Ss=Ca,Es=Ze.f,Rs=As("unscopables"),Ps=Array.prototype;null==Ps[Rs]&&Es(Ps,Rs,{configurable:!0,value:Ss(null)});var ks,Os,js,Is={},Ts=!T((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),_s=fe,Ns=dt,Us=ce,Cs=Ts,Ls=Br("IE_PROTO"),Fs=Object,Bs=Fs.prototype,Ds=Cs?Fs.getPrototypeOf:function(t){var e=Us(t);if(_s(e,Ls))return e[Ls];var r=e.constructor;return Ns(r)&&e instanceof r?r.prototype:e instanceof Fs?Bs:null},Ms=T,qs=dt,Ws=gt,Gs=Ds,zs=Sn,Hs=Pe("iterator"),Vs=!1;[].keys&&("next"in(js=[].keys())?(Os=Gs(Gs(js)))!==Object.prototype&&(ks=Os):Vs=!0);var Ys=!Ws(ks)||Ms((function(){var t={};return ks[Hs].call(t)!==t}));Ys&&(ks={}),qs(ks[Hs])||zs(ks,Hs,(function(){return this}));var $s={IteratorPrototype:ks,BUGGY_SAFARI_ITERATORS:Vs},Js=Ze.f,Qs=fe,Ks=Pe("toStringTag"),Xs=function(t,e,r){t&&!r&&(t=t.prototype),t&&!Qs(t,Ks)&&Js(t,Ks,{configurable:!0,value:e})},Zs=$s.IteratorPrototype,tc=Ca,ec=G,rc=Xs,nc=Is,oc=function(){return this},ic=function(t,e,r,n){var o=e+" Iterator";return t.prototype=tc(Zs,{next:ec(+!n,r)}),rc(t,o,!1),nc[o]=oc,t},ac=Po,uc=L,sc=dt,cc=ic,pc=Ds,lc=Yi,fc=Xs,hc=vr,dc=Sn,yc=Is,mc=Rr.PROPER,gc=Rr.CONFIGURABLE,vc=$s.IteratorPrototype,bc=$s.BUGGY_SAFARI_ITERATORS,wc=Pe("iterator"),xc="keys",Ac="values",Sc="entries",Ec=function(){return this},Rc=function(t,e,r,n,o,i,a){cc(r,e,n);var u,s,c,p=function(t){if(t===o&&y)return y;if(!bc&&t in h)return h[t];switch(t){case xc:case Ac:case Sc:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",f=!1,h=t.prototype,d=h[wc]||h["@@iterator"]||o&&h[o],y=!bc&&d||p(o),m="Array"==e&&h.entries||d;if(m&&(u=pc(m.call(new t)))!==Object.prototype&&u.next&&(pc(u)!==vc&&(lc?lc(u,vc):sc(u[wc])||dc(u,wc,Ec)),fc(u,l,!0)),mc&&o==Ac&&d&&d.name!==Ac&&(gc?hc(h,"name",Ac):(f=!0,y=function(){return uc(d,this)})),o)if(s={values:p(Ac),keys:i?y:p(xc),entries:p(Sc)},a)for(c in s)(bc||f||!(c in h))&&dc(h,c,s[c]);else ac({target:e,proto:!0,forced:bc||f},s);return h[wc]!==y&&dc(h,wc,y,{name:o}),yc[e]=y,s},Pc=function(t,e){return{value:t,done:e}},kc=pt,Oc=function(t){Ps[Rs][t]=!0},jc=Is,Ic=Zr,Tc=Ze.f,_c=Rc,Nc=Pc,Uc=_,Cc="Array Iterator",Lc=Ic.set,Fc=Ic.getterFor(Cc),Bc=_c(Array,"Array",(function(t,e){Lc(this,{type:Cc,target:kc(t),index:0,kind:e})}),(function(){var t=Fc(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,Nc(void 0,!0)):Nc("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),Dc=jc.Arguments=jc.Array;if(Oc("keys"),Oc("values"),Oc("entries"),Uc&&"values"!==Dc.name)try{Tc(Dc,"name",{value:"values"})}catch(t){}var Mc=Wo,qc=Co?{}.toString:function(){return"[object "+Mc(this)+"]"};Co||Sn(Object.prototype,"toString",qc,{unsafe:!0});var Wc=Nu.charAt,Gc=ra,zc=Zr,Hc=Rc,Vc=Pc,Yc="String Iterator",$c=zc.set,Jc=zc.getterFor(Yc);Hc(String,"String",(function(t){$c(this,{type:Yc,string:Gc(t),index:0})}),(function(){var t,e=Jc(this),r=e.string,n=e.index;return n>=r.length?Vc(void 0,!0):(t=Wc(r,n),e.index+=t.length,Vc(t,!1))}));var Qc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Kc=qe("span").classList,Xc=Kc&&Kc.constructor&&Kc.constructor.prototype,Zc=Xc===Object.prototype?void 0:Xc,tp=j,ep=Qc,rp=Zc,np=Bc,op=vr,ip=Pe,ap=ip("iterator"),up=ip("toStringTag"),sp=np.values,cp=function(t,e){if(t){if(t[ap]!==sp)try{op(t,ap,sp)}catch(e){t[ap]=sp}if(t[up]||op(t,up,e),ep[e])for(var r in np)if(t[r]!==np[r])try{op(t,r,np[r])}catch(e){t[r]=np[r]}}};for(var pp in ep)cp(tp[pp]&&tp[pp].prototype,pp);cp(rp,"DOMTokenList");var lp=T,fp=_,hp=Pe("iterator"),dp=!lp((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),!e.size&&!fp||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[hp]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),yp=zt,mp=N,gp=yu(yu.bind),vp=function(t,e){return yp(t),void 0===e?t:mp?gp(t,e):function(){return t.apply(e,arguments)}},bp=At,wp=TypeError,xp=function(t,e){if(bp(e,t))return t;throw wp("Incorrect invocation")},Ap=_,Sp=$,Ep=L,Rp=T,Pp=ha,kp=Xn,Op=F,jp=ce,Ip=nt,Tp=Object.assign,_p=Object.defineProperty,Np=Sp([].concat),Up=!Tp||Rp((function(){if(Ap&&1!==Tp({b:1},Tp(_p({},"a",{enumerable:!0,get:function(){_p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=Tp({},t)[r]||Pp(Tp({},e)).join("")!=n}))?function(t,e){for(var r=jp(t),n=arguments.length,o=1,i=kp.f,a=Op.f;n>o;)for(var u,s=Ip(arguments[o++]),c=i?Np(Pp(s),i(s)):Pp(s),p=c.length,l=0;p>l;)u=c[l++],Ap&&!Ep(a,s,u)||(r[u]=s[u]);return r}:Tp,Cp=L,Lp=or,Fp=Yt,Bp=or,Dp=function(t,e,r){var n,o;Lp(t);try{if(!(n=Fp(t,"return"))){if("throw"===e)throw r;return r}n=Cp(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return Lp(n),r},Mp=Is,qp=Pe("iterator"),Wp=Array.prototype,Gp=Wo,zp=Yt,Hp=ot,Vp=Is,Yp=Pe("iterator"),$p=function(t){if(!Hp(t))return zp(t,Yp)||zp(t,"@@iterator")||Vp[Gp(t)]},Jp=L,Qp=zt,Kp=or,Xp=Mt,Zp=$p,tl=TypeError,el=function(t,e){var r=arguments.length<2?Zp(t):e;if(Qp(r))return Kp(Jp(r,t));throw tl(Xp(t)+" is not iterable")},rl=vp,nl=L,ol=ce,il=function(t,e,r,n){try{return n?e(Bp(r)[0],r[1]):e(r)}catch(e){Dp(t,"throw",e)}},al=function(t){return void 0!==t&&(Mp.Array===t||Wp[qp]===t)},ul=ri,sl=Fn,cl=No,pl=el,ll=$p,fl=Array,hl=_n,dl=Fn,yl=No,ml=Array,gl=Math.max,vl=function(t,e,r){for(var n=dl(t),o=hl(e,n),i=hl(void 0===r?n:r,n),a=ml(gl(i-o,0)),u=0;o<i;o++,u++)yl(a,u,t[o]);return a.length=u,a},bl=$,wl=2147483647,xl=/[^\0-\u007E]/,Al=/[.\u3002\uFF0E\uFF61]/g,Sl="Overflow: input needs wider integers to process",El=RangeError,Rl=bl(Al.exec),Pl=Math.floor,kl=String.fromCharCode,Ol=bl("".charCodeAt),jl=bl([].join),Il=bl([].push),Tl=bl("".replace),_l=bl("".split),Nl=bl("".toLowerCase),Ul=function(t){return t+22+75*(t<26)},Cl=function(t,e,r){var n=0;for(t=r?Pl(t/700):t>>1,t+=Pl(t/e);t>455;)t=Pl(t/35),n+=36;return Pl(n+36*t/(t+38))},Ll=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=Ol(t,r++);if(o>=55296&&o<=56319&&r<n){var i=Ol(t,r++);56320==(64512&i)?Il(e,((1023&o)<<10)+(1023&i)+65536):(Il(e,o),r--)}else Il(e,o)}return e}(t);var r,n,o=t.length,i=128,a=0,u=72;for(r=0;r<t.length;r++)(n=t[r])<128&&Il(e,kl(n));var s=e.length,c=s;for(s&&Il(e,"-");c<o;){var p=wl;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<p&&(p=n);var l=c+1;if(p-i>Pl((wl-a)/l))throw El(Sl);for(a+=(p-i)*l,i=p,r=0;r<t.length;r++){if((n=t[r])<i&&++a>wl)throw El(Sl);if(n==i){for(var f=a,h=36;;){var d=h<=u?1:h>=u+26?26:h-u;if(f<d)break;var y=f-d,m=36-d;Il(e,kl(Ul(d+y%m))),f=Pl(y/m),h+=36}Il(e,kl(Ul(f))),u=Cl(a,l,c==s),a=0,c++}}a++,i++}return jl(e,"")},Fl=TypeError,Bl=function(t,e){if(t<e)throw Fl("Not enough arguments");return t},Dl=Sn,Ml=vl,ql=Math.floor,Wl=function(t,e){var r=t.length,n=ql(r/2);return r<8?Gl(t,e):zl(t,Wl(Ml(t,0,n),e),Wl(Ml(t,n),e),e)},Gl=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},zl=function(t,e,r,n){for(var o=e.length,i=r.length,a=0,u=0;a<o||u<i;)t[a+u]=a<o&&u<i?n(e[a],r[u])<=0?e[a++]:r[u++]:a<o?e[a++]:r[u++];return t},Hl=Po,Vl=j,Yl=L,$l=$,Jl=_,Ql=dp,Kl=Sn,Xl=Ii,Zl=function(t,e,r){for(var n in e)Dl(t,n,e[n],r);return t},tf=Xs,ef=ic,rf=Zr,nf=xp,of=dt,af=fe,uf=vp,sf=Wo,cf=or,pf=gt,lf=ra,ff=Ca,hf=G,df=el,yf=$p,mf=Bl,gf=Wl,vf=Pe("iterator"),bf="URLSearchParams",wf="URLSearchParamsIterator",xf=rf.set,Af=rf.getterFor(bf),Sf=rf.getterFor(wf),Ef=Object.getOwnPropertyDescriptor,Rf=function(t){if(!Jl)return Vl[t];var e=Ef(Vl,t);return e&&e.value},Pf=Rf("fetch"),kf=Rf("Request"),Of=Rf("Headers"),jf=kf&&kf.prototype,If=Of&&Of.prototype,Tf=Vl.RegExp,_f=Vl.TypeError,Nf=Vl.decodeURIComponent,Uf=Vl.encodeURIComponent,Cf=$l("".charAt),Lf=$l([].join),Ff=$l([].push),Bf=$l("".replace),Df=$l([].shift),Mf=$l([].splice),qf=$l("".split),Wf=$l("".slice),Gf=/\+/g,zf=Array(4),Hf=function(t){return zf[t-1]||(zf[t-1]=Tf("((?:%[\\da-f]{2}){"+t+"})","gi"))},Vf=function(t){try{return Nf(t)}catch(e){return t}},Yf=function(t){var e=Bf(t,Gf," "),r=4;try{return Nf(e)}catch(t){for(;r;)e=Bf(e,Hf(r--),Vf);return e}},$f=/[!'()~]|%20/g,Jf={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Qf=function(t){return Jf[t]},Kf=function(t){return Bf(Uf(t),$f,Qf)},Xf=ef((function(t,e){xf(this,{type:wf,iterator:df(Af(t).entries),kind:e})}),"Iterator",(function(){var t=Sf(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r}),!0),Zf=function(t){this.entries=[],this.url=null,void 0!==t&&(pf(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===Cf(t,0)?Wf(t,1):t:lf(t)))};Zf.prototype={type:bf,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,u,s=yf(t);if(s)for(r=(e=df(t,s)).next;!(n=Yl(r,e)).done;){if(i=(o=df(cf(n.value))).next,(a=Yl(i,o)).done||(u=Yl(i,o)).done||!Yl(i,o).done)throw _f("Expected sequence with length 2");Ff(this.entries,{key:lf(a.value),value:lf(u.value)})}else for(var c in t)af(t,c)&&Ff(this.entries,{key:c,value:lf(t[c])})},parseQuery:function(t){if(t)for(var e,r,n=qf(t,"&"),o=0;o<n.length;)(e=n[o++]).length&&(r=qf(e,"="),Ff(this.entries,{key:Yf(Df(r)),value:Yf(Lf(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],Ff(r,Kf(t.key)+"="+Kf(t.value));return Lf(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var th=function(){nf(this,eh);var t=arguments.length>0?arguments[0]:void 0,e=xf(this,new Zf(t));Jl||(this.length=e.entries.length)},eh=th.prototype;if(Zl(eh,{append:function(t,e){mf(arguments.length,2);var r=Af(this);Ff(r.entries,{key:lf(t),value:lf(e)}),Jl||this.length++,r.updateURL()},delete:function(t){mf(arguments.length,1);for(var e=Af(this),r=e.entries,n=lf(t),o=0;o<r.length;)r[o].key===n?Mf(r,o,1):o++;Jl||(this.length=r.length),e.updateURL()},get:function(t){mf(arguments.length,1);for(var e=Af(this).entries,r=lf(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){mf(arguments.length,1);for(var e=Af(this).entries,r=lf(t),n=[],o=0;o<e.length;o++)e[o].key===r&&Ff(n,e[o].value);return n},has:function(t){mf(arguments.length,1);for(var e=Af(this).entries,r=lf(t),n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){mf(arguments.length,1);for(var r,n=Af(this),o=n.entries,i=!1,a=lf(t),u=lf(e),s=0;s<o.length;s++)(r=o[s]).key===a&&(i?Mf(o,s--,1):(i=!0,r.value=u));i||Ff(o,{key:a,value:u}),Jl||(this.length=o.length),n.updateURL()},sort:function(){var t=Af(this);gf(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=Af(this).entries,n=uf(t,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new Xf(this,"keys")},values:function(){return new Xf(this,"values")},entries:function(){return new Xf(this,"entries")}},{enumerable:!0}),Kl(eh,vf,eh.entries,{name:"entries"}),Kl(eh,"toString",(function(){return Af(this).serialize()}),{enumerable:!0}),Jl&&Xl(eh,"size",{get:function(){return Af(this).entries.length},configurable:!0,enumerable:!0}),tf(th,bf),Hl({global:!0,constructor:!0,forced:!Ql},{URLSearchParams:th}),!Ql&&of(Of)){var rh=$l(If.has),nh=$l(If.set),oh=function(t){if(pf(t)){var e,r=t.body;if(sf(r)===bf)return e=t.headers?new Of(t.headers):new Of,rh(e,"content-type")||nh(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),ff(t,{body:hf(0,lf(r)),headers:hf(0,e)})}return t};if(of(Pf)&&Hl({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return Pf(t,arguments.length>1?oh(arguments[1]):{})}}),of(kf)){var ih=function(t){return nf(this,jf),new kf(t,arguments.length>1?oh(arguments[1]):{})};jf.constructor=ih,ih.prototype=jf,Hl({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ih})}}var ah,uh=Po,sh=_,ch=dp,ph=j,lh=vp,fh=$,hh=Sn,dh=Ii,yh=xp,mh=fe,gh=Up,vh=function(t){var e=ol(t),r=ul(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=rl(o,n>2?arguments[2]:void 0));var a,u,s,c,p,l,f=ll(e),h=0;if(!f||this===fl&&al(f))for(a=sl(e),u=r?new this(a):fl(a);a>h;h++)l=i?o(e[h],h):e[h],cl(u,h,l);else for(p=(c=pl(e,f)).next,u=r?new this:[];!(s=nl(p,c)).done;h++)l=i?il(c,o,[s.value,h],!0):s.value,cl(u,h,l);return u.length=h,u},bh=vl,wh=Nu.codeAt,xh=function(t){var e,r,n=[],o=_l(Tl(Nl(t),Al,"."),".");for(e=0;e<o.length;e++)r=o[e],Il(n,Rl(xl,r)?"xn--"+Ll(r):r);return jl(n,".")},Ah=ra,Sh=Xs,Eh=Bl,Rh={URLSearchParams:th,getState:Af},Ph=Zr,kh=Ph.set,Oh=Ph.getterFor("URL"),jh=Rh.URLSearchParams,Ih=Rh.getState,Th=ph.URL,_h=ph.TypeError,Nh=ph.parseInt,Uh=Math.floor,Ch=Math.pow,Lh=fh("".charAt),Fh=fh(/./.exec),Bh=fh([].join),Dh=fh(1..toString),Mh=fh([].pop),qh=fh([].push),Wh=fh("".replace),Gh=fh([].shift),zh=fh("".split),Hh=fh("".slice),Vh=fh("".toLowerCase),Yh=fh([].unshift),$h="Invalid scheme",Jh="Invalid host",Qh="Invalid port",Kh=/[a-z]/i,Xh=/[\d+-.a-z]/i,Zh=/\d/,td=/^0x/i,ed=/^[0-7]+$/,rd=/^\d+$/,nd=/^[\da-f]+$/i,od=/[\0\t\n\r #%/:<>?@[\\\]^|]/,id=/[\0\t\n\r #/:<>?@[\\\]^|]/,ad=/^[\u0000-\u0020]+/,ud=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,sd=/[\t\n\r]/g,cd=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)Yh(e,t%256),t=Uh(t/256);return Bh(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=Dh(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},pd={},ld=gh({},pd,{" ":1,'"':1,"<":1,">":1,"`":1}),fd=gh({},ld,{"#":1,"?":1,"{":1,"}":1}),hd=gh({},fd,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),dd=function(t,e){var r=wh(t,0);return r>32&&r<127&&!mh(e,t)?t:encodeURIComponent(t)},yd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},md=function(t,e){var r;return 2==t.length&&Fh(Kh,Lh(t,0))&&(":"==(r=Lh(t,1))||!e&&"|"==r)},gd=function(t){var e;return t.length>1&&md(Hh(t,0,2))&&(2==t.length||"/"===(e=Lh(t,2))||"\\"===e||"?"===e||"#"===e)},vd=function(t){return"."===t||"%2e"===Vh(t)},bd={},wd={},xd={},Ad={},Sd={},Ed={},Rd={},Pd={},kd={},Od={},jd={},Id={},Td={},_d={},Nd={},Ud={},Cd={},Ld={},Fd={},Bd={},Dd={},Md=function(t,e,r){var n,o,i,a=Ah(t);if(e){if(o=this.parse(a))throw _h(o);this.searchParams=null}else{if(void 0!==r&&(n=new Md(r,!0)),o=this.parse(a,null,n))throw _h(o);(i=Ih(new jh)).bindURL(this),this.searchParams=i}};Md.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,u,s=this,c=e||bd,p=0,l="",f=!1,h=!1,d=!1;for(t=Ah(t),e||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,t=Wh(t,ad,""),t=Wh(t,ud,"$1")),t=Wh(t,sd,""),n=vh(t);p<=n.length;){switch(o=n[p],c){case bd:if(!o||!Fh(Kh,o)){if(e)return $h;c=xd;continue}l+=Vh(o),c=wd;break;case wd:if(o&&(Fh(Xh,o)||"+"==o||"-"==o||"."==o))l+=Vh(o);else{if(":"!=o){if(e)return $h;l="",c=xd,p=0;continue}if(e&&(s.isSpecial()!=mh(yd,l)||"file"==l&&(s.includesCredentials()||null!==s.port)||"file"==s.scheme&&!s.host))return;if(s.scheme=l,e)return void(s.isSpecial()&&yd[s.scheme]==s.port&&(s.port=null));l="","file"==s.scheme?c=_d:s.isSpecial()&&r&&r.scheme==s.scheme?c=Ad:s.isSpecial()?c=Pd:"/"==n[p+1]?(c=Sd,p++):(s.cannotBeABaseURL=!0,qh(s.path,""),c=Fd)}break;case xd:if(!r||r.cannotBeABaseURL&&"#"!=o)return $h;if(r.cannotBeABaseURL&&"#"==o){s.scheme=r.scheme,s.path=bh(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,c=Dd;break}c="file"==r.scheme?_d:Ed;continue;case Ad:if("/"!=o||"/"!=n[p+1]){c=Ed;continue}c=kd,p++;break;case Sd:if("/"==o){c=Od;break}c=Ld;continue;case Ed:if(s.scheme=r.scheme,o==ah)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bh(r.path),s.query=r.query;else if("/"==o||"\\"==o&&s.isSpecial())c=Rd;else if("?"==o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bh(r.path),s.query="",c=Bd;else{if("#"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bh(r.path),s.path.length--,c=Ld;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bh(r.path),s.query=r.query,s.fragment="",c=Dd}break;case Rd:if(!s.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,c=Ld;continue}c=Od}else c=kd;break;case Pd:if(c=kd,"/"!=o||"/"!=Lh(l,p+1))continue;p++;break;case kd:if("/"!=o&&"\\"!=o){c=Od;continue}break;case Od:if("@"==o){f&&(l="%40"+l),f=!0,i=vh(l);for(var y=0;y<i.length;y++){var m=i[y];if(":"!=m||d){var g=dd(m,hd);d?s.password+=g:s.username+=g}else d=!0}l=""}else if(o==ah||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(f&&""==l)return"Invalid authority";p-=vh(l).length+1,l="",c=jd}else l+=o;break;case jd:case Id:if(e&&"file"==s.scheme){c=Ud;continue}if(":"!=o||h){if(o==ah||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(s.isSpecial()&&""==l)return Jh;if(e&&""==l&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(l))return a;if(l="",c=Cd,e)return;continue}"["==o?h=!0:"]"==o&&(h=!1),l+=o}else{if(""==l)return Jh;if(a=s.parseHost(l))return a;if(l="",c=Td,e==Id)return}break;case Td:if(!Fh(Zh,o)){if(o==ah||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()||e){if(""!=l){var v=Nh(l,10);if(v>65535)return Qh;s.port=s.isSpecial()&&v===yd[s.scheme]?null:v,l=""}if(e)return;c=Cd;continue}return Qh}l+=o;break;case _d:if(s.scheme="file","/"==o||"\\"==o)c=Nd;else{if(!r||"file"!=r.scheme){c=Ld;continue}if(o==ah)s.host=r.host,s.path=bh(r.path),s.query=r.query;else if("?"==o)s.host=r.host,s.path=bh(r.path),s.query="",c=Bd;else{if("#"!=o){gd(Bh(bh(n,p),""))||(s.host=r.host,s.path=bh(r.path),s.shortenPath()),c=Ld;continue}s.host=r.host,s.path=bh(r.path),s.query=r.query,s.fragment="",c=Dd}}break;case Nd:if("/"==o||"\\"==o){c=Ud;break}r&&"file"==r.scheme&&!gd(Bh(bh(n,p),""))&&(md(r.path[0],!0)?qh(s.path,r.path[0]):s.host=r.host),c=Ld;continue;case Ud:if(o==ah||"/"==o||"\\"==o||"?"==o||"#"==o){if(!e&&md(l))c=Ld;else if(""==l){if(s.host="",e)return;c=Cd}else{if(a=s.parseHost(l))return a;if("localhost"==s.host&&(s.host=""),e)return;l="",c=Cd}continue}l+=o;break;case Cd:if(s.isSpecial()){if(c=Ld,"/"!=o&&"\\"!=o)continue}else if(e||"?"!=o)if(e||"#"!=o){if(o!=ah&&(c=Ld,"/"!=o))continue}else s.fragment="",c=Dd;else s.query="",c=Bd;break;case Ld:if(o==ah||"/"==o||"\\"==o&&s.isSpecial()||!e&&("?"==o||"#"==o)){if(".."===(u=Vh(u=l))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(s.shortenPath(),"/"==o||"\\"==o&&s.isSpecial()||qh(s.path,"")):vd(l)?"/"==o||"\\"==o&&s.isSpecial()||qh(s.path,""):("file"==s.scheme&&!s.path.length&&md(l)&&(s.host&&(s.host=""),l=Lh(l,0)+":"),qh(s.path,l)),l="","file"==s.scheme&&(o==ah||"?"==o||"#"==o))for(;s.path.length>1&&""===s.path[0];)Gh(s.path);"?"==o?(s.query="",c=Bd):"#"==o&&(s.fragment="",c=Dd)}else l+=dd(o,fd);break;case Fd:"?"==o?(s.query="",c=Bd):"#"==o?(s.fragment="",c=Dd):o!=ah&&(s.path[0]+=dd(o,pd));break;case Bd:e||"#"!=o?o!=ah&&("'"==o&&s.isSpecial()?s.query+="%27":s.query+="#"==o?"%23":dd(o,pd)):(s.fragment="",c=Dd);break;case Dd:o!=ah&&(s.fragment+=dd(o,ld))}p++}},parseHost:function(t){var e,r,n;if("["==Lh(t,0)){if("]"!=Lh(t,t.length-1))return Jh;if(e=function(t){var e,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,p=null,l=0,f=function(){return Lh(t,l)};if(":"==f()){if(":"!=Lh(t,1))return;l+=2,p=++c}for(;f();){if(8==c)return;if(":"!=f()){for(e=r=0;r<4&&Fh(nd,f());)e=16*e+Nh(f(),16),l++,r++;if("."==f()){if(0==r)return;if(l-=r,c>6)return;for(n=0;f();){if(o=null,n>0){if(!("."==f()&&n<4))return;l++}if(!Fh(Zh,f()))return;for(;Fh(Zh,f());){if(i=Nh(f(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(l++,!f())return}else if(f())return;s[c++]=e}else{if(null!==p)return;l++,p=++c}}if(null!==p)for(a=c-p,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[p+a-1],s[p+--a]=u;else if(8!=c)return;return s}(Hh(t,1,-1)),!e)return Jh;this.host=e}else if(this.isSpecial()){if(t=xh(t),Fh(od,t))return Jh;if(e=function(t){var e,r,n,o,i,a,u,s=zh(t,".");if(s.length&&""==s[s.length-1]&&s.length--,(e=s.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=s[n]))return t;if(i=10,o.length>1&&"0"==Lh(o,0)&&(i=Fh(td,o)?16:8,o=Hh(o,8==i?1:2)),""===o)a=0;else{if(!Fh(10==i?rd:8==i?ed:nd,o))return t;a=Nh(o,i)}qh(r,a)}for(n=0;n<e;n++)if(a=r[n],n==e-1){if(a>=Ch(256,5-e))return null}else if(a>255)return null;for(u=Mh(r),n=0;n<r.length;n++)u+=r[n]*Ch(256,3-n);return u}(t),null===e)return Jh;this.host=e}else{if(Fh(id,t))return Jh;for(e="",r=vh(t),n=0;n<r.length;n++)e+=dd(r[n],pd);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return mh(yd,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"==this.scheme&&1==e&&md(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,u=t.query,s=t.fragment,c=e+":";return null!==o?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=cd(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+Bh(a,"/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},setHref:function(t){var e=this.parse(t);if(e)throw _h(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"==t)try{return new qd(t.path[0]).origin}catch(t){return"null"}return"file"!=t&&this.isSpecial()?t+"://"+cd(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(Ah(t)+":",bd)},getUsername:function(){return this.username},setUsername:function(t){var e=vh(Ah(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=dd(e[r],hd)}},getPassword:function(){return this.password},setPassword:function(t){var e=vh(Ah(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=dd(e[r],hd)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?cd(t):cd(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,jd)},getHostname:function(){var t=this.host;return null===t?"":cd(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Id)},getPort:function(){var t=this.port;return null===t?"":Ah(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""==(t=Ah(t))?this.port=null:this.parse(t,Td))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+Bh(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Cd))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""==(t=Ah(t))?this.query=null:("?"==Lh(t,0)&&(t=Hh(t,1)),this.query="",this.parse(t,Bd)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!=(t=Ah(t))?("#"==Lh(t,0)&&(t=Hh(t,1)),this.fragment="",this.parse(t,Dd)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var qd=function(t){var e=yh(this,Wd),r=Eh(arguments.length,1)>1?arguments[1]:void 0,n=kh(e,new Md(t,!1,r));sh||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Wd=qd.prototype,Gd=function(t,e){return{get:function(){return Oh(this)[t]()},set:e&&function(t){return Oh(this)[e](t)},configurable:!0,enumerable:!0}};if(sh&&(dh(Wd,"href",Gd("serialize","setHref")),dh(Wd,"origin",Gd("getOrigin")),dh(Wd,"protocol",Gd("getProtocol","setProtocol")),dh(Wd,"username",Gd("getUsername","setUsername")),dh(Wd,"password",Gd("getPassword","setPassword")),dh(Wd,"host",Gd("getHost","setHost")),dh(Wd,"hostname",Gd("getHostname","setHostname")),dh(Wd,"port",Gd("getPort","setPort")),dh(Wd,"pathname",Gd("getPathname","setPathname")),dh(Wd,"search",Gd("getSearch","setSearch")),dh(Wd,"searchParams",Gd("getSearchParams")),dh(Wd,"hash",Gd("getHash","setHash"))),hh(Wd,"toJSON",(function(){return Oh(this).serialize()}),{enumerable:!0}),hh(Wd,"toString",(function(){return Oh(this).serialize()}),{enumerable:!0}),Th){var zd=Th.createObjectURL,Hd=Th.revokeObjectURL;zd&&hh(qd,"createObjectURL",lh(zd,Th)),Hd&&hh(qd,"revokeObjectURL",lh(Hd,Th))}Sh(qd,"URL"),uh({global:!0,constructor:!0,forced:!ch,sham:!sh},{URL:qd});var Vd=vp,Yd=nt,$d=ce,Jd=Fn,Qd=ci,Kd=$([].push),Xd=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(s,c,p,l){for(var f,h,d=$d(s),y=Yd(d),m=Vd(c,p),g=Jd(y),v=0,b=l||Qd,w=e?b(s,g):r||a?b(s,0):void 0;g>v;v++)if((u||v in y)&&(h=m(f=y[v],v,d),t))if(e)w[v]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return v;case 2:Kd(w,f)}else switch(t){case 4:return!1;case 7:Kd(w,f)}return i?-1:n||o?o:w}},Zd={forEach:Xd(0),map:Xd(1),filter:Xd(2),some:Xd(3),every:Xd(4),find:Xd(5),findIndex:Xd(6),filterReject:Xd(7)},ty=Zd.map;Po({target:"Array",proto:!0,forced:!hi("map")},{map:function(t){return ty(this,t,arguments.length>1?arguments[1]:void 0)}});var ey=function(t){var e=t.endpointName,r=t.guestSpaceId,n=t.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(e,".json")},ry=["endpointName"],ny=function(){function t(e,r){s(this,t),this.client=e,this.guestSpaceId=r,this.REQUESTS_LENGTH_LIMIT=20}return p(t,[{key:"send",value:function(t){var e=this,r=t.requests.map((function(t){if("endpointName"in t){var r=t.endpointName,o=v(t,ry);return n({api:e.buildPathWithGuestSpaceId({endpointName:r})},o)}return t})),o=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(o,{requests:r})}},{key:"buildPathWithGuestSpaceId",value:function(t){return ey(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),oy=["preview"],iy=["preview"],ay=["preview"],uy=["preview"],sy=["preview"],cy=["preview"],py=["preview"],ly=["preview"],fy=["preview"],hy=["preview"],dy=["preview"],yy=["preview"],my=["preview"],gy=["preview"],vy=function(){function t(e,r){s(this,t),this.client=e,this.guestSpaceId=r}var e;return p(t,[{key:"getFormFields",value:function(t){var e=t.preview,r=v(t,oy),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:e});return this.client.get(o,n({},r))}},{key:"addFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(e,t)}},{key:"updateFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(e,t)}},{key:"deleteFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(e,t)}},{key:"getFormLayout",value:function(t){var e=t.preview,r=v(t,iy),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:e});return this.client.get(o,n({},r))}},{key:"updateFormLayout",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(e,t)}},{key:"getViews",value:function(t){var e=t.preview,r=v(t,ay),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:e});return this.client.get(n,r)}},{key:"updateViews",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(e,t)}},{key:"getApp",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(e,t)}},{key:"getApps",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(e,t)}},{key:"addApp",value:(e=u(o().mark((function t(e){var r,i,a,u,s,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.name,i=e.space,a=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!i){t.next=9;break}return u=this.buildPathWithGuestSpaceId({endpointName:"space"}),t.next=6,this.client.get(u,{id:i});case 6:return s=t.sent,c=s.defaultThread,t.abrupt("return",this.client.post(a,n(n({},e),{},{thread:c})));case 9:return t.abrupt("return",this.client.post(a,{name:r}));case 10:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"getAppSettings",value:function(t){var e=t.preview,r=v(t,uy),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:e});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(e,t)}},{key:"getProcessManagement",value:function(t){var e=t.preview,r=v(t,sy),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:e});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(e,t)}},{key:"getDeployStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(e,t)}},{key:"deployApp",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(e,t)}},{key:"getFieldAcl",value:function(t){var e=t.preview,r=v(t,cy),o=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:e});return this.client.get(o,n({},r))}},{key:"updateFieldAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(e,t)}},{key:"getAppAcl",value:function(t){var e=t.preview,r=v(t,py),o=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:e});return this.client.get(o,n({},r))}},{key:"updateAppAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(e,t)}},{key:"evaluateRecordsAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(e,t)}},{key:"getRecordAcl",value:function(t){var e=t.preview,r=v(t,ly),o=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:e});return this.client.get(o,n({},r))}},{key:"updateRecordAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(e,t)}},{key:"getAppCustomize",value:function(t){var e=t.preview,r=v(t,fy),o=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:e});return this.client.get(o,n({},r))}},{key:"updateAppCustomize",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(e,t)}},{key:"getGeneralNotifications",value:function(t){var e=t.preview,r=v(t,hy),o=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:e});return this.client.get(o,n({},r))}},{key:"updateGeneralNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(e,t)}},{key:"getPerRecordNotifications",value:function(t){var e=t.preview,r=v(t,dy),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:e});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(e,t)}},{key:"getReminderNotifications",value:function(t){var e=t.preview,r=v(t,yy),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:e});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(e,t)}},{key:"getReports",value:function(t){var e=t.preview,r=v(t,my),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:e});return this.client.get(n,r)}},{key:"updateReports",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(e,t)}},{key:"getAppActions",value:function(t){var e=t.preview,r=v(t,gy),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:e});return this.client.get(n,r)}},{key:"updateAppActions",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return ey(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),by=Up;Po({target:"Object",stat:!0,arity:2,forced:Object.assign!==by},{assign:by});var wy=L,xy=or,Ay=ot,Sy=Cn,Ey=ra,Ry=ut,Py=Yt,ky=Cu,Oy=Qu;Eu("match",(function(t,e,r){return[function(e){var r=Ry(this),n=Ay(e)?void 0:Py(e,t);return n?wy(n,e,r):new RegExp(e)[t](Ey(r))},function(t){var n=xy(this),o=Ey(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return Oy(n,o);var a=n.unicode;n.lastIndex=0;for(var u,s=[],c=0;null!==(u=Oy(n,o));){var p=Ey(u[0]);s[c]=p,""===p&&(n.lastIndex=ky(o,Sy(n.lastIndex),a)),c++}return 0===c?null:s}]}));var jy=j,Iy=dt,Ty=gt,_y=Yi,Ny=$(1..valueOf),Uy=ut,Cy=ra,Ly="\t\n\v\f\r                 \u2028\u2029\ufeff",Fy=$("".replace),By=RegExp("^["+Ly+"]+"),Dy=RegExp("(^|[^"+Ly+"])["+Ly+"]+$"),My=function(t){return function(e){var r=Cy(Uy(e));return 1&t&&(r=Fy(r,By,"")),2&t&&(r=Fy(r,Dy,"$1")),r}},qy={start:My(1),end:My(2),trim:My(3)},Wy=Po,Gy=_,zy=j,Hy=jy,Vy=$,Yy=vo,$y=fe,Jy=function(t,e,r){var n,o;return _y&&Iy(n=e.constructor)&&n!==r&&Ty(o=n.prototype)&&o!==r.prototype&&_y(t,o),t},Qy=At,Ky=Bt,Xy=Ue,Zy=T,tm=En.f,em=I.f,rm=Ze.f,nm=Ny,om=qy.trim,im="Number",am=zy.Number;Hy.Number;var um=am.prototype,sm=zy.TypeError,cm=Vy("".slice),pm=Vy("".charCodeAt),lm=function(t){var e=Xy(t,"number");return"bigint"==typeof e?e:fm(e)},fm=function(t){var e,r,n,o,i,a,u,s,c=Xy(t,"number");if(Ky(c))throw sm("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=om(c),43===(e=pm(c,0))||45===e){if(88===(r=pm(c,2))||120===r)return NaN}else if(48===e){switch(pm(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=cm(c,2)).length,u=0;u<a;u++)if((s=pm(i,u))<48||s>o)return NaN;return parseInt(i,n)}return+c},hm=Yy(im,!am(" 0o1")||!am("0b1")||am("+0x1")),dm=function(t){return Qy(um,t)&&Zy((function(){nm(t)}))},ym=function(t){var e=arguments.length<1?0:am(lm(t));return dm(this)?Jy(Object(e),this,ym):e};ym.prototype=um,hm&&(um.constructor=ym),Wy({global:!0,constructor:!0,wrap:!0,forced:hm},{Number:ym});hm&&function(t,e){for(var r,n=Gy?tm(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)$y(e,r=n[o])&&!$y(t,r)&&rm(t,r,em(e,r))}(Hy.Number,am);var mm=T,gm=function(t,e){var r=[][t];return!!r&&mm((function(){r.call(null,e||function(){return 1},1)}))},vm=Po,bm=Wn.indexOf,wm=gm,xm=yu([].indexOf),Am=!!xm&&1/xm([1],1,-0)<0;vm({target:"Array",proto:!0,forced:Am||!wm("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Am?xm(this,t,e)||0:bm(this,t,e)}});var Sm=Zd.every;Po({target:"Array",proto:!0,forced:!gm("every")},{every:function(t){return Sm(this,t,arguments.length>1?arguments[1]:void 0)}}),Po({target:"Array",stat:!0},{isArray:Oo});var Em=$([].slice),Rm=Po,Pm=Oo,km=ri,Om=gt,jm=_n,Im=Fn,Tm=pt,_m=No,Nm=Pe,Um=Em,Cm=hi("slice"),Lm=Nm("species"),Fm=Array,Bm=Math.max;Rm({target:"Array",proto:!0,forced:!Cm},{slice:function(t,e){var r,n,o,i=Tm(this),a=Im(i),u=jm(t,a),s=jm(void 0===e?a:e,a);if(Pm(i)&&(r=i.constructor,(km(r)&&(r===Fm||Pm(r.prototype))||Om(r)&&null===(r=r[Lm]))&&(r=void 0),r===Fm||void 0===r))return Um(i,u,s);for(n=new(void 0===r?Fm:r)(Bm(s-u,0)),o=0;u<s;u++,o++)u in i&&_m(n,o,i[u]);return n.length=o,n}});var Dm=zt,Mm=ce,qm=nt,Wm=Fn,Gm=TypeError,zm=function(t){return function(e,r,n,o){Dm(r);var i=Mm(e),a=qm(i),u=Wm(i),s=t?u-1:0,c=t?-1:1;if(n<2)for(;;){if(s in a){o=a[s],s+=c;break}if(s+=c,t?s<0:u<=s)throw Gm("Reduce of empty array with no initial value")}for(;t?s>=0:u>s;s+=c)s in a&&(o=r(o,a[s],s,i));return o}},Hm={left:zm(!1),right:zm(!0)},Vm="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Ym(){throw new Error("setTimeout has not been defined")}function $m(){throw new Error("clearTimeout has not been defined")}var Jm=Ym,Qm=$m;function Km(t){if(Jm===setTimeout)return setTimeout(t,0);if((Jm===Ym||!Jm)&&setTimeout)return Jm=setTimeout,setTimeout(t,0);try{return Jm(t,0)}catch(e){try{return Jm.call(null,t,0)}catch(e){return Jm.call(this,t,0)}}}"function"==typeof Vm.setTimeout&&(Jm=setTimeout),"function"==typeof Vm.clearTimeout&&(Qm=clearTimeout);var Xm,Zm=[],tg=!1,eg=-1;function rg(){tg&&Xm&&(tg=!1,Xm.length?Zm=Xm.concat(Zm):eg=-1,Zm.length&&ng())}function ng(){if(!tg){var t=Km(rg);tg=!0;for(var e=Zm.length;e;){for(Xm=Zm,Zm=[];++eg<e;)Xm&&Xm[eg].run();eg=-1,e=Zm.length}Xm=null,tg=!1,function(t){if(Qm===clearTimeout)return clearTimeout(t);if((Qm===$m||!Qm)&&clearTimeout)return Qm=clearTimeout,clearTimeout(t);try{Qm(t)}catch(e){try{return Qm.call(null,t)}catch(e){return Qm.call(this,t)}}}(t)}}function og(t,e){this.fun=t,this.array=e}og.prototype.run=function(){this.fun.apply(null,this.array)};function ig(){}var ag=ig,ug=ig,sg=ig,cg=ig,pg=ig,lg=ig,fg=ig;var hg=Vm.performance||{},dg=hg.now||hg.mozNow||hg.msNow||hg.oNow||hg.webkitNow||function(){return(new Date).getTime()};var yg=new Date;var mg={nextTick:function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Zm.push(new og(t,e)),1!==Zm.length||tg||Km(ng)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:ag,addListener:ug,once:sg,off:cg,removeListener:pg,removeAllListeners:lg,emit:fg,binding:function(t){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(t){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(t){var e=.001*dg.call(hg),r=Math.floor(e),n=Math.floor(e%1*1e9);return t&&(r-=t[0],(n-=t[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-yg)/1e3}},gg=void 0!==mg&&"process"==X(mg),vg=Hm.left;Po({target:"Array",proto:!0,forced:!gg&&jt>79&&jt<83||!gm("reduce")},{reduce:function(t){var e=arguments.length;return vg(this,t,e,e>1?arguments[1]:void 0)}});var bg=Zd.forEach,wg=gm("forEach")?[].forEach:function(t){return bg(this,t,arguments.length>1?arguments[1]:void 0)};Po({target:"Array",proto:!0,forced:[].forEach!=wg},{forEach:wg});var xg=j,Ag=Qc,Sg=Zc,Eg=wg,Rg=vr,Pg=function(t){if(t&&t.forEach!==Eg)try{Rg(t,"forEach",Eg)}catch(e){t.forEach=Eg}};for(var kg in Ag)Ag[kg]&&Pg(xg[kg]&&xg[kg].prototype);Pg(Sg);var Og=ce,jg=ha;Po({target:"Object",stat:!0,forced:T((function(){jg(1)}))},{keys:function(t){return jg(Og(t))}});var Ig,Tg=function(t){f(r,t);var e=x(r);function r(t,n,o,i,a){var u;s(this,r);var c=o-n.length,p=r.extractErrorIndex(c,i,a),l=r.buildErrorMessage(c,o,p);return(u=e.call(this,l)).name="KintoneAllRecordsError",u.processedRecordsResult=t,u.unprocessedRecords=n,u.error=i,u.errorIndex=p,u.message=l,u.numOfProcessedRecords=c,u.numOfAllRecords=o,Object.setPrototypeOf(b(u),r.prototype),u}return p(r,null,[{key:"parseErrorIndex",value:function(t){var e=[];return Object.keys(t).forEach((function(t){var r=t.match(/records\[(\d+)\]/);r&&e.push(Number(r[1]))})),e.length>0?Math.min.apply(Math,e):null}},{key:"extractErrorIndex",value:function(t,e,n){if(void 0!==e.bulkRequestIndex&&e.errors){var o=r.parseErrorIndex(e.errors);if(null!==o)return t+e.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(t,e,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(t,"/").concat(e," records are processed successfully")}}]),r}(g(Error)),_g=["condition","orderBy","withCursor"],Ng=["fields"],Ug=["condition"],Cg=["condition","orderBy"],Lg=function(){function t(e,r,n){s(this,t),this.client=e,this.bulkRequestClient=r,this.guestSpaceId=n,this.didWarnMaximumOffsetValue=!1}var e,r,i,a,c,f,h,d,y,m,g,b,w,x,S,E,R,P;return p(t,[{key:"getRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(e,t)}},{key:"addRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(e,t)}},{key:"updateRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(e,t)}},{key:"upsertRecord",value:(P=u(o().mark((function t(e){var r,n,i,a,u,s,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.app,n=e.updateKey,i=e.record,t.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(a=t.sent,!((u=a.records).length>0)){t.next=13;break}if("__ID__"!==u[0].$id.type){t.next=12;break}return t.next=9,this.updateRecord(e);case 9:return s=t.sent,c=s.revision,t.abrupt("return",{id:u[0].$id.value,revision:c});case 12:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 13:return t.abrupt("return",this.addRecord({app:r,record:Object.assign({},i,l({},n.field,{value:n.value}))}));case 14:case"end":return t.stop()}}),t,this)}))),function(t){return P.apply(this,arguments)})},{key:"getRecords",value:(R=u(o().mark((function t(e){var r,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.get(r,e);case 3:return n=t.sent,this.warnMaximumOffsetValueIfNeeded(e.query),t.abrupt("return",n);case 6:case"end":return t.stop()}}),t,this)}))),function(t){return R.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(t){if(t){var e=t.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&e&&Number(e[1])>1e4&&(this.didWarnMaximumOffsetValue=!0,console.warn("Warning: The maximum offset value will be limited to 10,000 in the future. Please use `createCursor()` and `getRecordsByCursor()` instead."))}}},{key:"addRecords",value:(E=u(o().mark((function t(e){var r,n,i,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.post(r,e);case 3:return n=t.sent,i=n.ids,a=n.revisions,t.abrupt("return",{ids:i,revisions:a,records:i.map((function(t,e){return{id:t,revision:a[e]}}))});case 7:case"end":return t.stop()}}),t,this)}))),function(t){return E.apply(this,arguments)})},{key:"updateRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(e,t)}},{key:"deleteRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(e,t)}},{key:"createCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(e,t)}},{key:"getRecordsByCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(e,t)}},{key:"deleteCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(e,t)}},{key:"getAllRecords",value:(S=u(o().mark((function t(e){var r,i,a,u,s,c,p;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.condition,i=e.orderBy,a=e.withCursor,u=void 0===a||a,s=v(e,_g),i){t.next=3;break}return t.abrupt("return",this.getAllRecordsWithId(n(n({},s),{},{condition:r})));case 3:if(!u){t.next=7;break}return c=r?"".concat(r," "):"",p="".concat(c).concat(i?"order by ".concat(i):""),t.abrupt("return",this.getAllRecordsWithCursor(n(n({},s),{},{query:p})));case 7:return t.abrupt("return",this.getAllRecordsWithOffset(n(n({},s),{},{orderBy:i,condition:r})));case 8:case"end":return t.stop()}}),t,this)}))),function(t){return S.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(x=u(o().mark((function t(e){var r,i,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.fields,i=v(e,Ng),(a=r)&&a.length>0&&-1===a.indexOf("$id")&&(a=[].concat(A(a),["$id"])),t.abrupt("return",this.getAllRecordsRecursiveWithId(n(n({},i),{},{fields:a}),"0",[]));case 4:case"end":return t.stop()}}),t,this)}))),function(t){return x.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithId",value:(w=u(o().mark((function t(e,r,i){var a,u,s,c,p,l,f,h,d;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=500,u=e.condition,s=v(e,Ug),c=u?"(".concat(u,") and "):"",p="".concat(c,"$id > ").concat(r," order by $id asc limit ").concat(a),t.next=6,this.getRecords(n(n({},s),{},{query:p}));case 6:if(l=t.sent,f=i.concat(l.records),!(l.records.length<a)){t.next=10;break}return t.abrupt("return",f);case 10:if("__ID__"!==(h=l.records[l.records.length-1]).$id.type){t.next=14;break}return d=h.$id.value,t.abrupt("return",this.getAllRecordsRecursiveWithId(e,d,f));case 14:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 15:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return w.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(b=u(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.getAllRecordsRecursiveWithOffset(e,0,[]));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return b.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithOffset",value:(g=u(o().mark((function t(e,r,i){var a,u,s,c,p,l,f,h;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=500,u=e.condition,s=e.orderBy,c=v(e,Cg),p=u?"".concat(u," "):"",l="".concat(p).concat(s?"order by ".concat(s," "):"","limit ").concat(a," offset ").concat(r),t.next=6,this.getRecords(n(n({},c),{},{query:l}));case 6:if(f=t.sent,h=i.concat(f.records),!(f.records.length<a)){t.next=10;break}return t.abrupt("return",h);case 10:return t.abrupt("return",this.getAllRecordsRecursiveWithOffset(e,r+a,h));case 11:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return g.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(m=u(o().mark((function t(e){var r,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.createCursor(e);case 2:return r=t.sent,n=r.id,t.prev=4,t.next=7,this.getAllRecordsRecursiveByCursor(n,[]);case 7:return t.abrupt("return",t.sent);case 10:return t.prev=10,t.t0=t.catch(4),t.next=14,this.deleteCursor({id:n});case 14:throw t.t0;case 15:case"end":return t.stop()}}),t,this,[[4,10]])}))),function(t){return m.apply(this,arguments)})},{key:"getAllRecordsRecursiveByCursor",value:(y=u(o().mark((function t(e,r){var n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getRecordsByCursor({id:e});case 2:if(n=t.sent,i=r.concat(n.records),!n.next){t.next=6;break}return t.abrupt("return",this.getAllRecordsRecursiveByCursor(e,i));case 6:return t.abrupt("return",i);case 7:case"end":return t.stop()}}),t,this)}))),function(t,e){return y.apply(this,arguments)})},{key:"addAllRecords",value:(d=u(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.records.every((function(t){return!Array.isArray(t)&&t instanceof Object}))){t.next=2;break}throw new Error("the `records` parameter must be an array of object.");case 2:return t.abrupt("return",this.addAllRecordsRecursive(e,e.records.length,[]));case 3:case"end":return t.stop()}}),t,this)}))),function(t){return d.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(h=u(o().mark((function t(e,r,n){var i,a,u,s,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,a=e.app,u=e.records,0!==(s=u.slice(0,i)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.addAllRecordsWithBulkRequest({app:a,records:s});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Tg({records:n},u,r,t.t0,100);case 14:return t.abrupt("return",this.addAllRecordsRecursive({app:a,records:u.slice(i)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return h.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(f=u(o().mark((function t(e){var r,n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"POST",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return i=t.sent.results,t.abrupt("return",i.map((function(t){var e=t.ids,r=t.revisions;return e.map((function(t,e){return{id:t,revision:r[e]}}))})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return f.apply(this,arguments)})},{key:"updateAllRecords",value:(c=u(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.updateAllRecordsRecursive(e,e.records.length,[]));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return c.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(a=u(o().mark((function t(e,r,n){var i,a,u,s,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,a=e.app,u=e.records,0!==(s=u.slice(0,i)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.updateAllRecordsWithBulkRequest({app:a,records:s});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Tg({records:n},u,r,t.t0,100);case 14:return t.abrupt("return",this.updateAllRecordsRecursive({app:a,records:u.slice(i)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return a.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(i=u(o().mark((function t(e){var r,n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"PUT",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return i=t.sent.results,t.abrupt("return",i.map((function(t){return t.records})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return i.apply(this,arguments)})},{key:"deleteAllRecords",value:function(t){return this.deleteAllRecordsRecursive(t,t.records.length)}},{key:"deleteAllRecordsRecursive",value:(r=u(o().mark((function t(e,r){var n,i,a,u;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,a=e.records,0!==(u=a.slice(0,n)).length){t.next=5;break}return t.abrupt("return",{});case 5:return t.prev=5,t.next=8,this.deleteAllRecordsWithBulkRequest({app:i,records:u});case 8:t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(5),new Tg({},a,r,t.t0,100);case 13:return t.abrupt("return",this.deleteAllRecordsRecursive({app:i,records:a.slice(n)},r));case 14:case"end":return t.stop()}}),t,this,[[5,10]])}))),function(t,e){return r.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(e=u(o().mark((function t(e){var r,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"DELETE",endpointName:"records",payload:{app:e.app,ids:t.map((function(t){return t.id})),revisions:t.map((function(t){return t.revision}))}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(t,e,r){var n=r.slice(0,t);return 0===n.length?e:this.separateArrayRecursive(t,[].concat(A(e),[n]),r.slice(t))}},{key:"addRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(e,t)}},{key:"deleteRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(e,t)}},{key:"getRecordComments",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(e,t)}},{key:"updateRecordAssignees",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(e,t)}},{key:"updateRecordStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(e,t)}},{key:"updateRecordsStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return ey(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),Fg=P("object"==typeof self?self.FormData:window.FormData),Bg=function(){function t(e,r){s(this,t),this.client=e,this.guestSpaceId=r}var r;return p(t,[{key:"uploadFile",value:(r=u(o().mark((function t(r){var n,i,a,u,s,c,p,l,f;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),i=new Fg,!("path"in r.file)){t.next=19;break}return t.prev=3,t.next=6,e.readFileFromPath(r.file.path);case 6:a=t.sent,u=a.name,s=a.data,i.append("file",s,u),t.next=17;break;case 12:if(t.prev=12,t.t0=t.catch(3),!(t.t0 instanceof $i)){t.next=16;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(t.t0.platform," environment."));case 16:throw t.t0;case 17:t.next=22;break;case 19:c=r.file,p=c.name,l=c.data,f=e.buildFormDataValue(l,p),i.append("file",f,p);case 22:return t.abrupt("return",this.client.postData(n,i));case 23:case"end":return t.stop()}}),t,this,[[3,12]])}))),function(t){return r.apply(this,arguments)})},{key:"downloadFile",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return ey(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),Dg={exports:{}},Mg=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}},qg=Mg,Wg=Object.prototype.toString,Gg=(Ig=Object.create(null),function(t){var e=Wg.call(t);return Ig[e]||(Ig[e]=e.slice(8,-1).toLowerCase())});function zg(t){return t=t.toLowerCase(),function(e){return Gg(e)===t}}function Hg(t){return Array.isArray(t)}function Vg(t){return void 0===t}var Yg=zg("ArrayBuffer");function $g(t){return null!==t&&"object"==typeof t}function Jg(t){if("object"!==Gg(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var Qg=zg("Date"),Kg=zg("File"),Xg=zg("Blob"),Zg=zg("FileList");function tv(t){return"[object Function]"===Wg.call(t)}var ev=zg("URLSearchParams");function rv(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),Hg(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}var nv=function(t){return function(e){return t&&e instanceof t}}("undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array)),ov={isArray:Hg,isArrayBuffer:Yg,isBuffer:function(t){return null!==t&&!Vg(t)&&null!==t.constructor&&!Vg(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){var e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||Wg.call(t)===e||tv(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Yg(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:$g,isPlainObject:Jg,isUndefined:Vg,isDate:Qg,isFile:Kg,isBlob:Xg,isFunction:tv,isStream:function(t){return $g(t)&&tv(t.pipe)},isURLSearchParams:ev,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:rv,merge:function t(){var e={};function r(r,n){Jg(e[n])&&Jg(r)?e[n]=t(e[n],r):Jg(r)?e[n]=t({},r):Hg(r)?e[n]=r.slice():e[n]=r}for(var n=0,o=arguments.length;n<o;n++)rv(arguments[n],r);return e},extend:function(t,e,r){return rv(e,(function(e,n){t[n]=r&&"function"==typeof e?qg(e,r):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,e,r,n){t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,r&&Object.assign(t.prototype,r)},toFlatObject:function(t,e,r){var n,o,i,a={};e=e||{};do{for(o=(n=Object.getOwnPropertyNames(t)).length;o-- >0;)a[i=n[o]]||(e[i]=t[i],a[i]=!0);t=Object.getPrototypeOf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:Gg,kindOfTest:zg,endsWith:function(t,e,r){t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;var n=t.indexOf(e,r);return-1!==n&&n===r},toArray:function(t){if(!t)return null;var e=t.length;if(Vg(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r},isTypedArray:nv,isFileList:Zg},iv=ov;function av(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var uv=function(t,e,r){if(!e)return t;var n;if(r)n=r(e);else if(iv.isURLSearchParams(e))n=e.toString();else{var o=[];iv.forEach(e,(function(t,e){null!=t&&(iv.isArray(t)?e+="[]":t=[t],iv.forEach(t,(function(t){iv.isDate(t)?t=t.toISOString():iv.isObject(t)&&(t=JSON.stringify(t)),o.push(av(e)+"="+av(t))})))})),n=o.join("&")}if(n){var i=t.indexOf("#");-1!==i&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t},sv=ov;function cv(){this.handlers=[]}cv.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},cv.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},cv.prototype.forEach=function(t){sv.forEach(this.handlers,(function(e){null!==e&&t(e)}))};var pv,lv,fv=cv,hv=ov;function dv(){if(lv)return pv;lv=1;var t=ov;function e(t,e,r,n,o){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}t.inherits(e,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var r=e.prototype,n={};return["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(t){n[t]={value:t}})),Object.defineProperties(e,n),Object.defineProperty(r,"isAxiosError",{value:!0}),e.from=function(n,o,i,a,u,s){var c=Object.create(r);return t.toFlatObject(n,c,(function(t){return t!==Error.prototype})),e.call(c,n.message,o,i,a,u),c.name=n.name,s&&Object.assign(c,s),c},pv=e}var yv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},mv=[],gv=[],vv="undefined"!=typeof Uint8Array?Uint8Array:Array,bv=!1;function wv(){bv=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)mv[e]=t[e],gv[t.charCodeAt(e)]=e;gv["-".charCodeAt(0)]=62,gv["_".charCodeAt(0)]=63}function xv(t,e,r){for(var n,o,i=[],a=e;a<r;a+=3)n=(t[a]<<16)+(t[a+1]<<8)+t[a+2],i.push(mv[(o=n)>>18&63]+mv[o>>12&63]+mv[o>>6&63]+mv[63&o]);return i.join("")}function Av(t){var e;bv||wv();for(var r=t.length,n=r%3,o="",i=[],a=16383,u=0,s=r-n;u<s;u+=a)i.push(xv(t,u,u+a>s?s:u+a));return 1===n?(e=t[r-1],o+=mv[e>>2],o+=mv[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=mv[e>>10],o+=mv[e>>4&63],o+=mv[e<<2&63],o+="="),i.push(o),i.join("")}function Sv(t,e,r,n,o){var i,a,u=8*o-n-1,s=(1<<u)-1,c=s>>1,p=-7,l=r?o-1:0,f=r?-1:1,h=t[e+l];for(l+=f,i=h&(1<<-p)-1,h>>=-p,p+=u;p>0;i=256*i+t[e+l],l+=f,p-=8);for(a=i&(1<<-p)-1,i>>=-p,p+=n;p>0;a=256*a+t[e+l],l+=f,p-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)}function Ev(t,e,r,n,o,i){var a,u,s,c=8*i-o-1,p=(1<<c)-1,l=p>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=p):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),(e+=a+l>=1?f/s:f*Math.pow(2,1-l))*s>=2&&(a++,s/=2),a+l>=p?(u=0,a=p):a+l>=1?(u=(e*s-1)*Math.pow(2,o),a+=l):(u=e*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&u,h+=d,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*y}var Rv={}.toString,Pv=Array.isArray||function(t){return"[object Array]"==Rv.call(t)};function kv(){return jv.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Ov(t,e){if(kv()<e)throw new RangeError("Invalid typed array length");return jv.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=jv.prototype:(null===t&&(t=new jv(e)),t.length=e),t}function jv(t,e,r){if(!(jv.TYPED_ARRAY_SUPPORT||this instanceof jv))return new jv(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return _v(this,t)}return Iv(this,t,e,r)}function Iv(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);jv.TYPED_ARRAY_SUPPORT?(t=e).__proto__=jv.prototype:t=Nv(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!jv.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Lv(e,r),o=(t=Ov(t,n)).write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(Cv(e)){var r=0|Uv(e.length);return 0===(t=Ov(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?Ov(t,0):Nv(t,e);if("Buffer"===e.type&&Pv(e.data))return Nv(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function Tv(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function _v(t,e){if(Tv(e),t=Ov(t,e<0?0:0|Uv(e)),!jv.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function Nv(t,e){var r=e.length<0?0:0|Uv(e.length);t=Ov(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function Uv(t){if(t>=kv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kv().toString(16)+" bytes");return 0|t}function Cv(t){return!(null==t||!t._isBuffer)}function Lv(t,e){if(Cv(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return yb(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return mb(t).length;default:if(n)return yb(t).length;e=(""+e).toLowerCase(),n=!0}}function Fv(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return Xv(this,e,r);case"utf8":case"utf-8":return $v(this,e,r);case"ascii":return Qv(this,e,r);case"latin1":case"binary":return Kv(this,e,r);case"base64":return Yv(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zv(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function Bv(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Dv(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=jv.from(e,n)),Cv(e))return 0===e.length?-1:Mv(t,e,r,n,o);if("number"==typeof e)return e&=255,jv.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Mv(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Mv(t,e,r,n,o){var i,a=1,u=t.length,s=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,u/=2,s/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var p=-1;for(i=r;i<u;i++)if(c(t,i)===c(e,-1===p?0:i-p)){if(-1===p&&(p=i),i-p+1===s)return p*a}else-1!==p&&(i-=i-p),p=-1}else for(r+s>u&&(r=u-s),i=r;i>=0;i--){for(var l=!0,f=0;f<s;f++)if(c(t,i+f)!==c(e,f)){l=!1;break}if(l)return i}return-1}function qv(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var u=parseInt(e.substr(2*a,2),16);if(isNaN(u))return a;t[r+a]=u}return a}function Wv(t,e,r,n){return gb(yb(e,t.length-r),t,r,n)}function Gv(t,e,r,n){return gb(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function zv(t,e,r,n){return Gv(t,e,r,n)}function Hv(t,e,r,n){return gb(mb(e),t,r,n)}function Vv(t,e,r,n){return gb(function(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function Yv(t,e,r){return 0===e&&r===t.length?Av(t):Av(t.slice(e,r))}function $v(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,u,s,c=t[o],p=null,l=c>239?4:c>223?3:c>191?2:1;if(o+l<=r)switch(l){case 1:c<128&&(p=c);break;case 2:128==(192&(i=t[o+1]))&&(s=(31&c)<<6|63&i)>127&&(p=s);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(s=(15&c)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(p=s);break;case 4:i=t[o+1],a=t[o+2],u=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&u)&&(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(p=s)}null===p?(p=65533,l=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|1023&p),n.push(p),o+=l}return function(t){var e=t.length;if(e<=Jv)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Jv));return r}(n)}jv.TYPED_ARRAY_SUPPORT=void 0===Vm.TYPED_ARRAY_SUPPORT||Vm.TYPED_ARRAY_SUPPORT,kv(),jv.poolSize=8192,jv._augment=function(t){return t.__proto__=jv.prototype,t},jv.from=function(t,e,r){return Iv(null,t,e,r)},jv.TYPED_ARRAY_SUPPORT&&(jv.prototype.__proto__=Uint8Array.prototype,jv.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&jv[Symbol.species]),jv.alloc=function(t,e,r){return function(t,e,r,n){return Tv(e),e<=0?Ov(t,e):void 0!==r?"string"==typeof n?Ov(t,e).fill(r,n):Ov(t,e).fill(r):Ov(t,e)}(null,t,e,r)},jv.allocUnsafe=function(t){return _v(null,t)},jv.allocUnsafeSlow=function(t){return _v(null,t)},jv.isBuffer=function(t){return null!=t&&(!!t._isBuffer||vb(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&vb(t.slice(0,0))}(t))},jv.compare=function(t,e){if(!Cv(t)||!Cv(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},jv.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},jv.concat=function(t,e){if(!Pv(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return jv.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=jv.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!Cv(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},jv.byteLength=Lv,jv.prototype._isBuffer=!0,jv.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)Bv(this,e,e+1);return this},jv.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)Bv(this,e,e+3),Bv(this,e+1,e+2);return this},jv.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)Bv(this,e,e+7),Bv(this,e+1,e+6),Bv(this,e+2,e+5),Bv(this,e+3,e+4);return this},jv.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?$v(this,0,t):Fv.apply(this,arguments)},jv.prototype.equals=function(t){if(!Cv(t))throw new TypeError("Argument must be a Buffer");return this===t||0===jv.compare(this,t)},jv.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},jv.prototype.compare=function(t,e,r,n,o){if(!Cv(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),u=Math.min(i,a),s=this.slice(n,o),c=t.slice(e,r),p=0;p<u;++p)if(s[p]!==c[p]){i=s[p],a=c[p];break}return i<a?-1:a<i?1:0},jv.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},jv.prototype.indexOf=function(t,e,r){return Dv(this,t,e,r,!0)},jv.prototype.lastIndexOf=function(t,e,r){return Dv(this,t,e,r,!1)},jv.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return qv(this,t,e,r);case"utf8":case"utf-8":return Wv(this,t,e,r);case"ascii":return Gv(this,t,e,r);case"latin1":case"binary":return zv(this,t,e,r);case"base64":return Hv(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vv(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},jv.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Jv=4096;function Qv(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function Kv(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function Xv(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=db(t[i]);return o}function Zv(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function tb(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function eb(t,e,r,n,o,i){if(!Cv(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function rb(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function nb(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function ob(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ib(t,e,r,n,o){return o||ob(t,0,r,4),Ev(t,e,r,n,23,4),r+4}function ab(t,e,r,n,o){return o||ob(t,0,r,8),Ev(t,e,r,n,52,8),r+8}jv.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),jv.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=jv.prototype;else{var o=e-t;r=new jv(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},jv.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||tb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},jv.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||tb(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},jv.prototype.readUInt8=function(t,e){return e||tb(t,1,this.length),this[t]},jv.prototype.readUInt16LE=function(t,e){return e||tb(t,2,this.length),this[t]|this[t+1]<<8},jv.prototype.readUInt16BE=function(t,e){return e||tb(t,2,this.length),this[t]<<8|this[t+1]},jv.prototype.readUInt32LE=function(t,e){return e||tb(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},jv.prototype.readUInt32BE=function(t,e){return e||tb(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},jv.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||tb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},jv.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||tb(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},jv.prototype.readInt8=function(t,e){return e||tb(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},jv.prototype.readInt16LE=function(t,e){e||tb(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},jv.prototype.readInt16BE=function(t,e){e||tb(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},jv.prototype.readInt32LE=function(t,e){return e||tb(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},jv.prototype.readInt32BE=function(t,e){return e||tb(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},jv.prototype.readFloatLE=function(t,e){return e||tb(t,4,this.length),Sv(this,t,!0,23,4)},jv.prototype.readFloatBE=function(t,e){return e||tb(t,4,this.length),Sv(this,t,!1,23,4)},jv.prototype.readDoubleLE=function(t,e){return e||tb(t,8,this.length),Sv(this,t,!0,52,8)},jv.prototype.readDoubleBE=function(t,e){return e||tb(t,8,this.length),Sv(this,t,!1,52,8)},jv.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||eb(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},jv.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||eb(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},jv.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,1,255,0),jv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},jv.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,2,65535,0),jv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):rb(this,t,e,!0),e+2},jv.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,2,65535,0),jv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):rb(this,t,e,!1),e+2},jv.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,4,4294967295,0),jv.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):nb(this,t,e,!0),e+4},jv.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,4,4294967295,0),jv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):nb(this,t,e,!1),e+4},jv.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);eb(this,t,e,r,o-1,-o)}var i=0,a=1,u=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===u&&0!==this[e+i-1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+r},jv.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);eb(this,t,e,r,o-1,-o)}var i=r-1,a=1,u=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===u&&0!==this[e+i+1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+r},jv.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,1,127,-128),jv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},jv.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,2,32767,-32768),jv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):rb(this,t,e,!0),e+2},jv.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,2,32767,-32768),jv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):rb(this,t,e,!1),e+2},jv.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,4,2147483647,-2147483648),jv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):nb(this,t,e,!0),e+4},jv.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||eb(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),jv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):nb(this,t,e,!1),e+4},jv.prototype.writeFloatLE=function(t,e,r){return ib(this,t,e,!0,r)},jv.prototype.writeFloatBE=function(t,e,r){return ib(this,t,e,!1,r)},jv.prototype.writeDoubleLE=function(t,e,r){return ab(this,t,e,!0,r)},jv.prototype.writeDoubleBE=function(t,e,r){return ab(this,t,e,!1,r)},jv.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!jv.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},jv.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!jv.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=Cv(t)?t:yb(new jv(t,n).toString()),u=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%u]}return this};var ub,sb,cb,pb,lb,fb,hb=/[^+\/0-9A-Za-z-_]/g;function db(t){return t<16?"0"+t.toString(16):t.toString(16)}function yb(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function mb(t){return function(t){var e,r,n,o,i,a;bv||wv();var u=t.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===t[u-2]?2:"="===t[u-1]?1:0,a=new vv(3*u/4-i),n=i>0?u-4:u;var s=0;for(e=0,r=0;e<n;e+=4,r+=3)o=gv[t.charCodeAt(e)]<<18|gv[t.charCodeAt(e+1)]<<12|gv[t.charCodeAt(e+2)]<<6|gv[t.charCodeAt(e+3)],a[s++]=o>>16&255,a[s++]=o>>8&255,a[s++]=255&o;return 2===i?(o=gv[t.charCodeAt(e)]<<2|gv[t.charCodeAt(e+1)]>>4,a[s++]=255&o):1===i&&(o=gv[t.charCodeAt(e)]<<10|gv[t.charCodeAt(e+1)]<<4|gv[t.charCodeAt(e+2)]>>2,a[s++]=o>>8&255,a[s++]=255&o),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(hb,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function gb(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function vb(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function bb(){if(sb)return ub;sb=1;var t=ov;return ub=function(e,r){r=r||new FormData;var n=[];function o(e){return null===e?"":t.isDate(e)?e.toISOString():t.isArrayBuffer(e)||t.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):jv.from(e):e}return function e(i,a){if(t.isPlainObject(i)||t.isArray(i)){if(-1!==n.indexOf(i))throw Error("Circular reference detected in "+a);n.push(i),t.forEach(i,(function(n,i){if(!t.isUndefined(n)){var u,s=a?a+"."+i:i;if(n&&!a&&"object"==typeof n)if(t.endsWith(i,"{}"))n=JSON.stringify(n);else if(t.endsWith(i,"[]")&&(u=t.toArray(n)))return void u.forEach((function(e){!t.isUndefined(e)&&r.append(s,o(e))}));e(n,s)}})),n.pop()}else r.append(a,o(i))}(e),r},ub}function wb(){if(pb)return cb;pb=1;var t=dv();return cb=function(e,r,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?r(new t("Request failed with status code "+n.status,[t.ERR_BAD_REQUEST,t.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}}function xb(){if(fb)return lb;fb=1;var t=ov;return lb=t.isStandardBrowserEnv()?{write:function(e,r,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(r)),t.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),t.isString(o)&&u.push("path="+o),t.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},lb}var Ab,Sb,Eb,Rb,Pb,kb,Ob,jb,Ib,Tb,_b,Nb,Ub=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},Cb=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t},Lb=function(t,e){return t&&!Ub(e)?Cb(t,e):e};function Fb(){if(Sb)return Ab;Sb=1;var t=ov,e=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Ab=function(r){var n,o,i,a={};return r?(t.forEach(r.split("\n"),(function(r){if(i=r.indexOf(":"),n=t.trim(r.substr(0,i)).toLowerCase(),o=t.trim(r.substr(i+1)),n){if(a[n]&&e.indexOf(n)>=0)return;a[n]="set-cookie"===n?(a[n]?a[n]:[]).concat([o]):a[n]?a[n]+", "+o:o}})),a):a}}function Bb(){if(Rb)return Eb;Rb=1;var t=ov;return Eb=t.isStandardBrowserEnv()?function(){var e,r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var e=t;return r&&(n.setAttribute("href",e),e=n.href),n.setAttribute("href",e),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(r){var n=t.isString(r)?o(r):r;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}}function Db(){if(kb)return Pb;kb=1;var t=dv();function e(e){t.call(this,null==e?"canceled":e,t.ERR_CANCELED),this.name="CanceledError"}return ov.inherits(e,t,{__CANCEL__:!0}),Pb=e}function Mb(){return jb||(jb=1,Ob=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}),Ob}function qb(){if(Tb)return Ib;Tb=1;var t=ov,e=wb(),r=xb(),n=uv,o=Lb,i=Fb(),a=Bb(),u=yv,s=dv(),c=Db(),p=Mb();return Ib=function(l){return new Promise((function(f,h){var d,y=l.data,m=l.headers,g=l.responseType;function v(){l.cancelToken&&l.cancelToken.unsubscribe(d),l.signal&&l.signal.removeEventListener("abort",d)}t.isFormData(y)&&t.isStandardBrowserEnv()&&delete m["Content-Type"];var b=new XMLHttpRequest;if(l.auth){var w=l.auth.username||"",x=l.auth.password?unescape(encodeURIComponent(l.auth.password)):"";m.Authorization="Basic "+btoa(w+":"+x)}var A=o(l.baseURL,l.url);function S(){if(b){var t="getAllResponseHeaders"in b?i(b.getAllResponseHeaders()):null,r={data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:t,config:l,request:b};e((function(t){f(t),v()}),(function(t){h(t),v()}),r),b=null}}if(b.open(l.method.toUpperCase(),n(A,l.params,l.paramsSerializer),!0),b.timeout=l.timeout,"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(S)},b.onabort=function(){b&&(h(new s("Request aborted",s.ECONNABORTED,l,b)),b=null)},b.onerror=function(){h(new s("Network Error",s.ERR_NETWORK,l,b,b)),b=null},b.ontimeout=function(){var t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",e=l.transitional||u;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),h(new s(t,e.clarifyTimeoutError?s.ETIMEDOUT:s.ECONNABORTED,l,b)),b=null},t.isStandardBrowserEnv()){var E=(l.withCredentials||a(A))&&l.xsrfCookieName?r.read(l.xsrfCookieName):void 0;E&&(m[l.xsrfHeaderName]=E)}"setRequestHeader"in b&&t.forEach(m,(function(t,e){void 0===y&&"content-type"===e.toLowerCase()?delete m[e]:b.setRequestHeader(e,t)})),t.isUndefined(l.withCredentials)||(b.withCredentials=!!l.withCredentials),g&&"json"!==g&&(b.responseType=l.responseType),"function"==typeof l.onDownloadProgress&&b.addEventListener("progress",l.onDownloadProgress),"function"==typeof l.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",l.onUploadProgress),(l.cancelToken||l.signal)&&(d=function(t){b&&(h(!t||t&&t.type?new c:t),b.abort(),b=null)},l.cancelToken&&l.cancelToken.subscribe(d),l.signal&&(l.signal.aborted?d():l.signal.addEventListener("abort",d))),y||(y=null);var R=p(A);R&&-1===["http","https","file"].indexOf(R)?h(new s("Unsupported protocol "+R+":",s.ERR_BAD_REQUEST,l)):b.send(y)}))},Ib}var Wb=ov,Gb=function(t,e){hv.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))},zb=dv(),Hb=yv,Vb=bb(),Yb={"Content-Type":"application/x-www-form-urlencoded"};function $b(t,e){!Wb.isUndefined(t)&&Wb.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var Jb,Qb={transitional:Hb,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==mg&&"[object process]"===Object.prototype.toString.call(mg))&&(Jb=qb()),Jb),transformRequest:[function(t,e){if(Gb(e,"Accept"),Gb(e,"Content-Type"),Wb.isFormData(t)||Wb.isArrayBuffer(t)||Wb.isBuffer(t)||Wb.isStream(t)||Wb.isFile(t)||Wb.isBlob(t))return t;if(Wb.isArrayBufferView(t))return t.buffer;if(Wb.isURLSearchParams(t))return $b(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r,n=Wb.isObject(t),o=e&&e["Content-Type"];if((r=Wb.isFileList(t))||n&&"multipart/form-data"===o){var i=this.env&&this.env.FormData;return Vb(r?{"files[]":t}:t,i&&new i)}return n||"application/json"===o?($b(e,"application/json"),function(t,e,r){if(Wb.isString(t))try{return(e||JSON.parse)(t),Wb.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||Qb.transitional,r=e&&e.silentJSONParsing,n=e&&e.forcedJSONParsing,o=!r&&"json"===this.responseType;if(o||n&&Wb.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(o){if("SyntaxError"===t.name)throw zb.from(t,zb.ERR_BAD_RESPONSE,this,null,this.response);throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Nb?_b:(Nb=1,_b=null)},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Wb.forEach(["delete","get","head"],(function(t){Qb.headers[t]={}})),Wb.forEach(["post","put","patch"],(function(t){Qb.headers[t]=Wb.merge(Yb)}));var Kb,Xb,Zb=Qb,tw=ov,ew=Zb;function rw(){return Xb?Kb:(Xb=1,Kb=function(t){return!(!t||!t.__CANCEL__)})}var nw=ov,ow=function(t,e,r){var n=this||ew;return tw.forEach(r,(function(r){t=r.call(n,t,e)})),t},iw=rw(),aw=Zb,uw=Db();function sw(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new uw}var cw,pw,lw=ov,fw=function(t,e){e=e||{};var r={};function n(t,e){return lw.isPlainObject(t)&&lw.isPlainObject(e)?lw.merge(t,e):lw.isPlainObject(e)?lw.merge({},e):lw.isArray(e)?e.slice():e}function o(r){return lw.isUndefined(e[r])?lw.isUndefined(t[r])?void 0:n(void 0,t[r]):n(t[r],e[r])}function i(t){if(!lw.isUndefined(e[t]))return n(void 0,e[t])}function a(r){return lw.isUndefined(e[r])?lw.isUndefined(t[r])?void 0:n(void 0,t[r]):n(void 0,e[r])}function u(r){return r in e?n(t[r],e[r]):r in t?n(void 0,t[r]):void 0}var s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return lw.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=s[t]||o,n=e(t);lw.isUndefined(n)&&e!==u||(r[t]=n)})),r};function hw(){return pw?cw:(pw=1,cw={version:"0.27.2"})}var dw=hw().version,yw=dv(),mw={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){mw[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var gw={};mw.transitional=function(t,e,r){function n(t,e){return"[Axios v"+dw+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,o,i){if(!1===t)throw new yw(n(o," has been removed"+(e?" in "+e:"")),yw.ERR_DEPRECATED);return e&&!gw[o]&&(gw[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};var vw,bw,ww,xw,Aw,Sw,Ew={assertOptions:function(t,e,r){if("object"!=typeof t)throw new yw("options must be an object",yw.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],a=e[i];if(a){var u=t[i],s=void 0===u||a(u,i,t);if(!0!==s)throw new yw("option "+i+" must be "+s,yw.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new yw("Unknown option "+i,yw.ERR_BAD_OPTION)}},validators:mw},Rw=ov,Pw=uv,kw=fv,Ow=function(t){return sw(t),t.headers=t.headers||{},t.data=ow.call(t,t.data,t.headers,t.transformRequest),t.headers=nw.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),nw.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||aw.adapter)(t).then((function(e){return sw(t),e.data=ow.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return iw(e)||(sw(t),e&&e.response&&(e.response.data=ow.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},jw=fw,Iw=Lb,Tw=Ew,_w=Tw.validators;function Nw(t){this.defaults=t,this.interceptors={request:new kw,response:new kw}}Nw.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=jw(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;void 0!==r&&Tw.assertOptions(r,{silentJSONParsing:_w.transitional(_w.boolean),forcedJSONParsing:_w.transitional(_w.boolean),clarifyTimeoutError:_w.transitional(_w.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!o){var u=[Ow,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(a),i=Promise.resolve(e);u.length;)i=i.then(u.shift(),u.shift());return i}for(var s=e;n.length;){var c=n.shift(),p=n.shift();try{s=c(s)}catch(t){p(t);break}}try{i=Ow(s)}catch(t){return Promise.reject(t)}for(;a.length;)i=i.then(a.shift(),a.shift());return i},Nw.prototype.getUri=function(t){t=jw(this.defaults,t);var e=Iw(t.baseURL,t.url);return Pw(e,t.params,t.paramsSerializer)},Rw.forEach(["delete","get","head","options"],(function(t){Nw.prototype[t]=function(e,r){return this.request(jw(r||{},{method:t,url:e,data:(r||{}).data}))}})),Rw.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(jw(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Nw.prototype[t]=e(),Nw.prototype[t+"Form"]=e(!0)}));var Uw=ov,Cw=Mg,Lw=Nw,Fw=fw;var Bw=function t(e){var r=new Lw(e),n=Cw(Lw.prototype.request,r);return Uw.extend(n,Lw.prototype,r),Uw.extend(n,r),n.create=function(r){return t(Fw(e,r))},n}(Zb);Bw.Axios=Lw,Bw.CanceledError=Db(),Bw.CancelToken=function(){if(bw)return vw;bw=1;var t=Db();function e(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function(t){r=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},e((function(e){n.reason||(n.reason=new t(e),r(n.reason))}))}return e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},e.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},e.source=function(){var t;return{token:new e((function(e){t=e})),cancel:t}},vw=e}(),Bw.isCancel=rw(),Bw.VERSION=hw().version,Bw.toFormData=bb(),Bw.AxiosError=dv(),Bw.Cancel=Bw.CanceledError,Bw.all=function(t){return Promise.all(t)},Bw.spread=xw?ww:(xw=1,ww=function(t){return function(e){return t.apply(null,e)}}),Bw.isAxiosError=function(){if(Sw)return Aw;Sw=1;var t=ov;return Aw=function(e){return t.isObject(e)&&!0===e.isAxiosError}}(),Dg.exports=Bw,Dg.exports.default=Bw;var Dw=P(Dg.exports),Mw=function(){function t(e){var r=e.responseHandler,n=e.requestConfigBuilder;s(this,t),this.responseHandler=r,this.requestConfigBuilder=n}var e,r,i,a,c,l;return p(t,[{key:"get",value:(l=u(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return l.apply(this,arguments)})},{key:"getData",value:(c=u(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r,{responseType:"arraybuffer"});case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return c.apply(this,arguments)})},{key:"post",value:(a=u(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return a.apply(this,arguments)})},{key:"postData",value:(i=u(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return i.apply(this,arguments)})},{key:"put",value:(r=u(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("put",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},{key:"delete",value:(e=u(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("delete",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,r){return e.apply(this,arguments)})},{key:"sendRequest",value:function(t){return this.responseHandler.handle(Dw(n(n({},t),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]),t}(),qw=Po,Ww=nt,Gw=pt,zw=gm,Hw=$([].join);qw({target:"Array",proto:!0,forced:Ww!=Object||!zw("join",",")},{join:function(t){return Hw(Gw(this),void 0===t?",":t)}});var Vw,Yw=R.Symbol,$w=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0},Jw=function(){return"function"==typeof Yw&&("function"==typeof Symbol&&("symbol"==typeof Yw("foo")&&("symbol"==typeof Symbol("bar")&&$w())))},Qw="Function.prototype.bind called on incompatible ",Kw=Array.prototype.slice,Xw=Object.prototype.toString,Zw="[object Function]",tx=function(t){var e=this;if("function"!=typeof e||Xw.call(e)!==Zw)throw new TypeError(Qw+e);for(var r,n=Kw.call(arguments,1),o=function(){if(this instanceof r){var o=e.apply(this,n.concat(Kw.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(Kw.call(arguments)))},i=Math.max(0,e.length-n.length),a=[],u=0;u<i;u++)a.push("$"+u);if(r=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(o),e.prototype){var s=function(){};s.prototype=e.prototype,r.prototype=new s,s.prototype=null}return r},ex=Function.prototype.bind||tx,rx=ex.call(Function.call,Object.prototype.hasOwnProperty),nx=SyntaxError,ox=Function,ix=TypeError,ax=function(t){try{return ox('"use strict"; return ('+t+").constructor;")()}catch(t){}},ux=Object.getOwnPropertyDescriptor;if(ux)try{ux({},"")}catch(t){ux=null}var sx,cx=function(){throw new ix},px=ux?function(){try{return cx}catch(t){try{return ux(arguments,"callee").get}catch(t){return cx}}}():cx,lx=Jw(),fx=Object.getPrototypeOf||function(t){return t.__proto__},hx={},dx="undefined"==typeof Uint8Array?Vw:fx(Uint8Array),yx={"%AggregateError%":"undefined"==typeof AggregateError?Vw:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Vw:ArrayBuffer,"%ArrayIteratorPrototype%":lx?fx([][Symbol.iterator]()):Vw,"%AsyncFromSyncIteratorPrototype%":Vw,"%AsyncFunction%":hx,"%AsyncGenerator%":hx,"%AsyncGeneratorFunction%":hx,"%AsyncIteratorPrototype%":hx,"%Atomics%":"undefined"==typeof Atomics?Vw:Atomics,"%BigInt%":"undefined"==typeof BigInt?Vw:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Vw:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?Vw:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Vw:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Vw:FinalizationRegistry,"%Function%":ox,"%GeneratorFunction%":hx,"%Int8Array%":"undefined"==typeof Int8Array?Vw:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Vw:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Vw:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":lx?fx(fx([][Symbol.iterator]())):Vw,"%JSON%":"object"==typeof JSON?JSON:Vw,"%Map%":"undefined"==typeof Map?Vw:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&lx?fx((new Map)[Symbol.iterator]()):Vw,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Vw:Promise,"%Proxy%":"undefined"==typeof Proxy?Vw:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?Vw:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Vw:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&lx?fx((new Set)[Symbol.iterator]()):Vw,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Vw:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":lx?fx(""[Symbol.iterator]()):Vw,"%Symbol%":lx?Symbol:Vw,"%SyntaxError%":nx,"%ThrowTypeError%":px,"%TypedArray%":dx,"%TypeError%":ix,"%Uint8Array%":"undefined"==typeof Uint8Array?Vw:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Vw:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Vw:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Vw:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?Vw:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Vw:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Vw:WeakSet},mx=function t(e){var r;if("%AsyncFunction%"===e)r=ax("async function () {}");else if("%GeneratorFunction%"===e)r=ax("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=ax("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=fx(o.prototype))}return yx[e]=r,r},gx={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},vx=ex,bx=rx,wx=vx.call(Function.call,Array.prototype.concat),xx=vx.call(Function.apply,Array.prototype.splice),Ax=vx.call(Function.call,String.prototype.replace),Sx=vx.call(Function.call,String.prototype.slice),Ex=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Rx=/\\(\\)?/g,Px=function(t){var e=Sx(t,0,1),r=Sx(t,-1);if("%"===e&&"%"!==r)throw new nx("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new nx("invalid intrinsic syntax, expected opening `%`");var n=[];return Ax(t,Ex,(function(t,e,r,o){n[n.length]=r?Ax(o,Rx,"$1"):e||t})),n},kx=function(t,e){var r,n=t;if(bx(gx,n)&&(n="%"+(r=gx[n])[0]+"%"),bx(yx,n)){var o=yx[n];if(o===hx&&(o=mx(n)),void 0===o&&!e)throw new ix("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new nx("intrinsic "+t+" does not exist!")},Ox=SyntaxError,jx=Function,Ix=TypeError,Tx=function(t){try{return Function('"use strict"; return ('+t+").constructor;")()}catch(t){}},_x=Object.getOwnPropertyDescriptor;if(_x)try{_x({},"")}catch(t){_x=null}var Nx=function(){throw new Ix},Ux=_x?function(){try{return Nx}catch(t){try{return _x(arguments,"callee").get}catch(t){return Nx}}}():Nx,Cx=Jw(),Lx=Object.getPrototypeOf||function(t){return t.__proto__},Fx=Tx("async function* () {}"),Bx=Fx?Fx.prototype:sx,Dx=Bx?Bx.prototype:sx,Mx="undefined"==typeof Uint8Array?sx:Lx(Uint8Array),qx={"%AggregateError%":"undefined"==typeof AggregateError?sx:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?sx:ArrayBuffer,"%ArrayIteratorPrototype%":Cx?Lx([][Symbol.iterator]()):sx,"%AsyncFromSyncIteratorPrototype%":sx,"%AsyncFunction%":Tx("async function () {}"),"%AsyncGenerator%":Bx,"%AsyncGeneratorFunction%":Fx,"%AsyncIteratorPrototype%":Dx?Lx(Dx):sx,"%Atomics%":"undefined"==typeof Atomics?sx:Atomics,"%BigInt%":"undefined"==typeof BigInt?sx:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?sx:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?sx:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?sx:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?sx:FinalizationRegistry,"%Function%":jx,"%GeneratorFunction%":Tx("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?sx:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?sx:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?sx:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Cx?Lx(Lx([][Symbol.iterator]())):sx,"%JSON%":"object"==typeof JSON?JSON:sx,"%Map%":"undefined"==typeof Map?sx:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Cx?Lx((new Map)[Symbol.iterator]()):sx,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?sx:Promise,"%Proxy%":"undefined"==typeof Proxy?sx:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?sx:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?sx:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Cx?Lx((new Set)[Symbol.iterator]()):sx,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?sx:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Cx?Lx(""[Symbol.iterator]()):sx,"%Symbol%":Cx?Symbol:sx,"%SyntaxError%":Ox,"%ThrowTypeError%":Ux,"%TypedArray%":Mx,"%TypeError%":Ix,"%Uint8Array%":"undefined"==typeof Uint8Array?sx:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?sx:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?sx:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?sx:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?sx:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?sx:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?sx:WeakSet},Wx={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Gx=ex,zx=rx,Hx=Gx.call(Function.call,Array.prototype.concat),Vx=Gx.call(Function.apply,Array.prototype.splice),Yx=Gx.call(Function.call,String.prototype.replace),$x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Jx=/\\(\\)?/g,Qx=function(t){var e=[];return Yx(t,$x,(function(t,r,n,o){e[e.length]=n?Yx(o,Jx,"$1"):r||t})),e},Kx=function(t,e){var r,n=t;if(zx(Wx,n)&&(n="%"+(r=Wx[n])[0]+"%"),zx(qx,n)){var o=qx[n];if(void 0===o&&!e)throw new Ix("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Ox("intrinsic "+t+" does not exist!")},Xx=function(t,e){if("string"!=typeof t||0===t.length)throw new Ix("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new Ix('"allowMissing" argument must be a boolean');var r=Qx(t),n=r.length>0?r[0]:"",o=Kx("%"+n+"%",e),i=o.name,a=o.value,u=!1,s=o.alias;s&&(n=s[0],Vx(r,Hx([0,1],s)));for(var c=1,p=!0;c<r.length;c+=1){var l=r[c];if("constructor"!==l&&p||(u=!0),zx(qx,i="%"+(n+="."+l)+"%"))a=qx[i];else if(null!=a){if(_x&&c+1>=r.length){var f=_x(a,l);if(p=!!f,!e&&!(l in a))throw new Ix("base intrinsic for "+t+" exists, but the property is not available.");a=p&&"get"in f&&!("originalValue"in f.get)?f.get:a[l]}else p=zx(a,l),a=a[l];p&&!u&&(qx[i]=a)}}return a},Zx={exports:{}};!function(t){var e=ex,r=Xx,n=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||e.call(o,n),a=r("%Object.defineProperty%",!0);if(a)try{a({},"a",{value:1})}catch(t){a=null}t.exports=function(){return i(e,o,arguments)};var u=function(){return i(e,n,arguments)};a?a(t.exports,"apply",{value:u}):t.exports.apply=u}(Zx);var tA=Xx,eA=Zx.exports,rA=eA(tA("String.prototype.indexOf")),nA=k(Object.freeze({__proto__:null,default:{}})),oA="function"==typeof Map&&Map.prototype,iA=Object.getOwnPropertyDescriptor&&oA?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,aA=oA&&iA&&"function"==typeof iA.get?iA.get:null,uA=oA&&Map.prototype.forEach,sA="function"==typeof Set&&Set.prototype,cA=Object.getOwnPropertyDescriptor&&sA?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,pA=sA&&cA&&"function"==typeof cA.get?cA.get:null,lA=sA&&Set.prototype.forEach,fA="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,hA="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,dA=Boolean.prototype.valueOf,yA=Object.prototype.toString,mA=Function.prototype.toString,gA=String.prototype.match,vA="function"==typeof BigInt?BigInt.prototype.valueOf:null,bA=Object.getOwnPropertySymbols,wA="function"==typeof Symbol?Symbol.prototype.toString:null,xA=Object.prototype.propertyIsEnumerable,AA=nA.custom,SA=AA&&kA(AA)?AA:null;function EA(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function RA(t){return String(t).replace(/"/g,"&quot;")}function PA(t){return"[object Array]"===IA(t)}function kA(t){return"[object Symbol]"===IA(t)}var OA=Object.prototype.hasOwnProperty||function(t){return t in this};function jA(t,e){return OA.call(t,e)}function IA(t){return yA.call(t)}function TA(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function _A(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return _A(t.slice(0,e.maxStringLength),e)+n}return EA(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,NA),"single",e)}function NA(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function UA(t){return"Object("+t+")"}function CA(t){return t+" { ? }"}function LA(t,e,r,n){return t+" ("+e+") {"+(n?FA(r,n):r.join(", "))+"}"}function FA(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function BA(t,e){var r=PA(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=jA(t,o)?e(t[o],t):""}for(var i in t)jA(t,i)&&(r&&String(Number(i))===i&&i<t.length||(/[^\w$]/.test(i)?n.push(e(i,t)+": "+e(t[i],t)):n.push(i+": "+e(t[i],t))));if("function"==typeof bA)for(var a=bA(t),u=0;u<a.length;u++)xA.call(t,a[u])&&n.push("["+e(a[u])+"]: "+e(t[a[u]],t));return n}var DA=function(t,e){if("string"!=typeof t||0===t.length)throw new ix("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new ix('"allowMissing" argument must be a boolean');var r=Px(t),n=r.length>0?r[0]:"",o=kx("%"+n+"%",e),i=o.name,a=o.value,u=!1,s=o.alias;s&&(n=s[0],xx(r,wx([0,1],s)));for(var c=1,p=!0;c<r.length;c+=1){var l=r[c],f=Sx(l,0,1),h=Sx(l,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new nx("property names with quotes must have matching quotes");if("constructor"!==l&&p||(u=!0),bx(yx,i="%"+(n+="."+l)+"%"))a=yx[i];else if(null!=a){if(!(l in a)){if(!e)throw new ix("base intrinsic for "+t+" exists, but the property is not available.");return}if(ux&&c+1>=r.length){var d=ux(a,l);a=(p=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[l]}else p=bx(a,l),a=a[l];p&&!u&&(yx[i]=a)}}return a},MA=function(t,e){var r=tA(t,!!e);return"function"==typeof r&&rA(t,".prototype.")>-1?eA(r):r},qA=function t(e,r,n,o){var i=r||{};if(jA(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(jA(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!jA(i,"customInspect")||i.customInspect;if("boolean"!=typeof a)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(jA(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return _A(e,i);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var u=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=u&&u>0&&"object"==typeof e)return PA(e)?"[Array]":"[Object]";var s=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(i,n);if(void 0===o)o=[];else if(TA(o,e)>=0)return"[Circular]";function c(e,r,a){if(r&&(o=o.slice()).push(r),a){var u={depth:i.depth};return jA(i,"quoteStyle")&&(u.quoteStyle=i.quoteStyle),t(e,u,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e){var p=function(t){if(t.name)return t.name;var e=gA.call(mA.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),l=BA(e,c);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(l.length>0?" { "+l.join(", ")+" }":"")}if(kA(e)){var f=wA.call(e);return"object"==typeof e?UA(f):f}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var h="<"+String(e.nodeName).toLowerCase(),d=e.attributes||[],y=0;y<d.length;y++)h+=" "+d[y].name+"="+EA(RA(d[y].value),"double",i);return h+=">",e.childNodes&&e.childNodes.length&&(h+="..."),h+="</"+String(e.nodeName).toLowerCase()+">"}if(PA(e)){if(0===e.length)return"[]";var m=BA(e,c);return s&&!function(t){for(var e=0;e<t.length;e++)if(TA(t[e],"\n")>=0)return!1;return!0}(m)?"["+FA(m,s)+"]":"[ "+m.join(", ")+" ]"}if(function(t){return"[object Error]"===IA(t)}(e)){var g=BA(e,c);return 0===g.length?"["+String(e)+"]":"{ ["+String(e)+"] "+g.join(", ")+" }"}if("object"==typeof e&&a){if(SA&&"function"==typeof e[SA])return e[SA]();if("function"==typeof e.inspect)return e.inspect()}if(function(t){if(!aA||!t||"object"!=typeof t)return!1;try{aA.call(t);try{pA.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var v=[];return uA.call(e,(function(t,r){v.push(c(r,e,!0)+" => "+c(t,e))})),LA("Map",aA.call(e),v,s)}if(function(t){if(!pA||!t||"object"!=typeof t)return!1;try{pA.call(t);try{aA.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var b=[];return lA.call(e,(function(t){b.push(c(t,e))})),LA("Set",pA.call(e),b,s)}if(function(t){if(!fA||!t||"object"!=typeof t)return!1;try{fA.call(t,fA);try{hA.call(t,hA)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return CA("WeakMap");if(function(t){if(!hA||!t||"object"!=typeof t)return!1;try{hA.call(t,hA);try{fA.call(t,fA)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return CA("WeakSet");if(function(t){return"[object Number]"===IA(t)}(e))return UA(c(Number(e)));if(function(t){return"[object BigInt]"===IA(t)}(e))return UA(c(vA.call(e)));if(function(t){return"[object Boolean]"===IA(t)}(e))return UA(dA.call(e));if(function(t){return"[object String]"===IA(t)}(e))return UA(c(String(e)));if(!function(t){return"[object Date]"===IA(t)}(e)&&!function(t){return"[object RegExp]"===IA(t)}(e)){var w=BA(e,c);return 0===w.length?"{}":s?"{"+FA(w,s)+"}":"{ "+w.join(", ")+" }"}return String(e)},WA=DA("%TypeError%"),GA=DA("%WeakMap%",!0),zA=DA("%Map%",!0),HA=MA("WeakMap.prototype.get",!0),VA=MA("WeakMap.prototype.set",!0),YA=MA("WeakMap.prototype.has",!0),$A=MA("Map.prototype.get",!0),JA=MA("Map.prototype.set",!0),QA=MA("Map.prototype.has",!0),KA=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r},XA=String.prototype.replace,ZA=/%20/g,tS="RFC3986",eS={default:tS,formatters:{RFC1738:function(t){return XA.call(t,ZA,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:tS},rS=eS,nS=Object.prototype.hasOwnProperty,oS=Array.isArray,iS=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),aS=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},uS={arrayToObject:aS,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],i=o.obj[o.prop],a=Object.keys(i),u=0;u<a.length;++u){var s=a[u],c=i[s];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(e.push({obj:i,prop:s}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(oS(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,n,o){if(0===t.length)return t;var i=t;if("symbol"==typeof t?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",u=0;u<i.length;++u){var s=i.charCodeAt(u);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||o===rS.RFC1738&&(40===s||41===s)?a+=i.charAt(u):s<128?a+=iS[s]:s<2048?a+=iS[192|s>>6]+iS[128|63&s]:s<55296||s>=57344?a+=iS[224|s>>12]+iS[128|s>>6&63]+iS[128|63&s]:(u+=1,s=65536+((1023&s)<<10|1023&i.charCodeAt(u)),a+=iS[240|s>>18]+iS[128|s>>12&63]+iS[128|s>>6&63]+iS[128|63&s])}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(oS(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r){if(oS(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!nS.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return oS(e)&&!oS(r)&&(o=aS(e,n)),oS(e)&&oS(r)?(r.forEach((function(r,o){if(nS.call(e,o)){var i=e[o];i&&"object"==typeof i&&r&&"object"==typeof r?e[o]=t(i,r,n):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var i=r[o];return nS.call(e,o)?e[o]=t(e[o],i,n):e[o]=i,e}),o)}},sS=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new WA("Side channel does not contain "+qA(t))},get:function(n){if(GA&&n&&("object"==typeof n||"function"==typeof n)){if(t)return HA(t,n)}else if(zA){if(e)return $A(e,n)}else if(r)return function(t,e){var r=KA(t,e);return r&&r.value}(r,n)},has:function(n){if(GA&&n&&("object"==typeof n||"function"==typeof n)){if(t)return YA(t,n)}else if(zA){if(e)return QA(e,n)}else if(r)return function(t,e){return!!KA(t,e)}(r,n);return!1},set:function(n,o){GA&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new GA),VA(t,n,o)):zA?(e||(e=new zA),JA(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=KA(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},cS=uS,pS=eS,lS=Object.prototype.hasOwnProperty,fS={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},hS=Array.isArray,dS=String.prototype.split,yS=Array.prototype.push,mS=function(t,e){yS.apply(t,hS(e)?e:[e])},gS=Date.prototype.toISOString,vS=pS.default,bS={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:cS.encode,encodeValuesOnly:!1,format:vS,formatter:pS.formatters[vS],indices:!1,serializeDate:function(t){return gS.call(t)},skipNulls:!1,strictNullHandling:!1},wS={},xS=function t(e,r,n,o,i,a,u,s,c,p,l,f,h,d,y){for(var m,g=e,v=y,b=0,w=!1;void 0!==(v=v.get(wS))&&!w;){var x=v.get(e);if(b+=1,void 0!==x){if(x===b)throw new RangeError("Cyclic object value");w=!0}void 0===v.get(wS)&&(b=0)}if("function"==typeof u?g=u(r,g):g instanceof Date?g=p(g):"comma"===n&&hS(g)&&(g=cS.maybeMap(g,(function(t){return t instanceof Date?p(t):t}))),null===g){if(o)return a&&!h?a(r,bS.encoder,d,"key",l):r;g=""}if("string"==typeof(m=g)||"number"==typeof m||"boolean"==typeof m||"symbol"==typeof m||"bigint"==typeof m||cS.isBuffer(g)){if(a){var A=h?r:a(r,bS.encoder,d,"key",l);if("comma"===n&&h){for(var S=dS.call(String(g),","),E="",R=0;R<S.length;++R)E+=(0===R?"":",")+f(a(S[R],bS.encoder,d,"value",l));return[f(A)+(hS(g)&&1===S.length?"[]":"")+"="+E]}return[f(A)+"="+f(a(g,bS.encoder,d,"value",l))]}return[f(r)+"="+f(String(g))]}var P,k=[];if(void 0===g)return k;if("comma"===n&&hS(g))P=[{value:g.length>0?g.join(",")||null:void 0}];else if(hS(u))P=u;else{var O=Object.keys(g);P=s?O.sort(s):O}for(var j="comma"===n&&hS(g)&&1===g.length?r+"[]":r,I=0;I<P.length;++I){var T=P[I],_="object"==typeof T&&void 0!==T.value?T.value:g[T];if(!i||null!==_){var N=hS(g)?"function"==typeof n?n(j,T):j:j+(c?"."+T:"["+T+"]");y.set(e,b);var U=sS();U.set(wS,y),mS(k,t(_,N,n,o,i,a,u,s,c,p,l,f,h,d,U))}}return k},AS=uS,SS=Object.prototype.hasOwnProperty,ES=Array.isArray,RS={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:AS.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},PS=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},kS=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},OS=function(t,e,r,n){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),u=a?o.slice(0,a.index):o,s=[];if(u){if(!r.plainObjects&&SS.call(Object.prototype,u)&&!r.allowPrototypes)return;s.push(u)}for(var c=0;r.depth>0&&null!==(a=i.exec(o))&&c<r.depth;){if(c+=1,!r.plainObjects&&SS.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;s.push(a[1])}return a&&s.push("["+o.slice(a.index)+"]"),function(t,e,r,n){for(var o=n?e:kS(e,r),i=t.length-1;i>=0;--i){var a,u=t[i];if("[]"===u&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var s="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,c=parseInt(s,10);r.parseArrays||""!==s?!isNaN(c)&&u!==s&&String(c)===s&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=o:"__proto__"!==s&&(a[s]=o):a={0:o}}o=a}return o}(s,e,r,n)}},jS=function(t,e){var r,n=t,o=function(t){if(!t)return bS;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||bS.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=pS.default;if(void 0!==t.format){if(!lS.call(pS.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=pS.formatters[r],o=bS.filter;return("function"==typeof t.filter||hS(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:bS.addQueryPrefix,allowDots:void 0===t.allowDots?bS.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:bS.charsetSentinel,delimiter:void 0===t.delimiter?bS.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:bS.encode,encoder:"function"==typeof t.encoder?t.encoder:bS.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:bS.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:bS.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:bS.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:bS.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):hS(o.filter)&&(r=o.filter);var i,a=[];if("object"!=typeof n||null===n)return"";i=e&&e.arrayFormat in fS?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var u=fS[i];r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var s=sS(),c=0;c<r.length;++c){var p=r[c];o.skipNulls&&null===n[p]||mS(a,xS(n[p],p,u,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,s))}var l=a.join(o.delimiter),f=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),l.length>0?f+l:""},IS=function(t,e){var r=function(t){if(!t)return RS;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?RS.charset:t.charset;return{allowDots:void 0===t.allowDots?RS.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:RS.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:RS.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:RS.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:RS.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:RS.comma,decoder:"function"==typeof t.decoder?t.decoder:RS.decoder,delimiter:"string"==typeof t.delimiter||AS.isRegExp(t.delimiter)?t.delimiter:RS.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:RS.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:RS.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:RS.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:RS.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:RS.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,e){var r,n={},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=o.split(e.delimiter,i),u=-1,s=e.charset;if(e.charsetSentinel)for(r=0;r<a.length;++r)0===a[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[r]?s="utf-8":"utf8=%26%2310003%3B"===a[r]&&(s="iso-8859-1"),u=r,r=a.length);for(r=0;r<a.length;++r)if(r!==u){var c,p,l=a[r],f=l.indexOf("]="),h=-1===f?l.indexOf("="):f+1;-1===h?(c=e.decoder(l,RS.decoder,s,"key"),p=e.strictNullHandling?null:""):(c=e.decoder(l.slice(0,h),RS.decoder,s,"key"),p=AS.maybeMap(kS(l.slice(h+1),e),(function(t){return e.decoder(t,RS.decoder,s,"value")}))),p&&e.interpretNumericEntities&&"iso-8859-1"===s&&(p=PS(p)),l.indexOf("[]=")>-1&&(p=ES(p)?[p]:p),SS.call(n,c)?n[c]=AS.combine(n[c],p):n[c]=p}return n}(t,r):t,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var u=i[a],s=OS(u,n[u],r,"string"==typeof t);o=AS.merge(o,s,r)}return!0===r.allowSparse?o:AS.compact(o)},TS=P({formats:eS,parse:IS,stringify:jS});const _S="function"==typeof btoa,NS="function"==typeof Buffer,US=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),CS=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),LS=((t=>{let e={};t.forEach(((t,r)=>e[t]=r))})(CS),String.fromCharCode.bind(String)),FS=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_"))),BS=t=>{let e,r,n,o,i="";const a=t.length%3;for(let a=0;a<t.length;){if((r=t.charCodeAt(a++))>255||(n=t.charCodeAt(a++))>255||(o=t.charCodeAt(a++))>255)throw new TypeError("invalid character found");e=r<<16|n<<8|o,i+=CS[e>>18&63]+CS[e>>12&63]+CS[e>>6&63]+CS[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},DS=_S?t=>btoa(t):NS?t=>Buffer.from(t,"binary").toString("base64"):BS,MS=NS?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(LS.apply(null,t.subarray(r,r+4096)));return DS(e.join(""))},qS=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?LS(192|e>>>6)+LS(128|63&e):LS(224|e>>>12&15)+LS(128|e>>>6&63)+LS(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return LS(240|e>>>18&7)+LS(128|e>>>12&63)+LS(128|e>>>6&63)+LS(128|63&e)},WS=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,GS=t=>t.replace(WS,qS),zS=NS?t=>Buffer.from(t,"utf8").toString("base64"):US?t=>MS(US.encode(t)):t=>DS(GS(t)),HS=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?FS(zS(t)):zS(t)},VS=HS;var YS=function(){function t(e){if(s(this,t),this.baseUrl=e.baseUrl,this.auth=e.auth,this.headers=this.buildHeaders({basicAuth:e.basicAuth,userAgent:e.userAgent}),"httpsAgent"in e){if("clientCertAuth"in e)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=e.httpsAgent}else"clientCertAuth"in e&&(this.clientCertAuth=e.clientCertAuth);this.proxy=e.proxy,this.requestToken=null}var r,i,a;return p(t,[{key:"build",value:(a=u(o().mark((function t(r,i,a,u){var s,c,p,l;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:s=n(n(n({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(i)},u||{}),e.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth})),{},{proxy:this.proxy}),t.t0=r,t.next="get"===t.t0?4:"post"===t.t0?16:"put"===t.t0?29:"delete"===t.t0?37:44;break;case 4:if(!((c=this.buildRequestUrl(i,a)).length>4096)){t.next=15;break}return t.t1=n,t.t2=n({},s),t.t3={},t.t4=n(n({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),t.next=12,this.buildData(a);case 12:return t.t5=t.sent,t.t6={method:"post",headers:t.t4,data:t.t5},t.abrupt("return",(0,t.t1)(t.t2,t.t3,t.t6));case 15:return t.abrupt("return",n(n({},s),{},{url:c}));case 16:if(!(a instanceof Fg)){t.next=21;break}return t.next=19,this.buildData(a);case 19:return p=t.sent,t.abrupt("return",n(n({},s),{},{headers:"function"==typeof p.getHeaders?n(n({},this.headers),p.getHeaders()):this.headers,data:p}));case 21:return t.t7=n,t.t8=n({},s),t.t9={},t.next=26,this.buildData(a);case 26:return t.t10=t.sent,t.t11={data:t.t10},t.abrupt("return",(0,t.t7)(t.t8,t.t9,t.t11));case 29:return t.t12=n,t.t13=n({},s),t.t14={},t.next=34,this.buildData(a);case 34:return t.t15=t.sent,t.t16={data:t.t15},t.abrupt("return",(0,t.t12)(t.t13,t.t14,t.t16));case 37:return t.t17=this,t.t18=i,t.next=41,this.buildData(a);case 41:return t.t19=t.sent,l=t.t17.buildRequestUrl.call(t.t17,t.t18,t.t19),t.abrupt("return",n(n({},s),{},{url:l}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return t.stop()}}),t,this)}))),function(t,e,r,n){return a.apply(this,arguments)})},{key:"buildRequestUrl",value:function(t,e){return"".concat(this.baseUrl).concat(t,"?").concat(TS.stringify(e))}},{key:"buildData",value:(i=u(o().mark((function t(e){var r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("session"!==this.auth.type){t.next=8;break}return t.next=3,this.getRequestToken();case 3:if(r=t.sent,!(e instanceof Fg)){t.next=7;break}return e.append("__REQUEST_TOKEN__",r),t.abrupt("return",e);case 7:return t.abrupt("return",n({__REQUEST_TOKEN__:r},e));case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return i.apply(this,arguments)})},{key:"buildHeaders",value:function(t){var r=t.basicAuth,o=t.userAgent,i=r?{Authorization:"Basic ".concat(VS("".concat(r.username,":").concat(r.password)))}:{},a=n(n({},e.buildHeaders({userAgent:o})),i);switch(this.auth.type){case"password":return n(n({},a),{},{"X-Cybozu-Authorization":VS("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var u=this.auth.apiToken;return Array.isArray(u)?n(n({},a),{},{"X-Cybozu-API-Token":u.join(",")}):n(n({},a),{},{"X-Cybozu-API-Token":u});case"oAuthToken":return n(n({},a),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return n(n({},a),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(r=u(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==this.requestToken){t.next=4;break}return t.next=3,e.getRequestToken();case 3:this.requestToken=t.sent;case 4:return t.abrupt("return",this.requestToken);case 5:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})}]),t}(),$S=$,JS=Sn,QS=Date.prototype,KS="Invalid Date",XS="toString",ZS=$S(QS.toString),tE=$S(QS.getTime);String(new Date(NaN))!=KS&&JS(QS,XS,(function(){var t=tE(this);return t==t?ZS(this):KS}));var eE=L,rE=fe,nE=At,oE=oa,iE=RegExp.prototype,aE=Rr.PROPER,uE=Sn,sE=or,cE=ra,pE=T,lE=function(t){var e=t.flags;return void 0!==e||"flags"in iE||rE(t,"flags")||!nE(iE,t)?e:eE(oE,t)},fE="toString",hE=RegExp.prototype.toString,dE=pE((function(){return"/a/b"!=hE.call({source:"a",flags:"b"})})),yE=aE&&hE.name!=fE;(dE||yE)&&uE(RegExp.prototype,fE,(function(){var t=sE(this);return"/"+cE(t.source)+"/"+cE(lE(t))}),{unsafe:!0});var mE,gE=function(t){f(r,t);var e=x(r);function r(t){var n;return s(this,r),(n=e.call(this,t)).name="KintoneAbortSearchError",n.message=t,Object.setPrototypeOf(b(n),r.prototype),n}return p(r)}(g(Error)),vE=function(t){f(r,t);var e=x(r);function r(t){var n;s(this,r);var o=r.buildErrorResponseDateWithIndex(t),i=o.data,a=o.bulkRequestIndex;return(n=e.call(this,i.message)).name="KintoneRestAPIError",n.id=i.id,n.code=i.code,n.errors=i.errors,n.status=t.status,n.bulkRequestIndex=a,n.headers=t.headers,n.message="[".concat(t.status,"] [").concat(n.code,"] ").concat(n.message," (").concat(n.id,")"),Error.captureStackTrace&&Error.captureStackTrace(b(n),r),Object.setPrototypeOf(b(n),r.prototype),n}return p(r,null,[{key:"findErrorResponseDataWithIndex",value:function(t){for(var e=0;e<t.length;e++){if(0!==Object.keys(t[e]).length)return{data:t[e],bulkRequestIndex:e}}throw Error("Missing response data in `results`. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.")}},{key:"buildErrorResponseDateWithIndex",value:function(t){return"results"in t.data?r.findErrorResponseDataWithIndex(t.data.results):{data:t.data}}}]),r}(g(Error)),bE=["data"],wE=function(){function t(e){var r=e.enableAbortSearchError;s(this,t),this.enableAbortSearchError=r}return p(t,[{key:"handle",value:function(t){var e=this;return t.then((function(t){return e.handleSuccessResponse(t)}),(function(t){return e.handleErrorResponse(t)}))}},{key:"handleSuccessResponse",value:function(t){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(t.headers["x-cybozu-warning"]))throw new gE(t.headers["x-cybozu-warning"]);return t.data}},{key:"handleErrorResponse",value:function(t){if(!t.response){if(/mac verify failure/.test(t.toString()))throw new Error("invalid clientCertAuth setting");throw t}var e=t.response,r=e.data,o=v(e,bE);if("string"==typeof r)throw new Error("".concat(o.status,": ").concat(o.statusText));throw new vE(n({data:r},o))}}]),t}(),xE=function(t){if("username"in t)return n({type:"password"},t);if("apiToken"in t)return n({type:"apiToken"},t);if("oAuthToken"in t)return n({type:"oAuthToken"},t);try{return e.getDefaultAuth()}catch(t){if(t instanceof $i)throw new Error("session authentication is not supported in ".concat(t.platform," environment."));throw t}},AE=function(){function t(){var r,o,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,t),SE(a),this.baseUrl=e.buildBaseUrl(a.baseUrl).replace(/\/+$/,"");var u=xE(null!==(r=a.auth)&&void 0!==r?r:{}),c=new YS(n(n({},a),{},{baseUrl:this.baseUrl,auth:u})),p=new wE({enableAbortSearchError:null!==(o=null===(i=a.featureFlags)||void 0===i?void 0:i.enableAbortSearchError)&&void 0!==o&&o}),l=new Mw({responseHandler:p,requestConfigBuilder:c}),f=a.guestSpaceId;this.bulkRequest_=new ny(l,f),this.record=new Lg(l,this.bulkRequest_,f),this.app=new vy(l,f),this.file=new Bg(l,f)}return p(t,[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(t){return this.bulkRequest_.send(t)}}],[{key:"version",get:function(){return e.getVersion()}}]),t}(),SE=function(t){EE(t.baseUrl),RE(t.guestSpaceId)},EE=function(t){if(void 0!==t){var e=new URL(t);if("localhost"!==e.hostname&&"https:"!==e.protocol)throw new Error('The protocol of baseUrl must be "https".')}},RE=function(t){if(""===t||null===t)throw new Error("invalid guestSpaceId: got [".concat(t,"]"))};(mE=Zi).readFileFromPath&&(e.readFileFromPath=mE.readFileFromPath),mE.getRequestToken&&(e.getRequestToken=mE.getRequestToken),mE.getDefaultAuth&&(e.getDefaultAuth=mE.getDefaultAuth),mE.buildPlatformDependentConfig&&(e.buildPlatformDependentConfig=mE.buildPlatformDependentConfig),mE.buildHeaders&&(e.buildHeaders=mE.buildHeaders),mE.buildFormDataValue&&(e.buildFormDataValue=mE.buildFormDataValue),mE.buildBaseUrl&&(e.buildBaseUrl=mE.buildBaseUrl),mE.getVersion&&(e.getVersion=mE.getVersion),t.KintoneAbortSearchError=gE,t.KintoneAllRecordsError=Tg,t.KintoneRestAPIClient=AE,t.KintoneRestAPIError=vE}));
469
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).window=t.window||{})}(this,(function(t){"use strict";var e={readFileFromPath:function(){throw new Error("not implemented")},getRequestToken:function(){throw new Error("not implemented")},getDefaultAuth:function(){throw new Error("not implemented")},buildPlatformDependentConfig:function(){throw new Error("not implemented")},buildHeaders:function(){throw new Error("not implemented")},buildFormDataValue:function(){throw new Error("not implemented")},buildBaseUrl:function(){throw new Error("not implemented")},getVersion:function(){throw new Error("not implemented")}};function r(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function n(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){p(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(){o=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),s=new I(n||[]);return i(a,"_invoke",{value:P(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",d="suspendedYield",y="executing",m="completed",g={};function v(){}function b(){}function w(){}var x={};l(x,s,(function(){return this}));var S=Object.getPrototypeOf,A=S&&S(S(_([])));A&&A!==r&&n.call(A,s)&&(x=A);var E=w.prototype=v.prototype=Object.create(x);function R(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,s){var u=f(t[o],t,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var o;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function P(e,r,n){var o=h;return function(i,a){if(o===y)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=k(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=f(e,r,n);if("normal"===c.type){if(o=n.done?m:d,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function k(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=w,i(E,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},R(O.prototype),l(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new O(p(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},R(E),l(E,c,"Generator"),l(E,s,(function(){return this})),l(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function s(t){a(i,n,o,s,u,"next",t)}function u(t){a(i,n,o,s,u,"throw",t)}s(void 0)}))}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,A(n.key),n)}}function l(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function p(t,e,r){return(e=A(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}function d(t,e){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},d(t,e)}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function m(t,e,r){return m=y()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&d(o,r.prototype),o},m.apply(null,arguments)}function g(t){var e="function"==typeof Map?new Map:void 0;return g=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return m(t,arguments,h(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,t)},g(t)}function v(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w(t){var e=y();return function(){var r,n=h(t);if(e){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return b(t)}(this,r)}}function x(t){return function(t){if(Array.isArray(t))return S(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return S(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function A(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}var E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function R(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function O(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var r=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),r}var P=function(t){return t&&t.Math===Math&&t},k=P("object"==typeof globalThis&&globalThis)||P("object"==typeof window&&window)||P("object"==typeof self&&self)||P("object"==typeof E&&E)||function(){return this}()||E||Function("return this")(),j={},T=function(t){try{return!!t()}catch(t){return!0}},I=!T((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),_=!T((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),N=_,C=Function.prototype.call,U=N?C.bind(C):function(){return C.apply(C,arguments)},L={},F={}.propertyIsEnumerable,B=Object.getOwnPropertyDescriptor,D=B&&!F.call({1:2},1);L.f=D?function(t){var e=B(this,t);return!!e&&e.enumerable}:F;var M,q,W=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},G=_,z=Function.prototype,H=z.call,V=G&&z.bind.bind(H,H),$=G?V:function(t){return function(){return H.apply(t,arguments)}},Y=$,K=Y({}.toString),J=Y("".slice),Q=function(t){return J(K(t),8,-1)},X=T,Z=Q,tt=Object,et=$("".split),rt=X((function(){return!tt("z").propertyIsEnumerable(0)}))?function(t){return"String"===Z(t)?et(t,""):tt(t)}:tt,nt=function(t){return null==t},ot=nt,it=TypeError,at=function(t){if(ot(t))throw it("Can't call method on "+t);return t},st=rt,ut=at,ct=function(t){return st(ut(t))},lt="object"==typeof document&&document.all,pt={all:lt,IS_HTMLDDA:void 0===lt&&void 0!==lt},ft=pt.all,ht=pt.IS_HTMLDDA?function(t){return"function"==typeof t||t===ft}:function(t){return"function"==typeof t},dt=ht,yt=pt.all,mt=pt.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:dt(t)||t===yt}:function(t){return"object"==typeof t?null!==t:dt(t)},gt=k,vt=ht,bt=function(t,e){return arguments.length<2?(r=gt[t],vt(r)?r:void 0):gt[t]&&gt[t][e];var r},wt=$({}.isPrototypeOf),xt=k,St="undefined"!=typeof navigator&&String(navigator.userAgent)||"",At=xt.process,Et=xt.Deno,Rt=At&&At.versions||Et&&Et.version,Ot=Rt&&Rt.v8;Ot&&(q=(M=Ot.split("."))[0]>0&&M[0]<4?1:+(M[0]+M[1])),!q&&St&&(!(M=St.match(/Edge\/(\d+)/))||M[1]>=74)&&(M=St.match(/Chrome\/(\d+)/))&&(q=+M[1]);var Pt=q,kt=Pt,jt=T,Tt=k.String,It=!!Object.getOwnPropertySymbols&&!jt((function(){var t=Symbol("symbol detection");return!Tt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&kt&&kt<41})),_t=It&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Nt=bt,Ct=ht,Ut=wt,Lt=Object,Ft=_t?function(t){return"symbol"==typeof t}:function(t){var e=Nt("Symbol");return Ct(e)&&Ut(e.prototype,Lt(t))},Bt=String,Dt=function(t){try{return Bt(t)}catch(t){return"Object"}},Mt=ht,qt=Dt,Wt=TypeError,Gt=function(t){if(Mt(t))return t;throw Wt(qt(t)+" is not a function")},zt=Gt,Ht=nt,Vt=function(t,e){var r=t[e];return Ht(r)?void 0:zt(r)},$t=U,Yt=ht,Kt=mt,Jt=TypeError,Qt={exports:{}},Xt=k,Zt=Object.defineProperty,te=function(t,e){try{Zt(Xt,t,{value:e,configurable:!0,writable:!0})}catch(r){Xt[t]=e}return e},ee=te,re="__core-js_shared__",ne=k[re]||ee(re,{}),oe=ne;(Qt.exports=function(t,e){return oe[t]||(oe[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.32.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE",source:"https://github.com/zloirock/core-js"});var ie=Qt.exports,ae=at,se=Object,ue=function(t){return se(ae(t))},ce=ue,le=$({}.hasOwnProperty),pe=Object.hasOwn||function(t,e){return le(ce(t),e)},fe=$,he=0,de=Math.random(),ye=fe(1..toString),me=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ye(++he+de,36)},ge=ie,ve=pe,be=me,we=It,xe=_t,Se=k.Symbol,Ae=ge("wks"),Ee=xe?Se.for||Se:Se&&Se.withoutSetter||be,Re=function(t){return ve(Ae,t)||(Ae[t]=we&&ve(Se,t)?Se[t]:Ee("Symbol."+t)),Ae[t]},Oe=U,Pe=mt,ke=Ft,je=Vt,Te=function(t,e){var r,n;if("string"===e&&Yt(r=t.toString)&&!Kt(n=$t(r,t)))return n;if(Yt(r=t.valueOf)&&!Kt(n=$t(r,t)))return n;if("string"!==e&&Yt(r=t.toString)&&!Kt(n=$t(r,t)))return n;throw Jt("Can't convert object to primitive value")},Ie=TypeError,_e=Re("toPrimitive"),Ne=function(t,e){if(!Pe(t)||ke(t))return t;var r,n=je(t,_e);if(n){if(void 0===e&&(e="default"),r=Oe(n,t,e),!Pe(r)||ke(r))return r;throw Ie("Can't convert object to primitive value")}return void 0===e&&(e="number"),Te(t,e)},Ce=Ne,Ue=Ft,Le=function(t){var e=Ce(t,"string");return Ue(e)?e:e+""},Fe=mt,Be=k.document,De=Fe(Be)&&Fe(Be.createElement),Me=function(t){return De?Be.createElement(t):{}},qe=Me,We=!I&&!T((function(){return 7!==Object.defineProperty(qe("div"),"a",{get:function(){return 7}}).a})),Ge=I,ze=U,He=L,Ve=W,$e=ct,Ye=Le,Ke=pe,Je=We,Qe=Object.getOwnPropertyDescriptor;j.f=Ge?Qe:function(t,e){if(t=$e(t),e=Ye(e),Je)try{return Qe(t,e)}catch(t){}if(Ke(t,e))return Ve(!ze(He.f,t,e),t[e])};var Xe={},Ze=I&&T((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),tr=mt,er=String,rr=TypeError,nr=function(t){if(tr(t))return t;throw rr(er(t)+" is not an object")},or=I,ir=We,ar=Ze,sr=nr,ur=Le,cr=TypeError,lr=Object.defineProperty,pr=Object.getOwnPropertyDescriptor,fr="enumerable",hr="configurable",dr="writable";Xe.f=or?ar?function(t,e,r){if(sr(t),e=ur(e),sr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&dr in r&&!r[dr]){var n=pr(t,e);n&&n[dr]&&(t[e]=r.value,r={configurable:hr in r?r[hr]:n[hr],enumerable:fr in r?r[fr]:n[fr],writable:!1})}return lr(t,e,r)}:lr:function(t,e,r){if(sr(t),e=ur(e),sr(r),ir)try{return lr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw cr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var yr=Xe,mr=W,gr=I?function(t,e,r){return yr.f(t,e,mr(1,r))}:function(t,e,r){return t[e]=r,t},vr={exports:{}},br=I,wr=pe,xr=Function.prototype,Sr=br&&Object.getOwnPropertyDescriptor,Ar=wr(xr,"name"),Er={EXISTS:Ar,PROPER:Ar&&"something"===function(){}.name,CONFIGURABLE:Ar&&(!br||br&&Sr(xr,"name").configurable)},Rr=ht,Or=ne,Pr=$(Function.toString);Rr(Or.inspectSource)||(Or.inspectSource=function(t){return Pr(t)});var kr,jr,Tr,Ir=Or.inspectSource,_r=ht,Nr=k.WeakMap,Cr=_r(Nr)&&/native code/.test(String(Nr)),Ur=me,Lr=ie("keys"),Fr=function(t){return Lr[t]||(Lr[t]=Ur(t))},Br={},Dr=Cr,Mr=k,qr=mt,Wr=gr,Gr=pe,zr=ne,Hr=Fr,Vr=Br,$r="Object already initialized",Yr=Mr.TypeError,Kr=Mr.WeakMap;if(Dr||zr.state){var Jr=zr.state||(zr.state=new Kr);Jr.get=Jr.get,Jr.has=Jr.has,Jr.set=Jr.set,kr=function(t,e){if(Jr.has(t))throw Yr($r);return e.facade=t,Jr.set(t,e),e},jr=function(t){return Jr.get(t)||{}},Tr=function(t){return Jr.has(t)}}else{var Qr=Hr("state");Vr[Qr]=!0,kr=function(t,e){if(Gr(t,Qr))throw Yr($r);return e.facade=t,Wr(t,Qr,e),e},jr=function(t){return Gr(t,Qr)?t[Qr]:{}},Tr=function(t){return Gr(t,Qr)}}var Xr={set:kr,get:jr,has:Tr,enforce:function(t){return Tr(t)?jr(t):kr(t,{})},getterFor:function(t){return function(e){var r;if(!qr(e)||(r=jr(e)).type!==t)throw Yr("Incompatible receiver, "+t+" required");return r}}},Zr=$,tn=T,en=ht,rn=pe,nn=I,on=Er.CONFIGURABLE,an=Ir,sn=Xr.enforce,un=Xr.get,cn=String,ln=Object.defineProperty,pn=Zr("".slice),fn=Zr("".replace),hn=Zr([].join),dn=nn&&!tn((function(){return 8!==ln((function(){}),"length",{value:8}).length})),yn=String(String).split("String"),mn=vr.exports=function(t,e,r){"Symbol("===pn(cn(e),0,7)&&(e="["+fn(cn(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!rn(t,"name")||on&&t.name!==e)&&(nn?ln(t,"name",{value:e,configurable:!0}):t.name=e),dn&&r&&rn(r,"arity")&&t.length!==r.arity&&ln(t,"length",{value:r.arity});try{r&&rn(r,"constructor")&&r.constructor?nn&&ln(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=sn(t);return rn(n,"source")||(n.source=hn(yn,"string"==typeof e?e:"")),t};Function.prototype.toString=mn((function(){return en(this)&&un(this).source||an(this)}),"toString");var gn=vr.exports,vn=ht,bn=Xe,wn=gn,xn=te,Sn=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(vn(r)&&wn(r,i,n),n.global)o?t[e]=r:xn(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:bn.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},An={},En=Math.ceil,Rn=Math.floor,On=Math.trunc||function(t){var e=+t;return(e>0?Rn:En)(e)},Pn=function(t){var e=+t;return e!=e||0===e?0:On(e)},kn=Pn,jn=Math.max,Tn=Math.min,In=function(t,e){var r=kn(t);return r<0?jn(r+e,0):Tn(r,e)},_n=Pn,Nn=Math.min,Cn=function(t){return t>0?Nn(_n(t),9007199254740991):0},Un=Cn,Ln=function(t){return Un(t.length)},Fn=ct,Bn=In,Dn=Ln,Mn=function(t){return function(e,r,n){var o,i=Fn(e),a=Dn(i),s=Bn(n,a);if(t&&r!=r){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((t||s in i)&&i[s]===r)return t||s||0;return!t&&-1}},qn={includes:Mn(!0),indexOf:Mn(!1)},Wn=pe,Gn=ct,zn=qn.indexOf,Hn=Br,Vn=$([].push),$n=function(t,e){var r,n=Gn(t),o=0,i=[];for(r in n)!Wn(Hn,r)&&Wn(n,r)&&Vn(i,r);for(;e.length>o;)Wn(n,r=e[o++])&&(~zn(i,r)||Vn(i,r));return i},Yn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Kn=$n,Jn=Yn.concat("length","prototype");An.f=Object.getOwnPropertyNames||function(t){return Kn(t,Jn)};var Qn={};Qn.f=Object.getOwnPropertySymbols;var Xn=bt,Zn=An,to=Qn,eo=nr,ro=$([].concat),no=Xn("Reflect","ownKeys")||function(t){var e=Zn.f(eo(t)),r=to.f;return r?ro(e,r(t)):e},oo=pe,io=no,ao=j,so=Xe,uo=T,co=ht,lo=/#|\.prototype\./,po=function(t,e){var r=ho[fo(t)];return r===mo||r!==yo&&(co(e)?uo(e):!!e)},fo=po.normalize=function(t){return String(t).replace(lo,".").toLowerCase()},ho=po.data={},yo=po.NATIVE="N",mo=po.POLYFILL="P",go=po,vo=k,bo=j.f,wo=gr,xo=Sn,So=te,Ao=function(t,e,r){for(var n=io(e),o=so.f,i=ao.f,a=0;a<n.length;a++){var s=n[a];oo(t,s)||r&&oo(r,s)||o(t,s,i(e,s))}},Eo=go,Ro=function(t,e){var r,n,o,i,a,s=t.target,u=t.global,c=t.stat;if(r=u?vo:c?vo[s]||So(s,{}):(vo[s]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=bo(r,n))&&a.value:r[n],!Eo(u?n:s+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ao(i,o)}(t.sham||o&&o.sham)&&wo(i,"sham",!0),xo(r,n,i,t)}},Oo=Q,Po=Array.isArray||function(t){return"Array"===Oo(t)},ko=TypeError,jo=Le,To=Xe,Io=W,_o=function(t,e,r){var n=jo(e);n in t?To.f(t,n,Io(0,r)):t[n]=r},No={};No[Re("toStringTag")]="z";var Co="[object z]"===String(No),Uo=Co,Lo=ht,Fo=Q,Bo=Re("toStringTag"),Do=Object,Mo="Arguments"===Fo(function(){return arguments}()),qo=Uo?Fo:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Do(t),Bo))?r:Mo?Fo(e):"Object"===(n=Fo(e))&&Lo(e.callee)?"Arguments":n},Wo=$,Go=T,zo=ht,Ho=qo,Vo=Ir,$o=function(){},Yo=[],Ko=bt("Reflect","construct"),Jo=/^\s*(?:class|function)\b/,Qo=Wo(Jo.exec),Xo=!Jo.exec($o),Zo=function(t){if(!zo(t))return!1;try{return Ko($o,Yo,t),!0}catch(t){return!1}},ti=function(t){if(!zo(t))return!1;switch(Ho(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Xo||!!Qo(Jo,Vo(t))}catch(t){return!0}};ti.sham=!0;var ei=!Ko||Go((function(){var t;return Zo(Zo.call)||!Zo(Object)||!Zo((function(){t=!0}))||t}))?ti:Zo,ri=Po,ni=ei,oi=mt,ii=Re("species"),ai=Array,si=function(t){var e;return ri(t)&&(e=t.constructor,(ni(e)&&(e===ai||ri(e.prototype))||oi(e)&&null===(e=e[ii]))&&(e=void 0)),void 0===e?ai:e},ui=function(t,e){return new(si(t))(0===e?0:e)},ci=T,li=Pt,pi=Re("species"),fi=function(t){return li>=51||!ci((function(){var e=[];return(e.constructor={})[pi]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},hi=Ro,di=T,yi=Po,mi=mt,gi=ue,vi=Ln,bi=function(t){if(t>9007199254740991)throw ko("Maximum allowed index exceeded");return t},wi=_o,xi=ui,Si=fi,Ai=Pt,Ei=Re("isConcatSpreadable"),Ri=Ai>=51||!di((function(){var t=[];return t[Ei]=!1,t.concat()[0]!==t})),Oi=function(t){if(!mi(t))return!1;var e=t[Ei];return void 0!==e?!!e:yi(t)};hi({target:"Array",proto:!0,arity:1,forced:!Ri||!Si("concat")},{concat:function(t){var e,r,n,o,i,a=gi(this),s=xi(a,0),u=0;for(e=-1,n=arguments.length;e<n;e++)if(Oi(i=-1===e?a:arguments[e]))for(o=vi(i),bi(u+o),r=0;r<o;r++,u++)r in i&&wi(s,u,i[r]);else bi(u+1),wi(s,u++,i);return s.length=u,s}});var Pi=gn,ki=Xe,ji=function(t,e,r){return r.get&&Pi(r.get,e,{getter:!0}),r.set&&Pi(r.set,e,{setter:!0}),ki.f(t,e,r)},Ti=I,Ii=Er.EXISTS,_i=$,Ni=ji,Ci=Function.prototype,Ui=_i(Ci.toString),Li=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Fi=_i(Li.exec);Ti&&!Ii&&Ni(Ci,"name",{configurable:!0,get:function(){try{return Fi(Li,Ui(this))[1]}catch(t){return""}}});var Bi=$,Di=Gt,Mi=ht,qi=String,Wi=TypeError,Gi=function(t,e,r){try{return Bi(Di(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},zi=nr,Hi=function(t){if("object"==typeof t||Mi(t))return t;throw Wi("Can't set "+qi(t)+" as a prototype")},Vi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Gi(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return zi(r),Hi(n),e?t(r,n):r.__proto__=n,r}}():void 0);Ro({target:"Object",stat:!0},{setPrototypeOf:Vi});var $i=function(t){f(r,t);var e=w(r);function r(t){var n;u(this,r);var o="This function is not supported in ".concat(t," environment");return n=e.call(this,o),Error.captureStackTrace&&Error.captureStackTrace(b(n),r),n.name="UnsupportedPlatformError",n.platform=t,Object.setPrototypeOf(b(n),r.prototype),n}return l(r)}(g(Error));function Yi(){this._types=Object.create(null),this._extensions=Object.create(null);for(let t=0;t<arguments.length;t++)this.define(arguments[t]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}Yi.prototype.define=function(t,e){for(let r in t){let n=t[r].map((function(t){return t.toLowerCase()}));r=r.toLowerCase();for(let t=0;t<n.length;t++){const o=n[t];if("*"!==o[0]){if(!e&&o in this._types)throw new Error('Attempt to change mapping for "'+o+'" extension from "'+this._types[o]+'" to "'+r+'". Pass `force=true` to allow this, otherwise remove "'+o+'" from the list of extensions for "'+r+'".');this._types[o]=r}}if(e||!this._extensions[r]){const t=n[0];this._extensions[r]="*"!==t[0]?t:t.substr(1)}}},Yi.prototype.getType=function(t){let e=(t=String(t)).replace(/^.*[/\\]/,"").toLowerCase(),r=e.replace(/^.*\./,"").toLowerCase(),n=e.length<t.length;return(r.length<e.length-1||!n)&&this._types[r]||null},Yi.prototype.getExtension=function(t){return(t=/^\s*([^;\s]*)/.test(t)&&RegExp.$1)&&this._extensions[t.toLowerCase()]||null};var Ki=R(new Yi({"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]})),Ji="4.1.1",Qi=function(){var t=s(o().mark((function t(){var e;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":i(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){t.next=2;break}return t.abrupt("return",kintone.getRequestToken());case 2:if("object"!==("undefined"==typeof garoon?"undefined":i(garoon))||null===garoon||"function"!=typeof(null===(e=garoon.connect)||void 0===e||null===(e=e.kintone)||void 0===e?void 0:e.getRequestToken)){t.next=4;break}return t.abrupt("return",garoon.connect.kintone.getRequestToken());case 4:throw new Error("session authentication must specify a request token");case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Xi=Object.freeze({__proto__:null,buildBaseUrl:function(t){if(t)return t;if(void 0===location)throw new Error("The baseUrl parameter is required for this environment");var e=location,r=e.host,n=e.protocol;return"".concat(n,"//").concat(r)},buildFormDataValue:function(t,e){var r={};return e&&(r.type=Ki.getType(e)||void 0),new Blob([t],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Qi,getVersion:function(){return Ji},readFileFromPath:function(t){throw new $i("Browser")}}),Zi=qo,ta=String,ea=function(t){if("Symbol"===Zi(t))throw TypeError("Cannot convert a Symbol value to a string");return ta(t)},ra=nr,na=function(){var t=ra(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},oa=T,ia=k.RegExp,aa=oa((function(){var t=ia("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),sa=aa||oa((function(){return!ia("a","y").sticky})),ua={BROKEN_CARET:aa||oa((function(){var t=ia("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:sa,UNSUPPORTED_Y:aa},ca={},la=$n,pa=Yn,fa=Object.keys||function(t){return la(t,pa)},ha=I,da=Ze,ya=Xe,ma=nr,ga=ct,va=fa;ca.f=ha&&!da?Object.defineProperties:function(t,e){ma(t);for(var r,n=ga(e),o=va(e),i=o.length,a=0;i>a;)ya.f(t,r=o[a++],n[r]);return t};var ba,wa=bt("document","documentElement"),xa=nr,Sa=ca,Aa=Yn,Ea=Br,Ra=wa,Oa=Me,Pa="prototype",ka="script",ja=Fr("IE_PROTO"),Ta=function(){},Ia=function(t){return"<"+ka+">"+t+"</"+ka+">"},_a=function(t){t.write(Ia("")),t.close();var e=t.parentWindow.Object;return t=null,e},Na=function(){try{ba=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Na="undefined"!=typeof document?document.domain&&ba?_a(ba):(e=Oa("iframe"),r="java"+ka+":",e.style.display="none",Ra.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Ia("document.F=Object")),t.close(),t.F):_a(ba);for(var n=Aa.length;n--;)delete Na[Pa][Aa[n]];return Na()};Ea[ja]=!0;var Ca,Ua,La=Object.create||function(t,e){var r;return null!==t?(Ta[Pa]=xa(t),r=new Ta,Ta[Pa]=null,r[ja]=t):r=Na(),void 0===e?r:Sa.f(r,e)},Fa=T,Ba=k.RegExp,Da=Fa((function(){var t=Ba(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Ma=T,qa=k.RegExp,Wa=Ma((function(){var t=qa("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Ga=U,za=$,Ha=ea,Va=na,$a=ua,Ya=La,Ka=Xr.get,Ja=Da,Qa=Wa,Xa=ie("native-string-replace",String.prototype.replace),Za=RegExp.prototype.exec,ts=Za,es=za("".charAt),rs=za("".indexOf),ns=za("".replace),os=za("".slice),is=(Ua=/b*/g,Ga(Za,Ca=/a/,"a"),Ga(Za,Ua,"a"),0!==Ca.lastIndex||0!==Ua.lastIndex),as=$a.BROKEN_CARET,ss=void 0!==/()??/.exec("")[1];(is||ss||as||Ja||Qa)&&(ts=function(t){var e,r,n,o,i,a,s,u=this,c=Ka(u),l=Ha(t),p=c.raw;if(p)return p.lastIndex=u.lastIndex,e=Ga(ts,p,l),u.lastIndex=p.lastIndex,e;var f=c.groups,h=as&&u.sticky,d=Ga(Va,u),y=u.source,m=0,g=l;if(h&&(d=ns(d,"y",""),-1===rs(d,"g")&&(d+="g"),g=os(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==es(l,u.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),ss&&(r=new RegExp("^"+y+"$(?!\\s)",d)),is&&(n=u.lastIndex),o=Ga(Za,h?r:u,g),h?o?(o.input=os(o.input,m),o[0]=os(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:is&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),ss&&o&&o.length>1&&Ga(Xa,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&f)for(o.groups=a=Ya(null),i=0;i<f.length;i++)a[(s=f[i])[0]]=o[s[1]];return o});var us=ts;Ro({target:"RegExp",proto:!0,forced:/./.exec!==us},{exec:us});var cs=_,ls=Function.prototype,ps=ls.apply,fs=ls.call,hs="object"==typeof Reflect&&Reflect.apply||(cs?fs.bind(ps):function(){return fs.apply(ps,arguments)}),ds=Q,ys=$,ms=function(t){if("Function"===ds(t))return ys(t)},gs=ms,vs=Sn,bs=us,ws=T,xs=Re,Ss=gr,As=xs("species"),Es=RegExp.prototype,Rs=function(t,e,r,n){var o=xs(t),i=!ws((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),a=i&&!ws((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[As]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var s=gs(/./[o]),u=e(o,""[t],(function(t,e,r,n,o){var a=gs(t),u=e.exec;return u===bs||u===Es.exec?i&&!o?{done:!0,value:s(e,r,n)}:{done:!0,value:a(r,e,n)}:{done:!1}}));vs(String.prototype,t,u[0]),vs(Es,o,u[1])}n&&Ss(Es[o],"sham",!0)},Os=$,Ps=Pn,ks=ea,js=at,Ts=Os("".charAt),Is=Os("".charCodeAt),_s=Os("".slice),Ns=function(t){return function(e,r){var n,o,i=ks(js(e)),a=Ps(r),s=i.length;return a<0||a>=s?t?"":void 0:(n=Is(i,a))<55296||n>56319||a+1===s||(o=Is(i,a+1))<56320||o>57343?t?Ts(i,a):n:t?_s(i,a,a+2):o-56320+(n-55296<<10)+65536}},Cs={codeAt:Ns(!1),charAt:Ns(!0)},Us=Cs.charAt,Ls=function(t,e,r){return e+(r?Us(t,e).length:1)},Fs=$,Bs=ue,Ds=Math.floor,Ms=Fs("".charAt),qs=Fs("".replace),Ws=Fs("".slice),Gs=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,zs=/\$([$&'`]|\d{1,2})/g,Hs=U,Vs=nr,$s=ht,Ys=Q,Ks=us,Js=TypeError,Qs=function(t,e){var r=t.exec;if($s(r)){var n=Hs(r,t,e);return null!==n&&Vs(n),n}if("RegExp"===Ys(t))return Hs(Ks,t,e);throw Js("RegExp#exec called on incompatible receiver")},Xs=hs,Zs=U,tu=$,eu=Rs,ru=T,nu=nr,ou=ht,iu=nt,au=Pn,su=Cn,uu=ea,cu=at,lu=Ls,pu=Vt,fu=function(t,e,r,n,o,i){var a=r+t.length,s=n.length,u=zs;return void 0!==o&&(o=Bs(o),u=Gs),qs(i,u,(function(i,u){var c;switch(Ms(u,0)){case"$":return"$";case"&":return t;case"`":return Ws(e,0,r);case"'":return Ws(e,a);case"<":c=o[Ws(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var p=Ds(l/10);return 0===p?i:p<=s?void 0===n[p-1]?Ms(u,1):n[p-1]+Ms(u,1):i}c=n[l-1]}return void 0===c?"":c}))},hu=Qs,du=Re("replace"),yu=Math.max,mu=Math.min,gu=tu([].concat),vu=tu([].push),bu=tu("".indexOf),wu=tu("".slice),xu="$0"==="a".replace(/./,"$0"),Su=!!/./[du]&&""===/./[du]("a","$0");eu("replace",(function(t,e,r){var n=Su?"$":"$0";return[function(t,r){var n=cu(this),o=iu(t)?void 0:pu(t,du);return o?Zs(o,t,n,r):Zs(e,uu(n),t,r)},function(t,o){var i=nu(this),a=uu(t);if("string"==typeof o&&-1===bu(o,n)&&-1===bu(o,"$<")){var s=r(e,i,a,o);if(s.done)return s.value}var u=ou(o);u||(o=uu(o));var c,l=i.global;l&&(c=i.unicode,i.lastIndex=0);for(var p,f=[];null!==(p=hu(i,a))&&(vu(f,p),l);){""===uu(p[0])&&(i.lastIndex=lu(a,su(i.lastIndex),c))}for(var h,d="",y=0,m=0;m<f.length;m++){for(var g,v=uu((p=f[m])[0]),b=yu(mu(au(p.index),a.length),0),w=[],x=1;x<p.length;x++)vu(w,void 0===(h=p[x])?h:String(h));var S=p.groups;if(u){var A=gu([v],w,b,a);void 0!==S&&vu(A,S),g=uu(Xs(o,void 0,A))}else g=fu(v,a,b,w,S,o);b>=y&&(d+=wu(a,y,b)+g,y=b+v.length)}return d+wu(a,y)}]}),!!ru((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!xu||Su);var Au=Re,Eu=La,Ru=Xe.f,Ou=Au("unscopables"),Pu=Array.prototype;void 0===Pu[Ou]&&Ru(Pu,Ou,{configurable:!0,value:Eu(null)});var ku,ju,Tu,Iu={},_u=!T((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Nu=pe,Cu=ht,Uu=ue,Lu=_u,Fu=Fr("IE_PROTO"),Bu=Object,Du=Bu.prototype,Mu=Lu?Bu.getPrototypeOf:function(t){var e=Uu(t);if(Nu(e,Fu))return e[Fu];var r=e.constructor;return Cu(r)&&e instanceof r?r.prototype:e instanceof Bu?Du:null},qu=T,Wu=ht,Gu=mt,zu=Mu,Hu=Sn,Vu=Re("iterator"),$u=!1;[].keys&&("next"in(Tu=[].keys())?(ju=zu(zu(Tu)))!==Object.prototype&&(ku=ju):$u=!0);var Yu=!Gu(ku)||qu((function(){var t={};return ku[Vu].call(t)!==t}));Yu&&(ku={}),Wu(ku[Vu])||Hu(ku,Vu,(function(){return this}));var Ku={IteratorPrototype:ku,BUGGY_SAFARI_ITERATORS:$u},Ju=Xe.f,Qu=pe,Xu=Re("toStringTag"),Zu=function(t,e,r){t&&!r&&(t=t.prototype),t&&!Qu(t,Xu)&&Ju(t,Xu,{configurable:!0,value:e})},tc=Ku.IteratorPrototype,ec=La,rc=W,nc=Zu,oc=Iu,ic=function(){return this},ac=function(t,e,r,n){var o=e+" Iterator";return t.prototype=ec(tc,{next:rc(+!n,r)}),nc(t,o,!1),oc[o]=ic,t},sc=Ro,uc=U,cc=ht,lc=ac,pc=Mu,fc=Vi,hc=Zu,dc=gr,yc=Sn,mc=Iu,gc=Er.PROPER,vc=Er.CONFIGURABLE,bc=Ku.IteratorPrototype,wc=Ku.BUGGY_SAFARI_ITERATORS,xc=Re("iterator"),Sc="keys",Ac="values",Ec="entries",Rc=function(){return this},Oc=function(t,e,r,n,o,i,a){lc(r,e,n);var s,u,c,l=function(t){if(t===o&&y)return y;if(!wc&&t&&t in h)return h[t];switch(t){case Sc:case Ac:case Ec:return function(){return new r(this,t)}}return function(){return new r(this)}},p=e+" Iterator",f=!1,h=t.prototype,d=h[xc]||h["@@iterator"]||o&&h[o],y=!wc&&d||l(o),m="Array"===e&&h.entries||d;if(m&&(s=pc(m.call(new t)))!==Object.prototype&&s.next&&(pc(s)!==bc&&(fc?fc(s,bc):cc(s[xc])||yc(s,xc,Rc)),hc(s,p,!0)),gc&&o===Ac&&d&&d.name!==Ac&&(vc?dc(h,"name",Ac):(f=!0,y=function(){return uc(d,this)})),o)if(u={values:l(Ac),keys:i?y:l(Sc),entries:l(Ec)},a)for(c in u)(wc||f||!(c in h))&&yc(h,c,u[c]);else sc({target:e,proto:!0,forced:wc||f},u);return h[xc]!==y&&yc(h,xc,y,{name:o}),mc[e]=y,u},Pc=function(t,e){return{value:t,done:e}},kc=ct,jc=function(t){Pu[Ou][t]=!0},Tc=Iu,Ic=Xr,_c=Xe.f,Nc=Oc,Cc=Pc,Uc=I,Lc="Array Iterator",Fc=Ic.set,Bc=Ic.getterFor(Lc),Dc=Nc(Array,"Array",(function(t,e){Fc(this,{type:Lc,target:kc(t),index:0,kind:e})}),(function(){var t=Bc(this),e=t.target,r=t.kind,n=t.index++;if(!e||n>=e.length)return t.target=void 0,Cc(void 0,!0);switch(r){case"keys":return Cc(n,!1);case"values":return Cc(e[n],!1)}return Cc([n,e[n]],!1)}),"values"),Mc=Tc.Arguments=Tc.Array;if(jc("keys"),jc("values"),jc("entries"),Uc&&"values"!==Mc.name)try{_c(Mc,"name",{value:"values"})}catch(t){}var qc=qo,Wc=Co?{}.toString:function(){return"[object "+qc(this)+"]"};Co||Sn(Object.prototype,"toString",Wc,{unsafe:!0});var Gc=Cs.charAt,zc=ea,Hc=Xr,Vc=Oc,$c=Pc,Yc="String Iterator",Kc=Hc.set,Jc=Hc.getterFor(Yc);Vc(String,"String",(function(t){Kc(this,{type:Yc,string:zc(t),index:0})}),(function(){var t,e=Jc(this),r=e.string,n=e.index;return n>=r.length?$c(void 0,!0):(t=Gc(r,n),e.index+=t.length,$c(t,!1))}));var Qc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Xc=Me("span").classList,Zc=Xc&&Xc.constructor&&Xc.constructor.prototype,tl=Zc===Object.prototype?void 0:Zc,el=k,rl=Qc,nl=tl,ol=Dc,il=gr,al=Re,sl=al("iterator"),ul=al("toStringTag"),cl=ol.values,ll=function(t,e){if(t){if(t[sl]!==cl)try{il(t,sl,cl)}catch(e){t[sl]=cl}if(t[ul]||il(t,ul,e),rl[e])for(var r in ol)if(t[r]!==ol[r])try{il(t,r,ol[r])}catch(e){t[r]=ol[r]}}};for(var pl in rl)ll(el[pl]&&el[pl].prototype,pl);ll(nl,"DOMTokenList");var fl=T,hl=I,dl=Re("iterator"),yl=!fl((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),r.delete("a",2),r.delete("b",void 0),!e.size&&!hl||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[dl]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),ml=Gt,gl=_,vl=ms(ms.bind),bl=function(t,e){return ml(t),void 0===e?t:gl?vl(t,e):function(){return t.apply(e,arguments)}},wl=wt,xl=TypeError,Sl=function(t,e){if(wl(e,t))return t;throw xl("Incorrect invocation")},Al=I,El=$,Rl=U,Ol=T,Pl=fa,kl=Qn,jl=L,Tl=ue,Il=rt,_l=Object.assign,Nl=Object.defineProperty,Cl=El([].concat),Ul=!_l||Ol((function(){if(Al&&1!==_l({b:1},_l(Nl({},"a",{enumerable:!0,get:function(){Nl(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!==_l({},t)[r]||Pl(_l({},e)).join("")!==n}))?function(t,e){for(var r=Tl(t),n=arguments.length,o=1,i=kl.f,a=jl.f;n>o;)for(var s,u=Il(arguments[o++]),c=i?Cl(Pl(u),i(u)):Pl(u),l=c.length,p=0;l>p;)s=c[p++],Al&&!Rl(a,u,s)||(r[s]=u[s]);return r}:_l,Ll=U,Fl=nr,Bl=Vt,Dl=nr,Ml=function(t,e,r){var n,o;Fl(t);try{if(!(n=Bl(t,"return"))){if("throw"===e)throw r;return r}n=Ll(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return Fl(n),r},ql=Iu,Wl=Re("iterator"),Gl=Array.prototype,zl=qo,Hl=Vt,Vl=nt,$l=Iu,Yl=Re("iterator"),Kl=function(t){if(!Vl(t))return Hl(t,Yl)||Hl(t,"@@iterator")||$l[zl(t)]},Jl=U,Ql=Gt,Xl=nr,Zl=Dt,tp=Kl,ep=TypeError,rp=function(t,e){var r=arguments.length<2?tp(t):e;if(Ql(r))return Xl(Jl(r,t));throw ep(Zl(t)+" is not iterable")},np=bl,op=U,ip=ue,ap=function(t,e,r,n){try{return n?e(Dl(r)[0],r[1]):e(r)}catch(e){Ml(t,"throw",e)}},sp=function(t){return void 0!==t&&(ql.Array===t||Gl[Wl]===t)},up=ei,cp=Ln,lp=_o,pp=rp,fp=Kl,hp=Array,dp=In,yp=Ln,mp=_o,gp=Array,vp=Math.max,bp=function(t,e,r){for(var n=yp(t),o=dp(e,n),i=dp(void 0===r?n:r,n),a=gp(vp(i-o,0)),s=0;o<i;o++,s++)mp(a,s,t[o]);return a.length=s,a},wp=$,xp=2147483647,Sp=/[^\0-\u007E]/,Ap=/[.\u3002\uFF0E\uFF61]/g,Ep="Overflow: input needs wider integers to process",Rp=RangeError,Op=wp(Ap.exec),Pp=Math.floor,kp=String.fromCharCode,jp=wp("".charCodeAt),Tp=wp([].join),Ip=wp([].push),_p=wp("".replace),Np=wp("".split),Cp=wp("".toLowerCase),Up=function(t){return t+22+75*(t<26)},Lp=function(t,e,r){var n=0;for(t=r?Pp(t/700):t>>1,t+=Pp(t/e);t>455;)t=Pp(t/35),n+=36;return Pp(n+36*t/(t+38))},Fp=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=jp(t,r++);if(o>=55296&&o<=56319&&r<n){var i=jp(t,r++);56320==(64512&i)?Ip(e,((1023&o)<<10)+(1023&i)+65536):(Ip(e,o),r--)}else Ip(e,o)}return e}(t);var r,n,o=t.length,i=128,a=0,s=72;for(r=0;r<t.length;r++)(n=t[r])<128&&Ip(e,kp(n));var u=e.length,c=u;for(u&&Ip(e,"-");c<o;){var l=xp;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<l&&(l=n);var p=c+1;if(l-i>Pp((xp-a)/p))throw Rp(Ep);for(a+=(l-i)*p,i=l,r=0;r<t.length;r++){if((n=t[r])<i&&++a>xp)throw Rp(Ep);if(n===i){for(var f=a,h=36;;){var d=h<=s?1:h>=s+26?26:h-s;if(f<d)break;var y=f-d,m=36-d;Ip(e,kp(Up(d+y%m))),f=Pp(y/m),h+=36}Ip(e,kp(Up(f))),s=Lp(a,p,c===u),a=0,c++}}a++,i++}return Tp(e,"")},Bp=TypeError,Dp=function(t,e){if(t<e)throw Bp("Not enough arguments");return t},Mp=Sn,qp=bp,Wp=Math.floor,Gp=function(t,e){var r=t.length,n=Wp(r/2);return r<8?zp(t,e):Hp(t,Gp(qp(t,0,n),e),Gp(qp(t,n),e),e)},zp=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},Hp=function(t,e,r,n){for(var o=e.length,i=r.length,a=0,s=0;a<o||s<i;)t[a+s]=a<o&&s<i?n(e[a],r[s])<=0?e[a++]:r[s++]:a<o?e[a++]:r[s++];return t},Vp=Ro,$p=k,Yp=U,Kp=$,Jp=I,Qp=yl,Xp=Sn,Zp=ji,tf=function(t,e,r){for(var n in e)Mp(t,n,e[n],r);return t},ef=Zu,rf=ac,nf=Xr,of=Sl,af=ht,sf=pe,uf=bl,cf=qo,lf=nr,pf=mt,ff=ea,hf=La,df=W,yf=rp,mf=Kl,gf=Dp,vf=Gp,bf=Re("iterator"),wf="URLSearchParams",xf=wf+"Iterator",Sf=nf.set,Af=nf.getterFor(wf),Ef=nf.getterFor(xf),Rf=Object.getOwnPropertyDescriptor,Of=function(t){if(!Jp)return $p[t];var e=Rf($p,t);return e&&e.value},Pf=Of("fetch"),kf=Of("Request"),jf=Of("Headers"),Tf=kf&&kf.prototype,If=jf&&jf.prototype,_f=$p.RegExp,Nf=$p.TypeError,Cf=$p.decodeURIComponent,Uf=$p.encodeURIComponent,Lf=Kp("".charAt),Ff=Kp([].join),Bf=Kp([].push),Df=Kp("".replace),Mf=Kp([].shift),qf=Kp([].splice),Wf=Kp("".split),Gf=Kp("".slice),zf=/\+/g,Hf=Array(4),Vf=function(t){return Hf[t-1]||(Hf[t-1]=_f("((?:%[\\da-f]{2}){"+t+"})","gi"))},$f=function(t){try{return Cf(t)}catch(e){return t}},Yf=function(t){var e=Df(t,zf," "),r=4;try{return Cf(e)}catch(t){for(;r;)e=Df(e,Vf(r--),$f);return e}},Kf=/[!'()~]|%20/g,Jf={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Qf=function(t){return Jf[t]},Xf=function(t){return Df(Uf(t),Kf,Qf)},Zf=rf((function(t,e){Sf(this,{type:xf,iterator:yf(Af(t).entries),kind:e})}),"Iterator",(function(){var t=Ef(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r}),!0),th=function(t){this.entries=[],this.url=null,void 0!==t&&(pf(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===Lf(t,0)?Gf(t,1):t:ff(t)))};th.prototype={type:wf,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,s,u=mf(t);if(u)for(r=(e=yf(t,u)).next;!(n=Yp(r,e)).done;){if(i=(o=yf(lf(n.value))).next,(a=Yp(i,o)).done||(s=Yp(i,o)).done||!Yp(i,o).done)throw Nf("Expected sequence with length 2");Bf(this.entries,{key:ff(a.value),value:ff(s.value)})}else for(var c in t)sf(t,c)&&Bf(this.entries,{key:c,value:ff(t[c])})},parseQuery:function(t){if(t)for(var e,r,n=Wf(t,"&"),o=0;o<n.length;)(e=n[o++]).length&&(r=Wf(e,"="),Bf(this.entries,{key:Yf(Mf(r)),value:Yf(Ff(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],Bf(r,Xf(t.key)+"="+Xf(t.value));return Ff(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var eh=function(){of(this,rh);var t=Sf(this,new th(arguments.length>0?arguments[0]:void 0));Jp||(this.size=t.entries.length)},rh=eh.prototype;if(tf(rh,{append:function(t,e){var r=Af(this);gf(arguments.length,2),Bf(r.entries,{key:ff(t),value:ff(e)}),Jp||this.length++,r.updateURL()},delete:function(t){for(var e=Af(this),r=gf(arguments.length,1),n=e.entries,o=ff(t),i=r<2?void 0:arguments[1],a=void 0===i?i:ff(i),s=0;s<n.length;){var u=n[s];if(u.key!==o||void 0!==a&&u.value!==a)s++;else if(qf(n,s,1),void 0!==a)break}Jp||(this.size=n.length),e.updateURL()},get:function(t){var e=Af(this).entries;gf(arguments.length,1);for(var r=ff(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=Af(this).entries;gf(arguments.length,1);for(var r=ff(t),n=[],o=0;o<e.length;o++)e[o].key===r&&Bf(n,e[o].value);return n},has:function(t){for(var e=Af(this).entries,r=gf(arguments.length,1),n=ff(t),o=r<2?void 0:arguments[1],i=void 0===o?o:ff(o),a=0;a<e.length;){var s=e[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(t,e){var r=Af(this);gf(arguments.length,1);for(var n,o=r.entries,i=!1,a=ff(t),s=ff(e),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?qf(o,u--,1):(i=!0,n.value=s));i||Bf(o,{key:a,value:s}),Jp||(this.size=o.length),r.updateURL()},sort:function(){var t=Af(this);vf(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=Af(this).entries,n=uf(t,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new Zf(this,"keys")},values:function(){return new Zf(this,"values")},entries:function(){return new Zf(this,"entries")}},{enumerable:!0}),Xp(rh,bf,rh.entries,{name:"entries"}),Xp(rh,"toString",(function(){return Af(this).serialize()}),{enumerable:!0}),Jp&&Zp(rh,"size",{get:function(){return Af(this).entries.length},configurable:!0,enumerable:!0}),ef(eh,wf),Vp({global:!0,constructor:!0,forced:!Qp},{URLSearchParams:eh}),!Qp&&af(jf)){var nh=Kp(If.has),oh=Kp(If.set),ih=function(t){if(pf(t)){var e,r=t.body;if(cf(r)===wf)return e=t.headers?new jf(t.headers):new jf,nh(e,"content-type")||oh(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),hf(t,{body:df(0,ff(r)),headers:df(0,e)})}return t};if(af(Pf)&&Vp({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return Pf(t,arguments.length>1?ih(arguments[1]):{})}}),af(kf)){var ah=function(t){return of(this,Tf),new kf(t,arguments.length>1?ih(arguments[1]):{})};Tf.constructor=ah,ah.prototype=Tf,Vp({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ah})}}var sh,uh=Ro,ch=I,lh=yl,ph=k,fh=bl,hh=$,dh=Sn,yh=ji,mh=Sl,gh=pe,vh=Ul,bh=function(t){var e=ip(t),r=up(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=np(o,n>2?arguments[2]:void 0));var a,s,u,c,l,p,f=fp(e),h=0;if(!f||this===hp&&sp(f))for(a=cp(e),s=r?new this(a):hp(a);a>h;h++)p=i?o(e[h],h):e[h],lp(s,h,p);else for(l=(c=pp(e,f)).next,s=r?new this:[];!(u=op(l,c)).done;h++)p=i?ap(c,o,[u.value,h],!0):u.value,lp(s,h,p);return s.length=h,s},wh=bp,xh=Cs.codeAt,Sh=function(t){var e,r,n=[],o=Np(_p(Cp(t),Ap,"."),".");for(e=0;e<o.length;e++)r=o[e],Ip(n,Op(Sp,r)?"xn--"+Fp(r):r);return Tp(n,".")},Ah=ea,Eh=Zu,Rh=Dp,Oh={URLSearchParams:eh,getState:Af},Ph=Xr,kh=Ph.set,jh=Ph.getterFor("URL"),Th=Oh.URLSearchParams,Ih=Oh.getState,_h=ph.URL,Nh=ph.TypeError,Ch=ph.parseInt,Uh=Math.floor,Lh=Math.pow,Fh=hh("".charAt),Bh=hh(/./.exec),Dh=hh([].join),Mh=hh(1..toString),qh=hh([].pop),Wh=hh([].push),Gh=hh("".replace),zh=hh([].shift),Hh=hh("".split),Vh=hh("".slice),$h=hh("".toLowerCase),Yh=hh([].unshift),Kh="Invalid scheme",Jh="Invalid host",Qh="Invalid port",Xh=/[a-z]/i,Zh=/[\d+-.a-z]/i,td=/\d/,ed=/^0x/i,rd=/^[0-7]+$/,nd=/^\d+$/,od=/^[\da-f]+$/i,id=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ad=/[\0\t\n\r #/:<>?@[\\\]^|]/,sd=/^[\u0000-\u0020]+/,ud=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,cd=/[\t\n\r]/g,ld=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)Yh(e,t%256),t=Uh(t/256);return Dh(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=Mh(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},pd={},fd=vh({},pd,{" ":1,'"':1,"<":1,">":1,"`":1}),hd=vh({},fd,{"#":1,"?":1,"{":1,"}":1}),dd=vh({},hd,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),yd=function(t,e){var r=xh(t,0);return r>32&&r<127&&!gh(e,t)?t:encodeURIComponent(t)},md={ftp:21,file:null,http:80,https:443,ws:80,wss:443},gd=function(t,e){var r;return 2===t.length&&Bh(Xh,Fh(t,0))&&(":"===(r=Fh(t,1))||!e&&"|"===r)},vd=function(t){var e;return t.length>1&&gd(Vh(t,0,2))&&(2===t.length||"/"===(e=Fh(t,2))||"\\"===e||"?"===e||"#"===e)},bd=function(t){return"."===t||"%2e"===$h(t)},wd={},xd={},Sd={},Ad={},Ed={},Rd={},Od={},Pd={},kd={},jd={},Td={},Id={},_d={},Nd={},Cd={},Ud={},Ld={},Fd={},Bd={},Dd={},Md={},qd=function(t,e,r){var n,o,i,a=Ah(t);if(e){if(o=this.parse(a))throw Nh(o);this.searchParams=null}else{if(void 0!==r&&(n=new qd(r,!0)),o=this.parse(a,null,n))throw Nh(o);(i=Ih(new Th)).bindURL(this),this.searchParams=i}};qd.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,s,u=this,c=e||wd,l=0,p="",f=!1,h=!1,d=!1;for(t=Ah(t),e||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,t=Gh(t,sd,""),t=Gh(t,ud,"$1")),t=Gh(t,cd,""),n=bh(t);l<=n.length;){switch(o=n[l],c){case wd:if(!o||!Bh(Xh,o)){if(e)return Kh;c=Sd;continue}p+=$h(o),c=xd;break;case xd:if(o&&(Bh(Zh,o)||"+"===o||"-"===o||"."===o))p+=$h(o);else{if(":"!==o){if(e)return Kh;p="",c=Sd,l=0;continue}if(e&&(u.isSpecial()!==gh(md,p)||"file"===p&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=p,e)return void(u.isSpecial()&&md[u.scheme]===u.port&&(u.port=null));p="","file"===u.scheme?c=Nd:u.isSpecial()&&r&&r.scheme===u.scheme?c=Ad:u.isSpecial()?c=Pd:"/"===n[l+1]?(c=Ed,l++):(u.cannotBeABaseURL=!0,Wh(u.path,""),c=Bd)}break;case Sd:if(!r||r.cannotBeABaseURL&&"#"!==o)return Kh;if(r.cannotBeABaseURL&&"#"===o){u.scheme=r.scheme,u.path=wh(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,c=Md;break}c="file"===r.scheme?Nd:Rd;continue;case Ad:if("/"!==o||"/"!==n[l+1]){c=Rd;continue}c=kd,l++;break;case Ed:if("/"===o){c=jd;break}c=Fd;continue;case Rd:if(u.scheme=r.scheme,o===sh)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=wh(r.path),u.query=r.query;else if("/"===o||"\\"===o&&u.isSpecial())c=Od;else if("?"===o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=wh(r.path),u.query="",c=Dd;else{if("#"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=wh(r.path),u.path.length--,c=Fd;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=wh(r.path),u.query=r.query,u.fragment="",c=Md}break;case Od:if(!u.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,c=Fd;continue}c=jd}else c=kd;break;case Pd:if(c=kd,"/"!==o||"/"!==Fh(p,l+1))continue;l++;break;case kd:if("/"!==o&&"\\"!==o){c=jd;continue}break;case jd:if("@"===o){f&&(p="%40"+p),f=!0,i=bh(p);for(var y=0;y<i.length;y++){var m=i[y];if(":"!==m||d){var g=yd(m,dd);d?u.password+=g:u.username+=g}else d=!0}p=""}else if(o===sh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(f&&""===p)return"Invalid authority";l-=bh(p).length+1,p="",c=Td}else p+=o;break;case Td:case Id:if(e&&"file"===u.scheme){c=Ud;continue}if(":"!==o||h){if(o===sh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(u.isSpecial()&&""===p)return Jh;if(e&&""===p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",c=Ld,e)return;continue}"["===o?h=!0:"]"===o&&(h=!1),p+=o}else{if(""===p)return Jh;if(a=u.parseHost(p))return a;if(p="",c=_d,e===Id)return}break;case _d:if(!Bh(td,o)){if(o===sh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()||e){if(""!==p){var v=Ch(p,10);if(v>65535)return Qh;u.port=u.isSpecial()&&v===md[u.scheme]?null:v,p=""}if(e)return;c=Ld;continue}return Qh}p+=o;break;case Nd:if(u.scheme="file","/"===o||"\\"===o)c=Cd;else{if(!r||"file"!==r.scheme){c=Fd;continue}switch(o){case sh:u.host=r.host,u.path=wh(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=wh(r.path),u.query="",c=Dd;break;case"#":u.host=r.host,u.path=wh(r.path),u.query=r.query,u.fragment="",c=Md;break;default:vd(Dh(wh(n,l),""))||(u.host=r.host,u.path=wh(r.path),u.shortenPath()),c=Fd;continue}}break;case Cd:if("/"===o||"\\"===o){c=Ud;break}r&&"file"===r.scheme&&!vd(Dh(wh(n,l),""))&&(gd(r.path[0],!0)?Wh(u.path,r.path[0]):u.host=r.host),c=Fd;continue;case Ud:if(o===sh||"/"===o||"\\"===o||"?"===o||"#"===o){if(!e&&gd(p))c=Fd;else if(""===p){if(u.host="",e)return;c=Ld}else{if(a=u.parseHost(p))return a;if("localhost"===u.host&&(u.host=""),e)return;p="",c=Ld}continue}p+=o;break;case Ld:if(u.isSpecial()){if(c=Fd,"/"!==o&&"\\"!==o)continue}else if(e||"?"!==o)if(e||"#"!==o){if(o!==sh&&(c=Fd,"/"!==o))continue}else u.fragment="",c=Md;else u.query="",c=Dd;break;case Fd:if(o===sh||"/"===o||"\\"===o&&u.isSpecial()||!e&&("?"===o||"#"===o)){if(".."===(s=$h(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(u.shortenPath(),"/"===o||"\\"===o&&u.isSpecial()||Wh(u.path,"")):bd(p)?"/"===o||"\\"===o&&u.isSpecial()||Wh(u.path,""):("file"===u.scheme&&!u.path.length&&gd(p)&&(u.host&&(u.host=""),p=Fh(p,0)+":"),Wh(u.path,p)),p="","file"===u.scheme&&(o===sh||"?"===o||"#"===o))for(;u.path.length>1&&""===u.path[0];)zh(u.path);"?"===o?(u.query="",c=Dd):"#"===o&&(u.fragment="",c=Md)}else p+=yd(o,hd);break;case Bd:"?"===o?(u.query="",c=Dd):"#"===o?(u.fragment="",c=Md):o!==sh&&(u.path[0]+=yd(o,pd));break;case Dd:e||"#"!==o?o!==sh&&("'"===o&&u.isSpecial()?u.query+="%27":u.query+="#"===o?"%23":yd(o,pd)):(u.fragment="",c=Md);break;case Md:o!==sh&&(u.fragment+=yd(o,fd))}l++}},parseHost:function(t){var e,r,n;if("["===Fh(t,0)){if("]"!==Fh(t,t.length-1))return Jh;if(e=function(t){var e,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,p=0,f=function(){return Fh(t,p)};if(":"===f()){if(":"!==Fh(t,1))return;p+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(e=r=0;r<4&&Bh(od,f());)e=16*e+Ch(f(),16),p++,r++;if("."===f()){if(0===r)return;if(p-=r,c>6)return;for(n=0;f();){if(o=null,n>0){if(!("."===f()&&n<4))return;p++}if(!Bh(td,f()))return;for(;Bh(td,f());){if(i=Ch(f(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;p++}u[c]=256*u[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===f()){if(p++,!f())return}else if(f())return;u[c++]=e}else{if(null!==l)return;p++,l=++c}}if(null!==l)for(a=c-l,c=7;0!==c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!==c)return;return u}(Vh(t,1,-1)),!e)return Jh;this.host=e}else if(this.isSpecial()){if(t=Sh(t),Bh(id,t))return Jh;if(e=function(t){var e,r,n,o,i,a,s,u=Hh(t,".");if(u.length&&""===u[u.length-1]&&u.length--,(e=u.length)>4)return t;for(r=[],n=0;n<e;n++){if(""===(o=u[n]))return t;if(i=10,o.length>1&&"0"===Fh(o,0)&&(i=Bh(ed,o)?16:8,o=Vh(o,8===i?1:2)),""===o)a=0;else{if(!Bh(10===i?nd:8===i?rd:od,o))return t;a=Ch(o,i)}Wh(r,a)}for(n=0;n<e;n++)if(a=r[n],n===e-1){if(a>=Lh(256,5-e))return null}else if(a>255)return null;for(s=qh(r),n=0;n<r.length;n++)s+=r[n]*Lh(256,3-n);return s}(t),null===e)return Jh;this.host=e}else{if(Bh(ad,t))return Jh;for(e="",r=bh(t),n=0;n<r.length;n++)e+=yd(r[n],pd);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return gh(md,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&gd(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,s=t.query,u=t.fragment,c=e+":";return null!==o?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=ld(o),null!==i&&(c+=":"+i)):"file"===e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+Dh(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(t){var e=this.parse(t);if(e)throw Nh(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Wd(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+ld(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(Ah(t)+":",wd)},getUsername:function(){return this.username},setUsername:function(t){var e=bh(Ah(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=yd(e[r],dd)}},getPassword:function(){return this.password},setPassword:function(t){var e=bh(Ah(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=yd(e[r],dd)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?ld(t):ld(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,Td)},getHostname:function(){var t=this.host;return null===t?"":ld(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Id)},getPort:function(){var t=this.port;return null===t?"":Ah(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=Ah(t))?this.port=null:this.parse(t,_d))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+Dh(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Ld))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=Ah(t))?this.query=null:("?"===Fh(t,0)&&(t=Vh(t,1)),this.query="",this.parse(t,Dd)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=Ah(t))?("#"===Fh(t,0)&&(t=Vh(t,1)),this.fragment="",this.parse(t,Md)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Wd=function(t){var e=mh(this,Gd),r=Rh(arguments.length,1)>1?arguments[1]:void 0,n=kh(e,new qd(t,!1,r));ch||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Gd=Wd.prototype,zd=function(t,e){return{get:function(){return jh(this)[t]()},set:e&&function(t){return jh(this)[e](t)},configurable:!0,enumerable:!0}};if(ch&&(yh(Gd,"href",zd("serialize","setHref")),yh(Gd,"origin",zd("getOrigin")),yh(Gd,"protocol",zd("getProtocol","setProtocol")),yh(Gd,"username",zd("getUsername","setUsername")),yh(Gd,"password",zd("getPassword","setPassword")),yh(Gd,"host",zd("getHost","setHost")),yh(Gd,"hostname",zd("getHostname","setHostname")),yh(Gd,"port",zd("getPort","setPort")),yh(Gd,"pathname",zd("getPathname","setPathname")),yh(Gd,"search",zd("getSearch","setSearch")),yh(Gd,"searchParams",zd("getSearchParams")),yh(Gd,"hash",zd("getHash","setHash"))),dh(Gd,"toJSON",(function(){return jh(this).serialize()}),{enumerable:!0}),dh(Gd,"toString",(function(){return jh(this).serialize()}),{enumerable:!0}),_h){var Hd=_h.createObjectURL,Vd=_h.revokeObjectURL;Hd&&dh(Wd,"createObjectURL",fh(Hd,_h)),Vd&&dh(Wd,"revokeObjectURL",fh(Vd,_h))}Eh(Wd,"URL"),uh({global:!0,constructor:!0,forced:!lh,sham:!ch},{URL:Wd});var $d="\t\n\v\f\r                 \u2028\u2029\ufeff",Yd=at,Kd=ea,Jd=$d,Qd=$("".replace),Xd=RegExp("^["+Jd+"]+"),Zd=RegExp("(^|[^"+Jd+"])["+Jd+"]+$"),ty=function(t){return function(e){var r=Kd(Yd(e));return 1&t&&(r=Qd(r,Xd,"")),2&t&&(r=Qd(r,Zd,"$1")),r}},ey={start:ty(1),end:ty(2),trim:ty(3)},ry=k,ny=T,oy=ea,iy=ey.trim,ay=$d,sy=$("".charAt),uy=ry.parseFloat,cy=ry.Symbol,ly=cy&&cy.iterator,py=1/uy(ay+"-0")!=-1/0||ly&&!ny((function(){uy(Object(ly))}))?function(t){var e=iy(oy(t)),r=uy(e);return 0===r&&"-"===sy(e,0)?-0:r}:uy;Ro({global:!0,forced:parseFloat!==py},{parseFloat:py});var fy=$,hy=Sn,dy=Date.prototype,yy="Invalid Date",my="toString",gy=fy(dy[my]),vy=fy(dy.getTime);String(new Date(NaN))!==yy&&hy(dy,my,(function(){var t=vy(this);return t==t?gy(this):yy}));var by=U,wy=pe,xy=wt,Sy=na,Ay=RegExp.prototype,Ey=Er.PROPER,Ry=Sn,Oy=nr,Py=ea,ky=T,jy=function(t){var e=t.flags;return void 0!==e||"flags"in Ay||wy(t,"flags")||!xy(Ay,t)?e:by(Sy,t)},Ty="toString",Iy=RegExp.prototype[Ty],_y=ky((function(){return"/a/b"!==Iy.call({source:"a",flags:"b"})})),Ny=Ey&&Iy.name!==Ty;(_y||Ny)&&Ry(RegExp.prototype,Ty,(function(){var t=Oy(this);return"/"+Py(t.source)+"/"+Py(jy(t))}),{unsafe:!0});var Cy=bl,Uy=rt,Ly=ue,Fy=Ln,By=ui,Dy=$([].push),My=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,s=5===t||i;return function(u,c,l,p){for(var f,h,d=Ly(u),y=Uy(d),m=Cy(c,l),g=Fy(y),v=0,b=p||By,w=e?b(u,g):r||a?b(u,0):void 0;g>v;v++)if((s||v in y)&&(h=m(f=y[v],v,d),t))if(e)w[v]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return v;case 2:Dy(w,f)}else switch(t){case 4:return!1;case 7:Dy(w,f)}return i?-1:n||o?o:w}},qy={forEach:My(0),map:My(1),filter:My(2),some:My(3),every:My(4),find:My(5),findIndex:My(6),filterReject:My(7)},Wy=qy.map;Ro({target:"Array",proto:!0,forced:!fi("map")},{map:function(t){return Wy(this,t,arguments.length>1?arguments[1]:void 0)}});var Gy=function(t){var e=t.endpointName,r=t.guestSpaceId,n=t.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(e,".json")},zy=["endpointName"],Hy=function(){function t(e,r){u(this,t),this.client=e,this.guestSpaceId=r,this.REQUESTS_LENGTH_LIMIT=20}return l(t,[{key:"send",value:function(t){var e=this,r=t.requests.map((function(t){if("endpointName"in t){var r=t.endpointName,o=v(t,zy);return n({api:e.buildPathWithGuestSpaceId({endpointName:r})},o)}return t})),o=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(o,{requests:r})}},{key:"buildPathWithGuestSpaceId",value:function(t){return Gy(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),Vy=["preview"],$y=["preview"],Yy=["preview"],Ky=["preview"],Jy=["preview"],Qy=["preview"],Xy=["preview"],Zy=["preview"],tm=["preview"],em=["preview"],rm=["preview"],nm=["preview"],om=["preview"],im=["preview"],am=function(){function t(e,r){u(this,t),this.client=e,this.guestSpaceId=r}var e;return l(t,[{key:"getFormFields",value:function(t){var e=t.preview,r=v(t,Vy),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:e});return this.client.get(o,n({},r))}},{key:"addFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(e,t)}},{key:"updateFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(e,t)}},{key:"deleteFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(e,t)}},{key:"getFormLayout",value:function(t){var e=t.preview,r=v(t,$y),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:e});return this.client.get(o,n({},r))}},{key:"updateFormLayout",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(e,t)}},{key:"getViews",value:function(t){var e=t.preview,r=v(t,Yy),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:e});return this.client.get(n,r)}},{key:"updateViews",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(e,t)}},{key:"getApp",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(e,t)}},{key:"getApps",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(e,t)}},{key:"addApp",value:(e=s(o().mark((function t(e){var r,i,a,s,u,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.name,i=e.space,a=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!i){t.next=9;break}return s=this.buildPathWithGuestSpaceId({endpointName:"space"}),t.next=6,this.client.get(s,{id:i});case 6:return u=t.sent,c=u.defaultThread,t.abrupt("return",this.client.post(a,n(n({},e),{},{thread:c})));case 9:return t.abrupt("return",this.client.post(a,{name:r}));case 10:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"getAppSettings",value:function(t){var e=t.preview,r=v(t,Ky),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:e});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(e,t)}},{key:"getProcessManagement",value:function(t){var e=t.preview,r=v(t,Jy),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:e});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(e,t)}},{key:"getDeployStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(e,t)}},{key:"deployApp",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(e,t)}},{key:"getFieldAcl",value:function(t){var e=t.preview,r=v(t,Qy),o=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:e});return this.client.get(o,n({},r))}},{key:"updateFieldAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(e,t)}},{key:"getAppAcl",value:function(t){var e=t.preview,r=v(t,Xy),o=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:e});return this.client.get(o,n({},r))}},{key:"updateAppAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(e,t)}},{key:"evaluateRecordsAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(e,t)}},{key:"getRecordAcl",value:function(t){var e=t.preview,r=v(t,Zy),o=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:e});return this.client.get(o,n({},r))}},{key:"updateRecordAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(e,t)}},{key:"getAppCustomize",value:function(t){var e=t.preview,r=v(t,tm),o=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:e});return this.client.get(o,n({},r))}},{key:"updateAppCustomize",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(e,t)}},{key:"getGeneralNotifications",value:function(t){var e=t.preview,r=v(t,em),o=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:e});return this.client.get(o,n({},r))}},{key:"updateGeneralNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(e,t)}},{key:"getPerRecordNotifications",value:function(t){var e=t.preview,r=v(t,rm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:e});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(e,t)}},{key:"getReminderNotifications",value:function(t){var e=t.preview,r=v(t,nm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:e});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(e,t)}},{key:"getReports",value:function(t){var e=t.preview,r=v(t,om),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:e});return this.client.get(n,r)}},{key:"updateReports",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(e,t)}},{key:"getAppActions",value:function(t){var e=t.preview,r=v(t,im),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:e});return this.client.get(n,r)}},{key:"updateAppActions",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return Gy(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),sm=Ul;Ro({target:"Object",stat:!0,arity:2,forced:Object.assign!==sm},{assign:sm});var um=U,cm=nr,lm=nt,pm=Cn,fm=ea,hm=at,dm=Vt,ym=Ls,mm=Qs;Rs("match",(function(t,e,r){return[function(e){var r=hm(this),n=lm(e)?void 0:dm(e,t);return n?um(n,e,r):new RegExp(e)[t](fm(r))},function(t){var n=cm(this),o=fm(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return mm(n,o);var a=n.unicode;n.lastIndex=0;for(var s,u=[],c=0;null!==(s=mm(n,o));){var l=fm(s[0]);u[c]=l,""===l&&(n.lastIndex=ym(o,pm(n.lastIndex),a)),c++}return 0===c?null:u}]}));var gm=k,vm=ht,bm=mt,wm=Vi,xm=$(1..valueOf),Sm=Ro,Am=I,Em=k,Rm=gm,Om=$,Pm=go,km=pe,jm=function(t,e,r){var n,o;return wm&&vm(n=e.constructor)&&n!==r&&bm(o=n.prototype)&&o!==r.prototype&&wm(t,o),t},Tm=wt,Im=Ft,_m=Ne,Nm=T,Cm=An.f,Um=j.f,Lm=Xe.f,Fm=xm,Bm=ey.trim,Dm="Number",Mm=Em[Dm];Rm[Dm];var qm=Mm.prototype,Wm=Em.TypeError,Gm=Om("".slice),zm=Om("".charCodeAt),Hm=function(t){var e,r,n,o,i,a,s,u,c=_m(t,"number");if(Im(c))throw Wm("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=Bm(c),43===(e=zm(c,0))||45===e){if(88===(r=zm(c,2))||120===r)return NaN}else if(48===e){switch(zm(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=Gm(c,2)).length,s=0;s<a;s++)if((u=zm(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},Vm=Pm(Dm,!Mm(" 0o1")||!Mm("0b1")||Mm("+0x1")),$m=function(t){var e,r=arguments.length<1?0:Mm(function(t){var e=_m(t,"number");return"bigint"==typeof e?e:Hm(e)}(t));return Tm(qm,e=this)&&Nm((function(){Fm(e)}))?jm(Object(r),this,$m):r};$m.prototype=qm,Vm&&(qm.constructor=$m),Sm({global:!0,constructor:!0,wrap:!0,forced:Vm},{Number:$m});Vm&&function(t,e){for(var r,n=Am?Cm(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)km(e,r=n[o])&&!km(t,r)&&Lm(t,r,Um(e,r))}(Rm[Dm],Mm);var Ym=T,Km=function(t,e){var r=[][t];return!!r&&Ym((function(){r.call(null,e||function(){return 1},1)}))},Jm=Ro,Qm=qn.indexOf,Xm=Km,Zm=ms([].indexOf),tg=!!Zm&&1/Zm([1],1,-0)<0;Jm({target:"Array",proto:!0,forced:tg||!Xm("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return tg?Zm(this,t,e)||0:Qm(this,t,e)}});var eg=qy.every;Ro({target:"Array",proto:!0,forced:!Km("every")},{every:function(t){return eg(this,t,arguments.length>1?arguments[1]:void 0)}}),Ro({target:"Array",stat:!0},{isArray:Po});var rg=$([].slice),ng=Ro,og=Po,ig=ei,ag=mt,sg=In,ug=Ln,cg=ct,lg=_o,pg=Re,fg=rg,hg=fi("slice"),dg=pg("species"),yg=Array,mg=Math.max;ng({target:"Array",proto:!0,forced:!hg},{slice:function(t,e){var r,n,o,i=cg(this),a=ug(i),s=sg(t,a),u=sg(void 0===e?a:e,a);if(og(i)&&(r=i.constructor,(ig(r)&&(r===yg||og(r.prototype))||ag(r)&&null===(r=r[dg]))&&(r=void 0),r===yg||void 0===r))return fg(i,s,u);for(n=new(void 0===r?yg:r)(mg(u-s,0)),o=0;s<u;s++,o++)s in i&&lg(n,o,i[s]);return n.length=o,n}});var gg=Gt,vg=ue,bg=rt,wg=Ln,xg=TypeError,Sg=function(t){return function(e,r,n,o){gg(r);var i=vg(e),a=bg(i),s=wg(i),u=t?s-1:0,c=t?-1:1;if(n<2)for(;;){if(u in a){o=a[u],u+=c;break}if(u+=c,t?u<0:s<=u)throw xg("Reduce of empty array with no initial value")}for(;t?u>=0:s>u;u+=c)u in a&&(o=r(o,a[u],u,i));return o}},Ag={left:Sg(!1),right:Sg(!0)},Eg="process"===Q(k.process),Rg=Ag.left;Ro({target:"Array",proto:!0,forced:!Eg&&Pt>79&&Pt<83||!Km("reduce")},{reduce:function(t){var e=arguments.length;return Rg(this,t,e,e>1?arguments[1]:void 0)}});var Og=qy.forEach,Pg=Km("forEach")?[].forEach:function(t){return Og(this,t,arguments.length>1?arguments[1]:void 0)};Ro({target:"Array",proto:!0,forced:[].forEach!==Pg},{forEach:Pg});var kg=k,jg=Qc,Tg=tl,Ig=Pg,_g=gr,Ng=function(t){if(t&&t.forEach!==Ig)try{_g(t,"forEach",Ig)}catch(e){t.forEach=Ig}};for(var Cg in jg)jg[Cg]&&Ng(kg[Cg]&&kg[Cg].prototype);Ng(Tg);var Ug=ue,Lg=fa;Ro({target:"Object",stat:!0,forced:T((function(){Lg(1)}))},{keys:function(t){return Lg(Ug(t))}});var Fg=function(t){f(r,t);var e=w(r);function r(t,n,o,i,a){var s;u(this,r);var c=o-n.length,l=r.extractErrorIndex(c,i,a),p=r.buildErrorMessage(c,o,l);return(s=e.call(this,p)).name="KintoneAllRecordsError",s.processedRecordsResult=t,s.unprocessedRecords=n,s.error=i,s.errorIndex=l,s.message=p,s.numOfProcessedRecords=c,s.numOfAllRecords=o,Object.setPrototypeOf(b(s),r.prototype),s}return l(r,null,[{key:"parseErrorIndex",value:function(t){var e=[];return Object.keys(t).forEach((function(t){var r=t.match(/records\[(\d+)\]/);r&&e.push(Number(r[1]))})),e.length>0?Math.min.apply(Math,e):null}},{key:"extractErrorIndex",value:function(t,e,n){if(void 0!==e.bulkRequestIndex&&e.errors){var o=r.parseErrorIndex(e.errors);if(null!==o)return t+e.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(t,e,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(t,"/").concat(e," records are processed successfully")}}]),r}(g(Error)),Bg=["condition","orderBy","withCursor"],Dg=["fields"],Mg=["condition"],qg=["condition","orderBy"],Wg=function(){function t(e,r,n){u(this,t),this.client=e,this.bulkRequestClient=r,this.guestSpaceId=n,this.didWarnMaximumOffsetValue=!1}var e,r,i,a,c,f,h,d,y,m,g,b,w,S,A,E,R,O;return l(t,[{key:"getRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(e,t)}},{key:"addRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(e,t)}},{key:"updateRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(e,t)}},{key:"upsertRecord",value:(O=s(o().mark((function t(e){var r,n,i,a,s,u,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.app,n=e.updateKey,i=e.record,t.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(a=t.sent,!((s=a.records).length>0)){t.next=13;break}if("__ID__"!==s[0].$id.type){t.next=12;break}return t.next=9,this.updateRecord(e);case 9:return u=t.sent,c=u.revision,t.abrupt("return",{id:s[0].$id.value,revision:c});case 12:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 13:return t.abrupt("return",this.addRecord({app:r,record:Object.assign({},i,p({},n.field,{value:n.value}))}));case 14:case"end":return t.stop()}}),t,this)}))),function(t){return O.apply(this,arguments)})},{key:"getRecords",value:(R=s(o().mark((function t(e){var r,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.get(r,e);case 3:return n=t.sent,this.warnMaximumOffsetValueIfNeeded(e.query),t.abrupt("return",n);case 6:case"end":return t.stop()}}),t,this)}))),function(t){return R.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(t){if(t){var e=t.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&e&&Number(e[1])>1e4&&(this.didWarnMaximumOffsetValue=!0,console.warn("Warning: The maximum offset value will be limited to 10,000 in the future. Please use `createCursor()` and `getRecordsByCursor()` instead."))}}},{key:"addRecords",value:(E=s(o().mark((function t(e){var r,n,i,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.post(r,e);case 3:return n=t.sent,i=n.ids,a=n.revisions,t.abrupt("return",{ids:i,revisions:a,records:i.map((function(t,e){return{id:t,revision:a[e]}}))});case 7:case"end":return t.stop()}}),t,this)}))),function(t){return E.apply(this,arguments)})},{key:"updateRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(e,t)}},{key:"deleteRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(e,t)}},{key:"createCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(e,t)}},{key:"getRecordsByCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(e,t)}},{key:"deleteCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(e,t)}},{key:"getAllRecords",value:(A=s(o().mark((function t(e){var r,i,a,s,u,c,l;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.condition,i=e.orderBy,a=e.withCursor,s=void 0===a||a,u=v(e,Bg),i){t.next=3;break}return t.abrupt("return",this.getAllRecordsWithId(n(n({},u),{},{condition:r})));case 3:if(!s){t.next=7;break}return c=r?"".concat(r," "):"",l="".concat(c).concat(i?"order by ".concat(i):""),t.abrupt("return",this.getAllRecordsWithCursor(n(n({},u),{},{query:l})));case 7:return t.abrupt("return",this.getAllRecordsWithOffset(n(n({},u),{},{orderBy:i,condition:r})));case 8:case"end":return t.stop()}}),t,this)}))),function(t){return A.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(S=s(o().mark((function t(e){var r,i,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.fields,i=v(e,Dg),(a=r)&&a.length>0&&-1===a.indexOf("$id")&&(a=[].concat(x(a),["$id"])),t.abrupt("return",this.getAllRecordsRecursiveWithId(n(n({},i),{},{fields:a}),"0",[]));case 4:case"end":return t.stop()}}),t,this)}))),function(t){return S.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithId",value:(w=s(o().mark((function t(e,r,i){var a,s,u,c,l,p,f,h,d;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=500,s=e.condition,u=v(e,Mg),c=s?"(".concat(s,") and "):"",l="".concat(c,"$id > ").concat(r," order by $id asc limit ").concat(a),t.next=6,this.getRecords(n(n({},u),{},{query:l}));case 6:if(p=t.sent,f=i.concat(p.records),!(p.records.length<a)){t.next=10;break}return t.abrupt("return",f);case 10:if("__ID__"!==(h=p.records[p.records.length-1]).$id.type){t.next=14;break}return d=h.$id.value,t.abrupt("return",this.getAllRecordsRecursiveWithId(e,d,f));case 14:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 15:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return w.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(b=s(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.getAllRecordsRecursiveWithOffset(e,0,[]));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return b.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithOffset",value:(g=s(o().mark((function t(e,r,i){var a,s,u,c,l,p,f,h;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=500,s=e.condition,u=e.orderBy,c=v(e,qg),l=s?"".concat(s," "):"",p="".concat(l).concat(u?"order by ".concat(u," "):"","limit ").concat(a," offset ").concat(r),t.next=6,this.getRecords(n(n({},c),{},{query:p}));case 6:if(f=t.sent,h=i.concat(f.records),!(f.records.length<a)){t.next=10;break}return t.abrupt("return",h);case 10:return t.abrupt("return",this.getAllRecordsRecursiveWithOffset(e,r+a,h));case 11:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return g.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(m=s(o().mark((function t(e){var r,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.createCursor(e);case 2:return r=t.sent,n=r.id,t.prev=4,t.next=7,this.getAllRecordsRecursiveByCursor(n,[]);case 7:return t.abrupt("return",t.sent);case 10:return t.prev=10,t.t0=t.catch(4),t.next=14,this.deleteCursor({id:n});case 14:throw t.t0;case 15:case"end":return t.stop()}}),t,this,[[4,10]])}))),function(t){return m.apply(this,arguments)})},{key:"getAllRecordsRecursiveByCursor",value:(y=s(o().mark((function t(e,r){var n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getRecordsByCursor({id:e});case 2:if(n=t.sent,i=r.concat(n.records),!n.next){t.next=6;break}return t.abrupt("return",this.getAllRecordsRecursiveByCursor(e,i));case 6:return t.abrupt("return",i);case 7:case"end":return t.stop()}}),t,this)}))),function(t,e){return y.apply(this,arguments)})},{key:"addAllRecords",value:(d=s(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.records.every((function(t){return!Array.isArray(t)&&t instanceof Object}))){t.next=2;break}throw new Error("the `records` parameter must be an array of object.");case 2:return t.abrupt("return",this.addAllRecordsRecursive(e,e.records.length,[]));case 3:case"end":return t.stop()}}),t,this)}))),function(t){return d.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(h=s(o().mark((function t(e,r,n){var i,a,s,u,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,a=e.app,s=e.records,0!==(u=s.slice(0,i)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.addAllRecordsWithBulkRequest({app:a,records:u});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Fg({records:n},s,r,t.t0,100);case 14:return t.abrupt("return",this.addAllRecordsRecursive({app:a,records:s.slice(i)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return h.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(f=s(o().mark((function t(e){var r,n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"POST",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return i=t.sent.results,t.abrupt("return",i.map((function(t){var e=t.ids,r=t.revisions;return e.map((function(t,e){return{id:t,revision:r[e]}}))})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return f.apply(this,arguments)})},{key:"updateAllRecords",value:(c=s(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.updateAllRecordsRecursive(e,e.records.length,[]));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return c.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(a=s(o().mark((function t(e,r,n){var i,a,s,u,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,a=e.app,s=e.records,0!==(u=s.slice(0,i)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.updateAllRecordsWithBulkRequest({app:a,records:u});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Fg({records:n},s,r,t.t0,100);case 14:return t.abrupt("return",this.updateAllRecordsRecursive({app:a,records:s.slice(i)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return a.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(i=s(o().mark((function t(e){var r,n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"PUT",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return i=t.sent.results,t.abrupt("return",i.map((function(t){return t.records})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return i.apply(this,arguments)})},{key:"deleteAllRecords",value:function(t){return this.deleteAllRecordsRecursive(t,t.records.length)}},{key:"deleteAllRecordsRecursive",value:(r=s(o().mark((function t(e,r){var n,i,a,s;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,a=e.records,0!==(s=a.slice(0,n)).length){t.next=5;break}return t.abrupt("return",{});case 5:return t.prev=5,t.next=8,this.deleteAllRecordsWithBulkRequest({app:i,records:s});case 8:t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(5),new Fg({},a,r,t.t0,100);case 13:return t.abrupt("return",this.deleteAllRecordsRecursive({app:i,records:a.slice(n)},r));case 14:case"end":return t.stop()}}),t,this,[[5,10]])}))),function(t,e){return r.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(e=s(o().mark((function t(e){var r,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"DELETE",endpointName:"records",payload:{app:e.app,ids:t.map((function(t){return t.id})),revisions:t.map((function(t){return t.revision}))}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(t,e,r){var n=r.slice(0,t);return 0===n.length?e:this.separateArrayRecursive(t,[].concat(x(e),[n]),r.slice(t))}},{key:"addRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(e,t)}},{key:"deleteRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(e,t)}},{key:"getRecordComments",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(e,t)}},{key:"updateRecordAssignees",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(e,t)}},{key:"updateRecordStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(e,t)}},{key:"updateRecordsStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return Gy(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),Gg=R("object"==typeof self?self.FormData:window.FormData),zg=function(){function t(e,r){u(this,t),this.client=e,this.guestSpaceId=r}var r;return l(t,[{key:"uploadFile",value:(r=s(o().mark((function t(r){var n,i,a,s,u,c,l,p,f;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),i=new Gg,!("path"in r.file)){t.next=19;break}return t.prev=3,t.next=6,e.readFileFromPath(r.file.path);case 6:a=t.sent,s=a.name,u=a.data,i.append("file",u,s),t.next=17;break;case 12:if(t.prev=12,t.t0=t.catch(3),!(t.t0 instanceof $i)){t.next=16;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(t.t0.platform," environment."));case 16:throw t.t0;case 17:t.next=22;break;case 19:c=r.file,l=c.name,p=c.data,f=e.buildFormDataValue(p,l),i.append("file",f,l);case 22:return t.abrupt("return",this.client.postData(n,i));case 23:case"end":return t.stop()}}),t,this,[[3,12]])}))),function(t){return r.apply(this,arguments)})},{key:"downloadFile",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return Gy(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),Hg="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Vg(t,e){return function(){return t.apply(e,arguments)}}const{toString:$g}=Object.prototype,{getPrototypeOf:Yg}=Object,Kg=(Jg=Object.create(null),t=>{const e=$g.call(t);return Jg[e]||(Jg[e]=e.slice(8,-1).toLowerCase())});var Jg;const Qg=t=>(t=t.toLowerCase(),e=>Kg(e)===t),Xg=t=>e=>typeof e===t,{isArray:Zg}=Array,tv=Xg("undefined");const ev=Qg("ArrayBuffer");const rv=Xg("string"),nv=Xg("function"),ov=Xg("number"),iv=t=>null!==t&&"object"==typeof t,av=t=>{if("object"!==Kg(t))return!1;const e=Yg(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},sv=Qg("Date"),uv=Qg("File"),cv=Qg("Blob"),lv=Qg("FileList"),pv=Qg("URLSearchParams");function fv(t,e){let r,n,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=t)if("object"!=typeof t&&(t=[t]),Zg(t))for(r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else{const n=o?Object.getOwnPropertyNames(t):Object.keys(t),i=n.length;let a;for(r=0;r<i;r++)a=n[r],e.call(null,t[a],a,t)}}function hv(t,e){e=e.toLowerCase();const r=Object.keys(t);let n,o=r.length;for(;o-- >0;)if(n=r[o],e===n.toLowerCase())return n;return null}const dv="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Hg,yv=t=>!tv(t)&&t!==dv;const mv=(t=>e=>t&&e instanceof t)("undefined"!=typeof Uint8Array&&Yg(Uint8Array)),gv=Qg("HTMLFormElement"),vv=(t=>{let{hasOwnProperty:e}=t;return(t,r)=>e.call(t,r)})(Object.prototype),bv=Qg("RegExp"),wv=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};fv(r,((r,o)=>{!1!==e(r,o,t)&&(n[o]=r)})),Object.defineProperties(t,n)},xv="abcdefghijklmnopqrstuvwxyz",Sv="0123456789",Av={DIGIT:Sv,ALPHA:xv,ALPHA_DIGIT:xv+xv.toUpperCase()+Sv};const Ev=Qg("AsyncFunction");var Rv={isArray:Zg,isArrayBuffer:ev,isBuffer:function(t){return null!==t&&!tv(t)&&null!==t.constructor&&!tv(t.constructor)&&nv(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||nv(t.append)&&("formdata"===(e=Kg(t))||"object"===e&&nv(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&ev(t.buffer),e},isString:rv,isNumber:ov,isBoolean:t=>!0===t||!1===t,isObject:iv,isPlainObject:av,isUndefined:tv,isDate:sv,isFile:uv,isBlob:cv,isRegExp:bv,isFunction:nv,isStream:t=>iv(t)&&nv(t.pipe),isURLSearchParams:pv,isTypedArray:mv,isFileList:lv,forEach:fv,merge:function t(){const{caseless:e}=yv(this)&&this||{},r={},n=(n,o)=>{const i=e&&hv(r,o)||o;av(r[i])&&av(n)?r[i]=t(r[i],n):av(n)?r[i]=t({},n):Zg(n)?r[i]=n.slice():r[i]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&fv(arguments[t],n);return r},extend:function(t,e,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return fv(e,((e,n)=>{r&&nv(e)?t[n]=Vg(e,r):t[n]=e}),{allOwnKeys:n}),t},trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let o,i,a;const s={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],n&&!n(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==r&&Yg(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:Kg,kindOfTest:Qg,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(Zg(t))return t;let e=t.length;if(!ov(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:gv,hasOwnProperty:vv,hasOwnProp:vv,reduceDescriptors:wv,freezeMethods:t=>{wv(t,((e,r)=>{if(nv(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];nv(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach((t=>{r[t]=!0}))};return Zg(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:hv,global:dv,isContextDefined:yv,ALPHABET:Av,generateString:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Av.ALPHA_DIGIT,r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&nv(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(iv(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const o=Zg(t)?[]:{};return fv(t,((t,e)=>{const i=r(t,n+1);!tv(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:Ev,isThenable:t=>t&&(iv(t)||nv(t))&&nv(t.then)&&nv(t.catch)},Ov=[],Pv=[],kv="undefined"!=typeof Uint8Array?Uint8Array:Array,jv=!1;function Tv(){jv=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0;e<64;++e)Ov[e]=t[e],Pv[t.charCodeAt(e)]=e;Pv["-".charCodeAt(0)]=62,Pv["_".charCodeAt(0)]=63}function Iv(t,e,r){for(var n,o,i=[],a=e;a<r;a+=3)n=(t[a]<<16)+(t[a+1]<<8)+t[a+2],i.push(Ov[(o=n)>>18&63]+Ov[o>>12&63]+Ov[o>>6&63]+Ov[63&o]);return i.join("")}function _v(t){var e;jv||Tv();for(var r=t.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(Iv(t,s,s+a>u?u:s+a));return 1===n?(e=t[r-1],o+=Ov[e>>2],o+=Ov[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=Ov[e>>10],o+=Ov[e>>4&63],o+=Ov[e<<2&63],o+="="),i.push(o),i.join("")}function Nv(t,e,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,p=r?o-1:0,f=r?-1:1,h=t[e+p];for(p+=f,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+t[e+p],p+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+t[e+p],p+=f,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)}function Cv(t,e,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,p=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(a++,u/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(e*u-1)*Math.pow(2,o),a+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*y}var Uv={}.toString,Lv=Array.isArray||function(t){return"[object Array]"==Uv.call(t)};function Fv(){return Dv.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Bv(t,e){if(Fv()<e)throw new RangeError("Invalid typed array length");return Dv.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=Dv.prototype:(null===t&&(t=new Dv(e)),t.length=e),t}function Dv(t,e,r){if(!(Dv.TYPED_ARRAY_SUPPORT||this instanceof Dv))return new Dv(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return Wv(this,t)}return Mv(this,t,e,r)}function Mv(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);Dv.TYPED_ARRAY_SUPPORT?(t=e).__proto__=Dv.prototype:t=Gv(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!Dv.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Vv(e,r);t=Bv(t,n);var o=t.write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(Hv(e)){var r=0|zv(e.length);return 0===(t=Bv(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?Bv(t,0):Gv(t,e);if("Buffer"===e.type&&Lv(e.data))return Gv(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function qv(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function Wv(t,e){if(qv(e),t=Bv(t,e<0?0:0|zv(e)),!Dv.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function Gv(t,e){var r=e.length<0?0:0|zv(e.length);t=Bv(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function zv(t){if(t>=Fv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Fv().toString(16)+" bytes");return 0|t}function Hv(t){return!(null==t||!t._isBuffer)}function Vv(t,e){if(Hv(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return bb(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return wb(t).length;default:if(n)return bb(t).length;e=(""+e).toLowerCase(),n=!0}}function $v(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return ub(this,e,r);case"utf8":case"utf-8":return ob(this,e,r);case"ascii":return ab(this,e,r);case"latin1":case"binary":return sb(this,e,r);case"base64":return nb(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return cb(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function Yv(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Kv(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=Dv.from(e,n)),Hv(e))return 0===e.length?-1:Jv(t,e,r,n,o);if("number"==typeof e)return e&=255,Dv.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Jv(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Jv(t,e,r,n,o){var i,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(t,i)===c(e,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var p=!0,f=0;f<u;f++)if(c(t,i+f)!==c(e,f)){p=!1;break}if(p)return i}return-1}function Qv(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function Xv(t,e,r,n){return xb(bb(e,t.length-r),t,r,n)}function Zv(t,e,r,n){return xb(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function tb(t,e,r,n){return Zv(t,e,r,n)}function eb(t,e,r,n){return xb(wb(e),t,r,n)}function rb(t,e,r,n){return xb(function(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function nb(t,e,r){return 0===e&&r===t.length?_v(t):_v(t.slice(e,r))}function ob(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,s,u,c=t[o],l=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=r)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(i=t[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=t[o+1],a=t[o+2],s=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=p}return function(t){var e=t.length;if(e<=ib)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ib));return r}(n)}Dv.TYPED_ARRAY_SUPPORT=void 0===Hg.TYPED_ARRAY_SUPPORT||Hg.TYPED_ARRAY_SUPPORT,Fv(),Dv.poolSize=8192,Dv._augment=function(t){return t.__proto__=Dv.prototype,t},Dv.from=function(t,e,r){return Mv(null,t,e,r)},Dv.TYPED_ARRAY_SUPPORT&&(Dv.prototype.__proto__=Uint8Array.prototype,Dv.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Dv[Symbol.species]),Dv.alloc=function(t,e,r){return function(t,e,r,n){return qv(e),e<=0?Bv(t,e):void 0!==r?"string"==typeof n?Bv(t,e).fill(r,n):Bv(t,e).fill(r):Bv(t,e)}(null,t,e,r)},Dv.allocUnsafe=function(t){return Wv(null,t)},Dv.allocUnsafeSlow=function(t){return Wv(null,t)},Dv.isBuffer=function(t){return null!=t&&(!!t._isBuffer||Sb(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&Sb(t.slice(0,0))}(t))},Dv.compare=function(t,e){if(!Hv(t)||!Hv(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},Dv.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Dv.concat=function(t,e){if(!Lv(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return Dv.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=Dv.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!Hv(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},Dv.byteLength=Vv,Dv.prototype._isBuffer=!0,Dv.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)Yv(this,e,e+1);return this},Dv.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)Yv(this,e,e+3),Yv(this,e+1,e+2);return this},Dv.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)Yv(this,e,e+7),Yv(this,e+1,e+6),Yv(this,e+2,e+5),Yv(this,e+3,e+4);return this},Dv.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?ob(this,0,t):$v.apply(this,arguments)},Dv.prototype.equals=function(t){if(!Hv(t))throw new TypeError("Argument must be a Buffer");return this===t||0===Dv.compare(this,t)},Dv.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},Dv.prototype.compare=function(t,e,r,n,o){if(!Hv(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(i,a),u=this.slice(n,o),c=t.slice(e,r),l=0;l<s;++l)if(u[l]!==c[l]){i=u[l],a=c[l];break}return i<a?-1:a<i?1:0},Dv.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},Dv.prototype.indexOf=function(t,e,r){return Kv(this,t,e,r,!0)},Dv.prototype.lastIndexOf=function(t,e,r){return Kv(this,t,e,r,!1)},Dv.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return Qv(this,t,e,r);case"utf8":case"utf-8":return Xv(this,t,e,r);case"ascii":return Zv(this,t,e,r);case"latin1":case"binary":return tb(this,t,e,r);case"base64":return eb(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rb(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},Dv.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ib=4096;function ab(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function sb(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function ub(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=vb(t[i]);return o}function cb(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function lb(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function pb(t,e,r,n,o,i){if(!Hv(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function fb(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function hb(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function db(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function yb(t,e,r,n,o){return o||db(t,0,r,4),Cv(t,e,r,n,23,4),r+4}function mb(t,e,r,n,o){return o||db(t,0,r,8),Cv(t,e,r,n,52,8),r+8}Dv.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),Dv.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=Dv.prototype;else{var o=e-t;r=new Dv(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},Dv.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||lb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},Dv.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||lb(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},Dv.prototype.readUInt8=function(t,e){return e||lb(t,1,this.length),this[t]},Dv.prototype.readUInt16LE=function(t,e){return e||lb(t,2,this.length),this[t]|this[t+1]<<8},Dv.prototype.readUInt16BE=function(t,e){return e||lb(t,2,this.length),this[t]<<8|this[t+1]},Dv.prototype.readUInt32LE=function(t,e){return e||lb(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Dv.prototype.readUInt32BE=function(t,e){return e||lb(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Dv.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||lb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},Dv.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||lb(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},Dv.prototype.readInt8=function(t,e){return e||lb(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Dv.prototype.readInt16LE=function(t,e){e||lb(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},Dv.prototype.readInt16BE=function(t,e){e||lb(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},Dv.prototype.readInt32LE=function(t,e){return e||lb(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Dv.prototype.readInt32BE=function(t,e){return e||lb(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Dv.prototype.readFloatLE=function(t,e){return e||lb(t,4,this.length),Nv(this,t,!0,23,4)},Dv.prototype.readFloatBE=function(t,e){return e||lb(t,4,this.length),Nv(this,t,!1,23,4)},Dv.prototype.readDoubleLE=function(t,e){return e||lb(t,8,this.length),Nv(this,t,!0,52,8)},Dv.prototype.readDoubleBE=function(t,e){return e||lb(t,8,this.length),Nv(this,t,!1,52,8)},Dv.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||pb(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},Dv.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||pb(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},Dv.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||pb(this,t,e,1,255,0),Dv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},Dv.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||pb(this,t,e,2,65535,0),Dv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):fb(this,t,e,!0),e+2},Dv.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||pb(this,t,e,2,65535,0),Dv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):fb(this,t,e,!1),e+2},Dv.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||pb(this,t,e,4,4294967295,0),Dv.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):hb(this,t,e,!0),e+4},Dv.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||pb(this,t,e,4,4294967295,0),Dv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):hb(this,t,e,!1),e+4},Dv.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);pb(this,t,e,r,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},Dv.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);pb(this,t,e,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},Dv.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||pb(this,t,e,1,127,-128),Dv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},Dv.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||pb(this,t,e,2,32767,-32768),Dv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):fb(this,t,e,!0),e+2},Dv.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||pb(this,t,e,2,32767,-32768),Dv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):fb(this,t,e,!1),e+2},Dv.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||pb(this,t,e,4,2147483647,-2147483648),Dv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):hb(this,t,e,!0),e+4},Dv.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||pb(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),Dv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):hb(this,t,e,!1),e+4},Dv.prototype.writeFloatLE=function(t,e,r){return yb(this,t,e,!0,r)},Dv.prototype.writeFloatBE=function(t,e,r){return yb(this,t,e,!1,r)},Dv.prototype.writeDoubleLE=function(t,e,r){return mb(this,t,e,!0,r)},Dv.prototype.writeDoubleBE=function(t,e,r){return mb(this,t,e,!1,r)},Dv.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!Dv.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},Dv.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!Dv.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=Hv(t)?t:bb(new Dv(t,n).toString()),s=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%s]}return this};var gb=/[^+\/0-9A-Za-z-_]/g;function vb(t){return t<16?"0"+t.toString(16):t.toString(16)}function bb(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function wb(t){return function(t){var e,r,n,o,i,a;jv||Tv();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===t[s-2]?2:"="===t[s-1]?1:0,a=new kv(3*s/4-i),n=i>0?s-4:s;var u=0;for(e=0,r=0;e<n;e+=4,r+=3)o=Pv[t.charCodeAt(e)]<<18|Pv[t.charCodeAt(e+1)]<<12|Pv[t.charCodeAt(e+2)]<<6|Pv[t.charCodeAt(e+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=Pv[t.charCodeAt(e)]<<2|Pv[t.charCodeAt(e+1)]>>4,a[u++]=255&o):1===i&&(o=Pv[t.charCodeAt(e)]<<10|Pv[t.charCodeAt(e+1)]<<4|Pv[t.charCodeAt(e+2)]>>2,a[u++]=o>>8&255,a[u++]=255&o),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(gb,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function xb(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function Sb(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function Ab(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}Rv.inherits(Ab,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Rv.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Eb=Ab.prototype,Rb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{Rb[t]={value:t}})),Object.defineProperties(Ab,Rb),Object.defineProperty(Eb,"isAxiosError",{value:!0}),Ab.from=(t,e,r,n,o,i)=>{const a=Object.create(Eb);return Rv.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),Ab.call(a,t.message,e,r,n,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};function Ob(t){return Rv.isPlainObject(t)||Rv.isArray(t)}function Pb(t){return Rv.endsWith(t,"[]")?t.slice(0,-2):t}function kb(t,e,r){return t?t.concat(e).map((function(t,e){return t=Pb(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const jb=Rv.toFlatObject(Rv,{},null,(function(t){return/^is[A-Z]/.test(t)}));function Tb(t,e,r){if(!Rv.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=Rv.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!Rv.isUndefined(e[t])}))).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Rv.isSpecCompliantForm(e);if(!Rv.isFunction(o))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(Rv.isDate(t))return t.toISOString();if(!s&&Rv.isBlob(t))throw new Ab("Blob is not supported. Use a Buffer instead.");return Rv.isArrayBuffer(t)||Rv.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Dv.from(t):t}function c(t,r,o){let s=t;if(t&&!o&&"object"==typeof t)if(Rv.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(Rv.isArray(t)&&function(t){return Rv.isArray(t)&&!t.some(Ob)}(t)||(Rv.isFileList(t)||Rv.endsWith(r,"[]"))&&(s=Rv.toArray(t)))return r=Pb(r),s.forEach((function(t,n){!Rv.isUndefined(t)&&null!==t&&e.append(!0===a?kb([r],n,i):null===a?r:r+"[]",u(t))})),!1;return!!Ob(t)||(e.append(kb(o,r,i),u(t)),!1)}const l=[],p=Object.assign(jb,{defaultVisitor:c,convertValue:u,isVisitable:Ob});if(!Rv.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!Rv.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),Rv.forEach(r,(function(r,i){!0===(!(Rv.isUndefined(r)||null===r)&&o.call(e,r,Rv.isString(i)?i.trim():i,n,p))&&t(r,n?n.concat(i):[i])})),l.pop()}}(t),e}function Ib(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function _b(t,e){this._pairs=[],t&&Tb(t,this,e)}const Nb=_b.prototype;function Cb(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ub(t,e,r){if(!e)return t;const n=r&&r.encode||Cb,o=r&&r.serialize;let i;if(i=o?o(e,r):Rv.isURLSearchParams(e)?e.toString():new _b(e,r).toString(n),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}Nb.append=function(t,e){this._pairs.push([t,e])},Nb.toString=function(t){const e=t?function(e){return t.call(this,e,Ib)}:Ib;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var Lb=class{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Rv.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},Fb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var Bb={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:_b,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let t;return("undefined"==typeof navigator||"ReactNative"!==(t=navigator.product)&&"NativeScript"!==t&&"NS"!==t)&&("undefined"!=typeof window&&"undefined"!=typeof document)})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};function Db(t){function e(t,r,n,o){let i=t[o++];const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&Rv.isArray(n)?n.length:i,s)return Rv.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&Rv.isObject(n[i])||(n[i]=[]);return e(t,r,n[i],o)&&Rv.isArray(n[i])&&(n[i]=function(t){const e={},r=Object.keys(t);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],e[i]=t[i];return e}(n[i])),!a}if(Rv.isFormData(t)&&Rv.isFunction(t.entries)){const r={};return Rv.forEachEntry(t,((t,n)=>{e(function(t){return Rv.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null}const Mb={"Content-Type":void 0};const qb={transitional:Fb,adapter:["xhr","http"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=Rv.isObject(t);o&&Rv.isHTMLForm(t)&&(t=new FormData(t));if(Rv.isFormData(t))return n&&n?JSON.stringify(Db(t)):t;if(Rv.isArrayBuffer(t)||Rv.isBuffer(t)||Rv.isStream(t)||Rv.isFile(t)||Rv.isBlob(t))return t;if(Rv.isArrayBufferView(t))return t.buffer;if(Rv.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return Tb(t,new Bb.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return Bb.isNode&&Rv.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=Rv.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Tb(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),function(t,e,r){if(Rv.isString(t))try{return(e||JSON.parse)(t),Rv.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||qb.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(t&&Rv.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw Ab.from(t,Ab.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Bb.classes.FormData,Blob:Bb.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Rv.forEach(["delete","get","head"],(function(t){qb.headers[t]={}})),Rv.forEach(["post","put","patch"],(function(t){qb.headers[t]=Rv.merge(Mb)}));var Wb=qb;const Gb=Rv.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const zb=Symbol("internals");function Hb(t){return t&&String(t).trim().toLowerCase()}function Vb(t){return!1===t||null==t?t:Rv.isArray(t)?t.map(Vb):String(t)}function $b(t,e,r,n,o){return Rv.isFunction(n)?n.call(this,e,r):(o&&(e=r),Rv.isString(e)?Rv.isString(n)?-1!==e.indexOf(n):Rv.isRegExp(n)?n.test(e):void 0:void 0)}class Yb{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=Hb(e);if(!o)throw new Error("header name must be a non-empty string");const i=Rv.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=Vb(t))}const i=(t,e)=>Rv.forEach(t,((t,r)=>o(t,r,e)));return Rv.isPlainObject(t)||t instanceof this.constructor?i(t,e):Rv.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?i((t=>{const e={};let r,n,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),r=t.substring(0,o).trim().toLowerCase(),n=t.substring(o+1).trim(),!r||e[r]&&Gb[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e):null!=t&&o(e,t,r),this}get(t,e){if(t=Hb(t)){const r=Rv.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(Rv.isFunction(e))return e.call(this,t,r);if(Rv.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Hb(t)){const r=Rv.findKey(this,t);return!(!r||void 0===this[r]||e&&!$b(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=Hb(t)){const o=Rv.findKey(r,t);!o||e&&!$b(0,r[o],o,e)||(delete r[o],n=!0)}}return Rv.isArray(t)?t.forEach(o):o(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const o=e[r];t&&!$b(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return Rv.forEach(this,((n,o)=>{const i=Rv.findKey(r,o);if(i)return e[i]=Vb(n),void delete e[o];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,r)=>e.toUpperCase()+r))}(o):String(o).trim();a!==o&&delete e[o],e[a]=Vb(n),r[a]=!0})),this}concat(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.constructor.concat(this,...e)}toJSON(t){const e=Object.create(null);return Rv.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&Rv.isArray(r)?r.join(", "):r)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((t=>{let[e,r]=t;return e+": "+r})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t){const e=new this(t);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach((t=>e.set(t))),e}static accessor(t){const e=(this[zb]=this[zb]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=Hb(t);e[n]||(!function(t,e){const r=Rv.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})}))}(r,t),e[n]=!0)}return Rv.isArray(t)?t.forEach(n):n(t),this}}Yb.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Rv.freezeMethods(Yb.prototype),Rv.freezeMethods(Yb);var Kb=Yb;function Jb(t,e){const r=this||Wb,n=e||r,o=Kb.from(n.headers);let i=n.data;return Rv.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function Qb(t){return!(!t||!t.__CANCEL__)}function Xb(t,e,r){Ab.call(this,null==t?"canceled":t,Ab.ERR_CANCELED,e,r),this.name="CanceledError"}Rv.inherits(Xb,Ab,{__CANCEL__:!0});var Zb=Bb.isStandardBrowserEnv?{write:function(t,e,r,n,o,i){const a=[];a.push(t+"="+encodeURIComponent(e)),Rv.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),Rv.isString(n)&&a.push("path="+n),Rv.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function tw(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}var ew=Bb.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let r;function n(r){let n=r;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(t){const e=Rv.isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return!0};function rw(t,e){let r=0;const n=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const u=Date.now(),c=n[a];o||(o=u),r[i]=s,n[i]=u;let l=a,p=0;for(;l!==i;)p+=r[l++],l%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),u-o<e)return;const f=c&&u-c;return f?Math.round(1e3*p/f):void 0}}(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-r,u=n(s);r=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:o};c[e?"download":"upload"]=!0,t(c)}}var nw="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){let n=t.data;const o=Kb.from(t.headers).normalize(),i=t.responseType;let a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}Rv.isFormData(n)&&(Bb.isStandardBrowserEnv||Bb.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",r=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+r))}const c=tw(t.baseURL,t.url);function l(){if(!u)return;const n=Kb.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());!function(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new Ab("Request failed with status code "+r.status,[Ab.ERR_BAD_REQUEST,Ab.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}((function(t){e(t),s()}),(function(t){r(t),s()}),{data:i&&"text"!==i&&"json"!==i?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:n,config:t,request:u}),u=null}if(u.open(t.method.toUpperCase(),Ub(c,t.params,t.paramsSerializer),!0),u.timeout=t.timeout,"onloadend"in u?u.onloadend=l:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(l)},u.onabort=function(){u&&(r(new Ab("Request aborted",Ab.ECONNABORTED,t,u)),u=null)},u.onerror=function(){r(new Ab("Network Error",Ab.ERR_NETWORK,t,u)),u=null},u.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const n=t.transitional||Fb;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(new Ab(e,n.clarifyTimeoutError?Ab.ETIMEDOUT:Ab.ECONNABORTED,t,u)),u=null},Bb.isStandardBrowserEnv){const e=(t.withCredentials||ew(c))&&t.xsrfCookieName&&Zb.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===n&&o.setContentType(null),"setRequestHeader"in u&&Rv.forEach(o.toJSON(),(function(t,e){u.setRequestHeader(e,t)})),Rv.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),i&&"json"!==i&&(u.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&u.addEventListener("progress",rw(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",rw(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=e=>{u&&(r(!e||e.type?new Xb(null,t,u):e),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const p=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(c);p&&-1===Bb.protocols.indexOf(p)?r(new Ab("Unsupported protocol "+p+":",Ab.ERR_BAD_REQUEST,t)):u.send(n||null)}))};const ow={http:null,xhr:nw};Rv.forEach(ow,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));var iw=t=>{t=Rv.isArray(t)?t:[t];const{length:e}=t;let r,n;for(let o=0;o<e&&(r=t[o],!(n=Rv.isString(r)?ow[r.toLowerCase()]:r));o++);if(!n){if(!1===n)throw new Ab(`Adapter ${r} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(Rv.hasOwnProp(ow,r)?`Adapter '${r}' is not available in the build`:`Unknown adapter '${r}'`)}if(!Rv.isFunction(n))throw new TypeError("adapter is not a function");return n};function aw(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Xb(null,t)}function sw(t){aw(t),t.headers=Kb.from(t.headers),t.data=Jb.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return iw(t.adapter||Wb.adapter)(t).then((function(e){return aw(t),e.data=Jb.call(t,t.transformResponse,e),e.headers=Kb.from(e.headers),e}),(function(e){return Qb(e)||(aw(t),e&&e.response&&(e.response.data=Jb.call(t,t.transformResponse,e.response),e.response.headers=Kb.from(e.response.headers))),Promise.reject(e)}))}const uw=t=>t instanceof Kb?t.toJSON():t;function cw(t,e){e=e||{};const r={};function n(t,e,r){return Rv.isPlainObject(t)&&Rv.isPlainObject(e)?Rv.merge.call({caseless:r},t,e):Rv.isPlainObject(e)?Rv.merge({},e):Rv.isArray(e)?e.slice():e}function o(t,e,r){return Rv.isUndefined(e)?Rv.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!Rv.isUndefined(e))return n(void 0,e)}function a(t,e){return Rv.isUndefined(e)?Rv.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function s(r,o,i){return i in e?n(r,o):i in t?n(void 0,r):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e)=>o(uw(t),uw(e),!0)};return Rv.forEach(Object.keys(Object.assign({},t,e)),(function(n){const i=u[n]||o,a=i(t[n],e[n],n);Rv.isUndefined(a)&&i!==s||(r[n]=a)})),r}const lw="1.4.0",pw={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{pw[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const fw={};pw.transitional=function(t,e,r){function n(t,e){return"[Axios v1.4.0] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,i)=>{if(!1===t)throw new Ab(n(o," has been removed"+(e?" in "+e:"")),Ab.ERR_DEPRECATED);return e&&!fw[o]&&(fw[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};var hw={assertOptions:function(t,e,r){if("object"!=typeof t)throw new Ab("options must be an object",Ab.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;for(;o-- >0;){const i=n[o],a=e[i];if(a){const e=t[i],r=void 0===e||a(e,i,t);if(!0!==r)throw new Ab("option "+i+" must be "+r,Ab.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Ab("Unknown option "+i,Ab.ERR_BAD_OPTION)}},validators:pw};const dw=hw.validators;let yw=class{constructor(t){this.defaults=t,this.interceptors={request:new Lb,response:new Lb}}request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=cw(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;let i;void 0!==r&&hw.assertOptions(r,{silentJSONParsing:dw.transitional(dw.boolean),forcedJSONParsing:dw.transitional(dw.boolean),clarifyTimeoutError:dw.transitional(dw.boolean)},!1),null!=n&&(Rv.isFunction(n)?e.paramsSerializer={serialize:n}:hw.assertOptions(n,{encode:dw.function,serialize:dw.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase(),i=o&&Rv.merge(o.common,o[e.method]),i&&Rv.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=Kb.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)}));let l,p=0;if(!s){const t=[sw.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,u),l=t.length,c=Promise.resolve(e);p<l;)c=c.then(t[p++],t[p++]);return c}l=a.length;let f=e;for(p=0;p<l;){const t=a[p++],e=a[p++];try{f=t(f)}catch(t){e.call(this,t);break}}try{c=sw.call(this,f)}catch(t){return Promise.reject(t)}for(p=0,l=u.length;p<l;)c=c.then(u[p++],u[p++]);return c}getUri(t){return Ub(tw((t=cw(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}};Rv.forEach(["delete","get","head","options"],(function(t){yw.prototype[t]=function(e,r){return this.request(cw(r||{},{method:t,url:e,data:(r||{}).data}))}})),Rv.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(cw(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}yw.prototype[t]=e(),yw.prototype[t+"Form"]=e(!0)}));var mw=yw;class gw{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const r=this;this.promise.then((t=>{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,o){r.reason||(r.reason=new Xb(t,n,o),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new gw((function(e){t=e})),cancel:t}}}var vw=gw;const bw={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(bw).forEach((t=>{let[e,r]=t;bw[r]=e}));var ww=bw;const xw=function t(e){const r=new mw(e),n=Vg(mw.prototype.request,r);return Rv.extend(n,mw.prototype,r,{allOwnKeys:!0}),Rv.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(cw(e,r))},n}(Wb);xw.Axios=mw,xw.CanceledError=Xb,xw.CancelToken=vw,xw.isCancel=Qb,xw.VERSION=lw,xw.toFormData=Tb,xw.AxiosError=Ab,xw.Cancel=xw.CanceledError,xw.all=function(t){return Promise.all(t)},xw.spread=function(t){return function(e){return t.apply(null,e)}},xw.isAxiosError=function(t){return Rv.isObject(t)&&!0===t.isAxiosError},xw.mergeConfig=cw,xw.AxiosHeaders=Kb,xw.formToJSON=t=>Db(Rv.isHTMLForm(t)?new FormData(t):t),xw.HttpStatusCode=ww,xw.default=xw;var Sw=xw,Aw=function(){function t(e){var r=e.responseHandler,n=e.requestConfigBuilder;u(this,t),this.responseHandler=r,this.requestConfigBuilder=n}var e,r,i,a,c,p;return l(t,[{key:"get",value:(p=s(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return p.apply(this,arguments)})},{key:"getData",value:(c=s(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r,{responseType:"arraybuffer"});case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return c.apply(this,arguments)})},{key:"post",value:(a=s(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return a.apply(this,arguments)})},{key:"postData",value:(i=s(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return i.apply(this,arguments)})},{key:"put",value:(r=s(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("put",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},{key:"delete",value:(e=s(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("delete",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,r){return e.apply(this,arguments)})},{key:"sendRequest",value:function(t){return this.responseHandler.handle(Sw(n(n({},t),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]),t}(),Ew=Ro,Rw=rt,Ow=ct,Pw=Km,kw=$([].join);Ew({target:"Array",proto:!0,forced:Rw!==Object||!Pw("join",",")},{join:function(t){return kw(Ow(this),void 0===t?",":t)}});var jw,Tw="undefined"!=typeof Symbol&&Symbol,Iw=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0},_w={foo:{}},Nw=Object,Cw=Array.prototype.slice,Uw=Object.prototype.toString,Lw=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==Uw.call(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var r,n=Cw.call(arguments,1),o=Math.max(0,e.length-n.length),i=[],a=0;a<o;a++)i.push("$"+a);if(r=Function("binder","return function ("+i.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var o=e.apply(this,n.concat(Cw.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(Cw.call(arguments)))})),e.prototype){var s=function(){};s.prototype=e.prototype,r.prototype=new s,s.prototype=null}return r},Fw=Function.prototype.bind||Lw,Bw=Fw.call(Function.call,Object.prototype.hasOwnProperty),Dw=SyntaxError,Mw=Function,qw=TypeError,Ww=function(t){try{return Mw('"use strict"; return ('+t+").constructor;")()}catch(t){}},Gw=Object.getOwnPropertyDescriptor;if(Gw)try{Gw({},"")}catch(t){Gw=null}var zw=function(){throw new qw},Hw=Gw?function(){try{return zw}catch(t){try{return Gw(arguments,"callee").get}catch(t){return zw}}}():zw,Vw="function"==typeof Tw&&"function"==typeof Symbol&&"symbol"==typeof Tw("foo")&&"symbol"==typeof Symbol("bar")&&Iw(),$w={__proto__:_w}.foo===_w.foo&&!({__proto__:null}instanceof Nw),Yw=Object.getPrototypeOf||($w?function(t){return t.__proto__}:null),Kw={},Jw="undefined"!=typeof Uint8Array&&Yw?Yw(Uint8Array):jw,Qw={"%AggregateError%":"undefined"==typeof AggregateError?jw:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?jw:ArrayBuffer,"%ArrayIteratorPrototype%":Vw&&Yw?Yw([][Symbol.iterator]()):jw,"%AsyncFromSyncIteratorPrototype%":jw,"%AsyncFunction%":Kw,"%AsyncGenerator%":Kw,"%AsyncGeneratorFunction%":Kw,"%AsyncIteratorPrototype%":Kw,"%Atomics%":"undefined"==typeof Atomics?jw:Atomics,"%BigInt%":"undefined"==typeof BigInt?jw:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?jw:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?jw:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?jw:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?jw:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?jw:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?jw:FinalizationRegistry,"%Function%":Mw,"%GeneratorFunction%":Kw,"%Int8Array%":"undefined"==typeof Int8Array?jw:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?jw:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?jw:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Vw&&Yw?Yw(Yw([][Symbol.iterator]())):jw,"%JSON%":"object"==typeof JSON?JSON:jw,"%Map%":"undefined"==typeof Map?jw:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Vw&&Yw?Yw((new Map)[Symbol.iterator]()):jw,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?jw:Promise,"%Proxy%":"undefined"==typeof Proxy?jw:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?jw:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?jw:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Vw&&Yw?Yw((new Set)[Symbol.iterator]()):jw,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?jw:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Vw&&Yw?Yw(""[Symbol.iterator]()):jw,"%Symbol%":Vw?Symbol:jw,"%SyntaxError%":Dw,"%ThrowTypeError%":Hw,"%TypedArray%":Jw,"%TypeError%":qw,"%Uint8Array%":"undefined"==typeof Uint8Array?jw:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?jw:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?jw:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?jw:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?jw:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?jw:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?jw:WeakSet};if(Yw)try{null.error}catch(t){var Xw=Yw(Yw(t));Qw["%Error.prototype%"]=Xw}var Zw=function t(e){var r;if("%AsyncFunction%"===e)r=Ww("async function () {}");else if("%GeneratorFunction%"===e)r=Ww("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=Ww("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&Yw&&(r=Yw(o.prototype))}return Qw[e]=r,r},tx={"%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"]},ex=Fw,rx=Bw,nx=ex.call(Function.call,Array.prototype.concat),ox=ex.call(Function.apply,Array.prototype.splice),ix=ex.call(Function.call,String.prototype.replace),ax=ex.call(Function.call,String.prototype.slice),sx=ex.call(Function.call,RegExp.prototype.exec),ux=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,cx=/\\(\\)?/g,lx=function(t,e){var r,n=t;if(rx(tx,n)&&(n="%"+(r=tx[n])[0]+"%"),rx(Qw,n)){var o=Qw[n];if(o===Kw&&(o=Zw(n)),void 0===o&&!e)throw new qw("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Dw("intrinsic "+t+" does not exist!")},px=function(t,e){if("string"!=typeof t||0===t.length)throw new qw("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new qw('"allowMissing" argument must be a boolean');if(null===sx(/^%?[^%]*%?$/,t))throw new Dw("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=ax(t,0,1),r=ax(t,-1);if("%"===e&&"%"!==r)throw new Dw("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new Dw("invalid intrinsic syntax, expected opening `%`");var n=[];return ix(t,ux,(function(t,e,r,o){n[n.length]=r?ix(o,cx,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=lx("%"+n+"%",e),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],ox(r,nx([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c],f=ax(p,0,1),h=ax(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new Dw("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),rx(Qw,i="%"+(n+="."+p)+"%"))a=Qw[i];else if(null!=a){if(!(p in a)){if(!e)throw new qw("base intrinsic for "+t+" exists, but the property is not available.");return}if(Gw&&c+1>=r.length){var d=Gw(a,p);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[p]}else l=rx(a,p),a=a[p];l&&!s&&(Qw[i]=a)}}return a},fx={exports:{}};!function(t){var e=Fw,r=px,n=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||e.call(o,n),a=r("%Object.getOwnPropertyDescriptor%",!0),s=r("%Object.defineProperty%",!0),u=r("%Math.max%");if(s)try{s({},"a",{value:1})}catch(t){s=null}t.exports=function(t){var r=i(e,o,arguments);a&&s&&(a(r,"length").configurable&&s(r,"length",{value:1+u(0,t.length-(arguments.length-1))}));return r};var c=function(){return i(e,n,arguments)};s?s(t.exports,"apply",{value:c}):t.exports.apply=c}(fx);var hx=px,dx=fx.exports,yx=dx(hx("String.prototype.indexOf")),mx=O(Object.freeze({__proto__:null,default:{}})),gx="function"==typeof Map&&Map.prototype,vx=Object.getOwnPropertyDescriptor&&gx?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,bx=gx&&vx&&"function"==typeof vx.get?vx.get:null,wx=gx&&Map.prototype.forEach,xx="function"==typeof Set&&Set.prototype,Sx=Object.getOwnPropertyDescriptor&&xx?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ax=xx&&Sx&&"function"==typeof Sx.get?Sx.get:null,Ex=xx&&Set.prototype.forEach,Rx="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Ox="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Px="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,kx=Boolean.prototype.valueOf,jx=Object.prototype.toString,Tx=Function.prototype.toString,Ix=String.prototype.match,_x=String.prototype.slice,Nx=String.prototype.replace,Cx=String.prototype.toUpperCase,Ux=String.prototype.toLowerCase,Lx=RegExp.prototype.test,Fx=Array.prototype.concat,Bx=Array.prototype.join,Dx=Array.prototype.slice,Mx=Math.floor,qx="function"==typeof BigInt?BigInt.prototype.valueOf:null,Wx=Object.getOwnPropertySymbols,Gx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,zx="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Hx="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===zx||"symbol")?Symbol.toStringTag:null,Vx=Object.prototype.propertyIsEnumerable,$x=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Yx(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||Lx.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-Mx(-t):Mx(t);if(n!==t){var o=String(n),i=_x.call(e,o.length+1);return Nx.call(o,r,"$&_")+"."+Nx.call(Nx.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Nx.call(e,r,"$&_")}var Kx=mx,Jx=Kx.custom,Qx=rS(Jx)?Jx:null;function Xx(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function Zx(t){return Nx.call(String(t),/"/g,"&quot;")}function tS(t){return!("[object Array]"!==iS(t)||Hx&&"object"==typeof t&&Hx in t)}function eS(t){return!("[object RegExp]"!==iS(t)||Hx&&"object"==typeof t&&Hx in t)}function rS(t){if(zx)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!Gx)return!1;try{return Gx.call(t),!0}catch(t){}return!1}var nS=Object.prototype.hasOwnProperty||function(t){return t in this};function oS(t,e){return nS.call(t,e)}function iS(t){return jx.call(t)}function aS(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function sS(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return sS(_x.call(t,0,e.maxStringLength),e)+n}return Xx(Nx.call(Nx.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,uS),"single",e)}function uS(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+Cx.call(e.toString(16))}function cS(t){return"Object("+t+")"}function lS(t){return t+" { ? }"}function pS(t,e,r,n){return t+" ("+e+") {"+(n?fS(r,n):Bx.call(r,", "))+"}"}function fS(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+Bx.call(t,","+r)+"\n"+e.prev}function hS(t,e){var r=tS(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=oS(t,o)?e(t[o],t):""}var i,a="function"==typeof Wx?Wx(t):[];if(zx){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in t)oS(t,u)&&(r&&String(Number(u))===u&&u<t.length||zx&&i["$"+u]instanceof Symbol||(Lx.call(/[^\w$]/,u)?n.push(e(u,t)+": "+e(t[u],t)):n.push(u+": "+e(t[u],t))));if("function"==typeof Wx)for(var c=0;c<a.length;c++)Vx.call(t,a[c])&&n.push("["+e(a[c])+"]: "+e(t[a[c]],t));return n}var dS=px,yS=function(t,e){var r=hx(t,!!e);return"function"==typeof r&&yx(t,".prototype.")>-1?dx(r):r},mS=function t(e,r,n,o){var i=r||{};if(oS(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(oS(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!oS(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(oS(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(oS(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return sS(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var u=String(e);return s?Yx(e,u):u}if("bigint"==typeof e){var c=String(e)+"n";return s?Yx(e,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=l&&l>0&&"object"==typeof e)return tS(e)?"[Array]":"[Object]";var p=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Bx.call(Array(t.indent+1)," ")}return{base:r,prev:Bx.call(Array(e+1),r)}}(i,n);if(void 0===o)o=[];else if(aS(o,e)>=0)return"[Circular]";function f(e,r,a){if(r&&(o=Dx.call(o)).push(r),a){var s={depth:i.depth};return oS(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),t(e,s,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e&&!eS(e)){var h=function(t){if(t.name)return t.name;var e=Ix.call(Tx.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),d=hS(e,f);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+Bx.call(d,", ")+" }":"")}if(rS(e)){var y=zx?Nx.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Gx.call(e);return"object"!=typeof e||zx?y:cS(y)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var m="<"+Ux.call(String(e.nodeName)),g=e.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+Xx(Zx(g[v].value),"double",i);return m+=">",e.childNodes&&e.childNodes.length&&(m+="..."),m+="</"+Ux.call(String(e.nodeName))+">"}if(tS(e)){if(0===e.length)return"[]";var b=hS(e,f);return p&&!function(t){for(var e=0;e<t.length;e++)if(aS(t[e],"\n")>=0)return!1;return!0}(b)?"["+fS(b,p)+"]":"[ "+Bx.call(b,", ")+" ]"}if(function(t){return!("[object Error]"!==iS(t)||Hx&&"object"==typeof t&&Hx in t)}(e)){var w=hS(e,f);return"cause"in Error.prototype||!("cause"in e)||Vx.call(e,"cause")?0===w.length?"["+String(e)+"]":"{ ["+String(e)+"] "+Bx.call(w,", ")+" }":"{ ["+String(e)+"] "+Bx.call(Fx.call("[cause]: "+f(e.cause),w),", ")+" }"}if("object"==typeof e&&a){if(Qx&&"function"==typeof e[Qx]&&Kx)return Kx(e,{depth:l-n});if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!bx||!t||"object"!=typeof t)return!1;try{bx.call(t);try{Ax.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var x=[];return wx&&wx.call(e,(function(t,r){x.push(f(r,e,!0)+" => "+f(t,e))})),pS("Map",bx.call(e),x,p)}if(function(t){if(!Ax||!t||"object"!=typeof t)return!1;try{Ax.call(t);try{bx.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var S=[];return Ex&&Ex.call(e,(function(t){S.push(f(t,e))})),pS("Set",Ax.call(e),S,p)}if(function(t){if(!Rx||!t||"object"!=typeof t)return!1;try{Rx.call(t,Rx);try{Ox.call(t,Ox)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return lS("WeakMap");if(function(t){if(!Ox||!t||"object"!=typeof t)return!1;try{Ox.call(t,Ox);try{Rx.call(t,Rx)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return lS("WeakSet");if(function(t){if(!Px||!t||"object"!=typeof t)return!1;try{return Px.call(t),!0}catch(t){}return!1}(e))return lS("WeakRef");if(function(t){return!("[object Number]"!==iS(t)||Hx&&"object"==typeof t&&Hx in t)}(e))return cS(f(Number(e)));if(function(t){if(!t||"object"!=typeof t||!qx)return!1;try{return qx.call(t),!0}catch(t){}return!1}(e))return cS(f(qx.call(e)));if(function(t){return!("[object Boolean]"!==iS(t)||Hx&&"object"==typeof t&&Hx in t)}(e))return cS(kx.call(e));if(function(t){return!("[object String]"!==iS(t)||Hx&&"object"==typeof t&&Hx in t)}(e))return cS(f(String(e)));if(!function(t){return!("[object Date]"!==iS(t)||Hx&&"object"==typeof t&&Hx in t)}(e)&&!eS(e)){var A=hS(e,f),E=$x?$x(e)===Object.prototype:e instanceof Object||e.constructor===Object,R=e instanceof Object?"":"null prototype",O=!E&&Hx&&Object(e)===e&&Hx in e?_x.call(iS(e),8,-1):R?"Object":"",P=(E||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(O||R?"["+Bx.call(Fx.call([],O||[],R||[]),": ")+"] ":"");return 0===A.length?P+"{}":p?P+"{"+fS(A,p)+"}":P+"{ "+Bx.call(A,", ")+" }"}return String(e)},gS=dS("%TypeError%"),vS=dS("%WeakMap%",!0),bS=dS("%Map%",!0),wS=yS("WeakMap.prototype.get",!0),xS=yS("WeakMap.prototype.set",!0),SS=yS("WeakMap.prototype.has",!0),AS=yS("Map.prototype.get",!0),ES=yS("Map.prototype.set",!0),RS=yS("Map.prototype.has",!0),OS=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r},PS=String.prototype.replace,kS=/%20/g,jS="RFC3986",TS={default:jS,formatters:{RFC1738:function(t){return PS.call(t,kS,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:jS},IS=TS,_S=Object.prototype.hasOwnProperty,NS=Array.isArray,CS=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),US=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},LS={arrayToObject:US,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],c=i[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(e.push({obj:i,prop:u}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(NS(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,n,o){if(0===t.length)return t;var i=t;if("symbol"==typeof t?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",s=0;s<i.length;++s){var u=i.charCodeAt(s);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===IS.RFC1738&&(40===u||41===u)?a+=i.charAt(s):u<128?a+=CS[u]:u<2048?a+=CS[192|u>>6]+CS[128|63&u]:u<55296||u>=57344?a+=CS[224|u>>12]+CS[128|u>>6&63]+CS[128|63&u]:(s+=1,u=65536+((1023&u)<<10|1023&i.charCodeAt(s)),a+=CS[240|u>>18]+CS[128|u>>12&63]+CS[128|u>>6&63]+CS[128|63&u])}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(NS(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r){if(NS(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!_S.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return NS(e)&&!NS(r)&&(o=US(e,n)),NS(e)&&NS(r)?(r.forEach((function(r,o){if(_S.call(e,o)){var i=e[o];i&&"object"==typeof i&&r&&"object"==typeof r?e[o]=t(i,r,n):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var i=r[o];return _S.call(e,o)?e[o]=t(e[o],i,n):e[o]=i,e}),o)}},FS=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new gS("Side channel does not contain "+mS(t))},get:function(n){if(vS&&n&&("object"==typeof n||"function"==typeof n)){if(t)return wS(t,n)}else if(bS){if(e)return AS(e,n)}else if(r)return function(t,e){var r=OS(t,e);return r&&r.value}(r,n)},has:function(n){if(vS&&n&&("object"==typeof n||"function"==typeof n)){if(t)return SS(t,n)}else if(bS){if(e)return RS(e,n)}else if(r)return function(t,e){return!!OS(t,e)}(r,n);return!1},set:function(n,o){vS&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new vS),xS(t,n,o)):bS?(e||(e=new bS),ES(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=OS(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},BS=LS,DS=TS,MS=Object.prototype.hasOwnProperty,qS={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},WS=Array.isArray,GS=Array.prototype.push,zS=function(t,e){GS.apply(t,WS(e)?e:[e])},HS=Date.prototype.toISOString,VS=DS.default,$S={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:BS.encode,encodeValuesOnly:!1,format:VS,formatter:DS.formatters[VS],indices:!1,serializeDate:function(t){return HS.call(t)},skipNulls:!1,strictNullHandling:!1},YS={},KS=function t(e,r,n,o,i,a,s,u,c,l,p,f,h,d,y,m){for(var g,v=e,b=m,w=0,x=!1;void 0!==(b=b.get(YS))&&!x;){var S=b.get(e);if(w+=1,void 0!==S){if(S===w)throw new RangeError("Cyclic object value");x=!0}void 0===b.get(YS)&&(w=0)}if("function"==typeof u?v=u(r,v):v instanceof Date?v=p(v):"comma"===n&&WS(v)&&(v=BS.maybeMap(v,(function(t){return t instanceof Date?p(t):t}))),null===v){if(i)return s&&!d?s(r,$S.encoder,y,"key",f):r;v=""}if("string"==typeof(g=v)||"number"==typeof g||"boolean"==typeof g||"symbol"==typeof g||"bigint"==typeof g||BS.isBuffer(v))return s?[h(d?r:s(r,$S.encoder,y,"key",f))+"="+h(s(v,$S.encoder,y,"value",f))]:[h(r)+"="+h(String(v))];var A,E=[];if(void 0===v)return E;if("comma"===n&&WS(v))d&&s&&(v=BS.maybeMap(v,s)),A=[{value:v.length>0?v.join(",")||null:void 0}];else if(WS(u))A=u;else{var R=Object.keys(v);A=c?R.sort(c):R}for(var O=o&&WS(v)&&1===v.length?r+"[]":r,P=0;P<A.length;++P){var k=A[P],j="object"==typeof k&&void 0!==k.value?k.value:v[k];if(!a||null!==j){var T=WS(v)?"function"==typeof n?n(O,k):O:O+(l?"."+k:"["+k+"]");m.set(e,w);var I=FS();I.set(YS,m),zS(E,t(j,T,n,o,i,a,"comma"===n&&d&&WS(v)?null:s,u,c,l,p,f,h,d,y,I))}}return E},JS=LS,QS=Object.prototype.hasOwnProperty,XS=Array.isArray,ZS={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:JS.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},tA=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},eA=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},rA=function(t,e,r,n){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),s=a?o.slice(0,a.index):o,u=[];if(s){if(!r.plainObjects&&QS.call(Object.prototype,s)&&!r.allowPrototypes)return;u.push(s)}for(var c=0;r.depth>0&&null!==(a=i.exec(o))&&c<r.depth;){if(c+=1,!r.plainObjects&&QS.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+o.slice(a.index)+"]"),function(t,e,r,n){for(var o=n?e:eA(e,r),i=t.length-1;i>=0;--i){var a,s=t[i];if("[]"===s&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(u,10);r.parseArrays||""!==u?!isNaN(c)&&s!==u&&String(c)===u&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o}(u,e,r,n)}},nA=function(t,e){var r,n=t,o=function(t){if(!t)return $S;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||$S.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=DS.default;if(void 0!==t.format){if(!MS.call(DS.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=DS.formatters[r],o=$S.filter;return("function"==typeof t.filter||WS(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:$S.addQueryPrefix,allowDots:void 0===t.allowDots?$S.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:$S.charsetSentinel,delimiter:void 0===t.delimiter?$S.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:$S.encode,encoder:"function"==typeof t.encoder?t.encoder:$S.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:$S.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:$S.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:$S.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:$S.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):WS(o.filter)&&(r=o.filter);var i,a=[];if("object"!=typeof n||null===n)return"";i=e&&e.arrayFormat in qS?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var s=qS[i];if(e&&"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u="comma"===s&&e&&e.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var c=FS(),l=0;l<r.length;++l){var p=r[l];o.skipNulls&&null===n[p]||zS(a,KS(n[p],p,s,u,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,c))}var f=a.join(o.delimiter),h=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),f.length>0?h+f:""},oA=function(t,e){var r=function(t){if(!t)return ZS;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?ZS.charset:t.charset;return{allowDots:void 0===t.allowDots?ZS.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:ZS.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:ZS.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:ZS.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:ZS.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:ZS.comma,decoder:"function"==typeof t.decoder?t.decoder:ZS.decoder,delimiter:"string"==typeof t.delimiter||JS.isRegExp(t.delimiter)?t.delimiter:ZS.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:ZS.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:ZS.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:ZS.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:ZS.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:ZS.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,e){var r,n={__proto__:null},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=o.split(e.delimiter,i),s=-1,u=e.charset;if(e.charsetSentinel)for(r=0;r<a.length;++r)0===a[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[r]?u="utf-8":"utf8=%26%2310003%3B"===a[r]&&(u="iso-8859-1"),s=r,r=a.length);for(r=0;r<a.length;++r)if(r!==s){var c,l,p=a[r],f=p.indexOf("]="),h=-1===f?p.indexOf("="):f+1;-1===h?(c=e.decoder(p,ZS.decoder,u,"key"),l=e.strictNullHandling?null:""):(c=e.decoder(p.slice(0,h),ZS.decoder,u,"key"),l=JS.maybeMap(eA(p.slice(h+1),e),(function(t){return e.decoder(t,ZS.decoder,u,"value")}))),l&&e.interpretNumericEntities&&"iso-8859-1"===u&&(l=tA(l)),p.indexOf("[]=")>-1&&(l=XS(l)?[l]:l),QS.call(n,c)?n[c]=JS.combine(n[c],l):n[c]=l}return n}(t,r):t,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],u=rA(s,n[s],r,"string"==typeof t);o=JS.merge(o,u,r)}return!0===r.allowSparse?o:JS.compact(o)},iA=R({formats:TS,parse:oA,stringify:nA});const aA="function"==typeof btoa,sA="function"==typeof Buffer,uA=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),cA=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),lA=((t=>{let e={};t.forEach(((t,r)=>e[t]=r))})(cA),String.fromCharCode.bind(String)),pA=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_"))),fA=t=>{let e,r,n,o,i="";const a=t.length%3;for(let a=0;a<t.length;){if((r=t.charCodeAt(a++))>255||(n=t.charCodeAt(a++))>255||(o=t.charCodeAt(a++))>255)throw new TypeError("invalid character found");e=r<<16|n<<8|o,i+=cA[e>>18&63]+cA[e>>12&63]+cA[e>>6&63]+cA[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},hA=aA?t=>btoa(t):sA?t=>Buffer.from(t,"binary").toString("base64"):fA,dA=sA?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(lA.apply(null,t.subarray(r,r+4096)));return hA(e.join(""))},yA=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?lA(192|e>>>6)+lA(128|63&e):lA(224|e>>>12&15)+lA(128|e>>>6&63)+lA(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return lA(240|e>>>18&7)+lA(128|e>>>12&63)+lA(128|e>>>6&63)+lA(128|63&e)},mA=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,gA=t=>t.replace(mA,yA),vA=sA?t=>Buffer.from(t,"utf8").toString("base64"):uA?t=>dA(uA.encode(t)):t=>hA(gA(t)),bA=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?pA(vA(t)):vA(t)},wA=bA;var xA,SA=function(){function t(e){if(u(this,t),this.baseUrl=e.baseUrl,this.auth=e.auth,this.headers=this.buildHeaders({basicAuth:e.basicAuth,userAgent:e.userAgent}),"httpsAgent"in e){if("clientCertAuth"in e)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=e.httpsAgent}else"clientCertAuth"in e&&(this.clientCertAuth=e.clientCertAuth);this.proxy=e.proxy,this.requestToken=null,this.socketTimeout=e.socketTimeout}var r,i,a;return l(t,[{key:"build",value:(a=s(o().mark((function t(r,i,a,s){var u,c,l,p;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:u=n(n(n({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(i)},s||{}),e.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth,socketTimeout:this.socketTimeout})),{},{proxy:this.buildProxyConfig(this.proxy)}),t.t0=r,t.next="get"===t.t0?4:"post"===t.t0?16:"put"===t.t0?29:"delete"===t.t0?37:44;break;case 4:if(!((c=this.buildRequestUrl(i,a)).length>4096)){t.next=15;break}return t.t1=n,t.t2=n({},u),t.t3={},t.t4=n(n({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),t.next=12,this.buildData(a);case 12:return t.t5=t.sent,t.t6={method:"post",headers:t.t4,data:t.t5},t.abrupt("return",(0,t.t1)(t.t2,t.t3,t.t6));case 15:return t.abrupt("return",n(n({},u),{},{url:c}));case 16:if(!(a instanceof Gg)){t.next=21;break}return t.next=19,this.buildData(a);case 19:return l=t.sent,t.abrupt("return",n(n({},u),{},{headers:"function"==typeof l.getHeaders?n(n({},this.headers),l.getHeaders()):this.headers,data:l}));case 21:return t.t7=n,t.t8=n({},u),t.t9={},t.next=26,this.buildData(a);case 26:return t.t10=t.sent,t.t11={data:t.t10},t.abrupt("return",(0,t.t7)(t.t8,t.t9,t.t11));case 29:return t.t12=n,t.t13=n({},u),t.t14={},t.next=34,this.buildData(a);case 34:return t.t15=t.sent,t.t16={data:t.t15},t.abrupt("return",(0,t.t12)(t.t13,t.t14,t.t16));case 37:return t.t17=this,t.t18=i,t.next=41,this.buildData(a);case 41:return t.t19=t.sent,p=t.t17.buildRequestUrl.call(t.t17,t.t18,t.t19),t.abrupt("return",n(n({},u),{},{url:p}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return t.stop()}}),t,this)}))),function(t,e,r,n){return a.apply(this,arguments)})},{key:"buildProxyConfig",value:function(t){var e;if(void 0!==t){if(!1===t)return!1;var r=t;return!r.auth||0!==r.auth.username.length&&0!==r.auth.password.length||(r.auth=void 0),r.protocol=null!==(e=r.protocol)&&void 0!==e?e:"http",r}}},{key:"buildRequestUrl",value:function(t,e){return"".concat(this.baseUrl).concat(t,"?").concat(iA.stringify(e))}},{key:"buildData",value:(i=s(o().mark((function t(e){var r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("session"!==this.auth.type){t.next=8;break}return t.next=3,this.getRequestToken();case 3:if(r=t.sent,!(e instanceof Gg)){t.next=7;break}return e.append("__REQUEST_TOKEN__",r),t.abrupt("return",e);case 7:return t.abrupt("return",n({__REQUEST_TOKEN__:r},e));case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return i.apply(this,arguments)})},{key:"buildHeaders",value:function(t){var r=t.basicAuth,o=t.userAgent,i=r?{Authorization:"Basic ".concat(wA("".concat(r.username,":").concat(r.password)))}:{},a=n(n({},e.buildHeaders({userAgent:o})),i);switch(this.auth.type){case"password":return n(n({},a),{},{"X-Cybozu-Authorization":wA("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var s=this.auth.apiToken;return Array.isArray(s)?n(n({},a),{},{"X-Cybozu-API-Token":s.join(",")}):n(n({},a),{},{"X-Cybozu-API-Token":s});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=s(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==this.requestToken){t.next=4;break}return t.next=3,e.getRequestToken();case 3:this.requestToken=t.sent;case 4:return t.abrupt("return",this.requestToken);case 5:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})}]),t}(),AA=function(t){f(r,t);var e=w(r);function r(t){var n;return u(this,r),(n=e.call(this,t)).name="KintoneAbortSearchError",n.message=t,Object.setPrototypeOf(b(n),r.prototype),n}return l(r)}(g(Error)),EA=function(t){f(r,t);var e=w(r);function r(t){var n;u(this,r);var o=r.buildErrorResponseDateWithIndex(t),i=o.data,a=o.bulkRequestIndex;return(n=e.call(this,i.message)).name="KintoneRestAPIError",n.id=i.id,n.code=i.code,n.errors=i.errors,n.status=t.status,n.bulkRequestIndex=a,n.headers=t.headers,n.message="[".concat(t.status,"] [").concat(n.code,"] ").concat(n.message," (").concat(n.id,")"),Error.captureStackTrace&&Error.captureStackTrace(b(n),r),Object.setPrototypeOf(b(n),r.prototype),n}return l(r,null,[{key:"findErrorResponseDataWithIndex",value:function(t){for(var e=0;e<t.length;e++){if(0!==Object.keys(t[e]).length)return{data:t[e],bulkRequestIndex:e}}throw Error("Missing response data in `results`. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.")}},{key:"buildErrorResponseDateWithIndex",value:function(t){return"results"in t.data?r.findErrorResponseDataWithIndex(t.data.results):{data:t.data}}}]),r}(g(Error)),RA=["data"],OA=function(){function t(e){var r=e.enableAbortSearchError;u(this,t),this.enableAbortSearchError=r}return l(t,[{key:"handle",value:function(t){var e=this;return t.then((function(t){return e.handleSuccessResponse(t)}),(function(t){return e.handleErrorResponse(t)}))}},{key:"handleSuccessResponse",value:function(t){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(t.headers["x-cybozu-warning"]))throw new AA(t.headers["x-cybozu-warning"]);return t.data}},{key:"handleErrorResponse",value:function(t){if(!t.response){if(/mac verify failure/.test(t.toString()))throw new Error("invalid clientCertAuth setting");throw t}var e=t.response,r=e.data,o=v(e,RA);if("string"==typeof r)throw new Error("".concat(o.status,": ").concat(o.statusText));throw new EA(n({data:r},o))}}]),t}(),PA=function(){function t(){var r,o,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u(this,t),kA(a),this.baseUrl=e.buildBaseUrl(a.baseUrl).replace(/\/+$/,"");var s=function(t){if("username"in t)return n({type:"password"},t);if("apiToken"in t)return n({type:"apiToken"},t);if("oAuthToken"in t)return n({type:"oAuthToken"},t);try{return e.getDefaultAuth()}catch(t){if(t instanceof $i)throw new Error("session authentication is not supported in ".concat(t.platform," environment."));throw t}}(null!==(r=a.auth)&&void 0!==r?r:{}),c=new SA(n(n({},a),{},{baseUrl:this.baseUrl,auth:s})),l=new OA({enableAbortSearchError:null!==(o=null===(i=a.featureFlags)||void 0===i?void 0:i.enableAbortSearchError)&&void 0!==o&&o}),p=new Aw({responseHandler:l,requestConfigBuilder:c}),f=a.guestSpaceId;this.bulkRequest_=new Hy(p,f),this.record=new Wg(p,this.bulkRequest_,f),this.app=new am(p,f),this.file=new zg(p,f)}return l(t,[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(t){return this.bulkRequest_.send(t)}}],[{key:"version",get:function(){return e.getVersion()}}]),t}(),kA=function(t){jA(t.baseUrl),TA(t.guestSpaceId),IA(t.socketTimeout)},jA=function(t){if(void 0!==t){var e=new URL(t);if("localhost"!==e.hostname&&"https:"!==e.protocol)throw new Error('The protocol of baseUrl must be "https".')}},TA=function(t){if(""===t||null===t)throw new Error("invalid guestSpaceId: got [".concat(t,"]"))},IA=function(t){if(void 0!==t){var e=parseFloat(t.toString());if(isNaN(e)||e<0)throw new Error("Invalid socketTimeout. Must be a positive number.")}};(xA=Xi).readFileFromPath&&(e.readFileFromPath=xA.readFileFromPath),xA.getRequestToken&&(e.getRequestToken=xA.getRequestToken),xA.getDefaultAuth&&(e.getDefaultAuth=xA.getDefaultAuth),xA.buildPlatformDependentConfig&&(e.buildPlatformDependentConfig=xA.buildPlatformDependentConfig),xA.buildHeaders&&(e.buildHeaders=xA.buildHeaders),xA.buildFormDataValue&&(e.buildFormDataValue=xA.buildFormDataValue),xA.buildBaseUrl&&(e.buildBaseUrl=xA.buildBaseUrl),xA.getVersion&&(e.getVersion=xA.getVersion),t.KintoneAbortSearchError=AA,t.KintoneAllRecordsError=Fg,t.KintoneRestAPIClient=PA,t.KintoneRestAPIError=EA}));