@turquoisehealth/pit-viper 2.224.0 → 2.224.1-dev.0

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 (64) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +1 -0
  2. package/_site/assets/css/pit-viper-v2.css +98 -61
  3. package/package.json +1 -1
  4. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  5. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-progress-bar-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  21. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  22. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/types.d.ts +2 -2
  23. package/pv-components/dist/vue/ai/components/base/PvProgressBar/PvProgressBar.vue.d.ts +1 -1
  24. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +9 -16
  25. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/types.d.ts +14 -0
  26. package/pv-components/dist/vue/ai/components/base/baseProps.d.ts +1 -1
  27. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  28. package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  29. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +2 -2
  30. package/pv-components/dist/vue/base/components/base/PvProgressBar/PvProgressBar.vue.d.ts +1 -1
  31. package/pv-components/dist/vue/base/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +9 -16
  32. package/pv-components/dist/vue/base/components/base/PvSidebarV2/types.d.ts +14 -0
  33. package/pv-components/dist/vue/base/components/base/baseProps.d.ts +1 -1
  34. package/pv-components/dist/vue/base/pv-components-base.mjs +2159 -2066
  35. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  36. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  37. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +2 -2
  38. package/pv-components/dist/vue/visualizations/components/base/PvProgressBar/PvProgressBar.vue.d.ts +1 -1
  39. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +9 -16
  40. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/types.d.ts +14 -0
  41. package/pv-components/dist/vue/visualizations/components/base/baseProps.d.ts +1 -1
  42. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/crosslineHelpers.d.ts +1 -2
  43. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +2 -3
  44. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +0 -6
  45. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/useBenchmarkOverlays.d.ts +0 -1
  46. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +72 -67
  47. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  48. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +13 -3
  49. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +13 -3
  50. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +13 -3
  51. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +13 -3
  52. package/pv-components/dist/web/components/pv-menu/pv-menu.js +13 -3
  53. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +13 -3
  54. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +12 -2
  55. package/pv-components/dist/web/components/pv-progress-bar/pv-progress-bar.js +175 -174
  56. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +13 -3
  57. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +13 -3
  58. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +13 -3
  59. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +970 -877
  60. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +12 -2
  61. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +13 -3
  62. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +13 -3
  63. package/pv-components/dist/web/pv-components.iife.js +14 -14
  64. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1,20 +1,20 @@
1
1
  import * as e from "vue";
2
- import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as S, onBeforeUpdate as C, onMounted as w, onScopeDispose as T, onUnmounted as E, openBlock as D, reactive as O, readonly as ee, ref as k, renderList as A, renderSlot as j, shallowRef as M, toDisplayString as N, toValue as P, unref as te, useModel as ne, useSlots as re, vShow as ie, watch as F, watchEffect as ae, withCtx as I, withDirectives as oe } from "vue";
2
+ import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as S, onBeforeUpdate as C, onMounted as w, onScopeDispose as T, onUnmounted as E, openBlock as D, reactive as O, readonly as k, ref as A, renderList as j, renderSlot as M, shallowRef as N, toDisplayString as P, toValue as F, unref as I, useModel as ee, useSlots as te, vShow as ne, watch as L, watchEffect as re, withCtx as R, withDirectives as ie } from "vue";
3
3
  //#region \0rolldown/runtime.js
