@bagelink/vue 1.5.17 → 1.5.20

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 (133) hide show
  1. package/bin/experimentalGenTypedRoutes.ts +15 -15
  2. package/bin/generateFormSchema.ts +12 -12
  3. package/bin/utils.ts +4 -4
  4. package/dist/components/Dropdown.vue.d.ts.map +1 -1
  5. package/dist/components/calendar/CalendarPopover.vue.d.ts.map +1 -1
  6. package/dist/components/form/BagelForm.vue.d.ts.map +1 -1
  7. package/dist/components/form/FieldArray.vue.d.ts +5 -4
  8. package/dist/components/form/FieldArray.vue.d.ts.map +1 -1
  9. package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
  10. package/dist/components/form/inputs/RichText/index.vue.d.ts +1 -0
  11. package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
  12. package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
  13. package/dist/components/form/inputs/ToggleInput.vue.d.ts.map +1 -1
  14. package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts.map +1 -1
  15. package/dist/composables/useFormField.d.ts.map +1 -1
  16. package/dist/composables/useSchemaField.d.ts.map +1 -1
  17. package/dist/index.cjs +17 -14
  18. package/dist/index.mjs +511 -422
  19. package/dist/style.css +1 -1
  20. package/package.json +1 -1
  21. package/src/components/AccordionItem.vue +2 -2
  22. package/src/components/AddToCalendar.vue +1 -1
  23. package/src/components/BglVideo.vue +8 -8
  24. package/src/components/Btn.vue +9 -9
  25. package/src/components/Card.vue +4 -4
  26. package/src/components/Carousel.vue +44 -44
  27. package/src/components/DataPreview.vue +1 -1
  28. package/src/components/DragOver.vue +6 -6
  29. package/src/components/Dropdown.vue +14 -14
  30. package/src/components/Flag.vue +3 -3
  31. package/src/components/Icon/Icon.vue +13 -13
  32. package/src/components/Image.vue +4 -4
  33. package/src/components/ImportData.vue +79 -79
  34. package/src/components/ListItem.vue +7 -7
  35. package/src/components/MapEmbed/Index.vue +6 -6
  36. package/src/components/Modal.vue +10 -10
  37. package/src/components/ModalForm.vue +4 -4
  38. package/src/components/NavBar.vue +2 -2
  39. package/src/components/Pagination.vue +9 -9
  40. package/src/components/Pill.vue +1 -1
  41. package/src/components/Rating.vue +2 -2
  42. package/src/components/Slider.vue +77 -77
  43. package/src/components/Spreadsheet/Index.vue +34 -34
  44. package/src/components/Spreadsheet/SpreadsheetTable.vue +3 -3
  45. package/src/components/Zoomer.vue +28 -28
  46. package/src/components/analytics/BarChart.vue +6 -6
  47. package/src/components/analytics/KpiCard.vue +2 -2
  48. package/src/components/analytics/LineChart.vue +14 -14
  49. package/src/components/analytics/PieChart.vue +11 -11
  50. package/src/components/calendar/CalendarPopover.vue +1 -1
  51. package/src/components/calendar/Index.vue +1 -1
  52. package/src/components/calendar/views/AgendaView.vue +2 -2
  53. package/src/components/calendar/views/DayView.vue +6 -6
  54. package/src/components/calendar/views/MonthView.vue +2 -2
  55. package/src/components/calendar/views/WeekView.vue +18 -18
  56. package/src/components/dataTable/DataTable.vue +3 -3
  57. package/src/components/dataTable/useSorting.ts +1 -1
  58. package/src/components/dataTable/useTableData.ts +15 -15
  59. package/src/components/dataTable/useTableSelection.ts +8 -8
  60. package/src/components/dataTable/useTableVirtualization.ts +1 -1
  61. package/src/components/draggable/useDraggable.ts +42 -42
  62. package/src/components/form/BagelForm.vue +66 -23
  63. package/src/components/form/BglMultiStepForm.vue +18 -18
  64. package/src/components/form/FieldArray.vue +177 -67
  65. package/src/components/form/inputs/CheckInput.vue +2 -1
  66. package/src/components/form/inputs/CodeEditor/Index.vue +1 -1
  67. package/src/components/form/inputs/CodeEditor/format.ts +7 -7
  68. package/src/components/form/inputs/CodeEditor/useHighlight.ts +6 -6
  69. package/src/components/form/inputs/DateInput.vue +6 -6
  70. package/src/components/form/inputs/DatePicker.vue +19 -19
  71. package/src/components/form/inputs/EmailInput.vue +14 -14
  72. package/src/components/form/inputs/NumberInput.vue +6 -6
  73. package/src/components/form/inputs/OTP.vue +3 -3
  74. package/src/components/form/inputs/RadioGroup.vue +1 -1
  75. package/src/components/form/inputs/RadioPillsInput.vue +8 -8
  76. package/src/components/form/inputs/RichText/components/EditorToolbar.vue +10 -10
  77. package/src/components/form/inputs/RichText/components/TableGridSelector.vue +1 -1
  78. package/src/components/form/inputs/RichText/composables/useCommands.ts +1 -1
  79. package/src/components/form/inputs/RichText/composables/useEditor.ts +12 -12
  80. package/src/components/form/inputs/RichText/composables/useEditorKeyboard.ts +1 -1
  81. package/src/components/form/inputs/RichText/index.vue +143 -134
  82. package/src/components/form/inputs/RichText/utils/commands.ts +69 -69
  83. package/src/components/form/inputs/RichText/utils/debug.ts +1 -1
  84. package/src/components/form/inputs/RichText/utils/formatting.ts +39 -39
  85. package/src/components/form/inputs/RichText/utils/media.ts +6 -6
  86. package/src/components/form/inputs/RichText/utils/selection.ts +28 -28
  87. package/src/components/form/inputs/RichText/utils/table.ts +19 -19
  88. package/src/components/form/inputs/SelectBtn.vue +1 -1
  89. package/src/components/form/inputs/SelectInput.vue +50 -26
  90. package/src/components/form/inputs/SignaturePad.vue +15 -15
  91. package/src/components/form/inputs/TableField.vue +1 -1
  92. package/src/components/form/inputs/TelInput.vue +6 -6
  93. package/src/components/form/inputs/TextInput.vue +5 -5
  94. package/src/components/form/inputs/ToggleInput.vue +2 -1
  95. package/src/components/form/inputs/Upload/UploadInput.vue +155 -102
  96. package/src/components/form/inputs/Upload/upload.ts +1 -1
  97. package/src/components/form/inputs/Upload/useFileUpload.ts +6 -6
  98. package/src/components/form/useBagelFormState.ts +5 -5
  99. package/src/components/layout/AppContent.vue +1 -1
  100. package/src/components/layout/AppLayout.vue +1 -1
  101. package/src/components/layout/Layout.vue +4 -4
  102. package/src/components/layout/TabbedLayout.vue +1 -1
  103. package/src/components/layout/Tabs.vue +2 -2
  104. package/src/components/layout/TabsNav.vue +7 -7
  105. package/src/components/lightbox/Lightbox.vue +8 -8
  106. package/src/components/lightbox/index.ts +8 -8
  107. package/src/composables/index.ts +2 -2
  108. package/src/composables/useAddToCalendar.ts +13 -13
  109. package/src/composables/useDevice.ts +2 -2
  110. package/src/composables/useExcel.ts +6 -6
  111. package/src/composables/useFormField.ts +5 -9
  112. package/src/composables/usePolling.ts +8 -8
  113. package/src/composables/useSchemaField.ts +53 -38
  114. package/src/composables/useTheme.ts +9 -9
  115. package/src/composables/useValidateFieldValue.ts +2 -2
  116. package/src/directives/pattern.ts +25 -25
  117. package/src/directives/ripple.ts +4 -4
  118. package/src/directives/vResize.ts +6 -6
  119. package/src/plugins/bagel.ts +4 -4
  120. package/src/plugins/useModal.ts +3 -3
  121. package/src/styles/layout.css +7 -1
  122. package/src/utils/BagelFormUtils.ts +7 -7
  123. package/src/utils/calendar/Helpers.ts +8 -8
  124. package/src/utils/calendar/dateUtils.ts +22 -22
  125. package/src/utils/calendar/time.ts +25 -25
  126. package/src/utils/calendar/week.ts +25 -25
  127. package/src/utils/elementUtils.ts +27 -27
  128. package/src/utils/index.ts +22 -22
  129. package/src/utils/sizeParsing.ts +2 -2
  130. package/src/utils/strings.ts +5 -5
  131. package/src/utils/tapDetector.ts +11 -11
  132. package/src/utils/useSearch.ts +29 -29
  133. package/vite.config.ts +1 -1
package/dist/index.mjs CHANGED
@@ -66,7 +66,7 @@ var __defProp = Object.defineProperty, __export = (e, t) => {
66
66
  let j = e.__vccOpts || e;
67
67
  for (let [e, M] of t) j[e] = M;
68
68
  return j;
69
- }, AccordionItem_default = /* @__PURE__ */ __plugin_vue_export_helper_default(AccordionItem_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-46e7dfbc"]]), _hoisted_1$76 = { class: "relative" }, AddressSearch_default = /* @__PURE__ */ defineComponent({
69
+ }, AccordionItem_default = /* @__PURE__ */ __plugin_vue_export_helper_default(AccordionItem_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-d32e9317"]]), _hoisted_1$76 = { class: "relative" }, AddressSearch_default = /* @__PURE__ */ defineComponent({
70
70
  __name: "AddressSearch",
71
71
  emits: ["addressSelected"],
72
72
  setup(e, { emit: j }) {
@@ -122,18 +122,18 @@ function useAddToCalendar(e) {
122
122
  `DTEND:${I}`,
123
123
  `SUMMARY:${e.title}`
124
124
  ];
125
- if (e.description && e.description.length > 0) {
125
+ if (e.description && 0 < e.description.length) {
126
126
  let t = e.description.replace(/\n/g, "\\n");
127
127
  RE.push(`DESCRIPTION:${t}`);
128
128
  }
129
- return e.location && e.location.length > 0 && (RE.push(`LOCATION:${e.location}`), N && RE.push(`URL:${e.location}`)), RE.push("STATUS:CONFIRMED", "SEQUENCE:0", "END:VEVENT", "END:VCALENDAR"), RE.join("\r\n");
129
+ return e.location && 0 < e.location.length && (RE.push(`LOCATION:${e.location}`), N && RE.push(`URL:${e.location}`)), RE.push("STATUS:CONFIRMED", "SEQUENCE:0", "END:VEVENT", "END:VCALENDAR"), RE.join("\r\n");
130
130
  }, zE = computed(() => {
131
131
  let t = new URLSearchParams({
132
132
  action: "TEMPLATE",
133
133
  text: e.title,
134
134
  dates: `${U(j)}/${U(M)}`
135
135
  });
136
- return e.description && e.description.length > 0 && t.append("details", e.description), e.location && e.location.length > 0 && t.append("location", e.location), `https://calendar.google.com/calendar/render?${t.toString()}`;
136
+ return e.description && 0 < e.description.length && t.append("details", e.description), e.location && 0 < e.location.length && t.append("location", e.location), `https://calendar.google.com/calendar/render?${t.toString()}`;
137
137
  }), BE = computed(() => {
138
138
  let t = new URLSearchParams({
139
139
  path: "/calendar/action/compose",
@@ -142,7 +142,7 @@ function useAddToCalendar(e) {
142
142
  startdt: j.toISOString(),
143
143
  enddt: M.toISOString()
144
144
  });
145
- return e.description && e.description.length > 0 && t.append("body", e.description), e.location && e.location.length > 0 && t.append("location", e.location), `https://outlook.live.com/calendar/0/deeplink/compose?${t.toString()}`;
145
+ return e.description && 0 < e.description.length && t.append("body", e.description), e.location && 0 < e.location.length && t.append("location", e.location), `https://outlook.live.com/calendar/0/deeplink/compose?${t.toString()}`;
146
146
  }), J = computed(() => {
147
147
  let t = new URLSearchParams({
148
148
  path: "/calendar/action/compose",
@@ -151,7 +151,7 @@ function useAddToCalendar(e) {
151
151
  startdt: j.toISOString(),
152
152
  enddt: M.toISOString()
153
153
  });
154
- return e.description && e.description.length > 0 && t.append("body", e.description), e.location && e.location.length > 0 && t.append("location", e.location), `https://outlook.office.com/calendar/0/deeplink/compose?${t.toString()}`;
154
+ return e.description && 0 < e.description.length && t.append("body", e.description), e.location && 0 < e.location.length && t.append("location", e.location), `https://outlook.office.com/calendar/0/deeplink/compose?${t.toString()}`;
155
155
  }), VE = computed(() => {
156
156
  let t = Math.floor((M.getTime() - j.getTime()) / 1e3 / 60), N = new URLSearchParams({
157
157
  v: "60",
@@ -159,7 +159,7 @@ function useAddToCalendar(e) {
159
159
  st: U(j),
160
160
  dur: t.toString()
161
161
  });
162
- return e.description && e.description.length > 0 && N.append("desc", e.description), e.location && e.location.length > 0 && N.append("in_loc", e.location), `https://calendar.yahoo.com/?${N.toString()}`;
162
+ return e.description && 0 < e.description.length && N.append("desc", e.description), e.location && 0 < e.location.length && N.append("in_loc", e.location), `https://calendar.yahoo.com/?${N.toString()}`;
163
163
  }), HE = (e) => {
164
164
  switch (e) {
165
165
  case "google": return zE.value;
@@ -344,7 +344,7 @@ var AddToCalendar_default = /* @__PURE__ */ defineComponent({
344
344
  setup(e, { emit: j }) {
345
345
  let M = e, N = j, V = ref(!1);
346
346
  function BE() {
347
- V.value = window.innerWidth <= 910;
347
+ V.value = 910 >= window.innerWidth;
348
348
  }
349
349
  onMounted(() => {
350
350
  BE(), window.addEventListener("resize", BE);
@@ -446,7 +446,7 @@ var AddToCalendar_default = /* @__PURE__ */ defineComponent({
446
446
  ])), [[M, e.ripple]]);
447
447
  };
448
448
  }
449
- }), [["__scopeId", "data-v-ce661abc"]]), _hoisted_1$74 = ["dismissable"], _hoisted_2$56 = { class: "m-0" }, Alert_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
449
+ }), [["__scopeId", "data-v-89598ca0"]]), _hoisted_1$74 = ["dismissable"], _hoisted_2$56 = { class: "m-0" }, Alert_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
450
450
  __name: "Alert",
451
451
  props: {
452
452
  message: {},
@@ -547,7 +547,7 @@ var AddToCalendar_default = /* @__PURE__ */ defineComponent({
547
547
  let e = performance.now();
548
548
  function t(I) {
549
549
  let V = I - e, U = Math.min(V / j.animationDuration, 1);
550
- M.value = GE(U), U < 1 ? requestAnimationFrame(t) : (N.value = !1, console.log("✅ TrendChart: Animation completed"));
550
+ M.value = GE(U), 1 > U ? requestAnimationFrame(t) : (N.value = !1, console.log("✅ TrendChart: Animation completed"));
551
551
  }
552
552
  requestAnimationFrame(t);
553
553
  }
@@ -700,7 +700,7 @@ var AddToCalendar_default = /* @__PURE__ */ defineComponent({
700
700
  return j.data.slice(0, Math.max(1, t));
701
701
  }), iD = computed(() => {
702
702
  let e = [], t = qE.value / 4;
703
- for (let j = 0; j <= 4; j++) {
703
+ for (let j = 0; 4 >= j; j++) {
704
704
  let M = j * t, N = ZE.value - j / 4 * (ZE.value - QE.value);
705
705
  e.push({
706
706
  y: M,
@@ -743,7 +743,7 @@ var AddToCalendar_default = /* @__PURE__ */ defineComponent({
743
743
  console.log(`Starting LineChart animation for "${j.title}" (duration: ${j.animationDuration}ms, start delay: ${j.animationStartDelay}ms)`), VE.value = !0, J.value = 0;
744
744
  let e = Date.now(), t = () => {
745
745
  let M = Date.now() - e, N = Math.min(M / j.animationDuration, 1);
746
- J.value = pD(N), N < 1 ? requestAnimationFrame(t) : (VE.value = !1, console.log(`LineChart animation completed for "${j.title}"`));
746
+ J.value = pD(N), 1 > N ? requestAnimationFrame(t) : (VE.value = !1, console.log(`LineChart animation completed for "${j.title}"`));
747
747
  };
748
748
  requestAnimationFrame(t);
749
749
  }, pD = (e) => 1 - (1 - e) ** 3;
@@ -833,7 +833,7 @@ var AddToCalendar_default = /* @__PURE__ */ defineComponent({
833
833
  ], 8, _hoisted_6$26))])], 512);
834
834
  };
835
835
  }
836
- }), [["__scopeId", "data-v-ceb26ffc"]]), _hoisted_1$71 = { class: "mb-1 flex space-between align-items-start m_mb-05 w-100p" }, _hoisted_2$53 = { class: "flex gap-025" }, _hoisted_3$43 = { class: "txt14 m-0 line-height-12 light opacity-6" }, _hoisted_4$30 = {
836
+ }), [["__scopeId", "data-v-8057ac4a"]]), _hoisted_1$71 = { class: "mb-1 flex space-between align-items-start m_mb-05 w-100p" }, _hoisted_2$53 = { class: "flex gap-025" }, _hoisted_3$43 = { class: "txt14 m-0 line-height-12 light opacity-6" }, _hoisted_4$30 = {
837
837
  key: 0,
838
838
  class: "txt12 color-gray"
839
839
  }, _hoisted_5$29 = { class: "flex" }, _hoisted_6$25 = {
@@ -860,7 +860,7 @@ var AddToCalendar_default = /* @__PURE__ */ defineComponent({
860
860
  subtitle: { default: "" }
861
861
  },
862
862
  setup(e) {
863
- let t = e, j = computed(() => t.percentageChange >= 0), M = computed(() => typeof t.value == "string" ? t.value : t.currency ? new Intl.NumberFormat("he-IL", {
863
+ let t = e, j = computed(() => 0 <= t.percentageChange), M = computed(() => typeof t.value == "string" ? t.value : t.currency ? new Intl.NumberFormat("he-IL", {
864
864
  style: "currency",
865
865
  currency: t.currency,
866
866
  minimumFractionDigits: 0
@@ -884,7 +884,7 @@ var AddToCalendar_default = /* @__PURE__ */ defineComponent({
884
884
  _: 1
885
885
  }));
886
886
  }
887
- }), [["__scopeId", "data-v-3883b5a7"]]), _hoisted_1$70 = { class: "flex space-between pb-1" }, _hoisted_2$52 = { class: "flex align-center gap-05" }, _hoisted_3$42 = { class: "white-space light m_txt14" }, _hoisted_4$29 = {
887
+ }), [["__scopeId", "data-v-7a4b9462"]]), _hoisted_1$70 = { class: "flex space-between pb-1" }, _hoisted_2$52 = { class: "flex align-center gap-05" }, _hoisted_3$42 = { class: "white-space light m_txt14" }, _hoisted_4$29 = {
888
888
  key: 0,
889
889
  class: "flex align-center gap-025"
890
890
  }, _hoisted_5$28 = ["width", "height"], _hoisted_6$24 = ["transform"], _hoisted_7$17 = ["d", "fill"], _hoisted_8$12 = {
@@ -979,7 +979,7 @@ var AddToCalendar_default = /* @__PURE__ */ defineComponent({
979
979
  },
980
980
  setup(e, { expose: j }) {
981
981
  let M = e, N = computed(() => {
982
- if (M.colors && M.colors.length > 0) return M.colors;
982
+ if (M.colors && 0 < M.colors.length) return M.colors;
983
983
  let e = M.color;
984
984
  return [
985
985
  1,
@@ -1016,11 +1016,11 @@ var AddToCalendar_default = /* @__PURE__ */ defineComponent({
1016
1016
  J.value && UE && UE.observe(J.value);
1017
1017
  }, 100));
1018
1018
  }, GE = () => {
1019
- let e = M.animationDelay > 0 ? "staggered with delay" : "quick stagger";
1019
+ let e = 0 < M.animationDelay ? "staggered with delay" : "quick stagger";
1020
1020
  console.log(`Starting animation for "${M.title}" - ${e} mode (duration: ${M.animationDuration}ms, start delay: ${M.animationStartDelay}ms)`), U.value = !0, V.value = 0;
1021
1021
  let t = Date.now(), j = () => {
1022
1022
  let e = Date.now() - t, N = Math.min(e / M.animationDuration, 1);
1023
- V.value = KE(N), N < 1 ? requestAnimationFrame(j) : (U.value = !1, console.log("Animation completed"));
1023
+ V.value = KE(N), 1 > N ? requestAnimationFrame(j) : (U.value = !1, console.log("Animation completed"));
1024
1024
  };
1025
1025
  requestAnimationFrame(j);
1026
1026
  }, KE = (e) => 1 - (1 - e) ** 3;
@@ -1052,18 +1052,17 @@ var AddToCalendar_default = /* @__PURE__ */ defineComponent({
1052
1052
  innerY: U,
1053
1053
  outerX: RE,
1054
1054
  outerY: zE,
1055
- labelX: RE + (RE > 0 ? 8 : -8),
1055
+ labelX: RE + (0 < RE ? 8 : -8),
1056
1056
  labelY: zE,
1057
- textAnchor: RE > 0 ? "start" : "end"
1057
+ textAnchor: 0 < RE ? "start" : "end"
1058
1058
  };
1059
1059
  }, QE = computed(() => M.centerValue === void 0 ? M.showCenterTotal ? YE.value : 0 : M.centerValue), $E = computed(() => {
1060
1060
  let e = 0;
1061
1061
  return M.data.map((t, j) => {
1062
1062
  let I = t.value / YE.value, U = I * 360, RE = e, zE = e + U;
1063
1063
  e += U;
1064
- let BE = M.animationDelay > 0 ? 100 + j * M.animationDelay : 100 + j * 50, J = V.value * M.animationDuration, VE = !M.animated || J >= BE;
1065
- if (M.animated && j === 0 && console.log(`Animation progress: ${(V.value * 100).toFixed(1)}%, elapsed: ${J.toFixed(0)}ms`), VE) j < 3 && console.log(`Segment ${j} visible! - delay: ${BE}ms, elapsed: ${J.toFixed(0)}ms`);
1066
- else return j < 3 && console.log(`Segment ${j} waiting - needs ${BE}ms, current: ${J.toFixed(0)}ms`), {
1064
+ let BE = 0 < M.animationDelay ? 100 + j * M.animationDelay : 100 + j * 50, J = V.value * M.animationDuration, VE = !M.animated || J >= BE;
1065
+ if (M.animated && j === 0 && console.log(`Animation progress: ${(V.value * 100).toFixed(1)}%, elapsed: ${J.toFixed(0)}ms`), !VE) return 3 > j && console.log(`Segment ${j} waiting - needs ${BE}ms, current: ${J.toFixed(0)}ms`), {
1067
1066
  ...t,
1068
1067
  percentage: I,
1069
1068
  angle: 0,
@@ -1073,7 +1072,8 @@ var AddToCalendar_default = /* @__PURE__ */ defineComponent({
1073
1072
  color: t.color || N.value[j % N.value.length],
1074
1073
  visible: !1
1075
1074
  };
1076
- let HE = RE * Math.PI / 180, UE = zE * Math.PI / 180, WE = M.size / 2 - 10, GE = M.donut ? WE * M.thickness : 0, KE = zE - RE, qE = KE > 180 ? 1 : 0, JE = M.donut ? nD(HE, UE, WE, GE, qE) : eD(HE, UE, WE, qE);
1075
+ j < 3 && console.log(`Segment ${j} visible! - delay: ${BE}ms, elapsed: ${J.toFixed(0)}ms`);
1076
+ let HE = RE * Math.PI / 180, UE = zE * Math.PI / 180, WE = M.size / 2 - 10, GE = M.donut ? WE * M.thickness : 0, KE = zE - RE, qE = 180 < KE ? 1 : 0, JE = M.donut ? nD(HE, UE, WE, GE, qE) : eD(HE, UE, WE, qE);
1077
1077
  return {
1078
1078
  ...t,
1079
1079
  percentage: I,
@@ -1210,7 +1210,7 @@ var AddToCalendar_default = /* @__PURE__ */ defineComponent({
1210
1210
  ]))), 128))])) : createCommentVNode("", !0)], 2)], 512);
1211
1211
  };
1212
1212
  }
1213
- }), [["__scopeId", "data-v-d5be42d6"]]), _hoisted_1$69 = ["src", "alt"], Avatar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1213
+ }), [["__scopeId", "data-v-3ec5a170"]]), _hoisted_1$69 = ["src", "alt"], Avatar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1214
1214
  __name: "Avatar",
1215
1215
  props: {
1216
1216
  fallback: {},
@@ -1857,7 +1857,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
1857
1857
  type: `video/${M.value}`
1858
1858
  }, null, 8, _hoisted_3$41)], 12, _hoisted_2$51)) : createCommentVNode("", !0)], 2));
1859
1859
  }
1860
- }), [["__scopeId", "data-v-7af0666d"]]), CalendarPopover_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1860
+ }), [["__scopeId", "data-v-cbca7e85"]]), CalendarPopover_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1861
1861
  __name: "CalendarPopover",
1862
1862
  props: {
1863
1863
  event: {},
@@ -1877,7 +1877,8 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
1877
1877
  width: 400,
1878
1878
  height: 150
1879
1879
  };
1880
- } else if (j.targetElement && j.show) {
1880
+ }
1881
+ if (j.targetElement && j.show) {
1881
1882
  let e = j.targetElement.getBoundingClientRect(), t = e.top + N.value + e.height / 2 - 150 / 2, M = e.left + V.value + e.width + 10;
1882
1883
  return t = Math.max(N.value + 10, Math.min(t, zE.value + N.value - 150 - 10)), M + 400 > BE.value + V.value && (M = e.left + V.value - 400 + e.width - 10), M < V.value && (M = e.right + V.value + 10), {
1883
1884
  top: t,
@@ -1918,7 +1919,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
1918
1919
  }, 8, ["style"])), [[j, HE]]) : createCommentVNode("", !0);
1919
1920
  };
1920
1921
  }
1921
- }), [["__scopeId", "data-v-56031aae"]]), _hoisted_1$67 = { class: "agenda-view" }, _hoisted_2$50 = ["data-date", "onClick"], _hoisted_3$40 = { class: "event-content" }, _hoisted_4$28 = { class: "event-time" }, _hoisted_5$27 = { class: "event-details" }, _hoisted_6$23 = { class: "event-title" }, AgendaView_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1922
+ }), [["__scopeId", "data-v-bfc9d795"]]), _hoisted_1$67 = { class: "agenda-view" }, _hoisted_2$50 = ["data-date", "onClick"], _hoisted_3$40 = { class: "event-content" }, _hoisted_4$28 = { class: "event-time" }, _hoisted_5$27 = { class: "event-details" }, _hoisted_6$23 = { class: "event-title" }, AgendaView_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1922
1923
  __name: "AgendaView",
1923
1924
  props: {
1924
1925
  events: {},
@@ -1995,7 +1996,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
1995
1996
  onClick: withModifiers((t) => HE(e, t), ["stop"])
1996
1997
  }, [createElementVNode("div", _hoisted_3$40, [createElementVNode("div", _hoisted_4$28, toDisplayString(unref(formatDate)(e.start_time, { fmt: "HH:mm" })), 1), createElementVNode("div", _hoisted_5$27, [createElementVNode("div", _hoisted_6$23, toDisplayString(e.title), 1), createElementVNode("div", { class: normalizeClass(["event-day", { today: e.isToday }]) }, toDisplayString(e.dayLabel), 3)])])], 12, _hoisted_2$50))), 128))], 512)]));
1997
1998
  }
1998
- }), [["__scopeId", "data-v-db08d7bc"]]), _hoisted_1$66 = { class: "w-100p overflow-hidden m_overflow h-100p grid" }, _hoisted_2$49 = { class: "border-bottom me-1 txt-center p-05 dayGrid" }, _hoisted_3$39 = { class: "overflow h-100p pe-05" }, _hoisted_4$27 = { class: "time-column" }, _hoisted_5$26 = { class: "events-column" }, _hoisted_6$22 = ["onClick"], _hoisted_7$16 = { class: "event-content" }, _hoisted_8$11 = { class: "white-space ellipsis-1" }, _hoisted_9$9 = { class: "event-time opacity-8" }, _hoisted_10$6 = { class: "color-primary txt-12 p-025" }, slotHeight$1 = 60, slotDuration$1 = 60, DayView_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1999
+ }), [["__scopeId", "data-v-f6b2d672"]]), _hoisted_1$66 = { class: "w-100p overflow-hidden m_overflow h-100p grid" }, _hoisted_2$49 = { class: "border-bottom me-1 txt-center p-05 dayGrid" }, _hoisted_3$39 = { class: "overflow h-100p pe-05" }, _hoisted_4$27 = { class: "time-column" }, _hoisted_5$26 = { class: "events-column" }, _hoisted_6$22 = ["onClick"], _hoisted_7$16 = { class: "event-content" }, _hoisted_8$11 = { class: "white-space ellipsis-1" }, _hoisted_9$9 = { class: "event-time opacity-8" }, _hoisted_10$6 = { class: "color-primary txt-12 p-025" }, slotHeight$1 = 60, slotDuration$1 = 60, DayView_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1999
2000
  __name: "DayView",
2000
2001
  props: {
2001
2002
  events: {},
@@ -2018,7 +2019,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2018
2019
  endTime: null
2019
2020
  }), VE = ref(0), HE = ref(!1), UE = ref(null), WE = computed(() => {
2020
2021
  let e = [];
2021
- for (let t = U.start; t < U.end; t++) for (let j = 0; j < 60; j += slotDuration$1) e.push({
2022
+ for (let t = U.start; t < U.end; t++) for (let j = 0; 60 > j; j += slotDuration$1) e.push({
2022
2023
  hour: t,
2023
2024
  minute: j,
2024
2025
  time: `${t.toString().padStart(2, "0")}:${j.toString().padStart(2, "0")}`
@@ -2124,7 +2125,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2124
2125
  j[2] ||= createElementVNode("div", { class: "border-bottom me-1" }, null, -1)
2125
2126
  ]));
2126
2127
  }
2127
- }), [["__scopeId", "data-v-f70e880d"]]), _hoisted_1$65 = { class: "month-view" }, _hoisted_2$48 = { class: "month-header" }, _hoisted_3$38 = { class: "month-grid" }, _hoisted_4$26 = { class: "day-number" }, _hoisted_5$25 = { class: "day-events" }, _hoisted_6$21 = {
2128
+ }), [["__scopeId", "data-v-2c78a079"]]), _hoisted_1$65 = { class: "month-view" }, _hoisted_2$48 = { class: "month-header" }, _hoisted_3$38 = { class: "month-grid" }, _hoisted_4$26 = { class: "day-number" }, _hoisted_5$25 = { class: "day-events" }, _hoisted_6$21 = {
2128
2129
  key: 0,
2129
2130
  class: "event-dot"
2130
2131
  }, _hoisted_7$15 = ["onClick"], _hoisted_8$10 = { class: "event-title" }, _hoisted_9$8 = { class: "event-time" }, MonthView_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -2135,7 +2136,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2135
2136
  },
2136
2137
  emits: ["eventClick", "openPopover"],
2137
2138
  setup(e, { emit: j }) {
2138
- let M = e, N = j, V = useSlots(), U = computed(() => window.innerWidth < 768), J = computed(() => [
2139
+ let M = e, N = j, V = useSlots(), U = computed(() => 768 > window.innerWidth), J = computed(() => [
2139
2140
  "Sun",
2140
2141
  "Mon",
2141
2142
  "Tue",
@@ -2145,7 +2146,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2145
2146
  "Sat"
2146
2147
  ]), VE = computed(() => {
2147
2148
  let e = M.startDate.getFullYear(), t = M.startDate.getMonth(), j = new Date(e, t, 1), N = new Date(e, t + 1, 0).getDate(), I = j.getDay(), V = (/* @__PURE__ */ new Date()).toDateString(), U = [], RE = new Date(e, t, 0).getDate();
2148
- for (let j = I - 1; j >= 0; j--) {
2149
+ for (let j = I - 1; 0 <= j; j--) {
2149
2150
  let M = new Date(e, t - 1, RE - j);
2150
2151
  U.push({
2151
2152
  date: M,
@@ -2208,7 +2209,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2208
2209
  onClick: withModifiers((t) => HE(e, t), ["stop"])
2209
2210
  }, [createElementVNode("div", _hoisted_8$10, toDisplayString(e.title), 1), createElementVNode("div", _hoisted_9$8, toDisplayString(unref(formatDate)(e.start_time, "HH:mm")), 1)], 12, _hoisted_7$15))), 128))])], 2))), 128))])]));
2210
2211
  }
2211
- }), [["__scopeId", "data-v-3327f08f"]]), _hoisted_1$64 = { class: "w-100p overflow-hidden m_overflow h-100p grid" }, _hoisted_2$47 = ["onMousedown"], _hoisted_3$37 = ["onClick"], _hoisted_4$25 = { class: "overflow-hidden color-white p-025 txt12 h-100p" }, _hoisted_5$24 = { class: "white-space ellipsis-1" }, _hoisted_6$20 = { class: "txt10 opacity-8 user-select-none" }, _hoisted_7$14 = { class: "color-primary txt-12 p-025" }, slotHeight = 60, slotDuration = 60, WeekView_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2212
+ }), [["__scopeId", "data-v-c5934dc4"]]), _hoisted_1$64 = { class: "w-100p overflow-hidden m_overflow h-100p grid" }, _hoisted_2$47 = ["onMousedown"], _hoisted_3$37 = ["onClick"], _hoisted_4$25 = { class: "overflow-hidden color-white p-025 txt12 h-100p" }, _hoisted_5$24 = { class: "white-space ellipsis-1" }, _hoisted_6$20 = { class: "txt10 opacity-8 user-select-none" }, _hoisted_7$14 = { class: "color-primary txt-12 p-025" }, slotHeight = 60, slotDuration = 60, WeekView_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2212
2213
  __name: "WeekView",
