@amsom-habitat/ui 2.18.0 → 2.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3530,7 +3530,7 @@ function mm(e, t, o, n, r, i) {
|
|
|
3530
3530
|
o.bgImage ? (E0(), V0("img", {
|
|
3531
3531
|
key: 0,
|
|
3532
3532
|
src: o.bgImage,
|
|
3533
|
-
class: I1(["img img-fluid bg-white object-fit-cover h-100 w-100 position-absolute top-0 start-0
|
|
3533
|
+
class: I1(["img img-fluid bg-white object-fit-cover h-100 w-100 position-absolute top-0 start-0", [
|
|
3534
3534
|
{
|
|
3535
3535
|
"rounded-top-0": o.header,
|
|
3536
3536
|
"rounded-bottom-0": o.footer
|
|
@@ -3539,7 +3539,8 @@ function mm(e, t, o, n, r, i) {
|
|
|
3539
3539
|
alt: "Image de fond du widget",
|
|
3540
3540
|
style: so({
|
|
3541
3541
|
opacity: o.bgOpacity,
|
|
3542
|
-
zIndex: 0
|
|
3542
|
+
zIndex: 0,
|
|
3543
|
+
borderRadius: "inherit"
|
|
3543
3544
|
})
|
|
3544
3545
|
}, null, 14, vm)) : ce("", !0)
|
|
3545
3546
|
], 2),
|
|
@@ -3880,7 +3881,7 @@ const fl = {
|
|
|
3880
3881
|
}
|
|
3881
3882
|
}, Ru = () => {
|
|
3882
3883
|
N6((e) => ({
|
|
3883
|
-
|
|
3884
|
+
v31536048: e.futureStepBgColorCss,
|
|
3884
3885
|
dac29eac: e.bubbleSize + "rem",
|
|
3885
3886
|
a3a0806e: e.passedStepBgColorCss,
|
|
3886
3887
|
de0182ca: e.fontSizeStep + "rem"
|
|
@@ -11229,7 +11230,7 @@ function(e) {
|
|
|
11229
11230
|
*/
|
|
11230
11231
|
function(e) {
|
|
11231
11232
|
function t() {
|
|
11232
|
-
return (b1.canvg ? Promise.resolve(b1.canvg) : import("./index.es-
|
|
11233
|
+
return (b1.canvg ? Promise.resolve(b1.canvg) : import("./index.es-IbVAmY15.js")).catch(function(o) {
|
|
11233
11234
|
return Promise.reject(new Error("Could not load canvg: " + o));
|
|
11234
11235
|
}).then(function(o) {
|
|
11235
11236
|
return o.default ? o.default : o;
|
|
@@ -12382,7 +12383,7 @@ var gO;
|
|
|
12382
12383
|
e.UTF8 = "utf8", e.ASCII = "ascii", e.UTF16 = "utf16";
|
|
12383
12384
|
})(gO || (gO = {}));
|
|
12384
12385
|
const Zu = Lz("Filesystem", {
|
|
12385
|
-
web: () => import("./web-
|
|
12386
|
+
web: () => import("./web-By6rlXcx.js").then((e) => new e.FilesystemWeb())
|
|
12386
12387
|
});
|
|
12387
12388
|
_g();
|
|
12388
12389
|
const Ug = Lz("FileOpener");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Qe, _ as za, g as Io } from "./index-
|
|
1
|
+
import { c as Qe, _ as za, g as Io } from "./index-U7Qdmmwi.js";
|
|
2
2
|
var ht = function(a) {
|
|
3
3
|
return a && a.Math === Math && a;
|
|
4
4
|
}, _ = (
|
|
@@ -100,10 +100,10 @@ var Ti = cr, xn = Ti, Hl = D, Yl = _, Xl = Yl.String, Fo = !!Object.getOwnProper
|
|
|
100
100
|
return e;
|
|
101
101
|
}, lh = _, hh = Oi, On = "__core-js_shared__", Sn = zo.exports = lh[On] || hh(On, {});
|
|
102
102
|
(Sn.versions || (Sn.versions = [])).push({
|
|
103
|
-
version: "3.
|
|
103
|
+
version: "3.46.0",
|
|
104
104
|
mode: "global",
|
|
105
|
-
copyright: "© 2014-2025 Denis Pushkarev (zloirock.ru)",
|
|
106
|
-
license: "https://github.com/zloirock/core-js/blob/v3.
|
|
105
|
+
copyright: "© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",
|
|
106
|
+
license: "https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",
|
|
107
107
|
source: "https://github.com/zloirock/core-js"
|
|
108
108
|
});
|
|
109
109
|
var Si = zo.exports, En = Si, Ei = function(a, e) {
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.line[data-v-be1b899b]{width:.125rem;background-color:var(--bs-gray-400)!important}.stepper-item:after{position:absolute;content:"";border-bottom:2px solid var(--
|
|
1
|
+
.line[data-v-be1b899b]{width:.125rem;background-color:var(--bs-gray-400)!important}.stepper-item:after{position:absolute;content:"";border-bottom:2px solid var(--v31536048);width:100%;left:50%;z-index:2;height:var(--dac29eac);transform:translateY(-50%)}.stepper-item.completed:after{border-bottom:2px solid var(--a3a0806e);transition:ease-in-out .2s}.stepper-item:last-child:after{content:none}.stepper-item{position:relative;display:flex;flex-direction:column;align-items:center;flex:1}.stepper-item .step-counter{position:relative;z-index:5;display:flex;justify-content:center;align-items:center;width:var(--dac29eac);height:var(--dac29eac);border-radius:50%;margin-bottom:6px;font-size:var(--de0182ca)}.stepper-item.active .step-counter,.stepper-item.active .step-name{transition:ease-in-out .2s}input[type=checkbox][data-v-6b16b420]{pointer-events:none}.hoverable[data-v-6b16b420]:hover{cursor:pointer!important}.addLineState[data-v-6b16b420]{background-color:#edecd4!important}.deleteLineState[data-v-6b16b420]{background-color:#f8d6da!important}.updateLineState[data-v-6b16b420]{background-color:#feefb3!important}.pj-label:focus-within{border-style:solid!important;box-shadow:0 0 4px 4px #00000040!important}#switch-section[data-v-7f71ed51]{list-style:none}#switch-section.disabled[data-v-7f71ed51]{opacity:.6;pointer-events:none}#switch-section li[data-v-7f71ed51]{z-index:2}.cursor-not-allowed[data-v-7f71ed51]{cursor:not-allowed!important}.slider[data-v-7f71ed51]{left:10px;border-radius:2rem;z-index:1;transition:.5s ease}
|
package/dist/ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as s, l as o, f as e, h as A, A as l, d as t, j as r, k as i, n as d, i as n, m as p, e as S, A as g } from "./index-
|
|
1
|
+
import { a as s, l as o, f as e, h as A, A as l, d as t, j as r, k as i, n as d, i as n, m as p, e as S, A as g } from "./index-U7Qdmmwi.js";
|
|
2
2
|
export {
|
|
3
3
|
s as AmsomCard,
|
|
4
4
|
o as AmsomDocumentList,
|
package/dist/ui.umd.cjs
CHANGED
|
@@ -562,7 +562,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
562
562
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
563
563
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
564
564
|
* Copyright 2024 Fonticons, Inc.
|
|
565
|
-
*/const pm={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},qE={prefix:"fas",iconName:"angle-right",icon:[320,512,[8250],"f105","M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]},vE={prefix:"fas",iconName:"angles-right",icon:[512,512,[187,"angle-double-right"],"f101","M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"]},mE={prefix:"fas",iconName:"cloud-arrow-up",icon:[640,512,[62338,"cloud-upload","cloud-upload-alt"],"f0ee","M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128l-368 0zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39L296 392c0 13.3 10.7 24 24 24s24-10.7 24-24l0-134.1 39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z"]},BE={prefix:"fas",iconName:"arrow-down-wide-short",icon:[576,512,["sort-amount-asc","sort-amount-down"],"f160","M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7 96 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 301.7 32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L320 96z"]},WE={prefix:"fas",iconName:"cloud-arrow-down",icon:[640,512,[62337,"cloud-download","cloud-download-alt"],"f0ed","M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128l-368 0zm79-167l80 80c9.4 9.4 24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-39 39L344 184c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 134.1-39-39c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9z"]},yE={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},ed={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},bm={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z"]},wE={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},RE={prefix:"fas",iconName:"paperclip",icon:[448,512,[128206],"f0c6","M364.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4z"]},LE={prefix:"fas",iconName:"camera",icon:[512,512,[62258,"camera-alt"],"f030","M149.1 64.8L138.7 96 64 96C28.7 96 0 124.7 0 160L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64l-74.7 0L362.9 64.8C356.4 45.2 338.1 32 317.4 32L194.6 32c-20.7 0-39 13.2-45.5 32.8zM256 192a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]},CE={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},xE={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},NE={prefix:"fas",iconName:"angles-left",icon:[512,512,[171,"angle-double-left"],"f100","M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"]},SE={prefix:"fas",iconName:"arrow-up-short-wide",icon:[576,512,["sort-amount-up-alt"],"f885","M151.6 42.4C145.5 35.8 137 32 128 32s-17.5 3.8-23.6 10.4l-88 96c-11.9 13-11.1 33.3 2 45.2s33.3 11.1 45.2-2L96 146.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-301.7 32.4 35.4c11.9 13 32.2 13.9 45.2 2s13.9-32.2 2-45.2l-88-96zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0z"]},FE={prefix:"fas",iconName:"file-circle-plus",icon:[576,512,[58606],"e494","M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 38.6C310.1 219.5 256 287.4 256 368c0 59.1 29.1 111.3 73.7 143.3c-3.2 .5-6.4 .7-9.7 .7L64 512c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128zm48 96a144 144 0 1 1 0 288 144 144 0 1 1 0-288zm16 80c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 48-48 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l48 0 0 48c0 8.8 7.2 16 16 16s16-7.2 16-16l0-48 48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-48 0 0-48z"]},Mm={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},EE={prefix:"fas",iconName:"angle-left",icon:[320,512,[8249],"f104","M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},TE={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},qr=(t,e)=>{const A=t.__vccOpts||t;for(const[r,n]of e)A[r]=n;return A};ca.add(xE);const UE={name:"AmsomModalComponent",components:{FontAwesomeIcon:sa},props:{closeOption:{type:Boolean,default:!1},size:{type:String,default:"md",validator(t){return["xxs","xs","sm","md","lg","xl"].includes(t)}},position:{type:String,default:"center",validator(t){return["top","center","bottom"].includes(t)}},title:{type:String,default:""},reducible:{type:Boolean,default:!1},classTitle:{type:String,default:"h4 text-center"}},emits:["close"],data(){return{alreadyHidden:!1,modalId:this.$options.modalManager.generateModalId(),reduced:!1}},modalManager:{openModals:[],baseZIndex:1055,zIndexIncrement:10,modalCounter:0,sizes:{xxs:"col-12 col-md-3",xs:"col-12 col-md-4",sm:"col-12 col-md-6",md:"col-12 col-md-8",lg:"col-12 col-md-10",xl:"col-12"},generateModalId(){return`modal-${Date.now()}-${++this.modalCounter}`},register(t){this.openModals.push(t)},unregister(t){const e=this.openModals.indexOf(t);e>-1&&this.openModals.splice(e,1)},getTopModal(){return this.openModals[this.openModals.length-1]},clear(){this.openModals.length=0}},computed:{modalZIndex(){const t=this.$options.modalManager.openModals.indexOf(this.modalId);return this.$options.modalManager.baseZIndex+(t>=0?t*this.$options.modalManager.zIndexIncrement:0)},modalSize(){return this.$options.modalManager.sizes[this.size]||this.$options.modalManager.sizes.md},alignmentClass(){return{top:"flex-start",center:"center",bottom:"flex-end"}[this.position]||"center"}},mounted(){this.$options.modalManager.register(this.modalId),this.$options.modalManager.openModals.length===1&&this.lockBodyScroll(),this.closeOption&&document.addEventListener("keydown",this.closeEsc)},beforeUnmount(){this.$options.modalManager.unregister(this.modalId),this.$options.modalManager.openModals.length===0&&this.unlockBodyScroll(),this.closeOption&&document.removeEventListener("keydown",this.closeEsc)},methods:{lockBodyScroll(){if(window.getComputedStyle(document.body).overflow==="hidden"){this.alreadyHidden=!0;return}document.body.style.overflow="hidden"},unlockBodyScroll(){this.alreadyHidden||(document.body.style.overflow="")},handleBackdropClick(t){t.target===t.currentTarget&&this.closeOption&&this.$emit("close")},closeEsc(t){t.key==="Escape"&&this.$options.modalManager.getTopModal()===this.modalId&&this.$emit("close")}}},IE=["id"],kE={class:"amsom-modal-body mt-2"},PE={key:0,class:"position-fixed bottom-0 end-0 mb-3 me-3"},DE={key:0,class:"position-fixed bottom-0 end-0 mb-3 me-3"};function QE(t,e,A,r,n,o){const a=W.resolveComponent("font-awesome-icon");return W.openBlock(),W.createElementBlock("div",null,[W.createElementVNode("div",{class:W.normalizeClass(["p-2 m-0 bg-black bg-opacity-25 position-fixed overflow-y-auto",{"d-none":n.reduced}]),style:W.normalizeStyle({zIndex:o.modalZIndex,top:"0",left:"0",width:"100vw",height:"100vh"}),onClick:e[4]||(e[4]=(...i)=>o.handleBackdropClick&&o.handleBackdropClick(...i))},[W.createElementVNode("div",{class:"d-flex justify-content-center",style:W.normalizeStyle({minHeight:"100%",alignItems:o.alignmentClass,paddingTop:A.position==="center"?"2rem":"1rem",paddingBottom:A.position==="center"?"2rem":"1rem"}),onClick:e[2]||(e[2]=(...i)=>o.handleBackdropClick&&o.handleBackdropClick(...i))},[W.createElementVNode("div",{id:n.modalId,class:W.normalizeClass(["container-fluid bg-white rounded-4 p-3 position-relative d-flex flex-column",o.modalSize]),style:{minHeight:"auto",maxHeight:"none"},onClick:e[1]||(e[1]=W.withModifiers(()=>{},["stop"]))},[A.closeOption?(W.openBlock(),W.createBlock(a,{key:0,icon:"fa-solid fa-times",role:"button",class:"position-absolute top-0 end-0 m-3 translate-middle-y",size:"lg",onClick:e[0]||(e[0]=i=>t.$emit("close"))})):W.createCommentVNode("",!0),W.createElementVNode("div",kE,[W.renderSlot(t.$slots,"title",{},()=>[A.title?(W.openBlock(),W.createElementBlock("div",{key:0,class:W.normalizeClass(A.classTitle)},W.toDisplayString(A.title),3)):W.createCommentVNode("",!0)]),W.renderSlot(t.$slots,"default",{},()=>[e[6]||(e[6]=W.createElementVNode("p",null," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. ",-1))])])],10,IE)],4),A.reducible?(W.openBlock(),W.createElementBlock("div",PE,[W.createElementVNode("button",{class:"btn btn-primary",onClick:e[3]||(e[3]=i=>n.reduced=!n.reduced)}," Réduire la fenêtre ")])):W.createCommentVNode("",!0)],6),A.reducible&&n.reduced?(W.openBlock(),W.createElementBlock("div",DE,[W.createElementVNode("button",{class:"btn btn-primary",onClick:e[5]||(e[5]=i=>n.reduced=!n.reduced)}," Restaurer la fenêtre ")])):W.createCommentVNode("",!0)])}const td=qr(UE,[["render",QE]]),XE={name:"AmsomCard",props:{title:{type:String,default:null},bgImage:{type:String,default:null},bgOpacity:{type:Number,default:.25,validator:t=>t>=0&&t<=1},bubbleTitle:{type:Boolean,default:!1},bubbleTitleClass:{type:String,default:"bg-primary text-white"},noBody:{type:Boolean,default:!1},header:{type:Boolean,default:!1},headerClass:{type:String,default:""},cardClass:{type:String,default:""},cardStyle:{type:String,default:""},footer:{type:Boolean,default:!1},footerClass:{type:String,default:""}}},HE={class:"position-relative"},_E={key:0,class:"card-title"},jE=["src"];function VE(t,e,A,r,n,o){return W.openBlock(),W.createElementBlock("div",HE,[A.header?(W.openBlock(),W.createElementBlock("div",{key:0,class:W.normalizeClass(["card card-header",A.headerClass])},[W.renderSlot(t.$slots,"header")],2)):W.createCommentVNode("",!0),W.createElementVNode("div",{class:W.normalizeClass(["card position-relative h-100",[{"rounded-top-0":A.header,"rounded-bottom-0":A.footer},A.cardClass]])},[W.createElementVNode("div",{class:"position-relative overflow-y-auto h-100",style:W.normalizeStyle(A.cardStyle)},[W.createElementVNode("div",{class:W.normalizeClass([{"card-body":!A.noBody}]),style:{position:"relative","z-index":"1"}},[W.renderSlot(t.$slots,"title",{},()=>[A.title&&!A.bubbleTitle?(W.openBlock(),W.createElementBlock("h4",_E,W.toDisplayString(A.title),1)):W.createCommentVNode("",!0)]),W.renderSlot(t.$slots,"default")],2)],4),A.bgImage?(W.openBlock(),W.createElementBlock("img",{key:0,src:A.bgImage,class:W.normalizeClass(["img img-fluid bg-white object-fit-cover h-100 w-100 position-absolute top-0 start-0 rounded-1",[{"rounded-top-0":A.header,"rounded-bottom-0":A.footer}]]),alt:"Image de fond du widget",style:W.normalizeStyle({opacity:A.bgOpacity,zIndex:0})},null,14,jE)):W.createCommentVNode("",!0)],2),A.title&&A.bubbleTitle?(W.openBlock(),W.createElementBlock("span",{key:1,id:"bubble-title",class:W.normalizeClass(["position-absolute top-0 start-0 translate-middle-y rounded-pill shadow px-1",A.bubbleTitleClass]),style:{"z-index":"2"}},W.toDisplayString(A.title),3)):W.createCommentVNode("",!0),A.footer?(W.openBlock(),W.createElementBlock("div",{key:2,class:W.normalizeClass(["card card-footer",A.footerClass])},[W.renderSlot(t.$slots,"footer")],2)):W.createCommentVNode("",!0)])}const lm=qr(XE,[["render",VE]]),KE={name:"AmsomOverlay",props:{loading:{type:Boolean,default:!1,required:!0},opacity:{type:Number,default:60,required:!1,validator:t=>t>=0&&t<=100}}},GE={class:"position-relative"};function YE(t,e,A,r,n,o){return W.openBlock(),W.createElementBlock("div",GE,[A.loading?(W.openBlock(),W.createElementBlock("div",{key:0,class:"position-absolute w-100 h-100 d-flex align-items-center justify-content-center rounded",style:W.normalizeStyle([{backgroundColor:"rgba(193, 193, 193,"+A.opacity/100+")",boxShadow:"inset 0 0 0 10px rgba(193, 193, 193, 0.5)"},{"z-index":"1045"}])},[...e[0]||(e[0]=[W.createElementVNode("div",{class:"spinner-border text-primary position-sticky sticky-top",role:"status"},[W.createElementVNode("span",{class:"sr-only visually-hidden"},"Chargement...")],-1)])],4)):W.createCommentVNode("",!0),W.renderSlot(t.$slots,"default",{},()=>[e[1]||(e[1]=W.createElementVNode("p",null," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. ",-1))])])}const Ad=qr(KE,[["render",YE]]);ca.add(Mm);const JE={name:"WorkflowAssuranceBlock",components:{FontAwesomeIcon:sa},props:{steps:{type:Array,required:!0,default:()=>[{numero:1,texte:"Step 1"},{numero:2,texte:"Step 2"},{numero:3,texte:"Step 3"}]},currentStep:{type:Number,required:!1,default:1},size:{type:String,required:!1,default:"md"},checkPassedStep:{type:Boolean,required:!1,default:!0},passedStepBgColor:{type:String,required:!1,default:"success"},currentStepBgColor:{type:String,required:!1,default:"primary"},futureStepBgColor:{type:String,required:!1,default:"secondary"},passedStepCss:{type:String,required:!1,default:"text-white"},currentStepCss:{type:String,required:!1,default:"text-white fw-bold"},futureStepCss:{type:String,required:!1,default:"text-white"},passedStepTextCss:{type:String,required:!1,default:"white"},currentStepTextCss:{type:String,required:!1,default:"white"},futureStepTextCss:{type:String,required:!1,default:"white"},hideText:{type:Boolean,required:!1,default:!1}},emits:["clickStep"],computed:{fontSize(){return this.bubbleSize/2},bubbleSize(){switch(this.size){case"sm":return 2;case"lg":return 4;default:return 3}}}},ZE={class:"d-flex flex-column align-items-center"},$E={key:0,class:"line h-100",style:{height:"30px","min-height":"30px"}};function eT(t,e,A,r,n,o){const a=W.resolveComponent("font-awesome-icon");return W.openBlock(!0),W.createElementBlock(W.Fragment,null,W.renderList(A.steps,(i,c)=>(W.openBlock(),W.createElementBlock("div",{key:i.numero,class:"d-flex mb-1"},[W.createElementVNode("div",ZE,[W.createElementVNode("div",{style:W.normalizeStyle({width:o.bubbleSize+"rem",minHeight:o.bubbleSize+"rem",height:o.bubbleSize+"rem",lineHeight:o.bubbleSize+"rem",fontSize:o.fontSize+"rem"}),class:W.normalizeClass(["d-inline-block rounded-circle text-center mb-1",["bg-"+(c+1<A.currentStep?A.passedStepBgColor:c+1===A.currentStep?A.currentStepBgColor:A.futureStepBgColor),c+1<A.currentStep?A.passedStepCss:c+1===A.currentStep?A.currentStepCss:A.futureStepCss]]),onClick:e[0]||(e[0]=s=>t.$emit("clickStep",t.s.numero))},[c+1<A.currentStep&&A.checkPassedStep?(W.openBlock(),W.createBlock(a,{key:0,icon:["fas","check"]})):(W.openBlock(),W.createElementBlock(W.Fragment,{key:1},[W.createTextVNode(W.toDisplayString(i.numero),1)],64))],6),c<A.steps.length-1?(W.openBlock(),W.createElementBlock("div",$E)):W.createCommentVNode("",!0)]),A.hideText?W.createCommentVNode("",!0):(W.openBlock(),W.createElementBlock("span",{key:0,class:W.normalizeClass(["ms-1",[c+1<A.currentStep?A.passedStepTextCss:c+1===A.currentStep?A.currentStepTextCss:A.futureStepTextCss]]),style:W.normalizeStyle({minHeight:o.bubbleSize+"rem",lineHeight:o.bubbleSize+"rem"})},[W.renderSlot(t.$slots,"stepContent",{step:i},()=>[W.createTextVNode(W.toDisplayString(i.texte),1)],!0)],6))]))),128)}const tT=qr(JE,[["render",eT],["__scopeId","data-v-be1b899b"]]);ca.add(Mm);const rd={name:"AmsomHorizontalStepper",components:{FontAwesomeIcon:sa},props:{currentStep:{type:Number,required:!0,default:1},steps:{type:Array,required:!0,default:()=>[{numero:1,texte:"Step 1"},{numero:2,texte:"Step 2"},{numero:3,texte:"Step 3"}]},size:{type:String,required:!1,default:"md",validator:function(t){return["sm","md","lg"].indexOf(t)!==-1}},checkPassedStep:{type:Boolean,required:!1,default:!0},passedStepBgColor:{type:String,required:!1,default:"success"},currentStepBgColor:{type:String,required:!1,default:"primary"},futureStepBgColor:{type:String,required:!1,default:"secondary"},passedStepCss:{type:String,required:!1,default:"text-white"},currentStepCss:{type:String,required:!1,default:"text-white fw-bold"},futureStepCss:{type:String,required:!1,default:"text-white"},passedStepTextCss:{type:String,required:!1,default:""},currentStepTextCss:{type:String,required:!1,default:"fw-bold"},futureStepTextCss:{type:String,required:!1,default:""},hideText:{type:Boolean,required:!1,default:!1}},emits:["clickStep"],computed:{fontSizeText(){return this.bubbleSize/2.5},fontSizeStep(){return this.bubbleSize/2},bubbleSize(){switch(this.size){case"sm":return 2;case"lg":return 4;default:return 3}},passedStepBgColorCss(){return"var(--bs-"+this.passedStepBgColor+")"},futureStepBgColorCss(){return"var(--bs-"+this.futureStepBgColor+")"},currentStepBgColorCss(){return"var(--bs-"+this.currentStepBgColor+")"},lineTopCss(){return"calc("+this.bubbleSize+"/ 2)"}}},zm=()=>{W.useCssVars(t=>({31536048:t.futureStepBgColorCss,dac29eac:t.bubbleSize+"rem",a3a0806e:t.passedStepBgColorCss,de0182ca:t.fontSizeStep+"rem"}))},um=rd.setup;rd.setup=um?(t,e)=>(zm(),um(t,e)):zm;const AT={class:"d-flex justify-content-between"},rT=["role","onClick"];function nT(t,e,A,r,n,o){const a=W.resolveComponent("font-awesome-icon");return W.openBlock(),W.createElementBlock("div",AT,[(W.openBlock(!0),W.createElementBlock(W.Fragment,null,W.renderList(A.steps,(i,c)=>(W.openBlock(),W.createElementBlock("div",{key:i.numero,role:i.numero<A.currentStep?"button":"none",class:W.normalizeClass(["stepper-item",[{active:i.numero===A.currentStep,completed:i.numero<A.currentStep}]]),onClick:s=>t.$emit("clickStep",i.numero)},[W.createElementVNode("div",{class:W.normalizeClass(["step-counter",["bg-"+(c+1<A.currentStep?A.passedStepBgColor:c+1===A.currentStep?A.currentStepBgColor:A.futureStepBgColor),c+1<A.currentStep?A.passedStepCss:c+1===A.currentStep?A.currentStepCss:A.futureStepCss]]),style:W.normalizeStyle({fontSize:o.fontSizeStep+"rem"})},[c+1<A.currentStep&&A.checkPassedStep?(W.openBlock(),W.createBlock(a,{key:0,icon:["fas","check"]})):(W.openBlock(),W.createElementBlock(W.Fragment,{key:1},[W.createTextVNode(W.toDisplayString(i.numero),1)],64))],6),A.hideText?W.createCommentVNode("",!0):(W.openBlock(),W.createElementBlock("div",{key:0,class:W.normalizeClass(["step-name",[c+1<A.currentStep?A.passedStepTextCss:c+1===A.currentStep?A.currentStepTextCss:A.futureStepTextCss]]),style:W.normalizeStyle({fontSize:o.fontSizeText+"rem"})},W.toDisplayString(i.texte),7))],10,rT))),128))])}const oT=qr(rd,[["render",nT]]);function Me(t){"@babel/helpers - typeof";return Me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Me(t)}var MA=Uint8Array,tr=Uint16Array,nd=Int32Array,mM=new MA([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),BM=new MA([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),od=new MA([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),fm=function(t,e){for(var A=new tr(31),r=0;r<31;++r)A[r]=e+=1<<t[r-1];for(var n=new nd(A[30]),r=1;r<30;++r)for(var o=A[r];o<A[r+1];++o)n[o]=o-A[r]<<5|r;return{b:A,r:n}},dm=fm(mM,2),Om=dm.b,ad=dm.r;Om[28]=258,ad[258]=28;for(var hm=fm(BM,0),aT=hm.b,gm=hm.r,id=new tr(32768),Pe=0;Pe<32768;++Pe){var pa=(Pe&43690)>>1|(Pe&21845)<<1;pa=(pa&52428)>>2|(pa&13107)<<2,pa=(pa&61680)>>4|(pa&3855)<<4,id[Pe]=((pa&65280)>>8|(pa&255)<<8)>>1}for(var Fn=function(t,e,A){for(var r=t.length,n=0,o=new tr(e);n<r;++n)t[n]&&++o[t[n]-1];var a=new tr(e);for(n=1;n<e;++n)a[n]=a[n-1]+o[n-1]<<1;var i;if(A){i=new tr(1<<e);var c=15-e;for(n=0;n<r;++n)if(t[n])for(var s=n<<4|t[n],p=e-t[n],b=a[t[n]-1]++<<p,z=b|(1<<p)-1;b<=z;++b)i[id[b]>>c]=s}else for(i=new tr(r),n=0;n<r;++n)t[n]&&(i[n]=id[a[t[n]-1]++]>>15-t[n]);return i},ba=new MA(288),Pe=0;Pe<144;++Pe)ba[Pe]=8;for(var Pe=144;Pe<256;++Pe)ba[Pe]=9;for(var Pe=256;Pe<280;++Pe)ba[Pe]=7;for(var Pe=280;Pe<288;++Pe)ba[Pe]=8;for(var ms=new MA(32),Pe=0;Pe<32;++Pe)ms[Pe]=5;var iT=Fn(ba,9,0),cT=Fn(ba,9,1),sT=Fn(ms,5,0),pT=Fn(ms,5,1),cd=function(t){for(var e=t[0],A=1;A<t.length;++A)t[A]>e&&(e=t[A]);return e},en=function(t,e,A){var r=e/8|0;return(t[r]|t[r+1]<<8)>>(e&7)&A},sd=function(t,e){var A=e/8|0;return(t[A]|t[A+1]<<8|t[A+2]<<16)>>(e&7)},pd=function(t){return(t+7)/8|0},qm=function(t,e,A){return(A==null||A>t.length)&&(A=t.length),new MA(t.subarray(e,A))},bT=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],tn=function(t,e,A){var r=new Error(e||bT[t]);if(r.code=t,Error.captureStackTrace&&Error.captureStackTrace(r,tn),!A)throw r;return r},MT=function(t,e,A,r){var n=t.length,o=0;if(!n||e.f&&!e.l)return A||new MA(0);var a=!A,i=a||e.i!=2,c=e.i;a&&(A=new MA(n*3));var s=function(F0){var X0=A.length;if(F0>X0){var Y=new MA(Math.max(X0*2,F0));Y.set(A),A=Y}},p=e.f||0,b=e.p||0,z=e.b||0,M=e.l,f=e.d,d=e.m,q=e.n,O=n*8;do{if(!M){p=en(t,b,1);var v=en(t,b+1,3);if(b+=3,v)if(v==1)M=cT,f=pT,d=9,q=5;else if(v==2){var E=en(t,b,31)+257,F=en(t,b+10,15)+4,R=E+en(t,b+5,31)+1;b+=14;for(var P=new MA(R),J=new MA(19),y=0;y<F;++y)J[od[y]]=en(t,b+y*3,7);b+=F*3;for(var C=cd(J),k=(1<<C)-1,X=Fn(J,C,1),y=0;y<R;){var r0=X[en(t,b,k)];b+=r0&15;var B=r0>>4;if(B<16)P[y++]=B;else{var Z=0,a0=0;for(B==16?(a0=3+en(t,b,3),b+=2,Z=P[y-1]):B==17?(a0=3+en(t,b,7),b+=3):B==18&&(a0=11+en(t,b,127),b+=7);a0--;)P[y++]=Z}}var o0=P.subarray(0,E),M0=P.subarray(E);d=cd(o0),q=cd(M0),M=Fn(o0,d,1),f=Fn(M0,q,1)}else tn(1);else{var B=pd(b)+4,w=t[B-4]|t[B-3]<<8,L=B+w;if(L>n){c&&tn(0);break}i&&s(z+w),A.set(t.subarray(B,L),z),e.b=z+=w,e.p=b=L*8,e.f=p;continue}if(b>O){c&&tn(0);break}}i&&s(z+131072);for(var z0=(1<<d)-1,B0=(1<<q)-1,S=b;;S=b){var Z=M[sd(t,b)&z0],U=Z>>4;if(b+=Z&15,b>O){c&&tn(0);break}if(Z||tn(2),U<256)A[z++]=U;else if(U==256){S=b,M=null;break}else{var H=U-254;if(U>264){var y=U-257,j=mM[y];H=en(t,b,(1<<j)-1)+Om[y],b+=j}var t0=f[sd(t,b)&B0],A0=t0>>4;t0||tn(3),b+=t0&15;var M0=aT[A0];if(A0>3){var j=BM[A0];M0+=sd(t,b)&(1<<j)-1,b+=j}if(b>O){c&&tn(0);break}i&&s(z+131072);var p0=z+H;if(z<M0){var u0=o-M0,C0=Math.min(M0,p0);for(u0+z<0&&tn(3);z<C0;++z)A[z]=r[u0+z]}for(;z<p0;++z)A[z]=A[z-M0]}}e.l=M,e.p=S,e.b=z,e.f=p,M&&(p=1,e.m=d,e.d=f,e.n=q)}while(!p);return z!=A.length&&a?qm(A,0,z):A.subarray(0,z)},bo=function(t,e,A){A<<=e&7;var r=e/8|0;t[r]|=A,t[r+1]|=A>>8},Bs=function(t,e,A){A<<=e&7;var r=e/8|0;t[r]|=A,t[r+1]|=A>>8,t[r+2]|=A>>16},bd=function(t,e){for(var A=[],r=0;r<t.length;++r)t[r]&&A.push({s:r,f:t[r]});var n=A.length,o=A.slice();if(!n)return{t:Wm,l:0};if(n==1){var a=new MA(A[0].s+1);return a[A[0].s]=1,{t:a,l:1}}A.sort(function(L,E){return L.f-E.f}),A.push({s:-1,f:25001});var i=A[0],c=A[1],s=0,p=1,b=2;for(A[0]={s:-1,f:i.f+c.f,l:i,r:c};p!=n-1;)i=A[A[s].f<A[b].f?s++:b++],c=A[s!=p&&A[s].f<A[b].f?s++:b++],A[p++]={s:-1,f:i.f+c.f,l:i,r:c};for(var z=o[0].s,r=1;r<n;++r)o[r].s>z&&(z=o[r].s);var M=new tr(z+1),f=Md(A[p-1],M,0);if(f>e){var r=0,d=0,q=f-e,O=1<<q;for(o.sort(function(E,F){return M[F.s]-M[E.s]||E.f-F.f});r<n;++r){var v=o[r].s;if(M[v]>e)d+=O-(1<<f-M[v]),M[v]=e;else break}for(d>>=q;d>0;){var B=o[r].s;M[B]<e?d-=1<<e-M[B]++-1:++r}for(;r>=0&&d;--r){var w=o[r].s;M[w]==e&&(--M[w],++d)}f=e}return{t:new MA(M),l:f}},Md=function(t,e,A){return t.s==-1?Math.max(Md(t.l,e,A+1),Md(t.r,e,A+1)):e[t.s]=A},vm=function(t){for(var e=t.length;e&&!t[--e];);for(var A=new tr(++e),r=0,n=t[0],o=1,a=function(c){A[r++]=c},i=1;i<=e;++i)if(t[i]==n&&i!=e)++o;else{if(!n&&o>2){for(;o>138;o-=138)a(32754);o>2&&(a(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(a(n),--o;o>6;o-=6)a(8304);o>2&&(a(o-3<<5|8208),o=0)}for(;o--;)a(n);o=1,n=t[i]}return{c:A.subarray(0,r),n:e}},Ws=function(t,e){for(var A=0,r=0;r<e.length;++r)A+=t[r]*e[r];return A},mm=function(t,e,A){var r=A.length,n=pd(e+2);t[n]=r&255,t[n+1]=r>>8,t[n+2]=t[n]^255,t[n+3]=t[n+1]^255;for(var o=0;o<r;++o)t[n+o+4]=A[o];return(n+4+r)*8},Bm=function(t,e,A,r,n,o,a,i,c,s,p){bo(e,p++,A),++n[256];for(var b=bd(n,15),z=b.t,M=b.l,f=bd(o,15),d=f.t,q=f.l,O=vm(z),v=O.c,B=O.n,w=vm(d),L=w.c,E=w.n,F=new tr(19),R=0;R<v.length;++R)++F[v[R]&31];for(var R=0;R<L.length;++R)++F[L[R]&31];for(var P=bd(F,7),J=P.t,y=P.l,C=19;C>4&&!J[od[C-1]];--C);var k=s+5<<3,X=Ws(n,ba)+Ws(o,ms)+a,r0=Ws(n,z)+Ws(o,d)+a+14+3*C+Ws(F,J)+2*F[16]+3*F[17]+7*F[18];if(c>=0&&k<=X&&k<=r0)return mm(e,p,t.subarray(c,c+s));var Z,a0,o0,M0;if(bo(e,p,1+(r0<X)),p+=2,r0<X){Z=Fn(z,M,0),a0=z,o0=Fn(d,q,0),M0=d;var z0=Fn(J,y,0);bo(e,p,B-257),bo(e,p+5,E-1),bo(e,p+10,C-4),p+=14;for(var R=0;R<C;++R)bo(e,p+3*R,J[od[R]]);p+=3*C;for(var B0=[v,L],S=0;S<2;++S)for(var U=B0[S],R=0;R<U.length;++R){var H=U[R]&31;bo(e,p,z0[H]),p+=J[H],H>15&&(bo(e,p,U[R]>>5&127),p+=U[R]>>12)}}else Z=iT,a0=ba,o0=sT,M0=ms;for(var R=0;R<i;++R){var j=r[R];if(j>255){var H=j>>18&31;Bs(e,p,Z[H+257]),p+=a0[H+257],H>7&&(bo(e,p,j>>23&31),p+=mM[H]);var t0=j&31;Bs(e,p,o0[t0]),p+=M0[t0],t0>3&&(Bs(e,p,j>>5&8191),p+=BM[t0])}else Bs(e,p,Z[j]),p+=a0[j]}return Bs(e,p,Z[256]),p+a0[256]},lT=new nd([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Wm=new MA(0),zT=function(t,e,A,r,n,o){var a=o.z||t.length,i=new MA(r+a+5*(1+Math.ceil(a/7e3))+n),c=i.subarray(r,i.length-n),s=o.l,p=(o.r||0)&7;if(e){p&&(c[0]=o.r>>3);for(var b=lT[e-1],z=b>>13,M=b&8191,f=(1<<A)-1,d=o.p||new tr(32768),q=o.h||new tr(f+1),O=Math.ceil(A/3),v=2*O,B=function(O0){return(t[O0]^t[O0+1]<<O^t[O0+2]<<v)&f},w=new nd(25e3),L=new tr(288),E=new tr(32),F=0,R=0,P=o.i||0,J=0,y=o.w||0,C=0;P+2<a;++P){var k=B(P),X=P&32767,r0=q[k];if(d[X]=r0,q[k]=X,y<=P){var Z=a-P;if((F>7e3||J>24576)&&(Z>423||!s)){p=Bm(t,c,0,w,L,E,R,J,C,P-C,p),J=F=R=0,C=P;for(var a0=0;a0<286;++a0)L[a0]=0;for(var a0=0;a0<30;++a0)E[a0]=0}var o0=2,M0=0,z0=M,B0=X-r0&32767;if(Z>2&&k==B(P-B0))for(var S=Math.min(z,Z)-1,U=Math.min(32767,P),H=Math.min(258,Z);B0<=U&&--z0&&X!=r0;){if(t[P+o0]==t[P+o0-B0]){for(var j=0;j<H&&t[P+j]==t[P+j-B0];++j);if(j>o0){if(o0=j,M0=B0,j>S)break;for(var t0=Math.min(B0,j-2),A0=0,a0=0;a0<t0;++a0){var p0=P-B0+a0&32767,u0=d[p0],C0=p0-u0&32767;C0>A0&&(A0=C0,r0=p0)}}}X=r0,r0=d[X],B0+=X-r0&32767}if(M0){w[J++]=268435456|ad[o0]<<18|gm[M0];var F0=ad[o0]&31,X0=gm[M0]&31;R+=mM[F0]+BM[X0],++L[257+F0],++E[X0],y=P+o0,++F}else w[J++]=t[P],++L[t[P]]}}for(P=Math.max(P,y);P<a;++P)w[J++]=t[P],++L[t[P]];p=Bm(t,c,s,w,L,E,R,J,C,P-C,p),s||(o.r=p&7|c[p/8|0]<<3,p-=7,o.h=q,o.p=d,o.i=P,o.w=y)}else{for(var P=o.w||0;P<a+s;P+=65535){var Y=P+65535;Y>=a&&(c[p/8|0]=s,Y=a),p=mm(c,p+1,t.subarray(P,Y))}o.i=a}return qm(i,0,r+pd(p)+n)},ym=function(){var t=1,e=0;return{p:function(A){for(var r=t,n=e,o=A.length|0,a=0;a!=o;){for(var i=Math.min(a+2655,o);a<i;++a)n+=r+=A[a];r=(r&65535)+15*(r>>16),n=(n&65535)+15*(n>>16)}t=r,e=n},d:function(){return t%=65521,e%=65521,(t&255)<<24|(t&65280)<<8|(e&255)<<8|e>>8}}},uT=function(t,e,A,r,n){if(!n&&(n={l:1},e.dictionary)){var o=e.dictionary.subarray(-32768),a=new MA(o.length+t.length);a.set(o),a.set(t,o.length),t=a,n.w=o.length}return zT(t,e.level==null?6:e.level,e.mem==null?n.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+e.mem,A,r,n)},wm=function(t,e,A){for(;A;++e)t[e]=A,A>>>=8},fT=function(t,e){var A=e.level,r=A==0?0:A<6?1:A==9?3:2;if(t[0]=120,t[1]=r<<6|(e.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,e.dictionary){var n=ym();n.p(e.dictionary),wm(t,2,n.d())}},dT=function(t,e){return((t[0]&15)!=8||t[0]>>4>7||(t[0]<<8|t[1])%31)&&tn(6,"invalid zlib data"),(t[1]>>5&1)==1&&tn(6,"invalid zlib data: "+(t[1]&32?"need":"unexpected")+" dictionary"),(t[1]>>3&4)+2};function ld(t,e){e||(e={});var A=ym();A.p(t);var r=uT(t,e,e.dictionary?6:2,4);return fT(r,e),wm(r,r.length-4,A.d()),r}function OT(t,e){return MT(t.subarray(dT(t),-4),{i:2},e,e)}var hT=typeof TextDecoder<"u"&&new TextDecoder,gT=0;try{hT.decode(Wm,{stream:!0}),gT=1}catch{}/** @license
|
|
565
|
+
*/const pm={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},qE={prefix:"fas",iconName:"angle-right",icon:[320,512,[8250],"f105","M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]},vE={prefix:"fas",iconName:"angles-right",icon:[512,512,[187,"angle-double-right"],"f101","M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"]},mE={prefix:"fas",iconName:"cloud-arrow-up",icon:[640,512,[62338,"cloud-upload","cloud-upload-alt"],"f0ee","M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128l-368 0zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39L296 392c0 13.3 10.7 24 24 24s24-10.7 24-24l0-134.1 39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z"]},BE={prefix:"fas",iconName:"arrow-down-wide-short",icon:[576,512,["sort-amount-asc","sort-amount-down"],"f160","M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7 96 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 301.7 32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L320 96z"]},WE={prefix:"fas",iconName:"cloud-arrow-down",icon:[640,512,[62337,"cloud-download","cloud-download-alt"],"f0ed","M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128l-368 0zm79-167l80 80c9.4 9.4 24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-39 39L344 184c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 134.1-39-39c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9z"]},yE={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},ed={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},bm={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z"]},wE={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},RE={prefix:"fas",iconName:"paperclip",icon:[448,512,[128206],"f0c6","M364.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4z"]},LE={prefix:"fas",iconName:"camera",icon:[512,512,[62258,"camera-alt"],"f030","M149.1 64.8L138.7 96 64 96C28.7 96 0 124.7 0 160L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64l-74.7 0L362.9 64.8C356.4 45.2 338.1 32 317.4 32L194.6 32c-20.7 0-39 13.2-45.5 32.8zM256 192a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]},CE={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},xE={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},NE={prefix:"fas",iconName:"angles-left",icon:[512,512,[171,"angle-double-left"],"f100","M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"]},SE={prefix:"fas",iconName:"arrow-up-short-wide",icon:[576,512,["sort-amount-up-alt"],"f885","M151.6 42.4C145.5 35.8 137 32 128 32s-17.5 3.8-23.6 10.4l-88 96c-11.9 13-11.1 33.3 2 45.2s33.3 11.1 45.2-2L96 146.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-301.7 32.4 35.4c11.9 13 32.2 13.9 45.2 2s13.9-32.2 2-45.2l-88-96zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0z"]},FE={prefix:"fas",iconName:"file-circle-plus",icon:[576,512,[58606],"e494","M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 38.6C310.1 219.5 256 287.4 256 368c0 59.1 29.1 111.3 73.7 143.3c-3.2 .5-6.4 .7-9.7 .7L64 512c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128zm48 96a144 144 0 1 1 0 288 144 144 0 1 1 0-288zm16 80c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 48-48 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l48 0 0 48c0 8.8 7.2 16 16 16s16-7.2 16-16l0-48 48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-48 0 0-48z"]},Mm={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},EE={prefix:"fas",iconName:"angle-left",icon:[320,512,[8249],"f104","M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},TE={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},qr=(t,e)=>{const A=t.__vccOpts||t;for(const[r,n]of e)A[r]=n;return A};ca.add(xE);const UE={name:"AmsomModalComponent",components:{FontAwesomeIcon:sa},props:{closeOption:{type:Boolean,default:!1},size:{type:String,default:"md",validator(t){return["xxs","xs","sm","md","lg","xl"].includes(t)}},position:{type:String,default:"center",validator(t){return["top","center","bottom"].includes(t)}},title:{type:String,default:""},reducible:{type:Boolean,default:!1},classTitle:{type:String,default:"h4 text-center"}},emits:["close"],data(){return{alreadyHidden:!1,modalId:this.$options.modalManager.generateModalId(),reduced:!1}},modalManager:{openModals:[],baseZIndex:1055,zIndexIncrement:10,modalCounter:0,sizes:{xxs:"col-12 col-md-3",xs:"col-12 col-md-4",sm:"col-12 col-md-6",md:"col-12 col-md-8",lg:"col-12 col-md-10",xl:"col-12"},generateModalId(){return`modal-${Date.now()}-${++this.modalCounter}`},register(t){this.openModals.push(t)},unregister(t){const e=this.openModals.indexOf(t);e>-1&&this.openModals.splice(e,1)},getTopModal(){return this.openModals[this.openModals.length-1]},clear(){this.openModals.length=0}},computed:{modalZIndex(){const t=this.$options.modalManager.openModals.indexOf(this.modalId);return this.$options.modalManager.baseZIndex+(t>=0?t*this.$options.modalManager.zIndexIncrement:0)},modalSize(){return this.$options.modalManager.sizes[this.size]||this.$options.modalManager.sizes.md},alignmentClass(){return{top:"flex-start",center:"center",bottom:"flex-end"}[this.position]||"center"}},mounted(){this.$options.modalManager.register(this.modalId),this.$options.modalManager.openModals.length===1&&this.lockBodyScroll(),this.closeOption&&document.addEventListener("keydown",this.closeEsc)},beforeUnmount(){this.$options.modalManager.unregister(this.modalId),this.$options.modalManager.openModals.length===0&&this.unlockBodyScroll(),this.closeOption&&document.removeEventListener("keydown",this.closeEsc)},methods:{lockBodyScroll(){if(window.getComputedStyle(document.body).overflow==="hidden"){this.alreadyHidden=!0;return}document.body.style.overflow="hidden"},unlockBodyScroll(){this.alreadyHidden||(document.body.style.overflow="")},handleBackdropClick(t){t.target===t.currentTarget&&this.closeOption&&this.$emit("close")},closeEsc(t){t.key==="Escape"&&this.$options.modalManager.getTopModal()===this.modalId&&this.$emit("close")}}},IE=["id"],kE={class:"amsom-modal-body mt-2"},PE={key:0,class:"position-fixed bottom-0 end-0 mb-3 me-3"},DE={key:0,class:"position-fixed bottom-0 end-0 mb-3 me-3"};function QE(t,e,A,r,n,o){const a=W.resolveComponent("font-awesome-icon");return W.openBlock(),W.createElementBlock("div",null,[W.createElementVNode("div",{class:W.normalizeClass(["p-2 m-0 bg-black bg-opacity-25 position-fixed overflow-y-auto",{"d-none":n.reduced}]),style:W.normalizeStyle({zIndex:o.modalZIndex,top:"0",left:"0",width:"100vw",height:"100vh"}),onClick:e[4]||(e[4]=(...i)=>o.handleBackdropClick&&o.handleBackdropClick(...i))},[W.createElementVNode("div",{class:"d-flex justify-content-center",style:W.normalizeStyle({minHeight:"100%",alignItems:o.alignmentClass,paddingTop:A.position==="center"?"2rem":"1rem",paddingBottom:A.position==="center"?"2rem":"1rem"}),onClick:e[2]||(e[2]=(...i)=>o.handleBackdropClick&&o.handleBackdropClick(...i))},[W.createElementVNode("div",{id:n.modalId,class:W.normalizeClass(["container-fluid bg-white rounded-4 p-3 position-relative d-flex flex-column",o.modalSize]),style:{minHeight:"auto",maxHeight:"none"},onClick:e[1]||(e[1]=W.withModifiers(()=>{},["stop"]))},[A.closeOption?(W.openBlock(),W.createBlock(a,{key:0,icon:"fa-solid fa-times",role:"button",class:"position-absolute top-0 end-0 m-3 translate-middle-y",size:"lg",onClick:e[0]||(e[0]=i=>t.$emit("close"))})):W.createCommentVNode("",!0),W.createElementVNode("div",kE,[W.renderSlot(t.$slots,"title",{},()=>[A.title?(W.openBlock(),W.createElementBlock("div",{key:0,class:W.normalizeClass(A.classTitle)},W.toDisplayString(A.title),3)):W.createCommentVNode("",!0)]),W.renderSlot(t.$slots,"default",{},()=>[e[6]||(e[6]=W.createElementVNode("p",null," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. ",-1))])])],10,IE)],4),A.reducible?(W.openBlock(),W.createElementBlock("div",PE,[W.createElementVNode("button",{class:"btn btn-primary",onClick:e[3]||(e[3]=i=>n.reduced=!n.reduced)}," Réduire la fenêtre ")])):W.createCommentVNode("",!0)],6),A.reducible&&n.reduced?(W.openBlock(),W.createElementBlock("div",DE,[W.createElementVNode("button",{class:"btn btn-primary",onClick:e[5]||(e[5]=i=>n.reduced=!n.reduced)}," Restaurer la fenêtre ")])):W.createCommentVNode("",!0)])}const td=qr(UE,[["render",QE]]),XE={name:"AmsomCard",props:{title:{type:String,default:null},bgImage:{type:String,default:null},bgOpacity:{type:Number,default:.25,validator:t=>t>=0&&t<=1},bubbleTitle:{type:Boolean,default:!1},bubbleTitleClass:{type:String,default:"bg-primary text-white"},noBody:{type:Boolean,default:!1},header:{type:Boolean,default:!1},headerClass:{type:String,default:""},cardClass:{type:String,default:""},cardStyle:{type:String,default:""},footer:{type:Boolean,default:!1},footerClass:{type:String,default:""}}},HE={class:"position-relative"},_E={key:0,class:"card-title"},jE=["src"];function VE(t,e,A,r,n,o){return W.openBlock(),W.createElementBlock("div",HE,[A.header?(W.openBlock(),W.createElementBlock("div",{key:0,class:W.normalizeClass(["card card-header",A.headerClass])},[W.renderSlot(t.$slots,"header")],2)):W.createCommentVNode("",!0),W.createElementVNode("div",{class:W.normalizeClass(["card position-relative h-100",[{"rounded-top-0":A.header,"rounded-bottom-0":A.footer},A.cardClass]])},[W.createElementVNode("div",{class:"position-relative overflow-y-auto h-100",style:W.normalizeStyle(A.cardStyle)},[W.createElementVNode("div",{class:W.normalizeClass([{"card-body":!A.noBody}]),style:{position:"relative","z-index":"1"}},[W.renderSlot(t.$slots,"title",{},()=>[A.title&&!A.bubbleTitle?(W.openBlock(),W.createElementBlock("h4",_E,W.toDisplayString(A.title),1)):W.createCommentVNode("",!0)]),W.renderSlot(t.$slots,"default")],2)],4),A.bgImage?(W.openBlock(),W.createElementBlock("img",{key:0,src:A.bgImage,class:W.normalizeClass(["img img-fluid bg-white object-fit-cover h-100 w-100 position-absolute top-0 start-0",[{"rounded-top-0":A.header,"rounded-bottom-0":A.footer}]]),alt:"Image de fond du widget",style:W.normalizeStyle({opacity:A.bgOpacity,zIndex:0,borderRadius:"inherit"})},null,14,jE)):W.createCommentVNode("",!0)],2),A.title&&A.bubbleTitle?(W.openBlock(),W.createElementBlock("span",{key:1,id:"bubble-title",class:W.normalizeClass(["position-absolute top-0 start-0 translate-middle-y rounded-pill shadow px-1",A.bubbleTitleClass]),style:{"z-index":"2"}},W.toDisplayString(A.title),3)):W.createCommentVNode("",!0),A.footer?(W.openBlock(),W.createElementBlock("div",{key:2,class:W.normalizeClass(["card card-footer",A.footerClass])},[W.renderSlot(t.$slots,"footer")],2)):W.createCommentVNode("",!0)])}const lm=qr(XE,[["render",VE]]),KE={name:"AmsomOverlay",props:{loading:{type:Boolean,default:!1,required:!0},opacity:{type:Number,default:60,required:!1,validator:t=>t>=0&&t<=100}}},GE={class:"position-relative"};function YE(t,e,A,r,n,o){return W.openBlock(),W.createElementBlock("div",GE,[A.loading?(W.openBlock(),W.createElementBlock("div",{key:0,class:"position-absolute w-100 h-100 d-flex align-items-center justify-content-center rounded",style:W.normalizeStyle([{backgroundColor:"rgba(193, 193, 193,"+A.opacity/100+")",boxShadow:"inset 0 0 0 10px rgba(193, 193, 193, 0.5)"},{"z-index":"1045"}])},[...e[0]||(e[0]=[W.createElementVNode("div",{class:"spinner-border text-primary position-sticky sticky-top",role:"status"},[W.createElementVNode("span",{class:"sr-only visually-hidden"},"Chargement...")],-1)])],4)):W.createCommentVNode("",!0),W.renderSlot(t.$slots,"default",{},()=>[e[1]||(e[1]=W.createElementVNode("p",null," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. ",-1))])])}const Ad=qr(KE,[["render",YE]]);ca.add(Mm);const JE={name:"WorkflowAssuranceBlock",components:{FontAwesomeIcon:sa},props:{steps:{type:Array,required:!0,default:()=>[{numero:1,texte:"Step 1"},{numero:2,texte:"Step 2"},{numero:3,texte:"Step 3"}]},currentStep:{type:Number,required:!1,default:1},size:{type:String,required:!1,default:"md"},checkPassedStep:{type:Boolean,required:!1,default:!0},passedStepBgColor:{type:String,required:!1,default:"success"},currentStepBgColor:{type:String,required:!1,default:"primary"},futureStepBgColor:{type:String,required:!1,default:"secondary"},passedStepCss:{type:String,required:!1,default:"text-white"},currentStepCss:{type:String,required:!1,default:"text-white fw-bold"},futureStepCss:{type:String,required:!1,default:"text-white"},passedStepTextCss:{type:String,required:!1,default:"white"},currentStepTextCss:{type:String,required:!1,default:"white"},futureStepTextCss:{type:String,required:!1,default:"white"},hideText:{type:Boolean,required:!1,default:!1}},emits:["clickStep"],computed:{fontSize(){return this.bubbleSize/2},bubbleSize(){switch(this.size){case"sm":return 2;case"lg":return 4;default:return 3}}}},ZE={class:"d-flex flex-column align-items-center"},$E={key:0,class:"line h-100",style:{height:"30px","min-height":"30px"}};function eT(t,e,A,r,n,o){const a=W.resolveComponent("font-awesome-icon");return W.openBlock(!0),W.createElementBlock(W.Fragment,null,W.renderList(A.steps,(i,c)=>(W.openBlock(),W.createElementBlock("div",{key:i.numero,class:"d-flex mb-1"},[W.createElementVNode("div",ZE,[W.createElementVNode("div",{style:W.normalizeStyle({width:o.bubbleSize+"rem",minHeight:o.bubbleSize+"rem",height:o.bubbleSize+"rem",lineHeight:o.bubbleSize+"rem",fontSize:o.fontSize+"rem"}),class:W.normalizeClass(["d-inline-block rounded-circle text-center mb-1",["bg-"+(c+1<A.currentStep?A.passedStepBgColor:c+1===A.currentStep?A.currentStepBgColor:A.futureStepBgColor),c+1<A.currentStep?A.passedStepCss:c+1===A.currentStep?A.currentStepCss:A.futureStepCss]]),onClick:e[0]||(e[0]=s=>t.$emit("clickStep",t.s.numero))},[c+1<A.currentStep&&A.checkPassedStep?(W.openBlock(),W.createBlock(a,{key:0,icon:["fas","check"]})):(W.openBlock(),W.createElementBlock(W.Fragment,{key:1},[W.createTextVNode(W.toDisplayString(i.numero),1)],64))],6),c<A.steps.length-1?(W.openBlock(),W.createElementBlock("div",$E)):W.createCommentVNode("",!0)]),A.hideText?W.createCommentVNode("",!0):(W.openBlock(),W.createElementBlock("span",{key:0,class:W.normalizeClass(["ms-1",[c+1<A.currentStep?A.passedStepTextCss:c+1===A.currentStep?A.currentStepTextCss:A.futureStepTextCss]]),style:W.normalizeStyle({minHeight:o.bubbleSize+"rem",lineHeight:o.bubbleSize+"rem"})},[W.renderSlot(t.$slots,"stepContent",{step:i},()=>[W.createTextVNode(W.toDisplayString(i.texte),1)],!0)],6))]))),128)}const tT=qr(JE,[["render",eT],["__scopeId","data-v-be1b899b"]]);ca.add(Mm);const rd={name:"AmsomHorizontalStepper",components:{FontAwesomeIcon:sa},props:{currentStep:{type:Number,required:!0,default:1},steps:{type:Array,required:!0,default:()=>[{numero:1,texte:"Step 1"},{numero:2,texte:"Step 2"},{numero:3,texte:"Step 3"}]},size:{type:String,required:!1,default:"md",validator:function(t){return["sm","md","lg"].indexOf(t)!==-1}},checkPassedStep:{type:Boolean,required:!1,default:!0},passedStepBgColor:{type:String,required:!1,default:"success"},currentStepBgColor:{type:String,required:!1,default:"primary"},futureStepBgColor:{type:String,required:!1,default:"secondary"},passedStepCss:{type:String,required:!1,default:"text-white"},currentStepCss:{type:String,required:!1,default:"text-white fw-bold"},futureStepCss:{type:String,required:!1,default:"text-white"},passedStepTextCss:{type:String,required:!1,default:""},currentStepTextCss:{type:String,required:!1,default:"fw-bold"},futureStepTextCss:{type:String,required:!1,default:""},hideText:{type:Boolean,required:!1,default:!1}},emits:["clickStep"],computed:{fontSizeText(){return this.bubbleSize/2.5},fontSizeStep(){return this.bubbleSize/2},bubbleSize(){switch(this.size){case"sm":return 2;case"lg":return 4;default:return 3}},passedStepBgColorCss(){return"var(--bs-"+this.passedStepBgColor+")"},futureStepBgColorCss(){return"var(--bs-"+this.futureStepBgColor+")"},currentStepBgColorCss(){return"var(--bs-"+this.currentStepBgColor+")"},lineTopCss(){return"calc("+this.bubbleSize+"/ 2)"}}},zm=()=>{W.useCssVars(t=>({v31536048:t.futureStepBgColorCss,dac29eac:t.bubbleSize+"rem",a3a0806e:t.passedStepBgColorCss,de0182ca:t.fontSizeStep+"rem"}))},um=rd.setup;rd.setup=um?(t,e)=>(zm(),um(t,e)):zm;const AT={class:"d-flex justify-content-between"},rT=["role","onClick"];function nT(t,e,A,r,n,o){const a=W.resolveComponent("font-awesome-icon");return W.openBlock(),W.createElementBlock("div",AT,[(W.openBlock(!0),W.createElementBlock(W.Fragment,null,W.renderList(A.steps,(i,c)=>(W.openBlock(),W.createElementBlock("div",{key:i.numero,role:i.numero<A.currentStep?"button":"none",class:W.normalizeClass(["stepper-item",[{active:i.numero===A.currentStep,completed:i.numero<A.currentStep}]]),onClick:s=>t.$emit("clickStep",i.numero)},[W.createElementVNode("div",{class:W.normalizeClass(["step-counter",["bg-"+(c+1<A.currentStep?A.passedStepBgColor:c+1===A.currentStep?A.currentStepBgColor:A.futureStepBgColor),c+1<A.currentStep?A.passedStepCss:c+1===A.currentStep?A.currentStepCss:A.futureStepCss]]),style:W.normalizeStyle({fontSize:o.fontSizeStep+"rem"})},[c+1<A.currentStep&&A.checkPassedStep?(W.openBlock(),W.createBlock(a,{key:0,icon:["fas","check"]})):(W.openBlock(),W.createElementBlock(W.Fragment,{key:1},[W.createTextVNode(W.toDisplayString(i.numero),1)],64))],6),A.hideText?W.createCommentVNode("",!0):(W.openBlock(),W.createElementBlock("div",{key:0,class:W.normalizeClass(["step-name",[c+1<A.currentStep?A.passedStepTextCss:c+1===A.currentStep?A.currentStepTextCss:A.futureStepTextCss]]),style:W.normalizeStyle({fontSize:o.fontSizeText+"rem"})},W.toDisplayString(i.texte),7))],10,rT))),128))])}const oT=qr(rd,[["render",nT]]);function Me(t){"@babel/helpers - typeof";return Me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Me(t)}var MA=Uint8Array,tr=Uint16Array,nd=Int32Array,mM=new MA([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),BM=new MA([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),od=new MA([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),fm=function(t,e){for(var A=new tr(31),r=0;r<31;++r)A[r]=e+=1<<t[r-1];for(var n=new nd(A[30]),r=1;r<30;++r)for(var o=A[r];o<A[r+1];++o)n[o]=o-A[r]<<5|r;return{b:A,r:n}},dm=fm(mM,2),Om=dm.b,ad=dm.r;Om[28]=258,ad[258]=28;for(var hm=fm(BM,0),aT=hm.b,gm=hm.r,id=new tr(32768),Pe=0;Pe<32768;++Pe){var pa=(Pe&43690)>>1|(Pe&21845)<<1;pa=(pa&52428)>>2|(pa&13107)<<2,pa=(pa&61680)>>4|(pa&3855)<<4,id[Pe]=((pa&65280)>>8|(pa&255)<<8)>>1}for(var Fn=function(t,e,A){for(var r=t.length,n=0,o=new tr(e);n<r;++n)t[n]&&++o[t[n]-1];var a=new tr(e);for(n=1;n<e;++n)a[n]=a[n-1]+o[n-1]<<1;var i;if(A){i=new tr(1<<e);var c=15-e;for(n=0;n<r;++n)if(t[n])for(var s=n<<4|t[n],p=e-t[n],b=a[t[n]-1]++<<p,z=b|(1<<p)-1;b<=z;++b)i[id[b]>>c]=s}else for(i=new tr(r),n=0;n<r;++n)t[n]&&(i[n]=id[a[t[n]-1]++]>>15-t[n]);return i},ba=new MA(288),Pe=0;Pe<144;++Pe)ba[Pe]=8;for(var Pe=144;Pe<256;++Pe)ba[Pe]=9;for(var Pe=256;Pe<280;++Pe)ba[Pe]=7;for(var Pe=280;Pe<288;++Pe)ba[Pe]=8;for(var ms=new MA(32),Pe=0;Pe<32;++Pe)ms[Pe]=5;var iT=Fn(ba,9,0),cT=Fn(ba,9,1),sT=Fn(ms,5,0),pT=Fn(ms,5,1),cd=function(t){for(var e=t[0],A=1;A<t.length;++A)t[A]>e&&(e=t[A]);return e},en=function(t,e,A){var r=e/8|0;return(t[r]|t[r+1]<<8)>>(e&7)&A},sd=function(t,e){var A=e/8|0;return(t[A]|t[A+1]<<8|t[A+2]<<16)>>(e&7)},pd=function(t){return(t+7)/8|0},qm=function(t,e,A){return(A==null||A>t.length)&&(A=t.length),new MA(t.subarray(e,A))},bT=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],tn=function(t,e,A){var r=new Error(e||bT[t]);if(r.code=t,Error.captureStackTrace&&Error.captureStackTrace(r,tn),!A)throw r;return r},MT=function(t,e,A,r){var n=t.length,o=0;if(!n||e.f&&!e.l)return A||new MA(0);var a=!A,i=a||e.i!=2,c=e.i;a&&(A=new MA(n*3));var s=function(F0){var X0=A.length;if(F0>X0){var Y=new MA(Math.max(X0*2,F0));Y.set(A),A=Y}},p=e.f||0,b=e.p||0,z=e.b||0,M=e.l,f=e.d,d=e.m,q=e.n,O=n*8;do{if(!M){p=en(t,b,1);var v=en(t,b+1,3);if(b+=3,v)if(v==1)M=cT,f=pT,d=9,q=5;else if(v==2){var E=en(t,b,31)+257,F=en(t,b+10,15)+4,R=E+en(t,b+5,31)+1;b+=14;for(var P=new MA(R),J=new MA(19),y=0;y<F;++y)J[od[y]]=en(t,b+y*3,7);b+=F*3;for(var C=cd(J),k=(1<<C)-1,X=Fn(J,C,1),y=0;y<R;){var r0=X[en(t,b,k)];b+=r0&15;var B=r0>>4;if(B<16)P[y++]=B;else{var Z=0,a0=0;for(B==16?(a0=3+en(t,b,3),b+=2,Z=P[y-1]):B==17?(a0=3+en(t,b,7),b+=3):B==18&&(a0=11+en(t,b,127),b+=7);a0--;)P[y++]=Z}}var o0=P.subarray(0,E),M0=P.subarray(E);d=cd(o0),q=cd(M0),M=Fn(o0,d,1),f=Fn(M0,q,1)}else tn(1);else{var B=pd(b)+4,w=t[B-4]|t[B-3]<<8,L=B+w;if(L>n){c&&tn(0);break}i&&s(z+w),A.set(t.subarray(B,L),z),e.b=z+=w,e.p=b=L*8,e.f=p;continue}if(b>O){c&&tn(0);break}}i&&s(z+131072);for(var z0=(1<<d)-1,B0=(1<<q)-1,S=b;;S=b){var Z=M[sd(t,b)&z0],U=Z>>4;if(b+=Z&15,b>O){c&&tn(0);break}if(Z||tn(2),U<256)A[z++]=U;else if(U==256){S=b,M=null;break}else{var H=U-254;if(U>264){var y=U-257,j=mM[y];H=en(t,b,(1<<j)-1)+Om[y],b+=j}var t0=f[sd(t,b)&B0],A0=t0>>4;t0||tn(3),b+=t0&15;var M0=aT[A0];if(A0>3){var j=BM[A0];M0+=sd(t,b)&(1<<j)-1,b+=j}if(b>O){c&&tn(0);break}i&&s(z+131072);var p0=z+H;if(z<M0){var u0=o-M0,C0=Math.min(M0,p0);for(u0+z<0&&tn(3);z<C0;++z)A[z]=r[u0+z]}for(;z<p0;++z)A[z]=A[z-M0]}}e.l=M,e.p=S,e.b=z,e.f=p,M&&(p=1,e.m=d,e.d=f,e.n=q)}while(!p);return z!=A.length&&a?qm(A,0,z):A.subarray(0,z)},bo=function(t,e,A){A<<=e&7;var r=e/8|0;t[r]|=A,t[r+1]|=A>>8},Bs=function(t,e,A){A<<=e&7;var r=e/8|0;t[r]|=A,t[r+1]|=A>>8,t[r+2]|=A>>16},bd=function(t,e){for(var A=[],r=0;r<t.length;++r)t[r]&&A.push({s:r,f:t[r]});var n=A.length,o=A.slice();if(!n)return{t:Wm,l:0};if(n==1){var a=new MA(A[0].s+1);return a[A[0].s]=1,{t:a,l:1}}A.sort(function(L,E){return L.f-E.f}),A.push({s:-1,f:25001});var i=A[0],c=A[1],s=0,p=1,b=2;for(A[0]={s:-1,f:i.f+c.f,l:i,r:c};p!=n-1;)i=A[A[s].f<A[b].f?s++:b++],c=A[s!=p&&A[s].f<A[b].f?s++:b++],A[p++]={s:-1,f:i.f+c.f,l:i,r:c};for(var z=o[0].s,r=1;r<n;++r)o[r].s>z&&(z=o[r].s);var M=new tr(z+1),f=Md(A[p-1],M,0);if(f>e){var r=0,d=0,q=f-e,O=1<<q;for(o.sort(function(E,F){return M[F.s]-M[E.s]||E.f-F.f});r<n;++r){var v=o[r].s;if(M[v]>e)d+=O-(1<<f-M[v]),M[v]=e;else break}for(d>>=q;d>0;){var B=o[r].s;M[B]<e?d-=1<<e-M[B]++-1:++r}for(;r>=0&&d;--r){var w=o[r].s;M[w]==e&&(--M[w],++d)}f=e}return{t:new MA(M),l:f}},Md=function(t,e,A){return t.s==-1?Math.max(Md(t.l,e,A+1),Md(t.r,e,A+1)):e[t.s]=A},vm=function(t){for(var e=t.length;e&&!t[--e];);for(var A=new tr(++e),r=0,n=t[0],o=1,a=function(c){A[r++]=c},i=1;i<=e;++i)if(t[i]==n&&i!=e)++o;else{if(!n&&o>2){for(;o>138;o-=138)a(32754);o>2&&(a(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(a(n),--o;o>6;o-=6)a(8304);o>2&&(a(o-3<<5|8208),o=0)}for(;o--;)a(n);o=1,n=t[i]}return{c:A.subarray(0,r),n:e}},Ws=function(t,e){for(var A=0,r=0;r<e.length;++r)A+=t[r]*e[r];return A},mm=function(t,e,A){var r=A.length,n=pd(e+2);t[n]=r&255,t[n+1]=r>>8,t[n+2]=t[n]^255,t[n+3]=t[n+1]^255;for(var o=0;o<r;++o)t[n+o+4]=A[o];return(n+4+r)*8},Bm=function(t,e,A,r,n,o,a,i,c,s,p){bo(e,p++,A),++n[256];for(var b=bd(n,15),z=b.t,M=b.l,f=bd(o,15),d=f.t,q=f.l,O=vm(z),v=O.c,B=O.n,w=vm(d),L=w.c,E=w.n,F=new tr(19),R=0;R<v.length;++R)++F[v[R]&31];for(var R=0;R<L.length;++R)++F[L[R]&31];for(var P=bd(F,7),J=P.t,y=P.l,C=19;C>4&&!J[od[C-1]];--C);var k=s+5<<3,X=Ws(n,ba)+Ws(o,ms)+a,r0=Ws(n,z)+Ws(o,d)+a+14+3*C+Ws(F,J)+2*F[16]+3*F[17]+7*F[18];if(c>=0&&k<=X&&k<=r0)return mm(e,p,t.subarray(c,c+s));var Z,a0,o0,M0;if(bo(e,p,1+(r0<X)),p+=2,r0<X){Z=Fn(z,M,0),a0=z,o0=Fn(d,q,0),M0=d;var z0=Fn(J,y,0);bo(e,p,B-257),bo(e,p+5,E-1),bo(e,p+10,C-4),p+=14;for(var R=0;R<C;++R)bo(e,p+3*R,J[od[R]]);p+=3*C;for(var B0=[v,L],S=0;S<2;++S)for(var U=B0[S],R=0;R<U.length;++R){var H=U[R]&31;bo(e,p,z0[H]),p+=J[H],H>15&&(bo(e,p,U[R]>>5&127),p+=U[R]>>12)}}else Z=iT,a0=ba,o0=sT,M0=ms;for(var R=0;R<i;++R){var j=r[R];if(j>255){var H=j>>18&31;Bs(e,p,Z[H+257]),p+=a0[H+257],H>7&&(bo(e,p,j>>23&31),p+=mM[H]);var t0=j&31;Bs(e,p,o0[t0]),p+=M0[t0],t0>3&&(Bs(e,p,j>>5&8191),p+=BM[t0])}else Bs(e,p,Z[j]),p+=a0[j]}return Bs(e,p,Z[256]),p+a0[256]},lT=new nd([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Wm=new MA(0),zT=function(t,e,A,r,n,o){var a=o.z||t.length,i=new MA(r+a+5*(1+Math.ceil(a/7e3))+n),c=i.subarray(r,i.length-n),s=o.l,p=(o.r||0)&7;if(e){p&&(c[0]=o.r>>3);for(var b=lT[e-1],z=b>>13,M=b&8191,f=(1<<A)-1,d=o.p||new tr(32768),q=o.h||new tr(f+1),O=Math.ceil(A/3),v=2*O,B=function(O0){return(t[O0]^t[O0+1]<<O^t[O0+2]<<v)&f},w=new nd(25e3),L=new tr(288),E=new tr(32),F=0,R=0,P=o.i||0,J=0,y=o.w||0,C=0;P+2<a;++P){var k=B(P),X=P&32767,r0=q[k];if(d[X]=r0,q[k]=X,y<=P){var Z=a-P;if((F>7e3||J>24576)&&(Z>423||!s)){p=Bm(t,c,0,w,L,E,R,J,C,P-C,p),J=F=R=0,C=P;for(var a0=0;a0<286;++a0)L[a0]=0;for(var a0=0;a0<30;++a0)E[a0]=0}var o0=2,M0=0,z0=M,B0=X-r0&32767;if(Z>2&&k==B(P-B0))for(var S=Math.min(z,Z)-1,U=Math.min(32767,P),H=Math.min(258,Z);B0<=U&&--z0&&X!=r0;){if(t[P+o0]==t[P+o0-B0]){for(var j=0;j<H&&t[P+j]==t[P+j-B0];++j);if(j>o0){if(o0=j,M0=B0,j>S)break;for(var t0=Math.min(B0,j-2),A0=0,a0=0;a0<t0;++a0){var p0=P-B0+a0&32767,u0=d[p0],C0=p0-u0&32767;C0>A0&&(A0=C0,r0=p0)}}}X=r0,r0=d[X],B0+=X-r0&32767}if(M0){w[J++]=268435456|ad[o0]<<18|gm[M0];var F0=ad[o0]&31,X0=gm[M0]&31;R+=mM[F0]+BM[X0],++L[257+F0],++E[X0],y=P+o0,++F}else w[J++]=t[P],++L[t[P]]}}for(P=Math.max(P,y);P<a;++P)w[J++]=t[P],++L[t[P]];p=Bm(t,c,s,w,L,E,R,J,C,P-C,p),s||(o.r=p&7|c[p/8|0]<<3,p-=7,o.h=q,o.p=d,o.i=P,o.w=y)}else{for(var P=o.w||0;P<a+s;P+=65535){var Y=P+65535;Y>=a&&(c[p/8|0]=s,Y=a),p=mm(c,p+1,t.subarray(P,Y))}o.i=a}return qm(i,0,r+pd(p)+n)},ym=function(){var t=1,e=0;return{p:function(A){for(var r=t,n=e,o=A.length|0,a=0;a!=o;){for(var i=Math.min(a+2655,o);a<i;++a)n+=r+=A[a];r=(r&65535)+15*(r>>16),n=(n&65535)+15*(n>>16)}t=r,e=n},d:function(){return t%=65521,e%=65521,(t&255)<<24|(t&65280)<<8|(e&255)<<8|e>>8}}},uT=function(t,e,A,r,n){if(!n&&(n={l:1},e.dictionary)){var o=e.dictionary.subarray(-32768),a=new MA(o.length+t.length);a.set(o),a.set(t,o.length),t=a,n.w=o.length}return zT(t,e.level==null?6:e.level,e.mem==null?n.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+e.mem,A,r,n)},wm=function(t,e,A){for(;A;++e)t[e]=A,A>>>=8},fT=function(t,e){var A=e.level,r=A==0?0:A<6?1:A==9?3:2;if(t[0]=120,t[1]=r<<6|(e.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,e.dictionary){var n=ym();n.p(e.dictionary),wm(t,2,n.d())}},dT=function(t,e){return((t[0]&15)!=8||t[0]>>4>7||(t[0]<<8|t[1])%31)&&tn(6,"invalid zlib data"),(t[1]>>5&1)==1&&tn(6,"invalid zlib data: "+(t[1]&32?"need":"unexpected")+" dictionary"),(t[1]>>3&4)+2};function ld(t,e){e||(e={});var A=ym();A.p(t);var r=uT(t,e,e.dictionary?6:2,4);return fT(r,e),wm(r,r.length-4,A.d()),r}function OT(t,e){return MT(t.subarray(dT(t),-4),{i:2},e,e)}var hT=typeof TextDecoder<"u"&&new TextDecoder,gT=0;try{hT.decode(Wm,{stream:!0}),gT=1}catch{}/** @license
|
|
566
566
|
*
|
|
567
567
|
* jsPDF - PDF Document creation from JavaScript
|
|
568
568
|
* Version 2.5.2 Built on 2024-09-17T13:29:57.859Z
|
|
@@ -900,7 +900,7 @@ end`},Gy=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];re
|
|
|
900
900
|
}`,BZ=function(t){WZ(t,"."+E4+vZ+ER+`
|
|
901
901
|
.`+T4+mZ+ER)},WZ=function(t,e){var A=t.ownerDocument;if(A){var r=A.createElement("style");r.textContent=e,t.appendChild(r)}},TR=function(){function t(){}return t.getOrigin=function(e){var A=t._link;return A?(A.href=e,A.href=A.href,A.protocol+A.hostname+A.port):"about:blank"},t.isSameOrigin=function(e){return t.getOrigin(e)===t._origin},t.setContext=function(e){t._link=e.document.createElement("a"),t._origin=t.getOrigin(e.location.href)},t._origin="about:blank",t}(),yZ=function(){function t(e,A){this.context=e,this._options=A,this._cache={}}return t.prototype.addImage=function(e){var A=Promise.resolve();return this.has(e)||(I4(e)||CZ(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),A},t.prototype.match=function(e){return this._cache[e]},t.prototype.loadImage=function(e){return CA(this,void 0,void 0,function(){var A,r,n,o,a=this;return gA(this,function(i){switch(i.label){case 0:return A=TR.isSameOrigin(e),r=!U4(e)&&this._options.useCORS===!0&&nA.SUPPORT_CORS_IMAGES&&!A,n=!U4(e)&&!A&&!I4(e)&&typeof this._options.proxy=="string"&&nA.SUPPORT_CORS_XHR&&!r,!A&&this._options.allowTaint===!1&&!U4(e)&&!I4(e)&&!n&&!r?[2]:(o=e,n?[4,this.proxy(o)]:[3,2]);case 1:o=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(c,s){var p=new Image;p.onload=function(){return c(p)},p.onerror=s,(xZ(o)||r)&&(p.crossOrigin="anonymous"),p.src=o,p.complete===!0&&setTimeout(function(){return c(p)},500),a._options.imageTimeout>0&&setTimeout(function(){return s("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,i.sent()]}})})},t.prototype.has=function(e){return typeof this._cache[e]<"u"},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(e){var A=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(o,a){var i=nA.SUPPORT_RESPONSE_TYPE?"blob":"text",c=new XMLHttpRequest;c.onload=function(){if(c.status===200)if(i==="text")o(c.response);else{var b=new FileReader;b.addEventListener("load",function(){return o(b.result)},!1),b.addEventListener("error",function(z){return a(z)},!1),b.readAsDataURL(c.response)}else a("Failed to proxy resource "+n+" with status code "+c.status)},c.onerror=a;var s=r.indexOf("?")>-1?"&":"?";if(c.open("GET",""+r+s+"url="+encodeURIComponent(e)+"&responseType="+i),i!=="text"&&c instanceof XMLHttpRequest&&(c.responseType=i),A._options.imageTimeout){var p=A._options.imageTimeout;c.timeout=p,c.ontimeout=function(){return a("Timed out ("+p+"ms) proxying "+n)}}c.send()})},t}(),wZ=/^data:image\/svg\+xml/i,RZ=/^data:image\/.*;base64,/i,LZ=/^data:image\/.*/i,CZ=function(t){return nA.SUPPORT_SVG_DRAWING||!NZ(t)},U4=function(t){return LZ.test(t)},xZ=function(t){return RZ.test(t)},I4=function(t){return t.substr(0,4)==="blob"},NZ=function(t){return t.substr(-3).toLowerCase()==="svg"||wZ.test(t)},J0=function(){function t(e,A){this.type=0,this.x=e,this.y=A}return t.prototype.add=function(e,A){return new t(this.x+e,this.y+A)},t}(),wc=function(t,e,A){return new J0(t.x+(e.x-t.x)*A,t.y+(e.y-t.y)*A)},Ou=function(){function t(e,A,r,n){this.type=1,this.start=e,this.startControl=A,this.endControl=r,this.end=n}return t.prototype.subdivide=function(e,A){var r=wc(this.start,this.startControl,e),n=wc(this.startControl,this.endControl,e),o=wc(this.endControl,this.end,e),a=wc(r,n,e),i=wc(n,o,e),c=wc(a,i,e);return A?new t(this.start,r,a,c):new t(c,i,o,this.end)},t.prototype.add=function(e,A){return new t(this.start.add(e,A),this.startControl.add(e,A),this.endControl.add(e,A),this.end.add(e,A))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),Pr=function(t){return t.type===1},SZ=function(){function t(e){var A=e.styles,r=e.bounds,n=Ab(A.borderTopLeftRadius,r.width,r.height),o=n[0],a=n[1],i=Ab(A.borderTopRightRadius,r.width,r.height),c=i[0],s=i[1],p=Ab(A.borderBottomRightRadius,r.width,r.height),b=p[0],z=p[1],M=Ab(A.borderBottomLeftRadius,r.width,r.height),f=M[0],d=M[1],q=[];q.push((o+c)/r.width),q.push((f+b)/r.width),q.push((a+d)/r.height),q.push((s+z)/r.height);var O=Math.max.apply(Math,q);O>1&&(o/=O,a/=O,c/=O,s/=O,b/=O,z/=O,f/=O,d/=O);var v=r.width-c,B=r.height-z,w=r.width-b,L=r.height-d,E=A.borderTopWidth,F=A.borderRightWidth,R=A.borderBottomWidth,P=A.borderLeftWidth,J=Se(A.paddingTop,e.bounds.width),y=Se(A.paddingRight,e.bounds.width),C=Se(A.paddingBottom,e.bounds.width),k=Se(A.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=o>0||a>0?Ke(r.left+P/3,r.top+E/3,o-P/3,a-E/3,ve.TOP_LEFT):new J0(r.left+P/3,r.top+E/3),this.topRightBorderDoubleOuterBox=o>0||a>0?Ke(r.left+v,r.top+E/3,c-F/3,s-E/3,ve.TOP_RIGHT):new J0(r.left+r.width-F/3,r.top+E/3),this.bottomRightBorderDoubleOuterBox=b>0||z>0?Ke(r.left+w,r.top+B,b-F/3,z-R/3,ve.BOTTOM_RIGHT):new J0(r.left+r.width-F/3,r.top+r.height-R/3),this.bottomLeftBorderDoubleOuterBox=f>0||d>0?Ke(r.left+P/3,r.top+L,f-P/3,d-R/3,ve.BOTTOM_LEFT):new J0(r.left+P/3,r.top+r.height-R/3),this.topLeftBorderDoubleInnerBox=o>0||a>0?Ke(r.left+P*2/3,r.top+E*2/3,o-P*2/3,a-E*2/3,ve.TOP_LEFT):new J0(r.left+P*2/3,r.top+E*2/3),this.topRightBorderDoubleInnerBox=o>0||a>0?Ke(r.left+v,r.top+E*2/3,c-F*2/3,s-E*2/3,ve.TOP_RIGHT):new J0(r.left+r.width-F*2/3,r.top+E*2/3),this.bottomRightBorderDoubleInnerBox=b>0||z>0?Ke(r.left+w,r.top+B,b-F*2/3,z-R*2/3,ve.BOTTOM_RIGHT):new J0(r.left+r.width-F*2/3,r.top+r.height-R*2/3),this.bottomLeftBorderDoubleInnerBox=f>0||d>0?Ke(r.left+P*2/3,r.top+L,f-P*2/3,d-R*2/3,ve.BOTTOM_LEFT):new J0(r.left+P*2/3,r.top+r.height-R*2/3),this.topLeftBorderStroke=o>0||a>0?Ke(r.left+P/2,r.top+E/2,o-P/2,a-E/2,ve.TOP_LEFT):new J0(r.left+P/2,r.top+E/2),this.topRightBorderStroke=o>0||a>0?Ke(r.left+v,r.top+E/2,c-F/2,s-E/2,ve.TOP_RIGHT):new J0(r.left+r.width-F/2,r.top+E/2),this.bottomRightBorderStroke=b>0||z>0?Ke(r.left+w,r.top+B,b-F/2,z-R/2,ve.BOTTOM_RIGHT):new J0(r.left+r.width-F/2,r.top+r.height-R/2),this.bottomLeftBorderStroke=f>0||d>0?Ke(r.left+P/2,r.top+L,f-P/2,d-R/2,ve.BOTTOM_LEFT):new J0(r.left+P/2,r.top+r.height-R/2),this.topLeftBorderBox=o>0||a>0?Ke(r.left,r.top,o,a,ve.TOP_LEFT):new J0(r.left,r.top),this.topRightBorderBox=c>0||s>0?Ke(r.left+v,r.top,c,s,ve.TOP_RIGHT):new J0(r.left+r.width,r.top),this.bottomRightBorderBox=b>0||z>0?Ke(r.left+w,r.top+B,b,z,ve.BOTTOM_RIGHT):new J0(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=f>0||d>0?Ke(r.left,r.top+L,f,d,ve.BOTTOM_LEFT):new J0(r.left,r.top+r.height),this.topLeftPaddingBox=o>0||a>0?Ke(r.left+P,r.top+E,Math.max(0,o-P),Math.max(0,a-E),ve.TOP_LEFT):new J0(r.left+P,r.top+E),this.topRightPaddingBox=c>0||s>0?Ke(r.left+Math.min(v,r.width-F),r.top+E,v>r.width+F?0:Math.max(0,c-F),Math.max(0,s-E),ve.TOP_RIGHT):new J0(r.left+r.width-F,r.top+E),this.bottomRightPaddingBox=b>0||z>0?Ke(r.left+Math.min(w,r.width-P),r.top+Math.min(B,r.height-R),Math.max(0,b-F),Math.max(0,z-R),ve.BOTTOM_RIGHT):new J0(r.left+r.width-F,r.top+r.height-R),this.bottomLeftPaddingBox=f>0||d>0?Ke(r.left+P,r.top+Math.min(L,r.height-R),Math.max(0,f-P),Math.max(0,d-R),ve.BOTTOM_LEFT):new J0(r.left+P,r.top+r.height-R),this.topLeftContentBox=o>0||a>0?Ke(r.left+P+k,r.top+E+J,Math.max(0,o-(P+k)),Math.max(0,a-(E+J)),ve.TOP_LEFT):new J0(r.left+P+k,r.top+E+J),this.topRightContentBox=c>0||s>0?Ke(r.left+Math.min(v,r.width+P+k),r.top+E+J,v>r.width+P+k?0:c-P+k,s-(E+J),ve.TOP_RIGHT):new J0(r.left+r.width-(F+y),r.top+E+J),this.bottomRightContentBox=b>0||z>0?Ke(r.left+Math.min(w,r.width-(P+k)),r.top+Math.min(B,r.height+E+J),Math.max(0,b-(F+y)),z-(R+C),ve.BOTTOM_RIGHT):new J0(r.left+r.width-(F+y),r.top+r.height-(R+C)),this.bottomLeftContentBox=f>0||d>0?Ke(r.left+P+k,r.top+L,Math.max(0,f-(P+k)),d-(R+C),ve.BOTTOM_LEFT):new J0(r.left+P+k,r.top+r.height-(R+C))}return t}(),ve;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(ve||(ve={}));var Ke=function(t,e,A,r,n){var o=4*((Math.sqrt(2)-1)/3),a=A*o,i=r*o,c=t+A,s=e+r;switch(n){case ve.TOP_LEFT:return new Ou(new J0(t,s),new J0(t,s-i),new J0(c-a,e),new J0(c,e));case ve.TOP_RIGHT:return new Ou(new J0(t,e),new J0(t+a,e),new J0(c,s-i),new J0(c,s));case ve.BOTTOM_RIGHT:return new Ou(new J0(c,e),new J0(c,e+i),new J0(t+a,s),new J0(t,s));case ve.BOTTOM_LEFT:default:return new Ou(new J0(c,s),new J0(c-a,s),new J0(t,e+i),new J0(t,e))}},hu=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},FZ=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},gu=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},EZ=function(){function t(e,A,r){this.offsetX=e,this.offsetY=A,this.matrix=r,this.type=0,this.target=6}return t}(),qu=function(){function t(e,A){this.path=e,this.target=A,this.type=1}return t}(),TZ=function(){function t(e){this.opacity=e,this.type=2,this.target=6}return t}(),UZ=function(t){return t.type===0},UR=function(t){return t.type===1},IZ=function(t){return t.type===2},IR=function(t,e){return t.length===e.length?t.some(function(A,r){return A===e[r]}):!1},kZ=function(t,e,A,r,n){return t.map(function(o,a){switch(a){case 0:return o.add(e,A);case 1:return o.add(e+r,A);case 2:return o.add(e+r,A+n);case 3:return o.add(e,A+n)}return o})},kR=function(){function t(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),PR=function(){function t(e,A){if(this.container=e,this.parent=A,this.effects=[],this.curves=new SZ(this.container),this.container.styles.opacity<1&&this.effects.push(new TZ(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,o=this.container.styles.transform;this.effects.push(new EZ(r,n,o))}if(this.container.styles.overflowX!==0){var a=hu(this.curves),i=gu(this.curves);IR(a,i)?this.effects.push(new qu(a,6)):(this.effects.push(new qu(a,2)),this.effects.push(new qu(i,4)))}}return t.prototype.getEffects=function(e){for(var A=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var o=r.effects.filter(function(c){return!UR(c)});if(A||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,o),A=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var a=hu(r.curves),i=gu(r.curves);IR(a,i)||n.unshift(new qu(i,6))}}else n.unshift.apply(n,o);r=r.parent}return n.filter(function(c){return Pt(c.target,e)})},t}(),k4=function(t,e,A,r){t.container.elements.forEach(function(n){var o=Pt(n.flags,4),a=Pt(n.flags,2),i=new PR(n,t);Pt(n.styles.display,2048)&&r.push(i);var c=Pt(n.flags,8)?[]:r;if(o||a){var s=o||n.styles.isPositioned()?A:e,p=new kR(i);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var b=n.styles.zIndex.order;if(b<0){var z=0;s.negativeZIndex.some(function(f,d){return b>f.element.container.styles.zIndex.order?(z=d,!1):z>0}),s.negativeZIndex.splice(z,0,p)}else if(b>0){var M=0;s.positiveZIndex.some(function(f,d){return b>=f.element.container.styles.zIndex.order?(M=d+1,!1):M>0}),s.positiveZIndex.splice(M,0,p)}else s.zeroOrAutoZIndexOrTransformedOrOpacity.push(p)}else n.styles.isFloating()?s.nonPositionedFloats.push(p):s.nonPositionedInlineLevel.push(p);k4(i,p,o?p:A,c)}else n.styles.isInlineLevel()?e.inlineLevel.push(i):e.nonInlineLevel.push(i),k4(i,e,A,c);Pt(n.flags,8)&&DR(n,c)})},DR=function(t,e){for(var A=t instanceof R4?t.start:1,r=t instanceof R4?t.reversed:!1,n=0;n<e.length;n++){var o=e[n];o.container instanceof MR&&typeof o.container.value=="number"&&o.container.value!==0&&(A=o.container.value),o.listValue=cb(A,o.container.styles.listStyleType,!0),A+=r?-1:1}},PZ=function(t){var e=new PR(t,null),A=new kR(e),r=[];return k4(e,A,A,r),DR(e.container,r),A},QR=function(t,e){switch(e){case 0:return Dr(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return Dr(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return Dr(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return Dr(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},DZ=function(t,e){switch(e){case 0:return Dr(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return Dr(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return Dr(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);case 3:default:return Dr(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},QZ=function(t,e){switch(e){case 0:return Dr(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return Dr(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return Dr(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);case 3:default:return Dr(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},XZ=function(t,e){switch(e){case 0:return vu(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return vu(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return vu(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);case 3:default:return vu(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},vu=function(t,e){var A=[];return Pr(t)?A.push(t.subdivide(.5,!1)):A.push(t),Pr(e)?A.push(e.subdivide(.5,!0)):A.push(e),A},Dr=function(t,e,A,r){var n=[];return Pr(t)?n.push(t.subdivide(.5,!1)):n.push(t),Pr(A)?n.push(A.subdivide(.5,!0)):n.push(A),Pr(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),Pr(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},XR=function(t){var e=t.bounds,A=t.styles;return e.add(A.borderLeftWidth,A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth),-(A.borderTopWidth+A.borderBottomWidth))},mu=function(t){var e=t.styles,A=t.bounds,r=Se(e.paddingLeft,A.width),n=Se(e.paddingRight,A.width),o=Se(e.paddingTop,A.width),a=Se(e.paddingBottom,A.width);return A.add(r+e.borderLeftWidth,o+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+o+a))},HZ=function(t,e){return t===0?e.bounds:t===2?mu(e):XR(e)},_Z=function(t,e){return t===0?e.bounds:t===2?mu(e):XR(e)},P4=function(t,e,A){var r=HZ(Lc(t.styles.backgroundOrigin,e),t),n=_Z(Lc(t.styles.backgroundClip,e),t),o=jZ(Lc(t.styles.backgroundSize,e),A,r),a=o[0],i=o[1],c=Ab(Lc(t.styles.backgroundPosition,e),r.width-a,r.height-i),s=VZ(Lc(t.styles.backgroundRepeat,e),c,o,r,n),p=Math.round(r.left+c[0]),b=Math.round(r.top+c[1]);return[s,p,b,a,i]},Rc=function(t){return Le(t)&&t.value===mc.AUTO},Bu=function(t){return typeof t=="number"},jZ=function(t,e,A){var r=e[0],n=e[1],o=e[2],a=t[0],i=t[1];if(!a)return[0,0];if(yt(a)&&i&&yt(i))return[Se(a,A.width),Se(i,A.height)];var c=Bu(o);if(Le(a)&&(a.value===mc.CONTAIN||a.value===mc.COVER)){if(Bu(o)){var s=A.width/A.height;return s<o!=(a.value===mc.COVER)?[A.width,A.width/o]:[A.height*o,A.height]}return[A.width,A.height]}var p=Bu(r),b=Bu(n),z=p||b;if(Rc(a)&&(!i||Rc(i))){if(p&&b)return[r,n];if(!c&&!z)return[A.width,A.height];if(z&&c){var M=p?r:n*o,f=b?n:r/o;return[M,f]}var d=p?r:A.width,q=b?n:A.height;return[d,q]}if(c){var O=0,v=0;return yt(a)?O=Se(a,A.width):yt(i)&&(v=Se(i,A.height)),Rc(a)?O=v*o:(!i||Rc(i))&&(v=O/o),[O,v]}var B=null,w=null;if(yt(a)?B=Se(a,A.width):i&&yt(i)&&(w=Se(i,A.height)),B!==null&&(!i||Rc(i))&&(w=p&&b?B/r*n:A.height),w!==null&&Rc(a)&&(B=p&&b?w/n*r:A.width),B!==null&&w!==null)return[B,w];throw new Error("Unable to calculate background-size for element")},Lc=function(t,e){var A=t[e];return typeof A>"u"?t[0]:A},VZ=function(t,e,A,r,n){var o=e[0],a=e[1],i=A[0],c=A[1];switch(t){case 2:return[new J0(Math.round(r.left),Math.round(r.top+a)),new J0(Math.round(r.left+r.width),Math.round(r.top+a)),new J0(Math.round(r.left+r.width),Math.round(c+r.top+a)),new J0(Math.round(r.left),Math.round(c+r.top+a))];case 3:return[new J0(Math.round(r.left+o),Math.round(r.top)),new J0(Math.round(r.left+o+i),Math.round(r.top)),new J0(Math.round(r.left+o+i),Math.round(r.height+r.top)),new J0(Math.round(r.left+o),Math.round(r.height+r.top))];case 1:return[new J0(Math.round(r.left+o),Math.round(r.top+a)),new J0(Math.round(r.left+o+i),Math.round(r.top+a)),new J0(Math.round(r.left+o+i),Math.round(r.top+a+c)),new J0(Math.round(r.left+o),Math.round(r.top+a+c))];default:return[new J0(Math.round(n.left),Math.round(n.top)),new J0(Math.round(n.left+n.width),Math.round(n.top)),new J0(Math.round(n.left+n.width),Math.round(n.height+n.top)),new J0(Math.round(n.left),Math.round(n.height+n.top))]}},KZ="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",HR="Hidden Text",GZ=function(){function t(e){this._data={},this._document=e}return t.prototype.parseMetrics=function(e,A){var r=this._document.createElement("div"),n=this._document.createElement("img"),o=this._document.createElement("span"),a=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=A,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",a.appendChild(r),n.src=KZ,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",o.style.fontFamily=e,o.style.fontSize=A,o.style.margin="0",o.style.padding="0",o.appendChild(this._document.createTextNode(HR)),r.appendChild(o),r.appendChild(n);var i=n.offsetTop-o.offsetTop+2;r.removeChild(o),r.appendChild(this._document.createTextNode(HR)),r.style.lineHeight="normal",n.style.verticalAlign="super";var c=n.offsetTop-r.offsetTop+2;return a.removeChild(r),{baseline:i,middle:c}},t.prototype.getMetrics=function(e,A){var r=e+" "+A;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,A)),this._data[r]},t}(),_R=function(){function t(e,A){this.context=e,this.options=A}return t}(),YZ=1e4,JZ=function(t){fn(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new GZ(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(A){for(var r=this;this._activeEffects.length;)this.popEffect();A.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(A){this.ctx.save(),IZ(A)&&(this.ctx.globalAlpha=A.opacity),UZ(A)&&(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)),UR(A)&&(this.path(A.path),this.ctx.clip()),this._activeEffects.push(A)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(A){return CA(this,void 0,void 0,function(){var r;return gA(this,function(n){switch(n.label){case 0:return r=A.element.container.styles,r.isVisible()?[4,this.renderStackContent(A)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(A){return CA(this,void 0,void 0,function(){return gA(this,function(r){switch(r.label){case 0:if(Pt(A.container.flags,16))debugger;return A.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(A)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(A)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(A,r,n){var o=this;if(r===0)this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+n);else{var a=w4(A.text);a.reduce(function(i,c){return o.ctx.fillText(c,i,A.bounds.top+n),i+o.ctx.measureText(c).width},A.bounds.left)}},e.prototype.createFontStyle=function(A){var r=A.fontVariant.filter(function(a){return a==="normal"||a==="small-caps"}).join(""),n=A$(A.fontFamily).join(", "),o=tb(A.fontSize)?""+A.fontSize.number+A.fontSize.unit:A.fontSize.number+"px";return[[A.fontStyle,r,A.fontWeight,o,n].join(" "),n,o]},e.prototype.renderTextNode=function(A,r){return CA(this,void 0,void 0,function(){var n,o,a,i,c,s,p,b,z=this;return gA(this,function(M){return n=this.createFontStyle(r),o=n[0],a=n[1],i=n[2],this.ctx.font=o,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",c=this.fontMetrics.getMetrics(a,i),s=c.baseline,p=c.middle,b=r.paintOrder,A.textBounds.forEach(function(f){b.forEach(function(d){switch(d){case 0:z.ctx.fillStyle=_t(r.color),z.renderTextWithLetterSpacing(f,r.letterSpacing,s);var q=r.textShadow;q.length&&f.text.trim().length&&(q.slice(0).reverse().forEach(function(O){z.ctx.shadowColor=_t(O.color),z.ctx.shadowOffsetX=O.offsetX.number*z.options.scale,z.ctx.shadowOffsetY=O.offsetY.number*z.options.scale,z.ctx.shadowBlur=O.blur.number,z.renderTextWithLetterSpacing(f,r.letterSpacing,s)}),z.ctx.shadowColor="",z.ctx.shadowOffsetX=0,z.ctx.shadowOffsetY=0,z.ctx.shadowBlur=0),r.textDecorationLine.length&&(z.ctx.fillStyle=_t(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(O){switch(O){case 1:z.ctx.fillRect(f.bounds.left,Math.round(f.bounds.top+s),f.bounds.width,1);break;case 2:z.ctx.fillRect(f.bounds.left,Math.round(f.bounds.top),f.bounds.width,1);break;case 3:z.ctx.fillRect(f.bounds.left,Math.ceil(f.bounds.top+p),f.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&f.text.trim().length&&(z.ctx.strokeStyle=_t(r.webkitTextStrokeColor),z.ctx.lineWidth=r.webkitTextStrokeWidth,z.ctx.lineJoin=window.chrome?"miter":"round",z.ctx.strokeText(f.text,f.bounds.left,f.bounds.top+s)),z.ctx.strokeStyle="",z.ctx.lineWidth=0,z.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(A,r,n){if(n&&A.intrinsicWidth>0&&A.intrinsicHeight>0){var o=mu(A),a=gu(r);this.path(a),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,A.intrinsicWidth,A.intrinsicHeight,o.left,o.top,o.width,o.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(A){return CA(this,void 0,void 0,function(){var r,n,o,a,i,c,v,v,s,p,b,z,w,M,f,L,d,q,O,v,B,w,L;return gA(this,function(E){switch(E.label){case 0:this.applyEffects(A.getEffects(4)),r=A.container,n=A.curves,o=r.styles,a=0,i=r.textNodes,E.label=1;case 1:return a<i.length?(c=i[a],[4,this.renderTextNode(c,o)]):[3,4];case 2:E.sent(),E.label=3;case 3:return a++,[3,1];case 4:if(!(r instanceof sR))return[3,8];E.label=5;case 5:return E.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return v=E.sent(),this.renderReplacedElement(r,n,v),[3,8];case 7:return E.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof pR&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof bR))return[3,12];E.label=9;case 9:return E.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return v=E.sent(),this.renderReplacedElement(r,n,v),[3,12];case 11:return E.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof fR&&r.tree?(s=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,s.render(r.tree)]):[3,14];case 13:p=E.sent(),r.width&&r.height&&this.ctx.drawImage(p,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),E.label=14;case 14:if(r instanceof L4&&(b=Math.min(r.bounds.width,r.bounds.height),r.type===Mu?r.checked&&(this.ctx.save(),this.path([new J0(r.bounds.left+b*.39363,r.bounds.top+b*.79),new J0(r.bounds.left+b*.16,r.bounds.top+b*.5549),new J0(r.bounds.left+b*.27347,r.bounds.top+b*.44071),new J0(r.bounds.left+b*.39694,r.bounds.top+b*.5649),new J0(r.bounds.left+b*.72983,r.bounds.top+b*.23),new J0(r.bounds.left+b*.84,r.bounds.top+b*.34085),new J0(r.bounds.left+b*.39363,r.bounds.top+b*.79)]),this.ctx.fillStyle=_t(lR),this.ctx.fill(),this.ctx.restore()):r.type===lu&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+b/2,r.bounds.top+b/2,b/4,0,Math.PI*2,!0),this.ctx.fillStyle=_t(lR),this.ctx.fill(),this.ctx.restore())),ZZ(r)&&r.value.length){switch(z=this.createFontStyle(o),w=z[0],M=z[1],f=this.fontMetrics.getMetrics(w,M).baseline,this.ctx.font=w,this.ctx.fillStyle=_t(o.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=e$(r.styles.textAlign),L=mu(r),d=0,r.styles.textAlign){case 1:d+=L.width/2;break;case 2:d+=L.width;break}q=L.add(d,0,0,-L.height/2+1),this.ctx.save(),this.path([new J0(L.left,L.top),new J0(L.left+L.width,L.top),new J0(L.left+L.width,L.top+L.height),new J0(L.left,L.top+L.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new ab(r.value,q),o.letterSpacing,f),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Pt(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(O=r.styles.listStyleImage,O.type!==0)return[3,18];v=void 0,B=O.url,E.label=15;case 15:return E.trys.push([15,17,,18]),[4,this.context.cache.match(B)];case 16:return v=E.sent(),this.ctx.drawImage(v,r.bounds.left-(v.width+10),r.bounds.top),[3,18];case 17:return E.sent(),this.context.logger.error("Error loading list-style-image "+B),[3,18];case 18:return[3,20];case 19:A.listValue&&r.styles.listStyleType!==-1&&(w=this.createFontStyle(o)[0],this.ctx.font=w,this.ctx.fillStyle=_t(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",L=new Eo(r.bounds.left,r.bounds.top+Se(r.styles.paddingTop,r.bounds.width),r.bounds.width,H8(o.lineHeight,o.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new ab(A.listValue,L),o.letterSpacing,H8(o.lineHeight,o.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),E.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(A){return CA(this,void 0,void 0,function(){var r,n,O,o,a,O,i,c,O,s,p,O,b,z,O,M,f,O,d,q,O;return gA(this,function(v){switch(v.label){case 0:if(Pt(A.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(A.element)];case 1:v.sent(),r=0,n=A.negativeZIndex,v.label=2;case 2:return r<n.length?(O=n[r],[4,this.renderStack(O)]):[3,5];case 3:v.sent(),v.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(A.element)];case 6:v.sent(),o=0,a=A.nonInlineLevel,v.label=7;case 7:return o<a.length?(O=a[o],[4,this.renderNode(O)]):[3,10];case 8:v.sent(),v.label=9;case 9:return o++,[3,7];case 10:i=0,c=A.nonPositionedFloats,v.label=11;case 11:return i<c.length?(O=c[i],[4,this.renderStack(O)]):[3,14];case 12:v.sent(),v.label=13;case 13:return i++,[3,11];case 14:s=0,p=A.nonPositionedInlineLevel,v.label=15;case 15:return s<p.length?(O=p[s],[4,this.renderStack(O)]):[3,18];case 16:v.sent(),v.label=17;case 17:return s++,[3,15];case 18:b=0,z=A.inlineLevel,v.label=19;case 19:return b<z.length?(O=z[b],[4,this.renderNode(O)]):[3,22];case 20:v.sent(),v.label=21;case 21:return b++,[3,19];case 22:M=0,f=A.zeroOrAutoZIndexOrTransformedOrOpacity,v.label=23;case 23:return M<f.length?(O=f[M],[4,this.renderStack(O)]):[3,26];case 24:v.sent(),v.label=25;case 25:return M++,[3,23];case 26:d=0,q=A.positiveZIndex,v.label=27;case 27:return d<q.length?(O=q[d],[4,this.renderStack(O)]):[3,30];case 28:v.sent(),v.label=29;case 29:return d++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()},e.prototype.formatPath=function(A){var r=this;A.forEach(function(n,o){var a=Pr(n)?n.start:n;o===0?r.ctx.moveTo(a.x,a.y):r.ctx.lineTo(a.x,a.y),Pr(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},e.prototype.renderRepeat=function(A,r,n,o){this.path(A),this.ctx.fillStyle=r,this.ctx.translate(n,o),this.ctx.fill(),this.ctx.translate(-n,-o)},e.prototype.resizeImage=function(A,r,n){var o;if(A.width===r&&A.height===n)return A;var a=(o=this.canvas.ownerDocument)!==null&&o!==void 0?o:document,i=a.createElement("canvas");i.width=Math.max(1,r),i.height=Math.max(1,n);var c=i.getContext("2d");return c.drawImage(A,0,0,A.width,A.height,0,0,r,n),i},e.prototype.renderBackgroundImage=function(A){return CA(this,void 0,void 0,function(){var r,n,o,a,i,c;return gA(this,function(s){switch(s.label){case 0:r=A.styles.backgroundImage.length-1,n=function(p){var b,z,M,J,Z,a0,k,X,R,f,J,Z,a0,k,X,d,q,O,v,B,w,L,E,F,R,P,J,y,C,k,X,r0,Z,a0,o0,M0,z0,B0,S,U,H,j;return gA(this,function(t0){switch(t0.label){case 0:if(p.type!==0)return[3,5];b=void 0,z=p.url,t0.label=1;case 1:return t0.trys.push([1,3,,4]),[4,o.context.cache.match(z)];case 2:return b=t0.sent(),[3,4];case 3:return t0.sent(),o.context.logger.error("Error loading background-image "+z),[3,4];case 4:return b&&(M=P4(A,r,[b.width,b.height,b.width/b.height]),J=M[0],Z=M[1],a0=M[2],k=M[3],X=M[4],R=o.ctx.createPattern(o.resizeImage(b,k,X),"repeat"),o.renderRepeat(J,R,Z,a0)),[3,6];case 5:UG(p)?(f=P4(A,r,[null,null,null]),J=f[0],Z=f[1],a0=f[2],k=f[3],X=f[4],d=NG(p.angle,k,X),q=d[0],O=d[1],v=d[2],B=d[3],w=d[4],L=document.createElement("canvas"),L.width=k,L.height=X,E=L.getContext("2d"),F=E.createLinearGradient(O,B,v,w),S8(p.stops,q).forEach(function(A0){return F.addColorStop(A0.stop,_t(A0.color))}),E.fillStyle=F,E.fillRect(0,0,k,X),k>0&&X>0&&(R=o.ctx.createPattern(L,"repeat"),o.renderRepeat(J,R,Z,a0))):IG(p)&&(P=P4(A,r,[null,null,null]),J=P[0],y=P[1],C=P[2],k=P[3],X=P[4],r0=p.position.length===0?[M4]:p.position,Z=Se(r0[0],k),a0=Se(r0[r0.length-1],X),o0=SG(p,Z,a0,k,X),M0=o0[0],z0=o0[1],M0>0&&z0>0&&(B0=o.ctx.createRadialGradient(y+Z,C+a0,0,y+Z,C+a0,M0),S8(p.stops,M0*2).forEach(function(A0){return B0.addColorStop(A0.stop,_t(A0.color))}),o.path(J),o.ctx.fillStyle=B0,M0!==z0?(S=A.bounds.left+.5*A.bounds.width,U=A.bounds.top+.5*A.bounds.height,H=z0/M0,j=1/H,o.ctx.save(),o.ctx.translate(S,U),o.ctx.transform(1,0,0,H,0,0),o.ctx.translate(-S,-U),o.ctx.fillRect(y,j*(C-U)+U,k,X*j),o.ctx.restore()):o.ctx.fill())),t0.label=6;case 6:return r--,[2]}})},o=this,a=0,i=A.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return a<i.length?(c=i[a],[5,n(c)]):[3,4];case 2:s.sent(),s.label=3;case 3:return a++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(A,r,n){return CA(this,void 0,void 0,function(){return gA(this,function(o){return this.path(QR(n,r)),this.ctx.fillStyle=_t(A),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(A,r,n,o){return CA(this,void 0,void 0,function(){var a,i;return gA(this,function(c){switch(c.label){case 0:return r<3?[4,this.renderSolidBorder(A,n,o)]:[3,2];case 1:return c.sent(),[2];case 2:return a=DZ(o,n),this.path(a),this.ctx.fillStyle=_t(A),this.ctx.fill(),i=QZ(o,n),this.path(i),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(A){return CA(this,void 0,void 0,function(){var r,n,o,a,i,c,s,p,b=this;return gA(this,function(z){switch(z.label){case 0:return this.applyEffects(A.getEffects(2)),r=A.container.styles,n=!Xa(r.backgroundColor)||r.backgroundImage.length,o=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],a=$Z(Lc(r.backgroundClip,0),A.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(a),this.ctx.clip(),Xa(r.backgroundColor)||(this.ctx.fillStyle=_t(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(A.container)]):[3,2];case 1:z.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(M){b.ctx.save();var f=hu(A.curves),d=M.inset?0:YZ,q=kZ(f,-d+(M.inset?1:-1)*M.spread.number,(M.inset?1:-1)*M.spread.number,M.spread.number*(M.inset?-2:2),M.spread.number*(M.inset?-2:2));M.inset?(b.path(f),b.ctx.clip(),b.mask(q)):(b.mask(f),b.ctx.clip(),b.path(q)),b.ctx.shadowOffsetX=M.offsetX.number+d,b.ctx.shadowOffsetY=M.offsetY.number,b.ctx.shadowColor=_t(M.color),b.ctx.shadowBlur=M.blur.number,b.ctx.fillStyle=M.inset?_t(M.color):"rgba(0,0,0,1)",b.ctx.fill(),b.ctx.restore()}),z.label=2;case 2:i=0,c=0,s=o,z.label=3;case 3:return c<s.length?(p=s[c],p.style!==0&&!Xa(p.color)&&p.width>0?p.style!==2?[3,5]:[4,this.renderDashedDottedBorder(p.color,p.width,i,A.curves,2)]:[3,11]):[3,13];case 4:return z.sent(),[3,11];case 5:return p.style!==3?[3,7]:[4,this.renderDashedDottedBorder(p.color,p.width,i,A.curves,3)];case 6:return z.sent(),[3,11];case 7:return p.style!==4?[3,9]:[4,this.renderDoubleBorder(p.color,p.width,i,A.curves)];case 8:return z.sent(),[3,11];case 9:return[4,this.renderSolidBorder(p.color,i,A.curves)];case 10:z.sent(),z.label=11;case 11:i++,z.label=12;case 12:return c++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(A,r,n,o,a){return CA(this,void 0,void 0,function(){var i,c,s,p,b,z,M,f,d,q,O,v,B,w,L,E,L,E;return gA(this,function(F){return this.ctx.save(),i=XZ(o,n),c=QR(o,n),a===2&&(this.path(c),this.ctx.clip()),Pr(c[0])?(s=c[0].start.x,p=c[0].start.y):(s=c[0].x,p=c[0].y),Pr(c[1])?(b=c[1].end.x,z=c[1].end.y):(b=c[1].x,z=c[1].y),n===0||n===2?M=Math.abs(s-b):M=Math.abs(p-z),this.ctx.beginPath(),a===3?this.formatPath(i):this.formatPath(c.slice(0,2)),f=r<3?r*3:r*2,d=r<3?r*2:r,a===3&&(f=r,d=r),q=!0,M<=f*2?q=!1:M<=f*2+d?(O=M/(2*f+d),f*=O,d*=O):(v=Math.floor((M+d)/(f+d)),B=(M-v*f)/(v-1),w=(M-(v+1)*f)/v,d=w<=0||Math.abs(d-B)<Math.abs(d-w)?B:w),q&&(a===3?this.ctx.setLineDash([0,f+d]):this.ctx.setLineDash([f,d])),a===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=_t(A),this.ctx.stroke(),this.ctx.setLineDash([]),a===2&&(Pr(c[0])&&(L=c[3],E=c[0],this.ctx.beginPath(),this.formatPath([new J0(L.end.x,L.end.y),new J0(E.start.x,E.start.y)]),this.ctx.stroke()),Pr(c[1])&&(L=c[1],E=c[2],this.ctx.beginPath(),this.formatPath([new J0(L.end.x,L.end.y),new J0(E.start.x,E.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(A){return CA(this,void 0,void 0,function(){var r;return gA(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=_t(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=PZ(A),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},e}(_R),ZZ=function(t){return t instanceof uR||t instanceof zR?!0:t instanceof L4&&t.type!==lu&&t.type!==Mu},$Z=function(t,e){switch(t){case 0:return hu(e);case 2:return FZ(e);case 1:default:return gu(e)}},e$=function(t){switch(t){case 1:return"center";case 2:return"right";case 0:default:return"left"}},t$=["-apple-system","system-ui"],A$=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter(function(e){return t$.indexOf(e)===-1}):t},r$=function(t){fn(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return e.prototype.render=function(A){return CA(this,void 0,void 0,function(){var r,n;return gA(this,function(o){switch(o.label){case 0:return r=y4(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),[4,n$(r)];case 1:return n=o.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=_t(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}(_R),n$=function(t){return new Promise(function(e,A){var r=new Image;r.onload=function(){e(r)},r.onerror=A,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},o$=function(){function t(e){var A=e.id,r=e.enabled;this.id=A,this.enabled=r,this.start=Date.now()}return t.prototype.debug=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,Nz([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,Nz([this.id,this.getTime()+"ms"],e))},t.prototype.warn=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,Nz([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.prototype.error=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,Nz([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.instances={},t}(),a$=function(){function t(e,A){var r;this.windowBounds=A,this.instanceName="#"+t.instanceCount++,this.logger=new o$({id:this.instanceName,enabled:e.logging}),this.cache=(r=e.cache)!==null&&r!==void 0?r:new yZ(this,e)}return t.instanceCount=1,t}(),i$=function(t,e){return e===void 0&&(e={}),c$(t,e)};typeof window<"u"&&TR.setContext(window);var c$=function(t,e){return CA(void 0,void 0,void 0,function(){var A,r,n,o,a,i,c,s,p,b,z,M,f,d,q,O,v,B,w,L,F,E,F,R,P,J,y,C,k,X,r0,Z,a0,o0,M0,z0,B0,S,U,H;return gA(this,function(j){switch(j.label){case 0:if(!t||typeof t!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(A=t.ownerDocument,!A)throw new Error("Element is not attached to a Document");if(r=A.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(R=e.allowTaint)!==null&&R!==void 0?R:!1,imageTimeout:(P=e.imageTimeout)!==null&&P!==void 0?P:15e3,proxy:e.proxy,useCORS:(J=e.useCORS)!==null&&J!==void 0?J:!1},o=_h({logging:(y=e.logging)!==null&&y!==void 0?y:!0,cache:e.cache},n),a={windowWidth:(C=e.windowWidth)!==null&&C!==void 0?C:r.innerWidth,windowHeight:(k=e.windowHeight)!==null&&k!==void 0?k:r.innerHeight,scrollX:(X=e.scrollX)!==null&&X!==void 0?X:r.pageXOffset,scrollY:(r0=e.scrollY)!==null&&r0!==void 0?r0:r.pageYOffset},i=new Eo(a.scrollX,a.scrollY,a.windowWidth,a.windowHeight),c=new a$(o,i),s=(Z=e.foreignObjectRendering)!==null&&Z!==void 0?Z:!1,p={allowTaint:(a0=e.allowTaint)!==null&&a0!==void 0?a0:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:s,copyStyles:s},c.logger.debug("Starting document clone with size "+i.width+"x"+i.height+" scrolled to "+-i.left+","+-i.top),b=new FR(c,t,p),z=b.clonedReferenceElement,z?[4,b.toIFrame(A,i)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return M=j.sent(),f=x4(z)||sZ(z)?kV(z.ownerDocument):Sz(c,z),d=f.width,q=f.height,O=f.left,v=f.top,B=s$(c,z,e.backgroundColor),w={canvas:e.canvas,backgroundColor:B,scale:(M0=(o0=e.scale)!==null&&o0!==void 0?o0:r.devicePixelRatio)!==null&&M0!==void 0?M0:1,x:((z0=e.x)!==null&&z0!==void 0?z0:0)+O,y:((B0=e.y)!==null&&B0!==void 0?B0:0)+v,width:(S=e.width)!==null&&S!==void 0?S:Math.ceil(d),height:(U=e.height)!==null&&U!==void 0?U:Math.ceil(q)},s?(c.logger.debug("Document cloned, using foreign object rendering"),F=new r$(c,w),[4,F.render(z)]):[3,3];case 2:return L=j.sent(),[3,5];case 3:return c.logger.debug("Document cloned, element located at "+O+","+v+" with size "+d+"x"+q+" using computed rendering"),c.logger.debug("Starting DOM parsing"),E=OR(c,z),B===E.styles.backgroundColor&&(E.styles.backgroundColor=Uo.TRANSPARENT),c.logger.debug("Starting renderer for element at "+w.x+","+w.y+" with size "+w.width+"x"+w.height),F=new JZ(c,w),[4,F.render(E)];case 4:L=j.sent(),j.label=5;case 5:return(!((H=e.removeContainer)!==null&&H!==void 0)||H)&&(FR.destroy(M)||c.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),c.logger.debug("Finished rendering"),[2,L]}})})},s$=function(t,e,A){var r=e.ownerDocument,n=r.documentElement?rb(t,getComputedStyle(r.documentElement).backgroundColor):Uo.TRANSPARENT,o=r.body?rb(t,getComputedStyle(r.body).backgroundColor):Uo.TRANSPARENT,a=typeof A=="string"?rb(t,A):A===null?Uo.TRANSPARENT:4294967295;return e===r.documentElement?Xa(n)?Xa(o)?a:o:n:a};const p$=Object.freeze(Object.defineProperty({__proto__:null,default:i$},Symbol.toStringTag,{value:"Module"}));/*! @license DOMPurify 2.5.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.8/LICENSE */function Va(t){"@babel/helpers - typeof";return Va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Va(t)}function D4(t,e){return D4=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},D4(t,e)}function b$(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Wu(t,e,A){return b$()?Wu=Reflect.construct:Wu=function(n,o,a){var i=[null];i.push.apply(i,o);var c=Function.bind.apply(n,i),s=new c;return a&&D4(s,a.prototype),s},Wu.apply(null,arguments)}function On(t){return M$(t)||l$(t)||z$(t)||u$()}function M$(t){if(Array.isArray(t))return Q4(t)}function l$(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function z$(t,e){if(t){if(typeof t=="string")return Q4(t,e);var A=Object.prototype.toString.call(t).slice(8,-1);if(A==="Object"&&t.constructor&&(A=t.constructor.name),A==="Map"||A==="Set")return Array.from(t);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return Q4(t,e)}}function Q4(t,e){(e==null||e>t.length)&&(e=t.length);for(var A=0,r=new Array(e);A<e;A++)r[A]=t[A];return r}function u$(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
902
902
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f$=Object.hasOwnProperty,jR=Object.setPrototypeOf,d$=Object.isFrozen,O$=Object.getPrototypeOf,h$=Object.getOwnPropertyDescriptor,xA=Object.freeze,Qr=Object.seal,g$=Object.create,VR=typeof Reflect<"u"&&Reflect,yu=VR.apply,X4=VR.construct;yu||(yu=function(e,A,r){return e.apply(A,r)}),xA||(xA=function(e){return e}),Qr||(Qr=function(e){return e}),X4||(X4=function(e,A){return Wu(e,On(A))});var q$=Xr(Array.prototype.forEach),KR=Xr(Array.prototype.pop),pb=Xr(Array.prototype.push),wu=Xr(String.prototype.toLowerCase),H4=Xr(String.prototype.toString),GR=Xr(String.prototype.match),hn=Xr(String.prototype.replace),v$=Xr(String.prototype.indexOf),m$=Xr(String.prototype.trim),oA=Xr(RegExp.prototype.test),_4=B$(TypeError);function Xr(t){return function(e){for(var A=arguments.length,r=new Array(A>1?A-1:0),n=1;n<A;n++)r[n-1]=arguments[n];return yu(t,e,r)}}function B$(t){return function(){for(var e=arguments.length,A=new Array(e),r=0;r<e;r++)A[r]=arguments[r];return X4(t,A)}}function X1(t,e,A){var r;A=(r=A)!==null&&r!==void 0?r:wu,jR&&jR(t,null);for(var n=e.length;n--;){var o=e[n];if(typeof o=="string"){var a=A(o);a!==o&&(d$(e)||(e[n]=a),o=a)}t[o]=!0}return t}function Ki(t){var e=g$(null),A;for(A in t)yu(f$,t,[A])===!0&&(e[A]=t[A]);return e}function Ru(t,e){for(;t!==null;){var A=h$(t,e);if(A){if(A.get)return Xr(A.get);if(typeof A.value=="function")return Xr(A.value)}t=O$(t)}function r(n){return console.warn("fallback value for",n),null}return r}var YR=xA(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),j4=xA(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),V4=xA(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),W$=xA(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),K4=xA(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),y$=xA(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),JR=xA(["#text"]),ZR=xA(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),G4=xA(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),$R=xA(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Lu=xA(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),w$=Qr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),R$=Qr(/<%[\w\W]*|[\w\W]*%>/gm),L$=Qr(/\${[\w\W]*}/gm),C$=Qr(/^data-[\-\w.\u00B7-\uFFFF]+$/),x$=Qr(/^aria-[\-\w]+$/),N$=Qr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),S$=Qr(/^(?:\w+script|data):/i),F$=Qr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),E$=Qr(/^html$/i),T$=Qr(/^[a-z][.\w]*(-[.\w]+)+$/i),U$=function(){return typeof window>"u"?null:window},I$=function(e,A){if(Va(e)!=="object"||typeof e.createPolicy!="function")return null;var r=null,n="data-tt-policy-suffix";A.currentScript&&A.currentScript.hasAttribute(n)&&(r=A.currentScript.getAttribute(n));var o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML:function(i){return i},createScriptURL:function(i){return i}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function eL(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:U$(),e=function(i0){return eL(i0)};if(e.version="2.5.8",e.removed=[],!t||!t.document||t.document.nodeType!==9)return e.isSupported=!1,e;var A=t.document,r=t.document,n=t.DocumentFragment,o=t.HTMLTemplateElement,a=t.Node,i=t.Element,c=t.NodeFilter,s=t.NamedNodeMap,p=s===void 0?t.NamedNodeMap||t.MozNamedAttrMap:s,b=t.HTMLFormElement,z=t.DOMParser,M=t.trustedTypes,f=i.prototype,d=Ru(f,"cloneNode"),q=Ru(f,"nextSibling"),O=Ru(f,"childNodes"),v=Ru(f,"parentNode");if(typeof o=="function"){var B=r.createElement("template");B.content&&B.content.ownerDocument&&(r=B.content.ownerDocument)}var w=I$(M,A),L=w?w.createHTML(""):"",E=r,F=E.implementation,R=E.createNodeIterator,P=E.createDocumentFragment,J=E.getElementsByTagName,y=A.importNode,C={};try{C=Ki(r).documentMode?r.documentMode:{}}catch{}var k={};e.isSupported=typeof v=="function"&&F&&F.createHTMLDocument!==void 0&&C!==9;var X=w$,r0=R$,Z=L$,a0=C$,o0=x$,M0=S$,z0=F$,B0=T$,S=N$,U=null,H=X1({},[].concat(On(YR),On(j4),On(V4),On(K4),On(JR))),j=null,t0=X1({},[].concat(On(ZR),On(G4),On($R),On(Lu))),A0=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),p0=null,u0=null,C0=!0,F0=!0,X0=!1,Y=!0,O0=!1,e0=!0,_=!1,I0=!1,T0=!1,m0=!1,W0=!1,L0=!1,H0=!0,A1=!1,a1="user-content-",g1=!0,W1=!1,S1={},H1=null,M1=X1({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),L1=null,j0=X1({},["audio","video","img","source","image","track"]),Xe=null,_1=X1({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Dt="http://www.w3.org/1998/Math/MathML",ee="http://www.w3.org/2000/svg",j1="http://www.w3.org/1999/xhtml",Ot=j1,V1=!1,mA=null,Be=X1({},[Dt,ee,j1],H4),Ze,Ee=["application/xhtml+xml","text/html"],Ye="text/html",n1,K1=null,Vo=r.createElement("form"),Lt=function(i0){return i0 instanceof RegExp||i0 instanceof Function},KA=function(i0){K1&&K1===i0||((!i0||Va(i0)!=="object")&&(i0={}),i0=Ki(i0),Ze=Ee.indexOf(i0.PARSER_MEDIA_TYPE)===-1?Ze=Ye:Ze=i0.PARSER_MEDIA_TYPE,n1=Ze==="application/xhtml+xml"?H4:wu,U="ALLOWED_TAGS"in i0?X1({},i0.ALLOWED_TAGS,n1):H,j="ALLOWED_ATTR"in i0?X1({},i0.ALLOWED_ATTR,n1):t0,mA="ALLOWED_NAMESPACES"in i0?X1({},i0.ALLOWED_NAMESPACES,H4):Be,Xe="ADD_URI_SAFE_ATTR"in i0?X1(Ki(_1),i0.ADD_URI_SAFE_ATTR,n1):_1,L1="ADD_DATA_URI_TAGS"in i0?X1(Ki(j0),i0.ADD_DATA_URI_TAGS,n1):j0,H1="FORBID_CONTENTS"in i0?X1({},i0.FORBID_CONTENTS,n1):M1,p0="FORBID_TAGS"in i0?X1({},i0.FORBID_TAGS,n1):{},u0="FORBID_ATTR"in i0?X1({},i0.FORBID_ATTR,n1):{},S1="USE_PROFILES"in i0?i0.USE_PROFILES:!1,C0=i0.ALLOW_ARIA_ATTR!==!1,F0=i0.ALLOW_DATA_ATTR!==!1,X0=i0.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=i0.ALLOW_SELF_CLOSE_IN_ATTR!==!1,O0=i0.SAFE_FOR_TEMPLATES||!1,e0=i0.SAFE_FOR_XML!==!1,_=i0.WHOLE_DOCUMENT||!1,m0=i0.RETURN_DOM||!1,W0=i0.RETURN_DOM_FRAGMENT||!1,L0=i0.RETURN_TRUSTED_TYPE||!1,T0=i0.FORCE_BODY||!1,H0=i0.SANITIZE_DOM!==!1,A1=i0.SANITIZE_NAMED_PROPS||!1,g1=i0.KEEP_CONTENT!==!1,W1=i0.IN_PLACE||!1,S=i0.ALLOWED_URI_REGEXP||S,Ot=i0.NAMESPACE||j1,A0=i0.CUSTOM_ELEMENT_HANDLING||{},i0.CUSTOM_ELEMENT_HANDLING&&Lt(i0.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(A0.tagNameCheck=i0.CUSTOM_ELEMENT_HANDLING.tagNameCheck),i0.CUSTOM_ELEMENT_HANDLING&&Lt(i0.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(A0.attributeNameCheck=i0.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),i0.CUSTOM_ELEMENT_HANDLING&&typeof i0.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(A0.allowCustomizedBuiltInElements=i0.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),O0&&(F0=!1),W0&&(m0=!0),S1&&(U=X1({},On(JR)),j=[],S1.html===!0&&(X1(U,YR),X1(j,ZR)),S1.svg===!0&&(X1(U,j4),X1(j,G4),X1(j,Lu)),S1.svgFilters===!0&&(X1(U,V4),X1(j,G4),X1(j,Lu)),S1.mathMl===!0&&(X1(U,K4),X1(j,$R),X1(j,Lu))),i0.ADD_TAGS&&(U===H&&(U=Ki(U)),X1(U,i0.ADD_TAGS,n1)),i0.ADD_ATTR&&(j===t0&&(j=Ki(j)),X1(j,i0.ADD_ATTR,n1)),i0.ADD_URI_SAFE_ATTR&&X1(Xe,i0.ADD_URI_SAFE_ATTR,n1),i0.FORBID_CONTENTS&&(H1===M1&&(H1=Ki(H1)),X1(H1,i0.FORBID_CONTENTS,n1)),g1&&(U["#text"]=!0),_&&X1(U,["html","head","body"]),U.table&&(X1(U,["tbody"]),delete p0.tbody),xA&&xA(i0),K1=i0)},lr=X1({},["mi","mo","mn","ms","mtext"]),z1=X1({},["annotation-xml"]),zr=X1({},["title","style","font","a","script"]),FA=X1({},j4);X1(FA,V4),X1(FA,W$);var Vt=X1({},K4);X1(Vt,y$);var ht=function(i0){var U0=v(i0);(!U0||!U0.tagName)&&(U0={namespaceURI:Ot,tagName:"template"});var V0=wu(i0.tagName),oe=wu(U0.tagName);return mA[i0.namespaceURI]?i0.namespaceURI===ee?U0.namespaceURI===j1?V0==="svg":U0.namespaceURI===Dt?V0==="svg"&&(oe==="annotation-xml"||lr[oe]):!!FA[V0]:i0.namespaceURI===Dt?U0.namespaceURI===j1?V0==="math":U0.namespaceURI===ee?V0==="math"&&z1[oe]:!!Vt[V0]:i0.namespaceURI===j1?U0.namespaceURI===ee&&!z1[oe]||U0.namespaceURI===Dt&&!lr[oe]?!1:!Vt[V0]&&(zr[V0]||!FA[V0]):!!(Ze==="application/xhtml+xml"&&mA[i0.namespaceURI]):!1},pe=function(i0){pb(e.removed,{element:i0});try{i0.parentNode.removeChild(i0)}catch{try{i0.outerHTML=L}catch{i0.remove()}}},Kt=function(i0,U0){try{pb(e.removed,{attribute:U0.getAttributeNode(i0),from:U0})}catch{pb(e.removed,{attribute:null,from:U0})}if(U0.removeAttribute(i0),i0==="is"&&!j[i0])if(m0||W0)try{pe(U0)}catch{}else try{U0.setAttribute(i0,"")}catch{}},Ko=function(i0){var U0,V0;if(T0)i0="<remove></remove>"+i0;else{var oe=GR(i0,/^[\r\n\t ]+/);V0=oe&&oe[0]}Ze==="application/xhtml+xml"&&Ot===j1&&(i0='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+i0+"</body></html>");var Gt=w?w.createHTML(i0):i0;if(Ot===j1)try{U0=new z().parseFromString(Gt,Ze)}catch{}if(!U0||!U0.documentElement){U0=F.createDocument(Ot,"template",null);try{U0.documentElement.innerHTML=V1?L:Gt}catch{}}var $e=U0.body||U0.documentElement;return i0&&V0&&$e.insertBefore(r.createTextNode(V0),$e.childNodes[0]||null),Ot===j1?J.call(U0,_?"html":"body")[0]:_?U0.documentElement:$e},_r=function(i0){return R.call(i0.ownerDocument||i0,i0,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null,!1)},EA=function(i0){return i0 instanceof b&&(typeof i0.nodeName!="string"||typeof i0.textContent!="string"||typeof i0.removeChild!="function"||!(i0.attributes instanceof p)||typeof i0.removeAttribute!="function"||typeof i0.setAttribute!="function"||typeof i0.namespaceURI!="string"||typeof i0.insertBefore!="function"||typeof i0.hasChildNodes!="function")},iA=function(i0){return Va(a)==="object"?i0 instanceof a:i0&&Va(i0)==="object"&&typeof i0.nodeType=="number"&&typeof i0.nodeName=="string"},gt=function(i0,U0,V0){k[i0]&&q$(k[i0],function(oe){oe.call(e,U0,V0,K1)})},ur=function(i0){var U0;if(gt("beforeSanitizeElements",i0,null),EA(i0)||oA(/[\u0080-\uFFFF]/,i0.nodeName))return pe(i0),!0;var V0=n1(i0.nodeName);if(gt("uponSanitizeElement",i0,{tagName:V0,allowedTags:U}),i0.hasChildNodes()&&!iA(i0.firstElementChild)&&(!iA(i0.content)||!iA(i0.content.firstElementChild))&&oA(/<[/\w]/g,i0.innerHTML)&&oA(/<[/\w]/g,i0.textContent)||V0==="select"&&oA(/<template/i,i0.innerHTML)||i0.nodeType===7||e0&&i0.nodeType===8&&oA(/<[/\w]/g,i0.data))return pe(i0),!0;if(!U[V0]||p0[V0]){if(!p0[V0]&&fr(V0)&&(A0.tagNameCheck instanceof RegExp&&oA(A0.tagNameCheck,V0)||A0.tagNameCheck instanceof Function&&A0.tagNameCheck(V0)))return!1;if(g1&&!H1[V0]){var oe=v(i0)||i0.parentNode,Gt=O(i0)||i0.childNodes;if(Gt&&oe)for(var $e=Gt.length,it=$e-1;it>=0;--it){var yn=d(Gt[it],!0);yn.__removalCount=(i0.__removalCount||0)+1,oe.insertBefore(yn,q(i0))}}return pe(i0),!0}return i0 instanceof i&&!ht(i0)||(V0==="noscript"||V0==="noembed"||V0==="noframes")&&oA(/<\/no(script|embed|frames)/i,i0.innerHTML)?(pe(i0),!0):(O0&&i0.nodeType===3&&(U0=i0.textContent,U0=hn(U0,X," "),U0=hn(U0,r0," "),U0=hn(U0,Z," "),i0.textContent!==U0&&(pb(e.removed,{element:i0.cloneNode()}),i0.textContent=U0)),gt("afterSanitizeElements",i0,null),!1)},TA=function(i0,U0,V0){if(H0&&(U0==="id"||U0==="name")&&(V0 in r||V0 in Vo))return!1;if(!(F0&&!u0[U0]&&oA(a0,U0))){if(!(C0&&oA(o0,U0))){if(!j[U0]||u0[U0]){if(!(fr(i0)&&(A0.tagNameCheck instanceof RegExp&&oA(A0.tagNameCheck,i0)||A0.tagNameCheck instanceof Function&&A0.tagNameCheck(i0))&&(A0.attributeNameCheck instanceof RegExp&&oA(A0.attributeNameCheck,U0)||A0.attributeNameCheck instanceof Function&&A0.attributeNameCheck(U0))||U0==="is"&&A0.allowCustomizedBuiltInElements&&(A0.tagNameCheck instanceof RegExp&&oA(A0.tagNameCheck,V0)||A0.tagNameCheck instanceof Function&&A0.tagNameCheck(V0))))return!1}else if(!Xe[U0]){if(!oA(S,hn(V0,z0,""))){if(!((U0==="src"||U0==="xlink:href"||U0==="href")&&i0!=="script"&&v$(V0,"data:")===0&&L1[i0])){if(!(X0&&!oA(M0,hn(V0,z0,"")))){if(V0)return!1}}}}}}return!0},fr=function(i0){return i0!=="annotation-xml"&&GR(i0,B0)},ro=function(i0){var U0,V0,oe,Gt;gt("beforeSanitizeAttributes",i0,null);var $e=i0.attributes;if(!(!$e||EA(i0))){var it={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:j};for(Gt=$e.length;Gt--;){U0=$e[Gt];var yn=U0,He=yn.name,c2=yn.namespaceURI;if(V0=He==="value"?U0.value:m$(U0.value),oe=n1(He),it.attrName=oe,it.attrValue=V0,it.keepAttr=!0,it.forceKeepAttr=void 0,gt("uponSanitizeAttribute",i0,it),V0=it.attrValue,!it.forceKeepAttr&&(Kt(He,i0),!!it.keepAttr)){if(!Y&&oA(/\/>/i,V0)){Kt(He,i0);continue}O0&&(V0=hn(V0,X," "),V0=hn(V0,r0," "),V0=hn(V0,Z," "));var s2=n1(i0.nodeName);if(TA(s2,oe,V0)){if(A1&&(oe==="id"||oe==="name")&&(Kt(He,i0),V0=a1+V0),e0&&oA(/((--!?|])>)|<\/(style|title)/i,V0)){Kt(He,i0);continue}if(w&&Va(M)==="object"&&typeof M.getAttributeType=="function"&&!c2)switch(M.getAttributeType(s2,oe)){case"TrustedHTML":{V0=w.createHTML(V0);break}case"TrustedScriptURL":{V0=w.createScriptURL(V0);break}}try{c2?i0.setAttributeNS(c2,He,V0):i0.setAttribute(He,V0),EA(i0)?pe(i0):KR(e.removed)}catch{}}}}gt("afterSanitizeAttributes",i0,null)}},Za=function o1(i0){var U0,V0=_r(i0);for(gt("beforeSanitizeShadowDOM",i0,null);U0=V0.nextNode();)gt("uponSanitizeShadowNode",U0,null),ur(U0),ro(U0),U0.content instanceof n&&o1(U0.content);gt("afterSanitizeShadowDOM",i0,null)};return e.sanitize=function(o1){var i0=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U0,V0,oe,Gt,$e;if(V1=!o1,V1&&(o1="<!-->"),typeof o1!="string"&&!iA(o1))if(typeof o1.toString=="function"){if(o1=o1.toString(),typeof o1!="string")throw _4("dirty is not a string, aborting")}else throw _4("toString is not a function");if(!e.isSupported){if(Va(t.toStaticHTML)==="object"||typeof t.toStaticHTML=="function"){if(typeof o1=="string")return t.toStaticHTML(o1);if(iA(o1))return t.toStaticHTML(o1.outerHTML)}return o1}if(I0||KA(i0),e.removed=[],typeof o1=="string"&&(W1=!1),W1){if(o1.nodeName){var it=n1(o1.nodeName);if(!U[it]||p0[it])throw _4("root node is forbidden and cannot be sanitized in-place")}}else if(o1 instanceof a)U0=Ko("<!---->"),V0=U0.ownerDocument.importNode(o1,!0),V0.nodeType===1&&V0.nodeName==="BODY"||V0.nodeName==="HTML"?U0=V0:U0.appendChild(V0);else{if(!m0&&!O0&&!_&&o1.indexOf("<")===-1)return w&&L0?w.createHTML(o1):o1;if(U0=Ko(o1),!U0)return m0?null:L0?L:""}U0&&T0&&pe(U0.firstChild);for(var yn=_r(W1?o1:U0);oe=yn.nextNode();)oe.nodeType===3&&oe===Gt||(ur(oe),ro(oe),oe.content instanceof n&&Za(oe.content),Gt=oe);if(Gt=null,W1)return o1;if(m0){if(W0)for($e=P.call(U0.ownerDocument);U0.firstChild;)$e.appendChild(U0.firstChild);else $e=U0;return(j.shadowroot||j.shadowrootmod)&&($e=y.call(A,$e,!0)),$e}var He=_?U0.outerHTML:U0.innerHTML;return _&&U["!doctype"]&&U0.ownerDocument&&U0.ownerDocument.doctype&&U0.ownerDocument.doctype.name&&oA(E$,U0.ownerDocument.doctype.name)&&(He="<!DOCTYPE "+U0.ownerDocument.doctype.name+`>
|
|
903
|
-
`+He),O0&&(He=hn(He,X," "),He=hn(He,r0," "),He=hn(He,Z," ")),w&&L0?w.createHTML(He):He},e.setConfig=function(o1){KA(o1),I0=!0},e.clearConfig=function(){K1=null,I0=!1},e.isValidAttribute=function(o1,i0,U0){K1||KA({});var V0=n1(o1),oe=n1(i0);return TA(V0,oe,U0)},e.addHook=function(o1,i0){typeof i0=="function"&&(k[o1]=k[o1]||[],pb(k[o1],i0))},e.removeHook=function(o1){if(k[o1])return KR(k[o1])},e.removeHooks=function(o1){k[o1]&&(k[o1]=[])},e.removeAllHooks=function(){k={}},e}var k$=eL();const P$=Object.freeze(Object.defineProperty({__proto__:null,default:k$},Symbol.toStringTag,{value:"Module"}));var bb=function(t){return t&&t.Math===Math&&t},Ge=bb(typeof globalThis=="object"&&globalThis)||bb(typeof window=="object"&&window)||bb(typeof self=="object"&&self)||bb(typeof gi=="object"&&gi)||bb(typeof gi=="object"&&gi)||function(){return this}()||Function("return this")(),Mb={},nt=function(t){try{return!!t()}catch{return!0}},D$=nt,gn=!D$(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Q$=nt,Cu=!Q$(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),X$=Cu,xu=Function.prototype.call,aA=X$?xu.bind(xu):function(){return xu.apply(xu,arguments)},tL={},AL={}.propertyIsEnumerable,rL=Object.getOwnPropertyDescriptor,H$=rL&&!AL.call({1:2},1);tL.f=H$?function(e){var A=rL(this,e);return!!A&&A.enumerable}:AL;var Y4=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},nL=Cu,oL=Function.prototype,J4=oL.call,_$=nL&&oL.bind.bind(J4,J4),ot=nL?_$:function(t){return function(){return J4.apply(t,arguments)}},aL=ot,j$=aL({}.toString),V$=aL("".slice),Gi=function(t){return V$(j$(t),8,-1)},K$=ot,G$=nt,Y$=Gi,Z4=Object,J$=K$("".split),iL=G$(function(){return!Z4("z").propertyIsEnumerable(0)})?function(t){return Y$(t)==="String"?J$(t,""):Z4(t)}:Z4,Nu=function(t){return t==null},Z$=Nu,$$=TypeError,qn=function(t){if(Z$(t))throw new $$("Can't call method on "+t);return t},e00=iL,t00=qn,lb=function(t){return e00(t00(t))},$4=typeof document=="object"&&document.all,dt=typeof $4>"u"&&$4!==void 0?function(t){return typeof t=="function"||t===$4}:function(t){return typeof t=="function"},A00=dt,jA=function(t){return typeof t=="object"?t!==null:A00(t)},e5=Ge,r00=dt,n00=function(t){return r00(t)?t:void 0},Yi=function(t,e){return arguments.length<2?n00(e5[t]):e5[t]&&e5[t][e]},o00=ot,Su=o00({}.isPrototypeOf),a00=Ge,cL=a00.navigator,sL=cL&&cL.userAgent,zb=sL?String(sL):"",pL=Ge,t5=zb,bL=pL.process,ML=pL.Deno,lL=bL&&bL.versions||ML&&ML.version,zL=lL&&lL.v8,vn,Fu;zL&&(vn=zL.split("."),Fu=vn[0]>0&&vn[0]<4?1:+(vn[0]+vn[1])),!Fu&&t5&&(vn=t5.match(/Edge\/(\d+)/),(!vn||vn[1]>=74)&&(vn=t5.match(/Chrome\/(\d+)/),vn&&(Fu=+vn[1])));var A5=Fu,uL=A5,i00=nt,c00=Ge,s00=c00.String,fL=!!Object.getOwnPropertySymbols&&!i00(function(){var t=Symbol("symbol detection");return!s00(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&uL&&uL<41}),p00=fL,dL=p00&&!Symbol.sham&&typeof Symbol.iterator=="symbol",b00=Yi,M00=dt,l00=Su,z00=dL,u00=Object,OL=z00?function(t){return typeof t=="symbol"}:function(t){var e=b00("Symbol");return M00(e)&&l00(e.prototype,u00(t))},f00=String,Eu=function(t){try{return f00(t)}catch{return"Object"}},d00=dt,O00=Eu,h00=TypeError,ko=function(t){if(d00(t))return t;throw new h00(O00(t)+" is not a function")},g00=ko,q00=Nu,Cc=function(t,e){var A=t[e];return q00(A)?void 0:g00(A)},r5=aA,n5=dt,o5=jA,v00=TypeError,m00=function(t,e){var A,r;if(e==="string"&&n5(A=t.toString)&&!o5(r=r5(A,t))||n5(A=t.valueOf)&&!o5(r=r5(A,t))||e!=="string"&&n5(A=t.toString)&&!o5(r=r5(A,t)))return r;throw new v00("Can't convert object to primitive value")},hL={exports:{}},gL=Ge,B00=Object.defineProperty,a5=function(t,e){try{B00(gL,t,{value:e,configurable:!0,writable:!0})}catch{gL[t]=e}return e},W00=Ge,y00=a5,qL="__core-js_shared__",vL=hL.exports=W00[qL]||y00(qL,{});(vL.versions||(vL.versions=[])).push({version:"3.45.1",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.1/LICENSE",source:"https://github.com/zloirock/core-js"});var i5=hL.exports,mL=i5,c5=function(t,e){return mL[t]||(mL[t]=e||{})},w00=qn,R00=Object,Tu=function(t){return R00(w00(t))},L00=ot,C00=Tu,x00=L00({}.hasOwnProperty),mn=Object.hasOwn||function(e,A){return x00(C00(e),A)},N00=ot,S00=0,F00=Math.random(),E00=N00(1.1.toString),BL=function(t){return"Symbol("+(t===void 0?"":t)+")_"+E00(++S00+F00,36)},T00=Ge,U00=c5,WL=mn,I00=BL,k00=fL,P00=dL,xc=T00.Symbol,s5=U00("wks"),D00=P00?xc.for||xc:xc&&xc.withoutSetter||I00,jt=function(t){return WL(s5,t)||(s5[t]=k00&&WL(xc,t)?xc[t]:D00("Symbol."+t)),s5[t]},Q00=aA,yL=jA,wL=OL,X00=Cc,H00=m00,_00=jt,j00=TypeError,V00=_00("toPrimitive"),K00=function(t,e){if(!yL(t)||wL(t))return t;var A=X00(t,V00),r;if(A){if(e===void 0&&(e="default"),r=Q00(A,t,e),!yL(r)||wL(r))return r;throw new j00("Can't convert object to primitive value")}return e===void 0&&(e="number"),H00(t,e)},G00=K00,Y00=OL,RL=function(t){var e=G00(t,"string");return Y00(e)?e:e+""},J00=Ge,LL=jA,p5=J00.document,Z00=LL(p5)&&LL(p5.createElement),Uu=function(t){return Z00?p5.createElement(t):{}},$00=gn,e10=nt,t10=Uu,CL=!$00&&!e10(function(){return Object.defineProperty(t10("div"),"a",{get:function(){return 7}}).a!==7}),A10=gn,r10=aA,n10=tL,o10=Y4,a10=lb,i10=RL,c10=mn,s10=CL,xL=Object.getOwnPropertyDescriptor;Mb.f=A10?xL:function(e,A){if(e=a10(e),A=i10(A),s10)try{return xL(e,A)}catch{}if(c10(e,A))return o10(!r10(n10.f,e,A),e[A])};var Po={},p10=gn,b10=nt,NL=p10&&b10(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),M10=jA,l10=String,z10=TypeError,NA=function(t){if(M10(t))return t;throw new z10(l10(t)+" is not an object")},u10=gn,f10=CL,d10=NL,Iu=NA,SL=RL,O10=TypeError,b5=Object.defineProperty,h10=Object.getOwnPropertyDescriptor,M5="enumerable",l5="configurable",z5="writable";Po.f=u10?d10?function(e,A,r){if(Iu(e),A=SL(A),Iu(r),typeof e=="function"&&A==="prototype"&&"value"in r&&z5 in r&&!r[z5]){var n=h10(e,A);n&&n[z5]&&(e[A]=r.value,r={configurable:l5 in r?r[l5]:n[l5],enumerable:M5 in r?r[M5]:n[M5],writable:!1})}return b5(e,A,r)}:b5:function(e,A,r){if(Iu(e),A=SL(A),Iu(r),f10)try{return b5(e,A,r)}catch{}if("get"in r||"set"in r)throw new O10("Accessors not supported");return"value"in r&&(e[A]=r.value),e};var g10=gn,q10=Po,v10=Y4,ub=g10?function(t,e,A){return q10.f(t,e,v10(1,A))}:function(t,e,A){return t[e]=A,t},FL={exports:{}},u5=gn,m10=mn,EL=Function.prototype,B10=u5&&Object.getOwnPropertyDescriptor,TL=m10(EL,"name"),W10=TL&&(function(){}).name==="something",y10=TL&&(!u5||u5&&B10(EL,"name").configurable),ku={PROPER:W10,CONFIGURABLE:y10},w10=ot,R10=dt,f5=i5,L10=w10(Function.toString);R10(f5.inspectSource)||(f5.inspectSource=function(t){return L10(t)});var d5=f5.inspectSource,C10=Ge,x10=dt,UL=C10.WeakMap,N10=x10(UL)&&/native code/.test(String(UL)),S10=c5,F10=BL,IL=S10("keys"),O5=function(t){return IL[t]||(IL[t]=F10(t))},h5={},E10=N10,kL=Ge,T10=jA,U10=ub,g5=mn,q5=i5,I10=O5,k10=h5,PL="Object already initialized",v5=kL.TypeError,P10=kL.WeakMap,Pu,fb,Du,D10=function(t){return Du(t)?fb(t):Pu(t,{})},Q10=function(t){return function(e){var A;if(!T10(e)||(A=fb(e)).type!==t)throw new v5("Incompatible receiver, "+t+" required");return A}};if(E10||q5.state){var to=q5.state||(q5.state=new P10);to.get=to.get,to.has=to.has,to.set=to.set,Pu=function(t,e){if(to.has(t))throw new v5(PL);return e.facade=t,to.set(t,e),e},fb=function(t){return to.get(t)||{}},Du=function(t){return to.has(t)}}else{var Nc=I10("state");k10[Nc]=!0,Pu=function(t,e){if(g5(t,Nc))throw new v5(PL);return e.facade=t,U10(t,Nc,e),e},fb=function(t){return g5(t,Nc)?t[Nc]:{}},Du=function(t){return g5(t,Nc)}}var Qu={set:Pu,get:fb,has:Du,enforce:D10,getterFor:Q10},m5=ot,X10=nt,H10=dt,Xu=mn,B5=gn,_10=ku.CONFIGURABLE,j10=d5,DL=Qu,V10=DL.enforce,K10=DL.get,QL=String,Hu=Object.defineProperty,G10=m5("".slice),Y10=m5("".replace),J10=m5([].join),Z10=B5&&!X10(function(){return Hu(function(){},"length",{value:8}).length!==8}),$10=String(String).split("String"),ee0=FL.exports=function(t,e,A){G10(QL(e),0,7)==="Symbol("&&(e="["+Y10(QL(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),A&&A.getter&&(e="get "+e),A&&A.setter&&(e="set "+e),(!Xu(t,"name")||_10&&t.name!==e)&&(B5?Hu(t,"name",{value:e,configurable:!0}):t.name=e),Z10&&A&&Xu(A,"arity")&&t.length!==A.arity&&Hu(t,"length",{value:A.arity});try{A&&Xu(A,"constructor")&&A.constructor?B5&&Hu(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var r=V10(t);return Xu(r,"source")||(r.source=J10($10,typeof e=="string"?e:"")),t};Function.prototype.toString=ee0(function(){return H10(this)&&K10(this).source||j10(this)},"toString");var XL=FL.exports,te0=dt,Ae0=Po,re0=XL,ne0=a5,Ji=function(t,e,A,r){r||(r={});var n=r.enumerable,o=r.name!==void 0?r.name:e;if(te0(A)&&re0(A,o,r),r.global)n?t[e]=A:ne0(e,A);else{try{r.unsafe?t[e]&&(n=!0):delete t[e]}catch{}n?t[e]=A:Ae0.f(t,e,{value:A,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},HL={},oe0=Math.ceil,ae0=Math.floor,ie0=Math.trunc||function(e){var A=+e;return(A>0?ae0:oe0)(A)},ce0=ie0,_u=function(t){var e=+t;return e!==e||e===0?0:ce0(e)},se0=_u,pe0=Math.max,be0=Math.min,Me0=function(t,e){var A=se0(t);return A<0?pe0(A+e,0):be0(A,e)},le0=_u,ze0=Math.min,Sc=function(t){var e=le0(t);return e>0?ze0(e,9007199254740991):0},ue0=Sc,W5=function(t){return ue0(t.length)},fe0=lb,de0=Me0,Oe0=W5,he0=function(t){return function(e,A,r){var n=fe0(e),o=Oe0(n);if(o===0)return!t&&-1;var a=de0(r,o),i;if(t&&A!==A){for(;o>a;)if(i=n[a++],i!==i)return!0}else for(;o>a;a++)if((t||a in n)&&n[a]===A)return t||a||0;return!t&&-1}},_L={indexOf:he0(!1)},ge0=ot,y5=mn,qe0=lb,ve0=_L.indexOf,me0=h5,jL=ge0([].push),VL=function(t,e){var A=qe0(t),r=0,n=[],o;for(o in A)!y5(me0,o)&&y5(A,o)&&jL(n,o);for(;e.length>r;)y5(A,o=e[r++])&&(~ve0(n,o)||jL(n,o));return n},w5=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Be0=VL,We0=w5,ye0=We0.concat("length","prototype");HL.f=Object.getOwnPropertyNames||function(e){return Be0(e,ye0)};var KL={};KL.f=Object.getOwnPropertySymbols;var we0=Yi,Re0=ot,Le0=HL,Ce0=KL,xe0=NA,Ne0=Re0([].concat),Se0=we0("Reflect","ownKeys")||function(e){var A=Le0.f(xe0(e)),r=Ce0.f;return r?Ne0(A,r(e)):A},GL=mn,Fe0=Se0,Ee0=Mb,Te0=Po,Ue0=function(t,e,A){for(var r=Fe0(e),n=Te0.f,o=Ee0.f,a=0;a<r.length;a++){var i=r[a];!GL(t,i)&&!(A&&GL(A,i))&&n(t,i,o(e,i))}},Ie0=nt,ke0=dt,Pe0=/#|\.prototype\./,db=function(t,e){var A=Qe0[De0(t)];return A===He0?!0:A===Xe0?!1:ke0(e)?Ie0(e):!!e},De0=db.normalize=function(t){return String(t).replace(Pe0,".").toLowerCase()},Qe0=db.data={},Xe0=db.NATIVE="N",He0=db.POLYFILL="P",YL=db,ju=Ge,_e0=Mb.f,je0=ub,Ve0=Ji,Ke0=a5,Ge0=Ue0,Ye0=YL,SA=function(t,e){var A=t.target,r=t.global,n=t.stat,o,a,i,c,s,p;if(r?a=ju:n?a=ju[A]||Ke0(A,{}):a=ju[A]&&ju[A].prototype,a)for(i in e){if(s=e[i],t.dontCallGetSet?(p=_e0(a,i),c=p&&p.value):c=a[i],o=Ye0(r?i:A+(n?".":"#")+i,t.forced),!o&&c!==void 0){if(typeof s==typeof c)continue;Ge0(s,c)}(t.sham||c&&c.sham)&&je0(s,"sham",!0),Ve0(a,i,s,t)}},Ob=Ge,Je0=zb,Ze0=Gi,Vu=function(t){return Je0.slice(0,t.length)===t},JL=function(){return Vu("Bun/")?"BUN":Vu("Cloudflare-Workers")?"CLOUDFLARE":Vu("Deno/")?"DENO":Vu("Node.js/")?"NODE":Ob.Bun&&typeof Bun.version=="string"?"BUN":Ob.Deno&&typeof Deno.version=="object"?"DENO":Ze0(Ob.process)==="process"?"NODE":Ob.window&&Ob.document?"BROWSER":"REST"}(),$e0=JL,Ku=$e0==="NODE",et0=Ge,tt0=et0,At0=ot,rt0=ko,nt0=function(t,e,A){try{return At0(rt0(Object.getOwnPropertyDescriptor(t,e)[A]))}catch{}},ot0=jA,at0=function(t){return ot0(t)||t===null},it0=at0,ct0=String,st0=TypeError,pt0=function(t){if(it0(t))return t;throw new st0("Can't set "+ct0(t)+" as a prototype")},bt0=nt0,Mt0=jA,lt0=qn,zt0=pt0,ZL=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,e={},A;try{A=bt0(Object.prototype,"__proto__","set"),A(e,[]),t=e instanceof Array}catch{}return function(n,o){return lt0(n),zt0(o),Mt0(n)&&(t?A(n,o):n.__proto__=o),n}}():void 0),ut0=Po.f,ft0=mn,dt0=jt,$L=dt0("toStringTag"),Gu=function(t,e,A){t&&!A&&(t=t.prototype),t&&!ft0(t,$L)&&ut0(t,$L,{configurable:!0,value:e})},eC=XL,Ot0=Po,ht0=function(t,e,A){return A.get&&eC(A.get,e,{getter:!0}),A.set&&eC(A.set,e,{setter:!0}),Ot0.f(t,e,A)},gt0=Yi,qt0=ht0,vt0=jt,mt0=gn,tC=vt0("species"),Bt0=function(t){var e=gt0(t);mt0&&e&&!e[tC]&&qt0(e,tC,{configurable:!0,get:function(){return this}})},Wt0=Su,yt0=TypeError,wt0=function(t,e){if(Wt0(e,t))return t;throw new yt0("Incorrect invocation")},Rt0=jt,Lt0=Rt0("toStringTag"),AC={};AC[Lt0]="z";var Ct0=String(AC)==="[object z]",xt0=Ct0,Nt0=dt,Yu=Gi,St0=jt,Ft0=St0("toStringTag"),Et0=Object,Tt0=Yu(function(){return arguments}())==="Arguments",Ut0=function(t,e){try{return t[e]}catch{}},R5=xt0?Yu:function(t){var e,A,r;return t===void 0?"Undefined":t===null?"Null":typeof(A=Ut0(e=Et0(t),Ft0))=="string"?A:Tt0?Yu(e):(r=Yu(e))==="Object"&&Nt0(e.callee)?"Arguments":r},It0=ot,kt0=nt,rC=dt,Pt0=R5,Dt0=Yi,Qt0=d5,nC=function(){},oC=Dt0("Reflect","construct"),L5=/^\s*(?:class|function)\b/,Xt0=It0(L5.exec),Ht0=!L5.test(nC),hb=function(e){if(!rC(e))return!1;try{return oC(nC,[],e),!0}catch{return!1}},aC=function(e){if(!rC(e))return!1;switch(Pt0(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ht0||!!Xt0(L5,Qt0(e))}catch{return!0}};aC.sham=!0;var _t0=!oC||kt0(function(){var t;return hb(hb.call)||!hb(Object)||!hb(function(){t=!0})||t})?aC:hb,jt0=_t0,Vt0=Eu,Kt0=TypeError,Gt0=function(t){if(jt0(t))return t;throw new Kt0(Vt0(t)+" is not a constructor")},iC=NA,Yt0=Gt0,Jt0=Nu,Zt0=jt,$t0=Zt0("species"),cC=function(t,e){var A=iC(t).constructor,r;return A===void 0||Jt0(r=iC(A)[$t0])?e:Yt0(r)},eA0=Cu,sC=Function.prototype,pC=sC.apply,bC=sC.call,MC=typeof Reflect=="object"&&Reflect.apply||(eA0?bC.bind(pC):function(){return bC.apply(pC,arguments)}),tA0=Gi,AA0=ot,Ju=function(t){if(tA0(t)==="Function")return AA0(t)},lC=Ju,rA0=ko,nA0=Cu,oA0=lC(lC.bind),C5=function(t,e){return rA0(t),e===void 0?t:nA0?oA0(t,e):function(){return t.apply(e,arguments)}},aA0=Yi,zC=aA0("document","documentElement"),iA0=ot,cA0=iA0([].slice),sA0=TypeError,pA0=function(t,e){if(t<e)throw new sA0("Not enough arguments");return t},bA0=zb,uC=/(?:ipad|iphone|ipod).*applewebkit/i.test(bA0),Mr=Ge,MA0=MC,lA0=C5,fC=dt,zA0=mn,dC=nt,OC=zC,uA0=cA0,hC=Uu,fA0=pA0,dA0=uC,OA0=Ku,x5=Mr.setImmediate,gC=Mr.clearImmediate,hA0=Mr.process,N5=Mr.Dispatch,gA0=Mr.Function,qC=Mr.MessageChannel,qA0=Mr.String,S5=0,gb={},vC="onreadystatechange",qb,Zi,F5,E5;dC(function(){qb=Mr.location});var T5=function(t){if(zA0(gb,t)){var e=gb[t];delete gb[t],e()}},U5=function(t){return function(){T5(t)}},mC=function(t){T5(t.data)},BC=function(t){Mr.postMessage(qA0(t),qb.protocol+"//"+qb.host)};(!x5||!gC)&&(x5=function(e){fA0(arguments.length,1);var A=fC(e)?e:gA0(e),r=uA0(arguments,1);return gb[++S5]=function(){MA0(A,void 0,r)},Zi(S5),S5},gC=function(e){delete gb[e]},OA0?Zi=function(t){hA0.nextTick(U5(t))}:N5&&N5.now?Zi=function(t){N5.now(U5(t))}:qC&&!dA0?(F5=new qC,E5=F5.port2,F5.port1.onmessage=mC,Zi=lA0(E5.postMessage,E5)):Mr.addEventListener&&fC(Mr.postMessage)&&!Mr.importScripts&&qb&&qb.protocol!=="file:"&&!dC(BC)?(Zi=BC,Mr.addEventListener("message",mC,!1)):vC in hC("script")?Zi=function(t){OC.appendChild(hC("script"))[vC]=function(){OC.removeChild(this),T5(t)}}:Zi=function(t){setTimeout(U5(t),0)});var WC={set:x5},yC=Ge,vA0=gn,mA0=Object.getOwnPropertyDescriptor,BA0=function(t){if(!vA0)return yC[t];var e=mA0(yC,t);return e&&e.value},wC=function(){this.head=null,this.tail=null};wC.prototype={add:function(t){var e={item:t,next:null},A=this.tail;A?A.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t){var e=this.head=t.next;return e===null&&(this.tail=null),t.item}}};var RC=wC,WA0=zb,yA0=/ipad|iphone|ipod/i.test(WA0)&&typeof Pebble<"u",wA0=zb,RA0=/web0s(?!.*chrome)/i.test(wA0),Fc=Ge,LA0=BA0,LC=C5,I5=WC.set,CA0=RC,xA0=uC,NA0=yA0,SA0=RA0,k5=Ku,CC=Fc.MutationObserver||Fc.WebKitMutationObserver,xC=Fc.document,NC=Fc.process,Zu=Fc.Promise,P5=LA0("queueMicrotask"),Ec,D5,Q5,$u,SC;if(!P5){var e3=new CA0,t3=function(){var t,e;for(k5&&(t=NC.domain)&&t.exit();e=e3.get();)try{e()}catch(A){throw e3.head&&Ec(),A}t&&t.enter()};!xA0&&!k5&&!SA0&&CC&&xC?(D5=!0,Q5=xC.createTextNode(""),new CC(t3).observe(Q5,{characterData:!0}),Ec=function(){Q5.data=D5=!D5}):!NA0&&Zu&&Zu.resolve?($u=Zu.resolve(void 0),$u.constructor=Zu,SC=LC($u.then,$u),Ec=function(){SC(t3)}):k5?Ec=function(){NC.nextTick(t3)}:(I5=LC(I5,Fc),Ec=function(){I5(t3)}),P5=function(t){e3.head||Ec(),e3.add(t)}}var FA0=P5,EA0=function(t,e){try{arguments.length===1?console.error(t):console.error(t,e)}catch{}},X5=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},TA0=Ge,A3=TA0.Promise,UA0=Ge,vb=A3,IA0=dt,kA0=YL,PA0=d5,DA0=jt,FC=JL,H5=A5;vb&&vb.prototype;var QA0=DA0("species"),_5=!1,EC=IA0(UA0.PromiseRejectionEvent),XA0=kA0("Promise",function(){var t=PA0(vb),e=t!==String(vb);if(!e&&H5===66)return!0;if(!H5||H5<51||!/native code/.test(t)){var A=new vb(function(o){o(1)}),r=function(o){o(function(){},function(){})},n=A.constructor={};if(n[QA0]=r,_5=A.then(function(){})instanceof r,!_5)return!0}return!e&&(FC==="BROWSER"||FC==="DENO")&&!EC}),mb={CONSTRUCTOR:XA0,REJECTION_EVENT:EC,SUBCLASSING:_5},Tc={},TC=ko,HA0=TypeError,_A0=function(t){var e,A;this.promise=new t(function(r,n){if(e!==void 0||A!==void 0)throw new HA0("Bad Promise constructor");e=r,A=n}),this.resolve=TC(e),this.reject=TC(A)};Tc.f=function(t){return new _A0(t)};var jA0=SA,r3=Ku,Ka=Ge,VA0=tt0,Uc=aA,UC=Ji,IC=ZL,KA0=Gu,GA0=Bt0,YA0=ko,n3=dt,JA0=jA,ZA0=wt0,$A0=cC,kC=WC.set,j5=FA0,er0=EA0,tr0=X5,Ar0=RC,PC=Qu,o3=A3,V5=mb,DC=Tc,a3="Promise",QC=V5.CONSTRUCTOR,rr0=V5.REJECTION_EVENT,nr0=V5.SUBCLASSING,K5=PC.getterFor(a3),or0=PC.set,Ic=o3&&o3.prototype,$i=o3,i3=Ic,XC=Ka.TypeError,G5=Ka.document,Y5=Ka.process,J5=DC.f,ar0=J5,ir0=!!(G5&&G5.createEvent&&Ka.dispatchEvent),HC="unhandledrejection",cr0="rejectionhandled",_C=0,jC=1,sr0=2,Z5=1,VC=2,c3,KC,GC,YC,JC=function(t){var e;return JA0(t)&&n3(e=t.then)?e:!1},ZC=function(t,e){var A=e.value,r=e.state===jC,n=r?t.ok:t.fail,o=t.resolve,a=t.reject,i=t.domain,c,s,p;try{n?(r||(e.rejection===VC&&br0(e),e.rejection=Z5),n===!0?c=A:(i&&i.enter(),c=n(A),i&&(i.exit(),p=!0)),c===t.promise?a(new XC("Promise-chain cycle")):(s=JC(c))?Uc(s,c,o,a):o(c)):a(A)}catch(b){i&&!p&&i.exit(),a(b)}},$C=function(t,e){t.notified||(t.notified=!0,j5(function(){for(var A=t.reactions,r;r=A.get();)ZC(r,t);t.notified=!1,e&&!t.rejection&&pr0(t)}))},ex=function(t,e,A){var r,n;ir0?(r=G5.createEvent("Event"),r.promise=e,r.reason=A,r.initEvent(t,!1,!0),Ka.dispatchEvent(r)):r={promise:e,reason:A},!rr0&&(n=Ka["on"+t])?n(r):t===HC&&er0("Unhandled promise rejection",A)},pr0=function(t){Uc(kC,Ka,function(){var e=t.facade,A=t.value,r=tx(t),n;if(r&&(n=tr0(function(){r3?Y5.emit("unhandledRejection",A,e):ex(HC,e,A)}),t.rejection=r3||tx(t)?VC:Z5,n.error))throw n.value})},tx=function(t){return t.rejection!==Z5&&!t.parent},br0=function(t){Uc(kC,Ka,function(){var e=t.facade;r3?Y5.emit("rejectionHandled",e):ex(cr0,e,t.value)})},kc=function(t,e,A){return function(r){t(e,r,A)}},Pc=function(t,e,A){t.done||(t.done=!0,A&&(t=A),t.value=e,t.state=sr0,$C(t,!0))},$5=function(t,e,A){if(!t.done){t.done=!0,A&&(t=A);try{if(t.facade===e)throw new XC("Promise can't be resolved itself");var r=JC(e);r?j5(function(){var n={done:!1};try{Uc(r,e,kc($5,n,t),kc(Pc,n,t))}catch(o){Pc(n,o,t)}}):(t.value=e,t.state=jC,$C(t,!1))}catch(n){Pc({done:!1},n,t)}}};if(QC&&($i=function(e){ZA0(this,i3),YA0(e),Uc(c3,this);var A=K5(this);try{e(kc($5,A),kc(Pc,A))}catch(r){Pc(A,r)}},i3=$i.prototype,c3=function(e){or0(this,{type:a3,done:!1,notified:!1,parent:!1,reactions:new Ar0,rejection:!1,state:_C,value:null})},c3.prototype=UC(i3,"then",function(e,A){var r=K5(this),n=J5($A0(this,$i));return r.parent=!0,n.ok=n3(e)?e:!0,n.fail=n3(A)&&A,n.domain=r3?Y5.domain:void 0,r.state===_C?r.reactions.add(n):j5(function(){ZC(n,r)}),n.promise}),KC=function(){var t=new c3,e=K5(t);this.promise=t,this.resolve=kc($5,e),this.reject=kc(Pc,e)},DC.f=J5=function(t){return t===$i||t===GC?new KC(t):ar0(t)},n3(o3)&&Ic!==Object.prototype)){YC=Ic.then,nr0||UC(Ic,"then",function(e,A){var r=this;return new $i(function(n,o){Uc(YC,r,n,o)}).then(e,A)},{unsafe:!0});try{delete Ic.constructor}catch{}IC&&IC(Ic,i3)}jA0({global:!0,constructor:!0,wrap:!0,forced:QC},{Promise:$i}),GC=VA0.Promise,KA0($i,a3,!1),GA0(a3);var Bb={},Mr0=jt,lr0=Bb,zr0=Mr0("iterator"),ur0=Array.prototype,fr0=function(t){return t!==void 0&&(lr0.Array===t||ur0[zr0]===t)},dr0=R5,Ax=Cc,Or0=Nu,hr0=Bb,gr0=jt,qr0=gr0("iterator"),rx=function(t){if(!Or0(t))return Ax(t,qr0)||Ax(t,"@@iterator")||hr0[dr0(t)]},vr0=aA,mr0=ko,Br0=NA,Wr0=Eu,yr0=rx,wr0=TypeError,Rr0=function(t,e){var A=arguments.length<2?yr0(t):e;if(mr0(A))return Br0(vr0(A,t));throw new wr0(Wr0(t)+" is not iterable")},Lr0=aA,nx=NA,Cr0=Cc,xr0=function(t,e,A){var r,n;nx(t);try{if(r=Cr0(t,"return"),!r){if(e==="throw")throw A;return A}r=Lr0(r,t)}catch(o){n=!0,r=o}if(e==="throw")throw A;if(n)throw r;return nx(r),A},Nr0=C5,Sr0=aA,Fr0=NA,Er0=Eu,Tr0=fr0,Ur0=W5,ox=Su,Ir0=Rr0,kr0=rx,ax=xr0,Pr0=TypeError,s3=function(t,e){this.stopped=t,this.result=e},ix=s3.prototype,cx=function(t,e,A){var r=A&&A.that,n=!!(A&&A.AS_ENTRIES),o=!!(A&&A.IS_RECORD),a=!!(A&&A.IS_ITERATOR),i=!!(A&&A.INTERRUPTED),c=Nr0(e,r),s,p,b,z,M,f,d,q=function(v){return s&&ax(s,"normal"),new s3(!0,v)},O=function(v){return n?(Fr0(v),i?c(v[0],v[1],q):c(v[0],v[1])):i?c(v,q):c(v)};if(o)s=t.iterator;else if(a)s=t;else{if(p=kr0(t),!p)throw new Pr0(Er0(t)+" is not iterable");if(Tr0(p)){for(b=0,z=Ur0(t);z>b;b++)if(M=O(t[b]),M&&ox(ix,M))return M;return new s3(!1)}s=Ir0(t,p)}for(f=o?t.next:s.next;!(d=Sr0(f,s)).done;){try{M=O(d.value)}catch(v){ax(s,"throw",v)}if(typeof M=="object"&&M&&ox(ix,M))return M}return new s3(!1)},Dr0=jt,sx=Dr0("iterator"),px=!1;try{var Qr0=0,bx={next:function(){return{done:!!Qr0++}},return:function(){px=!0}};bx[sx]=function(){return this},Array.from(bx,function(){throw 2})}catch{}var Xr0=function(t,e){try{if(!e&&!px)return!1}catch{return!1}var A=!1;try{var r={};r[sx]=function(){return{next:function(){return{done:A=!0}}}},t(r)}catch{}return A},Hr0=A3,_r0=Xr0,jr0=mb.CONSTRUCTOR,Mx=jr0||!_r0(function(t){Hr0.all(t).then(void 0,function(){})}),Vr0=SA,Kr0=aA,Gr0=ko,Yr0=Tc,Jr0=X5,Zr0=cx,$r0=Mx;Vr0({target:"Promise",stat:!0,forced:$r0},{all:function(e){var A=this,r=Yr0.f(A),n=r.resolve,o=r.reject,a=Jr0(function(){var i=Gr0(A.resolve),c=[],s=0,p=1;Zr0(e,function(b){var z=s++,M=!1;p++,Kr0(i,A,b).then(function(f){M||(M=!0,c[z]=f,--p||n(c))},o)}),--p||n(c)});return a.error&&o(a.value),r.promise}});var en0=SA,tn0=mb.CONSTRUCTOR,eg=A3,An0=Yi,rn0=dt,nn0=Ji,lx=eg&&eg.prototype;if(en0({target:"Promise",proto:!0,forced:tn0,real:!0},{catch:function(t){return this.then(void 0,t)}}),rn0(eg)){var zx=An0("Promise").prototype.catch;lx.catch!==zx&&nn0(lx,"catch",zx,{unsafe:!0})}var on0=SA,an0=aA,in0=ko,cn0=Tc,sn0=X5,pn0=cx,bn0=Mx;on0({target:"Promise",stat:!0,forced:bn0},{race:function(e){var A=this,r=cn0.f(A),n=r.reject,o=sn0(function(){var a=in0(A.resolve);pn0(e,function(i){an0(a,A,i).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}});var Mn0=SA,ln0=Tc,zn0=mb.CONSTRUCTOR;Mn0({target:"Promise",stat:!0,forced:zn0},{reject:function(e){var A=ln0.f(this),r=A.reject;return r(e),A.promise}});var un0=NA,fn0=jA,dn0=Tc,On0=function(t,e){if(un0(t),fn0(e)&&e.constructor===t)return e;var A=dn0.f(t),r=A.resolve;return r(e),A.promise},hn0=SA,gn0=Yi,qn0=mb.CONSTRUCTOR,vn0=On0;gn0("Promise"),hn0({target:"Promise",stat:!0,forced:qn0},{resolve:function(e){return vn0(this,e)}});function ux(t,e,A,r,n,o,a){try{var i=t[o](a),c=i.value}catch(s){return void A(s)}i.done?e(c):Promise.resolve(c).then(r,n)}function Do(t){return function(){var e=this,A=arguments;return new Promise(function(r,n){var o=t.apply(e,A);function a(c){ux(o,r,n,a,i,"next",c)}function i(c){ux(o,r,n,a,i,"throw",c)}a(void 0)})}}var mn0=R5,Bn0=String,Ao=function(t){if(mn0(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return Bn0(t)},Wn0=NA,fx=function(){var t=Wn0(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},tg=nt,yn0=Ge,Ag=yn0.RegExp,rg=tg(function(){var t=Ag("a","y");return t.lastIndex=2,t.exec("abcd")!==null});rg||tg(function(){return!Ag("a","y").sticky});var wn0=rg||tg(function(){var t=Ag("^r","gy");return t.lastIndex=2,t.exec("str")!==null}),dx={BROKEN_CARET:wn0,UNSUPPORTED_Y:rg},Ox={},Rn0=VL,Ln0=w5,Cn0=Object.keys||function(e){return Rn0(e,Ln0)},xn0=gn,Nn0=NL,Sn0=Po,Fn0=NA,En0=lb,Tn0=Cn0;Ox.f=xn0&&!Nn0?Object.defineProperties:function(e,A){Fn0(e);for(var r=En0(A),n=Tn0(A),o=n.length,a=0,i;o>a;)Sn0.f(e,i=n[a++],r[i]);return e};var Un0=NA,In0=Ox,hx=w5,kn0=h5,Pn0=zC,Dn0=Uu,Qn0=O5,gx=">",qx="<",ng="prototype",og="script",vx=Qn0("IE_PROTO"),ag=function(){},mx=function(t){return qx+og+gx+t+qx+"/"+og+gx},Bx=function(t){t.write(mx("")),t.close();var e=t.parentWindow.Object;return t=null,e},Xn0=function(){var t=Dn0("iframe"),e="java"+og+":",A;return t.style.display="none",Pn0.appendChild(t),t.src=String(e),A=t.contentWindow.document,A.open(),A.write(mx("document.F=Object")),A.close(),A.F},p3,b3=function(){try{p3=new ActiveXObject("htmlfile")}catch{}b3=typeof document<"u"?document.domain&&p3?Bx(p3):Xn0():Bx(p3);for(var t=hx.length;t--;)delete b3[ng][hx[t]];return b3()};kn0[vx]=!0;var ig=Object.create||function(e,A){var r;return e!==null?(ag[ng]=Un0(e),r=new ag,ag[ng]=null,r[vx]=e):r=b3(),A===void 0?r:In0.f(r,A)},Hn0=nt,_n0=Ge,jn0=_n0.RegExp,Vn0=Hn0(function(){var t=jn0(".","s");return!(t.dotAll&&t.test(`
|
|
903
|
+
`+He),O0&&(He=hn(He,X," "),He=hn(He,r0," "),He=hn(He,Z," ")),w&&L0?w.createHTML(He):He},e.setConfig=function(o1){KA(o1),I0=!0},e.clearConfig=function(){K1=null,I0=!1},e.isValidAttribute=function(o1,i0,U0){K1||KA({});var V0=n1(o1),oe=n1(i0);return TA(V0,oe,U0)},e.addHook=function(o1,i0){typeof i0=="function"&&(k[o1]=k[o1]||[],pb(k[o1],i0))},e.removeHook=function(o1){if(k[o1])return KR(k[o1])},e.removeHooks=function(o1){k[o1]&&(k[o1]=[])},e.removeAllHooks=function(){k={}},e}var k$=eL();const P$=Object.freeze(Object.defineProperty({__proto__:null,default:k$},Symbol.toStringTag,{value:"Module"}));var bb=function(t){return t&&t.Math===Math&&t},Ge=bb(typeof globalThis=="object"&&globalThis)||bb(typeof window=="object"&&window)||bb(typeof self=="object"&&self)||bb(typeof gi=="object"&&gi)||bb(typeof gi=="object"&&gi)||function(){return this}()||Function("return this")(),Mb={},nt=function(t){try{return!!t()}catch{return!0}},D$=nt,gn=!D$(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Q$=nt,Cu=!Q$(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),X$=Cu,xu=Function.prototype.call,aA=X$?xu.bind(xu):function(){return xu.apply(xu,arguments)},tL={},AL={}.propertyIsEnumerable,rL=Object.getOwnPropertyDescriptor,H$=rL&&!AL.call({1:2},1);tL.f=H$?function(e){var A=rL(this,e);return!!A&&A.enumerable}:AL;var Y4=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},nL=Cu,oL=Function.prototype,J4=oL.call,_$=nL&&oL.bind.bind(J4,J4),ot=nL?_$:function(t){return function(){return J4.apply(t,arguments)}},aL=ot,j$=aL({}.toString),V$=aL("".slice),Gi=function(t){return V$(j$(t),8,-1)},K$=ot,G$=nt,Y$=Gi,Z4=Object,J$=K$("".split),iL=G$(function(){return!Z4("z").propertyIsEnumerable(0)})?function(t){return Y$(t)==="String"?J$(t,""):Z4(t)}:Z4,Nu=function(t){return t==null},Z$=Nu,$$=TypeError,qn=function(t){if(Z$(t))throw new $$("Can't call method on "+t);return t},e00=iL,t00=qn,lb=function(t){return e00(t00(t))},$4=typeof document=="object"&&document.all,dt=typeof $4>"u"&&$4!==void 0?function(t){return typeof t=="function"||t===$4}:function(t){return typeof t=="function"},A00=dt,jA=function(t){return typeof t=="object"?t!==null:A00(t)},e5=Ge,r00=dt,n00=function(t){return r00(t)?t:void 0},Yi=function(t,e){return arguments.length<2?n00(e5[t]):e5[t]&&e5[t][e]},o00=ot,Su=o00({}.isPrototypeOf),a00=Ge,cL=a00.navigator,sL=cL&&cL.userAgent,zb=sL?String(sL):"",pL=Ge,t5=zb,bL=pL.process,ML=pL.Deno,lL=bL&&bL.versions||ML&&ML.version,zL=lL&&lL.v8,vn,Fu;zL&&(vn=zL.split("."),Fu=vn[0]>0&&vn[0]<4?1:+(vn[0]+vn[1])),!Fu&&t5&&(vn=t5.match(/Edge\/(\d+)/),(!vn||vn[1]>=74)&&(vn=t5.match(/Chrome\/(\d+)/),vn&&(Fu=+vn[1])));var A5=Fu,uL=A5,i00=nt,c00=Ge,s00=c00.String,fL=!!Object.getOwnPropertySymbols&&!i00(function(){var t=Symbol("symbol detection");return!s00(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&uL&&uL<41}),p00=fL,dL=p00&&!Symbol.sham&&typeof Symbol.iterator=="symbol",b00=Yi,M00=dt,l00=Su,z00=dL,u00=Object,OL=z00?function(t){return typeof t=="symbol"}:function(t){var e=b00("Symbol");return M00(e)&&l00(e.prototype,u00(t))},f00=String,Eu=function(t){try{return f00(t)}catch{return"Object"}},d00=dt,O00=Eu,h00=TypeError,ko=function(t){if(d00(t))return t;throw new h00(O00(t)+" is not a function")},g00=ko,q00=Nu,Cc=function(t,e){var A=t[e];return q00(A)?void 0:g00(A)},r5=aA,n5=dt,o5=jA,v00=TypeError,m00=function(t,e){var A,r;if(e==="string"&&n5(A=t.toString)&&!o5(r=r5(A,t))||n5(A=t.valueOf)&&!o5(r=r5(A,t))||e!=="string"&&n5(A=t.toString)&&!o5(r=r5(A,t)))return r;throw new v00("Can't convert object to primitive value")},hL={exports:{}},gL=Ge,B00=Object.defineProperty,a5=function(t,e){try{B00(gL,t,{value:e,configurable:!0,writable:!0})}catch{gL[t]=e}return e},W00=Ge,y00=a5,qL="__core-js_shared__",vL=hL.exports=W00[qL]||y00(qL,{});(vL.versions||(vL.versions=[])).push({version:"3.46.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"});var i5=hL.exports,mL=i5,c5=function(t,e){return mL[t]||(mL[t]=e||{})},w00=qn,R00=Object,Tu=function(t){return R00(w00(t))},L00=ot,C00=Tu,x00=L00({}.hasOwnProperty),mn=Object.hasOwn||function(e,A){return x00(C00(e),A)},N00=ot,S00=0,F00=Math.random(),E00=N00(1.1.toString),BL=function(t){return"Symbol("+(t===void 0?"":t)+")_"+E00(++S00+F00,36)},T00=Ge,U00=c5,WL=mn,I00=BL,k00=fL,P00=dL,xc=T00.Symbol,s5=U00("wks"),D00=P00?xc.for||xc:xc&&xc.withoutSetter||I00,jt=function(t){return WL(s5,t)||(s5[t]=k00&&WL(xc,t)?xc[t]:D00("Symbol."+t)),s5[t]},Q00=aA,yL=jA,wL=OL,X00=Cc,H00=m00,_00=jt,j00=TypeError,V00=_00("toPrimitive"),K00=function(t,e){if(!yL(t)||wL(t))return t;var A=X00(t,V00),r;if(A){if(e===void 0&&(e="default"),r=Q00(A,t,e),!yL(r)||wL(r))return r;throw new j00("Can't convert object to primitive value")}return e===void 0&&(e="number"),H00(t,e)},G00=K00,Y00=OL,RL=function(t){var e=G00(t,"string");return Y00(e)?e:e+""},J00=Ge,LL=jA,p5=J00.document,Z00=LL(p5)&&LL(p5.createElement),Uu=function(t){return Z00?p5.createElement(t):{}},$00=gn,e10=nt,t10=Uu,CL=!$00&&!e10(function(){return Object.defineProperty(t10("div"),"a",{get:function(){return 7}}).a!==7}),A10=gn,r10=aA,n10=tL,o10=Y4,a10=lb,i10=RL,c10=mn,s10=CL,xL=Object.getOwnPropertyDescriptor;Mb.f=A10?xL:function(e,A){if(e=a10(e),A=i10(A),s10)try{return xL(e,A)}catch{}if(c10(e,A))return o10(!r10(n10.f,e,A),e[A])};var Po={},p10=gn,b10=nt,NL=p10&&b10(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),M10=jA,l10=String,z10=TypeError,NA=function(t){if(M10(t))return t;throw new z10(l10(t)+" is not an object")},u10=gn,f10=CL,d10=NL,Iu=NA,SL=RL,O10=TypeError,b5=Object.defineProperty,h10=Object.getOwnPropertyDescriptor,M5="enumerable",l5="configurable",z5="writable";Po.f=u10?d10?function(e,A,r){if(Iu(e),A=SL(A),Iu(r),typeof e=="function"&&A==="prototype"&&"value"in r&&z5 in r&&!r[z5]){var n=h10(e,A);n&&n[z5]&&(e[A]=r.value,r={configurable:l5 in r?r[l5]:n[l5],enumerable:M5 in r?r[M5]:n[M5],writable:!1})}return b5(e,A,r)}:b5:function(e,A,r){if(Iu(e),A=SL(A),Iu(r),f10)try{return b5(e,A,r)}catch{}if("get"in r||"set"in r)throw new O10("Accessors not supported");return"value"in r&&(e[A]=r.value),e};var g10=gn,q10=Po,v10=Y4,ub=g10?function(t,e,A){return q10.f(t,e,v10(1,A))}:function(t,e,A){return t[e]=A,t},FL={exports:{}},u5=gn,m10=mn,EL=Function.prototype,B10=u5&&Object.getOwnPropertyDescriptor,TL=m10(EL,"name"),W10=TL&&(function(){}).name==="something",y10=TL&&(!u5||u5&&B10(EL,"name").configurable),ku={PROPER:W10,CONFIGURABLE:y10},w10=ot,R10=dt,f5=i5,L10=w10(Function.toString);R10(f5.inspectSource)||(f5.inspectSource=function(t){return L10(t)});var d5=f5.inspectSource,C10=Ge,x10=dt,UL=C10.WeakMap,N10=x10(UL)&&/native code/.test(String(UL)),S10=c5,F10=BL,IL=S10("keys"),O5=function(t){return IL[t]||(IL[t]=F10(t))},h5={},E10=N10,kL=Ge,T10=jA,U10=ub,g5=mn,q5=i5,I10=O5,k10=h5,PL="Object already initialized",v5=kL.TypeError,P10=kL.WeakMap,Pu,fb,Du,D10=function(t){return Du(t)?fb(t):Pu(t,{})},Q10=function(t){return function(e){var A;if(!T10(e)||(A=fb(e)).type!==t)throw new v5("Incompatible receiver, "+t+" required");return A}};if(E10||q5.state){var to=q5.state||(q5.state=new P10);to.get=to.get,to.has=to.has,to.set=to.set,Pu=function(t,e){if(to.has(t))throw new v5(PL);return e.facade=t,to.set(t,e),e},fb=function(t){return to.get(t)||{}},Du=function(t){return to.has(t)}}else{var Nc=I10("state");k10[Nc]=!0,Pu=function(t,e){if(g5(t,Nc))throw new v5(PL);return e.facade=t,U10(t,Nc,e),e},fb=function(t){return g5(t,Nc)?t[Nc]:{}},Du=function(t){return g5(t,Nc)}}var Qu={set:Pu,get:fb,has:Du,enforce:D10,getterFor:Q10},m5=ot,X10=nt,H10=dt,Xu=mn,B5=gn,_10=ku.CONFIGURABLE,j10=d5,DL=Qu,V10=DL.enforce,K10=DL.get,QL=String,Hu=Object.defineProperty,G10=m5("".slice),Y10=m5("".replace),J10=m5([].join),Z10=B5&&!X10(function(){return Hu(function(){},"length",{value:8}).length!==8}),$10=String(String).split("String"),ee0=FL.exports=function(t,e,A){G10(QL(e),0,7)==="Symbol("&&(e="["+Y10(QL(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),A&&A.getter&&(e="get "+e),A&&A.setter&&(e="set "+e),(!Xu(t,"name")||_10&&t.name!==e)&&(B5?Hu(t,"name",{value:e,configurable:!0}):t.name=e),Z10&&A&&Xu(A,"arity")&&t.length!==A.arity&&Hu(t,"length",{value:A.arity});try{A&&Xu(A,"constructor")&&A.constructor?B5&&Hu(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var r=V10(t);return Xu(r,"source")||(r.source=J10($10,typeof e=="string"?e:"")),t};Function.prototype.toString=ee0(function(){return H10(this)&&K10(this).source||j10(this)},"toString");var XL=FL.exports,te0=dt,Ae0=Po,re0=XL,ne0=a5,Ji=function(t,e,A,r){r||(r={});var n=r.enumerable,o=r.name!==void 0?r.name:e;if(te0(A)&&re0(A,o,r),r.global)n?t[e]=A:ne0(e,A);else{try{r.unsafe?t[e]&&(n=!0):delete t[e]}catch{}n?t[e]=A:Ae0.f(t,e,{value:A,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},HL={},oe0=Math.ceil,ae0=Math.floor,ie0=Math.trunc||function(e){var A=+e;return(A>0?ae0:oe0)(A)},ce0=ie0,_u=function(t){var e=+t;return e!==e||e===0?0:ce0(e)},se0=_u,pe0=Math.max,be0=Math.min,Me0=function(t,e){var A=se0(t);return A<0?pe0(A+e,0):be0(A,e)},le0=_u,ze0=Math.min,Sc=function(t){var e=le0(t);return e>0?ze0(e,9007199254740991):0},ue0=Sc,W5=function(t){return ue0(t.length)},fe0=lb,de0=Me0,Oe0=W5,he0=function(t){return function(e,A,r){var n=fe0(e),o=Oe0(n);if(o===0)return!t&&-1;var a=de0(r,o),i;if(t&&A!==A){for(;o>a;)if(i=n[a++],i!==i)return!0}else for(;o>a;a++)if((t||a in n)&&n[a]===A)return t||a||0;return!t&&-1}},_L={indexOf:he0(!1)},ge0=ot,y5=mn,qe0=lb,ve0=_L.indexOf,me0=h5,jL=ge0([].push),VL=function(t,e){var A=qe0(t),r=0,n=[],o;for(o in A)!y5(me0,o)&&y5(A,o)&&jL(n,o);for(;e.length>r;)y5(A,o=e[r++])&&(~ve0(n,o)||jL(n,o));return n},w5=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Be0=VL,We0=w5,ye0=We0.concat("length","prototype");HL.f=Object.getOwnPropertyNames||function(e){return Be0(e,ye0)};var KL={};KL.f=Object.getOwnPropertySymbols;var we0=Yi,Re0=ot,Le0=HL,Ce0=KL,xe0=NA,Ne0=Re0([].concat),Se0=we0("Reflect","ownKeys")||function(e){var A=Le0.f(xe0(e)),r=Ce0.f;return r?Ne0(A,r(e)):A},GL=mn,Fe0=Se0,Ee0=Mb,Te0=Po,Ue0=function(t,e,A){for(var r=Fe0(e),n=Te0.f,o=Ee0.f,a=0;a<r.length;a++){var i=r[a];!GL(t,i)&&!(A&&GL(A,i))&&n(t,i,o(e,i))}},Ie0=nt,ke0=dt,Pe0=/#|\.prototype\./,db=function(t,e){var A=Qe0[De0(t)];return A===He0?!0:A===Xe0?!1:ke0(e)?Ie0(e):!!e},De0=db.normalize=function(t){return String(t).replace(Pe0,".").toLowerCase()},Qe0=db.data={},Xe0=db.NATIVE="N",He0=db.POLYFILL="P",YL=db,ju=Ge,_e0=Mb.f,je0=ub,Ve0=Ji,Ke0=a5,Ge0=Ue0,Ye0=YL,SA=function(t,e){var A=t.target,r=t.global,n=t.stat,o,a,i,c,s,p;if(r?a=ju:n?a=ju[A]||Ke0(A,{}):a=ju[A]&&ju[A].prototype,a)for(i in e){if(s=e[i],t.dontCallGetSet?(p=_e0(a,i),c=p&&p.value):c=a[i],o=Ye0(r?i:A+(n?".":"#")+i,t.forced),!o&&c!==void 0){if(typeof s==typeof c)continue;Ge0(s,c)}(t.sham||c&&c.sham)&&je0(s,"sham",!0),Ve0(a,i,s,t)}},Ob=Ge,Je0=zb,Ze0=Gi,Vu=function(t){return Je0.slice(0,t.length)===t},JL=function(){return Vu("Bun/")?"BUN":Vu("Cloudflare-Workers")?"CLOUDFLARE":Vu("Deno/")?"DENO":Vu("Node.js/")?"NODE":Ob.Bun&&typeof Bun.version=="string"?"BUN":Ob.Deno&&typeof Deno.version=="object"?"DENO":Ze0(Ob.process)==="process"?"NODE":Ob.window&&Ob.document?"BROWSER":"REST"}(),$e0=JL,Ku=$e0==="NODE",et0=Ge,tt0=et0,At0=ot,rt0=ko,nt0=function(t,e,A){try{return At0(rt0(Object.getOwnPropertyDescriptor(t,e)[A]))}catch{}},ot0=jA,at0=function(t){return ot0(t)||t===null},it0=at0,ct0=String,st0=TypeError,pt0=function(t){if(it0(t))return t;throw new st0("Can't set "+ct0(t)+" as a prototype")},bt0=nt0,Mt0=jA,lt0=qn,zt0=pt0,ZL=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,e={},A;try{A=bt0(Object.prototype,"__proto__","set"),A(e,[]),t=e instanceof Array}catch{}return function(n,o){return lt0(n),zt0(o),Mt0(n)&&(t?A(n,o):n.__proto__=o),n}}():void 0),ut0=Po.f,ft0=mn,dt0=jt,$L=dt0("toStringTag"),Gu=function(t,e,A){t&&!A&&(t=t.prototype),t&&!ft0(t,$L)&&ut0(t,$L,{configurable:!0,value:e})},eC=XL,Ot0=Po,ht0=function(t,e,A){return A.get&&eC(A.get,e,{getter:!0}),A.set&&eC(A.set,e,{setter:!0}),Ot0.f(t,e,A)},gt0=Yi,qt0=ht0,vt0=jt,mt0=gn,tC=vt0("species"),Bt0=function(t){var e=gt0(t);mt0&&e&&!e[tC]&&qt0(e,tC,{configurable:!0,get:function(){return this}})},Wt0=Su,yt0=TypeError,wt0=function(t,e){if(Wt0(e,t))return t;throw new yt0("Incorrect invocation")},Rt0=jt,Lt0=Rt0("toStringTag"),AC={};AC[Lt0]="z";var Ct0=String(AC)==="[object z]",xt0=Ct0,Nt0=dt,Yu=Gi,St0=jt,Ft0=St0("toStringTag"),Et0=Object,Tt0=Yu(function(){return arguments}())==="Arguments",Ut0=function(t,e){try{return t[e]}catch{}},R5=xt0?Yu:function(t){var e,A,r;return t===void 0?"Undefined":t===null?"Null":typeof(A=Ut0(e=Et0(t),Ft0))=="string"?A:Tt0?Yu(e):(r=Yu(e))==="Object"&&Nt0(e.callee)?"Arguments":r},It0=ot,kt0=nt,rC=dt,Pt0=R5,Dt0=Yi,Qt0=d5,nC=function(){},oC=Dt0("Reflect","construct"),L5=/^\s*(?:class|function)\b/,Xt0=It0(L5.exec),Ht0=!L5.test(nC),hb=function(e){if(!rC(e))return!1;try{return oC(nC,[],e),!0}catch{return!1}},aC=function(e){if(!rC(e))return!1;switch(Pt0(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ht0||!!Xt0(L5,Qt0(e))}catch{return!0}};aC.sham=!0;var _t0=!oC||kt0(function(){var t;return hb(hb.call)||!hb(Object)||!hb(function(){t=!0})||t})?aC:hb,jt0=_t0,Vt0=Eu,Kt0=TypeError,Gt0=function(t){if(jt0(t))return t;throw new Kt0(Vt0(t)+" is not a constructor")},iC=NA,Yt0=Gt0,Jt0=Nu,Zt0=jt,$t0=Zt0("species"),cC=function(t,e){var A=iC(t).constructor,r;return A===void 0||Jt0(r=iC(A)[$t0])?e:Yt0(r)},eA0=Cu,sC=Function.prototype,pC=sC.apply,bC=sC.call,MC=typeof Reflect=="object"&&Reflect.apply||(eA0?bC.bind(pC):function(){return bC.apply(pC,arguments)}),tA0=Gi,AA0=ot,Ju=function(t){if(tA0(t)==="Function")return AA0(t)},lC=Ju,rA0=ko,nA0=Cu,oA0=lC(lC.bind),C5=function(t,e){return rA0(t),e===void 0?t:nA0?oA0(t,e):function(){return t.apply(e,arguments)}},aA0=Yi,zC=aA0("document","documentElement"),iA0=ot,cA0=iA0([].slice),sA0=TypeError,pA0=function(t,e){if(t<e)throw new sA0("Not enough arguments");return t},bA0=zb,uC=/(?:ipad|iphone|ipod).*applewebkit/i.test(bA0),Mr=Ge,MA0=MC,lA0=C5,fC=dt,zA0=mn,dC=nt,OC=zC,uA0=cA0,hC=Uu,fA0=pA0,dA0=uC,OA0=Ku,x5=Mr.setImmediate,gC=Mr.clearImmediate,hA0=Mr.process,N5=Mr.Dispatch,gA0=Mr.Function,qC=Mr.MessageChannel,qA0=Mr.String,S5=0,gb={},vC="onreadystatechange",qb,Zi,F5,E5;dC(function(){qb=Mr.location});var T5=function(t){if(zA0(gb,t)){var e=gb[t];delete gb[t],e()}},U5=function(t){return function(){T5(t)}},mC=function(t){T5(t.data)},BC=function(t){Mr.postMessage(qA0(t),qb.protocol+"//"+qb.host)};(!x5||!gC)&&(x5=function(e){fA0(arguments.length,1);var A=fC(e)?e:gA0(e),r=uA0(arguments,1);return gb[++S5]=function(){MA0(A,void 0,r)},Zi(S5),S5},gC=function(e){delete gb[e]},OA0?Zi=function(t){hA0.nextTick(U5(t))}:N5&&N5.now?Zi=function(t){N5.now(U5(t))}:qC&&!dA0?(F5=new qC,E5=F5.port2,F5.port1.onmessage=mC,Zi=lA0(E5.postMessage,E5)):Mr.addEventListener&&fC(Mr.postMessage)&&!Mr.importScripts&&qb&&qb.protocol!=="file:"&&!dC(BC)?(Zi=BC,Mr.addEventListener("message",mC,!1)):vC in hC("script")?Zi=function(t){OC.appendChild(hC("script"))[vC]=function(){OC.removeChild(this),T5(t)}}:Zi=function(t){setTimeout(U5(t),0)});var WC={set:x5},yC=Ge,vA0=gn,mA0=Object.getOwnPropertyDescriptor,BA0=function(t){if(!vA0)return yC[t];var e=mA0(yC,t);return e&&e.value},wC=function(){this.head=null,this.tail=null};wC.prototype={add:function(t){var e={item:t,next:null},A=this.tail;A?A.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t){var e=this.head=t.next;return e===null&&(this.tail=null),t.item}}};var RC=wC,WA0=zb,yA0=/ipad|iphone|ipod/i.test(WA0)&&typeof Pebble<"u",wA0=zb,RA0=/web0s(?!.*chrome)/i.test(wA0),Fc=Ge,LA0=BA0,LC=C5,I5=WC.set,CA0=RC,xA0=uC,NA0=yA0,SA0=RA0,k5=Ku,CC=Fc.MutationObserver||Fc.WebKitMutationObserver,xC=Fc.document,NC=Fc.process,Zu=Fc.Promise,P5=LA0("queueMicrotask"),Ec,D5,Q5,$u,SC;if(!P5){var e3=new CA0,t3=function(){var t,e;for(k5&&(t=NC.domain)&&t.exit();e=e3.get();)try{e()}catch(A){throw e3.head&&Ec(),A}t&&t.enter()};!xA0&&!k5&&!SA0&&CC&&xC?(D5=!0,Q5=xC.createTextNode(""),new CC(t3).observe(Q5,{characterData:!0}),Ec=function(){Q5.data=D5=!D5}):!NA0&&Zu&&Zu.resolve?($u=Zu.resolve(void 0),$u.constructor=Zu,SC=LC($u.then,$u),Ec=function(){SC(t3)}):k5?Ec=function(){NC.nextTick(t3)}:(I5=LC(I5,Fc),Ec=function(){I5(t3)}),P5=function(t){e3.head||Ec(),e3.add(t)}}var FA0=P5,EA0=function(t,e){try{arguments.length===1?console.error(t):console.error(t,e)}catch{}},X5=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},TA0=Ge,A3=TA0.Promise,UA0=Ge,vb=A3,IA0=dt,kA0=YL,PA0=d5,DA0=jt,FC=JL,H5=A5;vb&&vb.prototype;var QA0=DA0("species"),_5=!1,EC=IA0(UA0.PromiseRejectionEvent),XA0=kA0("Promise",function(){var t=PA0(vb),e=t!==String(vb);if(!e&&H5===66)return!0;if(!H5||H5<51||!/native code/.test(t)){var A=new vb(function(o){o(1)}),r=function(o){o(function(){},function(){})},n=A.constructor={};if(n[QA0]=r,_5=A.then(function(){})instanceof r,!_5)return!0}return!e&&(FC==="BROWSER"||FC==="DENO")&&!EC}),mb={CONSTRUCTOR:XA0,REJECTION_EVENT:EC,SUBCLASSING:_5},Tc={},TC=ko,HA0=TypeError,_A0=function(t){var e,A;this.promise=new t(function(r,n){if(e!==void 0||A!==void 0)throw new HA0("Bad Promise constructor");e=r,A=n}),this.resolve=TC(e),this.reject=TC(A)};Tc.f=function(t){return new _A0(t)};var jA0=SA,r3=Ku,Ka=Ge,VA0=tt0,Uc=aA,UC=Ji,IC=ZL,KA0=Gu,GA0=Bt0,YA0=ko,n3=dt,JA0=jA,ZA0=wt0,$A0=cC,kC=WC.set,j5=FA0,er0=EA0,tr0=X5,Ar0=RC,PC=Qu,o3=A3,V5=mb,DC=Tc,a3="Promise",QC=V5.CONSTRUCTOR,rr0=V5.REJECTION_EVENT,nr0=V5.SUBCLASSING,K5=PC.getterFor(a3),or0=PC.set,Ic=o3&&o3.prototype,$i=o3,i3=Ic,XC=Ka.TypeError,G5=Ka.document,Y5=Ka.process,J5=DC.f,ar0=J5,ir0=!!(G5&&G5.createEvent&&Ka.dispatchEvent),HC="unhandledrejection",cr0="rejectionhandled",_C=0,jC=1,sr0=2,Z5=1,VC=2,c3,KC,GC,YC,JC=function(t){var e;return JA0(t)&&n3(e=t.then)?e:!1},ZC=function(t,e){var A=e.value,r=e.state===jC,n=r?t.ok:t.fail,o=t.resolve,a=t.reject,i=t.domain,c,s,p;try{n?(r||(e.rejection===VC&&br0(e),e.rejection=Z5),n===!0?c=A:(i&&i.enter(),c=n(A),i&&(i.exit(),p=!0)),c===t.promise?a(new XC("Promise-chain cycle")):(s=JC(c))?Uc(s,c,o,a):o(c)):a(A)}catch(b){i&&!p&&i.exit(),a(b)}},$C=function(t,e){t.notified||(t.notified=!0,j5(function(){for(var A=t.reactions,r;r=A.get();)ZC(r,t);t.notified=!1,e&&!t.rejection&&pr0(t)}))},ex=function(t,e,A){var r,n;ir0?(r=G5.createEvent("Event"),r.promise=e,r.reason=A,r.initEvent(t,!1,!0),Ka.dispatchEvent(r)):r={promise:e,reason:A},!rr0&&(n=Ka["on"+t])?n(r):t===HC&&er0("Unhandled promise rejection",A)},pr0=function(t){Uc(kC,Ka,function(){var e=t.facade,A=t.value,r=tx(t),n;if(r&&(n=tr0(function(){r3?Y5.emit("unhandledRejection",A,e):ex(HC,e,A)}),t.rejection=r3||tx(t)?VC:Z5,n.error))throw n.value})},tx=function(t){return t.rejection!==Z5&&!t.parent},br0=function(t){Uc(kC,Ka,function(){var e=t.facade;r3?Y5.emit("rejectionHandled",e):ex(cr0,e,t.value)})},kc=function(t,e,A){return function(r){t(e,r,A)}},Pc=function(t,e,A){t.done||(t.done=!0,A&&(t=A),t.value=e,t.state=sr0,$C(t,!0))},$5=function(t,e,A){if(!t.done){t.done=!0,A&&(t=A);try{if(t.facade===e)throw new XC("Promise can't be resolved itself");var r=JC(e);r?j5(function(){var n={done:!1};try{Uc(r,e,kc($5,n,t),kc(Pc,n,t))}catch(o){Pc(n,o,t)}}):(t.value=e,t.state=jC,$C(t,!1))}catch(n){Pc({done:!1},n,t)}}};if(QC&&($i=function(e){ZA0(this,i3),YA0(e),Uc(c3,this);var A=K5(this);try{e(kc($5,A),kc(Pc,A))}catch(r){Pc(A,r)}},i3=$i.prototype,c3=function(e){or0(this,{type:a3,done:!1,notified:!1,parent:!1,reactions:new Ar0,rejection:!1,state:_C,value:null})},c3.prototype=UC(i3,"then",function(e,A){var r=K5(this),n=J5($A0(this,$i));return r.parent=!0,n.ok=n3(e)?e:!0,n.fail=n3(A)&&A,n.domain=r3?Y5.domain:void 0,r.state===_C?r.reactions.add(n):j5(function(){ZC(n,r)}),n.promise}),KC=function(){var t=new c3,e=K5(t);this.promise=t,this.resolve=kc($5,e),this.reject=kc(Pc,e)},DC.f=J5=function(t){return t===$i||t===GC?new KC(t):ar0(t)},n3(o3)&&Ic!==Object.prototype)){YC=Ic.then,nr0||UC(Ic,"then",function(e,A){var r=this;return new $i(function(n,o){Uc(YC,r,n,o)}).then(e,A)},{unsafe:!0});try{delete Ic.constructor}catch{}IC&&IC(Ic,i3)}jA0({global:!0,constructor:!0,wrap:!0,forced:QC},{Promise:$i}),GC=VA0.Promise,KA0($i,a3,!1),GA0(a3);var Bb={},Mr0=jt,lr0=Bb,zr0=Mr0("iterator"),ur0=Array.prototype,fr0=function(t){return t!==void 0&&(lr0.Array===t||ur0[zr0]===t)},dr0=R5,Ax=Cc,Or0=Nu,hr0=Bb,gr0=jt,qr0=gr0("iterator"),rx=function(t){if(!Or0(t))return Ax(t,qr0)||Ax(t,"@@iterator")||hr0[dr0(t)]},vr0=aA,mr0=ko,Br0=NA,Wr0=Eu,yr0=rx,wr0=TypeError,Rr0=function(t,e){var A=arguments.length<2?yr0(t):e;if(mr0(A))return Br0(vr0(A,t));throw new wr0(Wr0(t)+" is not iterable")},Lr0=aA,nx=NA,Cr0=Cc,xr0=function(t,e,A){var r,n;nx(t);try{if(r=Cr0(t,"return"),!r){if(e==="throw")throw A;return A}r=Lr0(r,t)}catch(o){n=!0,r=o}if(e==="throw")throw A;if(n)throw r;return nx(r),A},Nr0=C5,Sr0=aA,Fr0=NA,Er0=Eu,Tr0=fr0,Ur0=W5,ox=Su,Ir0=Rr0,kr0=rx,ax=xr0,Pr0=TypeError,s3=function(t,e){this.stopped=t,this.result=e},ix=s3.prototype,cx=function(t,e,A){var r=A&&A.that,n=!!(A&&A.AS_ENTRIES),o=!!(A&&A.IS_RECORD),a=!!(A&&A.IS_ITERATOR),i=!!(A&&A.INTERRUPTED),c=Nr0(e,r),s,p,b,z,M,f,d,q=function(v){return s&&ax(s,"normal"),new s3(!0,v)},O=function(v){return n?(Fr0(v),i?c(v[0],v[1],q):c(v[0],v[1])):i?c(v,q):c(v)};if(o)s=t.iterator;else if(a)s=t;else{if(p=kr0(t),!p)throw new Pr0(Er0(t)+" is not iterable");if(Tr0(p)){for(b=0,z=Ur0(t);z>b;b++)if(M=O(t[b]),M&&ox(ix,M))return M;return new s3(!1)}s=Ir0(t,p)}for(f=o?t.next:s.next;!(d=Sr0(f,s)).done;){try{M=O(d.value)}catch(v){ax(s,"throw",v)}if(typeof M=="object"&&M&&ox(ix,M))return M}return new s3(!1)},Dr0=jt,sx=Dr0("iterator"),px=!1;try{var Qr0=0,bx={next:function(){return{done:!!Qr0++}},return:function(){px=!0}};bx[sx]=function(){return this},Array.from(bx,function(){throw 2})}catch{}var Xr0=function(t,e){try{if(!e&&!px)return!1}catch{return!1}var A=!1;try{var r={};r[sx]=function(){return{next:function(){return{done:A=!0}}}},t(r)}catch{}return A},Hr0=A3,_r0=Xr0,jr0=mb.CONSTRUCTOR,Mx=jr0||!_r0(function(t){Hr0.all(t).then(void 0,function(){})}),Vr0=SA,Kr0=aA,Gr0=ko,Yr0=Tc,Jr0=X5,Zr0=cx,$r0=Mx;Vr0({target:"Promise",stat:!0,forced:$r0},{all:function(e){var A=this,r=Yr0.f(A),n=r.resolve,o=r.reject,a=Jr0(function(){var i=Gr0(A.resolve),c=[],s=0,p=1;Zr0(e,function(b){var z=s++,M=!1;p++,Kr0(i,A,b).then(function(f){M||(M=!0,c[z]=f,--p||n(c))},o)}),--p||n(c)});return a.error&&o(a.value),r.promise}});var en0=SA,tn0=mb.CONSTRUCTOR,eg=A3,An0=Yi,rn0=dt,nn0=Ji,lx=eg&&eg.prototype;if(en0({target:"Promise",proto:!0,forced:tn0,real:!0},{catch:function(t){return this.then(void 0,t)}}),rn0(eg)){var zx=An0("Promise").prototype.catch;lx.catch!==zx&&nn0(lx,"catch",zx,{unsafe:!0})}var on0=SA,an0=aA,in0=ko,cn0=Tc,sn0=X5,pn0=cx,bn0=Mx;on0({target:"Promise",stat:!0,forced:bn0},{race:function(e){var A=this,r=cn0.f(A),n=r.reject,o=sn0(function(){var a=in0(A.resolve);pn0(e,function(i){an0(a,A,i).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}});var Mn0=SA,ln0=Tc,zn0=mb.CONSTRUCTOR;Mn0({target:"Promise",stat:!0,forced:zn0},{reject:function(e){var A=ln0.f(this),r=A.reject;return r(e),A.promise}});var un0=NA,fn0=jA,dn0=Tc,On0=function(t,e){if(un0(t),fn0(e)&&e.constructor===t)return e;var A=dn0.f(t),r=A.resolve;return r(e),A.promise},hn0=SA,gn0=Yi,qn0=mb.CONSTRUCTOR,vn0=On0;gn0("Promise"),hn0({target:"Promise",stat:!0,forced:qn0},{resolve:function(e){return vn0(this,e)}});function ux(t,e,A,r,n,o,a){try{var i=t[o](a),c=i.value}catch(s){return void A(s)}i.done?e(c):Promise.resolve(c).then(r,n)}function Do(t){return function(){var e=this,A=arguments;return new Promise(function(r,n){var o=t.apply(e,A);function a(c){ux(o,r,n,a,i,"next",c)}function i(c){ux(o,r,n,a,i,"throw",c)}a(void 0)})}}var mn0=R5,Bn0=String,Ao=function(t){if(mn0(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return Bn0(t)},Wn0=NA,fx=function(){var t=Wn0(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},tg=nt,yn0=Ge,Ag=yn0.RegExp,rg=tg(function(){var t=Ag("a","y");return t.lastIndex=2,t.exec("abcd")!==null});rg||tg(function(){return!Ag("a","y").sticky});var wn0=rg||tg(function(){var t=Ag("^r","gy");return t.lastIndex=2,t.exec("str")!==null}),dx={BROKEN_CARET:wn0,UNSUPPORTED_Y:rg},Ox={},Rn0=VL,Ln0=w5,Cn0=Object.keys||function(e){return Rn0(e,Ln0)},xn0=gn,Nn0=NL,Sn0=Po,Fn0=NA,En0=lb,Tn0=Cn0;Ox.f=xn0&&!Nn0?Object.defineProperties:function(e,A){Fn0(e);for(var r=En0(A),n=Tn0(A),o=n.length,a=0,i;o>a;)Sn0.f(e,i=n[a++],r[i]);return e};var Un0=NA,In0=Ox,hx=w5,kn0=h5,Pn0=zC,Dn0=Uu,Qn0=O5,gx=">",qx="<",ng="prototype",og="script",vx=Qn0("IE_PROTO"),ag=function(){},mx=function(t){return qx+og+gx+t+qx+"/"+og+gx},Bx=function(t){t.write(mx("")),t.close();var e=t.parentWindow.Object;return t=null,e},Xn0=function(){var t=Dn0("iframe"),e="java"+og+":",A;return t.style.display="none",Pn0.appendChild(t),t.src=String(e),A=t.contentWindow.document,A.open(),A.write(mx("document.F=Object")),A.close(),A.F},p3,b3=function(){try{p3=new ActiveXObject("htmlfile")}catch{}b3=typeof document<"u"?document.domain&&p3?Bx(p3):Xn0():Bx(p3);for(var t=hx.length;t--;)delete b3[ng][hx[t]];return b3()};kn0[vx]=!0;var ig=Object.create||function(e,A){var r;return e!==null?(ag[ng]=Un0(e),r=new ag,ag[ng]=null,r[vx]=e):r=b3(),A===void 0?r:In0.f(r,A)},Hn0=nt,_n0=Ge,jn0=_n0.RegExp,Vn0=Hn0(function(){var t=jn0(".","s");return!(t.dotAll&&t.test(`
|
|
904
904
|
`)&&t.flags==="s")}),Kn0=nt,Gn0=Ge,Yn0=Gn0.RegExp,Jn0=Kn0(function(){var t=Yn0("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),Dc=aA,M3=ot,Zn0=Ao,$n0=fx,eo0=dx,to0=c5,Ao0=ig,ro0=Qu.get,no0=Vn0,oo0=Jn0,ao0=to0("native-string-replace",String.prototype.replace),l3=RegExp.prototype.exec,cg=l3,io0=M3("".charAt),co0=M3("".indexOf),so0=M3("".replace),sg=M3("".slice),pg=function(){var t=/a/,e=/b*/g;return Dc(l3,t,"a"),Dc(l3,e,"a"),t.lastIndex!==0||e.lastIndex!==0}(),Wx=eo0.BROKEN_CARET,bg=/()??/.exec("")[1]!==void 0,po0=pg||bg||Wx||no0||oo0;po0&&(cg=function(e){var A=this,r=ro0(A),n=Zn0(e),o=r.raw,a,i,c,s,p,b,z;if(o)return o.lastIndex=A.lastIndex,a=Dc(cg,o,n),A.lastIndex=o.lastIndex,a;var M=r.groups,f=Wx&&A.sticky,d=Dc($n0,A),q=A.source,O=0,v=n;if(f&&(d=so0(d,"y",""),co0(d,"g")===-1&&(d+="g"),v=sg(n,A.lastIndex),A.lastIndex>0&&(!A.multiline||A.multiline&&io0(n,A.lastIndex-1)!==`
|
|
905
905
|
`)&&(q="(?: "+q+")",v=" "+v,O++),i=new RegExp("^(?:"+q+")",d)),bg&&(i=new RegExp("^"+q+"$(?!\\s)",d)),pg&&(c=A.lastIndex),s=Dc(l3,f?i:A,v),f?s?(s.input=sg(s.input,O),s[0]=sg(s[0],O),s.index=A.lastIndex,A.lastIndex+=s[0].length):A.lastIndex=0:pg&&s&&(A.lastIndex=A.global?s.index+s[0].length:c),bg&&s&&s.length>1&&Dc(ao0,s[0],i,function(){for(p=1;p<arguments.length-2;p++)arguments[p]===void 0&&(s[p]=void 0)}),s&&M)for(s.groups=b=Ao0(null),p=0;p<M.length;p++)z=M[p],b[z[0]]=s[z[1]];return s});var Mg=cg,bo0=SA,yx=Mg;bo0({target:"RegExp",proto:!0,forced:/./.exec!==yx},{exec:yx});var wx=aA,Rx=Ji,Mo0=Mg,Lx=nt,Cx=jt,lo0=ub,zo0=Cx("species"),lg=RegExp.prototype,zg=function(t,e,A,r){var n=Cx(t),o=!Lx(function(){var s={};return s[n]=function(){return 7},""[t](s)!==7}),a=o&&!Lx(function(){var s=!1,p=/a/;return t==="split"&&(p={},p.constructor={},p.constructor[zo0]=function(){return p},p.flags="",p[n]=/./[n]),p.exec=function(){return s=!0,null},p[n](""),!s});if(!o||!a||A){var i=/./[n],c=e(n,""[t],function(s,p,b,z,M){var f=p.exec;return f===Mo0||f===lg.exec?o&&!M?{done:!0,value:wx(i,p,b,z)}:{done:!0,value:wx(s,b,p,z)}:{done:!1}});Rx(String.prototype,t,c[0]),Rx(lg,n,c[1])}r&&lo0(lg[n],"sham",!0)},ug=ot,uo0=_u,fo0=Ao,do0=qn,Oo0=ug("".charAt),xx=ug("".charCodeAt),ho0=ug("".slice),go0=function(t){return function(e,A){var r=fo0(do0(e)),n=uo0(A),o=r.length,a,i;return n<0||n>=o?t?"":void 0:(a=xx(r,n),a<55296||a>56319||n+1===o||(i=xx(r,n+1))<56320||i>57343?t?Oo0(r,n):a:t?ho0(r,n,n+2):(a-55296<<10)+(i-56320)+65536)}},qo0={charAt:go0(!0)},vo0=qo0.charAt,fg=function(t,e,A){return e+(A?vo0(t,e).length:1)},mo0=Ge,Bo0=nt,Nx=mo0.RegExp,Wo0=!Bo0(function(){var t=!0;try{Nx(".","d")}catch{t=!1}var e={},A="",r=t?"dgimsy":"gimsy",n=function(c,s){Object.defineProperty(e,c,{get:function(){return A+=s,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};t&&(o.hasIndices="d");for(var a in o)n(a,o[a]);var i=Object.getOwnPropertyDescriptor(Nx.prototype,"flags").get.call(e);return i!==r||A!==r}),yo0={correct:Wo0},wo0=aA,Ro0=mn,Lo0=Su,Sx=yo0,Co0=fx,xo0=RegExp.prototype,dg=Sx.correct?function(t){return t.flags}:function(t){return!Sx.correct&&Lo0(xo0,t)&&!Ro0(t,"flags")?wo0(Co0,t):t.flags},Fx=aA,No0=NA,So0=dt,Fo0=Gi,Eo0=Mg,To0=TypeError,Og=function(t,e){var A=t.exec;if(So0(A)){var r=Fx(A,t,e);return r!==null&&No0(r),r}if(Fo0(t)==="RegExp")return Fx(Eo0,t,e);throw new To0("RegExp#exec called on incompatible receiver")},Uo0=aA,Io0=ot,ko0=zg,Po0=NA,Do0=jA,Qo0=Sc,z3=Ao,Xo0=qn,Ho0=Cc,_o0=fg,jo0=dg,Ex=Og,Tx=Io0("".indexOf);ko0("match",function(t,e,A){return[function(n){var o=Xo0(this),a=Do0(n)?Ho0(n,t):void 0;return a?Uo0(a,n,o):new RegExp(n)[t](z3(o))},function(r){var n=Po0(this),o=z3(r),a=A(e,n,o);if(a.done)return a.value;var i=z3(jo0(n));if(Tx(i,"g")===-1)return Ex(n,o);var c=Tx(i,"u")!==-1;n.lastIndex=0;for(var s=[],p=0,b;(b=Ex(n,o))!==null;){var z=z3(b[0]);s[p]=z,z===""&&(n.lastIndex=_o0(o,Qo0(n.lastIndex),c)),p++}return p===0?null:s}]});var hg=ot,Vo0=Tu,Ko0=Math.floor,gg=hg("".charAt),Go0=hg("".replace),qg=hg("".slice),Yo0=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Jo0=/\$([$&'`]|\d{1,2})/g,Zo0=function(t,e,A,r,n,o){var a=A+t.length,i=r.length,c=Jo0;return n!==void 0&&(n=Vo0(n),c=Yo0),Go0(o,c,function(s,p){var b;switch(gg(p,0)){case"$":return"$";case"&":return t;case"`":return qg(e,0,A);case"'":return qg(e,a);case"<":b=n[qg(p,1,-1)];break;default:var z=+p;if(z===0)return s;if(z>i){var M=Ko0(z/10);return M===0?s:M<=i?r[M-1]===void 0?gg(p,1):r[M-1]+gg(p,1):s}b=r[z-1]}return b===void 0?"":b})},$o0=MC,Ux=aA,u3=ot,ea0=zg,ta0=nt,Aa0=NA,ra0=dt,na0=jA,oa0=_u,aa0=Sc,e2=Ao,ia0=qn,ca0=fg,sa0=Cc,pa0=Zo0,ba0=dg,Ma0=Og,la0=jt,vg=la0("replace"),za0=Math.max,ua0=Math.min,fa0=u3([].concat),mg=u3([].push),f3=u3("".indexOf),Ix=u3("".slice),da0=function(t){return t===void 0?t:String(t)},Oa0=function(){return"a".replace(/./,"$0")==="$0"}(),kx=function(){return/./[vg]?/./[vg]("a","$0")==="":!1}(),ha0=!ta0(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"});ea0("replace",function(t,e,A){var r=kx?"$":"$0";return[function(o,a){var i=ia0(this),c=na0(o)?sa0(o,vg):void 0;return c?Ux(c,o,i,a):Ux(e,e2(i),o,a)},function(n,o){var a=Aa0(this),i=e2(n);if(typeof o=="string"&&f3(o,r)===-1&&f3(o,"$<")===-1){var c=A(e,a,i,o);if(c.done)return c.value}var s=ra0(o);s||(o=e2(o));var p=e2(ba0(a)),b=f3(p,"g")!==-1,z;b&&(z=f3(p,"u")!==-1,a.lastIndex=0);for(var M=[],f;f=Ma0(a,i),!(f===null||(mg(M,f),!b));){var d=e2(f[0]);d===""&&(a.lastIndex=ca0(i,aa0(a.lastIndex),z))}for(var q="",O=0,v=0;v<M.length;v++){f=M[v];for(var B=e2(f[0]),w=za0(ua0(oa0(f.index),i.length),0),L=[],E,F=1;F<f.length;F++)mg(L,da0(f[F]));var R=f.groups;if(s){var P=fa0([B],L,w,i);R!==void 0&&mg(P,R),E=e2($o0(o,void 0,P))}else E=pa0(B,i,w,L,R,o);w>=O&&(q+=Ix(i,O,w)+E,O=w+B.length)}return q+Ix(i,O)}]},!ha0||!Oa0||kx);var ga0=jA,qa0=Gi,va0=jt,ma0=va0("match"),Ba0=function(t){var e;return ga0(t)&&((e=t[ma0])!==void 0?!!e:qa0(t)==="RegExp")},Wa0=Ba0,ya0=TypeError,Bg=function(t){if(Wa0(t))throw new ya0("The method doesn't accept regular expressions");return t},wa0=jt,Ra0=wa0("match"),Wg=function(t){var e=/./;try{"/./"[t](e)}catch{try{return e[Ra0]=!1,"/./"[t](e)}catch{}}return!1},La0=SA,Ca0=Ju,xa0=Mb.f,Na0=Sc,Px=Ao,Sa0=Bg,Fa0=qn,Ea0=Wg,Ta0=Ca0("".slice),Ua0=Math.min,Dx=Ea0("startsWith"),Ia0=!Dx&&!!function(){var t=xa0(String.prototype,"startsWith");return t&&!t.writable}();La0({target:"String",proto:!0,forced:!Ia0&&!Dx},{startsWith:function(e){var A=Px(Fa0(this));Sa0(e);var r=Na0(Ua0(arguments.length>1?arguments[1]:void 0,A.length)),n=Px(e);return Ta0(A,r,r+n.length)===n}});var ka0=jt,Pa0=ig,Da0=Po.f,yg=ka0("unscopables"),wg=Array.prototype;wg[yg]===void 0&&Da0(wg,yg,{configurable:!0,value:Pa0(null)});var Qa0=function(t){wg[yg][t]=!0},Xa0=nt,Ha0=!Xa0(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),_a0=mn,ja0=dt,Va0=Tu,Ka0=O5,Ga0=Ha0,Qx=Ka0("IE_PROTO"),Rg=Object,Ya0=Rg.prototype,Xx=Ga0?Rg.getPrototypeOf:function(t){var e=Va0(t);if(_a0(e,Qx))return e[Qx];var A=e.constructor;return ja0(A)&&e instanceof A?A.prototype:e instanceof Rg?Ya0:null},Ja0=nt,Za0=dt,$a0=jA,Hx=Xx,ei0=Ji,ti0=jt,Lg=ti0("iterator"),_x=!1,t2,Cg,xg;[].keys&&(xg=[].keys(),"next"in xg?(Cg=Hx(Hx(xg)),Cg!==Object.prototype&&(t2=Cg)):_x=!0);var Ai0=!$a0(t2)||Ja0(function(){var t={};return t2[Lg].call(t)!==t});Ai0&&(t2={}),Za0(t2[Lg])||ei0(t2,Lg,function(){return this});var jx={IteratorPrototype:t2,BUGGY_SAFARI_ITERATORS:_x},ri0=jx.IteratorPrototype,ni0=ig,oi0=Y4,ai0=Gu,ii0=Bb,ci0=function(){return this},si0=function(t,e,A,r){var n=e+" Iterator";return t.prototype=ni0(ri0,{next:oi0(+!r,A)}),ai0(t,n,!1),ii0[n]=ci0,t},pi0=SA,bi0=aA,Vx=ku,Mi0=dt,li0=si0,Kx=Xx,Gx=ZL,zi0=Gu,ui0=ub,Ng=Ji,fi0=jt,di0=Bb,Yx=jx,Oi0=Vx.PROPER,hi0=Vx.CONFIGURABLE,Jx=Yx.IteratorPrototype,d3=Yx.BUGGY_SAFARI_ITERATORS,Wb=fi0("iterator"),Zx="keys",yb="values",$x="entries",gi0=function(){return this},qi0=function(t,e,A,r,n,o,a){li0(A,e,r);var i=function(O){if(O===n&&z)return z;if(!d3&&O&&O in p)return p[O];switch(O){case Zx:return function(){return new A(this,O)};case yb:return function(){return new A(this,O)};case $x:return function(){return new A(this,O)}}return function(){return new A(this)}},c=e+" Iterator",s=!1,p=t.prototype,b=p[Wb]||p["@@iterator"]||n&&p[n],z=!d3&&b||i(n),M=e==="Array"&&p.entries||b,f,d,q;if(M&&(f=Kx(M.call(new t)),f!==Object.prototype&&f.next&&(Kx(f)!==Jx&&(Gx?Gx(f,Jx):Mi0(f[Wb])||Ng(f,Wb,gi0)),zi0(f,c,!0))),Oi0&&n===yb&&b&&b.name!==yb&&(hi0?ui0(p,"name",yb):(s=!0,z=function(){return bi0(b,this)})),n)if(d={values:i(yb),keys:o?z:i(Zx),entries:i($x)},a)for(q in d)(d3||s||!(q in p))&&Ng(p,q,d[q]);else pi0({target:e,proto:!0,forced:d3||s},d);return p[Wb]!==z&&Ng(p,Wb,z,{name:n}),di0[e]=z,d},vi0=function(t,e){return{value:t,done:e}},mi0=lb,Sg=Qa0,eN=Bb,tN=Qu,Bi0=Po.f,Wi0=qi0,O3=vi0,yi0=gn,AN="Array Iterator",wi0=tN.set,Ri0=tN.getterFor(AN),Li0=Wi0(Array,"Array",function(t,e){wi0(this,{type:AN,target:mi0(t),index:0,kind:e})},function(){var t=Ri0(this),e=t.target,A=t.index++;if(!e||A>=e.length)return t.target=null,O3(void 0,!0);switch(t.kind){case"keys":return O3(A,!1);case"values":return O3(e[A],!1)}return O3([A,e[A]],!1)},"values"),rN=eN.Arguments=eN.Array;if(Sg("keys"),Sg("values"),Sg("entries"),yi0&&rN.name!=="values")try{Bi0(rN,"name",{value:"values"})}catch{}var Ci0={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},xi0=Uu,Fg=xi0("span").classList,nN=Fg&&Fg.constructor&&Fg.constructor.prototype,Ni0=nN===Object.prototype?void 0:nN,oN=Ge,aN=Ci0,Si0=Ni0,wb=Li0,iN=ub,Fi0=Gu,Ei0=jt,Eg=Ei0("iterator"),Tg=wb.values,cN=function(t,e){if(t){if(t[Eg]!==Tg)try{iN(t,Eg,Tg)}catch{t[Eg]=Tg}if(Fi0(t,e,!0),aN[e]){for(var A in wb)if(t[A]!==wb[A])try{iN(t,A,wb[A])}catch{t[A]=wb[A]}}}};for(var Ug in aN)cN(oN[Ug]&&oN[Ug].prototype,Ug);cN(Si0,"DOMTokenList");function Ti0(t,e){if(Me(t)!="object"||!t)return t;var A=t[Symbol.toPrimitive];if(A!==void 0){var r=A.call(t,e);if(Me(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ui0(t){var e=Ti0(t,"string");return Me(e)=="symbol"?e:e+""}function Ig(t,e,A){return(e=Ui0(e))in t?Object.defineProperty(t,e,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[e]=A,t}var Ii0=ko,ki0=Tu,Pi0=iL,Di0=W5,sN=TypeError,pN="Reduce of empty array with no initial value",Qi0=function(t){return function(e,A,r,n){var o=ki0(e),a=Pi0(o),i=Di0(o);if(Ii0(A),i===0&&r<2)throw new sN(pN);var c=t?i-1:0,s=t?-1:1;if(r<2)for(;;){if(c in a){n=a[c],c+=s;break}if(c+=s,t?c<0:i<=c)throw new sN(pN)}for(;t?c>=0:i>c;c+=s)c in a&&(n=A(n,a[c],c,o));return n}},Xi0={left:Qi0(!1)},Hi0=nt,bN=function(t,e){var A=[][t];return!!A&&Hi0(function(){A.call(null,e||function(){return 1},1)})},_i0=SA,ji0=Xi0.left,Vi0=bN,MN=A5,Ki0=Ku,Gi0=!Ki0&&MN>79&&MN<83,Yi0=Gi0||!Vi0("reduce");_i0({target:"Array",proto:!0,forced:Yi0},{reduce:function(e){var A=arguments.length;return ji0(this,e,A,A>1?arguments[1]:void 0)}});var Ji0=SA,Zi0=Ju,$i0=Mb.f,e20=Sc,lN=Ao,t20=Bg,A20=qn,r20=Wg,n20=Zi0("".slice),o20=Math.min,zN=r20("endsWith"),a20=!zN&&!!function(){var t=$i0(String.prototype,"endsWith");return t&&!t.writable}();Ji0({target:"String",proto:!0,forced:!a20&&!zN},{endsWith:function(e){var A=lN(A20(this));t20(e);var r=arguments.length>1?arguments[1]:void 0,n=A.length,o=r===void 0?n:o20(e20(r),n),a=lN(e);return n20(A,o-a.length,o)===a}});var kg=aA,uN=ot,i20=zg,c20=NA,s20=jA,p20=qn,b20=cC,M20=fg,l20=Sc,fN=Ao,z20=Cc,dN=Og,u20=dx,f20=nt,Qc=u20.UNSUPPORTED_Y,d20=4294967295,O20=Math.min,Pg=uN([].push),Dg=uN("".slice),h20=!f20(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var A="ab".split(t);return A.length!==2||A[0]!=="a"||A[1]!=="b"}),ON="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;i20("split",function(t,e,A){var r="0".split(void 0,0).length?function(n,o){return n===void 0&&o===0?[]:kg(e,this,n,o)}:e;return[function(o,a){var i=p20(this),c=s20(o)?z20(o,t):void 0;return c?kg(c,o,i,a):kg(r,fN(i),o,a)},function(n,o){var a=c20(this),i=fN(n);if(!ON){var c=A(r,a,i,o,r!==e);if(c.done)return c.value}var s=b20(a,RegExp),p=a.unicode,b=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Qc?"g":"y"),z=new s(Qc?"^(?:"+a.source+")":a,b),M=o===void 0?d20:o>>>0;if(M===0)return[];if(i.length===0)return dN(z,i)===null?[i]:[];for(var f=0,d=0,q=[];d<i.length;){z.lastIndex=Qc?0:d;var O=dN(z,Qc?Dg(i,d):i),v;if(O===null||(v=O20(l20(z.lastIndex+(Qc?d:0)),i.length))===f)d=M20(i,d,p);else{if(Pg(q,Dg(i,f,d)),q.length===M)return q;for(var B=1;B<=O.length-1;B++)if(Pg(q,O[B]),q.length===M)return q;d=f=v}}return Pg(q,Dg(i,f)),q}]},ON||!h20,Qc);var h3={exports:{}},Rb={exports:{}};(function(){var t,e,A,r,n,o;typeof performance<"u"&&performance!==null&&performance.now?Rb.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Rb.exports=function(){return(t()-n)/1e6},e=process.hrtime,t=function(){var a;return a=e(),a[0]*1e9+a[1]},r=t(),o=process.uptime()*1e9,n=r-o):Date.now?(Rb.exports=function(){return Date.now()-A},A=Date.now()):(Rb.exports=function(){return new Date().getTime()-A},A=new Date().getTime())}).call(gi);for(var g20=Rb.exports,q20=g20,Qo=typeof window>"u"?gi:window,g3=["moz","webkit"],Xc="AnimationFrame",Hc=Qo["request"+Xc],Lb=Qo["cancel"+Xc]||Qo["cancelRequest"+Xc],Cb=0;!Hc&&Cb<g3.length;Cb++)Hc=Qo[g3[Cb]+"Request"+Xc],Lb=Qo[g3[Cb]+"Cancel"+Xc]||Qo[g3[Cb]+"CancelRequest"+Xc];if(!Hc||!Lb){var Qg=0,hN=0,A2=[],v20=1e3/60;Hc=function(t){if(A2.length===0){var e=q20(),A=Math.max(0,v20-(e-Qg));Qg=A+e,setTimeout(function(){var r=A2.slice(0);A2.length=0;for(var n=0;n<r.length;n++)if(!r[n].cancelled)try{r[n].callback(Qg)}catch(o){setTimeout(function(){throw o},0)}},Math.round(A))}return A2.push({handle:++hN,callback:t,cancelled:!1}),hN},Lb=function(t){for(var e=0;e<A2.length;e++)A2[e].handle===t&&(A2[e].cancelled=!0)}}h3.exports=function(t){return Hc.call(Qo,t)},h3.exports.cancel=function(){Lb.apply(Qo,arguments)},h3.exports.polyfill=function(t){t||(t=Qo),t.requestAnimationFrame=Hc,t.cancelAnimationFrame=Lb};var m20=h3.exports;const Xg=Rs(m20);var gN=`
|
|
906
906
|
\v\f\r \u2028\u2029\uFEFF`,B20=ot,W20=qn,y20=Ao,Hg=gN,qN=B20("".replace),w20=RegExp("^["+Hg+"]+"),R20=RegExp("(^|[^"+Hg+"])["+Hg+"]+$"),L20=function(t){return function(e){var A=y20(W20(e));return t&1&&(A=qN(A,w20,"")),t&2&&(A=qN(A,R20,"$1")),A}},C20={trim:L20(3)},x20=ku.PROPER,N20=nt,vN=gN,mN="
",S20=function(t){return N20(function(){return!!vN[t]()||mN[t]()!==mN||x20&&vN[t].name!==t})},F20=SA,E20=C20.trim,T20=S20;F20({target:"String",proto:!0,forced:T20("trim")},{trim:function(){return E20(this)}});var U20=function(t){this.ok=!1,this.alpha=1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t=t.replace(/ /g,""),t=t.toLowerCase();var e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=e[t]||t;for(var A=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(c){return[parseInt(c[1]),parseInt(c[2]),parseInt(c[3]),parseFloat(c[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(c){return[parseInt(c[1]),parseInt(c[2]),parseInt(c[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(c){return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(c){return[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]}}],r=0;r<A.length;r++){var n=A[r].re,o=A[r].process,a=n.exec(t);if(a){var i=o(a);this.r=i[0],this.g=i[1],this.b=i[2],i.length>3&&(this.alpha=i[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var c=this.r.toString(16),s=this.g.toString(16),p=this.b.toString(16);return c.length==1&&(c="0"+c),s.length==1&&(s="0"+s),p.length==1&&(p="0"+p),"#"+c+s+p},this.getHelpXML=function(){for(var c=new Array,s=0;s<A.length;s++)for(var p=A[s].example,b=0;b<p.length;b++)c[c.length]=p[b];for(var z in e)c[c.length]=z;var M=document.createElement("ul");M.setAttribute("id","rgbcolor-examples");for(var s=0;s<c.length;s++)try{var f=document.createElement("li"),d=new RGBColor(c[s]),q=document.createElement("div");q.style.cssText="margin: 3px; border: 1px solid black; background:"+d.toHex()+"; color:"+d.toHex(),q.appendChild(document.createTextNode("test"));var O=document.createTextNode(" "+c[s]+" -> "+d.toRGB()+" -> "+d.toHex());f.appendChild(q),f.appendChild(O),M.appendChild(f)}catch{}return M}};const _g=Rs(U20);var I20=SA,k20=Ju,P20=_L.indexOf,D20=bN,jg=k20([].indexOf),BN=!!jg&&1/jg([1],1,-0)<0,Q20=BN||!D20("indexOf");I20({target:"Array",proto:!0,forced:Q20},{indexOf:function(e){var A=arguments.length>1?arguments[1]:void 0;return BN?jg(this,e,A)||0:P20(this,e,A)}});var X20=SA,H20=ot,_20=Bg,j20=qn,WN=Ao,V20=Wg,K20=H20("".indexOf);X20({target:"String",proto:!0,forced:!V20("includes")},{includes:function(e){return!!~K20(WN(j20(this)),WN(_20(e)),arguments.length>1?arguments[1]:void 0)}});var G20=Gi,Y20=Array.isArray||function(e){return G20(e)==="Array"},J20=SA,Z20=ot,$20=Y20,ec0=Z20([].reverse),yN=[1,2];J20({target:"Array",proto:!0,forced:String(yN)===String(yN.reverse())},{reverse:function(){return $20(this)&&(this.length=this.length),ec0(this)}});/*! *****************************************************************************
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amsom-habitat/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite",
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
+
"@amsom-habitat/bootstrap-5": "^3.1.30",
|
|
32
33
|
"@amsom-habitat/date-utils": "^2.0.0",
|
|
33
34
|
"@amsom-habitat/file-utils": "^2.0.2",
|
|
34
35
|
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
|
35
36
|
"@fortawesome/free-brands-svg-icons": "^6.7.2",
|
|
36
37
|
"@fortawesome/free-regular-svg-icons": "^6.7.2",
|
|
37
38
|
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
|
38
|
-
"@fortawesome/vue-fontawesome": "^3.1.
|
|
39
|
-
"bootstrap": "^5.3.8",
|
|
39
|
+
"@fortawesome/vue-fontawesome": "^3.1.2",
|
|
40
40
|
"moment-timezone": "^0.5.48",
|
|
41
41
|
"pdf-merger-js": "^5.1.2",
|
|
42
42
|
"vue": "^3.4.19",
|
|
@@ -53,14 +53,14 @@
|
|
|
53
53
|
"@storybook/vue3": "^7.6.17",
|
|
54
54
|
"@storybook/vue3-vite": "^7.6.20",
|
|
55
55
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
56
|
-
"chromatic": "^13.
|
|
56
|
+
"chromatic": "^13.3.2",
|
|
57
57
|
"eslint": "^8.57.1",
|
|
58
58
|
"eslint-plugin-storybook": "^0.8.0",
|
|
59
59
|
"eslint-plugin-vue": "^9.33.0",
|
|
60
60
|
"react": "^18.3.1",
|
|
61
61
|
"react-dom": "^18.3.1",
|
|
62
62
|
"storybook": "^7.6.20",
|
|
63
|
-
"vite": "^5.4.
|
|
63
|
+
"vite": "^5.4.21"
|
|
64
64
|
},
|
|
65
65
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
66
66
|
}
|