4
- var se = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, le = Object.getOwnPropertyNames, ue = Object.prototype.hasOwnProperty, de = (e, t) => {
4
+ var ae = Object.defineProperty, oe = Object.getOwnPropertyDescriptor, se = Object.getOwnPropertyNames, ce = Object.prototype.hasOwnProperty, le = (e, t) => {
5
5
  let n = {};
6
- for (var r in e) se(n, r, {
6
+ for (var r in e) ae(n, r, {
7
7
  get: e[r],
8
8
  enumerable: !0
9
9
  });
10
- return t || se(n, Symbol.toStringTag, { value: "Module" }), n;
11
- }, fe = (e, t, n, r) => {
12
- if (t && typeof t == "object" || typeof t == "function") for (var i = le(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !ue.call(e, s) && s !== n && se(e, s, {
10
+ return t || ae(n, Symbol.toStringTag, { value: "Module" }), n;
11
+ }, ue = (e, t, n, r) => {
12
+ if (t && typeof t == "object" || typeof t == "function") for (var i = se(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !ce.call(e, s) && s !== n && ae(e, s, {
13
13
  get: ((e) => t[e]).bind(null, s),
14
- enumerable: !(r = ce(t, s)) || r.enumerable
14
+ enumerable: !(r = oe(t, s)) || r.enumerable
15
15
  });
16
16
  return e;
17
- }, pe = (e, t, n) => (fe(e, t, "default"), n && fe(n, t, "default")), me = /* @__PURE__ */ d({
17
+ }, de = (e, t, n) => (ue(e, t, "default"), n && ue(n, t, "default")), fe = /* @__PURE__ */ d({
18
18
  __name: "PvCounterBadge",
19
19
  props: {
20
20
  maxValue: {
@@ -49,22 +49,22 @@ var se = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, le = Objec
49
49
  return (e, t) => (D(), o("div", {
50
50
  class: y(i.value),
51
51
  "data-testid": "pv-counter-badge"
52
- }, N(n.value), 3));
52
+ }, P(n.value), 3));
53
53
  }
54
- }), he = ".pv-badge-md[data-v-013a5d76]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-013a5d76]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}", ge = (e, t) => {
54
+ }), pe = ".pv-badge-md[data-v-013a5d76]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-013a5d76]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}", me = (e, t) => {
55
55
  let n = e.__vccOpts || e;
56
56
  for (let [e, r] of t) n[e] = r;
57
57
  return n;
58
- }, _e = /* @__PURE__ */ ge(me, [["styles", [he]], ["__scopeId", "data-v-013a5d76"]]);
58
+ }, he = /* @__PURE__ */ me(fe, [["styles", [pe]], ["__scopeId", "data-v-013a5d76"]]);
59
59
  //#endregion
60
60
  //#region src/web-components/utils.ts
61
- function ve() {
62
- let e = k(!1), t = p()?.root || {};
61
+ function ge() {
62
+ let e = A(!1), t = p()?.root || {};
63
63
  return "isCE" in t && t.isCE === !0 && (e.value = !0), e;
64
64
  }
65
65
  //#endregion
66
66
  //#region src/components/base/baseProps.ts
67
- var ye = [
67
+ var _e = [
68
68
  void 0,
69
69
  10,
70
70
  12,
@@ -72,24 +72,24 @@ var ye = [
72
72
  24,
73
73
  32,
74
74
  64
75
- ], be = ["xlink:href"], L = /* @__PURE__ */ d({
75
+ ], ve = ["xlink:href"], z = /* @__PURE__ */ d({
76
76
  __name: "PvIcon",
77
77
  props: {
78
78
  name: { type: String },
79
79
  size: { type: null }
80
80
  },
81
81
  setup(e) {
82
- let t = e, n = ve(), i = k(null), a = r(() => ({
82
+ let t = e, n = ge(), i = A(null), a = r(() => ({
83
83
  "pv-icon": !0,
84
- [`pv-icon-${t.size}`]: t.size != null && ye.includes(t.size)
84
+ [`pv-icon-${t.size}`]: t.size != null && _e.includes(t.size)
85
85
  })), c = r(() => n.value && i.value ? `${i.value}#${t.name}` : `#${t.name}`);
86
86
  return globalThis.__PV_GLOBAL_SPRITE_PATH__ && (i.value = globalThis.__PV_GLOBAL_SPRITE_PATH__), (e, t) => (D(), o("svg", {
87
87
  "data-testid": "pv-icon",
88
88
  "aria-hidden": "true",
89
89
  class: y(a.value)
90
- }, [s("use", { "xlink:href": c.value }, null, 8, be)], 2));
90
+ }, [s("use", { "xlink:href": c.value }, null, 8, ve)], 2));
91
91
  }
92
- }), xe = ["open"], Se = /* @__PURE__ */ ge(/* @__PURE__ */ d({
92
+ }), ye = ["open"], be = /* @__PURE__ */ me(/* @__PURE__ */ d({
93
93
  __name: "PvAccordion",
94
94
  props: /* @__PURE__ */ g({
95
95
  chevronPosition: {
@@ -121,7 +121,7 @@ var ye = [
121
121
  }),
122
122
  emits: /* @__PURE__ */ g(["summary-mouseenter", "summary-mouseleave"], ["update:modelValue"]),
123
123
  setup(e) {
124
- let n = e, c = ne(e, "modelValue");
124
+ let n = e, c = ee(e, "modelValue");
125
125
  n.defaultOpen !== void 0 && (c.value = n.defaultOpen);
126
126
  let l = (e) => {
127
127
  c.value = e.target.open;
@@ -140,23 +140,23 @@ var ye = [
140
140
  onMouseenter: r[0] ||= (e) => n.$emit("summary-mouseenter"),
141
141
  onMouseleave: r[1] ||= (e) => n.$emit("summary-mouseleave")
142
142
  }), [
143
- e.chevronPosition === "left" ? (D(), i(L, {
143
+ e.chevronPosition === "left" ? (D(), i(z, {
144
144
  key: 0,
145
145
  name: d.value
146
146
  }, null, 8, ["name"])) : a("v-if", !0),
147
- e.enableTriggerSlot ? j(n.$slots, "trigger", { key: 1 }, void 0, !0) : (D(), o(t, { key: 2 }, [s("span", null, N(e.header), 1), e.counter ? (D(), i(_e, {
147
+ e.enableTriggerSlot ? M(n.$slots, "trigger", { key: 1 }, void 0, !0) : (D(), o(t, { key: 2 }, [s("span", null, P(e.header), 1), e.counter ? (D(), i(he, {
148
148
  key: 0,
149
149
  value: e.counter,
150
150
  variant: "secondary",
151
151
  size: "sm"
152
152
  }, null, 8, ["value"])) : a("v-if", !0)], 64)),
153
- e.chevronPosition === "right" ? (D(), i(L, {
153
+ e.chevronPosition === "right" ? (D(), i(z, {
154
154
  key: 3,
155
155
  name: d.value
156
156
  }, null, 8, ["name"])) : a("v-if", !0)
157
- ], 16), s("div", { style: x(e.contentStyles) }, [j(n.$slots, "default", {}, void 0, !0)], 4)], 40, xe));
157
+ ], 16), s("div", { style: x(e.contentStyles) }, [M(n.$slots, "default", {}, void 0, !0)], 4)], 40, ye));
158
158
  }
159
- }), [["styles", ["summary[data-v-a64056ef]{background-image:none;padding-right:2px}"]], ["__scopeId", "data-v-a64056ef"]]), Ce = /* @__PURE__ */ d({
159
+ }), [["styles", ["summary[data-v-a64056ef]{background-image:none;padding-right:2px}"]], ["__scopeId", "data-v-a64056ef"]]), xe = /* @__PURE__ */ d({
160
160
  __name: "PvSpinner",
161
161
  props: {
162
162
  size: {
@@ -186,14 +186,14 @@ var ye = [
186
186
  style: x({ "--size": t[e.size] })
187
187
  }, null, 6));
188
188
  }
189
- }), we = ["ghost"], Te = {
189
+ }), Se = ["ghost"], Ce = {
190
190
  md: "pv-button-small",
191
191
  lg: void 0,
192
192
  xl: "pv-button-large"
193
- }, Ee = (e) => e == null || !Te.hasOwnProperty(e) ? null : Te[e] || null, De = ["disabled", "aria-label"], Oe = {
193
+ }, we = (e) => e == null || !Ce.hasOwnProperty(e) ? null : Ce[e] || null, Te = ["disabled", "aria-label"], Ee = {
194
194
  key: 2,
195
195
  "data-testid": "pv-button-label"
196
- }, ke = /* @__PURE__ */ d({
196
+ }, De = /* @__PURE__ */ d({
197
197
  __name: "PvButton",
198
198
  props: {
199
199
  variant: {
@@ -226,8 +226,8 @@ var ye = [
226
226
  setup(e) {
227
227
  let n = e, s = r(() => !n.label || n.loading ? n.label || n.ariaLabel : void 0), c = r(() => {
228
228
  let e = [];
229
- n.inverse && we.includes(n.variant) ? e.push(`pv-button-${n.variant}-inverse`) : e.push(`pv-button-${n.variant}`);
230
- let t = Ee(n.size);
229
+ n.inverse && Se.includes(n.variant) ? e.push(`pv-button-${n.variant}-inverse`) : e.push(`pv-button-${n.variant}`);
230
+ let t = we(n.size);
231
231
  return t && e.push(t), e;
232
232
  });
233
233
  return (n, r) => (D(), o("button", {
@@ -236,99 +236,99 @@ var ye = [
236
236
  disabled: e.disabled,
237
237
  "aria-label": s.value,
238
238
  "data-testid": "pv-button"
239
- }, [e.loading ? (D(), i(Ce, {
239
+ }, [e.loading ? (D(), i(xe, {
240
240
  key: 0,
241
241
  size: "sm"
242
242
  })) : (D(), o(t, { key: 1 }, [
243
- e.leftCounterBadge ? (D(), i(_e, {
243
+ e.leftCounterBadge ? (D(), i(he, {
244
244
  key: 0,
245
245
  value: e.leftCounterBadge,
246
246
  variant: "tertiary"
247
247
  }, null, 8, ["value"])) : a("v-if", !0),
248
- e.leftIcon ? (D(), i(L, {
248
+ e.leftIcon ? (D(), i(z, {
249
249
  key: 1,
250
250
  name: e.leftIcon,
251
251
  "data-testid": "pv-button-left-icon"
252
252
  }, null, 8, ["name"])) : a("v-if", !0),
253
- e.label ? (D(), o("span", Oe, N(e.label), 1)) : a("v-if", !0),
254
- e.rightCounterBadge ? (D(), i(_e, {
253
+ e.label ? (D(), o("span", Ee, P(e.label), 1)) : a("v-if", !0),
254
+ e.rightCounterBadge ? (D(), i(he, {
255
255
  key: 3,
256
256
  value: e.rightCounterBadge,
257
257
  variant: "tertiary"
258
258
  }, null, 8, ["value"])) : a("v-if", !0),
259
- e.rightIcon ? (D(), i(L, {
259
+ e.rightIcon ? (D(), i(z, {
260
260
  key: 4,
261
261
  name: e.rightIcon,
262
262
  "data-testid": "pv-button-right-icon"
263
263
  }, null, 8, ["name"])) : a("v-if", !0)
264
- ], 64))], 10, De));
264
+ ], 64))], 10, Te));
265
265
  }
266
- }), Ae = Math.min, je = Math.max, Me = Math.round, R = (e) => ({
266
+ }), Oe = Math.min, ke = Math.max, Ae = Math.round, B = (e) => ({
267
267
  x: e,
268
268
  y: e
269
- }), Ne = {
269
+ }), je = {
270
270
  left: "right",
271
271
  right: "left",
272
272
  bottom: "top",
273
273
  top: "bottom"
274
274
  };
275
- function Pe(e, t) {
275
+ function Me(e, t) {
276
276
  return typeof e == "function" ? e(t) : e;
277
277
  }
278
- function Fe(e) {
278
+ function Ne(e) {
279
279
  return e.split("-")[0];
280
280
  }
281
- function Ie(e) {
281
+ function Pe(e) {
282
282
  return e.split("-")[1];
283
283
  }
284
- function Le(e) {
284
+ function Fe(e) {
285
285
  return e === "x" ? "y" : "x";
286
286
  }
287
- function Re(e) {
287
+ function Ie(e) {
288
288
  return e === "y" ? "height" : "width";
289
289
  }
290
- function ze(e) {
290
+ function Le(e) {
291
291
  let t = e[0];
292
292
  return t === "t" || t === "b" ? "y" : "x";
293
293
  }
294
- function Be(e) {
295
- return Le(ze(e));
294
+ function Re(e) {
295
+ return Fe(Le(e));
296
296
  }
297
- function Ve(e, t, n) {
297
+ function ze(e, t, n) {
298
298
  n === void 0 && (n = !1);
299
- let r = Ie(e), i = Be(e), a = Re(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
300
- return t.reference[a] > t.floating[a] && (o = Xe(o)), [o, Xe(o)];
299
+ let r = Pe(e), i = Re(e), a = Ie(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
300
+ return t.reference[a] > t.floating[a] && (o = Je(o)), [o, Je(o)];
301
301
  }
302
- function He(e) {
303
- let t = Xe(e);
302
+ function Be(e) {
303
+ let t = Je(e);
304
304
  return [
305
- Ue(e),
305
+ Ve(e),
306
306
  t,
307
- Ue(t)
307
+ Ve(t)
308
308
  ];
309
309
  }
310
- function Ue(e) {
310
+ function Ve(e) {
311
311
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
312
312
  }
313
- var We = ["left", "right"], Ge = ["right", "left"], Ke = ["top", "bottom"], qe = ["bottom", "top"];
314
- function Je(e, t, n) {
313
+ var He = ["left", "right"], Ue = ["right", "left"], We = ["top", "bottom"], Ge = ["bottom", "top"];
314
+ function Ke(e, t, n) {
315
315
  switch (e) {
316
316
  case "top":
317
- case "bottom": return n ? t ? Ge : We : t ? We : Ge;
317
+ case "bottom": return n ? t ? Ue : He : t ? He : Ue;
318
318
  case "left":
319
- case "right": return t ? Ke : qe;
319
+ case "right": return t ? We : Ge;
320
320
  default: return [];
321
321
  }
322
322
  }
323
- function Ye(e, t, n, r) {
324
- let i = Ie(e), a = Je(Fe(e), n === "start", r);
325
- return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Ue)))), a;
323
+ function qe(e, t, n, r) {
324
+ let i = Pe(e), a = Ke(Ne(e), n === "start", r);
325
+ return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Ve)))), a;
326
326
  }
327
- function Xe(e) {
328
- let t = Fe(e);
329
- return Ne[t] + e.slice(t.length);
327
+ function Je(e) {
328
+ let t = Ne(e);
329
+ return je[t] + e.slice(t.length);
330
330
  }
331
- function Ze(e) {
331
+ function Ye(e) {
332
332
  return {
333
333
  top: 0,
334
334
  right: 0,
@@ -337,15 +337,15 @@ function Ze(e) {
337
337
  ...e
338
338
  };
339
339
  }
340
- function Qe(e) {
340
+ function Xe(e) {
341
341
  return typeof e == "number" ? {
342
342
  top: e,
343
343
  right: e,
344
344
  bottom: e,
345
345
  left: e
346
- } : Ze(e);
346
+ } : Ye(e);
347
347
  }
348
- function $e(e) {
348
+ function Ze(e) {
349
349
  let { x: t, y: n, width: r, height: i } = e;
350
350
  return {
351
351
  width: r,
@@ -360,8 +360,8 @@ function $e(e) {
360
360
  }
361
361
  //#endregion
362
362
  //#region ../node_modules/.pnpm/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
363
- function et(e, t, n) {
364
- let { reference: r, floating: i } = e, a = ze(t), o = Be(t), s = Re(o), c = Fe(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
363
+ function Qe(e, t, n) {
364
+ let { reference: r, floating: i } = e, a = Le(t), o = Re(t), s = Ie(o), c = Ne(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
365
365
  switch (c) {
366
366
  case "top":
367
367
  p = {
@@ -392,7 +392,7 @@ function et(e, t, n) {
392
392
  y: r.y
393
393
  };
394
394
  }
395
- switch (Ie(t)) {
395
+ switch (Pe(t)) {
396
396
  case "start":
397
397
  p[o] -= f * (n && l ? -1 : 1);
398
398
  break;
@@ -402,9 +402,9 @@ function et(e, t, n) {
402
402
  }
403
403
  return p;
404
404
  }
405
- async function tt(e, t) {
405
+ async function $e(e, t) {
406
406
  t === void 0 && (t = {});
407
- let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = Pe(t, e), p = Qe(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = $e(await i.getClippingRect({
407
+ let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = Me(t, e), p = Xe(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Ze(await i.getClippingRect({
408
408
  element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
409
409
  boundary: c,
410
410
  rootBoundary: l,
@@ -417,7 +417,7 @@ async function tt(e, t) {
417
417
  } : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
418
418
  x: 1,
419
419
  y: 1
420
- }, y = $e(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
420
+ }, y = Ze(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
421
421
  elements: o,
422
422
  rect: g,
423
423
  offsetParent: _,
@@ -430,15 +430,15 @@ async function tt(e, t) {
430
430
  right: (y.right - h.right + p.right) / v.x
431
431
  };
432
432
  }
433
- var nt = 50, rt = async (e, t, n) => {
433
+ var et = 50, tt = async (e, t, n) => {
434
434
  let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
435
435
  ...o,
436
- detectOverflow: tt
436
+ detectOverflow: $e
437
437
  }, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
438
438
  reference: e,
439
439
  floating: t,
440
440
  strategy: i
441
- }), { x: u, y: d } = et(l, r, c), f = r, p = 0, m = {};
441
+ }), { x: u, y: d } = Qe(l, r, c), f = r, p = 0, m = {};
442
442
  for (let n = 0; n < a.length; n++) {
443
443
  let h = a[n];
444
444
  if (!h) continue;
@@ -459,11 +459,11 @@ var nt = 50, rt = async (e, t, n) => {
459
459
  u = v ?? u, d = y ?? d, m[g] = {
460
460
  ...m[g],
461
461
  ...b
462
- }, x && p < nt && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
462
+ }, x && p < et && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
463
463
  reference: e,
464
464
  floating: t,
465
465
  strategy: i
466
- }) : x.rects), {x: u, y: d} = et(l, f, c)), n = -1);
466
+ }) : x.rects), {x: u, y: d} = Qe(l, f, c)), n = -1);
467
467
  }
468
468
  return {
469
469
  x: u,
@@ -472,19 +472,19 @@ var nt = 50, rt = async (e, t, n) => {
472
472
  strategy: i,
473
473
  middlewareData: m
474
474
  };
475
- }, it = function(e) {
475
+ }, nt = function(e) {
476
476
  return e === void 0 && (e = {}), {
477
477
  name: "flip",
478
478
  options: e,
479
479
  async fn(t) {
480
480
  var n;
481
- let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = Pe(e, t);
481
+ let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = Me(e, t);
482
482
  if ((n = i.arrow) != null && n.alignmentOffset) return {};
483
- let g = Fe(r), _ = ze(o), v = Fe(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Xe(o)] : He(o)), x = p !== "none";
484
- !d && x && b.push(...Ye(o, m, p, y));
483
+ let g = Ne(r), _ = Le(o), v = Ne(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Je(o)] : Be(o)), x = p !== "none";
484
+ !d && x && b.push(...qe(o, m, p, y));
485
485
  let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
486
486
  if (l && w.push(C[g]), u) {
487
- let e = Ve(r, a, y);
487
+ let e = ze(r, a, y);
488
488
  w.push(C[e[0]], C[e[1]]);
489
489
  }
490
490
  if (T = [...T, {
@@ -492,7 +492,7 @@ var nt = 50, rt = async (e, t, n) => {
492
492
  overflows: w
493
493
  }], !w.every((e) => e <= 0)) {
494
494
  let e = (i.flip?.index || 0) + 1, t = S[e];
495
- if (t && (!(u === "alignment" && _ !== ze(t)) || T.every((e) => ze(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
495
+ if (t && (!(u === "alignment" && _ !== Le(t)) || T.every((e) => Le(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
496
496
  data: {
497
497
  index: e,
498
498
  overflows: T
@@ -504,7 +504,7 @@ var nt = 50, rt = async (e, t, n) => {
504
504
  case "bestFit": {
505
505
  let e = T.filter((e) => {
506
506
  if (x) {
507
- let t = ze(e.placement);
507
+ let t = Le(e.placement);
508
508
  return t === _ || t === "y";
509
509
  }
510
510
  return !0;
@@ -521,9 +521,9 @@ var nt = 50, rt = async (e, t, n) => {
521
521
  return {};
522
522
  }
523
523
  };
524
- }, at = /* @__PURE__ */ new Set(["left", "top"]);
525
- async function ot(e, t) {
526
- let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = Fe(n), s = Ie(n), c = ze(n) === "y", l = at.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Pe(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
524
+ }, rt = /* @__PURE__ */ new Set(["left", "top"]);
525
+ async function it(e, t) {
526
+ let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = Ne(n), s = Pe(n), c = Le(n) === "y", l = rt.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Me(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
527
527
  mainAxis: d,
528
528
  crossAxis: 0,
529
529
  alignmentAxis: null
@@ -540,13 +540,13 @@ async function ot(e, t) {
540
540
  y: p * u
541
541
  };
542
542
  }
543
- var st = function(e) {
543
+ var at = function(e) {
544
544
  return e === void 0 && (e = 0), {
545
545
  name: "offset",
546
546
  options: e,
547
547
  async fn(t) {
548
548
  var n;
549
- let { x: r, y: i, placement: a, middlewareData: o } = t, s = await ot(t, e);
549
+ let { x: r, y: i, placement: a, middlewareData: o } = t, s = await it(t, e);
550
550
  return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
551
551
  x: r + s.x,
552
552
  y: i + s.y,
@@ -560,37 +560,37 @@ var st = function(e) {
560
560
  };
561
561
  //#endregion
562
562
  //#region ../node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
563
- function ct() {
563
+ function ot() {
564
564
  return typeof window < "u";
565
565
  }
566
- function lt(e) {
567
- return ut(e) ? (e.nodeName || "").toLowerCase() : "#document";
566
+ function st(e) {
567
+ return lt(e) ? (e.nodeName || "").toLowerCase() : "#document";
568
568
  }
569
- function z(e) {
569
+ function V(e) {
570
570
  var t;
571
571
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
572
572
  }
573
- function B(e) {
574
- return ((ut(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
575
- }
576
- function ut(e) {
577
- return ct() ? e instanceof Node || e instanceof z(e).Node : !1;
573
+ function ct(e) {
574
+ return ((lt(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
578
575
  }
579
- function V(e) {
580
- return ct() ? e instanceof Element || e instanceof z(e).Element : !1;
576
+ function lt(e) {
577
+ return ot() ? e instanceof Node || e instanceof V(e).Node : !1;
581
578
  }
582
579
  function H(e) {
583
- return ct() ? e instanceof HTMLElement || e instanceof z(e).HTMLElement : !1;
580
+ return ot() ? e instanceof Element || e instanceof V(e).Element : !1;
581
+ }
582
+ function ut(e) {
583
+ return ot() ? e instanceof HTMLElement || e instanceof V(e).HTMLElement : !1;
584
584
  }
585
585
  function dt(e) {
586
- return !ct() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof z(e).ShadowRoot;
586
+ return !ot() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof V(e).ShadowRoot;
587
587
  }
588
588
  function ft(e) {
589
589
  let { overflow: t, overflowX: n, overflowY: r, display: i } = U(e);
590
590
  return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
591
591
  }
592
592
  function pt(e) {
593
- return /^(table|td|th)$/.test(lt(e));
593
+ return /^(table|td|th)$/.test(st(e));
594
594
  }
595
595
  function mt(e) {
596
596
  try {
@@ -604,12 +604,12 @@ function mt(e) {
604
604
  }
605
605
  var ht = /transform|translate|scale|rotate|perspective|filter/, gt = /paint|layout|strict|content/, _t = (e) => !!e && e !== "none", vt;
606
606
  function yt(e) {
607
- let t = V(e) ? U(e) : e;
607
+ let t = H(e) ? U(e) : e;
608
608
  return _t(t.transform) || _t(t.translate) || _t(t.scale) || _t(t.rotate) || _t(t.perspective) || !xt() && (_t(t.backdropFilter) || _t(t.filter)) || ht.test(t.willChange || "") || gt.test(t.contain || "");
609
609
  }
610
610
  function bt(e) {
611
611
  let t = wt(e);
612
- for (; H(t) && !St(t);) {
612
+ for (; ut(t) && !St(t);) {
613
613
  if (yt(t)) return t;
614
614
  if (mt(t)) return null;
615
615
  t = wt(t);
@@ -620,13 +620,13 @@ function xt() {
620
620
  return vt ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), vt;
621
621
  }
622
622
  function St(e) {
623
- return /^(html|body|#document)$/.test(lt(e));
623
+ return /^(html|body|#document)$/.test(st(e));
624
624
  }
625
625
  function U(e) {
626
- return z(e).getComputedStyle(e);
626
+ return V(e).getComputedStyle(e);
627
627
  }
628
628
  function Ct(e) {
629
- return V(e) ? {
629
+ return H(e) ? {
630
630
  scrollLeft: e.scrollLeft,
631
631
  scrollTop: e.scrollTop
632
632
  } : {
@@ -635,17 +635,17 @@ function Ct(e) {
635
635
  };
636
636
  }
637
637
  function wt(e) {
638
- if (lt(e) === "html") return e;
639
- let t = e.assignedSlot || e.parentNode || dt(e) && e.host || B(e);
638
+ if (st(e) === "html") return e;
639
+ let t = e.assignedSlot || e.parentNode || dt(e) && e.host || ct(e);
640
640
  return dt(t) ? t.host : t;
641
641
  }
642
642
  function Tt(e) {
643
643
  let t = wt(e);
644
- return St(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : H(t) && ft(t) ? t : Tt(t);
644
+ return St(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ut(t) && ft(t) ? t : Tt(t);
645
645
  }
646
646
  function Et(e, t, n) {
647
647
  t === void 0 && (t = []), n === void 0 && (n = !0);
648
- let r = Tt(e), i = r === e.ownerDocument?.body, a = z(r);
648
+ let r = Tt(e), i = r === e.ownerDocument?.body, a = V(r);
649
649
  if (i) {
650
650
  let e = Dt(a);
651
651
  return t.concat(a, a.visualViewport || [], ft(r) ? r : [], e && n ? Et(e) : []);
@@ -657,7 +657,7 @@ function Dt(e) {
657
657
  //#endregion
658
658
  //#region ../node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
659
659
  function Ot(e) {
660
- let t = U(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = H(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Me(n) !== a || Me(r) !== o;
660
+ let t = U(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = ut(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Ae(n) !== a || Ae(r) !== o;
661
661
  return s && (n = a, r = o), {
662
662
  width: n,
663
663
  height: r,
@@ -665,41 +665,41 @@ function Ot(e) {
665
665
  };
666
666
  }
667
667
  function kt(e) {
668
- return V(e) ? e : e.contextElement;
668
+ return H(e) ? e : e.contextElement;
669
669
  }
670
670
  function At(e) {
671
671
  let t = kt(e);
672
- if (!H(t)) return R(1);
673
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Ot(t), o = (a ? Me(n.width) : n.width) / r, s = (a ? Me(n.height) : n.height) / i;
672
+ if (!ut(t)) return B(1);
673
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Ot(t), o = (a ? Ae(n.width) : n.width) / r, s = (a ? Ae(n.height) : n.height) / i;
674
674
  return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
675
675
  x: o,
676
676
  y: s
677
677
  };
678
678
  }
679
- var jt = /* @__PURE__ */ R(0);
679
+ var jt = /* @__PURE__ */ B(0);
680
680
  function Mt(e) {
681
- let t = z(e);
681
+ let t = V(e);
682
682
  return !xt() || !t.visualViewport ? jt : {
683
683
  x: t.visualViewport.offsetLeft,
684
684
  y: t.visualViewport.offsetTop
685
685
  };
686
686
  }
687
687
  function Nt(e, t, n) {
688
- return t === void 0 && (t = !1), !n || t && n !== z(e) ? !1 : t;
688
+ return t === void 0 && (t = !1), !n || t && n !== V(e) ? !1 : t;
689
689
  }
690
690
  function Pt(e, t, n, r) {
691
691
  t === void 0 && (t = !1), n === void 0 && (n = !1);
692
- let i = e.getBoundingClientRect(), a = kt(e), o = R(1);
693
- t && (r ? V(r) && (o = At(r)) : o = At(e));
694
- let s = Nt(a, n, r) ? Mt(a) : R(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
692
+ let i = e.getBoundingClientRect(), a = kt(e), o = B(1);
693
+ t && (r ? H(r) && (o = At(r)) : o = At(e));
694
+ let s = Nt(a, n, r) ? Mt(a) : B(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
695
695
  if (a) {
696
- let e = z(a), t = r && V(r) ? z(r) : r, n = e, i = Dt(n);
696
+ let e = V(a), t = r && H(r) ? V(r) : r, n = e, i = Dt(n);
697
697
  for (; i && r && t !== n;) {
698
698
  let e = At(i), t = i.getBoundingClientRect(), r = U(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
699
- c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = z(i), i = Dt(n);
699
+ c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = V(i), i = Dt(n);
700
700
  }
701
701
  }
702
- return $e({
702
+ return Ze({
703
703
  width: u,
704
704
  height: d,
705
705
  x: c,
@@ -708,7 +708,7 @@ function Pt(e, t, n, r) {
708
708
  }
709
709
  function Ft(e, t) {
710
710
  let n = Ct(e).scrollLeft;
711
- return t ? t.left + n : Pt(B(e)).left + n;
711
+ return t ? t.left + n : Pt(ct(e)).left + n;
712
712
  }
713
713
  function It(e, t) {
714
714
  let n = e.getBoundingClientRect();
@@ -718,17 +718,17 @@ function It(e, t) {
718
718
  };
719
719
  }
720
720
  function Lt(e) {
721
- let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = B(r), s = t ? mt(t.floating) : !1;
721
+ let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = ct(r), s = t ? mt(t.floating) : !1;
722
722
  if (r === o || s && a) return n;
723
723
  let c = {
724
724
  scrollLeft: 0,
725
725
  scrollTop: 0
726
- }, l = R(1), u = R(0), d = H(r);
727
- if ((d || !d && !a) && ((lt(r) !== "body" || ft(o)) && (c = Ct(r)), d)) {
726
+ }, l = B(1), u = B(0), d = ut(r);
727
+ if ((d || !d && !a) && ((st(r) !== "body" || ft(o)) && (c = Ct(r)), d)) {
728
728
  let e = Pt(r);
729
729
  l = At(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
730
730
  }
731
- let f = o && !d && !a ? It(o, c) : R(0);
731
+ let f = o && !d && !a ? It(o, c) : B(0);
732
732
  return {
733
733
  width: n.width * l.x,
734
734
  height: n.height * l.y,
@@ -740,8 +740,8 @@ function Rt(e) {
740
740
  return Array.from(e.getClientRects());
741
741
  }
742
742
  function zt(e) {
743
- let t = B(e), n = Ct(e), r = e.ownerDocument.body, i = je(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = je(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Ft(e), s = -n.scrollTop;
744
- return U(r).direction === "rtl" && (o += je(t.clientWidth, r.clientWidth) - i), {
743
+ let t = ct(e), n = Ct(e), r = e.ownerDocument.body, i = ke(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = ke(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Ft(e), s = -n.scrollTop;
744
+ return U(r).direction === "rtl" && (o += ke(t.clientWidth, r.clientWidth) - i), {
745
745
  width: i,
746
746
  height: a,
747
747
  x: o,
@@ -750,7 +750,7 @@ function zt(e) {
750
750
  }
751
751
  var Bt = 25;
752
752
  function Vt(e, t) {
753
- let n = z(e), r = B(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
753
+ let n = V(e), r = ct(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
754
754
  if (i) {
755
755
  a = i.width, o = i.height;
756
756
  let e = xt();
@@ -769,7 +769,7 @@ function Vt(e, t) {
769
769
  };
770
770
  }
771
771
  function Ht(e, t) {
772
- let n = Pt(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = H(e) ? At(e) : R(1);
772
+ let n = Pt(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = ut(e) ? At(e) : B(1);
773
773
  return {
774
774
  width: e.clientWidth * a.x,
775
775
  height: e.clientHeight * a.y,
@@ -780,8 +780,8 @@ function Ht(e, t) {
780
780
  function Ut(e, t, n) {
781
781
  let r;
782
782
  if (t === "viewport") r = Vt(e, n);
783
- else if (t === "document") r = zt(B(e));
784
- else if (V(t)) r = Ht(t, n);
783
+ else if (t === "document") r = zt(ct(e));
784
+ else if (H(t)) r = Ht(t, n);
785
785
  else {
786
786
  let n = Mt(e);
787
787
  r = {
@@ -791,17 +791,17 @@ function Ut(e, t, n) {
791
791
  height: t.height
792
792
  };
793
793
  }
794
- return $e(r);
794
+ return Ze(r);
795
795
  }
796
796
  function Wt(e, t) {
797
797
  let n = wt(e);
798
- return n === t || !V(n) || St(n) ? !1 : U(n).position === "fixed" || Wt(n, t);
798
+ return n === t || !H(n) || St(n) ? !1 : U(n).position === "fixed" || Wt(n, t);
799
799
  }
800
800
  function Gt(e, t) {
801
801
  let n = t.get(e);
802
802
  if (n) return n;
803
- let r = Et(e, [], !1).filter((e) => V(e) && lt(e) !== "body"), i = null, a = U(e).position === "fixed", o = a ? wt(e) : e;
804
- for (; V(o) && !St(o);) {
803
+ let r = Et(e, [], !1).filter((e) => H(e) && st(e) !== "body"), i = null, a = U(e).position === "fixed", o = a ? wt(e) : e;
804
+ for (; H(o) && !St(o);) {
805
805
  let t = U(o), n = yt(o);
806
806
  !n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || ft(o) && !n && Wt(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = wt(o);
807
807
  }
@@ -811,7 +811,7 @@ function Kt(e) {
811
811
  let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? mt(t) ? [] : Gt(t, this._c) : [].concat(n), r], o = Ut(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
812
812
  for (let e = 1; e < a.length; e++) {
813
813
  let n = Ut(t, a[e], i);
814
- s = je(n.top, s), c = Ae(n.right, c), l = Ae(n.bottom, l), u = je(n.left, u);
814
+ s = ke(n.top, s), c = Oe(n.right, c), l = Oe(n.bottom, l), u = ke(n.left, u);
815
815
  }
816
816
  return {
817
817
  width: c - u,
@@ -828,19 +828,19 @@ function qt(e) {
828
828
  };
829
829
  }
830
830
  function Jt(e, t, n) {
831
- let r = H(t), i = B(t), a = n === "fixed", o = Pt(e, !0, a, t), s = {
831
+ let r = ut(t), i = ct(t), a = n === "fixed", o = Pt(e, !0, a, t), s = {
832
832
  scrollLeft: 0,
833
833
  scrollTop: 0
834
- }, c = R(0);
834
+ }, c = B(0);
835
835
  function l() {
836
836
  c.x = Ft(i);
837
837
  }
838
- if (r || !r && !a) if ((lt(t) !== "body" || ft(i)) && (s = Ct(t)), r) {
838
+ if (r || !r && !a) if ((st(t) !== "body" || ft(i)) && (s = Ct(t)), r) {
839
839
  let e = Pt(t, !0, a, t);
840
840
  c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
841
841
  } else i && l();
842
842
  a && !r && i && l();
843
- let u = i && !r && !a ? It(i, s) : R(0);
843
+ let u = i && !r && !a ? It(i, s) : B(0);
844
844
  return {
845
845
  x: o.left + s.scrollLeft - c.x - u.x,
846
846
  y: o.top + s.scrollTop - c.y - u.y,
@@ -852,18 +852,18 @@ function Yt(e) {
852
852
  return U(e).position === "static";
853
853
  }
854
854
  function Xt(e, t) {
855
- if (!H(e) || U(e).position === "fixed") return null;
855
+ if (!ut(e) || U(e).position === "fixed") return null;
856
856
  if (t) return t(e);
857
857
  let n = e.offsetParent;
858
- return B(e) === n && (n = n.ownerDocument.body), n;
858
+ return ct(e) === n && (n = n.ownerDocument.body), n;
859
859
  }
860
860
  function Zt(e, t) {
861
- let n = z(e);
861
+ let n = V(e);
862
862
  if (mt(e)) return n;
863
- if (!H(e)) {
863
+ if (!ut(e)) {
864
864
  let t = wt(e);
865
865
  for (; t && !St(t);) {
866
- if (V(t) && !Yt(t)) return t;
866
+ if (H(t) && !Yt(t)) return t;
867
867
  t = wt(t);
868
868
  }
869
869
  return n;
@@ -889,16 +889,16 @@ function $t(e) {
889
889
  }
890
890
  var en = {
891
891
  convertOffsetParentRelativeRectToViewportRelativeRect: Lt,
892
- getDocumentElement: B,
892
+ getDocumentElement: ct,
893
893
  getClippingRect: Kt,
894
894
  getOffsetParent: Zt,
895
895
  getElementRects: Qt,
896
896
  getClientRects: Rt,
897
897
  getDimensions: qt,
898
898
  getScale: At,
899
- isElement: V,
899
+ isElement: H,
900
900
  isRTL: $t
901
- }, tn = st, nn = it, rn = (e, t, n) => {
901
+ }, tn = at, nn = nt, rn = (e, t, n) => {
902
902
  let r = /* @__PURE__ */ new Map(), i = {
903
903
  platform: en,
904
904
  ...n
@@ -906,11 +906,11 @@ var en = {
906
906
  ...i.platform,
907
907
  _c: r
908
908
  };
909
- return rt(e, t, {
909
+ return tt(e, t, {
910
910
  ...i,
911
911
  platform: a
912
912
  });
913
- }, W = /* @__PURE__ */ de({
913
+ }, W = /* @__PURE__ */ le({
914
914
  Vue: () => e,
915
915
  Vue2: () => void 0,
916
916
  del: () => cn,
@@ -920,7 +920,7 @@ var en = {
920
920
  set: () => sn
921
921
  });
922
922
  import * as an from "vue";
923
- pe(W, an);
923
+ de(W, an);
924
924
  function on() {}
925
925
  function sn(e, t, n) {
926
926
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
@@ -940,7 +940,7 @@ function ln(e) {
940
940
  function un(e) {
941
941
  if (ln(e)) {
942
942
  let t = e.$el;
943
- return ut(t) && lt(t) === "#comment" ? null : t;
943
+ return lt(t) && st(t) === "#comment" ? null : t;
944
944
  }
945
945
  return e;
946
946
  }
@@ -1045,7 +1045,7 @@ function Cn(e, t = {}) {
1045
1045
  clearTimeout(e), i(), i = G;
1046
1046
  }, o;
1047
1047
  return (s) => {
1048
- let c = P(e), l = P(t.maxWait);
1048
+ let c = F(e), l = F(t.maxWait);
1049
1049
  return n && a(n), c <= 0 || l !== void 0 && l <= 0 ? (r &&= (a(r), void 0), Promise.resolve(s())) : new Promise((e, u) => {
1050
1050
  i = t.rejectOnCancel ? u : e, o = s, l && !r && (r = setTimeout(() => {
1051
1051
  n && a(n), r = void 0, e(o());
@@ -1069,7 +1069,7 @@ function Dn(e, t = !0, n) {
1069
1069
  Tn(n) ? w(e, n) : t ? e() : v(e);
1070
1070
  }
1071
1071
  function On(e, t, n) {
1072
- return F(e, t, {
1072
+ return L(e, t, {
1073
1073
  ...n,
1074
1074
  immediate: !0
1075
1075
  });
@@ -1079,20 +1079,20 @@ function On(e, t, n) {
1079
1079
  var kn = gn ? window : void 0;
1080
1080
  gn && window.document, gn && window.navigator, gn && window.location;
1081
1081
  function K(e) {
1082
- let t = P(e);
1082
+ let t = F(e);
1083
1083
  return t?.$el ?? t;
1084
1084
  }
1085
1085
  function An(...e) {
1086
1086
  let t = [], n = () => {
1087
1087
  t.forEach((e) => e()), t.length = 0;
1088
1088
  }, i = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), a = r(() => {
1089
- let t = wn(P(e[0])).filter((e) => e != null);
1089
+ let t = wn(F(e[0])).filter((e) => e != null);
1090
1090
  return t.every((e) => typeof e != "string") ? t : void 0;
1091
1091
  }), o = On(() => [
1092
1092
  a.value?.map((e) => K(e)) ?? [kn].filter((e) => e != null),
1093
- wn(P(a.value ? e[1] : e[0])),
1094
- wn(te(a.value ? e[2] : e[1])),
1095
- P(a.value ? e[3] : e[2])
1093
+ wn(F(a.value ? e[1] : e[0])),
1094
+ wn(I(a.value ? e[2] : e[1])),
1095
+ F(a.value ? e[3] : e[2])
1096
1096
  ], ([e, r, a, o]) => {
1097
1097
  if (n(), !e?.length || !r?.length || !a?.length) return;
1098
1098
  let s = yn(o) ? { ...o } : o;
@@ -1115,7 +1115,7 @@ function Mn(e, t, n = {}) {
1115
1115
  let e = { passive: !0 };
1116
1116
  Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", G, e)), r.document.documentElement.addEventListener("click", G, e);
1117
1117
  }
1118
- let c = !0, l = (e) => P(i).some((t) => {
1118
+ let c = !0, l = (e) => F(i).some((t) => {
1119
1119
  if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
1120
1120
  {
1121
1121
  let n = K(t);
@@ -1123,11 +1123,11 @@ function Mn(e, t, n = {}) {
1123
1123
  }
1124
1124
  });
1125
1125
  function u(e) {
1126
- let t = P(e);
1126
+ let t = F(e);
1127
1127
  return t && t.$.subTree.shapeFlag === 16;
1128
1128
  }
1129
1129
  function d(e, t) {
1130
- let n = P(e), r = n.$.subTree && n.$.subTree.children;
1130
+ let n = F(e), r = n.$.subTree && n.$.subTree.children;
1131
1131
  return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
1132
1132
  }
1133
1133
  let f = (n) => {
@@ -1171,7 +1171,7 @@ function Mn(e, t, n = {}) {
1171
1171
  }
1172
1172
  /* @__NO_SIDE_EFFECTS__ */
1173
1173
  function Nn() {
1174
- let e = M(!1), t = p();
1174
+ let e = N(!1), t = p();
1175
1175
  return t && w(() => {
1176
1176
  e.value = !0;
1177
1177
  }, t), e;
@@ -1184,8 +1184,8 @@ function Pn(e) {
1184
1184
  function Fn(e, t, n = {}) {
1185
1185
  let { window: i = kn, ...a } = n, o, s = /* @__PURE__ */ Pn(() => i && "MutationObserver" in i), c = () => {
1186
1186
  o &&= (o.disconnect(), void 0);
1187
- }, l = F(r(() => {
1188
- let t = wn(P(e)).map(K).filter(_n);
1187
+ }, l = L(r(() => {
1188
+ let t = wn(F(e)).map(K).filter(_n);
1189
1189
  return new Set(t);
1190
1190
  }), (e) => {
1191
1191
  c(), s.value && e.size && (o = new MutationObserver(t), e.forEach((e) => o.observe(e, a)));
@@ -1206,7 +1206,7 @@ function In(e, t, n = {}) {
1206
1206
  if (!r || !i) return G;
1207
1207
  let o, s = (e) => {
1208
1208
  o?.(), o = e;
1209
- }, c = ae(() => {
1209
+ }, c = re(() => {
1210
1210
  let n = K(e);
1211
1211
  if (n) {
1212
1212
  let { stop: e } = Fn(i, (e) => {
@@ -1226,8 +1226,8 @@ function In(e, t, n = {}) {
1226
1226
  function Ln(e, t, n = {}) {
1227
1227
  let { window: i = kn, ...a } = n, o, s = /* @__PURE__ */ Pn(() => i && "ResizeObserver" in i), c = () => {
1228
1228
  o &&= (o.disconnect(), void 0);
1229
- }, l = F(r(() => {
1230
- let t = P(e);
1229
+ }, l = L(r(() => {
1230
+ let t = F(e);
1231
1231
  return Array.isArray(t) ? t.map((e) => K(e)) : [K(t)];
1232
1232
  }), (e) => {
1233
1233
  if (c(), s.value && i) {
@@ -1246,7 +1246,7 @@ function Ln(e, t, n = {}) {
1246
1246
  };
1247
1247
  }
1248
1248
  function Rn(e, t = {}) {
1249
- let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: a = !0, updateTiming: o = "sync" } = t, s = M(0), c = M(0), l = M(0), u = M(0), d = M(0), f = M(0), p = M(0), m = M(0);
1249
+ let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: a = !0, updateTiming: o = "sync" } = t, s = N(0), c = N(0), l = N(0), u = N(0), d = N(0), f = N(0), p = N(0), m = N(0);
1250
1250
  function h() {
1251
1251
  let t = K(e);
1252
1252
  if (!t) {
@@ -1259,7 +1259,7 @@ function Rn(e, t = {}) {
1259
1259
  function g() {
1260
1260
  o === "sync" ? h() : o === "next-frame" && requestAnimationFrame(() => h());
1261
1261
  }
1262
- return Ln(e, g), F(() => K(e), (e) => !e && g()), Fn(e, g, { attributeFilter: ["style", "class"] }), i && An("scroll", g, {
1262
+ return Ln(e, g), L(() => K(e), (e) => !e && g()), Fn(e, g, { attributeFilter: ["style", "class"] }), i && An("scroll", g, {
1263
1263
  capture: !0,
1264
1264
  passive: !0
1265
1265
  }), r && An("resize", g, { passive: !0 }), Dn(() => {
@@ -1277,7 +1277,7 @@ function Rn(e, t = {}) {
1277
1277
  };
1278
1278
  }
1279
1279
  function zn(e, t = {}) {
1280
- let { delayEnter: n = 0, delayLeave: i = 0, triggerOnRemoval: a = !1, window: o = kn } = t, s = M(!1), c, l = (e) => {
1280
+ let { delayEnter: n = 0, delayLeave: i = 0, triggerOnRemoval: a = !1, window: o = kn } = t, s = N(!1), c, l = (e) => {
1281
1281
  let t = e ? n : i;
1282
1282
  c &&= (clearTimeout(c), void 0), t ? c = setTimeout(() => s.value = e, t) : s.value = e;
1283
1283
  };
@@ -1299,18 +1299,18 @@ function Hn(e, t) {
1299
1299
  return n ? t === "default" || t === "" ? n.querySelector("slot:not([name])") : n.querySelector(`slot[name="${CSS.escape(t)}"]`) : null;
1300
1300
  }
1301
1301
  function Un(e, t = {}) {
1302
- let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = ve(), l = i ?? re(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = k(d());
1302
+ let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = ge(), l = i ?? te(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = A(d());
1303
1303
  C(() => {
1304
1304
  f.value = d();
1305
1305
  });
1306
- let p = k(!1), m = null, h = null, g = () => {
1306
+ let p = A(!1), m = null, h = null, g = () => {
1307
1307
  m &&= (m.disconnect(), null), h &&= (h.removeEventListener("slotchange", _), null);
1308
1308
  }, _ = () => {
1309
1309
  if (!c.value) {
1310
1310
  p.value = !1;
1311
1311
  return;
1312
1312
  }
1313
- let t = te(n);
1313
+ let t = I(n);
1314
1314
  if (!t) {
1315
1315
  p.value = !1;
1316
1316
  return;
@@ -1324,7 +1324,7 @@ function Un(e, t = {}) {
1324
1324
  }, v = () => {
1325
1325
  if (!c.value) return;
1326
1326
  g();
1327
- let t = te(n);
1327
+ let t = I(n);
1328
1328
  if (!t) {
1329
1329
  p.value = !1;
1330
1330
  return;
@@ -1337,7 +1337,7 @@ function Un(e, t = {}) {
1337
1337
  characterData: !0
1338
1338
  }));
1339
1339
  };
1340
- return w(v), S(g), F(() => te(n), () => {
1340
+ return w(v), S(g), L(() => I(n), () => {
1341
1341
  c.value && v();
1342
1342
  }), {
1343
1343
  present: r(() => c.value ? p.value : f.value),
@@ -1355,7 +1355,7 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
1355
1355
  }
1356
1356
  for (let t of [...Wn]) t !== e && !Gn(t, e) && t.close() && Wn.delete(t);
1357
1357
  Wn.add(e);
1358
- }), qn = ["popover"], Jn = "--pv-popover-v2-anchor", Yn = /* @__PURE__ */ ge(/* @__PURE__ */ d({
1358
+ }), qn = ["popover"], Jn = "--pv-popover-v2-anchor", Yn = /* @__PURE__ */ me(/* @__PURE__ */ d({
1359
1359
  __name: "PvPopoverV2",
1360
1360
  props: /* @__PURE__ */ g({
1361
1361
  disableAutoPlacement: {
@@ -1404,7 +1404,7 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
1404
1404
  },
1405
1405
  teleportLocation: {
1406
1406
  default: "body",
1407
- type: String
1407
+ type: null
1408
1408
  },
1409
1409
  offset: { type: Number },
1410
1410
  ignoreClickOutsideClasses: { type: Array },
@@ -1422,25 +1422,27 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
1422
1422
  }),
1423
1423
  emits: ["update:modelValue"],
1424
1424
  setup(e) {
1425
- let t = e, c = ne(e, "modelValue"), l = p(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: f } = Un("content", { host: u }), m = r(() => u ? f.value : d.value), h = typeof HTMLElement < "u" && typeof HTMLElement.prototype.showPopover == "function" && typeof CSS < "u" && typeof CSS.supports == "function" && [
1425
+ let t = e, c = ee(e, "modelValue"), l = p(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: f } = Un("content", { host: u }), m = r(() => u ? f.value : d.value), h = typeof HTMLElement < "u" && typeof HTMLElement.prototype.showPopover == "function" && typeof CSS < "u" && typeof CSS.supports == "function" && [
1426
1426
  "anchor-name: --pv-anchor",
1427
1427
  "position-area: bottom",
1428
1428
  "position-try-fallbacks: flip-block",
1429
1429
  "position-visibility: anchors-visible",
1430
1430
  `anchor-scope: ${Jn}`
1431
- ].every((e) => CSS.supports(e)), g = k(!1), _ = k(null), y = k(null), b = k(null), S = k(null), C = zn(y), T = zn(S), O = k(!1), ee = k(!1), A = k(!1), M = Kn({
1431
+ ].every((e) => CSS.supports(e)), g = A(!1), _ = A(null), y = A(null), b = A(null), S = A(null), C = zn(y), T = zn(S), O = A(!1), k = A(!1), j = A(!1), N = Kn({
1432
1432
  root: _,
1433
- close: () => t.disableClickOutsideToClose ? !1 : (ge(), !0)
1434
- }), N = {
1433
+ close: () => t.disableClickOutsideToClose ? !1 : (me(), !0)
1434
+ }), P = {
1435
1435
  "top-center": "top",
1436
1436
  "bottom-center": "bottom",
1437
1437
  "center-left": "left",
1438
1438
  "center-right": "right",
1439
+ "right-top": "right-start",
1440
+ "right-bottom": "right-end",
1439
1441
  "top-left": "top-start",
1440
1442
  "top-right": "top-end",
1441
1443
  "bottom-left": "bottom-start",
1442
1444
  "bottom-right": "bottom-end"
1443
- }, P = {
1445
+ }, F = {
1444
1446
  "top-center": {
1445
1447
  area: "top",
1446
1448
  margin: "margin-block-end"
@@ -1457,6 +1459,14 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
1457
1459
  area: "right",
1458
1460
  margin: "margin-inline-start"
1459
1461
  },
1462
+ "right-top": {
1463
+ area: "span-bottom right",
1464
+ margin: "margin-inline-start"
1465
+ },
1466
+ "right-bottom": {
1467
+ area: "span-top right",
1468
+ margin: "margin-inline-start"
1469
+ },
1460
1470
  "top-left": {
1461
1471
  area: "top span-right",
1462
1472
  margin: "margin-block-end"
@@ -1473,146 +1483,146 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
1473
1483
  area: "bottom span-left",
1474
1484
  margin: "margin-block-start"
1475
1485
  }
1476
- }, re = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), ae = r(() => ({
1486
+ }, te = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), re = r(() => ({
1477
1487
  width: "fit-content",
1478
1488
  ...h ? { "anchor-scope": Jn } : void 0,
1479
1489
  ...t.cssCustomProperties
1480
- })), I = r(() => h ? { "anchor-name": Jn } : void 0), se = r(() => {
1481
- let e = P[t.position];
1490
+ })), R = r(() => h ? { "anchor-name": Jn } : void 0), ae = r(() => {
1491
+ let e = F[t.position];
1482
1492
  return {
1483
1493
  "position-anchor": Jn,
1484
1494
  "position-area": e.area,
1485
1495
  "position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
1486
1496
  [e.margin]: `${t.offset ?? 0}px`
1487
1497
  };
1488
- }), ce = () => {}, le = () => ({});
1498
+ }), oe = () => {}, se = () => ({});
1489
1499
  if (!h) {
1490
1500
  let e = [];
1491
1501
  t.disableAutoPlacement || e.push(nn({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(tn(t.offset));
1492
1502
  let n = mn(b, S, {
1493
- placement: N[t.position],
1503
+ placement: P[t.position],
1494
1504
  strategy: t.positioningStrategy,
1495
1505
  middleware: e
1496
1506
  });
1497
- ce = n.update, le = () => n.floatingStyles.value;
1507
+ oe = n.update, se = () => n.floatingStyles.value;
1498
1508
  let i = Rn(b), a = /* @__PURE__ */ En(() => {
1499
- c.value && ce();
1509
+ c.value && oe();
1500
1510
  }, 5);
1501
- F([
1511
+ L([
1502
1512
  i.top,
1503
1513
  i.left,
1504
1514
  i.width,
1505
1515
  i.height
1506
1516
  ], a), Mn(_, () => {
1507
- t.disableClickOutsideToClose || he(!1);
1517
+ t.disableClickOutsideToClose || pe(!1);
1508
1518
  }, { ignore: r(() => [
1509
1519
  S.value,
1510
1520
  ".p-datepicker-panel",
1511
1521
  ...t.ignoreClickOutsideClasses?.map((e) => `.${e}`) ?? []
1512
1522
  ]) });
1513
1523
  }
1514
- let ue = r(() => ({
1515
- ...le(),
1524
+ let ce = r(() => ({
1525
+ ...se(),
1516
1526
  zIndex: t.zIndex
1517
- })), de, fe, pe = () => {
1518
- de && clearTimeout(de), de = void 0;
1519
- }, me = () => {
1520
- fe && clearTimeout(fe), fe = void 0;
1521
- }, he = (e) => {
1522
- pe(), me(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? de = setTimeout(() => {
1523
- c.value = !0, de = void 0;
1527
+ })), le, ue, de = () => {
1528
+ le && clearTimeout(le), le = void 0;
1529
+ }, fe = () => {
1530
+ ue && clearTimeout(ue), ue = void 0;
1531
+ }, pe = (e) => {
1532
+ de(), fe(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? le = setTimeout(() => {
1533
+ c.value = !0, le = void 0;
1524
1534
  }, t.delay) : c.value = e);
1525
- }, ge = () => {
1526
- pe(), me(), c.value = !1;
1527
- }, _e = () => {
1535
+ }, me = () => {
1536
+ de(), fe(), c.value = !1;
1537
+ }, he = () => {
1528
1538
  let e = S.value;
1529
1539
  !e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
1530
- }, ve = r(() => !t.showOnHover || A.value ? !1 : t.disableInteractive ? C.value || O.value : C.value || T.value || O.value || ee.value);
1531
- F([
1540
+ }, ge = r(() => !t.showOnHover || j.value ? !1 : t.disableInteractive ? C.value || O.value : C.value || T.value || O.value || k.value);
1541
+ L([
1532
1542
  C,
1533
1543
  O,
1534
- ee
1544
+ k
1535
1545
  ], ([e, t, n]) => {
1536
- !e && !t && !n && (A.value = !1);
1546
+ !e && !t && !n && (j.value = !1);
1537
1547
  });
1538
- let ye = ({ target: e }) => {
1548
+ let _e = ({ target: e }) => {
1539
1549
  O.value = e instanceof HTMLElement && e.matches(":focus-visible");
1540
- }, be = ({ target: e }) => {
1541
- ee.value = e instanceof HTMLElement && e.matches(":focus-visible");
1542
- }, L = () => {
1543
- ee.value = !1;
1544
- }, xe = () => {
1550
+ }, ve = ({ target: e }) => {
1551
+ k.value = e instanceof HTMLElement && e.matches(":focus-visible");
1552
+ }, z = () => {
1553
+ k.value = !1;
1554
+ }, ye = () => {
1545
1555
  if (t.showOnHover) {
1546
- t.disableClickOutsideToClose || (A.value = !0, ge());
1556
+ t.disableClickOutsideToClose || (j.value = !0, me());
1547
1557
  return;
1548
1558
  }
1549
- he(de ? !1 : !c.value);
1550
- }, Se = (e) => {
1559
+ pe(le ? !1 : !c.value);
1560
+ }, be = (e) => {
1551
1561
  let t = e.newState === "open";
1552
1562
  c.value !== t && (c.value = t);
1553
- }, Ce = (e) => {
1554
- h && re.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), he(!1));
1563
+ }, xe = (e) => {
1564
+ h && te.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), pe(!1));
1555
1565
  };
1556
- return F(c, async (e) => {
1557
- if (t.showOnHover && t.enableGroupSync && M(!!e), !h) {
1558
- e && ce();
1566
+ return L(c, async (e) => {
1567
+ if (t.showOnHover && t.enableGroupSync && N(!!e), !h) {
1568
+ e && oe();
1559
1569
  return;
1560
1570
  }
1561
- await v(), _e();
1562
- }), F(ve, (e) => {
1571
+ await v(), he();
1572
+ }), L(ge, (e) => {
1563
1573
  if (t.showOnHover) {
1564
1574
  if (e) {
1565
- he(!0);
1575
+ pe(!0);
1566
1576
  return;
1567
1577
  }
1568
- pe(), t.closeDelay > 0 ? (me(), fe = setTimeout(() => {
1569
- fe = void 0, ve.value || he(!1);
1570
- }, t.closeDelay)) : he(!1);
1578
+ de(), t.closeDelay > 0 ? (fe(), ue = setTimeout(() => {
1579
+ ue = void 0, ge.value || pe(!1);
1580
+ }, t.closeDelay)) : pe(!1);
1571
1581
  }
1572
- }), F(m, (e) => {
1573
- e ? h && c.value && v(_e) : ge();
1582
+ }), L(m, (e) => {
1583
+ e ? h && c.value && v(he) : me();
1574
1584
  }), w(() => {
1575
- b.value = y.value, g.value = !0, c.value && v(() => h ? _e() : ce());
1585
+ b.value = y.value, g.value = !0, c.value && v(() => h ? he() : oe());
1576
1586
  }), E(() => {
1577
- pe(), me();
1578
- }), F(() => t.disabled, (e) => {
1579
- e && (O.value &&= !1, ee.value &&= !1, he(!1));
1587
+ de(), fe();
1588
+ }), L(() => t.disabled, (e) => {
1589
+ e && (O.value &&= !1, k.value &&= !1, pe(!1));
1580
1590
  }), (r, l) => (D(), o("div", {
1581
1591
  ref_key: "root",
1582
1592
  ref: _,
1583
- style: x(ae.value),
1584
- onKeydown: Ce
1593
+ style: x(re.value),
1594
+ onKeydown: xe
1585
1595
  }, [s("div", {
1586
1596
  ref_key: "triggerWrapper",
1587
1597
  ref: y,
1588
- style: x(I.value),
1589
- onClick: xe,
1590
- onFocusin: ye,
1598
+ style: x(R.value),
1599
+ onClick: ye,
1600
+ onFocusin: _e,
1591
1601
  onFocusout: l[0] ||= (e) => O.value = !1
1592
- }, [j(r.$slots, "trigger")], 36), g.value && te(h) && m.value ? (D(), o("div", {
1602
+ }, [M(r.$slots, "trigger")], 36), g.value && I(h) && m.value ? (D(), o("div", {
1593
1603
  key: 0,
1594
1604
  ref_key: "floating",
1595
1605
  ref: S,
1596
1606
  class: "pv-floating pv-floating-native",
1597
- popover: re.value,
1598
- style: x(se.value),
1599
- onToggle: Se,
1600
- onFocusin: be,
1601
- onFocusout: L
1602
- }, [e.disabled ? a("v-if", !0) : j(r.$slots, "content", { key: 0 })], 44, qn)) : m.value ? (D(), i(n, {
1607
+ popover: te.value,
1608
+ style: x(ae.value),
1609
+ onToggle: be,
1610
+ onFocusin: ve,
1611
+ onFocusout: z
1612
+ }, [e.disabled ? a("v-if", !0) : M(r.$slots, "content", { key: 0 })], 44, qn)) : m.value ? (D(), i(n, {
1603
1613
  key: 1,
1604
1614
  to: e.teleportLocation,
1605
1615
  disabled: !t.useTeleport || e.disabled
1606
- }, [oe(s("div", {
1616
+ }, [ie(s("div", {
1607
1617
  ref_key: "floating",
1608
1618
  ref: S,
1609
1619
  class: "pv-floating",
1610
- style: x(ue.value),
1611
- onFocusin: be,
1612
- onFocusout: L
1613
- }, [j(r.$slots, "content")], 36), [[ie, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1620
+ style: x(ce.value),
1621
+ onFocusin: ve,
1622
+ onFocusout: z
1623
+ }, [M(r.$slots, "content")], 36), [[ne, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1614
1624
  }
1615
- }), [["styles", [".pv-floating-native[data-v-ead1215b]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-ead1215b]>.pv-popover,.pv-floating-native>slot[name=content][data-v-ead1215b]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-ead1215b"]]), Xn = ["data-variant"], Zn = /* @__PURE__ */ d({
1625
+ }), [["styles", [".pv-floating-native[data-v-c13d6b59]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-c13d6b59]>.pv-popover,.pv-floating-native>slot[name=content][data-v-c13d6b59]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-c13d6b59"]]), Xn = ["data-variant"], Zn = /* @__PURE__ */ d({
1616
1626
  __name: "PvTooltipV2",
1617
1627
  props: {
1618
1628
  variant: {
@@ -1648,7 +1658,7 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
1648
1658
  },
1649
1659
  closeDelay: { type: Number },
1650
1660
  zIndex: { type: Number },
1651
- teleportLocation: { type: String },
1661
+ teleportLocation: { type: null },
1652
1662
  offset: { type: Number },
1653
1663
  ignoreClickOutsideClasses: { type: Array },
1654
1664
  disabled: { type: Boolean },
@@ -1657,33 +1667,32 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
1657
1667
  setup(e) {
1658
1668
  let t = e, n = p(), a = typeof HTMLElement < "u" && n && "ce" in n && n.ce instanceof HTMLElement ? n.ce : void 0, { hasVueSlot: o, hasNativeSlot: u } = Un("content", { host: a }), d = r(() => a ? u.value : o.value), f = r(() => !!t.description || d.value);
1659
1669
  return (t, n) => (D(), i(Yn, b(h(t.$props)), c({
1660
- trigger: I(() => [j(t.$slots, "trigger", {}, () => [s("p", null, N(e.label), 1)])]),
1670
+ trigger: R(() => [M(t.$slots, "trigger", {}, () => [s("p", null, P(e.label), 1)])]),
1661
1671
  _: 2
1662
1672
  }, [f.value ? {
1663
1673
  name: "content",
1664
- fn: I(() => [s("div", {
1674
+ fn: R(() => [s("div", {
1665
1675
  class: y(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
1666
1676
  role: "tooltip",
1667
1677
  "data-variant": e.variant
1668
- }, [j(t.$slots, "content", {}, () => [l(N(e.description), 1)])], 10, Xn)]),
1678
+ }, [M(t.$slots, "content", {}, () => [l(P(e.description), 1)])], 10, Xn)]),
1669
1679
  key: "0"
1670
1680
  } : void 0]), 1040));
1671
1681
  }
1672
1682
  }), Qn = { class: "sidebar-panel" }, $n = {
1673
1683
  key: 0,
1674
1684
  class: "sidebar-additional-header"
1675
- }, er = { class: "sidebar-header-content" }, tr = {
1685
+ }, er = { class: "sidebar-header-content pv-full-width" }, tr = {
1676
1686
  key: 0,
1677
1687
  class: "pv-sidebar-nav-header"
1678
- }, nr = { class: "pv-space-between" }, rr = {
1688
+ }, nr = ["aria-label", "aria-expanded"], rr = {
1679
1689
  class: "pv-flex",
1680
1690
  style: { "min-width": "0" }
1681
1691
  }, ir = {
1682
1692
  class: "pv-avatar-xs",
1683
1693
  style: {
1684
1694
  "border-radius": "4px",
1685
- "flex-shrink": "0",
1686
- margin: "0 4px"
1695
+ "flex-shrink": "0"
1687
1696
  }
1688
1697
  }, ar = ["src"], or = { key: 1 }, sr = ["title"], cr = {
1689
1698
  class: "pv-popover",
@@ -1715,50 +1724,64 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
1715
1724
  }, wr = {
1716
1725
  key: 0,
1717
1726
  class: "pv-tag-purple pv-tag-sm"
1718
- }, Tr = ["onClick", "onAuxclick"], Er = { "data-sidebar-expanded-content": "" }, Dr = { class: "pv-sidebar-nav-nested" }, Or = [
1719
- "href",
1720
- "aria-current",
1721
- "title"
1722
- ], kr = {
1723
- class: "pv-flex pv-space-between pv-full-width",
1724
- style: { "flex-wrap": "wrap" }
1725
- }, Ar = {
1727
+ }, Tr = {
1728
+ class: "pv-popover",
1729
+ style: { "--position": "static" }
1730
+ }, Er = {
1731
+ role: "list",
1732
+ class: "pv-popover-list"
1733
+ }, Dr = ["data-active"], Or = ["href"], kr = {
1726
1734
  key: 0,
1727
1735
  class: "pv-tag-purple pv-tag-sm"
1728
- }, jr = { class: "pv-flex" }, Mr = { "data-sidebar-expanded-content": "" }, Nr = { class: "pv-sidebar-nav-nested" }, Pr = [
1736
+ }, Ar = ["onClick", "onAuxclick"], jr = { "data-sidebar-expanded-content": "" }, Mr = { class: "pv-sidebar-nav-nested" }, Nr = [
1729
1737
  "href",
1730
1738
  "aria-current",
1731
1739
  "title"
1732
- ], Fr = {
1740
+ ], Pr = {
1733
1741
  class: "pv-flex pv-space-between pv-full-width",
1734
1742
  style: { "flex-wrap": "wrap" }
1735
- }, Ir = {
1743
+ }, Fr = {
1736
1744
  key: 0,
1737
1745
  class: "pv-tag-purple pv-tag-sm"
1738
- }, Lr = {
1746
+ }, Ir = {
1739
1747
  class: "pv-popover",
1740
1748
  style: {
1741
1749
  "--position": "static",
1742
1750
  "--height": "350px"
1743
1751
  }
1744
- }, Rr = {
1752
+ }, Lr = {
1745
1753
  role: "list",
1746
1754
  class: "pv-popover-list"
1747
- }, zr = ["data-active"], Br = ["href"], Vr = {
1755
+ }, Rr = ["data-active"], zr = ["href"], Br = {
1748
1756
  key: 0,
1749
1757
  class: "pv-tag-purple pv-tag-sm"
1750
- }, Hr = {
1758
+ }, Vr = {
1751
1759
  class: "pv-sidebar-nav-footer pv-sticky",
1752
1760
  style: { "--bottom": "0" }
1753
- }, Ur = { class: "content-panel" }, Wr = /* @__PURE__ */ d({
1761
+ }, Hr = ["aria-expanded"], Ur = { class: "pv-popover pv-text-default pv-text-body-md" }, Wr = [
1762
+ "aria-label",
1763
+ "aria-expanded",
1764
+ "title"
1765
+ ], Gr = {
1766
+ class: "pv-avatar-xs",
1767
+ style: {
1768
+ "border-radius": "50%",
1769
+ "flex-shrink": "0"
1770
+ }
1771
+ }, Kr = ["src"], qr = { key: 1 }, Jr = {
1772
+ class: "pv-truncate",
1773
+ "data-sidebar-expanded-content": ""
1774
+ }, Yr = {
1775
+ class: "pv-popover pv-text-default pv-text-body-md",
1776
+ style: { "--height": "750px" }
1777
+ }, Xr = { class: "content-panel" }, Zr = /* @__PURE__ */ d({
1754
1778
  __name: "PvSidebarV2",
1755
1779
  props: /* @__PURE__ */ g({
1756
1780
  disableToggle: { type: Boolean },
1757
- variant: { type: String },
1758
- organizations: { type: Array },
1759
1781
  navItems: { type: Array },
1760
- enableAdditionalContent: { type: Boolean },
1761
- enableAdditionalHeader: { type: Boolean }
1782
+ organizations: { type: Array },
1783
+ profile: { type: Object },
1784
+ variant: { type: String }
1762
1785
  }, {
1763
1786
  modelValue: {
1764
1787
  type: Boolean,
@@ -1768,37 +1791,40 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
1768
1791
  }),
1769
1792
  emits: /* @__PURE__ */ g(["change"], ["update:modelValue"]),
1770
1793
  setup(e, { emit: n }) {
1771
- let c = e, d = (e) => {
1794
+ let c = e, d = p(), f = typeof HTMLElement < "u" && d && "ce" in d && d.ce instanceof HTMLElement ? d.ce : void 0, { present: m } = Un("sidebar-additional-content", { host: f }), { present: h } = Un("sidebar-additional-header", { host: f }), { present: g } = Un("sidebar-help-content", { host: f }), { present: v } = Un("sidebar-profile-content", { host: f }), b = A(null), x = (e) => {
1772
1795
  for (let t of e) {
1773
1796
  if (t.active) return t;
1774
- let e = t.entities && d(t.entities);
1797
+ let e = t.entities && x(t.entities);
1775
1798
  if (e) return e;
1776
1799
  }
1777
- }, f = r(() => (c.organizations && d(c.organizations)) ?? c.organizations?.[0]), m = (e) => !!(e.active || e.children?.some((e) => e.active)), h = k((() => {
1800
+ }, S = r(() => (c.organizations && x(c.organizations)) ?? c.organizations?.[0]), C = (e) => !!(e.active || e.children?.some((e) => e.active)), w = A((() => {
1778
1801
  let e = {};
1779
1802
  return c.navItems?.forEach((t) => {
1780
- m(t) && (e[t.value] = !0);
1803
+ C(t) && (e[t.value] = !0);
1781
1804
  }), e;
1782
1805
  })());
1783
- F(() => c.navItems, (e) => {
1806
+ L(() => c.navItems, (e) => {
1784
1807
  e?.forEach((e) => {
1785
- m(e) && (h.value[e.value] = !0);
1808
+ C(e) && (w.value[e.value] = !0);
1786
1809
  });
1787
1810
  });
1788
- let g = ne(e, "modelValue"), v = n, b = p(), x = typeof HTMLElement < "u" && b && "ce" in b && b.ce instanceof HTMLElement ? b.ce : void 0;
1789
- F(g, (e) => {
1790
- x?.querySelectorAll("[slot=\"sidebar-footer\"] [data-sidebar-expanded-content]").forEach((t) => {
1791
- t.style.display = e ? "none" : "";
1792
- });
1793
- }, { immediate: !0 });
1794
- let S = () => b?.proxy?.$el ?? null, C = () => {
1795
- let e = S();
1796
- e?.querySelector(".pv-popover-menu")?.removeAttribute("data-active"), e?.querySelectorAll("details[data-dropdown][open]").forEach((e) => {
1797
- e.open = !1;
1798
- });
1799
- }, w = () => {
1800
- C(), g.value = !g.value, v("change", { collapsed: g.value });
1801
- }, T = (e) => e.some((e) => e.active), E = (e, t) => {
1811
+ let T = ee(e, "modelValue"), E = A(!1), O = n, k = A(!1), N = A(!1), F = A(!1), te = () => {
1812
+ k.value = !1, N.value = !1, F.value = !1;
1813
+ };
1814
+ L(k, (e) => {
1815
+ e && (N.value = !1, F.value = !1);
1816
+ }), L(N, (e) => {
1817
+ e && (k.value = !1, F.value = !1);
1818
+ }), L(F, (e) => {
1819
+ e && (k.value = !1, N.value = !1);
1820
+ }), L(T, () => {
1821
+ te(), E.value = !0;
1822
+ });
1823
+ let ne = () => {
1824
+ T.value = !T.value, O("change", { collapsed: T.value });
1825
+ }, re = (e) => {
1826
+ e.target === e.currentTarget && e.propertyName === "grid-template-columns" && (E.value = !1);
1827
+ }, ie = (e) => e.some((e) => e.active), ae = (e, t) => {
1802
1828
  if (t.url) {
1803
1829
  if (e.ctrlKey || e.metaKey || e.shiftKey || e.button === 1) {
1804
1830
  window.open(t.url, "_blank", "noopener");
@@ -1807,225 +1833,292 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
1807
1833
  window.location.href = t.url;
1808
1834
  }
1809
1835
  };
1810
- return (n, r) => (D(), o("div", { class: y(["sidebar-layout sidebar-layout-new", [e.variant && `sidebar-layout-${e.variant}`, {
1811
- "is-collapsed": g.value,
1812
- "is-expanded": !g.value
1813
- }]]) }, [s("div", Qn, [s("div", null, [e.enableAdditionalHeader ? (D(), o("div", $n, [j(n.$slots, "sidebar-additional-header")])) : a("v-if", !0), s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": g.value }]]) }, [s("div", er, [e.organizations && e.organizations.length ? (D(), o("div", tr, [u(Yn, {
1814
- position: "bottom-left",
1815
- "css-custom-properties": { width: "100%" }
1816
- }, {
1817
- trigger: I(() => [s("summary", nr, [s("div", rr, [s("span", ir, [f.value?.avatarUrl ? (D(), o("img", {
1818
- key: 0,
1819
- src: f.value.avatarUrl,
1820
- alt: "Organization Avatar"
1821
- }, null, 8, ar)) : (D(), o("span", or, N(f.value?.label?.slice(0, 1)), 1))]), s("span", {
1822
- class: "pv-text-title-lg pv-truncate",
1823
- "data-sidebar-expanded-content": "",
1824
- title: f.value?.label
1825
- }, N(f.value?.label), 9, sr)]), u(L, {
1826
- name: "chevron-down",
1827
- class: "pv-icon-16",
1828
- "data-sidebar-expanded-content": ""
1829
- })])]),
1830
- content: I(() => [s("div", cr, [s("ul", lr, [(D(!0), o(t, null, A(e.organizations, (e) => (D(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
1831
- class: "pv-flex",
1832
- href: e.url
1833
- }, [s("div", fr, [e.avatarUrl ? (D(), o("img", {
1834
- key: 0,
1835
- src: e.avatarUrl,
1836
- alt: "Organization Avatar"
1837
- }, null, 8, pr)) : (D(), o("span", mr, N(e.label.slice(0, 1)), 1))]), s("span", {
1838
- class: "pv-truncate pv-flex-item",
1839
- title: e.label
1840
- }, N(e.label), 9, hr)], 8, dr)], 8, ur), (D(!0), o(t, null, A(e.entities, (e) => (D(), o("li", {
1841
- key: e.value,
1842
- style: { "padding-left": "0.5rem" },
1843
- "data-active": e.active || void 0
1844
- }, [s("a", {
1845
- class: "pv-flex pv-truncate",
1846
- href: e.url,
1847
- style: { "max-width": "100%" }
1848
- }, [u(L, { name: "corner-down-right" }), s("span", {
1849
- class: "pv-truncate",
1850
- title: e.label
1851
- }, N(e.label), 9, vr)], 8, _r)], 8, gr))), 128))], 64))), 128))])])]),
1852
- _: 1
1853
- })])) : a("v-if", !0)]), e.disableToggle ? a("v-if", !0) : (D(), i(Zn, {
1854
- key: 0,
1855
- variant: "white",
1856
- position: "center-right"
1857
- }, {
1858
- trigger: I(() => [u(ke, {
1859
- class: "sidebar-toggle",
1860
- "left-icon": g.value ? "panel-left-open" : "panel-left-close",
1861
- "aria-label": g.value ? "Open sidebar" : "Close sidebar",
1862
- variant: "ghost",
1863
- onClick: w
1864
- }, null, 8, ["left-icon", "aria-label"])]),
1865
- content: I(() => [l(N(g.value ? "Expand navigation" : "Collapse navigation"), 1)]),
1866
- _: 1
1867
- }))], 2)]), s("div", yr, [
1868
- e.enableAdditionalContent ? (D(), o("div", br, [j(n.$slots, "sidebar-additional-content")])) : a("v-if", !0),
1869
- e.navItems && e.navItems.length ? (D(), o("ul", xr, [(D(!0), o(t, null, A(e.navItems, (e) => (D(), o("li", { key: e.value }, [a(" Leaf item — no children "), !e.children || e.children.length === 0 ? (D(), i(Zn, {
1870
- key: 0,
1871
- position: "center-right",
1872
- description: e.label,
1873
- variant: "white",
1874
- disabled: !g.value,
1836
+ return (n, r) => (D(), o("div", {
1837
+ class: y(["sidebar-layout sidebar-layout-new", [e.variant && `sidebar-layout-${e.variant}`, {
1838
+ "is-collapsed": T.value,
1839
+ "is-expanded": !T.value,
1840
+ "is-transitioning": E.value
1841
+ }]]),
1842
+ onTransitionend: re
1843
+ }, [
1844
+ s("div", Qn, [s("div", null, [I(h) ? (D(), o("div", $n, [M(n.$slots, "sidebar-additional-header")])) : a("v-if", !0), s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": T.value }]]) }, [s("div", er, [e.organizations && e.organizations.length ? (D(), o("div", tr, [u(Yn, {
1845
+ modelValue: N.value,
1846
+ "onUpdate:modelValue": r[0] ||= (e) => N.value = e,
1847
+ position: T.value ? "right-top" : "bottom-left",
1848
+ "show-on-hover": T.value && !E.value,
1875
1849
  "enable-group-sync": "",
1850
+ "use-teleport": !!b.value,
1851
+ "teleport-location": b.value ?? "body",
1876
1852
  "css-custom-properties": { width: "100%" }
1877
1853
  }, {
1878
- trigger: I(() => [s("a", _({
1879
- class: "pv-nav-list-item",
1854
+ trigger: R(() => [s("button", {
1855
+ type: "button",
1856
+ class: "pv-nav-list-item pv-full-width pv-space-between",
1857
+ "aria-label": `Switch organization: ${S.value?.label}`,
1858
+ "aria-expanded": N.value
1859
+ }, [s("div", rr, [s("span", ir, [S.value?.avatarUrl ? (D(), o("img", {
1860
+ key: 0,
1861
+ src: S.value.avatarUrl,
1862
+ alt: "Organization Avatar"
1863
+ }, null, 8, ar)) : (D(), o("span", or, P(S.value?.label?.slice(0, 1)), 1))]), s("span", {
1864
+ class: "pv-text-title-lg pv-truncate",
1865
+ "data-sidebar-expanded-content": "",
1866
+ title: S.value?.label
1867
+ }, P(S.value?.label), 9, sr)]), u(z, {
1868
+ name: "chevron-down",
1869
+ class: "pv-icon-16",
1870
+ "data-sidebar-expanded-content": ""
1871
+ })], 8, nr)]),
1872
+ content: R(() => [s("div", cr, [s("ul", lr, [(D(!0), o(t, null, j(e.organizations, (e) => (D(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
1873
+ class: "pv-flex",
1880
1874
  href: e.url
1881
- }, { ref_for: !0 }, e.linkAttrs, {
1882
- "aria-current": e.active ? "page" : void 0,
1883
- title: e.label
1884
- }), [e.icon ? (D(), i(L, {
1875
+ }, [s("div", fr, [e.avatarUrl ? (D(), o("img", {
1885
1876
  key: 0,
1886
- name: e.icon,
1887
- class: "pv-nav-icon"
1888
- }, null, 8, ["name"])) : a("v-if", !0), s("span", Cr, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, N(e.label), 3), e.badge ? (D(), o("span", wr, N(e.badge.toUpperCase()), 1)) : a("v-if", !0)])], 16, Sr)]),
1889
- _: 2
1890
- }, 1032, ["description", "disabled"])) : e.children.length === 1 ? (D(), o(t, { key: 1 }, [a(" One child — accordion with a single-child tooltip "), u(Zn, {
1891
- position: "center-right",
1892
- description: e.children[0].label,
1877
+ src: e.avatarUrl,
1878
+ alt: "Organization Avatar"
1879
+ }, null, 8, pr)) : (D(), o("span", mr, P(e.label.slice(0, 1)), 1))]), s("span", {
1880
+ class: "pv-truncate pv-flex-item",
1881
+ title: e.label
1882
+ }, P(e.label), 9, hr)], 8, dr)], 8, ur), (D(!0), o(t, null, j(e.entities, (e) => (D(), o("li", {
1883
+ key: e.value,
1884
+ style: { "padding-left": "0.5rem" },
1885
+ "data-active": e.active || void 0
1886
+ }, [s("a", {
1887
+ class: "pv-flex pv-truncate",
1888
+ href: e.url,
1889
+ style: { "max-width": "100%" }
1890
+ }, [u(z, { name: "corner-down-right" }), s("span", {
1891
+ class: "pv-truncate",
1892
+ title: e.label
1893
+ }, P(e.label), 9, vr)], 8, _r)], 8, gr))), 128))], 64))), 128))])])]),
1894
+ _: 1
1895
+ }, 8, [
1896
+ "modelValue",
1897
+ "position",
1898
+ "show-on-hover",
1899
+ "use-teleport",
1900
+ "teleport-location"
1901
+ ])])) : a("v-if", !0)]), e.disableToggle ? a("v-if", !0) : (D(), i(Zn, {
1902
+ key: 0,
1893
1903
  variant: "white",
1894
- disabled: !g.value,
1895
- "enable-group-sync": "",
1896
- "css-custom-properties": { width: "100%" }
1904
+ position: "center-right",
1905
+ delay: 1e3
1897
1906
  }, {
1898
- trigger: I(() => [u(Se, {
1899
- modelValue: h.value[e.value],
1900
- "onUpdate:modelValue": (t) => h.value[e.value] = t,
1901
- "default-open": m(e),
1902
- "summary-attrs": { "aria-current": T(e.children) && g.value ? "page" : void 0 },
1903
- "enable-trigger-slot": "",
1904
- "enable-trigger-full-width": ""
1907
+ trigger: R(() => [u(De, {
1908
+ class: "sidebar-toggle",
1909
+ "left-icon": T.value ? "panel-left-open" : "panel-left-close",
1910
+ "aria-label": T.value ? "Open sidebar" : "Close sidebar",
1911
+ variant: "ghost",
1912
+ onClick: ne
1913
+ }, null, 8, ["left-icon", "aria-label"])]),
1914
+ content: R(() => [l(P(T.value ? "Expand navigation" : "Collapse navigation"), 1)]),
1915
+ _: 1
1916
+ }))], 2)]), s("div", yr, [
1917
+ I(m) ? (D(), o("div", br, [M(n.$slots, "sidebar-additional-content")])) : a("v-if", !0),
1918
+ e.navItems && e.navItems.length ? (D(), o("ul", xr, [(D(!0), o(t, null, j(e.navItems, (e) => (D(), o("li", { key: e.value }, [a(" Leaf item - direct link with a collapsed interactive flyout "), !e.children || e.children.length === 0 ? (D(), i(Yn, {
1919
+ key: 0,
1920
+ "show-on-hover": "",
1921
+ "enable-group-sync": "",
1922
+ "use-teleport": !!b.value,
1923
+ "teleport-location": b.value ?? "body",
1924
+ position: "right-top",
1925
+ disabled: !T.value,
1926
+ "css-custom-properties": { width: "100%" }
1905
1927
  }, {
1906
- trigger: I(() => [s("div", {
1907
- class: "pv-flex",
1908
- onClick: (t) => E(t, e.children[0]),
1909
- onAuxclick: (t) => E(t, e.children[0])
1910
- }, [e.icon ? (D(), i(L, {
1911
- key: 0,
1912
- name: e.icon,
1913
- class: "pv-nav-icon"
1914
- }, null, 8, ["name"])) : a("v-if", !0), s("span", Er, N(e.label), 1)], 40, Tr)]),
1915
- default: I(() => [s("div", Dr, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("a", _({
1916
- key: e.value,
1928
+ trigger: R(() => [s("a", _({
1929
+ class: "pv-nav-list-item",
1917
1930
  href: e.url
1918
1931
  }, { ref_for: !0 }, e.linkAttrs, {
1919
1932
  "aria-current": e.active ? "page" : void 0,
1920
- title: e.label
1921
- }), [s("span", kr, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, N(e.label), 3), e.badge ? (D(), o("span", Ar, N(e.badge.toUpperCase()), 1)) : a("v-if", !0)])], 16, Or))), 128))])]),
1922
- _: 2
1923
- }, 1032, [
1924
- "modelValue",
1925
- "onUpdate:modelValue",
1926
- "default-open",
1927
- "summary-attrs"
1928
- ])]),
1929
- _: 2
1930
- }, 1032, ["description", "disabled"])], 2112)) : (D(), o(t, { key: 2 }, [a(" Multiple children — accordion with a hover flyout of all children "), u(Yn, {
1931
- "show-on-hover": "",
1932
- "enable-group-sync": "",
1933
- position: "center-right",
1934
- disabled: !g.value,
1935
- "css-custom-properties": { width: "100%" }
1936
- }, {
1937
- trigger: I(() => [u(Se, {
1938
- modelValue: h.value[e.value],
1939
- "onUpdate:modelValue": (t) => h.value[e.value] = t,
1940
- "default-open": m(e),
1941
- "summary-attrs": { "aria-current": T(e.children) && g.value ? "page" : void 0 },
1942
- "enable-trigger-slot": "",
1943
- "enable-trigger-full-width": ""
1944
- }, {
1945
- trigger: I(() => [s("div", jr, [e.icon ? (D(), i(L, {
1933
+ title: T.value ? void 0 : e.label
1934
+ }), [e.icon ? (D(), i(z, {
1946
1935
  key: 0,
1947
1936
  name: e.icon,
1948
1937
  class: "pv-nav-icon"
1949
- }, null, 8, ["name"])) : a("v-if", !0), s("span", Mr, N(e.label), 1)])]),
1950
- default: I(() => [s("div", Nr, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("a", _({
1938
+ }, null, 8, ["name"])) : a("v-if", !0), s("span", Cr, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (D(), o("span", wr, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)])], 16, Sr)]),
1939
+ content: R(() => [s("div", Tr, [s("ul", Er, [s("li", { "data-active": e.active || void 0 }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (D(), o("span", kr, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)], 16, Or)], 8, Dr)])])]),
1940
+ _: 2
1941
+ }, 1032, [
1942
+ "use-teleport",
1943
+ "teleport-location",
1944
+ "disabled"
1945
+ ])) : (D(), o(t, { key: 1 }, [a(" Child items - accordion with a collapsed hover flyout "), u(Yn, {
1946
+ "show-on-hover": "",
1947
+ "enable-group-sync": "",
1948
+ "use-teleport": !!b.value,
1949
+ "teleport-location": b.value ?? "body",
1950
+ position: "right-top",
1951
+ disabled: !T.value,
1952
+ "css-custom-properties": { width: "100%" }
1953
+ }, {
1954
+ trigger: R(() => [u(be, {
1955
+ modelValue: w.value[e.value],
1956
+ "onUpdate:modelValue": (t) => w.value[e.value] = t,
1957
+ "default-open": C(e),
1958
+ "summary-attrs": { "aria-current": ie(e.children) && T.value ? "page" : void 0 },
1959
+ "enable-trigger-slot": "",
1960
+ "enable-trigger-full-width": ""
1961
+ }, {
1962
+ trigger: R(() => [s("div", {
1963
+ class: "pv-flex",
1964
+ onClick: (t) => e.children.length === 1 && ae(t, e.children[0]),
1965
+ onAuxclick: (t) => e.children.length === 1 && ae(t, e.children[0])
1966
+ }, [e.icon ? (D(), i(z, {
1967
+ key: 0,
1968
+ name: e.icon,
1969
+ class: "pv-nav-icon"
1970
+ }, null, 8, ["name"])) : a("v-if", !0), s("span", jr, P(e.label), 1)], 40, Ar)]),
1971
+ default: R(() => [s("div", Mr, [(D(!0), o(t, null, j(e.children, (e) => (D(), o("a", _({
1972
+ key: e.value,
1973
+ href: e.url
1974
+ }, { ref_for: !0 }, e.linkAttrs, {
1975
+ "aria-current": e.active ? "page" : void 0,
1976
+ title: e.label
1977
+ }), [s("span", Pr, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (D(), o("span", Fr, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)])], 16, Nr))), 128))])]),
1978
+ _: 2
1979
+ }, 1032, [
1980
+ "modelValue",
1981
+ "onUpdate:modelValue",
1982
+ "default-open",
1983
+ "summary-attrs"
1984
+ ])]),
1985
+ content: R(() => [s("div", Ir, [s("ul", Lr, [(D(!0), o(t, null, j(e.children, (e) => (D(), o("li", {
1951
1986
  key: e.value,
1952
- href: e.url
1953
- }, { ref_for: !0 }, e.linkAttrs, {
1954
- "aria-current": e.active ? "page" : void 0,
1955
- title: e.label
1956
- }), [s("span", Fr, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, N(e.label), 3), e.badge ? (D(), o("span", Ir, N(e.badge.toUpperCase()), 1)) : a("v-if", !0)])], 16, Pr))), 128))])]),
1987
+ "data-active": e.active || void 0
1988
+ }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (D(), o("span", Br, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)], 16, zr)], 8, Rr))), 128))])])]),
1957
1989
  _: 2
1958
1990
  }, 1032, [
1991
+ "use-teleport",
1992
+ "teleport-location",
1993
+ "disabled"
1994
+ ])], 2112))]))), 128))])) : a("v-if", !0),
1995
+ s("div", Vr, [I(g) ? (D(), i(Yn, {
1996
+ key: 0,
1997
+ modelValue: k.value,
1998
+ "onUpdate:modelValue": r[1] ||= (e) => k.value = e,
1999
+ position: T.value ? "right-bottom" : "top-left",
2000
+ "show-on-hover": T.value,
2001
+ "enable-group-sync": "",
2002
+ "use-teleport": !!b.value,
2003
+ "teleport-location": b.value ?? "body",
2004
+ offset: 4,
2005
+ "css-custom-properties": { width: "100%" }
2006
+ }, {
2007
+ trigger: R(() => [s("button", {
2008
+ type: "button",
2009
+ class: "pv-nav-list-item",
2010
+ "aria-label": "Help",
2011
+ "aria-expanded": k.value,
2012
+ title: "Help"
2013
+ }, [u(z, {
2014
+ name: "help-circle",
2015
+ class: "pv-icon-20 pv-nav-icon"
2016
+ }), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8, Hr)]),
2017
+ content: R(() => [s("div", Ur, [M(n.$slots, "sidebar-help-content")])]),
2018
+ _: 3
2019
+ }, 8, [
1959
2020
  "modelValue",
1960
- "onUpdate:modelValue",
1961
- "default-open",
1962
- "summary-attrs"
1963
- ])]),
1964
- content: I(() => [s("div", Lr, [s("ul", Rr, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("li", {
1965
- key: e.value,
1966
- "data-active": e.active || void 0
1967
- }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, N(e.label), 3), e.badge ? (D(), o("span", Vr, N(e.badge.toUpperCase()), 1)) : a("v-if", !0)], 16, Br)], 8, zr))), 128))])])]),
1968
- _: 2
1969
- }, 1032, ["disabled"])], 2112))]))), 128))])) : a("v-if", !0),
1970
- s("div", Hr, [j(n.$slots, "sidebar-footer")])
1971
- ])]), s("div", Ur, [j(n.$slots, "default")])], 2));
2021
+ "position",
2022
+ "show-on-hover",
2023
+ "use-teleport",
2024
+ "teleport-location"
2025
+ ])) : a("v-if", !0), I(v) && e.profile ? (D(), i(Yn, {
2026
+ key: 1,
2027
+ modelValue: F.value,
2028
+ "onUpdate:modelValue": r[2] ||= (e) => F.value = e,
2029
+ position: T.value ? "right-bottom" : "top-left",
2030
+ "show-on-hover": T.value,
2031
+ "enable-group-sync": "",
2032
+ "use-teleport": !!b.value,
2033
+ "teleport-location": b.value ?? "body",
2034
+ offset: 4,
2035
+ "css-custom-properties": { width: "100%" }
2036
+ }, {
2037
+ trigger: R(() => [s("button", {
2038
+ type: "button",
2039
+ class: "pv-nav-list-item",
2040
+ "aria-label": e.profile.name,
2041
+ "aria-expanded": F.value,
2042
+ title: e.profile.name
2043
+ }, [s("span", Gr, [e.profile.avatarUrl ? (D(), o("img", {
2044
+ key: 0,
2045
+ src: e.profile.avatarUrl,
2046
+ alt: ""
2047
+ }, null, 8, Kr)) : (D(), o("span", qr, P(e.profile.name.slice(0, 1)), 1))]), s("span", Jr, P(e.profile.name), 1)], 8, Wr)]),
2048
+ content: R(() => [s("div", Yr, [M(n.$slots, "sidebar-profile-content")])]),
2049
+ _: 3
2050
+ }, 8, [
2051
+ "modelValue",
2052
+ "position",
2053
+ "show-on-hover",
2054
+ "use-teleport",
2055
+ "teleport-location"
2056
+ ])) : a("v-if", !0)])
2057
+ ])]),
2058
+ s("div", Xr, [M(n.$slots, "default")]),
2059
+ s("div", {
2060
+ ref_key: "popoverTeleportTarget",
2061
+ ref: b,
2062
+ class: "pv-sidebar-popover-portal"
2063
+ }, null, 512)
2064
+ ], 34));
1972
2065
  }
1973
- }), Gr = Object.defineProperty, Kr = Object.getOwnPropertySymbols, qr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable, Yr = (e, t, n) => t in e ? Gr(e, t, {
2066
+ }), Qr = Object.defineProperty, $r = Object.getOwnPropertySymbols, ei = Object.prototype.hasOwnProperty, ti = Object.prototype.propertyIsEnumerable, ni = (e, t, n) => t in e ? Qr(e, t, {
1974
2067
  enumerable: !0,
1975
2068
  configurable: !0,
1976
2069
  writable: !0,
1977
2070
  value: n
1978
- }) : e[t] = n, Xr = (e, t) => {
1979
- for (var n in t ||= {}) qr.call(t, n) && Yr(e, n, t[n]);
1980
- if (Kr) for (var n of Kr(t)) Jr.call(t, n) && Yr(e, n, t[n]);
2071
+ }) : e[t] = n, ri = (e, t) => {
2072
+ for (var n in t ||= {}) ei.call(t, n) && ni(e, n, t[n]);
2073
+ if ($r) for (var n of $r(t)) ti.call(t, n) && ni(e, n, t[n]);
1981
2074
  return e;
1982
2075
  };
1983
- function Zr(e) {
2076
+ function ii(e) {
1984
2077
  return e == null || e === "" || Array.isArray(e) && e.length === 0 || !(e instanceof Date) && typeof e == "object" && Object.keys(e).length === 0;
1985
2078
  }
1986
- function Qr(e) {
2079
+ function ai(e) {
1987
2080
  return typeof e == "function" && "call" in e && "apply" in e;
1988
2081
  }
1989
2082
  function q(e) {
1990
- return !Zr(e);
2083
+ return !ii(e);
1991
2084
  }
1992
- function $r(e, t = !0) {
2085
+ function oi(e, t = !0) {
1993
2086
  return e instanceof Object && e.constructor === Object && (t || Object.keys(e).length !== 0);
1994
2087
  }
1995
- function ei(e = {}, t = {}) {
1996
- let n = Xr({}, e);
2088
+ function si(e = {}, t = {}) {
2089
+ let n = ri({}, e);
1997
2090
  return Object.keys(t).forEach((r) => {
1998
2091
  let i = r;
1999
- $r(t[i]) && i in e && $r(e[i]) ? n[i] = ei(e[i], t[i]) : n[i] = t[i];
2092
+ oi(t[i]) && i in e && oi(e[i]) ? n[i] = si(e[i], t[i]) : n[i] = t[i];
2000
2093
  }), n;
2001
2094
  }
2002
- function ti(...e) {
2003
- return e.reduce((e, t, n) => n === 0 ? t : ei(e, t), {});
2095
+ function ci(...e) {
2096
+ return e.reduce((e, t, n) => n === 0 ? t : si(e, t), {});
2004
2097
  }
2005
- function ni(e, ...t) {
2006
- return Qr(e) ? e(...t) : e;
2098
+ function li(e, ...t) {
2099
+ return ai(e) ? e(...t) : e;
2007
2100
  }
2008
- function ri(e, t = !0) {
2101
+ function ui(e, t = !0) {
2009
2102
  return typeof e == "string" && (t || e !== "");
2010
2103
  }
2011
- function ii(e) {
2104
+ function di(e) {
2012
2105
  return q(e) && !isNaN(e);
2013
2106
  }
2014
- function ai(e, t) {
2107
+ function fi(e, t) {
2015
2108
  if (t) {
2016
2109
  let n = t.test(e);
2017
2110
  return t.lastIndex = 0, n;
2018
2111
  }
2019
2112
  return !1;
2020
2113
  }
2021
- function oi(...e) {
2022
- return ti(...e);
2114
+ function pi(...e) {
2115
+ return ci(...e);
2023
2116
  }
2024
- function si(e) {
2117
+ function mi(e) {
2025
2118
  return e && e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g, "").replace(/ {2,}/g, " ").replace(/ ([{:}]) /g, "$1").replace(/([;,]) /g, "$1").replace(/ !/g, "!").replace(/: /g, ":").trim();
2026
2119
  }
2027
- function ci(e) {
2028
- return ri(e) ? e.replace(/(_)/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase() : e;
2120
+ function hi(e) {
2121
+ return ui(e) ? e.replace(/(_)/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase() : e;
2029
2122
  }
2030
2123
  //#endregion
2031
2124
  //#region ../node_modules/.pnpm/@primevue+core@4.5.4_vue@3.5.32_typescript@5.9.3_/node_modules/@primevue/core/api/index.mjs
@@ -2049,7 +2142,7 @@ var J = {
2049
2142
  };
2050
2143
  //#endregion
2051
2144
  //#region ../node_modules/.pnpm/@primeuix+utils@0.6.4/node_modules/@primeuix/utils/dist/eventbus/index.mjs
2052
- function li() {
2145
+ function gi() {
2053
2146
  let e = /* @__PURE__ */ new Map();
2054
2147
  return {
2055
2148
  on(t, n) {
@@ -2073,21 +2166,21 @@ function li() {
2073
2166
  }
2074
2167
  //#endregion
2075
2168
  //#region ../node_modules/.pnpm/@primeuix+utils@0.6.4/node_modules/@primeuix/utils/dist/dom/index.mjs
2076
- function ui(e) {
2169
+ function _i(e) {
2077
2170
  if (e) {
2078
2171
  let t = e.parentNode;
2079
2172
  return t && t instanceof ShadowRoot && t.host && (t = t.host), t;
2080
2173
  }
2081
2174
  return null;
2082
2175
  }
2083
- function di(e) {
2084
- return !!(e != null && e.nodeName && ui(e));
2176
+ function vi(e) {
2177
+ return !!(e != null && e.nodeName && _i(e));
2085
2178
  }
2086
- function fi(e) {
2179
+ function yi(e) {
2087
2180
  return typeof Element < "u" ? e instanceof Element : typeof e == "object" && !!e && e.nodeType === 1 && typeof e.nodeName == "string";
2088
2181
  }
2089
- function pi(e, t = {}) {
2090
- if (fi(e)) {
2182
+ function bi(e, t = {}) {
2183
+ if (yi(e)) {
2091
2184
  let n = (t, r) => {
2092
2185
  var i;
2093
2186
  let a = (i = e?.$attrs) != null && i[t] ? [e?.$attrs?.[t]] : [];
@@ -2106,70 +2199,70 @@ function pi(e, t = {}) {
2106
2199
  Object.entries(t).forEach(([t, r]) => {
2107
2200
  if (r != null) {
2108
2201
  let i = t.match(/^on(.+)/);
2109
- i ? e.addEventListener(i[1].toLowerCase(), r) : t === "p-bind" || t === "pBind" ? pi(e, r) : (r = t === "class" ? [...new Set(n("class", r))].join(" ").trim() : t === "style" ? n("style", r).join(";").trim() : r, (e.$attrs = e.$attrs || {}) && (e.$attrs[t] = r), e.setAttribute(t, r));
2202
+ i ? e.addEventListener(i[1].toLowerCase(), r) : t === "p-bind" || t === "pBind" ? bi(e, r) : (r = t === "class" ? [...new Set(n("class", r))].join(" ").trim() : t === "style" ? n("style", r).join(";").trim() : r, (e.$attrs = e.$attrs || {}) && (e.$attrs[t] = r), e.setAttribute(t, r));
2110
2203
  }
2111
2204
  });
2112
2205
  }
2113
2206
  }
2114
- function mi() {
2207
+ function xi() {
2115
2208
  return !!(typeof window < "u" && window.document && window.document.createElement);
2116
2209
  }
2117
- function hi(e, t = "", n) {
2118
- fi(e) && n != null && e.setAttribute(t, n);
2210
+ function Si(e, t = "", n) {
2211
+ yi(e) && n != null && e.setAttribute(t, n);
2119
2212
  }
2120
2213
  //#endregion
2121
2214
  //#region ../node_modules/.pnpm/@primeuix+styled@0.7.4/node_modules/@primeuix/styled/dist/index.mjs
2122
- var gi = Object.defineProperty, _i = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, yi = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, Si = (e, t, n) => t in e ? gi(e, t, {
2215
+ var Ci = Object.defineProperty, wi = Object.defineProperties, Ti = Object.getOwnPropertyDescriptors, Ei = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, ki = (e, t, n) => t in e ? Ci(e, t, {
2123
2216
  enumerable: !0,
2124
2217
  configurable: !0,
2125
2218
  writable: !0,
2126
2219
  value: n
2127
2220
  }) : e[t] = n, Y = (e, t) => {
2128
- for (var n in t ||= {}) bi.call(t, n) && Si(e, n, t[n]);
2129
- if (yi) for (var n of yi(t)) xi.call(t, n) && Si(e, n, t[n]);
2221
+ for (var n in t ||= {}) Di.call(t, n) && ki(e, n, t[n]);
2222
+ if (Ei) for (var n of Ei(t)) Oi.call(t, n) && ki(e, n, t[n]);
2130
2223
  return e;
2131
- }, Ci = (e, t) => _i(e, vi(t)), X = (e, t) => {
2224
+ }, Ai = (e, t) => wi(e, Ti(t)), X = (e, t) => {
2132
2225
  var n = {};
2133
- for (var r in e) bi.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
2134
- if (e != null && yi) for (var r of yi(e)) t.indexOf(r) < 0 && xi.call(e, r) && (n[r] = e[r]);
2226
+ for (var r in e) Di.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
2227
+ if (e != null && Ei) for (var r of Ei(e)) t.indexOf(r) < 0 && Oi.call(e, r) && (n[r] = e[r]);
2135
2228
  return n;
2136
- }, Z = li(), wi = /{([^}]*)}/g, Ti = /(\d+\s+[\+\-\*\/]\s+\d+)/g, Ei = /var\([^)]+\)/g;
2137
- function Di(e) {
2138
- return ri(e) ? e.replace(/[A-Z]/g, (e, t) => t === 0 ? e : "." + e.toLowerCase()).toLowerCase() : e;
2229
+ }, Z = gi(), ji = /{([^}]*)}/g, Mi = /(\d+\s+[\+\-\*\/]\s+\d+)/g, Ni = /var\([^)]+\)/g;
2230
+ function Pi(e) {
2231
+ return ui(e) ? e.replace(/[A-Z]/g, (e, t) => t === 0 ? e : "." + e.toLowerCase()).toLowerCase() : e;
2139
2232
  }
2140
- function Oi(e) {
2141
- return $r(e) && e.hasOwnProperty("$value") && e.hasOwnProperty("$type") ? e.$value : e;
2233
+ function Fi(e) {
2234
+ return oi(e) && e.hasOwnProperty("$value") && e.hasOwnProperty("$type") ? e.$value : e;
2142
2235
  }
2143
- function ki(e) {
2236
+ function Ii(e) {
2144
2237
  return e.replaceAll(/ /g, "").replace(/[^\w]/g, "-");
2145
2238
  }
2146
- function Ai(e = "", t = "") {
2147
- return ki(`${ri(e, !1) && ri(t, !1) ? `${e}-` : e}${t}`);
2239
+ function Li(e = "", t = "") {
2240
+ return Ii(`${ui(e, !1) && ui(t, !1) ? `${e}-` : e}${t}`);
2148
2241
  }
2149
- function ji(e = "", t = "") {
2150
- return `--${Ai(e, t)}`;
2242
+ function Ri(e = "", t = "") {
2243
+ return `--${Li(e, t)}`;
2151
2244
  }
2152
- function Mi(e = "") {
2245
+ function zi(e = "") {
2153
2246
  return ((e.match(/{/g) || []).length + (e.match(/}/g) || []).length) % 2 != 0;
2154
2247
  }
2155
- function Ni(e, t = "", n = "", r = [], i) {
2156
- if (ri(e)) {
2248
+ function Bi(e, t = "", n = "", r = [], i) {
2249
+ if (ui(e)) {
2157
2250
  let t = e.trim();
2158
- if (Mi(t)) return;
2159
- if (ai(t, wi)) {
2160
- let e = t.replaceAll(wi, (e) => `var(${ji(n, ci(e.replace(/{|}/g, "").split(".").filter((e) => !r.some((t) => ai(e, t))).join("-")))}${q(i) ? `, ${i}` : ""})`);
2161
- return ai(e.replace(Ei, "0"), Ti) ? `calc(${e})` : e;
2251
+ if (zi(t)) return;
2252
+ if (fi(t, ji)) {
2253
+ let e = t.replaceAll(ji, (e) => `var(${Ri(n, hi(e.replace(/{|}/g, "").split(".").filter((e) => !r.some((t) => fi(e, t))).join("-")))}${q(i) ? `, ${i}` : ""})`);
2254
+ return fi(e.replace(Ni, "0"), Mi) ? `calc(${e})` : e;
2162
2255
  }
2163
2256
  return t;
2164
- } else if (ii(e)) return e;
2257
+ } else if (di(e)) return e;
2165
2258
  }
2166
- function Pi(e, t, n) {
2167
- ri(t, !1) && e.push(`${t}:${n};`);
2259
+ function Vi(e, t, n) {
2260
+ ui(t, !1) && e.push(`${t}:${n};`);
2168
2261
  }
2169
- function Fi(e, t) {
2262
+ function Hi(e, t) {
2170
2263
  return e ? `${e}{${t}}` : "";
2171
2264
  }
2172
- function Ii(e, t) {
2265
+ function Ui(e, t) {
2173
2266
  if (e.indexOf("dt(") === -1) return e;
2174
2267
  function n(e, t) {
2175
2268
  let n = [], i = 0, a = "", o = null, s = 0;
@@ -2177,7 +2270,7 @@ function Ii(e, t) {
2177
2270
  let c = e[i];
2178
2271
  if ((c === "\"" || c === "'" || c === "`") && e[i - 1] !== "\\" && (o = o === c ? null : c), !o && (c === "(" && s++, c === ")" && s--, (c === "," || i === e.length) && s === 0)) {
2179
2272
  let e = a.trim();
2180
- e.startsWith("dt(") ? n.push(Ii(e, t)) : n.push(r(e)), a = "", i++;
2273
+ e.startsWith("dt(") ? n.push(Ui(e, t)) : n.push(r(e)), a = "", i++;
2181
2274
  continue;
2182
2275
  }
2183
2276
  c !== void 0 && (a += c), i++;
@@ -2203,17 +2296,17 @@ function Ii(e, t) {
2203
2296
  }
2204
2297
  return e;
2205
2298
  }
2206
- var Li = (...e) => Ri($.getTheme(), ...e), Ri = (e = {}, t, n, r) => {
2299
+ var Wi = (...e) => Gi($.getTheme(), ...e), Gi = (e = {}, t, n, r) => {
2207
2300
  if (t) {
2208
- let { variable: i, options: a } = $.defaults || {}, { prefix: o, transform: s } = e?.options || a || {}, c = ai(t, wi) ? t : `{${t}}`;
2209
- return r === "value" || Zr(r) && s === "strict" ? $.getTokenValue(t) : Ni(c, void 0, o, [i.excludedKeyRegex], n);
2301
+ let { variable: i, options: a } = $.defaults || {}, { prefix: o, transform: s } = e?.options || a || {}, c = fi(t, ji) ? t : `{${t}}`;
2302
+ return r === "value" || ii(r) && s === "strict" ? $.getTokenValue(t) : Bi(c, void 0, o, [i.excludedKeyRegex], n);
2210
2303
  }
2211
2304
  return "";
2212
2305
  };
2213
- function zi(e, ...t) {
2214
- return e instanceof Array ? Ii(e.reduce((e, n, r) => e + n + (ni(t[r], { dt: Li }) ?? ""), ""), Li) : ni(e, { dt: Li });
2306
+ function Ki(e, ...t) {
2307
+ return e instanceof Array ? Ui(e.reduce((e, n, r) => e + n + (li(t[r], { dt: Wi }) ?? ""), ""), Wi) : li(e, { dt: Wi });
2215
2308
  }
2216
- function Bi(e, t = {}) {
2309
+ function qi(e, t = {}) {
2217
2310
  let n = $.defaults.variable, { prefix: r = n.prefix, selector: i = n.selector, excludedKeyRegex: a = n.excludedKeyRegex } = t, o = [], s = [], c = [{
2218
2311
  node: e,
2219
2312
  path: r
@@ -2221,13 +2314,13 @@ function Bi(e, t = {}) {
2221
2314
  for (; c.length;) {
2222
2315
  let { node: e, path: t } = c.pop();
2223
2316
  for (let n in e) {
2224
- let i = e[n], l = Oi(i), u = ai(n, a) ? Ai(t) : Ai(t, ci(n));
2225
- if ($r(l)) c.push({
2317
+ let i = e[n], l = Fi(i), u = fi(n, a) ? Li(t) : Li(t, hi(n));
2318
+ if (oi(l)) c.push({
2226
2319
  node: l,
2227
2320
  path: u
2228
2321
  });
2229
2322
  else {
2230
- Pi(s, ji(u), Ni(l, u, r, [a]));
2323
+ Vi(s, Ri(u), Bi(l, u, r, [a]));
2231
2324
  let e = u;
2232
2325
  r && e.startsWith(r + "-") && (e = e.slice(r.length + 1)), o.push(e.replace(/-/g, "."));
2233
2326
  }
@@ -2238,7 +2331,7 @@ function Bi(e, t = {}) {
2238
2331
  value: s,
2239
2332
  tokens: o,
2240
2333
  declarations: l,
2241
- css: Fi(i, l)
2334
+ css: Hi(i, l)
2242
2335
  };
2243
2336
  }
2244
2337
  var Q = {
@@ -2298,21 +2391,21 @@ var Q = {
2298
2391
  }
2299
2392
  },
2300
2393
  _toVariables(e, t) {
2301
- return Bi(e, { prefix: t?.prefix });
2394
+ return qi(e, { prefix: t?.prefix });
2302
2395
  },
2303
2396
  getCommon({ name: e = "", theme: t = {}, params: n, set: r, defaults: i }) {
2304
2397
  let { preset: a, options: o } = t, s, c, l, u, d, f, p;
2305
2398
  if (q(a) && o.transform !== "strict") {
2306
- let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = X(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = X(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = X(x, ["dark"]), w = y || {}, { dark: T } = w, E = X(w, ["dark"]), D = q(t) ? this._toVariables({ primitive: t }, o) : {}, O = q(_) ? this._toVariables({ semantic: _ }, o) : {}, ee = q(C) ? this._toVariables({ light: C }, o) : {}, k = q(S) ? this._toVariables({ dark: S }, o) : {}, A = q(b) ? this._toVariables({ semantic: b }, o) : {}, j = q(E) ? this._toVariables({ light: E }, o) : {}, M = q(T) ? this._toVariables({ dark: T }, o) : {}, [N, P] = [D.declarations ?? "", D.tokens], [te, ne] = [O.declarations ?? "", O.tokens || []], [re, ie] = [ee.declarations ?? "", ee.tokens || []], [F, ae] = [k.declarations ?? "", k.tokens || []], [I, oe] = [A.declarations ?? "", A.tokens || []], [se, ce] = [j.declarations ?? "", j.tokens || []], [le, ue] = [M.declarations ?? "", M.tokens || []];
2307
- s = this.transformCSS(e, N, "light", "variable", o, r, i), c = P, l = `${this.transformCSS(e, `${te}${re}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${F}`, "dark", "variable", o, r, i)}`, u = [...new Set([
2399
+ let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = X(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = X(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = X(x, ["dark"]), w = y || {}, { dark: T } = w, E = X(w, ["dark"]), D = q(t) ? this._toVariables({ primitive: t }, o) : {}, O = q(_) ? this._toVariables({ semantic: _ }, o) : {}, k = q(C) ? this._toVariables({ light: C }, o) : {}, A = q(S) ? this._toVariables({ dark: S }, o) : {}, j = q(b) ? this._toVariables({ semantic: b }, o) : {}, M = q(E) ? this._toVariables({ light: E }, o) : {}, N = q(T) ? this._toVariables({ dark: T }, o) : {}, [P, F] = [D.declarations ?? "", D.tokens], [I, ee] = [O.declarations ?? "", O.tokens || []], [te, ne] = [k.declarations ?? "", k.tokens || []], [L, re] = [A.declarations ?? "", A.tokens || []], [R, ie] = [j.declarations ?? "", j.tokens || []], [ae, oe] = [M.declarations ?? "", M.tokens || []], [se, ce] = [N.declarations ?? "", N.tokens || []];
2400
+ s = this.transformCSS(e, P, "light", "variable", o, r, i), c = F, l = `${this.transformCSS(e, `${I}${te}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${L}`, "dark", "variable", o, r, i)}`, u = [...new Set([
2401
+ ...ee,
2308
2402
  ...ne,
2403
+ ...re
2404
+ ])], d = `${this.transformCSS(e, `${R}${ae}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${se}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
2309
2405
  ...ie,
2310
- ...ae
2311
- ])], d = `${this.transformCSS(e, `${I}${se}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${le}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
2312
2406
  ...oe,
2313
- ...ce,
2314
- ...ue
2315
- ])], p = ni(a.css, { dt: Li });
2407
+ ...ce
2408
+ ])], p = li(a.css, { dt: Wi });
2316
2409
  }
2317
2410
  return {
2318
2411
  primitive: {
@@ -2337,12 +2430,12 @@ var Q = {
2337
2430
  "colorScheme",
2338
2431
  "extend",
2339
2432
  "css"
2340
- ]), h = f || {}, { colorScheme: g } = h, _ = X(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = X(v, ["dark"]), x = g || {}, { dark: S } = x, C = X(x, ["dark"]), w = q(m) ? this._toVariables({ [r]: Y(Y({}, m), _) }, n) : {}, T = q(b) ? this._toVariables({ [r]: Y(Y({}, b), C) }, n) : {}, E = q(y) ? this._toVariables({ [r]: Y(Y({}, y), S) }, n) : {}, [D, O] = [w.declarations ?? "", w.tokens || []], [ee, k] = [T.declarations ?? "", T.tokens || []], [A, j] = [E.declarations ?? "", E.tokens || []];
2341
- s = `${this.transformCSS(r, `${D}${ee}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, A, "dark", "variable", n, i, a, o)}`, c = [...new Set([
2433
+ ]), h = f || {}, { colorScheme: g } = h, _ = X(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = X(v, ["dark"]), x = g || {}, { dark: S } = x, C = X(x, ["dark"]), w = q(m) ? this._toVariables({ [r]: Y(Y({}, m), _) }, n) : {}, T = q(b) ? this._toVariables({ [r]: Y(Y({}, b), C) }, n) : {}, E = q(y) ? this._toVariables({ [r]: Y(Y({}, y), S) }, n) : {}, [D, O] = [w.declarations ?? "", w.tokens || []], [k, A] = [T.declarations ?? "", T.tokens || []], [j, M] = [E.declarations ?? "", E.tokens || []];
2434
+ s = `${this.transformCSS(r, `${D}${k}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, j, "dark", "variable", n, i, a, o)}`, c = [...new Set([
2342
2435
  ...O,
2343
- ...k,
2344
- ...j
2345
- ])], l = ni(p, { dt: Li });
2436
+ ...A,
2437
+ ...M
2438
+ ])], l = li(p, { dt: Wi });
2346
2439
  }
2347
2440
  return {
2348
2441
  css: s,
@@ -2380,7 +2473,7 @@ var Q = {
2380
2473
  },
2381
2474
  getLayerOrder(e, t = {}, n, r) {
2382
2475
  let { cssLayer: i } = t;
2383
- return i ? `@layer ${ni(i.order || i.name || "primeui", n)}` : "";
2476
+ return i ? `@layer ${li(i.order || i.name || "primeui", n)}` : "";
2384
2477
  },
2385
2478
  getCommonStyleSheet({ name: e = "", theme: t = {}, params: n, props: r = {}, set: i, defaults: a }) {
2386
2479
  let o = this.getCommon({
@@ -2391,8 +2484,8 @@ var Q = {
2391
2484
  defaults: a
2392
2485
  }), s = Object.entries(r).reduce((e, [t, n]) => e.push(`${t}="${n}"`) && e, []).join(" ");
2393
2486
  return Object.entries(o || {}).reduce((e, [t, n]) => {
2394
- if ($r(n) && Object.hasOwn(n, "css")) {
2395
- let r = si(n.css), i = `${t}-variables`;
2487
+ if (oi(n) && Object.hasOwn(n, "css")) {
2488
+ let r = mi(n.css), i = `${t}-variables`;
2396
2489
  e.push(`<style type="text/css" data-primevue-style-id="${i}" ${s}>${r}</style>`);
2397
2490
  }
2398
2491
  return e;
@@ -2406,7 +2499,7 @@ var Q = {
2406
2499
  set: i,
2407
2500
  defaults: a
2408
2501
  }, s = (e.includes("-directive") ? this.getPresetD(o) : this.getPresetC(o))?.css, c = Object.entries(r).reduce((e, [t, n]) => e.push(`${t}="${n}"`) && e, []).join(" ");
2409
- return s ? `<style type="text/css" data-primevue-style-id="${e}-variables" ${c}>${si(s)}</style>` : "";
2502
+ return s ? `<style type="text/css" data-primevue-style-id="${e}-variables" ${c}>${mi(s)}</style>` : "";
2410
2503
  },
2411
2504
  createTokens(e = {}, t, n = "", r = "", i = {}) {
2412
2505
  let a = function(e, t = {}, n = []) {
@@ -2418,16 +2511,16 @@ var Q = {
2418
2511
  };
2419
2512
  n.push(this.path), t.name = this.path, t.binding ||= {};
2420
2513
  let r = this.value;
2421
- if (typeof this.value == "string" && wi.test(this.value)) {
2422
- let i = this.value.trim().replace(wi, (r) => {
2514
+ if (typeof this.value == "string" && ji.test(this.value)) {
2515
+ let i = this.value.trim().replace(ji, (r) => {
2423
2516
  let i = r.slice(1, -1), a = this.tokens[i];
2424
2517
  if (!a) return console.warn(`Token not found for path: ${i}`), "__UNRESOLVED__";
2425
2518
  let o = a.computed(e, t, n);
2426
2519
  return Array.isArray(o) && o.length === 2 ? `light-dark(${o[0].value},${o[1].value})` : o?.value ?? "__UNRESOLVED__";
2427
2520
  });
2428
- r = Ti.test(i.replace(Ei, "0")) ? `calc(${i})` : i;
2521
+ r = Mi.test(i.replace(Ni, "0")) ? `calc(${i})` : i;
2429
2522
  }
2430
- return Zr(t.binding) && delete t.binding, n.pop(), {
2523
+ return ii(t.binding) && delete t.binding, n.pop(), {
2431
2524
  colorScheme: e,
2432
2525
  path: this.path,
2433
2526
  paths: t,
@@ -2435,8 +2528,8 @@ var Q = {
2435
2528
  };
2436
2529
  }, o = (e, n, r) => {
2437
2530
  Object.entries(e).forEach(([e, s]) => {
2438
- let c = ai(e, t.variable.excludedKeyRegex) ? n : n ? `${n}.${Di(e)}` : Di(e), l = r ? `${r}.${e}` : e;
2439
- $r(s) ? o(s, c, l) : (i[c] || (i[c] = {
2531
+ let c = fi(e, t.variable.excludedKeyRegex) ? n : n ? `${n}.${Pi(e)}` : Pi(e), l = r ? `${r}.${e}` : e;
2532
+ oi(s) ? o(s, c, l) : (i[c] || (i[c] = {
2440
2533
  paths: [],
2441
2534
  computed: (e, t = {}, n = []) => {
2442
2535
  if (i[c].paths.length === 1) return i[c].paths[0].computed(i[c].paths[0].scheme, t.binding, n);
@@ -2458,31 +2551,31 @@ var Q = {
2458
2551
  return o(e, n, r), i;
2459
2552
  },
2460
2553
  getTokenValue(e, t, n) {
2461
- let r = ((e) => e.split(".").filter((e) => !ai(e.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(t), i = t.includes("colorScheme.light") ? "light" : t.includes("colorScheme.dark") ? "dark" : void 0, a = [e[r]?.computed(i)].flat().filter((e) => e);
2554
+ let r = ((e) => e.split(".").filter((e) => !fi(e.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(t), i = t.includes("colorScheme.light") ? "light" : t.includes("colorScheme.dark") ? "dark" : void 0, a = [e[r]?.computed(i)].flat().filter((e) => e);
2462
2555
  return a.length === 1 ? a[0].value : a.reduce((e = {}, t) => {
2463
2556
  let n = t, { colorScheme: r } = n;
2464
2557
  return e[r] = X(n, ["colorScheme"]), e;
2465
2558
  }, void 0);
2466
2559
  },
2467
2560
  getSelectorRule(e, t, n, r) {
2468
- return n === "class" || n === "attr" ? Fi(q(t) ? `${e}${t},${e} ${t}` : e, r) : Fi(e, Fi(t ?? ":root,:host", r));
2561
+ return n === "class" || n === "attr" ? Hi(q(t) ? `${e}${t},${e} ${t}` : e, r) : Hi(e, Hi(t ?? ":root,:host", r));
2469
2562
  },
2470
2563
  transformCSS(e, t, n, r, i = {}, a, o, s) {
2471
2564
  if (q(t)) {
2472
2565
  let { cssLayer: c } = i;
2473
2566
  if (r !== "style") {
2474
2567
  let e = this.getColorSchemeOption(i, o);
2475
- t = n === "dark" ? e.reduce((e, { type: n, selector: r }) => (q(r) && (e += r.includes("[CSS]") ? r.replace("[CSS]", t) : this.getSelectorRule(r, s, n, t)), e), "") : Fi(s ?? ":root,:host", t);
2568
+ t = n === "dark" ? e.reduce((e, { type: n, selector: r }) => (q(r) && (e += r.includes("[CSS]") ? r.replace("[CSS]", t) : this.getSelectorRule(r, s, n, t)), e), "") : Hi(s ?? ":root,:host", t);
2476
2569
  }
2477
2570
  if (c) {
2478
2571
  let n = {
2479
2572
  name: "primeui",
2480
2573
  order: "primeui"
2481
2574
  };
2482
- $r(c) && (n.name = ni(c.name, {
2575
+ oi(c) && (n.name = li(c.name, {
2483
2576
  name: e,
2484
2577
  type: r
2485
- })), q(n.name) && (t = Fi(`@layer ${n.name}`, t), a?.layerNames(n.name));
2578
+ })), q(n.name) && (t = Hi(`@layer ${n.name}`, t), a?.layerNames(n.name));
2486
2579
  }
2487
2580
  return t;
2488
2581
  }
@@ -2508,7 +2601,7 @@ var Q = {
2508
2601
  _tokens: {},
2509
2602
  update(e = {}) {
2510
2603
  let { theme: t } = e;
2511
- t && (this._theme = Ci(Y({}, t), { options: Y(Y({}, this.defaults.options), t.options) }), this._tokens = Q.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
2604
+ t && (this._theme = Ai(Y({}, t), { options: Y(Y({}, this.defaults.options), t.options) }), this._tokens = Q.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
2512
2605
  },
2513
2606
  get theme() {
2514
2607
  return this._theme;
@@ -2532,13 +2625,13 @@ var Q = {
2532
2625
  return this.preset;
2533
2626
  },
2534
2627
  setPreset(e) {
2535
- this._theme = Ci(Y({}, this.theme), { preset: e }), this._tokens = Q.createTokens(e, this.defaults), this.clearLoadedStyleNames(), Z.emit("preset:change", e), Z.emit("theme:change", this.theme);
2628
+ this._theme = Ai(Y({}, this.theme), { preset: e }), this._tokens = Q.createTokens(e, this.defaults), this.clearLoadedStyleNames(), Z.emit("preset:change", e), Z.emit("theme:change", this.theme);
2536
2629
  },
2537
2630
  getOptions() {
2538
2631
  return this.options;
2539
2632
  },
2540
2633
  setOptions(e) {
2541
- this._theme = Ci(Y({}, this.theme), { options: e }), this.clearLoadedStyleNames(), Z.emit("options:change", e), Z.emit("theme:change", this.theme);
2634
+ this._theme = Ai(Y({}, this.theme), { options: e }), this.clearLoadedStyleNames(), Z.emit("options:change", e), Z.emit("theme:change", this.theme);
2542
2635
  },
2543
2636
  getLayerNames() {
2544
2637
  return [...this._layerNames];
@@ -2640,18 +2733,18 @@ var Q = {
2640
2733
  onStyleLoaded(e, { name: t }) {
2641
2734
  this._loadingStyles.size && (this._loadingStyles.delete(t), Z.emit(`theme:${t}:load`, e), !this._loadingStyles.size && Z.emit("theme:load"));
2642
2735
  }
2643
- }, Vi = "\n *,\n ::before,\n ::after {\n box-sizing: border-box;\n }\n\n .p-collapsible-enter-active {\n animation: p-animate-collapsible-expand 0.2s ease-out;\n overflow: hidden;\n }\n\n .p-collapsible-leave-active {\n animation: p-animate-collapsible-collapse 0.2s ease-out;\n overflow: hidden;\n }\n\n @keyframes p-animate-collapsible-expand {\n from {\n grid-template-rows: 0fr;\n }\n to {\n grid-template-rows: 1fr;\n }\n }\n\n @keyframes p-animate-collapsible-collapse {\n from {\n grid-template-rows: 1fr;\n }\n to {\n grid-template-rows: 0fr;\n }\n }\n\n .p-disabled,\n .p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n }\n\n .p-disabled,\n .p-component:disabled {\n opacity: dt('disabled.opacity');\n }\n\n .pi {\n font-size: dt('icon.size');\n }\n\n .p-icon {\n width: dt('icon.size');\n height: dt('icon.size');\n }\n\n .p-overlay-mask {\n background: var(--px-mask-background, dt('mask.background'));\n color: dt('mask.color');\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-overlay-mask-enter-active {\n animation: p-animate-overlay-mask-enter dt('mask.transition.duration') forwards;\n }\n\n .p-overlay-mask-leave-active {\n animation: p-animate-overlay-mask-leave dt('mask.transition.duration') forwards;\n }\n\n @keyframes p-animate-overlay-mask-enter {\n from {\n background: transparent;\n }\n to {\n background: var(--px-mask-background, dt('mask.background'));\n }\n }\n @keyframes p-animate-overlay-mask-leave {\n from {\n background: var(--px-mask-background, dt('mask.background'));\n }\n to {\n background: transparent;\n }\n }\n\n .p-anchored-overlay-enter-active {\n animation: p-animate-anchored-overlay-enter 300ms cubic-bezier(.19,1,.22,1);\n }\n\n .p-anchored-overlay-leave-active {\n animation: p-animate-anchored-overlay-leave 300ms cubic-bezier(.19,1,.22,1);\n }\n\n @keyframes p-animate-anchored-overlay-enter {\n from {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n\n @keyframes p-animate-anchored-overlay-leave {\n to {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n";
2736
+ }, Ji = "\n *,\n ::before,\n ::after {\n box-sizing: border-box;\n }\n\n .p-collapsible-enter-active {\n animation: p-animate-collapsible-expand 0.2s ease-out;\n overflow: hidden;\n }\n\n .p-collapsible-leave-active {\n animation: p-animate-collapsible-collapse 0.2s ease-out;\n overflow: hidden;\n }\n\n @keyframes p-animate-collapsible-expand {\n from {\n grid-template-rows: 0fr;\n }\n to {\n grid-template-rows: 1fr;\n }\n }\n\n @keyframes p-animate-collapsible-collapse {\n from {\n grid-template-rows: 1fr;\n }\n to {\n grid-template-rows: 0fr;\n }\n }\n\n .p-disabled,\n .p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n }\n\n .p-disabled,\n .p-component:disabled {\n opacity: dt('disabled.opacity');\n }\n\n .pi {\n font-size: dt('icon.size');\n }\n\n .p-icon {\n width: dt('icon.size');\n height: dt('icon.size');\n }\n\n .p-overlay-mask {\n background: var(--px-mask-background, dt('mask.background'));\n color: dt('mask.color');\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-overlay-mask-enter-active {\n animation: p-animate-overlay-mask-enter dt('mask.transition.duration') forwards;\n }\n\n .p-overlay-mask-leave-active {\n animation: p-animate-overlay-mask-leave dt('mask.transition.duration') forwards;\n }\n\n @keyframes p-animate-overlay-mask-enter {\n from {\n background: transparent;\n }\n to {\n background: var(--px-mask-background, dt('mask.background'));\n }\n }\n @keyframes p-animate-overlay-mask-leave {\n from {\n background: var(--px-mask-background, dt('mask.background'));\n }\n to {\n background: transparent;\n }\n }\n\n .p-anchored-overlay-enter-active {\n animation: p-animate-anchored-overlay-enter 300ms cubic-bezier(.19,1,.22,1);\n }\n\n .p-anchored-overlay-leave-active {\n animation: p-animate-anchored-overlay-leave 300ms cubic-bezier(.19,1,.22,1);\n }\n\n @keyframes p-animate-anchored-overlay-enter {\n from {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n\n @keyframes p-animate-anchored-overlay-leave {\n to {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n";
2644
2737
  //#endregion
2645
2738
  //#region ../node_modules/.pnpm/@primevue+core@4.5.4_vue@3.5.32_typescript@5.9.3_/node_modules/@primevue/core/usestyle/index.mjs
2646
- function Hi(e) {
2739
+ function Yi(e) {
2647
2740
  "@babel/helpers - typeof";
2648
- return Hi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2741
+ return Yi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2649
2742
  return typeof e;
2650
2743
  } : function(e) {
2651
2744
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2652
- }, Hi(e);
2745
+ }, Yi(e);
2653
2746
  }
2654
- function Ui(e, t) {
2747
+ function Xi(e, t) {
2655
2748
  var n = Object.keys(e);
2656
2749
  if (Object.getOwnPropertySymbols) {
2657
2750
  var r = Object.getOwnPropertySymbols(e);
@@ -2661,103 +2754,103 @@ function Ui(e, t) {
2661
2754
  }
2662
2755
  return n;
2663
2756
  }
2664
- function Wi(e) {
2757
+ function Zi(e) {
2665
2758
  for (var t = 1; t < arguments.length; t++) {
2666
2759
  var n = arguments[t] == null ? {} : arguments[t];
2667
- t % 2 ? Ui(Object(n), !0).forEach(function(t) {
2668
- Gi(e, t, n[t]);
2669
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ui(Object(n)).forEach(function(t) {
2760
+ t % 2 ? Xi(Object(n), !0).forEach(function(t) {
2761
+ Qi(e, t, n[t]);
2762
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Xi(Object(n)).forEach(function(t) {
2670
2763
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
2671
2764
  });
2672
2765
  }
2673
2766
  return e;
2674
2767
  }
2675
- function Gi(e, t, n) {
2676
- return (t = Ki(t)) in e ? Object.defineProperty(e, t, {
2768
+ function Qi(e, t, n) {
2769
+ return (t = $i(t)) in e ? Object.defineProperty(e, t, {
2677
2770
  value: n,
2678
2771
  enumerable: !0,
2679
2772
  configurable: !0,
2680
2773
  writable: !0
2681
2774
  }) : e[t] = n, e;
2682
2775
  }
2683
- function Ki(e) {
2684
- var t = qi(e, "string");
2685
- return Hi(t) == "symbol" ? t : t + "";
2776
+ function $i(e) {
2777
+ var t = ea(e, "string");
2778
+ return Yi(t) == "symbol" ? t : t + "";
2686
2779
  }
2687
- function qi(e, t) {
2688
- if (Hi(e) != "object" || !e) return e;
2780
+ function ea(e, t) {
2781
+ if (Yi(e) != "object" || !e) return e;
2689
2782
  var n = e[Symbol.toPrimitive];
2690
2783
  if (n !== void 0) {
2691
2784
  var r = n.call(e, t);
2692
- if (Hi(r) != "object") return r;
2785
+ if (Yi(r) != "object") return r;
2693
2786
  throw TypeError("@@toPrimitive must return a primitive value.");
2694
2787
  }
2695
2788
  return (t === "string" ? String : Number)(e);
2696
2789
  }
2697
- function Ji(e) {
2790
+ function ta(e) {
2698
2791
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
2699
2792
  p() && p().components ? w(e) : t ? e() : v(e);
2700
2793
  }
2701
- var Yi = 0;
2702
- function Xi(e) {
2703
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = k(!1), r = k(e), i = k(null), a = mi() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? `style_${++Yi}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, E = t.onLoad, D = E === void 0 ? void 0 : E, O = t.props, A = O === void 0 ? {} : O, j = function() {}, M = function(t) {
2794
+ var na = 0;
2795
+ function ra(e) {
2796
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = A(!1), r = A(e), i = A(null), a = xi() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? `style_${++na}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, E = t.onLoad, D = E === void 0 ? void 0 : E, O = t.props, j = O === void 0 ? {} : O, M = function() {}, N = function(t) {
2704
2797
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2705
2798
  if (s) {
2706
- var o = Wi(Wi({}, A), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
2707
- i.value = s.querySelector(`style[data-primevue-style-id="${c}"]`) || s.getElementById(l) || s.createElement("style"), i.value.isConnected || (r.value = t || e, pi(i.value, {
2799
+ var o = Zi(Zi({}, j), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
2800
+ i.value = s.querySelector(`style[data-primevue-style-id="${c}"]`) || s.getElementById(l) || s.createElement("style"), i.value.isConnected || (r.value = t || e, bi(i.value, {
2708
2801
  type: "text/css",
2709
2802
  id: l,
2710
2803
  media: _,
2711
2804
  nonce: u
2712
- }), x ? s.head.prepend(i.value) : s.head.appendChild(i.value), hi(i.value, "data-primevue-style-id", c), pi(i.value, o), i.value.onload = function(e) {
2805
+ }), x ? s.head.prepend(i.value) : s.head.appendChild(i.value), Si(i.value, "data-primevue-style-id", c), bi(i.value, o), i.value.onload = function(e) {
2713
2806
  return D?.(e, { name: c });
2714
- }, C?.(c)), !n.value && (j = F(r, function(e) {
2807
+ }, C?.(c)), !n.value && (M = L(r, function(e) {
2715
2808
  i.value.textContent = e, T?.(c);
2716
2809
  }, { immediate: !0 }), n.value = !0);
2717
2810
  }
2718
2811
  };
2719
- return l && !d && Ji(M), {
2812
+ return l && !d && ta(N), {
2720
2813
  id: h,
2721
2814
  name: p,
2722
2815
  el: i,
2723
2816
  css: r,
2724
2817
  unload: function() {
2725
- !s || !n.value || (j(), di(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
2818
+ !s || !n.value || (M(), vi(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
2726
2819
  },
2727
- load: M,
2728
- isLoaded: ee(n)
2820
+ load: N,
2821
+ isLoaded: k(n)
2729
2822
  };
2730
2823
  }
2731
2824
  //#endregion
2732
2825
  //#region ../node_modules/.pnpm/@primevue+core@4.5.4_vue@3.5.32_typescript@5.9.3_/node_modules/@primevue/core/base/style/index.mjs
2733
- function Zi(e) {
2826
+ function ia(e) {
2734
2827
  "@babel/helpers - typeof";
2735
- return Zi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2828
+ return ia = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2736
2829
  return typeof e;
2737
2830
  } : function(e) {
2738
2831
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2739
- }, Zi(e);
2832
+ }, ia(e);
2740
2833
  }
2741
- var Qi, $i, ea, ta;
2742
- function na(e, t) {
2743
- return sa(e) || oa(e, t) || ia(e, t) || ra();
2834
+ var aa, oa, sa, ca;
2835
+ function la(e, t) {
2836
+ return ma(e) || pa(e, t) || da(e, t) || ua();
2744
2837
  }
2745
- function ra() {
2838
+ function ua() {
2746
2839
  throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2747
2840
  }
2748
- function ia(e, t) {
2841
+ function da(e, t) {
2749
2842
  if (e) {
2750
- if (typeof e == "string") return aa(e, t);
2843
+ if (typeof e == "string") return fa(e, t);
2751
2844
  var n = {}.toString.call(e).slice(8, -1);
2752
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? aa(e, t) : void 0;
2845
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? fa(e, t) : void 0;
2753
2846
  }
2754
2847
  }
2755
- function aa(e, t) {
2848
+ function fa(e, t) {
2756
2849
  (t == null || t > e.length) && (t = e.length);
2757
2850
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
2758
2851
  return r;
2759
2852
  }
2760
- function oa(e, t) {
2853
+ function pa(e, t) {
2761
2854
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2762
2855
  if (n != null) {
2763
2856
  var r, i, a, o, s = [], c = !0, l = !1;
@@ -2775,10 +2868,10 @@ function oa(e, t) {
2775
2868
  return s;
2776
2869
  }
2777
2870
  }
2778
- function sa(e) {
2871
+ function ma(e) {
2779
2872
  if (Array.isArray(e)) return e;
2780
2873
  }
2781
- function ca(e, t) {
2874
+ function ha(e, t) {
2782
2875
  var n = Object.keys(e);
2783
2876
  if (Object.getOwnPropertySymbols) {
2784
2877
  var r = Object.getOwnPropertySymbols(e);
@@ -2788,43 +2881,43 @@ function ca(e, t) {
2788
2881
  }
2789
2882
  return n;
2790
2883
  }
2791
- function la(e) {
2884
+ function ga(e) {
2792
2885
  for (var t = 1; t < arguments.length; t++) {
2793
2886
  var n = arguments[t] == null ? {} : arguments[t];
2794
- t % 2 ? ca(Object(n), !0).forEach(function(t) {
2795
- ua(e, t, n[t]);
2796
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ca(Object(n)).forEach(function(t) {
2887
+ t % 2 ? ha(Object(n), !0).forEach(function(t) {
2888
+ _a(e, t, n[t]);
2889
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ha(Object(n)).forEach(function(t) {
2797
2890
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
2798
2891
  });
2799
2892
  }
2800
2893
  return e;
2801
2894
  }
2802
- function ua(e, t, n) {
2803
- return (t = da(t)) in e ? Object.defineProperty(e, t, {
2895
+ function _a(e, t, n) {
2896
+ return (t = va(t)) in e ? Object.defineProperty(e, t, {
2804
2897
  value: n,
2805
2898
  enumerable: !0,
2806
2899
  configurable: !0,
2807
2900
  writable: !0
2808
2901
  }) : e[t] = n, e;
2809
2902
  }
2810
- function da(e) {
2811
- var t = fa(e, "string");
2812
- return Zi(t) == "symbol" ? t : t + "";
2903
+ function va(e) {
2904
+ var t = ya(e, "string");
2905
+ return ia(t) == "symbol" ? t : t + "";
2813
2906
  }
2814
- function fa(e, t) {
2815
- if (Zi(e) != "object" || !e) return e;
2907
+ function ya(e, t) {
2908
+ if (ia(e) != "object" || !e) return e;
2816
2909
  var n = e[Symbol.toPrimitive];
2817
2910
  if (n !== void 0) {
2818
2911
  var r = n.call(e, t);
2819
- if (Zi(r) != "object") return r;
2912
+ if (ia(r) != "object") return r;
2820
2913
  throw TypeError("@@toPrimitive must return a primitive value.");
2821
2914
  }
2822
2915
  return (t === "string" ? String : Number)(e);
2823
2916
  }
2824
- function pa(e, t) {
2917
+ function ba(e, t) {
2825
2918
  return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
2826
2919
  }
2827
- var ma = {
2920
+ var xa = {
2828
2921
  name: "base",
2829
2922
  css: function(e) {
2830
2923
  var t = e.dt;
@@ -2849,14 +2942,14 @@ var ma = {
2849
2942
  }
2850
2943
  `;
2851
2944
  },
2852
- style: Vi,
2945
+ style: Ji,
2853
2946
  classes: {},
2854
2947
  inlineStyles: {},
2855
2948
  load: function(e) {
2856
2949
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = (arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(e) {
2857
2950
  return e;
2858
- })(zi(Qi ||= pa(["", ""]), e));
2859
- return q(n) ? Xi(si(n), la({ name: this.name }, t)) : {};
2951
+ })(Ki(aa ||= ba(["", ""]), e));
2952
+ return q(n) ? ra(mi(n), ga({ name: this.name }, t)) : {};
2860
2953
  },
2861
2954
  loadCSS: function() {
2862
2955
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -2866,7 +2959,7 @@ var ma = {
2866
2959
  var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
2867
2960
  return this.load(this.style, t, function() {
2868
2961
  var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
2869
- return $.transformCSS(t.name || e.name, `${r}${zi($i ||= pa(["", ""]), n)}`);
2962
+ return $.transformCSS(t.name || e.name, `${r}${Ki(oa ||= ba(["", ""]), n)}`);
2870
2963
  });
2871
2964
  },
2872
2965
  getCommonTheme: function(e) {
@@ -2887,12 +2980,12 @@ var ma = {
2887
2980
  getStyleSheet: function() {
2888
2981
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2889
2982
  if (this.css) {
2890
- var n = ni(this.css, { dt: Li }) || "", r = si(zi(ea ||= pa([
2983
+ var n = li(this.css, { dt: Wi }) || "", r = mi(Ki(sa ||= ba([
2891
2984
  "",
2892
2985
  "",
2893
2986
  ""
2894
2987
  ]), n, e)), i = Object.entries(t).reduce(function(e, t) {
2895
- var n = na(t, 2), r = n[0], i = n[1];
2988
+ var n = la(t, 2), r = n[0], i = n[1];
2896
2989
  return e.push(`${r}="${i}"`) && e;
2897
2990
  }, []).join(" ");
2898
2991
  return q(r) ? `<style type="text/css" data-primevue-style-id="${this.name}" ${i}>${r}</style>` : "";
@@ -2906,8 +2999,8 @@ var ma = {
2906
2999
  getThemeStyleSheet: function(e) {
2907
3000
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [$.getStyleSheet(this.name, e, t)];
2908
3001
  if (this.style) {
2909
- var r = this.name === "base" ? "global-style" : `${this.name}-style`, i = zi(ta ||= pa(["", ""]), ni(this.style, { dt: Li })), a = si($.transformCSS(r, i)), o = Object.entries(t).reduce(function(e, t) {
2910
- var n = na(t, 2), r = n[0], i = n[1];
3002
+ var r = this.name === "base" ? "global-style" : `${this.name}-style`, i = Ki(ca ||= ba(["", ""]), li(this.style, { dt: Wi })), a = mi($.transformCSS(r, i)), o = Object.entries(t).reduce(function(e, t) {
3003
+ var n = la(t, 2), r = n[0], i = n[1];
2911
3004
  return e.push(`${r}="${i}"`) && e;
2912
3005
  }, []).join(" ");
2913
3006
  q(a) && n.push(`<style type="text/css" data-primevue-style-id="${r}" ${o}>${a}</style>`);
@@ -2915,27 +3008,27 @@ var ma = {
2915
3008
  return n.join("");
2916
3009
  },
2917
3010
  extend: function(e) {
2918
- return la(la({}, this), {}, {
3011
+ return ga(ga({}, this), {}, {
2919
3012
  css: void 0,
2920
3013
  style: void 0
2921
3014
  }, e);
2922
3015
  }
2923
3016
  };
2924
- ma.extend({ name: "common" }), ma.extend({ name: "common" });
3017
+ xa.extend({ name: "common" }), xa.extend({ name: "common" });
2925
3018
  //#endregion
2926
3019
  //#region ../node_modules/.pnpm/@primevue+core@4.5.4_vue@3.5.32_typescript@5.9.3_/node_modules/@primevue/core/service/index.mjs
2927
- var ha = li();
3020
+ var Sa = gi();
2928
3021
  //#endregion
2929
3022
  //#region ../node_modules/.pnpm/@primevue+core@4.5.4_vue@3.5.32_typescript@5.9.3_/node_modules/@primevue/core/config/index.mjs
2930
- function ga(e) {
3023
+ function Ca(e) {
2931
3024
  "@babel/helpers - typeof";
2932
- return ga = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
3025
+ return Ca = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2933
3026
  return typeof e;
2934
3027
  } : function(e) {
2935
3028
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2936
- }, ga(e);
3029
+ }, Ca(e);
2937
3030
  }
2938
- function _a(e, t) {
3031
+ function wa(e, t) {
2939
3032
  var n = Object.keys(e);
2940
3033
  if (Object.getOwnPropertySymbols) {
2941
3034
  var r = Object.getOwnPropertySymbols(e);
@@ -2945,40 +3038,40 @@ function _a(e, t) {
2945
3038
  }
2946
3039
  return n;
2947
3040
  }
2948
- function va(e) {
3041
+ function Ta(e) {
2949
3042
  for (var t = 1; t < arguments.length; t++) {
2950
3043
  var n = arguments[t] == null ? {} : arguments[t];
2951
- t % 2 ? _a(Object(n), !0).forEach(function(t) {
2952
- ya(e, t, n[t]);
2953
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _a(Object(n)).forEach(function(t) {
3044
+ t % 2 ? wa(Object(n), !0).forEach(function(t) {
3045
+ Ea(e, t, n[t]);
3046
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wa(Object(n)).forEach(function(t) {
2954
3047
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
2955
3048
  });
2956
3049
  }
2957
3050
  return e;
2958
3051
  }
2959
- function ya(e, t, n) {
2960
- return (t = ba(t)) in e ? Object.defineProperty(e, t, {
3052
+ function Ea(e, t, n) {
3053
+ return (t = Da(t)) in e ? Object.defineProperty(e, t, {
2961
3054
  value: n,
2962
3055
  enumerable: !0,
2963
3056
  configurable: !0,
2964
3057
  writable: !0
2965
3058
  }) : e[t] = n, e;
2966
3059
  }
2967
- function ba(e) {
2968
- var t = xa(e, "string");
2969
- return ga(t) == "symbol" ? t : t + "";
3060
+ function Da(e) {
3061
+ var t = Oa(e, "string");
3062
+ return Ca(t) == "symbol" ? t : t + "";
2970
3063
  }
2971
- function xa(e, t) {
2972
- if (ga(e) != "object" || !e) return e;
3064
+ function Oa(e, t) {
3065
+ if (Ca(e) != "object" || !e) return e;
2973
3066
  var n = e[Symbol.toPrimitive];
2974
3067
  if (n !== void 0) {
2975
3068
  var r = n.call(e, t);
2976
- if (ga(r) != "object") return r;
3069
+ if (Ca(r) != "object") return r;
2977
3070
  throw TypeError("@@toPrimitive must return a primitive value.");
2978
3071
  }
2979
3072
  return (t === "string" ? String : Number)(e);
2980
3073
  }
2981
- var Sa = {
3074
+ var ka = {
2982
3075
  ripple: !1,
2983
3076
  inputStyle: null,
2984
3077
  inputVariant: null,
@@ -3201,59 +3294,59 @@ var Sa = {
3201
3294
  mergeProps: !1
3202
3295
  },
3203
3296
  csp: { nonce: void 0 }
3204
- }, Ca = Symbol();
3205
- function wa(e, t) {
3297
+ }, Aa = Symbol();
3298
+ function ja(e, t) {
3206
3299
  var n = { config: O(t) };
3207
- return e.config.globalProperties.$primevue = n, e.provide(Ca, n), Ea(), Da(e, n), n;
3300
+ return e.config.globalProperties.$primevue = n, e.provide(Aa, n), Na(), Pa(e, n), n;
3208
3301
  }
3209
- var Ta = [];
3210
- function Ea() {
3211
- Z.clear(), Ta.forEach(function(e) {
3302
+ var Ma = [];
3303
+ function Na() {
3304
+ Z.clear(), Ma.forEach(function(e) {
3212
3305
  return e?.();
3213
- }), Ta = [];
3306
+ }), Ma = [];
3214
3307
  }
3215
- function Da(e, t) {
3216
- var n = k(!1), r = function() {
3308
+ function Pa(e, t) {
3309
+ var n = A(!1), r = function() {
3217
3310
  if (t.config?.theme !== "none" && !$.isStyleNameLoaded("common")) {
3218
- var e, n = ma.getCommonTheme?.call(ma) || {}, r = n.primitive, i = n.semantic, a = n.global, o = n.style, s = { nonce: (e = t.config) == null || (e = e.csp) == null ? void 0 : e.nonce };
3219
- ma.load(r?.css, va({ name: "primitive-variables" }, s)), ma.load(i?.css, va({ name: "semantic-variables" }, s)), ma.load(a?.css, va({ name: "global-variables" }, s)), ma.loadStyle(va({ name: "global-style" }, s), o), $.setLoadedStyleName("common");
3311
+ var e, n = xa.getCommonTheme?.call(xa) || {}, r = n.primitive, i = n.semantic, a = n.global, o = n.style, s = { nonce: (e = t.config) == null || (e = e.csp) == null ? void 0 : e.nonce };
3312
+ xa.load(r?.css, Ta({ name: "primitive-variables" }, s)), xa.load(i?.css, Ta({ name: "semantic-variables" }, s)), xa.load(a?.css, Ta({ name: "global-variables" }, s)), xa.loadStyle(Ta({ name: "global-style" }, s), o), $.setLoadedStyleName("common");
3220
3313
  }
3221
3314
  };
3222
3315
  Z.on("theme:change", function(t) {
3223
3316
  n.value ||= (e.config.globalProperties.$primevue.config.theme = t, !0);
3224
3317
  });
3225
- var i = F(t.config, function(e, t) {
3226
- ha.emit("config:change", {
3318
+ var i = L(t.config, function(e, t) {
3319
+ Sa.emit("config:change", {
3227
3320
  newValue: e,
3228
3321
  oldValue: t
3229
3322
  });
3230
3323
  }, {
3231
3324
  immediate: !0,
3232
3325
  deep: !0
3233
- }), a = F(function() {
3326
+ }), a = L(function() {
3234
3327
  return t.config.ripple;
3235
3328
  }, function(e, t) {
3236
- ha.emit("config:ripple:change", {
3329
+ Sa.emit("config:ripple:change", {
3237
3330
  newValue: e,
3238
3331
  oldValue: t
3239
3332
  });
3240
3333
  }, {
3241
3334
  immediate: !0,
3242
3335
  deep: !0
3243
- }), o = F(function() {
3336
+ }), o = L(function() {
3244
3337
  return t.config.theme;
3245
3338
  }, function(e, i) {
3246
- n.value || $.setTheme(e), t.config.unstyled || r(), n.value = !1, ha.emit("config:theme:change", {
3339
+ n.value || $.setTheme(e), t.config.unstyled || r(), n.value = !1, Sa.emit("config:theme:change", {
3247
3340
  newValue: e,
3248
3341
  oldValue: i
3249
3342
  });
3250
3343
  }, {
3251
3344
  immediate: !0,
3252
3345
  deep: !1
3253
- }), s = F(function() {
3346
+ }), s = L(function() {
3254
3347
  return t.config.unstyled;
3255
3348
  }, function(e, n) {
3256
- !e && t.config.theme && r(), ha.emit("config:unstyled:change", {
3349
+ !e && t.config.theme && r(), Sa.emit("config:unstyled:change", {
3257
3350
  newValue: e,
3258
3351
  oldValue: n
3259
3352
  });
@@ -3261,11 +3354,11 @@ function Da(e, t) {
3261
3354
  immediate: !0,
3262
3355
  deep: !0
3263
3356
  });
3264
- Ta.push(i), Ta.push(a), Ta.push(o), Ta.push(s);
3357
+ Ma.push(i), Ma.push(a), Ma.push(o), Ma.push(s);
3265
3358
  }
3266
- var Oa = { install: function(e, t) {
3267
- wa(e, oi(Sa, t));
3268
- } }, ka = {
3359
+ var Fa = { install: function(e, t) {
3360
+ ja(e, pi(ka, t));
3361
+ } }, Ia = {
3269
3362
  root: { transitionDuration: "{transition.duration}" },
3270
3363
  panel: {
3271
3364
  borderWidth: "0 0 1px 0",
@@ -3314,7 +3407,7 @@ var Oa = { install: function(e, t) {
3314
3407
  color: "{text.color}",
3315
3408
  padding: "0 1.125rem 1.125rem 1.125rem"
3316
3409
  }
3317
- }, Aa = {
3410
+ }, La = {
3318
3411
  root: {
3319
3412
  background: "{form.field.background}",
3320
3413
  disabledBackground: "{form.field.disabled.background}",
@@ -3418,7 +3511,7 @@ var Oa = { install: function(e, t) {
3418
3511
  }
3419
3512
  }
3420
3513
  }
3421
- }, ja = {
3514
+ }, Ra = {
3422
3515
  root: {
3423
3516
  width: "2rem",
3424
3517
  height: "2rem",
@@ -3446,7 +3539,7 @@ var Oa = { install: function(e, t) {
3446
3539
  icon: { size: "2rem" },
3447
3540
  group: { offset: "-1.5rem" }
3448
3541
  }
3449
- }, Ma = {
3542
+ }, za = {
3450
3543
  root: {
3451
3544
  borderRadius: "{border.radius.md}",
3452
3545
  padding: "0 0.5rem",
@@ -3533,7 +3626,7 @@ var Oa = { install: function(e, t) {
3533
3626
  }
3534
3627
  }
3535
3628
  }
3536
- }, Na = {
3629
+ }, Ba = {
3537
3630
  primitive: {
3538
3631
  borderRadius: {
3539
3632
  none: "0",
@@ -4179,7 +4272,7 @@ var Oa = { install: function(e, t) {
4179
4272
  }
4180
4273
  }
4181
4274
  }
4182
- }, Pa = { root: { borderRadius: "{content.border.radius}" } }, Fa = {
4275
+ }, Va = { root: { borderRadius: "{content.border.radius}" } }, Ha = {
4183
4276
  root: {
4184
4277
  padding: "1rem",
4185
4278
  background: "{content.background}",
@@ -4204,7 +4297,7 @@ var Oa = { install: function(e, t) {
4204
4297
  }
4205
4298
  },
4206
4299
  separator: { color: "{navigation.item.icon.color}" }
4207
- }, Ia = {
4300
+ }, Ua = {
4208
4301
  root: {
4209
4302
  borderRadius: "{form.field.border.radius}",
4210
4303
  roundedBorderRadius: "2rem",
@@ -4700,7 +4793,7 @@ var Oa = { install: function(e, t) {
4700
4793
  }
4701
4794
  }
4702
4795
  }
4703
- }, La = {
4796
+ }, Wa = {
4704
4797
  root: {
4705
4798
  background: "{content.background}",
4706
4799
  borderRadius: "{border.radius.xl}",
@@ -4717,7 +4810,7 @@ var Oa = { install: function(e, t) {
4717
4810
  fontWeight: "500"
4718
4811
  },
4719
4812
  subtitle: { color: "{text.muted.color}" }
4720
- }, Ra = {
4813
+ }, Ga = {
4721
4814
  root: { transitionDuration: "{transition.duration}" },
4722
4815
  content: { gap: "0.25rem" },
4723
4816
  indicatorList: {
@@ -4748,7 +4841,7 @@ var Oa = { install: function(e, t) {
4748
4841
  activeBackground: "{primary.color}"
4749
4842
  } }
4750
4843
  }
4751
- }, za = {
4844
+ }, Ka = {
4752
4845
  root: {
4753
4846
  background: "{form.field.background}",
4754
4847
  disabledBackground: "{form.field.disabled.background}",
@@ -4819,7 +4912,7 @@ var Oa = { install: function(e, t) {
4819
4912
  }
4820
4913
  },
4821
4914
  clearIcon: { color: "{form.field.icon.color}" }
4822
- }, Ba = {
4915
+ }, qa = {
4823
4916
  root: {
4824
4917
  borderRadius: "{border.radius.sm}",
4825
4918
  width: "1.25rem",
@@ -4864,7 +4957,7 @@ var Oa = { install: function(e, t) {
4864
4957
  sm: { size: "0.75rem" },
4865
4958
  lg: { size: "1rem" }
4866
4959
  }
4867
- }, Va = {
4960
+ }, Ja = {
4868
4961
  root: {
4869
4962
  borderRadius: "16px",
4870
4963
  paddingX: "0.75rem",
@@ -4905,7 +4998,7 @@ var Oa = { install: function(e, t) {
4905
4998
  removeIcon: { color: "{surface.0}" }
4906
4999
  }
4907
5000
  }
4908
- }, Ha = {
5001
+ }, Ya = {
4909
5002
  root: { transitionDuration: "{transition.duration}" },
4910
5003
  preview: {
4911
5004
  width: "1.5rem",
@@ -4939,13 +5032,13 @@ var Oa = { install: function(e, t) {
4939
5032
  handle: { color: "{surface.0}" }
4940
5033
  }
4941
5034
  }
4942
- }, Ua = {
5035
+ }, Xa = {
4943
5036
  icon: {
4944
5037
  size: "2rem",
4945
5038
  color: "{overlay.modal.color}"
4946
5039
  },
4947
5040
  content: { gap: "1rem" }
4948
- }, Wa = {
5041
+ }, Za = {
4949
5042
  root: {
4950
5043
  background: "{overlay.popover.background}",
4951
5044
  borderColor: "{overlay.popover.border.color}",
@@ -4967,7 +5060,7 @@ var Oa = { install: function(e, t) {
4967
5060
  gap: "0.5rem",
4968
5061
  padding: "0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"
4969
5062
  }
4970
- }, Ga = {
5063
+ }, Qa = {
4971
5064
  root: {
4972
5065
  background: "{content.background}",
4973
5066
  borderColor: "{content.border.color}",
@@ -5003,7 +5096,7 @@ var Oa = { install: function(e, t) {
5003
5096
  activeColor: "{navigation.submenu.icon.active.color}"
5004
5097
  },
5005
5098
  separator: { borderColor: "{content.border.color}" }
5006
- }, Ka = {
5099
+ }, $a = {
5007
5100
  root: { transitionDuration: "{transition.duration}" },
5008
5101
  header: {
5009
5102
  background: "{content.background}",
@@ -5158,7 +5251,7 @@ var Oa = { install: function(e, t) {
5158
5251
  bodyCell: { selectedBorderColor: "{primary.900}" }
5159
5252
  }
5160
5253
  }
5161
- }, qa = {
5254
+ }, eo = {
5162
5255
  root: {
5163
5256
  borderColor: "transparent",
5164
5257
  borderWidth: "0",
@@ -5197,7 +5290,7 @@ var Oa = { install: function(e, t) {
5197
5290
  borderColor: "{content.border.color}",
5198
5291
  borderWidth: "1px 0 0 0"
5199
5292
  }
5200
- }, Ja = {
5293
+ }, to = {
5201
5294
  root: { transitionDuration: "{transition.duration}" },
5202
5295
  panel: {
5203
5296
  background: "{content.background}",
@@ -5328,7 +5421,7 @@ var Oa = { install: function(e, t) {
5328
5421
  }
5329
5422
  }
5330
5423
  }
5331
- }, Ya = {
5424
+ }, no = {
5332
5425
  root: {
5333
5426
  background: "{overlay.modal.background}",
5334
5427
  borderColor: "{overlay.modal.border.color}",
@@ -5349,7 +5442,7 @@ var Oa = { install: function(e, t) {
5349
5442
  padding: "0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",
5350
5443
  gap: "0.5rem"
5351
5444
  }
5352
- }, Xa = {
5445
+ }, ro = {
5353
5446
  root: { borderColor: "{content.border.color}" },
5354
5447
  content: {
5355
5448
  background: "{content.background}",
@@ -5365,7 +5458,7 @@ var Oa = { install: function(e, t) {
5365
5458
  padding: "0.5rem 0",
5366
5459
  content: { padding: "0.5rem 0" }
5367
5460
  }
5368
- }, Za = {
5461
+ }, io = {
5369
5462
  root: {
5370
5463
  background: "rgba(255, 255, 255, 0.1)",
5371
5464
  borderColor: "rgba(255, 255, 255, 0.2)",
@@ -5384,7 +5477,7 @@ var Oa = { install: function(e, t) {
5384
5477
  shadow: "{focus.ring.shadow}"
5385
5478
  }
5386
5479
  }
5387
- }, Qa = {
5480
+ }, ao = {
5388
5481
  root: {
5389
5482
  background: "{overlay.modal.background}",
5390
5483
  borderColor: "{overlay.modal.border.color}",
@@ -5398,7 +5491,7 @@ var Oa = { install: function(e, t) {
5398
5491
  },
5399
5492
  content: { padding: "0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}" },
5400
5493
  footer: { padding: "{overlay.modal.padding}" }
5401
- }, $a = {
5494
+ }, oo = {
5402
5495
  toolbar: {
5403
5496
  background: "{content.background}",
5404
5497
  borderColor: "{content.border.color}",
@@ -5430,7 +5523,7 @@ var Oa = { install: function(e, t) {
5430
5523
  color: "{content.color}",
5431
5524
  borderRadius: "{content.border.radius}"
5432
5525
  }
5433
- }, eo = {
5526
+ }, so = {
5434
5527
  root: {
5435
5528
  background: "{content.background}",
5436
5529
  borderColor: "{content.border.color}",
@@ -5463,7 +5556,7 @@ var Oa = { install: function(e, t) {
5463
5556
  hoverColor: "{text.hover.muted.color}"
5464
5557
  },
5465
5558
  content: { padding: "0" }
5466
- }, to = {
5559
+ }, co = {
5467
5560
  root: {
5468
5561
  background: "{content.background}",
5469
5562
  borderColor: "{content.border.color}",
@@ -5494,7 +5587,7 @@ var Oa = { install: function(e, t) {
5494
5587
  fileList: { gap: "0.5rem" },
5495
5588
  progressbar: { height: "0.25rem" },
5496
5589
  basic: { gap: "0.5rem" }
5497
- }, no = {
5590
+ }, lo = {
5498
5591
  root: {
5499
5592
  color: "{form.field.float.label.color}",
5500
5593
  focusColor: "{form.field.float.label.focus.color}",
@@ -5524,7 +5617,7 @@ var Oa = { install: function(e, t) {
5524
5617
  padding: "0 0.125rem"
5525
5618
  }
5526
5619
  }
5527
- }, ro = {
5620
+ }, uo = {
5528
5621
  root: {
5529
5622
  borderWidth: "1px",
5530
5623
  borderColor: "{content.border.color}",
@@ -5635,7 +5728,7 @@ var Oa = { install: function(e, t) {
5635
5728
  }
5636
5729
  }
5637
5730
  }
5638
- }, io = { icon: { color: "{form.field.icon.color}" } }, ao = {
5731
+ }, fo = { icon: { color: "{form.field.icon.color}" } }, po = {
5639
5732
  root: {
5640
5733
  color: "{form.field.float.label.color}",
5641
5734
  focusColor: "{form.field.float.label.focus.color}",
@@ -5650,7 +5743,7 @@ var Oa = { install: function(e, t) {
5650
5743
  paddingTop: "1.5rem",
5651
5744
  paddingBottom: "{form.field.padding.y}"
5652
5745
  }
5653
- }, oo = {
5746
+ }, mo = {
5654
5747
  root: { transitionDuration: "{transition.duration}" },
5655
5748
  preview: {
5656
5749
  icon: { size: "1.5rem" },
@@ -5689,7 +5782,7 @@ var Oa = { install: function(e, t) {
5689
5782
  shadow: "{focus.ring.shadow}"
5690
5783
  }
5691
5784
  }
5692
- }, so = { handle: {
5785
+ }, ho = { handle: {
5693
5786
  size: "15px",
5694
5787
  hoverSize: "30px",
5695
5788
  background: "rgba(255,255,255,0.3)",
@@ -5706,7 +5799,7 @@ var Oa = { install: function(e, t) {
5706
5799
  offset: "{focus.ring.offset}",
5707
5800
  shadow: "{focus.ring.shadow}"
5708
5801
  }
5709
- } }, co = {
5802
+ } }, go = {
5710
5803
  root: {
5711
5804
  padding: "{form.field.padding.y} {form.field.padding.x}",
5712
5805
  borderRadius: "{content.border.radius}",
@@ -5792,7 +5885,7 @@ var Oa = { install: function(e, t) {
5792
5885
  }
5793
5886
  }
5794
5887
  }
5795
- }, lo = {
5888
+ }, _o = {
5796
5889
  root: {
5797
5890
  padding: "{form.field.padding.y} {form.field.padding.x}",
5798
5891
  borderRadius: "{content.border.radius}",
@@ -5809,7 +5902,7 @@ var Oa = { install: function(e, t) {
5809
5902
  hoverBackground: "{content.hover.background}",
5810
5903
  hoverColor: "{content.hover.color}"
5811
5904
  }
5812
- }, uo = {
5905
+ }, vo = {
5813
5906
  root: {
5814
5907
  background: "{form.field.background}",
5815
5908
  disabledBackground: "{form.field.disabled.background}",
@@ -5846,14 +5939,14 @@ var Oa = { install: function(e, t) {
5846
5939
  color: "{surface.0}"
5847
5940
  } }
5848
5941
  }
5849
- }, fo = { addon: {
5942
+ }, yo = { addon: {
5850
5943
  background: "{form.field.background}",
5851
5944
  borderColor: "{form.field.border.color}",
5852
5945
  color: "{form.field.icon.color}",
5853
5946
  borderRadius: "{form.field.border.radius}",
5854
5947
  padding: "0.5rem",
5855
5948
  minWidth: "2.5rem"
5856
- } }, po = {
5949
+ } }, bo = {
5857
5950
  root: { transitionDuration: "{transition.duration}" },
5858
5951
  button: {
5859
5952
  width: "2.5rem",
@@ -5884,14 +5977,14 @@ var Oa = { install: function(e, t) {
5884
5977
  activeColor: "{surface.200}"
5885
5978
  } }
5886
5979
  }
5887
- }, mo = {
5980
+ }, xo = {
5888
5981
  root: { gap: "0.5rem" },
5889
5982
  input: {
5890
5983
  width: "2.5rem",
5891
5984
  sm: { width: "2rem" },
5892
5985
  lg: { width: "3rem" }
5893
5986
  }
5894
- }, ho = { root: {
5987
+ }, So = { root: {
5895
5988
  background: "{form.field.background}",
5896
5989
  disabledBackground: "{form.field.disabled.background}",
5897
5990
  filledBackground: "{form.field.filled.background}",
@@ -5927,7 +6020,7 @@ var Oa = { install: function(e, t) {
5927
6020
  paddingX: "{form.field.lg.padding.x}",
5928
6021
  paddingY: "{form.field.lg.padding.y}"
5929
6022
  }
5930
- } }, go = {
6023
+ } }, Co = {
5931
6024
  root: {
5932
6025
  transitionDuration: "{transition.duration}",
5933
6026
  focusRing: {
@@ -5941,7 +6034,7 @@ var Oa = { install: function(e, t) {
5941
6034
  value: { background: "{primary.color}" },
5942
6035
  range: { background: "{content.border.color}" },
5943
6036
  text: { color: "{text.muted.color}" }
5944
- }, _o = {
6037
+ }, wo = {
5945
6038
  root: {
5946
6039
  background: "{form.field.background}",
5947
6040
  disabledBackground: "{form.field.disabled.background}",
@@ -5985,7 +6078,7 @@ var Oa = { install: function(e, t) {
5985
6078
  light: { option: { stripedBackground: "{surface.50}" } },
5986
6079
  dark: { option: { stripedBackground: "{surface.900}" } }
5987
6080
  }
5988
- }, vo = {
6081
+ }, To = {
5989
6082
  root: {
5990
6083
  background: "{content.background}",
5991
6084
  borderColor: "{content.border.color}",
@@ -6061,7 +6154,7 @@ var Oa = { install: function(e, t) {
6061
6154
  shadow: "{focus.ring.shadow}"
6062
6155
  }
6063
6156
  }
6064
- }, yo = {
6157
+ }, Eo = {
6065
6158
  root: {
6066
6159
  background: "{content.background}",
6067
6160
  borderColor: "{content.border.color}",
@@ -6093,7 +6186,7 @@ var Oa = { install: function(e, t) {
6093
6186
  color: "{navigation.submenu.label.color}"
6094
6187
  },
6095
6188
  separator: { borderColor: "{content.border.color}" }
6096
- }, bo = {
6189
+ }, Do = {
6097
6190
  root: {
6098
6191
  background: "{content.background}",
6099
6192
  borderColor: "{content.border.color}",
@@ -6152,7 +6245,7 @@ var Oa = { install: function(e, t) {
6152
6245
  shadow: "{focus.ring.shadow}"
6153
6246
  }
6154
6247
  }
6155
- }, xo = {
6248
+ }, Oo = {
6156
6249
  root: {
6157
6250
  borderRadius: "{content.border.radius}",
6158
6251
  borderWidth: "1px",
@@ -6414,7 +6507,7 @@ var Oa = { install: function(e, t) {
6414
6507
  }
6415
6508
  }
6416
6509
  }
6417
- }, So = {
6510
+ }, ko = {
6418
6511
  root: {
6419
6512
  borderRadius: "{content.border.radius}",
6420
6513
  gap: "1rem"
@@ -6430,7 +6523,7 @@ var Oa = { install: function(e, t) {
6430
6523
  verticalGap: "0.5rem",
6431
6524
  horizontalGap: "1rem"
6432
6525
  }
6433
- }, Co = {
6526
+ }, Ao = {
6434
6527
  root: {
6435
6528
  background: "{form.field.background}",
6436
6529
  disabledBackground: "{form.field.disabled.background}",
@@ -6505,10 +6598,10 @@ var Oa = { install: function(e, t) {
6505
6598
  chip: { borderRadius: "{border.radius.sm}" },
6506
6599
  clearIcon: { color: "{form.field.icon.color}" },
6507
6600
  emptyMessage: { padding: "{list.option.padding}" }
6508
- }, wo = {
6601
+ }, jo = {
6509
6602
  root: { gap: "1.125rem" },
6510
6603
  controls: { gap: "0.5rem" }
6511
- }, To = {
6604
+ }, Mo = {
6512
6605
  root: {
6513
6606
  gutter: "0.75rem",
6514
6607
  transitionDuration: "{transition.duration}"
@@ -6546,10 +6639,10 @@ var Oa = { install: function(e, t) {
6546
6639
  borderRadius: "{content.border.radius}",
6547
6640
  height: "24px"
6548
6641
  }
6549
- }, Eo = { root: { outline: {
6642
+ }, No = { root: { outline: {
6550
6643
  width: "2px",
6551
6644
  color: "{content.background}"
6552
- } } }, Do = {
6645
+ } } }, Po = {
6553
6646
  root: {
6554
6647
  padding: "0.5rem 1rem",
6555
6648
  gap: "0.25rem",
@@ -6578,7 +6671,7 @@ var Oa = { install: function(e, t) {
6578
6671
  },
6579
6672
  currentPageReport: { color: "{text.muted.color}" },
6580
6673
  jumpToPageInput: { maxWidth: "2.5rem" }
6581
- }, Oo = {
6674
+ }, Fo = {
6582
6675
  root: {
6583
6676
  background: "{content.background}",
6584
6677
  borderColor: "{content.border.color}",
@@ -6597,7 +6690,7 @@ var Oa = { install: function(e, t) {
6597
6690
  title: { fontWeight: "600" },
6598
6691
  content: { padding: "0 1.125rem 1.125rem 1.125rem" },
6599
6692
  footer: { padding: "0 1.125rem 1.125rem 1.125rem" }
6600
- }, ko = {
6693
+ }, Io = {
6601
6694
  root: {
6602
6695
  gap: "0.5rem",
6603
6696
  transitionDuration: "{transition.duration}"
@@ -6635,7 +6728,7 @@ var Oa = { install: function(e, t) {
6635
6728
  color: "{navigation.submenu.icon.color}",
6636
6729
  focusColor: "{navigation.submenu.icon.focus.color}"
6637
6730
  }
6638
- }, Ao = {
6731
+ }, Lo = {
6639
6732
  meter: {
6640
6733
  background: "{content.border.color}",
6641
6734
  borderRadius: "{content.border.radius}",
@@ -6663,10 +6756,10 @@ var Oa = { install: function(e, t) {
6663
6756
  strongBackground: "{green.400}"
6664
6757
  } }
6665
6758
  }
6666
- }, jo = {
6759
+ }, Ro = {
6667
6760
  root: { gap: "1.125rem" },
6668
6761
  controls: { gap: "0.5rem" }
6669
- }, Mo = {
6762
+ }, zo = {
6670
6763
  root: {
6671
6764
  background: "{overlay.popover.background}",
6672
6765
  borderColor: "{overlay.popover.border.color}",
@@ -6677,7 +6770,7 @@ var Oa = { install: function(e, t) {
6677
6770
  arrowOffset: "1.25rem"
6678
6771
  },
6679
6772
  content: { padding: "{overlay.popover.padding}" }
6680
- }, No = {
6773
+ }, Bo = {
6681
6774
  root: {
6682
6775
  background: "{content.border.color}",
6683
6776
  borderRadius: "{content.border.radius}",
@@ -6689,7 +6782,7 @@ var Oa = { install: function(e, t) {
6689
6782
  fontSize: "0.75rem",
6690
6783
  fontWeight: "600"
6691
6784
  }
6692
- }, Po = { colorScheme: {
6785
+ }, Vo = { colorScheme: {
6693
6786
  light: { root: {
6694
6787
  colorOne: "{red.500}",
6695
6788
  colorTwo: "{blue.500}",
@@ -6702,7 +6795,7 @@ var Oa = { install: function(e, t) {
6702
6795
  colorThree: "{green.400}",
6703
6796
  colorFour: "{yellow.400}"
6704
6797
  } }
6705
- } }, Fo = {
6798
+ } }, Ho = {
6706
6799
  root: {
6707
6800
  width: "1.25rem",
6708
6801
  height: "1.25rem",
@@ -6745,7 +6838,7 @@ var Oa = { install: function(e, t) {
6745
6838
  sm: { size: "0.5rem" },
6746
6839
  lg: { size: "1rem" }
6747
6840
  }
6748
- }, Io = {
6841
+ }, Uo = {
6749
6842
  root: {
6750
6843
  gap: "0.25rem",
6751
6844
  transitionDuration: "{transition.duration}",
@@ -6763,10 +6856,10 @@ var Oa = { install: function(e, t) {
6763
6856
  hoverColor: "{primary.color}",
6764
6857
  activeColor: "{primary.color}"
6765
6858
  }
6766
- }, Lo = { colorScheme: {
6859
+ }, Wo = { colorScheme: {
6767
6860
  light: { root: { background: "rgba(0,0,0,0.1)" } },
6768
6861
  dark: { root: { background: "rgba(255,255,255,0.3)" } }
6769
- } }, Ro = {
6862
+ } }, Go = {
6770
6863
  root: { transitionDuration: "{transition.duration}" },
6771
6864
  bar: {
6772
6865
  size: "9px",
@@ -6783,7 +6876,7 @@ var Oa = { install: function(e, t) {
6783
6876
  light: { bar: { background: "{surface.100}" } },
6784
6877
  dark: { bar: { background: "{surface.800}" } }
6785
6878
  }
6786
- }, zo = {
6879
+ }, Ko = {
6787
6880
  root: {
6788
6881
  background: "{form.field.background}",
6789
6882
  disabledBackground: "{form.field.disabled.background}",
@@ -6861,13 +6954,13 @@ var Oa = { install: function(e, t) {
6861
6954
  gutterEnd: "0.375rem"
6862
6955
  },
6863
6956
  emptyMessage: { padding: "{list.option.padding}" }
6864
- }, Bo = {
6957
+ }, qo = {
6865
6958
  root: { borderRadius: "{form.field.border.radius}" },
6866
6959
  colorScheme: {
6867
6960
  light: { root: { invalidBorderColor: "{form.field.invalid.border.color}" } },
6868
6961
  dark: { root: { invalidBorderColor: "{form.field.invalid.border.color}" } }
6869
6962
  }
6870
- }, Vo = {
6963
+ }, Jo = {
6871
6964
  root: { borderRadius: "{content.border.radius}" },
6872
6965
  colorScheme: {
6873
6966
  light: { root: {
@@ -6879,7 +6972,7 @@ var Oa = { install: function(e, t) {
6879
6972
  animationBackground: "rgba(255, 255, 255, 0.04)"
6880
6973
  } }
6881
6974
  }
6882
- }, Ho = {
6975
+ }, Yo = {
6883
6976
  root: { transitionDuration: "{transition.duration}" },
6884
6977
  track: {
6885
6978
  background: "{content.border.color}",
@@ -6912,14 +7005,14 @@ var Oa = { install: function(e, t) {
6912
7005
  light: { handle: { content: { background: "{surface.0}" } } },
6913
7006
  dark: { handle: { content: { background: "{surface.950}" } } }
6914
7007
  }
6915
- }, Uo = { root: {
7008
+ }, Xo = { root: {
6916
7009
  gap: "0.5rem",
6917
7010
  transitionDuration: "{transition.duration}"
6918
- } }, Wo = { root: {
7011
+ } }, Zo = { root: {
6919
7012
  borderRadius: "{form.field.border.radius}",
6920
7013
  roundedBorderRadius: "2rem",
6921
7014
  raisedShadow: "0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"
6922
- } }, Go = {
7015
+ } }, Qo = {
6923
7016
  root: {
6924
7017
  background: "{content.background}",
6925
7018
  borderColor: "{content.border.color}",
@@ -6939,7 +7032,7 @@ var Oa = { install: function(e, t) {
6939
7032
  shadow: "{focus.ring.shadow}"
6940
7033
  }
6941
7034
  }
6942
- }, Ko = {
7035
+ }, $o = {
6943
7036
  root: { transitionDuration: "{transition.duration}" },
6944
7037
  separator: {
6945
7038
  background: "{content.border.color}",
@@ -6988,7 +7081,7 @@ var Oa = { install: function(e, t) {
6988
7081
  padding: "0",
6989
7082
  indent: "1rem"
6990
7083
  }
6991
- }, qo = {
7084
+ }, es = {
6992
7085
  root: { transitionDuration: "{transition.duration}" },
6993
7086
  separator: { background: "{content.border.color}" },
6994
7087
  itemLink: {
@@ -7020,7 +7113,7 @@ var Oa = { install: function(e, t) {
7020
7113
  borderRadius: "50%",
7021
7114
  shadow: "0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"
7022
7115
  }
7023
- }, Jo = {
7116
+ }, ts = {
7024
7117
  root: { transitionDuration: "{transition.duration}" },
7025
7118
  tablist: {
7026
7119
  borderWidth: "0 0 1px 0",
@@ -7060,7 +7153,7 @@ var Oa = { install: function(e, t) {
7060
7153
  bottom: "-1px",
7061
7154
  background: "{primary.color}"
7062
7155
  }
7063
- }, Yo = {
7156
+ }, ns = {
7064
7157
  root: { transitionDuration: "{transition.duration}" },
7065
7158
  tablist: {
7066
7159
  borderWidth: "0 0 1px 0",
@@ -7124,7 +7217,7 @@ var Oa = { install: function(e, t) {
7124
7217
  light: { navButton: { shadow: "0px 0px 10px 50px rgba(255, 255, 255, 0.6)" } },
7125
7218
  dark: { navButton: { shadow: "0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)" } }
7126
7219
  }
7127
- }, Xo = {
7220
+ }, rs = {
7128
7221
  root: { transitionDuration: "{transition.duration}" },
7129
7222
  tabList: {
7130
7223
  background: "{content.background}",
@@ -7150,7 +7243,7 @@ var Oa = { install: function(e, t) {
7150
7243
  light: { navButton: { shadow: "0px 0px 10px 50px rgba(255, 255, 255, 0.6)" } },
7151
7244
  dark: { navButton: { shadow: "0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)" } }
7152
7245
  }
7153
- }, Zo = {
7246
+ }, is = {
7154
7247
  root: {
7155
7248
  fontSize: "0.875rem",
7156
7249
  fontWeight: "700",
@@ -7222,7 +7315,7 @@ var Oa = { install: function(e, t) {
7222
7315
  }
7223
7316
  }
7224
7317
  }
7225
- }, Qo = {
7318
+ }, as = {
7226
7319
  root: {
7227
7320
  background: "{form.field.background}",
7228
7321
  borderColor: "{form.field.border.color}",
@@ -7233,7 +7326,7 @@ var Oa = { install: function(e, t) {
7233
7326
  },
7234
7327
  prompt: { gap: "0.25rem" },
7235
7328
  commandResponse: { margin: "2px 0" }
7236
- }, $o = { root: {
7329
+ }, os = { root: {
7237
7330
  background: "{form.field.background}",
7238
7331
  disabledBackground: "{form.field.disabled.background}",
7239
7332
  filledBackground: "{form.field.filled.background}",
@@ -7269,7 +7362,7 @@ var Oa = { install: function(e, t) {
7269
7362
  paddingX: "{form.field.lg.padding.x}",
7270
7363
  paddingY: "{form.field.lg.padding.y}"
7271
7364
  }
7272
- } }, es = {
7365
+ } }, ss = {
7273
7366
  root: {
7274
7367
  background: "{content.background}",
7275
7368
  borderColor: "{content.border.color}",
@@ -7305,7 +7398,7 @@ var Oa = { install: function(e, t) {
7305
7398
  activeColor: "{navigation.submenu.icon.active.color}"
7306
7399
  },
7307
7400
  separator: { borderColor: "{content.border.color}" }
7308
- }, ts = {
7401
+ }, cs = {
7309
7402
  event: { minHeight: "5rem" },
7310
7403
  horizontal: { eventContent: { padding: "1rem 0" } },
7311
7404
  vertical: { eventContent: { padding: "0 1rem" } },
@@ -7326,7 +7419,7 @@ var Oa = { install: function(e, t) {
7326
7419
  color: "{content.border.color}",
7327
7420
  size: "2px"
7328
7421
  }
7329
- }, ns = {
7422
+ }, ls = {
7330
7423
  root: {
7331
7424
  width: "25rem",
7332
7425
  borderRadius: "{content.border.radius}",
@@ -7534,7 +7627,7 @@ var Oa = { install: function(e, t) {
7534
7627
  }
7535
7628
  }
7536
7629
  }
7537
- }, rs = {
7630
+ }, us = {
7538
7631
  root: {
7539
7632
  padding: "0.25rem",
7540
7633
  borderRadius: "{content.border.radius}",
@@ -7607,7 +7700,7 @@ var Oa = { install: function(e, t) {
7607
7700
  }
7608
7701
  }
7609
7702
  }
7610
- }, is = {
7703
+ }, ds = {
7611
7704
  root: {
7612
7705
  width: "2.5rem",
7613
7706
  height: "1.5rem",
@@ -7676,14 +7769,14 @@ var Oa = { install: function(e, t) {
7676
7769
  }
7677
7770
  }
7678
7771
  }
7679
- }, as = { root: {
7772
+ }, fs = { root: {
7680
7773
  background: "{content.background}",
7681
7774
  borderColor: "{content.border.color}",
7682
7775
  borderRadius: "{content.border.radius}",
7683
7776
  color: "{content.color}",
7684
7777
  gap: "0.5rem",
7685
7778
  padding: "0.75rem"
7686
- } }, os = {
7779
+ } }, ps = {
7687
7780
  root: {
7688
7781
  maxWidth: "12.5rem",
7689
7782
  gutter: "0.25rem",
@@ -7701,7 +7794,7 @@ var Oa = { install: function(e, t) {
7701
7794
  color: "{surface.0}"
7702
7795
  } }
7703
7796
  }
7704
- }, ss = {
7797
+ }, ms = {
7705
7798
  root: {
7706
7799
  background: "{content.background}",
7707
7800
  color: "{content.color}",
@@ -7750,7 +7843,7 @@ var Oa = { install: function(e, t) {
7750
7843
  },
7751
7844
  loadingIcon: { size: "2rem" },
7752
7845
  filter: { margin: "0 0 0.5rem 0" }
7753
- }, cs = {
7846
+ }, hs = {
7754
7847
  root: {
7755
7848
  background: "{form.field.background}",
7756
7849
  disabledBackground: "{form.field.disabled.background}",
@@ -7803,7 +7896,7 @@ var Oa = { install: function(e, t) {
7803
7896
  emptyMessage: { padding: "{list.option.padding}" },
7804
7897
  chip: { borderRadius: "{border.radius.sm}" },
7805
7898
  clearIcon: { color: "{form.field.icon.color}" }
7806
- }, ls = {
7899
+ }, gs = {
7807
7900
  root: { transitionDuration: "{transition.duration}" },
7808
7901
  header: {
7809
7902
  background: "{content.background}",
@@ -7910,111 +8003,111 @@ var Oa = { install: function(e, t) {
7910
8003
  bodyCell: { selectedBorderColor: "{primary.900}" }
7911
8004
  }
7912
8005
  }
7913
- }, us = { loader: {
8006
+ }, _s = { loader: {
7914
8007
  mask: {
7915
8008
  background: "{content.background}",
7916
8009
  color: "{text.muted.color}"
7917
8010
  },
7918
8011
  icon: { size: "2rem" }
7919
- } }, ds = Object.defineProperty, fs = Object.defineProperties, ps = Object.getOwnPropertyDescriptors, ms = Object.getOwnPropertySymbols, hs = Object.prototype.hasOwnProperty, gs = Object.prototype.propertyIsEnumerable, _s = (e, t, n) => t in e ? ds(e, t, {
8012
+ } }, vs = Object.defineProperty, ys = Object.defineProperties, bs = Object.getOwnPropertyDescriptors, xs = Object.getOwnPropertySymbols, Ss = Object.prototype.hasOwnProperty, Cs = Object.prototype.propertyIsEnumerable, ws = (e, t, n) => t in e ? vs(e, t, {
7920
8013
  enumerable: !0,
7921
8014
  configurable: !0,
7922
8015
  writable: !0,
7923
8016
  value: n
7924
- }) : e[t] = n, vs, ys = { theme: {
7925
- preset: (vs = ((e, t) => {
7926
- for (var n in t ||= {}) hs.call(t, n) && _s(e, n, t[n]);
7927
- if (ms) for (var n of ms(t)) gs.call(t, n) && _s(e, n, t[n]);
8017
+ }) : e[t] = n, Ts, Es = { theme: {
8018
+ preset: (Ts = ((e, t) => {
8019
+ for (var n in t ||= {}) Ss.call(t, n) && ws(e, n, t[n]);
8020
+ if (xs) for (var n of xs(t)) Cs.call(t, n) && ws(e, n, t[n]);
7928
8021
  return e;
7929
- })({}, Na), fs(vs, ps({ components: {
7930
- accordion: ka,
7931
- autocomplete: Aa,
7932
- avatar: ja,
7933
- badge: Ma,
7934
- blockui: Pa,
7935
- breadcrumb: Fa,
7936
- button: Ia,
7937
- card: La,
7938
- carousel: Ra,
7939
- cascadeselect: za,
7940
- checkbox: Ba,
7941
- chip: Va,
7942
- colorpicker: Ha,
7943
- confirmdialog: Ua,
7944
- confirmpopup: Wa,
7945
- contextmenu: Ga,
7946
- datatable: Ka,
7947
- dataview: qa,
7948
- datepicker: Ja,
7949
- dialog: Ya,
7950
- divider: Xa,
7951
- dock: Za,
7952
- drawer: Qa,
7953
- editor: $a,
7954
- fieldset: eo,
7955
- fileupload: to,
7956
- floatlabel: no,
7957
- galleria: ro,
7958
- iconfield: io,
7959
- iftalabel: ao,
7960
- image: oo,
7961
- imagecompare: so,
7962
- inlinemessage: co,
7963
- inplace: lo,
7964
- inputchips: uo,
7965
- inputgroup: fo,
7966
- inputnumber: po,
7967
- inputotp: mo,
7968
- inputtext: ho,
7969
- knob: go,
7970
- listbox: _o,
7971
- megamenu: vo,
7972
- menu: yo,
7973
- menubar: bo,
7974
- message: xo,
7975
- metergroup: So,
7976
- multiselect: Co,
7977
- orderlist: wo,
7978
- organizationchart: To,
7979
- overlaybadge: Eo,
7980
- paginator: Do,
7981
- panel: Oo,
7982
- panelmenu: ko,
7983
- password: Ao,
7984
- picklist: jo,
7985
- popover: Mo,
7986
- progressbar: No,
7987
- progressspinner: Po,
7988
- radiobutton: Fo,
7989
- rating: Io,
7990
- ripple: Lo,
7991
- scrollpanel: Ro,
7992
- select: zo,
7993
- selectbutton: Bo,
7994
- skeleton: Vo,
7995
- slider: Ho,
7996
- speeddial: Uo,
7997
- splitbutton: Wo,
7998
- splitter: Go,
7999
- stepper: Ko,
8000
- steps: qo,
8001
- tabmenu: Jo,
8002
- tabs: Yo,
8003
- tabview: Xo,
8004
- tag: Zo,
8005
- terminal: Qo,
8006
- textarea: $o,
8007
- tieredmenu: es,
8008
- timeline: ts,
8009
- toast: ns,
8010
- togglebutton: rs,
8011
- toggleswitch: is,
8012
- toolbar: as,
8013
- tooltip: os,
8014
- tree: ss,
8015
- treeselect: cs,
8016
- treetable: ls,
8017
- virtualscroller: us
8022
+ })({}, Ba), ys(Ts, bs({ components: {
8023
+ accordion: Ia,
8024
+ autocomplete: La,
8025
+ avatar: Ra,
8026
+ badge: za,
8027
+ blockui: Va,
8028
+ breadcrumb: Ha,
8029
+ button: Ua,
8030
+ card: Wa,
8031
+ carousel: Ga,
8032
+ cascadeselect: Ka,
8033
+ checkbox: qa,
8034
+ chip: Ja,
8035
+ colorpicker: Ya,
8036
+ confirmdialog: Xa,
8037
+ confirmpopup: Za,
8038
+ contextmenu: Qa,
8039
+ datatable: $a,
8040
+ dataview: eo,
8041
+ datepicker: to,
8042
+ dialog: no,
8043
+ divider: ro,
8044
+ dock: io,
8045
+ drawer: ao,
8046
+ editor: oo,
8047
+ fieldset: so,
8048
+ fileupload: co,
8049
+ floatlabel: lo,
8050
+ galleria: uo,
8051
+ iconfield: fo,
8052
+ iftalabel: po,
8053
+ image: mo,
8054
+ imagecompare: ho,
8055
+ inlinemessage: go,
8056
+ inplace: _o,
8057
+ inputchips: vo,
8058
+ inputgroup: yo,
8059
+ inputnumber: bo,
8060
+ inputotp: xo,
8061
+ inputtext: So,
8062
+ knob: Co,
8063
+ listbox: wo,
8064
+ megamenu: To,
8065
+ menu: Eo,
8066
+ menubar: Do,
8067
+ message: Oo,
8068
+ metergroup: ko,
8069
+ multiselect: Ao,
8070
+ orderlist: jo,
8071
+ organizationchart: Mo,
8072
+ overlaybadge: No,
8073
+ paginator: Po,
8074
+ panel: Fo,
8075
+ panelmenu: Io,
8076
+ password: Lo,
8077
+ picklist: Ro,
8078
+ popover: zo,
8079
+ progressbar: Bo,
8080
+ progressspinner: Vo,
8081
+ radiobutton: Ho,
8082
+ rating: Uo,
8083
+ ripple: Wo,
8084
+ scrollpanel: Go,
8085
+ select: Ko,
8086
+ selectbutton: qo,
8087
+ skeleton: Jo,
8088
+ slider: Yo,
8089
+ speeddial: Xo,
8090
+ splitbutton: Zo,
8091
+ splitter: Qo,
8092
+ stepper: $o,
8093
+ steps: es,
8094
+ tabmenu: ts,
8095
+ tabs: ns,
8096
+ tabview: rs,
8097
+ tag: is,
8098
+ terminal: as,
8099
+ textarea: os,
8100
+ tieredmenu: ss,
8101
+ timeline: cs,
8102
+ toast: ls,
8103
+ togglebutton: us,
8104
+ toggleswitch: ds,
8105
+ toolbar: fs,
8106
+ tooltip: ps,
8107
+ tree: ms,
8108
+ treeselect: hs,
8109
+ treetable: gs,
8110
+ virtualscroller: _s
8018
8111
  } }))),
8019
8112
  options: {
8020
8113
  darkModeSelector: "none",
@@ -8023,7 +8116,7 @@ var Oa = { install: function(e, t) {
8023
8116
  order: "pit-viper-v2, primevue"
8024
8117
  }
8025
8118
  }
8026
- } }, bs = new Set([
8119
+ } }, Ds = new Set([
8027
8120
  "PvIcon",
8028
8121
  "PvPopoverMenu",
8029
8122
  "PvPopover",
@@ -8031,11 +8124,11 @@ var Oa = { install: function(e, t) {
8031
8124
  "PvSkeleton",
8032
8125
  "PvSidebar",
8033
8126
  "PvDatePicker"
8034
- ]), xs = new Set(["PvSkeleton", "PvDatePicker"]);
8035
- function Ss(e) {
8036
- return !bs.has(e);
8127
+ ]), Os = new Set(["PvSkeleton", "PvDatePicker"]);
8128
+ function ks(e) {
8129
+ return !Ds.has(e);
8037
8130
  }
8038
- function Cs(e, t) {
8131
+ function As(e, t) {
8039
8132
  let n = document.querySelector("link[href*=\"" + t + "\"]");
8040
8133
  if (!e.shadowRoot) return !1;
8041
8134
  if (n && e.shadowRoot) {
@@ -8046,53 +8139,53 @@ function Cs(e, t) {
8046
8139
  }
8047
8140
  return !1;
8048
8141
  }
8049
- function ws(e) {
8050
- if (!Cs(e, "pit-viper-v2")) {
8051
- if (Cs(e, "pit-viper")) {
8052
- Cs(e, "pit-viper-v2-scoped");
8142
+ function js(e) {
8143
+ if (!As(e, "pit-viper-v2")) {
8144
+ if (As(e, "pit-viper")) {
8145
+ As(e, "pit-viper-v2-scoped");
8053
8146
  return;
8054
8147
  }
8055
8148
  console.warn("No global styles found for Pit Viper components. Make sure to include pit-viper.css or pit-viper-v2.css in your project.");
8056
8149
  }
8057
8150
  }
8058
- var Ts = (e) => ({ shadowRoot: Ss(e) });
8059
- function Es(e, t) {
8151
+ var Ms = (e) => ({ shadowRoot: ks(e) });
8152
+ function Ns(e, t) {
8060
8153
  return t === null ? !1 : t === "" || t === "true" ? !0 : (t === "false" || console.warn(`Invalid boolean attribute value for "${e}": "${t}". Expected "true", "false", or empty string.`), !1);
8061
8154
  }
8062
- function Ds(e, t) {
8155
+ function Ps(e, t) {
8063
8156
  let n = Number(t);
8064
8157
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
8065
8158
  }
8066
- var Os = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), ks = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), As = (e) => typeof e == "object" && e && "type" in e ? e.type : e, js = (e, t) => {
8067
- let n = As(e);
8159
+ var Fs = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), Is = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), Ls = (e) => typeof e == "object" && e && "type" in e ? e.type : e, Rs = (e, t) => {
8160
+ let n = Ls(e);
8068
8161
  return Array.isArray(n) ? n.includes(t) : n === t;
8069
8162
  };
8070
- function Ms(e) {
8163
+ function zs(e) {
8071
8164
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
8072
8165
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
8073
- js(i, Boolean) ? t.add(e) : js(i, Number) ? n.add(e) : (js(i, Object) || js(i, Array)) && r.add(e);
8166
+ Rs(i, Boolean) ? t.add(e) : Rs(i, Number) ? n.add(e) : (Rs(i, Object) || Rs(i, Array)) && r.add(e);
8074
8167
  }), {
8075
8168
  booleanProps: t,
8076
8169
  numberProps: n,
8077
8170
  jsonProps: r
8078
8171
  };
8079
8172
  }
8080
- function Ns(e, t) {
8173
+ function Bs(e, t) {
8081
8174
  try {
8082
8175
  return JSON.parse(t);
8083
8176
  } catch (n) {
8084
8177
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
8085
8178
  }
8086
8179
  }
8087
- function Ps(e) {
8180
+ function Vs(e) {
8088
8181
  let t = e.__name || e.name;
8089
8182
  if (!t) throw Error("Component must have a __name or name property");
8090
8183
  let n = f(e, {
8091
- ...Ts(t),
8092
- ...xs.has(t) && { configureApp(e) {
8093
- e.use(Oa, ys);
8184
+ ...Ms(t),
8185
+ ...Os.has(t) && { configureApp(e) {
8186
+ e.use(Fa, Es);
8094
8187
  } }
8095
- }), { booleanProps: r, numberProps: i, jsonProps: a } = Ms(e);
8188
+ }), { booleanProps: r, numberProps: i, jsonProps: a } = zs(e);
8096
8189
  class o extends n {
8097
8190
  _hiddenInput = null;
8098
8191
  constructor() {
@@ -8108,27 +8201,27 @@ function Ps(e) {
8108
8201
  let e = (e) => {
8109
8202
  let t = this.getAttribute(e);
8110
8203
  if (t !== null) return t;
8111
- let n = Os(e);
8204
+ let n = Fs(e);
8112
8205
  return n === e ? null : this.getAttribute(n);
8113
8206
  };
8114
8207
  r.forEach((t) => {
8115
8208
  let n = e(t);
8116
- n !== null && (this[t] = Es(t, n));
8209
+ n !== null && (this[t] = Ns(t, n));
8117
8210
  }), i.forEach((t) => {
8118
8211
  let n = e(t);
8119
- n !== null && (this[t] = Ds(t, n));
8212
+ n !== null && (this[t] = Ps(t, n));
8120
8213
  }), a.forEach((t) => {
8121
8214
  let n = e(t);
8122
8215
  if (n !== null) {
8123
- let e = Ns(t, n);
8216
+ let e = Bs(t, n);
8124
8217
  e !== null && (this[t] = e);
8125
8218
  }
8126
8219
  });
8127
8220
  let t = this.getAttribute("data-json-props");
8128
8221
  t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
8129
- let n = ks(t), r = e(n);
8222
+ let n = Is(t), r = e(n);
8130
8223
  if (r !== null && !this[n]) {
8131
- let e = Ns(n, r);
8224
+ let e = Bs(n, r);
8132
8225
  e !== null && (this[n] = e);
8133
8226
  }
8134
8227
  });
@@ -8144,23 +8237,23 @@ function Ps(e) {
8144
8237
  }
8145
8238
  }
8146
8239
  }
8147
- ws(this);
8240
+ js(this);
8148
8241
  let e = this.getAttribute("name");
8149
8242
  e && (this._hiddenInput = document.createElement("input"), this._hiddenInput.type = "hidden", this._hiddenInput.name = e, this.after(this._hiddenInput));
8150
8243
  }
8151
8244
  }
8152
8245
  return o;
8153
8246
  }
8154
- function Fs(e) {
8247
+ function Hs(e) {
8155
8248
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
8156
8249
  }
8157
- function Is(e) {
8250
+ function Us(e) {
8158
8251
  let t = e.__name || e.name;
8159
8252
  if (!t) throw Error("Component must have a __name or name property");
8160
- let n = Fs(t), r = Ps(e);
8253
+ let n = Hs(t), r = Vs(e);
8161
8254
  customElements.get(n) || customElements.define(n, r);
8162
8255
  }
8163
8256
  //#endregion
8164
8257
  //#region .build-temp-pv-sidebar-v2.ts
8165
- Is(Wr);
8258
+ Us(Zr);
8166
8259
  //#endregion