2213
2214
  props: {
2214
2215
  events: { default: () => [] },
@@ -2235,14 +2236,14 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2235
2236
  }), UE = ref(0), WE = ref(!1), GE = ref(), KE = ref(), qE = ref(), JE = ref([]), YE = ref(), XE = ref(), ZE = computed(() => {
2236
2237
  let e = [], t = new Date(M.startDate), j = M.weekStart === "Sunday" ? 0 : 1, N = t.getDay();
2237
2238
  t.setDate(t.getDate() - N + j), t.setHours(0, 0, 0, 0);
2238
- for (let j = 0; j < 7; j++) {
2239
+ for (let j = 0; 7 > j; j++) {
2239
2240
  let M = new Date(t);
2240
2241
  M.setDate(t.getDate() + j), e.push(M);
2241
2242
  }
2242
2243
  return e;
2243
2244
  }), QE = computed(() => {
2244
2245
  let e = [];
2245
- for (let t = U.start; t < U.end; t++) for (let j = 0; j < 60; j += slotDuration) e.push({
2246
+ for (let t = U.start; t < U.end; t++) for (let j = 0; 60 > j; j += slotDuration) e.push({
2246
2247
  hour: t,
2247
2248
  minute: j,
2248
2249
  time: `${t.toString().padStart(2, "0")}:${j.toString().padStart(2, "0")}`
@@ -2277,9 +2278,9 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2277
2278
  N.length === 0 ? N = [e] : N.some((t) => {
2278
2279
  let j = new Date(e.start_time).getTime(), M = new Date(e.end_time).getTime(), N = new Date(t.start_time).getTime(), I = new Date(t.end_time).getTime();
2279
2280
  return !(M <= N || j >= I);
2280
- }) ? N.push(e) : (N.length > 0 && M.push([...N]), N = [e]);
2281
- }), N.length > 0 && M.push(N), M.forEach((t) => {
2282
- if (t.length > 1) {
2281
+ }) ? N.push(e) : (0 < N.length && M.push([...N]), N = [e]);
2282
+ }), 0 < N.length && M.push(N), M.forEach((t) => {
2283
+ if (1 < t.length) {
2283
2284
  let e = (100 - 2 * (t.length - 1)) / t.length;
2284
2285
  t.forEach((j, M) => {
2285
2286
  j.overlappingEvents = t.length, j.position = M, j.width = e, j.left = M * (e + 2);
@@ -2328,7 +2329,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2328
2329
  if (t !== -1 && (HE.value.endDay = t, HE.value.end = {
2329
2330
  x: HE.value.start.x,
2330
2331
  y: e.clientY - YE.value.getBoundingClientRect().top
2331
- }, t >= 0 && t < ZE.value.length)) {
2332
+ }, 0 <= t && t < ZE.value.length)) {
2332
2333
  let t = new Date(ZE.value[HE.value.startDay]);
2333
2334
  t.setHours(0, 0, 0, 0);
2334
2335
  let j = uD(e.clientY, t);
@@ -2455,7 +2456,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2455
2456
  j[3] ||= createElementVNode("div", { class: "border-bottom me-1" }, null, -1)
2456
2457
  ]));
2457
2458
  }
2458
- }), [["__scopeId", "data-v-a786d23c"]]), _hoisted_1$63 = { class: "calendar" }, _hoisted_2$46 = { class: "flex m_block m_pb-1" }, _hoisted_3$36 = { class: "txt-light my-0 m_pb-1" }, _hoisted_4$24 = { class: "ms-auto flex gap-025" }, Index_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2459
+ }), [["__scopeId", "data-v-b1f0e5f4"]]), _hoisted_1$63 = { class: "calendar" }, _hoisted_2$46 = { class: "flex m_block m_pb-1" }, _hoisted_3$36 = { class: "txt-light my-0 m_pb-1" }, _hoisted_4$24 = { class: "ms-auto flex gap-025" }, Index_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2459
2460
  __name: "Index",
2460
2461
  props: {
2461
2462
  events: { default: () => [] },
@@ -2612,7 +2613,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2612
2613
  ])
2613
2614
  ]));
2614
2615
  }
2615
- }), [["__scopeId", "data-v-56cb2fe4"]]), _hoisted_1$62 = {
2616
+ }), [["__scopeId", "data-v-693cc32d"]]), _hoisted_1$62 = {
2616
2617
  key: 0,
2617
2618
  class: "card_label"
2618
2619
  }, Card_default = /* @__PURE__ */ defineComponent({
@@ -2710,9 +2711,9 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2710
2711
  WHEEL_PERCENT: .3
2711
2712
  }, VE = ref(), HE = computed(() => !!VE.value), UE = ref(N.items), WE = ref(N.index), GE = ref(0), KE = ref("auto"), qE = ref(!1), JE = ref(!1), YE = ref(0), XE = ref(0), ZE = ref(0), QE = ref(0), $E = ref(0), nD = ref(0), iD, oD, cD = ref([]);
2712
2713
  function uD() {
2713
- if (cD.value.length < 2) return 0;
2714
+ if (2 > cD.value.length) return 0;
2714
2715
  let e = Date.now(), t = cD.value.filter((t) => e - t.time < VELOCITY_SAMPLE_DURATION);
2715
- if (t.length < 2) return 0;
2716
+ if (2 > t.length) return 0;
2716
2717
  let j = t[0], M = t[t.length - 1], N = M.time - j.time;
2717
2718
  return N === 0 ? 0 : (M.position - j.position) / N;
2718
2719
  }
@@ -2727,21 +2728,21 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2727
2728
  VE.value.style.transform = `translateX(${t}px)`;
2728
2729
  }
2729
2730
  function pD(e) {
2730
- return e < .5 ? 2 * e * e : -1 + (4 - 2 * e) * e;
2731
+ return .5 > e ? 2 * e * e : -1 + (4 - 2 * e) * e;
2731
2732
  }
2732
2733
  function _D(e, t, j) {
2733
2734
  let M = performance.now();
2734
2735
  function N(I) {
2735
2736
  if (!HE.value) return;
2736
2737
  let V = I - M, U = Math.min(V / j, 1);
2737
- fD(e + (t - e) * pD(U)), U < 1 && requestAnimationFrame(N);
2738
+ fD(e + (t - e) * pD(U)), 1 > U && requestAnimationFrame(N);
2738
2739
  }
2739
2740
  requestAnimationFrame(N);
2740
2741
  }
2741
2742
  function vD(e, t = !1) {
2742
- if (CD(), !HE.value || !VE.value || e < 0 || e >= GE.value) return;
2743
+ if (CD(), !HE.value || !VE.value || 0 > e || e >= GE.value) return;
2743
2744
  let j = VE.value.offsetWidth, M = j * GAP_PERCENT / 100, N = (j - (UE.value - 1) * M) / UE.value, I = e * M, V = -(N * e + I);
2744
- _D(dD(), V, t ? U.TOUCH : window.innerWidth < 600 ? U.MOBILE : U.DESKTOP), WE.value = e, SD();
2745
+ _D(dD(), V, t ? U.TOUCH : 600 > window.innerWidth ? U.MOBILE : U.DESKTOP), WE.value = e, SD();
2745
2746
  }
2746
2747
  function yD() {
2747
2748
  HE.value && (CD(), vD(N.rtl ? (WE.value - 1 + GE.value) % GE.value : (WE.value + 1) % GE.value));
@@ -2769,7 +2770,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2769
2770
  }
2770
2771
  function ED() {
2771
2772
  if (!HE.value || !VE.value) return;
2772
- UE.value = window.innerWidth < 600 ? 1 : window.innerWidth < 991 ? Math.min(N.items, 2) : N.items;
2773
+ UE.value = 600 > window.innerWidth ? 1 : 991 > window.innerWidth ? Math.min(N.items, 2) : N.items;
2773
2774
  let e = VE.value.offsetWidth, t = e * GAP_PERCENT / 100, j = (e - (UE.value - 1) * t) / UE.value, M = WE.value * t;
2774
2775
  fD(-(j * WE.value + M)), SD();
2775
2776
  }
@@ -2802,8 +2803,8 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2802
2803
  if (JE.value = !1, document.removeEventListener("mousemove", jD), document.removeEventListener("mouseup", MD), !HE.value || !VE.value) return;
2803
2804
  let e = dD(), t = VE.value.offsetWidth / UE.value, j = -e / t, M = e - ZE.value, N = Math.abs(M) / t, I = j;
2804
2805
  if (N > J.SWIPE_PERCENT) {
2805
- let e = M > 0 ? -1 : 1;
2806
- I = Math.floor(j) + (e < 0 ? 0 : 1);
2806
+ let e = 0 < M ? -1 : 1;
2807
+ I = Math.floor(j) + (0 > e ? 0 : 1);
2807
2808
  } else I = Math.round(j);
2808
2809
  I = Math.max(0, Math.min(I, GE.value - 1)), vD(I, !0), qE.value && setTimeout(() => {
2809
2810
  qE.value = !1;
@@ -2826,7 +2827,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2826
2827
  if (!HE.value || !VE.value || !JE.value) return;
2827
2828
  let t = e.touches[0], j = t.pageX, M = t.pageY, I = j - YE.value, V = M - XE.value;
2828
2829
  if (!ND.value) {
2829
- if ((Math.abs(I) > 5 || Math.abs(V) > 5) && (PD.value = Math.abs(I) > Math.abs(V), ND.value = !0, !PD.value)) {
2830
+ if ((5 < Math.abs(I) || 5 < Math.abs(V)) && (PD.value = Math.abs(I) > Math.abs(V), ND.value = !0, !PD.value)) {
2830
2831
  JE.value = !1;
2831
2832
  return;
2832
2833
  }
@@ -2841,7 +2842,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2841
2842
  let RE = U - VELOCITY_SAMPLE_DURATION;
2842
2843
  if (cD.value = cD.value.filter((e) => e.time >= RE), Math.abs(I) > J.TOUCH && (qE.value = !0, e.preventDefault()), qE.value) {
2843
2844
  let e = VE.value.offsetWidth, t = e * GAP_PERCENT / 100, j = (e - (UE.value - 1) * t) / UE.value * GE.value + t * (GE.value - 1), M = ZE.value + (N.rtl ? -I : I);
2844
- if (M > 0) M *= .5;
2845
+ if (0 < M) M *= .5;
2845
2846
  else if (M < -j + e) {
2846
2847
  let t = -j + e - M;
2847
2848
  M = -j + e - t * .5;
@@ -2855,16 +2856,16 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2855
2856
  return;
2856
2857
  }
2857
2858
  let e = VE.value.offsetWidth, t = e * GAP_PERCENT / 100, j = (e - (UE.value - 1) * t) / UE.value, M = j + t, I = dD(), V = I;
2858
- if (I > 0) V = 0;
2859
+ if (0 < I) V = 0;
2859
2860
  else {
2860
2861
  let e = -(j * (GE.value - 1) + t * (GE.value - 1));
2861
2862
  I < e && (V = e);
2862
2863
  }
2863
2864
  let RE = Math.abs(V / M), zE = QE.value - YE.value, BE = Math.abs(zE) / M, KE = uD(), XE = RE, ZE = 0;
2864
- Math.abs(KE) > J.VELOCITY && (ZE = KE < 0 ? 1 : -1);
2865
- let $E = window.innerWidth < 600;
2865
+ Math.abs(KE) > J.VELOCITY && (ZE = 0 > KE ? 1 : -1);
2866
+ let $E = 600 > window.innerWidth;
2866
2867
  if (BE > J.SWIPE_PERCENT || Math.abs(KE) > J.VELOCITY) {
2867
- let e = BE > J.SWIPE_PERCENT ? zE > 0 ? -1 : 1 : ZE, t = N.rtl ? -e : e;
2868
+ let e = BE > J.SWIPE_PERCENT ? 0 < zE ? -1 : 1 : ZE, t = N.rtl ? -e : e;
2868
2869
  XE = $E ? WE.value + t : Math.round(RE) + t;
2869
2870
  } else XE = $E ? WE.value : Math.round(RE);
2870
2871
  XE = Math.max(0, Math.min(XE, GE.value - 1)), WE.value = XE;
@@ -2882,7 +2883,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2882
2883
  }, 50);
2883
2884
  let t = VE.value.offsetWidth / UE.value * J.WHEEL_PERCENT;
2884
2885
  if (Math.abs(nD.value) > t) {
2885
- let e = nD.value > 0 ? 1 : -1, t = Math.max(0, Math.min(WE.value + e, GE.value - 1));
2886
+ let e = 0 < nD.value ? 1 : -1, t = Math.max(0, Math.min(WE.value + e, GE.value - 1));
2886
2887
  t !== WE.value && (vD(t, !0), nD.value = 0);
2887
2888
  }
2888
2889
  }
@@ -2946,7 +2947,7 @@ var _hoisted_1$68 = ["src"], _hoisted_2$51 = [
2946
2947
  }, void 0, !0)])], 2)
2947
2948
  ], 8, _hoisted_1$61));
2948
2949
  }
2949
- }), [["__scopeId", "data-v-406c405d"]]), SLOT_VALUE_COMPONENTS$1 = new Set([
2950
+ }), [["__scopeId", "data-v-18dc0b5d"]]), SLOT_VALUE_COMPONENTS$1 = new Set([
2950
2951
  "div",
2951
2952
  "span",
2952
2953
  "p"
@@ -2957,8 +2958,8 @@ function useSchemaField(e) {
2957
2958
  if (e == null) return "";
2958
2959
  if (typeof e != "object") return String(e);
2959
2960
  if (Array.isArray(e)) return e.map((e) => I(e, t + 1)).join(", ");
2960
- let j = t > 0 ? " ".repeat(t) : "", M = " ".repeat(t + 1), N = Object.entries(e);
2961
- return N.length === 0 ? "{}" : t > 0 ? `{\n${N.map(([e, j]) => `${M}${e}: ${I(j, t + 1)}`).join(",\n")}\n${j}}` : N.map(([e, j]) => `${e}: ${typeof j == "object" && j ? I(j, t + 1) : String(j)}`).join("\n");
2961
+ let j = 0 < t ? " ".repeat(t) : "", M = " ".repeat(t + 1), N = Object.entries(e);
2962
+ return N.length === 0 ? "{}" : 0 < t ? `{\n${N.map(([e, j]) => `${M}${e}: ${I(j, t + 1)}`).join(",\n")}\n${j}}` : N.map(([e, j]) => `${e}: ${typeof j == "object" && j ? I(j, t + 1) : String(j)}`).join("\n");
2962
2963
  }
2963
2964
  function V(e) {
2964
2965
  let t = {
@@ -3000,8 +3001,8 @@ function useSchemaField(e) {
3000
3001
  if (!getNestedValue(J, VE)) return;
3001
3002
  } else if (!VE) return;
3002
3003
  }
3003
- let { $el: HE, children: UE, class: WE, id: GE, transform: KE, validate: JE, onUpdate: YE, slots: ZE, required: QE, label: $E, placeholder: eD, disabled: tD, ...nD } = e, rD = e.id ? "get" in (J || {}) ? J?.get(e.id) : getNestedValue(J, e.id) : void 0, iD = KE ? GE ? KE(rD, J) : KE(J) : rD, aD = bindAttrs(nD, rD, J), oD = typeof BE == "string" && SLOT_VALUE_COMPONENTS$1.has(BE), sD = typeof BE == "string" && SRC_VALUE_COMPONENTS$1.has(BE), cD = {
3004
- ...aD,
3004
+ let { $el: HE, children: UE, class: WE, id: GE, transform: KE, validate: JE, onUpdate: YE, slots: ZE, required: QE, label: $E, placeholder: eD, disabled: tD, defaultValue: nD, ...rD } = e, iD = e.id ? "get" in (J || {}) ? J?.get(e.id) : getNestedValue(J, e.id) : void 0, aD = KE ? GE ? KE(iD, J) : KE(J) : iD, oD = bindAttrs(rD, iD, J), sD = typeof BE == "string" && SLOT_VALUE_COMPONENTS$1.has(BE), cD = typeof BE == "string" && SRC_VALUE_COMPONENTS$1.has(BE), lD = {
3005
+ ...oD,
3005
3006
  required: QE,
3006
3007
  label: $E,
3007
3008
  placeholder: eD,
@@ -3009,57 +3010,58 @@ function useSchemaField(e) {
3009
3010
  validate: JE,
3010
3011
  id: GE,
3011
3012
  getFormData: j,
3012
- onUpdate: YE
3013
+ onUpdate: YE,
3014
+ defaultValue: nD
3013
3015
  };
3014
- if (typeof e.onClick == "function") {
3016
+ if (BE === FieldArray_default && e.attrs?.schema && (lD.schema = e.attrs.schema), BE === FieldArray_default && e.attrs?.type && (lD.type = e.attrs.type), BE === FieldArray_default && "collapsed" in e && (lD.collapsed = e.collapsed), typeof e.onClick == "function") {
3015
3017
  let t = e.onClick;
3016
- cD.onClick = () => {
3017
- GE ? t(rD, J) : t(J);
3018
+ lD.onClick = () => {
3019
+ GE ? t(iD, J) : t(J);
3018
3020
  };
3019
3021
  }
3020
- if (t === "form" ? (cD.modelValue = rD, cD["onUpdate:modelValue"] = (t) => {
3022
+ if (t === "form" ? (lD.modelValue = iD, lD["onUpdate:modelValue"] = (t) => {
3021
3023
  M?.(e, t);
3022
- }) : oD || (sD ? cD.src = iD : cD.modelValue = iD), Object.keys(cD).forEach((e) => {
3023
- cD[e] === void 0 && delete cD[e];
3024
- }), e.options) if (Array.isArray(e.options)) cD.options = e.options;
3024
+ }) : sD || (cD ? lD.src = aD : lD.modelValue = aD), Object.keys(lD).forEach((e) => {
3025
+ lD[e] === void 0 && delete lD[e];
3026
+ }), e.options) if (Array.isArray(e.options)) lD.options = e.options;
3025
3027
  else if (typeof e.options == "function") {
3026
3028
  let t = e.options;
3027
- BE === SelectInput_default ? cD.options = (e) => {
3028
- let M = j?.(), N = rD;
3029
+ BE === SelectInput_default ? lD.options = (e) => {
3030
+ let M = j?.(), N = iD;
3029
3031
  if (typeof t == "function" && t.length === 1) return t(e);
3030
- if (typeof t == "function" && t.length >= 3) return t(e, N, M);
3032
+ if (typeof t == "function" && 3 <= t.length) return t(e, N, M);
3031
3033
  let I = t(N, M);
3032
3034
  return Array.isArray(I) ? I : typeof I == "function" ? I(e) : I && typeof I.then == "function" ? I : [];
3033
- } : cD.options = async () => {
3034
- let e = j?.(), M = rD, N = t(M, e);
3035
- return Array.isArray(N) ? N : typeof N == "function" ? await N("") : N && typeof N.then == "function" ? await N : t.length >= 3 ? await t("", M, e) : [];
3035
+ } : lD.options = async () => {
3036
+ let e = j?.(), M = iD, N = t(M, e);
3037
+ return Array.isArray(N) ? N : typeof N == "function" ? await N("") : N && typeof N.then == "function" ? await N : 3 <= t.length ? await t("", M, e) : [];
3036
3038
  };
3037
- } else cD.options = e.options;
3039
+ } else lD.options = e.options;
3038
3040
  if (e.attrs) {
3039
- let t = bindAttrs(e.attrs, rD, J);
3041
+ let t = bindAttrs(e.attrs, iD, J);
3040
3042
  Object.entries(t).forEach(([e, t]) => {
3041
3043
  if (e !== "$el") if (typeof t == "function") if (e === "onClick") {
3042
3044
  let e = t;
3043
- cD.onClick = () => {
3044
- GE ? e(rD, J) : e(J);
3045
+ lD.onClick = () => {
3046
+ GE ? e(iD, J) : e(J);
3045
3047
  };
3046
- } else e.startsWith("on") ? cD[e] = t : cD[e] = t(rD, J);
3047
- else cD[e] = t;
3048
+ } else e.startsWith("on") ? lD[e] = t : lD[e] = t(iD, J);
3049
+ else lD[e] = t;
3048
3050
  });
3049
3051
  }
3050
- cD.class = classify(rD, J, WE, cD.class);
3051
- let lD = {};
3052
- UE && UE.length > 0 && (lD.default = () => UE.map((e) => U(e, zE)).filter(Boolean)), oD && iD !== void 0 && (lD.default = () => String(iD ?? "")), ZE && Object.entries(ZE).forEach(([t, j]) => {
3053
- lD[t] = () => Array.isArray(j) ? j.map((t) => typeof t == "function" ? t({
3052
+ lD.class = classify(iD, J, WE, lD.class);
3053
+ let uD = {};
3054
+ UE && 0 < UE.length && (uD.default = () => UE.map((e) => U(e, zE)).filter(Boolean)), sD && aD !== void 0 && (uD.default = () => String(aD ?? "")), ZE && Object.entries(ZE).forEach(([t, j]) => {
3055
+ uD[t] = () => Array.isArray(j) ? j.map((t) => typeof t == "function" ? t({
3054
3056
  row: J,
3055
3057
  field: e
3056
3058
  }) : isVNode(t) ? t : RE(t, zE)) : [];
3057
3059
  });
3058
- let uD = e.id ? zE?.[e.id]?.({
3060
+ let dD = e.id ? zE?.[e.id]?.({
3059
3061
  row: J,
3060
3062
  field: e
3061
3063
  }) : void 0;
3062
- return t === "preview" ? !N && (iD == null || typeof iD == "string" && iD.length === 0) ? void 0 : h("div", { class: "preview-field" }, [h("div", { class: "field-label" }, `${e.label || keyToLabel(e.id || "")}:`), h("div", { class: "field-value" }, [uD || (typeof e.$el == "object" ? h(BE, cD, lD) : typeof iD == "object" && iD ? h("pre", { style: "margin: 0; white-space: pre-wrap; font-family: inherit; font-size: inherit;" }, I(iD)) : String(iD ?? ""))])]) : uD || h(BE, cD, lD);
3064
+ return t === "preview" ? !N && (aD == null || typeof aD == "string" && aD.length === 0) ? void 0 : h("div", { class: "preview-field" }, [h("div", { class: "field-label" }, `${e.label || keyToLabel(e.id || "")}:`), h("div", { class: "field-value" }, [dD || (typeof e.$el == "object" ? h(BE, lD, uD) : typeof aD == "object" && aD ? h("pre", { style: "margin: 0; white-space: pre-wrap; font-family: inherit; font-size: inherit;" }, I(aD)) : String(aD ?? ""))])]) : dD || h(BE, lD, uD);
3063
3065
  }
3064
3066
  return {
3065
3067
  renderField: RE,
@@ -3084,8 +3086,8 @@ function useTableData(e) {
3084
3086
  columns: toValue(e.columns),
3085
3087
  data: t
3086
3088
  });
3087
- if (Array.isArray(j) && j.length > 0) N.value = j.filter((e) => e).map((e) => e).map(autoTransform);
3088
- else if (Array.isArray(t) && t.length > 0) {
3089
+ if (Array.isArray(j) && 0 < j.length) N.value = j.filter((e) => e).map((e) => e).map(autoTransform);
3090
+ else if (Array.isArray(t) && 0 < t.length) {
3089
3091
  let e = t[0];
3090
3092
  N.value = Object.keys(e || {}).filter((e) => e !== "id" && !e.startsWith("_")).map((e) => ({
3091
3093
  id: e,
@@ -3125,7 +3127,7 @@ function useTableData(e) {
3125
3127
  }
3126
3128
  let BE = computed(() => t.value ? `_transformed_${t.value}` : ""), J = computed(() => {
3127
3129
  let M = toValue(e.data) || [];
3128
- return !Array.isArray(M) || M.length === 0 ? [] : !t.value || toValue(e.useServerSort) === !0 ? M.map(RE) : M.map(RE).sort((e, t) => {
3130
+ return !Array.isArray(M) || M.length === 0 ? [] : !t.value || !0 === toValue(e.useServerSort) ? M.map(RE) : M.map(RE).sort((e, t) => {
3129
3131
  let M = e[BE.value] ?? "", N = t[BE.value] ?? "";
3130
3132
  if (isDate(M) && isDate(N)) return j.value === "ASC" ? new Date(M).getTime() - new Date(N).getTime() : new Date(N).getTime() - new Date(M).getTime();
3131
3133
  let I = Number.parseInt(`${M}`.replaceAll(NON_DIGIT_REGEX, ""), 10), V = Number.parseInt(`${N}`.replaceAll(NON_DIGIT_REGEX, ""), 10);
@@ -3174,17 +3176,17 @@ var _hoisted_1$60 = { class: "data-preview" }, _hoisted_2$44 = {
3174
3176
  });
3175
3177
  return (e, j) => (openBlock(), createElementBlock("div", _hoisted_1$60, [unref(N) && unref(N).length > 0 ? (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(unref(N), (e) => (openBlock(), createBlock(resolveDynamicComponent(unref(BE)(e, unref(M))), { key: e.id }))), 128)) : (openBlock(), createElementBlock("div", _hoisted_2$44, " No data to display "))]));
3176
3178
  }
3177
- }), [["__scopeId", "data-v-7febfc22"]]);
3179
+ }), [["__scopeId", "data-v-3700a6ad"]]);
3178
3180
  function useTableSelection(e) {
3179
- let t = ref(), j = ref(null), M = computed(() => e.selectedItems.value), N = computed(() => e.selectable === !0 && Array.isArray(e.selectedItems.value)), V = computed(() => e.data.value);
3181
+ let t = ref(), j = ref(null), M = computed(() => e.selectedItems.value), N = computed(() => !0 === e.selectable && Array.isArray(e.selectedItems.value)), V = computed(() => e.data.value);
3180
3182
  function U() {
3181
3183
  if (t.value === void 0) return;
3182
3184
  if (!V.value) {
3183
- t.value.indeterminate = e.selectedItems.value.length > 0;
3185
+ t.value.indeterminate = 0 < e.selectedItems.value.length;
3184
3186
  return;
3185
3187
  }
3186
- let j = V.value.map((e) => e.id), M = j.length > 0 && e.selectedItems.value.length === j.length && j.every((t) => e.selectedItems.value.includes(t));
3187
- t.value.checked = M, t.value.indeterminate = !M && e.selectedItems.value.length > 0;
3188
+ let j = V.value.map((e) => e.id), M = 0 < j.length && e.selectedItems.value.length === j.length && j.every((t) => e.selectedItems.value.includes(t));
3189
+ t.value.checked = M, t.value.indeterminate = !M && 0 < e.selectedItems.value.length;
3188
3190
  }
3189
3191
  function RE(t, N) {
3190
3192
  let I = V.value.findIndex((e) => e.id === t.id);
@@ -3205,7 +3207,7 @@ function useTableSelection(e) {
3205
3207
  return;
3206
3208
  }
3207
3209
  let U = M.value.indexOf(t.id);
3208
- U > -1 ? e.selectedItems.value.splice(U, 1) : e.selectedItems.value.push(t.id), j.value = I;
3210
+ -1 < U ? e.selectedItems.value.splice(U, 1) : e.selectedItems.value.push(t.id), j.value = I;
3209
3211
  }
3210
3212
  function zE(t) {
3211
3213
  let M = t.target.checked;
@@ -3228,7 +3230,7 @@ function useTableVirtualization(e) {
3228
3230
  async function RE() {
3229
3231
  await until(() => t.value).toBeTruthy(), useIntersectionObserver(t, ([t]) => {
3230
3232
  let j = toValue(e.data).length || 0;
3231
- t.isIntersecting && j > 0 && e.onLastItemVisible?.();
3233
+ t.isIntersecting && 0 < j && e.onLastItemVisible?.();
3232
3234
  });
3233
3235
  }
3234
3236
  return {
@@ -3267,7 +3269,7 @@ var _hoisted_1$59 = { class: "row first-row" }, _hoisted_2$43 = { key: 0 }, _hoi
3267
3269
  "update:selectedItems"
3268
3270
  ]),
3269
3271
  setup(e, { emit: j }) {
3270
- useCssVars((e) => ({ "929a840c": unref(pD) }));
3272
+ useCssVars((e) => ({ "9e32daf8": unref(pD) }));
3271
3273
  let M = e, N = j, V = useSlots(), J = useModel(e, "loading"), UE = useModel(e, "itemHeight"), WE = useModel(e, "selectedItems"), { computedSchema: GE, computedData: KE, sortField: qE, sortDirection: JE, toggleSort: YE, cleanTransformedData: XE } = useTableData({
3272
3274
  data: computed(() => M.data),
3273
3275
  schema: computed(() => toValue(M.schema)),
@@ -3348,7 +3350,7 @@ var _hoisted_1$59 = { class: "row first-row" }, _hoisted_2$43 = { key: 0 }, _hoi
3348
3350
  style: { height: "1px" }
3349
3351
  }, null, 512))])], 2)], 16)], 16));
3350
3352
  }
3351
- }), [["__scopeId", "data-v-5cb8fd94"]]);
3353
+ }), [["__scopeId", "data-v-be7280e6"]]);
3352
3354
  function useDraggable(e = {}) {
3353
3355
  let t = ref(!1), j = ref(null), M = ref(null), N = ref(null), I = ref(null), V = typeof window < "u";
3354
3356
  if (V && !document.getElementById("draggable-style")) {
@@ -3663,7 +3665,7 @@ var _hoisted_1$58 = {
3663
3665
  size: "2"
3664
3666
  })])) : createCommentVNode("", !0)], 34));
3665
3667
  }
3666
- }), [["__scopeId", "data-v-2d9b6701"]]), sides = [
3668
+ }), [["__scopeId", "data-v-8bb9bc88"]]), sides = [
3667
3669
  "top",
3668
3670
  "right",
3669
3671
  "bottom",
@@ -5849,10 +5851,10 @@ var Gt = {
5849
5851
  function VE() {
5850
5852
  RE.value?.focus(), V.value?.hide();
5851
5853
  }
5852
- let { isMobile: UE, innerWidth: WE } = useDevice(), GE = computed(() => e.disablePlacement && UE), KE = computed(() => WE.value < 910), qE = computed(() => KE.value && e.triggers.includes("hover") ? e.triggers.map((e) => e === "hover" ? "click" : e) : e.triggers), JE = computed(() => e.showTriggers === void 0 ? qE.value : KE.value && e.showTriggers.includes("hover") ? e.showTriggers.map((e) => e === "hover" ? "click" : e) : e.showTriggers), YE = computed(() => e.hideTriggers === void 0 ? qE.value.length === 1 && qE.value[0] === "click" ? ["click"] : e.triggers.includes("hover") ? [...qE.value, "click"] : qE.value : KE.value && e.hideTriggers.includes("hover") ? e.hideTriggers.map((e) => e === "hover" ? "click" : e) : e.hideTriggers), XE = computed(() => e.popperTriggers.length > 0 ? e.popperTriggers : e.triggers.includes("hover") && !KE.value ? ["hover"] : []), ZE = computed(() => {
5853
- if (Array.isArray(e.popperShowTriggers) && e.popperShowTriggers.length > 0) return e.popperShowTriggers;
5854
+ let { isMobile: UE, innerWidth: WE } = useDevice(), GE = computed(() => e.disablePlacement && UE), KE = computed(() => 910 > WE.value), qE = computed(() => KE.value && e.triggers.includes("hover") ? e.triggers.map((e) => e === "hover" ? "click" : e) : e.triggers), JE = computed(() => e.showTriggers === void 0 ? qE.value : KE.value && e.showTriggers.includes("hover") ? e.showTriggers.map((e) => e === "hover" ? "click" : e) : e.showTriggers), YE = computed(() => e.hideTriggers === void 0 ? qE.value.length === 1 && qE.value[0] === "click" ? ["click"] : e.triggers.includes("hover") ? [...qE.value, "click"] : qE.value : KE.value && e.hideTriggers.includes("hover") ? e.hideTriggers.map((e) => e === "hover" ? "click" : e) : e.hideTriggers), XE = computed(() => 0 < e.popperTriggers.length ? e.popperTriggers : e.triggers.includes("hover") && !KE.value ? ["hover"] : []), ZE = computed(() => {
5855
+ if (Array.isArray(e.popperShowTriggers) && 0 < e.popperShowTriggers.length) return e.popperShowTriggers;
5854
5856
  if (e.triggers.includes("hover") && !KE.value) return ["hover"];
5855
- }), QE = computed(() => Array.isArray(e.popperHideTriggers) && e.popperHideTriggers.length > 0 ? e.popperHideTriggers : e.triggers.includes("hover") && !KE.value ? ["hover"] : []), $E = computed(() => e.autoHide), eD = computed(() => e.delay === void 0 ? e.triggers.includes("hover") && !KE.value ? {
5857
+ }), QE = computed(() => Array.isArray(e.popperHideTriggers) && 0 < e.popperHideTriggers.length ? e.popperHideTriggers : e.triggers.includes("hover") && !KE.value ? ["hover"] : []), $E = computed(() => e.autoHide), eD = computed(() => e.delay === void 0 ? e.triggers.includes("hover") && !KE.value ? {
5856
5858
  show: 0,
5857
5859
  hide: 10
5858
5860
  } : 0 : e.delay);
@@ -5967,7 +5969,7 @@ var Gt = {
5967
5969
  })
5968
5970
  }, null, 6));
5969
5971
  }
