@kintone/rest-api-client 5.7.1 → 5.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/package.json +11 -11
- package/esm/tsconfig.build.esm.tsbuildinfo +1 -1
- package/lib/package.json +11 -11
- package/lib/tsconfig.build.tsbuildinfo +1 -1
- package/lib/tsconfig.typecheck.node.tsbuildinfo +1 -1
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/umd/KintoneRestAPIClient.js +1881 -2335
- package/umd/KintoneRestAPIClient.min.js +40 -67
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
*
|
|
137
137
|
*
|
|
138
138
|
* =====
|
|
139
|
-
* axios@1.
|
|
139
|
+
* axios@1.8.4 -- MIT
|
|
140
140
|
* -----
|
|
141
141
|
*
|
|
142
142
|
* # Copyright (c) 2014-present Matt Zabriskie & Collaborators
|
|
@@ -238,12 +238,12 @@
|
|
|
238
238
|
*
|
|
239
239
|
*
|
|
240
240
|
* =====
|
|
241
|
-
*
|
|
241
|
+
* object-inspect@1.13.4 -- MIT
|
|
242
242
|
* -----
|
|
243
243
|
*
|
|
244
244
|
* MIT License
|
|
245
245
|
*
|
|
246
|
-
* Copyright (c)
|
|
246
|
+
* Copyright (c) 2013 James Halliday
|
|
247
247
|
*
|
|
248
248
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
249
249
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -265,12 +265,12 @@
|
|
|
265
265
|
*
|
|
266
266
|
*
|
|
267
267
|
* =====
|
|
268
|
-
*
|
|
268
|
+
* side-channel-list@1.0.0 -- MIT
|
|
269
269
|
* -----
|
|
270
270
|
*
|
|
271
271
|
* MIT License
|
|
272
272
|
*
|
|
273
|
-
* Copyright (c)
|
|
273
|
+
* Copyright (c) 2024 Jordan Harband
|
|
274
274
|
*
|
|
275
275
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
276
276
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -292,38 +292,12 @@
|
|
|
292
292
|
*
|
|
293
293
|
*
|
|
294
294
|
* =====
|
|
295
|
-
*
|
|
296
|
-
* -----
|
|
297
|
-
*
|
|
298
|
-
* Copyright (c) 2013 Raynos.
|
|
299
|
-
*
|
|
300
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
301
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
302
|
-
* in the Software without restriction, including without limitation the rights
|
|
303
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
304
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
305
|
-
* furnished to do so, subject to the following conditions:
|
|
306
|
-
*
|
|
307
|
-
* The above copyright notice and this permission notice shall be included in
|
|
308
|
-
* all copies or substantial portions of the Software.
|
|
309
|
-
*
|
|
310
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
311
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
312
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
313
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
314
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
315
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
316
|
-
* THE SOFTWARE.
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
* =====
|
|
321
|
-
* hasown@2.0.2 -- MIT
|
|
295
|
+
* es-object-atoms@1.0.0 -- MIT
|
|
322
296
|
* -----
|
|
323
297
|
*
|
|
324
298
|
* MIT License
|
|
325
299
|
*
|
|
326
|
-
* Copyright (c) Jordan Harband
|
|
300
|
+
* Copyright (c) 2024 Jordan Harband
|
|
327
301
|
*
|
|
328
302
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
329
303
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -345,12 +319,12 @@
|
|
|
345
319
|
*
|
|
346
320
|
*
|
|
347
321
|
* =====
|
|
348
|
-
*
|
|
322
|
+
* math-intrinsics@1.1.0 -- MIT
|
|
349
323
|
* -----
|
|
350
324
|
*
|
|
351
325
|
* MIT License
|
|
352
326
|
*
|
|
353
|
-
* Copyright (c)
|
|
327
|
+
* Copyright (c) 2024 ECMAScript Shims
|
|
354
328
|
*
|
|
355
329
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
356
330
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -372,12 +346,12 @@
|
|
|
372
346
|
*
|
|
373
347
|
*
|
|
374
348
|
* =====
|
|
375
|
-
*
|
|
349
|
+
* gopd@1.2.0 -- MIT
|
|
376
350
|
* -----
|
|
377
351
|
*
|
|
378
352
|
* MIT License
|
|
379
353
|
*
|
|
380
|
-
* Copyright (c)
|
|
354
|
+
* Copyright (c) 2022 Jordan Harband
|
|
381
355
|
*
|
|
382
356
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
383
357
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -399,7 +373,7 @@
|
|
|
399
373
|
*
|
|
400
374
|
*
|
|
401
375
|
* =====
|
|
402
|
-
* es-
|
|
376
|
+
* es-define-property@1.0.1 -- MIT
|
|
403
377
|
* -----
|
|
404
378
|
*
|
|
405
379
|
* MIT License
|
|
@@ -426,12 +400,12 @@
|
|
|
426
400
|
*
|
|
427
401
|
*
|
|
428
402
|
* =====
|
|
429
|
-
*
|
|
403
|
+
* has-symbols@1.1.0 -- MIT
|
|
430
404
|
* -----
|
|
431
405
|
*
|
|
432
406
|
* MIT License
|
|
433
407
|
*
|
|
434
|
-
* Copyright (c)
|
|
408
|
+
* Copyright (c) 2016 Jordan Harband
|
|
435
409
|
*
|
|
436
410
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
437
411
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -453,12 +427,12 @@
|
|
|
453
427
|
*
|
|
454
428
|
*
|
|
455
429
|
* =====
|
|
456
|
-
*
|
|
430
|
+
* get-proto@1.0.1 -- MIT
|
|
457
431
|
* -----
|
|
458
432
|
*
|
|
459
433
|
* MIT License
|
|
460
434
|
*
|
|
461
|
-
* Copyright (c)
|
|
435
|
+
* Copyright (c) 2025 Jordan Harband
|
|
462
436
|
*
|
|
463
437
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
464
438
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -480,12 +454,10 @@
|
|
|
480
454
|
*
|
|
481
455
|
*
|
|
482
456
|
* =====
|
|
483
|
-
*
|
|
457
|
+
* function-bind@1.1.2 -- MIT
|
|
484
458
|
* -----
|
|
485
459
|
*
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
* Copyright (c) 2024 Jordan Harband
|
|
460
|
+
* Copyright (c) 2013 Raynos.
|
|
489
461
|
*
|
|
490
462
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
491
463
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -494,25 +466,26 @@
|
|
|
494
466
|
* copies of the Software, and to permit persons to whom the Software is
|
|
495
467
|
* furnished to do so, subject to the following conditions:
|
|
496
468
|
*
|
|
497
|
-
* The above copyright notice and this permission notice shall be included in
|
|
498
|
-
* copies or substantial portions of the Software.
|
|
469
|
+
* The above copyright notice and this permission notice shall be included in
|
|
470
|
+
* all copies or substantial portions of the Software.
|
|
499
471
|
*
|
|
500
472
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
501
473
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
502
474
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
503
475
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
504
476
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
505
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
506
|
-
* SOFTWARE.
|
|
477
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
478
|
+
* THE SOFTWARE.
|
|
479
|
+
*
|
|
507
480
|
*
|
|
508
481
|
*
|
|
509
482
|
* =====
|
|
510
|
-
*
|
|
483
|
+
* call-bind-apply-helpers@1.0.1 -- MIT
|
|
511
484
|
* -----
|
|
512
485
|
*
|
|
513
486
|
* MIT License
|
|
514
487
|
*
|
|
515
|
-
* Copyright (c)
|
|
488
|
+
* Copyright (c) 2024 Jordan Harband
|
|
516
489
|
*
|
|
517
490
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
518
491
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -534,12 +507,12 @@
|
|
|
534
507
|
*
|
|
535
508
|
*
|
|
536
509
|
* =====
|
|
537
|
-
*
|
|
510
|
+
* dunder-proto@1.0.1 -- MIT
|
|
538
511
|
* -----
|
|
539
512
|
*
|
|
540
513
|
* MIT License
|
|
541
514
|
*
|
|
542
|
-
* Copyright (c) 2024
|
|
515
|
+
* Copyright (c) 2024 ECMAScript Shims
|
|
543
516
|
*
|
|
544
517
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
545
518
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -561,12 +534,12 @@
|
|
|
561
534
|
*
|
|
562
535
|
*
|
|
563
536
|
* =====
|
|
564
|
-
*
|
|
537
|
+
* hasown@2.0.2 -- MIT
|
|
565
538
|
* -----
|
|
566
539
|
*
|
|
567
540
|
* MIT License
|
|
568
541
|
*
|
|
569
|
-
* Copyright (c)
|
|
542
|
+
* Copyright (c) Jordan Harband and contributors
|
|
570
543
|
*
|
|
571
544
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
572
545
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -588,12 +561,12 @@
|
|
|
588
561
|
*
|
|
589
562
|
*
|
|
590
563
|
* =====
|
|
591
|
-
*
|
|
564
|
+
* get-intrinsic@1.2.7 -- MIT
|
|
592
565
|
* -----
|
|
593
566
|
*
|
|
594
567
|
* MIT License
|
|
595
568
|
*
|
|
596
|
-
* Copyright (c)
|
|
569
|
+
* Copyright (c) 2020 Jordan Harband
|
|
597
570
|
*
|
|
598
571
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
599
572
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -615,12 +588,12 @@
|
|
|
615
588
|
*
|
|
616
589
|
*
|
|
617
590
|
* =====
|
|
618
|
-
*
|
|
591
|
+
* call-bound@1.0.3 -- MIT
|
|
619
592
|
* -----
|
|
620
593
|
*
|
|
621
594
|
* MIT License
|
|
622
595
|
*
|
|
623
|
-
* Copyright (c)
|
|
596
|
+
* Copyright (c) 2024 Jordan Harband
|
|
624
597
|
*
|
|
625
598
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
626
599
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -642,12 +615,12 @@
|
|
|
642
615
|
*
|
|
643
616
|
*
|
|
644
617
|
* =====
|
|
645
|
-
*
|
|
618
|
+
* side-channel-map@1.0.1 -- MIT
|
|
646
619
|
* -----
|
|
647
620
|
*
|
|
648
621
|
* MIT License
|
|
649
622
|
*
|
|
650
|
-
* Copyright (c) Jordan Harband
|
|
623
|
+
* Copyright (c) 2024 Jordan Harband
|
|
651
624
|
*
|
|
652
625
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
653
626
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -669,12 +642,12 @@
|
|
|
669
642
|
*
|
|
670
643
|
*
|
|
671
644
|
* =====
|
|
672
|
-
*
|
|
645
|
+
* side-channel-weakmap@1.0.2 -- MIT
|
|
673
646
|
* -----
|
|
674
647
|
*
|
|
675
648
|
* MIT License
|
|
676
649
|
*
|
|
677
|
-
* Copyright (c)
|
|
650
|
+
* Copyright (c) 2019 Jordan Harband
|
|
678
651
|
*
|
|
679
652
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
680
653
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -696,7 +669,7 @@
|
|
|
696
669
|
*
|
|
697
670
|
*
|
|
698
671
|
* =====
|
|
699
|
-
* side-channel@1.0
|
|
672
|
+
* side-channel@1.1.0 -- MIT
|
|
700
673
|
* -----
|
|
701
674
|
*
|
|
702
675
|
* MIT License
|
|
@@ -723,7 +696,7 @@
|
|
|
723
696
|
*
|
|
724
697
|
*
|
|
725
698
|
* =====
|
|
726
|
-
* qs@6.
|
|
699
|
+
* qs@6.14.0 -- BSD-3-Clause
|
|
727
700
|
* -----
|
|
728
701
|
*
|
|
729
702
|
* BSD 3-Clause License
|
|
@@ -790,4 +763,4 @@
|
|
|
790
763
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
791
764
|
*/
|
|
792
765
|
|
|
793
|
-
!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){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function n(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 o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function s(t){n(a,o,i,s,u,"next",t)}function u(t){n(a,o,i,s,u,"throw",t)}s(void 0)}))}}function i(t,e,r){return e=l(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,f()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r))}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(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,b(n.key),n)}}function u(t,e,r){return e&&s(t.prototype,e),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t,e,r){return(e=b(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(f=function(){return!!t})()}function h(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 d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function y(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],-1===e.indexOf(r)&&{}.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function m(){m=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=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 l(t,e,r,n){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),s=new I(n||[]);return o(a,"_invoke",{value:O(t,r,s)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",g={};function v(){}function b(){}function w(){}var x={};c(x,a,(function(){return this}));var S=Object.getPrototypeOf,A=S&&S(S(_([])));A&&A!==r&&n.call(A,a)&&(x=A);var E=w.prototype=v.prototype=Object.create(x);function P(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function R(t,e){function r(o,i,a,s){var u=p(t[o],t,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=f;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){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===f)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var c=p(e,r,n);if("normal"===c.type){if(o=n.done?y:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,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=p(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[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=w,o(E,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=c(w,u,"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,c(t,u,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},P(R.prototype),c(R.prototype,s,(function(){return this})),e.AsyncIterator=R,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new R(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},P(E),c(E,u,"Generator"),c(E,a,(function(){return this})),c(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 Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function g(t,e){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},g(t,e)}function v(t){return function(t){if(Array.isArray(t))return r(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){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(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 b(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}function w(t){return w="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},w(t)}function x(t){var e="function"==typeof Map?new Map:void 0;return x=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(f())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&g(o,r.prototype),o}(t,arguments,l(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,t)},x(t)}var S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function A(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function E(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},R=P("object"==typeof globalThis&&globalThis)||P("object"==typeof window&&window)||P("object"==typeof self&&self)||P("object"==typeof S&&S)||P("object"==typeof S&&S)||function(){return this}()||Function("return this")(),O={},k=function(t){try{return!!t()}catch(t){return!0}},j=!k((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),T=!k((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),I=T,_=Function.prototype.call,N=I?_.bind(_):function(){return _.apply(_,arguments)},U={},C={}.propertyIsEnumerable,F=Object.getOwnPropertyDescriptor,L=F&&!C.call({1:2},1);U.f=L?function(t){var e=F(this,t);return!!e&&e.enumerable}:C;var B,D,M=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},q=T,W=Function.prototype,G=W.call,z=q&&W.bind.bind(G,G),H=q?z:function(t){return function(){return G.apply(t,arguments)}},$=H,V=$({}.toString),K=$("".slice),Y=function(t){return K(V(t),8,-1)},J=k,Q=Y,X=Object,Z=H("".split),tt=J((function(){return!X("z").propertyIsEnumerable(0)}))?function(t){return"String"===Q(t)?Z(t,""):X(t)}:X,et=function(t){return null==t},rt=et,nt=TypeError,ot=function(t){if(rt(t))throw new nt("Can't call method on "+t);return t},it=tt,at=ot,st=function(t){return it(at(t))},ut="object"==typeof document&&document.all,ct=void 0===ut&&void 0!==ut?function(t){return"function"==typeof t||t===ut}:function(t){return"function"==typeof t},lt=ct,pt=function(t){return"object"==typeof t?null!==t:lt(t)},ft=R,ht=ct,dt=function(t,e){return arguments.length<2?(r=ft[t],ht(r)?r:void 0):ft[t]&&ft[t][e];var r},yt=H({}.isPrototypeOf),mt=R.navigator,gt=mt&&mt.userAgent,vt=gt?String(gt):"",bt=R,wt=vt,xt=bt.process,St=bt.Deno,At=xt&&xt.versions||St&&St.version,Et=At&&At.v8;Et&&(D=(B=Et.split("."))[0]>0&&B[0]<4?1:+(B[0]+B[1])),!D&&wt&&(!(B=wt.match(/Edge\/(\d+)/))||B[1]>=74)&&(B=wt.match(/Chrome\/(\d+)/))&&(D=+B[1]);var Pt=D,Rt=Pt,Ot=k,kt=R.String,jt=!!Object.getOwnPropertySymbols&&!Ot((function(){var t=Symbol("symbol detection");return!kt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Rt&&Rt<41})),Tt=jt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,It=dt,_t=ct,Nt=yt,Ut=Object,Ct=Tt?function(t){return"symbol"==typeof t}:function(t){var e=It("Symbol");return _t(e)&&Nt(e.prototype,Ut(t))},Ft=String,Lt=function(t){try{return Ft(t)}catch(t){return"Object"}},Bt=ct,Dt=Lt,Mt=TypeError,qt=function(t){if(Bt(t))return t;throw new Mt(Dt(t)+" is not a function")},Wt=qt,Gt=et,zt=function(t,e){var r=t[e];return Gt(r)?void 0:Wt(r)},Ht=N,$t=ct,Vt=pt,Kt=TypeError,Yt={exports:{}},Jt=R,Qt=Object.defineProperty,Xt=function(t,e){try{Qt(Jt,t,{value:e,configurable:!0,writable:!0})}catch(r){Jt[t]=e}return e},Zt=R,te=Xt,ee="__core-js_shared__",re=Yt.exports=Zt[ee]||te(ee,{});(re.versions||(re.versions=[])).push({version:"3.40.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ne=Yt.exports,oe=ne,ie=function(t,e){return oe[t]||(oe[t]=e||{})},ae=ot,se=Object,ue=function(t){return se(ae(t))},ce=ue,le=H({}.hasOwnProperty),pe=Object.hasOwn||function(t,e){return le(ce(t),e)},fe=H,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=jt,xe=Tt,Se=R.Symbol,Ae=ge("wks"),Ee=xe?Se.for||Se:Se&&Se.withoutSetter||be,Pe=function(t){return ve(Ae,t)||(Ae[t]=we&&ve(Se,t)?Se[t]:Ee("Symbol."+t)),Ae[t]},Re=N,Oe=pt,ke=Ct,je=zt,Te=function(t,e){var r,n;if("string"===e&&$t(r=t.toString)&&!Vt(n=Ht(r,t)))return n;if($t(r=t.valueOf)&&!Vt(n=Ht(r,t)))return n;if("string"!==e&&$t(r=t.toString)&&!Vt(n=Ht(r,t)))return n;throw new Kt("Can't convert object to primitive value")},Ie=TypeError,_e=Pe("toPrimitive"),Ne=function(t,e){if(!Oe(t)||ke(t))return t;var r,n=je(t,_e);if(n){if(void 0===e&&(e="default"),r=Re(n,t,e),!Oe(r)||ke(r))return r;throw new Ie("Can't convert object to primitive value")}return void 0===e&&(e="number"),Te(t,e)},Ue=Ne,Ce=Ct,Fe=function(t){var e=Ue(t,"string");return Ce(e)?e:e+""},Le=pt,Be=R.document,De=Le(Be)&&Le(Be.createElement),Me=function(t){return De?Be.createElement(t):{}},qe=Me,We=!j&&!k((function(){return 7!==Object.defineProperty(qe("div"),"a",{get:function(){return 7}}).a})),Ge=j,ze=N,He=U,$e=M,Ve=st,Ke=Fe,Ye=pe,Je=We,Qe=Object.getOwnPropertyDescriptor;O.f=Ge?Qe:function(t,e){if(t=Ve(t),e=Ke(e),Je)try{return Qe(t,e)}catch(t){}if(Ye(t,e))return $e(!ze(He.f,t,e),t[e])};var Xe={},Ze=j&&k((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),tr=pt,er=String,rr=TypeError,nr=function(t){if(tr(t))return t;throw new rr(er(t)+" is not an object")},or=j,ir=We,ar=Ze,sr=nr,ur=Fe,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 new cr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var yr=Xe,mr=M,gr=j?function(t,e,r){return yr.f(t,e,mr(1,r))}:function(t,e,r){return t[e]=r,t},vr={exports:{}},br=j,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)},Pr=ct,Rr=ne,Or=H(Function.toString);Pr(Rr.inspectSource)||(Rr.inspectSource=function(t){return Or(t)});var kr,jr,Tr,Ir=Rr.inspectSource,_r=ct,Nr=R.WeakMap,Ur=_r(Nr)&&/native code/.test(String(Nr)),Cr=me,Fr=ie("keys"),Lr=function(t){return Fr[t]||(Fr[t]=Cr(t))},Br={},Dr=Ur,Mr=R,qr=pt,Wr=gr,Gr=pe,zr=ne,Hr=Lr,$r=Br,Vr="Object already initialized",Kr=Mr.TypeError,Yr=Mr.WeakMap;if(Dr||zr.state){var Jr=zr.state||(zr.state=new Yr);Jr.get=Jr.get,Jr.has=Jr.has,Jr.set=Jr.set,kr=function(t,e){if(Jr.has(t))throw new Kr(Vr);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");$r[Qr]=!0,kr=function(t,e){if(Gr(t,Qr))throw new Kr(Vr);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 new Kr("Incompatible receiver, "+t+" required");return r}}},Zr=H,tn=k,en=ct,rn=pe,nn=j,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,vn=vr.exports,bn=ct,wn=Xe,xn=vn,Sn=Xt,An=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:Sn(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={},Pn=Math.ceil,Rn=Math.floor,On=Math.trunc||function(t){var e=+t;return(e>0?Rn:Pn)(e)},kn=function(t){var e=+t;return e!=e||0===e?0:On(e)},jn=kn,Tn=Math.max,In=Math.min,_n=function(t,e){var r=jn(t);return r<0?Tn(r+e,0):In(r,e)},Nn=kn,Un=Math.min,Cn=function(t){var e=Nn(t);return e>0?Un(e,9007199254740991):0},Fn=Cn,Ln=function(t){return Fn(t.length)},Bn=st,Dn=_n,Mn=Ln,qn={indexOf:(gn=!1,function(t,e,r){var n=Bn(t),o=Mn(n);if(0===o)return!gn&&-1;var i,a=Dn(r,o);if(gn&&e!=e){for(;o>a;)if((i=n[a++])!=i)return!0}else for(;o>a;a++)if((gn||a in n)&&n[a]===e)return gn||a||0;return!gn&&-1})},Wn=pe,Gn=st,zn=qn.indexOf,Hn=Br,$n=H([].push),Vn=function(t,e){var r,n=Gn(t),o=0,i=[];for(r in n)!Wn(Hn,r)&&Wn(n,r)&&$n(i,r);for(;e.length>o;)Wn(n,r=e[o++])&&(~zn(i,r)||$n(i,r));return i},Kn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Yn=Vn,Jn=Kn.concat("length","prototype");En.f=Object.getOwnPropertyNames||function(t){return Yn(t,Jn)};var Qn={};Qn.f=Object.getOwnPropertySymbols;var Xn=dt,Zn=En,to=Qn,eo=nr,ro=H([].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=O,so=Xe,uo=k,co=ct,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=R,bo=O.f,wo=gr,xo=An,So=Xt,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,Po=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]&&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)}},Ro=Y,Oo=Array.isArray||function(t){return"Array"===Ro(t)},ko=TypeError,jo=j,To=Xe,Io=M,_o=function(t,e,r){jo?To.f(t,e,Io(0,r)):t[e]=r},No={};No[Pe("toStringTag")]="z";var Uo="[object z]"===String(No),Co=Uo,Fo=ct,Lo=Y,Bo=Pe("toStringTag"),Do=Object,Mo="Arguments"===Lo(function(){return arguments}()),qo=Co?Lo: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?Lo(e):"Object"===(n=Lo(e))&&Fo(e.callee)?"Arguments":n},Wo=H,Go=k,zo=ct,Ho=qo,$o=Ir,Vo=function(){},Ko=dt("Reflect","construct"),Yo=/^\s*(?:class|function)\b/,Jo=Wo(Yo.exec),Qo=!Yo.test(Vo),Xo=function(t){if(!zo(t))return!1;try{return Ko(Vo,[],t),!0}catch(t){return!1}},Zo=function(t){if(!zo(t))return!1;switch(Ho(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Qo||!!Jo(Yo,$o(t))}catch(t){return!0}};Zo.sham=!0;var ti=!Ko||Go((function(){var t;return Xo(Xo.call)||!Xo(Object)||!Xo((function(){t=!0}))||t}))?Zo:Xo,ei=Oo,ri=ti,ni=pt,oi=Pe("species"),ii=Array,ai=function(t){var e;return ei(t)&&(e=t.constructor,(ri(e)&&(e===ii||ei(e.prototype))||ni(e)&&null===(e=e[oi]))&&(e=void 0)),void 0===e?ii:e},si=function(t,e){return new(ai(t))(0===e?0:e)},ui=k,ci=Pt,li=Pe("species"),pi=function(t){return ci>=51||!ui((function(){var e=[];return(e.constructor={})[li]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},fi=Po,hi=k,di=Oo,yi=pt,mi=ue,gi=Ln,vi=function(t){if(t>9007199254740991)throw ko("Maximum allowed index exceeded");return t},bi=_o,wi=si,xi=pi,Si=Pt,Ai=Pe("isConcatSpreadable"),Ei=Si>=51||!hi((function(){var t=[];return t[Ai]=!1,t.concat()[0]!==t})),Pi=function(t){if(!yi(t))return!1;var e=t[Ai];return void 0!==e?!!e:di(t)};fi({target:"Array",proto:!0,arity:1,forced:!Ei||!xi("concat")},{concat:function(t){var e,r,n,o,i,a=mi(this),s=wi(a,0),u=0;for(e=-1,n=arguments.length;e<n;e++)if(Pi(i=-1===e?a:arguments[e]))for(o=gi(i),vi(u+o),r=0;r<o;r++,u++)r in i&&bi(s,u,i[r]);else vi(u+1),bi(s,u++,i);return s.length=u,s}});var Ri=vn,Oi=Xe,ki=function(t,e,r){return r.get&&Ri(r.get,e,{getter:!0}),r.set&&Ri(r.set,e,{setter:!0}),Oi.f(t,e,r)},ji=j,Ti=Er.EXISTS,Ii=H,_i=ki,Ni=Function.prototype,Ui=Ii(Ni.toString),Ci=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Fi=Ii(Ci.exec);ji&&!Ti&&_i(Ni,"name",{configurable:!0,get:function(){try{return Fi(Ci,Ui(this))[1]}catch(t){return""}}});var Li=H,Bi=qt,Di=pt,Mi=function(t){return Di(t)||null===t},qi=String,Wi=TypeError,Gi=function(t,e,r){try{return Li(Bi(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},zi=pt,Hi=ot,$i=function(t){if(Mi(t))return t;throw new 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 Hi(r),$i(n),zi(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0);Po({target:"Object",stat:!0},{setPrototypeOf:Vi});var Ki=function(t){function e(t){var r;return a(this,e),r=i(this,e,["This function is not supported in ".concat(t," environment")]),Error.captureStackTrace&&Error.captureStackTrace(r,e),r.name="UnsupportedPlatformError",r.platform=t,Object.setPrototypeOf(r,e.prototype),r}return p(e,t),u(e)}(x(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 Ji=A(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"]})),Qi="5.7.1",Xi=function(){var t=o(m().mark((function t(){var e;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":w(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":w(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=Ji.getType(e)||void 0),new Blob([t],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Xi,getVersion:function(){return Qi},readFileFromPath:function(t){throw new Ki("Browser")}}),ta={},ea=Vn,ra=Kn,na=Object.keys||function(t){return ea(t,ra)},oa=j,ia=Ze,aa=Xe,sa=nr,ua=st,ca=na;ta.f=oa&&!ia?Object.defineProperties:function(t,e){sa(t);for(var r,n=ua(e),o=ca(e),i=o.length,a=0;i>a;)aa.f(t,r=o[a++],n[r]);return t};var la,pa=dt("document","documentElement"),fa=nr,ha=ta,da=Kn,ya=Br,ma=pa,ga=Me,va="prototype",ba="script",wa=Lr("IE_PROTO"),xa=function(){},Sa=function(t){return"<"+ba+">"+t+"</"+ba+">"},Aa=function(t){t.write(Sa("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ea=function(){try{la=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Ea="undefined"!=typeof document?document.domain&&la?Aa(la):(e=ga("iframe"),r="java"+ba+":",e.style.display="none",ma.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Sa("document.F=Object")),t.close(),t.F):Aa(la);for(var n=da.length;n--;)delete Ea[va][da[n]];return Ea()};ya[wa]=!0;var Pa=Object.create||function(t,e){var r;return null!==t?(xa[va]=fa(t),r=new xa,xa[va]=null,r[wa]=t):r=Ea(),void 0===e?r:ha.f(r,e)},Ra=Pe,Oa=Pa,ka=Xe.f,ja=Ra("unscopables"),Ta=Array.prototype;void 0===Ta[ja]&&ka(Ta,ja,{configurable:!0,value:Oa(null)});var Ia,_a,Na,Ua={},Ca=!k((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Fa=pe,La=ct,Ba=ue,Da=Ca,Ma=Lr("IE_PROTO"),qa=Object,Wa=qa.prototype,Ga=Da?qa.getPrototypeOf:function(t){var e=Ba(t);if(Fa(e,Ma))return e[Ma];var r=e.constructor;return La(r)&&e instanceof r?r.prototype:e instanceof qa?Wa:null},za=k,Ha=ct,$a=pt,Va=Ga,Ka=An,Ya=Pe("iterator"),Ja=!1;[].keys&&("next"in(Na=[].keys())?(_a=Va(Va(Na)))!==Object.prototype&&(Ia=_a):Ja=!0);var Qa=!$a(Ia)||za((function(){var t={};return Ia[Ya].call(t)!==t}));Qa&&(Ia={}),Ha(Ia[Ya])||Ka(Ia,Ya,(function(){return this}));var Xa={IteratorPrototype:Ia,BUGGY_SAFARI_ITERATORS:Ja},Za=Xe.f,ts=pe,es=Pe("toStringTag"),rs=function(t,e,r){t&&!r&&(t=t.prototype),t&&!ts(t,es)&&Za(t,es,{configurable:!0,value:e})},ns=Xa.IteratorPrototype,os=Pa,is=M,as=rs,ss=Ua,us=function(){return this},cs=function(t,e,r,n){var o=e+" Iterator";return t.prototype=os(ns,{next:is(+!n,r)}),as(t,o,!1),ss[o]=us,t},ls=Po,ps=N,fs=ct,hs=cs,ds=Ga,ys=Vi,ms=rs,gs=gr,vs=An,bs=Ua,ws=Er.PROPER,xs=Er.CONFIGURABLE,Ss=Xa.IteratorPrototype,As=Xa.BUGGY_SAFARI_ITERATORS,Es=Pe("iterator"),Ps="keys",Rs="values",Os="entries",ks=function(){return this},js=function(t,e,r,n,o,i,a){hs(r,e,n);var s,u,c,l=function(t){if(t===o&&y)return y;if(!As&&t&&t in h)return h[t];switch(t){case Ps:case Rs:case Os:return function(){return new r(this,t)}}return function(){return new r(this)}},p=e+" Iterator",f=!1,h=t.prototype,d=h[Es]||h["@@iterator"]||o&&h[o],y=!As&&d||l(o),m="Array"===e&&h.entries||d;if(m&&(s=ds(m.call(new t)))!==Object.prototype&&s.next&&(ds(s)!==Ss&&(ys?ys(s,Ss):fs(s[Es])||vs(s,Es,ks)),ms(s,p,!0)),ws&&o===Rs&&d&&d.name!==Rs&&(xs?gs(h,"name",Rs):(f=!0,y=function(){return ps(d,this)})),o)if(u={values:l(Rs),keys:i?y:l(Ps),entries:l(Os)},a)for(c in u)(As||f||!(c in h))&&vs(h,c,u[c]);else ls({target:e,proto:!0,forced:As||f},u);return h[Es]!==y&&vs(h,Es,y,{name:o}),bs[e]=y,u},Ts=function(t,e){return{value:t,done:e}},Is=st,_s=function(t){Ta[ja][t]=!0},Ns=Ua,Us=Xr,Cs=Xe.f,Fs=js,Ls=Ts,Bs=j,Ds="Array Iterator",Ms=Us.set,qs=Us.getterFor(Ds),Ws=Fs(Array,"Array",(function(t,e){Ms(this,{type:Ds,target:Is(t),index:0,kind:e})}),(function(){var t=qs(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Ls(void 0,!0);switch(t.kind){case"keys":return Ls(r,!1);case"values":return Ls(e[r],!1)}return Ls([r,e[r]],!1)}),"values"),Gs=Ns.Arguments=Ns.Array;if(_s("keys"),_s("values"),_s("entries"),Bs&&"values"!==Gs.name)try{Cs(Gs,"name",{value:"values"})}catch(t){}var zs=H,Hs=An,$s=Date.prototype,Vs="Invalid Date",Ks="toString",Ys=zs($s[Ks]),Js=zs($s.getTime);String(new Date(NaN))!==Vs&&Hs($s,Ks,(function(){var t=Js(this);return t==t?Ys(this):Vs}));var Qs=qo,Xs=Uo?{}.toString:function(){return"[object "+Qs(this)+"]"};Uo||An(Object.prototype,"toString",Xs,{unsafe:!0});var Zs,tu=qo,eu=String,ru=function(t){if("Symbol"===tu(t))throw new TypeError("Cannot convert a Symbol value to a string");return eu(t)},nu="\t\n\v\f\r \u2028\u2029\ufeff",ou=ot,iu=ru,au=nu,su=H("".replace),uu=RegExp("^["+au+"]+"),cu=RegExp("(^|[^"+au+"])["+au+"]+$"),lu={trim:(Zs=3,function(t){var e=iu(ou(t));return 1&Zs&&(e=su(e,uu,"")),2&Zs&&(e=su(e,cu,"$1")),e})},pu=R,fu=k,hu=ru,du=lu.trim,yu=nu,mu=H("".charAt),gu=pu.parseFloat,vu=pu.Symbol,bu=vu&&vu.iterator,wu=1/gu(yu+"-0")!=-1/0||bu&&!fu((function(){gu(Object(bu))}))?function(t){var e=du(hu(t)),r=gu(e);return 0===r&&"-"===mu(e,0)?-0:r}:gu;Po({global:!0,forced:parseFloat!==wu},{parseFloat:wu});var xu=nr,Su=function(){var t=xu(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},Au=k,Eu=R.RegExp,Pu=Au((function(){var t=Eu("a","y");return t.lastIndex=2,null!==t.exec("abcd")}));Pu||Au((function(){return!Eu("a","y").sticky}));var Ru,Ou,ku={BROKEN_CARET:Pu||Au((function(){var t=Eu("^r","gy");return t.lastIndex=2,null!==t.exec("str")}))},ju=k,Tu=R.RegExp,Iu=ju((function(){var t=Tu(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),_u=k,Nu=R.RegExp,Uu=_u((function(){var t=Nu("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Cu=N,Fu=H,Lu=ru,Bu=Su,Du=ku,Mu=Pa,qu=Xr.get,Wu=Iu,Gu=Uu,zu=ie("native-string-replace",String.prototype.replace),Hu=RegExp.prototype.exec,$u=Hu,Vu=Fu("".charAt),Ku=Fu("".indexOf),Yu=Fu("".replace),Ju=Fu("".slice),Qu=(Ou=/b*/g,Cu(Hu,Ru=/a/,"a"),Cu(Hu,Ou,"a"),0!==Ru.lastIndex||0!==Ou.lastIndex),Xu=Du.BROKEN_CARET,Zu=void 0!==/()??/.exec("")[1];(Qu||Zu||Xu||Wu||Gu)&&($u=function(t){var e,r,n,o,i,a,s,u=this,c=qu(u),l=Lu(t),p=c.raw;if(p)return p.lastIndex=u.lastIndex,e=Cu($u,p,l),u.lastIndex=p.lastIndex,e;var f=c.groups,h=Xu&&u.sticky,d=Cu(Bu,u),y=u.source,m=0,g=l;if(h&&(d=Yu(d,"y",""),-1===Ku(d,"g")&&(d+="g"),g=Ju(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==Vu(l,u.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),Zu&&(r=new RegExp("^"+y+"$(?!\\s)",d)),Qu&&(n=u.lastIndex),o=Cu(Hu,h?r:u,g),h?o?(o.input=Ju(o.input,m),o[0]=Ju(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Qu&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),Zu&&o&&o.length>1&&Cu(zu,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=Mu(null),i=0;i<f.length;i++)a[(s=f[i])[0]]=o[s[1]];return o});var tc=$u;Po({target:"RegExp",proto:!0,forced:/./.exec!==tc},{exec:tc});var ec=N,rc=pe,nc=yt,oc=Su,ic=RegExp.prototype,ac=Er.PROPER,sc=An,uc=nr,cc=ru,lc=k,pc=function(t){var e=t.flags;return void 0!==e||"flags"in ic||rc(t,"flags")||!nc(ic,t)?e:ec(oc,t)},fc="toString",hc=RegExp.prototype,dc=hc[fc],yc=lc((function(){return"/a/b"!==dc.call({source:"a",flags:"b"})})),mc=ac&&dc.name!==fc;(yc||mc)&&sc(hc,fc,(function(){var t=uc(this);return"/"+cc(t.source)+"/"+cc(pc(t))}),{unsafe:!0});var gc=H,vc=kn,bc=ru,wc=ot,xc=gc("".charAt),Sc=gc("".charCodeAt),Ac=gc("".slice),Ec=function(t){return function(e,r){var n,o,i=bc(wc(e)),a=vc(r),s=i.length;return a<0||a>=s?t?"":void 0:(n=Sc(i,a))<55296||n>56319||a+1===s||(o=Sc(i,a+1))<56320||o>57343?t?xc(i,a):n:t?Ac(i,a,a+2):o-56320+(n-55296<<10)+65536}},Pc={codeAt:Ec(!1),charAt:Ec(!0)},Rc=Pc.charAt,Oc=ru,kc=Xr,jc=js,Tc=Ts,Ic="String Iterator",_c=kc.set,Nc=kc.getterFor(Ic);jc(String,"String",(function(t){_c(this,{type:Ic,string:Oc(t),index:0})}),(function(){var t,e=Nc(this),r=e.string,n=e.index;return n>=r.length?Tc(void 0,!0):(t=Rc(r,n),e.index+=t.length,Tc(t,!1))}));var Uc=T,Cc=Function.prototype,Fc=Cc.apply,Lc=Cc.call,Bc="object"==typeof Reflect&&Reflect.apply||(Uc?Lc.bind(Fc):function(){return Lc.apply(Fc,arguments)}),Dc=N,Mc=An,qc=tc,Wc=k,Gc=Pe,zc=gr,Hc=Gc("species"),$c=RegExp.prototype,Vc=function(t,e,r,n){var o=Gc(t),i=!Wc((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),a=i&&!Wc((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Hc]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var s=/./[o],u=e(o,""[t],(function(t,e,r,n,o){var a=e.exec;return a===qc||a===$c.exec?i&&!o?{done:!0,value:Dc(s,e,r,n)}:{done:!0,value:Dc(t,r,e,n)}:{done:!1}}));Mc(String.prototype,t,u[0]),Mc($c,o,u[1])}n&&zc($c[o],"sham",!0)},Kc=Pc.charAt,Yc=function(t,e,r){return e+(r?Kc(t,e).length:1)},Jc=H,Qc=ue,Xc=Math.floor,Zc=Jc("".charAt),tl=Jc("".replace),el=Jc("".slice),rl=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,nl=/\$([$&'`]|\d{1,2})/g,ol=N,il=nr,al=ct,sl=Y,ul=tc,cl=TypeError,ll=function(t,e){var r=t.exec;if(al(r)){var n=ol(r,t,e);return null!==n&&il(n),n}if("RegExp"===sl(t))return ol(ul,t,e);throw new cl("RegExp#exec called on incompatible receiver")},pl=Bc,fl=N,hl=H,dl=Vc,yl=k,ml=nr,gl=ct,vl=et,bl=kn,wl=Cn,xl=ru,Sl=ot,Al=Yc,El=zt,Pl=function(t,e,r,n,o,i){var a=r+t.length,s=n.length,u=nl;return void 0!==o&&(o=Qc(o),u=rl),tl(i,u,(function(i,u){var c;switch(Zc(u,0)){case"$":return"$";case"&":return t;case"`":return el(e,0,r);case"'":return el(e,a);case"<":c=o[el(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var p=Xc(l/10);return 0===p?i:p<=s?void 0===n[p-1]?Zc(u,1):n[p-1]+Zc(u,1):i}c=n[l-1]}return void 0===c?"":c}))},Rl=ll,Ol=Pe("replace"),kl=Math.max,jl=Math.min,Tl=hl([].concat),Il=hl([].push),_l=hl("".indexOf),Nl=hl("".slice),Ul="$0"==="a".replace(/./,"$0"),Cl=!!/./[Ol]&&""===/./[Ol]("a","$0");dl("replace",(function(t,e,r){var n=Cl?"$":"$0";return[function(t,r){var n=Sl(this),o=vl(t)?void 0:El(t,Ol);return o?fl(o,t,n,r):fl(e,xl(n),t,r)},function(t,o){var i=ml(this),a=xl(t);if("string"==typeof o&&-1===_l(o,n)&&-1===_l(o,"$<")){var s=r(e,i,a,o);if(s.done)return s.value}var u=gl(o);u||(o=xl(o));var c,l=i.global;l&&(c=i.unicode,i.lastIndex=0);for(var p,f=[];null!==(p=Rl(i,a))&&(Il(f,p),l);){""===xl(p[0])&&(i.lastIndex=Al(a,wl(i.lastIndex),c))}for(var h,d="",y=0,m=0;m<f.length;m++){for(var g,v=xl((p=f[m])[0]),b=kl(jl(bl(p.index),a.length),0),w=[],x=1;x<p.length;x++)Il(w,void 0===(h=p[x])?h:String(h));var S=p.groups;if(u){var A=Tl([v],w,b,a);void 0!==S&&Il(A,S),g=xl(pl(o,void 0,A))}else g=Pl(v,a,b,w,S,o);b>=y&&(d+=Nl(a,y,b)+g,y=b+v.length)}return d+Nl(a,y)}]}),!!yl((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Ul||Cl);var Fl={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},Ll=Me("span").classList,Bl=Ll&&Ll.constructor&&Ll.constructor.prototype,Dl=Bl===Object.prototype?void 0:Bl,Ml=R,ql=Fl,Wl=Dl,Gl=Ws,zl=gr,Hl=rs,$l=Pe("iterator"),Vl=Gl.values,Kl=function(t,e){if(t){if(t[$l]!==Vl)try{zl(t,$l,Vl)}catch(e){t[$l]=Vl}if(Hl(t,e,!0),ql[e])for(var r in Gl)if(t[r]!==Gl[r])try{zl(t,r,Gl[r])}catch(e){t[r]=Gl[r]}}};for(var Yl in ql)Kl(Ml[Yl]&&Ml[Yl].prototype,Yl);Kl(Wl,"DOMTokenList");var Jl=k,Ql=j,Xl=Pe("iterator"),Zl=!Jl((function(){var t=new URL("b?a=1&b=2&c=3","https://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&&!Ql||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Xl]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host})),tp=Y,ep=H,rp=function(t){if("Function"===tp(t))return ep(t)},np=qt,op=T,ip=rp(rp.bind),ap=function(t,e){return np(t),void 0===e?t:op?ip(t,e):function(){return t.apply(e,arguments)}},sp=yt,up=TypeError,cp=function(t,e){if(sp(e,t))return t;throw new up("Incorrect invocation")},lp=j,pp=H,fp=N,hp=k,dp=na,yp=Qn,mp=U,gp=ue,vp=tt,bp=Object.assign,wp=Object.defineProperty,xp=pp([].concat),Sp=!bp||hp((function(){if(lp&&1!==bp({b:1},bp(wp({},"a",{enumerable:!0,get:function(){wp(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!==bp({},t)[r]||dp(bp({},e)).join("")!==n}))?function(t,e){for(var r=gp(t),n=arguments.length,o=1,i=yp.f,a=mp.f;n>o;)for(var s,u=vp(arguments[o++]),c=i?xp(dp(u),i(u)):dp(u),l=c.length,p=0;l>p;)s=c[p++],lp&&!fp(a,u,s)||(r[s]=u[s]);return r}:bp,Ap=N,Ep=nr,Pp=zt,Rp=nr,Op=function(t,e,r){var n,o;Ep(t);try{if(!(n=Pp(t,"return"))){if("throw"===e)throw r;return r}n=Ap(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return Ep(n),r},kp=Ua,jp=Pe("iterator"),Tp=Array.prototype,Ip=qo,_p=zt,Np=et,Up=Ua,Cp=Pe("iterator"),Fp=function(t){if(!Np(t))return _p(t,Cp)||_p(t,"@@iterator")||Up[Ip(t)]},Lp=N,Bp=qt,Dp=nr,Mp=Lt,qp=Fp,Wp=TypeError,Gp=function(t,e){var r=arguments.length<2?qp(t):e;if(Bp(r))return Dp(Lp(r,t));throw new Wp(Mp(t)+" is not iterable")},zp=ap,Hp=N,$p=ue,Vp=function(t,e,r,n){try{return n?e(Rp(r)[0],r[1]):e(r)}catch(e){Op(t,"throw",e)}},Kp=function(t){return void 0!==t&&(kp.Array===t||Tp[jp]===t)},Yp=ti,Jp=Ln,Qp=_o,Xp=Gp,Zp=Fp,tf=Array,ef=H([].slice),rf=H,nf=2147483647,of=/[^\0-\u007E]/,af=/[.\u3002\uFF0E\uFF61]/g,sf="Overflow: input needs wider integers to process",uf=RangeError,cf=rf(af.exec),lf=Math.floor,pf=String.fromCharCode,ff=rf("".charCodeAt),hf=rf([].join),df=rf([].push),yf=rf("".replace),mf=rf("".split),gf=rf("".toLowerCase),vf=function(t){return t+22+75*(t<26)},bf=function(t,e,r){var n=0;for(t=r?lf(t/700):t>>1,t+=lf(t/e);t>455;)t=lf(t/35),n+=36;return lf(n+36*t/(t+38))},wf=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=ff(t,r++);if(o>=55296&&o<=56319&&r<n){var i=ff(t,r++);56320==(64512&i)?df(e,((1023&o)<<10)+(1023&i)+65536):(df(e,o),r--)}else df(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&&df(e,pf(n));var u=e.length,c=u;for(u&&df(e,"-");c<o;){var l=nf;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<l&&(l=n);var p=c+1;if(l-i>lf((nf-a)/p))throw new uf(sf);for(a+=(l-i)*p,i=l,r=0;r<t.length;r++){if((n=t[r])<i&&++a>nf)throw new uf(sf);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;df(e,pf(vf(d+y%m))),f=lf(y/m),h+=36}df(e,pf(vf(f))),s=bf(a,p,c===u),a=0,c++}}a++,i++}return hf(e,"")},xf=TypeError,Sf=function(t,e){if(t<e)throw new xf("Not enough arguments");return t},Af=Po,Ef=H,Pf=_n,Rf=RangeError,Of=String.fromCharCode,kf=String.fromCodePoint,jf=Ef([].join);Af({target:"String",stat:!0,arity:1,forced:!!kf&&1!==kf.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,o=0;n>o;){if(e=+arguments[o++],Pf(e,1114111)!==e)throw new Rf(e+" is not a valid code point");r[o]=e<65536?Of(e):Of(55296+((e-=65536)>>10),e%1024+56320)}return jf(r,"")}});var Tf=R,If=j,_f=Object.getOwnPropertyDescriptor,Nf=An,Uf=ef,Cf=Math.floor,Ff=function(t,e){var r=t.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=t[i];o&&e(t[o-1],n)>0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var a=Cf(r/2),s=Ff(Uf(t,0,a),e),u=Ff(Uf(t,a),e),c=s.length,l=u.length,p=0,f=0;p<c||f<l;)t[p+f]=p<c&&f<l?e(s[p],u[f])<=0?s[p++]:u[f++]:p<c?s[p++]:u[f++];return t},Lf=Po,Bf=R,Df=function(t){if(!If)return Tf[t];var e=_f(Tf,t);return e&&e.value},Mf=dt,qf=N,Wf=H,Gf=j,zf=Zl,Hf=An,$f=ki,Vf=function(t,e,r){for(var n in e)Nf(t,n,e[n],r);return t},Kf=rs,Yf=cs,Jf=Xr,Qf=cp,Xf=ct,Zf=pe,th=ap,eh=qo,rh=nr,nh=pt,oh=ru,ih=Pa,ah=M,sh=Gp,uh=Fp,ch=Ts,lh=Sf,ph=Ff,fh=Pe("iterator"),hh="URLSearchParams",dh=hh+"Iterator",yh=Jf.set,mh=Jf.getterFor(hh),gh=Jf.getterFor(dh),vh=Df("fetch"),bh=Df("Request"),wh=Df("Headers"),xh=bh&&bh.prototype,Sh=wh&&wh.prototype,Ah=Bf.TypeError,Eh=Bf.encodeURIComponent,Ph=String.fromCharCode,Rh=Mf("String","fromCodePoint"),Oh=parseInt,kh=Wf("".charAt),jh=Wf([].join),Th=Wf([].push),Ih=Wf("".replace),_h=Wf([].shift),Nh=Wf([].splice),Uh=Wf("".split),Ch=Wf("".slice),Fh=Wf(/./.exec),Lh=/\+/g,Bh=/^[0-9a-f]+$/i,Dh=function(t,e){var r=Ch(t,e,e+2);return Fh(Bh,r)?Oh(r,16):NaN},Mh=function(t){for(var e=0,r=128;r>0&&0!=(t&r);r>>=1)e++;return e},qh=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},Wh=function(t){for(var e=(t=Ih(t,Lh," ")).length,r="",n=0;n<e;){var o=kh(t,n);if("%"===o){if("%"===kh(t,n+1)||n+3>e){r+="%",n++;continue}var i=Dh(t,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=Mh(i);if(0===a)o=Ph(i);else{if(1===a||a>4){r+="�",n++;continue}for(var s=[i],u=1;u<a&&!(++n+3>e||"%"!==kh(t,n));){var c=Dh(t,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;Th(s,c),n+=2,u++}if(s.length!==a){r+="�";continue}var l=qh(s);null===l?r+="�":o=Rh(l)}}r+=o,n++}return r},Gh=/[!'()~]|%20/g,zh={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Hh=function(t){return zh[t]},$h=function(t){return Ih(Eh(t),Gh,Hh)},Vh=Yf((function(t,e){yh(this,{type:dh,target:mh(t).entries,index:0,kind:e})}),hh,(function(){var t=gh(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,ch(void 0,!0);var n=e[r];switch(t.kind){case"keys":return ch(n.key,!1);case"values":return ch(n.value,!1)}return ch([n.key,n.value],!1)}),!0),Kh=function(t){this.entries=[],this.url=null,void 0!==t&&(nh(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===kh(t,0)?Ch(t,1):t:oh(t)))};Kh.prototype={type:hh,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,s,u=this.entries,c=uh(t);if(c)for(r=(e=sh(t,c)).next;!(n=qf(r,e)).done;){if(i=(o=sh(rh(n.value))).next,(a=qf(i,o)).done||(s=qf(i,o)).done||!qf(i,o).done)throw new Ah("Expected sequence with length 2");Th(u,{key:oh(a.value),value:oh(s.value)})}else for(var l in t)Zf(t,l)&&Th(u,{key:l,value:oh(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,o=Uh(t,"&"),i=0;i<o.length;)(e=o[i++]).length&&(r=Uh(e,"="),Th(n,{key:Wh(_h(r)),value:Wh(jh(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],Th(r,$h(t.key)+"="+$h(t.value));return jh(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Yh=function(){Qf(this,Jh);var t=yh(this,new Kh(arguments.length>0?arguments[0]:void 0));Gf||(this.size=t.entries.length)},Jh=Yh.prototype;if(Vf(Jh,{append:function(t,e){var r=mh(this);lh(arguments.length,2),Th(r.entries,{key:oh(t),value:oh(e)}),Gf||this.length++,r.updateURL()},delete:function(t){for(var e=mh(this),r=lh(arguments.length,1),n=e.entries,o=oh(t),i=r<2?void 0:arguments[1],a=void 0===i?i:oh(i),s=0;s<n.length;){var u=n[s];if(u.key!==o||void 0!==a&&u.value!==a)s++;else if(Nh(n,s,1),void 0!==a)break}Gf||(this.size=n.length),e.updateURL()},get:function(t){var e=mh(this).entries;lh(arguments.length,1);for(var r=oh(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=mh(this).entries;lh(arguments.length,1);for(var r=oh(t),n=[],o=0;o<e.length;o++)e[o].key===r&&Th(n,e[o].value);return n},has:function(t){for(var e=mh(this).entries,r=lh(arguments.length,1),n=oh(t),o=r<2?void 0:arguments[1],i=void 0===o?o:oh(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=mh(this);lh(arguments.length,1);for(var n,o=r.entries,i=!1,a=oh(t),s=oh(e),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?Nh(o,u--,1):(i=!0,n.value=s));i||Th(o,{key:a,value:s}),Gf||(this.size=o.length),r.updateURL()},sort:function(){var t=mh(this);ph(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=mh(this).entries,n=th(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 Vh(this,"keys")},values:function(){return new Vh(this,"values")},entries:function(){return new Vh(this,"entries")}},{enumerable:!0}),Hf(Jh,fh,Jh.entries,{name:"entries"}),Hf(Jh,"toString",(function(){return mh(this).serialize()}),{enumerable:!0}),Gf&&$f(Jh,"size",{get:function(){return mh(this).entries.length},configurable:!0,enumerable:!0}),Kf(Yh,hh),Lf({global:!0,constructor:!0,forced:!zf},{URLSearchParams:Yh}),!zf&&Xf(wh)){var Qh=Wf(Sh.has),Xh=Wf(Sh.set),Zh=function(t){if(nh(t)){var e,r=t.body;if(eh(r)===hh)return e=t.headers?new wh(t.headers):new wh,Qh(e,"content-type")||Xh(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),ih(t,{body:ah(0,oh(r)),headers:ah(0,e)})}return t};if(Xf(vh)&&Lf({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return vh(t,arguments.length>1?Zh(arguments[1]):{})}}),Xf(bh)){var td=function(t){return Qf(this,xh),new bh(t,arguments.length>1?Zh(arguments[1]):{})};xh.constructor=td,td.prototype=xh,Lf({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:td})}}var ed,rd=Po,nd=j,od=Zl,id=R,ad=ap,sd=H,ud=An,cd=ki,ld=cp,pd=pe,fd=Sp,hd=function(t){var e=$p(t),r=Yp(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=zp(o,n>2?arguments[2]:void 0));var a,s,u,c,l,p,f=Zp(e),h=0;if(!f||this===tf&&Kp(f))for(a=Jp(e),s=r?new this(a):tf(a);a>h;h++)p=i?o(e[h],h):e[h],Qp(s,h,p);else for(s=r?new this:[],l=(c=Xp(e,f)).next;!(u=Hp(l,c)).done;h++)p=i?Vp(c,o,[u.value,h],!0):u.value,Qp(s,h,p);return s.length=h,s},dd=ef,yd=Pc.codeAt,md=function(t){var e,r,n=[],o=mf(yf(gf(t),af,"."),".");for(e=0;e<o.length;e++)r=o[e],df(n,cf(of,r)?"xn--"+wf(r):r);return hf(n,".")},gd=ru,vd=rs,bd=Sf,wd={URLSearchParams:Yh,getState:mh},xd=Xr,Sd=xd.set,Ad=xd.getterFor("URL"),Ed=wd.URLSearchParams,Pd=wd.getState,Rd=id.URL,Od=id.TypeError,kd=id.parseInt,jd=Math.floor,Td=Math.pow,Id=sd("".charAt),_d=sd(/./.exec),Nd=sd([].join),Ud=sd(1..toString),Cd=sd([].pop),Fd=sd([].push),Ld=sd("".replace),Bd=sd([].shift),Dd=sd("".split),Md=sd("".slice),qd=sd("".toLowerCase),Wd=sd([].unshift),Gd="Invalid scheme",zd="Invalid host",Hd="Invalid port",$d=/[a-z]/i,Vd=/[\d+-.a-z]/i,Kd=/\d/,Yd=/^0x/i,Jd=/^[0-7]+$/,Qd=/^\d+$/,Xd=/^[\da-f]+$/i,Zd=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ty=/[\0\t\n\r #/:<>?@[\\\]^|]/,ey=/^[\u0000-\u0020]+/,ry=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ny=/[\t\n\r]/g,oy=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)Wd(e,t%256),t=jd(t/256);return Nd(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?n:e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=Ud(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},iy={},ay=fd({},iy,{" ":1,'"':1,"<":1,">":1,"`":1}),sy=fd({},ay,{"#":1,"?":1,"{":1,"}":1}),uy=fd({},sy,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),cy=function(t,e){var r=yd(t,0);return r>32&&r<127&&!pd(e,t)?t:encodeURIComponent(t)},ly={ftp:21,file:null,http:80,https:443,ws:80,wss:443},py=function(t,e){var r;return 2===t.length&&_d($d,Id(t,0))&&(":"===(r=Id(t,1))||!e&&"|"===r)},fy=function(t){var e;return t.length>1&&py(Md(t,0,2))&&(2===t.length||"/"===(e=Id(t,2))||"\\"===e||"?"===e||"#"===e)},hy=function(t){return"."===t||"%2e"===qd(t)},dy={},yy={},my={},gy={},vy={},by={},wy={},xy={},Sy={},Ay={},Ey={},Py={},Ry={},Oy={},ky={},jy={},Ty={},Iy={},_y={},Ny={},Uy={},Cy=function(t,e,r){var n,o,i,a=gd(t);if(e){if(o=this.parse(a))throw new Od(o);this.searchParams=null}else{if(void 0!==r&&(n=new Cy(r,!0)),o=this.parse(a,null,n))throw new Od(o);(i=Pd(new Ed)).bindURL(this),this.searchParams=i}};Cy.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,s,u=this,c=e||dy,l=0,p="",f=!1,h=!1,d=!1;for(t=gd(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=Ld(t,ey,""),t=Ld(t,ry,"$1")),t=Ld(t,ny,""),n=hd(t);l<=n.length;){switch(o=n[l],c){case dy:if(!o||!_d($d,o)){if(e)return Gd;c=my;continue}p+=qd(o),c=yy;break;case yy:if(o&&(_d(Vd,o)||"+"===o||"-"===o||"."===o))p+=qd(o);else{if(":"!==o){if(e)return Gd;p="",c=my,l=0;continue}if(e&&(u.isSpecial()!==pd(ly,p)||"file"===p&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=p,e)return void(u.isSpecial()&&ly[u.scheme]===u.port&&(u.port=null));p="","file"===u.scheme?c=Oy:u.isSpecial()&&r&&r.scheme===u.scheme?c=gy:u.isSpecial()?c=xy:"/"===n[l+1]?(c=vy,l++):(u.cannotBeABaseURL=!0,Fd(u.path,""),c=_y)}break;case my:if(!r||r.cannotBeABaseURL&&"#"!==o)return Gd;if(r.cannotBeABaseURL&&"#"===o){u.scheme=r.scheme,u.path=dd(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,c=Uy;break}c="file"===r.scheme?Oy:by;continue;case gy:if("/"!==o||"/"!==n[l+1]){c=by;continue}c=Sy,l++;break;case vy:if("/"===o){c=Ay;break}c=Iy;continue;case by:if(u.scheme=r.scheme,o===ed)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=dd(r.path),u.query=r.query;else if("/"===o||"\\"===o&&u.isSpecial())c=wy;else if("?"===o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=dd(r.path),u.query="",c=Ny;else{if("#"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=dd(r.path),u.path.length--,c=Iy;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=dd(r.path),u.query=r.query,u.fragment="",c=Uy}break;case wy:if(!u.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,c=Iy;continue}c=Ay}else c=Sy;break;case xy:if(c=Sy,"/"!==o||"/"!==Id(p,l+1))continue;l++;break;case Sy:if("/"!==o&&"\\"!==o){c=Ay;continue}break;case Ay:if("@"===o){f&&(p="%40"+p),f=!0,i=hd(p);for(var y=0;y<i.length;y++){var m=i[y];if(":"!==m||d){var g=cy(m,uy);d?u.password+=g:u.username+=g}else d=!0}p=""}else if(o===ed||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(f&&""===p)return"Invalid authority";l-=hd(p).length+1,p="",c=Ey}else p+=o;break;case Ey:case Py:if(e&&"file"===u.scheme){c=jy;continue}if(":"!==o||h){if(o===ed||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(u.isSpecial()&&""===p)return zd;if(e&&""===p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",c=Ty,e)return;continue}"["===o?h=!0:"]"===o&&(h=!1),p+=o}else{if(""===p)return zd;if(a=u.parseHost(p))return a;if(p="",c=Ry,e===Py)return}break;case Ry:if(!_d(Kd,o)){if(o===ed||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()||e){if(""!==p){var v=kd(p,10);if(v>65535)return Hd;u.port=u.isSpecial()&&v===ly[u.scheme]?null:v,p=""}if(e)return;c=Ty;continue}return Hd}p+=o;break;case Oy:if(u.scheme="file","/"===o||"\\"===o)c=ky;else{if(!r||"file"!==r.scheme){c=Iy;continue}switch(o){case ed:u.host=r.host,u.path=dd(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=dd(r.path),u.query="",c=Ny;break;case"#":u.host=r.host,u.path=dd(r.path),u.query=r.query,u.fragment="",c=Uy;break;default:fy(Nd(dd(n,l),""))||(u.host=r.host,u.path=dd(r.path),u.shortenPath()),c=Iy;continue}}break;case ky:if("/"===o||"\\"===o){c=jy;break}r&&"file"===r.scheme&&!fy(Nd(dd(n,l),""))&&(py(r.path[0],!0)?Fd(u.path,r.path[0]):u.host=r.host),c=Iy;continue;case jy:if(o===ed||"/"===o||"\\"===o||"?"===o||"#"===o){if(!e&&py(p))c=Iy;else if(""===p){if(u.host="",e)return;c=Ty}else{if(a=u.parseHost(p))return a;if("localhost"===u.host&&(u.host=""),e)return;p="",c=Ty}continue}p+=o;break;case Ty:if(u.isSpecial()){if(c=Iy,"/"!==o&&"\\"!==o)continue}else if(e||"?"!==o)if(e||"#"!==o){if(o!==ed&&(c=Iy,"/"!==o))continue}else u.fragment="",c=Uy;else u.query="",c=Ny;break;case Iy:if(o===ed||"/"===o||"\\"===o&&u.isSpecial()||!e&&("?"===o||"#"===o)){if(".."===(s=qd(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(u.shortenPath(),"/"===o||"\\"===o&&u.isSpecial()||Fd(u.path,"")):hy(p)?"/"===o||"\\"===o&&u.isSpecial()||Fd(u.path,""):("file"===u.scheme&&!u.path.length&&py(p)&&(u.host&&(u.host=""),p=Id(p,0)+":"),Fd(u.path,p)),p="","file"===u.scheme&&(o===ed||"?"===o||"#"===o))for(;u.path.length>1&&""===u.path[0];)Bd(u.path);"?"===o?(u.query="",c=Ny):"#"===o&&(u.fragment="",c=Uy)}else p+=cy(o,sy);break;case _y:"?"===o?(u.query="",c=Ny):"#"===o?(u.fragment="",c=Uy):o!==ed&&(u.path[0]+=cy(o,iy));break;case Ny:e||"#"!==o?o!==ed&&("'"===o&&u.isSpecial()?u.query+="%27":u.query+="#"===o?"%23":cy(o,iy)):(u.fragment="",c=Uy);break;case Uy:o!==ed&&(u.fragment+=cy(o,ay))}l++}},parseHost:function(t){var e,r,n;if("["===Id(t,0)){if("]"!==Id(t,t.length-1))return zd;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 Id(t,p)};if(":"===f()){if(":"!==Id(t,1))return;p+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(e=r=0;r<4&&_d(Xd,f());)e=16*e+kd(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(!_d(Kd,f()))return;for(;_d(Kd,f());){if(i=kd(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}(Md(t,1,-1)),!e)return zd;this.host=e}else if(this.isSpecial()){if(t=md(t),_d(Zd,t))return zd;if(e=function(t){var e,r,n,o,i,a,s,u=Dd(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"===Id(o,0)&&(i=_d(Yd,o)?16:8,o=Md(o,8===i?1:2)),""===o)a=0;else{if(!_d(10===i?Qd:8===i?Jd:Xd,o))return t;a=kd(o,i)}Fd(r,a)}for(n=0;n<e;n++)if(a=r[n],n===e-1){if(a>=Td(256,5-e))return null}else if(a>255)return null;for(s=Cd(r),n=0;n<r.length;n++)s+=r[n]*Td(256,3-n);return s}(t),null===e)return zd;this.host=e}else{if(_d(ty,t))return zd;for(e="",r=hd(t),n=0;n<r.length;n++)e+=cy(r[n],iy);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return pd(ly,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&py(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+=oy(o),null!==i&&(c+=":"+i)):"file"===e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+Nd(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(t){var e=this.parse(t);if(e)throw new Od(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Fy(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+oy(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(gd(t)+":",dy)},getUsername:function(){return this.username},setUsername:function(t){var e=hd(gd(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=cy(e[r],uy)}},getPassword:function(){return this.password},setPassword:function(t){var e=hd(gd(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=cy(e[r],uy)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?oy(t):oy(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,Ey)},getHostname:function(){var t=this.host;return null===t?"":oy(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Py)},getPort:function(){var t=this.port;return null===t?"":gd(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=gd(t))?this.port=null:this.parse(t,Ry))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+Nd(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Ty))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=gd(t))?this.query=null:("?"===Id(t,0)&&(t=Md(t,1)),this.query="",this.parse(t,Ny)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=gd(t))?("#"===Id(t,0)&&(t=Md(t,1)),this.fragment="",this.parse(t,Uy)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Fy=function(t){var e=ld(this,Ly),r=bd(arguments.length,1)>1?arguments[1]:void 0,n=Sd(e,new Cy(t,!1,r));nd||(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())},Ly=Fy.prototype,By=function(t,e){return{get:function(){return Ad(this)[t]()},set:e&&function(t){return Ad(this)[e](t)},configurable:!0,enumerable:!0}};if(nd&&(cd(Ly,"href",By("serialize","setHref")),cd(Ly,"origin",By("getOrigin")),cd(Ly,"protocol",By("getProtocol","setProtocol")),cd(Ly,"username",By("getUsername","setUsername")),cd(Ly,"password",By("getPassword","setPassword")),cd(Ly,"host",By("getHost","setHost")),cd(Ly,"hostname",By("getHostname","setHostname")),cd(Ly,"port",By("getPort","setPort")),cd(Ly,"pathname",By("getPathname","setPathname")),cd(Ly,"search",By("getSearch","setSearch")),cd(Ly,"searchParams",By("getSearchParams")),cd(Ly,"hash",By("getHash","setHash"))),ud(Ly,"toJSON",(function(){return Ad(this).serialize()}),{enumerable:!0}),ud(Ly,"toString",(function(){return Ad(this).serialize()}),{enumerable:!0}),Rd){var Dy=Rd.createObjectURL,My=Rd.revokeObjectURL;Dy&&ud(Fy,"createObjectURL",ad(Dy,Rd)),My&&ud(Fy,"revokeObjectURL",ad(My,Rd))}vd(Fy,"URL"),rd({global:!0,constructor:!0,forced:!od,sham:!nd},{URL:Fy});var qy=N;Po({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return qy(URL.prototype.toString,this)}});var Wy=ap,Gy=tt,zy=ue,Hy=Ln,$y=si,Vy=H([].push),Ky=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=zy(u),y=Gy(d),m=Hy(y),g=Wy(c,l),v=0,b=p||$y,w=e?b(u,m):r||a?b(u,0):void 0;m>v;v++)if((s||v in y)&&(h=g(f=y[v],v,d),t))if(e)w[v]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return v;case 2:Vy(w,f)}else switch(t){case 4:return!1;case 7:Vy(w,f)}return i?-1:n||o?o:w}},Yy={forEach:Ky(0),map:Ky(1),every:Ky(4)},Jy=Yy.map;Po({target:"Array",proto:!0,forced:!pi("map")},{map:function(t){return Jy(this,t,arguments.length>1?arguments[1]:void 0)}});var Qy=function(t){var e=t.endpointName,r=t.guestSpaceId,n=t.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(e,".json")},Xy=function(){return u((function t(e,r){a(this,t),this.client=e,this.guestSpaceId=r}),[{key:"buildPathWithGuestSpaceId",value:function(t){return Qy(d(d({},t),{},{guestSpaceId:this.guestSpaceId}))}},{key:"buildPath",value:function(t){return Qy(t)}}])}(),Zy=["endpointName"],tm=function(t){function e(t,r){var n;return a(this,e),(n=i(this,e,[t,r])).REQUESTS_LENGTH_LIMIT=20,n}return p(e,t),u(e,[{key:"send",value:function(t){var e=this,r=t.requests.map((function(t){if("endpointName"in t){var r=t.endpointName,n=y(t,Zy);return d({api:e.buildPathWithGuestSpaceId({endpointName:r})},n)}return t})),n=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(n,{requests:r})}}])}(Xy),em=["preview"],rm=["preview"],nm=["preview"],om=["preview"],im=["preview"],am=["preview"],sm=["preview"],um=["preview"],cm=["preview"],lm=["preview"],pm=["preview"],fm=["preview"],hm=["preview"],dm=["preview"],ym=["preview"],mm=["preview"],gm=function(t){function e(){return a(this,e),i(this,e,arguments)}return p(e,t),u(e,[{key:"getFormFields",value:function(t){var e=t.preview,r=y(t,em),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:e});return this.client.get(n,d({},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=y(t,rm),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:e});return this.client.get(n,d({},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=y(t,nm),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:(r=o(m().mark((function t(e){var r,n,o,i,a,s;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.name,n=e.space,o=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!n){t.next=9;break}return i=this.buildPathWithGuestSpaceId({endpointName:"space"}),t.next=6,this.client.get(i,{id:n});case 6:return a=t.sent,s=a.defaultThread,t.abrupt("return",this.client.post(o,d(d({},e),{},{thread:s})));case 9:return t.abrupt("return",this.client.post(o,{name:r}));case 10:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"getAppSettings",value:function(t){var e=t.preview,r=y(t,om),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=y(t,im),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=y(t,am),n=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:e});return this.client.get(n,d({},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=y(t,sm),n=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:e});return this.client.get(n,d({},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=y(t,um),n=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:e});return this.client.get(n,d({},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=y(t,cm),n=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:e});return this.client.get(n,d({},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=y(t,lm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:e});return this.client.get(n,d({},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=y(t,pm),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=y(t,fm),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=y(t,hm),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=y(t,dm),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:"getAdminNotes",value:function(t){var e=t.preview,r=y(t,ym),n=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:e});return this.client.get(n,r)}},{key:"updateAdminNotes",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:!0});return this.client.put(e,t)}},{key:"move",value:function(t){var e=this.buildPath({endpointName:"app/move"});return this.client.post(e,t)}},{key:"getPlugins",value:function(t){var e=t.preview,r=y(t,mm),n=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:e});return this.client.get(n,r)}},{key:"addPlugins",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:!0});return this.client.post(e,t)}}]);var r}(Xy),vm=k,bm=function(t,e){var r=[][t];return!!r&&vm((function(){r.call(null,e||function(){return 1},1)}))},wm=Yy.every;Po({target:"Array",proto:!0,forced:!bm("every")},{every:function(t){return wm(this,t,arguments.length>1?arguments[1]:void 0)}});var xm=Po,Sm=qn.indexOf,Am=bm,Em=rp([].indexOf),Pm=!!Em&&1/Em([1],1,-0)<0;xm({target:"Array",proto:!0,forced:Pm||!Am("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Pm?Em(this,t,e)||0:Sm(this,t,e)}}),Po({target:"Array",stat:!0},{isArray:Oo});var Rm,Om=qt,km=ue,jm=tt,Tm=Ln,Im=TypeError,_m="Reduce of empty array with no initial value",Nm={left:(Rm=!1,function(t,e,r,n){var o=km(t),i=jm(o),a=Tm(o);if(Om(e),0===a&&r<2)throw new Im(_m);var s=Rm?a-1:0,u=Rm?-1:1;if(r<2)for(;;){if(s in i){n=i[s],s+=u;break}if(s+=u,Rm?s<0:a<=s)throw new Im(_m)}for(;Rm?s>=0:a>s;s+=u)s in i&&(n=e(n,i[s],s,o));return n})},Um=R,Cm=vt,Fm=Y,Lm=function(t){return Cm.slice(0,t.length)===t},Bm=Lm("Bun/")?"BUN":Lm("Cloudflare-Workers")?"CLOUDFLARE":Lm("Deno/")?"DENO":Lm("Node.js/")?"NODE":Um.Bun&&"string"==typeof Bun.version?"BUN":Um.Deno&&"object"==typeof Deno.version?"DENO":"process"===Fm(Um.process)?"NODE":Um.window&&Um.document?"BROWSER":"REST",Dm=Nm.left;Po({target:"Array",proto:!0,forced:!("NODE"===Bm)&&Pt>79&&Pt<83||!bm("reduce")},{reduce:function(t){var e=arguments.length;return Dm(this,t,e,e>1?arguments[1]:void 0)}});var Mm=Po,qm=Oo,Wm=ti,Gm=pt,zm=_n,Hm=Ln,$m=st,Vm=_o,Km=Pe,Ym=ef,Jm=pi("slice"),Qm=Km("species"),Xm=Array,Zm=Math.max;Mm({target:"Array",proto:!0,forced:!Jm},{slice:function(t,e){var r,n,o,i=$m(this),a=Hm(i),s=zm(t,a),u=zm(void 0===e?a:e,a);if(qm(i)&&(r=i.constructor,(Wm(r)&&(r===Xm||qm(r.prototype))||Gm(r)&&null===(r=r[Qm]))&&(r=void 0),r===Xm||void 0===r))return Ym(i,s,u);for(n=new(void 0===r?Xm:r)(Zm(u-s,0)),o=0;s<u;s++,o++)s in i&&Vm(n,o,i[s]);return n.length=o,n}});var tg=R,eg=ct,rg=pt,ng=Vi,og=H(1..valueOf),ig=Po,ag=j,sg=R,ug=tg,cg=H,lg=go,pg=pe,fg=function(t,e,r){var n,o;return ng&&eg(n=e.constructor)&&n!==r&&rg(o=n.prototype)&&o!==r.prototype&&ng(t,o),t},hg=yt,dg=Ct,yg=Ne,mg=k,gg=En.f,vg=O.f,bg=Xe.f,wg=og,xg=lu.trim,Sg="Number",Ag=sg[Sg];ug[Sg];var Eg=Ag.prototype,Pg=sg.TypeError,Rg=cg("".slice),Og=cg("".charCodeAt),kg=function(t){var e,r,n,o,i,a,s,u,c=yg(t,"number");if(dg(c))throw new Pg("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=xg(c),43===(e=Og(c,0))||45===e){if(88===(r=Og(c,2))||120===r)return NaN}else if(48===e){switch(Og(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=Rg(c,2)).length,s=0;s<a;s++)if((u=Og(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},jg=lg(Sg,!Ag(" 0o1")||!Ag("0b1")||Ag("+0x1")),Tg=function(t){var e,r=arguments.length<1?0:Ag(function(t){var e=yg(t,"number");return"bigint"==typeof e?e:kg(e)}(t));return hg(Eg,e=this)&&mg((function(){wg(e)}))?fg(Object(r),this,Tg):r};Tg.prototype=Eg,jg&&(Eg.constructor=Tg),ig({global:!0,constructor:!0,wrap:!0,forced:jg},{Number:Tg});jg&&function(t,e){for(var r,n=ag?gg(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++)pg(e,r=n[o])&&!pg(t,r)&&bg(t,r,vg(e,r))}(ug[Sg],Ag);var Ig=Sp;Po({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ig},{assign:Ig});var _g=N,Ng=nr,Ug=et,Cg=Cn,Fg=ru,Lg=ot,Bg=zt,Dg=Yc,Mg=ll;Vc("match",(function(t,e,r){return[function(e){var r=Lg(this),n=Ug(e)?void 0:Bg(e,t);return n?_g(n,e,r):new RegExp(e)[t](Fg(r))},function(t){var n=Ng(this),o=Fg(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return Mg(n,o);var a=n.unicode;n.lastIndex=0;for(var s,u=[],c=0;null!==(s=Mg(n,o));){var l=Fg(s[0]);u[c]=l,""===l&&(n.lastIndex=Dg(o,Cg(n.lastIndex),a)),c++}return 0===c?null:u}]}));var qg=function(t){function e(t){var r;return a(this,e),(r=i(this,e,[t])).name="KintoneAbortSearchError",r.message=t,Object.setPrototypeOf(r,e.prototype),r}return p(e,t),u(e)}(x(Error)),Wg=Yy.forEach,Gg=bm("forEach")?[].forEach:function(t){return Wg(this,t,arguments.length>1?arguments[1]:void 0)};Po({target:"Array",proto:!0,forced:[].forEach!==Gg},{forEach:Gg});var zg=ue,Hg=na;Po({target:"Object",stat:!0,forced:k((function(){Hg(1)}))},{keys:function(t){return Hg(zg(t))}});var $g=R,Vg=Fl,Kg=Dl,Yg=Gg,Jg=gr,Qg=function(t){if(t&&t.forEach!==Yg)try{Jg(t,"forEach",Yg)}catch(e){t.forEach=Yg}};for(var Xg in Vg)Vg[Xg]&&Qg($g[Xg]&&$g[Xg].prototype);Qg(Kg);var Zg=function(t){function e(t,r,n,o,s){var u;a(this,e);var c=n-r.length,l=e.extractErrorIndex(c,o,s),p=e.buildErrorMessage(c,n,l);return(u=i(this,e,[p])).name="KintoneAllRecordsError",u.processedRecordsResult=t,u.unprocessedRecords=r,u.error=o,u.errorIndex=l,u.message=p,u.numOfProcessedRecords=c,u.numOfAllRecords=n,Object.setPrototypeOf(u,e.prototype),u}return p(e,t),u(e,null,[{key:"parseErrorIndex",value:function(t){var e=[];return Object.keys(t).forEach((function(t){var r=t.match(/records\[(\d+)\]/);r&&e.push(Number(r[1]))})),e.length>0?Math.min.apply(Math,e):null}},{key:"extractErrorIndex",value:function(t,r,n){if(void 0!==r.bulkRequestIndex&&r.errors){var o=e.parseErrorIndex(r.errors);if(null!==o)return t+r.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(t,e,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(t,"/").concat(e," records are processed successfully")}}])}(x(Error)),tv=function(t){function e(t){var r;a(this,e);var n=e.buildErrorResponseDateWithIndex(t),o=n.data,s=n.bulkRequestIndex;return(r=i(this,e,[o.message])).name="KintoneRestAPIError",r.id=o.id,r.code=o.code,r.errors=o.errors,r.status=t.status,r.bulkRequestIndex=s,r.headers=t.headers,r.message="[".concat(t.status,"] [").concat(r.code,"] ").concat(r.message," (").concat(r.id,")"),Error.captureStackTrace&&Error.captureStackTrace(r,e),Object.setPrototypeOf(r,e.prototype),r}return p(e,t),u(e,null,[{key:"findErrorResponseDataWithIndex",value:function(t){for(var e=0;e<t.length;e++){if(0!==Object.keys(t[e]).length)return{data:t[e],bulkRequestIndex:e}}throw Error("Missing response data in `results`. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.")}},{key:"buildErrorResponseDateWithIndex",value:function(t){return"results"in t.data?e.findErrorResponseDataWithIndex(t.data.results):{data:t.data}}}])}(x(Error)),ev=["condition","orderBy","withCursor"],rv=["fields","condition"],nv=["condition","orderBy"],ov=500,iv=function(t){function e(t,r,n){var o;return a(this,e),(o=i(this,e,[t,n])).bulkRequestClient=r,o.didWarnMaximumOffsetValue=!1,o}return p(e,t),u(e,[{key:"getRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(e,t)}},{key:"addRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(e,t)}},{key:"updateRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(e,t)}},{key:"upsertRecord",value:(R=o(m().mark((function t(e){var r,n,o,i,a,s,u;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.app,n=e.updateKey,o=e.record,t.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(i=t.sent,!((a=i.records).length>0)){t.next=13;break}if("__ID__"!==a[0].$id.type){t.next=12;break}return t.next=9,this.updateRecord(e);case 9:return s=t.sent,u=s.revision,t.abrupt("return",{id:a[0].$id.value,revision:u});case 12:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 13:return t.abrupt("return",this.addRecord({app:r,record:Object.assign({},o,c({},n.field,{value:n.value}))}));case 14:case"end":return t.stop()}}),t,this)}))),function(t){return R.apply(this,arguments)})},{key:"getRecords",value:(P=o(m().mark((function t(e){var r,n;return m().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 P.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=o(m().mark((function t(e){var r,n,o,i;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.post(r,e);case 3:return n=t.sent,o=n.ids,i=n.revisions,t.abrupt("return",{ids:o,revisions:i,records:o.map((function(t,e){return{id:t,revision:i[e]}}))});case 7:case"end":return t.stop()}}),t,this)}))),function(t){return 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=o(m().mark((function t(e){var r,n,o,i,a,s,u;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.condition,n=e.orderBy,o=e.withCursor,i=void 0===o||o,a=y(e,ev),n){t.next=3;break}return t.abrupt("return",this.getAllRecordsWithId(d(d({},a),{},{condition:r})));case 3:if(!i){t.next=7;break}return s=r?"".concat(r," "):"",u="".concat(s).concat(n?"order by ".concat(n):""),t.abrupt("return",this.getAllRecordsWithCursor(d(d({},a),{},{query:u})));case 7:return t.abrupt("return",this.getAllRecordsWithOffset(d(d({},a),{},{orderBy:n,condition:r})));case 8:case"end":return t.stop()}}),t,this)}))),function(t){return A.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(S=o(m().mark((function t(e){var r,n,o,i,a,s,u,c,l,p;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.fields,n=e.condition,o=y(e,rv),(i=r)&&i.length>0&&-1===i.indexOf("$id")&&(i=[].concat(v(i),["$id"])),a=n?"(".concat(n,") and "):"",s=[],u="0";case 6:return c="".concat(a,"$id > ").concat(u," order by $id asc limit ").concat(ov),t.next=10,this.getRecords(d(d({},o),{},{fields:i,query:c}));case 10:if(l=t.sent,s=s.concat(l.records),!(l.records.length<ov)){t.next=14;break}return t.abrupt("break",22);case 14:if("__ID__"!==(p=l.records[l.records.length-1]).$id.type){t.next=19;break}u=p.$id.value,t.next=20;break;case 19:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 20:t.next=6;break;case 22:return t.abrupt("return",s);case 23:case"end":return t.stop()}}),t,this)}))),function(t){return S.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(x=o(m().mark((function t(e){var r,n,o,i,a,s,u,c;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.condition,n=e.orderBy,o=y(e,nv),i=r?"".concat(r," "):"",a=[],s=0;case 4:return u="".concat(i).concat(n?"order by ".concat(n," "):"","limit ").concat(ov," offset ").concat(s),t.next=8,this.getRecords(d(d({},o),{},{query:u}));case 8:if(c=t.sent,a=a.concat(c.records),!(c.records.length<ov)){t.next=12;break}return t.abrupt("break",15);case 12:s+=ov,t.next=4;break;case 15:return t.abrupt("return",a);case 16:case"end":return t.stop()}}),t,this)}))),function(t){return x.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(w=o(m().mark((function t(e){var r,n,o,i;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.createCursor(e);case 2:r=t.sent,n=r.id,t.prev=4,o=[];case 6:return t.next=9,this.getRecordsByCursor({id:n});case 9:if(i=t.sent,o=o.concat(i.records),i.next){t.next=13;break}return t.abrupt("break",15);case 13:t.next=6;break;case 15:return t.abrupt("return",o);case 18:return t.prev=18,t.t0=t.catch(4),t.next=22,this.deleteCursor({id:n});case 22:throw t.t0;case 23:case"end":return t.stop()}}),t,this,[[4,18]])}))),function(t){return w.apply(this,arguments)})},{key:"addAllRecords",value:(b=o(m().mark((function t(e){return m().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 b.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(g=o(m().mark((function t(e,r,n){var o,i,a,s,u;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,a=e.records,0!==(s=a.slice(0,o)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.addAllRecordsWithBulkRequest({app:i,records:s});case 8:u=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Zg({records:n},a,r,t.t0,100);case 14:return t.abrupt("return",this.addAllRecordsRecursive({app:i,records:a.slice(o)},r,n.concat(u)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return g.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(h=o(m().mark((function t(e){var r,n,o;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"POST",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=t.sent.results,t.abrupt("return",o.map((function(t){var e=t.ids,r=t.revisions;return e.map((function(t,e){return{id:t,revision:r[e]}}))})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return h.apply(this,arguments)})},{key:"updateAllRecords",value:(f=o(m().mark((function t(e){return m().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 f.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(l=o(m().mark((function t(e,r,n){var o,i,a,s,u,c;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,a=e.upsert,s=e.records,0!==(u=s.slice(0,o)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.updateAllRecordsWithBulkRequest({app:i,upsert:a,records:u});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Zg({records:n},s,r,t.t0,100);case 14:return t.abrupt("return",this.updateAllRecordsRecursive({app:i,upsert:a,records:s.slice(o)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return l.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(s=o(m().mark((function t(e){var r,n,o;return m().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,upsert:e.upsert,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=t.sent.results,t.abrupt("return",o.map((function(t){return t.records})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return s.apply(this,arguments)})},{key:"deleteAllRecords",value:function(t){return this.deleteAllRecordsRecursive(t,t.records.length)}},{key:"deleteAllRecordsRecursive",value:(n=o(m().mark((function t(e,r){var n,o,i,a;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,o=e.app,i=e.records,0!==(a=i.slice(0,n)).length){t.next=5;break}return t.abrupt("return",{});case 5:return t.prev=5,t.next=8,this.deleteAllRecordsWithBulkRequest({app:o,records:a});case 8:t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(5),new Zg({},i,r,t.t0,100);case 13:return t.abrupt("return",this.deleteAllRecordsRecursive({app:o,records:i.slice(n)},r));case 14:case"end":return t.stop()}}),t,this,[[5,10]])}))),function(t,e){return n.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(r=o(m().mark((function t(e){var r,n;return m().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 r.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(v(e),[n]),r.slice(t))}},{key:"addRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(e,t)}},{key:"deleteRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(e,t)}},{key:"getRecordComments",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(e,t)}},{key:"updateRecordAssignees",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(e,t)}},{key:"updateRecordStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(e,t)}},{key:"updateRecordsStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(e,t)}}]);var r,n,s,l,f,h,g,b,w,x,S,A,E,P,R}(Xy),av=function(t){function e(){return a(this,e),i(this,e,arguments)}return p(e,t),u(e,[{key:"getSpace",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.get(e,t)}},{key:"updateSpace",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.put(e,t)}},{key:"deleteSpace",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.delete(e,t)}},{key:"updateSpaceBody",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/body"});return this.client.put(e,t)}},{key:"getSpaceMembers",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.get(e,t)}},{key:"updateSpaceMembers",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.put(e,t)}},{key:"addThread",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.post(e,t)}},{key:"updateThread",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.put(e,t)}},{key:"addThreadComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/thread/comment"});return this.client.post(e,t)}},{key:"addGuests",value:function(t){var e=this.buildPath({endpointName:"guests"});return this.client.post(e,t)}},{key:"deleteGuests",value:function(t){var e=this.buildPath({endpointName:"guests"});return this.client.delete(e,t)}},{key:"updateSpaceGuests",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/guests"});return this.client.put(e,t)}},{key:"addSpaceFromTemplate",value:function(t){var e=this.buildPath({endpointName:"template/space"});return this.client.post(e,t)}}])}(Xy),sv=A("object"==typeof self?self.FormData:window.FormData),uv=function(t){function r(){return a(this,r),i(this,r,arguments)}return p(r,t),u(r,[{key:"uploadFile",value:(n=o(m().mark((function t(r){var n,o,i,a,s,u,c,l,p;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),o=new sv,!("path"in r.file)){t.next=19;break}return t.prev=3,t.next=6,e.readFileFromPath(r.file.path);case 6:i=t.sent,a=i.name,s=i.data,o.append("file",s,a),t.next=17;break;case 12:if(t.prev=12,t.t0=t.catch(3),!(t.t0 instanceof Ki)){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:u=r.file,c=u.name,l=u.data,p=e.buildFormDataValue(l,c),o.append("file",p,c);case 22:return t.abrupt("return",this.client.postData(n,o));case 23:case"end":return t.stop()}}),t,this,[[3,12]])}))),function(t){return n.apply(this,arguments)})},{key:"downloadFile",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(e,t)}}]);var n}(Xy),cv=function(t){function e(){return a(this,e),i(this,e,arguments)}return p(e,t),u(e,[{key:"getPlugins",value:function(t){var e=this.buildPath({endpointName:"plugins"});return this.client.get(e,t)}},{key:"getRequiredPlugins",value:function(t){var e=this.buildPath({endpointName:"plugins/required"});return this.client.get(e,t)}},{key:"getApps",value:function(t){var e=this.buildPath({endpointName:"plugin/apps"});return this.client.get(e,t)}},{key:"updatePlugin",value:function(t){var e=this.buildPath({endpointName:"plugin"});return this.client.put(e,t)}},{key:"installPlugin",value:function(t){var e=this.buildPath({endpointName:"plugin"});return this.client.post(e,t)}},{key:"uninstallPlugin",value:function(t){var e=this.buildPath({endpointName:"plugin"});return this.client.delete(e,t)}}])}(Xy),lv="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function pv(){throw new Error("setTimeout has not been defined")}function fv(){throw new Error("clearTimeout has not been defined")}var hv=pv,dv=fv;function yv(t){if(hv===setTimeout)return setTimeout(t,0);if((hv===pv||!hv)&&setTimeout)return hv=setTimeout,setTimeout(t,0);try{return hv(t,0)}catch(e){try{return hv.call(null,t,0)}catch(e){return hv.call(this,t,0)}}}"function"==typeof lv.setTimeout&&(hv=setTimeout),"function"==typeof lv.clearTimeout&&(dv=clearTimeout);var mv,gv=[],vv=!1,bv=-1;function wv(){vv&&mv&&(vv=!1,mv.length?gv=mv.concat(gv):bv=-1,gv.length&&xv())}function xv(){if(!vv){var t=yv(wv);vv=!0;for(var e=gv.length;e;){for(mv=gv,gv=[];++bv<e;)mv&&mv[bv].run();bv=-1,e=gv.length}mv=null,vv=!1,function(t){if(dv===clearTimeout)return clearTimeout(t);if((dv===fv||!dv)&&clearTimeout)return dv=clearTimeout,clearTimeout(t);try{return dv(t)}catch(e){try{return dv.call(null,t)}catch(e){return dv.call(this,t)}}}(t)}}function Sv(t,e){this.fun=t,this.array=e}Sv.prototype.run=function(){this.fun.apply(null,this.array)};var Av=lv.performance||{};Av.now||Av.mozNow||Av.msNow||Av.oNow||Av.webkitNow;function Ev(t,e){return function(){return t.apply(e,arguments)}}const{toString:Pv}=Object.prototype,{getPrototypeOf:Rv}=Object,Ov=(kv=Object.create(null),t=>{const e=Pv.call(t);return kv[e]||(kv[e]=e.slice(8,-1).toLowerCase())});var kv;const jv=t=>(t=t.toLowerCase(),e=>Ov(e)===t),Tv=t=>e=>typeof e===t,{isArray:Iv}=Array,_v=Tv("undefined");const Nv=jv("ArrayBuffer");const Uv=Tv("string"),Cv=Tv("function"),Fv=Tv("number"),Lv=t=>null!==t&&"object"==typeof t,Bv=t=>{if("object"!==Ov(t))return!1;const e=Rv(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},Dv=jv("Date"),Mv=jv("File"),qv=jv("Blob"),Wv=jv("FileList"),Gv=jv("URLSearchParams"),[zv,Hv,$v,Vv]=["ReadableStream","Request","Response","Headers"].map(jv);function Kv(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]),Iv(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 Yv(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 Jv="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:lv,Qv=t=>!_v(t)&&t!==Jv;const Xv=(t=>e=>t&&e instanceof t)("undefined"!=typeof Uint8Array&&Rv(Uint8Array)),Zv=jv("HTMLFormElement"),tb=(t=>{let{hasOwnProperty:e}=t;return(t,r)=>e.call(t,r)})(Object.prototype),eb=jv("RegExp"),rb=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};Kv(r,((r,o)=>{let i;!1!==(i=e(r,o,t))&&(n[o]=i||r)})),Object.defineProperties(t,n)},nb="abcdefghijklmnopqrstuvwxyz",ob="0123456789",ib={DIGIT:ob,ALPHA:nb,ALPHA_DIGIT:nb+nb.toUpperCase()+ob};const ab=jv("AsyncFunction"),sb=(ub="function"==typeof setImmediate,cb=Cv(Jv.postMessage),ub?setImmediate:cb?(lb=`axios@${Math.random()}`,pb=[],Jv.addEventListener("message",(t=>{let{source:e,data:r}=t;e===Jv&&r===lb&&pb.length&&pb.shift()()}),!1),t=>{pb.push(t),Jv.postMessage(lb,"*")}):t=>setTimeout(t));var ub,cb,lb,pb;const fb="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Jv):void 0!=={}&&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];gv.push(new Sv(t,e)),1!==gv.length||vv||yv(xv)}||sb;var hb={isArray:Iv,isArrayBuffer:Nv,isBuffer:function(t){return null!==t&&!_v(t)&&null!==t.constructor&&!_v(t.constructor)&&Cv(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||Cv(t.append)&&("formdata"===(e=Ov(t))||"object"===e&&Cv(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Nv(t.buffer),e},isString:Uv,isNumber:Fv,isBoolean:t=>!0===t||!1===t,isObject:Lv,isPlainObject:Bv,isReadableStream:zv,isRequest:Hv,isResponse:$v,isHeaders:Vv,isUndefined:_v,isDate:Dv,isFile:Mv,isBlob:qv,isRegExp:eb,isFunction:Cv,isStream:t=>Lv(t)&&Cv(t.pipe),isURLSearchParams:Gv,isTypedArray:Xv,isFileList:Wv,forEach:Kv,merge:function t(){const{caseless:e}=Qv(this)&&this||{},r={},n=(n,o)=>{const i=e&&Yv(r,o)||o;Bv(r[i])&&Bv(n)?r[i]=t(r[i],n):Bv(n)?r[i]=t({},n):Iv(n)?r[i]=n.slice():r[i]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&Kv(arguments[t],n);return r},extend:function(t,e,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Kv(e,((e,n)=>{r&&Cv(e)?t[n]=Ev(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&&Rv(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:Ov,kindOfTest:jv,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(Iv(t))return t;let e=t.length;if(!Fv(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:Zv,hasOwnProperty:tb,hasOwnProp:tb,reduceDescriptors:rb,freezeMethods:t=>{rb(t,((e,r)=>{if(Cv(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];Cv(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 Iv(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)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:Yv,global:Jv,isContextDefined:Qv,ALPHABET:ib,generateString:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ib.ALPHA_DIGIT,r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&Cv(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(Lv(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const o=Iv(t)?[]:{};return Kv(t,((t,e)=>{const i=r(t,n+1);!_v(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:ab,isThenable:t=>t&&(Lv(t)||Cv(t))&&Cv(t.then)&&Cv(t.catch),setImmediate:sb,asap:fb},db=[],yb=[],mb="undefined"!=typeof Uint8Array?Uint8Array:Array,gb=!1;function vb(){gb=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0;e<64;++e)db[e]=t[e],yb[t.charCodeAt(e)]=e;yb["-".charCodeAt(0)]=62,yb["_".charCodeAt(0)]=63}function bb(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(db[(o=n)>>18&63]+db[o>>12&63]+db[o>>6&63]+db[63&o]);return i.join("")}function wb(t){var e;gb||vb();for(var r=t.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(bb(t,s,s+a>u?u:s+a));return 1===n?(e=t[r-1],o+=db[e>>2],o+=db[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=db[e>>10],o+=db[e>>4&63],o+=db[e<<2&63],o+="="),i.push(o),i.join("")}function xb(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 Sb(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 Ab={}.toString,Eb=Array.isArray||function(t){return"[object Array]"==Ab.call(t)};function Pb(){return Ob.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Rb(t,e){if(Pb()<e)throw new RangeError("Invalid typed array length");return Ob.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=Ob.prototype:(null===t&&(t=new Ob(e)),t.length=e),t}function Ob(t,e,r){if(!(Ob.TYPED_ARRAY_SUPPORT||this instanceof Ob))return new Ob(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 Tb(this,t)}return kb(this,t,e,r)}function kb(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);Ob.TYPED_ARRAY_SUPPORT?(t=e).__proto__=Ob.prototype:t=Ib(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!Ob.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Ub(e,r);t=Rb(t,n);var o=t.write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(Nb(e)){var r=0|_b(e.length);return 0===(t=Rb(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?Rb(t,0):Ib(t,e);if("Buffer"===e.type&&Eb(e.data))return Ib(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function jb(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 Tb(t,e){if(jb(e),t=Rb(t,e<0?0:0|_b(e)),!Ob.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function Ib(t,e){var r=e.length<0?0:0|_b(e.length);t=Rb(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function _b(t){if(t>=Pb())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Pb().toString(16)+" bytes");return 0|t}function Nb(t){return!(null==t||!t._isBuffer)}function Ub(t,e){if(Nb(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 sw(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return uw(t).length;default:if(n)return sw(t).length;e=(""+e).toLowerCase(),n=!0}}function Cb(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 Jb(this,e,r);case"utf8":case"utf-8":return $b(this,e,r);case"ascii":return Kb(this,e,r);case"latin1":case"binary":return Yb(this,e,r);case"base64":return Hb(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qb(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function Fb(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Lb(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=Ob.from(e,n)),Nb(e))return 0===e.length?-1:Bb(t,e,r,n,o);if("number"==typeof e)return e&=255,Ob.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Bb(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Bb(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 Db(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 Mb(t,e,r,n){return cw(sw(e,t.length-r),t,r,n)}function qb(t,e,r,n){return cw(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function Wb(t,e,r,n){return qb(t,e,r,n)}function Gb(t,e,r,n){return cw(uw(e),t,r,n)}function zb(t,e,r,n){return cw(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 Hb(t,e,r){return 0===e&&r===t.length?wb(t):wb(t.slice(e,r))}function $b(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<=Vb)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Vb));return r}(n)}Ob.TYPED_ARRAY_SUPPORT=void 0===lv.TYPED_ARRAY_SUPPORT||lv.TYPED_ARRAY_SUPPORT,Pb(),Ob.poolSize=8192,Ob._augment=function(t){return t.__proto__=Ob.prototype,t},Ob.from=function(t,e,r){return kb(null,t,e,r)},Ob.TYPED_ARRAY_SUPPORT&&(Ob.prototype.__proto__=Uint8Array.prototype,Ob.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Ob[Symbol.species]),Ob.alloc=function(t,e,r){return function(t,e,r,n){return jb(e),e<=0?Rb(t,e):void 0!==r?"string"==typeof n?Rb(t,e).fill(r,n):Rb(t,e).fill(r):Rb(t,e)}(null,t,e,r)},Ob.allocUnsafe=function(t){return Tb(null,t)},Ob.allocUnsafeSlow=function(t){return Tb(null,t)},Ob.isBuffer=function(t){return null!=t&&(!!t._isBuffer||lw(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&lw(t.slice(0,0))}(t))},Ob.compare=function(t,e){if(!Nb(t)||!Nb(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},Ob.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}},Ob.concat=function(t,e){if(!Eb(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return Ob.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=Ob.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!Nb(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},Ob.byteLength=Ub,Ob.prototype._isBuffer=!0,Ob.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)Fb(this,e,e+1);return this},Ob.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)Fb(this,e,e+3),Fb(this,e+1,e+2);return this},Ob.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)Fb(this,e,e+7),Fb(this,e+1,e+6),Fb(this,e+2,e+5),Fb(this,e+3,e+4);return this},Ob.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?$b(this,0,t):Cb.apply(this,arguments)},Ob.prototype.equals=function(t){if(!Nb(t))throw new TypeError("Argument must be a Buffer");return this===t||0===Ob.compare(this,t)},Ob.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+">"},Ob.prototype.compare=function(t,e,r,n,o){if(!Nb(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},Ob.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},Ob.prototype.indexOf=function(t,e,r){return Lb(this,t,e,r,!0)},Ob.prototype.lastIndexOf=function(t,e,r){return Lb(this,t,e,r,!1)},Ob.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 Db(this,t,e,r);case"utf8":case"utf-8":return Mb(this,t,e,r);case"ascii":return qb(this,t,e,r);case"latin1":case"binary":return Wb(this,t,e,r);case"base64":return Gb(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zb(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},Ob.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Vb=4096;function Kb(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 Yb(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 Jb(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+=aw(t[i]);return o}function Qb(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 Xb(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 Zb(t,e,r,n,o,i){if(!Nb(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 tw(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 ew(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 rw(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 nw(t,e,r,n,o){return o||rw(t,0,r,4),Sb(t,e,r,n,23,4),r+4}function ow(t,e,r,n,o){return o||rw(t,0,r,8),Sb(t,e,r,n,52,8),r+8}Ob.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),Ob.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=Ob.prototype;else{var o=e-t;r=new Ob(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},Ob.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||Xb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},Ob.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||Xb(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},Ob.prototype.readUInt8=function(t,e){return e||Xb(t,1,this.length),this[t]},Ob.prototype.readUInt16LE=function(t,e){return e||Xb(t,2,this.length),this[t]|this[t+1]<<8},Ob.prototype.readUInt16BE=function(t,e){return e||Xb(t,2,this.length),this[t]<<8|this[t+1]},Ob.prototype.readUInt32LE=function(t,e){return e||Xb(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Ob.prototype.readUInt32BE=function(t,e){return e||Xb(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Ob.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||Xb(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},Ob.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||Xb(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},Ob.prototype.readInt8=function(t,e){return e||Xb(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Ob.prototype.readInt16LE=function(t,e){e||Xb(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},Ob.prototype.readInt16BE=function(t,e){e||Xb(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},Ob.prototype.readInt32LE=function(t,e){return e||Xb(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Ob.prototype.readInt32BE=function(t,e){return e||Xb(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Ob.prototype.readFloatLE=function(t,e){return e||Xb(t,4,this.length),xb(this,t,!0,23,4)},Ob.prototype.readFloatBE=function(t,e){return e||Xb(t,4,this.length),xb(this,t,!1,23,4)},Ob.prototype.readDoubleLE=function(t,e){return e||Xb(t,8,this.length),xb(this,t,!0,52,8)},Ob.prototype.readDoubleBE=function(t,e){return e||Xb(t,8,this.length),xb(this,t,!1,52,8)},Ob.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||Zb(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},Ob.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||Zb(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},Ob.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||Zb(this,t,e,1,255,0),Ob.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},Ob.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||Zb(this,t,e,2,65535,0),Ob.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):tw(this,t,e,!0),e+2},Ob.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||Zb(this,t,e,2,65535,0),Ob.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):tw(this,t,e,!1),e+2},Ob.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||Zb(this,t,e,4,4294967295,0),Ob.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):ew(this,t,e,!0),e+4},Ob.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||Zb(this,t,e,4,4294967295,0),Ob.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):ew(this,t,e,!1),e+4},Ob.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);Zb(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},Ob.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);Zb(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},Ob.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||Zb(this,t,e,1,127,-128),Ob.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},Ob.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||Zb(this,t,e,2,32767,-32768),Ob.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):tw(this,t,e,!0),e+2},Ob.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||Zb(this,t,e,2,32767,-32768),Ob.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):tw(this,t,e,!1),e+2},Ob.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||Zb(this,t,e,4,2147483647,-2147483648),Ob.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):ew(this,t,e,!0),e+4},Ob.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||Zb(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),Ob.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):ew(this,t,e,!1),e+4},Ob.prototype.writeFloatLE=function(t,e,r){return nw(this,t,e,!0,r)},Ob.prototype.writeFloatBE=function(t,e,r){return nw(this,t,e,!1,r)},Ob.prototype.writeDoubleLE=function(t,e,r){return ow(this,t,e,!0,r)},Ob.prototype.writeDoubleBE=function(t,e,r){return ow(this,t,e,!1,r)},Ob.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||!Ob.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},Ob.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&&!Ob.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=Nb(t)?t:sw(new Ob(t,n).toString()),s=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%s]}return this};var iw=/[^+\/0-9A-Za-z-_]/g;function aw(t){return t<16?"0"+t.toString(16):t.toString(16)}function sw(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 uw(t){return function(t){var e,r,n,o,i,a;gb||vb();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 mb(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=yb[t.charCodeAt(e)]<<18|yb[t.charCodeAt(e+1)]<<12|yb[t.charCodeAt(e+2)]<<6|yb[t.charCodeAt(e+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=yb[t.charCodeAt(e)]<<2|yb[t.charCodeAt(e+1)]>>4,a[u++]=255&o):1===i&&(o=yb[t.charCodeAt(e)]<<10|yb[t.charCodeAt(e+1)]<<4|yb[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(iw,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function cw(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 lw(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function pw(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,this.status=o.status?o.status:null)}hb.inherits(pw,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:hb.toJSONObject(this.config),code:this.code,status:this.status}}});const fw=pw.prototype,hw={};["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=>{hw[t]={value:t}})),Object.defineProperties(pw,hw),Object.defineProperty(fw,"isAxiosError",{value:!0}),pw.from=(t,e,r,n,o,i)=>{const a=Object.create(fw);return hb.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),pw.call(a,t.message,e,r,n,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};function dw(t){return hb.isPlainObject(t)||hb.isArray(t)}function yw(t){return hb.endsWith(t,"[]")?t.slice(0,-2):t}function mw(t,e,r){return t?t.concat(e).map((function(t,e){return t=yw(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const gw=hb.toFlatObject(hb,{},null,(function(t){return/^is[A-Z]/.test(t)}));function vw(t,e,r){if(!hb.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=hb.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!hb.isUndefined(e[t])}))).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&hb.isSpecCompliantForm(e);if(!hb.isFunction(o))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(hb.isDate(t))return t.toISOString();if(!s&&hb.isBlob(t))throw new pw("Blob is not supported. Use a Buffer instead.");return hb.isArrayBuffer(t)||hb.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Ob.from(t):t}function c(t,r,o){let s=t;if(t&&!o&&"object"==typeof t)if(hb.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(hb.isArray(t)&&function(t){return hb.isArray(t)&&!t.some(dw)}(t)||(hb.isFileList(t)||hb.endsWith(r,"[]"))&&(s=hb.toArray(t)))return r=yw(r),s.forEach((function(t,n){!hb.isUndefined(t)&&null!==t&&e.append(!0===a?mw([r],n,i):null===a?r:r+"[]",u(t))})),!1;return!!dw(t)||(e.append(mw(o,r,i),u(t)),!1)}const l=[],p=Object.assign(gw,{defaultVisitor:c,convertValue:u,isVisitable:dw});if(!hb.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!hb.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),hb.forEach(r,(function(r,i){!0===(!(hb.isUndefined(r)||null===r)&&o.call(e,r,hb.isString(i)?i.trim():i,n,p))&&t(r,n?n.concat(i):[i])})),l.pop()}}(t),e}function bw(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function ww(t,e){this._pairs=[],t&&vw(t,this,e)}const xw=ww.prototype;function Sw(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Aw(t,e,r){if(!e)return t;const n=r&&r.encode||Sw;hb.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(i=o?o(e,r):hb.isURLSearchParams(e)?e.toString():new ww(e,r).toString(n),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}xw.append=function(t,e){this._pairs.push([t,e])},xw.toString=function(t){const e=t?function(e){return t.call(this,e,bw)}:bw;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};class Ew{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){hb.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}var Pw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Rw={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ww,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Ow="undefined"!=typeof window&&"undefined"!=typeof document,kw="object"==typeof navigator&&navigator||void 0,jw=Ow&&(!kw||["ReactNative","NativeScript","NS"].indexOf(kw.product)<0),Tw="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Iw=Ow&&window.location.href||"http://localhost";var _w={...Object.freeze({__proto__:null,hasBrowserEnv:Ow,hasStandardBrowserEnv:jw,hasStandardBrowserWebWorkerEnv:Tw,navigator:kw,origin:Iw}),...Rw};function Nw(t){function e(t,r,n,o){let i=t[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&hb.isArray(n)?n.length:i,s)return hb.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&hb.isObject(n[i])||(n[i]=[]);return e(t,r,n[i],o)&&hb.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(hb.isFormData(t)&&hb.isFunction(t.entries)){const r={};return hb.forEachEntry(t,((t,n)=>{e(function(t){return hb.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null}const Uw={transitional:Pw,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=hb.isObject(t);o&&hb.isHTMLForm(t)&&(t=new FormData(t));if(hb.isFormData(t))return n?JSON.stringify(Nw(t)):t;if(hb.isArrayBuffer(t)||hb.isBuffer(t)||hb.isStream(t)||hb.isFile(t)||hb.isBlob(t)||hb.isReadableStream(t))return t;if(hb.isArrayBufferView(t))return t.buffer;if(hb.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 vw(t,new _w.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return _w.isNode&&hb.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=hb.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return vw(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),function(t,e,r){if(hb.isString(t))try{return(e||JSON.parse)(t),hb.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||Uw.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(hb.isResponse(t)||hb.isReadableStream(t))return t;if(t&&hb.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 pw.from(t,pw.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:_w.classes.FormData,Blob:_w.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};hb.forEach(["delete","get","head","post","put","patch"],(t=>{Uw.headers[t]={}}));const Cw=hb.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 Fw=Symbol("internals");function Lw(t){return t&&String(t).trim().toLowerCase()}function Bw(t){return!1===t||null==t?t:hb.isArray(t)?t.map(Bw):String(t)}function Dw(t,e,r,n,o){return hb.isFunction(n)?n.call(this,e,r):(o&&(e=r),hb.isString(e)?hb.isString(n)?-1!==e.indexOf(n):hb.isRegExp(n)?n.test(e):void 0:void 0)}let Mw=class{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=Lw(e);if(!o)throw new Error("header name must be a non-empty string");const i=hb.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=Bw(t))}const i=(t,e)=>hb.forEach(t,((t,r)=>o(t,r,e)));if(hb.isPlainObject(t)||t instanceof this.constructor)i(t,e);else if(hb.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]&&Cw[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e);else if(hb.isHeaders(t))for(const[e,n]of t.entries())o(n,e,r);else null!=t&&o(e,t,r);return this}get(t,e){if(t=Lw(t)){const r=hb.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(hb.isFunction(e))return e.call(this,t,r);if(hb.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Lw(t)){const r=hb.findKey(this,t);return!(!r||void 0===this[r]||e&&!Dw(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=Lw(t)){const o=hb.findKey(r,t);!o||e&&!Dw(0,r[o],o,e)||(delete r[o],n=!0)}}return hb.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&&!Dw(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return hb.forEach(this,((n,o)=>{const i=hb.findKey(r,o);if(i)return e[i]=Bw(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]=Bw(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 hb.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&hb.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[Fw]=this[Fw]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=Lw(t);e[n]||(!function(t,e){const r=hb.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 hb.isArray(t)?t.forEach(n):n(t),this}};function qw(t,e){const r=this||Uw,n=e||r,o=Mw.from(n.headers);let i=n.data;return hb.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function Ww(t){return!(!t||!t.__CANCEL__)}function Gw(t,e,r){pw.call(this,null==t?"canceled":t,pw.ERR_CANCELED,e,r),this.name="CanceledError"}function zw(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new pw("Request failed with status code "+r.status,[pw.ERR_BAD_REQUEST,pw.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}Mw.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),hb.reduceDescriptors(Mw.prototype,((t,e)=>{let{value:r}=t,n=e[0].toUpperCase()+e.slice(1);return{get:()=>r,set(t){this[n]=t}}})),hb.freezeMethods(Mw),hb.inherits(Gw,pw,{__CANCEL__:!0});const Hw=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=0;const o=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 function(t,e){let r,n,o=0,i=1e3/e;const a=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,r=null,n&&(clearTimeout(n),n=null),t.apply(null,e)};return[function(){const t=Date.now(),e=t-o;for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];e>=i?a(u,t):(r=u,n||(n=setTimeout((()=>{n=null,a(r)}),i-e)))},()=>r&&a(r)]}((r=>{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,u=o(s);n=i;t({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:r,lengthComputable:null!=a,[e?"download":"upload"]:!0})}),r)},$w=(t,e)=>{const r=null!=t;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},Vw=t=>function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return hb.asap((()=>t(...r)))};var Kw=_w.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,_w.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(_w.origin),_w.navigator&&/(msie|trident)/i.test(_w.navigator.userAgent)):()=>!0,Yw=_w.hasStandardBrowserEnv?{write(t,e,r,n,o,i){const a=[t+"="+encodeURIComponent(e)];hb.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),hb.isString(n)&&a.push("path="+n),hb.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Jw(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}const Qw=t=>t instanceof Mw?{...t}:t;function Xw(t,e){e=e||{};const r={};function n(t,e,r,n){return hb.isPlainObject(t)&&hb.isPlainObject(e)?hb.merge.call({caseless:n},t,e):hb.isPlainObject(e)?hb.merge({},e):hb.isArray(e)?e.slice():e}function o(t,e,r,o){return hb.isUndefined(e)?hb.isUndefined(t)?void 0:n(void 0,t,0,o):n(t,e,0,o)}function i(t,e){if(!hb.isUndefined(e))return n(void 0,e)}function a(t,e){return hb.isUndefined(e)?hb.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function s(r,o,i){return i in e?n(r,o):i in t?n(void 0,r):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e,r)=>o(Qw(t),Qw(e),0,!0)};return hb.forEach(Object.keys(Object.assign({},t,e)),(function(n){const i=u[n]||o,a=i(t[n],e[n],n);hb.isUndefined(a)&&i!==s||(r[n]=a)})),r}var Zw=t=>{const e=Xw({},t);let r,{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:u}=e;if(e.headers=s=Mw.from(s),e.url=Aw(Jw(e.baseURL,e.url),t.params,t.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),hb.isFormData(n))if(_w.hasStandardBrowserEnv||_w.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(r=s.getContentType())){const[t,...e]=r?r.split(";").map((t=>t.trim())).filter(Boolean):[];s.setContentType([t||"multipart/form-data",...e].join("; "))}if(_w.hasStandardBrowserEnv&&(o&&hb.isFunction(o)&&(o=o(e)),o||!1!==o&&Kw(e.url))){const t=i&&a&&Yw.read(a);t&&s.set(i,t)}return e};var tx="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){const n=Zw(t);let o=n.data;const i=Mw.from(n.headers).normalize();let a,s,u,c,l,{responseType:p,onUploadProgress:f,onDownloadProgress:h}=n;function d(){c&&c(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let y=new XMLHttpRequest;function m(){if(!y)return;const n=Mw.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());zw((function(t){e(t),d()}),(function(t){r(t),d()}),{data:p&&"text"!==p&&"json"!==p?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:t,request:y}),y=null}y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout,"onloadend"in y?y.onloadend=m:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(m)},y.onabort=function(){y&&(r(new pw("Request aborted",pw.ECONNABORTED,t,y)),y=null)},y.onerror=function(){r(new pw("Network Error",pw.ERR_NETWORK,t,y)),y=null},y.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||Pw;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new pw(e,o.clarifyTimeoutError?pw.ETIMEDOUT:pw.ECONNABORTED,t,y)),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&hb.forEach(i.toJSON(),(function(t,e){y.setRequestHeader(e,t)})),hb.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),p&&"json"!==p&&(y.responseType=n.responseType),h&&([u,l]=Hw(h,!0),y.addEventListener("progress",u)),f&&y.upload&&([s,c]=Hw(f),y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(a=e=>{y&&(r(!e||e.type?new Gw(null,t,y):e),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const g=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(n.url);g&&-1===_w.protocols.indexOf(g)?r(new pw("Unsupported protocol "+g+":",pw.ERR_BAD_REQUEST,t)):y.send(o||null)}))};const ex=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let r,n=new AbortController;const o=function(t){if(!r){r=!0,a();const e=t instanceof Error?t:this.reason;n.abort(e instanceof pw?e:new Gw(e instanceof Error?e.message:e))}};let i=e&&setTimeout((()=>{i=null,o(new pw(`timeout ${e} of ms exceeded`,pw.ETIMEDOUT))}),e);const a=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)})),t=null)};t.forEach((t=>t.addEventListener("abort",o)));const{signal:s}=n;return s.unsubscribe=()=>hb.asap(a),s}},rx=function*(t,e){let r=t.byteLength;if(r<e)return void(yield t);let n,o=0;for(;o<r;)n=o+e,yield t.slice(o,n),o=n},nx=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:r}=await e.read();if(t)break;yield r}}finally{await e.cancel()}},ox=(t,e,r,n)=>{const o=async function*(t,e){for await(const r of nx(t))yield*rx(r,e)}(t,e);let i,a=0,s=t=>{i||(i=!0,n&&n(t))};return new ReadableStream({async pull(t){try{const{done:e,value:n}=await o.next();if(e)return s(),void t.close();let i=n.byteLength;if(r){let t=a+=i;r(t)}t.enqueue(new Uint8Array(n))}catch(t){throw s(t),t}},cancel:t=>(s(t),o.return())},{highWaterMark:2})},ix="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,ax=ix&&"function"==typeof ReadableStream,sx=ix&&("function"==typeof TextEncoder?(ux=new TextEncoder,t=>ux.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var ux;const cx=function(t){try{for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return!!t(...r)}catch(t){return!1}},lx=ax&&cx((()=>{let t=!1;const e=new Request(_w.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),px=ax&&cx((()=>hb.isReadableStream(new Response("").body))),fx={stream:px&&(t=>t.body)};var hx;ix&&(hx=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!fx[t]&&(fx[t]=hb.isFunction(hx[t])?e=>e[t]():(e,r)=>{throw new pw(`Response type '${t}' is not supported`,pw.ERR_NOT_SUPPORT,r)})})));const dx=async(t,e)=>{const r=hb.toFiniteNumber(t.getContentLength());return null==r?(async t=>{if(null==t)return 0;if(hb.isBlob(t))return t.size;if(hb.isSpecCompliantForm(t)){const e=new Request(_w.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return hb.isArrayBufferView(t)||hb.isArrayBuffer(t)?t.byteLength:(hb.isURLSearchParams(t)&&(t+=""),hb.isString(t)?(await sx(t)).byteLength:void 0)})(e):r};var yx=ix&&(async t=>{let{url:e,method:r,data:n,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:u,responseType:c,headers:l,withCredentials:p="same-origin",fetchOptions:f}=Zw(t);c=c?(c+"").toLowerCase():"text";let h,d=ex([o,i&&i.toAbortSignal()],a);const y=d&&d.unsubscribe&&(()=>{d.unsubscribe()});let m;try{if(u&&lx&&"get"!==r&&"head"!==r&&0!==(m=await dx(l,n))){let t,r=new Request(e,{method:"POST",body:n,duplex:"half"});if(hb.isFormData(n)&&(t=r.headers.get("content-type"))&&l.setContentType(t),r.body){const[t,e]=$w(m,Hw(Vw(u)));n=ox(r.body,65536,t,e)}}hb.isString(p)||(p=p?"include":"omit");const o="credentials"in Request.prototype;h=new Request(e,{...f,signal:d,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:o?p:void 0});let i=await fetch(h);const a=px&&("stream"===c||"response"===c);if(px&&(s||a&&y)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=i[e]}));const e=hb.toFiniteNumber(i.headers.get("content-length")),[r,n]=s&&$w(e,Hw(Vw(s),!0))||[];i=new Response(ox(i.body,65536,r,(()=>{n&&n(),y&&y()})),t)}c=c||"text";let g=await fx[hb.findKey(fx,c)||"text"](i,t);return!a&&y&&y(),await new Promise(((e,r)=>{zw(e,r,{data:g,headers:Mw.from(i.headers),status:i.status,statusText:i.statusText,config:t,request:h})}))}catch(e){if(y&&y(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new pw("Network Error",pw.ERR_NETWORK,t,h),{cause:e.cause||e});throw pw.from(e,e&&e.code,t,h)}});const mx={http:null,xhr:tx,fetch:yx};hb.forEach(mx,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const gx=t=>`- ${t}`,vx=t=>hb.isFunction(t)||null===t||!1===t;var bx=t=>{t=hb.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let i=0;i<e;i++){let e;if(r=t[i],n=r,!vx(r)&&(n=mx[(e=String(r)).toLowerCase()],void 0===n))throw new pw(`Unknown adapter '${e}'`);if(n)break;o[e||"#"+i]=n}if(!n){const t=Object.entries(o).map((t=>{let[e,r]=t;return`adapter ${e} `+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new pw("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(gx).join("\n"):" "+gx(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function wx(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Gw(null,t)}function xx(t){wx(t),t.headers=Mw.from(t.headers),t.data=qw.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return bx(t.adapter||Uw.adapter)(t).then((function(e){return wx(t),e.data=qw.call(t,t.transformResponse,e),e.headers=Mw.from(e.headers),e}),(function(e){return Ww(e)||(wx(t),e&&e.response&&(e.response.data=qw.call(t,t.transformResponse,e.response),e.response.headers=Mw.from(e.response.headers))),Promise.reject(e)}))}const Sx="1.7.9",Ax={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Ax[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const Ex={};Ax.transitional=function(t,e,r){function n(t,e){return"[Axios v1.7.9] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,i)=>{if(!1===t)throw new pw(n(o," has been removed"+(e?" in "+e:"")),pw.ERR_DEPRECATED);return e&&!Ex[o]&&(Ex[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)}},Ax.spelling=function(t){return(e,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};var Px={assertOptions:function(t,e,r){if("object"!=typeof t)throw new pw("options must be an object",pw.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 pw("option "+i+" must be "+r,pw.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new pw("Unknown option "+i,pw.ERR_BAD_OPTION)}},validators:Ax};const Rx=Px.validators;let Ox=class{constructor(t){this.defaults=t,this.interceptors={request:new Ew,response:new Ew}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const r=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?r&&!String(t.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+r):t.stack=r}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Xw(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;void 0!==r&&Px.assertOptions(r,{silentJSONParsing:Rx.transitional(Rx.boolean),forcedJSONParsing:Rx.transitional(Rx.boolean),clarifyTimeoutError:Rx.transitional(Rx.boolean)},!1),null!=n&&(hb.isFunction(n)?e.paramsSerializer={serialize:n}:Px.assertOptions(n,{encode:Rx.function,serialize:Rx.function},!0)),Px.assertOptions(e,{baseUrl:Rx.spelling("baseURL"),withXsrfToken:Rx.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&hb.merge(o.common,o[e.method]);o&&hb.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=Mw.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=[xx.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=xx.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 Aw(Jw((t=Xw(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}};hb.forEach(["delete","get","head","options"],(function(t){Ox.prototype[t]=function(e,r){return this.request(Xw(r||{},{method:t,url:e,data:(r||{}).data}))}})),hb.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(Xw(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Ox.prototype[t]=e(),Ox.prototype[t+"Form"]=e(!0)}));const kx={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(kx).forEach((t=>{let[e,r]=t;kx[r]=e}));const jx=function t(e){const r=new Ox(e),n=Ev(Ox.prototype.request,r);return hb.extend(n,Ox.prototype,r,{allOwnKeys:!0}),hb.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(Xw(e,r))},n}(Uw);jx.Axios=Ox,jx.CanceledError=Gw,jx.CancelToken=class t{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 Gw(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)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let e;return{token:new t((function(t){e=t})),cancel:e}}},jx.isCancel=Ww,jx.VERSION=Sx,jx.toFormData=vw,jx.AxiosError=pw,jx.Cancel=jx.CanceledError,jx.all=function(t){return Promise.all(t)},jx.spread=function(t){return function(e){return t.apply(null,e)}},jx.isAxiosError=function(t){return hb.isObject(t)&&!0===t.isAxiosError},jx.mergeConfig=Xw,jx.AxiosHeaders=Mw,jx.formToJSON=t=>Nw(hb.isHTMLForm(t)?new FormData(t):t),jx.getAdapter=bx,jx.HttpStatusCode=kx,jx.default=jx;const{Axios:Tx,AxiosError:Ix,CanceledError:_x,isCancel:Nx,CancelToken:Ux,VERSION:Cx,all:Fx,Cancel:Lx,isAxiosError:Bx,spread:Dx,toFormData:Mx,AxiosHeaders:qx,HttpStatusCode:Wx,formToJSON:Gx,getAdapter:zx,mergeConfig:Hx}=jx;var $x=function(){return u((function t(e){var r=e.responseHandler,n=e.requestConfigBuilder;a(this,t),this.responseHandler=r,this.requestConfigBuilder=n}),[{key:"get",value:(s=o(m().mark((function t(e,r){var n;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return s.apply(this,arguments)})},{key:"getData",value:(i=o(m().mark((function t(e,r){var n;return m().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 i.apply(this,arguments)})},{key:"post",value:(n=o(m().mark((function t(e,r){var n;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return n.apply(this,arguments)})},{key:"postData",value:(r=o(m().mark((function t(e,r){var n;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},{key:"put",value:(e=o(m().mark((function t(e,r){var n;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("put",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,r){return e.apply(this,arguments)})},{key:"delete",value:(t=o(m().mark((function t(e,r){var n;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("delete",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(e,r){return t.apply(this,arguments)})},{key:"sendRequest",value:function(t){return this.responseHandler.handle(jx(d(d({},t),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]);var t,e,r,n,i,s}(),Vx=Po,Kx=tt,Yx=st,Jx=bm,Qx=H([].join);Vx({target:"Array",proto:!0,forced:Kx!==Object||!Jx("join",",")},{join:function(t){return Qx(Yx(this),void 0===t?",":t)}});var Xx,Zx=Error,tS=EvalError,eS=RangeError,rS=ReferenceError,nS=SyntaxError,oS=TypeError,iS=URIError,aS="undefined"!=typeof Symbol&&Symbol,sS=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},uS={foo:{}},cS=Object,lS=Object.prototype.toString,pS=Math.max,fS=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var o=0;o<e.length;o+=1)r[o+t.length]=e[o];return r},hS=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==lS.apply(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var r,n=function(t,e){for(var r=[],n=e,o=0;n<t.length;n+=1,o+=1)r[o]=t[n];return r}(arguments,1),o=pS(0,e.length-n.length),i=[],a=0;a<o;a++)i[a]="$"+a;if(r=Function("binder","return function ("+function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r}(i,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var o=e.apply(this,fS(n,arguments));return Object(o)===o?o:this}return e.apply(t,fS(n,arguments))})),e.prototype){var s=function(){};s.prototype=e.prototype,r.prototype=new s,s.prototype=null}return r},dS=Function.prototype.bind||hS,yS=Function.prototype.call,mS=Object.prototype.hasOwnProperty,gS=dS.call(yS,mS),vS=Zx,bS=tS,wS=eS,xS=rS,SS=nS,AS=oS,ES=iS,PS=Function,RS=function(t){try{return PS('"use strict"; return ('+t+").constructor;")()}catch(t){}},OS=Object.getOwnPropertyDescriptor;if(OS)try{OS({},"")}catch(t){OS=null}var kS=function(){throw new AS},jS=OS?function(){try{return kS}catch(t){try{return OS(arguments,"callee").get}catch(t){return kS}}}():kS,TS="function"==typeof aS&&"function"==typeof Symbol&&"symbol"==typeof aS("foo")&&"symbol"==typeof Symbol("bar")&&sS(),IS={__proto__:uS}.foo===uS.foo&&!({__proto__:null}instanceof cS),_S=Object.getPrototypeOf||(IS?function(t){return t.__proto__}:null),NS={},US="undefined"!=typeof Uint8Array&&_S?_S(Uint8Array):Xx,CS={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?Xx:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Xx:ArrayBuffer,"%ArrayIteratorPrototype%":TS&&_S?_S([][Symbol.iterator]()):Xx,"%AsyncFromSyncIteratorPrototype%":Xx,"%AsyncFunction%":NS,"%AsyncGenerator%":NS,"%AsyncGeneratorFunction%":NS,"%AsyncIteratorPrototype%":NS,"%Atomics%":"undefined"==typeof Atomics?Xx:Atomics,"%BigInt%":"undefined"==typeof BigInt?Xx:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?Xx:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?Xx:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Xx:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":vS,"%eval%":eval,"%EvalError%":bS,"%Float32Array%":"undefined"==typeof Float32Array?Xx:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Xx:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Xx:FinalizationRegistry,"%Function%":PS,"%GeneratorFunction%":NS,"%Int8Array%":"undefined"==typeof Int8Array?Xx:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Xx:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Xx:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":TS&&_S?_S(_S([][Symbol.iterator]())):Xx,"%JSON%":"object"==typeof JSON?JSON:Xx,"%Map%":"undefined"==typeof Map?Xx:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&TS&&_S?_S((new Map)[Symbol.iterator]()):Xx,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Xx:Promise,"%Proxy%":"undefined"==typeof Proxy?Xx:Proxy,"%RangeError%":wS,"%ReferenceError%":xS,"%Reflect%":"undefined"==typeof Reflect?Xx:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Xx:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&TS&&_S?_S((new Set)[Symbol.iterator]()):Xx,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Xx:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":TS&&_S?_S(""[Symbol.iterator]()):Xx,"%Symbol%":TS?Symbol:Xx,"%SyntaxError%":SS,"%ThrowTypeError%":jS,"%TypedArray%":US,"%TypeError%":AS,"%Uint8Array%":"undefined"==typeof Uint8Array?Xx:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Xx:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Xx:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Xx:Uint32Array,"%URIError%":ES,"%WeakMap%":"undefined"==typeof WeakMap?Xx:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Xx:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Xx:WeakSet};if(_S)try{null.error}catch(t){var FS=_S(_S(t));CS["%Error.prototype%"]=FS}var LS=function t(e){var r;if("%AsyncFunction%"===e)r=RS("async function () {}");else if("%GeneratorFunction%"===e)r=RS("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=RS("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&_S&&(r=_S(o.prototype))}return CS[e]=r,r},BS={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},DS=dS,MS=gS,qS=DS.call(Function.call,Array.prototype.concat),WS=DS.call(Function.apply,Array.prototype.splice),GS=DS.call(Function.call,String.prototype.replace),zS=DS.call(Function.call,String.prototype.slice),HS=DS.call(Function.call,RegExp.prototype.exec),$S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,VS=/\\(\\)?/g,KS=function(t,e){var r,n=t;if(MS(BS,n)&&(n="%"+(r=BS[n])[0]+"%"),MS(CS,n)){var o=CS[n];if(o===NS&&(o=LS(n)),void 0===o&&!e)throw new AS("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new SS("intrinsic "+t+" does not exist!")},YS=function(t,e){if("string"!=typeof t||0===t.length)throw new AS("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new AS('"allowMissing" argument must be a boolean');if(null===HS(/^%?[^%]*%?$/,t))throw new SS("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=zS(t,0,1),r=zS(t,-1);if("%"===e&&"%"!==r)throw new SS("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new SS("invalid intrinsic syntax, expected opening `%`");var n=[];return GS(t,$S,(function(t,e,r,o){n[n.length]=r?GS(o,VS,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=KS("%"+n+"%",e),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],WS(r,qS([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c],f=zS(p,0,1),h=zS(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new SS("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),MS(CS,i="%"+(n+="."+p)+"%"))a=CS[i];else if(null!=a){if(!(p in a)){if(!e)throw new AS("base intrinsic for "+t+" exists, but the property is not available.");return}if(OS&&c+1>=r.length){var d=OS(a,p);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[p]}else l=MS(a,p),a=a[p];l&&!s&&(CS[i]=a)}}return a},JS={exports:{}},QS=Object,XS=Math.abs,ZS=Math.floor,tA=Math.max,eA=Math.min,rA=Math.pow,nA=Math.round,oA=Number.isNaN||function(t){return t!=t},iA=Object.getOwnPropertyDescriptor;if(iA)try{iA([],"length")}catch(t){iA=null}var aA,sA,uA,cA,lA,pA,fA,hA,dA,yA,mA,gA,vA,bA,wA,xA,SA,AA,EA,PA,RA,OA,kA,jA=iA,TA=Object.defineProperty||!1;if(TA)try{TA({},"a",{value:1})}catch(t){TA=!1}function IA(){return pA?lA:(pA=1,lA="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function _A(){return hA?fA:(hA=1,fA=QS.getPrototypeOf||null)}function NA(){return yA?dA:(yA=1,dA=Function.prototype.call)}function UA(){return gA?mA:(gA=1,mA=Function.prototype.apply)}function CA(){if(xA)return wA;xA=1;var t=dS,e=UA(),r=NA(),n=bA?vA:(bA=1,vA="undefined"!=typeof Reflect&&Reflect&&Reflect.apply);return wA=n||t.call(r,e)}function FA(){if(PA)return EA;PA=1;var t,e=function(){if(AA)return SA;AA=1;var t=dS,e=oS,r=NA(),n=CA();return SA=function(o){if(o.length<1||"function"!=typeof o[0])throw new e("a function is required");return n(t,r,o)}}(),r=jA;try{t=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var n=!!t&&r&&r(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return EA=n&&"function"==typeof n.get?e([n.get]):"function"==typeof i&&function(t){return i(null==t?t:o(t))}}var LA=QS,BA=Zx,DA=tS,MA=eS,qA=rS,WA=nS,GA=oS,zA=iS,HA=XS,$A=ZS,VA=tA,KA=eA,YA=rA,JA=nA,QA=function(t){return oA(t)||0===t?t:t<0?-1:1},XA=Function,ZA=function(t){try{return XA('"use strict"; return ('+t+").constructor;")()}catch(t){}},tE=jA,eE=TA,rE=function(){throw new GA},nE=tE?function(){try{return rE}catch(t){try{return tE(arguments,"callee").get}catch(t){return rE}}}():rE,oE=function(){if(cA)return uA;cA=1;var t="undefined"!=typeof Symbol&&Symbol,e=sA?aA:(sA=1,aA=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(var n 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 o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0});return uA=function(){return"function"==typeof t&&("function"==typeof Symbol&&("symbol"==typeof t("foo")&&("symbol"==typeof Symbol("bar")&&e())))}}()(),iE=function(){if(OA)return RA;OA=1;var t=IA(),e=_A(),r=FA();return RA=t?function(e){return t(e)}:e?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("getProto: not an object");return e(t)}:r?function(t){return r(t)}:null}(),aE=_A(),sE=IA(),uE=UA(),cE=NA(),lE={},pE="undefined"!=typeof Uint8Array&&iE?iE(Uint8Array):kA,fE={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?kA:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?kA:ArrayBuffer,"%ArrayIteratorPrototype%":oE&&iE?iE([][Symbol.iterator]()):kA,"%AsyncFromSyncIteratorPrototype%":kA,"%AsyncFunction%":lE,"%AsyncGenerator%":lE,"%AsyncGeneratorFunction%":lE,"%AsyncIteratorPrototype%":lE,"%Atomics%":"undefined"==typeof Atomics?kA:Atomics,"%BigInt%":"undefined"==typeof BigInt?kA:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?kA:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?kA:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?kA:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":BA,"%eval%":eval,"%EvalError%":DA,"%Float32Array%":"undefined"==typeof Float32Array?kA:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?kA:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?kA:FinalizationRegistry,"%Function%":XA,"%GeneratorFunction%":lE,"%Int8Array%":"undefined"==typeof Int8Array?kA:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?kA:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?kA:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":oE&&iE?iE(iE([][Symbol.iterator]())):kA,"%JSON%":"object"==typeof JSON?JSON:kA,"%Map%":"undefined"==typeof Map?kA:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&oE&&iE?iE((new Map)[Symbol.iterator]()):kA,"%Math%":Math,"%Number%":Number,"%Object%":LA,"%Object.getOwnPropertyDescriptor%":tE,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?kA:Promise,"%Proxy%":"undefined"==typeof Proxy?kA:Proxy,"%RangeError%":MA,"%ReferenceError%":qA,"%Reflect%":"undefined"==typeof Reflect?kA:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?kA:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&oE&&iE?iE((new Set)[Symbol.iterator]()):kA,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?kA:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":oE&&iE?iE(""[Symbol.iterator]()):kA,"%Symbol%":oE?Symbol:kA,"%SyntaxError%":WA,"%ThrowTypeError%":nE,"%TypedArray%":pE,"%TypeError%":GA,"%Uint8Array%":"undefined"==typeof Uint8Array?kA:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?kA:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?kA:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?kA:Uint32Array,"%URIError%":zA,"%WeakMap%":"undefined"==typeof WeakMap?kA:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?kA:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?kA:WeakSet,"%Function.prototype.call%":cE,"%Function.prototype.apply%":uE,"%Object.defineProperty%":eE,"%Object.getPrototypeOf%":aE,"%Math.abs%":HA,"%Math.floor%":$A,"%Math.max%":VA,"%Math.min%":KA,"%Math.pow%":YA,"%Math.round%":JA,"%Math.sign%":QA,"%Reflect.getPrototypeOf%":sE};if(iE)try{null.error}catch(t){var hE=iE(iE(t));fE["%Error.prototype%"]=hE}var dE,yE,mE=function t(e){var r;if("%AsyncFunction%"===e)r=ZA("async function () {}");else if("%GeneratorFunction%"===e)r=ZA("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=ZA("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&iE&&(r=iE(o.prototype))}return fE[e]=r,r},gE={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},vE=dS,bE=gS,wE=vE.call(cE,Array.prototype.concat),xE=vE.call(uE,Array.prototype.splice),SE=vE.call(cE,String.prototype.replace),AE=vE.call(cE,String.prototype.slice),EE=vE.call(cE,RegExp.prototype.exec),PE=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,RE=/\\(\\)?/g,OE=function(t,e){var r,n=t;if(bE(gE,n)&&(n="%"+(r=gE[n])[0]+"%"),bE(fE,n)){var o=fE[n];if(o===lE&&(o=mE(n)),void 0===o&&!e)throw new GA("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new WA("intrinsic "+t+" does not exist!")},kE=function(t,e){if("string"!=typeof t||0===t.length)throw new GA("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new GA('"allowMissing" argument must be a boolean');if(null===EE(/^%?[^%]*%?$/,t))throw new WA("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=AE(t,0,1),r=AE(t,-1);if("%"===e&&"%"!==r)throw new WA("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new WA("invalid intrinsic syntax, expected opening `%`");var n=[];return SE(t,PE,(function(t,e,r,o){n[n.length]=r?SE(o,RE,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=OE("%"+n+"%",e),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],xE(r,wE([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c],f=AE(p,0,1),h=AE(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new WA("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),bE(fE,i="%"+(n+="."+p)+"%"))a=fE[i];else if(null!=a){if(!(p in a)){if(!e)throw new GA("base intrinsic for "+t+" exists, but the property is not available.");return}if(tE&&c+1>=r.length){var d=tE(a,p);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[p]}else l=bE(a,p),a=a[p];l&&!s&&(fE[i]=a)}}return a};function jE(){if(yE)return dE;yE=1;var t=kE("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}return dE=t}var TE=YS("%Object.getOwnPropertyDescriptor%",!0);if(TE)try{TE([],"length")}catch(t){TE=null}var IE=TE,_E=jE(),NE=nS,UE=oS,CE=IE,FE=jE(),LE=function(){return!!FE};LE.hasArrayLengthDefineBug=function(){if(!FE)return null;try{return 1!==FE([],"length",{value:1}).length}catch(t){return!0}};var BE=kE,DE=function(t,e,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new UE("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new UE("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new UE("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new UE("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new UE("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new UE("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,a=arguments.length>6&&arguments[6],s=!!CE&&CE(t,e);if(_E)_E(t,e,{configurable:null===i&&s?s.configurable:!i,enumerable:null===n&&s?s.enumerable:!n,value:r,writable:null===o&&s?s.writable:!o});else{if(!a&&(n||o||i))throw new NE("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=r}},ME=LE(),qE=jA,WE=oS,GE=BE("%Math.floor%"),zE=function(t,e){if("function"!=typeof t)throw new WE("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||GE(e)!==e)throw new WE("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,o=!0;if("length"in t&&qE){var i=qE(t,"length");i&&!i.configurable&&(n=!1),i&&!i.writable&&(o=!1)}return(n||o||!r)&&(ME?DE(t,"length",e,!0,!0):DE(t,"length",e)),t};!function(t){var e=dS,r=YS,n=zE,o=oS,i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||e.call(a,i),u=jE(),c=r("%Math.max%");t.exports=function(t){if("function"!=typeof t)throw new o("a function is required");var r=s(e,a,arguments);return n(r,1+c(0,t.length-(arguments.length-1)),!0)};var l=function(){return s(e,i,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l}(JS);var HE=YS,$E=JS.exports,VE=$E(HE("String.prototype.indexOf")),KE=E(Object.freeze({__proto__:null,default:{}})),YE="function"==typeof Map&&Map.prototype,JE=Object.getOwnPropertyDescriptor&&YE?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,QE=YE&&JE&&"function"==typeof JE.get?JE.get:null,XE=YE&&Map.prototype.forEach,ZE="function"==typeof Set&&Set.prototype,tP=Object.getOwnPropertyDescriptor&&ZE?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,eP=ZE&&tP&&"function"==typeof tP.get?tP.get:null,rP=ZE&&Set.prototype.forEach,nP="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,oP="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,iP="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,aP=Boolean.prototype.valueOf,sP=Object.prototype.toString,uP=Function.prototype.toString,cP=String.prototype.match,lP=String.prototype.slice,pP=String.prototype.replace,fP=String.prototype.toUpperCase,hP=String.prototype.toLowerCase,dP=RegExp.prototype.test,yP=Array.prototype.concat,mP=Array.prototype.join,gP=Array.prototype.slice,vP=Math.floor,bP="function"==typeof BigInt?BigInt.prototype.valueOf:null,wP=Object.getOwnPropertySymbols,xP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,SP="function"==typeof Symbol&&"object"==typeof Symbol.iterator,AP="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===SP||"symbol")?Symbol.toStringTag:null,EP=Object.prototype.propertyIsEnumerable,PP=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function RP(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||dP.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-vP(-t):vP(t);if(n!==t){var o=String(n),i=lP.call(e,o.length+1);return pP.call(o,r,"$&_")+"."+pP.call(pP.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return pP.call(e,r,"$&_")}var OP=KE,kP=OP.custom,jP=UP(kP)?kP:null;function TP(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function IP(t){return pP.call(String(t),/"/g,""")}function _P(t){return!("[object Array]"!==LP(t)||AP&&"object"==typeof t&&AP in t)}function NP(t){return!("[object RegExp]"!==LP(t)||AP&&"object"==typeof t&&AP in t)}function UP(t){if(SP)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!xP)return!1;try{return xP.call(t),!0}catch(t){}return!1}var CP=Object.prototype.hasOwnProperty||function(t){return t in this};function FP(t,e){return CP.call(t,e)}function LP(t){return sP.call(t)}function BP(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 DP(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return DP(lP.call(t,0,e.maxStringLength),e)+n}return TP(pP.call(pP.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,MP),"single",e)}function MP(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":"")+fP.call(e.toString(16))}function qP(t){return"Object("+t+")"}function WP(t){return t+" { ? }"}function GP(t,e,r,n){return t+" ("+e+") {"+(n?zP(r,n):mP.call(r,", "))+"}"}function zP(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+mP.call(t,","+r)+"\n"+e.prev}function HP(t,e){var r=_P(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=FP(t,o)?e(t[o],t):""}var i,a="function"==typeof wP?wP(t):[];if(SP){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in t)FP(t,u)&&(r&&String(Number(u))===u&&u<t.length||SP&&i["$"+u]instanceof Symbol||(dP.call(/[^\w$]/,u)?n.push(e(u,t)+": "+e(t[u],t)):n.push(u+": "+e(t[u],t))));if("function"==typeof wP)for(var c=0;c<a.length;c++)EP.call(t,a[c])&&n.push("["+e(a[c])+"]: "+e(t[a[c]],t));return n}var $P=YS,VP=function(t,e){var r=HE(t,!!e);return"function"==typeof r&&VE(t,".prototype.")>-1?$E(r):r},KP=function t(e,r,n,o){var i=r||{};if(FP(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(FP(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=!FP(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(FP(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(FP(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 DP(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var u=String(e);return s?RP(e,u):u}if("bigint"==typeof e){var c=String(e)+"n";return s?RP(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 _P(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=mP.call(Array(t.indent+1)," ")}return{base:r,prev:mP.call(Array(e+1),r)}}(i,n);if(void 0===o)o=[];else if(BP(o,e)>=0)return"[Circular]";function f(e,r,a){if(r&&(o=gP.call(o)).push(r),a){var s={depth:i.depth};return FP(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),t(e,s,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e&&!NP(e)){var h=function(t){if(t.name)return t.name;var e=cP.call(uP.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),d=HP(e,f);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+mP.call(d,", ")+" }":"")}if(UP(e)){var y=SP?pP.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):xP.call(e);return"object"!=typeof e||SP?y:qP(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="<"+hP.call(String(e.nodeName)),g=e.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+TP(IP(g[v].value),"double",i);return m+=">",e.childNodes&&e.childNodes.length&&(m+="..."),m+="</"+hP.call(String(e.nodeName))+">"}if(_P(e)){if(0===e.length)return"[]";var b=HP(e,f);return p&&!function(t){for(var e=0;e<t.length;e++)if(BP(t[e],"\n")>=0)return!1;return!0}(b)?"["+zP(b,p)+"]":"[ "+mP.call(b,", ")+" ]"}if(function(t){return!("[object Error]"!==LP(t)||AP&&"object"==typeof t&&AP in t)}(e)){var w=HP(e,f);return"cause"in Error.prototype||!("cause"in e)||EP.call(e,"cause")?0===w.length?"["+String(e)+"]":"{ ["+String(e)+"] "+mP.call(w,", ")+" }":"{ ["+String(e)+"] "+mP.call(yP.call("[cause]: "+f(e.cause),w),", ")+" }"}if("object"==typeof e&&a){if(jP&&"function"==typeof e[jP]&&OP)return OP(e,{depth:l-n});if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!QE||!t||"object"!=typeof t)return!1;try{QE.call(t);try{eP.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var x=[];return XE&&XE.call(e,(function(t,r){x.push(f(r,e,!0)+" => "+f(t,e))})),GP("Map",QE.call(e),x,p)}if(function(t){if(!eP||!t||"object"!=typeof t)return!1;try{eP.call(t);try{QE.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var A=[];return rP&&rP.call(e,(function(t){A.push(f(t,e))})),GP("Set",eP.call(e),A,p)}if(function(t){if(!nP||!t||"object"!=typeof t)return!1;try{nP.call(t,nP);try{oP.call(t,oP)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return WP("WeakMap");if(function(t){if(!oP||!t||"object"!=typeof t)return!1;try{oP.call(t,oP);try{nP.call(t,nP)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return WP("WeakSet");if(function(t){if(!iP||!t||"object"!=typeof t)return!1;try{return iP.call(t),!0}catch(t){}return!1}(e))return WP("WeakRef");if(function(t){return!("[object Number]"!==LP(t)||AP&&"object"==typeof t&&AP in t)}(e))return qP(f(Number(e)));if(function(t){if(!t||"object"!=typeof t||!bP)return!1;try{return bP.call(t),!0}catch(t){}return!1}(e))return qP(f(bP.call(e)));if(function(t){return!("[object Boolean]"!==LP(t)||AP&&"object"==typeof t&&AP in t)}(e))return qP(aP.call(e));if(function(t){return!("[object String]"!==LP(t)||AP&&"object"==typeof t&&AP in t)}(e))return qP(f(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if(e===S)return"{ [object globalThis] }";if(!function(t){return!("[object Date]"!==LP(t)||AP&&"object"==typeof t&&AP in t)}(e)&&!NP(e)){var E=HP(e,f),P=PP?PP(e)===Object.prototype:e instanceof Object||e.constructor===Object,R=e instanceof Object?"":"null prototype",O=!P&&AP&&Object(e)===e&&AP in e?lP.call(LP(e),8,-1):R?"Object":"",k=(P||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(O||R?"["+mP.call(yP.call([],O||[],R||[]),": ")+"] ":"");return 0===E.length?k+"{}":p?k+"{"+zP(E,p)+"}":k+"{ "+mP.call(E,", ")+" }"}return String(e)},YP=oS,JP=$P("%WeakMap%",!0),QP=$P("%Map%",!0),XP=VP("WeakMap.prototype.get",!0),ZP=VP("WeakMap.prototype.set",!0),tR=VP("WeakMap.prototype.has",!0),eR=VP("Map.prototype.get",!0),rR=VP("Map.prototype.set",!0),nR=VP("Map.prototype.has",!0),oR=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},iR=String.prototype.replace,aR=/%20/g,sR="RFC3986",uR={default:sR,formatters:{RFC1738:function(t){return iR.call(t,aR,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:sR},cR=uR,lR=Object.prototype.hasOwnProperty,pR=Array.isArray,fR=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),hR=function(t,e){for(var r=e&&e.plainObjects?{__proto__:null}:{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},dR=1024,yR={arrayToObject:hR,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(pR(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+=dR){for(var u=i.length>=dR?i.slice(s,s+dR):i,c=[],l=0;l<u.length;++l){var p=u.charCodeAt(l);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===cR.RFC1738&&(40===p||41===p)?c[c.length]=u.charAt(l):p<128?c[c.length]=fR[p]:p<2048?c[c.length]=fR[192|p>>6]+fR[128|63&p]:p<55296||p>=57344?c[c.length]=fR[224|p>>12]+fR[128|p>>6&63]+fR[128|63&p]:(l+=1,p=65536+((1023&p)<<10|1023&u.charCodeAt(l)),c[c.length]=fR[240|p>>18]+fR[128|p>>12&63]+fR[128|p>>6&63]+fR[128|63&p])}a+=c.join("")}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(pR(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&&"function"!=typeof r){if(pR(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!lR.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return pR(e)&&!pR(r)&&(o=hR(e,n)),pR(e)&&pR(r)?(r.forEach((function(r,o){if(lR.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 lR.call(e,o)?e[o]=t(e[o],i,n):e[o]=i,e}),o)}},mR=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new YP("Side channel does not contain "+KP(t))},get:function(n){if(JP&&n&&("object"==typeof n||"function"==typeof n)){if(t)return XP(t,n)}else if(QP){if(e)return eR(e,n)}else if(r)return function(t,e){var r=oR(t,e);return r&&r.value}(r,n)},has:function(n){if(JP&&n&&("object"==typeof n||"function"==typeof n)){if(t)return tR(t,n)}else if(QP){if(e)return nR(e,n)}else if(r)return function(t,e){return!!oR(t,e)}(r,n);return!1},set:function(n,o){JP&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new JP),ZP(t,n,o)):QP?(e||(e=new QP),rR(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=oR(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},gR=yR,vR=uR,bR=Object.prototype.hasOwnProperty,wR={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},xR=Array.isArray,SR=Array.prototype.push,AR=function(t,e){SR.apply(t,xR(e)?e:[e])},ER=Date.prototype.toISOString,PR=vR.default,RR={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:gR.encode,encodeValuesOnly:!1,filter:void 0,format:PR,formatter:vR.formatters[PR],indices:!1,serializeDate:function(t){return ER.call(t)},skipNulls:!1,strictNullHandling:!1},OR={},kR=function t(e,r,n,o,i,a,s,u,c,l,p,f,h,d,y,m,g,v){for(var b,w=e,x=v,S=0,A=!1;void 0!==(x=x.get(OR))&&!A;){var E=x.get(e);if(S+=1,void 0!==E){if(E===S)throw new RangeError("Cyclic object value");A=!0}void 0===x.get(OR)&&(S=0)}if("function"==typeof l?w=l(r,w):w instanceof Date?w=h(w):"comma"===n&&xR(w)&&(w=gR.maybeMap(w,(function(t){return t instanceof Date?h(t):t}))),null===w){if(a)return c&&!m?c(r,RR.encoder,g,"key",d):r;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||gR.isBuffer(w))return c?[y(m?r:c(r,RR.encoder,g,"key",d))+"="+y(c(w,RR.encoder,g,"value",d))]:[y(r)+"="+y(String(w))];var P,R=[];if(void 0===w)return R;if("comma"===n&&xR(w))m&&c&&(w=gR.maybeMap(w,c)),P=[{value:w.length>0?w.join(",")||null:void 0}];else if(xR(l))P=l;else{var O=Object.keys(w);P=p?O.sort(p):O}var k=u?String(r).replace(/\./g,"%2E"):String(r),j=o&&xR(w)&&1===w.length?k+"[]":k;if(i&&xR(w)&&0===w.length)return j+"[]";for(var T=0;T<P.length;++T){var I=P[T],_="object"==typeof I&&I&&void 0!==I.value?I.value:w[I];if(!s||null!==_){var N=f&&u?String(I).replace(/\./g,"%2E"):String(I),U=xR(w)?"function"==typeof n?n(j,N):j:j+(f?"."+N:"["+N+"]");v.set(e,S);var C=mR();C.set(OR,v),AR(R,t(_,U,n,o,i,a,s,u,"comma"===n&&m&&xR(w)?null:c,l,p,f,h,d,y,m,g,C))}}return R},jR=yR,TR=Object.prototype.hasOwnProperty,IR=Array.isArray,_R={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:jR.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},NR=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},UR=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},CR=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&&TR.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&&TR.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(a[1])}if(a){if(!0===r.strictDepth)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");u.push("["+o.slice(a.index)+"]")}return function(t,e,r,n){for(var o=n?e:UR(e,r),i=t.length-1;i>=0;--i){var a,s=t[i];if("[]"===s&&r.parseArrays)a=r.allowEmptyArrays&&(""===o||r.strictNullHandling&&null===o)?[]:[].concat(o);else{a=r.plainObjects?{__proto__:null}:{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=r.decodeDotInKeys?u.replace(/%2E/g,"."):u,l=parseInt(c,10);r.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:"__proto__"!==c&&(a[c]=o):a={0:o}}o=a}return o}(u,e,r,n)}},FR=function(t,e){var r,n=t,o=function(t){if(!t)return RR;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.encodeDotInKeys&&"boolean"!=typeof t.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||RR.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=vR.default;if(void 0!==t.format){if(!bR.call(vR.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n,o=vR.formatters[r],i=RR.filter;if(("function"==typeof t.filter||xR(t.filter))&&(i=t.filter),n=t.arrayFormat in wR?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":RR.arrayFormat,"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=void 0===t.allowDots?!0===t.encodeDotInKeys||RR.allowDots:!!t.allowDots;return{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:RR.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:RR.allowEmptyArrays,arrayFormat:n,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:RR.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:void 0===t.delimiter?RR.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:RR.encode,encodeDotInKeys:"boolean"==typeof t.encodeDotInKeys?t.encodeDotInKeys:RR.encodeDotInKeys,encoder:"function"==typeof t.encoder?t.encoder:RR.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:RR.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:RR.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:RR.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:RR.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):xR(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var a=wR[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var u=mR(),c=0;c<r.length;++c){var l=r[c],p=n[l];o.skipNulls&&null===p||AR(i,kR(p,l,a,s,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var f=i.join(o.delimiter),h=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),f.length>0?h+f:""},LR=function(t,e){var r=function(t){if(!t)return _R;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?_R.charset:t.charset,r=void 0===t.duplicates?_R.duplicates:t.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===t.allowDots?!0===t.decodeDotInKeys||_R.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:_R.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:_R.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:_R.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:_R.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:_R.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:_R.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:_R.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:_R.decoder,delimiter:"string"==typeof t.delimiter||jR.isRegExp(t.delimiter)?t.delimiter:_R.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:_R.depth,duplicates:r,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:_R.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:_R.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:_R.plainObjects,strictDepth:"boolean"==typeof t.strictDepth?!!t.strictDepth:_R.strictDepth,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:_R.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?{__proto__:null}:{};for(var n="string"==typeof t?function(t,e){var r={__proto__:null},n=e.ignoreQueryPrefix?t.replace(/^\?/,""):t;n=n.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=n.split(e.delimiter,i),s=-1,u=e.charset;if(e.charsetSentinel)for(o=0;o<a.length;++o)0===a[o].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[o]?u="utf-8":"utf8=%26%2310003%3B"===a[o]&&(u="iso-8859-1"),s=o,o=a.length);for(o=0;o<a.length;++o)if(o!==s){var c,l,p=a[o],f=p.indexOf("]="),h=-1===f?p.indexOf("="):f+1;-1===h?(c=e.decoder(p,_R.decoder,u,"key"),l=e.strictNullHandling?null:""):(c=e.decoder(p.slice(0,h),_R.decoder,u,"key"),l=jR.maybeMap(UR(p.slice(h+1),e),(function(t){return e.decoder(t,_R.decoder,u,"value")}))),l&&e.interpretNumericEntities&&"iso-8859-1"===u&&(l=NR(String(l))),p.indexOf("[]=")>-1&&(l=IR(l)?[l]:l);var d=TR.call(r,c);d&&"combine"===e.duplicates?r[c]=jR.combine(r[c],l):d&&"last"!==e.duplicates||(r[c]=l)}return r}(t,r):t,o=r.plainObjects?{__proto__:null}:{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],u=CR(s,n[s],r,"string"==typeof t);o=jR.merge(o,u,r)}return!0===r.allowSparse?o:jR.compact(o)},BR=A({formats:uR,parse:LR,stringify:FR});const DR="function"==typeof Buffer,MR=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),qR=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),WR=(t=>{let e={};return t.forEach(((t,r)=>e[t]=r)),e})(qR),GR=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,zR=String.fromCharCode.bind(String),HR=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_"))),$R=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),VR=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+=qR[e>>18&63]+qR[e>>12&63]+qR[e>>6&63]+qR[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},KR="function"==typeof btoa?t=>btoa(t):DR?t=>Buffer.from(t,"binary").toString("base64"):VR,YR=DR?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(zR.apply(null,t.subarray(r,r+4096)));return KR(e.join(""))},JR=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?zR(192|e>>>6)+zR(128|63&e):zR(224|e>>>12&15)+zR(128|e>>>6&63)+zR(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return zR(240|e>>>18&7)+zR(128|e>>>12&63)+zR(128|e>>>6&63)+zR(128|63&e)},QR=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,XR=t=>t.replace(QR,JR),ZR=DR?t=>Buffer.from(t,"utf8").toString("base64"):MR?t=>YR(MR.encode(t)):t=>KR(XR(t)),tO=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?HR(ZR(t)):ZR(t)},eO=t=>{if(t=t.replace(/\s+/g,""),!GR.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));let e,r,n,o="";for(let i=0;i<t.length;)e=WR[t.charAt(i++)]<<18|WR[t.charAt(i++)]<<12|(r=WR[t.charAt(i++)])<<6|(n=WR[t.charAt(i++)]),o+=64===r?zR(e>>16&255):64===n?zR(e>>16&255,e>>8&255):zR(e>>16&255,e>>8&255,255&e);return o},rO=tO;var nO,oO=function(){return u((function t(e){if(a(this,t),this.baseUrl=e.baseUrl,this.auth=e.auth,this.headers=this.buildHeaders({basicAuth:e.basicAuth,userAgent:e.userAgent}),"httpsAgent"in e){if("clientCertAuth"in e)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=e.httpsAgent}else"clientCertAuth"in e&&(this.clientCertAuth=e.clientCertAuth);this.proxy=e.proxy,this.requestToken=null,this.socketTimeout=e.socketTimeout}),[{key:"build",value:(n=o(m().mark((function t(r,n,o,i){var a,s,u,c;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a=d(d(d({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(n)},i||{}),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(!((s=this.buildRequestUrl(n,o)).length>4096)){t.next=15;break}return t.t1=d,t.t2=d({},a),t.t3={},t.t4=d(d({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),t.next=12,this.buildData(o);case 12:return t.t5=t.sent,t.t6={method:"post",headers:t.t4,data:t.t5},t.abrupt("return",(0,t.t1)(t.t2,t.t3,t.t6));case 15:return t.abrupt("return",d(d({},a),{},{url:s}));case 16:if(!(o instanceof sv)){t.next=21;break}return t.next=19,this.buildData(o);case 19:return u=t.sent,t.abrupt("return",d(d({},a),{},{headers:"function"==typeof u.getHeaders?d(d({},this.headers),u.getHeaders()):this.headers,data:u}));case 21:return t.t7=d,t.t8=d({},a),t.t9={},t.next=26,this.buildData(o);case 26:return t.t10=t.sent,t.t11={data:t.t10},t.abrupt("return",(0,t.t7)(t.t8,t.t9,t.t11));case 29:return t.t12=d,t.t13=d({},a),t.t14={},t.next=34,this.buildData(o);case 34:return t.t15=t.sent,t.t16={data:t.t15},t.abrupt("return",(0,t.t12)(t.t13,t.t14,t.t16));case 37:return t.t17=this,t.t18=n,t.next=41,this.buildData(o);case 41:return t.t19=t.sent,c=t.t17.buildRequestUrl.call(t.t17,t.t18,t.t19),t.abrupt("return",d(d({},a),{},{url:c}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return t.stop()}}),t,this)}))),function(t,e,r,o){return n.apply(this,arguments)})},{key:"buildProxyConfig",value:function(t){var e;if(void 0!==t){if(!1===t)return!1;var r=t;return!r.auth||0!==r.auth.username.length&&0!==r.auth.password.length||(r.auth=void 0),r.protocol=null!==(e=r.protocol)&&void 0!==e?e:"http",r}}},{key:"buildRequestUrl",value:function(t,e){return"".concat(this.baseUrl).concat(t,"?").concat(BR.stringify(e))}},{key:"buildData",value:(r=o(m().mark((function t(e){var r;return m().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 sv)){t.next=7;break}return e.append("__REQUEST_TOKEN__",r),t.abrupt("return",e);case 7:return t.abrupt("return",d({__REQUEST_TOKEN__:r},e));case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"buildHeaders",value:function(t){var r=t.basicAuth,n=t.userAgent,o=r?{Authorization:"Basic ".concat(rO("".concat(r.username,":").concat(r.password)))}:{},i=d(d({},e.buildHeaders({userAgent:n})),o);switch(this.auth.type){case"password":return d(d({},i),{},{"X-Cybozu-Authorization":rO("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var a=this.auth.apiToken;return Array.isArray(a)?d(d({},i),{},{"X-Cybozu-API-Token":a.join(",")}):d(d({},i),{},{"X-Cybozu-API-Token":a});case"oAuthToken":return d(d({},i),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return d(d({},i),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(t=o(m().mark((function t(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==this.requestToken){t.next=4;break}return t.next=3,e.getRequestToken();case 3:this.requestToken=t.sent;case 4:return t.abrupt("return",this.requestToken);case 5:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})}]);var t,r,n}(),iO=["data"],aO=function(){return u((function t(e){var r=e.enableAbortSearchError;a(this,t),this.enableAbortSearchError=r}),[{key:"handle",value:function(t){var e=this;return t.then((function(t){return e.handleSuccessResponse(t)}),(function(t){return e.handleErrorResponse(t)}))}},{key:"handleSuccessResponse",value:function(t){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(t.headers["x-cybozu-warning"]))throw new qg(t.headers["x-cybozu-warning"]);return t.data}},{key:"handleErrorResponse",value:function(t){if(!t.response){if(/mac verify failure/.test(t.toString()))throw new Error("invalid clientCertAuth setting");throw t}var e=t.response,r=e.data,n=y(e,iO);if("string"==typeof r)throw new Error("".concat(n.status,": ").concat(n.statusText));throw new tv(d({data:r},n))}}])}(),sO=function(){return u((function t(){var r,n,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a(this,t),uO(i),this.baseUrl=e.buildBaseUrl(i.baseUrl).replace(/\/+$/,"");var s=function(t){if("username"in t)return d({type:"password"},t);if("apiToken"in t)return d({type:"apiToken"},t);if("oAuthToken"in t)return d({type:"oAuthToken"},t);try{return e.getDefaultAuth()}catch(t){if(t instanceof Ki)throw new Error("session authentication is not supported in ".concat(t.platform," environment."));throw t}}(null!==(r=i.auth)&&void 0!==r?r:{}),u=new oO(d(d({},i),{},{baseUrl:this.baseUrl,auth:s})),c=new aO({enableAbortSearchError:null!==(n=null===(o=i.featureFlags)||void 0===o?void 0:o.enableAbortSearchError)&&void 0!==n&&n}),l=new $x({responseHandler:c,requestConfigBuilder:u}),p=i.guestSpaceId;this.bulkRequest_=new tm(l,p),this.record=new iv(l,this.bulkRequest_,p),this.app=new gm(l,p),this.space=new av(l,p),this.file=new uv(l,p),this.plugin=new cv(l)}),[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(t){return this.bulkRequest_.send(t)}}],[{key:"version",get:function(){return e.getVersion()}}])}(),uO=function(t){cO(t.baseUrl),lO(t.guestSpaceId),pO(t.socketTimeout)},cO=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".')}},lO=function(t){if(""===t||null===t)throw new Error("invalid guestSpaceId: got [".concat(t,"]"))},pO=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.")}};(nO=Zi).readFileFromPath&&(e.readFileFromPath=nO.readFileFromPath),nO.getRequestToken&&(e.getRequestToken=nO.getRequestToken),nO.getDefaultAuth&&(e.getDefaultAuth=nO.getDefaultAuth),nO.buildPlatformDependentConfig&&(e.buildPlatformDependentConfig=nO.buildPlatformDependentConfig),nO.buildHeaders&&(e.buildHeaders=nO.buildHeaders),nO.buildFormDataValue&&(e.buildFormDataValue=nO.buildFormDataValue),nO.buildBaseUrl&&(e.buildBaseUrl=nO.buildBaseUrl),nO.getVersion&&(e.getVersion=nO.getVersion),t.KintoneAbortSearchError=qg,t.KintoneAllRecordsError=Zg,t.KintoneRestAPIClient=sO,t.KintoneRestAPIError=tv}));
|
|
766
|
+
!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){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function n(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 o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function s(t){n(a,o,i,s,u,"next",t)}function u(t){n(a,o,i,s,u,"throw",t)}s(void 0)}))}}function i(t,e,r){return e=l(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,f()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r))}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(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,b(n.key),n)}}function u(t,e,r){return e&&s(t.prototype,e),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t,e,r){return(e=b(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(f=function(){return!!t})()}function h(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 d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function y(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],-1===e.indexOf(r)&&{}.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function m(){m=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(t,e,r,n){return Object.defineProperty(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n})}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(e,r,n,o){var i=r&&r.prototype instanceof f?r:f,a=Object.create(i.prototype);return u(a,"_invoke",function(e,r,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){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=S(s,n);if(u){if(u===p)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var c=l(e,r,n);if("normal"===c.type){if(o=n.done?4:2,c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=4,n.method="throw",n.arg=c.arg)}}}(e,n,new R(o||[])),!0),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=c;var p={};function f(){}function h(){}function d(){}var y={};u(y,i,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(O([])));v&&v!==r&&n.call(v,i)&&(y=v);var b=d.prototype=f.prototype=Object.create(y);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function r(o,i,a,s){var u=l(t[o],t,i);if("throw"!==u.type){var c=u.arg,p=c.value;return p&&"object"==typeof p&&n.call(p,"__await")?e.resolve(p.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(p).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var o;u(this,"_invoke",(function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}),!0)}function S(e,r){var n=r.method,o=e.i[n];if(o===t)return r.delegate=null,"throw"===n&&e.i.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var i=l(o,e.i,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,p;var a=i.arg;return a?a.done?(r[e.r]=a.value,r.next=e.n,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function E(t){this.tryEntries.push(t)}function A(e){var r=e[4]||{};r.type="normal",r.arg=t,e[4]=r}function R(t){this.tryEntries=[[-1]],t.forEach(E,this),this.reset(!0)}function O(e){if(null!=e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=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 a.next=a}}throw new TypeError(typeof e+" is not iterable")}return h.prototype=d,u(b,"constructor",d),u(d,"constructor",h),h.displayName=u(d,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},e.awrap=function(t){return{__await:t}},w(x.prototype),u(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new x(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(b),u(b,s,"Generator"),u(b,i,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.unshift(n);return function t(){for(;r.length;)if((n=r.pop())in e)return t.value=n,t.done=!1,t;return t.done=!0,t}},e.values=O,R.prototype={constructor:R,reset:function(e){if(this.prev=this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!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][4];if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(t){a.type="throw",a.arg=e,r.next=t}for(var o=r.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],s=this.prev,u=i[1],c=i[2];if(-1===i[0])return n("end"),!1;if(!u&&!c)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=s){if(s<u)return this.method="next",this.arg=t,n(u),!0;if(s<c)return n(c),!1}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n[0]>-1&&n[0]<=this.prev&&this.prev<n[2]){var o=n;break}}o&&("break"===t||"continue"===t)&&o[0]<=e&&e<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o[2],p):this.complete(i)},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),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[2]===t)return this.complete(r[4],r[3]),A(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[0]===t){var n=r[4];if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={i:O(e),r:r,n:n},"next"===this.method&&(this.arg=t),p}},e}function g(t,e){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},g(t,e)}function v(t){return function(t){if(Array.isArray(t))return r(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){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(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 b(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}function w(t){return w="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},w(t)}function x(t){var e="function"==typeof Map?new Map:void 0;return x=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(f())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&g(o,r.prototype),o}(t,arguments,l(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,t)},x(t)}var S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function E(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function A(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var r=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),r}var R=function(t){return t&&t.Math===Math&&t},O=R("object"==typeof globalThis&&globalThis)||R("object"==typeof window&&window)||R("object"==typeof self&&self)||R("object"==typeof S&&S)||R("object"==typeof S&&S)||function(){return this}()||Function("return this")(),P={},k=function(t){try{return!!t()}catch(t){return!0}},j=!k((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),T=!k((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),I=T,_=Function.prototype.call,N=I?_.bind(_):function(){return _.apply(_,arguments)},C={},U={}.propertyIsEnumerable,L=Object.getOwnPropertyDescriptor,F=L&&!U.call({1:2},1);C.f=F?function(t){var e=L(this,t);return!!e&&e.enumerable}:U;var D,B,M=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},q=T,W=Function.prototype,G=W.call,z=q&&W.bind.bind(G,G),H=q?z:function(t){return function(){return G.apply(t,arguments)}},$=H,V=$({}.toString),K=$("".slice),Y=function(t){return K(V(t),8,-1)},J=k,Q=Y,X=Object,Z=H("".split),tt=J((function(){return!X("z").propertyIsEnumerable(0)}))?function(t){return"String"===Q(t)?Z(t,""):X(t)}:X,et=function(t){return null==t},rt=et,nt=TypeError,ot=function(t){if(rt(t))throw new nt("Can't call method on "+t);return t},it=tt,at=ot,st=function(t){return it(at(t))},ut="object"==typeof document&&document.all,ct=void 0===ut&&void 0!==ut?function(t){return"function"==typeof t||t===ut}:function(t){return"function"==typeof t},lt=ct,pt=function(t){return"object"==typeof t?null!==t:lt(t)},ft=O,ht=ct,dt=function(t,e){return arguments.length<2?(r=ft[t],ht(r)?r:void 0):ft[t]&&ft[t][e];var r},yt=H({}.isPrototypeOf),mt=O.navigator,gt=mt&&mt.userAgent,vt=gt?String(gt):"",bt=O,wt=vt,xt=bt.process,St=bt.Deno,Et=xt&&xt.versions||St&&St.version,At=Et&&Et.v8;At&&(B=(D=At.split("."))[0]>0&&D[0]<4?1:+(D[0]+D[1])),!B&&wt&&(!(D=wt.match(/Edge\/(\d+)/))||D[1]>=74)&&(D=wt.match(/Chrome\/(\d+)/))&&(B=+D[1]);var Rt=B,Ot=Rt,Pt=k,kt=O.String,jt=!!Object.getOwnPropertySymbols&&!Pt((function(){var t=Symbol("symbol detection");return!kt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Ot&&Ot<41})),Tt=jt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,It=dt,_t=ct,Nt=yt,Ct=Object,Ut=Tt?function(t){return"symbol"==typeof t}:function(t){var e=It("Symbol");return _t(e)&&Nt(e.prototype,Ct(t))},Lt=String,Ft=function(t){try{return Lt(t)}catch(t){return"Object"}},Dt=ct,Bt=Ft,Mt=TypeError,qt=function(t){if(Dt(t))return t;throw new Mt(Bt(t)+" is not a function")},Wt=qt,Gt=et,zt=function(t,e){var r=t[e];return Gt(r)?void 0:Wt(r)},Ht=N,$t=ct,Vt=pt,Kt=TypeError,Yt={exports:{}},Jt=O,Qt=Object.defineProperty,Xt=function(t,e){try{Qt(Jt,t,{value:e,configurable:!0,writable:!0})}catch(r){Jt[t]=e}return e},Zt=O,te=Xt,ee="__core-js_shared__",re=Yt.exports=Zt[ee]||te(ee,{});(re.versions||(re.versions=[])).push({version:"3.40.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ne=Yt.exports,oe=ne,ie=function(t,e){return oe[t]||(oe[t]=e||{})},ae=ot,se=Object,ue=function(t){return se(ae(t))},ce=ue,le=H({}.hasOwnProperty),pe=Object.hasOwn||function(t,e){return le(ce(t),e)},fe=H,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=jt,xe=Tt,Se=O.Symbol,Ee=ge("wks"),Ae=xe?Se.for||Se:Se&&Se.withoutSetter||be,Re=function(t){return ve(Ee,t)||(Ee[t]=we&&ve(Se,t)?Se[t]:Ae("Symbol."+t)),Ee[t]},Oe=N,Pe=pt,ke=Ut,je=zt,Te=function(t,e){var r,n;if("string"===e&&$t(r=t.toString)&&!Vt(n=Ht(r,t)))return n;if($t(r=t.valueOf)&&!Vt(n=Ht(r,t)))return n;if("string"!==e&&$t(r=t.toString)&&!Vt(n=Ht(r,t)))return n;throw new Kt("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 new Ie("Can't convert object to primitive value")}return void 0===e&&(e="number"),Te(t,e)},Ce=Ne,Ue=Ut,Le=function(t){var e=Ce(t,"string");return Ue(e)?e:e+""},Fe=pt,De=O.document,Be=Fe(De)&&Fe(De.createElement),Me=function(t){return Be?De.createElement(t):{}},qe=Me,We=!j&&!k((function(){return 7!==Object.defineProperty(qe("div"),"a",{get:function(){return 7}}).a})),Ge=j,ze=N,He=C,$e=M,Ve=st,Ke=Le,Ye=pe,Je=We,Qe=Object.getOwnPropertyDescriptor;P.f=Ge?Qe:function(t,e){if(t=Ve(t),e=Ke(e),Je)try{return Qe(t,e)}catch(t){}if(Ye(t,e))return $e(!ze(He.f,t,e),t[e])};var Xe={},Ze=j&&k((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),tr=pt,er=String,rr=TypeError,nr=function(t){if(tr(t))return t;throw new rr(er(t)+" is not an object")},or=j,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 new cr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var yr=Xe,mr=M,gr=j?function(t,e,r){return yr.f(t,e,mr(1,r))}:function(t,e,r){return t[e]=r,t},vr={exports:{}},br=j,wr=pe,xr=Function.prototype,Sr=br&&Object.getOwnPropertyDescriptor,Er=wr(xr,"name"),Ar={EXISTS:Er,PROPER:Er&&"something"===function(){}.name,CONFIGURABLE:Er&&(!br||br&&Sr(xr,"name").configurable)},Rr=ct,Or=ne,Pr=H(Function.toString);Rr(Or.inspectSource)||(Or.inspectSource=function(t){return Pr(t)});var kr,jr,Tr,Ir=Or.inspectSource,_r=ct,Nr=O.WeakMap,Cr=_r(Nr)&&/native code/.test(String(Nr)),Ur=me,Lr=ie("keys"),Fr=function(t){return Lr[t]||(Lr[t]=Ur(t))},Dr={},Br=Cr,Mr=O,qr=pt,Wr=gr,Gr=pe,zr=ne,Hr=Fr,$r=Dr,Vr="Object already initialized",Kr=Mr.TypeError,Yr=Mr.WeakMap;if(Br||zr.state){var Jr=zr.state||(zr.state=new Yr);Jr.get=Jr.get,Jr.has=Jr.has,Jr.set=Jr.set,kr=function(t,e){if(Jr.has(t))throw new Kr(Vr);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");$r[Qr]=!0,kr=function(t,e){if(Gr(t,Qr))throw new Kr(Vr);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 new Kr("Incompatible receiver, "+t+" required");return r}}},Zr=H,tn=k,en=ct,rn=pe,nn=j,on=Ar.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,vn=vr.exports,bn=ct,wn=Xe,xn=vn,Sn=Xt,En=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:Sn(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},An={},Rn=Math.ceil,On=Math.floor,Pn=Math.trunc||function(t){var e=+t;return(e>0?On:Rn)(e)},kn=function(t){var e=+t;return e!=e||0===e?0:Pn(e)},jn=kn,Tn=Math.max,In=Math.min,_n=function(t,e){var r=jn(t);return r<0?Tn(r+e,0):In(r,e)},Nn=kn,Cn=Math.min,Un=function(t){var e=Nn(t);return e>0?Cn(e,9007199254740991):0},Ln=Un,Fn=function(t){return Ln(t.length)},Dn=st,Bn=_n,Mn=Fn,qn={indexOf:(gn=!1,function(t,e,r){var n=Dn(t),o=Mn(n);if(0===o)return!gn&&-1;var i,a=Bn(r,o);if(gn&&e!=e){for(;o>a;)if((i=n[a++])!=i)return!0}else for(;o>a;a++)if((gn||a in n)&&n[a]===e)return gn||a||0;return!gn&&-1})},Wn=pe,Gn=st,zn=qn.indexOf,Hn=Dr,$n=H([].push),Vn=function(t,e){var r,n=Gn(t),o=0,i=[];for(r in n)!Wn(Hn,r)&&Wn(n,r)&&$n(i,r);for(;e.length>o;)Wn(n,r=e[o++])&&(~zn(i,r)||$n(i,r));return i},Kn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Yn=Vn,Jn=Kn.concat("length","prototype");An.f=Object.getOwnPropertyNames||function(t){return Yn(t,Jn)};var Qn={};Qn.f=Object.getOwnPropertySymbols;var Xn=dt,Zn=An,to=Qn,eo=nr,ro=H([].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=P,so=Xe,uo=k,co=ct,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=O,bo=P.f,wo=gr,xo=En,So=Xt,Eo=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))}},Ao=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]&&vo[s].prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=bo(r,n))&&a.value:r[n],!Ao(u?n:s+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Eo(i,o)}(t.sham||o&&o.sham)&&wo(i,"sham",!0),xo(r,n,i,t)}},Oo=Y,Po=Array.isArray||function(t){return"Array"===Oo(t)},ko=TypeError,jo=j,To=Xe,Io=M,_o=function(t,e,r){jo?To.f(t,e,Io(0,r)):t[e]=r},No={};No[Re("toStringTag")]="z";var Co="[object z]"===String(No),Uo=Co,Lo=ct,Fo=Y,Do=Re("toStringTag"),Bo=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=Bo(t),Do))?r:Mo?Fo(e):"Object"===(n=Fo(e))&&Lo(e.callee)?"Arguments":n},Wo=H,Go=k,zo=ct,Ho=qo,$o=Ir,Vo=function(){},Ko=dt("Reflect","construct"),Yo=/^\s*(?:class|function)\b/,Jo=Wo(Yo.exec),Qo=!Yo.test(Vo),Xo=function(t){if(!zo(t))return!1;try{return Ko(Vo,[],t),!0}catch(t){return!1}},Zo=function(t){if(!zo(t))return!1;switch(Ho(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Qo||!!Jo(Yo,$o(t))}catch(t){return!0}};Zo.sham=!0;var ti=!Ko||Go((function(){var t;return Xo(Xo.call)||!Xo(Object)||!Xo((function(){t=!0}))||t}))?Zo:Xo,ei=Po,ri=ti,ni=pt,oi=Re("species"),ii=Array,ai=function(t){var e;return ei(t)&&(e=t.constructor,(ri(e)&&(e===ii||ei(e.prototype))||ni(e)&&null===(e=e[oi]))&&(e=void 0)),void 0===e?ii:e},si=function(t,e){return new(ai(t))(0===e?0:e)},ui=k,ci=Rt,li=Re("species"),pi=function(t){return ci>=51||!ui((function(){var e=[];return(e.constructor={})[li]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},fi=Ro,hi=k,di=Po,yi=pt,mi=ue,gi=Fn,vi=function(t){if(t>9007199254740991)throw ko("Maximum allowed index exceeded");return t},bi=_o,wi=si,xi=pi,Si=Rt,Ei=Re("isConcatSpreadable"),Ai=Si>=51||!hi((function(){var t=[];return t[Ei]=!1,t.concat()[0]!==t})),Ri=function(t){if(!yi(t))return!1;var e=t[Ei];return void 0!==e?!!e:di(t)};fi({target:"Array",proto:!0,arity:1,forced:!Ai||!xi("concat")},{concat:function(t){var e,r,n,o,i,a=mi(this),s=wi(a,0),u=0;for(e=-1,n=arguments.length;e<n;e++)if(Ri(i=-1===e?a:arguments[e]))for(o=gi(i),vi(u+o),r=0;r<o;r++,u++)r in i&&bi(s,u,i[r]);else vi(u+1),bi(s,u++,i);return s.length=u,s}});var Oi=vn,Pi=Xe,ki=function(t,e,r){return r.get&&Oi(r.get,e,{getter:!0}),r.set&&Oi(r.set,e,{setter:!0}),Pi.f(t,e,r)},ji=j,Ti=Ar.EXISTS,Ii=H,_i=ki,Ni=Function.prototype,Ci=Ii(Ni.toString),Ui=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Li=Ii(Ui.exec);ji&&!Ti&&_i(Ni,"name",{configurable:!0,get:function(){try{return Li(Ui,Ci(this))[1]}catch(t){return""}}});var Fi=H,Di=qt,Bi=pt,Mi=function(t){return Bi(t)||null===t},qi=String,Wi=TypeError,Gi=function(t,e,r){try{return Fi(Di(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},zi=pt,Hi=ot,$i=function(t){if(Mi(t))return t;throw new 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 Hi(r),$i(n),zi(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0);Ro({target:"Object",stat:!0},{setPrototypeOf:Vi});var Ki=function(t){function e(t){var r;return a(this,e),r=i(this,e,["This function is not supported in ".concat(t," environment")]),Error.captureStackTrace&&Error.captureStackTrace(r,e),r.name="UnsupportedPlatformError",r.platform=t,Object.setPrototypeOf(r,e.prototype),r}return p(e,t),u(e)}(x(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 Ji=E(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"]})),Qi="5.7.3",Xi=function(){var t=o(m().mark((function t(){var e;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":w(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":w(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=Ji.getType(e)||void 0),new Blob([t],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Xi,getVersion:function(){return Qi},readFileFromPath:function(t){throw new Ki("Browser")}}),ta={},ea=Vn,ra=Kn,na=Object.keys||function(t){return ea(t,ra)},oa=j,ia=Ze,aa=Xe,sa=nr,ua=st,ca=na;ta.f=oa&&!ia?Object.defineProperties:function(t,e){sa(t);for(var r,n=ua(e),o=ca(e),i=o.length,a=0;i>a;)aa.f(t,r=o[a++],n[r]);return t};var la,pa=dt("document","documentElement"),fa=nr,ha=ta,da=Kn,ya=Dr,ma=pa,ga=Me,va="prototype",ba="script",wa=Fr("IE_PROTO"),xa=function(){},Sa=function(t){return"<"+ba+">"+t+"</"+ba+">"},Ea=function(t){t.write(Sa("")),t.close();var e=t.parentWindow.Object;return t=null,e},Aa=function(){try{la=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Aa="undefined"!=typeof document?document.domain&&la?Ea(la):(e=ga("iframe"),r="java"+ba+":",e.style.display="none",ma.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Sa("document.F=Object")),t.close(),t.F):Ea(la);for(var n=da.length;n--;)delete Aa[va][da[n]];return Aa()};ya[wa]=!0;var Ra=Object.create||function(t,e){var r;return null!==t?(xa[va]=fa(t),r=new xa,xa[va]=null,r[wa]=t):r=Aa(),void 0===e?r:ha.f(r,e)},Oa=Re,Pa=Ra,ka=Xe.f,ja=Oa("unscopables"),Ta=Array.prototype;void 0===Ta[ja]&&ka(Ta,ja,{configurable:!0,value:Pa(null)});var Ia,_a,Na,Ca={},Ua=!k((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),La=pe,Fa=ct,Da=ue,Ba=Ua,Ma=Fr("IE_PROTO"),qa=Object,Wa=qa.prototype,Ga=Ba?qa.getPrototypeOf:function(t){var e=Da(t);if(La(e,Ma))return e[Ma];var r=e.constructor;return Fa(r)&&e instanceof r?r.prototype:e instanceof qa?Wa:null},za=k,Ha=ct,$a=pt,Va=Ga,Ka=En,Ya=Re("iterator"),Ja=!1;[].keys&&("next"in(Na=[].keys())?(_a=Va(Va(Na)))!==Object.prototype&&(Ia=_a):Ja=!0);var Qa=!$a(Ia)||za((function(){var t={};return Ia[Ya].call(t)!==t}));Qa&&(Ia={}),Ha(Ia[Ya])||Ka(Ia,Ya,(function(){return this}));var Xa={IteratorPrototype:Ia,BUGGY_SAFARI_ITERATORS:Ja},Za=Xe.f,ts=pe,es=Re("toStringTag"),rs=function(t,e,r){t&&!r&&(t=t.prototype),t&&!ts(t,es)&&Za(t,es,{configurable:!0,value:e})},ns=Xa.IteratorPrototype,os=Ra,is=M,as=rs,ss=Ca,us=function(){return this},cs=function(t,e,r,n){var o=e+" Iterator";return t.prototype=os(ns,{next:is(+!n,r)}),as(t,o,!1),ss[o]=us,t},ls=Ro,ps=N,fs=ct,hs=cs,ds=Ga,ys=Vi,ms=rs,gs=gr,vs=En,bs=Ca,ws=Ar.PROPER,xs=Ar.CONFIGURABLE,Ss=Xa.IteratorPrototype,Es=Xa.BUGGY_SAFARI_ITERATORS,As=Re("iterator"),Rs="keys",Os="values",Ps="entries",ks=function(){return this},js=function(t,e,r,n,o,i,a){hs(r,e,n);var s,u,c,l=function(t){if(t===o&&y)return y;if(!Es&&t&&t in h)return h[t];switch(t){case Rs:case Os:case Ps:return function(){return new r(this,t)}}return function(){return new r(this)}},p=e+" Iterator",f=!1,h=t.prototype,d=h[As]||h["@@iterator"]||o&&h[o],y=!Es&&d||l(o),m="Array"===e&&h.entries||d;if(m&&(s=ds(m.call(new t)))!==Object.prototype&&s.next&&(ds(s)!==Ss&&(ys?ys(s,Ss):fs(s[As])||vs(s,As,ks)),ms(s,p,!0)),ws&&o===Os&&d&&d.name!==Os&&(xs?gs(h,"name",Os):(f=!0,y=function(){return ps(d,this)})),o)if(u={values:l(Os),keys:i?y:l(Rs),entries:l(Ps)},a)for(c in u)(Es||f||!(c in h))&&vs(h,c,u[c]);else ls({target:e,proto:!0,forced:Es||f},u);return h[As]!==y&&vs(h,As,y,{name:o}),bs[e]=y,u},Ts=function(t,e){return{value:t,done:e}},Is=st,_s=function(t){Ta[ja][t]=!0},Ns=Ca,Cs=Xr,Us=Xe.f,Ls=js,Fs=Ts,Ds=j,Bs="Array Iterator",Ms=Cs.set,qs=Cs.getterFor(Bs),Ws=Ls(Array,"Array",(function(t,e){Ms(this,{type:Bs,target:Is(t),index:0,kind:e})}),(function(){var t=qs(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Fs(void 0,!0);switch(t.kind){case"keys":return Fs(r,!1);case"values":return Fs(e[r],!1)}return Fs([r,e[r]],!1)}),"values"),Gs=Ns.Arguments=Ns.Array;if(_s("keys"),_s("values"),_s("entries"),Ds&&"values"!==Gs.name)try{Us(Gs,"name",{value:"values"})}catch(t){}var zs=H,Hs=En,$s=Date.prototype,Vs="Invalid Date",Ks="toString",Ys=zs($s[Ks]),Js=zs($s.getTime);String(new Date(NaN))!==Vs&&Hs($s,Ks,(function(){var t=Js(this);return t==t?Ys(this):Vs}));var Qs=qo,Xs=Co?{}.toString:function(){return"[object "+Qs(this)+"]"};Co||En(Object.prototype,"toString",Xs,{unsafe:!0});var Zs,tu=qo,eu=String,ru=function(t){if("Symbol"===tu(t))throw new TypeError("Cannot convert a Symbol value to a string");return eu(t)},nu="\t\n\v\f\r \u2028\u2029\ufeff",ou=ot,iu=ru,au=nu,su=H("".replace),uu=RegExp("^["+au+"]+"),cu=RegExp("(^|[^"+au+"])["+au+"]+$"),lu={trim:(Zs=3,function(t){var e=iu(ou(t));return 1&Zs&&(e=su(e,uu,"")),2&Zs&&(e=su(e,cu,"$1")),e})},pu=O,fu=k,hu=ru,du=lu.trim,yu=nu,mu=H("".charAt),gu=pu.parseFloat,vu=pu.Symbol,bu=vu&&vu.iterator,wu=1/gu(yu+"-0")!=-1/0||bu&&!fu((function(){gu(Object(bu))}))?function(t){var e=du(hu(t)),r=gu(e);return 0===r&&"-"===mu(e,0)?-0:r}:gu;Ro({global:!0,forced:parseFloat!==wu},{parseFloat:wu});var xu=nr,Su=function(){var t=xu(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},Eu=k,Au=O.RegExp,Ru=Eu((function(){var t=Au("a","y");return t.lastIndex=2,null!==t.exec("abcd")}));Ru||Eu((function(){return!Au("a","y").sticky}));var Ou,Pu,ku={BROKEN_CARET:Ru||Eu((function(){var t=Au("^r","gy");return t.lastIndex=2,null!==t.exec("str")}))},ju=k,Tu=O.RegExp,Iu=ju((function(){var t=Tu(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),_u=k,Nu=O.RegExp,Cu=_u((function(){var t=Nu("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Uu=N,Lu=H,Fu=ru,Du=Su,Bu=ku,Mu=Ra,qu=Xr.get,Wu=Iu,Gu=Cu,zu=ie("native-string-replace",String.prototype.replace),Hu=RegExp.prototype.exec,$u=Hu,Vu=Lu("".charAt),Ku=Lu("".indexOf),Yu=Lu("".replace),Ju=Lu("".slice),Qu=(Pu=/b*/g,Uu(Hu,Ou=/a/,"a"),Uu(Hu,Pu,"a"),0!==Ou.lastIndex||0!==Pu.lastIndex),Xu=Bu.BROKEN_CARET,Zu=void 0!==/()??/.exec("")[1];(Qu||Zu||Xu||Wu||Gu)&&($u=function(t){var e,r,n,o,i,a,s,u=this,c=qu(u),l=Fu(t),p=c.raw;if(p)return p.lastIndex=u.lastIndex,e=Uu($u,p,l),u.lastIndex=p.lastIndex,e;var f=c.groups,h=Xu&&u.sticky,d=Uu(Du,u),y=u.source,m=0,g=l;if(h&&(d=Yu(d,"y",""),-1===Ku(d,"g")&&(d+="g"),g=Ju(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==Vu(l,u.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),Zu&&(r=new RegExp("^"+y+"$(?!\\s)",d)),Qu&&(n=u.lastIndex),o=Uu(Hu,h?r:u,g),h?o?(o.input=Ju(o.input,m),o[0]=Ju(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Qu&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),Zu&&o&&o.length>1&&Uu(zu,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=Mu(null),i=0;i<f.length;i++)a[(s=f[i])[0]]=o[s[1]];return o});var tc=$u;Ro({target:"RegExp",proto:!0,forced:/./.exec!==tc},{exec:tc});var ec=N,rc=pe,nc=yt,oc=Su,ic=RegExp.prototype,ac=Ar.PROPER,sc=En,uc=nr,cc=ru,lc=k,pc=function(t){var e=t.flags;return void 0!==e||"flags"in ic||rc(t,"flags")||!nc(ic,t)?e:ec(oc,t)},fc="toString",hc=RegExp.prototype,dc=hc[fc],yc=lc((function(){return"/a/b"!==dc.call({source:"a",flags:"b"})})),mc=ac&&dc.name!==fc;(yc||mc)&&sc(hc,fc,(function(){var t=uc(this);return"/"+cc(t.source)+"/"+cc(pc(t))}),{unsafe:!0});var gc=H,vc=kn,bc=ru,wc=ot,xc=gc("".charAt),Sc=gc("".charCodeAt),Ec=gc("".slice),Ac=function(t){return function(e,r){var n,o,i=bc(wc(e)),a=vc(r),s=i.length;return a<0||a>=s?t?"":void 0:(n=Sc(i,a))<55296||n>56319||a+1===s||(o=Sc(i,a+1))<56320||o>57343?t?xc(i,a):n:t?Ec(i,a,a+2):o-56320+(n-55296<<10)+65536}},Rc={codeAt:Ac(!1),charAt:Ac(!0)},Oc=Rc.charAt,Pc=ru,kc=Xr,jc=js,Tc=Ts,Ic="String Iterator",_c=kc.set,Nc=kc.getterFor(Ic);jc(String,"String",(function(t){_c(this,{type:Ic,string:Pc(t),index:0})}),(function(){var t,e=Nc(this),r=e.string,n=e.index;return n>=r.length?Tc(void 0,!0):(t=Oc(r,n),e.index+=t.length,Tc(t,!1))}));var Cc=T,Uc=Function.prototype,Lc=Uc.apply,Fc=Uc.call,Dc="object"==typeof Reflect&&Reflect.apply||(Cc?Fc.bind(Lc):function(){return Fc.apply(Lc,arguments)}),Bc=N,Mc=En,qc=tc,Wc=k,Gc=Re,zc=gr,Hc=Gc("species"),$c=RegExp.prototype,Vc=function(t,e,r,n){var o=Gc(t),i=!Wc((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),a=i&&!Wc((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Hc]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var s=/./[o],u=e(o,""[t],(function(t,e,r,n,o){var a=e.exec;return a===qc||a===$c.exec?i&&!o?{done:!0,value:Bc(s,e,r,n)}:{done:!0,value:Bc(t,r,e,n)}:{done:!1}}));Mc(String.prototype,t,u[0]),Mc($c,o,u[1])}n&&zc($c[o],"sham",!0)},Kc=Rc.charAt,Yc=function(t,e,r){return e+(r?Kc(t,e).length:1)},Jc=H,Qc=ue,Xc=Math.floor,Zc=Jc("".charAt),tl=Jc("".replace),el=Jc("".slice),rl=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,nl=/\$([$&'`]|\d{1,2})/g,ol=N,il=nr,al=ct,sl=Y,ul=tc,cl=TypeError,ll=function(t,e){var r=t.exec;if(al(r)){var n=ol(r,t,e);return null!==n&&il(n),n}if("RegExp"===sl(t))return ol(ul,t,e);throw new cl("RegExp#exec called on incompatible receiver")},pl=Dc,fl=N,hl=H,dl=Vc,yl=k,ml=nr,gl=ct,vl=et,bl=kn,wl=Un,xl=ru,Sl=ot,El=Yc,Al=zt,Rl=function(t,e,r,n,o,i){var a=r+t.length,s=n.length,u=nl;return void 0!==o&&(o=Qc(o),u=rl),tl(i,u,(function(i,u){var c;switch(Zc(u,0)){case"$":return"$";case"&":return t;case"`":return el(e,0,r);case"'":return el(e,a);case"<":c=o[el(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var p=Xc(l/10);return 0===p?i:p<=s?void 0===n[p-1]?Zc(u,1):n[p-1]+Zc(u,1):i}c=n[l-1]}return void 0===c?"":c}))},Ol=ll,Pl=Re("replace"),kl=Math.max,jl=Math.min,Tl=hl([].concat),Il=hl([].push),_l=hl("".indexOf),Nl=hl("".slice),Cl="$0"==="a".replace(/./,"$0"),Ul=!!/./[Pl]&&""===/./[Pl]("a","$0");dl("replace",(function(t,e,r){var n=Ul?"$":"$0";return[function(t,r){var n=Sl(this),o=vl(t)?void 0:Al(t,Pl);return o?fl(o,t,n,r):fl(e,xl(n),t,r)},function(t,o){var i=ml(this),a=xl(t);if("string"==typeof o&&-1===_l(o,n)&&-1===_l(o,"$<")){var s=r(e,i,a,o);if(s.done)return s.value}var u=gl(o);u||(o=xl(o));var c,l=i.global;l&&(c=i.unicode,i.lastIndex=0);for(var p,f=[];null!==(p=Ol(i,a))&&(Il(f,p),l);){""===xl(p[0])&&(i.lastIndex=El(a,wl(i.lastIndex),c))}for(var h,d="",y=0,m=0;m<f.length;m++){for(var g,v=xl((p=f[m])[0]),b=kl(jl(bl(p.index),a.length),0),w=[],x=1;x<p.length;x++)Il(w,void 0===(h=p[x])?h:String(h));var S=p.groups;if(u){var E=Tl([v],w,b,a);void 0!==S&&Il(E,S),g=xl(pl(o,void 0,E))}else g=Rl(v,a,b,w,S,o);b>=y&&(d+=Nl(a,y,b)+g,y=b+v.length)}return d+Nl(a,y)}]}),!!yl((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Cl||Ul);var Ll={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},Fl=Me("span").classList,Dl=Fl&&Fl.constructor&&Fl.constructor.prototype,Bl=Dl===Object.prototype?void 0:Dl,Ml=O,ql=Ll,Wl=Bl,Gl=Ws,zl=gr,Hl=rs,$l=Re("iterator"),Vl=Gl.values,Kl=function(t,e){if(t){if(t[$l]!==Vl)try{zl(t,$l,Vl)}catch(e){t[$l]=Vl}if(Hl(t,e,!0),ql[e])for(var r in Gl)if(t[r]!==Gl[r])try{zl(t,r,Gl[r])}catch(e){t[r]=Gl[r]}}};for(var Yl in ql)Kl(Ml[Yl]&&Ml[Yl].prototype,Yl);Kl(Wl,"DOMTokenList");var Jl=k,Ql=j,Xl=Re("iterator"),Zl=!Jl((function(){var t=new URL("b?a=1&b=2&c=3","https://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&&!Ql||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Xl]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host})),tp=Y,ep=H,rp=function(t){if("Function"===tp(t))return ep(t)},np=qt,op=T,ip=rp(rp.bind),ap=function(t,e){return np(t),void 0===e?t:op?ip(t,e):function(){return t.apply(e,arguments)}},sp=yt,up=TypeError,cp=function(t,e){if(sp(e,t))return t;throw new up("Incorrect invocation")},lp=j,pp=H,fp=N,hp=k,dp=na,yp=Qn,mp=C,gp=ue,vp=tt,bp=Object.assign,wp=Object.defineProperty,xp=pp([].concat),Sp=!bp||hp((function(){if(lp&&1!==bp({b:1},bp(wp({},"a",{enumerable:!0,get:function(){wp(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!==bp({},t)[r]||dp(bp({},e)).join("")!==n}))?function(t,e){for(var r=gp(t),n=arguments.length,o=1,i=yp.f,a=mp.f;n>o;)for(var s,u=vp(arguments[o++]),c=i?xp(dp(u),i(u)):dp(u),l=c.length,p=0;l>p;)s=c[p++],lp&&!fp(a,u,s)||(r[s]=u[s]);return r}:bp,Ep=N,Ap=nr,Rp=zt,Op=nr,Pp=function(t,e,r){var n,o;Ap(t);try{if(!(n=Rp(t,"return"))){if("throw"===e)throw r;return r}n=Ep(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return Ap(n),r},kp=Ca,jp=Re("iterator"),Tp=Array.prototype,Ip=qo,_p=zt,Np=et,Cp=Ca,Up=Re("iterator"),Lp=function(t){if(!Np(t))return _p(t,Up)||_p(t,"@@iterator")||Cp[Ip(t)]},Fp=N,Dp=qt,Bp=nr,Mp=Ft,qp=Lp,Wp=TypeError,Gp=function(t,e){var r=arguments.length<2?qp(t):e;if(Dp(r))return Bp(Fp(r,t));throw new Wp(Mp(t)+" is not iterable")},zp=ap,Hp=N,$p=ue,Vp=function(t,e,r,n){try{return n?e(Op(r)[0],r[1]):e(r)}catch(e){Pp(t,"throw",e)}},Kp=function(t){return void 0!==t&&(kp.Array===t||Tp[jp]===t)},Yp=ti,Jp=Fn,Qp=_o,Xp=Gp,Zp=Lp,tf=Array,ef=H([].slice),rf=H,nf=2147483647,of=/[^\0-\u007E]/,af=/[.\u3002\uFF0E\uFF61]/g,sf="Overflow: input needs wider integers to process",uf=RangeError,cf=rf(af.exec),lf=Math.floor,pf=String.fromCharCode,ff=rf("".charCodeAt),hf=rf([].join),df=rf([].push),yf=rf("".replace),mf=rf("".split),gf=rf("".toLowerCase),vf=function(t){return t+22+75*(t<26)},bf=function(t,e,r){var n=0;for(t=r?lf(t/700):t>>1,t+=lf(t/e);t>455;)t=lf(t/35),n+=36;return lf(n+36*t/(t+38))},wf=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=ff(t,r++);if(o>=55296&&o<=56319&&r<n){var i=ff(t,r++);56320==(64512&i)?df(e,((1023&o)<<10)+(1023&i)+65536):(df(e,o),r--)}else df(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&&df(e,pf(n));var u=e.length,c=u;for(u&&df(e,"-");c<o;){var l=nf;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<l&&(l=n);var p=c+1;if(l-i>lf((nf-a)/p))throw new uf(sf);for(a+=(l-i)*p,i=l,r=0;r<t.length;r++){if((n=t[r])<i&&++a>nf)throw new uf(sf);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;df(e,pf(vf(d+y%m))),f=lf(y/m),h+=36}df(e,pf(vf(f))),s=bf(a,p,c===u),a=0,c++}}a++,i++}return hf(e,"")},xf=TypeError,Sf=function(t,e){if(t<e)throw new xf("Not enough arguments");return t},Ef=Ro,Af=H,Rf=_n,Of=RangeError,Pf=String.fromCharCode,kf=String.fromCodePoint,jf=Af([].join);Ef({target:"String",stat:!0,arity:1,forced:!!kf&&1!==kf.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,o=0;n>o;){if(e=+arguments[o++],Rf(e,1114111)!==e)throw new Of(e+" is not a valid code point");r[o]=e<65536?Pf(e):Pf(55296+((e-=65536)>>10),e%1024+56320)}return jf(r,"")}});var Tf=O,If=j,_f=Object.getOwnPropertyDescriptor,Nf=En,Cf=ef,Uf=Math.floor,Lf=function(t,e){var r=t.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=t[i];o&&e(t[o-1],n)>0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var a=Uf(r/2),s=Lf(Cf(t,0,a),e),u=Lf(Cf(t,a),e),c=s.length,l=u.length,p=0,f=0;p<c||f<l;)t[p+f]=p<c&&f<l?e(s[p],u[f])<=0?s[p++]:u[f++]:p<c?s[p++]:u[f++];return t},Ff=Ro,Df=O,Bf=function(t){if(!If)return Tf[t];var e=_f(Tf,t);return e&&e.value},Mf=dt,qf=N,Wf=H,Gf=j,zf=Zl,Hf=En,$f=ki,Vf=function(t,e,r){for(var n in e)Nf(t,n,e[n],r);return t},Kf=rs,Yf=cs,Jf=Xr,Qf=cp,Xf=ct,Zf=pe,th=ap,eh=qo,rh=nr,nh=pt,oh=ru,ih=Ra,ah=M,sh=Gp,uh=Lp,ch=Ts,lh=Sf,ph=Lf,fh=Re("iterator"),hh="URLSearchParams",dh=hh+"Iterator",yh=Jf.set,mh=Jf.getterFor(hh),gh=Jf.getterFor(dh),vh=Bf("fetch"),bh=Bf("Request"),wh=Bf("Headers"),xh=bh&&bh.prototype,Sh=wh&&wh.prototype,Eh=Df.TypeError,Ah=Df.encodeURIComponent,Rh=String.fromCharCode,Oh=Mf("String","fromCodePoint"),Ph=parseInt,kh=Wf("".charAt),jh=Wf([].join),Th=Wf([].push),Ih=Wf("".replace),_h=Wf([].shift),Nh=Wf([].splice),Ch=Wf("".split),Uh=Wf("".slice),Lh=Wf(/./.exec),Fh=/\+/g,Dh=/^[0-9a-f]+$/i,Bh=function(t,e){var r=Uh(t,e,e+2);return Lh(Dh,r)?Ph(r,16):NaN},Mh=function(t){for(var e=0,r=128;r>0&&t&r;r>>=1)e++;return e},qh=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},Wh=function(t){for(var e=(t=Ih(t,Fh," ")).length,r="",n=0;n<e;){var o=kh(t,n);if("%"===o){if("%"===kh(t,n+1)||n+3>e){r+="%",n++;continue}var i=Bh(t,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=Mh(i);if(0===a)o=Rh(i);else{if(1===a||a>4){r+="�",n++;continue}for(var s=[i],u=1;u<a&&!(++n+3>e||"%"!==kh(t,n));){var c=Bh(t,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;Th(s,c),n+=2,u++}if(s.length!==a){r+="�";continue}var l=qh(s);null===l?r+="�":o=Oh(l)}}r+=o,n++}return r},Gh=/[!'()~]|%20/g,zh={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Hh=function(t){return zh[t]},$h=function(t){return Ih(Ah(t),Gh,Hh)},Vh=Yf((function(t,e){yh(this,{type:dh,target:mh(t).entries,index:0,kind:e})}),hh,(function(){var t=gh(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,ch(void 0,!0);var n=e[r];switch(t.kind){case"keys":return ch(n.key,!1);case"values":return ch(n.value,!1)}return ch([n.key,n.value],!1)}),!0),Kh=function(t){this.entries=[],this.url=null,void 0!==t&&(nh(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===kh(t,0)?Uh(t,1):t:oh(t)))};Kh.prototype={type:hh,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,s,u=this.entries,c=uh(t);if(c)for(r=(e=sh(t,c)).next;!(n=qf(r,e)).done;){if(i=(o=sh(rh(n.value))).next,(a=qf(i,o)).done||(s=qf(i,o)).done||!qf(i,o).done)throw new Eh("Expected sequence with length 2");Th(u,{key:oh(a.value),value:oh(s.value)})}else for(var l in t)Zf(t,l)&&Th(u,{key:l,value:oh(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,o=Ch(t,"&"),i=0;i<o.length;)(e=o[i++]).length&&(r=Ch(e,"="),Th(n,{key:Wh(_h(r)),value:Wh(jh(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],Th(r,$h(t.key)+"="+$h(t.value));return jh(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Yh=function(){Qf(this,Jh);var t=yh(this,new Kh(arguments.length>0?arguments[0]:void 0));Gf||(this.size=t.entries.length)},Jh=Yh.prototype;if(Vf(Jh,{append:function(t,e){var r=mh(this);lh(arguments.length,2),Th(r.entries,{key:oh(t),value:oh(e)}),Gf||this.length++,r.updateURL()},delete:function(t){for(var e=mh(this),r=lh(arguments.length,1),n=e.entries,o=oh(t),i=r<2?void 0:arguments[1],a=void 0===i?i:oh(i),s=0;s<n.length;){var u=n[s];if(u.key!==o||void 0!==a&&u.value!==a)s++;else if(Nh(n,s,1),void 0!==a)break}Gf||(this.size=n.length),e.updateURL()},get:function(t){var e=mh(this).entries;lh(arguments.length,1);for(var r=oh(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=mh(this).entries;lh(arguments.length,1);for(var r=oh(t),n=[],o=0;o<e.length;o++)e[o].key===r&&Th(n,e[o].value);return n},has:function(t){for(var e=mh(this).entries,r=lh(arguments.length,1),n=oh(t),o=r<2?void 0:arguments[1],i=void 0===o?o:oh(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=mh(this);lh(arguments.length,1);for(var n,o=r.entries,i=!1,a=oh(t),s=oh(e),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?Nh(o,u--,1):(i=!0,n.value=s));i||Th(o,{key:a,value:s}),Gf||(this.size=o.length),r.updateURL()},sort:function(){var t=mh(this);ph(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=mh(this).entries,n=th(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 Vh(this,"keys")},values:function(){return new Vh(this,"values")},entries:function(){return new Vh(this,"entries")}},{enumerable:!0}),Hf(Jh,fh,Jh.entries,{name:"entries"}),Hf(Jh,"toString",(function(){return mh(this).serialize()}),{enumerable:!0}),Gf&&$f(Jh,"size",{get:function(){return mh(this).entries.length},configurable:!0,enumerable:!0}),Kf(Yh,hh),Ff({global:!0,constructor:!0,forced:!zf},{URLSearchParams:Yh}),!zf&&Xf(wh)){var Qh=Wf(Sh.has),Xh=Wf(Sh.set),Zh=function(t){if(nh(t)){var e,r=t.body;if(eh(r)===hh)return e=t.headers?new wh(t.headers):new wh,Qh(e,"content-type")||Xh(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),ih(t,{body:ah(0,oh(r)),headers:ah(0,e)})}return t};if(Xf(vh)&&Ff({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return vh(t,arguments.length>1?Zh(arguments[1]):{})}}),Xf(bh)){var td=function(t){return Qf(this,xh),new bh(t,arguments.length>1?Zh(arguments[1]):{})};xh.constructor=td,td.prototype=xh,Ff({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:td})}}var ed,rd=Ro,nd=j,od=Zl,id=O,ad=ap,sd=H,ud=En,cd=ki,ld=cp,pd=pe,fd=Sp,hd=function(t){var e=$p(t),r=Yp(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=zp(o,n>2?arguments[2]:void 0));var a,s,u,c,l,p,f=Zp(e),h=0;if(!f||this===tf&&Kp(f))for(a=Jp(e),s=r?new this(a):tf(a);a>h;h++)p=i?o(e[h],h):e[h],Qp(s,h,p);else for(s=r?new this:[],l=(c=Xp(e,f)).next;!(u=Hp(l,c)).done;h++)p=i?Vp(c,o,[u.value,h],!0):u.value,Qp(s,h,p);return s.length=h,s},dd=ef,yd=Rc.codeAt,md=function(t){var e,r,n=[],o=mf(yf(gf(t),af,"."),".");for(e=0;e<o.length;e++)r=o[e],df(n,cf(of,r)?"xn--"+wf(r):r);return hf(n,".")},gd=ru,vd=rs,bd=Sf,wd={URLSearchParams:Yh,getState:mh},xd=Xr,Sd=xd.set,Ed=xd.getterFor("URL"),Ad=wd.URLSearchParams,Rd=wd.getState,Od=id.URL,Pd=id.TypeError,kd=id.parseInt,jd=Math.floor,Td=Math.pow,Id=sd("".charAt),_d=sd(/./.exec),Nd=sd([].join),Cd=sd(1..toString),Ud=sd([].pop),Ld=sd([].push),Fd=sd("".replace),Dd=sd([].shift),Bd=sd("".split),Md=sd("".slice),qd=sd("".toLowerCase),Wd=sd([].unshift),Gd="Invalid scheme",zd="Invalid host",Hd="Invalid port",$d=/[a-z]/i,Vd=/[\d+-.a-z]/i,Kd=/\d/,Yd=/^0x/i,Jd=/^[0-7]+$/,Qd=/^\d+$/,Xd=/^[\da-f]+$/i,Zd=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ty=/[\0\t\n\r #/:<>?@[\\\]^|]/,ey=/^[\u0000-\u0020]+/,ry=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ny=/[\t\n\r]/g,oy=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)Wd(e,t%256),t=jd(t/256);return Nd(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?n:e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=Cd(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},iy={},ay=fd({},iy,{" ":1,'"':1,"<":1,">":1,"`":1}),sy=fd({},ay,{"#":1,"?":1,"{":1,"}":1}),uy=fd({},sy,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),cy=function(t,e){var r=yd(t,0);return r>32&&r<127&&!pd(e,t)?t:encodeURIComponent(t)},ly={ftp:21,file:null,http:80,https:443,ws:80,wss:443},py=function(t,e){var r;return 2===t.length&&_d($d,Id(t,0))&&(":"===(r=Id(t,1))||!e&&"|"===r)},fy=function(t){var e;return t.length>1&&py(Md(t,0,2))&&(2===t.length||"/"===(e=Id(t,2))||"\\"===e||"?"===e||"#"===e)},hy=function(t){return"."===t||"%2e"===qd(t)},dy={},yy={},my={},gy={},vy={},by={},wy={},xy={},Sy={},Ey={},Ay={},Ry={},Oy={},Py={},ky={},jy={},Ty={},Iy={},_y={},Ny={},Cy={},Uy=function(t,e,r){var n,o,i,a=gd(t);if(e){if(o=this.parse(a))throw new Pd(o);this.searchParams=null}else{if(void 0!==r&&(n=new Uy(r,!0)),o=this.parse(a,null,n))throw new Pd(o);(i=Rd(new Ad)).bindURL(this),this.searchParams=i}};Uy.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,s,u=this,c=e||dy,l=0,p="",f=!1,h=!1,d=!1;for(t=gd(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=Fd(t,ey,""),t=Fd(t,ry,"$1")),t=Fd(t,ny,""),n=hd(t);l<=n.length;){switch(o=n[l],c){case dy:if(!o||!_d($d,o)){if(e)return Gd;c=my;continue}p+=qd(o),c=yy;break;case yy:if(o&&(_d(Vd,o)||"+"===o||"-"===o||"."===o))p+=qd(o);else{if(":"!==o){if(e)return Gd;p="",c=my,l=0;continue}if(e&&(u.isSpecial()!==pd(ly,p)||"file"===p&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=p,e)return void(u.isSpecial()&&ly[u.scheme]===u.port&&(u.port=null));p="","file"===u.scheme?c=Py:u.isSpecial()&&r&&r.scheme===u.scheme?c=gy:u.isSpecial()?c=xy:"/"===n[l+1]?(c=vy,l++):(u.cannotBeABaseURL=!0,Ld(u.path,""),c=_y)}break;case my:if(!r||r.cannotBeABaseURL&&"#"!==o)return Gd;if(r.cannotBeABaseURL&&"#"===o){u.scheme=r.scheme,u.path=dd(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,c=Cy;break}c="file"===r.scheme?Py:by;continue;case gy:if("/"!==o||"/"!==n[l+1]){c=by;continue}c=Sy,l++;break;case vy:if("/"===o){c=Ey;break}c=Iy;continue;case by:if(u.scheme=r.scheme,o===ed)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=dd(r.path),u.query=r.query;else if("/"===o||"\\"===o&&u.isSpecial())c=wy;else if("?"===o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=dd(r.path),u.query="",c=Ny;else{if("#"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=dd(r.path),u.path.length--,c=Iy;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=dd(r.path),u.query=r.query,u.fragment="",c=Cy}break;case wy:if(!u.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,c=Iy;continue}c=Ey}else c=Sy;break;case xy:if(c=Sy,"/"!==o||"/"!==Id(p,l+1))continue;l++;break;case Sy:if("/"!==o&&"\\"!==o){c=Ey;continue}break;case Ey:if("@"===o){f&&(p="%40"+p),f=!0,i=hd(p);for(var y=0;y<i.length;y++){var m=i[y];if(":"!==m||d){var g=cy(m,uy);d?u.password+=g:u.username+=g}else d=!0}p=""}else if(o===ed||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(f&&""===p)return"Invalid authority";l-=hd(p).length+1,p="",c=Ay}else p+=o;break;case Ay:case Ry:if(e&&"file"===u.scheme){c=jy;continue}if(":"!==o||h){if(o===ed||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(u.isSpecial()&&""===p)return zd;if(e&&""===p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",c=Ty,e)return;continue}"["===o?h=!0:"]"===o&&(h=!1),p+=o}else{if(""===p)return zd;if(a=u.parseHost(p))return a;if(p="",c=Oy,e===Ry)return}break;case Oy:if(!_d(Kd,o)){if(o===ed||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()||e){if(""!==p){var v=kd(p,10);if(v>65535)return Hd;u.port=u.isSpecial()&&v===ly[u.scheme]?null:v,p=""}if(e)return;c=Ty;continue}return Hd}p+=o;break;case Py:if(u.scheme="file","/"===o||"\\"===o)c=ky;else{if(!r||"file"!==r.scheme){c=Iy;continue}switch(o){case ed:u.host=r.host,u.path=dd(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=dd(r.path),u.query="",c=Ny;break;case"#":u.host=r.host,u.path=dd(r.path),u.query=r.query,u.fragment="",c=Cy;break;default:fy(Nd(dd(n,l),""))||(u.host=r.host,u.path=dd(r.path),u.shortenPath()),c=Iy;continue}}break;case ky:if("/"===o||"\\"===o){c=jy;break}r&&"file"===r.scheme&&!fy(Nd(dd(n,l),""))&&(py(r.path[0],!0)?Ld(u.path,r.path[0]):u.host=r.host),c=Iy;continue;case jy:if(o===ed||"/"===o||"\\"===o||"?"===o||"#"===o){if(!e&&py(p))c=Iy;else if(""===p){if(u.host="",e)return;c=Ty}else{if(a=u.parseHost(p))return a;if("localhost"===u.host&&(u.host=""),e)return;p="",c=Ty}continue}p+=o;break;case Ty:if(u.isSpecial()){if(c=Iy,"/"!==o&&"\\"!==o)continue}else if(e||"?"!==o)if(e||"#"!==o){if(o!==ed&&(c=Iy,"/"!==o))continue}else u.fragment="",c=Cy;else u.query="",c=Ny;break;case Iy:if(o===ed||"/"===o||"\\"===o&&u.isSpecial()||!e&&("?"===o||"#"===o)){if(".."===(s=qd(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(u.shortenPath(),"/"===o||"\\"===o&&u.isSpecial()||Ld(u.path,"")):hy(p)?"/"===o||"\\"===o&&u.isSpecial()||Ld(u.path,""):("file"===u.scheme&&!u.path.length&&py(p)&&(u.host&&(u.host=""),p=Id(p,0)+":"),Ld(u.path,p)),p="","file"===u.scheme&&(o===ed||"?"===o||"#"===o))for(;u.path.length>1&&""===u.path[0];)Dd(u.path);"?"===o?(u.query="",c=Ny):"#"===o&&(u.fragment="",c=Cy)}else p+=cy(o,sy);break;case _y:"?"===o?(u.query="",c=Ny):"#"===o?(u.fragment="",c=Cy):o!==ed&&(u.path[0]+=cy(o,iy));break;case Ny:e||"#"!==o?o!==ed&&("'"===o&&u.isSpecial()?u.query+="%27":u.query+="#"===o?"%23":cy(o,iy)):(u.fragment="",c=Cy);break;case Cy:o!==ed&&(u.fragment+=cy(o,ay))}l++}},parseHost:function(t){var e,r,n;if("["===Id(t,0)){if("]"!==Id(t,t.length-1))return zd;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 Id(t,p)};if(":"===f()){if(":"!==Id(t,1))return;p+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(e=r=0;r<4&&_d(Xd,f());)e=16*e+kd(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(!_d(Kd,f()))return;for(;_d(Kd,f());){if(i=kd(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}(Md(t,1,-1)),!e)return zd;this.host=e}else if(this.isSpecial()){if(t=md(t),_d(Zd,t))return zd;if(e=function(t){var e,r,n,o,i,a,s,u=Bd(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"===Id(o,0)&&(i=_d(Yd,o)?16:8,o=Md(o,8===i?1:2)),""===o)a=0;else{if(!_d(10===i?Qd:8===i?Jd:Xd,o))return t;a=kd(o,i)}Ld(r,a)}for(n=0;n<e;n++)if(a=r[n],n===e-1){if(a>=Td(256,5-e))return null}else if(a>255)return null;for(s=Ud(r),n=0;n<r.length;n++)s+=r[n]*Td(256,3-n);return s}(t),null===e)return zd;this.host=e}else{if(_d(ty,t))return zd;for(e="",r=hd(t),n=0;n<r.length;n++)e+=cy(r[n],iy);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return pd(ly,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&py(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+=oy(o),null!==i&&(c+=":"+i)):"file"===e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+Nd(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(t){var e=this.parse(t);if(e)throw new Pd(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Ly(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+oy(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(gd(t)+":",dy)},getUsername:function(){return this.username},setUsername:function(t){var e=hd(gd(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=cy(e[r],uy)}},getPassword:function(){return this.password},setPassword:function(t){var e=hd(gd(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=cy(e[r],uy)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?oy(t):oy(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,Ay)},getHostname:function(){var t=this.host;return null===t?"":oy(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Ry)},getPort:function(){var t=this.port;return null===t?"":gd(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=gd(t))?this.port=null:this.parse(t,Oy))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+Nd(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Ty))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=gd(t))?this.query=null:("?"===Id(t,0)&&(t=Md(t,1)),this.query="",this.parse(t,Ny)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=gd(t))?("#"===Id(t,0)&&(t=Md(t,1)),this.fragment="",this.parse(t,Cy)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ly=function(t){var e=ld(this,Fy),r=bd(arguments.length,1)>1?arguments[1]:void 0,n=Sd(e,new Uy(t,!1,r));nd||(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())},Fy=Ly.prototype,Dy=function(t,e){return{get:function(){return Ed(this)[t]()},set:e&&function(t){return Ed(this)[e](t)},configurable:!0,enumerable:!0}};if(nd&&(cd(Fy,"href",Dy("serialize","setHref")),cd(Fy,"origin",Dy("getOrigin")),cd(Fy,"protocol",Dy("getProtocol","setProtocol")),cd(Fy,"username",Dy("getUsername","setUsername")),cd(Fy,"password",Dy("getPassword","setPassword")),cd(Fy,"host",Dy("getHost","setHost")),cd(Fy,"hostname",Dy("getHostname","setHostname")),cd(Fy,"port",Dy("getPort","setPort")),cd(Fy,"pathname",Dy("getPathname","setPathname")),cd(Fy,"search",Dy("getSearch","setSearch")),cd(Fy,"searchParams",Dy("getSearchParams")),cd(Fy,"hash",Dy("getHash","setHash"))),ud(Fy,"toJSON",(function(){return Ed(this).serialize()}),{enumerable:!0}),ud(Fy,"toString",(function(){return Ed(this).serialize()}),{enumerable:!0}),Od){var By=Od.createObjectURL,My=Od.revokeObjectURL;By&&ud(Ly,"createObjectURL",ad(By,Od)),My&&ud(Ly,"revokeObjectURL",ad(My,Od))}vd(Ly,"URL"),rd({global:!0,constructor:!0,forced:!od,sham:!nd},{URL:Ly});var qy=N;Ro({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return qy(URL.prototype.toString,this)}});var Wy=ap,Gy=tt,zy=ue,Hy=Fn,$y=si,Vy=H([].push),Ky=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=zy(u),y=Gy(d),m=Hy(y),g=Wy(c,l),v=0,b=p||$y,w=e?b(u,m):r||a?b(u,0):void 0;m>v;v++)if((s||v in y)&&(h=g(f=y[v],v,d),t))if(e)w[v]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return v;case 2:Vy(w,f)}else switch(t){case 4:return!1;case 7:Vy(w,f)}return i?-1:n||o?o:w}},Yy={forEach:Ky(0),map:Ky(1),every:Ky(4)},Jy=Yy.map;Ro({target:"Array",proto:!0,forced:!pi("map")},{map:function(t){return Jy(this,t,arguments.length>1?arguments[1]:void 0)}});var Qy=function(t){var e=t.endpointName,r=t.guestSpaceId,n=t.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(e,".json")},Xy=function(){return u((function t(e,r){a(this,t),this.client=e,this.guestSpaceId=r}),[{key:"buildPathWithGuestSpaceId",value:function(t){return Qy(d(d({},t),{},{guestSpaceId:this.guestSpaceId}))}},{key:"buildPath",value:function(t){return Qy(t)}}])}(),Zy=["endpointName"],tm=function(t){function e(t,r){var n;return a(this,e),(n=i(this,e,[t,r])).REQUESTS_LENGTH_LIMIT=20,n}return p(e,t),u(e,[{key:"send",value:function(t){var e=this,r=t.requests.map((function(t){if("endpointName"in t){var r=t.endpointName,n=y(t,Zy);return d({api:e.buildPathWithGuestSpaceId({endpointName:r})},n)}return t})),n=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(n,{requests:r})}}])}(Xy),em=["preview"],rm=["preview"],nm=["preview"],om=["preview"],im=["preview"],am=["preview"],sm=["preview"],um=["preview"],cm=["preview"],lm=["preview"],pm=["preview"],fm=["preview"],hm=["preview"],dm=["preview"],ym=["preview"],mm=["preview"],gm=function(t){function e(){return a(this,e),i(this,e,arguments)}return p(e,t),u(e,[{key:"getFormFields",value:function(t){var e=t.preview,r=y(t,em),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:e});return this.client.get(n,d({},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=y(t,rm),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:e});return this.client.get(n,d({},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=y(t,nm),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:(r=o(m().mark((function t(e){var r,n,o,i,a,s;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.name,n=e.space,o=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!n){t.next=9;break}return i=this.buildPathWithGuestSpaceId({endpointName:"space"}),t.next=6,this.client.get(i,{id:n});case 6:return a=t.sent,s=a.defaultThread,t.abrupt("return",this.client.post(o,d(d({},e),{},{thread:s})));case 9:return t.abrupt("return",this.client.post(o,{name:r}));case 10:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"getAppSettings",value:function(t){var e=t.preview,r=y(t,om),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=y(t,im),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=y(t,am),n=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:e});return this.client.get(n,d({},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=y(t,sm),n=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:e});return this.client.get(n,d({},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=y(t,um),n=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:e});return this.client.get(n,d({},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=y(t,cm),n=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:e});return this.client.get(n,d({},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=y(t,lm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:e});return this.client.get(n,d({},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=y(t,pm),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=y(t,fm),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=y(t,hm),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=y(t,dm),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:"getAdminNotes",value:function(t){var e=t.preview,r=y(t,ym),n=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:e});return this.client.get(n,r)}},{key:"updateAdminNotes",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:!0});return this.client.put(e,t)}},{key:"move",value:function(t){var e=this.buildPath({endpointName:"app/move"});return this.client.post(e,t)}},{key:"getPlugins",value:function(t){var e=t.preview,r=y(t,mm),n=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:e});return this.client.get(n,r)}},{key:"addPlugins",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:!0});return this.client.post(e,t)}}]);var r}(Xy),vm=k,bm=function(t,e){var r=[][t];return!!r&&vm((function(){r.call(null,e||function(){return 1},1)}))},wm=Yy.every;Ro({target:"Array",proto:!0,forced:!bm("every")},{every:function(t){return wm(this,t,arguments.length>1?arguments[1]:void 0)}});var xm=Ro,Sm=qn.indexOf,Em=bm,Am=rp([].indexOf),Rm=!!Am&&1/Am([1],1,-0)<0;xm({target:"Array",proto:!0,forced:Rm||!Em("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Rm?Am(this,t,e)||0:Sm(this,t,e)}}),Ro({target:"Array",stat:!0},{isArray:Po});var Om,Pm=qt,km=ue,jm=tt,Tm=Fn,Im=TypeError,_m="Reduce of empty array with no initial value",Nm={left:(Om=!1,function(t,e,r,n){var o=km(t),i=jm(o),a=Tm(o);if(Pm(e),0===a&&r<2)throw new Im(_m);var s=Om?a-1:0,u=Om?-1:1;if(r<2)for(;;){if(s in i){n=i[s],s+=u;break}if(s+=u,Om?s<0:a<=s)throw new Im(_m)}for(;Om?s>=0:a>s;s+=u)s in i&&(n=e(n,i[s],s,o));return n})},Cm=O,Um=vt,Lm=Y,Fm=function(t){return Um.slice(0,t.length)===t},Dm=Fm("Bun/")?"BUN":Fm("Cloudflare-Workers")?"CLOUDFLARE":Fm("Deno/")?"DENO":Fm("Node.js/")?"NODE":Cm.Bun&&"string"==typeof Bun.version?"BUN":Cm.Deno&&"object"==typeof Deno.version?"DENO":"process"===Lm(Cm.process)?"NODE":Cm.window&&Cm.document?"BROWSER":"REST",Bm=Nm.left;Ro({target:"Array",proto:!0,forced:!("NODE"===Dm)&&Rt>79&&Rt<83||!bm("reduce")},{reduce:function(t){var e=arguments.length;return Bm(this,t,e,e>1?arguments[1]:void 0)}});var Mm=Ro,qm=Po,Wm=ti,Gm=pt,zm=_n,Hm=Fn,$m=st,Vm=_o,Km=Re,Ym=ef,Jm=pi("slice"),Qm=Km("species"),Xm=Array,Zm=Math.max;Mm({target:"Array",proto:!0,forced:!Jm},{slice:function(t,e){var r,n,o,i=$m(this),a=Hm(i),s=zm(t,a),u=zm(void 0===e?a:e,a);if(qm(i)&&(r=i.constructor,(Wm(r)&&(r===Xm||qm(r.prototype))||Gm(r)&&null===(r=r[Qm]))&&(r=void 0),r===Xm||void 0===r))return Ym(i,s,u);for(n=new(void 0===r?Xm:r)(Zm(u-s,0)),o=0;s<u;s++,o++)s in i&&Vm(n,o,i[s]);return n.length=o,n}});var tg=O,eg=ct,rg=pt,ng=Vi,og=H(1..valueOf),ig=Ro,ag=j,sg=O,ug=tg,cg=H,lg=go,pg=pe,fg=function(t,e,r){var n,o;return ng&&eg(n=e.constructor)&&n!==r&&rg(o=n.prototype)&&o!==r.prototype&&ng(t,o),t},hg=yt,dg=Ut,yg=Ne,mg=k,gg=An.f,vg=P.f,bg=Xe.f,wg=og,xg=lu.trim,Sg="Number",Eg=sg[Sg];ug[Sg];var Ag=Eg.prototype,Rg=sg.TypeError,Og=cg("".slice),Pg=cg("".charCodeAt),kg=function(t){var e,r,n,o,i,a,s,u,c=yg(t,"number");if(dg(c))throw new Rg("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=xg(c),43===(e=Pg(c,0))||45===e){if(88===(r=Pg(c,2))||120===r)return NaN}else if(48===e){switch(Pg(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=Og(c,2)).length,s=0;s<a;s++)if((u=Pg(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},jg=lg(Sg,!Eg(" 0o1")||!Eg("0b1")||Eg("+0x1")),Tg=function(t){var e,r=arguments.length<1?0:Eg(function(t){var e=yg(t,"number");return"bigint"==typeof e?e:kg(e)}(t));return hg(Ag,e=this)&&mg((function(){wg(e)}))?fg(Object(r),this,Tg):r};Tg.prototype=Ag,jg&&(Ag.constructor=Tg),ig({global:!0,constructor:!0,wrap:!0,forced:jg},{Number:Tg});jg&&function(t,e){for(var r,n=ag?gg(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++)pg(e,r=n[o])&&!pg(t,r)&&bg(t,r,vg(e,r))}(ug[Sg],Eg);var Ig=Sp;Ro({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ig},{assign:Ig});var _g=N,Ng=nr,Cg=et,Ug=Un,Lg=ru,Fg=ot,Dg=zt,Bg=Yc,Mg=ll;Vc("match",(function(t,e,r){return[function(e){var r=Fg(this),n=Cg(e)?void 0:Dg(e,t);return n?_g(n,e,r):new RegExp(e)[t](Lg(r))},function(t){var n=Ng(this),o=Lg(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return Mg(n,o);var a=n.unicode;n.lastIndex=0;for(var s,u=[],c=0;null!==(s=Mg(n,o));){var l=Lg(s[0]);u[c]=l,""===l&&(n.lastIndex=Bg(o,Ug(n.lastIndex),a)),c++}return 0===c?null:u}]}));var qg=function(t){function e(t){var r;return a(this,e),(r=i(this,e,[t])).name="KintoneAbortSearchError",r.message=t,Object.setPrototypeOf(r,e.prototype),r}return p(e,t),u(e)}(x(Error)),Wg=Yy.forEach,Gg=bm("forEach")?[].forEach:function(t){return Wg(this,t,arguments.length>1?arguments[1]:void 0)};Ro({target:"Array",proto:!0,forced:[].forEach!==Gg},{forEach:Gg});var zg=ue,Hg=na;Ro({target:"Object",stat:!0,forced:k((function(){Hg(1)}))},{keys:function(t){return Hg(zg(t))}});var $g=O,Vg=Ll,Kg=Bl,Yg=Gg,Jg=gr,Qg=function(t){if(t&&t.forEach!==Yg)try{Jg(t,"forEach",Yg)}catch(e){t.forEach=Yg}};for(var Xg in Vg)Vg[Xg]&&Qg($g[Xg]&&$g[Xg].prototype);Qg(Kg);var Zg=function(t){function e(t,r,n,o,s){var u;a(this,e);var c=n-r.length,l=e.extractErrorIndex(c,o,s),p=e.buildErrorMessage(c,n,l);return(u=i(this,e,[p])).name="KintoneAllRecordsError",u.processedRecordsResult=t,u.unprocessedRecords=r,u.error=o,u.errorIndex=l,u.message=p,u.numOfProcessedRecords=c,u.numOfAllRecords=n,Object.setPrototypeOf(u,e.prototype),u}return p(e,t),u(e,null,[{key:"parseErrorIndex",value:function(t){var e=[];return Object.keys(t).forEach((function(t){var r=t.match(/records\[(\d+)\]/);r&&e.push(Number(r[1]))})),e.length>0?Math.min.apply(Math,e):null}},{key:"extractErrorIndex",value:function(t,r,n){if(void 0!==r.bulkRequestIndex&&r.errors){var o=e.parseErrorIndex(r.errors);if(null!==o)return t+r.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(t,e,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(t,"/").concat(e," records are processed successfully")}}])}(x(Error)),tv=function(t){function e(t){var r;a(this,e);var n=e.buildErrorResponseDateWithIndex(t),o=n.data,s=n.bulkRequestIndex;return(r=i(this,e,[o.message])).name="KintoneRestAPIError",r.id=o.id,r.code=o.code,r.errors=o.errors,r.status=t.status,r.bulkRequestIndex=s,r.headers=t.headers,r.message="[".concat(t.status,"] [").concat(r.code,"] ").concat(r.message," (").concat(r.id,")"),Error.captureStackTrace&&Error.captureStackTrace(r,e),Object.setPrototypeOf(r,e.prototype),r}return p(e,t),u(e,null,[{key:"findErrorResponseDataWithIndex",value:function(t){for(var e=0;e<t.length;e++){if(0!==Object.keys(t[e]).length)return{data:t[e],bulkRequestIndex:e}}throw Error("Missing response data in `results`. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.")}},{key:"buildErrorResponseDateWithIndex",value:function(t){return"results"in t.data?e.findErrorResponseDataWithIndex(t.data.results):{data:t.data}}}])}(x(Error)),ev=["condition","orderBy","withCursor"],rv=["fields","condition"],nv=["condition","orderBy"],ov=500,iv=function(t){function e(t,r,n){var o;return a(this,e),(o=i(this,e,[t,n])).bulkRequestClient=r,o.didWarnMaximumOffsetValue=!1,o}return p(e,t),u(e,[{key:"getRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(e,t)}},{key:"addRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(e,t)}},{key:"updateRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(e,t)}},{key:"upsertRecord",value:(O=o(m().mark((function t(e){var r,n,o,i,a,s,u;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.app,n=e.updateKey,o=e.record,t.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(i=t.sent,!((a=i.records).length>0)){t.next=13;break}if("__ID__"!==a[0].$id.type){t.next=12;break}return t.next=9,this.updateRecord(e);case 9:return s=t.sent,u=s.revision,t.abrupt("return",{id:a[0].$id.value,revision:u});case 12:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 13:return t.abrupt("return",this.addRecord({app:r,record:Object.assign({},o,c({},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=o(m().mark((function t(e){var r,n;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.get(r,e);case 3:return n=t.sent,this.warnMaximumOffsetValueIfNeeded(e.query),t.abrupt("return",n);case 6:case"end":return t.stop()}}),t,this)}))),function(t){return R.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(t){if(t){var e=t.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&e&&Number(e[1])>1e4&&(this.didWarnMaximumOffsetValue=!0,console.warn("Warning: The maximum offset value will be limited to 10,000 in the future. Please use `createCursor()` and `getRecordsByCursor()` instead."))}}},{key:"addRecords",value:(A=o(m().mark((function t(e){var r,n,o,i;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.post(r,e);case 3:return n=t.sent,o=n.ids,i=n.revisions,t.abrupt("return",{ids:o,revisions:i,records:o.map((function(t,e){return{id:t,revision:i[e]}}))});case 7:case"end":return t.stop()}}),t,this)}))),function(t){return A.apply(this,arguments)})},{key:"updateRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(e,t)}},{key:"deleteRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(e,t)}},{key:"createCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(e,t)}},{key:"getRecordsByCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(e,t)}},{key:"deleteCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(e,t)}},{key:"getAllRecords",value:(E=o(m().mark((function t(e){var r,n,o,i,a,s,u;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.condition,n=e.orderBy,o=e.withCursor,i=void 0===o||o,a=y(e,ev),n){t.next=3;break}return t.abrupt("return",this.getAllRecordsWithId(d(d({},a),{},{condition:r})));case 3:if(!i){t.next=7;break}return s=r?"".concat(r," "):"",u="".concat(s).concat(n?"order by ".concat(n):""),t.abrupt("return",this.getAllRecordsWithCursor(d(d({},a),{},{query:u})));case 7:return t.abrupt("return",this.getAllRecordsWithOffset(d(d({},a),{},{orderBy:n,condition:r})));case 8:case"end":return t.stop()}}),t,this)}))),function(t){return E.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(S=o(m().mark((function t(e){var r,n,o,i,a,s,u,c,l,p;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.fields,n=e.condition,o=y(e,rv),(i=r)&&i.length>0&&-1===i.indexOf("$id")&&(i=[].concat(v(i),["$id"])),a=n?"(".concat(n,") and "):"",s=[],u="0";case 6:return c="".concat(a,"$id > ").concat(u," order by $id asc limit ").concat(ov),t.next=10,this.getRecords(d(d({},o),{},{fields:i,query:c}));case 10:if(l=t.sent,s=s.concat(l.records),!(l.records.length<ov)){t.next=14;break}return t.abrupt("break",22);case 14:if("__ID__"!==(p=l.records[l.records.length-1]).$id.type){t.next=19;break}u=p.$id.value,t.next=20;break;case 19:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 20:t.next=6;break;case 22:return t.abrupt("return",s);case 23:case"end":return t.stop()}}),t,this)}))),function(t){return S.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(x=o(m().mark((function t(e){var r,n,o,i,a,s,u,c;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.condition,n=e.orderBy,o=y(e,nv),i=r?"".concat(r," "):"",a=[],s=0;case 4:return u="".concat(i).concat(n?"order by ".concat(n," "):"","limit ").concat(ov," offset ").concat(s),t.next=8,this.getRecords(d(d({},o),{},{query:u}));case 8:if(c=t.sent,a=a.concat(c.records),!(c.records.length<ov)){t.next=12;break}return t.abrupt("break",15);case 12:s+=ov,t.next=4;break;case 15:return t.abrupt("return",a);case 16:case"end":return t.stop()}}),t,this)}))),function(t){return x.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(w=o(m().mark((function t(e){var r,n,o,i;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.createCursor(e);case 2:r=t.sent,n=r.id,t.prev=4,o=[];case 6:return t.next=9,this.getRecordsByCursor({id:n});case 9:if(i=t.sent,o=o.concat(i.records),i.next){t.next=13;break}return t.abrupt("break",15);case 13:t.next=6;break;case 15:return t.abrupt("return",o);case 18:return t.prev=18,t.t0=t.catch(4),t.next=22,this.deleteCursor({id:n});case 22:throw t.t0;case 23:case"end":return t.stop()}}),t,this,[[4,18]])}))),function(t){return w.apply(this,arguments)})},{key:"addAllRecords",value:(b=o(m().mark((function t(e){return m().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 b.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(g=o(m().mark((function t(e,r,n){var o,i,a,s,u;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,a=e.records,0!==(s=a.slice(0,o)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.addAllRecordsWithBulkRequest({app:i,records:s});case 8:u=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Zg({records:n},a,r,t.t0,100);case 14:return t.abrupt("return",this.addAllRecordsRecursive({app:i,records:a.slice(o)},r,n.concat(u)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return g.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(h=o(m().mark((function t(e){var r,n,o;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"POST",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=t.sent.results,t.abrupt("return",o.map((function(t){var e=t.ids,r=t.revisions;return e.map((function(t,e){return{id:t,revision:r[e]}}))})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return h.apply(this,arguments)})},{key:"updateAllRecords",value:(f=o(m().mark((function t(e){return m().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 f.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(l=o(m().mark((function t(e,r,n){var o,i,a,s,u,c;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,a=e.upsert,s=e.records,0!==(u=s.slice(0,o)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.updateAllRecordsWithBulkRequest({app:i,upsert:a,records:u});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Zg({records:n},s,r,t.t0,100);case 14:return t.abrupt("return",this.updateAllRecordsRecursive({app:i,upsert:a,records:s.slice(o)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return l.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(s=o(m().mark((function t(e){var r,n,o;return m().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,upsert:e.upsert,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=t.sent.results,t.abrupt("return",o.map((function(t){return t.records})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return s.apply(this,arguments)})},{key:"deleteAllRecords",value:function(t){return this.deleteAllRecordsRecursive(t,t.records.length)}},{key:"deleteAllRecordsRecursive",value:(n=o(m().mark((function t(e,r){var n,o,i,a;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,o=e.app,i=e.records,0!==(a=i.slice(0,n)).length){t.next=5;break}return t.abrupt("return",{});case 5:return t.prev=5,t.next=8,this.deleteAllRecordsWithBulkRequest({app:o,records:a});case 8:t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(5),new Zg({},i,r,t.t0,100);case 13:return t.abrupt("return",this.deleteAllRecordsRecursive({app:o,records:i.slice(n)},r));case 14:case"end":return t.stop()}}),t,this,[[5,10]])}))),function(t,e){return n.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(r=o(m().mark((function t(e){var r,n;return m().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 r.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(v(e),[n]),r.slice(t))}},{key:"addRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(e,t)}},{key:"deleteRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(e,t)}},{key:"getRecordComments",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(e,t)}},{key:"updateRecordAssignees",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(e,t)}},{key:"updateRecordStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(e,t)}},{key:"updateRecordsStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(e,t)}}]);var r,n,s,l,f,h,g,b,w,x,S,E,A,R,O}(Xy),av=function(t){function e(){return a(this,e),i(this,e,arguments)}return p(e,t),u(e,[{key:"getSpace",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.get(e,t)}},{key:"updateSpace",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.put(e,t)}},{key:"deleteSpace",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.delete(e,t)}},{key:"updateSpaceBody",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/body"});return this.client.put(e,t)}},{key:"getSpaceMembers",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.get(e,t)}},{key:"updateSpaceMembers",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.put(e,t)}},{key:"addThread",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.post(e,t)}},{key:"updateThread",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.put(e,t)}},{key:"addThreadComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/thread/comment"});return this.client.post(e,t)}},{key:"addGuests",value:function(t){var e=this.buildPath({endpointName:"guests"});return this.client.post(e,t)}},{key:"deleteGuests",value:function(t){var e=this.buildPath({endpointName:"guests"});return this.client.delete(e,t)}},{key:"updateSpaceGuests",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"space/guests"});return this.client.put(e,t)}},{key:"addSpaceFromTemplate",value:function(t){var e=this.buildPath({endpointName:"template/space"});return this.client.post(e,t)}}])}(Xy),sv=E("object"==typeof self?self.FormData:window.FormData),uv=function(t){function r(){return a(this,r),i(this,r,arguments)}return p(r,t),u(r,[{key:"uploadFile",value:(n=o(m().mark((function t(r){var n,o,i,a,s,u,c,l,p;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),o=new sv,!("path"in r.file)){t.next=19;break}return t.prev=3,t.next=6,e.readFileFromPath(r.file.path);case 6:i=t.sent,a=i.name,s=i.data,o.append("file",s,a),t.next=17;break;case 12:if(t.prev=12,t.t0=t.catch(3),!(t.t0 instanceof Ki)){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:u=r.file,c=u.name,l=u.data,p=e.buildFormDataValue(l,c),o.append("file",p,c);case 22:return t.abrupt("return",this.client.postData(n,o));case 23:case"end":return t.stop()}}),t,this,[[3,12]])}))),function(t){return n.apply(this,arguments)})},{key:"downloadFile",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(e,t)}}]);var n}(Xy),cv=function(t){function e(){return a(this,e),i(this,e,arguments)}return p(e,t),u(e,[{key:"getPlugins",value:function(t){var e=this.buildPath({endpointName:"plugins"});return this.client.get(e,t)}},{key:"getRequiredPlugins",value:function(t){var e=this.buildPath({endpointName:"plugins/required"});return this.client.get(e,t)}},{key:"getApps",value:function(t){var e=this.buildPath({endpointName:"plugin/apps"});return this.client.get(e,t)}},{key:"updatePlugin",value:function(t){var e=this.buildPath({endpointName:"plugin"});return this.client.put(e,t)}},{key:"installPlugin",value:function(t){var e=this.buildPath({endpointName:"plugin"});return this.client.post(e,t)}},{key:"uninstallPlugin",value:function(t){var e=this.buildPath({endpointName:"plugin"});return this.client.delete(e,t)}}])}(Xy),lv="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function pv(){throw new Error("setTimeout has not been defined")}function fv(){throw new Error("clearTimeout has not been defined")}var hv=pv,dv=fv;function yv(t){if(hv===setTimeout)return setTimeout(t,0);if((hv===pv||!hv)&&setTimeout)return hv=setTimeout,setTimeout(t,0);try{return hv(t,0)}catch(e){try{return hv.call(null,t,0)}catch(e){return hv.call(this,t,0)}}}"function"==typeof lv.setTimeout&&(hv=setTimeout),"function"==typeof lv.clearTimeout&&(dv=clearTimeout);var mv,gv=[],vv=!1,bv=-1;function wv(){vv&&mv&&(vv=!1,mv.length?gv=mv.concat(gv):bv=-1,gv.length&&xv())}function xv(){if(!vv){var t=yv(wv);vv=!0;for(var e=gv.length;e;){for(mv=gv,gv=[];++bv<e;)mv&&mv[bv].run();bv=-1,e=gv.length}mv=null,vv=!1,function(t){if(dv===clearTimeout)return clearTimeout(t);if((dv===fv||!dv)&&clearTimeout)return dv=clearTimeout,clearTimeout(t);try{return dv(t)}catch(e){try{return dv.call(null,t)}catch(e){return dv.call(this,t)}}}(t)}}function Sv(t,e){this.fun=t,this.array=e}Sv.prototype.run=function(){this.fun.apply(null,this.array)};var Ev=lv.performance||{};Ev.now||Ev.mozNow||Ev.msNow||Ev.oNow||Ev.webkitNow;function Av(t,e){return function(){return t.apply(e,arguments)}}const{toString:Rv}=Object.prototype,{getPrototypeOf:Ov}=Object,Pv=(kv=Object.create(null),t=>{const e=Rv.call(t);return kv[e]||(kv[e]=e.slice(8,-1).toLowerCase())});var kv;const jv=t=>(t=t.toLowerCase(),e=>Pv(e)===t),Tv=t=>e=>typeof e===t,{isArray:Iv}=Array,_v=Tv("undefined");const Nv=jv("ArrayBuffer");const Cv=Tv("string"),Uv=Tv("function"),Lv=Tv("number"),Fv=t=>null!==t&&"object"==typeof t,Dv=t=>{if("object"!==Pv(t))return!1;const e=Ov(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},Bv=jv("Date"),Mv=jv("File"),qv=jv("Blob"),Wv=jv("FileList"),Gv=jv("URLSearchParams"),[zv,Hv,$v,Vv]=["ReadableStream","Request","Response","Headers"].map(jv);function Kv(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]),Iv(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 Yv(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 Jv="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:lv,Qv=t=>!_v(t)&&t!==Jv;const Xv=(t=>e=>t&&e instanceof t)("undefined"!=typeof Uint8Array&&Ov(Uint8Array)),Zv=jv("HTMLFormElement"),tb=(t=>{let{hasOwnProperty:e}=t;return(t,r)=>e.call(t,r)})(Object.prototype),eb=jv("RegExp"),rb=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};Kv(r,((r,o)=>{let i;!1!==(i=e(r,o,t))&&(n[o]=i||r)})),Object.defineProperties(t,n)};const nb=jv("AsyncFunction"),ob=(ib="function"==typeof setImmediate,ab=Uv(Jv.postMessage),ib?setImmediate:ab?(sb=`axios@${Math.random()}`,ub=[],Jv.addEventListener("message",(t=>{let{source:e,data:r}=t;e===Jv&&r===sb&&ub.length&&ub.shift()()}),!1),t=>{ub.push(t),Jv.postMessage(sb,"*")}):t=>setTimeout(t));var ib,ab,sb,ub;const cb="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Jv):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];gv.push(new Sv(t,e)),1!==gv.length||vv||yv(xv)}||ob;var lb={isArray:Iv,isArrayBuffer:Nv,isBuffer:function(t){return null!==t&&!_v(t)&&null!==t.constructor&&!_v(t.constructor)&&Uv(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||Uv(t.append)&&("formdata"===(e=Pv(t))||"object"===e&&Uv(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Nv(t.buffer),e},isString:Cv,isNumber:Lv,isBoolean:t=>!0===t||!1===t,isObject:Fv,isPlainObject:Dv,isReadableStream:zv,isRequest:Hv,isResponse:$v,isHeaders:Vv,isUndefined:_v,isDate:Bv,isFile:Mv,isBlob:qv,isRegExp:eb,isFunction:Uv,isStream:t=>Fv(t)&&Uv(t.pipe),isURLSearchParams:Gv,isTypedArray:Xv,isFileList:Wv,forEach:Kv,merge:function t(){const{caseless:e}=Qv(this)&&this||{},r={},n=(n,o)=>{const i=e&&Yv(r,o)||o;Dv(r[i])&&Dv(n)?r[i]=t(r[i],n):Dv(n)?r[i]=t({},n):Iv(n)?r[i]=n.slice():r[i]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&Kv(arguments[t],n);return r},extend:function(t,e,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Kv(e,((e,n)=>{r&&Uv(e)?t[n]=Av(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&&Ov(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:Pv,kindOfTest:jv,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(Iv(t))return t;let e=t.length;if(!Lv(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:Zv,hasOwnProperty:tb,hasOwnProp:tb,reduceDescriptors:rb,freezeMethods:t=>{rb(t,((e,r)=>{if(Uv(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];Uv(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 Iv(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)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:Yv,global:Jv,isContextDefined:Qv,isSpecCompliantForm:function(t){return!!(t&&Uv(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(Fv(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const o=Iv(t)?[]:{};return Kv(t,((t,e)=>{const i=r(t,n+1);!_v(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:nb,isThenable:t=>t&&(Fv(t)||Uv(t))&&Uv(t.then)&&Uv(t.catch),setImmediate:ob,asap:cb},pb=[],fb=[],hb="undefined"!=typeof Uint8Array?Uint8Array:Array,db=!1;function yb(){db=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0;e<64;++e)pb[e]=t[e],fb[t.charCodeAt(e)]=e;fb["-".charCodeAt(0)]=62,fb["_".charCodeAt(0)]=63}function mb(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(pb[(o=n)>>18&63]+pb[o>>12&63]+pb[o>>6&63]+pb[63&o]);return i.join("")}function gb(t){var e;db||yb();for(var r=t.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(mb(t,s,s+a>u?u:s+a));return 1===n?(e=t[r-1],o+=pb[e>>2],o+=pb[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=pb[e>>10],o+=pb[e>>4&63],o+=pb[e<<2&63],o+="="),i.push(o),i.join("")}function vb(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 bb(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 wb={}.toString,xb=Array.isArray||function(t){return"[object Array]"==wb.call(t)};function Sb(){return Ab.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Eb(t,e){if(Sb()<e)throw new RangeError("Invalid typed array length");return Ab.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=Ab.prototype:(null===t&&(t=new Ab(e)),t.length=e),t}function Ab(t,e,r){if(!(Ab.TYPED_ARRAY_SUPPORT||this instanceof Ab))return new Ab(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return Pb(this,t)}return Rb(this,t,e,r)}function Rb(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);Ab.TYPED_ARRAY_SUPPORT?(t=e).__proto__=Ab.prototype:t=kb(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!Ab.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Ib(e,r);t=Eb(t,n);var o=t.write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(Tb(e)){var r=0|jb(e.length);return 0===(t=Eb(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?Eb(t,0):kb(t,e);if("Buffer"===e.type&&xb(e.data))return kb(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function Ob(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function Pb(t,e){if(Ob(e),t=Eb(t,e<0?0:0|jb(e)),!Ab.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function kb(t,e){var r=e.length<0?0:0|jb(e.length);t=Eb(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function jb(t){if(t>=Sb())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Sb().toString(16)+" bytes");return 0|t}function Tb(t){return!(null==t||!t._isBuffer)}function Ib(t,e){if(Tb(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 ow(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return iw(t).length;default:if(n)return ow(t).length;e=(""+e).toLowerCase(),n=!0}}function _b(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 Vb(this,e,r);case"utf8":case"utf-8":return Gb(this,e,r);case"ascii":return Hb(this,e,r);case"latin1":case"binary":return $b(this,e,r);case"base64":return Wb(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kb(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function Nb(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Cb(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=Ab.from(e,n)),Tb(e))return 0===e.length?-1:Ub(t,e,r,n,o);if("number"==typeof e)return e&=255,Ab.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Ub(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Ub(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 Lb(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 Fb(t,e,r,n){return aw(ow(e,t.length-r),t,r,n)}function Db(t,e,r,n){return aw(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function Bb(t,e,r,n){return Db(t,e,r,n)}function Mb(t,e,r,n){return aw(iw(e),t,r,n)}function qb(t,e,r,n){return aw(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 Wb(t,e,r){return 0===e&&r===t.length?gb(t):gb(t.slice(e,r))}function Gb(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<=zb)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=zb));return r}(n)}Ab.TYPED_ARRAY_SUPPORT=void 0===lv.TYPED_ARRAY_SUPPORT||lv.TYPED_ARRAY_SUPPORT,Sb(),Ab.poolSize=8192,Ab._augment=function(t){return t.__proto__=Ab.prototype,t},Ab.from=function(t,e,r){return Rb(null,t,e,r)},Ab.TYPED_ARRAY_SUPPORT&&(Ab.prototype.__proto__=Uint8Array.prototype,Ab.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Ab[Symbol.species]),Ab.alloc=function(t,e,r){return function(t,e,r,n){return Ob(e),e<=0?Eb(t,e):void 0!==r?"string"==typeof n?Eb(t,e).fill(r,n):Eb(t,e).fill(r):Eb(t,e)}(null,t,e,r)},Ab.allocUnsafe=function(t){return Pb(null,t)},Ab.allocUnsafeSlow=function(t){return Pb(null,t)},Ab.isBuffer=function(t){return null!=t&&(!!t._isBuffer||sw(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&sw(t.slice(0,0))}(t))},Ab.compare=function(t,e){if(!Tb(t)||!Tb(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},Ab.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}},Ab.concat=function(t,e){if(!xb(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return Ab.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=Ab.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!Tb(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},Ab.byteLength=Ib,Ab.prototype._isBuffer=!0,Ab.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)Nb(this,e,e+1);return this},Ab.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)Nb(this,e,e+3),Nb(this,e+1,e+2);return this},Ab.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)Nb(this,e,e+7),Nb(this,e+1,e+6),Nb(this,e+2,e+5),Nb(this,e+3,e+4);return this},Ab.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?Gb(this,0,t):_b.apply(this,arguments)},Ab.prototype.equals=function(t){if(!Tb(t))throw new TypeError("Argument must be a Buffer");return this===t||0===Ab.compare(this,t)},Ab.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+">"},Ab.prototype.compare=function(t,e,r,n,o){if(!Tb(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},Ab.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},Ab.prototype.indexOf=function(t,e,r){return Cb(this,t,e,r,!0)},Ab.prototype.lastIndexOf=function(t,e,r){return Cb(this,t,e,r,!1)},Ab.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 Lb(this,t,e,r);case"utf8":case"utf-8":return Fb(this,t,e,r);case"ascii":return Db(this,t,e,r);case"latin1":case"binary":return Bb(this,t,e,r);case"base64":return Mb(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return qb(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},Ab.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var zb=4096;function Hb(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 $b(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 Vb(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+=nw(t[i]);return o}function Kb(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 Yb(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 Jb(t,e,r,n,o,i){if(!Tb(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 Qb(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 Xb(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 Zb(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 tw(t,e,r,n,o){return o||Zb(t,0,r,4),bb(t,e,r,n,23,4),r+4}function ew(t,e,r,n,o){return o||Zb(t,0,r,8),bb(t,e,r,n,52,8),r+8}Ab.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),Ab.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=Ab.prototype;else{var o=e-t;r=new Ab(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},Ab.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||Yb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},Ab.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||Yb(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},Ab.prototype.readUInt8=function(t,e){return e||Yb(t,1,this.length),this[t]},Ab.prototype.readUInt16LE=function(t,e){return e||Yb(t,2,this.length),this[t]|this[t+1]<<8},Ab.prototype.readUInt16BE=function(t,e){return e||Yb(t,2,this.length),this[t]<<8|this[t+1]},Ab.prototype.readUInt32LE=function(t,e){return e||Yb(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Ab.prototype.readUInt32BE=function(t,e){return e||Yb(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Ab.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||Yb(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},Ab.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||Yb(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},Ab.prototype.readInt8=function(t,e){return e||Yb(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Ab.prototype.readInt16LE=function(t,e){e||Yb(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},Ab.prototype.readInt16BE=function(t,e){e||Yb(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},Ab.prototype.readInt32LE=function(t,e){return e||Yb(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Ab.prototype.readInt32BE=function(t,e){return e||Yb(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Ab.prototype.readFloatLE=function(t,e){return e||Yb(t,4,this.length),vb(this,t,!0,23,4)},Ab.prototype.readFloatBE=function(t,e){return e||Yb(t,4,this.length),vb(this,t,!1,23,4)},Ab.prototype.readDoubleLE=function(t,e){return e||Yb(t,8,this.length),vb(this,t,!0,52,8)},Ab.prototype.readDoubleBE=function(t,e){return e||Yb(t,8,this.length),vb(this,t,!1,52,8)},Ab.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||Jb(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},Ab.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||Jb(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},Ab.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||Jb(this,t,e,1,255,0),Ab.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},Ab.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||Jb(this,t,e,2,65535,0),Ab.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Qb(this,t,e,!0),e+2},Ab.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||Jb(this,t,e,2,65535,0),Ab.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Qb(this,t,e,!1),e+2},Ab.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||Jb(this,t,e,4,4294967295,0),Ab.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Xb(this,t,e,!0),e+4},Ab.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||Jb(this,t,e,4,4294967295,0),Ab.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Xb(this,t,e,!1),e+4},Ab.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);Jb(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},Ab.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);Jb(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},Ab.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||Jb(this,t,e,1,127,-128),Ab.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},Ab.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||Jb(this,t,e,2,32767,-32768),Ab.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Qb(this,t,e,!0),e+2},Ab.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||Jb(this,t,e,2,32767,-32768),Ab.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Qb(this,t,e,!1),e+2},Ab.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||Jb(this,t,e,4,2147483647,-2147483648),Ab.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Xb(this,t,e,!0),e+4},Ab.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||Jb(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),Ab.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Xb(this,t,e,!1),e+4},Ab.prototype.writeFloatLE=function(t,e,r){return tw(this,t,e,!0,r)},Ab.prototype.writeFloatBE=function(t,e,r){return tw(this,t,e,!1,r)},Ab.prototype.writeDoubleLE=function(t,e,r){return ew(this,t,e,!0,r)},Ab.prototype.writeDoubleBE=function(t,e,r){return ew(this,t,e,!1,r)},Ab.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||!Ab.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},Ab.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&&!Ab.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=Tb(t)?t:ow(new Ab(t,n).toString()),s=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%s]}return this};var rw=/[^+\/0-9A-Za-z-_]/g;function nw(t){return t<16?"0"+t.toString(16):t.toString(16)}function ow(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 iw(t){return function(t){var e,r,n,o,i,a;db||yb();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 hb(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=fb[t.charCodeAt(e)]<<18|fb[t.charCodeAt(e+1)]<<12|fb[t.charCodeAt(e+2)]<<6|fb[t.charCodeAt(e+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=fb[t.charCodeAt(e)]<<2|fb[t.charCodeAt(e+1)]>>4,a[u++]=255&o):1===i&&(o=fb[t.charCodeAt(e)]<<10|fb[t.charCodeAt(e+1)]<<4|fb[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(rw,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function aw(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 sw(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function uw(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,this.status=o.status?o.status:null)}lb.inherits(uw,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:lb.toJSONObject(this.config),code:this.code,status:this.status}}});const cw=uw.prototype,lw={};["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=>{lw[t]={value:t}})),Object.defineProperties(uw,lw),Object.defineProperty(cw,"isAxiosError",{value:!0}),uw.from=(t,e,r,n,o,i)=>{const a=Object.create(cw);return lb.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),uw.call(a,t.message,e,r,n,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};function pw(t){return lb.isPlainObject(t)||lb.isArray(t)}function fw(t){return lb.endsWith(t,"[]")?t.slice(0,-2):t}function hw(t,e,r){return t?t.concat(e).map((function(t,e){return t=fw(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const dw=lb.toFlatObject(lb,{},null,(function(t){return/^is[A-Z]/.test(t)}));function yw(t,e,r){if(!lb.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=lb.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!lb.isUndefined(e[t])}))).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&lb.isSpecCompliantForm(e);if(!lb.isFunction(o))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(lb.isDate(t))return t.toISOString();if(!s&&lb.isBlob(t))throw new uw("Blob is not supported. Use a Buffer instead.");return lb.isArrayBuffer(t)||lb.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Ab.from(t):t}function c(t,r,o){let s=t;if(t&&!o&&"object"==typeof t)if(lb.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(lb.isArray(t)&&function(t){return lb.isArray(t)&&!t.some(pw)}(t)||(lb.isFileList(t)||lb.endsWith(r,"[]"))&&(s=lb.toArray(t)))return r=fw(r),s.forEach((function(t,n){!lb.isUndefined(t)&&null!==t&&e.append(!0===a?hw([r],n,i):null===a?r:r+"[]",u(t))})),!1;return!!pw(t)||(e.append(hw(o,r,i),u(t)),!1)}const l=[],p=Object.assign(dw,{defaultVisitor:c,convertValue:u,isVisitable:pw});if(!lb.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!lb.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),lb.forEach(r,(function(r,i){!0===(!(lb.isUndefined(r)||null===r)&&o.call(e,r,lb.isString(i)?i.trim():i,n,p))&&t(r,n?n.concat(i):[i])})),l.pop()}}(t),e}function mw(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function gw(t,e){this._pairs=[],t&&yw(t,this,e)}const vw=gw.prototype;function bw(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ww(t,e,r){if(!e)return t;const n=r&&r.encode||bw;lb.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(i=o?o(e,r):lb.isURLSearchParams(e)?e.toString():new gw(e,r).toString(n),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}vw.append=function(t,e){this._pairs.push([t,e])},vw.toString=function(t){const e=t?function(e){return t.call(this,e,mw)}:mw;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};class xw{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){lb.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}var Sw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ew={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:gw,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Aw="undefined"!=typeof window&&"undefined"!=typeof document,Rw="object"==typeof navigator&&navigator||void 0,Ow=Aw&&(!Rw||["ReactNative","NativeScript","NS"].indexOf(Rw.product)<0),Pw="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,kw=Aw&&window.location.href||"http://localhost";var jw={...Object.freeze({__proto__:null,hasBrowserEnv:Aw,hasStandardBrowserEnv:Ow,hasStandardBrowserWebWorkerEnv:Pw,navigator:Rw,origin:kw}),...Ew};function Tw(t){function e(t,r,n,o){let i=t[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&lb.isArray(n)?n.length:i,s)return lb.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&lb.isObject(n[i])||(n[i]=[]);return e(t,r,n[i],o)&&lb.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(lb.isFormData(t)&&lb.isFunction(t.entries)){const r={};return lb.forEachEntry(t,((t,n)=>{e(function(t){return lb.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null}const Iw={transitional:Sw,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=lb.isObject(t);o&&lb.isHTMLForm(t)&&(t=new FormData(t));if(lb.isFormData(t))return n?JSON.stringify(Tw(t)):t;if(lb.isArrayBuffer(t)||lb.isBuffer(t)||lb.isStream(t)||lb.isFile(t)||lb.isBlob(t)||lb.isReadableStream(t))return t;if(lb.isArrayBufferView(t))return t.buffer;if(lb.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 yw(t,new jw.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return jw.isNode&&lb.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=lb.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return yw(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),function(t,e,r){if(lb.isString(t))try{return(e||JSON.parse)(t),lb.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||Iw.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(lb.isResponse(t)||lb.isReadableStream(t))return t;if(t&&lb.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 uw.from(t,uw.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:jw.classes.FormData,Blob:jw.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};lb.forEach(["delete","get","head","post","put","patch"],(t=>{Iw.headers[t]={}}));const _w=lb.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 Nw=Symbol("internals");function Cw(t){return t&&String(t).trim().toLowerCase()}function Uw(t){return!1===t||null==t?t:lb.isArray(t)?t.map(Uw):String(t)}function Lw(t,e,r,n,o){return lb.isFunction(n)?n.call(this,e,r):(o&&(e=r),lb.isString(e)?lb.isString(n)?-1!==e.indexOf(n):lb.isRegExp(n)?n.test(e):void 0:void 0)}let Fw=class{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=Cw(e);if(!o)throw new Error("header name must be a non-empty string");const i=lb.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=Uw(t))}const i=(t,e)=>lb.forEach(t,((t,r)=>o(t,r,e)));if(lb.isPlainObject(t)||t instanceof this.constructor)i(t,e);else if(lb.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]&&_w[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e);else if(lb.isHeaders(t))for(const[e,n]of t.entries())o(n,e,r);else null!=t&&o(e,t,r);return this}get(t,e){if(t=Cw(t)){const r=lb.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(lb.isFunction(e))return e.call(this,t,r);if(lb.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Cw(t)){const r=lb.findKey(this,t);return!(!r||void 0===this[r]||e&&!Lw(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=Cw(t)){const o=lb.findKey(r,t);!o||e&&!Lw(0,r[o],o,e)||(delete r[o],n=!0)}}return lb.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&&!Lw(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return lb.forEach(this,((n,o)=>{const i=lb.findKey(r,o);if(i)return e[i]=Uw(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]=Uw(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 lb.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&lb.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[Nw]=this[Nw]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=Cw(t);e[n]||(!function(t,e){const r=lb.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 lb.isArray(t)?t.forEach(n):n(t),this}};function Dw(t,e){const r=this||Iw,n=e||r,o=Fw.from(n.headers);let i=n.data;return lb.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function Bw(t){return!(!t||!t.__CANCEL__)}function Mw(t,e,r){uw.call(this,null==t?"canceled":t,uw.ERR_CANCELED,e,r),this.name="CanceledError"}function qw(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new uw("Request failed with status code "+r.status,[uw.ERR_BAD_REQUEST,uw.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}Fw.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),lb.reduceDescriptors(Fw.prototype,((t,e)=>{let{value:r}=t,n=e[0].toUpperCase()+e.slice(1);return{get:()=>r,set(t){this[n]=t}}})),lb.freezeMethods(Fw),lb.inherits(Mw,uw,{__CANCEL__:!0});const Ww=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=0;const o=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 function(t,e){let r,n,o=0,i=1e3/e;const a=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,r=null,n&&(clearTimeout(n),n=null),t.apply(null,e)};return[function(){const t=Date.now(),e=t-o;for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];e>=i?a(u,t):(r=u,n||(n=setTimeout((()=>{n=null,a(r)}),i-e)))},()=>r&&a(r)]}((r=>{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,u=o(s);n=i;t({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:r,lengthComputable:null!=a,[e?"download":"upload"]:!0})}),r)},Gw=(t,e)=>{const r=null!=t;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},zw=t=>function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return lb.asap((()=>t(...r)))};var Hw=jw.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,jw.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(jw.origin),jw.navigator&&/(msie|trident)/i.test(jw.navigator.userAgent)):()=>!0,$w=jw.hasStandardBrowserEnv?{write(t,e,r,n,o,i){const a=[t+"="+encodeURIComponent(e)];lb.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),lb.isString(n)&&a.push("path="+n),lb.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Vw(t,e,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);return t&&(n||0==r)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Kw=t=>t instanceof Fw?{...t}:t;function Yw(t,e){e=e||{};const r={};function n(t,e,r,n){return lb.isPlainObject(t)&&lb.isPlainObject(e)?lb.merge.call({caseless:n},t,e):lb.isPlainObject(e)?lb.merge({},e):lb.isArray(e)?e.slice():e}function o(t,e,r,o){return lb.isUndefined(e)?lb.isUndefined(t)?void 0:n(void 0,t,0,o):n(t,e,0,o)}function i(t,e){if(!lb.isUndefined(e))return n(void 0,e)}function a(t,e){return lb.isUndefined(e)?lb.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function s(r,o,i){return i in e?n(r,o):i in t?n(void 0,r):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e,r)=>o(Kw(t),Kw(e),0,!0)};return lb.forEach(Object.keys(Object.assign({},t,e)),(function(n){const i=u[n]||o,a=i(t[n],e[n],n);lb.isUndefined(a)&&i!==s||(r[n]=a)})),r}var Jw=t=>{const e=Yw({},t);let r,{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:u}=e;if(e.headers=s=Fw.from(s),e.url=ww(Vw(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),lb.isFormData(n))if(jw.hasStandardBrowserEnv||jw.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(r=s.getContentType())){const[t,...e]=r?r.split(";").map((t=>t.trim())).filter(Boolean):[];s.setContentType([t||"multipart/form-data",...e].join("; "))}if(jw.hasStandardBrowserEnv&&(o&&lb.isFunction(o)&&(o=o(e)),o||!1!==o&&Hw(e.url))){const t=i&&a&&$w.read(a);t&&s.set(i,t)}return e};var Qw="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){const n=Jw(t);let o=n.data;const i=Fw.from(n.headers).normalize();let a,s,u,c,l,{responseType:p,onUploadProgress:f,onDownloadProgress:h}=n;function d(){c&&c(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let y=new XMLHttpRequest;function m(){if(!y)return;const n=Fw.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());qw((function(t){e(t),d()}),(function(t){r(t),d()}),{data:p&&"text"!==p&&"json"!==p?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:t,request:y}),y=null}y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout,"onloadend"in y?y.onloadend=m:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(m)},y.onabort=function(){y&&(r(new uw("Request aborted",uw.ECONNABORTED,t,y)),y=null)},y.onerror=function(){r(new uw("Network Error",uw.ERR_NETWORK,t,y)),y=null},y.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||Sw;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new uw(e,o.clarifyTimeoutError?uw.ETIMEDOUT:uw.ECONNABORTED,t,y)),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&lb.forEach(i.toJSON(),(function(t,e){y.setRequestHeader(e,t)})),lb.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),p&&"json"!==p&&(y.responseType=n.responseType),h&&([u,l]=Ww(h,!0),y.addEventListener("progress",u)),f&&y.upload&&([s,c]=Ww(f),y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(a=e=>{y&&(r(!e||e.type?new Mw(null,t,y):e),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const g=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(n.url);g&&-1===jw.protocols.indexOf(g)?r(new uw("Unsupported protocol "+g+":",uw.ERR_BAD_REQUEST,t)):y.send(o||null)}))};const Xw=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let r,n=new AbortController;const o=function(t){if(!r){r=!0,a();const e=t instanceof Error?t:this.reason;n.abort(e instanceof uw?e:new Mw(e instanceof Error?e.message:e))}};let i=e&&setTimeout((()=>{i=null,o(new uw(`timeout ${e} of ms exceeded`,uw.ETIMEDOUT))}),e);const a=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)})),t=null)};t.forEach((t=>t.addEventListener("abort",o)));const{signal:s}=n;return s.unsubscribe=()=>lb.asap(a),s}},Zw=function*(t,e){let r=t.byteLength;if(r<e)return void(yield t);let n,o=0;for(;o<r;)n=o+e,yield t.slice(o,n),o=n},tx=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:r}=await e.read();if(t)break;yield r}}finally{await e.cancel()}},ex=(t,e,r,n)=>{const o=async function*(t,e){for await(const r of tx(t))yield*Zw(r,e)}(t,e);let i,a=0,s=t=>{i||(i=!0,n&&n(t))};return new ReadableStream({async pull(t){try{const{done:e,value:n}=await o.next();if(e)return s(),void t.close();let i=n.byteLength;if(r){let t=a+=i;r(t)}t.enqueue(new Uint8Array(n))}catch(t){throw s(t),t}},cancel:t=>(s(t),o.return())},{highWaterMark:2})},rx="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,nx=rx&&"function"==typeof ReadableStream,ox=rx&&("function"==typeof TextEncoder?(ix=new TextEncoder,t=>ix.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var ix;const ax=function(t){try{for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return!!t(...r)}catch(t){return!1}},sx=nx&&ax((()=>{let t=!1;const e=new Request(jw.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),ux=nx&&ax((()=>lb.isReadableStream(new Response("").body))),cx={stream:ux&&(t=>t.body)};var lx;rx&&(lx=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!cx[t]&&(cx[t]=lb.isFunction(lx[t])?e=>e[t]():(e,r)=>{throw new uw(`Response type '${t}' is not supported`,uw.ERR_NOT_SUPPORT,r)})})));const px=async(t,e)=>{const r=lb.toFiniteNumber(t.getContentLength());return null==r?(async t=>{if(null==t)return 0;if(lb.isBlob(t))return t.size;if(lb.isSpecCompliantForm(t)){const e=new Request(jw.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return lb.isArrayBufferView(t)||lb.isArrayBuffer(t)?t.byteLength:(lb.isURLSearchParams(t)&&(t+=""),lb.isString(t)?(await ox(t)).byteLength:void 0)})(e):r};var fx=rx&&(async t=>{let{url:e,method:r,data:n,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:u,responseType:c,headers:l,withCredentials:p="same-origin",fetchOptions:f}=Jw(t);c=c?(c+"").toLowerCase():"text";let h,d=Xw([o,i&&i.toAbortSignal()],a);const y=d&&d.unsubscribe&&(()=>{d.unsubscribe()});let m;try{if(u&&sx&&"get"!==r&&"head"!==r&&0!==(m=await px(l,n))){let t,r=new Request(e,{method:"POST",body:n,duplex:"half"});if(lb.isFormData(n)&&(t=r.headers.get("content-type"))&&l.setContentType(t),r.body){const[t,e]=Gw(m,Ww(zw(u)));n=ex(r.body,65536,t,e)}}lb.isString(p)||(p=p?"include":"omit");const o="credentials"in Request.prototype;h=new Request(e,{...f,signal:d,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:o?p:void 0});let i=await fetch(h);const a=ux&&("stream"===c||"response"===c);if(ux&&(s||a&&y)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=i[e]}));const e=lb.toFiniteNumber(i.headers.get("content-length")),[r,n]=s&&Gw(e,Ww(zw(s),!0))||[];i=new Response(ex(i.body,65536,r,(()=>{n&&n(),y&&y()})),t)}c=c||"text";let g=await cx[lb.findKey(cx,c)||"text"](i,t);return!a&&y&&y(),await new Promise(((e,r)=>{qw(e,r,{data:g,headers:Fw.from(i.headers),status:i.status,statusText:i.statusText,config:t,request:h})}))}catch(e){if(y&&y(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new uw("Network Error",uw.ERR_NETWORK,t,h),{cause:e.cause||e});throw uw.from(e,e&&e.code,t,h)}});const hx={http:null,xhr:Qw,fetch:fx};lb.forEach(hx,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const dx=t=>`- ${t}`,yx=t=>lb.isFunction(t)||null===t||!1===t;var mx=t=>{t=lb.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let i=0;i<e;i++){let e;if(r=t[i],n=r,!yx(r)&&(n=hx[(e=String(r)).toLowerCase()],void 0===n))throw new uw(`Unknown adapter '${e}'`);if(n)break;o[e||"#"+i]=n}if(!n){const t=Object.entries(o).map((t=>{let[e,r]=t;return`adapter ${e} `+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new uw("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(dx).join("\n"):" "+dx(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function gx(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Mw(null,t)}function vx(t){gx(t),t.headers=Fw.from(t.headers),t.data=Dw.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return mx(t.adapter||Iw.adapter)(t).then((function(e){return gx(t),e.data=Dw.call(t,t.transformResponse,e),e.headers=Fw.from(e.headers),e}),(function(e){return Bw(e)||(gx(t),e&&e.response&&(e.response.data=Dw.call(t,t.transformResponse,e.response),e.response.headers=Fw.from(e.response.headers))),Promise.reject(e)}))}const bx="1.8.4",wx={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{wx[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const xx={};wx.transitional=function(t,e,r){function n(t,e){return"[Axios v1.8.4] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,i)=>{if(!1===t)throw new uw(n(o," has been removed"+(e?" in "+e:"")),uw.ERR_DEPRECATED);return e&&!xx[o]&&(xx[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)}},wx.spelling=function(t){return(e,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};var Sx={assertOptions:function(t,e,r){if("object"!=typeof t)throw new uw("options must be an object",uw.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 uw("option "+i+" must be "+r,uw.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new uw("Unknown option "+i,uw.ERR_BAD_OPTION)}},validators:wx};const Ex=Sx.validators;let Ax=class{constructor(t){this.defaults=t,this.interceptors={request:new xw,response:new xw}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const r=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?r&&!String(t.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+r):t.stack=r}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Yw(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;void 0!==r&&Sx.assertOptions(r,{silentJSONParsing:Ex.transitional(Ex.boolean),forcedJSONParsing:Ex.transitional(Ex.boolean),clarifyTimeoutError:Ex.transitional(Ex.boolean)},!1),null!=n&&(lb.isFunction(n)?e.paramsSerializer={serialize:n}:Sx.assertOptions(n,{encode:Ex.function,serialize:Ex.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),Sx.assertOptions(e,{baseUrl:Ex.spelling("baseURL"),withXsrfToken:Ex.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&lb.merge(o.common,o[e.method]);o&&lb.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=Fw.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=[vx.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=vx.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 ww(Vw((t=Yw(this.defaults,t)).baseURL,t.url,t.allowAbsoluteUrls),t.params,t.paramsSerializer)}};lb.forEach(["delete","get","head","options"],(function(t){Ax.prototype[t]=function(e,r){return this.request(Yw(r||{},{method:t,url:e,data:(r||{}).data}))}})),lb.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(Yw(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Ax.prototype[t]=e(),Ax.prototype[t+"Form"]=e(!0)}));const Rx={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(Rx).forEach((t=>{let[e,r]=t;Rx[r]=e}));const Ox=function t(e){const r=new Ax(e),n=Av(Ax.prototype.request,r);return lb.extend(n,Ax.prototype,r,{allOwnKeys:!0}),lb.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(Yw(e,r))},n}(Iw);Ox.Axios=Ax,Ox.CanceledError=Mw,Ox.CancelToken=class t{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 Mw(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)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let e;return{token:new t((function(t){e=t})),cancel:e}}},Ox.isCancel=Bw,Ox.VERSION=bx,Ox.toFormData=yw,Ox.AxiosError=uw,Ox.Cancel=Ox.CanceledError,Ox.all=function(t){return Promise.all(t)},Ox.spread=function(t){return function(e){return t.apply(null,e)}},Ox.isAxiosError=function(t){return lb.isObject(t)&&!0===t.isAxiosError},Ox.mergeConfig=Yw,Ox.AxiosHeaders=Fw,Ox.formToJSON=t=>Tw(lb.isHTMLForm(t)?new FormData(t):t),Ox.getAdapter=mx,Ox.HttpStatusCode=Rx,Ox.default=Ox;const{Axios:Px,AxiosError:kx,CanceledError:jx,isCancel:Tx,CancelToken:Ix,VERSION:_x,all:Nx,Cancel:Cx,isAxiosError:Ux,spread:Lx,toFormData:Fx,AxiosHeaders:Dx,HttpStatusCode:Bx,formToJSON:Mx,getAdapter:qx,mergeConfig:Wx}=Ox;var Gx=function(){return u((function t(e){var r=e.responseHandler,n=e.requestConfigBuilder;a(this,t),this.responseHandler=r,this.requestConfigBuilder=n}),[{key:"get",value:(s=o(m().mark((function t(e,r){var n;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return s.apply(this,arguments)})},{key:"getData",value:(i=o(m().mark((function t(e,r){var n;return m().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 i.apply(this,arguments)})},{key:"post",value:(n=o(m().mark((function t(e,r){var n;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return n.apply(this,arguments)})},{key:"postData",value:(r=o(m().mark((function t(e,r){var n;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},{key:"put",value:(e=o(m().mark((function t(e,r){var n;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("put",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,r){return e.apply(this,arguments)})},{key:"delete",value:(t=o(m().mark((function t(e,r){var n;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("delete",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(e,r){return t.apply(this,arguments)})},{key:"sendRequest",value:function(t){return this.responseHandler.handle(Ox(d(d({},t),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]);var t,e,r,n,i,s}(),zx=Ro,Hx=tt,$x=st,Vx=bm,Kx=H([].join);zx({target:"Array",proto:!0,forced:Hx!==Object||!Vx("join",",")},{join:function(t){return Kx($x(this),void 0===t?",":t)}});var Yx=TypeError,Jx=A(Object.freeze({__proto__:null,default:{}})),Qx="function"==typeof Map&&Map.prototype,Xx=Object.getOwnPropertyDescriptor&&Qx?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Zx=Qx&&Xx&&"function"==typeof Xx.get?Xx.get:null,tS=Qx&&Map.prototype.forEach,eS="function"==typeof Set&&Set.prototype,rS=Object.getOwnPropertyDescriptor&&eS?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,nS=eS&&rS&&"function"==typeof rS.get?rS.get:null,oS=eS&&Set.prototype.forEach,iS="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,aS="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,sS="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,uS=Boolean.prototype.valueOf,cS=Object.prototype.toString,lS=Function.prototype.toString,pS=String.prototype.match,fS=String.prototype.slice,hS=String.prototype.replace,dS=String.prototype.toUpperCase,yS=String.prototype.toLowerCase,mS=RegExp.prototype.test,gS=Array.prototype.concat,vS=Array.prototype.join,bS=Array.prototype.slice,wS=Math.floor,xS="function"==typeof BigInt?BigInt.prototype.valueOf:null,SS=Object.getOwnPropertySymbols,ES="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,AS="function"==typeof Symbol&&"object"==typeof Symbol.iterator,RS="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===AS||"symbol")?Symbol.toStringTag:null,OS=Object.prototype.propertyIsEnumerable,PS=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function kS(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||mS.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-wS(-t):wS(t);if(n!==t){var o=String(n),i=fS.call(e,o.length+1);return hS.call(o,r,"$&_")+"."+hS.call(hS.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return hS.call(e,r,"$&_")}var jS=Jx,TS=jS.custom,IS=MS(TS)?TS:null,_S={__proto__:null,double:'"',single:"'"},NS={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},CS=function t(e,r,n,o){var i=r||{};if(WS(i,"quoteStyle")&&!WS(_S,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(WS(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=!WS(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(WS(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(WS(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 HS(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var u=String(e);return s?kS(e,u):u}if("bigint"==typeof e){var c=String(e)+"n";return s?kS(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 DS(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=vS.call(Array(t.indent+1)," ")}return{base:r,prev:vS.call(Array(e+1),r)}}(i,n);if(void 0===o)o=[];else if(zS(o,e)>=0)return"[Circular]";function f(e,r,a){if(r&&(o=bS.call(o)).push(r),a){var s={depth:i.depth};return WS(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),t(e,s,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e&&!BS(e)){var h=function(t){if(t.name)return t.name;var e=pS.call(lS.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),d=QS(e,f);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+vS.call(d,", ")+" }":"")}if(MS(e)){var y=AS?hS.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ES.call(e);return"object"!=typeof e||AS?y:VS(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="<"+yS.call(String(e.nodeName)),g=e.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+US(LS(g[v].value),"double",i);return m+=">",e.childNodes&&e.childNodes.length&&(m+="..."),m+="</"+yS.call(String(e.nodeName))+">"}if(DS(e)){if(0===e.length)return"[]";var b=QS(e,f);return p&&!function(t){for(var e=0;e<t.length;e++)if(zS(t[e],"\n")>=0)return!1;return!0}(b)?"["+JS(b,p)+"]":"[ "+vS.call(b,", ")+" ]"}if(function(t){return"[object Error]"===GS(t)&&FS(t)}(e)){var w=QS(e,f);return"cause"in Error.prototype||!("cause"in e)||OS.call(e,"cause")?0===w.length?"["+String(e)+"]":"{ ["+String(e)+"] "+vS.call(w,", ")+" }":"{ ["+String(e)+"] "+vS.call(gS.call("[cause]: "+f(e.cause),w),", ")+" }"}if("object"==typeof e&&a){if(IS&&"function"==typeof e[IS]&&jS)return jS(e,{depth:l-n});if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!Zx||!t||"object"!=typeof t)return!1;try{Zx.call(t);try{nS.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var x=[];return tS&&tS.call(e,(function(t,r){x.push(f(r,e,!0)+" => "+f(t,e))})),YS("Map",Zx.call(e),x,p)}if(function(t){if(!nS||!t||"object"!=typeof t)return!1;try{nS.call(t);try{Zx.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var E=[];return oS&&oS.call(e,(function(t){E.push(f(t,e))})),YS("Set",nS.call(e),E,p)}if(function(t){if(!iS||!t||"object"!=typeof t)return!1;try{iS.call(t,iS);try{aS.call(t,aS)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return KS("WeakMap");if(function(t){if(!aS||!t||"object"!=typeof t)return!1;try{aS.call(t,aS);try{iS.call(t,iS)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return KS("WeakSet");if(function(t){if(!sS||!t||"object"!=typeof t)return!1;try{return sS.call(t),!0}catch(t){}return!1}(e))return KS("WeakRef");if(function(t){return"[object Number]"===GS(t)&&FS(t)}(e))return VS(f(Number(e)));if(function(t){if(!t||"object"!=typeof t||!xS)return!1;try{return xS.call(t),!0}catch(t){}return!1}(e))return VS(f(xS.call(e)));if(function(t){return"[object Boolean]"===GS(t)&&FS(t)}(e))return VS(uS.call(e));if(function(t){return"[object String]"===GS(t)&&FS(t)}(e))return VS(f(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&e===globalThis||void 0!==S&&e===S)return"{ [object globalThis] }";if(!function(t){return"[object Date]"===GS(t)&&FS(t)}(e)&&!BS(e)){var A=QS(e,f),R=PS?PS(e)===Object.prototype:e instanceof Object||e.constructor===Object,O=e instanceof Object?"":"null prototype",P=!R&&RS&&Object(e)===e&&RS in e?fS.call(GS(e),8,-1):O?"Object":"",k=(R||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(P||O?"["+vS.call(gS.call([],P||[],O||[]),": ")+"] ":"");return 0===A.length?k+"{}":p?k+"{"+JS(A,p)+"}":k+"{ "+vS.call(A,", ")+" }"}return String(e)};function US(t,e,r){var n=r.quoteStyle||e,o=_S[n];return o+t+o}function LS(t){return hS.call(String(t),/"/g,""")}function FS(t){return!RS||!("object"==typeof t&&(RS in t||void 0!==t[RS]))}function DS(t){return"[object Array]"===GS(t)&&FS(t)}function BS(t){return"[object RegExp]"===GS(t)&&FS(t)}function MS(t){if(AS)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!ES)return!1;try{return ES.call(t),!0}catch(t){}return!1}var qS=Object.prototype.hasOwnProperty||function(t){return t in this};function WS(t,e){return qS.call(t,e)}function GS(t){return cS.call(t)}function zS(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 HS(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return HS(fS.call(t,0,e.maxStringLength),e)+n}var o=NS[e.quoteStyle||"single"];return o.lastIndex=0,US(hS.call(hS.call(t,o,"\\$1"),/[\x00-\x1f]/g,$S),"single",e)}function $S(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":"")+dS.call(e.toString(16))}function VS(t){return"Object("+t+")"}function KS(t){return t+" { ? }"}function YS(t,e,r,n){return t+" ("+e+") {"+(n?JS(r,n):vS.call(r,", "))+"}"}function JS(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+vS.call(t,","+r)+"\n"+e.prev}function QS(t,e){var r=DS(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=WS(t,o)?e(t[o],t):""}var i,a="function"==typeof SS?SS(t):[];if(AS){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in t)WS(t,u)&&(r&&String(Number(u))===u&&u<t.length||AS&&i["$"+u]instanceof Symbol||(mS.call(/[^\w$]/,u)?n.push(e(u,t)+": "+e(t[u],t)):n.push(u+": "+e(t[u],t))));if("function"==typeof SS)for(var c=0;c<a.length;c++)OS.call(t,a[c])&&n.push("["+e(a[c])+"]: "+e(t[a[c]],t));return n}var XS=CS,ZS=Yx,tE=function(t,e,r){for(var n,o=t;null!=(n=o.next);o=n)if(n.key===e)return o.next=n.next,r||(n.next=t.next,t.next=n),n},eE=Object,rE=Error,nE=EvalError,oE=RangeError,iE=ReferenceError,aE=SyntaxError,sE=URIError,uE=Math.abs,cE=Math.floor,lE=Math.max,pE=Math.min,fE=Math.pow,hE=Math.round,dE=Number.isNaN||function(t){return t!=t},yE=Object.getOwnPropertyDescriptor;if(yE)try{yE([],"length")}catch(t){yE=null}var mE=yE,gE=Object.defineProperty||!1;if(gE)try{gE({},"a",{value:1})}catch(t){gE=!1}var vE,bE,wE,xE,SE,EE,AE,RE,OE,PE,kE,jE,TE,IE,_E,NE,CE=gE;function UE(){return EE?SE:(EE=1,SE="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function LE(){return RE?AE:(RE=1,AE=eE.getPrototypeOf||null)}function FE(){if(PE)return OE;PE=1;var t=Object.prototype.toString,e=Math.max,r=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var o=0;o<e.length;o+=1)r[o+t.length]=e[o];return r};return OE=function(n){var o=this;if("function"!=typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(t,e){for(var r=[],n=e,o=0;n<t.length;n+=1,o+=1)r[o]=t[n];return r}(arguments,1),s=e(0,o.length-a.length),u=[],c=0;c<s;c++)u[c]="$"+c;if(i=Function("binder","return function ("+function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r}(u,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var t=o.apply(this,r(a,arguments));return Object(t)===t?t:this}return o.apply(n,r(a,arguments))})),o.prototype){var l=function(){};l.prototype=o.prototype,i.prototype=new l,l.prototype=null}return i},OE}function DE(){if(jE)return kE;jE=1;var t=FE();return kE=Function.prototype.bind||t}function BE(){return IE?TE:(IE=1,TE=Function.prototype.call)}function ME(){return NE?_E:(NE=1,_E=Function.prototype.apply)}var qE,WE,GE,zE,HE,$E,VE,KE="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,YE=DE(),JE=ME(),QE=BE(),XE=KE||YE.call(QE,JE),ZE=DE(),tA=Yx,eA=BE(),rA=XE,nA=function(t){if(t.length<1||"function"!=typeof t[0])throw new tA("a function is required");return rA(ZE,eA,t)};var oA=eE,iA=rE,aA=nE,sA=oE,uA=iE,cA=aE,lA=Yx,pA=sE,fA=uE,hA=cE,dA=lE,yA=pE,mA=fE,gA=hE,vA=function(t){return dE(t)||0===t?t:t<0?-1:1},bA=Function,wA=function(t){try{return bA('"use strict"; return ('+t+").constructor;")()}catch(t){}},xA=mE,SA=CE,EA=function(){throw new lA},AA=xA?function(){try{return EA}catch(t){try{return xA(arguments,"callee").get}catch(t){return EA}}}():EA,RA=function(){if(xE)return wE;xE=1;var t="undefined"!=typeof Symbol&&Symbol,e=bE?vE:(bE=1,vE=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(var n 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 o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0});return wE=function(){return"function"==typeof t&&("function"==typeof Symbol&&("symbol"==typeof t("foo")&&("symbol"==typeof Symbol("bar")&&e())))}}()(),OA=function(){if(zE)return GE;zE=1;var t=UE(),e=LE(),r=function(){if(WE)return qE;WE=1;var t,e=nA,r=mE;try{t=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var n=!!t&&r&&r(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return qE=n&&"function"==typeof n.get?e([n.get]):"function"==typeof i&&function(t){return i(null==t?t:o(t))}}();return GE=t?function(e){return t(e)}:e?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("getProto: not an object");return e(t)}:r?function(t){return r(t)}:null}(),PA=LE(),kA=UE(),jA=ME(),TA=BE(),IA={},_A="undefined"!=typeof Uint8Array&&OA?OA(Uint8Array):VE,NA={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?VE:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?VE:ArrayBuffer,"%ArrayIteratorPrototype%":RA&&OA?OA([][Symbol.iterator]()):VE,"%AsyncFromSyncIteratorPrototype%":VE,"%AsyncFunction%":IA,"%AsyncGenerator%":IA,"%AsyncGeneratorFunction%":IA,"%AsyncIteratorPrototype%":IA,"%Atomics%":"undefined"==typeof Atomics?VE:Atomics,"%BigInt%":"undefined"==typeof BigInt?VE:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?VE:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?VE:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?VE:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":iA,"%eval%":eval,"%EvalError%":aA,"%Float32Array%":"undefined"==typeof Float32Array?VE:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?VE:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?VE:FinalizationRegistry,"%Function%":bA,"%GeneratorFunction%":IA,"%Int8Array%":"undefined"==typeof Int8Array?VE:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?VE:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?VE:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":RA&&OA?OA(OA([][Symbol.iterator]())):VE,"%JSON%":"object"==typeof JSON?JSON:VE,"%Map%":"undefined"==typeof Map?VE:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&RA&&OA?OA((new Map)[Symbol.iterator]()):VE,"%Math%":Math,"%Number%":Number,"%Object%":oA,"%Object.getOwnPropertyDescriptor%":xA,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?VE:Promise,"%Proxy%":"undefined"==typeof Proxy?VE:Proxy,"%RangeError%":sA,"%ReferenceError%":uA,"%Reflect%":"undefined"==typeof Reflect?VE:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?VE:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&RA&&OA?OA((new Set)[Symbol.iterator]()):VE,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?VE:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":RA&&OA?OA(""[Symbol.iterator]()):VE,"%Symbol%":RA?Symbol:VE,"%SyntaxError%":cA,"%ThrowTypeError%":AA,"%TypedArray%":_A,"%TypeError%":lA,"%Uint8Array%":"undefined"==typeof Uint8Array?VE:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?VE:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?VE:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?VE:Uint32Array,"%URIError%":pA,"%WeakMap%":"undefined"==typeof WeakMap?VE:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?VE:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?VE:WeakSet,"%Function.prototype.call%":TA,"%Function.prototype.apply%":jA,"%Object.defineProperty%":SA,"%Object.getPrototypeOf%":PA,"%Math.abs%":fA,"%Math.floor%":hA,"%Math.max%":dA,"%Math.min%":yA,"%Math.pow%":mA,"%Math.round%":gA,"%Math.sign%":vA,"%Reflect.getPrototypeOf%":kA};if(OA)try{null.error}catch(t){var CA=OA(OA(t));NA["%Error.prototype%"]=CA}var UA=function t(e){var r;if("%AsyncFunction%"===e)r=wA("async function () {}");else if("%GeneratorFunction%"===e)r=wA("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=wA("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&OA&&(r=OA(o.prototype))}return NA[e]=r,r},LA={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},FA=DE(),DA=function(){if($E)return HE;$E=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,r=DE();return HE=r.call(t,e)}(),BA=FA.call(TA,Array.prototype.concat),MA=FA.call(jA,Array.prototype.splice),qA=FA.call(TA,String.prototype.replace),WA=FA.call(TA,String.prototype.slice),GA=FA.call(TA,RegExp.prototype.exec),zA=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,HA=/\\(\\)?/g,$A=function(t,e){var r,n=t;if(DA(LA,n)&&(n="%"+(r=LA[n])[0]+"%"),DA(NA,n)){var o=NA[n];if(o===IA&&(o=UA(n)),void 0===o&&!e)throw new lA("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new cA("intrinsic "+t+" does not exist!")},VA=function(t,e){if("string"!=typeof t||0===t.length)throw new lA("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new lA('"allowMissing" argument must be a boolean');if(null===GA(/^%?[^%]*%?$/,t))throw new cA("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=WA(t,0,1),r=WA(t,-1);if("%"===e&&"%"!==r)throw new cA("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new cA("invalid intrinsic syntax, expected opening `%`");var n=[];return qA(t,zA,(function(t,e,r,o){n[n.length]=r?qA(o,HA,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=$A("%"+n+"%",e),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],MA(r,BA([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c],f=WA(p,0,1),h=WA(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new cA("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),DA(NA,i="%"+(n+="."+p)+"%"))a=NA[i];else if(null!=a){if(!(p in a)){if(!e)throw new lA("base intrinsic for "+t+" exists, but the property is not available.");return}if(xA&&c+1>=r.length){var d=xA(a,p);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[p]}else l=DA(a,p),a=a[p];l&&!s&&(NA[i]=a)}}return a},KA=VA,YA=nA,JA=YA([KA("%String.prototype.indexOf%")]),QA=function(t,e){var r=KA(t,!!e);return"function"==typeof r&&JA(t,".prototype.")>-1?YA([r]):r},XA=QA,ZA=CS,tR=Yx,eR=VA("%Map%",!0),rR=XA("Map.prototype.get",!0),nR=XA("Map.prototype.set",!0),oR=XA("Map.prototype.has",!0),iR=XA("Map.prototype.delete",!0),aR=XA("Map.prototype.size",!0),sR=!!eR&&function(){var t,e={assert:function(t){if(!e.has(t))throw new tR("Side channel does not contain "+ZA(t))},delete:function(e){if(t){var r=iR(t,e);return 0===aR(t)&&(t=void 0),r}return!1},get:function(e){if(t)return rR(t,e)},has:function(e){return!!t&&oR(t,e)},set:function(e,r){t||(t=new eR),nR(t,e,r)}};return e},uR=QA,cR=CS,lR=sR,pR=Yx,fR=VA("%WeakMap%",!0),hR=uR("WeakMap.prototype.get",!0),dR=uR("WeakMap.prototype.set",!0),yR=uR("WeakMap.prototype.has",!0),mR=uR("WeakMap.prototype.delete",!0),gR=Yx,vR=CS,bR=(fR?function(){var t,e,r={assert:function(t){if(!r.has(t))throw new pR("Side channel does not contain "+cR(t))},delete:function(r){if(fR&&r&&("object"==typeof r||"function"==typeof r)){if(t)return mR(t,r)}else if(lR&&e)return e.delete(r);return!1},get:function(r){return fR&&r&&("object"==typeof r||"function"==typeof r)&&t?hR(t,r):e&&e.get(r)},has:function(r){return fR&&r&&("object"==typeof r||"function"==typeof r)&&t?yR(t,r):!!e&&e.has(r)},set:function(r,n){fR&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new fR),dR(t,r,n)):lR&&(e||(e=lR()),e.set(r,n))}};return r}:lR)||sR||function(){var t,e={assert:function(t){if(!e.has(t))throw new ZS("Side channel does not contain "+XS(t))},delete:function(e){var r=t&&t.next,n=function(t,e){if(t)return tE(t,e,!0)}(t,e);return n&&r&&r===n&&(t=void 0),!!n},get:function(e){return function(t,e){if(t){var r=tE(t,e);return r&&r.value}}(t,e)},has:function(e){return function(t,e){return!!t&&!!tE(t,e)}(t,e)},set:function(e,r){t||(t={next:void 0}),function(t,e,r){var n=tE(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(t,e,r)}};return e},wR=String.prototype.replace,xR=/%20/g,SR="RFC3986",ER={default:SR,formatters:{RFC1738:function(t){return wR.call(t,xR,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:SR},AR=ER,RR=Object.prototype.hasOwnProperty,OR=Array.isArray,PR=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),kR=function(t,e){for(var r=e&&e.plainObjects?{__proto__:null}:{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},jR=1024,TR={arrayToObject:kR,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(OR(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+=jR){for(var u=i.length>=jR?i.slice(s,s+jR):i,c=[],l=0;l<u.length;++l){var p=u.charCodeAt(l);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===AR.RFC1738&&(40===p||41===p)?c[c.length]=u.charAt(l):p<128?c[c.length]=PR[p]:p<2048?c[c.length]=PR[192|p>>6]+PR[128|63&p]:p<55296||p>=57344?c[c.length]=PR[224|p>>12]+PR[128|p>>6&63]+PR[128|63&p]:(l+=1,p=65536+((1023&p)<<10|1023&u.charCodeAt(l)),c[c.length]=PR[240|p>>18]+PR[128|p>>12&63]+PR[128|p>>6&63]+PR[128|63&p])}a+=c.join("")}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(OR(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&&"function"!=typeof r){if(OR(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!RR.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return OR(e)&&!OR(r)&&(o=kR(e,n)),OR(e)&&OR(r)?(r.forEach((function(r,o){if(RR.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 RR.call(e,o)?e[o]=t(e[o],i,n):e[o]=i,e}),o)}},IR=function(){var t,e={assert:function(t){if(!e.has(t))throw new gR("Side channel does not contain "+vR(t))},delete:function(e){return!!t&&t.delete(e)},get:function(e){return t&&t.get(e)},has:function(e){return!!t&&t.has(e)},set:function(e,r){t||(t=bR()),t.set(e,r)}};return e},_R=TR,NR=ER,CR=Object.prototype.hasOwnProperty,UR={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},LR=Array.isArray,FR=Array.prototype.push,DR=function(t,e){FR.apply(t,LR(e)?e:[e])},BR=Date.prototype.toISOString,MR=NR.default,qR={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:_R.encode,encodeValuesOnly:!1,filter:void 0,format:MR,formatter:NR.formatters[MR],indices:!1,serializeDate:function(t){return BR.call(t)},skipNulls:!1,strictNullHandling:!1},WR={},GR=function t(e,r,n,o,i,a,s,u,c,l,p,f,h,d,y,m,g,v){for(var b,w=e,x=v,S=0,E=!1;void 0!==(x=x.get(WR))&&!E;){var A=x.get(e);if(S+=1,void 0!==A){if(A===S)throw new RangeError("Cyclic object value");E=!0}void 0===x.get(WR)&&(S=0)}if("function"==typeof l?w=l(r,w):w instanceof Date?w=h(w):"comma"===n&&LR(w)&&(w=_R.maybeMap(w,(function(t){return t instanceof Date?h(t):t}))),null===w){if(a)return c&&!m?c(r,qR.encoder,g,"key",d):r;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||_R.isBuffer(w))return c?[y(m?r:c(r,qR.encoder,g,"key",d))+"="+y(c(w,qR.encoder,g,"value",d))]:[y(r)+"="+y(String(w))];var R,O=[];if(void 0===w)return O;if("comma"===n&&LR(w))m&&c&&(w=_R.maybeMap(w,c)),R=[{value:w.length>0?w.join(",")||null:void 0}];else if(LR(l))R=l;else{var P=Object.keys(w);R=p?P.sort(p):P}var k=u?String(r).replace(/\./g,"%2E"):String(r),j=o&&LR(w)&&1===w.length?k+"[]":k;if(i&&LR(w)&&0===w.length)return j+"[]";for(var T=0;T<R.length;++T){var I=R[T],_="object"==typeof I&&I&&void 0!==I.value?I.value:w[I];if(!s||null!==_){var N=f&&u?String(I).replace(/\./g,"%2E"):String(I),C=LR(w)?"function"==typeof n?n(j,N):j:j+(f?"."+N:"["+N+"]");v.set(e,S);var U=IR();U.set(WR,v),DR(O,t(_,C,n,o,i,a,s,u,"comma"===n&&m&&LR(w)?null:c,l,p,f,h,d,y,m,g,U))}}return O},zR=TR,HR=Object.prototype.hasOwnProperty,$R=Array.isArray,VR={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:zR.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},KR=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},YR=function(t,e,r){if(t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1)return t.split(",");if(e.throwOnLimitExceeded&&r>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(1===e.arrayLimit?"":"s")+" allowed in an array.");return t},JR=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&&HR.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&&HR.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(a[1])}if(a){if(!0===r.strictDepth)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");u.push("["+o.slice(a.index)+"]")}return function(t,e,r,n){var o=0;if(t.length>0&&"[]"===t[t.length-1]){var i=t.slice(0,-1).join("");o=Array.isArray(e)&&e[i]?e[i].length:0}for(var a=n?e:YR(e,r,o),s=t.length-1;s>=0;--s){var u,c=t[s];if("[]"===c&&r.parseArrays)u=r.allowEmptyArrays&&(""===a||r.strictNullHandling&&null===a)?[]:zR.combine([],a);else{u=r.plainObjects?{__proto__:null}:{};var l="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,p=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,f=parseInt(p,10);r.parseArrays||""!==p?!isNaN(f)&&c!==p&&String(f)===p&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(u=[])[f]=a:"__proto__"!==p&&(u[p]=a):u={0:a}}a=u}return a}(u,e,r,n)}},QR=function(t,e){var r,n=t,o=function(t){if(!t)return qR;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.encodeDotInKeys&&"boolean"!=typeof t.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||qR.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=NR.default;if(void 0!==t.format){if(!CR.call(NR.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n,o=NR.formatters[r],i=qR.filter;if(("function"==typeof t.filter||LR(t.filter))&&(i=t.filter),n=t.arrayFormat in UR?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":qR.arrayFormat,"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=void 0===t.allowDots?!0===t.encodeDotInKeys||qR.allowDots:!!t.allowDots;return{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:qR.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:qR.allowEmptyArrays,arrayFormat:n,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:qR.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:void 0===t.delimiter?qR.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:qR.encode,encodeDotInKeys:"boolean"==typeof t.encodeDotInKeys?t.encodeDotInKeys:qR.encodeDotInKeys,encoder:"function"==typeof t.encoder?t.encoder:qR.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:qR.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:qR.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:qR.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:qR.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):LR(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var a=UR[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var u=IR(),c=0;c<r.length;++c){var l=r[c],p=n[l];o.skipNulls&&null===p||DR(i,GR(p,l,a,s,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var f=i.join(o.delimiter),h=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),f.length>0?h+f:""},XR=function(t,e){var r=function(t){if(!t)return VR;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==t.throwOnLimitExceeded&&"boolean"!=typeof t.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var e=void 0===t.charset?VR.charset:t.charset,r=void 0===t.duplicates?VR.duplicates:t.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===t.allowDots?!0===t.decodeDotInKeys||VR.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:VR.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:VR.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:VR.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:VR.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:VR.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:VR.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:VR.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:VR.decoder,delimiter:"string"==typeof t.delimiter||zR.isRegExp(t.delimiter)?t.delimiter:VR.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:VR.depth,duplicates:r,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:VR.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:VR.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:VR.plainObjects,strictDepth:"boolean"==typeof t.strictDepth?!!t.strictDepth:VR.strictDepth,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:VR.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof t.throwOnLimitExceeded&&t.throwOnLimitExceeded}}(e);if(""===t||null==t)return r.plainObjects?{__proto__:null}:{};for(var n="string"==typeof t?function(t,e){var r={__proto__:null},n=e.ignoreQueryPrefix?t.replace(/^\?/,""):t;n=n.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o=e.parameterLimit===1/0?void 0:e.parameterLimit,i=n.split(e.delimiter,e.throwOnLimitExceeded?o+1:o);if(e.throwOnLimitExceeded&&i.length>o)throw new RangeError("Parameter limit exceeded. Only "+o+" parameter"+(1===o?"":"s")+" allowed.");var a,s=-1,u=e.charset;if(e.charsetSentinel)for(a=0;a<i.length;++a)0===i[a].indexOf("utf8=")&&("utf8=%E2%9C%93"===i[a]?u="utf-8":"utf8=%26%2310003%3B"===i[a]&&(u="iso-8859-1"),s=a,a=i.length);for(a=0;a<i.length;++a)if(a!==s){var c,l,p=i[a],f=p.indexOf("]="),h=-1===f?p.indexOf("="):f+1;-1===h?(c=e.decoder(p,VR.decoder,u,"key"),l=e.strictNullHandling?null:""):(c=e.decoder(p.slice(0,h),VR.decoder,u,"key"),l=zR.maybeMap(YR(p.slice(h+1),e,$R(r[c])?r[c].length:0),(function(t){return e.decoder(t,VR.decoder,u,"value")}))),l&&e.interpretNumericEntities&&"iso-8859-1"===u&&(l=KR(String(l))),p.indexOf("[]=")>-1&&(l=$R(l)?[l]:l);var d=HR.call(r,c);d&&"combine"===e.duplicates?r[c]=zR.combine(r[c],l):d&&"last"!==e.duplicates||(r[c]=l)}return r}(t,r):t,o=r.plainObjects?{__proto__:null}:{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],u=JR(s,n[s],r,"string"==typeof t);o=zR.merge(o,u,r)}return!0===r.allowSparse?o:zR.compact(o)},ZR=E({formats:ER,parse:XR,stringify:QR});const tO="function"==typeof Buffer,eO=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),rO=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),nO=(t=>{let e={};return t.forEach(((t,r)=>e[t]=r)),e})(rO),oO=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,iO=String.fromCharCode.bind(String),aO=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_"))),sO=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),uO=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+=rO[e>>18&63]+rO[e>>12&63]+rO[e>>6&63]+rO[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},cO="function"==typeof btoa?t=>btoa(t):tO?t=>Buffer.from(t,"binary").toString("base64"):uO,lO=tO?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(iO.apply(null,t.subarray(r,r+4096)));return cO(e.join(""))},pO=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?iO(192|e>>>6)+iO(128|63&e):iO(224|e>>>12&15)+iO(128|e>>>6&63)+iO(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return iO(240|e>>>18&7)+iO(128|e>>>12&63)+iO(128|e>>>6&63)+iO(128|63&e)},fO=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,hO=t=>t.replace(fO,pO),dO=tO?t=>Buffer.from(t,"utf8").toString("base64"):eO?t=>lO(eO.encode(t)):t=>cO(hO(t)),yO=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?aO(dO(t)):dO(t)},mO=t=>{if(t=t.replace(/\s+/g,""),!oO.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));let e,r,n,o="";for(let i=0;i<t.length;)e=nO[t.charAt(i++)]<<18|nO[t.charAt(i++)]<<12|(r=nO[t.charAt(i++)])<<6|(n=nO[t.charAt(i++)]),o+=64===r?iO(e>>16&255):64===n?iO(e>>16&255,e>>8&255):iO(e>>16&255,e>>8&255,255&e);return o},gO=yO;var vO,bO=function(){return u((function t(e){if(a(this,t),this.baseUrl=e.baseUrl,this.auth=e.auth,this.headers=this.buildHeaders({basicAuth:e.basicAuth,userAgent:e.userAgent}),"httpsAgent"in e){if("clientCertAuth"in e)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=e.httpsAgent}else"clientCertAuth"in e&&(this.clientCertAuth=e.clientCertAuth);this.proxy=e.proxy,this.requestToken=null,this.socketTimeout=e.socketTimeout}),[{key:"build",value:(n=o(m().mark((function t(r,n,o,i){var a,s,u,c;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a=d(d(d({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(n)},i||{}),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(!((s=this.buildRequestUrl(n,o)).length>4096)){t.next=15;break}return t.t1=d,t.t2=d({},a),t.t3={},t.t4=d(d({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),t.next=12,this.buildData(o);case 12:return t.t5=t.sent,t.t6={method:"post",headers:t.t4,data:t.t5},t.abrupt("return",(0,t.t1)(t.t2,t.t3,t.t6));case 15:return t.abrupt("return",d(d({},a),{},{url:s}));case 16:if(!(o instanceof sv)){t.next=21;break}return t.next=19,this.buildData(o);case 19:return u=t.sent,t.abrupt("return",d(d({},a),{},{headers:"function"==typeof u.getHeaders?d(d({},this.headers),u.getHeaders()):this.headers,data:u}));case 21:return t.t7=d,t.t8=d({},a),t.t9={},t.next=26,this.buildData(o);case 26:return t.t10=t.sent,t.t11={data:t.t10},t.abrupt("return",(0,t.t7)(t.t8,t.t9,t.t11));case 29:return t.t12=d,t.t13=d({},a),t.t14={},t.next=34,this.buildData(o);case 34:return t.t15=t.sent,t.t16={data:t.t15},t.abrupt("return",(0,t.t12)(t.t13,t.t14,t.t16));case 37:return t.t17=this,t.t18=n,t.next=41,this.buildData(o);case 41:return t.t19=t.sent,c=t.t17.buildRequestUrl.call(t.t17,t.t18,t.t19),t.abrupt("return",d(d({},a),{},{url:c}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return t.stop()}}),t,this)}))),function(t,e,r,o){return n.apply(this,arguments)})},{key:"buildProxyConfig",value:function(t){var e;if(void 0!==t){if(!1===t)return!1;var r=t;return!r.auth||0!==r.auth.username.length&&0!==r.auth.password.length||(r.auth=void 0),r.protocol=null!==(e=r.protocol)&&void 0!==e?e:"http",r}}},{key:"buildRequestUrl",value:function(t,e){return"".concat(this.baseUrl).concat(t,"?").concat(ZR.stringify(e))}},{key:"buildData",value:(r=o(m().mark((function t(e){var r;return m().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 sv)){t.next=7;break}return e.append("__REQUEST_TOKEN__",r),t.abrupt("return",e);case 7:return t.abrupt("return",d({__REQUEST_TOKEN__:r},e));case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"buildHeaders",value:function(t){var r=t.basicAuth,n=t.userAgent,o=r?{Authorization:"Basic ".concat(gO("".concat(r.username,":").concat(r.password)))}:{},i=d(d({},e.buildHeaders({userAgent:n})),o);switch(this.auth.type){case"password":return d(d({},i),{},{"X-Cybozu-Authorization":gO("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var a=this.auth.apiToken;return Array.isArray(a)?d(d({},i),{},{"X-Cybozu-API-Token":a.join(",")}):d(d({},i),{},{"X-Cybozu-API-Token":a});case"oAuthToken":return d(d({},i),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return d(d({},i),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(t=o(m().mark((function t(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==this.requestToken){t.next=4;break}return t.next=3,e.getRequestToken();case 3:this.requestToken=t.sent;case 4:return t.abrupt("return",this.requestToken);case 5:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})}]);var t,r,n}(),wO=["data"],xO=function(){return u((function t(e){var r=e.enableAbortSearchError;a(this,t),this.enableAbortSearchError=r}),[{key:"handle",value:function(t){var e=this;return t.then((function(t){return e.handleSuccessResponse(t)}),(function(t){return e.handleErrorResponse(t)}))}},{key:"handleSuccessResponse",value:function(t){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(t.headers["x-cybozu-warning"]))throw new qg(t.headers["x-cybozu-warning"]);return t.data}},{key:"handleErrorResponse",value:function(t){if(!t.response){if(/mac verify failure/.test(t.toString()))throw new Error("invalid clientCertAuth setting");throw t}var e=t.response,r=e.data,n=y(e,wO);if("string"==typeof r)throw new Error("".concat(n.status,": ").concat(n.statusText));throw new tv(d({data:r},n))}}])}(),SO=function(){return u((function t(){var r,n,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a(this,t),EO(i),this.baseUrl=e.buildBaseUrl(i.baseUrl).replace(/\/+$/,"");var s=function(t){if("username"in t)return d({type:"password"},t);if("apiToken"in t)return d({type:"apiToken"},t);if("oAuthToken"in t)return d({type:"oAuthToken"},t);try{return e.getDefaultAuth()}catch(t){if(t instanceof Ki)throw new Error("session authentication is not supported in ".concat(t.platform," environment."));throw t}}(null!==(r=i.auth)&&void 0!==r?r:{}),u=new bO(d(d({},i),{},{baseUrl:this.baseUrl,auth:s})),c=new xO({enableAbortSearchError:null!==(n=null===(o=i.featureFlags)||void 0===o?void 0:o.enableAbortSearchError)&&void 0!==n&&n}),l=new Gx({responseHandler:c,requestConfigBuilder:u}),p=i.guestSpaceId;this.bulkRequest_=new tm(l,p),this.record=new iv(l,this.bulkRequest_,p),this.app=new gm(l,p),this.space=new av(l,p),this.file=new uv(l,p),this.plugin=new cv(l)}),[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(t){return this.bulkRequest_.send(t)}}],[{key:"version",get:function(){return e.getVersion()}}])}(),EO=function(t){AO(t.baseUrl),RO(t.guestSpaceId),OO(t.socketTimeout)},AO=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".')}},RO=function(t){if(""===t||null===t)throw new Error("invalid guestSpaceId: got [".concat(t,"]"))},OO=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.")}};(vO=Zi).readFileFromPath&&(e.readFileFromPath=vO.readFileFromPath),vO.getRequestToken&&(e.getRequestToken=vO.getRequestToken),vO.getDefaultAuth&&(e.getDefaultAuth=vO.getDefaultAuth),vO.buildPlatformDependentConfig&&(e.buildPlatformDependentConfig=vO.buildPlatformDependentConfig),vO.buildHeaders&&(e.buildHeaders=vO.buildHeaders),vO.buildFormDataValue&&(e.buildFormDataValue=vO.buildFormDataValue),vO.buildBaseUrl&&(e.buildBaseUrl=vO.buildBaseUrl),vO.getVersion&&(e.getVersion=vO.getVersion),t.KintoneAbortSearchError=qg,t.KintoneAllRecordsError=Zg,t.KintoneRestAPIClient=SO,t.KintoneRestAPIError=tv}));
|