@luizleon/sf.prefeiturasp.vuecomponents 4.1.26 → 4.1.27

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.
@@ -1,10 +1,10 @@
1
1
  var Ss = Object.defineProperty;
2
2
  var ks = (t, e, n) => e in t ? Ss(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
- var Ze = (t, e, n) => ks(t, typeof e != "symbol" ? e + "" : e, n);
4
- import { ref as Ke, openBlock as L, createElementBlock as F, createElementVNode as M, defineComponent as We, unref as ve, createStaticVNode as Cs, onBeforeUnmount as li, renderSlot as be, onMounted as Hn, normalizeClass as te, createVNode as Qe, withCtx as gt, computed as tn, createBlock as de, resolveDynamicComponent as mt, normalizeStyle as sn, mergeProps as z, Fragment as St, createTextVNode as Is, toDisplayString as pt, createCommentVNode as se, resolveComponent as gn, renderList as Er, useSlots as Ts, watch as pr, Teleport as As, withModifiers as er, Transition as xr, readonly as Ps, getCurrentInstance as Es, nextTick as xs, resolveDirective as Os, withDirectives as hr, vShow as ci } from "vue";
3
+ var He = (t, e, n) => ks(t, typeof e != "symbol" ? e + "" : e, n);
4
+ import { ref as ze, openBlock as L, createElementBlock as F, createElementVNode as M, defineComponent as Ge, unref as ve, createStaticVNode as Cs, onBeforeUnmount as li, renderSlot as be, onMounted as Hn, normalizeClass as te, createVNode as Qe, withCtx as gt, computed as tn, createBlock as de, resolveDynamicComponent as mt, normalizeStyle as sn, mergeProps as z, Fragment as St, createTextVNode as Is, toDisplayString as pt, createCommentVNode as se, resolveComponent as gn, renderList as Er, useSlots as Ts, watch as pr, Teleport as As, withModifiers as er, Transition as xr, readonly as Ps, getCurrentInstance as Es, nextTick as xs, resolveDirective as Os, withDirectives as hr, vShow as ci } from "vue";
5
5
  class Ls {
6
6
  constructor() {
7
- Ze(this, "_visible", Ke(!1));
7
+ He(this, "_visible", ze(!1));
8
8
  }
9
9
  get IsVisible() {
10
10
  return this._visible.value === !0;
@@ -66,7 +66,7 @@ class Bs {
66
66
  localStorage.removeItem("color-scheme");
67
67
  }
68
68
  }
69
- const Ct = new Bs(), Us = /* @__PURE__ */ We({
69
+ const Ct = new Bs(), Us = /* @__PURE__ */ Ge({
70
70
  __name: "ThemeToggle",
71
71
  setup(t) {
72
72
  return (e, n) => (L(), F("button", {
@@ -90,7 +90,7 @@ function di(t = []) {
90
90
  );
91
91
  return n >= 100 ? n : 100;
92
92
  }
93
- const fi = /* @__PURE__ */ We({
93
+ const fi = /* @__PURE__ */ Ge({
94
94
  __name: "Tooltip",
95
95
  props: {
96
96
  text: {}
@@ -99,8 +99,8 @@ const fi = /* @__PURE__ */ We({
99
99
  const e = t;
100
100
  class n {
101
101
  constructor() {
102
- Ze(this, "wrapper", null);
103
- Ze(this, "inner", null);
102
+ He(this, "wrapper", null);
103
+ He(this, "inner", null);
104
104
  }
105
105
  Render() {
106
106
  this.wrapper = document.createElement("div"), this.wrapper.classList.add("sf-tooltip-wrapper"), this.wrapper.style.zIndex = `${di() ?? 1}`, this.inner = document.createElement("div"), this.inner.classList.add("sf-tooltip-inner"), this.wrapper.appendChild(this.inner);
@@ -155,7 +155,7 @@ const fi = /* @__PURE__ */ We({
155
155
  be(o.$slots, "default")
156
156
  ], 32));
157
157
  }
158
- }), Hs = { id: "sf-layout" }, js = { class: "title" }, Vs = { class: "sf-layout-nav-content" }, Fs = { id: "sf-layout-content" }, $f = /* @__PURE__ */ We({
158
+ }), Hs = { id: "sf-layout" }, js = { class: "title" }, Vs = { class: "sf-layout-nav-content" }, Fs = { id: "sf-layout-content" }, $f = /* @__PURE__ */ Ge({
159
159
  __name: "Layout",
160
160
  emits: ["mounted", "logout"],
161
161
  setup(t, { emit: e }) {
@@ -229,7 +229,7 @@ class st {
229
229
  * @param value The initial value of the CSS class string.
230
230
  */
231
231
  constructor(e) {
232
- Ze(this, "retorno");
232
+ He(this, "retorno");
233
233
  this.retorno = e ?? "";
234
234
  }
235
235
  /**
@@ -257,7 +257,7 @@ class st {
257
257
  return this.retorno.trim();
258
258
  }
259
259
  }
260
- const qs = ["disabled", "tabindex"], Ys = ["data-color"], Xs = /* @__PURE__ */ We({
260
+ const qs = ["disabled", "tabindex"], Ys = ["data-color"], Xs = /* @__PURE__ */ Ge({
261
261
  __name: "Icon",
262
262
  props: {
263
263
  icon: {},
@@ -314,10 +314,10 @@ const qs = ["disabled", "tabindex"], Ys = ["data-color"], Xs = /* @__PURE__ */ W
314
314
  _: 1
315
315
  }, 8, ["text", "class"]));
316
316
  }
317
- }), gr = /* @__PURE__ */ jn(Xs, [["__scopeId", "data-v-545d34b6"]]), Zs = /* @__PURE__ */ We({
317
+ }), gr = /* @__PURE__ */ jn(Xs, [["__scopeId", "data-v-545d34b6"]]), Zs = /* @__PURE__ */ Ge({
318
318
  __name: "ScrollToTop",
319
319
  setup(t) {
320
- const e = Ke(!1), n = `--${+/* @__PURE__ */ new Date()}`;
320
+ const e = ze(!1), n = `--${+/* @__PURE__ */ new Date()}`;
321
321
  let r = null;
322
322
  function o() {
323
323
  r == null || r.scrollTo(0, 0);
@@ -333,7 +333,7 @@ const qs = ["disabled", "tabindex"], Ys = ["data-color"], Xs = /* @__PURE__ */ W
333
333
  onClick: o
334
334
  }, null, 2));
335
335
  }
336
- }), Mf = /* @__PURE__ */ We({
336
+ }), Mf = /* @__PURE__ */ Ge({
337
337
  __name: "Content",
338
338
  props: {
339
339
  class: {},
@@ -378,15 +378,15 @@ const qs = ["disabled", "tabindex"], Ys = ["data-color"], Xs = /* @__PURE__ */ W
378
378
  ], 2)
379
379
  ], 6));
380
380
  }
381
- }), Js = { class: "sf-tab-navigation" }, Qs = ["data-active"], ea = ["href", "onClick"], Df = /* @__PURE__ */ We({
381
+ }), Js = { class: "sf-tab-navigation" }, Qs = ["data-active"], ea = ["href", "onClick"], Df = /* @__PURE__ */ Ge({
382
382
  __name: "TabNavigation",
383
383
  props: {
384
384
  tabs: {}
385
385
  },
386
386
  setup(t) {
387
- const e = t, n = Ke(null), r = new ResizeObserver((a) => {
387
+ const e = t, n = ze(null), r = new ResizeObserver((a) => {
388
388
  s();
389
- }), o = Ke(!1), i = Ke(!1);
389
+ }), o = ze(!1), i = ze(!1);
390
390
  function l(a = !1) {
391
391
  const u = n.value.clientWidth;
392
392
  n.value.scrollLeft += a ? -u : u;
@@ -476,7 +476,7 @@ const qs = ["disabled", "tabindex"], Ys = ["data-color"], Xs = /* @__PURE__ */ W
476
476
  ]);
477
477
  };
478
478
  }
479
- }), ta = ["id", "name", "disabled", "data-color", "form", "type"], na = { class: "sf-button-label" }, Rf = /* @__PURE__ */ We({
479
+ }), ta = ["id", "name", "disabled", "data-color", "form", "type"], na = { class: "sf-button-label" }, Rf = /* @__PURE__ */ Ge({
480
480
  __name: "Button",
481
481
  props: {
482
482
  icon: {},
@@ -534,7 +534,7 @@ const qs = ["disabled", "tabindex"], Ys = ["data-color"], Xs = /* @__PURE__ */ W
534
534
  }), ra = { class: "sf-drawer-header" }, oa = { class: "sf-drawer-title" }, ia = { class: "sf-drawer-content" }, sa = {
535
535
  key: 0,
536
536
  class: "sf-drawer-footer"
537
- }, Nf = /* @__PURE__ */ We({
537
+ }, Nf = /* @__PURE__ */ Ge({
538
538
  __name: "Drawer",
539
539
  props: {
540
540
  visible: { type: Boolean, default: !1 },
@@ -543,7 +543,7 @@ const qs = ["disabled", "tabindex"], Ys = ["data-color"], Xs = /* @__PURE__ */ W
543
543
  },
544
544
  emits: ["update:visible", "open", "before-close"],
545
545
  setup(t, { emit: e }) {
546
- const n = t, r = e, o = Ts(), i = Ke(n.visible), l = Ke(!1), s = Ke(0), a = "sf-drawer-" + Math.random().toString(36).slice(2, 11) + "-" + Date.now();
546
+ const n = t, r = e, o = Ts(), i = ze(n.visible), l = ze(!1), s = ze(0), a = "sf-drawer-" + Math.random().toString(36).slice(2, 11) + "-" + Date.now();
547
547
  function u() {
548
548
  i.value = !1;
549
549
  }
@@ -628,7 +628,7 @@ const qs = ["disabled", "tabindex"], Ys = ["data-color"], Xs = /* @__PURE__ */ W
628
628
  ], 6)) : se("", !0)
629
629
  ]));
630
630
  }
631
- }), aa = ["data-icon"], Bf = /* @__PURE__ */ We({
631
+ }), aa = ["data-icon"], Bf = /* @__PURE__ */ Ge({
632
632
  __name: "Message",
633
633
  props: {
634
634
  color: { default: "info" },
@@ -719,7 +719,7 @@ function da(t, e = {}, ...n) {
719
719
  return Dn(r, e), r.append(...n), r;
720
720
  }
721
721
  }
722
- function Ve(t, e) {
722
+ function Fe(t, e) {
723
723
  return Vn(t) ? t.matches(e) ? t : t.querySelector(e) : null;
724
724
  }
725
725
  function Zt(t, e) {
@@ -855,12 +855,12 @@ function xe(t, ...e) {
855
855
  function Te(t, e = !0) {
856
856
  return typeof t == "string" && (e || t !== "");
857
857
  }
858
- function Fe(t) {
858
+ function Ke(t) {
859
859
  return Te(t) ? t.replace(/(-|_)/g, "").toLowerCase() : t;
860
860
  }
861
861
  function Lr(t, e = "", n = {}) {
862
- const r = Fe(e).split("."), o = r.shift();
863
- return o ? vt(t) ? Lr(xe(t[Object.keys(t).find((i) => Fe(i) === o) || ""], n), r.join("."), n) : void 0 : xe(t, n);
862
+ const r = Ke(e).split("."), o = r.shift();
863
+ return o ? vt(t) ? Lr(xe(t[Object.keys(t).find((i) => Ke(i) === o) || ""], n), r.join("."), n) : void 0 : xe(t, n);
864
864
  }
865
865
  function $r(t, e = !0) {
866
866
  return Array.isArray(t) && (e || t.length !== 0);
@@ -979,7 +979,7 @@ function Ea(t, e = {}) {
979
979
  css: Qt(o, s.join(""))
980
980
  };
981
981
  }
982
- var He = {
982
+ var je = {
983
983
  regex: {
984
984
  rules: {
985
985
  class: {
@@ -1028,10 +1028,10 @@ var He = {
1028
1028
  const { preset: u, options: f } = e;
1029
1029
  let p, y, k, I;
1030
1030
  if (Y(u)) {
1031
- const { primitive: $, semantic: E } = u, B = E || {}, { colorScheme: C } = B, D = zt(B, ["colorScheme"]), K = C || {}, { dark: ee } = K, _e = zt(K, ["dark"]), re = Y($) ? this._toVariables({ primitive: $ }, f) : {}, Be = Y(D) ? this._toVariables({ semantic: D }, f) : {}, Pe = Y(_e) ? this._toVariables({ light: _e }, f) : {}, Z = Y(ee) ? this._toVariables({ dark: ee }, f) : {}, [ne, Se] = [(i = re.declarations) != null ? i : "", re.tokens], [Ue, Ee] = [(l = Be.declarations) != null ? l : "", Be.tokens || []], [ct, tt] = [(s = Pe.declarations) != null ? s : "", Pe.tokens || []], [Ge, qe] = [(a = Z.declarations) != null ? a : "", Z.tokens || []];
1031
+ const { primitive: $, semantic: E } = u, B = E || {}, { colorScheme: C } = B, D = zt(B, ["colorScheme"]), K = C || {}, { dark: ee } = K, _e = zt(K, ["dark"]), re = Y($) ? this._toVariables({ primitive: $ }, f) : {}, Be = Y(D) ? this._toVariables({ semantic: D }, f) : {}, Pe = Y(_e) ? this._toVariables({ light: _e }, f) : {}, Z = Y(ee) ? this._toVariables({ dark: ee }, f) : {}, [ne, Se] = [(i = re.declarations) != null ? i : "", re.tokens], [Ue, Ee] = [(l = Be.declarations) != null ? l : "", Be.tokens || []], [ct, tt] = [(s = Pe.declarations) != null ? s : "", Pe.tokens || []], [qe, Ye] = [(a = Z.declarations) != null ? a : "", Z.tokens || []];
1032
1032
  p = this.transformCSS(t, ne, "light", "variable", f, r, o), y = Se;
1033
- const bt = this.transformCSS(t, `${Ue}${ct}color-scheme:light`, "light", "variable", f, r, o), Me = this.transformCSS(t, `${Ge}color-scheme:dark`, "dark", "variable", f, r, o);
1034
- k = `${bt}${Me}`, I = [.../* @__PURE__ */ new Set([...Ee, ...tt, ...qe])];
1033
+ const bt = this.transformCSS(t, `${Ue}${ct}color-scheme:light`, "light", "variable", f, r, o), Me = this.transformCSS(t, `${qe}color-scheme:dark`, "dark", "variable", f, r, o);
1034
+ k = `${bt}${Me}`, I = [.../* @__PURE__ */ new Set([...Ee, ...tt, ...Ye])];
1035
1035
  }
1036
1036
  return {
1037
1037
  primitive: {
@@ -1170,7 +1170,7 @@ var He = {
1170
1170
  const { theme: e } = t;
1171
1171
  e && (this._theme = nr(Kt({}, e), {
1172
1172
  options: Kt(Kt({}, this.defaults.options), e.options)
1173
- }), this._tokens = He.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
1173
+ }), this._tokens = je.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
1174
1174
  },
1175
1175
  get theme() {
1176
1176
  return this._theme;
@@ -1196,7 +1196,7 @@ var He = {
1196
1196
  return this.preset;
1197
1197
  },
1198
1198
  setPreset(t) {
1199
- this._theme = nr(Kt({}, this.theme), { preset: t }), this._tokens = He.createTokens(t, this.defaults), this.clearLoadedStyleNames(), it.emit("preset:change", t), it.emit("theme:change", this.theme);
1199
+ this._theme = nr(Kt({}, this.theme), { preset: t }), this._tokens = je.createTokens(t, this.defaults), this.clearLoadedStyleNames(), it.emit("preset:change", t), it.emit("theme:change", this.theme);
1200
1200
  },
1201
1201
  getOptions() {
1202
1202
  return this.options;
@@ -1226,34 +1226,34 @@ var He = {
1226
1226
  this._loadedStyleNames.clear();
1227
1227
  },
1228
1228
  getTokenValue(t) {
1229
- return He.getTokenValue(this.tokens, t, this.defaults);
1229
+ return je.getTokenValue(this.tokens, t, this.defaults);
1230
1230
  },
1231
1231
  getCommon(t = "", e) {
1232
- return He.getCommon({ name: t, theme: this.theme, params: e, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
1232
+ return je.getCommon({ name: t, theme: this.theme, params: e, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
1233
1233
  },
1234
1234
  getComponent(t = "", e) {
1235
1235
  const n = { name: t, theme: this.theme, params: e, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } };
1236
- return He.getPresetC(n);
1236
+ return je.getPresetC(n);
1237
1237
  },
1238
1238
  getDirective(t = "", e) {
1239
1239
  const n = { name: t, theme: this.theme, params: e, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } };
1240
- return He.getPresetD(n);
1240
+ return je.getPresetD(n);
1241
1241
  },
1242
1242
  getCustomPreset(t = "", e, n, r) {
1243
1243
  const o = { name: t, preset: e, options: this.options, selector: n, params: r, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } };
1244
- return He.getPreset(o);
1244
+ return je.getPreset(o);
1245
1245
  },
1246
1246
  getLayerOrderCSS(t = "") {
1247
- return He.getLayerOrder(t, this.options, { names: this.getLayerNames() }, this.defaults);
1247
+ return je.getLayerOrder(t, this.options, { names: this.getLayerNames() }, this.defaults);
1248
1248
  },
1249
1249
  transformCSS(t = "", e, n = "style", r) {
1250
- return He.transformCSS(t, e, r, n, this.options, { layerNames: this.setLayerNames.bind(this) }, this.defaults);
1250
+ return je.transformCSS(t, e, r, n, this.options, { layerNames: this.setLayerNames.bind(this) }, this.defaults);
1251
1251
  },
1252
1252
  getCommonStyleSheet(t = "", e, n = {}) {
1253
- return He.getCommonStyleSheet({ name: t, theme: this.theme, params: e, props: n, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
1253
+ return je.getCommonStyleSheet({ name: t, theme: this.theme, params: e, props: n, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
1254
1254
  },
1255
1255
  getStyleSheet(t, e, n = {}) {
1256
- return He.getStyleSheet({ name: t, theme: this.theme, params: e, props: n, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
1256
+ return je.getStyleSheet({ name: t, theme: this.theme, params: e, props: n, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
1257
1257
  },
1258
1258
  onStyleMounted(t) {
1259
1259
  this._loadingStyles.add(t);
@@ -1334,12 +1334,12 @@ function $a(t) {
1334
1334
  }
1335
1335
  var Ma = 0;
1336
1336
  function Da(t) {
1337
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = Ke(!1), r = Ke(t), o = Ke(null), i = ga() ? window.document : void 0, l = e.document, s = l === void 0 ? i : l, a = e.immediate, u = a === void 0 ? !0 : a, f = e.manual, p = f === void 0 ? !1 : f, y = e.name, k = y === void 0 ? "style_".concat(++Ma) : y, I = e.id, $ = I === void 0 ? void 0 : I, E = e.media, B = E === void 0 ? void 0 : E, C = e.nonce, D = C === void 0 ? void 0 : C, K = e.first, ee = K === void 0 ? !1 : K, _e = e.onMounted, re = _e === void 0 ? void 0 : _e, Be = e.onUpdated, Pe = Be === void 0 ? void 0 : Be, Z = e.onLoad, ne = Z === void 0 ? void 0 : Z, Se = e.props, Ue = Se === void 0 ? {} : Se, Ee = function() {
1338
- }, ct = function(qe) {
1337
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = ze(!1), r = ze(t), o = ze(null), i = ga() ? window.document : void 0, l = e.document, s = l === void 0 ? i : l, a = e.immediate, u = a === void 0 ? !0 : a, f = e.manual, p = f === void 0 ? !1 : f, y = e.name, k = y === void 0 ? "style_".concat(++Ma) : y, I = e.id, $ = I === void 0 ? void 0 : I, E = e.media, B = E === void 0 ? void 0 : E, C = e.nonce, D = C === void 0 ? void 0 : C, K = e.first, ee = K === void 0 ? !1 : K, _e = e.onMounted, re = _e === void 0 ? void 0 : _e, Be = e.onUpdated, Pe = Be === void 0 ? void 0 : Be, Z = e.onLoad, ne = Z === void 0 ? void 0 : Z, Se = e.props, Ue = Se === void 0 ? {} : Se, Ee = function() {
1338
+ }, ct = function(Ye) {
1339
1339
  var bt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1340
1340
  if (s) {
1341
1341
  var Me = Co(Co({}, Ue), bt), c = Me.name || k, m = Me.id || $, v = Me.nonce || D;
1342
- o.value = s.querySelector('style[data-primevue-style-id="'.concat(c, '"]')) || s.getElementById(m) || s.createElement("style"), o.value.isConnected || (r.value = qe || t, Dn(o.value, {
1342
+ o.value = s.querySelector('style[data-primevue-style-id="'.concat(c, '"]')) || s.getElementById(m) || s.createElement("style"), o.value.isConnected || (r.value = Ye || t, Dn(o.value, {
1343
1343
  type: "text/css",
1344
1344
  id: m,
1345
1345
  media: B,
@@ -1831,7 +1831,7 @@ var Fn = {
1831
1831
  this._loadStyles(), this._hook("onBeforeMount");
1832
1832
  },
1833
1833
  mounted: function() {
1834
- this.rootEl = Ve(this.$el, '[data-pc-name="'.concat(Fe(this.$.type.name), '"]')), this.rootEl && (this.rootEl.setAttribute(this.$attrSelector, ""), this.rootEl.$pc = W({
1834
+ this.rootEl = Fe(this.$el, '[data-pc-name="'.concat(Ke(this.$.type.name), '"]')), this.rootEl && (this.rootEl.setAttribute(this.$attrSelector, ""), this.rootEl.$pc = W({
1835
1835
  name: this.$.type.name
1836
1836
  }, this.$params)), this._hook("onMounted");
1837
1837
  },
@@ -1949,7 +1949,7 @@ var Fn = {
1949
1949
  },
1950
1950
  _getPTDatasets: function() {
1951
1951
  var e, n, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", o = "data-pc-", i = r === "root" && Y((e = this.pt) === null || e === void 0 ? void 0 : e["data-pc-section"]);
1952
- return r !== "transition" && W(W({}, r === "root" && W($n({}, "".concat(o, "name"), Fe(i ? (n = this.pt) === null || n === void 0 ? void 0 : n["data-pc-section"] : this.$.type.name)), i && $n({}, "".concat(o, "extend"), Fe(this.$.type.name)))), {}, $n({}, "".concat(o, "section"), Fe(r)));
1952
+ return r !== "transition" && W(W({}, r === "root" && W($n({}, "".concat(o, "name"), Ke(i ? (n = this.pt) === null || n === void 0 ? void 0 : n["data-pc-section"] : this.$.type.name)), i && $n({}, "".concat(o, "extend"), Ke(this.$.type.name)))), {}, $n({}, "".concat(o, "section"), Ke(r)));
1953
1953
  },
1954
1954
  _getPTClassValue: function() {
1955
1955
  var e = this._getOptionValue.apply(this, arguments);
@@ -1959,7 +1959,7 @@ var Fn = {
1959
1959
  },
1960
1960
  _getPT: function(e) {
1961
1961
  var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 ? arguments[2] : void 0, i = function(s) {
1962
- var a, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o ? o(s) : s, p = Fe(r), y = Fe(n.$name);
1962
+ var a, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = o ? o(s) : s, p = Ke(r), y = Ke(n.$name);
1963
1963
  return (a = u ? p !== y ? f == null ? void 0 : f[p] : void 0 : f == null ? void 0 : f[p]) !== null && a !== void 0 ? a : f;
1964
1964
  };
1965
1965
  return e != null && e.hasOwnProperty("_usept") ? {
@@ -2537,11 +2537,11 @@ var j = {
2537
2537
  },
2538
2538
  _getPTDatasets: function() {
2539
2539
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = "data-pc-";
2540
- return q(q({}, n === "root" && br({}, "".concat(r, "name"), Fe(e.$name))), {}, br({}, "".concat(r, "section"), Fe(n)));
2540
+ return q(q({}, n === "root" && br({}, "".concat(r, "name"), Ke(e.$name))), {}, br({}, "".concat(r, "section"), Ke(n)));
2541
2541
  },
2542
2542
  _getPT: function(e) {
2543
2543
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = arguments.length > 2 ? arguments[2] : void 0, o = function(l) {
2544
- var s, a = r ? r(l) : l, u = Fe(n);
2544
+ var s, a = r ? r(l) : l, u = Ke(n);
2545
2545
  return (s = a == null ? void 0 : a[u]) !== null && s !== void 0 ? s : a;
2546
2546
  };
2547
2547
  return e != null && e.hasOwnProperty("_usept") ? {
@@ -3359,7 +3359,7 @@ var Ii = {
3359
3359
  },
3360
3360
  onEnterKey: function(e) {
3361
3361
  if (Y(this.focusedItem)) {
3362
- var n = Ve(this.$el, 'li[id="'.concat("".concat(this.focusedItemId), '"]')), r = n && (Ve(n, '[data-pc-section="itemlink"]') || Ve(n, "a,button"));
3362
+ var n = Fe(this.$el, 'li[id="'.concat("".concat(this.focusedItemId), '"]')), r = n && (Fe(n, '[data-pc-section="itemlink"]') || Fe(n, "a,button"));
3363
3363
  r ? r.click() : n && n.click();
3364
3364
  }
3365
3365
  e.preventDefault();
@@ -3455,7 +3455,7 @@ var Ii = {
3455
3455
  });
3456
3456
  },
3457
3457
  scrollInView: function() {
3458
- var e = Ve(this.$el, 'li[id="'.concat("".concat(this.focusedItemId), '"]'));
3458
+ var e = Fe(this.$el, 'li[id="'.concat("".concat(this.focusedItemId), '"]'));
3459
3459
  e && e.scrollIntoView && e.scrollIntoView({
3460
3460
  block: "nearest",
3461
3461
  inline: "start"
@@ -3682,14 +3682,14 @@ var Ti = {
3682
3682
  }
3683
3683
  },
3684
3684
  onHeaderArrowDownKey: function(e) {
3685
- var n = Jt(e.currentTarget, "data-p-active") === !0 ? Ve(e.currentTarget.nextElementSibling, '[data-pc-section="rootlist"]') : null;
3685
+ var n = Jt(e.currentTarget, "data-p-active") === !0 ? Fe(e.currentTarget.nextElementSibling, '[data-pc-section="rootlist"]') : null;
3686
3686
  n ? Zt(n) : this.updateFocusedHeader({
3687
3687
  originalEvent: e,
3688
3688
  focusOnNext: !0
3689
3689
  }), e.preventDefault();
3690
3690
  },
3691
3691
  onHeaderArrowUpKey: function(e) {
3692
- var n = this.findPrevHeader(e.currentTarget.parentElement) || this.findLastHeader(), r = Jt(n, "data-p-active") === !0 ? Ve(n.nextElementSibling, '[data-pc-section="rootlist"]') : null;
3692
+ var n = this.findPrevHeader(e.currentTarget.parentElement) || this.findLastHeader(), r = Jt(n, "data-p-active") === !0 ? Fe(n.nextElementSibling, '[data-pc-section="rootlist"]') : null;
3693
3693
  r ? Zt(r) : this.updateFocusedHeader({
3694
3694
  originalEvent: e,
3695
3695
  focusOnNext: !1
@@ -3702,15 +3702,15 @@ var Ti = {
3702
3702
  this.changeFocusedHeader(e, this.findLastHeader()), e.preventDefault();
3703
3703
  },
3704
3704
  onHeaderEnterKey: function(e, n) {
3705
- var r = Ve(e.currentTarget, '[data-pc-section="headerlink"]');
3705
+ var r = Fe(e.currentTarget, '[data-pc-section="headerlink"]');
3706
3706
  r ? r.click() : this.onHeaderClick(e, n), e.preventDefault();
3707
3707
  },
3708
3708
  findNextHeader: function(e) {
3709
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, r = n ? e : e.nextElementSibling, o = Ve(r, '[data-pc-section="header"]');
3709
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, r = n ? e : e.nextElementSibling, o = Fe(r, '[data-pc-section="header"]');
3710
3710
  return o ? Jt(o, "data-p-disabled") ? this.findNextHeader(o.parentElement) : o : null;
3711
3711
  },
3712
3712
  findPrevHeader: function(e) {
3713
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, r = n ? e : e.previousElementSibling, o = Ve(r, '[data-pc-section="header"]');
3713
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, r = n ? e : e.previousElementSibling, o = Fe(r, '[data-pc-section="header"]');
3714
3714
  return o ? Jt(o, "data-p-disabled") ? this.findPrevHeader(o.parentElement) : o : null;
3715
3715
  },
3716
3716
  findFirstHeader: function() {
@@ -3720,7 +3720,7 @@ var Ti = {
3720
3720
  return this.findPrevHeader(this.$el.lastElementChild, !0);
3721
3721
  },
3722
3722
  updateFocusedHeader: function(e) {
3723
- var n = e.originalEvent, r = e.focusOnNext, o = e.selfCheck, i = n.currentTarget.closest('[data-pc-section="panel"]'), l = o ? Ve(i, '[data-pc-section="header"]') : r ? this.findNextHeader(i) : this.findPrevHeader(i);
3723
+ var n = e.originalEvent, r = e.focusOnNext, o = e.selfCheck, i = n.currentTarget.closest('[data-pc-section="panel"]'), l = o ? Fe(i, '[data-pc-section="header"]') : r ? this.findNextHeader(i) : this.findPrevHeader(i);
3724
3724
  l ? this.changeFocusedHeader(n, l) : r ? this.onHeaderHomeKey(n) : this.onHeaderEndKey(n);
3725
3725
  },
3726
3726
  changeActiveItem: function(e, n) {
@@ -3874,7 +3874,7 @@ const Zl = { class: "panel-menu-wrapper" }, Jl = ["data-active", "href", "onClic
3874
3874
  }, tc = {
3875
3875
  key: 0,
3876
3876
  class: "material-symbols-outlined item-menu-icon-left"
3877
- }, nc = /* @__PURE__ */ We({
3877
+ }, nc = /* @__PURE__ */ Ge({
3878
3878
  __name: "NavMenu",
3879
3879
  props: {
3880
3880
  items: {}
@@ -4177,7 +4177,7 @@ const Zl = { class: "panel-menu-wrapper" }, Jl = ["data-active", "href", "onClic
4177
4177
  ]), rn = xi(["success", "warning", "info", "question", "error"]), me = () => document.body.querySelector(`.${h.container}`), yn = (t) => {
4178
4178
  const e = me();
4179
4179
  return e ? e.querySelector(t) : null;
4180
- }, Ne = (t) => yn(`.${t}`), X = () => Ne(h.popup), bn = () => Ne(h.icon), Oi = () => Ne(h.title), Bn = () => Ne(h["html-container"]), Li = () => Ne(h.image), $i = () => Ne(h["progress-steps"]), zn = () => Ne(h["validation-message"]), ze = () => yn(`.${h.actions} .${h.confirm}`), yt = () => yn(`.${h.actions} .${h.deny}`), pc = () => Ne(h["input-label"]), Bt = () => yn(`.${h.loader}`), It = () => yn(`.${h.actions} .${h.cancel}`), wn = () => Ne(h.actions), Mi = () => Ne(h.footer), Wn = () => Ne(h["timer-progress-bar"]), Ur = () => Ne(h.close), hc = `
4180
+ }, Ne = (t) => yn(`.${t}`), X = () => Ne(h.popup), bn = () => Ne(h.icon), Oi = () => Ne(h.title), Bn = () => Ne(h["html-container"]), Li = () => Ne(h.image), $i = () => Ne(h["progress-steps"]), zn = () => Ne(h["validation-message"]), We = () => yn(`.${h.actions} .${h.confirm}`), yt = () => yn(`.${h.actions} .${h.deny}`), pc = () => Ne(h["input-label"]), Bt = () => yn(`.${h.loader}`), It = () => yn(`.${h.actions} .${h.cancel}`), wn = () => Ne(h.actions), Mi = () => Ne(h.footer), Wn = () => Ne(h["timer-progress-bar"]), Ur = () => Ne(h.close), hc = `
4181
4181
  a[href],
4182
4182
  area[href],
4183
4183
  input:not([disabled]),
@@ -4281,7 +4281,7 @@ const Zl = { class: "panel-menu-wrapper" }, Jl = ["data-active", "href", "onClic
4281
4281
  o && (o.style[n] = r);
4282
4282
  }, qn = (t, e, n) => {
4283
4283
  e ? ae(t, n) : pe(t);
4284
- }, Oe = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), yc = () => !Oe(ze()) && !Oe(yt()) && !Oe(It()), Vo = (t) => t.scrollHeight > t.clientHeight, Ni = (t) => {
4284
+ }, Oe = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), yc = () => !Oe(We()) && !Oe(yt()) && !Oe(It()), Vo = (t) => t.scrollHeight > t.clientHeight, Ni = (t) => {
4285
4285
  const e = window.getComputedStyle(t), n = parseFloat(e.getPropertyValue("animation-duration") || "0"), r = parseFloat(e.getPropertyValue("transition-duration") || "0");
4286
4286
  return n > 0 || r > 0;
4287
4287
  }, Fr = (t, e = !1) => {
@@ -4399,7 +4399,7 @@ const Zl = { class: "panel-menu-wrapper" }, Jl = ["data-active", "href", "onClic
4399
4399
  !e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? pe(n) : ae(n), De(n, e, "actions"), Mc(n, r, e), fe(r, e.loaderHtml), De(r, e, "loader");
4400
4400
  };
4401
4401
  function Mc(t, e, n) {
4402
- const r = ze(), o = yt(), i = It();
4402
+ const r = We(), o = yt(), i = It();
4403
4403
  ir(r, "confirm", n), ir(o, "deny", n), ir(i, "cancel", n), Dc(r, o, i, n), n.reverseButtons && (n.toast ? (t.insertBefore(i, r), t.insertBefore(o, r)) : (t.insertBefore(i, e), t.insertBefore(o, e), t.insertBefore(r, e)));
4404
4404
  }
4405
4405
  function Dc(t, e, n, r) {
@@ -4786,9 +4786,9 @@ const wu = () => {
4786
4786
  Gn() ? pe(bn()) : $u(e, t), ae(n), e.setAttribute("data-loading", !0), e.setAttribute("aria-busy", !0), e.focus();
4787
4787
  }, $u = (t, e) => {
4788
4788
  const n = wn(), r = Bt();
4789
- !e && Oe(ze()) && (e = ze()), ae(n), e && (pe(e), r.setAttribute("data-button-to-replace", e.className)), r.parentNode.insertBefore(r, e), G([t, n], h.loading);
4789
+ !e && Oe(We()) && (e = We()), ae(n), e && (pe(e), r.setAttribute("data-button-to-replace", e.className)), r.parentNode.insertBefore(r, e), G([t, n], h.loading);
4790
4790
  }, Mu = (t, e) => {
4791
- e.input === "select" || e.input === "radio" ? Uu(t, e) : ["text", "email", "number", "tel", "textarea"].includes(e.input) && (Nr(e.inputValue) || Br(e.inputValue)) && (Rt(ze()), Hu(t, e));
4791
+ e.input === "select" || e.input === "radio" ? Uu(t, e) : ["text", "email", "number", "tel", "textarea"].includes(e.input) && (Nr(e.inputValue) || Br(e.inputValue)) && (Rt(We()), Hu(t, e));
4792
4792
  }, Du = (t, e) => {
4793
4793
  const n = t.getInput();
4794
4794
  if (!n)
@@ -4805,7 +4805,7 @@ const wu = () => {
4805
4805
  }
4806
4806
  }, Ru = (t) => t.checked ? 1 : 0, Nu = (t) => t.checked ? t.value : null, Bu = (t) => t.files.length ? t.getAttribute("multiple") !== null ? t.files : t.files[0] : null, Uu = (t, e) => {
4807
4807
  const n = X(), r = (o) => ju[e.input](n, Sr(o), e);
4808
- Nr(e.inputOptions) || Br(e.inputOptions) ? (Rt(ze()), vn(e.inputOptions).then((o) => {
4808
+ Nr(e.inputOptions) || Br(e.inputOptions) ? (Rt(We()), vn(e.inputOptions).then((o) => {
4809
4809
  t.hideLoading(), r(o);
4810
4810
  })) : typeof e.inputOptions == "object" ? r(e.inputOptions) : At(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof e.inputOptions}`);
4811
4811
  }, Hu = (t, e) => {
@@ -4869,7 +4869,7 @@ function Fu(t) {
4869
4869
  const hn = {
4870
4870
  swalPromiseResolve: /* @__PURE__ */ new WeakMap(),
4871
4871
  swalPromiseReject: /* @__PURE__ */ new WeakMap()
4872
- }, Ku = () => Oe(X()), zi = () => ze() && ze().click(), zu = () => yt() && yt().click(), Wu = () => It() && It().click(), Wi = (t) => {
4872
+ }, Ku = () => Oe(X()), zi = () => We() && We().click(), zu = () => yt() && yt().click(), Wu = () => It() && It().click(), Wi = (t) => {
4873
4873
  t.keydownTarget && t.keydownHandlerAdded && (t.keydownTarget.removeEventListener("keydown", t.keydownHandler, {
4874
4874
  capture: t.keydownListenerCapture
4875
4875
  }), t.keydownHandlerAdded = !1);
@@ -4901,7 +4901,7 @@ const hn = {
4901
4901
  }
4902
4902
  t.shiftKey ? kr(e, o, -1) : kr(e, o, 1), t.stopPropagation(), t.preventDefault();
4903
4903
  }, Ju = (t) => {
4904
- const e = ze(), n = yt(), r = It();
4904
+ const e = We(), n = yt(), r = It();
4905
4905
  if (![e, n, r].includes(document.activeElement))
4906
4906
  return;
4907
4907
  const o = Gi.includes(t) ? "nextElementSibling" : "previousElementSibling";
@@ -5216,7 +5216,7 @@ const Nd = (t) => {
5216
5216
  getActions: wn,
5217
5217
  getCancelButton: It,
5218
5218
  getCloseButton: Ur,
5219
- getConfirmButton: ze,
5219
+ getConfirmButton: We,
5220
5220
  getContainer: me,
5221
5221
  getDenyButton: yt,
5222
5222
  getFocusableElements: Hr,
@@ -5292,7 +5292,7 @@ const Ud = (t, e, n) => new Promise((r, o) => {
5292
5292
  popup: X(),
5293
5293
  container: me(),
5294
5294
  actions: wn(),
5295
- confirmButton: ze(),
5295
+ confirmButton: We(),
5296
5296
  denyButton: yt(),
5297
5297
  cancelButton: It(),
5298
5298
  loader: Bt(),
@@ -5357,7 +5357,7 @@ Tr || (Tr = function(e, n, r) {
5357
5357
  Ar || (Ar = function(e, n) {
5358
5358
  return new e(...n);
5359
5359
  });
5360
- const On = $e(Array.prototype.forEach), ei = $e(Array.prototype.pop), Wt = $e(Array.prototype.push), Mn = $e(String.prototype.toLowerCase), ar = $e(String.prototype.toString), ti = $e(String.prototype.match), Gt = $e(String.prototype.replace), Yd = $e(String.prototype.indexOf), Xd = $e(String.prototype.trim), je = $e(Object.prototype.hasOwnProperty), ge = $e(RegExp.prototype.test), qt = Zd(TypeError);
5360
+ const On = $e(Array.prototype.forEach), ei = $e(Array.prototype.pop), Wt = $e(Array.prototype.push), Mn = $e(String.prototype.toLowerCase), ar = $e(String.prototype.toString), ti = $e(String.prototype.match), Gt = $e(String.prototype.replace), Yd = $e(String.prototype.indexOf), Xd = $e(String.prototype.trim), Ve = $e(Object.prototype.hasOwnProperty), ge = $e(RegExp.prototype.test), qt = Zd(TypeError);
5361
5361
  function $e(t) {
5362
5362
  return function(e) {
5363
5363
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
@@ -5388,13 +5388,13 @@ function V(t, e) {
5388
5388
  }
5389
5389
  function Jd(t) {
5390
5390
  for (let e = 0; e < t.length; e++)
5391
- je(t, e) || (t[e] = null);
5391
+ Ve(t, e) || (t[e] = null);
5392
5392
  return t;
5393
5393
  }
5394
5394
  function _t(t) {
5395
5395
  const e = os(null);
5396
5396
  for (const [n, r] of rs(t))
5397
- je(t, n) && (Array.isArray(r) ? e[n] = Jd(r) : r && typeof r == "object" && r.constructor === Object ? e[n] = _t(r) : e[n] = r);
5397
+ Ve(t, n) && (Array.isArray(r) ? e[n] = Jd(r) : r && typeof r == "object" && r.constructor === Object ? e[n] = _t(r) : e[n] = r);
5398
5398
  return e;
5399
5399
  }
5400
5400
  function Yt(t, e) {
@@ -5511,8 +5511,8 @@ function as() {
5511
5511
  TMPLIT_EXPR: Ee,
5512
5512
  DATA_ATTR: ct,
5513
5513
  ARIA_ATTR: tt,
5514
- IS_SCRIPT_OR_DATA: Ge,
5515
- ATTR_WHITESPACE: qe,
5514
+ IS_SCRIPT_OR_DATA: qe,
5515
+ ATTR_WHITESPACE: Ye,
5516
5516
  CUSTOM_ELEMENT: bt
5517
5517
  } = si;
5518
5518
  let {
@@ -5559,21 +5559,21 @@ function as() {
5559
5559
  let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5560
5560
  if (!(Lt && Lt === d)) {
5561
5561
  if ((!d || typeof d != "object") && (d = {}), d = _t(d), Vt = // eslint-disable-next-line unicorn/prefer-includes
5562
- gs.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? vs : d.PARSER_MEDIA_TYPE, oe = Vt === "application/xhtml+xml" ? ar : Mn, c = je(d, "ALLOWED_TAGS") ? V({}, d.ALLOWED_TAGS, oe) : m, v = je(d, "ALLOWED_ATTR") ? V({}, d.ALLOWED_ATTR, oe) : S, Jn = je(d, "ALLOWED_NAMESPACES") ? V({}, d.ALLOWED_NAMESPACES, ar) : hs, Xn = je(d, "ADD_URI_SAFE_ATTR") ? V(
5562
+ gs.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? vs : d.PARSER_MEDIA_TYPE, oe = Vt === "application/xhtml+xml" ? ar : Mn, c = Ve(d, "ALLOWED_TAGS") ? V({}, d.ALLOWED_TAGS, oe) : m, v = Ve(d, "ALLOWED_ATTR") ? V({}, d.ALLOWED_ATTR, oe) : S, Jn = Ve(d, "ALLOWED_NAMESPACES") ? V({}, d.ALLOWED_NAMESPACES, ar) : hs, Xn = Ve(d, "ADD_URI_SAFE_ATTR") ? V(
5563
5563
  _t(Qr),
5564
5564
  // eslint-disable-line indent
5565
5565
  d.ADD_URI_SAFE_ATTR,
5566
5566
  // eslint-disable-line indent
5567
5567
  oe
5568
5568
  // eslint-disable-line indent
5569
- ) : Qr, Zr = je(d, "ADD_DATA_URI_TAGS") ? V(
5569
+ ) : Qr, Zr = Ve(d, "ADD_DATA_URI_TAGS") ? V(
5570
5570
  _t(Jr),
5571
5571
  // eslint-disable-line indent
5572
5572
  d.ADD_DATA_URI_TAGS,
5573
5573
  // eslint-disable-line indent
5574
5574
  oe
5575
5575
  // eslint-disable-line indent
5576
- ) : Jr, xt = je(d, "FORBID_CONTENTS") ? V({}, d.FORBID_CONTENTS, oe) : Xr, T = je(d, "FORBID_TAGS") ? V({}, d.FORBID_TAGS, oe) : {}, b = je(d, "FORBID_ATTR") ? V({}, d.FORBID_ATTR, oe) : {}, Et = je(d, "USE_PROFILES") ? d.USE_PROFILES : !1, w = d.ALLOW_ARIA_ATTR !== !1, P = d.ALLOW_DATA_ATTR !== !1, A = d.ALLOW_UNKNOWN_PROTOCOLS || !1, R = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, H = d.SAFE_FOR_TEMPLATES || !1, ke = d.SAFE_FOR_XML !== !1, le = d.WHOLE_DOCUMENT || !1, Pt = d.RETURN_DOM || !1, kn = d.RETURN_DOM_FRAGMENT || !1, Cn = d.RETURN_TRUSTED_TYPE || !1, nt = d.FORCE_BODY || !1, qr = d.SANITIZE_DOM !== !1, Yr = d.SANITIZE_NAMED_PROPS || !1, Yn = d.KEEP_CONTENT !== !1, jt = d.IN_PLACE || !1, Me = d.ALLOWED_URI_REGEXP || is, Ot = d.NAMESPACE || rt, g = d.CUSTOM_ELEMENT_HANDLING || {}, d.CUSTOM_ELEMENT_HANDLING && eo(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (g.tagNameCheck = d.CUSTOM_ELEMENT_HANDLING.tagNameCheck), d.CUSTOM_ELEMENT_HANDLING && eo(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (g.attributeNameCheck = d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), d.CUSTOM_ELEMENT_HANDLING && typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (g.allowCustomizedBuiltInElements = d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), H && (P = !1), kn && (Pt = !0), Et && (c = V({}, ri), v = [], Et.html === !0 && (V(c, ni), V(v, oi)), Et.svg === !0 && (V(c, lr), V(v, dr), V(v, Ln)), Et.svgFilters === !0 && (V(c, cr), V(v, dr), V(v, Ln)), Et.mathMl === !0 && (V(c, ur), V(v, ii), V(v, Ln))), d.ADD_TAGS && (c === m && (c = _t(c)), V(c, d.ADD_TAGS, oe)), d.ADD_ATTR && (v === S && (v = _t(v)), V(v, d.ADD_ATTR, oe)), d.ADD_URI_SAFE_ATTR && V(Xn, d.ADD_URI_SAFE_ATTR, oe), d.FORBID_CONTENTS && (xt === Xr && (xt = _t(xt)), V(xt, d.FORBID_CONTENTS, oe)), Yn && (c["#text"] = !0), le && V(c, ["html", "head", "body"]), c.table && (V(c, ["tbody"]), delete T.tbody), d.TRUSTED_TYPES_POLICY) {
5576
+ ) : Jr, xt = Ve(d, "FORBID_CONTENTS") ? V({}, d.FORBID_CONTENTS, oe) : Xr, T = Ve(d, "FORBID_TAGS") ? V({}, d.FORBID_TAGS, oe) : {}, b = Ve(d, "FORBID_ATTR") ? V({}, d.FORBID_ATTR, oe) : {}, Et = Ve(d, "USE_PROFILES") ? d.USE_PROFILES : !1, w = d.ALLOW_ARIA_ATTR !== !1, P = d.ALLOW_DATA_ATTR !== !1, A = d.ALLOW_UNKNOWN_PROTOCOLS || !1, R = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, H = d.SAFE_FOR_TEMPLATES || !1, ke = d.SAFE_FOR_XML !== !1, le = d.WHOLE_DOCUMENT || !1, Pt = d.RETURN_DOM || !1, kn = d.RETURN_DOM_FRAGMENT || !1, Cn = d.RETURN_TRUSTED_TYPE || !1, nt = d.FORCE_BODY || !1, qr = d.SANITIZE_DOM !== !1, Yr = d.SANITIZE_NAMED_PROPS || !1, Yn = d.KEEP_CONTENT !== !1, jt = d.IN_PLACE || !1, Me = d.ALLOWED_URI_REGEXP || is, Ot = d.NAMESPACE || rt, g = d.CUSTOM_ELEMENT_HANDLING || {}, d.CUSTOM_ELEMENT_HANDLING && eo(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (g.tagNameCheck = d.CUSTOM_ELEMENT_HANDLING.tagNameCheck), d.CUSTOM_ELEMENT_HANDLING && eo(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (g.attributeNameCheck = d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), d.CUSTOM_ELEMENT_HANDLING && typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (g.allowCustomizedBuiltInElements = d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), H && (P = !1), kn && (Pt = !0), Et && (c = V({}, ri), v = [], Et.html === !0 && (V(c, ni), V(v, oi)), Et.svg === !0 && (V(c, lr), V(v, dr), V(v, Ln)), Et.svgFilters === !0 && (V(c, cr), V(v, dr), V(v, Ln)), Et.mathMl === !0 && (V(c, ur), V(v, ii), V(v, Ln))), d.ADD_TAGS && (c === m && (c = _t(c)), V(c, d.ADD_TAGS, oe)), d.ADD_ATTR && (v === S && (v = _t(v)), V(v, d.ADD_ATTR, oe)), d.ADD_URI_SAFE_ATTR && V(Xn, d.ADD_URI_SAFE_ATTR, oe), d.FORBID_CONTENTS && (xt === Xr && (xt = _t(xt)), V(xt, d.FORBID_CONTENTS, oe)), Yn && (c["#text"] = !0), le && V(c, ["html", "head", "body"]), c.table && (V(c, ["tbody"]), delete T.tbody), d.TRUSTED_TYPES_POLICY) {
5577
5577
  if (typeof d.TRUSTED_TYPES_POLICY.createHTML != "function")
5578
5578
  throw qt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
5579
5579
  if (typeof d.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -5591,7 +5591,7 @@ function as() {
5591
5591
  });
5592
5592
  const x = Mn(d.tagName), J = Mn(_.tagName);
5593
5593
  return Jn[d.namespaceURI] ? d.namespaceURI === Tn ? _.namespaceURI === rt ? x === "svg" : _.namespaceURI === In ? x === "svg" && (J === "annotation-xml" || to[J]) : !!ro[x] : d.namespaceURI === In ? _.namespaceURI === rt ? x === "math" : _.namespaceURI === Tn ? x === "math" && no[J] : !!oo[x] : d.namespaceURI === rt ? _.namespaceURI === Tn && !no[J] || _.namespaceURI === In && !to[J] ? !1 : !oo[x] && (bs[x] || !ro[x]) : !!(Vt === "application/xhtml+xml" && Jn[d.namespaceURI]) : !1;
5594
- }, Ye = function(d) {
5594
+ }, Xe = function(d) {
5595
5595
  Wt(e.removed, {
5596
5596
  element: d
5597
5597
  });
@@ -5615,7 +5615,7 @@ function as() {
5615
5615
  if (_.removeAttribute(d), d === "is" && !v[d])
5616
5616
  if (Pt || kn)
5617
5617
  try {
5618
- Ye(_);
5618
+ Xe(_);
5619
5619
  } catch {
5620
5620
  }
5621
5621
  else
@@ -5666,13 +5666,13 @@ function as() {
5666
5666
  }, co = function(d) {
5667
5667
  let _ = null;
5668
5668
  if (ot("beforeSanitizeElements", d, null), ao(d))
5669
- return Ye(d), !0;
5669
+ return Xe(d), !0;
5670
5670
  const x = oe(d.nodeName);
5671
5671
  if (ot("uponSanitizeElement", d, {
5672
5672
  tagName: x,
5673
5673
  allowedTags: c
5674
5674
  }), d.hasChildNodes() && !lo(d.firstElementChild) && ge(/<[/\w]/g, d.innerHTML) && ge(/<[/\w]/g, d.textContent) || d.nodeType === Xt.progressingInstruction || ke && d.nodeType === Xt.comment && ge(/<[/\w]/g, d.data))
5675
- return Ye(d), !0;
5675
+ return Xe(d), !0;
5676
5676
  if (!c[x] || T[x]) {
5677
5677
  if (!T[x] && fo(x) && (g.tagNameCheck instanceof RegExp && ge(g.tagNameCheck, x) || g.tagNameCheck instanceof Function && g.tagNameCheck(x)))
5678
5678
  return !1;
@@ -5681,14 +5681,14 @@ function as() {
5681
5681
  if (ue && J) {
5682
5682
  const ie = ue.length;
5683
5683
  for (let Ce = ie - 1; Ce >= 0; --Ce) {
5684
- const Xe = $(ue[Ce], !0);
5685
- Xe.__removalCount = (d.__removalCount || 0) + 1, J.insertBefore(Xe, B(d));
5684
+ const Ze = $(ue[Ce], !0);
5685
+ Ze.__removalCount = (d.__removalCount || 0) + 1, J.insertBefore(Ze, B(d));
5686
5686
  }
5687
5687
  }
5688
5688
  }
5689
- return Ye(d), !0;
5689
+ return Xe(d), !0;
5690
5690
  }
5691
- return d instanceof a && !ws(d) || (x === "noscript" || x === "noembed" || x === "noframes") && ge(/<\/no(script|embed|frames)/i, d.innerHTML) ? (Ye(d), !0) : (H && d.nodeType === Xt.text && (_ = d.textContent, On([Se, Ue, Ee], (J) => {
5691
+ return d instanceof a && !ws(d) || (x === "noscript" || x === "noembed" || x === "noframes") && ge(/<\/no(script|embed|frames)/i, d.innerHTML) ? (Xe(d), !0) : (H && d.nodeType === Xt.text && (_ = d.textContent, On([Se, Ue, Ee], (J) => {
5692
5692
  _ = Gt(_, J, " ");
5693
5693
  }), d.textContent !== _ && (Wt(e.removed, {
5694
5694
  element: d.cloneNode()
@@ -5708,9 +5708,9 @@ function as() {
5708
5708
  _ === "is" && g.allowCustomizedBuiltInElements && (g.tagNameCheck instanceof RegExp && ge(g.tagNameCheck, x) || g.tagNameCheck instanceof Function && g.tagNameCheck(x)))
5709
5709
  ) return !1;
5710
5710
  } else if (!Xn[_]) {
5711
- if (!ge(Me, Gt(x, qe, ""))) {
5711
+ if (!ge(Me, Gt(x, Ye, ""))) {
5712
5712
  if (!((_ === "src" || _ === "xlink:href" || _ === "href") && d !== "script" && Yd(x, "data:") === 0 && Zr[d])) {
5713
- if (!(A && !ge(Ge, Gt(x, qe, "")))) {
5713
+ if (!(A && !ge(qe, Gt(x, Ye, "")))) {
5714
5714
  if (x)
5715
5715
  return !1;
5716
5716
  }
@@ -5740,9 +5740,9 @@ function as() {
5740
5740
  const ue = _[J], {
5741
5741
  name: ie,
5742
5742
  namespaceURI: Ce,
5743
- value: Xe
5743
+ value: Ze
5744
5744
  } = ue, Ft = oe(ie);
5745
- let he = ie === "value" ? Xe : Xd(Xe);
5745
+ let he = ie === "value" ? Ze : Xd(Ze);
5746
5746
  if (x.attrName = Ft, x.attrValue = he, x.keepAttr = !0, x.forceKeepAttr = void 0, ot("uponSanitizeAttribute", d, x), he = x.attrValue, ke && ge(/((--!?|])>)|<\/(style|title)/i, he)) {
5747
5747
  An(ie, d);
5748
5748
  continue;
@@ -5770,7 +5770,7 @@ function as() {
5770
5770
  }
5771
5771
  }
5772
5772
  try {
5773
- Ce ? d.setAttributeNS(Ce, ie, he) : d.setAttribute(ie, he), ao(d) ? Ye(d) : ei(e.removed);
5773
+ Ce ? d.setAttributeNS(Ce, ie, he) : d.setAttribute(ie, he), ao(d) ? Xe(d) : ei(e.removed);
5774
5774
  } catch {
5775
5775
  }
5776
5776
  }
@@ -5795,8 +5795,8 @@ function as() {
5795
5795
  return O;
5796
5796
  if (ce || Qn(d), e.removed = [], typeof O == "string" && (jt = !1), jt) {
5797
5797
  if (O.nodeName) {
5798
- const Xe = oe(O.nodeName);
5799
- if (!c[Xe] || T[Xe])
5798
+ const Ze = oe(O.nodeName);
5799
+ if (!c[Ze] || T[Ze])
5800
5800
  throw qt("root node is forbidden and cannot be sanitized in-place");
5801
5801
  }
5802
5802
  } else if (O instanceof s)
@@ -5808,7 +5808,7 @@ function as() {
5808
5808
  if (_ = io(O), !_)
5809
5809
  return Pt ? null : Cn ? ee : "";
5810
5810
  }
5811
- _ && nt && Ye(_.firstChild);
5811
+ _ && nt && Xe(_.firstChild);
5812
5812
  const ie = so(jt ? O : _);
5813
5813
  for (; J = ie.nextNode(); )
5814
5814
  co(J) || (J.content instanceof i && _s(J.content), mo(J));
@@ -5824,8 +5824,8 @@ function as() {
5824
5824
  }
5825
5825
  let Ce = le ? _.outerHTML : _.innerHTML;
5826
5826
  return le && c["!doctype"] && _.ownerDocument && _.ownerDocument.doctype && _.ownerDocument.doctype.name && ge(ss, _.ownerDocument.doctype.name) && (Ce = "<!DOCTYPE " + _.ownerDocument.doctype.name + `>
5827
- ` + Ce), H && On([Se, Ue, Ee], (Xe) => {
5828
- Ce = Gt(Ce, Xe, " ");
5827
+ ` + Ce), H && On([Se, Ue, Ee], (Ze) => {
5828
+ Ce = Gt(Ce, Ze, " ");
5829
5829
  }), K && Cn ? K.createHTML(Ce) : Ce;
5830
5830
  }, e.setConfig = function() {
5831
5831
  let O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -7042,9 +7042,9 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
7042
7042
  };
7043
7043
  throw "invalid adapter type: " + c;
7044
7044
  }
7045
- var Ge = function() {
7046
- if (!(this instanceof Ge))
7047
- return new Ge();
7045
+ var qe = function() {
7046
+ if (!(this instanceof qe))
7047
+ return new qe();
7048
7048
  localStorage.setItem("kc-test", "test"), localStorage.removeItem("kc-test");
7049
7049
  var c = this;
7050
7050
  function m() {
@@ -7072,9 +7072,9 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
7072
7072
  var S = "kc-callback-" + v.state;
7073
7073
  v.expires = (/* @__PURE__ */ new Date()).getTime() + 60 * 60 * 1e3, localStorage.setItem(S, JSON.stringify(v));
7074
7074
  };
7075
- }, qe = function() {
7076
- if (!(this instanceof qe))
7077
- return new qe();
7075
+ }, Ye = function() {
7076
+ if (!(this instanceof Ye))
7077
+ return new Ye();
7078
7078
  var c = this;
7079
7079
  c.get = function(g) {
7080
7080
  if (g) {
@@ -7109,10 +7109,10 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
7109
7109
  };
7110
7110
  function bt() {
7111
7111
  try {
7112
- return new Ge();
7112
+ return new qe();
7113
7113
  } catch {
7114
7114
  }
7115
- return new qe();
7115
+ return new Ye();
7116
7116
  }
7117
7117
  function Me(c) {
7118
7118
  return function() {
@@ -7126,15 +7126,31 @@ function Pf(t) {
7126
7126
  }
7127
7127
  class Ef {
7128
7128
  constructor(e) {
7129
- Ze(this, "oidc");
7130
- Ze(this, "isAuthenticated", !1);
7129
+ He(this, "oidc");
7130
+ He(this, "isAuthenticated", !1);
7131
+ He(this, "authenticatedWith", null);
7131
7132
  this.oidc = new fs(e);
7132
7133
  }
7133
7134
  async InitAsync(e = {}) {
7134
- return await this.oidc.init(e).then(async (n) => (this.isAuthenticated = n, n)).catch((n) => (console.info(
7135
+ return await this.oidc.init(e).then(async (n) => (this.isAuthenticated = n, this.authenticatedWith = this.AuthenticatedWith(), n)).catch((n) => (console.info(
7135
7136
  "Ocorreu um erro na inicialização. Verifique o console para mais detalhes."
7136
7137
  ), console.error(n), !1));
7137
7138
  }
7139
+ LoginGovBr() {
7140
+ this.oidc.login({ idpHint: "GOV.BR" });
7141
+ }
7142
+ LoginSenhaweb() {
7143
+ var n;
7144
+ const e = (n = this.oidc.authServerUrl) != null && n.startsWith(
7145
+ "https://keycloak.dev.apps.sf.prefeitura.sp.gov.br/"
7146
+ ) ? "senhawebdev" : "senhaweb";
7147
+ this.oidc.login({ idpHint: e });
7148
+ }
7149
+ AuthenticatedWith() {
7150
+ var n, r;
7151
+ const e = this.oidc.tokenParsed;
7152
+ return e ? (n = e.identity_provider) != null && n.startsWith("GOV.BR") ? "govbr" : (r = e.identity_provider) != null && r.startsWith("senhaweb") ? "senhaweb" : "ad" : null;
7153
+ }
7138
7154
  }
7139
7155
  let ms;
7140
7156
  function Vf(t) {
@@ -7143,9 +7159,9 @@ function Vf(t) {
7143
7159
  const Ff = () => ms;
7144
7160
  class Kf {
7145
7161
  constructor(e = null) {
7146
- Ze(this, "errors", []);
7147
- Ze(this, "_value", null);
7148
- Ze(this, "_httpStatusCode");
7162
+ He(this, "errors", []);
7163
+ He(this, "_value", null);
7164
+ He(this, "_httpStatusCode");
7149
7165
  this._value = e, this._httpStatusCode = 200;
7150
7166
  }
7151
7167
  get value() {