5970
- }), [["__scopeId", "data-v-f99f1900"]]), BagelFormUtils_exports = /* @__PURE__ */ __export({
5972
+ }), [["__scopeId", "data-v-2ca3d532"]]), BagelFormUtils_exports = /* @__PURE__ */ __export({
5971
5973
  arrField: () => arrField,
5972
5974
  bglForm: () => bglForm,
5973
5975
  checkField: () => checkField,
@@ -6245,7 +6247,7 @@ function colorField(e, t, j) {
6245
6247
  function findBglFieldById(e, t) {
6246
6248
  for (let j of t) {
6247
6249
  if (j.id === e) return j;
6248
- if (j.children && Number(j.children.length) > 0) {
6250
+ if (j.children && 0 < Number(j.children.length)) {
6249
6251
  let t = findBglFieldById(e, j.children.filter((e) => typeof e == "object" && "$el" in e));
6250
6252
  if (t) return t;
6251
6253
  }
@@ -6485,36 +6487,52 @@ var BagelForm_default = /* @__PURE__ */ defineComponent({
6485
6487
  }
6486
6488
  });
6487
6489
  onMounted(() => {
6488
- N.modelValue && (HE.value = BE(N.modelValue)), KE();
6490
+ N.modelValue && (HE.value = BE(N.modelValue), Object.keys(VE.value).length === 0 && 0 < Object.keys(N.modelValue).length && (VE.value = BE(N.modelValue))), setTimeout(() => {
6491
+ qE();
6492
+ }, 10);
6489
6493
  }), watch(() => N.modelValue, (e) => {
6490
6494
  e !== void 0 && (VE.value = BE(e));
6491
6495
  }, {
6492
6496
  immediate: !0,
6493
6497
  deep: !0
6494
6498
  });
6495
- function KE() {
6496
- let e = WE.value;
6497
- if (!e) return;
6498
- let t = (e) => {
6499
- for (let j of e) {
6500
- if (!j || typeof j != "object") continue;
6501
- let e = typeof j.id == "string" && j.id.length > 0, M = Object.prototype.hasOwnProperty.call(j, "defaultValue") && j.defaultValue !== void 0;
6502
- if (e && M) {
6503
- let e = getNestedValue(VE.value, j.id, void 0);
6504
- (e === void 0 || e === "") && qE({
6505
- fieldId: j.id,
6506
- value: j.defaultValue
6507
- });
6508
- }
6509
- Array.isArray(j.children) && j.children.length && t(j.children);
6499
+ let KE = !1;
6500
+ function qE() {
6501
+ if (!KE) {
6502
+ KE = !0;
6503
+ try {
6504
+ let e = WE.value;
6505
+ if (!e) return;
6506
+ let t = (e) => {
6507
+ for (let j of e) {
6508
+ if (!j || typeof j != "object") continue;
6509
+ let e = typeof j.id == "string" && 0 < j.id.length, M = Object.hasOwn(j, "defaultValue") && j.defaultValue !== void 0;
6510
+ if (e && M) {
6511
+ let e = getNestedValue(VE.value, j.id, void 0);
6512
+ if (j.$el === "array" || j.type === "array") continue;
6513
+ e ?? YE({
6514
+ fieldId: j.id,
6515
+ value: j.defaultValue
6516
+ });
6517
+ }
6518
+ Array.isArray(j.children) && j.children.length && t(j.children), Array.isArray(j.fields) && j.fields.length && t(j.fields);
6519
+ }
6520
+ };
6521
+ t(e);
6522
+ } finally {
6523
+ setTimeout(() => {
6524
+ KE = !1;
6525
+ }, 0);
6510
6526
  }
6511
- };
6512
- t(e);
6527
+ }
6513
6528
  }
6529
+ let JE = ref(0);
6514
6530
  watch(WE, () => {
6515
- KE();
6516
- }, { deep: !0 });
6517
- function qE({ fieldId: e, value: t }) {
6531
+ JE.value++, setTimeout(() => {
6532
+ KE || qE();
6533
+ }, 10);
6534
+ }, { immediate: !1 });
6535
+ function YE({ fieldId: e, value: t }) {
6518
6536
  let j = e?.split(".") || [], M = BE(VE.value), N = M;
6519
6537
  for (let e = 0; e < j.length - 1; e++) {
6520
6538
  let t = j[e];
@@ -6522,33 +6540,33 @@ var BagelForm_default = /* @__PURE__ */ defineComponent({
6522
6540
  }
6523
6541
  N[j[j.length - 1]] = t, VE.value = M, V("update:modelValue", VE.value);
6524
6542
  }
6525
- let JE = () => J.value?.reportValidity() ?? !1, YE = () => J.value?.checkValidity() ?? !1, XE = ref();
6526
- async function ZE() {
6543
+ let XE = () => J.value?.reportValidity() ?? !1, ZE = () => J.value?.checkValidity() ?? !1, QE = ref();
6544
+ async function $E() {
6527
6545
  try {
6528
- if (!JE() || UE.value === "submitting") return;
6546
+ if (!XE() || UE.value === "submitting") return;
6529
6547
  UE.value = "submitting", await N.onSubmit?.(VE.value), HE.value = BE(VE.value), UE.value = "success", window.parent.postMessage({
6530
6548
  type: "BAGEL_FORM_SUCCESS",
6531
6549
  data: JSON.stringify(VE.value)
6532
6550
  }, "*");
6533
6551
  } catch (e) {
6534
- UE.value = "error", XE.value = e, console.error("Submit error:", XE.value);
6552
+ UE.value = "error", QE.value = e, console.error("Submit error:", QE.value);
6535
6553
  }
6536
6554
  }
6537
- let { renderField: QE } = useSchemaField({
6555
+ let { renderField: eD } = useSchemaField({
6538
6556
  mode: "form",
6539
6557
  getFormData: () => VE.value,
6540
6558
  onUpdateModelValue: (e, t) => {
6541
- e.id && (qE({
6559
+ e.id && (YE({
6542
6560
  fieldId: e.id,
6543
6561
  value: t
6544
6562
  }), e.onUpdate?.(t, VE.value));
6545
6563
  }
6546
- }), $E = (e) => QE(e);
6547
- function eD(e) {
6564
+ }), nD = (e) => eD(e);
6565
+ function rD(e) {
6548
6566
  let t = e.target;
6549
6567
  if (t.name) {
6550
6568
  let e = t.type === "checkbox" ? t.checked : t.value;
6551
- qE({
6569
+ YE({
6552
6570
  fieldId: t.name,
6553
6571
  value: e
6554
6572
  });
@@ -6557,29 +6575,29 @@ var BagelForm_default = /* @__PURE__ */ defineComponent({
6557
6575
  return j({
6558
6576
  form: J,
6559
6577
  isDirty: GE,
6560
- validateForm: JE,
6561
- checkValidity: YE
6578
+ validateForm: XE,
6579
+ checkValidity: ZE
6562
6580
  }), (e, j) => (openBlock(), createElementBlock(Fragment, null, [
6563
6581
  UE.value !== "success" || !e.$slots.success ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [N.tag === "form" ? (openBlock(), createElementBlock("form", {
6564
6582
  key: 0,
6565
6583
  ref_key: "form",
6566
6584
  ref: J,
6567
6585
  class: normalizeClass(N.class),
6568
- onSubmit: withModifiers(ZE, ["prevent"]),
6569
- onInput: eD
6570
- }, [WE.value ? (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(WE.value, (e) => (openBlock(), createBlock(resolveDynamicComponent($E(e)), { key: e.id }))), 128)) : renderSlot(e.$slots, "default", { key: 1 }), renderSlot(e.$slots, "submit", {
6571
- submit: ZE,
6586
+ onSubmit: withModifiers($E, ["prevent"]),
6587
+ onInput: rD
6588
+ }, [WE.value ? (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(WE.value, (e) => (openBlock(), createBlock(resolveDynamicComponent(nD(e)), { key: e.id }))), 128)) : renderSlot(e.$slots, "default", { key: 1 }), renderSlot(e.$slots, "submit", {
6589
+ submit: $E,
6572
6590
  isDirty: GE.value,
6573
- validateForm: JE,
6591
+ validateForm: XE,
6574
6592
  formState: UE.value
6575
- })], 34)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [WE.value ? (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(WE.value, (e) => (openBlock(), createBlock(resolveDynamicComponent($E(e)), {
6593
+ })], 34)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [WE.value ? (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(WE.value, (e) => (openBlock(), createBlock(resolveDynamicComponent(nD(e)), {
6576
6594
  key: e.id,
6577
6595
  class: normalizeClass(N.class)
6578
6596
  }, null, 8, ["class"]))), 128)) : createCommentVNode("", !0)], 64))], 64)) : createCommentVNode("", !0),
6579
6597
  UE.value === "success" ? renderSlot(e.$slots, "success", { key: 1 }) : createCommentVNode("", !0),
6580
6598
  UE.value === "error" ? renderSlot(e.$slots, "error", {
6581
6599
  key: 2,
6582
- error: XE.value
6600
+ error: QE.value
6583
6601
  }) : createCommentVNode("", !0)
6584
6602
  ], 64));
6585
6603
  }
@@ -6658,30 +6676,32 @@ var BagelForm_default = /* @__PURE__ */ defineComponent({
6658
6676
  await nextTick(), V.validateOnSteps ? cD.value = UE.value?.checkValidity() ?? !1 : cD.value = !0;
6659
6677
  }
6660
6678
  function dD() {
6661
- GE.value > 0 && GE.value--;
6679
+ 0 < GE.value && GE.value--;
6662
6680
  }
6663
6681
  let fD = ref();
6664
6682
  async function pD() {
6665
- V.validateOnSteps && YE() === !1 || (oD.value || GE.value++, await sleep(400), uD());
6683
+ V.validateOnSteps && !1 === YE() || (oD.value || GE.value++, await sleep(400), uD());
6666
6684
  }
6667
6685
  async function _D(e) {
6668
6686
  if (e < GE.value || JE.value.includes(e)) return GE.value = e, !0;
6669
6687
  if (e > GE.value) {
6670
- if (V.validateOnSteps && YE() === !1) return !1;
6671
- for (let t = GE.value + 1; t <= e; t++) if (GE.value = t, await nextTick(), await sleep(100), V.validateOnSteps) if (UE.value?.checkValidity() ?? !1) JE.value.includes(t) || JE.value.push(t);
6672
- else return !1;
6688
+ if (V.validateOnSteps && !1 === YE()) return !1;
6689
+ for (let t = GE.value + 1; t <= e; t++) if (GE.value = t, await nextTick(), await sleep(100), V.validateOnSteps) {
6690
+ if (!(UE.value?.checkValidity() ?? !1)) return !1;
6691
+ JE.value.includes(t) || JE.value.push(t);
6692
+ }
6673
6693
  return !0;
6674
6694
  }
6675
6695
  return !1;
6676
6696
  }
6677
6697
  function vD() {
6678
- YE() !== !1 && VE("submit", WE.value);
6698
+ !1 !== YE() && VE("submit", WE.value);
6679
6699
  }
6680
6700
  function yD() {
6681
6701
  JE.value = [], GE.value = 0;
6682
6702
  }
6683
6703
  return watch(() => WE.value, () => {
6684
- uD(), GE.value >= QE.value && QE.value > 0 && (GE.value = 0);
6704
+ uD(), GE.value >= QE.value && 0 < QE.value && (GE.value = 0);
6685
6705
  }, { deep: !0 }), j({
6686
6706
  submit: vD,
6687
6707
  validateForm: YE,
@@ -6759,19 +6779,13 @@ var BagelForm_default = /* @__PURE__ */ defineComponent({
6759
6779
  onClick: pD
6760
6780
  }, null, 8, ["disabled"]))], !0)])])]));
6761
6781
  }
6762
- }), [["__scopeId", "data-v-1e915d1e"]]), _hoisted_1$55 = {
6782
+ }), [["__scopeId", "data-v-3d8b70d5"]]), _hoisted_1$55 = {
6763
6783
  key: 0,
6764
6784
  class: "label mb-05"
6765
- }, _hoisted_2$40 = { class: "ps-025 border-start mb-05" }, _hoisted_3$32 = {
6785
+ }, _hoisted_2$40 = { class: "ps-025 mb-05" }, _hoisted_3$32 = {
6766
6786
  key: 0,
6767
6787
  class: "flex-center h-300px"
6768
- }, _hoisted_4$21 = {
6769
- key: 1,
6770
- class: "py-1"
6771
- }, _hoisted_5$21 = {
6772
- key: 0,
6773
- class: "minimizedText txt14 p-025 opacity-7"
6774
- }, _hoisted_6$17 = { class: "bg-gray-80 -my-05 px-025 pt-065 pb-05 txt-center space-between flex column" }, FieldArray_default = /* @__PURE__ */ defineComponent({
6788
+ }, _hoisted_4$21 = { class: "opacity-7 txt-center txt14" }, _hoisted_5$21 = { class: "flex pointer" }, _hoisted_6$17 = ["onClick"], FieldArray_default = /* @__PURE__ */ defineComponent({
6775
6789
  __name: "FieldArray",
6776
6790
  props: {
6777
6791
  el: { default: "div" },
@@ -6800,6 +6814,10 @@ var BagelForm_default = /* @__PURE__ */ defineComponent({
6800
6814
  type: Boolean,
6801
6815
  default: !0
6802
6816
  },
6817
+ collapsed: {
6818
+ type: Boolean,
6819
+ default: !1
6820
+ },
6803
6821
  transform: {},
6804
6822
  schema: {},
6805
6823
  modelValue: {},
@@ -6807,7 +6825,7 @@ var BagelForm_default = /* @__PURE__ */ defineComponent({
6807
6825
  },
6808
6826
  emits: ["update:modelValue"],
6809
6827
  setup(e, { emit: j }) {
6810
- let M = e, N = j, V = BagelForm_default, J = ref([]), VE = ref(M.modelValue || []), HE = ref("loaded"), UE = computed(() => M.type === "text" ? [{
6828
+ let M = e, N = j, V = BagelForm_default, J = ref([]), HE = ref(M.modelValue || []), UE = ref("loaded"), WE = "", GE = computed(() => M.type === "text" ? [{
6811
6829
  id: "value",
6812
6830
  type: "text",
6813
6831
  label: "",
@@ -6817,69 +6835,132 @@ var BagelForm_default = /* @__PURE__ */ defineComponent({
6817
6835
  type: "number",
6818
6836
  label: "",
6819
6837
  $el: "number"
6820
- }] : []), WE = computed(() => M.type === "object" ? toValue(M.schema) : UE.value);
6838
+ }] : []), KE = computed(() => {
6839
+ if (!(M.type === "object" || M.type === "array")) return GE.value;
6840
+ let e = M.attrs?.schema === void 0 ? null : toValue(M.attrs.schema), t = M.children || toValue(M.schema) || e;
6841
+ return t == null || Array.isArray(t) && t.length, M.defaultValue !== void 0 && M.defaultValue !== null && M.defaultValue.length, t;
6842
+ });
6821
6843
  watch(() => M.modelValue, (e) => {
6822
- VE.value = e || [];
6823
- }, { deep: !0 });
6824
- function GE() {
6825
- N("update:modelValue", VE.value);
6844
+ e && Array.isArray(e) ? HE.value = [...e] : HE.value = [];
6845
+ }, {
6846
+ deep: !0,
6847
+ immediate: !1
6848
+ }), watch(() => HE.value.length, (e) => {
6849
+ if (J.value.length !== e) if (J.value.length < e) {
6850
+ let t = e - J.value.length;
6851
+ for (let e = 0; e < t; e++) J.value.push(M.collapsed || !1);
6852
+ } else J.value = J.value.slice(0, e);
6853
+ }), onMounted(() => {
6854
+ (!M.modelValue || M.modelValue.length === 0) && M.defaultValue && 0 < M.defaultValue.length && (HE.value = [...M.defaultValue], JE()), M.collapsed ? J.value = Array.from({ length: HE.value.length }, () => !0) : J.value = Array.from({ length: HE.value.length }, () => !1);
6855
+ });
6856
+ function qE() {
6857
+ M.defaultValue && 0 < M.defaultValue.length ? (HE.value = [...M.defaultValue], JE()) : XE();
6826
6858
  }
6827
- function KE(e) {
6828
- VE.value.splice(e, 1), GE();
6859
+ function JE() {
6860
+ let e = JSON.stringify(M.modelValue || []), t = JSON.stringify(HE.value || []);
6861
+ e !== t && WE !== t && (WE = t, N("update:modelValue", HE.value), setTimeout(() => {
6862
+ WE = "";
6863
+ }, 50));
6829
6864
  }
6830
- function qE() {
6831
- VE.value.push({
6865
+ function YE(e) {
6866
+ HE.value.splice(e, 1), J.value.splice(e, 1), JE();
6867
+ }
6868
+ function XE() {
6869
+ let e = {
6832
6870
  text: "",
6833
6871
  number: 0,
6834
- object: {}
6835
- }[M.type]), GE();
6872
+ object: {},
6873
+ array: {}
6874
+ }[M.type];
6875
+ HE.value.push(e === void 0 ? {} : e), J.value.push(!1), JE();
6836
6876
  }
6837
- function JE(e) {
6877
+ function ZE(e) {
6838
6878
  J.value[e] = !J.value[e];
6839
6879
  }
6840
- function YE(e, t) {
6841
- M.type === "text" || M.type === "number" ? VE.value[e] = M.type === "number" ? Number(t.value) : t.value : VE.value[e] = t, GE();
6880
+ function QE(e, t) {
6881
+ M.type === "text" || M.type === "number" ? HE.value[e] = M.type === "number" ? Number(t.value) : t.value : HE.value[e] = t, JE();
6842
6882
  }
6843
- let XE = computed(() => M.type === "text" || M.type === "number"), ZE = computed(() => XE.value || M.type === "object" && Number(WE.value?.length) > 0), QE = computed(() => Number(WE.value?.length) > 2 || WE.value?.some((e) => e.$el === "richtext"));
6844
- return (e, j) => (openBlock(), createElementBlock("div", { class: normalizeClass(M.class) }, [e.label ? (openBlock(), createElementBlock("p", _hoisted_1$55, toDisplayString(e.label), 1)) : createCommentVNode("", !0), createElementVNode("div", _hoisted_2$40, [HE.value === "loaded" ? ZE.value ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [(openBlock(!0), createElementBlock(Fragment, null, renderList(VE.value, (t, j) => (openBlock(), createElementBlock("div", {
6845
- key: j,
6846
- outline: "",
6847
- thin: "",
6848
- class: normalizeClass(["mb-05 itemBox transition ps-05 pb-025 pt-025 radius-05 gap-05 overflow-hidden", { minimized: J.value[j] }])
6849
- }, [J.value[j] ? (openBlock(), createElementBlock("p", _hoisted_5$21, toDisplayString(e.label) + " " + toDisplayString(j + 1), 1)) : (openBlock(), createBlock(unref(V), {
6850
- key: 1,
6851
- "model-value": XE.value ? { value: t } : t,
6852
- schema: unref(WE),
6853
- "onUpdate:modelValue": (e) => YE(j, e)
6854
- }, null, 8, [
6855
- "model-value",
6856
- "schema",
6857
- "onUpdate:modelValue"
6858
- ])), createElementVNode("div", _hoisted_6$17, [QE.value ? (openBlock(), createBlock(unref(Btn_default), {
6859
- key: 0,
6860
- class: "block rotate-180 txt10 opacity-7 p-025",
6861
- flat: "",
6862
- thin: "",
6863
- icon: "keyboard_arrow_down",
6864
- onClick: (e) => JE(j)
6865
- }, null, 8, ["onClick"])) : createCommentVNode("", !0), M.delete ? (openBlock(), createBlock(unref(Btn_default), {
6883
+ let $E = computed(() => M.type === "text" || M.type === "number"), eD = computed(() => {
6884
+ let e = KE.value, t = Array.isArray(e) && 0 < e.length || M.children && 0 < M.children.length, j = M.defaultValue && 0 < M.defaultValue.length, N = M.type === "object" || M.type === "array";
6885
+ return $E.value || N && (!0 === t || !0 === j);
6886
+ }), nD = computed(() => {
6887
+ let e = KE.value, t = Array.isArray(e) && 2 < e.length, j = Array.isArray(e) && e.some((e) => e.$el === "richtext");
6888
+ return t || j;
6889
+ });
6890
+ return (e, j) => (openBlock(), createElementBlock("div", { class: normalizeClass(M.class) }, [e.label ? (openBlock(), createElementBlock("p", _hoisted_1$55, toDisplayString(e.label), 1)) : createCommentVNode("", !0), createElementVNode("div", _hoisted_2$40, [UE.value === "loaded" ? eD.value ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
6891
+ HE.value.length === 0 ? (openBlock(), createBlock(unref(Card_default), {
6892
+ key: 0,
6893
+ class: "py-1 border mb-05"
6894
+ }, {
6895
+ default: withCtx(() => [createElementVNode("p", _hoisted_4$21, " No " + toDisplayString(e.label?.toLowerCase() || "items") + " added yet ", 1), M.defaultValue && M.defaultValue.length > 0 ? (openBlock(), createBlock(unref(Btn_default), {
6896
+ key: 0,
6897
+ thin: "",
6898
+ color: "primary",
6899
+ class: "txt12 mb-05",
6900
+ onClick: qE
6901
+ }, {
6902
+ default: withCtx(() => [createTextVNode(" Load Default " + toDisplayString(e.label || "Items"), 1)]),
6903
+ _: 1
6904
+ })) : createCommentVNode("", !0)]),
6905
+ _: 1
6906
+ })) : createCommentVNode("", !0),
6907
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(HE.value, (t, j) => (openBlock(), createElementBlock("div", {
6908
+ key: j,
6909
+ outline: "",
6910
+ thin: "",
6911
+ class: normalizeClass(["mb-05 itemBox transition radius-05 overflow-hidden txt12 border", { minimized: J.value[j] }]),
6912
+ style: { "--input-font-size": "12px" }
6913
+ }, [createElementVNode("div", null, [
6914
+ createElementVNode("div", _hoisted_5$21, [createElementVNode("p", {
6915
+ class: "minimizedText txt12 p-05 opacity-7 flex-grow-2",
6916
+ onClick: (e) => ZE(j)
6917
+ }, toDisplayString(e.label) + " " + toDisplayString(j + 1), 9, _hoisted_6$17), nD.value ? (openBlock(), createBlock(unref(Btn_default), {
6918
+ key: 0,
6919
+ class: "rotate-180 txt10 opacity-7 p-025",
6920
+ flat: "",
6921
+ thin: "",
6922
+ icon: "keyboard_arrow_down",
6923
+ onClick: (e) => ZE(j)
6924
+ }, null, 8, ["onClick"])) : createCommentVNode("", !0)]),
6925
+ J.value[j] ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(V), {
6926
+ key: 0,
6927
+ "model-value": $E.value ? { value: t } : t,
6928
+ schema: KE.value,
6929
+ class: "bginputbg p-05 grid gap-05",
6930
+ "onUpdate:modelValue": (e) => QE(j, e)
6931
+ }, null, 8, [
6932
+ "model-value",
6933
+ "schema",
6934
+ "onUpdate:modelValue"
6935
+ ])),
6936
+ M.delete ? (openBlock(), createBlock(unref(Btn_default), {
6937
+ key: 1,
6938
+ icon: "delete",
6939
+ class: "txt10 opacity-7",
6940
+ thin: "",
6941
+ flat: "",
6942
+ onClick: (e) => YE(j)
6943
+ }, null, 8, ["onClick"])) : createCommentVNode("", !0)
6944
+ ])], 2))), 128)),
6945
+ e.add ? (openBlock(), createBlock(unref(Btn_default), {
6946
+ key: 1,
6947
+ thin: "",
6948
+ icon: "add",
6949
+ color: "gray",
6950
+ class: "txt12 arrayAddButton",
6951
+ onClick: XE
6952
+ }, {
6953
+ default: withCtx(() => [createElementVNode("p", null, toDisplayString(e.label), 1)]),
6954
+ _: 1
6955
+ })) : createCommentVNode("", !0)
6956
+ ], 64)) : (openBlock(), createBlock(unref(Card_default), {
6866
6957
  key: 1,
6867
- icon: "delete",
6868
- class: "txt10 opacity-7",
6869
- thin: "",
6870
- flat: "",
6871
- onClick: (e) => KE(j)
6872
- }, null, 8, ["onClick"])) : createCommentVNode("", !0)])], 2))), 128)), e.add ? (openBlock(), createBlock(unref(Btn_default), {
6873
- key: 0,
6874
- thin: "",
6875
- icon: "add",
6876
- color: "gray",
6877
- class: "txt12 arrayAddButton",
6878
- onClick: qE
6958
+ class: "py-1 border mb-05"
6879
6959
  }, {
6880
- default: withCtx(() => [createElementVNode("p", null, toDisplayString(e.label), 1)]),
6881
- _: 1
6882
- })) : createCommentVNode("", !0)], 64)) : (openBlock(), createElementBlock("div", _hoisted_4$21, j[0] ||= [createElementVNode("p", { class: "opacity-7" }, " No schema available ", -1)])) : (openBlock(), createElementBlock("div", _hoisted_3$32, [HE.value === "loading" ? (openBlock(), createBlock(unref(Loading_default), { key: 0 })) : HE.value === "error" ? (openBlock(), createBlock(unref(Icon_default), {
6960
+ default: withCtx(() => j[0] ||= [createElementVNode("p", { class: "opacity-7" }, " No schema available ", -1)]),
6961
+ _: 1,
6962
+ __: [0]
6963
+ })) : (openBlock(), createElementBlock("div", _hoisted_3$32, [UE.value === "loading" ? (openBlock(), createBlock(unref(Loading_default), { key: 0 })) : UE.value === "error" ? (openBlock(), createBlock(unref(Icon_default), {
6883
6964
  key: 1,
6884
6965
  icon: "error",
6885
6966
  color: "red"
@@ -6925,9 +7006,7 @@ var BagelForm_default = /* @__PURE__ */ defineComponent({
6925
7006
  emits: ["update:modelValue"],
6926
7007
  setup(e) {
6927
7008
  let t = computed(() => e.id || Math.random().toString(36).slice(7)), j = useModel(e, "modelValue");
6928
- return onMounted(() => {
6929
- j.value === void 0 && (j.value = e.defaultValue);
6930
- }), (e, M) => (openBlock(), createElementBlock("div", {
7009
+ return onMounted(() => {}), (e, M) => (openBlock(), createElementBlock("div", {
6931
7010
  class: normalizeClass(["bagel-input bgl-checkbox align-items-center ps-025", { small: e.small }]),
6932
7011
  title: e.title
6933
7012
  }, [withDirectives(createElementVNode("input", {
@@ -6940,7 +7019,7 @@ var BagelForm_default = /* @__PURE__ */ defineComponent({
6940
7019
  class: "me-05"
6941
7020
  }, null, 8, _hoisted_2$39), [[vModelCheckbox, j.value]]), createElementVNode("label", { for: t.value + e.value }, [renderSlot(e.$slots, "label", {}, () => [createTextVNode(toDisplayString(e.label), 1)], !0)], 8, _hoisted_3$31)], 10, _hoisted_1$53));
6942
7021
  }
6943
- }), [["__scopeId", "data-v-083702e1"]]);
7022
+ }), [["__scopeId", "data-v-1f95e783"]]);
6944
7023
  function useHighlight(e = "dark") {
6945
7024
  let t = ref(null), j = ref(!1), M = ref(e), N = (e) => e === "dark" ? "atom-one-dark" : e === "light" ? "atom-one-light" : e, I = (e) => `https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.0/styles/${e}.min.css`, V = () => {
6946
7025
  document.querySelectorAll("link[rel=\"stylesheet\"]").forEach((e) => {
@@ -7078,7 +7157,7 @@ var _hoisted_1$52 = {
7078
7157
  onKeydown: KE
7079
7158
  }, null, 40, _hoisted_5$20)) : createCommentVNode("", !0)])], 512)) : createCommentVNode("", !0)], 4));
7080
7159
  }
7081
- }), [["__scopeId", "data-v-206c54b2"]]), _hoisted_1$51 = ["title"], _hoisted_2$37 = [
7160
+ }), [["__scopeId", "data-v-da15f4be"]]), _hoisted_1$51 = ["title"], _hoisted_2$37 = [
7082
7161
  "id",
7083
7162
  "placeholder",
7084
7163
  "required"
@@ -7240,7 +7319,7 @@ var Time = class e {
7240
7319
  }
7241
7320
  getCalendarYearMonths(e) {
7242
7321
  let t = [], j = 0;
7243
- for (; j <= 11;) t.push(new Date(e, j, 1)), j++;
7322
+ for (; 11 >= j;) t.push(new Date(e, j, 1)), j++;
7244
7323
  return t;
7245
7324
  }
7246
7325
  getHourAndMinutesFromTimePoints(e) {
@@ -7264,10 +7343,10 @@ var Time = class e {
7264
7343
  return e.toLocaleDateString(this.CALENDAR_LOCALE);
7265
7344
  }
7266
7345
  getDateTimeStringFromDate(e, t) {
7267
- let j = e.getFullYear(), M = e.getMonth() + 1, N = e.getDate(), I = `${j}-${M >= 10 ? M : `0${M}`}-${N >= 10 ? N : `0${N}`}`;
7346
+ let j = e.getFullYear(), M = e.getMonth() + 1, N = e.getDate(), I = `${j}-${10 <= M ? M : `0${M}`}-${10 <= N ? N : `0${N}`}`;
7268
7347
  if (!t) {
7269
7348
  let t = e.getHours(), j = e.getMinutes();
7270
- return `${I} ${t >= 10 ? t : `0${t}`}:${j >= 10 ? j : `0${j}`}`;
7349
+ return `${I} ${10 <= t ? t : `0${t}`}:${10 <= j ? j : `0${j}`}`;
7271
7350
  }
7272
7351
  return `${I} ${t === "start" ? "00:00" : "23:59"}`;
7273
7352
  }
@@ -7307,7 +7386,7 @@ var Time = class e {
7307
7386
  }
7308
7387
  getDateStringFromDate(e) {
7309
7388
  let t = e.getFullYear(), j = e.getMonth() + 1, M = e.getDate();
7310
- return `${t}-${j >= 10 ? j : `0${j}`}-${M >= 10 ? M : `0${M}`}`;
7389
+ return `${t}-${10 <= j ? j : `0${j}`}-${10 <= M ? M : `0${M}`}`;
7311
7390
  }
7312
7391
  addMinutesToDateTimeString(e, t) {
7313
7392
  let { year: j, month: M, date: N, hour: I, minutes: V } = this.getAllVariablesFromDateTimeString(t), U = new Date(j, M, N, I, V), RE = new Date(U.getTime() + e * 6e4);
@@ -7325,7 +7404,7 @@ var Time = class e {
7325
7404
  }
7326
7405
  turnMinutesIntoPercentageOfHour(e) {
7327
7406
  let t = 100 / 60 * e;
7328
- return t < 10 ? `0${t}` : t.toString();
7407
+ return 10 > t ? `0${t}` : t.toString();
7329
7408
  }
7330
7409
  getPercentageOfDayFromDateTimeString(e, t, j) {
7331
7410
  let M = this.hourFrom(e) * 100, N = +e.substring(14, 16), I = +this.turnMinutesIntoPercentageOfHour(+N);
@@ -7337,8 +7416,8 @@ var Time = class e {
7337
7416
  return (RE >= t ? RE - t : V + RE) / U * 100;
7338
7417
  }
7339
7418
  getTimeFromClick(e, t) {
7340
- if (t <= 0) throw Error("weekHeight cannot be a negative number");
7341
- if (e < 0) throw Error("clickOffsetY cannot be a negative number");
7419
+ if (0 >= t) throw Error("weekHeight cannot be a negative number");
7420
+ if (0 > e) throw Error("clickOffsetY cannot be a negative number");
7342
7421
  let j = this.DAY_START / 100, M = t / this.HOURS_PER_DAY, N = Math.floor(e % M / (M / 60));
7343
7422
  if (this.DAY_END <= this.DAY_START) {
7344
7423
  let j = t - this.DAY_END / 100 * M;
@@ -7351,7 +7430,7 @@ var Time = class e {
7351
7430
  return `${this.doubleDigit(I)}:${this.doubleDigit(N)}`;
7352
7431
  }
7353
7432
  setSegmentOfDateTimeString(e, t) {
7354
- if (t.hour < 0 || t.hour > 23) throw Error("Invalid hour");
7433
+ if (0 > t.hour || 23 < t.hour) throw Error("Invalid hour");
7355
7434
  let j = this.doubleDigit(t.hour);
7356
7435
  return e = e.replace(/\d{2}:/, `${j}:`), e;
7357
7436
  }
@@ -7359,11 +7438,11 @@ var Time = class e {
7359
7438
  return t !== new Date(e).getMonth();
7360
7439
  }
7361
7440
  static getTimePointsFromHour(e) {
7362
- if (e < 0 || e > 24 || e % 1 != 0) throw Error("Invalid day boundary");
7441
+ if (0 > e || 24 < e || e % 1 != 0) throw Error("Invalid day boundary");
7363
7442
  return e === 0 ? e : e * 100;
7364
7443
  }
7365
7444
  static getHourFromTimePoints(e) {
7366
- if (e < 0 || e > 2400 || e % 100 != 0) throw Error("Invalid time points");
7445
+ if (0 > e || 2400 < e || e % 100 != 0) throw Error("Invalid time points");
7367
7446
  return e === 0 ? e : e / 100;
7368
7447
  }
7369
7448
  getTimelineHours() {
@@ -7407,8 +7486,8 @@ var Time = class e {
7407
7486
  };
7408
7487
  }
7409
7488
  doubleDigit(e) {
7410
- if (e < 0 || e > 60) throw Error("Invalid number. This is not a valid hour or minute");
7411
- return e < 10 ? `0${e}` : String(e);
7489
+ if (0 > e || 60 < e) throw Error("Invalid number. This is not a valid hour or minute");
7490
+ return 10 > e ? `0${e}` : String(e);
7412
7491
  }
7413
7492
  }, _hoisted_1$50 = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" }, _hoisted_2$36 = { class: "flex space-between pb-1" }, _hoisted_3$29 = { class: "flex gap-05" }, _hoisted_4$19 = { class: "month-year" }, _hoisted_5$19 = {
7414
7493
  key: 0,
@@ -7452,7 +7531,7 @@ var Time = class e {
7452
7531
  isDateDisabled: (e) => {
7453
7532
  if (!e) return !0;
7454
7533
  let t = KE(M.min), j = KE(M.max);
7455
- return !!(t && e < t || j && e > j || Array.isArray(J.value) && J.value.length > 0 && J.value.some((t) => {
7534
+ return !!(t && e < t || j && e > j || Array.isArray(J.value) && 0 < J.value.length && J.value.some((t) => {
7456
7535
  let j = KE(t);
7457
7536
  return j ? e.getFullYear() === j.getFullYear() && e.getMonth() === j.getMonth() && e.getDate() === j.getDate() : !1;
7458
7537
  }));
@@ -7470,7 +7549,7 @@ var Time = class e {
7470
7549
  function QE() {
7471
7550
  let e = computed(() => {
7472
7551
  let e = UE.value.getFullYear(), t = UE.value.getMonth(), j = GE.getCalendarMonthSplitInWeeks(e, t);
7473
- for (; j.length < 6;) {
7552
+ for (; 6 > j.length;) {
7474
7553
  let e = j[j.length - 1], t = e[e.length - 1], M = new Date(t.getFullYear(), t.getMonth(), t.getDate() + 1), N = GE.getCalendarWeekDateObjects(M);
7475
7554
  j.push(N);
7476
7555
  }
@@ -7686,7 +7765,7 @@ var Time = class e {
7686
7765
  ])
7687
7766
  ])])) : createCommentVNode("", !0)], 2));
7688
7767
  }
7689
- }), [["__scopeId", "data-v-55eb37a5"]]), _hoisted_1$49 = ["title"], _hoisted_2$35 = { key: 0 }, _hoisted_3$28 = {
7768
+ }), [["__scopeId", "data-v-cc6e6768"]]), _hoisted_1$49 = ["title"], _hoisted_2$35 = { key: 0 }, _hoisted_3$28 = {
7690
7769
  key: 0,
7691
7770
  class: "required"
7692
7771
  }, DateInput_default = /* @__PURE__ */ defineComponent({
@@ -7739,10 +7818,8 @@ var Time = class e {
7739
7818
  },
7740
7819
  normalizeDate: (e) => {
7741
7820
  if (t.enableTime) return e.toISOString();
7742
- {
7743
- let t = new Date(e);
7744
- return t.setHours(0, 0, 0, 0), t.toISOString().split("T")[0];
7745
- }
7821
+ let j = new Date(e);
7822
+ return j.setHours(0, 0, 0, 0), j.toISOString().split("T")[0];
7746
7823
  }
7747
7824
  };
7748
7825
  }
@@ -7975,7 +8052,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
7975
8052
  headers: { "Content-Type": "application/json" }
7976
8053
  });
7977
8054
  if (!t.ok) throw Error("Validation service unavailable");
7978
- let j = await t.json(), M = j.status === "valid" || j.has_mx === !0;
8055
+ let j = await t.json(), M = j.status === "valid" || !0 === j.has_mx;
7979
8056
  GE.value = M, KE.set(e, M), M ? qE.value?.setCustomValidity("") : (UE.value = "This email domain appears to be invalid", qE.value?.setCustomValidity(UE.value));
7980
8057
  } catch (e) {
7981
8058
  console.error("Email validation error:", e);
@@ -7999,7 +8076,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
7999
8076
  HE.value = null;
8000
8077
  return;
8001
8078
  }
8002
- for (let e of I) if (iD(N, e) <= 2) {
8079
+ for (let e of I) if (2 >= iD(N, e)) {
8003
8080
  HE.value = `${t}@${e}`.toLowerCase();
8004
8081
  return;
8005
8082
  }
@@ -8035,7 +8112,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
8035
8112
  focus: () => qE.value?.focus(),
8036
8113
  hasFocus: () => document.activeElement === qE.value
8037
8114
  }), onMounted(() => {
8038
- M.autofocus && setTimeout(() => qE.value?.focus(), 10), M.defaultValue && !M.modelValue && (J.value = M.defaultValue);
8115
+ M.autofocus && setTimeout(() => qE.value?.focus(), 10);
8039
8116
  }), (e, t) => {
8040
8117
  let j = resolveDirective("pattern");
8041
8118
  return openBlock(), createElementBlock("div", {
@@ -8093,7 +8170,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
8093
8170
  ], 8, _hoisted_2$34)], 10, _hoisted_1$48);
8094
8171
  };
8095
8172
  }
8096
- }), [["__scopeId", "data-v-e3d13caa"]]), _hoisted_1$47 = ["title"], _hoisted_2$33 = { key: 0 }, _hoisted_3$26 = ["value", "placeholder"], JSONInput_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
8173
+ }), [["__scopeId", "data-v-a6aae7c1"]]), _hoisted_1$47 = ["title"], _hoisted_2$33 = { key: 0 }, _hoisted_3$26 = ["value", "placeholder"], JSONInput_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
8097
8174
  __name: "JSONInput",
8098
8175
  props: {
8099
8176
  description: { default: "" },
@@ -8317,7 +8394,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
8317
8394
  ], 2)], 8, _hoisted_1$46)], 2);
