@luizleon/sf.prefeiturasp.vuecomponents 6.0.31 → 6.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/sf.prefeiturasp.vuecomponents.css +1 -1
  2. package/dist/sf.prefeiturasp.vuecomponents.js +646 -647
  3. package/dist/sf.prefeiturasp.vuecomponents.js.map +1 -1
  4. package/dist/types/src/common/appError.d.ts.map +1 -0
  5. package/dist/types/src/common/appResult.d.ts.map +1 -0
  6. package/dist/types/src/common/utilities.d.ts.map +1 -0
  7. package/dist/types/src/components/button/Button.vue.d.ts.map +1 -0
  8. package/dist/types/src/components/content/Content.vue.d.ts.map +1 -0
  9. package/dist/types/src/components/drawer/Drawer.vue.d.ts.map +1 -0
  10. package/dist/types/src/components/help-button/HelpButton.vue.d.ts.map +1 -0
  11. package/dist/types/src/components/icon/Icon.vue.d.ts.map +1 -0
  12. package/dist/types/src/components/internal/ConfirmPopover.vue.d.ts.map +1 -0
  13. package/dist/types/src/components/internal/LoadingCircle.vue.d.ts.map +1 -0
  14. package/dist/types/src/components/internal/ScrollToTop.vue.d.ts.map +1 -0
  15. package/dist/types/src/components/internal/ThemeToggle.d.ts.map +1 -0
  16. package/dist/types/src/components/internal/ThemeToggle.vue.d.ts.map +1 -0
  17. package/dist/types/src/components/internal/cssClassBuilder.d.ts.map +1 -0
  18. package/dist/types/src/components/internal/getDomRect.d.ts.map +1 -0
  19. package/dist/types/src/components/internal/getMaxZindex.d.ts.map +1 -0
  20. package/dist/types/src/components/internal/useAnchoredOverlay.d.ts.map +1 -0
  21. package/dist/types/src/components/layout/Account.vue.d.ts.map +1 -0
  22. package/dist/types/src/components/layout/FontSize.vue.d.ts.map +1 -0
  23. package/dist/types/src/components/layout/Login.vue.d.ts.map +1 -0
  24. package/dist/types/src/components/layout/LoginLogout.vue.d.ts.map +1 -0
  25. package/dist/types/src/components/layout/Main.vue.d.ts.map +1 -0
  26. package/dist/types/src/components/layout/PageTitle.vue.d.ts.map +1 -0
  27. package/dist/types/src/components/loading-circle/LoadingCircle.vue.d.ts.map +1 -0
  28. package/dist/types/src/components/message/Message.vue.d.ts.map +1 -0
  29. package/dist/types/src/components/navmenu/NavMenu.vue.d.ts.map +1 -0
  30. package/dist/types/src/components/popover/Popover.vue.d.ts.map +1 -0
  31. package/dist/types/src/components/tabnavigation/TabNavigation.vue.d.ts.map +1 -0
  32. package/dist/types/src/components/tabs/Tabs.vue.d.ts.map +1 -0
  33. package/dist/types/src/components/tooltip/Tooltip.vue.d.ts.map +1 -0
  34. package/dist/types/src/composables/useAlert.d.ts.map +1 -0
  35. package/dist/types/src/composables/useAppInject.d.ts.map +1 -0
  36. package/dist/types/src/composables/useConfirm.d.ts.map +1 -0
  37. package/dist/types/src/composables/useSimpleToast.d.ts.map +1 -0
  38. package/dist/types/src/extensions/vueComponentsExtensions.d.ts.map +1 -0
  39. package/dist/types/src/index.d.ts.map +1 -0
  40. package/dist/types/src/plugin/configSF.d.ts.map +1 -0
  41. package/dist/types/src/plugin/globalErrorHandler.d.ts.map +1 -0
  42. package/dist/types/src/primevue/preset.d.ts.map +1 -0
  43. package/dist/types/src/router/ensureUniqueNames.d.ts.map +1 -0
  44. package/dist/types/src/state/appState.d.ts.map +1 -0
  45. package/dist/types/src/symbols/appInject.d.ts.map +1 -0
  46. package/package.json +1 -1
  47. package/dist/types/common/appError.d.ts.map +0 -1
  48. package/dist/types/common/appResult.d.ts.map +0 -1
  49. package/dist/types/common/utilities.d.ts.map +0 -1
  50. package/dist/types/components/button/Button.vue.d.ts.map +0 -1
  51. package/dist/types/components/content/Content.vue.d.ts.map +0 -1
  52. package/dist/types/components/drawer/Drawer.vue.d.ts.map +0 -1
  53. package/dist/types/components/help-button/HelpButton.vue.d.ts.map +0 -1
  54. package/dist/types/components/icon/Icon.vue.d.ts.map +0 -1
  55. package/dist/types/components/internal/ConfirmPopover.vue.d.ts.map +0 -1
  56. package/dist/types/components/internal/LoadingCircle.vue.d.ts.map +0 -1
  57. package/dist/types/components/internal/ScrollToTop.vue.d.ts.map +0 -1
  58. package/dist/types/components/internal/ThemeToggle.d.ts.map +0 -1
  59. package/dist/types/components/internal/ThemeToggle.vue.d.ts.map +0 -1
  60. package/dist/types/components/internal/cssClassBuilder.d.ts.map +0 -1
  61. package/dist/types/components/internal/getDomRect.d.ts.map +0 -1
  62. package/dist/types/components/internal/getMaxZindex.d.ts.map +0 -1
  63. package/dist/types/components/internal/useAnchoredOverlay.d.ts.map +0 -1
  64. package/dist/types/components/layout/Account.vue.d.ts.map +0 -1
  65. package/dist/types/components/layout/FontSize.vue.d.ts.map +0 -1
  66. package/dist/types/components/layout/Login.vue.d.ts.map +0 -1
  67. package/dist/types/components/layout/LoginLogout.vue.d.ts.map +0 -1
  68. package/dist/types/components/layout/Main.vue.d.ts.map +0 -1
  69. package/dist/types/components/layout/PageTitle.vue.d.ts.map +0 -1
  70. package/dist/types/components/loading-circle/LoadingCircle.vue.d.ts.map +0 -1
  71. package/dist/types/components/message/Message.vue.d.ts.map +0 -1
  72. package/dist/types/components/navmenu/NavMenu.vue.d.ts.map +0 -1
  73. package/dist/types/components/popover/Popover.vue.d.ts.map +0 -1
  74. package/dist/types/components/tabnavigation/TabNavigation.vue.d.ts.map +0 -1
  75. package/dist/types/components/tabs/Tabs.vue.d.ts.map +0 -1
  76. package/dist/types/components/tooltip/Tooltip.vue.d.ts.map +0 -1
  77. package/dist/types/composables/useAlert.d.ts.map +0 -1
  78. package/dist/types/composables/useAppInject.d.ts.map +0 -1
  79. package/dist/types/composables/useConfirm.d.ts.map +0 -1
  80. package/dist/types/composables/useSimpleToast.d.ts.map +0 -1
  81. package/dist/types/extensions/vueComponentsExtensions.d.ts.map +0 -1
  82. package/dist/types/index.d.ts.map +0 -1
  83. package/dist/types/plugin/configSF.d.ts.map +0 -1
  84. package/dist/types/plugin/globalErrorHandler.d.ts.map +0 -1
  85. package/dist/types/primevue/preset.d.ts.map +0 -1
  86. package/dist/types/router/ensureUniqueNames.d.ts.map +0 -1
  87. package/dist/types/state/appState.d.ts.map +0 -1
  88. package/dist/types/symbols/appInject.d.ts.map +0 -1
  89. /package/dist/types/{common → src/common}/appError.d.ts +0 -0
  90. /package/dist/types/{common → src/common}/appResult.d.ts +0 -0
  91. /package/dist/types/{common → src/common}/utilities.d.ts +0 -0
  92. /package/dist/types/{components → src/components}/button/Button.vue.d.ts +0 -0
  93. /package/dist/types/{components → src/components}/content/Content.vue.d.ts +0 -0
  94. /package/dist/types/{components → src/components}/drawer/Drawer.vue.d.ts +0 -0
  95. /package/dist/types/{components → src/components}/help-button/HelpButton.vue.d.ts +0 -0
  96. /package/dist/types/{components → src/components}/icon/Icon.vue.d.ts +0 -0
  97. /package/dist/types/{components → src/components}/internal/ConfirmPopover.vue.d.ts +0 -0
  98. /package/dist/types/{components → src/components}/internal/LoadingCircle.vue.d.ts +0 -0
  99. /package/dist/types/{components → src/components}/internal/ScrollToTop.vue.d.ts +0 -0
  100. /package/dist/types/{components → src/components}/internal/ThemeToggle.d.ts +0 -0
  101. /package/dist/types/{components → src/components}/internal/ThemeToggle.vue.d.ts +0 -0
  102. /package/dist/types/{components → src/components}/internal/cssClassBuilder.d.ts +0 -0
  103. /package/dist/types/{components → src/components}/internal/getDomRect.d.ts +0 -0
  104. /package/dist/types/{components → src/components}/internal/getMaxZindex.d.ts +0 -0
  105. /package/dist/types/{components → src/components}/internal/useAnchoredOverlay.d.ts +0 -0
  106. /package/dist/types/{components → src/components}/layout/Account.vue.d.ts +0 -0
  107. /package/dist/types/{components → src/components}/layout/FontSize.vue.d.ts +0 -0
  108. /package/dist/types/{components → src/components}/layout/Login.vue.d.ts +0 -0
  109. /package/dist/types/{components → src/components}/layout/LoginLogout.vue.d.ts +0 -0
  110. /package/dist/types/{components → src/components}/layout/Main.vue.d.ts +0 -0
  111. /package/dist/types/{components → src/components}/layout/PageTitle.vue.d.ts +0 -0
  112. /package/dist/types/{components → src/components}/loading-circle/LoadingCircle.vue.d.ts +0 -0
  113. /package/dist/types/{components → src/components}/message/Message.vue.d.ts +0 -0
  114. /package/dist/types/{components → src/components}/navmenu/NavMenu.vue.d.ts +0 -0
  115. /package/dist/types/{components → src/components}/popover/Popover.vue.d.ts +0 -0
  116. /package/dist/types/{components → src/components}/tabnavigation/TabNavigation.vue.d.ts +0 -0
  117. /package/dist/types/{components → src/components}/tabs/Tabs.vue.d.ts +0 -0
  118. /package/dist/types/{components → src/components}/tooltip/Tooltip.vue.d.ts +0 -0
  119. /package/dist/types/{composables → src/composables}/useAlert.d.ts +0 -0
  120. /package/dist/types/{composables → src/composables}/useAppInject.d.ts +0 -0
  121. /package/dist/types/{composables → src/composables}/useConfirm.d.ts +0 -0
  122. /package/dist/types/{composables → src/composables}/useSimpleToast.d.ts +0 -0
  123. /package/dist/types/{extensions → src/extensions}/vueComponentsExtensions.d.ts +0 -0
  124. /package/dist/types/{index.d.ts → src/index.d.ts} +0 -0
  125. /package/dist/types/{plugin → src/plugin}/configSF.d.ts +0 -0
  126. /package/dist/types/{plugin → src/plugin}/globalErrorHandler.d.ts +0 -0
  127. /package/dist/types/{primevue → src/primevue}/preset.d.ts +0 -0
  128. /package/dist/types/{router → src/router}/ensureUniqueNames.d.ts +0 -0
  129. /package/dist/types/{state → src/state}/appState.d.ts +0 -0
  130. /package/dist/types/{symbols → src/symbols}/appInject.d.ts +0 -0
@@ -210,7 +210,7 @@ const Wa = /* @__PURE__ */ Je($s, [["render", Os]]), Bs = ["data-size"], Ms = ["
210
210
  _: 1
211
211
  }, 8, ["text", "class"]));
212
212
  }
213
- }), Xe = /* @__PURE__ */ Je(Rs, [["__scopeId", "data-v-75c3c2ce"]]), Ns = { class: "sf-tab-navigation" }, js = ["data-active"], Hs = ["href", "onClick"], Mp = /* @__PURE__ */ ie({
213
+ }), Xe = /* @__PURE__ */ Je(Rs, [["__scopeId", "data-v-75c3c2ce"]]), Ns = { class: "sf-tab-navigation" }, js = ["data-active"], Hs = ["href", "onClick"], Dp = /* @__PURE__ */ ie({
214
214
  __name: "TabNavigation",
215
215
  props: {
216
216
  tabs: {}
@@ -516,7 +516,7 @@ const Wa = /* @__PURE__ */ Je($s, [["render", Os]]), Bs = ["data-size"], Ms = ["
516
516
  ], 6)) : F("", !0)
517
517
  ]));
518
518
  }
519
- }), qs = ["data-icon"], Dp = /* @__PURE__ */ ie({
519
+ }), qs = ["data-icon"], Rp = /* @__PURE__ */ ie({
520
520
  __name: "Message",
521
521
  props: {
522
522
  color: { default: "info" },
@@ -3841,7 +3841,8 @@ const qc = { class: "panel-menu-wrapper select-none" }, Yc = ["data-active", "on
3841
3841
  return _(), x("div", qc, [
3842
3842
  q($(li), {
3843
3843
  model: l.value,
3844
- unstyled: !0
3844
+ unstyled: !0,
3845
+ multiple: !0
3845
3846
  }, {
3846
3847
  item: le(({ item: u, active: m }) => [
3847
3848
  u.to ? (_(), ne(c, {
@@ -3883,10 +3884,7 @@ const qc = { class: "panel-menu-wrapper select-none" }, Yc = ["data-active", "on
3883
3884
  }, null, 8, ru),
3884
3885
  i[0] || (i[0] = b("div", { class: "sep" }, null, -1)),
3885
3886
  b("span", {
3886
- class: j([
3887
- "material-symbols-outlined arrow",
3888
- { "--expand": m }
3889
- ])
3887
+ class: j(["material-symbols-outlined arrow", { "--expand": m }])
3890
3888
  }, " chevron_right ", 2)
3891
3889
  ]))
3892
3890
  ]),
@@ -3895,7 +3893,7 @@ const qc = { class: "panel-menu-wrapper select-none" }, Yc = ["data-active", "on
3895
3893
  ]);
3896
3894
  };
3897
3895
  }
3898
- }), Rp = /* @__PURE__ */ Je(ou, [["__scopeId", "data-v-17765f50"]]);
3896
+ }), Np = /* @__PURE__ */ Je(ou, [["__scopeId", "data-v-c92c6de2"]]);
3899
3897
  function Or(t) {
3900
3898
  let e = t instanceof HTMLElement ? t : null;
3901
3899
  for (; e && e.getBoundingClientRect; ) {
@@ -4028,7 +4026,7 @@ const ci = /* @__PURE__ */ ie({
4028
4026
  G(n.$slots, "default", {}, void 0, !0)
4029
4027
  ], 2));
4030
4028
  }
4031
- }), Np = /* @__PURE__ */ Je(iu, [["__scopeId", "data-v-32e5acfa"]]), ui = Symbol();
4029
+ }), jp = /* @__PURE__ */ Je(iu, [["__scopeId", "data-v-32e5acfa"]]), ui = Symbol();
4032
4030
  function su() {
4033
4031
  return Cs(ui);
4034
4032
  }
@@ -4099,7 +4097,7 @@ const Zt = () => su(), lu = { class: "body" }, cu = { class: "my-3 name" }, uu =
4099
4097
  ], 512)
4100
4098
  ]));
4101
4099
  }