8318
8395
  };
8319
8396
  }
8320
- }), [["__scopeId", "data-v-ce37385e"]]), _hoisted_1$45 = [
8397
+ }), [["__scopeId", "data-v-6b652c67"]]), _hoisted_1$45 = [
8321
8398
  "value",
8322
8399
  "autofocus",
8323
8400
  "onKeydown",
@@ -8394,7 +8471,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
8394
8471
  onKeyup: j[0] ||= withModifiers(() => {}, ["prevent"])
8395
8472
  }, null, 40, _hoisted_1$45))), 128))], 512));
8396
8473
  }
8397
- }), [["__scopeId", "data-v-ab0a46bf"]]), _hoisted_1$44 = { class: "relative passwordInput" }, _hoisted_2$31 = { class: "m-password position-bottom-end flex column justify-content-center" }, PasswordInput_default = /* @__PURE__ */ defineComponent({
8474
+ }), [["__scopeId", "data-v-deafc1f6"]]), _hoisted_1$44 = { class: "relative passwordInput" }, _hoisted_2$31 = { class: "m-password position-bottom-end flex column justify-content-center" }, PasswordInput_default = /* @__PURE__ */ defineComponent({
8398
8475
  __name: "PasswordInput",
8399
8476
  props: /* @__PURE__ */ mergeModels({
8400
8477
  id: {},
@@ -8491,7 +8568,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
8491
8568
  "change"
8492
8569
  ], ["update:modelValue"]),
8493
8570
  setup(e, { emit: j }) {
8494
- useCssVars((e) => ({ "3f077eaa": e.activeBgColor || "var(--bgl-primary-light)" }));
8571
+ useCssVars((e) => ({ "6a1f8f2e": e.activeBgColor || "var(--bgl-primary-light)" }));
8495
8572
  let M = e, N = j, V = computed(() => M.groupName || M.id || Math.random().toString(36).substring(2, 15)), J = useModel(e, "modelValue"), VE = ref([]), HE = computed(() => Array.isArray(M.options) ? M.options : VE.value);
8496
8573
  async function UE() {
8497
8574
  if (typeof M.options == "function") try {
@@ -8587,7 +8664,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
8587
8664
  }, null, 8, ["onClick"])) : createCommentVNode("", !0)
8588
8665
  ], 14, _hoisted_1$43))), 128))], 2));
8589
8666
  }
8590
- }), [["__scopeId", "data-v-3c01ca25"]]), _hoisted_1$42 = { class: "bagel-input" }, _hoisted_2$29 = { class: "pb-025" }, _hoisted_3$23 = { class: "flex gap-05 flex-wrap" }, _hoisted_4$15 = [
8667
+ }), [["__scopeId", "data-v-6f350bc3"]]), _hoisted_1$42 = { class: "bagel-input" }, _hoisted_2$29 = { class: "pb-025" }, _hoisted_3$23 = { class: "flex gap-05 flex-wrap" }, _hoisted_4$15 = [
8591
8668
  "id",
8592
8669
  "name",
8593
8670
  "value",
@@ -8630,7 +8707,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
8630
8707
  onChange: RE
8631
8708
  }, null, 40, _hoisted_4$15), createElementVNode("label", { for: `${e.id}-${V(t)}` }, toDisplayString(I(t)), 9, _hoisted_5$15)]))), 128))])]));
8632
8709
  }
8633
- }), [["__scopeId", "data-v-68b4cdd0"]]), _hoisted_1$41 = ["dir"], _hoisted_2$28 = {
8710
+ }), [["__scopeId", "data-v-820ded83"]]), _hoisted_1$41 = ["dir"], _hoisted_2$28 = {
8634
8711
  key: 0,
8635
8712
  class: "label"
8636
8713
  }, _hoisted_3$22 = { class: "range-slider relative w-100" }, _hoisted_4$14 = [
@@ -8799,7 +8876,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
8799
8876
  },
8800
8877
  emits: ["update:modelValue"],
8801
8878
  setup(e, { emit: j }) {
8802
- let M = e, N = j, V = (e) => typeof e == "function", J = ref(), UE = ref(), WE = ref([]), GE = computed(() => WE.value.length ?? 0), KE = ref(""), qE = ref(), JE = ref(!1), XE = ref(!1), ZE = computed(() => GE.value === 0 ? M.placeholder : GE.value > 4 ? `${WE.value.slice(0, 4).map((e) => dD(e)).join(", ")}... +${GE.value - 4}` : WE.value.map((e) => dD(e)).join(", ")), QE = computed(() => M.searchPlaceholder ?? ZE.value ?? "Search"), { results: eD, isLoading: nD } = useSearch({
8879
+ let M = e, N = j, V = (e) => typeof e == "function", J = ref(), UE = ref(), WE = ref([]), GE = computed(() => WE.value.length ?? 0), KE = ref(""), qE = ref(), JE = ref(!1), XE = ref(!1), ZE = computed(() => GE.value === 0 ? M.placeholder : 4 < GE.value ? `${WE.value.slice(0, 4).map((e) => dD(e)).join(", ")}... +${GE.value - 4}` : WE.value.map((e) => dD(e)).join(", ")), QE = computed(() => M.searchPlaceholder ?? ZE.value ?? "Search"), { results: eD, isLoading: nD } = useSearch({
8803
8880
  searchTerm: () => KE.value,
8804
8881
  serverSearch: V(M.options) ? M.options : void 0,
8805
8882
  items: () => Array.isArray(M.options) ? M.options : [],
@@ -8812,7 +8889,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
8812
8889
  }, 210);
8813
8890
  return;
8814
8891
  }
8815
- e === "up" ? iD.value = iD.value > 0 ? iD.value - 1 : eD.value.length - 1 : e === "down" && (iD.value = iD.value < eD.value.length - 1 ? iD.value + 1 : 0), setTimeout(() => {
8892
+ e === "up" ? iD.value = 0 < iD.value ? iD.value - 1 : eD.value.length - 1 : e === "down" && (iD.value = iD.value < eD.value.length - 1 ? iD.value + 1 : 0), setTimeout(() => {
8816
8893
  let e = oD.value?.children[iD.value];
8817
8894
  e ? e.focus() : iD.value = -1;
8818
8895
  }, 10);
@@ -8842,7 +8919,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
8842
8919
  function _D(e) {
8843
8920
  JE.value = !0;
8844
8921
  let t = WE.value.findIndex((t) => fD(t) === fD(e));
8845
- if (t > -1) WE.value.splice(t, 1);
8922
+ if (-1 < t) WE.value.splice(t, 1);
8846
8923
  else if (M.multiselect) {
8847
8924
  let t = [...WE.value];
8848
8925
  t.push(e), WE.value = t;
@@ -8885,7 +8962,15 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
8885
8962
  }, {
8886
8963
  deep: !0,
8887
8964
  immediate: !0
8888
- }), onMounted(() => {
8965
+ }), watch(() => eD.value, (e) => {
8966
+ V(M.options) && 0 < e.length && WE.value.forEach((t, j) => {
8967
+ let M = fD(t);
8968
+ if (typeof t != "object" || !t.label) {
8969
+ let t = e.find((e) => fD(e) === M);
8970
+ t && WE.value.splice(j, 1, t);
8971
+ }
8972
+ });
8973
+ }, { deep: !0 }), onMounted(() => {
8889
8974
  let e = M.options;
8890
8975
  if (M.defaultValue !== void 0 && Array.isArray(e)) {
8891
8976
  let t = e.find((e) => fD(e) === fD(M.defaultValue));
@@ -8995,13 +9080,13 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
8995
9080
  class: "opacity-3",
8996
9081
  icon: "check_box_outline_blank",
8997
9082
  size: 1.1
8998
- }))], 64)) : createCommentVNode("", !0), createElementVNode("span", _hoisted_8$7, toDisplayString(dD(M)), 1)], 42, _hoisted_7$8))), 128)), unref(eD).length === 0 ? (openBlock(), createElementBlock("p", _hoisted_9$6, "No options found")) : createCommentVNode("", !0)], 2), renderSlot(e.$slots, "last", {}, void 0, !0)]),
9083
+ }))], 64)) : createCommentVNode("", !0), createElementVNode("span", _hoisted_8$7, toDisplayString(dD(M)), 1)], 42, _hoisted_7$8))), 128)), unref(eD).length === 0 ? (openBlock(), createElementBlock("p", _hoisted_9$6, " No options found ")) : createCommentVNode("", !0)], 2), renderSlot(e.$slots, "last", {}, void 0, !0)]),
8999
9084
  _: 3
9000
9085
  }, 8, ["style"])]),
9001
9086
  _: 3
9002
9087
  }, 8, ["shown", "placement"]));
9003
9088
  }
9004
- }), [["__scopeId", "data-v-23d5f165"]]), _hoisted_1$39 = ["title"], _hoisted_2$26 = ["for"], _hoisted_3$20 = { key: 0 }, _hoisted_4$12 = [
9089
+ }), [["__scopeId", "data-v-52d36a29"]]), _hoisted_1$39 = ["title"], _hoisted_2$26 = ["for"], _hoisted_3$20 = { key: 0 }, _hoisted_4$12 = [
9005
9090
  "id",
9006
9091
  "name",
9007
9092
  "title",
@@ -9084,7 +9169,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
9084
9169
  focus: () => J.value?.focus(),
9085
9170
  hasFocus: () => document.activeElement === J.value
9086
9171
  }), onMounted(async () => {
9087
- M.autofocus && (await until(() => J.value).toBeTruthy(), await sleep(400), J.value?.focus()), M.defaultValue && !M.modelValue && (V.value = M.defaultValue), M.autoheight && (await nextTick(), WE());
9172
+ M.autofocus && (await until(() => J.value).toBeTruthy(), await sleep(400), J.value?.focus()), M.autoheight && (await nextTick(), WE());
9088
9173
  }), (e, t) => (openBlock(), createElementBlock("div", {
9089
9174
  class: normalizeClass(["bagel-input text-input", {
9090
9175
  dense: e.dense,
@@ -9152,7 +9237,7 @@ var _hoisted_1$48 = ["title"], _hoisted_2$34 = ["for"], _hoisted_3$27 = { class:
9152
9237
  }, null, 8, ["icon"])) : createCommentVNode("", !0)
9153
9238
  ], 8, _hoisted_2$26)], 10, _hoisted_1$39));
9154
9239
  }
9155
- }), [["__scopeId", "data-v-158a9742"]]);
9240
+ }), [["__scopeId", "data-v-0a3015aa"]]);
9156
9241
  const tableTools = [
9157
9242
  "mergeCells",
9158
9243
  "splitCells",
@@ -9572,7 +9657,7 @@ var _hoisted_1$38 = { class: "table-grid-selector p-075" }, _hoisted_2$25 = { cl
9572
9657
  }
9573
9658
  function J(t) {
9574
9659
  let j = e.config.map(VE).filter(Boolean), M = -1;
9575
- for (let e = t - 1; e >= 0; e--) {
9660
+ for (let e = t - 1; 0 <= e; e--) {
9576
9661
  let t = j[e];
9577
9662
  if (t && t.name !== "separator" && !V(t.name)) {
9578
9663
  M = e;
@@ -9766,7 +9851,7 @@ var _hoisted_1$38 = { class: "table-grid-selector p-075" }, _hoisted_2$25 = { cl
9766
9851
  }, "|")) : createCommentVNode("", !0)], 64))), 128))]);
9767
9852
  };
9768
9853
  }
9769
- }), [["__scopeId", "data-v-d36f1ef5"]]);
9854
+ }), [["__scopeId", "data-v-24a7c834"]]);
9770
9855
  function insertLink(e, t) {
9771
9856
  let { doc: j } = t;
9772
9857
  if (!j) {
@@ -9800,7 +9885,7 @@ function selectWordAtCursor(e, t) {
9800
9885
  let j = t.startContainer, M = t.startOffset;
9801
9886
  if (j.nodeType !== Node.TEXT_NODE) {
9802
9887
  let e = j;
9803
- if (e.childNodes.length > 0 && M < e.childNodes.length) {
9888
+ if (0 < e.childNodes.length && M < e.childNodes.length) {
9804
9889
  let t = e.childNodes[M];
9805
9890
  if (t.nodeType === Node.TEXT_NODE) j = t, M = 0;
9806
9891
  else return !1;
@@ -9809,7 +9894,7 @@ function selectWordAtCursor(e, t) {
9809
9894
  let N = j.textContent || "";
9810
9895
  if (!N) return !1;
9811
9896
  let I = M, V = M, U = /[\u0590-\u05FF\u0600-\u06FF\w]/;
9812
- for (; I > 0 && U.test(N[I - 1]);) I--;
9897
+ for (; 0 < I && U.test(N[I - 1]);) I--;
9813
9898
  for (; V < N.length && U.test(N[V]);) V++;
9814
9899
  if (I < V) {
9815
9900
  t.setStart(j, I), t.setEnd(j, V);
@@ -9852,7 +9937,7 @@ function insertTable(e, t, j) {
9852
9937
  }
9853
9938
  function mergeCells(e, t) {
9854
9939
  let j = Array.from(e.cloneContents().querySelectorAll("td"));
9855
- if (j.length < 2) return;
9940
+ if (2 > j.length) return;
9856
9941
  let M = e.startContainer.parentElement?.closest("td");
9857
9942
  if (!M) return;
9858
9943
  M.colSpan = j.length, M.innerHTML = j.map((e) => e.innerHTML).join(" "), j.slice(1).forEach((e) => {
@@ -9954,7 +10039,7 @@ function applyFormattingToWordAtCursor(e, t, j) {
9954
10039
  let M = t.startContainer, N = t.startOffset;
9955
10040
  if (M.nodeType !== Node.TEXT_NODE) {
9956
10041
  let e = M;
9957
- if (e.childNodes.length > 0 && N < e.childNodes.length) {
10042
+ if (0 < e.childNodes.length && N < e.childNodes.length) {
9958
10043
  let t = e.childNodes[N];
9959
10044
  if (t.nodeType === Node.TEXT_NODE) M = t, N = 0;
9960
10045
  else return !1;
@@ -9977,7 +10062,7 @@ function applyFormattingToWordAtCursor(e, t, j) {
9977
10062
  let V = M.textContent || "";
9978
10063
  if (!V) return !1;
9979
10064
  let U = N, RE = N, zE = /[\u0590-\u05FF\u0600-\u06FF\w]/;
9980
- for (N > 0 && zE.test(V[N - 1]) && (N >= V.length || !zE.test(V[N])) && (U = N - 1, RE = N - 1); U > 0 && zE.test(V[U - 1]);) U--;
10065
+ for (0 < N && zE.test(V[N - 1]) && (N >= V.length || !zE.test(V[N])) && (U = N - 1, RE = N - 1); 0 < U && zE.test(V[U - 1]);) U--;
9981
10066
  for (; RE < V.length && zE.test(V[RE]);) RE++;
9982
10067
  if (U < RE && RE > U) try {
9983
10068
  let t = V.substring(0, U), N = V.substring(U, RE), I = V.substring(RE), zE = e.createElement(j);
@@ -10007,7 +10092,7 @@ function updateStateAfterCommand(e) {
10007
10092
  if (!e.doc) return;
10008
10093
  e.content = e.doc.body.innerHTML;
10009
10094
  let t = e.doc.getSelection();
10010
- t && t.rangeCount > 0 && (e.selection = t, e.range = t.getRangeAt(0).cloneRange(), e.rangeCount = t.rangeCount);
10095
+ t && 0 < t.rangeCount && (e.selection = t, e.range = t.getRangeAt(0).cloneRange(), e.rangeCount = t.rangeCount);
10011
10096
  }
10012
10097
  function findBlockElement(e) {
10013
10098
  let t = e.nodeType === Node.TEXT_NODE ? e.parentElement : e;
@@ -10029,13 +10114,13 @@ function createCommand(e, t, j) {
10029
10114
  function createCommandRegistry(e) {
10030
10115
  let t = {
10031
10116
  undo: createCommand("Undo", () => {
10032
- if (e.undoStack.length > 0 && e.doc) {
10117
+ if (0 < e.undoStack.length && e.doc) {
10033
10118
  let t = e.undoStack.pop();
10034
10119
  t !== void 0 && (e.redoStack.push(e.content), e.content = t, e.doc.body.innerHTML = t);
10035
10120
  }
10036
10121
  }),
10037
10122
  redo: createCommand("Redo", () => {
10038
- if (e.redoStack.length > 0 && e.doc) {
10123
+ if (0 < e.redoStack.length && e.doc) {
10039
10124
  let t = e.redoStack.pop();
10040
10125
  t !== void 0 && (e.undoStack.push(e.content), e.content = t, e.doc.body.innerHTML = t);
10041
10126
  }
@@ -10339,7 +10424,8 @@ function createCommandRegistry(e) {
10339
10424
  ].includes(I)) {
10340
10425
  let j = t(M.textContent || "");
10341
10426
  return e.doc.createTextNode(j);
10342
- } else if (V.includes(I)) {
10427
+ }
10428
+ if (V.includes(I)) {
10343
10429
  let t = e.doc.createElement(I);
10344
10430
  return I === "a" && M.hasAttribute("href") ? (t.setAttribute("href", M.getAttribute("href") || ""), M.hasAttribute("target") && t.setAttribute("target", M.getAttribute("target") || ""), M.hasAttribute("rel") && t.setAttribute("rel", M.getAttribute("rel") || "")) : I === "img" ? (M.hasAttribute("src") && t.setAttribute("src", M.getAttribute("src") || ""), M.hasAttribute("alt") && t.setAttribute("alt", M.getAttribute("alt") || ""), M.hasAttribute("width") && t.setAttribute("width", M.getAttribute("width") || ""), M.hasAttribute("height") && t.setAttribute("height", M.getAttribute("height") || "")) : I === "iframe" ? (M.hasAttribute("src") && t.setAttribute("src", M.getAttribute("src") || ""), M.hasAttribute("width") && t.setAttribute("width", M.getAttribute("width") || ""), M.hasAttribute("height") && t.setAttribute("height", M.getAttribute("height") || ""), M.hasAttribute("frameborder") && t.setAttribute("frameborder", M.getAttribute("frameborder") || ""), M.hasAttribute("allowfullscreen") && t.setAttribute("allowfullscreen", M.getAttribute("allowfullscreen") || "")) : (I === "video" || I === "audio") && (M.hasAttribute("src") && t.setAttribute("src", M.getAttribute("src") || ""), M.hasAttribute("controls") && t.setAttribute("controls", M.getAttribute("controls") || ""), M.hasAttribute("width") && t.setAttribute("width", M.getAttribute("width") || ""), M.hasAttribute("height") && t.setAttribute("height", M.getAttribute("height") || "")), Array.from(M.childNodes).forEach((e) => {
10345
10431
  let j = N(e);
@@ -10690,7 +10776,7 @@ var EditorDebugger = class {
10690
10776
  };
10691
10777
  }
10692
10778
  getNodeDescription(e) {
10693
- if (e.nodeType === Node.TEXT_NODE) return `Text("${e.textContent?.slice(0, 20)}${e.textContent && e.textContent.length > 20 ? "..." : ""}")`;
10779
+ if (e.nodeType === Node.TEXT_NODE) return `Text("${e.textContent?.slice(0, 20)}${e.textContent && 20 < e.textContent.length ? "..." : ""}")`;
10694
10780
  let t = e;
10695
10781
  return `${t.tagName.toLowerCase()}${t.id ? `#${t.id}` : ""}`;
10696
10782
  }
@@ -10881,7 +10967,7 @@ function useEditor() {
10881
10967
  t.doc.body.focus();
10882
10968
  return;
10883
10969
  }
10884
- (!t.selection || t.selection !== e || t.rangeCount !== e.rangeCount || e.rangeCount > 0 && t.range && (t.range.startContainer !== e.getRangeAt(0).startContainer || t.range.startOffset !== e.getRangeAt(0).startOffset || t.range.endContainer !== e.getRangeAt(0).endContainer || t.range.endOffset !== e.getRangeAt(0).endOffset)) && (t.selection = e, t.rangeCount = e.rangeCount, e.rangeCount > 0 && (t.range = e.getRangeAt(0).cloneRange()), j.styles());
10970
+ (!t.selection || t.selection !== e || t.rangeCount !== e.rangeCount || 0 < e.rangeCount && t.range && (t.range.startContainer !== e.getRangeAt(0).startContainer || t.range.startOffset !== e.getRangeAt(0).startOffset || t.range.endContainer !== e.getRangeAt(0).endContainer || t.range.endOffset !== e.getRangeAt(0).endOffset)) && (t.selection = e, t.rangeCount = e.rangeCount, 0 < e.rangeCount && (t.range = e.getRangeAt(0).cloneRange()), j.styles());
10885
10971
  } catch {
10886
10972
  t.selection = null, t.range = null, t.rangeCount = 0, t.selectedStyles = /* @__PURE__ */ new Set();
10887
10973
  }
@@ -11128,7 +11214,8 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
11128
11214
  hideH5H6: { type: Boolean },
11129
11215
  hide: {},
11130
11216
  autofocus: { type: Boolean },
11131
- textColor: {}
11217
+ textColor: {},
11218
+ fontSize: {}
11132
11219
  },
11133
11220
  emits: ["update:modelValue"],
11134
11221
  setup(e, { expose: j, emit: M }) {
@@ -11139,7 +11226,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
11139
11226
  }
11140
11227
  return "#000";
11141
11228
  }), XE = computed(() => {
11142
- let e = YE.value, t = N.textColor || (e && e.length > 0 && e !== "#000" ? e : "inherit");
11229
+ let e = YE.value, t = N.textColor || (e && 0 < e.length && e !== "#000" ? e : "inherit");
11143
11230
  return console.log("🎨 currentTextColor computed:", t, "from inputColor:", e), t;
11144
11231
  }), ZE = null;
11145
11232
  onMounted(() => {
@@ -11318,7 +11405,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
11318
11405
  function HD(e, t = !1) {
11319
11406
  if (!e) return;
11320
11407
  let j = e.body.innerHTML;
11321
- j !== WE.state.content && (t || (WE.state.undoStack.push(WE.state.content), WE.state.redoStack = [], WE.state.undoStack.length > 50 && WE.state.undoStack.shift()), WE.state.content = j, e === WE.state.doc && BD());
11408
+ j !== WE.state.content && (t || (WE.state.undoStack.push(WE.state.content), WE.state.redoStack = [], 50 < WE.state.undoStack.length && WE.state.undoStack.shift()), WE.state.content = j, e === WE.state.doc && BD());
11322
11409
  }
11323
11410
  function UD() {
11324
11411
  let { doc: e } = WE.state;
@@ -11379,7 +11466,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
11379
11466
  let M = t.getSelection();
11380
11467
  M && (M.removeAllRanges(), M.addRange(j)), qE.execute(e), setTimeout(() => {
11381
11468
  let e = t.getSelection();
11382
- if (e && e.rangeCount > 0) {
11469
+ if (e && 0 < e.rangeCount) {
11383
11470
  let t = e.getRangeAt(0);
11384
11471
  t.collapsed ? GD() : ED.value._storedRange = t.cloneRange();
11385
11472
  }
@@ -11389,7 +11476,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
11389
11476
  function qD(e, t, j) {
11390
11477
  if (t === void 0 || j === void 0) {
11391
11478
  let t = WE.state.doc?.getSelection();
11392
- if (t && t.rangeCount > 0) {
11479
+ if (t && 0 < t.rangeCount) {
11393
11480
  let j = t.getRangeAt(0).getBoundingClientRect(), M = UE.value?.getBoundingClientRect() || {
11394
11481
  left: 0,
11395
11482
  top: 0
@@ -11732,16 +11819,16 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
11732
11819
  }
11733
11820
  if (e) {
11734
11821
  let t = e.querySelector("tbody"), j = e.querySelector("thead"), M = !1, N = "#f9f9f9", I = "#333333";
11735
- if (t && t.rows.length >= 2) {
11822
+ if (t && 2 <= t.rows.length) {
11736
11823
  let e = t.rows[0], j = t.rows[1];
11737
- if (e.cells.length > 0 && j.cells.length > 0) {
11824
+ if (0 < e.cells.length && 0 < j.cells.length) {
11738
11825
  let t = e.cells[0], V = j.cells[0], U = getComputedStyle(t).backgroundColor, RE = getComputedStyle(V).backgroundColor;
11739
11826
  U !== RE && (M = !0, N = RE, I = getComputedStyle(V).color);
11740
11827
  }
11741
11828
  }
11742
11829
  jD.value = {
11743
11830
  rows: t ? t.rows.length : 3,
11744
- cols: t && t.rows.length > 0 ? t.rows[0].cells.length : 3,
11831
+ cols: t && 0 < t.rows.length ? t.rows[0].cells.length : 3,
11745
11832
  width: Number.parseInt(e.style.width) || 100,
11746
11833
  borderWidth: Number.parseInt(e.style.borderWidth) || 1,
11747
11834
  borderColor: e.style.borderColor || "#dddddd",
@@ -11849,13 +11936,13 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
11849
11936
  if (t.fixedLayout) {
11850
11937
  e.style.tableLayout = "fixed";
11851
11938
  let t = e.querySelectorAll("th"), j = e.querySelectorAll("td");
11852
- if (t.length > 0) {
11939
+ if (0 < t.length) {
11853
11940
  let e = `${100 / t.length}%`;
11854
11941
  t.forEach((t) => {
11855
11942
  t.style.width || (t.style.width = e);
11856
11943
  });
11857
11944
  }
11858
- if (j.length > 0 && t.length === 0) {
11945
+ if (0 < j.length && t.length === 0) {
11859
11946
  let t = e.querySelector("tr");
11860
11947
  if (t) {
11861
11948
  let e = `${100 / t.querySelectorAll("td").length}%`;
@@ -11885,7 +11972,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
11885
11972
  let { doc: e } = WE.state;
11886
11973
  if (!e || !FD.value) return;
11887
11974
  let t = FD.value, j = t.parentElement, M = Array.from(j.cells).indexOf(t), N = t.closest("table")?.dir === "rtl" ? M - 1 : M + 1, I = j.cells[N];
11888
- if (I && N >= 0 && N < j.cells.length) {
11975
+ if (I && 0 <= N && N < j.cells.length) {
11889
11976
  I.innerHTML.trim() && (t.innerHTML += ` ${I.innerHTML}`);
11890
11977
  let j = Number.parseInt(t.getAttribute("colspan") || "1"), M = Number.parseInt(I.getAttribute("colspan") || "1");
11891
11978
  t.setAttribute("colspan", (j + M).toString()), I.remove(), HD(e);
@@ -11908,14 +11995,14 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
11908
11995
  let { doc: e } = WE.state;
11909
11996
  if (!e || !FD.value) return;
11910
11997
  let t = FD.value, j = t.closest("table"), M = j?.dir === "rtl", N = Number.parseInt(t.getAttribute("colspan") || "1"), I = Number.parseInt(t.getAttribute("rowspan") || "1");
11911
- if (N > 1) {
11998
+ if (1 < N) {
11912
11999
  t.setAttribute("colspan", "1");
11913
12000
  let j = t.parentElement;
11914
12001
  for (let I = 1; I < N; I++) {
11915
12002
  let N = e.createElement(t.tagName.toLowerCase());
11916
12003
  N.innerHTML = "&nbsp;", N.style.cssText = t.style.cssText, M ? j.insertBefore(N, t) : t.nextSibling ? j.insertBefore(N, t.nextSibling) : j.appendChild(N);
11917
12004
  }
11918
- } else if (I > 1) {
12005
+ } else if (1 < I) {
11919
12006
  t.setAttribute("rowspan", "1");
11920
12007
  let M = t.parentElement, N = Array.from(M.cells).indexOf(t), V = j.querySelector("tbody") || j, U = Array.from(V.querySelectorAll("tr")), RE = U.indexOf(M);
11921
12008
  for (let j = 1; j < I; j++) {
@@ -11952,7 +12039,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
11952
12039
  let { doc: e } = WE.state;
11953
12040
  if (!e || !FD.value) return;
11954
12041
  let t = FD.value, j = t.parentElement, M = t.closest("table");
11955
- if ((M.querySelector("tbody") || M).querySelectorAll("tr").length <= 1) {
12042
+ if (1 >= (M.querySelector("tbody") || M).querySelectorAll("tr").length) {
11956
12043
  alert("Cannot delete the last row");
11957
12044
  return;
11958
12045
  }
@@ -11982,7 +12069,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
11982
12069
  let { doc: e } = WE.state;
11983
12070
  if (!e || !FD.value) return;
11984
12071
  let t = FD.value, j = t.closest("table"), M = Array.from(t.parentElement.cells).indexOf(t), N = j.querySelector("tr");
11985
- if (N && N.cells.length <= 1) {
12072
+ if (N && 1 >= N.cells.length) {
11986
12073
  alert("Cannot delete the last column");
11987
12074
  return;
11988
12075
  }
@@ -11993,7 +12080,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
11993
12080
  let TO = computed(() => {
11994
12081
  if (!FD.value) return !1;
11995
12082
  let e = FD.value, t = e.parentElement, j = Array.from(t.cells).indexOf(e), M = e.closest("table")?.dir === "rtl" ? j - 1 : j + 1;
11996
- return M >= 0 && M < t.cells.length;
12083
+ return 0 <= M && M < t.cells.length;
11997
12084
  }), EO = computed(() => {
11998
12085
  if (!FD.value) return !1;
11999
12086
  let e = FD.value, t = e.closest("table"), j = Array.from(t.rows), M = e.parentElement;
@@ -12001,7 +12088,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
12001
12088
  }), DO = computed(() => {
12002
12089
  if (!FD.value) return !1;
12003
12090
  let e = FD.value, t = Number.parseInt(e.getAttribute("colspan") || "1"), j = Number.parseInt(e.getAttribute("rowspan") || "1");
12004
- return t > 1 || j > 1;
12091
+ return 1 < t || 1 < j;
12005
12092
  });
12006
12093
  function OO(e) {
12007
12094
  let t = e.target.closest("td, th");
@@ -12066,7 +12153,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
12066
12153
  if (e.body.dataset.normalizing !== "true") {
12067
12154
  e.body.dataset.normalizing = "true";
12068
12155
  try {
12069
- let t = e.createTreeWalker(e.body, NodeFilter.SHOW_TEXT, (t) => t.parentNode === e.body && t.textContent?.trim() && t.textContent.trim().length > 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT), M = [], I;
12156
+ let t = e.createTreeWalker(e.body, NodeFilter.SHOW_TEXT, (t) => t.parentNode === e.body && t.textContent?.trim() && 0 < t.textContent.trim().length ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT), M = [], I;
12070
12157
  for (; I = t.nextNode();) M.push(I);
12071
12158
  if (M.forEach((t) => {
12072
12159
  if (t.parentNode === e.body && t.textContent?.trim() && t.nodeType === Node.TEXT_NODE) {
@@ -12089,7 +12176,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
12089
12176
  for (let e = 0; e < V.length; e++) {
12090
12177
  let t = V[e];
12091
12178
  if (!t.textContent?.trim() || t.innerHTML === "<br>") {
12092
- let j = e === V.length - 1, M = e > 0 ? V[e - 1] : null;
12179
+ let j = e === V.length - 1, M = 0 < e ? V[e - 1] : null;
12093
12180
  M && (!M.textContent?.trim() || M.innerHTML === "<br>") && !j && t.remove();
12094
12181
  }
12095
12182
  }
@@ -12402,7 +12489,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
12402
12489
  let M = t.getSelection();
12403
12490
  M && (M.removeAllRanges(), M.addRange(j)), HD(t);
12404
12491
  }
12405
- N.autofocus === !0 && t.body.focus(), KE.value = !0, setTimeout(() => {
12492
+ !0 === N.autofocus && t.body.focus(), KE.value = !0, setTimeout(() => {
12406
12493
  FO();
12407
12494
  }, 100);
12408
12495
  } catch (e) {
@@ -12423,23 +12510,26 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
12423
12510
  }
12424
12511
  let e = UE.value.contentDocument, t = e.getElementById("editor-theme-styles");
12425
12512
  t || (t = e.createElement("style"), t.id = "editor-theme-styles", e.head.appendChild(t), console.log("✅ Created new style element"));
12426
- let j = `
12513
+ let j = N.fontSize ? typeof N.fontSize == "number" ? `${N.fontSize}px` : N.fontSize : "16px", M = `
12427
12514
  :root {
12428
12515
  --input-color: ${YE.value || "#000"};
12516
+ --richtext-font-size: ${j};
12429
12517
  }
12430
12518
  body {
12431
12519
  color: ${XE.value} !important;
12520
+ font-size: ${j} !important;
12432
12521
  }
12433
12522
 
12434
- /* Ensure all text elements inherit the color */
12523
+ /* Ensure all text elements inherit the color and font size */
12435
12524
  p, h1, h2, h3, h4, h5, h6, div, span, li, td, th {
12436
12525
  color: inherit !important;
12526
+ font-size: inherit !important;
12437
12527
  }
12438
12528
  `;
12439
- t.textContent = j, console.log("🎨 Updated iframe colors:", {
12529
+ t.textContent = M, console.log("🎨 Updated iframe colors:", {
12440
12530
  inputColor: YE.value,
12441
12531
  textColor: XE.value,
12442
- css: j.trim()
12532
+ css: M.trim()
12443
12533
  });
12444
12534
  }
12445
12535
  watch([YE, XE], (e, t) => {
@@ -12449,7 +12539,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
12449
12539
  hasInitialized: KE.value
12450
12540
  }), KE.value && FO();
12451
12541
  }, { flush: "post" }), watch(() => N.modelValue, (e, t) => {
12452
- e !== WE.state.content && (!t || Math.abs(e.length - t.length) > 50 ? (KE.value = !1, WE.state.content = e, WE.updateState.content("html"), setTimeout(() => {
12542
+ e !== WE.state.content && (!t || 50 < Math.abs(e.length - t.length) ? (KE.value = !1, WE.state.content = e, WE.updateState.content("html"), setTimeout(() => {
12453
12543
  WE.state.doc && (HD(WE.state.doc), MO(WE.state.doc));
12454
12544
  }, 100)) : setTimeout(() => {
12455
12545
  WE.state.doc && MO(WE.state.doc);
@@ -13294,7 +13384,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
13294
13384
  }, 8, ["visible", "title"])
13295
13385
  ], 64));
13296
13386
  }
13297
- }), [["__scopeId", "data-v-cab35ce7"]]), _hoisted_1$35 = { class: "flex flex-wrap gap-05 SelectBtn" }, SelectBtn_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
13387
+ }), [["__scopeId", "data-v-4ee45644"]]), _hoisted_1$35 = { class: "flex flex-wrap gap-05 SelectBtn" }, SelectBtn_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
13298
13388
  __name: "SelectBtn",
13299
13389
  props: /* @__PURE__ */ mergeModels({
13300
13390
  options: {},
@@ -13314,7 +13404,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
13314
13404
  function N(e) {
13315
13405
  if (j.multiselect) {
13316
13406
  let t = Array.isArray(M.value) ? M.value : [];
13317
- t.indexOf(e) > -1 ? M.value = t.filter((t) => t !== e) : M.value = [...t, e];
13407
+ -1 < t.indexOf(e) ? M.value = t.filter((t) => t !== e) : M.value = [...t, e];
13318
13408
  } else M.value === e ? M.value = null : M.value = e;
13319
13409
  }
13320
13410
  function I(e) {
@@ -13342,7 +13432,7 @@ var _hoisted_1$36 = { key: 0 }, _hoisted_2$23 = {
13342
13432
  "onClick"
13343
13433
  ]))), 128))]));
13344
13434
  }
13345
- }), [["__scopeId", "data-v-50b10a3e"]]), Point = class {
13435
+ }), [["__scopeId", "data-v-45151960"]]), Point = class {
13346
13436
  constructor(e, t, j, M) {
13347
13437
  if (isNaN(e) || isNaN(t)) throw Error(`Point is invalid: (${e}, ${t})`);
13348
13438
  this.x = +e, this.y = +t, this.pressure = j || 0, this.time = M || Date.now();
@@ -15292,7 +15382,7 @@ var eventsListened = [
15292
15382
  ], 8, _hoisted_1$33);
15293
15383
  };
15294
15384
  }
15295
- }), [["__scopeId", "data-v-e9632f79"]]), metadata_min_json_default = {
15385
+ }), [["__scopeId", "data-v-65f6ecd8"]]), metadata_min_json_default = {
15296
15386
  version: 4,
15297
15387
  country_calling_codes: {
15298
15388
  1: [
@@ -24344,7 +24434,7 @@ var _hoisted_1$32 = { key: 0 }, _hoisted_2$20 = ["aria-expanded"], _hoisted_3$16
24344
24434
  function rD(e) {
24345
24435
  if (!e.startsWith("+")) return !1;
24346
24436
  let t = e.replace(/\D/g, "");
24347
- if (t.length <= 1) return !1;
24437
+ if (1 >= t.length) return !1;
24348
24438
  for (let e of JE.value) if (t.startsWith(e.dialCode) && e !== UE.value) return ZE(e), !0;
24349
24439
  return !1;
24350
24440
  }
@@ -24371,7 +24461,7 @@ var _hoisted_1$32 = { key: 0 }, _hoisted_2$20 = ["aria-expanded"], _hoisted_3$16
24371
24461
  } else V.value &&= eD(V.value);
24372
24462
  nD(), N("blur", e);
24373
24463
  }
24374
- let cD = computed(() => JE.value.length === 1 && !J.value), uD = computed(() => JE.value.length > 7 || J.value);
24464
+ let cD = computed(() => JE.value.length === 1 && !J.value), uD = computed(() => 7 < JE.value.length || J.value);
24375
24465
  function dD() {
24376
24466
  setTimeout(() => WE.value?.focus(), 100);
24377
24467
  }
@@ -24450,7 +24540,7 @@ var _hoisted_1$32 = { key: 0 }, _hoisted_2$20 = ["aria-expanded"], _hoisted_3$16
24450
24540
  ])], 2);
24451
24541
  };
24452
24542
  }
24453
- }), [["__scopeId", "data-v-f19b4eea"]]), _hoisted_1$31 = ["title"], _hoisted_2$19 = ["id", "required"], _hoisted_3$15 = ["for"], ToggleInput_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
24543
+ }), [["__scopeId", "data-v-4644c33c"]]), _hoisted_1$31 = ["title"], _hoisted_2$19 = ["id", "required"], _hoisted_3$15 = ["for"], ToggleInput_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
24454
24544
  __name: "ToggleInput",
24455
24545
  props: /* @__PURE__ */ mergeModels({
24456
24546
  label: {},
@@ -24471,24 +24561,22 @@ var _hoisted_1$32 = { key: 0 }, _hoisted_2$20 = ["aria-expanded"], _hoisted_3$16
24471
24561
  }),
24472
24562
  emits: ["update:modelValue"],
24473
24563
  setup(e) {
24474
- let t = e, j = ref(t.id || Math.random().toString(36).slice(7)), M = useModel(e, "modelValue");
24475
- return onMounted(() => {
24476
- M.value === void 0 && (M.value = t.defaultValue);
24477
- }), (e, t) => (openBlock(), createElementBlock("div", {
24564
+ let t = ref(e.id || Math.random().toString(36).slice(7)), j = useModel(e, "modelValue");
24565
+ return onMounted(() => {}), (e, M) => (openBlock(), createElementBlock("div", {
24478
24566
  class: normalizeClass(["bagel-input bgl-toggle", { small: e.small }]),
24479
24567
  title: e.title
24480
24568
  }, [
24481
- createElementVNode("div", { class: normalizeClass(["switch", { checked: M.value }]) }, t[1] ||= [createElementVNode("span", { class: "slider rounded" }, null, -1)], 2),
24569
+ createElementVNode("div", { class: normalizeClass(["switch", { checked: j.value }]) }, M[1] ||= [createElementVNode("span", { class: "slider rounded" }, null, -1)], 2),
24482
24570
  withDirectives(createElementVNode("input", {
24483
- id: j.value,
24484
- "onUpdate:modelValue": t[0] ||= (e) => M.value = e,
24571
+ id: t.value,
24572
+ "onUpdate:modelValue": M[0] ||= (e) => j.value = e,
24485
24573
  type: "checkbox",
24486
24574
  required: e.required
24487
- }, null, 8, _hoisted_2$19), [[vModelCheckbox, M.value]]),
24488
- createElementVNode("label", { for: j.value }, [renderSlot(e.$slots, "label", {}, () => [createTextVNode(toDisplayString(e.label), 1)], !0)], 8, _hoisted_3$15)
24575
+ }, null, 8, _hoisted_2$19), [[vModelCheckbox, j.value]]),
24576
+ createElementVNode("label", { for: t.value }, [renderSlot(e.$slots, "label", {}, () => [createTextVNode(toDisplayString(e.label), 1)], !0)], 8, _hoisted_3$15)
24489
24577
  ], 10, _hoisted_1$31));
24490
24578
  }
24491
- }), [["__scopeId", "data-v-c5e45931"]]);
24579
+ }), [["__scopeId", "data-v-5f7c62ed"]]);
24492
24580
  function bind(e, t) {
24493
24581
  return function() {
24494
24582
  return e.apply(t, arguments);
@@ -25956,7 +26044,7 @@ function useFileUpload(e = {}) {
25956
26044
  progress: 0,
25957
26045
  namespace: t
25958
26046
  }));
25959
- e.multiple ? j.value.push(...I) : j.value = I, e.onFileQueued && I.length > 0 && e.onFileQueued(I);
26047
+ e.multiple ? j.value.push(...I) : j.value = I, e.onFileQueued && 0 < I.length && e.onFileQueued(I);
25960
26048
  }
25961
26049
  async function zE(e) {
25962
26050
  if (typeof e == "string") {
@@ -26299,7 +26387,7 @@ var _hoisted_1$30 = { class: "bagel-input" }, _hoisted_2$18 = { key: 0 }, _hoist
26299
26387
  ]);
26300
26388
  };
26301
26389
  }
26302
- }), [["__scopeId", "data-v-8c087b43"]]);
26390
+ }), [["__scopeId", "data-v-eddb2dce"]]);
26303
26391
  const FONT_AWESOME_ICONS = /* @__PURE__ */ "trash-can.message.file-lines.calendar-days.hand-point-right.face-smile-beam.face-grin-stars.address-book.comments.paste.face-grin-tongue-squint.face-flushed.square-caret-right.square-minus.compass.square-caret-down.face-kiss-beam.lightbulb.flag.square-check.circle-dot.face-dizzy.futbol.pen-to-square.hourglass-half.eye-slash.hand.hand-spock.face-kiss.face-grin-tongue.chess-bishop.face-grin-wink.face-grin-wide.face-frown-open.hand-point-up.bookmark.hand-point-down.folder.user.square-caret-left.star.chess-knight.face-laugh-squint.face-laugh.folder-open.clipboard.chess-queen.hand-back-fist.square-caret-up.chart-bar.window-restore.square-plus.image.folder-closed.lemon.handshake.gem.circle-play.circle-check.circle-stop.id-badge.face-laugh-beam.registered.address-card.face-tired.font-awesome.face-smile-wink.file-word.file-powerpoint.envelope-open.file-zipper.square.snowflake.newspaper.face-kiss-wink-heart.star-half-stroke.file-excel.face-grin-beam.object-ungroup.circle-right.face-rolling-eyes.object-group.heart.face-surprise.circle-pause.circle.circle-up.file-audio.file-image.circle-question.face-meh-blank.eye.face-sad-cry.file-code.window-maximize.face-frown.floppy-disk.comment-dots.face-grin-squint.hand-pointer.hand-scissors.face-grin-tears.calendar-xmark.file-video.file-pdf.comment.envelope.hourglass.calendar-check.hard-drive.face-grin-squint-tears.rectangle-list.calendar-plus.circle-left.money-bill-1.clock.keyboard.closed-captioning.images.face-grin.face-meh.id-card.sun.face-laugh-wink.circle-down.thumbs-down.chess-pawn.credit-card.bell.file.hospital.chess-rook.star-half.chess-king.circle-user.copy.share-from-square.copyright.map.bell-slash.hand-lizard.face-smile.hand-peace.face-grin-hearts.building.face-grin-beam-sweat.moon.calendar.face-grin-tongue-wink.clone.face-angry.rectangle-xmark.paper-plane.life-ring.face-grimace.calendar-minus.circle-xmark.thumbs-up.window-minimize.square-full.note-sticky.face-sad-tear.hand-point-left".split("."), FONT_AWESOME_BRANDS_ICONS = /* @__PURE__ */ "monero.hooli.yelp.cc-visa.lastfm.shopware.creative-commons-nc.aws.redhat.yoast.cloudflare.ups.pixiv.wpexplorer.dyalog.bity.stackpath.buysellads.first-order.modx.guilded.vnv.square-js.microsoft.qq.orcid.java.invision.creative-commons-pd-alt.centercode.glide-g.drupal.jxl.dart-lang.hire-a-helper.creative-commons-by.unity.whmcs.rocketchat.vk.untappd.mailchimp.css3-alt.square-reddit.vimeo-v.contao.square-font-awesome.deskpro.brave.sistrix.square-instagram.battle-net.the-red-yeti.square-hacker-news.edge.threads.napster.square-snapchat.google-plus-g.artstation.markdown.sourcetree.google-plus.diaspora.foursquare.stack-overflow.github-alt.phoenix-squadron.pagelines.algolia.red-river.creative-commons-sa.safari.google.square-font-awesome-stroke.atlassian.linkedin-in.digital-ocean.nimblr.chromecast.evernote.hacker-news.creative-commons-sampling.adversal.creative-commons.watchman-monitoring.fonticons.weixin.shirtsinbulk.codepen.git-alt.lyft.rev.windows.wizards-of-the-coast.square-viadeo.meetup.centos.adn.cloudsmith.opensuse.pied-piper-alt.square-dribbble.codiepie.node.mix.steam.cc-apple-pay.scribd.debian.openid.instalod.files-pinwheel.expeditedssl.sellcast.square-twitter.r-project.delicious.freebsd.vuejs.accusoft.ioxhost.fonticons-fi.app-store.cc-mastercard.itunes-note.golang.kickstarter.grav.weibo.uncharted.firstdraft.square-youtube.wikipedia-w.wpressr.angellist.galactic-republic.nfc-directional.skype.joget.fedora.stripe-s.meta.laravel.hotjar.bluetooth-b.square-letterboxd.sticker-mule.creative-commons-zero.hips.css.behance.reddit.discord.chrome.app-store-ios.cc-discover.wpbeginner.confluence.shoelace.mdb.dochub.accessible-icon.ebay.amazon.unsplash.yarn.square-steam.500px.square-vimeo.asymmetrik.font-awesome.gratipay.apple.hive.gitkraken.keybase.apple-pay.padlet.amazon-pay.square-github.stumbleupon.fedex.phoenix-framework.shopify.neos.square-threads.hackerrank.researchgate.swift.angular.speakap.angrycreative.y-combinator.empire.envira.google-scholar.square-gitlab.studiovinari.pied-piper.wordpress.product-hunt.firefox.linode.goodreads.square-odnoklassniki.jsfiddle.sith.themeisle.page4.hashnode.react.cc-paypal.squarespace.cc-stripe.creative-commons-share.bitcoin.keycdn.opera.itch-io.umbraco.galactic-senate.ubuntu.draft2digital.stripe.houzz.gg.dhl.square-pinterest.xing.blackberry.creative-commons-pd.playstation.quinscape.less.blogger-b.opencart.vine.signal-messenger.paypal.gitlab.typo3.reddit-alien.yahoo.dailymotion.affiliatetheme.pied-piper-pp.bootstrap.odnoklassniki.nfc-symbol.mintbit.ethereum.speaker-deck.creative-commons-nc-eu.patreon.avianex.ello.gofore.bimobject.brave-reverse.facebook-f.square-google-plus.web-awesome.mandalorian.first-order-alt.osi.google-wallet.d-and-d-beyond.periscope.fulcrum.cloudscale.forumbee.mizuni.schlix.square-xing.bandcamp.wpforms.cloudversify.usps.megaport.magento.spotify.optin-monster.fly.square-bluesky.aviato.itunes.cuttlefish.blogger.flickr.viber.soundcloud.digg.tencent-weibo.letterboxd.symfony.maxcdn.etsy.facebook-messenger.audible.think-peaks.bilibili.erlang.x-twitter.cotton-bureau.dashcube.42-group.stack-exchange.elementor.square-pied-piper.creative-commons-nd.palfed.superpowers.resolving.xbox.square-web-awesome-stroke.searchengin.tiktok.square-facebook.renren.linux.glide.linkedin.hubspot.deploydog.twitch.flutter.ravelry.mixer.square-lastfm.vimeo.mendeley.uniregistry.figma.creative-commons-remix.cc-amazon-pay.dropbox.instagram.cmplid.upwork.facebook.gripfire.jedi-order.uikit.fort-awesome-alt.phabricator.ussunnah.earlybirds.trade-federation.autoprefixer.whatsapp.square-upwork.slideshare.google-play.viadeo.line.google-drive.servicestack.simplybuilt.bitbucket.imdb.deezer.raspberry-pi.jira.docker.screenpal.bluetooth.gitter.d-and-d.microblog.cc-diners-club.gg-circle.pied-piper-hat.kickstarter-k.yandex.readme.html5.sellsy.square-web-awesome.sass.wirsindhandwerk.buromobelexperte.salesforce.octopus-deploy.medapps.ns8.pinterest-p.apper.fort-awesome.waze.bluesky.cc-jcb.snapchat.fantasy-flight-games.rust.wix.square-behance.supple.webflow.rebel.css3.staylinked.kaggle.space-awesome.deviantart.cpanel.goodreads-g.square-git.square-tumblr.trello.creative-commons-nc-jp.get-pocket.perbyte.grunt.weebly.connectdevelop.leanpub.black-tie.themeco.python.android.bots.free-code-camp.hornbill.js.ideal.git.dev.sketch.yandex-international.cc-amex.uber.github.php.alipay.youtube.skyatlas.firefox-browser.replyd.suse.jenkins.twitter.rockrms.pinterest.buffer.npm.yammer.btc.dribbble.stumbleupon-circle.internet-explorer.stubber.telegram.old-republic.odysee.square-whatsapp.node-js.edge-legacy.slack.medrt.usb.tumblr.vaadin.quora.square-x-twitter.reacteurope.medium.amilia.mixcloud.flipboard.viacoin.critical-role.sitrox.discourse.joomla.mastodon.airbnb.wolf-pack-battalion.buy-n-large.gulp.creative-commons-sampling-plus.strava.ember.canadian-maple-leaf.teamspeak.pushed.wordpress-simple.nutritionix.wodu.google-pay.intercom.zhihu.korvue.pix.steam-symbol".split("."), MATERIAL_ICONS = /* @__PURE__ */ "10k.10mp.11mp.123.12mp.13mp.14mp.15mp.16mp.17mp.18_up_rating.18mp.19mp.1k.1k_plus.1x_mobiledata.1x_mobiledata_badge.20mp.21mp.22mp.23mp.24fps_select.24mp.2d.2k.2k_plus.2mp.30fps.30fps_select.360.3d_rotation.3g_mobiledata.3g_mobiledata_badge.3k.3k_plus.3mp.3p.4g_mobiledata.4g_mobiledata_badge.4g_plus_mobiledata.4k.4k_plus.4mp.50mp.5g.5g_mobiledata_badge.5k.5k_plus.5mp.60fps.60fps_select.6_ft_apart.6k.6k_plus.6mp.7k.7k_plus.7mp.8k.8k_plus.8mp.9k.9k_plus.9mp.abc.ac_unit.access_alarm.access_alarms.access_time.access_time_filled.accessibility.accessibility_new.accessible.accessible_forward.account_balance.account_balance_wallet.account_box.account_child.account_child_invert.account_circle.account_circle_off.account_tree.action_key.activity_zone.acute.ad.ad_group.ad_group_off.ad_off.ad_units.adaptive_audio_mic.adaptive_audio_mic_off.adb.add.add_2.add_a_photo.add_ad.add_alarm.add_alert.add_box.add_business.add_call.add_card.add_chart.add_circle.add_circle_outline.add_column_left.add_column_right.add_comment.add_diamond.add_home.add_home_work.add_ic_call.add_link.add_location.add_location_alt.add_moderator.add_notes.add_photo_alternate.add_reaction.add_road.add_row_above.add_row_below.add_shopping_cart.add_task.add_to_drive.add_to_home_screen.add_to_photos.add_to_queue.add_triangle.addchart.adf_scanner.adjust.admin_meds.admin_panel_settings.ads_click.agender.agriculture.air.air_freshener.air_purifier.air_purifier_gen.airline_seat_flat.airline_seat_flat_angled.airline_seat_individual_suite.airline_seat_legroom_extra.airline_seat_legroom_normal.airline_seat_legroom_reduced.airline_seat_recline_extra.airline_seat_recline_normal.airline_stops.airlines.airplane_ticket.airplanemode_active.airplanemode_inactive.airplay.airport_shuttle.airware.airwave.alarm.alarm_add.alarm_off.alarm_on.alarm_smart_wake.album.align_center.align_end.align_flex_center.align_flex_end.align_flex_start.align_horizontal_center.align_horizontal_left.align_horizontal_right.align_items_stretch.align_justify_center.align_justify_flex_end.align_justify_flex_start.align_justify_space_around.align_justify_space_between.align_justify_space_even.align_justify_stretch.align_self_stretch.align_space_around.align_space_between.align_space_even.align_start.align_stretch.align_vertical_bottom.align_vertical_center.align_vertical_top.all_inbox.all_inclusive.all_match.all_out.allergies.allergy.alt_route.alternate_email.altitude.ambulance.amend.amp_stories.analytics.anchor.android.animated_images.animation.announcement.aod.aod_tablet.aod_watch.apartment.api.apk_document.apk_install.app_badging.app_blocking.app_promo.app_registration.app_settings_alt.app_shortcut.apparel.approval.approval_delegation.apps.apps_outage.aq.aq_indoor.ar_on_you.ar_stickers.architecture.archive.area_chart.arming_countdown.arrow_and_edge.arrow_back.arrow_back_2.arrow_back_ios.arrow_back_ios_new.arrow_circle_down.arrow_circle_left.arrow_circle_right.arrow_circle_up.arrow_cool_down.arrow_downward.arrow_downward_alt.arrow_drop_down.arrow_drop_down_circle.arrow_drop_up.arrow_forward.arrow_forward_ios.arrow_insert.arrow_left.arrow_left_alt.arrow_menu_close.arrow_menu_open.arrow_or_edge.arrow_outward.arrow_range.arrow_right.arrow_right_alt.arrow_selector_tool.arrow_split.arrow_top_left.arrow_top_right.arrow_upload_progress.arrow_upload_ready.arrow_upward.arrow_upward_alt.arrow_warm_up.arrows_input.arrows_more_down.arrows_more_up.arrows_output.arrows_outward.art_track.article.article_shortcut.artist.aspect_ratio.assessment.assignment.assignment_add.assignment_ind.assignment_late.assignment_return.assignment_returned.assignment_turned_in.assist_walker.assistant.assistant_device.assistant_direction.assistant_navigation.assistant_on_hub.assistant_photo.assured_workload.asterisk.atm.atr.attach_email.attach_file.attach_file_add.attach_file_off.attach_money.attachment.attractions.attribution.audio_description.audio_file.audio_video_receiver.audiotrack.auto_awesome.auto_awesome_mosaic.auto_awesome_motion.auto_delete.auto_fix_high.auto_fix_normal.auto_fix_off.auto_graph.auto_mode.auto_read_pause.auto_read_play.auto_stories.auto_towing.auto_transmission.autofps_select.automation.autopause.autoplay.autorenew.autostop.av1.av_timer.avc.avg_pace.avg_time.award_star.azm.baby_changing_station.back_hand.back_to_tab.background_dot_large.background_dot_small.background_grid_small.background_replace.backlight_high.backlight_high_off.backlight_low.backpack.backspace.backup.backup_table.badge.badge_critical_battery.bakery_dining.balance.balcony.ballot.bar_chart.bar_chart_4_bars.bar_chart_off.barcode.barcode_reader.barcode_scanner.barefoot.batch_prediction.bath_outdoor.bath_private.bath_public_large.bathroom.bathtub.battery_0_bar.battery_1_bar.battery_20.battery_2_bar.battery_30.battery_3_bar.battery_4_bar.battery_50.battery_5_bar.battery_60.battery_6_bar.battery_80.battery_90.battery_alert.battery_change.battery_charging_20.battery_charging_30.battery_charging_50.battery_charging_60.battery_charging_80.battery_charging_90.battery_charging_full.battery_error.battery_full.battery_full_alt.battery_horiz_000.battery_horiz_050.battery_horiz_075.battery_low.battery_plus.battery_profile.battery_saver.battery_share.battery_status_good.battery_std.battery_unknown.battery_very_low.beach_access.bed.bedroom_baby.bedroom_child.bedroom_parent.bedtime.bedtime_off.beenhere.bento.bia.bid_landscape.bid_landscape_disabled.bigtop_updates.bike_dock.bike_lane.bike_scooter.biotech.blanket.blender.blind.blinds.blinds_closed.block.block_flipped.blood_pressure.bloodtype.bluetooth.bluetooth_audio.bluetooth_connected.bluetooth_disabled.bluetooth_drive.bluetooth_searching.blur_circular.blur_linear.blur_medium.blur_off.blur_on.blur_short.body_fat.body_system.bolt.bomb.book.book_2.book_3.book_4.book_4_spark.book_5.book_6.book_online.book_ribbon.bookmark.bookmark_add.bookmark_added.bookmark_bag.bookmark_border.bookmark_check.bookmark_flag.bookmark_heart.bookmark_manager.bookmark_remove.bookmark_star.bookmarks.books_movies_and_music.border_all.border_bottom.border_clear.border_color.border_horizontal.border_inner.border_left.border_outer.border_right.border_style.border_top.border_vertical.borg.bottom_app_bar.bottom_drawer.bottom_navigation.bottom_panel_close.bottom_panel_open.bottom_right_click.bottom_sheets.box.box_add.box_edit.boy.brand_awareness.brand_family.branding_watermark.breakfast_dining.breaking_news.breaking_news_alt_1.breastfeeding.brick.brightness_1.brightness_2.brightness_3.brightness_4.brightness_5.brightness_6.brightness_7.brightness_alert.brightness_auto.brightness_empty.brightness_high.brightness_low.brightness_medium.bring_your_own_ip.broadcast_on_home.broadcast_on_personal.broken_image.browse.browse_activity.browse_gallery.browser_not_supported.browser_updated.brunch_dining.brush.bubble.bubble_chart.bubbles.bug_report.build.build_circle.bungalow.burst_mode.bus_alert.business.business_center.business_chip.business_messages.buttons_alt.cabin.cable.cable_car.cached.cadence.cake.cake_add.calculate.calendar_add_on.calendar_apps_script.calendar_clock.calendar_month.calendar_today.calendar_view_day.calendar_view_month.calendar_view_week.call.call_end.call_log.call_made.call_merge.call_missed.call_missed_outgoing.call_quality.call_received.call_split.call_to_action.camera.camera_alt.camera_enhance.camera_front.camera_indoor.camera_outdoor.camera_rear.camera_roll.camera_video.cameraswitch.campaign.camping.cancel.cancel_presentation.cancel_schedule_send.candle.candlestick_chart.captive_portal.capture.car_crash.car_rental.car_repair.car_tag.card_giftcard.card_membership.card_travel.cardio_load.cardiology.cards.cards_star.carpenter.carry_on_bag.carry_on_bag_checked.carry_on_bag_inactive.carry_on_bag_question.cases.casino.cast.cast_connected.cast_for_education.cast_pause.cast_warning.castle.catching_pokemon.category.category_search.celebration.cell_merge.cell_tower.cell_wifi.center_focus_strong.center_focus_weak.chair.chair_alt.chalet.change_circle.change_history.charger.charging_station.chart_data.chat.chat_add_on.chat_apps_script.chat_bubble.chat_bubble_outline.chat_error.chat_info.chat_paste_go.chat_paste_go_2.check.check_box.check_box_outline_blank.check_circle.check_circle_outline.check_in_out.check_indeterminate_small.check_small.checkbook.checked_bag.checked_bag_question.checklist.checklist_rtl.checkroom.cheer.chess.chess_pawn.chevron_backward.chevron_forward.chevron_left.chevron_right.child_care.child_friendly.chip_extraction.chips.chrome_reader_mode.chromecast_2.chromecast_device.chronic.church.cinematic_blur.circle.circle_notifications.circles.circles_ext.clarify.class.clean_hands.cleaning.cleaning_bucket.cleaning_services.clear.clear_all.clear_day.climate_mini_split.clinical_notes.clock_arrow_down.clock_arrow_up.clock_loader_10.clock_loader_20.clock_loader_40.clock_loader_60.clock_loader_80.clock_loader_90.close.close_fullscreen.close_small.closed_caption.closed_caption_add.closed_caption_disabled.closed_caption_off.cloud.cloud_alert.cloud_circle.cloud_done.cloud_download.cloud_lock.cloud_off.cloud_queue.cloud_sync.cloud_upload.cloudy_snowing.co2.co_present.code.code_blocks.code_off.coffee.coffee_maker.cognition.cognition_2.collapse_all.collapse_content.collections.collections_bookmark.color_lens.colorize.colors.combine_columns.comedy_mask.comic_bubble.comment.comment_bank.comments_disabled.commit.communication.communities.commute.compare.compare_arrows.compass_calibration.component_exchange.compost.compress.computer.concierge.conditions.confirmation_number.congenital.connect_without_contact.connected_tv.connecting_airports.construction.contact_emergency.contact_mail.contact_page.contact_phone.contact_support.contactless.contactless_off.contacts.contacts_product.content_copy.content_cut.content_paste.content_paste_go.content_paste_off.content_paste_search.contextual_token.contextual_token_add.contract.contract_delete.contract_edit.contrast.contrast_circle.contrast_rtl_off.contrast_square.control_camera.control_point.control_point_duplicate.controller_gen.conversion_path.conversion_path_off.convert_to_text.conveyor_belt.cookie.cookie_off.cooking.cool_to_dry.copy_all.copyright.coronavirus.corporate_fare.cottage.counter_0.counter_1.counter_2.counter_3.counter_4.counter_5.counter_6.counter_7.counter_8.counter_9.countertops.create.create_new_folder.credit_card.credit_card_clock.credit_card_gear.credit_card_heart.credit_card_off.credit_score.crib.crisis_alert.crop.crop_16_9.crop_3_2.crop_5_4.crop_7_5.crop_9_16.crop_din.crop_free.crop_landscape.crop_original.crop_portrait.crop_rotate.crop_square.crossword.crowdsource.cruelty_free.css.csv.currency_bitcoin.currency_exchange.currency_franc.currency_lira.currency_pound.currency_ruble.currency_rupee.currency_rupee_circle.currency_yen.currency_yuan.curtains.curtains_closed.custom_typography.cycle.cyclone.dangerous.dark_mode.dashboard.dashboard_2.dashboard_customize.data_alert.data_array.data_check.data_exploration.data_info_alert.data_loss_prevention.data_object.data_saver_off.data_saver_on.data_table.data_thresholding.data_usage.database.database_off.database_search.database_upload.dataset.dataset_linked.date_range.deblur.deceased.decimal_decrease.decimal_increase.deck.dehaze.delete.delete_forever.delete_history.delete_outline.delete_sweep.delivery_dining.delivery_truck_bolt.delivery_truck_speed.demography.density_large.density_medium.density_small.dentistry.departure_board.deployed_code.deployed_code_account.deployed_code_alert.deployed_code_history.deployed_code_update.dermatology.description.deselect.design_services.desk.deskphone.desktop_access_disabled.desktop_cloud.desktop_cloud_stack.desktop_landscape.desktop_landscape_add.desktop_mac.desktop_portrait.desktop_windows.destruction.details.detection_and_zone.detector.detector_alarm.detector_battery.detector_co.detector_offline.detector_smoke.detector_status.developer_board.developer_board_off.developer_guide.developer_mode.developer_mode_tv.device_hub.device_thermostat.device_unknown.devices.devices_fold.devices_fold_2.devices_off.devices_other.devices_wearables.dew_point.diagnosis.diagonal_line.dialer_sip.dialogs.dialpad.diamond.dictionary.difference.digital_out_of_home.digital_wellbeing.dining.dinner_dining.directions.directions_alt.directions_alt_off.directions_bike.directions_boat.directions_boat_filled.directions_bus.directions_bus_filled.directions_car.directions_car_filled.directions_off.directions_railway.directions_railway_2.directions_railway_filled.directions_run.directions_subway.directions_subway_filled.directions_transit.directions_transit_filled.directions_walk.directory_sync.dirty_lens.disabled_by_default.disabled_visible.disc_full.discount.discover_tune.dishwasher.dishwasher_gen.display_external_input.display_settings.distance.diversity_1.diversity_2.diversity_3.diversity_4.dns.do_disturb.do_disturb_alt.do_disturb_off.do_disturb_on.do_not_disturb.do_not_disturb_alt.do_not_disturb_off.do_not_disturb_on.do_not_disturb_on_total_silence.do_not_step.do_not_touch.dock.dock_to_bottom.dock_to_left.dock_to_right.docs.docs_add_on.docs_apps_script.document_scanner.document_search.domain.domain_add.domain_disabled.domain_verification.domain_verification_off.domino_mask.done.done_all.done_outline.donut_large.donut_small.door_back.door_front.door_open.door_sensor.door_sliding.doorbell.doorbell_3p.doorbell_chime.double_arrow.downhill_skiing.download.download_2.download_done.download_for_offline.downloading.draft.draft_orders.drafts.drag_click.drag_handle.drag_indicator.drag_pan.draw.draw_abstract.draw_collage.dresser.drive_eta.drive_export.drive_file_move.drive_file_move_outline.drive_file_move_rtl.drive_file_rename_outline.drive_folder_upload.dropdown.dry.dry_cleaning.dual_screen.duo.dvr.dynamic_feed.dynamic_form.e911_avatar.e911_emergency.e_mobiledata.e_mobiledata_badge.earbuds.earbuds_battery.early_on.earthquake.east.ecg.ecg_heart.eco.eda.edgesensor_high.edgesensor_low.edit.edit_arrow_down.edit_arrow_up.edit_attributes.edit_audio.edit_calendar.edit_document.edit_location.edit_location_alt.edit_note.edit_notifications.edit_off.edit_road.edit_square.editor_choice.egg.egg_alt.eject.elderly.elderly_woman.electric_bike.electric_bolt.electric_car.electric_meter.electric_moped.electric_rickshaw.electric_scooter.electrical_services.elevation.elevator.email.emergency.emergency_heat.emergency_heat_2.emergency_home.emergency_recording.emergency_share.emergency_share_off.emoji_emotions.emoji_events.emoji_food_beverage.emoji_language.emoji_nature.emoji_objects.emoji_people.emoji_symbols.emoji_transportation.emoticon.empty_dashboard.enable.encrypted.encrypted_add.encrypted_add_circle.encrypted_minus_circle.encrypted_off.endocrinology.energy.energy_program_saving.energy_program_time_used.energy_savings_leaf.engineering.enhanced_encryption.ent.enterprise.enterprise_off.equal.equalizer.eraser_size_1.eraser_size_2.eraser_size_3.eraser_size_4.eraser_size_5.error.error_med.error_outline.escalator.escalator_warning.euro.euro_symbol.ev_mobiledata_badge.ev_shadow.ev_shadow_add.ev_shadow_minus.ev_station.event.event_available.event_busy.event_list.event_note.event_repeat.event_seat.event_upcoming.exclamation.exercise.exit_to_app.expand.expand_all.expand_circle_down.expand_circle_right.expand_circle_up.expand_content.expand_less.expand_more.expansion_panels.experiment.explicit.explore.explore_nearby.explore_off.explosion.export_notes.exposure.exposure_neg_1.exposure_neg_2.exposure_plus_1.exposure_plus_2.exposure_zero.extension.extension_off.eye_tracking.eyeglasses.face.face_2.face_3.face_4.face_5.face_6.face_down.face_left.face_nod.face_retouching_natural.face_retouching_off.face_right.face_shake.face_unlock.face_up.fact_check.factory.falling.familiar_face_and_zone.family_history.family_home.family_link.family_restroom.family_star.farsight_digital.fast_forward.fast_rewind.fastfood.faucet.favorite.favorite_border.fax.feature_search.featured_play_list.featured_seasonal_and_gifts.featured_video.feed.feedback.female.femur.femur_alt.fence.fertile.festival.fiber_dvr.fiber_manual_record.fiber_new.fiber_pin.fiber_smart_record.file_copy.file_copy_off.file_download.file_download_done.file_download_off.file_export.file_json.file_map.file_map_stack.file_open.file_png.file_present.file_save.file_save_off.file_upload.file_upload_off.files.filter.filter_1.filter_2.filter_3.filter_4.filter_5.filter_6.filter_7.filter_8.filter_9.filter_9_plus.filter_alt.filter_alt_off.filter_arrow_right.filter_b_and_w.filter_center_focus.filter_drama.filter_frames.filter_hdr.filter_list.filter_list_alt.filter_list_off.filter_none.filter_retrolux.filter_tilt_shift.filter_vintage.finance.finance_chip.finance_mode.find_in_page.find_replace.fingerprint.fingerprint_off.fire_extinguisher.fire_hydrant.fire_hydrant_alt.fire_truck.fireplace.first_page.fit_page.fit_page_height.fit_page_width.fit_screen.fit_width.fitbit.fitness_center.fitness_tracker.flag.flag_2.flag_check.flag_circle.flaky.flare.flash_auto.flash_off.flash_on.flashlight_off.flashlight_on.flatware.flex_direction.flex_no_wrap.flex_wrap.flight.flight_class.flight_land.flight_takeoff.flights_and_hotels.flip.flip_camera_android.flip_camera_ios.flip_to_back.flip_to_front.float_landscape_2.float_portrait_2.flood.floor.floor_lamp.flowchart.flowsheet.fluid.fluid_balance.fluid_med.fluorescent.flutter.flutter_dash.flyover.fmd_bad.fmd_good.foggy.folded_hands.folder.folder_check.folder_check_2.folder_code.folder_copy.folder_data.folder_delete.folder_eye.folder_info.folder_limited.folder_managed.folder_match.folder_off.folder_open.folder_shared.folder_special.folder_supervised.folder_zip.follow_the_signs.font_download.font_download_off.food_bank.foot_bones.footprint.for_you.forest.fork_left.fork_right.fork_spoon.forklift.format_align_center.format_align_justify.format_align_left.format_align_right.format_bold.format_clear.format_color_fill.format_color_reset.format_color_text.format_h1.format_h2.format_h3.format_h4.format_h5.format_h6.format_image_left.format_image_right.format_indent_decrease.format_indent_increase.format_ink_highlighter.format_italic.format_letter_spacing.format_letter_spacing_2.format_letter_spacing_standard.format_letter_spacing_wide.format_letter_spacing_wider.format_line_spacing.format_list_bulleted.format_list_bulleted_add.format_list_numbered.format_list_numbered_rtl.format_overline.format_paint.format_paragraph.format_quote.format_quote_off.format_shapes.format_size.format_strikethrough.format_text_clip.format_text_overflow.format_text_wrap.format_textdirection_l_to_r.format_textdirection_r_to_l.format_textdirection_vertical.format_underlined.format_underlined_squiggle.forms_add_on.forms_apps_script.fort.forum.forward.forward_10.forward_30.forward_5.forward_circle.forward_media.forward_to_inbox.foundation.frame_inspect.frame_person.frame_person_mic.frame_person_off.frame_reload.frame_source.free_breakfast.free_cancellation.front_hand.front_loader.full_coverage.full_hd.full_stacked_bar_chart.fullscreen.fullscreen_exit.fullscreen_portrait.function.functions.funicular.g_mobiledata.g_mobiledata_badge.g_translate.gallery_thumbnail.gamepad.games.garage.garage_door.garage_home.garden_cart.gas_meter.gastroenterology.gate.gavel.general_device.generating_tokens.genetics.genres.gesture.gesture_select.get_app.gif.gif_2.gif_box.girl.gite.glass_cup.globe.globe_asia.globe_book.globe_uk.glucose.glyphs.go_to_line.golf_course.gondola_lift.google_home_devices.google_tv_remote.google_wifi.gpp_bad.gpp_good.gpp_maybe.gps_fixed.gps_not_fixed.gps_off.grade.gradient.grading.grain.graph_1.graph_2.graph_3.graph_4.graph_5.graph_6.graphic_eq.grass.grid_3x3.grid_3x3_off.grid_4x4.grid_goldenratio.grid_guides.grid_off.grid_on.grid_view.grocery.group.group_add.group_off.group_remove.group_search.group_work.grouped_bar_chart.groups.groups_2.groups_3.guardian.gynecology.h_mobiledata.h_mobiledata_badge.h_plus_mobiledata.h_plus_mobiledata_badge.hail.hallway.hand_bones.hand_gesture.hand_gesture_off.handheld_controller.handshake.handyman.hangout_video.hangout_video_off.hard_disk.hard_drive.hard_drive_2.hardware.hd.hdr_auto.hdr_auto_select.hdr_enhanced_select.hdr_off.hdr_off_select.hdr_on.hdr_on_select.hdr_plus.hdr_plus_off.hdr_strong.hdr_weak.head_mounted_device.headphones.headphones_battery.headset.headset_mic.headset_off.healing.health_and_beauty.health_and_safety.health_metrics.heap_snapshot_large.heap_snapshot_multiple.heap_snapshot_thumbnail.hearing.hearing_aid.hearing_aid_disabled.hearing_disabled.heart_broken.heart_check.heart_minus.heart_plus.heat.heat_pump.heat_pump_balance.height.helicopter.help.help_center.help_clinic.help_outline.hematology.hevc.hexagon.hide.hide_image.hide_source.high_density.high_quality.high_res.highlight.highlight_alt.highlight_keyboard_focus.highlight_mouse_cursor.highlight_off.highlight_text_cursor.highlighter_size_1.highlighter_size_2.highlighter_size_3.highlighter_size_4.highlighter_size_5.hiking.history.history_2.history_edu.history_off.history_toggle_off.hive.hls.hls_off.holiday_village.home.home_and_garden.home_app_logo.home_filled.home_health.home_improvement_and_tools.home_iot_device.home_max.home_max_dots.home_mini.home_pin.home_repair_service.home_speaker.home_storage.home_work.horizontal_distribute.horizontal_rule.horizontal_split.host.hot_tub.hotel.hotel_class.hourglass.hourglass_arrow_down.hourglass_arrow_up.hourglass_bottom.hourglass_disabled.hourglass_empty.hourglass_full.hourglass_pause.hourglass_top.house.house_siding.house_with_shield.houseboat.household_supplies.hov.how_to_reg.how_to_vote.hr_resting.html.http.https.hub.humerus.humerus_alt.humidity_high.humidity_indoor.humidity_low.humidity_mid.humidity_percentage.hvac.ice_skating.icecream.id_card.identity_aware_proxy.identity_platform.ifl.iframe.iframe_off.image.image_aspect_ratio.image_not_supported.image_search.imagesearch_roller.imagesmode.immunology.import_contacts.import_export.important_devices.in_home_mode.inactive_order.inbox.inbox_customize.inbox_text.incomplete_circle.indeterminate_check_box.indeterminate_question_box.info.info_i.info_outline.infrared.ink_eraser.ink_eraser_off.ink_highlighter.ink_highlighter_move.ink_marker.ink_pen.ink_selection.inpatient.input.input_circle.insert_chart.insert_chart_outlined.insert_comment.insert_drive_file.insert_emoticon.insert_invitation.insert_link.insert_page_break.insert_photo.insert_text.insights.install_desktop.install_mobile.instant_mix.integration_instructions.interactive_space.interests.interpreter_mode.inventory.inventory_2.invert_colors.invert_colors_off.ios.ios_share.iron.iso.jamboard_kiosk.javascript.join.join_full.join_inner.join_left.join_right.joystick.jump_to_element.kayaking.kebab_dining.keep.keep_off.keep_public.kettle.key.key_off.key_vertical.key_visualizer.keyboard.keyboard_alt.keyboard_arrow_down.keyboard_arrow_left.keyboard_arrow_right.keyboard_arrow_up.keyboard_backspace.keyboard_capslock.keyboard_capslock_badge.keyboard_command_key.keyboard_control_key.keyboard_double_arrow_down.keyboard_double_arrow_left.keyboard_double_arrow_right.keyboard_double_arrow_up.keyboard_external_input.keyboard_full.keyboard_hide.keyboard_keys.keyboard_lock.keyboard_lock_off.keyboard_off.keyboard_onscreen.keyboard_option_key.keyboard_previous_language.keyboard_return.keyboard_tab.keyboard_tab_rtl.keyboard_voice.kid_star.king_bed.kitchen.kitesurfing.lab_panel.lab_profile.lab_research.label.label_important.label_important_outline.label_off.labs.lan.landscape.landscape_2.landscape_2_off.landslide.language.language_chinese_array.language_chinese_cangjie.language_chinese_dayi.language_chinese_pinyin.language_chinese_quick.language_chinese_wubi.language_french.language_gb_english.language_international.language_japanese_kana.language_korean_latin.language_pinyin.language_spanish.language_us.language_us_colemak.language_us_dvorak.laps.laptop.laptop_car.laptop_chromebook.laptop_mac.laptop_windows.lasso_select.last_page.launch.laundry.layers.layers_clear.lda.leaderboard.leak_add.leak_remove.left_click.left_panel_close.left_panel_open.legend_toggle.lens.lens_blur.letter_switch.library_add.library_add_check.library_books.library_music.license.lift_to_talk.light.light_group.light_mode.light_off.lightbulb.lightbulb_2.lightbulb_circle.lightbulb_outline.lightning_stand.line_axis.line_curve.line_end.line_end_arrow.line_end_arrow_notch.line_end_circle.line_end_diamond.line_end_square.line_start.line_start_arrow.line_start_arrow_notch.line_start_circle.line_start_diamond.line_start_square.line_style.line_weight.linear_scale.link.link_off.linked_camera.linked_services.liquor.list.list_alt.list_alt_add.list_alt_check.lists.live_help.live_tv.living.local_activity.local_airport.local_atm.local_bar.local_cafe.local_car_wash.local_convenience_store.local_dining.local_drink.local_fire_department.local_florist.local_gas_station.local_grocery_store.local_hospital.local_hotel.local_laundry_service.local_library.local_mall.local_movies.local_offer.local_parking.local_pharmacy.local_phone.local_pizza.local_play.local_police.local_post_office.local_printshop.local_see.local_shipping.local_taxi.location_away.location_chip.location_city.location_disabled.location_home.location_off.location_on.location_pin.location_searching.lock.lock_clock.lock_open.lock_open_right.lock_outline.lock_person.lock_reset.login.logo_dev.logout.looks.looks_3.looks_4.looks_5.looks_6.looks_one.looks_two.loop.loupe.low_density.low_priority.lowercase.loyalty.lte_mobiledata.lte_mobiledata_badge.lte_plus_mobiledata.lte_plus_mobiledata_badge.luggage.lunch_dining.lyrics.macro_auto.macro_off.magnification_large.magnification_small.magnify_docked.magnify_fullscreen.mail.mail_lock.mail_off.mail_outline.male.man.man_2.man_3.man_4.manage_accounts.manage_history.manage_search.manga.manufacturing.map.map_search.maps_home_work.maps_ugc.margin.mark_as_unread.mark_chat_read.mark_chat_unread.mark_email_read.mark_email_unread.mark_unread_chat_alt.markdown.markdown_copy.markdown_paste.markunread.markunread_mailbox.masked_transitions.masked_transitions_add.masks.match_case.match_case_off.match_word.matter.maximize.measuring_tape.media_bluetooth_off.media_bluetooth_on.media_link.media_output.media_output_off.mediation.medical_information.medical_mask.medical_services.medication.medication_liquid.meeting_room.memory.memory_alt.menstrual_health.menu.menu_book.menu_open.merge.merge_type.message.metabolism.metro.mfg_nest_yale_lock.mic.mic_alert.mic_double.mic_external_off.mic_external_on.mic_none.mic_off.microbiology.microwave.microwave_gen.military_tech.mimo.mimo_disconnect.mindfulness.minimize.minor_crash.mintmark.miscellaneous_services.missed_video_call.missing_controller.mist.mitre.mixture_med.mms.mobile_friendly.mobile_off.mobile_screen_share.mobiledata_off.mode.mode_comment.mode_cool.mode_cool_off.mode_dual.mode_edit.mode_edit_outline.mode_fan.mode_fan_off.mode_heat.mode_heat_cool.mode_heat_off.mode_night.mode_of_travel.mode_off_on.mode_standby.model_training.modeling.monetization_on.money.money_bag.money_off.money_off_csred.monitor.monitor_heart.monitor_weight.monitor_weight_gain.monitor_weight_loss.monitoring.monochrome_photos.monorail.mood.mood_bad.mop.moped.more.more_down.more_horiz.more_time.more_up.more_vert.mosque.motion_blur.motion_mode.motion_photos_auto.motion_photos_off.motion_photos_on.motion_photos_pause.motion_photos_paused.motion_play.motion_sensor_active.motion_sensor_alert.motion_sensor_idle.motion_sensor_urgent.motorcycle.mountain_flag.mouse.mouse_lock.mouse_lock_off.move.move_down.move_group.move_item.move_location.move_selection_down.move_selection_left.move_selection_right.move_selection_up.move_to_inbox.move_up.moved_location.movie.movie_creation.movie_edit.movie_filter.movie_info.movie_off.moving.moving_beds.moving_ministry.mp.multicooker.multiline_chart.multimodal_hand_eye.multiple_airports.multiple_stop.museum.music_cast.music_note.music_note_add.music_off.music_video.my_location.mystery.nat.nature.nature_people.navigate_before.navigate_next.navigation.near_me.near_me_disabled.nearby.nearby_error.nearby_off.nephrology.nest_audio.nest_cam_floodlight.nest_cam_indoor.nest_cam_iq.nest_cam_iq_outdoor.nest_cam_magnet_mount.nest_cam_outdoor.nest_cam_stand.nest_cam_wall_mount.nest_cam_wired_stand.nest_clock_farsight_analog.nest_clock_farsight_digital.nest_connect.nest_detect.nest_display.nest_display_max.nest_doorbell_visitor.nest_eco_leaf.nest_farsight_weather.nest_found_savings.nest_gale_wifi.nest_heat_link_e.nest_heat_link_gen_3.nest_hello_doorbell.nest_mini.nest_multi_room.nest_protect.nest_remote.nest_remote_comfort_sensor.nest_secure_alarm.nest_sunblock.nest_tag.nest_thermostat.nest_thermostat_e_eu.nest_thermostat_gen_3.nest_thermostat_sensor.nest_thermostat_sensor_eu.nest_thermostat_zirconium_eu.nest_true_radiant.nest_wake_on_approach.nest_wake_on_press.nest_wifi_point.nest_wifi_pro.nest_wifi_pro_2.nest_wifi_router.network_cell.network_check.network_intel_node.network_intelligence.network_intelligence_history.network_intelligence_update.network_locked.network_manage.network_node.network_ping.network_wifi.network_wifi_1_bar.network_wifi_1_bar_locked.network_wifi_2_bar.network_wifi_2_bar_locked.network_wifi_3_bar.network_wifi_3_bar_locked.network_wifi_locked.neurology.new_label.new_releases.new_window.news.newsmode.newspaper.newsstand.next_plan.next_week.nfc.night_shelter.night_sight_auto.night_sight_auto_off.night_sight_max.nightlife.nightlight.nightlight_round.nights_stay.no_accounts.no_adult_content.no_backpack.no_cell.no_crash.no_drinks.no_encryption.no_encryption_gmailerrorred.no_flash.no_food.no_luggage.no_meals.no_meals_ouline.no_meeting_room.no_photography.no_sim.no_sound.no_stroller.no_transfer.noise_aware.noise_control_off.noise_control_on.nordic_walking.north.north_east.north_west.not_accessible.not_accessible_forward.not_interested.not_listed_location.not_started.note.note_add.note_alt.note_stack.note_stack_add.notes.notification_add.notification_important.notification_multiple.notifications.notifications_active.notifications_none.notifications_off.notifications_paused.notifications_unread.numbers.nutrition.ods.odt.offline_bolt.offline_pin.offline_pin_off.offline_share.oil_barrel.on_device_training.on_hub_device.oncology.ondemand_video.online_prediction.onsen.opacity.open_in_browser.open_in_full.open_in_new.open_in_new_down.open_in_new_off.open_in_phone.open_jam.open_run.open_with.ophthalmology.oral_disease.orbit.order_approve.order_play.orders.orthopedics.other_admission.other_houses.outbound.outbox.outbox_alt.outdoor_garden.outdoor_grill.outgoing_mail.outlet.outlined_flag.outpatient.outpatient_med.output.output_circle.oven.oven_gen.overview.overview_key.owl.oxygen_saturation.p2p.pace.pacemaker.package.package_2.padding.page_control.page_footer.page_header.page_info.pageless.pages.pageview.paid.palette.pallet.pan_tool.pan_tool_alt.pan_zoom.panorama.panorama_fish_eye.panorama_horizontal.panorama_horizontal_select.panorama_photosphere.panorama_photosphere_select.panorama_vertical.panorama_vertical_select.panorama_wide_angle.panorama_wide_angle_select.paragliding.park.partly_cloudy_day.partly_cloudy_night.partner_exchange.partner_reports.party_mode.passkey.password.password_2.password_2_off.patient_list.pattern.pause.pause_circle.pause_circle_filled.pause_circle_outline.pause_presentation.payment.payments.pedal_bike.pediatrics.pen_size_1.pen_size_2.pen_size_3.pen_size_4.pen_size_5.pending.pending_actions.pentagon.people.people_alt.people_outline.percent.pergola.perm_camera_mic.perm_contact_calendar.perm_data_setting.perm_device_information.perm_identity.perm_media.perm_phone_msg.perm_scan_wifi.person.person_2.person_3.person_4.person_add.person_add_alt.person_add_alt_1.person_add_disabled.person_alert.person_apron.person_book.person_cancel.person_celebrate.person_check.person_edit.person_off.person_outline.person_pin.person_pin_circle.person_play.person_raised_hand.person_remove.person_remove_alt_1.person_search.personal_bag.personal_bag_off.personal_bag_question.personal_injury.personal_places.personal_video.pest_control.pest_control_rodent.pet_supplies.pets.phishing.phone.phone_android.phone_bluetooth_speaker.phone_callback.phone_disabled.phone_enabled.phone_forwarded.phone_in_talk.phone_iphone.phone_locked.phone_missed.phone_paused.phonelink.phonelink_erase.phonelink_lock.phonelink_off.phonelink_ring.phonelink_ring_off.phonelink_setup.photo.photo_album.photo_auto_merge.photo_camera.photo_camera_back.photo_camera_front.photo_filter.photo_frame.photo_library.photo_prints.photo_size_select_actual.photo_size_select_large.photo_size_select_small.php.physical_therapy.piano.piano_off.picture_as_pdf.picture_in_picture.picture_in_picture_alt.picture_in_picture_center.picture_in_picture_large.picture_in_picture_medium.picture_in_picture_mobile.picture_in_picture_off.picture_in_picture_small.pie_chart.pie_chart_outline.pie_chart_outlined.pill.pill_off.pin.pin_drop.pin_end.pin_invoke.pinboard.pinboard_unread.pinch.pinch_zoom_in.pinch_zoom_out.pip.pip_exit.pivot_table_chart.pix.place.place_item.plagiarism.planet.planner_banner_ad_pt.planner_review.play_arrow.play_circle.play_circle_filled.play_circle_outline.play_disabled.play_for_work.play_lesson.play_pause.playing_cards.playlist_add.playlist_add_check.playlist_add_check_circle.playlist_add_circle.playlist_play.playlist_remove.plumbing.plus_one.podcasts.podiatry.podium.point_of_sale.point_scan.poker_chip.policy.policy_alert.poll.polyline.polymer.pool.portable_wifi_off.portrait.position_bottom_left.position_bottom_right.position_top_right.post.post_add.potted_plant.power.power_input.power_off.power_settings_circle.power_settings_new.prayer_times.precision_manufacturing.pregnancy.pregnant_woman.preliminary.prescriptions.present_to_all.preview.preview_off.price_change.price_check.print.print_add.print_connect.print_disabled.print_error.print_lock.priority.priority_high.privacy.privacy_tip.private_connectivity.problem.procedure.process_chart.production_quantity_limits.productivity.progress_activity.prompt_suggestion.propane.propane_tank.psychiatry.psychology.psychology_alt.public.public_off.publish.published_with_changes.pulmonology.pulse_alert.punch_clock.push_pin.qr_code.qr_code_2.qr_code_2_add.qr_code_scanner.query_builder.query_stats.question_answer.question_exchange.question_mark.queue.queue_music.queue_play_next.quick_phrases.quick_reference.quick_reference_all.quick_reorder.quickreply.quiz.r_mobiledata.radar.radio.radio_button_checked.radio_button_partial.radio_button_unchecked.radiology.railway_alert.railway_alert_2.rainy.rainy_heavy.rainy_light.rainy_snow.ramen_dining.ramp_left.ramp_right.range_hood.rate_review.raven.raw_off.raw_on.read_more.readiness_score.real_estate_agent.rear_camera.rebase.rebase_edit.receipt.receipt_long.receipt_long_off.recent_actors.recent_patient.recenter.recommend.record_voice_over.rectangle.recycling.redeem.redo.reduce_capacity.refresh.regular_expression.relax.release_alert.remember_me.reminder.remote_gen.remove.remove_circle.remove_circle_outline.remove_done.remove_from_queue.remove_moderator.remove_red_eye.remove_road.remove_selection.remove_shopping_cart.reopen_window.reorder.repartition.repeat.repeat_on.repeat_one.repeat_one_on.replace_audio.replace_image.replace_video.replay.replay_10.replay_30.replay_5.replay_circle_filled.reply.reply_all.report.report_gmailerrorred.report_off.report_problem.request_page.request_quote.reset_brightness.reset_focus.reset_image.reset_iso.reset_settings.reset_shadow.reset_shutter_speed.reset_tv.reset_white_balance.reset_wrench.resize.respiratory_rate.responsive_layout.restart_alt.restaurant.restaurant_menu.restore.restore_from_trash.restore_page.resume.reviews.rewarded_ads.rheumatology.rib_cage.rice_bowl.right_click.right_panel_close.right_panel_open.ring_volume.ripples.road.robot.robot_2.rocket.rocket_launch.roller_shades.roller_shades_closed.roller_skating.roofing.room.room_preferences.room_service.rotate_90_degrees_ccw.rotate_90_degrees_cw.rotate_auto.rotate_left.rotate_right.roundabout_left.roundabout_right.rounded_corner.route.router.routine.rowing.rss_feed.rsvp.rtt.rubric.rule.rule_folder.rule_settings.run_circle.running_with_errors.rv_hookup.safety_check.safety_check_off.safety_divider.sailing.salinity.sanitizer.satellite.satellite_alt.sauna.save.save_alt.save_as.save_clock.saved_search.savings.scale.scan.scan_delete.scanner.scatter_plot.scene.schedule.schedule_send.schema.school.science.science_off.scooter.score.scoreboard.screen_lock_landscape.screen_lock_portrait.screen_lock_rotation.screen_record.screen_rotation.screen_rotation_alt.screen_rotation_up.screen_search_desktop.screen_share.screenshot.screenshot_frame.screenshot_frame_2.screenshot_keyboard.screenshot_monitor.screenshot_region.screenshot_tablet.script.scrollable_header.scuba_diving.sd.sd_card.sd_card_alert.sd_storage.sdk.search.search_activity.search_check.search_check_2.search_hands_free.search_insights.search_off.security.security_key.security_update.security_update_good.security_update_warning.segment.select.select_all.select_check_box.select_to_speak.select_window.select_window_2.select_window_off.self_care.self_improvement.sell.send.send_and_archive.send_money.send_time_extension.send_to_mobile.sensor_door.sensor_occupied.sensor_window.sensors.sensors_krx.sensors_krx_off.sensors_off.sentiment_calm.sentiment_content.sentiment_dissatisfied.sentiment_excited.sentiment_extremely_dissatisfied.sentiment_frustrated.sentiment_neutral.sentiment_sad.sentiment_satisfied.sentiment_satisfied_alt.sentiment_stressed.sentiment_very_dissatisfied.sentiment_very_satisfied.sentiment_worried.serif.server_person.service_toolbox.set_meal.settings.settings_accessibility.settings_account_box.settings_alert.settings_applications.settings_b_roll.settings_backup_restore.settings_bluetooth.settings_brightness.settings_cell.settings_cinematic_blur.settings_ethernet.settings_heart.settings_input_antenna.settings_input_component.settings_input_composite.settings_input_hdmi.settings_input_svideo.settings_motion_mode.settings_night_sight.settings_overscan.settings_panorama.settings_phone.settings_photo_camera.settings_power.settings_remote.settings_slow_motion.settings_suggest.settings_system_daydream.settings_timelapse.settings_video_camera.settings_voice.settop_component.severe_cold.shadow.shadow_add.shadow_minus.shape_line.shapes.share.share_eta.share_location.share_off.share_reviews.share_windows.sheets_rtl.shelf_auto_hide.shelf_position.shelves.shield.shield_lock.shield_locked.shield_moon.shield_person.shield_question.shield_with_heart.shield_with_house.shift.shift_lock.shift_lock_off.shop.shop_2.shop_two.shopping_bag.shopping_bag_speed.shopping_basket.shopping_cart.shopping_cart_checkout.shopping_cart_off.shoppingmode.short_stay.short_text.shortcut.show_chart.shower.shuffle.shuffle_on.shutter_speed.shutter_speed_add.shutter_speed_minus.sick.side_navigation.sign_language.signal_cellular_0_bar.signal_cellular_1_bar.signal_cellular_2_bar.signal_cellular_3_bar.signal_cellular_4_bar.signal_cellular_add.signal_cellular_alt.signal_cellular_alt_1_bar.signal_cellular_alt_2_bar.signal_cellular_connected_no_internet_0_bar.signal_cellular_connected_no_internet_1_bar.signal_cellular_connected_no_internet_2_bar.signal_cellular_connected_no_internet_3_bar.signal_cellular_connected_no_internet_4_bar.signal_cellular_no_sim.signal_cellular_nodata.signal_cellular_null.signal_cellular_off.signal_cellular_pause.signal_disconnected.signal_wifi_0_bar.signal_wifi_1_bar.signal_wifi_1_bar_lock.signal_wifi_2_bar.signal_wifi_2_bar_lock.signal_wifi_3_bar.signal_wifi_3_bar_lock.signal_wifi_4_bar.signal_wifi_4_bar_lock.signal_wifi_bad.signal_wifi_connected_no_internet_0.signal_wifi_connected_no_internet_1.signal_wifi_connected_no_internet_2.signal_wifi_connected_no_internet_3.signal_wifi_connected_no_internet_4.signal_wifi_off.signal_wifi_statusbar_1_bar.signal_wifi_statusbar_2_bar.signal_wifi_statusbar_3_bar.signal_wifi_statusbar_4_bar.signal_wifi_statusbar_connected_no_internet.signal_wifi_statusbar_connected_no_internet_1.signal_wifi_statusbar_connected_no_internet_2.signal_wifi_statusbar_connected_no_internet_3.signal_wifi_statusbar_connected_no_internet_4.signal_wifi_statusbar_not_connected.signal_wifi_statusbar_null.signature.signpost.sim_card.sim_card_alert.sim_card_download.simulation.single_bed.sip.siren.siren_check.siren_open.siren_question.skateboarding.skeleton.skillet.skillet_cooktop.skip_next.skip_previous.skull.skull_list.slab_serif.sledding.sleep_score.slide_library.sliders.slideshow.slow_motion_video.smart_button.smart_card_reader.smart_card_reader_off.smart_display.smart_outlet.smart_screen.smart_toy.smartphone.smartphone_camera.smb_share.smoke_free.smoking_rooms.sms.sms_failed.snippet_folder.snooze.snowboarding.snowing.snowing_heavy.snowmobile.snowshoeing.soap.social_distance.social_leaderboard.solar_power.sort.sort_by_alpha.sos.sound_detection_dog_barking.sound_detection_glass_break.sound_detection_loud_sound.sound_sampler.soup_kitchen.source.source_environment.source_notes.south.south_america.south_east.south_west.spa.space_bar.space_dashboard.spatial_audio.spatial_audio_off.spatial_speaker.spatial_tracking.speaker.speaker_group.speaker_notes.speaker_notes_off.speaker_phone.special_character.specific_gravity.speech_to_text.speed.speed_0_25.speed_0_2x.speed_0_5.speed_0_5x.speed_0_75.speed_0_7x.speed_1_2.speed_1_25.speed_1_2x.speed_1_5.speed_1_5x.speed_1_75.speed_1_7x.speed_2x.speed_camera.spellcheck.split_scene.splitscreen.splitscreen_add.splitscreen_bottom.splitscreen_landscape.splitscreen_left.splitscreen_portrait.splitscreen_right.splitscreen_top.splitscreen_vertical_add.spo2.spoke.sports.sports_and_outdoors.sports_bar.sports_baseball.sports_basketball.sports_cricket.sports_esports.sports_football.sports_golf.sports_gymnastics.sports_handball.sports_hockey.sports_kabaddi.sports_martial_arts.sports_mma.sports_motorsports.sports_rugby.sports_score.sports_soccer.sports_tennis.sports_volleyball.sprinkler.sprint.square.square_dot.square_foot.ssid_chart.stack.stack_hexagon.stack_off.stack_star.stacked_bar_chart.stacked_email.stacked_inbox.stacked_line_chart.stacks.stadia_controller.stadium.stairs.stairs_2.star.star_border.star_border_purple500.star_half.star_outline.star_purple500.star_rate.star_rate_half.stars.start.stat_0.stat_1.stat_2.stat_3.stat_minus_1.stat_minus_2.stat_minus_3.stay_current_landscape.stay_current_portrait.stay_primary_landscape.stay_primary_portrait.step.step_into.step_out.step_over.steppers.steps.stethoscope.stethoscope_arrow.stethoscope_check.sticky_note.sticky_note_2.stock_media.stockpot.stop.stop_circle.stop_screen_share.storage.store.store_mall_directory.storefront.storm.straight.straighten.strategy.stream.stream_apps.streetview.stress_management.strikethrough_s.stroke_full.stroke_partial.stroller.style.styler.stylus.stylus_laser_pointer.stylus_note.subdirectory_arrow_left.subdirectory_arrow_right.subheader.subject.subscript.subscriptions.subtitles.subtitles_off.subway.summarize.sunny.sunny_snowing.superscript.supervised_user_circle.supervised_user_circle_off.supervisor_account.support.support_agent.surfing.surgical.surround_sound.swap_calls.swap_driving_apps.swap_driving_apps_wheel.swap_horiz.swap_horizontal_circle.swap_vert.swap_vertical_circle.sweep.swipe.swipe_down.swipe_down_alt.swipe_left.swipe_left_alt.swipe_right.swipe_right_alt.swipe_up.swipe_up_alt.swipe_vertical.switch.switch_access.switch_access_2.switch_access_shortcut.switch_access_shortcut_add.switch_account.switch_camera.switch_left.switch_right.switch_video.switches.sword_rose.swords.symptoms.synagogue.sync.sync_alt.sync_arrow_down.sync_arrow_up.sync_desktop.sync_disabled.sync_lock.sync_problem.sync_saved_locally.syringe.system_security_update.system_security_update_good.system_security_update_warning.system_update.system_update_alt.tab.tab_close.tab_close_inactive.tab_close_right.tab_duplicate.tab_group.tab_inactive.tab_move.tab_new_right.tab_recent.tab_unselected.table.table_bar.table_chart.table_chart_view.table_convert.table_edit.table_eye.table_lamp.table_restaurant.table_rows.table_rows_narrow.table_view.tablet.tablet_android.tablet_camera.tablet_mac.tabs.tactic.tag.tag_faces.takeout_dining.tamper_detection_off.tamper_detection_on.tap_and_play.tapas.target.task.task_alt.taunt.taxi_alert.team_dashboard.temp_preferences_eco.temple_buddhist.temple_hindu.tenancy.terminal.terrain.text_ad.text_compare.text_decrease.text_fields.text_fields_alt.text_format.text_increase.text_rotate_up.text_rotate_vertical.text_rotation_angledown.text_rotation_angleup.text_rotation_down.text_rotation_none.text_select_end.text_select_jump_to_beginning.text_select_jump_to_end.text_select_move_back_character.text_select_move_back_word.text_select_move_down.text_select_move_forward_character.text_select_move_forward_word.text_select_move_up.text_select_start.text_snippet.text_to_speech.text_up.textsms.texture.texture_add.texture_minus.theater_comedy.theaters.thermometer.thermometer_add.thermometer_gain.thermometer_loss.thermometer_minus.thermostat.thermostat_arrow_down.thermostat_arrow_up.thermostat_auto.thermostat_carbon.things_to_do.thread_unread.threat_intelligence.thumb_down.thumb_down_alt.thumb_down_off_alt.thumb_up.thumb_up_alt.thumb_up_off_alt.thumbnail_bar.thumbs_up_down.thunderstorm.tibia.tibia_alt.tile_large.tile_medium.tile_small.time_auto.time_to_leave.timelapse.timeline.timer.timer_10.timer_10_alt_1.timer_10_select.timer_3.timer_3_alt_1.timer_3_select.timer_5.timer_5_shutter.timer_arrow_down.timer_arrow_up.timer_off.timer_pause.timer_play.tips_and_updates.tire_repair.title.titlecase.toast.toc.today.toggle_off.toggle_on.token.toll.tonality.toolbar.tools_flat_head.tools_installation_kit.tools_ladder.tools_level.tools_phillips.tools_pliers_wire_stripper.tools_power_drill.tooltip.tooltip_2.top_panel_close.top_panel_open.topic.tornado.total_dissolved_solids.touch_app.touch_double.touch_long.touch_triple.touchpad_mouse.touchpad_mouse_off.tour.toys.toys_and_games.toys_fan.track_changes.trackpad_input.trackpad_input_2.trackpad_input_3.traffic.traffic_jam.trail_length.trail_length_medium.trail_length_short.train.tram.transcribe.transfer_within_a_station.transform.transgender.transit_enterexit.transit_ticket.transition_chop.transition_dissolve.transition_fade.transition_push.transition_slide.translate.transportation.travel.travel_explore.travel_luggage_and_bags.trending_down.trending_flat.trending_up.trip.trip_origin.trolley.trolley_cable_car.trophy.troubleshoot.try.tsunami.tsv.tty.tune.tungsten.turn_left.turn_right.turn_sharp_left.turn_sharp_right.turn_slight_left.turn_slight_right.turned_in.turned_in_not.tv.tv_displays.tv_gen.tv_guide.tv_next.tv_off.tv_options_edit_channels.tv_options_input_settings.tv_remote.tv_signin.tv_with_assistant.two_pager.two_pager_store.two_wheeler.type_specimen.u_turn_left.u_turn_right.ulna_radius.ulna_radius_alt.umbrella.unarchive.undo.unfold_less.unfold_less_double.unfold_more.unfold_more_double.ungroup.universal_currency.universal_currency_alt.universal_local.unknown_2.unknown_5.unknown_7.unknown_document.unknown_med.unlicense.unpaved_road.unpublished.unsubscribe.upcoming.update.update_disabled.upgrade.upi_pay.upload.upload_2.upload_file.uppercase.urology.usb.usb_off.user_attributes.vaccines.vacuum.valve.vape_free.vaping_rooms.variable_add.variable_insert.variable_remove.variables.ventilator.verified.verified_user.vertical_align_bottom.vertical_align_center.vertical_align_top.vertical_distribute.vertical_shades.vertical_shades_closed.vertical_split.vibration.video_call.video_camera_back.video_camera_back_add.video_camera_front.video_camera_front_off.video_chat.video_file.video_label.video_library.video_search.video_settings.video_stable.videocam.videocam_alert.videocam_off.videogame_asset.videogame_asset_off.view_agenda.view_apps.view_array.view_carousel.view_column.view_column_2.view_comfy.view_comfy_alt.view_compact.view_compact_alt.view_cozy.view_day.view_headline.view_in_ar.view_in_ar_off.view_kanban.view_list.view_module.view_object_track.view_quilt.view_real_size.view_sidebar.view_stream.view_timeline.view_week.vignette.villa.visibility.visibility_lock.visibility_off.vital_signs.vo2_max.voice_chat.voice_over_off.voice_selection.voice_selection_off.voicemail.volcano.volume_down.volume_down_alt.volume_mute.volume_off.volume_up.volunteer_activism.voting_chip.vpn_key.vpn_key_alert.vpn_key_off.vpn_lock.vr180_create2d.vr180_create2d_off.vrpano.wall_art.wall_lamp.wallet.wallpaper.wallpaper_slideshow.ward.warehouse.warning.warning_amber.warning_off.wash.watch.watch_button_press.watch_check.watch_later.watch_off.watch_screentime.watch_vibration.watch_wake.water.water_bottle.water_bottle_large.water_damage.water_do.water_drop.water_ec.water_full.water_heater.water_lock.water_loss.water_lux.water_medium.water_orp.water_ph.water_pump.water_voc.waterfall_chart.waves.waving_hand.wb_auto.wb_cloudy.wb_incandescent.wb_iridescent.wb_shade.wb_sunny.wb_twighlight.wb_twilight.wc.weather_hail.weather_mix.weather_snowy.web.web_asset.web_asset_off.web_stories.web_traffic.webhook.weekend.weight.west.whatshot.wheelchair_pickup.where_to_vote.widget_medium.widget_small.widget_width.widgets.width_full.width_normal.width_wide.wifi.wifi_1_bar.wifi_2_bar.wifi_add.wifi_calling.wifi_calling_1.wifi_calling_2.wifi_calling_3.wifi_calling_bar_1.wifi_calling_bar_2.wifi_calling_bar_3.wifi_channel.wifi_find.wifi_home.wifi_lock.wifi_notification.wifi_off.wifi_password.wifi_protected_setup.wifi_proxy.wifi_tethering.wifi_tethering_error.wifi_tethering_off.wind_power.window.window_closed.window_open.window_sensor.wine_bar.woman.woman_2.work.work_alert.work_history.work_off.work_outline.work_update.workspace_premium.workspaces.workspaces_filled.workspaces_outline.wounds_injuries.wrap_text.wrist.wrong_location.wysiwyg.yard.your_trips.youtube_activity.youtube_searched_for.zone_person_alert.zone_person_idle.zone_person_urgent.zoom_in.zoom_in_map.zoom_out.zoom_out_map".split(".");
26304
26392
  var Icon_default = /* @__PURE__ */ defineComponent({
26305
26393
  __name: "Icon",
@@ -26546,7 +26634,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26546
26634
  height: unref(normalizeDimension)(e.height)
26547
26635
  }, null, 8, ["width", "height"]));
26548
26636
  }
26549
- }), [["__scopeId", "data-v-eed047eb"]]), _hoisted_1$27 = ["textContent"], _hoisted_2$16 = {
26637
+ }), [["__scopeId", "data-v-ce6a0bb7"]]), _hoisted_1$27 = ["textContent"], _hoisted_2$16 = {
26550
26638
  key: 0,
26551
26639
  class: "h-100p flex column justify-content-center"
26552
26640
  }, _hoisted_3$12 = {
@@ -26664,7 +26752,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26664
26752
  function KD(e) {
26665
26753
  if (ED[e] || (ED[e] = []), uD.value && dD.value) {
26666
26754
  let t = ED[e].findIndex((e) => e.sourceValue === uD.value);
26667
- t >= 0 ? ED[e][t].targetValue = dD.value : ED[e].push({
26755
+ 0 <= t ? ED[e][t].targetValue = dD.value : ED[e].push({
26668
26756
  fieldId: e,
26669
26757
  sourceValue: uD.value,
26670
26758
  targetValue: dD.value
@@ -26675,7 +26763,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26675
26763
  if (!e || !Array.isArray(e)) return [];
26676
26764
  let t = [], j = /* @__PURE__ */ new Set();
26677
26765
  function M(e) {
26678
- e && e.id && e.label && !j.has(e.id) && (j.add(e.id), e.options ||= [], e.attrs && e.attrs.options && e.attrs.options.length > 0 && (e.options = e.attrs.options), t.push(e));
26766
+ e && e.id && e.label && !j.has(e.id) && (j.add(e.id), e.options ||= [], e.attrs && e.attrs.options && 0 < e.attrs.options.length && (e.options = e.attrs.options), t.push(e));
26679
26767
  }
26680
26768
  return e.forEach((e) => {
26681
26769
  e && e.id && e.label && M(e), e && e.children && Array.isArray(e.children) && e.children.forEach((e) => {
@@ -26695,7 +26783,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26695
26783
  }
26696
26784
  let JD = computed(() => qD(toValue(M.schema) || []));
26697
26785
  function YD(e) {
26698
- return e.isArrayField && e.parentField ? !1 : e.attrs && e.attrs.required === !0 || e.required === !0 || e.attrs && e.attrs.attrs && e.attrs.attrs.required === !0;
26786
+ return e.isArrayField && e.parentField ? !1 : e.attrs && !0 === e.attrs.required || !0 === e.required || e.attrs && e.attrs.attrs && !0 === e.attrs.attrs.required;
26699
26787
  }
26700
26788
  function XD(e) {
26701
26789
  return e.isArrayField && e.parentField ? {
@@ -26740,7 +26828,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26740
26828
  for (let t of e) JD.value.filter((e) => e.parentField === t).forEach((e) => {
26741
26829
  e.disabled = !0, e.disabledReason = `Parent field "${t}" is already mapped`;
26742
26830
  });
26743
- for (let [e, j] of t.entries()) if (j.size > 0) {
26831
+ for (let [e, j] of t.entries()) if (0 < j.size) {
26744
26832
  let t = JD.value.find((t) => t.id === e);
26745
26833
  t && (t.disabled = !0, t.disabledReason = "Child field(s) already mapped");
26746
26834
  }
@@ -26750,7 +26838,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26750
26838
  delete SD[e];
26751
26839
  }), JD.value.forEach((e) => {
26752
26840
  e.disabled = !1, e.disabledReason = "";
26753
- }), iD.value.length > 0 && JD.value.forEach((e) => {
26841
+ }), 0 < iD.value.length && JD.value.forEach((e) => {
26754
26842
  let t = formatString(e.id, "camel"), j = formatString(e.id, "pascal"), M = formatString(e.label.replace(/\s+/g, "_"), "camel"), N = formatString(e.label.replace(/\s+/g, "_"), "pascal"), I = iD.value.find((I) => I.toLowerCase() === e.id.toLowerCase() || I.toLowerCase() === e.label.toLowerCase() || I.toLowerCase() === t.toLowerCase() || I.toLowerCase() === j.toLowerCase() || I.toLowerCase() === M.toLowerCase() || I.toLowerCase() === N.toLowerCase() || formatString(I.replace(/\s+/g, "_"), "camel").toLowerCase() === t.toLowerCase() || formatString(I.replace(/\s+/g, "_"), "camel").toLowerCase() === M.toLowerCase());
26755
26843
  if (I && !e.disabled) SD[e.id] = I;
26756
26844
  else {
@@ -26764,9 +26852,9 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26764
26852
  rD.value = !1;
26765
26853
  return;
26766
26854
  }
26767
- let e = JD.value.filter((e) => e.isArrayField && e.parentField ? !1 : e.attrs && e.attrs.required === !0 || e.required === !0 || e.attrs && e.attrs.attrs && e.attrs.attrs.required === !0);
26855
+ let e = JD.value.filter((e) => e.isArrayField && e.parentField ? !1 : e.attrs && !0 === e.attrs.required || !0 === e.required || e.attrs && e.attrs.attrs && !0 === e.attrs.attrs.required);
26768
26856
  if (e.length === 0) {
26769
- rD.value = Object.keys(SD).some((e) => !!SD[e]) || Object.keys(TD).length > 0;
26857
+ rD.value = Object.keys(SD).some((e) => !!SD[e]) || 0 < Object.keys(TD).length;
26770
26858
  return;
26771
26859
  }
26772
26860
  rD.value = e.every((e) => !!SD[e.id] || dO(e.id));
@@ -26780,7 +26868,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26780
26868
  if (e.isArrayField || e.$el === "array") return;
26781
26869
  let t = null, N = !1;
26782
26870
  if (SD[e.id] && j[SD[e.id]] !== void 0 ? (t = j[SD[e.id]], t === "" && TD[e.id] !== void 0 && (t = TD[e.id], N = !0)) : TD[e.id] !== void 0 && (t = TD[e.id], N = !0), t === null) return;
26783
- if (!N && ED[e.id] && ED[e.id].length > 0) {
26871
+ if (!N && ED[e.id] && 0 < ED[e.id].length) {
26784
26872
  let j = ED[e.id].find((e) => e.sourceValue == t || e.sourceValue === String(t));
26785
26873
  j && (t = j.targetValue);
26786
26874
  }
@@ -26797,7 +26885,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26797
26885
  if (!t || !N) return;
26798
26886
  let I = null, V = !1;
26799
26887
  if (SD[e.id] && j[SD[e.id]] !== void 0 ? (I = j[SD[e.id]], I === "" && TD[e.id] !== void 0 && (I = TD[e.id], V = !0)) : TD[e.id] !== void 0 && (I = TD[e.id], V = !0), I === null) return;
26800
- if (M[t] || (M[t] = []), !V && ED[e.id] && ED[e.id].length > 0) {
26888
+ if (M[t] || (M[t] = []), !V && ED[e.id] && 0 < ED[e.id].length) {
26801
26889
  let t = ED[e.id].find((e) => e.sourceValue == I || e.sourceValue === String(I));
26802
26890
  t && (I = t.targetValue);
26803
26891
  }
@@ -26812,13 +26900,13 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26812
26900
  if (!M.id) return;
26813
26901
  let N = null, I = !1;
26814
26902
  if (AD[e][M.id] && t[AD[e][M.id]] !== void 0 ? (N = t[AD[e][M.id]], N === "" && RD[e][M.id] !== void 0 && (N = RD[e][M.id], I = !0)) : RD[e][M.id] !== void 0 && (N = RD[e][M.id], I = !0), N === null) return;
26815
- if (!I && zD[e][M.id] && zD[e][M.id].length > 0) {
26903
+ if (!I && zD[e][M.id] && 0 < zD[e][M.id].length) {
26816
26904
  let t = zD[e][M.id].find((e) => e.sourceValue == N || e.sourceValue === String(N));
26817
26905
  t && (N = t.targetValue);
26818
26906
  }
26819
26907
  let V = LD[`${e}.${M.id}`] || KE.STRING;
26820
26908
  N = yO(N, V), j[M.id] = N;
26821
- }), Object.keys(j).length > 0 && M[e].push(j);
26909
+ }), 0 < Object.keys(j).length && M[e].push(j);
26822
26910
  }));
26823
26911
  }), Object.values(M).some((e) => !(e == null || e === "" || Array.isArray(e) && e.length === 0)) && e.push(M);
26824
26912
  }
@@ -26835,7 +26923,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26835
26923
  let M = JD.value.find((e) => e.id === j);
26836
26924
  if (!M || !M.isArrayField || !M.parentField) return e;
26837
26925
  let [N, I] = j.split("."), V = t[N];
26838
- return Array.isArray(V) && V.length > 0 ? V.map((e) => e[I]).filter((e) => e !== void 0).join(", ") : "";
26926
+ return Array.isArray(V) && 0 < V.length ? V.map((e) => e[I]).filter((e) => e !== void 0).join(", ") : "";
26839
26927
  }
26840
26928
  let oO = computed(() => iO());
26841
26929
  function sO() {
@@ -26897,7 +26985,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26897
26985
  let j = t[0];
26898
26986
  OD[e] = j;
26899
26987
  try {
26900
- let t = await J(j), { data: M } = await V(j, t.length > 0 ? t[0] : "", !0);
26988
+ let t = await J(j), { data: M } = await V(j, 0 < t.length ? t[0] : "", !0);
26901
26989
  kD[e] = M, AD[e] || (AD[e] = {});
26902
26990
  } catch (e) {
26903
26991
  console.error("Error processing related file:", e);
@@ -26927,7 +27015,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26927
27015
  let M = String(t), V = GD(M, j);
26928
27016
  if (V) {
26929
27017
  let t = ED[e].findIndex((e) => e.sourceValue === M);
26930
- t >= 0 ? ED[e][t].targetValue = V : ED[e].push({
27018
+ 0 <= t ? ED[e][t].targetValue = V : ED[e].push({
26931
27019
  fieldId: e,
26932
27020
  sourceValue: M,
26933
27021
  targetValue: V
@@ -26956,7 +27044,8 @@ var Icon_default = /* @__PURE__ */ defineComponent({
26956
27044
  if (/^\d{2}\/\d{2}\/\d{4}$/.test(e)) {
26957
27045
  let [t, j, M] = e.split("/").map(Number);
26958
27046
  return new Date(M, t - 1, j);
26959
- } else if (/^\d{2}\.\d{2}\.\d{4}$/.test(e)) {
27047
+ }
27048
+ if (/^\d{2}\.\d{2}\.\d{4}$/.test(e)) {
26960
27049
  let [t, j, M] = e.split(".").map(Number);
26961
27050
  return new Date(M, j - 1, t);
26962
27051
  } else if (/^\d{1,2}\s[a-z]{3,9}\s\d{4}$/i.test(e)) return new Date(e);
@@ -27016,7 +27105,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
27016
27105
  JD.value.forEach((e) => {
27017
27106
  if (!DD[e.id] && SD[e.id]) {
27018
27107
  let t = YE.value.slice(0, 5).map((t) => t[SD[e.id]]).filter((e) => e != null && e !== "");
27019
- if (t.length > 0) {
27108
+ if (0 < t.length) {
27020
27109
  let j = t.map(bO), M = {};
27021
27110
  j.forEach((e) => {
27022
27111
  M[e] = (M[e] || 0) + 1;
@@ -27055,7 +27144,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
27055
27144
  function EO(e, t) {
27056
27145
  if (zD[e] || (zD[e] = {}), zD[e][t] || (zD[e][t] = []), _D.value && bD.value) {
27057
27146
  let j = zD[e][t].findIndex((e) => e.sourceValue === _D.value);
27058
- j >= 0 ? zD[e][t][j].targetValue = bD.value : zD[e][t].push({
27147
+ 0 <= j ? zD[e][t][j].targetValue = bD.value : zD[e][t].push({
27059
27148
  fieldId: t,
27060
27149
  sourceValue: _D.value,
27061
27150
  targetValue: bD.value
@@ -27089,7 +27178,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
27089
27178
  let N = String(j), U = GD(N, M);
27090
27179
  if (U) {
27091
27180
  let j = zD[e][t].findIndex((e) => e.sourceValue === N);
27092
- j >= 0 ? zD[e][t][j].targetValue = U : zD[e][t].push({
27181
+ 0 <= j ? zD[e][t][j].targetValue = U : zD[e][t].push({
27093
27182
  fieldId: t,
27094
27183
  sourceValue: N,
27095
27184
  targetValue: U
@@ -27604,17 +27693,17 @@ var Icon_default = /* @__PURE__ */ defineComponent({
27604
27693
  },
27605
27694
  setup(e) {
27606
27695
  useCssVars((e) => ({
27607
- "3438906a": M.value,
27608
- "32967a85": j.value,
27609
- "4974609e": U.value,
27610
- "6323f514": N.value,
27611
- ed3d458c: V.value,
27612
- "016c1648": RE.value
27696
+ be8a5d98: M.value,
27697
+ "17cae73c": j.value,
27698
+ aa05d8cc: U.value,
27699
+ "6e7a192d": N.value,
27700
+ "4aba8763": V.value,
27701
+ "267b2e13": RE.value
27613
27702
  }));
27614
- let t = e, j = computed(() => t.rows.length > 0 ? t.rows.join(" ") : "auto"), M = computed(() => `${t.gap}rem`), N = computed(() => t.mGap === void 0 ? M.value : `${t.mGap}rem`), V = computed(() => t.mRows?.length ? t.mRows.join(" ") : j.value), U = computed(() => t.columns.length > 0 ? t.columns.join(" ") : "auto"), RE = computed(() => t.mColumns?.length ? t.mColumns.join(" ") : U.value);
27703
+ let t = e, j = computed(() => 0 < t.rows.length ? t.rows.join(" ") : "auto"), M = computed(() => `${t.gap}rem`), N = computed(() => t.mGap === void 0 ? M.value : `${t.mGap}rem`), V = computed(() => t.mRows?.length ? t.mRows.join(" ") : j.value), U = computed(() => 0 < t.columns.length ? t.columns.join(" ") : "auto"), RE = computed(() => t.mColumns?.length ? t.mColumns.join(" ") : U.value);
27615
27704
  return (e, t) => (openBlock(), createElementBlock("div", { class: normalizeClass(["layout", { "layout-h-100": e.h100 }]) }, [renderSlot(e.$slots, "default", {}, void 0, !0)], 2));
27616
27705
  }
27617
- }), [["__scopeId", "data-v-7835674f"]]), _hoisted_1$25 = { key: 0 }, SidebarMenu_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
27706
+ }), [["__scopeId", "data-v-1a0580ee"]]), _hoisted_1$25 = { key: 0 }, SidebarMenu_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
27618
27707
  __name: "SidebarMenu",
27619
27708
  props: {
27620
27709
  navLinks: {},
@@ -27733,7 +27822,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
27733
27822
  class: "list-content"
27734
27823
  }, [renderSlot(e.$slots, t, { key: t }, void 0, !0)]))), 128))], 2));
27735
27824
  }
27736
- }), [["__scopeId", "data-v-915732c1"]]), state = reactive(/* @__PURE__ */ new Map());
27825
+ }), [["__scopeId", "data-v-3eaa39b5"]]), state = reactive(/* @__PURE__ */ new Map());
27737
27826
  function useTabs(e) {
27738
27827
  return state.has(e) || state.set(e, reactive({ currentTab: void 0 })), { currentTab: computed({
27739
27828
  get: () => state.get(e).currentTab,
@@ -27805,7 +27894,7 @@ var _hoisted_1$23 = { key: 0 }, Tabs_default = /* @__PURE__ */ defineComponent({
27805
27894
  let e = BE.value.find((e) => e.classList.contains("active"));
27806
27895
  e && setTimeout(() => {
27807
27896
  let { offsetLeft: t, offsetWidth: j } = e;
27808
- t >= 0 && j > 0 && (V.value?.style.setProperty("--indicator-left", `${t}px`), V.value?.style.setProperty("--indicator-width", `${j}px`), V.value?.style.setProperty("--indicator-opacity", "1"));
27897
+ 0 <= t && 0 < j && (V.value?.style.setProperty("--indicator-left", `${t}px`), V.value?.style.setProperty("--indicator-width", `${j}px`), V.value?.style.setProperty("--indicator-opacity", "1"));
27809
27898
  }, 10);
27810
27899
  });
27811
27900
  }
@@ -27856,7 +27945,7 @@ var _hoisted_1$23 = { key: 0 }, Tabs_default = /* @__PURE__ */ defineComponent({
27856
27945
  icon: e.icon
27857
27946
  }, null, 8, ["icon"])) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString(WE(e)), 1)], 10, _hoisted_1$22))), 128))], !0)], 2));
27858
27947
  }
27859
- }), [["__scopeId", "data-v-0f8d5741"]]), _hoisted_1$21 = { class: "flex align-items-center gap-col-075 m_flex-wrap m_pe-075" }, _hoisted_2$14 = { class: "flex align-items-center" }, _hoisted_3$10 = { class: "flex align-items-center gap-row-05 m_flex-grow-1 endNavTools" }, AppContent_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
27948
+ }), [["__scopeId", "data-v-b07f1a73"]]), _hoisted_1$21 = { class: "flex align-items-center gap-col-075 m_flex-wrap m_pe-075" }, _hoisted_2$14 = { class: "flex align-items-center" }, _hoisted_3$10 = { class: "flex align-items-center gap-row-05 m_flex-grow-1 endNavTools" }, AppContent_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
27860
27949
  __name: "AppContent",
27861
27950
  props: {
27862
27951
  title: {},
@@ -27906,7 +27995,7 @@ var _hoisted_1$23 = { key: 0 }, Tabs_default = /* @__PURE__ */ defineComponent({
27906
27995
  createElementVNode("div", _hoisted_3$10, [renderSlot(e.$slots, "header-right", {}, void 0, !0)])
27907
27996
  ], 2), createElementVNode("main", { class: normalizeClass(["pageContent flex-grow overflow pt-1 pb-05 w-100p m_p-05 m_scrollbar-gutter-stable-both m_vw100", { "px-1": !M.value }]) }, [renderSlot(e.$slots, "content", {}, () => [renderSlot(e.$slots, "default", {}, void 0, !0)], !0)], 2)], 2));
27908
27997
  }
27909
- }), [["__scopeId", "data-v-c292b3a2"]]), _hoisted_1$20 = { class: "app-layout vh-100 relative" }, _hoisted_2$13 = { class: "page-content overflow w-100p h-100p" }, AppLayout_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
27998
+ }), [["__scopeId", "data-v-830ecc1c"]]), _hoisted_1$20 = { class: "app-layout vh-100 relative" }, _hoisted_2$13 = { class: "page-content overflow w-100p h-100p" }, AppLayout_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
27910
27999
  __name: "AppLayout",
27911
28000
  props: {
27912
28001
  sidebarWidth: { default: "260px" },
@@ -27918,7 +28007,7 @@ var _hoisted_1$23 = { key: 0 }, Tabs_default = /* @__PURE__ */ defineComponent({
27918
28007
  setup(e) {
27919
28008
  let t = e, j = ref(!0), M = ref(!1);
27920
28009
  function N() {
27921
- M.value = window.innerWidth < 910, M.value && (j.value = !1);
28010
+ M.value = 910 > window.innerWidth, M.value && (j.value = !1);
27922
28011
  }
27923
28012
  function V() {
27924
28013
  j.value = !j.value;
@@ -27955,7 +28044,7 @@ var _hoisted_1$23 = { key: 0 }, Tabs_default = /* @__PURE__ */ defineComponent({
27955
28044
  }, [renderSlot(e.$slots, "header", {}, void 0, !0), createElementVNode("div", _hoisted_2$13, [renderSlot(e.$slots, "default", {}, void 0, !0)])], 4)
27956
28045
  ]));
27957
28046
  }
27958
- }), [["__scopeId", "data-v-9fdf8faa"]]), _hoisted_1$19 = ["src", "alt"], _hoisted_2$12 = { class: "nav-text" }, _hoisted_3$9 = { class: "sidebar-nav flex column flex-stretch gap-025 align-items-start scrollbar-gutter-stable" }, _hoisted_4$5 = { class: "nav-text" }, _hoisted_5$5 = { class: "sidebar-footer flex column flex-stretch gap-025 align-items-start mt-auto scrollbar-gutter-stable" }, _hoisted_6$5 = { class: "nav-text" }, AppSidebar_default = /* @__PURE__ */ defineComponent({
28047
+ }), [["__scopeId", "data-v-6d120ac0"]]), _hoisted_1$19 = ["src", "alt"], _hoisted_2$12 = { class: "nav-text" }, _hoisted_3$9 = { class: "sidebar-nav flex column flex-stretch gap-025 align-items-start scrollbar-gutter-stable" }, _hoisted_4$5 = { class: "nav-text" }, _hoisted_5$5 = { class: "sidebar-footer flex column flex-stretch gap-025 align-items-start mt-auto scrollbar-gutter-stable" }, _hoisted_6$5 = { class: "nav-text" }, AppSidebar_default = /* @__PURE__ */ defineComponent({
27959
28048
  __name: "AppSidebar",
27960
28049
  props: {
27961
28050
  navLinks: {},
@@ -28313,7 +28402,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
28313
28402
  }), V.value.push(J);
28314
28403
  }
28315
28404
  function VE(e) {
28316
- if (V.value.length > 0) {
28405
+ if (0 < V.value.length) {
28317
28406
  let t = V.value.map((e) => e.getLatLng()), M = e.latLngBounds(t), N = M.getCenter();
28318
28407
  I.value?.setView(N, j.zoom), I.value?.fitBounds(M, {
28319
28408
  animate: !0,
@@ -28575,7 +28664,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
28575
28664
  setup(e, { expose: t, emit: j }) {
28576
28665
  let M = e, N = j, I = useBagel(), V = ref(), zE = useModel(e, "modelValue"), VE = ref(), UE = () => V.value?.closeModal(), WE = ref(!1);
28577
28666
  async function GE() {
28578
- if (!WE.value && VE.value?.validateForm() !== !1) {
28667
+ if (!WE.value && !1 !== VE.value?.validateForm()) {
28579
28668
  WE.value = !0;
28580
28669
  try {
28581
28670
  await M.onSubmit?.(zE.value), UE();
@@ -28648,7 +28737,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
28648
28737
  "title"
28649
28738
  ]));
28650
28739
  }
28651
- }), [["__scopeId", "data-v-1a956426"]]), _hoisted_1$11 = { class: "full-nav" }, _hoisted_2$7 = { class: "nav-scroll" }, _hoisted_3$5 = { class: "nav-links-wrapper" }, _hoisted_4$4 = { class: "tooltip" }, _hoisted_5$4 = { class: "bot-buttons-wrapper" }, _hoisted_6$4 = { class: "tooltip" }, NavBar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
28740
+ }), [["__scopeId", "data-v-36c414a5"]]), _hoisted_1$11 = { class: "full-nav" }, _hoisted_2$7 = { class: "nav-scroll" }, _hoisted_3$5 = { class: "nav-links-wrapper" }, _hoisted_4$4 = { class: "tooltip" }, _hoisted_5$4 = { class: "bot-buttons-wrapper" }, _hoisted_6$4 = { class: "tooltip" }, NavBar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
28652
28741
  __name: "NavBar",
28653
28742
  props: {
28654
28743
  footerLinks: { default: () => [] },
@@ -28660,7 +28749,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
28660
28749
  setup(e) {
28661
28750
  let j = ref(!0);
28662
28751
  function M() {
28663
- j.value = window.innerWidth < 1100;
28752
+ j.value = 1100 > window.innerWidth;
28664
28753
  let e = localStorage.getItem("navOpen");
28665
28754
  (e === "true" || e === null) && (j.value = !0);
28666
28755
  }
@@ -28702,7 +28791,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
28702
28791
  }, 1032, ["to", "onClick"]))), 128)), renderSlot(e.$slots, "floor", {}, void 0, !0)])])
28703
28792
  ], 2));
28704
28793
  }
28705
- }), [["__scopeId", "data-v-accec0a0"]]), _hoisted_1$10 = { class: "page-top" }, _hoisted_2$6 = { class: "top-title m-0" }, PageTitle_default = /* @__PURE__ */ defineComponent({
28794
+ }), [["__scopeId", "data-v-50f0d18e"]]), _hoisted_1$10 = { class: "page-top" }, _hoisted_2$6 = { class: "top-title m-0" }, PageTitle_default = /* @__PURE__ */ defineComponent({
28706
28795
  __name: "PageTitle",
28707
28796
  props: { value: {
28708
28797
  type: String,
@@ -28759,11 +28848,11 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
28759
28848
  let { maxVisiblePages: e } = j;
28760
28849
  if (UE.value <= e * 2) return Array.from({ length: UE.value }, (e, t) => t + 1);
28761
28850
  let t = /* @__PURE__ */ new Set();
28762
- t.add(M.value), M.value > 1 && t.add(M.value - 1), M.value < UE.value && t.add(M.value + 1), t.add(1), t.add(UE.value);
28851
+ t.add(M.value), 1 < M.value && t.add(M.value - 1), M.value < UE.value && t.add(M.value + 1), t.add(1), t.add(UE.value);
28763
28852
  let N = Array.from(t).sort((e, t) => e - t);
28764
28853
  if (N.length < e + 2) for (let t = 0; t < N.length - 1; t++) {
28765
28854
  let j = N[t], M = N[t + 1];
28766
- if (M - j > 1) {
28855
+ if (1 < M - j) {
28767
28856
  let I = Math.min(M - j - 1, e + 2 - N.length), V = Array.from({ length: I }, (e, t) => j + t + 1);
28768
28857
  N.splice(t + 1, 0, ...V), t += V.length;
28769
28858
  }
@@ -28778,7 +28867,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
28778
28867
  VE.value = M.width, j.rtl ? J.value = t.right - M.right : J.value = M.left - t.left;
28779
28868
  }
28780
28869
  function KE(e) {
28781
- e < 1 || e > UE.value || (M.value = e);
28870
+ 1 > e || e > UE.value || (M.value = e);
28782
28871
  }
28783
28872
  function qE() {
28784
28873
  KE(M.value + 1);
@@ -28793,7 +28882,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
28793
28882
  let e = [];
28794
28883
  for (let t = 0; t < WE.value.length; t++) {
28795
28884
  let j = WE.value[t];
28796
- t > 0 && j - WE.value[t - 1] > 1 && e.push({
28885
+ 0 < t && 1 < j - WE.value[t - 1] && e.push({
28797
28886
  type: "ellipsis",
28798
28887
  key: `ellipsis-${t}`
28799
28888
  }), e.push({
@@ -28844,7 +28933,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
28844
28933
  "onClick"
28845
28934
  ])) : e.type === "ellipsis" ? (openBlock(), createElementBlock("div", _hoisted_1$9, " ... ")) : createCommentVNode("", !0)], 64))), 128))], 64))], 512)) : createCommentVNode("", !0);
28846
28935
  }
28847
- }), [["__scopeId", "data-v-0443aea2"]]), _hoisted_1$8 = ["disabled"], _hoisted_2$4 = { class: "bgl_pill-flex" }, _hoisted_3$4 = {
28936
+ }), [["__scopeId", "data-v-bd303782"]]), _hoisted_1$8 = ["disabled"], _hoisted_2$4 = { class: "bgl_pill-flex" }, _hoisted_3$4 = {
28848
28937
  key: 0,
28849
28938
  class: "loading"
28850
28939
  }, _hoisted_4$3 = { key: 1 }, _hoisted_5$3 = {
@@ -28881,8 +28970,8 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
28881
28970
  },
28882
28971
  setup(e) {
28883
28972
  useCssVars((e) => ({
28884
- a46cd362: UE.value,
28885
- fa88b72c: VE.value
28973
+ "364f238e": UE.value,
28974
+ e670662e: VE.value
28886
28975
  }));
28887
28976
  let t = e, j = useSlots(), M = computed(() => t.disabled ? "gray-light" : t.color || t.theme), N = computed(() => ({
28888
28977
  backgroundColor: "var(--bgl-primary)",
@@ -29626,7 +29715,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
29626
29715
  }, e.btnEnd), null, 16)])) : createCommentVNode("", !0)]))
29627
29716
  ])], 10, _hoisted_1$8));
29628
29717
  }
29629
- }), [["__scopeId", "data-v-64c58a9c"]]), _hoisted_1$7 = { class: "rating" }, Rating_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
29718
+ }), [["__scopeId", "data-v-16f8d001"]]), _hoisted_1$7 = { class: "rating" }, Rating_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
29630
29719
  __name: "Rating",
29631
29720
  props: {
29632
29721
  rating: {},
@@ -29667,7 +29756,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
29667
29756
  "style"
29668
29757
  ]))), 128))]));
29669
29758
  }
29670
- }), [["__scopeId", "data-v-5e29c5d0"]]), _hoisted_1$6 = { class: "w-100p h-100vh flex justify-content-center" }, RouterWrapper_default = /* @__PURE__ */ defineComponent({
29759
+ }), [["__scopeId", "data-v-5a98615d"]]), _hoisted_1$6 = { class: "w-100p h-100vh flex justify-content-center" }, RouterWrapper_default = /* @__PURE__ */ defineComponent({
29671
29760
  __name: "RouterWrapper",
29672
29761
  setup(e) {
29673
29762
  return (e, t) => {
@@ -29823,8 +29912,8 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
29823
29912
  else for (; J.value.firstChild;) J.value.removeChild(J.value.firstChild);
29824
29913
  J.value.style.width = `${t * V}px`, OD(), oD.value.draggable && (U.value.style.cursor = "-webkit-grab");
29825
29914
  let RE = document.createDocumentFragment();
29826
- if (oD.value.loop && VE.value.length > 0) {
29827
- for (let t = e - I; t < e; t++) if (t >= 0 && t < e) {
29915
+ if (oD.value.loop && 0 < VE.value.length) {
29916
+ for (let t = e - I; t < e; t++) if (0 <= t && t < e) {
29828
29917
  let e = VE.value[t], j = e.cloneNode(!0);
29829
29918
  j instanceof HTMLElement && (j.setAttribute("data-clone", "before"), xD(e, j));
29830
29919
  let M = SD(j);
@@ -29837,8 +29926,8 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
29837
29926
  let M = SD(e);
29838
29927
  RE.appendChild(M);
29839
29928
  }
29840
- if (oD.value.loop && VE.value.length > 0) {
29841
- for (let t = 0; t < I; t++) if (t >= 0 && t < e) {
29929
+ if (oD.value.loop && 0 < VE.value.length) {
29930
+ for (let t = 0; t < I; t++) if (0 <= t && t < e) {
29842
29931
  let e = VE.value[t], j = e.cloneNode(!0);
29843
29932
  j instanceof HTMLElement && (j.setAttribute("data-clone", "after"), xD(e, j));
29844
29933
  let M = SD(j);
@@ -29898,7 +29987,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
29898
29987
  function wD(e = 1) {
29899
29988
  if (!dD.value || qE.value || !VE.value.length) return;
29900
29989
  let t = HE.value;
29901
- if (oD.value.loop) if (HE.value - e < 0) {
29990
+ if (oD.value.loop) if (0 > HE.value - e) {
29902
29991
  DD();
29903
29992
  let t = HE.value + VE.value.length, j = t + rD.value, M = (oD.value.rtl ? 1 : -1) * j * (UE.value / rD.value), N = oD.value.draggable ? JE.value.endX - JE.value.startX : 0;
29904
29993
  J.value && (J.value.style[GE.value] = `translate3d(${M + N}px, 0, 0)`), HE.value = t - e;
@@ -29930,8 +30019,8 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
29930
30019
  }
29931
30020
  function kD() {
29932
30021
  if (!dD.value) return;
29933
- let e = (oD.value.rtl ? -1 : 1) * (JE.value.endX - JE.value.startX), t = Math.abs(e), j = oD.value.multipleDrag ? Math.ceil(t / (UE.value / rD.value)) : 1, M = e > 0 && HE.value - j < 0, N = e < 0 && HE.value + j > VE.value.length - rD.value;
29934
- e > 0 && t > oD.value.threshold && VE.value.length > rD.value ? wD(j) : e < 0 && t > oD.value.threshold && VE.value.length > rD.value && TD(j), CD(M || N);
30022
+ let e = (oD.value.rtl ? -1 : 1) * (JE.value.endX - JE.value.startX), t = Math.abs(e), j = oD.value.multipleDrag ? Math.ceil(t / (UE.value / rD.value)) : 1, M = 0 < e && 0 > HE.value - j, N = 0 > e && HE.value + j > VE.value.length - rD.value;
30023
+ 0 < e && t > oD.value.threshold && VE.value.length > rD.value ? wD(j) : 0 > e && t > oD.value.threshold && VE.value.length > rD.value && TD(j), CD(M || N);
29935
30024
  }
29936
30025
  function AD() {
29937
30026
  HE.value + rD.value > VE.value.length && (HE.value = VE.value.length <= rD.value ? 0 : VE.value.length - rD.value), U.value && (UE.value = U.value.offsetWidth), bD();
@@ -29962,7 +30051,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
29962
30051
  let t = new DOMMatrix(e).m41, j = UE.value / rD.value;
29963
30052
  if (oD.value.loop) {
29964
30053
  let e = Math.abs(t), M = Math.round(e / j) - rD.value;
29965
- HE.value = M >= 0 ? M % VE.value.length : (VE.value.length + M % VE.value.length) % VE.value.length;
30054
+ HE.value = 0 <= M ? M % VE.value.length : (VE.value.length + M % VE.value.length) % VE.value.length;
29966
30055
  } else {
29967
30056
  let e = Math.round(Math.abs(t) / j);
29968
30057
  HE.value = Math.min(Math.max(e, 0), VE.value.length - rD.value);
@@ -30005,7 +30094,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
30005
30094
  let t = new DOMMatrix(e).m41, j = UE.value / rD.value;
30006
30095
  if (oD.value.loop) {
30007
30096
  let e = Math.abs(t), M = Math.round(e / j) - rD.value;
30008
- HE.value = M >= 0 ? M % VE.value.length : (VE.value.length + M % VE.value.length) % VE.value.length;
30097
+ HE.value = 0 <= M ? M % VE.value.length : (VE.value.length + M % VE.value.length) % VE.value.length;
30009
30098
  } else {
30010
30099
  let e = Math.round(Math.abs(t) / j);
30011
30100
  HE.value = Math.min(Math.max(e, 0), VE.value.length - rD.value);
@@ -30044,14 +30133,14 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
30044
30133
  }
30045
30134
  }
30046
30135
  function VD(e) {
30047
- if (e < 0 || e >= VE.value.length) throw Error("Item to remove doesn't exist 😭");
30136
+ if (0 > e || e >= VE.value.length) throw Error("Item to remove doesn't exist 😭");
30048
30137
  let t = e < HE.value, j = HE.value + rD.value - 1 === e;
30049
30138
  (t || j) && HE.value--, VE.value.splice(e, 1), bD();
30050
30139
  }
30051
30140
  function HD(e, t) {
30052
- if (t < 0 || t > VE.value.length + 1) throw Error("Unable to insert at this index 😭");
30141
+ if (0 > t || t > VE.value.length + 1) throw Error("Unable to insert at this index 😭");
30053
30142
  if (VE.value.includes(e)) throw Error("The same item in a carousel? Really? Nope 😭");
30054
- t <= HE.value && VE.value.length > 0 && HE.value++, VE.value.splice(t, 0, e), bD();
30143
+ t <= HE.value && 0 < VE.value.length && HE.value++, VE.value.splice(t, 0, e), bD();
30055
30144
  }
30056
30145
  function UD(e) {
30057
30146
  HD(e, 0);
@@ -30142,10 +30231,10 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
30142
30231
  try {
30143
30232
  uD.value && uD.value.disconnect();
30144
30233
  let e = Array.from(fD.value.children).map((e) => e.cloneNode(!0));
30145
- if (e.length > 0 || VE.value.length > 0 && nD.value === 0) {
30234
+ if (0 < e.length || 0 < VE.value.length && nD.value === 0) {
30146
30235
  VE.value = e, HE.value >= VE.value.length && (HE.value = Math.max(0, VE.value.length - 1));
30147
30236
  let t = oD.value.autoplay !== "disabled";
30148
- t && qD(), bD(), t && !QE.value && VE.value.length > 0 && setTimeout(() => {
30237
+ t && qD(), bD(), t && !QE.value && 0 < VE.value.length && setTimeout(() => {
30149
30238
  KD();
30150
30239
  }, 50);
30151
30240
  }
@@ -30164,7 +30253,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
30164
30253
  function tO() {
30165
30254
  if (nD.value = 0, fD.value) {
30166
30255
  let e = Array.from(fD.value.children).map((e) => e.cloneNode(!0));
30167
- e.length > 0 && (VE.value = e, nextTick(() => {
30256
+ 0 < e.length && (VE.value = e, nextTick(() => {
30168
30257
  bD();
30169
30258
  }));
30170
30259
  }
@@ -30204,7 +30293,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
30204
30293
  }, null, 10, _hoisted_3$3))), 128))])) : createCommentVNode("", !0)
30205
30294
  ]));
30206
30295
  }
30207
- }), [["__scopeId", "data-v-06b4fed5"]]), _hoisted_1$4 = { class: "stickyTop" }, _hoisted_2$2 = {
30296
+ }), [["__scopeId", "data-v-1d94cc01"]]), _hoisted_1$4 = { class: "stickyTop" }, _hoisted_2$2 = {
30208
30297
  key: 0,
30209
30298
  class: "row-number-header bg-white"
30210
30299
  }, _hoisted_3$2 = { class: "th-content" }, _hoisted_4$2 = ["onClick"], _hoisted_5$2 = ["onMousedown"], _hoisted_6$2 = ["onClick"], _hoisted_7$2 = [
@@ -30342,7 +30431,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
30342
30431
  "onUpdate:modelValue"
30343
30432
  ])) : (openBlock(), createElementBlock("span", _hoisted_12$1, toDisplayString(J(VE[RE.key], RE.format)), 1))], 64))], 46, _hoisted_7$2))), 128))]))), 128))])], 2));
30344
30433
  }
30345
- }), [["__scopeId", "data-v-72033517"]]), _hoisted_1$3 = { class: "flex gap-05 py-05 justify-content-end m_flex-wrap" }, _hoisted_2$1 = {
30434
+ }), [["__scopeId", "data-v-fee5020a"]]), _hoisted_1$3 = { class: "flex gap-05 py-05 justify-content-end m_flex-wrap" }, _hoisted_2$1 = {
30346
30435
  key: 0,
30347
30436
  class: "label me-auto"
30348
30437
  }, _hoisted_3$1 = { class: "flex gap-075" }, _hoisted_4$1 = { class: "p-05" }, _hoisted_5$1 = { class: "flex space-between" }, _hoisted_6$1 = { class: "flex w-100p relative" }, _hoisted_7$1 = { class: "flex-shrink flex-grow" }, Index_default$3 = /* @__PURE__ */ defineComponent({
@@ -30518,7 +30607,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
30518
30607
  J.value[e][t] = N ?? M?.defaultValue ?? (M?.format === "boolean" ? !1 : ""), VE();
30519
30608
  }
30520
30609
  watch(() => KE.value, (e) => {
30521
- e.length > 0 && UE.value.length === 0 && (UE.value = e.filter((e) => !e.hidden).map((e) => e.key));
30610
+ 0 < e.length && UE.value.length === 0 && (UE.value = e.filter((e) => !e.hidden).map((e) => e.key));
30522
30611
  });
30523
30612
  let yD = computed(() => KE.value.filter((e) => e.fixed && !e.hidden && UE.value.includes(e.key))), bD = computed(() => KE.value.filter((e) => !e.fixed && !e.hidden && UE.value.includes(e.key)));
30524
30613
  function SD() {
@@ -30558,7 +30647,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
30558
30647
  let e = (await navigator.clipboard.readText()).split("\n").map((e) => e.split(" "));
30559
30648
  pD("paste");
30560
30649
  let t = $E.value.row, j = $E.value.col, M = t + e.length - J.value.length;
30561
- if (M > 0) for (let e = 0; e < M; e++) J.value.push(SD());
30650
+ if (0 < M) for (let e = 0; e < M; e++) J.value.push(SD());
30562
30651
  e.forEach((e, M) => {
30563
30652
  let N = t + M;
30564
30653
  e.forEach((e, t) => {
@@ -30629,7 +30718,7 @@ var _hoisted_1$16 = ["width", "height"], _hoisted_2$9 = [
30629
30718
  break;
30630
30719
  }
30631
30720
  }
30632
- let LD = computed(() => dD.value.length > 0), RD = computed(() => fD.value.length > 0), zD = ref(""), BD = computed(() => {
30721
+ let LD = computed(() => 0 < dD.value.length), RD = computed(() => 0 < fD.value.length), zD = ref(""), BD = computed(() => {
30633
30722
  if (!zD.value) return J.value;
30634
30723
  let e = zD.value.toLowerCase();
30635
30724
  return J.value.filter((t) => Object.values(t).some((t) => t == null ? !1 : String(t).toLowerCase().includes(e)));
@@ -30899,7 +30988,7 @@ var TopBar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_mai
30899
30988
  }
30900
30989
  onPointerUp() {
30901
30990
  let e = Date.now();
30902
- this.touchMovedLength < 10 && (e - this.lastTapTimestamp < 300 ? this.tappedCount++ : this.tappedCount = 1, this.lastTapTimestamp = e, this.triggerCallbacks("single", {
30991
+ 10 > this.touchMovedLength && (300 > e - this.lastTapTimestamp ? this.tappedCount++ : this.tappedCount = 1, this.lastTapTimestamp = e, this.triggerCallbacks("single", {
30903
30992
  clientX: this.lastPointerX,
30904
30993
  clientY: this.lastPointerY
30905
30994
  }), this.tappedCount === 2 && (this.triggerCallbacks("double", {
@@ -30997,13 +31086,13 @@ var TopBar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_mai
30997
31086
  function yD() {
30998
31087
  if (bD() === "y") {
30999
31088
  let t = V.value / e.aspectRatio / U.value, j = (KE.value * t - 1) / 2;
31000
- return j < 0 && (j = 0), {
31089
+ return 0 > j && (j = 0), {
31001
31090
  x: KE.value - 1,
31002
31091
  y: j * 2
31003
31092
  };
31004
31093
  }
31005
31094
  let t = U.value * e.aspectRatio / V.value, j = (KE.value * t - 1) / 2;
31006
- return j < 0 && (j = 0), {
31095
+ return 0 > j && (j = 0), {
31007
31096
  x: j * 2,
31008
31097
  y: KE.value - 1
31009
31098
  };
@@ -31015,7 +31104,7 @@ var TopBar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_mai
31015
31104
  if (!e.mouseWheelToZoom) return;
31016
31105
  t.preventDefault();
31017
31106
  let j = Date.now();
31018
- Math.abs(t.deltaY) === 120 ? j - JE.value > 50 && (SD(t.deltaY), JE.value = j) : (j - YE.value > 50 && (XE.value = t.deltaX > t.deltaY ? "x" : "y", XE.value === "y" && SD(t.deltaY)), YE.value = j);
31107
+ Math.abs(t.deltaY) === 120 ? 50 < j - JE.value && (SD(t.deltaY), JE.value = j) : (50 < j - YE.value && (XE.value = t.deltaX > t.deltaY ? "x" : "y", XE.value === "y" && SD(t.deltaY)), YE.value = j);
31019
31108
  }
31020
31109
  function SD(e) {
31021
31110
  fD(1.25 ** (e / 120)), _D();
@@ -31039,7 +31128,7 @@ var TopBar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_mai
31039
31128
  document.addEventListener("touchend", DD);
31040
31129
  }
31041
31130
  function DD(e) {
31042
- e.touches.length === 0 ? (ZE.value = !1, Math.abs(KE.value - 1) < .1 && (KE.value = 1), _D()) : e.touches.length === 1 && (QE.value = e.touches[0].clientX, $E.value = e.touches[0].clientY), document.removeEventListener("touchend", DD);
31131
+ e.touches.length === 0 ? (ZE.value = !1, .1 > Math.abs(KE.value - 1) && (KE.value = 1), _D()) : e.touches.length === 1 && (QE.value = e.touches[0].clientX, $E.value = e.touches[0].clientY), document.removeEventListener("touchend", DD);
31043
31132
  }
31044
31133
  function OD(e) {
31045
31134
  if (e.touches.length === 1) hD(e.touches[0].clientX, e.touches[0].clientY);
@@ -31059,7 +31148,7 @@ var TopBar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_mai
31059
31148
  }
31060
31149
  function jD(e, t) {
31061
31150
  let j = (t - e) * .3;
31062
- return Math.abs(j) > 1e-5 ? e + j : t;
31151
+ return 1e-5 < Math.abs(j) ? e + j : t;
31063
31152
  }
31064
31153
  onMounted(() => {
31065
31154
  iD.value = new TapDetector(), N.value && iD.value.attach(N.value), e.doubleClickToZoom && iD.value.onDoubleTap(MD), window.addEventListener("resize", ND), ND(), kD(), AD();
@@ -31067,7 +31156,7 @@ var TopBar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_mai
31067
31156
  N.value && iD.value?.detach(N.value), window.removeEventListener("resize", ND), nD.value && window.cancelAnimationFrame(nD.value);
31068
31157
  });
31069
31158
  function MD(t) {
31070
- KE.value === 1 ? (t.clientX > 0 && (QE.value = t.clientX, $E.value = t.clientY), fD(Math.min(3, e.maxScale))) : dD();
31159
+ KE.value === 1 ? (0 < t.clientX && (QE.value = t.clientX, $E.value = t.clientY), fD(Math.min(3, e.maxScale))) : dD();
31071
31160
  }
31072
31161
  function ND() {
31073
31162
  if (N.value) {
@@ -31092,7 +31181,7 @@ var TopBar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_mai
31092
31181
  style: normalizeStyle(uD.value)
31093
31182
  }, [renderSlot(e.$slots, "default", {}, void 0, !0)], 4)], 36));
31094
31183
  }
31095
- }), [["__scopeId", "data-v-379819e1"]]);
31184
+ }), [["__scopeId", "data-v-5f79c20f"]]);
31096
31185
  const FORM_STATE_KEY = Symbol("bagelFormState");
31097
31186
  function safeClone(e) {
31098
31187
  if (typeof e != "object" || !e) return e;
@@ -31130,9 +31219,9 @@ function useBagelFormState(e = FORM_STATE_KEY) {
31130
31219
  return t;
31131
31220
  }
31132
31221
  function useDevice() {
31133
- let e = ref(window.innerWidth), t = ref(window.innerWidth < 768), j = ref(window.scrollY), M = ref(window.scrollX), N = ref(window.innerHeight), I = ref(null), V = ref(null), U = ref(window.scrollY), RE = ref(window.scrollX);
31222
+ let e = ref(window.innerWidth), t = ref(768 > window.innerWidth), j = ref(window.scrollY), M = ref(window.scrollX), N = ref(window.innerHeight), I = ref(null), V = ref(null), U = ref(window.scrollY), RE = ref(window.scrollX);
31134
31223
  function zE() {
31135
- U.value = j.value, RE.value = M.value, e.value = window.innerWidth, t.value = window.innerWidth < 768, j.value = window.scrollY, M.value = window.scrollX, N.value = window.innerHeight, j.value > U.value + 10 ? I.value = "down" : j.value < U.value - 10 && (I.value = "up"), M.value > RE.value + 10 ? V.value = "right" : M.value < RE.value - 10 && (V.value = "left");
31224
+ U.value = j.value, RE.value = M.value, e.value = window.innerWidth, t.value = 768 > window.innerWidth, j.value = window.scrollY, M.value = window.scrollX, N.value = window.innerHeight, j.value > U.value + 10 ? I.value = "down" : j.value < U.value - 10 && (I.value = "up"), M.value > RE.value + 10 ? V.value = "right" : M.value < RE.value - 10 && (V.value = "left");
31136
31225
  }
31137
31226
  return onMounted(() => {
31138
31227
  window.addEventListener("resize", zE), window.addEventListener("scroll", zE), zE();
@@ -31176,14 +31265,14 @@ function useExcel() {
31176
31265
  return e.value ||= (await appendScript("https://cdn.jsdelivr.net/npm/xlsx/dist/xlsx.full.min.js"), !0), window.XLSX;
31177
31266
  }
31178
31267
  async function j(e, j = "data", M) {
31179
- let N = toValue(M) || autoDetectSchema(e), I = await t(), V = formatData(e, N), U = N.length > 0 ? N.map((e) => {
31268
+ let N = toValue(M) || autoDetectSchema(e), I = await t(), V = formatData(e, N), U = 0 < N.length ? N.map((e) => {
31180
31269
  let { id: t, label: j } = e;
31181
31270
  return {
31182
31271
  v: j || t,
31183
31272
  t: "s"
31184
31273
  };
31185
31274
  }) : [], RE = I.utils.json_to_sheet(V);
31186
- U.length > 0 && I.utils.sheet_add_aoa(RE, [U.map((e) => e.v)], { origin: "A1" });
31275
+ 0 < U.length && I.utils.sheet_add_aoa(RE, [U.map((e) => e.v)], { origin: "A1" });
31187
31276
  let zE = I.utils.book_new();
31188
31277
  I.utils.book_append_sheet(zE, RE, "Sheet1"), j = j.endsWith(".xlsx") ? j : `${j}.xlsx`, I.writeFile(zE, j);
31189
31278
  }
@@ -31240,7 +31329,7 @@ function useExcel() {
31240
31329
  });
31241
31330
  }
31242
31331
  function RE(e) {
31243
- return typeof e == "number" && Number.isInteger(e) && e >= 2e4 && e <= 5e4;
31332
+ return typeof e == "number" && Number.isInteger(e) && 2e4 <= e && 5e4 >= e;
31244
31333
  }
31245
31334
  function zE(e) {
31246
31335
  let t = new Date(Date.UTC(1899, 11, 30));
@@ -31348,7 +31437,7 @@ function toggleTheme() {
31348
31437
  function addTheme(e) {
31349
31438
  if (!themeOptions.value.some((t) => t.value === e.value)) {
31350
31439
  let t = themeOptions.value.findIndex((e) => e.value === "system");
31351
- t > -1 ? themeOptions.value.splice(t, 0, e) : themeOptions.value.push(e);
31440
+ -1 < t ? themeOptions.value.splice(t, 0, e) : themeOptions.value.push(e);
31352
31441
  }
31353
31442
  }
31354
31443
  function useTheme() {
@@ -31379,7 +31468,7 @@ function useValidateFieldValue(e, t, j, M) {
31379
31468
  }
31380
31469
  function useBglSchema({ schema: e, columns: t, data: j } = {}) {
31381
31470
  let M = computed(() => toValue(e)), N = computed(() => toValue(t));
31382
- return M.value ? N.value && N.value.length > 0 ? M.value.filter((e) => N.value.includes(e.id)) : M.value : getFallbackSchema(j, N.value);
31471
+ return M.value ? N.value && 0 < N.value.length ? M.value.filter((e) => N.value.includes(e.id)) : M.value : getFallbackSchema(j, N.value);
31383
31472
  }
31384
31473
  function localRef(e, t) {
31385
31474
  let j = localStorage.getItem(e), M = ref(j === null ? t : JSON.parse(j));
@@ -31589,10 +31678,10 @@ var BagelAuth = class {
31589
31678
  N.value = !1, document.removeEventListener("keydown", XE);
31590
31679
  }
31591
31680
  function KE() {
31592
- V.value.length > 1 && (J.value = (J.value + 1) % V.value.length, UE.value = V.value[J.value]);
31681
+ 1 < V.value.length && (J.value = (J.value + 1) % V.value.length, UE.value = V.value[J.value]);
31593
31682
  }
31594
31683
  function qE() {
31595
- V.value.length > 1 && (J.value = (J.value - 1 + V.value.length) % V.value.length, UE.value = V.value[J.value]);
31684
+ 1 < V.value.length && (J.value = (J.value - 1 + V.value.length) % V.value.length, UE.value = V.value[J.value]);
31596
31685
  }
31597
31686
  function JE(e) {
31598
31687
  J.value = e, UE.value = V.value[e];
@@ -31866,7 +31955,7 @@ function getTarget(e) {
31866
31955
  }
31867
31956
  function getModifiers(e) {
31868
31957
  let t = Object.keys(e.modifiers);
31869
- return t.length > 0 ? t[t.length - 1] : "";
31958
+ return 0 < t.length ? t[t.length - 1] : "";
31870
31959
  }
31871
31960
  function getRegex(e) {
31872
31961
  return e.pattern == null ? e.modifier != null && e.modifier !== "" ? DEFAULT_PATTERNS[e.modifier]?.pattern ?? /./ : /./ : e.pattern;
@@ -31898,7 +31987,7 @@ function isNavigationOrControlKey(e) {
31898
31987
  ].includes(e.key);
31899
31988
  }
31900
31989
  function onKeydown(e, t, j) {
31901
- if (j.composing === !0 || isNavigationOrControlKey(e) || j.modifier != null && j.modifier !== "" && typeof DEFAULT_PATTERNS[j.modifier]?.transform == "function") return;
31990
+ if (!0 === j.composing || isNavigationOrControlKey(e) || j.modifier != null && j.modifier !== "" && typeof DEFAULT_PATTERNS[j.modifier]?.transform == "function") return;
31902
31991
  let M = getRegex(j), N = e.key;
31903
31992
  M.test(N) || e.preventDefault();
31904
31993
  }
@@ -31922,7 +32011,7 @@ function sanitizeTransformed(e, t) {
31922
32011
  return N;
31923
32012
  }
31924
32013
  function onInput(e, t, j) {
31925
- if (j.reformatting === !0 || j.composing === !0) return;
32014
+ if (!0 === j.reformatting || !0 === j.composing) return;
31926
32015
  let M = t.value, N = t.selectionEnd ?? M.length, I = M.slice(0, N), V = sanitizeTransformed(M, j);
31927
32016
  if (V === M) return;
31928
32017
  let U = sanitizeTransformed(I, j).length;
@@ -31933,13 +32022,13 @@ var pattern_default = {
31933
32022
  let j = getTarget(e);
31934
32023
  if (j === null) return;
31935
32024
  let M = { modifier: getModifiers(t) };
31936
- typeof t.value == "object" && t.value !== null && (M.pattern = t.value.pattern ?? /./, M.validateOnly = t.value.validateOnly === !0), stateMap.set(e, M), bindEvents(e, j, M);
32025
+ typeof t.value == "object" && t.value !== null && (M.pattern = t.value.pattern ?? /./, M.validateOnly = !0 === t.value.validateOnly), stateMap.set(e, M), bindEvents(e, j, M);
31937
32026
  },
31938
32027
  updated(e, t) {
31939
32028
  let j = getTarget(e);
31940
32029
  if (j === null) return;
31941
32030
  let M = stateMap.get(e);
31942
- M !== void 0 && (unbindEvents(j, M), M.modifier = getModifiers(t), typeof t.value == "object" && t.value !== null && (M.pattern = t.value.pattern ?? /./, M.validateOnly = t.value.validateOnly === !0), bindEvents(e, j, M));
32031
+ M !== void 0 && (unbindEvents(j, M), M.modifier = getModifiers(t), typeof t.value == "object" && t.value !== null && (M.pattern = t.value.pattern ?? /./, M.validateOnly = !0 === t.value.validateOnly), bindEvents(e, j, M));
31943
32032
  },
31944
32033
  unmounted(e) {
31945
32034
  let t = getTarget(e), j = stateMap.get(e);
@@ -31964,11 +32053,11 @@ var pattern_default = {
31964
32053
  N.remove();
31965
32054
  }, 600);
31966
32055
  };
31967
- e.__rippleClickHandler = j, t.value !== !1 && (getComputedStyle(e).position === "static" && (e.style.position = "relative"), e.style.overflow = "hidden", e.addEventListener("mousedown", j));
32056
+ e.__rippleClickHandler = j, !1 !== t.value && (getComputedStyle(e).position === "static" && (e.style.position = "relative"), e.style.overflow = "hidden", e.addEventListener("mousedown", j));
31968
32057
  },
31969
32058
  updated(e, t) {
31970
32059
  let j = e.__rippleClickHandler;
31971
- t.value === !1 ? e.removeEventListener("mousedown", j) : (getComputedStyle(e).position === "static" && (e.style.position = "relative"), e.style.overflow = "hidden", e.addEventListener("mousedown", j));
32060
+ !1 === t.value ? e.removeEventListener("mousedown", j) : (getComputedStyle(e).position === "static" && (e.style.position = "relative"), e.style.overflow = "hidden", e.addEventListener("mousedown", j));
31972
32061
  },
31973
32062
  unmounted(e) {
31974
32063
  let t = e.__rippleClickHandler;
@@ -33512,19 +33601,19 @@ function timeAgo(e, t = "en") {
33512
33601
  ], V = translations[t];
33513
33602
  for (let e of I) {
33514
33603
  let j = Math.floor(Math.abs(N) / e.seconds);
33515
- if (j >= 1) {
33516
- let M = N < 0 ? ` ${V.ago}` : "", I = N > 0 && V.in !== "in" ? `${V.in} ` : "";
33604
+ if (1 <= j) {
33605
+ let M = 0 > N ? ` ${V.ago}` : "", I = 0 < N && V.in !== "in" ? `${V.in} ` : "";
33517
33606
  if (t === "he") {
33518
- let t = V[e.label], M = j === 1 ? t.singular : t.plural, I = N < 0 ? `${V.ago} ` : N > 0 ? `${V.in} ` : "";
33519
- if (e.label === "day" && N > 0) {
33607
+ let t = V[e.label], M = j === 1 ? t.singular : t.plural, I = 0 > N ? `${V.ago} ` : 0 < N ? `${V.in} ` : "";
33608
+ if (e.label === "day" && 0 < N) {
33520
33609
  let e = Math.floor(Math.abs(N) % 86400 / 3600), t = V.hour, U = e === 1 ? t.singular : t.plural;
33521
- return `${I}${j} ${M}${e > 0 ? ` ${e} ${U}` : ""}`;
33610
+ return `${I}${j} ${M}${0 < e ? ` ${e} ${U}` : ""}`;
33522
33611
  }
33523
33612
  return `${I}${j} ${M}`;
33524
33613
  }
33525
- if (e.label === "day" && N > 0) {
33526
- let t = Math.floor(Math.abs(N) % 86400 / 3600), U = t > 1 ? `${V.hour}s` : V.hour;
33527
- return `${I}${j} ${V[e.label]}${t > 0 ? ` ${t} ${U}` : ""}${M}`;
33614
+ if (e.label === "day" && 0 < N) {
33615
+ let t = Math.floor(Math.abs(N) % 86400 / 3600), U = 1 < t ? `${V.hour}s` : V.hour;
33616
+ return `${I}${j} ${V[e.label]}${0 < t ? ` ${t} ${U}` : ""}${M}`;
33528
33617
  }
33529
33618
  return `${I}${j} ${V[e.label]}${M}`;
33530
33619
  }
@@ -33606,7 +33695,7 @@ function btn(e, t, j) {
33606
33695
  V = e;
33607
33696
  let { id: t, text: j, icon: U } = V;
33608
33697
  M = t, N = j ?? "", I = U;
33609
- } else M = e, t != null && (typeof t == "string" && t.length <= 30 && !t.includes(" ") && (t.includes("-") || t.includes("_") || t.length <= 12) && t === t.toLowerCase() ? (I = t, j && (V = j)) : (N = t, j && (V = j)));
33698
+ } else M = e, t != null && (typeof t == "string" && 30 >= t.length && !t.includes(" ") && (t.includes("-") || t.includes("_") || 12 >= t.length) && t === t.toLowerCase() ? (I = t, j && (V = j)) : (N = t, j && (V = j)));
33610
33699
  return {
33611
33700
  $el: "btn",
33612
33701
  id: M,
@@ -33711,7 +33800,7 @@ function pill(e) {
33711
33800
  }
33712
33801
  function dropdown(...e) {
33713
33802
  let t, j = [];
33714
- if (e.length > 0) {
33803
+ if (0 < e.length) {
33715
33804
  let M = e[0];
33716
33805
  typeof M == "object" && M && "$el" in M ? j = e : (t = M, j = e.slice(1));
33717
33806
  }
@@ -33760,7 +33849,7 @@ function container(e, t, j) {
33760
33849
  function findElementById(e, t) {
33761
33850
  for (let j of t) {
33762
33851
  if (j.id === e) return j;
33763
- if (j.children && j.children.length > 0) {
33852
+ if (j.children && 0 < j.children.length) {
33764
33853
  let t = findElementById(e, j.children);
33765
33854
  if (t) return t;
33766
33855
  }
@@ -33846,7 +33935,7 @@ function toSearchableString(e) {
33846
33935
  function searchItems(e) {
33847
33936
  let { searchTerm: t, items: j = [], keysToSearch: M, fieldWeights: N = {}, minChars: I = 2 } = e, V = toValue(t), U = toValue(j) || [];
33848
33937
  if (!V || V.length < I) return U;
33849
- let RE = normalizeText(V).split(/\s+/).filter((e) => e.length > 1);
33938
+ let RE = normalizeText(V).split(/\s+/).filter((e) => 1 < e.length);
33850
33939
  if (RE.length === 0) return U;
33851
33940
  let zE = {
33852
33941
  name: 2,
@@ -33906,13 +33995,13 @@ function searchItems(e) {
33906
33995
  }
33907
33996
  return t;
33908
33997
  }
33909
- let HE = U.map((e) => [e, VE(e)]).filter(([, e]) => e > 0), UE = HE;
33910
- if (HE.length > 0) {
33998
+ let HE = U.map((e) => [e, VE(e)]).filter(([, e]) => 0 < e), UE = HE;
33999
+ if (0 < HE.length) {
33911
34000
  let e = Math.max(...HE.map(([, e]) => e));
33912
- if (e > 5) {
34001
+ if (5 < e) {
33913
34002
  let t = e * .25;
33914
34003
  UE = HE.filter(([, e]) => e >= t);
33915
- } else if (e > 2) {
34004
+ } else if (2 < e) {
33916
34005
  let t = e * .15;
33917
34006
  UE = HE.filter(([, e]) => e >= t);
33918
34007
  }
@@ -33930,7 +34019,7 @@ function useSearch(e, t) {
33930
34019
  BE && watch(() => toValue(RE), async (e) => {
33931
34020
  UE !== null && clearTimeout(UE);
33932
34021
  let t = typeof e == "string" ? e : "";
33933
- if (t.length < zE && zE > 0) {
34022
+ if (t.length < zE && 0 < zE) {
33934
34023
  HE.value = [];
33935
34024
  return;
33936
34025
  }
@@ -33950,7 +34039,7 @@ function useSearch(e, t) {
33950
34039
  }, KE = computed(() => GE()), qE = computed(() => KE.value.length), JE = {
33951
34040
  results: KE,
33952
34041
  resultCount: qE,
33953
- hasResults: computed(() => qE.value > 0),
34042
+ hasResults: computed(() => 0 < qE.value),
33954
34043
  isSearching: computed(() => {
33955
34044
  let e = WE();
33956
34045
  return !!e && typeof e == "string" && e.length >= zE;