4102
- }), jp = /* @__PURE__ */ Je(mu, [["__scopeId", "data-v-ff672b03"]]);
4100
+ }), Hp = /* @__PURE__ */ Je(mu, [["__scopeId", "data-v-ff672b03"]]);
4103
4101
  class st {
4104
4102
  /**
4105
4103
  * https://www.w3.org/TR/mediaqueries-4/#valdef-media-pointer-coarse
@@ -4484,352 +4482,19 @@ const fu = { key: 0 }, pu = { class: "logout" }, hu = { class: "email" }, gu = {
4484
4482
  onClick: r
4485
4483
  }, null, 2));
4486
4484
  }
4487
- }), Fu = {
4488
- key: 0,
4489
- class: "mb-3"
4490
- }, zu = { class: "flex align-items-center flex-wrap gap-3" }, Uu = ["innerHTML"], Vu = { class: "flex flex-grow-1 gap-2 justify-content-end" }, Wu = /* @__PURE__ */ ie({
4491
- __name: "ConfirmPopover",
4492
- emits: ["onOpen"],
4493
- setup(t, { emit: e }) {
4494
- const n = R(), r = () => {
4495
- a?.detail.resolve(!0), a = null, n.value?.Hide();
4496
- }, o = () => {
4497
- a?.detail.resolve(!1), a = null, n.value?.Hide();
4498
- };
4499
- let a = null;
4500
- document.addEventListener("sfconfirm:popup", (i) => {
4501
- a = i, n.value?.Show(i);
4502
- });
4503
- const l = () => {
4504
- a?.detail.resolve(!1);
4505
- }, s = e;
4506
- return (i, c) => (_(), ne(ci, {
4507
- ref_key: "popover",
4508
- ref: n,
4509
- onOnShow: c[0] || (c[0] = (u) => s("onOpen")),
4510
- onOnHide: l
4511
- }, {
4512
- default: le(() => [
4513
- G(i.$slots, "content", Ct(_t({ resolve: r, reject: o })), () => [
4514
- $(a)?.detail.options?.title ? (_(), x("div", Fu, [
4515
- b("b", null, K($(a)?.detail.options.title), 1)
4516
- ])) : F("", !0),
4517
- b("div", zu, [
4518
- b("div", {
4519
- innerHTML: $(a)?.detail.options?.text
4520
- }, null, 8, Uu),
4521
- b("div", Vu, [
4522
- q($(kn), {
4523
- name: "botao-confirmar",
4524
- size: "sm",
4525
- color: $(a)?.detail.options?.confirmColor,
4526
- onClick: r
4527
- }, {
4528
- default: le(() => [
4529
- Ye(K($(a)?.detail.options?.confirmLabel), 1)
4530
- ]),
4531
- _: 1
4532
- }, 8, ["color"]),
4533
- q($(kn), {
4534
- size: "sm",
4535
- name: "botao-cancelar",
4536
- color: $(a)?.detail.options?.rejectColor,
4537
- onClick: o
4538
- }, {
4539
- default: le(() => [
4540
- Ye(K($(a)?.detail.options?.rejectLabel), 1)
4541
- ]),
4542
- _: 1
4543
- }, 8, ["color"])
4544
- ])
4545
- ])
4546
- ])
4547
- ]),
4548
- _: 3
4549
- }, 512));
4485
+ });
4486
+ class Fu {
4487
+ get storedTheme() {
4488
+ return localStorage.getItem("color-scheme");
4550
4489
  }
4551
- }), Ku = /* @__PURE__ */ ie({
4552
- __name: "LoginLogout",
4553
- emits: ["login"],
4554
- setup(t, { emit: e }) {
4555
- const n = Wt(), { LogoutAsync: r } = Zt(), o = e;
4556
- return (a, l) => $(n).isAuthenticated ? (_(), ne(Xe, {
4557
- key: 0,
4558
- button: !0,
4559
- size: "sm",
4560
- icon: "logout",
4561
- tooltip: "Sair",
4562
- onClick: $(r)
4563
- }, null, 8, ["onClick"])) : (_(), ne(Xe, {
4564
- key: 1,
4565
- button: !0,
4566
- size: "sm",
4567
- icon: "login",
4568
- tooltip: "Entrar",
4569
- onClick: l[0] || (l[0] = (s) => o("login"))
4570
- }));
4490
+ get IsDark() {
4491
+ return document.documentElement.classList.contains("dark");
4571
4492
  }
4572
- }), Gu = { class: "nav-menu-header" }, qu = { class: "nav-menu-inner-close" }, Yu = { class: "main-content" }, Xu = { class: "page-title" }, Zu = { class: "action" }, Ju = { id: "content" }, Qu = {
4573
- key: 0,
4574
- id: "logging-out"
4575
- }, ed = { class: "info-fazenda" }, td = { class: "font-bold" }, nd = { class: "info-endereco text-muted" }, rd = { class: "footer-right" }, od = /* @__PURE__ */ ie({
4576
- __name: "Main",
4577
- props: {
4578
- auth: {},
4579
- public: { type: Boolean }
4580
- },
4581
- emits: ["login"],
4582
- setup(t, { emit: e }) {
4583
- const n = t, {
4584
- navMenuWidth: r,
4585
- isMenuOpened: o,
4586
- pageTitle: a,
4587
- scrollY: l,
4588
- ToggleMenu: s,
4589
- isDarkMode: i,
4590
- ToggleTheme: c,
4591
- CloseMenu: u,
4592
- isLoggingOut: m,
4593
- mainRef: f,
4594
- mainWidth: p
4595
- } = Zt(), w = R(null), g = () => {
4596
- if (!w.value || !o.value) return !1;
4597
- w.value.offsetWidth !== r && u();
4598
- };
4599
- $t(() => {
4600
- if (Es().afterEach(() => {
4601
- g();
4602
- }), f.value) {
4603
- let S = null;
4604
- As(f, (L) => {
4605
- io(() => {
4606
- S && clearTimeout(S), S = setTimeout(() => {
4607
- p.value = L[0].contentRect.width;
4608
- }, 10);
4609
- }), p.value = L[0].contentRect.width;
4610
- }), p.value = f.value.clientWidth;
4611
- }
4612
- });
4613
- const y = e;
4614
- return (v, S) => (_(), x("main", {
4615
- ref_key: "mainRef",
4616
- ref: f,
4617
- class: j({
4618
- disabled: $(m),
4619
- "nav-menu-visible": $(o)
4620
- })
4621
- }, [
4622
- b("aside", {
4623
- id: "nav-menu",
4624
- ref_key: "navMenuRef",
4625
- ref: w,
4626
- class: j({ "nav-menu-hidden": !$(o) })
4627
- }, [
4628
- b("div", Gu, [
4629
- S[1] || (S[1] = b("span", null, "Menu", -1)),
4630
- b("div", qu, [
4631
- q(Xe, {
4632
- button: !0,
4633
- icon: "close",
4634
- onClick: $(s)
4635
- }, null, 8, ["onClick"])
4636
- ])
4637
- ]),
4638
- G(v.$slots, "nav-menu", {}, void 0, !0)
4639
- ], 2),
4640
- b("div", Yu, [
4641
- b("div", {
4642
- id: "top-bar",
4643
- class: j({ "shadow-bottom": $(l) > 72 })
4644
- }, [
4645
- q(Xe, {
4646
- button: !0,
4647
- icon: $(o) ? "menu_open" : "menu",
4648
- tooltip: "Menu",
4649
- onClick: $(s)
4650
- }, null, 8, ["icon", "onClick"]),
4651
- b("div", Xu, K($(m) ? "Saindo..." : $(a)), 1),
4652
- S[2] || (S[2] = b("span", { class: "sep" }, null, -1)),
4653
- b("div", Zu, [
4654
- q(Xe, {
4655
- button: !0,
4656
- size: "sm",
4657
- icon: $(i) ? "light_mode" : "dark_mode",
4658
- tooltip: $(i) ? "Modo claro" : "Modo escuro",
4659
- onClick: $(c)
4660
- }, null, 8, ["icon", "tooltip", "onClick"]),
4661
- q(ju),
4662
- G(v.$slots, "top-bar-account", {}, () => [
4663
- q(Mu)
4664
- ], !0),
4665
- n.public ? F("", !0) : (_(), ne(Ku, {
4666
- key: 0,
4667
- onLogin: S[0] || (S[0] = (L) => y("login"))
4668
- }))
4669
- ])
4670
- ], 2),
4671
- b("div", Ju, [
4672
- $(m) ? (_(), x("div", Qu, [
4673
- q(Wa)
4674
- ])) : G(v.$slots, "content", { key: 1 }, void 0, !0)
4675
- ])
4676
- ]),
4677
- b("footer", null, [
4678
- G(v.$slots, "footer", {}, () => [
4679
- S[5] || (S[5] = b("div", { class: "logo-fazenda" }, null, -1)),
4680
- b("div", ed, [
4681
- b("span", td, [
4682
- G(v.$slots, "footer-nome-fazenda", {}, () => [
4683
- S[3] || (S[3] = Ye(" SECRETARIA MUNICIPAL DA FAZENDA ", -1))
4684
- ], !0)
4685
- ]),
4686
- b("span", nd, [
4687
- G(v.$slots, "footer-endereco-fazenda", {}, () => [
4688
- S[4] || (S[4] = Ye(" Rua Líbero Badaró, 190 - Centro - São Paulo - SP - CEP 01008-000 ", -1))
4689
- ], !0)
4690
- ])
4691
- ]),
4692
- b("div", rd, [
4693
- G(v.$slots, "footer-right", {}, void 0, !0)
4694
- ])
4695
- ], !0)
4696
- ]),
4697
- q(Hu),
4698
- q(Wu)
4699
- ], 2));
4493
+ Toggle() {
4494
+ this.IsDark ? this.EnableLightMode() : this.EnableDarkMode();
4700
4495
  }
4701
- }), Hp = /* @__PURE__ */ Je(od, [["__scopeId", "data-v-82561d28"]]), Fp = /* @__PURE__ */ ie({
4702
- __name: "PageTitle",
4703
- props: {
4704
- title: {}
4705
- },
4706
- setup(t) {
4707
- const { pageTitle: e } = Zt(), n = t;
4708
- return Ss(() => {
4709
- document.title = n.title, e.value = n.title;
4710
- }), (r, o) => null;
4711
- }
4712
- }), ad = { class: "sf-tabs" }, id = ["onClick", "onKeydown"], sd = ["id", "aria-selected", "tabindex", "aria-controls", "disabled"], ld = ["id", "aria-labelledby", "aria-hidden"], zp = /* @__PURE__ */ ie({
4713
- __name: "Tabs",
4714
- props: /* @__PURE__ */ Ts({
4715
- tabs: {},
4716
- dense: { type: Boolean }
4717
- }, {
4718
- activeTab: {
4719
- default: 0
4720
- },
4721
- activeTabModifiers: {}
4722
- }),
4723
- emits: ["update:activeTab"],
4724
- setup(t) {
4725
- const e = t, n = xs(t, "activeTab");
4726
- let r = n.value;
4727
- qt(
4728
- () => n.value,
4729
- (f) => {
4730
- f !== r && l(f);
4731
- }
4732
- );
4733
- const o = Z(() => e.tabs.length - 1);
4734
- let a = null;
4735
- const l = (f) => {
4736
- e.tabs[f].disabled || (a && clearTimeout(a), a = window.setTimeout(() => {
4737
- a = null, r = f, n.value = f, s(f);
4738
- }, 100));
4739
- }, s = (f) => {
4740
- const p = document.getElementById(c(f));
4741
- p && (p.focus(), p.scrollIntoView({ inline: "center" }));
4742
- }, i = (f, p) => {
4743
- if (f.repeat)
4744
- return;
4745
- const w = o.value, g = (y, v) => {
4746
- let S = y;
4747
- for (let L = 0; L <= w; L++)
4748
- if (S = (S + v + e.tabs.length) % e.tabs.length, !e.tabs[S].disabled)
4749
- return S;
4750
- return -1;
4751
- };
4752
- if (f.key === "ArrowRight") {
4753
- f.preventDefault();
4754
- const y = g(p, 1);
4755
- l(y);
4756
- return;
4757
- }
4758
- if (f.key === "ArrowLeft") {
4759
- f.preventDefault();
4760
- const y = g(p, -1);
4761
- l(y);
4762
- return;
4763
- }
4764
- if (f.key === "Home") {
4765
- f.preventDefault();
4766
- const y = g(-1, 1);
4767
- l(y);
4768
- return;
4769
- }
4770
- if (f.key === "End") {
4771
- f.preventDefault();
4772
- const y = g(w, -1);
4773
- l(y);
4774
- return;
4775
- }
4776
- }, c = (f) => `sf-tab-${f}`, u = (f) => `sf-tabpanel-${f}`, m = () => {
4777
- if (e.tabs[n.value]?.disabled) {
4778
- const f = e.tabs.findIndex((p) => !p.disabled);
4779
- n.value = f !== -1 ? f : -1;
4780
- }
4781
- };
4782
- return $t(() => {
4783
- m();
4784
- }), (f, p) => (_(), x("div", ad, [
4785
- b("ul", {
4786
- role: "tablist",
4787
- "aria-orientation": "horizontal",
4788
- class: j({ dense: e.dense })
4789
- }, [
4790
- (_(!0), x(ke, null, At(e.tabs, (w, g) => (_(), x("li", {
4791
- key: c(g),
4792
- onClick: (y) => l(g),
4793
- onKeydown: (y) => i(y, g)
4794
- }, [
4795
- b("button", {
4796
- role: "tab",
4797
- id: c(g),
4798
- "aria-selected": !w.disabled && g === n.value,
4799
- tabindex: g === n.value ? 0 : -1,
4800
- "aria-controls": u(g),
4801
- disabled: w.disabled
4802
- }, K(w.text), 9, sd)
4803
- ], 40, id))), 128))
4804
- ], 2),
4805
- (_(!0), x(ke, null, At(e.tabs, (w, g) => (_(), x("div", {
4806
- key: u(g),
4807
- id: u(g),
4808
- role: "tabpanel",
4809
- "aria-labelledby": c(g),
4810
- "aria-hidden": !w.disabled && g !== n.value,
4811
- class: j(["tab-content", { hidden: g !== n.value }])
4812
- }, [
4813
- !w.disabled && g === n.value ? G(f.$slots, "tabpanel", M({
4814
- key: 0,
4815
- ref_for: !0
4816
- }, { tab: w, activeTab: n.value, Activate: l })) : F("", !0)
4817
- ], 10, ld))), 128))
4818
- ]));
4819
- }
4820
- });
4821
- class cd {
4822
- get storedTheme() {
4823
- return localStorage.getItem("color-scheme");
4824
- }
4825
- get IsDark() {
4826
- return document.documentElement.classList.contains("dark");
4827
- }
4828
- Toggle() {
4829
- this.IsDark ? this.EnableLightMode() : this.EnableDarkMode();
4830
- }
4831
- EnableDarkMode() {
4832
- document.documentElement.classList.add("dark"), document.documentElement.classList.remove("light"), localStorage.setItem("color-scheme", "dark");
4496
+ EnableDarkMode() {
4497
+ document.documentElement.classList.add("dark"), document.documentElement.classList.remove("light"), localStorage.setItem("color-scheme", "dark");
4833
4498
  }
4834
4499
  EnableLightMode() {
4835
4500
  document.documentElement.classList.remove("dark"), document.documentElement.classList.add("light"), localStorage.setItem("color-scheme", "light");
@@ -4847,7 +4512,7 @@ class cd {
4847
4512
  localStorage.removeItem("color-scheme");
4848
4513
  }
4849
4514
  }
4850
- const un = new cd();
4515
+ const un = new Fu();
4851
4516
  /*!
4852
4517
  * sweetalert2 v11.26.3
4853
4518
  * Released under the MIT License.
@@ -4856,32 +4521,32 @@ function di(t, e, n) {
4856
4521
  if (typeof t == "function" ? t === e : t.has(e)) return arguments.length < 3 ? e : n;
4857
4522
  throw new TypeError("Private element is not present on this object");
4858
4523
  }
4859
- function ud(t, e) {
4524
+ function zu(t, e) {
4860
4525
  if (e.has(t)) throw new TypeError("Cannot initialize the same private elements twice on an object");
4861
4526
  }
4862
4527
  function wa(t, e) {
4863
4528
  return t.get(di(t, e));
4864
4529
  }
4865
- function dd(t, e, n) {
4866
- ud(t, e), e.set(t, n);
4530
+ function Uu(t, e, n) {
4531
+ zu(t, e), e.set(t, n);
4867
4532
  }
4868
- function md(t, e, n) {
4533
+ function Vu(t, e, n) {
4869
4534
  return t.set(di(t, e), n), n;
4870
4535
  }
4871
- const fd = 100, E = {}, pd = () => {
4536
+ const Wu = 100, E = {}, Ku = () => {
4872
4537
  E.previousActiveElement instanceof HTMLElement ? (E.previousActiveElement.focus(), E.previousActiveElement = null) : document.body && document.body.focus();
4873
- }, hd = (t) => new Promise((e) => {
4538
+ }, Gu = (t) => new Promise((e) => {
4874
4539
  if (!t)
4875
4540
  return e();
4876
4541
  const n = window.scrollX, r = window.scrollY;
4877
4542
  E.restoreFocusTimeout = setTimeout(() => {
4878
- pd(), e();
4879
- }, fd), window.scrollTo(n, r);
4880
- }), mi = "swal2-", gd = ["container", "shown", "height-auto", "iosfix", "popup", "modal", "no-backdrop", "no-transition", "toast", "toast-shown", "show", "hide", "close", "title", "html-container", "actions", "confirm", "deny", "cancel", "footer", "icon", "icon-content", "image", "input", "file", "range", "select", "radio", "checkbox", "label", "textarea", "inputerror", "input-label", "validation-message", "progress-steps", "active-progress-step", "progress-step", "progress-step-line", "loader", "loading", "styled", "top", "top-start", "top-end", "top-left", "top-right", "center", "center-start", "center-end", "center-left", "center-right", "bottom", "bottom-start", "bottom-end", "bottom-left", "bottom-right", "grow-row", "grow-column", "grow-fullscreen", "rtl", "timer-progress-bar", "timer-progress-bar-container", "scrollbar-measure", "icon-success", "icon-warning", "icon-info", "icon-question", "icon-error", "draggable", "dragging"], h = gd.reduce(
4543
+ Ku(), e();
4544
+ }, Wu), window.scrollTo(n, r);
4545
+ }), mi = "swal2-", qu = ["container", "shown", "height-auto", "iosfix", "popup", "modal", "no-backdrop", "no-transition", "toast", "toast-shown", "show", "hide", "close", "title", "html-container", "actions", "confirm", "deny", "cancel", "footer", "icon", "icon-content", "image", "input", "file", "range", "select", "radio", "checkbox", "label", "textarea", "inputerror", "input-label", "validation-message", "progress-steps", "active-progress-step", "progress-step", "progress-step-line", "loader", "loading", "styled", "top", "top-start", "top-end", "top-left", "top-right", "center", "center-start", "center-end", "center-left", "center-right", "bottom", "bottom-start", "bottom-end", "bottom-left", "bottom-right", "grow-row", "grow-column", "grow-fullscreen", "rtl", "timer-progress-bar", "timer-progress-bar-container", "scrollbar-measure", "icon-success", "icon-warning", "icon-info", "icon-question", "icon-error", "draggable", "dragging"], h = qu.reduce(
4881
4546
  (t, e) => (t[e] = mi + e, t),
4882
4547
  /** @type {SwalClasses} */
4883
4548
  {}
4884
- ), vd = ["success", "warning", "info", "question", "error"], ir = vd.reduce(
4549
+ ), Yu = ["success", "warning", "info", "question", "error"], ir = Yu.reduce(
4885
4550
  (t, e) => (t[e] = mi + e, t),
4886
4551
  /** @type {SwalIcons} */
4887
4552
  {}
@@ -4889,14 +4554,14 @@ const fd = 100, E = {}, pd = () => {
4889
4554
  console.warn(`${fi} ${typeof t == "object" ? t.join(" ") : t}`);
4890
4555
  }, Lt = (t) => {
4891
4556
  console.error(`${fi} ${t}`);
4892
- }, ya = [], bd = (t) => {
4557
+ }, ya = [], Xu = (t) => {
4893
4558
  ya.includes(t) || (ya.push(t), Ce(t));
4894
4559
  }, pi = (t, e = null) => {
4895
- bd(`"${t}" is deprecated and will be removed in the next major release.${e ? ` Use "${e}" instead.` : ""}`);
4560
+ Xu(`"${t}" is deprecated and will be removed in the next major release.${e ? ` Use "${e}" instead.` : ""}`);
4896
4561
  }, vr = (t) => typeof t == "function" ? t() : t, fo = (t) => t && typeof t.toPromise == "function", Ln = (t) => fo(t) ? t.toPromise() : Promise.resolve(t), po = (t) => t && Promise.resolve(t) === t, xe = () => document.body.querySelector(`.${h.container}`), On = (t) => {
4897
4562
  const e = xe();
4898
4563
  return e ? e.querySelector(t) : null;
4899
- }, $e = (t) => On(`.${t}`), z = () => $e(h.popup), Jt = () => $e(h.icon), wd = () => $e(h["icon-content"]), hi = () => $e(h.title), ho = () => $e(h["html-container"]), gi = () => $e(h.image), go = () => $e(h["progress-steps"]), br = () => $e(h["validation-message"]), Ze = () => (
4564
+ }, $e = (t) => On(`.${t}`), z = () => $e(h.popup), Jt = () => $e(h.icon), Zu = () => $e(h["icon-content"]), hi = () => $e(h.title), ho = () => $e(h["html-container"]), gi = () => $e(h.image), go = () => $e(h["progress-steps"]), br = () => $e(h["validation-message"]), Ze = () => (
4900
4565
  /** @type {HTMLButtonElement} */
4901
4566
  On(`.${h.actions} .${h.confirm}`)
4902
4567
  ), Qt = () => (
@@ -4905,7 +4570,7 @@ const fd = 100, E = {}, pd = () => {
4905
4570
  ), Ot = () => (
4906
4571
  /** @type {HTMLButtonElement} */
4907
4572
  On(`.${h.actions} .${h.deny}`)
4908
- ), yd = () => $e(h["input-label"]), en = () => On(`.${h.loader}`), Bn = () => $e(h.actions), vi = () => $e(h.footer), wr = () => $e(h["timer-progress-bar"]), vo = () => $e(h.close), kd = `
4573
+ ), Ju = () => $e(h["input-label"]), en = () => On(`.${h.loader}`), Bn = () => $e(h.actions), vi = () => $e(h.footer), wr = () => $e(h["timer-progress-bar"]), vo = () => $e(h.close), Qu = `
4909
4574
  a[href],
4910
4575
  area[href],
4911
4576
  input:not([disabled]),
@@ -4927,12 +4592,12 @@ const fd = 100, E = {}, pd = () => {
4927
4592
  const e = t.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'), n = Array.from(e).sort((a, l) => {
4928
4593
  const s = parseInt(a.getAttribute("tabindex") || "0"), i = parseInt(l.getAttribute("tabindex") || "0");
4929
4594
  return s > i ? 1 : s < i ? -1 : 0;
4930
- }), r = t.querySelectorAll(kd), o = Array.from(r).filter((a) => a.getAttribute("tabindex") !== "-1");
4595
+ }), r = t.querySelectorAll(Qu), o = Array.from(r).filter((a) => a.getAttribute("tabindex") !== "-1");
4931
4596
  return [...new Set(n.concat(o))].filter((a) => Ae(a));
4932
4597
  }, wo = () => lt(document.body, h.shown) && !lt(document.body, h["toast-shown"]) && !lt(document.body, h["no-backdrop"]), yr = () => {
4933
4598
  const t = z();
4934
4599
  return t ? lt(t, h.toast) : !1;
4935
- }, Cd = () => {
4600
+ }, ed = () => {
4936
4601
  const t = z();
4937
4602
  return t ? t.hasAttribute("data-loading") : !1;
4938
4603
  }, Le = (t, e) => {
@@ -4954,12 +4619,12 @@ const fd = 100, E = {}, pd = () => {
4954
4619
  if (!t.classList.contains(n[r]))
4955
4620
  return !1;
4956
4621
  return !0;
4957
- }, _d = (t, e) => {
4622
+ }, td = (t, e) => {
4958
4623
  Array.from(t.classList).forEach((n) => {
4959
4624
  !Object.values(h).includes(n) && !Object.values(ir).includes(n) && !Object.values(e.showClass || {}).includes(n) && t.classList.remove(n);
4960
4625
  });
4961
4626
  }, Pe = (t, e, n) => {
4962
- if (_d(t, e), !e.customClass)
4627
+ if (td(t, e), !e.customClass)
4963
4628
  return;
4964
4629
  const r = e.customClass[
4965
4630
  /** @type {keyof SweetAlertCustomClass} */
@@ -5029,7 +4694,7 @@ const fd = 100, E = {}, pd = () => {
5029
4694
  o && o.style.setProperty(n, r);
5030
4695
  }, Mn = (t, e, n = "flex") => {
5031
4696
  e ? ce(t, n) : ve(t);
5032
- }, Ae = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), Sd = () => !Ae(Ze()) && !Ae(Ot()) && !Ae(Qt()), Jr = (t) => t.scrollHeight > t.clientHeight, xd = (t, e) => {
4697
+ }, Ae = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), nd = () => !Ae(Ze()) && !Ae(Ot()) && !Ae(Qt()), Jr = (t) => t.scrollHeight > t.clientHeight, rd = (t, e) => {
5033
4698
  let n = t;
5034
4699
  for (; n && n !== e; ) {
5035
4700
  if (Jr(n))
@@ -5045,7 +4710,7 @@ const fd = 100, E = {}, pd = () => {
5045
4710
  n && Ae(n) && (e && (n.style.transition = "none", n.style.width = "100%"), setTimeout(() => {
5046
4711
  n.style.transition = `width ${t / 1e3}s linear`, n.style.width = "0%";
5047
4712
  }, 10));
5048
- }, Td = () => {
4713
+ }, od = () => {
5049
4714
  const t = wr();
5050
4715
  if (!t)
5051
4716
  return;
@@ -5053,7 +4718,7 @@ const fd = 100, E = {}, pd = () => {
5053
4718
  t.style.removeProperty("transition"), t.style.width = "100%";
5054
4719
  const n = parseInt(window.getComputedStyle(t).width), r = e / n * 100;
5055
4720
  t.style.width = `${r}%`;
5056
- }, Id = () => typeof window > "u" || typeof document > "u", Ad = `
4721
+ }, ad = () => typeof window > "u" || typeof document > "u", id = `
5057
4722
  <div aria-labelledby="${h.title}" aria-describedby="${h["html-container"]}" class="${h.popup}" tabindex="-1">
5058
4723
  <button type="button" class="${h.close}"></button>
5059
4724
  <ul class="${h["progress-steps"]}"></ul>
@@ -5086,52 +4751,52 @@ const fd = 100, E = {}, pd = () => {
5086
4751
  <div class="${h["timer-progress-bar"]}"></div>
5087
4752
  </div>
5088
4753
  </div>
5089
- `.replace(/(^|\n)\s*/g, ""), Ed = () => {
4754
+ `.replace(/(^|\n)\s*/g, ""), sd = () => {
5090
4755
  const t = xe();
5091
4756
  return t ? (t.remove(), De([document.documentElement, document.body], [h["no-backdrop"], h["toast-shown"], h["has-column"]]), !0) : !1;
5092
4757
  }, kt = () => {
5093
4758
  E.currentInstance.resetValidationMessage();
5094
- }, Pd = () => {
4759
+ }, ld = () => {
5095
4760
  const t = z(), e = gt(t, h.input), n = gt(t, h.file), r = t.querySelector(`.${h.range} input`), o = t.querySelector(`.${h.range} output`), a = gt(t, h.select), l = t.querySelector(`.${h.checkbox} input`), s = gt(t, h.textarea);
5096
4761
  e.oninput = kt, n.onchange = kt, a.onchange = kt, l.onchange = kt, s.oninput = kt, r.oninput = () => {
5097
4762
  kt(), o.value = r.value;
5098
4763
  }, r.onchange = () => {
5099
4764
  kt(), o.value = r.value;
5100
4765
  };
5101
- }, $d = (t) => typeof t == "string" ? document.querySelector(t) : t, Ld = (t) => {
4766
+ }, cd = (t) => typeof t == "string" ? document.querySelector(t) : t, ud = (t) => {
5102
4767
  const e = z();
5103
4768
  e.setAttribute("role", t.toast ? "alert" : "dialog"), e.setAttribute("aria-live", t.toast ? "polite" : "assertive"), t.toast || e.setAttribute("aria-modal", "true");
5104
- }, Od = (t) => {
4769
+ }, dd = (t) => {
5105
4770
  window.getComputedStyle(t).direction === "rtl" && U(xe(), h.rtl);
5106
- }, Bd = (t) => {
5107
- const e = Ed();
5108
- if (Id()) {
4771
+ }, md = (t) => {
4772
+ const e = sd();
4773
+ if (ad()) {
5109
4774
  Lt("SweetAlert2 requires document to initialize");
5110
4775
  return;
5111
4776
  }
5112
4777
  const n = document.createElement("div");
5113
- n.className = h.container, e && U(n, h["no-transition"]), Le(n, Ad), n.dataset.swal2Theme = t.theme;
5114
- const r = $d(t.target);
5115
- r.appendChild(n), t.topLayer && (n.setAttribute("popover", ""), n.showPopover()), Ld(t), Od(r), Pd();
4778
+ n.className = h.container, e && U(n, h["no-transition"]), Le(n, id), n.dataset.swal2Theme = t.theme;
4779
+ const r = cd(t.target);
4780
+ r.appendChild(n), t.topLayer && (n.setAttribute("popover", ""), n.showPopover()), ud(t), dd(r), ld();
5116
4781
  }, Co = (t, e) => {
5117
- t instanceof HTMLElement ? e.appendChild(t) : typeof t == "object" ? Md(t, e) : t && Le(e, t);
5118
- }, Md = (t, e) => {
5119
- t.jquery ? Dd(e, t) : Le(e, t.toString());
5120
- }, Dd = (t, e) => {
4782
+ t instanceof HTMLElement ? e.appendChild(t) : typeof t == "object" ? fd(t, e) : t && Le(e, t);
4783
+ }, fd = (t, e) => {
4784
+ t.jquery ? pd(e, t) : Le(e, t.toString());
4785
+ }, pd = (t, e) => {
5121
4786
  if (t.textContent = "", 0 in e)
5122
4787
  for (let n = 0; n in e; n++)
5123
4788
  t.appendChild(e[n].cloneNode(!0));
5124
4789
  else
5125
4790
  t.appendChild(e.cloneNode(!0));
5126
- }, Rd = (t, e) => {
4791
+ }, hd = (t, e) => {
5127
4792
  const n = Bn(), r = en();
5128
- !n || !r || (!e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? ve(n) : ce(n), Pe(n, e, "actions"), Nd(n, r, e), Le(r, e.loaderHtml || ""), Pe(r, e, "loader"));
4793
+ !n || !r || (!e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? ve(n) : ce(n), Pe(n, e, "actions"), gd(n, r, e), Le(r, e.loaderHtml || ""), Pe(r, e, "loader"));
5129
4794
  };
5130
- function Nd(t, e, n) {
4795
+ function gd(t, e, n) {
5131
4796
  const r = Ze(), o = Ot(), a = Qt();
5132
- !r || !o || !a || (Dr(r, "confirm", n), Dr(o, "deny", n), Dr(a, "cancel", n), jd(r, o, a, n), n.reverseButtons && (n.toast ? (t.insertBefore(a, r), t.insertBefore(o, r)) : (t.insertBefore(a, e), t.insertBefore(o, e), t.insertBefore(r, e))));
4797
+ !r || !o || !a || (Dr(r, "confirm", n), Dr(o, "deny", n), Dr(a, "cancel", n), vd(r, o, a, n), n.reverseButtons && (n.toast ? (t.insertBefore(a, r), t.insertBefore(o, r)) : (t.insertBefore(a, e), t.insertBefore(o, e), t.insertBefore(r, e))));
5133
4798
  }
5134
- function jd(t, e, n, r) {
4799
+ function vd(t, e, n, r) {
5135
4800
  if (!r.buttonsStyling) {
5136
4801
  De([t, e, n], h.styled);
5137
4802
  return;
@@ -5152,36 +4817,36 @@ function Dr(t, e, n) {
5152
4817
  );
5153
4818
  Mn(t, n[`show${r}Button`], "inline-block"), Le(t, n[`${e}ButtonText`] || ""), t.setAttribute("aria-label", n[`${e}ButtonAriaLabel`] || ""), t.className = h[e], Pe(t, n, `${e}Button`);
5154
4819
  }
5155
- const Hd = (t, e) => {
4820
+ const bd = (t, e) => {
5156
4821
  const n = vo();
5157
4822
  n && (Le(n, e.closeButtonHtml || ""), Pe(n, e, "closeButton"), Mn(n, e.showCloseButton), n.setAttribute("aria-label", e.closeButtonAriaLabel || ""));
5158
- }, Fd = (t, e) => {
4823
+ }, wd = (t, e) => {
5159
4824
  const n = xe();
5160
- n && (zd(n, e.backdrop), Ud(n, e.position), Vd(n, e.grow), Pe(n, e, "container"));
4825
+ n && (yd(n, e.backdrop), kd(n, e.position), Cd(n, e.grow), Pe(n, e, "container"));
5161
4826
  };
5162
- function zd(t, e) {
4827
+ function yd(t, e) {
5163
4828
  typeof e == "string" ? t.style.background = e : e || U([document.documentElement, document.body], h["no-backdrop"]);
5164
4829
  }
5165
- function Ud(t, e) {
4830
+ function kd(t, e) {
5166
4831
  e && (e in h ? U(t, h[e]) : (Ce('The "position" parameter is not valid, defaulting to "center"'), U(t, h.center)));
5167
4832
  }
5168
- function Vd(t, e) {
4833
+ function Cd(t, e) {
5169
4834
  e && U(t, h[`grow-${e}`]);
5170
4835
  }
5171
4836
  var Y = {
5172
4837
  innerParams: /* @__PURE__ */ new WeakMap(),
5173
4838
  domCache: /* @__PURE__ */ new WeakMap()
5174
4839
  };
5175
- const Wd = ["input", "file", "range", "select", "radio", "checkbox", "textarea"], Kd = (t, e) => {
4840
+ const _d = ["input", "file", "range", "select", "radio", "checkbox", "textarea"], Sd = (t, e) => {
5176
4841
  const n = z();
5177
4842
  if (!n)
5178
4843
  return;
5179
4844
  const r = Y.innerParams.get(t), o = !r || e.input !== r.input;
5180
- Wd.forEach((a) => {
4845
+ _d.forEach((a) => {
5181
4846
  const l = gt(n, h[a]);
5182
- l && (Yd(a, e.inputAttributes), l.className = h[a], o && ve(l));
5183
- }), e.input && (o && Gd(e), Xd(e));
5184
- }, Gd = (t) => {
4847
+ l && (Id(a, e.inputAttributes), l.className = h[a], o && ve(l));
4848
+ }), e.input && (o && xd(e), Ad(e));
4849
+ }, xd = (t) => {
5185
4850
  if (!t.input)
5186
4851
  return;
5187
4852
  if (!re[t.input]) {
@@ -5195,22 +4860,22 @@ const Wd = ["input", "file", "range", "select", "radio", "checkbox", "textarea"]
5195
4860
  ce(e), t.inputAutoFocus && setTimeout(() => {
5196
4861
  bi(n);
5197
4862
  });
5198
- }, qd = (t) => {
4863
+ }, Td = (t) => {
5199
4864
  for (let e = 0; e < t.attributes.length; e++) {
5200
4865
  const n = t.attributes[e].name;
5201
4866
  ["id", "type", "value", "style"].includes(n) || t.removeAttribute(n);
5202
4867
  }
5203
- }, Yd = (t, e) => {
4868
+ }, Id = (t, e) => {
5204
4869
  const n = z();
5205
4870
  if (!n)
5206
4871
  return;
5207
4872
  const r = kr(n, t);
5208
4873
  if (r) {
5209
- qd(r);
4874
+ Td(r);
5210
4875
  for (const o in e)
5211
4876
  r.setAttribute(o, e[o]);
5212
4877
  }
5213
- }, Xd = (t) => {
4878
+ }, Ad = (t) => {
5214
4879
  if (!t.input)
5215
4880
  return;
5216
4881
  const e = ki(t.input);
@@ -5271,13 +4936,13 @@ re.textarea = (t, e) => {
5271
4936
  }
5272
4937
  }), t;
5273
4938
  };
5274
- const Zd = (t, e) => {
4939
+ const Ed = (t, e) => {
5275
4940
  const n = ho();
5276
- n && (yo(n), Pe(n, e, "htmlContainer"), e.html ? (Co(e.html, n), ce(n, "block")) : e.text ? (n.textContent = e.text, ce(n, "block")) : ve(n), Kd(t, e));
5277
- }, Jd = (t, e) => {
4941
+ n && (yo(n), Pe(n, e, "htmlContainer"), e.html ? (Co(e.html, n), ce(n, "block")) : e.text ? (n.textContent = e.text, ce(n, "block")) : ve(n), Sd(t, e));
4942
+ }, Pd = (t, e) => {
5278
4943
  const n = vi();
5279
4944
  n && (yo(n), Mn(n, !!e.footer, "block"), e.footer && Co(e.footer, n), Pe(n, e, "footer"));
5280
- }, Qd = (t, e) => {
4945
+ }, $d = (t, e) => {
5281
4946
  const n = Y.innerParams.get(t), r = Jt();
5282
4947
  if (!r)
5283
4948
  return;
@@ -5297,7 +4962,7 @@ const Zd = (t, e) => {
5297
4962
  }, Ca = (t, e) => {
5298
4963
  for (const [n, r] of Object.entries(ir))
5299
4964
  e.icon !== n && De(t, r);
5300
- U(t, e.icon && ir[e.icon]), nm(t, e), Ci(), Pe(t, e, "icon");
4965
+ U(t, e.icon && ir[e.icon]), Bd(t, e), Ci(), Pe(t, e, "icon");
5301
4966
  }, Ci = () => {
5302
4967
  const t = z();
5303
4968
  if (!t)
@@ -5305,13 +4970,13 @@ const Zd = (t, e) => {
5305
4970
  const e = window.getComputedStyle(t).getPropertyValue("background-color"), n = t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");
5306
4971
  for (let r = 0; r < n.length; r++)
5307
4972
  n[r].style.backgroundColor = e;
5308
- }, em = (t) => `
4973
+ }, Ld = (t) => `
5309
4974
  ${t.animation ? '<div class="swal2-success-circular-line-left"></div>' : ""}
5310
4975
  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>
5311
4976
  <div class="swal2-success-ring"></div>
5312
4977
  ${t.animation ? '<div class="swal2-success-fix"></div>' : ""}
5313
4978
  ${t.animation ? '<div class="swal2-success-circular-line-right"></div>' : ""}
5314
- `, tm = `
4979
+ `, Od = `
5315
4980
  <span class="swal2-x-mark">
5316
4981
  <span class="swal2-x-mark-line-left"></span>
5317
4982
  <span class="swal2-x-mark-line-right"></span>
@@ -5320,19 +4985,19 @@ const Zd = (t, e) => {
5320
4985
  if (!e.icon && !e.iconHtml)
5321
4986
  return;
5322
4987
  let n = t.innerHTML, r = "";
5323
- e.iconHtml ? r = Sa(e.iconHtml) : e.icon === "success" ? (r = em(e), n = n.replace(/ style=".*?"/g, "")) : e.icon === "error" ? r = tm : e.icon && (r = Sa({
4988
+ e.iconHtml ? r = Sa(e.iconHtml) : e.icon === "success" ? (r = Ld(e), n = n.replace(/ style=".*?"/g, "")) : e.icon === "error" ? r = Od : e.icon && (r = Sa({
5324
4989
  question: "?",
5325
4990
  warning: "!",
5326
4991
  info: "i"
5327
4992
  }[e.icon])), n.trim() !== r.trim() && Le(t, r);
5328
- }, nm = (t, e) => {
4993
+ }, Bd = (t, e) => {
5329
4994
  if (e.iconColor) {
5330
4995
  t.style.color = e.iconColor, t.style.borderColor = e.iconColor;
5331
4996
  for (const n of [".swal2-success-line-tip", ".swal2-success-line-long", ".swal2-x-mark-line-left", ".swal2-x-mark-line-right"])
5332
4997
  ka(t, n, "background-color", e.iconColor);
5333
4998
  ka(t, ".swal2-success-ring", "border-color", e.iconColor);
5334
4999
  }
5335
- }, Sa = (t) => `<div class="${h["icon-content"]}">${t}</div>`, rm = (t, e) => {
5000
+ }, Sa = (t) => `<div class="${h["icon-content"]}">${t}</div>`, Md = (t, e) => {
5336
5001
  const n = gi();
5337
5002
  if (n) {
5338
5003
  if (!e.imageUrl) {
@@ -5343,9 +5008,9 @@ const Zd = (t, e) => {
5343
5008
  }
5344
5009
  };
5345
5010
  let So = !1, _i = 0, Si = 0, xi = 0, Ti = 0;
5346
- const om = (t) => {
5011
+ const Dd = (t) => {
5347
5012
  t.addEventListener("mousedown", lr), document.body.addEventListener("mousemove", cr), t.addEventListener("mouseup", ur), t.addEventListener("touchstart", lr), document.body.addEventListener("touchmove", cr), t.addEventListener("touchend", ur);
5348
- }, am = (t) => {
5013
+ }, Rd = (t) => {
5349
5014
  t.removeEventListener("mousedown", lr), document.body.removeEventListener("mousemove", cr), t.removeEventListener("mouseup", ur), t.removeEventListener("touchstart", lr), document.body.removeEventListener("touchmove", cr), t.removeEventListener("touchend", ur);
5350
5015
  }, lr = (t) => {
5351
5016
  const e = z();
@@ -5379,7 +5044,7 @@ const om = (t) => {
5379
5044
  clientX: e,
5380
5045
  clientY: n
5381
5046
  };
5382
- }, im = (t, e) => {
5047
+ }, Nd = (t, e) => {
5383
5048
  const n = xe(), r = z();
5384
5049
  if (!(!n || !r)) {
5385
5050
  if (e.toast) {
@@ -5388,12 +5053,12 @@ const om = (t) => {
5388
5053
  o && r.insertBefore(o, Jt());
5389
5054
  } else
5390
5055
  Tt(r, "width", e.width);
5391
- Tt(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), ve(br()), sm(r, e), e.draggable && !e.toast ? (U(r, h.draggable), om(r)) : (De(r, h.draggable), am(r));
5056
+ Tt(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), ve(br()), jd(r, e), e.draggable && !e.toast ? (U(r, h.draggable), Dd(r)) : (De(r, h.draggable), Rd(r));
5392
5057
  }
5393
- }, sm = (t, e) => {
5058
+ }, jd = (t, e) => {
5394
5059
  const n = e.showClass || {};
5395
5060
  t.className = `${h.popup} ${Ae(t) ? n.popup : ""}`, e.toast ? (U([document.documentElement, document.body], h["toast-shown"]), U(t, h.toast)) : U(t, h.modal), Pe(t, e, "popup"), typeof e.customClass == "string" && U(t, e.customClass), e.icon && U(t, h[`icon-${e.icon}`]);
5396
- }, lm = (t, e) => {
5061
+ }, Hd = (t, e) => {
5397
5062
  const n = go();
5398
5063
  if (!n)
5399
5064
  return;
@@ -5406,32 +5071,32 @@ const om = (t) => {
5406
5071
  return;
5407
5072
  }
5408
5073
  ce(n), n.textContent = "", o >= r.length && Ce("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"), r.forEach((a, l) => {
5409
- const s = cm(a);
5074
+ const s = Fd(a);
5410
5075
  if (n.appendChild(s), l === o && U(s, h["active-progress-step"]), l !== r.length - 1) {
5411
- const i = um(e);
5076
+ const i = zd(e);
5412
5077
  n.appendChild(i);
5413
5078
  }
5414
5079
  });
5415
- }, cm = (t) => {
5080
+ }, Fd = (t) => {
5416
5081
  const e = document.createElement("li");
5417
5082
  return U(e, h["progress-step"]), Le(e, t), e;
5418
- }, um = (t) => {
5083
+ }, zd = (t) => {
5419
5084
  const e = document.createElement("li");
5420
5085
  return U(e, h["progress-step-line"]), t.progressStepsDistance && Tt(e, "width", t.progressStepsDistance), e;
5421
- }, dm = (t, e) => {
5086
+ }, Ud = (t, e) => {
5422
5087
  const n = hi();
5423
5088
  n && (yo(n), Mn(n, !!(e.title || e.titleText), "block"), e.title && Co(e.title, n), e.titleText && (n.innerText = e.titleText), Pe(n, e, "title"));
5424
5089
  }, Ai = (t, e) => {
5425
- im(t, e), Fd(t, e), lm(t, e), Qd(t, e), rm(t, e), dm(t, e), Hd(t, e), Zd(t, e), Rd(t, e), Jd(t, e);
5090
+ Nd(t, e), wd(t, e), Hd(t, e), $d(t, e), Md(t, e), Ud(t, e), bd(t, e), Ed(t, e), hd(t, e), Pd(t, e);
5426
5091
  const n = z();
5427
5092
  typeof e.didRender == "function" && n && e.didRender(n), E.eventEmitter.emit("didRender", n);
5428
- }, mm = () => Ae(z()), Ei = () => {
5093
+ }, Vd = () => Ae(z()), Ei = () => {
5429
5094
  var t;
5430
5095
  return (t = Ze()) === null || t === void 0 ? void 0 : t.click();
5431
- }, fm = () => {
5096
+ }, Wd = () => {
5432
5097
  var t;
5433
5098
  return (t = Ot()) === null || t === void 0 ? void 0 : t.click();
5434
- }, pm = () => {
5099
+ }, Kd = () => {
5435
5100
  var t;
5436
5101
  return (t = Qt()) === null || t === void 0 ? void 0 : t.click();
5437
5102
  }, tn = Object.freeze({
@@ -5444,8 +5109,8 @@ const om = (t) => {
5444
5109
  t.keydownTarget && t.keydownHandlerAdded && (t.keydownTarget.removeEventListener("keydown", t.keydownHandler, {
5445
5110
  capture: t.keydownListenerCapture
5446
5111
  }), t.keydownHandlerAdded = !1);
5447
- }, hm = (t, e, n) => {
5448
- Pi(t), e.toast || (t.keydownHandler = (r) => vm(e, r, n), t.keydownTarget = e.keydownListenerCapture ? window : z(), t.keydownListenerCapture = e.keydownListenerCapture, t.keydownTarget.addEventListener("keydown", t.keydownHandler, {
5112
+ }, Gd = (t, e, n) => {
5113
+ Pi(t), e.toast || (t.keydownHandler = (r) => Yd(e, r, n), t.keydownTarget = e.keydownListenerCapture ? window : z(), t.keydownListenerCapture = e.keydownListenerCapture, t.keydownTarget.addEventListener("keydown", t.keydownHandler, {
5449
5114
  capture: t.keydownListenerCapture
5450
5115
  }), t.keydownHandlerAdded = !0);
5451
5116
  }, Qr = (t, e) => {
@@ -5456,9 +5121,9 @@ const om = (t) => {
5456
5121
  return;
5457
5122
  }
5458
5123
  (n = z()) === null || n === void 0 || n.focus();
5459
- }, $i = ["ArrowRight", "ArrowDown"], gm = ["ArrowLeft", "ArrowUp"], vm = (t, e, n) => {
5460
- t && (e.isComposing || e.keyCode === 229 || (t.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? bm(e, t) : e.key === "Tab" ? wm(e) : [...$i, ...gm].includes(e.key) ? ym(e.key) : e.key === "Escape" && km(e, t, n)));
5461
- }, bm = (t, e) => {
5124
+ }, $i = ["ArrowRight", "ArrowDown"], qd = ["ArrowLeft", "ArrowUp"], Yd = (t, e, n) => {
5125
+ t && (e.isComposing || e.keyCode === 229 || (t.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? Xd(e, t) : e.key === "Tab" ? Zd(e) : [...$i, ...qd].includes(e.key) ? Jd(e.key) : e.key === "Escape" && Qd(e, t, n)));
5126
+ }, Xd = (t, e) => {
5462
5127
  if (!vr(e.allowEnterKey))
5463
5128
  return;
5464
5129
  const n = kr(z(), e.input);
@@ -5467,7 +5132,7 @@ const om = (t) => {
5467
5132
  return;
5468
5133
  Ei(), t.preventDefault();
5469
5134
  }
5470
- }, wm = (t) => {
5135
+ }, Zd = (t) => {
5471
5136
  const e = t.target, n = bo();
5472
5137
  let r = -1;
5473
5138
  for (let o = 0; o < n.length; o++)
@@ -5476,7 +5141,7 @@ const om = (t) => {
5476
5141
  break;
5477
5142
  }
5478
5143
  t.shiftKey ? Qr(r, -1) : Qr(r, 1), t.stopPropagation(), t.preventDefault();
5479
- }, ym = (t) => {
5144
+ }, Jd = (t) => {
5480
5145
  const e = Bn(), n = Ze(), r = Ot(), o = Qt();
5481
5146
  if (!e || !n || !r || !o)
5482
5147
  return;
@@ -5494,14 +5159,14 @@ const om = (t) => {
5494
5159
  }
5495
5160
  s instanceof HTMLButtonElement && s.focus();
5496
5161
  }
5497
- }, km = (t, e, n) => {
5162
+ }, Qd = (t, e, n) => {
5498
5163
  t.preventDefault(), vr(e.allowEscapeKey) && n(tn.esc);
5499
5164
  };
5500
5165
  var Yt = {
5501
5166
  swalPromiseResolve: /* @__PURE__ */ new WeakMap(),
5502
5167
  swalPromiseReject: /* @__PURE__ */ new WeakMap()
5503
5168
  };
5504
- const Cm = () => {
5169
+ const em = () => {
5505
5170
  const t = xe();
5506
5171
  Array.from(document.body.children).forEach((n) => {
5507
5172
  n.contains(t) || (n.hasAttribute("aria-hidden") && n.setAttribute("data-previous-aria-hidden", n.getAttribute("aria-hidden") || ""), n.setAttribute("aria-hidden", "true"));
@@ -5510,57 +5175,57 @@ const Cm = () => {
5510
5175
  Array.from(document.body.children).forEach((e) => {
5511
5176
  e.hasAttribute("data-previous-aria-hidden") ? (e.setAttribute("aria-hidden", e.getAttribute("data-previous-aria-hidden") || ""), e.removeAttribute("data-previous-aria-hidden")) : e.removeAttribute("aria-hidden");
5512
5177
  });
5513
- }, Oi = typeof window < "u" && !!window.GestureEvent, _m = () => {
5178
+ }, Oi = typeof window < "u" && !!window.GestureEvent, tm = () => {
5514
5179
  if (Oi && !lt(document.body, h.iosfix)) {
5515
5180
  const t = document.body.scrollTop;
5516
- document.body.style.top = `${t * -1}px`, U(document.body, h.iosfix), Sm();
5181
+ document.body.style.top = `${t * -1}px`, U(document.body, h.iosfix), nm();
5517
5182
  }
5518
- }, Sm = () => {
5183
+ }, nm = () => {
5519
5184
  const t = xe();
5520
5185
  if (!t)
5521
5186
  return;
5522
5187
  let e;
5523
5188
  t.ontouchstart = (n) => {
5524
- e = xm(n);
5189
+ e = rm(n);
5525
5190
  }, t.ontouchmove = (n) => {
5526
5191
  e && (n.preventDefault(), n.stopPropagation());
5527
5192
  };
5528
- }, xm = (t) => {
5193
+ }, rm = (t) => {
5529
5194
  const e = t.target, n = xe(), r = ho();
5530
- return !n || !r || Tm(t) || Im(t) ? !1 : e === n || !Jr(n) && e instanceof HTMLElement && !xd(e, r) && // #2823
5195
+ return !n || !r || om(t) || am(t) ? !1 : e === n || !Jr(n) && e instanceof HTMLElement && !rd(e, r) && // #2823
5531
5196
  e.tagName !== "INPUT" && // #1603
5532
5197
  e.tagName !== "TEXTAREA" && // #2266
5533
5198
  !(Jr(r) && // #1944
5534
5199
  r.contains(e));
5535
- }, Tm = (t) => t.touches && t.touches.length && t.touches[0].touchType === "stylus", Im = (t) => t.touches && t.touches.length > 1, Am = () => {
5200
+ }, om = (t) => t.touches && t.touches.length && t.touches[0].touchType === "stylus", am = (t) => t.touches && t.touches.length > 1, im = () => {
5536
5201
  if (lt(document.body, h.iosfix)) {
5537
5202
  const t = parseInt(document.body.style.top, 10);
5538
5203
  De(document.body, h.iosfix), document.body.style.top = "", document.body.scrollTop = t * -1;
5539
5204
  }
5540
- }, Em = () => {
5205
+ }, sm = () => {
5541
5206
  const t = document.createElement("div");
5542
5207
  t.className = h["scrollbar-measure"], document.body.appendChild(t);
5543
5208
  const e = t.getBoundingClientRect().width - t.clientWidth;
5544
5209
  return document.body.removeChild(t), e;
5545
5210
  };
5546
5211
  let Kt = null;
5547
- const Pm = (t) => {
5548
- Kt === null && (document.body.scrollHeight > window.innerHeight || t === "scroll") && (Kt = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")), document.body.style.paddingRight = `${Kt + Em()}px`);
5549
- }, $m = () => {
5212
+ const lm = (t) => {
5213
+ Kt === null && (document.body.scrollHeight > window.innerHeight || t === "scroll") && (Kt = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")), document.body.style.paddingRight = `${Kt + sm()}px`);
5214
+ }, cm = () => {
5550
5215
  Kt !== null && (document.body.style.paddingRight = `${Kt}px`, Kt = null);
5551
5216
  };
5552
5217
  function Bi(t, e, n, r) {
5553
- yr() ? xa(t, r) : (hd(n).then(() => xa(t, r)), Pi(E)), Oi ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), wo() && ($m(), Am(), Li()), Lm();
5218
+ yr() ? xa(t, r) : (Gu(n).then(() => xa(t, r)), Pi(E)), Oi ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), wo() && (cm(), im(), Li()), um();
5554
5219
  }
5555
- function Lm() {
5220
+ function um() {
5556
5221
  De([document.documentElement, document.body], [h.shown, h["height-auto"], h["no-backdrop"], h["toast-shown"]]);
5557
5222
  }
5558
5223
  function vt(t) {
5559
- t = Bm(t);
5560
- const e = Yt.swalPromiseResolve.get(this), n = Om(this);
5224
+ t = mm(t);
5225
+ const e = Yt.swalPromiseResolve.get(this), n = dm(this);
5561
5226
  this.isAwaitingPromise ? t.isDismissed || (Rn(this), e(t)) : n && e(t);
5562
5227
  }
5563
- const Om = (t) => {
5228
+ const dm = (t) => {
5564
5229
  const e = z();
5565
5230
  if (!e)
5566
5231
  return !1;
@@ -5569,7 +5234,7 @@ const Om = (t) => {
5569
5234
  return !1;
5570
5235
  De(e, n.showClass.popup), U(e, n.hideClass.popup);
5571
5236
  const r = xe();
5572
- return De(r, n.showClass.backdrop), U(r, n.hideClass.backdrop), Mm(t, e, n), !0;
5237
+ return De(r, n.showClass.backdrop), U(r, n.hideClass.backdrop), fm(t, e, n), !0;
5573
5238
  };
5574
5239
  function Mi(t) {
5575
5240
  const e = Yt.swalPromiseReject.get(this);
@@ -5577,7 +5242,7 @@ function Mi(t) {
5577
5242
  }
5578
5243
  const Rn = (t) => {
5579
5244
  t.isAwaitingPromise && (delete t.isAwaitingPromise, Y.innerParams.get(t) || t._destroy());
5580
- }, Bm = (t) => typeof t > "u" ? {
5245
+ }, mm = (t) => typeof t > "u" ? {
5581
5246
  isConfirmed: !1,
5582
5247
  isDenied: !1,
5583
5248
  isDismissed: !0
@@ -5585,11 +5250,11 @@ const Rn = (t) => {
5585
5250
  isConfirmed: !1,
5586
5251
  isDenied: !1,
5587
5252
  isDismissed: !1
5588
- }, t), Mm = (t, e, n) => {
5253
+ }, t), fm = (t, e, n) => {
5589
5254
  var r;
5590
5255
  const o = xe(), a = yi(e);
5591
- typeof n.willClose == "function" && n.willClose(e), (r = E.eventEmitter) === null || r === void 0 || r.emit("willClose", e), a ? Dm(t, e, o, n.returnFocus, n.didClose) : Bi(t, o, n.returnFocus, n.didClose);
5592
- }, Dm = (t, e, n, r, o) => {
5256
+ typeof n.willClose == "function" && n.willClose(e), (r = E.eventEmitter) === null || r === void 0 || r.emit("willClose", e), a ? pm(t, e, o, n.returnFocus, n.didClose) : Bi(t, o, n.returnFocus, n.didClose);
5257
+ }, pm = (t, e, n, r, o) => {
5593
5258
  E.swalCloseEventFinishedCallback = Bi.bind(null, t, n, r, o);
5594
5259
  const a = function(l) {
5595
5260
  if (l.target === e) {
@@ -5608,37 +5273,37 @@ const Rn = (t) => {
5608
5273
  if (e || new Pt(), e = z(), !e)
5609
5274
  return;
5610
5275
  const n = en();
5611
- yr() ? ve(Jt()) : Rm(e, t), ce(n), e.setAttribute("data-loading", "true"), e.setAttribute("aria-busy", "true"), e.focus();
5612
- }, Rm = (t, e) => {
5276
+ yr() ? ve(Jt()) : hm(e, t), ce(n), e.setAttribute("data-loading", "true"), e.setAttribute("aria-busy", "true"), e.focus();
5277
+ }, hm = (t, e) => {
5613
5278
  const n = Bn(), r = en();
5614
5279
  !n || !r || (!e && Ae(Ze()) && (e = Ze()), ce(n), e && (ve(e), r.setAttribute("data-button-to-replace", e.className), n.insertBefore(r, e)), U([t, n], h.loading));
5615
- }, Nm = (t, e) => {
5616
- e.input === "select" || e.input === "radio" ? Um(t, e) : ["text", "email", "number", "tel", "textarea"].some((n) => n === e.input) && (fo(e.inputValue) || po(e.inputValue)) && (Xt(Ze()), Vm(t, e));
5617
- }, jm = (t, e) => {
5280
+ }, gm = (t, e) => {
5281
+ e.input === "select" || e.input === "radio" ? km(t, e) : ["text", "email", "number", "tel", "textarea"].some((n) => n === e.input) && (fo(e.inputValue) || po(e.inputValue)) && (Xt(Ze()), Cm(t, e));
5282
+ }, vm = (t, e) => {
5618
5283
  const n = t.getInput();
5619
5284
  if (!n)
5620
5285
  return null;
5621
5286
  switch (e.input) {
5622
5287
  case "checkbox":
5623
- return Hm(n);
5288
+ return bm(n);
5624
5289
  case "radio":
5625
- return Fm(n);
5290
+ return wm(n);
5626
5291
  case "file":
5627
- return zm(n);
5292
+ return ym(n);
5628
5293
  default:
5629
5294
  return e.inputAutoTrim ? n.value.trim() : n.value;
5630
5295
  }
5631
- }, Hm = (t) => t.checked ? 1 : 0, Fm = (t) => t.checked ? t.value : null, zm = (t) => t.files && t.files.length ? t.getAttribute("multiple") !== null ? t.files : t.files[0] : null, Um = (t, e) => {
5296
+ }, bm = (t) => t.checked ? 1 : 0, wm = (t) => t.checked ? t.value : null, ym = (t) => t.files && t.files.length ? t.getAttribute("multiple") !== null ? t.files : t.files[0] : null, km = (t, e) => {
5632
5297
  const n = z();
5633
5298
  if (!n)
5634
5299
  return;
5635
5300
  const r = (o) => {
5636
- e.input === "select" ? Wm(n, dr(o), e) : e.input === "radio" && Km(n, dr(o), e);
5301
+ e.input === "select" ? _m(n, dr(o), e) : e.input === "radio" && Sm(n, dr(o), e);
5637
5302
  };
5638
5303
  fo(e.inputOptions) || po(e.inputOptions) ? (Xt(Ze()), Ln(e.inputOptions).then((o) => {
5639
5304
  t.hideLoading(), r(o);
5640
5305
  })) : typeof e.inputOptions == "object" ? r(e.inputOptions) : Lt(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof e.inputOptions}`);
5641
- }, Vm = (t, e) => {
5306
+ }, Cm = (t, e) => {
5642
5307
  const n = t.getInput();
5643
5308
  n && (ve(n), Ln(e.inputValue).then((r) => {
5644
5309
  n.value = e.input === "number" ? `${parseFloat(r) || 0}` : `${r}`, ce(n), n.focus(), t.hideLoading();
@@ -5646,7 +5311,7 @@ const Rn = (t) => {
5646
5311
  Lt(`Error in inputValue promise: ${r}`), n.value = "", ce(n), n.focus(), t.hideLoading();
5647
5312
  }));
5648
5313
  };
5649
- function Wm(t, e, n) {
5314
+ function _m(t, e, n) {
5650
5315
  const r = gt(t, h.select);
5651
5316
  if (!r)
5652
5317
  return;
@@ -5663,7 +5328,7 @@ function Wm(t, e, n) {
5663
5328
  o(r, s, l);
5664
5329
  }), r.focus();
5665
5330
  }
5666
- function Km(t, e, n) {
5331
+ function Sm(t, e, n) {
5667
5332
  const r = gt(t, h.radio);
5668
5333
  if (!r)
5669
5334
  return;
@@ -5685,13 +5350,13 @@ const dr = (t) => {
5685
5350
  let r = t[n];
5686
5351
  typeof r == "object" && (r = dr(r)), e.push([n, r]);
5687
5352
  }), e;
5688
- }, Di = (t, e) => !!e && e.toString() === t.toString(), Gm = (t) => {
5353
+ }, Di = (t, e) => !!e && e.toString() === t.toString(), xm = (t) => {
5689
5354
  const e = Y.innerParams.get(t);
5690
5355
  t.disableButtons(), e.input ? Ri(t, "confirm") : To(t, !0);
5691
- }, qm = (t) => {
5356
+ }, Tm = (t) => {
5692
5357
  const e = Y.innerParams.get(t);
5693
5358
  t.disableButtons(), e.returnInputValueOnDeny ? Ri(t, "deny") : xo(t, !1);
5694
- }, Ym = (t, e) => {
5359
+ }, Im = (t, e) => {
5695
5360
  t.disableButtons(), e(tn.cancel);
5696
5361
  }, Ri = (t, e) => {
5697
5362
  const n = Y.innerParams.get(t);
@@ -5699,9 +5364,9 @@ const dr = (t) => {
5699
5364
  Lt(`The "input" parameter is needed to be set when using returnInputValueOn${mo(e)}`);
5700
5365
  return;
5701
5366
  }
5702
- const r = t.getInput(), o = jm(t, n);
5703
- n.inputValidator ? Xm(t, o, e) : r && !r.checkValidity() ? (t.enableButtons(), t.showValidationMessage(n.validationMessage || r.validationMessage)) : e === "deny" ? xo(t, o) : To(t, o);
5704
- }, Xm = (t, e, n) => {
5367
+ const r = t.getInput(), o = vm(t, n);
5368
+ n.inputValidator ? Am(t, o, e) : r && !r.checkValidity() ? (t.enableButtons(), t.showValidationMessage(n.validationMessage || r.validationMessage)) : e === "deny" ? xo(t, o) : To(t, o);
5369
+ }, Am = (t, e, n) => {
5705
5370
  const r = Y.innerParams.get(t);
5706
5371
  t.disableInput(), Promise.resolve().then(() => Ln(r.inputValidator(e, r.validationMessage))).then((a) => {
5707
5372
  t.enableButtons(), t.enableInput(), a ? t.showValidationMessage(a) : n === "deny" ? xo(t, e) : To(t, e);
@@ -5744,11 +5409,11 @@ function mr() {
5744
5409
  if (!t)
5745
5410
  return;
5746
5411
  const e = Y.domCache.get(this);
5747
- ve(e.loader), yr() ? t.icon && ce(Jt()) : Zm(e), De([e.popup, e.actions], h.loading), e.popup.removeAttribute("aria-busy"), e.popup.removeAttribute("data-loading"), e.confirmButton.disabled = !1, e.denyButton.disabled = !1, e.cancelButton.disabled = !1;
5412
+ ve(e.loader), yr() ? t.icon && ce(Jt()) : Em(e), De([e.popup, e.actions], h.loading), e.popup.removeAttribute("aria-busy"), e.popup.removeAttribute("data-loading"), e.confirmButton.disabled = !1, e.denyButton.disabled = !1, e.cancelButton.disabled = !1;
5748
5413
  }
5749
- const Zm = (t) => {
5414
+ const Em = (t) => {
5750
5415
  const e = t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));
5751
- e.length ? ce(e[0], "inline-block") : Sd() && ve(t.actions);
5416
+ e.length ? ce(e[0], "inline-block") : nd() && ve(t.actions);
5752
5417
  };
5753
5418
  function ji() {
5754
5419
  const t = Y.innerParams.get(this), e = Y.domCache.get(this);
@@ -5887,19 +5552,19 @@ const Gt = {
5887
5552
  didDestroy: void 0,
5888
5553
  scrollbarPadding: !0,
5889
5554
  topLayer: !1
5890
- }, Jm = ["allowEscapeKey", "allowOutsideClick", "background", "buttonsStyling", "cancelButtonAriaLabel", "cancelButtonColor", "cancelButtonText", "closeButtonAriaLabel", "closeButtonHtml", "color", "confirmButtonAriaLabel", "confirmButtonColor", "confirmButtonText", "currentProgressStep", "customClass", "denyButtonAriaLabel", "denyButtonColor", "denyButtonText", "didClose", "didDestroy", "draggable", "footer", "hideClass", "html", "icon", "iconColor", "iconHtml", "imageAlt", "imageHeight", "imageUrl", "imageWidth", "preConfirm", "preDeny", "progressSteps", "returnFocus", "reverseButtons", "showCancelButton", "showCloseButton", "showConfirmButton", "showDenyButton", "text", "title", "titleText", "theme", "willClose"], Qm = {
5555
+ }, Pm = ["allowEscapeKey", "allowOutsideClick", "background", "buttonsStyling", "cancelButtonAriaLabel", "cancelButtonColor", "cancelButtonText", "closeButtonAriaLabel", "closeButtonHtml", "color", "confirmButtonAriaLabel", "confirmButtonColor", "confirmButtonText", "currentProgressStep", "customClass", "denyButtonAriaLabel", "denyButtonColor", "denyButtonText", "didClose", "didDestroy", "draggable", "footer", "hideClass", "html", "icon", "iconColor", "iconHtml", "imageAlt", "imageHeight", "imageUrl", "imageWidth", "preConfirm", "preDeny", "progressSteps", "returnFocus", "reverseButtons", "showCancelButton", "showCloseButton", "showConfirmButton", "showDenyButton", "text", "title", "titleText", "theme", "willClose"], $m = {
5891
5556
  allowEnterKey: void 0
5892
- }, ef = ["allowOutsideClick", "allowEnterKey", "backdrop", "draggable", "focusConfirm", "focusDeny", "focusCancel", "returnFocus", "heightAuto", "keydownListenerCapture"], qi = (t) => Object.prototype.hasOwnProperty.call(Gt, t), Yi = (t) => Jm.indexOf(t) !== -1, Xi = (t) => Qm[t], tf = (t) => {
5557
+ }, Lm = ["allowOutsideClick", "allowEnterKey", "backdrop", "draggable", "focusConfirm", "focusDeny", "focusCancel", "returnFocus", "heightAuto", "keydownListenerCapture"], qi = (t) => Object.prototype.hasOwnProperty.call(Gt, t), Yi = (t) => Pm.indexOf(t) !== -1, Xi = (t) => $m[t], Om = (t) => {
5893
5558
  qi(t) || Ce(`Unknown parameter "${t}"`);
5894
- }, nf = (t) => {
5895
- ef.includes(t) && Ce(`The parameter "${t}" is incompatible with toasts`);
5896
- }, rf = (t) => {
5559
+ }, Bm = (t) => {
5560
+ Lm.includes(t) && Ce(`The parameter "${t}" is incompatible with toasts`);
5561
+ }, Mm = (t) => {
5897
5562
  const e = Xi(t);
5898
5563
  e && pi(t, e);
5899
5564
  }, Zi = (t) => {
5900
5565
  t.backdrop === !1 && t.allowOutsideClick && Ce('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'), t.theme && !["light", "dark", "auto", "minimal", "borderless", "bootstrap-4", "bootstrap-4-light", "bootstrap-4-dark", "bootstrap-5", "bootstrap-5-light", "bootstrap-5-dark", "material-ui", "material-ui-light", "material-ui-dark", "embed-iframe", "bulma", "bulma-light", "bulma-dark"].includes(t.theme) && Ce(`Invalid theme "${t.theme}"`);
5901
5566
  for (const e in t)
5902
- tf(e), t.toast && nf(e), rf(e);
5567
+ Om(e), t.toast && Bm(e), Mm(e);
5903
5568
  };
5904
5569
  function Ji(t) {
5905
5570
  const e = xe(), n = z(), r = Y.innerParams.get(this);
@@ -5907,7 +5572,7 @@ function Ji(t) {
5907
5572
  Ce("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");
5908
5573
  return;
5909
5574
  }
5910
- const o = of(t), a = Object.assign({}, r, o);
5575
+ const o = Dm(t), a = Object.assign({}, r, o);
5911
5576
  Zi(a), e.dataset.swal2Theme = a.theme, Ai(this, a), Y.innerParams.set(this, a), Object.defineProperties(this, {
5912
5577
  params: {
5913
5578
  value: Object.assign({}, this.params, t),
@@ -5916,7 +5581,7 @@ function Ji(t) {
5916
5581
  }
5917
5582
  });
5918
5583
  }
5919
- const of = (t) => {
5584
+ const Dm = (t) => {
5920
5585
  const e = {};
5921
5586
  return Object.keys(t).forEach((n) => {
5922
5587
  Yi(n) ? e[n] = t[n] : Ce(`Invalid parameter to update: ${n}`);
@@ -5928,9 +5593,9 @@ function Qi() {
5928
5593
  es(this);
5929
5594
  return;
5930
5595
  }
5931
- t.popup && E.swalCloseEventFinishedCallback && (E.swalCloseEventFinishedCallback(), delete E.swalCloseEventFinishedCallback), typeof e.didDestroy == "function" && e.didDestroy(), E.eventEmitter.emit("didDestroy"), af(this);
5596
+ t.popup && E.swalCloseEventFinishedCallback && (E.swalCloseEventFinishedCallback(), delete E.swalCloseEventFinishedCallback), typeof e.didDestroy == "function" && e.didDestroy(), E.eventEmitter.emit("didDestroy"), Rm(this);
5932
5597
  }
5933
- const af = (t) => {
5598
+ const Rm = (t) => {
5934
5599
  es(t), delete t.params, delete E.keydownHandler, delete E.keydownTarget, delete E.currentInstance;
5935
5600
  }, es = (t) => {
5936
5601
  t.isAwaitingPromise ? (Rr(Y, t), t.isAwaitingPromise = !0) : (Rr(Yt, t), Rr(Y, t), delete t.isAwaitingPromise, delete t.disableButtons, delete t.enableButtons, delete t.getInput, delete t.disableInput, delete t.enableInput, delete t.hideLoading, delete t.disableLoading, delete t.showValidationMessage, delete t.resetValidationMessage, delete t.close, delete t.closePopup, delete t.closeModal, delete t.closeToast, delete t.rejectPromise, delete t.update, delete t._destroy);
@@ -5938,7 +5603,7 @@ const af = (t) => {
5938
5603
  for (const n in t)
5939
5604
  t[n].delete(e);
5940
5605
  };
5941
- var sf = /* @__PURE__ */ Object.freeze({
5606
+ var Nm = /* @__PURE__ */ Object.freeze({
5942
5607
  __proto__: null,
5943
5608
  _destroy: Qi,
5944
5609
  close: vt,
@@ -5958,29 +5623,29 @@ var sf = /* @__PURE__ */ Object.freeze({
5958
5623
  showValidationMessage: Ki,
5959
5624
  update: Ji
5960
5625
  });
5961
- const lf = (t, e, n) => {
5962
- t.toast ? cf(t, e, n) : (df(e), mf(e), ff(t, e, n));
5963
- }, cf = (t, e, n) => {
5626
+ const jm = (t, e, n) => {
5627
+ t.toast ? Hm(t, e, n) : (zm(e), Um(e), Vm(t, e, n));
5628
+ }, Hm = (t, e, n) => {
5964
5629
  e.popup.onclick = () => {
5965
- t && (uf(t) || t.timer || t.input) || n(tn.close);
5630
+ t && (Fm(t) || t.timer || t.input) || n(tn.close);
5966
5631
  };
5967
- }, uf = (t) => !!(t.showConfirmButton || t.showDenyButton || t.showCancelButton || t.showCloseButton);
5632
+ }, Fm = (t) => !!(t.showConfirmButton || t.showDenyButton || t.showCancelButton || t.showCloseButton);
5968
5633
  let fr = !1;
5969
- const df = (t) => {
5634
+ const zm = (t) => {
5970
5635
  t.popup.onmousedown = () => {
5971
5636
  t.container.onmouseup = function(e) {
5972
5637
  t.container.onmouseup = () => {
5973
5638
  }, e.target === t.container && (fr = !0);
5974
5639
  };
5975
5640
  };
5976
- }, mf = (t) => {
5641
+ }, Um = (t) => {
5977
5642
  t.container.onmousedown = (e) => {
5978
5643
  e.target === t.container && e.preventDefault(), t.popup.onmouseup = function(n) {
5979
5644
  t.popup.onmouseup = () => {
5980
5645
  }, (n.target === t.popup || n.target instanceof HTMLElement && t.popup.contains(n.target)) && (fr = !0);
5981
5646
  };
5982
5647
  };
5983
- }, ff = (t, e, n) => {
5648
+ }, Vm = (t, e, n) => {
5984
5649
  e.container.onclick = (r) => {
5985
5650
  if (fr) {
5986
5651
  fr = !1;
@@ -5988,17 +5653,17 @@ const df = (t) => {
5988
5653
  }
5989
5654
  r.target === e.container && vr(t.allowOutsideClick) && n(tn.backdrop);
5990
5655
  };
5991
- }, pf = (t) => typeof t == "object" && t.jquery, Ia = (t) => t instanceof Element || pf(t), hf = (t) => {
5656
+ }, Wm = (t) => typeof t == "object" && t.jquery, Ia = (t) => t instanceof Element || Wm(t), Km = (t) => {
5992
5657
  const e = {};
5993
5658
  return typeof t[0] == "object" && !Ia(t[0]) ? Object.assign(e, t[0]) : ["title", "html", "icon"].forEach((n, r) => {
5994
5659
  const o = t[r];
5995
5660
  typeof o == "string" || Ia(o) ? e[n] = o : o !== void 0 && Lt(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof o}`);
5996
5661
  }), e;
5997
5662
  };
5998
- function gf(...t) {
5663
+ function Gm(...t) {
5999
5664
  return new this(...t);
6000
5665
  }
6001
- function vf(t) {
5666
+ function qm(t) {
6002
5667
  class e extends this {
6003
5668
  _main(r, o) {
6004
5669
  return super._main(r, Object.assign({}, t, o));
@@ -6006,29 +5671,29 @@ function vf(t) {
6006
5671
  }
6007
5672
  return e;
6008
5673
  }
6009
- const bf = () => E.timeout && E.timeout.getTimerLeft(), ts = () => {
5674
+ const Ym = () => E.timeout && E.timeout.getTimerLeft(), ts = () => {
6010
5675
  if (E.timeout)
6011
- return Td(), E.timeout.stop();
5676
+ return od(), E.timeout.stop();
6012
5677
  }, ns = () => {
6013
5678
  if (E.timeout) {
6014
5679
  const t = E.timeout.start();
6015
5680
  return ko(t), t;
6016
5681
  }
6017
- }, wf = () => {
5682
+ }, Xm = () => {
6018
5683
  const t = E.timeout;
6019
5684
  return t && (t.running ? ts() : ns());
6020
- }, yf = (t) => {
5685
+ }, Zm = (t) => {
6021
5686
  if (E.timeout) {
6022
5687
  const e = E.timeout.increase(t);
6023
5688
  return ko(e, !0), e;
6024
5689
  }
6025
- }, kf = () => !!(E.timeout && E.timeout.isRunning());
5690
+ }, Jm = () => !!(E.timeout && E.timeout.isRunning());
6026
5691
  let Aa = !1;
6027
5692
  const eo = {};
6028
- function Cf(t = "data-swal-template") {
6029
- eo[t] = this, Aa || (document.body.addEventListener("click", _f), Aa = !0);
5693
+ function Qm(t = "data-swal-template") {
5694
+ eo[t] = this, Aa || (document.body.addEventListener("click", ef), Aa = !0);
6030
5695
  }
6031
- const _f = (t) => {
5696
+ const ef = (t) => {
6032
5697
  for (let e = t.target; e && e !== document; e = e.parentNode)
6033
5698
  for (const n in eo) {
6034
5699
  const r = e.getAttribute(n);
@@ -6040,7 +5705,7 @@ const _f = (t) => {
6040
5705
  }
6041
5706
  }
6042
5707
  };
6043
- class Sf {
5708
+ class tf {
6044
5709
  constructor() {
6045
5710
  this.events = {};
6046
5711
  }
@@ -6105,27 +5770,27 @@ class Sf {
6105
5770
  this.events = {};
6106
5771
  }
6107
5772
  }
6108
- E.eventEmitter = new Sf();
6109
- const xf = (t, e) => {
5773
+ E.eventEmitter = new tf();
5774
+ const nf = (t, e) => {
6110
5775
  E.eventEmitter.on(t, e);
6111
- }, Tf = (t, e) => {
5776
+ }, rf = (t, e) => {
6112
5777
  E.eventEmitter.once(t, e);
6113
- }, If = (t, e) => {
5778
+ }, of = (t, e) => {
6114
5779
  if (!t) {
6115
5780
  E.eventEmitter.reset();
6116
5781
  return;
6117
5782
  }
6118
5783
  e ? E.eventEmitter.removeListener(t, e) : E.eventEmitter.removeAllListeners(t);
6119
5784
  };
6120
- var Af = /* @__PURE__ */ Object.freeze({
5785
+ var af = /* @__PURE__ */ Object.freeze({
6121
5786
  __proto__: null,
6122
- argsToParams: hf,
6123
- bindClickHandler: Cf,
6124
- clickCancel: pm,
5787
+ argsToParams: Km,
5788
+ bindClickHandler: Qm,
5789
+ clickCancel: Kd,
6125
5790
  clickConfirm: Ei,
6126
- clickDeny: fm,
5791
+ clickDeny: Wd,
6127
5792
  enableLoading: Xt,
6128
- fire: gf,
5793
+ fire: Gm,
6129
5794
  getActions: Bn,
6130
5795
  getCancelButton: Qt,
6131
5796
  getCloseButton: vo,
@@ -6136,33 +5801,33 @@ var Af = /* @__PURE__ */ Object.freeze({
6136
5801
  getFooter: vi,
6137
5802
  getHtmlContainer: ho,
6138
5803
  getIcon: Jt,
6139
- getIconContent: wd,
5804
+ getIconContent: Zu,
6140
5805
  getImage: gi,
6141
- getInputLabel: yd,
5806
+ getInputLabel: Ju,
6142
5807
  getLoader: en,
6143
5808
  getPopup: z,
6144
5809
  getProgressSteps: go,
6145
- getTimerLeft: bf,
5810
+ getTimerLeft: Ym,
6146
5811
  getTimerProgressBar: wr,
6147
5812
  getTitle: hi,
6148
5813
  getValidationMessage: br,
6149
- increaseTimer: yf,
5814
+ increaseTimer: Zm,
6150
5815
  isDeprecatedParameter: Xi,
6151
- isLoading: Cd,
6152
- isTimerRunning: kf,
5816
+ isLoading: ed,
5817
+ isTimerRunning: Jm,
6153
5818
  isUpdatableParameter: Yi,
6154
5819
  isValidParameter: qi,
6155
- isVisible: mm,
6156
- mixin: vf,
6157
- off: If,
6158
- on: xf,
6159
- once: Tf,
5820
+ isVisible: Vd,
5821
+ mixin: qm,
5822
+ off: of,
5823
+ on: nf,
5824
+ once: rf,
6160
5825
  resumeTimer: ns,
6161
5826
  showLoading: Xt,
6162
5827
  stopTimer: ts,
6163
- toggleTimer: wf
5828
+ toggleTimer: Xm
6164
5829
  });
6165
- class Ef {
5830
+ class sf {
6166
5831
  /**
6167
5832
  * @param {() => void} callback
6168
5833
  * @param {number} delay
@@ -6203,7 +5868,7 @@ class Ef {
6203
5868
  return this.running;
6204
5869
  }
6205
5870
  }
6206
- const rs = ["swal-title", "swal-html", "swal-footer"], Pf = (t) => {
5871
+ const rs = ["swal-title", "swal-html", "swal-footer"], lf = (t) => {
6207
5872
  const e = typeof t.template == "string" ? (
6208
5873
  /** @type {HTMLTemplateElement} */
6209
5874
  document.querySelector(t.template)
@@ -6211,8 +5876,8 @@ const rs = ["swal-title", "swal-html", "swal-footer"], Pf = (t) => {
6211
5876
  if (!e)
6212
5877
  return {};
6213
5878
  const n = e.content;
6214
- return Nf(n), Object.assign($f(n), Lf(n), Of(n), Bf(n), Mf(n), Df(n), Rf(n, rs));
6215
- }, $f = (t) => {
5879
+ return gf(n), Object.assign(cf(n), uf(n), df(n), mf(n), ff(n), pf(n), hf(n, rs));
5880
+ }, cf = (t) => {
6216
5881
  const e = {};
6217
5882
  return Array.from(t.querySelectorAll("swal-param")).forEach((r) => {
6218
5883
  Et(r, ["name", "value"]);
@@ -6222,7 +5887,7 @@ const rs = ["swal-title", "swal-html", "swal-footer"], Pf = (t) => {
6222
5887
  ), a = r.getAttribute("value");
6223
5888
  !o || !a || (typeof Gt[o] == "boolean" ? e[o] = a !== "false" : typeof Gt[o] == "object" ? e[o] = JSON.parse(a) : e[o] = a);
6224
5889
  }), e;
6225
- }, Lf = (t) => {
5890
+ }, uf = (t) => {
6226
5891
  const e = {};
6227
5892
  return Array.from(t.querySelectorAll("swal-function-param")).forEach((r) => {
6228
5893
  const o = (
@@ -6231,20 +5896,20 @@ const rs = ["swal-title", "swal-html", "swal-footer"], Pf = (t) => {
6231
5896
  ), a = r.getAttribute("value");
6232
5897
  !o || !a || (e[o] = new Function(`return ${a}`)());
6233
5898
  }), e;
6234
- }, Of = (t) => {
5899
+ }, df = (t) => {
6235
5900
  const e = {};
6236
5901
  return Array.from(t.querySelectorAll("swal-button")).forEach((r) => {
6237
5902
  Et(r, ["type", "color", "aria-label"]);
6238
5903
  const o = r.getAttribute("type");
6239
5904
  !o || !["confirm", "cancel", "deny"].includes(o) || (e[`${o}ButtonText`] = r.innerHTML, e[`show${mo(o)}Button`] = !0, r.hasAttribute("color") && (e[`${o}ButtonColor`] = r.getAttribute("color")), r.hasAttribute("aria-label") && (e[`${o}ButtonAriaLabel`] = r.getAttribute("aria-label")));
6240
5905
  }), e;
6241
- }, Bf = (t) => {
5906
+ }, mf = (t) => {
6242
5907
  const e = {}, n = t.querySelector("swal-image");
6243
5908
  return n && (Et(n, ["src", "width", "height", "alt"]), n.hasAttribute("src") && (e.imageUrl = n.getAttribute("src") || void 0), n.hasAttribute("width") && (e.imageWidth = n.getAttribute("width") || void 0), n.hasAttribute("height") && (e.imageHeight = n.getAttribute("height") || void 0), n.hasAttribute("alt") && (e.imageAlt = n.getAttribute("alt") || void 0)), e;
6244
- }, Mf = (t) => {
5909
+ }, ff = (t) => {
6245
5910
  const e = {}, n = t.querySelector("swal-icon");
6246
5911
  return n && (Et(n, ["type", "color"]), n.hasAttribute("type") && (e.icon = n.getAttribute("type")), n.hasAttribute("color") && (e.iconColor = n.getAttribute("color")), e.iconHtml = n.innerHTML), e;
6247
- }, Df = (t) => {
5912
+ }, pf = (t) => {
6248
5913
  const e = {}, n = t.querySelector("swal-input");
6249
5914
  n && (Et(n, ["type", "label", "placeholder", "value"]), e.input = n.getAttribute("type") || "text", n.hasAttribute("label") && (e.inputLabel = n.getAttribute("label")), n.hasAttribute("placeholder") && (e.inputPlaceholder = n.getAttribute("placeholder")), n.hasAttribute("value") && (e.inputValue = n.getAttribute("value")));
6250
5915
  const r = Array.from(t.querySelectorAll("swal-input-option"));
@@ -6256,14 +5921,14 @@ const rs = ["swal-title", "swal-html", "swal-footer"], Pf = (t) => {
6256
5921
  const l = o.innerHTML;
6257
5922
  e.inputOptions[a] = l;
6258
5923
  })), e;
6259
- }, Rf = (t, e) => {
5924
+ }, hf = (t, e) => {
6260
5925
  const n = {};
6261
5926
  for (const r in e) {
6262
5927
  const o = e[r], a = t.querySelector(o);
6263
5928
  a && (Et(a, []), n[o.replace(/^swal-/, "")] = a.innerHTML.trim());
6264
5929
  }
6265
5930
  return n;
6266
- }, Nf = (t) => {
5931
+ }, gf = (t) => {
6267
5932
  const e = rs.concat(["swal-param", "swal-function-param", "swal-button", "swal-image", "swal-icon", "swal-input", "swal-input-option"]);
6268
5933
  Array.from(t.children).forEach((n) => {
6269
5934
  const r = n.tagName.toLowerCase();
@@ -6273,26 +5938,26 @@ const rs = ["swal-title", "swal-html", "swal-footer"], Pf = (t) => {
6273
5938
  Array.from(t.attributes).forEach((n) => {
6274
5939
  e.indexOf(n.name) === -1 && Ce([`Unrecognized attribute "${n.name}" on <${t.tagName.toLowerCase()}>.`, `${e.length ? `Allowed attributes are: ${e.join(", ")}` : "To set the value, use HTML within the element."}`]);
6275
5940
  });
6276
- }, os = 10, jf = (t) => {
5941
+ }, os = 10, vf = (t) => {
6277
5942
  const e = xe(), n = z();
6278
5943
  typeof t.willOpen == "function" && t.willOpen(n), E.eventEmitter.emit("willOpen", n);
6279
5944
  const o = window.getComputedStyle(document.body).overflowY;
6280
- zf(e, n, t), setTimeout(() => {
6281
- Hf(e, n);
6282
- }, os), wo() && (Ff(e, t.scrollbarPadding, o), Cm()), !yr() && !E.previousActiveElement && (E.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), E.eventEmitter.emit("didOpen", n);
5945
+ yf(e, n, t), setTimeout(() => {
5946
+ bf(e, n);
5947
+ }, os), wo() && (wf(e, t.scrollbarPadding, o), em()), !yr() && !E.previousActiveElement && (E.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), E.eventEmitter.emit("didOpen", n);
6283
5948
  }, pr = (t) => {
6284
5949
  const e = z();
6285
5950
  if (t.target !== e)
6286
5951
  return;
6287
5952
  const n = xe();
6288
5953
  e.removeEventListener("animationend", pr), e.removeEventListener("transitionend", pr), n.style.overflowY = "auto", De(n, h["no-transition"]);
6289
- }, Hf = (t, e) => {
5954
+ }, bf = (t, e) => {
6290
5955
  yi(e) ? (t.style.overflowY = "hidden", e.addEventListener("animationend", pr), e.addEventListener("transitionend", pr)) : t.style.overflowY = "auto";
6291
- }, Ff = (t, e, n) => {
6292
- _m(), e && n !== "hidden" && Pm(n), setTimeout(() => {
5956
+ }, wf = (t, e, n) => {
5957
+ tm(), e && n !== "hidden" && lm(n), setTimeout(() => {
6293
5958
  t.scrollTop = 0;
6294
5959
  });
6295
- }, zf = (t, e, n) => {
5960
+ }, yf = (t, e, n) => {
6296
5961
  U(t, n.showClass.backdrop), n.animation ? (e.style.setProperty("opacity", "0", "important"), ce(e, "grid"), setTimeout(() => {
6297
5962
  U(e, n.showClass.popup), e.style.removeProperty("opacity");
6298
5963
  }, os)) : ce(e, "grid"), U([document.documentElement, document.body], h.shown), n.heightAuto && n.backdrop && !n.toast && U([document.documentElement, document.body], h["height-auto"]);
@@ -6311,17 +5976,17 @@ var Ea = {
6311
5976
  */
6312
5977
  url: (t, e) => /^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t) ? Promise.resolve() : Promise.resolve(e || "Invalid URL")
6313
5978
  };
6314
- function Uf(t) {
5979
+ function kf(t) {
6315
5980
  t.inputValidator || (t.input === "email" && (t.inputValidator = Ea.email), t.input === "url" && (t.inputValidator = Ea.url));
6316
5981
  }
6317
- function Vf(t) {
5982
+ function Cf(t) {
6318
5983
  (!t.target || typeof t.target == "string" && !document.querySelector(t.target) || typeof t.target != "string" && !t.target.appendChild) && (Ce('Target parameter is not valid, defaulting to "body"'), t.target = "body");
6319
5984
  }
6320
- function Wf(t) {
6321
- Uf(t), t.showLoaderOnConfirm && !t.preConfirm && Ce(`showLoaderOnConfirm is set to true, but preConfirm is not defined.
5985
+ function _f(t) {
5986
+ kf(t), t.showLoaderOnConfirm && !t.preConfirm && Ce(`showLoaderOnConfirm is set to true, but preConfirm is not defined.
6322
5987
  showLoaderOnConfirm should be used together with preConfirm, see usage example:
6323
- https://sweetalert2.github.io/#ajax-request`), Vf(t), typeof t.title == "string" && (t.title = t.title.split(`
6324
- `).join("<br />")), Bd(t);
5988
+ https://sweetalert2.github.io/#ajax-request`), Cf(t), typeof t.title == "string" && (t.title = t.title.split(`
5989
+ `).join("<br />")), md(t);
6325
5990
  }
6326
5991
  let Ge;
6327
5992
  var Zn = /* @__PURE__ */ new WeakMap();
@@ -6331,11 +5996,11 @@ class oe {
6331
5996
  * @this {SweetAlert}
6332
5997
  */
6333
5998
  constructor(...e) {
6334
- if (dd(this, Zn, void 0), typeof window > "u")
5999
+ if (Uu(this, Zn, void 0), typeof window > "u")
6335
6000
  return;
6336
6001
  Ge = this;
6337
6002
  const n = Object.freeze(this.constructor.argsToParams(e));
6338
- this.params = n, this.isAwaitingPromise = !1, md(Zn, this, this._main(Ge.params));
6003
+ this.params = n, this.isAwaitingPromise = !1, Vu(Zn, this, this._main(Ge.params));
6339
6004
  }
6340
6005
  _main(e, n = {}) {
6341
6006
  if (Zi(Object.assign({}, n, e)), E.currentInstance) {
@@ -6347,10 +6012,10 @@ class oe {
6347
6012
  }), wo() && Li();
6348
6013
  }
6349
6014
  E.currentInstance = Ge;
6350
- const r = Gf(e, n);
6351
- Wf(r), Object.freeze(r), E.timeout && (E.timeout.stop(), delete E.timeout), clearTimeout(E.restoreFocusTimeout);
6352
- const o = qf(Ge);
6353
- return Ai(Ge, r), Y.innerParams.set(Ge, r), Kf(Ge, o, r);
6015
+ const r = xf(e, n);
6016
+ _f(r), Object.freeze(r), E.timeout && (E.timeout.stop(), delete E.timeout), clearTimeout(E.restoreFocusTimeout);
6017
+ const o = Tf(Ge);
6018
+ return Ai(Ge, r), Y.innerParams.set(Ge, r), Sf(Ge, o, r);
6354
6019
  }
6355
6020
  // `catch` cannot be the name of a module export, so we define our thenable methods here instead
6356
6021
  then(e) {
@@ -6360,7 +6025,7 @@ class oe {
6360
6025
  return wa(Zn, this).finally(e);
6361
6026
  }
6362
6027
  }
6363
- const Kf = (t, e, n) => new Promise((r, o) => {
6028
+ const Sf = (t, e, n) => new Promise((r, o) => {
6364
6029
  const a = (l) => {
6365
6030
  t.close({
6366
6031
  isDismissed: !0,
@@ -6370,22 +6035,22 @@ const Kf = (t, e, n) => new Promise((r, o) => {
6370
6035
  });
6371
6036
  };
6372
6037
  Yt.swalPromiseResolve.set(t, r), Yt.swalPromiseReject.set(t, o), e.confirmButton.onclick = () => {
6373
- Gm(t);
6038
+ xm(t);
6374
6039
  }, e.denyButton.onclick = () => {
6375
- qm(t);
6040
+ Tm(t);
6376
6041
  }, e.cancelButton.onclick = () => {
6377
- Ym(t, a);
6042
+ Im(t, a);
6378
6043
  }, e.closeButton.onclick = () => {
6379
6044
  a(tn.close);
6380
- }, lf(n, e, a), hm(E, n, a), Nm(t, n), jf(n), Yf(E, n, a), Xf(e, n), setTimeout(() => {
6045
+ }, jm(n, e, a), Gd(E, n, a), gm(t, n), vf(n), If(E, n, a), Af(e, n), setTimeout(() => {
6381
6046
  e.container.scrollTop = 0;
6382
6047
  });
6383
- }), Gf = (t, e) => {
6384
- const n = Pf(t), r = Object.assign({}, Gt, e, n, t);
6048
+ }), xf = (t, e) => {
6049
+ const n = lf(t), r = Object.assign({}, Gt, e, n, t);
6385
6050
  return r.showClass = Object.assign({}, Gt.showClass, r.showClass), r.hideClass = Object.assign({}, Gt.hideClass, r.hideClass), r.animation === !1 && (r.showClass = {
6386
6051
  backdrop: "swal2-noanimation"
6387
6052
  }, r.hideClass = {}), r;
6388
- }, qf = (t) => {
6053
+ }, Tf = (t) => {
6389
6054
  const e = {
6390
6055
  popup: z(),
6391
6056
  container: xe(),
@@ -6399,28 +6064,28 @@ const Kf = (t, e, n) => new Promise((r, o) => {
6399
6064
  progressSteps: go()
6400
6065
  };
6401
6066
  return Y.domCache.set(t, e), e;
6402
- }, Yf = (t, e, n) => {
6067
+ }, If = (t, e, n) => {
6403
6068
  const r = wr();
6404
- ve(r), e.timer && (t.timeout = new Ef(() => {
6069
+ ve(r), e.timer && (t.timeout = new sf(() => {
6405
6070
  n("timer"), delete t.timeout;
6406
6071
  }, e.timer), e.timerProgressBar && (ce(r), Pe(r, e, "timerProgressBar"), setTimeout(() => {
6407
6072
  t.timeout && t.timeout.running && ko(e.timer);
6408
6073
  })));
6409
- }, Xf = (t, e) => {
6074
+ }, Af = (t, e) => {
6410
6075
  if (!e.toast) {
6411
6076
  if (!vr(e.allowEnterKey)) {
6412
- pi("allowEnterKey"), Qf();
6077
+ pi("allowEnterKey"), $f();
6413
6078
  return;
6414
6079
  }
6415
- Zf(t) || Jf(t, e) || Qr(-1, 1);
6080
+ Ef(t) || Pf(t, e) || Qr(-1, 1);
6416
6081
  }
6417
- }, Zf = (t) => {
6082
+ }, Ef = (t) => {
6418
6083
  const e = Array.from(t.popup.querySelectorAll("[autofocus]"));
6419
6084
  for (const n of e)
6420
6085
  if (n instanceof HTMLElement && Ae(n))
6421
6086
  return n.focus(), !0;
6422
6087
  return !1;
6423
- }, Jf = (t, e) => e.focusDeny && Ae(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && Ae(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && Ae(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, Qf = () => {
6088
+ }, Pf = (t, e) => e.focusDeny && Ae(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && Ae(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && Ae(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, $f = () => {
6424
6089
  document.activeElement instanceof HTMLElement && typeof document.activeElement.blur == "function" && document.activeElement.blur();
6425
6090
  };
6426
6091
  oe.prototype.disableButtons = Ui;
@@ -6439,8 +6104,8 @@ oe.prototype.closeToast = vt;
6439
6104
  oe.prototype.rejectPromise = Mi;
6440
6105
  oe.prototype.update = Ji;
6441
6106
  oe.prototype._destroy = Qi;
6442
- Object.assign(oe, Af);
6443
- Object.keys(sf).forEach((t) => {
6107
+ Object.assign(oe, af);
6108
+ Object.keys(Nm).forEach((t) => {
6444
6109
  oe[t] = function(...e) {
6445
6110
  return Ge && Ge[t] ? Ge[t](...e) : null;
6446
6111
  };
@@ -6462,9 +6127,9 @@ typeof document < "u" && (function(t, e) {
6462
6127
  const {
6463
6128
  entries: as,
6464
6129
  setPrototypeOf: Pa,
6465
- isFrozen: ep,
6466
- getPrototypeOf: tp,
6467
- getOwnPropertyDescriptor: np
6130
+ isFrozen: Lf,
6131
+ getPrototypeOf: Of,
6132
+ getOwnPropertyDescriptor: Bf
6468
6133
  } = Object;
6469
6134
  let {
6470
6135
  freeze: _e,
@@ -6490,7 +6155,7 @@ no || (no = function(e) {
6490
6155
  r[o - 1] = arguments[o];
6491
6156
  return new e(...r);
6492
6157
  });
6493
- const Jn = Se(Array.prototype.forEach), rp = Se(Array.prototype.lastIndexOf), $a = Se(Array.prototype.pop), dn = Se(Array.prototype.push), op = Se(Array.prototype.splice), tr = Se(String.prototype.toLowerCase), Nr = Se(String.prototype.toString), jr = Se(String.prototype.match), mn = Se(String.prototype.replace), ap = Se(String.prototype.indexOf), ip = Se(String.prototype.trim), Ee = Se(Object.prototype.hasOwnProperty), we = Se(RegExp.prototype.test), fn = sp(TypeError);
6158
+ const Jn = Se(Array.prototype.forEach), Mf = Se(Array.prototype.lastIndexOf), $a = Se(Array.prototype.pop), dn = Se(Array.prototype.push), Df = Se(Array.prototype.splice), tr = Se(String.prototype.toLowerCase), Nr = Se(String.prototype.toString), jr = Se(String.prototype.match), mn = Se(String.prototype.replace), Rf = Se(String.prototype.indexOf), Nf = Se(String.prototype.trim), Ee = Se(Object.prototype.hasOwnProperty), we = Se(RegExp.prototype.test), fn = jf(TypeError);
6494
6159
  function Se(t) {
6495
6160
  return function(e) {
6496
6161
  e instanceof RegExp && (e.lastIndex = 0);
@@ -6499,7 +6164,7 @@ function Se(t) {
6499
6164
  return to(t, e, r);
6500
6165
  };
6501
6166
  }
6502
- function sp(t) {
6167
+ function jf(t) {
6503
6168
  return function() {
6504
6169
  for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
6505
6170
  n[r] = arguments[r];
@@ -6514,13 +6179,13 @@ function D(t, e) {
6514
6179
  let o = e[r];
6515
6180
  if (typeof o == "string") {
6516
6181
  const a = n(o);
6517
- a !== o && (ep(e) || (e[r] = a), o = a);
6182
+ a !== o && (Lf(e) || (e[r] = a), o = a);
6518
6183
  }
6519
6184
  t[o] = !0;
6520
6185
  }
6521
6186
  return t;
6522
6187
  }
6523
- function lp(t) {
6188
+ function Hf(t) {
6524
6189
  for (let e = 0; e < t.length; e++)
6525
6190
  Ee(t, e) || (t[e] = null);
6526
6191
  return t;
@@ -6528,44 +6193,44 @@ function lp(t) {
6528
6193
  function Ke(t) {
6529
6194
  const e = er(null);
6530
6195
  for (const [n, r] of as(t))
6531
- Ee(t, n) && (Array.isArray(r) ? e[n] = lp(r) : r && typeof r == "object" && r.constructor === Object ? e[n] = Ke(r) : e[n] = r);
6196
+ Ee(t, n) && (Array.isArray(r) ? e[n] = Hf(r) : r && typeof r == "object" && r.constructor === Object ? e[n] = Ke(r) : e[n] = r);
6532
6197
  return e;
6533
6198
  }
6534
6199
  function pn(t, e) {
6535
6200
  for (; t !== null; ) {
6536
- const r = np(t, e);
6201
+ const r = Bf(t, e);
6537
6202
  if (r) {
6538
6203
  if (r.get)
6539
6204
  return Se(r.get);
6540
6205
  if (typeof r.value == "function")
6541
6206
  return Se(r.value);
6542
6207
  }
6543
- t = tp(t);
6208
+ t = Of(t);
6544
6209
  }
6545
6210
  function n() {
6546
6211
  return null;
6547
6212
  }
6548
6213
  return n;
6549
6214
  }
6550
- const La = _e(["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", "search", "section", "select", "shadow", "slot", "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"]), Hr = _e(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Fr = _e(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), cp = _e(["animate", "color-profile", "cursor", "discard", "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"]), zr = _e(["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", "mprescripts"]), up = _e(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Oa = _e(["#text"]), Ba = _e(["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", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "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", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Ur = _e(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "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", "exponent", "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", "intercept", "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", "mask-type", "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", "slope", "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", "tablevalues", "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"]), Ma = _e(["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"]), Qn = _e(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), dp = Re(/\{\{[\w\W]*|[\w\W]*\}\}/gm), mp = Re(/<%[\w\W]*|[\w\W]*%>/gm), fp = Re(/\$\{[\w\W]*/gm), pp = Re(/^data-[\-\w.\u00B7-\uFFFF]+$/), hp = Re(/^aria-[\-\w]+$/), is = Re(
6215
+ const La = _e(["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", "search", "section", "select", "shadow", "slot", "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"]), Hr = _e(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Fr = _e(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Ff = _e(["animate", "color-profile", "cursor", "discard", "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"]), zr = _e(["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", "mprescripts"]), zf = _e(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Oa = _e(["#text"]), Ba = _e(["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", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "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", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Ur = _e(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "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", "exponent", "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", "intercept", "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", "mask-type", "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", "slope", "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", "tablevalues", "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"]), Ma = _e(["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"]), Qn = _e(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Uf = Re(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Vf = Re(/<%[\w\W]*|[\w\W]*%>/gm), Wf = Re(/\$\{[\w\W]*/gm), Kf = Re(/^data-[\-\w.\u00B7-\uFFFF]+$/), Gf = Re(/^aria-[\-\w]+$/), is = Re(
6551
6216
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
6552
6217
  // eslint-disable-line no-useless-escape
6553
- ), gp = Re(/^(?:\w+script|data):/i), vp = Re(
6218
+ ), qf = Re(/^(?:\w+script|data):/i), Yf = Re(
6554
6219
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
6555
6220
  // eslint-disable-line no-control-regex
6556
- ), ss = Re(/^html$/i), bp = Re(/^[a-z][.\w]*(-[.\w]+)+$/i);
6221
+ ), ss = Re(/^html$/i), Xf = Re(/^[a-z][.\w]*(-[.\w]+)+$/i);
6557
6222
  var Da = /* @__PURE__ */ Object.freeze({
6558
6223
  __proto__: null,
6559
- ARIA_ATTR: hp,
6560
- ATTR_WHITESPACE: vp,
6561
- CUSTOM_ELEMENT: bp,
6562
- DATA_ATTR: pp,
6224
+ ARIA_ATTR: Gf,
6225
+ ATTR_WHITESPACE: Yf,
6226
+ CUSTOM_ELEMENT: Xf,
6227
+ DATA_ATTR: Kf,
6563
6228
  DOCTYPE_NAME: ss,
6564
- ERB_EXPR: mp,
6229
+ ERB_EXPR: Vf,
6565
6230
  IS_ALLOWED_URI: is,
6566
- IS_SCRIPT_OR_DATA: gp,
6567
- MUSTACHE_EXPR: dp,
6568
- TMPLIT_EXPR: fp
6231
+ IS_SCRIPT_OR_DATA: qf,
6232
+ MUSTACHE_EXPR: Uf,
6233
+ TMPLIT_EXPR: Wf
6569
6234
  });
6570
6235
  const hn = {
6571
6236
  element: 1,
@@ -6574,9 +6239,9 @@ const hn = {
6574
6239
  progressingInstruction: 7,
6575
6240
  comment: 8,
6576
6241
  document: 9
6577
- }, wp = function() {
6242
+ }, Zf = function() {
6578
6243
  return typeof window > "u" ? null : window;
6579
- }, yp = function(e, n) {
6244
+ }, Jf = function(e, n) {
6580
6245
  if (typeof e != "object" || typeof e.createPolicy != "function")
6581
6246
  return null;
6582
6247
  let r = null;
@@ -6609,7 +6274,7 @@ const hn = {
6609
6274
  };
6610
6275
  };
6611
6276
  function ls() {
6612
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : wp();
6277
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Zf();
6613
6278
  const e = (A) => ls(A);
6614
6279
  if (e.version = "3.3.3", e.removed = [], !t || !t.document || t.document.nodeType !== hn.document || !t.Element)
6615
6280
  return e.isSupported = !1, e;
@@ -6720,10 +6385,10 @@ function ls() {
6720
6385
  throw fn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
6721
6386
  C = d.TRUSTED_TYPES_POLICY, I = C.createHTML("");
6722
6387
  } else
6723
- C === void 0 && (C = yp(p, o)), C !== null && typeof I == "string" && (I = C.createHTML(""));
6388
+ C === void 0 && (C = Jf(p, o)), C !== null && typeof I == "string" && (I = C.createHTML(""));
6724
6389
  _e && _e(d), Ht = d;
6725
6390
  }
6726
- }, Oo = D({}, [...Hr, ...Fr, ...cp]), Bo = D({}, [...zr, ...up]), vs = function(d) {
6391
+ }, Oo = D({}, [...Hr, ...Fr, ...Ff]), Bo = D({}, [...zr, ...zf]), vs = function(d) {
6727
6392
  let k = L(d);
6728
6393
  (!k || !k.tagName) && (k = {
6729
6394
  namespaceURI: jt,
@@ -6852,7 +6517,7 @@ function ls() {
6852
6517
  ) return !1;
6853
6518
  } else if (!Sr[k]) {
6854
6519
  if (!we(Me, mn(T, et, ""))) {
6855
- if (!((k === "src" || k === "xlink:href" || k === "href") && d !== "script" && ap(T, "data:") === 0 && Eo[d])) {
6520
+ if (!((k === "src" || k === "xlink:href" || k === "href") && d !== "script" && Rf(T, "data:") === 0 && Eo[d])) {
6856
6521
  if (!(jn && !we(Qe, mn(T, et, "")))) {
6857
6522
  if (T)
6858
6523
  return !1;
@@ -6887,7 +6552,7 @@ function ls() {
6887
6552
  namespaceURI: Te,
6888
6553
  value: at
6889
6554
  } = he, Ft = se(ae), Er = at;
6890
- let de = ae === "value" ? Er : ip(Er);
6555
+ let de = ae === "value" ? Er : Nf(Er);
6891
6556
  if (T.attrName = Ft, T.attrValue = de, T.keepAttr = !0, T.forceKeepAttr = void 0, ot(P.uponSanitizeAttribute, d, T), de = T.attrValue, zn && (Ft === "id" || Ft === "name") && (yt(ae, d), de = Cr + de), Mt && we(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, de)) {
6892
6557
  yt(ae, d);
6893
6558
  continue;
@@ -6997,8 +6662,8 @@ function ls() {
6997
6662
  typeof d == "function" && dn(P[A], d);
6998
6663
  }, e.removeHook = function(A, d) {
6999
6664
  if (d !== void 0) {
7000
- const k = rp(P[A], d);
7001
- return k === -1 ? void 0 : op(P[A], k, 1)[0];
6665
+ const k = Mf(P[A], d);
6666
+ return k === -1 ? void 0 : Df(P[A], k, 1)[0];
7002
6667
  }
7003
6668
  return $a(P[A]);
7004
6669
  }, e.removeHooks = function(A) {
@@ -7008,7 +6673,7 @@ function ls() {
7008
6673
  }, e;
7009
6674
  }
7010
6675
  var Io = ls();
7011
- const kp = (t) => !(!t || !(t instanceof HTMLElement));
6676
+ const Qf = (t) => !(!t || !(t instanceof HTMLElement));
7012
6677
  class cs {
7013
6678
  get IsVisible() {
7014
6679
  return Pt.isVisible();
@@ -7023,7 +6688,7 @@ class cs {
7023
6688
  * @returns
7024
6689
  */
7025
6690
  async ConfirmWithOptionsAsync(e) {
7026
- return e.confirmLabel ??= "sim", e.rejectLabel ??= "não", e.confirmColor ??= "primary", e.rejectColor ??= "primary", kp(e.target) ? this.CreatePopoverAsync(e).then((n) => n === !0) : new Promise((n) => {
6691
+ return e.confirmLabel ??= "sim", e.rejectLabel ??= "não", e.confirmColor ??= "primary", e.rejectColor ??= "primary", Qf(e.target) ? this.CreatePopoverAsync(e).then((n) => n === !0) : new Promise((n) => {
7027
6692
  Pt.fire({
7028
6693
  showCancelButton: !0,
7029
6694
  allowEscapeKey: !1,
@@ -7073,16 +6738,16 @@ class cs {
7073
6738
  return document.dispatchEvent(o), r;
7074
6739
  }
7075
6740
  }
7076
- const Cp = () => new cs(), Up = () => new cs();
7077
- function _p(t) {
6741
+ const ep = () => new cs(), Fp = () => new cs();
6742
+ function tp(t) {
7078
6743
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
7079
6744
  }
7080
- var nr = { exports: {} }, Sp = nr.exports, Na;
7081
- function xp() {
6745
+ var nr = { exports: {} }, np = nr.exports, Na;
6746
+ function rp() {
7082
6747
  return Na || (Na = 1, (function(t) {
7083
6748
  (function(e, n) {
7084
6749
  t.exports ? t.exports = n() : e.log = n();
7085
- })(Sp, function() {
6750
+ })(np, function() {
7086
6751
  var e = function() {
7087
6752
  }, n = "undefined", r = typeof window !== n && typeof window.navigator !== n && /Trident\/|MSIE /.test(window.navigator.userAgent), o = [
7088
6753
  "trace",
@@ -7225,8 +6890,8 @@ function xp() {
7225
6890
  });
7226
6891
  })(nr)), nr.exports;
7227
6892
  }
7228
- var Tp = xp();
7229
- const rr = /* @__PURE__ */ _p(Tp), Vp = (t, e = {}) => {
6893
+ var op = rp();
6894
+ const rr = /* @__PURE__ */ tp(op), zp = (t, e = {}) => {
7230
6895
  rr.setDefaultLevel(
7231
6896
  e.enableLogging ? rr.levels.DEBUG : rr.levels.SILENT
7232
6897
  );
@@ -7256,7 +6921,7 @@ const rr = /* @__PURE__ */ _p(Tp), Vp = (t, e = {}) => {
7256
6921
  EnableLightMode: () => un.EnableLightMode(),
7257
6922
  ClearStoredTheme: () => un.ClearStoredTheme(),
7258
6923
  LogoutAsync: async (m) => {
7259
- const f = Cp(), { oidc: p } = Wt();
6924
+ const f = ep(), { oidc: p } = Wt();
7260
6925
  await f.ConfirmWithOptionsAsync({
7261
6926
  text: "Deseja sair da sua conta?",
7262
6927
  target: m.currentTarget,
@@ -7293,7 +6958,341 @@ const rr = /* @__PURE__ */ _p(Tp), Vp = (t, e = {}) => {
7293
6958
  }), document.addEventListener("scroll", () => {
7294
6959
  o.value = document.documentElement.scrollTop;
7295
6960
  }), un.SetInitialTheme();
7296
- }, Wp = rr;
6961
+ }, ap = rr, ip = {
6962
+ key: 0,
6963
+ class: "mb-3"
6964
+ }, sp = { class: "flex align-items-center flex-wrap gap-3" }, lp = ["innerHTML"], cp = { class: "flex flex-grow-1 gap-2 justify-content-end" }, up = /* @__PURE__ */ ie({
6965
+ __name: "ConfirmPopover",
6966
+ emits: ["onOpen"],
6967
+ setup(t, { emit: e }) {
6968
+ const n = R(), r = () => {
6969
+ a?.detail.resolve(!0), a = null, n.value?.Hide();
6970
+ }, o = () => {
6971
+ a?.detail.resolve(!1), a = null, n.value?.Hide();
6972
+ };
6973
+ let a = null;
6974
+ document.addEventListener("sfconfirm:popup", (i) => {
6975
+ a = i, n.value?.Show(i);
6976
+ });
6977
+ const l = () => {
6978
+ a?.detail.resolve(!1);
6979
+ }, s = e;
6980
+ return (i, c) => (_(), ne(ci, {
6981
+ ref_key: "popover",
6982
+ ref: n,
6983
+ onOnShow: c[0] || (c[0] = (u) => s("onOpen")),
6984
+ onOnHide: l
6985
+ }, {
6986
+ default: le(() => [
6987
+ G(i.$slots, "content", Ct(_t({ resolve: r, reject: o })), () => [
6988
+ $(a)?.detail.options?.title ? (_(), x("div", ip, [
6989
+ b("b", null, K($(a)?.detail.options.title), 1)
6990
+ ])) : F("", !0),
6991
+ b("div", sp, [
6992
+ b("div", {
6993
+ innerHTML: $(a)?.detail.options?.text
6994
+ }, null, 8, lp),
6995
+ b("div", cp, [
6996
+ q($(kn), {
6997
+ name: "botao-confirmar",
6998
+ size: "sm",
6999
+ color: $(a)?.detail.options?.confirmColor,
7000
+ onClick: r
7001
+ }, {
7002
+ default: le(() => [
7003
+ Ye(K($(a)?.detail.options?.confirmLabel), 1)
7004
+ ]),
7005
+ _: 1
7006
+ }, 8, ["color"]),
7007
+ q($(kn), {
7008
+ size: "sm",
7009
+ name: "botao-cancelar",
7010
+ color: $(a)?.detail.options?.rejectColor,
7011
+ onClick: o
7012
+ }, {
7013
+ default: le(() => [
7014
+ Ye(K($(a)?.detail.options?.rejectLabel), 1)
7015
+ ]),
7016
+ _: 1
7017
+ }, 8, ["color"])
7018
+ ])
7019
+ ])
7020
+ ])
7021
+ ]),
7022
+ _: 3
7023
+ }, 512));
7024
+ }
7025
+ }), dp = /* @__PURE__ */ ie({
7026
+ __name: "LoginLogout",
7027
+ emits: ["login"],
7028
+ setup(t, { emit: e }) {
7029
+ const n = Wt(), { LogoutAsync: r } = Zt(), o = e;
7030
+ return (a, l) => $(n).isAuthenticated ? (_(), ne(Xe, {
7031
+ key: 0,
7032
+ button: !0,
7033
+ size: "sm",
7034
+ icon: "logout",
7035
+ tooltip: "Sair",
7036
+ onClick: $(r)
7037
+ }, null, 8, ["onClick"])) : (_(), ne(Xe, {
7038
+ key: 1,
7039
+ button: !0,
7040
+ size: "sm",
7041
+ icon: "login",
7042
+ tooltip: "Entrar",
7043
+ onClick: l[0] || (l[0] = (s) => o("login"))
7044
+ }));
7045
+ }
7046
+ }), mp = { class: "nav-menu-header" }, fp = { class: "nav-menu-inner-close" }, pp = { class: "main-content" }, hp = { class: "page-title" }, gp = { class: "action" }, vp = { id: "content" }, bp = {
7047
+ key: 0,
7048
+ id: "logging-out"
7049
+ }, wp = { class: "info-fazenda" }, yp = { class: "font-bold" }, kp = { class: "info-endereco text-muted" }, Cp = { class: "footer-right" }, _p = /* @__PURE__ */ ie({
7050
+ __name: "Main",
7051
+ props: {
7052
+ auth: {},
7053
+ public: { type: Boolean }
7054
+ },
7055
+ emits: ["login"],
7056
+ setup(t, { emit: e }) {
7057
+ const n = t, {
7058
+ navMenuWidth: r,
7059
+ isMenuOpened: o,
7060
+ pageTitle: a,
7061
+ scrollY: l,
7062
+ ToggleMenu: s,
7063
+ isDarkMode: i,
7064
+ ToggleTheme: c,
7065
+ CloseMenu: u,
7066
+ isLoggingOut: m,
7067
+ mainRef: f,
7068
+ mainWidth: p
7069
+ } = Zt(), w = R(null), g = () => {
7070
+ if (!w.value || !o.value) return !1;
7071
+ w.value.offsetWidth !== r && (ap.debug("[sf.prefeiturasp.vuecomponets] Menu fechado dinamicamente."), u());
7072
+ };
7073
+ $t(() => {
7074
+ const v = Es();
7075
+ if (g(), v.afterEach(() => {
7076
+ g();
7077
+ }), f.value) {
7078
+ let S = null;
7079
+ As(f, (L) => {
7080
+ io(() => {
7081
+ S && clearTimeout(S), S = setTimeout(() => {
7082
+ p.value = L[0].contentRect.width;
7083
+ }, 10);
7084
+ }), p.value = L[0].contentRect.width;
7085
+ }), p.value = f.value.clientWidth;
7086
+ }
7087
+ });
7088
+ const y = e;
7089
+ return (v, S) => (_(), x("main", {
7090
+ ref_key: "mainRef",
7091
+ ref: f,
7092
+ class: j({
7093
+ disabled: $(m),
7094
+ "nav-menu-visible": $(o)
7095
+ })
7096
+ }, [
7097
+ b("aside", {
7098
+ id: "nav-menu",
7099
+ ref_key: "navMenuRef",
7100
+ ref: w,
7101
+ class: j({ "nav-menu-hidden": !$(o) })
7102
+ }, [
7103
+ b("div", mp, [
7104
+ S[1] || (S[1] = b("span", null, "Menu", -1)),
7105
+ b("div", fp, [
7106
+ q(Xe, {
7107
+ button: !0,
7108
+ icon: "close",
7109
+ onClick: $(s)
7110
+ }, null, 8, ["onClick"])
7111
+ ])
7112
+ ]),
7113
+ G(v.$slots, "nav-menu", {}, void 0, !0)
7114
+ ], 2),
7115
+ b("div", pp, [
7116
+ b("div", {
7117
+ id: "top-bar",
7118
+ class: j({ "shadow-bottom": $(l) > 72 })
7119
+ }, [
7120
+ q(Xe, {
7121
+ button: !0,
7122
+ icon: $(o) ? "menu_open" : "menu",
7123
+ tooltip: "Menu",
7124
+ onClick: $(s)
7125
+ }, null, 8, ["icon", "onClick"]),
7126
+ b("div", hp, K($(m) ? "Saindo..." : $(a)), 1),
7127
+ S[2] || (S[2] = b("span", { class: "sep" }, null, -1)),
7128
+ b("div", gp, [
7129
+ q(Xe, {
7130
+ button: !0,
7131
+ size: "sm",
7132
+ icon: $(i) ? "light_mode" : "dark_mode",
7133
+ tooltip: $(i) ? "Modo claro" : "Modo escuro",
7134
+ onClick: $(c)
7135
+ }, null, 8, ["icon", "tooltip", "onClick"]),
7136
+ q(ju),
7137
+ G(v.$slots, "top-bar-account", {}, () => [
7138
+ q(Mu)
7139
+ ], !0),
7140
+ n.public ? F("", !0) : (_(), ne(dp, {
7141
+ key: 0,
7142
+ onLogin: S[0] || (S[0] = (L) => y("login"))
7143
+ }))
7144
+ ])
7145
+ ], 2),
7146
+ b("div", vp, [
7147
+ $(m) ? (_(), x("div", bp, [
7148
+ q(Wa)
7149
+ ])) : G(v.$slots, "content", { key: 1 }, void 0, !0)
7150
+ ])
7151
+ ]),
7152
+ b("footer", null, [
7153
+ G(v.$slots, "footer", {}, () => [
7154
+ S[5] || (S[5] = b("div", { class: "logo-fazenda" }, null, -1)),
7155
+ b("div", wp, [
7156
+ b("span", yp, [
7157
+ G(v.$slots, "footer-nome-fazenda", {}, () => [
7158
+ S[3] || (S[3] = Ye(" SECRETARIA MUNICIPAL DA FAZENDA ", -1))
7159
+ ], !0)
7160
+ ]),
7161
+ b("span", kp, [
7162
+ G(v.$slots, "footer-endereco-fazenda", {}, () => [
7163
+ S[4] || (S[4] = Ye(" Rua Líbero Badaró, 190 - Centro - São Paulo - SP - CEP 01008-000 ", -1))
7164
+ ], !0)
7165
+ ])
7166
+ ]),
7167
+ b("div", Cp, [
7168
+ G(v.$slots, "footer-right", {}, void 0, !0)
7169
+ ])
7170
+ ], !0)
7171
+ ]),
7172
+ q(Hu),
7173
+ q(up)
7174
+ ], 2));
7175
+ }
7176
+ }), Up = /* @__PURE__ */ Je(_p, [["__scopeId", "data-v-c2bb8158"]]), Vp = /* @__PURE__ */ ie({
7177
+ __name: "PageTitle",
7178
+ props: {
7179
+ title: {}
7180
+ },
7181
+ setup(t) {
7182
+ const { pageTitle: e } = Zt(), n = t;
7183
+ return Ss(() => {
7184
+ document.title = n.title, e.value = n.title;
7185
+ }), (r, o) => null;
7186
+ }
7187
+ }), Sp = { class: "sf-tabs" }, xp = ["onClick", "onKeydown"], Tp = ["id", "aria-selected", "tabindex", "aria-controls", "disabled"], Ip = ["id", "aria-labelledby", "aria-hidden"], Wp = /* @__PURE__ */ ie({
7188
+ __name: "Tabs",
7189
+ props: /* @__PURE__ */ Ts({
7190
+ tabs: {},
7191
+ dense: { type: Boolean }
7192
+ }, {
7193
+ activeTab: {
7194
+ default: 0
7195
+ },
7196
+ activeTabModifiers: {}
7197
+ }),
7198
+ emits: ["update:activeTab"],
7199
+ setup(t) {
7200
+ const e = t, n = xs(t, "activeTab");
7201
+ let r = n.value;
7202
+ qt(
7203
+ () => n.value,
7204
+ (f) => {
7205
+ f !== r && l(f);
7206
+ }
7207
+ );
7208
+ const o = Z(() => e.tabs.length - 1);
7209
+ let a = null;
7210
+ const l = (f) => {
7211
+ e.tabs[f].disabled || (a && clearTimeout(a), a = window.setTimeout(() => {
7212
+ a = null, r = f, n.value = f, s(f);
7213
+ }, 100));
7214
+ }, s = (f) => {
7215
+ const p = document.getElementById(c(f));
7216
+ p && (p.focus(), p.scrollIntoView({ inline: "center" }));
7217
+ }, i = (f, p) => {
7218
+ if (f.repeat)
7219
+ return;
7220
+ const w = o.value, g = (y, v) => {
7221
+ let S = y;
7222
+ for (let L = 0; L <= w; L++)
7223
+ if (S = (S + v + e.tabs.length) % e.tabs.length, !e.tabs[S].disabled)
7224
+ return S;
7225
+ return -1;
7226
+ };
7227
+ if (f.key === "ArrowRight") {
7228
+ f.preventDefault();
7229
+ const y = g(p, 1);
7230
+ l(y);
7231
+ return;
7232
+ }
7233
+ if (f.key === "ArrowLeft") {
7234
+ f.preventDefault();
7235
+ const y = g(p, -1);
7236
+ l(y);
7237
+ return;
7238
+ }
7239
+ if (f.key === "Home") {
7240
+ f.preventDefault();
7241
+ const y = g(-1, 1);
7242
+ l(y);
7243
+ return;
7244
+ }
7245
+ if (f.key === "End") {
7246
+ f.preventDefault();
7247
+ const y = g(w, -1);
7248
+ l(y);
7249
+ return;
7250
+ }
7251
+ }, c = (f) => `sf-tab-${f}`, u = (f) => `sf-tabpanel-${f}`, m = () => {
7252
+ if (e.tabs[n.value]?.disabled) {
7253
+ const f = e.tabs.findIndex((p) => !p.disabled);
7254
+ n.value = f !== -1 ? f : -1;
7255
+ }
7256
+ };
7257
+ return $t(() => {
7258
+ m();
7259
+ }), (f, p) => (_(), x("div", Sp, [
7260
+ b("ul", {
7261
+ role: "tablist",
7262
+ "aria-orientation": "horizontal",
7263
+ class: j({ dense: e.dense })
7264
+ }, [
7265
+ (_(!0), x(ke, null, At(e.tabs, (w, g) => (_(), x("li", {
7266
+ key: c(g),
7267
+ onClick: (y) => l(g),
7268
+ onKeydown: (y) => i(y, g)
7269
+ }, [
7270
+ b("button", {
7271
+ role: "tab",
7272
+ id: c(g),
7273
+ "aria-selected": !w.disabled && g === n.value,
7274
+ tabindex: g === n.value ? 0 : -1,
7275
+ "aria-controls": u(g),
7276
+ disabled: w.disabled
7277
+ }, K(w.text), 9, Tp)
7278
+ ], 40, xp))), 128))
7279
+ ], 2),
7280
+ (_(!0), x(ke, null, At(e.tabs, (w, g) => (_(), x("div", {
7281
+ key: u(g),
7282
+ id: u(g),
7283
+ role: "tabpanel",
7284
+ "aria-labelledby": c(g),
7285
+ "aria-hidden": !w.disabled && g !== n.value,
7286
+ class: j(["tab-content", { hidden: g !== n.value }])
7287
+ }, [
7288
+ !w.disabled && g === n.value ? G(f.$slots, "tabpanel", M({
7289
+ key: 0,
7290
+ ref_for: !0
7291
+ }, { tab: w, activeTab: n.value, Activate: l })) : F("", !0)
7292
+ ], 10, Ip))), 128))
7293
+ ]));
7294
+ }
7295
+ });
7297
7296
  class us extends Error {
7298
7297
  constructor(e = []) {
7299
7298
  const n = Array.isArray(e) ? e : [e];
@@ -7301,7 +7300,7 @@ class us extends Error {
7301
7300
  }
7302
7301
  errors = [];
7303
7302
  }
7304
- class Ip {
7303
+ class Ap {
7305
7304
  constructor(e = null) {
7306
7305
  this._value = e, this._httpStatusCode = 200;
7307
7306
  }
@@ -7385,7 +7384,7 @@ class ds {
7385
7384
  });
7386
7385
  }
7387
7386
  }
7388
- const Ap = () => new ds(), Kp = () => new ds();
7387
+ const Ep = () => new ds(), Kp = () => new ds();
7389
7388
  window.addEventListener("error", function(t) {
7390
7389
  return Ao(t.error) || console.error(t.error || t.message), t.preventDefault(), !1;
7391
7390
  });
@@ -7404,7 +7403,7 @@ const Gp = (t) => {
7404
7403
  return !0;
7405
7404
  } catch {
7406
7405
  }
7407
- return t instanceof us || t instanceof Ip ? (Ap().AlertErrorAsync(t.errors), !0) : !1;
7406
+ return t instanceof us || t instanceof Ap ? (Ep().AlertErrorAsync(t.errors), !0) : !1;
7408
7407
  }, Ut = (t) => t === "light" ? "rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;" : "none", ja = {
7409
7408
  surface: {
7410
7409
  0: "var(--surface-0-color)",
@@ -8319,7 +8318,7 @@ Promise.prototype.TrackStateWith || (Promise.prototype.TrackStateWith = async fu
8319
8318
  t.value = !1;
8320
8319
  }
8321
8320
  });
8322
- class Ep {
8321
+ class Pp {
8323
8322
  current = null;
8324
8323
  resolve = null;
8325
8324
  /**
@@ -8371,7 +8370,7 @@ class Ep {
8371
8370
  this.resolve && this.resolve(), this.current && this.current.classList.remove("visible");
8372
8371
  }
8373
8372
  }
8374
- const Pp = new Ep(), Jp = () => Pp;
8373
+ const $p = new Pp(), Jp = () => $p;
8375
8374
  function Ha() {
8376
8375
  document.documentElement.removeAttribute("data-app-message"), document.documentElement.classList.add("app-mounted");
8377
8376
  }
@@ -8391,38 +8390,38 @@ async function Qp() {
8391
8390
  }
8392
8391
  export {
8393
8392
  us as AppError,
8394
- Ip as AppResult,
8393
+ Ap as AppResult,
8395
8394
  Xp as BaseAppState,
8396
8395
  Zp as EnsureUniqueRouteNames,
8397
8396
  Qp as GetEnvironmentAsync,
8398
8397
  Ha as RemovePreloader,
8399
8398
  ro as RestorePreloader,
8400
8399
  kn as SfButton,
8401
- Np as SfContent,
8400
+ jp as SfContent,
8402
8401
  Gs as SfDrawer,
8403
8402
  Br as SfHelpButton,
8404
8403
  Xe as SfIcon,
8405
8404
  zs as SfLoadingCircle,
8406
- jp as SfLogin,
8407
- Hp as SfMain,
8405
+ Hp as SfLogin,
8406
+ Up as SfMain,
8408
8407
  Mu as SfMainTopBarAccount,
8409
- Dp as SfMessage,
8410
- Rp as SfNavMenu,
8411
- Fp as SfPageTitle,
8408
+ Rp as SfMessage,
8409
+ Np as SfNavMenu,
8410
+ Vp as SfPageTitle,
8412
8411
  ci as SfPopover,
8413
- Mp as SfTabNavigation,
8414
- zp as SfTabs,
8412
+ Dp as SfTabNavigation,
8413
+ Wp as SfTabs,
8415
8414
  Ps as SfTooltip,
8416
- Ap as UseAlert,
8415
+ Ep as UseAlert,
8417
8416
  Kp as UseAlertService,
8418
8417
  Zt as UseAppInject,
8419
- Cp as UseConfirm,
8420
- Up as UseConfirmService,
8418
+ ep as UseConfirm,
8419
+ Fp as UseConfirmService,
8421
8420
  Jp as UseSimpleToast,
8422
8421
  Yp as User,
8423
8422
  st as Utilities,
8424
- Wp as _logger,
8425
- Vp as configSF,
8423
+ ap as _logger,
8424
+ zp as configSF,
8426
8425
  Gp as globalErrorHandler,
8427
8426
  qp as themePreset
8428
8427
  };